@evotor-dev/ui-kit 6.17.2 → 6.17.3
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/bundles/evotor-dev-ui-kit.umd.js +12 -12
- package/bundles/evotor-dev-ui-kit.umd.js.map +1 -1
- package/esm2015/lib/components/evo-navigation-tabs/evo-navigation-tabs.component.js +13 -13
- package/esm2015/lib/components/evo-navigation-tabs/interfaces/evo-navigation-tab.js +2 -0
- package/esm2015/lib/components/evo-navigation-tabs/public-api.js +3 -2
- package/fesm2015/evotor-dev-ui-kit.js +12 -12
- package/fesm2015/evotor-dev-ui-kit.js.map +1 -1
- package/lib/components/evo-navigation-tabs/evo-navigation-tabs.component.d.ts +6 -9
- package/lib/components/evo-navigation-tabs/interfaces/evo-navigation-tab.d.ts +11 -0
- package/lib/components/evo-navigation-tabs/public-api.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { AfterViewChecked, AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { EvoNavigationTabsSize } from './types/evo-navigation-tabs-size';
|
|
3
|
+
import { EvoNavigationTab } from './interfaces/evo-navigation-tab';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class EvoNavigationTabsComponent implements AfterViewInit, AfterViewChecked, OnDestroy {
|
|
5
6
|
private readonly el;
|
|
6
|
-
tabs:
|
|
7
|
-
label: string;
|
|
8
|
-
link?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}[];
|
|
7
|
+
tabs: EvoNavigationTab[];
|
|
11
8
|
size: EvoNavigationTabsSize;
|
|
12
|
-
set
|
|
9
|
+
set setActiveTabIndex(index: number);
|
|
13
10
|
set setDisabled(disabled: boolean);
|
|
14
|
-
|
|
11
|
+
activeTabIndexChange: EventEmitter<number>;
|
|
15
12
|
disabled: boolean;
|
|
16
|
-
private
|
|
13
|
+
private activeTabIndex;
|
|
17
14
|
private readonly disabledSubject$;
|
|
18
15
|
private readonly nextRenderSubject$;
|
|
19
16
|
private readonly destroy$;
|
|
@@ -28,5 +25,5 @@ export declare class EvoNavigationTabsComponent implements AfterViewInit, AfterV
|
|
|
28
25
|
private markTabAsDisabled;
|
|
29
26
|
private initSubscriptions;
|
|
30
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<EvoNavigationTabsComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EvoNavigationTabsComponent, "evo-navigation-tabs", never, { "tabs": "tabs"; "size": "size"; "
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoNavigationTabsComponent, "evo-navigation-tabs", never, { "tabs": "tabs"; "size": "size"; "setActiveTabIndex": "activeTabIndex"; "setDisabled": "disabled"; }, { "activeTabIndexChange": "activeTabIndexChange"; }, never, ["[position=start]", "*"]>;
|
|
32
29
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ActivatedRoute, Params, QueryParamsHandling } from '@angular/router';
|
|
2
|
+
export interface EvoNavigationTab {
|
|
3
|
+
label: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
routerLink?: any[] | string | null | undefined;
|
|
6
|
+
relativeTo?: ActivatedRoute | null;
|
|
7
|
+
queryParams?: Params | null;
|
|
8
|
+
fragment?: string;
|
|
9
|
+
queryParamsHandling?: QueryParamsHandling | null;
|
|
10
|
+
preserveFragment?: boolean;
|
|
11
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './evo-navigation-tabs.module';
|
|
2
2
|
export * from './evo-navigation-tabs.component';
|
|
3
3
|
export * from './evo-navigation-tab.directive';
|
|
4
|
-
export * from
|
|
4
|
+
export * from './types/evo-navigation-tabs-size';
|
|
5
|
+
export * from './interfaces/evo-navigation-tab';
|