@qqt-product/ui 14.0.2 → 14.0.4

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.
@@ -1,6 +1,10 @@
1
- import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- import type { Menu, SelectedMemu, ExtendMenu } from '../types';
1
+ import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import type { Menu, SelectedMemu, RouterPropsType, ExtendMenu } from '../types';
3
3
  declare const _sfc_main: DefineComponent<{
4
+ defineMode: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
4
8
  menus: {
5
9
  type: {
6
10
  (arrayLength: number): Menu[];
@@ -43,10 +47,67 @@ declare const _sfc_main: DefineComponent<{
43
47
  default: () => never[];
44
48
  };
45
49
  }, {
50
+ props: any;
51
+ emit: (event: "menuSelect", ...args: any[]) => void;
52
+ router: {
53
+ push: (obj: RouterPropsType) => void;
54
+ };
46
55
  state: SelectedMemu;
47
- menuSelect: (obj: any) => void;
48
56
  secondMenuRouter: (item: ExtendMenu) => void;
57
+ menuSelect: (obj: any) => void;
58
+ readonly QIcon: DefineComponent<{
59
+ type: {
60
+ type: PropType<string>;
61
+ default: string;
62
+ };
63
+ size: {
64
+ type: (StringConstructor | NumberConstructor)[];
65
+ };
66
+ color: {
67
+ type: StringConstructor;
68
+ };
69
+ }, {
70
+ fontSize: ComputedRef<{
71
+ fontSize: string;
72
+ }>;
73
+ iconType: ComputedRef<string>;
74
+ iconColor: ComputedRef<{
75
+ color: string;
76
+ }>;
77
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
78
+ type: {
79
+ type: PropType<string>;
80
+ default: string;
81
+ };
82
+ size: {
83
+ type: (StringConstructor | NumberConstructor)[];
84
+ };
85
+ color: {
86
+ type: StringConstructor;
87
+ };
88
+ }>>, {
89
+ type: string;
90
+ }, {}>;
91
+ QDeepCycleSubMenu: DefineComponent<{
92
+ menuInfo: {
93
+ type: ObjectConstructor;
94
+ default: () => {};
95
+ };
96
+ }, {
97
+ deepCycleMenuRouter: (item: ExtendMenu) => void;
98
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
99
+ menuInfo: {
100
+ type: ObjectConstructor;
101
+ default: () => {};
102
+ };
103
+ }>>, {
104
+ menuInfo: Record<string, any>;
105
+ }, {}>;
49
106
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "menuSelect"[], "menuSelect", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
107
+ defineMode: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
50
111
  menus: {
51
112
  type: {
52
113
  (arrayLength: number): Menu[];
@@ -93,6 +154,7 @@ declare const _sfc_main: DefineComponent<{
93
154
  }, {
94
155
  mode: string;
95
156
  menus: Menu[];
157
+ defineMode: string;
96
158
  searchOpenKeys: string[];
97
159
  }, {}>;
98
160
  export default _sfc_main;
@@ -2,8 +2,12 @@ import type { CloseCircleOutlinedIconType } from '@ant-design/icons-vue/lib/icon
2
2
  import type { SearchOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SearchOutlined';
3
3
  import type { SrmI18n } from '../../../../utils/type';
4
4
  import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
5
- import type { ExtendMenu, FirstMenuMeta, Menu, ImgStateList, RouterPropsType } from '../types';
5
+ import type { ExtendMenu, FirstMenuMeta, SelectedMemu, Menu, ImgStateList, RouterPropsType } from '../types';
6
6
  declare const _sfc_main: DefineComponent<{
7
+ showGlobalStyleSettingsMenuPattern: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
7
11
  siderWidth: {
8
12
  type: NumberConstructor;
9
13
  default: number;
@@ -140,6 +144,10 @@ declare const _sfc_main: DefineComponent<{
140
144
  collapsed: boolean;
141
145
  }, {}>;
142
146
  QMenu: DefineComponent<{
147
+ globalStyleSettingsMenuPattern: {
148
+ type: BooleanConstructor;
149
+ default: boolean;
150
+ };
143
151
  width: {
144
152
  type: NumberConstructor;
145
153
  default: number;
@@ -261,6 +269,7 @@ declare const _sfc_main: DefineComponent<{
261
269
  currentActive: Ref<number>;
262
270
  meta: Ref<FirstMenuMeta | undefined>;
263
271
  isEffectiveRoutePath: Ref<boolean>;
272
+ customMode: ComputedRef<"vertical" | "inline">;
264
273
  firstMenuSelect: (item: ExtendMenu, index: number) => void;
265
274
  updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
266
275
  menuSelect: () => void;
@@ -368,7 +377,168 @@ declare const _sfc_main: DefineComponent<{
368
377
  meta: FirstMenuMeta;
369
378
  mode: string;
370
379
  }, {}>;
380
+ subSecondMenu: DefineComponent<{
381
+ defineMode: {
382
+ type: StringConstructor;
383
+ default: string;
384
+ };
385
+ menus: {
386
+ type: {
387
+ (arrayLength: number): Menu[];
388
+ (...items: Menu[]): Menu[];
389
+ new (arrayLength: number): Menu[];
390
+ new (...items: Menu[]): Menu[];
391
+ isArray(arg: any): arg is any[];
392
+ readonly prototype: any[];
393
+ from<T>(arrayLike: ArrayLike<T>): T[];
394
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
395
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
396
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
397
+ of<T_4>(...items: T_4[]): T_4[];
398
+ readonly [Symbol.species]: ArrayConstructor;
399
+ };
400
+ default: () => never[];
401
+ };
402
+ theme: {
403
+ type: StringConstructor;
404
+ };
405
+ mode: {
406
+ type: StringConstructor;
407
+ default: string;
408
+ };
409
+ searchOpenKeys: {
410
+ type: {
411
+ (arrayLength: number): string[];
412
+ (...items: string[]): string[];
413
+ new (arrayLength: number): string[];
414
+ new (...items: string[]): string[];
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
+ default: () => never[];
425
+ };
426
+ }, {
427
+ props: any;
428
+ emit: (event: "menuSelect", ...args: any[]) => void;
429
+ router: {
430
+ push: (obj: RouterPropsType) => void;
431
+ };
432
+ state: SelectedMemu;
433
+ secondMenuRouter: (item: ExtendMenu) => void;
434
+ menuSelect: (obj: any) => void;
435
+ readonly QIcon: DefineComponent<{
436
+ type: {
437
+ type: PropType<string>;
438
+ default: string;
439
+ };
440
+ size: {
441
+ type: (StringConstructor | NumberConstructor)[];
442
+ };
443
+ color: {
444
+ type: StringConstructor;
445
+ };
446
+ }, {
447
+ fontSize: ComputedRef<{
448
+ fontSize: string;
449
+ }>;
450
+ iconType: ComputedRef<string>;
451
+ iconColor: ComputedRef<{
452
+ color: string;
453
+ }>;
454
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
455
+ type: {
456
+ type: PropType<string>;
457
+ default: string;
458
+ };
459
+ size: {
460
+ type: (StringConstructor | NumberConstructor)[];
461
+ };
462
+ color: {
463
+ type: StringConstructor;
464
+ };
465
+ }>>, {
466
+ type: string;
467
+ }, {}>;
468
+ QDeepCycleSubMenu: DefineComponent<{
469
+ menuInfo: {
470
+ type: ObjectConstructor;
471
+ default: () => {};
472
+ };
473
+ }, {
474
+ deepCycleMenuRouter: (item: ExtendMenu) => void;
475
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
476
+ menuInfo: {
477
+ type: ObjectConstructor;
478
+ default: () => {};
479
+ };
480
+ }>>, {
481
+ menuInfo: Record<string, any>;
482
+ }, {}>;
483
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "menuSelect"[], "menuSelect", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
484
+ defineMode: {
485
+ type: StringConstructor;
486
+ default: string;
487
+ };
488
+ menus: {
489
+ type: {
490
+ (arrayLength: number): Menu[];
491
+ (...items: Menu[]): Menu[];
492
+ new (arrayLength: number): Menu[];
493
+ new (...items: Menu[]): Menu[];
494
+ isArray(arg: any): arg is any[];
495
+ readonly prototype: any[];
496
+ from<T>(arrayLike: ArrayLike<T>): T[];
497
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
498
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
499
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
500
+ of<T_4>(...items: T_4[]): T_4[];
501
+ readonly [Symbol.species]: ArrayConstructor;
502
+ };
503
+ default: () => never[];
504
+ };
505
+ theme: {
506
+ type: StringConstructor;
507
+ };
508
+ mode: {
509
+ type: StringConstructor;
510
+ default: string;
511
+ };
512
+ searchOpenKeys: {
513
+ type: {
514
+ (arrayLength: number): string[];
515
+ (...items: string[]): string[];
516
+ new (arrayLength: number): string[];
517
+ new (...items: string[]): string[];
518
+ isArray(arg: any): arg is any[];
519
+ readonly prototype: any[];
520
+ from<T>(arrayLike: ArrayLike<T>): T[];
521
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
522
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
523
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
524
+ of<T_4>(...items: T_4[]): T_4[];
525
+ readonly [Symbol.species]: ArrayConstructor;
526
+ };
527
+ default: () => never[];
528
+ };
529
+ }>> & {
530
+ onMenuSelect?: ((...args: any[]) => any) | undefined;
531
+ }, {
532
+ mode: string;
533
+ menus: Menu[];
534
+ defineMode: string;
535
+ searchOpenKeys: string[];
536
+ }, {}>;
371
537
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "updateMenuShow" | "updateHistoryList")[], "menuSelect" | "updateMenuShow" | "updateHistoryList", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
538
+ globalStyleSettingsMenuPattern: {
539
+ type: BooleanConstructor;
540
+ default: boolean;
541
+ };
372
542
  width: {
373
543
  type: NumberConstructor;
374
544
  default: number;
@@ -442,6 +612,7 @@ declare const _sfc_main: DefineComponent<{
442
612
  menus: ExtendMenu[];
443
613
  secondMenuShow: boolean;
444
614
  collapsed: boolean;
615
+ globalStyleSettingsMenuPattern: boolean;
445
616
  searchState: boolean;
446
617
  currentSearchValue: string;
447
618
  sourceData: ExtendMenu[];
@@ -537,6 +708,10 @@ declare const _sfc_main: DefineComponent<{
537
708
  searchState: boolean;
538
709
  }, {}>;
539
710
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "updateMenuShow" | "collapsed-sider")[], "menuSelect" | "schedule-click" | "services-click" | "updateMenuShow" | "collapsed-sider", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
711
+ showGlobalStyleSettingsMenuPattern: {
712
+ type: BooleanConstructor;
713
+ default: boolean;
714
+ };
540
715
  siderWidth: {
541
716
  type: NumberConstructor;
542
717
  default: number;
@@ -610,6 +785,7 @@ declare const _sfc_main: DefineComponent<{
610
785
  }, {
611
786
  mode: string;
612
787
  collapsible: boolean;
788
+ showGlobalStyleSettingsMenuPattern: boolean;
613
789
  siderWidth: number;
614
790
  secondMenuShow: boolean;
615
791
  }, {}>;