@robot-admin/naive-ui-components 0.21.1 → 0.22.1
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 +22 -0
- package/README.md +5 -1
- package/README_EN.md +5 -1
- package/SECURITY.md +10 -0
- package/THIRD_PARTY_NOTICES.md +10 -0
- package/dist/C_AntV2.cjs +1 -1
- package/dist/C_Barcode2.cjs +1 -1
- package/dist/C_Captcha.d.ts +2 -0
- package/dist/C_Editor.css +18 -18
- package/dist/C_Editor2.cjs +1 -1
- package/dist/C_Editor2.js +1 -1
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_Form.base.css +58 -58
- package/dist/C_Form.cjs +1 -1
- package/dist/C_Form.css +76 -76
- package/dist/C_Form.d.cts +3 -1
- package/dist/C_Form.d.ts +3 -2
- package/dist/C_Form.js +1 -1
- package/dist/C_FormModal.css +10 -10
- package/dist/C_FormModal.d.ts +1 -0
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_FormSearch.css +56 -56
- package/dist/C_FormSearch.d.ts +2 -1
- package/dist/C_FormSearch2.cjs +1 -1
- package/dist/C_FormSearch2.js +1 -1
- package/dist/C_FullCalendar2.cjs +1 -1
- package/dist/C_Login.d.ts +3 -0
- package/dist/C_Markdown.css +37 -37
- package/dist/C_Markdown2.cjs +1 -1
- package/dist/C_Markdown2.js +1 -1
- package/dist/C_QRCode2.cjs +1 -1
- package/dist/C_Table.base.css +58 -58
- package/dist/C_Table.css +76 -76
- package/dist/C_Table.d.cts +1 -1
- package/dist/C_Table.d.ts +5 -2
- package/dist/C_Tree.d.cts +1 -1
- package/dist/C_Tree.d.ts +5 -2
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_WaterFall.css +49 -31
- package/dist/C_WaterFall2.cjs +1 -1
- package/dist/C_WaterFall2.js +1 -1
- package/dist/chunk.cjs +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.d.cts +4 -1
- package/dist/config.d.ts +4 -2
- package/dist/config.js +1 -1
- package/dist/config2.d.ts +14 -0
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants2.d.cts +1 -1
- package/dist/constants2.d.ts +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/data.cjs +1 -1
- package/dist/data.d.cts +7 -7
- package/dist/data.d.ts +7 -7
- package/dist/data.js +1 -1
- package/dist/dateRange.d.ts +1 -2
- package/dist/density.cjs +1 -1
- package/dist/density.js +1 -1
- package/dist/graphics.d.cts +17 -11
- package/dist/graphics.d.ts +17 -11
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/html.cjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +7 -5
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +5 -5
- package/dist/index.vue.d.ts +5 -5
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index10.vue.d.ts +5 -5
- package/dist/index11.vue.d.cts +5 -5
- package/dist/index11.vue.d.ts +1 -1
- package/dist/index12.vue.d.cts +1 -1
- package/dist/index12.vue.d.ts +4 -4
- package/dist/index13.vue.d.cts +4 -4
- package/dist/index13.vue.d.ts +9 -9
- package/dist/index14.vue.d.cts +9 -9
- package/dist/index17.vue.d.ts +2 -2
- package/dist/index18.vue.d.cts +2 -2
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +1 -1
- package/dist/index22.vue.d.cts +1 -1
- package/dist/index22.vue.d.ts +1 -1
- package/dist/index25.vue.d.cts +2 -2
- package/dist/index25.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +6 -6
- package/dist/index3.vue.d.ts +6 -6
- package/dist/index4.vue.d.cts +2 -2
- package/dist/index8.vue.d.ts +3 -3
- package/dist/index9.vue.d.cts +3 -3
- package/dist/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +2 -2
- package/dist/mapUtils.d.ts +2 -2
- package/dist/style.css +228 -210
- package/dist/types.d.ts +5 -0
- package/dist/types2.d.cts +5 -0
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +5 -5
- package/dist/useCollapsePanel.d.ts +5 -5
- package/dist/useCropperCore.d.cts +10 -10
- package/dist/useCropperCore.d.ts +10 -10
- package/dist/useDynamicFormState.d.cts +6 -579
- package/dist/useDynamicFormState.d.ts +6 -579
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFormConfig.cjs +1 -0
- package/dist/useFormConfig.d.cts +576 -0
- package/dist/useFormConfig.d.ts +611 -0
- package/dist/useFormConfig.js +1 -0
- package/dist/useGlobalSearch.d.cts +1 -1
- package/dist/useGlobalSearch.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +16 -17
- package/dist/useInfiniteScroll.d.ts +16 -17
- package/dist/useQRCode.d.cts +5 -5
- package/dist/useQRCode.d.ts +5 -5
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +10 -10
- package/dist/useSplitResize.d.ts +10 -10
- package/dist/useTableQuery.cjs +1 -1
- package/dist/useTableQuery.d.cts +15 -13
- package/dist/useTableQuery.d.ts +17 -26
- package/dist/useTableQuery.js +1 -1
- package/dist/useWorkflowValidation.d.cts +2 -2
- package/dist/useWorkflowValidation.d.ts +2 -2
- package/dist/verification.d.cts +5 -5
- package/dist/verification.d.ts +6 -6
- package/dist/xlsx.js +143 -0
- package/dist/xlsx2.cjs +143 -0
- package/docs/architecture.en.md +1 -0
- package/docs/architecture.md +1 -0
- package/docs/guides/api-migration.md +111 -0
- package/docs/guides/form-density.en.md +17 -3
- package/docs/guides/form-density.md +17 -3
- package/docs/guides/runtime-performance.md +16 -1
- package/docs/guides/usage.en.md +1 -1
- package/docs/guides/waterfall.md +113 -0
- package/docs/runtime-review-20261019.md +2 -0
- package/licenses/SheetJS.txt +201 -0
- package/package.json +13 -9
- package/dist/contracts.d.ts +0 -24
- package/dist/density.d.ts +0 -15
package/dist/types.d.ts
CHANGED
|
@@ -37,10 +37,15 @@ type DateProps<M extends DatePickerMode | undefined = DatePickerMode> = Omit<Dat
|
|
|
37
37
|
} : never));
|
|
38
38
|
interface DateEmits<M extends DatePickerMode | undefined = DatePickerMode> {
|
|
39
39
|
'update:modelValue': [value: DateModelValue<M>];
|
|
40
|
+
/** @deprecated Use update:modelValue with mode="date". */
|
|
40
41
|
'update:singleDate': [value: DateValue];
|
|
42
|
+
/** @deprecated Use update:modelValue with mode="datetime". */
|
|
41
43
|
'update:singleDateTime': [value: DateValue];
|
|
44
|
+
/** @deprecated Use update:modelValue with mode="daterange". */
|
|
42
45
|
'update:dateRange': [value: DateRangeValue];
|
|
46
|
+
/** @deprecated Use update:modelValue with mode="datetimerange". */
|
|
43
47
|
'update:dateTimeRange': [value: DateRangeValue];
|
|
48
|
+
/** @deprecated Use update:modelValue with mode="smart-range". */
|
|
44
49
|
'update:smartRange': [value: DateRangeValue];
|
|
45
50
|
change: [value: DateModelValue<M>];
|
|
46
51
|
}
|
package/dist/types2.d.cts
CHANGED
|
@@ -37,10 +37,15 @@ type DateProps<M extends DatePickerMode | undefined = DatePickerMode> = Omit<Dat
|
|
|
37
37
|
} : never));
|
|
38
38
|
interface DateEmits<M extends DatePickerMode | undefined = DatePickerMode> {
|
|
39
39
|
'update:modelValue': [value: DateModelValue<M>];
|
|
40
|
+
/** @deprecated Use update:modelValue with mode="date". */
|
|
40
41
|
'update:singleDate': [value: DateValue];
|
|
42
|
+
/** @deprecated Use update:modelValue with mode="datetime". */
|
|
41
43
|
'update:singleDateTime': [value: DateValue];
|
|
44
|
+
/** @deprecated Use update:modelValue with mode="daterange". */
|
|
42
45
|
'update:dateRange': [value: DateRangeValue];
|
|
46
|
+
/** @deprecated Use update:modelValue with mode="datetimerange". */
|
|
43
47
|
'update:dateTimeRange': [value: DateRangeValue];
|
|
48
|
+
/** @deprecated Use update:modelValue with mode="smart-range". */
|
|
44
49
|
'update:smartRange': [value: DateRangeValue];
|
|
45
50
|
change: [value: DateModelValue<M>];
|
|
46
51
|
}
|
|
@@ -72,8 +72,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
72
72
|
}) => any) | undefined;
|
|
73
73
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
-
initialView: CalendarViewType;
|
|
76
75
|
editable: boolean;
|
|
76
|
+
initialView: CalendarViewType;
|
|
77
77
|
events: CalendarEvent[];
|
|
78
78
|
showAddDialog: boolean;
|
|
79
79
|
showEditDialog: boolean;
|
|
@@ -72,8 +72,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
72
72
|
}) => any) | undefined;
|
|
73
73
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
-
initialView: CalendarViewType;
|
|
76
75
|
editable: boolean;
|
|
76
|
+
initialView: CalendarViewType;
|
|
77
77
|
events: CalendarEvent[];
|
|
78
78
|
showAddDialog: boolean;
|
|
79
79
|
showEditDialog: boolean;
|
|
@@ -71,21 +71,21 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
71
71
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
73
|
change: (activeKeys: string[]) => any;
|
|
74
|
-
"update:activeKeys": (keys: string[]) => any;
|
|
75
|
-
expand: (key: string) => any;
|
|
76
74
|
collapse: (key: string) => any;
|
|
75
|
+
expand: (key: string) => any;
|
|
76
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
-
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
80
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
81
79
|
onCollapse?: ((key: string) => any) | undefined;
|
|
80
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
81
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
-
bordered: boolean;
|
|
84
83
|
activeKeys: string[];
|
|
85
84
|
defaultActiveKeys: string[];
|
|
86
85
|
accordion: boolean;
|
|
87
86
|
variant: CollapsePanelVariant;
|
|
88
87
|
expandIconPosition: ExpandIconPosition;
|
|
88
|
+
bordered: boolean;
|
|
89
89
|
persistKey: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -71,21 +71,21 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
71
71
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
72
72
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
73
73
|
change: (activeKeys: string[]) => any;
|
|
74
|
-
"update:activeKeys": (keys: string[]) => any;
|
|
75
|
-
expand: (key: string) => any;
|
|
76
74
|
collapse: (key: string) => any;
|
|
75
|
+
expand: (key: string) => any;
|
|
76
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
77
77
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
78
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
-
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
80
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
81
79
|
onCollapse?: ((key: string) => any) | undefined;
|
|
80
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
81
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
-
bordered: boolean;
|
|
84
83
|
activeKeys: string[];
|
|
85
84
|
defaultActiveKeys: string[];
|
|
86
85
|
accordion: boolean;
|
|
87
86
|
variant: CollapsePanelVariant;
|
|
88
87
|
expandIconPosition: ExpandIconPosition;
|
|
88
|
+
bordered: boolean;
|
|
89
89
|
persistKey: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -52,30 +52,30 @@ interface ImageCropperEmits {
|
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
54
|
error: (error: Error) => any;
|
|
55
|
-
crop: (result: CropResult) => any;
|
|
56
55
|
ready: () => any;
|
|
57
|
-
confirm: (result: CropResult) => any;
|
|
58
56
|
cancel: () => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onCrop?: ((result: CropResult) => any) | undefined;
|
|
62
61
|
onReady?: (() => any) | undefined;
|
|
63
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
62
|
onCancel?: (() => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
height: string | number;
|
|
67
|
-
|
|
67
|
+
disabled: boolean;
|
|
68
68
|
aspectRatio: number;
|
|
69
|
+
showPreview: boolean;
|
|
70
|
+
showToolbar: boolean;
|
|
71
|
+
modalTitle: string;
|
|
72
|
+
modal: boolean;
|
|
73
|
+
src: string;
|
|
69
74
|
outputFormat: CropOutputFormat;
|
|
70
75
|
outputQuality: number;
|
|
71
76
|
maxOutputWidth: number;
|
|
72
77
|
maxOutputHeight: number;
|
|
73
|
-
showPreview: boolean;
|
|
74
|
-
showToolbar: boolean;
|
|
75
78
|
circular: boolean;
|
|
76
|
-
disabled: boolean;
|
|
77
|
-
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
|
@@ -52,30 +52,30 @@ interface ImageCropperEmits {
|
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
54
|
error: (error: Error) => any;
|
|
55
|
-
crop: (result: CropResult) => any;
|
|
56
55
|
ready: () => any;
|
|
57
|
-
confirm: (result: CropResult) => any;
|
|
58
56
|
cancel: () => any;
|
|
57
|
+
confirm: (result: CropResult) => any;
|
|
58
|
+
crop: (result: CropResult) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Error) => any) | undefined;
|
|
61
|
-
onCrop?: ((result: CropResult) => any) | undefined;
|
|
62
61
|
onReady?: (() => any) | undefined;
|
|
63
|
-
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
62
|
onCancel?: (() => any) | undefined;
|
|
63
|
+
onConfirm?: ((result: CropResult) => any) | undefined;
|
|
64
|
+
onCrop?: ((result: CropResult) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
height: string | number;
|
|
67
|
-
|
|
67
|
+
disabled: boolean;
|
|
68
68
|
aspectRatio: number;
|
|
69
|
+
showPreview: boolean;
|
|
70
|
+
showToolbar: boolean;
|
|
71
|
+
modalTitle: string;
|
|
72
|
+
modal: boolean;
|
|
73
|
+
src: string;
|
|
69
74
|
outputFormat: CropOutputFormat;
|
|
70
75
|
outputQuality: number;
|
|
71
76
|
maxOutputWidth: number;
|
|
72
77
|
maxOutputHeight: number;
|
|
73
|
-
showPreview: boolean;
|
|
74
|
-
showToolbar: boolean;
|
|
75
78
|
circular: boolean;
|
|
76
|
-
disabled: boolean;
|
|
77
|
-
modal: boolean;
|
|
78
|
-
modalTitle: string;
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|