diff --git a/frontend/crawlab-ui/typings/App.vue.d.ts b/frontend/crawlab-ui/typings/App.vue.d.ts deleted file mode 100644 index ea465c2a..00000000 --- a/frontend/crawlab-ui/typings/App.vue.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './index'; diff --git a/frontend/crawlab-ui/typings/admin/baidu.d.ts b/frontend/crawlab-ui/typings/admin/baidu.d.ts deleted file mode 100644 index 2d3bea78..00000000 --- a/frontend/crawlab-ui/typings/admin/baidu.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const initBaiduTonji: () => void; diff --git a/frontend/crawlab-ui/typings/admin/clarity.d.ts b/frontend/crawlab-ui/typings/admin/clarity.d.ts deleted file mode 100644 index 00b0458f..00000000 --- a/frontend/crawlab-ui/typings/admin/clarity.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const initClarity: () => void; diff --git a/frontend/crawlab-ui/typings/admin/umeng.d.ts b/frontend/crawlab-ui/typings/admin/umeng.d.ts deleted file mode 100644 index bd0c3f5b..00000000 --- a/frontend/crawlab-ui/typings/admin/umeng.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const getEventParamsWrapped: (eventParams?: TrackEventParams) => TrackEventParamsWrapped; diff --git a/frontend/crawlab-ui/typings/assets/svg/logo.d.ts b/frontend/crawlab-ui/typings/assets/svg/logo.d.ts deleted file mode 100644 index bd0005e2..00000000 --- a/frontend/crawlab-ui/typings/assets/svg/logo.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAwIiBoZWlnaHQ9IjMwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGZpbGw9Im5vbmUiPgogICAgICAgIDxjaXJjbGUgY3g9IjE1MCIgY3k9IjE1MCIgcj0iMTMwIiBmaWxsPSJub25lIiBzdHJva2Utd2lkdGg9IjQwIiBzdHJva2U9IiM0MDllZmYiPgogICAgICAgIDwvY2lyY2xlPgogICAgICAgIDxjaXJjbGUgY3g9IjE1MCIgY3k9IjE1MCIgcj0iMTEwIiBmaWxsPSJ3aGl0ZSI+CiAgICAgICAgPC9jaXJjbGU+CiAgICAgICAgPGNpcmNsZSBjeD0iMTUwIiBjeT0iMTUwIiByPSI3MCIgZmlsbD0iIzQwOWVmZiI+CiAgICAgICAgPC9jaXJjbGU+CiAgICAgICAgPHBhdGggZD0iCiAgICAgICAgICAgIE0gMTUwLDE1MAogICAgICAgICAgICBMIDI4MCwyMjUKICAgICAgICAgICAgQSAxNTAsMTUwIDkwIDAgMCAyODAsNzUKICAgICAgICAgICAgIiBmaWxsPSIjNDA5ZWZmIj4KICAgICAgICA8L3BhdGg+CiAgICA8L2c+Cjwvc3ZnPgo="; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/ai/AssistantConsole.vue.d.ts b/frontend/crawlab-ui/typings/components/core/ai/AssistantConsole.vue.d.ts deleted file mode 100644 index d3bea9a1..00000000 --- a/frontend/crawlab-ui/typings/components/core/ai/AssistantConsole.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -type __VLS_Props = { - visible: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - close: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClose?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/ai/LlmProviderForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/ai/LlmProviderForm.vue.d.ts deleted file mode 100644 index bfb09daa..00000000 --- a/frontend/crawlab-ui/typings/components/core/ai/LlmProviderForm.vue.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -type __VLS_Props = { - loading?: boolean; - modelValue?: LLMProvider; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - validate: () => Promise; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "update:modelValue": (value: LLMProvider) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onUpdate:modelValue"?: ((value: LLMProvider) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/ai/useAssistantConsole.d.ts b/frontend/crawlab-ui/typings/components/core/ai/useAssistantConsole.d.ts deleted file mode 100644 index 87be1b08..00000000 --- a/frontend/crawlab-ui/typings/components/core/ai/useAssistantConsole.d.ts +++ /dev/null @@ -1,425 +0,0 @@ -declare const useAssistantConsole: () => { - messageListRef: import("vue").Ref<{ - scrollToBottom: () => Promise; - } | null, { - scrollToBottom: () => Promise; - } | { - scrollToBottom: () => Promise; - } | null>; - chatInputRef: import("vue").Ref & Readonly<{ - onCancel?: (() => any) | undefined; - onSend?: ((message: string) => any) | undefined; - "onModel-change"?: ((value: LLMProviderModel) => any) | undefined; - "onAdd-model"?: (() => any) | undefined; - }>, { - focus: () => void; - }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - cancel: () => any; - send: (message: string) => any; - "model-change": (value: LLMProviderModel) => any; - "add-model": () => any; - }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly<{ - isLoading?: boolean; - providers?: LLMProvider[]; - selectedProviderModel?: LLMProviderModel; - }> & Readonly<{ - onCancel?: (() => any) | undefined; - onSend?: ((message: string) => any) | undefined; - "onModel-change"?: ((value: LLMProviderModel) => any) | undefined; - "onAdd-model"?: (() => any) | undefined; - }>, { - focus: () => void; - }, {}, {}, {}, {}> | null, import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{ - onCancel?: (() => any) | undefined; - onSend?: ((message: string) => any) | undefined; - "onModel-change"?: ((value: LLMProviderModel) => any) | undefined; - "onAdd-model"?: (() => any) | undefined; - }>, { - focus: () => void; - }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - cancel: () => any; - send: (message: string) => any; - "model-change": (value: LLMProviderModel) => any; - "add-model": () => any; - }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly<{ - isLoading?: boolean; - providers?: LLMProvider[]; - selectedProviderModel?: LLMProviderModel; - }> & Readonly<{ - onCancel?: (() => any) | undefined; - onSend?: ((message: string) => any) | undefined; - "onModel-change"?: ((value: LLMProviderModel) => any) | undefined; - "onAdd-model"?: (() => any) | undefined; - }>, { - focus: () => void; - }, {}, {}, {}, {}> | null>; - currentConversation: import("vue").Ref<{ - [x: string]: any; - title?: string | undefined; - description?: string | undefined; - user_id?: string | undefined; - model?: string | undefined; - status?: ChatConversationStatus | undefined; - last_message_at?: string | undefined; - settings?: Record | undefined; - tags?: string[] | undefined; - messages?: { - [x: string]: any; - conversation_id: string; - role: ChatMessageRole; - content?: string | undefined; - content_ids?: string[] | undefined; - contents?: { - [x: string]: any; - message_id?: string | undefined; - key?: string | undefined; - parameters?: Record | undefined; - content?: string | undefined; - type: ChatMessageContentType; - action?: string | undefined; - action_target?: string | undefined; - action_status?: ChatMessageActionStatus | undefined; - hidden?: boolean | undefined; - usage?: { - prompt_tokens?: number | undefined; - completion_tokens?: number | undefined; - total_tokens?: number | undefined; - } | undefined; - isStreaming?: boolean | undefined; - _id?: string | undefined; - created_at?: string | undefined; - created_by?: string | undefined; - updated_at?: string | undefined; - }[] | undefined; - tokens?: number | undefined; - model?: string | undefined; - metadata?: Record | undefined; - status: ChatMessageStatus; - error?: string | undefined; - usage?: { - prompt_tokens?: number | undefined; - completion_tokens?: number | undefined; - total_tokens?: number | undefined; - } | undefined; - timestamp?: Date | undefined; - isStreaming?: boolean | undefined; - _id?: string | undefined; - created_at?: string | undefined; - created_by?: string | undefined; - updated_at?: string | undefined; - }[] | undefined; - created_at?: string | undefined; - updated_at?: string | undefined; - _id?: string | undefined; - created_by?: string | undefined; - } | null, ChatConversation | { - [x: string]: any; - title?: string | undefined; - description?: string | undefined; - user_id?: string | undefined; - model?: string | undefined; - status?: ChatConversationStatus | undefined; - last_message_at?: string | undefined; - settings?: Record | undefined; - tags?: string[] | undefined; - messages?: { - [x: string]: any; - conversation_id: string; - role: ChatMessageRole; - content?: string | undefined; - content_ids?: string[] | undefined; - contents?: { - [x: string]: any; - message_id?: string | undefined; - key?: string | undefined; - parameters?: Record | undefined; - content?: string | undefined; - type: ChatMessageContentType; - action?: string | undefined; - action_target?: string | undefined; - action_status?: ChatMessageActionStatus | undefined; - hidden?: boolean | undefined; - usage?: { - prompt_tokens?: number | undefined; - completion_tokens?: number | undefined; - total_tokens?: number | undefined; - } | undefined; - isStreaming?: boolean | undefined; - _id?: string | undefined; - created_at?: string | undefined; - created_by?: string | undefined; - updated_at?: string | undefined; - }[] | undefined; - tokens?: number | undefined; - model?: string | undefined; - metadata?: Record | undefined; - status: ChatMessageStatus; - error?: string | undefined; - usage?: { - prompt_tokens?: number | undefined; - completion_tokens?: number | undefined; - total_tokens?: number | undefined; - } | undefined; - timestamp?: Date | undefined; - isStreaming?: boolean | undefined; - _id?: string | undefined; - created_at?: string | undefined; - created_by?: string | undefined; - updated_at?: string | undefined; - }[] | undefined; - created_at?: string | undefined; - updated_at?: string | undefined; - _id?: string | undefined; - created_by?: string | undefined; - } | null>; - currentConversationId: import("vue").Ref; - conversations: import("vue").Ref<{ - [x: string]: any; - title?: string | undefined; - description?: string | undefined; - user_id?: string | undefined; - model?: string | undefined; - status?: ChatConversationStatus | undefined; - last_message_at?: string | undefined; - settings?: Record | undefined; - tags?: string[] | undefined; - messages?: { - [x: string]: any; - conversation_id: string; - role: ChatMessageRole; - content?: string | undefined; - content_ids?: string[] | undefined; - contents?: { - [x: string]: any; - message_id?: string | undefined; - key?: string | undefined; - parameters?: Record | undefined; - content?: string | undefined; - type: ChatMessageContentType; - action?: string | undefined; - action_target?: string | undefined; - action_status?: ChatMessageActionStatus | undefined; - hidden?: boolean | undefined; - usage?: { - prompt_tokens?: number | undefined; - completion_tokens?: number | undefined; - total_tokens?: number | undefined; - } | undefined; - isStreaming?: boolean | undefined; - _id?: string | undefined; - created_at?: string | undefined; - created_by?: string | undefined; - updated_at?: string | undefined; - }[] | undefined; - tokens?: number | undefined; - model?: string | undefined; - metadata?: Record | undefined; - status: ChatMessageStatus; - error?: string | undefined; - usage?: { - prompt_tokens?: number | undefined; - completion_tokens?: number | undefined; - total_tokens?: number | undefined; - } | undefined; - timestamp?: Date | undefined; - isStreaming?: boolean | undefined; - _id?: string | undefined; - created_at?: string | undefined; - created_by?: string | undefined; - updated_at?: string | undefined; - }[] | undefined; - created_at?: string | undefined; - updated_at?: string | undefined; - _id?: string | undefined; - created_by?: string | undefined; - }[], ChatConversation[] | { - [x: string]: any; - title?: string | undefined; - description?: string | undefined; - user_id?: string | undefined; - model?: string | undefined; - status?: ChatConversationStatus | undefined; - last_message_at?: string | undefined; - settings?: Record | undefined; - tags?: string[] | undefined; - messages?: { - [x: string]: any; - conversation_id: string; - role: ChatMessageRole; - content?: string | undefined; - content_ids?: string[] | undefined; - contents?: { - [x: string]: any; - message_id?: string | undefined; - key?: string | undefined; - parameters?: Record | undefined; - content?: string | undefined; - type: ChatMessageContentType; - action?: string | undefined; - action_target?: string | undefined; - action_status?: ChatMessageActionStatus | undefined; - hidden?: boolean | undefined; - usage?: { - prompt_tokens?: number | undefined; - completion_tokens?: number | undefined; - total_tokens?: number | undefined; - } | undefined; - isStreaming?: boolean | undefined; - _id?: string | undefined; - created_at?: string | undefined; - created_by?: string | undefined; - updated_at?: string | undefined; - }[] | undefined; - tokens?: number | undefined; - model?: string | undefined; - metadata?: Record | undefined; - status: ChatMessageStatus; - error?: string | undefined; - usage?: { - prompt_tokens?: number | undefined; - completion_tokens?: number | undefined; - total_tokens?: number | undefined; - } | undefined; - timestamp?: Date | undefined; - isStreaming?: boolean | undefined; - _id?: string | undefined; - created_at?: string | undefined; - created_by?: string | undefined; - updated_at?: string | undefined; - }[] | undefined; - created_at?: string | undefined; - updated_at?: string | undefined; - _id?: string | undefined; - created_by?: string | undefined; - }[]>; - chatHistory: import("vue").Reactive; - isGenerating: import("vue").Ref; - streamError: import("vue").Ref; - isLoadingConversations: import("vue").Ref; - isLoadingMessages: import("vue").Ref; - historyDialogVisible: import("vue").Ref; - configDialogVisible: import("vue").Ref; - abortController: import("vue").Ref<{ - readonly signal: { - readonly aborted: boolean; - onabort: ((this: AbortSignal, ev: Event) => any) | null; - readonly reason: any; - throwIfAborted: { - (): void; - (): void; - }; - addEventListener: { - (type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - (type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - }; - removeEventListener: { - (type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - (type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; - }; - dispatchEvent: (event: Event) => boolean; - }; - abort: { - (reason?: any): void; - (reason?: any): void; - }; - } | null, AbortController | { - readonly signal: { - readonly aborted: boolean; - onabort: ((this: AbortSignal, ev: Event) => any) | null; - readonly reason: any; - throwIfAborted: { - (): void; - (): void; - }; - addEventListener: { - (type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; - (type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; - }; - removeEventListener: { - (type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; - (type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; - }; - dispatchEvent: (event: Event) => boolean; - }; - abort: { - (reason?: any): void; - (reason?: any): void; - }; - } | null>; - availableProviders: import("vue").Ref<{ - [x: string]: any; - type?: LLMProviderType | undefined; - name?: string | undefined; - api_key?: string | undefined; - api_base_url?: string | undefined; - api_version?: string | undefined; - models?: string[] | undefined; - default_model?: string | undefined; - _id?: string | undefined; - created_at?: string | undefined; - created_by?: string | undefined; - updated_at?: string | undefined; - }[], LLMProvider[] | { - [x: string]: any; - type?: LLMProviderType | undefined; - name?: string | undefined; - api_key?: string | undefined; - api_base_url?: string | undefined; - api_version?: string | undefined; - models?: string[] | undefined; - default_model?: string | undefined; - _id?: string | undefined; - created_at?: string | undefined; - created_by?: string | undefined; - updated_at?: string | undefined; - }[]>; - chatbotConfig: import("vue").Ref<{ - providerId?: string | undefined; - model?: string | undefined; - systemPrompt?: string | undefined; - temperature?: number | undefined; - maxTokens?: number | undefined; - }, ChatbotConfig | { - providerId?: string | undefined; - model?: string | undefined; - systemPrompt?: string | undefined; - temperature?: number | undefined; - maxTokens?: number | undefined; - }>; - currentConversationTitle: import("vue").ComputedRef; - loadConversations: () => Promise; - loadConversationMessages: import("lodash").DebouncedFunc<(conversationId: string) => Promise>; - loadCurrentConversation: import("lodash").DebouncedFunc<(conversationId: string) => Promise>; - loadLLMProviders: import("lodash").DebouncedFunc<() => Promise>; - loadChatbotConfig: () => void; - saveChatbotConfig: (config: ChatbotConfig) => void; - resetChatbotConfig: () => void; - selectConversation: (conversationId: string) => Promise; - createNewConversation: () => void; - sendStreamingRequest: (message: string, responseIndex: number, onMessageUpdate: (index: number) => void) => Promise; - extractErrorMessage: (errorData: string) => string; - initializeConversation: () => Promise; -}; -export default useAssistantConsole; diff --git a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeForm.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeForm.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeItemDetail.vue.d.ts b/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeItemDetail.vue.d.ts deleted file mode 100644 index df4ab357..00000000 --- a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeItemDetail.vue.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -type __VLS_Props = { - item: AutoProbeNavItem; - activeId?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "row-click": (id: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onRow-click"?: ((id: string) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbePagePatternsSidebar.vue.d.ts b/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbePagePatternsSidebar.vue.d.ts deleted file mode 100644 index 849f70a4..00000000 --- a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbePagePatternsSidebar.vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -type __VLS_Props = { - activeNavItemId?: string; - treeItems?: AutoProbeNavItem[]; - defaultExpandedKeys?: string[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - getNode: (id: string) => AutoProbeNavItem | undefined; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "node-select": (item: AutoProbeNavItem) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onNode-select"?: ((item: AutoProbeNavItem) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbePatternStats.vue.d.ts b/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbePatternStats.vue.d.ts deleted file mode 100644 index 4fdf9c5c..00000000 --- a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbePatternStats.vue.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -type __VLS_Props = { - autoprobe: AutoProbe; - clickable?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeResultsContainer.vue.d.ts b/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeResultsContainer.vue.d.ts deleted file mode 100644 index 50769a93..00000000 --- a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeResultsContainer.vue.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -type __VLS_Props = { - data?: PageData | PageData[]; - fields?: AutoProbeNavItem[]; - activeFieldName?: string; - activeNavItem?: AutoProbeNavItem; - url?: string; - viewport?: PageViewPort; - activeId?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "size-change": (size: number) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onSize-change"?: ((size: number) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeResultsPreview.vue.d.ts b/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeResultsPreview.vue.d.ts deleted file mode 100644 index b02050fb..00000000 --- a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeResultsPreview.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -type __VLS_Props = { - activeId: string; - activeNavItem?: AutoProbeNavItem; - viewport?: PageViewPort; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - updateOverlayScale: () => 1 | undefined; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeSelector.vue.d.ts b/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeSelector.vue.d.ts deleted file mode 100644 index b95ac229..00000000 --- a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeSelector.vue.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -type __VLS_Props = { - selectorType: SelectorType; - selector: string; - extractType?: ExtractType; - attribute?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeTaskStatus.vue.d.ts b/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeTaskStatus.vue.d.ts deleted file mode 100644 index 5c05ec19..00000000 --- a/frontend/crawlab-ui/typings/components/core/autoprobe/AutoProbeTaskStatus.vue.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -type __VLS_Props = { - status: AutoProbeTaskStatus; - size?: BasicSize; - error?: string; - clickable?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/autoprobe/CreateEditAutoProbeDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/autoprobe/CreateEditAutoProbeDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/autoprobe/CreateEditAutoProbeDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/autoprobe/useAutoProbe.d.ts b/frontend/crawlab-ui/typings/components/core/autoprobe/useAutoProbe.d.ts deleted file mode 100644 index 0b4e9130..00000000 --- a/frontend/crawlab-ui/typings/components/core/autoprobe/useAutoProbe.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Store } from 'vuex'; -declare const useAutoProbe: (store: Store) => { - formRules: FormRules; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - form: import("vue").ComputedRef; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useAutoProbe; diff --git a/frontend/crawlab-ui/typings/components/core/database/CreateEditDatabaseDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/CreateEditDatabaseDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/CreateEditDatabaseDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/CreateEditDatabaseTableDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/CreateEditDatabaseTableDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/CreateEditDatabaseTableDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/DatabaseDataSource.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/DatabaseDataSource.vue.d.ts deleted file mode 100644 index 415dfdf3..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/DatabaseDataSource.vue.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -type __VLS_Props = { - dataSource?: DatabaseDataSource; - iconOnly?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/DatabaseDatabaseDetail.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/DatabaseDatabaseDetail.vue.d.ts deleted file mode 100644 index fae4e44d..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/DatabaseDatabaseDetail.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -type __VLS_Props = { - database?: DatabaseDatabase; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "click-table": (table: DatabaseTable, type: DatabaseTableClickRowType) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onClick-table"?: ((table: DatabaseTable, type: DatabaseTableClickRowType) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/DatabaseForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/DatabaseForm.vue.d.ts deleted file mode 100644 index 7208427d..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/DatabaseForm.vue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -type __VLS_Props = { - readonly?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/DatabaseSidebar.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/DatabaseSidebar.vue.d.ts deleted file mode 100644 index 2f7f40c0..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/DatabaseSidebar.vue.d.ts +++ /dev/null @@ -1,1547 +0,0 @@ -import type { FilterNodeMethodFunction, TreeNodeData } from 'element-plus/es/components/tree/src/tree.type'; -type __VLS_Props = { - tabName: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - treeRef: import("vue").Ref never[]; - }; - emptyText: { - type: StringConstructor; - }; - renderAfterExpand: { - type: BooleanConstructor; - default: boolean; - }; - nodeKey: StringConstructor; - checkStrictly: BooleanConstructor; - defaultExpandAll: BooleanConstructor; - expandOnClickNode: { - type: BooleanConstructor; - default: boolean; - }; - checkOnClickNode: BooleanConstructor; - checkOnClickLeaf: { - type: BooleanConstructor; - default: boolean; - }; - checkDescendants: { - type: BooleanConstructor; - default: boolean; - }; - autoExpandParent: { - type: BooleanConstructor; - default: boolean; - }; - defaultCheckedKeys: import("vue").PropType; - defaultExpandedKeys: import("vue").PropType; - currentNodeKey: import("vue").PropType; - renderContent: FunctionConstructor; - showCheckbox: { - type: BooleanConstructor; - default: boolean; - }; - draggable: { - type: BooleanConstructor; - default: boolean; - }; - allowDrag: FunctionConstructor; - allowDrop: FunctionConstructor; - props: { - type: import("vue").PropType; - default: () => { - children: string; - label: string; - disabled: string; - }; - }; - lazy: { - type: BooleanConstructor; - default: boolean; - }; - highlightCurrent: BooleanConstructor; - load: import("vue").PropType; - filterNodeMethod: import("vue").PropType; - accordion: BooleanConstructor; - indent: { - type: NumberConstructor; - default: number; - }; - icon: { - type: import("vue").PropType; - }; - }>> & { - "onCurrent-change"?: ((...args: any[]) => any) | undefined; - "onNode-expand"?: ((...args: any[]) => any) | undefined; - onCheck?: ((...args: any[]) => any) | undefined; - "onCheck-change"?: ((...args: any[]) => any) | undefined; - "onNode-click"?: ((...args: any[]) => any) | undefined; - "onNode-contextmenu"?: ((...args: any[]) => any) | undefined; - "onNode-collapse"?: ((...args: any[]) => any) | undefined; - "onNode-drag-start"?: ((...args: any[]) => any) | undefined; - "onNode-drag-end"?: ((...args: any[]) => any) | undefined; - "onNode-drop"?: ((...args: any[]) => any) | undefined; - "onNode-drag-leave"?: ((...args: any[]) => any) | undefined; - "onNode-drag-enter"?: ((...args: any[]) => any) | undefined; - "onNode-drag-over"?: ((...args: any[]) => any) | undefined; - }, { - ns: { - namespace: import("vue").ComputedRef; - b: (blockSuffix?: string) => string; - e: (element?: string) => string; - m: (modifier?: string) => string; - be: (blockSuffix?: string, element?: string) => string; - em: (element?: string, modifier?: string) => string; - bm: (blockSuffix?: string, modifier?: string) => string; - bem: (blockSuffix?: string, element?: string, modifier?: string) => string; - is: { - (name: string, state: boolean | undefined): string; - (name: string): string; - }; - cssVar: (object: Record) => Record; - cssVarName: (name: string) => string; - cssVarBlock: (object: Record) => Record; - cssVarBlockName: (name: string) => string; - }; - store: import("vue").Ref<{ - currentNode: { - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }; - currentNodeKey: import("element-plus").TreeKey; - nodesMap: import("element-plus").TreeStoreNodesMap; - root: { - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }; - data: TreeNodeData[]; - lazy: boolean; - load: import("element-plus").LoadFunction; - filterNodeMethod: import("element-plus/es/components/tree/src/tree.type").FilterNodeMethodFunction; - key: import("element-plus").TreeKey; - defaultCheckedKeys: import("element-plus").TreeKey[]; - checkStrictly: boolean; - defaultExpandedKeys: import("element-plus").TreeKey[]; - autoExpandParent: boolean; - defaultExpandAll: boolean; - checkDescendants: boolean; - props: { - children?: string | undefined; - label?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => string)) | undefined; - disabled?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => boolean)) | undefined; - isLeaf?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => boolean)) | undefined; - class?: ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => string | { - [key: string]: boolean; - }) | undefined; - }; - initialize: () => void; - filter: (value: import("element-plus").FilterValue) => void; - setData: (newVal: import("element-plus").TreeData) => void; - getNode: (data: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => import("element-plus/es/components/tree/src/model/node").default; - insertBefore: (data: TreeNodeData, refData: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (data: TreeNodeData, refData: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - remove: (data: TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - append: (data: TreeNodeData, parentData: TreeNodeData | import("element-plus").TreeKey | import("element-plus/es/components/tree/src/model/node").default) => void; - _initDefaultCheckedNodes: () => void; - _initDefaultCheckedNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - setDefaultCheckedKey: (newVal: import("element-plus").TreeKey[]) => void; - registerNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - deregisterNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => TreeNodeData[]; - getCheckedKeys: (leafOnly?: boolean) => import("element-plus").TreeKey[]; - getHalfCheckedNodes: () => TreeNodeData[]; - getHalfCheckedKeys: () => import("element-plus").TreeKey[]; - _getAllNodes: () => import("element-plus/es/components/tree/src/model/node").default[]; - updateChildren: (key: import("element-plus").TreeKey, data: import("element-plus").TreeData) => void; - _setCheckedKeys: (key: import("element-plus").TreeKey, leafOnly: boolean | undefined, checkedKeys: { - [key: string]: boolean; - }) => void; - setCheckedNodes: (array: import("element-plus/es/components/tree/src/model/node").default[], leafOnly?: boolean) => void; - setCheckedKeys: (keys: import("element-plus").TreeKey[], leafOnly?: boolean) => void; - setDefaultExpandedKeys: (keys: import("element-plus").TreeKey[]) => void; - setChecked: (data: import("element-plus").TreeKey | TreeNodeData, checked: boolean, deep: boolean) => void; - getCurrentNode: () => import("element-plus/es/components/tree/src/model/node").default; - setCurrentNode: (currentNode: import("element-plus/es/components/tree/src/model/node").default) => void; - setUserCurrentNode: (node: import("element-plus/es/components/tree/src/model/node").default, shouldAutoExpandParent?: boolean) => void; - setCurrentNodeKey: (key?: import("element-plus").TreeKey, shouldAutoExpandParent?: boolean) => void; - }>; - root: import("vue").Ref<{ - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }>; - currentNode: import("vue").Ref<{ - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }>; - dragState: import("vue").Ref<{ - showDropIndicator: boolean; - draggingNode: null; - dropNode: null; - allowDrop: boolean; - dropType: null; - }>; - el$: import("vue").Ref>; - dropIndicator$: import("vue").Ref>; - isEmpty: import("vue").ComputedRef; - filter: (value: any) => void; - getNodeKey: (node: import("element-plus/es/components/tree/src/model/node").default) => any; - getNodePath: (data: import("element-plus").TreeKey | TreeNodeData) => TreeNodeData[]; - getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => TreeNodeData[]; - getCheckedKeys: (leafOnly?: boolean) => import("element-plus").TreeKey[]; - getCurrentNode: () => TreeNodeData; - getCurrentKey: () => any; - setCheckedNodes: (nodes: import("element-plus/es/components/tree/src/model/node").default[], leafOnly?: boolean) => void; - setCheckedKeys: (keys: import("element-plus").TreeKey[], leafOnly?: boolean) => void; - setChecked: (data: import("element-plus").TreeKey | TreeNodeData, checked: boolean, deep: boolean) => void; - getHalfCheckedNodes: () => TreeNodeData[]; - getHalfCheckedKeys: () => import("element-plus").TreeKey[]; - setCurrentNode: (node: import("element-plus/es/components/tree/src/model/node").default, shouldAutoExpandParent?: boolean) => void; - setCurrentKey: (key?: import("element-plus").TreeKey, shouldAutoExpandParent?: boolean) => void; - t: import("element-plus").Translator; - getNode: (data: import("element-plus").TreeKey | TreeNodeData) => import("element-plus/es/components/tree/src/model/node").default; - remove: (data: TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - append: (data: TreeNodeData, parentNode: TreeNodeData | import("element-plus").TreeKey | import("element-plus/es/components/tree/src/model/node").default) => void; - insertBefore: (data: TreeNodeData, refNode: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (data: TreeNodeData, refNode: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - handleNodeExpand: (nodeData: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default, instance: import("vue").ComponentInternalInstance) => void; - updateKeyChildren: (key: import("element-plus").TreeKey, data: import("element-plus").TreeData) => void; - }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("current-change" | "check" | "node-expand" | "check-change" | "node-click" | "node-contextmenu" | "node-collapse" | "node-drag-start" | "node-drag-end" | "node-drop" | "node-drag-leave" | "node-drag-enter" | "node-drag-over")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, { - data: unknown[]; - props: import("element-plus").TreeOptionProps; - checkStrictly: boolean; - lazy: boolean; - accordion: boolean; - draggable: boolean; - defaultExpandAll: boolean; - indent: number; - renderAfterExpand: boolean; - showCheckbox: boolean; - expandOnClickNode: boolean; - checkOnClickNode: boolean; - checkOnClickLeaf: boolean; - checkDescendants: boolean; - autoExpandParent: boolean; - highlightCurrent: boolean; - }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly never[]; - }; - emptyText: { - type: StringConstructor; - }; - renderAfterExpand: { - type: BooleanConstructor; - default: boolean; - }; - nodeKey: StringConstructor; - checkStrictly: BooleanConstructor; - defaultExpandAll: BooleanConstructor; - expandOnClickNode: { - type: BooleanConstructor; - default: boolean; - }; - checkOnClickNode: BooleanConstructor; - checkOnClickLeaf: { - type: BooleanConstructor; - default: boolean; - }; - checkDescendants: { - type: BooleanConstructor; - default: boolean; - }; - autoExpandParent: { - type: BooleanConstructor; - default: boolean; - }; - defaultCheckedKeys: import("vue").PropType; - defaultExpandedKeys: import("vue").PropType; - currentNodeKey: import("vue").PropType; - renderContent: FunctionConstructor; - showCheckbox: { - type: BooleanConstructor; - default: boolean; - }; - draggable: { - type: BooleanConstructor; - default: boolean; - }; - allowDrag: FunctionConstructor; - allowDrop: FunctionConstructor; - props: { - type: import("vue").PropType; - default: () => { - children: string; - label: string; - disabled: string; - }; - }; - lazy: { - type: BooleanConstructor; - default: boolean; - }; - highlightCurrent: BooleanConstructor; - load: import("vue").PropType; - filterNodeMethod: import("vue").PropType; - accordion: BooleanConstructor; - indent: { - type: NumberConstructor; - default: number; - }; - icon: { - type: import("vue").PropType; - }; - }>> & { - "onCurrent-change"?: ((...args: any[]) => any) | undefined; - "onNode-expand"?: ((...args: any[]) => any) | undefined; - onCheck?: ((...args: any[]) => any) | undefined; - "onCheck-change"?: ((...args: any[]) => any) | undefined; - "onNode-click"?: ((...args: any[]) => any) | undefined; - "onNode-contextmenu"?: ((...args: any[]) => any) | undefined; - "onNode-collapse"?: ((...args: any[]) => any) | undefined; - "onNode-drag-start"?: ((...args: any[]) => any) | undefined; - "onNode-drag-end"?: ((...args: any[]) => any) | undefined; - "onNode-drop"?: ((...args: any[]) => any) | undefined; - "onNode-drag-leave"?: ((...args: any[]) => any) | undefined; - "onNode-drag-enter"?: ((...args: any[]) => any) | undefined; - "onNode-drag-over"?: ((...args: any[]) => any) | undefined; - }, { - ns: { - namespace: import("vue").ComputedRef; - b: (blockSuffix?: string) => string; - e: (element?: string) => string; - m: (modifier?: string) => string; - be: (blockSuffix?: string, element?: string) => string; - em: (element?: string, modifier?: string) => string; - bm: (blockSuffix?: string, modifier?: string) => string; - bem: (blockSuffix?: string, element?: string, modifier?: string) => string; - is: { - (name: string, state: boolean | undefined): string; - (name: string): string; - }; - cssVar: (object: Record) => Record; - cssVarName: (name: string) => string; - cssVarBlock: (object: Record) => Record; - cssVarBlockName: (name: string) => string; - }; - store: import("vue").Ref<{ - currentNode: { - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }; - currentNodeKey: import("element-plus").TreeKey; - nodesMap: import("element-plus").TreeStoreNodesMap; - root: { - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }; - data: TreeNodeData[]; - lazy: boolean; - load: import("element-plus").LoadFunction; - filterNodeMethod: import("element-plus/es/components/tree/src/tree.type").FilterNodeMethodFunction; - key: import("element-plus").TreeKey; - defaultCheckedKeys: import("element-plus").TreeKey[]; - checkStrictly: boolean; - defaultExpandedKeys: import("element-plus").TreeKey[]; - autoExpandParent: boolean; - defaultExpandAll: boolean; - checkDescendants: boolean; - props: { - children?: string | undefined; - label?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => string)) | undefined; - disabled?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => boolean)) | undefined; - isLeaf?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => boolean)) | undefined; - class?: ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => string | { - [key: string]: boolean; - }) | undefined; - }; - initialize: () => void; - filter: (value: import("element-plus").FilterValue) => void; - setData: (newVal: import("element-plus").TreeData) => void; - getNode: (data: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => import("element-plus/es/components/tree/src/model/node").default; - insertBefore: (data: TreeNodeData, refData: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (data: TreeNodeData, refData: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - remove: (data: TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - append: (data: TreeNodeData, parentData: TreeNodeData | import("element-plus").TreeKey | import("element-plus/es/components/tree/src/model/node").default) => void; - _initDefaultCheckedNodes: () => void; - _initDefaultCheckedNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - setDefaultCheckedKey: (newVal: import("element-plus").TreeKey[]) => void; - registerNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - deregisterNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => TreeNodeData[]; - getCheckedKeys: (leafOnly?: boolean) => import("element-plus").TreeKey[]; - getHalfCheckedNodes: () => TreeNodeData[]; - getHalfCheckedKeys: () => import("element-plus").TreeKey[]; - _getAllNodes: () => import("element-plus/es/components/tree/src/model/node").default[]; - updateChildren: (key: import("element-plus").TreeKey, data: import("element-plus").TreeData) => void; - _setCheckedKeys: (key: import("element-plus").TreeKey, leafOnly: boolean | undefined, checkedKeys: { - [key: string]: boolean; - }) => void; - setCheckedNodes: (array: import("element-plus/es/components/tree/src/model/node").default[], leafOnly?: boolean) => void; - setCheckedKeys: (keys: import("element-plus").TreeKey[], leafOnly?: boolean) => void; - setDefaultExpandedKeys: (keys: import("element-plus").TreeKey[]) => void; - setChecked: (data: import("element-plus").TreeKey | TreeNodeData, checked: boolean, deep: boolean) => void; - getCurrentNode: () => import("element-plus/es/components/tree/src/model/node").default; - setCurrentNode: (currentNode: import("element-plus/es/components/tree/src/model/node").default) => void; - setUserCurrentNode: (node: import("element-plus/es/components/tree/src/model/node").default, shouldAutoExpandParent?: boolean) => void; - setCurrentNodeKey: (key?: import("element-plus").TreeKey, shouldAutoExpandParent?: boolean) => void; - }>; - root: import("vue").Ref<{ - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }>; - currentNode: import("vue").Ref<{ - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }>; - dragState: import("vue").Ref<{ - showDropIndicator: boolean; - draggingNode: null; - dropNode: null; - allowDrop: boolean; - dropType: null; - }>; - el$: import("vue").Ref>; - dropIndicator$: import("vue").Ref>; - isEmpty: import("vue").ComputedRef; - filter: (value: any) => void; - getNodeKey: (node: import("element-plus/es/components/tree/src/model/node").default) => any; - getNodePath: (data: import("element-plus").TreeKey | TreeNodeData) => TreeNodeData[]; - getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => TreeNodeData[]; - getCheckedKeys: (leafOnly?: boolean) => import("element-plus").TreeKey[]; - getCurrentNode: () => TreeNodeData; - getCurrentKey: () => any; - setCheckedNodes: (nodes: import("element-plus/es/components/tree/src/model/node").default[], leafOnly?: boolean) => void; - setCheckedKeys: (keys: import("element-plus").TreeKey[], leafOnly?: boolean) => void; - setChecked: (data: import("element-plus").TreeKey | TreeNodeData, checked: boolean, deep: boolean) => void; - getHalfCheckedNodes: () => TreeNodeData[]; - getHalfCheckedKeys: () => import("element-plus").TreeKey[]; - setCurrentNode: (node: import("element-plus/es/components/tree/src/model/node").default, shouldAutoExpandParent?: boolean) => void; - setCurrentKey: (key?: import("element-plus").TreeKey, shouldAutoExpandParent?: boolean) => void; - t: import("element-plus").Translator; - getNode: (data: import("element-plus").TreeKey | TreeNodeData) => import("element-plus/es/components/tree/src/model/node").default; - remove: (data: TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - append: (data: TreeNodeData, parentNode: TreeNodeData | import("element-plus").TreeKey | import("element-plus/es/components/tree/src/model/node").default) => void; - insertBefore: (data: TreeNodeData, refNode: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (data: TreeNodeData, refNode: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - handleNodeExpand: (nodeData: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default, instance: import("vue").ComponentInternalInstance) => void; - updateKeyChildren: (key: import("element-plus").TreeKey, data: import("element-plus").TreeData) => void; - }, {}, {}, {}, { - data: unknown[]; - props: import("element-plus").TreeOptionProps; - checkStrictly: boolean; - lazy: boolean; - accordion: boolean; - draggable: boolean; - defaultExpandAll: boolean; - indent: number; - renderAfterExpand: boolean; - showCheckbox: boolean; - expandOnClickNode: boolean; - checkOnClickNode: boolean; - checkOnClickLeaf: boolean; - checkDescendants: boolean; - autoExpandParent: boolean; - highlightCurrent: boolean; - }> | undefined, import("vue").CreateComponentPublicInstanceWithMixins never[]; - }; - emptyText: { - type: StringConstructor; - }; - renderAfterExpand: { - type: BooleanConstructor; - default: boolean; - }; - nodeKey: StringConstructor; - checkStrictly: BooleanConstructor; - defaultExpandAll: BooleanConstructor; - expandOnClickNode: { - type: BooleanConstructor; - default: boolean; - }; - checkOnClickNode: BooleanConstructor; - checkOnClickLeaf: { - type: BooleanConstructor; - default: boolean; - }; - checkDescendants: { - type: BooleanConstructor; - default: boolean; - }; - autoExpandParent: { - type: BooleanConstructor; - default: boolean; - }; - defaultCheckedKeys: import("vue").PropType; - defaultExpandedKeys: import("vue").PropType; - currentNodeKey: import("vue").PropType; - renderContent: FunctionConstructor; - showCheckbox: { - type: BooleanConstructor; - default: boolean; - }; - draggable: { - type: BooleanConstructor; - default: boolean; - }; - allowDrag: FunctionConstructor; - allowDrop: FunctionConstructor; - props: { - type: import("vue").PropType; - default: () => { - children: string; - label: string; - disabled: string; - }; - }; - lazy: { - type: BooleanConstructor; - default: boolean; - }; - highlightCurrent: BooleanConstructor; - load: import("vue").PropType; - filterNodeMethod: import("vue").PropType; - accordion: BooleanConstructor; - indent: { - type: NumberConstructor; - default: number; - }; - icon: { - type: import("vue").PropType; - }; - }>> & { - "onCurrent-change"?: ((...args: any[]) => any) | undefined; - "onNode-expand"?: ((...args: any[]) => any) | undefined; - onCheck?: ((...args: any[]) => any) | undefined; - "onCheck-change"?: ((...args: any[]) => any) | undefined; - "onNode-click"?: ((...args: any[]) => any) | undefined; - "onNode-contextmenu"?: ((...args: any[]) => any) | undefined; - "onNode-collapse"?: ((...args: any[]) => any) | undefined; - "onNode-drag-start"?: ((...args: any[]) => any) | undefined; - "onNode-drag-end"?: ((...args: any[]) => any) | undefined; - "onNode-drop"?: ((...args: any[]) => any) | undefined; - "onNode-drag-leave"?: ((...args: any[]) => any) | undefined; - "onNode-drag-enter"?: ((...args: any[]) => any) | undefined; - "onNode-drag-over"?: ((...args: any[]) => any) | undefined; - }, { - ns: { - namespace: import("vue").ComputedRef; - b: (blockSuffix?: string) => string; - e: (element?: string) => string; - m: (modifier?: string) => string; - be: (blockSuffix?: string, element?: string) => string; - em: (element?: string, modifier?: string) => string; - bm: (blockSuffix?: string, modifier?: string) => string; - bem: (blockSuffix?: string, element?: string, modifier?: string) => string; - is: { - (name: string, state: boolean | undefined): string; - (name: string): string; - }; - cssVar: (object: Record) => Record; - cssVarName: (name: string) => string; - cssVarBlock: (object: Record) => Record; - cssVarBlockName: (name: string) => string; - }; - store: import("vue").Ref<{ - currentNode: { - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }; - currentNodeKey: import("element-plus").TreeKey; - nodesMap: import("element-plus").TreeStoreNodesMap; - root: { - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }; - data: TreeNodeData[]; - lazy: boolean; - load: import("element-plus").LoadFunction; - filterNodeMethod: import("element-plus/es/components/tree/src/tree.type").FilterNodeMethodFunction; - key: import("element-plus").TreeKey; - defaultCheckedKeys: import("element-plus").TreeKey[]; - checkStrictly: boolean; - defaultExpandedKeys: import("element-plus").TreeKey[]; - autoExpandParent: boolean; - defaultExpandAll: boolean; - checkDescendants: boolean; - props: { - children?: string | undefined; - label?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => string)) | undefined; - disabled?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => boolean)) | undefined; - isLeaf?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => boolean)) | undefined; - class?: ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => string | { - [key: string]: boolean; - }) | undefined; - }; - initialize: () => void; - filter: (value: import("element-plus").FilterValue) => void; - setData: (newVal: import("element-plus").TreeData) => void; - getNode: (data: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => import("element-plus/es/components/tree/src/model/node").default; - insertBefore: (data: TreeNodeData, refData: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (data: TreeNodeData, refData: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - remove: (data: TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - append: (data: TreeNodeData, parentData: TreeNodeData | import("element-plus").TreeKey | import("element-plus/es/components/tree/src/model/node").default) => void; - _initDefaultCheckedNodes: () => void; - _initDefaultCheckedNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - setDefaultCheckedKey: (newVal: import("element-plus").TreeKey[]) => void; - registerNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - deregisterNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => TreeNodeData[]; - getCheckedKeys: (leafOnly?: boolean) => import("element-plus").TreeKey[]; - getHalfCheckedNodes: () => TreeNodeData[]; - getHalfCheckedKeys: () => import("element-plus").TreeKey[]; - _getAllNodes: () => import("element-plus/es/components/tree/src/model/node").default[]; - updateChildren: (key: import("element-plus").TreeKey, data: import("element-plus").TreeData) => void; - _setCheckedKeys: (key: import("element-plus").TreeKey, leafOnly: boolean | undefined, checkedKeys: { - [key: string]: boolean; - }) => void; - setCheckedNodes: (array: import("element-plus/es/components/tree/src/model/node").default[], leafOnly?: boolean) => void; - setCheckedKeys: (keys: import("element-plus").TreeKey[], leafOnly?: boolean) => void; - setDefaultExpandedKeys: (keys: import("element-plus").TreeKey[]) => void; - setChecked: (data: import("element-plus").TreeKey | TreeNodeData, checked: boolean, deep: boolean) => void; - getCurrentNode: () => import("element-plus/es/components/tree/src/model/node").default; - setCurrentNode: (currentNode: import("element-plus/es/components/tree/src/model/node").default) => void; - setUserCurrentNode: (node: import("element-plus/es/components/tree/src/model/node").default, shouldAutoExpandParent?: boolean) => void; - setCurrentNodeKey: (key?: import("element-plus").TreeKey, shouldAutoExpandParent?: boolean) => void; - }>; - root: import("vue").Ref<{ - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }>; - currentNode: import("vue").Ref<{ - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }>; - dragState: import("vue").Ref<{ - showDropIndicator: boolean; - draggingNode: null; - dropNode: null; - allowDrop: boolean; - dropType: null; - }>; - el$: import("vue").Ref>; - dropIndicator$: import("vue").Ref>; - isEmpty: import("vue").ComputedRef; - filter: (value: any) => void; - getNodeKey: (node: import("element-plus/es/components/tree/src/model/node").default) => any; - getNodePath: (data: import("element-plus").TreeKey | TreeNodeData) => TreeNodeData[]; - getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => TreeNodeData[]; - getCheckedKeys: (leafOnly?: boolean) => import("element-plus").TreeKey[]; - getCurrentNode: () => TreeNodeData; - getCurrentKey: () => any; - setCheckedNodes: (nodes: import("element-plus/es/components/tree/src/model/node").default[], leafOnly?: boolean) => void; - setCheckedKeys: (keys: import("element-plus").TreeKey[], leafOnly?: boolean) => void; - setChecked: (data: import("element-plus").TreeKey | TreeNodeData, checked: boolean, deep: boolean) => void; - getHalfCheckedNodes: () => TreeNodeData[]; - getHalfCheckedKeys: () => import("element-plus").TreeKey[]; - setCurrentNode: (node: import("element-plus/es/components/tree/src/model/node").default, shouldAutoExpandParent?: boolean) => void; - setCurrentKey: (key?: import("element-plus").TreeKey, shouldAutoExpandParent?: boolean) => void; - t: import("element-plus").Translator; - getNode: (data: import("element-plus").TreeKey | TreeNodeData) => import("element-plus/es/components/tree/src/model/node").default; - remove: (data: TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - append: (data: TreeNodeData, parentNode: TreeNodeData | import("element-plus").TreeKey | import("element-plus/es/components/tree/src/model/node").default) => void; - insertBefore: (data: TreeNodeData, refNode: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (data: TreeNodeData, refNode: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - handleNodeExpand: (nodeData: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default, instance: import("vue").ComponentInternalInstance) => void; - updateKeyChildren: (key: import("element-plus").TreeKey, data: import("element-plus").TreeData) => void; - }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("current-change" | "check" | "node-expand" | "check-change" | "node-click" | "node-contextmenu" | "node-collapse" | "node-drag-start" | "node-drag-end" | "node-drop" | "node-drag-leave" | "node-drag-enter" | "node-drag-over")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, { - data: unknown[]; - props: import("element-plus").TreeOptionProps; - checkStrictly: boolean; - lazy: boolean; - accordion: boolean; - draggable: boolean; - defaultExpandAll: boolean; - indent: number; - renderAfterExpand: boolean; - showCheckbox: boolean; - expandOnClickNode: boolean; - checkOnClickNode: boolean; - checkOnClickLeaf: boolean; - checkDescendants: boolean; - autoExpandParent: boolean; - highlightCurrent: boolean; - }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly never[]; - }; - emptyText: { - type: StringConstructor; - }; - renderAfterExpand: { - type: BooleanConstructor; - default: boolean; - }; - nodeKey: StringConstructor; - checkStrictly: BooleanConstructor; - defaultExpandAll: BooleanConstructor; - expandOnClickNode: { - type: BooleanConstructor; - default: boolean; - }; - checkOnClickNode: BooleanConstructor; - checkOnClickLeaf: { - type: BooleanConstructor; - default: boolean; - }; - checkDescendants: { - type: BooleanConstructor; - default: boolean; - }; - autoExpandParent: { - type: BooleanConstructor; - default: boolean; - }; - defaultCheckedKeys: import("vue").PropType; - defaultExpandedKeys: import("vue").PropType; - currentNodeKey: import("vue").PropType; - renderContent: FunctionConstructor; - showCheckbox: { - type: BooleanConstructor; - default: boolean; - }; - draggable: { - type: BooleanConstructor; - default: boolean; - }; - allowDrag: FunctionConstructor; - allowDrop: FunctionConstructor; - props: { - type: import("vue").PropType; - default: () => { - children: string; - label: string; - disabled: string; - }; - }; - lazy: { - type: BooleanConstructor; - default: boolean; - }; - highlightCurrent: BooleanConstructor; - load: import("vue").PropType; - filterNodeMethod: import("vue").PropType; - accordion: BooleanConstructor; - indent: { - type: NumberConstructor; - default: number; - }; - icon: { - type: import("vue").PropType; - }; - }>> & { - "onCurrent-change"?: ((...args: any[]) => any) | undefined; - "onNode-expand"?: ((...args: any[]) => any) | undefined; - onCheck?: ((...args: any[]) => any) | undefined; - "onCheck-change"?: ((...args: any[]) => any) | undefined; - "onNode-click"?: ((...args: any[]) => any) | undefined; - "onNode-contextmenu"?: ((...args: any[]) => any) | undefined; - "onNode-collapse"?: ((...args: any[]) => any) | undefined; - "onNode-drag-start"?: ((...args: any[]) => any) | undefined; - "onNode-drag-end"?: ((...args: any[]) => any) | undefined; - "onNode-drop"?: ((...args: any[]) => any) | undefined; - "onNode-drag-leave"?: ((...args: any[]) => any) | undefined; - "onNode-drag-enter"?: ((...args: any[]) => any) | undefined; - "onNode-drag-over"?: ((...args: any[]) => any) | undefined; - }, { - ns: { - namespace: import("vue").ComputedRef; - b: (blockSuffix?: string) => string; - e: (element?: string) => string; - m: (modifier?: string) => string; - be: (blockSuffix?: string, element?: string) => string; - em: (element?: string, modifier?: string) => string; - bm: (blockSuffix?: string, modifier?: string) => string; - bem: (blockSuffix?: string, element?: string, modifier?: string) => string; - is: { - (name: string, state: boolean | undefined): string; - (name: string): string; - }; - cssVar: (object: Record) => Record; - cssVarName: (name: string) => string; - cssVarBlock: (object: Record) => Record; - cssVarBlockName: (name: string) => string; - }; - store: import("vue").Ref<{ - currentNode: { - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }; - currentNodeKey: import("element-plus").TreeKey; - nodesMap: import("element-plus").TreeStoreNodesMap; - root: { - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }; - data: TreeNodeData[]; - lazy: boolean; - load: import("element-plus").LoadFunction; - filterNodeMethod: import("element-plus/es/components/tree/src/tree.type").FilterNodeMethodFunction; - key: import("element-plus").TreeKey; - defaultCheckedKeys: import("element-plus").TreeKey[]; - checkStrictly: boolean; - defaultExpandedKeys: import("element-plus").TreeKey[]; - autoExpandParent: boolean; - defaultExpandAll: boolean; - checkDescendants: boolean; - props: { - children?: string | undefined; - label?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => string)) | undefined; - disabled?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => boolean)) | undefined; - isLeaf?: (string | ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => boolean)) | undefined; - class?: ((data: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default) => string | { - [key: string]: boolean; - }) | undefined; - }; - initialize: () => void; - filter: (value: import("element-plus").FilterValue) => void; - setData: (newVal: import("element-plus").TreeData) => void; - getNode: (data: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => import("element-plus/es/components/tree/src/model/node").default; - insertBefore: (data: TreeNodeData, refData: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (data: TreeNodeData, refData: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - remove: (data: TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - append: (data: TreeNodeData, parentData: TreeNodeData | import("element-plus").TreeKey | import("element-plus/es/components/tree/src/model/node").default) => void; - _initDefaultCheckedNodes: () => void; - _initDefaultCheckedNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - setDefaultCheckedKey: (newVal: import("element-plus").TreeKey[]) => void; - registerNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - deregisterNode: (node: import("element-plus/es/components/tree/src/model/node").default) => void; - getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => TreeNodeData[]; - getCheckedKeys: (leafOnly?: boolean) => import("element-plus").TreeKey[]; - getHalfCheckedNodes: () => TreeNodeData[]; - getHalfCheckedKeys: () => import("element-plus").TreeKey[]; - _getAllNodes: () => import("element-plus/es/components/tree/src/model/node").default[]; - updateChildren: (key: import("element-plus").TreeKey, data: import("element-plus").TreeData) => void; - _setCheckedKeys: (key: import("element-plus").TreeKey, leafOnly: boolean | undefined, checkedKeys: { - [key: string]: boolean; - }) => void; - setCheckedNodes: (array: import("element-plus/es/components/tree/src/model/node").default[], leafOnly?: boolean) => void; - setCheckedKeys: (keys: import("element-plus").TreeKey[], leafOnly?: boolean) => void; - setDefaultExpandedKeys: (keys: import("element-plus").TreeKey[]) => void; - setChecked: (data: import("element-plus").TreeKey | TreeNodeData, checked: boolean, deep: boolean) => void; - getCurrentNode: () => import("element-plus/es/components/tree/src/model/node").default; - setCurrentNode: (currentNode: import("element-plus/es/components/tree/src/model/node").default) => void; - setUserCurrentNode: (node: import("element-plus/es/components/tree/src/model/node").default, shouldAutoExpandParent?: boolean) => void; - setCurrentNodeKey: (key?: import("element-plus").TreeKey, shouldAutoExpandParent?: boolean) => void; - }>; - root: import("vue").Ref<{ - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }>; - currentNode: import("vue").Ref<{ - id: number; - text: string; - checked: boolean; - indeterminate: boolean; - data: TreeNodeData; - expanded: boolean; - parent: any; - visible: boolean; - isCurrent: boolean; - store: any; - isLeafByUser: boolean; - isLeaf: boolean; - canFocus: boolean; - level: number; - loaded: boolean; - childNodes: any[]; - loading: boolean; - initialize: () => void; - setData: (data: TreeNodeData) => void; - readonly label: string; - readonly key: import("element-plus").TreeKey; - readonly disabled: boolean; - readonly nextSibling: any | null; - readonly previousSibling: any | null; - contains: (target: import("element-plus/es/components/tree/src/model/node").default, deep?: boolean) => boolean; - remove: () => void; - insertChild: (child?: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, index?: number, batch?: boolean) => void; - insertBefore: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (child: import("element-plus").FakeNode | import("element-plus/es/components/tree/src/model/node").default, ref: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChild: (child: import("element-plus/es/components/tree/src/model/node").default) => void; - removeChildByData: (data: TreeNodeData) => void; - expand: (callback?: () => void, expandParent?: boolean) => void; - doCreateChildren: (array: TreeNodeData[], defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - collapse: () => void; - shouldLoadData: () => boolean; - updateLeafState: () => void; - setChecked: (value?: boolean | string, deep?: boolean, recursion?: boolean, passValue?: boolean) => void; - getChildren: (forceInit?: boolean) => TreeNodeData | TreeNodeData[]; - updateChildren: () => void; - loadData: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void, defaultProps?: import("element-plus").TreeNodeLoadedDefaultProps) => void; - eachNode: (callback: (node: import("element-plus/es/components/tree/src/model/node").default) => void) => void; - reInitChecked: () => void; - }>; - dragState: import("vue").Ref<{ - showDropIndicator: boolean; - draggingNode: null; - dropNode: null; - allowDrop: boolean; - dropType: null; - }>; - el$: import("vue").Ref>; - dropIndicator$: import("vue").Ref>; - isEmpty: import("vue").ComputedRef; - filter: (value: any) => void; - getNodeKey: (node: import("element-plus/es/components/tree/src/model/node").default) => any; - getNodePath: (data: import("element-plus").TreeKey | TreeNodeData) => TreeNodeData[]; - getCheckedNodes: (leafOnly?: boolean, includeHalfChecked?: boolean) => TreeNodeData[]; - getCheckedKeys: (leafOnly?: boolean) => import("element-plus").TreeKey[]; - getCurrentNode: () => TreeNodeData; - getCurrentKey: () => any; - setCheckedNodes: (nodes: import("element-plus/es/components/tree/src/model/node").default[], leafOnly?: boolean) => void; - setCheckedKeys: (keys: import("element-plus").TreeKey[], leafOnly?: boolean) => void; - setChecked: (data: import("element-plus").TreeKey | TreeNodeData, checked: boolean, deep: boolean) => void; - getHalfCheckedNodes: () => TreeNodeData[]; - getHalfCheckedKeys: () => import("element-plus").TreeKey[]; - setCurrentNode: (node: import("element-plus/es/components/tree/src/model/node").default, shouldAutoExpandParent?: boolean) => void; - setCurrentKey: (key?: import("element-plus").TreeKey, shouldAutoExpandParent?: boolean) => void; - t: import("element-plus").Translator; - getNode: (data: import("element-plus").TreeKey | TreeNodeData) => import("element-plus/es/components/tree/src/model/node").default; - remove: (data: TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - append: (data: TreeNodeData, parentNode: TreeNodeData | import("element-plus").TreeKey | import("element-plus/es/components/tree/src/model/node").default) => void; - insertBefore: (data: TreeNodeData, refNode: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - insertAfter: (data: TreeNodeData, refNode: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node").default) => void; - handleNodeExpand: (nodeData: TreeNodeData, node: import("element-plus/es/components/tree/src/model/node").default, instance: import("vue").ComponentInternalInstance) => void; - updateKeyChildren: (key: import("element-plus").TreeKey, data: import("element-plus").TreeData) => void; - }, {}, {}, {}, { - data: unknown[]; - props: import("element-plus").TreeOptionProps; - checkStrictly: boolean; - lazy: boolean; - accordion: boolean; - draggable: boolean; - defaultExpandAll: boolean; - indent: number; - renderAfterExpand: boolean; - showCheckbox: boolean; - expandOnClickNode: boolean; - checkOnClickNode: boolean; - checkOnClickLeaf: boolean; - checkDescendants: boolean; - autoExpandParent: boolean; - highlightCurrent: boolean; - }> | undefined>; - selectNode: (data: DatabaseNavItem, tabName?: string) => Promise; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/DatabaseStatus.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/DatabaseStatus.vue.d.ts deleted file mode 100644 index 531352ea..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/DatabaseStatus.vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -type __VLS_Props = { - status?: DatabaseStatus; - error?: string; - size?: BasicSize; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, { - status: DatabaseStatus; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/DatabaseTableDetail.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/DatabaseTableDetail.vue.d.ts deleted file mode 100644 index 987ccb71..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/DatabaseTableDetail.vue.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -type __VLS_Props = { - activeId?: string; - databaseName?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - refresh: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onRefresh?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/nav/DatabaseNavTabs.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/nav/DatabaseNavTabs.vue.d.ts deleted file mode 100644 index 2edbc29b..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/nav/DatabaseNavTabs.vue.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -type __VLS_Props = { - tabsItems: NavItem[]; - canSave?: boolean; - hasChanges?: boolean; - commitLoading?: boolean; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue?: any; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: any) => any; -} & { - commit: () => any; - rollback: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - onCommit?: (() => any) | undefined; - onRollback?: (() => any) | undefined; - "onUpdate:modelValue"?: ((value: any) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/tables/DatabaseTableDetailColumns.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/tables/DatabaseTableDetailColumns.vue.d.ts deleted file mode 100644 index d1288c3d..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/tables/DatabaseTableDetailColumns.vue.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -type __VLS_Props = { - loading?: boolean; - activeTable?: DatabaseTable; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue?: DatabaseTable; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: DatabaseTable | undefined) => any; -} & { - change: (value: DatabaseTable) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - onChange?: ((value: DatabaseTable) => any) | undefined; - "onUpdate:modelValue"?: ((value: DatabaseTable | undefined) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/tables/DatabaseTableDetailData.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/tables/DatabaseTableDetailData.vue.d.ts deleted file mode 100644 index 0733fe6c..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/tables/DatabaseTableDetailData.vue.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -type __VLS_Props = { - loading?: boolean; - activeTable?: DatabaseTable; - activeId?: string; - databaseName?: string; - filter?: { - [key: string]: any; - }; - displayAllFields?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - rollback: () => void; - commit: () => Promise; - hasChanges: import("vue").ComputedRef; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/tables/DatabaseTableDetailIndexes.vue.d.ts b/frontend/crawlab-ui/typings/components/core/database/tables/DatabaseTableDetailIndexes.vue.d.ts deleted file mode 100644 index d1288c3d..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/tables/DatabaseTableDetailIndexes.vue.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -type __VLS_Props = { - loading?: boolean; - activeTable?: DatabaseTable; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue?: DatabaseTable; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: DatabaseTable | undefined) => any; -} & { - change: (value: DatabaseTable) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - onChange?: ((value: DatabaseTable) => any) | undefined; - "onUpdate:modelValue"?: ((value: DatabaseTable | undefined) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/database/useDatabase.d.ts b/frontend/crawlab-ui/typings/components/core/database/useDatabase.d.ts deleted file mode 100644 index 9501cf4b..00000000 --- a/frontend/crawlab-ui/typings/components/core/database/useDatabase.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Store } from 'vuex'; -export declare const useDatabase: (store: Store) => { - formRules: FormRules; - dataSourceOptions: import("vue").ComputedRef[]>; - getTypeOptionsWithDefault: () => SelectOption[]; - onChangePasswordFunc: (id?: string) => Promise; - onHostsAdd: (index: number) => void; - onHostsDelete: (index: number) => void; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - form: import("vue").ComputedRef; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useDatabase; diff --git a/frontend/crawlab-ui/typings/components/core/dependency/DependencyConfigDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/dependency/DependencyConfigDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/dependency/DependencyConfigDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/dependency/DependencyInstallDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/dependency/DependencyInstallDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/dependency/DependencyInstallDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/dependency/DependencyLogsDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/dependency/DependencyLogsDialog.vue.d.ts deleted file mode 100644 index 51f19a52..00000000 --- a/frontend/crawlab-ui/typings/components/core/dependency/DependencyLogsDialog.vue.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, { - scrollToBottom: () => void; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/dependency/DependencySetupDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/dependency/DependencySetupDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/dependency/DependencySetupDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/dependency/DependencyStatusTag.vue.d.ts b/frontend/crawlab-ui/typings/components/core/dependency/DependencyStatusTag.vue.d.ts deleted file mode 100644 index 33c34d4a..00000000 --- a/frontend/crawlab-ui/typings/components/core/dependency/DependencyStatusTag.vue.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -type __VLS_Props = { - status?: DependencyStatus; - size?: BasicSize; - clickDisabled?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/dependency/DependencyUninstallDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/dependency/DependencyUninstallDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/dependency/DependencyUninstallDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/dependency/DependencyVersions.vue.d.ts b/frontend/crawlab-ui/typings/components/core/dependency/DependencyVersions.vue.d.ts deleted file mode 100644 index df038a6a..00000000 --- a/frontend/crawlab-ui/typings/components/core/dependency/DependencyVersions.vue.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -type __VLS_Props = { - name: string; - dependencies: Dependency[]; - latestVersion?: string; - requiredVersion?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/environment/CreateEditEnvironmentDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/environment/CreateEditEnvironmentDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/environment/CreateEditEnvironmentDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/environment/EnvironmentForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/environment/EnvironmentForm.vue.d.ts deleted file mode 100644 index 7208427d..00000000 --- a/frontend/crawlab-ui/typings/components/core/environment/EnvironmentForm.vue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -type __VLS_Props = { - readonly?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/environment/useEnvironment.d.ts b/frontend/crawlab-ui/typings/components/core/environment/useEnvironment.d.ts deleted file mode 100644 index 166702d0..00000000 --- a/frontend/crawlab-ui/typings/components/core/environment/useEnvironment.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const useEnvironment: any; -export default useEnvironment; diff --git a/frontend/crawlab-ui/typings/components/core/git/CreateEditGitDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/CreateEditGitDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/CreateEditGitDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/CreateGitBranchDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/CreateGitBranchDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/CreateGitBranchDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/CreateGitSpiderDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/CreateGitSpiderDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/CreateGitSpiderDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/GitBranchSelect.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/GitBranchSelect.vue.d.ts deleted file mode 100644 index 7c34fae3..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/GitBranchSelect.vue.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -type __VLS_Props = { - modelValue?: string; - localBranches: GitRef[]; - remoteBranches: GitRef[]; - disabled?: boolean; - loading?: boolean; - className?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - push: () => any; - pull: () => any; - commit: () => any; - "select-local": (value: string) => any; - "select-remote": (value: string) => any; - "new-branch": () => any; - "delete-branch": (value: string) => any; - "update:modelValue": (value: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onPush?: (() => any) | undefined; - onPull?: (() => any) | undefined; - onCommit?: (() => any) | undefined; - "onSelect-local"?: ((value: string) => any) | undefined; - "onSelect-remote"?: ((value: string) => any) | undefined; - "onNew-branch"?: (() => any) | undefined; - "onDelete-branch"?: ((value: string) => any) | undefined; - "onUpdate:modelValue"?: ((value: string) => any) | undefined; -}>, { - localBranches: GitRef[]; - remoteBranches: GitRef[]; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/GitCloneLogsDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/GitCloneLogsDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/GitCloneLogsDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/GitFileDiffDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/GitFileDiffDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/GitFileDiffDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/GitFileStatus.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/GitFileStatus.vue.d.ts deleted file mode 100644 index a1a01310..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/GitFileStatus.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -type __VLS_Props = { - fileStatus: GitChange; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - fileStatus: GitChange; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/GitForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/GitForm.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/GitForm.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/GitLogsBox.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/GitLogsBox.vue.d.ts deleted file mode 100644 index e8808e01..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/GitLogsBox.vue.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -type __VLS_Props = { - visible?: boolean; - loading?: boolean; - title?: string; - logs?: string[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/GitPath.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/GitPath.vue.d.ts deleted file mode 100644 index d9d3c82e..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/GitPath.vue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -type __VLS_Props = { - path?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/GitRepo.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/GitRepo.vue.d.ts deleted file mode 100644 index b73c7b31..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/GitRepo.vue.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -type __VLS_Props = { - name?: string; - gitRootPath?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/GitStatus.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/GitStatus.vue.d.ts deleted file mode 100644 index 4a3a77a2..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/GitStatus.vue.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -type __VLS_Props = { - id?: string; - status?: GitStatus; - size?: BasicSize; - error?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - retry: () => any; - "view-logs": () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onRetry?: (() => any) | undefined; - "onView-logs"?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/UploadGitFilesDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/git/UploadGitFilesDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/UploadGitFilesDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/git/useGit.d.ts b/frontend/crawlab-ui/typings/components/core/git/useGit.d.ts deleted file mode 100644 index e0c68aaa..00000000 --- a/frontend/crawlab-ui/typings/components/core/git/useGit.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Store } from 'vuex'; -declare const useGit: (store: Store) => { - getGitIcon: (row: Git) => { - icon: Icon; - color?: string; - name: string; - }; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - form: import("vue").ComputedRef; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useGit; diff --git a/frontend/crawlab-ui/typings/components/core/metric/CurrentMetrics.vue.d.ts b/frontend/crawlab-ui/typings/components/core/metric/CurrentMetrics.vue.d.ts deleted file mode 100644 index 0418e00f..00000000 --- a/frontend/crawlab-ui/typings/components/core/metric/CurrentMetrics.vue.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -type __VLS_Props = { - metric?: BasicMetric; - size?: BasicSize; - clickable?: boolean; - metrics?: ('cpu_usage_percent' | 'used_memory_percent' | 'used_disk_percent' | 'used_memory' | 'used_disk')[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: (event: MouseEvent) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: ((event: MouseEvent) => any) | undefined; -}>, { - metrics: ("cpu_usage_percent" | "used_memory_percent" | "used_disk_percent" | "used_memory" | "used_disk")[]; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/metric/MetricMonitoringDetail.vue.d.ts b/frontend/crawlab-ui/typings/components/core/metric/MetricMonitoringDetail.vue.d.ts deleted file mode 100644 index 4af110d7..00000000 --- a/frontend/crawlab-ui/typings/components/core/metric/MetricMonitoringDetail.vue.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -type __VLS_Props = { - ns: ListStoreNamespace; - apiPrefix: string; - defaultMetricGroups?: string[]; - defaultTimeRange?: string; - allMetricGroupsFn?: () => MetricGroup[]; - availableMetricGroups?: string[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "time-range-change": (timeRange: string) => any; - "metric-groups-change": (metricGroups: string[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onTime-range-change"?: ((timeRange: string) => any) | undefined; - "onMetric-groups-change"?: ((metricGroups: string[]) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/node/CreateEditNodeDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/node/CreateEditNodeDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/node/CreateEditNodeDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/node/NodeActive.vue.d.ts b/frontend/crawlab-ui/typings/components/core/node/NodeActive.vue.d.ts deleted file mode 100644 index 3e90b0e1..00000000 --- a/frontend/crawlab-ui/typings/components/core/node/NodeActive.vue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -type __VLS_Props = { - active?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/node/NodeForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/node/NodeForm.vue.d.ts deleted file mode 100644 index 7208427d..00000000 --- a/frontend/crawlab-ui/typings/components/core/node/NodeForm.vue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -type __VLS_Props = { - readonly?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/node/NodeRunners.vue.d.ts b/frontend/crawlab-ui/typings/components/core/node/NodeRunners.vue.d.ts deleted file mode 100644 index 7b404ce6..00000000 --- a/frontend/crawlab-ui/typings/components/core/node/NodeRunners.vue.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -type __VLS_Props = { - current?: number; - max?: number; - size?: BasicSize; - status?: NodeStatus; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, { - size: BasicSize; - max: number; - current: number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/node/NodeStatus.vue.d.ts b/frontend/crawlab-ui/typings/components/core/node/NodeStatus.vue.d.ts deleted file mode 100644 index 34e1d4b9..00000000 --- a/frontend/crawlab-ui/typings/components/core/node/NodeStatus.vue.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -type __VLS_Props = { - status: NodeStatus; - size?: BasicSize; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/node/NodeTag.vue.d.ts b/frontend/crawlab-ui/typings/components/core/node/NodeTag.vue.d.ts deleted file mode 100644 index 61888889..00000000 --- a/frontend/crawlab-ui/typings/components/core/node/NodeTag.vue.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -type __VLS_Props = { - node: CNode; - icon?: Icon; - size?: BasicSize; - type?: BasicType; - tooltip?: string; - clickable?: boolean; - loading?: boolean; - effect?: BasicEffect; - hit?: boolean; - iconOnly?: boolean; - noLabel?: boolean; -}; -type __VLS_Slots = { - tooltip: any; - 'extra-items': any; -}; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; - mouseenter: () => any; - mouseleave: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; - onMouseenter?: (() => any) | undefined; - onMouseleave?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/core/node/NodeType.vue.d.ts b/frontend/crawlab-ui/typings/components/core/node/NodeType.vue.d.ts deleted file mode 100644 index 29e2f8cb..00000000 --- a/frontend/crawlab-ui/typings/components/core/node/NodeType.vue.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -type __VLS_Props = { - isMaster?: boolean; - label?: string; - tooltip?: string; - showFullLabel?: boolean; - clickable?: boolean; -}; -declare const type: import("vue").ComputedRef; -declare const computedLabel: import("vue").ComputedRef; -declare const icon: import("vue").ComputedRef; -declare const className: import("vue").ComputedRef; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_5: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - tooltip?: (props: typeof __VLS_5) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - type: typeof type; - computedLabel: typeof computedLabel; - icon: typeof icon; - className: typeof className; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/core/node/useNode.d.ts b/frontend/crawlab-ui/typings/components/core/node/useNode.d.ts deleted file mode 100644 index 65cb4cfe..00000000 --- a/frontend/crawlab-ui/typings/components/core/node/useNode.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Store } from 'vuex'; -declare const useNode: (store: Store) => { - formRules: FormRules; - allNodesSorted: import("vue").ComputedRef; - activeNodesSorted: import("vue").ComputedRef; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - form: import("vue").ComputedRef; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useNode; diff --git a/frontend/crawlab-ui/typings/components/core/notification/alert/CreateEditNotificationAlertDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/notification/alert/CreateEditNotificationAlertDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/notification/alert/CreateEditNotificationAlertDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/notification/alert/NotificationAlertForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/notification/alert/NotificationAlertForm.vue.d.ts deleted file mode 100644 index 6220ab5a..00000000 --- a/frontend/crawlab-ui/typings/components/core/notification/alert/NotificationAlertForm.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -type __VLS_Props = { - readonly?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - validateForm: () => Promise; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/notification/alert/useNotificationAlert.d.ts b/frontend/crawlab-ui/typings/components/core/notification/alert/useNotificationAlert.d.ts deleted file mode 100644 index 0ebc62d7..00000000 --- a/frontend/crawlab-ui/typings/components/core/notification/alert/useNotificationAlert.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Store } from 'vuex'; -declare const useNotificationAlert: (store: Store) => { - id: import("vue").ComputedRef; - form: import("vue").ComputedRef; - metricTargetOptions: import("vue").ComputedRef[]>; - metricNameOptions: import("vue").ComputedRef[]>; - operatorOptions: import("vue").ComputedRef[]>; - lastingSecondsOptions: import("vue").ComputedRef[]>; - levelOptions: import("vue").ComputedRef[]>; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useNotificationAlert; diff --git a/frontend/crawlab-ui/typings/components/core/notification/channel/CreateEditNotificationChannelDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/notification/channel/CreateEditNotificationChannelDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/notification/channel/CreateEditNotificationChannelDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/notification/channel/NotificationChannelForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/notification/channel/NotificationChannelForm.vue.d.ts deleted file mode 100644 index 6220ab5a..00000000 --- a/frontend/crawlab-ui/typings/components/core/notification/channel/NotificationChannelForm.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -type __VLS_Props = { - readonly?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - validateForm: () => Promise; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/notification/channel/useNotificationChannel.d.ts b/frontend/crawlab-ui/typings/components/core/notification/channel/useNotificationChannel.d.ts deleted file mode 100644 index b67418d6..00000000 --- a/frontend/crawlab-ui/typings/components/core/notification/channel/useNotificationChannel.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Store } from 'vuex'; -declare const useNotificationChannel: (store: Store) => { - id: import("vue").ComputedRef; - form: import("vue").ComputedRef; - typeOptions: import("vue").ComputedRef[]>; - providerOptionGroups: import("vue").ComputedRef[]>; - activeProvider: import("vue").ComputedRef; - activeProviderOption: import("vue").ComputedRef>; - allProviders: NotificationChannelProvider[]; - allProviderNames: import("vue").ComputedRef; - getProviderIcon: (provider: string) => Icon | undefined; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useNotificationChannel; diff --git a/frontend/crawlab-ui/typings/components/core/notification/request/NotificationRequestStatus.vue.d.ts b/frontend/crawlab-ui/typings/components/core/notification/request/NotificationRequestStatus.vue.d.ts deleted file mode 100644 index ef6e0e84..00000000 --- a/frontend/crawlab-ui/typings/components/core/notification/request/NotificationRequestStatus.vue.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -type __VLS_Props = { - status: NotificationRequestStatus; - size?: BasicSize; - error?: string; - clickable?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/notification/setting/CreateEditNotificationSettingDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/notification/setting/CreateEditNotificationSettingDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/notification/setting/CreateEditNotificationSettingDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/notification/setting/NotificationSettingForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/notification/setting/NotificationSettingForm.vue.d.ts deleted file mode 100644 index 7208427d..00000000 --- a/frontend/crawlab-ui/typings/components/core/notification/setting/NotificationSettingForm.vue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -type __VLS_Props = { - readonly?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/notification/setting/NotificationSettingTriggerSelect.vue.d.ts b/frontend/crawlab-ui/typings/components/core/notification/setting/NotificationSettingTriggerSelect.vue.d.ts deleted file mode 100644 index cc86dd8b..00000000 --- a/frontend/crawlab-ui/typings/components/core/notification/setting/NotificationSettingTriggerSelect.vue.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -type __VLS_Props = { - disabled?: boolean; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue?: NotificationTrigger; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: NotificationTrigger | undefined) => any; -} & { - "trigger-change": (value: NotificationTrigger) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - "onTrigger-change"?: ((value: NotificationTrigger) => any) | undefined; - "onUpdate:modelValue"?: ((value: NotificationTrigger | undefined) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/notification/setting/useNotificationSetting.d.ts b/frontend/crawlab-ui/typings/components/core/notification/setting/useNotificationSetting.d.ts deleted file mode 100644 index af85ecb2..00000000 --- a/frontend/crawlab-ui/typings/components/core/notification/setting/useNotificationSetting.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Store } from 'vuex'; -declare const useNotificationSetting: (store: Store) => { - id: import("vue").ComputedRef; - form: import("vue").ComputedRef; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useNotificationSetting; diff --git a/frontend/crawlab-ui/typings/components/core/project/CreateEditProjectDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/project/CreateEditProjectDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/project/CreateEditProjectDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/project/ProjectForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/project/ProjectForm.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/project/ProjectForm.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/project/useProject.d.ts b/frontend/crawlab-ui/typings/components/core/project/useProject.d.ts deleted file mode 100644 index 4a15f8cc..00000000 --- a/frontend/crawlab-ui/typings/components/core/project/useProject.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Store } from 'vuex'; -declare const useProject: (store: Store) => { - formRules: FormRules; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - form: import("vue").ComputedRef; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useProject; diff --git a/frontend/crawlab-ui/typings/components/core/result/ResultCell.vue.d.ts b/frontend/crawlab-ui/typings/components/core/result/ResultCell.vue.d.ts deleted file mode 100644 index 7e7d7c11..00000000 --- a/frontend/crawlab-ui/typings/components/core/result/ResultCell.vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -type __VLS_Props = { - fieldKey?: string; - type: DataFieldType; - value?: string | number | boolean | Array | Record; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, { - type: DataFieldType; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/result/ResultCellDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/result/ResultCellDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/result/ResultCellDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/result/ResultDedupFieldsDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/result/ResultDedupFieldsDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/result/ResultDedupFieldsDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/role/CreateEditRoleDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/role/CreateEditRoleDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/role/CreateEditRoleDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/role/RoleForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/role/RoleForm.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/role/RoleForm.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/role/useRole.d.ts b/frontend/crawlab-ui/typings/components/core/role/useRole.d.ts deleted file mode 100644 index 81f75391..00000000 --- a/frontend/crawlab-ui/typings/components/core/role/useRole.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Store } from 'vuex'; -declare const useRole: (store: Store) => { - routesOptions: import("vue").ComputedRef[]>; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - form: import("vue").ComputedRef; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useRole; diff --git a/frontend/crawlab-ui/typings/components/core/schedule/CreateEditScheduleDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/schedule/CreateEditScheduleDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/schedule/CreateEditScheduleDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/schedule/RunScheduleDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/schedule/RunScheduleDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/schedule/RunScheduleDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/schedule/ScheduleCron.vue.d.ts b/frontend/crawlab-ui/typings/components/core/schedule/ScheduleCron.vue.d.ts deleted file mode 100644 index 9f23dcec..00000000 --- a/frontend/crawlab-ui/typings/components/core/schedule/ScheduleCron.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -type __VLS_Props = { - cron?: string; - size?: BasicSize; - iconOnly?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/schedule/ScheduleForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/schedule/ScheduleForm.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/schedule/ScheduleForm.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/schedule/useSchedule.d.ts b/frontend/crawlab-ui/typings/components/core/schedule/useSchedule.d.ts deleted file mode 100644 index 7911efad..00000000 --- a/frontend/crawlab-ui/typings/components/core/schedule/useSchedule.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Store } from 'vuex'; -declare const useSchedule: (store: Store) => { - modeOptions: SelectOption[]; - formRules: FormRules; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - form: import("vue").ComputedRef; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useSchedule; diff --git a/frontend/crawlab-ui/typings/components/core/spider/CreateEditSpiderDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/spider/CreateEditSpiderDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/spider/CreateEditSpiderDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/spider/RunSpiderDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/spider/RunSpiderDialog.vue.d.ts deleted file mode 100644 index b270e4a9..00000000 --- a/frontend/crawlab-ui/typings/components/core/spider/RunSpiderDialog.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -type __VLS_Props = { - ns?: ListStoreNamespace; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - ns: ListStoreNamespace; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/spider/SpiderForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/spider/SpiderForm.vue.d.ts deleted file mode 100644 index 022ef324..00000000 --- a/frontend/crawlab-ui/typings/components/core/spider/SpiderForm.vue.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { TASK_MODE_RANDOM, TASK_MODE_SELECTED_NODES } from '@/constants/task'; -import { EMPTY_OBJECT_ID } from '@/utils/mongo'; -import { priorityOptions } from '@/utils'; -import ClRemoteSelect from '@/components/ui/select/RemoteSelect.vue'; -declare const t: (path: string, number?: number | null, args?: Record) => string; -declare const allNodes: import("vue").ComputedRef; -declare const toRunNodes: import("vue").ComputedRef; -declare const form: import("vue").ComputedRef, formRef: import("vue").Ref, isFormItemDisabled: (prop: string) => boolean, modeOptions: SelectOption[]; -declare const isDetail: import("vue").ComputedRef; -declare const onDataCollectionSuggestionSelect: ({ _id, }: { - _id: string; - value: string; -}) => void; -declare const onDataCollectionInput: (value: string) => void; -declare const spiderTemplateGroupOptions: import("vue").ComputedRef[]>; -declare const onTemplateChange: (value: string) => void; -declare const activeTemplateOption: import("vue").ComputedRef; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_7: {}, __VLS_145: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - header?: (props: typeof __VLS_7) => any; -} & { - footer?: (props: typeof __VLS_145) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<{}, { - TASK_MODE_RANDOM: typeof TASK_MODE_RANDOM; - TASK_MODE_SELECTED_NODES: typeof TASK_MODE_SELECTED_NODES; - EMPTY_OBJECT_ID: typeof EMPTY_OBJECT_ID; - priorityOptions: typeof priorityOptions; - ClRemoteSelect: typeof ClRemoteSelect; - t: typeof t; - allNodes: typeof allNodes; - toRunNodes: typeof toRunNodes; - form: typeof form; - formRef: typeof formRef; - isFormItemDisabled: typeof isFormItemDisabled; - modeOptions: typeof modeOptions; - isDetail: typeof isDetail; - onDataCollectionSuggestionSelect: typeof onDataCollectionSuggestionSelect; - onDataCollectionInput: typeof onDataCollectionInput; - spiderTemplateGroupOptions: typeof spiderTemplateGroupOptions; - onTemplateChange: typeof onTemplateChange; - activeTemplateOption: typeof activeTemplateOption; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<{}, { - validate: () => Promise; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/core/spider/SpiderResultDataWithDatabase.vue.d.ts b/frontend/crawlab-ui/typings/components/core/spider/SpiderResultDataWithDatabase.vue.d.ts deleted file mode 100644 index 83d0d201..00000000 --- a/frontend/crawlab-ui/typings/components/core/spider/SpiderResultDataWithDatabase.vue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -type __VLS_Props = { - displayAllFields?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/spider/SpiderStat.vue.d.ts b/frontend/crawlab-ui/typings/components/core/spider/SpiderStat.vue.d.ts deleted file mode 100644 index aeae281d..00000000 --- a/frontend/crawlab-ui/typings/components/core/spider/SpiderStat.vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -type __VLS_Props = { - stat?: SpiderStat; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "tasks-click": () => any; - "results-click": () => any; - "duration-click": () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onTasks-click"?: (() => any) | undefined; - "onResults-click"?: (() => any) | undefined; - "onDuration-click"?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/spider/UploadSpiderFilesDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/spider/UploadSpiderFilesDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/spider/UploadSpiderFilesDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/spider/useSpider.d.ts b/frontend/crawlab-ui/typings/components/core/spider/useSpider.d.ts deleted file mode 100644 index 20104358..00000000 --- a/frontend/crawlab-ui/typings/components/core/spider/useSpider.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Store } from 'vuex'; -declare const useSpider: (store: Store) => { - id: import("vue").ComputedRef; - modeOptions: SelectOption[]; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - form: import("vue").ComputedRef; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useSpider; diff --git a/frontend/crawlab-ui/typings/components/core/task/CreateTaskDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/task/CreateTaskDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/task/CreateTaskDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/task/TaskCommand.vue.d.ts b/frontend/crawlab-ui/typings/components/core/task/TaskCommand.vue.d.ts deleted file mode 100644 index cf07f9ea..00000000 --- a/frontend/crawlab-ui/typings/components/core/task/TaskCommand.vue.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -type __VLS_Props = { - task: Task; - spider?: Spider; - size?: BasicSize; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/task/TaskForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/task/TaskForm.vue.d.ts deleted file mode 100644 index 037ea729..00000000 --- a/frontend/crawlab-ui/typings/components/core/task/TaskForm.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -type __VLS_Props = { - readonly?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - validate: () => Promise; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/task/TaskMode.vue.d.ts b/frontend/crawlab-ui/typings/components/core/task/TaskMode.vue.d.ts deleted file mode 100644 index ef03ecc6..00000000 --- a/frontend/crawlab-ui/typings/components/core/task/TaskMode.vue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -type __VLS_Props = { - mode?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/task/TaskPriority.vue.d.ts b/frontend/crawlab-ui/typings/components/core/task/TaskPriority.vue.d.ts deleted file mode 100644 index 9f5d8f44..00000000 --- a/frontend/crawlab-ui/typings/components/core/task/TaskPriority.vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -type __VLS_Props = { - priority: number; - size: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, { - priority: number; - size: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/task/TaskResultDataWithDatabase.vue.d.ts b/frontend/crawlab-ui/typings/components/core/task/TaskResultDataWithDatabase.vue.d.ts deleted file mode 100644 index 83d0d201..00000000 --- a/frontend/crawlab-ui/typings/components/core/task/TaskResultDataWithDatabase.vue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -type __VLS_Props = { - displayAllFields?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/task/TaskResults.vue.d.ts b/frontend/crawlab-ui/typings/components/core/task/TaskResults.vue.d.ts deleted file mode 100644 index 1ded3f20..00000000 --- a/frontend/crawlab-ui/typings/components/core/task/TaskResults.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -type __VLS_Props = { - results?: number; - status?: TaskStatus; - size?: BasicSize; - clickable?: boolean; - onClick?: () => void; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/task/TaskStatus.vue.d.ts b/frontend/crawlab-ui/typings/components/core/task/TaskStatus.vue.d.ts deleted file mode 100644 index c2dfbee6..00000000 --- a/frontend/crawlab-ui/typings/components/core/task/TaskStatus.vue.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -type __VLS_Props = { - status: TaskStatus; - size?: BasicSize; - error?: string; - clickable?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/task/useTask.d.ts b/frontend/crawlab-ui/typings/components/core/task/useTask.d.ts deleted file mode 100644 index d59c03c2..00000000 --- a/frontend/crawlab-ui/typings/components/core/task/useTask.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Store } from 'vuex'; -declare const useTask: (store: Store) => { - id: import("vue").ComputedRef; - modeOptions: SelectOption[]; - modeOptionsDict: import("vue").ComputedRef>>; - getPriorityLabel: (priority: number) => string; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - form: import("vue").ComputedRef; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useTask; diff --git a/frontend/crawlab-ui/typings/components/core/user/CreateEditUserDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/core/user/CreateEditUserDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/core/user/CreateEditUserDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/user/UserForm.vue.d.ts b/frontend/crawlab-ui/typings/components/core/user/UserForm.vue.d.ts deleted file mode 100644 index 990b6afc..00000000 --- a/frontend/crawlab-ui/typings/components/core/user/UserForm.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -type __VLS_Props = { - form?: User; - isEdit?: boolean; - onChangePassword?: () => Promise; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/user/UserRole.vue.d.ts b/frontend/crawlab-ui/typings/components/core/user/UserRole.vue.d.ts deleted file mode 100644 index 0378c1d1..00000000 --- a/frontend/crawlab-ui/typings/components/core/user/UserRole.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export type UserRole = 'admin' | 'normal'; -type __VLS_Props = { - role?: UserRole; - label?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/core/user/useUser.d.ts b/frontend/crawlab-ui/typings/components/core/user/useUser.d.ts deleted file mode 100644 index 84ff6527..00000000 --- a/frontend/crawlab-ui/typings/components/core/user/useUser.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Store } from 'vuex'; -declare const useUser: (store: Store) => { - modeOptions: SelectOption[]; - formRules: FormRules; - onChangePasswordFunc: (id?: string) => Promise; - rolesOptions: SelectOption[]; - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - form: import("vue").ComputedRef; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useUser; diff --git a/frontend/crawlab-ui/typings/components/index.d.ts b/frontend/crawlab-ui/typings/components/index.d.ts deleted file mode 100644 index 75f712d0..00000000 --- a/frontend/crawlab-ui/typings/components/index.d.ts +++ /dev/null @@ -1,255 +0,0 @@ -import * as action from './ui/table/action'; -import * as autoLink from './ui/lexical/utils/autoLink'; -import * as column from './ui/table/column'; -import * as data from './ui/table/data'; -import * as date from './ui/date/date'; -import * as fileEditorDropZone from './ui/file/fileEditorDropZone'; -import * as filter from './ui/filter/filter'; -import * as formTable from './ui/form/formTable'; -import * as getSelectedNode from './ui/lexical/utils/getSelectedNode'; -import * as header from './ui/table/header'; -import * as icon from './ui/icon/icon'; -import * as ImageNode from './ui/lexical/nodes/ImageNode'; -import * as LexicalDecoratedTeleports from './ui/lexical/plugins/LexicalDecoratedTeleports'; -import * as markdownTransformers from './ui/lexical/utils/markdownTransformers'; -import * as node from './ui/lexical/utils/node'; -import * as pagination from './ui/table/pagination'; -import * as store from './ui/table/store'; -import * as theme from './ui/lexical/utils/theme'; -import * as VariableNode from './ui/lexical/nodes/VariableNode'; -import AssistantConsole from './core/ai/AssistantConsole.vue'; -import AtomMaterialIcon from './ui/icon/AtomMaterialIcon.vue'; -import AutoProbeForm from './core/autoprobe/AutoProbeForm.vue'; -import AutoProbeItemDetail from './core/autoprobe/AutoProbeItemDetail.vue'; -import AutoProbePagePatternsSidebar from './core/autoprobe/AutoProbePagePatternsSidebar.vue'; -import AutoProbePatternStats from './core/autoprobe/AutoProbePatternStats.vue'; -import AutoProbeResultsContainer from './core/autoprobe/AutoProbeResultsContainer.vue'; -import AutoProbeResultsPreview from './core/autoprobe/AutoProbeResultsPreview.vue'; -import AutoProbeSelector from './core/autoprobe/AutoProbeSelector.vue'; -import AutoProbeTaskStatus from './core/autoprobe/AutoProbeTaskStatus.vue'; -import BlockOptionsDropdownList from './ui/lexical/components/BlockOptionsDropdownList.vue'; -import Box from './ui/box/Box.vue'; -import Button from './ui/button/Button.vue'; -import ButtonGroup from './ui/button/ButtonGroup.vue'; -import Chart from './ui/chart/Chart.vue'; -import ChatConfigDialog from './ui/chat/ChatConfigDialog.vue'; -import ChatHistory from './ui/chat/ChatHistory.vue'; -import ChatInput from './ui/chat/ChatInput.vue'; -import ChatMessage from './ui/chat/ChatMessage.vue'; -import ChatMessageAction from './ui/chat/ChatMessageAction.vue'; -import ChatMessageList from './ui/chat/ChatMessageList.vue'; -import ChatSidebar from './ui/chat/ChatSidebar.vue'; -import CheckboxTree from './ui/checkbox/CheckboxTree.vue'; -import CheckboxTreeGroup from './ui/checkbox/CheckboxTreeGroup.vue'; -import CheckTag from './ui/tag/CheckTag.vue'; -import CheckTagGroup from './ui/tag/CheckTagGroup.vue'; -import ConfirmDialog from './ui/dialog/ConfirmDialog.vue'; -import ContextMenu from './ui/context-menu/ContextMenu.vue'; -import ContextMenuList from './ui/context-menu/ContextMenuList.vue'; -import CreateEditAutoProbeDialog from './core/autoprobe/CreateEditAutoProbeDialog.vue'; -import CreateEditDatabaseDialog from './core/database/CreateEditDatabaseDialog.vue'; -import CreateEditDatabaseTableDialog from './core/database/CreateEditDatabaseTableDialog.vue'; -import CreateEditDialog from './ui/dialog/CreateEditDialog.vue'; -import CreateEditEnvironmentDialog from './core/environment/CreateEditEnvironmentDialog.vue'; -import CreateEditGitDialog from './core/git/CreateEditGitDialog.vue'; -import CreateEditNodeDialog from './core/node/CreateEditNodeDialog.vue'; -import CreateEditNotificationAlertDialog from './core/notification/alert/CreateEditNotificationAlertDialog.vue'; -import CreateEditNotificationChannelDialog from './core/notification/channel/CreateEditNotificationChannelDialog.vue'; -import CreateEditNotificationSettingDialog from './core/notification/setting/CreateEditNotificationSettingDialog.vue'; -import CreateEditProjectDialog from './core/project/CreateEditProjectDialog.vue'; -import CreateEditRoleDialog from './core/role/CreateEditRoleDialog.vue'; -import CreateEditScheduleDialog from './core/schedule/CreateEditScheduleDialog.vue'; -import CreateEditSpiderDialog from './core/spider/CreateEditSpiderDialog.vue'; -import CreateEditUserDialog from './core/user/CreateEditUserDialog.vue'; -import CreateGitBranchDialog from './core/git/CreateGitBranchDialog.vue'; -import CreateGitSpiderDialog from './core/git/CreateGitSpiderDialog.vue'; -import CreateTaskDialog from './core/task/CreateTaskDialog.vue'; -import CurrentMetrics from './core/metric/CurrentMetrics.vue'; -import DatabaseDatabaseDetail from './core/database/DatabaseDatabaseDetail.vue'; -import DatabaseDataSource from './core/database/DatabaseDataSource.vue'; -import DatabaseForm from './core/database/DatabaseForm.vue'; -import DatabaseNavTabs from './core/database/nav/DatabaseNavTabs.vue'; -import DatabaseSidebar from './core/database/DatabaseSidebar.vue'; -import DatabaseStatus from './core/database/DatabaseStatus.vue'; -import DatabaseTableDetail from './core/database/DatabaseTableDetail.vue'; -import DatabaseTableDetailColumns from './core/database/tables/DatabaseTableDetailColumns.vue'; -import DatabaseTableDetailData from './core/database/tables/DatabaseTableDetailData.vue'; -import DatabaseTableDetailIndexes from './core/database/tables/DatabaseTableDetailIndexes.vue'; -import DateRangePicker from './ui/date/DateRangePicker.vue'; -import DateTimeRangePicker from './ui/date/DateTimeRangePicker.vue'; -import DependencyConfigDialog from './core/dependency/DependencyConfigDialog.vue'; -import DependencyInstallDialog from './core/dependency/DependencyInstallDialog.vue'; -import DependencyLogsDialog from './core/dependency/DependencyLogsDialog.vue'; -import DependencySetupDialog from './core/dependency/DependencySetupDialog.vue'; -import DependencyStatusTag from './core/dependency/DependencyStatusTag.vue'; -import DependencyUninstallDialog from './core/dependency/DependencyUninstallDialog.vue'; -import DependencyVersions from './core/dependency/DependencyVersions.vue'; -import DetailTabList from './ui/list/DetailTabList.vue'; -import Dialog from './ui/dialog/Dialog.vue'; -import DraggableItem from './ui/drag/DraggableItem.vue'; -import DraggableList from './ui/drag/DraggableList.vue'; -import DropdownButton from './ui/lexical/components/DropdownButton.vue'; -import Duration from './ui/time/Duration.vue'; -import EditInput from './ui/input/EditInput.vue'; -import EditorOptionsDropdownList from './ui/editor/EditorOptionsDropdownList.vue'; -import EditTable from './ui/table/EditTable.vue'; -import EditTableActionCell from './ui/table/EditTableActionCell.vue'; -import Empty from './ui/empty/Empty.vue'; -import EnvironmentForm from './core/environment/EnvironmentForm.vue'; -import ExportButton from './ui/button/ExportButton.vue'; -import ExportForm from './ui/export/ExportForm.vue'; -import FaIconButton from './ui/button/FaIconButton.vue'; -import FileActions from './ui/file/FileActions.vue'; -import FileDiff from './ui/file/FileDiff.vue'; -import FileEditor from './ui/file/FileEditor.vue'; -import FileEditorCreateWithAiDialog from './ui/file/FileEditorCreateWithAiDialog.vue'; -import FileEditorNavMenu from './ui/file/FileEditorNavMenu.vue'; -import FileEditorNavMenuContextMenu from './ui/file/FileEditorNavMenuContextMenu.vue'; -import FileEditorNavTabs from './ui/file/FileEditorNavTabs.vue'; -import FileEditorNavTabsContextMenu from './ui/file/FileEditorNavTabsContextMenu.vue'; -import FileEditorNavTabsShowMoreContextMenu from './ui/file/FileEditorNavTabsShowMoreContextMenu.vue'; -import FileEditorSettingsDialog from './ui/file/FileEditorSettingsDialog.vue'; -import FileTab from './ui/file/FileTab.vue'; -import FileUpload from './ui/file/FileUpload.vue'; -import FilterCondition from './ui/filter/FilterCondition.vue'; -import FilterConditionList from './ui/filter/FilterConditionList.vue'; -import FilterInput from './ui/filter/FilterInput.vue'; -import FilterSelect from './ui/filter/FilterSelect.vue'; -import FloatLinkEditor from './ui/lexical/components/FloatLinkEditor.vue'; -import Form from './ui/form/Form.vue'; -import FormItem from './ui/form/FormItem.vue'; -import FormTableField from './ui/form/FormTableField.vue'; -import GitBranchSelect from './core/git/GitBranchSelect.vue'; -import GitCloneLogsDialog from './core/git/GitCloneLogsDialog.vue'; -import GitFileDiffDialog from './core/git/GitFileDiffDialog.vue'; -import GitFileStatus from './core/git/GitFileStatus.vue'; -import GitForm from './core/git/GitForm.vue'; -import GitHubStarBadge from './ui/badge/GitHubStarBadge.vue'; -import GitLogsBox from './core/git/GitLogsBox.vue'; -import GitPath from './core/git/GitPath.vue'; -import GitRepo from './core/git/GitRepo.vue'; -import GitStatus from './core/git/GitStatus.vue'; -import Icon from './ui/icon/Icon.vue'; -import IconButton from './ui/button/IconButton.vue'; -import ImageComponent from './ui/lexical/components/ImageComponent.vue'; -import ImgEmpty from './ui/empty/ImgEmpty.vue'; -import InputList from './ui/input/InputList.vue'; -import InputSelect from './ui/select/InputSelect.vue'; -import InsertImageDialog from './ui/lexical/components/InsertImageDialog.vue'; -import InsertOptionsDropdownList from './ui/lexical/components/InsertOptionsDropdownList.vue'; -import InsertTableDialog from './ui/lexical/components/InsertTableDialog.vue'; -import InsertVariableDialog from './ui/lexical/components/InsertVariableDialog.vue'; -import LabelButton from './ui/button/LabelButton.vue'; -import LexicalAutoFocusPlugin from './ui/lexical/plugins/LexicalAutoFocusPlugin.vue'; -import LexicalAutoLinkPlugin from './ui/lexical/plugins/LexicalAutoLinkPlugin.vue'; -import LexicalClickableLinkPlugin from './ui/lexical/plugins/LexicalClickableLinkPlugin.vue'; -import LexicalContentEditable from './ui/lexical/plugins/LexicalContentEditable.vue'; -import LexicalEditor from './ui/lexical/LexicalEditor.vue'; -import LexicalImagePlugin from './ui/lexical/plugins/LexicalImagePlugin.vue'; -import LexicalLinkPlugin from './ui/lexical/plugins/LexicalLinkPlugin.vue'; -import LexicalListPlugin from './ui/lexical/plugins/LexicalListPlugin.vue'; -import LexicalRichTextPlugin from './ui/lexical/plugins/LexicalRichTextPlugin.vue'; -import LexicalTablePlugin from './ui/lexical/plugins/LexicalTablePlugin.vue'; -import LexicalToolbarPlugin from './ui/lexical/plugins/LexicalToolbarPlugin.vue'; -import LexicalVariablePlugin from './ui/lexical/plugins/LexicalVariablePlugin.vue'; -import LinkTag from './ui/tag/LinkTag.vue'; -import LlmProviderForm from './core/ai/LlmProviderForm.vue'; -import LoadingText from './ui/loading/LoadingText.vue'; -import LogsView from './ui/logs/LogsView.vue'; -import MarkdownEditor from './ui/markdown/MarkdownEditor.vue'; -import MarkdownEditorToolbar from './ui/markdown/MarkdownEditorToolbar.vue'; -import MenuItemIcon from './ui/icon/MenuItemIcon.vue'; -import Metric from './ui/chart/Metric.vue'; -import MetricMonitoringDetail from './core/metric/MetricMonitoringDetail.vue'; -import NavActionBack from './ui/nav/NavActionBack.vue'; -import NavActionButton from './ui/nav/NavActionButton.vue'; -import NavActionFaIcon from './ui/nav/NavActionFaIcon.vue'; -import NavActionGroup from './ui/nav/NavActionGroup.vue'; -import NavActionGroupDetailCommon from './ui/nav/NavActionGroupDetailCommon.vue'; -import NavActionItem from './ui/nav/NavActionItem.vue'; -import NavActions from './ui/nav/NavActions.vue'; -import NavLink from './ui/nav/NavLink.vue'; -import NavSidebar from './ui/nav/NavSidebar.vue'; -import NavSidebarList from './ui/nav/NavSidebarList.vue'; -import NavSidebarTree from './ui/nav/NavSidebarTree.vue'; -import NavTabs from './ui/nav/NavTabs.vue'; -import NodeActive from './core/node/NodeActive.vue'; -import NodeForm from './core/node/NodeForm.vue'; -import NodeRunners from './core/node/NodeRunners.vue'; -import NodeStatus from './core/node/NodeStatus.vue'; -import NodeTag from './core/node/NodeTag.vue'; -import NodeType from './core/node/NodeType.vue'; -import NotificationAlertForm from './core/notification/alert/NotificationAlertForm.vue'; -import NotificationChannelForm from './core/notification/channel/NotificationChannelForm.vue'; -import NotificationRequestStatus from './core/notification/request/NotificationRequestStatus.vue'; -import NotificationSettingForm from './core/notification/setting/NotificationSettingForm.vue'; -import NotificationSettingTriggerSelect from './core/notification/setting/NotificationSettingTriggerSelect.vue'; -import Option from './ui/select/Option.vue'; -import ProjectForm from './core/project/ProjectForm.vue'; -import RangePicker from './ui/date/RangePicker.vue'; -import RemoteSelect from './ui/select/RemoteSelect.vue'; -import ResizeHandle from './ui/resize/ResizeHandle.vue'; -import ResultCell from './core/result/ResultCell.vue'; -import ResultCellDialog from './core/result/ResultCellDialog.vue'; -import ResultDedupFieldsDialog from './core/result/ResultDedupFieldsDialog.vue'; -import RoleForm from './core/role/RoleForm.vue'; -import RunScheduleDialog from './core/schedule/RunScheduleDialog.vue'; -import RunSpiderDialog from './core/spider/RunSpiderDialog.vue'; -import ScheduleCron from './core/schedule/ScheduleCron.vue'; -import ScheduleForm from './core/schedule/ScheduleForm.vue'; -import SpiderForm from './core/spider/SpiderForm.vue'; -import SpiderResultDataWithDatabase from './core/spider/SpiderResultDataWithDatabase.vue'; -import SpiderStat from './core/spider/SpiderStat.vue'; -import Switch from './ui/switch/Switch.vue'; -import Table from './ui/table/Table.vue'; -import TableActions from './ui/table/TableActions.vue'; -import TableCell from './ui/table/TableCell.vue'; -import TableColumnsTransfer from './ui/table/TableColumnsTransfer.vue'; -import TableEditCell from './ui/table/TableEditCell.vue'; -import TableHeader from './ui/table/TableHeader.vue'; -import TableHeaderAction from './ui/table/TableHeaderAction.vue'; -import TableHeaderDialog from './ui/table/TableHeaderDialog.vue'; -import TableHeaderDialogFilter from './ui/table/TableHeaderDialogFilter.vue'; -import TableHeaderDialogSort from './ui/table/TableHeaderDialogSort.vue'; -import Tag from './ui/tag/Tag.vue'; -import TaskCommand from './core/task/TaskCommand.vue'; -import TaskForm from './core/task/TaskForm.vue'; -import TaskMode from './core/task/TaskMode.vue'; -import TaskPriority from './core/task/TaskPriority.vue'; -import TaskResultDataWithDatabase from './core/task/TaskResultDataWithDatabase.vue'; -import TaskResults from './core/task/TaskResults.vue'; -import TaskStatus from './core/task/TaskStatus.vue'; -import Time from './ui/time/Time.vue'; -import Tip from './ui/tip/Tip.vue'; -import Transfer from './ui/transfer/Transfer.vue'; -import TransferPanel from './ui/transfer/TransferPanel.vue'; -import UploadFilesDialog from './ui/file/UploadFilesDialog.vue'; -import UploadGitFilesDialog from './core/git/UploadGitFilesDialog.vue'; -import UploadSpiderFilesDialog from './core/spider/UploadSpiderFilesDialog.vue'; -import useAssistantConsole from './core/ai/useAssistantConsole'; -import useAutoProbe from './core/autoprobe/useAutoProbe'; -import useCanShowPlaceholder from './ui/lexical/composables/useCanShowPlaceholder'; -import useDatabase from './core/database/useDatabase'; -import useDecorators from './ui/lexical/composables/useDecorators'; -import useEnvironment from './core/environment/useEnvironment'; -import useForm from './ui/form/useForm'; -import useGit from './core/git/useGit'; -import useLexicalEffect from './ui/lexical/composables/useLexicalEffect'; -import useLexicalList from './ui/lexical/composables/useLexicalList'; -import useLexicalMounted from './ui/lexical/composables/useLexicalMounted'; -import useNode from './core/node/useNode'; -import useNotificationAlert from './core/notification/alert/useNotificationAlert'; -import useNotificationChannel from './core/notification/channel/useNotificationChannel'; -import useNotificationSetting from './core/notification/setting/useNotificationSetting'; -import useProject from './core/project/useProject'; -import UserAvatar from './ui/avatar/UserAvatar.vue'; -import UserForm from './core/user/UserForm.vue'; -import useRichTextSetup from './ui/lexical/composables/useRichTextSetup'; -import useRole from './core/role/useRole'; -import UserRole from './core/user/UserRole.vue'; -import useSchedule from './core/schedule/useSchedule'; -import useSpider from './core/spider/useSpider'; -import useTask from './core/task/useTask'; -import useUser from './core/user/useUser'; -import useVariableSetup from './ui/lexical/composables/useVariableSetup'; -export { action as action, autoLink as autoLink, column as column, data as data, date as date, fileEditorDropZone as fileEditorDropZone, filter as filter, formTable as formTable, getSelectedNode as getSelectedNode, header as header, icon as icon, ImageNode as ImageNode, LexicalDecoratedTeleports as LexicalDecoratedTeleports, markdownTransformers as markdownTransformers, node as node, pagination as pagination, store as store, theme as theme, VariableNode as VariableNode, AssistantConsole as ClAssistantConsole, AtomMaterialIcon as ClAtomMaterialIcon, AutoProbeForm as ClAutoProbeForm, AutoProbeItemDetail as ClAutoProbeItemDetail, AutoProbePagePatternsSidebar as ClAutoProbePagePatternsSidebar, AutoProbePatternStats as ClAutoProbePatternStats, AutoProbeResultsContainer as ClAutoProbeResultsContainer, AutoProbeResultsPreview as ClAutoProbeResultsPreview, AutoProbeSelector as ClAutoProbeSelector, AutoProbeTaskStatus as ClAutoProbeTaskStatus, BlockOptionsDropdownList as ClBlockOptionsDropdownList, Box as ClBox, Button as ClButton, ButtonGroup as ClButtonGroup, Chart as ClChart, ChatConfigDialog as ClChatConfigDialog, ChatHistory as ClChatHistory, ChatInput as ClChatInput, ChatMessage as ClChatMessage, ChatMessageAction as ClChatMessageAction, ChatMessageList as ClChatMessageList, ChatSidebar as ClChatSidebar, CheckboxTree as ClCheckboxTree, CheckboxTreeGroup as ClCheckboxTreeGroup, CheckTag as ClCheckTag, CheckTagGroup as ClCheckTagGroup, ConfirmDialog as ClConfirmDialog, ContextMenu as ClContextMenu, ContextMenuList as ClContextMenuList, CreateEditAutoProbeDialog as ClCreateEditAutoProbeDialog, CreateEditDatabaseDialog as ClCreateEditDatabaseDialog, CreateEditDatabaseTableDialog as ClCreateEditDatabaseTableDialog, CreateEditDialog as ClCreateEditDialog, CreateEditEnvironmentDialog as ClCreateEditEnvironmentDialog, CreateEditGitDialog as ClCreateEditGitDialog, CreateEditNodeDialog as ClCreateEditNodeDialog, CreateEditNotificationAlertDialog as ClCreateEditNotificationAlertDialog, CreateEditNotificationChannelDialog as ClCreateEditNotificationChannelDialog, CreateEditNotificationSettingDialog as ClCreateEditNotificationSettingDialog, CreateEditProjectDialog as ClCreateEditProjectDialog, CreateEditRoleDialog as ClCreateEditRoleDialog, CreateEditScheduleDialog as ClCreateEditScheduleDialog, CreateEditSpiderDialog as ClCreateEditSpiderDialog, CreateEditUserDialog as ClCreateEditUserDialog, CreateGitBranchDialog as ClCreateGitBranchDialog, CreateGitSpiderDialog as ClCreateGitSpiderDialog, CreateTaskDialog as ClCreateTaskDialog, CurrentMetrics as ClCurrentMetrics, DatabaseDatabaseDetail as ClDatabaseDatabaseDetail, DatabaseDataSource as ClDatabaseDataSource, DatabaseForm as ClDatabaseForm, DatabaseNavTabs as ClDatabaseNavTabs, DatabaseSidebar as ClDatabaseSidebar, DatabaseStatus as ClDatabaseStatus, DatabaseTableDetail as ClDatabaseTableDetail, DatabaseTableDetailColumns as ClDatabaseTableDetailColumns, DatabaseTableDetailData as ClDatabaseTableDetailData, DatabaseTableDetailIndexes as ClDatabaseTableDetailIndexes, DateRangePicker as ClDateRangePicker, DateTimeRangePicker as ClDateTimeRangePicker, DependencyConfigDialog as ClDependencyConfigDialog, DependencyInstallDialog as ClDependencyInstallDialog, DependencyLogsDialog as ClDependencyLogsDialog, DependencySetupDialog as ClDependencySetupDialog, DependencyStatusTag as ClDependencyStatusTag, DependencyUninstallDialog as ClDependencyUninstallDialog, DependencyVersions as ClDependencyVersions, DetailTabList as ClDetailTabList, Dialog as ClDialog, DraggableItem as ClDraggableItem, DraggableList as ClDraggableList, DropdownButton as ClDropdownButton, Duration as ClDuration, EditInput as ClEditInput, EditorOptionsDropdownList as ClEditorOptionsDropdownList, EditTable as ClEditTable, EditTableActionCell as ClEditTableActionCell, Empty as ClEmpty, EnvironmentForm as ClEnvironmentForm, ExportButton as ClExportButton, ExportForm as ClExportForm, FaIconButton as ClFaIconButton, FileActions as ClFileActions, FileDiff as ClFileDiff, FileEditor as ClFileEditor, FileEditorCreateWithAiDialog as ClFileEditorCreateWithAiDialog, FileEditorNavMenu as ClFileEditorNavMenu, FileEditorNavMenuContextMenu as ClFileEditorNavMenuContextMenu, FileEditorNavTabs as ClFileEditorNavTabs, FileEditorNavTabsContextMenu as ClFileEditorNavTabsContextMenu, FileEditorNavTabsShowMoreContextMenu as ClFileEditorNavTabsShowMoreContextMenu, FileEditorSettingsDialog as ClFileEditorSettingsDialog, FileTab as ClFileTab, FileUpload as ClFileUpload, FilterCondition as ClFilterCondition, FilterConditionList as ClFilterConditionList, FilterInput as ClFilterInput, FilterSelect as ClFilterSelect, FloatLinkEditor as ClFloatLinkEditor, Form as ClForm, FormItem as ClFormItem, FormTableField as ClFormTableField, GitBranchSelect as ClGitBranchSelect, GitCloneLogsDialog as ClGitCloneLogsDialog, GitFileDiffDialog as ClGitFileDiffDialog, GitFileStatus as ClGitFileStatus, GitForm as ClGitForm, GitHubStarBadge as ClGitHubStarBadge, GitLogsBox as ClGitLogsBox, GitPath as ClGitPath, GitRepo as ClGitRepo, GitStatus as ClGitStatus, Icon as ClIcon, IconButton as ClIconButton, ImageComponent as ClImageComponent, ImgEmpty as ClImgEmpty, InputList as ClInputList, InputSelect as ClInputSelect, InsertImageDialog as ClInsertImageDialog, InsertOptionsDropdownList as ClInsertOptionsDropdownList, InsertTableDialog as ClInsertTableDialog, InsertVariableDialog as ClInsertVariableDialog, LabelButton as ClLabelButton, LexicalAutoFocusPlugin as ClLexicalAutoFocusPlugin, LexicalAutoLinkPlugin as ClLexicalAutoLinkPlugin, LexicalClickableLinkPlugin as ClLexicalClickableLinkPlugin, LexicalContentEditable as ClLexicalContentEditable, LexicalEditor as ClLexicalEditor, LexicalImagePlugin as ClLexicalImagePlugin, LexicalLinkPlugin as ClLexicalLinkPlugin, LexicalListPlugin as ClLexicalListPlugin, LexicalRichTextPlugin as ClLexicalRichTextPlugin, LexicalTablePlugin as ClLexicalTablePlugin, LexicalToolbarPlugin as ClLexicalToolbarPlugin, LexicalVariablePlugin as ClLexicalVariablePlugin, LinkTag as ClLinkTag, LlmProviderForm as ClLlmProviderForm, LoadingText as ClLoadingText, LogsView as ClLogsView, MarkdownEditor as ClMarkdownEditor, MarkdownEditorToolbar as ClMarkdownEditorToolbar, MenuItemIcon as ClMenuItemIcon, Metric as ClMetric, MetricMonitoringDetail as ClMetricMonitoringDetail, NavActionBack as ClNavActionBack, NavActionButton as ClNavActionButton, NavActionFaIcon as ClNavActionFaIcon, NavActionGroup as ClNavActionGroup, NavActionGroupDetailCommon as ClNavActionGroupDetailCommon, NavActionItem as ClNavActionItem, NavActions as ClNavActions, NavLink as ClNavLink, NavSidebar as ClNavSidebar, NavSidebarList as ClNavSidebarList, NavSidebarTree as ClNavSidebarTree, NavTabs as ClNavTabs, NodeActive as ClNodeActive, NodeForm as ClNodeForm, NodeRunners as ClNodeRunners, NodeStatus as ClNodeStatus, NodeTag as ClNodeTag, NodeType as ClNodeType, NotificationAlertForm as ClNotificationAlertForm, NotificationChannelForm as ClNotificationChannelForm, NotificationRequestStatus as ClNotificationRequestStatus, NotificationSettingForm as ClNotificationSettingForm, NotificationSettingTriggerSelect as ClNotificationSettingTriggerSelect, Option as ClOption, ProjectForm as ClProjectForm, RangePicker as ClRangePicker, RemoteSelect as ClRemoteSelect, ResizeHandle as ClResizeHandle, ResultCell as ClResultCell, ResultCellDialog as ClResultCellDialog, ResultDedupFieldsDialog as ClResultDedupFieldsDialog, RoleForm as ClRoleForm, RunScheduleDialog as ClRunScheduleDialog, RunSpiderDialog as ClRunSpiderDialog, ScheduleCron as ClScheduleCron, ScheduleForm as ClScheduleForm, SpiderForm as ClSpiderForm, SpiderResultDataWithDatabase as ClSpiderResultDataWithDatabase, SpiderStat as ClSpiderStat, Switch as ClSwitch, Table as ClTable, TableActions as ClTableActions, TableCell as ClTableCell, TableColumnsTransfer as ClTableColumnsTransfer, TableEditCell as ClTableEditCell, TableHeader as ClTableHeader, TableHeaderAction as ClTableHeaderAction, TableHeaderDialog as ClTableHeaderDialog, TableHeaderDialogFilter as ClTableHeaderDialogFilter, TableHeaderDialogSort as ClTableHeaderDialogSort, Tag as ClTag, TaskCommand as ClTaskCommand, TaskForm as ClTaskForm, TaskMode as ClTaskMode, TaskPriority as ClTaskPriority, TaskResultDataWithDatabase as ClTaskResultDataWithDatabase, TaskResults as ClTaskResults, TaskStatus as ClTaskStatus, Time as ClTime, Tip as ClTip, Transfer as ClTransfer, TransferPanel as ClTransferPanel, UploadFilesDialog as ClUploadFilesDialog, UploadGitFilesDialog as ClUploadGitFilesDialog, UploadSpiderFilesDialog as ClUploadSpiderFilesDialog, useAssistantConsole as useAssistantConsole, useAutoProbe as useAutoProbe, useCanShowPlaceholder as useCanShowPlaceholder, useDatabase as useDatabase, useDecorators as useDecorators, useEnvironment as useEnvironment, useForm as useForm, useGit as useGit, useLexicalEffect as useLexicalEffect, useLexicalList as useLexicalList, useLexicalMounted as useLexicalMounted, useNode as useNode, useNotificationAlert as useNotificationAlert, useNotificationChannel as useNotificationChannel, useNotificationSetting as useNotificationSetting, useProject as useProject, UserAvatar as ClUserAvatar, UserForm as ClUserForm, useRichTextSetup as useRichTextSetup, useRole as useRole, UserRole as ClUserRole, useSchedule as useSchedule, useSpider as useSpider, useTask as useTask, useUser as useUser, useVariableSetup as useVariableSetup, }; diff --git a/frontend/crawlab-ui/typings/components/ui/avatar/UserAvatar.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/avatar/UserAvatar.vue.d.ts deleted file mode 100644 index fe46f208..00000000 --- a/frontend/crawlab-ui/typings/components/ui/avatar/UserAvatar.vue.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -type __VLS_Props = { - icon?: Icon; - size?: BasicSize | number; - shape?: 'circle' | 'square'; - src?: string; - alt?: string; - fit?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down'; - color?: string; - user?: User; - tooltip?: string; -}; -type __VLS_Slots = { - default: any; -}; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: (event: MouseEvent) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: ((event: MouseEvent) => any) | undefined; -}>, { - size: BasicSize | number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/badge/GitHubStarBadge.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/badge/GitHubStarBadge.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/ui/badge/GitHubStarBadge.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/box/Box.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/box/Box.vue.d.ts deleted file mode 100644 index 5874205b..00000000 --- a/frontend/crawlab-ui/typings/components/ui/box/Box.vue.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -type __VLS_Props = { - visible?: boolean; - title?: string; - position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; - closable?: boolean; - type?: BasicType; - icon?: Icon; - loading?: boolean; - zIndex?: number; -}; -declare const cls: import("vue").ComputedRef; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_13: {}, __VLS_15: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - title?: (props: typeof __VLS_13) => any; -} & { - default?: (props: typeof __VLS_15) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - cls: typeof cls; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - close: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClose?: (() => any) | undefined; -}>, { - position: "top-right" | "top-left" | "bottom-right" | "bottom-left"; - closable: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - close: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClose?: (() => any) | undefined; -}>, { - position: "top-right" | "top-left" | "bottom-right" | "bottom-left"; - closable: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/button/Button.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/button/Button.vue.d.ts deleted file mode 100644 index cbd8bdc4..00000000 --- a/frontend/crawlab-ui/typings/components/ui/button/Button.vue.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { ButtonProps, ButtonEmits } from './types'; -declare const emit: ButtonEmits; -declare const cls: import("vue").ComputedRef; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_16: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_16) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent any; - mouseenter: (event: Event) => any; - mouseleave: (event: Event) => any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onClick?: ((event: Event) => any) | undefined; - onMouseenter?: ((event: Event) => any) | undefined; - onMouseleave?: ((event: Event) => any) | undefined; -}>, { - type: BasicType; - size: BasicSize; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent any; - mouseenter: (event: Event) => any; - mouseleave: (event: Event) => any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onClick?: ((event: Event) => any) | undefined; - onMouseenter?: ((event: Event) => any) | undefined; - onMouseleave?: ((event: Event) => any) | undefined; -}>, { - type: BasicType; - size: BasicSize; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/button/ButtonGroup.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/button/ButtonGroup.vue.d.ts deleted file mode 100644 index f0be33fe..00000000 --- a/frontend/crawlab-ui/typings/components/ui/button/ButtonGroup.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { ButtonGroupProps } from './types'; -declare const _default: import("vue").DefineComponent & Readonly<{}>, { - type: BasicType; - size: BasicSize; - dropdownTrigger: import("element-plus").TooltipTriggerType; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/button/ExportButton.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/button/ExportButton.vue.d.ts deleted file mode 100644 index bdff6c87..00000000 --- a/frontend/crawlab-ui/typings/components/ui/button/ExportButton.vue.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { FaIconButtonProps } from './types'; -type __VLS_Props = { - target: string | (() => string); - conditions?: FilterConditionData[] | (() => FilterConditionData[]); - dbId?: string; - buttonType?: 'fa-icon' | 'label'; - icon?: Icon; - label?: string; - tooltip?: string; -} & Omit; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - error: (error: Error) => any; - success: () => any; - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onError?: ((error: Error) => any) | undefined; - onSuccess?: (() => any) | undefined; - onClick?: (() => any) | undefined; -}>, { - icon: Icon; - buttonType: "fa-icon" | "label"; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/button/FaIconButton.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/button/FaIconButton.vue.d.ts deleted file mode 100644 index 4dfdfc7b..00000000 --- a/frontend/crawlab-ui/typings/components/ui/button/FaIconButton.vue.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { FaIconButtonProps } from './types'; -declare const _default: import("vue").DefineComponent any; - mouseenter: (event: Event) => any; - mouseleave: (event: Event) => any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onClick?: ((event: Event) => any) | undefined; - onMouseenter?: ((event: Event) => any) | undefined; - onMouseleave?: ((event: Event) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/button/IconButton.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/button/IconButton.vue.d.ts deleted file mode 100644 index ab9c67f6..00000000 --- a/frontend/crawlab-ui/typings/components/ui/button/IconButton.vue.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { IconButtonProps } from './types'; -declare const _default: import("vue").DefineComponent any; - mouseenter: (event: Event) => any; - mouseleave: (event: Event) => any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onClick?: ((event: Event) => any) | undefined; - onMouseenter?: ((event: Event) => any) | undefined; - onMouseleave?: ((event: Event) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/button/LabelButton.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/button/LabelButton.vue.d.ts deleted file mode 100644 index 9c2aefb6..00000000 --- a/frontend/crawlab-ui/typings/components/ui/button/LabelButton.vue.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { LabelButtonProps } from './types'; -declare const _default: import("vue").DefineComponent any; - mouseenter: (event: Event) => any; - mouseleave: (event: Event) => any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onClick?: ((event: Event) => any) | undefined; - onMouseenter?: ((event: Event) => any) | undefined; - onMouseleave?: ((event: Event) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/chart/Chart.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/chart/Chart.vue.d.ts deleted file mode 100644 index d58c588e..00000000 --- a/frontend/crawlab-ui/typings/components/ui/chart/Chart.vue.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { ChartData, ChartOptions, ChartTypeRegistry } from 'chart.js'; -type __VLS_Props = { - type: keyof ChartTypeRegistry; - data?: ChartData; - options?: ChartOptions; - height?: string | number; - width?: string | number; - minHeight?: string | number; - minWidth?: string | number; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - type: keyof ChartTypeRegistry; - height: string | number; - width: string | number; - minWidth: string | number; - minHeight: string | number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/chart/Metric.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/chart/Metric.vue.d.ts deleted file mode 100644 index 4738be17..00000000 --- a/frontend/crawlab-ui/typings/components/ui/chart/Metric.vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -type __VLS_Props = { - title?: string; - value?: number | string; - icon?: Icon; - color?: string; - clickable?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/chat/ChatConfigDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/chat/ChatConfigDialog.vue.d.ts deleted file mode 100644 index 0bcf9e9f..00000000 --- a/frontend/crawlab-ui/typings/components/ui/chat/ChatConfigDialog.vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -type __VLS_Props = { - visible: boolean; - providers?: LLMProvider[]; - currentConfig: ChatbotConfig; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - confirm: (config: ChatbotConfig) => any; - close: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onConfirm?: ((config: ChatbotConfig) => any) | undefined; - onClose?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/chat/ChatHistory.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/chat/ChatHistory.vue.d.ts deleted file mode 100644 index 5836d4d9..00000000 --- a/frontend/crawlab-ui/typings/components/ui/chat/ChatHistory.vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -type __VLS_Props = { - conversations: ChatConversation[]; - selectedConversationId: string; - isLoading: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - select: (conversationId: string) => any; - close: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onSelect?: ((conversationId: string) => any) | undefined; - onClose?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/chat/ChatInput.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/chat/ChatInput.vue.d.ts deleted file mode 100644 index b26a1aa7..00000000 --- a/frontend/crawlab-ui/typings/components/ui/chat/ChatInput.vue.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -type __VLS_Props = { - isLoading?: boolean; - providers?: LLMProvider[]; - selectedProviderModel?: LLMProviderModel; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - focus: () => void; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - cancel: () => any; - send: (message: string) => any; - "model-change": (value: LLMProviderModel) => any; - "add-model": () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onCancel?: (() => any) | undefined; - onSend?: ((message: string) => any) | undefined; - "onModel-change"?: ((value: LLMProviderModel) => any) | undefined; - "onAdd-model"?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/chat/ChatMessage.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/chat/ChatMessage.vue.d.ts deleted file mode 100644 index 59430049..00000000 --- a/frontend/crawlab-ui/typings/components/ui/chat/ChatMessage.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import 'highlight.js/styles/github.css'; -type __VLS_Props = { - message: ChatMessage; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/chat/ChatMessageAction.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/chat/ChatMessageAction.vue.d.ts deleted file mode 100644 index 6802c3d1..00000000 --- a/frontend/crawlab-ui/typings/components/ui/chat/ChatMessageAction.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -type __VLS_Props = { - action: string; - actionTarget?: string; - actionStatus: ChatMessageActionStatus; - parameters?: Record; - content?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/chat/ChatMessageList.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/chat/ChatMessageList.vue.d.ts deleted file mode 100644 index c3e6aea6..00000000 --- a/frontend/crawlab-ui/typings/components/ui/chat/ChatMessageList.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -type __VLS_Props = { - messages: ChatMessage[]; - isLoading: boolean; - error?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - scrollToBottom: import("lodash").DebouncedFunc<() => Promise>; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/chat/ChatSidebar.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/chat/ChatSidebar.vue.d.ts deleted file mode 100644 index 21959e29..00000000 --- a/frontend/crawlab-ui/typings/components/ui/chat/ChatSidebar.vue.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -type __VLS_Props = { - visible: boolean; - defaultWidth?: number; - minWidth?: number; - maxWidth?: number; - storageKey?: string; - storeKey?: string; -}; -declare const isResizing: import("vue").Ref; -declare const sidebarWidth: import("vue").Ref; -declare const onResizeStart: (e: MouseEvent) => void; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_1) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - isResizing: typeof isResizing; - sidebarWidth: typeof sidebarWidth; - onResizeStart: typeof onResizeStart; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - resize: (width: number) => any; - "resize-start": () => any; - "resize-end": () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onResize?: ((width: number) => any) | undefined; - "onResize-start"?: (() => any) | undefined; - "onResize-end"?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - resize: (width: number) => any; - "resize-start": () => any; - "resize-end": () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onResize?: ((width: number) => any) | undefined; - "onResize-start"?: (() => any) | undefined; - "onResize-end"?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/checkbox/CheckboxTree.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/checkbox/CheckboxTree.vue.d.ts deleted file mode 100644 index 48089d4c..00000000 --- a/frontend/crawlab-ui/typings/components/ui/checkbox/CheckboxTree.vue.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -type __VLS_Props = { - options: CheckboxTreeSelectOption[]; - disabled?: boolean; - checkedAll?: boolean; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue?: any[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, { - getCheckAllStatus: () => CheckboxStatus; - checkAll: (checked: boolean) => void; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: any[] | undefined) => any; -} & { - change: (value: any[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - onChange?: ((value: any[]) => any) | undefined; - "onUpdate:modelValue"?: ((value: any[] | undefined) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/checkbox/CheckboxTreeGroup.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/checkbox/CheckboxTreeGroup.vue.d.ts deleted file mode 100644 index 91a682ae..00000000 --- a/frontend/crawlab-ui/typings/components/ui/checkbox/CheckboxTreeGroup.vue.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -type __VLS_Props = { - option: CheckboxTreeSelectOption; - state: { - checked: boolean; - intermediate: boolean; - }; - disabled?: boolean; - checkedAll?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "update:state": (checked: boolean) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onUpdate:state"?: ((checked: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/context-menu/ContextMenu.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/context-menu/ContextMenu.vue.d.ts deleted file mode 100644 index 29b06d4f..00000000 --- a/frontend/crawlab-ui/typings/components/ui/context-menu/ContextMenu.vue.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { ContextMenuProps } from './types'; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_6: {}, __VLS_8: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_6) => any; -} & { - reference?: (props: typeof __VLS_8) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent & Readonly<{}>, { - placement: import("@popperjs/core").Placement; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, { - placement: import("@popperjs/core").Placement; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/context-menu/ContextMenuList.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/context-menu/ContextMenuList.vue.d.ts deleted file mode 100644 index e6f98a34..00000000 --- a/frontend/crawlab-ui/typings/components/ui/context-menu/ContextMenuList.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { ContextMenuListProps } from './types'; -declare const _default: import("vue").DefineComponent any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onHide?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/date/DateRangePicker.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/date/DateRangePicker.vue.d.ts deleted file mode 100644 index 683931c1..00000000 --- a/frontend/crawlab-ui/typings/components/ui/date/DateRangePicker.vue.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Dayjs } from 'dayjs'; -interface DateRange { - start: Dayjs; - end: Dayjs; -} -interface RangeItem { - key: RangeItemKey; - value?: DateRange; -} -interface RangeItemOption extends SelectOption { - value?: RangeItem; -} -type RangeItemKey = 'custom' | string; -type RangePickerType = 'daterange' | 'datetimerange'; -interface RangePickerProps { - className?: string; - type?: RangePickerType; - modelValue?: RangeItem; - options?: RangeItemOption[]; -} -declare const _default: import("vue").DefineComponent any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onChange?: ((value?: RangeItem | undefined) => any) | undefined; -}>, { - type: RangePickerType; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/date/DateTimeRangePicker.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/date/DateTimeRangePicker.vue.d.ts deleted file mode 100644 index 683931c1..00000000 --- a/frontend/crawlab-ui/typings/components/ui/date/DateTimeRangePicker.vue.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Dayjs } from 'dayjs'; -interface DateRange { - start: Dayjs; - end: Dayjs; -} -interface RangeItem { - key: RangeItemKey; - value?: DateRange; -} -interface RangeItemOption extends SelectOption { - value?: RangeItem; -} -type RangeItemKey = 'custom' | string; -type RangePickerType = 'daterange' | 'datetimerange'; -interface RangePickerProps { - className?: string; - type?: RangePickerType; - modelValue?: RangeItem; - options?: RangeItemOption[]; -} -declare const _default: import("vue").DefineComponent any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onChange?: ((value?: RangeItem | undefined) => any) | undefined; -}>, { - type: RangePickerType; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/date/RangePicker.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/date/RangePicker.vue.d.ts deleted file mode 100644 index 683931c1..00000000 --- a/frontend/crawlab-ui/typings/components/ui/date/RangePicker.vue.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Dayjs } from 'dayjs'; -interface DateRange { - start: Dayjs; - end: Dayjs; -} -interface RangeItem { - key: RangeItemKey; - value?: DateRange; -} -interface RangeItemOption extends SelectOption { - value?: RangeItem; -} -type RangeItemKey = 'custom' | string; -type RangePickerType = 'daterange' | 'datetimerange'; -interface RangePickerProps { - className?: string; - type?: RangePickerType; - modelValue?: RangeItem; - options?: RangeItemOption[]; -} -declare const _default: import("vue").DefineComponent any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onChange?: ((value?: RangeItem | undefined) => any) | undefined; -}>, { - type: RangePickerType; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/date/date.d.ts b/frontend/crawlab-ui/typings/components/ui/date/date.d.ts deleted file mode 100644 index d0ed54a2..00000000 --- a/frontend/crawlab-ui/typings/components/ui/date/date.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const getRangeItemOption: (label: string, key: RangeItemKey, value?: RangeItemValue) => RangeItemOption; diff --git a/frontend/crawlab-ui/typings/components/ui/dialog/ConfirmDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/dialog/ConfirmDialog.vue.d.ts deleted file mode 100644 index 7b3eb49a..00000000 --- a/frontend/crawlab-ui/typings/components/ui/dialog/ConfirmDialog.vue.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -type __VLS_Props = { - confirmFunc: () => Promise; - title: string; - content?: string; -}; -declare const visible: import("vue").Ref; -declare const confirmLoading: import("vue").Ref; -declare const onCancel: () => void; -declare const onConfirm: () => Promise; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_11: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_11) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - visible: typeof visible; - confirmLoading: typeof confirmLoading; - onCancel: typeof onCancel; - onConfirm: typeof onConfirm; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - cancel: () => any; - confirm: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onCancel?: (() => any) | undefined; - onConfirm?: (() => any) | undefined; -}>, { - confirmFunc: () => Promise; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - cancel: () => any; - confirm: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onCancel?: (() => any) | undefined; - onConfirm?: (() => any) | undefined; -}>, { - confirmFunc: () => Promise; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/dialog/CreateEditDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/dialog/CreateEditDialog.vue.d.ts deleted file mode 100644 index 6a29b079..00000000 --- a/frontend/crawlab-ui/typings/components/ui/dialog/CreateEditDialog.vue.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -type __VLS_Props = { - visible: boolean; - type: CreateEditDialogType; - width: string; - confirmDisabled: boolean; - confirmLoading: boolean; - actionFunctions?: CreateEditDialogActionFunctions; - title?: string; - formRules: FormRuleItem[]; -}; -declare const computedTitle: import("vue").ComputedRef; -declare const onClose: () => void; -declare const onConfirm: () => void; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_11: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_11) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - computedTitle: typeof computedTitle; - onClose: typeof onClose; - onConfirm: typeof onConfirm; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - type: CreateEditDialogType; - formRules: FormRuleItem[]; - visible: boolean; - width: string; - confirmLoading: boolean; - confirmDisabled: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - type: CreateEditDialogType; - formRules: FormRuleItem[]; - visible: boolean; - width: string; - confirmLoading: boolean; - confirmDisabled: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/dialog/Dialog.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/dialog/Dialog.vue.d.ts deleted file mode 100644 index 7181d5fb..00000000 --- a/frontend/crawlab-ui/typings/components/ui/dialog/Dialog.vue.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -type __VLS_Props = { - visible: boolean; - modalClass?: string; - title?: string; - titleIcon?: Icon; - top?: string; - width?: string; - zIndex?: number; - confirmDisabled?: boolean; - confirmLoading?: boolean; - confirmType?: BasicType; - confirmText?: string; - className?: string; - appendToBody?: boolean; -}; -declare const t: (path: string, number?: number | null, args?: Record) => string; -declare const onClose: () => void; -declare const onConfirm: () => void; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_6: {}, __VLS_8: {}, __VLS_14: {}, __VLS_32: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_6) => any; -} & { - title?: (props: typeof __VLS_8) => any; -} & { - prefix?: (props: typeof __VLS_14) => any; -} & { - suffix?: (props: typeof __VLS_32) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - t: typeof t; - onClose: typeof onClose; - onConfirm: typeof onConfirm; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - confirm: () => any; - close: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onConfirm?: (() => any) | undefined; - onClose?: (() => any) | undefined; -}>, { - top: string; - appendToBody: boolean; - confirmType: BasicType; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - confirm: () => any; - close: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onConfirm?: (() => any) | undefined; - onClose?: (() => any) | undefined; -}>, { - top: string; - appendToBody: boolean; - confirmType: BasicType; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/drag/DraggableItem.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/drag/DraggableItem.vue.d.ts deleted file mode 100644 index 244be814..00000000 --- a/frontend/crawlab-ui/typings/components/ui/drag/DraggableItem.vue.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -type __VLS_Props = { - item: DraggableItemData; - dragging?: boolean; -}; -type __VLS_Emit = { - (e: 'd-start', item: DraggableItemData): void; - (e: 'd-end', item: DraggableItemData): void; - (e: 'd-enter', item: DraggableItemData): void; - (e: 'd-leave', item: DraggableItemData): void; -}; -declare const emit: __VLS_Emit; -declare const classes: import("vue").ComputedRef; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: { - item: DraggableItemData; -}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_1) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - emit: typeof emit; - classes: typeof classes; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "d-start": (item: DraggableItemData) => any; - "d-end": (item: DraggableItemData) => any; - "d-enter": (item: DraggableItemData) => any; - "d-leave": (item: DraggableItemData) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onD-start"?: ((item: DraggableItemData) => any) | undefined; - "onD-end"?: ((item: DraggableItemData) => any) | undefined; - "onD-enter"?: ((item: DraggableItemData) => any) | undefined; - "onD-leave"?: ((item: DraggableItemData) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "d-start": (item: DraggableItemData) => any; - "d-end": (item: DraggableItemData) => any; - "d-enter": (item: DraggableItemData) => any; - "d-leave": (item: DraggableItemData) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onD-start"?: ((item: DraggableItemData) => any) | undefined; - "onD-end"?: ((item: DraggableItemData) => any) | undefined; - "onD-enter"?: ((item: DraggableItemData) => any) | undefined; - "onD-leave"?: ((item: DraggableItemData) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/drag/DraggableList.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/drag/DraggableList.vue.d.ts deleted file mode 100644 index 0501be23..00000000 --- a/frontend/crawlab-ui/typings/components/ui/drag/DraggableList.vue.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -type __VLS_Props = { - items: DraggableItemData[]; - itemKey: string; -}; -declare const orderedItems: import("vue").ComputedRef; -declare const onTabDragStart: (item: DraggableItemData) => void; -declare const onTabDragEnd: () => void; -declare const onTabDragEnter: (item: DraggableItemData) => void; -declare const onTabDragLeave: (item: DraggableItemData) => void; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_12: { - item: DraggableItemData; -}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_12) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - orderedItems: typeof orderedItems; - onTabDragStart: typeof onTabDragStart; - onTabDragEnd: typeof onTabDragEnd; - onTabDragEnter: typeof onTabDragEnter; - onTabDragLeave: typeof onTabDragLeave; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "d-end": (items: DraggableItemData[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onD-end"?: ((items: DraggableItemData[]) => any) | undefined; -}>, { - itemKey: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "d-end": (items: DraggableItemData[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onD-end"?: ((items: DraggableItemData[]) => any) | undefined; -}>, { - itemKey: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/editor/EditorOptionsDropdownList.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/editor/EditorOptionsDropdownList.vue.d.ts deleted file mode 100644 index 22185cac..00000000 --- a/frontend/crawlab-ui/typings/components/ui/editor/EditorOptionsDropdownList.vue.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -type __VLS_Props = { - visible?: boolean; - options: EditorOption[]; - toolbarRef: HTMLDivElement | null; - buttonRef: HTMLButtonElement | null; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - hide: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onHide?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/empty/Empty.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/empty/Empty.vue.d.ts deleted file mode 100644 index d227a67f..00000000 --- a/frontend/crawlab-ui/typings/components/ui/empty/Empty.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -type __VLS_Props = { - description?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - description: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/empty/ImgEmpty.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/empty/ImgEmpty.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/ui/empty/ImgEmpty.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/export/ExportForm.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/export/ExportForm.vue.d.ts deleted file mode 100644 index 0ba8bf1d..00000000 --- a/frontend/crawlab-ui/typings/components/ui/export/ExportForm.vue.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -type __VLS_Props = { - defaultType?: ExportType; - target?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "export-type-change": (value: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onExport-type-change"?: ((value: string) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/file/FileActions.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/FileActions.vue.d.ts deleted file mode 100644 index 60aa0cd3..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/FileActions.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -type __VLS_Props = { - ns: ListStoreNamespace; - activeId: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/file/FileDiff.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/FileDiff.vue.d.ts deleted file mode 100644 index 8409378a..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/FileDiff.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -type __VLS_Props = { - filePath?: string; - diff?: GitDiff; - readonly: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - readonly: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/file/FileEditor.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/FileEditor.vue.d.ts deleted file mode 100644 index 7dffcb88..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/FileEditor.vue.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -type __VLS_Props = { - ns: ListStoreNamespace; - content: string; - navItems: FileNavItem[]; - defaultTabs?: FileNavItem[]; - activeNavItem?: FileNavItem; - defaultExpandedKeys: string[]; - navMenuLoading?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - updateTabs: (item?: FileNavItem) => void; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: any; -} & { - [x: string]: any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - [x: `on${Capitalize}`]: ((...args: any) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/file/FileEditorCreateWithAiDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/FileEditorCreateWithAiDialog.vue.d.ts deleted file mode 100644 index 4a01d2c2..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/FileEditorCreateWithAiDialog.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - create: (fileName: string, sourceCode: string, item: any) => any; -}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{ - onCreate?: ((fileName: string, sourceCode: string, item: any) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavMenu.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavMenu.vue.d.ts deleted file mode 100644 index 3ab2c301..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavMenu.vue.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -type __VLS_Props = { - loading?: boolean; - navMenuCollapsed?: boolean; - activeItem?: FileNavItem; - items: FileNavItem[]; - defaultExpandAll: boolean; - defaultExpandedKeys: string[]; - styles?: FileEditorStyles; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: any; -} & { - [x: string]: any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - [x: `on${Capitalize}`]: ((...args: any) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavMenuContextMenu.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavMenuContextMenu.vue.d.ts deleted file mode 100644 index 0ec6a582..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavMenuContextMenu.vue.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import type { ContextMenuItem, ContextMenuProps } from '@/components/ui/context-menu/types'; -type __VLS_Emit = { - (e: 'hide'): void; - (e: 'new-file'): void; - (e: 'new-directory'): void; - (e: 'upload-files'): void; - (e: 'rename'): void; - (e: 'clone'): void; - (e: 'delete'): void; - (e: 'create-spider'): void; - (e: 'delete-spider'): void; -}; -declare const emit: __VLS_Emit; -declare const items: import("vue").ComputedRef; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_18: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_18) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent & Readonly<{ - [x: `on${Capitalize}`]: ((...args: any) => any) | undefined; -}>, { - placement: import("@popperjs/core").Placement; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent & Readonly<{ - [x: `on${Capitalize}`]: ((...args: any) => any) | undefined; -}>, { - placement: import("@popperjs/core").Placement; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavTabs.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavTabs.vue.d.ts deleted file mode 100644 index 5c1e4da7..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavTabs.vue.d.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { Close } from '@element-plus/icons-vue'; -type __VLS_Props = { - activeTab?: FileNavItem; - tabs?: FileNavItem[]; - styles?: FileEditorStyles; -}; -declare const navTabs: import("vue").Ref; -declare const contextMenuClicking: import("vue").Ref; -declare const tabs: import("vue").ComputedRef; -declare const getTitle: (item: FileNavItem) => string | undefined; -declare const onClick: (item: FileNavItem) => void; -declare const onClose: (item: FileNavItem) => void; -declare const onCloseOthers: (item: FileNavItem) => void; -declare const onCloseAll: () => void; -declare const onDragEnd: (items: FileNavItem[]) => void; -declare const onContextMenuShow: (item: FileNavItem) => void; -declare const onContextMenuHide: () => void; -declare const isShowContextMenu: (item: FileNavItem) => boolean; -declare const isActive: (item: FileNavItem) => boolean | undefined; -declare const getItemStyle: (item: FileNavItem) => { - backgroundColor: string | undefined; - color: string | undefined; -}; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - prefix?: (props: typeof __VLS_1) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - Close: typeof Close; - navTabs: typeof navTabs; - contextMenuClicking: typeof contextMenuClicking; - tabs: typeof tabs; - getTitle: typeof getTitle; - onClick: typeof onClick; - onClose: typeof onClose; - onCloseOthers: typeof onCloseOthers; - onCloseAll: typeof onCloseAll; - onDragEnd: typeof onDragEnd; - onContextMenuShow: typeof onContextMenuShow; - onContextMenuHide: typeof onContextMenuHide; - isShowContextMenu: typeof isShowContextMenu; - isActive: typeof isActive; - getItemStyle: typeof getItemStyle; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "tab-click": (item: FileNavItem) => any; - "tab-close": (item: FileNavItem) => any; - "tab-close-others": (item: FileNavItem) => any; - "tab-close-all": () => any; - "tab-dragend": (items: FileNavItem[]) => any; - "show-more": () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onTab-click"?: ((item: FileNavItem) => any) | undefined; - "onTab-close"?: ((item: FileNavItem) => any) | undefined; - "onTab-close-others"?: ((item: FileNavItem) => any) | undefined; - "onTab-close-all"?: (() => any) | undefined; - "onTab-dragend"?: ((items: FileNavItem[]) => any) | undefined; - "onShow-more"?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "tab-click": (item: FileNavItem) => any; - "tab-close": (item: FileNavItem) => any; - "tab-close-others": (item: FileNavItem) => any; - "tab-close-all": () => any; - "tab-dragend": (items: FileNavItem[]) => any; - "show-more": () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onTab-click"?: ((item: FileNavItem) => any) | undefined; - "onTab-close"?: ((item: FileNavItem) => any) | undefined; - "onTab-close-others"?: ((item: FileNavItem) => any) | undefined; - "onTab-close-all"?: (() => any) | undefined; - "onTab-dragend"?: ((items: FileNavItem[]) => any) | undefined; - "onShow-more"?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavTabsShowMoreContextMenu.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavTabsShowMoreContextMenu.vue.d.ts deleted file mode 100644 index 03596fe7..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/FileEditorNavTabsShowMoreContextMenu.vue.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import type { ContextMenuItem, ContextMenuProps } from '@/components/ui/context-menu/types'; -type __VLS_Props = ContextMenuProps & { - tabs?: FileNavItem[]; -}; -type __VLS_Emit = { - (e: 'hide'): void; - (e: 'tab-click', tab: FileNavItem): void; -}; -declare const emit: __VLS_Emit; -declare const items: import("vue").ComputedRef; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_18: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_18) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - emit: typeof emit; - items: typeof items; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - hide: () => any; - "tab-click": (tab: FileNavItem) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onHide?: (() => any) | undefined; - "onTab-click"?: ((tab: FileNavItem) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - hide: () => any; - "tab-click": (tab: FileNavItem) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onHide?: (() => any) | undefined; - "onTab-click"?: ((tab: FileNavItem) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/file/FileEditorSettingsDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/FileEditorSettingsDialog.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/FileEditorSettingsDialog.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/file/FileTab.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/FileTab.vue.d.ts deleted file mode 100644 index 238f3d41..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/FileTab.vue.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -type __VLS_Props = { - ns: ListStoreNamespace; - activeId: string; - content: string; - navItems: FileNavItem[]; - activeNavItem?: FileNavItem; - services: FileServices; - defaultFilePaths: string[]; - navMenuLoading?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "create-spider": (item: FileNavItem) => any; - "delete-spider": (item: FileNavItem) => any; - "file-change": (value: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onCreate-spider"?: ((item: FileNavItem) => any) | undefined; - "onDelete-spider"?: ((item: FileNavItem) => any) | undefined; - "onFile-change"?: ((value: string) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/file/FileUpload.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/FileUpload.vue.d.ts deleted file mode 100644 index 83d63c89..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/FileUpload.vue.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -type __VLS_Props = { - mode: FileUploadMode; - targetDirectory: string; - directoryOptions?: SelectOption[]; - uploadInfo?: FileUploadInfo; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "mode-change": (mode: any) => any; - "directory-change": (dir: string) => any; - "files-change": (files: (FileWithPath | undefined)[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onMode-change"?: ((mode: any) => any) | undefined; - "onDirectory-change"?: ((dir: string) => any) | undefined; - "onFiles-change"?: ((files: (FileWithPath | undefined)[]) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/file/UploadFilesDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/file/UploadFilesDialog.vue.d.ts deleted file mode 100644 index 1f9e682f..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/UploadFilesDialog.vue.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -type __VLS_Props = { - ns: ListStoreNamespace; - activeDialogKey?: DialogKey; - activeId: string; - form: BaseModel; - services: FileServices; - fileNavItems: FileNavItem[]; - defaultTargetDirectory?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/file/fileEditorDropZone.d.ts b/frontend/crawlab-ui/typings/components/ui/file/fileEditorDropZone.d.ts deleted file mode 100644 index bb45b37f..00000000 --- a/frontend/crawlab-ui/typings/components/ui/file/fileEditorDropZone.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare const useFileEditorDropZone: () => { - getRootProps: ({ onKeyDown, onFocus, onBlur, onClick, onDragEnter, onDragenter, onDragOver, onDragover, onDragLeave, onDragleave, onDrop, ...rest }?: { - [key: string]: any; - }) => { - tabIndex?: number | undefined; - onKeyDown: (() => void) | undefined; - onFocus: (() => void) | undefined; - onBlur: (() => void) | undefined; - onClick: (() => void) | undefined; - onDragenter: (() => void) | undefined; - onDragover: (() => void) | undefined; - onDragleave: (() => void) | undefined; - onDrop: (() => void) | undefined; - ref: import("vue").Ref; - }; - getInputProps: ({ onChange, onClick, ...rest }?: { - onChange?: (() => void) | undefined; - onClick?: (() => void) | undefined; - }) => { - accept: string; - multiple: boolean | undefined; - style: string; - type: string; - onChange: (() => void) | undefined; - onClick: (() => void) | undefined; - autoComplete: string; - tabIndex: number; - ref: import("vue").Ref; - }; - open: (() => void) | undefined; -}; -export default useFileEditorDropZone; diff --git a/frontend/crawlab-ui/typings/components/ui/filter/FilterCondition.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/filter/FilterCondition.vue.d.ts deleted file mode 100644 index a316fbda..00000000 --- a/frontend/crawlab-ui/typings/components/ui/filter/FilterCondition.vue.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -type __VLS_Props = { - condition?: FilterConditionData; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - delete: () => any; - change: (condition?: FilterConditionData | undefined) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onDelete?: (() => any) | undefined; - onChange?: ((condition?: FilterConditionData | undefined) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/filter/FilterConditionList.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/filter/FilterConditionList.vue.d.ts deleted file mode 100644 index ee49d5e9..00000000 --- a/frontend/crawlab-ui/typings/components/ui/filter/FilterConditionList.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -type __VLS_Props = { - conditions?: FilterConditionData[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - change: (conditions: FilterConditionData[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onChange?: ((conditions: FilterConditionData[]) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/filter/FilterInput.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/filter/FilterInput.vue.d.ts deleted file mode 100644 index e1b5f59e..00000000 --- a/frontend/crawlab-ui/typings/components/ui/filter/FilterInput.vue.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -type __VLS_Props = { - id?: string; - prefixIcon?: Icon; - label?: string; - placeholder?: string; - defaultValue?: any; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - clear: () => any; - change: (value: any) => any; - enter: (value: any) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClear?: (() => any) | undefined; - onChange?: ((value: any) => any) | undefined; - onEnter?: ((value: any) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/filter/FilterSelect.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/filter/FilterSelect.vue.d.ts deleted file mode 100644 index ccb9dc7b..00000000 --- a/frontend/crawlab-ui/typings/components/ui/filter/FilterSelect.vue.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -type __VLS_Props = { - id?: string; - label?: string; - placeholder?: string; - filterable?: boolean; - clearable?: boolean; - options?: SelectOption[]; - optionsRemote?: FilterSelectOptionsRemote; - noAllOption?: boolean; - defaultValue?: any; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - change: (value: any) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onChange?: ((value: any) => any) | undefined; -}>, { - clearable: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/filter/filter.d.ts b/frontend/crawlab-ui/typings/components/ui/filter/filter.d.ts deleted file mode 100644 index 39165a38..00000000 --- a/frontend/crawlab-ui/typings/components/ui/filter/filter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare const defaultFilterCondition: FilterConditionData; -export declare const getDefaultFilterCondition: () => FilterConditionData; -export declare const conditionTypesOptions: SelectOption[]; -export declare const conditionTypesMap: { - [key: string]: string; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/form/Form.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/form/Form.vue.d.ts deleted file mode 100644 index 03115994..00000000 --- a/frontend/crawlab-ui/typings/components/ui/form/Form.vue.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -type __VLS_Props = { - id?: string; - model?: FormModel; - inline?: boolean; - labelWidth?: string; - size?: string; - grid?: number; - rules?: FormRules; -}; -type __VLS_Emit = { - (e: 'validate'): void; -}; -declare const emit: __VLS_Emit; -declare const formRef: import("vue").Ref; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_11: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_11) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - emit: typeof emit; - formRef: typeof formRef; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - validate: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onValidate?: (() => any) | undefined; -}>, { - size: string; - grid: number; - inline: boolean; - labelWidth: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, { - validate: () => Promise; - resetFields: () => any; - clearValidate: () => any; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - validate: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onValidate?: (() => any) | undefined; -}>, { - size: string; - grid: number; - inline: boolean; - labelWidth: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/form/FormItem.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/form/FormItem.vue.d.ts deleted file mode 100644 index 523b4997..00000000 --- a/frontend/crawlab-ui/typings/components/ui/form/FormItem.vue.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { StyleValue } from 'vue'; -import { RuleItem } from 'async-validator'; -type __VLS_Props = { - prop?: string; - label?: string; - labelTooltip?: string; - labelWidth?: string; - size?: string; - required?: boolean; - span?: number; - offset?: number; - rules?: RuleItem | RuleItem[]; - notEditable?: boolean; - noLabel?: boolean; -}; -declare const formItem: import("vue").Ref; -declare const formContext: FormContext; -declare const isSelectiveForm: import("vue").ComputedRef; -declare const style: import("vue").ComputedRef; -declare const internalEditable: import("vue").Ref; -declare const editableTooltip: import("vue").ComputedRef; -declare const onEditableChange: (value: boolean) => void; -declare const isRequired: import("vue").ComputedRef; -declare const showRequiredAsterisk: import("vue").ComputedRef; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_21: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_21) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - formItem: typeof formItem; - formContext: typeof formContext; - isSelectiveForm: typeof isSelectiveForm; - style: typeof style; - internalEditable: typeof internalEditable; - editableTooltip: typeof editableTooltip; - onEditableChange: typeof onEditableChange; - isRequired: typeof isRequired; - showRequiredAsterisk: typeof showRequiredAsterisk; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - span: number; - offset: number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - span: number; - offset: number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/form/FormTableField.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/form/FormTableField.vue.d.ts deleted file mode 100644 index d3f12050..00000000 --- a/frontend/crawlab-ui/typings/components/ui/form/FormTableField.vue.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Ref } from 'vue'; -type __VLS_Props = { - form: any; - formRules?: FormRuleItem[]; - prop: string; - fieldType: FormFieldType; - options?: SelectOption[]; - required?: boolean; - placeholder?: string; - disabled?: boolean; - onChange?: (value: any) => void; - onRegister?: (formRef: Ref) => void; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - placeholder: string; - onChange: (value: any) => void; - onRegister: (formRef: Ref) => void; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/form/formTable.d.ts b/frontend/crawlab-ui/typings/components/ui/form/formTable.d.ts deleted file mode 100644 index e9ed05ba..00000000 --- a/frontend/crawlab-ui/typings/components/ui/form/formTable.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Store } from 'vuex'; -import { Ref } from 'vue'; -export declare const useFormTable: (ns: ListStoreNamespace, store: Store, data: FormComponentData) => { - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: Ref) => void; -}; -export default useFormTable; diff --git a/frontend/crawlab-ui/typings/components/ui/form/index.d.ts b/frontend/crawlab-ui/typings/components/ui/form/index.d.ts deleted file mode 100644 index 45d84816..00000000 --- a/frontend/crawlab-ui/typings/components/ui/form/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './useForm'; -export * from './formTable'; diff --git a/frontend/crawlab-ui/typings/components/ui/form/useForm.d.ts b/frontend/crawlab-ui/typings/components/ui/form/useForm.d.ts deleted file mode 100644 index ca6b0221..00000000 --- a/frontend/crawlab-ui/typings/components/ui/form/useForm.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Store } from 'vuex'; -export declare const useForm: (ns: ListStoreNamespace, store: Store, services: Services, data: FormComponentData) => { - getNewForm: DefaultFormFunc; - getNewFormList: () => any[]; - form: import("vue").ComputedRef; - formRef: import("vue").Ref; - isSelectiveForm: import("vue").ComputedRef; - selectedFormFields: import("vue").ComputedRef; - formList: import("vue").ComputedRef; - validateForm: () => Promise; - resetForm: () => void; - isFormItemDisabled: (prop: string) => boolean; - activeDialogKey: import("vue").ComputedRef; - createEditDialogVisible: import("vue").ComputedRef; - confirmDisabled: import("vue").ComputedRef; - confirmLoading: import("vue").ComputedRef; - setConfirmLoading: (value: boolean) => void; - actionFunctions: CreateEditDialogActionFunctions; - onAdd: (index: number) => void; - onClone: (index: number) => void; - onDelete: (index: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: import("vue").Ref) => void; -}; -export default useForm; diff --git a/frontend/crawlab-ui/typings/components/ui/icon/AtomMaterialIcon.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/icon/AtomMaterialIcon.vue.d.ts deleted file mode 100644 index 993ecf62..00000000 --- a/frontend/crawlab-ui/typings/components/ui/icon/AtomMaterialIcon.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -type __VLS_Props = { - name: string; - isDir?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/icon/Icon.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/icon/Icon.vue.d.ts deleted file mode 100644 index 4fd672b2..00000000 --- a/frontend/crawlab-ui/typings/components/ui/icon/Icon.vue.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -type __VLS_Props = { - icon: Icon; - spinning?: boolean; - size?: IconSize; - color?: string; - alt?: string; - class?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: (event: MouseEvent) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: ((event: MouseEvent) => any) | undefined; -}>, { - size: IconSize; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/icon/MenuItemIcon.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/icon/MenuItemIcon.vue.d.ts deleted file mode 100644 index 086867f0..00000000 --- a/frontend/crawlab-ui/typings/components/ui/icon/MenuItemIcon.vue.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -type __VLS_Props = { - item: MenuItem; - size: IconSize; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - size: IconSize; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/icon/icon.d.ts b/frontend/crawlab-ui/typings/components/ui/icon/icon.d.ts deleted file mode 100644 index 7cd6bf99..00000000 --- a/frontend/crawlab-ui/typings/components/ui/icon/icon.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -declare const useIcon: () => { - isFaIcon: (icon: Icon) => boolean; - isSvg: (icon: Icon) => boolean; - getFontSize: (size: IconSize) => string; -}; -export default useIcon; diff --git a/frontend/crawlab-ui/typings/components/ui/input/EditInput.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/input/EditInput.vue.d.ts deleted file mode 100644 index acdabd88..00000000 --- a/frontend/crawlab-ui/typings/components/ui/input/EditInput.vue.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { ElInput } from 'element-plus'; -import { ClIcon } from '@/components'; -type __VLS_Props = { - modelValue?: any; - initialEditState?: boolean; - required?: boolean; - placeholder?: string; - autoFocus?: boolean; - readonly?: boolean; - inputType?: string; - height?: number | string; - displayValue?: string; -}; -declare const t: (path: string, number?: number | null, args?: Record) => string; -declare const inputRef: import("vue").Ref; -declare const isEdit: import("vue").Ref; -declare const internalValue: import("vue").Ref; -declare const hasError: import("vue").ComputedRef; -declare const shouldShowEmptyPlaceholder: import("vue").ComputedRef; -declare const onEdit: () => void; -declare const onCheck: () => void; -declare const CellActions: () => JSX.Element; -declare const onEnterKeyDown: (event: Event | KeyboardEvent) => void; -declare const onBlur: () => void; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_1) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - ElInput: typeof ElInput; - ClIcon: typeof ClIcon; - t: typeof t; - inputRef: typeof inputRef; - isEdit: typeof isEdit; - internalValue: typeof internalValue; - hasError: typeof hasError; - shouldShowEmptyPlaceholder: typeof shouldShowEmptyPlaceholder; - onEdit: typeof onEdit; - onCheck: typeof onCheck; - CellActions: typeof CellActions; - onEnterKeyDown: typeof onEnterKeyDown; - onBlur: typeof onBlur; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - edit: (val: boolean) => any; - change: (val: any) => any; - "update:modelValue": (val: any) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onEdit?: ((val: boolean) => any) | undefined; - onChange?: ((val: any) => any) | undefined; - "onUpdate:modelValue"?: ((val: any) => any) | undefined; -}>, { - height: number | string; - autoFocus: boolean; - inputType: string; - initialEditState: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - edit: (val: boolean) => any; - change: (val: any) => any; - "update:modelValue": (val: any) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onEdit?: ((val: boolean) => any) | undefined; - onChange?: ((val: any) => any) | undefined; - "onUpdate:modelValue"?: ((val: any) => any) | undefined; -}>, { - height: number | string; - autoFocus: boolean; - inputType: string; - initialEditState: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/input/InputList.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/input/InputList.vue.d.ts deleted file mode 100644 index f513ed80..00000000 --- a/frontend/crawlab-ui/typings/components/ui/input/InputList.vue.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -type __VLS_Props = { - modelValue: string[]; - placeholder: string; - size: BasicSize; - actionSize: BasicSize; - disabled: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "update:model-value": (value: string[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onUpdate:model-value"?: ((value: string[]) => any) | undefined; -}>, { - placeholder: string; - size: BasicSize; - modelValue: string[]; - actionSize: BasicSize; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/LexicalEditor.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/LexicalEditor.vue.d.ts deleted file mode 100644 index e62c347a..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/LexicalEditor.vue.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import '@/components/ui/lexical/theme/default.css'; -type __VLS_Props = { - markdownContent?: string; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue: RichTextPayload; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: RichTextPayload) => any; -} & { - save: () => any; - "change-markdown": (value: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - onSave?: (() => any) | undefined; - "onChange-markdown"?: ((value: string) => any) | undefined; - "onUpdate:modelValue"?: ((value: RichTextPayload) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/components/BlockOptionsDropdownList.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/components/BlockOptionsDropdownList.vue.d.ts deleted file mode 100644 index 4c2bc586..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/components/BlockOptionsDropdownList.vue.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { LexicalEditor } from 'lexical'; -type __VLS_Props = { - visible?: boolean; - editor: LexicalEditor; - toolbarRef: HTMLDivElement | null; - buttonRef: HTMLButtonElement | null; - blockType: BlockType; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - hide: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onHide?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/components/DropdownButton.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/components/DropdownButton.vue.d.ts deleted file mode 100644 index 7ab73621..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/components/DropdownButton.vue.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -type __VLS_Props = { - options: SelectOption[]; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue?: any; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: any) => any; -} & { - select: (value: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - onSelect?: ((value: string) => any) | undefined; - "onUpdate:modelValue"?: ((value: any) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/components/FloatLinkEditor.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/components/FloatLinkEditor.vue.d.ts deleted file mode 100644 index d3013275..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/components/FloatLinkEditor.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { CommandListenerPriority, LexicalEditor } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; - priority: CommandListenerPriority; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/components/ImageComponent.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/components/ImageComponent.vue.d.ts deleted file mode 100644 index 98f403d7..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/components/ImageComponent.vue.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { LexicalEditor, NodeKey } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; - altText: string; - caption: LexicalEditor; - height: 'inherit' | number; - maxWidth: number; - nodeKey: NodeKey; - resizable: boolean; - showCaption: boolean; - src: string; - width: 'inherit' | number; - captionsEnabled: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertImageDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertImageDialog.vue.d.ts deleted file mode 100644 index 9fcf29a4..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertImageDialog.vue.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -type __VLS_Props = { - visible?: boolean; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue: ImageForm; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: ImageForm) => any; -} & { - confirm: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - onConfirm?: (() => any) | undefined; - "onUpdate:modelValue"?: ((value: ImageForm) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertOptionsDropdownList.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertOptionsDropdownList.vue.d.ts deleted file mode 100644 index 7e007ba0..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertOptionsDropdownList.vue.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { LexicalEditor } from 'lexical'; -type __VLS_Props = { - visible?: boolean; - editor: LexicalEditor; - toolbarRef: HTMLDivElement | null; - buttonRef: HTMLButtonElement | null; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - hide: () => any; - insertVariable: () => any; - insertTable: () => any; - insertImage: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onHide?: (() => any) | undefined; - onInsertVariable?: (() => any) | undefined; - onInsertTable?: (() => any) | undefined; - onInsertImage?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertTableDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertTableDialog.vue.d.ts deleted file mode 100644 index fd8c71cb..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertTableDialog.vue.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -type __VLS_Props = { - visible?: boolean; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue: TableForm; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: TableForm) => any; -} & { - confirm: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - onConfirm?: (() => any) | undefined; - "onUpdate:modelValue"?: ((value: TableForm) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertVariableDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertVariableDialog.vue.d.ts deleted file mode 100644 index 16a13841..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/components/InsertVariableDialog.vue.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -type __VLS_Props = { - visible?: boolean; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue: NotificationVariable | undefined; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: NotificationVariable | undefined) => any; -} & { - confirm: () => any; - close: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - onConfirm?: (() => any) | undefined; - onClose?: (() => any) | undefined; - "onUpdate:modelValue"?: ((value: NotificationVariable | undefined) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useCanShowPlaceholder.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/composables/useCanShowPlaceholder.d.ts deleted file mode 100644 index 0e2b43bb..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useCanShowPlaceholder.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { LexicalEditor } from 'lexical'; -declare const _default: (editor: LexicalEditor) => Readonly>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useDecorators.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/composables/useDecorators.d.ts deleted file mode 100644 index 223eaa10..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useDecorators.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { LexicalEditor } from 'lexical'; -declare const _default: (editor: LexicalEditor) => import("vue").ComputedRef[]>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useLexicalEffect.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/composables/useLexicalEffect.d.ts deleted file mode 100644 index fae33fa5..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useLexicalEffect.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { WatchOptionsBase } from 'vue'; -/** - * @internal - */ -export default function useLexicalEffect(cb: () => (() => any) | undefined, options?: WatchOptionsBase): void; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useLexicalList.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/composables/useLexicalList.d.ts deleted file mode 100644 index 8a196d52..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useLexicalList.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { LexicalEditor } from 'lexical'; -declare const _default: (editor: LexicalEditor) => void; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useLexicalMounted.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/composables/useLexicalMounted.d.ts deleted file mode 100644 index 3c49f75d..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useLexicalMounted.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * @internal - */ -declare const _default: (cb: Function) => void; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useRichTextSetup.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/composables/useRichTextSetup.d.ts deleted file mode 100644 index 8a196d52..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useRichTextSetup.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { LexicalEditor } from 'lexical'; -declare const _default: (editor: LexicalEditor) => void; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useVariableSetup.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/composables/useVariableSetup.d.ts deleted file mode 100644 index 38d4793f..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/composables/useVariableSetup.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { type LexicalEditor } from 'lexical'; -export declare const INSERT_VARIABLE_COMMAND: import("lexical").LexicalCommand; -export declare const UPDATE_VARIABLE_COMMAND: import("lexical").LexicalCommand; -export declare const getActiveVariableNodeKey: () => string | null; -declare const _default: (editor: LexicalEditor) => void; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/nodes/ImageNode.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/nodes/ImageNode.d.ts deleted file mode 100644 index 700e76fb..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/nodes/ImageNode.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { DOMConversionMap, DOMExportOutput, EditorConfig, LexicalCommand, LexicalEditor, LexicalNode, NodeKey, SerializedEditor, SerializedLexicalNode, Spread } from 'lexical'; -import { DecoratorNode } from 'lexical'; -export type SerializedImageNode = Spread<{ - altText: string; - caption: SerializedEditor; - height?: number; - maxWidth: number; - showCaption: boolean; - src: string; - width?: number; -}, SerializedLexicalNode>; -export declare class ImageNode extends DecoratorNode { - __editor: LexicalEditor; - __src: string; - __altText: string; - __width: 'inherit' | number; - __height: 'inherit' | number; - __maxWidth: number; - __showCaption: boolean; - __caption: LexicalEditor; - __captionsEnabled: boolean; - static getType(): string; - static clone(node: ImageNode): ImageNode; - static importJSON(serializedNode: SerializedImageNode): ImageNode; - exportDOM(): DOMExportOutput; - static importDOM(): DOMConversionMap | null; - constructor(editor: LexicalEditor, src: string, altText: string, maxWidth: number, width?: 'inherit' | number, height?: 'inherit' | number, showCaption?: boolean, caption?: LexicalEditor, captionsEnabled?: boolean, key?: NodeKey); - exportJSON(): SerializedImageNode; - setWidthAndHeight(width: 'inherit' | number, height: 'inherit' | number): void; - setShowCaption(showCaption: boolean): void; - createDOM(config: EditorConfig): HTMLElement; - updateDOM(): false; - getSrc(): string; - getAltText(): string; - decorate(): JSX.Element; -} -export declare function $createImageNode({ editor, altText, height, maxWidth, captionsEnabled, src, width, showCaption, caption, key, }: ImagePayload): ImageNode; -export declare function $isImageNode(node: LexicalNode | null | undefined): node is ImageNode; -export declare const RIGHT_CLICK_IMAGE_COMMAND: LexicalCommand; -export declare const INSERT_IMAGE_COMMAND: LexicalCommand; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/nodes/VariableNode.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/nodes/VariableNode.d.ts deleted file mode 100644 index f17af427..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/nodes/VariableNode.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { JSX } from 'vue/jsx-runtime'; -import { DecoratorNode, DOMExportOutput, EditorConfig, LexicalEditor, LexicalNode, SerializedLexicalNode, Spread, TextFormatType } from 'lexical'; -export type SerializedVariableNode = Spread<{ - key?: string; - category?: NotificationVariableCategory; - name: string; - __bold?: boolean; - __italic?: boolean; - __underline?: boolean; - __strikethrough?: boolean; - __selected?: boolean; -}, SerializedLexicalNode>; -export declare class VariableNode extends DecoratorNode { - readonly version = 1; - readonly category?: NotificationVariableCategory; - readonly name: string; - __bold: boolean; - __italic: boolean; - __underline: boolean; - __strikethrough: boolean; - __selected: boolean; - constructor({ key, category, name, __bold, __italic, __underline, __strikethrough, }: SerializedVariableNode); - static getType(): string; - static clone(node: VariableNode): VariableNode; - exportDOM(_: LexicalEditor): DOMExportOutput; - static importJSON(serializedNode: SerializedVariableNode): VariableNode; - exportJSON(): SerializedVariableNode; - onClick(editor: LexicalEditor): void; - createDOM(_: EditorConfig): HTMLElement; - updateDOM(): false; - decorate(editor: any): JSX.Element; - toggleFormat(formatType: TextFormatType): void; - getCategory(): string; - getName(): string; - getTextContent(): string; - toggle(key: any, value?: boolean): void; - toggleBold(): void; - toggleItalic(): void; - toggleUnderline(): void; - toggleStrikethrough(): void; - setSelected(value: boolean): void; -} -export declare function $createVariableNode(params: SerializedVariableNode): VariableNode; -export declare function $isVariableNode(node: LexicalNode | null | undefined): node is VariableNode; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalAutoFocusPlugin.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalAutoFocusPlugin.vue.d.ts deleted file mode 100644 index 1d8b52e9..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalAutoFocusPlugin.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { LexicalEditor } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; - defaultSelection?: 'rootStart' | 'rootEnd'; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalAutoLinkPlugin.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalAutoLinkPlugin.vue.d.ts deleted file mode 100644 index 8dcb7e07..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalAutoLinkPlugin.vue.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import type { LexicalEditor } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - change: (value: { - url: string | null; - prevUrl: string | null; - }) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onChange?: ((value: { - url: string | null; - prevUrl: string | null; - }) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalClickableLinkPlugin.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalClickableLinkPlugin.vue.d.ts deleted file mode 100644 index 0c89b731..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalClickableLinkPlugin.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { type LexicalEditor } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; - newTab?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - newTab: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalContentEditable.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalContentEditable.vue.d.ts deleted file mode 100644 index aa22606b..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalContentEditable.vue.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import type { LexicalEditor } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; - ariaActivedescendant?: string; - ariaAutocomplete?: 'none' | 'inline' | 'list' | 'both'; - ariaControls?: string; - ariaDescribedby?: string; - ariaExpanded?: boolean; - ariaLabel?: string; - ariaLabelledby?: string; - ariaMultiline?: boolean; - ariaOwns?: string; - ariaRequired?: boolean; - autoCapitalize?: boolean; - autoComplete?: boolean; - autoCorrect?: boolean; - id?: string; - editable?: boolean; - role?: string; - spellcheck?: boolean; - tabindex?: number; - enableGrammarly?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - role: string; - spellcheck: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalDecoratedTeleports.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalDecoratedTeleports.d.ts deleted file mode 100644 index 55b49154..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalDecoratedTeleports.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { PropType } from 'vue'; -import type { LexicalEditor } from 'lexical'; -declare const _default: import("vue").DefineComponent; - required: true; - }; -}>, () => import("vue").VNode[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; - required: true; - }; -}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalImagePlugin.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalImagePlugin.vue.d.ts deleted file mode 100644 index 8725bd34..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalImagePlugin.vue.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { type LexicalEditor } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; -}; -declare global { - interface DragEvent { - rangeOffset?: number; - rangeParent?: Node; - } -} -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalLinkPlugin.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalLinkPlugin.vue.d.ts deleted file mode 100644 index 6111f1a6..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalLinkPlugin.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { LexicalEditor } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; - validateUrl?: (url: string) => boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalListPlugin.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalListPlugin.vue.d.ts deleted file mode 100644 index c0cbbf3e..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalListPlugin.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LexicalEditor } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalRichTextPlugin.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalRichTextPlugin.vue.d.ts deleted file mode 100644 index 454a9555..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalRichTextPlugin.vue.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { LexicalEditor } from 'lexical'; -import Decorators from './LexicalDecoratedTeleports'; -type __VLS_Props = { - editor: LexicalEditor; -}; -declare const showPlaceholder: Readonly>; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}, __VLS_3: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - contentEditable?: (props: typeof __VLS_1) => any; -} & { - placeholder?: (props: typeof __VLS_3) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - Decorators: typeof Decorators; - showPlaceholder: typeof showPlaceholder; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalTablePlugin.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalTablePlugin.vue.d.ts deleted file mode 100644 index 15a304e1..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalTablePlugin.vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { type LexicalEditor } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; - hasCellMerge?: boolean; - hasCellBackgroundColor?: boolean; - hasTabHandler?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - hasCellMerge: boolean; - hasCellBackgroundColor: boolean; - hasTabHandler: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalToolbarPlugin.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalToolbarPlugin.vue.d.ts deleted file mode 100644 index ac8d6d86..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalToolbarPlugin.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { type LexicalEditor } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalVariablePlugin.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalVariablePlugin.vue.d.ts deleted file mode 100644 index ac8d6d86..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/plugins/LexicalVariablePlugin.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { type LexicalEditor } from 'lexical'; -type __VLS_Props = { - editor: LexicalEditor; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/utils/autoLink.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/utils/autoLink.d.ts deleted file mode 100644 index e31b9fa1..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/utils/autoLink.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { AutoLinkNode, LinkAttributes } from '@lexical/link'; -import { type ElementNode, type LexicalEditor, LexicalNode, TextNode } from 'lexical'; -import { MaybeRef } from 'vue'; -type ChangeHandler = (url: string | null, prevUrl: string | null) => void; -interface LinkMatcherResult { - attributes?: LinkAttributes; - index: number; - length: number; - text: string; - url: string; -} -type LinkMatcher = (text: string) => LinkMatcherResult | null; -export declare const EMAIL_MATCHER: RegExp; -export declare const matchers: ((text: string) => LinkMatcherResult)[]; -export declare function findFirstMatch(text: string, matchers: Array): LinkMatcherResult | null; -export declare const PUNCTUATION_OR_SPACE: RegExp; -export declare function isSeparator(char: string): boolean; -export declare function endsWithSeparator(textContent: string): boolean; -export declare function startsWithSeparator(textContent: string): boolean; -export declare function isPreviousNodeValid(node: LexicalNode): boolean; -export declare function isNextNodeValid(node: LexicalNode): boolean; -export declare function isContentAroundIsValid(matchStart: number, matchEnd: number, text: string, node: TextNode): boolean; -export declare function handleLinkCreation(node: TextNode, matchers: Array, onChange: ChangeHandler): void; -export declare function handleLinkEdit(linkNode: AutoLinkNode, matchers: Array, onChange: ChangeHandler): void; -export declare function handleBadNeighbors(textNode: TextNode, onChange: ChangeHandler): void; -export declare function replaceWithChildren(node: ElementNode): Array; -export declare function useAutoLink(editor: LexicalEditor, matchers: MaybeRef>, onChange?: ChangeHandler): void; -export {}; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/utils/getSelectedNode.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/utils/getSelectedNode.d.ts deleted file mode 100644 index 29bd5650..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/utils/getSelectedNode.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { RangeSelection } from 'lexical'; -declare const _default: (selection: RangeSelection) => import("lexical").ElementNode | import("lexical").TextNode; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/utils/markdownTransformers.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/utils/markdownTransformers.d.ts deleted file mode 100644 index c3616763..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/utils/markdownTransformers.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ElementTransformer, Transformer } from '@lexical/markdown'; -export declare const TABLE: ElementTransformer; -export declare const VARIABLE_TRANSFORMER: ElementTransformer; -export declare const MARKDOWN_TRANSFORMERS: Array; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/utils/node.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/utils/node.d.ts deleted file mode 100644 index 52c716be..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/utils/node.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { TextNode } from 'lexical'; -import type { ElementNode } from 'lexical'; -export declare const getAllNodes: (checkNodeFn: (node: T) => boolean) => T[]; -export declare const getAllTextNodes: () => TextNode[]; diff --git a/frontend/crawlab-ui/typings/components/ui/lexical/utils/theme.d.ts b/frontend/crawlab-ui/typings/components/ui/lexical/utils/theme.d.ts deleted file mode 100644 index 35d1af52..00000000 --- a/frontend/crawlab-ui/typings/components/ui/lexical/utils/theme.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EditorThemeClasses } from 'lexical'; -export declare const theme: EditorThemeClasses; diff --git a/frontend/crawlab-ui/typings/components/ui/list/DetailTabList.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/list/DetailTabList.vue.d.ts deleted file mode 100644 index 06dc407b..00000000 --- a/frontend/crawlab-ui/typings/components/ui/list/DetailTabList.vue.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -type __VLS_Props = { - filterKey: string; - ns: ListStoreNamespace; -}; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_1) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/loading/LoadingText.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/loading/LoadingText.vue.d.ts deleted file mode 100644 index 5081a894..00000000 --- a/frontend/crawlab-ui/typings/components/ui/loading/LoadingText.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -type __VLS_Props = { - text?: string; - interval?: number; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/logs/LogsView.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/logs/LogsView.vue.d.ts deleted file mode 100644 index 6ad2bbf8..00000000 --- a/frontend/crawlab-ui/typings/components/ui/logs/LogsView.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -type __VLS_Props = { - logs?: string[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - scrollToBottom: () => void; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/markdown/MarkdownEditor.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/markdown/MarkdownEditor.vue.d.ts deleted file mode 100644 index f0676c39..00000000 --- a/frontend/crawlab-ui/typings/components/ui/markdown/MarkdownEditor.vue.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -type __VLS_Props = { - id: string; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: string | undefined) => any; -} & { - save: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - onSave?: (() => any) | undefined; - "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/markdown/MarkdownEditorToolbar.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/markdown/MarkdownEditorToolbar.vue.d.ts deleted file mode 100644 index 5e5ed480..00000000 --- a/frontend/crawlab-ui/typings/components/ui/markdown/MarkdownEditorToolbar.vue.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import * as monaco from 'monaco-editor'; -type __VLS_Props = { - editor?: monaco.editor.IStandaloneCodeEditor; - content?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - bold: () => any; - link: () => any; - variable: (value: VariableForm) => any; - undo: () => any; - redo: () => any; - italic: () => any; - underline: () => any; - strikethrough: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onBold?: (() => any) | undefined; - onLink?: (() => any) | undefined; - onVariable?: ((value: VariableForm) => any) | undefined; - onUndo?: (() => any) | undefined; - onRedo?: (() => any) | undefined; - onItalic?: (() => any) | undefined; - onUnderline?: (() => any) | undefined; - onStrikethrough?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavActionBack.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavActionBack.vue.d.ts deleted file mode 100644 index a1886c8e..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavActionBack.vue.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { ButtonType } from '@/components/ui/button/types'; -export interface NavActionBackProps { - buttonType?: ButtonType; - label?: string; - tooltip?: string; - icon?: Icon; - type?: BasicType; - size?: BasicSize; - disabled?: boolean; -} -declare const _default: import("vue").DefineComponent any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onClick?: (() => any) | undefined; -}>, { - label: string; - disabled: boolean; - type: BasicType; - icon: Icon; - size: BasicSize; - buttonType: ButtonType; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavActionButton.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavActionButton.vue.d.ts deleted file mode 100644 index 134920fb..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavActionButton.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { ButtonType, ButtonProps } from '@/components/ui/button/types'; -type __VLS_Props = ButtonProps & { - buttonType: ButtonType; - label?: string; - icon?: Icon; - onClick?: () => void; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavActionFaIcon.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavActionFaIcon.vue.d.ts deleted file mode 100644 index 552518b2..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavActionFaIcon.vue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -type __VLS_Props = { - tooltip?: string; - icon: Icon; - color?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavActionGroup.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavActionGroup.vue.d.ts deleted file mode 100644 index 9383af11..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavActionGroup.vue.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -type __VLS_Props = { - className?: string; -}; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_1) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavActionGroupDetailCommon.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavActionGroupDetailCommon.vue.d.ts deleted file mode 100644 index b04380eb..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavActionGroupDetailCommon.vue.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -type __VLS_Props = { - disabled?: boolean; - showBackButton?: boolean; - showSaveButton?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - save: () => any; - back: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onSave?: (() => any) | undefined; - onBack?: (() => any) | undefined; -}>, { - disabled: boolean; - showBackButton: boolean; - showSaveButton: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavActionItem.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavActionItem.vue.d.ts deleted file mode 100644 index e9b29f72..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavActionItem.vue.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -type __VLS_Props = { - isLabel?: boolean; - label?: string; -}; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_1) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavActions.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavActions.vue.d.ts deleted file mode 100644 index e17e7570..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavActions.vue.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare const navActions: import("vue").Ref; -declare const classes: import("vue").ComputedRef; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_1) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<{}, { - navActions: typeof navActions; - classes: typeof classes; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavLink.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavLink.vue.d.ts deleted file mode 100644 index b76dd079..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavLink.vue.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -type __VLS_Props = { - path?: string; - label?: string | number | boolean; - icon?: Icon; - external?: boolean; - tooltip?: string; -}; -type __VLS_Slots = { - default: any; -}; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavSidebar.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavSidebar.vue.d.ts deleted file mode 100644 index 28d2fc5e..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavSidebar.vue.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -type __VLS_Props = { - type?: NavSidebarType; - collapsed?: boolean; - showActions?: boolean; - items?: NavItem[]; - activeKey?: string; - showCheckbox?: boolean; - defaultCheckedKeys?: string[]; - defaultExpandedKeys?: string[]; - defaultExpandAll?: boolean; - noSearch?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, { - scroll: (id: string) => void; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - select: (item: NavItem) => any; - check: (item: NavItem, checked: boolean, items: NavItem[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onSelect?: ((item: NavItem) => any) | undefined; - onCheck?: ((item: NavItem, checked: boolean, items: NavItem[]) => any) | undefined; -}>, { - type: NavSidebarType; - defaultExpandedKeys: string[]; - activeKey: string; - items: NavItem[]; - collapsed: boolean; - defaultExpandAll: boolean; - defaultCheckedKeys: string[]; - showCheckbox: boolean; - showActions: boolean; - noSearch: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavSidebarList.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavSidebarList.vue.d.ts deleted file mode 100644 index db5f645a..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavSidebarList.vue.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -type __VLS_Props = { - activeKey: string; - items: NavItem[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - select: (index: number) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onSelect?: ((index: number) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavSidebarTree.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavSidebarTree.vue.d.ts deleted file mode 100644 index f6d93e36..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavSidebarTree.vue.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -type __VLS_Props = { - activeKey: string; - items: NavItem[]; - showCheckbox: boolean; - defaultCheckedKeys: string[]; - defaultExpandedKeys: string[]; - defaultExpandAll: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - select: (item: NavItem) => any; - check: (item: NavItem, checked: boolean, checkedNodes: NavItem[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onSelect?: ((item: NavItem) => any) | undefined; - onCheck?: ((item: NavItem, checked: boolean, checkedNodes: NavItem[]) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/nav/NavTabs.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/nav/NavTabs.vue.d.ts deleted file mode 100644 index 463760cf..00000000 --- a/frontend/crawlab-ui/typings/components/ui/nav/NavTabs.vue.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { getIconByNavItem } from '@/utils'; -declare const t: (path: string, number?: number | null, args?: Record) => string; -type __VLS_Props = { - items?: NavItem[]; - activeKey?: string; -}; -declare const onSelect: (index: string) => void; -declare const getClassName: (item: NavItem) => string; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_25: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - extra?: (props: typeof __VLS_25) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - getIconByNavItem: typeof getIconByNavItem; - t: typeof t; - onSelect: typeof onSelect; - getClassName: typeof getClassName; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - select: (index: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onSelect?: ((index: string) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - select: (index: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onSelect?: ((index: string) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/resize/ResizeHandle.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/resize/ResizeHandle.vue.d.ts deleted file mode 100644 index 45b97654..00000000 --- a/frontend/crawlab-ui/typings/components/ui/resize/ResizeHandle.vue.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -type __VLS_Props = { - targetRef: HTMLElement; - sizeKey?: string; - direction?: 'horizontal' | 'vertical'; - position?: 'start' | 'end'; - width?: number; - minSize?: number; - maxSize?: number; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - "size-change": (size: number) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - "onSize-change"?: ((size: number) => any) | undefined; -}>, { - direction: "horizontal" | "vertical"; - minSize: number; - position: "start" | "end"; - width: number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/select/InputSelect.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/select/InputSelect.vue.d.ts deleted file mode 100644 index 739799d7..00000000 --- a/frontend/crawlab-ui/typings/components/ui/select/InputSelect.vue.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -type __VLS_Props = { - options?: SelectOption[]; - placeholder?: string; -}; -type __VLS_PublicProps = __VLS_Props & { - modelValue?: string[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: string[]) => any; -} & { - change: (value: string[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ - onChange?: ((value: string[]) => any) | undefined; - "onUpdate:modelValue"?: ((value: string[]) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/select/Option.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/select/Option.vue.d.ts deleted file mode 100644 index a73dfd9e..00000000 --- a/frontend/crawlab-ui/typings/components/ui/select/Option.vue.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -type __VLS_Props = { - label?: string; - value?: any; - icon?: Icon; -}; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_10: {}, __VLS_12: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_10) => any; -} & { - default?: (props: typeof __VLS_12) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/select/RemoteSelect.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/select/RemoteSelect.vue.d.ts deleted file mode 100644 index 877e0541..00000000 --- a/frontend/crawlab-ui/typings/components/ui/select/RemoteSelect.vue.d.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { Placement } from '@popperjs/core'; -type __VLS_Props = { - modelValue?: string; - placeholder?: string; - disabled?: boolean; - size?: BasicSize; - placement?: Placement; - filterable?: boolean; - clearable?: boolean; - remoteShowSuffix?: boolean; - endpoint: string; - labelKey?: string; - valueKey?: string; - limit?: number; - emptyOption?: SelectOption; -}; -type __VLS_Emit = { - (e: 'change', value: string): void; - (e: 'select', value: string): void; - (e: 'clear'): void; - (e: 'update:model-value', value: string): void; -}; -declare const emit: __VLS_Emit; -declare const internalValue: import("vue").Ref; -declare const remoteMethod: (query?: string) => Promise; -declare const selectOptions: import("vue").ComputedRef[]>; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_15: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - label?: (props: typeof __VLS_15) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - emit: typeof emit; - internalValue: typeof internalValue; - remoteMethod: typeof remoteMethod; - selectOptions: typeof selectOptions; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - select: (value: string) => any; - clear: () => any; - change: (value: string) => any; - "update:model-value": (value: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onSelect?: ((value: string) => any) | undefined; - onClear?: (() => any) | undefined; - onChange?: ((value: string) => any) | undefined; - "onUpdate:model-value"?: ((value: string) => any) | undefined; -}>, { - filterable: boolean; - remoteShowSuffix: boolean; - valueKey: string; - limit: number; - labelKey: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, { - getSelectedItem: () => any; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - select: (value: string) => any; - clear: () => any; - change: (value: string) => any; - "update:model-value": (value: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onSelect?: ((value: string) => any) | undefined; - onClear?: (() => any) | undefined; - onChange?: ((value: string) => any) | undefined; - "onUpdate:model-value"?: ((value: string) => any) | undefined; -}>, { - filterable: boolean; - remoteShowSuffix: boolean; - valueKey: string; - limit: number; - labelKey: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/switch/Switch.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/switch/Switch.vue.d.ts deleted file mode 100644 index 9204da16..00000000 --- a/frontend/crawlab-ui/typings/components/ui/switch/Switch.vue.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -type __VLS_Props = { - modelValue?: boolean; - disabled?: boolean; - activeColor?: string; - inactiveColor?: string; - activeIcon?: Icon; - inactiveIcon?: Icon; - activeText?: string; - inactiveText?: string; - width?: number; - loading?: boolean; - inlinePrompt?: boolean; - tooltip?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - change: (value: boolean) => any; - "update:model-value": (value: boolean) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onChange?: ((value: boolean) => any) | undefined; - "onUpdate:model-value"?: ((value: boolean) => any) | undefined; -}>, { - width: number; - activeColor: string; - inactiveColor: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/table/EditTable.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/EditTable.vue.d.ts deleted file mode 100644 index bd5fd3b2..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/EditTable.vue.d.ts +++ /dev/null @@ -1,480 +0,0 @@ -import { ColumnCls } from 'element-plus/es/components/table/src/table/defaults'; -import { CellCls, CellStyle, ColumnStyle } from 'element-plus'; -import { ClTable } from '@/components'; -type __VLS_Props = { - data: TableData; - columns: TableColumn[]; - selectedColumnKeys?: string[]; - total?: number; - page?: number; - pageSize?: number; - rowKey?: string | ((row: any) => string); - selectable?: boolean; - visibleButtons?: BuiltInTableActionButtonName[]; - hideFooter?: boolean; - selectableFunction?: TableSelectableFunction; - paginationLayout?: string; - loading?: boolean; - paginationPosition?: TablePaginationPosition; - height?: string | number; - maxHeight?: string | number; - embedded?: boolean; - border?: boolean; - fit?: boolean; - emptyText?: string; - rowClassName?: ColumnCls; - rowStyle?: ColumnStyle; - cellClassName?: CellCls; - cellStyle?: CellStyle; - headerRowClassName?: ColumnCls; - headerRowStyle?: ColumnStyle; - headerCellClassName?: CellCls; - headerCellStyle?: CellStyle; - addButtonLabel?: string; - hideDefaultActions?: boolean; -}; -type __VLS_Emit = { - (e: 'add'): void; - (e: 'pagination-change', data: TablePagination): void; - (e: 'selection-change', data: TableData): void; -}; -declare const emit: __VLS_Emit; -declare const t: (path: string, number?: number | null, args?: Record) => string; -declare const tableRef: import("vue").Ref<({ - new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins string); - selectable?: boolean; - visibleButtons?: BuiltInTableActionButtonName[]; - hideFooter?: boolean; - selectableFunction?: TableSelectableFunction; - height?: string | number; - maxHeight?: string | number; - embedded?: boolean; - border?: boolean; - fit?: boolean; - emptyText?: string; - rowClassName?: ColumnCls; - rowStyle?: ColumnStyle; - cellClassName?: CellCls; - cellStyle?: CellStyle; - headerRowClassName?: ColumnCls; - headerRowStyle?: ColumnStyle; - headerCellClassName?: CellCls; - headerCellStyle?: CellStyle; - stickyHeader?: boolean; - hideDefaultActions?: boolean; - }> & Readonly<{ - onEdit?: ((data: TableData) => any) | undefined; - onDelete?: ((data: TableData) => any) | undefined; - onExport?: ((data: TableData) => any) | undefined; - "onSelection-change"?: ((data: TableData) => any) | undefined; - "onPagination-change"?: ((data: TablePagination) => any) | undefined; - "onHeader-change"?: ((data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any) | undefined; - }>, { - clearSelection: () => void; - checkAll: () => void; - }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - edit: (data: TableData) => any; - delete: (data: TableData) => any; - export: (data: TableData) => any; - "selection-change": (data: TableData) => any; - "pagination-change": (data: TablePagination) => any; - "header-change": (data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any; - }, import("vue").PublicProps, { - data: TableData; - columns: TableColumn[]; - page: number; - rowKey: string | ((row: any) => string); - visibleButtons: BuiltInTableActionButtonName[]; - total: number; - pageSize: number; - paginationLayout: string; - selectedColumnKeys: string[]; - paginationPosition: TablePaginationPosition; - border: boolean; - stickyHeader: boolean; - }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly<{ - loading?: boolean; - data: TableData; - columns: TableColumn[]; - selectedColumnKeys?: string[]; - total?: number; - page?: number; - pageSize?: number; - pageSizes?: number[]; - paginationLayout?: string; - paginationPosition?: TablePaginationPosition; - rowKey?: string | ((row: any) => string); - selectable?: boolean; - visibleButtons?: BuiltInTableActionButtonName[]; - hideFooter?: boolean; - selectableFunction?: TableSelectableFunction; - height?: string | number; - maxHeight?: string | number; - embedded?: boolean; - border?: boolean; - fit?: boolean; - emptyText?: string; - rowClassName?: ColumnCls; - rowStyle?: ColumnStyle; - cellClassName?: CellCls; - cellStyle?: CellStyle; - headerRowClassName?: ColumnCls; - headerRowStyle?: ColumnStyle; - headerCellClassName?: CellCls; - headerCellStyle?: CellStyle; - stickyHeader?: boolean; - hideDefaultActions?: boolean; - }> & Readonly<{ - onEdit?: ((data: TableData) => any) | undefined; - onDelete?: ((data: TableData) => any) | undefined; - onExport?: ((data: TableData) => any) | undefined; - "onSelection-change"?: ((data: TableData) => any) | undefined; - "onPagination-change"?: ((data: TablePagination) => any) | undefined; - "onHeader-change"?: ((data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any) | undefined; - }>, { - clearSelection: () => void; - checkAll: () => void; - }, {}, {}, {}, { - data: TableData; - columns: TableColumn[]; - page: number; - rowKey: string | ((row: any) => string); - visibleButtons: BuiltInTableActionButtonName[]; - total: number; - pageSize: number; - paginationLayout: string; - selectedColumnKeys: string[]; - paginationPosition: TablePaginationPosition; - border: boolean; - stickyHeader: boolean; - }>; - __isFragment?: never; - __isTeleport?: never; - __isSuspense?: never; -} & import("vue").ComponentOptionsBase string); - selectable?: boolean; - visibleButtons?: BuiltInTableActionButtonName[]; - hideFooter?: boolean; - selectableFunction?: TableSelectableFunction; - height?: string | number; - maxHeight?: string | number; - embedded?: boolean; - border?: boolean; - fit?: boolean; - emptyText?: string; - rowClassName?: ColumnCls; - rowStyle?: ColumnStyle; - cellClassName?: CellCls; - cellStyle?: CellStyle; - headerRowClassName?: ColumnCls; - headerRowStyle?: ColumnStyle; - headerCellClassName?: CellCls; - headerCellStyle?: CellStyle; - stickyHeader?: boolean; - hideDefaultActions?: boolean; -}> & Readonly<{ - onEdit?: ((data: TableData) => any) | undefined; - onDelete?: ((data: TableData) => any) | undefined; - onExport?: ((data: TableData) => any) | undefined; - "onSelection-change"?: ((data: TableData) => any) | undefined; - "onPagination-change"?: ((data: TablePagination) => any) | undefined; - "onHeader-change"?: ((data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any) | undefined; -}>, { - clearSelection: () => void; - checkAll: () => void; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - edit: (data: TableData) => any; - delete: (data: TableData) => any; - export: (data: TableData) => any; - "selection-change": (data: TableData) => any; - "pagination-change": (data: TablePagination) => any; - "header-change": (data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any; -}, string, { - data: TableData; - columns: TableColumn[]; - page: number; - rowKey: string | ((row: any) => string); - visibleButtons: BuiltInTableActionButtonName[]; - total: number; - pageSize: number; - paginationLayout: string; - selectedColumnKeys: string[]; - paginationPosition: TablePaginationPosition; - border: boolean; - stickyHeader: boolean; -}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { - $slots: { - empty?: void | undefined; - 'actions-prefix'?: void | undefined; - 'actions-suffix'?: void | undefined; - }; -})) | null, ({ - new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins string); - selectable?: boolean; - visibleButtons?: BuiltInTableActionButtonName[]; - hideFooter?: boolean; - selectableFunction?: TableSelectableFunction; - height?: string | number; - maxHeight?: string | number; - embedded?: boolean; - border?: boolean; - fit?: boolean; - emptyText?: string; - rowClassName?: ColumnCls; - rowStyle?: ColumnStyle; - cellClassName?: CellCls; - cellStyle?: CellStyle; - headerRowClassName?: ColumnCls; - headerRowStyle?: ColumnStyle; - headerCellClassName?: CellCls; - headerCellStyle?: CellStyle; - stickyHeader?: boolean; - hideDefaultActions?: boolean; - }> & Readonly<{ - onEdit?: ((data: TableData) => any) | undefined; - onDelete?: ((data: TableData) => any) | undefined; - onExport?: ((data: TableData) => any) | undefined; - "onSelection-change"?: ((data: TableData) => any) | undefined; - "onPagination-change"?: ((data: TablePagination) => any) | undefined; - "onHeader-change"?: ((data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any) | undefined; - }>, { - clearSelection: () => void; - checkAll: () => void; - }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - edit: (data: TableData) => any; - delete: (data: TableData) => any; - export: (data: TableData) => any; - "selection-change": (data: TableData) => any; - "pagination-change": (data: TablePagination) => any; - "header-change": (data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any; - }, import("vue").PublicProps, { - data: TableData; - columns: TableColumn[]; - page: number; - rowKey: string | ((row: any) => string); - visibleButtons: BuiltInTableActionButtonName[]; - total: number; - pageSize: number; - paginationLayout: string; - selectedColumnKeys: string[]; - paginationPosition: TablePaginationPosition; - border: boolean; - stickyHeader: boolean; - }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly<{ - loading?: boolean; - data: TableData; - columns: TableColumn[]; - selectedColumnKeys?: string[]; - total?: number; - page?: number; - pageSize?: number; - pageSizes?: number[]; - paginationLayout?: string; - paginationPosition?: TablePaginationPosition; - rowKey?: string | ((row: any) => string); - selectable?: boolean; - visibleButtons?: BuiltInTableActionButtonName[]; - hideFooter?: boolean; - selectableFunction?: TableSelectableFunction; - height?: string | number; - maxHeight?: string | number; - embedded?: boolean; - border?: boolean; - fit?: boolean; - emptyText?: string; - rowClassName?: ColumnCls; - rowStyle?: ColumnStyle; - cellClassName?: CellCls; - cellStyle?: CellStyle; - headerRowClassName?: ColumnCls; - headerRowStyle?: ColumnStyle; - headerCellClassName?: CellCls; - headerCellStyle?: CellStyle; - stickyHeader?: boolean; - hideDefaultActions?: boolean; - }> & Readonly<{ - onEdit?: ((data: TableData) => any) | undefined; - onDelete?: ((data: TableData) => any) | undefined; - onExport?: ((data: TableData) => any) | undefined; - "onSelection-change"?: ((data: TableData) => any) | undefined; - "onPagination-change"?: ((data: TablePagination) => any) | undefined; - "onHeader-change"?: ((data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any) | undefined; - }>, { - clearSelection: () => void; - checkAll: () => void; - }, {}, {}, {}, { - data: TableData; - columns: TableColumn[]; - page: number; - rowKey: string | ((row: any) => string); - visibleButtons: BuiltInTableActionButtonName[]; - total: number; - pageSize: number; - paginationLayout: string; - selectedColumnKeys: string[]; - paginationPosition: TablePaginationPosition; - border: boolean; - stickyHeader: boolean; - }>; - __isFragment?: never; - __isTeleport?: never; - __isSuspense?: never; -} & import("vue").ComponentOptionsBase string); - selectable?: boolean; - visibleButtons?: BuiltInTableActionButtonName[]; - hideFooter?: boolean; - selectableFunction?: TableSelectableFunction; - height?: string | number; - maxHeight?: string | number; - embedded?: boolean; - border?: boolean; - fit?: boolean; - emptyText?: string; - rowClassName?: ColumnCls; - rowStyle?: ColumnStyle; - cellClassName?: CellCls; - cellStyle?: CellStyle; - headerRowClassName?: ColumnCls; - headerRowStyle?: ColumnStyle; - headerCellClassName?: CellCls; - headerCellStyle?: CellStyle; - stickyHeader?: boolean; - hideDefaultActions?: boolean; -}> & Readonly<{ - onEdit?: ((data: TableData) => any) | undefined; - onDelete?: ((data: TableData) => any) | undefined; - onExport?: ((data: TableData) => any) | undefined; - "onSelection-change"?: ((data: TableData) => any) | undefined; - "onPagination-change"?: ((data: TablePagination) => any) | undefined; - "onHeader-change"?: ((data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any) | undefined; -}>, { - clearSelection: () => void; - checkAll: () => void; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - edit: (data: TableData) => any; - delete: (data: TableData) => any; - export: (data: TableData) => any; - "selection-change": (data: TableData) => any; - "pagination-change": (data: TablePagination) => any; - "header-change": (data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any; -}, string, { - data: TableData; - columns: TableColumn[]; - page: number; - rowKey: string | ((row: any) => string); - visibleButtons: BuiltInTableActionButtonName[]; - total: number; - pageSize: number; - paginationLayout: string; - selectedColumnKeys: string[]; - paginationPosition: TablePaginationPosition; - border: boolean; - stickyHeader: boolean; -}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { - $slots: { - empty?: void | undefined; - 'actions-prefix'?: void | undefined; - 'actions-suffix'?: void | undefined; - }; -})) | null>; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_20: {}, __VLS_22: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - 'actions-prefix'?: (props: typeof __VLS_20) => any; -} & { - 'actions-suffix'?: (props: typeof __VLS_22) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - ClTable: typeof ClTable; - emit: typeof emit; - t: typeof t; - tableRef: typeof tableRef; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - add: () => any; - "selection-change": (data: TableData) => any; - "pagination-change": (data: TablePagination) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onAdd?: (() => any) | undefined; - "onSelection-change"?: ((data: TableData) => any) | undefined; - "onPagination-change"?: ((data: TablePagination) => any) | undefined; -}>, { - border: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, { - clearSelection: () => any; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - add: () => any; - "selection-change": (data: TableData) => any; - "pagination-change": (data: TablePagination) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onAdd?: (() => any) | undefined; - "onSelection-change"?: ((data: TableData) => any) | undefined; - "onPagination-change"?: ((data: TablePagination) => any) | undefined; -}>, { - border: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/table/EditTableActionCell.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/EditTableActionCell.vue.d.ts deleted file mode 100644 index 4a6656b4..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/EditTableActionCell.vue.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { TooltipTriggerType } from 'element-plus/es/components/tooltip/src/trigger'; -import type { Placement } from '@popperjs/core'; -type __VLS_Props = { - trigger?: TooltipTriggerType; - placement?: Placement; - deleted?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - delete: () => any; - revert: () => any; - "add-before": () => any; - "add-after": () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onDelete?: (() => any) | undefined; - onRevert?: (() => any) | undefined; - "onAdd-before"?: (() => any) | undefined; - "onAdd-after"?: (() => any) | undefined; -}>, { - trigger: TooltipTriggerType; - placement: Placement; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/table/Table.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/Table.vue.d.ts deleted file mode 100644 index c7bd2b37..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/Table.vue.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { CellCls, CellStyle, ColumnStyle } from 'element-plus'; -import { ColumnCls } from 'element-plus/es/components/table/src/table/defaults'; -type __VLS_Slots = { - empty?: void; - 'actions-prefix'?: void; - 'actions-suffix'?: void; -}; -type __VLS_Props = { - loading?: boolean; - data: TableData; - columns: TableColumn[]; - selectedColumnKeys?: string[]; - total?: number; - page?: number; - pageSize?: number; - pageSizes?: number[]; - paginationLayout?: string; - paginationPosition?: TablePaginationPosition; - rowKey?: string | ((row: any) => string); - selectable?: boolean; - visibleButtons?: BuiltInTableActionButtonName[]; - hideFooter?: boolean; - selectableFunction?: TableSelectableFunction; - height?: string | number; - maxHeight?: string | number; - embedded?: boolean; - border?: boolean; - fit?: boolean; - emptyText?: string; - rowClassName?: ColumnCls; - rowStyle?: ColumnStyle; - cellClassName?: CellCls; - cellStyle?: CellStyle; - headerRowClassName?: ColumnCls; - headerRowStyle?: ColumnStyle; - headerCellClassName?: CellCls; - headerCellStyle?: CellStyle; - stickyHeader?: boolean; - hideDefaultActions?: boolean; -}; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, { - clearSelection: () => void; - checkAll: () => void; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - edit: (data: TableData) => any; - delete: (data: TableData) => any; - export: (data: TableData) => any; - "selection-change": (data: TableData) => any; - "pagination-change": (data: TablePagination) => any; - "header-change": (data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onEdit?: ((data: TableData) => any) | undefined; - onDelete?: ((data: TableData) => any) | undefined; - onExport?: ((data: TableData) => any) | undefined; - "onSelection-change"?: ((data: TableData) => any) | undefined; - "onPagination-change"?: ((data: TablePagination) => any) | undefined; - "onHeader-change"?: ((data: TableColumn, sort: SortData, filter: FilterConditionData[]) => any) | undefined; -}>, { - data: TableData; - columns: TableColumn[]; - page: number; - rowKey: string | ((row: any) => string); - visibleButtons: BuiltInTableActionButtonName[]; - total: number; - pageSize: number; - paginationLayout: string; - selectedColumnKeys: string[]; - paginationPosition: TablePaginationPosition; - border: boolean; - stickyHeader: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/table/TableActions.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/TableActions.vue.d.ts deleted file mode 100644 index 076c96fe..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/TableActions.vue.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { ACTION_DELETE, ACTION_EDIT } from '@/constants/action'; -import { TABLE_ACTION_CUSTOMIZE_COLUMNS, TABLE_ACTION_EXPORT } from '@/constants/table'; -type __VLS_Props = { - selection: TableData; - visibleButtons: BuiltInTableActionButtonName[]; - hide?: boolean; -}; -declare const t: (path: string, number?: number | null, args?: Record) => string; -declare const onEdit: () => void; -declare const onDelete: () => Promise; -declare const onExport: () => void; -declare const onCustomizeColumns: () => void; -declare const showButton: (name: string) => boolean; -declare const target: () => string; -declare const conditions: () => FilterConditionData[]; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}, __VLS_35: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - prefix?: (props: typeof __VLS_1) => any; -} & { - suffix?: (props: typeof __VLS_35) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - ACTION_DELETE: typeof ACTION_DELETE; - ACTION_EDIT: typeof ACTION_EDIT; - TABLE_ACTION_CUSTOMIZE_COLUMNS: typeof TABLE_ACTION_CUSTOMIZE_COLUMNS; - TABLE_ACTION_EXPORT: typeof TABLE_ACTION_EXPORT; - t: typeof t; - onEdit: typeof onEdit; - onDelete: typeof onDelete; - onExport: typeof onExport; - onCustomizeColumns: typeof onCustomizeColumns; - showButton: typeof showButton; - target: typeof target; - conditions: typeof conditions; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - edit: () => any; - delete: () => any; - export: () => any; - "customize-columns": () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onEdit?: (() => any) | undefined; - onDelete?: (() => any) | undefined; - onExport?: (() => any) | undefined; - "onCustomize-columns"?: (() => any) | undefined; -}>, { - selection: TableData; - visibleButtons: BuiltInTableActionButtonName[]; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - edit: () => any; - delete: () => any; - export: () => any; - "customize-columns": () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onEdit?: (() => any) | undefined; - onDelete?: (() => any) | undefined; - onExport?: (() => any) | undefined; - "onCustomize-columns"?: (() => any) | undefined; -}>, { - selection: TableData; - visibleButtons: BuiltInTableActionButtonName[]; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/table/TableCell.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/TableCell.vue.d.ts deleted file mode 100644 index 773d832d..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/TableCell.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -type __VLS_Props = { - column: TableColumn; - row: Record; - rowIndex: number; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - rowIndex: number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/table/TableColumnsTransfer.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/TableColumnsTransfer.vue.d.ts deleted file mode 100644 index 2dd85c9f..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/TableColumnsTransfer.vue.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -type __VLS_Props = { - visible?: boolean; - columns?: TableColumn[]; - selectedColumnKeys?: string[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - sort: (value: string[]) => any; - confirm: (value: string[]) => any; - change: (value: string[]) => any; - close: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onSort?: ((value: string[]) => any) | undefined; - onConfirm?: ((value: string[]) => any) | undefined; - onChange?: ((value: string[]) => any) | undefined; - onClose?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/table/TableEditCell.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/TableEditCell.vue.d.ts deleted file mode 100644 index 8785c490..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/TableEditCell.vue.d.ts +++ /dev/null @@ -1,930 +0,0 @@ -import { ElInput, ElAutocomplete, type AutocompleteFetchSuggestions } from 'element-plus'; -import JsonEditorVue from 'json-editor-vue'; -import { ClIcon } from '@/components'; -type __VLS_Props = { - modelValue?: any; - isEdit?: boolean; - required?: boolean; - autocomplete?: boolean; - select?: boolean; - options?: SelectOption[]; - fetchSuggestions?: AutocompleteFetchSuggestions; - triggerOnFocus?: boolean; - autoFocus?: boolean; - automaticDropdown?: boolean; - dataType?: DatabaseDataType; - readonly?: boolean; -}; -declare const t: (path: string, number?: number | null, args?: Record) => string; -declare const inputRef: import("vue").Ref; - readonly size: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly disabled: BooleanConstructor; - readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>; - readonly maxlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly minlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly type: import("element-plus/es/utils").EpPropFinalized; - readonly resize: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>; - readonly autocomplete: import("element-plus/es/utils").EpPropFinalized; - readonly formatter: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly parser: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly placeholder: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly form: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly readonly: BooleanConstructor; - readonly clearable: BooleanConstructor; - readonly showPassword: BooleanConstructor; - readonly showWordLimit: BooleanConstructor; - readonly suffixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly prefixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly containerRole: import("element-plus/es/utils").EpPropFinalized; - readonly tabindex: import("element-plus/es/utils").EpPropFinalized; - readonly validateEvent: import("element-plus/es/utils").EpPropFinalized; - readonly inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>; - readonly autofocus: BooleanConstructor; - readonly rows: import("element-plus/es/utils").EpPropFinalized; - }>> & { - "onUpdate:modelValue"?: ((value: string) => any) | undefined; - onChange?: ((value: string) => any) | undefined; - onCompositionend?: ((evt: CompositionEvent) => any) | undefined; - onCompositionstart?: ((evt: CompositionEvent) => any) | undefined; - onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined; - onFocus?: ((evt: FocusEvent) => any) | undefined; - onBlur?: ((evt: FocusEvent) => any) | undefined; - onInput?: ((value: string) => any) | undefined; - onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined; - onMouseenter?: ((evt: MouseEvent) => any) | undefined; - onMouseleave?: ((evt: MouseEvent) => any) | undefined; - onClear?: (() => any) | undefined; - }, { - input: import("vue").ShallowRef; - textarea: import("vue").ShallowRef; - ref: import("vue").ComputedRef; - textareaStyle: import("vue").ComputedRef; - autosize: import("vue").Ref; - isComposing: import("vue").Ref; - focus: () => void | undefined; - blur: () => void | undefined; - select: () => void; - clear: () => void; - resizeTextarea: () => void; - }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - input: (value: string) => void; - clear: () => void; - "update:modelValue": (value: string) => void; - change: (value: string) => void; - blur: (evt: FocusEvent) => void; - compositionend: (evt: CompositionEvent) => void; - compositionstart: (evt: CompositionEvent) => void; - compositionupdate: (evt: CompositionEvent) => void; - focus: (evt: FocusEvent) => void; - keydown: (evt: Event | KeyboardEvent) => void; - mouseenter: (evt: MouseEvent) => void; - mouseleave: (evt: MouseEvent) => void; - }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, { - readonly disabled: boolean; - readonly id: string; - readonly type: string; - readonly modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>; - readonly tabindex: import("element-plus/es/utils").EpPropMergeType; - readonly readonly: boolean; - readonly autosize: import("element-plus").InputAutoSize; - readonly autocomplete: string; - readonly containerRole: string; - readonly validateEvent: import("element-plus/es/utils").EpPropMergeType; - readonly inputStyle: import("vue").StyleValue; - readonly rows: number; - readonly clearable: boolean; - readonly showPassword: boolean; - readonly showWordLimit: boolean; - readonly autofocus: boolean; - }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly; - readonly size: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly disabled: BooleanConstructor; - readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>; - readonly maxlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly minlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly type: import("element-plus/es/utils").EpPropFinalized; - readonly resize: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>; - readonly autocomplete: import("element-plus/es/utils").EpPropFinalized; - readonly formatter: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly parser: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly placeholder: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly form: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly readonly: BooleanConstructor; - readonly clearable: BooleanConstructor; - readonly showPassword: BooleanConstructor; - readonly showWordLimit: BooleanConstructor; - readonly suffixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly prefixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly containerRole: import("element-plus/es/utils").EpPropFinalized; - readonly tabindex: import("element-plus/es/utils").EpPropFinalized; - readonly validateEvent: import("element-plus/es/utils").EpPropFinalized; - readonly inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>; - readonly autofocus: BooleanConstructor; - readonly rows: import("element-plus/es/utils").EpPropFinalized; - }>> & { - "onUpdate:modelValue"?: ((value: string) => any) | undefined; - onChange?: ((value: string) => any) | undefined; - onCompositionend?: ((evt: CompositionEvent) => any) | undefined; - onCompositionstart?: ((evt: CompositionEvent) => any) | undefined; - onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined; - onFocus?: ((evt: FocusEvent) => any) | undefined; - onBlur?: ((evt: FocusEvent) => any) | undefined; - onInput?: ((value: string) => any) | undefined; - onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined; - onMouseenter?: ((evt: MouseEvent) => any) | undefined; - onMouseleave?: ((evt: MouseEvent) => any) | undefined; - onClear?: (() => any) | undefined; - }, { - input: import("vue").ShallowRef; - textarea: import("vue").ShallowRef; - ref: import("vue").ComputedRef; - textareaStyle: import("vue").ComputedRef; - autosize: import("vue").Ref; - isComposing: import("vue").Ref; - focus: () => void | undefined; - blur: () => void | undefined; - select: () => void; - clear: () => void; - resizeTextarea: () => void; - }, {}, {}, {}, { - readonly disabled: boolean; - readonly id: string; - readonly type: string; - readonly modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>; - readonly tabindex: import("element-plus/es/utils").EpPropMergeType; - readonly readonly: boolean; - readonly autosize: import("element-plus").InputAutoSize; - readonly autocomplete: string; - readonly containerRole: string; - readonly validateEvent: import("element-plus/es/utils").EpPropMergeType; - readonly inputStyle: import("vue").StyleValue; - readonly rows: number; - readonly clearable: boolean; - readonly showPassword: boolean; - readonly showWordLimit: boolean; - readonly autofocus: boolean; - }>; - __isFragment?: never; - __isTeleport?: never; - __isSuspense?: never; -} & import("vue").ComponentOptionsBase; - readonly size: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly disabled: BooleanConstructor; - readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>; - readonly maxlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly minlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly type: import("element-plus/es/utils").EpPropFinalized; - readonly resize: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>; - readonly autocomplete: import("element-plus/es/utils").EpPropFinalized; - readonly formatter: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly parser: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly placeholder: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly form: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly readonly: BooleanConstructor; - readonly clearable: BooleanConstructor; - readonly showPassword: BooleanConstructor; - readonly showWordLimit: BooleanConstructor; - readonly suffixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly prefixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly containerRole: import("element-plus/es/utils").EpPropFinalized; - readonly tabindex: import("element-plus/es/utils").EpPropFinalized; - readonly validateEvent: import("element-plus/es/utils").EpPropFinalized; - readonly inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>; - readonly autofocus: BooleanConstructor; - readonly rows: import("element-plus/es/utils").EpPropFinalized; -}>> & { - "onUpdate:modelValue"?: ((value: string) => any) | undefined; - onChange?: ((value: string) => any) | undefined; - onCompositionend?: ((evt: CompositionEvent) => any) | undefined; - onCompositionstart?: ((evt: CompositionEvent) => any) | undefined; - onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined; - onFocus?: ((evt: FocusEvent) => any) | undefined; - onBlur?: ((evt: FocusEvent) => any) | undefined; - onInput?: ((value: string) => any) | undefined; - onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined; - onMouseenter?: ((evt: MouseEvent) => any) | undefined; - onMouseleave?: ((evt: MouseEvent) => any) | undefined; - onClear?: (() => any) | undefined; -}, { - input: import("vue").ShallowRef; - textarea: import("vue").ShallowRef; - ref: import("vue").ComputedRef; - textareaStyle: import("vue").ComputedRef; - autosize: import("vue").Ref; - isComposing: import("vue").Ref; - focus: () => void | undefined; - blur: () => void | undefined; - select: () => void; - clear: () => void; - resizeTextarea: () => void; -}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - input: (value: string) => void; - clear: () => void; - "update:modelValue": (value: string) => void; - change: (value: string) => void; - blur: (evt: FocusEvent) => void; - compositionend: (evt: CompositionEvent) => void; - compositionstart: (evt: CompositionEvent) => void; - compositionupdate: (evt: CompositionEvent) => void; - focus: (evt: FocusEvent) => void; - keydown: (evt: Event | KeyboardEvent) => void; - mouseenter: (evt: MouseEvent) => void; - mouseleave: (evt: MouseEvent) => void; -}, string, { - readonly disabled: boolean; - readonly id: string; - readonly type: string; - readonly modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>; - readonly tabindex: import("element-plus/es/utils").EpPropMergeType; - readonly readonly: boolean; - readonly autosize: import("element-plus").InputAutoSize; - readonly autocomplete: string; - readonly containerRole: string; - readonly validateEvent: import("element-plus/es/utils").EpPropMergeType; - readonly inputStyle: import("vue").StyleValue; - readonly rows: number; - readonly clearable: boolean; - readonly showPassword: boolean; - readonly showWordLimit: boolean; - readonly autofocus: boolean; -}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { - $slots: { - prepend?(_: {}): any; - prefix?(_: {}): any; - suffix?(_: {}): any; - append?(_: {}): any; - }; -})> | null, import("element-plus/es/utils").SFCWithInstall<{ - new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins; - readonly size: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly disabled: BooleanConstructor; - readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>; - readonly maxlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly minlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly type: import("element-plus/es/utils").EpPropFinalized; - readonly resize: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>; - readonly autocomplete: import("element-plus/es/utils").EpPropFinalized; - readonly formatter: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly parser: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly placeholder: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly form: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly readonly: BooleanConstructor; - readonly clearable: BooleanConstructor; - readonly showPassword: BooleanConstructor; - readonly showWordLimit: BooleanConstructor; - readonly suffixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly prefixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly containerRole: import("element-plus/es/utils").EpPropFinalized; - readonly tabindex: import("element-plus/es/utils").EpPropFinalized; - readonly validateEvent: import("element-plus/es/utils").EpPropFinalized; - readonly inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>; - readonly autofocus: BooleanConstructor; - readonly rows: import("element-plus/es/utils").EpPropFinalized; - }>> & { - "onUpdate:modelValue"?: ((value: string) => any) | undefined; - onChange?: ((value: string) => any) | undefined; - onCompositionend?: ((evt: CompositionEvent) => any) | undefined; - onCompositionstart?: ((evt: CompositionEvent) => any) | undefined; - onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined; - onFocus?: ((evt: FocusEvent) => any) | undefined; - onBlur?: ((evt: FocusEvent) => any) | undefined; - onInput?: ((value: string) => any) | undefined; - onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined; - onMouseenter?: ((evt: MouseEvent) => any) | undefined; - onMouseleave?: ((evt: MouseEvent) => any) | undefined; - onClear?: (() => any) | undefined; - }, { - input: import("vue").ShallowRef; - textarea: import("vue").ShallowRef; - ref: import("vue").ComputedRef; - textareaStyle: import("vue").ComputedRef; - autosize: import("vue").Ref; - isComposing: import("vue").Ref; - focus: () => void | undefined; - blur: () => void | undefined; - select: () => void; - clear: () => void; - resizeTextarea: () => void; - }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - input: (value: string) => void; - clear: () => void; - "update:modelValue": (value: string) => void; - change: (value: string) => void; - blur: (evt: FocusEvent) => void; - compositionend: (evt: CompositionEvent) => void; - compositionstart: (evt: CompositionEvent) => void; - compositionupdate: (evt: CompositionEvent) => void; - focus: (evt: FocusEvent) => void; - keydown: (evt: Event | KeyboardEvent) => void; - mouseenter: (evt: MouseEvent) => void; - mouseleave: (evt: MouseEvent) => void; - }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, { - readonly disabled: boolean; - readonly id: string; - readonly type: string; - readonly modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>; - readonly tabindex: import("element-plus/es/utils").EpPropMergeType; - readonly readonly: boolean; - readonly autosize: import("element-plus").InputAutoSize; - readonly autocomplete: string; - readonly containerRole: string; - readonly validateEvent: import("element-plus/es/utils").EpPropMergeType; - readonly inputStyle: import("vue").StyleValue; - readonly rows: number; - readonly clearable: boolean; - readonly showPassword: boolean; - readonly showWordLimit: boolean; - readonly autofocus: boolean; - }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly; - readonly size: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly disabled: BooleanConstructor; - readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>; - readonly maxlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly minlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly type: import("element-plus/es/utils").EpPropFinalized; - readonly resize: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>; - readonly autocomplete: import("element-plus/es/utils").EpPropFinalized; - readonly formatter: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly parser: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly placeholder: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly form: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly readonly: BooleanConstructor; - readonly clearable: BooleanConstructor; - readonly showPassword: BooleanConstructor; - readonly showWordLimit: BooleanConstructor; - readonly suffixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly prefixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly containerRole: import("element-plus/es/utils").EpPropFinalized; - readonly tabindex: import("element-plus/es/utils").EpPropFinalized; - readonly validateEvent: import("element-plus/es/utils").EpPropFinalized; - readonly inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>; - readonly autofocus: BooleanConstructor; - readonly rows: import("element-plus/es/utils").EpPropFinalized; - }>> & { - "onUpdate:modelValue"?: ((value: string) => any) | undefined; - onChange?: ((value: string) => any) | undefined; - onCompositionend?: ((evt: CompositionEvent) => any) | undefined; - onCompositionstart?: ((evt: CompositionEvent) => any) | undefined; - onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined; - onFocus?: ((evt: FocusEvent) => any) | undefined; - onBlur?: ((evt: FocusEvent) => any) | undefined; - onInput?: ((value: string) => any) | undefined; - onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined; - onMouseenter?: ((evt: MouseEvent) => any) | undefined; - onMouseleave?: ((evt: MouseEvent) => any) | undefined; - onClear?: (() => any) | undefined; - }, { - input: import("vue").ShallowRef; - textarea: import("vue").ShallowRef; - ref: import("vue").ComputedRef; - textareaStyle: import("vue").ComputedRef; - autosize: import("vue").Ref; - isComposing: import("vue").Ref; - focus: () => void | undefined; - blur: () => void | undefined; - select: () => void; - clear: () => void; - resizeTextarea: () => void; - }, {}, {}, {}, { - readonly disabled: boolean; - readonly id: string; - readonly type: string; - readonly modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>; - readonly tabindex: import("element-plus/es/utils").EpPropMergeType; - readonly readonly: boolean; - readonly autosize: import("element-plus").InputAutoSize; - readonly autocomplete: string; - readonly containerRole: string; - readonly validateEvent: import("element-plus/es/utils").EpPropMergeType; - readonly inputStyle: import("vue").StyleValue; - readonly rows: number; - readonly clearable: boolean; - readonly showPassword: boolean; - readonly showWordLimit: boolean; - readonly autofocus: boolean; - }>; - __isFragment?: never; - __isTeleport?: never; - __isSuspense?: never; -} & import("vue").ComponentOptionsBase; - readonly size: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly disabled: BooleanConstructor; - readonly modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>; - readonly maxlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly minlength: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly type: import("element-plus/es/utils").EpPropFinalized; - readonly resize: { - readonly type: import("vue").PropType>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly autosize: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize) | ((new (...args: any[]) => boolean | { - minRows?: number; - maxRows?: number; - }) | (() => import("element-plus").InputAutoSize))[], unknown, unknown, false, boolean>; - readonly autocomplete: import("element-plus/es/utils").EpPropFinalized; - readonly formatter: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly parser: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly placeholder: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly form: { - readonly type: import("vue").PropType; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly readonly: BooleanConstructor; - readonly clearable: BooleanConstructor; - readonly showPassword: BooleanConstructor; - readonly showWordLimit: BooleanConstructor; - readonly suffixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly prefixIcon: { - readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; - readonly required: false; - readonly validator: ((val: unknown) => boolean) | undefined; - __epPropKey: true; - }; - readonly containerRole: import("element-plus/es/utils").EpPropFinalized; - readonly tabindex: import("element-plus/es/utils").EpPropFinalized; - readonly validateEvent: import("element-plus/es/utils").EpPropFinalized; - readonly inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>; - readonly autofocus: BooleanConstructor; - readonly rows: import("element-plus/es/utils").EpPropFinalized; -}>> & { - "onUpdate:modelValue"?: ((value: string) => any) | undefined; - onChange?: ((value: string) => any) | undefined; - onCompositionend?: ((evt: CompositionEvent) => any) | undefined; - onCompositionstart?: ((evt: CompositionEvent) => any) | undefined; - onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined; - onFocus?: ((evt: FocusEvent) => any) | undefined; - onBlur?: ((evt: FocusEvent) => any) | undefined; - onInput?: ((value: string) => any) | undefined; - onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined; - onMouseenter?: ((evt: MouseEvent) => any) | undefined; - onMouseleave?: ((evt: MouseEvent) => any) | undefined; - onClear?: (() => any) | undefined; -}, { - input: import("vue").ShallowRef; - textarea: import("vue").ShallowRef; - ref: import("vue").ComputedRef; - textareaStyle: import("vue").ComputedRef; - autosize: import("vue").Ref; - isComposing: import("vue").Ref; - focus: () => void | undefined; - blur: () => void | undefined; - select: () => void; - clear: () => void; - resizeTextarea: () => void; -}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - input: (value: string) => void; - clear: () => void; - "update:modelValue": (value: string) => void; - change: (value: string) => void; - blur: (evt: FocusEvent) => void; - compositionend: (evt: CompositionEvent) => void; - compositionstart: (evt: CompositionEvent) => void; - compositionupdate: (evt: CompositionEvent) => void; - focus: (evt: FocusEvent) => void; - keydown: (evt: Event | KeyboardEvent) => void; - mouseenter: (evt: MouseEvent) => void; - mouseleave: (evt: MouseEvent) => void; -}, string, { - readonly disabled: boolean; - readonly id: string; - readonly type: string; - readonly modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>; - readonly tabindex: import("element-plus/es/utils").EpPropMergeType; - readonly readonly: boolean; - readonly autosize: import("element-plus").InputAutoSize; - readonly autocomplete: string; - readonly containerRole: string; - readonly validateEvent: import("element-plus/es/utils").EpPropMergeType; - readonly inputStyle: import("vue").StyleValue; - readonly rows: number; - readonly clearable: boolean; - readonly showPassword: boolean; - readonly showWordLimit: boolean; - readonly autofocus: boolean; -}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { - $slots: { - prepend?(_: {}): any; - prefix?(_: {}): any; - suffix?(_: {}): any; - append?(_: {}): any; - }; -})> | null>; -declare const internalValue: import("vue").Ref; -declare const hasError: import("vue").ComputedRef; -declare const onEdit: () => void; -declare const onCheck: () => void; -declare const onSelect: (item: SelectOption) => void; -declare const onCancel: () => void; -declare const CellActions: () => JSX.Element; -declare const labelValue: import("vue").ComputedRef; -declare const isJson: import("vue").ComputedRef; -declare const dialogVisible: import("vue").Ref; -declare const onView: () => void; -declare const onHide: () => void; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_1) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - ElInput: typeof ElInput; - ElAutocomplete: typeof ElAutocomplete; - JsonEditorVue: typeof JsonEditorVue; - ClIcon: typeof ClIcon; - t: typeof t; - inputRef: typeof inputRef; - internalValue: typeof internalValue; - hasError: typeof hasError; - onEdit: typeof onEdit; - onCheck: typeof onCheck; - onSelect: typeof onSelect; - onCancel: typeof onCancel; - CellActions: typeof CellActions; - labelValue: typeof labelValue; - isJson: typeof isJson; - dialogVisible: typeof dialogVisible; - onView: typeof onView; - onHide: typeof onHide; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - edit: (val: boolean) => any; - change: (val: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onEdit?: ((val: boolean) => any) | undefined; - onChange?: ((val: string) => any) | undefined; -}>, { - triggerOnFocus: boolean; - autoFocus: boolean; - automaticDropdown: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - edit: (val: boolean) => any; - change: (val: string) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onEdit?: ((val: boolean) => any) | undefined; - onChange?: ((val: string) => any) | undefined; -}>, { - triggerOnFocus: boolean; - autoFocus: boolean; - automaticDropdown: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/table/TableHeader.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/TableHeader.vue.d.ts deleted file mode 100644 index ce68b6bf..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/TableHeader.vue.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -type __VLS_Props = { - column: TableColumn; - index?: number; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - change: (column: TableColumn, sort?: SortData | undefined, filter?: TableHeaderDialogFilterData | undefined) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onChange?: ((column: TableColumn, sort?: SortData | undefined, filter?: TableHeaderDialogFilterData | undefined) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/table/TableHeaderAction.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/TableHeaderAction.vue.d.ts deleted file mode 100644 index 14f0d374..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/TableHeaderAction.vue.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -type __VLS_Props = { - tooltip?: string | Record; - isHtml?: boolean; - icon?: string | string[]; - status?: TableHeaderActionStatus; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: (() => any) | undefined; -}>, { - status: TableHeaderActionStatus; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/table/TableHeaderDialog.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/TableHeaderDialog.vue.d.ts deleted file mode 100644 index ee59f181..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/TableHeaderDialog.vue.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { ClickOutside as vClickOutside } from 'element-plus'; -type __VLS_Props = { - visible?: boolean; - column: TableColumn; - actionStatusMap: TableHeaderActionStatusMap; - sort?: SortData; - filter?: TableHeaderDialogFilterData; -}; -declare const t: (path: string, number?: number | null, args?: Record) => string; -declare const internalSort: import("vue").Ref; -declare const searchString: import("vue").ComputedRef; -declare const conditions: import("vue").ComputedRef; -declare const isApplyDisabled: import("vue").ComputedRef; -declare const onClickOutside: () => void; -declare const onCancel: () => void; -declare const onClear: () => void; -declare const onApply: () => void; -declare const onSortChange: (value: string) => void; -declare const onFilterChange: (value: TableHeaderDialogFilterData) => void; -declare const onFilterEnter: () => void; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_6: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - reference?: (props: typeof __VLS_6) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - vClickOutside: typeof vClickOutside; - t: typeof t; - internalSort: typeof internalSort; - searchString: typeof searchString; - conditions: typeof conditions; - isApplyDisabled: typeof isApplyDisabled; - onClickOutside: typeof onClickOutside; - onCancel: typeof onCancel; - onClear: typeof onClear; - onApply: typeof onApply; - onSortChange: typeof onSortChange; - onFilterChange: typeof onFilterChange; - onFilterEnter: typeof onFilterEnter; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - cancel: () => any; - clear: () => any; - apply: (value: TableHeaderDialogValue) => any; - click: (value: TableHeaderDialogValue) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onCancel?: (() => any) | undefined; - onClear?: (() => any) | undefined; - onApply?: ((value: TableHeaderDialogValue) => any) | undefined; - onClick?: ((value: TableHeaderDialogValue) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - cancel: () => any; - clear: () => any; - apply: (value: TableHeaderDialogValue) => any; - click: (value: TableHeaderDialogValue) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onCancel?: (() => any) | undefined; - onClear?: (() => any) | undefined; - onApply?: ((value: TableHeaderDialogValue) => any) | undefined; - onClick?: ((value: TableHeaderDialogValue) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/table/TableHeaderDialogFilter.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/TableHeaderDialogFilter.vue.d.ts deleted file mode 100644 index a9272d2c..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/TableHeaderDialogFilter.vue.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -type __VLS_Props = { - column?: TableColumn; - searchString?: string; - conditions: FilterConditionData[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - clear: () => any; - change: (value: TableHeaderDialogFilterData) => any; - enter: () => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClear?: (() => any) | undefined; - onChange?: ((value: TableHeaderDialogFilterData) => any) | undefined; - onEnter?: (() => any) | undefined; -}>, { - conditions: FilterConditionData[]; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/table/TableHeaderDialogSort.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/table/TableHeaderDialogSort.vue.d.ts deleted file mode 100644 index 50ecb4f3..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/TableHeaderDialogSort.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -type __VLS_Props = { - value?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - change: (value?: string | undefined) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onChange?: ((value?: string | undefined) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/table/action.d.ts b/frontend/crawlab-ui/typings/components/ui/table/action.d.ts deleted file mode 100644 index b776695b..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/action.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Ref } from 'vue'; -declare const useAction: (emit: Function, table: Ref, actionFunctions?: ListLayoutActionFunctions) => { - selection: Ref | TableAnyRowData[]>; - onSelectionChange: (value: TableData) => void; - onAdd: () => void; - onEdit: () => Promise; - onDelete: () => Promise; - onExport: () => void; - clearSelection: () => void; -}; -export default useAction; diff --git a/frontend/crawlab-ui/typings/components/ui/table/column.d.ts b/frontend/crawlab-ui/typings/components/ui/table/column.d.ts deleted file mode 100644 index c3e5f952..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/column.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Ref } from 'vue'; -import { Table } from 'element-plus/lib/components/table/src/table/defaults'; -declare const useColumns: (props: TableProps, table: Ref | undefined>, wrapper: Ref) => { - internalSelectedColumnKeys: Ref; - columnsMap: import("vue").ComputedRef>; - columnsTransferVisible: Ref; - selectedColumns: import("vue").ComputedRef[]>; - onShowColumnsTransfer: () => void; - onHideColumnsTransfer: () => void; - onColumnsChange: (value: string[]) => void; -}; -export default useColumns; diff --git a/frontend/crawlab-ui/typings/components/ui/table/data.d.ts b/frontend/crawlab-ui/typings/components/ui/table/data.d.ts deleted file mode 100644 index 73013b72..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/data.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const useData: (data: TableData) => { - tableData: import("vue").ComputedRef>; -}; -export default useData; diff --git a/frontend/crawlab-ui/typings/components/ui/table/header.d.ts b/frontend/crawlab-ui/typings/components/ui/table/header.d.ts deleted file mode 100644 index a253271b..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/header.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const useHeader: (emit: Function) => { - onHeaderChange: (column: TableColumn, sort: SortData, filter?: FilterConditionData[]) => void; -}; -export default useHeader; diff --git a/frontend/crawlab-ui/typings/components/ui/table/pagination.d.ts b/frontend/crawlab-ui/typings/components/ui/table/pagination.d.ts deleted file mode 100644 index 83a21434..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/pagination.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare const usePagination: (props: TableProps, emit: Function) => { - onCurrentChange: (page: number) => void; - onSizeChange: (size: number) => void; -}; -export default usePagination; diff --git a/frontend/crawlab-ui/typings/components/ui/table/store.d.ts b/frontend/crawlab-ui/typings/components/ui/table/store.d.ts deleted file mode 100644 index a892c7cd..00000000 --- a/frontend/crawlab-ui/typings/components/ui/table/store.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Ref } from 'vue'; -import { Table } from 'element-plus/lib/components/table/src/table/defaults'; -declare const useStore: (table: Ref | undefined>) => { - store: import("vue").ComputedRef; -}; -export default useStore; diff --git a/frontend/crawlab-ui/typings/components/ui/tag/CheckTag.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/tag/CheckTag.vue.d.ts deleted file mode 100644 index 4c899b39..00000000 --- a/frontend/crawlab-ui/typings/components/ui/tag/CheckTag.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { CheckTagProps } from './types'; -declare const _default: import("vue").DefineComponent any; - "update:model-value": (value: boolean) => any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onChange?: ((value: boolean) => any) | undefined; - "onUpdate:model-value"?: ((value: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/tag/CheckTagGroup.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/tag/CheckTagGroup.vue.d.ts deleted file mode 100644 index 87192285..00000000 --- a/frontend/crawlab-ui/typings/components/ui/tag/CheckTagGroup.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { CheckTagGroupProps } from './types'; -declare const _default: import("vue").DefineComponent any; - "update:model-value": (value: string[]) => any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onChange?: ((value: string[]) => any) | undefined; - "onUpdate:model-value"?: ((value: string[]) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/tag/LinkTag.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/tag/LinkTag.vue.d.ts deleted file mode 100644 index 4adc49c5..00000000 --- a/frontend/crawlab-ui/typings/components/ui/tag/LinkTag.vue.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { LinkTagProps } from './types'; -declare const _default: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/tag/Tag.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/tag/Tag.vue.d.ts deleted file mode 100644 index 88aff08c..00000000 --- a/frontend/crawlab-ui/typings/components/ui/tag/Tag.vue.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { TagProps } from './types'; -type __VLS_Slots = { - default: any; - tooltip: any; -}; -declare const __VLS_component: import("vue").DefineComponent any; - click: () => any; - mouseenter: () => any; - mouseleave: () => any; -}, string, import("vue").PublicProps, Readonly & Readonly<{ - onClose?: (() => any) | undefined; - onClick?: (() => any) | undefined; - onMouseenter?: (() => any) | undefined; - onMouseleave?: (() => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/components/ui/time/Duration.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/time/Duration.vue.d.ts deleted file mode 100644 index 17c001df..00000000 --- a/frontend/crawlab-ui/typings/components/ui/time/Duration.vue.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -type __VLS_Props = { - duration?: number; - isTag?: boolean; - size?: BasicSize; - tooltip?: string; - icon?: Icon; - type?: BasicType; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - type: BasicType; - icon: Icon; - size: BasicSize; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/time/Time.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/time/Time.vue.d.ts deleted file mode 100644 index 73e80e4a..00000000 --- a/frontend/crawlab-ui/typings/components/ui/time/Time.vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import type { FormatStyle } from 'javascript-time-ago/style'; -type __VLS_Props = { - time: Date | string; - ago: boolean; - format: string; - agoFormatStyle?: string | FormatStyle; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - time: Date | string; - format: string; - ago: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/tip/Tip.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/tip/Tip.vue.d.ts deleted file mode 100644 index 1ffed10a..00000000 --- a/frontend/crawlab-ui/typings/components/ui/tip/Tip.vue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -type __VLS_Props = { - tooltip?: string; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/transfer/Transfer.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/transfer/Transfer.vue.d.ts deleted file mode 100644 index 87806064..00000000 --- a/frontend/crawlab-ui/typings/components/ui/transfer/Transfer.vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -type __VLS_Props = { - value: string[]; - data: DraggableItemData[]; - titles?: string[]; - buttonTexts?: string[]; - buttonTooltips?: string[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - change: (value: string[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onChange?: ((value: string[]) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/components/ui/transfer/TransferPanel.vue.d.ts b/frontend/crawlab-ui/typings/components/ui/transfer/TransferPanel.vue.d.ts deleted file mode 100644 index 3430930d..00000000 --- a/frontend/crawlab-ui/typings/components/ui/transfer/TransferPanel.vue.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -type __VLS_Props = { - title: string; - checked?: string[]; - data?: DraggableItemData[]; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - drag: (items: DraggableItemData[]) => any; - check: (value: string[]) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onDrag?: ((items: DraggableItemData[]) => any) | undefined; - onCheck?: ((value: string[]) => any) | undefined; -}>, { - title: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/constants/action.d.ts b/frontend/crawlab-ui/typings/constants/action.d.ts deleted file mode 100644 index 796fbd10..00000000 --- a/frontend/crawlab-ui/typings/constants/action.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -export declare const ACTION_ADD = "add"; -export declare const ACTION_VIEW = "view"; -export declare const ACTION_EDIT = "edit"; -export declare const ACTION_CLONE = "clone"; -export declare const ACTION_DELETE = "delete"; -export declare const ACTION_COPY = "copy"; -export declare const ACTION_SAVE = "save"; -export declare const ACTION_BACK = "back"; -export declare const ACTION_RUN = "run"; -export declare const ACTION_START = "start"; -export declare const ACTION_STOP = "stop"; -export declare const ACTION_CANCEL = "cancel"; -export declare const ACTION_FORCE_CANCEL = "force-cancel"; -export declare const ACTION_RESTART = "restart"; -export declare const ACTION_ENABLE = "enable"; -export declare const ACTION_UPLOAD_FILES = "upload-files"; -export declare const ACTION_VIEW_LOGS = "view-logs"; -export declare const ACTION_VIEW_FILES = "view-files"; -export declare const ACTION_VIEW_TASKS = "view-tasks"; -export declare const ACTION_VIEW_SCHEDULES = "view-schedules"; -export declare const ACTION_VIEW_DATA = "view-data"; -export declare const ACTION_VIEW_MONITORING = "view-monitoring"; -export declare const ACTION_VIEW_SPIDERS = "view-spiders"; -export declare const ACTION_VIEW_CHANGES = "view-changes"; -export declare const ACTION_VIEW_COMMITS = "view-commits"; -export declare const ACTION_VIEW_DATABASES = "view-databases"; -export declare const ACTION_VIEW_CONSOLE = "view-console"; -export declare const ACTION_VIEW_PAGES = "view-pages"; -export declare const ACTION_VIEW_USERS = "view-users"; -export declare const ACTION_VIEW_MAIL = "view-mail"; -export declare const ACTION_VIEW_TEMPLATE = "view-template"; -export declare const ACTION_VIEW_CHANNELS = "view-channels"; -export declare const ACTION_VIEW_DEPENDENCIES = "view-dependencies"; -export declare const ACTION_FILTER = "filter"; -export declare const ACTION_FILTER_SEARCH = "filter-search"; -export declare const ACTION_FILTER_SELECT = "filter-select"; -export declare const ACTION_LINK = "link"; -export declare const ACTION_UNLINK = "unlink"; -export declare const ACTION_INSTALL = "install"; -export declare const ACTION_UNINSTALL = "uninstall"; -export declare const ACTION_UPGRADE = "upgrade"; -export declare const ACTION_SEND_TEST_MESSAGE = "send-test-message"; -export declare const ACTION_RETRY = "retry"; diff --git a/frontend/crawlab-ui/typings/constants/dataFields.d.ts b/frontend/crawlab-ui/typings/constants/dataFields.d.ts deleted file mode 100644 index fe3a658f..00000000 --- a/frontend/crawlab-ui/typings/constants/dataFields.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare const DATA_FIELD_TYPE_GENERAL = "general"; -export declare const DATA_FIELD_TYPE_NUMERIC = "numeric"; -export declare const DATA_FIELD_TYPE_TIME = "time"; -export declare const DATA_FIELD_TYPE_CURRENCY = "currency"; -export declare const DATA_FIELD_TYPE_URL = "url"; -export declare const DATA_FIELD_TYPE_IMAGE = "image"; -export declare const DATA_FIELD_TYPE_AUDIO = "audio"; -export declare const DATA_FIELD_TYPE_VIDEO = "video"; -export declare const DATA_FIELD_TYPE_HTML = "html"; -export declare const DATA_FIELD_TYPE_LONG_TEXT = "long-text"; diff --git a/frontend/crawlab-ui/typings/constants/database.d.ts b/frontend/crawlab-ui/typings/constants/database.d.ts deleted file mode 100644 index a80d1de3..00000000 --- a/frontend/crawlab-ui/typings/constants/database.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const DATABASE_STATUS_ONLINE = "online"; -export declare const DATABASE_STATUS_OFFLINE = "offline"; diff --git a/frontend/crawlab-ui/typings/constants/dedup.d.ts b/frontend/crawlab-ui/typings/constants/dedup.d.ts deleted file mode 100644 index b4556240..00000000 --- a/frontend/crawlab-ui/typings/constants/dedup.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const DEDUP_TYPE_IGNORE = "ignore"; -export declare const DEDUP_TYPE_OVERWRITE = "overwrite"; diff --git a/frontend/crawlab-ui/typings/constants/dependency.d.ts b/frontend/crawlab-ui/typings/constants/dependency.d.ts deleted file mode 100644 index f2078b62..00000000 --- a/frontend/crawlab-ui/typings/constants/dependency.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const DEPENDENCY_LANG_PYTHON = "python"; -export declare const DEPENDENCY_LANG_NODE = "node"; diff --git a/frontend/crawlab-ui/typings/constants/file.d.ts b/frontend/crawlab-ui/typings/constants/file.d.ts deleted file mode 100644 index 5bf0a30c..00000000 --- a/frontend/crawlab-ui/typings/constants/file.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const FILE_ROOT = "~"; -export declare const FILE_UPLOAD_MODE_FILES = "files"; -export declare const FILE_UPLOAD_MODE_DIR = "dir"; diff --git a/frontend/crawlab-ui/typings/constants/filter.d.ts b/frontend/crawlab-ui/typings/constants/filter.d.ts deleted file mode 100644 index 3bb0d18f..00000000 --- a/frontend/crawlab-ui/typings/constants/filter.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare const FILTER_OP_NOT_SET = "ns"; -export declare const FILTER_OP_CONTAINS = "c"; -export declare const FILTER_OP_NOT_CONTAINS = "nc"; -export declare const FILTER_OP_REGEX = "r"; -export declare const FILTER_OP_EQUAL = "eq"; -export declare const FILTER_OP_NOT_EQUAL = "ne"; -export declare const FILTER_OP_IN = "in"; -export declare const FILTER_OP_NOT_IN = "nin"; -export declare const FILTER_OP_GREATER_THAN = "gt"; -export declare const FILTER_OP_GREATER_THAN_EQUAL = "gte"; -export declare const FILTER_OP_LESS_THAN = "lt"; -export declare const FILTER_OP_LESS_THAN_EQUAL = "lte"; -export declare const FILTER_OP_SEARCH = "s"; diff --git a/frontend/crawlab-ui/typings/constants/form.d.ts b/frontend/crawlab-ui/typings/constants/form.d.ts deleted file mode 100644 index da92d203..00000000 --- a/frontend/crawlab-ui/typings/constants/form.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export declare const FORM_FIELD_TYPE_INPUT = "input"; -export declare const FORM_FIELD_TYPE_INPUT_PASSWORD = "input-password"; -export declare const FORM_FIELD_TYPE_INPUT_TEXTAREA = "input-text-area"; -export declare const FORM_FIELD_TYPE_INPUT_WITH_BUTTON = "input-with-button"; -export declare const FORM_FIELD_TYPE_SELECT = "select"; -export declare const FORM_FIELD_TYPE_TAG_INPUT = "tag-input"; -export declare const FORM_FIELD_TYPE_TAG_SELECT = "tags-select"; -export declare const FORM_FIELD_TYPE_CHECK_TAG_GROUP = "check-tag-group"; -export declare const FORM_FIELD_TYPE_SWITCH = "switch"; diff --git a/frontend/crawlab-ui/typings/constants/git.d.ts b/frontend/crawlab-ui/typings/constants/git.d.ts deleted file mode 100644 index 7ba7b5d0..00000000 --- a/frontend/crawlab-ui/typings/constants/git.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare const GIT_REF_TYPE_BRANCH = "branch"; -export declare const GIT_REF_TYPE_TAG = "tag"; -export declare const GIT_STATUS_PENDING = "pending"; -export declare const GIT_STATUS_CLONING = "cloning"; -export declare const GIT_STATUS_READY = "ready"; -export declare const GIT_STATUS_ERROR = "error"; -export declare const GIT_STATUS_PULLING = "pulling"; -export declare const GIT_STATUS_PUSHING = "pushing"; diff --git a/frontend/crawlab-ui/typings/constants/index.d.ts b/frontend/crawlab-ui/typings/constants/index.d.ts deleted file mode 100644 index c88a4344..00000000 --- a/frontend/crawlab-ui/typings/constants/index.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export * from './action'; -export * from './file'; -export * from './filter'; -export * from './form'; -export * from './git'; -export * from './keyboard'; -export * from './localStorage'; -export * from './node'; -export * from './os'; -export * from './plugin'; -export * from './router'; -export * from './sort'; -export * from './tab'; -export * from './table'; -export * from './task'; -export * from './transfer'; -export * from './user'; diff --git a/frontend/crawlab-ui/typings/constants/keyboard.d.ts b/frontend/crawlab-ui/typings/constants/keyboard.d.ts deleted file mode 100644 index e01f3c67..00000000 --- a/frontend/crawlab-ui/typings/constants/keyboard.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const KEY_META = "Meta"; -export declare const KEY_CONTROL = "Control"; -export declare const KEY_ESC = "Escape"; diff --git a/frontend/crawlab-ui/typings/constants/localStorage.d.ts b/frontend/crawlab-ui/typings/constants/localStorage.d.ts deleted file mode 100644 index 62da6629..00000000 --- a/frontend/crawlab-ui/typings/constants/localStorage.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const LOCAL_STORAGE_KEY_LANG = "lang"; -export declare const LOCAL_STORAGE_KEY_TOKEN = "token"; -export declare const LOCAL_STORAGE_KEY_ME = "me"; diff --git a/frontend/crawlab-ui/typings/constants/node.d.ts b/frontend/crawlab-ui/typings/constants/node.d.ts deleted file mode 100644 index 57f6c62a..00000000 --- a/frontend/crawlab-ui/typings/constants/node.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const NODE_STATUS_ONLINE = "online"; -export declare const NODE_STATUS_OFFLINE = "offline"; diff --git a/frontend/crawlab-ui/typings/constants/notification.d.ts b/frontend/crawlab-ui/typings/constants/notification.d.ts deleted file mode 100644 index 62008c6c..00000000 --- a/frontend/crawlab-ui/typings/constants/notification.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const NOTIFICATION_TRIGGER_TASK_FINISH = "task_finish"; -export declare const NOTIFICATION_TRIGGER_TASK_ERROR = "task_error"; -export declare const NOTIFICATION_TRIGGER_TASK_EMPTY_RESULTS = "task_empty_results"; diff --git a/frontend/crawlab-ui/typings/constants/os.d.ts b/frontend/crawlab-ui/typings/constants/os.d.ts deleted file mode 100644 index 63ba416d..00000000 --- a/frontend/crawlab-ui/typings/constants/os.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const OS_WINDOWS = "windows"; -export declare const OS_MAC = "mac"; -export declare const OS_LINUX = "linux"; diff --git a/frontend/crawlab-ui/typings/constants/plugin.d.ts b/frontend/crawlab-ui/typings/constants/plugin.d.ts deleted file mode 100644 index c050f8fd..00000000 --- a/frontend/crawlab-ui/typings/constants/plugin.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export declare const PLUGIN_UI_COMPONENT_TYPE_VIEW = "view"; -export declare const PLUGIN_UI_COMPONENT_TYPE_TAB = "tab"; -export declare const PLUGIN_DEPLOY_MODE_MASTER = "master"; -export declare const PLUGIN_DEPLOY_MODE_ALL = "all"; -export declare const PLUGIN_STATUS_INSTALLING = "installing"; -export declare const PLUGIN_STATUS_INSTALL_ERROR = "install_error"; -export declare const PLUGIN_STATUS_STOPPED = "stopped"; -export declare const PLUGIN_STATUS_RUNNING = "running"; -export declare const PLUGIN_STATUS_ERROR = "error"; -export declare const PLUGIN_INSTALL_TYPE_PUBLIC = "public"; -export declare const PLUGIN_INSTALL_TYPE_GIT = "git"; -export declare const PLUGIN_INSTALL_TYPE_LOCAL = "local"; diff --git a/frontend/crawlab-ui/typings/constants/role.d.ts b/frontend/crawlab-ui/typings/constants/role.d.ts deleted file mode 100644 index 8e53285d..00000000 --- a/frontend/crawlab-ui/typings/constants/role.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const ROLE_KEY_ADMIN = "admin"; diff --git a/frontend/crawlab-ui/typings/constants/router.d.ts b/frontend/crawlab-ui/typings/constants/router.d.ts deleted file mode 100644 index 801f1a8b..00000000 --- a/frontend/crawlab-ui/typings/constants/router.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const ROUTER_ROOT_NAME_ROOT = "Root"; diff --git a/frontend/crawlab-ui/typings/constants/sort.d.ts b/frontend/crawlab-ui/typings/constants/sort.d.ts deleted file mode 100644 index 89b6c0f8..00000000 --- a/frontend/crawlab-ui/typings/constants/sort.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const ASCENDING = "asc"; -export declare const DESCENDING = "dsc"; -export declare const UNSORTED = "u"; diff --git a/frontend/crawlab-ui/typings/constants/tab.d.ts b/frontend/crawlab-ui/typings/constants/tab.d.ts deleted file mode 100644 index 831ab195..00000000 --- a/frontend/crawlab-ui/typings/constants/tab.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -export declare const TAB_NAME_OVERVIEW = "overview"; -export declare const TAB_NAME_FILES = "files"; -export declare const TAB_NAME_TASKS = "tasks"; -export declare const TAB_NAME_SETTINGS = "settings"; -export declare const TAB_NAME_LOGS = "logs"; -export declare const TAB_NAME_SPIDERS = "spiders"; -export declare const TAB_NAME_DATA = "data"; -export declare const TAB_NAME_SCHEDULES = "schedules"; -export declare const TAB_NAME_DEPENDENCIES = "dependencies"; -export declare const TAB_NAME_TRIGGERS = "triggers"; -export declare const TAB_NAME_TEMPLATE = "template"; -export declare const TAB_NAME_CHANGES = "changes"; -export declare const TAB_NAME_COMMITS = "commits"; -export declare const TAB_NAME_MONITORING = "monitoring"; -export declare const TAB_NAME_CHANNELS = "channels"; -export declare const TAB_NAME_MAIL = "mail"; -export declare const TAB_NAME_DATABASES = "databases"; -export declare const TAB_NAME_CONSOLE = "console"; -export declare const TAB_NAME_TABLE = "table"; -export declare const TAB_NAME_COLUMNS = "columns"; -export declare const TAB_NAME_INDEXES = "indexes"; -export declare const TAB_NAME_RESULTS = "results"; -export declare const TAB_NAME_OUTPUT = "output"; -export declare const TAB_NAME_USERS = "users"; -export declare const TAB_NAME_ROLES = "roles"; -export declare const TAB_NAME_PERMISSIONS = "permissions"; -export declare const TAB_NAME_PAGES = "pages"; -export declare const TAB_NAME_PATTERNS = "patterns"; -export declare const TAB_NAME_PREVIEW = "webpage"; diff --git a/frontend/crawlab-ui/typings/constants/table.d.ts b/frontend/crawlab-ui/typings/constants/table.d.ts deleted file mode 100644 index 239bda78..00000000 --- a/frontend/crawlab-ui/typings/constants/table.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export declare const TABLE_COLUMN_NAME_ACTIONS = "actions"; -export declare const TABLE_ACTION_ADD = "add"; -export declare const TABLE_ACTION_DELETE = "delete"; -export declare const TABLE_ACTION_EDIT = "edit"; -export declare const TABLE_ACTION_EXPORT = "export"; -export declare const TABLE_ACTION_CUSTOMIZE_COLUMNS = "customize-columns"; -export declare const TABLE_PAGINATION_POSITION_TOP = "top"; -export declare const TABLE_PAGINATION_POSITION_BOTTOM = "bottom"; -export declare const TABLE_PAGINATION_POSITION_ALL = "all"; diff --git a/frontend/crawlab-ui/typings/constants/task.d.ts b/frontend/crawlab-ui/typings/constants/task.d.ts deleted file mode 100644 index acd0735b..00000000 --- a/frontend/crawlab-ui/typings/constants/task.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare const TASK_STATUS_PENDING = "pending"; -export declare const TASK_STATUS_ASSIGNED = "assigned"; -export declare const TASK_STATUS_RUNNING = "running"; -export declare const TASK_STATUS_FINISHED = "finished"; -export declare const TASK_STATUS_ERROR = "error"; -export declare const TASK_STATUS_CANCELLED = "cancelled"; -export declare const TASK_STATUS_ABNORMAL = "abnormal"; -export declare const TASK_MODE_RANDOM = "random"; -export declare const TASK_MODE_ALL_NODES = "all-nodes"; -export declare const TASK_MODE_SELECTED_NODES = "selected-nodes"; diff --git a/frontend/crawlab-ui/typings/constants/transfer.d.ts b/frontend/crawlab-ui/typings/constants/transfer.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/frontend/crawlab-ui/typings/constants/transfer.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/frontend/crawlab-ui/typings/constants/user.d.ts b/frontend/crawlab-ui/typings/constants/user.d.ts deleted file mode 100644 index 79567397..00000000 --- a/frontend/crawlab-ui/typings/constants/user.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const ROLE_ADMIN = "admin"; -export declare const ROLE_NORMAL = "normal"; -export declare const USERNAME_ADMIN = "admin"; diff --git a/frontend/crawlab-ui/typings/directives/auth/auth.d.ts b/frontend/crawlab-ui/typings/directives/auth/auth.d.ts deleted file mode 100644 index ada8d43a..00000000 --- a/frontend/crawlab-ui/typings/directives/auth/auth.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { Directive } from 'vue'; -export declare const auth: Directive; diff --git a/frontend/crawlab-ui/typings/directives/click-outside/clickOutside.d.ts b/frontend/crawlab-ui/typings/directives/click-outside/clickOutside.d.ts deleted file mode 100644 index 96f16ac1..00000000 --- a/frontend/crawlab-ui/typings/directives/click-outside/clickOutside.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Directive } from 'vue'; -declare const clickOutsideDirective: Directive; -export default clickOutsideDirective; diff --git a/frontend/crawlab-ui/typings/directives/index.d.ts b/frontend/crawlab-ui/typings/directives/index.d.ts deleted file mode 100644 index 1ca21de7..00000000 --- a/frontend/crawlab-ui/typings/directives/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as auth from './auth/auth'; -import * as clickOutside from './click-outside/clickOutside'; -export { auth as auth, clickOutside as clickOutside, }; diff --git a/frontend/crawlab-ui/typings/entry/app.d.ts b/frontend/crawlab-ui/typings/entry/app.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/frontend/crawlab-ui/typings/entry/app.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/frontend/crawlab-ui/typings/i18n/index.d.ts b/frontend/crawlab-ui/typings/i18n/index.d.ts deleted file mode 100644 index e4b4ec55..00000000 --- a/frontend/crawlab-ui/typings/i18n/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare const getI18n: () => LI18n; -export declare const setI18nMessages: (messages: { - [key: string]: any; -}) => void; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/common.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/common.d.ts deleted file mode 100644 index 6c4e52bf..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/common.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const common: LCommon; -export default common; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/ai.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/ai.d.ts deleted file mode 100644 index 2094b8c7..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/ai.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const ai: LComponentsAI; -export default ai; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/autoprobe.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/autoprobe.d.ts deleted file mode 100644 index be50cc54..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/autoprobe.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const autoprobe: LComponentsAutoProbe; -export default autoprobe; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/chart.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/chart.d.ts deleted file mode 100644 index 0fca7308..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/chart.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const chart: LComponentsChart; -export default chart; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/database.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/database.d.ts deleted file mode 100644 index cb718179..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/database.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const database: LComponentsDatabase; -export default database; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/date.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/date.d.ts deleted file mode 100644 index fc41c852..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/date.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const date: LComponentsDate; -export default date; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/dialog.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/dialog.d.ts deleted file mode 100644 index d79bacc4..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/dialog.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const dialog: LComponentsDialog; -export default dialog; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/editor.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/editor.d.ts deleted file mode 100644 index aaf40a5a..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/editor.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const editor: LComponentsEditor; -export default editor; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/empty.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/empty.d.ts deleted file mode 100644 index aa9245f5..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/empty.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const empty: LComponentsEmpty; -export default empty; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/environment.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/environment.d.ts deleted file mode 100644 index ee1952c7..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/environment.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const environment: LComponentsEnvironment; -export default environment; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/export.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/export.d.ts deleted file mode 100644 index a2a2ac15..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/export.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const export_: LComponentsExport; -export default export_; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/file.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/file.d.ts deleted file mode 100644 index c3f72873..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/file.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const file: LComponentsFile; -export default file; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/form.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/form.d.ts deleted file mode 100644 index 4560dfda..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/form.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const form: LComponentsForm; -export default form; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/git.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/git.d.ts deleted file mode 100644 index 24fbc44e..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/git.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const git: LComponentsGit; -export default git; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/index.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/index.d.ts deleted file mode 100644 index 6eedb4f3..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const components: LComponents; -export default components; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/lexical.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/lexical.d.ts deleted file mode 100644 index 57b43e88..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/lexical.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const lexical: LComponentsLexical; -export default lexical; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/metric.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/metric.d.ts deleted file mode 100644 index b0366385..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/metric.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const metric: LComponentsMetric; -export default metric; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/nav.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/nav.d.ts deleted file mode 100644 index cfc2712c..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/nav.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const nav: LComponentsNav; -export default nav; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/node.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/node.d.ts deleted file mode 100644 index d69df94a..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/node.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const node: LComponentsNode; -export default node; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/notification.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/notification.d.ts deleted file mode 100644 index 8770e863..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/notification.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const notification: LComponentsNotification; -export default notification; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/project.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/project.d.ts deleted file mode 100644 index 03b6d81a..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/project.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const project: LComponentsProject; -export default project; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/result.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/result.d.ts deleted file mode 100644 index b9d7786f..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/result.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const result: LComponentsResult; -export default result; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/role.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/role.d.ts deleted file mode 100644 index 4d7539f9..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/role.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const role: LComponentsRole; -export default role; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/schedule.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/schedule.d.ts deleted file mode 100644 index e1836e40..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/schedule.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const schedule: LComponentsSchedule; -export default schedule; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/spider.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/spider.d.ts deleted file mode 100644 index c1a14120..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/spider.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const spider: LComponentsSpider; -export default spider; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/tab.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/tab.d.ts deleted file mode 100644 index 1fc690f1..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/tab.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const tab: LComponentsTab; -export default tab; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/table.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/table.d.ts deleted file mode 100644 index 3f290d64..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/table.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const table: LComponentsTable; -export default table; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/tag.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/tag.d.ts deleted file mode 100644 index b0cf333c..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/tag.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const tag: LComponentsTag; -export default tag; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/task.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/task.d.ts deleted file mode 100644 index c4e14a74..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/task.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const task: LComponentsTask; -export default task; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/transfer.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/transfer.d.ts deleted file mode 100644 index 9cb48d23..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/transfer.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const transfer: LComponentsTransfer; -export default transfer; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/components/user.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/components/user.d.ts deleted file mode 100644 index 290a5d88..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/components/user.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const user: LComponentsUser; -export default user; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/global.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/global.d.ts deleted file mode 100644 index 3e1215b1..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/global.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const global: LGlobal; -export default global; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/index.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/index.d.ts deleted file mode 100644 index 4dc19dd0..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: L; -export default _default; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/layouts.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/layouts.d.ts deleted file mode 100644 index b22f6adf..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/layouts.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const layouts: LLayouts; -export default layouts; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/router.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/router.d.ts deleted file mode 100644 index fc708fd6..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/router.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const router: LRouter; -export default router; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/autoprobe.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/autoprobe.d.ts deleted file mode 100644 index 1671eb0e..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/autoprobe.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const autoprobe: LViewsAutoProbe; -export default autoprobe; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/database.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/database.d.ts deleted file mode 100644 index cdfc3c9b..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/database.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const database: LViewsDatabase; -export default database; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/env.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/env.d.ts deleted file mode 100644 index 66d558c9..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/env.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const env: LViewsEnv; -export default env; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/environment.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/environment.d.ts deleted file mode 100644 index 54a332a7..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/environment.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const environments: LViewsEnvironments; -export default environments; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/gits.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/gits.d.ts deleted file mode 100644 index f062ef26..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/gits.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const gits: LViewGits; -export default gits; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/home.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/home.d.ts deleted file mode 100644 index 9d3370f1..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/home.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const home: LViewsHome; -export default home; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/index.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/index.d.ts deleted file mode 100644 index f2c57649..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const views: LViews; -export default views; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/llm.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/llm.d.ts deleted file mode 100644 index b26299a4..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/llm.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const llm: LViewsLLM; -export default llm; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/login.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/login.d.ts deleted file mode 100644 index 340a064d..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/login.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const login: LViewsLogin; -export default login; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/misc.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/misc.d.ts deleted file mode 100644 index b2f84078..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/misc.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const misc: LViewsMisc; -export default misc; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/nodes.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/nodes.d.ts deleted file mode 100644 index e285f887..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/nodes.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const nodes: LViewsNodes; -export default nodes; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/notification.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/notification.d.ts deleted file mode 100644 index d9a5a97d..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/notification.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const notification: LViewsNotification; -export default notification; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/projects.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/projects.d.ts deleted file mode 100644 index dbf56418..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/projects.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const projects: LViewProjects; -export default projects; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/roles.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/roles.d.ts deleted file mode 100644 index 044c5186..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/roles.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const roles: LViewsRoles; -export default roles; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/schedules.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/schedules.d.ts deleted file mode 100644 index be24702f..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/schedules.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const schedules: LViewsSchedules; -export default schedules; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/spiders.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/spiders.d.ts deleted file mode 100644 index b889714a..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/spiders.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const spiders: LViewsSpiders; -export default spiders; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/system.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/system.d.ts deleted file mode 100644 index 8d905aba..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/system.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const system: LViewsSystem; -export default system; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/tags.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/tags.d.ts deleted file mode 100644 index 5031685d..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/tags.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const tags: LViewsTags; -export default tags; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/tasks.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/tasks.d.ts deleted file mode 100644 index 76406b6f..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/tasks.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const tasks: LViewsTasks; -export default tasks; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/tokens.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/tokens.d.ts deleted file mode 100644 index 2fa88dd4..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/tokens.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const tokens: LViewsTokens; -export default tokens; diff --git a/frontend/crawlab-ui/typings/i18n/lang/en/views/users.d.ts b/frontend/crawlab-ui/typings/i18n/lang/en/views/users.d.ts deleted file mode 100644 index 2cd58777..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/en/views/users.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const users: LViewsUsers; -export default users; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/common.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/common.d.ts deleted file mode 100644 index 6c4e52bf..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/common.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const common: LCommon; -export default common; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/ai.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/ai.d.ts deleted file mode 100644 index 2094b8c7..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/ai.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const ai: LComponentsAI; -export default ai; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/autoprobe.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/autoprobe.d.ts deleted file mode 100644 index be50cc54..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/autoprobe.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const autoprobe: LComponentsAutoProbe; -export default autoprobe; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/chart.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/chart.d.ts deleted file mode 100644 index 0fca7308..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/chart.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const chart: LComponentsChart; -export default chart; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/database.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/database.d.ts deleted file mode 100644 index cb718179..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/database.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const database: LComponentsDatabase; -export default database; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/date.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/date.d.ts deleted file mode 100644 index fc41c852..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/date.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const date: LComponentsDate; -export default date; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/dialog.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/dialog.d.ts deleted file mode 100644 index d79bacc4..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/dialog.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const dialog: LComponentsDialog; -export default dialog; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/editor.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/editor.d.ts deleted file mode 100644 index aaf40a5a..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/editor.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const editor: LComponentsEditor; -export default editor; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/empty.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/empty.d.ts deleted file mode 100644 index aa9245f5..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/empty.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const empty: LComponentsEmpty; -export default empty; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/environment.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/environment.d.ts deleted file mode 100644 index ee1952c7..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/environment.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const environment: LComponentsEnvironment; -export default environment; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/export.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/export.d.ts deleted file mode 100644 index a2a2ac15..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/export.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const export_: LComponentsExport; -export default export_; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/file.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/file.d.ts deleted file mode 100644 index c3f72873..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/file.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const file: LComponentsFile; -export default file; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/form.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/form.d.ts deleted file mode 100644 index 4560dfda..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/form.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const form: LComponentsForm; -export default form; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/git.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/git.d.ts deleted file mode 100644 index 24fbc44e..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/git.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const git: LComponentsGit; -export default git; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/index.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/index.d.ts deleted file mode 100644 index 6eedb4f3..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const components: LComponents; -export default components; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/lexical.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/lexical.d.ts deleted file mode 100644 index 57b43e88..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/lexical.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const lexical: LComponentsLexical; -export default lexical; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/metric.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/metric.d.ts deleted file mode 100644 index b0366385..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/metric.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const metric: LComponentsMetric; -export default metric; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/nav.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/nav.d.ts deleted file mode 100644 index cfc2712c..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/nav.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const nav: LComponentsNav; -export default nav; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/node.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/node.d.ts deleted file mode 100644 index d69df94a..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/node.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const node: LComponentsNode; -export default node; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/notification.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/notification.d.ts deleted file mode 100644 index 8770e863..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/notification.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const notification: LComponentsNotification; -export default notification; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/plugin.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/plugin.d.ts deleted file mode 100644 index c5f6d21e..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/plugin.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const plugin: LComponentsPlugin; -export default plugin; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/project.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/project.d.ts deleted file mode 100644 index 03b6d81a..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/project.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const project: LComponentsProject; -export default project; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/result.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/result.d.ts deleted file mode 100644 index b9d7786f..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/result.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const result: LComponentsResult; -export default result; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/role.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/role.d.ts deleted file mode 100644 index 4d7539f9..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/role.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const role: LComponentsRole; -export default role; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/schedule.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/schedule.d.ts deleted file mode 100644 index e1836e40..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/schedule.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const schedule: LComponentsSchedule; -export default schedule; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/spider.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/spider.d.ts deleted file mode 100644 index c1a14120..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/spider.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const spider: LComponentsSpider; -export default spider; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/tab.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/tab.d.ts deleted file mode 100644 index 1fc690f1..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/tab.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const tab: LComponentsTab; -export default tab; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/table.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/table.d.ts deleted file mode 100644 index 3f290d64..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/table.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const table: LComponentsTable; -export default table; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/tag.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/tag.d.ts deleted file mode 100644 index b0cf333c..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/tag.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const tag: LComponentsTag; -export default tag; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/task.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/task.d.ts deleted file mode 100644 index c4e14a74..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/task.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const task: LComponentsTask; -export default task; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/transfer.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/transfer.d.ts deleted file mode 100644 index 9cb48d23..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/transfer.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const transfer: LComponentsTransfer; -export default transfer; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/components/user.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/components/user.d.ts deleted file mode 100644 index 290a5d88..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/components/user.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const user: LComponentsUser; -export default user; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/global.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/global.d.ts deleted file mode 100644 index 3e1215b1..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/global.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const global: LGlobal; -export default global; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/index.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/index.d.ts deleted file mode 100644 index 4dc19dd0..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: L; -export default _default; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/layouts.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/layouts.d.ts deleted file mode 100644 index b22f6adf..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/layouts.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const layouts: LLayouts; -export default layouts; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/router.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/router.d.ts deleted file mode 100644 index fc708fd6..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/router.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const router: LRouter; -export default router; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/autoprobe.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/autoprobe.d.ts deleted file mode 100644 index 1671eb0e..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/autoprobe.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const autoprobe: LViewsAutoProbe; -export default autoprobe; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/database.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/database.d.ts deleted file mode 100644 index cdfc3c9b..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/database.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const database: LViewsDatabase; -export default database; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/env.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/env.d.ts deleted file mode 100644 index 66d558c9..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/env.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const env: LViewsEnv; -export default env; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/environment.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/environment.d.ts deleted file mode 100644 index 54a332a7..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/environment.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const environments: LViewsEnvironments; -export default environments; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/gits.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/gits.d.ts deleted file mode 100644 index f062ef26..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/gits.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const gits: LViewGits; -export default gits; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/home.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/home.d.ts deleted file mode 100644 index 9d3370f1..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/home.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const home: LViewsHome; -export default home; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/index.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/index.d.ts deleted file mode 100644 index f2c57649..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const views: LViews; -export default views; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/llm.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/llm.d.ts deleted file mode 100644 index b26299a4..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/llm.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const llm: LViewsLLM; -export default llm; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/login.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/login.d.ts deleted file mode 100644 index 340a064d..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/login.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const login: LViewsLogin; -export default login; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/misc.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/misc.d.ts deleted file mode 100644 index b2f84078..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/misc.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const misc: LViewsMisc; -export default misc; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/nodes.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/nodes.d.ts deleted file mode 100644 index e285f887..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/nodes.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const nodes: LViewsNodes; -export default nodes; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/notification.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/notification.d.ts deleted file mode 100644 index d9a5a97d..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/notification.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const notification: LViewsNotification; -export default notification; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/plugins.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/plugins.d.ts deleted file mode 100644 index cb8d9e8e..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/plugins.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const plugins: LViewsPlugins; -export default plugins; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/projects.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/projects.d.ts deleted file mode 100644 index dbf56418..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/projects.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const projects: LViewProjects; -export default projects; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/roles.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/roles.d.ts deleted file mode 100644 index 044c5186..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/roles.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const roles: LViewsRoles; -export default roles; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/schedules.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/schedules.d.ts deleted file mode 100644 index be24702f..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/schedules.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const schedules: LViewsSchedules; -export default schedules; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/spiders.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/spiders.d.ts deleted file mode 100644 index b889714a..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/spiders.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const spiders: LViewsSpiders; -export default spiders; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/system.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/system.d.ts deleted file mode 100644 index 8d905aba..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/system.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const system: LViewsSystem; -export default system; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/tags.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/tags.d.ts deleted file mode 100644 index 5031685d..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/tags.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const tags: LViewsTags; -export default tags; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/tasks.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/tasks.d.ts deleted file mode 100644 index 76406b6f..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/tasks.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const tasks: LViewsTasks; -export default tasks; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/tokens.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/tokens.d.ts deleted file mode 100644 index 2fa88dd4..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/tokens.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const tokens: LViewsTokens; -export default tokens; diff --git a/frontend/crawlab-ui/typings/i18n/lang/zh/views/users.d.ts b/frontend/crawlab-ui/typings/i18n/lang/zh/views/users.d.ts deleted file mode 100644 index 2cd58777..00000000 --- a/frontend/crawlab-ui/typings/i18n/lang/zh/views/users.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const users: LViewsUsers; -export default users; diff --git a/frontend/crawlab-ui/typings/index.d.ts b/frontend/crawlab-ui/typings/index.d.ts deleted file mode 100644 index 57191ae2..00000000 --- a/frontend/crawlab-ui/typings/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export * from './components'; -export * from './directives'; -export * from './layouts'; -export * from './views'; -export * from './router'; -export * from './store'; -export * from './i18n'; -export * from './package'; -export * from './utils'; -export * from './constants'; -export { installer as default } from './package'; -export { default as useRequest } from './services/request'; diff --git a/frontend/crawlab-ui/typings/interfaces/common/color.d.ts b/frontend/crawlab-ui/typings/interfaces/common/color.d.ts deleted file mode 100644 index 8ae8a697..00000000 --- a/frontend/crawlab-ui/typings/interfaces/common/color.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare global { - type Color = - | 'red' - | 'magenta' - | 'purple' - | 'geekBlue' - | 'blue' - | 'cyan' - | 'green' - | 'limeGreen' - | 'yellow' - | 'gold' - | 'orange'; - - type ColorFunc = (m: MetricMeta) => string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/common/concept.d.ts b/frontend/crawlab-ui/typings/interfaces/common/concept.d.ts deleted file mode 100644 index 39997676..00000000 --- a/frontend/crawlab-ui/typings/interfaces/common/concept.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare global { - type GeneralConcept = 'customize'; -} diff --git a/frontend/crawlab-ui/typings/interfaces/common/dataType.d.ts b/frontend/crawlab-ui/typings/interfaces/common/dataType.d.ts deleted file mode 100644 index 4c717b71..00000000 --- a/frontend/crawlab-ui/typings/interfaces/common/dataType.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare global { - type BoolFunc = (data: any) => boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/common/index.d.ts b/frontend/crawlab-ui/typings/interfaces/common/index.d.ts deleted file mode 100644 index 8c5fcc54..00000000 --- a/frontend/crawlab-ui/typings/interfaces/common/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from './color'; -export * from './dataType'; -export * from './lang'; -export * from './os'; diff --git a/frontend/crawlab-ui/typings/interfaces/common/lang.d.ts b/frontend/crawlab-ui/typings/interfaces/common/lang.d.ts deleted file mode 100644 index aab19978..00000000 --- a/frontend/crawlab-ui/typings/interfaces/common/lang.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare global { - type Lang = 'en' | 'zh'; -} diff --git a/frontend/crawlab-ui/typings/interfaces/common/os.d.ts b/frontend/crawlab-ui/typings/interfaces/common/os.d.ts deleted file mode 100644 index 15771448..00000000 --- a/frontend/crawlab-ui/typings/interfaces/common/os.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { OS_WINDOWS, OS_MAC, OS_LINUX } from '@/constants/os'; - -export declare global { - type OS = OS_WINDOWS | OS_MAC | OS_LINUX; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/database/DatabaseConnectType.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/database/DatabaseConnectType.d.ts deleted file mode 100644 index 53df17f5..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/database/DatabaseConnectType.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare global { - interface DatabaseConnectTypeProps { - dataSource?: Database; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/database/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/database/index.d.ts deleted file mode 100644 index 10651eda..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/database/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './DatabaseConnectType'; diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/git/GitFile.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/git/GitFile.d.ts deleted file mode 100644 index 5afabcd7..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/git/GitFile.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface GitFileProps { - fileStatus?: GitFileStatus; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/git/GitForm.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/git/GitForm.d.ts deleted file mode 100644 index 0f5b1779..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/git/GitForm.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare global { - interface GitFormProps { - branchSelectOptions?: SelectOption[]; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/index.d.ts deleted file mode 100644 index 35d255b5..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './spider'; diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/node/NodeActive.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/node/NodeActive.d.ts deleted file mode 100644 index 0dc3c067..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/node/NodeActive.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface NodeActiveProps { - active: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/node/NodeRunners.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/node/NodeRunners.d.ts deleted file mode 100644 index 294865af..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/node/NodeRunners.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -interface NodeRunnersProps { - available?: number; - max?: number; - size?: BasicSize; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/node/NodeType.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/node/NodeType.d.ts deleted file mode 100644 index 051e6c4c..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/node/NodeType.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -interface NodeTypeProps { - isMaster?: boolean; - label?: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/project/CreateProjectDialog.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/project/CreateProjectDialog.d.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/project/ProjectForm.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/project/ProjectForm.d.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/project/ProjectTag.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/project/ProjectTag.d.ts deleted file mode 100644 index 0b9c5669..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/project/ProjectTag.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -interface ProjectTagProps { - label?: string; - type?: BasicType; - color?: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/result/ResultCell.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/result/ResultCell.d.ts deleted file mode 100644 index b8bbb305..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/result/ResultCell.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare global { - interface ResultCellProps { - fieldKey?: string; - type?: DataFieldType; - value?: any; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/result/ResultCellDialog.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/result/ResultCellDialog.d.ts deleted file mode 100644 index 01a3699b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/result/ResultCellDialog.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare global { - interface ResultCellDialogProps {} -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/schedule/ScheduleCron.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/schedule/ScheduleCron.d.ts deleted file mode 100644 index ced6266f..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/schedule/ScheduleCron.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -interface ScheduleCronProps { - cron?: string; - iconOnly?: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/spider/CreateSpiderDialog.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/spider/CreateSpiderDialog.d.ts deleted file mode 100644 index 85457ac5..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/spider/CreateSpiderDialog.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface CreateSpiderDialogProps { - visible: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/spider/RunSpiderDialog.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/spider/RunSpiderDialog.d.ts deleted file mode 100644 index 9b6cf8d8..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/spider/RunSpiderDialog.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface RunSpiderDialogProps { - spider?: Spider; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/spider/SpiderForm.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/spider/SpiderForm.d.ts deleted file mode 100644 index bc825c85..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/spider/SpiderForm.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface SpiderFormProps { - isCreate: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/spider/SpiderStat.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/spider/SpiderStat.d.ts deleted file mode 100644 index 3632efcf..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/spider/SpiderStat.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -interface SpiderStatProps { - stat?: SpiderStat; -} - -interface SpiderStatTooltips { - tasks: string; - results: string; - duration: string; -} - -interface SpiderStatLabels { - tasks: string; - results: string; - duration: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/spider/SpiderTag.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/spider/SpiderTag.d.ts deleted file mode 100644 index bba3f87b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/spider/SpiderTag.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface SpiderTagProps { - spider: Spider; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/core/user/UserRole.d.ts b/frontend/crawlab-ui/typings/interfaces/components/core/user/UserRole.d.ts deleted file mode 100644 index 4bdff2ba..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/core/user/UserRole.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -interface UserRoleProps { - role?: UserRole; - label?: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/index.d.ts deleted file mode 100644 index 65fd25c7..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './core'; -export * from './ui'; diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/chart/Metric.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/chart/Metric.d.ts deleted file mode 100644 index 28667aca..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/chart/Metric.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -interface MetricProps { - title?: string; - value?: number | string; - icon?: Icon; - color?: string; - clickable?: boolean; -} - -interface MetricMeta { - name: string; - key: string; - value: number | string; - icon: Icon; - color?: string | ColorFunc; - path?: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/chart/MetricLineChart.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/chart/MetricLineChart.d.ts deleted file mode 100644 index f0cfdfc2..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/chart/MetricLineChart.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface MetricLineChartProps extends LineChartProps { - metric?: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/chart/PieChart.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/chart/PieChart.d.ts deleted file mode 100644 index 4e484469..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/chart/PieChart.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -interface PieChartProps { - config: EChartsConfig; - width?: string; - height?: string; - theme?: string; - labelKey?: string; - valueKey?: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/context-menu/ContextMenu.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/context-menu/ContextMenu.d.ts deleted file mode 100644 index 142ee929..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/context-menu/ContextMenu.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -// import {Placement} from '@popperjs/core/lib/enums'; -// -// declare global { -// interface ContextMenuProps { -// visible?: boolean; -// trigger: HTMLElement | string; -// placement?: Placement; -// } -// } diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/date/date.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/date/date.d.ts deleted file mode 100644 index afbb7094..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/date/date.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Dayjs } from 'dayjs'; - -export declare global { - interface DateRange { - start: Dayjs; - end: Dayjs; - } - - interface RangeItem { - key: RangeItemKey; - value?: DateRange; - } - - interface RangeItemOption extends SelectOption { - value?: RangeItem; - } - - type RangeItemValue = RangeItemValueFunc | DateRange; - type RangeItemValueFunc = () => DateRange; - type RangeItemKey = 'custom' | string; - type RangePickerType = 'daterange' | 'datetimerange'; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/dialog/CreateEditDialog.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/dialog/CreateEditDialog.d.ts deleted file mode 100644 index 99d895b5..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/dialog/CreateEditDialog.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Ref } from 'vue'; - -declare global { - type CreateEditDialogType = 'create' | 'edit'; - - type CreateEditTabName = 'single' | 'batch'; - - interface CreateEditDialogActionFunctions { - onClose: () => void; - onConfirm: () => Promise; - onTabChange: (value: CreateEditTabName) => void; - onAdd: (rowIndex: number) => void; - onClone: (rowIndex: number) => void; - onDelete: (rowIndex: number) => void; - onFieldChange: (rowIndex: number, prop: string, value: any) => void; - onFieldRegister: (rowIndex: number, prop: string, formRef: Ref) => void; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/dialog/Dialog.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/dialog/Dialog.d.ts deleted file mode 100644 index 5497d4ee..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/dialog/Dialog.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -type DialogKey = - | 'create' - | 'edit' - | 'run' - | 'uploadFiles' - | 'logs' - | 'diff' - | 'createDatabase' - | 'createTable' - | 'install' - | 'uninstall' - | 'config' - | 'setup'; - -interface DialogVisible { - createEdit?: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/drag/DraggableItem.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/drag/DraggableItem.d.ts deleted file mode 100644 index 024defea..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/drag/DraggableItem.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare global { - interface DraggableItemData { - key: string; - dragging: boolean; - - [prop: string]: any; - } - - interface DraggableListInternalItems { - draggingItem?: DraggableItemData; - targetItem?: DraggableItemData; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/drag/DraggableItemContent.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/drag/DraggableItemContent.d.ts deleted file mode 100644 index 62035eca..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/drag/DraggableItemContent.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare global { - interface DraggableItemContentProps { - item: DraggableItemData; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/drag/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/drag/index.d.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileEditor.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileEditor.d.ts deleted file mode 100644 index df00ead5..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileEditor.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare global { - interface FileEditorOptions { - theme: 'vs' | 'vs-dark' | 'hc-black'; - } - - interface FileEditorStyles { - default: FileEditorStyle; - active: FileEditorStyle; - } - - interface FileEditorStyle { - backgroundColor?: string; - color?: string; - borderColor?: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileEditorNavMenu.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileEditorNavMenu.d.ts deleted file mode 100644 index 1f0ec81b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileEditorNavMenu.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export declare global { - interface FileEditorNavMenuCache { - [key: string]: T; - } - - interface FileNavItem { - id?: string; - is_dir?: boolean; - path?: string; - name?: string; - extension?: string; - children?: FileNavItem[]; - } - - interface FileEditorNavMenuClickStatus { - clicked: boolean; - item?: FileNavItem; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileEditorNavTabs.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileEditorNavTabs.d.ts deleted file mode 100644 index b7f2a876..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileEditorNavTabs.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare global { - interface FileEditorNavTabsProps { - activeTab?: FileNavItem; - tabs: FileNavItem[]; - style?: any; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileUpload.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileUpload.d.ts deleted file mode 100644 index 20e90c13..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/file/FileUpload.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { FILE_UPLOAD_MODE_DIR, FILE_UPLOAD_MODE_FILES } from '@/constants'; - -export declare global { - interface FileUploadModeOption { - label: string; - value: string; - } - - interface FileUploadInfo { - dirName?: string; - fileCount?: number; - filePaths?: string[]; - } - - type FileUploadMode = FILE_UPLOAD_MODE_DIR | FILE_UPLOAD_MODE_FILES; - - interface FileWithPath extends File { - path?: string; - } - - type InputFile = (FileWithPath | DataTransferItem) & { - path?: string; - size?: number; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/file/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/file/index.d.ts deleted file mode 100644 index aaca09ef..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/file/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from './FileEditor'; -export * from './FileEditorNavMenu'; -export * from './FileEditorNavTabs'; -export * from './FileUpload'; diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterCondition.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterCondition.d.ts deleted file mode 100644 index 7e0971f5..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterCondition.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare global { - interface FilterConditionData { - key?: string; - op?: string; - value?: any; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterConditionList.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterConditionList.d.ts deleted file mode 100644 index 422ed78c..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterConditionList.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface FilterConditionListProps { - conditions: FilterConditionData[]; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterInput.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterInput.d.ts deleted file mode 100644 index 583b0e3b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterInput.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare global { - interface FilterInputProps { - label?: string; - placeholder?: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterSelect.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterSelect.d.ts deleted file mode 100644 index 92c10a29..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/filter/FilterSelect.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export declare global { - interface FilterSelectOptionsRemote { - colName: string; - value?: string; - label?: string; - } - - interface FilterSelectProps { - label?: string; - placeholder?: string; - filterable?: boolean; - options?: SelectOption[]; - optionsRemote?: FilterSelectOptionsRemote; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/filter/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/filter/index.d.ts deleted file mode 100644 index 95d4ef23..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/filter/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { ASCENDING, DESCENDING, UNSORTED } from '@/constants/sort'; - -declare global { - type SortDirection = ASCENDING | DESCENDING | UNSORTED | undefined; - - interface SortData { - // key - key: string; - // direction - d?: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/form/Form.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/form/Form.d.ts deleted file mode 100644 index 7ed4e4fc..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/form/Form.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { RuleItem } from 'async-validator'; -import { Ref } from 'vue'; -import { - FORM_FIELD_TYPE_CHECK_TAG_GROUP, - FORM_FIELD_TYPE_INPUT, - FORM_FIELD_TYPE_INPUT_TEXTAREA, - FORM_FIELD_TYPE_INPUT_WITH_BUTTON, - FORM_FIELD_TYPE_TAG_INPUT, - FORM_FIELD_TYPE_TAG_SELECT, -} from '@/constants/form'; - -declare global { - interface FormContext { - labelWidth?: string; - size?: string; - grid: number; - } - - interface FormModel { - [key: string]: any; - } - - interface FormRuleItem extends RuleItem { - trigger?: string; - } - - interface FormRules { - [key: string]: FormRuleItem | FormRuleItem[]; - } - - type FormValidateCallback = (valid: boolean) => void; - - interface FormComponentData { - formRef: Ref; - formList: Ref; - formTableFieldRefsMap: Ref; - } - - type FormTableFieldRefsMapKey = [number, string]; - type FormTableFieldRefsMap = Map; - - type DefaultFormFunc = () => T; - - type FormFieldType = - | FORM_FIELD_TYPE_INPUT - | FORM_FIELD_TYPE_INPUT_TEXTAREA - | FORM_FIELD_TYPE_INPUT_WITH_BUTTON - | FORM_FIELD_TYPE_TAG_INPUT - | FORM_FIELD_TYPE_TAG_SELECT - | FORM_FIELD_TYPE_CHECK_TAG_GROUP; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormItem.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormItem.d.ts deleted file mode 100644 index 3eb33a73..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormItem.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { RuleItem } from 'async-validator'; - -declare global { - interface FormItemProps { - prop?: string; - label?: string; - labelTooltip?: string; - labelWidth?: string; - size?: string; - span: number; - offset: number; - required: boolean; - rules?: RuleItem | RuleItem[]; - notEditable?: boolean; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormReadonlyValue.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormReadonlyValue.d.ts deleted file mode 100644 index 3f1c94fc..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormReadonlyValue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare global { - interface FormReadonlyValueProps { - value: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormTable.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormTable.d.ts deleted file mode 100644 index 6e558683..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormTable.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export declare global { - interface FormTableProps { - data: TableData; - fields: FormTableField[]; - } - - interface FormTableField { - prop: string; - label: string; - width?: string; - fieldType: FormFieldType; - options?: SelectOption[]; - required?: boolean; - placeholder?: string; - disabled?: boolean | BoolFunc; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormTableField.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormTableField.d.ts deleted file mode 100644 index eb2cd93d..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/form/FormTableField.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Ref } from 'vue'; - -declare global { - interface FormTableFieldProps { - form: any; - formRules?: FormRuleItem[]; - prop: string; - fieldType: FormFieldType; - options?: SelectOption[]; - required?: boolean; - placeholder?: string; - disabled?: boolean; - onChange?: (value: any) => void; - onRegister?: (formRef: Ref) => void; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/form/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/form/index.d.ts deleted file mode 100644 index ecb1472a..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/form/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './Form'; -export * from './FormItem'; -export * from './FormReadonlyValue'; -export * from './FormTable'; -export * from './FormTableField'; diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/icon/AtomMaterialIcon.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/icon/AtomMaterialIcon.d.ts deleted file mode 100644 index 1ff267e8..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/icon/AtomMaterialIcon.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare global { - interface AtomMaterialIconProps { - name: string; - isDir?: boolean; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/icon/Icon.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/icon/Icon.d.ts deleted file mode 100644 index b9395346..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/icon/Icon.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare global { - type Icon = string | string[] | SVGElement; - - type IconSize = 'mini' | 'small' | 'normal' | 'large' | string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/icon/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/icon/index.d.ts deleted file mode 100644 index f2e8e6a0..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/icon/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './Icon'; -export * from './AtomMaterialIcon'; diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/index.d.ts deleted file mode 100644 index 5e10927a..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './button'; -export * from './tag'; diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/input/InputList.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/input/InputList.d.ts deleted file mode 100644 index 1abde0c9..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/input/InputList.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare global { - interface InputListProps { - modelValue?: string[]; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/input/InputWithButton.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/input/InputWithButton.d.ts deleted file mode 100644 index 9bb63459..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/input/InputWithButton.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -interface InputWithButtonProps { - modelValue?: string; - placeholder?: string; - size?: string; - buttonLabel?: string; - buttonIcon?: Icon; - buttonType: BasicType; - disabled?: boolean; - id?: string; - className?: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/input/TagInput.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/input/TagInput.d.ts deleted file mode 100644 index d736f26b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/input/TagInput.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -interface TagInputProps { - modelValue: Tag[]; - disabled: boolean; -} - -interface TagInputOption extends Tag { - isEdit?: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/input/TagInputItem.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/input/TagInputItem.d.ts deleted file mode 100644 index 19afdd9d..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/input/TagInputItem.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -interface TagInputItemProps { - modelValue?: Tag; - placeholder?: string; - size?: BasicSize; - disabled?: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/lexical/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/lexical/index.d.ts deleted file mode 100644 index 994c6d51..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/lexical/index.d.ts +++ /dev/null @@ -1,112 +0,0 @@ -import { InsertTableCommandPayloadHeaders } from '@lexical/table'; -import { LexicalEditor, NodeKey } from 'lexical'; - -export declare global { - type BlockType = - | 'root' - | 'code' - | 'h1' - | 'h2' - | 'h3' - | 'h4' - | 'h5' - | 'ol' - | 'paragraph' - | 'quote' - | 'ul'; - - interface BaseOption { - label: string; - disabled?: boolean; - icon?: Icon; - onClick: () => void; - } - - type EditorOption = BaseOption; - - interface BlockOption extends BaseOption { - type: BlockType; - } - - type InsertType = 'table' | 'image'; - - interface InsertOption extends BaseOption { - type: InsertType; - } - - interface TableForm { - rows: number; - columns: number; - includeHeaders?: InsertTableCommandPayloadHeaders; - } - - interface SetTableHeadCellWidthPayload { - nodeKey: NodeKey; - width: number; - } - - interface InsertImageCommandPayload { - src: string; - } - - interface ImageForm { - src: string; - } - - interface ImagePayload { - editor: LexicalEditor; - altText: string; - caption?: LexicalEditor; - height?: number; - key?: NodeKey; - maxWidth?: number; - showCaption?: boolean; - src: string; - width?: number; - captionsEnabled?: boolean; - } - - type InsertImagePayload = Readonly; - - interface VariableForm { - category?: NotificationVariableCategory; - name: string; - } - - interface InsertVariableCommandPayload { - category?: NotificationVariableCategory; - name: string; - } - - interface UpdateVariableCommandPayload { - nodeKey: NodeKey; - action: 'select' | 'format'; - value?: any; - } - - interface RichTextPayload { - richTextContent: string; - richTextContentJson: string; - } - - interface ToolbarStates { - bold: boolean; - italic: boolean; - underline: boolean; - strikethrough: boolean; - left: boolean; - center: boolean; - right: boolean; - justify: boolean; - h1: boolean; - h2: boolean; - h3: boolean; - ol: boolean; - ul: boolean; - link: boolean; - quote: boolean; - code: boolean; - table: boolean; - variable: boolean; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricDashboard.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricDashboard.d.ts deleted file mode 100644 index c18e374e..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricDashboard.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface MetricDashboardProps { - metricDataFunc?: MetricDashboardDataFunc; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricList.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricList.d.ts deleted file mode 100644 index 0eaecd94..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricList.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -interface MetricListProps { - activeMetricSnapshotKey?: string; - metricSnapshots?: MetricSnapshot[]; - metrics?: NavItem[]; - metricDataFunc?: MetricListDataFunc; - metricTitleFunc?: MetricListTitleFunc; - dateRange?: RangeItem; - duration?: string; - durationOptions?: SelectOption[]; - defaultCheckedAll?: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricProgress.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricProgress.d.ts deleted file mode 100644 index ad2f88fb..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricProgress.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -interface MetricProgressProps { - percentage?: number; - type?: MetricProgressType; - strokeWidth?: number; - textInside?: boolean; - intermediate?: boolean; - duration?: number; - width?: number; - showText?: boolean; - strokeLinecap?: MetricProgressStrokeLinecap; - format?: MetricProgressFormat; - label?: MetricProgressLabel | string; - labelIcon?: Icon; - detailMetrics?: SelectOption[]; - status?: MetricProgressStatus; -} - -type MetricProgressType = 'line' | 'circle' | 'dashboard'; -type MetricProgressStrokeLinecap = 'butt' | 'round' | 'square'; -type MetricProgressFormat = (percentage: number | null) => string; -type MetricProgressStatus = - | MetricProgressStatusData - | ((percentage: number | null) => MetricProgressStatusData | undefined); - -interface MetricProgressLabel { - key?: string; - title?: string; -} - -interface MetricProgressStatusData { - color?: string; - icon?: Icon; - label?: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricSnapshot.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricSnapshot.d.ts deleted file mode 100644 index 72f2375f..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricSnapshot.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -interface MetricSnapshotProps { - snapshot?: MetricSnapshot; - format?: MetricSnapshotFormat; -} - -type MetricSnapshotFormat = (percentage: number) => string; diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricTargetName.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricTargetName.d.ts deleted file mode 100644 index fc8c053c..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricTargetName.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -interface MetricTargetNameProps { - name?: string; - type?: MetricTargetType; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricTargetType.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricTargetType.d.ts deleted file mode 100644 index 2ee615c6..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/metric/MetricTargetType.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface MetricTargetTypeProps { - type?: MetricTargetType; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavAction.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavAction.d.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavLink.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavLink.d.ts deleted file mode 100644 index ae108f84..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavLink.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -interface NavLinkProps { - path?: string; - label?: string | number | boolean; - icon?: Icon; - external?: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavSidebar.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavSidebar.d.ts deleted file mode 100644 index 7acb31a5..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavSidebar.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -interface NavSidebar { - scroll: (id: string) => void; -} - -type NavSidebarType = 'list' | 'tree'; - -interface NavSidebarContent { - activeKey?: string; - items: NavItem[]; - showCheckBox?: boolean; -} - -interface NavSidebarProps extends NavSidebarContent { - type: NavSidebarType; - collapsed?: boolean; - showActions?: boolean; - defaultCheckedKeys?: string[]; - defaultExpandedKeys?: string[]; - defaultExpandAll?: boolean; - noSearch?: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavSidebarList.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavSidebarList.d.ts deleted file mode 100644 index 8b18950f..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavSidebarList.d.ts +++ /dev/null @@ -1 +0,0 @@ -type NavSidebarListProps = NavSidebarContent; diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavSidebarTree.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavSidebarTree.d.ts deleted file mode 100644 index 379c47b2..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavSidebarTree.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -interface NavSidebarTreeProps extends NavSidebarContent { - defaultCheckedKeys?: string[]; - defaultExpandedKeys?: string[]; - defaultExpandAll?: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavTabs.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavTabs.d.ts deleted file mode 100644 index 55263c3a..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/NavTabs.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -interface NavTabsProps { - items: NavItem[]; - activeKey: string; - collapsed: boolean; - toggle: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/nav/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/nav/index.d.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/select/SelectOption.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/select/SelectOption.d.ts deleted file mode 100644 index 6552f776..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/select/SelectOption.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -export declare global { - interface SelectOption { - label?: string; - value?: T; - icon?: Icon; - disabled?: boolean; - children?: SelectOption[]; - - [key: string]: any; - } - - interface CheckboxTreeSelectOption extends SelectOption { - id?: string; - checked?: boolean; - intermediate?: boolean; - horizontal?: boolean; - labelWidth?: string; - children?: CheckboxTreeSelectOption[]; - } - - type CheckboxStatus = 'checked' | 'unchecked' | 'indeterminate'; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/select/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/select/index.d.ts deleted file mode 100644 index 4b1ab393..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/select/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './SelectOption'; diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/switch/Switch.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/switch/Switch.d.ts deleted file mode 100644 index e31e7f69..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/switch/Switch.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare global { - interface SwitchProps { - modelValue: boolean; - disabled?: boolean; - activeColor?: string; - inactiveColor?: string; - activeIcon?: Icon; - inactiveIcon?: Icon; - activeText?: string; - inactiveText?: string; - width?: number; - loading?: boolean; - inlinePrompt?: boolean; - tooltip?: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/tab/ActionTab.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/tab/ActionTab.d.ts deleted file mode 100644 index 8e748ff1..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/tab/ActionTab.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -interface ActionTabProps { - icon?: Icon; - title?: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/tab/Tab.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/tab/Tab.d.ts deleted file mode 100644 index 1b50a7dc..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/tab/Tab.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare global { - interface Tab extends DraggableItemData { - id?: number; - path: string; - isAction?: boolean; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/table/Table.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/table/Table.d.ts deleted file mode 100644 index 38d6b628..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/table/Table.d.ts +++ /dev/null @@ -1,225 +0,0 @@ -import { Ref, VNode } from 'vue'; -import { - AnyObject, - Store, - StoreMutations, - TableColumnCtx, -} from 'element-plus/lib/components/table/src/table/defaults'; -import { - TABLE_ACTION_CUSTOMIZE_COLUMNS, - TABLE_ACTION_EXPORT, - TABLE_PAGINATION_POSITION_ALL, - TABLE_PAGINATION_POSITION_BOTTOM, - TABLE_PAGINATION_POSITION_TOP, -} from '@/constants/table'; -import { - FilterMethods, - Filters, -} from 'element-plus/lib/components/table/src/table-column/defaults'; - -export declare global { - interface TableProps { - data: TableData; - columns: TableColumn[]; - selectedColumnKeys: string[]; - total: number; - page: number; - pageSize: number; - rowKey: string | ((row: any) => string); - selectable: boolean; - visibleButtons: BuiltInTableActionButtonName[]; - hideFooter: boolean; - selectableFunction?: TableSelectableFunction; - paginationLayout: string; - loading: boolean; - paginationPosition: TablePaginationPosition; - height?: string | number; - maxHeight?: string | number; - embedded?: boolean; - } - - interface TableColumn { - key: string; - label: string; - icon?: string | string[]; - width?: number | string; - minWidth?: number | string; - index?: number; - align?: string; - sortable?: boolean; - fixed?: string | boolean; - rowKey?: string; - buttonsType?: 'button' | 'button-group'; - buttonGroupType?: BasicType; - buttonGroupSize?: BasicSize; - buttons?: TableColumnButtons; - value?: TableValueFunction | any; - disableTransfer?: boolean; - defaultHidden?: boolean; - hasSort?: boolean; - hasFilter?: boolean; - filterItems?: SelectOption[]; - allowFilterSearch?: boolean; - allowFilterItems?: boolean; - required?: boolean; - className?: string; - proOnly?: boolean; - noPadding?: boolean; - header?: JSX.Element | (() => JSX.Element) | (() => VNode) | VNode; - } - - type TableColumns = TableColumn[]; - - interface TableAnyRowData { - [key: string]: any; - } - - type TableData = T[]; - - interface TableDataWithTotal { - data: TableData; - total: number; - } - - interface TableColumnsMap { - [key: string]: TableColumn; - } - - interface TableColumnCtx { - id: string; - realWidth: number; - type: string; - label: string; - className: string; - labelClassName: string; - property: string; - prop: string; - width: string | number; - minWidth: string | number; - renderHeader: (data: CI) => VNode; - sortable: boolean | string; - sortMethod: (a: T, b: T) => number; - sortBy: string | ((row: T, index: number) => string) | string[]; - resizable: boolean; - columnKey: string; - rawColumnKey: string; - align: string; - headerAlign: string; - showTooltipWhenOverflow: boolean; - showOverflowTooltip: boolean; - fixed: boolean | string; - formatter: ( - row: T, - column: TableColumnCtx, - cellValue: any, - index: number - ) => VNode; - selectable: (row: T, index: number) => boolean; - reserveSelection: boolean; - filterMethod: FilterMethods; - filteredValue: string[]; - filters: Filters; - filterPlacement: string; - filterMultiple: boolean; - index: number | ((index: number) => number); - sortOrders: ('ascending' | 'descending' | null)[]; - renderCell: (data: any) => void; - colSpan: number; - rowSpan: number; - children: TableColumnCtx[]; - level: number; - filterable: boolean | FilterMethods | Filters; - order: string; - isColumnGroup: boolean; - columns: TableColumnCtx[]; - getColumnIndex: () => number; - no: number; - filterOpened?: boolean; - } - - interface TableColumnCtxMap { - [key: string]: TableColumnCtx; - } - - interface TableColumnButton { - key?: 'filter' | 'sort'; - type?: string; - size?: string; - icon?: Icon | TableValueFunction; - tooltip?: string | TableButtonTooltipFunction; - isHtml?: boolean; - disabled?: TableButtonDisabledFunction; - loading?: TableButtonLoadingFunction; - onClick?: TableButtonOnClickFunction; - id?: string; - className?: string; - action: string; - contextMenu?: boolean; - } - - type TableColumnButtonsFunction = (row?: T) => TableColumnButton[]; - - type TableColumnButtons = - | TableColumnButton[] - | TableColumnButtonsFunction; - - type TableValueFunction = ( - row: T, - rowIndex?: number, - column?: TableColumn - ) => R; - type TableButtonOnClickFunction = ( - row: T, - rowIndex?: number, - column?: TableColumn - ) => void; - type TableButtonTooltipFunction = ( - row: T, - rowIndex?: number, - column?: TableColumn - ) => string; - type TableButtonDisabledFunction = ( - row: T, - rowIndex?: number, - column?: TableColumn - ) => boolean; - type TableButtonLoadingFunction = ( - row: T, - rowIndex?: number, - column?: TableColumn - ) => boolean; - type TableFilterItemsFunction = ( - filter?: TableHeaderDialogFilterData, - column?: TableColumn - ) => SelectOption[]; - type TableSelectableFunction = ( - row: T, - rowIndex?: number - ) => boolean; - type TableRowKeyFunction = (row: T) => string | undefined; - - interface TableStore extends Store { - mutations: TableStoreMutations; - commit: (mutation: string, payload: any) => void; - updateColumns: () => void; - } - - interface TableStoreMutations extends StoreMutations { - setColumns: (states: TableStoreStates, columns: TableColumnCtx[]) => void; - } - - interface TableStoreStates { - _data: Ref; - _columns: Ref; - } - - interface TablePagination { - page: number; - size: number; - } - - type TablePaginationPosition = - | TABLE_PAGINATION_POSITION_TOP - | TABLE_PAGINATION_POSITION_BOTTOM - | TABLE_PAGINATION_POSITION_ALL; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableActions.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableActions.d.ts deleted file mode 100644 index 333cce3b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableActions.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { - TABLE_ACTION_ADD, - TABLE_ACTION_CUSTOMIZE_COLUMNS, - TABLE_ACTION_DELETE, - TABLE_ACTION_EDIT, - TABLE_ACTION_EXPORT, -} from '@/constants/table'; - -declare global { - interface TableActionsProps { - selection: TableData; - visibleButtons: BuiltInTableActionButtonName[]; - } - - type BuiltInTableActionButtonName = - | TABLE_ACTION_ADD - | TABLE_ACTION_EDIT - | TABLE_ACTION_DELETE - | TABLE_ACTION_EXPORT - | TABLE_ACTION_CUSTOMIZE_COLUMNS; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableCell.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableCell.d.ts deleted file mode 100644 index 6692903b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableCell.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -interface TableCellProps { - column: TableColumn; - row: any; - rowIndex: number; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableColumnsTransfer.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableColumnsTransfer.d.ts deleted file mode 100644 index 0fc34581..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableColumnsTransfer.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -interface TableColumnsTransferProps { - visible: boolean; - columns: TableColumn[]; - selectedColumnKeys: string[]; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeader.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeader.d.ts deleted file mode 100644 index e6418059..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeader.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -interface TableHeaderProps { - column: TableColumn; - index?: number; -} - -interface TableHeaderActionStatusMap { - filter: TableHeaderActionStatus; - sort: TableHeaderActionStatus; -} - -interface TableHeaderActionStatus { - active: boolean; - focused: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderAction.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderAction.d.ts deleted file mode 100644 index 143d353b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderAction.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -interface TableHeaderActionProps { - key: string; - tooltip?: string; - isHtml?: boolean; - icon: string | string[]; - status?: TableHeaderActionStatus; - onClick?: () => void; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderDialog.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderDialog.d.ts deleted file mode 100644 index cb3a9a02..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderDialog.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -interface TableHeaderDialogProps { - visible: boolean; - column: TableColumn; - actionStatusMap: TableHeaderActionStatusMap; - filter?: TableHeaderDialogFilterData; - sort?: SortData; -} - -interface TableHeaderDialogValue { - sort?: SortData; - filter?: TableHeaderDialogFilterData; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderDialogFilter.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderDialogFilter.d.ts deleted file mode 100644 index 0d6310f5..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderDialogFilter.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -interface TableHeaderDialogFilterProps { - column?: TableColumn; - searchString?: string; - conditions?: FilterConditionData[]; -} - -interface TableHeaderDialogFilterData { - searchString?: string; - conditions?: FilterConditionData[]; - items?: string[]; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderDialogSort.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderDialogSort.d.ts deleted file mode 100644 index 27daf923..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/table/TableHeaderDialogSort.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface TableHeaderDialogSortProps { - value?: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/table/index.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/table/index.d.ts deleted file mode 100644 index 75193adc..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/table/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './Table'; diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/time/Duration.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/time/Duration.d.ts deleted file mode 100644 index f8f13446..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/time/Duration.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface DurationProps { - duration?: number; - isTag?: boolean; - size: BasicSize; - tooltip?: string; - icon?: Icon; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/time/Time.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/time/Time.d.ts deleted file mode 100644 index c4b09f16..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/time/Time.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -interface TimeProps { - time?: Date | string; - ago: boolean; - format: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/transfer/Transfer.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/transfer/Transfer.d.ts deleted file mode 100644 index f1753232..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/transfer/Transfer.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { DataItem, Key } from 'element-plus/lib/el-transfer/src/transfer'; - -declare global { - interface TransferProps { - value: Key[]; - data: DataItem[]; - titles: string[]; - buttonTexts: string[]; - buttonTooltips: string[]; - } - - interface DataMap { - [key: string]: DataItem; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/components/ui/transfer/TransferPanel.d.ts b/frontend/crawlab-ui/typings/interfaces/components/ui/transfer/TransferPanel.d.ts deleted file mode 100644 index 25934093..00000000 --- a/frontend/crawlab-ui/typings/interfaces/components/ui/transfer/TransferPanel.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { DataItem, Key } from 'element-plus/lib/el-transfer/src/transfer'; - -declare global { - interface TransferPanelProps { - checked: Key[]; - data: DataItem[]; - title: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/directives/auth/auth.d.ts b/frontend/crawlab-ui/typings/interfaces/directives/auth/auth.d.ts deleted file mode 100644 index 5a37d7f4..00000000 --- a/frontend/crawlab-ui/typings/interfaces/directives/auth/auth.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare global { - type Auth = string | { action: string } | undefined; -} diff --git a/frontend/crawlab-ui/typings/interfaces/directives/export/export.d.ts b/frontend/crawlab-ui/typings/interfaces/directives/export/export.d.ts deleted file mode 100644 index e3bbf2eb..00000000 --- a/frontend/crawlab-ui/typings/interfaces/directives/export/export.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export declare global { - type ExportType = 'csv' | 'json'; - - type ExportDirectiveTarget = string | (() => string); - - type ExportDirectiveConditions = - | FilterConditionData[] - | (() => FilterConditionData[]); - - interface ExportDirectivePayload { - target: ExportDirectiveTarget; - conditions?: ExportDirectiveConditions; - dbId?: string; - } - - type ExportDirective = ExportDirectiveTarget | ExportDirectivePayload; -} diff --git a/frontend/crawlab-ui/typings/interfaces/directives/index.d.ts b/frontend/crawlab-ui/typings/interfaces/directives/index.d.ts deleted file mode 100644 index dfb6ed2a..00000000 --- a/frontend/crawlab-ui/typings/interfaces/directives/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from './track/track'; -export * from './locate/locate'; -export * from './auth/auth'; -export * from './export/export'; diff --git a/frontend/crawlab-ui/typings/interfaces/directives/locate/locate.d.ts b/frontend/crawlab-ui/typings/interfaces/directives/locate/locate.d.ts deleted file mode 100644 index 386bedee..00000000 --- a/frontend/crawlab-ui/typings/interfaces/directives/locate/locate.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare global { - type Locate = string | { name: string }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/directives/track/track.d.ts b/frontend/crawlab-ui/typings/interfaces/directives/track/track.d.ts deleted file mode 100644 index 19b156df..00000000 --- a/frontend/crawlab-ui/typings/interfaces/directives/track/track.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -export declare global { - interface Track { - code: string; - type?: TrackEventType; - params?: TrackEventParams; - events?: (keyof HTMLElementEventMap)[]; - } - - type TrackEventType = 'CLK' | 'EXP'; - - type TrackEventParamsWrapped = { [key: string]: any }; - - type TrackEventParams = { - [key: string]: string | number | boolean | Function | undefined; - }; - - type TrackEventListenerDict = { [key: string]: EventListener }; - - interface TrackSendEventPayload { - eventCode: string; - eventParams?: TrackEventParams; - eventType?: TrackEventType; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/element/index.d.ts b/frontend/crawlab-ui/typings/interfaces/element/index.d.ts deleted file mode 100644 index e23d4335..00000000 --- a/frontend/crawlab-ui/typings/interfaces/element/index.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export declare global { - type BasicType = - | 'primary' - | 'success' - | 'warning' - | 'danger' - | 'info' - | 'text' - | 'default'; - type BasicEffect = 'dark' | 'light' | 'plain'; - type BasicSize = 'small' | 'default' | 'large'; - - type ElFormValidator = (rule: any, value: any, callback: any) => void; - - interface ElFormRule { - required: boolean; - trigger: string; - validator: ElFormValidator; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/global.d.ts b/frontend/crawlab-ui/typings/interfaces/global.d.ts deleted file mode 100644 index 02baf75b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/global.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { App } from 'vue'; -import * as THREE from 'three'; - -declare global { - interface Window { - VITE_APP_API_BASE_URL?: string; - threeJSApp?: any; - initCanvas?: () => void; - resetCanvas?: () => void; - disposeCanvas?: () => void; - _hmt?: Array; - 'vue3-sfc-loader'?: { loadModule }; - _app?: App; - _t?: (path: string, args?: any) => string; - _tc?: (path: string, c: number, args?: any) => string; - _tp?: (pluginName: string, path: string) => string; - THREE?: THREE; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/common.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/common.d.ts deleted file mode 100644 index 270d82dc..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/common.d.ts +++ /dev/null @@ -1,208 +0,0 @@ -export declare global { - interface LNavActions { - new: { - label: string; - tooltip: string; - }; - filter: { - search: { - placeholder: string; - }; - }; - } - - interface LCommon { - control: { - enabled: string; - disabled: string; - }; - actions: { - view: string; - edit: string; - clone: string; - delete: string; - run: string; - add: string; - bookmark: string; - restart: string; - cancel: string; - forceCancel: string; - confirm: string; - copy: string; - create: string; - hide: string; - start: string; - stop: string; - clear: string; - apply: string; - search: string; - install: string; - uninstall: string; - viewLogs: string; - viewSpiders: string; - viewData: string; - viewFiles: string; - uploadFiles: string; - viewTasks: string; - viewSchedules: string; - viewChanges: string; - viewCommits: string; - viewDatabases: string; - viewConsole: string; - viewPages: string; - viewUsers: string; - export: string; - exportData: string; - configure: string; - update: string; - upgrade: string; - save: string; - change: string; - manage: string; - inferDataFieldsTypes: string; - unlink: string; - goto: string; - selectAll: string; - viewMail: string; - viewTemplate: string; - viewChannels: string; - viewMonitoring: string; - viewDependencies: string; - previewData: string; - insertBefore: string; - insertAfter: string; - rename: string; - drop: string; - checkAll: string; - uncheckAll: string; - sendTestMessage: string; - retry: string; - send: string; - }; - messageBox: { - confirm: { - delete: string; - restart: string; - cancel: string; - forceCancel: string; - run: string; - stop: string; - install: string; - start: string; - deleteSelected: string; - proceed: string; - create: string; - continue: string; - setDefault: string; - }; - }; - message: { - success: { - delete: string; - restart: string; - run: string; - copy: string; - start: string; - save: string; - upload: string; - install: string; - uninstall: string; - startInstall: string; - startUninstall: string; - enabled: string; - disabled: string; - action: string; - update: string; - }; - info: { - cancel: string; - forceCancel: string; - stop: string; - retry: string; - }; - error: { - login: string; - action: string; - }; - }; - notification: { - loggedOut: string; - }; - tabs: { - overview: string; - spiders: string; - schedules: string; - tasks: string; - files: string; - git: string; - data: string; - settings: string; - logs: string; - dependencies: string; - triggers: string; - template: string; - remote: string; - branches: string; - tags: string; - references: string; - changes: string; - commits: string; - ignore: string; - monitoring: string; - channels: string; - mail: string; - databases: string; - console: string; - columns: string; - indexes: string; - results: string; - output: string; - patterns: string; - preview: string; - }; - status: { - unassigned: string; - unknown: string; - invalid: string; - currentlyUnavailable: string; - unauthorized: string; - loading: string; - upgradePro: string; - alreadyUpToDate: string; - }; - mode: { - default: string; - other: string; - all: string; - unlimited: string; - preview: string; - }; - placeholder: { - empty: string; - unrestricted: string; - }; - select: { - input: { - noDataText: string; - }; - }; - error: { - common: string; - }; - order: { - asc: string; - desc: string; - }; - validate: { - cannotBeEmpty: string; - }; - boolean: { - true: string; - false: string; - }; - builtin: { - admin: string; - rootAdmin: string; - }; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/ai.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/ai.d.ts deleted file mode 100644 index 02ecc5d4..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/ai.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -export declare global { - interface LComponentsAI { - chatbot: { - title: string; - tooltip: string; - inputPlaceholder: string; - button: string; - config: { - title: string; - llmProvider: string; - systemPrompt: string; - selectProvider: string; - enterSystemPrompt: string; - model: string; - selectModel: string; - apiKey: string; - enterApiKey: string; - temperature: string; - maxTokens: string; - }; - history: string; - new: string; - enterHint: string; - poweredBy: string; - cancel: string; - generating: string; - searchHistory: string; - noConversations: string; - newChat: string; - addModel: { - label: string; - tooltip: string; - }; - tokens: string; - promptTokens: string; - completionTokens: string; - totalTokens: string; - }; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/autoprobe.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/autoprobe.d.ts deleted file mode 100644 index f9257f75..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/autoprobe.d.ts +++ /dev/null @@ -1,129 +0,0 @@ -interface LComponentsAutoProbe { - form: { - name: string; - url: string; - query: string; - queryPlaceholder: string; - runOnCreate: string; - viewport: string; - viewports: { - pc: { - normal: string; - wide: string; - small: string; - }; - }; - viewportWidth: string; - viewportHeight: string; - viewportPx: string; - }; - task: { - status: { - label: { - pending: string; - running: string; - completed: string; - failed: string; - cancelled: string; - unknown: string; - }; - tooltip: { - pending: string; - running: string; - completed: string; - failed: string; - cancelled: string; - unknown: string; - }; - }; - }; - stats: { - totalFields: string; - totalLists: string; - paginationType: string; - noPagination: string; - }; - navItems: { - lists: string; - fields: string; - pagination: string; - list: string; - field: string; - }; - patterns: { - selectItem: string; - }; - field: { - title: string; - name: string; - selector: string; - type: string; - extractionType: string; - attributeName: string; - defaultValue: string; - notFound: string; - self: string; - }; - list: { - title: string; - name: string; - listSelector: string; - listSelectorType: string; - itemSelector: string; - itemSelectorType: string; - fields: string; - nestedLists: string; - notFound: string; - self: string; - }; - pagination: { - title: string; - type: string; - selectorType: string; - selector: string; - maxPages: string; - startPage: string; - notFound: string; - }; - pagePattern: { - title: string; - type: string; - name: string; - stats: string; - fields: string; - lists: string; - hasPagination: string; - notFound: string; - fieldCount: string; - types: { - field: string; - list: string; - pagination: string; - }; - selector: string; - selectorType: string; - selectorTypes: { - css: string; - xpath: string; - regex: string; - }; - extractionType: string; - extractionTypes: { - text: string; - attribute: string; - html: string; - }; - attribute: string; - elementType: string; - elementTypes: { - list: string; - listItem: string; - field: string; - pagination: string; - }; - displayConfig: { - showLabel: string; - focusMode: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/chart.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/chart.d.ts deleted file mode 100644 index 6638ccad..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/chart.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -interface LComponentsChart { - pieChart: { - noDataAvailable: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/database.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/database.d.ts deleted file mode 100644 index f7577ba1..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/database.d.ts +++ /dev/null @@ -1,157 +0,0 @@ -export declare global { - interface LComponentsDatabase { - label: { - text: string; - tooltip: string; - }; - form: { - name: string; - description: string; - dataSource: string; - status: string; - host: string; - port: string; - url: string; - hosts: string; - address: string; - database: string; - username: string; - password: string; - changePassword: string; - mongo: { - authSource: string; - authMechanism: string; - }; - mysql: { - charset: string; - parseTime: string; - }; - postgresql: { - sslMode: string; - }; - default: { - host: string; - port: string; - url: string; - database: string; - }; - }; - dataSources: { - default: string; - mongo: string; - mysql: string; - postgres: string; - mssql: string; - elasticsearch: string; - kafka: string; - redis: string; - }; - status: { - label: { - online: string; - offline: string; - unknown: string; - }; - tooltip: { - online: string; - offline: string; - unknown: string; - }; - }; - default: { - name: string; - host: string; - port: string; - }; - message: { - success: { - change: string; - }; - warning: { - emptyQuery: string; - }; - }; - messageBox: { - confirm: { - renameTable: { - title: string; - message: string; - }; - }; - prompt: { - dropTable: { - title: string; - message: string; - placeholder: string; - error: string; - }; - }; - }; - connectType: { - label: { - standard: string; - url: string; - hosts: string; - }; - tips: { - standard: string; - url: string; - hosts: string; - }; - }; - databases: { - database: { - name: string; - tables: { - name: string; - columns: string; - indexes: string; - }; - create: { - name: string; - }; - }; - table: { - name: string; - columns: { - name: string; - type: string; - notNull: string; - default: string; - primary: string; - autoIncrement: string; - }; - indexes: { - name: string; - type: string; - columns: string; - unique: string; - column: { - name: string; - order: string; - }; - }; - create: { - name: string; - }; - actions: { - addColumn: string; - editColumns: string; - editIndexColumns: string; - editIndexes: string; - truncate: string; - drop: string; - }; - }; - labels: { - columns: string; - indexes: string; - }; - }; - actions: { - commitChanges: string; - rollbackChanges: string; - runQuery: string; - }; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/date.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/date.d.ts deleted file mode 100644 index f3fcc47b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/date.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -interface LComponentsDate { - dateRangePicker: { - options: { - today: string; - yesterday: string; - pastNMinutes: string; - pastNHours: string; - pastNDays: string; - pastNWeeks: string; - pastNMonths: string; - custom: string; - }; - }; - units: { - second: string; - minute: string; - hour: string; - day: string; - week: string; - month: string; - quarter: string; - year: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/dialog.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/dialog.d.ts deleted file mode 100644 index 14993f11..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/dialog.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -interface LComponentsDialog { - create: string; - edit: string; - dialog: string; - type: { - single: string; - batch: string; - }; - batch: { - add: string; - editAll: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/editor.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/editor.d.ts deleted file mode 100644 index 28e98905..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/editor.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -interface LComponentsEditor { - models: { - link: string; - table: string; - image: string; - variable: string; - }; - actions: { - insert: string; - }; - toolbar: { - history: { - undo: string; - redo: string; - }; - format: { - bold: string; - italic: string; - underline: string; - strikethrough: string; - }; - block: { - code: string; - h1: string; - h2: string; - h3: string; - h4: string; - h5: string; - ol: string; - ul: string; - paragraph: string; - quote: string; - }; - insert: { - link: string; - table: string; - image: string; - variable: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/empty.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/empty.d.ts deleted file mode 100644 index e0abaa0c..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/empty.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface LComponentsEmpty { - noDataAvailable: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/environment.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/environment.d.ts deleted file mode 100644 index 90d755f0..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/environment.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare global { - interface LComponentsEnvironment { - form: { - key: string; - value: string; - }; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/export.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/export.d.ts deleted file mode 100644 index 861b58fa..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/export.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -interface LComponentsExport { - type: string; - target: string; - types: { - csv: string; - json: string; - xlsx: string; - }; - exporting: { - csv: string; - json: string; - xlsx: string; - }; - status: { - exporting: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/file.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/file.d.ts deleted file mode 100644 index b9299858..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/file.d.ts +++ /dev/null @@ -1,107 +0,0 @@ -interface LComponentsFile { - editor: { - navTabs: { - close: string; - closeOthers: string; - closeAll: string; - showMore: string; - }; - navMenu: { - newFile: string; - newDirectory: string; - uploadFiles: string; - rename: string; - duplicate: string; - delete: string; - createSpider: string; - deleteSpider: string; - }; - sidebar: { - search: { - placeholder: string; - }; - settings: string; - toggle: { - showFiles: string; - hideFiles: string; - }; - }; - empty: { - placeholder: string; - }; - messageBox: { - prompt: { - newFile: string; - newDirectory: string; - rename: string; - duplicate: string; - }; - validator: { - errorMessage: { - newNameNotSameAsOldName: string; - }; - }; - }; - settings: { - title: string; - form: { - theme: string; - }; - }; - createWithAi: { - title: string; - form: { - fileName: string; - url: string; - language: string; - framework: string; - prompt: string; - }; - }; - }; - upload: { - title: string; - form: { - mode: string; - targetDirectory: string; - }; - buttons: { - files: { - dragFilesHereOr: string; - clickToUpload: string; - }; - folder: { - clickToSelectFolderToUpload: string; - }; - }; - tooltip: { - folderName: string; - filesCount: string; - }; - mode: { - folder: string; - files: string; - }; - fileList: { - title: string; - }; - }; - actions: { - tooltip: { - fileEditorActions: string; - createWithAi: string; - createWithAiDisabled: string; - uploadFiles: string; - export: string; - fileEditorSettings: string; - }; - }; - rootDirectory: string; - diff: { - title: string; - form: { - original: string; - modified: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/form.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/form.d.ts deleted file mode 100644 index 4103c081..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/form.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface LComponentsForm { - table: { - field: { - defaultPlaceholder: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/git.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/git.d.ts deleted file mode 100644 index fb64a6e9..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/git.d.ts +++ /dev/null @@ -1,202 +0,0 @@ -interface LComponentsGit { - form: { - repoUrl: string; - name: string; - currentBranch: string; - authType: string; - username: string; - password: string; - privateKey: string; - status: string; - error: string; - autoPull: string; - urlInvalid: string; - spider: string; - cloneLogs: string; - }; - common: { - currentBranch: string; - message: { - success: { - checkout: string; - pull: string; - commit: string; - push: string; - createSpider: { - title: string; - action: string; - }; - }; - }; - messageBox: { - confirm: { - branch: { - delete: string; - }; - push: string; - }; - prompt: { - branch: { - new: { - title: string; - validate: { - notEmpty: string; - notSame: string; - }; - }; - }; - commit: { - title: string; - placeholder: string; - validate: { - notEmpty: string; - }; - }; - }; - }; - box: { - title: { - pull: string; - push: string; - }; - }; - actions: { - pull: string; - commit: string; - }; - status: { - loading: { - label: string; - tooltip: string; - }; - }; - }; - branches: { - select: string; - new: string; - local: string; - remote: string; - pull: string; - commit: string; - push: string; - }; - tags: { - new: string; - }; - actions: { - title: string; - label: { - retry: string; - checkout: string; - pull: string; - commit: string; - rollback: string; - push: string; - }; - tooltip: { - retry: string; - checkout: string; - pull: string; - commit: string; - rollback: string; - push: string; - }; - }; - status: { - label: { - pending: string; - cloning: string; - ready: string; - error: string; - pulling: string; - pushing: string; - unknown: string; - }; - tooltip: { - pending: string; - cloning: string; - ready: string; - error: string; - pulling: string; - pushing: string; - unknown: string; - }; - }; - tabs: { - remote: string; - references: string; - logs: string; - changes: string; - ignore: string; - }; - checkout: { - type: string; - reference: string; - }; - references: { - type: { - branch: string; - tag: string; - }; - table: { - columns: { - timestamp: string; - }; - }; - }; - logs: { - table: { - columns: { - reference: string; - commitMessage: string; - author: string; - timestamp: string; - }; - }; - }; - changes: { - status: { - untracked: string; - modified: string; - added: string; - deleted: string; - renamed: string; - copied: string; - updatedButUnmerged: string; - }; - table: { - columns: { - changedFile: string; - status: string; - }; - actions: { - add: string; - rollback: string; - diff: string; - }; - empty: string; - }; - }; - spiders: { - title: string; - actions: { - label: { - create: string; - }; - tooltip: { - create: string; - }; - }; - gitRootPath: string; - }; - diff: { - title: string; - }; - providers: { - github: string; - bitbucket: string; - gitlab: string; - aws: string; - git: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/index.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/index.d.ts deleted file mode 100644 index 5f9edaa8..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/index.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -export declare global { - interface LComponents { - // common components - chart: LComponentsChart; - table: LComponentsTable; - dialog: LComponentsDialog; - transfer: LComponentsTransfer; - nav: LComponentsNav; - tab: LComponentsTab; - git: LComponentsGit; - empty: LComponentsEmpty; - form: LComponentsForm; - file: LComponentsFile; - date: LComponentsDate; - lexical: LComponentsLexical; - metric: LComponentsMetric; - export: LComponentsExport; - result: LComponentsResult; - database: LComponentsDatabase; - environment: LComponentsEnvironment; - notification: LComponentsNotification; - editor: LComponentsEditor; - ai: LComponentsAI; - autoprobe: LComponentsAutoProbe; - - // model-related components - node: LComponentsNode; - project: LComponentsProject; - spider: LComponentsSpider; - schedule: LComponentsSchedule; - task: LComponentsTask; - user: LComponentsUser; - role: LComponentsRole; - tag: LComponentsTag; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/input.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/input.d.ts deleted file mode 100644 index d0d236ce..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/input.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -interface LComponentsInput { - tagInput: { - tagName: string; - addTag: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/lexical.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/lexical.d.ts deleted file mode 100644 index 407ffe8c..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/lexical.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -interface LComponentsLexical { - link: { - text: string; - url: string; - validate: { - urlEmpty: string; - urlInvalid: string; - textEmpty: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/metric.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/metric.d.ts deleted file mode 100644 index 1262d0b1..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/metric.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -interface LComponentsMetric { - select: { - placeholder: string; - }; - metrics: { - cpu_usage_percent: string; - total_memory: string; - available_memory: string; - used_memory: string; - used_memory_percent: string; - total_disk: string; - available_disk: string; - used_disk: string; - used_disk_percent: string; - disk_read_bytes_rate: string; - disk_write_bytes_rate: string; - network_bytes_sent_rate: string; - network_bytes_recv_rate: string; - connections: string; - query_per_second: string; - cache_hit_ratio: string; - replication_lag: string; - lock_wait_time: string; - goroutine_count: string; - }; - groups: { - disk_io_bytes_rate: string; - network_io_bytes_rate: string; - }; - timeUnits: { - s: string; - m: string; - h: string; - d: string; - w: string; - M: string; - y: string; - }; - timeRanges: { - '15m': string; - '1h': string; - '24h': string; - '7d': string; - '30d': string; - }; - noData: { - label: string; - tooltip: string; - }; - unavailable: { - chart: string; - option: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/nav.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/nav.d.ts deleted file mode 100644 index 7fdd08a8..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/nav.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -interface LComponentsNav { - actions: { - back: string; - save: string; - }; - tabs: { - toggle: { - collapse: string; - expand: string; - }; - }; - sidebar: { - search: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/node.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/node.d.ts deleted file mode 100644 index 9d7ffd83..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/node.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -interface LComponentsNode { - form: { - key: string; - name: string; - type: string; - ip: string; - mac: string; - hostname: string; - enabled: string; - maxRunners: string; - description: string; - status: string; - }; - nodeType: { - label: { - master: string; - worker: string; - }; - }; - nodeStatus: { - label: { - online: string; - offline: string; - unknown: string; - }; - tooltip: { - unregistered: string; - registered: string; - online: string; - offline: string; - unknown: string; - }; - }; - nodeRunners: { - tooltip: { - unavailable: string; - running: string; - available: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/notification.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/notification.d.ts deleted file mode 100644 index 4291790b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/notification.d.ts +++ /dev/null @@ -1,175 +0,0 @@ -interface SettingTemplate { - label: string; - name: string; - description: string; - title: string; - template_markdown?: string; - template_rich_text?: string; -} - -interface LComponentsNotification { - dialog: { - insertVariable: { - title: string; - form: { - variableCategory: string; - variable: string; - }; - formRules: { - variableEmpty: string; - }; - }; - }; - trigger: { - label: string; - tooltip: string; - target: { - label: string; - change: { - label: string; - note: string; - }; - }; - targets: { - task: string; - node: string; - }; - }; - template: { - mode: { - change: { - label: string; - note: string; - }; - }; - modes: { - richText: string; - markdown: string; - }; - }; - variableCategories: { - task: string; - node: string; - spider: string; - schedule: string; - alert: string; - metric: string; - }; - variables: { - invalid: string; - common: { - id: string; - createdAt: string; - createdBy: string; - updatedAt: string; - updatedBy: string; - }; - task: { - status: string; - mode: string; - cmd: string; - param: string; - priority: string; - error: string; - pid: string; - }; - taskStat: { - startTs: string; - endTs: string; - waitDuration: string; - runtimeDuration: string; - totalDuration: string; - resultCount: string; - }; - node: { - key: string; - name: string; - description: string; - ip: string; - mac: string; - hostname: string; - isMaster: string; - status: string; - enabled: string; - active: string; - activeAt: string; - availableRunners: string; - maxRunners: string; - }; - spider: { - name: string; - description: string; - mode: string; - cmd: string; - param: string; - priority: string; - }; - spiderStat: { - results: string; - waitDuration: string; - runtimeDuration: string; - totalDuration: string; - averageWaitDuration: string; - averageRuntimeDuration: string; - averageTotalDuration: string; - }; - schedule: { - name: string; - description: string; - cron: string; - cmd: string; - param: string; - priority: string; - mode: string; - enabled: string; - }; - alert: { - name: string; - description: string; - enabled: string; - metricName: string; - operator: string; - lastingDuration: string; - targetValue: string; - level: string; - }; - }; - channel: { - label: string; - tooltip: string; - }; - setting: { - templates: { - task_finish: SettingTemplate; - task_error: SettingTemplate; - node_status_change: SettingTemplate; - node_offline: SettingTemplate; - alert_cpu_critical: SettingTemplate; - // alert_cpu_warning: SettingTemplate; - // alert_memory_critical: SettingTemplate; - alert_memory_warning: SettingTemplate; - // alert_disk_critical: SettingTemplate; - // alert_disk_warning: SettingTemplate; - }; - }; - request: { - status: { - label: { - sending: string; - success: string; - error: string; - unknown: string; - }; - tooltip: { - sending: string; - success: string; - error: string; - unknown: string; - }; - }; - test: { - label: string; - tooltip: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/project.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/project.d.ts deleted file mode 100644 index 84b96d42..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/project.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface LComponentsProject { - form: { - name: string; - tags: string; - description: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/result.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/result.d.ts deleted file mode 100644 index 9cac723b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/result.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -interface LComponentsResult { - form: { - dataType: string; - }; - types: { - [key: string]: string; - }; - dedup: { - dialog: { - fields: { - title: string; - placeholder: string; - }; - }; - labels: { - dedupType: string; - }; - types: { - [key: string]: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/role.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/role.d.ts deleted file mode 100644 index 86fc1d9b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/role.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface LComponentsRole { - form: { - name: string; - description: string; - pages: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/schedule.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/schedule.d.ts deleted file mode 100644 index 3715821d..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/schedule.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -interface LComponentsSchedule { - form: { - name: string; - spider: string; - cron: string; - cronInfo: string; - command: string; - param: string; - defaultMode: string; - enabled: string; - selectedTags: string; - selectedNodes: string; - description: string; - }; - rules: { - message: { - invalidCronExpression: string; - }; - }; - message: { - success: { - enable: string; - disable: string; - }; - }; - cron: { - title: { - cronDescription: string; - nextRun: string; - cron: string; - description: string; - next: string; - }; - }; - dialog: { - run: { - title: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/spider.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/spider.d.ts deleted file mode 100644 index aa6cb6ab..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/spider.d.ts +++ /dev/null @@ -1,79 +0,0 @@ -interface LComponentsSpider { - form: { - name: string; - project: string; - command: string; - param: string; - defaultMode: string; - resultsCollection: string; - selectedTags: string; - selectedNodes: string; - description: string; - priority: string; - incrementalSync: string; - autoInstall: string; - autoInstallDisabled: string; - git: string; - gitRootPath: string; - template: string; - templateParams: { - spiderName: string; - startUrls: string; - domains: string; - }; - templateDoc: string; - }; - actions: { - files: { - tooltip: { - fileEditorActions: string; - uploadFiles: string; - fileEditorSettings: string; - export: string; - createWithAi: string; - createWithAiDisabled: string; - }; - }; - data: { - tooltip: { - dataActions: string; - export: string; - displayAllFields: string; - inferDataFieldsTypes: string; - dedup: { - enabled: string; - disabled: string; - fields: string; - }; - }; - placeholder: { - table: string; - }; - }; - }; - stat: { - totalTasks: string; - totalResults: string; - averageWaitDuration: string; - averageRuntimeDuration: string; - averageTotalDuration: string; - }; - dialog: { - run: { - title: string; - }; - }; - message: { - success: { - scheduleTask: string; - }; - }; - messageBox: { - confirm: { - changeDatabase: { - title: string; - message: string; - }; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/tab.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/tab.d.ts deleted file mode 100644 index e55a4b14..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/tab.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface LComponentsTab { - newTab: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/table.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/table.d.ts deleted file mode 100644 index 2338da12..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/table.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -interface LComponentsTable { - columns: { - actions: string; - }; - actions: { - editSelected: string; - deleteSelected: string; - export: string; - customizeColumns: string; - }; - columnsTransfer: { - title: string; - titles: { - left: string; - right: string; - }; - }; - header: { - sort: { - tooltip: { - sort: string; - sortAscending: string; - sortDescending: string; - }; - }; - filter: { - tooltip: { - filter: string; - search: string; - include: string; - }; - }; - dialog: { - sort: { - title: string; - clearSort: string; - ascending: string; - descending: string; - }; - filter: { - title: string; - search: string; - }; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/tag.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/tag.d.ts deleted file mode 100644 index 9ef6fe32..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/tag.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface LComponentsTag { - form: { - name: string; - color: string; - description: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/task.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/task.d.ts deleted file mode 100644 index 53947b49..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/task.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -interface LComponentsTask { - form: { - spider: string; - schedule: string; - node: string; - status: string; - command: string; - param: string; - mode: string; - priority: string; - selectedTags: string; - selectedNodes: string; - toRunNodes: string; - tooltip: { - goToSpider: string; - goToNode: string; - taskErrorMessage: string; - cancelTask: string; - customized: string; - }; - }; - actions: { - data: { - tooltip: { - dataActions: string; - export: string; - displayAllFields: string; - inferDataFieldsTypes: string; - }; - }; - }; - status: { - label: { - pending: string; - assigned: string; - running: string; - finished: string; - error: string; - cancelled: string; - abnormal: string; - unknown: string; - }; - tooltip: { - pending: string; - assigned: string; - running: string; - finished: string; - error: string; - cancelled: string; - abnormal: string; - unknown: string; - }; - }; - priority: { - high: string; - higher: string; - medium: string; - lower: string; - low: string; - }; - mode: { - label: { - randomNode: string; - allNodes: string; - selectedNodes: string; - selectedTags: string; - unknown: string; - }; - tooltip: { - randomNode: string; - allNodes: string; - selectedNodes: string; - selectedTags: string; - unknown: string; - }; - }; - results: { - results: string; - noResults: string; - }; - logs: { - actions: { - autoUpdateLogs: string; - }; - }; - dialog: { - create: { - title: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/transfer.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/transfer.d.ts deleted file mode 100644 index b0bc4b6c..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/transfer.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -interface LComponentsTransfer { - moveToLeft: string; - moveToRight: string; - titles: { - available: string; - enabled: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/components/user.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/components/user.d.ts deleted file mode 100644 index d83a2788..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/components/user.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -interface LComponentsUser { - form: { - username: string; - password: string; - changePassword: string; - firstName: string; - lastName: string; - fullName: string; - email: string; - role: string; - newPassword: string; - }; - role: { - admin: string; - normal: string; - }; - delete: { - tooltip: { - adminUserNonDeletable: string; - }; - }; - messageBox: { - prompt: { - changePassword: string; - }; - }; - rules: { - invalidPassword: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/global.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/global.d.ts deleted file mode 100644 index 76b05c3d..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/global.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -export declare global { - interface LGlobal { - locale: string; - lang: string; - edition: { - community: string; - pro: string; - enterprise: string; - }; - title: string; - subTitle: string; - upgrade: { - pro: { - label: string; - tooltip: string; - }; - }; - docs: string; - github: { - star: string; - }; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/index.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/index.d.ts deleted file mode 100644 index 220005cb..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/index.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { LocaleMessageDictionary } from '@intlify/core-base'; -import { VueMessageType, I18n } from 'vue-i18n'; - -export declare global { - interface L extends LocaleMessageDictionary { - global: LGlobal; - common: LCommon; - layouts: LLayouts; - router: LRouter; - components: LComponents; - views: LViews; - } - - type LI18n = I18n<{ en: L; zh: L }, {}, {}, string, false>; -} - -export * from './components'; -export * from './views'; -export * from './common'; -export * from './global'; -export * from './layouts'; -export * from './router'; diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/layouts.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/layouts.d.ts deleted file mode 100644 index 1d7dd983..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/layouts.d.ts +++ /dev/null @@ -1,132 +0,0 @@ -export declare global { - interface LDetailLayoutPage { - title: string; - tabs: T; - } - - interface LListLayoutPage { - list: { - title: string; - }; - detail?: LDetailLayoutPage; - } - - interface LLayouts { - components: { - header: { - myAccount: string; - pat: string; - disclaimer: string; - logout: string; - }; - tabsView: { - add: string; - }; - sidebar: { - expand: string; - collapse: string; - }; - }; - detailLayout: { - navTabs: { - toggle: { - tooltip: { - expand: string; - collapse: string; - }; - }; - }; - }; - routes: { - home: string; - nodes: LListLayoutPage<{ - overview: string; - tasks: string; - monitoring: string; - }>; - projects: LListLayoutPage<{ - overview: string; - spiders: string; - }>; - spiders: LListLayoutPage<{ - overview: string; - files: string; - tasks: string; - schedules: string; - data: string; - settings: string; - dependencies: string; - }>; - tasks: LListLayoutPage<{ - overview: string; - logs: string; - data: string; - }>; - schedules: LListLayoutPage<{ - overview: string; - tasks: string; - }>; - users: LListLayoutPage<{ - overview: string; - }>; - roles: LListLayoutPage<{ - overview: string; - pages: string; - users: string; - }>; - tokens: LListLayoutPage; - dependencies: LListLayoutPage; - notifications: { - title: string; - settings: LListLayoutPage<{ - overview: string; - mail: string; - template: string; - channels: string; - }>; - channels: LListLayoutPage<{ - overview: string; - }>; - requests: LListLayoutPage; - alerts: LListLayoutPage<{ - overview: string; - }>; - }; - gits: LListLayoutPage<{ - overview: string; - files: string; - changes: string; - commits: string; - spiders: string; - }>; - databases: LListLayoutPage<{ - overview: string; - databases: string; - console: string; - monitoring: string; - table: string; - data: string; - columns: string; - indexes: string; - }>; - environments: LListLayoutPage; - system: LDetailLayoutPage<{ - customize: string; - dependency: string; - environment: string; - ai: string; - models: string; - }>; - misc: LDetailLayoutPage<{ - myAccount: string; - pat: string; - disclaimer: string; - }>; - autoprobe: LListLayoutPage<{ - overview: string; - tasks: string; - patterns: string; - }>; - }; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/router.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/router.d.ts deleted file mode 100644 index 721a98ee..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/router.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -export declare global { - interface LRouter { - menuItems: { - home: string; - nodes: string; - projects: string; - spiders: string; - schedules: string; - tasks: string; - git: string; - databases: string; - users: string; - permissions: { - title: string; - children: { - users: string; - roles: string; - }; - }; - tokens: string; - dependencies: string; - env: { - deps: { - title: string; - settings: string; - python: string; - node: string; - }; - }; - notification: { - title: string; - settings: string; - channels: string; - requests: string; - alerts: string; - }; - environment: string; - system: string; - misc: { - title: string; - children: { - myAccount: string; - pat: string; - disclaimer: string; - }; - }; - autoprobe: string; - }; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/autoprobe.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/autoprobe.d.ts deleted file mode 100644 index 99b6d103..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/autoprobe.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -interface LViewsAutoProbe { - table: { - columns: { - name: string; - url: string; - query: string; - status: string; - lastTask: string; - patterns: string; - }; - }; - navActions: LNavActions & { - run: { - label: string; - tooltip: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/database.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/database.d.ts deleted file mode 100644 index 73815083..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/database.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -export declare global { - interface LViewsDatabase { - navActions: LNavActions; - navActionsExtra: { - filter: { - select: { - dataSource: { - label: string; - }; - status: { - label: string; - }; - database: { - label: string; - }; - username: { - label: string; - }; - }; - search: { - connectSettings: { - placeholder: string; - }; - }; - }; - }; - databases: { - sidebar: { - search: { - placeholder: string; - }; - }; - actions: { - createDatabase: string; - createTable: string; - }; - dialog: { - createDatabase: { - title: string; - }; - createTable: { - title: string; - tabs: { - overview: { - name: string; - form: { - name: string; - }; - }; - columns: { - name: string; - }; - indexes: { - name: string; - }; - }; - }; - }; - }; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/env.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/env.d.ts deleted file mode 100644 index 8e83faf7..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/env.d.ts +++ /dev/null @@ -1,158 +0,0 @@ -interface LViewsEnv { - deps: { - navActions: LNavActions; - navActionsExtra: { - filter: { - select: { - lang: { - label: string; - }; - nodes: { - label: string; - }; - }; - }; - }; - label: string; - repos: { - actions: { - search: { - label: string; - tooltip: string; - }; - searchNotReady: { - label: string; - tooltip: string; - python: { - title: string; - content: string; - }; - }; - installEnvironments: { - label: string; - tooltip: string; - }; - }; - tabs: { - installed: string; - search: { - pypi: string; - npm: string; - go: string; - maven: string; - chromium: string; - }; - nodes: string; - }; - empty: { - configNotSetup: { - title: string; - content: string; - action: { - label: string; - tooltip: string; - }; - }; - java: { - title: string; - content: string; - action: { - label: string; - tooltip: string; - }; - }; - }; - }; - lang: { - python: string; - node: string; - go: string; - java: string; - browser: string; - }; - dependency: { - form: { - name: string; - latestVersion: string; - installedVersion: string; - requiredVersion: string; - installedNodes: string; - allNodes: string; - selectedNodes: string; - upgrade: string; - mode: string; - version: string; - toInstallNodes: string; - toUninstallNodes: string; - status: string; - error: string; - }; - status: { - installing: string; - installed: string; - uninstalled: string; - uninstalling: string; - error: string; - abnormal: string; - }; - }; - config: { - form: { - name: string; - execCmd: string; - pkgCmd: string; - pkgSrcURL: string; - defaultVersion: string; - }; - alert: { - browser: { - nodeSetupRequired: { - content: string; - action: string; - }; - }; - }; - }; - configSetup: { - form: { - status: string; - version: string; - error: string; - }; - }; - task: { - tasks: string; - form: { - action: string; - node: string; - status: string; - dependencies: string; - time: string; - logs: string; - }; - }; - spider: { - form: { - name: string; - dependencyType: string; - requiredVersion: string; - installedVersion: string; - installedNodes: string; - }; - }; - common: { - status: { - installed: string; - installable: string; - upgradable: string; - downgradable: string; - noDependencyType: string; - }; - actions: { - installAndUpgrade: string; - installAndDowngrade: string; - searchDependencies: string; - }; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/environment.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/environment.d.ts deleted file mode 100644 index 0014bcce..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/environment.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -interface LViewsEnvironments { - table: { - columns: { - key: string; - value: string; - }; - }; - navActions: LNavActions; - messageBox: { - prompt: { - create: string; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/gits.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/gits.d.ts deleted file mode 100644 index c46d1f60..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/gits.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -interface LViewGits { - table: { - columns: { - name: string; - status: string; - spiders: string; - }; - actions: { - tooltip: { - deleteNotAllowed: string; - }; - }; - }; - navActions: LNavActions; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/home.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/home.d.ts deleted file mode 100644 index c7b3b09e..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/home.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -interface LViewsHome { - metrics: { - nodes: string; - projects: string; - spiders: string; - schedules: string; - tasks: string; - error_tasks: string; - results: string; - users: string; - }; - dailyConfig: { - title: string; - }; - tasksByStatusConfig: { - title: string; - }; - tasksByNodeConfig: { - title: string; - }; - tasksBySpiderConfig: { - title: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/index.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/index.d.ts deleted file mode 100644 index 51444d2c..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/index.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -export declare global { - interface LViews { - login: LViewsLogin; - home: LViewsHome; - nodes: LViewsNodes; - projects: LViewProjects; - spiders: LViewsSpiders; - schedules: LViewsSchedules; - tasks: LViewsTasks; - users: LViewsUsers; - roles: LViewsRoles; - tags: LViewsTags; - tokens: LViewsTokens; - env: LViewsEnv; - notification: LViewsNotification; - misc: LViewsMisc; - gits: LViewGits; - database: LViewsDatabase; - environment: LViewsEnvironments; - llm: LViewsLLM; - system: LViewsSystem; - autoprobe: LViewsAutoProbe; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/llm.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/llm.d.ts deleted file mode 100644 index f07ee1d9..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/llm.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -interface LViewsLLM { - provider: { - table: { - columns: { - key: string; - name: string; - enabled: string; - priority: string; - }; - }; - navActions: LNavActions; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/login.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/login.d.ts deleted file mode 100644 index ce3268ec..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/login.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -interface LViewsLogin { - loginForm: { - username: string; - password: string; - confirmPassword: string; - email: string; - signUp: string; - signIn: string; - }; - forgotPassword: { - label: string; - content: string; - }; - initial: { - title: string; - }; - documentation: string; - mobile: { - warning: string; - }; - errors: { - incorrectUsername: string; - passwordLength: string; - passwordSame: string; - unauthorized: string; - noTokenReturned: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/misc.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/misc.d.ts deleted file mode 100644 index 289ec14d..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/misc.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -interface LViewsMisc { - disclaimer: { - title: string; - content: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/nodes.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/nodes.d.ts deleted file mode 100644 index 0b19103e..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/nodes.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -interface LViewsNodes { - table: { - columns: { - name: string; - nodeType: string; - status: string; - ip: string; - mac: string; - hostname: string; - runners: string; - enabled: string; - tags: string; - description: string; - currentMetrics: string; - }; - }; - navActions: LNavActions; - navActionsExtra: { - filter: { - select: { - type: { - label: string; - }; - status: { - label: string; - }; - enabled: { - label: string; - }; - }; - }; - }; - notice: { - create: { - title: string; - content: string; - link: { - label: string; - url: string; - }; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/notification.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/notification.d.ts deleted file mode 100644 index 2c1b8565..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/notification.d.ts +++ /dev/null @@ -1,192 +0,0 @@ -interface LViewsNotification { - settings: { - navActions: LNavActions; - form: { - name: string; - description: string; - enabled: string; - channels: string; - title: string; - template: string; - templateContent: string; - triggerTarget: string; - trigger: string; - hasMail: string; - senderEmail: string; - useCustomSenderEmail: { - label: string; - tooltip: string; - }; - senderName: string; - mailTo: string; - mailCc: string; - mailBcc: string; - alert: string; - useCustomSetting: { - label: string; - tooltip: string; - }; - }; - formRules: { - invalidEmail: string; - }; - triggerTargets: { - task: string; - node: string; - alert: string; - }; - triggers: { - task: { - finish: string; - error: string; - emptyResults: string; - }; - node: { - statusChange: string; - online: string; - offline: string; - }; - }; - warnings: { - missingMailConfigFields: { - content: string; - action: string; - }; - emptyChannel: { - content: string; - }; - noWarning: { - content: string; - }; - }; - templates: { - label: string; - }; - actions: { - createChannel: string; - createAlert: string; - }; - }; - channels: { - navActions: LNavActions; - form: { - type: string; - name: string; - description: string; - provider: string; - smtpServer: string; - smtpPort: string; - smtpUsername: string; - smtpPassword: string; - webhookUrl: string; - telegramBotToken: string; - telegramChatId: string; - googleOAuth2Json: string; - }; - types: { - mail: string; - im: string; - }; - providers: { - gmail: string; - outlook: string; - qq: string; - 163: string; - icloud: string; - yahoo: string; - aol: string; - zoho: string; - wechat_work: string; - dingtalk: string; - lark: string; - slack: string; - ms_teams: string; - telegram: string; - discord: string; - custom: string; - }; - providerDocs: { - title: string; - label: string; - }; - }; - requests: { - navActionsExtra: { - filter: { - select: { - setting: { - label: string; - }; - channel: { - label: string; - }; - }; - }; - }; - form: { - setting: string; - channel: string; - status: string; - error: string; - createdAt: string; - title: string; - content: string; - senderEmail: string; - senderName: string; - mailTo: string; - mailCc: string; - mailBcc: string; - }; - detail: { - title: string; - }; - }; - alerts: { - navActions: LNavActions; - form: { - name: string; - description: string; - enabled: string; - hasMetricTarget: string; - metricTarget: string; - alertRule: string; - metricName: string; - operator: string; - lastingDuration: string; - targetValue: string; - level: string; - }; - lastingDuration: { - '1m': string; - '5m': string; - '10m': string; - '30m': string; - '1h': string; - }; - levels: { - info: string; - warning: string; - critical: string; - }; - }; - message: { - success: { - create: { - channel: string; - alert: string; - }; - sendTestMessage: string; - }; - }; - messageBox: { - confirm: { - sendTestMessage: string; - }; - prompt: { - sendTestMessage: { - title: string; - placeholder: string; - }; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/projects.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/projects.d.ts deleted file mode 100644 index 202a7207..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/projects.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -interface LViewProjects { - table: { - columns: { - name: string; - spiders: string; - tags: string; - description: string; - }; - }; - navActions: LNavActions; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/roles.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/roles.d.ts deleted file mode 100644 index 8d5c4e85..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/roles.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -interface LViewsRoles { - table: { - columns: { - name: string; - description: string; - pages: string; - users: string; - }; - }; - navActions: LNavActions; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/schedules.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/schedules.d.ts deleted file mode 100644 index cfd59e3d..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/schedules.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -interface LViewsSchedules { - table: { - columns: { - name: string; - spider: string; - mode: string; - cron: string; - enabled: string; - entryId: string; - description: string; - }; - }; - navActions: LNavActions; - navActionsExtra: { - filter: { - select: { - spider: { - label: string; - }; - mode: { - label: string; - }; - enabled: { - label: string; - }; - }; - search: { - cron: { - placeholder: string; - }; - }; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/spiders.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/spiders.d.ts deleted file mode 100644 index cb8f9463..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/spiders.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -interface LViewsSpiders { - table: { - columns: { - name: string; - project: string; - git: string; - lastStatus: string; - lastRunAt: string; - stats: string; - createTs: string; - updateTs: string; - description: string; - }; - }; - navActions: LNavActions; - navActionsExtra: { - filter: { - select: { - project: { - label: string; - }; - }; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/system.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/system.d.ts deleted file mode 100644 index fdf04f44..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/system.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -interface LViewsSystem { - menuItems: { - customize: string; - dependency: string; - environment: string; - ai: string; - models: string; - }; - ai: { - llmProvider: string; - name: string; - enabled: string; - apiKey: string; - apiBaseUrl: string; - deploymentName: string; - apiVersion: string; - models: string; - defaultModel: string; - addCustomModel: string; - noCustomModels: string; - modelAlreadyExists: string; - temperature: string; - maxTokens: string; - topP: string; - unset: string; - disabled: string; - actions: { - new: { - llmProvider: string; - }; - edit: { - llmProvider: string; - }; - }; - }; - customize: { - customTitle: string; - showCustomTitle: string; - customLogo: string; - showCustomLogo: string; - hidePlatformVersion: string; - uploadLogoTip: string; - uploadLogoErrors: { - invalidFileType: string; - fileSizeExceeded: string; - }; - }; - dependency: { - autoInstall: string; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/tags.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/tags.d.ts deleted file mode 100644 index 29efe725..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/tags.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -interface LViewsTags { - table: { - columns: { - name: string; - color: string; - model: string; - description: string; - }; - }; - navActions: LNavActions; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/tasks.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/tasks.d.ts deleted file mode 100644 index 3846acab..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/tasks.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -interface LViewsTasks { - table: { - columns: { - node: string; - spider: string; - schedule: string; - priority: string; - status: string; - cmd: string; - stat: { - create_ts: string; - started_at: string; - ended_at: string; - wait_duration: string; - runtime_duration: string; - total_duration: string; - results: string; - }; - }; - }; - navActions: LNavActions; - navActionsExtra: { - filter: { - select: { - node: { - label: string; - }; - spider: { - label: string; - }; - schedule: { - label: string; - }; - priority: { - label: string; - }; - status: { - label: string; - }; - }; - search: { - cmd: { - placeholder: string; - }; - }; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/tokens.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/tokens.d.ts deleted file mode 100644 index 710c31a5..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/tokens.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -interface LViewsTokens { - table: { - columns: { - name: string; - token: string; - }; - }; - navActions: LNavActions; - messageBox: { - prompt: { - create: { - title: string; - placeholder: string; - }; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/i18n/views/users.d.ts b/frontend/crawlab-ui/typings/interfaces/i18n/views/users.d.ts deleted file mode 100644 index 1502474c..00000000 --- a/frontend/crawlab-ui/typings/interfaces/i18n/views/users.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -interface LViewsUsers { - table: { - columns: { - username: string; - fullName: string; - email: string; - role: string; - }; - }; - navActions: LNavActions; - navActionsExtra: { - filter: { - select: { - role: { - label: string; - }; - }; - search: { - email: { - placeholder: string; - }; - }; - }; - }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/index.d.ts b/frontend/crawlab-ui/typings/interfaces/index.d.ts deleted file mode 100644 index 4e3230ae..00000000 --- a/frontend/crawlab-ui/typings/interfaces/index.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare module '*.js'; -declare module '*.jpg'; -declare module '*.png'; -declare module '*.svg'; - -export declare global { - type ElFormValidator = (rule: any, value: any, callback: any) => void; - - interface ElFormRule { - required: boolean; - trigger: string; - validator: ElFormValidator; - } -} - -// export modules interfaces. -export * from './common'; -export * from './components'; -export * from './views'; -export * from './directives'; -export * from './element'; -export * from './i18n'; -export * from './layout'; -export * from './models'; -export * from './router'; -export * from './package'; -export * from './services'; -export * from './store'; diff --git a/frontend/crawlab-ui/typings/interfaces/layout/components/Sidebar.d.ts b/frontend/crawlab-ui/typings/interfaces/layout/components/Sidebar.d.ts deleted file mode 100644 index 83890eeb..00000000 --- a/frontend/crawlab-ui/typings/interfaces/layout/components/Sidebar.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare global { - interface MenuItem extends TreeNode { - title: string; - path?: string; - icon?: Icon; - hidden?: boolean; - routeConcept?: RouteConcept; - badge?: string; - badgeType?: BasicType; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/layout/components/SidebarItem.d.ts b/frontend/crawlab-ui/typings/interfaces/layout/components/SidebarItem.d.ts deleted file mode 100644 index 505999ed..00000000 --- a/frontend/crawlab-ui/typings/interfaces/layout/components/SidebarItem.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface SidebarItemProps { - item: MenuItem; -} diff --git a/frontend/crawlab-ui/typings/interfaces/layout/components/index.d.ts b/frontend/crawlab-ui/typings/interfaces/layout/components/index.d.ts deleted file mode 100644 index c167c49f..00000000 --- a/frontend/crawlab-ui/typings/interfaces/layout/components/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './Sidebar'; diff --git a/frontend/crawlab-ui/typings/interfaces/layout/content/detail/DetailLayout.d.ts b/frontend/crawlab-ui/typings/interfaces/layout/content/detail/DetailLayout.d.ts deleted file mode 100644 index e037f823..00000000 --- a/frontend/crawlab-ui/typings/interfaces/layout/content/detail/DetailLayout.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface DetailLayoutProps { - storeNamespace: ListStoreNamespace; - noSidebar?: boolean; - navItemNameKey: string; - showBackButton?: boolean; - showSaveButton?: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/layout/content/index.d.ts b/frontend/crawlab-ui/typings/interfaces/layout/content/index.d.ts deleted file mode 100644 index 30155e58..00000000 --- a/frontend/crawlab-ui/typings/interfaces/layout/content/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './detail/DetailLayout'; -export * from './list/ListLayout'; -export * from './simple/SimpleLayout'; diff --git a/frontend/crawlab-ui/typings/interfaces/layout/content/list/ListLayout.d.ts b/frontend/crawlab-ui/typings/interfaces/layout/content/list/ListLayout.d.ts deleted file mode 100644 index 2cbbfbdc..00000000 --- a/frontend/crawlab-ui/typings/interfaces/layout/content/list/ListLayout.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { ComputedRef, Ref } from 'vue'; -import Table from '@/components/ui/table/Table.vue'; -import { ButtonType } from '@/components/ui/button/types'; - -export declare global { - interface ListLayoutComponentData { - navActions?: Ref; - tableLoading: Ref; - tableColumns?: Ref>; - tableData: Ref>; - tableTotal: Ref; - tablePagination: Ref; - tableListFilter: Ref; - tableListSort: Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: ComputedRef; - } - - interface UseListOptions { - navActions: Ref; - tableColumns: Ref>; - } - - interface ListActionGroup { - name?: string; - children?: (ListActionButton | ListActionFilter)[]; - } - - interface ListAction { - id?: string; - label?: string; - prefixIcon?: Icon; - action?: string; - className?: string; - size?: BasicSize; - } - - interface ListActionButton extends ListAction { - buttonType?: ButtonType; - tooltip?: string; - icon?: Icon; - type?: BasicType; - disabled?: boolean | ListActionButtonDisabledFunc; - onClick?: () => void; - } - - interface ListActionFilter extends ListAction { - defaultValue?: any; - placeholder?: string; - options?: SelectOption[]; - optionsRemote?: FilterSelectOptionsRemote; - clearable?: boolean; - onChange?: (value: any) => void; - onEnter?: (value: any) => void; - noAllOption?: boolean; - } - - interface ListLayoutActionFunctions { - setPagination: (pagination: TablePagination) => void; - getList: () => Promise; - deleteList: (ids: string[]) => Promise; - deleteByIdConfirm: (row: BaseModel) => Promise; - onHeaderChange?: ( - column: TableColumn, - sort: SortData, - filter: TableHeaderDialogFilterData - ) => Promise; - } - - type ListActionButtonDisabledFunc = (table: typeof Table) => boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/layout/content/simple/SimpleLayout.d.ts b/frontend/crawlab-ui/typings/interfaces/layout/content/simple/SimpleLayout.d.ts deleted file mode 100644 index 2795476b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/layout/content/simple/SimpleLayout.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface SimpleLayoutProps { - background?: string; -} diff --git a/frontend/crawlab-ui/typings/interfaces/layout/index.d.ts b/frontend/crawlab-ui/typings/interfaces/layout/index.d.ts deleted file mode 100644 index f8d74a11..00000000 --- a/frontend/crawlab-ui/typings/interfaces/layout/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './components'; -export * from './content'; diff --git a/frontend/crawlab-ui/typings/interfaces/models/autoprobe.d.ts b/frontend/crawlab-ui/typings/interfaces/models/autoprobe.d.ts deleted file mode 100644 index 7868b80d..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/autoprobe.d.ts +++ /dev/null @@ -1,177 +0,0 @@ -export declare global { - interface AutoProbe extends BaseModel { - name?: string; - url?: string; - query?: string; - last_task_id?: string; - last_task_status?: AutoProbeTaskStatus; - last_task_error?: string; - default_task_id?: string; - run_on_create?: boolean; - page_pattern?: PagePattern; - page_data?: PageData; - viewport?: PageViewPort; - } - - // V2 AutoProbe interface that matches backend AutoProbeV2 - interface AutoProbeV2 extends BaseModel { - name?: string; - description?: string; - url?: string; - query?: string; - last_task_id?: string; - last_task_status?: AutoProbeTaskStatus; - last_task_error?: string; - default_task_id?: string; - run_on_create?: boolean; - page_pattern?: PagePatternV2; - page_data?: PageData; - viewport?: PageViewPort; - } - - // Hierarchical pattern structure for V2 - interface PatternV2 extends BaseModel { - name: string; - type: PatternTypeV2; - selector_type?: SelectorType; - selector?: string; - is_absolute_selector?: boolean; - extraction_type?: ExtractType; - attribute_name?: string; - children?: PatternV2[]; - parent_id?: string; - } - - type PatternTypeV2 = 'field' | 'list' | 'list-item' | 'action' | 'content'; - - interface PatternDataV2 extends BaseModel { - task_id: string; - pattern_id: string; - data?: any; - } - - interface PagePatternV2 { - name: string; - children?: PatternV2[]; - } - - interface AutoProbeNavItemV2 extends NavItem { - name?: string; - type?: PatternTypeV2; - children?: AutoProbeNavItemV2[]; - parent?: AutoProbeNavItemV2; - } - - type AutoProbeTaskStatus = - | 'pending' - | 'running' - | 'completed' - | 'failed' - | 'cancelled'; - - type SelectorType = 'css' | 'xpath' | 'regex'; - type ExtractType = 'text' | 'attribute' | 'html'; - - interface BaseSelector { - name: string; - selector_type: SelectorType; - selector: string; - } - - interface FieldRule extends BaseSelector { - extraction_type: ExtractType; - attribute_name?: string; - default_value?: string; - } - - interface ItemPattern { - fields?: FieldRule[]; - lists?: ListRule[]; - } - - interface ListRule { - name: string; - list_selector_type: SelectorType; - list_selector: string; - item_selector_type: SelectorType; - item_selector: string; - item_pattern: ItemPattern; - } - - type PaginationRule = BaseSelector; - - interface PagePattern { - name: string; - fields?: FieldRule[]; - lists?: ListRule[]; - pagination?: PaginationRule; - } - - type PageData = Record; - - interface AutoProbeTask extends BaseModel { - autoprobe_id: string; - url?: string; - query?: string; - status: AutoProbeTaskStatus; - error?: string; - html?: string; - // page_pattern?: PagePattern; - page_pattern?: PagePatternV2; - page_data?: PageData; - page_elements?: PageElement[]; - provider_id?: string; - model?: string; - usage?: LLMResponseUsage; - } - - type AutoProbeItemType = 'page_pattern' | 'list' | 'field' | 'pagination'; - - interface AutoProbeNavItem extends NavItem { - name?: string; - type?: AutoProbeItemType; - rule?: ListRule | FieldRule | PaginationRule; - children?: AutoProbeNavItem[]; - parent?: AutoProbeNavItem; - fieldCount?: number; - } - - interface AutoProbeResults { - data?: PageData | PageData[]; - fields?: AutoProbeNavItem[]; - activeField?: AutoProbeNavItem; - } - - interface PageViewPort { - width: number; - height: number; - } - - interface ElementCoordinates { - top: number; - left: number; - width: number; - height: number; - } - - type PageElementType = 'list' | 'list-item' | 'field' | 'pagination'; - - interface PageElement { - name: string; - type: PageElementType; - coordinates: ElementCoordinates; - children?: PageElement[]; - active?: boolean; - } - - interface PagePreviewResult { - screenshot_base64: string; - page_elements: PageElement[]; - } - - type ViewPortValue = 'pc-normal' | 'pc-wide' | 'pc-small'; - - interface ViewPortSelectOption extends SelectOption { - viewport: PageViewPort; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/dataCollection.d.ts b/frontend/crawlab-ui/typings/interfaces/models/dataCollection.d.ts deleted file mode 100644 index 4965297b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/dataCollection.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare global { - interface DataCollection extends BaseModel { - name?: string; - fields?: DataField[]; - dedup?: { - enabled?: boolean; - keys?: string[]; - type?: string; - }; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/dataField.d.ts b/frontend/crawlab-ui/typings/interfaces/models/dataField.d.ts deleted file mode 100644 index b1631aa3..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/dataField.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { - DATA_FIELD_TYPE_AUDIO, - DATA_FIELD_TYPE_CURRENCY, - DATA_FIELD_TYPE_TIME, - DATA_FIELD_TYPE_GENERAL, - DATA_FIELD_TYPE_IMAGE, - DATA_FIELD_TYPE_NUMERIC, - DATA_FIELD_TYPE_URL, - DATA_FIELD_TYPE_VIDEO, - DATA_FIELD_TYPE_HTML, - DATA_FIELD_TYPE_LONG_TEXT, -} from '@/constants/dataFields'; - -export declare global { - interface DataField { - key?: string; - type?: DataFieldType; - } - - type DataFieldType = - | DATA_FIELD_TYPE_GENERAL - | DATA_FIELD_TYPE_NUMERIC - | DATA_FIELD_TYPE_TIME - | DATA_FIELD_TYPE_CURRENCY - | DATA_FIELD_TYPE_URL - | DATA_FIELD_TYPE_IMAGE - | DATA_FIELD_TYPE_AUDIO - | DATA_FIELD_TYPE_VIDEO - | DATA_FIELD_TYPE_HTML - | DATA_FIELD_TYPE_LONG_TEXT; -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/database.d.ts b/frontend/crawlab-ui/typings/interfaces/models/database.d.ts deleted file mode 100644 index 92188c3a..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/database.d.ts +++ /dev/null @@ -1,154 +0,0 @@ -import { - DATABASE_STATUS_ONLINE, - DATABASE_STATUS_OFFLINE, -} from '@/constants/database'; - -export declare global { - interface Database extends BaseModel { - name?: string; - data_source?: DatabaseDataSource; - status?: DatabaseStatus; - error?: string; - description?: string; - host?: string; - port?: number; - url?: string; - hosts?: string[]; - username?: string; - password?: string; - database?: string; - is_default?: boolean; - } - - type DatabaseDataSource = - | 'mongo' - | 'mysql' - | 'postgres' - | 'mssql' - | 'oracle' - | 'db2' - | 'cassandra' - | 'hive' - | 'clickhouse' - | 'snowflake' - | 'elasticsearch' - | 'redis' - | 'kafka'; - - type DatabaseStatus = DATABASE_STATUS_ONLINE | DATABASE_STATUS_OFFLINE; - - interface DatabaseMetadata { - databases: DatabaseDatabase[]; - } - - interface DatabaseItem { - timestamp?: number; - } - - interface DatabaseDatabase extends DatabaseItem { - name?: string; - tables?: DatabaseTable[]; - } - - interface DatabaseTable extends DatabaseItem { - name?: string; - columns?: DatabaseColumn[]; - indexes?: DatabaseIndex[]; - } - - type DatabaseTableItemStatus = 'new' | 'updated' | 'deleted'; - - interface DatabaseTableItem { - hash?: string; - original_name?: string; - status?: DatabaseTableItemStatus; - contextMenuVisible?: boolean; - isEdit?: Partial>; - } - - interface DatabaseColumn extends DatabaseTableItem { - name?: string; - type?: string; - not_null?: boolean; - default?: string; - primary?: boolean; - auto_increment?: boolean; - } - - interface DatabaseIndex extends DatabaseTableItem { - name: string; - type?: string; - columns: DatabaseIndexColumn[]; - unique: boolean; - } - - interface DatabaseIndexColumn extends DatabaseTableItem { - name: string; - order: number; - } - - interface DatabaseNavItem extends NavItem { - type?: 'database' | 'table' | 'columns' | 'indexes' | 'column' | 'index'; - name?: string; - data_type?: string; - children: DatabaseNavItem[]; - database?: string; - new?: boolean; - updated?: boolean; - edit?: boolean; - edit_name?: string; - loading?: boolean; - } - - type DatabaseTableClickRowType = 'name' | 'columns' | 'indexes'; - - interface DatabaseTableRow extends TableAnyRowData { - __status__?: DatabaseTableItemStatus; - __hash__?: string; - __edit__?: { - [key: string]: boolean; - }; - } - - type DatabaseDataType = - | 'string' - | 'number' - | 'boolean' - | 'date' - | 'datetime' - | 'object' - | 'array' - | 'null' - | 'objectid'; - - interface DatabaseQueryResults { - columns?: DatabaseColumn[]; - rows?: DatabaseTableRow[]; - output?: string; - error?: string; - } - - interface DatabaseTableManipulationStatements { - select?: string; - create?: string; - alter?: string; - truncate?: string; - drop?: string; - } - - interface DatabaseSyntaxKeywordRegex { - from?: RegExp; - manipulateTable?: RegExp; - manipulateField?: RegExp; - } - - interface DatabaseMetric extends BasicMetric { - database_id?: string; - connections?: number; - query_per_second?: number; - transaction_per_second?: number; - cache_hit_ratio?: number; - replication_lag?: number; - lock_wait_time?: number; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/dependency.d.ts b/frontend/crawlab-ui/typings/interfaces/models/dependency.d.ts deleted file mode 100644 index 14b407ad..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/dependency.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -export declare global { - interface DependencyConfig extends BaseModel { - key?: string; - name?: string; - enabled?: boolean; - exec_cmd?: string; - pkg_cmd?: string; - pkg_src_url?: string; - setup?: boolean; - search_ready?: boolean; - total_dependencies?: number; - } - - interface DependencyConfigSetup extends BaseModel { - dependency_config_id?: string; - node_id?: string; - version?: string; - status?: DependencyStatus; - error?: string; - node?: CNode; - } - - type DependencyStatus = - | 'installing' - | 'installed' - | 'uninstalling' - | 'uninstalled' - | 'error' - | 'abnormal'; - - type DependencyFileType = 'requirements.txt' | 'package.json'; - - interface Dependency extends BaseModel { - node_id?: string; - type?: string; - name?: string; - version?: string; - latest_version?: string; - description?: string; - status?: DependencyStatus; - error?: string; - } - - interface DependencyRepo { - name?: string; - node_ids?: string[]; - versions?: string[]; - latest_version?: string; - type?: DependencyLang; - dependencies?: Dependency[]; - } - - interface DependencyRequirement { - name?: string; - version?: string; - dependencies?: Dependency[]; - latest_version?: string; - type?: DependencyLang; - } - - type DependencyRepoTabName = 'installed' | 'search' | 'nodes'; - - interface DependencyLog extends BaseModel { - dependency_id?: string; - content?: string; - } - - interface DependencyInstallForm { - mode?: 'all' | 'selected-nodes'; - name?: string; - version?: string; - node_ids?: string[]; - nodes?: CNode[]; - } - - interface DependencyUninstallForm { - mode?: 'all' | 'selected-nodes'; - names?: string[]; - node_ids?: string[]; - nodes?: CNode[]; - } - - interface DependencySetupForm { - node_id?: string; - version?: string; - mode?: 'all' | 'selected-nodes'; - node_ids?: string[]; - nodes?: CNode[]; - } - - type DependencyLang = 'python' | 'node' | 'go' | 'java' | 'browser'; -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/environment.d.ts b/frontend/crawlab-ui/typings/interfaces/models/environment.d.ts deleted file mode 100644 index c33192e7..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/environment.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare global { - interface Environment extends BaseModel { - key?: string; - value?: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/export.d.ts b/frontend/crawlab-ui/typings/interfaces/models/export.d.ts deleted file mode 100644 index 16c21abe..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/export.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare global { - interface Export { - id?: string; - type?: ExportType; - target?: string; - // filter?: any; - status?: string; - started_at?: string; - ended_at?: string; - file_name?: string; - download_path?: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/git.d.ts b/frontend/crawlab-ui/typings/interfaces/models/git.d.ts deleted file mode 100644 index 05a94db4..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/git.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -export declare global { - interface GitChange { - path?: string; - name?: string; - is_dir?: boolean; - staging?: string; - worktree?: string; - extra?: string; - children?: GitChange[]; - } - - interface GitLog { - hash?: string; - msg?: string; - branch?: string; - author_name?: string; - author_email?: string; - timestamp?: string; - refs?: GitRef[]; - } - - interface GitRef { - type?: 'branch' | 'tag'; - name?: string; - full_name?: string; - hash?: string; - timestamp?: string; - remote_track?: string; - } - - interface GitDiff { - current_content?: string; - parent_content?: string; - } - - interface Git extends BaseModel { - url?: string; - name?: string; - auth_type?: string; - username?: string; - password?: string; - current_branch?: string; - status?: GitStatus; - error?: string; - auto_pull?: boolean; - spiders?: Spider[]; - clone_logs?: string[]; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/index.d.ts b/frontend/crawlab-ui/typings/interfaces/models/index.d.ts deleted file mode 100644 index 52f75c24..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/index.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -export declare global { - interface BaseModel { - _id?: string; - created_at?: string; - created_by?: string; - updated_at?: string; - updated_at?: string; - - [field: string]: any; - } -} - -export * from './dataCollection'; -export * from './git'; -export * from './node'; -export * from './plugin'; -export * from './project'; -export * from './result'; -export * from './setting'; -export * from './spider'; -export * from './stats'; -export * from './systemInfo'; -export * from './tag'; -export * from './token'; -export * from './metric'; -export * from './range'; -export * from './nav'; -export * from './map'; -export * from './treeNode'; -export * from './user'; diff --git a/frontend/crawlab-ui/typings/interfaces/models/llm.d.ts b/frontend/crawlab-ui/typings/interfaces/models/llm.d.ts deleted file mode 100644 index a0ffa5d2..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/llm.d.ts +++ /dev/null @@ -1,139 +0,0 @@ -export declare global { - interface LLMResponseUsage { - prompt_tokens?: number; - completion_tokens?: number; - total_tokens?: number; - } - - type LLMProviderType = - | 'openai' - | 'azure-openai' - | 'anthropic' - | 'gemini' - | 'grok' - | 'qwen' - | 'deepseek' - | 'mistral' - | 'openrouter' - | 'openai-compatible'; - - interface LLMProvider extends BaseModel { - type?: LLMProviderType; - name?: string; - api_key?: string; - api_base_url?: string; - api_version?: string; - models?: string[]; - default_model?: string; - } - - interface LLMProviderItem { - type: LLMProviderType; - name: string; - icon?: Icon; - defaultModels?: string[]; - defaultApiVersions?: string[]; - } - - interface LLMProviderModel { - providerId?: string; - model?: string; - } - - type ChatMessageRole = 'system' | 'user' | 'assistant'; - - type ChatMessageStatus = 'pending' | 'completed' | 'failed'; - - interface ChatMessage extends BaseModel { - conversation_id: string; - role: ChatMessageRole; - content?: string; - content_ids?: string[]; - contents?: ChatMessageContent[]; - tokens?: number; - model?: string; - metadata?: Record; - status: ChatMessageStatus; - error?: string; - usage?: LLMResponseUsage; - - // Frontend UI-specific properties - timestamp?: Date; - isStreaming?: boolean; - } - - type ChatMessageContentType = 'text' | 'action'; - type ChatMessageActionStatus = 'pending' | 'success' | 'failed'; - - interface ChatMessageContent extends BaseModel { - message_id?: string; - key?: string; - parameters?: Record; - content?: string; - type: ChatMessageContentType; - action?: string; - action_target?: string; - action_status?: ChatMessageActionStatus; - hidden?: boolean; - usage?: LLMResponseUsage; - - // Frontend UI-specific properties - isStreaming?: boolean; - } - - type ChatConversationStatus = 'active' | 'archived' | 'deleted'; - - interface ChatConversation extends BaseModel { - title?: string; - description?: string; - user_id?: string; - model?: string; - status?: ChatConversationStatus; - last_message_at?: string; - settings?: Record; - tags?: string[]; - messages?: ChatMessage[]; - created_at?: string; - updated_at?: string; - } - - interface ChatRequest { - provider_id: string; - model: string; - query: string; - system_prompt?: string; - max_tokens?: number; - temperature?: number; - top_p?: number; - other_params?: Record; - conversation_id?: string; - } - - interface ChatbotConfig { - providerId?: string; - model?: string; - systemPrompt?: string; - temperature?: number; - maxTokens?: number; - } - - interface ChatbotStreamMessage { - conversation_id?: string; - conversation_title?: string; - message_id?: string; - key?: string; - parameters?: Record; - content?: string; - type: 'text' | 'action'; // Message type - action_id?: string; - action?: string; - action_target?: string; - action_status?: ChatMessageActionStatus; - is_done?: boolean; - is_initial?: boolean; - error?: string; - hidden?: boolean; - is_text_done?: boolean; - usage?: LLMResponseUsage; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/map.d.ts b/frontend/crawlab-ui/typings/interfaces/models/map.d.ts deleted file mode 100644 index 9b176285..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/map.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare global { - type StringMap = { [key: string]: string }; -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/metric.d.ts b/frontend/crawlab-ui/typings/interfaces/models/metric.d.ts deleted file mode 100644 index 559780de..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/metric.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -export declare global { - interface BasicMetric extends BaseModel { - cpu_usage_percent?: number; - total_memory?: number; - available_memory?: number; - used_memory?: number; - used_memory_percent?: number; - total_disk?: number; - available_disk?: number; - used_disk?: number; - used_disk_percent?: number; - } - - interface Metric extends BasicMetric { - type?: string; - node_id?: string; - disk_read_bytes_rate?: number; - disk_write_bytes_rate?: number; - network_bytes_sent_rate?: number; - network_bytes_recv_rate?: number; - } - - interface MetricGroup { - name: string; - label: string; - metrics: (keyof M)[]; - format?: - | 'number' - | 'percent' - | 'bytes' - | 'duration' - | ((value: number) => string); - formatDecimal?: number; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/nav.d.ts b/frontend/crawlab-ui/typings/interfaces/models/nav.d.ts deleted file mode 100644 index e8b5cea9..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/nav.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare global { - interface NavItem extends TreeNode> { - id: string; - title?: string; - subtitle?: string; - data?: T; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - disabled?: boolean; - badge?: string | number; - badgeType?: BasicType; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/node.d.ts b/frontend/crawlab-ui/typings/interfaces/models/node.d.ts deleted file mode 100644 index 90c7094a..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/node.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare global { - interface CNode extends BaseModel { - name?: string; - ip?: string; - mac?: string; - hostname?: string; - description?: string; - key?: string; - is_master?: boolean; - status?: string; - enabled?: boolean; - active?: boolean; - current_runners?: number; - max_runners?: number; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/notification.d.ts b/frontend/crawlab-ui/typings/interfaces/models/notification.d.ts deleted file mode 100644 index 6c85de6f..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/notification.d.ts +++ /dev/null @@ -1,138 +0,0 @@ -export declare global { - type NotificationTriggerTarget = 'task' | 'node' | 'alert'; - - type NotificationTrigger = - | 'task_finish' - | 'task_error' - | 'task_empty_results' - | 'node_status_change' - | 'node_online' - | 'node_offline' - | 'alert'; - - interface NotificationSetting extends BaseModel { - name?: string; - description?: string; - enabled?: boolean; - title?: string; - template?: string; // legacy template content - template_mode?: NotificationTemplateMode; - template_markdown?: string; - template_rich_text?: string; - template_rich_text_json?: string; - template_theme?: string; - task_trigger?: string; - trigger?: NotificationTrigger; - has_mail?: boolean; - sender_email?: string; - use_custom_sender_email?: boolean; - sender_name?: string; - mail_to?: string[]; - mail_cc?: string[]; - mail_bcc?: string[]; - channel_ids?: string[]; - channels?: NotificationChannel[]; - alert_id?: string; - - // for UI - template_key?: string; - use_custom_setting?: boolean; - } - - interface NotificationSettingTemplate extends NotificationSetting { - key: string; - } - - type NotificationTemplateMode = 'rich-text' | 'markdown'; - - type NotificationVariableCategory = - | 'task' - | 'task_stat' - | 'node' - | 'spider' - | 'spider_stat' - | 'git' - | 'project' - | 'schedule' - | 'user' - | 'alert' - | 'metric'; - - interface NotificationVariable { - category: NotificationVariableCategory; - name: string; - label?: string; - icon?: Icon; - } - - type NotificationChannelType = 'mail' | 'im'; - - interface NotificationChannel extends BaseModel { - type?: NotificationChannelType; - name?: string; - description?: string; - provider?: string; - smtp_server?: string; - smtp_port?: number; - smtp_username?: string; - smtp_password?: string; - webhook_url?: string; - telegram_bot_token?: string; - telegram_chat_id?: string; - google_oauth2_json?: string; - } - - interface NotificationChannelProvider { - type: NotificationChannelType; - name: string; - icon: Icon; - smtpServer?: string; - smtpPort?: number; - webhookEndpoint?: string; - webhookToken?: string; - docUrl?: string | (() => string); - disabled?: boolean; - locale?: string; - } - - type NotificationRequestStatus = 'sending' | 'success' | 'error' | 'unknown'; - - interface NotificationRequest extends BaseModel { - status?: NotificationRequestStatus; - error?: string; - title?: string; - content?: string; - sender_email?: string; - sender_name?: string; - mail_to?: string; - mail_cc?: string; - mail_bcc?: string; - setting_id?: string; - channel_id?: string; - setting?: NotificationSetting; - channel?: NotificationChannel; - test?: boolean; - } - - type NotificationAlertOperator = 'gt' | 'ge' | 'lt' | 'le'; - - type NotificationAlertLevel = 'info' | 'warning' | 'critical'; - - interface NotificationAlert extends BaseModel { - name?: string; - description?: string; - enabled?: boolean; - has_metric_target?: boolean; - metric_target_id?: string; - metric_name?: string; - operator?: NotificationAlertOperator; - lasting_seconds?: number; - target_value?: number; - level?: NotificationAlertLevel; - template_key?: string; - } - - interface NotificationAlertTemplate extends NotificationAlert { - key: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/plugin.d.ts b/frontend/crawlab-ui/typings/interfaces/models/plugin.d.ts deleted file mode 100644 index 0778d31d..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/plugin.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { - PLUGIN_DEPLOY_MODE_ALL, - PLUGIN_DEPLOY_MODE_MASTER, - PLUGIN_STATUS_ERROR, - PLUGIN_STATUS_RUNNING, - PLUGIN_STATUS_STOPPED, - PLUGIN_INSTALL_TYPE_PUBLIC, - PLUGIN_INSTALL_TYPE_GIT, - PLUGIN_INSTALL_TYPE_LOCAL, -} from '@/constants/plugin'; - -export declare global { - interface CPlugin extends BaseModel { - name?: string; - full_name?: string; - description?: string; - type?: string; - proto?: string; - active?: boolean; - endpoint?: string; - cmd?: string; - event_key?: { - include?: string; - exclude?: string; - }; - install_type?: PluginInstallType; - install_url?: string; - deploy_mode?: PluginDeployMode; - auto_start?: boolean; - ui_components?: PluginUIComponent[]; - ui_sidebar_navs?: MenuItem[]; - ui_assets?: PluginUIAsset[]; - status?: PluginStatus[]; - } - - interface PublicPlugin { - id: number; - name: string; - full_name: string; - description: string; - html_url: string; - pushed_at: string; - created_at: string; - updated_at: string; - owner: { - id: number; - login: string; - html_url: string; - }; - } - - interface PublicPluginInfo { - repo: PublicPlugin; - pluginJson: CPlugin; - readme: string; - } - - interface PluginUIComponent { - name?: string; - title?: string; - src?: string; - type?: string; - path?: string; - parent_paths?: string[]; - children?: PluginUIComponent[]; - } - - interface PluginUIAsset { - path?: string; - type?: string; - } - - type PluginDeployMode = PLUGIN_DEPLOY_MODE_MASTER | PLUGIN_DEPLOY_MODE_ALL; - - interface PluginStatus extends BaseModel { - plugin_id?: string; - node_id?: string; - node?: CNode; - status?: - | PLUGIN_STATUS_STOPPED - | PLUGIN_STATUS_RUNNING - | PLUGIN_STATUS_ERROR; - pid?: number; - error?: string; - } - - type PluginInstallType = - | PLUGIN_INSTALL_TYPE_PUBLIC - | PLUGIN_INSTALL_TYPE_GIT - | PLUGIN_INSTALL_TYPE_LOCAL; -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/project.d.ts b/frontend/crawlab-ui/typings/interfaces/models/project.d.ts deleted file mode 100644 index 044c04da..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/project.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare global { - interface Project extends BaseModel { - name?: string; - description?: string; - spiders?: Spider[]; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/result.d.ts b/frontend/crawlab-ui/typings/interfaces/models/result.d.ts deleted file mode 100644 index d33bdf70..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/result.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare global { - interface Result { - [key: string]: any; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/role.d.ts b/frontend/crawlab-ui/typings/interfaces/models/role.d.ts deleted file mode 100644 index 421c5c39..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/role.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export declare global { - interface Role extends BaseModel { - name?: string; - description?: string; - routes?: string[]; - root_admin?: boolean; - users?: number; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/setting.d.ts b/frontend/crawlab-ui/typings/interfaces/models/setting.d.ts deleted file mode 100644 index b8700e65..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/setting.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -export declare global { - interface Setting> extends BaseModel { - key: string; - value: T; - } - - interface SettingCustomize { - custom_title?: string; - show_custom_title?: boolean; - custom_logo?: string; - show_custom_logo?: boolean; - hide_platform_version?: boolean; - } - - interface SettingDependency { - auto_install?: boolean; - } - - interface SettingAI { - default_provider_id?: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/spider.d.ts b/frontend/crawlab-ui/typings/interfaces/models/spider.d.ts deleted file mode 100644 index f0892a17..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/spider.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -export declare global { - interface Spider extends BaseModel { - name?: string; - display_name?: string; - spider_type?: string; - cmd?: string; - param?: string; - priority?: number; - col_id?: string; - col_name?: string; - db_name?: string; - database_id?: string; - mode?: TaskMode; - node_ids?: string[]; - node_tags?: string[]; - project_id?: string; - project_name?: string; - description?: string; - update_ts?: string; - create_ts?: string; - incremental_sync?: boolean; - auto_install?: boolean; - git_id?: string; - git_root_path?: string; - template?: SpiderTemplateName; - template_params?: SpiderTemplateParams; - - // associated data - stat?: SpiderStat; - last_task?: Task; - project?: Project; - git?: Git; - database?: Database; - } - - interface SpiderStat { - _id: number; - tasks: number; - results: number; - wait_duration: number; - runtime_duration: number; - total_duration: number; - average_wait_duration: number; - average_runtime_duration: number; - average_total_duration: number; - } - - interface SpiderRunOptions { - mode?: string; - node_ids?: string[]; - node_tags?: string[]; - cmd?: string; - param?: string; - schedule_id?: string; - priority?: number; - } - - type SpiderTemplateName = - | 'scrapy' - | 'scrapy-redis' - | 'bs4' - | 'selenium' - | 'drission-page' - | 'pyppeteer' - | 'crawlee-python' - | 'puppeteer' - | 'playwright' - | 'cheerio' - | 'crawlee' - | 'colly' - | 'goquery' - | 'jsoup' - | 'webmagic' - | 'xxl-crawler'; - - interface SpiderTemplateParams { - spider_name?: string; - start_urls?: string; - domains?: string; - } - - interface SpiderTemplateGroup { - lang: DependencyLang; - label: string; - icon?: Icon; - templates: SpiderTemplate[]; - } - - interface SpiderTemplate { - name: SpiderTemplateName; - label: string; - icon?: Icon; - cmd: string; - params?: SpiderTemplateParams; - doc_url?: string; - doc_label?: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/stats.d.ts b/frontend/crawlab-ui/typings/interfaces/models/stats.d.ts deleted file mode 100644 index 2d30f12c..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/stats.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare global { - interface StatsResult extends Result { - date?: string | number; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/systemInfo.d.ts b/frontend/crawlab-ui/typings/interfaces/models/systemInfo.d.ts deleted file mode 100644 index 73af8bce..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/systemInfo.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare global { - interface SystemInfo { - edition?: string; - version?: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/token.d.ts b/frontend/crawlab-ui/typings/interfaces/models/token.d.ts deleted file mode 100644 index 8cbe91a9..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/token.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare global { - interface Token extends BaseModel { - name?: string; - token?: string; - _visible?: boolean; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/treeNode.d.ts b/frontend/crawlab-ui/typings/interfaces/models/treeNode.d.ts deleted file mode 100644 index 802314a1..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/treeNode.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -interface TreeNode { - label?: string; - value?: any; - children?: T[]; - path?: string; - level?: number; -} diff --git a/frontend/crawlab-ui/typings/interfaces/models/user.d.ts b/frontend/crawlab-ui/typings/interfaces/models/user.d.ts deleted file mode 100644 index 9e763ab2..00000000 --- a/frontend/crawlab-ui/typings/interfaces/models/user.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export declare global { - interface User { - _id?: string; - username?: string; - password?: string; - role?: string; - role_id?: string; - first_name?: string; - last_name?: string; - email?: string; - root_admin?: boolean; - root_admin_role?: boolean; - routes?: string[]; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/package/create-app.d.ts b/frontend/crawlab-ui/typings/interfaces/package/create-app.d.ts deleted file mode 100644 index 0a6a6b7b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/package/create-app.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Store } from 'vuex'; - -export declare global { - interface CreateAppOptions { - initBaiduTongji?: boolean; - initClarity?: boolean; - mount?: boolean | string; - store?: Store; - rootRoutes?: Array; - routes?: Array; - allRoutes?: Array; - createRouterOptions?: CreateRouterOptions; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/package/index.d.ts b/frontend/crawlab-ui/typings/interfaces/package/index.d.ts deleted file mode 100644 index 5ee5b693..00000000 --- a/frontend/crawlab-ui/typings/interfaces/package/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './create-app'; diff --git a/frontend/crawlab-ui/typings/interfaces/router/auth.d.ts b/frontend/crawlab-ui/typings/interfaces/router/auth.d.ts deleted file mode 100644 index 1630bc87..00000000 --- a/frontend/crawlab-ui/typings/interfaces/router/auth.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { RouteLocationNormalized } from 'vue-router'; - -export declare global { - interface RouterAuthOptions { - beforeEachFn?: ( - to?: RouteLocationNormalized, - from?: RouteLocationNormalized - ) => void; - afterEachFn?: ( - to?: RouteLocationNormalized, - from?: RouteLocationNormalized - ) => void; - validateFn?: ( - to: RouteLocationNormalized, - from?: RouteLocationNormalized - ) => boolean; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/router/index.d.ts b/frontend/crawlab-ui/typings/interfaces/router/index.d.ts deleted file mode 100644 index 3fae65c5..00000000 --- a/frontend/crawlab-ui/typings/interfaces/router/index.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { RouteLocation, _RouteRecordBase, RouteComponent } from 'vue-router'; - -export declare global { - interface CreateRouterOptions { - routerAuth?: RouterAuthOptions; - routerStats?: RouterStatsOptions; - } - - interface ExtendedRouterRecord extends _RouteRecordBase { - name?: string; - title?: string; - icon?: Icon; - children?: Array; - redirect?: string | ((to: RouteLocation) => RouteLocation); - path?: string; - component?: RouteComponent; - routeConcept?: RouteConcept; - } - - type RouteConcept = - | ListStoreNamespace - | 'home' - | 'notification' - | 'permission' - | 'ai' - | 'models' - | 'system' - | 'misc' - | 'myAccount' - | 'pat' - | 'disclaimer'; -} - -export * from './auth'; diff --git a/frontend/crawlab-ui/typings/interfaces/router/stats.d.ts b/frontend/crawlab-ui/typings/interfaces/router/stats.d.ts deleted file mode 100644 index 55a57bde..00000000 --- a/frontend/crawlab-ui/typings/interfaces/router/stats.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare global { - interface RouterStatsOptions { - beforeEachFn?: Function; - afterEachFn?: Function; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/services/file.d.ts b/frontend/crawlab-ui/typings/interfaces/services/file.d.ts deleted file mode 100644 index 73c23784..00000000 --- a/frontend/crawlab-ui/typings/interfaces/services/file.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { ComputedRef } from 'vue'; - -declare global { - interface FileServices extends Services { - listDir: ( - id: string, - path: string - ) => Promise>; - listRootDir: (id: string) => Promise>; - getFile: (id: string, path: string) => Promise>; - getFileInfo: ( - id: string, - path: string - ) => Promise>; - saveFile: (id: string, path: string, data: string) => Promise; - saveFileBinary: (id: string, path: string, file: File) => Promise; - saveFilesBinary: ( - id: string, - files: { path: string; file: File }[], - targetDirectory?: string - ) => Promise; - saveDir: (id: string, path: string) => Promise; - renameFile: ( - id: string, - path: string, - new_path: string - ) => Promise; - deleteFile: (id: string, path: string) => Promise; - copyFile: (id: string, path: string, new_path: string) => Promise; - fileContent: ComputedRef; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/services/git.d.ts b/frontend/crawlab-ui/typings/interfaces/services/git.d.ts deleted file mode 100644 index a58390d6..00000000 --- a/frontend/crawlab-ui/typings/interfaces/services/git.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare global { - type GitServices = FileServices; -} diff --git a/frontend/crawlab-ui/typings/interfaces/services/index.d.ts b/frontend/crawlab-ui/typings/interfaces/services/index.d.ts deleted file mode 100644 index 7c77b401..00000000 --- a/frontend/crawlab-ui/typings/interfaces/services/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare global { - interface Services { - getById: (id: string) => Promise>; - create: (form: T) => Promise>; - updateById: (id: string, form: T) => Promise>; - deleteById: (id: string) => Promise; - getList: (params?: ListRequestParams) => Promise>; - createList: (data: T[]) => Promise>; - updateList: (ids: string[], data: T, fields: string[]) => Promise; - deleteList: (ids: string[]) => Promise; - } -} - -export * from './request'; -export * from './spider'; -export * from './git'; diff --git a/frontend/crawlab-ui/typings/interfaces/services/request.d.ts b/frontend/crawlab-ui/typings/interfaces/services/request.d.ts deleted file mode 100644 index c91094a0..00000000 --- a/frontend/crawlab-ui/typings/interfaces/services/request.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -export declare global { - interface ListRequestParams { - page?: number; - size?: number; - filter?: string; - sort?: string; - - [key: string]: any; - } - - interface BatchRequestPayload { - ids: string[]; - } - - interface BatchRequestPayloadWithData extends BatchRequestPayload { - data: T; - fields: string[]; - } - - type BatchRequestPayloadWithJsonStringData = - BatchRequestPayloadWithData; - - interface FileRequestPayload { - id?: string; - path?: string; - new_path?: string; - data?: string; - file?: File; - } - - interface SaveFilesRequestPayload { - id: string; - files: { path: string; file: File }[]; - targetDirectory?: string; - } - - interface Response { - status: string; - message: string; - error?: string; - } - - type HttpResponse = Response; - - interface ResponseWithData extends Response { - data?: T; - } - - interface ResponseWithListData extends ResponseWithData { - data?: T[]; - total: number; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/services/spider.d.ts b/frontend/crawlab-ui/typings/interfaces/services/spider.d.ts deleted file mode 100644 index c565909b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/services/spider.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare global { - type SpiderServices = FileServices; -} diff --git a/frontend/crawlab-ui/typings/interfaces/static.d.ts b/frontend/crawlab-ui/typings/interfaces/static.d.ts deleted file mode 100644 index 2da6178d..00000000 --- a/frontend/crawlab-ui/typings/interfaces/static.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare module '*.js'; -declare module '*.jpg'; -declare module '*.png'; -declare module '*.svg'; -declare module '*.css'; diff --git a/frontend/crawlab-ui/typings/interfaces/store/index.d.ts b/frontend/crawlab-ui/typings/interfaces/store/index.d.ts deleted file mode 100644 index cd6bb0fd..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/index.d.ts +++ /dev/null @@ -1,196 +0,0 @@ -import { - ActionContext, - ActionTree, - GetterTree, - Module, - MutationTree, - Store, -} from 'vuex'; - -export declare global { - interface RootStoreState { - common: CommonStoreState; - layout: LayoutStoreState; - file: FileStoreState; - node: NodeStoreState; - project: ProjectStoreState; - spider: SpiderStoreState; - task: TaskStoreState; - dataCollection: DataCollectionStoreState; - schedule: ScheduleStoreState; - user: UserStoreState; - role: RoleStoreState; - token: TokenStoreState; - git: GitStoreState; - notificationSetting: NotificationSettingStoreState; - notificationChannel: NotificationChannelStoreState; - notificationRequest: NotificationRequestStoreState; - notificationAlert: NotificationAlertStoreState; - database: DatabaseStoreState; - dependency: DependencyStoreState; - environment: EnvironmentStoreState; - system: SystemStoreState; - autoprobe: AutoProbeStoreState; - } - - type StoreGetter = ( - state: S, - getters?: GetterTree, - rootState?: R, - rootGetters?: any, - ) => T; - - type StoreMutation = (state: S, payload: P) => void; - - type StoreActionHandler = ( - this: Store, - ctx: ActionContext, - payload?: P, - ) => T; - - interface StoreActionObject { - root?: boolean; - handler: StoreActionHandler; - } - - type StoreAction = - | StoreActionHandler - | StoreActionObject; - - interface BaseModule - extends Module { - getters: G; - mutations: M; - actions: A; - } - - interface BaseStoreState { - ns: StoreNamespace; - dialogVisible: DialogVisible; - activeDialogKey: DialogKey | undefined; - form: T; - isSelectiveForm: boolean; - selectedFormFields: string[]; - readonlyFormFields: string[]; - formList: T[]; - newFormFn: DefaultFormFunc; - confirmLoading: boolean; - tableLoading: boolean; - tableData: TableData; - tableTotal: number; - tablePagination: TablePagination; - tableListFilter: FilterConditionData[]; - tableListSort: SortData[]; - sidebarCollapsed: boolean; - actionsCollapsed: boolean; - tabs: NavItem[]; - disabledTabKeys: string[]; - navList: T[]; - afterSave: (() => Promise)[]; - } - - interface BaseStoreGetters - extends GetterTree { - dialogVisible: StoreGetter; - formListIds: StoreGetter; - } - - interface BaseStoreMutations - extends MutationTree> { - showDialog: StoreMutation, DialogKey>; - hideDialog: StoreMutation>; - setForm: StoreMutation, T>; - resetForm: StoreMutation>; - setIsSelectiveForm: StoreMutation, boolean>; - setSelectedFormFields: StoreMutation, string[]>; - resetSelectedFormFields: StoreMutation>; - setReadonlyFormFields: StoreMutation, string[]>; - resetReadonlyFormFields: StoreMutation>; - setFormList: StoreMutation, T[]>; - resetFormList: StoreMutation>; - setConfirmLoading: StoreMutation, boolean>; - setTableLoading: StoreMutation, boolean>; - setTableData: StoreMutation, TableDataWithTotal>; - resetTableData: StoreMutation>; - setTablePagination: StoreMutation, TablePagination>; - resetTablePagination: StoreMutation>; - setTableListFilter: StoreMutation, FilterConditionData[]>; - resetTableListFilter: StoreMutation>; - setTableListFilterByKey: StoreMutation< - BaseStoreState, - { key: string; conditions: FilterConditionData[] } - >; - resetTableListFilterByKey: StoreMutation, string>; - setTableListSort: StoreMutation, SortData[]>; - resetTableListSort: StoreMutation>; - setTableListSortByKey: StoreMutation< - BaseStoreState, - { key: string; sort: SortData } - >; - resetTableListSortByKey: StoreMutation, string>; - setTabs: StoreMutation; - setDisabledTabKeys: StoreMutation; - resetDisabledTabKeys: StoreMutation; - setNavList: StoreMutation, T[]>; - resetNavList: StoreMutation>; - setAfterSave: StoreMutation, (() => Promise)[]>; - } - - interface BaseStoreActions - extends ActionTree, R> { - getById: StoreAction, string>; - create: StoreAction, T>; - updateById: StoreAction, { id: string; form: T }>; - deleteById: StoreAction, string>; - getList: StoreAction>; - getListWithParams: StoreAction, ListRequestParams>; - createList: StoreAction, T[]>; - updateList: StoreAction, BatchRequestPayloadWithData>; - deleteList: StoreAction, BatchRequestPayload>; - getNavList: StoreAction, string>; - } - - type StoreActionContext< - S = BaseStoreState, - R = RootStoreState, - > = ActionContext; - - type ListStoreNamespace = - | 'node' - | 'project' - | 'spider' - | 'task' - | 'schedule' - | 'user' - | 'role' - | 'token' - | 'git' - | 'notificationSetting' - | 'notificationChannel' - | 'notificationRequest' - | 'notificationAlert' - | 'database' - | 'dependency' - | 'environment' - | 'dataCollection' - | 'autoprobe'; - type StoreNamespace = ListStoreNamespace | 'layout' | 'common'; - - interface StoreContext { - namespace: StoreNamespace; - store: Store; - state: BaseStoreState; - } - - interface ListStoreContext extends StoreContext { - namespace: ListStoreNamespace; - state: R[ListStoreNamespace]; - } - - type DetailStoreContext = ListStoreContext; - - interface GetDefaultStoreGettersOptions { - selectOptionValueKey?: string; - selectOptionLabelKey?: string; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/autoprobe.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/autoprobe.d.ts deleted file mode 100644 index b318ab9d..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/autoprobe.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -type AutoProbeStoreModule = BaseModule< - AutoProbeStoreState, - AutoProbeStoreGetters, - AutoProbeStoreMutations, - AutoProbeStoreActions ->; - -interface AutoProbeStoreState extends BaseStoreState { - pagePattern?: PagePatternV2; - pagePatternData?: PatternDataV2[]; -} - -type AutoProbeStoreGetters = BaseStoreGetters; - -interface AutoProbeStoreMutations extends BaseStoreMutations { - setPagePattern: StoreMutation; - resetPagePattern: StoreMutation; - setPagePatternData: StoreMutation; - resetPagePatternData: StoreMutation; -} - -interface AutoProbeStoreActions extends BaseStoreActions { - runTask: StoreAction; - cancelTask: StoreAction; - getPagePattern: StoreAction; - getPagePatternData: StoreAction; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/common.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/common.d.ts deleted file mode 100644 index 5ac4bfa0..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/common.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Module, GetterTree, MutationTree, ActionTree } from 'vuex'; - -declare global { - interface CommonStoreModule extends Module { - getters: CommonStoreGetters; - mutations: CommonStoreMutations; - actions: CommonStoreActions; - } - - interface CommonStoreState { - lang?: Lang; - systemInfo?: SystemInfo; - me?: User; - } - - interface CommonStoreGetters - extends GetterTree { - isPro: StoreGetter; - } - - interface CommonStoreMutations extends MutationTree { - setLang: StoreMutation; - setSystemInfo: StoreMutation; - setMe: StoreMutation; - resetMe: StoreMutation; - } - - interface CommonStoreActions - extends ActionTree { - getSystemInfo: StoreAction; - getMe: StoreAction; - putMe: StoreAction; - changeMyPassword: StoreAction; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/dataCollection.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/dataCollection.d.ts deleted file mode 100644 index 63345985..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/dataCollection.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -type DataCollectionStoreModule = BaseModule< - DataCollectionStoreState, - DataCollectionStoreGetters, - DataCollectionStoreMutations, - DataCollectionStoreActions ->; - -interface DataCollectionStoreState extends BaseStoreState { - resultTableData: TableData; - resultTableTotal: number; - resultTablePagination: TablePagination; - resultTableFilter: FilterConditionData[]; - resultDialogVisible: boolean; - resultDialogContent: any; - resultDialogType?: DataFieldType; - resultDialogKey: string; - dedupFieldsDialogVisible: boolean; -} - -interface DataCollectionStoreGetters - extends BaseStoreGetters { - resultFields: StoreGetter; -} - -interface DataCollectionStoreMutations - extends BaseStoreMutations { - setResultTableData: StoreMutation< - DataCollectionStoreState, - TableDataWithTotal - >; - resetResultTableData: StoreMutation; - setResultTablePagination: StoreMutation< - DataCollectionStoreState, - TablePagination - >; - resetResultTablePagination: StoreMutation; - setResultTableFilter: StoreMutation< - DataCollectionStoreState, - FilterConditionData[] - >; - resetResultTableFilter: StoreMutation; - setResultDialogVisible: StoreMutation; - setResultDialogContent: StoreMutation; - resetResultDialogContent: StoreMutation; - setResultDialogType: StoreMutation; - resetResultDialogType: StoreMutation; - setResultDialogKey: StoreMutation; - resetResultDialogKey: StoreMutation; - setDedupFieldsDialogVisible: StoreMutation; -} - -interface DataCollectionStoreActions extends BaseStoreActions { - getResultData: StoreAction< - DataCollectionStoreState, - { id: string; params: ListRequestParams } - >; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/database.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/database.d.ts deleted file mode 100644 index 39735040..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/database.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -export declare global { - type DatabaseStoreModule = BaseModule< - DatabaseStoreState, - DatabaseStoreGetters, - DatabaseStoreMutations, - DatabaseStoreActions - >; - - interface DatabaseStoreState extends BaseStoreState { - metadata?: DatabaseMetadata; - tablePreviewData: Record[]; - tablePreviewPagination: TablePagination; - tablePreviewTotal: number; - activeTable?: DatabaseTable; - activeDatabaseName?: string; - activeNavItem?: DatabaseNavItem; - defaultTabName?: string; - consoleContent: string; - consoleSelectedContent?: string; - consoleQueryLoading?: boolean; - consoleQueryResults?: DatabaseQueryResults; - consoleQueryResultsActiveTabName?: string; - } - - type DatabaseStoreGetters = BaseStoreGetters; - - interface DatabaseStoreMutations extends BaseStoreMutations { - setMetadata: StoreMutation; - setTablePreviewData: StoreMutation< - DatabaseStoreState, - Record[] - >; - setTablePreviewTotal: StoreMutation; - setTablePreviewPagination: StoreMutation< - DatabaseStoreState, - TablePagination - >; - setActiveTable: StoreMutation; - resetActiveTable: StoreMutation; - setActiveDatabaseName: StoreMutation; - setActiveNavItem: StoreMutation; - setDefaultTabName: StoreMutation; - setConsoleContent: StoreMutation; - setConsoleSelectedContent: StoreMutation< - DatabaseStoreState, - string | undefined - >; - setConsoleQueryLoading: StoreMutation; - setConsoleQueryResults: StoreMutation< - DatabaseStoreState, - DatabaseQueryResults - >; - setConsoleQueryResultsActiveTabName: StoreMutation< - DatabaseStoreState, - string | undefined - >; - } - - interface DatabaseStoreActions extends BaseStoreActions { - changePassword: StoreAction< - DatabaseStoreState, - { id: string; password: string } - >; - getMetadata: StoreAction; - getTablePreview: StoreAction< - DatabaseStoreState, - { id: string; database: string; table: string } - >; - getTable: StoreAction< - DatabaseStoreState, - { id: string; database: string; table: string } - >; - runQuery: StoreAction< - DatabaseStoreState, - { id: string; database: string; query: string } - >; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/dependency.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/dependency.d.ts deleted file mode 100644 index fb538dbb..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/dependency.d.ts +++ /dev/null @@ -1,171 +0,0 @@ -export declare global { - type DependencyStoreModule = BaseModule< - DependencyStoreState, - DependencyStoreGetters, - DependencyStoreMutations, - DependencyStoreActions - >; - - interface DependencyStoreState extends BaseStoreState { - lang: DependencyLang; - searchQuery: string; - repoTabName: DependencyRepoTabName; - installedDependenciesTableLoading: boolean; - installedDependenciesTableData: TableData; - installedDependenciesTableTotal: number; - installedDependenciesTablePagination: TablePagination; - searchRepoTableLoading: boolean; - searchRepoTableData: TableData; - searchRepoTableTotal: number; - searchRepoTablePagination: TablePagination; - configSetupTableLoading: boolean; - configSetupTableData: TableData; - configSetupTableTotal: number; - configSetupTablePagination: TablePagination; - installForm: DependencyInstallForm; - installLoading: boolean; - uninstallForm: DependencyUninstallForm; - uninstallLoading: boolean; - setupForm: DependencySetupForm; - setupLoading: boolean; - versions: string[]; - getVersionsLoading: boolean; - activeTargetId?: string; - activeTargetName?: string; - activeTargetStatus?: DependencyStatus; - activeTargetLogs: DependencyLog[]; - config?: DependencyConfig; - configVersions: string[]; - getConfigVersionsLoading?: boolean; - activeConfigSetup?: DependencyConfigSetup; - } - - interface DependencyStoreGetters - extends BaseStoreGetters {} - - interface DependencyStoreMutations - extends BaseStoreMutations { - setLang: (state: DependencyStoreState, lang: DependencyLang) => void; - setSearchQuery: (state: DependencyStoreState, query: string) => void; - setRepoTabName: ( - state: DependencyStoreState, - name: DependencyRepoTabName - ) => void; - setInstalledDependenciesTableLoading: ( - state: DependencyStoreState, - loading: boolean - ) => void; - setInstalledDependenciesTableData: ( - state: DependencyStoreState, - data: TableDataWithTotal - ) => void; - resetInstalledDependenciesTableData: (state: DependencyStoreState) => void; - setInstalledDependenciesTablePagination: ( - state: DependencyStoreState, - pagination: TablePagination - ) => void; - resetInstalledDependenciesTablePagination: ( - state: DependencyStoreState - ) => void; - setSearchRepoTableLoading: ( - state: DependencyStoreState, - loading: boolean - ) => void; - setSearchRepoTableData: ( - state: DependencyStoreState, - data: TableDataWithTotal - ) => void; - resetSearchRepoTableData: (state: DependencyStoreState) => void; - setSearchRepoTablePagination: ( - state: DependencyStoreState, - pagination: TablePagination - ) => void; - resetSearchRepoTablePagination: (state: DependencyStoreState) => void; - setConfigSetupTableLoading: ( - state: DependencyStoreState, - loading: boolean - ) => void; - setConfigSetupTableData: ( - state: DependencyStoreState, - data: TableDataWithTotal - ) => void; - resetConfigSetupTableData: (state: DependencyStoreState) => void; - setConfigSetupTablePagination: ( - state: DependencyStoreState, - pagination: TablePagination - ) => void; - resetConfigSetupTablePagination: (state: DependencyStoreState) => void; - setInstallForm: ( - state: DependencyStoreState, - form: DependencyInstallForm - ) => void; - resetInstallForm: (state: DependencyStoreState) => void; - setInstallLoading: (state: DependencyStoreState, loading: boolean) => void; - setUninstallForm: ( - state: DependencyStoreState, - form: DependencyUninstallForm - ) => void; - resetUninstallForm: (state: DependencyStoreState) => void; - setUninstallLoading: ( - state: DependencyStoreState, - loading: boolean - ) => void; - setSetupForm: ( - state: DependencyStoreState, - form: DependencySetupForm - ) => void; - resetSetupForm: (state: DependencyStoreState) => void; - setSetupLoading: (state: DependencyStoreState, loading: boolean) => void; - setVersions: (state: DependencyStoreState, versions: string[]) => void; - resetVersions: (state: DependencyStoreState) => void; - setGetVersionsLoading: ( - state: DependencyStoreState, - loading: boolean - ) => void; - setActiveTargetId: (state: DependencyStoreState, id: string) => void; - resetActiveTargetId: (state: DependencyStoreState) => void; - setActiveTargetName: (state: DependencyStoreState, name: string) => void; - resetActiveTargetName: (state: DependencyStoreState) => void; - setActiveTargetStatus: ( - state: DependencyStoreState, - status: DependencyStatus - ) => void; - resetActiveTargetStatus: (state: DependencyStoreState) => void; - setActiveTargetLogs: ( - state: DependencyStoreState, - logs: DependencyLog[] - ) => void; - resetActiveTargetLogs: (state: DependencyStoreState) => void; - setConfig: (state: DependencyStoreState, config: DependencyConfig) => void; - resetConfig: (state: DependencyStoreState) => void; - setConfigVersions: ( - state: DependencyStoreState, - versions: string[] - ) => void; - resetConfigVersions: (state: DependencyStoreState) => void; - setGetConfigVersionsLoading: ( - state: DependencyStoreState, - loading: boolean - ) => void; - setActiveConfigSetup: ( - state: DependencyStoreState, - configSetup: DependencyConfigSetup - ) => void; - resetActiveConfigSetup: (state: DependencyStoreState) => void; - } - - interface DependencyStoreActions extends BaseStoreActions { - getInstalledDependencyList: StoreAction; - searchRepoList: StoreAction; - getRepoVersions: StoreAction; - installDependency: StoreAction; - uninstallDependency: StoreAction; - setupConfig: StoreAction; - getActiveTargetLogs: StoreAction; - getDependencyConfig: StoreAction; - saveDependencyConfig: StoreAction; - getDependencyConfigVersions: StoreAction; - getConfigSetupList: StoreAction; - installConfigSetup: StoreAction; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/environment.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/environment.d.ts deleted file mode 100644 index 39627e41..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/environment.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare global { - type EnvironmentStoreModule = BaseModule< - EnvironmentStoreState, - EnvironmentStoreGetters, - EnvironmentStoreMutations, - EnvironmentStoreActions - >; - - type EnvironmentStoreState = BaseStoreState; - - type EnvironmentStoreGetters = BaseStoreGetters; - - type EnvironmentStoreMutations = BaseStoreMutations; - - type EnvironmentStoreActions = BaseStoreActions; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/file.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/file.d.ts deleted file mode 100644 index a204879b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/file.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Module, MutationTree } from 'vuex'; - -declare global { - interface FileStoreModule extends Module { - mutations: FileStoreMutations; - } - - interface FileStoreState { - editorOptions: FileEditorOptions; - editorSettingsDialogVisible: boolean; - editorCreateWithAiDialogVisible: boolean; - editorFileNavItem?: FileNavItem; - } - - interface FileStoreMutations extends MutationTree { - setEditorOptions: StoreMutation; - resetEditorOptions: StoreMutation; - setEditorSettingsDialogVisible: StoreMutation; - setEditorCreateWithAiDialogVisible: StoreMutation; - resetEditorFileNavItem: StoreMutation; - setEditorFileNavItem: StoreMutation; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/git.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/git.d.ts deleted file mode 100644 index 6a58857a..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/git.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -type GitStoreModule = BaseModule< - GitStoreState, - GitStoreGetters, - GitStoreMutations, - GitStoreActions ->; - -interface GitStoreState extends BaseStoreState, BaseFileStoreState { - activeDialogKey?: DialogKey | 'createBranch' | 'createSpider'; - gitChangeSelection: TableData; - gitRemoteRefs: GitRef[]; - currentBranch?: GitRef; - gitBranches: GitRef[]; - gitRemoteBranches: GitRef[]; - gitChanges: GitChange[]; - gitLogs: GitLog[]; - gitDiff: GitDiff; - activeFilePath?: string; - createSpiderLoading?: boolean; -} - -interface GitStoreGetters extends BaseStoreGetters, BaseFileStoreGetters { - gitBranchSelectOptions: StoreGetter; -} - -interface GitStoreMutations - extends BaseStoreMutations, - BaseFileStoreMutations { - setGitChangeSelection: StoreMutation; - resetGitChangeSelection: StoreMutation; - setGitRemoteRefs: StoreMutation; - resetGitRemoteRefs: StoreMutation; - setCurrentBranch: StoreMutation; - resetCurrentBranch: StoreMutation; - setGitBranches: StoreMutation; - resetGitBranches: StoreMutation; - setGitRemoteBranches: StoreMutation; - resetGitRemoteBranches: StoreMutation; - setGitChanges: StoreMutation; - resetGitChanges: StoreMutation; - setGitLogs: StoreMutation; - resetGitLogs: StoreMutation; - setGitDiff: StoreMutation; - resetGitDiff: StoreMutation; - setActiveFilePath: StoreMutation; - resetActiveFilePath: StoreMutation; - setCreateSpiderLoading: StoreMutation; -} - -interface GitStoreActions - extends BaseStoreActions, - BaseFileStoreActions { - cloneGit: StoreAction; - getGitRemoteRefs: StoreAction; - getCurrentBranch: StoreAction; - getBranches: StoreAction; - getRemoteBranches: StoreAction; - newBranch: StoreAction< - GitStoreState, - { id: string; sourceBranch: string; targetBranch: string } - >; - deleteBranch: StoreAction; - checkoutBranch: StoreAction; - checkoutRemoteBranch: StoreAction< - GitStoreState, - { id: string; branch: string } - >; - getChanges: StoreAction; - addChanges: StoreAction; - deleteChanges: StoreAction< - GitStoreState, - { id: string; changes: GitChange[] } - >; - commit: StoreAction; - pull: StoreAction; - push: StoreAction; - getLogs: StoreAction; - gitCheckoutTag: StoreAction; - gitPull: StoreAction; - gitCommit: StoreAction; - gitFileDiff: StoreAction; - clickCreateSpider: StoreAction; - createSpider: StoreAction; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/layout.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/layout.d.ts deleted file mode 100644 index 0acf6b32..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/layout.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { GetterTree, Module, MutationTree } from 'vuex'; - -declare global { - interface LayoutStoreModule extends Module { - getters: LayoutStoreGetters; - mutations: LayoutStoreMutations; - } - - interface LayoutStoreState { - // sidebar - sidebarCollapsed: boolean; - menuItems: MenuItem[]; - - // tabs view - maxTabId: number; - tabs: Tab[]; - activeTabId?: number; - draggingTab?: Tab; - targetTab?: Tab; - isTabsDragging: boolean; - - // nav - navVisibleFn: (path: string) => boolean; - - // detail - detailTabVisibleFn: (ns: StoreNamespace, item: NavItem) => boolean; - - // action - actionVisibleFn: (target: string, action: string) => boolean; - - // chatbot - chatbotSidebarVisible: boolean; - chatbotSidebarWidth: number; - } - - interface LayoutStoreGetters - extends GetterTree { - tabs: StoreGetter; - activeTab: StoreGetter; - sidebarMenuItems: StoreGetter; - normalizedMenuItems: StoreGetter; - } - - interface LayoutStoreMutations extends MutationTree { - setMenuItems: StoreMutation; - setSidebarCollapsed: StoreMutation; - setTabs: StoreMutation; - setActiveTabId: StoreMutation; - addTab: StoreMutation; - updateTab: StoreMutation; - removeTab: StoreMutation; - removeAllTabs: StoreMutation; - setDraggingTab: StoreMutation; - resetDraggingTab: StoreMutation; - setTargetTab: StoreMutation; - resetTargetTab: StoreMutation; - setIsTabsDragging: StoreMutation; - setNavVisibleFn: StoreMutation boolean>; - setDetailTabVisibleFn: StoreMutation< - LayoutStoreState, - (ns: StoreNamespace, tab: NavItem) => boolean - >; - setActionVisibleFn: StoreMutation< - LayoutStoreState, - (target: string, action: string) => boolean - >; - setChatbotSidebarVisible: StoreMutation; - setChatbotSidebarWidth: StoreMutation; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/node.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/node.d.ts deleted file mode 100644 index 6ca912b9..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/node.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -type NodeStoreModule = BaseModule< - NodeStoreState, - NodeStoreGetters, - NodeStoreMutations, - NodeStoreActions ->; - -interface NodeStoreState extends BaseStoreState { - nodeMetricsMap: Record; - allNodes: CNode[]; -} - -type NodeStoreGetters = BaseStoreGetters; - -interface NodeStoreMutations extends BaseStoreMutations { - setNodeMetricsMap: StoreMutation>; - setAllNodes: StoreMutation; -} - -interface NodeStoreActions extends BaseStoreActions { - getNodeMetrics: StoreAction; - getAllNodes: StoreAction; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/notificationAlert.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/notificationAlert.d.ts deleted file mode 100644 index ffdf9490..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/notificationAlert.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -type NotificationAlertStoreModule = BaseModule< - NotificationAlertStoreState, - NotificationAlertStoreGetters, - NotificationAlertStoreMutations, - NotificationAlertStoreActions ->; - -interface NotificationAlertStoreState - extends BaseStoreState { - allAlerts: NotificationAlert[]; -} - -type NotificationAlertStoreGetters = BaseStoreGetters; - -interface NotificationAlertStoreMutations - extends BaseStoreMutations { - setAllAlerts: StoreMutation< - NotificationSettingStoreState, - NotificationAlert[] - >; - resetAllAlerts: StoreMutation; -} - -interface NotificationAlertStoreActions - extends BaseStoreActions { - getAllAlerts: StoreAction; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/notificationChannel.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/notificationChannel.d.ts deleted file mode 100644 index 36c74543..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/notificationChannel.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -type NotificationChannelStoreModule = BaseModule< - NotificationChannelStoreState, - NotificationChannelStoreGetters, - NotificationChannelStoreMutations, - NotificationChannelStoreActions ->; - -interface NotificationChannelStoreState - extends BaseStoreState { - allChannels: NotificationChannel[]; -} - -type NotificationChannelStoreGetters = BaseStoreGetters; - -interface NotificationChannelStoreMutations - extends BaseStoreMutations { - setAllChannels: StoreMutation< - NotificationChannelStoreState, - NotificationChannel[] - >; - resetAllChannels: StoreMutation; -} - -interface NotificationChannelStoreActions - extends BaseStoreActions { - sendTestMessage: StoreAction< - NotificationChannelStoreState, - { id: string; toMail?: string } - >; - getAllChannels: StoreAction; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/notificationRequest.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/notificationRequest.d.ts deleted file mode 100644 index 39b8dcb3..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/notificationRequest.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -type NotificationRequestStoreModule = BaseModule< - NotificationRequestStoreState, - NotificationRequestStoreGetters, - NotificationRequestStoreMutations, - NotificationRequestStoreActions ->; - -type NotificationRequestStoreState = BaseStoreState; - -type NotificationRequestStoreGetters = BaseStoreGetters; - -type NotificationRequestStoreMutations = - BaseStoreMutations; - -type NotificationRequestStoreActions = BaseStoreActions; diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/notificationSetting.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/notificationSetting.d.ts deleted file mode 100644 index 9a1af33a..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/notificationSetting.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -type NotificationSettingStoreModule = BaseModule< - NotificationSettingStoreState, - NotificationSettingStoreGetters, - NotificationSettingStoreMutations, - NotificationSettingStoreActions ->; - -type NotificationSettingStoreState = BaseStoreState; - -type NotificationSettingStoreGetters = BaseStoreGetters; - -interface NotificationSettingStoreMutations - extends BaseStoreMutations { - setTemplateTitle: StoreMutation; - resetTemplateTitle: StoreMutation; - setTemplateContent: StoreMutation; - resetTemplateContent: StoreMutation; -} - -type NotificationSettingStoreActions = BaseStoreActions; diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/plugin.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/plugin.d.ts deleted file mode 100644 index e96468f8..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/plugin.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -type PluginStoreModule = BaseModule< - PluginStoreState, - PluginStoreGetters, - PluginStoreMutations, - PluginStoreActions ->; - -interface PluginStoreState extends BaseStoreState { - settings: Setting; - publicPlugins: PublicPlugin[]; - activePublicPlugin?: PublicPlugin; - activePublicPluginInfo?: PublicPluginInfo; - installType: string; -} - -type PluginStoreGetters = BaseStoreGetters; - -interface PluginStoreMutations extends BaseStoreMutations { - setSettings: StoreMutation; - setSettingsByKey: StoreMutation; - setPublicPlugins: StoreMutation; - resetPublicPlugins: StoreMutation; - setActivePublicPlugin: StoreMutation; - resetActivePublicPlugin: StoreMutation; - setActivePublicPluginInfo: StoreMutation; - resetActivePublicPluginInfo: StoreMutation; - setInstallType: StoreMutation; - resetInstallType: StoreMutation; -} - -interface PluginStoreActions extends BaseStoreActions { - getSettings: StoreAction; - saveSettings: StoreAction; - getPublicPluginList: StoreAction; - getPublicPluginInfo: StoreAction; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/project.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/project.d.ts deleted file mode 100644 index b54de451..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/project.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -type ProjectStoreModule = BaseModule< - ProjectStoreState, - ProjectStoreGetters, - ProjectStoreMutations, - ProjectStoreActions ->; - -interface ProjectStoreState extends BaseStoreState {} - -type ProjectStoreGetters = BaseStoreGetters; - -interface ProjectStoreMutations extends BaseStoreMutations {} - -interface ProjectStoreActions extends BaseStoreActions {} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/role.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/role.d.ts deleted file mode 100644 index 1584a3a1..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/role.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -export declare global { - type RoleStoreModule = BaseModule< - RoleStoreState, - RoleStoreGetters, - RoleStoreMutations, - RoleStoreActions - >; - - interface RoleStoreState extends BaseStoreState { - pagesCheckAllStatus: CheckboxStatus; - } - - interface RoleStoreGetters extends BaseStoreGetters {} - - interface RoleStoreMutations extends BaseStoreMutations { - setPagesCheckAllStatus: ( - state: RoleStoreState, - status: CheckboxStatus - ) => void; - } - - interface RoleStoreActions extends BaseStoreActions {} -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/schedule.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/schedule.d.ts deleted file mode 100644 index daa4d896..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/schedule.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -type ScheduleStoreModule = BaseModule< - ScheduleStoreState, - ScheduleStoreGetters, - ScheduleStoreMutations, - ScheduleStoreActions ->; - -type ScheduleStoreState = BaseStoreState; - -type ScheduleStoreGetters = BaseStoreGetters; - -type ScheduleStoreMutations = BaseStoreMutations; - -interface ScheduleStoreActions extends BaseStoreActions { - enable: StoreAction; - disable: StoreAction; - runById: StoreAction< - ScheduleStoreState, - { id: string; options: SpiderRunOptions } - >; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/spider.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/spider.d.ts deleted file mode 100644 index 5e5fa1a8..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/spider.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -type SpiderStoreModule = BaseModule< - SpiderStoreState, - SpiderStoreGetters, - SpiderStoreMutations, - SpiderStoreActions ->; - -interface SpiderStoreState extends BaseStoreState, BaseFileStoreState { - dataDisplayAllFields: boolean; - databaseMetadata?: DatabaseMetadata; -} - -interface SpiderStoreGetters extends BaseStoreGetters { - databaseTableSelectOptions: StoreGetter; -} - -interface SpiderStoreMutations - extends BaseStoreMutations, - BaseFileStoreMutations { - setDataDisplayAllFields: StoreMutation; - setDatabaseMetadata: StoreMutation; -} - -interface SpiderStoreActions - extends BaseStoreActions, - BaseFileStoreActions { - runById: StoreAction< - SpiderStoreState, - { id: string; options: SpiderRunOptions } - >; - getDatabaseMetadata: StoreAction; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/system.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/system.d.ts deleted file mode 100644 index 36c6cf73..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/system.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { GetterTree, Module, MutationTree } from 'vuex'; - -declare global { - interface SystemStoreModule extends Module { - getters: SystemStoreGetters; - mutations: SystemStoreMutations; - actions: SystemStoreActions; - } - - interface SystemStoreState { - settings: Record; - } - - interface SystemStoreGetters - extends GetterTree {} - - interface SystemStoreMutations extends MutationTree { - setSetting: StoreMutation< - SystemStoreState, - { key: string; value: Setting } - >; - resetSetting: StoreMutation; - setSettings: StoreMutation< - SystemStoreState, - { settings: Record } - >; - resetSettings: StoreMutation; - } - - interface SystemStoreActions extends BaseStoreActions { - getSetting: StoreAction; - saveSetting: StoreAction; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/tag.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/tag.d.ts deleted file mode 100644 index d8f7563c..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/tag.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -type TagStoreModule = BaseModule< - TagStoreState, - TagStoreGetters, - TagStoreMutations, - TagStoreActions ->; - -type TagStoreState = BaseStoreState; - -type TagStoreGetters = BaseStoreGetters; - -interface TagStoreMutations extends BaseStoreMutations { - setAllTagSelectOptions: StoreMutation, SelectOption[]>; - setAllTagTags: StoreMutation, string[]>; -} - -type TagStoreActions = BaseStoreActions; diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/task.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/task.d.ts deleted file mode 100644 index a52fa676..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/task.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -type TaskStoreModule = BaseModule< - TaskStoreState, - TaskStoreGetters, - TaskStoreMutations, - TaskStoreActions ->; - -interface TaskStoreState extends BaseStoreState { - logContent: string; - logPagination: TablePagination; - logTotal: number; - logAutoUpdate: boolean; - dataDisplayAllFields: boolean; -} - -interface TaskStoreGetters extends BaseStoreGetters {} - -interface TaskStoreMutations extends BaseStoreMutations { - setLogContent: StoreMutation; - resetLogContent: StoreMutation; - setLogPagination: StoreMutation; - resetLogPagination: StoreMutation; - setLogTotal: StoreMutation; - resetLogTotal: StoreMutation; - enableLogAutoUpdate: StoreMutation; - disableLogAutoUpdate: StoreMutation; - setDataDisplayAllFields: StoreMutation; -} - -interface TaskStoreActions extends BaseStoreActions { - getLogs: StoreAction; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/token.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/token.d.ts deleted file mode 100644 index e9fda802..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/token.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -type TokenStoreModule = BaseModule< - TokenStoreState, - TokenStoreGetters, - TokenStoreMutations, - TokenStoreActions ->; - -type TokenStoreState = BaseStoreState; - -type TokenStoreGetters = BaseStoreGetters; - -type TokenStoreMutations = BaseStoreMutations; - -type TokenStoreActions = BaseStoreActions; diff --git a/frontend/crawlab-ui/typings/interfaces/store/modules/user.d.ts b/frontend/crawlab-ui/typings/interfaces/store/modules/user.d.ts deleted file mode 100644 index ca4e5aed..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/modules/user.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -type UserStoreModule = BaseModule< - UserStoreState, - UserStoreGetters, - UserStoreMutations, - UserStoreActions ->; - -interface UserStoreState extends BaseStoreState {} - -interface UserStoreGetters extends BaseStoreGetters {} - -interface UserStoreMutations extends BaseStoreMutations {} - -interface UserStoreActions extends BaseStoreActions { - changePassword: StoreAction; -} diff --git a/frontend/crawlab-ui/typings/interfaces/store/utils/file.d.ts b/frontend/crawlab-ui/typings/interfaces/store/utils/file.d.ts deleted file mode 100644 index 2518418e..00000000 --- a/frontend/crawlab-ui/typings/interfaces/store/utils/file.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { GetterTree } from 'vuex'; - -declare global { - interface BaseFileStoreState { - fileNavItems: FileNavItem[]; - activeFileNavItem?: FileNavItem; - fileContent: string; - defaultFilePaths: string[]; - editorFileContentCache: Record; - } - - interface BaseFileStoreGetters - extends GetterTree { - fileContent: StoreGetter; - } - - interface BaseFileStoreMutations { - setFileNavItems: StoreMutation; - resetFileNavItems: StoreMutation; - setActiveFileNavItem: StoreMutation; - resetActiveFileNavItem: StoreMutation; - setFileContent: StoreMutation; - resetFileContent: StoreMutation; - setDefaultFilePaths: StoreMutation; - resetDefaultFilePaths: StoreMutation; - setEditorFileContentCache: StoreMutation< - S, - { path: string; content: string } - >; - resetEditorFileContentCache: StoreMutation; - } - - interface BaseFileStoreActions { - listDir: StoreAction; - getFile: StoreAction; - getFileInfo: StoreAction; - saveFile: StoreAction; - saveFileBinary: StoreAction; - saveFilesBinary: StoreAction; - saveDir: StoreAction; - renameFile: StoreAction; - deleteFile: StoreAction; - copyFile: StoreAction; - exportFiles: StoreAction; - } -} diff --git a/frontend/crawlab-ui/typings/interfaces/views/database.d.ts b/frontend/crawlab-ui/typings/interfaces/views/database.d.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/frontend/crawlab-ui/typings/interfaces/views/git.d.ts b/frontend/crawlab-ui/typings/interfaces/views/git.d.ts deleted file mode 100644 index b925d30b..00000000 --- a/frontend/crawlab-ui/typings/interfaces/views/git.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { - GIT_STATUS_PENDING, - GIT_STATUS_CLONING, - GIT_STATUS_READY, - GIT_STATUS_ERROR, - GIT_STATUS_PULLING, - GIT_STATUS_PUSHING, -} from '@/constants/git'; - -declare global { - type GitStatus = - | GIT_STATUS_PENDING - | GIT_STATUS_CLONING - | GIT_STATUS_READY - | GIT_STATUS_ERROR - | GIT_STATUS_PULLING - | GIT_STATUS_PUSHING; -} diff --git a/frontend/crawlab-ui/typings/interfaces/views/index.d.ts b/frontend/crawlab-ui/typings/interfaces/views/index.d.ts deleted file mode 100644 index 2a04886f..00000000 --- a/frontend/crawlab-ui/typings/interfaces/views/index.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export * from './database'; -export * from './git'; -export * from './login'; -export * from './node'; -export * from './project'; -export * from './result'; -export * from './schedule'; -export * from './spider'; -export * from './task'; -export * from './user'; diff --git a/frontend/crawlab-ui/typings/interfaces/views/login.d.ts b/frontend/crawlab-ui/typings/interfaces/views/login.d.ts deleted file mode 100644 index fb98b48a..00000000 --- a/frontend/crawlab-ui/typings/interfaces/views/login.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -interface LoginForm { - username: string; - password: string; - confirmPassword?: string; - email?: string; -} - -interface LoginRules { - username: ElFormRule[]; - password: ElFormRule[]; - confirmPassword: ElFormRule[]; -} diff --git a/frontend/crawlab-ui/typings/interfaces/views/node.d.ts b/frontend/crawlab-ui/typings/interfaces/views/node.d.ts deleted file mode 100644 index f8916927..00000000 --- a/frontend/crawlab-ui/typings/interfaces/views/node.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { NODE_STATUS_OFFLINE, NODE_STATUS_ONLINE } from '@/constants/node'; - -declare global { - type NodeStatus = NODE_STATUS_OFFLINE | NODE_STATUS_ONLINE; -} diff --git a/frontend/crawlab-ui/typings/interfaces/views/project.d.ts b/frontend/crawlab-ui/typings/interfaces/views/project.d.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/frontend/crawlab-ui/typings/interfaces/views/result.d.ts b/frontend/crawlab-ui/typings/interfaces/views/result.d.ts deleted file mode 100644 index 95a65f1a..00000000 --- a/frontend/crawlab-ui/typings/interfaces/views/result.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -interface ResultListProps { - id: string; - dataSourceId?: string; - noActions?: boolean; - embedded?: boolean; - visibleButtons?: BuiltInTableActionButtonName[]; - filter?: FilterConditionData[] | (() => FilterConditionData[]); - displayAllFields: boolean; -} diff --git a/frontend/crawlab-ui/typings/interfaces/views/schedule.d.ts b/frontend/crawlab-ui/typings/interfaces/views/schedule.d.ts deleted file mode 100644 index ca7efe9f..00000000 --- a/frontend/crawlab-ui/typings/interfaces/views/schedule.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -interface Schedule { - _id?: string; - name?: string; - description?: string; - spider_id?: string; - spider_name?: string; - cron?: string; - cmd?: string; - param?: string; - priority?: number; - mode?: TaskMode; - node_ids?: string[]; - node_tags?: string[]; - enabled?: boolean; - - // associated data - spider?: Spider; -} diff --git a/frontend/crawlab-ui/typings/interfaces/views/spider.d.ts b/frontend/crawlab-ui/typings/interfaces/views/spider.d.ts deleted file mode 100644 index 5b056f3f..00000000 --- a/frontend/crawlab-ui/typings/interfaces/views/spider.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -type SpiderTabName = 'overview' | 'files' | 'tasks' | 'settings'; - -interface SpiderDialogVisible extends DialogVisible { - run: boolean; - uploadFiles: boolean; -} - -type SpiderDialogKey = DialogKey | 'run' | 'uploadFiles'; diff --git a/frontend/crawlab-ui/typings/interfaces/views/task.d.ts b/frontend/crawlab-ui/typings/interfaces/views/task.d.ts deleted file mode 100644 index 5433ddf3..00000000 --- a/frontend/crawlab-ui/typings/interfaces/views/task.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { - TASK_MODE_ALL_NODES, - TASK_MODE_RANDOM, - TASK_MODE_SELECTED_NODES, -} from '@/constants/task'; - -export declare global { - interface Task extends BaseModel { - spider_id?: string; - spider_name?: string; - status?: TaskStatus; - node_id?: string; - node_name?: string; - pid?: number; - schedule_id?: string; - schedule_name?: string; - type?: string; - mode?: TaskMode; - parent_id?: string; - cmd?: string; - param?: string; - error?: string; - stat?: TaskStat; - priority?: number; - - // view model - node?: CNode; - spider?: Spider; - schedule?: Schedule; - } - - interface TaskStat { - create_ts?: string; - started_at?: string; - ended_at?: string; - result_count?: number; - error_log_count?: number; - wait_duration?: number; - runtime_duration?: number; - total_duration?: number; - } - - type TaskMode = - | TASK_MODE_RANDOM - | TASK_MODE_ALL_NODES - | TASK_MODE_SELECTED_NODES; - - type TaskStatus = - | 'abnormal' - | 'cancelled' - | 'error' - | 'finished' - | 'running' - | 'assigned' - | 'pending'; -} diff --git a/frontend/crawlab-ui/typings/interfaces/views/user.d.ts b/frontend/crawlab-ui/typings/interfaces/views/user.d.ts deleted file mode 100644 index 6c03089a..00000000 --- a/frontend/crawlab-ui/typings/interfaces/views/user.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { ROLE_ADMIN, ROLE_NORMAL } from '@/constants/user'; - -declare global { - type UserRole = ROLE_ADMIN | ROLE_NORMAL; -} diff --git a/frontend/crawlab-ui/typings/interfaces/vue3-sfc-loader.d.ts b/frontend/crawlab-ui/typings/interfaces/vue3-sfc-loader.d.ts deleted file mode 100644 index 212e9e83..00000000 --- a/frontend/crawlab-ui/typings/interfaces/vue3-sfc-loader.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -// declare module 'vue3-sfc-loader' { -// import {AbstractPath, ModuleExport, Options} from 'vue3-sfc-loader/dist/types/vue3/types'; -// -// declare function loadModule(path: AbstractPath, options?: Options): Promise; -// -// declare type AbstractPath = { -// toString(): string; -// } -// } diff --git a/frontend/crawlab-ui/typings/layouts/BlankLayout.vue.d.ts b/frontend/crawlab-ui/typings/layouts/BlankLayout.vue.d.ts deleted file mode 100644 index da1dde99..00000000 --- a/frontend/crawlab-ui/typings/layouts/BlankLayout.vue.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_1) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/layouts/NormalLayout.vue.d.ts b/frontend/crawlab-ui/typings/layouts/NormalLayout.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/layouts/NormalLayout.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/layouts/components/Header.vue.d.ts b/frontend/crawlab-ui/typings/layouts/components/Header.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/layouts/components/Header.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/layouts/components/Sidebar.vue.d.ts b/frontend/crawlab-ui/typings/layouts/components/Sidebar.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/layouts/components/Sidebar.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/layouts/components/SidebarItem.vue.d.ts b/frontend/crawlab-ui/typings/layouts/components/SidebarItem.vue.d.ts deleted file mode 100644 index f0139b58..00000000 --- a/frontend/crawlab-ui/typings/layouts/components/SidebarItem.vue.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -type __VLS_Props = { - item: MenuItem; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - click: (item: MenuItem) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onClick?: ((item: MenuItem) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/layouts/components/TabsView.vue.d.ts b/frontend/crawlab-ui/typings/layouts/components/TabsView.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/layouts/components/TabsView.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/layouts/content/detail/DetailLayout.vue.d.ts b/frontend/crawlab-ui/typings/layouts/content/detail/DetailLayout.vue.d.ts deleted file mode 100644 index b1120b50..00000000 --- a/frontend/crawlab-ui/typings/layouts/content/detail/DetailLayout.vue.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -type __VLS_Props = { - storeNamespace: ListStoreNamespace; - navItemNameKey?: string; - showBackButton?: boolean; - showSaveButton?: boolean; - navItemLabelFn?: (item: NavItem) => string; -}; -declare const activeId: import("vue").ComputedRef, activeTabName: import("vue").ComputedRef, navLoading: import("vue").Ref, navItems: import("vue").ComputedRef[]>, onNavSelect: (id: string) => Promise, onNavTabsSelect: (tabName: string) => Promise, onBack: () => Promise, onSave: () => Promise; -declare const computedTabs: import("vue").ComputedRef[]>; -declare const getNavList: (query?: string) => Promise; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_38: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - actions?: (props: typeof __VLS_38) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, { - activeId: typeof activeId; - activeTabName: typeof activeTabName; - navLoading: typeof navLoading; - navItems: typeof navItems; - onNavSelect: typeof onNavSelect; - onNavTabsSelect: typeof onNavTabsSelect; - onBack: typeof onBack; - onSave: typeof onSave; - computedTabs: typeof computedTabs; - getNavList: typeof getNavList; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - navItemNameKey: string; - showBackButton: boolean; - showSaveButton: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - navItemNameKey: string; - showBackButton: boolean; - showSaveButton: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/layouts/content/detail/useDetail.d.ts b/frontend/crawlab-ui/typings/layouts/content/detail/useDetail.d.ts deleted file mode 100644 index bc570204..00000000 --- a/frontend/crawlab-ui/typings/layouts/content/detail/useDetail.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare const useDetail: (ns: ListStoreNamespace) => { - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useDetail; diff --git a/frontend/crawlab-ui/typings/layouts/content/index.d.ts b/frontend/crawlab-ui/typings/layouts/content/index.d.ts deleted file mode 100644 index 73e406fd..00000000 --- a/frontend/crawlab-ui/typings/layouts/content/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import useList from '@/layouts/content/list/useList'; -import { useDetail } from '@/layouts'; -export { useList, useDetail }; diff --git a/frontend/crawlab-ui/typings/layouts/content/list/ListLayout.vue.d.ts b/frontend/crawlab-ui/typings/layouts/content/list/ListLayout.vue.d.ts deleted file mode 100644 index df66d6e7..00000000 --- a/frontend/crawlab-ui/typings/layouts/content/list/ListLayout.vue.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { ColumnCls } from 'element-plus/es/components/table/src/table/defaults'; -import { CellCls, CellStyle, ColumnStyle } from 'element-plus'; -type __VLS_Slots = { - tabs?: any; - 'nav-actions-extra'?: any; - 'table-empty'?: any; - extra?: any; -}; -type __VLS_Props = { - navActions?: ListActionGroup[]; - rowKey?: string | ((row: any) => string); - tableColumns: TableColumns; - tableData: TableData; - tableTotal?: number; - tablePagination?: TablePagination; - tablePageSizes?: number[]; - tableListFilter?: FilterConditionData[]; - tableListSort?: SortData[]; - tableActionsPrefix?: ListActionButton[]; - tableActionsSuffix?: ListActionButton[]; - tableFilter?: any; - tablePaginationLayout?: string; - tableLoading?: boolean; - tableRowClassName?: ColumnCls; - tableRowStyle?: ColumnStyle; - tableCellClassName?: CellCls; - tableCellStyle?: CellStyle; - tableHeaderRowClassName?: ColumnCls; - tableHeaderRowStyle?: ColumnStyle; - tableHeaderCellClassName?: CellCls; - tableHeaderCellStyle?: CellStyle; - actionFunctions?: ListLayoutActionFunctions; - noActions?: boolean; - selectable?: boolean; - selectableFunction?: TableSelectableFunction; - visibleButtons?: BuiltInTableActionButtonName[]; - embedded?: boolean; -}; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { - select: (value: TableData) => any; - edit: (value: TableData) => any; - delete: (value: TableData) => any; -}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ - onSelect?: ((value: TableData) => any) | undefined; - onEdit?: ((value: TableData) => any) | undefined; - onDelete?: ((value: TableData) => any) | undefined; -}>, { - navActions: ListActionGroup[]; - rowKey: string | ((row: any) => string); - tableColumns: TableColumns; - tableData: TableData; - tableTotal: number; - tablePagination: TablePagination; - tableListFilter: FilterConditionData[]; - tableListSort: SortData[]; - tableActionsPrefix: ListActionButton[]; - tableActionsSuffix: ListActionButton[]; - tableFilter: any; - noActions: boolean; - selectable: boolean; - selectableFunction: TableSelectableFunction; - visibleButtons: BuiltInTableActionButtonName[]; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/layouts/content/list/useList.d.ts b/frontend/crawlab-ui/typings/layouts/content/list/useList.d.ts deleted file mode 100644 index 086cd706..00000000 --- a/frontend/crawlab-ui/typings/layouts/content/list/useList.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Store } from 'vuex'; -export declare const getFilterConditions: (column: TableColumn, filter: TableHeaderDialogFilterData) => FilterConditionData[]; -declare const useList: (ns: ListStoreNamespace, store: Store, opts?: UseListOptions) => ListLayoutComponentData; -export default useList; diff --git a/frontend/crawlab-ui/typings/layouts/content/simple/SimpleLayout.vue.d.ts b/frontend/crawlab-ui/typings/layouts/content/simple/SimpleLayout.vue.d.ts deleted file mode 100644 index 064fca68..00000000 --- a/frontend/crawlab-ui/typings/layouts/content/simple/SimpleLayout.vue.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -type __VLS_Props = { - background?: string; - padding?: string; -}; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_1: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - default?: (props: typeof __VLS_1) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - background: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - background: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/layouts/index.d.ts b/frontend/crawlab-ui/typings/layouts/index.d.ts deleted file mode 100644 index a3326c66..00000000 --- a/frontend/crawlab-ui/typings/layouts/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import BlankLayout from './BlankLayout.vue'; -import DetailLayout from './content/detail/DetailLayout.vue'; -import Header from './components/Header.vue'; -import ListLayout from './content/list/ListLayout.vue'; -import NormalLayout from './NormalLayout.vue'; -import Sidebar from './components/Sidebar.vue'; -import SidebarItem from './components/SidebarItem.vue'; -import SimpleLayout from './content/simple/SimpleLayout.vue'; -import TabsView from './components/TabsView.vue'; -import useDetail from './content/detail/useDetail'; -import useList from './content/list/useList'; -export { BlankLayout as ClBlankLayout, DetailLayout as ClDetailLayout, Header as ClHeader, ListLayout as ClListLayout, NormalLayout as ClNormalLayout, Sidebar as ClSidebar, SidebarItem as ClSidebarItem, SimpleLayout as ClSimpleLayout, TabsView as ClTabsView, useDetail as useDetail, useList as useList, }; diff --git a/frontend/crawlab-ui/typings/main.d.ts b/frontend/crawlab-ui/typings/main.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/frontend/crawlab-ui/typings/main.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/frontend/crawlab-ui/typings/package/App.vue.d.ts b/frontend/crawlab-ui/typings/package/App.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/package/App.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/package/create-app.d.ts b/frontend/crawlab-ui/typings/package/create-app.d.ts deleted file mode 100644 index a7adb23b..00000000 --- a/frontend/crawlab-ui/typings/package/create-app.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { App } from 'vue'; -import 'normalize.css/normalize.css'; -import 'element-plus/theme-chalk/index.css'; -import '@/styles/index.css'; -export declare const getDefaultCreateAppOptions: () => CreateAppOptions; -export declare const normalizeOptions: (options: CreateAppOptions) => CreateAppOptions; -declare const _createApp: (options?: CreateAppOptions) => Promise; -export default _createApp; diff --git a/frontend/crawlab-ui/typings/package/index.d.ts b/frontend/crawlab-ui/typings/package/index.d.ts deleted file mode 100644 index 51deeec1..00000000 --- a/frontend/crawlab-ui/typings/package/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const installer: import("vue").Plugin; -export { default as createApp } from './create-app'; diff --git a/frontend/crawlab-ui/typings/package/make-installer.d.ts b/frontend/crawlab-ui/typings/package/make-installer.d.ts deleted file mode 100644 index 9fc1465e..00000000 --- a/frontend/crawlab-ui/typings/package/make-installer.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ComponentOptionsMixin, Plugin } from 'vue'; -import 'normalize.css/normalize.css'; -import 'element-plus/theme-chalk/index.css'; -import '@/styles/index.css'; -declare const makeInstaller: (items?: [string, ComponentOptionsMixin][]) => Plugin; -export default makeInstaller; diff --git a/frontend/crawlab-ui/typings/package/utils.d.ts b/frontend/crawlab-ui/typings/package/utils.d.ts deleted file mode 100644 index 934c2e23..00000000 --- a/frontend/crawlab-ui/typings/package/utils.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { ComponentOptionsMixin } from 'vue'; -export declare const mapElements: (elements: any) => [string, ComponentOptionsMixin][]; diff --git a/frontend/crawlab-ui/typings/router/autoprobe.d.ts b/frontend/crawlab-ui/typings/router/autoprobe.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/autoprobe.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/database.d.ts b/frontend/crawlab-ui/typings/router/database.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/database.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/dependency.d.ts b/frontend/crawlab-ui/typings/router/dependency.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/dependency.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/environment.d.ts b/frontend/crawlab-ui/typings/router/environment.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/environment.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/git.d.ts b/frontend/crawlab-ui/typings/router/git.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/git.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/home.d.ts b/frontend/crawlab-ui/typings/router/home.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/home.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/hooks/auth.d.ts b/frontend/crawlab-ui/typings/router/hooks/auth.d.ts deleted file mode 100644 index ea685b9b..00000000 --- a/frontend/crawlab-ui/typings/router/hooks/auth.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Router } from 'vue-router'; -export declare const ANOMALOUS_ROUTES: string[]; -export declare const initRouterAuth: (router: Router, options?: RouterAuthOptions) => void; diff --git a/frontend/crawlab-ui/typings/router/index.d.ts b/frontend/crawlab-ui/typings/router/index.d.ts deleted file mode 100644 index 8bbb5bc5..00000000 --- a/frontend/crawlab-ui/typings/router/index.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Router } from 'vue-router'; -export declare function getDefaultRoutes(): Array; -export declare function getDefaultSidebarMenuItems(): MenuItem[]; -export declare function getDefaultHiddenMenuItems(): MenuItem[]; -export declare function getRootRoute(routes: Array): ExtendedRouterRecord | undefined; -export declare function getRouteByName(routes: Array, name: string): ExtendedRouterRecord | undefined; -export declare function replaceRouteByName(routes: Array, name: string, component: any): void; -export declare function addRoutes(route: ExtendedRouterRecord, routes: Array): void; -export declare function createRouter(rootRoutes?: Array, routes?: Array, allRoutes?: Array, options?: CreateRouterOptions): Router; -export declare function getRouter(rootRoutes?: Array, routes?: Array, allRoutes?: Array, options?: CreateRouterOptions): Router; diff --git a/frontend/crawlab-ui/typings/router/login.d.ts b/frontend/crawlab-ui/typings/router/login.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/login.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/misc.d.ts b/frontend/crawlab-ui/typings/router/misc.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/misc.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/node.d.ts b/frontend/crawlab-ui/typings/router/node.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/node.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/notification.d.ts b/frontend/crawlab-ui/typings/router/notification.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/notification.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/project.d.ts b/frontend/crawlab-ui/typings/router/project.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/project.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/role.d.ts b/frontend/crawlab-ui/typings/router/role.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/role.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/schedule.d.ts b/frontend/crawlab-ui/typings/router/schedule.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/schedule.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/spider.d.ts b/frontend/crawlab-ui/typings/router/spider.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/spider.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/system.d.ts b/frontend/crawlab-ui/typings/router/system.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/system.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/task.d.ts b/frontend/crawlab-ui/typings/router/task.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/task.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/token.d.ts b/frontend/crawlab-ui/typings/router/token.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/token.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/router/user.d.ts b/frontend/crawlab-ui/typings/router/user.d.ts deleted file mode 100644 index 42422b11..00000000 --- a/frontend/crawlab-ui/typings/router/user.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: Array; -export default _default; diff --git a/frontend/crawlab-ui/typings/services/autoprobe/autoprobeService.d.ts b/frontend/crawlab-ui/typings/services/autoprobe/autoprobeService.d.ts deleted file mode 100644 index 8029a470..00000000 --- a/frontend/crawlab-ui/typings/services/autoprobe/autoprobeService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useAutoProbeService: (store: Store) => Services; -export default useAutoProbeService; diff --git a/frontend/crawlab-ui/typings/services/database/databaseService.d.ts b/frontend/crawlab-ui/typings/services/database/databaseService.d.ts deleted file mode 100644 index e0c85452..00000000 --- a/frontend/crawlab-ui/typings/services/database/databaseService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useDataSourceService: (store: Store) => Services; -export default useDataSourceService; diff --git a/frontend/crawlab-ui/typings/services/environment/environmentService.d.ts b/frontend/crawlab-ui/typings/services/environment/environmentService.d.ts deleted file mode 100644 index ae0e12b4..00000000 --- a/frontend/crawlab-ui/typings/services/environment/environmentService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useEnvironmentService: (store: Store) => Services; -export default useEnvironmentService; diff --git a/frontend/crawlab-ui/typings/services/export/exportService.d.ts b/frontend/crawlab-ui/typings/services/export/exportService.d.ts deleted file mode 100644 index 408fb693..00000000 --- a/frontend/crawlab-ui/typings/services/export/exportService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -declare const useExportService: () => { - postExport: (type: ExportType, target: string, conditions?: FilterConditionData[], dbId?: string) => Promise>; - getExport: (type: ExportType, id: string, dbId?: string) => Promise>; - getExportDownload: (type: ExportType, id: string, dbId?: string) => Promise; -}; -export default useExportService; diff --git a/frontend/crawlab-ui/typings/services/git/gitService.d.ts b/frontend/crawlab-ui/typings/services/git/gitService.d.ts deleted file mode 100644 index d7bf1453..00000000 --- a/frontend/crawlab-ui/typings/services/git/gitService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useGitService: (store: Store) => GitServices; -export default useGitService; diff --git a/frontend/crawlab-ui/typings/services/index.d.ts b/frontend/crawlab-ui/typings/services/index.d.ts deleted file mode 100644 index fa7d3b8f..00000000 --- a/frontend/crawlab-ui/typings/services/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as llmService from './llm'; -export { llmService }; -export declare const useService: (endpoint: string) => Services; diff --git a/frontend/crawlab-ui/typings/services/llm/index.d.ts b/frontend/crawlab-ui/typings/services/llm/index.d.ts deleted file mode 100644 index 07ba9411..00000000 --- a/frontend/crawlab-ui/typings/services/llm/index.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -export interface LLMProvider { - name: string; - features: string[]; - default_models: string[]; -} -export interface ChatRequest { - provider: string; - config?: Record; - model: string; - prompt: string; - max_tokens?: number; - temperature?: number; - top_p?: number; - other_params?: Record; -} -export interface ChatResponse { - text: string; - model: string; - usage?: Record; - error?: string; -} -export interface ChatResponseChunk { - text: string; - model?: string; - is_done: boolean; - error?: string; - full_text?: string; - usage?: Record; -} -export declare const getLLMProviders: () => Promise; -export declare const checkProviderFeatureSupport: (provider: string, feature: string, config?: Record) => Promise; -export declare const sendChatRequest: (chatRequest: ChatRequest) => Promise; -export declare const sendStreamingChatRequest: (chatRequest: ChatRequest, onChunk: (chunk: ChatResponseChunk) => void, onError: (error: any) => void, onComplete: () => void) => Promise; diff --git a/frontend/crawlab-ui/typings/services/node/nodeService.d.ts b/frontend/crawlab-ui/typings/services/node/nodeService.d.ts deleted file mode 100644 index 84d8f688..00000000 --- a/frontend/crawlab-ui/typings/services/node/nodeService.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Store } from 'vuex'; -type Node = CNode; -declare const useNodeService: (store: Store) => Services; -export default useNodeService; diff --git a/frontend/crawlab-ui/typings/services/notification/useNotificationAlertService.d.ts b/frontend/crawlab-ui/typings/services/notification/useNotificationAlertService.d.ts deleted file mode 100644 index 50caed5e..00000000 --- a/frontend/crawlab-ui/typings/services/notification/useNotificationAlertService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useNotificationAlertService: (store: Store) => Services; -export default useNotificationAlertService; diff --git a/frontend/crawlab-ui/typings/services/notification/useNotificationChannelService.d.ts b/frontend/crawlab-ui/typings/services/notification/useNotificationChannelService.d.ts deleted file mode 100644 index b094411c..00000000 --- a/frontend/crawlab-ui/typings/services/notification/useNotificationChannelService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useNotificationChannelService: (store: Store) => Services; -export default useNotificationChannelService; diff --git a/frontend/crawlab-ui/typings/services/notification/useNotificationRequestService.d.ts b/frontend/crawlab-ui/typings/services/notification/useNotificationRequestService.d.ts deleted file mode 100644 index 4ccf6bc9..00000000 --- a/frontend/crawlab-ui/typings/services/notification/useNotificationRequestService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useNotificationRequestService: (store: Store) => Services; -export default useNotificationRequestService; diff --git a/frontend/crawlab-ui/typings/services/notification/useNotificationSettingService.d.ts b/frontend/crawlab-ui/typings/services/notification/useNotificationSettingService.d.ts deleted file mode 100644 index fee359b1..00000000 --- a/frontend/crawlab-ui/typings/services/notification/useNotificationSettingService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useNotificationSettingService: (store: Store) => Services; -export default useNotificationSettingService; diff --git a/frontend/crawlab-ui/typings/services/project/projectService.d.ts b/frontend/crawlab-ui/typings/services/project/projectService.d.ts deleted file mode 100644 index fbef58cf..00000000 --- a/frontend/crawlab-ui/typings/services/project/projectService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useProjectService: (store: Store) => Services; -export default useProjectService; diff --git a/frontend/crawlab-ui/typings/services/request.d.ts b/frontend/crawlab-ui/typings/services/request.d.ts deleted file mode 100644 index c4705b87..00000000 --- a/frontend/crawlab-ui/typings/services/request.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { AxiosRequestConfig, AxiosResponse } from 'axios'; -import { Router } from 'vue-router'; -export declare const initRequest: (router?: Router) => void; -declare const useRequest: () => { - request: (opts: AxiosRequestConfig) => Promise; - get: , PM = any>(url: string, params?: PM, opts?: AxiosRequestConfig) => Promise; - post: , PM = any>(url: string, data?: T, params?: PM, opts?: AxiosRequestConfig) => Promise; - put: , PM = any>(url: string, data?: T, params?: PM, opts?: AxiosRequestConfig) => Promise; - del: , PM = any>(url: string, data?: T, params?: PM, opts?: AxiosRequestConfig) => Promise; - getList: (url: string, params?: ListRequestParams, opts?: AxiosRequestConfig) => Promise>; - postList: , PM = any>(url: string, data?: T[], params?: PM, opts?: AxiosRequestConfig) => Promise; - putList: (url: string, data?: BatchRequestPayloadWithJsonStringData, params?: PM, opts?: AxiosRequestConfig) => Promise; - delList: (url: string, data?: BatchRequestPayload, params?: PM, opts?: AxiosRequestConfig) => Promise; - requestRaw: (opts: AxiosRequestConfig) => Promise; - getRaw: (url: string, params?: PM, opts?: AxiosRequestConfig) => Promise; -}; -export default useRequest; diff --git a/frontend/crawlab-ui/typings/services/role/roleService.d.ts b/frontend/crawlab-ui/typings/services/role/roleService.d.ts deleted file mode 100644 index f98b559e..00000000 --- a/frontend/crawlab-ui/typings/services/role/roleService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useRoleService: (store: Store) => Services; -export default useRoleService; diff --git a/frontend/crawlab-ui/typings/services/schedule/scheduleService.d.ts b/frontend/crawlab-ui/typings/services/schedule/scheduleService.d.ts deleted file mode 100644 index 611311df..00000000 --- a/frontend/crawlab-ui/typings/services/schedule/scheduleService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useScheduleService: (store: Store) => Services; -export default useScheduleService; diff --git a/frontend/crawlab-ui/typings/services/spider/spiderService.d.ts b/frontend/crawlab-ui/typings/services/spider/spiderService.d.ts deleted file mode 100644 index e0c48143..00000000 --- a/frontend/crawlab-ui/typings/services/spider/spiderService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useSpiderService: (store: Store) => SpiderServices; -export default useSpiderService; diff --git a/frontend/crawlab-ui/typings/services/task/taskService.d.ts b/frontend/crawlab-ui/typings/services/task/taskService.d.ts deleted file mode 100644 index fcc48108..00000000 --- a/frontend/crawlab-ui/typings/services/task/taskService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useTaskService: (store: Store) => Services; -export default useTaskService; diff --git a/frontend/crawlab-ui/typings/services/token/tokenService.d.ts b/frontend/crawlab-ui/typings/services/token/tokenService.d.ts deleted file mode 100644 index ac66b284..00000000 --- a/frontend/crawlab-ui/typings/services/token/tokenService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useTokenService: (store: Store) => Services; -export default useTokenService; diff --git a/frontend/crawlab-ui/typings/services/user/userService.d.ts b/frontend/crawlab-ui/typings/services/user/userService.d.ts deleted file mode 100644 index 64152db2..00000000 --- a/frontend/crawlab-ui/typings/services/user/userService.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useUserService: (store: Store) => Services; -export default useUserService; diff --git a/frontend/crawlab-ui/typings/services/utils/file.d.ts b/frontend/crawlab-ui/typings/services/utils/file.d.ts deleted file mode 100644 index fba4bb2b..00000000 --- a/frontend/crawlab-ui/typings/services/utils/file.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Store } from 'vuex'; -declare const useFileService: (ns: ListStoreNamespace, store: Store) => FileServices; -export default useFileService; diff --git a/frontend/crawlab-ui/typings/store/index.d.ts b/frontend/crawlab-ui/typings/store/index.d.ts deleted file mode 100644 index 8cc5a245..00000000 --- a/frontend/crawlab-ui/typings/store/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Store } from 'vuex'; -export declare const createStore: () => Store; -export declare const setStore: (store: Store) => void; -export declare const getStore: () => Store; -export declare const addStoreModule: (path: string, module: M, store?: Store) => void; diff --git a/frontend/crawlab-ui/typings/store/modules/autoprobe.d.ts b/frontend/crawlab-ui/typings/store/modules/autoprobe.d.ts deleted file mode 100644 index b6522b6c..00000000 --- a/frontend/crawlab-ui/typings/store/modules/autoprobe.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: AutoProbeStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/common.d.ts b/frontend/crawlab-ui/typings/store/modules/common.d.ts deleted file mode 100644 index 4c33c815..00000000 --- a/frontend/crawlab-ui/typings/store/modules/common.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: CommonStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/dataCollection.d.ts b/frontend/crawlab-ui/typings/store/modules/dataCollection.d.ts deleted file mode 100644 index 01e9d735..00000000 --- a/frontend/crawlab-ui/typings/store/modules/dataCollection.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: DataCollectionStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/database.d.ts b/frontend/crawlab-ui/typings/store/modules/database.d.ts deleted file mode 100644 index 36d5182d..00000000 --- a/frontend/crawlab-ui/typings/store/modules/database.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: DatabaseStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/dependency.d.ts b/frontend/crawlab-ui/typings/store/modules/dependency.d.ts deleted file mode 100644 index 12840687..00000000 --- a/frontend/crawlab-ui/typings/store/modules/dependency.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: DependencyStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/environment.d.ts b/frontend/crawlab-ui/typings/store/modules/environment.d.ts deleted file mode 100644 index 0b2d09a8..00000000 --- a/frontend/crawlab-ui/typings/store/modules/environment.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: EnvironmentStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/file.d.ts b/frontend/crawlab-ui/typings/store/modules/file.d.ts deleted file mode 100644 index c614f8a7..00000000 --- a/frontend/crawlab-ui/typings/store/modules/file.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: FileStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/git.d.ts b/frontend/crawlab-ui/typings/store/modules/git.d.ts deleted file mode 100644 index ca13f690..00000000 --- a/frontend/crawlab-ui/typings/store/modules/git.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: GitStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/layout.d.ts b/frontend/crawlab-ui/typings/store/modules/layout.d.ts deleted file mode 100644 index cd943af0..00000000 --- a/frontend/crawlab-ui/typings/store/modules/layout.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: LayoutStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/node.d.ts b/frontend/crawlab-ui/typings/store/modules/node.d.ts deleted file mode 100644 index 7edbf58a..00000000 --- a/frontend/crawlab-ui/typings/store/modules/node.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: NodeStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/notificationAlert.d.ts b/frontend/crawlab-ui/typings/store/modules/notificationAlert.d.ts deleted file mode 100644 index c7368744..00000000 --- a/frontend/crawlab-ui/typings/store/modules/notificationAlert.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: NotificationAlertStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/notificationChannel.d.ts b/frontend/crawlab-ui/typings/store/modules/notificationChannel.d.ts deleted file mode 100644 index a9c50b13..00000000 --- a/frontend/crawlab-ui/typings/store/modules/notificationChannel.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: NotificationChannelStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/notificationRequest.d.ts b/frontend/crawlab-ui/typings/store/modules/notificationRequest.d.ts deleted file mode 100644 index f9bd15c1..00000000 --- a/frontend/crawlab-ui/typings/store/modules/notificationRequest.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: NotificationRequestStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/notificationSetting.d.ts b/frontend/crawlab-ui/typings/store/modules/notificationSetting.d.ts deleted file mode 100644 index cc36071b..00000000 --- a/frontend/crawlab-ui/typings/store/modules/notificationSetting.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: NotificationSettingStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/project.d.ts b/frontend/crawlab-ui/typings/store/modules/project.d.ts deleted file mode 100644 index 5b55688d..00000000 --- a/frontend/crawlab-ui/typings/store/modules/project.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: ProjectStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/role.d.ts b/frontend/crawlab-ui/typings/store/modules/role.d.ts deleted file mode 100644 index 49437bf2..00000000 --- a/frontend/crawlab-ui/typings/store/modules/role.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: RoleStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/schedule.d.ts b/frontend/crawlab-ui/typings/store/modules/schedule.d.ts deleted file mode 100644 index 812892b1..00000000 --- a/frontend/crawlab-ui/typings/store/modules/schedule.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: ScheduleStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/spider.d.ts b/frontend/crawlab-ui/typings/store/modules/spider.d.ts deleted file mode 100644 index c3b8e11a..00000000 --- a/frontend/crawlab-ui/typings/store/modules/spider.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: SpiderStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/system.d.ts b/frontend/crawlab-ui/typings/store/modules/system.d.ts deleted file mode 100644 index 6ce05535..00000000 --- a/frontend/crawlab-ui/typings/store/modules/system.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: SystemStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/task.d.ts b/frontend/crawlab-ui/typings/store/modules/task.d.ts deleted file mode 100644 index e6391d94..00000000 --- a/frontend/crawlab-ui/typings/store/modules/task.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: TaskStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/token.d.ts b/frontend/crawlab-ui/typings/store/modules/token.d.ts deleted file mode 100644 index 5b2b8ccd..00000000 --- a/frontend/crawlab-ui/typings/store/modules/token.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: TokenStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/modules/user.d.ts b/frontend/crawlab-ui/typings/store/modules/user.d.ts deleted file mode 100644 index dcbd8722..00000000 --- a/frontend/crawlab-ui/typings/store/modules/user.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: UserStoreModule; -export default _default; diff --git a/frontend/crawlab-ui/typings/store/utils/file.d.ts b/frontend/crawlab-ui/typings/store/utils/file.d.ts deleted file mode 100644 index 932a10a8..00000000 --- a/frontend/crawlab-ui/typings/store/utils/file.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare const getBaseFileStoreState: () => BaseFileStoreState; -export declare const getBaseFileStoreGetters: () => BaseFileStoreGetters; -export declare const getBaseFileStoreMutations: () => BaseFileStoreMutations; -export declare const getBaseFileStoreActions: (endpoint: string) => BaseFileStoreActions; diff --git a/frontend/crawlab-ui/typings/utils/array.d.ts b/frontend/crawlab-ui/typings/utils/array.d.ts deleted file mode 100644 index 4e48da19..00000000 --- a/frontend/crawlab-ui/typings/utils/array.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const isDuplicated: (array?: T[]) => boolean; diff --git a/frontend/crawlab-ui/typings/utils/auth.d.ts b/frontend/crawlab-ui/typings/utils/auth.d.ts deleted file mode 100644 index 00bafa55..00000000 --- a/frontend/crawlab-ui/typings/utils/auth.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare const getToken: () => string | null; -export declare const setToken: (token: string) => void; -export declare const isAllowedAction: (target: string, action: string) => boolean; -export declare const isPro: () => boolean; -export declare const isAllowedRoutePath: (path: string) => boolean; diff --git a/frontend/crawlab-ui/typings/utils/auto.d.ts b/frontend/crawlab-ui/typings/utils/auto.d.ts deleted file mode 100644 index c3e77a06..00000000 --- a/frontend/crawlab-ui/typings/utils/auto.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const setupAutoUpdate: (fn: Function, interval?: number, handle?: number) => void; diff --git a/frontend/crawlab-ui/typings/utils/autoprobe.d.ts b/frontend/crawlab-ui/typings/utils/autoprobe.d.ts deleted file mode 100644 index cd06987b..00000000 --- a/frontend/crawlab-ui/typings/utils/autoprobe.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare const getIconBySelectorType: (selectorType: SelectorType) => Icon; -export declare const getIconByExtractType: (extractType?: ExtractType) => Icon; -export declare const getIconByItemType: (itemType?: AutoProbeItemType) => Icon; -export declare const getIconByPageElementType: (itemType?: PageElementType) => Icon; -export declare const getViewPortOptions: () => ViewPortSelectOption[]; diff --git a/frontend/crawlab-ui/typings/utils/base64.d.ts b/frontend/crawlab-ui/typings/utils/base64.d.ts deleted file mode 100644 index 6dcdc492..00000000 --- a/frontend/crawlab-ui/typings/utils/base64.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const arrayBufferToBase64: (buffer: ArrayBuffer) => string; diff --git a/frontend/crawlab-ui/typings/utils/chart.d.ts b/frontend/crawlab-ui/typings/utils/chart.d.ts deleted file mode 100644 index 13a4b5e4..00000000 --- a/frontend/crawlab-ui/typings/utils/chart.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import 'chartjs-adapter-date-fns'; -export declare const initChartJS: () => void; -export declare const colorPalette: string[]; diff --git a/frontend/crawlab-ui/typings/utils/color.d.ts b/frontend/crawlab-ui/typings/utils/color.d.ts deleted file mode 100644 index 6004f488..00000000 --- a/frontend/crawlab-ui/typings/utils/color.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare const getPredefinedColors: () => string[]; -export declare const getColors: () => { - [key: string]: string; -}; -export declare const getColorByKey: (key: string) => string; diff --git a/frontend/crawlab-ui/typings/utils/dataFields.d.ts b/frontend/crawlab-ui/typings/utils/dataFields.d.ts deleted file mode 100644 index a599f0dc..00000000 --- a/frontend/crawlab-ui/typings/utils/dataFields.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare const inferDataFieldTypes: (fields: DataField[], data: Result[]) => DataField[]; -export declare const inferDataFieldType: (value: any) => DataFieldType; -export declare const getDataFieldIconByType: (type: DataFieldType) => Icon; -export declare const getDataFieldIconClassNameByType: (type: DataFieldType) => string; diff --git a/frontend/crawlab-ui/typings/utils/database.d.ts b/frontend/crawlab-ui/typings/utils/database.d.ts deleted file mode 100644 index fb04fab6..00000000 --- a/frontend/crawlab-ui/typings/utils/database.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -export declare const databaseDefaults: Database[]; -export declare const getDatabaseDefaultByDataSource: (dataSource: DatabaseDataSource) => Database | undefined; -export declare const getColumnStatus: (column: DatabaseColumn, originalTable?: DatabaseTable) => DatabaseTableItemStatus | undefined; -export declare const getIndexStatus: (index: DatabaseIndex, originalTable?: DatabaseTable) => DatabaseTableItemStatus | undefined; -export declare const isValidTable: (table?: DatabaseTable) => boolean; -export declare const getDefaultIndexName: (table: DatabaseTable, columns: DatabaseIndexColumn[]) => string; -export declare const isDefaultIndexName: (table: DatabaseTable, index: DatabaseIndex) => boolean; -export declare const canColumnAutoIncrement: (column: DatabaseColumn) => false | RegExpMatchArray | null | undefined; -export declare const getDataType: (type: string) => DatabaseDataType; -export declare const normalizeDataType: (value: any, type: string) => any; -export declare const SQL_KEYWORDS: string[]; -export declare const MONGO_KEYWORDS: string[]; -export declare const getTableManipulationStatementsByDataSource: (dataSource: DatabaseDataSource, tableName?: string) => DatabaseTableManipulationStatements; -export declare const getDatabaseSyntaxKeywordRegexByDataSource: (dataSource: DatabaseDataSource) => DatabaseSyntaxKeywordRegex; -export declare const getDatabaseEditorLanguage: (dataSource: DatabaseDataSource) => string; -export declare const getDatabaseSyntaxKeywords: (dataSource: DatabaseDataSource) => string[]; -export declare const getDatabaseAllMetricGroups: () => MetricGroup[]; -export declare const getDatabaseName: (database: Database) => string | undefined; diff --git a/frontend/crawlab-ui/typings/utils/debounce.d.ts b/frontend/crawlab-ui/typings/utils/debounce.d.ts deleted file mode 100644 index 3b39d767..00000000 --- a/frontend/crawlab-ui/typings/utils/debounce.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function debounce any>(func: T, wait?: number): (...args: Parameters) => ReturnType extends Promise ? Promise> : ReturnType; diff --git a/frontend/crawlab-ui/typings/utils/dependency.d.ts b/frontend/crawlab-ui/typings/utils/dependency.d.ts deleted file mode 100644 index 4dcfed80..00000000 --- a/frontend/crawlab-ui/typings/utils/dependency.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare const getRepoExternalPath: (repo: DependencyRepo) => string | undefined; -export declare const getRepoName: (repo: DependencyRepo) => string | undefined; -export declare const getEmptyDependency: () => Dependency; -export declare const getNormalizedDependencies: (dependencies?: Dependency[]) => Dependency[]; -export declare const isDependencyLoading: (dep: Dependency) => boolean; -export declare const getTypeByDep: (dep: Dependency) => BasicType | undefined; diff --git a/frontend/crawlab-ui/typings/utils/dom.d.ts b/frontend/crawlab-ui/typings/utils/dom.d.ts deleted file mode 100644 index 1f01b167..00000000 --- a/frontend/crawlab-ui/typings/utils/dom.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const updateTitle: (title: string) => void; -export declare const selectElement: (selector: string, retryNum?: number, duration?: number) => Promise; diff --git a/frontend/crawlab-ui/typings/utils/editor.d.ts b/frontend/crawlab-ui/typings/utils/editor.d.ts deleted file mode 100644 index 8d01d032..00000000 --- a/frontend/crawlab-ui/typings/utils/editor.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const getLanguageByFileName: (name?: string) => "html" | "text" | "json" | "css" | "r" | "python" | "go" | "java" | "javascript" | "sql" | "markdown" | "typescript" | "csharp" | "php" | "ruby" | "rust" | "cpp" | "scala" | "shell" | "bat" | "powershell" | "less" | "scss" | "yaml" | "xml" | "ini" | "dockerfile"; -export declare const UPDATE_MARKDOWN_EVENT = "update-markdown"; diff --git a/frontend/crawlab-ui/typings/utils/eventBus.d.ts b/frontend/crawlab-ui/typings/utils/eventBus.d.ts deleted file mode 100644 index 88c51c20..00000000 --- a/frontend/crawlab-ui/typings/utils/eventBus.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const eventBus: import("mitt").Emitter>; -export declare const subscribe: (event: string, handler: (...args: any[]) => void) => () => void; -export declare const publish: (event: string, ...args: any[]) => void; diff --git a/frontend/crawlab-ui/typings/utils/file.d.ts b/frontend/crawlab-ui/typings/utils/file.d.ts deleted file mode 100644 index 65c80b3d..00000000 --- a/frontend/crawlab-ui/typings/utils/file.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const getDirectoryOptions: (items: FileNavItem[]) => SelectOption[]; -export declare const getRootDirectoryOptions: (fileNavItems: FileNavItem[]) => SelectOption[]; diff --git a/frontend/crawlab-ui/typings/utils/form.d.ts b/frontend/crawlab-ui/typings/utils/form.d.ts deleted file mode 100644 index 16c872f5..00000000 --- a/frontend/crawlab-ui/typings/utils/form.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const getDefaultFormComponentData: () => FormComponentData; diff --git a/frontend/crawlab-ui/typings/utils/func.d.ts b/frontend/crawlab-ui/typings/utils/func.d.ts deleted file mode 100644 index 8a011790..00000000 --- a/frontend/crawlab-ui/typings/utils/func.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare const voidFunc: () => void; -export declare const voidAsyncFunc: () => Promise; -export declare const emptyObjectFunc: () => {}; -export declare const emptyArrayFunc: () => never[]; diff --git a/frontend/crawlab-ui/typings/utils/hash.d.ts b/frontend/crawlab-ui/typings/utils/hash.d.ts deleted file mode 100644 index fbed706b..00000000 --- a/frontend/crawlab-ui/typings/utils/hash.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const getMd5: (value: any) => string; diff --git a/frontend/crawlab-ui/typings/utils/i18n.d.ts b/frontend/crawlab-ui/typings/utils/i18n.d.ts deleted file mode 100644 index 30a3401d..00000000 --- a/frontend/crawlab-ui/typings/utils/i18n.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare const translate: (path: string, number?: number | null, args?: Record) => string; -export declare const translateC: (path: string, c: number, args?: any) => string; -export declare const translatePlugin: (pluginName: string, path: string) => string; -export declare const setGlobalLang: (lang: Lang) => void; -export declare const getLanguage: () => string; diff --git a/frontend/crawlab-ui/typings/utils/icon.d.ts b/frontend/crawlab-ui/typings/utils/icon.d.ts deleted file mode 100644 index 111408c0..00000000 --- a/frontend/crawlab-ui/typings/utils/icon.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare const getIconByTabName: (tabName: string) => Icon; -export declare const getIconByNavItem: (item: NavItem) => Icon; -export declare const getIconByAction: (action: string) => Icon | undefined; -export declare const getIconByRouteConcept: (concept: RouteConcept) => Icon; -export declare const getIconByGeneralConcept: (concept: GeneralConcept) => Icon; diff --git a/frontend/crawlab-ui/typings/utils/index.d.ts b/frontend/crawlab-ui/typings/utils/index.d.ts deleted file mode 100644 index 6824fedd..00000000 --- a/frontend/crawlab-ui/typings/utils/index.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -export * from './array'; -export * from './auth'; -export * from './auto'; -export * from './editor'; -export * from './color'; -export * from './debounce'; -export * from './dom'; -export * from './form'; -export * from './func'; -export * from './hash'; -export * from './i18n'; -export * from './list'; -export * from './mongo'; -export * from './object'; -export * from './os'; -export * from './pagination'; -export * from './request'; -export * from './result'; -export * from './route'; -export * from './service'; -export * from './stats'; -export * from './store'; -export * from './string'; -export * from './table'; -export * from './task'; -export * from './tree'; -export * from './validate'; -export * from './notification'; -export * from './time'; -export * from './icon'; -export * from './dependency'; -export * from './base64'; -export * from './autoprobe'; diff --git a/frontend/crawlab-ui/typings/utils/list.d.ts b/frontend/crawlab-ui/typings/utils/list.d.ts deleted file mode 100644 index 7ce8a66a..00000000 --- a/frontend/crawlab-ui/typings/utils/list.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Ref } from 'vue'; -import { Store } from 'vuex'; -export declare const getDefaultUseListOptions: (navActions: Ref, tableColumns: Ref>) => UseListOptions; -export declare const setupListComponent: (ns: ListStoreNamespace, store: Store, autoUpdate?: boolean) => void; -export declare const prependAllToSelectOptions: (options: SelectOption[]) => SelectOption[]; -export declare const onListFilterChangeByKey: (store: Store, ns: ListStoreNamespace, key: string, op?: string, options?: { - update: boolean; -}) => (value: string) => Promise; diff --git a/frontend/crawlab-ui/typings/utils/llm.d.ts b/frontend/crawlab-ui/typings/utils/llm.d.ts deleted file mode 100644 index f2f66e3e..00000000 --- a/frontend/crawlab-ui/typings/utils/llm.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const DEFAULT_OPENAI_MODELS: string[]; -export declare const getLLMProviderItems: () => LLMProviderItem[]; diff --git a/frontend/crawlab-ui/typings/utils/metric.d.ts b/frontend/crawlab-ui/typings/utils/metric.d.ts deleted file mode 100644 index 4042e867..00000000 --- a/frontend/crawlab-ui/typings/utils/metric.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare const formatBytes: (bytes?: number, decimal?: number) => string; -export declare const formatNumber: (value?: number, decimal?: number) => string; -export declare const formatDuration: (value?: number, decimal?: number) => string; -export declare const getAllMetricGroups: () => MetricGroup[]; -export declare const getMetricUnitLabel: (metricName: string) => "" | "MB" | "GB" | "%" | "MB/s"; -export declare const getMetricFormatValue: (metricGroup: MetricGroup, value: number) => string; diff --git a/frontend/crawlab-ui/typings/utils/monaco.d.ts b/frontend/crawlab-ui/typings/utils/monaco.d.ts deleted file mode 100644 index 55b61e9a..00000000 --- a/frontend/crawlab-ui/typings/utils/monaco.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const initMonaco: () => void; diff --git a/frontend/crawlab-ui/typings/utils/mongo.d.ts b/frontend/crawlab-ui/typings/utils/mongo.d.ts deleted file mode 100644 index 1081711f..00000000 --- a/frontend/crawlab-ui/typings/utils/mongo.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const EMPTY_OBJECT_ID = "000000000000000000000000"; -export declare const isZeroObjectId: (id?: string) => boolean; diff --git a/frontend/crawlab-ui/typings/utils/notification.d.ts b/frontend/crawlab-ui/typings/utils/notification.d.ts deleted file mode 100644 index 157bab38..00000000 --- a/frontend/crawlab-ui/typings/utils/notification.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export declare const allVariables: NotificationVariable[]; -export declare const getTriggerTarget: (trigger?: NotificationTrigger) => NotificationTriggerTarget | undefined; -export declare const triggerTargetVariableCategoryMap: Record; -export declare const isValidVariable: ({ category, name, }: { - category?: NotificationVariableCategory; - name: string; -}) => boolean; -export declare const allTemplates: NotificationSettingTemplate[]; -export declare const alertTemplates: NotificationAlertTemplate[]; -export declare const getTriggerOptions: () => SelectOption[]; -export declare const hasNotificationSettingMailChannel: (form: NotificationSetting, allChannelDict: Map) => boolean | undefined; -export declare const hasNotificationSettingChannelWarningMissingMailConfigFields: (form: NotificationSetting, allChannelDict: Map) => boolean; diff --git a/frontend/crawlab-ui/typings/utils/object.d.ts b/frontend/crawlab-ui/typings/utils/object.d.ts deleted file mode 100644 index b02fb52e..00000000 --- a/frontend/crawlab-ui/typings/utils/object.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const plainClone: (obj: T) => T; -export declare const cloneArray: (arr: T[]) => T[]; diff --git a/frontend/crawlab-ui/typings/utils/os.d.ts b/frontend/crawlab-ui/typings/utils/os.d.ts deleted file mode 100644 index 9eb859c8..00000000 --- a/frontend/crawlab-ui/typings/utils/os.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const isWindows: () => boolean; -export declare const getOSPathSeparator: () => "/" | "\\"; diff --git a/frontend/crawlab-ui/typings/utils/pagination.d.ts b/frontend/crawlab-ui/typings/utils/pagination.d.ts deleted file mode 100644 index adefb223..00000000 --- a/frontend/crawlab-ui/typings/utils/pagination.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const getDefaultPagination: () => TablePagination; diff --git a/frontend/crawlab-ui/typings/utils/request.d.ts b/frontend/crawlab-ui/typings/utils/request.d.ts deleted file mode 100644 index 5dc70d78..00000000 --- a/frontend/crawlab-ui/typings/utils/request.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare const getRequestBaseUrl: () => string; -export declare const getRequestBaseUrlWs: () => string; -export declare const getEmptyResponseWithListData: () => ResponseWithListData; -export declare const downloadURI: (uri: string, name: string) => void; -export declare const downloadData: (data: string | ArrayBuffer, name: string, type?: string) => void; diff --git a/frontend/crawlab-ui/typings/utils/result.d.ts b/frontend/crawlab-ui/typings/utils/result.d.ts deleted file mode 100644 index 10f5e969..00000000 --- a/frontend/crawlab-ui/typings/utils/result.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare const getFieldsFromData: (data: TableData) => { - key: string; -}[]; -export declare const defaultFields: string[]; diff --git a/frontend/crawlab-ui/typings/utils/route.d.ts b/frontend/crawlab-ui/typings/utils/route.d.ts deleted file mode 100644 index 43af6b0c..00000000 --- a/frontend/crawlab-ui/typings/utils/route.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Router } from 'vue-router'; -export declare const getRoutePath: (path: string) => string; -export declare const getTabName: (router?: Router) => string; -export declare const getPrimaryPath: (path: string) => string; -export declare const getRouteMenuItems: () => MenuItem[]; -export declare const getRouteMenuItemsMap: () => Map; -export declare const getNavMenuItems: (path: string) => MenuItem[]; -export declare const getMenuItemPathMap: (rootPath: string, item: MenuItem) => Map; -export declare const getAllMenuItemPathMap: () => Map; -export declare const getRouteSelectOptions: () => CheckboxTreeSelectOption[]; -export declare const getLabelByRouteConcept: (concept: RouteConcept) => string; diff --git a/frontend/crawlab-ui/typings/utils/service.d.ts b/frontend/crawlab-ui/typings/utils/service.d.ts deleted file mode 100644 index 1ec15250..00000000 --- a/frontend/crawlab-ui/typings/utils/service.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { Store } from 'vuex'; -export declare const getDefaultService: (ns: string, store: Store) => Services; diff --git a/frontend/crawlab-ui/typings/utils/spider.d.ts b/frontend/crawlab-ui/typings/utils/spider.d.ts deleted file mode 100644 index d77be64f..00000000 --- a/frontend/crawlab-ui/typings/utils/spider.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const getSpiderTemplateGroups: () => SpiderTemplateGroup[]; -export declare const getSpiderTemplates: () => SpiderTemplate[]; diff --git a/frontend/crawlab-ui/typings/utils/stats.d.ts b/frontend/crawlab-ui/typings/utils/stats.d.ts deleted file mode 100644 index 9a56fd88..00000000 --- a/frontend/crawlab-ui/typings/utils/stats.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Dayjs } from 'dayjs'; -export declare const DEFAULT_DATE_FORMAT = "YYYY-MM-DD"; -export declare const spanDateRange: (start: Dayjs | string, end: Dayjs | string, data: StatsResult[], dateKey?: string) => StatsResult[]; diff --git a/frontend/crawlab-ui/typings/utils/storage.d.ts b/frontend/crawlab-ui/typings/utils/storage.d.ts deleted file mode 100644 index 0dcd1a71..00000000 --- a/frontend/crawlab-ui/typings/utils/storage.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare const loadLocalStorage: (key: string) => any; -export declare const saveLocalStorage: (key: string, data: any) => void; -export declare const loadNamespaceLocalStorage: (ns: StoreNamespace, key: string) => any; -export declare const saveNamespaceLocalStorage: (ns: StoreNamespace, key: string, values: Record) => void; diff --git a/frontend/crawlab-ui/typings/utils/store.d.ts b/frontend/crawlab-ui/typings/utils/store.d.ts deleted file mode 100644 index 85639312..00000000 --- a/frontend/crawlab-ui/typings/utils/store.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare const globalLayoutSettingsKey = "globalLayoutSettings"; -export declare const getDefaultStoreState: (ns: StoreNamespace) => BaseStoreState; -export declare const getDefaultStoreGetters: (opts?: GetDefaultStoreGettersOptions) => BaseStoreGetters>; -export declare const getDefaultStoreMutations: () => BaseStoreMutations; -export declare const getDefaultStoreActions: (endpoint: string) => BaseStoreActions; diff --git a/frontend/crawlab-ui/typings/utils/string.d.ts b/frontend/crawlab-ui/typings/utils/string.d.ts deleted file mode 100644 index 87012def..00000000 --- a/frontend/crawlab-ui/typings/utils/string.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const capitalize: (str: string) => string; diff --git a/frontend/crawlab-ui/typings/utils/table.d.ts b/frontend/crawlab-ui/typings/utils/table.d.ts deleted file mode 100644 index 233b772c..00000000 --- a/frontend/crawlab-ui/typings/utils/table.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const getTableWidth: (el?: Element) => number | undefined; -export declare const getColumnWidth: (column: TableColumn) => number | undefined; -export declare const getPlaceholderColumn: () => TableColumn; diff --git a/frontend/crawlab-ui/typings/utils/task.d.ts b/frontend/crawlab-ui/typings/utils/task.d.ts deleted file mode 100644 index 8eeaf54e..00000000 --- a/frontend/crawlab-ui/typings/utils/task.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare const getPriorityLabel: (priority: number) => string; -export declare const priorityOptions: SelectOption[]; -export declare const isCancellable: (status?: TaskStatus) => boolean; -export declare const getModeOptions: () => SelectOption[]; -export declare const getModeOptionsDict: () => Map; -export declare const getStatusOptions: () => SelectOption[]; -export declare const getToRunNodes: (mode: TaskMode, nodeIds?: string[], activeNodes?: CNode[]) => CNode[]; diff --git a/frontend/crawlab-ui/typings/utils/time.d.ts b/frontend/crawlab-ui/typings/utils/time.d.ts deleted file mode 100644 index 9e54258f..00000000 --- a/frontend/crawlab-ui/typings/utils/time.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { FormatStyleName } from 'javascript-time-ago'; -export declare const getTimeUnitParts: (timeUnit: string) => { - num?: undefined; - unit?: undefined; -} | { - num: number; - unit: string; -}; -export declare const formatTimeAgo: (value: string | Date, formatStyle?: string | FormatStyleName) => string; diff --git a/frontend/crawlab-ui/typings/utils/tree.d.ts b/frontend/crawlab-ui/typings/utils/tree.d.ts deleted file mode 100644 index 3ca1691c..00000000 --- a/frontend/crawlab-ui/typings/utils/tree.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -type HandleNodeFn = (parentNode: T, node: T) => T; -export declare const normalizeTree: (nodes: T[], handleNodeFn?: HandleNodeFn) => T[]; -export {}; diff --git a/frontend/crawlab-ui/typings/utils/user.d.ts b/frontend/crawlab-ui/typings/utils/user.d.ts deleted file mode 100644 index e2209595..00000000 --- a/frontend/crawlab-ui/typings/utils/user.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare const isChinese: (text: string) => boolean; -export declare const isChineseName: (user: User) => boolean; -export declare const getUserFullName: (user: User) => string; -export declare const getUserShortName: (user: User) => string; diff --git a/frontend/crawlab-ui/typings/utils/validate.d.ts b/frontend/crawlab-ui/typings/utils/validate.d.ts deleted file mode 100644 index 503cb063..00000000 --- a/frontend/crawlab-ui/typings/utils/validate.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const isValidUsername: (str: string) => boolean; -export declare const isExternal: (path: string) => boolean; diff --git a/frontend/crawlab-ui/typings/views/autoprobe/detail/AutoProbeDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/autoprobe/detail/AutoProbeDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/autoprobe/detail/AutoProbeDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/autoprobe/detail/tabs/AutoProbeDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/autoprobe/detail/tabs/AutoProbeDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/autoprobe/detail/tabs/AutoProbeDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/autoprobe/detail/tabs/AutoProbeDetailTabPatterns.vue.d.ts b/frontend/crawlab-ui/typings/views/autoprobe/detail/tabs/AutoProbeDetailTabPatterns.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/autoprobe/detail/tabs/AutoProbeDetailTabPatterns.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/autoprobe/detail/tabs/AutoProbeDetailTabTasks.vue.d.ts b/frontend/crawlab-ui/typings/views/autoprobe/detail/tabs/AutoProbeDetailTabTasks.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/autoprobe/detail/tabs/AutoProbeDetailTabTasks.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/autoprobe/detail/useAutoProbeDetail.d.ts b/frontend/crawlab-ui/typings/views/autoprobe/detail/useAutoProbeDetail.d.ts deleted file mode 100644 index 7655ddf8..00000000 --- a/frontend/crawlab-ui/typings/views/autoprobe/detail/useAutoProbeDetail.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare const useAutoProbeDetail: () => { - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useAutoProbeDetail; diff --git a/frontend/crawlab-ui/typings/views/autoprobe/list/AutoProbeList.vue.d.ts b/frontend/crawlab-ui/typings/views/autoprobe/list/AutoProbeList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/autoprobe/list/AutoProbeList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/autoprobe/list/useAutoProbeList.d.ts b/frontend/crawlab-ui/typings/views/autoprobe/list/useAutoProbeList.d.ts deleted file mode 100644 index 88365e8d..00000000 --- a/frontend/crawlab-ui/typings/views/autoprobe/list/useAutoProbeList.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare const useAutoProbeList: () => { - navActions: import("vue").ComputedRef; - tableColumns: import("vue").ComputedRef>; - rowKey: (row: AutoProbeV2) => string; - tableLoading: import("vue").Ref; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useAutoProbeList; diff --git a/frontend/crawlab-ui/typings/views/data/list/ResultList.vue.d.ts b/frontend/crawlab-ui/typings/views/data/list/ResultList.vue.d.ts deleted file mode 100644 index c3592175..00000000 --- a/frontend/crawlab-ui/typings/views/data/list/ResultList.vue.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -interface FilterConditionData { - key?: string; - op?: string; - value?: any; -} -type __VLS_Props = { - spiderId?: string; - noActions?: boolean; - embedded?: boolean; - visibleButtons?: BuiltInTableActionButtonName[]; - filter?: FilterConditionData[] | (() => FilterConditionData[]); - displayAllFields?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { - visibleButtons: BuiltInTableActionButtonName[]; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/database/detail/DatabaseDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/database/detail/DatabaseDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/database/detail/DatabaseDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/database/detail/actions/DatabaseDetailActionsCommon.vue.d.ts b/frontend/crawlab-ui/typings/views/database/detail/actions/DatabaseDetailActionsCommon.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/database/detail/actions/DatabaseDetailActionsCommon.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/database/detail/actions/DatabaseDetailActionsConsole.vue.d.ts b/frontend/crawlab-ui/typings/views/database/detail/actions/DatabaseDetailActionsConsole.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/database/detail/actions/DatabaseDetailActionsConsole.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabConsole.vue.d.ts b/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabConsole.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabConsole.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabDatabases.vue.d.ts b/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabDatabases.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabDatabases.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabMonitoring.vue.d.ts b/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabMonitoring.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabMonitoring.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/database/detail/tabs/DatabaseDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/database/detail/useDatabaseDetail.d.ts b/frontend/crawlab-ui/typings/views/database/detail/useDatabaseDetail.d.ts deleted file mode 100644 index 53888f36..00000000 --- a/frontend/crawlab-ui/typings/views/database/detail/useDatabaseDetail.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare const useDatabaseDetail: () => { - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useDatabaseDetail; diff --git a/frontend/crawlab-ui/typings/views/database/list/DatabaseList.vue.d.ts b/frontend/crawlab-ui/typings/views/database/list/DatabaseList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/database/list/DatabaseList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/database/list/useDatabaseList.d.ts b/frontend/crawlab-ui/typings/views/database/list/useDatabaseList.d.ts deleted file mode 100644 index ad4ec207..00000000 --- a/frontend/crawlab-ui/typings/views/database/list/useDatabaseList.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare const useDatabaseList: () => { - selectableFunction: TableSelectableFunction; - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useDatabaseList; diff --git a/frontend/crawlab-ui/typings/views/dependency/list/DependencyList.vue.d.ts b/frontend/crawlab-ui/typings/views/dependency/list/DependencyList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/dependency/list/DependencyList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/dependency/list/useDependencyList.d.ts b/frontend/crawlab-ui/typings/views/dependency/list/useDependencyList.d.ts deleted file mode 100644 index a33960a0..00000000 --- a/frontend/crawlab-ui/typings/views/dependency/list/useDependencyList.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { CellStyle } from 'element-plus'; -declare const useDependencyList: () => { - config: import("vue").ComputedRef; - lang: import("vue").ComputedRef; - tableLoading: import("vue").ComputedRef; - tableColumns: import("vue").ComputedRef>; - tableData: import("vue").ComputedRef | TableData>; - tableTotal: import("vue").ComputedRef; - tablePagination: import("vue").ComputedRef; - tableCellStyle: import("vue").ComputedRef>; - actionFunctions: ListLayoutActionFunctions; - repoTabName: import("vue").ComputedRef; - repoTabItems: import("vue").ComputedRef[]>; - onClickTableEmptySearch: () => void; - onClickTableEmptyConfigNotSetup: () => void; - onClickTableEmptyJava: () => Promise; - navActions?: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - activeDialogKey: import("vue").ComputedRef; -}; -export default useDependencyList; diff --git a/frontend/crawlab-ui/typings/views/environment/list/EnvironmentList.vue.d.ts b/frontend/crawlab-ui/typings/views/environment/list/EnvironmentList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/environment/list/EnvironmentList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/environment/list/useEnvironmentList.d.ts b/frontend/crawlab-ui/typings/views/environment/list/useEnvironmentList.d.ts deleted file mode 100644 index 6f6a1a9f..00000000 --- a/frontend/crawlab-ui/typings/views/environment/list/useEnvironmentList.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare const useEnvironmentList: () => { - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useEnvironmentList; diff --git a/frontend/crawlab-ui/typings/views/git/detail/GitDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/git/detail/GitDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/git/detail/GitDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/git/detail/actions/GitDetailActionsChanges.vue.d.ts b/frontend/crawlab-ui/typings/views/git/detail/actions/GitDetailActionsChanges.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/git/detail/actions/GitDetailActionsChanges.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/git/detail/actions/GitDetailActionsCommon.vue.d.ts b/frontend/crawlab-ui/typings/views/git/detail/actions/GitDetailActionsCommon.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/git/detail/actions/GitDetailActionsCommon.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/git/detail/actions/GitDetailActionsFiles.vue.d.ts b/frontend/crawlab-ui/typings/views/git/detail/actions/GitDetailActionsFiles.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/git/detail/actions/GitDetailActionsFiles.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabChanges.vue.d.ts b/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabChanges.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabChanges.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabCommits.vue.d.ts b/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabCommits.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabCommits.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabFiles.vue.d.ts b/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabFiles.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabFiles.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabSpiders.vue.d.ts b/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabSpiders.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/git/detail/tabs/GitDetailTabSpiders.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/git/detail/useGitDetail.d.ts b/frontend/crawlab-ui/typings/views/git/detail/useGitDetail.d.ts deleted file mode 100644 index 07bd2ace..00000000 --- a/frontend/crawlab-ui/typings/views/git/detail/useGitDetail.d.ts +++ /dev/null @@ -1,69 +0,0 @@ -declare const useGitDetail: () => { - currentBranch: import("vue").ComputedRef; - gitLocalBranches: import("vue").ComputedRef; - gitLocalBranchesDict: import("vue").ComputedRef>; - gitRemoteBranches: import("vue").ComputedRef; - gitRemoteBranchesDict: import("vue").ComputedRef>; - isDisabled: import("vue").ComputedRef; - commitLoading: import("vue").Ref; - onCommit: () => Promise; - rollbackLoading: import("vue").Ref; - onRollback: () => Promise; - pullLoading: import("vue").Ref; - onPull: () => Promise; - pushLoading: import("vue").Ref; - onPush: () => Promise; - listDir: (id: string, path: string) => Promise>; - listRootDir: (id: string) => Promise>; - getFile: (id: string, path: string) => Promise>; - getFileInfo: (id: string, path: string) => Promise>; - saveFile: (id: string, path: string, data: string) => Promise; - saveFileBinary: (id: string, path: string, file: File) => Promise; - saveFilesBinary: (id: string, files: { - path: string; - file: File; - }[], targetDirectory?: string) => Promise; - saveDir: (id: string, path: string) => Promise; - renameFile: (id: string, path: string, new_path: string) => Promise; - deleteFile: (id: string, path: string) => Promise; - copyFile: (id: string, path: string, new_path: string) => Promise; - fileContent: import("vue").ComputedRef; - getById: (id: string) => Promise>; - create: (form: unknown) => Promise>; - updateById: (id: string, form: unknown) => Promise>; - deleteById: (id: string) => Promise; - getList: (params?: ListRequestParams) => Promise>; - createList: (data: unknown[]) => Promise>; - updateList: (ids: string[], data: unknown, fields: string[]) => Promise; - deleteList: (ids: string[]) => Promise; - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useGitDetail; diff --git a/frontend/crawlab-ui/typings/views/git/list/GitList.vue.d.ts b/frontend/crawlab-ui/typings/views/git/list/GitList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/git/list/GitList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/git/list/useGitList.d.ts b/frontend/crawlab-ui/typings/views/git/list/useGitList.d.ts deleted file mode 100644 index 9e47e138..00000000 --- a/frontend/crawlab-ui/typings/views/git/list/useGitList.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -declare const useGitList: () => { - selectableFunction: TableSelectableFunction; - rowKeyFunction: TableRowKeyFunction; - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useGitList; diff --git a/frontend/crawlab-ui/typings/views/home/Home.vue.d.ts b/frontend/crawlab-ui/typings/views/home/Home.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/home/Home.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/index.d.ts b/frontend/crawlab-ui/typings/views/index.d.ts deleted file mode 100644 index 3322969b..00000000 --- a/frontend/crawlab-ui/typings/views/index.d.ts +++ /dev/null @@ -1,125 +0,0 @@ -import AutoProbeDetail from './autoprobe/detail/AutoProbeDetail.vue'; -import AutoProbeDetailTabOverview from './autoprobe/detail/tabs/AutoProbeDetailTabOverview.vue'; -import AutoProbeDetailTabPatterns from './autoprobe/detail/tabs/AutoProbeDetailTabPatterns.vue'; -import AutoProbeDetailTabTasks from './autoprobe/detail/tabs/AutoProbeDetailTabTasks.vue'; -import AutoProbeList from './autoprobe/list/AutoProbeList.vue'; -import DatabaseDetail from './database/detail/DatabaseDetail.vue'; -import DatabaseDetailActionsCommon from './database/detail/actions/DatabaseDetailActionsCommon.vue'; -import DatabaseDetailActionsConsole from './database/detail/actions/DatabaseDetailActionsConsole.vue'; -import DatabaseDetailTabConsole from './database/detail/tabs/DatabaseDetailTabConsole.vue'; -import DatabaseDetailTabDatabases from './database/detail/tabs/DatabaseDetailTabDatabases.vue'; -import DatabaseDetailTabMonitoring from './database/detail/tabs/DatabaseDetailTabMonitoring.vue'; -import DatabaseDetailTabOverview from './database/detail/tabs/DatabaseDetailTabOverview.vue'; -import DatabaseList from './database/list/DatabaseList.vue'; -import DependencyList from './dependency/list/DependencyList.vue'; -import Disclaimer from './misc/Disclaimer.vue'; -import EnvironmentList from './environment/list/EnvironmentList.vue'; -import GitDetail from './git/detail/GitDetail.vue'; -import GitDetailActionsChanges from './git/detail/actions/GitDetailActionsChanges.vue'; -import GitDetailActionsCommon from './git/detail/actions/GitDetailActionsCommon.vue'; -import GitDetailActionsFiles from './git/detail/actions/GitDetailActionsFiles.vue'; -import GitDetailTabChanges from './git/detail/tabs/GitDetailTabChanges.vue'; -import GitDetailTabCommits from './git/detail/tabs/GitDetailTabCommits.vue'; -import GitDetailTabFiles from './git/detail/tabs/GitDetailTabFiles.vue'; -import GitDetailTabOverview from './git/detail/tabs/GitDetailTabOverview.vue'; -import GitDetailTabSpiders from './git/detail/tabs/GitDetailTabSpiders.vue'; -import GitList from './git/list/GitList.vue'; -import Home from './home/Home.vue'; -import Login from './login/Login.vue'; -import MyAccount from './misc/MyAccount.vue'; -import NodeDetail from './node/detail/NodeDetail.vue'; -import NodeDetailActionsCommon from './node/detail/actions/NodeDetailActionsCommon.vue'; -import NodeDetailTabMonitoring from './node/detail/tabs/NodeDetailTabMonitoring.vue'; -import NodeDetailTabOverview from './node/detail/tabs/NodeDetailTabOverview.vue'; -import NodeDetailTabTasks from './node/detail/tabs/NodeDetailTabTasks.vue'; -import NodeList from './node/list/NodeList.vue'; -import NotificationAlertDetail from './notification/alert/detail/NotificationAlertDetail.vue'; -import NotificationAlertDetailActionsCommon from './notification/alert/detail/actions/NotificationAlertDetailActionsCommon.vue'; -import NotificationAlertDetailTabOverview from './notification/alert/detail/tabs/NotificationAlertDetailTabOverview.vue'; -import NotificationAlertList from './notification/alert/list/NotificationAlertList.vue'; -import NotificationChannelDetail from './notification/channel/detail/NotificationChannelDetail.vue'; -import NotificationChannelDetailActionsCommon from './notification/channel/detail/actions/NotificationChannelDetailActionsCommon.vue'; -import NotificationChannelDetailTabOverview from './notification/channel/detail/tabs/NotificationChannelDetailTabOverview.vue'; -import NotificationChannelList from './notification/channel/list/NotificationChannelList.vue'; -import NotificationRequestList from './notification/request/list/NotificationRequestList.vue'; -import NotificationSettingDetail from './notification/setting/detail/NotificationSettingDetail.vue'; -import NotificationSettingDetailActionsCommon from './notification/setting/detail/actions/NotificationSettingDetailActionsCommon.vue'; -import NotificationSettingDetailActionsTemplate from './notification/setting/detail/actions/NotificationSettingDetailActionsTemplate.vue'; -import NotificationSettingDetailTabChannels from './notification/setting/detail/tabs/NotificationSettingDetailTabChannels.vue'; -import NotificationSettingDetailTabMailConfig from './notification/setting/detail/tabs/NotificationSettingDetailTabMailConfig.vue'; -import NotificationSettingDetailTabOverview from './notification/setting/detail/tabs/NotificationSettingDetailTabOverview.vue'; -import NotificationSettingDetailTabTemplate from './notification/setting/detail/tabs/NotificationSettingDetailTabTemplate.vue'; -import NotificationSettingList from './notification/setting/list/NotificationSettingList.vue'; -import ProjectDetail from './project/detail/ProjectDetail.vue'; -import ProjectDetailTabOverview from './project/detail/tabs/ProjectDetailTabOverview.vue'; -import ProjectDetailTabSpiders from './project/detail/tabs/ProjectDetailTabSpiders.vue'; -import ProjectList from './project/list/ProjectList.vue'; -import ResultList from './data/list/ResultList.vue'; -import RoleDetail from './role/detail/RoleDetail.vue'; -import RoleDetailActionsPages from './role/detail/actions/RoleDetailActionsPages.vue'; -import RoleDetailTabOverview from './role/detail/tabs/RoleDetailTabOverview.vue'; -import RoleDetailTabPages from './role/detail/tabs/RoleDetailTabPages.vue'; -import RoleDetailTabUsers from './role/detail/tabs/RoleDetailTabUsers.vue'; -import RoleList from './role/list/RoleList.vue'; -import ScheduleDetail from './schedule/detail/ScheduleDetail.vue'; -import ScheduleDetailTabOverview from './schedule/detail/tabs/ScheduleDetailTabOverview.vue'; -import ScheduleDetailTabTasks from './schedule/detail/tabs/ScheduleDetailTabTasks.vue'; -import ScheduleList from './schedule/list/ScheduleList.vue'; -import SpiderDetail from './spider/detail/SpiderDetail.vue'; -import SpiderDetailActionsCommon from './spider/detail/actions/SpiderDetailActionsCommon.vue'; -import SpiderDetailActionsData from './spider/detail/actions/SpiderDetailActionsData.vue'; -import SpiderDetailActionsFiles from './spider/detail/actions/SpiderDetailActionsFiles.vue'; -import SpiderDetailTabData from './spider/detail/tabs/SpiderDetailTabData.vue'; -import SpiderDetailTabDependencies from './spider/detail/tabs/SpiderDetailTabDependencies.vue'; -import SpiderDetailTabFiles from './spider/detail/tabs/SpiderDetailTabFiles.vue'; -import SpiderDetailTabOverview from './spider/detail/tabs/SpiderDetailTabOverview.vue'; -import SpiderDetailTabSchedules from './spider/detail/tabs/SpiderDetailTabSchedules.vue'; -import SpiderDetailTabTasks from './spider/detail/tabs/SpiderDetailTabTasks.vue'; -import SpiderList from './spider/list/SpiderList.vue'; -import SystemDetail from './system/detail/SystemDetail.vue'; -import SystemDetailTabCustomize from './system/detail/tabs/SystemDetailTabCustomize.vue'; -import SystemDetailTabDependency from './system/detail/tabs/SystemDetailTabDependency.vue'; -import SystemDetailTabEnvironment from './system/detail/tabs/SystemDetailTabEnvironment.vue'; -import SystemDetailTabModels from './system/detail/tabs/SystemDetailTabModels.vue'; -import TaskDetail from './task/detail/TaskDetail.vue'; -import TaskDetailActionGroupNav from './task/detail/actions/groups/TaskDetailActionGroupNav.vue'; -import TaskDetailActionsCommon from './task/detail/actions/TaskDetailActionsCommon.vue'; -import TaskDetailActionsData from './task/detail/actions/TaskDetailActionsData.vue'; -import TaskDetailActionsLogs from './task/detail/actions/TaskDetailActionsLogs.vue'; -import TaskDetailTabData from './task/detail/tabs/TaskDetailTabData.vue'; -import TaskDetailTabLogs from './task/detail/tabs/TaskDetailTabLogs.vue'; -import TaskDetailTabOverview from './task/detail/tabs/TaskDetailTabOverview.vue'; -import TaskList from './task/list/TaskList.vue'; -import TokenList from './token/list/TokenList.vue'; -import useAutoProbeDetail from './autoprobe/detail/useAutoProbeDetail'; -import useAutoProbeList from './autoprobe/list/useAutoProbeList'; -import useDatabaseDetail from './database/detail/useDatabaseDetail'; -import useDatabaseList from './database/list/useDatabaseList'; -import useDependencyList from './dependency/list/useDependencyList'; -import useEnvironmentList from './environment/list/useEnvironmentList'; -import useGitDetail from './git/detail/useGitDetail'; -import useGitList from './git/list/useGitList'; -import useNodeList from './node/list/useNodeList'; -import useNotificationAlertDetail from './notification/alert/detail/useNotificationAlertDetail'; -import useNotificationAlertList from './notification/alert/list/useNotificationAlertList'; -import useNotificationChannelDetail from './notification/channel/detail/useNotificationChannelDetail'; -import useNotificationChannelList from './notification/channel/list/useNotificationChannelList'; -import useNotificationRequestList from './notification/request/list/useNotificationRequestList'; -import useNotificationSettingDetail from './notification/setting/detail/useNotificationSettingDetail'; -import useNotificationSettingList from './notification/setting/list/useNotificationSettingList'; -import useProjectList from './project/list/useProjectList'; -import UserDetail from './user/detail/UserDetail.vue'; -import UserDetailTabOverview from './user/detail/tabs/UserDetailTabOverview.vue'; -import UserList from './user/list/UserList.vue'; -import useRoleDetail from './role/detail/useRoleDetail'; -import useRoleList from './role/list/useRoleList'; -import useScheduleDetail from './schedule/detail/useScheduleDetail'; -import useScheduleList from './schedule/list/useScheduleList'; -import useSpiderDetail from './spider/detail/useSpiderDetail'; -import useSpiderList from './spider/list/useSpiderList'; -import useTaskDetail from './task/detail/useTaskDetail'; -import useTaskList from './task/list/useTaskList'; -import useTokenList from './token/list/useTokenList'; -import useUserDetail from './user/detail/useUserDetail'; -import useUserList from './user/list/useUserList'; -export { AutoProbeDetail as ClAutoProbeDetail, AutoProbeDetailTabOverview as ClAutoProbeDetailTabOverview, AutoProbeDetailTabPatterns as ClAutoProbeDetailTabPatterns, AutoProbeDetailTabTasks as ClAutoProbeDetailTabTasks, AutoProbeList as ClAutoProbeList, DatabaseDetail as ClDatabaseDetail, DatabaseDetailActionsCommon as ClDatabaseDetailActionsCommon, DatabaseDetailActionsConsole as ClDatabaseDetailActionsConsole, DatabaseDetailTabConsole as ClDatabaseDetailTabConsole, DatabaseDetailTabDatabases as ClDatabaseDetailTabDatabases, DatabaseDetailTabMonitoring as ClDatabaseDetailTabMonitoring, DatabaseDetailTabOverview as ClDatabaseDetailTabOverview, DatabaseList as ClDatabaseList, DependencyList as ClDependencyList, Disclaimer as ClDisclaimer, EnvironmentList as ClEnvironmentList, GitDetail as ClGitDetail, GitDetailActionsChanges as ClGitDetailActionsChanges, GitDetailActionsCommon as ClGitDetailActionsCommon, GitDetailActionsFiles as ClGitDetailActionsFiles, GitDetailTabChanges as ClGitDetailTabChanges, GitDetailTabCommits as ClGitDetailTabCommits, GitDetailTabFiles as ClGitDetailTabFiles, GitDetailTabOverview as ClGitDetailTabOverview, GitDetailTabSpiders as ClGitDetailTabSpiders, GitList as ClGitList, Home as ClHome, Login as ClLogin, MyAccount as ClMyAccount, NodeDetail as ClNodeDetail, NodeDetailActionsCommon as ClNodeDetailActionsCommon, NodeDetailTabMonitoring as ClNodeDetailTabMonitoring, NodeDetailTabOverview as ClNodeDetailTabOverview, NodeDetailTabTasks as ClNodeDetailTabTasks, NodeList as ClNodeList, NotificationAlertDetail as ClNotificationAlertDetail, NotificationAlertDetailActionsCommon as ClNotificationAlertDetailActionsCommon, NotificationAlertDetailTabOverview as ClNotificationAlertDetailTabOverview, NotificationAlertList as ClNotificationAlertList, NotificationChannelDetail as ClNotificationChannelDetail, NotificationChannelDetailActionsCommon as ClNotificationChannelDetailActionsCommon, NotificationChannelDetailTabOverview as ClNotificationChannelDetailTabOverview, NotificationChannelList as ClNotificationChannelList, NotificationRequestList as ClNotificationRequestList, NotificationSettingDetail as ClNotificationSettingDetail, NotificationSettingDetailActionsCommon as ClNotificationSettingDetailActionsCommon, NotificationSettingDetailActionsTemplate as ClNotificationSettingDetailActionsTemplate, NotificationSettingDetailTabChannels as ClNotificationSettingDetailTabChannels, NotificationSettingDetailTabMailConfig as ClNotificationSettingDetailTabMailConfig, NotificationSettingDetailTabOverview as ClNotificationSettingDetailTabOverview, NotificationSettingDetailTabTemplate as ClNotificationSettingDetailTabTemplate, NotificationSettingList as ClNotificationSettingList, ProjectDetail as ClProjectDetail, ProjectDetailTabOverview as ClProjectDetailTabOverview, ProjectDetailTabSpiders as ClProjectDetailTabSpiders, ProjectList as ClProjectList, ResultList as ClResultList, RoleDetail as ClRoleDetail, RoleDetailActionsPages as ClRoleDetailActionsPages, RoleDetailTabOverview as ClRoleDetailTabOverview, RoleDetailTabPages as ClRoleDetailTabPages, RoleDetailTabUsers as ClRoleDetailTabUsers, RoleList as ClRoleList, ScheduleDetail as ClScheduleDetail, ScheduleDetailTabOverview as ClScheduleDetailTabOverview, ScheduleDetailTabTasks as ClScheduleDetailTabTasks, ScheduleList as ClScheduleList, SpiderDetail as ClSpiderDetail, SpiderDetailActionsCommon as ClSpiderDetailActionsCommon, SpiderDetailActionsData as ClSpiderDetailActionsData, SpiderDetailActionsFiles as ClSpiderDetailActionsFiles, SpiderDetailTabData as ClSpiderDetailTabData, SpiderDetailTabDependencies as ClSpiderDetailTabDependencies, SpiderDetailTabFiles as ClSpiderDetailTabFiles, SpiderDetailTabOverview as ClSpiderDetailTabOverview, SpiderDetailTabSchedules as ClSpiderDetailTabSchedules, SpiderDetailTabTasks as ClSpiderDetailTabTasks, SpiderList as ClSpiderList, SystemDetail as ClSystemDetail, SystemDetailTabCustomize as ClSystemDetailTabCustomize, SystemDetailTabDependency as ClSystemDetailTabDependency, SystemDetailTabEnvironment as ClSystemDetailTabEnvironment, SystemDetailTabModels as ClSystemDetailTabModels, TaskDetail as ClTaskDetail, TaskDetailActionGroupNav as ClTaskDetailActionGroupNav, TaskDetailActionsCommon as ClTaskDetailActionsCommon, TaskDetailActionsData as ClTaskDetailActionsData, TaskDetailActionsLogs as ClTaskDetailActionsLogs, TaskDetailTabData as ClTaskDetailTabData, TaskDetailTabLogs as ClTaskDetailTabLogs, TaskDetailTabOverview as ClTaskDetailTabOverview, TaskList as ClTaskList, TokenList as ClTokenList, useAutoProbeDetail as useAutoProbeDetail, useAutoProbeList as useAutoProbeList, useDatabaseDetail as useDatabaseDetail, useDatabaseList as useDatabaseList, useDependencyList as useDependencyList, useEnvironmentList as useEnvironmentList, useGitDetail as useGitDetail, useGitList as useGitList, useNodeList as useNodeList, useNotificationAlertDetail as useNotificationAlertDetail, useNotificationAlertList as useNotificationAlertList, useNotificationChannelDetail as useNotificationChannelDetail, useNotificationChannelList as useNotificationChannelList, useNotificationRequestList as useNotificationRequestList, useNotificationSettingDetail as useNotificationSettingDetail, useNotificationSettingList as useNotificationSettingList, useProjectList as useProjectList, UserDetail as ClUserDetail, UserDetailTabOverview as ClUserDetailTabOverview, UserList as ClUserList, useRoleDetail as useRoleDetail, useRoleList as useRoleList, useScheduleDetail as useScheduleDetail, useScheduleList as useScheduleList, useSpiderDetail as useSpiderDetail, useSpiderList as useSpiderList, useTaskDetail as useTaskDetail, useTaskList as useTaskList, useTokenList as useTokenList, useUserDetail as useUserDetail, useUserList as useUserList, }; diff --git a/frontend/crawlab-ui/typings/views/login/Login.vue.d.ts b/frontend/crawlab-ui/typings/views/login/Login.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/login/Login.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/misc/Disclaimer.vue.d.ts b/frontend/crawlab-ui/typings/views/misc/Disclaimer.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/misc/Disclaimer.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/misc/MyAccount.vue.d.ts b/frontend/crawlab-ui/typings/views/misc/MyAccount.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/misc/MyAccount.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/node/detail/NodeDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/node/detail/NodeDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/node/detail/NodeDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/node/detail/actions/NodeDetailActionsCommon.vue.d.ts b/frontend/crawlab-ui/typings/views/node/detail/actions/NodeDetailActionsCommon.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/node/detail/actions/NodeDetailActionsCommon.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/node/detail/tabs/NodeDetailTabMonitoring.vue.d.ts b/frontend/crawlab-ui/typings/views/node/detail/tabs/NodeDetailTabMonitoring.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/node/detail/tabs/NodeDetailTabMonitoring.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/node/detail/tabs/NodeDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/node/detail/tabs/NodeDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/node/detail/tabs/NodeDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/node/detail/tabs/NodeDetailTabTasks.vue.d.ts b/frontend/crawlab-ui/typings/views/node/detail/tabs/NodeDetailTabTasks.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/node/detail/tabs/NodeDetailTabTasks.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/node/list/NodeList.vue.d.ts b/frontend/crawlab-ui/typings/views/node/list/NodeList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/node/list/NodeList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/node/list/useNodeList.d.ts b/frontend/crawlab-ui/typings/views/node/list/useNodeList.d.ts deleted file mode 100644 index ac9f2cdb..00000000 --- a/frontend/crawlab-ui/typings/views/node/list/useNodeList.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare const useNodeList: () => { - selectableFunction: TableSelectableFunction; - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useNodeList; diff --git a/frontend/crawlab-ui/typings/views/notification/alert/detail/NotificationAlertDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/alert/detail/NotificationAlertDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/alert/detail/NotificationAlertDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/alert/detail/actions/NotificationAlertDetailActionsCommon.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/alert/detail/actions/NotificationAlertDetailActionsCommon.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/alert/detail/actions/NotificationAlertDetailActionsCommon.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/alert/detail/tabs/NotificationAlertDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/alert/detail/tabs/NotificationAlertDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/alert/detail/tabs/NotificationAlertDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/alert/detail/useNotificationAlertDetail.d.ts b/frontend/crawlab-ui/typings/views/notification/alert/detail/useNotificationAlertDetail.d.ts deleted file mode 100644 index cbe04c70..00000000 --- a/frontend/crawlab-ui/typings/views/notification/alert/detail/useNotificationAlertDetail.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare const useNotificationAlertDetail: () => { - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useNotificationAlertDetail; diff --git a/frontend/crawlab-ui/typings/views/notification/alert/list/NotificationAlertList.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/alert/list/NotificationAlertList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/alert/list/NotificationAlertList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/alert/list/useNotificationAlertList.d.ts b/frontend/crawlab-ui/typings/views/notification/alert/list/useNotificationAlertList.d.ts deleted file mode 100644 index 2664f48e..00000000 --- a/frontend/crawlab-ui/typings/views/notification/alert/list/useNotificationAlertList.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare const useNotificationAlertList: () => { - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useNotificationAlertList; diff --git a/frontend/crawlab-ui/typings/views/notification/channel/detail/NotificationChannelDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/channel/detail/NotificationChannelDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/channel/detail/NotificationChannelDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/channel/detail/actions/NotificationChannelDetailActionsCommon.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/channel/detail/actions/NotificationChannelDetailActionsCommon.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/channel/detail/actions/NotificationChannelDetailActionsCommon.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/channel/detail/tabs/NotificationChannelDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/channel/detail/tabs/NotificationChannelDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/channel/detail/tabs/NotificationChannelDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/channel/detail/useNotificationChannelDetail.d.ts b/frontend/crawlab-ui/typings/views/notification/channel/detail/useNotificationChannelDetail.d.ts deleted file mode 100644 index 8695010e..00000000 --- a/frontend/crawlab-ui/typings/views/notification/channel/detail/useNotificationChannelDetail.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare const useNotificationChannelDetail: () => { - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useNotificationChannelDetail; diff --git a/frontend/crawlab-ui/typings/views/notification/channel/list/NotificationChannelList.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/channel/list/NotificationChannelList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/channel/list/NotificationChannelList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/channel/list/useNotificationChannelList.d.ts b/frontend/crawlab-ui/typings/views/notification/channel/list/useNotificationChannelList.d.ts deleted file mode 100644 index 175a7901..00000000 --- a/frontend/crawlab-ui/typings/views/notification/channel/list/useNotificationChannelList.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare const useNotificationChannelList: () => { - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useNotificationChannelList; diff --git a/frontend/crawlab-ui/typings/views/notification/request/list/NotificationRequestList.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/request/list/NotificationRequestList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/request/list/NotificationRequestList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/request/list/useNotificationRequestList.d.ts b/frontend/crawlab-ui/typings/views/notification/request/list/useNotificationRequestList.d.ts deleted file mode 100644 index 21e17531..00000000 --- a/frontend/crawlab-ui/typings/views/notification/request/list/useNotificationRequestList.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare const useNotificationRequestList: () => { - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useNotificationRequestList; diff --git a/frontend/crawlab-ui/typings/views/notification/setting/detail/NotificationSettingDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/setting/detail/NotificationSettingDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/setting/detail/NotificationSettingDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/setting/detail/actions/NotificationSettingDetailActionsCommon.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/setting/detail/actions/NotificationSettingDetailActionsCommon.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/setting/detail/actions/NotificationSettingDetailActionsCommon.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/setting/detail/actions/NotificationSettingDetailActionsTemplate.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/setting/detail/actions/NotificationSettingDetailActionsTemplate.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/setting/detail/actions/NotificationSettingDetailActionsTemplate.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabChannels.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabChannels.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabChannels.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabMailConfig.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabMailConfig.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabMailConfig.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabTemplate.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabTemplate.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/setting/detail/tabs/NotificationSettingDetailTabTemplate.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/setting/detail/useNotificationSettingDetail.d.ts b/frontend/crawlab-ui/typings/views/notification/setting/detail/useNotificationSettingDetail.d.ts deleted file mode 100644 index f5e51552..00000000 --- a/frontend/crawlab-ui/typings/views/notification/setting/detail/useNotificationSettingDetail.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare const useNotificationSettingDetail: () => { - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useNotificationSettingDetail; diff --git a/frontend/crawlab-ui/typings/views/notification/setting/list/NotificationSettingList.vue.d.ts b/frontend/crawlab-ui/typings/views/notification/setting/list/NotificationSettingList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/notification/setting/list/NotificationSettingList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/notification/setting/list/useNotificationSettingList.d.ts b/frontend/crawlab-ui/typings/views/notification/setting/list/useNotificationSettingList.d.ts deleted file mode 100644 index a99e1872..00000000 --- a/frontend/crawlab-ui/typings/views/notification/setting/list/useNotificationSettingList.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare const useNotificationSettingList: () => { - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useNotificationSettingList; diff --git a/frontend/crawlab-ui/typings/views/project/detail/ProjectDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/project/detail/ProjectDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/project/detail/ProjectDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/project/detail/tabs/ProjectDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/project/detail/tabs/ProjectDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/project/detail/tabs/ProjectDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/project/detail/tabs/ProjectDetailTabSpiders.vue.d.ts b/frontend/crawlab-ui/typings/views/project/detail/tabs/ProjectDetailTabSpiders.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/project/detail/tabs/ProjectDetailTabSpiders.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/project/list/ProjectList.vue.d.ts b/frontend/crawlab-ui/typings/views/project/list/ProjectList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/project/list/ProjectList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/project/list/useProjectList.d.ts b/frontend/crawlab-ui/typings/views/project/list/useProjectList.d.ts deleted file mode 100644 index 5b900dca..00000000 --- a/frontend/crawlab-ui/typings/views/project/list/useProjectList.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare const useProjectList: () => { - selectableFunction: (row: Project) => boolean; - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useProjectList; diff --git a/frontend/crawlab-ui/typings/views/role/detail/RoleDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/role/detail/RoleDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/role/detail/RoleDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/role/detail/actions/RoleDetailActionsPages.vue.d.ts b/frontend/crawlab-ui/typings/views/role/detail/actions/RoleDetailActionsPages.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/role/detail/actions/RoleDetailActionsPages.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/role/detail/tabs/RoleDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/role/detail/tabs/RoleDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/role/detail/tabs/RoleDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/role/detail/tabs/RoleDetailTabPages.vue.d.ts b/frontend/crawlab-ui/typings/views/role/detail/tabs/RoleDetailTabPages.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/role/detail/tabs/RoleDetailTabPages.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/role/detail/tabs/RoleDetailTabUsers.vue.d.ts b/frontend/crawlab-ui/typings/views/role/detail/tabs/RoleDetailTabUsers.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/role/detail/tabs/RoleDetailTabUsers.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/role/detail/useRoleDetail.d.ts b/frontend/crawlab-ui/typings/views/role/detail/useRoleDetail.d.ts deleted file mode 100644 index 46629f53..00000000 --- a/frontend/crawlab-ui/typings/views/role/detail/useRoleDetail.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare const useRoleDetail: () => { - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useRoleDetail; diff --git a/frontend/crawlab-ui/typings/views/role/list/RoleList.vue.d.ts b/frontend/crawlab-ui/typings/views/role/list/RoleList.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/role/list/RoleList.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/role/list/useRoleList.d.ts b/frontend/crawlab-ui/typings/views/role/list/useRoleList.d.ts deleted file mode 100644 index 63ba8833..00000000 --- a/frontend/crawlab-ui/typings/views/role/list/useRoleList.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare const useRoleList: () => { - selectableFunction: (row: Role) => boolean; - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useRoleList; diff --git a/frontend/crawlab-ui/typings/views/schedule/detail/ScheduleDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/schedule/detail/ScheduleDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/schedule/detail/ScheduleDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/schedule/detail/tabs/ScheduleDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/schedule/detail/tabs/ScheduleDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/schedule/detail/tabs/ScheduleDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/schedule/detail/tabs/ScheduleDetailTabTasks.vue.d.ts b/frontend/crawlab-ui/typings/views/schedule/detail/tabs/ScheduleDetailTabTasks.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/schedule/detail/tabs/ScheduleDetailTabTasks.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/schedule/detail/useScheduleDetail.d.ts b/frontend/crawlab-ui/typings/views/schedule/detail/useScheduleDetail.d.ts deleted file mode 100644 index 43caa185..00000000 --- a/frontend/crawlab-ui/typings/views/schedule/detail/useScheduleDetail.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare const useScheduleDetail: () => { - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useScheduleDetail; diff --git a/frontend/crawlab-ui/typings/views/schedule/list/ScheduleList.vue.d.ts b/frontend/crawlab-ui/typings/views/schedule/list/ScheduleList.vue.d.ts deleted file mode 100644 index 8ee17a47..00000000 --- a/frontend/crawlab-ui/typings/views/schedule/list/ScheduleList.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -type __VLS_Props = { - noActions?: boolean; - embedded?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/schedule/list/useScheduleList.d.ts b/frontend/crawlab-ui/typings/views/schedule/list/useScheduleList.d.ts deleted file mode 100644 index 5983fc94..00000000 --- a/frontend/crawlab-ui/typings/views/schedule/list/useScheduleList.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare const useScheduleList: () => { - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useScheduleList; diff --git a/frontend/crawlab-ui/typings/views/spider/detail/SpiderDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/spider/detail/SpiderDetail.vue.d.ts deleted file mode 100644 index 239d8b8e..00000000 --- a/frontend/crawlab-ui/typings/views/spider/detail/SpiderDetail.vue.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { isPro } from '@/utils'; -declare const activeTabName: import("vue").ComputedRef; -declare const __VLS_ctx: InstanceType<__VLS_PickNotAny {}>>; -declare var __VLS_17: {}; -type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex & { - 'actions-suffix'?: (props: typeof __VLS_17) => any; -}>; -declare const __VLS_self: import("vue").DefineComponent<{}, { - isPro: typeof isPro; - activeTabName: typeof activeTabName; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: __VLS_WithSlots; -export default _default; -type __VLS_WithSlots = T & { - new (): { - $slots: S; - }; -}; diff --git a/frontend/crawlab-ui/typings/views/spider/detail/actions/SpiderDetailActionsCommon.vue.d.ts b/frontend/crawlab-ui/typings/views/spider/detail/actions/SpiderDetailActionsCommon.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/spider/detail/actions/SpiderDetailActionsCommon.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/spider/detail/actions/SpiderDetailActionsData.vue.d.ts b/frontend/crawlab-ui/typings/views/spider/detail/actions/SpiderDetailActionsData.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/spider/detail/actions/SpiderDetailActionsData.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/spider/detail/actions/SpiderDetailActionsFiles.vue.d.ts b/frontend/crawlab-ui/typings/views/spider/detail/actions/SpiderDetailActionsFiles.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/spider/detail/actions/SpiderDetailActionsFiles.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabData.vue.d.ts b/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabData.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabData.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabDependencies.vue.d.ts b/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabDependencies.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabDependencies.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabFiles.vue.d.ts b/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabFiles.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabFiles.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabSchedules.vue.d.ts b/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabSchedules.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabSchedules.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabTasks.vue.d.ts b/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabTasks.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/spider/detail/tabs/SpiderDetailTabTasks.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/spider/detail/useSpiderDetail.d.ts b/frontend/crawlab-ui/typings/views/spider/detail/useSpiderDetail.d.ts deleted file mode 100644 index 4925d473..00000000 --- a/frontend/crawlab-ui/typings/views/spider/detail/useSpiderDetail.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -declare const useSpiderDetail: () => { - listDir: (id: string, path: string) => Promise>; - listRootDir: (id: string) => Promise>; - getFile: (id: string, path: string) => Promise>; - getFileInfo: (id: string, path: string) => Promise>; - saveFile: (id: string, path: string, data: string) => Promise; - saveFileBinary: (id: string, path: string, file: File) => Promise; - saveFilesBinary: (id: string, files: { - path: string; - file: File; - }[], targetDirectory?: string) => Promise; - saveDir: (id: string, path: string) => Promise; - renameFile: (id: string, path: string, new_path: string) => Promise; - deleteFile: (id: string, path: string) => Promise; - copyFile: (id: string, path: string, new_path: string) => Promise; - fileContent: import("vue").ComputedRef; - getById: (id: string) => Promise>; - create: (form: unknown) => Promise>; - updateById: (id: string, form: unknown) => Promise>; - deleteById: (id: string) => Promise; - getList: (params?: ListRequestParams) => Promise>; - createList: (data: unknown[]) => Promise>; - updateList: (ids: string[], data: unknown, fields: string[]) => Promise; - deleteList: (ids: string[]) => Promise; - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useSpiderDetail; diff --git a/frontend/crawlab-ui/typings/views/spider/list/SpiderList.vue.d.ts b/frontend/crawlab-ui/typings/views/spider/list/SpiderList.vue.d.ts deleted file mode 100644 index 8ee17a47..00000000 --- a/frontend/crawlab-ui/typings/views/spider/list/SpiderList.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -type __VLS_Props = { - noActions?: boolean; - embedded?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/spider/list/useSpiderList.d.ts b/frontend/crawlab-ui/typings/views/spider/list/useSpiderList.d.ts deleted file mode 100644 index 9cf0a1d5..00000000 --- a/frontend/crawlab-ui/typings/views/spider/list/useSpiderList.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare const useSpiderList: () => { - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useSpiderList; diff --git a/frontend/crawlab-ui/typings/views/system/detail/SystemDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/system/detail/SystemDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/system/detail/SystemDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabCustomize.vue.d.ts b/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabCustomize.vue.d.ts deleted file mode 100644 index 0d5bac0f..00000000 --- a/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabCustomize.vue.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, { - save: () => Promise; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabDependency.vue.d.ts b/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabDependency.vue.d.ts deleted file mode 100644 index 0d5bac0f..00000000 --- a/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabDependency.vue.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, { - save: () => Promise; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabEnvironment.vue.d.ts b/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabEnvironment.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabEnvironment.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabModels.vue.d.ts b/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabModels.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/system/detail/tabs/SystemDetailTabModels.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/task/detail/TaskDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/task/detail/TaskDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/task/detail/TaskDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/task/detail/actions/TaskDetailActionsCommon.vue.d.ts b/frontend/crawlab-ui/typings/views/task/detail/actions/TaskDetailActionsCommon.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/task/detail/actions/TaskDetailActionsCommon.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/task/detail/actions/TaskDetailActionsData.vue.d.ts b/frontend/crawlab-ui/typings/views/task/detail/actions/TaskDetailActionsData.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/task/detail/actions/TaskDetailActionsData.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/task/detail/actions/TaskDetailActionsLogs.vue.d.ts b/frontend/crawlab-ui/typings/views/task/detail/actions/TaskDetailActionsLogs.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/task/detail/actions/TaskDetailActionsLogs.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/task/detail/actions/groups/TaskDetailActionGroupNav.vue.d.ts b/frontend/crawlab-ui/typings/views/task/detail/actions/groups/TaskDetailActionGroupNav.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/task/detail/actions/groups/TaskDetailActionGroupNav.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/task/detail/tabs/TaskDetailTabData.vue.d.ts b/frontend/crawlab-ui/typings/views/task/detail/tabs/TaskDetailTabData.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/task/detail/tabs/TaskDetailTabData.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/task/detail/tabs/TaskDetailTabLogs.vue.d.ts b/frontend/crawlab-ui/typings/views/task/detail/tabs/TaskDetailTabLogs.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/task/detail/tabs/TaskDetailTabLogs.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/task/detail/tabs/TaskDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/task/detail/tabs/TaskDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/task/detail/tabs/TaskDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/task/detail/useTaskDetail.d.ts b/frontend/crawlab-ui/typings/views/task/detail/useTaskDetail.d.ts deleted file mode 100644 index 5d15aa92..00000000 --- a/frontend/crawlab-ui/typings/views/task/detail/useTaskDetail.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare const useTaskDetail: () => { - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useTaskDetail; diff --git a/frontend/crawlab-ui/typings/views/task/list/TaskList.vue.d.ts b/frontend/crawlab-ui/typings/views/task/list/TaskList.vue.d.ts deleted file mode 100644 index 8ee17a47..00000000 --- a/frontend/crawlab-ui/typings/views/task/list/TaskList.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -type __VLS_Props = { - noActions?: boolean; - embedded?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/task/list/useTaskList.d.ts b/frontend/crawlab-ui/typings/views/task/list/useTaskList.d.ts deleted file mode 100644 index 7444aa97..00000000 --- a/frontend/crawlab-ui/typings/views/task/list/useTaskList.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare const useTaskList: () => { - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useTaskList; diff --git a/frontend/crawlab-ui/typings/views/token/list/TokenList.vue.d.ts b/frontend/crawlab-ui/typings/views/token/list/TokenList.vue.d.ts deleted file mode 100644 index 8ee17a47..00000000 --- a/frontend/crawlab-ui/typings/views/token/list/TokenList.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -type __VLS_Props = { - noActions?: boolean; - embedded?: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/token/list/useTokenList.d.ts b/frontend/crawlab-ui/typings/views/token/list/useTokenList.d.ts deleted file mode 100644 index b510b965..00000000 --- a/frontend/crawlab-ui/typings/views/token/list/useTokenList.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare const useTokenList: () => { - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useTokenList; diff --git a/frontend/crawlab-ui/typings/views/user/detail/UserDetail.vue.d.ts b/frontend/crawlab-ui/typings/views/user/detail/UserDetail.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/user/detail/UserDetail.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/user/detail/tabs/UserDetailTabOverview.vue.d.ts b/frontend/crawlab-ui/typings/views/user/detail/tabs/UserDetailTabOverview.vue.d.ts deleted file mode 100644 index 7711b0ce..00000000 --- a/frontend/crawlab-ui/typings/views/user/detail/tabs/UserDetailTabOverview.vue.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/user/detail/useUserDetail.d.ts b/frontend/crawlab-ui/typings/views/user/detail/useUserDetail.d.ts deleted file mode 100644 index 1e535931..00000000 --- a/frontend/crawlab-ui/typings/views/user/detail/useUserDetail.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -declare const useUserDetail: () => { - navItems: import("vue").ComputedRef[]>; - activeId: import("vue").ComputedRef; - showActionsToggleTooltip: import("vue").Ref; - navLoading: import("vue").Ref; - onNavSelect: (id: string) => Promise; - tabs: import("vue").ComputedRef<{ - title: string; - disabled: boolean; - id: string; - subtitle?: string; - data?: any; - icon?: Icon; - iconSpinning?: boolean; - tooltip?: string; - emphasis?: boolean; - style?: any; - badge?: string | number; - badgeType?: BasicType; - label?: string; - value?: any; - children?: NavItem[] | undefined; - path?: string; - level?: number; - }[]>; - activeTabName: import("vue").ComputedRef; - getForm: () => Promise; - onNavTabsSelect: (tabName: string) => Promise; - onBack: () => Promise; - onSave: () => Promise; -}; -export default useUserDetail; diff --git a/frontend/crawlab-ui/typings/views/user/list/UserList.vue.d.ts b/frontend/crawlab-ui/typings/views/user/list/UserList.vue.d.ts deleted file mode 100644 index 6523db76..00000000 --- a/frontend/crawlab-ui/typings/views/user/list/UserList.vue.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -type __VLS_Props = { - noActions: boolean; - embedded: boolean; -}; -declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; -export default _default; diff --git a/frontend/crawlab-ui/typings/views/user/list/useUserList.d.ts b/frontend/crawlab-ui/typings/views/user/list/useUserList.d.ts deleted file mode 100644 index e184d7e9..00000000 --- a/frontend/crawlab-ui/typings/views/user/list/useUserList.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare const useUserList: () => { - selectableFunction: (row: User) => boolean; - navActions?: import("vue").Ref; - tableLoading: import("vue").Ref; - tableColumns?: import("vue").Ref, TableColumns> | undefined; - tableData: import("vue").Ref, TableData>; - tableTotal: import("vue").Ref; - tablePagination: import("vue").Ref; - tableListFilter: import("vue").Ref; - tableListSort: import("vue").Ref; - actionFunctions: ListLayoutActionFunctions; - activeDialogKey: import("vue").ComputedRef; -}; -export default useUserList;