@robot-admin/naive-ui-components 0.6.31 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +5 -3
  3. package/dist/C_OrgChart.js.map +1 -1
  4. package/dist/C_OrgChart2.js.map +1 -1
  5. package/dist/C_Skeleton.js.map +1 -1
  6. package/dist/C_Skeleton2.js.map +1 -1
  7. package/dist/{C_Table-B8hpzOcR.css.map → C_Table-BcM5LqAM.css.map} +1 -1
  8. package/dist/{C_Table-CGP3n_u0.css.map → C_Table-HATVoq1F.css.map} +1 -1
  9. package/dist/C_Table.cjs +1 -1
  10. package/dist/C_Table.css +140 -97
  11. package/dist/C_Table.d.cts +2 -2
  12. package/dist/C_Table.d.ts +2 -2
  13. package/dist/C_Table.js +1 -1
  14. package/dist/C_Table.js.map +1 -1
  15. package/dist/C_Table2.js +3 -1
  16. package/dist/C_Table2.js.map +1 -1
  17. package/dist/constants.d.ts +4 -4
  18. package/dist/constants2.d.ts +3 -3
  19. package/dist/constants3.d.ts +3 -3
  20. package/dist/constants4.d.ts +2 -2
  21. package/dist/constants5.d.ts +2 -2
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.d.cts +2 -2
  24. package/dist/index.d.ts +2 -2
  25. package/dist/index.js +1 -1
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.vue.d.ts +1 -1
  28. package/dist/index10.vue.d.ts +1 -1
  29. package/dist/index11.vue.d.ts +2 -2
  30. package/dist/index13.vue.d.ts +3 -3
  31. package/dist/index14.vue.d.ts +1 -1
  32. package/dist/index15.vue.d.ts +4 -4
  33. package/dist/index16.vue.d.ts +2 -2
  34. package/dist/index18.vue.d.ts +4 -4
  35. package/dist/index2.vue.d.ts +6 -6
  36. package/dist/index20.vue.d.ts +1 -1
  37. package/dist/index21.vue.d.ts +1 -1
  38. package/dist/index22.vue.d.ts +2 -2
  39. package/dist/index23.vue.d.ts +1 -1
  40. package/dist/index24.vue.d.ts +1 -1
  41. package/dist/index26.vue.d.ts +4 -4
  42. package/dist/index27.vue.d.ts +2 -2
  43. package/dist/index28.vue.d.ts +3 -3
  44. package/dist/index3.vue.d.ts +3 -3
  45. package/dist/index4.vue.d.ts +5 -5
  46. package/dist/index6.vue.d.ts +2 -2
  47. package/dist/index7.vue.d.ts +2 -2
  48. package/dist/index9.vue.d.ts +2 -2
  49. package/dist/resolver.cjs.map +1 -1
  50. package/dist/resolver.js.map +1 -1
  51. package/dist/style.css +142 -99
  52. package/dist/useCalendarEvents.d.ts +1 -1
  53. package/dist/useCollapsePanel.d.ts +5 -5
  54. package/dist/useCropperCore.d.ts +4 -4
  55. package/dist/useDraggableLayout.d.ts +5 -5
  56. package/dist/useDynamicFormState.d.ts +124 -124
  57. package/dist/useEdgeInteraction.d.ts +1 -1
  58. package/dist/useGlobalSearch.d.ts +1 -1
  59. package/dist/useInfiniteScroll.d.ts +4 -4
  60. package/dist/useModalEdit.d.ts +513 -240
  61. package/dist/useQRCode.d.ts +3 -3
  62. package/dist/useSearchState.d.ts +2 -2
  63. package/dist/useSignatureHistory.d.ts +3 -3
  64. package/dist/useSplitResize.d.ts +5 -5
  65. package/dist/useTimeSelection.d.ts +2 -2
  66. package/dist/useTreeOperations.d.ts +4 -4
  67. package/dist/useWorkflowValidation.d.ts +7 -7
  68. 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,22 +71,22 @@ 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
+ persistKey: string;
84
85
  activeKeys: string[];
85
86
  defaultActiveKeys: string[];
86
87
  accordion: boolean;
87
88
  variant: CollapsePanelVariant;
88
89
  expandIconPosition: ExpandIconPosition;
89
- persistKey: string;
90
90
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
91
91
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
92
92
  declare const _default: typeof __VLS_export;
@@ -51,28 +51,28 @@ 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
  ready: () => any;
56
55
  crop: (result: any) => any;
56
+ error: (error: Event) => any;
57
57
  confirm: (result: any) => any;
58
58
  cancel: () => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
- onError?: ((error: Event) => any) | undefined;
61
60
  onReady?: (() => any) | undefined;
62
61
  onCrop?: ((result: any) => any) | undefined;
62
+ onError?: ((error: Event) => any) | undefined;
63
63
  onConfirm?: ((result: any) => any) | undefined;
64
64
  onCancel?: (() => any) | undefined;
65
65
  }>, {
66
- disabled: boolean;
67
66
  height: string | number;
68
- showPreview: boolean;
69
67
  showToolbar: boolean;
68
+ disabled: boolean;
70
69
  src: string;
71
70
  aspectRatio: number;
72
71
  outputFormat: CropOutputFormat;
73
72
  outputQuality: number;
74
73
  maxOutputWidth: number;
75
74
  maxOutputHeight: number;
75
+ showPreview: boolean;
76
76
  circular: boolean;
77
77
  modal: boolean;
78
78
  modalTitle: string;
@@ -116,15 +116,12 @@ 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
- direction: "vertical" | "horizontal";
120
119
  sort: boolean;
121
120
  disabled: boolean;
122
121
  modelValue: DraggableItem[];
123
- delay: number;
124
- emptyText: string;
125
- gap: string | number;
126
- animation: number;
127
122
  group: string | GroupOptions;
123
+ animation: number;
124
+ delay: number;
128
125
  handle: string;
129
126
  showHandle: boolean;
130
127
  ghostClass: string;
@@ -134,11 +131,14 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
134
131
  listClass: string;
135
132
  itemClass: string;
136
133
  showEmptyState: boolean;
134
+ emptyText: string;
137
135
  swapThreshold: number;
138
136
  invertSwap: boolean;
137
+ direction: "vertical" | "horizontal";
139
138
  layout: LayoutMode;
140
139
  gridColumns: number;
141
140
  gridRows: number;
141
+ gap: string | number;
142
142
  flexWrap: boolean;
143
143
  justifyContent: JustifyContent;
144
144
  alignItems: AlignItems;
@@ -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,71 +1294,12 @@ 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
- readonly options?: {
1301
- readonly suppressWarning?: boolean | undefined;
1302
- readonly suppressValidatorError?: boolean | undefined;
1303
- readonly first?: boolean | undefined;
1304
- readonly firstFields?: boolean | readonly string[] | undefined;
1305
- readonly messages?: {
1306
- readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
1307
- readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
1308
- readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1309
- readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
1310
- readonly date?: {
1311
- readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
1312
- readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
1313
- readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
1314
- } | undefined;
1315
- readonly types?: {
1316
- readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1317
- readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1318
- readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1319
- readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1320
- readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1321
- readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1322
- readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1323
- readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1324
- readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1325
- readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1326
- readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1327
- readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1328
- readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1329
- } | undefined;
1330
- readonly string?: {
1331
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1332
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1333
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1334
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
1335
- } | undefined;
1336
- readonly number?: {
1337
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1338
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1339
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1340
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
1341
- } | undefined;
1342
- readonly array?: {
1343
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1344
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1345
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1346
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
1347
- } | undefined;
1348
- readonly pattern?: {
1349
- readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
1350
- } | undefined;
1351
- } | undefined;
1352
- readonly keys?: readonly string[] | undefined;
1353
- readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
1354
- } | 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
1299
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1300
+ readonly pattern?: (RegExp | string) | undefined;
1361
1301
  readonly min?: number | undefined;
1302
+ readonly max?: number | undefined;
1362
1303
  readonly len?: number | undefined;
1363
1304
  readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
1364
1305
  readonly whitespace?: boolean | undefined;
@@ -1505,6 +1446,61 @@ declare const useDynamicFormState: () => {
1505
1446
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
1506
1447
  }[];
1507
1448
  } | 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;
1508
1504
  readonly defaultField?: {
1509
1505
  readonly type?: RuleType | undefined;
1510
1506
  readonly required?: 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,71 +3571,12 @@ 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
- readonly options?: {
3578
- readonly suppressWarning?: boolean | undefined;
3579
- readonly suppressValidatorError?: boolean | undefined;
3580
- readonly first?: boolean | undefined;
3581
- readonly firstFields?: boolean | readonly string[] | undefined;
3582
- readonly messages?: {
3583
- readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
3584
- readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
3585
- readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3586
- readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
3587
- readonly date?: {
3588
- readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
3589
- readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
3590
- readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
3591
- } | undefined;
3592
- readonly types?: {
3593
- readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3594
- readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3595
- readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3596
- readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3597
- readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3598
- readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3599
- readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3600
- readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3601
- readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3602
- readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3603
- readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3604
- readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3605
- readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3606
- } | undefined;
3607
- readonly string?: {
3608
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3609
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3610
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3611
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
3612
- } | undefined;
3613
- readonly number?: {
3614
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3615
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3616
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3617
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
3618
- } | undefined;
3619
- readonly array?: {
3620
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3621
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3622
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3623
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
3624
- } | undefined;
3625
- readonly pattern?: {
3626
- readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
3627
- } | undefined;
3628
- } | undefined;
3629
- readonly keys?: readonly string[] | undefined;
3630
- readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
3631
- } | 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
3576
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3577
+ readonly pattern?: (RegExp | string) | undefined;
3638
3578
  readonly min?: number | undefined;
3579
+ readonly max?: number | undefined;
3639
3580
  readonly len?: number | undefined;
3640
3581
  readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
3641
3582
  readonly whitespace?: boolean | undefined;
@@ -3782,6 +3723,61 @@ declare const useDynamicFormState: () => {
3782
3723
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
3783
3724
  }[];
3784
3725
  } | 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;
3785
3781
  readonly defaultField?: {
3786
3782
  readonly type?: RuleType | undefined;
3787
3783
  readonly required?: 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,11 +259,11 @@ 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
- theme: "light" | "dark";
263
262
  width: string | number;
264
263
  height: string | number;
265
264
  readonly: boolean;
266
265
  showToolbar: boolean;
266
+ theme: "light" | "dark";
267
267
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
268
268
  declare const _default: typeof __VLS_export;
269
269
  //#endregion
@@ -50,8 +50,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
50
50
  openDialog: () => Promise<void>;
51
51
  closeDialog: () => void;
52
52
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
53
- placeholder: string;
54
53
  emptyText: string;
54
+ placeholder: string;
55
55
  resultGroupTitle: string;
56
56
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
57
57
  declare const _default: typeof __VLS_export;
@@ -89,14 +89,14 @@ 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
- loading: boolean;
93
- columns: number;
94
92
  gap: number;
95
- lazy: boolean;
93
+ animationDuration: number;
94
+ columns: number;
96
95
  infinite: boolean;
96
+ loading: 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>;