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