@robot-admin/naive-ui-components 0.6.31 → 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 +3 -3
- package/dist/constants4.d.ts +4 -4
- package/dist/constants5.d.ts +2 -2
- 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/index.vue.d.ts +1 -1
- package/dist/index10.vue.d.ts +4 -4
- 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 +4 -4
- package/dist/index16.vue.d.ts +2 -2
- package/dist/index18.vue.d.ts +6 -6
- package/dist/index2.vue.d.ts +5 -5
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.ts +2 -2
- package/dist/index22.vue.d.ts +1 -1
- package/dist/index23.vue.d.ts +1 -1
- package/dist/index26.vue.d.ts +3 -3
- package/dist/index27.vue.d.ts +3 -3
- package/dist/index28.vue.d.ts +3 -3
- package/dist/index3.vue.d.ts +1 -1
- package/dist/index4.vue.d.ts +5 -5
- package/dist/index6.vue.d.ts +6 -6
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.ts +2 -2
- 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 +4 -4
- package/dist/useCropperCore.d.ts +4 -4
- package/dist/useDraggableLayout.d.ts +11 -11
- package/dist/useDynamicFormState.d.ts +14 -14
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useModalEdit.d.ts +498 -240
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSearchState.d.ts +2 -2
- package/dist/useSignatureHistory.d.ts +1 -1
- package/dist/useSplitResize.d.ts +7 -7
- package/dist/useTimeSelection.d.ts +2 -2
- package/dist/useTreeOperations.d.ts +4 -4
- 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
|
+
events: CalendarEvent[];
|
|
69
70
|
initialView: CalendarViewType;
|
|
70
71
|
editable: boolean;
|
|
71
|
-
events: CalendarEvent[];
|
|
72
72
|
showAddDialog: boolean;
|
|
73
73
|
showEditDialog: boolean;
|
|
74
74
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -71,14 +71,14 @@ 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
83
|
bordered: boolean;
|
|
84
84
|
activeKeys: string[];
|
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;
|
|
54
55
|
error: (error: Event) => any;
|
|
55
56
|
ready: () => any;
|
|
56
57
|
crop: (result: any) => any;
|
|
57
58
|
confirm: (result: any) => any;
|
|
58
|
-
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
+
onCancel?: (() => any) | undefined;
|
|
60
61
|
onError?: ((error: Event) => any) | undefined;
|
|
61
62
|
onReady?: (() => any) | undefined;
|
|
62
63
|
onCrop?: ((result: any) => 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
|
-
showPreview: boolean;
|
|
69
69
|
showToolbar: boolean;
|
|
70
|
+
showPreview: boolean;
|
|
70
71
|
src: string;
|
|
71
|
-
aspectRatio: number;
|
|
72
72
|
outputFormat: CropOutputFormat;
|
|
73
73
|
outputQuality: number;
|
|
74
74
|
maxOutputWidth: number;
|
|
@@ -116,15 +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
|
-
|
|
119
|
+
modelValue: DraggableItem[];
|
|
120
120
|
sort: boolean;
|
|
121
121
|
disabled: boolean;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
emptyText: string;
|
|
125
|
-
gap: string | number;
|
|
126
|
-
animation: number;
|
|
122
|
+
layout: LayoutMode;
|
|
123
|
+
itemClass: string;
|
|
127
124
|
group: string | GroupOptions;
|
|
125
|
+
alignItems: AlignItems;
|
|
126
|
+
direction: "vertical" | "horizontal";
|
|
127
|
+
flexWrap: boolean;
|
|
128
|
+
justifyContent: JustifyContent;
|
|
129
|
+
animation: number;
|
|
130
|
+
gap: string | number;
|
|
131
|
+
emptyText: string;
|
|
132
|
+
delay: number;
|
|
128
133
|
handle: string;
|
|
129
134
|
showHandle: boolean;
|
|
130
135
|
ghostClass: string;
|
|
@@ -132,16 +137,11 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
132
137
|
dragClass: string;
|
|
133
138
|
wrapperClass: string;
|
|
134
139
|
listClass: string;
|
|
135
|
-
itemClass: string;
|
|
136
140
|
showEmptyState: boolean;
|
|
137
141
|
swapThreshold: number;
|
|
138
142
|
invertSwap: boolean;
|
|
139
|
-
layout: LayoutMode;
|
|
140
143
|
gridColumns: number;
|
|
141
144
|
gridRows: number;
|
|
142
|
-
flexWrap: boolean;
|
|
143
|
-
justifyContent: JustifyContent;
|
|
144
|
-
alignItems: AlignItems;
|
|
145
145
|
customStyles: Record<string, string | number>;
|
|
146
146
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
147
147
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -430,13 +430,13 @@ declare const __VLS_base: vue.DefineComponent<CFormProps, {
|
|
|
430
430
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
431
431
|
"update:modelValue": (model: Record<string, any>) => any;
|
|
432
432
|
submit: (payload: SubmitEventPayload) => any;
|
|
433
|
-
"validate-error": (errors: unknown) => any;
|
|
434
433
|
"validate-success": (model: Record<string, any>) => any;
|
|
434
|
+
"validate-error": (errors: unknown) => any;
|
|
435
435
|
}, string, vue.PublicProps, Readonly<CFormProps> & Readonly<{
|
|
436
436
|
"onUpdate:modelValue"?: ((model: Record<string, any>) => any) | undefined;
|
|
437
437
|
onSubmit?: ((payload: SubmitEventPayload) => any) | undefined;
|
|
438
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
439
438
|
"onValidate-success"?: ((model: Record<string, any>) => any) | undefined;
|
|
439
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
440
440
|
}>, {
|
|
441
441
|
config: FormConfig;
|
|
442
442
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -1294,7 +1294,6 @@ declare const useDynamicFormState: () => {
|
|
|
1294
1294
|
readonly value?: any;
|
|
1295
1295
|
readonly placeholder?: string | undefined;
|
|
1296
1296
|
readonly rules?: readonly {
|
|
1297
|
-
readonly max?: number | undefined;
|
|
1298
1297
|
readonly type?: RuleType | undefined;
|
|
1299
1298
|
readonly required?: boolean | undefined;
|
|
1300
1299
|
readonly options?: {
|
|
@@ -1352,13 +1351,10 @@ declare const useDynamicFormState: () => {
|
|
|
1352
1351
|
readonly keys?: readonly string[] | undefined;
|
|
1353
1352
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
1354
1353
|
} | undefined;
|
|
1355
|
-
readonly trigger?: string | readonly string[] | undefined;
|
|
1356
|
-
readonly pattern?: (RegExp | string) | undefined;
|
|
1357
|
-
readonly key?: string | undefined;
|
|
1358
|
-
readonly level?: "warning" | "error" | undefined;
|
|
1359
|
-
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1360
1354
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1355
|
+
readonly pattern?: (RegExp | string) | undefined;
|
|
1361
1356
|
readonly min?: number | undefined;
|
|
1357
|
+
readonly max?: number | undefined;
|
|
1362
1358
|
readonly len?: number | undefined;
|
|
1363
1359
|
readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
|
|
1364
1360
|
readonly whitespace?: boolean | undefined;
|
|
@@ -1931,7 +1927,11 @@ declare const useDynamicFormState: () => {
|
|
|
1931
1927
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
1932
1928
|
}[] | undefined;
|
|
1933
1929
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
1930
|
+
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1931
|
+
readonly key?: string | undefined;
|
|
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?: {
|
|
@@ -3571,7 +3571,6 @@ declare const useDynamicFormState: () => {
|
|
|
3571
3571
|
readonly span?: number | undefined;
|
|
3572
3572
|
} | undefined;
|
|
3573
3573
|
readonly rules?: readonly {
|
|
3574
|
-
readonly max?: number | undefined;
|
|
3575
3574
|
readonly type?: RuleType | undefined;
|
|
3576
3575
|
readonly required?: boolean | undefined;
|
|
3577
3576
|
readonly options?: {
|
|
@@ -3629,13 +3628,10 @@ declare const useDynamicFormState: () => {
|
|
|
3629
3628
|
readonly keys?: readonly string[] | undefined;
|
|
3630
3629
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
3631
3630
|
} | undefined;
|
|
3632
|
-
readonly trigger?: string | readonly string[] | undefined;
|
|
3633
|
-
readonly pattern?: (RegExp | string) | undefined;
|
|
3634
|
-
readonly key?: string | undefined;
|
|
3635
|
-
readonly level?: "warning" | "error" | undefined;
|
|
3636
|
-
readonly message?: string | ((a?: string) => string) | undefined;
|
|
3637
3631
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3632
|
+
readonly pattern?: (RegExp | string) | undefined;
|
|
3638
3633
|
readonly min?: number | undefined;
|
|
3634
|
+
readonly max?: number | undefined;
|
|
3639
3635
|
readonly len?: number | undefined;
|
|
3640
3636
|
readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
|
|
3641
3637
|
readonly whitespace?: boolean | undefined;
|
|
@@ -4208,7 +4204,11 @@ declare const useDynamicFormState: () => {
|
|
|
4208
4204
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
4209
4205
|
}[] | undefined;
|
|
4210
4206
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
4207
|
+
readonly message?: string | ((a?: string) => string) | undefined;
|
|
4208
|
+
readonly key?: string | undefined;
|
|
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;
|
|
@@ -90,13 +90,13 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
90
90
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
92
|
loading: boolean;
|
|
93
|
+
animationDuration: number;
|
|
93
94
|
columns: number;
|
|
94
95
|
gap: number;
|
|
95
|
-
lazy: boolean;
|
|
96
96
|
infinite: boolean;
|
|
97
|
+
lazy: boolean;
|
|
97
98
|
skeleton: boolean;
|
|
98
99
|
skeletonCount: number;
|
|
99
|
-
animationDuration: number;
|
|
100
100
|
breakpoints: WaterFallBreakpoint[];
|
|
101
101
|
noMore: boolean;
|
|
102
102
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|