@dt-frames/ui 2.0.15 → 2.0.16

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 (90) hide show
  1. package/es/assets/imgs/tree/forder-open.svg +1 -0
  2. package/es/assets/imgs/tree/forder.svg +1 -0
  3. package/es/assets/locales/zh.ts +1 -1
  4. package/es/components/curd/index.js +28 -8
  5. package/es/components/curd/src/components/Curd.d.ts +10 -0
  6. package/es/components/curd/src/hooks/useCurd.d.ts +2 -4
  7. package/es/components/curd/src/props.d.ts +5 -1
  8. package/es/components/drawer/index.js +25 -24
  9. package/es/components/form/index.js +50 -37
  10. package/es/components/form/index.less +16 -0
  11. package/es/components/form/src/props.d.ts +1 -1
  12. package/es/components/modal/index.js +8 -143
  13. package/es/components/modal/index.less +23 -0
  14. package/es/components/modal/src/index.d.ts +2 -84
  15. package/es/components/table/index.js +2 -2
  16. package/es/components/tree/index.js +197 -93
  17. package/es/components/tree/index.less +75 -13
  18. package/es/components/tree/src/basicProps.d.ts +46 -7
  19. package/es/components/tree/src/components/TreeHeader.d.ts +2 -2
  20. package/es/components/tree/src/hooks/useTree.d.ts +3 -2
  21. package/es/components/tree/src/index.d.ts +120 -29
  22. package/es/components/upload/index.js +28 -20
  23. package/es/components/upload/index.less +10 -1
  24. package/es/components/upload/src/index.d.ts +1 -1
  25. package/es/components/upload/src/utils/upload.d.ts +1 -1
  26. package/es/theme/index.js +307 -307
  27. package/es/theme/index.less +1 -0
  28. package/es/theme/src/components/header/components/size.d.ts +5 -5
  29. package/es/theme/src/components/header/index.d.ts +5 -5
  30. package/es/theme/src/components/header/multiple-header.d.ts +5 -5
  31. package/es/theme/src/index.d.ts +10 -10
  32. package/manualContentPath.js +10 -0
  33. package/package.json +1 -1
  34. package/tsconfig.json +1 -1
  35. package/es/packages/ui/src/assets/locales/en.d.ts +0 -103
  36. package/es/packages/ui/src/assets/locales/index.d.ts +0 -2
  37. package/es/packages/ui/src/assets/locales/zh.d.ts +0 -104
  38. package/es/packages/ui/src/components/form/index.d.ts +0 -7
  39. package/es/packages/ui/src/components/form/src/components/FormButtons.d.ts +0 -105
  40. package/es/packages/ui/src/components/form/src/components/FormItem.d.ts +0 -159
  41. package/es/packages/ui/src/components/form/src/components/componentMap.d.ts +0 -4
  42. package/es/packages/ui/src/components/form/src/components/formIcon.d.ts +0 -1223
  43. package/es/packages/ui/src/components/form/src/components/formInputUseDialog.d.ts +0 -911
  44. package/es/packages/ui/src/components/form/src/components/index.d.ts +0 -4
  45. package/es/packages/ui/src/components/form/src/components/radioButton.d.ts +0 -34
  46. package/es/packages/ui/src/components/form/src/enums/index.d.ts +0 -7
  47. package/es/packages/ui/src/components/form/src/hooks/helper.d.ts +0 -14
  48. package/es/packages/ui/src/components/form/src/hooks/useForm.d.ts +0 -6
  49. package/es/packages/ui/src/components/form/src/hooks/useFormActions.d.ts +0 -12
  50. package/es/packages/ui/src/components/form/src/hooks/useFormEvent.d.ts +0 -25
  51. package/es/packages/ui/src/components/form/src/hooks/useFormValue.d.ts +0 -3
  52. package/es/packages/ui/src/components/form/src/hooks/useFormValues.d.ts +0 -11
  53. package/es/packages/ui/src/components/form/src/hooks/useLabelWidth.d.ts +0 -6
  54. package/es/packages/ui/src/components/form/src/props.d.ts +0 -127
  55. package/es/packages/ui/src/components/form/src/types/actions.type.d.ts +0 -15
  56. package/es/packages/ui/src/components/form/src/types/form.type.d.ts +0 -79
  57. package/es/packages/ui/src/components/form/src/types/items.type.d.ts +0 -409
  58. package/es/packages/ui/src/components/iframe/index.d.ts +0 -2
  59. package/es/packages/ui/src/components/modal/index.d.ts +0 -4
  60. package/es/packages/ui/src/components/modal/src/hooks/useModal.d.ts +0 -5
  61. package/es/packages/ui/src/components/modal/src/props.d.ts +0 -101
  62. package/es/packages/ui/src/components/modal/src/types/modal.type.d.ts +0 -17
  63. package/es/packages/ui/src/components/upload/index.d.ts +0 -4
  64. package/es/packages/ui/src/components/upload/src/basicProps.d.ts +0 -87
  65. package/es/packages/ui/src/components/upload/src/components/PdfView.d.ts +0 -9
  66. package/es/packages/ui/src/components/upload/src/components/WordView.d.ts +0 -6
  67. package/es/packages/ui/src/components/upload/src/hooks/useFile.d.ts +0 -16
  68. package/es/packages/ui/src/components/upload/src/index.d.ts +0 -242
  69. package/es/packages/ui/src/components/upload/src/type/file.d.ts +0 -10
  70. package/es/packages/ui/src/components/upload/src/utils/upload.d.ts +0 -2
  71. package/es/packages/ui/src/global.d.ts +0 -7
  72. package/es/packages/ui/src/theme/index.d.ts +0 -12
  73. package/es/packages/ui/src/theme/src/components/header/helper/menu-tree.d.ts +0 -4
  74. package/es/packages/ui/src/theme/src/enums/index.d.ts +0 -1
  75. package/es/packages/ui/src/theme/src/enums/theme.enum.d.ts +0 -34
  76. package/es/packages/ui/src/theme/src/hooks/index.d.ts +0 -6
  77. package/es/packages/ui/src/theme/src/hooks/useDragLine.d.ts +0 -2
  78. package/es/packages/ui/src/theme/src/hooks/useHeader.d.ts +0 -25
  79. package/es/packages/ui/src/theme/src/hooks/useMenu.d.ts +0 -29
  80. package/es/packages/ui/src/theme/src/hooks/useMultifyTab.d.ts +0 -8
  81. package/es/packages/ui/src/theme/src/hooks/useOpenKeys.d.ts +0 -7
  82. package/es/packages/ui/src/theme/src/hooks/useTheme.d.ts +0 -9
  83. package/es/packages/ui/src/theme/src/setting/theme.setting.d.ts +0 -2
  84. package/es/packages/ui/src/theme/src/stores/index.d.ts +0 -3
  85. package/es/packages/ui/src/theme/src/stores/routeReuse.store.d.ts +0 -25
  86. package/es/packages/ui/src/theme/src/stores/theme.store.d.ts +0 -19
  87. package/es/packages/ui/src/theme/src/types/index.d.ts +0 -3
  88. package/es/packages/ui/src/theme/src/types/menu.type.d.ts +0 -15
  89. package/es/packages/ui/src/theme/src/types/theme.type.d.ts +0 -62
  90. package/es/packages/ui/src/utils/withInstall.d.ts +0 -4
@@ -2,6 +2,7 @@
2
2
  @import './transition.less';
3
3
 
4
4
  @primary-color: #269ac1;
5
+ @primary-color-hover: #d9eef5;
5
6
  @header-bg-color: #fff;
6
7
  @header-bg-dark-color: #3c4252; // #001529
7
8
  @header-light-bottom-border-color: #eee;
@@ -87,8 +87,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
87
87
  $slots: Readonly<{
88
88
  [name: string]: import("vue").Slot;
89
89
  }>;
90
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
91
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
90
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
91
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
92
92
  $emit: (event: string, ...args: any[]) => void;
93
93
  $el: any;
94
94
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -148,7 +148,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
148
148
  destroyTooltipOnHide: boolean;
149
149
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
150
150
  arrowPointAtCenter: boolean;
151
- }, {}, string> & {
151
+ }> & {
152
152
  beforeCreate?: (() => void) | (() => void)[];
153
153
  created?: (() => void) | (() => void)[];
154
154
  beforeMount?: (() => void) | (() => void)[];
@@ -163,7 +163,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
163
163
  unmounted?: (() => void) | (() => void)[];
164
164
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
165
165
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
166
- 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)[];
166
+ 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)[];
167
167
  };
168
168
  $forceUpdate: () => void;
169
169
  $nextTick: typeof import("vue").nextTick;
@@ -277,6 +277,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
277
277
  destroyTooltipOnHide: boolean;
278
278
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
279
279
  arrowPointAtCenter: boolean;
280
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
280
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
281
281
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
282
282
  export default _sfc_main;
@@ -329,8 +329,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
329
329
  $slots: Readonly<{
330
330
  [name: string]: import("vue").Slot;
331
331
  }>;
332
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
333
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
332
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
333
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
334
334
  $emit: (event: string, ...args: any[]) => void;
335
335
  $el: any;
336
336
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -390,7 +390,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
390
390
  destroyTooltipOnHide: boolean;
391
391
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
392
392
  arrowPointAtCenter: boolean;
393
- }, {}, string> & {
393
+ }> & {
394
394
  beforeCreate?: (() => void) | (() => void)[];
395
395
  created?: (() => void) | (() => void)[];
396
396
  beforeMount?: (() => void) | (() => void)[];
@@ -405,7 +405,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
405
405
  unmounted?: (() => void) | (() => void)[];
406
406
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
407
407
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
408
- 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)[];
408
+ 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)[];
409
409
  };
410
410
  $forceUpdate: () => void;
411
411
  $nextTick: typeof import("vue").nextTick;
@@ -519,7 +519,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
519
519
  destroyTooltipOnHide: boolean;
520
520
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
521
521
  arrowPointAtCenter: boolean;
522
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
522
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
523
523
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
524
524
  readonly DtUserInfo: import("vue").DefineComponent<{}, {
525
525
  t: {
@@ -352,8 +352,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
352
352
  $slots: Readonly<{
353
353
  [name: string]: import("vue").Slot;
354
354
  }>;
355
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
356
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
355
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
356
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
357
357
  $emit: (event: string, ...args: any[]) => void;
358
358
  $el: any;
359
359
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -413,7 +413,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
413
413
  destroyTooltipOnHide: boolean;
414
414
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
415
415
  arrowPointAtCenter: boolean;
416
- }, {}, string> & {
416
+ }> & {
417
417
  beforeCreate?: (() => void) | (() => void)[];
418
418
  created?: (() => void) | (() => void)[];
419
419
  beforeMount?: (() => void) | (() => void)[];
@@ -428,7 +428,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
428
428
  unmounted?: (() => void) | (() => void)[];
429
429
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
430
430
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
431
- 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)[];
431
+ 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)[];
432
432
  };
433
433
  $forceUpdate: () => void;
434
434
  $nextTick: typeof import("vue").nextTick;
@@ -542,7 +542,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
542
542
  destroyTooltipOnHide: boolean;
543
543
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
544
544
  arrowPointAtCenter: boolean;
545
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
545
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
546
546
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
547
547
  readonly DtUserInfo: import("vue").DefineComponent<{}, {
548
548
  t: {
@@ -372,8 +372,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
372
372
  $slots: Readonly<{
373
373
  [name: string]: import("vue").Slot;
374
374
  }>;
375
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
376
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
375
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
376
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
377
377
  $emit: (event: string, ...args: any[]) => void;
378
378
  $el: any;
379
379
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -433,7 +433,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
433
433
  destroyTooltipOnHide: boolean;
434
434
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
435
435
  arrowPointAtCenter: boolean;
436
- }, {}, string> & {
436
+ }> & {
437
437
  beforeCreate?: (() => void) | (() => void)[];
438
438
  created?: (() => void) | (() => void)[];
439
439
  beforeMount?: (() => void) | (() => void)[];
@@ -448,7 +448,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
448
448
  unmounted?: (() => void) | (() => void)[];
449
449
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
450
450
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
451
- 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)[];
451
+ 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)[];
452
452
  };
453
453
  $forceUpdate: () => void;
454
454
  $nextTick: typeof import("vue").nextTick;
@@ -562,7 +562,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
562
562
  destroyTooltipOnHide: boolean;
563
563
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
564
564
  arrowPointAtCenter: boolean;
565
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
565
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
566
566
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
567
567
  readonly DtUserInfo: import("vue").DefineComponent<{}, {
568
568
  t: {
@@ -1437,8 +1437,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
1437
1437
  $slots: Readonly<{
1438
1438
  [name: string]: import("vue").Slot;
1439
1439
  }>;
1440
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
1441
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
1440
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
1441
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
1442
1442
  $emit: (event: string, ...args: any[]) => void;
1443
1443
  $el: any;
1444
1444
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -1498,7 +1498,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
1498
1498
  destroyTooltipOnHide: boolean;
1499
1499
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
1500
1500
  arrowPointAtCenter: boolean;
1501
- }, {}, string> & {
1501
+ }> & {
1502
1502
  beforeCreate?: (() => void) | (() => void)[];
1503
1503
  created?: (() => void) | (() => void)[];
1504
1504
  beforeMount?: (() => void) | (() => void)[];
@@ -1513,7 +1513,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
1513
1513
  unmounted?: (() => void) | (() => void)[];
1514
1514
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1515
1515
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1516
- 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)[];
1516
+ 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)[];
1517
1517
  };
1518
1518
  $forceUpdate: () => void;
1519
1519
  $nextTick: typeof import("vue").nextTick;
@@ -1627,7 +1627,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
1627
1627
  destroyTooltipOnHide: boolean;
1628
1628
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
1629
1629
  arrowPointAtCenter: boolean;
1630
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
1630
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
1631
1631
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1632
1632
  readonly DtUserInfo: import("vue").DefineComponent<{}, {
1633
1633
  t: {
@@ -78,6 +78,16 @@ const replaceContentList = [
78
78
  }
79
79
  ]
80
80
  },
81
+ {
82
+ module: 'tree',
83
+ path: resolve('./es/components/tree/index.js'),
84
+ replaceList: [
85
+ {
86
+ content: '@theme',
87
+ replaceContent: '../../theme'
88
+ }
89
+ ]
90
+ },
81
91
  {
82
92
  module: 'theme',
83
93
  path: resolve('./es/theme/index.js'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dt-frames/ui",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./src/index.ts",
package/tsconfig.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "noImplicitAny": false,
26
26
  "paths": {
27
27
  "@*": ["src/*"]
28
- },
28
+ }
29
29
  },
30
30
  "include": [
31
31
  "src/**/*.ts",
@@ -1,103 +0,0 @@
1
- export declare const EN: {
2
- UI: {
3
- ADD: string;
4
- DELETE_CONFIRM: string;
5
- CONFIRM_DELETE: string;
6
- NEED_CURD: string;
7
- EDIT: string;
8
- EMPTY: string;
9
- EMPTY_URL: string;
10
- MULTIFY_DELETE_CONFIRM: string;
11
- CONFIRM_MULTIFY_DELETE: string;
12
- ADVANCED: string;
13
- EXPAND: string;
14
- SELECT_ICON: string;
15
- MUSE_FUNCTION: string;
16
- NEED_RENDER: string;
17
- SEARCH: string;
18
- RESET: string;
19
- PLEASE_INPUT: string;
20
- PLEASE_SELECT: string;
21
- PLEASE_SET_ICON: string;
22
- INPUT_FILTER: string;
23
- EXIT_FULLSCREEN: string;
24
- FULLSCREEN: string;
25
- SAVE: string;
26
- CLOSE: string;
27
- ADD_SUCCESS: string;
28
- UPDATE_SUCCESS: string;
29
- MULTIFY: string;
30
- DELETE_SUCCESS: string;
31
- COLUMN_CONTROL: string;
32
- COLUMN_SHOW: string;
33
- INDEX: string;
34
- CHECKBOX: string;
35
- FIXED_TO_LEFT: string;
36
- FIXED_TO_RIGHT: string;
37
- EXPORT: string;
38
- DOWNLOAD_TEMPLATE: string;
39
- EXPORT_CURRENT_PAGE: string;
40
- EXPORT_SELECT_COLUMN: string;
41
- EXPORT_ALL: string;
42
- SELECT_ALL: string;
43
- SETTING_EXPORT_COLUMN: string;
44
- NO_EXPORT_COLUMN: string;
45
- NUMBER: string;
46
- ACTIONS: string;
47
- TOTAL_PAGE: string;
48
- FILTER: string;
49
- EXPAND_ALL: string;
50
- COLLAPSE_ALL: string;
51
- SELECT_ALL1: string;
52
- CANCEL_SELECT_ALL: string;
53
- LEVEL_CONNECTION: string;
54
- LEVEL_SOLATE: string;
55
- LOADING: string;
56
- SUPPORT_FILES: string;
57
- MAX_SIZE: string;
58
- MAX_NUMBER: string;
59
- SUPPORT_TYPES: string;
60
- FILE_UPLOAD: string;
61
- FILE_NAME: string;
62
- FILE_STATUS: string;
63
- PREVIEW: string;
64
- DELETE: string;
65
- HISTORY_UPLOAD: string;
66
- MAX_MB: string;
67
- PRE_UPLOAD: string;
68
- COMPANY_NAME: string;
69
- FILTER_MORE: string;
70
- LARGE_SIZE: string;
71
- MIDDLE_SIZE: string;
72
- SMALL_SIZE: string;
73
- MODIFY_PASSWORD: string;
74
- LOGIN_OUT: string;
75
- REFRESH: string;
76
- CLOSE_CURRENT_TAG: string;
77
- CLOSE_LEFT_TAGS: string;
78
- CLOSE_RIGHT_TAGS: string;
79
- CLOSE_OTHER_TAGS: string;
80
- CLOSE_ALL_TAGE: string;
81
- SETTING_THEME: string;
82
- PROJECT_SETTING: string;
83
- NAV_MODE: string;
84
- PAGE_SHOW: string;
85
- COPY: string;
86
- DRAWER_TIPS: string;
87
- FULL: string;
88
- FIXED: string;
89
- BREAD_CURB: string;
90
- MENU_FILTER: string;
91
- NOTICE: string;
92
- SIZE: string;
93
- SHOW_FULLE: string;
94
- LOCAL: string;
95
- ROUTE_REUSE: string;
96
- SHOW_FOOTER: string;
97
- CONTENT_FIXED_WIDTH: string;
98
- ON: string;
99
- OFF: string;
100
- UNKNOWN_ROUTE: string;
101
- COPY_SUCCESS: string;
102
- };
103
- };
@@ -1,2 +0,0 @@
1
- import { Recordable, Language } from "@dt-frames/core";
2
- export declare const uiLang: (lang: Language) => Recordable;
@@ -1,104 +0,0 @@
1
- export declare const ZH: {
2
- UI: {
3
- ADD: string;
4
- DELETE_CONFIRM: string;
5
- CONFIRM_DELETE: string;
6
- NEED_CURD: string;
7
- EDIT: string;
8
- EMPTY: string;
9
- EMPTY_URL: string;
10
- MULTIFY_DELETE_CONFIRM: string;
11
- CONFIRM_MULTIFY_DELETE: string;
12
- ADVANCED: string;
13
- EXPAND: string;
14
- SELECT_ICON: string;
15
- MUSE_FUNCTION: string;
16
- NEED_RENDER: string;
17
- SEARCH: string;
18
- RESET: string;
19
- PLEASE_INPUT: string;
20
- PLEASE_SELECT: string;
21
- PLEASE_SET_ICON: string;
22
- INPUT_FILTER: string;
23
- EXIT_FULLSCREEN: string;
24
- FULLSCREEN: string;
25
- SAVE: string;
26
- CLOSE: string;
27
- ADD_SUCCESS: string;
28
- UPDATE_SUCCESS: string;
29
- MULTIFY: string;
30
- DELETE_SUCCESS: string;
31
- COLUMN_CONTROL: string;
32
- COLUMN_SHOW: string;
33
- INDEX: string;
34
- CHECKBOX: string;
35
- FIXED_TO_LEFT: string;
36
- FIXED_TO_RIGHT: string;
37
- EXPORT: string;
38
- DOWNLOAD_TEMPLATE: string;
39
- EXPORT_CURRENT_PAGE: string;
40
- EXPORT_SELECT_COLUMN: string;
41
- EXPORT_ALL: string;
42
- SELECT_ALL: string;
43
- SETTING_EXPORT_COLUMN: string;
44
- NO_EXPORT_COLUMN: string;
45
- NUMBER: string;
46
- ACTIONS: string;
47
- TOTAL_PAGE: string;
48
- FILTER: string;
49
- EXPAND_ALL: string;
50
- COLLAPSE_ALL: string;
51
- SELECT_ALL1: string;
52
- CANCEL_SELECT_ALL: string;
53
- LEVEL_CONNECTION: string;
54
- LEVEL_SOLATE: string;
55
- LOADING: string;
56
- SUPPORT_FILES: string;
57
- MAX_SIZE: string;
58
- MAX_NUMBER: string;
59
- SUPPORT_TYPES: string;
60
- FILE_UPLOAD: string;
61
- FILE_NAME: string;
62
- FILE_STATUS: string;
63
- PREVIEW: string;
64
- DELETE: string;
65
- HISTORY_UPLOAD: string;
66
- MAX_MB: string;
67
- PRE_UPLOAD: string;
68
- COMPANY_NAME: string;
69
- FILTER_MORE: string;
70
- LARGE_SIZE: string;
71
- MIDDLE_SIZE: string;
72
- SMALL_SIZE: string;
73
- MODIFY_PASSWORD: string;
74
- LOGIN_OUT: string;
75
- REFRESH: string;
76
- CLOSE_CURRENT_TAG: string;
77
- CLOSE_LEFT_TAGS: string;
78
- CLOSE_RIGHT_TAGS: string;
79
- CLOSE_OTHER_TAGS: string;
80
- CLOSE_ALL_TAGE: string;
81
- SETTING_THEME: string;
82
- PROJECT_SETTING: string;
83
- NAV_MODE: string;
84
- PAGE_SHOW: string;
85
- COPY: string;
86
- DRAWER_TIPS: string;
87
- FULL: string;
88
- FIXED: string;
89
- BREAD_CURB: string;
90
- MENU_FILTER: string;
91
- NOTICE: string;
92
- SIZE: string;
93
- SHOW_FULLE: string;
94
- LOCAL: string;
95
- ROUTE_REUSE: string;
96
- SHOW_FOOTER: string;
97
- CONTENT_FIXED_WIDTH: string;
98
- ON: string;
99
- OFF: string;
100
- DOWNLOAD: string;
101
- UNKNOWN_ROUTE: string;
102
- COPY_SUCCESS: string;
103
- };
104
- };
@@ -1,7 +0,0 @@
1
- import DtForm from "./src/index";
2
- import { useForm } from './src/hooks/useForm';
3
- import { FormActionType } from './src/types/actions.type';
4
- import { DtFormButtons } from './src/components';
5
- import { ButtonProps } from './src/types/form.type';
6
- export { DtFormButtons, DtForm, useForm };
7
- export type { FormActionType, ButtonProps };
@@ -1,105 +0,0 @@
1
- import { Recordable } from '@dt-frames/core';
2
- import { PropType } from 'vue';
3
- import { ButtonProps } from '../types/form.type';
4
- declare const _sfc_main: import("vue").DefineComponent<{
5
- mode: {
6
- type: PropType<"search" | "dialog">;
7
- default: string;
8
- };
9
- show: {
10
- type: BooleanConstructor;
11
- default: boolean;
12
- };
13
- showAdvancedButton: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- minShowColumn: {
18
- type: NumberConstructor;
19
- default: number;
20
- };
21
- buttonList: {
22
- type: PropType<ButtonProps[]>;
23
- default: any[];
24
- };
25
- authPrefix: {
26
- type: StringConstructor;
27
- };
28
- isAdvanced: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
- colspan: {
33
- type: ObjectConstructor;
34
- };
35
- }, {
36
- props: any;
37
- emits: (event: "handle-method", ...args: any[]) => void;
38
- t: {
39
- (key: string): string;
40
- (key: string, locale: string): string;
41
- (key: string, locale: string, list: unknown[]): string;
42
- (key: string, locale: string, named: Record<string, unknown>): string;
43
- (key: string, list: unknown[]): string;
44
- (key: string, named: Record<string, unknown>): string;
45
- };
46
- advancedRef: import("vue").Ref<{
47
- valueOf: () => boolean;
48
- }>;
49
- key: number;
50
- showAdvanceRef: import("vue").ComputedRef<boolean>;
51
- getAuth: (auth: string) => string | null;
52
- colOpt: import("vue").ComputedRef<{
53
- style: Recordable<any>;
54
- span?: undefined;
55
- } | {
56
- style: Recordable<any>;
57
- span: number;
58
- }>;
59
- getAdvanceClass: import("vue").ComputedRef<(string | {
60
- 'basic-arrow--active': boolean;
61
- })[]>;
62
- toggleAdvanced: () => void;
63
- handleBtnClick: (button: ButtonProps) => void;
64
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "handle-method"[], "handle-method", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
65
- mode: {
66
- type: PropType<"search" | "dialog">;
67
- default: string;
68
- };
69
- show: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- showAdvancedButton: {
74
- type: BooleanConstructor;
75
- default: boolean;
76
- };
77
- minShowColumn: {
78
- type: NumberConstructor;
79
- default: number;
80
- };
81
- buttonList: {
82
- type: PropType<ButtonProps[]>;
83
- default: any[];
84
- };
85
- authPrefix: {
86
- type: StringConstructor;
87
- };
88
- isAdvanced: {
89
- type: BooleanConstructor;
90
- default: boolean;
91
- };
92
- colspan: {
93
- type: ObjectConstructor;
94
- };
95
- }>> & {
96
- "onHandle-method"?: (...args: any[]) => any;
97
- }, {
98
- mode: "search" | "dialog";
99
- show: boolean;
100
- showAdvancedButton: boolean;
101
- minShowColumn: number;
102
- buttonList: ButtonProps[];
103
- isAdvanced: boolean;
104
- }>;
105
- export default _sfc_main;