@indigina/ui-kit 1.1.50 → 1.1.52
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/assets/icons/seko-360.svg +5 -0
- package/assets/icons/seko.svg +5 -0
- package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.component.mjs +2 -2
- package/esm2022/lib/components/kit-grid/kit-grid-cell-template.directive.mjs +14 -0
- package/esm2022/lib/components/kit-grid/kit-grid-column/kit-grid-column.component.mjs +5 -4
- package/esm2022/lib/components/kit-grid/kit-grid-detail-template.directive.mjs +14 -0
- package/esm2022/lib/components/kit-grid/kit-grid.component.mjs +26 -11
- package/esm2022/lib/components/kit-grid/kit-grid.model.mjs +1 -1
- package/esm2022/lib/components/kit-grid/kit-grid.module.mjs +13 -3
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu-submenu/kit-navigation-menu-submenu.component.mjs +11 -19
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.component.mjs +54 -39
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.model.mjs +1 -1
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.module.mjs +7 -3
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.util.mjs +5 -8
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.const.mjs +3 -1
- package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.component.mjs +3 -3
- package/esm2022/lib/components/kit-switch/kit-switch.component.mjs +2 -2
- package/esm2022/lib/components/kit-text-label/kit-text-label.component.mjs +2 -2
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/indigina-ui-kit.mjs +138 -123
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-grid/kit-grid-cell-template.directive.d.ts +5 -0
- package/lib/components/kit-grid/kit-grid-detail-template.directive.d.ts +5 -0
- package/lib/components/kit-grid/kit-grid.component.d.ts +18 -8
- package/lib/components/kit-grid/kit-grid.model.d.ts +3 -4
- package/lib/components/kit-grid/kit-grid.module.d.ts +3 -1
- package/lib/components/kit-navigation-menu/kit-navigation-menu-submenu/kit-navigation-menu-submenu.component.d.ts +3 -3
- package/lib/components/kit-navigation-menu/kit-navigation-menu.component.d.ts +14 -12
- package/lib/components/kit-navigation-menu/kit-navigation-menu.model.d.ts +1 -0
- package/lib/components/kit-navigation-menu/kit-navigation-menu.module.d.ts +2 -1
- package/lib/components/kit-navigation-menu/kit-navigation-menu.util.d.ts +1 -1
- package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +3 -1
- package/package.json +1 -1
- package/public-api.d.ts +3 -1
- package/styles/styles.scss +1 -0
- package/styles/theming.scss +1 -0
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu-base.component.mjs +0 -42
- package/lib/components/kit-navigation-menu/kit-navigation-menu-base.component.d.ts +0 -15
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class KitGridCellTemplateDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridCellTemplateDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitGridCellTemplateDirective, "[kitGridCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class KitGridDetailTemplateDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridDetailTemplateDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitGridDetailTemplateDirective, "[kitGridDetailTemplate]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { KitGridColumnComponent } from './kit-grid-column/kit-grid-column.component';
|
|
3
|
-
import { DataStateChangeEvent, DetailCollapseEvent,
|
|
3
|
+
import { DataStateChangeEvent, DetailCollapseEvent, PageChangeEvent, PagerSettings, RowClassArgs } from '@progress/kendo-angular-grid';
|
|
4
4
|
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
5
5
|
import { SortDescriptor } from '@progress/kendo-data-query';
|
|
6
|
-
import { KitGridDataStateChangeEvent,
|
|
6
|
+
import { KitGridDataStateChangeEvent, KitGridSortDescriptor, KitGridSortSettings, KitGridPageChangeEvent, KitGridDetailExpandEvent, KitGridDetailCollapseEvent } from './kit-grid.model';
|
|
7
7
|
import { KitGridSortDirection } from './kit-grid.const';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class KitGridComponent<T
|
|
9
|
+
export declare class KitGridComponent<T> {
|
|
10
10
|
/**
|
|
11
11
|
* Sets the data of the grid
|
|
12
12
|
*/
|
|
@@ -31,6 +31,10 @@ export declare class KitGridComponent<T extends KitGridNestedData<U>, U = unknow
|
|
|
31
31
|
* Defines the number of records to be skipped by the pager
|
|
32
32
|
*/
|
|
33
33
|
skip: number;
|
|
34
|
+
/**
|
|
35
|
+
* Function to determine if the detail template should be visible
|
|
36
|
+
*/
|
|
37
|
+
detailTemplateShowIf: (dataItem: T) => boolean;
|
|
34
38
|
/**
|
|
35
39
|
* An action which is emitted when the page of the grid is changed
|
|
36
40
|
*/
|
|
@@ -43,6 +47,14 @@ export declare class KitGridComponent<T extends KitGridNestedData<U>, U = unknow
|
|
|
43
47
|
* An action which is emitted when the data state of the grid is changed
|
|
44
48
|
*/
|
|
45
49
|
dataStateChanged: EventEmitter<KitGridDataStateChangeEvent>;
|
|
50
|
+
/**
|
|
51
|
+
* An action which is emitted when the master row is expanded
|
|
52
|
+
*/
|
|
53
|
+
detailExpanded: EventEmitter<KitGridDetailExpandEvent>;
|
|
54
|
+
/**
|
|
55
|
+
* An action which is emitted when the master row is collapsed
|
|
56
|
+
*/
|
|
57
|
+
detailCollapsed: EventEmitter<KitGridDetailCollapseEvent>;
|
|
46
58
|
columns: QueryList<KitGridColumnComponent> | null;
|
|
47
59
|
kitGridDetailTemplate: TemplateRef<HTMLElement> | null;
|
|
48
60
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
@@ -51,14 +63,12 @@ export declare class KitGridComponent<T extends KitGridNestedData<U>, U = unknow
|
|
|
51
63
|
onDataStateChange(event: DataStateChangeEvent): void;
|
|
52
64
|
onSortChange(event: SortDescriptor[]): void;
|
|
53
65
|
getSortingDirection(columnField: string): string | null;
|
|
54
|
-
isDetailTemplateVisible(dataItem: T): boolean;
|
|
55
|
-
hasDetailColumn(): boolean;
|
|
56
66
|
isColumnSortable(column: KitGridColumnComponent): boolean;
|
|
57
|
-
onDetailExpand(event:
|
|
67
|
+
onDetailExpand(event: KitGridDetailExpandEvent): void;
|
|
58
68
|
onDetailCollapse(event: DetailCollapseEvent): void;
|
|
59
69
|
onPageChange(event: PageChangeEvent): void;
|
|
60
70
|
getCssRowClass: (context: RowClassArgs) => Record<string, boolean>;
|
|
61
71
|
getPagerSettings(): boolean | PagerSettings;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridComponent<any
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridComponent<any
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridComponent<any>, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridComponent<any>, "kit-grid", never, { "data": { "alias": "data"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "detailTemplateShowIf": { "alias": "detailTemplateShowIf"; "required": false; }; }, { "pageChanged": "pageChanged"; "sortChanged": "sortChanged"; "dataStateChanged": "dataStateChanged"; "detailExpanded": "detailExpanded"; "detailCollapsed": "detailCollapsed"; }, ["kitGridDetailTemplate", "columns"], never, false, never>;
|
|
64
74
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { DataStateChangeEvent, PageChangeEvent } from '@progress/kendo-angular-grid';
|
|
1
|
+
import { DataStateChangeEvent, DetailCollapseEvent, DetailExpandEvent, PageChangeEvent } from '@progress/kendo-angular-grid';
|
|
2
2
|
import { SortDescriptor } from '@progress/kendo-data-query';
|
|
3
3
|
import { KitGridSortSettingsMode } from './kit-grid.const';
|
|
4
|
-
export interface KitGridNestedData<U> {
|
|
5
|
-
children?: U[];
|
|
6
|
-
}
|
|
7
4
|
export interface KitGridSortSettings {
|
|
8
5
|
mode: KitGridSortSettingsMode;
|
|
9
6
|
}
|
|
10
7
|
export type KitGridSortDescriptor = SortDescriptor;
|
|
11
8
|
export type KitGridDataStateChangeEvent = DataStateChangeEvent;
|
|
12
9
|
export type KitGridPageChangeEvent = PageChangeEvent;
|
|
10
|
+
export type KitGridDetailExpandEvent = DetailExpandEvent;
|
|
11
|
+
export type KitGridDetailCollapseEvent = DetailCollapseEvent;
|
|
@@ -4,8 +4,10 @@ import * as i2 from "./kit-grid-column/kit-grid-column.component";
|
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "@progress/kendo-angular-grid";
|
|
6
6
|
import * as i5 from "../kit-svg-icon/kit-svg-icon.module";
|
|
7
|
+
import * as i6 from "./kit-grid-cell-template.directive";
|
|
8
|
+
import * as i7 from "./kit-grid-detail-template.directive";
|
|
7
9
|
export declare class KitGridModule {
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KitGridModule, [typeof i1.KitGridComponent, typeof i2.KitGridColumnComponent], [typeof i3.CommonModule, typeof i4.GridModule, typeof i5.KitSvgIconModule], [typeof i1.KitGridComponent, typeof i2.KitGridColumnComponent]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitGridModule, [typeof i1.KitGridComponent, typeof i2.KitGridColumnComponent], [typeof i3.CommonModule, typeof i4.GridModule, typeof i5.KitSvgIconModule, typeof i6.KitGridCellTemplateDirective, typeof i7.KitGridDetailTemplateDirective], [typeof i1.KitGridComponent, typeof i2.KitGridColumnComponent, typeof i6.KitGridCellTemplateDirective, typeof i7.KitGridDetailTemplateDirective]>;
|
|
10
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitGridModule>;
|
|
11
13
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { KitNavigationMenuItem } from '../kit-navigation-menu.model';
|
|
2
|
-
import {
|
|
2
|
+
import { KitSvgIcon } from '../../kit-svg-icon/kit-svg-icon.const';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class KitNavigationMenuSubmenuComponent
|
|
4
|
+
export declare class KitNavigationMenuSubmenuComponent {
|
|
5
5
|
item: KitNavigationMenuItem | null;
|
|
6
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
6
7
|
handleClick(item: KitNavigationMenuItem): void;
|
|
7
|
-
collapseMenu(item: KitNavigationMenuItem | null): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuSubmenuComponent, never>;
|
|
9
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuSubmenuComponent, "kit-navigation-menu-submenu", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnInit, WritableSignal } from '@angular/core';
|
|
2
2
|
import { KitNavigationMenuItem } from './kit-navigation-menu.model';
|
|
3
3
|
import { KitSvgIconType } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
|
-
import {
|
|
5
|
+
import { KitTooltipPosition } from '../../directives/kit-tooltip/kit-tooltip.directive';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class KitNavigationMenuComponent
|
|
7
|
+
export declare class KitNavigationMenuComponent implements OnInit {
|
|
8
8
|
private router;
|
|
9
|
-
private changeDetectorRef;
|
|
10
9
|
/**
|
|
11
10
|
* An items list which is going to be rendered as menu items
|
|
12
11
|
*/
|
|
13
12
|
items: KitNavigationMenuItem[];
|
|
14
13
|
/**
|
|
15
|
-
* Defines whether
|
|
14
|
+
* Defines whether menu will be collapsed
|
|
16
15
|
*/
|
|
17
|
-
|
|
16
|
+
collapsed: boolean;
|
|
18
17
|
/**
|
|
19
|
-
*
|
|
18
|
+
* An action which is emitted when the collapse state changes
|
|
20
19
|
*/
|
|
21
|
-
|
|
20
|
+
collapseChanged: EventEmitter<boolean>;
|
|
21
|
+
readonly selectedItem: WritableSignal<KitNavigationMenuItem | null>;
|
|
22
22
|
readonly KitSvgIconType: typeof KitSvgIconType;
|
|
23
|
-
|
|
23
|
+
readonly KitTooltipPosition: typeof KitTooltipPosition;
|
|
24
|
+
constructor(router: Router);
|
|
24
25
|
ngOnInit(): void;
|
|
25
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
26
26
|
handleClick(item: KitNavigationMenuItem): void;
|
|
27
27
|
private setExpandedStateOnRouterChange;
|
|
28
|
-
private
|
|
28
|
+
private updateNavigationState;
|
|
29
|
+
private collapseAllItems;
|
|
30
|
+
private toggleItem;
|
|
29
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuComponent, "kit-navigation-menu", never, { "items": { "alias": "items"; "required": false; }; "
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuComponent, "kit-navigation-menu", never, { "items": { "alias": "items"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, { "collapseChanged": "collapseChanged"; }, never, never, false, never>;
|
|
31
33
|
}
|
|
@@ -4,8 +4,9 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "../kit-svg-icon/kit-svg-icon.module";
|
|
5
5
|
import * as i4 from "@angular/router";
|
|
6
6
|
import * as i5 from "./kit-navigation-menu-submenu/kit-navigation-menu-submenu.module";
|
|
7
|
+
import * as i6 from "../../directives/kit-tooltip/kit-tooltip.module";
|
|
7
8
|
export declare class KitNavigationMenuModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KitNavigationMenuModule, [typeof i1.KitNavigationMenuComponent], [typeof i2.CommonModule, typeof i3.KitSvgIconModule, typeof i4.RouterModule, typeof i5.KitNavigationMenuSubmenuModule], [typeof i1.KitNavigationMenuComponent]>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitNavigationMenuModule, [typeof i1.KitNavigationMenuComponent], [typeof i2.CommonModule, typeof i3.KitSvgIconModule, typeof i4.RouterModule, typeof i5.KitNavigationMenuSubmenuModule, typeof i6.KitTooltipModule], [typeof i1.KitNavigationMenuComponent]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitNavigationMenuModule>;
|
|
11
12
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
2
|
-
export declare const expandCollapseAnimation: AnimationTriggerMetadata;
|
|
2
|
+
export declare const expandCollapseAnimation: (property: 'height' | 'width') => AnimationTriggerMetadata;
|
|
@@ -92,7 +92,9 @@ export declare enum KitSvgIcon {
|
|
|
92
92
|
PAYMENTS = "payments",
|
|
93
93
|
SUPPLY_CHAIN = "supply-chain",
|
|
94
94
|
ANALYTICS = "analytics",
|
|
95
|
-
CONTROL_PANEL = "control-panel"
|
|
95
|
+
CONTROL_PANEL = "control-panel",
|
|
96
|
+
SEKO = "seko",
|
|
97
|
+
SEKO_360 = "seko-360"
|
|
96
98
|
}
|
|
97
99
|
export declare enum KitSvgIconType {
|
|
98
100
|
FILL = "fill",
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -123,6 +123,8 @@ export { KitBreadcrumbsComponent } from './lib/components/kit-breadcrumbs/kit-br
|
|
|
123
123
|
export { KitBreadcrumbsItem } from './lib/components/kit-breadcrumbs/kit-breadcrumbs.model';
|
|
124
124
|
export { KitGridModule } from './lib/components/kit-grid/kit-grid.module';
|
|
125
125
|
export { KitGridComponent } from './lib/components/kit-grid/kit-grid.component';
|
|
126
|
-
export { KitGridDataStateChangeEvent, KitGridSortDescriptor,
|
|
126
|
+
export { KitGridDataStateChangeEvent, KitGridSortDescriptor, KitGridPageChangeEvent, KitGridDetailExpandEvent, } from './lib/components/kit-grid/kit-grid.model';
|
|
127
127
|
export { KitGridSortDirection, KitGridSortSettingsMode } from './lib/components/kit-grid/kit-grid.const';
|
|
128
128
|
export { KitGridColumnComponent } from './lib/components/kit-grid/kit-grid-column/kit-grid-column.component';
|
|
129
|
+
export { KitGridCellTemplateDirective } from './lib/components/kit-grid/kit-grid-cell-template.directive';
|
|
130
|
+
export { KitGridDetailTemplateDirective } from './lib/components/kit-grid/kit-grid-detail-template.directive';
|
package/styles/styles.scss
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
@import "@progress/kendo-theme-default/scss/panelbar";
|
|
15
15
|
@import "@progress/kendo-theme-default/scss/popup";
|
|
16
16
|
@import "@progress/kendo-theme-default/scss/grid";
|
|
17
|
+
@import "@progress/kendo-font-icons/dist";
|
|
17
18
|
@import "ngx-toastr/toastr";
|
|
18
19
|
|
|
19
20
|
/* styles which need to be included by default into app styles */
|
package/styles/theming.scss
CHANGED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class KitNavigationMenuBaseComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
/**
|
|
7
|
-
* Defines whether menu will be collapsed
|
|
8
|
-
*/
|
|
9
|
-
this.collapsed = false;
|
|
10
|
-
this.KitSvgIcon = KitSvgIcon;
|
|
11
|
-
}
|
|
12
|
-
collapseAll(items) {
|
|
13
|
-
items.forEach(item => {
|
|
14
|
-
item.expanded = false;
|
|
15
|
-
if (item.items?.length) {
|
|
16
|
-
this.collapseAll(item.items);
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
handleClick(item) {
|
|
21
|
-
if (!this.collapsed) {
|
|
22
|
-
item.expanded = !item.expanded;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
handleHover(item, isHovering) {
|
|
26
|
-
if (this.collapsed) {
|
|
27
|
-
item.expanded = isHovering;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: KitNavigationMenuBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", type: KitNavigationMenuBaseComponent, selector: "ng-component", inputs: { collapsed: "collapsed" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
32
|
-
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: KitNavigationMenuBaseComponent, decorators: [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{
|
|
36
|
-
template: '',
|
|
37
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
38
|
-
}]
|
|
39
|
-
}], propDecorators: { collapsed: [{
|
|
40
|
-
type: Input
|
|
41
|
-
}] } });
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LW5hdmlnYXR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ogdm9pZCB7XG4gICAgaXRlbXMuZm9yRWFjaChpdGVtID0+IHtcbiAgICAgIGl0ZW0uZXhwYW5kZWQgPSBmYWxzZTtcbiAgICAgIGlmIChpdGVtLml0ZW1zPy5sZW5ndGgpIHtcbiAgICAgICAgdGhpcy5jb2xsYXBzZUFsbChpdGVtLml0ZW1zKTtcbiAgICAgIH1cbiAgICB9KTtcbiAgfVxuXG4gIGhhbmRsZUNsaWNrKGl0ZW06IEtpdE5hdmlnYXRpb25NZW51SXRlbSk6IHZvaWQge1xuICAgIGlmICghdGhpcy5jb2xsYXBzZWQpIHtcbiAgICAgIGl0ZW0uZXhwYW5kZWQgPSAhaXRlbS5leHBhbmRlZDtcbiAgICB9XG4gIH1cblxuICBoYW5kbGVIb3ZlcihpdGVtOiBLaXROYXZpZ2F0aW9uTWVudUl0ZW0sIGlzSG92ZXJpbmc6IGJvb2xlYW4pOiB2b2lkIHtcbiAgICBpZiAodGhpcy5jb2xsYXBzZWQpIHtcbiAgICAgIGl0ZW0uZXhwYW5kZWQgPSBpc0hvdmVyaW5nO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { KitNavigationMenuItem } from './kit-navigation-menu.model';
|
|
2
|
-
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class KitNavigationMenuBaseComponent {
|
|
5
|
-
/**
|
|
6
|
-
* Defines whether menu will be collapsed
|
|
7
|
-
*/
|
|
8
|
-
collapsed: boolean;
|
|
9
|
-
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
10
|
-
collapseAll(items: KitNavigationMenuItem[]): void;
|
|
11
|
-
handleClick(item: KitNavigationMenuItem): void;
|
|
12
|
-
handleHover(item: KitNavigationMenuItem, isHovering: boolean): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuBaseComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuBaseComponent, "ng-component", never, { "collapsed": { "alias": "collapsed"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
-
}
|