@dt-frames/ui 2.0.2 → 2.0.4

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 (69) hide show
  1. package/es/assets/locales/en.ts +1 -1
  2. package/es/components/container/index.d.ts +4 -3
  3. package/es/components/container/index.js +24 -22
  4. package/es/components/container/src/slot-container.d.ts +5 -3
  5. package/es/components/curd/index.js +261 -229
  6. package/es/components/curd/src/components/Curd.d.ts +126 -331
  7. package/es/components/curd/src/props.d.ts +14 -15
  8. package/es/components/drawer/index.d.ts +3 -5
  9. package/es/components/drawer/index.js +55 -54
  10. package/es/components/drawer/src/components/DrawerHeader.d.ts +1 -3
  11. package/es/components/drawer/src/index.d.ts +4 -7
  12. package/es/components/form/index.d.ts +213 -361
  13. package/es/components/form/index.js +210 -163
  14. package/es/components/form/index.less +206 -8
  15. package/es/components/form/src/components/FormButtons.d.ts +3 -3
  16. package/es/components/form/src/components/FormItem.d.ts +152 -304
  17. package/es/components/form/src/components/formIcon.d.ts +4 -4
  18. package/es/components/form/src/components/formInputUseDialog.d.ts +3 -3
  19. package/es/components/form/src/enums/index.d.ts +1 -1
  20. package/es/components/form/src/index.d.ts +199 -347
  21. package/es/components/form/src/props.d.ts +8 -12
  22. package/es/components/form/src/types/form.type.d.ts +2 -2
  23. package/es/components/icons/index.d.ts +496 -2
  24. package/es/components/icons/index.less +5 -0
  25. package/es/components/icons/src/pick-icon.d.ts +5 -5
  26. package/es/components/modal/index.js +76 -74
  27. package/es/components/modal/index.less +10 -0
  28. package/es/components/modal/src/components/Modal.d.ts +108 -215
  29. package/es/components/modal/src/components/ModalFooter.d.ts +3 -3
  30. package/es/components/modal/src/index.d.ts +116 -223
  31. package/es/components/source/hooks/useSource.d.ts +14 -0
  32. package/es/components/source/index.js +66 -27
  33. package/es/components/source/types/source.type.d.ts +4 -8
  34. package/es/components/table/index.js +452 -820
  35. package/es/components/table/index.less +50 -14
  36. package/es/components/table/src/components/TableAction.d.ts +1 -1
  37. package/es/components/table/src/components/TableHeader.d.ts +109 -216
  38. package/es/components/table/src/components/TableRender.d.ts +13 -9
  39. package/es/components/table/src/components/tableSetting/Download.d.ts +107 -214
  40. package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +107 -214
  41. package/es/components/table/src/components/tableSetting/index.d.ts +107 -214
  42. package/es/components/table/src/hooks/useDataSource.d.ts +1 -2
  43. package/es/components/table/src/hooks/usePagination.d.ts +3 -118
  44. package/es/components/table/src/index.d.ts +99 -435
  45. package/es/components/table/src/props.d.ts +19 -74
  46. package/es/components/table/src/types/actions.type.d.ts +1 -2
  47. package/es/components/table/src/types/table.type.d.ts +13 -8
  48. package/es/index.d.ts +1 -1
  49. package/es/index.js +2 -3240
  50. package/es/theme/index.js +688 -453
  51. package/es/theme/index.less +150 -0
  52. package/es/theme/src/components/header/components/logo.d.ts +0 -1
  53. package/es/theme/src/components/header/components/notify.d.ts +4 -3
  54. package/es/theme/src/components/header/components/setting-theme.d.ts +2 -1
  55. package/es/theme/src/components/header/components/user-info.d.ts +4 -3
  56. package/es/theme/src/components/header/helper/menu-tree.d.ts +1 -0
  57. package/es/theme/src/components/header/index.d.ts +8 -7
  58. package/es/theme/src/components/header/multiple-header.d.ts +22 -25
  59. package/es/theme/src/components/sider/components/drag-bar.d.ts +1 -1
  60. package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -1
  61. package/es/theme/src/components/sider/index.d.ts +147 -3
  62. package/es/theme/src/components/sider/mix-sider.d.ts +146 -0
  63. package/es/theme/src/enums/theme.enum.d.ts +2 -1
  64. package/es/theme/src/hooks/useMenu.d.ts +4 -2
  65. package/es/theme/src/index.d.ts +166 -23
  66. package/es/theme/src/stores/theme.store.d.ts +3 -0
  67. package/es/theme/src/types/theme.type.d.ts +2 -1
  68. package/package.json +3 -4
  69. package/vite.config.ts +0 -27
@@ -10,10 +10,10 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
10
10
  };
11
11
  model: {
12
12
  type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
13
- default: {};
13
+ default: () => {};
14
14
  };
15
15
  layout: {
16
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
16
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
17
17
  default: string;
18
18
  };
19
19
  labelWidth: {
@@ -30,11 +30,11 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
30
30
  };
31
31
  labelCol: {
32
32
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
33
- default: () => void;
33
+ default: () => {};
34
34
  };
35
35
  wrapperCol: {
36
36
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
37
- default: () => void;
37
+ default: () => {};
38
38
  };
39
39
  rowProps: {
40
40
  type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
@@ -50,14 +50,14 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
50
50
  default: any;
51
51
  };
52
52
  }>>>;
53
- default: () => void;
53
+ default: () => {};
54
54
  };
55
55
  colProps: {
56
56
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
57
- default: () => void;
57
+ default: () => {};
58
58
  };
59
59
  size: {
60
- type: import("vue").PropType<"small" | "middle" | "large">;
60
+ type: import("vue").PropType<"middle" | "small" | "large">;
61
61
  default: string;
62
62
  };
63
63
  disabled: {
@@ -146,10 +146,10 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
146
146
  };
147
147
  model: {
148
148
  type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
149
- default: {};
149
+ default: () => {};
150
150
  };
151
151
  layout: {
152
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
152
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
153
153
  default: string;
154
154
  };
155
155
  labelWidth: {
@@ -166,11 +166,11 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
166
166
  };
167
167
  labelCol: {
168
168
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
169
- default: () => void;
169
+ default: () => {};
170
170
  };
171
171
  wrapperCol: {
172
172
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
173
- default: () => void;
173
+ default: () => {};
174
174
  };
175
175
  rowProps: {
176
176
  type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
@@ -186,14 +186,14 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
186
186
  default: any;
187
187
  };
188
188
  }>>>;
189
- default: () => void;
189
+ default: () => {};
190
190
  };
191
191
  colProps: {
192
192
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
193
- default: () => void;
193
+ default: () => {};
194
194
  };
195
195
  size: {
196
- type: import("vue").PropType<"small" | "middle" | "large">;
196
+ type: import("vue").PropType<"middle" | "small" | "large">;
197
197
  default: string;
198
198
  };
199
199
  disabled: {
@@ -288,10 +288,10 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
288
288
  };
289
289
  model: {
290
290
  type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
291
- default: {};
291
+ default: () => {};
292
292
  };
293
293
  layout: {
294
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
294
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
295
295
  default: string;
296
296
  };
297
297
  labelWidth: {
@@ -308,11 +308,11 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
308
308
  };
309
309
  labelCol: {
310
310
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
311
- default: () => void;
311
+ default: () => {};
312
312
  };
313
313
  wrapperCol: {
314
314
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
315
- default: () => void;
315
+ default: () => {};
316
316
  };
317
317
  rowProps: {
318
318
  type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
@@ -328,14 +328,14 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
328
328
  default: any;
329
329
  };
330
330
  }>>>;
331
- default: () => void;
331
+ default: () => {};
332
332
  };
333
333
  colProps: {
334
334
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
335
- default: () => void;
335
+ default: () => {};
336
336
  };
337
337
  size: {
338
- type: import("vue").PropType<"small" | "middle" | "large">;
338
+ type: import("vue").PropType<"middle" | "small" | "large">;
339
339
  default: string;
340
340
  };
341
341
  disabled: {
@@ -2191,8 +2191,8 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2191
2191
  validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
2192
2192
  } | any;
2193
2193
  required?: boolean;
2194
- validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
2195
2194
  trigger?: "blur" | "change" | ("blur" | "change")[];
2195
+ validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
2196
2196
  transform?: (value: any) => any;
2197
2197
  warningOnly?: boolean;
2198
2198
  message?: (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -2230,7 +2230,6 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2230
2230
  validateTrigger?: string | string[];
2231
2231
  };
2232
2232
  required?: boolean;
2233
- validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
2234
2233
  trigger?: "blur" | "change" | ("blur" & ["change", "blur"]) | ("change" & ["change", "blur"]) | (("blur" | "change")[] & "blur") | (("blur" | "change")[] & "change") | {
2235
2234
  [x: number]: "blur" | "change";
2236
2235
  length: 2;
@@ -2302,6 +2301,7 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2302
2301
  0: "change";
2303
2302
  1: "blur";
2304
2303
  };
2304
+ validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
2305
2305
  transform?: (value: any) => any;
2306
2306
  warningOnly?: boolean;
2307
2307
  message?: (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -2403,10 +2403,10 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2403
2403
  };
2404
2404
  model: {
2405
2405
  type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
2406
- default: {};
2406
+ default: () => {};
2407
2407
  };
2408
2408
  layout: {
2409
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
2409
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
2410
2410
  default: string;
2411
2411
  };
2412
2412
  labelWidth: {
@@ -2423,11 +2423,11 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2423
2423
  };
2424
2424
  labelCol: {
2425
2425
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2426
- default: () => void;
2426
+ default: () => {};
2427
2427
  };
2428
2428
  wrapperCol: {
2429
2429
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2430
- default: () => void;
2430
+ default: () => {};
2431
2431
  };
2432
2432
  rowProps: {
2433
2433
  type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
@@ -2443,14 +2443,14 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2443
2443
  default: any;
2444
2444
  };
2445
2445
  }>>>;
2446
- default: () => void;
2446
+ default: () => {};
2447
2447
  };
2448
2448
  colProps: {
2449
2449
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2450
- default: () => void;
2450
+ default: () => {};
2451
2451
  };
2452
2452
  size: {
2453
- type: import("vue").PropType<"small" | "middle" | "large">;
2453
+ type: import("vue").PropType<"middle" | "small" | "large">;
2454
2454
  default: string;
2455
2455
  };
2456
2456
  disabled: {
@@ -2537,10 +2537,10 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2537
2537
  };
2538
2538
  model: {
2539
2539
  type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
2540
- default: {};
2540
+ default: () => {};
2541
2541
  };
2542
2542
  layout: {
2543
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
2543
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
2544
2544
  default: string;
2545
2545
  };
2546
2546
  labelWidth: {
@@ -2557,11 +2557,11 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2557
2557
  };
2558
2558
  labelCol: {
2559
2559
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2560
- default: () => void;
2560
+ default: () => {};
2561
2561
  };
2562
2562
  wrapperCol: {
2563
2563
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2564
- default: () => void;
2564
+ default: () => {};
2565
2565
  };
2566
2566
  rowProps: {
2567
2567
  type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
@@ -2577,14 +2577,14 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2577
2577
  default: any;
2578
2578
  };
2579
2579
  }>>>;
2580
- default: () => void;
2580
+ default: () => {};
2581
2581
  };
2582
2582
  colProps: {
2583
2583
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2584
- default: () => void;
2584
+ default: () => {};
2585
2585
  };
2586
2586
  size: {
2587
- type: import("vue").PropType<"small" | "middle" | "large">;
2587
+ type: import("vue").PropType<"middle" | "small" | "large">;
2588
2588
  default: string;
2589
2589
  };
2590
2590
  disabled: {
@@ -2681,10 +2681,10 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2681
2681
  };
2682
2682
  model: {
2683
2683
  type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
2684
- default: {};
2684
+ default: () => {};
2685
2685
  };
2686
2686
  layout: {
2687
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
2687
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
2688
2688
  default: string;
2689
2689
  };
2690
2690
  labelWidth: {
@@ -2701,11 +2701,11 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2701
2701
  };
2702
2702
  labelCol: {
2703
2703
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2704
- default: () => void;
2704
+ default: () => {};
2705
2705
  };
2706
2706
  wrapperCol: {
2707
2707
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2708
- default: () => void;
2708
+ default: () => {};
2709
2709
  };
2710
2710
  rowProps: {
2711
2711
  type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
@@ -2721,14 +2721,14 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2721
2721
  default: any;
2722
2722
  };
2723
2723
  }>>>;
2724
- default: () => void;
2724
+ default: () => {};
2725
2725
  };
2726
2726
  colProps: {
2727
2727
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2728
- default: () => void;
2728
+ default: () => {};
2729
2729
  };
2730
2730
  size: {
2731
- type: import("vue").PropType<"small" | "middle" | "large">;
2731
+ type: import("vue").PropType<"middle" | "small" | "large">;
2732
2732
  default: string;
2733
2733
  };
2734
2734
  disabled: {
@@ -2812,314 +2812,166 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
2812
2812
  };
2813
2813
  getActionsProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
2814
2814
  handleMethod: (params: boolean | import("./src/types/form.type").ButtonProps) => void;
2815
- readonly DtFormItem: import("vue").DefineComponent<{
2816
- schema: {
2817
- type: import("vue").PropType<import("./src/types/form.type").FormSchema>;
2818
- default: () => {};
2819
- };
2820
- formProps: {
2821
- type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
2822
- mode: {
2823
- type: import("vue").PropType<"search" | "dialog">;
2824
- default: string;
2825
- };
2826
- autoFetch: {
2827
- type: BooleanConstructor;
2828
- default: boolean;
2829
- };
2830
- model: {
2831
- type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
2832
- default: {};
2833
- };
2834
- layout: {
2835
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
2836
- default: string;
2837
- };
2838
- labelWidth: {
2839
- type: import("vue").PropType<string | number>;
2840
- default: number;
2841
- };
2842
- enLabelWidth: {
2843
- type: import("vue").PropType<string | number>;
2844
- default: number;
2845
- };
2846
- labelAlign: {
2847
- type: import("vue").PropType<"left" | "right">;
2848
- default: string;
2849
- };
2850
- labelCol: {
2851
- type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2852
- default: () => void;
2853
- };
2854
- wrapperCol: {
2855
- type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2856
- default: () => void;
2857
- };
2858
- rowProps: {
2859
- type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
2860
- align: import("vue").PropType<"stretch" | "bottom" | "top" | "middle">;
2861
- justify: import("vue").PropType<"space-around" | "space-between" | "center" | "end" | "start">;
2862
- prefixCls: StringConstructor;
2863
- gutter: {
2864
- type: import("vue").PropType<import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter]>;
2865
- default: import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter];
2866
- };
2867
- wrap: {
2868
- type: BooleanConstructor;
2869
- default: any;
2870
- };
2871
- }>>>;
2872
- default: () => void;
2873
- };
2874
- colProps: {
2875
- type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2876
- default: () => void;
2877
- };
2878
- size: {
2879
- type: import("vue").PropType<"small" | "middle" | "large">;
2880
- default: string;
2881
- };
2882
- disabled: {
2883
- type: BooleanConstructor;
2884
- default: boolean;
2885
- };
2886
- compact: {
2887
- type: BooleanConstructor;
2888
- default: any;
2889
- };
2890
- schemas: {
2891
- type: import("vue").PropType<import("./src/types/form.type").FormSchema[]>;
2892
- default: () => any[];
2893
- };
2894
- autoSearchOnEnter: {
2895
- type: BooleanConstructor;
2896
- default: boolean;
2897
- };
2898
- alwaysShowLines: {
2899
- type: BooleanConstructor;
2900
- default: boolean;
2901
- };
2902
- minShowColumn: {
2903
- type: NumberConstructor;
2904
- default: number;
2905
- };
2906
- showAdvancedButton: {
2907
- type: BooleanConstructor;
2908
- default: boolean;
2909
- };
2910
- allowClear: {
2911
- type: BooleanConstructor;
2912
- default: boolean;
2913
- };
2914
- scrollToFirstError: {
2915
- type: BooleanConstructor;
2916
- default: boolean;
2917
- };
2918
- colon: {
2919
- type: BooleanConstructor;
2920
- default: boolean;
2921
- };
2922
- loading: {
2923
- type: import("vue").PropType<{
2924
- [key: string]: import("vue").Ref<boolean>;
2925
- }>;
2926
- default: () => {
2927
- onSearch: import("vue").Ref<boolean>;
2928
- onReset: import("vue").Ref<boolean>;
2815
+ readonly DtFormItem: {
2816
+ name: string;
2817
+ inheritAttrs: boolean;
2818
+ props: {
2819
+ schema: {
2820
+ type: import("vue").PropType<import("./src/types/form.type").FormSchema>;
2821
+ default: () => {};
2822
+ };
2823
+ formProps: {
2824
+ type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
2825
+ mode: {
2826
+ type: import("vue").PropType<"search" | "dialog">;
2827
+ default: string;
2929
2828
  };
2930
- };
2931
- onSearch: {
2932
- type: import("vue").PropType<(params: import("@dt-frames/core").Recordable<any>) => void>;
2933
- default: (params: import("@dt-frames/core").Recordable<any>) => void;
2934
- };
2935
- onReset: {
2936
- type: import("vue").PropType<(params: import("@dt-frames/core").Recordable<any>) => void>;
2937
- default: (params: import("@dt-frames/core").Recordable<any>) => void;
2938
- };
2939
- buttons: {
2940
- type: import("vue").PropType<boolean | import("./src/types/form.type").ButtonProps[]>;
2941
- default: boolean;
2942
- };
2943
- resetFunc: {
2944
- type: import("vue").PropType<() => void>;
2945
- };
2946
- registerInstance: {
2947
- type: import("vue").PropType<(instance: import("./src/types/actions.type").FormActionType) => void>;
2948
- };
2949
- }>>>;
2950
- default: () => {};
2951
- };
2952
- defaultValues: {
2953
- type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
2954
- default: () => {};
2955
- };
2956
- formModel: {
2957
- type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
2958
- default: () => {};
2959
- };
2960
- setFormModel: {
2961
- type: import("vue").PropType<(key: string, value: any) => void>;
2962
- };
2963
- formActionType: {
2964
- type: import("vue").PropType<import("./src/types/actions.type").FormActionType>;
2965
- };
2966
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2967
- schema: {
2968
- type: import("vue").PropType<import("./src/types/form.type").FormSchema>;
2969
- default: () => {};
2970
- };
2971
- formProps: {
2972
- type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
2973
- mode: {
2974
- type: import("vue").PropType<"search" | "dialog">;
2975
- default: string;
2976
- };
2977
- autoFetch: {
2978
- type: BooleanConstructor;
2979
- default: boolean;
2980
- };
2981
- model: {
2982
- type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
2983
- default: {};
2984
- };
2985
- layout: {
2986
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
2987
- default: string;
2988
- };
2989
- labelWidth: {
2990
- type: import("vue").PropType<string | number>;
2991
- default: number;
2992
- };
2993
- enLabelWidth: {
2994
- type: import("vue").PropType<string | number>;
2995
- default: number;
2996
- };
2997
- labelAlign: {
2998
- type: import("vue").PropType<"left" | "right">;
2999
- default: string;
3000
- };
3001
- labelCol: {
3002
- type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
3003
- default: () => void;
3004
- };
3005
- wrapperCol: {
3006
- type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
3007
- default: () => void;
3008
- };
3009
- rowProps: {
3010
- type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
3011
- align: import("vue").PropType<"stretch" | "bottom" | "top" | "middle">;
3012
- justify: import("vue").PropType<"space-around" | "space-between" | "center" | "end" | "start">;
3013
- prefixCls: StringConstructor;
3014
- gutter: {
3015
- type: import("vue").PropType<import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter]>;
3016
- default: import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter];
3017
- };
3018
- wrap: {
3019
- type: BooleanConstructor;
3020
- default: any;
2829
+ autoFetch: {
2830
+ type: BooleanConstructor;
2831
+ default: boolean;
2832
+ };
2833
+ model: {
2834
+ type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
2835
+ default: () => {};
2836
+ };
2837
+ layout: {
2838
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
2839
+ default: string;
2840
+ };
2841
+ labelWidth: {
2842
+ type: import("vue").PropType<string | number>;
2843
+ default: number;
2844
+ };
2845
+ enLabelWidth: {
2846
+ type: import("vue").PropType<string | number>;
2847
+ default: number;
2848
+ };
2849
+ labelAlign: {
2850
+ type: import("vue").PropType<"left" | "right">;
2851
+ default: string;
2852
+ };
2853
+ labelCol: {
2854
+ type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2855
+ default: () => {};
2856
+ };
2857
+ wrapperCol: {
2858
+ type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2859
+ default: () => {};
2860
+ };
2861
+ rowProps: {
2862
+ type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
2863
+ align: import("vue").PropType<"stretch" | "bottom" | "top" | "middle">;
2864
+ justify: import("vue").PropType<"space-around" | "space-between" | "center" | "end" | "start">;
2865
+ prefixCls: StringConstructor;
2866
+ gutter: {
2867
+ type: import("vue").PropType<import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter]>;
2868
+ default: import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter];
2869
+ };
2870
+ wrap: {
2871
+ type: BooleanConstructor;
2872
+ default: any;
2873
+ };
2874
+ }>>>;
2875
+ default: () => {};
2876
+ };
2877
+ colProps: {
2878
+ type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
2879
+ default: () => {};
2880
+ };
2881
+ size: {
2882
+ type: import("vue").PropType<"middle" | "small" | "large">;
2883
+ default: string;
2884
+ };
2885
+ disabled: {
2886
+ type: BooleanConstructor;
2887
+ default: boolean;
2888
+ };
2889
+ compact: {
2890
+ type: BooleanConstructor;
2891
+ default: any;
2892
+ };
2893
+ schemas: {
2894
+ type: import("vue").PropType<import("./src/types/form.type").FormSchema[]>;
2895
+ default: () => any[];
2896
+ };
2897
+ autoSearchOnEnter: {
2898
+ type: BooleanConstructor;
2899
+ default: boolean;
2900
+ };
2901
+ alwaysShowLines: {
2902
+ type: BooleanConstructor;
2903
+ default: boolean;
2904
+ };
2905
+ minShowColumn: {
2906
+ type: NumberConstructor;
2907
+ default: number;
2908
+ };
2909
+ showAdvancedButton: {
2910
+ type: BooleanConstructor;
2911
+ default: boolean;
2912
+ };
2913
+ allowClear: {
2914
+ type: BooleanConstructor;
2915
+ default: boolean;
2916
+ };
2917
+ scrollToFirstError: {
2918
+ type: BooleanConstructor;
2919
+ default: boolean;
2920
+ };
2921
+ colon: {
2922
+ type: BooleanConstructor;
2923
+ default: boolean;
2924
+ };
2925
+ loading: {
2926
+ type: import("vue").PropType<{
2927
+ [key: string]: import("vue").Ref<boolean>;
2928
+ }>;
2929
+ default: () => {
2930
+ onSearch: import("vue").Ref<boolean>;
2931
+ onReset: import("vue").Ref<boolean>;
3021
2932
  };
3022
- }>>>;
3023
- default: () => void;
3024
- };
3025
- colProps: {
3026
- type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
3027
- default: () => void;
3028
- };
3029
- size: {
3030
- type: import("vue").PropType<"small" | "middle" | "large">;
3031
- default: string;
3032
- };
3033
- disabled: {
3034
- type: BooleanConstructor;
3035
- default: boolean;
3036
- };
3037
- compact: {
3038
- type: BooleanConstructor;
3039
- default: any;
3040
- };
3041
- schemas: {
3042
- type: import("vue").PropType<import("./src/types/form.type").FormSchema[]>;
3043
- default: () => any[];
3044
- };
3045
- autoSearchOnEnter: {
3046
- type: BooleanConstructor;
3047
- default: boolean;
3048
- };
3049
- alwaysShowLines: {
3050
- type: BooleanConstructor;
3051
- default: boolean;
3052
- };
3053
- minShowColumn: {
3054
- type: NumberConstructor;
3055
- default: number;
3056
- };
3057
- showAdvancedButton: {
3058
- type: BooleanConstructor;
3059
- default: boolean;
3060
- };
3061
- allowClear: {
3062
- type: BooleanConstructor;
3063
- default: boolean;
3064
- };
3065
- scrollToFirstError: {
3066
- type: BooleanConstructor;
3067
- default: boolean;
3068
- };
3069
- colon: {
3070
- type: BooleanConstructor;
3071
- default: boolean;
3072
- };
3073
- loading: {
3074
- type: import("vue").PropType<{
3075
- [key: string]: import("vue").Ref<boolean>;
3076
- }>;
3077
- default: () => {
3078
- onSearch: import("vue").Ref<boolean>;
3079
- onReset: import("vue").Ref<boolean>;
3080
2933
  };
3081
- };
3082
- onSearch: {
3083
- type: import("vue").PropType<(params: import("@dt-frames/core").Recordable<any>) => void>;
3084
- default: (params: import("@dt-frames/core").Recordable<any>) => void;
3085
- };
3086
- onReset: {
3087
- type: import("vue").PropType<(params: import("@dt-frames/core").Recordable<any>) => void>;
3088
- default: (params: import("@dt-frames/core").Recordable<any>) => void;
3089
- };
3090
- buttons: {
3091
- type: import("vue").PropType<boolean | import("./src/types/form.type").ButtonProps[]>;
3092
- default: boolean;
3093
- };
3094
- resetFunc: {
3095
- type: import("vue").PropType<() => void>;
3096
- };
3097
- registerInstance: {
3098
- type: import("vue").PropType<(instance: import("./src/types/actions.type").FormActionType) => void>;
3099
- };
3100
- }>>>;
3101
- default: () => {};
3102
- };
3103
- defaultValues: {
3104
- type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
3105
- default: () => {};
3106
- };
3107
- formModel: {
3108
- type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
3109
- default: () => {};
3110
- };
3111
- setFormModel: {
3112
- type: import("vue").PropType<(key: string, value: any) => void>;
3113
- };
3114
- formActionType: {
3115
- type: import("vue").PropType<import("./src/types/actions.type").FormActionType>;
2934
+ onSearch: {
2935
+ type: import("vue").PropType<(params: import("@dt-frames/core").Recordable<any>) => void>;
2936
+ default: (params: import("@dt-frames/core").Recordable<any>) => void;
2937
+ };
2938
+ onReset: {
2939
+ type: import("vue").PropType<(params: import("@dt-frames/core").Recordable<any>) => void>;
2940
+ default: (params: import("@dt-frames/core").Recordable<any>) => void;
2941
+ };
2942
+ buttons: {
2943
+ type: import("vue").PropType<boolean | import("./src/types/form.type").ButtonProps[]>;
2944
+ default: boolean;
2945
+ };
2946
+ resetFunc: {
2947
+ type: import("vue").PropType<() => void>;
2948
+ };
2949
+ registerInstance: {
2950
+ type: import("vue").PropType<(instance: import("./src/types/actions.type").FormActionType) => void>;
2951
+ };
2952
+ }>>>;
2953
+ default: () => {};
2954
+ };
2955
+ defaultValues: {
2956
+ type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
2957
+ default: () => {};
2958
+ };
2959
+ formModel: {
2960
+ type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
2961
+ default: () => {};
2962
+ };
2963
+ setFormModel: {
2964
+ type: import("vue").PropType<(key: string, value: any) => void>;
2965
+ };
2966
+ formActionType: {
2967
+ type: import("vue").PropType<import("./src/types/actions.type").FormActionType>;
2968
+ };
3116
2969
  };
3117
- }>>, {
3118
- formModel: {};
3119
- schema: {};
3120
- formProps: {};
3121
- defaultValues: {};
3122
- }>;
2970
+ setup(props: any, { emit, slots }: {
2971
+ emit: any;
2972
+ slots: any;
2973
+ }): () => JSX.Element;
2974
+ };
3123
2975
  readonly DtFormButtons: import("vue").DefineComponent<{
3124
2976
  mode: {
3125
2977
  type: import("vue").PropType<"search" | "dialog">;
@@ -3215,10 +3067,10 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
3215
3067
  };
3216
3068
  model: {
3217
3069
  type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
3218
- default: {};
3070
+ default: () => {};
3219
3071
  };
3220
3072
  layout: {
3221
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
3073
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
3222
3074
  default: string;
3223
3075
  };
3224
3076
  labelWidth: {
@@ -3235,11 +3087,11 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
3235
3087
  };
3236
3088
  labelCol: {
3237
3089
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
3238
- default: () => void;
3090
+ default: () => {};
3239
3091
  };
3240
3092
  wrapperCol: {
3241
3093
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
3242
- default: () => void;
3094
+ default: () => {};
3243
3095
  };
3244
3096
  rowProps: {
3245
3097
  type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
@@ -3255,14 +3107,14 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
3255
3107
  default: any;
3256
3108
  };
3257
3109
  }>>>;
3258
- default: () => void;
3110
+ default: () => {};
3259
3111
  };
3260
3112
  colProps: {
3261
3113
  type: import("vue").PropType<Partial<import("./src/types/form.type").ColEx>>;
3262
- default: () => void;
3114
+ default: () => {};
3263
3115
  };
3264
3116
  size: {
3265
- type: import("vue").PropType<"small" | "middle" | "large">;
3117
+ type: import("vue").PropType<"middle" | "small" | "large">;
3266
3118
  default: string;
3267
3119
  };
3268
3120
  disabled: {
@@ -3336,17 +3188,17 @@ declare const DtForm: import('../../utils/withInstall').SFCWithInstall<import("v
3336
3188
  onRegister?: (...args: any[]) => any;
3337
3189
  }, {
3338
3190
  mode: "search" | "dialog";
3339
- size: "small" | "middle" | "large";
3340
3191
  autoFetch: boolean;
3341
3192
  model: {};
3342
- layout: "vertical" | "horizontal" | "inline";
3193
+ layout: "vertical" | "inline" | "horizontal";
3343
3194
  labelWidth: string | number;
3344
3195
  enLabelWidth: string | number;
3345
3196
  labelAlign: "left" | "right";
3346
- labelCol: void;
3347
- wrapperCol: void;
3348
- rowProps: void;
3349
- colProps: void;
3197
+ labelCol: {};
3198
+ wrapperCol: {};
3199
+ rowProps: {};
3200
+ colProps: {};
3201
+ size: "middle" | "small" | "large";
3350
3202
  disabled: boolean;
3351
3203
  compact: boolean;
3352
3204
  schemas: import("./src/types/form.type").FormSchema[];