@qqt-product/ui 14.0.1 → 14.0.3
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.
- package/dist/index.es.js +4567 -4554
- package/dist/index.umd.js +59 -59
- package/dist/lib/components/layout/index.d.ts +177 -1
- package/dist/lib/components/layout/src/index.vue.d.ts +177 -1
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +167 -1
- package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +65 -3
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +176 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -368,7 +376,168 @@ declare const _sfc_main: DefineComponent<{
|
|
|
368
376
|
meta: FirstMenuMeta;
|
|
369
377
|
mode: string;
|
|
370
378
|
}, {}>;
|
|
379
|
+
subSecondMenu: DefineComponent<{
|
|
380
|
+
defineMode: {
|
|
381
|
+
type: StringConstructor;
|
|
382
|
+
default: string;
|
|
383
|
+
};
|
|
384
|
+
menus: {
|
|
385
|
+
type: {
|
|
386
|
+
(arrayLength: number): Menu[];
|
|
387
|
+
(...items: Menu[]): Menu[];
|
|
388
|
+
new (arrayLength: number): Menu[];
|
|
389
|
+
new (...items: Menu[]): Menu[];
|
|
390
|
+
isArray(arg: any): arg is any[];
|
|
391
|
+
readonly prototype: any[];
|
|
392
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
393
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
394
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
395
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
396
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
397
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
398
|
+
};
|
|
399
|
+
default: () => never[];
|
|
400
|
+
};
|
|
401
|
+
theme: {
|
|
402
|
+
type: StringConstructor;
|
|
403
|
+
};
|
|
404
|
+
mode: {
|
|
405
|
+
type: StringConstructor;
|
|
406
|
+
default: string;
|
|
407
|
+
};
|
|
408
|
+
searchOpenKeys: {
|
|
409
|
+
type: {
|
|
410
|
+
(arrayLength: number): string[];
|
|
411
|
+
(...items: string[]): string[];
|
|
412
|
+
new (arrayLength: number): string[];
|
|
413
|
+
new (...items: string[]): string[];
|
|
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
|
+
default: () => never[];
|
|
424
|
+
};
|
|
425
|
+
}, {
|
|
426
|
+
props: any;
|
|
427
|
+
emit: (event: "menuSelect", ...args: any[]) => void;
|
|
428
|
+
router: {
|
|
429
|
+
push: (obj: RouterPropsType) => void;
|
|
430
|
+
};
|
|
431
|
+
state: SelectedMemu;
|
|
432
|
+
secondMenuRouter: (item: ExtendMenu) => void;
|
|
433
|
+
menuSelect: (obj: any) => void;
|
|
434
|
+
readonly QIcon: DefineComponent<{
|
|
435
|
+
type: {
|
|
436
|
+
type: PropType<string>;
|
|
437
|
+
default: string;
|
|
438
|
+
};
|
|
439
|
+
size: {
|
|
440
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
441
|
+
};
|
|
442
|
+
color: {
|
|
443
|
+
type: StringConstructor;
|
|
444
|
+
};
|
|
445
|
+
}, {
|
|
446
|
+
fontSize: ComputedRef<{
|
|
447
|
+
fontSize: string;
|
|
448
|
+
}>;
|
|
449
|
+
iconType: ComputedRef<string>;
|
|
450
|
+
iconColor: ComputedRef<{
|
|
451
|
+
color: string;
|
|
452
|
+
}>;
|
|
453
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
454
|
+
type: {
|
|
455
|
+
type: PropType<string>;
|
|
456
|
+
default: string;
|
|
457
|
+
};
|
|
458
|
+
size: {
|
|
459
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
460
|
+
};
|
|
461
|
+
color: {
|
|
462
|
+
type: StringConstructor;
|
|
463
|
+
};
|
|
464
|
+
}>>, {
|
|
465
|
+
type: string;
|
|
466
|
+
}, {}>;
|
|
467
|
+
QDeepCycleSubMenu: DefineComponent<{
|
|
468
|
+
menuInfo: {
|
|
469
|
+
type: ObjectConstructor;
|
|
470
|
+
default: () => {};
|
|
471
|
+
};
|
|
472
|
+
}, {
|
|
473
|
+
deepCycleMenuRouter: (item: ExtendMenu) => void;
|
|
474
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
475
|
+
menuInfo: {
|
|
476
|
+
type: ObjectConstructor;
|
|
477
|
+
default: () => {};
|
|
478
|
+
};
|
|
479
|
+
}>>, {
|
|
480
|
+
menuInfo: Record<string, any>;
|
|
481
|
+
}, {}>;
|
|
482
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "menuSelect"[], "menuSelect", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
483
|
+
defineMode: {
|
|
484
|
+
type: StringConstructor;
|
|
485
|
+
default: string;
|
|
486
|
+
};
|
|
487
|
+
menus: {
|
|
488
|
+
type: {
|
|
489
|
+
(arrayLength: number): Menu[];
|
|
490
|
+
(...items: Menu[]): Menu[];
|
|
491
|
+
new (arrayLength: number): Menu[];
|
|
492
|
+
new (...items: Menu[]): Menu[];
|
|
493
|
+
isArray(arg: any): arg is any[];
|
|
494
|
+
readonly prototype: any[];
|
|
495
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
496
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
497
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
498
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
499
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
500
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
501
|
+
};
|
|
502
|
+
default: () => never[];
|
|
503
|
+
};
|
|
504
|
+
theme: {
|
|
505
|
+
type: StringConstructor;
|
|
506
|
+
};
|
|
507
|
+
mode: {
|
|
508
|
+
type: StringConstructor;
|
|
509
|
+
default: string;
|
|
510
|
+
};
|
|
511
|
+
searchOpenKeys: {
|
|
512
|
+
type: {
|
|
513
|
+
(arrayLength: number): string[];
|
|
514
|
+
(...items: string[]): string[];
|
|
515
|
+
new (arrayLength: number): string[];
|
|
516
|
+
new (...items: string[]): string[];
|
|
517
|
+
isArray(arg: any): arg is any[];
|
|
518
|
+
readonly prototype: any[];
|
|
519
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
520
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
521
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
522
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
523
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
524
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
525
|
+
};
|
|
526
|
+
default: () => never[];
|
|
527
|
+
};
|
|
528
|
+
}>> & {
|
|
529
|
+
onMenuSelect?: ((...args: any[]) => any) | undefined;
|
|
530
|
+
}, {
|
|
531
|
+
mode: string;
|
|
532
|
+
menus: Menu[];
|
|
533
|
+
defineMode: string;
|
|
534
|
+
searchOpenKeys: string[];
|
|
535
|
+
}, {}>;
|
|
371
536
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "updateMenuShow" | "updateHistoryList")[], "menuSelect" | "updateMenuShow" | "updateHistoryList", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
537
|
+
globalStyleSettingsMenuPattern: {
|
|
538
|
+
type: BooleanConstructor;
|
|
539
|
+
default: boolean;
|
|
540
|
+
};
|
|
372
541
|
width: {
|
|
373
542
|
type: NumberConstructor;
|
|
374
543
|
default: number;
|
|
@@ -442,6 +611,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
442
611
|
menus: ExtendMenu[];
|
|
443
612
|
secondMenuShow: boolean;
|
|
444
613
|
collapsed: boolean;
|
|
614
|
+
globalStyleSettingsMenuPattern: boolean;
|
|
445
615
|
searchState: boolean;
|
|
446
616
|
currentSearchValue: string;
|
|
447
617
|
sourceData: ExtendMenu[];
|
|
@@ -537,6 +707,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
537
707
|
searchState: boolean;
|
|
538
708
|
}, {}>;
|
|
539
709
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "updateMenuShow" | "collapsed-sider")[], "menuSelect" | "schedule-click" | "services-click" | "updateMenuShow" | "collapsed-sider", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
710
|
+
showGlobalStyleSettingsMenuPattern: {
|
|
711
|
+
type: BooleanConstructor;
|
|
712
|
+
default: boolean;
|
|
713
|
+
};
|
|
540
714
|
siderWidth: {
|
|
541
715
|
type: NumberConstructor;
|
|
542
716
|
default: number;
|
|
@@ -610,6 +784,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
610
784
|
}, {
|
|
611
785
|
mode: string;
|
|
612
786
|
collapsible: boolean;
|
|
787
|
+
showGlobalStyleSettingsMenuPattern: boolean;
|
|
613
788
|
siderWidth: number;
|
|
614
789
|
secondMenuShow: boolean;
|
|
615
790
|
}, {}>;
|