@robot-admin/naive-ui-components 0.7.2 → 0.8.1
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 +76 -60
- package/dist/C_Form.cjs +1 -1
- package/dist/C_Form.d.cts +2 -2
- package/dist/C_Form.d.ts +2 -2
- package/dist/C_Form.js +1 -1
- package/dist/C_Form.js.map +1 -1
- package/dist/C_Form2.js +1 -1
- package/dist/C_Form2.js.map +1 -1
- package/dist/C_Table.js.map +1 -1
- package/dist/C_Table2.js +3 -3
- package/dist/C_Table2.js.map +1 -1
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.ts +4 -4
- package/dist/constants3.d.ts +2 -2
- package/dist/constants4.d.ts +3 -3
- package/dist/constants5.d.ts +4 -4
- package/dist/data.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.vue.d.ts +1 -1
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.ts +2 -2
- package/dist/index13.vue.d.ts +4 -4
- package/dist/index14.vue.d.ts +3 -3
- package/dist/index15.vue.d.ts +5 -5
- package/dist/index16.vue.d.ts +2 -2
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.ts +6 -6
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.ts +3 -3
- package/dist/index22.vue.d.ts +3 -3
- package/dist/index24.vue.d.ts +1 -1
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index27.vue.d.ts +3 -3
- package/dist/index28.vue.d.ts +2 -2
- package/dist/index4.vue.d.ts +5 -5
- package/dist/index6.vue.d.ts +5 -5
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index9.vue.d.ts +2 -2
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.ts +5 -5
- package/dist/useCropperCore.d.ts +9 -9
- package/dist/useDraggableLayout.d.ts +3 -3
- package/dist/useDynamicFormState.d.ts +111 -37
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useSearchState.d.ts +2 -2
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useTimeSelection.d.ts +3 -3
- package/dist/useTreeOperations.d.ts +4 -4
- package/dist/useWorkflowValidation.d.ts +6 -6
- package/package.json +1 -1
package/dist/index15.vue.d.ts
CHANGED
|
@@ -49,21 +49,21 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
49
49
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
50
50
|
onLoad?: (() => any) | undefined;
|
|
51
51
|
}>, {
|
|
52
|
+
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
52
53
|
size: number | string;
|
|
53
54
|
clickable: boolean;
|
|
54
|
-
|
|
55
|
-
name: string | any;
|
|
55
|
+
title: string;
|
|
56
56
|
color: string;
|
|
57
|
-
|
|
57
|
+
name: string | any;
|
|
58
58
|
flip: "horizontal" | "vertical" | "both";
|
|
59
|
-
|
|
59
|
+
loading: boolean;
|
|
60
|
+
rotate: number;
|
|
60
61
|
svgPath: string;
|
|
61
62
|
viewBox: string;
|
|
62
63
|
alt: string;
|
|
63
64
|
fallbackIcon: string;
|
|
64
65
|
ariaLabel: string;
|
|
65
66
|
customClass: string;
|
|
66
|
-
rotate: number;
|
|
67
67
|
componentProps: Record<string, any>;
|
|
68
68
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
69
69
|
declare const _default: typeof __VLS_export;
|
package/dist/index16.vue.d.ts
CHANGED
|
@@ -12,11 +12,11 @@ type __VLS_Props = {
|
|
|
12
12
|
tooltip?: string;
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
15
|
-
change: (key: string) => any;
|
|
16
15
|
"update:modelValue": (key: string) => any;
|
|
16
|
+
change: (key: string) => any;
|
|
17
17
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
-
onChange?: ((key: string) => any) | undefined;
|
|
19
18
|
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
19
|
+
onChange?: ((key: string) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
modelValue: string;
|
|
22
22
|
options: LanguageOption[];
|
package/dist/index17.vue.d.ts
CHANGED
|
@@ -99,9 +99,9 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
|
|
|
99
99
|
"onRegister-submit"?: ((data: RegisterFormData) => any) | undefined;
|
|
100
100
|
"onRegister-send-code"?: ((phone: string) => any) | undefined;
|
|
101
101
|
}>, {
|
|
102
|
-
loading: boolean;
|
|
103
102
|
title: string;
|
|
104
103
|
storageKey: string;
|
|
104
|
+
loading: boolean;
|
|
105
105
|
defaultUsername: string;
|
|
106
106
|
defaultPassword: string;
|
|
107
107
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index18.vue.d.ts
CHANGED
|
@@ -38,8 +38,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
38
38
|
insertText: (text: string) => void;
|
|
39
39
|
wordCount: vue.ComputedRef<number>;
|
|
40
40
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
41
|
-
change: (text: string, html: string) => any;
|
|
42
41
|
"update:modelValue": (value: string) => any;
|
|
42
|
+
change: (text: string, html: string) => any;
|
|
43
43
|
save: (text: string, html: string) => any;
|
|
44
44
|
"upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
|
|
45
45
|
"fullscreen-change": (isFullscreen: boolean) => any;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
48
48
|
"auto-save": (text: string) => any;
|
|
49
49
|
"max-length-exceeded": (currentLength: number, maxLength: number) => any;
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
|
-
onChange?: ((text: string, html: string) => any) | undefined;
|
|
52
51
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
52
|
+
onChange?: ((text: string, html: string) => any) | undefined;
|
|
53
53
|
onSave?: ((text: string, html: string) => any) | undefined;
|
|
54
54
|
"onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
|
|
55
55
|
"onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
|
|
@@ -58,12 +58,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
58
58
|
"onAuto-save"?: ((text: string) => any) | undefined;
|
|
59
59
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
|
-
mode: "edit" | "editable" | "preview";
|
|
62
|
-
disabled: boolean;
|
|
63
61
|
height: string | number;
|
|
64
|
-
modelValue: string;
|
|
65
62
|
placeholder: string;
|
|
66
|
-
|
|
63
|
+
disabled: boolean;
|
|
64
|
+
modelValue: string;
|
|
65
|
+
mode: "edit" | "editable" | "preview";
|
|
67
66
|
isDark: boolean;
|
|
68
67
|
tocNavPosition: "left" | "right";
|
|
69
68
|
defaultFullscreen: boolean;
|
|
@@ -73,6 +72,7 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
73
72
|
rightToolbar: string;
|
|
74
73
|
maxLength: number;
|
|
75
74
|
showWordCount: boolean;
|
|
75
|
+
autoSave: boolean;
|
|
76
76
|
autoSaveInterval: number;
|
|
77
77
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
78
78
|
declare const _default: typeof __VLS_export;
|
package/dist/index2.vue.d.ts
CHANGED
|
@@ -70,12 +70,12 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
70
70
|
onEnded?: ((index: number) => any) | undefined;
|
|
71
71
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
|
+
theme: "default" | "minimal";
|
|
74
|
+
mode: "list" | "loop" | "single" | "shuffle";
|
|
73
75
|
initialIndex: number;
|
|
74
76
|
showPlaylist: boolean;
|
|
75
77
|
showCover: boolean;
|
|
76
78
|
autoplay: boolean;
|
|
77
|
-
mode: "list" | "loop" | "single" | "shuffle";
|
|
78
|
-
theme: "default" | "minimal";
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/index20.vue.d.ts
CHANGED
|
@@ -77,8 +77,8 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
77
77
|
"onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
|
|
78
78
|
"onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
|
|
79
79
|
}>, {
|
|
80
|
-
direction: OrgChartDirection;
|
|
81
80
|
lineColor: string;
|
|
81
|
+
direction: OrgChartDirection;
|
|
82
82
|
lineStyle: OrgChartLineStyle;
|
|
83
83
|
lineWidth: number;
|
|
84
84
|
nodeSpacing: number;
|
package/dist/index21.vue.d.ts
CHANGED
|
@@ -34,13 +34,13 @@ type __VLS_Slots = {} & {
|
|
|
34
34
|
indicator?: (props: typeof __VLS_9) => any;
|
|
35
35
|
};
|
|
36
36
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
37
|
-
status: "default" | "success" | "error" | "warning" | "info";
|
|
38
|
-
strokeWidth: number;
|
|
39
|
-
time: number;
|
|
40
37
|
percentage: number | number[];
|
|
41
38
|
isAnimation: boolean;
|
|
39
|
+
time: number;
|
|
42
40
|
indicatorPlacement: "inside" | "outside";
|
|
43
41
|
showIndicator: boolean;
|
|
42
|
+
status: "default" | "success" | "error" | "warning" | "info";
|
|
43
|
+
strokeWidth: number;
|
|
44
44
|
unit: string;
|
|
45
45
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
46
46
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/index22.vue.d.ts
CHANGED
|
@@ -86,11 +86,11 @@ type __VLS_Slots = {} & {
|
|
|
86
86
|
default?: (props: typeof __VLS_1) => any;
|
|
87
87
|
};
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
89
|
-
repeat: number;
|
|
90
|
-
loading: boolean;
|
|
91
89
|
borderRadius: string;
|
|
92
|
-
|
|
90
|
+
loading: boolean;
|
|
91
|
+
repeat: number;
|
|
93
92
|
preset: SkeletonPreset;
|
|
93
|
+
animation: SkeletonAnimation;
|
|
94
94
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
95
95
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
96
96
|
declare const _default: typeof __VLS_export;
|
package/dist/index24.vue.d.ts
CHANGED
|
@@ -76,10 +76,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
|
|
|
76
76
|
onClose?: ((fallbackPath: string) => any) | undefined;
|
|
77
77
|
onCloseAll?: (() => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
|
-
persistKey: string;
|
|
80
79
|
homePath: string;
|
|
81
80
|
homeTitle: string;
|
|
82
81
|
homeIcon: string;
|
|
82
|
+
persistKey: string;
|
|
83
83
|
contextMenuLabels: ContextMenuLabels;
|
|
84
84
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
package/dist/index26.vue.d.ts
CHANGED
|
@@ -90,12 +90,12 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
90
90
|
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
91
91
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
|
+
reverse: boolean;
|
|
93
94
|
items: TimelineItem[];
|
|
94
95
|
size: "small" | "medium" | "large";
|
|
95
|
-
reverse: boolean;
|
|
96
96
|
mode: "vertical" | "horizontal";
|
|
97
|
-
labelPlacement: "left" | "right" | "alternate";
|
|
98
97
|
pending: boolean;
|
|
98
|
+
labelPlacement: "left" | "right" | "alternate";
|
|
99
99
|
pendingText: string;
|
|
100
100
|
lineType: "solid" | "dashed" | "dotted";
|
|
101
101
|
showTime: boolean;
|
package/dist/index27.vue.d.ts
CHANGED
|
@@ -61,13 +61,13 @@ type __VLS_Props = {
|
|
|
61
61
|
size?: TransferProps['size'];
|
|
62
62
|
};
|
|
63
63
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
|
-
change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
|
|
65
64
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
65
|
+
change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
|
|
66
66
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
67
|
-
onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
|
|
68
67
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
68
|
+
onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
-
size: "
|
|
70
|
+
size: "medium" | "small" | "large";
|
|
71
71
|
filterable: boolean;
|
|
72
72
|
titles: [string, string];
|
|
73
73
|
filterPlaceholder: string;
|
package/dist/index28.vue.d.ts
CHANGED
|
@@ -647,12 +647,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
647
647
|
onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
|
|
648
648
|
onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
|
|
649
649
|
}>, {
|
|
650
|
+
height: string | number;
|
|
651
|
+
title: string;
|
|
650
652
|
theme: "light" | "dark";
|
|
651
653
|
data: GanttTask[];
|
|
652
|
-
height: string | number;
|
|
653
654
|
showToolbar: boolean;
|
|
654
655
|
options: GanttOptions;
|
|
655
|
-
title: string;
|
|
656
656
|
preset: GanttPreset;
|
|
657
657
|
showFullscreenButton: boolean;
|
|
658
658
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index4.vue.d.ts
CHANGED
|
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
20
20
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
23
24
|
width: number;
|
|
24
25
|
height: number;
|
|
25
|
-
|
|
26
|
+
showText: boolean;
|
|
26
27
|
fontSize: number;
|
|
27
|
-
|
|
28
|
+
textPosition: "bottom" | "top";
|
|
29
|
+
lineColor: string;
|
|
28
30
|
background: string;
|
|
29
31
|
showBorder: boolean;
|
|
32
|
+
label: string;
|
|
30
33
|
showLabel: boolean;
|
|
31
|
-
showText: boolean;
|
|
32
|
-
textPosition: "bottom" | "top";
|
|
33
|
-
lineColor: string;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#endregion
|
package/dist/index6.vue.d.ts
CHANGED
|
@@ -18,26 +18,26 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
18
18
|
reset: () => void;
|
|
19
19
|
show: () => void;
|
|
20
20
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
21
|
+
reset: () => any;
|
|
21
22
|
success: (data: {
|
|
22
23
|
token: string;
|
|
23
24
|
timestamp: number;
|
|
24
25
|
}) => any;
|
|
25
|
-
fail: (error: string) => any;
|
|
26
26
|
change: (valid: boolean) => any;
|
|
27
|
-
|
|
27
|
+
fail: (error: string) => any;
|
|
28
28
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
29
|
+
onReset?: (() => any) | undefined;
|
|
29
30
|
onSuccess?: ((data: {
|
|
30
31
|
token: string;
|
|
31
32
|
timestamp: number;
|
|
32
33
|
}) => any) | undefined;
|
|
33
|
-
onFail?: ((error: string) => any) | undefined;
|
|
34
34
|
onChange?: ((valid: boolean) => any) | undefined;
|
|
35
|
-
|
|
35
|
+
onFail?: ((error: string) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
|
+
disabled: boolean;
|
|
37
38
|
theme: "light" | "dark";
|
|
38
39
|
triggerText: string;
|
|
39
40
|
images: string[];
|
|
40
|
-
disabled: boolean;
|
|
41
41
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const _default: typeof __VLS_export;
|
|
43
43
|
//#endregion
|
package/dist/index7.vue.d.ts
CHANGED
|
@@ -17,11 +17,11 @@ type __VLS_Props = {
|
|
|
17
17
|
modelValue?: CascadeValue;
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
20
|
-
change: (value: CascadeValue) => any;
|
|
21
20
|
"update:modelValue": (value: CascadeValue) => any;
|
|
21
|
+
change: (value: CascadeValue) => any;
|
|
22
22
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
24
23
|
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
24
|
+
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
placeholders: string[];
|
|
27
27
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index9.vue.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
trigger?: (props: typeof __VLS_9) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
17
|
-
change: (value: string) => any;
|
|
18
17
|
"update:modelValue": (value: string) => any;
|
|
18
|
+
change: (value: string) => any;
|
|
19
19
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
-
onChange?: ((value: string) => any) | undefined;
|
|
21
20
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
|
+
onChange?: ((value: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
placeholder: string;
|
|
24
24
|
showLetters: boolean;
|
|
@@ -66,8 +66,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
66
66
|
}) => any) | undefined;
|
|
67
67
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
68
68
|
}>, {
|
|
69
|
-
initialView: CalendarViewType;
|
|
70
69
|
editable: boolean;
|
|
70
|
+
initialView: CalendarViewType;
|
|
71
71
|
events: CalendarEvent[];
|
|
72
72
|
showAddDialog: boolean;
|
|
73
73
|
showEditDialog: boolean;
|
|
@@ -71,22 +71,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
71
71
|
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 };
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
73
|
change: (activeKeys: string[]) => any;
|
|
74
|
-
"update:activeKeys": (keys: string[]) => any;
|
|
75
|
-
expand: (key: string) => any;
|
|
76
74
|
collapse: (key: string) => any;
|
|
75
|
+
expand: (key: string) => any;
|
|
76
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
-
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
80
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
81
79
|
onCollapse?: ((key: string) => any) | undefined;
|
|
80
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
81
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
bordered: boolean;
|
|
84
|
+
persistKey: string;
|
|
84
85
|
activeKeys: string[];
|
|
85
86
|
defaultActiveKeys: string[];
|
|
86
87
|
accordion: boolean;
|
|
87
88
|
variant: CollapsePanelVariant;
|
|
88
89
|
expandIconPosition: ExpandIconPosition;
|
|
89
|
-
persistKey: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
92
92
|
declare const _default: typeof __VLS_export;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -51,28 +51,28 @@ 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
|
-
ready: () => any;
|
|
55
54
|
error: (error: Event) => any;
|
|
56
|
-
|
|
57
|
-
confirm: (result: any) => any;
|
|
55
|
+
ready: () => any;
|
|
58
56
|
crop: (result: any) => any;
|
|
57
|
+
confirm: (result: any) => any;
|
|
58
|
+
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onReady?: (() => any) | undefined;
|
|
61
60
|
onError?: ((error: Event) => any) | undefined;
|
|
62
|
-
|
|
63
|
-
onConfirm?: ((result: any) => any) | undefined;
|
|
61
|
+
onReady?: (() => any) | undefined;
|
|
64
62
|
onCrop?: ((result: any) => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: any) => any) | undefined;
|
|
64
|
+
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
disabled: boolean;
|
|
67
66
|
height: string | number;
|
|
67
|
+
disabled: boolean;
|
|
68
68
|
showToolbar: boolean;
|
|
69
|
-
aspectRatio: number;
|
|
70
|
-
showPreview: boolean;
|
|
71
69
|
src: string;
|
|
70
|
+
aspectRatio: number;
|
|
72
71
|
outputFormat: CropOutputFormat;
|
|
73
72
|
outputQuality: number;
|
|
74
73
|
maxOutputWidth: number;
|
|
75
74
|
maxOutputHeight: number;
|
|
75
|
+
showPreview: boolean;
|
|
76
76
|
circular: boolean;
|
|
77
77
|
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
@@ -116,20 +116,20 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
116
116
|
"onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
|
|
117
117
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
|
-
direction: "vertical" | "horizontal";
|
|
120
119
|
sort: boolean;
|
|
120
|
+
direction: "vertical" | "horizontal";
|
|
121
121
|
disabled: boolean;
|
|
122
122
|
modelValue: DraggableItem[];
|
|
123
123
|
delay: number;
|
|
124
|
+
animation: number;
|
|
125
|
+
emptyText: string;
|
|
124
126
|
layout: LayoutMode;
|
|
125
127
|
group: string | GroupOptions;
|
|
126
128
|
alignItems: AlignItems;
|
|
127
129
|
flexWrap: boolean;
|
|
128
130
|
justifyContent: JustifyContent;
|
|
129
|
-
animation: number;
|
|
130
131
|
gap: string | number;
|
|
131
132
|
itemClass: string;
|
|
132
|
-
emptyText: string;
|
|
133
133
|
handle: string;
|
|
134
134
|
showHandle: boolean;
|
|
135
135
|
ghostClass: string;
|