@dt-frames/ui 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/assets/locales/en.ts +1 -1
- package/es/components/container/index.d.ts +4 -3
- package/es/components/container/index.js +24 -22
- package/es/components/container/src/slot-container.d.ts +5 -3
- package/es/components/curd/index.js +261 -229
- package/es/components/curd/src/components/Curd.d.ts +126 -331
- package/es/components/curd/src/props.d.ts +14 -15
- package/es/components/drawer/index.d.ts +3 -5
- package/es/components/drawer/index.js +55 -54
- package/es/components/drawer/src/components/DrawerHeader.d.ts +1 -3
- package/es/components/drawer/src/index.d.ts +4 -7
- package/es/components/form/index.d.ts +213 -361
- package/es/components/form/index.js +210 -163
- package/es/components/form/index.less +206 -8
- package/es/components/form/src/components/FormButtons.d.ts +3 -3
- package/es/components/form/src/components/FormItem.d.ts +152 -304
- package/es/components/form/src/components/formIcon.d.ts +4 -4
- package/es/components/form/src/components/formInputUseDialog.d.ts +3 -3
- package/es/components/form/src/enums/index.d.ts +1 -1
- package/es/components/form/src/index.d.ts +199 -347
- package/es/components/form/src/props.d.ts +8 -12
- package/es/components/form/src/types/form.type.d.ts +2 -2
- package/es/components/icons/index.d.ts +496 -2
- package/es/components/icons/index.less +5 -0
- package/es/components/icons/src/pick-icon.d.ts +5 -5
- package/es/components/modal/index.js +76 -74
- package/es/components/modal/index.less +10 -0
- package/es/components/modal/src/components/Modal.d.ts +108 -215
- package/es/components/modal/src/components/ModalFooter.d.ts +3 -3
- package/es/components/modal/src/index.d.ts +116 -223
- package/es/components/source/hooks/useSource.d.ts +14 -0
- package/es/components/source/index.js +66 -27
- package/es/components/source/types/source.type.d.ts +4 -8
- package/es/components/table/index.js +452 -820
- package/es/components/table/index.less +50 -14
- package/es/components/table/src/components/TableAction.d.ts +1 -1
- package/es/components/table/src/components/TableHeader.d.ts +109 -216
- package/es/components/table/src/components/TableRender.d.ts +13 -9
- package/es/components/table/src/components/tableSetting/Download.d.ts +107 -214
- package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +107 -214
- package/es/components/table/src/components/tableSetting/index.d.ts +107 -214
- package/es/components/table/src/hooks/useDataSource.d.ts +1 -2
- package/es/components/table/src/hooks/usePagination.d.ts +3 -118
- package/es/components/table/src/index.d.ts +99 -435
- package/es/components/table/src/props.d.ts +19 -74
- package/es/components/table/src/types/actions.type.d.ts +1 -2
- package/es/components/table/src/types/table.type.d.ts +13 -8
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -3240
- package/es/theme/index.js +688 -453
- package/es/theme/index.less +150 -0
- package/es/theme/src/components/header/components/logo.d.ts +0 -1
- package/es/theme/src/components/header/components/notify.d.ts +4 -3
- package/es/theme/src/components/header/components/setting-theme.d.ts +2 -1
- package/es/theme/src/components/header/components/user-info.d.ts +4 -3
- package/es/theme/src/components/header/helper/menu-tree.d.ts +1 -0
- package/es/theme/src/components/header/index.d.ts +8 -7
- package/es/theme/src/components/header/multiple-header.d.ts +22 -25
- package/es/theme/src/components/sider/components/drag-bar.d.ts +1 -1
- package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -1
- package/es/theme/src/components/sider/index.d.ts +147 -3
- package/es/theme/src/components/sider/mix-sider.d.ts +146 -0
- package/es/theme/src/enums/theme.enum.d.ts +2 -1
- package/es/theme/src/hooks/useMenu.d.ts +4 -2
- package/es/theme/src/index.d.ts +166 -23
- package/es/theme/src/stores/theme.store.d.ts +3 -0
- package/es/theme/src/types/theme.type.d.ts +2 -1
- package/package.json +3 -4
- package/vite.config.ts +0 -27
package/es/theme/index.less
CHANGED
|
@@ -191,6 +191,130 @@
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
+
|
|
195
|
+
.dt-mix-sider{
|
|
196
|
+
transition: all 0.2s ease 0s;
|
|
197
|
+
|
|
198
|
+
& > div:first-of-type, & > div:nth-of-type(2) {
|
|
199
|
+
background-color: @menu-bg-color;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&.dark .dt-mix-sider__shallow-menu{
|
|
203
|
+
li{
|
|
204
|
+
color: #ffffffa1;
|
|
205
|
+
transition: all .3s ease;
|
|
206
|
+
|
|
207
|
+
i{
|
|
208
|
+
font-size: 20px;
|
|
209
|
+
}
|
|
210
|
+
p{
|
|
211
|
+
font-size: 12px;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&.active-menu {
|
|
215
|
+
background-color: @menu-sub-bg-color;
|
|
216
|
+
color: #fff;
|
|
217
|
+
&::before{
|
|
218
|
+
position: absolute;
|
|
219
|
+
top: 0;
|
|
220
|
+
left: 0;
|
|
221
|
+
width: 4px;
|
|
222
|
+
height: 100%;
|
|
223
|
+
background-color: @primary-color;
|
|
224
|
+
content: "";
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
&.dark .sub-menu{
|
|
231
|
+
border-right: 1px solid #eaf0fb;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&__sub-shallow-menu{
|
|
235
|
+
padding: 6px 20px 12px 20px;
|
|
236
|
+
& > li{
|
|
237
|
+
|
|
238
|
+
li, .sub-menu{
|
|
239
|
+
line-height: 40px;
|
|
240
|
+
font-size: 13px;
|
|
241
|
+
align-items: center;
|
|
242
|
+
margin: 4px 0 8px -20px;
|
|
243
|
+
width: calc(100% + 40px);
|
|
244
|
+
padding-left: 24px;
|
|
245
|
+
i{
|
|
246
|
+
font-size: 18px;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&.active-menu, &:hover {
|
|
250
|
+
color: @primary-color;
|
|
251
|
+
background-color: @menu-mix-select-bg-color;
|
|
252
|
+
i{
|
|
253
|
+
opacity: 1;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
& > div:not(.sub-menu) {
|
|
259
|
+
border-bottom: 1px solid #eaf0fb;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
&:last-of-type > div{
|
|
263
|
+
border-bottom: none;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
&__animate-enter-active {
|
|
269
|
+
z-index: -1;
|
|
270
|
+
animation: slideLeft 0.2s;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&__animate-leave-active{
|
|
274
|
+
z-index: -1;
|
|
275
|
+
animation: slideLeft 0.2s reverse;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
&-middle{
|
|
280
|
+
.dt-header-action {
|
|
281
|
+
i {
|
|
282
|
+
font-size: 20px;
|
|
283
|
+
}
|
|
284
|
+
span{
|
|
285
|
+
font-size: 13px;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.dt-reuse-tabs .ant-tabs-card > .ant-tabs-nav .ant-tabs-tab span {
|
|
290
|
+
font-size: 13px;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.dt-reuse-tabs .ant-tabs-extra-content i{
|
|
294
|
+
font-size: 16px;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.ant-btn{
|
|
298
|
+
font-size: 13px;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
&-large{
|
|
303
|
+
.dt-sideBar .ant-menu .ant-menu-item, .dt-sideBar .ant-menu .ant-menu-submenu-title {
|
|
304
|
+
height: 48px !important;
|
|
305
|
+
}
|
|
306
|
+
.dt-menu-item span{
|
|
307
|
+
font-size: 14px !important;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.dt-reuse-tabs .ant-tabs-card > .ant-tabs-nav .ant-tabs-tab span {
|
|
311
|
+
font-size: 13px;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.dt-reuse-tabs .ant-tabs-extra-content i{
|
|
315
|
+
font-size: 16px;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
194
318
|
}
|
|
195
319
|
|
|
196
320
|
.dt-menu-item{
|
|
@@ -424,6 +548,22 @@
|
|
|
424
548
|
}
|
|
425
549
|
}
|
|
426
550
|
|
|
551
|
+
&__item--mix-sidebar {
|
|
552
|
+
&::before{
|
|
553
|
+
content: '';
|
|
554
|
+
position: absolute;
|
|
555
|
+
left: 15%;
|
|
556
|
+
top: calc(25% + 1px);
|
|
557
|
+
width: 20%;
|
|
558
|
+
height: 75%;
|
|
559
|
+
background-color: #fff;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.dt-menu-type__item::before {
|
|
563
|
+
width: 15%;
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
|
|
427
567
|
&__item--active {
|
|
428
568
|
border: 2px solid @primary-color;
|
|
429
569
|
}
|
|
@@ -601,3 +741,13 @@
|
|
|
601
741
|
.ant-modal-confirm-body .ant-modal-confirm-content{
|
|
602
742
|
color: #909399;
|
|
603
743
|
}
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
@keyframes slideLeft {
|
|
747
|
+
from {
|
|
748
|
+
transform: translateX(-100%);
|
|
749
|
+
}
|
|
750
|
+
to{
|
|
751
|
+
transform: translateX(0);
|
|
752
|
+
}
|
|
753
|
+
}
|
|
@@ -20,7 +20,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
20
20
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
21
21
|
props: any;
|
|
22
22
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
23
|
-
readonly DtLogo: string;
|
|
24
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
24
|
theme: {
|
|
26
25
|
type: StringConstructor;
|
|
@@ -9,9 +9,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
9
9
|
data: {
|
|
10
10
|
type: ObjectConstructor;
|
|
11
11
|
};
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
}, {
|
|
13
|
+
props: any;
|
|
14
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
16
|
template: {
|
|
16
17
|
type: FunctionConstructor;
|
|
17
18
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { unref } from 'vue';
|
|
1
2
|
import { MenuType } from '../../../../src/enums';
|
|
2
3
|
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
3
4
|
t: {
|
|
@@ -116,7 +117,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
116
117
|
label: string;
|
|
117
118
|
}[];
|
|
118
119
|
}[];
|
|
119
|
-
unref: typeof
|
|
120
|
+
unref: typeof unref;
|
|
120
121
|
DtTSelect: import("vue").DefineComponent<{
|
|
121
122
|
event: {
|
|
122
123
|
type: import("vue").PropType<import("../helper/change-theme").HandlerEnum>;
|
|
@@ -22,9 +22,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
22
22
|
data: {
|
|
23
23
|
type: ObjectConstructor;
|
|
24
24
|
};
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
}, {
|
|
26
|
+
props: any;
|
|
27
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
28
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
29
|
template: {
|
|
29
30
|
type: FunctionConstructor;
|
|
30
31
|
};
|
|
@@ -45,7 +45,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
45
45
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
46
46
|
props: any;
|
|
47
47
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
48
|
-
readonly DtLogo: string;
|
|
49
48
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
49
|
theme: {
|
|
51
50
|
type: StringConstructor;
|
|
@@ -124,9 +123,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
124
123
|
data: {
|
|
125
124
|
type: ObjectConstructor;
|
|
126
125
|
};
|
|
127
|
-
},
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
}, {
|
|
127
|
+
props: any;
|
|
128
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
129
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
130
130
|
template: {
|
|
131
131
|
type: FunctionConstructor;
|
|
132
132
|
};
|
|
@@ -439,9 +439,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
439
439
|
data: {
|
|
440
440
|
type: ObjectConstructor;
|
|
441
441
|
};
|
|
442
|
-
},
|
|
443
|
-
|
|
444
|
-
|
|
442
|
+
}, {
|
|
443
|
+
props: any;
|
|
444
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
445
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
445
446
|
template: {
|
|
446
447
|
type: FunctionConstructor;
|
|
447
448
|
};
|
|
@@ -1,31 +1,27 @@
|
|
|
1
|
-
import { CSSProperties,
|
|
1
|
+
import { CSSProperties, unref } from 'vue';
|
|
2
2
|
import { MenuSplitTye } from '../../../src/enums';
|
|
3
3
|
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
4
4
|
getHeaderHeight: import("vue").ComputedRef<number>;
|
|
5
5
|
getFixed: import("vue").ComputedRef<boolean>;
|
|
6
6
|
getShowFullHeaderRef: import("vue").ComputedRef<boolean>;
|
|
7
|
-
getHeaderTheme: import("vue").ComputedRef<import('../../../src/enums').Theme>;
|
|
8
7
|
getShowInsetHeaderRef: import("vue").ComputedRef<boolean>;
|
|
9
8
|
getTabsHeight: import("vue").ComputedRef<number>;
|
|
10
9
|
getCalcContentWidth: import("vue").ComputedRef<string>;
|
|
11
10
|
getIsMixMode: import("vue").ComputedRef<boolean>;
|
|
12
|
-
getIsTopMenu: import("vue").ComputedRef<boolean>;
|
|
13
11
|
getSplit: import("vue").ComputedRef<boolean>;
|
|
12
|
+
getIsMixSidebar: import("vue").ComputedRef<boolean>;
|
|
14
13
|
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
15
14
|
getPlaceholderDomStyle: import("vue").ComputedRef<{
|
|
16
15
|
height: string;
|
|
17
16
|
}>;
|
|
18
17
|
getSplitType: import("vue").ComputedRef<MenuSplitTye.NONE | MenuSplitTye.LEFT>;
|
|
19
|
-
menusRef: Ref<{
|
|
18
|
+
menusRef: import("vue").Ref<{
|
|
20
19
|
parentPath?: string;
|
|
21
20
|
children?: any[];
|
|
22
21
|
includesPath?: string[];
|
|
23
22
|
}[]>;
|
|
24
23
|
getWrapStyle: import("vue").ComputedRef<CSSProperties>;
|
|
25
|
-
getClass: import("vue").ComputedRef<string
|
|
26
|
-
'dt-multiple-header--fixed': boolean;
|
|
27
|
-
'dt-multiple-header--top-menu': boolean;
|
|
28
|
-
})[]>;
|
|
24
|
+
getClass: import("vue").ComputedRef<string>;
|
|
29
25
|
LayoutHeader: import("vue").DefineComponent<{
|
|
30
26
|
fixed: BooleanConstructor;
|
|
31
27
|
}, {
|
|
@@ -47,7 +43,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
47
43
|
getHeaderCls: import("vue").ComputedRef<string>;
|
|
48
44
|
readonly DtFullScreen: import("vue").DefineComponent<{}, {
|
|
49
45
|
toggle: () => Promise<void>;
|
|
50
|
-
isFullscreen: Ref<boolean>;
|
|
46
|
+
isFullscreen: import("vue").Ref<boolean>;
|
|
51
47
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
52
48
|
readonly DtLogo: import("vue").DefineComponent<{
|
|
53
49
|
theme: {
|
|
@@ -71,7 +67,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
71
67
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
72
68
|
props: any;
|
|
73
69
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
74
|
-
readonly DtLogo: string;
|
|
75
70
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
71
|
theme: {
|
|
77
72
|
type: StringConstructor;
|
|
@@ -95,8 +90,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
95
90
|
}>>, {}>;
|
|
96
91
|
readonly DtBreadCrumb: import("vue").DefineComponent<{}, {
|
|
97
92
|
getIsZH: import("vue").ComputedRef<boolean>;
|
|
98
|
-
routes: Ref<any[]>;
|
|
99
|
-
currentRoute: Ref<import("vue-router").RouteLocationNormalizedLoaded>;
|
|
93
|
+
routes: import("vue").Ref<any[]>;
|
|
94
|
+
currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>;
|
|
100
95
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
101
96
|
readonly DtMenuFilter: import("vue").DefineComponent<{}, {
|
|
102
97
|
t: {
|
|
@@ -107,9 +102,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
107
102
|
(key: string, list: unknown[]): string;
|
|
108
103
|
(key: string, named: Record<string, unknown>): string;
|
|
109
104
|
};
|
|
110
|
-
menuList: Ref<any[]>;
|
|
105
|
+
menuList: import("vue").Ref<any[]>;
|
|
111
106
|
router: import("vue-router").Router;
|
|
112
|
-
filter: Ref<string>;
|
|
107
|
+
filter: import("vue").Ref<string>;
|
|
113
108
|
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
114
109
|
getIsZH: import("vue").ComputedRef<boolean>;
|
|
115
110
|
isUseDef: import("vue").ComputedRef<boolean>;
|
|
@@ -123,7 +118,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
123
118
|
type: BooleanConstructor;
|
|
124
119
|
};
|
|
125
120
|
}, {
|
|
126
|
-
visible: Ref<boolean>;
|
|
121
|
+
visible: import("vue").Ref<boolean>;
|
|
127
122
|
currentLang: any;
|
|
128
123
|
props: any;
|
|
129
124
|
toggleLang: (lang: import("@dt-frames/core").Language) => Promise<void>;
|
|
@@ -150,9 +145,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
150
145
|
data: {
|
|
151
146
|
type: ObjectConstructor;
|
|
152
147
|
};
|
|
153
|
-
},
|
|
154
|
-
|
|
155
|
-
|
|
148
|
+
}, {
|
|
149
|
+
props: any;
|
|
150
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
151
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
156
152
|
template: {
|
|
157
153
|
type: FunctionConstructor;
|
|
158
154
|
};
|
|
@@ -176,7 +172,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
176
172
|
text: string;
|
|
177
173
|
event: import('../../../src/enums').UiSize;
|
|
178
174
|
}[];
|
|
179
|
-
visible: Ref<boolean>;
|
|
175
|
+
visible: import("vue").Ref<boolean>;
|
|
180
176
|
toggleLang: (size: import('../../../src/enums').UiSize) => Promise<void>;
|
|
181
177
|
readonly Popover: {
|
|
182
178
|
new (...args: any[]): {
|
|
@@ -465,9 +461,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
465
461
|
data: {
|
|
466
462
|
type: ObjectConstructor;
|
|
467
463
|
};
|
|
468
|
-
},
|
|
469
|
-
|
|
470
|
-
|
|
464
|
+
}, {
|
|
465
|
+
props: any;
|
|
466
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
467
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
471
468
|
template: {
|
|
472
469
|
type: FunctionConstructor;
|
|
473
470
|
};
|
|
@@ -485,7 +482,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
485
482
|
(key: string, list: unknown[]): string;
|
|
486
483
|
(key: string, named: Record<string, unknown>): string;
|
|
487
484
|
};
|
|
488
|
-
visible: Ref<boolean>;
|
|
485
|
+
visible: import("vue").Ref<boolean>;
|
|
489
486
|
getShowBread: import("vue").ComputedRef<boolean>;
|
|
490
487
|
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
491
488
|
getShowUiSize: import("vue").ComputedRef<boolean>;
|
|
@@ -739,7 +736,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
739
736
|
}, {
|
|
740
737
|
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
741
738
|
closeTab(path: string, router: import("vue-router").Router): void;
|
|
742
|
-
closeAllTab(currentRoute: Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
739
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
743
740
|
closeLeftTabs(path: string): void;
|
|
744
741
|
closeRightTabs(path: string): void;
|
|
745
742
|
closeOtherTabs(path: string): void;
|
|
@@ -765,7 +762,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
765
762
|
}, {
|
|
766
763
|
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
767
764
|
closeTab(path: string, router: import("vue-router").Router): void;
|
|
768
|
-
closeAllTab(currentRoute: Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
765
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
769
766
|
closeLeftTabs(path: string): void;
|
|
770
767
|
closeRightTabs(path: string): void;
|
|
771
768
|
closeOtherTabs(path: string): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
2
|
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
3
3
|
getCanDrag: import("vue").ComputedRef<boolean>;
|
|
4
|
-
getMenuWidth: import("vue").ComputedRef<
|
|
4
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
5
5
|
getDragBarStyle: import("vue").ComputedRef<{
|
|
6
6
|
left: string;
|
|
7
7
|
} | {
|
|
@@ -6,7 +6,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
6
6
|
}, {
|
|
7
7
|
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
8
8
|
toggleCollapsed: () => void;
|
|
9
|
-
props: any;
|
|
10
9
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
10
|
type: {
|
|
12
11
|
type: StringConstructor;
|
|
@@ -3,11 +3,12 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
3
3
|
getMenuFixed: import("vue").ComputedRef<boolean>;
|
|
4
4
|
getSplit: import("vue").ComputedRef<boolean>;
|
|
5
5
|
getMenuHidden: import("vue").ComputedRef<boolean>;
|
|
6
|
-
getMenuWidth: import("vue").ComputedRef<
|
|
6
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
7
7
|
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
8
8
|
getMenuTheme: import("vue").ComputedRef<import('../../../src/enums').Theme>;
|
|
9
|
-
getRealWidth: import("vue").ComputedRef<
|
|
9
|
+
getRealWidth: import("vue").ComputedRef<number>;
|
|
10
10
|
getIsMixMode: import("vue").ComputedRef<boolean>;
|
|
11
|
+
getIsMixSidebar: import("vue").ComputedRef<boolean>;
|
|
11
12
|
getCollapsedWidth: import("vue").ComputedRef<80 | 48 | 0>;
|
|
12
13
|
onBreakPointChange: (broken: boolean) => void;
|
|
13
14
|
getTriggerAttr: import("vue").ComputedRef<{
|
|
@@ -56,7 +57,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
56
57
|
DragBar: import("vue").DefineComponent<{}, {
|
|
57
58
|
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
58
59
|
getCanDrag: import("vue").ComputedRef<boolean>;
|
|
59
|
-
getMenuWidth: import("vue").ComputedRef<
|
|
60
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
60
61
|
getDragBarStyle: import("vue").ComputedRef<{
|
|
61
62
|
left: string;
|
|
62
63
|
} | {
|
|
@@ -66,5 +67,148 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
66
67
|
'dt-darg-bar--hide': boolean;
|
|
67
68
|
})[]>;
|
|
68
69
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
70
|
+
MixSider: import("vue").DefineComponent<{}, {
|
|
71
|
+
MENU_WIDTH: number;
|
|
72
|
+
go: (path: string, isReplace?: boolean) => void;
|
|
73
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
74
|
+
getMenuTheme: import("vue").ComputedRef<import('../../../src/enums').Theme>;
|
|
75
|
+
getMixSideTrigger: import("vue").ComputedRef<"hover" | "click">;
|
|
76
|
+
setMixSiderIsHasMenu: (val: boolean) => void;
|
|
77
|
+
menuModules: any;
|
|
78
|
+
activeId: import("vue").Ref<string>;
|
|
79
|
+
subMenus: import("vue").Ref<any[]>;
|
|
80
|
+
getDomStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
81
|
+
getWrapStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
82
|
+
getSubMenuStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
83
|
+
setDomWidth: (width: string) => {
|
|
84
|
+
width: string;
|
|
85
|
+
minWidth: string;
|
|
86
|
+
maxWidth: string;
|
|
87
|
+
flex: string;
|
|
88
|
+
transition: string;
|
|
89
|
+
};
|
|
90
|
+
getMenuEvents: {
|
|
91
|
+
onMouseleave: () => void;
|
|
92
|
+
};
|
|
93
|
+
getItemEvents: (item: import("@dt-frames/core").Menus) => {
|
|
94
|
+
onMouseenter: () => void;
|
|
95
|
+
onClick: () => void;
|
|
96
|
+
} | {
|
|
97
|
+
onClick: () => void;
|
|
98
|
+
onMouseenter?: undefined;
|
|
99
|
+
};
|
|
100
|
+
currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>;
|
|
101
|
+
setActive: (path: string) => void;
|
|
102
|
+
handleModuleClick: (path: string, isHover?: boolean) => void;
|
|
103
|
+
DtLogo: import("vue").DefineComponent<{
|
|
104
|
+
theme: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
validator: (v: string) => boolean;
|
|
107
|
+
};
|
|
108
|
+
showTitle: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
}, {
|
|
113
|
+
t: {
|
|
114
|
+
(key: string): string;
|
|
115
|
+
(key: string, locale: string): string;
|
|
116
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
117
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
118
|
+
(key: string, list: unknown[]): string;
|
|
119
|
+
(key: string, named: Record<string, unknown>): string;
|
|
120
|
+
};
|
|
121
|
+
title: string;
|
|
122
|
+
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
123
|
+
props: any;
|
|
124
|
+
getLogoClass: import("vue").ComputedRef<string>;
|
|
125
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
126
|
+
theme: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
validator: (v: string) => boolean;
|
|
129
|
+
};
|
|
130
|
+
showTitle: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
}>>, {
|
|
135
|
+
showTitle: boolean;
|
|
136
|
+
}>;
|
|
137
|
+
readonly DtScrollContainer: import("../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
138
|
+
scrollbarRef: any;
|
|
139
|
+
scrollTo: (to: number, duration?: number) => void;
|
|
140
|
+
getScrollWrap: () => any;
|
|
141
|
+
scrollBottom: () => void;
|
|
142
|
+
ScrollBar: import("vue").DefineComponent<{
|
|
143
|
+
wrapClass: {
|
|
144
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
wrapStyle: ArrayConstructor;
|
|
148
|
+
viewClass: {
|
|
149
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
viewStyle: {
|
|
153
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
154
|
+
default: string;
|
|
155
|
+
};
|
|
156
|
+
noresize: BooleanConstructor;
|
|
157
|
+
tag: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
}, {
|
|
162
|
+
sizeWidth: import("vue").Ref<string>;
|
|
163
|
+
sizeHeight: import("vue").Ref<string>;
|
|
164
|
+
moveX: import("vue").Ref<number>;
|
|
165
|
+
moveY: import("vue").Ref<number>;
|
|
166
|
+
wrap: import("vue").Ref<any>;
|
|
167
|
+
resize: import("vue").Ref<any>;
|
|
168
|
+
props: any;
|
|
169
|
+
style: import("vue").ComputedRef<{}>;
|
|
170
|
+
handleScroll: () => void;
|
|
171
|
+
update: () => void;
|
|
172
|
+
readonly Bar: import("vue").DefineComponent<{
|
|
173
|
+
vertical: BooleanConstructor;
|
|
174
|
+
size: StringConstructor;
|
|
175
|
+
move: NumberConstructor;
|
|
176
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
177
|
+
[key: string]: any;
|
|
178
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
179
|
+
vertical: BooleanConstructor;
|
|
180
|
+
size: StringConstructor;
|
|
181
|
+
move: NumberConstructor;
|
|
182
|
+
}>>, {
|
|
183
|
+
vertical: boolean;
|
|
184
|
+
}>;
|
|
185
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
186
|
+
wrapClass: {
|
|
187
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
188
|
+
default: string;
|
|
189
|
+
};
|
|
190
|
+
wrapStyle: ArrayConstructor;
|
|
191
|
+
viewClass: {
|
|
192
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
193
|
+
default: string;
|
|
194
|
+
};
|
|
195
|
+
viewStyle: {
|
|
196
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
197
|
+
default: string;
|
|
198
|
+
};
|
|
199
|
+
noresize: BooleanConstructor;
|
|
200
|
+
tag: {
|
|
201
|
+
type: StringConstructor;
|
|
202
|
+
default: string;
|
|
203
|
+
};
|
|
204
|
+
}>>, {
|
|
205
|
+
wrapClass: string | unknown[];
|
|
206
|
+
viewClass: string | unknown[];
|
|
207
|
+
viewStyle: string | unknown[];
|
|
208
|
+
noresize: boolean;
|
|
209
|
+
tag: string;
|
|
210
|
+
}>;
|
|
211
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
212
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
69
213
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
70
214
|
export default _sfc_main;
|