@dt-frames/ui 2.0.2 → 2.0.3
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/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 +304 -282
- 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 +2 -4
- package/es/components/drawer/index.js +64 -63
- package/es/components/drawer/src/components/DrawerHeader.d.ts +1 -3
- package/es/components/drawer/src/index.d.ts +2 -4
- package/es/components/form/index.d.ts +196 -344
- package/es/components/form/index.js +140 -139
- package/es/components/form/src/components/FormButtons.d.ts +3 -3
- package/es/components/form/src/components/FormItem.d.ts +156 -304
- package/es/components/form/src/components/formIcon.d.ts +10 -10
- package/es/components/form/src/components/formInputUseDialog.d.ts +5 -5
- package/es/components/form/src/index.d.ts +186 -334
- package/es/components/form/src/props.d.ts +7 -7
- package/es/components/form/src/types/form.type.d.ts +1 -1
- package/es/components/icons/index.d.ts +496 -2
- package/es/components/icons/src/pick-icon.d.ts +5 -5
- package/es/components/modal/index.js +87 -86
- package/es/components/modal/src/components/Modal.d.ts +108 -215
- package/es/components/modal/src/index.d.ts +107 -214
- package/es/components/source/index.js +1 -0
- package/es/components/table/index.js +357 -788
- package/es/components/table/index.less +9 -0
- 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 +79 -425
- package/es/components/table/src/props.d.ts +11 -70
- package/es/components/table/src/types/actions.type.d.ts +1 -2
- package/es/components/table/src/types/table.type.d.ts +9 -3
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -3240
- package/es/theme/index.js +406 -393
- 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/size.d.ts +5 -5
- package/es/theme/src/components/header/components/user-info.d.ts +4 -3
- package/es/theme/src/components/header/index.d.ts +13 -12
- package/es/theme/src/components/header/multiple-header.d.ts +26 -28
- package/es/theme/src/hooks/useMenu.d.ts +1 -1
- package/es/theme/src/index.d.ts +27 -28
- package/es/theme/src/types/theme.type.d.ts +1 -1
- package/package.json +3 -2
- package/vite.config.ts +0 -27
|
@@ -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>;
|
|
@@ -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, {}
|
|
91
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
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>, {}>;
|
|
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
|
-
}> & {
|
|
151
|
+
}, {}, string> & {
|
|
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, {}
|
|
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)[];
|
|
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
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
280
|
+
}, {}, string> & 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;
|
|
@@ -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
|
};
|
|
@@ -223,8 +223,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
223
223
|
$slots: Readonly<{
|
|
224
224
|
[name: string]: import("vue").Slot;
|
|
225
225
|
}>;
|
|
226
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
227
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
226
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
227
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
228
228
|
$emit: (event: string, ...args: any[]) => void;
|
|
229
229
|
$el: any;
|
|
230
230
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -284,7 +284,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
284
284
|
destroyTooltipOnHide: boolean;
|
|
285
285
|
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
286
286
|
arrowPointAtCenter: boolean;
|
|
287
|
-
}> & {
|
|
287
|
+
}, {}, string> & {
|
|
288
288
|
beforeCreate?: (() => void) | (() => void)[];
|
|
289
289
|
created?: (() => void) | (() => void)[];
|
|
290
290
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -299,7 +299,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
299
299
|
unmounted?: (() => void) | (() => void)[];
|
|
300
300
|
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
301
301
|
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
302
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
302
|
+
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)[];
|
|
303
303
|
};
|
|
304
304
|
$forceUpdate: () => void;
|
|
305
305
|
$nextTick: typeof import("vue").nextTick;
|
|
@@ -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
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
416
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
417
417
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
418
418
|
readonly DtUserInfo: import("vue").DefineComponent<{}, {
|
|
419
419
|
t: {
|
|
@@ -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,4 +1,4 @@
|
|
|
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>;
|
|
@@ -16,16 +16,13 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
16
16
|
height: string;
|
|
17
17
|
}>;
|
|
18
18
|
getSplitType: import("vue").ComputedRef<MenuSplitTye.NONE | MenuSplitTye.LEFT>;
|
|
19
|
-
menusRef: Ref<{
|
|
19
|
+
menusRef: import("vue").Ref<{
|
|
20
20
|
parentPath?: string;
|
|
21
21
|
children?: any[];
|
|
22
22
|
includesPath?: string[];
|
|
23
23
|
}[]>;
|
|
24
24
|
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
|
-
})[]>;
|
|
25
|
+
getClass: import("vue").ComputedRef<string>;
|
|
29
26
|
LayoutHeader: import("vue").DefineComponent<{
|
|
30
27
|
fixed: BooleanConstructor;
|
|
31
28
|
}, {
|
|
@@ -47,7 +44,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
47
44
|
getHeaderCls: import("vue").ComputedRef<string>;
|
|
48
45
|
readonly DtFullScreen: import("vue").DefineComponent<{}, {
|
|
49
46
|
toggle: () => Promise<void>;
|
|
50
|
-
isFullscreen: Ref<boolean>;
|
|
47
|
+
isFullscreen: import("vue").Ref<boolean>;
|
|
51
48
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
52
49
|
readonly DtLogo: import("vue").DefineComponent<{
|
|
53
50
|
theme: {
|
|
@@ -71,7 +68,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
71
68
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
72
69
|
props: any;
|
|
73
70
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
74
|
-
readonly DtLogo: string;
|
|
75
71
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
72
|
theme: {
|
|
77
73
|
type: StringConstructor;
|
|
@@ -95,8 +91,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
95
91
|
}>>, {}>;
|
|
96
92
|
readonly DtBreadCrumb: import("vue").DefineComponent<{}, {
|
|
97
93
|
getIsZH: import("vue").ComputedRef<boolean>;
|
|
98
|
-
routes: Ref<any[]>;
|
|
99
|
-
currentRoute: Ref<import("vue-router").RouteLocationNormalizedLoaded>;
|
|
94
|
+
routes: import("vue").Ref<any[]>;
|
|
95
|
+
currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>;
|
|
100
96
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
101
97
|
readonly DtMenuFilter: import("vue").DefineComponent<{}, {
|
|
102
98
|
t: {
|
|
@@ -107,9 +103,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
107
103
|
(key: string, list: unknown[]): string;
|
|
108
104
|
(key: string, named: Record<string, unknown>): string;
|
|
109
105
|
};
|
|
110
|
-
menuList: Ref<any[]>;
|
|
106
|
+
menuList: import("vue").Ref<any[]>;
|
|
111
107
|
router: import("vue-router").Router;
|
|
112
|
-
filter: Ref<string>;
|
|
108
|
+
filter: import("vue").Ref<string>;
|
|
113
109
|
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
114
110
|
getIsZH: import("vue").ComputedRef<boolean>;
|
|
115
111
|
isUseDef: import("vue").ComputedRef<boolean>;
|
|
@@ -123,7 +119,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
123
119
|
type: BooleanConstructor;
|
|
124
120
|
};
|
|
125
121
|
}, {
|
|
126
|
-
visible: Ref<boolean>;
|
|
122
|
+
visible: import("vue").Ref<boolean>;
|
|
127
123
|
currentLang: any;
|
|
128
124
|
props: any;
|
|
129
125
|
toggleLang: (lang: import("@dt-frames/core").Language) => Promise<void>;
|
|
@@ -150,9 +146,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
150
146
|
data: {
|
|
151
147
|
type: ObjectConstructor;
|
|
152
148
|
};
|
|
153
|
-
},
|
|
154
|
-
|
|
155
|
-
|
|
149
|
+
}, {
|
|
150
|
+
props: any;
|
|
151
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
152
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
156
153
|
template: {
|
|
157
154
|
type: FunctionConstructor;
|
|
158
155
|
};
|
|
@@ -176,7 +173,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
176
173
|
text: string;
|
|
177
174
|
event: import('../../../src/enums').UiSize;
|
|
178
175
|
}[];
|
|
179
|
-
visible: Ref<boolean>;
|
|
176
|
+
visible: import("vue").Ref<boolean>;
|
|
180
177
|
toggleLang: (size: import('../../../src/enums').UiSize) => Promise<void>;
|
|
181
178
|
readonly Popover: {
|
|
182
179
|
new (...args: any[]): {
|
|
@@ -249,8 +246,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
249
246
|
$slots: Readonly<{
|
|
250
247
|
[name: string]: import("vue").Slot;
|
|
251
248
|
}>;
|
|
252
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
253
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
249
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
250
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
254
251
|
$emit: (event: string, ...args: any[]) => void;
|
|
255
252
|
$el: any;
|
|
256
253
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -310,7 +307,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
310
307
|
destroyTooltipOnHide: boolean;
|
|
311
308
|
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
312
309
|
arrowPointAtCenter: boolean;
|
|
313
|
-
}> & {
|
|
310
|
+
}, {}, string> & {
|
|
314
311
|
beforeCreate?: (() => void) | (() => void)[];
|
|
315
312
|
created?: (() => void) | (() => void)[];
|
|
316
313
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -325,7 +322,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
325
322
|
unmounted?: (() => void) | (() => void)[];
|
|
326
323
|
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
327
324
|
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
328
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
325
|
+
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)[];
|
|
329
326
|
};
|
|
330
327
|
$forceUpdate: () => void;
|
|
331
328
|
$nextTick: typeof import("vue").nextTick;
|
|
@@ -439,7 +436,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
439
436
|
destroyTooltipOnHide: boolean;
|
|
440
437
|
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
441
438
|
arrowPointAtCenter: boolean;
|
|
442
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
439
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
443
440
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
444
441
|
readonly DtUserInfo: import("vue").DefineComponent<{}, {
|
|
445
442
|
t: {
|
|
@@ -465,9 +462,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
465
462
|
data: {
|
|
466
463
|
type: ObjectConstructor;
|
|
467
464
|
};
|
|
468
|
-
},
|
|
469
|
-
|
|
470
|
-
|
|
465
|
+
}, {
|
|
466
|
+
props: any;
|
|
467
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
468
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
471
469
|
template: {
|
|
472
470
|
type: FunctionConstructor;
|
|
473
471
|
};
|
|
@@ -485,7 +483,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
485
483
|
(key: string, list: unknown[]): string;
|
|
486
484
|
(key: string, named: Record<string, unknown>): string;
|
|
487
485
|
};
|
|
488
|
-
visible: Ref<boolean>;
|
|
486
|
+
visible: import("vue").Ref<boolean>;
|
|
489
487
|
getShowBread: import("vue").ComputedRef<boolean>;
|
|
490
488
|
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
491
489
|
getShowUiSize: import("vue").ComputedRef<boolean>;
|
|
@@ -739,7 +737,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
739
737
|
}, {
|
|
740
738
|
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
741
739
|
closeTab(path: string, router: import("vue-router").Router): void;
|
|
742
|
-
closeAllTab(currentRoute: Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
740
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
743
741
|
closeLeftTabs(path: string): void;
|
|
744
742
|
closeRightTabs(path: string): void;
|
|
745
743
|
closeOtherTabs(path: string): void;
|
|
@@ -765,7 +763,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
765
763
|
}, {
|
|
766
764
|
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
767
765
|
closeTab(path: string, router: import("vue-router").Router): void;
|
|
768
|
-
closeAllTab(currentRoute: Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
766
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
769
767
|
closeLeftTabs(path: string): void;
|
|
770
768
|
closeRightTabs(path: string): void;
|
|
771
769
|
closeOtherTabs(path: string): void;
|
|
@@ -17,7 +17,7 @@ export declare function useMenu(): {
|
|
|
17
17
|
getSplit: import("vue").ComputedRef<boolean>;
|
|
18
18
|
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
19
19
|
getIsHorizontal: import("vue").ComputedRef<boolean>;
|
|
20
|
-
getMiniWidthNumber: import("vue").ComputedRef<
|
|
20
|
+
getMiniWidthNumber: import("vue").ComputedRef<80 | 48>;
|
|
21
21
|
getRealWidth: import("vue").ComputedRef<string | number>;
|
|
22
22
|
getCalcContentWidth: import("vue").ComputedRef<string>;
|
|
23
23
|
getIsMixMode: import("vue").ComputedRef<boolean>;
|
package/es/theme/src/index.d.ts
CHANGED
|
@@ -81,7 +81,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
81
81
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
82
82
|
props: any;
|
|
83
83
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
84
|
-
readonly DtLogo: string;
|
|
85
84
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
86
85
|
theme: {
|
|
87
86
|
type: StringConstructor;
|
|
@@ -160,9 +159,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
160
159
|
data: {
|
|
161
160
|
type: ObjectConstructor;
|
|
162
161
|
};
|
|
163
|
-
},
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
}, {
|
|
163
|
+
props: any;
|
|
164
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
165
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
166
166
|
template: {
|
|
167
167
|
type: FunctionConstructor;
|
|
168
168
|
};
|
|
@@ -259,8 +259,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
259
259
|
$slots: Readonly<{
|
|
260
260
|
[name: string]: import("vue").Slot;
|
|
261
261
|
}>;
|
|
262
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
263
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
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>, {}>;
|
|
264
264
|
$emit: (event: string, ...args: any[]) => void;
|
|
265
265
|
$el: any;
|
|
266
266
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -320,7 +320,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
320
320
|
destroyTooltipOnHide: boolean;
|
|
321
321
|
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
322
322
|
arrowPointAtCenter: boolean;
|
|
323
|
-
}> & {
|
|
323
|
+
}, {}, string> & {
|
|
324
324
|
beforeCreate?: (() => void) | (() => void)[];
|
|
325
325
|
created?: (() => void) | (() => void)[];
|
|
326
326
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -335,7 +335,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
335
335
|
unmounted?: (() => void) | (() => void)[];
|
|
336
336
|
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
337
337
|
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, {}
|
|
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)[];
|
|
339
339
|
};
|
|
340
340
|
$forceUpdate: () => void;
|
|
341
341
|
$nextTick: typeof import("vue").nextTick;
|
|
@@ -449,7 +449,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
449
449
|
destroyTooltipOnHide: boolean;
|
|
450
450
|
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
451
451
|
arrowPointAtCenter: boolean;
|
|
452
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
452
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
453
453
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
454
454
|
readonly DtUserInfo: import("vue").DefineComponent<{}, {
|
|
455
455
|
t: {
|
|
@@ -475,9 +475,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
475
475
|
data: {
|
|
476
476
|
type: ObjectConstructor;
|
|
477
477
|
};
|
|
478
|
-
},
|
|
479
|
-
|
|
480
|
-
|
|
478
|
+
}, {
|
|
479
|
+
props: any;
|
|
480
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
481
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
481
482
|
template: {
|
|
482
483
|
type: FunctionConstructor;
|
|
483
484
|
};
|
|
@@ -821,10 +822,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
821
822
|
includesPath?: string[];
|
|
822
823
|
}[]>;
|
|
823
824
|
getWrapStyle: import("vue").ComputedRef<CSSProperties>;
|
|
824
|
-
getClass: import("vue").ComputedRef<string
|
|
825
|
-
'dt-multiple-header--fixed': boolean;
|
|
826
|
-
'dt-multiple-header--top-menu': boolean;
|
|
827
|
-
})[]>;
|
|
825
|
+
getClass: import("vue").ComputedRef<string>;
|
|
828
826
|
LayoutHeader: import("vue").DefineComponent<{
|
|
829
827
|
fixed: BooleanConstructor;
|
|
830
828
|
}, {
|
|
@@ -870,7 +868,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
870
868
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
871
869
|
props: any;
|
|
872
870
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
873
|
-
readonly DtLogo: string;
|
|
874
871
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
875
872
|
theme: {
|
|
876
873
|
type: StringConstructor;
|
|
@@ -949,9 +946,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
949
946
|
data: {
|
|
950
947
|
type: ObjectConstructor;
|
|
951
948
|
};
|
|
952
|
-
},
|
|
953
|
-
|
|
954
|
-
|
|
949
|
+
}, {
|
|
950
|
+
props: any;
|
|
951
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
952
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
955
953
|
template: {
|
|
956
954
|
type: FunctionConstructor;
|
|
957
955
|
};
|
|
@@ -1048,8 +1046,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1048
1046
|
$slots: Readonly<{
|
|
1049
1047
|
[name: string]: import("vue").Slot;
|
|
1050
1048
|
}>;
|
|
1051
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
1052
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
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>, {}>;
|
|
1053
1051
|
$emit: (event: string, ...args: any[]) => void;
|
|
1054
1052
|
$el: any;
|
|
1055
1053
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1109,7 +1107,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1109
1107
|
destroyTooltipOnHide: boolean;
|
|
1110
1108
|
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
1111
1109
|
arrowPointAtCenter: boolean;
|
|
1112
|
-
}> & {
|
|
1110
|
+
}, {}, string> & {
|
|
1113
1111
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1114
1112
|
created?: (() => void) | (() => void)[];
|
|
1115
1113
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -1124,7 +1122,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1124
1122
|
unmounted?: (() => void) | (() => void)[];
|
|
1125
1123
|
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1126
1124
|
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1127
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
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)[];
|
|
1128
1126
|
};
|
|
1129
1127
|
$forceUpdate: () => void;
|
|
1130
1128
|
$nextTick: typeof import("vue").nextTick;
|
|
@@ -1238,7 +1236,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1238
1236
|
destroyTooltipOnHide: boolean;
|
|
1239
1237
|
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
1240
1238
|
arrowPointAtCenter: boolean;
|
|
1241
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
1239
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
1242
1240
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1243
1241
|
readonly DtUserInfo: import("vue").DefineComponent<{}, {
|
|
1244
1242
|
t: {
|
|
@@ -1264,9 +1262,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1264
1262
|
data: {
|
|
1265
1263
|
type: ObjectConstructor;
|
|
1266
1264
|
};
|
|
1267
|
-
},
|
|
1268
|
-
|
|
1269
|
-
|
|
1265
|
+
}, {
|
|
1266
|
+
props: any;
|
|
1267
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
1268
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1270
1269
|
template: {
|
|
1271
1270
|
type: FunctionConstructor;
|
|
1272
1271
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dt-frames/ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@dt-frames/plugins": "workspace:2.0.0",
|
|
56
|
-
"npm-run-all": "^4.1.5"
|
|
56
|
+
"npm-run-all": "^4.1.5",
|
|
57
|
+
"rimraf": "^3.0.2"
|
|
57
58
|
}
|
|
58
59
|
}
|
package/vite.config.ts
CHANGED
|
@@ -32,33 +32,6 @@ export default defineConfig((env) => {
|
|
|
32
32
|
|
|
33
33
|
return {
|
|
34
34
|
build: {
|
|
35
|
-
// 不需要打包进npm的文件
|
|
36
|
-
rollupOptions: {
|
|
37
|
-
external: [
|
|
38
|
-
'@vueuse/core',
|
|
39
|
-
'vue',
|
|
40
|
-
'vue-router',
|
|
41
|
-
'vue-i18n',
|
|
42
|
-
'axios',
|
|
43
|
-
'ant-design-vue',
|
|
44
|
-
'ant-design-vue/es',
|
|
45
|
-
'ant-design-vue/es/form/style',
|
|
46
|
-
'ant-design-vue/es/button/style',
|
|
47
|
-
'ant-design-vue/es/checkbox/style',
|
|
48
|
-
'ant-design-vue/es/input/style',
|
|
49
|
-
'ant-design-vue/es/popover/style',
|
|
50
|
-
'ant-design-vue/es/empty/style',
|
|
51
|
-
'ant-design-vue/es/input-number/style',
|
|
52
|
-
'lodash-es',
|
|
53
|
-
'@dt-frames/core',
|
|
54
|
-
"sortablejs",
|
|
55
|
-
"xlsx",
|
|
56
|
-
'dayjs',
|
|
57
|
-
'dayjs/locale/zh-cn',
|
|
58
|
-
'@dt-frames/plugins',
|
|
59
|
-
'@dt-frames/core'
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
35
|
lib: {
|
|
63
36
|
entry: `src/${ entryPath }.ts`,
|
|
64
37
|
formats: ['es'],
|