@robot-admin/naive-ui-components 0.17.0 → 0.17.2
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 +31 -0
- package/README.md +12 -11
- package/README_EN.md +1 -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_Barcode.css +6 -6
- package/dist/C_Barcode2.cjs +1 -1
- package/dist/C_Barcode2.js +1 -1
- package/dist/C_Chat.css +269 -185
- package/dist/C_Chat2.cjs +1 -1
- package/dist/C_Chat2.js +1 -1
- package/dist/C_Code.css +26 -26
- package/dist/C_Code2.cjs +1 -1
- package/dist/C_Code2.js +1 -1
- package/dist/C_Draggable2.cjs +1 -1
- package/dist/C_Draggable2.js +1 -1
- package/dist/C_FilePreview.css +96 -57
- 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_GlobalSearch.css +140 -118
- package/dist/C_GlobalSearch2.cjs +1 -1
- package/dist/C_GlobalSearch2.js +1 -1
- package/dist/C_ImageCropper.css +10 -10
- package/dist/C_ImageCropper2.cjs +1 -1
- package/dist/C_ImageCropper2.js +1 -1
- package/dist/C_Login.css +79 -79
- package/dist/C_Login2.cjs +1 -1
- package/dist/C_Login2.js +1 -1
- package/dist/C_Map.css +10 -10
- package/dist/C_Map2.cjs +1 -1
- package/dist/C_Map2.js +1 -1
- package/dist/C_OrgChart.css +28 -4
- package/dist/C_OrgChart2.cjs +1 -1
- package/dist/C_OrgChart2.js +1 -1
- package/dist/C_QRCode2.cjs +1 -1
- package/dist/C_QRCode2.js +1 -1
- package/dist/C_Signature.css +15 -15
- package/dist/C_Signature2.cjs +1 -1
- package/dist/C_Signature2.js +1 -1
- package/dist/C_SplitPane.cjs +1 -1
- package/dist/C_SplitPane.css +231 -77
- package/dist/C_SplitPane.js +1 -1
- package/dist/C_SplitPane2.cjs +1 -1
- package/dist/C_SplitPane2.js +1 -1
- package/dist/C_Table.base.css +110 -117
- package/dist/C_Table.css +110 -117
- package/dist/C_Table.d.ts +1 -0
- 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_Transfer.css +93 -84
- package/dist/C_Transfer2.cjs +1 -1
- package/dist/C_Transfer2.js +1 -1
- package/dist/C_Tree.d.ts +1 -0
- package/dist/C_Upload.css +5 -5
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/C_VideoPlayer.css +20 -20
- package/dist/C_VideoPlayer2.cjs +4 -3
- package/dist/C_VideoPlayer2.js +4 -3
- package/dist/C_VtableGantt.css +44 -28
- package/dist/C_VtableGantt2.cjs +1 -1
- package/dist/C_VtableGantt2.js +1 -1
- package/dist/C_WaterFall.css +29 -29
- package/dist/C_WaterFall2.cjs +1 -1
- package/dist/C_WaterFall2.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/constants3.d.cts +2 -2
- package/dist/constants3.d.ts +2 -2
- package/dist/constants4.d.cts +5 -5
- package/dist/constants4.d.ts +5 -5
- package/dist/constants5.d.cts +12 -15
- package/dist/constants5.d.ts +12 -15
- package/dist/data.d.cts +9 -9
- package/dist/data.d.ts +9 -9
- package/dist/data2.cjs +1 -1
- package/dist/data2.js +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index10.vue.d.ts +2 -2
- package/dist/index11.vue.d.cts +2 -2
- package/dist/index11.vue.d.ts +5 -5
- package/dist/index12.vue.d.cts +5 -5
- package/dist/index13.vue.d.ts +1 -1
- package/dist/index14.vue.d.cts +1 -1
- package/dist/index14.vue.d.ts +5 -5
- package/dist/index15.vue.d.cts +5 -5
- package/dist/index15.vue.d.ts +1 -1
- package/dist/index16.vue.d.cts +1 -1
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.cts +1 -1
- package/dist/index18.vue.d.ts +4 -4
- package/dist/index19.vue.d.cts +4 -4
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index2.vue.d.cts +3 -3
- package/dist/index2.vue.d.ts +3 -3
- package/dist/index20.vue.d.cts +5 -1
- package/dist/index20.vue.d.ts +5 -1
- package/dist/index21.vue.d.cts +2 -2
- package/dist/index21.vue.d.ts +2 -2
- package/dist/index22.vue.d.cts +2 -2
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index23.vue.d.cts +2 -2
- package/dist/index23.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +9 -4
- package/dist/index25.vue.d.ts +9 -4
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index28.vue.d.cts +6 -2
- package/dist/index28.vue.d.ts +6 -2
- package/dist/index3.vue.d.cts +4 -4
- package/dist/index3.vue.d.ts +4 -4
- package/dist/index4.vue.d.cts +2 -2
- package/dist/index6.vue.d.ts +8 -5
- package/dist/index7.vue.d.cts +8 -5
- package/dist/index8.vue.d.ts +4 -6
- package/dist/index9.vue.d.cts +4 -6
- package/dist/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/style.css +1559 -1219
- package/dist/useCalendarEvents.d.cts +10 -0
- package/dist/useCalendarEvents.d.ts +10 -0
- package/dist/useCropperCore.d.cts +10 -10
- package/dist/useCropperCore.d.ts +10 -10
- package/dist/useDraggableLayout.d.cts +16 -14
- package/dist/useDraggableLayout.d.ts +16 -14
- package/dist/useEdgeInteraction.d.cts +4 -2
- package/dist/useEdgeInteraction.d.ts +4 -2
- package/dist/useFullscreen.d.cts +9 -3
- package/dist/useFullscreen.d.ts +9 -3
- package/dist/useGlobalSearch.d.cts +9 -4
- package/dist/useGlobalSearch.d.ts +9 -4
- package/dist/useInfiniteScroll.d.cts +6 -3
- package/dist/useInfiniteScroll.d.ts +6 -3
- package/dist/useQRCode.d.cts +2 -2
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSearchState.d.cts +2 -2
- package/dist/useSearchState.d.ts +2 -2
- package/dist/useSignatureHistory.d.cts +5 -5
- package/dist/useSignatureHistory.d.ts +5 -5
- package/dist/useSplitResize.d.cts +3 -3
- package/dist/useSplitResize.d.ts +3 -3
- package/dist/useTableQuery.cjs +3 -3
- package/dist/useTableQuery.d.cts +15 -5
- package/dist/useTableQuery.d.ts +15 -5
- package/dist/useTableQuery.js +3 -3
- package/dist/useTimeSelection.d.cts +2 -2
- package/dist/useTimeSelection.d.ts +2 -2
- package/dist/useWorkflowValidation.d.cts +8 -3
- package/dist/useWorkflowValidation.d.ts +8 -3
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/component-review-20261019.md +55 -0
- package/docs/components.en.md +4 -0
- package/docs/components.md +4 -0
- package/docs/guides/runtime-performance.md +38 -0
- package/docs/guides/split-pane.en.md +4 -0
- package/docs/guides/split-pane.md +4 -0
- package/docs/guides/table-density.md +26 -0
- package/docs/guides/transfer.md +11 -0
- package/docs/runtime-review-20261019.md +41 -0
- package/package.json +4 -2
|
@@ -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
|
}[];
|
|
@@ -51,31 +51,31 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
-
ready: () => any;
|
|
55
54
|
error: (error: Error) => any;
|
|
56
|
-
|
|
57
|
-
confirm: (result: CropResult) => any;
|
|
55
|
+
ready: () => any;
|
|
58
56
|
cancel: () => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onReady?: (() => any) | undefined;
|
|
61
60
|
onError?: ((error: Error) => any) | undefined;
|
|
62
|
-
|
|
63
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
61
|
+
onReady?: (() => any) | undefined;
|
|
64
62
|
onCancel?: (() => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
+
disabled: boolean;
|
|
66
67
|
height: string | number;
|
|
68
|
+
showPreview: boolean;
|
|
69
|
+
showToolbar: boolean;
|
|
67
70
|
src: string;
|
|
71
|
+
modalTitle: string;
|
|
68
72
|
aspectRatio: number;
|
|
69
|
-
disabled: boolean;
|
|
70
73
|
outputFormat: CropOutputFormat;
|
|
71
74
|
outputQuality: number;
|
|
72
75
|
maxOutputWidth: number;
|
|
73
76
|
maxOutputHeight: number;
|
|
74
|
-
showPreview: boolean;
|
|
75
|
-
showToolbar: boolean;
|
|
76
77
|
circular: boolean;
|
|
77
78
|
modal: boolean;
|
|
78
|
-
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -51,31 +51,31 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
-
ready: () => any;
|
|
55
54
|
error: (error: Error) => any;
|
|
56
|
-
|
|
57
|
-
confirm: (result: CropResult) => any;
|
|
55
|
+
ready: () => any;
|
|
58
56
|
cancel: () => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onReady?: (() => any) | undefined;
|
|
61
60
|
onError?: ((error: Error) => any) | undefined;
|
|
62
|
-
|
|
63
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
61
|
+
onReady?: (() => any) | undefined;
|
|
64
62
|
onCancel?: (() => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
+
disabled: boolean;
|
|
66
67
|
height: string | number;
|
|
68
|
+
showPreview: boolean;
|
|
69
|
+
showToolbar: boolean;
|
|
67
70
|
src: string;
|
|
71
|
+
modalTitle: string;
|
|
68
72
|
aspectRatio: number;
|
|
69
|
-
disabled: boolean;
|
|
70
73
|
outputFormat: CropOutputFormat;
|
|
71
74
|
outputQuality: number;
|
|
72
75
|
maxOutputWidth: number;
|
|
73
76
|
maxOutputHeight: number;
|
|
74
|
-
showPreview: boolean;
|
|
75
|
-
showToolbar: boolean;
|
|
76
77
|
circular: boolean;
|
|
77
78
|
modal: boolean;
|
|
78
|
-
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
|
+
import { DraggableEvent } from "vue-draggable-plus";
|
|
2
3
|
|
|
3
4
|
//#region src/components/C_Draggable/types.d.ts
|
|
4
5
|
interface DraggableItem {
|
|
@@ -116,31 +117,31 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
116
117
|
"onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
|
|
117
118
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
119
|
}>, {
|
|
119
|
-
sort: boolean;
|
|
120
|
-
animation: number;
|
|
121
|
-
emptyText: string;
|
|
122
|
-
direction: "vertical" | "horizontal";
|
|
123
120
|
modelValue: DraggableItem[];
|
|
124
121
|
disabled: boolean;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
gap: string | number;
|
|
128
|
-
delay: number;
|
|
129
|
-
wrapperClass: string;
|
|
130
|
-
itemClass: string;
|
|
122
|
+
sort: boolean;
|
|
123
|
+
direction: "vertical" | "horizontal";
|
|
131
124
|
group: string | GroupOptions;
|
|
125
|
+
animation: number;
|
|
126
|
+
delay: number;
|
|
132
127
|
handle: string;
|
|
133
128
|
showHandle: boolean;
|
|
134
129
|
ghostClass: string;
|
|
135
130
|
chosenClass: string;
|
|
136
131
|
dragClass: string;
|
|
132
|
+
wrapperClass: string;
|
|
137
133
|
listClass: string;
|
|
134
|
+
itemClass: string;
|
|
138
135
|
showEmptyState: boolean;
|
|
136
|
+
emptyText: string;
|
|
139
137
|
swapThreshold: number;
|
|
140
138
|
invertSwap: boolean;
|
|
139
|
+
layout: LayoutMode;
|
|
141
140
|
gridColumns: number;
|
|
142
141
|
gridRows: number;
|
|
142
|
+
gap: string | number;
|
|
143
143
|
flexWrap: boolean;
|
|
144
|
+
justifyContent: JustifyContent;
|
|
144
145
|
alignItems: AlignItems;
|
|
145
146
|
customStyles: Record<string, string | number>;
|
|
146
147
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -153,6 +154,7 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
153
154
|
};
|
|
154
155
|
//#endregion
|
|
155
156
|
//#region src/components/C_Draggable/composables/useDraggableLayout.d.ts
|
|
157
|
+
type LayoutDragEvent = Partial<Pick<DraggableEvent<DraggableItem>, 'data' | 'clonedData' | 'oldIndex' | 'newIndex' | 'oldDraggableIndex' | 'newDraggableIndex' | 'from' | 'to' | 'pullMode'>>;
|
|
156
158
|
type EmitFn = {
|
|
157
159
|
(event: 'update:modelValue', value: DraggableItem[]): void;
|
|
158
160
|
(event: 'drag-start', dragEvent: DragEvent): void;
|
|
@@ -179,10 +181,10 @@ declare function useDraggableLayout(props: DraggableProps, emit: EmitFn): {
|
|
|
179
181
|
getItemClass: () => (string | {
|
|
180
182
|
'is-disabled': boolean | undefined;
|
|
181
183
|
} | undefined)[];
|
|
182
|
-
handleStart: (event:
|
|
183
|
-
handleEnd: (event:
|
|
184
|
-
handleAdd: (event:
|
|
185
|
-
handleRemove: (event:
|
|
184
|
+
handleStart: (event: LayoutDragEvent) => void;
|
|
185
|
+
handleEnd: (event: LayoutDragEvent) => void;
|
|
186
|
+
handleAdd: (event: LayoutDragEvent) => void;
|
|
187
|
+
handleRemove: (event: LayoutDragEvent) => void;
|
|
186
188
|
handleUpdate: () => void;
|
|
187
189
|
addItem: (item: DraggableItem, index?: number) => void;
|
|
188
190
|
removeItem: (index: number) => DraggableItem | null;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
|
+
import { DraggableEvent } from "vue-draggable-plus";
|
|
2
3
|
|
|
3
4
|
//#region src/components/C_Draggable/types.d.ts
|
|
4
5
|
interface DraggableItem {
|
|
@@ -116,31 +117,31 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
116
117
|
"onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
|
|
117
118
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
119
|
}>, {
|
|
119
|
-
sort: boolean;
|
|
120
|
-
animation: number;
|
|
121
|
-
emptyText: string;
|
|
122
|
-
direction: "vertical" | "horizontal";
|
|
123
120
|
modelValue: DraggableItem[];
|
|
124
121
|
disabled: boolean;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
gap: string | number;
|
|
128
|
-
delay: number;
|
|
129
|
-
wrapperClass: string;
|
|
130
|
-
itemClass: string;
|
|
122
|
+
sort: boolean;
|
|
123
|
+
direction: "vertical" | "horizontal";
|
|
131
124
|
group: string | GroupOptions;
|
|
125
|
+
animation: number;
|
|
126
|
+
delay: number;
|
|
132
127
|
handle: string;
|
|
133
128
|
showHandle: boolean;
|
|
134
129
|
ghostClass: string;
|
|
135
130
|
chosenClass: string;
|
|
136
131
|
dragClass: string;
|
|
132
|
+
wrapperClass: string;
|
|
137
133
|
listClass: string;
|
|
134
|
+
itemClass: string;
|
|
138
135
|
showEmptyState: boolean;
|
|
136
|
+
emptyText: string;
|
|
139
137
|
swapThreshold: number;
|
|
140
138
|
invertSwap: boolean;
|
|
139
|
+
layout: LayoutMode;
|
|
141
140
|
gridColumns: number;
|
|
142
141
|
gridRows: number;
|
|
142
|
+
gap: string | number;
|
|
143
143
|
flexWrap: boolean;
|
|
144
|
+
justifyContent: JustifyContent;
|
|
144
145
|
alignItems: AlignItems;
|
|
145
146
|
customStyles: Record<string, string | number>;
|
|
146
147
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -153,6 +154,7 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
153
154
|
};
|
|
154
155
|
//#endregion
|
|
155
156
|
//#region src/components/C_Draggable/composables/useDraggableLayout.d.ts
|
|
157
|
+
type LayoutDragEvent = Partial<Pick<DraggableEvent<DraggableItem>, 'data' | 'clonedData' | 'oldIndex' | 'newIndex' | 'oldDraggableIndex' | 'newDraggableIndex' | 'from' | 'to' | 'pullMode'>>;
|
|
156
158
|
type EmitFn = {
|
|
157
159
|
(event: 'update:modelValue', value: DraggableItem[]): void;
|
|
158
160
|
(event: 'drag-start', dragEvent: DragEvent): void;
|
|
@@ -179,10 +181,10 @@ declare function useDraggableLayout(props: DraggableProps, emit: EmitFn): {
|
|
|
179
181
|
getItemClass: () => (string | {
|
|
180
182
|
'is-disabled': boolean | undefined;
|
|
181
183
|
} | undefined)[];
|
|
182
|
-
handleStart: (event:
|
|
183
|
-
handleEnd: (event:
|
|
184
|
-
handleAdd: (event:
|
|
185
|
-
handleRemove: (event:
|
|
184
|
+
handleStart: (event: LayoutDragEvent) => void;
|
|
185
|
+
handleEnd: (event: LayoutDragEvent) => void;
|
|
186
|
+
handleAdd: (event: LayoutDragEvent) => void;
|
|
187
|
+
handleRemove: (event: LayoutDragEvent) => void;
|
|
186
188
|
handleUpdate: () => void;
|
|
187
189
|
addItem: (item: DraggableItem, index?: number) => void;
|
|
188
190
|
removeItem: (index: number) => DraggableItem | null;
|
|
@@ -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
|
-
width: string | number;
|
|
263
262
|
height: string | number;
|
|
263
|
+
width: string | number;
|
|
264
|
+
readonly: boolean;
|
|
264
265
|
showToolbar: boolean;
|
|
265
266
|
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
|
-
width: string | number;
|
|
263
262
|
height: string | number;
|
|
263
|
+
width: string | number;
|
|
264
|
+
readonly: boolean;
|
|
264
265
|
showToolbar: boolean;
|
|
265
266
|
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
|
@@ -7,14 +7,16 @@ type __VLS_Props = {
|
|
|
7
7
|
url?: string;
|
|
8
8
|
fileName?: string;
|
|
9
9
|
autoPreview?: boolean;
|
|
10
|
+
inline?: boolean;
|
|
10
11
|
};
|
|
11
12
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
12
|
-
preview: (file: string | File) => any;
|
|
13
13
|
download: (file: string | File) => any;
|
|
14
|
+
preview: (file: string | File) => any;
|
|
14
15
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
onPreview?: ((file: string | File) => any) | undefined;
|
|
16
16
|
onDownload?: ((file: string | File) => any) | undefined;
|
|
17
|
+
onPreview?: ((file: string | File) => any) | undefined;
|
|
17
18
|
}>, {
|
|
19
|
+
inline: boolean;
|
|
18
20
|
fileName: string;
|
|
19
21
|
autoPreview: boolean;
|
|
20
22
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -77,6 +79,8 @@ interface FilePreviewProps {
|
|
|
77
79
|
url?: string;
|
|
78
80
|
fileName?: string;
|
|
79
81
|
autoPreview?: boolean;
|
|
82
|
+
/** 在容器中直接阅读文档,默认保留原有弹窗模式。 */
|
|
83
|
+
inline?: boolean;
|
|
80
84
|
}
|
|
81
85
|
/** 文件加载结果 — PDF */
|
|
82
86
|
interface PdfLoadResult {
|
|
@@ -112,6 +116,7 @@ declare function useFilePreview(options: UseFilePreviewOptions, emit: {
|
|
|
112
116
|
error: Ref<string, string>;
|
|
113
117
|
fileSize: Ref<number, number>;
|
|
114
118
|
showModal: Ref<boolean, boolean>;
|
|
119
|
+
hasSource: vue.ComputedRef<boolean>;
|
|
115
120
|
pdfUrl: Ref<string, string>;
|
|
116
121
|
pdfTotalPages: Ref<number, number>;
|
|
117
122
|
wordContent: Ref<string, string>;
|
|
@@ -146,9 +151,10 @@ declare function useFilePreview(options: UseFilePreviewOptions, emit: {
|
|
|
146
151
|
displayFileName: vue.ComputedRef<string>;
|
|
147
152
|
fileType: vue.ComputedRef<FilePreviewType>;
|
|
148
153
|
fileConfig: vue.ComputedRef<FileConfig>;
|
|
149
|
-
loadFile: () => Promise<
|
|
154
|
+
loadFile: () => Promise<boolean>;
|
|
150
155
|
openPreview: () => Promise<void>;
|
|
151
156
|
downloadFile: () => void;
|
|
157
|
+
clearPreview: () => void;
|
|
152
158
|
};
|
|
153
159
|
//#endregion
|
|
154
160
|
//#region src/components/C_FilePreview/composables/useFullscreen.d.ts
|
package/dist/useFullscreen.d.ts
CHANGED
|
@@ -7,14 +7,16 @@ type __VLS_Props = {
|
|
|
7
7
|
url?: string;
|
|
8
8
|
fileName?: string;
|
|
9
9
|
autoPreview?: boolean;
|
|
10
|
+
inline?: boolean;
|
|
10
11
|
};
|
|
11
12
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
12
|
-
preview: (file: string | File) => any;
|
|
13
13
|
download: (file: string | File) => any;
|
|
14
|
+
preview: (file: string | File) => any;
|
|
14
15
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
onPreview?: ((file: string | File) => any) | undefined;
|
|
16
16
|
onDownload?: ((file: string | File) => any) | undefined;
|
|
17
|
+
onPreview?: ((file: string | File) => any) | undefined;
|
|
17
18
|
}>, {
|
|
19
|
+
inline: boolean;
|
|
18
20
|
fileName: string;
|
|
19
21
|
autoPreview: boolean;
|
|
20
22
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -77,6 +79,8 @@ interface FilePreviewProps {
|
|
|
77
79
|
url?: string;
|
|
78
80
|
fileName?: string;
|
|
79
81
|
autoPreview?: boolean;
|
|
82
|
+
/** 在容器中直接阅读文档,默认保留原有弹窗模式。 */
|
|
83
|
+
inline?: boolean;
|
|
80
84
|
}
|
|
81
85
|
/** 文件加载结果 — PDF */
|
|
82
86
|
interface PdfLoadResult {
|
|
@@ -112,6 +116,7 @@ declare function useFilePreview(options: UseFilePreviewOptions, emit: {
|
|
|
112
116
|
error: Ref<string, string>;
|
|
113
117
|
fileSize: Ref<number, number>;
|
|
114
118
|
showModal: Ref<boolean, boolean>;
|
|
119
|
+
hasSource: vue.ComputedRef<boolean>;
|
|
115
120
|
pdfUrl: Ref<string, string>;
|
|
116
121
|
pdfTotalPages: Ref<number, number>;
|
|
117
122
|
wordContent: Ref<string, string>;
|
|
@@ -146,9 +151,10 @@ declare function useFilePreview(options: UseFilePreviewOptions, emit: {
|
|
|
146
151
|
displayFileName: vue.ComputedRef<string>;
|
|
147
152
|
fileType: vue.ComputedRef<FilePreviewType>;
|
|
148
153
|
fileConfig: vue.ComputedRef<FileConfig>;
|
|
149
|
-
loadFile: () => Promise<
|
|
154
|
+
loadFile: () => Promise<boolean>;
|
|
150
155
|
openPreview: () => Promise<void>;
|
|
151
156
|
downloadFile: () => void;
|
|
157
|
+
clearPreview: () => void;
|
|
152
158
|
};
|
|
153
159
|
//#endregion
|
|
154
160
|
//#region src/components/C_FilePreview/composables/useFullscreen.d.ts
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
|
+
import { MaybeRefOrGetter } from "vue";
|
|
2
3
|
|
|
3
4
|
//#region src/components/C_GlobalSearch/types.d.ts
|
|
4
5
|
type SearchIcon = string | object | ((...args: unknown[]) => unknown);
|
|
@@ -64,7 +65,7 @@ declare const _default: typeof __VLS_export;
|
|
|
64
65
|
* 已解耦:不依赖任何项目级 store / router,
|
|
65
66
|
* 所有外部数据通过 options 注入。
|
|
66
67
|
*/
|
|
67
|
-
declare function useGlobalSearch(options: GlobalSearchOptions): {
|
|
68
|
+
declare function useGlobalSearch(options: MaybeRefOrGetter<GlobalSearchOptions>): {
|
|
68
69
|
showDialog: vue.Ref<boolean, boolean>;
|
|
69
70
|
searchValue: vue.Ref<string, string>;
|
|
70
71
|
selectedIndex: vue.Ref<number, number>;
|
|
@@ -102,9 +103,13 @@ declare function useGlobalSearch(options: GlobalSearchOptions): {
|
|
|
102
103
|
closeDialog: () => void;
|
|
103
104
|
selectHistoryItem: (historyItem: HistoryItem) => void;
|
|
104
105
|
selectItem: (item: SearchMenuItem) => void;
|
|
105
|
-
handleEnter: () => void;
|
|
106
|
-
focusNext: () => void;
|
|
107
|
-
focusPrev: () => void;
|
|
106
|
+
handleEnter: (event?: KeyboardEvent) => void;
|
|
107
|
+
focusNext: (event?: KeyboardEvent) => void;
|
|
108
|
+
focusPrev: (event?: KeyboardEvent) => void;
|
|
109
|
+
handleInputKeydown: (event: KeyboardEvent) => void;
|
|
110
|
+
handleDialogKeydown: (event: KeyboardEvent) => void;
|
|
111
|
+
handleCompositionStart: () => void;
|
|
112
|
+
handleCompositionEnd: () => void;
|
|
108
113
|
};
|
|
109
114
|
//#endregion
|
|
110
115
|
export { SearchMenuItem as a, HistoryItem as i, _default as n, GlobalSearchOptions as r, useGlobalSearch as t };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
|
+
import { MaybeRefOrGetter } from "vue";
|
|
2
3
|
|
|
3
4
|
//#region src/components/C_GlobalSearch/types.d.ts
|
|
4
5
|
type SearchIcon = string | object | ((...args: unknown[]) => unknown);
|
|
@@ -64,7 +65,7 @@ declare const _default: typeof __VLS_export;
|
|
|
64
65
|
* 已解耦:不依赖任何项目级 store / router,
|
|
65
66
|
* 所有外部数据通过 options 注入。
|
|
66
67
|
*/
|
|
67
|
-
declare function useGlobalSearch(options: GlobalSearchOptions): {
|
|
68
|
+
declare function useGlobalSearch(options: MaybeRefOrGetter<GlobalSearchOptions>): {
|
|
68
69
|
showDialog: vue.Ref<boolean, boolean>;
|
|
69
70
|
searchValue: vue.Ref<string, string>;
|
|
70
71
|
selectedIndex: vue.Ref<number, number>;
|
|
@@ -102,9 +103,13 @@ declare function useGlobalSearch(options: GlobalSearchOptions): {
|
|
|
102
103
|
closeDialog: () => void;
|
|
103
104
|
selectHistoryItem: (historyItem: HistoryItem) => void;
|
|
104
105
|
selectItem: (item: SearchMenuItem) => void;
|
|
105
|
-
handleEnter: () => void;
|
|
106
|
-
focusNext: () => void;
|
|
107
|
-
focusPrev: () => void;
|
|
106
|
+
handleEnter: (event?: KeyboardEvent) => void;
|
|
107
|
+
focusNext: (event?: KeyboardEvent) => void;
|
|
108
|
+
focusPrev: (event?: KeyboardEvent) => void;
|
|
109
|
+
handleInputKeydown: (event: KeyboardEvent) => void;
|
|
110
|
+
handleDialogKeydown: (event: KeyboardEvent) => void;
|
|
111
|
+
handleCompositionStart: () => void;
|
|
112
|
+
handleCompositionEnd: () => void;
|
|
108
113
|
};
|
|
109
114
|
//#endregion
|
|
110
115
|
export { SearchMenuItem as a, HistoryItem as i, _default as n, GlobalSearchOptions as r, useGlobalSearch as t };
|
|
@@ -89,15 +89,15 @@ 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
|
-
columns: number;
|
|
94
92
|
gap: number;
|
|
93
|
+
columns: number;
|
|
95
94
|
lazy: boolean;
|
|
96
95
|
infinite: boolean;
|
|
97
96
|
skeleton: boolean;
|
|
98
97
|
skeletonCount: number;
|
|
99
98
|
animationDuration: number;
|
|
100
99
|
breakpoints: WaterFallBreakpoint[];
|
|
100
|
+
loading: boolean;
|
|
101
101
|
noMore: boolean;
|
|
102
102
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
103
103
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -129,7 +129,9 @@ declare function useResponsiveColumns(containerRef: Ref<HTMLElement | undefined>
|
|
|
129
129
|
/**
|
|
130
130
|
*
|
|
131
131
|
*/
|
|
132
|
-
declare function useWaterFallLayout(items: Ref<WaterFallItem[]>, columns: Readonly<Ref<number>>, containerWidth: Readonly<Ref<number>>, gap: Ref<number
|
|
132
|
+
declare function useWaterFallLayout(items: Ref<WaterFallItem[]>, columns: Readonly<Ref<number>>, containerWidth: Readonly<Ref<number>>, gap: Ref<number>, options?: {
|
|
133
|
+
batchImageLoads?: boolean;
|
|
134
|
+
}): {
|
|
133
135
|
layoutItems: Readonly<Ref<readonly {
|
|
134
136
|
readonly item: {
|
|
135
137
|
readonly [x: string]: any;
|
|
@@ -163,6 +165,7 @@ declare function useWaterFallLayout(items: Ref<WaterFallItem[]>, columns: Readon
|
|
|
163
165
|
}[]>>;
|
|
164
166
|
containerHeight: Readonly<Ref<number, number>>;
|
|
165
167
|
cacheImageHeight: (id: string | number, realHeight: number, basisWidth?: number, src?: string) => void;
|
|
168
|
+
cacheItemExtraHeight: (id: string | number, extraHeight: number) => void;
|
|
166
169
|
relayout: () => void;
|
|
167
170
|
};
|
|
168
171
|
//#endregion
|
|
@@ -89,15 +89,15 @@ 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
|
-
columns: number;
|
|
94
92
|
gap: number;
|
|
93
|
+
columns: number;
|
|
95
94
|
lazy: boolean;
|
|
96
95
|
infinite: boolean;
|
|
97
96
|
skeleton: boolean;
|
|
98
97
|
skeletonCount: number;
|
|
99
98
|
animationDuration: number;
|
|
100
99
|
breakpoints: WaterFallBreakpoint[];
|
|
100
|
+
loading: boolean;
|
|
101
101
|
noMore: boolean;
|
|
102
102
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
103
103
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -129,7 +129,9 @@ declare function useResponsiveColumns(containerRef: Ref<HTMLElement | undefined>
|
|
|
129
129
|
/**
|
|
130
130
|
*
|
|
131
131
|
*/
|
|
132
|
-
declare function useWaterFallLayout(items: Ref<WaterFallItem[]>, columns: Readonly<Ref<number>>, containerWidth: Readonly<Ref<number>>, gap: Ref<number
|
|
132
|
+
declare function useWaterFallLayout(items: Ref<WaterFallItem[]>, columns: Readonly<Ref<number>>, containerWidth: Readonly<Ref<number>>, gap: Ref<number>, options?: {
|
|
133
|
+
batchImageLoads?: boolean;
|
|
134
|
+
}): {
|
|
133
135
|
layoutItems: Readonly<Ref<readonly {
|
|
134
136
|
readonly item: {
|
|
135
137
|
readonly [x: string]: any;
|
|
@@ -163,6 +165,7 @@ declare function useWaterFallLayout(items: Ref<WaterFallItem[]>, columns: Readon
|
|
|
163
165
|
}[]>>;
|
|
164
166
|
containerHeight: Readonly<Ref<number, number>>;
|
|
165
167
|
cacheImageHeight: (id: string | number, realHeight: number, basisWidth?: number, src?: string) => void;
|
|
168
|
+
cacheItemExtraHeight: (id: string | number, extraHeight: number) => void;
|
|
166
169
|
relayout: () => void;
|
|
167
170
|
};
|
|
168
171
|
//#endregion
|
package/dist/useQRCode.d.cts
CHANGED
|
@@ -50,13 +50,13 @@ 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
|
-
size: number;
|
|
54
53
|
label: string;
|
|
55
54
|
color: string;
|
|
56
|
-
|
|
55
|
+
size: number;
|
|
57
56
|
bgColor: string;
|
|
58
57
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
59
58
|
margin: number;
|
|
59
|
+
mode: RenderMode;
|
|
60
60
|
logo: LogoOptions;
|
|
61
61
|
showBorder: boolean;
|
|
62
62
|
showLabel: boolean;
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -50,13 +50,13 @@ 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
|
-
size: number;
|
|
54
53
|
label: string;
|
|
55
54
|
color: string;
|
|
56
|
-
|
|
55
|
+
size: number;
|
|
57
56
|
bgColor: string;
|
|
58
57
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
59
58
|
margin: number;
|
|
59
|
+
mode: RenderMode;
|
|
60
60
|
logo: LogoOptions;
|
|
61
61
|
showBorder: boolean;
|
|
62
62
|
showLabel: boolean;
|
|
@@ -77,13 +77,13 @@ declare const __VLS_export: vue.DefineComponent<FormSearchProps, {
|
|
|
77
77
|
changeFoldState: () => void;
|
|
78
78
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
79
79
|
"update:modelValue": (params: SearchFormParams) => any;
|
|
80
|
-
search: (params: SearchFormParams) => any;
|
|
81
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
84
|
"onUpdate:modelValue"?: ((params: SearchFormParams) => any) | undefined;
|
|
85
|
-
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
86
85
|
onReset?: ((params: SearchFormParams) => any) | undefined;
|
|
86
|
+
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
87
87
|
"onChange-params"?: ((params: SearchFormParams) => any) | undefined;
|
|
88
88
|
}>, {
|
|
89
89
|
loading: boolean;
|
package/dist/useSearchState.d.ts
CHANGED
|
@@ -77,13 +77,13 @@ declare const __VLS_export: vue.DefineComponent<FormSearchProps, {
|
|
|
77
77
|
changeFoldState: () => void;
|
|
78
78
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
79
79
|
"update:modelValue": (params: SearchFormParams) => any;
|
|
80
|
-
search: (params: SearchFormParams) => any;
|
|
81
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
84
|
"onUpdate:modelValue"?: ((params: SearchFormParams) => any) | undefined;
|
|
85
|
-
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
86
85
|
onReset?: ((params: SearchFormParams) => any) | undefined;
|
|
86
|
+
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
87
87
|
"onChange-params"?: ((params: SearchFormParams) => any) | undefined;
|
|
88
88
|
}>, {
|
|
89
89
|
loading: boolean;
|