@fundamental-ngx/platform 0.48.0-rc.21 → 0.48.0-rc.23
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/esm2022/form/combobox/combobox-mobile/combobox/combobox-mobile.component.mjs +6 -8
- package/esm2022/form/combobox/commons/base-combobox.mjs +6 -5
- package/esm2022/form/form-generator/form-generator/form-generator.component.mjs +8 -8
- package/esm2022/form/form-generator/form-generator.service.mjs +8 -13
- package/esm2022/form/form-group/form-field/form-field.component.mjs +27 -29
- package/esm2022/form/form-group/form-group.component.mjs +37 -40
- package/esm2022/form/multi-combobox/commons/base-multi-combobox.mjs +9 -8
- package/esm2022/form/multi-combobox/multi-combobox/multi-combobox.component.mjs +3 -3
- package/esm2022/form/multi-combobox/multi-combobox-mobile/multi-combobox/multi-combobox-mobile.component.mjs +10 -13
- package/esm2022/form/multi-combobox/multi-combobox.interface.mjs +1 -1
- package/esm2022/form/multi-input/base-multi-input.mjs +5 -4
- package/esm2022/form/multi-input/multi-input-mobile/multi-input-mobile.component.mjs +4 -7
- package/esm2022/form/radio-group/radio-group.component.mjs +23 -24
- package/esm2022/form/select/commons/base-select.mjs +3 -3
- package/esm2022/form/step-input/base.step-input.mjs +25 -35
- package/esm2022/form/step-input/number/number-step-input.component.mjs +3 -3
- package/esm2022/form/step-input/step-input-action-button.mjs +6 -10
- package/esm2022/icon-tab-bar/components/icon-tab-bar-base.class.mjs +6 -8
- package/esm2022/icon-tab-bar/directives/dnd/icon-bar-dnd-container.directive.mjs +10 -19
- package/esm2022/icon-tab-bar/directives/dnd/icon-bar-dnd-item.directive.mjs +7 -9
- package/esm2022/icon-tab-bar/directives/dnd/icon-bar-dnd-list.directive.mjs +7 -8
- package/esm2022/icon-tab-bar/icon-tab-bar.component.mjs +9 -20
- package/esm2022/list/list.component.mjs +7 -8
- package/esm2022/menu/menu.component.mjs +3 -4
- package/esm2022/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.mjs +8 -11
- package/esm2022/message-popover/message-popover.component.mjs +52 -53
- package/esm2022/message-popover/models/message-popover-wrapper.interface.mjs +1 -1
- package/esm2022/search-field/search-field-mobile/search-field/search-field-mobile.component.mjs +3 -7
- package/esm2022/search-field/search-field.component.mjs +20 -21
- package/esm2022/settings-generator/settings-generator.service.mjs +9 -10
- package/esm2022/shared/form/base.input.mjs +7 -8
- package/esm2022/smart-filter-bar/components/smart-filter-bar-settings-dialog/smart-filter-bar-settings-dialog.component.mjs +10 -15
- package/esm2022/split-menu-button/split-menu-button.component.mjs +7 -18
- package/esm2022/table/components/reset-button/reset-button.component.mjs +5 -6
- package/esm2022/table/components/table-cell-header-popover/table-cell-header-popover.component.mjs +6 -7
- package/esm2022/table/components/table-column-resizer/table-column-resizer.component.mjs +6 -8
- package/esm2022/table/components/table-group-row/table-group-row.component.mjs +3 -7
- package/esm2022/table/components/table-header-cell-content/table-header-cell-content.component.mjs +29 -13
- package/esm2022/table/components/table-header-row/table-header-row.component.mjs +7 -11
- package/esm2022/table/components/table-p13-dialog/columns/columns.component.mjs +5 -7
- package/esm2022/table/components/table-p13-dialog/filtering/filtering.component.mjs +5 -8
- package/esm2022/table/components/table-p13-dialog/grouping/grouping.component.mjs +5 -8
- package/esm2022/table/components/table-p13-dialog/sorting/sorting.component.mjs +5 -8
- package/esm2022/table/components/table-popping-row/table-popping-row.component.mjs +4 -5
- package/esm2022/table/components/table-row/table-row.component.mjs +6 -13
- package/esm2022/table/components/table-toolbar/table-toolbar.component.mjs +34 -21
- package/esm2022/table/components/table-view-settings-dialog/filtering/filters.component.mjs +5 -8
- package/esm2022/table/components/table-view-settings-dialog/grouping/grouping.component.mjs +6 -9
- package/esm2022/table/components/table-view-settings-dialog/sorting/sorting.component.mjs +6 -9
- package/esm2022/table/table.component.mjs +39 -49
- package/esm2022/table-helpers/directives/table-cell-header-popover.directive.mjs +1 -1
- package/esm2022/table-helpers/directives/table-cell-resizable.directive.mjs +8 -10
- package/esm2022/table-helpers/directives/table-data-source.directive.mjs +6 -6
- package/esm2022/table-helpers/services/table-column-resize.service.mjs +14 -17
- package/esm2022/table-helpers/services/table-responsive.service.mjs +6 -11
- package/esm2022/table-helpers/services/table.service.mjs +20 -18
- package/esm2022/value-help-dialog/value-help-dialog/value-help-dialog.component.mjs +10 -18
- package/esm2022/wizard-generator/base-wizard-generator.mjs +12 -19
- package/esm2022/wizard-generator/components/dialog-wizard-generator/dialog-wizard-generator.component.mjs +5 -4
- package/esm2022/wizard-generator/components/wizard-body/wizard-body.component.mjs +7 -13
- package/esm2022/wizard-generator/components/wizard-generator-step/wizard-generator-step.component.mjs +8 -7
- package/fesm2022/fundamental-ngx-platform-form.mjs +137 -174
- package/fesm2022/fundamental-ngx-platform-form.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs +24 -46
- package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-list.mjs +6 -7
- package/fesm2022/fundamental-ngx-platform-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-menu.mjs +3 -3
- package/fesm2022/fundamental-ngx-platform-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-message-popover.mjs +57 -60
- package/fesm2022/fundamental-ngx-platform-message-popover.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-search-field.mjs +21 -38
- package/fesm2022/fundamental-ngx-platform-search-field.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-settings-generator.mjs +6 -8
- package/fesm2022/fundamental-ngx-platform-settings-generator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-shared.mjs +6 -7
- package/fesm2022/fundamental-ngx-platform-shared.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs +9 -15
- package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-split-menu-button.mjs +6 -17
- package/fesm2022/fundamental-ngx-platform-split-menu-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-table-helpers.mjs +42 -52
- package/fesm2022/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-table.mjs +145 -157
- package/fesm2022/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs +9 -17
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs +20 -33
- package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs.map +1 -1
- package/form/combobox/combobox-mobile/combobox/combobox-mobile.component.d.ts +2 -4
- package/form/form-generator/form-generator/form-generator.component.d.ts +1 -1
- package/form/form-generator/form-generator.service.d.ts +3 -7
- package/form/form-group/form-field/form-field.component.d.ts +12 -12
- package/form/form-group/form-group.component.d.ts +35 -31
- package/form/multi-combobox/commons/base-multi-combobox.d.ts +2 -2
- package/form/multi-combobox/multi-combobox-mobile/multi-combobox/multi-combobox-mobile.component.d.ts +3 -5
- package/form/multi-combobox/multi-combobox.interface.d.ts +3 -3
- package/form/multi-input/multi-input-mobile/multi-input-mobile.component.d.ts +2 -4
- package/form/radio-group/radio-group.component.d.ts +3 -3
- package/form/step-input/base.step-input.d.ts +5 -6
- package/form/step-input/step-input-action-button.d.ts +4 -7
- package/fundamental-ngx-platform-v0.48.0-rc.23.tgz +0 -0
- package/icon-tab-bar/components/icon-tab-bar-base.class.d.ts +1 -1
- package/icon-tab-bar/directives/dnd/icon-bar-dnd-container.directive.d.ts +5 -8
- package/icon-tab-bar/directives/dnd/icon-bar-dnd-item.directive.d.ts +1 -1
- package/icon-tab-bar/directives/dnd/icon-bar-dnd-list.directive.d.ts +1 -1
- package/icon-tab-bar/icon-tab-bar.component.d.ts +4 -6
- package/list/list.component.d.ts +1 -3
- package/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.d.ts +2 -4
- package/message-popover/message-popover.component.d.ts +13 -20
- package/message-popover/models/message-popover-wrapper.interface.d.ts +2 -2
- package/package.json +4 -4
- package/search-field/search-field-mobile/search-field/search-field-mobile.component.d.ts +4 -6
- package/search-field/search-field.component.d.ts +6 -4
- package/settings-generator/settings-generator.service.d.ts +1 -1
- package/shared/form/base.input.d.ts +2 -2
- package/smart-filter-bar/components/smart-filter-bar-settings-dialog/smart-filter-bar-settings-dialog.component.d.ts +4 -8
- package/split-menu-button/split-menu-button.component.d.ts +3 -8
- package/table/components/reset-button/reset-button.component.d.ts +2 -3
- package/table/components/table-cell-header-popover/table-cell-header-popover.component.d.ts +1 -2
- package/table/components/table-column-resizer/table-column-resizer.component.d.ts +1 -1
- package/table/components/table-group-row/table-group-row.component.d.ts +2 -5
- package/table/components/table-header-cell-content/table-header-cell-content.component.d.ts +11 -6
- package/table/components/table-header-row/table-header-row.component.d.ts +1 -1
- package/table/components/table-p13-dialog/columns/columns.component.d.ts +2 -4
- package/table/components/table-p13-dialog/filtering/filtering.component.d.ts +1 -4
- package/table/components/table-p13-dialog/grouping/grouping.component.d.ts +1 -4
- package/table/components/table-p13-dialog/sorting/sorting.component.d.ts +1 -4
- package/table/components/table-row/table-row.component.d.ts +2 -2
- package/table/components/table-toolbar/table-toolbar.component.d.ts +20 -7
- package/table/components/table-view-settings-dialog/filtering/filters.component.d.ts +1 -4
- package/table/components/table-view-settings-dialog/grouping/grouping.component.d.ts +1 -4
- package/table/components/table-view-settings-dialog/sorting/sorting.component.d.ts +1 -4
- package/table/table.component.d.ts +4 -18
- package/table-helpers/directives/table-cell-header-popover.directive.d.ts +2 -3
- package/table-helpers/directives/table-cell-resizable.directive.d.ts +1 -1
- package/table-helpers/directives/table-data-source.directive.d.ts +1 -1
- package/table-helpers/services/table-column-resize.service.d.ts +2 -2
- package/table-helpers/services/table-responsive.service.d.ts +3 -5
- package/table-helpers/services/table.service.d.ts +12 -10
- package/value-help-dialog/value-help-dialog/value-help-dialog.component.d.ts +2 -1
- package/wizard-generator/base-wizard-generator.d.ts +4 -8
- package/wizard-generator/components/wizard-body/wizard-body.component.d.ts +3 -7
- package/wizard-generator/components/wizard-generator-step/wizard-generator-step.component.d.ts +1 -1
- package/esm2022/search-field/search-field-mobile/search-field-mobile.module.mjs +0 -16
- package/fundamental-ngx-platform-v0.48.0-rc.21.tgz +0 -0
- package/search-field/search-field-mobile/search-field-mobile.module.d.ts +0 -7
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
3
3
|
import { DialogService } from '@fundamental-ngx/core/dialog';
|
|
4
4
|
import { MobileModeBase, MobileModeConfigToken } from '@fundamental-ngx/core/mobile-mode';
|
|
5
5
|
import { ComboboxInterface } from '../../combobox.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ComboboxMobileComponent extends MobileModeBase<ComboboxInterface> implements OnInit
|
|
7
|
+
export declare class ComboboxMobileComponent extends MobileModeBase<ComboboxInterface> implements OnInit {
|
|
8
8
|
/** @hidden */
|
|
9
9
|
dialogTemplate: TemplateRef<any>;
|
|
10
10
|
/** @hidden
|
|
@@ -23,8 +23,6 @@ export declare class ComboboxMobileComponent extends MobileModeBase<ComboboxInte
|
|
|
23
23
|
/** @hidden */
|
|
24
24
|
ngOnInit(): void;
|
|
25
25
|
/** @hidden */
|
|
26
|
-
ngOnDestroy(): void;
|
|
27
|
-
/** @hidden */
|
|
28
26
|
handleDismiss(): void;
|
|
29
27
|
/** @hidden */
|
|
30
28
|
handleApprove(): void;
|
|
@@ -162,7 +162,7 @@ export declare class FormGeneratorComponent implements OnDestroy, OnChanges {
|
|
|
162
162
|
* @hidden
|
|
163
163
|
* An RxJS Subject that will kill the data stream upon component’s destruction (for unsubscribing)
|
|
164
164
|
*/
|
|
165
|
-
private readonly
|
|
165
|
+
private readonly _destroyRef;
|
|
166
166
|
/** @hidden */
|
|
167
167
|
private readonly _defaultHintOptions;
|
|
168
168
|
/** @hidden */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
|
3
3
|
import { BaseDynamicFormGeneratorControl } from './base-dynamic-form-generator-control';
|
|
4
4
|
import { DynamicFormControlGroup, DynamicFormGroupControl } from './dynamic-form-control';
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
/**
|
|
12
12
|
* @description Form generator service
|
|
13
13
|
*/
|
|
14
|
-
export declare class FormGeneratorService
|
|
14
|
+
export declare class FormGeneratorService {
|
|
15
15
|
private _fb;
|
|
16
16
|
private _componentsAccessor;
|
|
17
17
|
private _defaultItemConfig;
|
|
@@ -33,13 +33,9 @@ export declare class FormGeneratorService implements OnDestroy {
|
|
|
33
33
|
* @hidden
|
|
34
34
|
* An RxJS Subject that will kill the data stream upon component’s destruction (for unsubscribing)
|
|
35
35
|
*/
|
|
36
|
-
private readonly
|
|
36
|
+
private readonly _destroyRef;
|
|
37
37
|
/** @hidden */
|
|
38
38
|
constructor(_fb: FormBuilder, _componentsAccessor: FormGeneratorComponentsAccessorService, _defaultItemConfig: Partial<DynamicFormFieldItem>, _providedConfig: Partial<FormGeneratorConfig>);
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
39
|
/**
|
|
44
40
|
* @description Generates `FormGroup` class with the list of `DynamicFormControl` control classes
|
|
45
41
|
* defined in `formItems` argument.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, Signal, SimpleChanges, TemplateRef } from '@angular/core';
|
|
3
3
|
import { FormControl, FormGroup, ValidatorFn } from '@angular/forms';
|
|
4
4
|
import { FormFieldControl, FormStates } from '@fundamental-ngx/cdk/forms';
|
|
5
|
-
import {
|
|
5
|
+
import { Subject } from 'rxjs';
|
|
6
6
|
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
7
7
|
import { Column, ColumnLayout, FieldHintInput, FieldHintOptions, FormError, FormFieldErrorDirectiveContext, FormFieldGroup, FormGroupContainer, HintContent, PlatformFormField, PlatformFormFieldControl, ResponsiveBreakPointConfig, ResponsiveBreakpointsService } from '@fundamental-ngx/platform/shared';
|
|
8
8
|
import { HintLayoutConfig } from '../fdp-form.tokens';
|
|
@@ -119,7 +119,7 @@ export declare class FormFieldComponent implements PlatformFormField, AfterConte
|
|
|
119
119
|
/** Combined Error directives from field itself and parent form container. */
|
|
120
120
|
get errorDirectives(): FormError[];
|
|
121
121
|
/** @hidden */
|
|
122
|
-
isHorizontal$:
|
|
122
|
+
isHorizontal$: Signal<boolean | undefined>;
|
|
123
123
|
/**
|
|
124
124
|
* Child FormFieldControl
|
|
125
125
|
*/
|
|
@@ -146,6 +146,13 @@ export declare class FormFieldComponent implements PlatformFormField, AfterConte
|
|
|
146
146
|
*/
|
|
147
147
|
formControl: FormControl;
|
|
148
148
|
/** @hidden */
|
|
149
|
+
get _groupHost(): FormGroupContainer | FormFieldGroup;
|
|
150
|
+
/**
|
|
151
|
+
* Will be updated during onChanges and resize, resulting correct placement of the
|
|
152
|
+
* hint respecting passed configs and given breakpoint of screen.
|
|
153
|
+
*/
|
|
154
|
+
hintTarget?: string;
|
|
155
|
+
/** @hidden */
|
|
149
156
|
protected _columns: Column;
|
|
150
157
|
/** @hidden */
|
|
151
158
|
protected _editable: boolean;
|
|
@@ -154,8 +161,6 @@ export declare class FormFieldComponent implements PlatformFormField, AfterConte
|
|
|
154
161
|
/** @hidden */
|
|
155
162
|
protected _required: boolean;
|
|
156
163
|
/** @hidden */
|
|
157
|
-
protected _destroyed$: Subject<void>;
|
|
158
|
-
/** @hidden */
|
|
159
164
|
private _isColumnLayoutEnabled;
|
|
160
165
|
/** @hidden column number for different screen sizes */
|
|
161
166
|
private _xlColumnNumber;
|
|
@@ -200,19 +205,14 @@ export declare class FormFieldComponent implements PlatformFormField, AfterConte
|
|
|
200
205
|
/** @hidden */
|
|
201
206
|
private _needsInlineHelpPlaceSubscription?;
|
|
202
207
|
/** @hidden */
|
|
203
|
-
get _groupHost(): FormGroupContainer | FormFieldGroup;
|
|
204
|
-
/**
|
|
205
|
-
* Will be updated during onChanges and resize, resulting correct placement of the
|
|
206
|
-
* hint respecting passed configs and given breakpoint of screen.
|
|
207
|
-
*/
|
|
208
|
-
hintTarget?: string;
|
|
209
|
-
/** @hidden */
|
|
210
208
|
private _breakPointObserver;
|
|
211
209
|
/** @hidden */
|
|
212
210
|
private _formFieldLayoutService;
|
|
213
211
|
/** @hidden */
|
|
214
212
|
private readonly _defaultHintOptions;
|
|
215
213
|
/** @hidden */
|
|
214
|
+
private readonly _destroyRef;
|
|
215
|
+
/** @hidden */
|
|
216
216
|
constructor(_cd: ChangeDetectorRef, formGroupContainer: FormGroupContainer, formFieldGroup: FormFieldGroup, _defaultResponsiveBreakPointConfig: ResponsiveBreakPointConfig, _responsiveBreakpointsService: ResponsiveBreakpointsService, _providedHintOptions: FieldHintOptions, _hintLayoutConfig: HintLayoutConfig, _selfFormFieldLayoutService: FormFieldLayoutService, _parentFormFieldLayoutService: FormFieldLayoutService);
|
|
217
217
|
/**
|
|
218
218
|
* Sets initial values for label, field and gap columns
|
|
@@ -17,13 +17,12 @@
|
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
20
|
-
import { AfterContentInit, AfterViewInit,
|
|
21
|
-
import { AbstractControl,
|
|
22
|
-
import { Subject } from 'rxjs';
|
|
20
|
+
import { AfterContentInit, AfterViewInit, DestroyRef, EventEmitter, OnChanges, OnDestroy, OnInit, Provider, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
|
|
21
|
+
import { AbstractControl, FormGroup, NgForm } from '@angular/forms';
|
|
23
22
|
import { FormField } from '@fundamental-ngx/cdk/forms';
|
|
24
23
|
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
25
24
|
import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
|
|
26
|
-
import { ColumnLayout,
|
|
25
|
+
import { ColumnLayout, FormFieldGroup, FormGroupContainer, HintInput, HintOptions, PlatformFormField } from '@fundamental-ngx/platform/shared';
|
|
27
26
|
import { Field, FieldColumn, FieldGroup } from '../models/field.model';
|
|
28
27
|
import * as i0 from "@angular/core";
|
|
29
28
|
export declare const formGroupProvider: Provider;
|
|
@@ -105,11 +104,6 @@ type FormGroupField = (FormField | FormFieldGroup) & {
|
|
|
105
104
|
*
|
|
106
105
|
*/
|
|
107
106
|
export declare class FormGroupComponent implements FormGroupContainer, OnInit, AfterContentInit, AfterViewInit, OnDestroy, OnChanges {
|
|
108
|
-
private _cd;
|
|
109
|
-
private elementRef;
|
|
110
|
-
private formContainer;
|
|
111
|
-
readonly contentDensityObserver: ContentDensityObserver;
|
|
112
|
-
private _defaultHintOptions;
|
|
113
107
|
/** Id for the form group element */
|
|
114
108
|
id: string;
|
|
115
109
|
/** Name property to be set on a form. Will be used if `useForm` is set to true */
|
|
@@ -129,10 +123,6 @@ export declare class FormGroupComponent implements FormGroupContainer, OnInit, A
|
|
|
129
123
|
*/
|
|
130
124
|
set inlineColumnLayout(value: ColumnLayout);
|
|
131
125
|
get inlineColumnLayout(): ColumnLayout;
|
|
132
|
-
/** @hidden */
|
|
133
|
-
_inlineColumnLayoutClass: string;
|
|
134
|
-
/** @hidden */
|
|
135
|
-
private _inlineColumnLayout;
|
|
136
126
|
/**
|
|
137
127
|
* Defines label's column layout.
|
|
138
128
|
*/
|
|
@@ -186,8 +176,6 @@ export declare class FormGroupComponent implements FormGroupContainer, OnInit, A
|
|
|
186
176
|
nativeForm: NgForm;
|
|
187
177
|
/** @hidden */
|
|
188
178
|
i18Template: TemplateRef<any>;
|
|
189
|
-
/** @hidden */
|
|
190
|
-
private _errorDirectives;
|
|
191
179
|
/**
|
|
192
180
|
* @hidden
|
|
193
181
|
*
|
|
@@ -207,17 +195,8 @@ export declare class FormGroupComponent implements FormGroupContainer, OnInit, A
|
|
|
207
195
|
*
|
|
208
196
|
*/
|
|
209
197
|
protected formGroupChildren: QueryList<FormGroupField>;
|
|
210
|
-
/**
|
|
211
|
-
|
|
212
|
-
*
|
|
213
|
-
* List of direct FdpFormGroup's children.
|
|
214
|
-
*
|
|
215
|
-
* Since "formGroupChildren" uses "{ descendants: true }" option that means
|
|
216
|
-
* "formGroupChildren" will keep track of nested FdpFormGroup fields as well.
|
|
217
|
-
* This list relies on the injection mechanism so nested FdpFormGroup's fields/fieldGroups
|
|
218
|
-
* will be omitted
|
|
219
|
-
*/
|
|
220
|
-
private _formGroupDirectChildren;
|
|
198
|
+
/** @hidden */
|
|
199
|
+
private _errorDirectives;
|
|
221
200
|
/** @hidden */
|
|
222
201
|
xlColumnsNumber: number;
|
|
223
202
|
/** @hidden */
|
|
@@ -239,13 +218,38 @@ export declare class FormGroupComponent implements FormGroupContainer, OnInit, A
|
|
|
239
218
|
/** @hidden */
|
|
240
219
|
_hintOptions: Nullable<HintOptions>;
|
|
241
220
|
/** @hidden */
|
|
221
|
+
readonly contentDensityObserver: ContentDensityObserver;
|
|
222
|
+
/** @hidden */
|
|
223
|
+
_inlineColumnLayoutClass: string;
|
|
224
|
+
/** @hidden */
|
|
225
|
+
protected _destroyRef: DestroyRef;
|
|
226
|
+
/** @hidden */
|
|
227
|
+
private _inlineColumnLayout;
|
|
228
|
+
/** @hidden */
|
|
242
229
|
private _useForm;
|
|
230
|
+
/**
|
|
231
|
+
* @hidden
|
|
232
|
+
*
|
|
233
|
+
* List of direct FdpFormGroup's children.
|
|
234
|
+
*
|
|
235
|
+
* Since "formGroupChildren" uses "{ descendants: true }" option that means
|
|
236
|
+
* "formGroupChildren" will keep track of nested FdpFormGroup fields as well.
|
|
237
|
+
* This list relies on the injection mechanism so nested FdpFormGroup's fields/fieldGroups
|
|
238
|
+
* will be omitted
|
|
239
|
+
*/
|
|
240
|
+
private _formGroupDirectChildren;
|
|
241
|
+
/** @hidden */
|
|
242
|
+
private readonly _subscriptions;
|
|
243
|
+
/** @hidden */
|
|
244
|
+
private readonly _cd;
|
|
245
|
+
/** @hidden */
|
|
246
|
+
private readonly _elementRef;
|
|
243
247
|
/** @hidden */
|
|
244
|
-
|
|
248
|
+
private readonly _formContainer;
|
|
245
249
|
/** @hidden */
|
|
246
|
-
private
|
|
250
|
+
private readonly _defaultHintOptions;
|
|
247
251
|
/** @hidden */
|
|
248
|
-
constructor(
|
|
252
|
+
constructor();
|
|
249
253
|
/** @hidden */
|
|
250
254
|
ngOnChanges(changes: SimpleChanges): void;
|
|
251
255
|
/** @hidden */
|
|
@@ -322,7 +326,7 @@ export declare class FormGroupComponent implements FormGroupContainer, OnInit, A
|
|
|
322
326
|
* inside "FormField.renderer" template every time component's dimensions changed
|
|
323
327
|
*/
|
|
324
328
|
private _trackFormGroupResize;
|
|
325
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent,
|
|
326
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "fdp-form-group", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "noLabelLayout": { "alias": "noLabelLayout"; "required": false; }; "class": { "alias": "class"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "inlineColumnLayout": { "alias": "inlineColumnLayout"; "required": false; }; "labelColumnLayout": { "alias": "labelColumnLayout"; "required": false; }; "fieldColumnLayout": { "alias": "fieldColumnLayout"; "required": false; }; "gapColumnLayout": { "alias": "gapColumnLayout"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "topTitle": { "alias": "topTitle"; "required": false; }; "mainTitle": { "alias": "mainTitle"; "required": false; }; "hideMainTItle": { "alias": "hideMainTItle"; "required": false; }; "object": { "alias": "object"; "required": false; }; "i18Strings": { "alias": "i18Strings"; "required": false; }; "useForm": { "alias": "useForm"; "required": false; }; "columnLayout": { "alias": "columnLayout"; "required": false; }; "unifiedLayout": { "alias": "unifiedLayout"; "required": false; }; }, { "onSubmit": "onSubmit"; }, ["i18Template", "
|
|
329
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, never>;
|
|
330
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "fdp-form-group", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "noLabelLayout": { "alias": "noLabelLayout"; "required": false; }; "class": { "alias": "class"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "inlineColumnLayout": { "alias": "inlineColumnLayout"; "required": false; }; "labelColumnLayout": { "alias": "labelColumnLayout"; "required": false; }; "fieldColumnLayout": { "alias": "fieldColumnLayout"; "required": false; }; "gapColumnLayout": { "alias": "gapColumnLayout"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "topTitle": { "alias": "topTitle"; "required": false; }; "mainTitle": { "alias": "mainTitle"; "required": false; }; "hideMainTItle": { "alias": "hideMainTItle"; "required": false; }; "object": { "alias": "object"; "required": false; }; "i18Strings": { "alias": "i18Strings"; "required": false; }; "useForm": { "alias": "useForm"; "required": false; }; "columnLayout": { "alias": "columnLayout"; "required": false; }; "unifiedLayout": { "alias": "unifiedLayout"; "required": false; }; }, { "onSubmit": "onSubmit"; }, ["i18Template", "formGroupChildren", "_errorDirectives"], ["fdp-form-group"], true, never>;
|
|
327
331
|
}
|
|
328
332
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, OnChanges, OnDestroy, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ControlContainer, NgControl, NgForm } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
4
|
import { ContentDensity, FocusEscapeDirection, RangeSelector, TemplateDirective } from '@fundamental-ngx/cdk/utils';
|
|
5
5
|
import { DialogConfig } from '@fundamental-ngx/core/dialog';
|
|
6
6
|
import { ListComponent } from '@fundamental-ngx/core/list';
|
|
@@ -166,7 +166,7 @@ export declare abstract class BaseMultiCombobox extends CollectionBaseInput impl
|
|
|
166
166
|
*/
|
|
167
167
|
openChange: Subject<boolean>;
|
|
168
168
|
/** @hidden */
|
|
169
|
-
selectedShown$:
|
|
169
|
+
selectedShown$: import("@angular/core").WritableSignal<boolean>;
|
|
170
170
|
/** @hidden */
|
|
171
171
|
protected _dataSource: FdpMultiComboboxDataSource<any>;
|
|
172
172
|
/** @hidden */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
3
3
|
import { DialogService } from '@fundamental-ngx/core/dialog';
|
|
4
4
|
import { MobileModeBase, MobileModeConfigToken } from '@fundamental-ngx/core/mobile-mode';
|
|
5
5
|
import { MultiComboboxInterface } from '../../multi-combobox.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MultiComboboxMobileComponent extends MobileModeBase<MultiComboboxInterface> implements OnInit
|
|
7
|
+
export declare class MultiComboboxMobileComponent extends MobileModeBase<MultiComboboxInterface> implements OnInit {
|
|
8
8
|
/** @hidden */
|
|
9
9
|
dialogTemplate: TemplateRef<any>;
|
|
10
10
|
/** @hidden
|
|
@@ -17,7 +17,7 @@ export declare class MultiComboboxMobileComponent extends MobileModeBase<MultiCo
|
|
|
17
17
|
controlTemplate: TemplateRef<any>;
|
|
18
18
|
}>;
|
|
19
19
|
/** @hidden */
|
|
20
|
-
selectedShown$: import("
|
|
20
|
+
selectedShown$: import("@angular/core").WritableSignal<boolean>;
|
|
21
21
|
/** @hidden */
|
|
22
22
|
private _selectedBackup;
|
|
23
23
|
/** @hidden */
|
|
@@ -25,8 +25,6 @@ export declare class MultiComboboxMobileComponent extends MobileModeBase<MultiCo
|
|
|
25
25
|
/** @hidden */
|
|
26
26
|
ngOnInit(): void;
|
|
27
27
|
/** @hidden */
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
/** @hidden */
|
|
30
28
|
showSelected(): void;
|
|
31
29
|
/** @hidden */
|
|
32
30
|
handleDismiss(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { InjectionToken, WritableSignal } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
3
|
import { MobileMode } from '@fundamental-ngx/core/mobile-mode';
|
|
4
4
|
import { SelectableOptionItem } from '@fundamental-ngx/platform/shared';
|
|
5
5
|
export declare const MULTICOMBOBOX_COMPONENT: InjectionToken<string[]>;
|
|
@@ -10,7 +10,7 @@ export declare const MULTICOMBOBOX_COMPONENT: InjectionToken<string[]>;
|
|
|
10
10
|
export interface MultiComboboxInterface extends MobileMode {
|
|
11
11
|
_suggestions: SelectableOptionItem[];
|
|
12
12
|
_selectedSuggestions: SelectableOptionItem[];
|
|
13
|
-
selectedShown$:
|
|
13
|
+
selectedShown$: WritableSignal<boolean>;
|
|
14
14
|
openChange: Subject<boolean>;
|
|
15
15
|
moreClicked(): void;
|
|
16
16
|
dialogApprove(): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
3
3
|
import { DialogService } from '@fundamental-ngx/core/dialog';
|
|
4
4
|
import { MobileModeBase, MobileModeConfigToken } from '@fundamental-ngx/core/mobile-mode';
|
|
5
5
|
import { PlatformMultiInputInterface } from '../multi-input.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class PlatformMultiInputMobileComponent extends MobileModeBase<PlatformMultiInputInterface> implements OnInit
|
|
7
|
+
export declare class PlatformMultiInputMobileComponent extends MobileModeBase<PlatformMultiInputInterface> implements OnInit {
|
|
8
8
|
/** @hidden */
|
|
9
9
|
dialogTemplate: TemplateRef<any>;
|
|
10
10
|
/** @hidden
|
|
@@ -23,8 +23,6 @@ export declare class PlatformMultiInputMobileComponent extends MobileModeBase<Pl
|
|
|
23
23
|
/** @hidden */
|
|
24
24
|
ngOnInit(): void;
|
|
25
25
|
/** @hidden */
|
|
26
|
-
ngOnDestroy(): void;
|
|
27
|
-
/** @hidden */
|
|
28
26
|
_handleApprove(): void;
|
|
29
27
|
/** @hidden */
|
|
30
28
|
_handleDismiss(): void;
|
|
@@ -28,11 +28,13 @@ export declare class RadioGroupComponent extends InLineLayoutCollectionBaseInput
|
|
|
28
28
|
/** @hidden The currently selected radio button. Should match value. */
|
|
29
29
|
private _selected;
|
|
30
30
|
/** @hidden */
|
|
31
|
-
private
|
|
31
|
+
private readonly _destroyRef;
|
|
32
32
|
/** @hidden FocusKeyManager instance */
|
|
33
33
|
private _keyboardEventsManager;
|
|
34
34
|
/** @hidden */
|
|
35
35
|
constructor(_cd: ChangeDetectorRef, elementRef: ElementRef, _responsiveBreakpointsService: ResponsiveBreakpointsService, ngControl: NgControl, controlContainer: ControlContainer, ngForm: NgForm, formField: PlatformFormField, formControl: PlatformFormFieldControl, _defaultResponsiveBreakPointConfig: ResponsiveBreakPointConfig);
|
|
36
|
+
/** @hidden */
|
|
37
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
36
38
|
/** Control Value Accessor */
|
|
37
39
|
writeValue(value: any): void;
|
|
38
40
|
/** Access display value for objects, acts as checkbox label. */
|
|
@@ -55,8 +57,6 @@ export declare class RadioGroupComponent extends InLineLayoutCollectionBaseInput
|
|
|
55
57
|
/** @hidden */
|
|
56
58
|
_getListItemDisabledValue(item: RadioGroupComponent['list'][number]): boolean;
|
|
57
59
|
/** @hidden */
|
|
58
|
-
_handleKeydown(event: KeyboardEvent): void;
|
|
59
|
-
/** @hidden */
|
|
60
60
|
private _initialSetup;
|
|
61
61
|
/**
|
|
62
62
|
* @hidden
|
|
@@ -59,7 +59,8 @@ export declare abstract class StepInputComponent extends BaseInput implements On
|
|
|
59
59
|
/** Hides -/+ icons and shows labels */
|
|
60
60
|
showLabels: boolean;
|
|
61
61
|
/** Horizontally aligns value inside input */
|
|
62
|
-
set align(align: StepInputAlign);
|
|
62
|
+
set align(align: StepInputAlign | null);
|
|
63
|
+
get align(): StepInputAlign | null;
|
|
63
64
|
/**
|
|
64
65
|
* ARIA label for increment button
|
|
65
66
|
*/
|
|
@@ -85,7 +86,9 @@ export declare abstract class StepInputComponent extends BaseInput implements On
|
|
|
85
86
|
/** @hidden */
|
|
86
87
|
_contentDensity: ContentDensity;
|
|
87
88
|
/** @hidden */
|
|
88
|
-
_align
|
|
89
|
+
readonly _align$: import("@angular/core").WritableSignal<StepInputAlign | null>;
|
|
90
|
+
/** @hidden */
|
|
91
|
+
readonly _textAlign$: import("@angular/core").Signal<StepInputAlign | null>;
|
|
89
92
|
/** @hidden */
|
|
90
93
|
private _max;
|
|
91
94
|
/** @hidden */
|
|
@@ -97,8 +100,6 @@ export declare abstract class StepInputComponent extends BaseInput implements On
|
|
|
97
100
|
/** @hidden */
|
|
98
101
|
private _precision;
|
|
99
102
|
/** @hidden */
|
|
100
|
-
private _align$;
|
|
101
|
-
/** @hidden */
|
|
102
103
|
private _pendingEnteredValue;
|
|
103
104
|
/** @hidden */
|
|
104
105
|
private get _currentValue();
|
|
@@ -145,8 +146,6 @@ export declare abstract class StepInputComponent extends BaseInput implements On
|
|
|
145
146
|
/** @hidden */
|
|
146
147
|
private _listenToFormErrorState;
|
|
147
148
|
/** @hidden */
|
|
148
|
-
private _listenToAlign;
|
|
149
|
-
/** @hidden */
|
|
150
149
|
private _emitChangedValue;
|
|
151
150
|
/** @hidden */
|
|
152
151
|
private _getStepValueForIncrease;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
1
|
+
import { DestroyRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* This is a base step input directive to be used for increase/decrease buttons.
|
|
6
5
|
*/
|
|
7
|
-
export declare abstract class StepInputActionButton
|
|
8
|
-
/** @hidden */
|
|
9
|
-
protected _destroyed: Subject<void>;
|
|
6
|
+
export declare abstract class StepInputActionButton {
|
|
10
7
|
/**
|
|
11
8
|
* @hidden
|
|
12
9
|
* Indicates if action can be handled
|
|
@@ -17,8 +14,8 @@ export declare abstract class StepInputActionButton implements OnDestroy {
|
|
|
17
14
|
* Step input button action handler
|
|
18
15
|
*/
|
|
19
16
|
abstract runAction(): void;
|
|
20
|
-
/** @hidden
|
|
21
|
-
|
|
17
|
+
/** @hidden */
|
|
18
|
+
protected _destroyed: DestroyRef;
|
|
22
19
|
/** @hidden */
|
|
23
20
|
click(): void;
|
|
24
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepInputActionButton, never>;
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ElementRef, EventEmitter
|
|
1
|
+
import { Point } from '@angular/cdk/drag-drop';
|
|
2
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
3
3
|
import { IconTabBarDndItem, IconTabBarDndList, IconTabBarItem } from '../../interfaces/icon-tab-bar-item.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export interface FdDnDEvent {
|
|
@@ -7,9 +7,8 @@ export interface FdDnDEvent {
|
|
|
7
7
|
targetItem: IconTabBarItem;
|
|
8
8
|
action: 'replace' | 'insert';
|
|
9
9
|
}
|
|
10
|
-
export declare class IconBarDndContainerDirective
|
|
10
|
+
export declare class IconBarDndContainerDirective {
|
|
11
11
|
elementRef: ElementRef;
|
|
12
|
-
private _dragDrop;
|
|
13
12
|
/**
|
|
14
13
|
* @description Defines if drag and drop feature should be enabled for list items
|
|
15
14
|
*/
|
|
@@ -35,11 +34,9 @@ export declare class IconBarDndContainerDirective implements OnDestroy {
|
|
|
35
34
|
/** @hidden */
|
|
36
35
|
private _draggable;
|
|
37
36
|
/** @hidden */
|
|
38
|
-
private readonly
|
|
37
|
+
private readonly _destroyRef;
|
|
39
38
|
/** @hidden */
|
|
40
|
-
constructor(elementRef: ElementRef
|
|
41
|
-
/** @hidden */
|
|
42
|
-
ngOnDestroy(): void;
|
|
39
|
+
constructor(elementRef: ElementRef);
|
|
43
40
|
/**
|
|
44
41
|
* @description Method called, when element is started to be dragged
|
|
45
42
|
*/
|
|
@@ -46,7 +46,7 @@ export declare class IconBarDndItemDirective implements IconTabBarDndItem, After
|
|
|
46
46
|
*/
|
|
47
47
|
dragRef: DragRef;
|
|
48
48
|
/** @hidden */
|
|
49
|
-
private readonly
|
|
49
|
+
private readonly _destroyRef;
|
|
50
50
|
/** @hidden */
|
|
51
51
|
constructor(elementRef: ElementRef, _dragDrop: DragDrop, _dndListDir: IconBarDndListDirective, _dndContainerDir: IconBarDndContainerDirective);
|
|
52
52
|
/** @hidden */
|
|
@@ -18,7 +18,7 @@ export declare class IconBarDndListDirective implements IconTabBarDndList, After
|
|
|
18
18
|
/** @hidden */
|
|
19
19
|
private _dropListRef;
|
|
20
20
|
/** @hidden */
|
|
21
|
-
private readonly
|
|
21
|
+
private readonly _destroyRef;
|
|
22
22
|
/** @hidden */
|
|
23
23
|
private _dragRefItems;
|
|
24
24
|
/** @hidden */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter,
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ContentDensityService, RtlService } from '@fundamental-ngx/cdk/utils';
|
|
3
3
|
import { IconFont } from '@fundamental-ngx/core/icon';
|
|
4
4
|
import { IconTabBarItem } from './interfaces/icon-tab-bar-item.interface';
|
|
@@ -6,7 +6,7 @@ import { TabColorAssociations } from './interfaces/tab-color-associations.interf
|
|
|
6
6
|
import { TabConfig } from './interfaces/tab-config.interface';
|
|
7
7
|
import { IconTabBarBackground, IconTabBarSize, TabDestinyMode, TabType } from './types';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class IconTabBarComponent implements OnInit
|
|
9
|
+
export declare class IconTabBarComponent implements OnInit {
|
|
10
10
|
private _cd;
|
|
11
11
|
private _contentDensityService;
|
|
12
12
|
private _rtlService;
|
|
@@ -64,15 +64,13 @@ export declare class IconTabBarComponent implements OnInit, OnDestroy {
|
|
|
64
64
|
/** @hidden */
|
|
65
65
|
_cssClassForContainer: string[];
|
|
66
66
|
/** @hidden */
|
|
67
|
-
|
|
67
|
+
readonly _rtl$: import("@angular/core").Signal<boolean>;
|
|
68
68
|
/** @hidden */
|
|
69
|
-
private
|
|
69
|
+
private _destroyRef;
|
|
70
70
|
/** @hidden */
|
|
71
71
|
constructor(_cd: ChangeDetectorRef, _contentDensityService: ContentDensityService, _rtlService: RtlService);
|
|
72
72
|
/** @hidden */
|
|
73
73
|
ngOnInit(): void;
|
|
74
|
-
/** @hidden */
|
|
75
|
-
ngOnDestroy(): void;
|
|
76
74
|
/**
|
|
77
75
|
* @hidden
|
|
78
76
|
* @param event reordered array of IconTabBarItem
|
package/list/list.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FocusKeyManager, LiveAnnouncer } from '@angular/cdk/a11y';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
3
3
|
import { ControlContainer, NgControl, NgForm } from '@angular/forms';
|
|
4
|
-
import { Observable
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
5
|
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
6
6
|
import { ListUnreadIndicator } from '@fundamental-ngx/core/list';
|
|
7
7
|
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
@@ -123,8 +123,6 @@ export declare class ListComponent<T> extends CollectionBaseInput implements Lis
|
|
|
123
123
|
/** @hidden */
|
|
124
124
|
_items: T[];
|
|
125
125
|
/** @hidden */
|
|
126
|
-
_destroyed: Subject<void>;
|
|
127
|
-
/** @hidden */
|
|
128
126
|
_ariaSetSize: Observable<number>;
|
|
129
127
|
/** @hidden */
|
|
130
128
|
protected _dataSource: ListDataSource<T>;
|
|
@@ -26,12 +26,10 @@ export declare class MessagePopoverFormWrapperComponent implements MessagePopove
|
|
|
26
26
|
/** User-passed form fields. */
|
|
27
27
|
set formFields(value: PlatformFormFieldControl[]);
|
|
28
28
|
get formFields(): PlatformFormFieldControl[];
|
|
29
|
-
/** @hidden */
|
|
30
|
-
private readonly _errors$;
|
|
31
29
|
/**
|
|
32
|
-
* Error models
|
|
30
|
+
* Error models Signal. Emitted when form submitted and contains invalid fields.
|
|
33
31
|
*/
|
|
34
|
-
errors
|
|
32
|
+
readonly errors$: import("@angular/core").WritableSignal<MessagePopoverErrorGroup[]>;
|
|
35
33
|
/** @hidden */
|
|
36
34
|
private _formFields;
|
|
37
35
|
/** @hidden */
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormStates } from '@fundamental-ngx/cdk/forms';
|
|
1
|
+
import { EventEmitter, WritableSignal } from '@angular/core';
|
|
3
2
|
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
4
3
|
import { PopoverComponent } from '@fundamental-ngx/core/popover';
|
|
5
4
|
import { MessagePopoverEntry, MessagePopoverError, MessagePopoverErrorGroup } from './models/message-popover-entry.interface';
|
|
6
5
|
import { MessagePopoverWrapper } from './models/message-popover-wrapper.interface';
|
|
7
6
|
import { MessagePopover, MessagePopoverState } from './models/message-popover.interface';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class MessagePopoverComponent implements MessagePopover
|
|
10
|
-
private readonly _cdr;
|
|
11
|
-
private readonly _destroyRef;
|
|
8
|
+
export declare class MessagePopoverComponent implements MessagePopover {
|
|
12
9
|
/** @hidden */
|
|
13
10
|
readonly _popover: PopoverComponent;
|
|
14
11
|
/** Message Popover Wrapper component. */
|
|
15
|
-
wrapper: MessagePopoverWrapper;
|
|
12
|
+
set wrapper(value: Nullable<MessagePopoverWrapper>);
|
|
13
|
+
get wrapper(): Nullable<MessagePopoverWrapper>;
|
|
16
14
|
/** Event emits when user clicks on error entry and item's element needs to be focused. */
|
|
17
15
|
focusItem: EventEmitter<MessagePopoverEntry>;
|
|
18
16
|
/** Current message popover screen. Can be `list` or `details`. */
|
|
@@ -20,31 +18,26 @@ export declare class MessagePopoverComponent implements MessagePopover, OnInit {
|
|
|
20
18
|
/** Current error entry. */
|
|
21
19
|
currentEntry: Nullable<MessagePopoverEntry>;
|
|
22
20
|
/** @hidden */
|
|
23
|
-
_currentErrorType
|
|
21
|
+
_currentErrorType$: WritableSignal<MessagePopoverError['group']>;
|
|
24
22
|
/** @hidden */
|
|
25
|
-
_errorTypes
|
|
23
|
+
_errorTypes$: import("@angular/core").Signal<MessagePopoverError[]>;
|
|
26
24
|
/** @hidden */
|
|
27
|
-
_priorityStateItemsCount
|
|
25
|
+
_priorityStateItemsCount$: import("@angular/core").Signal<number>;
|
|
28
26
|
/** @hidden */
|
|
29
|
-
_priorityFormState
|
|
27
|
+
_priorityFormState$: import("@angular/core").Signal<"success" | "error" | "warning" | "default" | "information">;
|
|
30
28
|
/** @hidden */
|
|
31
|
-
_priorityState
|
|
29
|
+
_priorityState$: import("@angular/core").Signal<Nullable<MessagePopoverState>>;
|
|
32
30
|
/** @hidden */
|
|
33
|
-
_filteredErrors
|
|
34
|
-
|
|
35
|
-
private
|
|
36
|
-
|
|
37
|
-
constructor(_cdr: ChangeDetectorRef, _destroyRef: DestroyRef);
|
|
38
|
-
/** @hidden */
|
|
39
|
-
ngOnInit(): void;
|
|
31
|
+
readonly _filteredErrors$: import("@angular/core").Signal<MessagePopoverErrorGroup[]>;
|
|
32
|
+
private readonly _groupedErrors$;
|
|
33
|
+
private readonly _wrapper$;
|
|
34
|
+
private readonly _countedErrors$;
|
|
40
35
|
/** @hidden */
|
|
41
36
|
_showList(): void;
|
|
42
37
|
/** @hidden */
|
|
43
38
|
_showDetails(entry: MessagePopoverEntry): void;
|
|
44
39
|
/** @hidden */
|
|
45
40
|
_closePopover(focusLast?: boolean): void;
|
|
46
|
-
/** @hidden */
|
|
47
|
-
_filterErrors(): void;
|
|
48
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessagePopoverComponent, never>;
|
|
49
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<MessagePopoverComponent, "fdp-message-popover", never, { "wrapper": { "alias": "wrapper"; "required": false; }; }, { "focusItem": "focusItem"; }, never, never, true, never>;
|
|
50
43
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
1
2
|
import { PlatformFormFieldControl } from '@fundamental-ngx/platform/shared';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
3
|
import { MessagePopoverErrorGroup } from './message-popover-entry.interface';
|
|
4
4
|
import { MessagePopover } from './message-popover.interface';
|
|
5
5
|
export interface MessagePopoverWrapper {
|
|
6
6
|
formFields: PlatformFormFieldControl[];
|
|
7
|
-
errors
|
|
7
|
+
errors$: Signal<MessagePopoverErrorGroup[]>;
|
|
8
8
|
setMessagePopover: (messagePopover: MessagePopover) => void;
|
|
9
9
|
}
|