@fundamental-ngx/core 0.61.2-rc.8 → 0.61.2
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/fundamental-ngx-core-action-sheet.mjs +2 -3
- package/fesm2022/fundamental-ngx-core-action-sheet.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-avatar-group.mjs +4 -6
- package/fesm2022/fundamental-ngx-core-avatar-group.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-breadcrumb.mjs +13 -11
- package/fesm2022/fundamental-ngx-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-busy-indicator.mjs +7 -5
- package/fesm2022/fundamental-ngx-core-busy-indicator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-calendar.mjs +31 -35
- package/fesm2022/fundamental-ngx-core-calendar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-carousel.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-carousel.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-combobox.mjs +3 -5
- package/fesm2022/fundamental-ngx-core-combobox.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-date-picker.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-date-picker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-datetime-picker.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-datetime-picker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-datetime.mjs +13 -7
- package/fesm2022/fundamental-ngx-core-datetime.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-dynamic-page.mjs +13 -13
- package/fesm2022/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-feed-list-item.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-feed-list-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-form.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-form.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-grid-list.mjs +4 -4
- package/fesm2022/fundamental-ngx-core-grid-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-info-label.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-info-label.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-inline-help.mjs +65 -59
- package/fesm2022/fundamental-ngx-core-inline-help.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-link.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-link.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-menu.mjs +1 -3
- package/fesm2022/fundamental-ngx-core-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-message-strip.mjs +49 -44
- package/fesm2022/fundamental-ngx-core-message-strip.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-multi-combobox.mjs +17 -23
- package/fesm2022/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-multi-input.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-multi-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-nested-list.mjs +21 -22
- package/fesm2022/fundamental-ngx-core-nested-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-notification.mjs +16 -13
- package/fesm2022/fundamental-ngx-core-notification.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-object-identifier.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-object-identifier.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-object-number.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-object-number.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-object-status.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-object-status.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-overflow-layout.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-overflow-layout.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-pagination.mjs +14 -11
- package/fesm2022/fundamental-ngx-core-pagination.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-popover.mjs +6 -0
- package/fesm2022/fundamental-ngx-core-popover.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-product-switch.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-product-switch.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-rating-indicator.mjs +7 -4
- package/fesm2022/fundamental-ngx-core-rating-indicator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-segmented-button.mjs +11 -10
- package/fesm2022/fundamental-ngx-core-segmented-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-select.mjs +6 -7
- package/fesm2022/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-shellbar.mjs +6 -6
- package/fesm2022/fundamental-ngx-core-shellbar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-slider.mjs +6 -6
- package/fesm2022/fundamental-ngx-core-slider.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-split-button.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-split-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-step-input.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-step-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-switch.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-switch.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-tabs.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-tabs.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-text.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-text.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-time-picker.mjs +29 -4
- package/fesm2022/fundamental-ngx-core-time-picker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-time.mjs +4 -4
- package/fesm2022/fundamental-ngx-core-time.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-token.mjs +15 -12
- package/fesm2022/fundamental-ngx-core-token.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-toolbar.mjs +3 -5
- package/fesm2022/fundamental-ngx-core-toolbar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-tree.mjs +4 -4
- package/fesm2022/fundamental-ngx-core-tree.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-upload-collection.mjs +4 -4
- package/fesm2022/fundamental-ngx-core-upload-collection.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-user-menu.mjs +3 -5
- package/fesm2022/fundamental-ngx-core-user-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs.map +1 -1
- package/package.json +3 -3
- package/types/fundamental-ngx-core-breadcrumb.d.ts +5 -5
- package/types/fundamental-ngx-core-busy-indicator.d.ts +3 -3
- package/types/fundamental-ngx-core-combobox.d.ts +2 -4
- package/types/fundamental-ngx-core-datetime.d.ts +5 -1
- package/types/fundamental-ngx-core-dynamic-page.d.ts +2 -1
- package/types/fundamental-ngx-core-inline-help.d.ts +45 -24
- package/types/fundamental-ngx-core-menu.d.ts +0 -2
- package/types/fundamental-ngx-core-message-strip.d.ts +12 -3
- package/types/fundamental-ngx-core-multi-combobox.d.ts +1 -1
- package/types/fundamental-ngx-core-nested-list.d.ts +10 -10
- package/types/fundamental-ngx-core-notification.d.ts +7 -5
- package/types/fundamental-ngx-core-pagination.d.ts +4 -3
- package/types/fundamental-ngx-core-rating-indicator.d.ts +2 -3
- package/types/fundamental-ngx-core-segmented-button.d.ts +5 -3
- package/types/fundamental-ngx-core-slider.d.ts +1 -1
- package/types/fundamental-ngx-core-time-picker.d.ts +17 -1
- package/types/fundamental-ngx-core-token.d.ts +4 -4
|
@@ -297,12 +297,10 @@ declare class ComboboxComponent<T = any> implements ComboboxInterface, SingleDro
|
|
|
297
297
|
/** @hidden */
|
|
298
298
|
clearInputBtnFocused: boolean;
|
|
299
299
|
/** @hidden */
|
|
300
|
-
_itemMousedown: boolean;
|
|
301
|
-
/** @hidden */
|
|
302
|
-
protected readonly _clearButtonTitle: i0.Signal<string>;
|
|
303
|
-
/** @hidden */
|
|
304
300
|
get _customRenderer(): Nullable<TemplateRef<ComboboxItemDirectiveContext<T>>>;
|
|
305
301
|
/** @hidden */
|
|
302
|
+
_itemMousedown: boolean;
|
|
303
|
+
/** @hidden */
|
|
306
304
|
private _subscriptions;
|
|
307
305
|
/** @hidden */
|
|
308
306
|
private _value;
|
|
@@ -2,6 +2,7 @@ import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, PipeTransform, Provider } from '@angular/core';
|
|
5
|
+
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
5
6
|
import * as i1 from '@angular/cdk/platform';
|
|
6
7
|
import { Platform } from '@angular/cdk/platform';
|
|
7
8
|
|
|
@@ -387,10 +388,13 @@ declare class DayPeriodFormatPipe<D> implements PipeTransform {
|
|
|
387
388
|
static ɵpipe: i0.ɵɵPipeDeclaration<DayPeriodFormatPipe<any>, "dayPeriodFormat", true>;
|
|
388
389
|
}
|
|
389
390
|
declare class TranslateDayPeriodPipe implements PipeTransform {
|
|
391
|
+
private _language$;
|
|
390
392
|
/** @hidden */
|
|
391
393
|
private readonly _translationResolver;
|
|
392
|
-
/**
|
|
394
|
+
/** Signal that will hold the current language */
|
|
393
395
|
private readonly _currentLanguageSignal;
|
|
396
|
+
/** @hidden */
|
|
397
|
+
constructor(_language$: Observable<FdLanguage>);
|
|
394
398
|
/** Format date object for day period */
|
|
395
399
|
transform(value: string | null): string | null;
|
|
396
400
|
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateDayPeriodPipe, never>;
|
|
@@ -8,6 +8,7 @@ import { HeadingLevel, TabList } from '@fundamental-ngx/core/shared';
|
|
|
8
8
|
import { FlexibleColumnLayoutComponent } from '@fundamental-ngx/core/flexible-column-layout';
|
|
9
9
|
import { ScrollbarDirective } from '@fundamental-ngx/core/scrollbar';
|
|
10
10
|
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
11
|
+
import { Observable } from 'rxjs';
|
|
11
12
|
|
|
12
13
|
declare const DYNAMIC_PAGE_CLASS_NAME: {
|
|
13
14
|
readonly dynamicPage: "fd-dynamic-page";
|
|
@@ -534,7 +535,7 @@ declare const FD_DYNAMIC_PAGE: InjectionToken<DynamicPage>;
|
|
|
534
535
|
/**
|
|
535
536
|
* Patch header i18n texts
|
|
536
537
|
*/
|
|
537
|
-
declare function patchHeaderI18nTexts(config?: DynamicPageConfig):
|
|
538
|
+
declare function patchHeaderI18nTexts(config?: DynamicPageConfig): Observable<FdLanguage>;
|
|
538
539
|
|
|
539
540
|
declare const FD_DYNAMIC_PAGE_BREADCRUMB_COMPONENT: InjectionToken<unknown>;
|
|
540
541
|
|
|
@@ -1,50 +1,71 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import { TriggerConfig
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { TriggerConfig } from '@fundamental-ngx/core/popover';
|
|
4
4
|
import { Placement } from '@fundamental-ngx/core/shared';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The component that represents an inline-help.
|
|
8
8
|
* Inline help is used to display help text in a popover, often inline with headers, body text and form labels.
|
|
9
9
|
*/
|
|
10
|
-
declare class InlineHelpDirective
|
|
11
|
-
private _popoverService;
|
|
12
|
-
private _elementRef;
|
|
13
|
-
private _renderer;
|
|
14
|
-
private readonly _viewContainerRef;
|
|
15
|
-
private _icon;
|
|
10
|
+
declare class InlineHelpDirective {
|
|
16
11
|
/** Inline help text to display inside generated popover */
|
|
17
|
-
readonly inlineHelpContent:
|
|
12
|
+
readonly inlineHelpContent: _angular_core.InputSignal<string | TemplateRef<any>>;
|
|
18
13
|
/** Popover placement */
|
|
19
|
-
readonly placement:
|
|
14
|
+
readonly placement: _angular_core.InputSignal<Placement | null>;
|
|
20
15
|
/**
|
|
21
16
|
* The trigger events that will open/close the inline help component.
|
|
22
17
|
* Accepts any HTML DOM Events or TriggerConfig objects.
|
|
23
18
|
* @default mouseenter/mouseleave and focusin/focusout
|
|
24
19
|
*/
|
|
25
|
-
readonly triggers:
|
|
20
|
+
readonly triggers: _angular_core.InputSignal<(string | TriggerConfig)[]>;
|
|
26
21
|
/** Whether the popover should close when a click is made outside its boundaries. */
|
|
27
|
-
readonly closeOnOutsideClick:
|
|
22
|
+
readonly closeOnOutsideClick: _angular_core.InputSignal<boolean>;
|
|
23
|
+
/** Additional CSS class(es) to apply to the popover body. */
|
|
24
|
+
readonly additionalBodyClass: _angular_core.InputSignal<string | null>;
|
|
25
|
+
/** Whether the inline help is disabled. */
|
|
26
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
27
|
+
/** ID for the Inline Help Popover body */
|
|
28
|
+
readonly bodyId: _angular_core.InputSignal<string>;
|
|
29
|
+
/** aria-role for the Inline Help Popover body */
|
|
30
|
+
readonly bodyRole: _angular_core.InputSignal<string>;
|
|
31
|
+
/** @hidden Combined internal + user-provided body classes. */
|
|
32
|
+
readonly combinedBodyClass: _angular_core.Signal<string>;
|
|
33
|
+
/** @hidden Popover configuration computed from all inputs. */
|
|
34
|
+
readonly popoverConfig: _angular_core.Signal<{
|
|
35
|
+
placement: Placement;
|
|
36
|
+
triggers: (string | TriggerConfig)[];
|
|
37
|
+
noArrow: boolean;
|
|
38
|
+
closeOnEscapeKey: boolean;
|
|
39
|
+
closeOnOutsideClick: boolean;
|
|
40
|
+
additionalBodyClass: string;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
bodyRole: string;
|
|
43
|
+
bodyId: string;
|
|
44
|
+
}>;
|
|
45
|
+
/** @hidden */
|
|
46
|
+
private readonly _popoverService;
|
|
47
|
+
/** @hidden */
|
|
48
|
+
private readonly _elementRef;
|
|
28
49
|
/** @hidden */
|
|
29
|
-
|
|
30
|
-
/** @hidden
|
|
31
|
-
|
|
50
|
+
private readonly _renderer;
|
|
51
|
+
/** @hidden */
|
|
52
|
+
private readonly _viewContainerRef;
|
|
32
53
|
/** @hidden */
|
|
33
|
-
|
|
54
|
+
private readonly _icon;
|
|
34
55
|
/** @hidden */
|
|
35
56
|
private _additionalBodyClass;
|
|
36
57
|
/** @hidden */
|
|
37
58
|
private _srViewRef;
|
|
38
59
|
/** @hidden */
|
|
39
|
-
|
|
60
|
+
private _initialised;
|
|
40
61
|
/** @hidden */
|
|
41
|
-
|
|
62
|
+
constructor();
|
|
42
63
|
/** @hidden */
|
|
43
64
|
private _applyAdditionalInlineHelpClass;
|
|
44
65
|
/** @hidden */
|
|
45
66
|
private _setupScreenreaderElement;
|
|
46
|
-
static ɵfac:
|
|
47
|
-
static ɵdir:
|
|
67
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineHelpDirective, never>;
|
|
68
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<InlineHelpDirective, "[fd-inline-help]:not([fd-inline-help-template]), [fd-inline-help-template]:not([fd-inline-help])", never, { "inlineHelpContent": { "alias": "fd-inline-help"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "triggers": { "alias": "triggers"; "required": false; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; "additionalBodyClass": { "alias": "additionalBodyClass"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "bodyId": { "alias": "bodyId"; "required": false; "isSignal": true; }; "bodyRole": { "alias": "bodyRole"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
48
69
|
}
|
|
49
70
|
|
|
50
71
|
/**
|
|
@@ -52,9 +73,9 @@ declare class InlineHelpDirective implements OnInit {
|
|
|
52
73
|
* Use direct imports of components and directives.
|
|
53
74
|
*/
|
|
54
75
|
declare class InlineHelpModule {
|
|
55
|
-
static ɵfac:
|
|
56
|
-
static ɵmod:
|
|
57
|
-
static ɵinj:
|
|
76
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineHelpModule, never>;
|
|
77
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<InlineHelpModule, never, [typeof InlineHelpDirective], [typeof InlineHelpDirective]>;
|
|
78
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<InlineHelpModule>;
|
|
58
79
|
}
|
|
59
80
|
|
|
60
81
|
export { InlineHelpDirective, InlineHelpModule };
|
|
@@ -174,8 +174,6 @@ declare class SegmentedButtonOptionDirective<T> implements AfterViewInit, HasEle
|
|
|
174
174
|
/** @hidden */
|
|
175
175
|
private _selected$;
|
|
176
176
|
/** @hidden */
|
|
177
|
-
private readonly _destroyRef;
|
|
178
|
-
/** @hidden */
|
|
179
177
|
constructor();
|
|
180
178
|
/** @hidden */
|
|
181
179
|
_onClick($event: Event): void;
|
|
@@ -4,6 +4,7 @@ import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { TemplateRef, Type, InjectionToken, ElementRef } from '@angular/core';
|
|
6
6
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
7
|
+
import { Observable as Observable$1 } from 'rxjs/internal/Observable';
|
|
7
8
|
|
|
8
9
|
type MessageStripAlertVerticalPosition = 'top' | 'bottom';
|
|
9
10
|
type MessageStripAlertHorizontalPosition = 'start' | 'middle' | 'end';
|
|
@@ -264,19 +265,27 @@ declare class MessageStripComponent {
|
|
|
264
265
|
*/
|
|
265
266
|
protected readonly typeSpecificIconName: _angular_core.Signal<"" | MessageStringIconEnum>;
|
|
266
267
|
/** message strip information read by screen readers */
|
|
267
|
-
protected messageStripHiddenText
|
|
268
|
+
protected messageStripHiddenText$: Observable$1<string>;
|
|
268
269
|
/** default dismiss button text read by screen readers */
|
|
269
|
-
protected defaultDismissButtonText
|
|
270
|
+
protected defaultDismissButtonText$: Observable$1<string>;
|
|
270
271
|
/** @hidden */
|
|
271
272
|
private readonly _destroyRef;
|
|
272
273
|
/** @hidden */
|
|
273
|
-
private readonly
|
|
274
|
+
private readonly _lang$;
|
|
274
275
|
/** @hidden */
|
|
275
276
|
private readonly _translationResolver;
|
|
277
|
+
/** @hidden */
|
|
278
|
+
constructor();
|
|
276
279
|
/**
|
|
277
280
|
* Dismisses the message-strip.
|
|
278
281
|
*/
|
|
279
282
|
dismiss(): void;
|
|
283
|
+
/** @hidden */
|
|
284
|
+
private _translateAnnouncement;
|
|
285
|
+
/** @hidden */
|
|
286
|
+
private _buildMessageStripHiddenText;
|
|
287
|
+
/** @hidden **/
|
|
288
|
+
private _getHiddenButtonText;
|
|
280
289
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MessageStripComponent, never>;
|
|
281
290
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MessageStripComponent, "fd-message-strip", never, { "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "dismissBtnTitle": { "alias": "dismissBtnTitle"; "required": false; "isSignal": true; }; "noIcon": { "alias": "noIcon"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "marginBottom": { "alias": "marginBottom"; "required": false; "isSignal": true; }; "indicationColor": { "alias": "indicationColor"; "required": false; "isSignal": true; }; }, { "onDismiss": "onDismiss"; }, ["icon"], ["*"], true, never>;
|
|
282
291
|
}
|
|
@@ -721,7 +721,7 @@ declare class MultiComboboxComponent<T = any> extends BaseMultiCombobox<T> imple
|
|
|
721
721
|
* Observable stream of the current language configuration.
|
|
722
722
|
* @hidden
|
|
723
723
|
*/
|
|
724
|
-
private readonly
|
|
724
|
+
private readonly _lang$;
|
|
725
725
|
/**
|
|
726
726
|
* Helper for resolving translation keys to localized strings.
|
|
727
727
|
* @hidden
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, QueryList, ChangeDetectorRef, ElementRef, AfterContentInit } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
2
|
+
import { EventEmitter, QueryList, ChangeDetectorRef, ElementRef, AfterContentInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { Subject, Observable } from 'rxjs';
|
|
4
4
|
import { DefaultMenuItem, MenuKeyboardService } from '@fundamental-ngx/core/menu';
|
|
5
5
|
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
6
6
|
import { IconComponent } from '@fundamental-ngx/core/icon';
|
|
7
7
|
import { PopoverComponent } from '@fundamental-ngx/core/popover';
|
|
8
8
|
import { Placement } from '@fundamental-ngx/core/shared';
|
|
9
9
|
import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
|
|
10
|
+
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
10
11
|
|
|
11
12
|
/** Interface, to reduce amount of circular dependency warnings */
|
|
12
13
|
interface NestedItemInterface extends DefaultMenuItem {
|
|
@@ -405,12 +406,13 @@ declare class NestedListPopoverComponent implements NestedListPopoverInterface,
|
|
|
405
406
|
* </div>
|
|
406
407
|
* </div>
|
|
407
408
|
*/
|
|
408
|
-
declare class NestedListDirective implements AfterContentInit, NestedListInterface {
|
|
409
|
+
declare class NestedListDirective implements AfterContentInit, NestedListInterface, OnDestroy {
|
|
409
410
|
private _nestedItemService;
|
|
410
411
|
private _nestedListKeyboardService;
|
|
411
412
|
private _elementRef;
|
|
412
413
|
private _changeDetectionRef;
|
|
413
414
|
private readonly _nestedListStateService;
|
|
415
|
+
private _language$;
|
|
414
416
|
/** In case the user wants to no use icons for items in this list */
|
|
415
417
|
textOnly: boolean;
|
|
416
418
|
/** Aria defines role description for the Nested List Tree. */
|
|
@@ -440,15 +442,13 @@ declare class NestedListDirective implements AfterContentInit, NestedListInterfa
|
|
|
440
442
|
/** @hidden */
|
|
441
443
|
protected _tabindex: string;
|
|
442
444
|
/** @hidden */
|
|
443
|
-
private
|
|
444
|
-
/** @hidden */
|
|
445
|
-
private readonly _langSignal;
|
|
445
|
+
private _subscriptions;
|
|
446
446
|
/** @hidden */
|
|
447
|
-
private readonly
|
|
447
|
+
private readonly _translationResolver;
|
|
448
448
|
/** @hidden */
|
|
449
|
-
|
|
449
|
+
constructor(_nestedItemService: NestedItemService, _nestedListKeyboardService: NestedListKeyboardService, _elementRef: ElementRef, _changeDetectionRef: ChangeDetectorRef, _nestedListStateService: NestedListStateService, _language$: Observable<FdLanguage>, _contentDensityObserver: ContentDensityObserver);
|
|
450
450
|
/** @hidden */
|
|
451
|
-
|
|
451
|
+
ngOnDestroy(): void;
|
|
452
452
|
/** @hidden */
|
|
453
453
|
ngAfterContentInit(): void;
|
|
454
454
|
/** @hidden */
|
|
@@ -464,7 +464,7 @@ declare class NestedListDirective implements AfterContentInit, NestedListInterfa
|
|
|
464
464
|
private _setAriaAttributes;
|
|
465
465
|
/** @hidden */
|
|
466
466
|
private _setAccessibilityProperties;
|
|
467
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NestedListDirective, [{ optional: true; }, null, null, null, null, null]>;
|
|
467
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NestedListDirective, [{ optional: true; }, null, null, null, null, null, null]>;
|
|
468
468
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NestedListDirective, "[fdNestedList], [fd-nested-list]", never, { "textOnly": { "alias": "textOnly"; "required": false; }; "ariaRoledescriptionTree": { "alias": "ariaRoledescriptionTree"; "required": false; }; "ariaRoledescriptionMenuBar": { "alias": "ariaRoledescriptionMenuBar"; "required": false; }; "ariaLabelSelected": { "alias": "ariaLabelSelected"; "required": false; }; }, {}, ["_nestedListHeader", "nestedItems"], never, true, never>;
|
|
469
469
|
}
|
|
470
470
|
|
|
@@ -245,7 +245,7 @@ declare class NotificationGroupHeaderComponent extends NotificationGroupBaseDire
|
|
|
245
245
|
/** @hidden */
|
|
246
246
|
private readonly _rtlService;
|
|
247
247
|
/** @hidden */
|
|
248
|
-
private readonly
|
|
248
|
+
private readonly _lang;
|
|
249
249
|
/** @hidden */
|
|
250
250
|
private readonly _translationResolver;
|
|
251
251
|
constructor();
|
|
@@ -397,7 +397,7 @@ declare class NotificationGroupListComponent implements AfterViewInit {
|
|
|
397
397
|
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationGroupListComponent, "fd-notification-group-list", never, { "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, ["notifications"], ["*"], true, never>;
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
declare class NotificationGroupComponent implements AfterViewInit {
|
|
400
|
+
declare class NotificationGroupComponent implements OnInit, AfterViewInit {
|
|
401
401
|
/**
|
|
402
402
|
* Whether the group is expanded
|
|
403
403
|
* default value is false
|
|
@@ -427,13 +427,15 @@ declare class NotificationGroupComponent implements AfterViewInit {
|
|
|
427
427
|
/** @hidden */
|
|
428
428
|
private _collapsedString;
|
|
429
429
|
/** @hidden */
|
|
430
|
-
private readonly
|
|
430
|
+
private readonly _destroyRef;
|
|
431
431
|
/** @hidden */
|
|
432
|
-
private
|
|
432
|
+
private readonly _lang$;
|
|
433
433
|
/** @hidden */
|
|
434
|
-
|
|
434
|
+
private _translationResolver;
|
|
435
435
|
/** @hidden */
|
|
436
436
|
ngAfterViewInit(): void;
|
|
437
|
+
/** @hidden */
|
|
438
|
+
ngOnInit(): void;
|
|
437
439
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationGroupComponent, never>;
|
|
438
440
|
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationGroupComponent, "fd-notification-group", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, ["groupHeader", "groupTitle", "groupList"], ["fd-notification-group-header", "fd-notification-group-list", "fd-notification-group-growing-item"], true, never>;
|
|
439
441
|
}
|
|
@@ -2,8 +2,10 @@ import { LiveAnnouncer, FocusableOption } from '@angular/cdk/a11y';
|
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { OnChanges, AfterViewInit, OnDestroy, QueryList, ElementRef, TemplateRef, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
4
4
|
import { NgModel } from '@angular/forms';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
5
6
|
import { FocusKeyManagerListDirective, FocusKeyManagerItemDirective } from '@fundamental-ngx/cdk/utils';
|
|
6
7
|
import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
|
|
8
|
+
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
7
9
|
|
|
8
10
|
interface Pagination {
|
|
9
11
|
totalItems: number;
|
|
@@ -56,6 +58,7 @@ declare class PaginationComponent implements OnChanges, AfterViewInit, OnDestroy
|
|
|
56
58
|
private readonly paginationService;
|
|
57
59
|
private readonly _cdr;
|
|
58
60
|
private readonly _liveAnnouncer;
|
|
61
|
+
private readonly _language;
|
|
59
62
|
readonly _contentDensityObserver: ContentDensityObserver;
|
|
60
63
|
/** @hidden */
|
|
61
64
|
readonly _focusKeyManagerList: FocusKeyManagerListDirective;
|
|
@@ -136,9 +139,7 @@ declare class PaginationComponent implements OnChanges, AfterViewInit, OnDestroy
|
|
|
136
139
|
/** @hidden */
|
|
137
140
|
private readonly _rtlService;
|
|
138
141
|
/** @hidden */
|
|
139
|
-
|
|
140
|
-
/** @hidden */
|
|
141
|
-
constructor(paginationService: PaginationService, _cdr: ChangeDetectorRef, _liveAnnouncer: LiveAnnouncer, _contentDensityObserver: ContentDensityObserver);
|
|
142
|
+
constructor(paginationService: PaginationService, _cdr: ChangeDetectorRef, _liveAnnouncer: LiveAnnouncer, _language: Observable<FdLanguage>, _contentDensityObserver: ContentDensityObserver);
|
|
142
143
|
/** @hidden */
|
|
143
144
|
ngOnChanges(changes: SimpleChanges): void;
|
|
144
145
|
/** @hidden */
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as _fundamental_ngx_i18n from '@fundamental-ngx/i18n';
|
|
2
|
-
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
3
1
|
import * as _angular_core from '@angular/core';
|
|
4
2
|
import { ElementRef, PipeTransform } from '@angular/core';
|
|
5
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
4
|
import { HasElementRef } from '@fundamental-ngx/cdk/utils';
|
|
7
5
|
import { FormItemControl } from '@fundamental-ngx/core/form';
|
|
6
|
+
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
8
7
|
|
|
9
8
|
declare const INDICATOR_PREFIX = "fd-rating-indicator";
|
|
10
9
|
declare const INDICATOR_CLASSES: {
|
|
@@ -119,7 +118,7 @@ declare class RatingIndicatorComponent implements ControlValueAccessor, FormItem
|
|
|
119
118
|
/** Computed display value - returns the current internal value */
|
|
120
119
|
readonly displayValue: _angular_core.Signal<number>;
|
|
121
120
|
/** @hidden Current language signal for i18n */
|
|
122
|
-
protected readonly language: _angular_core.
|
|
121
|
+
protected readonly language: _angular_core.Signal<FdLanguage>;
|
|
123
122
|
/** @hidden Internal mutable value for CVA and computed display value */
|
|
124
123
|
protected readonly internalValue: _angular_core.WritableSignal<number>;
|
|
125
124
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { AfterViewInit, OnDestroy, OnChanges, QueryList, ChangeDetectorRef, ElementRef, DestroyRef, NgZone, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { OnInit, AfterViewInit, OnDestroy, OnChanges, QueryList, ChangeDetectorRef, ElementRef, DestroyRef, NgZone, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import * as i1 from '@fundamental-ngx/cdk/utils';
|
|
5
5
|
import { FocusableItemDirective, FocusableListDirective } from '@fundamental-ngx/cdk/utils';
|
|
@@ -17,7 +17,7 @@ type SegmentedButtonValue = string | (string | null)[] | null;
|
|
|
17
17
|
* </fd-segmented-button>
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
declare class SegmentedButtonComponent implements AfterViewInit, ControlValueAccessor, OnDestroy, OnChanges {
|
|
20
|
+
declare class SegmentedButtonComponent implements OnInit, AfterViewInit, ControlValueAccessor, OnDestroy, OnChanges {
|
|
21
21
|
private readonly _changeDetRef;
|
|
22
22
|
private readonly _elementRef;
|
|
23
23
|
private readonly _destroyRef;
|
|
@@ -51,7 +51,7 @@ declare class SegmentedButtonComponent implements AfterViewInit, ControlValueAcc
|
|
|
51
51
|
/** An RxJS Subject that will kill the data stream upon queryList changes (for unsubscribing) */
|
|
52
52
|
private readonly _onRefresh$;
|
|
53
53
|
/** @hidden */
|
|
54
|
-
private readonly
|
|
54
|
+
private readonly _lang$;
|
|
55
55
|
/** @hidden */
|
|
56
56
|
private _translationResolver;
|
|
57
57
|
/** @hidden */
|
|
@@ -63,6 +63,8 @@ declare class SegmentedButtonComponent implements AfterViewInit, ControlValueAcc
|
|
|
63
63
|
/** @hidden */
|
|
64
64
|
protected _click(event: MouseEvent): void;
|
|
65
65
|
/** @hidden */
|
|
66
|
+
ngOnInit(): void;
|
|
67
|
+
/** @hidden */
|
|
66
68
|
onChange: (value: SegmentedButtonValue) => void;
|
|
67
69
|
/** @hidden */
|
|
68
70
|
onTouched: () => void;
|
|
@@ -305,7 +305,7 @@ declare class SliderComponent implements OnInit, OnChanges, AfterViewInit, Contr
|
|
|
305
305
|
*/
|
|
306
306
|
declare class SliderModule {
|
|
307
307
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliderModule, never>;
|
|
308
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SliderModule, never, [typeof i1.PopoverModule, typeof i2.FormsModule, typeof i3.OnlyDigitsModule, typeof i4.ContentDensityModule, typeof i5.
|
|
308
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SliderModule, never, [typeof i1.PopoverModule, typeof i2.FormsModule, typeof i3.OnlyDigitsModule, typeof i4.ContentDensityModule, typeof i5.I18nModule, typeof SliderComponent, typeof SliderPositionDirective], [typeof SliderComponent, typeof SliderPositionDirective]>;
|
|
309
309
|
static ɵinj: i0.ɵɵInjectorDeclaration<SliderModule>;
|
|
310
310
|
}
|
|
311
311
|
|
|
@@ -105,6 +105,22 @@ declare class TimePickerComponent<D> implements ControlValueAccessor, OnInit, Af
|
|
|
105
105
|
* Must be a format option that is understandable by DatetimeAdapter.
|
|
106
106
|
*/
|
|
107
107
|
parseFormat: unknown;
|
|
108
|
+
/**
|
|
109
|
+
* Value state "success" aria message.
|
|
110
|
+
*/
|
|
111
|
+
valueStateSuccessMessage: string;
|
|
112
|
+
/**
|
|
113
|
+
* Value state "information" aria message.
|
|
114
|
+
*/
|
|
115
|
+
valueStateInformationMessage: string;
|
|
116
|
+
/**
|
|
117
|
+
* Value state "warning" aria message.
|
|
118
|
+
*/
|
|
119
|
+
valueStateWarningMessage: string;
|
|
120
|
+
/**
|
|
121
|
+
* Value state "error" aria message.
|
|
122
|
+
*/
|
|
123
|
+
valueStateErrorMessage: string;
|
|
108
124
|
/** Event emitted when the state of the isOpen property changes. */
|
|
109
125
|
isOpenChange: EventEmitter<boolean>;
|
|
110
126
|
/** @hidden */
|
|
@@ -235,7 +251,7 @@ declare class TimePickerComponent<D> implements ControlValueAccessor, OnInit, Af
|
|
|
235
251
|
/** @hidden */
|
|
236
252
|
private initialiseVariablesInMessageService;
|
|
237
253
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent<any>, [null, null, { optional: true; }, { optional: true; }, null]>;
|
|
238
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent<any>, "fd-time-picker", never, { "time": { "alias": "time"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "spinnerButtons": { "alias": "spinnerButtons"; "required": false; }; "meridian": { "alias": "meridian"; "required": false; }; "displaySeconds": { "alias": "displaySeconds"; "required": false; }; "displayMinutes": { "alias": "displayMinutes"; "required": false; }; "displayHours": { "alias": "displayHours"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "timePickerInputLabel": { "alias": "timePickerInputLabel"; "required": false; }; "timePickerButtonLabel": { "alias": "timePickerButtonLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "tablet": { "alias": "tablet"; "required": false; }; "message": { "alias": "message"; "required": false; }; "messageType": { "alias": "messageType"; "required": false; }; "messageTriggers": { "alias": "messageTriggers"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "useValidation": { "alias": "useValidation"; "required": false; }; "state": { "alias": "state"; "required": false; }; "buttonFocusable": { "alias": "buttonFocusable"; "required": false; }; "keepTwoDigitsTime": { "alias": "keepTwoDigitsTime"; "required": false; }; "displayFormat": { "alias": "displayFormat"; "required": false; }; "parseFormat": { "alias": "parseFormat"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; }, { "isOpenChange": "isOpenChange"; }, never, ["*"], true, never>;
|
|
254
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent<any>, "fd-time-picker", never, { "time": { "alias": "time"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "spinnerButtons": { "alias": "spinnerButtons"; "required": false; }; "meridian": { "alias": "meridian"; "required": false; }; "displaySeconds": { "alias": "displaySeconds"; "required": false; }; "displayMinutes": { "alias": "displayMinutes"; "required": false; }; "displayHours": { "alias": "displayHours"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "timePickerInputLabel": { "alias": "timePickerInputLabel"; "required": false; }; "timePickerButtonLabel": { "alias": "timePickerButtonLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "tablet": { "alias": "tablet"; "required": false; }; "message": { "alias": "message"; "required": false; }; "messageType": { "alias": "messageType"; "required": false; }; "messageTriggers": { "alias": "messageTriggers"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "useValidation": { "alias": "useValidation"; "required": false; }; "state": { "alias": "state"; "required": false; }; "buttonFocusable": { "alias": "buttonFocusable"; "required": false; }; "keepTwoDigitsTime": { "alias": "keepTwoDigitsTime"; "required": false; }; "displayFormat": { "alias": "displayFormat"; "required": false; }; "parseFormat": { "alias": "parseFormat"; "required": false; }; "valueStateSuccessMessage": { "alias": "valueStateSuccessMessage"; "required": false; }; "valueStateInformationMessage": { "alias": "valueStateInformationMessage"; "required": false; }; "valueStateWarningMessage": { "alias": "valueStateWarningMessage"; "required": false; }; "valueStateErrorMessage": { "alias": "valueStateErrorMessage"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; }, { "isOpenChange": "isOpenChange"; }, never, ["*"], true, never>;
|
|
239
255
|
}
|
|
240
256
|
|
|
241
257
|
/**
|
|
@@ -4,7 +4,8 @@ import { CssClassBuilder } from '@fundamental-ngx/cdk/utils';
|
|
|
4
4
|
import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
|
|
5
5
|
import { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
6
6
|
import { IconFont } from '@fundamental-ngx/core/icon';
|
|
7
|
-
import {
|
|
7
|
+
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
8
|
+
import { Subscription, Observable } from 'rxjs';
|
|
8
9
|
|
|
9
10
|
declare class TokenizerInputDirective implements OnInit, OnChanges, CssClassBuilder {
|
|
10
11
|
/** user's custom classes */
|
|
@@ -93,6 +94,7 @@ declare class TokenizerComponent implements AfterViewInit, OnDestroy, CssClassBu
|
|
|
93
94
|
private _renderer;
|
|
94
95
|
private readonly _document;
|
|
95
96
|
private readonly _liveAnnouncer;
|
|
97
|
+
private readonly _language$;
|
|
96
98
|
/** user's custom classes */
|
|
97
99
|
class: string;
|
|
98
100
|
/** Disables possibility to remove tokens by keyboard */
|
|
@@ -184,9 +186,7 @@ declare class TokenizerComponent implements AfterViewInit, OnDestroy, CssClassBu
|
|
|
184
186
|
/** @hidden */
|
|
185
187
|
private _tokenElementFocusedSub;
|
|
186
188
|
/** @hidden */
|
|
187
|
-
|
|
188
|
-
/** @hidden */
|
|
189
|
-
constructor(_contentDensityObserver: ContentDensityObserver, elementRef: ElementRef, _cdRef: ChangeDetectorRef, _renderer: Renderer2, _document: Document, _liveAnnouncer: LiveAnnouncer);
|
|
189
|
+
constructor(_contentDensityObserver: ContentDensityObserver, elementRef: ElementRef, _cdRef: ChangeDetectorRef, _renderer: Renderer2, _document: Document, _liveAnnouncer: LiveAnnouncer, _language$: Observable<FdLanguage>);
|
|
190
190
|
/** @hidden
|
|
191
191
|
* CssClassBuilder interface implementation
|
|
192
192
|
* function must return single string
|