@robot-admin/naive-ui-components 0.6.16 → 0.6.18
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/C_Table.js.map +1 -1
- package/dist/C_Table2.js.map +1 -1
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.ts +5 -5
- package/dist/constants3.d.ts +2 -2
- package/dist/constants4.d.ts +4 -4
- package/dist/constants5.d.ts +2 -2
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index12.vue.d.ts +1 -1
- package/dist/index13.vue.d.ts +2 -2
- package/dist/index15.vue.d.ts +3 -3
- 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 +1 -1
- package/dist/index21.vue.d.ts +1 -1
- package/dist/index24.vue.d.ts +2 -2
- package/dist/index25.vue.d.ts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index3.vue.d.ts +1 -1
- package/dist/index4.vue.d.ts +3 -3
- package/dist/index6.vue.d.ts +4 -4
- 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/useCropperCore.d.ts +3 -3
- package/dist/useDraggableLayout.d.ts +4 -4
- package/dist/useDynamicFormState.d.ts +12 -12
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useModalEdit.d.ts +11 -10
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSearchState.d.ts +2 -2
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useTimeSelection.d.ts +1 -1
- package/dist/useTreeOperations.d.ts +4 -4
- package/dist/useWorkflowValidation.d.ts +4 -4
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -110,20 +110,20 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
|
|
|
110
110
|
reset: typeof handleReset;
|
|
111
111
|
validate: () => CronValidation;
|
|
112
112
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
113
|
-
"update:modelValue": (value: string) => any;
|
|
114
113
|
change: (value: string) => any;
|
|
114
|
+
"update:modelValue": (value: string) => any;
|
|
115
115
|
"validation-change": (result: CronValidation) => any;
|
|
116
116
|
}, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
|
|
117
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
118
117
|
onChange?: ((value: string) => any) | undefined;
|
|
118
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
119
119
|
"onValidation-change"?: ((result: CronValidation) => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
|
-
modelValue: string;
|
|
122
121
|
disabled: boolean;
|
|
123
122
|
height: string | number;
|
|
124
|
-
|
|
123
|
+
modelValue: string;
|
|
125
124
|
previewCount: number;
|
|
126
125
|
showTemplates: boolean;
|
|
126
|
+
showPreview: boolean;
|
|
127
127
|
showSecond: boolean;
|
|
128
128
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
129
129
|
declare const _default: typeof __VLS_export;
|
package/dist/constants2.d.ts
CHANGED
|
@@ -112,22 +112,22 @@ interface FormulaEditorExpose {
|
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/components/C_FormulaEditor/index.vue.d.ts
|
|
114
114
|
declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
115
|
-
"update:modelValue": (value: string) => any;
|
|
116
115
|
change: (value: string) => any;
|
|
116
|
+
"update:modelValue": (value: string) => any;
|
|
117
117
|
"validation-change": (result: FormulaValidation) => any;
|
|
118
118
|
}, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
|
|
119
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
120
119
|
onChange?: ((value: string) => any) | undefined;
|
|
120
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
121
121
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
|
-
modelValue: string;
|
|
124
|
-
placeholder: string;
|
|
125
123
|
disabled: boolean;
|
|
124
|
+
placeholder: string;
|
|
126
125
|
height: string | number;
|
|
126
|
+
modelValue: string;
|
|
127
|
+
showPreview: boolean;
|
|
127
128
|
variables: FormulaVariable[];
|
|
128
129
|
functions: FormulaFunction[];
|
|
129
130
|
sampleData: Record<string, number | string | boolean>;
|
|
130
|
-
showPreview: boolean;
|
|
131
131
|
showKeyboard: boolean;
|
|
132
132
|
showVariablePanel: boolean;
|
|
133
133
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/constants3.d.ts
CHANGED
|
@@ -168,11 +168,11 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
|
|
|
168
168
|
onNewMessage?: ((message: NotificationMessage) => any) | undefined;
|
|
169
169
|
onNavigate?: ((url: string) => any) | undefined;
|
|
170
170
|
}>, {
|
|
171
|
+
pageSize: number;
|
|
172
|
+
storageKey: string;
|
|
171
173
|
desktopNotification: boolean;
|
|
172
174
|
maxBadgeCount: number;
|
|
173
175
|
pollingInterval: number;
|
|
174
|
-
pageSize: number;
|
|
175
|
-
storageKey: string;
|
|
176
176
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
177
177
|
declare const _default: typeof __VLS_export;
|
|
178
178
|
//#endregion
|
package/dist/constants4.d.ts
CHANGED
|
@@ -196,16 +196,16 @@ type __VLS_Slots = {} & {
|
|
|
196
196
|
area?: (props: typeof __VLS_11) => any;
|
|
197
197
|
};
|
|
198
198
|
declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
199
|
-
change: (fileList: UploadFileItem[]) => any;
|
|
200
199
|
success: (file: UploadFileItem, response: any) => any;
|
|
200
|
+
change: (fileList: UploadFileItem[]) => any;
|
|
201
201
|
error: (file: UploadFileItem, error: Error) => any;
|
|
202
202
|
progress: (file: UploadFileItem, percent: number) => any;
|
|
203
203
|
remove: (file: UploadFileItem) => any;
|
|
204
204
|
finish: (fileList: UploadFileItem[]) => any;
|
|
205
205
|
exceed: (files: File[], fileList: UploadFileItem[]) => any;
|
|
206
206
|
}, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
|
|
207
|
-
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
208
207
|
onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
|
|
208
|
+
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
209
209
|
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
210
210
|
onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
|
|
211
211
|
onRemove?: ((file: UploadFileItem) => any) | undefined;
|
|
@@ -213,14 +213,14 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
|
|
|
213
213
|
onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
|
|
214
214
|
}>, {
|
|
215
215
|
disabled: boolean;
|
|
216
|
-
multiple: boolean;
|
|
217
216
|
data: Record<string, any>;
|
|
218
217
|
draggable: boolean;
|
|
219
|
-
|
|
218
|
+
multiple: boolean;
|
|
220
219
|
action: string;
|
|
221
220
|
headers: Record<string, string>;
|
|
222
221
|
directory: boolean;
|
|
223
222
|
accept: string;
|
|
223
|
+
maxSize: number;
|
|
224
224
|
maxCount: number;
|
|
225
225
|
pasteable: boolean;
|
|
226
226
|
chunked: boolean;
|
package/dist/constants5.d.ts
CHANGED
|
@@ -259,9 +259,9 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
|
|
|
259
259
|
//#endregion
|
|
260
260
|
//#region src/components/C_VideoPlayer/index.vue.d.ts
|
|
261
261
|
declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
262
|
+
ended: () => any;
|
|
262
263
|
error: (error: Error) => any;
|
|
263
264
|
ready: () => any;
|
|
264
|
-
ended: () => any;
|
|
265
265
|
stateChange: (state: PlayerState) => any;
|
|
266
266
|
timeUpdate: (currentTime: number, duration: number) => any;
|
|
267
267
|
qualityChange: (quality: QualityLevel) => any;
|
|
@@ -272,9 +272,9 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
|
|
|
272
272
|
chapterChange: (chapter: Chapter) => any;
|
|
273
273
|
progressUpdate: (data: ProgressData) => any;
|
|
274
274
|
}, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
|
|
275
|
+
onEnded?: (() => any) | undefined;
|
|
275
276
|
onError?: ((error: Error) => any) | undefined;
|
|
276
277
|
onReady?: (() => any) | undefined;
|
|
277
|
-
onEnded?: (() => any) | undefined;
|
|
278
278
|
onStateChange?: ((state: PlayerState) => any) | undefined;
|
|
279
279
|
onTimeUpdate?: ((currentTime: number, duration: number) => any) | undefined;
|
|
280
280
|
onQualityChange?: ((quality: QualityLevel) => any) | undefined;
|
package/dist/index10.vue.d.ts
CHANGED
|
@@ -25,20 +25,20 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
25
25
|
copyCode: typeof copyCode;
|
|
26
26
|
toggleFullscreen: typeof toggleFullscreen;
|
|
27
27
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
28
|
-
click: (event: MouseEvent) => any;
|
|
29
28
|
copy: (code: string) => any;
|
|
29
|
+
click: (event: MouseEvent) => any;
|
|
30
30
|
fullscreen: (isFullscreen: boolean) => any;
|
|
31
31
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
32
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
33
32
|
onCopy?: ((code: string) => any) | undefined;
|
|
33
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
34
34
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
|
-
trim: boolean;
|
|
37
36
|
code: string;
|
|
38
37
|
language: string;
|
|
39
38
|
showHeader: boolean;
|
|
40
39
|
showLineNumbers: boolean;
|
|
41
40
|
wordWrap: boolean;
|
|
41
|
+
trim: boolean;
|
|
42
42
|
showFullscreen: boolean;
|
|
43
43
|
autoLoadLanguage: boolean;
|
|
44
44
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index12.vue.d.ts
CHANGED
|
@@ -38,8 +38,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
38
38
|
"onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
39
39
|
"onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
|
-
placeholder: string;
|
|
42
41
|
disabled: boolean;
|
|
42
|
+
placeholder: string;
|
|
43
43
|
mode: DatePickerMode;
|
|
44
44
|
startPlaceholder: string;
|
|
45
45
|
endPlaceholder: string;
|
package/dist/index13.vue.d.ts
CHANGED
|
@@ -28,12 +28,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
28
28
|
"onEditor-mounted"?: ((editor: any) => any) | undefined;
|
|
29
29
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
modelValue: string;
|
|
32
|
-
placeholder: string;
|
|
33
31
|
disabled: boolean;
|
|
34
32
|
theme: "light" | "dark";
|
|
33
|
+
placeholder: string;
|
|
35
34
|
height: number;
|
|
36
35
|
readonly: boolean;
|
|
36
|
+
modelValue: string;
|
|
37
37
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
39
39
|
//#endregion
|
package/dist/index15.vue.d.ts
CHANGED
|
@@ -50,13 +50,13 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
50
50
|
onLoad?: (() => any) | undefined;
|
|
51
51
|
}>, {
|
|
52
52
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
53
|
-
|
|
53
|
+
title: string;
|
|
54
54
|
size: number | string;
|
|
55
|
+
clickable: boolean;
|
|
56
|
+
name: string | any;
|
|
55
57
|
color: string;
|
|
56
58
|
loading: boolean;
|
|
57
59
|
flip: "horizontal" | "vertical" | "both";
|
|
58
|
-
clickable: boolean;
|
|
59
|
-
title: string;
|
|
60
60
|
svgPath: string;
|
|
61
61
|
viewBox: string;
|
|
62
62
|
alt: string;
|
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
|
-
"update:modelValue": (key: string) => any;
|
|
16
15
|
change: (key: string) => any;
|
|
16
|
+
"update:modelValue": (key: string) => any;
|
|
17
17
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
-
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
19
18
|
onChange?: ((key: string) => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
modelValue: string;
|
|
22
22
|
options: LanguageOption[];
|
package/dist/index17.vue.d.ts
CHANGED
|
@@ -99,8 +99,8 @@ 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;
|
|
103
|
+
loading: boolean;
|
|
104
104
|
storageKey: string;
|
|
105
105
|
defaultUsername: string;
|
|
106
106
|
defaultPassword: string;
|
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
|
-
"update:modelValue": (value: string) => any;
|
|
42
41
|
change: (text: string, html: string) => any;
|
|
42
|
+
"update:modelValue": (value: 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
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
52
51
|
onChange?: ((text: string, html: string) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((value: 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,11 +58,12 @@ 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
|
-
modelValue: string;
|
|
62
|
-
placeholder: string;
|
|
63
61
|
disabled: boolean;
|
|
64
|
-
|
|
62
|
+
placeholder: string;
|
|
65
63
|
mode: "edit" | "editable" | "preview";
|
|
64
|
+
height: string | number;
|
|
65
|
+
modelValue: string;
|
|
66
|
+
isDark: boolean;
|
|
66
67
|
tocNavPosition: "left" | "right";
|
|
67
68
|
defaultFullscreen: boolean;
|
|
68
69
|
autofocus: boolean;
|
|
@@ -73,7 +74,6 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
73
74
|
showWordCount: boolean;
|
|
74
75
|
autoSave: boolean;
|
|
75
76
|
autoSaveInterval: number;
|
|
76
|
-
isDark: boolean;
|
|
77
77
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
78
78
|
declare const _default: typeof __VLS_export;
|
|
79
79
|
//#endregion
|
package/dist/index2.vue.d.ts
CHANGED
|
@@ -71,11 +71,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
71
71
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
73
|
theme: "default" | "minimal";
|
|
74
|
-
mode: "list" | "loop" | "single" | "shuffle";
|
|
75
74
|
initialIndex: number;
|
|
76
75
|
showPlaylist: boolean;
|
|
77
76
|
showCover: boolean;
|
|
78
77
|
autoplay: boolean;
|
|
78
|
+
mode: "list" | "loop" | "single" | "shuffle";
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/index21.vue.d.ts
CHANGED
|
@@ -26,8 +26,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
26
26
|
}>, {
|
|
27
27
|
clickable: boolean;
|
|
28
28
|
direction: "horizontal" | "vertical";
|
|
29
|
-
current: number;
|
|
30
29
|
connected: boolean;
|
|
30
|
+
current: number;
|
|
31
31
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
33
33
|
//#endregion
|
package/dist/index24.vue.d.ts
CHANGED
|
@@ -91,9 +91,9 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
91
91
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
93
|
reverse: boolean;
|
|
94
|
-
size: "small" | "medium" | "large";
|
|
95
|
-
items: TimelineItem[];
|
|
96
94
|
mode: "vertical" | "horizontal";
|
|
95
|
+
items: TimelineItem[];
|
|
96
|
+
size: "small" | "medium" | "large";
|
|
97
97
|
labelPlacement: "left" | "right" | "alternate";
|
|
98
98
|
pending: boolean;
|
|
99
99
|
pendingText: string;
|
package/dist/index25.vue.d.ts
CHANGED
|
@@ -61,11 +61,11 @@ 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
|
-
"update:modelValue": (value: (string | number)[]) => any;
|
|
65
64
|
change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
|
|
65
|
+
"update:modelValue": (value: (string | number)[]) => any;
|
|
66
66
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
67
|
-
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
68
67
|
onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
|
|
68
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
70
|
size: "small" | "medium" | "large";
|
|
71
71
|
filterable: boolean;
|
package/dist/index26.vue.d.ts
CHANGED
|
@@ -648,11 +648,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
648
648
|
onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
|
|
649
649
|
}>, {
|
|
650
650
|
theme: "light" | "dark";
|
|
651
|
-
|
|
651
|
+
title: string;
|
|
652
652
|
height: string | number;
|
|
653
653
|
data: GanttTask[];
|
|
654
654
|
showToolbar: boolean;
|
|
655
|
-
|
|
655
|
+
options: GanttOptions;
|
|
656
656
|
preset: GanttPreset;
|
|
657
657
|
showFullscreenButton: boolean;
|
|
658
658
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -72,9 +72,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
72
72
|
onItemClick?: ((item: AvatarItem) => any) | undefined;
|
|
73
73
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
+
max: number;
|
|
75
76
|
size: number;
|
|
76
77
|
overlap: number;
|
|
77
|
-
max: number;
|
|
78
78
|
shape: "circle" | "square";
|
|
79
79
|
showStatus: boolean;
|
|
80
80
|
showTooltip: boolean;
|
package/dist/index4.vue.d.ts
CHANGED
|
@@ -20,16 +20,16 @@ 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
|
-
|
|
23
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
24
24
|
width: number;
|
|
25
25
|
height: number;
|
|
26
|
-
fontSize: number;
|
|
27
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
28
26
|
showText: boolean;
|
|
27
|
+
fontSize: number;
|
|
29
28
|
textPosition: "bottom" | "top";
|
|
30
29
|
lineColor: string;
|
|
31
30
|
background: string;
|
|
32
31
|
showBorder: boolean;
|
|
32
|
+
label: string;
|
|
33
33
|
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
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
|
-
change: (valid: boolean) => any;
|
|
22
21
|
success: (data: {
|
|
23
22
|
token: string;
|
|
24
23
|
timestamp: number;
|
|
25
24
|
}) => any;
|
|
26
25
|
fail: (error: string) => any;
|
|
26
|
+
change: (valid: boolean) => any;
|
|
27
27
|
reset: () => any;
|
|
28
28
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
29
|
-
onChange?: ((valid: boolean) => any) | undefined;
|
|
30
29
|
onSuccess?: ((data: {
|
|
31
30
|
token: string;
|
|
32
31
|
timestamp: number;
|
|
33
32
|
}) => any) | undefined;
|
|
34
33
|
onFail?: ((error: string) => any) | undefined;
|
|
34
|
+
onChange?: ((valid: boolean) => any) | undefined;
|
|
35
35
|
onReset?: (() => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
|
-
disabled: boolean;
|
|
38
|
-
theme: "light" | "dark";
|
|
39
37
|
triggerText: string;
|
|
40
38
|
images: string[];
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
theme: "light" | "dark";
|
|
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
|
-
"update:modelValue": (value: CascadeValue) => any;
|
|
21
20
|
change: (value: CascadeValue) => any;
|
|
21
|
+
"update:modelValue": (value: CascadeValue) => any;
|
|
22
22
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
24
23
|
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((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
|
-
"update:modelValue": (value: string) => any;
|
|
18
17
|
change: (value: string) => any;
|
|
18
|
+
"update:modelValue": (value: string) => any;
|
|
19
19
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
20
|
onChange?: ((value: string) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
placeholder: string;
|
|
24
24
|
showLetters: boolean;
|
|
@@ -66,9 +66,9 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
66
66
|
}) => any) | undefined;
|
|
67
67
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
68
68
|
}>, {
|
|
69
|
-
editable: boolean;
|
|
70
69
|
events: CalendarEvent[];
|
|
71
70
|
initialView: CalendarViewType;
|
|
71
|
+
editable: boolean;
|
|
72
72
|
showAddDialog: boolean;
|
|
73
73
|
showEditDialog: boolean;
|
|
74
74
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -53,22 +53,22 @@ interface ImageCropperEmits {
|
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
54
|
error: (error: Event) => any;
|
|
55
55
|
ready: () => any;
|
|
56
|
-
cancel: () => any;
|
|
57
56
|
crop: (result: any) => any;
|
|
58
57
|
confirm: (result: any) => any;
|
|
58
|
+
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Event) => any) | undefined;
|
|
61
61
|
onReady?: (() => any) | undefined;
|
|
62
|
-
onCancel?: (() => any) | undefined;
|
|
63
62
|
onCrop?: ((result: any) => any) | undefined;
|
|
64
63
|
onConfirm?: ((result: any) => any) | undefined;
|
|
64
|
+
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
height: string | number;
|
|
68
68
|
showToolbar: boolean;
|
|
69
|
-
src: string;
|
|
70
69
|
aspectRatio: number;
|
|
71
70
|
showPreview: boolean;
|
|
71
|
+
src: string;
|
|
72
72
|
outputFormat: CropOutputFormat;
|
|
73
73
|
outputQuality: number;
|
|
74
74
|
maxOutputWidth: number;
|
|
@@ -116,13 +116,14 @@ 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
|
-
modelValue: DraggableItem[];
|
|
120
|
-
sort: boolean;
|
|
121
119
|
disabled: boolean;
|
|
122
|
-
|
|
120
|
+
sort: boolean;
|
|
123
121
|
direction: "vertical" | "horizontal";
|
|
122
|
+
modelValue: DraggableItem[];
|
|
123
|
+
emptyText: string;
|
|
124
124
|
group: string | GroupOptions;
|
|
125
125
|
animation: number;
|
|
126
|
+
delay: number;
|
|
126
127
|
handle: string;
|
|
127
128
|
showHandle: boolean;
|
|
128
129
|
ghostClass: string;
|
|
@@ -132,7 +133,6 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
132
133
|
listClass: string;
|
|
133
134
|
itemClass: string;
|
|
134
135
|
showEmptyState: boolean;
|
|
135
|
-
emptyText: string;
|
|
136
136
|
swapThreshold: number;
|
|
137
137
|
invertSwap: boolean;
|
|
138
138
|
layout: LayoutMode;
|
|
@@ -429,14 +429,14 @@ declare const __VLS_base: vue.DefineComponent<CFormProps, {
|
|
|
429
429
|
shouldShowDefaultActions: vue.ComputedRef<boolean>;
|
|
430
430
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
431
431
|
"update:modelValue": (model: Record<string, any>) => any;
|
|
432
|
+
"validate-error": (errors: unknown) => any;
|
|
432
433
|
submit: (payload: SubmitEventPayload) => any;
|
|
433
434
|
"validate-success": (model: Record<string, any>) => any;
|
|
434
|
-
"validate-error": (errors: unknown) => any;
|
|
435
435
|
}, string, vue.PublicProps, Readonly<CFormProps> & Readonly<{
|
|
436
436
|
"onUpdate:modelValue"?: ((model: Record<string, any>) => any) | undefined;
|
|
437
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
437
438
|
onSubmit?: ((payload: SubmitEventPayload) => any) | undefined;
|
|
438
439
|
"onValidate-success"?: ((model: Record<string, any>) => any) | undefined;
|
|
439
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
440
440
|
}>, {
|
|
441
441
|
config: FormConfig;
|
|
442
442
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -1295,6 +1295,10 @@ declare const useDynamicFormState: () => {
|
|
|
1295
1295
|
readonly placeholder?: string | undefined;
|
|
1296
1296
|
readonly rules?: readonly {
|
|
1297
1297
|
readonly type?: RuleType | undefined;
|
|
1298
|
+
readonly required?: boolean | undefined;
|
|
1299
|
+
readonly max?: number | undefined;
|
|
1300
|
+
readonly level?: "warning" | "error" | undefined;
|
|
1301
|
+
readonly key?: string | undefined;
|
|
1298
1302
|
readonly options?: {
|
|
1299
1303
|
readonly suppressWarning?: boolean | undefined;
|
|
1300
1304
|
readonly suppressValidatorError?: boolean | undefined;
|
|
@@ -1352,10 +1356,7 @@ declare const useDynamicFormState: () => {
|
|
|
1352
1356
|
} | undefined;
|
|
1353
1357
|
readonly trigger?: string | readonly string[] | undefined;
|
|
1354
1358
|
readonly pattern?: (RegExp | string) | undefined;
|
|
1355
|
-
readonly
|
|
1356
|
-
readonly max?: number | undefined;
|
|
1357
|
-
readonly key?: string | undefined;
|
|
1358
|
-
readonly level?: "warning" | "error" | undefined;
|
|
1359
|
+
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1359
1360
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1360
1361
|
readonly min?: number | undefined;
|
|
1361
1362
|
readonly len?: number | undefined;
|
|
@@ -1930,7 +1931,6 @@ declare const useDynamicFormState: () => {
|
|
|
1930
1931
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
1931
1932
|
}[] | undefined;
|
|
1932
1933
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
1933
|
-
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1934
1934
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
1935
1935
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
1936
1936
|
}[] | undefined;
|
|
@@ -3572,6 +3572,10 @@ declare const useDynamicFormState: () => {
|
|
|
3572
3572
|
} | undefined;
|
|
3573
3573
|
readonly rules?: readonly {
|
|
3574
3574
|
readonly type?: RuleType | undefined;
|
|
3575
|
+
readonly required?: boolean | undefined;
|
|
3576
|
+
readonly max?: number | undefined;
|
|
3577
|
+
readonly level?: "warning" | "error" | undefined;
|
|
3578
|
+
readonly key?: string | undefined;
|
|
3575
3579
|
readonly options?: {
|
|
3576
3580
|
readonly suppressWarning?: boolean | undefined;
|
|
3577
3581
|
readonly suppressValidatorError?: boolean | undefined;
|
|
@@ -3629,10 +3633,7 @@ declare const useDynamicFormState: () => {
|
|
|
3629
3633
|
} | undefined;
|
|
3630
3634
|
readonly trigger?: string | readonly string[] | undefined;
|
|
3631
3635
|
readonly pattern?: (RegExp | string) | undefined;
|
|
3632
|
-
readonly
|
|
3633
|
-
readonly max?: number | undefined;
|
|
3634
|
-
readonly key?: string | undefined;
|
|
3635
|
-
readonly level?: "warning" | "error" | undefined;
|
|
3636
|
+
readonly message?: string | ((a?: string) => string) | undefined;
|
|
3636
3637
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3637
3638
|
readonly min?: number | undefined;
|
|
3638
3639
|
readonly len?: number | undefined;
|
|
@@ -4207,7 +4208,6 @@ declare const useDynamicFormState: () => {
|
|
|
4207
4208
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
4208
4209
|
}[] | undefined;
|
|
4209
4210
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
4210
|
-
readonly message?: string | ((a?: string) => string) | undefined;
|
|
4211
4211
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
4212
4212
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
4213
4213
|
}[] | undefined;
|
|
@@ -89,14 +89,14 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
89
89
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
90
90
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
|
-
loading: boolean;
|
|
93
|
-
gap: number;
|
|
94
92
|
columns: number;
|
|
95
|
-
|
|
93
|
+
gap: number;
|
|
94
|
+
loading: boolean;
|
|
95
|
+
animationDuration: number;
|
|
96
96
|
infinite: boolean;
|
|
97
|
+
lazy: boolean;
|
|
97
98
|
skeleton: boolean;
|
|
98
99
|
skeletonCount: number;
|
|
99
|
-
animationDuration: number;
|
|
100
100
|
breakpoints: WaterFallBreakpoint[];
|
|
101
101
|
noMore: boolean;
|
|
102
102
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useModalEdit.d.ts
CHANGED
|
@@ -398,18 +398,19 @@ declare function useDynamicRows<T extends DataRecord = DataRecord>(data: Ref<T[]
|
|
|
398
398
|
//#endregion
|
|
399
399
|
//#region src/components/C_Table/composables/useTableConfig.d.ts
|
|
400
400
|
/**
|
|
401
|
-
* 可绑定到 C_Table 的 CRUD
|
|
402
|
-
*
|
|
403
|
-
*
|
|
404
|
-
*
|
|
401
|
+
* 可绑定到 C_Table 的 CRUD 对象接口(桥接类型)
|
|
402
|
+
*
|
|
403
|
+
* C_Table 内部已将 data/columns 规范化为 DataRecord/TableColumn,
|
|
404
|
+
* 此接口对 columns/actions 使用 any[] 避免 TableColumn<any> 结构展开异常,
|
|
405
|
+
* 同时允许 useTableCrud<T>() 任意子类型直接传入而无需类型断言。
|
|
405
406
|
*/
|
|
406
|
-
interface CrudBinding
|
|
407
|
-
data: Ref<
|
|
407
|
+
interface CrudBinding {
|
|
408
|
+
data: Ref<any[]>;
|
|
408
409
|
loading: Ref<boolean>;
|
|
409
|
-
columns: ComputedRef<
|
|
410
|
-
actions?: ComputedRef<
|
|
411
|
-
pagination?: ComputedRef<
|
|
412
|
-
tableRef?: Ref<
|
|
410
|
+
columns: ComputedRef<any[]>;
|
|
411
|
+
actions?: ComputedRef<any>;
|
|
412
|
+
pagination?: ComputedRef<any>;
|
|
413
|
+
tableRef?: Ref<any>;
|
|
413
414
|
save?: (...args: any[]) => any;
|
|
414
415
|
handleCancel?: () => void;
|
|
415
416
|
handlePaginationChange?: (page: number, pageSize: number) => void;
|
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
|
-
|
|
53
|
+
mode: RenderMode;
|
|
54
54
|
size: number;
|
|
55
|
-
color: string;
|
|
56
55
|
showBorder: boolean;
|
|
56
|
+
label: string;
|
|
57
57
|
showLabel: boolean;
|
|
58
|
-
|
|
58
|
+
color: string;
|
|
59
59
|
margin: number;
|
|
60
60
|
bgColor: string;
|
|
61
61
|
errorCorrectionLevel: ErrorCorrectionLevel;
|