@indigina/ui-kit 1.1.128 → 1.1.130
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,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, WritableSignal } from '@angular/core';
|
|
1
|
+
import { InputSignal, ModelSignal, OnInit, WritableSignal } from '@angular/core';
|
|
2
2
|
import { KitNavigationMenuAppItem, KitNavigationMenuItem } from './kit-navigation-menu.model';
|
|
3
3
|
import { KitSvgIconType, KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
4
|
import { Router } from '@angular/router';
|
|
@@ -11,11 +11,11 @@ export declare class KitNavigationMenuComponent implements OnInit {
|
|
|
11
11
|
/**
|
|
12
12
|
* An items list which is going to be rendered as menu items
|
|
13
13
|
*/
|
|
14
|
-
menuItems: KitNavigationMenuItem[]
|
|
14
|
+
readonly menuItems: ModelSignal<KitNavigationMenuItem[]>;
|
|
15
15
|
/**
|
|
16
16
|
* An items list which is going to be rendered as apps menu items
|
|
17
17
|
*/
|
|
18
|
-
appsMenuItems: KitNavigationMenuAppItem[]
|
|
18
|
+
readonly appsMenuItems: InputSignal<KitNavigationMenuAppItem[]>;
|
|
19
19
|
logoPath: string;
|
|
20
20
|
readonly selectedItem: WritableSignal<KitNavigationMenuItem | null>;
|
|
21
21
|
readonly selectedAppsItems: WritableSignal<KitNavigationMenuAppItem[] | null>;
|
|
@@ -34,5 +34,5 @@ export declare class KitNavigationMenuComponent implements OnInit {
|
|
|
34
34
|
private toggleItem;
|
|
35
35
|
private updateMenuState;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuComponent, "kit-navigation-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; }; "appsMenuItems": { "alias": "appsMenuItems"; "required": false; }; "logoPath": { "alias": "logoPath"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuComponent, "kit-navigation-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; "isSignal": true; }; "appsMenuItems": { "alias": "appsMenuItems"; "required": false; "isSignal": true; }; "logoPath": { "alias": "logoPath"; "required": false; }; }, { "menuItems": "menuItemsChange"; }, never, never, false, never>;
|
|
38
38
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter,
|
|
1
|
+
import { EventEmitter, Signal } from '@angular/core';
|
|
2
2
|
import { KitTabComponent } from './kit-tab/kit-tab.component';
|
|
3
3
|
import { KitTabsSize, KitTabsType } from './kit-tabs.const';
|
|
4
4
|
import { KitTabsSelectEvent } from './kit-tabs.model';
|
|
@@ -21,7 +21,7 @@ export declare class KitTabsComponent {
|
|
|
21
21
|
/**
|
|
22
22
|
* Defines the reference to the tabs content
|
|
23
23
|
*/
|
|
24
|
-
tabs:
|
|
24
|
+
readonly tabs: Signal<readonly KitTabComponent[]>;
|
|
25
25
|
onTabSelect(event: SelectEvent): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTabsComponent, never>;
|
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitTabsComponent, "kit-tabs", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; }, { "tabSelected": "tabSelected"; }, ["tabs"], never, false, never>;
|