@robot-admin/naive-ui-components 0.7.0 → 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 (46) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/C_Table.d.cts +2 -2
  3. package/dist/C_Table.d.ts +2 -2
  4. package/dist/C_Table.js.map +1 -1
  5. package/dist/C_Table2.js +1 -1
  6. package/dist/C_Table2.js.map +1 -1
  7. package/dist/constants.d.ts +2 -2
  8. package/dist/constants2.d.ts +3 -3
  9. package/dist/constants4.d.ts +4 -4
  10. package/dist/constants5.d.ts +4 -4
  11. package/dist/data.d.ts +1 -1
  12. package/dist/index.d.cts +2 -2
  13. package/dist/index.d.ts +2 -2
  14. package/dist/index10.vue.d.ts +3 -3
  15. package/dist/index11.vue.d.ts +6 -6
  16. package/dist/index12.vue.d.ts +2 -2
  17. package/dist/index13.vue.d.ts +4 -4
  18. package/dist/index15.vue.d.ts +4 -4
  19. package/dist/index18.vue.d.ts +3 -3
  20. package/dist/index2.vue.d.ts +2 -2
  21. package/dist/index20.vue.d.ts +2 -2
  22. package/dist/index21.vue.d.ts +1 -1
  23. package/dist/index22.vue.d.ts +2 -2
  24. package/dist/index24.vue.d.ts +1 -1
  25. package/dist/index26.vue.d.ts +5 -5
  26. package/dist/index27.vue.d.ts +3 -3
  27. package/dist/index28.vue.d.ts +3 -3
  28. package/dist/index3.vue.d.ts +3 -3
  29. package/dist/index4.vue.d.ts +5 -5
  30. package/dist/index6.vue.d.ts +5 -5
  31. package/dist/index8.vue.d.ts +2 -2
  32. package/dist/useCollapsePanel.d.ts +1 -1
  33. package/dist/useCropperCore.d.ts +7 -7
  34. package/dist/useDraggableLayout.d.ts +9 -9
  35. package/dist/useDynamicFormState.d.ts +110 -110
  36. package/dist/useEdgeInteraction.d.ts +2 -2
  37. package/dist/useGlobalSearch.d.ts +1 -1
  38. package/dist/useInfiniteScroll.d.ts +2 -2
  39. package/dist/useModalEdit.d.ts +17 -2
  40. package/dist/useQRCode.d.ts +2 -2
  41. package/dist/useSignatureHistory.d.ts +4 -4
  42. package/dist/useSplitResize.d.ts +7 -7
  43. package/dist/useTimeSelection.d.ts +3 -3
  44. package/dist/useTreeOperations.d.ts +4 -4
  45. package/dist/useWorkflowValidation.d.ts +2 -2
  46. package/package.json +1 -1
@@ -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
- cancel: () => any;
55
- error: (error: Event) => any;
56
54
  ready: () => any;
57
55
  crop: (result: any) => any;
56
+ error: (error: Event) => any;
58
57
  confirm: (result: any) => any;
58
+ cancel: () => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
- onCancel?: (() => any) | undefined;
61
- onError?: ((error: Event) => any) | undefined;
62
60
  onReady?: (() => any) | undefined;
63
61
  onCrop?: ((result: any) => any) | undefined;
62
+ onError?: ((error: Event) => any) | undefined;
64
63
  onConfirm?: ((result: any) => any) | undefined;
64
+ onCancel?: (() => any) | undefined;
65
65
  }>, {
66
- disabled: boolean;
67
- aspectRatio: number;
68
66
  height: string | number;
69
67
  showToolbar: boolean;
70
- showPreview: boolean;
68
+ disabled: boolean;
71
69
  src: string;
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,19 +116,11 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
116
116
  "onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
117
117
  "onList-change"?: ((list: DraggableItem[]) => any) | undefined;
118
118
  }>, {
119
- modelValue: DraggableItem[];
120
119
  sort: boolean;
121
120
  disabled: boolean;
122
- layout: LayoutMode;
123
- itemClass: string;
121
+ modelValue: DraggableItem[];
124
122
  group: string | GroupOptions;
125
- alignItems: AlignItems;
126
- direction: "vertical" | "horizontal";
127
- flexWrap: boolean;
128
- justifyContent: JustifyContent;
129
123
  animation: number;
130
- gap: string | number;
131
- emptyText: string;
132
124
  delay: number;
133
125
  handle: string;
134
126
  showHandle: boolean;
@@ -137,11 +129,19 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
137
129
  dragClass: string;
138
130
  wrapperClass: string;
139
131
  listClass: string;
132
+ itemClass: string;
140
133
  showEmptyState: boolean;
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>;
@@ -1296,61 +1296,6 @@ 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;
1354
1299
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1355
1300
  readonly pattern?: (RegExp | string) | undefined;
1356
1301
  readonly min?: number | undefined;
@@ -1501,6 +1446,61 @@ declare const useDynamicFormState: () => {
1501
1446
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
1502
1447
  }[];
1503
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;
1504
1504
  readonly defaultField?: {
1505
1505
  readonly type?: RuleType | undefined;
1506
1506
  readonly required?: boolean | undefined;
@@ -3573,61 +3573,6 @@ 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;
3631
3576
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3632
3577
  readonly pattern?: (RegExp | string) | undefined;
3633
3578
  readonly min?: number | undefined;
@@ -3778,6 +3723,61 @@ declare const useDynamicFormState: () => {
3778
3723
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
3779
3724
  }[];
3780
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;
3781
3781
  readonly defaultField?: {
3782
3782
  readonly type?: RuleType | undefined;
3783
3783
  readonly required?: boolean | undefined;
@@ -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
- readonly: boolean;
263
- theme: "light" | "dark";
264
262
  width: string | number;
265
263
  height: string | number;
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,11 +89,11 @@ 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;
92
+ gap: number;
93
93
  animationDuration: number;
94
94
  columns: number;
95
- gap: number;
96
95
  infinite: boolean;
96
+ loading: boolean;
97
97
  lazy: boolean;
98
98
  skeleton: boolean;
99
99
  skeletonCount: number;
@@ -223,6 +223,7 @@ interface UseRowDragReturn {
223
223
  /** 是否正在拖拽 */
224
224
  isDragging: Ref<boolean>;
225
225
  }
226
+ /** 行拖拽排序组合式函数 */
226
227
  declare function useRowDrag<T extends DataRecord = DataRecord>(options: UseRowDragOptions<T>): UseRowDragReturn;
227
228
  //#endregion
228
229
  //#region src/components/C_Table/composables/useCrossPageSelection.d.ts
@@ -257,6 +258,7 @@ interface UseCrossPageSelectionReturn<T extends DataRecord = DataRecord> {
257
258
  /** 判断 key 是否选中 */
258
259
  isSelected: (key: DataTableRowKey$1) => boolean;
259
260
  }
261
+ /** 跨页多选组合式函数 */
260
262
  declare function useCrossPageSelection<T extends DataRecord = DataRecord>(options: UseCrossPageSelectionOptions<T>): UseCrossPageSelectionReturn<T>;
261
263
  //#endregion
262
264
  //#region src/components/C_Table/composables/useTableExport.d.ts
@@ -552,7 +554,7 @@ interface ColumnFormatter {
552
554
  /** 自定义格式化函数(优先级最高) */
553
555
  fn?: (value: unknown, row: DataRecord) => string;
554
556
  /** 覆盖全局格式配置 */
555
- config?: FormatterConfig[FormatterType];
557
+ config?: Record<string, unknown>;
556
558
  }
557
559
  interface TableGlobalConfig {
558
560
  /** 表格显示默认值 */
@@ -782,6 +784,19 @@ interface UseTableExpandReturn<T extends DataRecord = DataRecord, C = any> {
782
784
  handleSelectionChange: (keys: DataTableRowKey[]) => void;
783
785
  getTableColumns: (originalColumns: TableColumn<T>[]) => any[];
784
786
  }
787
+ /**
788
+ * 展平 TableColumn 联合类型以便直接访问 key/title/visible 等属性。
789
+ * 各 composable 共用此类型,避免重复定义。
790
+ */
791
+ type ColumnWithKey = TableColumn & {
792
+ key?: string;
793
+ title?: string;
794
+ visible?: boolean;
795
+ width?: number | string;
796
+ align?: string;
797
+ titleAlign?: string;
798
+ formatter?: ColumnFormatter;
799
+ };
785
800
  //#endregion
786
801
  //#region src/components/C_Table/index.vue.d.ts
787
802
  type __VLS_Props = {
@@ -1289,5 +1304,5 @@ declare function useModalEdit<T = Record<string, any>>(options: ModalEditOptions
1289
1304
  getEditingRowData: (rowKey: DataTableRowKey$1) => Record<string, any> | null;
1290
1305
  };
1291
1306
  //#endregion
1292
- export { PrintWatermarkOptions as $, BatchActionsConfig as A, ExportConfig as B, FormatterConfig as C, applyFormatter as D, TableGlobalConfig as E, TableConfig as F, useCrossPageSelection as G, CrossPageSelectionConfig as H, TreeConfig as I, UseRowDragReturn as J, RowDragConfig as K, VirtualScrollConfig as L, CrudBinding as M, ErrorConfig as N, mergeGlobalConfig as O, SummaryConfig as P, useDynamicRows as Q, createEditModeChecker as R, ColumnFormatter as S, TABLE_GLOBAL_CONFIG_KEY as T, UseCrossPageSelectionOptions as U, exportTableData as V, UseCrossPageSelectionReturn as W, DynamicRowsOptions as X, useRowDrag as Y, DynamicRowsReturn as Z, SimpleTableActions as _, useTableExpand as a, UseTableExpandOptions as b, useTableColumns as c, DataRecord as d, printPresets as et, EditMode as f, SelectOption as g, ParentChildLinkMode as h, useTableActions as i, ColumnDragConfig as j, useTableGlobalConfig as k, _default as l, PaginationConfig as m, useCellEdit as n, useTableManager as o, MaybeRefLike as p, UseRowDragOptions as q, usePagination as r, useRowEdit as s, useModalEdit as t, usePrintWatermark as tt, ChildSelectionState as u, TableColumn as v, FormatterType as w, UseTableExpandReturn as x, TableEmits as y, resolveConfig as z };
1307
+ export { useDynamicRows as $, useTableGlobalConfig as A, resolveConfig as B, ColumnFormatter as C, TableGlobalConfig as D, TABLE_GLOBAL_CONFIG_KEY as E, SummaryConfig as F, UseCrossPageSelectionReturn as G, exportTableData as H, TableConfig as I, UseRowDragOptions as J, useCrossPageSelection as K, TreeConfig as L, ColumnDragConfig as M, CrudBinding as N, applyFormatter as O, ErrorConfig as P, DynamicRowsReturn as Q, VirtualScrollConfig as R, UseTableExpandReturn as S, FormatterType as T, CrossPageSelectionConfig as U, ExportConfig as V, UseCrossPageSelectionOptions as W, useRowDrag as X, UseRowDragReturn as Y, DynamicRowsOptions as Z, SelectOption as _, useTableExpand as a, TableEmits as b, useTableColumns as c, ColumnWithKey as d, PrintWatermarkOptions as et, DataRecord as f, ParentChildLinkMode as g, PaginationConfig as h, useTableActions as i, BatchActionsConfig as j, mergeGlobalConfig as k, _default as l, MaybeRefLike as m, useCellEdit as n, usePrintWatermark as nt, useTableManager as o, EditMode as p, RowDragConfig as q, usePagination as r, useRowEdit as s, useModalEdit as t, printPresets as tt, ChildSelectionState as u, SimpleTableActions as v, FormatterConfig as w, UseTableExpandOptions as x, TableColumn as y, createEditModeChecker as z };
1293
1308
  //# sourceMappingURL=useModalEdit.d.ts.map
@@ -50,13 +50,13 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
50
50
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
51
51
  onError?: ((error: Error) => any) | undefined;
52
52
  }>, {
53
- mode: RenderMode;
54
53
  size: number;
55
54
  label: string;
56
55
  color: string;
57
- showBorder: boolean;
58
56
  margin: number;
57
+ showBorder: boolean;
59
58
  showLabel: boolean;
59
+ mode: RenderMode;
60
60
  bgColor: string;
61
61
  errorCorrectionLevel: ErrorCorrectionLevel;
62
62
  logo: LogoOptions;
@@ -91,27 +91,27 @@ interface SignatureEmits {
91
91
  //#endregion
92
92
  //#region src/components/C_Signature/index.vue.d.ts
93
93
  declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
94
- change: (data: SignatureStroke[]) => any;
95
94
  clear: () => any;
95
+ change: (data: SignatureStroke[]) => any;
96
96
  "start-draw": () => any;
97
97
  drawing: (point: SignaturePoint) => any;
98
98
  "end-draw": (stroke: SignatureStroke) => any;
99
99
  undo: () => any;
100
100
  redo: () => any;
101
101
  }, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
102
- onChange?: ((data: SignatureStroke[]) => any) | undefined;
103
102
  onClear?: (() => any) | undefined;
103
+ onChange?: ((data: SignatureStroke[]) => any) | undefined;
104
104
  "onStart-draw"?: (() => any) | undefined;
105
105
  onDrawing?: ((point: SignaturePoint) => any) | undefined;
106
106
  "onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
107
107
  onUndo?: (() => any) | undefined;
108
108
  onRedo?: (() => any) | undefined;
109
109
  }>, {
110
- disabled: boolean;
111
- readonly: boolean;
112
110
  width: number | string;
113
111
  height: number | string;
112
+ readonly: boolean;
114
113
  showToolbar: boolean;
114
+ disabled: boolean;
115
115
  maxHistory: number;
116
116
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
117
117
  declare const _default: typeof __VLS_export;
@@ -66,25 +66,25 @@ type __VLS_Slots = {} & {
66
66
  second?: (props: typeof __VLS_13) => any;
67
67
  };
68
68
  declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
69
+ "drag-start": (size: number) => any;
70
+ "drag-end": (size: number) => any;
69
71
  resize: (firstSize: number, secondSize: number) => any;
70
72
  collapse: (target: CollapseTarget) => any;
71
73
  expand: (target: CollapseTarget) => any;
72
- "drag-start": (size: number) => any;
73
- "drag-end": (size: number) => any;
74
74
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
75
+ "onDrag-start"?: ((size: number) => any) | undefined;
76
+ "onDrag-end"?: ((size: number) => any) | undefined;
75
77
  onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
76
78
  onCollapse?: ((target: CollapseTarget) => any) | undefined;
77
79
  onExpand?: ((target: CollapseTarget) => any) | undefined;
78
- "onDrag-start"?: ((size: number) => any) | undefined;
79
- "onDrag-end"?: ((size: number) => any) | undefined;
80
80
  }>, {
81
81
  disabled: boolean;
82
- step: number;
83
82
  direction: SplitDirection;
83
+ step: number;
84
+ collapsible: boolean;
85
+ maxSize: number;
84
86
  defaultSize: number;
85
87
  minSize: number;
86
- maxSize: number;
87
- collapsible: boolean;
88
88
  showCollapseButton: boolean;
89
89
  gutterSize: number;
90
90
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -48,12 +48,12 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
48
48
  "onChange-start"?: ((time: number | null) => any) | undefined;
49
49
  "onChange-end"?: ((time: number | null) => any) | undefined;
50
50
  }>, {
51
- mode: TimeMode;
52
51
  placeholder: string;
53
- startPlaceholder: string;
54
- endPlaceholder: string;
55
52
  attrs: Record<string, any>;
56
53
  format: string;
54
+ mode: TimeMode;
55
+ startPlaceholder: string;
56
+ endPlaceholder: string;
57
57
  useHours: boolean;
58
58
  useMinutes: boolean;
59
59
  useSeconds: boolean;
@@ -102,16 +102,16 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
102
102
  "onNode-drop"?: ((info: DropInfo) => any) | undefined;
103
103
  onRefresh?: (() => any) | undefined;
104
104
  }>, {
105
- mode: TreeMode;
106
105
  showToolbar: boolean;
106
+ draggable: boolean;
107
+ actions: ActionConfig[];
108
+ mode: TreeMode;
107
109
  labelField: string;
108
- keyField: string;
109
110
  childrenField: string;
110
- actions: ActionConfig[];
111
+ keyField: string;
111
112
  searchPattern: string;
112
113
  searchable: boolean;
113
114
  searchPlaceholder: string;
114
- draggable: boolean;
115
115
  showLine: boolean;
116
116
  addable: boolean;
117
117
  addText: string;
@@ -241,15 +241,15 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
241
241
  change: (value: WorkflowData) => any;
242
242
  "validate-error": (errors: ValidationError[]) => any;
243
243
  "node-click": (node: WorkflowNode) => any;
244
- save: (data: WorkflowData) => any;
245
244
  "edge-click": (edge: WorkflowEdge) => any;
245
+ save: (data: WorkflowData) => any;
246
246
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
247
247
  "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
248
248
  onChange?: ((value: WorkflowData) => any) | undefined;
249
249
  "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
250
250
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
251
- onSave?: ((data: WorkflowData) => any) | undefined;
252
251
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
252
+ onSave?: ((data: WorkflowData) => any) | undefined;
253
253
  }>, {
254
254
  readonly: boolean;
255
255
  theme: "light" | "dark";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.7.0",
6
+ "version": "0.7.1",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "type": "module",
9
9
  "main": "dist/index.cjs",