@kong-ui-public/app-layout 4.6.5 → 4.6.6-pr.2439.97a4c2bb6.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.
- package/dist/app-layout.es.js +1115 -1056
- package/dist/app-layout.umd.js +5 -5
- package/dist/style.css +1 -1
- package/dist/types/components/AppLayout.vue.d.ts +10 -1
- package/dist/types/components/AppLayout.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts +14 -5
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts.map +1 -1
- package/dist/types/types/sidebar.d.ts +8 -0
- package/dist/types/types/sidebar.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { SidebarPrimaryItem } from '../../types';
|
|
2
|
+
import type { SidebarPrimaryItem, GroupConfigMap } from '../../types';
|
|
3
3
|
/** Prevent adding the `group` property to bottom sidebar items. */
|
|
4
4
|
type BottomPrimaryItem = Omit<SidebarPrimaryItem, 'group'>;
|
|
5
|
-
declare var __VLS_8: {}, __VLS_10: {},
|
|
5
|
+
declare var __VLS_8: {}, __VLS_10: {}, __VLS_40: `sidebar-icon-${string}`, __VLS_41: {}, __VLS_52: `sidebar-icon-${string}`, __VLS_53: {}, __VLS_55: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
[K in NonNullable<typeof
|
|
7
|
+
[K in NonNullable<typeof __VLS_40>]?: (props: typeof __VLS_41) => any;
|
|
8
8
|
} & {
|
|
9
|
-
[K in NonNullable<typeof
|
|
9
|
+
[K in NonNullable<typeof __VLS_52>]?: (props: typeof __VLS_53) => any;
|
|
10
10
|
} & {
|
|
11
11
|
header?: (props: typeof __VLS_8) => any;
|
|
12
12
|
} & {
|
|
13
13
|
top?: (props: typeof __VLS_10) => any;
|
|
14
14
|
} & {
|
|
15
|
-
footer?: (props: typeof
|
|
15
|
+
footer?: (props: typeof __VLS_55) => any;
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18
18
|
topItems: {
|
|
@@ -23,6 +23,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
23
23
|
type: PropType<BottomPrimaryItem[]>;
|
|
24
24
|
default: () => never[];
|
|
25
25
|
};
|
|
26
|
+
groupConfig: {
|
|
27
|
+
type: PropType<GroupConfigMap>;
|
|
28
|
+
default: () => {};
|
|
29
|
+
};
|
|
26
30
|
headerHeight: {
|
|
27
31
|
type: NumberConstructor;
|
|
28
32
|
default: number;
|
|
@@ -79,6 +83,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
79
83
|
type: PropType<BottomPrimaryItem[]>;
|
|
80
84
|
default: () => never[];
|
|
81
85
|
};
|
|
86
|
+
groupConfig: {
|
|
87
|
+
type: PropType<GroupConfigMap>;
|
|
88
|
+
default: () => {};
|
|
89
|
+
};
|
|
82
90
|
headerHeight: {
|
|
83
91
|
type: NumberConstructor;
|
|
84
92
|
default: number;
|
|
@@ -131,6 +139,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
131
139
|
zIndex: number;
|
|
132
140
|
topItems: SidebarPrimaryItem[];
|
|
133
141
|
bottomItems: BottomPrimaryItem[];
|
|
142
|
+
groupConfig: GroupConfigMap;
|
|
134
143
|
headerHeight: number;
|
|
135
144
|
open: boolean;
|
|
136
145
|
mobileEnabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/AppSidebar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/AppSidebar.vue"],"names":[],"mappings":"AAswBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AA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;;;;;;;;;;;;;;;;;;;4EAiD1C,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -28,4 +28,12 @@ export interface SidebarPrimaryItem extends Omit<SidebarSecondaryItem, 'parentKe
|
|
|
28
28
|
/** Nested sidebar items (children) without icons */
|
|
29
29
|
items?: SidebarSecondaryItem[];
|
|
30
30
|
}
|
|
31
|
+
export interface GroupConfig {
|
|
32
|
+
label: string;
|
|
33
|
+
collapsible?: boolean;
|
|
34
|
+
collapsed?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export interface GroupConfigMap {
|
|
37
|
+
[key: string]: GroupConfig;
|
|
38
|
+
}
|
|
31
39
|
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/types/sidebar.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAA;IACZ,iKAAiK;IACjK,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAChC,uIAAuI;IACvI,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qQAAqQ;IACrQ,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iCAAiC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,8FAA8F;IAC9F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,0GAA0G;IAC1G,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,oBAA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