@robot-admin/naive-ui-components 0.42.1 → 0.43.0
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 +18 -0
- package/README.md +1 -1
- package/README_EN.md +1 -1
- package/dist/C_ResourceSchedule.css +51 -27
- package/dist/C_ResourceSchedule.d.cts +2 -2
- package/dist/C_ResourceSchedule.d.ts +2 -2
- package/dist/C_ResourceSchedule2.cjs +1 -1
- package/dist/C_ResourceSchedule2.js +1 -1
- package/dist/C_SplitPane.css +75 -74
- package/dist/C_SplitPane2.cjs +1 -1
- package/dist/C_SplitPane2.js +1 -1
- package/dist/C_Table.base.css +128 -115
- package/dist/C_Table.css +128 -115
- package/dist/C_Table2.cjs +4 -4
- package/dist/C_Table2.js +4 -4
- package/dist/C_Tabs.css +9 -9
- package/dist/component-config.d.ts +3 -0
- package/dist/constants3.d.cts +3 -3
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.cts +6 -6
- package/dist/constants4.d.ts +6 -6
- package/dist/context.d.cts +3 -0
- package/dist/data2.d.cts +19 -15
- package/dist/data2.d.ts +19 -15
- package/dist/data3.cjs +1 -1
- package/dist/data3.js +1 -1
- package/dist/editors.d.cts +9 -8
- package/dist/editors.d.ts +9 -8
- package/dist/graphics.d.cts +1 -1
- package/dist/graphics.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index13.vue.d.ts +4 -4
- package/dist/index14.vue.d.cts +4 -4
- package/dist/index14.vue.d.ts +3 -3
- package/dist/index15.vue.d.cts +3 -3
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +2 -2
- package/dist/index20.vue.d.ts +6 -6
- package/dist/index21.vue.d.cts +6 -6
- package/dist/index21.vue.d.ts +8 -8
- package/dist/index22.vue.d.cts +8 -8
- package/dist/index26.vue.d.ts +1 -1
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +3 -3
- package/dist/index28.vue.d.cts +3 -3
- package/dist/index29.vue.d.cts +2 -2
- package/dist/index29.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index34.vue.d.cts +13 -2
- package/dist/index34.vue.d.ts +13 -2
- package/dist/index35.vue.d.cts +2 -2
- package/dist/index35.vue.d.ts +2 -2
- package/dist/index38.vue.d.cts +1 -1
- package/dist/index38.vue.d.ts +1 -1
- package/dist/index39.vue.d.cts +1 -1
- package/dist/index39.vue.d.ts +1 -1
- package/dist/index41.vue.d.cts +1 -1
- package/dist/index41.vue.d.ts +1 -1
- package/dist/index42.vue.d.cts +5 -5
- package/dist/index42.vue.d.ts +5 -5
- package/dist/index43.vue.d.cts +2 -2
- package/dist/index43.vue.d.ts +2 -2
- package/dist/index5.vue.d.cts +2 -2
- package/dist/index5.vue.d.ts +2 -2
- package/dist/index6.vue.d.cts +5 -5
- package/dist/index6.vue.d.ts +5 -5
- package/dist/localSource.cjs +1 -1
- package/dist/localSource.d.cts +9 -4
- package/dist/localSource.d.ts +9 -4
- package/dist/localSource.js +1 -1
- package/dist/mapUtils.d.cts +2 -2
- package/dist/mapUtils.d.ts +2 -2
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/style.css +263 -225
- package/dist/useCollapsePanel.d.cts +3 -3
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useCropperCore.d.cts +5 -5
- package/dist/useCropperCore.d.ts +5 -5
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.cts +3 -3
- package/dist/useFullscreen.d.ts +3 -3
- package/dist/useQRCode.d.cts +5 -5
- package/dist/useQRCode.d.ts +5 -5
- package/dist/useSignatureHistory.d.cts +5 -5
- package/dist/useSignatureHistory.d.ts +5 -5
- package/dist/useSplitResize.d.cts +1 -0
- package/dist/useSplitResize.d.ts +1 -0
- package/dist/useWorkflowValidation.d.cts +102 -102
- package/dist/useWorkflowValidation.d.ts +102 -102
- package/dist/verification.d.cts +4 -4
- package/dist/verification.d.ts +4 -4
- package/docs/guides/data-picker.md +2 -0
- package/docs/guides/data-workflows.md +4 -0
- package/docs/guides/resource-schedule.md +4 -0
- package/docs/guides/split-pane.en.md +6 -4
- package/docs/guides/split-pane.md +6 -11
- package/docs/wl-ui-produce-coverage.md +1 -1
- package/package.json +1 -1
|
@@ -73,23 +73,23 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
73
73
|
};
|
|
74
74
|
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 };
|
|
75
75
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
76
|
-
expand: (key: string) => any;
|
|
77
76
|
change: (activeKeys: string[]) => any;
|
|
77
|
+
expand: (key: string) => any;
|
|
78
78
|
collapse: (key: string) => any;
|
|
79
79
|
"update:activeKeys": (keys: string[]) => any;
|
|
80
80
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
81
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
82
81
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
82
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
83
83
|
onCollapse?: ((key: string) => any) | undefined;
|
|
84
84
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
85
85
|
}>, {
|
|
86
86
|
bordered: boolean;
|
|
87
87
|
accordion: boolean;
|
|
88
|
+
persistKey: string;
|
|
88
89
|
activeKeys: string[];
|
|
89
90
|
defaultActiveKeys: string[];
|
|
90
91
|
variant: CollapsePanelVariant;
|
|
91
92
|
expandIconPosition: ExpandIconPosition;
|
|
92
|
-
persistKey: string;
|
|
93
93
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
94
94
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
95
95
|
declare const _default: typeof __VLS_export;
|
|
@@ -73,23 +73,23 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
73
73
|
};
|
|
74
74
|
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 };
|
|
75
75
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
76
|
-
expand: (key: string) => any;
|
|
77
76
|
change: (activeKeys: string[]) => any;
|
|
77
|
+
expand: (key: string) => any;
|
|
78
78
|
collapse: (key: string) => any;
|
|
79
79
|
"update:activeKeys": (keys: string[]) => any;
|
|
80
80
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
81
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
82
81
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
82
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
83
83
|
onCollapse?: ((key: string) => any) | undefined;
|
|
84
84
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
85
85
|
}>, {
|
|
86
86
|
bordered: boolean;
|
|
87
87
|
accordion: boolean;
|
|
88
|
+
persistKey: string;
|
|
88
89
|
activeKeys: string[];
|
|
89
90
|
defaultActiveKeys: string[];
|
|
90
91
|
variant: CollapsePanelVariant;
|
|
91
92
|
expandIconPosition: ExpandIconPosition;
|
|
92
|
-
persistKey: string;
|
|
93
93
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
94
94
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
95
95
|
declare const _default: typeof __VLS_export;
|
|
@@ -51,20 +51,19 @@ 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
|
-
cancel: () => any;
|
|
55
|
-
confirm: (result: CropResult) => any;
|
|
56
54
|
error: (error: Error) => any;
|
|
57
55
|
ready: () => any;
|
|
58
56
|
crop: (result: CropResult) => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onCancel?: (() => any) | undefined;
|
|
61
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
62
60
|
onError?: ((error: Error) => any) | undefined;
|
|
63
61
|
onReady?: (() => any) | undefined;
|
|
64
62
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
|
-
modal: boolean;
|
|
68
67
|
height: string | number;
|
|
69
68
|
showToolbar: boolean;
|
|
70
69
|
src: string;
|
|
@@ -75,6 +74,7 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
75
74
|
maxOutputHeight: number;
|
|
76
75
|
showPreview: boolean;
|
|
77
76
|
circular: boolean;
|
|
77
|
+
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -51,20 +51,19 @@ 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
|
-
cancel: () => any;
|
|
55
|
-
confirm: (result: CropResult) => any;
|
|
56
54
|
error: (error: Error) => any;
|
|
57
55
|
ready: () => any;
|
|
58
56
|
crop: (result: CropResult) => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onCancel?: (() => any) | undefined;
|
|
61
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
62
60
|
onError?: ((error: Error) => any) | undefined;
|
|
63
61
|
onReady?: (() => any) | undefined;
|
|
64
62
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
|
-
modal: boolean;
|
|
68
67
|
height: string | number;
|
|
69
68
|
showToolbar: boolean;
|
|
70
69
|
src: string;
|
|
@@ -75,6 +74,7 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
75
74
|
maxOutputHeight: number;
|
|
76
75
|
showPreview: boolean;
|
|
77
76
|
circular: boolean;
|
|
77
|
+
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
@@ -255,9 +255,9 @@ declare const __VLS_export: vue.DefineComponent<DiagramConfig, {
|
|
|
255
255
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
256
256
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
257
257
|
}>, {
|
|
258
|
-
width: string | number;
|
|
259
258
|
readonly: boolean;
|
|
260
259
|
height: string | number;
|
|
260
|
+
width: string | number;
|
|
261
261
|
showToolbar: boolean;
|
|
262
262
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
263
263
|
declare const _default: typeof __VLS_export;
|
|
@@ -255,9 +255,9 @@ declare const __VLS_export: vue.DefineComponent<DiagramConfig, {
|
|
|
255
255
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
256
256
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
257
257
|
}>, {
|
|
258
|
-
width: string | number;
|
|
259
258
|
readonly: boolean;
|
|
260
259
|
height: string | number;
|
|
260
|
+
width: string | number;
|
|
261
261
|
showToolbar: boolean;
|
|
262
262
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
263
263
|
declare const _default: typeof __VLS_export;
|
package/dist/useFullscreen.d.cts
CHANGED
|
@@ -4,16 +4,16 @@ import { Ref } from "vue";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/C_FilePreview/index.vue.d.ts
|
|
6
6
|
declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
7
|
-
download: (file: string | File) => any;
|
|
8
7
|
preview: (file: string | File) => any;
|
|
8
|
+
download: (file: string | File) => any;
|
|
9
9
|
"update:show": (show: boolean) => any;
|
|
10
10
|
}, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
|
|
11
|
-
onDownload?: ((file: string | File) => any) | undefined;
|
|
12
11
|
onPreview?: ((file: string | File) => any) | undefined;
|
|
12
|
+
onDownload?: ((file: string | File) => any) | undefined;
|
|
13
13
|
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
inline: boolean;
|
|
16
15
|
show: boolean;
|
|
16
|
+
inline: boolean;
|
|
17
17
|
fileName: string;
|
|
18
18
|
autoPreview: boolean;
|
|
19
19
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useFullscreen.d.ts
CHANGED
|
@@ -4,16 +4,16 @@ import { Ref } from "vue";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/C_FilePreview/index.vue.d.ts
|
|
6
6
|
declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
7
|
-
download: (file: string | File) => any;
|
|
8
7
|
preview: (file: string | File) => any;
|
|
8
|
+
download: (file: string | File) => any;
|
|
9
9
|
"update:show": (show: boolean) => any;
|
|
10
10
|
}, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
|
|
11
|
-
onDownload?: ((file: string | File) => any) | undefined;
|
|
12
11
|
onPreview?: ((file: string | File) => any) | undefined;
|
|
12
|
+
onDownload?: ((file: string | File) => any) | undefined;
|
|
13
13
|
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
inline: boolean;
|
|
16
15
|
show: boolean;
|
|
16
|
+
inline: boolean;
|
|
17
17
|
fileName: string;
|
|
18
18
|
autoPreview: boolean;
|
|
19
19
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useQRCode.d.cts
CHANGED
|
@@ -37,16 +37,16 @@ declare const __VLS_export: vue.DefineComponent<QRCodeProps, QRCodeExpose, {}, {
|
|
|
37
37
|
}, string, vue.PublicProps, Readonly<QRCodeProps> & Readonly<{
|
|
38
38
|
onError?: ((error: Error) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
|
-
mode: RenderMode;
|
|
41
40
|
size: number;
|
|
41
|
+
label: string;
|
|
42
|
+
mode: RenderMode;
|
|
43
|
+
color: string;
|
|
42
44
|
margin: number;
|
|
43
45
|
bgColor: string;
|
|
44
|
-
color: string;
|
|
45
|
-
label: string;
|
|
46
|
-
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
47
|
-
logo: LogoOptions;
|
|
48
46
|
showBorder: boolean;
|
|
49
47
|
showLabel: boolean;
|
|
48
|
+
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
49
|
+
logo: LogoOptions;
|
|
50
50
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
52
52
|
//#endregion
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -37,16 +37,16 @@ declare const __VLS_export: vue.DefineComponent<QRCodeProps, QRCodeExpose, {}, {
|
|
|
37
37
|
}, string, vue.PublicProps, Readonly<QRCodeProps> & Readonly<{
|
|
38
38
|
onError?: ((error: Error) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
|
-
mode: RenderMode;
|
|
41
40
|
size: number;
|
|
41
|
+
label: string;
|
|
42
|
+
mode: RenderMode;
|
|
43
|
+
color: string;
|
|
42
44
|
margin: number;
|
|
43
45
|
bgColor: string;
|
|
44
|
-
color: string;
|
|
45
|
-
label: string;
|
|
46
|
-
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
47
|
-
logo: LogoOptions;
|
|
48
46
|
showBorder: boolean;
|
|
49
47
|
showLabel: boolean;
|
|
48
|
+
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
49
|
+
logo: LogoOptions;
|
|
50
50
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
52
52
|
//#endregion
|
|
@@ -94,28 +94,28 @@ interface SignatureEmits {
|
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
96
96
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
97
|
-
error: (error: Error) => any;
|
|
98
|
-
clear: () => any;
|
|
99
97
|
change: (data: SignatureStroke[]) => any;
|
|
98
|
+
clear: () => any;
|
|
99
|
+
error: (error: Error) => any;
|
|
100
100
|
"start-draw": () => any;
|
|
101
101
|
drawing: (point: SignaturePoint) => any;
|
|
102
102
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
103
103
|
undo: () => any;
|
|
104
104
|
redo: () => any;
|
|
105
105
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
106
|
-
onError?: ((error: Error) => any) | undefined;
|
|
107
|
-
onClear?: (() => any) | undefined;
|
|
108
106
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
107
|
+
onClear?: (() => any) | undefined;
|
|
108
|
+
onError?: ((error: Error) => any) | undefined;
|
|
109
109
|
"onStart-draw"?: (() => any) | undefined;
|
|
110
110
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
111
111
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
112
112
|
onUndo?: (() => any) | undefined;
|
|
113
113
|
onRedo?: (() => any) | undefined;
|
|
114
114
|
}>, {
|
|
115
|
-
width: number | string;
|
|
116
115
|
disabled: boolean;
|
|
117
116
|
readonly: boolean;
|
|
118
117
|
height: number | string;
|
|
118
|
+
width: number | string;
|
|
119
119
|
showToolbar: boolean;
|
|
120
120
|
maxHistory: number;
|
|
121
121
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -94,28 +94,28 @@ interface SignatureEmits {
|
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
96
96
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
97
|
-
error: (error: Error) => any;
|
|
98
|
-
clear: () => any;
|
|
99
97
|
change: (data: SignatureStroke[]) => any;
|
|
98
|
+
clear: () => any;
|
|
99
|
+
error: (error: Error) => any;
|
|
100
100
|
"start-draw": () => any;
|
|
101
101
|
drawing: (point: SignaturePoint) => any;
|
|
102
102
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
103
103
|
undo: () => any;
|
|
104
104
|
redo: () => any;
|
|
105
105
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
106
|
-
onError?: ((error: Error) => any) | undefined;
|
|
107
|
-
onClear?: (() => any) | undefined;
|
|
108
106
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
107
|
+
onClear?: (() => any) | undefined;
|
|
108
|
+
onError?: ((error: Error) => any) | undefined;
|
|
109
109
|
"onStart-draw"?: (() => any) | undefined;
|
|
110
110
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
111
111
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
112
112
|
onUndo?: (() => any) | undefined;
|
|
113
113
|
onRedo?: (() => any) | undefined;
|
|
114
114
|
}>, {
|
|
115
|
-
width: number | string;
|
|
116
115
|
disabled: boolean;
|
|
117
116
|
readonly: boolean;
|
|
118
117
|
height: number | string;
|
|
118
|
+
width: number | string;
|
|
119
119
|
showToolbar: boolean;
|
|
120
120
|
maxHistory: number;
|
|
121
121
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -103,6 +103,7 @@ interface UseSplitResizeOptions {
|
|
|
103
103
|
disabled: Ref<boolean>;
|
|
104
104
|
collapsible: Ref<boolean>;
|
|
105
105
|
step: MaybeRefOrGetter<number>;
|
|
106
|
+
interruptMotion?: () => number | undefined;
|
|
106
107
|
onUpdateSize?: (size: number) => void;
|
|
107
108
|
onResize?: (firstSize: number, secondSize: number) => void;
|
|
108
109
|
onCollapse?: (target: CollapseTarget) => void;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ interface UseSplitResizeOptions {
|
|
|
103
103
|
disabled: Ref<boolean>;
|
|
104
104
|
collapsible: Ref<boolean>;
|
|
105
105
|
step: MaybeRefOrGetter<number>;
|
|
106
|
+
interruptMotion?: () => number | undefined;
|
|
106
107
|
onUpdateSize?: (size: number) => void;
|
|
107
108
|
onResize?: (firstSize: number, secondSize: number) => void;
|
|
108
109
|
onCollapse?: (target: CollapseTarget) => void;
|