@dt-frames/ui 2.0.4 → 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.
- package/es/components/curd/index.js +80 -75
- package/es/components/curd/src/components/Curd.d.ts +0 -8
- package/es/components/curd/src/props.d.ts +0 -4
- package/es/components/form/index.d.ts +20 -53
- package/es/components/form/index.js +17 -27
- package/es/components/form/index.less +8 -3
- package/es/components/form/src/index.d.ts +16 -41
- package/es/components/source/index.js +8 -5
- package/es/components/source/types/source.type.d.ts +1 -0
- package/es/components/table/index.js +145 -95
- package/es/components/table/index.less +26 -5
- package/es/components/table/src/components/TableAction.d.ts +1 -1
- package/es/components/table/src/index.d.ts +10 -0
- package/es/components/table/src/props.d.ts +4 -0
- package/es/components/tree/index.d.ts +2 -0
- package/es/components/tree/index.js +1087 -0
- package/es/components/tree/index.less +119 -0
- package/es/components/tree/src/basicProps.d.ts +146 -0
- package/es/components/tree/src/components/ContextMenu.d.ts +64 -0
- package/es/components/tree/src/components/TreeHeader.d.ts +98 -0
- package/es/components/tree/src/enums/index.d.ts +6 -0
- package/es/components/tree/src/hooks/useContextMenu.d.ts +2 -0
- package/es/components/tree/src/hooks/useTree.d.ts +14 -0
- package/es/components/tree/src/index.d.ts +6526 -0
- package/es/components/tree/src/type/menu.d.ts +33 -0
- package/es/components/tree/src/type/tree.d.ts +55 -0
- package/es/components/tree/src/utils/tree.d.ts +5 -0
- package/es/packages/ui/src/assets/locales/en.d.ts +101 -0
- package/es/packages/ui/src/assets/locales/index.d.ts +2 -0
- package/es/packages/ui/src/assets/locales/zh.d.ts +103 -0
- package/es/packages/ui/src/components/container/index.d.ts +94 -0
- package/es/packages/ui/src/components/container/src/components/bar.d.ts +14 -0
- package/es/packages/ui/src/components/container/src/components/scroll-bar.d.ts +70 -0
- package/es/packages/ui/src/components/container/src/hooks/scroll.d.ts +10 -0
- package/es/packages/ui/src/components/container/src/scroll-container.d.ts +76 -0
- package/es/packages/ui/src/components/container/src/slot-container.d.ts +20 -0
- package/es/packages/ui/src/components/container/src/types/scroll.type.d.ts +22 -0
- package/es/packages/ui/src/components/container/src/utils/scroll.d.ts +5 -0
- package/es/packages/ui/src/global.d.ts +7 -0
- package/es/packages/ui/src/theme/index.d.ts +10 -0
- package/es/packages/ui/src/theme/src/components/content/index.d.ts +27 -0
- package/es/packages/ui/src/theme/src/components/feature/back-top.d.ts +5 -0
- package/es/packages/ui/src/theme/src/components/feature/index.d.ts +7 -0
- package/es/packages/ui/src/theme/src/components/footer/index.d.ts +31 -0
- package/es/packages/ui/src/theme/src/components/header/components/bread-crumb.d.ts +6 -0
- package/es/packages/ui/src/theme/src/components/header/components/fullscreen.d.ts +5 -0
- package/es/packages/ui/src/theme/src/components/header/components/index.d.ts +11 -0
- package/es/packages/ui/src/theme/src/components/header/components/lang-picker.d.ts +23 -0
- package/es/packages/ui/src/theme/src/components/header/components/logo.d.ts +56 -0
- package/es/packages/ui/src/theme/src/components/header/components/menu-filter.d.ts +22 -0
- package/es/packages/ui/src/theme/src/components/header/components/notify.d.ts +24 -0
- package/es/packages/ui/src/theme/src/components/header/components/setting-theme.d.ts +223 -0
- package/es/packages/ui/src/theme/src/components/header/components/size.d.ts +282 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/feature.d.ts +138 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/menu-type.d.ts +16 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/select.d.ts +58 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/switch.d.ts +49 -0
- package/es/packages/ui/src/theme/src/components/header/components/trigger.d.ts +10 -0
- package/es/packages/ui/src/theme/src/components/header/components/user-info.d.ts +37 -0
- package/es/packages/ui/src/theme/src/components/header/helper/change-theme.d.ts +13 -0
- package/es/packages/ui/src/theme/src/components/header/helper/menu-tree.d.ts +4 -0
- package/es/packages/ui/src/theme/src/components/header/index.d.ts +720 -0
- package/es/packages/ui/src/theme/src/components/header/multiple-header.d.ts +806 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu-item.d.ts +62 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu.d.ts +207 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-sub-menu-item.d.ts +127 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/menu-item-content.d.ts +26 -0
- package/es/packages/ui/src/theme/src/components/sider/components/drag-bar.d.ts +14 -0
- package/es/packages/ui/src/theme/src/components/sider/components/layout-menu.d.ts +22 -0
- package/es/packages/ui/src/theme/src/components/sider/components/props.d.ts +69 -0
- package/es/packages/ui/src/theme/src/components/sider/components/sider-trigger.d.ts +17 -0
- package/es/packages/ui/src/theme/src/components/sider/helper/sider.d.ts +12 -0
- package/es/packages/ui/src/theme/src/components/sider/helper/split-menu.d.ts +10 -0
- package/es/packages/ui/src/theme/src/components/sider/index.d.ts +235 -0
- package/es/packages/ui/src/theme/src/components/sider/mix-sider.d.ts +167 -0
- package/es/packages/ui/src/theme/src/components/tabs/components/TabContent.d.ts +6 -0
- package/es/packages/ui/src/theme/src/components/tabs/components/TabRedo.d.ts +21 -0
- package/es/packages/ui/src/theme/src/components/tabs/components/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/components/tabs/hooks/useMultifyTabs.d.ts +7 -0
- package/es/packages/ui/src/theme/src/components/tabs/hooks/useTabDropdown.d.ts +6 -0
- package/es/packages/ui/src/theme/src/components/tabs/index.d.ts +63 -0
- package/es/packages/ui/src/theme/src/components/tabs/types/tabs.type.d.ts +7 -0
- package/es/packages/ui/src/theme/src/enums/index.d.ts +1 -0
- package/es/packages/ui/src/theme/src/enums/theme.enum.d.ts +34 -0
- package/es/packages/ui/src/theme/src/hooks/index.d.ts +6 -0
- package/es/packages/ui/src/theme/src/hooks/useDragLine.d.ts +2 -0
- package/es/packages/ui/src/theme/src/hooks/useHeader.d.ts +25 -0
- package/es/packages/ui/src/theme/src/hooks/useMenu.d.ts +29 -0
- package/es/packages/ui/src/theme/src/hooks/useMultifyTab.d.ts +8 -0
- package/es/packages/ui/src/theme/src/hooks/useOpenKeys.d.ts +7 -0
- package/es/packages/ui/src/theme/src/hooks/useTheme.d.ts +9 -0
- package/es/packages/ui/src/theme/src/index.d.ts +1851 -0
- package/es/packages/ui/src/theme/src/setting/theme.setting.d.ts +2 -0
- package/es/packages/ui/src/theme/src/stores/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/stores/routeReuse.store.d.ts +23 -0
- package/es/packages/ui/src/theme/src/stores/theme.store.d.ts +18 -0
- package/es/packages/ui/src/theme/src/types/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/types/menu.type.d.ts +15 -0
- package/es/packages/ui/src/theme/src/types/theme.type.d.ts +62 -0
- package/es/packages/ui/src/utils/withInstall.d.ts +4 -0
- package/es/theme/index.d.ts +2 -1
- package/es/theme/index.js +658 -665
- package/es/theme/index.less +55 -0
- package/es/theme/src/components/header/components/logo.d.ts +22 -0
- package/es/theme/src/components/header/index.d.ts +87 -0
- package/es/theme/src/components/header/multiple-header.d.ts +88 -0
- package/es/theme/src/components/sider/index.d.ts +22 -0
- package/es/theme/src/components/sider/mix-sider.d.ts +22 -0
- package/es/theme/src/hooks/useMultifyTab.d.ts +1 -0
- package/es/theme/src/index.d.ts +197 -0
- package/es/theme/src/types/theme.type.d.ts +1 -0
- package/index.d.ts +2 -1
- package/index.js +6 -2
- package/package.json +4 -2
- package/tsconfig.json +1 -0
- package/vite.config.ts +1 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { UiSize } from '../../../../src/enums';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
3
|
+
t: {
|
|
4
|
+
(key: string): string;
|
|
5
|
+
(key: string, locale: string): string;
|
|
6
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
7
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
8
|
+
(key: string, list: unknown[]): string;
|
|
9
|
+
(key: string, named: Record<string, unknown>): string;
|
|
10
|
+
};
|
|
11
|
+
setThemeConf: (options?: import("../../../types/theme.type").ThemeOptions) => void;
|
|
12
|
+
getUiSize: import("vue").ComputedRef<UiSize>;
|
|
13
|
+
sizeList: {
|
|
14
|
+
text: string;
|
|
15
|
+
event: UiSize;
|
|
16
|
+
}[];
|
|
17
|
+
visible: import("vue").Ref<boolean>;
|
|
18
|
+
toggleLang: (size: UiSize) => Promise<void>;
|
|
19
|
+
readonly Popover: {
|
|
20
|
+
new (...args: any[]): {
|
|
21
|
+
$: import("vue").ComponentInternalInstance;
|
|
22
|
+
$data: {};
|
|
23
|
+
$props: Partial<{
|
|
24
|
+
visible: boolean;
|
|
25
|
+
align: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
|
|
26
|
+
builtinPlacements: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
|
|
27
|
+
defaultVisible: boolean;
|
|
28
|
+
overlayStyle: import("vue").CSSProperties;
|
|
29
|
+
destroyTooltipOnHide: boolean;
|
|
30
|
+
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
31
|
+
arrowPointAtCenter: boolean;
|
|
32
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
content: import("vue-types").VueTypeValidableDef<any>;
|
|
34
|
+
title: import("vue-types").VueTypeValidableDef<any>;
|
|
35
|
+
trigger: import("vue").PropType<import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType[]>;
|
|
36
|
+
visible: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
40
|
+
defaultVisible: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: any;
|
|
43
|
+
};
|
|
44
|
+
placement: import("vue").PropType<import("ant-design-vue/lib/tooltip").TooltipPlacement>;
|
|
45
|
+
color: StringConstructor;
|
|
46
|
+
transitionName: StringConstructor;
|
|
47
|
+
overlayStyle: {
|
|
48
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
49
|
+
default: import("vue").CSSProperties;
|
|
50
|
+
};
|
|
51
|
+
overlayClassName: StringConstructor;
|
|
52
|
+
openClassName: StringConstructor;
|
|
53
|
+
prefixCls: StringConstructor;
|
|
54
|
+
mouseEnterDelay: NumberConstructor;
|
|
55
|
+
mouseLeaveDelay: NumberConstructor;
|
|
56
|
+
getPopupContainer: import("vue").PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
57
|
+
arrowPointAtCenter: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: any;
|
|
60
|
+
};
|
|
61
|
+
autoAdjustOverflow: {
|
|
62
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow>;
|
|
63
|
+
default: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
64
|
+
};
|
|
65
|
+
destroyTooltipOnHide: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: any;
|
|
68
|
+
};
|
|
69
|
+
align: {
|
|
70
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").AlignType>;
|
|
71
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
|
|
72
|
+
};
|
|
73
|
+
builtinPlacements: {
|
|
74
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements>;
|
|
75
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
|
|
76
|
+
};
|
|
77
|
+
children: ArrayConstructor;
|
|
78
|
+
onVisibleChange: import("vue").PropType<(vis: boolean) => void>;
|
|
79
|
+
'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
|
|
80
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "defaultVisible" | "overlayStyle" | "arrowPointAtCenter" | "autoAdjustOverflow" | "destroyTooltipOnHide" | "align" | "builtinPlacements">;
|
|
81
|
+
$attrs: {
|
|
82
|
+
[x: string]: unknown;
|
|
83
|
+
};
|
|
84
|
+
$refs: {
|
|
85
|
+
[x: string]: unknown;
|
|
86
|
+
};
|
|
87
|
+
$slots: Readonly<{
|
|
88
|
+
[name: string]: import("vue").Slot;
|
|
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, {}>>;
|
|
92
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
93
|
+
$el: any;
|
|
94
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
95
|
+
content: import("vue-types").VueTypeValidableDef<any>;
|
|
96
|
+
title: import("vue-types").VueTypeValidableDef<any>;
|
|
97
|
+
trigger: import("vue").PropType<import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType[]>;
|
|
98
|
+
visible: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: any;
|
|
101
|
+
};
|
|
102
|
+
defaultVisible: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: any;
|
|
105
|
+
};
|
|
106
|
+
placement: import("vue").PropType<import("ant-design-vue/lib/tooltip").TooltipPlacement>;
|
|
107
|
+
color: StringConstructor;
|
|
108
|
+
transitionName: StringConstructor;
|
|
109
|
+
overlayStyle: {
|
|
110
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
111
|
+
default: import("vue").CSSProperties;
|
|
112
|
+
};
|
|
113
|
+
overlayClassName: StringConstructor;
|
|
114
|
+
openClassName: StringConstructor;
|
|
115
|
+
prefixCls: StringConstructor;
|
|
116
|
+
mouseEnterDelay: NumberConstructor;
|
|
117
|
+
mouseLeaveDelay: NumberConstructor;
|
|
118
|
+
getPopupContainer: import("vue").PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
119
|
+
arrowPointAtCenter: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: any;
|
|
122
|
+
};
|
|
123
|
+
autoAdjustOverflow: {
|
|
124
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow>;
|
|
125
|
+
default: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
126
|
+
};
|
|
127
|
+
destroyTooltipOnHide: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: any;
|
|
130
|
+
};
|
|
131
|
+
align: {
|
|
132
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").AlignType>;
|
|
133
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
|
|
134
|
+
};
|
|
135
|
+
builtinPlacements: {
|
|
136
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements>;
|
|
137
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
|
|
138
|
+
};
|
|
139
|
+
children: ArrayConstructor;
|
|
140
|
+
onVisibleChange: import("vue").PropType<(vis: boolean) => void>;
|
|
141
|
+
'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
|
|
142
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
143
|
+
visible: boolean;
|
|
144
|
+
align: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
|
|
145
|
+
builtinPlacements: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
|
|
146
|
+
defaultVisible: boolean;
|
|
147
|
+
overlayStyle: import("vue").CSSProperties;
|
|
148
|
+
destroyTooltipOnHide: boolean;
|
|
149
|
+
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
150
|
+
arrowPointAtCenter: boolean;
|
|
151
|
+
}> & {
|
|
152
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
153
|
+
created?: (() => void) | (() => void)[];
|
|
154
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
155
|
+
mounted?: (() => void) | (() => void)[];
|
|
156
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
157
|
+
updated?: (() => void) | (() => void)[];
|
|
158
|
+
activated?: (() => void) | (() => void)[];
|
|
159
|
+
deactivated?: (() => void) | (() => void)[];
|
|
160
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
161
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
162
|
+
destroyed?: (() => void) | (() => void)[];
|
|
163
|
+
unmounted?: (() => void) | (() => void)[];
|
|
164
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
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, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
|
167
|
+
};
|
|
168
|
+
$forceUpdate: () => void;
|
|
169
|
+
$nextTick: typeof import("vue").nextTick;
|
|
170
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
171
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
172
|
+
content: import("vue-types").VueTypeValidableDef<any>;
|
|
173
|
+
title: import("vue-types").VueTypeValidableDef<any>;
|
|
174
|
+
trigger: import("vue").PropType<import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType[]>;
|
|
175
|
+
visible: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: any;
|
|
178
|
+
};
|
|
179
|
+
defaultVisible: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: any;
|
|
182
|
+
};
|
|
183
|
+
placement: import("vue").PropType<import("ant-design-vue/lib/tooltip").TooltipPlacement>;
|
|
184
|
+
color: StringConstructor;
|
|
185
|
+
transitionName: StringConstructor;
|
|
186
|
+
overlayStyle: {
|
|
187
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
188
|
+
default: import("vue").CSSProperties;
|
|
189
|
+
};
|
|
190
|
+
overlayClassName: StringConstructor;
|
|
191
|
+
openClassName: StringConstructor;
|
|
192
|
+
prefixCls: StringConstructor;
|
|
193
|
+
mouseEnterDelay: NumberConstructor;
|
|
194
|
+
mouseLeaveDelay: NumberConstructor;
|
|
195
|
+
getPopupContainer: import("vue").PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
196
|
+
arrowPointAtCenter: {
|
|
197
|
+
type: BooleanConstructor;
|
|
198
|
+
default: any;
|
|
199
|
+
};
|
|
200
|
+
autoAdjustOverflow: {
|
|
201
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow>;
|
|
202
|
+
default: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
203
|
+
};
|
|
204
|
+
destroyTooltipOnHide: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default: any;
|
|
207
|
+
};
|
|
208
|
+
align: {
|
|
209
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").AlignType>;
|
|
210
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
|
|
211
|
+
};
|
|
212
|
+
builtinPlacements: {
|
|
213
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements>;
|
|
214
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
|
|
215
|
+
};
|
|
216
|
+
children: ArrayConstructor;
|
|
217
|
+
onVisibleChange: import("vue").PropType<(vis: boolean) => void>;
|
|
218
|
+
'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
|
|
219
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
|
|
220
|
+
__isFragment?: never;
|
|
221
|
+
__isTeleport?: never;
|
|
222
|
+
__isSuspense?: never;
|
|
223
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
224
|
+
content: import("vue-types").VueTypeValidableDef<any>;
|
|
225
|
+
title: import("vue-types").VueTypeValidableDef<any>;
|
|
226
|
+
trigger: import("vue").PropType<import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType[]>;
|
|
227
|
+
visible: {
|
|
228
|
+
type: BooleanConstructor;
|
|
229
|
+
default: any;
|
|
230
|
+
};
|
|
231
|
+
defaultVisible: {
|
|
232
|
+
type: BooleanConstructor;
|
|
233
|
+
default: any;
|
|
234
|
+
};
|
|
235
|
+
placement: import("vue").PropType<import("ant-design-vue/lib/tooltip").TooltipPlacement>;
|
|
236
|
+
color: StringConstructor;
|
|
237
|
+
transitionName: StringConstructor;
|
|
238
|
+
overlayStyle: {
|
|
239
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
240
|
+
default: import("vue").CSSProperties;
|
|
241
|
+
};
|
|
242
|
+
overlayClassName: StringConstructor;
|
|
243
|
+
openClassName: StringConstructor;
|
|
244
|
+
prefixCls: StringConstructor;
|
|
245
|
+
mouseEnterDelay: NumberConstructor;
|
|
246
|
+
mouseLeaveDelay: NumberConstructor;
|
|
247
|
+
getPopupContainer: import("vue").PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
248
|
+
arrowPointAtCenter: {
|
|
249
|
+
type: BooleanConstructor;
|
|
250
|
+
default: any;
|
|
251
|
+
};
|
|
252
|
+
autoAdjustOverflow: {
|
|
253
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow>;
|
|
254
|
+
default: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
255
|
+
};
|
|
256
|
+
destroyTooltipOnHide: {
|
|
257
|
+
type: BooleanConstructor;
|
|
258
|
+
default: any;
|
|
259
|
+
};
|
|
260
|
+
align: {
|
|
261
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").AlignType>;
|
|
262
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
|
|
263
|
+
};
|
|
264
|
+
builtinPlacements: {
|
|
265
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements>;
|
|
266
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
|
|
267
|
+
};
|
|
268
|
+
children: ArrayConstructor;
|
|
269
|
+
onVisibleChange: import("vue").PropType<(vis: boolean) => void>;
|
|
270
|
+
'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
|
|
271
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
272
|
+
visible: boolean;
|
|
273
|
+
align: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
|
|
274
|
+
builtinPlacements: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
|
|
275
|
+
defaultVisible: boolean;
|
|
276
|
+
overlayStyle: import("vue").CSSProperties;
|
|
277
|
+
destroyTooltipOnHide: boolean;
|
|
278
|
+
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
279
|
+
arrowPointAtCenter: boolean;
|
|
280
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
281
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
282
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { unref } from 'vue';
|
|
2
|
+
import { ContentMode } from '../../../../../src/enums';
|
|
3
|
+
import { HandlerEnum } from '../../helper/change-theme';
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
5
|
+
t: {
|
|
6
|
+
(key: string): string;
|
|
7
|
+
(key: string, locale: string): string;
|
|
8
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
9
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
10
|
+
(key: string, list: unknown[]): string;
|
|
11
|
+
(key: string, named: Record<string, unknown>): string;
|
|
12
|
+
};
|
|
13
|
+
getShowBread: import("vue").ComputedRef<boolean>;
|
|
14
|
+
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
15
|
+
getShowUiSize: import("vue").ComputedRef<boolean>;
|
|
16
|
+
getShowNotice: import("vue").ComputedRef<boolean>;
|
|
17
|
+
getShowFullScreen: import("vue").ComputedRef<boolean>;
|
|
18
|
+
getShowLocale: import("vue").ComputedRef<boolean>;
|
|
19
|
+
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
20
|
+
getShowFooter: import("vue").ComputedRef<any>;
|
|
21
|
+
getContentMode: import("vue").ComputedRef<ContentMode>;
|
|
22
|
+
switchItems: {
|
|
23
|
+
title: string;
|
|
24
|
+
event: HandlerEnum;
|
|
25
|
+
def: import("vue").ComputedRef<any>;
|
|
26
|
+
}[];
|
|
27
|
+
selectItems: {
|
|
28
|
+
title: string;
|
|
29
|
+
event: HandlerEnum;
|
|
30
|
+
def: import("vue").ComputedRef<ContentMode>;
|
|
31
|
+
options: {
|
|
32
|
+
value: ContentMode;
|
|
33
|
+
label: string;
|
|
34
|
+
}[];
|
|
35
|
+
}[];
|
|
36
|
+
unref: typeof unref;
|
|
37
|
+
DtTSelect: import("vue").DefineComponent<{
|
|
38
|
+
event: {
|
|
39
|
+
type: import("vue").PropType<HandlerEnum>;
|
|
40
|
+
};
|
|
41
|
+
disabled: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
};
|
|
44
|
+
title: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
};
|
|
47
|
+
def: {
|
|
48
|
+
type: import("vue").PropType<string | number>;
|
|
49
|
+
};
|
|
50
|
+
initValue: {
|
|
51
|
+
type: import("vue").PropType<string | number>;
|
|
52
|
+
};
|
|
53
|
+
options: {
|
|
54
|
+
type: import("vue").PropType<import("ant-design-vue/es/select").DefaultOptionType[]>;
|
|
55
|
+
default: () => any[];
|
|
56
|
+
};
|
|
57
|
+
}, {
|
|
58
|
+
props: any;
|
|
59
|
+
getBindValue: import("vue").ComputedRef<{
|
|
60
|
+
value: string | number;
|
|
61
|
+
defaultValue: string | number;
|
|
62
|
+
} | {
|
|
63
|
+
value?: undefined;
|
|
64
|
+
defaultValue?: undefined;
|
|
65
|
+
}>;
|
|
66
|
+
handleChange: (val: any) => void;
|
|
67
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
event: {
|
|
69
|
+
type: import("vue").PropType<HandlerEnum>;
|
|
70
|
+
};
|
|
71
|
+
disabled: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
};
|
|
74
|
+
title: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
};
|
|
77
|
+
def: {
|
|
78
|
+
type: import("vue").PropType<string | number>;
|
|
79
|
+
};
|
|
80
|
+
initValue: {
|
|
81
|
+
type: import("vue").PropType<string | number>;
|
|
82
|
+
};
|
|
83
|
+
options: {
|
|
84
|
+
type: import("vue").PropType<import("ant-design-vue/es/select").DefaultOptionType[]>;
|
|
85
|
+
default: () => any[];
|
|
86
|
+
};
|
|
87
|
+
}>>, {
|
|
88
|
+
disabled: boolean;
|
|
89
|
+
options: import("ant-design-vue/es/select").DefaultOptionType[];
|
|
90
|
+
}>;
|
|
91
|
+
DtTSwitch: import("vue").DefineComponent<{
|
|
92
|
+
event: {
|
|
93
|
+
type: import("vue").PropType<HandlerEnum>;
|
|
94
|
+
};
|
|
95
|
+
disabled: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
};
|
|
98
|
+
title: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
};
|
|
101
|
+
def: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
};
|
|
104
|
+
}, {
|
|
105
|
+
t: {
|
|
106
|
+
(key: string): string;
|
|
107
|
+
(key: string, locale: string): string;
|
|
108
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
109
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
110
|
+
(key: string, list: unknown[]): string;
|
|
111
|
+
(key: string, named: Record<string, unknown>): string;
|
|
112
|
+
};
|
|
113
|
+
props: any;
|
|
114
|
+
getBindValue: import("vue").ComputedRef<{
|
|
115
|
+
checked: true;
|
|
116
|
+
} | {
|
|
117
|
+
checked?: undefined;
|
|
118
|
+
}>;
|
|
119
|
+
handleChange: (e: any) => void;
|
|
120
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
121
|
+
event: {
|
|
122
|
+
type: import("vue").PropType<HandlerEnum>;
|
|
123
|
+
};
|
|
124
|
+
disabled: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
};
|
|
127
|
+
title: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
};
|
|
130
|
+
def: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
};
|
|
133
|
+
}>>, {
|
|
134
|
+
def: boolean;
|
|
135
|
+
disabled: boolean;
|
|
136
|
+
}>;
|
|
137
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
138
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MenuMode, MenuType, Theme } from '../../../../../src/enums';
|
|
2
|
+
declare type Menu = {
|
|
3
|
+
title: string;
|
|
4
|
+
headTheme: Theme;
|
|
5
|
+
menuTheme: Theme;
|
|
6
|
+
mode: MenuMode;
|
|
7
|
+
type: MenuType;
|
|
8
|
+
split: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
11
|
+
getMenuType: import("vue").ComputedRef<MenuType>;
|
|
12
|
+
getMenuMode: import("vue").ComputedRef<MenuMode>;
|
|
13
|
+
menuTypeList: Menu[];
|
|
14
|
+
changeMenuType: (item: Menu) => void;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
16
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,58 @@
|
|
|
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;
|
|
@@ -0,0 +1,49 @@
|
|
|
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;
|
|
@@ -0,0 +1,10 @@
|
|
|
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;
|
|
@@ -0,0 +1,37 @@
|
|
|
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|