@festo-ui/angular 3.0.0 → 3.1.0
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/festo-ui-angular.umd.js +24 -1
- package/bundles/festo-ui-angular.umd.js.map +1 -1
- package/esm2015/lib/components/tabs/tab-pane/tab-pane.component.js +7 -1
- package/esm2015/lib/components/tabs/tab-pane/tab-pane.component.js.map +1 -1
- package/esm2015/lib/components/tabs/tabs.component.js +19 -0
- package/esm2015/lib/components/tabs/tabs.component.js.map +1 -1
- package/fesm2015/festo-ui-angular.js +24 -2
- package/fesm2015/festo-ui-angular.js.map +1 -1
- package/lib/components/tabs/tab-pane/tab-pane.component.d.ts +5 -1
- package/lib/components/tabs/tabs.component.d.ts +5 -2
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TabPaneComponent {
|
|
3
|
+
export declare class TabPaneComponent implements OnChanges {
|
|
3
4
|
static nextId: number;
|
|
4
5
|
id: string;
|
|
5
6
|
name: string;
|
|
@@ -8,6 +9,9 @@ export declare class TabPaneComponent {
|
|
|
8
9
|
isVisible: boolean;
|
|
9
10
|
tabId: string;
|
|
10
11
|
tabPaneId: string;
|
|
12
|
+
private changesSubject;
|
|
13
|
+
changes$: import("rxjs").Observable<boolean>;
|
|
14
|
+
ngOnChanges(): void;
|
|
11
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabPaneComponent, never>;
|
|
12
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<TabPaneComponent, "fng-tab-pane", never, { "id": "id"; "name": "name"; "icon": "icon"; "active": "active"; "isVisible": "isVisible"; }, {}, never, ["*"]>;
|
|
13
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, QueryList, Renderer2 } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, QueryList, Renderer2 } from '@angular/core';
|
|
2
2
|
import { TabPaneComponent } from './tab-pane/tab-pane.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface Tab {
|
|
@@ -31,7 +31,7 @@ export interface TabScrollHorizontalEdges {
|
|
|
31
31
|
left: number;
|
|
32
32
|
right: number;
|
|
33
33
|
}
|
|
34
|
-
export declare class TabsComponent implements AfterContentInit, AfterViewInit {
|
|
34
|
+
export declare class TabsComponent implements AfterContentInit, AfterViewInit, OnDestroy {
|
|
35
35
|
private elRef;
|
|
36
36
|
private document;
|
|
37
37
|
private renderer;
|
|
@@ -57,13 +57,16 @@ export declare class TabsComponent implements AfterContentInit, AfterViewInit {
|
|
|
57
57
|
private elemScrollContent;
|
|
58
58
|
private readonly injectedWindow;
|
|
59
59
|
private resizeObserver;
|
|
60
|
+
private complete;
|
|
60
61
|
constructor(elRef: ElementRef, document: Document, renderer: Renderer2, cd: ChangeDetectorRef);
|
|
61
62
|
ngAfterContentInit(): void;
|
|
62
63
|
ngAfterViewInit(): void;
|
|
64
|
+
ngOnDestroy(): void;
|
|
63
65
|
showTabPane(id: string): void;
|
|
64
66
|
handleTabScroll(event: any, index: number): void;
|
|
65
67
|
private initTabs;
|
|
66
68
|
private initActiveTab;
|
|
69
|
+
private handleTabPaneChanges;
|
|
67
70
|
private scrollTo;
|
|
68
71
|
private scrollIntoView;
|
|
69
72
|
private incrementScroll;
|