@dt-frames/ui 2.0.3 → 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 (44) hide show
  1. package/es/assets/locales/en.ts +1 -1
  2. package/es/components/curd/index.js +279 -269
  3. package/es/components/drawer/index.d.ts +1 -1
  4. package/es/components/drawer/index.js +27 -27
  5. package/es/components/drawer/src/index.d.ts +2 -3
  6. package/es/components/form/index.d.ts +20 -20
  7. package/es/components/form/index.js +91 -45
  8. package/es/components/form/index.less +206 -8
  9. package/es/components/form/src/components/FormItem.d.ts +3 -7
  10. package/es/components/form/src/components/formIcon.d.ts +14 -14
  11. package/es/components/form/src/components/formInputUseDialog.d.ts +8 -8
  12. package/es/components/form/src/enums/index.d.ts +1 -1
  13. package/es/components/form/src/index.d.ts +16 -16
  14. package/es/components/form/src/props.d.ts +2 -6
  15. package/es/components/form/src/types/form.type.d.ts +1 -1
  16. package/es/components/icons/index.less +5 -0
  17. package/es/components/modal/index.js +35 -34
  18. package/es/components/modal/index.less +10 -0
  19. package/es/components/modal/src/components/ModalFooter.d.ts +3 -3
  20. package/es/components/modal/src/index.d.ts +9 -9
  21. package/es/components/source/hooks/useSource.d.ts +14 -0
  22. package/es/components/source/index.js +66 -28
  23. package/es/components/source/types/source.type.d.ts +4 -8
  24. package/es/components/table/index.js +278 -215
  25. package/es/components/table/index.less +41 -14
  26. package/es/components/table/src/index.d.ts +20 -10
  27. package/es/components/table/src/props.d.ts +8 -4
  28. package/es/components/table/src/types/table.type.d.ts +4 -5
  29. package/es/theme/index.js +342 -120
  30. package/es/theme/index.less +150 -0
  31. package/es/theme/src/components/header/components/size.d.ts +5 -5
  32. package/es/theme/src/components/header/helper/menu-tree.d.ts +1 -0
  33. package/es/theme/src/components/header/index.d.ts +5 -5
  34. package/es/theme/src/components/header/multiple-header.d.ts +6 -7
  35. package/es/theme/src/components/sider/components/drag-bar.d.ts +1 -1
  36. package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -1
  37. package/es/theme/src/components/sider/index.d.ts +147 -3
  38. package/es/theme/src/components/sider/mix-sider.d.ts +146 -0
  39. package/es/theme/src/enums/theme.enum.d.ts +2 -1
  40. package/es/theme/src/hooks/useMenu.d.ts +5 -3
  41. package/es/theme/src/index.d.ts +159 -15
  42. package/es/theme/src/stores/theme.store.d.ts +3 -0
  43. package/es/theme/src/types/theme.type.d.ts +1 -0
  44. package/package.json +1 -3
@@ -143,7 +143,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
143
143
  'onUpdate:value': import("vue").PropType<(val: string) => void>;
144
144
  valueModifiers: ObjectConstructor;
145
145
  hidden: BooleanConstructor;
146
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "value" | "type" | "disabled" | "allowClear" | "loading" | "hidden" | "readonly" | "autofocus" | "lazy" | "bordered">;
146
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "value" | "type" | "loading" | "disabled" | "bordered" | "autofocus" | "readonly" | "allowClear" | "lazy" | "hidden">;
147
147
  $attrs: {
148
148
  [x: string]: unknown;
149
149
  };
@@ -153,8 +153,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
153
153
  $slots: Readonly<{
154
154
  [name: string]: import("vue").Slot;
155
155
  }>;
156
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
157
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
156
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
157
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
158
158
  $emit: (event: string, ...args: any[]) => void;
159
159
  $el: any;
160
160
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -236,7 +236,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
236
236
  allowClear: boolean;
237
237
  bordered: boolean;
238
238
  lazy: boolean;
239
- }, {}, string> & {
239
+ }> & {
240
240
  beforeCreate?: (() => void) | (() => void)[];
241
241
  created?: (() => void) | (() => void)[];
242
242
  beforeMount?: (() => void) | (() => void)[];
@@ -251,7 +251,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
251
251
  unmounted?: (() => void) | (() => void)[];
252
252
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
253
253
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
254
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
254
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
255
255
  };
256
256
  $forceUpdate: () => void;
257
257
  $nextTick: typeof import("vue").nextTick;
@@ -407,7 +407,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
407
407
  allowClear: boolean;
408
408
  bordered: boolean;
409
409
  lazy: boolean;
410
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
410
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
411
411
  readonly Group: import("vue").DefineComponent<{
412
412
  prefixCls: StringConstructor;
413
413
  size: {
@@ -457,7 +457,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
457
457
  inputPrefixCls: StringConstructor;
458
458
  enterButton: import("vue-types").VueTypeValidableDef<any>;
459
459
  onSearch: {
460
- type: import("vue").PropType<(value: string, event?: import("ant-design-vue/lib/_util/EventInterface").ChangeEvent | MouseEvent | KeyboardEvent) => void>;
460
+ type: import("vue").PropType<(value: string, event?: MouseEvent | import("ant-design-vue/lib/_util/EventInterface").ChangeEvent | KeyboardEvent) => void>;
461
461
  };
462
462
  id: StringConstructor;
463
463
  prefixCls: StringConstructor;
@@ -529,7 +529,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
529
529
  inputPrefixCls: StringConstructor;
530
530
  enterButton: import("vue-types").VueTypeValidableDef<any>;
531
531
  onSearch: {
532
- type: import("vue").PropType<(value: string, event?: import("ant-design-vue/lib/_util/EventInterface").ChangeEvent | MouseEvent | KeyboardEvent) => void>;
532
+ type: import("vue").PropType<(value: string, event?: MouseEvent | import("ant-design-vue/lib/_util/EventInterface").ChangeEvent | KeyboardEvent) => void>;
533
533
  };
534
534
  id: StringConstructor;
535
535
  prefixCls: StringConstructor;
@@ -1014,7 +1014,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
1014
1014
  onMousedown: {
1015
1015
  type: import("vue").PropType<(event: MouseEvent) => void>;
1016
1016
  };
1017
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "loading" | "block" | "htmlType" | "ghost" | "danger">;
1017
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "loading" | "disabled" | "htmlType" | "ghost" | "block" | "danger">;
1018
1018
  $attrs: {
1019
1019
  [x: string]: unknown;
1020
1020
  };
@@ -1024,8 +1024,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
1024
1024
  $slots: Readonly<{
1025
1025
  [name: string]: import("vue").Slot;
1026
1026
  }>;
1027
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
1028
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
1027
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
1028
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
1029
1029
  $emit: (event: string, ...args: any[]) => void;
1030
1030
  $el: any;
1031
1031
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -1084,7 +1084,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
1084
1084
  ghost: boolean;
1085
1085
  danger: boolean;
1086
1086
  htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
1087
- }, {}, string> & {
1087
+ }> & {
1088
1088
  beforeCreate?: (() => void) | (() => void)[];
1089
1089
  created?: (() => void) | (() => void)[];
1090
1090
  beforeMount?: (() => void) | (() => void)[];
@@ -1099,7 +1099,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
1099
1099
  unmounted?: (() => void) | (() => void)[];
1100
1100
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1101
1101
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1102
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
1102
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
1103
1103
  };
1104
1104
  $forceUpdate: () => void;
1105
1105
  $nextTick: typeof import("vue").nextTick;
@@ -1211,7 +1211,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
1211
1211
  ghost: boolean;
1212
1212
  danger: boolean;
1213
1213
  htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
1214
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
1214
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
1215
1215
  readonly Group: import("vue").DefineComponent<{
1216
1216
  prefixCls: StringConstructor;
1217
1217
  size: {
@@ -96,7 +96,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
96
96
  'onUpdate:value': import("vue").PropType<(val: string) => void>;
97
97
  valueModifiers: ObjectConstructor;
98
98
  hidden: BooleanConstructor;
99
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "value" | "type" | "disabled" | "allowClear" | "loading" | "hidden" | "readonly" | "autofocus" | "lazy" | "bordered">;
99
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "value" | "type" | "loading" | "disabled" | "bordered" | "autofocus" | "readonly" | "allowClear" | "lazy" | "hidden">;
100
100
  $attrs: {
101
101
  [x: string]: unknown;
102
102
  };
@@ -106,8 +106,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
106
106
  $slots: Readonly<{
107
107
  [name: string]: import("vue").Slot;
108
108
  }>;
109
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
110
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
109
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
110
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
111
111
  $emit: (event: string, ...args: any[]) => void;
112
112
  $el: any;
113
113
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -189,7 +189,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
189
189
  allowClear: boolean;
190
190
  bordered: boolean;
191
191
  lazy: boolean;
192
- }, {}, string> & {
192
+ }> & {
193
193
  beforeCreate?: (() => void) | (() => void)[];
194
194
  created?: (() => void) | (() => void)[];
195
195
  beforeMount?: (() => void) | (() => void)[];
@@ -204,7 +204,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
204
204
  unmounted?: (() => void) | (() => void)[];
205
205
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
206
206
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
207
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
207
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
208
208
  };
209
209
  $forceUpdate: () => void;
210
210
  $nextTick: typeof import("vue").nextTick;
@@ -360,7 +360,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
360
360
  allowClear: boolean;
361
361
  bordered: boolean;
362
362
  lazy: boolean;
363
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
363
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
364
364
  readonly Group: import("vue").DefineComponent<{
365
365
  prefixCls: StringConstructor;
366
366
  size: {
@@ -410,7 +410,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
410
410
  inputPrefixCls: StringConstructor;
411
411
  enterButton: import("vue-types").VueTypeValidableDef<any>;
412
412
  onSearch: {
413
- type: import("vue").PropType<(value: string, event?: import("ant-design-vue/lib/_util/EventInterface").ChangeEvent | MouseEvent | KeyboardEvent) => void>;
413
+ type: import("vue").PropType<(value: string, event?: MouseEvent | import("ant-design-vue/lib/_util/EventInterface").ChangeEvent | KeyboardEvent) => void>;
414
414
  };
415
415
  id: StringConstructor;
416
416
  prefixCls: StringConstructor;
@@ -482,7 +482,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
482
482
  inputPrefixCls: StringConstructor;
483
483
  enterButton: import("vue-types").VueTypeValidableDef<any>;
484
484
  onSearch: {
485
- type: import("vue").PropType<(value: string, event?: import("ant-design-vue/lib/_util/EventInterface").ChangeEvent | MouseEvent | KeyboardEvent) => void>;
485
+ type: import("vue").PropType<(value: string, event?: MouseEvent | import("ant-design-vue/lib/_util/EventInterface").ChangeEvent | KeyboardEvent) => void>;
486
486
  };
487
487
  id: StringConstructor;
488
488
  prefixCls: StringConstructor;
@@ -1,7 +1,7 @@
1
1
  export declare const SEARCH_BTN_NAME = "UI.SEARCH";
2
2
  export declare const RESET_BTN_NAME = "UI.RESET";
3
3
  export declare const SEARCH_BTNS: {
4
- name: string;
4
+ label: string;
5
5
  preIcon: string;
6
6
  type: string;
7
7
  }[];
@@ -15,7 +15,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
15
15
  default: () => {};
16
16
  };
17
17
  layout: {
18
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
18
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
19
19
  default: string;
20
20
  };
21
21
  labelWidth: {
@@ -59,7 +59,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
59
59
  default: () => {};
60
60
  };
61
61
  size: {
62
- type: import("vue").PropType<"small" | "middle" | "large">;
62
+ type: import("vue").PropType<"middle" | "small" | "large">;
63
63
  default: string;
64
64
  };
65
65
  disabled: {
@@ -151,7 +151,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
151
151
  default: () => {};
152
152
  };
153
153
  layout: {
154
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
154
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
155
155
  default: string;
156
156
  };
157
157
  labelWidth: {
@@ -195,7 +195,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
195
195
  default: () => {};
196
196
  };
197
197
  size: {
198
- type: import("vue").PropType<"small" | "middle" | "large">;
198
+ type: import("vue").PropType<"middle" | "small" | "large">;
199
199
  default: string;
200
200
  };
201
201
  disabled: {
@@ -293,7 +293,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
293
293
  default: () => {};
294
294
  };
295
295
  layout: {
296
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
296
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
297
297
  default: string;
298
298
  };
299
299
  labelWidth: {
@@ -337,7 +337,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
337
337
  default: () => {};
338
338
  };
339
339
  size: {
340
- type: import("vue").PropType<"small" | "middle" | "large">;
340
+ type: import("vue").PropType<"middle" | "small" | "large">;
341
341
  default: string;
342
342
  };
343
343
  disabled: {
@@ -2193,8 +2193,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
2193
2193
  validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
2194
2194
  } | any;
2195
2195
  required?: boolean;
2196
- validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
2197
2196
  trigger?: "blur" | "change" | ("blur" | "change")[];
2197
+ validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
2198
2198
  transform?: (value: any) => any;
2199
2199
  warningOnly?: boolean;
2200
2200
  message?: (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -2232,7 +2232,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
2232
2232
  validateTrigger?: string | string[];
2233
2233
  };
2234
2234
  required?: boolean;
2235
- validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
2236
2235
  trigger?: "blur" | "change" | ("blur" & ["change", "blur"]) | ("change" & ["change", "blur"]) | (("blur" | "change")[] & "blur") | (("blur" | "change")[] & "change") | {
2237
2236
  [x: number]: "blur" | "change";
2238
2237
  length: 2;
@@ -2304,6 +2303,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2304
2303
  0: "change";
2305
2304
  1: "blur";
2306
2305
  };
2306
+ validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
2307
2307
  transform?: (value: any) => any;
2308
2308
  warningOnly?: boolean;
2309
2309
  message?: (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -2408,7 +2408,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2408
2408
  default: () => {};
2409
2409
  };
2410
2410
  layout: {
2411
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
2411
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
2412
2412
  default: string;
2413
2413
  };
2414
2414
  labelWidth: {
@@ -2452,7 +2452,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2452
2452
  default: () => {};
2453
2453
  };
2454
2454
  size: {
2455
- type: import("vue").PropType<"small" | "middle" | "large">;
2455
+ type: import("vue").PropType<"middle" | "small" | "large">;
2456
2456
  default: string;
2457
2457
  };
2458
2458
  disabled: {
@@ -2581,7 +2581,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2581
2581
  default: () => {};
2582
2582
  };
2583
2583
  layout: {
2584
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
2584
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
2585
2585
  default: string;
2586
2586
  };
2587
2587
  labelWidth: {
@@ -2625,7 +2625,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2625
2625
  default: () => {};
2626
2626
  };
2627
2627
  size: {
2628
- type: import("vue").PropType<"small" | "middle" | "large">;
2628
+ type: import("vue").PropType<"middle" | "small" | "large">;
2629
2629
  default: string;
2630
2630
  };
2631
2631
  disabled: {
@@ -2816,7 +2816,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2816
2816
  default: () => {};
2817
2817
  };
2818
2818
  layout: {
2819
- type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
2819
+ type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
2820
2820
  default: string;
2821
2821
  };
2822
2822
  labelWidth: {
@@ -2860,7 +2860,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2860
2860
  default: () => {};
2861
2861
  };
2862
2862
  size: {
2863
- type: import("vue").PropType<"small" | "middle" | "large">;
2863
+ type: import("vue").PropType<"middle" | "small" | "large">;
2864
2864
  default: string;
2865
2865
  };
2866
2866
  disabled: {
@@ -2933,11 +2933,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
2933
2933
  }>> & {
2934
2934
  onRegister?: (...args: any[]) => any;
2935
2935
  }, {
2936
- size: "small" | "middle" | "large";
2937
2936
  mode: "search" | "dialog";
2938
2937
  autoFetch: boolean;
2939
2938
  model: {};
2940
- layout: "vertical" | "horizontal" | "inline";
2939
+ layout: "vertical" | "inline" | "horizontal";
2941
2940
  labelWidth: string | number;
2942
2941
  enLabelWidth: string | number;
2943
2942
  labelAlign: "left" | "right";
@@ -2945,6 +2944,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2945
2944
  wrapperCol: {};
2946
2945
  rowProps: {};
2947
2946
  colProps: {};
2947
+ size: "middle" | "small" | "large";
2948
2948
  disabled: boolean;
2949
2949
  compact: boolean;
2950
2950
  schemas: FormSchema[];
@@ -41,8 +41,8 @@ export declare const BasicProps: {
41
41
  };
42
42
  rowProps: {
43
43
  type: PropType<Partial<import("vue").ExtractPropTypes<{
44
- align: PropType<"bottom" | "top" | "stretch" | "middle">;
45
- justify: PropType<"space-around" | "space-between" | "center" | "end" | "start">;
44
+ align: PropType<"middle" | "top" | "bottom" | "stretch">;
45
+ justify: PropType<"center" | "start" | "space-around" | "space-between" | "end">;
46
46
  prefixCls: StringConstructor;
47
47
  gutter: {
48
48
  type: 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]>;
@@ -79,10 +79,6 @@ export declare const BasicProps: {
79
79
  type: BooleanConstructor;
80
80
  default: boolean;
81
81
  };
82
- alwaysShowLines: {
83
- type: BooleanConstructor;
84
- default: boolean;
85
- };
86
82
  minShowColumn: {
87
83
  type: NumberConstructor;
88
84
  default: number;
@@ -55,7 +55,7 @@ export declare type FormSchema = {
55
55
  };
56
56
  export declare type ButtonProps = {
57
57
  t?: string;
58
- name: string;
58
+ label: string;
59
59
  color?: 'error' | 'warning' | 'success' | '';
60
60
  type?: 'primary' | 'ghost' | 'dashed' | 'link' | 'text' | 'default' | undefined;
61
61
  class?: string;
@@ -13,6 +13,11 @@
13
13
  .ant-input-search{
14
14
  width: 50%;
15
15
  margin: 0 25% 34px 25%;
16
+
17
+ .ant-input.ant-input-sm {
18
+ height: 30px;
19
+ font-size: 12px;
20
+ }
16
21
  }
17
22
 
18
23
  &_item{
@@ -1,9 +1,10 @@
1
1
  import { useApp, isFunction, isObject, error, useTimeoutFn, useSlots, useI18n, off, on, windowResizeFn, dispatchResize, isArray, deepMerge } from "@dt-frames/core";
2
- import { reactive, ref as ref$1, watchEffect, unref, nextTick, onUnmounted, toRefs, useAttrs, createVNode, isVNode, defineComponent, computed, openBlock, createElementBlock, normalizeClass, Fragment, createBlock, withCtx, createElementVNode, createCommentVNode, getCurrentInstance as getCurrentInstance$1, inject, h as h$1, provide, onMounted as onMounted$1, normalizeStyle, resolveDynamicComponent, renderSlot, mergeProps, watch, resolveDirective, normalizeProps, renderList, withDirectives, createTextVNode, toDisplayString, createSlots, guardReactiveProps } from "vue";
2
+ import { reactive, ref, getCurrentInstance, watchEffect, unref, nextTick, onUnmounted, toRaw, toRefs, useAttrs, createVNode, isVNode, defineComponent, computed, openBlock, createElementBlock, normalizeClass, Fragment, createBlock, withCtx, createElementVNode, createCommentVNode, inject, h, provide, onMounted, onBeforeUnmount, normalizeStyle, resolveDynamicComponent, renderSlot, mergeProps, watch, resolveDirective, normalizeProps, renderList, withDirectives, createTextVNode, toDisplayString, createSlots, guardReactiveProps } from "vue";
3
3
  import { Tooltip, Button, FormItem, Col, Spin } from "ant-design-vue/es";
4
4
  import "ant-design-vue/es/spin/style";
5
5
  import { omit } from "lodash-es";
6
6
  import { Modal } from "ant-design-vue";
7
+ import "ant-design-vue/es/modal/style";
7
8
  import "ant-design-vue/es/tooltip/style";
8
9
  import "ant-design-vue/es/col/style";
9
10
  import "ant-design-vue/es/form/style";
@@ -12,9 +13,9 @@ const orgDialogProp = reactive({});
12
13
  const cbTransfer = reactive({});
13
14
  const dataTransfer = reactive({});
14
15
  function useModalOut() {
15
- const modal = ref$1(null);
16
- const loaded = ref$1(true);
17
- const uid = ref$1(null);
16
+ const modal = ref(null);
17
+ const loaded = ref(true);
18
+ const uid = ref(null);
18
19
  const { isProd } = useApp();
19
20
  function register(modalMethod, uuid) {
20
21
  if (!getCurrentInstance()) {
@@ -72,9 +73,9 @@ function useModalOut() {
72
73
  return [register, methods];
73
74
  }
74
75
  function useModal(props, setModalData) {
75
- const modalInstanceRef = ref$1(null);
76
+ const modalInstanceRef = ref(null);
76
77
  const currentInstance = getCurrentInstance();
77
- const uidRef = ref$1(null);
78
+ const uidRef = ref(null);
78
79
  const { isProd } = useApp();
79
80
  const getInstance = () => {
80
81
  const instance = unref(modalInstanceRef);
@@ -453,14 +454,14 @@ const Bar = defineComponent({
453
454
  move: Number
454
455
  },
455
456
  setup(props) {
456
- const instance = getCurrentInstance$1();
457
- const thumb = ref$1();
457
+ const instance = getCurrentInstance();
458
+ const thumb = ref();
458
459
  const wrap = inject("scroll-bar-wrap", {});
459
460
  const bar = computed(() => {
460
461
  return BAR_MAP[props.vertical ? "vertical" : "horizontal"];
461
462
  });
462
- const barStore = ref$1({});
463
- const cursorDown = ref$1();
463
+ const barStore = ref({});
464
+ const cursorDown = ref();
464
465
  const clickThumbHandler = (e) => {
465
466
  if (e.ctrlKey || e.button === 2) {
466
467
  return;
@@ -504,13 +505,13 @@ const Bar = defineComponent({
504
505
  onUnmounted(() => {
505
506
  off(document, "mouseup", mouseUpDocumentHandler);
506
507
  });
507
- return () => h$1(
508
+ return () => h(
508
509
  "div",
509
510
  {
510
511
  class: ["scrollbar__bar", "is-" + bar.value.key],
511
512
  onMousedown: clickTrackHandler
512
513
  },
513
- h$1("div", {
514
+ h("div", {
514
515
  ref: thumb,
515
516
  class: "scrollbar__thumb",
516
517
  onMousedown: clickThumbHandler,
@@ -548,12 +549,12 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
548
549
  },
549
550
  setup(__props) {
550
551
  const props = __props;
551
- const sizeWidth = ref$1("0");
552
- const sizeHeight = ref$1("0");
553
- const moveX = ref$1(0);
554
- const moveY = ref$1(0);
555
- const wrap = ref$1();
556
- const resize = ref$1();
552
+ const sizeWidth = ref("0");
553
+ const sizeHeight = ref("0");
554
+ const moveX = ref(0);
555
+ const moveY = ref(0);
556
+ const wrap = ref();
557
+ const resize = ref();
557
558
  provide("scroll-bar-wrap", wrap);
558
559
  const style = computed(() => {
559
560
  let rsStyle = {};
@@ -577,7 +578,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
577
578
  sizeHeight.value = heightPercentage < 100 ? heightPercentage + "%" : "";
578
579
  sizeWidth.value = widthPercentage < 100 ? widthPercentage + "%" : "";
579
580
  };
580
- onMounted$1(() => {
581
+ onMounted(() => {
581
582
  nextTick(update);
582
583
  if (!props.noresize) {
583
584
  addResizeListener(unref(resize), update);
@@ -683,10 +684,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
683
684
  emits: ["ext-height", "height-change"],
684
685
  setup(__props, { emit: emits }) {
685
686
  const props = __props;
686
- const wrapperRef = ref$1(null);
687
- const wrapRef = ref$1(null);
688
- const realHeightRef = ref$1(0);
689
- const minRealHeightRef = ref$1(0);
687
+ const wrapperRef = ref(null);
688
+ const wrapRef = ref(null);
689
+ const realHeightRef = ref(0);
690
+ const minRealHeightRef = ref(0);
690
691
  let realHeight = 0;
691
692
  const wrapStyle = computed(() => {
692
693
  return {
@@ -702,10 +703,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
702
703
  const wrapperRefDom = unref(wrapperRef);
703
704
  if (!wrapperRefDom)
704
705
  return;
705
- const bodyDom = wrapperRefDom.$el.parentElement;
706
+ const bodyDom = wrapperRefDom.$el.parentElement.parentElement.parentElement;
706
707
  if (!bodyDom)
707
708
  return;
708
- bodyDom.style.padding = "0";
709
+ bodyDom.style.padding = props.useWrapper ? "24px" : "0";
709
710
  await nextTick();
710
711
  const modalDom = bodyDom.parentElement && bodyDom.parentElement.parentElement;
711
712
  return modalDom;
@@ -820,7 +821,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
820
821
  setup(__props, { emit: emits }) {
821
822
  const props = __props;
822
823
  const { t } = useI18n();
823
- const advancedRef = ref$1(props.isAdvanced);
824
+ const advancedRef = ref(props.isAdvanced);
824
825
  let key = 0;
825
826
  const showAdvanceRef = computed(() => {
826
827
  return props.mode === "search" ? props.showAdvancedButton : false;
@@ -889,7 +890,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
889
890
  (button.show === void 0 ? true : button.show) ? withDirectives((openBlock(), createBlock(_component_AButton, {
890
891
  type: button.type,
891
892
  class: normalizeClass(button.class),
892
- loading: button.loading?.value,
893
+ loading: button.loading,
893
894
  disabled: button.disabled,
894
895
  key: unref(key),
895
896
  onClick: ($event) => handleBtnClick(button)
@@ -900,7 +901,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
900
901
  ]) : createCommentVNode("", true)
901
902
  ]),
902
903
  default: withCtx(() => [
903
- createTextVNode(" " + toDisplayString(unref(t)(button.name)) + " ", 1),
904
+ createTextVNode(" " + toDisplayString(unref(t)(button.label)) + " ", 1),
904
905
  button.postIcon ? withDirectives((openBlock(), createElementBlock("span", _hoisted_2, null, 512)), [
905
906
  [_directive_icon, button.postIcon]
906
907
  ]) : createCommentVNode("", true)
@@ -954,8 +955,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
954
955
  if (props.buttons && props.buttons.length)
955
956
  return props.buttons;
956
957
  let buttonActions = [
957
- { t: "\u4FDD\u5B58", name: props.okText || t("SAVE"), preIcon: "mdi:content-save", type: "primary", flag: "OK" },
958
- { t: "\u5173\u95ED", name: props.cancelText || t("CLOSE"), preIcon: "mdi:close", flag: "CANCEL" }
958
+ { t: "\u4FDD\u5B58", label: props.okText || t("SAVE"), preIcon: "mdi:content-save", type: "primary", flag: "OK" },
959
+ { t: "\u5173\u95ED", label: props.cancelText || t("CLOSE"), preIcon: "mdi:close", flag: "CANCEL" }
959
960
  ];
960
961
  if (!props.showSave)
961
962
  buttonActions = buttonActions.filter((btn) => btn.flag !== "OK");
@@ -986,7 +987,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
986
987
  }
987
988
  });
988
989
  function useFullScreen(wrapClassName) {
989
- const fullScreenRef = ref$1(false);
990
+ const fullScreenRef = ref(false);
990
991
  const getWrapClassName = computed(() => {
991
992
  const clsName = unref(wrapClassName) || "";
992
993
  const cls = unref(fullScreenRef) ? `fullscreen-modal ${clsName} ` : unref(clsName);
@@ -1009,9 +1010,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1009
1010
  emits: ["visible-change", "height-change", "cancel", "save", "register", "update:visible"],
1010
1011
  setup(__props, { emit: emits }) {
1011
1012
  const props = __props;
1012
- const visibleRef = ref$1(false);
1013
- const propsRef = ref$1();
1014
- const modalWrapperRef = ref$1(null);
1013
+ const visibleRef = ref(false);
1014
+ const propsRef = ref();
1015
+ const modalWrapperRef = ref(null);
1015
1016
  const { getWrapClassName, toggleFullScreen, fullScreenRef } = useFullScreen(computed(() => unref(propsRef)?.wrapClassName));
1016
1017
  const getMergeProps = computed(() => {
1017
1018
  return {
@@ -14,6 +14,16 @@
14
14
  height: 100%;
15
15
  }
16
16
  }
17
+
18
+ .ant-modal-content{
19
+ display: flex;
20
+ flex-direction: column;
21
+
22
+ .ant-modal-body{
23
+ flex: 1;
24
+ height: 0;
25
+ }
26
+ }
17
27
  }
18
28
 
19
29
 
@@ -107,11 +107,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
107
107
  "onHandle-method"?: (...args: any[]) => any;
108
108
  }, {
109
109
  mode: "search" | "dialog";
110
- minShowColumn: number;
111
- showAdvancedButton: boolean;
112
110
  show: boolean;
113
- isAdvanced: boolean;
111
+ showAdvancedButton: boolean;
112
+ minShowColumn: number;
114
113
  buttonList: ButtonProps[];
114
+ isAdvanced: boolean;
115
115
  }>;
116
116
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleSave" | "handleCancel")[], "handleSave" | "handleCancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
117
117
  buttons: PropType<ButtonProps[]>;