@fundamental-ngx/core 0.43.16 → 0.43.18
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/calendar/calendar-directives.d.ts +11 -9
- package/calendar/calendar-header/calendar-header.component.d.ts +5 -23
- package/calendar/calendar-views/calendar-aggregated-year-view/calendar-aggregated-year-view.component.d.ts +1 -20
- package/calendar/calendar-views/calendar-day-view/calendar-day-view.component.d.ts +3 -41
- package/calendar/calendar-views/calendar-month-view/calendar-month-view.component.d.ts +1 -20
- package/calendar/calendar-views/calendar-year-view/calendar-year-view.component.d.ts +1 -20
- package/calendar/calendar.module.d.ts +2 -1
- package/calendar/i18n/calendar-i18n-labels.d.ts +20 -22
- package/calendar/patch-deprecated-i18n-labels.d.ts +6 -0
- package/combobox/combobox.component.d.ts +17 -9
- package/esm2020/calendar/calendar-directives.mjs +27 -20
- package/esm2020/calendar/calendar-header/calendar-header.component.mjs +30 -60
- package/esm2020/calendar/calendar-views/calendar-aggregated-year-view/calendar-aggregated-year-view.component.mjs +9 -34
- package/esm2020/calendar/calendar-views/calendar-day-view/calendar-day-view.component.mjs +10 -62
- package/esm2020/calendar/calendar-views/calendar-month-view/calendar-month-view.component.mjs +9 -34
- package/esm2020/calendar/calendar-views/calendar-year-view/calendar-year-view.component.mjs +9 -34
- package/esm2020/calendar/calendar.component.mjs +13 -3
- package/esm2020/calendar/calendar.module.mjs +5 -4
- package/esm2020/calendar/i18n/calendar-i18n-labels.mjs +22 -28
- package/esm2020/calendar/patch-deprecated-i18n-labels.mjs +26 -0
- package/esm2020/combobox/combobox.component.mjs +37 -11
- package/esm2020/date-picker/date-picker.component.mjs +1 -1
- package/esm2020/datetime-picker/datetime-picker.component.mjs +12 -7
- package/esm2020/file-uploader/file-uploader.component.mjs +12 -13
- package/esm2020/input-group/input-group.component.mjs +6 -4
- package/esm2020/list/list-focus-item.model.mjs +5 -2
- package/esm2020/list/list-item/list-item.component.mjs +5 -8
- package/esm2020/list/list.component.mjs +12 -7
- package/esm2020/multi-combobox/index.mjs +2 -1
- package/esm2020/multi-combobox/multi-announcer/multi-announcer.directive.mjs +103 -0
- package/esm2020/multi-combobox/multi-combobox.component.mjs +18 -19
- package/esm2020/multi-combobox/multi-combobox.module.mjs +3 -2
- package/esm2020/multi-input/multi-input.component.mjs +15 -12
- package/esm2020/multi-input/multi-input.module.mjs +3 -2
- package/esm2020/pagination/pagination.component.mjs +1 -1
- package/esm2020/popover/base/base-popover.class.mjs +2 -2
- package/esm2020/popover/popover-body/popover-body.component.mjs +2 -2
- package/esm2020/select/select-key-manager.service.mjs +5 -5
- package/esm2020/select/select.component.mjs +22 -11
- package/esm2020/select/select.interface.mjs +1 -1
- package/esm2020/shellbar/user-menu/shellbar-user-menu.component.mjs +3 -3
- package/esm2020/table/table-wrapper.component.mjs +2 -2
- package/esm2020/table/table.component.mjs +2 -2
- package/esm2020/time-picker/time-picker.component.mjs +1 -1
- package/esm2020/token/token.component.mjs +10 -8
- package/esm2020/token/tokenizer.component.mjs +5 -4
- package/fesm2015/fundamental-ngx-core-calendar.mjs +156 -282
- package/fesm2015/fundamental-ngx-core-calendar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-combobox.mjs +32 -7
- package/fesm2015/fundamental-ngx-core-combobox.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-date-picker.mjs +1 -1
- package/fesm2015/fundamental-ngx-core-date-picker.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-datetime-picker.mjs +11 -6
- package/fesm2015/fundamental-ngx-core-datetime-picker.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-file-uploader.mjs +11 -12
- package/fesm2015/fundamental-ngx-core-file-uploader.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-input-group.mjs +5 -3
- package/fesm2015/fundamental-ngx-core-input-group.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-list.mjs +17 -11
- package/fesm2015/fundamental-ngx-core-list.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-multi-combobox.mjs +121 -21
- package/fesm2015/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-multi-input.mjs +15 -11
- package/fesm2015/fundamental-ngx-core-multi-input.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-pagination.mjs +1 -1
- package/fesm2015/fundamental-ngx-core-pagination.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-popover.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-popover.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-select.mjs +134 -122
- package/fesm2015/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-shellbar.mjs +2 -2
- package/fesm2015/fundamental-ngx-core-shellbar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-table.mjs +4 -4
- package/fesm2015/fundamental-ngx-core-table.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-time-picker.mjs +1 -1
- package/fesm2015/fundamental-ngx-core-time-picker.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-token.mjs +11 -9
- package/fesm2015/fundamental-ngx-core-token.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-calendar.mjs +162 -282
- package/fesm2020/fundamental-ngx-core-calendar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-combobox.mjs +34 -8
- package/fesm2020/fundamental-ngx-core-combobox.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-date-picker.mjs +1 -1
- package/fesm2020/fundamental-ngx-core-date-picker.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-datetime-picker.mjs +11 -6
- package/fesm2020/fundamental-ngx-core-datetime-picker.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-file-uploader.mjs +11 -12
- package/fesm2020/fundamental-ngx-core-file-uploader.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-input-group.mjs +5 -3
- package/fesm2020/fundamental-ngx-core-input-group.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-list.mjs +17 -11
- package/fesm2020/fundamental-ngx-core-list.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-multi-combobox.mjs +115 -20
- package/fesm2020/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-multi-input.mjs +15 -11
- package/fesm2020/fundamental-ngx-core-multi-input.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-pagination.mjs +1 -1
- package/fesm2020/fundamental-ngx-core-pagination.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-popover.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-popover.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-select.mjs +134 -123
- package/fesm2020/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-shellbar.mjs +2 -2
- package/fesm2020/fundamental-ngx-core-shellbar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-table.mjs +4 -4
- package/fesm2020/fundamental-ngx-core-table.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-time-picker.mjs +1 -1
- package/fesm2020/fundamental-ngx-core-time-picker.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-token.mjs +11 -9
- package/fesm2020/fundamental-ngx-core-token.mjs.map +1 -1
- package/file-uploader/file-uploader.component.d.ts +1 -1
- package/fundamental-ngx-core-v0.43.18.tgz +0 -0
- package/input-group/input-group.component.d.ts +7 -1
- package/list/list-focus-item.model.d.ts +8 -3
- package/list/list-item/list-item.component.d.ts +5 -6
- package/list/list.component.d.ts +6 -4
- package/multi-combobox/index.d.ts +1 -0
- package/multi-combobox/multi-announcer/multi-announcer.directive.d.ts +39 -0
- package/multi-combobox/multi-combobox.component.d.ts +1 -1
- package/multi-combobox/multi-combobox.module.d.ts +2 -1
- package/multi-input/multi-input.component.d.ts +5 -3
- package/multi-input/multi-input.module.d.ts +2 -1
- package/package.json +3 -3
- package/schematics/add-dependencies/index.js +4 -4
- package/select/select-key-manager.service.d.ts +1 -1
- package/select/select.component.d.ts +18 -12
- package/select/select.interface.d.ts +4 -5
- package/token/token.component.d.ts +4 -2
- package/fundamental-ngx-core-v0.43.16.tgz +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { FormStates } from '@fundamental-ngx/cdk/forms';
|
|
4
5
|
import { CssClassBuilder, DynamicComponentService, FocusEscapeDirection, FocusTrapService, NestedKeyOf, Nullable, ObjectPathType, RtlService } from '@fundamental-ngx/cdk/utils';
|
|
6
|
+
import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
|
|
5
7
|
import { FormItemControl } from '@fundamental-ngx/core/form';
|
|
6
8
|
import { ListComponent } from '@fundamental-ngx/core/list';
|
|
7
9
|
import { MobileModeConfig } from '@fundamental-ngx/core/mobile-mode';
|
|
8
10
|
import { PopoverComponent } from '@fundamental-ngx/core/popover';
|
|
9
11
|
import { PopoverFillMode } from '@fundamental-ngx/core/shared';
|
|
10
12
|
import { TokenizerComponent } from '@fundamental-ngx/core/token';
|
|
11
|
-
import { FormStates } from '@fundamental-ngx/cdk/forms';
|
|
12
|
-
import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
|
|
13
13
|
import { MultiInputInterface } from './multi-input.interface';
|
|
14
14
|
import { PairSelectionModel } from './pair-selection.model';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
@@ -237,7 +237,7 @@ export declare class MultiInputComponent<ItemType = any, ValueType = any> implem
|
|
|
237
237
|
/** Method that selects all possible options. */
|
|
238
238
|
selectAllItems(selectAll: boolean): void;
|
|
239
239
|
/** @hidden */
|
|
240
|
-
_onCheckboxKeyup(option: _OptionItem<ItemType, ValueType>, event: KeyboardEvent, index: number): void;
|
|
240
|
+
_onCheckboxKeyup(option: _OptionItem<ItemType, ValueType>, event: KeyboardEvent, index: number, isListItem?: boolean): void;
|
|
241
241
|
/** @hidden */
|
|
242
242
|
_onCheckboxClick(option: _OptionItem<ItemType, ValueType>, event: MouseEvent | KeyboardEvent, index: number, isListItem?: boolean): Promise<void>;
|
|
243
243
|
/** @hidden */
|
|
@@ -273,6 +273,8 @@ export declare class MultiInputComponent<ItemType = any, ValueType = any> implem
|
|
|
273
273
|
/** @hidden */
|
|
274
274
|
enableParentFocusTrap(): void;
|
|
275
275
|
/** @hidden */
|
|
276
|
+
_close(): void;
|
|
277
|
+
/** @hidden */
|
|
276
278
|
private _addNewTokenToDropDownValues;
|
|
277
279
|
/** @hidden */
|
|
278
280
|
private _selectFirstFiltered;
|
|
@@ -13,8 +13,9 @@ import * as i11 from "@fundamental-ngx/core/checkbox";
|
|
|
13
13
|
import * as i12 from "@fundamental-ngx/core/link";
|
|
14
14
|
import * as i13 from "@fundamental-ngx/core/content-density";
|
|
15
15
|
import * as i14 from "@fundamental-ngx/i18n";
|
|
16
|
+
import * as i15 from "@fundamental-ngx/core/multi-combobox";
|
|
16
17
|
export declare class MultiInputModule {
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiInputModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MultiInputModule, [typeof i1.MultiInputComponent, typeof i2.DeprecatedMultiInputCompactDirective], [typeof i3.CommonModule, typeof i4.TokenModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ListModule, typeof i7.PopoverModule, typeof i8.PipeModule, typeof i9.InputGroupModule, typeof i10.FormModule, typeof i11.CheckboxModule, typeof i12.LinkModule, typeof i8.AutoCompleteModule, typeof i13.ContentDensityModule, typeof i14.I18nModule, typeof
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MultiInputModule, [typeof i1.MultiInputComponent, typeof i2.DeprecatedMultiInputCompactDirective], [typeof i3.CommonModule, typeof i4.TokenModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ListModule, typeof i7.PopoverModule, typeof i8.PipeModule, typeof i9.InputGroupModule, typeof i10.FormModule, typeof i11.CheckboxModule, typeof i12.LinkModule, typeof i8.AutoCompleteModule, typeof i13.ContentDensityModule, typeof i14.I18nModule, typeof i15.MultiAnnouncerModule], [typeof i1.MultiInputComponent, typeof i2.DeprecatedMultiInputCompactDirective, typeof i13.ContentDensityModule]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<MultiInputModule>;
|
|
20
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/core",
|
|
3
|
-
"version": "0.43.
|
|
3
|
+
"version": "0.43.18",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"ng-update": {
|
|
6
6
|
"migrations": "./schematics/migrations.json"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"rxjs": "^7.8.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@fundamental-ngx/cdk": "0.43.
|
|
32
|
-
"@fundamental-ngx/i18n": "0.43.
|
|
31
|
+
"@fundamental-ngx/cdk": "0.43.18",
|
|
32
|
+
"@fundamental-ngx/i18n": "0.43.18",
|
|
33
33
|
"compare-versions": "^5.0.0",
|
|
34
34
|
"fast-deep-equal": "3.1.3",
|
|
35
35
|
"focus-trap": "^7.1.0",
|
|
@@ -54,21 +54,21 @@ function addExternalLibraries(options) {
|
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
if (!(0, package_utils_1.hasPackage)(tree, '@fundamental-ngx/i18n') ||
|
|
57
|
-
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/i18n', '0.43.
|
|
57
|
+
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/i18n', '0.43.18', '<')) {
|
|
58
58
|
dependencies.push({
|
|
59
59
|
type: dependencies_1.NodeDependencyType.Default,
|
|
60
60
|
// Will be replaced with the real version during sync-version script run
|
|
61
|
-
version: `0.43.
|
|
61
|
+
version: `0.43.18`,
|
|
62
62
|
name: '@fundamental-ngx/i18n',
|
|
63
63
|
overwrite: true
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
if (!(0, package_utils_1.hasPackage)(tree, '@fundamental-ngx/cdk') ||
|
|
67
|
-
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/cdk', '0.43.
|
|
67
|
+
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/cdk', '0.43.18', '<')) {
|
|
68
68
|
dependencies.push({
|
|
69
69
|
type: dependencies_1.NodeDependencyType.Default,
|
|
70
70
|
// Will be replaced with the real version during sync-version script run
|
|
71
|
-
version: `0.43.
|
|
71
|
+
version: `0.43.18`,
|
|
72
72
|
name: '@fundamental-ngx/cdk',
|
|
73
73
|
overwrite: true
|
|
74
74
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
2
|
-
import { SelectInterface } from './select.interface';
|
|
3
2
|
import { OptionsInterface } from './options.interface';
|
|
3
|
+
import { SelectInterface } from './select.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SelectKeyManagerService {
|
|
6
6
|
/** @hidden */
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
1
|
import { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
4
|
-
import { CdkConnectedOverlay } from '@angular/cdk/overlay';
|
|
5
2
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
|
+
import { CdkConnectedOverlay } from '@angular/cdk/overlay';
|
|
4
|
+
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
5
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
6
6
|
import { Observable, Subject } from 'rxjs';
|
|
7
|
-
import { PopoverFillMode } from '@fundamental-ngx/core/shared';
|
|
8
7
|
import { DynamicComponentService, ModuleDeprecation, Nullable, RtlService } from '@fundamental-ngx/cdk/utils';
|
|
9
|
-
import { MobileModeConfig } from '@fundamental-ngx/core/mobile-mode';
|
|
10
8
|
import { FormItemControl } from '@fundamental-ngx/core/form';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
9
|
+
import { MobileModeConfig } from '@fundamental-ngx/core/mobile-mode';
|
|
10
|
+
import { PopoverFillMode } from '@fundamental-ngx/core/shared';
|
|
11
|
+
import { FormStates, SingleDropdownValueControl } from '@fundamental-ngx/cdk/forms';
|
|
14
12
|
import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
|
|
15
|
-
import {
|
|
13
|
+
import { FdOptionSelectionChange, OptionComponent } from './option/option.component';
|
|
14
|
+
import { SelectKeyManagerService } from './select-key-manager.service';
|
|
15
|
+
import { SelectInterface } from './select.interface';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
/** @deprecated use `import { FormStates } from "@fundamental-ngx/cdk/forms"` instead */
|
|
18
18
|
export type SelectControlState = FormStates;
|
|
@@ -23,7 +23,7 @@ export declare const SELECT_ITEM_HEIGHT_EM = 4;
|
|
|
23
23
|
* Select component intended to mimic
|
|
24
24
|
* the behaviour of the native select element.
|
|
25
25
|
*/
|
|
26
|
-
export declare class SelectComponent<T = any> implements ControlValueAccessor, SelectInterface, OnInit, AfterViewInit, AfterContentInit, OnChanges, OnDestroy, FormItemControl {
|
|
26
|
+
export declare class SelectComponent<T = any> implements SingleDropdownValueControl, ControlValueAccessor, SelectInterface, OnInit, AfterViewInit, AfterContentInit, OnChanges, OnDestroy, FormItemControl {
|
|
27
27
|
private readonly _rtlService;
|
|
28
28
|
private readonly _keyManagerService;
|
|
29
29
|
private readonly _changeDetectorRef;
|
|
@@ -93,6 +93,12 @@ export declare class SelectComponent<T = any> implements ControlValueAccessor, S
|
|
|
93
93
|
selectControlClass: Nullable<string>;
|
|
94
94
|
/** Additional classname for the select dropdown button element. */
|
|
95
95
|
selectDropdownButtonClass: Nullable<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Action to perform when user shifts focus from the dropdown.
|
|
98
|
+
* - `close` will close the dropdown preserving previously selected value.
|
|
99
|
+
* - `closeAndSelect` will close the dropdown and select last focused dropdown item.
|
|
100
|
+
*/
|
|
101
|
+
tabOutStrategy: 'close' | 'closeAndSelect';
|
|
96
102
|
/** Event emitted when the popover open state changes. */
|
|
97
103
|
readonly isOpenChange: EventEmitter<boolean>;
|
|
98
104
|
/** Event emitted when the selected value of the select changes. */
|
|
@@ -208,7 +214,7 @@ export declare class SelectComponent<T = any> implements ControlValueAccessor, S
|
|
|
208
214
|
/** Opens the select popover body. */
|
|
209
215
|
open(): void;
|
|
210
216
|
/** @hidden */
|
|
211
|
-
close(forceClose?: boolean): void;
|
|
217
|
+
close(forceClose?: boolean, tabOut?: boolean): void;
|
|
212
218
|
/** Focuses select control. */
|
|
213
219
|
focus(): void;
|
|
214
220
|
/** Blurs select control. */
|
|
@@ -277,7 +283,7 @@ export declare class SelectComponent<T = any> implements ControlValueAccessor, S
|
|
|
277
283
|
/** @hidden */
|
|
278
284
|
private _setupMobileMode;
|
|
279
285
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent<any>, [{ attribute: "tabindex"; }, { optional: true; }, null, null, null, { optional: true; }, { optional: true; self: true; }, { optional: true; }, null]>;
|
|
280
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "fd-select", never, { "controlId": "controlId"; "state": "state"; "mobile": "mobile"; "stateMessage": "stateMessage"; "disabled": "disabled"; "required": "required"; "readonly": "readonly"; "placeholder": "placeholder"; "value": "value"; "extendedBodyTemplate": "extendedBodyTemplate"; "maxHeight": "maxHeight"; "glyph": "glyph"; "closeOnOutsideClick": "closeOnOutsideClick"; "fillControlMode": "fillControlMode"; "controlTemplate": "controlTemplate"; "appendTo": "appendTo"; "unselectMissingOption": "unselectMissingOption"; "typeaheadDebounceInterval": "typeaheadDebounceInterval"; "ariaLabelledBy": "ariaLabelledBy"; "ariaLabel": "ariaLabel"; "mobileConfig": "mobileConfig"; "inline": "inline"; "selectControlClass": "selectControlClass"; "selectDropdownButtonClass": "selectDropdownButtonClass"; "compareWith": "compareWith"; }, { "isOpenChange": "isOpenChange"; "valueChange": "valueChange"; }, ["_options"], ["*"], false, never>;
|
|
286
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "fd-select", never, { "controlId": "controlId"; "state": "state"; "mobile": "mobile"; "stateMessage": "stateMessage"; "disabled": "disabled"; "required": "required"; "readonly": "readonly"; "placeholder": "placeholder"; "value": "value"; "extendedBodyTemplate": "extendedBodyTemplate"; "maxHeight": "maxHeight"; "glyph": "glyph"; "closeOnOutsideClick": "closeOnOutsideClick"; "fillControlMode": "fillControlMode"; "controlTemplate": "controlTemplate"; "appendTo": "appendTo"; "unselectMissingOption": "unselectMissingOption"; "typeaheadDebounceInterval": "typeaheadDebounceInterval"; "ariaLabelledBy": "ariaLabelledBy"; "ariaLabel": "ariaLabel"; "mobileConfig": "mobileConfig"; "inline": "inline"; "selectControlClass": "selectControlClass"; "selectDropdownButtonClass": "selectDropdownButtonClass"; "tabOutStrategy": "tabOutStrategy"; "compareWith": "compareWith"; }, { "isOpenChange": "isOpenChange"; "valueChange": "valueChange"; }, ["_options"], ["*"], false, never>;
|
|
281
287
|
}
|
|
282
288
|
export declare class DeprecatedSelectCSSClasses implements ModuleDeprecation {
|
|
283
289
|
/** @hidden */
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { EventEmitter, InjectionToken, QueryList
|
|
2
|
-
import { OptionComponent } from './option/option.component';
|
|
3
|
-
import { MobileMode } from '@fundamental-ngx/core/mobile-mode';
|
|
1
|
+
import { ElementRef, EventEmitter, InjectionToken, QueryList } from '@angular/core';
|
|
4
2
|
import { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
5
|
-
import { MobileModeConfig } from '@fundamental-ngx/core/mobile-mode';
|
|
3
|
+
import { MobileMode, MobileModeConfig } from '@fundamental-ngx/core/mobile-mode';
|
|
4
|
+
import { OptionComponent } from './option/option.component';
|
|
6
5
|
export declare const SELECT_COMPONENT: InjectionToken<SelectInterface>;
|
|
7
6
|
/**
|
|
8
7
|
* Select Interface to have typing and avoid circular dependency between
|
|
@@ -20,7 +19,7 @@ export interface SelectInterface extends MobileMode {
|
|
|
20
19
|
_liveAnnouncer: LiveAnnouncer;
|
|
21
20
|
isOpenChange: EventEmitter<boolean>;
|
|
22
21
|
valueChange: EventEmitter<any>;
|
|
23
|
-
close(forceClose?: boolean): void;
|
|
22
|
+
close(forceClose?: boolean, tabOut?: boolean): void;
|
|
24
23
|
open(): void;
|
|
25
24
|
focus(): void;
|
|
26
25
|
blur(): void;
|
|
@@ -49,7 +49,9 @@ export declare class TokenComponent implements AfterViewInit, OnDestroy {
|
|
|
49
49
|
*/
|
|
50
50
|
elementFocused: EventEmitter<boolean>;
|
|
51
51
|
/** @hidden */
|
|
52
|
-
|
|
52
|
+
_totalCount: number;
|
|
53
|
+
/** @hidden */
|
|
54
|
+
_itemPosition: number;
|
|
53
55
|
/** @hidden */
|
|
54
56
|
private readonly _destroy$;
|
|
55
57
|
/** @hidden */
|
|
@@ -65,7 +67,7 @@ export declare class TokenComponent implements AfterViewInit, OnDestroy {
|
|
|
65
67
|
/** @hidden */
|
|
66
68
|
tokenKeydownHandler(event: any): void;
|
|
67
69
|
/** @hidden */
|
|
68
|
-
_setTotalCount(count: number): void;
|
|
70
|
+
_setTotalCount(count: number, itemPosition: number): void;
|
|
69
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<TokenComponent, never>;
|
|
70
72
|
static ɵcmp: i0.ɵɵComponentDeclaration<TokenComponent, "fd-token", never, { "disabled": "disabled"; "selected": "selected"; "readOnly": "readOnly"; "deleteButtonLabel": "deleteButtonLabel"; "ariaRoleDescription": "ariaRoleDescription"; }, { "onCloseClick": "onCloseClick"; "onRemove": "onRemove"; "onTokenClick": "onTokenClick"; "onTokenKeydown": "onTokenKeydown"; "elementFocused": "elementFocused"; }, never, ["*"], false, never>;
|
|
71
73
|
}
|
|
Binary file
|