@kong-ui-public/app-layout 4.2.37-pr.1660.c2f1704f.0 → 4.2.37

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,24 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { SidebarPrimaryItem } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ declare function __VLS_template(): {
4
+ slots: Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
5
+ notification?(_: {}): any;
6
+ "navbar-mobile-logo"?(_: {}): any;
7
+ "navbar-logo"?(_: {}): any;
8
+ "navbar-left"?(_: {}): any;
9
+ "navbar-center"?(_: {}): any;
10
+ "navbar-right"?(_: {}): any;
11
+ "sidebar-header"?(_: {}): any;
12
+ "sidebar-top"?(_: {}): any;
13
+ "sidebar-footer"?(_: {}): any;
14
+ "app-error"?(_: {}): any;
15
+ default?(_: {}): any;
16
+ };
17
+ refs: {};
18
+ attrs: Partial<{}>;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import("vue").DefineComponent<{
4
22
  hideDefaultSlot: {
5
23
  type: BooleanConstructor;
6
24
  default: boolean;
@@ -72,19 +90,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
72
90
  sidebarTopItems: SidebarPrimaryItem[];
73
91
  sidebarBottomItems: SidebarPrimaryItem[];
74
92
  theme: "light" | "dark";
75
- }, {}>, Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
76
- notification?(_: {}): any;
77
- "navbar-mobile-logo"?(_: {}): any;
78
- "navbar-logo"?(_: {}): any;
79
- "navbar-left"?(_: {}): any;
80
- "navbar-center"?(_: {}): any;
81
- "navbar-right"?(_: {}): any;
82
- "sidebar-header"?(_: {}): any;
83
- "sidebar-top"?(_: {}): any;
84
- "sidebar-footer"?(_: {}): any;
85
- "app-error"?(_: {}): any;
86
- default?(_: {}): any;
87
- }>;
93
+ }, {}>;
94
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
88
95
  export default _default;
89
96
  type __VLS_WithTemplateSlots<T, S> = T & {
90
97
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"AppLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAKnC,OAAO,KAAK,EAAE,kBAAkB,EAAwB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6qBxE,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"AppLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout.vue"],"names":[],"mappings":"AAwZA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAKnC,OAAO,KAAK,EAAE,kBAAkB,EAAwB,MAAM,UAAU,CAAA;AAyMxE,iBAAS,cAAc;+DAmN+D,GAAG;8BAEvD,GAAG;sCACM,GAAG;+BACV,GAAG;+BACH,GAAG;iCACD,GAAG;gCACJ,GAAG;kCACD,GAAG;+BACN,GAAG;kCACA,GAAG;6BACR,GAAG;yBACP,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AA2DD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;cA0BF,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI7B,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC;;2BAEvB,OAAO,GAAG,MAAM,KAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;cAV9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI7B,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC;;2BAEvB,OAAO,GAAG,MAAM,KAAG,OAAO;;;;;;;;;;;;MAG/C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,4 +1,14 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ actions?(_: {}): any;
4
+ default?(_: {}): any;
5
+ "divider-section"?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ attrs: Partial<{}>;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import("vue").DefineComponent<{
2
12
  title: {
3
13
  type: StringConstructor;
4
14
  default: string;
@@ -64,11 +74,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
64
74
  modified: string;
65
75
  modifiedLabel: string;
66
76
  isLoading: boolean;
67
- }, {}>, {
68
- actions?(_: {}): any;
69
- default?(_: {}): any;
70
- "divider-section"?(_: {}): any;
71
- }>;
77
+ }, {}>;
78
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
72
79
  export default _default;
73
80
  type __VLS_WithTemplateSlots<T, S> = T & {
74
81
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"AppAboutSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/aboutSection/AppAboutSection.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8ZA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"AppAboutSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/aboutSection/AppAboutSection.vue"],"names":[],"mappings":"AA8TA,iBAAS,cAAc;;yBA2HM,GAAG;yBACF,GAAG;mCACO,GAAG;;;WAS7B,OAAO,IAA6B;EAEjD;AAsCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmCnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,6 +1,13 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
- default?(_: {}): any;
3
- }>;
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ default?(_: {}): any;
4
+ };
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
4
11
  export default _default;
5
12
  type __VLS_WithTemplateSlots<T, S> = T & {
6
13
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"AppError.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/errors/AppError.vue.ts"],"names":[],"mappings":";;;AAmIA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"AppError.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/errors/AppError.vue"],"names":[],"mappings":"AAqGA,iBAAS,cAAc;;yBA6CM,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BananaSplit.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/BananaSplit.vue.ts"],"names":[],"mappings":";AAoKA,wBAKG"}
1
+ {"version":3,"file":"BananaSplit.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/BananaSplit.vue"],"names":[],"mappings":";AA4GA,wBAKG"}
@@ -1,6 +1,17 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { DropdownItem } from '@kong/kongponents';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ declare function __VLS_template(): {
4
+ slots: {
5
+ default?(_: {}): any;
6
+ default?(_: {
7
+ option: DropdownItem;
8
+ }): any;
9
+ };
10
+ refs: {};
11
+ attrs: Partial<{}>;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import("vue").DefineComponent<{
4
15
  options: {
5
16
  type: PropType<DropdownItem[]>;
6
17
  required: true;
@@ -31,11 +42,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
31
42
  }>>, {
32
43
  width: string;
33
44
  userInitials: string;
34
- }, {}>, {
35
- default?(_: {
36
- option: DropdownItem;
37
- }): any;
38
- }>;
45
+ }, {}>;
46
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
47
  export default _default;
40
48
  type __VLS_WithTemplateSlots<T, S> = T & {
41
49
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"AccountDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/AccountDropdown.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqKrD,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"AccountDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/AccountDropdown.vue"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AA0CrD,iBAAS,cAAc;;yBA4EM,GAAG;;;YACF,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;cAOF,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;;;;;;cAAxB,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;;;;;;;MAczC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,4 +1,17 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ "mobile-sidebar-toggle"?(_: {}): any;
4
+ "mobile-logo"?(_: {}): any;
5
+ logo?(_: {}): any;
6
+ left?(_: {}): any;
7
+ center?(_: {}): any;
8
+ right?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ attrs: Partial<{}>;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import("vue").DefineComponent<{
2
15
  topOffset: {
3
16
  type: NumberConstructor;
4
17
  default: number;
@@ -28,14 +41,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
28
41
  topOffset: number;
29
42
  leftOffset: number;
30
43
  zIndex: number;
31
- }, {}>, {
32
- "mobile-sidebar-toggle"?(_: {}): any;
33
- "mobile-logo"?(_: {}): any;
34
- logo?(_: {}): any;
35
- left?(_: {}): any;
36
- center?(_: {}): any;
37
- right?(_: {}): any;
38
- }>;
44
+ }, {}>;
45
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
46
  export default _default;
40
47
  type __VLS_WithTemplateSlots<T, S> = T & {
41
48
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"AppNavbar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/AppNavbar.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwQA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"AppNavbar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navbar/AppNavbar.vue"],"names":[],"mappings":"AAuPA,iBAAS,cAAc;;yCAqEsB,GAAG;+BACb,GAAG;sBACZ,GAAG;sBACH,GAAG;wBACD,GAAG;uBACJ,GAAG;;;WAShB,OAAO,IAA6B;EAEjD;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,6 +1,17 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { BreadcrumbItem } from '@kong/kongponents';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ declare function __VLS_template(): {
4
+ slots: Partial<Record<string, (_: {}) => any>> & {
5
+ "title-before"?(_: {}): any;
6
+ "title-after"?(_: {}): any;
7
+ actions?(_: {}): any;
8
+ below?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ attrs: Partial<{}>;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import("vue").DefineComponent<{
4
15
  title: {
5
16
  type: StringConstructor;
6
17
  default: string;
@@ -21,12 +32,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
21
32
  }>>, {
22
33
  title: string;
23
34
  breadcrumbs: BreadcrumbItem[];
24
- }, {}>, Partial<Record<string, (_: {}) => any>> & {
25
- "title-before"?(_: {}): any;
26
- "title-after"?(_: {}): any;
27
- actions?(_: {}): any;
28
- below?(_: {}): any;
29
- }>;
35
+ }, {}>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
37
  export default _default;
31
38
  type __VLS_WithTemplateSlots<T, S> = T & {
32
39
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"AppPageHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pageHeader/AppPageHeader.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoRvD,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"AppPageHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/pageHeader/AppPageHeader.vue"],"names":[],"mappings":"AAyJA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAqCvD,iBAAS,cAAc;6CAsF6D,GAAG;gCAEnD,GAAG;+BACJ,GAAG;yBACR,GAAG;uBACL,GAAG;;;WASjB,OAAO,IAA6B;EAEjD;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;cAWF,QAAQ,CAAC,cAAc,EAAE,CAAC;;;;;;;;;cAA1B,QAAQ,CAAC,cAAc,EAAE,CAAC;;;;;;MAI3C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,6 +1,166 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { SidebarPrimaryItem } from '../../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ declare function __VLS_template(): {
4
+ slots: Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
5
+ header?(_: {}): any;
6
+ top?(_: {}): any;
7
+ footer?(_: {}): any;
8
+ };
9
+ refs: {
10
+ focusTrap: import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
11
+ active: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ } & {
16
+ escapeDeactivates: {
17
+ type: BooleanConstructor;
18
+ default: true;
19
+ };
20
+ returnFocusOnDeactivate: {
21
+ type: BooleanConstructor;
22
+ default: true;
23
+ };
24
+ allowOutsideClick: {
25
+ type: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
26
+ default: true;
27
+ };
28
+ clickOutsideDeactivates: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
29
+ initialFocus: PropType<import("focus-trap").FocusTargetOrFalse | (() => void) | undefined>;
30
+ fallbackFocus: PropType<import("focus-trap").FocusTarget | undefined>;
31
+ checkCanFocusTrap: PropType<((containers: (HTMLElement | SVGElement)[]) => Promise<void>) | undefined>;
32
+ checkCanReturnFocus: PropType<((trigger: HTMLElement | SVGElement) => Promise<void>) | undefined>;
33
+ delayInitialFocus: {
34
+ type: BooleanConstructor;
35
+ default: true;
36
+ };
37
+ document: PropType<Document | undefined>;
38
+ preventScroll: BooleanConstructor;
39
+ setReturnFocus: PropType<import("focus-trap").FocusTargetValueOrFalse | ((nodeFocusedBeforeActivation: HTMLElement | SVGElement) => import("focus-trap").FocusTargetValueOrFalse) | undefined>;
40
+ tabbableOptions: PropType<import("focus-trap").FocusTrapTabbableOptions | undefined>;
41
+ }>> & {
42
+ onActivate?: ((...args: any[]) => any) | undefined;
43
+ onPostActivate?: ((...args: any[]) => any) | undefined;
44
+ onDeactivate?: ((...args: any[]) => any) | undefined;
45
+ onPostDeactivate?: ((...args: any[]) => any) | undefined;
46
+ "onUpdate:active"?: ((...args: any[]) => any) | undefined;
47
+ }, {
48
+ activate(): void;
49
+ deactivate(): void;
50
+ renderImpl(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
+ [key: string]: any;
52
+ }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
+ [key: string]: any;
54
+ }>[] | null;
55
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:active" | "activate" | "postActivate" | "deactivate" | "postDeactivate")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
56
+ active: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ } & {
61
+ escapeDeactivates: {
62
+ type: BooleanConstructor;
63
+ default: true;
64
+ };
65
+ returnFocusOnDeactivate: {
66
+ type: BooleanConstructor;
67
+ default: true;
68
+ };
69
+ allowOutsideClick: {
70
+ type: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
71
+ default: true;
72
+ };
73
+ clickOutsideDeactivates: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
74
+ initialFocus: PropType<import("focus-trap").FocusTargetOrFalse | (() => void) | undefined>;
75
+ fallbackFocus: PropType<import("focus-trap").FocusTarget | undefined>;
76
+ checkCanFocusTrap: PropType<((containers: (HTMLElement | SVGElement)[]) => Promise<void>) | undefined>;
77
+ checkCanReturnFocus: PropType<((trigger: HTMLElement | SVGElement) => Promise<void>) | undefined>;
78
+ delayInitialFocus: {
79
+ type: BooleanConstructor;
80
+ default: true;
81
+ };
82
+ document: PropType<Document | undefined>;
83
+ preventScroll: BooleanConstructor;
84
+ setReturnFocus: PropType<import("focus-trap").FocusTargetValueOrFalse | ((nodeFocusedBeforeActivation: HTMLElement | SVGElement) => import("focus-trap").FocusTargetValueOrFalse) | undefined>;
85
+ tabbableOptions: PropType<import("focus-trap").FocusTrapTabbableOptions | undefined>;
86
+ }>> & {
87
+ onActivate?: ((...args: any[]) => any) | undefined;
88
+ onPostActivate?: ((...args: any[]) => any) | undefined;
89
+ onDeactivate?: ((...args: any[]) => any) | undefined;
90
+ onPostDeactivate?: ((...args: any[]) => any) | undefined;
91
+ "onUpdate:active"?: ((...args: any[]) => any) | undefined;
92
+ }, {
93
+ returnFocusOnDeactivate: boolean;
94
+ escapeDeactivates: boolean;
95
+ allowOutsideClick: boolean | import("focus-trap").MouseEventToBoolean | undefined;
96
+ preventScroll: boolean;
97
+ delayInitialFocus: boolean;
98
+ active: boolean;
99
+ }, true, {}, {}, {
100
+ P: {};
101
+ B: {};
102
+ D: {};
103
+ C: {};
104
+ M: {};
105
+ Defaults: {};
106
+ }, Readonly<import("vue").ExtractPropTypes<{
107
+ active: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ } & {
112
+ escapeDeactivates: {
113
+ type: BooleanConstructor;
114
+ default: true;
115
+ };
116
+ returnFocusOnDeactivate: {
117
+ type: BooleanConstructor;
118
+ default: true;
119
+ };
120
+ allowOutsideClick: {
121
+ type: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
122
+ default: true;
123
+ };
124
+ clickOutsideDeactivates: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
125
+ initialFocus: PropType<import("focus-trap").FocusTargetOrFalse | (() => void) | undefined>;
126
+ fallbackFocus: PropType<import("focus-trap").FocusTarget | undefined>;
127
+ checkCanFocusTrap: PropType<((containers: (HTMLElement | SVGElement)[]) => Promise<void>) | undefined>;
128
+ checkCanReturnFocus: PropType<((trigger: HTMLElement | SVGElement) => Promise<void>) | undefined>;
129
+ delayInitialFocus: {
130
+ type: BooleanConstructor;
131
+ default: true;
132
+ };
133
+ document: PropType<Document | undefined>;
134
+ preventScroll: BooleanConstructor;
135
+ setReturnFocus: PropType<import("focus-trap").FocusTargetValueOrFalse | ((nodeFocusedBeforeActivation: HTMLElement | SVGElement) => import("focus-trap").FocusTargetValueOrFalse) | undefined>;
136
+ tabbableOptions: PropType<import("focus-trap").FocusTrapTabbableOptions | undefined>;
137
+ }>> & {
138
+ onActivate?: ((...args: any[]) => any) | undefined;
139
+ onPostActivate?: ((...args: any[]) => any) | undefined;
140
+ onDeactivate?: ((...args: any[]) => any) | undefined;
141
+ onPostDeactivate?: ((...args: any[]) => any) | undefined;
142
+ "onUpdate:active"?: ((...args: any[]) => any) | undefined;
143
+ }, {
144
+ activate(): void;
145
+ deactivate(): void;
146
+ renderImpl(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
147
+ [key: string]: any;
148
+ }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
149
+ [key: string]: any;
150
+ }>[] | null;
151
+ }, {}, {}, {}, {
152
+ returnFocusOnDeactivate: boolean;
153
+ escapeDeactivates: boolean;
154
+ allowOutsideClick: boolean | import("focus-trap").MouseEventToBoolean | undefined;
155
+ preventScroll: boolean;
156
+ delayInitialFocus: boolean;
157
+ active: boolean;
158
+ }> | null;
159
+ };
160
+ attrs: Partial<{}>;
161
+ };
162
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
163
+ declare const __VLS_component: import("vue").DefineComponent<{
4
164
  topItems: {
5
165
  type: PropType<SidebarPrimaryItem[]>;
6
166
  default: () => never[];
@@ -126,11 +286,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
126
286
  mobileOverlay: boolean;
127
287
  mobileOverlayZIndex: number;
128
288
  mobileOverlayCloseOnClick: boolean;
129
- }, {}>, Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>> & {
130
- header?(_: {}): any;
131
- top?(_: {}): any;
132
- footer?(_: {}): any;
133
- }>;
289
+ }, {}>;
290
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
134
291
  export default _default;
135
292
  type __VLS_WithTemplateSlots<T, S> = T & {
136
293
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/AppSidebar.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAutBrD,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/AppSidebar.vue"],"names":[],"mappings":"AAumBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAkVrD,iBAAS,cAAc;+DA2K+D,GAAG,yDACpB,GAAG;wBAE5C,GAAG;qBACN,GAAG;wBACC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BApgBhC,GA/dM;+BA+dN,GA3dE;6BA2dF,GAxdQ;iCAwdR,GArdyB;kCAqdzB,GA/cO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+cP,GA/dM;+BA+dN,GA3dE;6BA2dF,GAxdQ;iCAwdR,GArdyB;kCAqdzB,GA/cO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+cP,GA/dM;+BA+dN,GA3dE;6BA2dF,GAxdQ;iCAwdR,GArdyB;kCAqdzB,GA/cO;;;;;;;;;;;;;;;;;;WA69BO,OAAO,IAA6B;EAEjD;AA+ED,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;cAQF,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAJ9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;cAI9B,QAAQ,CAAC,kBAAkB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiD/C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ItemBadge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/ItemBadge.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgFA,wBAYG"}
1
+ {"version":3,"file":"ItemBadge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/ItemBadge.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgJA,wBAYG"}
@@ -1,8 +1,14 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { SidebarPrimaryItem, SidebarSecondaryItem } from '../../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ declare function __VLS_template(): {
4
+ slots: Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>>;
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import("vue").DefineComponent<{
4
10
  item: {
5
- type: PropType<SidebarSecondaryItem | SidebarPrimaryItem>;
11
+ type: PropType<SidebarPrimaryItem | SidebarSecondaryItem>;
6
12
  required: true;
7
13
  };
8
14
  /** True if the item is not an L1 primary sidebar item */
@@ -14,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
14
20
  click: (...args: any[]) => void;
15
21
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
22
  item: {
17
- type: PropType<SidebarSecondaryItem | SidebarPrimaryItem>;
23
+ type: PropType<SidebarPrimaryItem | SidebarSecondaryItem>;
18
24
  required: true;
19
25
  };
20
26
  /** True if the item is not an L1 primary sidebar item */
@@ -26,7 +32,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
26
32
  onClick?: ((...args: any[]) => any) | undefined;
27
33
  }, {
28
34
  subnavItem: boolean;
29
- }, {}>, Partial<Record<`sidebar-icon-${string}`, (_: {}) => any>>>;
35
+ }, {}>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
37
  export default _default;
31
38
  type __VLS_WithTemplateSlots<T, S> = T & {
32
39
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/SidebarItem.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;;;;;;IAuWzE,yDAAyD;;;;;;;;;;;;IAAzD,yDAAyD;;;;;;;;;;AAQ3D,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/SidebarItem.vue"],"names":[],"mappings":"AAuXA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAmE3E,iBAAS,cAAc;+DAmJ6D,GAAG;;WAUzE,OAAO,IAA6B;EAEjD;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;cAQD,QAAQ,CAAC,kBAAkB,GAAG,oBAAoB,CAAC;;;IAGrE,yDAAyD;;;;;;;;;cAHvC,QAAQ,CAAC,kBAAkB,GAAG,oBAAoB,CAAC;;;IAGrE,yDAAyD;;;;;;;;;MAMzD,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarToggle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/SidebarToggle.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAiHA,wBAYG"}
1
+ {"version":3,"file":"SidebarToggle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/SidebarToggle.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAwLA,wBAYG"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../../src/composables/useDebounce.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,WAAW;0CAQY,GAAG,KAAK,GAAG,SAAS,MAAM,eAAa,GAAG,KAAK,IAAI;EAkBjG"}
1
+ {"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../../src/composables/useDebounce.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,WAAW;gCAQE,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,SAAS,MAAM,KAAG,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,IAAI;EAkBjG"}
@@ -9,8 +9,8 @@ import AppSidebar from './components/sidebar/AppSidebar.vue';
9
9
  import SidebarToggle from './components/sidebar/SidebarToggle.vue';
10
10
  declare const _default: {
11
11
  install: (app: App, options?: {
12
+ name?: string;
12
13
  [key: string]: any;
13
- name?: string | undefined;
14
14
  }) => void;
15
15
  };
16
16
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,eAAe,MAAM,+CAA+C,CAAA;AAC3E,OAAO,QAAQ,MAAM,kCAAkC,CAAA;AACvD,OAAO,SAAS,MAAM,4BAA4B,CAAA;AAClD,OAAO,SAAS,MAAM,mCAAmC,CAAA;AACzD,OAAO,aAAa,MAAM,2CAA2C,CAAA;AACrE,OAAO,UAAU,MAAM,qCAAqC,CAAA;AAC5D,OAAO,aAAa,MAAM,wCAAwC,CAAA;;mBAMjD,GAAG;;;UAAwD,IAAI;;AAHhF,wBAMC;AAGD,OAAO,EACL,eAAe,EACf,eAAe,EACf,QAAQ,EACR,SAAS,EACT,SAAS,EACT,aAAa,EACb,UAAU,EACV,aAAa,GACd,CAAA;AAED,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,eAAe,MAAM,+CAA+C,CAAA;AAC3E,OAAO,QAAQ,MAAM,kCAAkC,CAAA;AACvD,OAAO,SAAS,MAAM,4BAA4B,CAAA;AAClD,OAAO,SAAS,MAAM,mCAAmC,CAAA;AACzD,OAAO,aAAa,MAAM,2CAA2C,CAAA;AACrE,OAAO,UAAU,MAAM,qCAAqC,CAAA;AAC5D,OAAO,aAAa,MAAM,wCAAwC,CAAA;;mBAMjD,GAAG,YAAW;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,KAAQ,IAAI;;AAHhF,wBAMC;AAGD,OAAO,EACL,eAAe,EACf,eAAe,EACf,QAAQ,EACR,SAAS,EACT,SAAS,EACT,aAAa,EACb,UAAU,EACV,aAAa,GACd,CAAA;AAED,cAAc,SAAS,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/app-layout",
3
- "version": "4.2.37-pr.1660.c2f1704f.0",
3
+ "version": "4.2.37",
4
4
  "type": "module",
5
5
  "main": "./dist/app-layout.umd.js",
6
6
  "module": "./dist/app-layout.es.js",
@@ -26,14 +26,14 @@
26
26
  "vue-router": "^4.3.3"
27
27
  },
28
28
  "dependencies": {
29
- "@kong/icons": "^1.15.2",
29
+ "@kong/icons": "^1.17.0",
30
30
  "focus-trap": "^7.6.0",
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.17.2",
36
- "@kong/kongponents": "9.8.3-pr.2405.bd1b6cc7a.0",
36
+ "@kong/kongponents": "9.8.1",
37
37
  "@types/lodash.clonedeep": "^4.5.9",
38
38
  "vue": "^3.4.38",
39
39
  "vue-router": "^4.4.5"