@robot-admin/naive-ui-components 0.24.4 → 0.24.6
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 +14 -0
- package/README.md +7 -1
- package/README_EN.md +7 -1
- package/dist/C_FormModal.css +271 -45
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_Table.base.css +109 -110
- package/dist/C_Table.css +109 -110
- package/dist/C_Table2.cjs +3 -3
- package/dist/C_Table2.js +3 -3
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants2.d.cts +6 -6
- package/dist/constants2.d.ts +6 -6
- package/dist/constants3.d.cts +3 -3
- package/dist/constants3.d.ts +3 -3
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data2.d.cts +10 -10
- package/dist/data2.d.ts +10 -10
- package/dist/formModal.cjs +1 -0
- package/dist/formModal.js +1 -0
- package/dist/index.vue.d.cts +3 -3
- package/dist/index.vue.d.ts +3 -3
- package/dist/index10.vue.d.cts +3 -3
- package/dist/index10.vue.d.ts +4 -4
- package/dist/index11.vue.d.cts +4 -4
- package/dist/index13.vue.d.ts +2 -2
- package/dist/index14.vue.d.cts +2 -2
- package/dist/index15.vue.d.ts +9 -9
- package/dist/index16.vue.d.cts +9 -9
- package/dist/index17.vue.d.ts +3 -3
- package/dist/index18.vue.d.cts +3 -3
- package/dist/index18.vue.d.ts +1 -1
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +1 -1
- 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/index22.vue.d.ts +1 -1
- package/dist/index23.vue.d.cts +1 -1
- package/dist/index24.vue.d.cts +1 -1
- package/dist/index24.vue.d.ts +1 -1
- package/dist/index25.vue.d.cts +1 -1
- package/dist/index25.vue.d.ts +1 -1
- package/dist/index26.vue.d.cts +3 -3
- package/dist/index26.vue.d.ts +3 -3
- package/dist/index28.vue.d.cts +2 -2
- package/dist/index28.vue.d.ts +2 -2
- 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/index9.vue.d.ts +3 -3
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/style.css +110 -166
- 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 +7 -7
- package/dist/useCropperCore.d.ts +7 -7
- package/dist/useDynamicFormState.d.cts +7 -7
- package/dist/useDynamicFormState.d.ts +7 -7
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +1 -1
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +11 -11
- package/dist/useSplitResize.d.ts +11 -11
- package/dist/useWorkflowValidation.d.cts +3 -3
- package/dist/useWorkflowValidation.d.ts +3 -3
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/guides/form-density.en.md +4 -0
- package/docs/guides/form-density.md +4 -0
- package/package.json +1 -1
|
@@ -70,23 +70,23 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
70
70
|
};
|
|
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
|
-
change: (activeKeys: string[]) => any;
|
|
74
|
-
"update:activeKeys": (keys: string[]) => any;
|
|
75
73
|
expand: (key: string) => any;
|
|
74
|
+
change: (activeKeys: string[]) => any;
|
|
76
75
|
collapse: (key: string) => any;
|
|
76
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
|
-
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
-
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
80
78
|
onExpand?: ((key: string) => any) | undefined;
|
|
79
|
+
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
81
80
|
onCollapse?: ((key: string) => any) | undefined;
|
|
81
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
bordered: boolean;
|
|
84
|
+
accordion: boolean;
|
|
85
|
+
persistKey: string;
|
|
84
86
|
activeKeys: string[];
|
|
85
87
|
defaultActiveKeys: string[];
|
|
86
|
-
accordion: boolean;
|
|
87
88
|
variant: CollapsePanelVariant;
|
|
88
89
|
expandIconPosition: ExpandIconPosition;
|
|
89
|
-
persistKey: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
92
92
|
declare const _default: typeof __VLS_export;
|
|
@@ -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
|
-
error: (error: Error) => any;
|
|
55
|
-
ready: () => any;
|
|
56
54
|
confirm: (result: CropResult) => any;
|
|
55
|
+
ready: () => any;
|
|
56
|
+
error: (error: Error) => any;
|
|
57
57
|
cancel: () => any;
|
|
58
58
|
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onReady?: (() => any) | undefined;
|
|
62
60
|
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
61
|
+
onReady?: (() => any) | undefined;
|
|
62
|
+
onError?: ((error: Error) => any) | undefined;
|
|
63
63
|
onCancel?: (() => any) | undefined;
|
|
64
64
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
height: string | number;
|
|
68
68
|
showToolbar: boolean;
|
|
69
|
-
src: string;
|
|
70
69
|
aspectRatio: number;
|
|
70
|
+
showPreview: boolean;
|
|
71
|
+
modalTitle: string;
|
|
72
|
+
src: string;
|
|
71
73
|
outputFormat: CropOutputFormat;
|
|
72
74
|
outputQuality: number;
|
|
73
75
|
maxOutputWidth: number;
|
|
74
76
|
maxOutputHeight: number;
|
|
75
|
-
showPreview: 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
|
-
error: (error: Error) => any;
|
|
55
|
-
ready: () => any;
|
|
56
54
|
confirm: (result: CropResult) => any;
|
|
55
|
+
ready: () => any;
|
|
56
|
+
error: (error: Error) => any;
|
|
57
57
|
cancel: () => any;
|
|
58
58
|
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onReady?: (() => any) | undefined;
|
|
62
60
|
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
61
|
+
onReady?: (() => any) | undefined;
|
|
62
|
+
onError?: ((error: Error) => any) | undefined;
|
|
63
63
|
onCancel?: (() => any) | undefined;
|
|
64
64
|
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
height: string | number;
|
|
68
68
|
showToolbar: boolean;
|
|
69
|
-
src: string;
|
|
70
69
|
aspectRatio: number;
|
|
70
|
+
showPreview: boolean;
|
|
71
|
+
modalTitle: string;
|
|
72
|
+
src: string;
|
|
71
73
|
outputFormat: CropOutputFormat;
|
|
72
74
|
outputQuality: number;
|
|
73
75
|
maxOutputWidth: number;
|
|
74
76
|
maxOutputHeight: number;
|
|
75
|
-
showPreview: 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
|
|
@@ -967,26 +967,26 @@ interface TreeSlots<T extends object = TreeOption$1> {
|
|
|
967
967
|
declare const __VLS_export$1: <T extends object = TreeNodeData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
968
968
|
props: vue.PublicProps & __VLS_PrettifyLocal$1<TreeProps$1<T> & {
|
|
969
969
|
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
970
|
-
onRefresh?: (() => any) | undefined;
|
|
971
970
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
972
|
-
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "
|
|
973
|
-
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "
|
|
974
|
-
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "
|
|
971
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
972
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
973
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
975
974
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
976
975
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
977
976
|
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
978
977
|
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
978
|
+
onRefresh?: (() => any) | undefined;
|
|
979
979
|
}> & (typeof globalThis extends {
|
|
980
980
|
__VLS_PROPS_FALLBACK: infer P;
|
|
981
981
|
} ? P : {});
|
|
982
|
-
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "
|
|
982
|
+
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "selectedKeys" | "expandedKeys" | "checkedKeys"> & {
|
|
983
983
|
expandedKeys: vue.Ref<TreeKey[]>;
|
|
984
984
|
selectedKeys: vue.Ref<TreeKey[]>;
|
|
985
985
|
checkedKeys: vue.Ref<TreeKey[]>;
|
|
986
986
|
}>) => void;
|
|
987
987
|
attrs: any;
|
|
988
988
|
slots: TreeSlots<T>;
|
|
989
|
-
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "
|
|
989
|
+
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "refresh") => void);
|
|
990
990
|
}>) => vue.VNode & {
|
|
991
991
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
992
992
|
};
|
|
@@ -1024,7 +1024,7 @@ declare function useTreeOperations<T extends object = TreeNodeData>(props: TreeP
|
|
|
1024
1024
|
handleDrop: (info: DropInfo<T>) => void;
|
|
1025
1025
|
handleAdd: () => void;
|
|
1026
1026
|
handleRefresh: () => void;
|
|
1027
|
-
expose: Omit<TreeExpose<T>, "
|
|
1027
|
+
expose: Omit<TreeExpose<T>, "selectedKeys" | "expandedKeys" | "checkedKeys"> & {
|
|
1028
1028
|
expandedKeys: Ref<TreeKey[]>;
|
|
1029
1029
|
selectedKeys: Ref<TreeKey[]>;
|
|
1030
1030
|
checkedKeys: Ref<TreeKey[]>;
|
|
@@ -957,26 +957,26 @@ interface TreeSlots<T extends object = TreeOption$1> {
|
|
|
957
957
|
declare const __VLS_export$1: <T extends object = TreeNodeData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
958
958
|
props: vue.PublicProps & __VLS_PrettifyLocal$1<TreeProps$1<T> & {
|
|
959
959
|
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
960
|
-
onRefresh?: (() => any) | undefined;
|
|
961
960
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
962
|
-
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "
|
|
963
|
-
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "
|
|
964
|
-
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "
|
|
961
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
962
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
963
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
965
964
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
966
965
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
967
966
|
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
968
967
|
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
968
|
+
onRefresh?: (() => any) | undefined;
|
|
969
969
|
}> & (typeof globalThis extends {
|
|
970
970
|
__VLS_PROPS_FALLBACK: infer P;
|
|
971
971
|
} ? P : {});
|
|
972
|
-
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "
|
|
972
|
+
expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "selectedKeys" | "expandedKeys" | "checkedKeys"> & {
|
|
973
973
|
expandedKeys: vue.Ref<TreeKey[]>;
|
|
974
974
|
selectedKeys: vue.Ref<TreeKey[]>;
|
|
975
975
|
checkedKeys: vue.Ref<TreeKey[]>;
|
|
976
976
|
}>) => void;
|
|
977
977
|
attrs: any;
|
|
978
978
|
slots: TreeSlots<T>;
|
|
979
|
-
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "
|
|
979
|
+
emit: ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "filter" | "select" | "expand" | "unselect" | "collapse" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "refresh") => void);
|
|
980
980
|
}>) => vue.VNode & {
|
|
981
981
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
982
982
|
};
|
|
@@ -1014,7 +1014,7 @@ declare function useTreeOperations<T extends object = TreeNodeData>(props: TreeP
|
|
|
1014
1014
|
handleDrop: (info: DropInfo<T>) => void;
|
|
1015
1015
|
handleAdd: () => void;
|
|
1016
1016
|
handleRefresh: () => void;
|
|
1017
|
-
expose: Omit<TreeExpose<T>, "
|
|
1017
|
+
expose: Omit<TreeExpose<T>, "selectedKeys" | "expandedKeys" | "checkedKeys"> & {
|
|
1018
1018
|
expandedKeys: Ref<TreeKey[]>;
|
|
1019
1019
|
selectedKeys: Ref<TreeKey[]>;
|
|
1020
1020
|
checkedKeys: Ref<TreeKey[]>;
|
|
@@ -264,10 +264,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
264
264
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
|
+
readonly: boolean;
|
|
267
268
|
width: string | number;
|
|
268
269
|
theme: "light" | "dark";
|
|
269
270
|
height: string | number;
|
|
270
|
-
readonly: boolean;
|
|
271
271
|
showToolbar: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
@@ -264,10 +264,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
264
264
|
onReady?: ((graph: Graph) => any) | undefined;
|
|
265
265
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
266
266
|
}>, {
|
|
267
|
+
readonly: boolean;
|
|
267
268
|
width: string | number;
|
|
268
269
|
theme: "light" | "dark";
|
|
269
270
|
height: string | number;
|
|
270
|
-
readonly: boolean;
|
|
271
271
|
showToolbar: boolean;
|
|
272
272
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
273
273
|
declare const _default: typeof __VLS_export;
|
|
@@ -87,10 +87,10 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
87
87
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
88
88
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
+
columns: number;
|
|
90
91
|
loading: boolean;
|
|
91
92
|
virtualScroll: boolean;
|
|
92
93
|
gap: number;
|
|
93
|
-
columns: number;
|
|
94
94
|
lazy: boolean;
|
|
95
95
|
infinite: boolean;
|
|
96
96
|
skeleton: boolean;
|
|
@@ -87,10 +87,10 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
87
87
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
88
88
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
+
columns: number;
|
|
90
91
|
loading: boolean;
|
|
91
92
|
virtualScroll: boolean;
|
|
92
93
|
gap: number;
|
|
93
|
-
columns: number;
|
|
94
94
|
lazy: boolean;
|
|
95
95
|
infinite: boolean;
|
|
96
96
|
skeleton: boolean;
|
package/dist/useQRCode.d.cts
CHANGED
|
@@ -50,16 +50,16 @@ 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
53
|
mode: RenderMode;
|
|
54
|
+
color: string;
|
|
55
55
|
size: number;
|
|
56
56
|
label: string;
|
|
57
|
+
showBorder: boolean;
|
|
58
|
+
showLabel: boolean;
|
|
57
59
|
bgColor: string;
|
|
58
60
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
59
61
|
margin: number;
|
|
60
62
|
logo: LogoOptions;
|
|
61
|
-
showBorder: boolean;
|
|
62
|
-
showLabel: boolean;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
//#endregion
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -50,16 +50,16 @@ 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
53
|
mode: RenderMode;
|
|
54
|
+
color: string;
|
|
55
55
|
size: number;
|
|
56
56
|
label: string;
|
|
57
|
+
showBorder: boolean;
|
|
58
|
+
showLabel: boolean;
|
|
57
59
|
bgColor: string;
|
|
58
60
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
59
61
|
margin: number;
|
|
60
62
|
logo: LogoOptions;
|
|
61
|
-
showBorder: boolean;
|
|
62
|
-
showLabel: boolean;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
//#endregion
|
|
@@ -93,27 +93,27 @@ interface SignatureEmits {
|
|
|
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
|
clear: () => any;
|
|
96
|
-
change: (data: SignatureStroke[]) => any;
|
|
97
96
|
error: (error: Error) => any;
|
|
98
97
|
"start-draw": () => any;
|
|
99
98
|
drawing: (point: SignaturePoint) => any;
|
|
100
99
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
101
100
|
undo: () => any;
|
|
102
101
|
redo: () => any;
|
|
102
|
+
change: (data: SignatureStroke[]) => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
104
|
onClear?: (() => any) | undefined;
|
|
105
|
-
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
106
105
|
onError?: ((error: Error) => any) | undefined;
|
|
107
106
|
"onStart-draw"?: (() => any) | undefined;
|
|
108
107
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
109
108
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
110
109
|
onUndo?: (() => any) | undefined;
|
|
111
110
|
onRedo?: (() => any) | undefined;
|
|
111
|
+
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
-
width: number | string;
|
|
114
113
|
disabled: boolean;
|
|
115
|
-
height: number | string;
|
|
116
114
|
readonly: boolean;
|
|
115
|
+
width: number | string;
|
|
116
|
+
height: number | string;
|
|
117
117
|
showToolbar: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -93,27 +93,27 @@ interface SignatureEmits {
|
|
|
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
|
clear: () => any;
|
|
96
|
-
change: (data: SignatureStroke[]) => any;
|
|
97
96
|
error: (error: Error) => any;
|
|
98
97
|
"start-draw": () => any;
|
|
99
98
|
drawing: (point: SignaturePoint) => any;
|
|
100
99
|
"end-draw": (stroke: SignatureStroke) => any;
|
|
101
100
|
undo: () => any;
|
|
102
101
|
redo: () => any;
|
|
102
|
+
change: (data: SignatureStroke[]) => any;
|
|
103
103
|
}, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
|
|
104
104
|
onClear?: (() => any) | undefined;
|
|
105
|
-
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
106
105
|
onError?: ((error: Error) => any) | undefined;
|
|
107
106
|
"onStart-draw"?: (() => any) | undefined;
|
|
108
107
|
onDrawing?: ((point: SignaturePoint) => any) | undefined;
|
|
109
108
|
"onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
|
|
110
109
|
onUndo?: (() => any) | undefined;
|
|
111
110
|
onRedo?: (() => any) | undefined;
|
|
111
|
+
onChange?: ((data: SignatureStroke[]) => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
|
-
width: number | string;
|
|
114
113
|
disabled: boolean;
|
|
115
|
-
height: number | string;
|
|
116
114
|
readonly: boolean;
|
|
115
|
+
width: number | string;
|
|
116
|
+
height: number | string;
|
|
117
117
|
showToolbar: boolean;
|
|
118
118
|
maxHistory: number;
|
|
119
119
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -55,31 +55,31 @@ 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
|
-
"drag-start": (size: number) => any;
|
|
59
|
-
"drag-end": (size: number) => any;
|
|
60
58
|
expand: (target: CollapseTarget) => any;
|
|
61
|
-
collapse: (target: CollapseTarget) => any;
|
|
62
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
63
59
|
"update:size": (size: number) => any;
|
|
60
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
61
|
+
collapse: (target: CollapseTarget) => any;
|
|
62
|
+
"drag-start": (size: number) => any;
|
|
63
|
+
"drag-end": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
|
-
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
66
|
-
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
67
65
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
68
|
-
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
69
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
70
66
|
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
67
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
68
|
+
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
69
|
+
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
70
|
+
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
|
+
step: number;
|
|
72
73
|
disabled: boolean;
|
|
73
74
|
direction: SplitDirection;
|
|
74
|
-
collapsible: boolean;
|
|
75
|
-
maxSize: number;
|
|
76
75
|
defaultSize: number;
|
|
77
76
|
minSize: number;
|
|
77
|
+
maxSize: number;
|
|
78
78
|
minFirstSize: number;
|
|
79
79
|
minSecondSize: number;
|
|
80
|
+
collapsible: boolean;
|
|
80
81
|
showCollapseButton: boolean;
|
|
81
82
|
gutterSize: number;
|
|
82
|
-
step: number;
|
|
83
83
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
84
84
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -55,31 +55,31 @@ 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
|
-
"drag-start": (size: number) => any;
|
|
59
|
-
"drag-end": (size: number) => any;
|
|
60
58
|
expand: (target: CollapseTarget) => any;
|
|
61
|
-
collapse: (target: CollapseTarget) => any;
|
|
62
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
63
59
|
"update:size": (size: number) => any;
|
|
60
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
61
|
+
collapse: (target: CollapseTarget) => any;
|
|
62
|
+
"drag-start": (size: number) => any;
|
|
63
|
+
"drag-end": (size: number) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<SplitPaneProps> & Readonly<{
|
|
65
|
-
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
66
|
-
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
67
65
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
68
|
-
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
69
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
70
66
|
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
67
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
68
|
+
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
69
|
+
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
70
|
+
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
|
+
step: number;
|
|
72
73
|
disabled: boolean;
|
|
73
74
|
direction: SplitDirection;
|
|
74
|
-
collapsible: boolean;
|
|
75
|
-
maxSize: number;
|
|
76
75
|
defaultSize: number;
|
|
77
76
|
minSize: number;
|
|
77
|
+
maxSize: number;
|
|
78
78
|
minFirstSize: number;
|
|
79
79
|
minSecondSize: number;
|
|
80
|
+
collapsible: boolean;
|
|
80
81
|
showCollapseButton: boolean;
|
|
81
82
|
gutterSize: number;
|
|
82
|
-
step: number;
|
|
83
83
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
84
84
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
|
@@ -261,20 +261,20 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
|
|
|
261
261
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
262
262
|
"update:modelValue": (value: WorkflowData) => any;
|
|
263
263
|
change: (value: WorkflowData) => any;
|
|
264
|
-
"node-click": (node: WorkflowNode<NodeType>) => any;
|
|
265
264
|
save: (data: WorkflowData) => any;
|
|
266
265
|
"validate-error": (errors: ValidationError[]) => any;
|
|
266
|
+
"node-click": (node: WorkflowNode<NodeType>) => any;
|
|
267
267
|
"edge-click": (edge: WorkflowEdge) => any;
|
|
268
268
|
}, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
|
|
269
269
|
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
270
270
|
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
271
|
-
"onNode-click"?: ((node: WorkflowNode<NodeType>) => any) | undefined;
|
|
272
271
|
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
273
272
|
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
273
|
+
"onNode-click"?: ((node: WorkflowNode<NodeType>) => any) | undefined;
|
|
274
274
|
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
275
275
|
}>, {
|
|
276
|
-
theme: "light" | "dark";
|
|
277
276
|
readonly: boolean;
|
|
277
|
+
theme: "light" | "dark";
|
|
278
278
|
users: User[];
|
|
279
279
|
roles: Role[];
|
|
280
280
|
departments: Department[];
|
|
@@ -261,20 +261,20 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
|
|
|
261
261
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
262
262
|
"update:modelValue": (value: WorkflowData) => any;
|
|
263
263
|
change: (value: WorkflowData) => any;
|
|
264
|
-
"node-click": (node: WorkflowNode<NodeType>) => any;
|
|
265
264
|
save: (data: WorkflowData) => any;
|
|
266
265
|
"validate-error": (errors: ValidationError[]) => any;
|
|
266
|
+
"node-click": (node: WorkflowNode<NodeType>) => any;
|
|
267
267
|
"edge-click": (edge: WorkflowEdge) => any;
|
|
268
268
|
}, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
|
|
269
269
|
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
270
270
|
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
271
|
-
"onNode-click"?: ((node: WorkflowNode<NodeType>) => any) | undefined;
|
|
272
271
|
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
273
272
|
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
273
|
+
"onNode-click"?: ((node: WorkflowNode<NodeType>) => any) | undefined;
|
|
274
274
|
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
275
275
|
}>, {
|
|
276
|
-
theme: "light" | "dark";
|
|
277
276
|
readonly: boolean;
|
|
277
|
+
theme: "light" | "dark";
|
|
278
278
|
users: User[];
|
|
279
279
|
roles: Role[];
|
|
280
280
|
departments: Department[];
|
package/dist/verification.d.cts
CHANGED
|
@@ -78,16 +78,16 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
78
78
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
79
79
|
change: (valid: boolean) => any;
|
|
80
80
|
success: (data: CaptchaSuccessPayload) => any;
|
|
81
|
-
"load-error": (error: unknown) => any;
|
|
82
81
|
reset: () => any;
|
|
82
|
+
"load-error": (error: unknown) => any;
|
|
83
83
|
fail: (error: string) => any;
|
|
84
84
|
"verify-error": (error: unknown) => any;
|
|
85
85
|
"visible-change": (visible: boolean) => any;
|
|
86
86
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
87
87
|
onChange?: ((valid: boolean) => any) | undefined;
|
|
88
88
|
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
89
|
-
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
90
89
|
onReset?: (() => any) | undefined;
|
|
90
|
+
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
91
91
|
onFail?: ((error: string) => any) | undefined;
|
|
92
92
|
"onVerify-error"?: ((error: unknown) => any) | undefined;
|
|
93
93
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
package/dist/verification.d.ts
CHANGED
|
@@ -78,16 +78,16 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
78
78
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
79
79
|
change: (valid: boolean) => any;
|
|
80
80
|
success: (data: CaptchaSuccessPayload) => any;
|
|
81
|
-
"load-error": (error: unknown) => any;
|
|
82
81
|
reset: () => any;
|
|
82
|
+
"load-error": (error: unknown) => any;
|
|
83
83
|
fail: (error: string) => any;
|
|
84
84
|
"verify-error": (error: unknown) => any;
|
|
85
85
|
"visible-change": (visible: boolean) => any;
|
|
86
86
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
87
87
|
onChange?: ((valid: boolean) => any) | undefined;
|
|
88
88
|
onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
|
|
89
|
-
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
90
89
|
onReset?: (() => any) | undefined;
|
|
90
|
+
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
91
91
|
onFail?: ((error: string) => any) | undefined;
|
|
92
92
|
"onVerify-error"?: ((error: unknown) => any) | undefined;
|
|
93
93
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
@@ -43,6 +43,10 @@ Density presets are plain data and preserve lazy loading of layouts and fields.
|
|
|
43
43
|
|
|
44
44
|
`C_FormModal` defaults to `compact` and inherits application form density. Compact modals use `small` fields and `tiny` footer buttons, matching compact action bars. Explicit `config.size` still controls both fields and buttons; explicit `default` / `comfortable` density uses its corresponding size. Table editor modals inherit table density as well.
|
|
45
45
|
|
|
46
|
+
Compact modals leave 10px between the header and first field and 12px on either side. Bottom spacing does not constrain real validation feedback. Viewport limits keep the header and footer visible while long content scrolls. Native Card section styles affect only the modal shell, preserving nested cards and slots without adding per-field measurements or watchers.
|
|
47
|
+
|
|
48
|
+
`C_Table` editor dialogs share these section styles and viewport limits. `edit.modalWidth` is in pixels and defaults to 600. A configured width of 700 remains 700px on desktop and is capped at the viewport width minus 24px on narrow screens. Fields collapse from two columns to one as needed. Invalid numeric widths fall back to the default; saving, cancellation and validation retain their existing edit-session behavior.
|
|
49
|
+
|
|
46
50
|
## Application defaults with on-demand imports
|
|
47
51
|
|
|
48
52
|
Provide defaults once during application startup. Local `config.density` takes precedence; search inherits only density, not form layout, callbacks or size.
|
|
@@ -60,6 +60,10 @@ const largeFields = { density: 'compact', size: 'large' } as const
|
|
|
60
60
|
|
|
61
61
|
`C_FormModal` 默认使用 `compact`,也继承应用级表单密度;紧凑弹窗的字段为 `small`,页脚按钮为 `tiny`,与紧凑操作栏一致。显式 `config.size` 仍同时控制字段和按钮;显式 `default` / `comfortable` 密度使用对应尺寸。表格编辑弹窗也会继承表格密度。
|
|
62
62
|
|
|
63
|
+
紧凑弹窗在标题底部与首行字段之间保留 10px,内容两侧为 12px;末行保留底部留白,不压缩实际校验提示。弹窗宽高受视口约束,长表单仅内容区滚动,标题和页脚保持可见。外壳使用原生 Card 分区样式,不修改内嵌业务卡片或插槽的间距,也不增加逐字段测量或监听。
|
|
64
|
+
|
|
65
|
+
`C_Table` 的编辑弹窗共用这套分区与视口约束。`edit.modalWidth` 单位为 px,默认 600;如配置 700,桌面以 700px 居中,窄屏最多为视口宽度减 24px。表单按容器宽度从两列收为单列,数值宽度必须为有限正数,无效数值使用默认宽度。保存、取消及校验职责保持在表格原有编辑会话中。
|
|
66
|
+
|
|
63
67
|
## 按需设置应用默认值
|
|
64
68
|
|
|
65
69
|
在应用启动时提供一次即可,局部的 `config.density` 优先,搜索只继承密度,不继承表单布局、回调或尺寸。
|