@fundamental-ngx/platform 0.58.0-rc.68 → 0.58.0-rc.69
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-platform-approval-flow.mjs +7 -8
- package/fesm2022/fundamental-ngx-platform-approval-flow.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-form.mjs +4 -5
- package/fesm2022/fundamental-ngx-platform-form.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs +4 -5
- package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-list.mjs +1 -3
- package/fesm2022/fundamental-ngx-platform-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-message-popover.mjs +1 -2
- package/fesm2022/fundamental-ngx-platform-message-popover.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-settings-generator.mjs +1 -2
- package/fesm2022/fundamental-ngx-platform-settings-generator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-table-helpers.mjs +2 -3
- package/fesm2022/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-table.mjs +1 -2
- package/fesm2022/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs +1 -3
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-variant-management.mjs +1 -2
- package/fesm2022/fundamental-ngx-platform-variant-management.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs +3 -4
- package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs.map +1 -1
- package/package.json +8 -8
|
@@ -6,7 +6,8 @@ import * as i1 from '@fundamental-ngx/platform/shared';
|
|
|
6
6
|
import { ColumnLayoutGridClass, ResponsiveBreakPointConfig, RESPONSIVE_BREAKPOINTS_CONFIG, BaseInput, InLineLayoutCollectionBaseInput, coerceArraySafe, MatchingStrategy, CollectionBaseInput, isOptionItem, isJsObject, isFunction, isDataSource, ArrayMultiInputDataSource, ObservableMultiInputDataSource, isString, MultiInputDataSource, DATA_PROVIDERS, FormFieldGroup, FormGroupContainer, ArrayComboBoxDataSource, ObservableComboBoxDataSource, ComboBoxDataSource, FDP_DO_CHECK, FDP_FORM_SUBMIT, ArrayMultiComboBoxDataSource, ObservableMultiComboBoxDataSource, isSelectableOptionItem, MultiComboBoxDataSource } from '@fundamental-ngx/platform/shared';
|
|
7
7
|
import * as i1$1 from '@angular/forms';
|
|
8
8
|
import { Validators, FormControl, FormGroup, FormsModule, ReactiveFormsModule, ControlContainer, NgForm, NgControl, FormGroupDirective } from '@angular/forms';
|
|
9
|
-
import
|
|
9
|
+
import * as i2 from '@fundamental-ngx/cdk/utils';
|
|
10
|
+
import { uniqBy, RangeSelector, KeyUtil, TemplateDirective, InitialFocusDirective, DisplayFnPipe, warnOnce, DynamicComponentService, merge as merge$1, cloneDeep, isFunction as isFunction$1, selectStrategy, resizeObservable, SearchHighlightPipe, destroyObservable, RtlService, OnlyDigitsDirective } from '@fundamental-ngx/cdk/utils';
|
|
10
11
|
import * as i2$2 from 'rxjs';
|
|
11
12
|
import { Subject, BehaviorSubject, combineLatest, filter, tap, Subscription, isObservable, fromEvent, merge, of, timer, interval } from 'rxjs';
|
|
12
13
|
import { distinctUntilChanged, map, switchMap, startWith, debounceTime, tap as tap$1, filter as filter$1, take, takeUntil, skip } from 'rxjs/operators';
|
|
@@ -21,8 +22,6 @@ import { PopoverComponent, PopoverControlComponent, PopoverBodyComponent } from
|
|
|
21
22
|
import { GRID_COLUMNS_NUMBER } from '@fundamental-ngx/core/layout-grid';
|
|
22
23
|
import * as i2$1 from '@fundamental-ngx/core/content-density';
|
|
23
24
|
import { ContentDensityModule, contentDensityObserverProviders, CONTENT_DENSITY_DIRECTIVE, ContentDensityGlobalKeyword, ContentDensityObserver } from '@fundamental-ngx/core/content-density';
|
|
24
|
-
import * as i2 from '@fundamental-ngx/cdk/utils';
|
|
25
|
-
import { RangeSelector, KeyUtil, TemplateDirective, InitialFocusDirective, DisplayFnPipe, warnOnce, DynamicComponentService, isFunction as isFunction$1, selectStrategy, resizeObservable, SearchHighlightPipe, destroyObservable, RtlService, OnlyDigitsDirective } from '@fundamental-ngx/cdk/utils';
|
|
26
25
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
27
26
|
import { CheckboxComponent as CheckboxComponent$1 } from '@fundamental-ngx/core/checkbox';
|
|
28
27
|
import { FdCalendarViewEnum } from '@fundamental-ngx/core/calendar';
|
|
@@ -4589,7 +4588,7 @@ class FormGeneratorService {
|
|
|
4589
4588
|
*/
|
|
4590
4589
|
async getFormValue(form, renderValue = false) {
|
|
4591
4590
|
await this._triggerFieldsOnchange(form);
|
|
4592
|
-
const formValue =
|
|
4591
|
+
const formValue = structuredClone(form.value);
|
|
4593
4592
|
for (const [i, control] of Object.entries(form.controls)) {
|
|
4594
4593
|
const formItem = control.formItem;
|
|
4595
4594
|
if (!isFormFieldItem(formItem)) {
|
|
@@ -4652,7 +4651,7 @@ class FormGeneratorService {
|
|
|
4652
4651
|
* @returns `Set` where key is item name, and boolean value if field needs to be shown.
|
|
4653
4652
|
*/
|
|
4654
4653
|
async checkVisibleFormItems(form) {
|
|
4655
|
-
const formValue = this._getFormValueWithoutUngrouped(
|
|
4654
|
+
const formValue = this._getFormValueWithoutUngrouped(structuredClone(form.value));
|
|
4656
4655
|
return await this._checkFormControlsVisibility(form, formValue);
|
|
4657
4656
|
}
|
|
4658
4657
|
/**
|