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