@robot-admin/naive-ui-components 0.31.0 → 0.31.2
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/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/README_EN.md +1 -1
- package/dist/C_Date.css +5 -5
- package/dist/C_Date2.cjs +1 -1
- package/dist/C_Date2.js +1 -1
- package/dist/C_Form.base.css +1 -1
- package/dist/C_Form.css +1 -1
- package/dist/C_FormModal.css +1 -1
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_FormSearch.css +105 -81
- package/dist/C_Select.css +1 -1
- package/dist/C_Select2.cjs +1 -1
- package/dist/C_Select2.js +1 -1
- package/dist/C_Table.base.css +110 -110
- package/dist/C_Table.css +109 -109
- package/dist/C_Table2.cjs +1 -1
- package/dist/C_Table2.js +1 -1
- package/dist/C_Upload.css +28 -28
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/constants3.d.cts +1 -1
- package/dist/constants3.d.ts +1 -1
- package/dist/constants4.d.cts +9 -7
- package/dist/constants4.d.ts +9 -7
- package/dist/constants5.d.cts +4 -4
- package/dist/constants5.d.ts +4 -4
- package/dist/data2.d.cts +3 -3
- package/dist/data2.d.ts +3 -3
- package/dist/dateRange.d.cts +1 -0
- package/dist/dateRange.d.ts +1 -0
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/index.vue.d.cts +3 -3
- package/dist/index.vue.d.ts +3 -3
- package/dist/index10.vue.d.cts +3 -3
- package/dist/index10.vue.d.ts +4 -4
- package/dist/index11.vue.d.cts +4 -4
- package/dist/index12.vue.d.ts +6 -6
- package/dist/index13.vue.d.cts +6 -6
- package/dist/index14.vue.d.ts +2 -2
- package/dist/index15.vue.d.cts +2 -2
- package/dist/index15.vue.d.ts +2 -2
- package/dist/index16.vue.d.cts +2 -2
- package/dist/index16.vue.d.ts +8 -8
- package/dist/index17.vue.d.cts +8 -8
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +1 -1
- package/dist/index2.vue.d.ts +1 -1
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +3 -3
- package/dist/index21.vue.d.cts +3 -3
- package/dist/index22.vue.d.cts +1 -1
- package/dist/index22.vue.d.ts +1 -1
- package/dist/index23.vue.d.cts +1 -1
- package/dist/index23.vue.d.ts +1 -1
- package/dist/index26.vue.d.cts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +1 -1
- package/dist/index29.vue.d.cts +1 -1
- package/dist/index29.vue.d.ts +1 -1
- package/dist/index3.vue.d.cts +1 -1
- package/dist/index3.vue.d.ts +1 -1
- package/dist/index30.vue.d.cts +3 -3
- package/dist/index30.vue.d.ts +3 -3
- package/dist/index7.vue.d.ts +1 -1
- package/dist/index8.vue.d.cts +1 -1
- package/dist/index9.vue.d.ts +3 -3
- package/dist/mapUtils.d.cts +3 -3
- package/dist/mapUtils.d.ts +3 -3
- package/dist/selectPresentation.cjs +1 -1
- package/dist/selectPresentation.js +1 -1
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/style.css +249 -225
- package/dist/useCollapsePanel.d.cts +3 -3
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useCropperCore.d.cts +10 -10
- package/dist/useCropperCore.d.ts +10 -10
- package/dist/useDraggableLayout.d.cts +2 -2
- package/dist/useDraggableLayout.d.ts +2 -2
- package/dist/useDynamicFormState.d.cts +3 -3
- package/dist/useDynamicFormState.d.ts +3 -3
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFullscreen.d.cts +1 -1
- package/dist/useFullscreen.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +5 -5
- package/dist/useInfiniteScroll.d.ts +5 -5
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +7 -7
- package/dist/useSplitResize.d.ts +7 -7
- package/dist/useTableQuery.d.cts +8 -8
- package/dist/useTableQuery.d.ts +8 -8
- package/dist/useWorkflowValidation.d.cts +36 -36
- package/dist/useWorkflowValidation.d.ts +36 -36
- package/docs/guides/data-workflows.md +3 -1
- package/docs/guides/search-workflows.md +1 -1
- package/docs/guides/usage.en.md +1 -1
- package/docs/guides/usage.md +4 -2
- package/package.json +1 -1
|
@@ -72,23 +72,23 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
72
72
|
};
|
|
73
73
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
74
74
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
75
|
-
change: (activeKeys: string[]) => any;
|
|
76
75
|
collapse: (key: string) => any;
|
|
77
76
|
expand: (key: string) => any;
|
|
77
|
+
change: (activeKeys: string[]) => any;
|
|
78
78
|
"update:activeKeys": (keys: string[]) => any;
|
|
79
79
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
80
|
-
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
81
80
|
onCollapse?: ((key: string) => any) | undefined;
|
|
82
81
|
onExpand?: ((key: string) => any) | undefined;
|
|
82
|
+
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
83
83
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
84
84
|
}>, {
|
|
85
85
|
bordered: boolean;
|
|
86
|
+
persistKey: string;
|
|
86
87
|
activeKeys: string[];
|
|
87
88
|
defaultActiveKeys: string[];
|
|
88
89
|
accordion: boolean;
|
|
89
90
|
variant: CollapsePanelVariant;
|
|
90
91
|
expandIconPosition: ExpandIconPosition;
|
|
91
|
-
persistKey: string;
|
|
92
92
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
93
93
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
|
@@ -72,23 +72,23 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
72
72
|
};
|
|
73
73
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
74
74
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
75
|
-
change: (activeKeys: string[]) => any;
|
|
76
75
|
collapse: (key: string) => any;
|
|
77
76
|
expand: (key: string) => any;
|
|
77
|
+
change: (activeKeys: string[]) => any;
|
|
78
78
|
"update:activeKeys": (keys: string[]) => any;
|
|
79
79
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
80
|
-
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
81
80
|
onCollapse?: ((key: string) => any) | undefined;
|
|
82
81
|
onExpand?: ((key: string) => any) | undefined;
|
|
82
|
+
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
83
83
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
84
84
|
}>, {
|
|
85
85
|
bordered: boolean;
|
|
86
|
+
persistKey: string;
|
|
86
87
|
activeKeys: string[];
|
|
87
88
|
defaultActiveKeys: string[];
|
|
88
89
|
accordion: boolean;
|
|
89
90
|
variant: CollapsePanelVariant;
|
|
90
91
|
expandIconPosition: ExpandIconPosition;
|
|
91
|
-
persistKey: string;
|
|
92
92
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
93
93
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
|
@@ -51,31 +51,31 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
-
error: (error: Error) => any;
|
|
55
54
|
ready: () => any;
|
|
56
|
-
|
|
57
|
-
confirm: (result: CropResult) => any;
|
|
55
|
+
error: (error: Error) => any;
|
|
58
56
|
cancel: () => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onError?: ((error: Error) => any) | undefined;
|
|
61
60
|
onReady?: (() => any) | undefined;
|
|
62
|
-
|
|
63
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
61
|
+
onError?: ((error: Error) => any) | undefined;
|
|
64
62
|
onCancel?: (() => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
height: string | number;
|
|
67
66
|
disabled: boolean;
|
|
67
|
+
height: string | number;
|
|
68
68
|
src: string;
|
|
69
69
|
showToolbar: boolean;
|
|
70
|
+
showPreview: boolean;
|
|
71
|
+
modalTitle: string;
|
|
70
72
|
aspectRatio: number;
|
|
73
|
+
modal: boolean;
|
|
71
74
|
outputFormat: CropOutputFormat;
|
|
72
75
|
outputQuality: number;
|
|
73
76
|
maxOutputWidth: number;
|
|
74
77
|
maxOutputHeight: number;
|
|
75
|
-
showPreview: boolean;
|
|
76
78
|
circular: boolean;
|
|
77
|
-
modal: boolean;
|
|
78
|
-
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -51,31 +51,31 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
-
error: (error: Error) => any;
|
|
55
54
|
ready: () => any;
|
|
56
|
-
|
|
57
|
-
confirm: (result: CropResult) => any;
|
|
55
|
+
error: (error: Error) => any;
|
|
58
56
|
cancel: () => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onError?: ((error: Error) => any) | undefined;
|
|
61
60
|
onReady?: (() => any) | undefined;
|
|
62
|
-
|
|
63
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
61
|
+
onError?: ((error: Error) => any) | undefined;
|
|
64
62
|
onCancel?: (() => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
height: string | number;
|
|
67
66
|
disabled: boolean;
|
|
67
|
+
height: string | number;
|
|
68
68
|
src: string;
|
|
69
69
|
showToolbar: boolean;
|
|
70
|
+
showPreview: boolean;
|
|
71
|
+
modalTitle: string;
|
|
70
72
|
aspectRatio: number;
|
|
73
|
+
modal: boolean;
|
|
71
74
|
outputFormat: CropOutputFormat;
|
|
72
75
|
outputQuality: number;
|
|
73
76
|
maxOutputWidth: number;
|
|
74
77
|
maxOutputHeight: number;
|
|
75
|
-
showPreview: boolean;
|
|
76
78
|
circular: boolean;
|
|
77
|
-
modal: boolean;
|
|
78
|
-
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
|
@@ -93,9 +93,9 @@ interface DraggableExpose<T extends object = DraggableItem> {
|
|
|
93
93
|
//#region src/components/C_Draggable/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
95
95
|
props: vue.PublicProps & __VLS_PrettifyLocal<DraggableProps<T> & {
|
|
96
|
-
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
97
96
|
"onDrag-start"?: ((event: DragEvent<T>) => any) | undefined;
|
|
98
97
|
"onDrag-end"?: ((event: DragEvent<T>) => any) | undefined;
|
|
98
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
99
99
|
"onItem-add"?: ((item: T, index: number) => any) | undefined;
|
|
100
100
|
"onItem-remove"?: ((item: T, index: number) => any) | undefined;
|
|
101
101
|
"onList-change"?: ((list: T[]) => any) | undefined;
|
|
@@ -116,7 +116,7 @@ declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonN
|
|
|
116
116
|
}>) => void;
|
|
117
117
|
attrs: any;
|
|
118
118
|
slots: DraggableSlots<T>;
|
|
119
|
-
emit: ((evt: "
|
|
119
|
+
emit: ((evt: "drag-start", event: DragEvent<T>) => void) & ((evt: "drag-end", event: DragEvent<T>) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "item-add", item: T, index: number) => void) & ((evt: "item-remove", item: T, index: number) => void) & ((evt: "list-change", list: T[]) => void);
|
|
120
120
|
}>) => vue.VNode & {
|
|
121
121
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
122
122
|
};
|
|
@@ -93,9 +93,9 @@ interface DraggableExpose<T extends object = DraggableItem> {
|
|
|
93
93
|
//#region src/components/C_Draggable/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
95
95
|
props: vue.PublicProps & __VLS_PrettifyLocal<DraggableProps<T> & {
|
|
96
|
-
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
97
96
|
"onDrag-start"?: ((event: DragEvent<T>) => any) | undefined;
|
|
98
97
|
"onDrag-end"?: ((event: DragEvent<T>) => any) | undefined;
|
|
98
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
99
99
|
"onItem-add"?: ((item: T, index: number) => any) | undefined;
|
|
100
100
|
"onItem-remove"?: ((item: T, index: number) => any) | undefined;
|
|
101
101
|
"onList-change"?: ((list: T[]) => any) | undefined;
|
|
@@ -116,7 +116,7 @@ declare const __VLS_export: <T extends object = DraggableItem>(__VLS_props: NonN
|
|
|
116
116
|
}>) => void;
|
|
117
117
|
attrs: any;
|
|
118
118
|
slots: DraggableSlots<T>;
|
|
119
|
-
emit: ((evt: "
|
|
119
|
+
emit: ((evt: "drag-start", event: DragEvent<T>) => void) & ((evt: "drag-end", event: DragEvent<T>) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "item-add", item: T, index: number) => void) & ((evt: "item-remove", item: T, index: number) => void) & ((evt: "list-change", list: T[]) => void);
|
|
120
120
|
}>) => vue.VNode & {
|
|
121
121
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
122
122
|
};
|
|
@@ -12,10 +12,10 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
12
12
|
config?: FormConfig<T>; /** 当前表单实例的自定义渲染器,不污染全局注册表 */
|
|
13
13
|
renderers?: Record<string, FormRenderer>;
|
|
14
14
|
} & {
|
|
15
|
-
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
16
15
|
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
17
|
-
"
|
|
16
|
+
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
18
17
|
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
18
|
+
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
19
19
|
}> & (typeof globalThis extends {
|
|
20
20
|
__VLS_PROPS_FALLBACK: infer P;
|
|
21
21
|
} ? P : {});
|
|
@@ -52,7 +52,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
52
52
|
}>) => void;
|
|
53
53
|
attrs: any;
|
|
54
54
|
slots: FormSlots<T>;
|
|
55
|
-
emit: ((evt: "
|
|
55
|
+
emit: ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "validate-success", model: T) => void);
|
|
56
56
|
}>) => vue.VNode & {
|
|
57
57
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
58
58
|
};
|
|
@@ -12,10 +12,10 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
12
12
|
config?: FormConfig<T>; /** 当前表单实例的自定义渲染器,不污染全局注册表 */
|
|
13
13
|
renderers?: Record<string, FormRenderer>;
|
|
14
14
|
} & {
|
|
15
|
-
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
16
15
|
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
17
|
-
"
|
|
16
|
+
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
18
17
|
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
18
|
+
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
19
19
|
}> & (typeof globalThis extends {
|
|
20
20
|
__VLS_PROPS_FALLBACK: infer P;
|
|
21
21
|
} ? P : {});
|
|
@@ -52,7 +52,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
52
52
|
}>) => void;
|
|
53
53
|
attrs: any;
|
|
54
54
|
slots: FormSlots<T>;
|
|
55
|
-
emit: ((evt: "
|
|
55
|
+
emit: ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "validate-success", model: T) => void);
|
|
56
56
|
}>) => vue.VNode & {
|
|
57
57
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
58
58
|
};
|
|
@@ -265,9 +265,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
267
|
height: string | number;
|
|
268
|
-
width: string | number;
|
|
269
|
-
theme: "light" | "dark";
|
|
270
268
|
readonly: boolean;
|
|
269
|
+
theme: "light" | "dark";
|
|
270
|
+
width: string | number;
|
|
271
271
|
showToolbar: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
@@ -265,9 +265,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
267
|
height: string | number;
|
|
268
|
-
width: string | number;
|
|
269
|
-
theme: "light" | "dark";
|
|
270
268
|
readonly: boolean;
|
|
269
|
+
theme: "light" | "dark";
|
|
270
|
+
width: string | number;
|
|
271
271
|
showToolbar: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
package/dist/useFullscreen.d.cts
CHANGED
|
@@ -104,9 +104,9 @@ declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}
|
|
|
104
104
|
onDownload?: ((file: string | File) => any) | undefined;
|
|
105
105
|
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
|
+
show: boolean;
|
|
107
108
|
fileName: string;
|
|
108
109
|
autoPreview: boolean;
|
|
109
|
-
show: boolean;
|
|
110
110
|
inline: boolean;
|
|
111
111
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
112
112
|
declare const _default: typeof __VLS_export;
|
package/dist/useFullscreen.d.ts
CHANGED
|
@@ -104,9 +104,9 @@ declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}
|
|
|
104
104
|
onDownload?: ((file: string | File) => any) | undefined;
|
|
105
105
|
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
|
+
show: boolean;
|
|
107
108
|
fileName: string;
|
|
108
109
|
autoPreview: boolean;
|
|
109
|
-
show: boolean;
|
|
110
110
|
inline: boolean;
|
|
111
111
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
112
112
|
declare const _default: typeof __VLS_export;
|
|
@@ -77,20 +77,20 @@ type __VLS_Slots = {} & {
|
|
|
77
77
|
footer?: (props: typeof __VLS_5) => any;
|
|
78
78
|
};
|
|
79
79
|
declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
80
|
-
"load-more": () => any;
|
|
81
80
|
"item-click": (item: WaterFallItem, index: number) => any;
|
|
81
|
+
"load-more": () => any;
|
|
82
82
|
"image-loaded": (item: WaterFallItem) => any;
|
|
83
83
|
"image-error": (item: WaterFallItem) => any;
|
|
84
84
|
}, string, vue.PublicProps, Readonly<WaterFallProps> & Readonly<{
|
|
85
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
86
85
|
"onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
|
|
86
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
87
87
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
88
88
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
-
virtualScroll: boolean;
|
|
91
|
-
columns: number;
|
|
92
|
-
gap: number;
|
|
93
90
|
loading: boolean;
|
|
91
|
+
gap: number;
|
|
92
|
+
columns: number;
|
|
93
|
+
virtualScroll: boolean;
|
|
94
94
|
lazy: boolean;
|
|
95
95
|
infinite: boolean;
|
|
96
96
|
skeleton: boolean;
|
|
@@ -77,20 +77,20 @@ type __VLS_Slots = {} & {
|
|
|
77
77
|
footer?: (props: typeof __VLS_5) => any;
|
|
78
78
|
};
|
|
79
79
|
declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
80
|
-
"load-more": () => any;
|
|
81
80
|
"item-click": (item: WaterFallItem, index: number) => any;
|
|
81
|
+
"load-more": () => any;
|
|
82
82
|
"image-loaded": (item: WaterFallItem) => any;
|
|
83
83
|
"image-error": (item: WaterFallItem) => any;
|
|
84
84
|
}, string, vue.PublicProps, Readonly<WaterFallProps> & Readonly<{
|
|
85
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
86
85
|
"onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
|
|
86
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
87
87
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
88
88
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
-
virtualScroll: boolean;
|
|
91
|
-
columns: number;
|
|
92
|
-
gap: number;
|
|
93
90
|
loading: boolean;
|
|
91
|
+
gap: number;
|
|
92
|
+
columns: number;
|
|
93
|
+
virtualScroll: boolean;
|
|
94
94
|
lazy: boolean;
|
|
95
95
|
infinite: boolean;
|
|
96
96
|
skeleton: boolean;
|
package/dist/useQRCode.d.cts
CHANGED
|
@@ -50,12 +50,12 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
51
|
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
-
mode: RenderMode;
|
|
54
53
|
size: number;
|
|
54
|
+
label: string;
|
|
55
|
+
mode: RenderMode;
|
|
56
|
+
color: string;
|
|
55
57
|
margin: number;
|
|
56
58
|
bgColor: string;
|
|
57
|
-
color: string;
|
|
58
|
-
label: string;
|
|
59
59
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
60
60
|
logo: LogoOptions;
|
|
61
61
|
showBorder: boolean;
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -50,12 +50,12 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
51
|
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
-
mode: RenderMode;
|
|
54
53
|
size: number;
|
|
54
|
+
label: string;
|
|
55
|
+
mode: RenderMode;
|
|
56
|
+
color: string;
|
|
55
57
|
margin: number;
|
|
56
58
|
bgColor: string;
|
|
57
|
-
color: string;
|
|
58
|
-
label: string;
|
|
59
59
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
60
60
|
logo: LogoOptions;
|
|
61
61
|
showBorder: boolean;
|
|
@@ -92,28 +92,28 @@ interface SignatureEmits {
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
95
|
+
error: (error: Error) => any;
|
|
95
96
|
change: (data: SignatureStroke[]) => any;
|
|
96
97
|
clear: () => any;
|
|
97
|
-
error: (error: Error) => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
100
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
101
101
|
undo: () => any;
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
|
+
onError?: ((error: Error) => any) | undefined;
|
|
104
105
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
105
106
|
onClear?: (() => any) | undefined;
|
|
106
|
-
onError?: ((error: Error) => any) | undefined;
|
|
107
107
|
"onStart-draw"?: (() => any) | undefined;
|
|
108
108
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
109
109
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
110
110
|
onUndo?: (() => any) | undefined;
|
|
111
111
|
onRedo?: (() => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
-
height: number | string;
|
|
114
113
|
disabled: boolean;
|
|
115
|
-
|
|
114
|
+
height: number | string;
|
|
116
115
|
readonly: boolean;
|
|
116
|
+
width: number | string;
|
|
117
117
|
showToolbar: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -92,28 +92,28 @@ interface SignatureEmits {
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
95
|
+
error: (error: Error) => any;
|
|
95
96
|
change: (data: SignatureStroke[]) => any;
|
|
96
97
|
clear: () => any;
|
|
97
|
-
error: (error: Error) => any;
|
|
98
98
|
"start-draw": () => any;
|
|
99
99
|
drawing: (point: SignaturePoint) => any;
|
|
100
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
101
101
|
undo: () => any;
|
|
102
102
|
redo: () => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
|
+
onError?: ((error: Error) => any) | undefined;
|
|
104
105
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
105
106
|
onClear?: (() => any) | undefined;
|
|
106
|
-
onError?: ((error: Error) => any) | undefined;
|
|
107
107
|
"onStart-draw"?: (() => any) | undefined;
|
|
108
108
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
109
109
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
110
110
|
onUndo?: (() => any) | undefined;
|
|
111
111
|
onRedo?: (() => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
-
height: number | string;
|
|
114
113
|
disabled: boolean;
|
|
115
|
-
|
|
114
|
+
height: number | string;
|
|
116
115
|
readonly: boolean;
|
|
116
|
+
width: number | string;
|
|
117
117
|
showToolbar: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -55,27 +55,27 @@ type __VLS_Slots = {
|
|
|
55
55
|
second(props: PanelInfo): unknown;
|
|
56
56
|
};
|
|
57
57
|
declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
59
|
-
"drag-start": (size: number) => any;
|
|
60
|
-
"drag-end": (size: number) => any;
|
|
61
58
|
"update:size": (size: number) => any;
|
|
59
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
62
60
|
collapse: (target: CollapseTarget) => any;
|
|
63
61
|
expand: (target: CollapseTarget) => any;
|
|
62
|
+
"drag-start": (size: number) => any;
|
|
63
|
+
"drag-end": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
66
|
-
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
67
|
-
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
68
65
|
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
66
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
69
67
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
70
68
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
69
|
+
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
70
|
+
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
|
-
disabled: boolean;
|
|
73
72
|
direction: SplitDirection;
|
|
74
73
|
defaultSize: number;
|
|
75
74
|
minSize: number;
|
|
76
75
|
maxSize: number;
|
|
77
76
|
minFirstSize: number;
|
|
78
77
|
minSecondSize: number;
|
|
78
|
+
disabled: boolean;
|
|
79
79
|
collapsible: boolean;
|
|
80
80
|
showCollapseButton: boolean;
|
|
81
81
|
gutterSize: number;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -55,27 +55,27 @@ type __VLS_Slots = {
|
|
|
55
55
|
second(props: PanelInfo): unknown;
|
|
56
56
|
};
|
|
57
57
|
declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
59
|
-
"drag-start": (size: number) => any;
|
|
60
|
-
"drag-end": (size: number) => any;
|
|
61
58
|
"update:size": (size: number) => any;
|
|
59
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
62
60
|
collapse: (target: CollapseTarget) => any;
|
|
63
61
|
expand: (target: CollapseTarget) => any;
|
|
62
|
+
"drag-start": (size: number) => any;
|
|
63
|
+
"drag-end": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
66
|
-
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
67
|
-
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
68
65
|
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
66
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
69
67
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
70
68
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
69
|
+
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
70
|
+
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
|
-
disabled: boolean;
|
|
73
72
|
direction: SplitDirection;
|
|
74
73
|
defaultSize: number;
|
|
75
74
|
minSize: number;
|
|
76
75
|
maxSize: number;
|
|
77
76
|
minFirstSize: number;
|
|
78
77
|
minSecondSize: number;
|
|
78
|
+
disabled: boolean;
|
|
79
79
|
collapsible: boolean;
|
|
80
80
|
showCollapseButton: boolean;
|
|
81
81
|
gutterSize: number;
|
package/dist/useTableQuery.d.cts
CHANGED
|
@@ -697,27 +697,27 @@ interface TreeSlots<T extends object = TreeOption$1> {
|
|
|
697
697
|
//#region src/components/C_Tree/index.vue.d.ts
|
|
698
698
|
declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
699
699
|
props: vue.PublicProps & __VLS_PrettifyLocal<TreeProps$1<T> & {
|
|
700
|
-
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
701
700
|
onRefresh?: (() => any) | undefined;
|
|
702
|
-
|
|
701
|
+
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
702
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
703
703
|
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
704
|
-
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
705
704
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
706
|
-
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "
|
|
707
|
-
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "
|
|
705
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
706
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
708
707
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
709
708
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
709
|
+
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
710
710
|
}> & (typeof globalThis extends {
|
|
711
711
|
__VLS_PROPS_FALLBACK: infer P;
|
|
712
712
|
} ? P : {});
|
|
713
|
-
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "
|
|
713
|
+
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys"> & {
|
|
714
714
|
expandedKeys: vue.Ref<TreeKey[]>;
|
|
715
715
|
selectedKeys: vue.Ref<TreeKey[]>;
|
|
716
716
|
checkedKeys: vue.Ref<TreeKey[]>;
|
|
717
717
|
}>) => void;
|
|
718
718
|
attrs: any;
|
|
719
719
|
slots: TreeSlots<T>;
|
|
720
|
-
emit: ((evt: "
|
|
720
|
+
emit: ((evt: "refresh") => void) & ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void);
|
|
721
721
|
}>) => vue.VNode & {
|
|
722
722
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
723
723
|
};
|
|
@@ -755,7 +755,7 @@ declare function useTreeOperations<T extends object = TreeNodeData>(props: TreeP
|
|
|
755
755
|
handleDrop: (info: DropInfo<T>) => void;
|
|
756
756
|
handleAdd: () => void;
|
|
757
757
|
handleRefresh: () => void;
|
|
758
|
-
expose: Omit<TreeExpose<T>, "
|
|
758
|
+
expose: Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys"> & {
|
|
759
759
|
expandedKeys: Ref<TreeKey[]>;
|
|
760
760
|
selectedKeys: Ref<TreeKey[]>;
|
|
761
761
|
checkedKeys: Ref<TreeKey[]>;
|
package/dist/useTableQuery.d.ts
CHANGED
|
@@ -687,27 +687,27 @@ interface TreeSlots<T extends object = TreeOption$1> {
|
|
|
687
687
|
//#region src/components/C_Tree/index.vue.d.ts
|
|
688
688
|
declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
689
689
|
props: vue.PublicProps & __VLS_PrettifyLocal<TreeProps$1<T> & {
|
|
690
|
-
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
691
690
|
onRefresh?: (() => any) | undefined;
|
|
692
|
-
|
|
691
|
+
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
692
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
693
693
|
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
694
|
-
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
695
694
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
696
|
-
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "
|
|
697
|
-
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "
|
|
695
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
696
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
698
697
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
699
698
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
699
|
+
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
700
700
|
}> & (typeof globalThis extends {
|
|
701
701
|
__VLS_PROPS_FALLBACK: infer P;
|
|
702
702
|
} ? P : {});
|
|
703
|
-
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "
|
|
703
|
+
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys"> & {
|
|
704
704
|
expandedKeys: vue.Ref<TreeKey[]>;
|
|
705
705
|
selectedKeys: vue.Ref<TreeKey[]>;
|
|
706
706
|
checkedKeys: vue.Ref<TreeKey[]>;
|
|
707
707
|
}>) => void;
|
|
708
708
|
attrs: any;
|
|
709
709
|
slots: TreeSlots<T>;
|
|
710
|
-
emit: ((evt: "
|
|
710
|
+
emit: ((evt: "refresh") => void) & ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "collapse" | "expand" | "select" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void);
|
|
711
711
|
}>) => vue.VNode & {
|
|
712
712
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
713
713
|
};
|
|
@@ -745,7 +745,7 @@ declare function useTreeOperations<T extends object = TreeNodeData>(props: TreeP
|
|
|
745
745
|
handleDrop: (info: DropInfo<T>) => void;
|
|
746
746
|
handleAdd: () => void;
|
|
747
747
|
handleRefresh: () => void;
|
|
748
|
-
expose: Omit<TreeExpose<T>, "
|
|
748
|
+
expose: Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys"> & {
|
|
749
749
|
expandedKeys: Ref<TreeKey[]>;
|
|
750
750
|
selectedKeys: Ref<TreeKey[]>;
|
|
751
751
|
checkedKeys: Ref<TreeKey[]>;
|