@qqt-product/ui 8.0.2 → 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.
Files changed (28) hide show
  1. package/dist/index.es.js +18513 -18190
  2. package/dist/index.umd.js +92 -92
  3. package/dist/lib/components/detail-form/index.d.ts +5 -3
  4. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +5 -3
  5. package/dist/lib/components/detail-grid/index.d.ts +6 -3
  6. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +6 -3
  7. package/dist/lib/components/edit-form/index.d.ts +6 -1
  8. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +6 -1
  9. package/dist/lib/components/edit-grid/index.d.ts +6 -3
  10. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +6 -3
  11. package/dist/lib/components/layout/index.d.ts +818 -6
  12. package/dist/lib/components/layout/src/index.vue.d.ts +818 -6
  13. package/dist/lib/components/layout/src/menu/menu.vue.d.ts +133 -6
  14. package/dist/lib/components/layout/src/sider/index.vue.d.ts +420 -20
  15. package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -1
  16. package/dist/lib/components/list-page-layout/index.d.ts +32 -3
  17. package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +2 -0
  18. package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +2 -2
  19. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +1 -0
  20. package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -1
  21. package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +3 -1
  22. package/dist/lib/components/list-page-layout/src/hooks/common-hook.d.ts +5 -0
  23. package/dist/lib/components/list-page-layout/src/hooks/use-column-drag-hook.d.ts +5 -0
  24. package/dist/lib/components/list-page-layout/src/hooks/use-default-props-hook.d.ts +3 -1
  25. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +32 -3
  26. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +11 -2
  27. package/dist/style.css +1 -1
  28. package/package.json +10 -10
@@ -1,5 +1,14 @@
1
- import type { Menu, UserInfoType, LayoutConfigType } from './src/types';
2
- import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { UndoOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UndoOutlined';
2
+ import type { CheckOutlinedIconType } from '@ant-design/icons-vue/lib/icons/CheckOutlined';
3
+ import type { LogoutOutlinedIconType } from '@ant-design/icons-vue/lib/icons/LogoutOutlined';
4
+ import type { SettingOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SettingOutlined';
5
+ import type { DefaultOptionType } from 'ant-design-vue/lib/select';
6
+ import type { Request } from '@qqt-product/api/dist/utils/request';
7
+ import type { CloseCircleOutlinedIconType } from '@ant-design/icons-vue/lib/icons/CloseCircleOutlined';
8
+ import type { SearchOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SearchOutlined';
9
+ import type { SrmI18n } from '../../utils/type';
10
+ import type { Menu, UserInfoType, LayoutConfigType, RouterPropsType, ImgStateList, ExtendMenu, FirstMenuMeta, ColorListType } from './src/types';
11
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
12
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
13
  import QQTLayout from './src/index.vue';
5
14
  export { QQTLayout };
@@ -90,6 +99,17 @@ declare const _default: SFCWithInstall<DefineComponent<{
90
99
  type: PropType<LayoutConfigType>;
91
100
  };
92
101
  }, {
102
+ srmI18n: SrmI18n;
103
+ props: any;
104
+ emit: (event: "menuSelect" | "schedule-click" | "services-click", ...args: any[]) => void;
105
+ SIDER_DEFAULT_WIDTH: number;
106
+ showDragTag: Ref<boolean>;
107
+ siderWidth: Ref<number>;
108
+ tagDragging: Ref<boolean>;
109
+ lineLeft: Ref<number>;
110
+ startX: Ref<number>;
111
+ secondMenuShow: Ref<boolean>;
112
+ siderRef: Ref<any>;
93
113
  menuSelect: (obj: any) => void;
94
114
  scheduleClick: () => void;
95
115
  servicesClick: () => void;
@@ -97,8 +117,800 @@ declare const _default: SFCWithInstall<DefineComponent<{
97
117
  target: Node | null;
98
118
  }) => void;
99
119
  updateMenuShow: (flag: boolean) => void;
100
- secondMenuShow: Ref<boolean>;
101
- siderRef: Ref<any>;
120
+ handleMouseDown: (event: MouseEvent) => void;
121
+ handleMouseUp: (event: MouseEvent) => void;
122
+ handleMouseLeave: () => void;
123
+ handleMouseMove: (event: MouseEvent) => void;
124
+ collapsedSider: (collapsed: boolean) => void;
125
+ handleUndo: () => void;
126
+ QLayoutSider: DefineComponent<{
127
+ siderWidth: {
128
+ type: NumberConstructor;
129
+ default: number;
130
+ };
131
+ secondMenuShow: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
135
+ placeholder: {
136
+ type: StringConstructor;
137
+ };
138
+ layoutMode: {
139
+ type: StringConstructor;
140
+ };
141
+ logoUrl: {
142
+ type: StringConstructor;
143
+ };
144
+ collapsible: {
145
+ type: BooleanConstructor;
146
+ };
147
+ mode: {
148
+ type: StringConstructor;
149
+ default: string;
150
+ };
151
+ theme: {
152
+ type: StringConstructor;
153
+ };
154
+ logoTitle: {
155
+ type: StringConstructor;
156
+ };
157
+ secondMenus: {
158
+ type: {
159
+ (arrayLength: number): Menu[];
160
+ (...items: Menu[]): Menu[];
161
+ new (arrayLength: number): Menu[];
162
+ new (...items: Menu[]): Menu[];
163
+ isArray(arg: any): arg is any[];
164
+ readonly prototype: any[];
165
+ from<T>(arrayLike: ArrayLike<T>): T[];
166
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
167
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
168
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
169
+ of<T_4>(...items: T_4[]): T_4[];
170
+ readonly [Symbol.species]: ArrayConstructor;
171
+ };
172
+ defualt: () => never[];
173
+ };
174
+ menus: {
175
+ type: {
176
+ (arrayLength: number): Menu[];
177
+ (...items: Menu[]): Menu[];
178
+ new (arrayLength: number): Menu[];
179
+ new (...items: Menu[]): Menu[];
180
+ isArray(arg: any): arg is any[];
181
+ readonly prototype: any[];
182
+ from<T>(arrayLike: ArrayLike<T>): T[];
183
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
184
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
185
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
186
+ of<T_4>(...items: T_4[]): T_4[];
187
+ readonly [Symbol.species]: ArrayConstructor;
188
+ };
189
+ defualt: () => never[];
190
+ };
191
+ }, {
192
+ props: any;
193
+ emit: (event: "menuSelect" | "schedule-click" | "services-click" | "updateMenuShow" | "collapsed-sider", ...args: any[]) => void;
194
+ router: {
195
+ push: (obj: RouterPropsType) => void;
196
+ };
197
+ srmI18n: SrmI18n;
198
+ userInfo: {
199
+ token: string;
200
+ srmVersion: string;
201
+ userInfo: {
202
+ id: string;
203
+ elsAccount: string;
204
+ subAccount: string;
205
+ realname: string;
206
+ avatar: string;
207
+ };
208
+ };
209
+ searchState: Ref<boolean>;
210
+ currentSearchValue: Ref<string>;
211
+ afterHandleFocus: () => void;
212
+ afterHandleBlur: () => void;
213
+ afterHandleChange: (value: string) => void;
214
+ state: ImgStateList;
215
+ menuRef: Ref<any>;
216
+ navMenus: ComputedRef<Menu[]>;
217
+ collapsed: Ref<boolean>;
218
+ toggle: () => void;
219
+ arrayRecursionFilter: (arr: Menu[], search: string) => Menu[];
220
+ menuSelect: (obj: any) => void;
221
+ getSchedule: ComputedRef<any>;
222
+ getServices: ComputedRef<any>;
223
+ scheduleHandle: () => void;
224
+ servicesHandle: () => void;
225
+ updateHistoryList: () => void;
226
+ handleUpdateMenuShow: (flag: boolean) => void;
227
+ logo: DefineComponent<{
228
+ title: {
229
+ type: StringConstructor;
230
+ default: string;
231
+ };
232
+ collapsed: {
233
+ type: BooleanConstructor;
234
+ default: boolean;
235
+ };
236
+ logoUrl: {
237
+ type: StringConstructor;
238
+ default: string;
239
+ };
240
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
241
+ title: {
242
+ type: StringConstructor;
243
+ default: string;
244
+ };
245
+ collapsed: {
246
+ type: BooleanConstructor;
247
+ default: boolean;
248
+ };
249
+ logoUrl: {
250
+ type: StringConstructor;
251
+ default: string;
252
+ };
253
+ }>>, {
254
+ title: string;
255
+ logoUrl: string;
256
+ collapsed: boolean;
257
+ }, {}>;
258
+ QMenu: DefineComponent<{
259
+ width: {
260
+ type: NumberConstructor;
261
+ default: number;
262
+ };
263
+ searchState: {
264
+ type: BooleanConstructor;
265
+ default: boolean;
266
+ };
267
+ currentSearchValue: {
268
+ type: StringConstructor;
269
+ default: string;
270
+ };
271
+ secondMenuShow: {
272
+ type: BooleanConstructor;
273
+ default: boolean;
274
+ };
275
+ collapsed: {
276
+ type: BooleanConstructor;
277
+ default: boolean;
278
+ };
279
+ menus: {
280
+ required: true;
281
+ type: {
282
+ (arrayLength: number): ExtendMenu[];
283
+ (...items: ExtendMenu[]): ExtendMenu[];
284
+ new (arrayLength: number): ExtendMenu[];
285
+ new (...items: ExtendMenu[]): ExtendMenu[];
286
+ isArray(arg: any): arg is any[];
287
+ readonly prototype: any[];
288
+ from<T>(arrayLike: ArrayLike<T>): T[];
289
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
290
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
291
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
292
+ of<T_4>(...items: T_4[]): T_4[];
293
+ readonly [Symbol.species]: ArrayConstructor;
294
+ };
295
+ default: () => never[];
296
+ };
297
+ theme: {
298
+ type: StringConstructor;
299
+ };
300
+ mode: {
301
+ type: StringConstructor;
302
+ default: string;
303
+ };
304
+ }, {
305
+ props: any;
306
+ emit: (event: "menuSelect" | "updateMenuShow" | "updateHistoryList", ...args: any[]) => void;
307
+ router: {
308
+ push: (obj: RouterPropsType) => void;
309
+ };
310
+ userInfo: {
311
+ token: string;
312
+ srmVersion: string;
313
+ userInfo: {
314
+ id: string;
315
+ elsAccount: string;
316
+ subAccount: string;
317
+ realname: string;
318
+ avatar: string;
319
+ };
320
+ };
321
+ historyListKey: string;
322
+ secondMenuMap: Map<string, ExtendMenu[]>;
323
+ secondLevelMenus: Ref<ExtendMenu[] | undefined>;
324
+ firstLevelMenus: Ref<{
325
+ hidden?: boolean | null | undefined;
326
+ isLocal?: boolean | undefined;
327
+ hasChild?: boolean | undefined;
328
+ count?: string | number | undefined;
329
+ redirect?: string | null | undefined;
330
+ path: string;
331
+ component: string;
332
+ route: string;
333
+ children?: {
334
+ redirect?: string | null | undefined;
335
+ path: string;
336
+ component: string;
337
+ route: string;
338
+ hidden?: boolean | null | undefined;
339
+ children?: any[] | undefined;
340
+ meta: {
341
+ [x: string]: string;
342
+ title: string;
343
+ icon: string;
344
+ };
345
+ mobile?: boolean | undefined;
346
+ name: string;
347
+ id: string;
348
+ }[] | undefined;
349
+ meta: {
350
+ [x: string]: string;
351
+ title: string;
352
+ icon: string;
353
+ };
354
+ mobile?: boolean | undefined;
355
+ name: string;
356
+ id: string;
357
+ }[]>;
358
+ currentActive: Ref<number>;
359
+ meta: Ref<FirstMenuMeta | undefined>;
360
+ firstMenuSelect: (item: ExtendMenu, index: number) => void;
361
+ updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
362
+ menuSelect: () => void;
363
+ expandedKeys: Ref<(string | number)[]>;
364
+ autoExpandParent: Ref<boolean>;
365
+ onSelect: (selectedKeys: string[], e: any) => void;
366
+ readonly QIcon: DefineComponent<{
367
+ type: {
368
+ type: PropType<string>;
369
+ default: string;
370
+ };
371
+ size: {
372
+ type: (StringConstructor | NumberConstructor)[];
373
+ };
374
+ color: {
375
+ type: StringConstructor;
376
+ };
377
+ }, {
378
+ fontSize: ComputedRef<{
379
+ fontSize: string;
380
+ }>;
381
+ iconType: ComputedRef<string>;
382
+ iconColor: ComputedRef<{
383
+ color: string;
384
+ }>;
385
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
386
+ type: {
387
+ type: PropType<string>;
388
+ default: string;
389
+ };
390
+ size: {
391
+ type: (StringConstructor | NumberConstructor)[];
392
+ };
393
+ color: {
394
+ type: StringConstructor;
395
+ };
396
+ }>>, {
397
+ type: string;
398
+ }, {}>;
399
+ secondLevelMenu: DefineComponent<{
400
+ meta: {
401
+ type: PropType<FirstMenuMeta>;
402
+ default: () => {};
403
+ };
404
+ mode: {
405
+ type: StringConstructor;
406
+ default: string;
407
+ };
408
+ theme: {
409
+ type: StringConstructor;
410
+ };
411
+ menus: {
412
+ type: {
413
+ (arrayLength: number): Menu[];
414
+ (...items: Menu[]): Menu[];
415
+ new (arrayLength: number): Menu[];
416
+ new (...items: Menu[]): Menu[];
417
+ isArray(arg: any): arg is any[];
418
+ readonly prototype: any[];
419
+ from<T>(arrayLike: ArrayLike<T>): T[];
420
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
421
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
422
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
423
+ of<T_4>(...items: T_4[]): T_4[];
424
+ readonly [Symbol.species]: ArrayConstructor;
425
+ };
426
+ defualt: () => never[];
427
+ };
428
+ }, {
429
+ menuSelect: (obj: any) => void;
430
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "menuSelect"[], "menuSelect", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
431
+ meta: {
432
+ type: PropType<FirstMenuMeta>;
433
+ default: () => {};
434
+ };
435
+ mode: {
436
+ type: StringConstructor;
437
+ default: string;
438
+ };
439
+ theme: {
440
+ type: StringConstructor;
441
+ };
442
+ menus: {
443
+ type: {
444
+ (arrayLength: number): Menu[];
445
+ (...items: Menu[]): Menu[];
446
+ new (arrayLength: number): Menu[];
447
+ new (...items: Menu[]): Menu[];
448
+ isArray(arg: any): arg is any[];
449
+ readonly prototype: any[];
450
+ from<T>(arrayLike: ArrayLike<T>): T[];
451
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
452
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
453
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
454
+ of<T_4>(...items: T_4[]): T_4[];
455
+ readonly [Symbol.species]: ArrayConstructor;
456
+ };
457
+ defualt: () => never[];
458
+ };
459
+ }>> & {
460
+ onMenuSelect?: ((...args: any[]) => any) | undefined;
461
+ }, {
462
+ meta: FirstMenuMeta;
463
+ mode: string;
464
+ }, {}>;
465
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "updateMenuShow" | "updateHistoryList")[], "menuSelect" | "updateMenuShow" | "updateHistoryList", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
466
+ width: {
467
+ type: NumberConstructor;
468
+ default: number;
469
+ };
470
+ searchState: {
471
+ type: BooleanConstructor;
472
+ default: boolean;
473
+ };
474
+ currentSearchValue: {
475
+ type: StringConstructor;
476
+ default: string;
477
+ };
478
+ secondMenuShow: {
479
+ type: BooleanConstructor;
480
+ default: boolean;
481
+ };
482
+ collapsed: {
483
+ type: BooleanConstructor;
484
+ default: boolean;
485
+ };
486
+ menus: {
487
+ required: true;
488
+ type: {
489
+ (arrayLength: number): ExtendMenu[];
490
+ (...items: ExtendMenu[]): ExtendMenu[];
491
+ new (arrayLength: number): ExtendMenu[];
492
+ new (...items: ExtendMenu[]): ExtendMenu[];
493
+ isArray(arg: any): arg is any[];
494
+ readonly prototype: any[];
495
+ from<T>(arrayLike: ArrayLike<T>): T[];
496
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
497
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
498
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
499
+ of<T_4>(...items: T_4[]): T_4[];
500
+ readonly [Symbol.species]: ArrayConstructor;
501
+ };
502
+ default: () => never[];
503
+ };
504
+ theme: {
505
+ type: StringConstructor;
506
+ };
507
+ mode: {
508
+ type: StringConstructor;
509
+ default: string;
510
+ };
511
+ }>> & {
512
+ onMenuSelect?: ((...args: any[]) => any) | undefined;
513
+ onUpdateMenuShow?: ((...args: any[]) => any) | undefined;
514
+ onUpdateHistoryList?: ((...args: any[]) => any) | undefined;
515
+ }, {
516
+ width: number;
517
+ mode: string;
518
+ menus: ExtendMenu[];
519
+ secondMenuShow: boolean;
520
+ collapsed: boolean;
521
+ searchState: boolean;
522
+ currentSearchValue: string;
523
+ }, {}>;
524
+ menuSearch: DefineComponent<{
525
+ collapsed: {
526
+ type: BooleanConstructor;
527
+ default: boolean;
528
+ };
529
+ searchState: {
530
+ type: BooleanConstructor;
531
+ default: boolean;
532
+ };
533
+ }, {
534
+ router: {
535
+ push: (obj: RouterPropsType) => void;
536
+ };
537
+ srmI18n: SrmI18n;
538
+ userInfo: {
539
+ token: string;
540
+ srmVersion: string;
541
+ userInfo: {
542
+ id: string;
543
+ elsAccount: string;
544
+ subAccount: string;
545
+ realname: string;
546
+ avatar: string;
547
+ };
548
+ };
549
+ historyListKey: string;
550
+ emit: (event: "handleCollapsed" | "afterHandleFocus" | "afterHandleBlur" | "afterHandleChange", ...args: any[]) => void;
551
+ props: any;
552
+ search: Ref<string>;
553
+ handleFocus: () => void;
554
+ handleBlur: () => void;
555
+ handleChange: () => void;
556
+ historyList: Ref<{
557
+ hidden?: boolean | null | undefined;
558
+ isLocal?: boolean | undefined;
559
+ hasChild?: boolean | undefined;
560
+ count?: string | number | undefined;
561
+ redirect?: string | null | undefined;
562
+ path: string;
563
+ component: string;
564
+ route: string;
565
+ children?: {
566
+ redirect?: string | null | undefined;
567
+ path: string;
568
+ component: string;
569
+ route: string;
570
+ hidden?: boolean | null | undefined;
571
+ children?: any[] | undefined;
572
+ meta: {
573
+ [x: string]: string;
574
+ title: string;
575
+ icon: string;
576
+ };
577
+ mobile?: boolean | undefined;
578
+ name: string;
579
+ id: string;
580
+ }[] | undefined;
581
+ meta: {
582
+ [x: string]: string;
583
+ title: string;
584
+ icon: string;
585
+ };
586
+ mobile?: boolean | undefined;
587
+ name: string;
588
+ id: string;
589
+ }[]>;
590
+ upDateHistoryList: () => ExtendMenu[];
591
+ goHistoryPage: (his: ExtendMenu) => void;
592
+ delHistoryItem: (index: number) => void;
593
+ clearAllHistory: () => void;
594
+ readonly SearchOutlined: SearchOutlinedIconType;
595
+ readonly CloseCircleOutlined: CloseCircleOutlinedIconType;
596
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("handleCollapsed" | "afterHandleFocus" | "afterHandleBlur" | "afterHandleChange")[], "handleCollapsed" | "afterHandleFocus" | "afterHandleBlur" | "afterHandleChange", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
597
+ collapsed: {
598
+ type: BooleanConstructor;
599
+ default: boolean;
600
+ };
601
+ searchState: {
602
+ type: BooleanConstructor;
603
+ default: boolean;
604
+ };
605
+ }>> & {
606
+ onHandleCollapsed?: ((...args: any[]) => any) | undefined;
607
+ onAfterHandleFocus?: ((...args: any[]) => any) | undefined;
608
+ onAfterHandleBlur?: ((...args: any[]) => any) | undefined;
609
+ onAfterHandleChange?: ((...args: any[]) => any) | undefined;
610
+ }, {
611
+ collapsed: boolean;
612
+ searchState: boolean;
613
+ }, {}>;
614
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "updateMenuShow" | "collapsed-sider")[], "menuSelect" | "schedule-click" | "services-click" | "updateMenuShow" | "collapsed-sider", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
615
+ siderWidth: {
616
+ type: NumberConstructor;
617
+ default: number;
618
+ };
619
+ secondMenuShow: {
620
+ type: BooleanConstructor;
621
+ default: boolean;
622
+ };
623
+ placeholder: {
624
+ type: StringConstructor;
625
+ };
626
+ layoutMode: {
627
+ type: StringConstructor;
628
+ };
629
+ logoUrl: {
630
+ type: StringConstructor;
631
+ };
632
+ collapsible: {
633
+ type: BooleanConstructor;
634
+ };
635
+ mode: {
636
+ type: StringConstructor;
637
+ default: string;
638
+ };
639
+ theme: {
640
+ type: StringConstructor;
641
+ };
642
+ logoTitle: {
643
+ type: StringConstructor;
644
+ };
645
+ secondMenus: {
646
+ type: {
647
+ (arrayLength: number): Menu[];
648
+ (...items: Menu[]): Menu[];
649
+ new (arrayLength: number): Menu[];
650
+ new (...items: Menu[]): Menu[];
651
+ isArray(arg: any): arg is any[];
652
+ readonly prototype: any[];
653
+ from<T>(arrayLike: ArrayLike<T>): T[];
654
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
655
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
656
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
657
+ of<T_4>(...items: T_4[]): T_4[];
658
+ readonly [Symbol.species]: ArrayConstructor;
659
+ };
660
+ defualt: () => never[];
661
+ };
662
+ menus: {
663
+ type: {
664
+ (arrayLength: number): Menu[];
665
+ (...items: Menu[]): Menu[];
666
+ new (arrayLength: number): Menu[];
667
+ new (...items: Menu[]): Menu[];
668
+ isArray(arg: any): arg is any[];
669
+ readonly prototype: any[];
670
+ from<T>(arrayLike: ArrayLike<T>): T[];
671
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
672
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
673
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
674
+ of<T_4>(...items: T_4[]): T_4[];
675
+ readonly [Symbol.species]: ArrayConstructor;
676
+ };
677
+ defualt: () => never[];
678
+ };
679
+ }>> & {
680
+ onMenuSelect?: ((...args: any[]) => any) | undefined;
681
+ "onSchedule-click"?: ((...args: any[]) => any) | undefined;
682
+ "onServices-click"?: ((...args: any[]) => any) | undefined;
683
+ onUpdateMenuShow?: ((...args: any[]) => any) | undefined;
684
+ "onCollapsed-sider"?: ((...args: any[]) => any) | undefined;
685
+ }, {
686
+ mode: string;
687
+ collapsible: boolean;
688
+ siderWidth: number;
689
+ secondMenuShow: boolean;
690
+ }, {}>;
691
+ QLayoutHeader: DefineComponent<{}, {
692
+ srmI18n: SrmI18n;
693
+ tanentPageHome: () => void;
694
+ shoppingMall: () => void;
695
+ webFinancialCloud: () => void;
696
+ webProcurement: () => void;
697
+ headerLayoutConfig: {
698
+ showTanentPageHome: boolean;
699
+ showShoppingMall: boolean;
700
+ showWebProcurement: boolean;
701
+ };
702
+ btns: Ref<{
703
+ title: string;
704
+ icon: string;
705
+ type: string;
706
+ color?: string | undefined;
707
+ show?: boolean | undefined;
708
+ }[]>;
709
+ linkHandle: (type: string) => void;
710
+ readonly QIcon: DefineComponent<{
711
+ type: {
712
+ type: PropType<string>;
713
+ default: string;
714
+ };
715
+ size: {
716
+ type: (StringConstructor | NumberConstructor)[];
717
+ };
718
+ color: {
719
+ type: StringConstructor;
720
+ };
721
+ }, {
722
+ fontSize: ComputedRef<{
723
+ fontSize: string;
724
+ }>;
725
+ iconType: ComputedRef<string>;
726
+ iconColor: ComputedRef<{
727
+ color: string;
728
+ }>;
729
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
730
+ type: {
731
+ type: PropType<string>;
732
+ default: string;
733
+ };
734
+ size: {
735
+ type: (StringConstructor | NumberConstructor)[];
736
+ };
737
+ color: {
738
+ type: StringConstructor;
739
+ };
740
+ }>>, {
741
+ type: string;
742
+ }, {}>;
743
+ navRight: DefineComponent<{}, {
744
+ showDrawer: Ref<boolean>;
745
+ showGlobalStyleDrawer: () => void;
746
+ handleDrawerClosed: () => void;
747
+ rightTool: DefineComponent<{}, {
748
+ lightTheme: Ref<"dark" | "light">;
749
+ darkTheme: Ref<"dark" | "light">;
750
+ Q_APPLICATION_CONFIG: {
751
+ updateTheme: () => void;
752
+ theme: string;
753
+ };
754
+ handleChat: () => void;
755
+ srmI18n: SrmI18n;
756
+ handleKefu: () => void;
757
+ theme: string;
758
+ updateTheme: () => void;
759
+ list: Ref<{
760
+ title: string;
761
+ icon: string;
762
+ type: string;
763
+ color?: string | undefined;
764
+ show?: boolean | undefined;
765
+ }[]>;
766
+ iconToolClick: (type: string) => void;
767
+ openChat: () => void;
768
+ fetchCustomer: () => void;
769
+ readonly QSymbolIcon: DefineComponent<{
770
+ type: {
771
+ type: PropType<string>;
772
+ default: string;
773
+ };
774
+ size: {
775
+ type: (StringConstructor | NumberConstructor)[];
776
+ };
777
+ color: {
778
+ type: StringConstructor;
779
+ };
780
+ }, {
781
+ fontSize: ComputedRef<string>;
782
+ iconType: ComputedRef<string>;
783
+ iconColor: ComputedRef<string>;
784
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
785
+ type: {
786
+ type: PropType<string>;
787
+ default: string;
788
+ };
789
+ size: {
790
+ type: (StringConstructor | NumberConstructor)[];
791
+ };
792
+ color: {
793
+ type: StringConstructor;
794
+ };
795
+ }>>, {
796
+ type: string;
797
+ }, {}>;
798
+ message: DefineComponent<{}, {
799
+ handleMsgRecord: () => void;
800
+ srmI18n: SrmI18n;
801
+ msgTotal: Ref<number>;
802
+ toElsMsgRecord: () => void;
803
+ readonly QSymbolIcon: DefineComponent<{
804
+ type: {
805
+ type: PropType<string>;
806
+ default: string;
807
+ };
808
+ size: {
809
+ type: (StringConstructor | NumberConstructor)[];
810
+ };
811
+ color: {
812
+ type: StringConstructor;
813
+ };
814
+ }, {
815
+ fontSize: ComputedRef<string>;
816
+ iconType: ComputedRef<string>;
817
+ iconColor: ComputedRef<string>;
818
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
819
+ type: {
820
+ type: PropType<string>;
821
+ default: string;
822
+ };
823
+ size: {
824
+ type: (StringConstructor | NumberConstructor)[];
825
+ };
826
+ color: {
827
+ type: StringConstructor;
828
+ };
829
+ }>>, {
830
+ type: string;
831
+ }, {}>;
832
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
833
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
834
+ langSwitch: DefineComponent<{}, {
835
+ request: Request;
836
+ defaultLanguage: string;
837
+ switchLanguage: (lang: string) => void;
838
+ userInfo: {
839
+ token: string;
840
+ srmVersion: string;
841
+ userInfo: {
842
+ id: string;
843
+ elsAccount: string;
844
+ subAccount: string;
845
+ realname: string;
846
+ avatar: string;
847
+ };
848
+ };
849
+ langs: Ref<{
850
+ [x: string]: any;
851
+ label?: any;
852
+ value?: string | number | null | undefined;
853
+ children?: Omit<DefaultOptionType, "children">[] | undefined;
854
+ disabled?: boolean | undefined;
855
+ }[] | undefined>;
856
+ getData: () => void;
857
+ currentLang: Ref<string>;
858
+ changeLangHandle: () => void;
859
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
860
+ customPerson: DefineComponent<{}, {
861
+ srmI18n: SrmI18n;
862
+ userInfo: {
863
+ token: string;
864
+ srmVersion: string;
865
+ userInfo: {
866
+ id: string;
867
+ elsAccount: string;
868
+ subAccount: string;
869
+ realname: string;
870
+ avatar: string;
871
+ };
872
+ };
873
+ personalSetting: () => void;
874
+ handleLogout: () => void;
875
+ nickname: Ref<string>;
876
+ avatarUrl: ComputedRef<string>;
877
+ handlePersonalSettings: () => void;
878
+ readonly SettingOutlined: SettingOutlinedIconType;
879
+ readonly LogoutOutlined: LogoutOutlinedIconType;
880
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
881
+ settingDrawer: DefineComponent<{
882
+ visible: {
883
+ type: BooleanConstructor;
884
+ required: true;
885
+ };
886
+ }, {
887
+ srmI18n: SrmI18n;
888
+ props: any;
889
+ emit: (event: "handleClosed", ...args: any[]) => void;
890
+ drawerVisible: any;
891
+ primaryColor: Ref<string>;
892
+ colorList: ColorListType[];
893
+ changeColor: (color: string) => void;
894
+ close: () => void;
895
+ colorState: {
896
+ primaryColor: string;
897
+ errorColor: string;
898
+ warningColor: string;
899
+ successColor: string;
900
+ infoColor: string;
901
+ };
902
+ readonly CheckOutlined: CheckOutlinedIconType;
903
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "handleClosed"[], "handleClosed", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
904
+ visible: {
905
+ type: BooleanConstructor;
906
+ required: true;
907
+ };
908
+ }>> & {
909
+ onHandleClosed?: ((...args: any[]) => any) | undefined;
910
+ }, {}, {}>;
911
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
912
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
913
+ readonly UndoOutlined: UndoOutlinedIconType;
102
914
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click")[], "menuSelect" | "schedule-click" | "services-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
103
915
  internalOrExternal: {
104
916
  type: BooleanConstructor;
@@ -190,9 +1002,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
190
1002
  "onSchedule-click"?: ((...args: any[]) => any) | undefined;
191
1003
  "onServices-click"?: ((...args: any[]) => any) | undefined;
192
1004
  }, {
1005
+ internalOrExternal: boolean;
1006
+ collapsible: boolean;
193
1007
  menus: Menu[];
194
1008
  layoutMode: string;
195
- collapsible: boolean;
196
- internalOrExternal: boolean;
197
1009
  }, {}>>;
198
1010
  export default _default;