@i-cell/ids-angular 0.2.23 → 0.2.25
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/fesm2022/i-cell-ids-angular-accordion.mjs +32 -32
- package/fesm2022/i-cell-ids-angular-accordion.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-avatar.mjs +18 -18
- package/fesm2022/i-cell-ids-angular-avatar.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-badge.mjs +27 -27
- package/fesm2022/i-cell-ids-angular-badge.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-breadcrumb.mjs +45 -45
- package/fesm2022/i-cell-ids-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-button.mjs +19 -19
- package/fesm2022/i-cell-ids-angular-button.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-card.mjs +38 -41
- package/fesm2022/i-cell-ids-angular-card.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-checkbox.mjs +45 -45
- package/fesm2022/i-cell-ids-angular-checkbox.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-chip.mjs +28 -28
- package/fesm2022/i-cell-ids-angular-chip.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-core.mjs +18 -20
- package/fesm2022/i-cell-ids-angular-core.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-datepicker.mjs +74 -74
- package/fesm2022/i-cell-ids-angular-datepicker.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-dialog.mjs +23 -23
- package/fesm2022/i-cell-ids-angular-dialog.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-divider.mjs +12 -12
- package/fesm2022/i-cell-ids-angular-divider.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-forms.mjs +1054 -830
- package/fesm2022/i-cell-ids-angular-forms.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-icon-button.mjs +15 -15
- package/fesm2022/i-cell-ids-angular-icon-button.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-icon.mjs +15 -15
- package/fesm2022/i-cell-ids-angular-icon.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-menu.mjs +18 -18
- package/fesm2022/i-cell-ids-angular-menu.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-notification.mjs +26 -26
- package/fesm2022/i-cell-ids-angular-notification.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-overlay-panel.mjs +18 -18
- package/fesm2022/i-cell-ids-angular-overlay-panel.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-paginator.mjs +34 -34
- package/fesm2022/i-cell-ids-angular-paginator.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-radio.mjs +32 -32
- package/fesm2022/i-cell-ids-angular-radio.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs +34 -34
- package/fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-segmented-control.mjs +34 -34
- package/fesm2022/i-cell-ids-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-select.mjs +29 -29
- package/fesm2022/i-cell-ids-angular-select.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-side-nav.mjs +41 -41
- package/fesm2022/i-cell-ids-angular-side-nav.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-side-sheet.mjs +29 -29
- package/fesm2022/i-cell-ids-angular-side-sheet.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-snackbar.mjs +30 -30
- package/fesm2022/i-cell-ids-angular-snackbar.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-spinner.mjs +10 -10
- package/fesm2022/i-cell-ids-angular-spinner.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-switch.mjs +36 -36
- package/fesm2022/i-cell-ids-angular-switch.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-tab.mjs +140 -30
- package/fesm2022/i-cell-ids-angular-tab.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-table.mjs +94 -94
- package/fesm2022/i-cell-ids-angular-table.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-tag.mjs +20 -20
- package/fesm2022/i-cell-ids-angular-tag.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-tooltip.mjs +32 -32
- package/fesm2022/i-cell-ids-angular-tooltip.mjs.map +1 -1
- package/package.json +60 -60
- package/{accordion/index.d.ts → types/i-cell-ids-angular-accordion.d.ts} +1 -1
- package/{avatar/index.d.ts → types/i-cell-ids-angular-avatar.d.ts} +1 -1
- package/{button/index.d.ts → types/i-cell-ids-angular-button.d.ts} +1 -1
- package/{card/index.d.ts → types/i-cell-ids-angular-card.d.ts} +2 -2
- package/{chip/index.d.ts → types/i-cell-ids-angular-chip.d.ts} +5 -5
- package/{core/index.d.ts → types/i-cell-ids-angular-core.d.ts} +2 -2
- package/{datepicker/index.d.ts → types/i-cell-ids-angular-datepicker.d.ts} +1 -1
- package/{divider/index.d.ts → types/i-cell-ids-angular-divider.d.ts} +2 -2
- package/{forms/index.d.ts → types/i-cell-ids-angular-forms.d.ts} +116 -96
- package/{icon-button/index.d.ts → types/i-cell-ids-angular-icon-button.d.ts} +2 -2
- package/{icon/index.d.ts → types/i-cell-ids-angular-icon.d.ts} +1 -1
- package/{menu/index.d.ts → types/i-cell-ids-angular-menu.d.ts} +1 -1
- package/{notification/index.d.ts → types/i-cell-ids-angular-notification.d.ts} +1 -1
- package/{paginator/index.d.ts → types/i-cell-ids-angular-paginator.d.ts} +1 -1
- package/{radio/index.d.ts → types/i-cell-ids-angular-radio.d.ts} +1 -1
- package/{segmented-control-toggle/index.d.ts → types/i-cell-ids-angular-segmented-control-toggle.d.ts} +1 -1
- package/{segmented-control/index.d.ts → types/i-cell-ids-angular-segmented-control.d.ts} +1 -1
- package/{snackbar/index.d.ts → types/i-cell-ids-angular-snackbar.d.ts} +3 -3
- package/{tab/index.d.ts → types/i-cell-ids-angular-tab.d.ts} +16 -3
- package/{tag/index.d.ts → types/i-cell-ids-angular-tag.d.ts} +1 -1
- /package/{badge/index.d.ts → types/i-cell-ids-angular-badge.d.ts} +0 -0
- /package/{breadcrumb/index.d.ts → types/i-cell-ids-angular-breadcrumb.d.ts} +0 -0
- /package/{checkbox/index.d.ts → types/i-cell-ids-angular-checkbox.d.ts} +0 -0
- /package/{dialog/index.d.ts → types/i-cell-ids-angular-dialog.d.ts} +0 -0
- /package/{overlay-panel/index.d.ts → types/i-cell-ids-angular-overlay-panel.d.ts} +0 -0
- /package/{select/index.d.ts → types/i-cell-ids-angular-select.d.ts} +0 -0
- /package/{side-nav/index.d.ts → types/i-cell-ids-angular-side-nav.d.ts} +0 -0
- /package/{side-sheet/index.d.ts → types/i-cell-ids-angular-side-sheet.d.ts} +0 -0
- /package/{spinner/index.d.ts → types/i-cell-ids-angular-spinner.d.ts} +0 -0
- /package/{switch/index.d.ts → types/i-cell-ids-angular-switch.d.ts} +0 -0
- /package/{table/index.d.ts → types/i-cell-ids-angular-table.d.ts} +0 -0
- /package/{tooltip/index.d.ts → types/i-cell-ids-angular-tooltip.d.ts} +0 -0
- /package/{index.d.ts → types/i-cell-ids-angular.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { InjectionToken, Signal } from '@angular/core';
|
|
3
3
|
import { IdsSizeType, IdsSizeCollectionType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
4
4
|
import { IdsIconParent, IdsIconVariantType } from '@i-cell/ids-angular/icon';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { InjectionToken, Signal } from '@angular/core';
|
|
3
3
|
import { IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
4
4
|
import { IdsIconComponent } from '@i-cell/ids-angular/icon';
|
|
5
5
|
|
|
@@ -28,7 +28,7 @@ declare abstract class IdsCardSectionBase extends DirectiveBase {
|
|
|
28
28
|
stretch: i0.InputSignal<boolean>;
|
|
29
29
|
protected _hostClasses: i0.Signal<string>;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCardSectionBase, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IdsCardSectionBase, never, never, { "stretch": { "alias": "stretch"; "required": false; "isSignal": true; }; }, {}, never, never,
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IdsCardSectionBase, never, never, { "stretch": { "alias": "stretch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
declare class IdsCardBodyDirective extends IdsCardSectionBase {
|
|
@@ -80,7 +80,7 @@ declare class IdsCardComponent extends ComponentBaseWithDefaults<IdsCardDefaultC
|
|
|
80
80
|
orientation: i0.InputSignal<IdsOrientationType>;
|
|
81
81
|
disabled: i0.InputSignalWithTransform<boolean, string | boolean>;
|
|
82
82
|
click: EventEmitter<any>;
|
|
83
|
-
|
|
83
|
+
protected _hasClickHandler: i0.WritableSignal<boolean>;
|
|
84
84
|
protected _hostClasses: i0.Signal<string>;
|
|
85
85
|
ngOnInit(): void;
|
|
86
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCardComponent, never>;
|
|
@@ -33,7 +33,7 @@ declare class IdsChipComponent extends ComponentBaseWithDefaults<IdsChipDefaultC
|
|
|
33
33
|
private readonly _group;
|
|
34
34
|
protected readonly _defaultConfig: Required<IdsChipDefaultConfig>;
|
|
35
35
|
private _hostElement;
|
|
36
|
-
|
|
36
|
+
protected _isInteractive: boolean;
|
|
37
37
|
removable: _angular_core.InputSignal<boolean>;
|
|
38
38
|
appearance: _angular_core.InputSignal<IdsChipAppearanceType>;
|
|
39
39
|
size: _angular_core.InputSignal<IdsSizeType>;
|
|
@@ -41,12 +41,12 @@ declare class IdsChipComponent extends ComponentBaseWithDefaults<IdsChipDefaultC
|
|
|
41
41
|
disabled: _angular_core.InputSignal<boolean>;
|
|
42
42
|
tabIndex: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
43
43
|
removed: _angular_core.OutputEmitterRef<IdsChipRemoveEvent>;
|
|
44
|
+
protected _parentOrSelfDisabled: _angular_core.Signal<boolean>;
|
|
45
|
+
protected _safeRemovable: _angular_core.Signal<boolean>;
|
|
46
|
+
protected _safeTabIndex: _angular_core.Signal<number>;
|
|
47
|
+
protected _safeRole: _angular_core.Signal<"presentation" | null>;
|
|
44
48
|
private _parentOrSelfAppearance;
|
|
45
49
|
private _parentOrSelfSize;
|
|
46
|
-
private _parentOrSelfDisabled;
|
|
47
|
-
protected _safeRemovable: _angular_core.Signal<boolean>;
|
|
48
|
-
private _safeTabIndex;
|
|
49
|
-
private _safeRole;
|
|
50
50
|
protected _hostClasses: _angular_core.Signal<string>;
|
|
51
51
|
embeddedAvatarVariant: _angular_core.Signal<IdsAvatarVariantType>;
|
|
52
52
|
embeddedIconButtonVariant: _angular_core.Signal<IdsIconButtonVariantType>;
|
|
@@ -10,7 +10,7 @@ declare abstract class DirectiveBase {
|
|
|
10
10
|
protected _getHostClasses(appendableClassNames?: Array<string | Array<string | null | undefined> | null | undefined>, nonAppendableClassNames?: Array<string | null>): string;
|
|
11
11
|
protected _createHostError(message: string): Error;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveBase, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveBase, never, never, {}, {}, never, never,
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DirectiveBase, never, never, {}, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
15
15
|
declare abstract class DirectiveBaseWithDefaults<D> extends DirectiveBase {
|
|
16
16
|
protected abstract readonly _defaultConfig: D;
|
|
@@ -21,7 +21,7 @@ declare abstract class ComponentBase extends DirectiveBase {
|
|
|
21
21
|
protected readonly _uniqueId: string;
|
|
22
22
|
readonly id: i0.InputSignalWithTransform<string, string | undefined>;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentBase, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentBase, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never,
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentBase, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
25
|
}
|
|
26
26
|
declare abstract class ComponentBaseWithDefaults<D> extends ComponentBase {
|
|
27
27
|
protected abstract readonly _defaultConfig: D;
|
|
@@ -86,7 +86,7 @@ declare class IdsDatepickerDirective extends DirectiveBaseWithDefaults<IdsDatepi
|
|
|
86
86
|
registerOnValidatorChange?(fn: () => void): void;
|
|
87
87
|
open(): void;
|
|
88
88
|
close(): void;
|
|
89
|
-
protected _handleInput(
|
|
89
|
+
protected _handleInput(event: Event): void;
|
|
90
90
|
protected _handleBlur(): void;
|
|
91
91
|
protected _handleKeydown(event: KeyboardEvent): void;
|
|
92
92
|
private _isValidValue;
|
|
@@ -34,8 +34,8 @@ declare class IdsDividerComponent extends ComponentBaseWithDefaults<IdsDividerDe
|
|
|
34
34
|
variant: _angular_core.InputSignal<IdsDividerVariantType>;
|
|
35
35
|
width: _angular_core.InputSignal<string>;
|
|
36
36
|
height: _angular_core.InputSignal<string>;
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
protected _safeWidth: _angular_core.Signal<string | null>;
|
|
38
|
+
protected _safeHeight: _angular_core.Signal<string | null>;
|
|
39
39
|
protected _hostClasses: _angular_core.Signal<string>;
|
|
40
40
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsDividerComponent, never>;
|
|
41
41
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsDividerComponent, "ids-divider,div[idsDivider]", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import * as _angular_forms from '@angular/forms';
|
|
2
2
|
import { AbstractControl, FormGroupDirective, NgForm, NgControl, ControlValueAccessor, ControlEvent, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { Subject
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
|
-
import { InjectionToken, Signal, OnInit, Injector, ElementRef, AfterViewInit
|
|
5
|
+
import { InjectionToken, Signal, OnInit, OnDestroy, Injector, ElementRef, AfterViewInit } from '@angular/core';
|
|
6
6
|
import * as _i_cell_ids_angular_forms from '@i-cell/ids-angular/forms';
|
|
7
7
|
import * as _i_cell_ids_angular_core from '@i-cell/ids-angular/core';
|
|
8
8
|
import { ComponentBase, IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
9
9
|
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
10
|
-
import {
|
|
10
|
+
import { IdsIconButtonAppearanceType } from '@i-cell/ids-angular/icon-button';
|
|
11
11
|
import { IdsOverlayPanelComponent } from '@i-cell/ids-angular/overlay-panel';
|
|
12
|
+
import { IdsSpinnerVariantType } from '@i-cell/ids-angular/spinner';
|
|
13
|
+
import { IdsChipAppearanceType, IdsChipVariantType } from '@i-cell/ids-angular/chip';
|
|
12
14
|
|
|
13
15
|
declare abstract class AbstractErrorStateMatcher {
|
|
14
16
|
abstract isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
@@ -53,16 +55,17 @@ declare class SuccessStateTracker {
|
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
interface IdsAutocompleteDefaultConfig {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
hintNoResults: string;
|
|
59
|
-
hintMinChars: string;
|
|
60
|
-
hintMaxLength: string;
|
|
61
|
-
typeaheadDebounceInterval?: number;
|
|
58
|
+
errorStateMatcher?: typeof AbstractErrorStateMatcher;
|
|
59
|
+
successStateMatcher?: typeof AbstractSuccessStateMatcher;
|
|
62
60
|
}
|
|
63
61
|
declare const IDS_AUTOCOMPLETE_DEFAULT_CONFIG: InjectionToken<IdsAutocompleteDefaultConfig>;
|
|
64
62
|
declare function IDS_AUTOCOMPLETE_DEFAULT_CONFIG_FACTORY(): Required<IdsAutocompleteDefaultConfig>;
|
|
65
63
|
|
|
64
|
+
type IdsOptionValue = {
|
|
65
|
+
value: unknown;
|
|
66
|
+
viewValue: string;
|
|
67
|
+
};
|
|
68
|
+
|
|
66
69
|
declare class IdsOptionGroupComponent extends ComponentBase {
|
|
67
70
|
protected get _hostName(): string;
|
|
68
71
|
private readonly _parent;
|
|
@@ -134,6 +137,50 @@ declare class IdsOptionComponent<T = unknown> extends ComponentBase implements O
|
|
|
134
137
|
declare function _countGroupLabelsBeforeOption(optionIndex: number, options: Readonly<IdsOptionComponent[]>, optionGroups: Readonly<IdsOptionGroupComponent[]>): number;
|
|
135
138
|
declare function _getOptionScrollPosition(optionOffset: number, optionHeight: number, currentScrollPosition: number, panelHeight: number): number;
|
|
136
139
|
|
|
140
|
+
declare class IdsAutocompleteTriggerDirective implements OnInit, OnDestroy {
|
|
141
|
+
autocomplete: _angular_core.InputSignal<IdsAutocompleteComponent>;
|
|
142
|
+
protected _disabled: _angular_core.Signal<boolean>;
|
|
143
|
+
protected _readonly: _angular_core.Signal<boolean>;
|
|
144
|
+
private _inputElement;
|
|
145
|
+
private _keyManager?;
|
|
146
|
+
private _selectionModel?;
|
|
147
|
+
private readonly _liveAnnouncer;
|
|
148
|
+
private readonly _renderer;
|
|
149
|
+
private readonly _injector;
|
|
150
|
+
get selected(): IdsOptionValue[];
|
|
151
|
+
get selectedOptions(): IdsOptionComponent[];
|
|
152
|
+
constructor();
|
|
153
|
+
ngOnInit(): void;
|
|
154
|
+
ngOnDestroy(): void;
|
|
155
|
+
toggle(): void;
|
|
156
|
+
open(): void;
|
|
157
|
+
close(): void;
|
|
158
|
+
clear(): void;
|
|
159
|
+
removeOption(optionValue: IdsOptionValue): void;
|
|
160
|
+
focus(options?: FocusOptions): void;
|
|
161
|
+
setSelectionByValue(value: unknown | unknown[]): void;
|
|
162
|
+
protected _handleKeydown(event: KeyboardEvent): void;
|
|
163
|
+
protected _onBlur(): void;
|
|
164
|
+
protected _getAriaActiveDescendant(): string | null;
|
|
165
|
+
private _initKeyManager;
|
|
166
|
+
private _subscribeOptionChanges;
|
|
167
|
+
private _handleOptionChange;
|
|
168
|
+
private _clearSelection;
|
|
169
|
+
private _clearOptionsSelection;
|
|
170
|
+
private _canOpen;
|
|
171
|
+
private _handleOpenedPanelKeydown;
|
|
172
|
+
private _handleClosedPanelKeydown;
|
|
173
|
+
private _skipPredicate;
|
|
174
|
+
private _highlightCorrectOption;
|
|
175
|
+
private _scrollOptionIntoView;
|
|
176
|
+
private _selectValue;
|
|
177
|
+
private _updateCurrentSelection;
|
|
178
|
+
private _getAsOptionValue;
|
|
179
|
+
private _updateInputValue;
|
|
180
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsAutocompleteTriggerDirective, never>;
|
|
181
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsAutocompleteTriggerDirective, "input[idsAutocompleteTriggerFor]", ["idsAutocompleteTrigger"], { "autocomplete": { "alias": "idsAutocompleteTriggerFor"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
182
|
+
}
|
|
183
|
+
|
|
137
184
|
declare const formFieldControlClass = "ids-form-field-control";
|
|
138
185
|
declare abstract class IdsFormFieldControl<D = unknown> extends ComponentBaseWithDefaults<D> {
|
|
139
186
|
protected readonly _injector: Injector;
|
|
@@ -172,103 +219,83 @@ declare abstract class IdsFormFieldControl<D = unknown> extends ComponentBaseWit
|
|
|
172
219
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsFormFieldControl<any>, never, never, { "canHandleSuccessState": { "alias": "canHandleSuccessState"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
173
220
|
}
|
|
174
221
|
|
|
175
|
-
declare class IdsAutocompleteComponent extends IdsFormFieldControl<IdsAutocompleteDefaultConfig> implements ControlValueAccessor, OnInit, AfterViewInit
|
|
222
|
+
declare class IdsAutocompleteComponent extends IdsFormFieldControl<IdsAutocompleteDefaultConfig> implements ControlValueAccessor, OnInit, AfterViewInit {
|
|
176
223
|
protected get _hostName(): string;
|
|
177
|
-
protected readonly _defaultConfig: Required<IdsAutocompleteDefaultConfig>;
|
|
178
|
-
protected readonly _elementRef: ElementRef<any>;
|
|
179
|
-
private readonly _changeDetectorRef;
|
|
180
|
-
private readonly _liveAnnouncer;
|
|
181
|
-
private readonly _parentFormField;
|
|
182
|
-
protected _preferredOverlayOrigin: CdkOverlayOrigin | ElementRef | undefined;
|
|
183
|
-
protected _overlayWidth: string | number;
|
|
184
|
-
/**
|
|
185
|
-
* Minimum number of characters to initiate actual search.
|
|
186
|
-
* Warning is shown when input length is not met.
|
|
187
|
-
* (Resource loader/stream function needs to be adjusted accordingly!)
|
|
188
|
-
*/
|
|
189
|
-
minChars: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
190
|
-
/** Max length of options allowed to show. Warning is shown when available options is higher than this number */
|
|
191
|
-
maxLength: _angular_core.InputSignalWithTransform<number | null, number>;
|
|
192
|
-
multiSelect: _angular_core.InputSignal<boolean>;
|
|
193
224
|
ariaLabel: _angular_core.InputSignal<string>;
|
|
194
225
|
ariaLabelledby: _angular_core.InputSignal<string>;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
sortCompareFn: _angular_core.InputSignal<((a: string, b: string, options: Readonly<string[]>) => number) | undefined>;
|
|
226
|
+
ariaLabelClear: _angular_core.InputSignal<string>;
|
|
227
|
+
ariaLabelLoading: _angular_core.InputSignal<string>;
|
|
228
|
+
multiSelect: _angular_core.InputSignalWithTransform<boolean, boolean>;
|
|
199
229
|
tabIndex: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
hintMinChars: _angular_core.InputSignal<string>;
|
|
204
|
-
hintMaxLength: _angular_core.InputSignal<string>;
|
|
230
|
+
sortCompareFn: _angular_core.InputSignal<(a: IdsOptionValue, b: IdsOptionValue) => number>;
|
|
231
|
+
valueCompareFn: _angular_core.InputSignal<(o1: unknown, o2: unknown) => boolean>;
|
|
232
|
+
trigger: _angular_core.InputSignal<IdsAutocompleteTriggerDirective>;
|
|
205
233
|
panelClasses: _angular_core.InputSignal<string>;
|
|
234
|
+
panelOpen: _angular_core.ModelSignal<boolean>;
|
|
235
|
+
options: _angular_core.Signal<readonly IdsOptionComponent<any>[]>;
|
|
236
|
+
optionGroups: _angular_core.Signal<readonly IdsOptionGroupComponent[]>;
|
|
237
|
+
overlayPanel: _angular_core.Signal<IdsOverlayPanelComponent | undefined>;
|
|
238
|
+
panel: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
239
|
+
appearance: _angular_core.InputSignal<IdsIconButtonAppearanceType>;
|
|
206
240
|
parentSize: _angular_core.Signal<_i_cell_ids_angular_core.IdsSizeType>;
|
|
207
241
|
parentVariant: _angular_core.Signal<_i_cell_ids_angular_forms.IdsFormFieldVariantType>;
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
242
|
+
spinnerVariant: _angular_core.InputSignal<IdsSpinnerVariantType>;
|
|
243
|
+
isLoading: _angular_core.InputSignalWithTransform<boolean, boolean>;
|
|
244
|
+
onChange: (value: unknown) => void;
|
|
245
|
+
onTouched: () => unknown;
|
|
246
|
+
protected _overlayOrigin: ElementRef;
|
|
247
|
+
private readonly _parentFormField;
|
|
248
|
+
private _value;
|
|
249
|
+
protected readonly _defaultConfig: Required<IdsAutocompleteDefaultConfig>;
|
|
250
|
+
readonly errorStateMatcher: _angular_core.InputSignal<AbstractErrorStateMatcher>;
|
|
251
|
+
readonly successStateMatcher: _angular_core.InputSignal<AbstractSuccessStateMatcher>;
|
|
252
|
+
protected readonly _elementRef: ElementRef<any>;
|
|
213
253
|
protected _hostClasses: _angular_core.Signal<string>;
|
|
214
254
|
protected _panelClasses: _angular_core.Signal<string>;
|
|
215
|
-
private _focused;
|
|
216
|
-
private _canOpen;
|
|
217
|
-
private _panel;
|
|
218
|
-
private _keyManager?;
|
|
219
|
-
private _inputElemment;
|
|
220
|
-
protected _resource: _angular_core.ResourceRef<string[]>;
|
|
221
|
-
private _rawValue;
|
|
222
|
-
private _selectionModel?;
|
|
223
|
-
private _onChange;
|
|
224
|
-
private _onTouched;
|
|
225
|
-
protected get _empty(): boolean;
|
|
226
|
-
get selected(): string | string[] | undefined;
|
|
227
|
-
protected _searchText: _angular_core.ModelSignal<string>;
|
|
228
|
-
protected get _triggerValue(): string;
|
|
229
255
|
constructor();
|
|
230
256
|
ngOnInit(): void;
|
|
231
257
|
ngAfterViewInit(): void;
|
|
232
258
|
updateErrorAndSuccessState(): void;
|
|
233
|
-
ngOnDestroy(): void;
|
|
234
|
-
private _initKeyManager;
|
|
235
|
-
private _subscribeOptionChanges;
|
|
236
|
-
private _handleOptionChange;
|
|
237
|
-
protected _handleKeydown(event: KeyboardEvent): void;
|
|
238
|
-
private _handleClosedPanelKeydown;
|
|
239
|
-
private _handleOpenedPanelKeydown;
|
|
240
|
-
private _scrollOptionIntoView;
|
|
241
|
-
private _sortValues;
|
|
242
|
-
private _getOverlayWidth;
|
|
243
|
-
toggle(): void;
|
|
244
|
-
open(): void;
|
|
245
|
-
close(): void;
|
|
246
|
-
clear(): void;
|
|
247
259
|
writeValue(value: unknown | unknown[]): void;
|
|
248
|
-
registerOnChange(fn: () => void): void;
|
|
260
|
+
registerOnChange(fn: (value: unknown) => void): void;
|
|
249
261
|
registerOnTouched(fn: () => unknown): void;
|
|
250
|
-
setDisabledState(isDisabled: boolean): void;
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
protected _getAriaActiveDescendant(): string | null;
|
|
261
|
-
focus(options?: FocusOptions): void;
|
|
262
|
-
protected _onInputClick(): void;
|
|
262
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
263
|
+
handleChange(value: unknown | unknown[]): void;
|
|
264
|
+
onContainerClick: (event: Event) => void;
|
|
265
|
+
isOptionPreSelectedByValue(): boolean;
|
|
266
|
+
setScrollTop(scrollTop: number): void;
|
|
267
|
+
getScrollTop(): number;
|
|
268
|
+
setPanelOpen(): void;
|
|
269
|
+
createHostError(message: string): Error;
|
|
270
|
+
private _observeOverlayOrigin;
|
|
271
|
+
private _patchValue;
|
|
263
272
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsAutocompleteComponent, never>;
|
|
264
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsAutocompleteComponent, "ids-autocomplete
|
|
273
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsAutocompleteComponent, "ids-autocomplete", ["idsAutocomplete"], { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "ariaLabelClear": { "alias": "ariaLabelClear"; "required": false; "isSignal": true; }; "ariaLabelLoading": { "alias": "ariaLabelLoading"; "required": false; "isSignal": true; }; "multiSelect": { "alias": "multiSelect"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabIndex"; "required": false; "isSignal": true; }; "sortCompareFn": { "alias": "sortCompareFn"; "required": false; "isSignal": true; }; "valueCompareFn": { "alias": "valueCompareFn"; "required": false; "isSignal": true; }; "trigger": { "alias": "trigger"; "required": true; "isSignal": true; }; "panelClasses": { "alias": "panelClasses"; "required": false; "isSignal": true; }; "panelOpen": { "alias": "panelOpen"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "spinnerVariant": { "alias": "spinnerVariant"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; "isSignal": true; }; "successStateMatcher": { "alias": "successStateMatcher"; "required": false; "isSignal": true; }; }, { "panelOpen": "panelOpenChange"; }, ["options", "optionGroups"], ["*"], true, never>;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
declare class IdsAutocompleteChipListComponent {
|
|
277
|
+
autocompleteTrigger: _angular_core.InputSignal<IdsAutocompleteTriggerDirective>;
|
|
278
|
+
options: _angular_core.InputSignal<IdsOptionValue[]>;
|
|
279
|
+
appearance: _angular_core.InputSignal<IdsChipAppearanceType>;
|
|
280
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
281
|
+
variant: _angular_core.InputSignal<IdsChipVariantType>;
|
|
282
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsAutocompleteChipListComponent, never>;
|
|
283
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsAutocompleteChipListComponent, "ids-autocomplete-chip-list", never, { "autocompleteTrigger": { "alias": "for"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
265
284
|
}
|
|
266
285
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
286
|
+
declare const IdsMessageVariant: {
|
|
287
|
+
readonly SURFACE: "surface";
|
|
288
|
+
readonly LIGHT: "light";
|
|
289
|
+
readonly DARK: "dark";
|
|
290
|
+
};
|
|
291
|
+
type IdsMessageVariantType = (typeof IdsMessageVariant)[keyof typeof IdsMessageVariant];
|
|
270
292
|
|
|
271
|
-
declare
|
|
293
|
+
declare class IdsAutocompleteHintComponent {
|
|
294
|
+
variant: _angular_core.InputSignal<IdsMessageVariantType>;
|
|
295
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
296
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsAutocompleteHintComponent, never>;
|
|
297
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsAutocompleteHintComponent, "ids-autocomplete-hint", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
298
|
+
}
|
|
272
299
|
|
|
273
300
|
declare class IdsFieldsetRowComponent extends ComponentBase {
|
|
274
301
|
protected get _hostName(): string;
|
|
@@ -444,13 +471,6 @@ declare class IdsMessageSuffixDirective {
|
|
|
444
471
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsMessageSuffixDirective, "[idsMessageSuffix]", never, {}, {}, never, never, true, never>;
|
|
445
472
|
}
|
|
446
473
|
|
|
447
|
-
declare const IdsMessageVariant: {
|
|
448
|
-
readonly SURFACE: "surface";
|
|
449
|
-
readonly LIGHT: "light";
|
|
450
|
-
readonly DARK: "dark";
|
|
451
|
-
};
|
|
452
|
-
type IdsMessageVariantType = (typeof IdsMessageVariant)[keyof typeof IdsMessageVariant];
|
|
453
|
-
|
|
454
474
|
interface IdsMessageDefaultConfig {
|
|
455
475
|
size?: IdsSizeType;
|
|
456
476
|
variant?: IdsMessageVariantType;
|
|
@@ -580,5 +600,5 @@ declare function requiredValidator(control: AbstractControl): ValidationErrors |
|
|
|
580
600
|
declare function requiredTrueValidator(control: AbstractControl): ValidationErrors | null;
|
|
581
601
|
declare function requiredFalseValidator(control: AbstractControl): ValidationErrors | null;
|
|
582
602
|
|
|
583
|
-
export { AbstractErrorStateMatcher, AbstractSuccessStateMatcher, ErrorStateMatcher, ErrorStateTracker, IDS_AUTOCOMPLETE_DEFAULT_CONFIG, IDS_AUTOCOMPLETE_DEFAULT_CONFIG_FACTORY,
|
|
584
|
-
export type { IdsAutocompleteDefaultConfig,
|
|
603
|
+
export { AbstractErrorStateMatcher, AbstractSuccessStateMatcher, ErrorStateMatcher, ErrorStateTracker, IDS_AUTOCOMPLETE_DEFAULT_CONFIG, IDS_AUTOCOMPLETE_DEFAULT_CONFIG_FACTORY, IDS_FIELDSET_DEFAULT_CONFIG, IDS_FIELDSET_DEFAULT_CONFIG_FACTORY, IDS_FORM_FIELD_CONTROL, IDS_FORM_FIELD_DEFAULT_CONFIG, IDS_FORM_FIELD_DEFAULT_CONFIG_FACTORY, IDS_INPUT_DEFAULT_CONFIG, IDS_INPUT_DEFAULT_CONFIG_FACTORY, IDS_MESSAGE_DEFAULT_CONFIG, IDS_MESSAGE_DEFAULT_CONFIG_FACTORY, IDS_OPTION_GROUP, IDS_OPTION_PARENT_COMPONENT, IDS_PSEUDO_CHECKBOX_PARENT, IdsAutocompleteChipListComponent, IdsAutocompleteComponent, IdsAutocompleteHintComponent, IdsAutocompleteTriggerDirective, IdsErrorDefinitionDirective, IdsErrorMessageComponent, IdsFieldsetComponent, IdsFieldsetMessageDirective, IdsFieldsetRowComponent, IdsFormFieldActionDirective, IdsFormFieldComponent, IdsFormFieldControl, IdsFormFieldVariant, IdsHintMessageComponent, IdsInputDirective, IdsLabelDirective, IdsMessageDirective, IdsMessagePrefixDirective, IdsMessageSuffixDirective, IdsMessageVariant, IdsOptionComponent, IdsOptionGroupComponent, IdsOptionSelectionChange, IdsPrefixDirective, IdsPseudoCheckboxState, IdsSuccessMessageComponent, IdsSuffixDirective, IdsValidators, Message, PseudoCheckboxComponent, SuccessStateMatcher, SuccessStateTracker, _countGroupLabelsBeforeOption, _getOptionScrollPosition, formFieldControlClass, requiredFalseValidator, requiredTrueValidator, requiredValidator };
|
|
604
|
+
export type { IdsAutocompleteDefaultConfig, IdsErrorMessageMapping, IdsFieldsetDefaultConfig, IdsFormFieldDefaultConfig, IdsFormFieldVariantType, IdsInputDefaultConfig, IdsMessageDefaultConfig, IdsMessageVariantType, IdsOptionParentComponent, IdsPseudoCheckboxParent, IdsPseudoCheckboxStateType, MessageType };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { InjectionToken, Signal } from '@angular/core';
|
|
3
3
|
import { IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
4
4
|
import { IdsIconComponent } from '@i-cell/ids-angular/icon';
|
|
5
5
|
|
|
@@ -55,7 +55,7 @@ declare class IdsIconButtonComponent extends ComponentBaseWithDefaults<IdsIconBu
|
|
|
55
55
|
private _parentOrSelfAppearance;
|
|
56
56
|
private _parentOrSelfSize;
|
|
57
57
|
private _parentOrSelfVariant;
|
|
58
|
-
|
|
58
|
+
protected _parentOrSelfDisabled: _angular_core.Signal<boolean>;
|
|
59
59
|
protected _hostClasses: _angular_core.Signal<string>;
|
|
60
60
|
private get _buttonType();
|
|
61
61
|
constructor();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { InjectionToken, Signal, OnInit } from '@angular/core';
|
|
3
3
|
import { IdsSizeType, IdsSizeCollectionType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
4
4
|
|
|
5
5
|
declare const IdsIconVariant: {
|
|
@@ -45,7 +45,7 @@ declare class IdsMenuItemComponent extends ComponentBaseWithDefaults<IdsMenuItem
|
|
|
45
45
|
protected _iconLeading: _angular_core.Signal<readonly IdsIconComponent[]>;
|
|
46
46
|
protected _iconTrailing: _angular_core.Signal<readonly IdsIconComponent[]>;
|
|
47
47
|
protected _hostClasses: _angular_core.Signal<string>;
|
|
48
|
-
|
|
48
|
+
protected get _buttonType(): string | null;
|
|
49
49
|
constructor();
|
|
50
50
|
private _disableLink;
|
|
51
51
|
private _enableLink;
|
|
@@ -54,7 +54,7 @@ declare class IdsNotificationComponent extends ComponentBaseWithDefaults<IdsNoti
|
|
|
54
54
|
disabled: _angular_core.WritableSignal<boolean>;
|
|
55
55
|
protected _actionButtons: _angular_core.Signal<readonly IdsNotificationActionButtonDirective[]>;
|
|
56
56
|
closed: _angular_core.OutputEmitterRef<void>;
|
|
57
|
-
|
|
57
|
+
protected _role: _angular_core.Signal<"alert" | "status">;
|
|
58
58
|
protected _hostClasses: _angular_core.Signal<string>;
|
|
59
59
|
protected _closeLabelButtonClass: _angular_core.Signal<"" | "ids-notification__label-button">;
|
|
60
60
|
embeddedButtonVariant: _angular_core.Signal<IdsIconButtonVariantType>;
|
|
@@ -103,7 +103,7 @@ declare class IdsPaginatorComponent extends ComponentBaseWithDefaults<IdsPaginat
|
|
|
103
103
|
protected _isNextButtonDisabled: _angular_core.Signal<boolean>;
|
|
104
104
|
protected _pageButtonLabels: _angular_core.Signal<string[]>;
|
|
105
105
|
pageChanged: _angular_core.OutputEmitterRef<IdsPaginatorPageChangeEvent>;
|
|
106
|
-
|
|
106
|
+
protected _handleKeyDown(event: KeyboardEvent): void;
|
|
107
107
|
constructor();
|
|
108
108
|
private _getSafePageSizeData;
|
|
109
109
|
private _getPageButtonLabels;
|
|
@@ -72,7 +72,7 @@ declare class IdsRadioGroupDirective extends ComponentBaseWithDefaults<IdsRadioD
|
|
|
72
72
|
valueCompareFn?: (o1: IdsRadioComponent, o2: IdsRadioComponent) => boolean;
|
|
73
73
|
set disabled(value: boolean);
|
|
74
74
|
readonly itemChanges: _angular_core.OutputEmitterRef<IdsRadioChangeEvent>;
|
|
75
|
-
|
|
75
|
+
protected _handleKeyDown(event: KeyboardEvent): void;
|
|
76
76
|
private _getCurrentItemIndex;
|
|
77
77
|
ngOnInit(): void;
|
|
78
78
|
ngAfterContentChecked(): void;
|
|
@@ -47,7 +47,7 @@ declare class IdsSegmentedControlToggleDirective extends ComponentBaseWithDefaul
|
|
|
47
47
|
private _onTouched;
|
|
48
48
|
valueCompareFn?: (o1: IdsSegmentedControlToggleItemComponent, o2: IdsSegmentedControlToggleItemComponent) => boolean;
|
|
49
49
|
readonly itemChanges: _angular_core.OutputEmitterRef<IdsSegmentedControlToggleItemChange>;
|
|
50
|
-
|
|
50
|
+
protected _handleKeyDown(event: KeyboardEvent): void;
|
|
51
51
|
ngOnInit(): void;
|
|
52
52
|
ngAfterContentInit(): void;
|
|
53
53
|
writeValue(value: unknown | unknown[]): void;
|
|
@@ -40,7 +40,7 @@ declare class IdsSegmentedControlDirective extends ComponentBaseWithDefaults<Ids
|
|
|
40
40
|
private _onTouched;
|
|
41
41
|
valueCompareFn?: (o1: IdsSegmentedControlItemComponent, o2: IdsSegmentedControlItemComponent) => boolean;
|
|
42
42
|
readonly itemChanges: _angular_core.OutputEmitterRef<IdsSegmentedControlItemChange>;
|
|
43
|
-
|
|
43
|
+
protected _handleKeyDown(event: KeyboardEvent): void;
|
|
44
44
|
ngOnInit(): void;
|
|
45
45
|
ngAfterContentInit(): void;
|
|
46
46
|
writeValue(value: unknown | unknown[]): void;
|
|
@@ -129,12 +129,12 @@ declare class IdsSnackbarComponent extends ComponentBase implements AfterViewIni
|
|
|
129
129
|
private _canAutoClose;
|
|
130
130
|
private _duration;
|
|
131
131
|
protected _hostClasses: _angular_core.Signal<string>;
|
|
132
|
-
|
|
132
|
+
protected _role: _angular_core.Signal<"alert" | "status">;
|
|
133
133
|
protected _buttonVariant: _angular_core.Signal<"light" | "surface">;
|
|
134
134
|
private _defaultIcon;
|
|
135
135
|
protected _safeIcon: _angular_core.Signal<string | null>;
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
protected _onMouseEnter(): void;
|
|
137
|
+
protected _onMouseLeave(): void;
|
|
138
138
|
private _startTimer;
|
|
139
139
|
private _stopTimer;
|
|
140
140
|
ngAfterViewInit(): void;
|
|
@@ -2,6 +2,12 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { InjectionToken, TemplateRef, AfterContentInit } from '@angular/core';
|
|
3
3
|
import { IdsSizeType, IdsOrientationType, ComponentBase, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
4
4
|
|
|
5
|
+
declare const IdsTabActivationMode: {
|
|
6
|
+
readonly MANUAL: "manual";
|
|
7
|
+
readonly AUTOMATIC: "automatic";
|
|
8
|
+
};
|
|
9
|
+
type IdsTabActivationModeType = (typeof IdsTabActivationMode)[keyof typeof IdsTabActivationMode];
|
|
10
|
+
|
|
5
11
|
declare const IdsTabGroupPosition: {
|
|
6
12
|
readonly START: "start";
|
|
7
13
|
readonly CENTER: "center";
|
|
@@ -31,6 +37,7 @@ interface IdsTabGroupDefaultConfig {
|
|
|
31
37
|
stretchTabs?: boolean;
|
|
32
38
|
tabPosition?: IdsTabGroupPositionType;
|
|
33
39
|
indicatorPosition?: IdsTabIndicatorPositionType;
|
|
40
|
+
activationMode?: IdsTabActivationModeType;
|
|
34
41
|
}
|
|
35
42
|
declare const IDS_TAB_GROUP_DEFAULT_CONFIG: InjectionToken<IdsTabGroupDefaultConfig>;
|
|
36
43
|
declare function IDS_TAB_GROUP_DEFAULT_CONFIG_FACTORY(): Required<IdsTabGroupDefaultConfig>;
|
|
@@ -64,15 +71,21 @@ declare class IdsTabGroupComponent extends ComponentBaseWithDefaults<IdsTabGroup
|
|
|
64
71
|
tabPosition: _angular_core.InputSignal<IdsTabGroupPositionType>;
|
|
65
72
|
indicatorPosition: _angular_core.InputSignal<IdsTabIndicatorPositionType | undefined>;
|
|
66
73
|
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
74
|
+
activationMode: _angular_core.InputSignal<IdsTabActivationModeType>;
|
|
67
75
|
protected _selectedTabIndex: _angular_core.WritableSignal<number>;
|
|
68
76
|
selectedTabIndex: _angular_core.Signal<number>;
|
|
77
|
+
protected _focusedTabIndex: _angular_core.WritableSignal<number>;
|
|
69
78
|
protected _hostClasses: _angular_core.Signal<string>;
|
|
70
79
|
private _calculatedIndicatorPosition;
|
|
71
80
|
ngAfterContentInit(): void;
|
|
72
81
|
selectTab(index: number): void;
|
|
82
|
+
focusTab(index: number): void;
|
|
83
|
+
protected _onTabListKeydown(event: KeyboardEvent): void;
|
|
84
|
+
private _nextEnabledTabIndex;
|
|
85
|
+
private _focusTabElement;
|
|
73
86
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsTabGroupComponent, never>;
|
|
74
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsTabGroupComponent, "ids-tab-group", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "stretchTabs": { "alias": "stretchTabs"; "required": false; "isSignal": true; }; "tabPosition": { "alias": "tabPosition"; "required": false; "isSignal": true; }; "indicatorPosition": { "alias": "indicatorPosition"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["_items"], never, true, never>;
|
|
87
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsTabGroupComponent, "ids-tab-group", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "stretchTabs": { "alias": "stretchTabs"; "required": false; "isSignal": true; }; "tabPosition": { "alias": "tabPosition"; "required": false; "isSignal": true; }; "indicatorPosition": { "alias": "indicatorPosition"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "activationMode": { "alias": "activationMode"; "required": false; "isSignal": true; }; }, {}, ["_items"], never, true, never>;
|
|
75
88
|
}
|
|
76
89
|
|
|
77
|
-
export { IDS_TAB_GROUP_DEFAULT_CONFIG, IDS_TAB_GROUP_DEFAULT_CONFIG_FACTORY, IdsTabComponent, IdsTabGroupComponent, IdsTabGroupPosition, IdsTabGroupVariant, IdsTabIndicatorPosition };
|
|
78
|
-
export type { IdsTabGroupDefaultConfig, IdsTabGroupPositionType, IdsTabGroupVariantType, IdsTabIndicatorPositionType };
|
|
90
|
+
export { IDS_TAB_GROUP_DEFAULT_CONFIG, IDS_TAB_GROUP_DEFAULT_CONFIG_FACTORY, IdsTabActivationMode, IdsTabComponent, IdsTabGroupComponent, IdsTabGroupPosition, IdsTabGroupVariant, IdsTabIndicatorPosition };
|
|
91
|
+
export type { IdsTabActivationModeType, IdsTabGroupDefaultConfig, IdsTabGroupPositionType, IdsTabGroupVariantType, IdsTabIndicatorPositionType };
|
|
@@ -61,7 +61,7 @@ declare class IdsTagComponent extends ComponentBaseWithDefaults<IdsTagDefaultCon
|
|
|
61
61
|
private _parentOrSelfAppearance;
|
|
62
62
|
private _parentOrSelfSize;
|
|
63
63
|
protected _hostClasses: _angular_core.Signal<string>;
|
|
64
|
-
|
|
64
|
+
protected get _hostType(): string | null;
|
|
65
65
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsTagComponent, never>;
|
|
66
66
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsTagComponent, "ids-tag,a[idsTag]", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, ["_iconLeading", "_iconTrailing"], ["ids-icon[icon-leading]", "*", "ids-icon[icon-trailing]"], true, never>;
|
|
67
67
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|