@robot-admin/naive-ui-components 0.6.15 → 0.6.17
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 +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants3.d.ts +1 -1
- package/dist/constants4.d.ts +3 -3
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.ts +1 -1
- package/dist/index.vue.d.ts +1 -1
- package/dist/index10.vue.d.ts +2 -2
- package/dist/index11.vue.d.ts +1 -1
- package/dist/index12.vue.d.ts +1 -1
- package/dist/index13.vue.d.ts +2 -2
- package/dist/index15.vue.d.ts +6 -6
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index2.vue.d.ts +5 -5
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.ts +2 -2
- package/dist/index22.vue.d.ts +1 -1
- package/dist/index24.vue.d.ts +2 -2
- package/dist/index26.vue.d.ts +1 -1
- package/dist/index3.vue.d.ts +1 -1
- package/dist/index4.vue.d.ts +6 -6
- package/dist/index6.vue.d.ts +1 -1
- package/dist/index8.vue.d.ts +3 -3
- package/dist/useCollapsePanel.d.ts +5 -5
- package/dist/useCropperCore.d.ts +3 -3
- package/dist/useDraggableLayout.d.ts +2 -2
- package/dist/useDynamicFormState.d.ts +12 -12
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useModalEdit.d.ts +16 -11
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useSignatureHistory.d.ts +1 -1
- 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 +2 -2
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -119,11 +119,11 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
|
|
|
119
119
|
"onValidation-change"?: ((result: CronValidation) => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
121
|
modelValue: string;
|
|
122
|
-
height: string | number;
|
|
123
122
|
disabled: boolean;
|
|
124
|
-
|
|
123
|
+
height: string | number;
|
|
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
|
@@ -121,9 +121,9 @@ declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEdito
|
|
|
121
121
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
123
|
modelValue: string;
|
|
124
|
-
height: string | number;
|
|
125
|
-
disabled: boolean;
|
|
126
124
|
placeholder: string;
|
|
125
|
+
disabled: boolean;
|
|
126
|
+
height: string | number;
|
|
127
127
|
showPreview: boolean;
|
|
128
128
|
variables: FormulaVariable[];
|
|
129
129
|
functions: FormulaFunction[];
|
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
171
|
storageKey: string;
|
|
173
172
|
desktopNotification: boolean;
|
|
174
173
|
maxBadgeCount: number;
|
|
175
174
|
pollingInterval: number;
|
|
175
|
+
pageSize: number;
|
|
176
176
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
177
177
|
declare const _default: typeof __VLS_export;
|
|
178
178
|
//#endregion
|
package/dist/constants4.d.ts
CHANGED
|
@@ -213,15 +213,15 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
|
|
|
213
213
|
onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
|
|
214
214
|
}>, {
|
|
215
215
|
disabled: boolean;
|
|
216
|
-
draggable: boolean;
|
|
217
|
-
data: Record<string, any>;
|
|
218
216
|
multiple: boolean;
|
|
219
|
-
|
|
217
|
+
data: Record<string, any>;
|
|
220
218
|
action: string;
|
|
221
219
|
headers: Record<string, string>;
|
|
222
220
|
directory: boolean;
|
|
223
221
|
accept: string;
|
|
222
|
+
maxSize: number;
|
|
224
223
|
maxCount: number;
|
|
224
|
+
draggable: boolean;
|
|
225
225
|
pasteable: boolean;
|
|
226
226
|
chunked: boolean;
|
|
227
227
|
chunkSize: number;
|
package/dist/constants5.d.ts
CHANGED
|
@@ -260,8 +260,8 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
|
|
|
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
262
|
error: (error: Error) => any;
|
|
263
|
-
ready: () => any;
|
|
264
263
|
ended: () => any;
|
|
264
|
+
ready: () => any;
|
|
265
265
|
stateChange: (state: PlayerState) => any;
|
|
266
266
|
timeUpdate: (currentTime: number, duration: number) => any;
|
|
267
267
|
qualityChange: (quality: QualityLevel) => any;
|
|
@@ -273,8 +273,8 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
|
|
|
273
273
|
progressUpdate: (data: ProgressData) => any;
|
|
274
274
|
}, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
|
|
275
275
|
onError?: ((error: Error) => any) | undefined;
|
|
276
|
-
onReady?: (() => any) | undefined;
|
|
277
276
|
onEnded?: (() => any) | undefined;
|
|
277
|
+
onReady?: (() => 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/data.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
23
23
|
onMarkerClick?: ((marker: MapMarker$1, event: any) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
height: string;
|
|
26
|
-
center: [number, number];
|
|
27
26
|
markers: MapMarker$1[];
|
|
28
27
|
amapKey: string;
|
|
28
|
+
center: [number, number];
|
|
29
29
|
zoom: number;
|
|
30
30
|
mapType: "osm" | "amap";
|
|
31
31
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index.vue.d.ts
CHANGED
|
@@ -63,10 +63,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
63
63
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
64
64
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
config: ActionBarConfig;
|
|
67
66
|
actions: ActionItem[];
|
|
68
67
|
leftActions: ActionItem[];
|
|
69
68
|
rightActions: ActionItem[];
|
|
69
|
+
config: ActionBarConfig;
|
|
70
70
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
71
71
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
72
72
|
declare const _default: typeof __VLS_export;
|
package/dist/index10.vue.d.ts
CHANGED
|
@@ -25,12 +25,12 @@ 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
36
|
trim: boolean;
|
package/dist/index11.vue.d.ts
CHANGED
|
@@ -76,10 +76,10 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
76
76
|
}) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
78
|
disabled: boolean;
|
|
79
|
+
items: ContextMenuItem[];
|
|
79
80
|
zIndex: number;
|
|
80
81
|
minWidth: number;
|
|
81
82
|
maxWidth: number;
|
|
82
|
-
items: ContextMenuItem[];
|
|
83
83
|
subMenuPlacement: "right" | "left";
|
|
84
84
|
autoClose: boolean;
|
|
85
85
|
}, {}, {}, {}, 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
|
-
disabled: boolean;
|
|
42
41
|
placeholder: string;
|
|
42
|
+
disabled: boolean;
|
|
43
43
|
mode: DatePickerMode;
|
|
44
44
|
startPlaceholder: string;
|
|
45
45
|
endPlaceholder: string;
|
package/dist/index13.vue.d.ts
CHANGED
|
@@ -29,10 +29,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
29
29
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
modelValue: string;
|
|
32
|
-
height: number;
|
|
33
|
-
disabled: boolean;
|
|
34
32
|
placeholder: string;
|
|
33
|
+
disabled: boolean;
|
|
35
34
|
theme: "light" | "dark";
|
|
35
|
+
height: number;
|
|
36
36
|
readonly: boolean;
|
|
37
37
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
package/dist/index15.vue.d.ts
CHANGED
|
@@ -41,25 +41,25 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
41
41
|
errorMessage: Readonly<vue.Ref<string, string>>; /** DOM引用 */
|
|
42
42
|
el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
43
43
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
44
|
-
click: (event: MouseEvent) => any;
|
|
45
44
|
error: (type: string, error?: any) => any;
|
|
45
|
+
click: (event: MouseEvent) => any;
|
|
46
46
|
load: () => any;
|
|
47
47
|
}, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
|
|
48
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
49
48
|
onError?: ((type: string, error?: any) => any) | undefined;
|
|
49
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
50
50
|
onLoad?: (() => any) | undefined;
|
|
51
51
|
}>, {
|
|
52
52
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
53
|
+
name: string | any;
|
|
53
54
|
size: number | string;
|
|
54
|
-
flip: "horizontal" | "vertical" | "both";
|
|
55
55
|
color: string;
|
|
56
|
-
title: string;
|
|
57
|
-
clickable: boolean;
|
|
58
56
|
loading: boolean;
|
|
59
|
-
|
|
57
|
+
flip: "horizontal" | "vertical" | "both";
|
|
58
|
+
title: string;
|
|
60
59
|
svgPath: string;
|
|
61
60
|
viewBox: string;
|
|
62
61
|
alt: string;
|
|
62
|
+
clickable: boolean;
|
|
63
63
|
fallbackIcon: string;
|
|
64
64
|
ariaLabel: string;
|
|
65
65
|
customClass: string;
|
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
|
-
title: string;
|
|
103
102
|
loading: boolean;
|
|
103
|
+
title: string;
|
|
104
104
|
storageKey: string;
|
|
105
105
|
defaultUsername: string;
|
|
106
106
|
defaultPassword: string;
|
package/dist/index18.vue.d.ts
CHANGED
|
@@ -59,9 +59,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
59
59
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
61
|
modelValue: string;
|
|
62
|
-
height: string | number;
|
|
63
|
-
disabled: boolean;
|
|
64
62
|
placeholder: string;
|
|
63
|
+
disabled: boolean;
|
|
64
|
+
height: string | number;
|
|
65
65
|
mode: "edit" | "editable" | "preview";
|
|
66
66
|
tocNavPosition: "left" | "right";
|
|
67
67
|
defaultFullscreen: boolean;
|
package/dist/index2.vue.d.ts
CHANGED
|
@@ -60,22 +60,22 @@ type __VLS_Props = {
|
|
|
60
60
|
theme?: AudioPlayerProps['theme'];
|
|
61
61
|
};
|
|
62
62
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
|
-
ended: (index: number) => any;
|
|
64
|
-
pause: () => any;
|
|
65
63
|
play: (index: number) => any;
|
|
64
|
+
pause: () => any;
|
|
65
|
+
ended: (index: number) => any;
|
|
66
66
|
modeChange: (mode: string) => any;
|
|
67
67
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
68
|
-
onEnded?: ((index: number) => any) | undefined;
|
|
69
|
-
onPause?: (() => any) | undefined;
|
|
70
68
|
onPlay?: ((index: number) => any) | undefined;
|
|
69
|
+
onPause?: (() => any) | undefined;
|
|
70
|
+
onEnded?: ((index: number) => any) | undefined;
|
|
71
71
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
|
-
mode: "list" | "single" | "loop" | "shuffle";
|
|
74
73
|
theme: "default" | "minimal";
|
|
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/index20.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";
|
|
37
38
|
time: number;
|
|
38
39
|
strokeWidth: number;
|
|
39
40
|
percentage: number | number[];
|
|
40
41
|
isAnimation: boolean;
|
|
41
42
|
indicatorPlacement: "inside" | "outside";
|
|
42
43
|
showIndicator: boolean;
|
|
43
|
-
status: "default" | "success" | "error" | "warning" | "info";
|
|
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/index21.vue.d.ts
CHANGED
|
@@ -24,9 +24,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
24
24
|
onChange?: ((args_0: number) => any) | undefined;
|
|
25
25
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
|
-
current: number;
|
|
28
|
-
direction: "horizontal" | "vertical";
|
|
29
27
|
clickable: boolean;
|
|
28
|
+
direction: "horizontal" | "vertical";
|
|
29
|
+
current: number;
|
|
30
30
|
connected: boolean;
|
|
31
31
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
package/dist/index22.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;
|
|
79
80
|
homePath: string;
|
|
80
81
|
homeTitle: string;
|
|
81
82
|
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/index24.vue.d.ts
CHANGED
|
@@ -90,12 +90,12 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
90
90
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
91
91
|
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
|
-
mode: "vertical" | "horizontal";
|
|
94
93
|
reverse: boolean;
|
|
95
94
|
size: "small" | "medium" | "large";
|
|
96
95
|
items: TimelineItem[];
|
|
97
|
-
|
|
96
|
+
mode: "vertical" | "horizontal";
|
|
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/index26.vue.d.ts
CHANGED
|
@@ -647,9 +647,9 @@ 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
650
|
theme: "light" | "dark";
|
|
652
651
|
options: GanttOptions;
|
|
652
|
+
height: string | number;
|
|
653
653
|
title: string;
|
|
654
654
|
data: GanttTask[];
|
|
655
655
|
showToolbar: boolean;
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -74,13 +74,13 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
74
74
|
}>, {
|
|
75
75
|
size: number;
|
|
76
76
|
overlap: number;
|
|
77
|
-
direction: "ltr" | "rtl";
|
|
78
77
|
clickable: boolean;
|
|
79
78
|
max: number;
|
|
80
79
|
shape: "circle" | "square";
|
|
81
80
|
showStatus: boolean;
|
|
82
81
|
showTooltip: boolean;
|
|
83
82
|
overflowClickable: boolean;
|
|
83
|
+
direction: "ltr" | "rtl";
|
|
84
84
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
|
86
86
|
//#endregion
|
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
|
-
height: number;
|
|
24
|
-
width: number;
|
|
25
23
|
label: string;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
24
|
+
width: number;
|
|
25
|
+
height: number;
|
|
29
26
|
fontSize: number;
|
|
30
|
-
|
|
27
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
31
28
|
showText: boolean;
|
|
32
29
|
textPosition: "bottom" | "top";
|
|
33
30
|
lineColor: string;
|
|
31
|
+
background: string;
|
|
32
|
+
showBorder: boolean;
|
|
33
|
+
showLabel: boolean;
|
|
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
|
@@ -35,9 +35,9 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
35
35
|
onReset?: (() => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
37
|
disabled: boolean;
|
|
38
|
+
theme: "light" | "dark";
|
|
38
39
|
triggerText: string;
|
|
39
40
|
images: string[];
|
|
40
|
-
theme: "light" | "dark";
|
|
41
41
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const _default: typeof __VLS_export;
|
|
43
43
|
//#endregion
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -86,18 +86,18 @@ type __VLS_Slots = {} & {
|
|
|
86
86
|
declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
87
87
|
scrollToBottom: () => void;
|
|
88
88
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
89
|
-
"load-more": () => any;
|
|
90
89
|
send: (content: string) => any;
|
|
91
90
|
"select-contact": (id: string) => any;
|
|
91
|
+
"load-more": () => any;
|
|
92
92
|
"image-preview": (url: string) => any;
|
|
93
93
|
"file-click": (msg: ChatMessage) => any;
|
|
94
94
|
"file-upload": () => any;
|
|
95
95
|
"emoji-click": () => any;
|
|
96
96
|
resend: (msg: ChatMessage) => any;
|
|
97
97
|
}, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
|
|
98
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
99
98
|
onSend?: ((content: string) => any) | undefined;
|
|
100
99
|
"onSelect-contact"?: ((id: string) => any) | undefined;
|
|
100
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
101
101
|
"onImage-preview"?: ((url: string) => any) | undefined;
|
|
102
102
|
"onFile-click"?: ((msg: ChatMessage) => any) | undefined;
|
|
103
103
|
"onFile-upload"?: (() => any) | undefined;
|
|
@@ -106,12 +106,12 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
106
106
|
}>, {
|
|
107
107
|
placeholder: string;
|
|
108
108
|
title: string;
|
|
109
|
-
messages: ChatMessage[];
|
|
110
109
|
showContacts: boolean;
|
|
111
110
|
showTimestamp: boolean;
|
|
112
111
|
showSendBtn: boolean;
|
|
113
112
|
loadingHistory: boolean;
|
|
114
113
|
contacts: ChatContact[];
|
|
114
|
+
messages: ChatMessage[];
|
|
115
115
|
currentContactId: string;
|
|
116
116
|
selfAvatar: string;
|
|
117
117
|
selfName: string;
|
|
@@ -69,22 +69,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
69
69
|
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 };
|
|
70
70
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
71
71
|
change: (activeKeys: string[]) => any;
|
|
72
|
-
collapse: (key: string) => any;
|
|
73
|
-
"update:activeKeys": (keys: string[]) => any;
|
|
74
72
|
expand: (key: string) => any;
|
|
73
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
74
|
+
collapse: (key: string) => any;
|
|
75
75
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
76
76
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
77
|
-
onCollapse?: ((key: string) => any) | undefined;
|
|
78
|
-
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
79
77
|
onExpand?: ((key: string) => any) | undefined;
|
|
78
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
79
|
+
onCollapse?: ((key: string) => any) | undefined;
|
|
80
80
|
}>, {
|
|
81
|
-
persistKey: string;
|
|
82
81
|
bordered: boolean;
|
|
83
82
|
activeKeys: string[];
|
|
84
83
|
defaultActiveKeys: string[];
|
|
85
84
|
accordion: boolean;
|
|
86
85
|
variant: CollapsePanelVariant;
|
|
87
86
|
expandIconPosition: ExpandIconPosition;
|
|
87
|
+
persistKey: string;
|
|
88
88
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
89
89
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
90
90
|
declare const _default: typeof __VLS_export;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -63,16 +63,16 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
63
63
|
onCrop?: ((result: any) => any) | undefined;
|
|
64
64
|
onConfirm?: ((result: any) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
height: string | number;
|
|
67
66
|
disabled: boolean;
|
|
68
|
-
|
|
67
|
+
height: string | number;
|
|
69
68
|
showToolbar: boolean;
|
|
69
|
+
showPreview: boolean;
|
|
70
70
|
src: string;
|
|
71
|
+
aspectRatio: number;
|
|
71
72
|
outputFormat: CropOutputFormat;
|
|
72
73
|
outputQuality: number;
|
|
73
74
|
maxOutputWidth: number;
|
|
74
75
|
maxOutputHeight: number;
|
|
75
|
-
showPreview: boolean;
|
|
76
76
|
circular: boolean;
|
|
77
77
|
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
@@ -117,9 +117,10 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
117
117
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
119
|
modelValue: DraggableItem[];
|
|
120
|
-
disabled: boolean;
|
|
121
120
|
sort: boolean;
|
|
121
|
+
disabled: boolean;
|
|
122
122
|
delay: number;
|
|
123
|
+
itemClass: string;
|
|
123
124
|
direction: "vertical" | "horizontal";
|
|
124
125
|
group: string | GroupOptions;
|
|
125
126
|
animation: number;
|
|
@@ -130,7 +131,6 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
130
131
|
dragClass: string;
|
|
131
132
|
wrapperClass: string;
|
|
132
133
|
listClass: string;
|
|
133
|
-
itemClass: string;
|
|
134
134
|
showEmptyState: boolean;
|
|
135
135
|
emptyText: string;
|
|
136
136
|
swapThreshold: number;
|
|
@@ -430,13 +430,13 @@ declare const __VLS_base: vue.DefineComponent<CFormProps, {
|
|
|
430
430
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
431
431
|
"update:modelValue": (model: Record<string, any>) => any;
|
|
432
432
|
submit: (payload: SubmitEventPayload) => any;
|
|
433
|
-
"validate-success": (model: Record<string, any>) => any;
|
|
434
433
|
"validate-error": (errors: unknown) => any;
|
|
434
|
+
"validate-success": (model: Record<string, any>) => any;
|
|
435
435
|
}, string, vue.PublicProps, Readonly<CFormProps> & Readonly<{
|
|
436
436
|
"onUpdate:modelValue"?: ((model: Record<string, any>) => any) | undefined;
|
|
437
437
|
onSubmit?: ((payload: SubmitEventPayload) => any) | undefined;
|
|
438
|
-
"onValidate-success"?: ((model: Record<string, any>) => any) | undefined;
|
|
439
438
|
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
439
|
+
"onValidate-success"?: ((model: Record<string, any>) => any) | undefined;
|
|
440
440
|
}>, {
|
|
441
441
|
config: FormConfig;
|
|
442
442
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -1351,12 +1351,14 @@ declare const useDynamicFormState: () => {
|
|
|
1351
1351
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
1352
1352
|
} | undefined;
|
|
1353
1353
|
readonly trigger?: string | readonly string[] | undefined;
|
|
1354
|
-
readonly
|
|
1354
|
+
readonly pattern?: (RegExp | string) | undefined;
|
|
1355
1355
|
readonly required?: boolean | undefined;
|
|
1356
|
+
readonly key?: string | undefined;
|
|
1357
|
+
readonly max?: number | undefined;
|
|
1358
|
+
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1359
|
+
readonly level?: "warning" | "error" | undefined;
|
|
1356
1360
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1357
|
-
readonly pattern?: (RegExp | string) | undefined;
|
|
1358
1361
|
readonly min?: number | undefined;
|
|
1359
|
-
readonly max?: number | undefined;
|
|
1360
1362
|
readonly len?: number | undefined;
|
|
1361
1363
|
readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
|
|
1362
1364
|
readonly whitespace?: boolean | undefined;
|
|
@@ -1929,9 +1931,7 @@ declare const useDynamicFormState: () => {
|
|
|
1929
1931
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
1930
1932
|
}[] | undefined;
|
|
1931
1933
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
1932
|
-
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1933
1934
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
1934
|
-
readonly level?: "warning" | "error" | undefined;
|
|
1935
1935
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
1936
1936
|
}[] | undefined;
|
|
1937
1937
|
readonly attrs?: {
|
|
@@ -3628,12 +3628,14 @@ declare const useDynamicFormState: () => {
|
|
|
3628
3628
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
3629
3629
|
} | undefined;
|
|
3630
3630
|
readonly trigger?: string | readonly string[] | undefined;
|
|
3631
|
-
readonly
|
|
3631
|
+
readonly pattern?: (RegExp | string) | undefined;
|
|
3632
3632
|
readonly required?: boolean | undefined;
|
|
3633
|
+
readonly key?: string | undefined;
|
|
3634
|
+
readonly max?: number | undefined;
|
|
3635
|
+
readonly message?: string | ((a?: string) => string) | undefined;
|
|
3636
|
+
readonly level?: "warning" | "error" | undefined;
|
|
3633
3637
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3634
|
-
readonly pattern?: (RegExp | string) | undefined;
|
|
3635
3638
|
readonly min?: number | undefined;
|
|
3636
|
-
readonly max?: number | undefined;
|
|
3637
3639
|
readonly len?: number | undefined;
|
|
3638
3640
|
readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
|
|
3639
3641
|
readonly whitespace?: boolean | undefined;
|
|
@@ -4206,9 +4208,7 @@ declare const useDynamicFormState: () => {
|
|
|
4206
4208
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
4207
4209
|
}[] | undefined;
|
|
4208
4210
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
4209
|
-
readonly message?: string | ((a?: string) => string) | undefined;
|
|
4210
4211
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
4211
|
-
readonly level?: "warning" | "error" | undefined;
|
|
4212
4212
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
4213
4213
|
}[] | undefined;
|
|
4214
4214
|
}[];
|
|
@@ -259,9 +259,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
259
259
|
onReady?: ((graph: any) => any) | undefined;
|
|
260
260
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
261
261
|
}>, {
|
|
262
|
-
height: string | number;
|
|
263
262
|
theme: "light" | "dark";
|
|
264
263
|
width: string | number;
|
|
264
|
+
height: string | number;
|
|
265
265
|
readonly: boolean;
|
|
266
266
|
showToolbar: boolean;
|
|
267
267
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -79,24 +79,24 @@ type __VLS_Slots = {} & {
|
|
|
79
79
|
footer?: (props: typeof __VLS_5) => any;
|
|
80
80
|
};
|
|
81
81
|
declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
82
|
-
"load-more": () => any;
|
|
83
82
|
"item-click": (item: WaterFallItem, index: number) => any;
|
|
83
|
+
"load-more": () => any;
|
|
84
84
|
"image-loaded": (item: WaterFallItem) => any;
|
|
85
85
|
"image-error": (item: WaterFallItem) => any;
|
|
86
86
|
}, string, vue.PublicProps, Readonly<WaterFallProps> & Readonly<{
|
|
87
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
88
87
|
"onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
|
|
88
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
89
89
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
90
90
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
92
|
loading: boolean;
|
|
93
93
|
gap: number;
|
|
94
|
-
animationDuration: number;
|
|
95
94
|
columns: number;
|
|
96
|
-
infinite: boolean;
|
|
97
95
|
lazy: boolean;
|
|
96
|
+
infinite: boolean;
|
|
98
97
|
skeleton: boolean;
|
|
99
98
|
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
|
@@ -397,20 +397,25 @@ interface DynamicRowsReturn<T extends DataRecord = DataRecord> {
|
|
|
397
397
|
declare function useDynamicRows<T extends DataRecord = DataRecord>(data: Ref<T[]>, options?: DynamicRowsOptions<T>): DynamicRowsReturn<T>;
|
|
398
398
|
//#endregion
|
|
399
399
|
//#region src/components/C_Table/composables/useTableConfig.d.ts
|
|
400
|
-
/**
|
|
401
|
-
|
|
402
|
-
|
|
400
|
+
/**
|
|
401
|
+
* 可绑定到 C_Table 的 CRUD 对象接口
|
|
402
|
+
* 默认泛型参数为 any — 使 Ref/ComputedRef 类型协变兼容,
|
|
403
|
+
* 允许 useTableCrud<Employee>() 等任意子类型直接传入而无需类型断言。
|
|
404
|
+
* C_Table 内部已将数据规范化为 DataRecord,安全无副作用。
|
|
405
|
+
*/
|
|
406
|
+
interface CrudBinding<T extends DataRecord = any> {
|
|
407
|
+
data: Ref<T[]>;
|
|
403
408
|
loading: Ref<boolean>;
|
|
404
|
-
columns: ComputedRef<TableColumn[]>;
|
|
405
|
-
actions?: ComputedRef<SimpleTableActions
|
|
406
|
-
pagination?: ComputedRef<PaginationConfig | null>;
|
|
409
|
+
columns: ComputedRef<TableColumn<T>[]>;
|
|
410
|
+
actions?: ComputedRef<SimpleTableActions<T>>;
|
|
411
|
+
pagination?: ComputedRef<PaginationConfig | false | null>;
|
|
407
412
|
tableRef?: Ref<unknown>;
|
|
408
|
-
save?: (...args:
|
|
413
|
+
save?: (...args: any[]) => any;
|
|
409
414
|
handleCancel?: () => void;
|
|
410
415
|
handlePaginationChange?: (page: number, pageSize: number) => void;
|
|
411
|
-
handleRowDelete?: (...args:
|
|
416
|
+
handleRowDelete?: (...args: any[]) => any;
|
|
412
417
|
detail?: {
|
|
413
|
-
show: (...args:
|
|
418
|
+
show: (...args: any[]) => void;
|
|
414
419
|
};
|
|
415
420
|
}
|
|
416
421
|
/** C_Table :config prop 的类型 — 所有功能配置收拢在此 */
|
|
@@ -590,8 +595,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
590
595
|
clearAllSelections(): void;
|
|
591
596
|
};
|
|
592
597
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
593
|
-
save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
|
|
594
598
|
cancel: (rowData: DataRecord, rowIndex: number) => any;
|
|
599
|
+
save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
|
|
595
600
|
"pagination-change": (...args: unknown[]) => any;
|
|
596
601
|
"row-delete": (...args: unknown[]) => any;
|
|
597
602
|
"expand-change": (expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any;
|
|
@@ -606,8 +611,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
606
611
|
"view-detail": (data: DataRecord) => any;
|
|
607
612
|
"column-change": (columns: TableColumn[]) => any;
|
|
608
613
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
609
|
-
onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
610
614
|
onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
|
|
615
|
+
onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
611
616
|
"onPagination-change"?: ((...args: unknown[]) => any) | undefined;
|
|
612
617
|
"onRow-delete"?: ((...args: unknown[]) => any) | undefined;
|
|
613
618
|
"onExpand-change"?: ((expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any) | undefined;
|