@robot-admin/naive-ui-components 0.17.1 → 0.17.3
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/dist/C_AntV.css +105 -105
- package/dist/C_AntV2.cjs +3 -3
- package/dist/C_AntV2.js +3 -3
- package/dist/C_AudioPlayer.css +53 -53
- package/dist/C_AudioPlayer2.cjs +1 -1
- package/dist/C_AudioPlayer2.js +1 -1
- package/dist/C_FilePreview.css +38 -38
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_FullCalendar.css +10 -11
- package/dist/C_FullCalendar2.cjs +1 -1
- package/dist/C_FullCalendar2.js +1 -1
- package/dist/C_Table.base.css +109 -109
- package/dist/C_Table.css +109 -109
- package/dist/C_Tabs.css +18 -18
- package/dist/C_TagsView.css +51 -51
- package/dist/C_TagsView2.cjs +1 -1
- package/dist/C_TagsView2.js +1 -1
- package/dist/C_VideoPlayer.css +20 -20
- package/dist/C_VideoPlayer2.cjs +2 -2
- package/dist/C_VideoPlayer2.js +3 -3
- package/dist/C_VtableGantt.css +44 -29
- package/dist/C_VtableGantt2.cjs +1 -1
- package/dist/C_VtableGantt2.js +1 -1
- package/dist/C_WorkFlow.css +111 -111
- package/dist/C_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/constants.d.cts +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants2.d.cts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants4.d.cts +6 -6
- package/dist/constants4.d.ts +6 -6
- package/dist/constants5.d.cts +11 -10
- package/dist/constants5.d.ts +11 -10
- package/dist/data.d.cts +13 -13
- package/dist/data.d.ts +13 -13
- package/dist/data2.cjs +1 -1
- package/dist/data2.js +1 -1
- package/dist/index.vue.d.cts +6 -6
- package/dist/index.vue.d.ts +6 -6
- package/dist/index10.vue.d.cts +5 -5
- package/dist/index10.vue.d.ts +4 -4
- package/dist/index11.vue.d.cts +4 -4
- package/dist/index11.vue.d.ts +6 -6
- package/dist/index12.vue.d.cts +6 -6
- package/dist/index13.vue.d.ts +5 -5
- package/dist/index14.vue.d.cts +5 -5
- package/dist/index14.vue.d.ts +5 -5
- package/dist/index15.vue.d.cts +5 -5
- package/dist/index15.vue.d.ts +2 -2
- package/dist/index16.vue.d.cts +2 -2
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.cts +1 -1
- package/dist/index18.vue.d.ts +6 -6
- package/dist/index19.vue.d.cts +6 -6
- package/dist/index19.vue.d.ts +5 -5
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +1 -1
- package/dist/index22.vue.d.cts +2 -2
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index23.vue.d.cts +1 -1
- package/dist/index23.vue.d.ts +1 -1
- package/dist/index25.vue.d.cts +8 -3
- package/dist/index25.vue.d.ts +8 -3
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index28.vue.d.cts +4 -4
- package/dist/index28.vue.d.ts +4 -4
- package/dist/index3.vue.d.cts +2 -2
- package/dist/index3.vue.d.ts +2 -2
- package/dist/index4.vue.d.cts +5 -5
- package/dist/index5.vue.d.ts +2 -2
- package/dist/index6.vue.d.cts +2 -2
- package/dist/index6.vue.d.ts +4 -4
- package/dist/index7.vue.d.cts +4 -4
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.cts +2 -2
- package/dist/index8.vue.d.ts +4 -4
- package/dist/index9.vue.d.cts +4 -4
- package/dist/index9.vue.d.ts +5 -5
- 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 +559 -545
- package/dist/useCalendarEvents.d.cts +10 -0
- package/dist/useCalendarEvents.d.ts +10 -0
- 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/useDraggableLayout.d.cts +7 -7
- package/dist/useDraggableLayout.d.ts +7 -7
- package/dist/useDynamicFormState.d.cts +3 -3
- package/dist/useDynamicFormState.d.ts +3 -3
- package/dist/useEdgeInteraction.d.cts +4 -2
- package/dist/useEdgeInteraction.d.ts +4 -2
- package/dist/useFullscreen.d.cts +5 -3
- package/dist/useFullscreen.d.ts +5 -3
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSearchState.d.cts +5 -5
- package/dist/useSearchState.d.ts +5 -5
- package/dist/useSignatureHistory.d.cts +6 -6
- package/dist/useSignatureHistory.d.ts +6 -6
- package/dist/useSplitResize.d.cts +8 -8
- package/dist/useSplitResize.d.ts +8 -8
- package/dist/useTableQuery.cjs +3 -3
- package/dist/useTableQuery.d.cts +12 -12
- package/dist/useTableQuery.d.ts +12 -12
- package/dist/useTableQuery.js +3 -3
- package/dist/useTimeSelection.d.cts +4 -4
- package/dist/useTimeSelection.d.ts +4 -4
- package/dist/useWorkflowValidation.d.cts +9 -4
- package/dist/useWorkflowValidation.d.ts +9 -4
- package/dist/verification.d.cts +5 -5
- package/dist/verification.d.ts +5 -5
- package/docs/components.en.md +4 -0
- package/docs/components.md +4 -0
- package/docs/guides/table-density.md +6 -0
- package/package.json +1 -1
|
@@ -7,6 +7,8 @@ interface CalendarEvent {
|
|
|
7
7
|
title: string;
|
|
8
8
|
start: Date | string;
|
|
9
9
|
end?: Date | string;
|
|
10
|
+
/** 全天事件的 end 为 FullCalendar 约定的排他结束日期。 */
|
|
11
|
+
allDay?: boolean;
|
|
10
12
|
color?: string;
|
|
11
13
|
editable?: boolean;
|
|
12
14
|
[key: string]: any;
|
|
@@ -16,6 +18,9 @@ interface CalendarEditForm {
|
|
|
16
18
|
id: string;
|
|
17
19
|
title: string;
|
|
18
20
|
date: number | null;
|
|
21
|
+
/** 编辑器中的结束日期(全天事件按包含当天显示)。 */
|
|
22
|
+
endDate?: number | null;
|
|
23
|
+
allDay?: boolean;
|
|
19
24
|
startTime: string;
|
|
20
25
|
endTime: string;
|
|
21
26
|
color: string;
|
|
@@ -122,6 +127,8 @@ declare function useCalendarEvents(props: CalendarProps, emit: EmitFn): {
|
|
|
122
127
|
id: string;
|
|
123
128
|
title: string;
|
|
124
129
|
date: number | null;
|
|
130
|
+
endDate?: number | null | undefined;
|
|
131
|
+
allDay?: boolean | undefined;
|
|
125
132
|
startTime: string;
|
|
126
133
|
endTime: string;
|
|
127
134
|
color: string;
|
|
@@ -129,6 +136,8 @@ declare function useCalendarEvents(props: CalendarProps, emit: EmitFn): {
|
|
|
129
136
|
id: string;
|
|
130
137
|
title: string;
|
|
131
138
|
date: number | null;
|
|
139
|
+
endDate?: number | null | undefined;
|
|
140
|
+
allDay?: boolean | undefined;
|
|
132
141
|
startTime: string;
|
|
133
142
|
endTime: string;
|
|
134
143
|
color: string;
|
|
@@ -147,6 +156,7 @@ declare function useCalendarEvents(props: CalendarProps, emit: EmitFn): {
|
|
|
147
156
|
end: string | Date | undefined;
|
|
148
157
|
id: string;
|
|
149
158
|
title: string;
|
|
159
|
+
allDay?: boolean | undefined;
|
|
150
160
|
color?: string | undefined;
|
|
151
161
|
editable?: boolean | undefined;
|
|
152
162
|
}[];
|
|
@@ -7,6 +7,8 @@ interface CalendarEvent {
|
|
|
7
7
|
title: string;
|
|
8
8
|
start: Date | string;
|
|
9
9
|
end?: Date | string;
|
|
10
|
+
/** 全天事件的 end 为 FullCalendar 约定的排他结束日期。 */
|
|
11
|
+
allDay?: boolean;
|
|
10
12
|
color?: string;
|
|
11
13
|
editable?: boolean;
|
|
12
14
|
[key: string]: any;
|
|
@@ -16,6 +18,9 @@ interface CalendarEditForm {
|
|
|
16
18
|
id: string;
|
|
17
19
|
title: string;
|
|
18
20
|
date: number | null;
|
|
21
|
+
/** 编辑器中的结束日期(全天事件按包含当天显示)。 */
|
|
22
|
+
endDate?: number | null;
|
|
23
|
+
allDay?: boolean;
|
|
19
24
|
startTime: string;
|
|
20
25
|
endTime: string;
|
|
21
26
|
color: string;
|
|
@@ -122,6 +127,8 @@ declare function useCalendarEvents(props: CalendarProps, emit: EmitFn): {
|
|
|
122
127
|
id: string;
|
|
123
128
|
title: string;
|
|
124
129
|
date: number | null;
|
|
130
|
+
endDate?: number | null | undefined;
|
|
131
|
+
allDay?: boolean | undefined;
|
|
125
132
|
startTime: string;
|
|
126
133
|
endTime: string;
|
|
127
134
|
color: string;
|
|
@@ -129,6 +136,8 @@ declare function useCalendarEvents(props: CalendarProps, emit: EmitFn): {
|
|
|
129
136
|
id: string;
|
|
130
137
|
title: string;
|
|
131
138
|
date: number | null;
|
|
139
|
+
endDate?: number | null | undefined;
|
|
140
|
+
allDay?: boolean | undefined;
|
|
132
141
|
startTime: string;
|
|
133
142
|
endTime: string;
|
|
134
143
|
color: string;
|
|
@@ -147,6 +156,7 @@ declare function useCalendarEvents(props: CalendarProps, emit: EmitFn): {
|
|
|
147
156
|
end: string | Date | undefined;
|
|
148
157
|
id: string;
|
|
149
158
|
title: string;
|
|
159
|
+
allDay?: boolean | undefined;
|
|
150
160
|
color?: string | undefined;
|
|
151
161
|
editable?: boolean | undefined;
|
|
152
162
|
}[];
|
|
@@ -71,19 +71,19 @@ 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
|
-
expand: (key: string) => any;
|
|
75
74
|
collapse: (key: string) => any;
|
|
75
|
+
expand: (key: string) => any;
|
|
76
76
|
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
80
79
|
onCollapse?: ((key: string) => any) | undefined;
|
|
80
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
81
81
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
-
accordion: boolean;
|
|
84
83
|
bordered: boolean;
|
|
85
84
|
activeKeys: string[];
|
|
86
85
|
defaultActiveKeys: string[];
|
|
86
|
+
accordion: boolean;
|
|
87
87
|
variant: CollapsePanelVariant;
|
|
88
88
|
expandIconPosition: ExpandIconPosition;
|
|
89
89
|
persistKey: string;
|
|
@@ -71,19 +71,19 @@ 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
|
-
expand: (key: string) => any;
|
|
75
74
|
collapse: (key: string) => any;
|
|
75
|
+
expand: (key: string) => any;
|
|
76
76
|
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
80
79
|
onCollapse?: ((key: string) => any) | undefined;
|
|
80
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
81
81
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
-
accordion: boolean;
|
|
84
83
|
bordered: boolean;
|
|
85
84
|
activeKeys: string[];
|
|
86
85
|
defaultActiveKeys: string[];
|
|
86
|
+
accordion: boolean;
|
|
87
87
|
variant: CollapsePanelVariant;
|
|
88
88
|
expandIconPosition: ExpandIconPosition;
|
|
89
89
|
persistKey: string;
|
|
@@ -52,27 +52,27 @@ interface ImageCropperEmits {
|
|
|
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
54
|
error: (error: Error) => any;
|
|
55
|
-
cancel: () => any;
|
|
56
55
|
ready: () => any;
|
|
57
56
|
crop: (result: CropResult) => any;
|
|
58
57
|
confirm: (result: CropResult) => any;
|
|
58
|
+
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onCancel?: (() => any) | undefined;
|
|
62
61
|
onReady?: (() => any) | undefined;
|
|
63
62
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
64
63
|
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
height: string | number;
|
|
67
66
|
disabled: boolean;
|
|
68
|
-
|
|
67
|
+
height: string | number;
|
|
69
68
|
src: string;
|
|
69
|
+
showPreview: boolean;
|
|
70
70
|
aspectRatio: number;
|
|
71
71
|
outputFormat: CropOutputFormat;
|
|
72
72
|
outputQuality: number;
|
|
73
73
|
maxOutputWidth: number;
|
|
74
74
|
maxOutputHeight: number;
|
|
75
|
-
|
|
75
|
+
showToolbar: boolean;
|
|
76
76
|
circular: boolean;
|
|
77
77
|
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -52,27 +52,27 @@ interface ImageCropperEmits {
|
|
|
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
54
|
error: (error: Error) => any;
|
|
55
|
-
cancel: () => any;
|
|
56
55
|
ready: () => any;
|
|
57
56
|
crop: (result: CropResult) => any;
|
|
58
57
|
confirm: (result: CropResult) => any;
|
|
58
|
+
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onCancel?: (() => any) | undefined;
|
|
62
61
|
onReady?: (() => any) | undefined;
|
|
63
62
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
64
63
|
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
height: string | number;
|
|
67
66
|
disabled: boolean;
|
|
68
|
-
|
|
67
|
+
height: string | number;
|
|
69
68
|
src: string;
|
|
69
|
+
showPreview: boolean;
|
|
70
70
|
aspectRatio: number;
|
|
71
71
|
outputFormat: CropOutputFormat;
|
|
72
72
|
outputQuality: number;
|
|
73
73
|
maxOutputWidth: number;
|
|
74
74
|
maxOutputHeight: number;
|
|
75
|
-
|
|
75
|
+
showToolbar: boolean;
|
|
76
76
|
circular: boolean;
|
|
77
77
|
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
@@ -117,25 +117,25 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
117
117
|
"onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
|
|
118
118
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
119
119
|
}>, {
|
|
120
|
+
modelValue: DraggableItem[];
|
|
120
121
|
sort: boolean;
|
|
122
|
+
direction: "vertical" | "horizontal";
|
|
121
123
|
disabled: boolean;
|
|
122
|
-
delay: number;
|
|
123
|
-
modelValue: DraggableItem[];
|
|
124
|
-
gap: string | number;
|
|
125
124
|
justifyContent: JustifyContent;
|
|
125
|
+
gap: string | number;
|
|
126
|
+
delay: number;
|
|
126
127
|
animation: number;
|
|
127
|
-
wrapperClass: string;
|
|
128
|
-
itemClass: string;
|
|
129
|
-
layout: LayoutMode;
|
|
130
|
-
direction: "vertical" | "horizontal";
|
|
131
128
|
emptyText: string;
|
|
129
|
+
layout: LayoutMode;
|
|
132
130
|
group: string | GroupOptions;
|
|
133
131
|
handle: string;
|
|
134
132
|
showHandle: boolean;
|
|
135
133
|
ghostClass: string;
|
|
136
134
|
chosenClass: string;
|
|
137
135
|
dragClass: string;
|
|
136
|
+
wrapperClass: string;
|
|
138
137
|
listClass: string;
|
|
138
|
+
itemClass: string;
|
|
139
139
|
showEmptyState: boolean;
|
|
140
140
|
swapThreshold: number;
|
|
141
141
|
invertSwap: boolean;
|
|
@@ -117,25 +117,25 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
117
117
|
"onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
|
|
118
118
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
119
119
|
}>, {
|
|
120
|
+
modelValue: DraggableItem[];
|
|
120
121
|
sort: boolean;
|
|
122
|
+
direction: "vertical" | "horizontal";
|
|
121
123
|
disabled: boolean;
|
|
122
|
-
delay: number;
|
|
123
|
-
modelValue: DraggableItem[];
|
|
124
|
-
gap: string | number;
|
|
125
124
|
justifyContent: JustifyContent;
|
|
125
|
+
gap: string | number;
|
|
126
|
+
delay: number;
|
|
126
127
|
animation: number;
|
|
127
|
-
wrapperClass: string;
|
|
128
|
-
itemClass: string;
|
|
129
|
-
layout: LayoutMode;
|
|
130
|
-
direction: "vertical" | "horizontal";
|
|
131
128
|
emptyText: string;
|
|
129
|
+
layout: LayoutMode;
|
|
132
130
|
group: string | GroupOptions;
|
|
133
131
|
handle: string;
|
|
134
132
|
showHandle: boolean;
|
|
135
133
|
ghostClass: string;
|
|
136
134
|
chosenClass: string;
|
|
137
135
|
dragClass: string;
|
|
136
|
+
wrapperClass: string;
|
|
138
137
|
listClass: string;
|
|
138
|
+
itemClass: string;
|
|
139
139
|
showEmptyState: boolean;
|
|
140
140
|
swapThreshold: number;
|
|
141
141
|
invertSwap: boolean;
|
|
@@ -637,10 +637,10 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
637
637
|
config?: FormConfig<T>; /** 当前表单实例的自定义渲染器,不污染全局注册表 */
|
|
638
638
|
renderers?: Record<string, FormRenderer>;
|
|
639
639
|
} & {
|
|
640
|
-
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
641
640
|
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
642
|
-
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
643
641
|
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
642
|
+
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
643
|
+
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
644
644
|
}> & (typeof globalThis extends {
|
|
645
645
|
__VLS_PROPS_FALLBACK: infer P;
|
|
646
646
|
} ? P : {});
|
|
@@ -675,7 +675,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
675
675
|
}>) => void;
|
|
676
676
|
attrs: any;
|
|
677
677
|
slots: FormSlots<T>;
|
|
678
|
-
emit: ((evt: "
|
|
678
|
+
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void);
|
|
679
679
|
}>) => vue.VNode & {
|
|
680
680
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
681
681
|
};
|
|
@@ -637,10 +637,10 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
637
637
|
config?: FormConfig<T>; /** 当前表单实例的自定义渲染器,不污染全局注册表 */
|
|
638
638
|
renderers?: Record<string, FormRenderer>;
|
|
639
639
|
} & {
|
|
640
|
-
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
641
640
|
"onUpdate:modelValue"?: ((model: T) => any) | undefined;
|
|
642
|
-
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
643
641
|
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
642
|
+
onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
|
|
643
|
+
"onValidate-success"?: ((model: T) => any) | undefined;
|
|
644
644
|
}> & (typeof globalThis extends {
|
|
645
645
|
__VLS_PROPS_FALLBACK: infer P;
|
|
646
646
|
} ? P : {});
|
|
@@ -675,7 +675,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
|
|
|
675
675
|
}>) => void;
|
|
676
676
|
attrs: any;
|
|
677
677
|
slots: FormSlots<T>;
|
|
678
|
-
emit: ((evt: "
|
|
678
|
+
emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void);
|
|
679
679
|
}>) => vue.VNode & {
|
|
680
680
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
681
681
|
};
|
|
@@ -259,11 +259,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
259
259
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
260
260
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
261
261
|
}>, {
|
|
262
|
-
theme: "light" | "dark";
|
|
263
262
|
width: string | number;
|
|
264
263
|
height: string | number;
|
|
265
|
-
readonly: boolean;
|
|
266
264
|
showToolbar: boolean;
|
|
265
|
+
theme: "light" | "dark";
|
|
266
|
+
readonly: boolean;
|
|
267
267
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
268
268
|
declare const _default: typeof __VLS_export;
|
|
269
269
|
//#endregion
|
|
@@ -309,6 +309,8 @@ interface EdgeInteractionOptions {
|
|
|
309
309
|
portPositions?: string[];
|
|
310
310
|
/** 数据变更回调 */
|
|
311
311
|
onDataChange?: () => void;
|
|
312
|
+
/** 运行中也重新检查写权限。 */
|
|
313
|
+
isReadonly?: () => boolean;
|
|
312
314
|
}
|
|
313
315
|
/**
|
|
314
316
|
* 图表交互 composable — 统一管理连线点击/高亮/删除 + 端口显隐
|
|
@@ -259,11 +259,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
259
259
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
260
260
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
261
261
|
}>, {
|
|
262
|
-
theme: "light" | "dark";
|
|
263
262
|
width: string | number;
|
|
264
263
|
height: string | number;
|
|
265
|
-
readonly: boolean;
|
|
266
264
|
showToolbar: boolean;
|
|
265
|
+
theme: "light" | "dark";
|
|
266
|
+
readonly: boolean;
|
|
267
267
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
268
268
|
declare const _default: typeof __VLS_export;
|
|
269
269
|
//#endregion
|
|
@@ -309,6 +309,8 @@ interface EdgeInteractionOptions {
|
|
|
309
309
|
portPositions?: string[];
|
|
310
310
|
/** 数据变更回调 */
|
|
311
311
|
onDataChange?: () => void;
|
|
312
|
+
/** 运行中也重新检查写权限。 */
|
|
313
|
+
isReadonly?: () => boolean;
|
|
312
314
|
}
|
|
313
315
|
/**
|
|
314
316
|
* 图表交互 composable — 统一管理连线点击/高亮/删除 + 端口显隐
|
package/dist/useFullscreen.d.cts
CHANGED
|
@@ -10,11 +10,11 @@ type __VLS_Props = {
|
|
|
10
10
|
inline?: boolean;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
13
|
-
download: (file: string | File) => any;
|
|
14
13
|
preview: (file: string | File) => any;
|
|
14
|
+
download: (file: string | File) => any;
|
|
15
15
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onDownload?: ((file: string | File) => any) | undefined;
|
|
17
16
|
onPreview?: ((file: string | File) => any) | undefined;
|
|
17
|
+
onDownload?: ((file: string | File) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
inline: boolean;
|
|
20
20
|
fileName: string;
|
|
@@ -116,6 +116,7 @@ declare function useFilePreview(options: UseFilePreviewOptions, emit: {
|
|
|
116
116
|
error: Ref<string, string>;
|
|
117
117
|
fileSize: Ref<number, number>;
|
|
118
118
|
showModal: Ref<boolean, boolean>;
|
|
119
|
+
hasSource: vue.ComputedRef<boolean>;
|
|
119
120
|
pdfUrl: Ref<string, string>;
|
|
120
121
|
pdfTotalPages: Ref<number, number>;
|
|
121
122
|
wordContent: Ref<string, string>;
|
|
@@ -150,9 +151,10 @@ declare function useFilePreview(options: UseFilePreviewOptions, emit: {
|
|
|
150
151
|
displayFileName: vue.ComputedRef<string>;
|
|
151
152
|
fileType: vue.ComputedRef<FilePreviewType>;
|
|
152
153
|
fileConfig: vue.ComputedRef<FileConfig>;
|
|
153
|
-
loadFile: () => Promise<
|
|
154
|
+
loadFile: () => Promise<boolean>;
|
|
154
155
|
openPreview: () => Promise<void>;
|
|
155
156
|
downloadFile: () => void;
|
|
157
|
+
clearPreview: () => void;
|
|
156
158
|
};
|
|
157
159
|
//#endregion
|
|
158
160
|
//#region src/components/C_FilePreview/composables/useFullscreen.d.ts
|
package/dist/useFullscreen.d.ts
CHANGED
|
@@ -10,11 +10,11 @@ type __VLS_Props = {
|
|
|
10
10
|
inline?: boolean;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
13
|
-
download: (file: string | File) => any;
|
|
14
13
|
preview: (file: string | File) => any;
|
|
14
|
+
download: (file: string | File) => any;
|
|
15
15
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onDownload?: ((file: string | File) => any) | undefined;
|
|
17
16
|
onPreview?: ((file: string | File) => any) | undefined;
|
|
17
|
+
onDownload?: ((file: string | File) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
inline: boolean;
|
|
20
20
|
fileName: string;
|
|
@@ -116,6 +116,7 @@ declare function useFilePreview(options: UseFilePreviewOptions, emit: {
|
|
|
116
116
|
error: Ref<string, string>;
|
|
117
117
|
fileSize: Ref<number, number>;
|
|
118
118
|
showModal: Ref<boolean, boolean>;
|
|
119
|
+
hasSource: vue.ComputedRef<boolean>;
|
|
119
120
|
pdfUrl: Ref<string, string>;
|
|
120
121
|
pdfTotalPages: Ref<number, number>;
|
|
121
122
|
wordContent: Ref<string, string>;
|
|
@@ -150,9 +151,10 @@ declare function useFilePreview(options: UseFilePreviewOptions, emit: {
|
|
|
150
151
|
displayFileName: vue.ComputedRef<string>;
|
|
151
152
|
fileType: vue.ComputedRef<FilePreviewType>;
|
|
152
153
|
fileConfig: vue.ComputedRef<FileConfig>;
|
|
153
|
-
loadFile: () => Promise<
|
|
154
|
+
loadFile: () => Promise<boolean>;
|
|
154
155
|
openPreview: () => Promise<void>;
|
|
155
156
|
downloadFile: () => void;
|
|
157
|
+
clearPreview: () => void;
|
|
156
158
|
};
|
|
157
159
|
//#endregion
|
|
158
160
|
//#region src/components/C_FilePreview/composables/useFullscreen.d.ts
|
|
@@ -79,13 +79,13 @@ 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
|
}>, {
|
|
@@ -79,13 +79,13 @@ 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
|
}>, {
|
package/dist/useQRCode.d.cts
CHANGED
|
@@ -50,15 +50,15 @@ 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
|
-
color: string;
|
|
54
|
-
mode: RenderMode;
|
|
55
53
|
size: number;
|
|
54
|
+
color: string;
|
|
56
55
|
label: string;
|
|
57
|
-
|
|
56
|
+
mode: RenderMode;
|
|
58
57
|
bgColor: string;
|
|
59
58
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
60
59
|
margin: number;
|
|
61
60
|
logo: LogoOptions;
|
|
61
|
+
showBorder: boolean;
|
|
62
62
|
showLabel: boolean;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -50,15 +50,15 @@ 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
|
-
color: string;
|
|
54
|
-
mode: RenderMode;
|
|
55
53
|
size: number;
|
|
54
|
+
color: string;
|
|
56
55
|
label: string;
|
|
57
|
-
|
|
56
|
+
mode: RenderMode;
|
|
58
57
|
bgColor: string;
|
|
59
58
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
60
59
|
margin: number;
|
|
61
60
|
logo: LogoOptions;
|
|
61
|
+
showBorder: boolean;
|
|
62
62
|
showLabel: boolean;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
@@ -76,18 +76,18 @@ declare const __VLS_export: vue.DefineComponent<FormSearchProps, {
|
|
|
76
76
|
cleanFn: () => void;
|
|
77
77
|
changeFoldState: () => void;
|
|
78
78
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
79
|
-
search: (params: SearchFormParams) => any;
|
|
80
|
-
reset: (params: SearchFormParams) => any;
|
|
81
79
|
"update:modelValue": (params: SearchFormParams) => any;
|
|
80
|
+
reset: (params: SearchFormParams) => any;
|
|
81
|
+
search: (params: SearchFormParams) => any;
|
|
82
82
|
"change-params": (params: SearchFormParams) => any;
|
|
83
83
|
}, string, vue.PublicProps, Readonly<FormSearchProps> & Readonly<{
|
|
84
|
-
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
85
|
-
onReset?: ((params: SearchFormParams) => any) | undefined;
|
|
86
84
|
"onUpdate:modelValue"?: ((params: SearchFormParams) => any) | undefined;
|
|
85
|
+
onReset?: ((params: SearchFormParams) => any) | undefined;
|
|
86
|
+
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
87
87
|
"onChange-params"?: ((params: SearchFormParams) => any) | undefined;
|
|
88
88
|
}>, {
|
|
89
|
-
bordered: boolean;
|
|
90
89
|
loading: boolean;
|
|
90
|
+
bordered: boolean;
|
|
91
91
|
formItemList: SearchFormItem[];
|
|
92
92
|
formParams: SearchFormParams;
|
|
93
93
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useSearchState.d.ts
CHANGED
|
@@ -76,18 +76,18 @@ declare const __VLS_export: vue.DefineComponent<FormSearchProps, {
|
|
|
76
76
|
cleanFn: () => void;
|
|
77
77
|
changeFoldState: () => void;
|
|
78
78
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
79
|
-
search: (params: SearchFormParams) => any;
|
|
80
|
-
reset: (params: SearchFormParams) => any;
|
|
81
79
|
"update:modelValue": (params: SearchFormParams) => any;
|
|
80
|
+
reset: (params: SearchFormParams) => any;
|
|
81
|
+
search: (params: SearchFormParams) => any;
|
|
82
82
|
"change-params": (params: SearchFormParams) => any;
|
|
83
83
|
}, string, vue.PublicProps, Readonly<FormSearchProps> & Readonly<{
|
|
84
|
-
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
85
|
-
onReset?: ((params: SearchFormParams) => any) | undefined;
|
|
86
84
|
"onUpdate:modelValue"?: ((params: SearchFormParams) => any) | undefined;
|
|
85
|
+
onReset?: ((params: SearchFormParams) => any) | undefined;
|
|
86
|
+
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
87
87
|
"onChange-params"?: ((params: SearchFormParams) => any) | undefined;
|
|
88
88
|
}>, {
|
|
89
|
-
bordered: boolean;
|
|
90
89
|
loading: boolean;
|
|
90
|
+
bordered: boolean;
|
|
91
91
|
formItemList: SearchFormItem[];
|
|
92
92
|
formParams: SearchFormParams;
|
|
93
93
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -92,29 +92,29 @@ interface SignatureEmits {
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
95
|
-
|
|
95
|
+
change: (data: SignatureStroke[]) => any;
|
|
96
96
|
clear: () => any;
|
|
97
|
+
error: (error: Error) => any;
|
|
97
98
|
"start-draw": () => any;
|
|
98
99
|
drawing: (point: SignaturePoint) => any;
|
|
99
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
100
101
|
undo: () => any;
|
|
101
102
|
redo: () => any;
|
|
102
|
-
change: (data: SignatureStroke[]) => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
|
-
|
|
104
|
+
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
105
105
|
onClear?: (() => any) | undefined;
|
|
106
|
+
onError?: ((error: Error) => any) | undefined;
|
|
106
107
|
"onStart-draw"?: (() => any) | undefined;
|
|
107
108
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
108
109
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
109
110
|
onUndo?: (() => any) | undefined;
|
|
110
111
|
onRedo?: (() => any) | undefined;
|
|
111
|
-
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
+
disabled: boolean;
|
|
113
114
|
width: number | string;
|
|
114
115
|
height: number | string;
|
|
115
|
-
disabled: boolean;
|
|
116
|
-
readonly: boolean;
|
|
117
116
|
showToolbar: boolean;
|
|
117
|
+
readonly: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const _default: typeof __VLS_export;
|
|
@@ -92,29 +92,29 @@ interface SignatureEmits {
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
94
94
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
95
|
-
|
|
95
|
+
change: (data: SignatureStroke[]) => any;
|
|
96
96
|
clear: () => any;
|
|
97
|
+
error: (error: Error) => any;
|
|
97
98
|
"start-draw": () => any;
|
|
98
99
|
drawing: (point: SignaturePoint) => any;
|
|
99
100
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
100
101
|
undo: () => any;
|
|
101
102
|
redo: () => any;
|
|
102
|
-
change: (data: SignatureStroke[]) => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
|
-
|
|
104
|
+
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
105
105
|
onClear?: (() => any) | undefined;
|
|
106
|
+
onError?: ((error: Error) => any) | undefined;
|
|
106
107
|
"onStart-draw"?: (() => any) | undefined;
|
|
107
108
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
108
109
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
109
110
|
onUndo?: (() => any) | undefined;
|
|
110
111
|
onRedo?: (() => any) | undefined;
|
|
111
|
-
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
+
disabled: boolean;
|
|
113
114
|
width: number | string;
|
|
114
115
|
height: number | string;
|
|
115
|
-
disabled: boolean;
|
|
116
|
-
readonly: boolean;
|
|
117
116
|
showToolbar: boolean;
|
|
117
|
+
readonly: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
120
120
|
declare const _default: typeof __VLS_export;
|