@festo-ui/angular 3.2.1-pre-20220809.2 → 3.2.1-pre-20220824.4
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/esm2020/lib/components/loading-indicator/loading-indicator.component.mjs +3 -3
- package/esm2020/lib/components/popovers/popover.service.mjs +2 -2
- package/esm2020/lib/components/tabs/tab-pane/tab-pane.component.mjs +5 -2
- package/esm2020/lib/components/tabs/tabs.component.mjs +41 -21
- package/fesm2015/festo-ui-angular.mjs +49 -25
- package/fesm2015/festo-ui-angular.mjs.map +1 -1
- package/fesm2020/festo-ui-angular.mjs +47 -24
- package/fesm2020/festo-ui-angular.mjs.map +1 -1
- package/lib/components/tabs/tab-pane/tab-pane.component.d.ts +2 -1
- package/lib/components/tabs/tabs.component.d.ts +7 -1
- package/package.json +1 -1
- package/scss/base/components/loading-indicator/loading-indicator.component.scss +0 -21
- package/scss/base/components/tabs/tabs.component.scss +14 -0
|
@@ -7,11 +7,12 @@ export declare class TabPaneComponent implements OnChanges {
|
|
|
7
7
|
icon: string;
|
|
8
8
|
active: boolean;
|
|
9
9
|
isVisible: boolean;
|
|
10
|
+
disabled: boolean;
|
|
10
11
|
tabId: string;
|
|
11
12
|
tabPaneId: string;
|
|
12
13
|
private changesSubject;
|
|
13
14
|
changes$: import("rxjs").Observable<boolean>;
|
|
14
15
|
ngOnChanges(): void;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabPaneComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabPaneComponent, "fng-tab-pane", never, { "id": "id"; "name": "name"; "icon": "icon"; "active": "active"; "isVisible": "isVisible"; }, {}, never, ["*"]>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabPaneComponent, "fng-tab-pane", never, { "id": "id"; "name": "name"; "icon": "icon"; "active": "active"; "isVisible": "isVisible"; "disabled": "disabled"; }, {}, never, ["*"]>;
|
|
17
18
|
}
|
|
@@ -6,6 +6,7 @@ export interface Tab {
|
|
|
6
6
|
paneId: string;
|
|
7
7
|
active?: boolean;
|
|
8
8
|
icon?: string;
|
|
9
|
+
disabled?: boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare type TabItemAppearance = 'fill' | 'equal' | 'default';
|
|
11
12
|
export declare type TabViewType = 'legacy' | 'responsive';
|
|
@@ -31,6 +32,10 @@ export interface TabScrollHorizontalEdges {
|
|
|
31
32
|
left: number;
|
|
32
33
|
right: number;
|
|
33
34
|
}
|
|
35
|
+
export interface BeforeTabChangeEvent {
|
|
36
|
+
ok: () => void;
|
|
37
|
+
cancel: () => void;
|
|
38
|
+
}
|
|
34
39
|
export declare class TabsComponent implements AfterContentInit, AfterViewInit, OnDestroy {
|
|
35
40
|
private elRef;
|
|
36
41
|
private document;
|
|
@@ -40,6 +45,7 @@ export declare class TabsComponent implements AfterContentInit, AfterViewInit, O
|
|
|
40
45
|
viewType: TabViewType;
|
|
41
46
|
showDivider: boolean;
|
|
42
47
|
config: TabsConfiguration;
|
|
48
|
+
fngBeforeTabChange: EventEmitter<BeforeTabChangeEvent>;
|
|
43
49
|
fngTabChange: EventEmitter<{
|
|
44
50
|
previous: string;
|
|
45
51
|
current: string;
|
|
@@ -85,5 +91,5 @@ export declare class TabsComponent implements AfterContentInit, AfterViewInit, O
|
|
|
85
91
|
private setScrollContentStyleProperty;
|
|
86
92
|
private findAdjacentTabIndexClosestToEdge;
|
|
87
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "fng-tabs", never, { "viewType": "fngTabsViewType"; "showDivider": "fngTabsUseBottomDivider"; "config": "config"; }, { "fngTabChange": "fngTabChange"; }, ["panes"], ["*"]>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "fng-tabs", never, { "viewType": "fngTabsViewType"; "showDivider": "fngTabsUseBottomDivider"; "config": "config"; }, { "fngBeforeTabChange": "fngBeforeTabChange"; "fngTabChange": "fngTabChange"; }, ["panes"], ["*"]>;
|
|
89
95
|
}
|
package/package.json
CHANGED
|
@@ -3,24 +3,3 @@
|
|
|
3
3
|
fng-loading-indicator {
|
|
4
4
|
display: block;
|
|
5
5
|
}
|
|
6
|
-
|
|
7
|
-
.fng-waiting-container {
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: 100%;
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
align-items: center;
|
|
14
|
-
.fng-waiting-content-container {
|
|
15
|
-
margin-top: 12px;
|
|
16
|
-
color: $hero;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.fng-waiting-container-sm {
|
|
21
|
-
flex-direction: row;
|
|
22
|
-
.fng-waiting-content-container {
|
|
23
|
-
margin-top: unset;
|
|
24
|
-
margin-left: 8px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -53,6 +53,14 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
&.fwe-disabled {
|
|
57
|
+
background-color: $control-disabled;
|
|
58
|
+
|
|
59
|
+
.fwe-legacy-tab-link {
|
|
60
|
+
color: $text-disabled;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
56
64
|
&:not(.fwe-active) {
|
|
57
65
|
border-bottom: 2px solid $gray-100;
|
|
58
66
|
|
|
@@ -276,6 +284,12 @@
|
|
|
276
284
|
}
|
|
277
285
|
}
|
|
278
286
|
|
|
287
|
+
&--disabled {
|
|
288
|
+
.fng-tab-text-label {
|
|
289
|
+
color: $text-disabled;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
279
293
|
&-content {
|
|
280
294
|
position: relative;
|
|
281
295
|
display: flex;
|