@qqt-product/ui 8.0.3 → 9.0.1

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