@ethlete/cdk 2.7.0 → 2.7.1
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/CHANGELOG.md +6 -0
- package/esm2022/lib/components/accordion/components/accordion/accordion.component.mjs +10 -21
- package/esm2022/lib/components/accordion/components/accordion-group/accordion-group.component.mjs +6 -12
- package/esm2022/lib/components/button/directives/button/button.directive.mjs +4 -5
- package/esm2022/lib/components/forms/components/input/components/textarea-input/textarea-input.component.mjs +9 -20
- package/esm2022/lib/components/forms/components/label/directives/label-suffix/label-suffix.directive.mjs +6 -12
- package/esm2022/lib/components/forms/components/radio/directives/radio/radio.directive.mjs +3 -4
- package/esm2022/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.mjs +3 -4
- package/esm2022/lib/components/forms/components/select/components/combobox/components/combobox/combobox.component.mjs +6 -7
- package/esm2022/lib/components/forms/components/select/components/native-select/directives/native-select-option/native-select-option.directive.mjs +9 -20
- package/esm2022/lib/components/forms/components/select/components/select/directives/select/select.directive.mjs +3 -4
- package/esm2022/lib/components/forms/components/select/components/select/directives/select-option/select-option.directive.mjs +3 -4
- package/esm2022/lib/components/forms/components/slider/components/slider/slider.component.mjs +8 -9
- package/esm2022/lib/components/forms/directives/dynamic-form-field/dynamic-form-field.directive.mjs +3 -4
- package/esm2022/lib/components/forms/directives/dynamic-form-group/dynamic-form-group.directive.mjs +3 -4
- package/esm2022/lib/components/masonry/components/masonry/masonry.component.mjs +5 -6
- package/esm2022/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.mjs +3 -4
- package/esm2022/lib/components/overlay/services/dynamic-overlay.service.mjs +8 -10
- package/esm2022/lib/components/pagination/components/pagination/pagination.component.mjs +7 -7
- package/esm2022/lib/components/picture/picture-data.directive.mjs +6 -12
- package/esm2022/lib/components/progress-spinner/progress-spinner.component.mjs +11 -22
- package/esm2022/lib/components/scrollable/components/scrollable/scrollable.component.mjs +5 -3
- package/esm2022/lib/components/skeleton/components/skeleton/skeleton.component.mjs +6 -12
- package/esm2022/lib/components/sort/components/sort-header/sort-header.component.mjs +23 -48
- package/esm2022/lib/components/sort/partials/sort/sort.directive.mjs +17 -35
- package/esm2022/lib/components/table/components/table/table.component.mjs +4 -5
- package/esm2022/lib/components/table/partials/table-busy/table-busy.directive.mjs +6 -6
- package/esm2022/lib/components/table/partials/table-busy-outlet/table-busy-outlet.directive.mjs +7 -7
- package/esm2022/lib/components/tabs/components/inline-tabs/inline-tabs.component.mjs +40 -69
- package/esm2022/lib/components/tabs/components/nav-tabs/nav-tabs.component.mjs +8 -16
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab/inline-tab.component.mjs +9 -20
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-body/inline-tab-body.component.mjs +14 -16
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-content/inline-tab-content.directive.mjs +6 -6
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-header/inline-tab-header.component.mjs +4 -13
- package/esm2022/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/inline-tab-label-wrapper.directive.mjs +10 -16
- package/esm2022/lib/components/tabs/partials/nav-tabs/nav-tab-link/nav-tab-link.directive.mjs +23 -42
- package/esm2022/lib/components/tabs/utils/active-tab-underline.util.mjs +3 -4
- package/esm2022/lib/components/tabs/utils/paginated-tab-header.directive.mjs +24 -44
- package/fesm2022/ethlete-cdk.mjs +253 -433
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/lib/components/accordion/components/accordion/accordion.component.d.ts +4 -7
- package/lib/components/accordion/components/accordion-group/accordion-group.component.d.ts +2 -4
- package/lib/components/button/directives/button/button.directive.d.ts +2 -3
- package/lib/components/forms/components/input/components/textarea-input/textarea-input.component.d.ts +4 -7
- package/lib/components/forms/components/label/directives/label-suffix/label-suffix.directive.d.ts +2 -4
- package/lib/components/forms/components/radio/directives/radio/radio.directive.d.ts +1 -2
- package/lib/components/forms/components/segmented-button/directives/segmented-button/segmented-button.directive.d.ts +1 -2
- package/lib/components/forms/components/select/components/combobox/components/combobox/combobox.component.d.ts +4 -5
- package/lib/components/forms/components/select/components/native-select/directives/native-select-option/native-select-option.directive.d.ts +4 -7
- package/lib/components/forms/components/select/components/select/directives/select/select.directive.d.ts +1 -2
- package/lib/components/forms/components/select/components/select/directives/select-option/select-option.directive.d.ts +1 -2
- package/lib/components/forms/components/slider/components/slider/slider.component.d.ts +5 -6
- package/lib/components/forms/directives/dynamic-form-field/dynamic-form-field.directive.d.ts +1 -2
- package/lib/components/forms/directives/dynamic-form-group/dynamic-form-group.directive.d.ts +1 -2
- package/lib/components/masonry/components/masonry/masonry.component.d.ts +2 -3
- package/lib/components/overlay/components/toggletip/directives/toggletip/toggletip.directive.d.ts +1 -2
- package/lib/components/overlay/services/dynamic-overlay.service.d.ts +3 -6
- package/lib/components/pagination/components/pagination/pagination.component.d.ts +3 -3
- package/lib/components/picture/picture-data.directive.d.ts +2 -4
- package/lib/components/progress-spinner/progress-spinner.component.d.ts +6 -9
- package/lib/components/skeleton/components/skeleton/skeleton.component.d.ts +2 -4
- package/lib/components/sort/components/sort-header/sort-header.component.d.ts +17 -21
- package/lib/components/sort/partials/sort/sort.directive.d.ts +7 -11
- package/lib/components/table/components/table/table.component.d.ts +1 -2
- package/lib/components/table/partials/table-busy/table-busy.directive.d.ts +1 -2
- package/lib/components/table/partials/table-busy-outlet/table-busy-outlet.directive.d.ts +1 -2
- package/lib/components/tabs/components/inline-tabs/inline-tabs.component.d.ts +14 -23
- package/lib/components/tabs/components/nav-tabs/nav-tabs.component.d.ts +2 -7
- package/lib/components/tabs/partials/inline-tabs/inline-tab/inline-tab.component.d.ts +4 -7
- package/lib/components/tabs/partials/inline-tabs/inline-tab-body/inline-tab-body.component.d.ts +5 -4
- package/lib/components/tabs/partials/inline-tabs/inline-tab-content/inline-tab-content.directive.d.ts +1 -2
- package/lib/components/tabs/partials/inline-tabs/inline-tab-header/inline-tab-header.component.d.ts +2 -5
- package/lib/components/tabs/partials/inline-tabs/inline-tab-label-wrapper/inline-tab-label-wrapper.directive.d.ts +3 -6
- package/lib/components/tabs/partials/nav-tabs/nav-tab-link/nav-tab-link.directive.d.ts +13 -17
- package/lib/components/tabs/utils/active-tab-underline.util.d.ts +1 -2
- package/lib/components/tabs/utils/paginated-tab-header.directive.d.ts +11 -16
- package/package.json +3 -4
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
2
|
-
import {
|
|
3
|
-
import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, TrackByFunction } from '@angular/core';
|
|
2
|
+
import { AfterContentChecked, AfterContentInit, ElementRef, EventEmitter, OnDestroy, TrackByFunction } from '@angular/core';
|
|
4
3
|
import { NgClassType, TypedQueryList } from '@ethlete/core';
|
|
5
4
|
import { InlineTabComponent } from '../../partials';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
@@ -15,40 +14,26 @@ interface InlineTabsBaseHeader {
|
|
|
15
14
|
}
|
|
16
15
|
export declare class InlineTabsComponent implements AfterContentInit, AfterContentChecked, OnDestroy {
|
|
17
16
|
private _cdr;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
get contentTabIndex(): number | null;
|
|
22
|
-
set contentTabIndex(value: NumberInput);
|
|
23
|
-
private _contentTabIndex;
|
|
24
|
-
get preserveContent(): boolean;
|
|
25
|
-
set preserveContent(value: BooleanInput);
|
|
26
|
-
private _preserveContent;
|
|
17
|
+
selectedIndex: number | null;
|
|
18
|
+
contentTabIndex: number | null;
|
|
19
|
+
preserveContent: boolean;
|
|
27
20
|
tabHeaderClasses: NgClassType;
|
|
28
21
|
itemSize: 'auto' | 'same';
|
|
29
22
|
scrollableClass?: NgClassType;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
get renderButtons(): boolean;
|
|
34
|
-
set renderButtons(value: BooleanInput);
|
|
35
|
-
private _renderButtons;
|
|
36
|
-
get renderScrollbars(): boolean;
|
|
37
|
-
set renderScrollbars(value: BooleanInput);
|
|
38
|
-
private _renderScrollbars;
|
|
23
|
+
renderMasks: boolean;
|
|
24
|
+
renderButtons: boolean;
|
|
25
|
+
renderScrollbars: boolean;
|
|
39
26
|
readonly selectedIndexChange: EventEmitter<number>;
|
|
40
27
|
readonly focusChange: EventEmitter<InlineTabChangeEvent>;
|
|
41
28
|
readonly selectedTabChange: EventEmitter<InlineTabChangeEvent>;
|
|
42
29
|
_allTabs: TypedQueryList<InlineTabComponent>;
|
|
43
|
-
_tabBodyWrapper: ElementRef;
|
|
30
|
+
_tabBodyWrapper: ElementRef<HTMLElement> | null;
|
|
44
31
|
_tabHeader: InlineTabsBaseHeader;
|
|
45
32
|
_tabs: TypedQueryList<InlineTabComponent>;
|
|
46
33
|
private _groupId;
|
|
47
|
-
private _indexToSelect;
|
|
48
34
|
private _lastFocusedTabIndex;
|
|
49
35
|
private _tabsSubscription;
|
|
50
36
|
private _tabLabelSubscription;
|
|
51
|
-
constructor(_cdr: ChangeDetectorRef);
|
|
52
37
|
ngAfterContentInit(): void;
|
|
53
38
|
ngAfterContentChecked(): void;
|
|
54
39
|
ngOnDestroy(): void;
|
|
@@ -68,5 +53,11 @@ export declare class InlineTabsComponent implements AfterContentInit, AfterConte
|
|
|
68
53
|
private _createChangeEvent;
|
|
69
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<InlineTabsComponent, never>;
|
|
70
55
|
static ɵcmp: i0.ɵɵComponentDeclaration<InlineTabsComponent, "et-inline-tabs", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "contentTabIndex": { "alias": "contentTabIndex"; "required": false; }; "preserveContent": { "alias": "preserveContent"; "required": false; }; "tabHeaderClasses": { "alias": "tabHeaderClasses"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "scrollableClass": { "alias": "scrollableClass"; "required": false; }; "renderMasks": { "alias": "renderMasks"; "required": false; }; "renderButtons": { "alias": "renderButtons"; "required": false; }; "renderScrollbars": { "alias": "renderScrollbars"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "focusChange": "focusChange"; "selectedTabChange": "selectedTabChange"; }, ["_allTabs"], never, true, never, false>;
|
|
56
|
+
static ngAcceptInputType_selectedIndex: unknown;
|
|
57
|
+
static ngAcceptInputType_contentTabIndex: unknown;
|
|
58
|
+
static ngAcceptInputType_preserveContent: unknown;
|
|
59
|
+
static ngAcceptInputType_renderMasks: unknown;
|
|
60
|
+
static ngAcceptInputType_renderButtons: unknown;
|
|
61
|
+
static ngAcceptInputType_renderScrollbars: unknown;
|
|
71
62
|
}
|
|
72
63
|
export {};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
3
|
-
import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
4
|
-
import { Router } from '@angular/router';
|
|
1
|
+
import { AfterContentChecked, AfterContentInit, OnDestroy, OnInit } from '@angular/core';
|
|
5
2
|
import { TypedQueryList } from '@ethlete/core';
|
|
6
3
|
import { ScrollableComponent } from '../../../scrollable';
|
|
7
4
|
import { NavTabLinkComponent } from '../../partials/nav-tabs/nav-tab-link';
|
|
@@ -9,7 +6,6 @@ import { NavTabsOutletComponent } from '../../partials/nav-tabs/nav-tabs-outlet'
|
|
|
9
6
|
import { ActiveTabUnderlineBarManager, ActiveTabUnderlineDirective, PaginatedTabHeaderDirective } from '../../utils';
|
|
10
7
|
import * as i0 from "@angular/core";
|
|
11
8
|
export declare class NavTabsComponent extends PaginatedTabHeaderDirective implements OnInit, AfterContentChecked, AfterContentInit, OnDestroy {
|
|
12
|
-
_cdr: ChangeDetectorRef;
|
|
13
9
|
private _router;
|
|
14
10
|
tabOutlet?: NavTabsOutletComponent;
|
|
15
11
|
_items: TypedQueryList<NavTabLinkComponent>;
|
|
@@ -17,12 +13,11 @@ export declare class NavTabsComponent extends PaginatedTabHeaderDirective implem
|
|
|
17
13
|
_scrollable: ScrollableComponent;
|
|
18
14
|
_activeTabUnderlineManager?: ActiveTabUnderlineBarManager;
|
|
19
15
|
get _attrRole(): string | null;
|
|
20
|
-
constructor(elementRef: ElementRef, dir: Directionality, ngZone: NgZone, _cdr: ChangeDetectorRef, viewportRuler: ViewportRuler, _router: Router);
|
|
21
16
|
ngOnInit(): void;
|
|
22
17
|
protected _itemSelected(): void;
|
|
23
18
|
ngAfterContentInit(): void;
|
|
24
19
|
updateActiveLink(): void;
|
|
25
20
|
_getRole(): string | null;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavTabsComponent,
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavTabsComponent, never>;
|
|
27
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavTabsComponent, "[et-nav-tabs]", never, { "tabOutlet": { "alias": "tabOutlet"; "required": false; }; }, {}, ["_items", "_inkBars"], ["*"], true, never, false>;
|
|
28
23
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
3
2
|
import { InjectionToken, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
4
3
|
import { NgClassType } from '@ethlete/core';
|
|
@@ -12,9 +11,7 @@ export declare class InlineTabComponent implements OnInit, OnChanges, OnDestroy
|
|
|
12
11
|
get templateLabel(): InlineTabLabelDirective;
|
|
13
12
|
set templateLabel(value: InlineTabLabelDirective);
|
|
14
13
|
protected _templateLabel: InlineTabLabelDirective;
|
|
15
|
-
|
|
16
|
-
set fitUnderlineToContent(v: BooleanInput);
|
|
17
|
-
private _fitToContent;
|
|
14
|
+
fitUnderlineToContent: boolean;
|
|
18
15
|
_explicitContent: TemplateRef<unknown>;
|
|
19
16
|
_implicitContent: TemplateRef<unknown>;
|
|
20
17
|
textLabel: string;
|
|
@@ -22,9 +19,7 @@ export declare class InlineTabComponent implements OnInit, OnChanges, OnDestroy
|
|
|
22
19
|
ariaLabelledby: string;
|
|
23
20
|
labelClass: NgClassType;
|
|
24
21
|
bodyClass: NgClassType;
|
|
25
|
-
|
|
26
|
-
set disabled(value: BooleanInput);
|
|
27
|
-
private _disabled;
|
|
22
|
+
disabled: boolean;
|
|
28
23
|
private _contentPortal;
|
|
29
24
|
get content(): TemplatePortal | null;
|
|
30
25
|
readonly _stateChanges: Subject<void>;
|
|
@@ -38,4 +33,6 @@ export declare class InlineTabComponent implements OnInit, OnChanges, OnDestroy
|
|
|
38
33
|
protected _setTemplateLabelInput(value: InlineTabLabelDirective | undefined): void;
|
|
39
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<InlineTabComponent, [null, { optional: true; }]>;
|
|
40
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<InlineTabComponent, "et-inline-tab", never, { "fitUnderlineToContent": { "alias": "fitUnderlineToContent"; "required": false; }; "textLabel": { "alias": "label"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "bodyClass": { "alias": "bodyClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["templateLabel", "_explicitContent"], ["*"], true, never, false>;
|
|
36
|
+
static ngAcceptInputType_fitUnderlineToContent: unknown;
|
|
37
|
+
static ngAcceptInputType_disabled: unknown;
|
|
41
38
|
}
|
package/lib/components/tabs/partials/inline-tabs/inline-tab-body/inline-tab-body.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
|
-
import { Direction
|
|
2
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
3
3
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
4
|
-
import {
|
|
4
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import { InlineTabBodyHostDirective } from '../inline-tab-body-host';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -10,6 +10,7 @@ export type InlineTabBodyOriginState = 'left' | 'right';
|
|
|
10
10
|
export declare class InlineTabBodyComponent implements OnInit, OnDestroy {
|
|
11
11
|
private _elementRef;
|
|
12
12
|
private _dir;
|
|
13
|
+
private _cdr;
|
|
13
14
|
private _positionIndex;
|
|
14
15
|
private _centeringSub;
|
|
15
16
|
private _leavingSub;
|
|
@@ -26,7 +27,7 @@ export declare class InlineTabBodyComponent implements OnInit, OnDestroy {
|
|
|
26
27
|
animationDuration: string;
|
|
27
28
|
preserveContent: boolean;
|
|
28
29
|
set position(position: number);
|
|
29
|
-
constructor(
|
|
30
|
+
constructor();
|
|
30
31
|
ngOnInit(): void;
|
|
31
32
|
ngOnDestroy(): void;
|
|
32
33
|
_onTranslateTabStarted(event: AnimationEvent): void;
|
|
@@ -34,6 +35,6 @@ export declare class InlineTabBodyComponent implements OnInit, OnDestroy {
|
|
|
34
35
|
_isCenterPosition(position: InlineTabBodyPositionState | string): boolean;
|
|
35
36
|
private _computePositionAnimationState;
|
|
36
37
|
private _computePositionFromOrigin;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InlineTabBodyComponent,
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InlineTabBodyComponent, never>;
|
|
38
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<InlineTabBodyComponent, "et-inline-tab-body", never, { "_content": { "alias": "content"; "required": false; }; "origin": { "alias": "origin"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "preserveContent": { "alias": "preserveContent"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "_onCentering": "_onCentering"; "_beforeCentering": "_beforeCentering"; "_afterLeavingCenter": "_afterLeavingCenter"; "_onCentered": "_onCentered"; }, never, never, true, never, false>;
|
|
39
40
|
}
|
|
@@ -2,8 +2,7 @@ import { InjectionToken, TemplateRef } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare const TAB_CONTENT: InjectionToken<InlineTabContentDirective>;
|
|
4
4
|
export declare class InlineTabContentDirective {
|
|
5
|
-
template: TemplateRef<
|
|
6
|
-
constructor(template: TemplateRef<unknown>);
|
|
5
|
+
template: TemplateRef<any>;
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<InlineTabContentDirective, never>;
|
|
8
7
|
static ɵdir: i0.ɵɵDirectiveDeclaration<InlineTabContentDirective, "[etInlineTabContent]", never, {}, {}, never, never, true, never, false>;
|
|
9
8
|
}
|
package/lib/components/tabs/partials/inline-tabs/inline-tab-header/inline-tab-header.component.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
3
|
-
import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy } from '@angular/core';
|
|
1
|
+
import { AfterContentChecked, AfterContentInit, OnDestroy } from '@angular/core';
|
|
4
2
|
import { TypedQueryList } from '@ethlete/core';
|
|
5
3
|
import { ScrollableComponent } from '../../../../scrollable';
|
|
6
4
|
import { ActiveTabUnderlineBarManager, ActiveTabUnderlineDirective, PaginatedTabHeaderDirective } from '../../../utils';
|
|
@@ -11,9 +9,8 @@ export declare class InlineTabHeaderComponent extends PaginatedTabHeaderDirectiv
|
|
|
11
9
|
_scrollable: ScrollableComponent;
|
|
12
10
|
_inkBars: TypedQueryList<ActiveTabUnderlineDirective>;
|
|
13
11
|
_activeTabUnderlineManager?: ActiveTabUnderlineBarManager;
|
|
14
|
-
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone);
|
|
15
12
|
ngAfterContentInit(): void;
|
|
16
13
|
protected _itemSelected(event: KeyboardEvent): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InlineTabHeaderComponent,
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InlineTabHeaderComponent, never>;
|
|
18
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<InlineTabHeaderComponent, "et-inline-tab-header", never, {}, {}, ["_items", "_inkBars"], ["*"], true, never, false>;
|
|
19
16
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import { ElementRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
import * as i1 from "../../../utils/active-tab-underline.util";
|
|
5
4
|
export declare class InlineTabLabelWrapperDirective {
|
|
6
|
-
elementRef: ElementRef
|
|
7
|
-
|
|
8
|
-
set disabled(value: BooleanInput);
|
|
9
|
-
private _disabled;
|
|
5
|
+
elementRef: ElementRef<any>;
|
|
6
|
+
disabled: boolean;
|
|
10
7
|
get attrAriaDisabled(): "true" | null;
|
|
11
|
-
constructor(elementRef: ElementRef);
|
|
12
8
|
focus(): void;
|
|
13
9
|
getOffsetLeft(): number;
|
|
14
10
|
getOffsetWidth(): number;
|
|
15
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<InlineTabLabelWrapperDirective, never>;
|
|
16
12
|
static ɵdir: i0.ɵɵDirectiveDeclaration<InlineTabLabelWrapperDirective, "[etInlineTabLabelWrapper]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.ActiveTabUnderlineDirective; inputs: { "fitUnderlineToContent": "fitUnderlineToContent"; }; outputs: {}; }], false>;
|
|
13
|
+
static ngAcceptInputType_disabled: unknown;
|
|
17
14
|
}
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
import { FocusableOption
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Router, RouterLink, RouterLinkActive } from '@angular/router';
|
|
5
|
-
import { NavTabsComponent } from '../../../components/nav-tabs/nav-tabs.component';
|
|
1
|
+
import { FocusableOption } from '@angular/cdk/a11y';
|
|
2
|
+
import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { RouterLink, RouterLinkActive } from '@angular/router';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
import * as i1 from "../../../utils/active-tab-underline.util";
|
|
8
6
|
export declare class NavTabLinkComponent implements OnInit, AfterViewInit, OnDestroy, FocusableOption {
|
|
9
7
|
private _tabNavBar;
|
|
10
|
-
elementRef: ElementRef
|
|
8
|
+
elementRef: ElementRef<any>;
|
|
11
9
|
private _focusMonitor;
|
|
12
10
|
private _router;
|
|
13
11
|
private _cdr;
|
|
14
12
|
private _ngZone;
|
|
15
|
-
_link
|
|
16
|
-
_linkWithHref
|
|
17
|
-
_linkConfig
|
|
13
|
+
_link: RouterLink | null;
|
|
14
|
+
_linkWithHref: RouterLink | null;
|
|
15
|
+
_linkConfig: RouterLinkActive | null;
|
|
18
16
|
get active(): boolean;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
private _tabIndex;
|
|
22
|
-
get disabled(): boolean;
|
|
23
|
-
set disabled(value: BooleanInput);
|
|
24
|
-
private _disabled;
|
|
17
|
+
tabIndex: number;
|
|
18
|
+
disabled: boolean;
|
|
25
19
|
id: string;
|
|
26
20
|
get _attrAriaControls(): string | null;
|
|
27
21
|
get _attrAriaCurrent(): string | null;
|
|
@@ -29,7 +23,7 @@ export declare class NavTabLinkComponent implements OnInit, AfterViewInit, OnDes
|
|
|
29
23
|
get _attrAriaSelected(): string | null;
|
|
30
24
|
get _attrTabIndex(): number;
|
|
31
25
|
get _attrRole(): string | null;
|
|
32
|
-
constructor(
|
|
26
|
+
constructor(tabIndex: string);
|
|
33
27
|
ngOnInit(): void;
|
|
34
28
|
ngAfterViewInit(): void;
|
|
35
29
|
ngOnDestroy(): void;
|
|
@@ -43,6 +37,8 @@ export declare class NavTabLinkComponent implements OnInit, AfterViewInit, OnDes
|
|
|
43
37
|
_getTabIndex(): number;
|
|
44
38
|
_markForCheck(): void;
|
|
45
39
|
private _haltDisabledEvents;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavTabLinkComponent, [
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavTabLinkComponent, [{ attribute: "tabindex"; }]>;
|
|
47
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavTabLinkComponent, "[et-nav-tab-link]", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.ActiveTabUnderlineDirective; inputs: { "fitUnderlineToContent": "fitUnderlineToContent"; }; outputs: {}; }], false>;
|
|
42
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
43
|
+
static ngAcceptInputType_disabled: unknown;
|
|
48
44
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
1
|
import { ElementRef, InjectionToken, OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import { TypedQueryList } from '@ethlete/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
@@ -20,7 +19,7 @@ export declare class ActiveTabUnderlineDirective implements OnInit, OnDestroy {
|
|
|
20
19
|
private _underlineElement;
|
|
21
20
|
private _underlineContentElement;
|
|
22
21
|
get fitUnderlineToContent(): boolean;
|
|
23
|
-
set fitUnderlineToContent(v:
|
|
22
|
+
set fitUnderlineToContent(v: unknown);
|
|
24
23
|
private _fitToContent;
|
|
25
24
|
activateUnderline(previousIndicatorClientRect?: DOMRect): void;
|
|
26
25
|
deactivateUnderline(): void;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FocusableOption } from '@angular/cdk/a11y';
|
|
2
|
-
import { Direction
|
|
3
|
-
import {
|
|
4
|
-
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
5
|
-
import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
3
|
+
import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
6
4
|
import { NgClassType, TypedQueryList } from '@ethlete/core';
|
|
7
5
|
import { ScrollableComponent } from '../../scrollable';
|
|
8
6
|
import * as i0 from "@angular/core";
|
|
@@ -31,22 +29,16 @@ export declare abstract class PaginatedTabHeaderDirective implements AfterConten
|
|
|
31
29
|
private _currentTextContent;
|
|
32
30
|
private _stopScrolling;
|
|
33
31
|
get selectedIndex(): number;
|
|
34
|
-
set selectedIndex(
|
|
32
|
+
set selectedIndex(val: unknown);
|
|
35
33
|
private _selectedIndex;
|
|
36
34
|
itemSize: 'auto' | 'same';
|
|
37
35
|
scrollableClass?: NgClassType;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
get renderButtons(): boolean;
|
|
42
|
-
set renderButtons(value: BooleanInput);
|
|
43
|
-
private _renderButtons;
|
|
44
|
-
get renderScrollbars(): boolean;
|
|
45
|
-
set renderScrollbars(value: BooleanInput);
|
|
46
|
-
private _renderScrollbars;
|
|
36
|
+
renderMasks: boolean;
|
|
37
|
+
renderButtons: boolean;
|
|
38
|
+
renderScrollbars: boolean;
|
|
47
39
|
readonly selectFocusedIndex: EventEmitter<number>;
|
|
48
40
|
readonly indexFocused: EventEmitter<number>;
|
|
49
|
-
constructor(
|
|
41
|
+
constructor();
|
|
50
42
|
protected abstract _itemSelected(event: KeyboardEvent): void;
|
|
51
43
|
ngAfterContentInit(): void;
|
|
52
44
|
ngAfterContentChecked(): void;
|
|
@@ -73,6 +65,9 @@ export declare abstract class PaginatedTabHeaderDirective implements AfterConten
|
|
|
73
65
|
_stopInterval(): void;
|
|
74
66
|
_handlePaginatorPress(direction: TabPaginationScrollDirection, mouseEvent?: MouseEvent): void;
|
|
75
67
|
private _scrollTo;
|
|
76
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatedTabHeaderDirective,
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatedTabHeaderDirective, never>;
|
|
77
69
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PaginatedTabHeaderDirective, never, never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "scrollableClass": { "alias": "scrollableClass"; "required": false; }; "renderMasks": { "alias": "renderMasks"; "required": false; }; "renderButtons": { "alias": "renderButtons"; "required": false; }; "renderScrollbars": { "alias": "renderScrollbars"; "required": false; }; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, never, never, false, never, false>;
|
|
70
|
+
static ngAcceptInputType_renderMasks: unknown;
|
|
71
|
+
static ngAcceptInputType_renderButtons: unknown;
|
|
72
|
+
static ngAcceptInputType_renderScrollbars: unknown;
|
|
78
73
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethlete/cdk",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"css": "./src/lib/styles/index.css",
|
|
@@ -19,10 +19,9 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@angular/common": "^15.2.1 || ^16.0.0",
|
|
21
21
|
"@angular/core": "^15.2.1 || ^16.0.0",
|
|
22
|
-
"@
|
|
23
|
-
"@ethlete/core": "2.7.0",
|
|
22
|
+
"@ethlete/core": "2.7.1",
|
|
24
23
|
"@angular/animations": "16.1.0",
|
|
25
|
-
"@ethlete/query": "4.3.
|
|
24
|
+
"@ethlete/query": "4.3.3"
|
|
26
25
|
},
|
|
27
26
|
"module": "fesm2022/ethlete-cdk.mjs",
|
|
28
27
|
"typings": "index.d.ts",
|