@dt-frames/ui 2.0.3 → 2.0.5

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 (141) hide show
  1. package/es/assets/locales/en.ts +1 -1
  2. package/es/components/curd/index.js +346 -331
  3. package/es/components/curd/src/components/Curd.d.ts +0 -8
  4. package/es/components/curd/src/props.d.ts +0 -4
  5. package/es/components/drawer/index.d.ts +1 -1
  6. package/es/components/drawer/index.js +27 -27
  7. package/es/components/drawer/src/index.d.ts +2 -3
  8. package/es/components/form/index.d.ts +0 -33
  9. package/es/components/form/index.js +72 -36
  10. package/es/components/form/index.less +212 -9
  11. package/es/components/form/src/components/FormItem.d.ts +3 -7
  12. package/es/components/form/src/components/formIcon.d.ts +14 -14
  13. package/es/components/form/src/components/formInputUseDialog.d.ts +8 -8
  14. package/es/components/form/src/enums/index.d.ts +1 -1
  15. package/es/components/form/src/index.d.ts +0 -25
  16. package/es/components/form/src/props.d.ts +2 -6
  17. package/es/components/form/src/types/form.type.d.ts +1 -1
  18. package/es/components/icons/index.less +5 -0
  19. package/es/components/modal/index.js +35 -34
  20. package/es/components/modal/index.less +10 -0
  21. package/es/components/modal/src/components/ModalFooter.d.ts +3 -3
  22. package/es/components/modal/src/index.d.ts +9 -9
  23. package/es/components/source/hooks/useSource.d.ts +14 -0
  24. package/es/components/source/index.js +72 -31
  25. package/es/components/source/types/source.type.d.ts +5 -8
  26. package/es/components/table/index.js +418 -305
  27. package/es/components/table/index.less +62 -14
  28. package/es/components/table/src/components/TableAction.d.ts +1 -1
  29. package/es/components/table/src/index.d.ts +30 -10
  30. package/es/components/table/src/props.d.ts +12 -4
  31. package/es/components/table/src/types/table.type.d.ts +4 -5
  32. package/es/components/tree/index.d.ts +2 -0
  33. package/es/components/tree/index.js +1087 -0
  34. package/es/components/tree/index.less +119 -0
  35. package/es/components/tree/src/basicProps.d.ts +146 -0
  36. package/es/components/tree/src/components/ContextMenu.d.ts +64 -0
  37. package/es/components/tree/src/components/TreeHeader.d.ts +98 -0
  38. package/es/components/tree/src/enums/index.d.ts +6 -0
  39. package/es/components/tree/src/hooks/useContextMenu.d.ts +2 -0
  40. package/es/components/tree/src/hooks/useTree.d.ts +14 -0
  41. package/es/components/tree/src/index.d.ts +6526 -0
  42. package/es/components/tree/src/type/menu.d.ts +33 -0
  43. package/es/components/tree/src/type/tree.d.ts +55 -0
  44. package/es/components/tree/src/utils/tree.d.ts +5 -0
  45. package/es/packages/ui/src/assets/locales/en.d.ts +101 -0
  46. package/es/packages/ui/src/assets/locales/index.d.ts +2 -0
  47. package/es/packages/ui/src/assets/locales/zh.d.ts +103 -0
  48. package/es/packages/ui/src/components/container/index.d.ts +94 -0
  49. package/es/packages/ui/src/components/container/src/components/bar.d.ts +14 -0
  50. package/es/packages/ui/src/components/container/src/components/scroll-bar.d.ts +70 -0
  51. package/es/packages/ui/src/components/container/src/hooks/scroll.d.ts +10 -0
  52. package/es/packages/ui/src/components/container/src/scroll-container.d.ts +76 -0
  53. package/es/packages/ui/src/components/container/src/slot-container.d.ts +20 -0
  54. package/es/packages/ui/src/components/container/src/types/scroll.type.d.ts +22 -0
  55. package/es/packages/ui/src/components/container/src/utils/scroll.d.ts +5 -0
  56. package/es/packages/ui/src/global.d.ts +7 -0
  57. package/es/packages/ui/src/theme/index.d.ts +10 -0
  58. package/es/packages/ui/src/theme/src/components/content/index.d.ts +27 -0
  59. package/es/packages/ui/src/theme/src/components/feature/back-top.d.ts +5 -0
  60. package/es/packages/ui/src/theme/src/components/feature/index.d.ts +7 -0
  61. package/es/packages/ui/src/theme/src/components/footer/index.d.ts +31 -0
  62. package/es/packages/ui/src/theme/src/components/header/components/bread-crumb.d.ts +6 -0
  63. package/es/packages/ui/src/theme/src/components/header/components/fullscreen.d.ts +5 -0
  64. package/es/packages/ui/src/theme/src/components/header/components/index.d.ts +11 -0
  65. package/es/packages/ui/src/theme/src/components/header/components/lang-picker.d.ts +23 -0
  66. package/es/packages/ui/src/theme/src/components/header/components/logo.d.ts +56 -0
  67. package/es/packages/ui/src/theme/src/components/header/components/menu-filter.d.ts +22 -0
  68. package/es/packages/ui/src/theme/src/components/header/components/notify.d.ts +24 -0
  69. package/es/packages/ui/src/theme/src/components/header/components/setting-theme.d.ts +223 -0
  70. package/es/packages/ui/src/theme/src/components/header/components/size.d.ts +282 -0
  71. package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/feature.d.ts +138 -0
  72. package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/index.d.ts +3 -0
  73. package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/menu-type.d.ts +16 -0
  74. package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/select.d.ts +58 -0
  75. package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/switch.d.ts +49 -0
  76. package/es/packages/ui/src/theme/src/components/header/components/trigger.d.ts +10 -0
  77. package/es/packages/ui/src/theme/src/components/header/components/user-info.d.ts +37 -0
  78. package/es/packages/ui/src/theme/src/components/header/helper/change-theme.d.ts +13 -0
  79. package/es/packages/ui/src/theme/src/components/header/helper/menu-tree.d.ts +4 -0
  80. package/es/packages/ui/src/theme/src/components/header/index.d.ts +720 -0
  81. package/es/packages/ui/src/theme/src/components/header/multiple-header.d.ts +806 -0
  82. package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu-item.d.ts +62 -0
  83. package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu.d.ts +207 -0
  84. package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-sub-menu-item.d.ts +127 -0
  85. package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/menu-item-content.d.ts +26 -0
  86. package/es/packages/ui/src/theme/src/components/sider/components/drag-bar.d.ts +14 -0
  87. package/es/packages/ui/src/theme/src/components/sider/components/layout-menu.d.ts +22 -0
  88. package/es/packages/ui/src/theme/src/components/sider/components/props.d.ts +69 -0
  89. package/es/packages/ui/src/theme/src/components/sider/components/sider-trigger.d.ts +17 -0
  90. package/es/packages/ui/src/theme/src/components/sider/helper/sider.d.ts +12 -0
  91. package/es/packages/ui/src/theme/src/components/sider/helper/split-menu.d.ts +10 -0
  92. package/es/packages/ui/src/theme/src/components/sider/index.d.ts +235 -0
  93. package/es/packages/ui/src/theme/src/components/sider/mix-sider.d.ts +167 -0
  94. package/es/packages/ui/src/theme/src/components/tabs/components/TabContent.d.ts +6 -0
  95. package/es/packages/ui/src/theme/src/components/tabs/components/TabRedo.d.ts +21 -0
  96. package/es/packages/ui/src/theme/src/components/tabs/components/index.d.ts +3 -0
  97. package/es/packages/ui/src/theme/src/components/tabs/hooks/useMultifyTabs.d.ts +7 -0
  98. package/es/packages/ui/src/theme/src/components/tabs/hooks/useTabDropdown.d.ts +6 -0
  99. package/es/packages/ui/src/theme/src/components/tabs/index.d.ts +63 -0
  100. package/es/packages/ui/src/theme/src/components/tabs/types/tabs.type.d.ts +7 -0
  101. package/es/packages/ui/src/theme/src/enums/index.d.ts +1 -0
  102. package/es/packages/ui/src/theme/src/enums/theme.enum.d.ts +34 -0
  103. package/es/packages/ui/src/theme/src/hooks/index.d.ts +6 -0
  104. package/es/packages/ui/src/theme/src/hooks/useDragLine.d.ts +2 -0
  105. package/es/packages/ui/src/theme/src/hooks/useHeader.d.ts +25 -0
  106. package/es/packages/ui/src/theme/src/hooks/useMenu.d.ts +29 -0
  107. package/es/packages/ui/src/theme/src/hooks/useMultifyTab.d.ts +8 -0
  108. package/es/packages/ui/src/theme/src/hooks/useOpenKeys.d.ts +7 -0
  109. package/es/packages/ui/src/theme/src/hooks/useTheme.d.ts +9 -0
  110. package/es/packages/ui/src/theme/src/index.d.ts +1851 -0
  111. package/es/packages/ui/src/theme/src/setting/theme.setting.d.ts +2 -0
  112. package/es/packages/ui/src/theme/src/stores/index.d.ts +3 -0
  113. package/es/packages/ui/src/theme/src/stores/routeReuse.store.d.ts +23 -0
  114. package/es/packages/ui/src/theme/src/stores/theme.store.d.ts +18 -0
  115. package/es/packages/ui/src/theme/src/types/index.d.ts +3 -0
  116. package/es/packages/ui/src/theme/src/types/menu.type.d.ts +15 -0
  117. package/es/packages/ui/src/theme/src/types/theme.type.d.ts +62 -0
  118. package/es/packages/ui/src/utils/withInstall.d.ts +4 -0
  119. package/es/theme/index.d.ts +2 -1
  120. package/es/theme/index.js +898 -683
  121. package/es/theme/index.less +205 -0
  122. package/es/theme/src/components/header/components/logo.d.ts +22 -0
  123. package/es/theme/src/components/header/components/size.d.ts +5 -5
  124. package/es/theme/src/components/header/helper/menu-tree.d.ts +1 -0
  125. package/es/theme/src/components/header/index.d.ts +92 -5
  126. package/es/theme/src/components/header/multiple-header.d.ts +94 -7
  127. package/es/theme/src/components/sider/components/drag-bar.d.ts +1 -1
  128. package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -1
  129. package/es/theme/src/components/sider/index.d.ts +169 -3
  130. package/es/theme/src/components/sider/mix-sider.d.ts +168 -0
  131. package/es/theme/src/enums/theme.enum.d.ts +2 -1
  132. package/es/theme/src/hooks/useMenu.d.ts +5 -3
  133. package/es/theme/src/hooks/useMultifyTab.d.ts +1 -0
  134. package/es/theme/src/index.d.ts +356 -15
  135. package/es/theme/src/stores/theme.store.d.ts +3 -0
  136. package/es/theme/src/types/theme.type.d.ts +2 -0
  137. package/index.d.ts +2 -1
  138. package/index.js +6 -2
  139. package/package.json +4 -4
  140. package/tsconfig.json +1 -0
  141. package/vite.config.ts +1 -0
@@ -8,6 +8,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
8
8
  getSplit: import("vue").ComputedRef<boolean>;
9
9
  getShowMenu: import("vue").ComputedRef<boolean>;
10
10
  getShowSidebar: import("vue").ComputedRef<boolean>;
11
+ getIsMixSidebar: import("vue").ComputedRef<boolean>;
11
12
  getFooter: import("vue").ComputedRef<import("./types/theme.type").FooterOptions>;
12
13
  getShowFooter: import("vue").ComputedRef<any>;
13
14
  height: any;
@@ -51,10 +52,75 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
51
52
  getShowTopMenu: import("vue").ComputedRef<boolean>;
52
53
  getShowSearch: import("vue").ComputedRef<boolean>;
53
54
  getShowUiSize: import("vue").ComputedRef<boolean>;
55
+ getShowMultipleTab: import("vue").ComputedRef<boolean>;
56
+ getMultipleTabPosIsTop: import("vue").ComputedRef<boolean>;
54
57
  getSplitType: import("vue").ComputedRef<import("./enums").MenuSplitTye.NONE | import("./enums").MenuSplitTye.TOP>;
55
58
  getMenuMode: import("vue").ComputedRef<import("./enums").MenuMode>;
59
+ getShowTab: import("vue").ComputedRef<boolean>;
56
60
  props: any;
57
61
  getHeaderCls: import("vue").ComputedRef<string>;
62
+ MultipleTabs: import("vue").DefineComponent<{}, {
63
+ t: {
64
+ (key: string): string;
65
+ (key: string, locale: string): string;
66
+ (key: string, locale: string, list: unknown[]): string;
67
+ (key: string, locale: string, named: Record<string, unknown>): string;
68
+ (key: string, list: unknown[]): string;
69
+ (key: string, named: Record<string, unknown>): string;
70
+ };
71
+ router: import("vue-router").Router;
72
+ go: (path: string, isReplace?: boolean) => void;
73
+ tabStore: import("pinia").Store<"route-reuse", import("./stores/routeReuse.store").RouteReuseState, {
74
+ getTabList(): import("vue-router").RouteLocationNormalized[];
75
+ getCachedTabList(): string[];
76
+ getLastDragEndIndex(): number;
77
+ }, {
78
+ addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
79
+ closeTab(path: string, router: import("vue-router").Router): void;
80
+ closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
81
+ closeLeftTabs(path: string): void;
82
+ closeRightTabs(path: string): void;
83
+ closeOtherTabs(path: string): void;
84
+ bulkCloseTabs(pathList: string[]): void;
85
+ updateCacheTab(): void;
86
+ refreshPage(router: import("vue-router").Router): Promise<void>;
87
+ sortTabs(oldIndex: number, newIndex: number): void;
88
+ }>;
89
+ getShowQuick: import("vue").ComputedRef<boolean>;
90
+ getShowRedo: import("vue").ComputedRef<boolean>;
91
+ menuLabelMap: Map<any, any>;
92
+ activeKeyRef: any;
93
+ getTabsState: import("vue").ComputedRef<import("vue-router").RouteLocationNormalized[]>;
94
+ unClose: import("vue").ComputedRef<boolean>;
95
+ handleChange: (activeKey: string) => void;
96
+ handleEdit: (targetKey: string) => void;
97
+ affixTextList: string[];
98
+ readonly DtTabRedo: import("vue").DefineComponent<{}, {
99
+ tabStore: import("pinia").Store<"route-reuse", import("./stores/routeReuse.store").RouteReuseState, {
100
+ getTabList(): import("vue-router").RouteLocationNormalized[];
101
+ getCachedTabList(): string[];
102
+ getLastDragEndIndex(): number;
103
+ }, {
104
+ addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
105
+ closeTab(path: string, router: import("vue-router").Router): void;
106
+ closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
107
+ closeLeftTabs(path: string): void;
108
+ closeRightTabs(path: string): void;
109
+ closeOtherTabs(path: string): void;
110
+ bulkCloseTabs(pathList: string[]): void;
111
+ updateCacheTab(): void;
112
+ refreshPage(router: import("vue-router").Router): Promise<void>;
113
+ sortTabs(oldIndex: number, newIndex: number): void;
114
+ }>;
115
+ router: import("vue-router").Router;
116
+ handleRedo: () => void;
117
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
118
+ readonly DtTabContent: import("vue").DefineComponent<{}, {
119
+ getDropMenuList: import("vue").ComputedRef<import("./components/tabs/types/tabs.type").DropMenu[]>;
120
+ handleContext: (e: any) => void;
121
+ handleMenuEvent: (item: import("./components/tabs/types/tabs.type").DropMenu) => void;
122
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
123
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
58
124
  readonly DtFullScreen: import("vue").DefineComponent<{}, {
59
125
  toggle: () => Promise<void>;
60
126
  isFullscreen: import("vue").Ref<boolean>;
@@ -77,10 +143,32 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
77
143
  (key: string, list: unknown[]): string;
78
144
  (key: string, named: Record<string, unknown>): string;
79
145
  };
146
+ slots: {
147
+ [name: string]: import("vue").Slot;
148
+ };
80
149
  title: string;
81
150
  getLogoWidth: import("vue").ComputedRef<string | number>;
82
151
  props: any;
83
152
  getLogoClass: import("vue").ComputedRef<string>;
153
+ readonly DtSlotContainer: import("../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
154
+ template: {
155
+ type: FunctionConstructor;
156
+ };
157
+ data: {
158
+ type: ObjectConstructor;
159
+ };
160
+ }, {
161
+ props: any;
162
+ Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
163
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
164
+ template: {
165
+ type: FunctionConstructor;
166
+ };
167
+ data: {
168
+ type: ObjectConstructor;
169
+ };
170
+ }>>, {}>>;
171
+ readonly logoUrl: string;
84
172
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
85
173
  theme: {
86
174
  type: StringConstructor;
@@ -259,8 +347,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
259
347
  $slots: Readonly<{
260
348
  [name: string]: import("vue").Slot;
261
349
  }>;
262
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
263
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
350
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
351
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
264
352
  $emit: (event: string, ...args: any[]) => void;
265
353
  $el: any;
266
354
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -320,7 +408,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
320
408
  destroyTooltipOnHide: boolean;
321
409
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
322
410
  arrowPointAtCenter: boolean;
323
- }, {}, string> & {
411
+ }> & {
324
412
  beforeCreate?: (() => void) | (() => void)[];
325
413
  created?: (() => void) | (() => void)[];
326
414
  beforeMount?: (() => void) | (() => void)[];
@@ -335,7 +423,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
335
423
  unmounted?: (() => void) | (() => void)[];
336
424
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
337
425
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
338
- 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)[];
426
+ 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)[];
339
427
  };
340
428
  $forceUpdate: () => void;
341
429
  $nextTick: typeof import("vue").nextTick;
@@ -449,7 +537,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
449
537
  destroyTooltipOnHide: boolean;
450
538
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
451
539
  arrowPointAtCenter: boolean;
452
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
540
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
453
541
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
454
542
  readonly DtUserInfo: import("vue").DefineComponent<{}, {
455
543
  t: {
@@ -736,11 +824,12 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
736
824
  getMenuFixed: import("vue").ComputedRef<boolean>;
737
825
  getSplit: import("vue").ComputedRef<boolean>;
738
826
  getMenuHidden: import("vue").ComputedRef<boolean>;
739
- getMenuWidth: import("vue").ComputedRef<string | number>;
827
+ getMenuWidth: import("vue").ComputedRef<number>;
740
828
  getCollapsed: import("vue").ComputedRef<boolean>;
741
829
  getMenuTheme: import("vue").ComputedRef<import("./enums").Theme>;
742
- getRealWidth: import("vue").ComputedRef<string | number>;
830
+ getRealWidth: import("vue").ComputedRef<number>;
743
831
  getIsMixMode: import("vue").ComputedRef<boolean>;
832
+ getIsMixSidebar: import("vue").ComputedRef<boolean>;
744
833
  getCollapsedWidth: import("vue").ComputedRef<80 | 48 | 0>;
745
834
  onBreakPointChange: (broken: boolean) => void;
746
835
  getTriggerAttr: import("vue").ComputedRef<{
@@ -789,7 +878,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
789
878
  DragBar: import("vue").DefineComponent<{}, {
790
879
  getCollapsed: import("vue").ComputedRef<boolean>;
791
880
  getCanDrag: import("vue").ComputedRef<boolean>;
792
- getMenuWidth: import("vue").ComputedRef<string | number>;
881
+ getMenuWidth: import("vue").ComputedRef<number>;
793
882
  getDragBarStyle: import("vue").ComputedRef<{
794
883
  left: string;
795
884
  } | {
@@ -799,19 +888,184 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
799
888
  'dt-darg-bar--hide': boolean;
800
889
  })[]>;
801
890
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
891
+ MixSider: import("vue").DefineComponent<{}, {
892
+ MENU_WIDTH: number;
893
+ go: (path: string, isReplace?: boolean) => void;
894
+ getMenuWidth: import("vue").ComputedRef<number>;
895
+ getMenuTheme: import("vue").ComputedRef<import("./enums").Theme>;
896
+ getMixSideTrigger: import("vue").ComputedRef<"hover" | "click">;
897
+ setMixSiderIsHasMenu: (val: boolean) => void;
898
+ menuModules: any;
899
+ activeId: import("vue").Ref<string>;
900
+ subMenus: import("vue").Ref<any[]>;
901
+ getDomStyle: import("vue").ComputedRef<CSSProperties>;
902
+ getWrapStyle: import("vue").ComputedRef<CSSProperties>;
903
+ getSubMenuStyle: import("vue").ComputedRef<CSSProperties>;
904
+ setDomWidth: (width: string) => {
905
+ width: string;
906
+ minWidth: string;
907
+ maxWidth: string;
908
+ flex: string;
909
+ transition: string;
910
+ };
911
+ getMenuEvents: {
912
+ onMouseleave: () => void;
913
+ };
914
+ getItemEvents: (item: import("@dt-frames/core").Menus) => {
915
+ onMouseenter: () => void;
916
+ onClick: () => void;
917
+ } | {
918
+ onClick: () => void;
919
+ onMouseenter?: undefined;
920
+ };
921
+ currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>;
922
+ setActive: (path: string) => void;
923
+ handleModuleClick: (path: string, isHover?: boolean) => void;
924
+ DtLogo: import("vue").DefineComponent<{
925
+ theme: {
926
+ type: StringConstructor;
927
+ validator: (v: string) => boolean;
928
+ };
929
+ showTitle: {
930
+ type: BooleanConstructor;
931
+ default: boolean;
932
+ };
933
+ }, {
934
+ t: {
935
+ (key: string): string;
936
+ (key: string, locale: string): string;
937
+ (key: string, locale: string, list: unknown[]): string;
938
+ (key: string, locale: string, named: Record<string, unknown>): string;
939
+ (key: string, list: unknown[]): string;
940
+ (key: string, named: Record<string, unknown>): string;
941
+ };
942
+ slots: {
943
+ [name: string]: import("vue").Slot;
944
+ };
945
+ title: string;
946
+ getLogoWidth: import("vue").ComputedRef<string | number>;
947
+ props: any;
948
+ getLogoClass: import("vue").ComputedRef<string>;
949
+ readonly DtSlotContainer: import("../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
950
+ template: {
951
+ type: FunctionConstructor;
952
+ };
953
+ data: {
954
+ type: ObjectConstructor;
955
+ };
956
+ }, {
957
+ props: any;
958
+ Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
959
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
960
+ template: {
961
+ type: FunctionConstructor;
962
+ };
963
+ data: {
964
+ type: ObjectConstructor;
965
+ };
966
+ }>>, {}>>;
967
+ readonly logoUrl: string;
968
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
969
+ theme: {
970
+ type: StringConstructor;
971
+ validator: (v: string) => boolean;
972
+ };
973
+ showTitle: {
974
+ type: BooleanConstructor;
975
+ default: boolean;
976
+ };
977
+ }>>, {
978
+ showTitle: boolean;
979
+ }>;
980
+ readonly DtScrollContainer: import("../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{}, {
981
+ scrollbarRef: any;
982
+ scrollTo: (to: number, duration?: number) => void;
983
+ getScrollWrap: () => any;
984
+ scrollBottom: () => void;
985
+ ScrollBar: import("vue").DefineComponent<{
986
+ wrapClass: {
987
+ type: (StringConstructor | ArrayConstructor)[];
988
+ default: string;
989
+ };
990
+ wrapStyle: ArrayConstructor;
991
+ viewClass: {
992
+ type: (StringConstructor | ArrayConstructor)[];
993
+ default: string;
994
+ };
995
+ viewStyle: {
996
+ type: (StringConstructor | ArrayConstructor)[];
997
+ default: string;
998
+ };
999
+ noresize: BooleanConstructor;
1000
+ tag: {
1001
+ type: StringConstructor;
1002
+ default: string;
1003
+ };
1004
+ }, {
1005
+ sizeWidth: import("vue").Ref<string>;
1006
+ sizeHeight: import("vue").Ref<string>;
1007
+ moveX: import("vue").Ref<number>;
1008
+ moveY: import("vue").Ref<number>;
1009
+ wrap: import("vue").Ref<any>;
1010
+ resize: import("vue").Ref<any>;
1011
+ props: any;
1012
+ style: import("vue").ComputedRef<{}>;
1013
+ handleScroll: () => void;
1014
+ update: () => void;
1015
+ readonly Bar: import("vue").DefineComponent<{
1016
+ vertical: BooleanConstructor;
1017
+ size: StringConstructor;
1018
+ move: NumberConstructor;
1019
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1020
+ [key: string]: any;
1021
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1022
+ vertical: BooleanConstructor;
1023
+ size: StringConstructor;
1024
+ move: NumberConstructor;
1025
+ }>>, {
1026
+ vertical: boolean;
1027
+ }>;
1028
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1029
+ wrapClass: {
1030
+ type: (StringConstructor | ArrayConstructor)[];
1031
+ default: string;
1032
+ };
1033
+ wrapStyle: ArrayConstructor;
1034
+ viewClass: {
1035
+ type: (StringConstructor | ArrayConstructor)[];
1036
+ default: string;
1037
+ };
1038
+ viewStyle: {
1039
+ type: (StringConstructor | ArrayConstructor)[];
1040
+ default: string;
1041
+ };
1042
+ noresize: BooleanConstructor;
1043
+ tag: {
1044
+ type: StringConstructor;
1045
+ default: string;
1046
+ };
1047
+ }>>, {
1048
+ wrapClass: string | unknown[];
1049
+ viewClass: string | unknown[];
1050
+ viewStyle: string | unknown[];
1051
+ noresize: boolean;
1052
+ tag: string;
1053
+ }>;
1054
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
1055
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
802
1056
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
803
1057
  LayoutMultipleHeader: import("vue").DefineComponent<{}, {
804
1058
  getHeaderHeight: import("vue").ComputedRef<number>;
805
1059
  getFixed: import("vue").ComputedRef<boolean>;
806
1060
  getShowFullHeaderRef: import("vue").ComputedRef<boolean>;
807
- getHeaderTheme: import("vue").ComputedRef<import("./enums").Theme>;
808
1061
  getShowInsetHeaderRef: import("vue").ComputedRef<boolean>;
809
1062
  getTabsHeight: import("vue").ComputedRef<number>;
810
1063
  getCalcContentWidth: import("vue").ComputedRef<string>;
811
1064
  getIsMixMode: import("vue").ComputedRef<boolean>;
812
- getIsTopMenu: import("vue").ComputedRef<boolean>;
813
1065
  getSplit: import("vue").ComputedRef<boolean>;
1066
+ getIsMixSidebar: import("vue").ComputedRef<boolean>;
814
1067
  getShowMultipleTab: import("vue").ComputedRef<boolean>;
1068
+ getMultipleTabPosIsTop: import("vue").ComputedRef<boolean>;
815
1069
  getPlaceholderDomStyle: import("vue").ComputedRef<{
816
1070
  height: string;
817
1071
  }>;
@@ -838,10 +1092,75 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
838
1092
  getShowTopMenu: import("vue").ComputedRef<boolean>;
839
1093
  getShowSearch: import("vue").ComputedRef<boolean>;
840
1094
  getShowUiSize: import("vue").ComputedRef<boolean>;
1095
+ getShowMultipleTab: import("vue").ComputedRef<boolean>;
1096
+ getMultipleTabPosIsTop: import("vue").ComputedRef<boolean>;
841
1097
  getSplitType: import("vue").ComputedRef<import("./enums").MenuSplitTye.NONE | import("./enums").MenuSplitTye.TOP>;
842
1098
  getMenuMode: import("vue").ComputedRef<import("./enums").MenuMode>;
1099
+ getShowTab: import("vue").ComputedRef<boolean>;
843
1100
  props: any;
844
1101
  getHeaderCls: import("vue").ComputedRef<string>;
1102
+ MultipleTabs: import("vue").DefineComponent<{}, {
1103
+ t: {
1104
+ (key: string): string;
1105
+ (key: string, locale: string): string;
1106
+ (key: string, locale: string, list: unknown[]): string;
1107
+ (key: string, locale: string, named: Record<string, unknown>): string;
1108
+ (key: string, list: unknown[]): string;
1109
+ (key: string, named: Record<string, unknown>): string;
1110
+ };
1111
+ router: import("vue-router").Router;
1112
+ go: (path: string, isReplace?: boolean) => void;
1113
+ tabStore: import("pinia").Store<"route-reuse", import("./stores/routeReuse.store").RouteReuseState, {
1114
+ getTabList(): import("vue-router").RouteLocationNormalized[];
1115
+ getCachedTabList(): string[];
1116
+ getLastDragEndIndex(): number;
1117
+ }, {
1118
+ addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
1119
+ closeTab(path: string, router: import("vue-router").Router): void;
1120
+ closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
1121
+ closeLeftTabs(path: string): void;
1122
+ closeRightTabs(path: string): void;
1123
+ closeOtherTabs(path: string): void;
1124
+ bulkCloseTabs(pathList: string[]): void;
1125
+ updateCacheTab(): void;
1126
+ refreshPage(router: import("vue-router").Router): Promise<void>;
1127
+ sortTabs(oldIndex: number, newIndex: number): void;
1128
+ }>;
1129
+ getShowQuick: import("vue").ComputedRef<boolean>;
1130
+ getShowRedo: import("vue").ComputedRef<boolean>;
1131
+ menuLabelMap: Map<any, any>;
1132
+ activeKeyRef: any;
1133
+ getTabsState: import("vue").ComputedRef<import("vue-router").RouteLocationNormalized[]>;
1134
+ unClose: import("vue").ComputedRef<boolean>;
1135
+ handleChange: (activeKey: string) => void;
1136
+ handleEdit: (targetKey: string) => void;
1137
+ affixTextList: string[];
1138
+ readonly DtTabRedo: import("vue").DefineComponent<{}, {
1139
+ tabStore: import("pinia").Store<"route-reuse", import("./stores/routeReuse.store").RouteReuseState, {
1140
+ getTabList(): import("vue-router").RouteLocationNormalized[];
1141
+ getCachedTabList(): string[];
1142
+ getLastDragEndIndex(): number;
1143
+ }, {
1144
+ addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
1145
+ closeTab(path: string, router: import("vue-router").Router): void;
1146
+ closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
1147
+ closeLeftTabs(path: string): void;
1148
+ closeRightTabs(path: string): void;
1149
+ closeOtherTabs(path: string): void;
1150
+ bulkCloseTabs(pathList: string[]): void;
1151
+ updateCacheTab(): void;
1152
+ refreshPage(router: import("vue-router").Router): Promise<void>;
1153
+ sortTabs(oldIndex: number, newIndex: number): void;
1154
+ }>;
1155
+ router: import("vue-router").Router;
1156
+ handleRedo: () => void;
1157
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1158
+ readonly DtTabContent: import("vue").DefineComponent<{}, {
1159
+ getDropMenuList: import("vue").ComputedRef<import("./components/tabs/types/tabs.type").DropMenu[]>;
1160
+ handleContext: (e: any) => void;
1161
+ handleMenuEvent: (item: import("./components/tabs/types/tabs.type").DropMenu) => void;
1162
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1163
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
845
1164
  readonly DtFullScreen: import("vue").DefineComponent<{}, {
846
1165
  toggle: () => Promise<void>;
847
1166
  isFullscreen: import("vue").Ref<boolean>;
@@ -864,10 +1183,32 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
864
1183
  (key: string, list: unknown[]): string;
865
1184
  (key: string, named: Record<string, unknown>): string;
866
1185
  };
1186
+ slots: {
1187
+ [name: string]: import("vue").Slot;
1188
+ };
867
1189
  title: string;
868
1190
  getLogoWidth: import("vue").ComputedRef<string | number>;
869
1191
  props: any;
870
1192
  getLogoClass: import("vue").ComputedRef<string>;
1193
+ readonly DtSlotContainer: import("../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
1194
+ template: {
1195
+ type: FunctionConstructor;
1196
+ };
1197
+ data: {
1198
+ type: ObjectConstructor;
1199
+ };
1200
+ }, {
1201
+ props: any;
1202
+ Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
1203
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1204
+ template: {
1205
+ type: FunctionConstructor;
1206
+ };
1207
+ data: {
1208
+ type: ObjectConstructor;
1209
+ };
1210
+ }>>, {}>>;
1211
+ readonly logoUrl: string;
871
1212
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
872
1213
  theme: {
873
1214
  type: StringConstructor;
@@ -1046,8 +1387,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
1046
1387
  $slots: Readonly<{
1047
1388
  [name: string]: import("vue").Slot;
1048
1389
  }>;
1049
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
1050
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
1390
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
1391
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
1051
1392
  $emit: (event: string, ...args: any[]) => void;
1052
1393
  $el: any;
1053
1394
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -1107,7 +1448,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
1107
1448
  destroyTooltipOnHide: boolean;
1108
1449
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
1109
1450
  arrowPointAtCenter: boolean;
1110
- }, {}, string> & {
1451
+ }> & {
1111
1452
  beforeCreate?: (() => void) | (() => void)[];
1112
1453
  created?: (() => void) | (() => void)[];
1113
1454
  beforeMount?: (() => void) | (() => void)[];
@@ -1122,7 +1463,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
1122
1463
  unmounted?: (() => void) | (() => void)[];
1123
1464
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1124
1465
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1125
- 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)[];
1466
+ 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)[];
1126
1467
  };
1127
1468
  $forceUpdate: () => void;
1128
1469
  $nextTick: typeof import("vue").nextTick;
@@ -1236,7 +1577,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
1236
1577
  destroyTooltipOnHide: boolean;
1237
1578
  autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
1238
1579
  arrowPointAtCenter: boolean;
1239
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
1580
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
1240
1581
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1241
1582
  readonly DtUserInfo: import("vue").DefineComponent<{}, {
1242
1583
  t: {
@@ -3,6 +3,7 @@ import { ThemeOptions, HeadOptions, MenuOptions, RouteReuseOptions, FooterOption
3
3
  export declare const useThemeStore: import("pinia").StoreDefinition<"dt-theme", {
4
4
  themeConf: ThemeOptions;
5
5
  pageLoading: boolean;
6
+ mixSiderHasSubMenu: boolean;
6
7
  }, {
7
8
  getThemeConf(): ThemeOptions;
8
9
  getHeaderConf(): HeadOptions;
@@ -10,6 +11,8 @@ export declare const useThemeStore: import("pinia").StoreDefinition<"dt-theme",
10
11
  getFooterConf(): FooterOptions | VNode;
11
12
  getRouteReuseConf(): RouteReuseOptions;
12
13
  getPageLoading(): boolean;
14
+ getMixSiderIsHasMenu(): boolean;
13
15
  }, {
14
16
  setThemeConf(options?: ThemeOptions): void;
17
+ setMixSiderIsHasMenu(val: boolean): void;
15
18
  }>;
@@ -32,6 +32,7 @@ declare type MenuOptions = {
32
32
  trigger?: boolean;
33
33
  type?: MenuType;
34
34
  mode?: MenuMode;
35
+ mixSideTrigger?: 'hover' | 'click';
35
36
  };
36
37
  declare type FooterOptions = {
37
38
  show?: boolean;
@@ -41,6 +42,7 @@ declare type FooterOptions = {
41
42
  };
42
43
  declare type RouteReuseOptions = {
43
44
  show?: boolean;
45
+ position?: 'top' | 'normal';
44
46
  cache?: boolean;
45
47
  canDrag?: boolean;
46
48
  showQuick?: boolean;
package/index.d.ts CHANGED
@@ -7,4 +7,5 @@ export * from './es/components/source/index.d'
7
7
  export * from './es/components/form/index.d'
8
8
  export * from './es/components/curd/index.d'
9
9
  export * from './es/components/table/index.d'
10
- export * from './es/components/drawer/index.d'
10
+ export * from './es/components/drawer/index.d'
11
+ export * from './es/components/tree/index.d'
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { DtTheme, uiLang, useThemeStore, useRouteReuseStore, defaultThemeConf } from './es/theme/index'
1
+ import { DtTheme, uiLang, useThemeStore, useRouteReuseStore, defaultThemeConf, UiSize, ContentMode } from './es/theme/index'
2
2
  import { DtIcon, DtPickIcon } from './es/components/icons/index'
3
3
  import { DtScrollContainer } from './es/components/container/index'
4
4
  import { initDirectives } from './es/directives/index'
@@ -8,8 +8,11 @@ import { DtTable, useTable } from './es/components/table/index'
8
8
  import { useSource } from './es/components/source/index'
9
9
  import { useCurd } from './es/components/curd/index'
10
10
  import { DtDrawer, useDrawer, useDrawerOut } from './es/components/drawer/index'
11
+ import { DtTree } from './es/components/tree/index'
11
12
 
12
13
  export {
14
+ UiSize,
15
+ ContentMode,
13
16
  uiLang,
14
17
  initDirectives,
15
18
  useThemeStore,
@@ -30,5 +33,6 @@ export {
30
33
  useCurd,
31
34
  DtDrawer,
32
35
  useDrawer,
33
- useDrawerOut
36
+ useDrawerOut,
37
+ DtTree
34
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dt-frames/ui",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./src/index.ts",
@@ -40,19 +40,19 @@
40
40
  "dev:icons": "pnpm dev -f icons",
41
41
  "build:icons": "pnpm temp -f icons",
42
42
  "build:container": "pnpm temp -f container",
43
+ "dev:tree": "pnpm dev -f tree",
44
+ "build:tree": "pnpm temp -f tree",
43
45
  "dev:directives": "pnpm dev -f directives",
44
46
  "build:directives": "pnpm temp -f directives",
45
- "build:all": "npm-run-all clean -s temp build:icons build:directives build:container build:theme build:modal build:form build:table build:source build:curd build:drawer",
47
+ "build:all": "npm-run-all clean -s temp build:icons build:directives build:container build:theme build:modal build:form build:table build:source build:curd build:drawer build:tree",
46
48
  "preview": "vite preview"
47
49
  },
48
50
  "dependencies": {
49
- "@dt-frames/core": "workspace:2.0.0",
50
51
  "lodash-es": "^4.17.21",
51
52
  "sortablejs": "^1.15.0",
52
53
  "xlsx": "^0.18.5"
53
54
  },
54
55
  "devDependencies": {
55
- "@dt-frames/plugins": "workspace:2.0.0",
56
56
  "npm-run-all": "^4.1.5",
57
57
  "rimraf": "^3.0.2"
58
58
  }
package/tsconfig.json CHANGED
@@ -10,6 +10,7 @@
10
10
  "sourceMap": false,
11
11
  "declaration": false,
12
12
  "preserveSymlinks": true,
13
+ "allowJs": true,
13
14
  "resolveJsonModule": true,
14
15
  "isolatedModules": true,
15
16
  "removeComments": true,
package/vite.config.ts CHANGED
@@ -12,6 +12,7 @@ const modules = {
12
12
  source: 'components/source/index',
13
13
  curd: 'components/curd/index',
14
14
  drawer: 'components/drawer/index',
15
+ tree: 'components/tree/index',
15
16
  container: 'components/container/index',
16
17
  directives: 'directives/index',
17
18
  }