@dt-frames/ui 2.0.5 → 2.0.6
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.d.ts +2 -0
- package/es/assets/locales/en.ts +2 -0
- package/es/assets/locales/zh.d.ts +1 -0
- package/es/assets/locales/zh.ts +6 -5
- package/es/components/curd/index.js +113 -63
- package/es/components/form/index.js +24 -12
- package/es/theme/index.js +208 -71
- package/es/theme/index.less +1 -0
- package/es/theme/src/components/content/index.d.ts +6 -4
- package/es/theme/src/components/header/index.d.ts +43 -20
- package/es/theme/src/components/header/multiple-header.d.ts +86 -40
- package/es/theme/src/components/tabs/components/TabContent.d.ts +33 -3
- package/es/theme/src/components/tabs/components/TabRedo.d.ts +6 -4
- package/es/theme/src/components/tabs/hooks/useTabDropdown.d.ts +6 -4
- package/es/theme/src/components/tabs/hooks/useTabs.d.ts +10 -0
- package/es/theme/src/components/tabs/index.d.ts +43 -20
- package/es/theme/src/hooks/useMenu.d.ts +1 -1
- package/es/theme/src/index.d.ts +136 -64
- package/es/theme/src/stores/routeReuse.store.d.ts +6 -4
- package/es/theme/src/stores/theme.store.d.ts +1 -0
- package/es/theme/src/types/theme.type.d.ts +1 -0
- package/package.json +1 -1
- package/es/packages/ui/src/assets/locales/en.d.ts +0 -101
- package/es/packages/ui/src/assets/locales/index.d.ts +0 -2
- package/es/packages/ui/src/assets/locales/zh.d.ts +0 -103
- package/es/packages/ui/src/components/container/index.d.ts +0 -94
- package/es/packages/ui/src/components/container/src/components/bar.d.ts +0 -14
- package/es/packages/ui/src/components/container/src/components/scroll-bar.d.ts +0 -70
- package/es/packages/ui/src/components/container/src/hooks/scroll.d.ts +0 -10
- package/es/packages/ui/src/components/container/src/scroll-container.d.ts +0 -76
- package/es/packages/ui/src/components/container/src/slot-container.d.ts +0 -20
- package/es/packages/ui/src/components/container/src/types/scroll.type.d.ts +0 -22
- package/es/packages/ui/src/components/container/src/utils/scroll.d.ts +0 -5
- package/es/packages/ui/src/global.d.ts +0 -7
- package/es/packages/ui/src/theme/index.d.ts +0 -10
- package/es/packages/ui/src/theme/src/components/content/index.d.ts +0 -27
- package/es/packages/ui/src/theme/src/components/feature/back-top.d.ts +0 -5
- package/es/packages/ui/src/theme/src/components/feature/index.d.ts +0 -7
- package/es/packages/ui/src/theme/src/components/footer/index.d.ts +0 -31
- package/es/packages/ui/src/theme/src/components/header/components/bread-crumb.d.ts +0 -6
- package/es/packages/ui/src/theme/src/components/header/components/fullscreen.d.ts +0 -5
- package/es/packages/ui/src/theme/src/components/header/components/index.d.ts +0 -11
- package/es/packages/ui/src/theme/src/components/header/components/lang-picker.d.ts +0 -23
- package/es/packages/ui/src/theme/src/components/header/components/logo.d.ts +0 -56
- package/es/packages/ui/src/theme/src/components/header/components/menu-filter.d.ts +0 -22
- package/es/packages/ui/src/theme/src/components/header/components/notify.d.ts +0 -24
- package/es/packages/ui/src/theme/src/components/header/components/setting-theme.d.ts +0 -223
- package/es/packages/ui/src/theme/src/components/header/components/size.d.ts +0 -282
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/feature.d.ts +0 -138
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/menu-type.d.ts +0 -16
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/select.d.ts +0 -58
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/switch.d.ts +0 -49
- package/es/packages/ui/src/theme/src/components/header/components/trigger.d.ts +0 -10
- package/es/packages/ui/src/theme/src/components/header/components/user-info.d.ts +0 -37
- package/es/packages/ui/src/theme/src/components/header/helper/change-theme.d.ts +0 -13
- package/es/packages/ui/src/theme/src/components/header/helper/menu-tree.d.ts +0 -4
- package/es/packages/ui/src/theme/src/components/header/index.d.ts +0 -720
- package/es/packages/ui/src/theme/src/components/header/multiple-header.d.ts +0 -806
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu-item.d.ts +0 -62
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu.d.ts +0 -207
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-sub-menu-item.d.ts +0 -127
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/menu-item-content.d.ts +0 -26
- package/es/packages/ui/src/theme/src/components/sider/components/drag-bar.d.ts +0 -14
- package/es/packages/ui/src/theme/src/components/sider/components/layout-menu.d.ts +0 -22
- package/es/packages/ui/src/theme/src/components/sider/components/props.d.ts +0 -69
- package/es/packages/ui/src/theme/src/components/sider/components/sider-trigger.d.ts +0 -17
- package/es/packages/ui/src/theme/src/components/sider/helper/sider.d.ts +0 -12
- package/es/packages/ui/src/theme/src/components/sider/helper/split-menu.d.ts +0 -10
- package/es/packages/ui/src/theme/src/components/sider/index.d.ts +0 -235
- package/es/packages/ui/src/theme/src/components/sider/mix-sider.d.ts +0 -167
- package/es/packages/ui/src/theme/src/components/tabs/components/TabContent.d.ts +0 -6
- package/es/packages/ui/src/theme/src/components/tabs/components/TabRedo.d.ts +0 -21
- package/es/packages/ui/src/theme/src/components/tabs/components/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/components/tabs/hooks/useMultifyTabs.d.ts +0 -7
- package/es/packages/ui/src/theme/src/components/tabs/hooks/useTabDropdown.d.ts +0 -6
- package/es/packages/ui/src/theme/src/components/tabs/index.d.ts +0 -63
- package/es/packages/ui/src/theme/src/components/tabs/types/tabs.type.d.ts +0 -7
- package/es/packages/ui/src/theme/src/enums/index.d.ts +0 -1
- package/es/packages/ui/src/theme/src/enums/theme.enum.d.ts +0 -34
- package/es/packages/ui/src/theme/src/hooks/index.d.ts +0 -6
- package/es/packages/ui/src/theme/src/hooks/useDragLine.d.ts +0 -2
- package/es/packages/ui/src/theme/src/hooks/useHeader.d.ts +0 -25
- package/es/packages/ui/src/theme/src/hooks/useMenu.d.ts +0 -29
- package/es/packages/ui/src/theme/src/hooks/useMultifyTab.d.ts +0 -8
- package/es/packages/ui/src/theme/src/hooks/useOpenKeys.d.ts +0 -7
- package/es/packages/ui/src/theme/src/hooks/useTheme.d.ts +0 -9
- package/es/packages/ui/src/theme/src/index.d.ts +0 -1851
- package/es/packages/ui/src/theme/src/setting/theme.setting.d.ts +0 -2
- package/es/packages/ui/src/theme/src/stores/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/stores/routeReuse.store.d.ts +0 -23
- package/es/packages/ui/src/theme/src/stores/theme.store.d.ts +0 -18
- package/es/packages/ui/src/theme/src/types/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/types/menu.type.d.ts +0 -15
- package/es/packages/ui/src/theme/src/types/theme.type.d.ts +0 -62
- package/es/packages/ui/src/utils/withInstall.d.ts +0 -4
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import type { DefaultOptionType } from 'ant-design-vue/es/select';
|
|
3
|
-
import { HandlerEnum } from '../../helper/change-theme';
|
|
4
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
-
event: {
|
|
6
|
-
type: PropType<HandlerEnum>;
|
|
7
|
-
};
|
|
8
|
-
disabled: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
};
|
|
11
|
-
title: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
};
|
|
14
|
-
def: {
|
|
15
|
-
type: PropType<string | number>;
|
|
16
|
-
};
|
|
17
|
-
initValue: {
|
|
18
|
-
type: PropType<string | number>;
|
|
19
|
-
};
|
|
20
|
-
options: {
|
|
21
|
-
type: PropType<DefaultOptionType[]>;
|
|
22
|
-
default: () => any[];
|
|
23
|
-
};
|
|
24
|
-
}, {
|
|
25
|
-
props: any;
|
|
26
|
-
getBindValue: import("vue").ComputedRef<{
|
|
27
|
-
value: string | number;
|
|
28
|
-
defaultValue: string | number;
|
|
29
|
-
} | {
|
|
30
|
-
value?: undefined;
|
|
31
|
-
defaultValue?: undefined;
|
|
32
|
-
}>;
|
|
33
|
-
handleChange: (val: any) => void;
|
|
34
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
event: {
|
|
36
|
-
type: PropType<HandlerEnum>;
|
|
37
|
-
};
|
|
38
|
-
disabled: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
};
|
|
41
|
-
title: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
};
|
|
44
|
-
def: {
|
|
45
|
-
type: PropType<string | number>;
|
|
46
|
-
};
|
|
47
|
-
initValue: {
|
|
48
|
-
type: PropType<string | number>;
|
|
49
|
-
};
|
|
50
|
-
options: {
|
|
51
|
-
type: PropType<DefaultOptionType[]>;
|
|
52
|
-
default: () => any[];
|
|
53
|
-
};
|
|
54
|
-
}>>, {
|
|
55
|
-
disabled: boolean;
|
|
56
|
-
options: DefaultOptionType[];
|
|
57
|
-
}>;
|
|
58
|
-
export default _sfc_main;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { HandlerEnum } from '../../helper/change-theme';
|
|
3
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
-
event: {
|
|
5
|
-
type: PropType<HandlerEnum>;
|
|
6
|
-
};
|
|
7
|
-
disabled: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
};
|
|
10
|
-
title: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
};
|
|
13
|
-
def: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
};
|
|
16
|
-
}, {
|
|
17
|
-
t: {
|
|
18
|
-
(key: string): string;
|
|
19
|
-
(key: string, locale: string): string;
|
|
20
|
-
(key: string, locale: string, list: unknown[]): string;
|
|
21
|
-
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
22
|
-
(key: string, list: unknown[]): string;
|
|
23
|
-
(key: string, named: Record<string, unknown>): string;
|
|
24
|
-
};
|
|
25
|
-
props: any;
|
|
26
|
-
getBindValue: import("vue").ComputedRef<{
|
|
27
|
-
checked: true;
|
|
28
|
-
} | {
|
|
29
|
-
checked?: undefined;
|
|
30
|
-
}>;
|
|
31
|
-
handleChange: (e: any) => void;
|
|
32
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
-
event: {
|
|
34
|
-
type: PropType<HandlerEnum>;
|
|
35
|
-
};
|
|
36
|
-
disabled: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
};
|
|
39
|
-
title: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
};
|
|
42
|
-
def: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
};
|
|
45
|
-
}>>, {
|
|
46
|
-
def: boolean;
|
|
47
|
-
disabled: boolean;
|
|
48
|
-
}>;
|
|
49
|
-
export default _sfc_main;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
theme: StringConstructor;
|
|
3
|
-
}, {
|
|
4
|
-
props: any;
|
|
5
|
-
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
6
|
-
toggleCollapsed: () => void;
|
|
7
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
theme: StringConstructor;
|
|
9
|
-
}>>, {}>;
|
|
10
|
-
export default _sfc_main;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
-
t: {
|
|
3
|
-
(key: string): string;
|
|
4
|
-
(key: string, locale: string): string;
|
|
5
|
-
(key: string, locale: string, list: unknown[]): string;
|
|
6
|
-
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
7
|
-
(key: string, list: unknown[]): string;
|
|
8
|
-
(key: string, named: Record<string, unknown>): string;
|
|
9
|
-
};
|
|
10
|
-
go: (path: string, isReplace?: boolean) => void;
|
|
11
|
-
getShowLoginOut: import("vue").ComputedRef<boolean>;
|
|
12
|
-
loginOutClick: () => {};
|
|
13
|
-
slots: {
|
|
14
|
-
[name: string]: import("vue").Slot;
|
|
15
|
-
};
|
|
16
|
-
getUserInfo: any;
|
|
17
|
-
signOut: () => void;
|
|
18
|
-
readonly DtSlotContainer: import("../../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
19
|
-
template: {
|
|
20
|
-
type: FunctionConstructor;
|
|
21
|
-
};
|
|
22
|
-
data: {
|
|
23
|
-
type: ObjectConstructor;
|
|
24
|
-
};
|
|
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<{
|
|
29
|
-
template: {
|
|
30
|
-
type: FunctionConstructor;
|
|
31
|
-
};
|
|
32
|
-
data: {
|
|
33
|
-
type: ObjectConstructor;
|
|
34
|
-
};
|
|
35
|
-
}>>, {}>>;
|
|
36
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
37
|
-
export default _sfc_main;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare enum HandlerEnum {
|
|
2
|
-
CHANGE_LAYOUT = 0,
|
|
3
|
-
SHOW_BREADCRUMB = 1,
|
|
4
|
-
SHOW_SEARCH = 2,
|
|
5
|
-
SHOW_SIZE = 3,
|
|
6
|
-
SHOW_NOTICY = 4,
|
|
7
|
-
SHOW_FULL_SCREEN = 5,
|
|
8
|
-
SHOW_LOCAL = 6,
|
|
9
|
-
SHOW_ROUTE_REUSE = 7,
|
|
10
|
-
SHOW_FOOTER = 8,
|
|
11
|
-
CONTENT_MODE = 9
|
|
12
|
-
}
|
|
13
|
-
export declare function changeTheme(event: HandlerEnum, value?: any): void;
|