@qqt-product/ui 8.0.3 → 9.0.0
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/dist/index.es.js +18353 -18034
- package/dist/index.umd.js +92 -92
- package/dist/lib/components/detail-form/index.d.ts +5 -3
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +5 -3
- package/dist/lib/components/detail-grid/index.d.ts +6 -3
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +6 -3
- package/dist/lib/components/edit-form/index.d.ts +6 -1
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +6 -1
- package/dist/lib/components/edit-grid/index.d.ts +6 -3
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +6 -3
- package/dist/lib/components/layout/index.d.ts +818 -6
- package/dist/lib/components/layout/src/index.vue.d.ts +818 -6
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +133 -6
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +420 -20
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/index.d.ts +32 -3
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +1 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +3 -1
- package/dist/lib/components/list-page-layout/src/hooks/common-hook.d.ts +5 -0
- package/dist/lib/components/list-page-layout/src/hooks/use-column-drag-hook.d.ts +5 -0
- package/dist/lib/components/list-page-layout/src/hooks/use-default-props-hook.d.ts +3 -1
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +32 -3
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +11 -2
- package/dist/style.css +1 -1
- package/package.json +10 -10
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { ExtendMenu,
|
|
1
|
+
import type { DefineComponent, Ref, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { Menu, ExtendMenu, FirstMenuMeta, RouterPropsType } from '../types';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
|
+
width: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
4
8
|
searchState: {
|
|
5
9
|
type: BooleanConstructor;
|
|
6
10
|
default: boolean;
|
|
@@ -43,6 +47,25 @@ declare const _sfc_main: DefineComponent<{
|
|
|
43
47
|
default: string;
|
|
44
48
|
};
|
|
45
49
|
}, {
|
|
50
|
+
props: any;
|
|
51
|
+
emit: (event: "menuSelect" | "updateMenuShow" | "updateHistoryList", ...args: any[]) => void;
|
|
52
|
+
router: {
|
|
53
|
+
push: (obj: RouterPropsType) => void;
|
|
54
|
+
};
|
|
55
|
+
userInfo: {
|
|
56
|
+
token: string;
|
|
57
|
+
srmVersion: string;
|
|
58
|
+
userInfo: {
|
|
59
|
+
id: string;
|
|
60
|
+
elsAccount: string;
|
|
61
|
+
subAccount: string;
|
|
62
|
+
realname: string;
|
|
63
|
+
avatar: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
historyListKey: string;
|
|
67
|
+
secondMenuMap: Map<string, ExtendMenu[]>;
|
|
68
|
+
secondLevelMenus: Ref<ExtendMenu[] | undefined>;
|
|
46
69
|
firstLevelMenus: Ref<{
|
|
47
70
|
hidden?: boolean | null | undefined;
|
|
48
71
|
isLocal?: boolean | undefined;
|
|
@@ -77,15 +100,118 @@ declare const _sfc_main: DefineComponent<{
|
|
|
77
100
|
name: string;
|
|
78
101
|
id: string;
|
|
79
102
|
}[]>;
|
|
80
|
-
secondLevelMenus: Ref<ExtendMenu[] | undefined>;
|
|
81
|
-
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
82
103
|
currentActive: Ref<number>;
|
|
83
104
|
meta: Ref<FirstMenuMeta | undefined>;
|
|
105
|
+
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
106
|
+
updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
|
|
84
107
|
menuSelect: () => void;
|
|
85
108
|
expandedKeys: Ref<(string | number)[]>;
|
|
86
109
|
autoExpandParent: Ref<boolean>;
|
|
87
110
|
onSelect: (selectedKeys: string[], e: any) => void;
|
|
111
|
+
readonly QIcon: DefineComponent<{
|
|
112
|
+
type: {
|
|
113
|
+
type: PropType<string>;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
size: {
|
|
117
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
118
|
+
};
|
|
119
|
+
color: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
};
|
|
122
|
+
}, {
|
|
123
|
+
fontSize: ComputedRef<{
|
|
124
|
+
fontSize: string;
|
|
125
|
+
}>;
|
|
126
|
+
iconType: ComputedRef<string>;
|
|
127
|
+
iconColor: ComputedRef<{
|
|
128
|
+
color: string;
|
|
129
|
+
}>;
|
|
130
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
131
|
+
type: {
|
|
132
|
+
type: PropType<string>;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
size: {
|
|
136
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
137
|
+
};
|
|
138
|
+
color: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
};
|
|
141
|
+
}>>, {
|
|
142
|
+
type: string;
|
|
143
|
+
}, {}>;
|
|
144
|
+
secondLevelMenu: DefineComponent<{
|
|
145
|
+
meta: {
|
|
146
|
+
type: PropType<FirstMenuMeta>;
|
|
147
|
+
default: () => {};
|
|
148
|
+
};
|
|
149
|
+
mode: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
theme: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
};
|
|
156
|
+
menus: {
|
|
157
|
+
type: {
|
|
158
|
+
(arrayLength: number): Menu[];
|
|
159
|
+
(...items: Menu[]): Menu[];
|
|
160
|
+
new (arrayLength: number): Menu[];
|
|
161
|
+
new (...items: Menu[]): Menu[];
|
|
162
|
+
isArray(arg: any): arg is any[];
|
|
163
|
+
readonly prototype: any[];
|
|
164
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
165
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
166
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
167
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
168
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
169
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
170
|
+
};
|
|
171
|
+
defualt: () => never[];
|
|
172
|
+
};
|
|
173
|
+
}, {
|
|
174
|
+
menuSelect: (obj: any) => void;
|
|
175
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "menuSelect"[], "menuSelect", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
176
|
+
meta: {
|
|
177
|
+
type: PropType<FirstMenuMeta>;
|
|
178
|
+
default: () => {};
|
|
179
|
+
};
|
|
180
|
+
mode: {
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
theme: {
|
|
185
|
+
type: StringConstructor;
|
|
186
|
+
};
|
|
187
|
+
menus: {
|
|
188
|
+
type: {
|
|
189
|
+
(arrayLength: number): Menu[];
|
|
190
|
+
(...items: Menu[]): Menu[];
|
|
191
|
+
new (arrayLength: number): Menu[];
|
|
192
|
+
new (...items: Menu[]): Menu[];
|
|
193
|
+
isArray(arg: any): arg is any[];
|
|
194
|
+
readonly prototype: any[];
|
|
195
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
196
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
197
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
198
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
199
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
200
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
201
|
+
};
|
|
202
|
+
defualt: () => never[];
|
|
203
|
+
};
|
|
204
|
+
}>> & {
|
|
205
|
+
onMenuSelect?: ((...args: any[]) => any) | undefined;
|
|
206
|
+
}, {
|
|
207
|
+
meta: FirstMenuMeta;
|
|
208
|
+
mode: string;
|
|
209
|
+
}, {}>;
|
|
88
210
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "updateMenuShow" | "updateHistoryList")[], "menuSelect" | "updateMenuShow" | "updateHistoryList", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
211
|
+
width: {
|
|
212
|
+
type: NumberConstructor;
|
|
213
|
+
default: number;
|
|
214
|
+
};
|
|
89
215
|
searchState: {
|
|
90
216
|
type: BooleanConstructor;
|
|
91
217
|
default: boolean;
|
|
@@ -132,11 +258,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
132
258
|
onUpdateMenuShow?: ((...args: any[]) => any) | undefined;
|
|
133
259
|
onUpdateHistoryList?: ((...args: any[]) => any) | undefined;
|
|
134
260
|
}, {
|
|
261
|
+
width: number;
|
|
135
262
|
mode: string;
|
|
136
|
-
collapsed: boolean;
|
|
137
263
|
menus: ExtendMenu[];
|
|
264
|
+
secondMenuShow: boolean;
|
|
265
|
+
collapsed: boolean;
|
|
138
266
|
searchState: boolean;
|
|
139
267
|
currentSearchValue: string;
|
|
140
|
-
secondMenuShow: boolean;
|
|
141
268
|
}, {}>;
|
|
142
269
|
export default _sfc_main;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import type { CloseCircleOutlinedIconType } from '@ant-design/icons-vue/lib/icons/CloseCircleOutlined';
|
|
2
|
+
import type { SearchOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SearchOutlined';
|
|
1
3
|
import type { SrmI18n } from '../../../../utils/type';
|
|
2
|
-
import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
import type { Menu } from '../types';
|
|
4
|
+
import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
5
|
+
import type { ExtendMenu, FirstMenuMeta, Menu, ImgStateList, RouterPropsType } from '../types';
|
|
4
6
|
declare const _sfc_main: DefineComponent<{
|
|
7
|
+
siderWidth: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
5
11
|
secondMenuShow: {
|
|
6
12
|
type: BooleanConstructor;
|
|
7
13
|
default: boolean;
|
|
@@ -63,14 +69,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
63
69
|
defualt: () => never[];
|
|
64
70
|
};
|
|
65
71
|
}, {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
servicesImg: Ref<string>;
|
|
72
|
-
unfoldImg: Ref<string>;
|
|
73
|
-
foldImg: Ref<string>;
|
|
72
|
+
props: any;
|
|
73
|
+
emit: (event: "menuSelect" | "schedule-click" | "services-click" | "updateMenuShow" | "collapsed-sider", ...args: any[]) => void;
|
|
74
|
+
router: {
|
|
75
|
+
push: (obj: RouterPropsType) => void;
|
|
76
|
+
};
|
|
74
77
|
srmI18n: SrmI18n;
|
|
75
78
|
userInfo: {
|
|
76
79
|
token: string;
|
|
@@ -84,20 +87,415 @@ declare const _sfc_main: DefineComponent<{
|
|
|
84
87
|
};
|
|
85
88
|
};
|
|
86
89
|
searchState: Ref<boolean>;
|
|
90
|
+
currentSearchValue: Ref<string>;
|
|
87
91
|
afterHandleFocus: () => void;
|
|
88
92
|
afterHandleBlur: () => void;
|
|
89
|
-
currentSearchValue: Ref<string>;
|
|
90
93
|
afterHandleChange: (value: string) => void;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
toggle: () => void;
|
|
94
|
+
state: ImgStateList;
|
|
95
|
+
menuRef: Ref<any>;
|
|
94
96
|
navMenus: ComputedRef<Menu[]>;
|
|
95
|
-
getSchedule: ComputedRef<any>;
|
|
96
|
-
getServices: ComputedRef<any>;
|
|
97
|
-
siderWidth: Ref<string>;
|
|
98
97
|
collapsed: Ref<boolean>;
|
|
98
|
+
toggle: () => void;
|
|
99
|
+
arrayRecursionFilter: (arr: Menu[], search: string) => Menu[];
|
|
99
100
|
menuSelect: (obj: any) => void;
|
|
100
|
-
|
|
101
|
+
getSchedule: ComputedRef<any>;
|
|
102
|
+
getServices: ComputedRef<any>;
|
|
103
|
+
scheduleHandle: () => void;
|
|
104
|
+
servicesHandle: () => void;
|
|
105
|
+
updateHistoryList: () => void;
|
|
106
|
+
handleUpdateMenuShow: (flag: boolean) => void;
|
|
107
|
+
logo: DefineComponent<{
|
|
108
|
+
title: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
collapsed: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
logoUrl: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
121
|
+
title: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
collapsed: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
logoUrl: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
}>>, {
|
|
134
|
+
title: string;
|
|
135
|
+
logoUrl: string;
|
|
136
|
+
collapsed: boolean;
|
|
137
|
+
}, {}>;
|
|
138
|
+
QMenu: DefineComponent<{
|
|
139
|
+
width: {
|
|
140
|
+
type: NumberConstructor;
|
|
141
|
+
default: number;
|
|
142
|
+
};
|
|
143
|
+
searchState: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
currentSearchValue: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
secondMenuShow: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
collapsed: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
159
|
+
menus: {
|
|
160
|
+
required: true;
|
|
161
|
+
type: {
|
|
162
|
+
(arrayLength: number): ExtendMenu[];
|
|
163
|
+
(...items: ExtendMenu[]): ExtendMenu[];
|
|
164
|
+
new (arrayLength: number): ExtendMenu[];
|
|
165
|
+
new (...items: ExtendMenu[]): ExtendMenu[];
|
|
166
|
+
isArray(arg: any): arg is any[];
|
|
167
|
+
readonly prototype: any[];
|
|
168
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
169
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
170
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
171
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
172
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
173
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
174
|
+
};
|
|
175
|
+
default: () => never[];
|
|
176
|
+
};
|
|
177
|
+
theme: {
|
|
178
|
+
type: StringConstructor;
|
|
179
|
+
};
|
|
180
|
+
mode: {
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
}, {
|
|
185
|
+
props: any;
|
|
186
|
+
emit: (event: "menuSelect" | "updateMenuShow" | "updateHistoryList", ...args: any[]) => void;
|
|
187
|
+
router: {
|
|
188
|
+
push: (obj: RouterPropsType) => void;
|
|
189
|
+
};
|
|
190
|
+
userInfo: {
|
|
191
|
+
token: string;
|
|
192
|
+
srmVersion: string;
|
|
193
|
+
userInfo: {
|
|
194
|
+
id: string;
|
|
195
|
+
elsAccount: string;
|
|
196
|
+
subAccount: string;
|
|
197
|
+
realname: string;
|
|
198
|
+
avatar: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
historyListKey: string;
|
|
202
|
+
secondMenuMap: Map<string, ExtendMenu[]>;
|
|
203
|
+
secondLevelMenus: Ref<ExtendMenu[] | undefined>;
|
|
204
|
+
firstLevelMenus: Ref<{
|
|
205
|
+
hidden?: boolean | null | undefined;
|
|
206
|
+
isLocal?: boolean | undefined;
|
|
207
|
+
hasChild?: boolean | undefined;
|
|
208
|
+
count?: string | number | undefined;
|
|
209
|
+
redirect?: string | null | undefined;
|
|
210
|
+
path: string;
|
|
211
|
+
component: string;
|
|
212
|
+
route: string;
|
|
213
|
+
children?: {
|
|
214
|
+
redirect?: string | null | undefined;
|
|
215
|
+
path: string;
|
|
216
|
+
component: string;
|
|
217
|
+
route: string;
|
|
218
|
+
hidden?: boolean | null | undefined;
|
|
219
|
+
children?: any[] | undefined;
|
|
220
|
+
meta: {
|
|
221
|
+
[x: string]: string;
|
|
222
|
+
title: string;
|
|
223
|
+
icon: string;
|
|
224
|
+
};
|
|
225
|
+
mobile?: boolean | undefined;
|
|
226
|
+
name: string;
|
|
227
|
+
id: string;
|
|
228
|
+
}[] | undefined;
|
|
229
|
+
meta: {
|
|
230
|
+
[x: string]: string;
|
|
231
|
+
title: string;
|
|
232
|
+
icon: string;
|
|
233
|
+
};
|
|
234
|
+
mobile?: boolean | undefined;
|
|
235
|
+
name: string;
|
|
236
|
+
id: string;
|
|
237
|
+
}[]>;
|
|
238
|
+
currentActive: Ref<number>;
|
|
239
|
+
meta: Ref<FirstMenuMeta | undefined>;
|
|
240
|
+
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
241
|
+
updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
|
|
242
|
+
menuSelect: () => void;
|
|
243
|
+
expandedKeys: Ref<(string | number)[]>;
|
|
244
|
+
autoExpandParent: Ref<boolean>;
|
|
245
|
+
onSelect: (selectedKeys: string[], e: any) => void;
|
|
246
|
+
readonly QIcon: DefineComponent<{
|
|
247
|
+
type: {
|
|
248
|
+
type: PropType<string>;
|
|
249
|
+
default: string;
|
|
250
|
+
};
|
|
251
|
+
size: {
|
|
252
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
253
|
+
};
|
|
254
|
+
color: {
|
|
255
|
+
type: StringConstructor;
|
|
256
|
+
};
|
|
257
|
+
}, {
|
|
258
|
+
fontSize: ComputedRef<{
|
|
259
|
+
fontSize: string;
|
|
260
|
+
}>;
|
|
261
|
+
iconType: ComputedRef<string>;
|
|
262
|
+
iconColor: ComputedRef<{
|
|
263
|
+
color: string;
|
|
264
|
+
}>;
|
|
265
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
266
|
+
type: {
|
|
267
|
+
type: PropType<string>;
|
|
268
|
+
default: string;
|
|
269
|
+
};
|
|
270
|
+
size: {
|
|
271
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
272
|
+
};
|
|
273
|
+
color: {
|
|
274
|
+
type: StringConstructor;
|
|
275
|
+
};
|
|
276
|
+
}>>, {
|
|
277
|
+
type: string;
|
|
278
|
+
}, {}>;
|
|
279
|
+
secondLevelMenu: DefineComponent<{
|
|
280
|
+
meta: {
|
|
281
|
+
type: PropType<FirstMenuMeta>;
|
|
282
|
+
default: () => {};
|
|
283
|
+
};
|
|
284
|
+
mode: {
|
|
285
|
+
type: StringConstructor;
|
|
286
|
+
default: string;
|
|
287
|
+
};
|
|
288
|
+
theme: {
|
|
289
|
+
type: StringConstructor;
|
|
290
|
+
};
|
|
291
|
+
menus: {
|
|
292
|
+
type: {
|
|
293
|
+
(arrayLength: number): Menu[];
|
|
294
|
+
(...items: Menu[]): Menu[];
|
|
295
|
+
new (arrayLength: number): Menu[];
|
|
296
|
+
new (...items: Menu[]): Menu[];
|
|
297
|
+
isArray(arg: any): arg is any[];
|
|
298
|
+
readonly prototype: any[];
|
|
299
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
300
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
301
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
302
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
303
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
304
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
305
|
+
};
|
|
306
|
+
defualt: () => never[];
|
|
307
|
+
};
|
|
308
|
+
}, {
|
|
309
|
+
menuSelect: (obj: any) => void;
|
|
310
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "menuSelect"[], "menuSelect", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
311
|
+
meta: {
|
|
312
|
+
type: PropType<FirstMenuMeta>;
|
|
313
|
+
default: () => {};
|
|
314
|
+
};
|
|
315
|
+
mode: {
|
|
316
|
+
type: StringConstructor;
|
|
317
|
+
default: string;
|
|
318
|
+
};
|
|
319
|
+
theme: {
|
|
320
|
+
type: StringConstructor;
|
|
321
|
+
};
|
|
322
|
+
menus: {
|
|
323
|
+
type: {
|
|
324
|
+
(arrayLength: number): Menu[];
|
|
325
|
+
(...items: Menu[]): Menu[];
|
|
326
|
+
new (arrayLength: number): Menu[];
|
|
327
|
+
new (...items: Menu[]): Menu[];
|
|
328
|
+
isArray(arg: any): arg is any[];
|
|
329
|
+
readonly prototype: any[];
|
|
330
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
331
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
332
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
333
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
334
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
335
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
336
|
+
};
|
|
337
|
+
defualt: () => never[];
|
|
338
|
+
};
|
|
339
|
+
}>> & {
|
|
340
|
+
onMenuSelect?: ((...args: any[]) => any) | undefined;
|
|
341
|
+
}, {
|
|
342
|
+
meta: FirstMenuMeta;
|
|
343
|
+
mode: string;
|
|
344
|
+
}, {}>;
|
|
345
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "updateMenuShow" | "updateHistoryList")[], "menuSelect" | "updateMenuShow" | "updateHistoryList", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
346
|
+
width: {
|
|
347
|
+
type: NumberConstructor;
|
|
348
|
+
default: number;
|
|
349
|
+
};
|
|
350
|
+
searchState: {
|
|
351
|
+
type: BooleanConstructor;
|
|
352
|
+
default: boolean;
|
|
353
|
+
};
|
|
354
|
+
currentSearchValue: {
|
|
355
|
+
type: StringConstructor;
|
|
356
|
+
default: string;
|
|
357
|
+
};
|
|
358
|
+
secondMenuShow: {
|
|
359
|
+
type: BooleanConstructor;
|
|
360
|
+
default: boolean;
|
|
361
|
+
};
|
|
362
|
+
collapsed: {
|
|
363
|
+
type: BooleanConstructor;
|
|
364
|
+
default: boolean;
|
|
365
|
+
};
|
|
366
|
+
menus: {
|
|
367
|
+
required: true;
|
|
368
|
+
type: {
|
|
369
|
+
(arrayLength: number): ExtendMenu[];
|
|
370
|
+
(...items: ExtendMenu[]): ExtendMenu[];
|
|
371
|
+
new (arrayLength: number): ExtendMenu[];
|
|
372
|
+
new (...items: ExtendMenu[]): ExtendMenu[];
|
|
373
|
+
isArray(arg: any): arg is any[];
|
|
374
|
+
readonly prototype: any[];
|
|
375
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
376
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
377
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
378
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
379
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
380
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
381
|
+
};
|
|
382
|
+
default: () => never[];
|
|
383
|
+
};
|
|
384
|
+
theme: {
|
|
385
|
+
type: StringConstructor;
|
|
386
|
+
};
|
|
387
|
+
mode: {
|
|
388
|
+
type: StringConstructor;
|
|
389
|
+
default: string;
|
|
390
|
+
};
|
|
391
|
+
}>> & {
|
|
392
|
+
onMenuSelect?: ((...args: any[]) => any) | undefined;
|
|
393
|
+
onUpdateMenuShow?: ((...args: any[]) => any) | undefined;
|
|
394
|
+
onUpdateHistoryList?: ((...args: any[]) => any) | undefined;
|
|
395
|
+
}, {
|
|
396
|
+
width: number;
|
|
397
|
+
mode: string;
|
|
398
|
+
menus: ExtendMenu[];
|
|
399
|
+
secondMenuShow: boolean;
|
|
400
|
+
collapsed: boolean;
|
|
401
|
+
searchState: boolean;
|
|
402
|
+
currentSearchValue: string;
|
|
403
|
+
}, {}>;
|
|
404
|
+
menuSearch: DefineComponent<{
|
|
405
|
+
collapsed: {
|
|
406
|
+
type: BooleanConstructor;
|
|
407
|
+
default: boolean;
|
|
408
|
+
};
|
|
409
|
+
searchState: {
|
|
410
|
+
type: BooleanConstructor;
|
|
411
|
+
default: boolean;
|
|
412
|
+
};
|
|
413
|
+
}, {
|
|
414
|
+
router: {
|
|
415
|
+
push: (obj: RouterPropsType) => void;
|
|
416
|
+
};
|
|
417
|
+
srmI18n: SrmI18n;
|
|
418
|
+
userInfo: {
|
|
419
|
+
token: string;
|
|
420
|
+
srmVersion: string;
|
|
421
|
+
userInfo: {
|
|
422
|
+
id: string;
|
|
423
|
+
elsAccount: string;
|
|
424
|
+
subAccount: string;
|
|
425
|
+
realname: string;
|
|
426
|
+
avatar: string;
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
historyListKey: string;
|
|
430
|
+
emit: (event: "handleCollapsed" | "afterHandleFocus" | "afterHandleBlur" | "afterHandleChange", ...args: any[]) => void;
|
|
431
|
+
props: any;
|
|
432
|
+
search: Ref<string>;
|
|
433
|
+
handleFocus: () => void;
|
|
434
|
+
handleBlur: () => void;
|
|
435
|
+
handleChange: () => void;
|
|
436
|
+
historyList: Ref<{
|
|
437
|
+
hidden?: boolean | null | undefined;
|
|
438
|
+
isLocal?: boolean | undefined;
|
|
439
|
+
hasChild?: boolean | undefined;
|
|
440
|
+
count?: string | number | undefined;
|
|
441
|
+
redirect?: string | null | undefined;
|
|
442
|
+
path: string;
|
|
443
|
+
component: string;
|
|
444
|
+
route: string;
|
|
445
|
+
children?: {
|
|
446
|
+
redirect?: string | null | undefined;
|
|
447
|
+
path: string;
|
|
448
|
+
component: string;
|
|
449
|
+
route: string;
|
|
450
|
+
hidden?: boolean | null | undefined;
|
|
451
|
+
children?: any[] | undefined;
|
|
452
|
+
meta: {
|
|
453
|
+
[x: string]: string;
|
|
454
|
+
title: string;
|
|
455
|
+
icon: string;
|
|
456
|
+
};
|
|
457
|
+
mobile?: boolean | undefined;
|
|
458
|
+
name: string;
|
|
459
|
+
id: string;
|
|
460
|
+
}[] | undefined;
|
|
461
|
+
meta: {
|
|
462
|
+
[x: string]: string;
|
|
463
|
+
title: string;
|
|
464
|
+
icon: string;
|
|
465
|
+
};
|
|
466
|
+
mobile?: boolean | undefined;
|
|
467
|
+
name: string;
|
|
468
|
+
id: string;
|
|
469
|
+
}[]>;
|
|
470
|
+
upDateHistoryList: () => ExtendMenu[];
|
|
471
|
+
goHistoryPage: (his: ExtendMenu) => void;
|
|
472
|
+
delHistoryItem: (index: number) => void;
|
|
473
|
+
clearAllHistory: () => void;
|
|
474
|
+
readonly SearchOutlined: SearchOutlinedIconType;
|
|
475
|
+
readonly CloseCircleOutlined: CloseCircleOutlinedIconType;
|
|
476
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("handleCollapsed" | "afterHandleFocus" | "afterHandleBlur" | "afterHandleChange")[], "handleCollapsed" | "afterHandleFocus" | "afterHandleBlur" | "afterHandleChange", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
477
|
+
collapsed: {
|
|
478
|
+
type: BooleanConstructor;
|
|
479
|
+
default: boolean;
|
|
480
|
+
};
|
|
481
|
+
searchState: {
|
|
482
|
+
type: BooleanConstructor;
|
|
483
|
+
default: boolean;
|
|
484
|
+
};
|
|
485
|
+
}>> & {
|
|
486
|
+
onHandleCollapsed?: ((...args: any[]) => any) | undefined;
|
|
487
|
+
onAfterHandleFocus?: ((...args: any[]) => any) | undefined;
|
|
488
|
+
onAfterHandleBlur?: ((...args: any[]) => any) | undefined;
|
|
489
|
+
onAfterHandleChange?: ((...args: any[]) => any) | undefined;
|
|
490
|
+
}, {
|
|
491
|
+
collapsed: boolean;
|
|
492
|
+
searchState: boolean;
|
|
493
|
+
}, {}>;
|
|
494
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "updateMenuShow" | "collapsed-sider")[], "menuSelect" | "schedule-click" | "services-click" | "updateMenuShow" | "collapsed-sider", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
495
|
+
siderWidth: {
|
|
496
|
+
type: NumberConstructor;
|
|
497
|
+
default: number;
|
|
498
|
+
};
|
|
101
499
|
secondMenuShow: {
|
|
102
500
|
type: BooleanConstructor;
|
|
103
501
|
default: boolean;
|
|
@@ -160,12 +558,14 @@ declare const _sfc_main: DefineComponent<{
|
|
|
160
558
|
};
|
|
161
559
|
}>> & {
|
|
162
560
|
onMenuSelect?: ((...args: any[]) => any) | undefined;
|
|
163
|
-
onUpdateMenuShow?: ((...args: any[]) => any) | undefined;
|
|
164
561
|
"onSchedule-click"?: ((...args: any[]) => any) | undefined;
|
|
165
562
|
"onServices-click"?: ((...args: any[]) => any) | undefined;
|
|
563
|
+
onUpdateMenuShow?: ((...args: any[]) => any) | undefined;
|
|
564
|
+
"onCollapsed-sider"?: ((...args: any[]) => any) | undefined;
|
|
166
565
|
}, {
|
|
167
566
|
mode: string;
|
|
168
|
-
secondMenuShow: boolean;
|
|
169
567
|
collapsible: boolean;
|
|
568
|
+
siderWidth: number;
|
|
569
|
+
secondMenuShow: boolean;
|
|
170
570
|
}, {}>;
|
|
171
571
|
export default _sfc_main;
|