@robot-admin/naive-ui-components 0.42.2 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +1 -1
- package/README_EN.md +1 -1
- package/dist/C_ResourceSchedule.css +51 -27
- package/dist/C_ResourceSchedule.d.cts +2 -2
- package/dist/C_ResourceSchedule.d.ts +2 -2
- package/dist/C_ResourceSchedule2.cjs +1 -1
- package/dist/C_ResourceSchedule2.js +1 -1
- package/dist/C_SplitPane.css +68 -66
- package/dist/C_SplitPane2.cjs +1 -1
- package/dist/C_SplitPane2.js +1 -1
- package/dist/C_Table.base.css +128 -115
- package/dist/C_Table.css +128 -115
- package/dist/C_Table2.cjs +4 -4
- package/dist/C_Table2.js +4 -4
- package/dist/C_Tabs.css +9 -9
- package/dist/component-config.d.ts +3 -0
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants3.d.cts +8 -8
- package/dist/constants3.d.ts +8 -8
- package/dist/constants4.d.cts +7 -7
- package/dist/constants4.d.ts +7 -7
- package/dist/context.d.cts +3 -0
- package/dist/data2.d.cts +16 -12
- package/dist/data2.d.ts +16 -12
- package/dist/data3.cjs +1 -1
- package/dist/data3.js +1 -1
- package/dist/editors.d.cts +9 -8
- package/dist/editors.d.ts +9 -8
- package/dist/graphics.d.cts +1 -1
- package/dist/graphics.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index11.vue.d.ts +3 -3
- package/dist/index12.vue.d.cts +3 -3
- package/dist/index14.vue.d.ts +2 -2
- package/dist/index15.vue.d.cts +2 -2
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +2 -2
- package/dist/index20.vue.d.ts +2 -2
- package/dist/index21.vue.d.cts +2 -2
- package/dist/index21.vue.d.ts +9 -9
- package/dist/index22.vue.d.cts +9 -9
- package/dist/index23.vue.d.ts +2 -2
- package/dist/index24.vue.d.cts +2 -2
- package/dist/index24.vue.d.ts +1 -1
- package/dist/index25.vue.d.cts +1 -1
- package/dist/index26.vue.d.ts +1 -1
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +1 -1
- package/dist/index28.vue.d.cts +1 -1
- package/dist/index29.vue.d.cts +2 -2
- package/dist/index29.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +4 -4
- package/dist/index3.vue.d.ts +4 -4
- package/dist/index31.vue.d.cts +1 -1
- package/dist/index31.vue.d.ts +1 -1
- package/dist/index34.vue.d.cts +13 -2
- package/dist/index34.vue.d.ts +13 -2
- package/dist/index35.vue.d.cts +2 -2
- package/dist/index35.vue.d.ts +2 -2
- package/dist/index38.vue.d.cts +2 -2
- package/dist/index38.vue.d.ts +2 -2
- package/dist/index39.vue.d.cts +1 -1
- package/dist/index39.vue.d.ts +1 -1
- package/dist/index41.vue.d.cts +1 -1
- package/dist/index41.vue.d.ts +1 -1
- package/dist/index42.vue.d.cts +4 -4
- package/dist/index42.vue.d.ts +4 -4
- package/dist/index5.vue.d.cts +1 -1
- package/dist/index5.vue.d.ts +1 -1
- package/dist/index6.vue.d.cts +2 -2
- package/dist/index6.vue.d.ts +2 -2
- package/dist/localSource.cjs +1 -1
- package/dist/localSource.d.cts +9 -4
- package/dist/localSource.d.ts +9 -4
- package/dist/localSource.js +1 -1
- package/dist/style.css +256 -217
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +6 -6
- package/dist/useCollapsePanel.d.ts +6 -6
- package/dist/useCropperCore.d.cts +1 -1
- package/dist/useCropperCore.d.ts +1 -1
- package/dist/useFullscreen.d.cts +4 -4
- package/dist/useFullscreen.d.ts +4 -4
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +2 -2
- package/dist/useSignatureHistory.d.ts +2 -2
- package/dist/useSplitResize.d.cts +5 -4
- package/dist/useSplitResize.d.ts +5 -4
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/guides/data-picker.md +2 -0
- package/docs/guides/data-workflows.md +4 -0
- package/docs/guides/resource-schedule.md +4 -0
- package/docs/guides/split-pane.en.md +2 -0
- package/docs/guides/split-pane.md +2 -0
- package/package.json +1 -1
|
@@ -81,8 +81,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
81
81
|
"onEvent-resized"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
editable: boolean;
|
|
84
|
-
events: CalendarEvent[];
|
|
85
84
|
initialView: CalendarViewType;
|
|
85
|
+
events: CalendarEvent[];
|
|
86
86
|
showAddDialog: boolean;
|
|
87
87
|
showEditDialog: boolean;
|
|
88
88
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -81,8 +81,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
81
81
|
"onEvent-resized"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
editable: boolean;
|
|
84
|
-
events: CalendarEvent[];
|
|
85
84
|
initialView: CalendarViewType;
|
|
85
|
+
events: CalendarEvent[];
|
|
86
86
|
showAddDialog: boolean;
|
|
87
87
|
showEditDialog: boolean;
|
|
88
88
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -73,23 +73,23 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
73
73
|
};
|
|
74
74
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
75
75
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
76
|
-
|
|
76
|
+
change: (activeKeys: string[]) => any;
|
|
77
77
|
expand: (key: string) => any;
|
|
78
78
|
collapse: (key: string) => any;
|
|
79
|
-
|
|
79
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
80
80
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
81
|
-
|
|
81
|
+
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
82
82
|
onExpand?: ((key: string) => any) | undefined;
|
|
83
83
|
onCollapse?: ((key: string) => any) | undefined;
|
|
84
|
-
|
|
84
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
85
85
|
}>, {
|
|
86
86
|
bordered: boolean;
|
|
87
|
+
accordion: boolean;
|
|
88
|
+
persistKey: string;
|
|
87
89
|
activeKeys: string[];
|
|
88
90
|
defaultActiveKeys: string[];
|
|
89
|
-
accordion: boolean;
|
|
90
91
|
variant: CollapsePanelVariant;
|
|
91
92
|
expandIconPosition: ExpandIconPosition;
|
|
92
|
-
persistKey: string;
|
|
93
93
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
94
94
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
95
95
|
declare const _default: typeof __VLS_export;
|
|
@@ -73,23 +73,23 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
73
73
|
};
|
|
74
74
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
75
75
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
76
|
-
|
|
76
|
+
change: (activeKeys: string[]) => any;
|
|
77
77
|
expand: (key: string) => any;
|
|
78
78
|
collapse: (key: string) => any;
|
|
79
|
-
|
|
79
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
80
80
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
81
|
-
|
|
81
|
+
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
82
82
|
onExpand?: ((key: string) => any) | undefined;
|
|
83
83
|
onCollapse?: ((key: string) => any) | undefined;
|
|
84
|
-
|
|
84
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
85
85
|
}>, {
|
|
86
86
|
bordered: boolean;
|
|
87
|
+
accordion: boolean;
|
|
88
|
+
persistKey: string;
|
|
87
89
|
activeKeys: string[];
|
|
88
90
|
defaultActiveKeys: string[];
|
|
89
|
-
accordion: boolean;
|
|
90
91
|
variant: CollapsePanelVariant;
|
|
91
92
|
expandIconPosition: ExpandIconPosition;
|
|
92
|
-
persistKey: string;
|
|
93
93
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
94
94
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
95
95
|
declare const _default: typeof __VLS_export;
|
|
@@ -66,13 +66,13 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
height: string | number;
|
|
68
68
|
showToolbar: boolean;
|
|
69
|
-
showPreview: boolean;
|
|
70
69
|
src: string;
|
|
71
70
|
aspectRatio: number;
|
|
72
71
|
outputFormat: CropOutputFormat;
|
|
73
72
|
outputQuality: number;
|
|
74
73
|
maxOutputWidth: number;
|
|
75
74
|
maxOutputHeight: number;
|
|
75
|
+
showPreview: boolean;
|
|
76
76
|
circular: boolean;
|
|
77
77
|
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -66,13 +66,13 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
height: string | number;
|
|
68
68
|
showToolbar: boolean;
|
|
69
|
-
showPreview: boolean;
|
|
70
69
|
src: string;
|
|
71
70
|
aspectRatio: number;
|
|
72
71
|
outputFormat: CropOutputFormat;
|
|
73
72
|
outputQuality: number;
|
|
74
73
|
maxOutputWidth: number;
|
|
75
74
|
maxOutputHeight: number;
|
|
75
|
+
showPreview: boolean;
|
|
76
76
|
circular: boolean;
|
|
77
77
|
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
package/dist/useFullscreen.d.cts
CHANGED
|
@@ -4,13 +4,13 @@ import { Ref } from "vue";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/C_FilePreview/index.vue.d.ts
|
|
6
6
|
declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
7
|
-
"update:show": (show: boolean) => any;
|
|
8
|
-
download: (file: string | File) => any;
|
|
9
7
|
preview: (file: string | File) => any;
|
|
8
|
+
download: (file: string | File) => any;
|
|
9
|
+
"update:show": (show: boolean) => any;
|
|
10
10
|
}, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
|
|
11
|
-
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
12
|
-
onDownload?: ((file: string | File) => any) | undefined;
|
|
13
11
|
onPreview?: ((file: string | File) => any) | undefined;
|
|
12
|
+
onDownload?: ((file: string | File) => any) | undefined;
|
|
13
|
+
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
show: boolean;
|
|
16
16
|
inline: boolean;
|
package/dist/useFullscreen.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ import { Ref } from "vue";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/C_FilePreview/index.vue.d.ts
|
|
6
6
|
declare const __VLS_export: vue.DefineComponent<FilePreviewProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
7
|
-
"update:show": (show: boolean) => any;
|
|
8
|
-
download: (file: string | File) => any;
|
|
9
7
|
preview: (file: string | File) => any;
|
|
8
|
+
download: (file: string | File) => any;
|
|
9
|
+
"update:show": (show: boolean) => any;
|
|
10
10
|
}, string, vue.PublicProps, Readonly<FilePreviewProps> & Readonly<{
|
|
11
|
-
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
12
|
-
onDownload?: ((file: string | File) => any) | undefined;
|
|
13
11
|
onPreview?: ((file: string | File) => any) | undefined;
|
|
12
|
+
onDownload?: ((file: string | File) => any) | undefined;
|
|
13
|
+
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
show: boolean;
|
|
16
16
|
inline: boolean;
|
package/dist/useQRCode.d.cts
CHANGED
|
@@ -39,12 +39,12 @@ declare const __VLS_export: vue.DefineComponent<QRCodeProps, QRCodeExpose, {}, {
|
|
|
39
39
|
}>, {
|
|
40
40
|
size: number;
|
|
41
41
|
label: string;
|
|
42
|
-
color: string;
|
|
43
|
-
showBorder: boolean;
|
|
44
|
-
showLabel: boolean;
|
|
45
42
|
mode: RenderMode;
|
|
43
|
+
color: string;
|
|
46
44
|
margin: number;
|
|
47
45
|
bgColor: string;
|
|
46
|
+
showBorder: boolean;
|
|
47
|
+
showLabel: boolean;
|
|
48
48
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
49
49
|
logo: LogoOptions;
|
|
50
50
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -39,12 +39,12 @@ declare const __VLS_export: vue.DefineComponent<QRCodeProps, QRCodeExpose, {}, {
|
|
|
39
39
|
}>, {
|
|
40
40
|
size: number;
|
|
41
41
|
label: string;
|
|
42
|
-
color: string;
|
|
43
|
-
showBorder: boolean;
|
|
44
|
-
showLabel: boolean;
|
|
45
42
|
mode: RenderMode;
|
|
43
|
+
color: string;
|
|
46
44
|
margin: number;
|
|
47
45
|
bgColor: string;
|
|
46
|
+
showBorder: boolean;
|
|
47
|
+
showLabel: boolean;
|
|
48
48
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
49
49
|
logo: LogoOptions;
|
|
50
50
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -94,18 +94,18 @@ interface SignatureEmits {
|
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
96
96
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
97
|
-
error: (error: Error) => any;
|
|
98
97
|
change: (data: SignatureStroke[]) => any;
|
|
99
98
|
clear: () => any;
|
|
99
|
+
error: (error: Error) => any;
|
|
100
100
|
"start-draw": () => any;
|
|
101
101
|
drawing: (point: SignaturePoint) => any;
|
|
102
102
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
103
103
|
undo: () => any;
|
|
104
104
|
redo: () => any;
|
|
105
105
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
106
|
-
onError?: ((error: Error) => any) | undefined;
|
|
107
106
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
108
107
|
onClear?: (() => any) | undefined;
|
|
108
|
+
onError?: ((error: Error) => any) | undefined;
|
|
109
109
|
"onStart-draw"?: (() => any) | undefined;
|
|
110
110
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
111
111
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
@@ -94,18 +94,18 @@ interface SignatureEmits {
|
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/components/C_Signature/index.vue.d.ts
|
|
96
96
|
declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
97
|
-
error: (error: Error) => any;
|
|
98
97
|
change: (data: SignatureStroke[]) => any;
|
|
99
98
|
clear: () => any;
|
|
99
|
+
error: (error: Error) => any;
|
|
100
100
|
"start-draw": () => any;
|
|
101
101
|
drawing: (point: SignaturePoint) => any;
|
|
102
102
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
103
103
|
undo: () => any;
|
|
104
104
|
redo: () => any;
|
|
105
105
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
106
|
-
onError?: ((error: Error) => any) | undefined;
|
|
107
106
|
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
108
107
|
onClear?: (() => any) | undefined;
|
|
108
|
+
onError?: ((error: Error) => any) | undefined;
|
|
109
109
|
"onStart-draw"?: (() => any) | undefined;
|
|
110
110
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
111
111
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
@@ -55,19 +55,19 @@ type __VLS_Slots = {
|
|
|
55
55
|
second(props: PanelInfo): unknown;
|
|
56
56
|
};
|
|
57
57
|
declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
58
59
|
expand: (target: CollapseTarget) => any;
|
|
60
|
+
"update:size": (size: number) => any;
|
|
59
61
|
collapse: (target: CollapseTarget) => any;
|
|
60
62
|
"drag-start": (size: number) => any;
|
|
61
63
|
"drag-end": (size: number) => any;
|
|
62
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
63
|
-
"update:size": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
65
66
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
67
|
+
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
66
68
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
67
69
|
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
68
70
|
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
69
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
70
|
-
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
72
|
direction: SplitDirection;
|
|
73
73
|
collapsible: boolean;
|
|
@@ -103,6 +103,7 @@ interface UseSplitResizeOptions {
|
|
|
103
103
|
disabled: Ref<boolean>;
|
|
104
104
|
collapsible: Ref<boolean>;
|
|
105
105
|
step: MaybeRefOrGetter<number>;
|
|
106
|
+
interruptMotion?: () => number | undefined;
|
|
106
107
|
onUpdateSize?: (size: number) => void;
|
|
107
108
|
onResize?: (firstSize: number, secondSize: number) => void;
|
|
108
109
|
onCollapse?: (target: CollapseTarget) => void;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -55,19 +55,19 @@ type __VLS_Slots = {
|
|
|
55
55
|
second(props: PanelInfo): unknown;
|
|
56
56
|
};
|
|
57
57
|
declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
58
59
|
expand: (target: CollapseTarget) => any;
|
|
60
|
+
"update:size": (size: number) => any;
|
|
59
61
|
collapse: (target: CollapseTarget) => any;
|
|
60
62
|
"drag-start": (size: number) => any;
|
|
61
63
|
"drag-end": (size: number) => any;
|
|
62
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
63
|
-
"update:size": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
65
66
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
67
|
+
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
66
68
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
67
69
|
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
68
70
|
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
69
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
70
|
-
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
72
|
direction: SplitDirection;
|
|
73
73
|
collapsible: boolean;
|
|
@@ -103,6 +103,7 @@ interface UseSplitResizeOptions {
|
|
|
103
103
|
disabled: Ref<boolean>;
|
|
104
104
|
collapsible: Ref<boolean>;
|
|
105
105
|
step: MaybeRefOrGetter<number>;
|
|
106
|
+
interruptMotion?: () => number | undefined;
|
|
106
107
|
onUpdateSize?: (size: number) => void;
|
|
107
108
|
onResize?: (firstSize: number, secondSize: number) => void;
|
|
108
109
|
onCollapse?: (target: CollapseTarget) => void;
|
package/dist/verification.d.cts
CHANGED
|
@@ -76,16 +76,16 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
76
76
|
reset: () => void;
|
|
77
77
|
show: () => void;
|
|
78
78
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
79
|
-
success: (data: CaptchaSuccessPayload) => any;
|
|
80
79
|
change: (valid: boolean) => any;
|
|
80
|
+
success: (data: CaptchaSuccessPayload) => any;
|
|
81
81
|
fail: (error: string) => any;
|
|
82
82
|
"verify-error": (error: unknown) => any;
|
|
83
83
|
"load-error": (error: unknown) => any;
|
|
84
84
|
"visible-change": (visible: boolean) => any;
|
|
85
85
|
reset: () => any;
|
|
86
86
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
87
|
-
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
88
87
|
onChange?: ((valid: boolean) => any) | undefined;
|
|
88
|
+
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
89
89
|
onFail?: ((error: string) => any) | undefined;
|
|
90
90
|
"onVerify-error"?: ((error: unknown) => any) | undefined;
|
|
91
91
|
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
package/dist/verification.d.ts
CHANGED
|
@@ -76,16 +76,16 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
76
76
|
reset: () => void;
|
|
77
77
|
show: () => void;
|
|
78
78
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
79
|
-
success: (data: CaptchaSuccessPayload) => any;
|
|
80
79
|
change: (valid: boolean) => any;
|
|
80
|
+
success: (data: CaptchaSuccessPayload) => any;
|
|
81
81
|
fail: (error: string) => any;
|
|
82
82
|
"verify-error": (error: unknown) => any;
|
|
83
83
|
"load-error": (error: unknown) => any;
|
|
84
84
|
"visible-change": (visible: boolean) => any;
|
|
85
85
|
reset: () => any;
|
|
86
86
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
87
|
-
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
88
87
|
onChange?: ((valid: boolean) => any) | undefined;
|
|
88
|
+
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
89
89
|
onFail?: ((error: string) => any) | undefined;
|
|
90
90
|
"onVerify-error"?: ((error: unknown) => any) | undefined;
|
|
91
91
|
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
@@ -171,6 +171,8 @@ const source = createLocalDataPickerSource({
|
|
|
171
171
|
})
|
|
172
172
|
```
|
|
173
173
|
|
|
174
|
+
需要页内结构化筛选时,配置 `filter(row, filters)`。`filters` 的类型从回调声明推导,首屏未提供条件时为 `undefined`。结构化条件与内置关键词匹配共同执行,再计算总数和分页。自定义规则也可通过 `searchText: false` 配合 `filter(row, filters, { search })` 接管关键词。值回显和粘贴编码仍在传入的完整候选范围内查找。
|
|
175
|
+
|
|
174
176
|
```vue
|
|
175
177
|
<C_DataPicker
|
|
176
178
|
v-model="customerId"
|
|
@@ -137,6 +137,10 @@ const details = useDataResource({
|
|
|
137
137
|
|
|
138
138
|
## 多页签共享查询
|
|
139
139
|
|
|
140
|
+
主从表可在 `C_Table` 传 `active-row-key`,并监听 `row-activate`。事件提供行对象和稳定行键,由页面决定是否切换当前记录。传 `null` 可以在尚未选中记录时接受激活。批量勾选仍各自使用选择列,行里的链接、输入框和操作按钮保留自己的交互。
|
|
141
|
+
|
|
142
|
+
`C_Tabs` 自带方向键、Home、End 和联动焦点。内容在另一个容器时,用 `tabs-only`,并给对应项配置 `tabId` 和 `panelId`。内容区通过相同的 `panelId` 和 `aria-labelledby` 关联页签,仍可独立安排滚动和挂载时机。
|
|
143
|
+
|
|
140
144
|
`useTabbedQuery` 在 `/workflows` 提供。适合一组共用筛选条件、分别分页的页签。页面传活动页签、初始条件和一个请求函数,即可把同一份状态接到搜索与当前表格。
|
|
141
145
|
|
|
142
146
|
```ts
|
|
@@ -57,3 +57,7 @@
|
|
|
57
57
|
- `navigation` 通过 `update:range` 请求翻到相邻等长时段。页面可以按时段和资源加载数据。跨时区显示用 `timeZone`,默认 UTC。
|
|
58
58
|
- `#booking` 可定制块内摘要,`#details` 可接入页面的查看、编辑或改期操作,这些插槽收到原始业务记录。键盘焦点沿标记移动,也可直接激活预约。
|
|
59
59
|
- 组件负责展示与选择,业务提交、时间冲突复核和自动调度由宿主应用执行。
|
|
60
|
+
|
|
61
|
+
工序等固定时间轴可通过 `axisTicks` 提交明确的时间戳,用 `formatTick` 统一刻度文案。组件按实际时间定位刻度线,过滤范围外值和重复值。
|
|
62
|
+
|
|
63
|
+
用 `bookingTone` 标记业务状态,冲突仍按占用区间独立计算。`bookingLabel` 提供包含业务信息的读屏标签和提示文本。单击继续选择,`activatable` 返回 `true` 的时间块可双击或按 Enter 后发出 `activate`。当摘要已由页面展示时,可用 `hideDetails` 收起组件内摘要。
|
|
@@ -86,6 +86,8 @@ A fine divider line carries a centered capsule grip (80px long, 16px thick by de
|
|
|
86
86
|
|
|
87
87
|
The capsule itself accepts dragging without increasing the layout space reserved by `gutterSize`. Touch input gets a 24px grip thickness and permanently visible 28px buttons. Collapsed controls dock inside the container to avoid clipping. Inline SVG arrows require no remote icon request, and reduced-motion preferences disable transitions.
|
|
88
88
|
|
|
89
|
+
Collapsing, switching panes and restoring use a short transition. You can reverse it or take over by dragging before it finishes. Inside a scrolling container, the grip moves back into view with the smallest necessary scroll after the interaction. With reduced motion enabled, resizing and scrolling take effect immediately.
|
|
90
|
+
|
|
89
91
|
The [W3C APG Window Splitter pattern](https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/) informs keyboard behavior and separator semantics. Use Left/Right for left/right layouts and Up/Down for top/bottom layouts. Home/End move to the current boundaries. Enter or double-click collapses the first pane or restores either collapsed pane. A single click focuses the separator. A pointer drag starts after 3px of movement.
|
|
90
92
|
|
|
91
93
|
For workspaces that keep both panels visible, use `collapsible="false"`. The `gutterSize` sets the separator's layout width or height. Reserve space for drag travel in addition to the panel minimums and the gutter.
|
|
@@ -100,6 +100,8 @@
|
|
|
100
100
|
|
|
101
101
|
胶囊是独立的实际拖动区域,其视觉厚度不会改变 `gutterSize` 占用的布局空间。触屏下握柄厚度增至 24px、折叠按钮增至 28px,并保持按钮常驻;折叠到边缘时控件向容器内部停靠,避免被裁切。箭头使用本地 SVG,不请求远程图标。
|
|
102
102
|
|
|
103
|
+
折叠切换和恢复使用短过渡,动画中可以直接反向操作或接手拖动。分栏位于滚动容器内时,组件会在操作结束后按最短距离平滑露出手柄。系统启用「减少动态效果」时,布局和滚动立即到位。
|
|
104
|
+
|
|
103
105
|
键盘交互与 separator 语义参照 [W3C APG Window Splitter](https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/)。可用 `aria-label="订单主表"` 设置面板对应的可访问名称。
|
|
104
106
|
|
|
105
107
|
- 拖动支持鼠标、触控笔和触屏 Pointer Events,不接管宿主的 `document.onmousemove`。
|