@dazhicheng/ui 1.5.179 → 1.5.182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/tt-button/index.d.ts +11 -9
- package/dist/components/tt-button/index.vue.d.ts +8 -6
- package/dist/components/tt-drawer/index.d.ts +23 -23
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +11 -11
- package/dist/components/tt-form/src/components/FormElInput.vue.d.ts +5 -5
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +4 -4
- package/dist/components/tt-form/src/form-render/FormLabel.vue.d.ts +0 -3
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/form.vue.d.ts +19 -3
- package/dist/components/tt-form/src/group-form/GroupForm.vue.d.ts +1 -1
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +11 -2
- package/dist/components/tt-form/src/index.vue.d.ts +29 -5
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +8 -8
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +4 -4
- package/dist/components/tt-image/index.d.ts +2 -2
- package/dist/components/tt-image/tt-image.d.ts +2 -2
- package/dist/components/tt-loading/index.d.ts +2 -2
- package/dist/components/tt-loading/src/loading.vue.d.ts +2 -2
- package/dist/components/tt-modal/index.d.ts +50 -50
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +28 -28
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +9 -9
- package/dist/components/tt-modal-form/index.vue.d.ts +2 -2
- package/dist/components/tt-nav-anchor/index.d.ts +3 -3
- package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +2 -2
- package/dist/components/tt-panel-select/src/index.vue.d.ts +408 -0
- package/dist/components/tt-select/src/Select.vue.d.ts +6 -4
- package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +1 -1
- package/dist/components/tt-select/src/components/Table.vue.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useDataSource.d.ts +1 -1
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +1 -1
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +9 -9
- package/dist/components/tt-table/src/Table.vue.d.ts +5 -5
- package/dist/components/tt-table/src/TableForm.vue.d.ts +237 -0
- package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +1 -1
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +8 -8
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +4 -3
- package/dist/components/tt-table/src/hooks/useTableEvent.d.ts +1 -1
- package/dist/components/tt-table/src/hooks/useTableSlot.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +3 -3
- package/dist/components/tt-table/src/types/table.d.ts +8 -0
- package/dist/components/tt-table/src/types/tableForm.d.ts +1 -1
- package/dist/components/tt-text/index.d.ts +3 -3
- package/dist/components/tt-text/index.vue.d.ts +1 -1
- package/dist/components/tt-upload/index.d.ts +14 -14
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +5 -5
- package/dist/components/types.d.ts +5 -1
- package/dist/hooks/useTemplateSlot.d.ts +2 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.js +10986 -11393
- package/dist/style.css +1 -1
- package/package.json +6 -4
- package/dist/components/tt-tree-select/index.d.ts +0 -5
- package/dist/components/tt-tree-select/src/TtTreeSelect.vue.d.ts +0 -6
- package/dist/components/tt-tree-select/src/cache-options.d.ts +0 -35
- package/dist/components/tt-tree-select/src/select.d.ts +0 -10
- package/dist/components/tt-tree-select/src/tree.d.ts +0 -23
- package/dist/components/tt-tree-select/src/utils.d.ts +0 -10
|
@@ -189,7 +189,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
189
189
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
191
|
title: any;
|
|
192
|
-
fullscreen: boolean;
|
|
193
192
|
visible: boolean;
|
|
194
193
|
size: "small" | "medium" | "mini";
|
|
195
194
|
height: any;
|
|
@@ -202,6 +201,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
202
201
|
modal: boolean;
|
|
203
202
|
cancelText: string;
|
|
204
203
|
okText: string;
|
|
204
|
+
fullscreen: boolean;
|
|
205
205
|
resizer: boolean;
|
|
206
206
|
showCancelBtn: boolean;
|
|
207
207
|
showOkBtn: boolean;
|
|
@@ -6,10 +6,8 @@ export declare function setDefaultModalProps(props: Partial<ModalProps>): void;
|
|
|
6
6
|
*/
|
|
7
7
|
export declare function useModalRender<TParentModalProps extends ModalProps = ModalProps>(options?: ModalApiOptions, MODAL_KEY?: symbol): readonly [import('vue').DefineSetupFnComponent<TParentModalProps, {}, {}, TParentModalProps & {}, import('vue').PublicProps>, TtModalExtendedModalApi] | readonly [import('vue').DefineSetupFnComponent<ModalProps, {}, {}, Partial<{
|
|
8
8
|
title: any;
|
|
9
|
-
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
10
|
-
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
11
|
-
fullscreen: boolean;
|
|
12
9
|
visible: boolean;
|
|
10
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
13
11
|
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
14
12
|
size: "small" | "medium" | "mini";
|
|
15
13
|
center: boolean;
|
|
@@ -18,6 +16,7 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
18
16
|
loading: boolean;
|
|
19
17
|
modelValue: boolean;
|
|
20
18
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
19
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
21
20
|
scrollTop: boolean;
|
|
22
21
|
minHeight: any;
|
|
23
22
|
showFooter: boolean;
|
|
@@ -26,6 +25,7 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
26
25
|
modal: boolean;
|
|
27
26
|
cancelText: string;
|
|
28
27
|
okText: string;
|
|
28
|
+
fullscreen: boolean;
|
|
29
29
|
resizer: boolean;
|
|
30
30
|
showCancelBtn: boolean;
|
|
31
31
|
showOkBtn: boolean;
|
|
@@ -50,10 +50,8 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
50
50
|
modalApi: TtModalExtendedModalApi;
|
|
51
51
|
}> & Omit<{
|
|
52
52
|
readonly title: any;
|
|
53
|
-
readonly showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
54
|
-
readonly appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
55
|
-
readonly fullscreen: boolean;
|
|
56
53
|
readonly visible: boolean;
|
|
54
|
+
readonly appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
57
55
|
readonly size: "small" | "medium" | "mini";
|
|
58
56
|
readonly center: boolean;
|
|
59
57
|
readonly height: any;
|
|
@@ -61,6 +59,7 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
61
59
|
readonly loading: boolean;
|
|
62
60
|
readonly modelValue: boolean;
|
|
63
61
|
readonly closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
62
|
+
readonly showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
64
63
|
readonly scrollTop: boolean;
|
|
65
64
|
readonly minHeight: any;
|
|
66
65
|
readonly showFooter: boolean;
|
|
@@ -68,6 +67,7 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
68
67
|
readonly modal: boolean;
|
|
69
68
|
readonly cancelText: string;
|
|
70
69
|
readonly okText: string;
|
|
70
|
+
readonly fullscreen: boolean;
|
|
71
71
|
readonly resizer: boolean;
|
|
72
72
|
readonly showCancelBtn: boolean;
|
|
73
73
|
readonly showOkBtn: boolean;
|
|
@@ -88,14 +88,14 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
88
88
|
readonly trapFocus: boolean;
|
|
89
89
|
readonly headerAriaLevel: string;
|
|
90
90
|
readonly ariaLevel: string;
|
|
91
|
-
readonly zIndex?: number | undefined;
|
|
92
|
-
readonly beforeClose?: import('element-plus').DialogBeforeCloseFn | undefined;
|
|
93
91
|
readonly top?: string | undefined;
|
|
92
|
+
readonly zIndex?: number | undefined;
|
|
94
93
|
readonly transition?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown> | undefined;
|
|
95
94
|
readonly width?: string | number | undefined;
|
|
96
95
|
readonly overflow?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
97
96
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
98
97
|
readonly loadingTip?: string | undefined;
|
|
98
|
+
readonly beforeClose?: import('element-plus').DialogBeforeCloseFn | undefined;
|
|
99
99
|
readonly modalClass?: string | undefined;
|
|
100
100
|
readonly alignCenter?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
101
101
|
readonly closeIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | null)[], unknown, unknown> | undefined;
|
|
@@ -106,5 +106,5 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
106
106
|
readonly "onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
107
107
|
readonly "onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
108
108
|
readonly onRegister?: ((args_0: import('../typing').ModalMethods, args_1: string) => any) | undefined;
|
|
109
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "
|
|
109
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "appendTo" | "transition" | "size" | "center" | "height" | "draggable" | "loading" | "modelValue" | "closeOnPressEscape" | "showClose" | "scrollTop" | "minHeight" | "showFooter" | "overflow" | "testId" | "modal" | "cancelText" | "okText" | "fullscreen" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "modalApi"> & Partial<import('element-plus').DialogProps> & {}, import('vue').PublicProps>, TtModalExtendedModalApi];
|
|
110
110
|
export declare function showTtModal<T extends Component>(app: App, component: T, options: ModalApiOptions): TtModalExtendedModalApi;
|
|
@@ -18,12 +18,12 @@ declare function __VLS_template(): {
|
|
|
18
18
|
};
|
|
19
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
20
|
declare const __VLS_component: import('vue').DefineComponent<Partial<TtModalFormProps>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
-
fetch: (data: Recordable) => any;
|
|
22
21
|
submit: (data: Recordable) => any;
|
|
22
|
+
fetch: (data: Recordable) => any;
|
|
23
23
|
getinfo: (data: any) => any;
|
|
24
24
|
}, string, import('vue').PublicProps, Readonly<Partial<TtModalFormProps>> & Readonly<{
|
|
25
|
-
onFetch?: ((data: Recordable) => any) | undefined;
|
|
26
25
|
onSubmit?: ((data: Recordable) => any) | undefined;
|
|
26
|
+
onFetch?: ((data: Recordable) => any) | undefined;
|
|
27
27
|
onGetinfo?: ((data: any) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
dataField: string;
|
|
@@ -6,11 +6,11 @@ export declare const TtNavAnchor: import('../../../../utils/src').SFCWithInstall
|
|
|
6
6
|
change: (key: string) => any;
|
|
7
7
|
"update:modelValue": (key: string) => any;
|
|
8
8
|
}, import('vue').PublicProps, {
|
|
9
|
-
title: string;
|
|
10
9
|
top: number | string;
|
|
11
10
|
bottom: number | string;
|
|
12
11
|
left: number | string;
|
|
13
12
|
right: number | string;
|
|
13
|
+
title: string;
|
|
14
14
|
modelValue: string;
|
|
15
15
|
position: "fixed" | "static" | "sticky";
|
|
16
16
|
badgeCounts: Record<string, number>;
|
|
@@ -28,11 +28,11 @@ export declare const TtNavAnchor: import('../../../../utils/src').SFCWithInstall
|
|
|
28
28
|
onChange?: ((key: string) => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
30
30
|
}>, {}, {}, {}, {}, {
|
|
31
|
-
title: string;
|
|
32
31
|
top: number | string;
|
|
33
32
|
bottom: number | string;
|
|
34
33
|
left: number | string;
|
|
35
34
|
right: number | string;
|
|
35
|
+
title: string;
|
|
36
36
|
modelValue: string;
|
|
37
37
|
position: "fixed" | "static" | "sticky";
|
|
38
38
|
badgeCounts: Record<string, number>;
|
|
@@ -47,11 +47,11 @@ export declare const TtNavAnchor: import('../../../../utils/src').SFCWithInstall
|
|
|
47
47
|
change: (key: string) => any;
|
|
48
48
|
"update:modelValue": (key: string) => any;
|
|
49
49
|
}, string, {
|
|
50
|
-
title: string;
|
|
51
50
|
top: number | string;
|
|
52
51
|
bottom: number | string;
|
|
53
52
|
left: number | string;
|
|
54
53
|
right: number | string;
|
|
54
|
+
title: string;
|
|
55
55
|
modelValue: string;
|
|
56
56
|
position: "fixed" | "static" | "sticky";
|
|
57
57
|
badgeCounts: Record<string, number>;
|
|
@@ -23,11 +23,11 @@ declare const __VLS_component: import('vue').DefineComponent<TtNavAnchorProps, {
|
|
|
23
23
|
onChange?: ((key: string) => any) | undefined;
|
|
24
24
|
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
title: string;
|
|
27
26
|
top: number | string;
|
|
28
27
|
bottom: number | string;
|
|
29
28
|
left: number | string;
|
|
30
29
|
right: number | string;
|
|
30
|
+
title: string;
|
|
31
31
|
modelValue: string;
|
|
32
32
|
position: "fixed" | "static" | "sticky";
|
|
33
33
|
badgeCounts: Record<string, number>;
|
|
@@ -57,7 +57,7 @@ declare const _default: import('vue').DefineComponent<PanelMiddleProps, {
|
|
|
57
57
|
readonly autofocus?: boolean | undefined;
|
|
58
58
|
readonly rows?: number | undefined;
|
|
59
59
|
readonly ariaLabel?: string | undefined;
|
|
60
|
-
readonly inputmode?: "search" | "
|
|
60
|
+
readonly inputmode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
61
61
|
readonly name?: string | undefined;
|
|
62
62
|
readonly countGraphemes?: ((value: string) => number) | undefined;
|
|
63
63
|
readonly onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
@@ -183,7 +183,7 @@ declare const _default: import('vue').DefineComponent<PanelMiddleProps, {
|
|
|
183
183
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
184
184
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
185
185
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
186
|
-
}>, "
|
|
186
|
+
}>, "input" | "select" | "textarea" | "blur" | "focus" | "disabled" | "clear" | "type" | "ref" | "tabindex" | "modelValue" | "validateEvent" | "autocomplete" | "clearIcon" | "inputStyle" | "modelModifiers" | "autosize" | "wordLimitPosition" | "rows" | "textareaStyle" | "isComposing" | "passwordVisible" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
187
187
|
input: import('vue').ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
188
188
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
189
189
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
import { nextTick, ComputedRef, Ref, ShallowRef } from 'vue';
|
|
2
|
+
import { PanelTreeNode } from './hooks/usePanelData';
|
|
3
|
+
import { PanelContainerProps, PanelSelectModelValue, PanelSelectOption, PanelSelectValue } from './types';
|
|
4
|
+
type __VLS_Props = PanelContainerProps;
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
modelValue?: PanelSelectModelValue;
|
|
7
|
+
} & __VLS_Props;
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
9
|
+
/** 重新加载数据源*/
|
|
10
|
+
reload: () => Promise<void>;
|
|
11
|
+
/** 获取当前归一化后的树形选项数据 */
|
|
12
|
+
getOptions: () => PanelTreeNode[];
|
|
13
|
+
/** 获取当前v-model值 */
|
|
14
|
+
getValue: () => PanelSelectModelValue;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
change: (val: unknown, options: PanelSelectOption[], currentOption: PanelSelectOption | PanelSelectOption[] | undefined) => any;
|
|
17
|
+
"update:modelValue": (value: PanelSelectModelValue) => any;
|
|
18
|
+
"visible-change": (val: boolean) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
+
onChange?: ((val: unknown, options: PanelSelectOption[], currentOption: PanelSelectOption | PanelSelectOption[] | undefined) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: PanelSelectModelValue) => any) | undefined;
|
|
22
|
+
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
immediate: boolean;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
multiple: boolean;
|
|
28
|
+
options: PanelSelectOption[];
|
|
29
|
+
treeConfig: import('./types').PanelSelectTreeConfig;
|
|
30
|
+
params: import('../../../../../utils/src').Recordable;
|
|
31
|
+
showAll: boolean;
|
|
32
|
+
resultField: string;
|
|
33
|
+
afterFetch: import('../../../../../utils/src').AnyPromiseFunction<any, any>;
|
|
34
|
+
beforeFetch: import('../../../../../utils/src').AnyPromiseFunction<any, any>;
|
|
35
|
+
alwaysLoad: boolean;
|
|
36
|
+
leftPlaceholder: string;
|
|
37
|
+
pasteSearch: boolean;
|
|
38
|
+
separator: string;
|
|
39
|
+
middlePlaceholder: string;
|
|
40
|
+
showNav: boolean;
|
|
41
|
+
showPinyinMode: boolean;
|
|
42
|
+
showOriginMode: boolean;
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
44
|
+
selectWrapRef: HTMLDivElement;
|
|
45
|
+
selectRef: unknown;
|
|
46
|
+
middleRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').PanelMiddleProps> & Readonly<{
|
|
47
|
+
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
48
|
+
onCheckAll?: ((checked: boolean) => any) | undefined;
|
|
49
|
+
onAllCheck?: ((checked: boolean) => any) | undefined;
|
|
50
|
+
onGroupCheck?: ((groupValue: PanelSelectValue, checked: boolean) => any) | undefined;
|
|
51
|
+
onOptionCheck?: ((value: PanelSelectValue, checked: boolean) => any) | undefined;
|
|
52
|
+
onOptionsCheck?: ((values: PanelSelectValue[], checked: boolean) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
scrollToGroup: (groupValue: PanelSelectValue) => Promise<void>;
|
|
55
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
"update:keyword": (value: string) => any;
|
|
57
|
+
checkAll: (checked: boolean) => any;
|
|
58
|
+
allCheck: (checked: boolean) => any;
|
|
59
|
+
groupCheck: (groupValue: PanelSelectValue, checked: boolean) => any;
|
|
60
|
+
optionCheck: (value: PanelSelectValue, checked: boolean) => any;
|
|
61
|
+
optionsCheck: (values: PanelSelectValue[], checked: boolean) => any;
|
|
62
|
+
}, import('vue').PublicProps, {
|
|
63
|
+
disabled: boolean;
|
|
64
|
+
scrollToGroupValue: PanelSelectValue;
|
|
65
|
+
pasteSearch: boolean;
|
|
66
|
+
separator: string;
|
|
67
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
68
|
+
searchInputRef: ({
|
|
69
|
+
$: import('vue').ComponentInternalInstance;
|
|
70
|
+
$data: {};
|
|
71
|
+
$props: {
|
|
72
|
+
readonly id?: string | undefined;
|
|
73
|
+
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
74
|
+
readonly disabled?: boolean | undefined;
|
|
75
|
+
readonly modelValue?: string | number | null | undefined | undefined;
|
|
76
|
+
readonly modelModifiers?: import('element-plus').InputModelModifiers | undefined;
|
|
77
|
+
readonly maxlength?: string | number | undefined;
|
|
78
|
+
readonly minlength?: string | number | undefined;
|
|
79
|
+
readonly type?: import('element-plus').InputType | undefined;
|
|
80
|
+
readonly resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
|
81
|
+
readonly autosize?: import('element-plus').InputAutoSize | undefined;
|
|
82
|
+
readonly autocomplete?: string | undefined;
|
|
83
|
+
readonly formatter?: ((value: string) => string) | undefined;
|
|
84
|
+
readonly parser?: ((value: string) => string) | undefined;
|
|
85
|
+
readonly placeholder?: string | undefined;
|
|
86
|
+
readonly form?: string | undefined;
|
|
87
|
+
readonly readonly?: boolean | undefined;
|
|
88
|
+
readonly clearable?: boolean | undefined;
|
|
89
|
+
readonly clearIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
90
|
+
readonly showPassword?: boolean | undefined;
|
|
91
|
+
readonly showWordLimit?: boolean | undefined;
|
|
92
|
+
readonly wordLimitPosition?: "inside" | "outside" | undefined;
|
|
93
|
+
readonly suffixIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
94
|
+
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
|
|
95
|
+
readonly containerRole?: string | undefined;
|
|
96
|
+
readonly tabindex?: string | number | undefined;
|
|
97
|
+
readonly validateEvent?: boolean | undefined;
|
|
98
|
+
readonly inputStyle?: import('vue').StyleValue;
|
|
99
|
+
readonly autofocus?: boolean | undefined;
|
|
100
|
+
readonly rows?: number | undefined;
|
|
101
|
+
readonly ariaLabel?: string | undefined;
|
|
102
|
+
readonly inputmode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
103
|
+
readonly name?: string | undefined;
|
|
104
|
+
readonly countGraphemes?: ((value: string) => number) | undefined;
|
|
105
|
+
readonly onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
106
|
+
readonly onChange?: ((value: string, evt?: Event | undefined) => any) | undefined | undefined;
|
|
107
|
+
readonly onCompositionend?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
108
|
+
readonly onCompositionstart?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
109
|
+
readonly onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
110
|
+
readonly onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
111
|
+
readonly onInput?: ((value: string) => any) | undefined | undefined;
|
|
112
|
+
readonly onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined | undefined;
|
|
113
|
+
readonly onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
114
|
+
readonly onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
115
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
|
|
116
|
+
readonly onClear?: ((evt: MouseEvent | undefined) => any) | undefined | undefined;
|
|
117
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
118
|
+
$attrs: {
|
|
119
|
+
[x: string]: unknown;
|
|
120
|
+
};
|
|
121
|
+
$refs: {
|
|
122
|
+
[x: string]: unknown;
|
|
123
|
+
};
|
|
124
|
+
$slots: Readonly<{
|
|
125
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
126
|
+
}>;
|
|
127
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
128
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
129
|
+
$host: Element | null;
|
|
130
|
+
$emit: ((event: "input", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string, evt?: Event | undefined) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "clear", evt: MouseEvent | undefined) => void) & ((event: "update:modelValue", value: string) => void);
|
|
131
|
+
$el: any;
|
|
132
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').InputProps> & Readonly<{
|
|
133
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
134
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
135
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
136
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
137
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
138
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
139
|
+
onInput?: ((value: string) => any) | undefined;
|
|
140
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
141
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
142
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
143
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
144
|
+
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
145
|
+
}>, {
|
|
146
|
+
input: ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
147
|
+
textarea: ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
148
|
+
ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
149
|
+
textareaStyle: ComputedRef<import('vue').StyleValue>;
|
|
150
|
+
autosize: Ref<import('element-plus').InputAutoSize | undefined, import('element-plus').InputAutoSize | undefined>;
|
|
151
|
+
isComposing: Ref<boolean, boolean>;
|
|
152
|
+
passwordVisible: Ref<boolean, boolean>;
|
|
153
|
+
focus: () => void | undefined;
|
|
154
|
+
blur: () => void | undefined;
|
|
155
|
+
select: () => void;
|
|
156
|
+
clear: (evt?: MouseEvent) => void;
|
|
157
|
+
resizeTextarea: () => void;
|
|
158
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
159
|
+
blur: (evt: FocusEvent) => void;
|
|
160
|
+
change: (value: string, evt?: Event | undefined) => void;
|
|
161
|
+
compositionend: (evt: CompositionEvent) => void;
|
|
162
|
+
compositionstart: (evt: CompositionEvent) => void;
|
|
163
|
+
compositionupdate: (evt: CompositionEvent) => void;
|
|
164
|
+
focus: (evt: FocusEvent) => void;
|
|
165
|
+
input: (value: string) => void;
|
|
166
|
+
keydown: (evt: Event | KeyboardEvent) => void;
|
|
167
|
+
mouseenter: (evt: MouseEvent) => void;
|
|
168
|
+
mouseleave: (evt: MouseEvent) => void;
|
|
169
|
+
"update:modelValue": (value: string) => void;
|
|
170
|
+
clear: (evt: MouseEvent | undefined) => void;
|
|
171
|
+
}, string, {
|
|
172
|
+
type: import('element-plus').InputType;
|
|
173
|
+
disabled: boolean;
|
|
174
|
+
modelValue: string | number | null;
|
|
175
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
176
|
+
autocomplete: string;
|
|
177
|
+
clearIcon: import('element-plus/es/utils/index.mjs').IconPropType;
|
|
178
|
+
wordLimitPosition: "inside" | "outside";
|
|
179
|
+
tabindex: string | number;
|
|
180
|
+
validateEvent: boolean;
|
|
181
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
182
|
+
rows: number;
|
|
183
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
184
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
185
|
+
created?: (() => void) | (() => void)[];
|
|
186
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
187
|
+
mounted?: (() => void) | (() => void)[];
|
|
188
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
189
|
+
updated?: (() => void) | (() => void)[];
|
|
190
|
+
activated?: (() => void) | (() => void)[];
|
|
191
|
+
deactivated?: (() => void) | (() => void)[];
|
|
192
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
193
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
194
|
+
destroyed?: (() => void) | (() => void)[];
|
|
195
|
+
unmounted?: (() => void) | (() => void)[];
|
|
196
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
197
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
198
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
199
|
+
};
|
|
200
|
+
$forceUpdate: () => void;
|
|
201
|
+
$nextTick: typeof nextTick;
|
|
202
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
203
|
+
} & Readonly<{
|
|
204
|
+
type: import('element-plus').InputType;
|
|
205
|
+
disabled: boolean;
|
|
206
|
+
modelValue: string | number | null;
|
|
207
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
208
|
+
autocomplete: string;
|
|
209
|
+
clearIcon: import('element-plus/es/utils/index.mjs').IconPropType;
|
|
210
|
+
wordLimitPosition: "inside" | "outside";
|
|
211
|
+
tabindex: string | number;
|
|
212
|
+
validateEvent: boolean;
|
|
213
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
214
|
+
rows: number;
|
|
215
|
+
}> & Omit<Readonly<import('element-plus').InputProps> & Readonly<{
|
|
216
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
217
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
218
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
219
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
220
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
221
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
222
|
+
onInput?: ((value: string) => any) | undefined;
|
|
223
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
224
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
225
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
226
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
227
|
+
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
228
|
+
}>, "input" | "select" | "textarea" | "blur" | "focus" | "disabled" | "clear" | "type" | "ref" | "tabindex" | "modelValue" | "validateEvent" | "autocomplete" | "clearIcon" | "inputStyle" | "modelModifiers" | "autosize" | "wordLimitPosition" | "rows" | "textareaStyle" | "isComposing" | "passwordVisible" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
229
|
+
input: ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
230
|
+
textarea: ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
231
|
+
ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
232
|
+
textareaStyle: ComputedRef<import('vue').StyleValue>;
|
|
233
|
+
autosize: Ref<import('element-plus').InputAutoSize | undefined, import('element-plus').InputAutoSize | undefined>;
|
|
234
|
+
isComposing: Ref<boolean, boolean>;
|
|
235
|
+
passwordVisible: Ref<boolean, boolean>;
|
|
236
|
+
focus: () => void | undefined;
|
|
237
|
+
blur: () => void | undefined;
|
|
238
|
+
select: () => void;
|
|
239
|
+
clear: (evt?: MouseEvent) => void;
|
|
240
|
+
resizeTextarea: () => void;
|
|
241
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
242
|
+
$slots: {
|
|
243
|
+
prepend?: (props: {}) => any;
|
|
244
|
+
} & {
|
|
245
|
+
prefix?: (props: {}) => any;
|
|
246
|
+
} & {
|
|
247
|
+
suffix?: (props: {}) => any;
|
|
248
|
+
} & {
|
|
249
|
+
'password-icon'?: (props: {
|
|
250
|
+
visible: boolean;
|
|
251
|
+
}) => any;
|
|
252
|
+
} & {
|
|
253
|
+
append?: (props: {}) => any;
|
|
254
|
+
};
|
|
255
|
+
}) | null;
|
|
256
|
+
scrollbarRef: ({
|
|
257
|
+
$: import('vue').ComponentInternalInstance;
|
|
258
|
+
$data: {};
|
|
259
|
+
$props: {
|
|
260
|
+
readonly distance?: number | undefined;
|
|
261
|
+
readonly height?: number | string | undefined;
|
|
262
|
+
readonly maxHeight?: number | string | undefined;
|
|
263
|
+
readonly native?: boolean | undefined;
|
|
264
|
+
readonly wrapStyle?: import('vue').StyleValue;
|
|
265
|
+
readonly wrapClass?: string | string[] | undefined;
|
|
266
|
+
readonly viewClass?: string | string[] | undefined;
|
|
267
|
+
readonly viewStyle?: import('vue').StyleValue;
|
|
268
|
+
readonly noresize?: boolean | undefined;
|
|
269
|
+
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
270
|
+
readonly always?: boolean | undefined;
|
|
271
|
+
readonly minSize?: number | undefined;
|
|
272
|
+
readonly tabindex?: number | string | undefined;
|
|
273
|
+
readonly id?: string | undefined;
|
|
274
|
+
readonly role?: string | undefined;
|
|
275
|
+
readonly ariaLabel?: string | undefined;
|
|
276
|
+
readonly ariaOrientation?: "horizontal" | "vertical" | "undefined" | undefined;
|
|
277
|
+
readonly onScroll?: ((args_0: {
|
|
278
|
+
scrollTop: number;
|
|
279
|
+
scrollLeft: number;
|
|
280
|
+
}) => any) | undefined | undefined;
|
|
281
|
+
readonly "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
|
|
282
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
283
|
+
$attrs: {
|
|
284
|
+
[x: string]: unknown;
|
|
285
|
+
};
|
|
286
|
+
$refs: {
|
|
287
|
+
[x: string]: unknown;
|
|
288
|
+
};
|
|
289
|
+
$slots: Readonly<{
|
|
290
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
291
|
+
}>;
|
|
292
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
293
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
294
|
+
$host: Element | null;
|
|
295
|
+
$emit: ((event: "scroll", args_0: {
|
|
296
|
+
scrollTop: number;
|
|
297
|
+
scrollLeft: number;
|
|
298
|
+
}) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
|
|
299
|
+
$el: any;
|
|
300
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
301
|
+
onScroll?: ((args_0: {
|
|
302
|
+
scrollTop: number;
|
|
303
|
+
scrollLeft: number;
|
|
304
|
+
}) => any) | undefined;
|
|
305
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
306
|
+
}>, {
|
|
307
|
+
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
308
|
+
update: () => void;
|
|
309
|
+
scrollTo: {
|
|
310
|
+
(xCord: number, yCord?: number): void;
|
|
311
|
+
(options: ScrollToOptions): void;
|
|
312
|
+
};
|
|
313
|
+
setScrollTop: (value: number) => void;
|
|
314
|
+
setScrollLeft: (value: number) => void;
|
|
315
|
+
handleScroll: () => void;
|
|
316
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
317
|
+
scroll: (args_0: {
|
|
318
|
+
scrollTop: number;
|
|
319
|
+
scrollLeft: number;
|
|
320
|
+
}) => void;
|
|
321
|
+
"end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
|
|
322
|
+
}, string, {
|
|
323
|
+
tabindex: number | string;
|
|
324
|
+
height: number | string;
|
|
325
|
+
maxHeight: number | string;
|
|
326
|
+
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
327
|
+
distance: number;
|
|
328
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
329
|
+
wrapClass: string | string[];
|
|
330
|
+
viewClass: string | string[];
|
|
331
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
332
|
+
minSize: number;
|
|
333
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
334
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
335
|
+
created?: (() => void) | (() => void)[];
|
|
336
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
337
|
+
mounted?: (() => void) | (() => void)[];
|
|
338
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
339
|
+
updated?: (() => void) | (() => void)[];
|
|
340
|
+
activated?: (() => void) | (() => void)[];
|
|
341
|
+
deactivated?: (() => void) | (() => void)[];
|
|
342
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
343
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
344
|
+
destroyed?: (() => void) | (() => void)[];
|
|
345
|
+
unmounted?: (() => void) | (() => void)[];
|
|
346
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
347
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
348
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
349
|
+
};
|
|
350
|
+
$forceUpdate: () => void;
|
|
351
|
+
$nextTick: typeof nextTick;
|
|
352
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
353
|
+
} & Readonly<{
|
|
354
|
+
tabindex: number | string;
|
|
355
|
+
height: number | string;
|
|
356
|
+
maxHeight: number | string;
|
|
357
|
+
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
358
|
+
distance: number;
|
|
359
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
360
|
+
wrapClass: string | string[];
|
|
361
|
+
viewClass: string | string[];
|
|
362
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
363
|
+
minSize: number;
|
|
364
|
+
}> & Omit<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
365
|
+
onScroll?: ((args_0: {
|
|
366
|
+
scrollTop: number;
|
|
367
|
+
scrollLeft: number;
|
|
368
|
+
}) => any) | undefined;
|
|
369
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
370
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
|
|
371
|
+
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
372
|
+
update: () => void;
|
|
373
|
+
scrollTo: {
|
|
374
|
+
(xCord: number, yCord?: number): void;
|
|
375
|
+
(options: ScrollToOptions): void;
|
|
376
|
+
};
|
|
377
|
+
setScrollTop: (value: number) => void;
|
|
378
|
+
setScrollLeft: (value: number) => void;
|
|
379
|
+
handleScroll: () => void;
|
|
380
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
381
|
+
$slots: {
|
|
382
|
+
default?: (props: {}) => any;
|
|
383
|
+
};
|
|
384
|
+
}) | null;
|
|
385
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
386
|
+
P: {};
|
|
387
|
+
B: {};
|
|
388
|
+
D: {};
|
|
389
|
+
C: {};
|
|
390
|
+
M: {};
|
|
391
|
+
Defaults: {};
|
|
392
|
+
}, Readonly<import('./types').PanelMiddleProps> & Readonly<{
|
|
393
|
+
"onUpdate:keyword"?: ((value: string) => any) | undefined;
|
|
394
|
+
onCheckAll?: ((checked: boolean) => any) | undefined;
|
|
395
|
+
onAllCheck?: ((checked: boolean) => any) | undefined;
|
|
396
|
+
onGroupCheck?: ((groupValue: PanelSelectValue, checked: boolean) => any) | undefined;
|
|
397
|
+
onOptionCheck?: ((value: PanelSelectValue, checked: boolean) => any) | undefined;
|
|
398
|
+
onOptionsCheck?: ((values: PanelSelectValue[], checked: boolean) => any) | undefined;
|
|
399
|
+
}>, {
|
|
400
|
+
scrollToGroup: (groupValue: PanelSelectValue) => Promise<void>;
|
|
401
|
+
}, {}, {}, {}, {
|
|
402
|
+
disabled: boolean;
|
|
403
|
+
scrollToGroupValue: PanelSelectValue;
|
|
404
|
+
pasteSearch: boolean;
|
|
405
|
+
separator: string;
|
|
406
|
+
}> | null;
|
|
407
|
+
}, HTMLDivElement>;
|
|
408
|
+
export default _default;
|
|
@@ -4,6 +4,7 @@ import { TtSelectModelUnionType, TtSelectModelValueType, TtSelectSelectOptions,
|
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
attrs: Partial<{}>;
|
|
6
6
|
slots: Readonly<{
|
|
7
|
+
[key: string]: ((props?: Record<string, any>) => void) | undefined;
|
|
7
8
|
/** empty */
|
|
8
9
|
empty?: (props?: Record<string, any>) => void;
|
|
9
10
|
/** label */
|
|
@@ -13,6 +14,7 @@ declare function __VLS_template(): {
|
|
|
13
14
|
/** default */
|
|
14
15
|
default?: (props?: Record<string, any>) => void;
|
|
15
16
|
}> & {
|
|
17
|
+
[key: string]: ((props?: Record<string, any>) => void) | undefined;
|
|
16
18
|
/** empty */
|
|
17
19
|
empty?: (props?: Record<string, any>) => void;
|
|
18
20
|
/** label */
|
|
@@ -349,10 +351,10 @@ declare function __VLS_template(): {
|
|
|
349
351
|
};
|
|
350
352
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
351
353
|
$slots: Readonly<{
|
|
352
|
-
[slotName: string]: () => import('vue').VNode;
|
|
354
|
+
[slotName: string]: (props: Record<string, any>) => import('vue').VNode;
|
|
353
355
|
empty: () => import('vue').VNode;
|
|
354
356
|
}> & {
|
|
355
|
-
[slotName: string]: () => import('vue').VNode;
|
|
357
|
+
[slotName: string]: (props: Record<string, any>) => import('vue').VNode;
|
|
356
358
|
empty: () => import('vue').VNode;
|
|
357
359
|
};
|
|
358
360
|
}) | null;
|
|
@@ -844,10 +846,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
844
846
|
};
|
|
845
847
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
846
848
|
$slots: Readonly<{
|
|
847
|
-
[slotName: string]: () => import('vue').VNode;
|
|
849
|
+
[slotName: string]: (props: Record<string, any>) => import('vue').VNode;
|
|
848
850
|
empty: () => import('vue').VNode;
|
|
849
851
|
}> & {
|
|
850
|
-
[slotName: string]: () => import('vue').VNode;
|
|
852
|
+
[slotName: string]: (props: Record<string, any>) => import('vue').VNode;
|
|
851
853
|
empty: () => import('vue').VNode;
|
|
852
854
|
};
|
|
853
855
|
}) | null;
|