@robot-admin/naive-ui-components 0.3.1 → 0.3.3
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/dist/C_ActionBar-nnfbZCea.css.map +1 -0
- package/dist/C_ActionBar2.js +2 -2
- package/dist/C_ActionBar2.js.map +1 -1
- package/dist/C_AntV-DGjscTWa.css.map +1 -0
- package/dist/C_AntV2.js +6 -6
- package/dist/C_AntV2.js.map +1 -1
- package/dist/C_Barcode-DjTmDkbQ.css.map +1 -0
- package/dist/C_Barcode2.js +1 -1
- package/dist/C_Barcode2.js.map +1 -1
- package/dist/C_Captcha-Ccq3DMrR.css.map +1 -0
- package/dist/C_Captcha2.js +1 -1
- package/dist/C_Captcha2.js.map +1 -1
- package/dist/C_Cascade-IUUHIh7r.css.map +1 -0
- package/dist/C_Cascade2.js +2 -2
- package/dist/C_Cascade2.js.map +1 -1
- package/dist/C_City-Cv5BESaN.css.map +1 -0
- package/dist/C_City2.js +2 -2
- package/dist/C_City2.js.map +1 -1
- package/dist/C_Code-DPZlNSxL.css.map +1 -0
- package/dist/C_Code2.js +8 -7
- package/dist/C_Code2.js.map +1 -1
- package/dist/C_CollapsePanel-Fap-lv_5.css.map +1 -0
- package/dist/C_CollapsePanel2.js +1 -1
- package/dist/C_CollapsePanel2.js.map +1 -1
- package/dist/C_Cron-C0-8b5af.css.map +1 -0
- package/dist/C_Cron2.js +15 -14
- package/dist/C_Cron2.js.map +1 -1
- package/dist/C_Date2.js +1 -1
- package/dist/C_Date2.js.map +1 -1
- package/dist/C_Draggable-Bq6o0qXn.css.map +1 -0
- package/dist/C_Draggable2.js +1 -1
- package/dist/C_Draggable2.js.map +1 -1
- package/dist/C_Editor-OlxIF9-5.css.map +1 -0
- package/dist/C_Editor2.js +1 -1
- package/dist/C_Editor2.js.map +1 -1
- package/dist/C_FilePreview-B4XgTv-h.css.map +1 -0
- package/dist/C_FilePreview.cjs +1 -0
- package/dist/C_FilePreview.js +1 -0
- package/dist/C_FilePreview2.js +10 -9
- package/dist/C_FilePreview2.js.map +1 -1
- package/dist/C_Form-Cr9oX037.css.map +1 -0
- package/dist/C_Form.cjs +1 -0
- package/dist/C_Form.js +1 -0
- package/dist/C_Form2.js +69 -72
- package/dist/C_Form2.js.map +1 -1
- package/dist/C_FormSearch-DlIEoh7X.css.map +1 -0
- package/dist/C_FormSearch2.js +2 -2
- package/dist/C_FormSearch2.js.map +1 -1
- package/dist/C_FormulaEditor-Cm0CokN5.css.map +1 -0
- package/dist/C_FormulaEditor2.js +6 -6
- package/dist/C_FormulaEditor2.js.map +1 -1
- package/dist/C_FullCalendar-BULCIlVK.css.map +1 -0
- package/dist/C_FullCalendar2.js +2 -2
- package/dist/C_FullCalendar2.js.map +1 -1
- package/dist/C_Guide2.js +1 -1
- package/dist/C_Guide2.js.map +1 -1
- package/dist/C_Icon2.js.map +1 -1
- package/dist/C_ImageCropper-DrmUlaLi.css.map +1 -0
- package/dist/C_ImageCropper2.js +4 -4
- package/dist/C_ImageCropper2.js.map +1 -1
- package/dist/C_Language2.js +1 -1
- package/dist/C_Language2.js.map +1 -1
- package/dist/C_Map-WUMXSAfy.css.map +1 -0
- package/dist/C_Map2.js +2 -2
- package/dist/C_Map2.js.map +1 -1
- package/dist/C_Markdown-Dmv8yaM4.css.map +1 -0
- package/dist/C_Markdown2.js +4 -4
- package/dist/C_Markdown2.js.map +1 -1
- package/dist/C_NotificationCenter-DbgBiyqB.css.map +1 -0
- package/dist/C_NotificationCenter2.js +21 -20
- package/dist/C_NotificationCenter2.js.map +1 -1
- package/dist/C_Progress2.js +1 -1
- package/dist/C_Progress2.js.map +1 -1
- package/dist/C_QRCode-G7fiAkm4.css.map +1 -0
- package/dist/C_QRCode2.js +1 -1
- package/dist/C_QRCode2.js.map +1 -1
- package/dist/C_Signature-es-ZNPzr.css.map +1 -0
- package/dist/C_Signature2.js +2 -2
- package/dist/C_Signature2.js.map +1 -1
- package/dist/C_SplitPane-Br2eK8IG.css.map +1 -0
- package/dist/C_SplitPane2.js +1 -1
- package/dist/C_SplitPane2.js.map +1 -1
- package/dist/C_Steps-P9Qj9iDd.css.map +1 -0
- package/dist/C_Steps2.js +1 -1
- package/dist/C_Steps2.js.map +1 -1
- package/dist/C_Table-DAwAxr72.css.map +1 -0
- package/dist/C_Table.cjs +1 -0
- package/dist/C_Table.js +1 -0
- package/dist/C_Table2.js +3 -3
- package/dist/C_Table2.js.map +1 -1
- package/dist/C_Theme2.js +1 -1
- package/dist/C_Theme2.js.map +1 -1
- package/dist/C_Time-Bd_e1YDN.css.map +1 -0
- package/dist/C_Time2.js +2 -2
- package/dist/C_Time2.js.map +1 -1
- package/dist/C_Tree-DnGc_MPb.css.map +1 -0
- package/dist/C_Tree2.js +2 -2
- package/dist/C_Tree2.js.map +1 -1
- package/dist/C_Upload-i8LB_29U.css.map +1 -0
- package/dist/C_Upload2.js +5 -5
- package/dist/C_Upload2.js.map +1 -1
- package/dist/C_VideoPlayer-rm0MODUv.css.map +1 -0
- package/dist/C_VideoPlayer2.js +21 -20
- package/dist/C_VideoPlayer2.js.map +1 -1
- package/dist/C_VtableGantt-BpY-Rng3.css.map +1 -0
- package/dist/C_VtableGantt2.js +2 -2
- package/dist/C_VtableGantt2.js.map +1 -1
- package/dist/C_WaterFall-HWB-gPON.css.map +1 -0
- package/dist/C_WaterFall2.js +2 -2
- package/dist/C_WaterFall2.js.map +1 -1
- package/dist/C_WorkFlow-CSO86Cuc.css.map +1 -0
- package/dist/C_WorkFlow2.js +6 -6
- package/dist/C_WorkFlow2.js.map +1 -1
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.ts +4 -4
- package/dist/constants3.d.ts +4 -4
- package/dist/constants4.d.ts +5 -5
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.vue.d.ts +1 -1
- package/dist/index10.vue.d.ts +7 -7
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.ts +5 -5
- package/dist/index12.vue.d.ts.map +1 -1
- package/dist/index13.vue.d.ts +1 -1
- package/dist/index14.vue.d.ts +1 -1
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index2.vue.d.ts +6 -6
- package/dist/index3.vue.d.ts +2 -2
- package/dist/index4.vue.d.ts +2 -2
- package/dist/index5.vue.d.ts +2 -2
- package/dist/index6.vue.d.ts +1 -1
- package/dist/index8.vue.d.ts +3 -3
- package/dist/resolver.js.map +1 -1
- package/dist/style.css +1555 -1555
- package/dist/useCalendarEvents.d.ts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- package/dist/useCropperCore.d.ts +3 -3
- package/dist/useDraggableLayout.d.ts +8 -8
- package/dist/useDynamicFormState.d.ts +111 -111
- package/dist/useDynamicFormState.d.ts.map +1 -1
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useModalEdit.d.ts +4 -4
- package/dist/useModalEdit.d.ts.map +1 -1
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useQRCode.d.ts.map +1 -1
- package/dist/useSearchState.d.ts +2 -2
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useSplitResize.d.ts.map +1 -1
- package/dist/useTimeSelection.d.ts +2 -2
- package/dist/useTreeOperations.d.ts +6 -6
- package/dist/useWorkflowValidation.d.ts +5 -5
- package/package.json +2 -1
- package/dist/C_ActionBar-DWN-woTc.css.map +0 -1
- package/dist/C_AntV-AFKyK6hH.css.map +0 -1
- package/dist/C_Barcode-P_EFj8dC.css.map +0 -1
- package/dist/C_Captcha-C-ef41xw.css.map +0 -1
- package/dist/C_Cascade-D9kNsjsV.css.map +0 -1
- package/dist/C_City-BCQ4ipiK.css.map +0 -1
- package/dist/C_Code-C9kvvEmO.css.map +0 -1
- package/dist/C_CollapsePanel-BUJHuYcU.css.map +0 -1
- package/dist/C_Cron-yx2Ob4Jl.css.map +0 -1
- package/dist/C_Draggable-C483syRC.css.map +0 -1
- package/dist/C_Editor-Bp0SyIEw.css.map +0 -1
- package/dist/C_FilePreview-CPqvhoCy.css.map +0 -1
- package/dist/C_Form-Jx7PY3sT.css.map +0 -1
- package/dist/C_FormSearch-DvRgxlRn.css.map +0 -1
- package/dist/C_FormulaEditor-DtGkt4T_.css.map +0 -1
- package/dist/C_FullCalendar-BF7H0YIx.css.map +0 -1
- package/dist/C_ImageCropper-BVJfUufl.css.map +0 -1
- package/dist/C_Map-DpzeuWdX.css.map +0 -1
- package/dist/C_Markdown-BEjxknqd.css.map +0 -1
- package/dist/C_NotificationCenter-0l3TY2Gn.css.map +0 -1
- package/dist/C_QRCode-DbdiAIPg.css.map +0 -1
- package/dist/C_Signature-zhHCbra9.css.map +0 -1
- package/dist/C_SplitPane-C6sBsfKY.css.map +0 -1
- package/dist/C_Steps-CODHN5Hs.css.map +0 -1
- package/dist/C_Table-DSNsntmT.css.map +0 -1
- package/dist/C_Time-BvZLYraL.css.map +0 -1
- package/dist/C_Tree-0GDv--jX.css.map +0 -1
- package/dist/C_Upload-BXd3YYLx.css.map +0 -1
- package/dist/C_VideoPlayer-DYG3RL0Q.css.map +0 -1
- package/dist/C_VtableGantt-fhItIiHE.css.map +0 -1
- package/dist/C_WaterFall-8sQDFXKg.css.map +0 -1
- package/dist/C_WorkFlow-J-dyIuh9.css.map +0 -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
|
-
initialView: CalendarViewType;
|
|
71
69
|
events: CalendarEvent[];
|
|
70
|
+
initialView: CalendarViewType;
|
|
71
|
+
editable: boolean;
|
|
72
72
|
showAddDialog: boolean;
|
|
73
73
|
showEditDialog: boolean;
|
|
74
74
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -70,13 +70,13 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __
|
|
|
70
70
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
71
71
|
change: (activeKeys: string[]) => any;
|
|
72
72
|
collapse: (key: string) => any;
|
|
73
|
-
expand: (key: string) => any;
|
|
74
73
|
"update:activeKeys": (keys: string[]) => any;
|
|
74
|
+
expand: (key: string) => any;
|
|
75
75
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
76
76
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
77
77
|
onCollapse?: ((key: string) => any) | undefined;
|
|
78
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
79
78
|
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
79
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
80
80
|
}>, {
|
|
81
81
|
bordered: boolean;
|
|
82
82
|
activeKeys: string[];
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -51,21 +51,21 @@ 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: Event) => any;
|
|
55
54
|
cancel: () => any;
|
|
55
|
+
error: (error: Event) => any;
|
|
56
56
|
crop: (result: any) => any;
|
|
57
57
|
ready: () => any;
|
|
58
58
|
confirm: (result: any) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onError?: ((error: Event) => any) | undefined;
|
|
61
60
|
onCancel?: (() => any) | undefined;
|
|
61
|
+
onError?: ((error: Event) => any) | undefined;
|
|
62
62
|
onCrop?: ((result: any) => any) | undefined;
|
|
63
63
|
onReady?: (() => any) | undefined;
|
|
64
64
|
onConfirm?: ((result: any) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
height: string | number;
|
|
67
66
|
disabled: boolean;
|
|
68
67
|
aspectRatio: number;
|
|
68
|
+
height: string | number;
|
|
69
69
|
src: string;
|
|
70
70
|
outputFormat: CropOutputFormat;
|
|
71
71
|
outputQuality: number;
|
|
@@ -117,17 +117,10 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
117
117
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
119
|
sort: boolean;
|
|
120
|
-
disabled: boolean;
|
|
121
120
|
modelValue: DraggableItem[];
|
|
122
|
-
|
|
121
|
+
disabled: boolean;
|
|
123
122
|
group: string | GroupOptions;
|
|
124
|
-
alignItems: AlignItems;
|
|
125
|
-
direction: "vertical" | "horizontal";
|
|
126
|
-
flexWrap: boolean;
|
|
127
|
-
justifyContent: JustifyContent;
|
|
128
123
|
animation: number;
|
|
129
|
-
gap: string | number;
|
|
130
|
-
itemClass: string;
|
|
131
124
|
delay: number;
|
|
132
125
|
handle: string;
|
|
133
126
|
showHandle: boolean;
|
|
@@ -136,12 +129,19 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
136
129
|
dragClass: string;
|
|
137
130
|
wrapperClass: string;
|
|
138
131
|
listClass: string;
|
|
132
|
+
itemClass: string;
|
|
139
133
|
showEmptyState: boolean;
|
|
140
134
|
emptyText: string;
|
|
141
135
|
swapThreshold: number;
|
|
142
136
|
invertSwap: boolean;
|
|
137
|
+
direction: "vertical" | "horizontal";
|
|
138
|
+
layout: LayoutMode;
|
|
143
139
|
gridColumns: number;
|
|
144
140
|
gridRows: number;
|
|
141
|
+
gap: string | 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>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as naive_ui0 from "naive-ui";
|
|
1
2
|
import * as vue from "vue";
|
|
2
3
|
import { CSSProperties, Component, ComputedRef, Ref, VNode } from "vue";
|
|
3
|
-
import * as naive_ui0 from "naive-ui";
|
|
4
4
|
import { FieldRule } from "@robot-admin/form-validate";
|
|
5
5
|
import { FormInst } from "naive-ui/es";
|
|
6
6
|
import * as naive_ui_es_form_src_interface0 from "naive-ui/es/form/src/interface";
|
|
@@ -1296,6 +1296,61 @@ declare const useDynamicFormState: () => {
|
|
|
1296
1296
|
readonly rules?: readonly {
|
|
1297
1297
|
readonly type?: RuleType | undefined;
|
|
1298
1298
|
readonly required?: boolean | undefined;
|
|
1299
|
+
readonly options?: {
|
|
1300
|
+
readonly suppressWarning?: boolean | undefined;
|
|
1301
|
+
readonly suppressValidatorError?: boolean | undefined;
|
|
1302
|
+
readonly first?: boolean | undefined;
|
|
1303
|
+
readonly firstFields?: boolean | readonly string[] | undefined;
|
|
1304
|
+
readonly messages?: {
|
|
1305
|
+
readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1306
|
+
readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
1307
|
+
readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1308
|
+
readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
1309
|
+
readonly date?: {
|
|
1310
|
+
readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1311
|
+
readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1312
|
+
readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1313
|
+
} | undefined;
|
|
1314
|
+
readonly types?: {
|
|
1315
|
+
readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1316
|
+
readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1317
|
+
readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1318
|
+
readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1319
|
+
readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1320
|
+
readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1321
|
+
readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1322
|
+
readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1323
|
+
readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1324
|
+
readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1325
|
+
readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1326
|
+
readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1327
|
+
readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1328
|
+
} | undefined;
|
|
1329
|
+
readonly string?: {
|
|
1330
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1331
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1332
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1333
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1334
|
+
} | undefined;
|
|
1335
|
+
readonly number?: {
|
|
1336
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1337
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1338
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1339
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1340
|
+
} | undefined;
|
|
1341
|
+
readonly array?: {
|
|
1342
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1343
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1344
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1345
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1346
|
+
} | undefined;
|
|
1347
|
+
readonly pattern?: {
|
|
1348
|
+
readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
1349
|
+
} | undefined;
|
|
1350
|
+
} | undefined;
|
|
1351
|
+
readonly keys?: readonly string[] | undefined;
|
|
1352
|
+
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
1353
|
+
} | undefined;
|
|
1299
1354
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1300
1355
|
readonly pattern?: (RegExp | string) | undefined;
|
|
1301
1356
|
readonly min?: number | undefined;
|
|
@@ -1446,61 +1501,6 @@ declare const useDynamicFormState: () => {
|
|
|
1446
1501
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
1447
1502
|
}[];
|
|
1448
1503
|
} | undefined;
|
|
1449
|
-
readonly options?: {
|
|
1450
|
-
readonly suppressWarning?: boolean | undefined;
|
|
1451
|
-
readonly suppressValidatorError?: boolean | undefined;
|
|
1452
|
-
readonly first?: boolean | undefined;
|
|
1453
|
-
readonly firstFields?: boolean | readonly string[] | undefined;
|
|
1454
|
-
readonly messages?: {
|
|
1455
|
-
readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1456
|
-
readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
1457
|
-
readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1458
|
-
readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
1459
|
-
readonly date?: {
|
|
1460
|
-
readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1461
|
-
readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1462
|
-
readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
1463
|
-
} | undefined;
|
|
1464
|
-
readonly types?: {
|
|
1465
|
-
readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1466
|
-
readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1467
|
-
readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1468
|
-
readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1469
|
-
readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1470
|
-
readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1471
|
-
readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1472
|
-
readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1473
|
-
readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1474
|
-
readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1475
|
-
readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1476
|
-
readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1477
|
-
readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
1478
|
-
} | undefined;
|
|
1479
|
-
readonly string?: {
|
|
1480
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1481
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1482
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1483
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1484
|
-
} | undefined;
|
|
1485
|
-
readonly number?: {
|
|
1486
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1487
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1488
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1489
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1490
|
-
} | undefined;
|
|
1491
|
-
readonly array?: {
|
|
1492
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1493
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1494
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
1495
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
1496
|
-
} | undefined;
|
|
1497
|
-
readonly pattern?: {
|
|
1498
|
-
readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
1499
|
-
} | undefined;
|
|
1500
|
-
} | undefined;
|
|
1501
|
-
readonly keys?: readonly string[] | undefined;
|
|
1502
|
-
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
1503
|
-
} | undefined;
|
|
1504
1504
|
readonly defaultField?: {
|
|
1505
1505
|
readonly type?: RuleType | undefined;
|
|
1506
1506
|
readonly required?: boolean | undefined;
|
|
@@ -3573,6 +3573,61 @@ declare const useDynamicFormState: () => {
|
|
|
3573
3573
|
readonly rules?: readonly {
|
|
3574
3574
|
readonly type?: RuleType | undefined;
|
|
3575
3575
|
readonly required?: boolean | undefined;
|
|
3576
|
+
readonly options?: {
|
|
3577
|
+
readonly suppressWarning?: boolean | undefined;
|
|
3578
|
+
readonly suppressValidatorError?: boolean | undefined;
|
|
3579
|
+
readonly first?: boolean | undefined;
|
|
3580
|
+
readonly firstFields?: boolean | readonly string[] | undefined;
|
|
3581
|
+
readonly messages?: {
|
|
3582
|
+
readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3583
|
+
readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
3584
|
+
readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3585
|
+
readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
3586
|
+
readonly date?: {
|
|
3587
|
+
readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3588
|
+
readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3589
|
+
readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3590
|
+
} | undefined;
|
|
3591
|
+
readonly types?: {
|
|
3592
|
+
readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3593
|
+
readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3594
|
+
readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3595
|
+
readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3596
|
+
readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3597
|
+
readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3598
|
+
readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3599
|
+
readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3600
|
+
readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3601
|
+
readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3602
|
+
readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3603
|
+
readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3604
|
+
readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3605
|
+
} | undefined;
|
|
3606
|
+
readonly string?: {
|
|
3607
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3608
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3609
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3610
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3611
|
+
} | undefined;
|
|
3612
|
+
readonly number?: {
|
|
3613
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3614
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3615
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3616
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3617
|
+
} | undefined;
|
|
3618
|
+
readonly array?: {
|
|
3619
|
+
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3620
|
+
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3621
|
+
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3622
|
+
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3623
|
+
} | undefined;
|
|
3624
|
+
readonly pattern?: {
|
|
3625
|
+
readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
3626
|
+
} | undefined;
|
|
3627
|
+
} | undefined;
|
|
3628
|
+
readonly keys?: readonly string[] | undefined;
|
|
3629
|
+
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
3630
|
+
} | undefined;
|
|
3576
3631
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3577
3632
|
readonly pattern?: (RegExp | string) | undefined;
|
|
3578
3633
|
readonly min?: number | undefined;
|
|
@@ -3723,61 +3778,6 @@ declare const useDynamicFormState: () => {
|
|
|
3723
3778
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
3724
3779
|
}[];
|
|
3725
3780
|
} | undefined;
|
|
3726
|
-
readonly options?: {
|
|
3727
|
-
readonly suppressWarning?: boolean | undefined;
|
|
3728
|
-
readonly suppressValidatorError?: boolean | undefined;
|
|
3729
|
-
readonly first?: boolean | undefined;
|
|
3730
|
-
readonly firstFields?: boolean | readonly string[] | undefined;
|
|
3731
|
-
readonly messages?: {
|
|
3732
|
-
readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3733
|
-
readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
3734
|
-
readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3735
|
-
readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
3736
|
-
readonly date?: {
|
|
3737
|
-
readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3738
|
-
readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3739
|
-
readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
3740
|
-
} | undefined;
|
|
3741
|
-
readonly types?: {
|
|
3742
|
-
readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3743
|
-
readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3744
|
-
readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3745
|
-
readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3746
|
-
readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3747
|
-
readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3748
|
-
readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3749
|
-
readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3750
|
-
readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3751
|
-
readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3752
|
-
readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3753
|
-
readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3754
|
-
readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
3755
|
-
} | undefined;
|
|
3756
|
-
readonly string?: {
|
|
3757
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3758
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3759
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3760
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3761
|
-
} | undefined;
|
|
3762
|
-
readonly number?: {
|
|
3763
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3764
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3765
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3766
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3767
|
-
} | undefined;
|
|
3768
|
-
readonly array?: {
|
|
3769
|
-
readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3770
|
-
readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3771
|
-
readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
3772
|
-
readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
3773
|
-
} | undefined;
|
|
3774
|
-
readonly pattern?: {
|
|
3775
|
-
readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
3776
|
-
} | undefined;
|
|
3777
|
-
} | undefined;
|
|
3778
|
-
readonly keys?: readonly string[] | undefined;
|
|
3779
|
-
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
3780
|
-
} | undefined;
|
|
3781
3781
|
readonly defaultField?: {
|
|
3782
3782
|
readonly type?: RuleType | undefined;
|
|
3783
3783
|
readonly required?: boolean | undefined;
|