@fundamental-ngx/core 0.43.17 → 0.43.19
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/combobox/combobox.component.d.ts +9 -3
- package/esm2020/combobox/combobox.component.mjs +20 -5
- package/esm2020/datetime-picker/datetime-picker.component.mjs +11 -6
- package/esm2020/file-uploader/file-uploader.component.mjs +14 -15
- package/esm2020/list/list-focus-item.model.mjs +5 -2
- package/esm2020/list/list-item/list-item.component.mjs +20 -13
- 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 +6 -5
- package/esm2020/multi-combobox/multi-combobox.module.mjs +3 -2
- package/esm2020/multi-input/multi-input.component.mjs +5 -4
- package/esm2020/multi-input/multi-input.module.mjs +3 -2
- package/esm2020/pagination/pagination.component.mjs +1 -1
- package/esm2020/select/select-key-manager.service.mjs +5 -5
- package/esm2020/select/select.component.mjs +20 -9
- package/esm2020/select/select.interface.mjs +1 -1
- package/esm2020/shellbar/shellbar-action/shellbar-action.component.mjs +8 -4
- package/esm2020/shellbar/shellbar-actions/shellbar-actions.component.mjs +1 -1
- package/esm2020/shellbar/user-menu/shellbar-user-menu.component.mjs +3 -3
- package/esm2020/token/tokenizer.component.mjs +1 -1
- package/fesm2015/fundamental-ngx-core-combobox.mjs +18 -3
- package/fesm2015/fundamental-ngx-core-combobox.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-datetime-picker.mjs +10 -5
- package/fesm2015/fundamental-ngx-core-datetime-picker.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-file-uploader.mjs +13 -14
- package/fesm2015/fundamental-ngx-core-file-uploader.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-list.mjs +32 -16
- package/fesm2015/fundamental-ngx-core-list.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-multi-combobox.mjs +113 -10
- package/fesm2015/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-multi-input.mjs +6 -4
- 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-select.mjs +132 -120
- package/fesm2015/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-shellbar.mjs +10 -6
- package/fesm2015/fundamental-ngx-core-shellbar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-token.mjs +1 -1
- package/fesm2015/fundamental-ngx-core-token.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-combobox.mjs +18 -3
- package/fesm2020/fundamental-ngx-core-combobox.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-datetime-picker.mjs +10 -5
- package/fesm2020/fundamental-ngx-core-datetime-picker.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-file-uploader.mjs +13 -14
- package/fesm2020/fundamental-ngx-core-file-uploader.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-list.mjs +32 -16
- package/fesm2020/fundamental-ngx-core-list.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-multi-combobox.mjs +107 -10
- package/fesm2020/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-multi-input.mjs +6 -4
- 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-select.mjs +132 -121
- package/fesm2020/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-shellbar.mjs +10 -6
- package/fesm2020/fundamental-ngx-core-shellbar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-token.mjs +1 -1
- 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.19.tgz +0 -0
- package/list/list-focus-item.model.d.ts +8 -3
- package/list/list-item/list-item.component.d.ts +11 -7
- 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.module.d.ts +2 -1
- 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/shellbar/shellbar-action/shellbar-action.component.d.ts +6 -1
- package/fundamental-ngx-core-v0.43.17.tgz +0 -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.19', '<')) {
|
|
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.19`,
|
|
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.19', '<')) {
|
|
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.19`,
|
|
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;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* The component that represents a shellbar action.
|
|
@@ -22,6 +23,10 @@ export declare class ShellbarActionComponent {
|
|
|
22
23
|
notificationLabel: string;
|
|
23
24
|
/** Represents the number of notifications. */
|
|
24
25
|
notificationCount: number;
|
|
26
|
+
/** title of the action button. */
|
|
27
|
+
title: Nullable<string>;
|
|
28
|
+
/** aria-label of the action button */
|
|
29
|
+
ariaLabel: Nullable<string>;
|
|
25
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellbarActionComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShellbarActionComponent, "fd-shellbar-action", never, { "glyph": "glyph"; "callback": "callback"; "label": "label"; "notificationLabel": "notificationLabel"; "notificationCount": "notificationCount"; }, {}, never, never, false, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellbarActionComponent, "fd-shellbar-action", never, { "glyph": "glyph"; "callback": "callback"; "label": "label"; "notificationLabel": "notificationLabel"; "notificationCount": "notificationCount"; "title": "title"; "ariaLabel": "ariaLabel"; }, {}, never, never, false, never>;
|
|
27
32
|
}
|
|
Binary file
|