@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.
Files changed (188) hide show
  1. package/dist/C_ActionBar-nnfbZCea.css.map +1 -0
  2. package/dist/C_ActionBar2.js +2 -2
  3. package/dist/C_ActionBar2.js.map +1 -1
  4. package/dist/C_AntV-DGjscTWa.css.map +1 -0
  5. package/dist/C_AntV2.js +6 -6
  6. package/dist/C_AntV2.js.map +1 -1
  7. package/dist/C_Barcode-DjTmDkbQ.css.map +1 -0
  8. package/dist/C_Barcode2.js +1 -1
  9. package/dist/C_Barcode2.js.map +1 -1
  10. package/dist/C_Captcha-Ccq3DMrR.css.map +1 -0
  11. package/dist/C_Captcha2.js +1 -1
  12. package/dist/C_Captcha2.js.map +1 -1
  13. package/dist/C_Cascade-IUUHIh7r.css.map +1 -0
  14. package/dist/C_Cascade2.js +2 -2
  15. package/dist/C_Cascade2.js.map +1 -1
  16. package/dist/C_City-Cv5BESaN.css.map +1 -0
  17. package/dist/C_City2.js +2 -2
  18. package/dist/C_City2.js.map +1 -1
  19. package/dist/C_Code-DPZlNSxL.css.map +1 -0
  20. package/dist/C_Code2.js +8 -7
  21. package/dist/C_Code2.js.map +1 -1
  22. package/dist/C_CollapsePanel-Fap-lv_5.css.map +1 -0
  23. package/dist/C_CollapsePanel2.js +1 -1
  24. package/dist/C_CollapsePanel2.js.map +1 -1
  25. package/dist/C_Cron-C0-8b5af.css.map +1 -0
  26. package/dist/C_Cron2.js +15 -14
  27. package/dist/C_Cron2.js.map +1 -1
  28. package/dist/C_Date2.js +1 -1
  29. package/dist/C_Date2.js.map +1 -1
  30. package/dist/C_Draggable-Bq6o0qXn.css.map +1 -0
  31. package/dist/C_Draggable2.js +1 -1
  32. package/dist/C_Draggable2.js.map +1 -1
  33. package/dist/C_Editor-OlxIF9-5.css.map +1 -0
  34. package/dist/C_Editor2.js +1 -1
  35. package/dist/C_Editor2.js.map +1 -1
  36. package/dist/C_FilePreview-B4XgTv-h.css.map +1 -0
  37. package/dist/C_FilePreview.cjs +1 -0
  38. package/dist/C_FilePreview.js +1 -0
  39. package/dist/C_FilePreview2.js +10 -9
  40. package/dist/C_FilePreview2.js.map +1 -1
  41. package/dist/C_Form-Cr9oX037.css.map +1 -0
  42. package/dist/C_Form.cjs +1 -0
  43. package/dist/C_Form.js +1 -0
  44. package/dist/C_Form2.js +69 -72
  45. package/dist/C_Form2.js.map +1 -1
  46. package/dist/C_FormSearch-DlIEoh7X.css.map +1 -0
  47. package/dist/C_FormSearch2.js +2 -2
  48. package/dist/C_FormSearch2.js.map +1 -1
  49. package/dist/C_FormulaEditor-Cm0CokN5.css.map +1 -0
  50. package/dist/C_FormulaEditor2.js +6 -6
  51. package/dist/C_FormulaEditor2.js.map +1 -1
  52. package/dist/C_FullCalendar-BULCIlVK.css.map +1 -0
  53. package/dist/C_FullCalendar2.js +2 -2
  54. package/dist/C_FullCalendar2.js.map +1 -1
  55. package/dist/C_Guide2.js +1 -1
  56. package/dist/C_Guide2.js.map +1 -1
  57. package/dist/C_Icon2.js.map +1 -1
  58. package/dist/C_ImageCropper-DrmUlaLi.css.map +1 -0
  59. package/dist/C_ImageCropper2.js +4 -4
  60. package/dist/C_ImageCropper2.js.map +1 -1
  61. package/dist/C_Language2.js +1 -1
  62. package/dist/C_Language2.js.map +1 -1
  63. package/dist/C_Map-WUMXSAfy.css.map +1 -0
  64. package/dist/C_Map2.js +2 -2
  65. package/dist/C_Map2.js.map +1 -1
  66. package/dist/C_Markdown-Dmv8yaM4.css.map +1 -0
  67. package/dist/C_Markdown2.js +4 -4
  68. package/dist/C_Markdown2.js.map +1 -1
  69. package/dist/C_NotificationCenter-DbgBiyqB.css.map +1 -0
  70. package/dist/C_NotificationCenter2.js +21 -20
  71. package/dist/C_NotificationCenter2.js.map +1 -1
  72. package/dist/C_Progress2.js +1 -1
  73. package/dist/C_Progress2.js.map +1 -1
  74. package/dist/C_QRCode-G7fiAkm4.css.map +1 -0
  75. package/dist/C_QRCode2.js +1 -1
  76. package/dist/C_QRCode2.js.map +1 -1
  77. package/dist/C_Signature-es-ZNPzr.css.map +1 -0
  78. package/dist/C_Signature2.js +2 -2
  79. package/dist/C_Signature2.js.map +1 -1
  80. package/dist/C_SplitPane-Br2eK8IG.css.map +1 -0
  81. package/dist/C_SplitPane2.js +1 -1
  82. package/dist/C_SplitPane2.js.map +1 -1
  83. package/dist/C_Steps-P9Qj9iDd.css.map +1 -0
  84. package/dist/C_Steps2.js +1 -1
  85. package/dist/C_Steps2.js.map +1 -1
  86. package/dist/C_Table-DAwAxr72.css.map +1 -0
  87. package/dist/C_Table.cjs +1 -0
  88. package/dist/C_Table.js +1 -0
  89. package/dist/C_Table2.js +3 -3
  90. package/dist/C_Table2.js.map +1 -1
  91. package/dist/C_Theme2.js +1 -1
  92. package/dist/C_Theme2.js.map +1 -1
  93. package/dist/C_Time-Bd_e1YDN.css.map +1 -0
  94. package/dist/C_Time2.js +2 -2
  95. package/dist/C_Time2.js.map +1 -1
  96. package/dist/C_Tree-DnGc_MPb.css.map +1 -0
  97. package/dist/C_Tree2.js +2 -2
  98. package/dist/C_Tree2.js.map +1 -1
  99. package/dist/C_Upload-i8LB_29U.css.map +1 -0
  100. package/dist/C_Upload2.js +5 -5
  101. package/dist/C_Upload2.js.map +1 -1
  102. package/dist/C_VideoPlayer-rm0MODUv.css.map +1 -0
  103. package/dist/C_VideoPlayer2.js +21 -20
  104. package/dist/C_VideoPlayer2.js.map +1 -1
  105. package/dist/C_VtableGantt-BpY-Rng3.css.map +1 -0
  106. package/dist/C_VtableGantt2.js +2 -2
  107. package/dist/C_VtableGantt2.js.map +1 -1
  108. package/dist/C_WaterFall-HWB-gPON.css.map +1 -0
  109. package/dist/C_WaterFall2.js +2 -2
  110. package/dist/C_WaterFall2.js.map +1 -1
  111. package/dist/C_WorkFlow-CSO86Cuc.css.map +1 -0
  112. package/dist/C_WorkFlow2.js +6 -6
  113. package/dist/C_WorkFlow2.js.map +1 -1
  114. package/dist/constants.d.ts +4 -4
  115. package/dist/constants2.d.ts +4 -4
  116. package/dist/constants3.d.ts +4 -4
  117. package/dist/constants4.d.ts +5 -5
  118. package/dist/constants5.d.ts +2 -2
  119. package/dist/data.d.ts +1 -1
  120. package/dist/index.js.map +1 -1
  121. package/dist/index.vue.d.ts +1 -1
  122. package/dist/index10.vue.d.ts +7 -7
  123. package/dist/index11.vue.d.ts +2 -2
  124. package/dist/index12.vue.d.ts +5 -5
  125. package/dist/index12.vue.d.ts.map +1 -1
  126. package/dist/index13.vue.d.ts +1 -1
  127. package/dist/index14.vue.d.ts +1 -1
  128. package/dist/index16.vue.d.ts +1 -1
  129. package/dist/index2.vue.d.ts +6 -6
  130. package/dist/index3.vue.d.ts +2 -2
  131. package/dist/index4.vue.d.ts +2 -2
  132. package/dist/index5.vue.d.ts +2 -2
  133. package/dist/index6.vue.d.ts +1 -1
  134. package/dist/index8.vue.d.ts +3 -3
  135. package/dist/resolver.js.map +1 -1
  136. package/dist/style.css +1555 -1555
  137. package/dist/useCalendarEvents.d.ts +2 -2
  138. package/dist/useCollapsePanel.d.ts +2 -2
  139. package/dist/useCropperCore.d.ts +3 -3
  140. package/dist/useDraggableLayout.d.ts +8 -8
  141. package/dist/useDynamicFormState.d.ts +111 -111
  142. package/dist/useDynamicFormState.d.ts.map +1 -1
  143. package/dist/useEdgeInteraction.d.ts +2 -2
  144. package/dist/useInfiniteScroll.d.ts +1 -1
  145. package/dist/useModalEdit.d.ts +4 -4
  146. package/dist/useModalEdit.d.ts.map +1 -1
  147. package/dist/useQRCode.d.ts +4 -4
  148. package/dist/useQRCode.d.ts.map +1 -1
  149. package/dist/useSearchState.d.ts +2 -2
  150. package/dist/useSignatureHistory.d.ts +4 -4
  151. package/dist/useSplitResize.d.ts +6 -6
  152. package/dist/useSplitResize.d.ts.map +1 -1
  153. package/dist/useTimeSelection.d.ts +2 -2
  154. package/dist/useTreeOperations.d.ts +6 -6
  155. package/dist/useWorkflowValidation.d.ts +5 -5
  156. package/package.json +2 -1
  157. package/dist/C_ActionBar-DWN-woTc.css.map +0 -1
  158. package/dist/C_AntV-AFKyK6hH.css.map +0 -1
  159. package/dist/C_Barcode-P_EFj8dC.css.map +0 -1
  160. package/dist/C_Captcha-C-ef41xw.css.map +0 -1
  161. package/dist/C_Cascade-D9kNsjsV.css.map +0 -1
  162. package/dist/C_City-BCQ4ipiK.css.map +0 -1
  163. package/dist/C_Code-C9kvvEmO.css.map +0 -1
  164. package/dist/C_CollapsePanel-BUJHuYcU.css.map +0 -1
  165. package/dist/C_Cron-yx2Ob4Jl.css.map +0 -1
  166. package/dist/C_Draggable-C483syRC.css.map +0 -1
  167. package/dist/C_Editor-Bp0SyIEw.css.map +0 -1
  168. package/dist/C_FilePreview-CPqvhoCy.css.map +0 -1
  169. package/dist/C_Form-Jx7PY3sT.css.map +0 -1
  170. package/dist/C_FormSearch-DvRgxlRn.css.map +0 -1
  171. package/dist/C_FormulaEditor-DtGkt4T_.css.map +0 -1
  172. package/dist/C_FullCalendar-BF7H0YIx.css.map +0 -1
  173. package/dist/C_ImageCropper-BVJfUufl.css.map +0 -1
  174. package/dist/C_Map-DpzeuWdX.css.map +0 -1
  175. package/dist/C_Markdown-BEjxknqd.css.map +0 -1
  176. package/dist/C_NotificationCenter-0l3TY2Gn.css.map +0 -1
  177. package/dist/C_QRCode-DbdiAIPg.css.map +0 -1
  178. package/dist/C_Signature-zhHCbra9.css.map +0 -1
  179. package/dist/C_SplitPane-C6sBsfKY.css.map +0 -1
  180. package/dist/C_Steps-CODHN5Hs.css.map +0 -1
  181. package/dist/C_Table-DSNsntmT.css.map +0 -1
  182. package/dist/C_Time-BvZLYraL.css.map +0 -1
  183. package/dist/C_Tree-0GDv--jX.css.map +0 -1
  184. package/dist/C_Upload-BXd3YYLx.css.map +0 -1
  185. package/dist/C_VideoPlayer-DYG3RL0Q.css.map +0 -1
  186. package/dist/C_VtableGantt-fhItIiHE.css.map +0 -1
  187. package/dist/C_WaterFall-8sQDFXKg.css.map +0 -1
  188. 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[];
@@ -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
- layout: LayoutMode;
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;