@kong-ui-public/app-layout 4.6.6-pr.2439.f67d17066.0 → 4.6.7
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 +1056 -1115
- package/dist/app-layout.umd.js +5 -5
- package/dist/style.css +1 -1
- package/dist/types/components/AppLayout.vue.d.ts +1 -10
- package/dist/types/components/AppLayout.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts +5 -14
- package/dist/types/components/sidebar/AppSidebar.vue.d.ts.map +1 -1
- package/dist/types/types/sidebar.d.ts +0 -8
- package/dist/types/types/sidebar.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { SidebarPrimaryItem
|
|
2
|
+
import type { SidebarPrimaryItem } 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_21: `sidebar-icon-${string}`, __VLS_22: {}, __VLS_33: `sidebar-icon-${string}`, __VLS_34: {}, __VLS_36: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
[K in NonNullable<typeof
|
|
7
|
+
[K in NonNullable<typeof __VLS_21>]?: (props: typeof __VLS_22) => any;
|
|
8
8
|
} & {
|
|
9
|
-
[K in NonNullable<typeof
|
|
9
|
+
[K in NonNullable<typeof __VLS_33>]?: (props: typeof __VLS_34) => 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_36) => any;
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18
18
|
topItems: {
|
|
@@ -23,10 +23,6 @@ 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
|
-
};
|
|
30
26
|
headerHeight: {
|
|
31
27
|
type: NumberConstructor;
|
|
32
28
|
default: number;
|
|
@@ -83,10 +79,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
83
79
|
type: PropType<BottomPrimaryItem[]>;
|
|
84
80
|
default: () => never[];
|
|
85
81
|
};
|
|
86
|
-
groupConfig: {
|
|
87
|
-
type: PropType<GroupConfigMap>;
|
|
88
|
-
default: () => {};
|
|
89
|
-
};
|
|
90
82
|
headerHeight: {
|
|
91
83
|
type: NumberConstructor;
|
|
92
84
|
default: number;
|
|
@@ -139,7 +131,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
139
131
|
zIndex: number;
|
|
140
132
|
topItems: SidebarPrimaryItem[];
|
|
141
133
|
bottomItems: BottomPrimaryItem[];
|
|
142
|
-
groupConfig: GroupConfigMap;
|
|
143
134
|
headerHeight: number;
|
|
144
135
|
open: boolean;
|
|
145
136
|
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":"AAwqBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE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;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -28,12 +28,4 @@ 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
|
-
}
|
|
39
31
|
//# 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,oBAAoB,EAAE,WAAW,GAAG,YAAY,CAAC;IAChG,+EAA+E;IAC/E,GAAG,EAAE,MAAM,CAAA;IACX,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2LAA2L;IAC3L,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oDAAoD;IACpD,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAA;CAC/B
|
|
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,oBAAoB,EAAE,WAAW,GAAG,YAAY,CAAC;IAChG,+EAA+E;IAC/E,GAAG,EAAE,MAAM,CAAA;IACX,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2LAA2L;IAC3L,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oDAAoD;IACpD,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAA;CAC/B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/app-layout",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/app-layout.umd.js",
|
|
6
6
|
"module": "./dist/app-layout.es.js",
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@kong/kongponents": "^9.
|
|
24
|
+
"@kong/kongponents": "^9.39.0",
|
|
25
25
|
"vue": ">= 3.3.13 < 4",
|
|
26
26
|
"vue-router": "^4.4.5"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@kong/icons": "^1.
|
|
29
|
+
"@kong/icons": "^1.36.0",
|
|
30
30
|
"focus-trap": "^7.6.5",
|
|
31
31
|
"focus-trap-vue": "^4.0.3",
|
|
32
32
|
"lodash.clonedeep": "^4.5.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@kong/design-tokens": "1.18.0",
|
|
36
|
-
"@kong/kongponents": "9.
|
|
36
|
+
"@kong/kongponents": "9.39.0",
|
|
37
37
|
"@types/lodash.clonedeep": "^4.5.9",
|
|
38
38
|
"vue": "^3.5.13",
|
|
39
39
|
"vue-router": "^4.4.5"
|