@robot-admin/naive-ui-components 0.6.30 → 0.7.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 +6 -0
- package/README.md +5 -3
- package/dist/C_OrgChart.js.map +1 -1
- package/dist/C_OrgChart2.js.map +1 -1
- package/dist/C_Skeleton.js.map +1 -1
- package/dist/C_Skeleton2.js.map +1 -1
- package/dist/{C_Table-B8hpzOcR.css.map → C_Table-BcM5LqAM.css.map} +1 -1
- package/dist/{C_Table-CGP3n_u0.css.map → C_Table-HATVoq1F.css.map} +1 -1
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +140 -97
- package/dist/C_Table.d.cts +2 -2
- package/dist/C_Table.d.ts +2 -2
- package/dist/C_Table.js +1 -1
- package/dist/C_Table.js.map +1 -1
- package/dist/C_Table2.js +3 -1
- package/dist/C_Table2.js.map +1 -1
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.ts +5 -5
- package/dist/constants3.d.ts +1 -1
- package/dist/constants4.d.ts +4 -4
- package/dist/constants5.d.ts +4 -4
- package/dist/data.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.ts +5 -5
- package/dist/index12.vue.d.ts +2 -2
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index14.vue.d.ts +1 -1
- package/dist/index15.vue.d.ts +3 -3
- package/dist/index16.vue.d.ts +2 -2
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.ts +6 -6
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.ts +2 -2
- package/dist/index21.vue.d.ts +1 -1
- package/dist/index22.vue.d.ts +1 -1
- package/dist/index23.vue.d.ts +1 -1
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index27.vue.d.ts +3 -3
- package/dist/index28.vue.d.ts +3 -3
- package/dist/index3.vue.d.ts +2 -2
- package/dist/index4.vue.d.ts +4 -4
- package/dist/index6.vue.d.ts +4 -4
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.ts +1 -1
- package/dist/index9.vue.d.ts +2 -2
- package/dist/resolver.cjs.map +1 -1
- package/dist/resolver.js.map +1 -1
- package/dist/style.css +142 -99
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.ts +7 -7
- package/dist/useCropperCore.d.ts +5 -5
- package/dist/useDraggableLayout.d.ts +4 -4
- package/dist/useDynamicFormState.d.ts +4 -4
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useModalEdit.d.ts +503 -245
- package/dist/useQRCode.d.ts +1 -1
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.ts +5 -5
- package/dist/useTimeSelection.d.ts +3 -3
- package/dist/useTreeOperations.d.ts +5 -5
- package/dist/useWorkflowValidation.d.ts +7 -7
- package/package.json +1 -1
|
@@ -66,9 +66,9 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
66
66
|
}) => any) | undefined;
|
|
67
67
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
68
68
|
}>, {
|
|
69
|
-
editable: boolean;
|
|
70
69
|
events: CalendarEvent[];
|
|
71
70
|
initialView: CalendarViewType;
|
|
71
|
+
editable: boolean;
|
|
72
72
|
showAddDialog: boolean;
|
|
73
73
|
showEditDialog: boolean;
|
|
74
74
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -70,22 +70,22 @@ 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
|
-
"update:activeKeys": (keys: string[]) => any;
|
|
74
|
-
expand: (key: string) => any;
|
|
75
|
-
collapse: (key: string) => any;
|
|
76
73
|
change: (activeKeys: string[]) => any;
|
|
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
|
-
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
79
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
80
|
-
onCollapse?: ((key: string) => any) | undefined;
|
|
81
78
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
79
|
+
onCollapse?: ((key: string) => any) | undefined;
|
|
80
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
81
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
+
bordered: boolean;
|
|
83
84
|
activeKeys: string[];
|
|
84
85
|
defaultActiveKeys: string[];
|
|
85
86
|
accordion: boolean;
|
|
86
87
|
variant: CollapsePanelVariant;
|
|
87
88
|
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>;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -51,24 +51,24 @@ 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
|
+
cancel: () => any;
|
|
55
|
+
error: (error: Event) => any;
|
|
54
56
|
ready: () => any;
|
|
55
57
|
crop: (result: any) => any;
|
|
56
|
-
error: (error: Event) => any;
|
|
57
58
|
confirm: (result: any) => any;
|
|
58
|
-
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
+
onCancel?: (() => any) | undefined;
|
|
61
|
+
onError?: ((error: Event) => any) | undefined;
|
|
60
62
|
onReady?: (() => any) | undefined;
|
|
61
63
|
onCrop?: ((result: any) => any) | undefined;
|
|
62
|
-
onError?: ((error: Event) => any) | undefined;
|
|
63
64
|
onConfirm?: ((result: any) => any) | undefined;
|
|
64
|
-
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
|
+
aspectRatio: number;
|
|
67
68
|
height: string | number;
|
|
68
69
|
showToolbar: boolean;
|
|
69
70
|
showPreview: boolean;
|
|
70
71
|
src: string;
|
|
71
|
-
aspectRatio: number;
|
|
72
72
|
outputFormat: CropOutputFormat;
|
|
73
73
|
outputQuality: number;
|
|
74
74
|
maxOutputWidth: number;
|
|
@@ -116,20 +116,20 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
116
116
|
"onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
|
|
117
117
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
|
+
modelValue: DraggableItem[];
|
|
119
120
|
sort: boolean;
|
|
120
121
|
disabled: boolean;
|
|
121
|
-
modelValue: DraggableItem[];
|
|
122
|
-
emptyText: string;
|
|
123
|
-
direction: "vertical" | "horizontal";
|
|
124
122
|
layout: LayoutMode;
|
|
125
123
|
itemClass: string;
|
|
126
|
-
delay: number;
|
|
127
124
|
group: string | GroupOptions;
|
|
128
125
|
alignItems: AlignItems;
|
|
126
|
+
direction: "vertical" | "horizontal";
|
|
129
127
|
flexWrap: boolean;
|
|
130
128
|
justifyContent: JustifyContent;
|
|
131
129
|
animation: number;
|
|
132
130
|
gap: string | number;
|
|
131
|
+
emptyText: string;
|
|
132
|
+
delay: number;
|
|
133
133
|
handle: string;
|
|
134
134
|
showHandle: boolean;
|
|
135
135
|
ghostClass: string;
|
|
@@ -1351,8 +1351,6 @@ declare const useDynamicFormState: () => {
|
|
|
1351
1351
|
readonly keys?: readonly string[] | undefined;
|
|
1352
1352
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
1353
1353
|
} | undefined;
|
|
1354
|
-
readonly key?: string | undefined;
|
|
1355
|
-
readonly level?: "warning" | "error" | undefined;
|
|
1356
1354
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1357
1355
|
readonly pattern?: (RegExp | string) | undefined;
|
|
1358
1356
|
readonly min?: number | undefined;
|
|
@@ -1930,8 +1928,10 @@ declare const useDynamicFormState: () => {
|
|
|
1930
1928
|
}[] | undefined;
|
|
1931
1929
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
1932
1930
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1931
|
+
readonly key?: string | undefined;
|
|
1933
1932
|
readonly trigger?: string | readonly string[] | undefined;
|
|
1934
1933
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
1934
|
+
readonly level?: "warning" | "error" | undefined;
|
|
1935
1935
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
1936
1936
|
}[] | undefined;
|
|
1937
1937
|
readonly attrs?: {
|
|
@@ -3628,8 +3628,6 @@ declare const useDynamicFormState: () => {
|
|
|
3628
3628
|
readonly keys?: readonly string[] | undefined;
|
|
3629
3629
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
3630
3630
|
} | undefined;
|
|
3631
|
-
readonly key?: string | undefined;
|
|
3632
|
-
readonly level?: "warning" | "error" | undefined;
|
|
3633
3631
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3634
3632
|
readonly pattern?: (RegExp | string) | undefined;
|
|
3635
3633
|
readonly min?: number | undefined;
|
|
@@ -4207,8 +4205,10 @@ declare const useDynamicFormState: () => {
|
|
|
4207
4205
|
}[] | undefined;
|
|
4208
4206
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
4209
4207
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
4208
|
+
readonly key?: string | undefined;
|
|
4210
4209
|
readonly trigger?: string | readonly string[] | undefined;
|
|
4211
4210
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
4211
|
+
readonly level?: "warning" | "error" | undefined;
|
|
4212
4212
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
4213
4213
|
}[] | undefined;
|
|
4214
4214
|
}[];
|
|
@@ -259,10 +259,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
259
259
|
onReady?: ((graph: any) => any) | undefined;
|
|
260
260
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
261
261
|
}>, {
|
|
262
|
+
readonly: boolean;
|
|
262
263
|
theme: "light" | "dark";
|
|
263
264
|
width: string | number;
|
|
264
265
|
height: string | number;
|
|
265
|
-
readonly: boolean;
|
|
266
266
|
showToolbar: boolean;
|
|
267
267
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
268
268
|
declare const _default: typeof __VLS_export;
|
|
@@ -89,9 +89,9 @@ 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
|
-
columns: number;
|
|
93
92
|
loading: boolean;
|
|
94
93
|
animationDuration: number;
|
|
94
|
+
columns: number;
|
|
95
95
|
gap: number;
|
|
96
96
|
infinite: boolean;
|
|
97
97
|
lazy: boolean;
|