@fundamental-ngx/platform 0.44.0-rc.6 → 0.44.0
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/action-bar/action-bar.component.mjs +3 -3
- package/esm2022/button/button.component.mjs +4 -3
- package/esm2022/dynamic-page/dynamic-page-header/header/dynamic-page-header.component.mjs +3 -2
- package/esm2022/feed-input/feed-input.component.mjs +3 -2
- package/esm2022/form/checkbox/checkbox.component.mjs +6 -5
- package/esm2022/form/checkbox-group/checkbox-group.component.mjs +3 -3
- package/esm2022/form/date-picker/date-picker.component.mjs +7 -6
- package/esm2022/form/datetime-picker/datetime-picker.component.mjs +6 -5
- package/esm2022/form/form-generator/form-generator/form-generator.component.mjs +3 -2
- package/esm2022/form/form-group/form-field/form-field.component.mjs +4 -3
- package/esm2022/form/form-group/form-group.component.mjs +3 -3
- package/esm2022/form/multi-combobox/multi-combobox/multi-combobox.component.mjs +3 -3
- package/esm2022/form/platform-file-uploader/platform-file-uploader.component.mjs +4 -3
- package/esm2022/form/radio-group/radio/radio.component.mjs +4 -3
- package/esm2022/form/select/commons/base-select.mjs +3 -3
- package/esm2022/form/select/select/select.component.mjs +4 -4
- package/esm2022/form/text-area/text-area.component.mjs +4 -4
- package/esm2022/form/time-picker/time-picker.component.mjs +3 -2
- package/esm2022/list/base-list-item.mjs +5 -5
- package/esm2022/page-footer/page-footer.component.mjs +3 -2
- package/esm2022/search-field/search-field.component.mjs +4 -4
- package/esm2022/smart-filter-bar/smart-filter-bar.component.mjs +7 -6
- package/esm2022/thumbnail/thumbnail-details/thumbnail-details.component.mjs +3 -2
- package/esm2022/thumbnail/thumbnail-image/thumbnail-image.component.mjs +3 -3
- package/esm2022/thumbnail/thumbnail.component.mjs +3 -3
- package/esm2022/upload-collection/upload-collection/upload-collection.component.mjs +5 -5
- package/esm2022/value-help-dialog/components/define-tab/define-tab.component.mjs +4 -3
- package/esm2022/value-help-dialog/components/select-tab/select-tab.component.mjs +3 -2
- package/esm2022/value-help-dialog/components/value-help-dialog-search/value-help-dialog-search.component.mjs +3 -2
- package/esm2022/value-help-dialog/value-help-dialog/value-help-dialog.component.mjs +5 -5
- package/fesm2022/fundamental-ngx-platform-action-bar.mjs +2 -2
- package/fesm2022/fundamental-ngx-platform-action-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-button.mjs +3 -3
- package/fesm2022/fundamental-ngx-platform-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-dynamic-page.mjs +2 -1
- package/fesm2022/fundamental-ngx-platform-dynamic-page.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-feed-input.mjs +2 -1
- package/fesm2022/fundamental-ngx-platform-feed-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-form.mjs +31 -30
- package/fesm2022/fundamental-ngx-platform-form.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-list.mjs +4 -4
- package/fesm2022/fundamental-ngx-platform-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-page-footer.mjs +2 -1
- package/fesm2022/fundamental-ngx-platform-page-footer.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-search-field.mjs +3 -3
- package/fesm2022/fundamental-ngx-platform-search-field.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs +7 -7
- package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-thumbnail.mjs +4 -4
- package/fesm2022/fundamental-ngx-platform-thumbnail.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-upload-collection.mjs +11 -10
- package/fesm2022/fundamental-ngx-platform-upload-collection.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs +9 -8
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fundamental-ngx-platform-v0.44.0.tgz +0 -0
- package/package.json +4 -4
- package/schematics/ng-add/index.js +1 -1
- package/fundamental-ngx-platform-v0.44.0-rc.6.tgz +0 -0
|
@@ -8,6 +8,7 @@ import { uniqBy, merge as merge$1, cloneDeep } from 'lodash-es';
|
|
|
8
8
|
import * as i14 from 'rxjs';
|
|
9
9
|
import { Subject, BehaviorSubject, tap, combineLatest, filter, Subscription, merge, fromEvent, isObservable, firstValueFrom, of, timer, interval } from 'rxjs';
|
|
10
10
|
import { distinctUntilChanged, map, takeUntil, switchMap, startWith, debounceTime, filter as filter$1, take, skip } from 'rxjs/operators';
|
|
11
|
+
import { warnOnce } from '@fundamental-ngx/core/utils';
|
|
11
12
|
import * as i1 from '@fundamental-ngx/platform/shared';
|
|
12
13
|
import { ColumnLayoutGridClass, ResponsiveBreakPointConfig, RESPONSIVE_BREAKPOINTS_CONFIG, FormFieldGroup, BaseInput, InLineLayoutCollectionBaseInput, coerceArraySafe, CollectionBaseInput, isOptionItem, isJsObject, isString, MatchingStrategy, isFunction, isDataSource, ArrayMultiInputDataSource, ObservableMultiInputDataSource, MultiInputDataSource, DATA_PROVIDERS, PlatformContentDensityDeprecationsModule, ArrayComboBoxDataSource, ObservableComboBoxDataSource, ComboBoxDataSource, FormGroupContainer, ArrayMultiComboBoxDataSource, ObservableMultiComboBoxDataSource, isSelectableOptionItem, MultiComboBoxDataSource } from '@fundamental-ngx/platform/shared';
|
|
13
14
|
import * as i4 from '@fundamental-ngx/core/form';
|
|
@@ -24,7 +25,7 @@ import { IconModule } from '@fundamental-ngx/core/icon';
|
|
|
24
25
|
import * as i7 from '@fundamental-ngx/core/link';
|
|
25
26
|
import { LinkModule } from '@fundamental-ngx/core/link';
|
|
26
27
|
import * as i3$2 from '@fundamental-ngx/cdk/utils';
|
|
27
|
-
import { RangeSelector, KeyUtil, TemplateDirective, isFunction as isFunction$1, selectStrategy, PipeModule, TemplateModule, DynamicComponentService, resizeObservable, InitialFocusModule, OnlyDigitsModule } from '@fundamental-ngx/cdk/utils';
|
|
28
|
+
import { warnOnce as warnOnce$1, RangeSelector, KeyUtil, TemplateDirective, isFunction as isFunction$1, selectStrategy, PipeModule, TemplateModule, DynamicComponentService, resizeObservable, InitialFocusModule, OnlyDigitsModule } from '@fundamental-ngx/cdk/utils';
|
|
28
29
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
29
30
|
import * as i2$1 from '@fundamental-ngx/core/checkbox';
|
|
30
31
|
import { CheckboxComponent as CheckboxComponent$1, CheckboxModule } from '@fundamental-ngx/core/checkbox';
|
|
@@ -381,7 +382,7 @@ class FormFieldComponent {
|
|
|
381
382
|
* Defines hint placement
|
|
382
383
|
*/
|
|
383
384
|
set hintPlacement(value) {
|
|
384
|
-
|
|
385
|
+
warnOnce('Property hintPlacement is deprecated. Use `hint.placement` instead.');
|
|
385
386
|
this._hintPlacement = value;
|
|
386
387
|
}
|
|
387
388
|
get hintPlacement() {
|
|
@@ -394,7 +395,7 @@ class FormFieldComponent {
|
|
|
394
395
|
*/
|
|
395
396
|
set labelLayout(value) {
|
|
396
397
|
if (isDevMode()) {
|
|
397
|
-
|
|
398
|
+
warnOnce('LabelLayout input property is deprecated. Please use labelColumnLayout, fieldColumnLayout and gapColumnLayout properties instead');
|
|
398
399
|
}
|
|
399
400
|
this._labelLayout = value;
|
|
400
401
|
this.labelColumnLayout =
|
|
@@ -1373,7 +1374,7 @@ class CheckboxComponent extends BaseInput {
|
|
|
1373
1374
|
/** @deprecated */
|
|
1374
1375
|
set isBinary(value) {
|
|
1375
1376
|
if (isDevMode()) {
|
|
1376
|
-
|
|
1377
|
+
warnOnce$1('"isBinary" is deprecated and has no effect anymore \n' +
|
|
1377
1378
|
'Checkbox is binary by default. Use "tristate" input if you need to have indeterminate checkbox.');
|
|
1378
1379
|
}
|
|
1379
1380
|
}
|
|
@@ -1393,7 +1394,7 @@ class CheckboxComponent extends BaseInput {
|
|
|
1393
1394
|
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1394
1395
|
set checkboxTrueValue(trueValue) {
|
|
1395
1396
|
if (isDevMode()) {
|
|
1396
|
-
|
|
1397
|
+
warnOnce$1('"value" input is deprecated. Use "values" instead');
|
|
1397
1398
|
}
|
|
1398
1399
|
this.values = this.values ? { ...this.values, trueValue } : { trueValue };
|
|
1399
1400
|
}
|
|
@@ -1431,10 +1432,10 @@ class CheckboxComponent extends BaseInput {
|
|
|
1431
1432
|
ngOnInit() {
|
|
1432
1433
|
super.ngOnInit();
|
|
1433
1434
|
if (this.change.observed) {
|
|
1434
|
-
|
|
1435
|
+
warnOnce$1('`change` event is deprecated. Use `checkedChange` instead');
|
|
1435
1436
|
}
|
|
1436
1437
|
if (this.indeterminateChange.observed) {
|
|
1437
|
-
|
|
1438
|
+
warnOnce$1('`indeterminateChange` event is deprecated. Use `indeterminate` instead');
|
|
1438
1439
|
}
|
|
1439
1440
|
}
|
|
1440
1441
|
/** update controller on checkbox state change */
|
|
@@ -1527,7 +1528,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
1527
1528
|
let warnedAboutChecked = false;
|
|
1528
1529
|
const warnAboutChecked = () => {
|
|
1529
1530
|
if (isDevMode() && !warnedAboutChecked) {
|
|
1530
|
-
|
|
1531
|
+
warnOnce$1('The fdp-checkbox-group[checked] property is deprecated. Use fdp-checkbox-group[value] instead');
|
|
1531
1532
|
warnedAboutChecked = true;
|
|
1532
1533
|
}
|
|
1533
1534
|
};
|
|
@@ -1755,13 +1756,13 @@ class RadioButtonComponent extends BaseInput {
|
|
|
1755
1756
|
*/
|
|
1756
1757
|
set stateType(state) {
|
|
1757
1758
|
if (isDevMode()) {
|
|
1758
|
-
|
|
1759
|
+
warnOnce('"stateType" is deprecated. Use "state" instead');
|
|
1759
1760
|
}
|
|
1760
1761
|
super.state = state;
|
|
1761
1762
|
}
|
|
1762
1763
|
get stateType() {
|
|
1763
1764
|
if (isDevMode()) {
|
|
1764
|
-
|
|
1765
|
+
warnOnce('"stateType" is deprecated. Use "state" instead');
|
|
1765
1766
|
}
|
|
1766
1767
|
return super.state;
|
|
1767
1768
|
}
|
|
@@ -2189,13 +2190,13 @@ class TextAreaComponent extends BaseInput {
|
|
|
2189
2190
|
* set state of individual checkbox. Used by CBG to set checkbox states */
|
|
2190
2191
|
set stateType(state) {
|
|
2191
2192
|
if (isDevMode()) {
|
|
2192
|
-
|
|
2193
|
+
warnOnce$1('"stateType" is deprecated. Use "state" instead');
|
|
2193
2194
|
}
|
|
2194
2195
|
super.state = state;
|
|
2195
2196
|
}
|
|
2196
2197
|
get stateType() {
|
|
2197
2198
|
if (isDevMode()) {
|
|
2198
|
-
|
|
2199
|
+
warnOnce$1('"stateType" is deprecated. Use "state" instead');
|
|
2199
2200
|
}
|
|
2200
2201
|
return super.state;
|
|
2201
2202
|
}
|
|
@@ -2575,7 +2576,7 @@ class FdpSelectionChangeEvent {
|
|
|
2575
2576
|
constructor(payload // Contains selected item
|
|
2576
2577
|
) {
|
|
2577
2578
|
this.payload = payload;
|
|
2578
|
-
|
|
2579
|
+
warnOnce$1('FdpSelectionChangeEvent will be removed in future versions in favour of plain value emission');
|
|
2579
2580
|
}
|
|
2580
2581
|
}
|
|
2581
2582
|
class BaseSelect extends CollectionBaseInput {
|
|
@@ -2947,13 +2948,13 @@ class SelectComponent extends BaseSelect {
|
|
|
2947
2948
|
*/
|
|
2948
2949
|
set selectState(state) {
|
|
2949
2950
|
if (isDevMode()) {
|
|
2950
|
-
|
|
2951
|
+
warnOnce$1('"selectState" is deprecated. Use "state" instead');
|
|
2951
2952
|
}
|
|
2952
2953
|
super.state = state;
|
|
2953
2954
|
}
|
|
2954
2955
|
get selectState() {
|
|
2955
2956
|
if (isDevMode()) {
|
|
2956
|
-
|
|
2957
|
+
warnOnce$1('"selectState" is deprecated. Use "state" instead');
|
|
2957
2958
|
}
|
|
2958
2959
|
return super.state;
|
|
2959
2960
|
}
|
|
@@ -3130,7 +3131,7 @@ class PlatformDatePickerComponent extends BaseInput {
|
|
|
3130
3131
|
* Aria label for the date picker input.
|
|
3131
3132
|
*/
|
|
3132
3133
|
set dateInputLabel(value) {
|
|
3133
|
-
|
|
3134
|
+
warnOnce$1('Property dateInputLabel is deprecated. Use i18n capabilities (being translated in core date picker) instead.');
|
|
3134
3135
|
this._dateInputLabel = value;
|
|
3135
3136
|
}
|
|
3136
3137
|
get dateInputLabel() {
|
|
@@ -3141,7 +3142,7 @@ class PlatformDatePickerComponent extends BaseInput {
|
|
|
3141
3142
|
* Aria label for the datepicker input.
|
|
3142
3143
|
*/
|
|
3143
3144
|
set dateRangeInputLabel(value) {
|
|
3144
|
-
|
|
3145
|
+
warnOnce$1('Property dateRangeInputLabel is deprecated. Use i18n capabilities (being translated in core date picker) instead.');
|
|
3145
3146
|
this._dateRangeInputLabel = value;
|
|
3146
3147
|
}
|
|
3147
3148
|
get dateRangeInputLabel() {
|
|
@@ -3152,7 +3153,7 @@ class PlatformDatePickerComponent extends BaseInput {
|
|
|
3152
3153
|
* Aria label for the button to show/hide the calendar.
|
|
3153
3154
|
*/
|
|
3154
3155
|
set displayCalendarToggleLabel(value) {
|
|
3155
|
-
|
|
3156
|
+
warnOnce$1('Property displayCalendarToggleLabel is deprecated. Use i18n capabilities (being translated in core date picker) instead.');
|
|
3156
3157
|
this._displayCalendarToggleLabel = value;
|
|
3157
3158
|
}
|
|
3158
3159
|
get displayCalendarToggleLabel() {
|
|
@@ -3178,13 +3179,13 @@ class PlatformDatePickerComponent extends BaseInput {
|
|
|
3178
3179
|
*/
|
|
3179
3180
|
set datepickerState(state) {
|
|
3180
3181
|
if (isDevMode()) {
|
|
3181
|
-
|
|
3182
|
+
warnOnce$1('"datepickerState" is deprecated. Use "state" instead');
|
|
3182
3183
|
}
|
|
3183
3184
|
this.state = state;
|
|
3184
3185
|
}
|
|
3185
3186
|
get datepickerState() {
|
|
3186
3187
|
if (isDevMode()) {
|
|
3187
|
-
|
|
3188
|
+
warnOnce$1('"datepickerState" is deprecated. Use "state" instead');
|
|
3188
3189
|
}
|
|
3189
3190
|
return this.state;
|
|
3190
3191
|
}
|
|
@@ -6808,7 +6809,7 @@ class PlatformDatetimePickerComponent extends BaseInput {
|
|
|
6808
6809
|
* Aria label for the datetime picker input.
|
|
6809
6810
|
*/
|
|
6810
6811
|
set datetimeInputLabel(value) {
|
|
6811
|
-
|
|
6812
|
+
warnOnce('Property datetimeInputLabel is deprecated. Use i18n capabilities (being translated in core datetime picker) instead.');
|
|
6812
6813
|
this._datetimeInputLabel = value;
|
|
6813
6814
|
}
|
|
6814
6815
|
get datetimeInputLabel() {
|
|
@@ -6819,7 +6820,7 @@ class PlatformDatetimePickerComponent extends BaseInput {
|
|
|
6819
6820
|
* Aria label for the button to show/hide the calendar.
|
|
6820
6821
|
*/
|
|
6821
6822
|
set displayDatetimeToggleLabel(value) {
|
|
6822
|
-
|
|
6823
|
+
warnOnce('Property displayDatetimeToggleLabel is deprecated. Use i18n capabilities (being translated in core datetime picker) instead.');
|
|
6823
6824
|
this._displayDatetimeToggleLabel = value;
|
|
6824
6825
|
}
|
|
6825
6826
|
get displayDatetimeToggleLabel() {
|
|
@@ -6844,7 +6845,7 @@ class PlatformDatetimePickerComponent extends BaseInput {
|
|
|
6844
6845
|
* Text and aria-label of the DateTimePicker 'OK' button.
|
|
6845
6846
|
*/
|
|
6846
6847
|
set okLabel(value) {
|
|
6847
|
-
|
|
6848
|
+
warnOnce('Property okLabel is deprecated. Use i18n capabilities instead.');
|
|
6848
6849
|
this._okLabel = value;
|
|
6849
6850
|
}
|
|
6850
6851
|
get okLabel() {
|
|
@@ -6855,7 +6856,7 @@ class PlatformDatetimePickerComponent extends BaseInput {
|
|
|
6855
6856
|
* Text and aria-label of the DateTimePicker 'Cancel' button.
|
|
6856
6857
|
*/
|
|
6857
6858
|
set cancelLabel(value) {
|
|
6858
|
-
|
|
6859
|
+
warnOnce('Property cancelLabel is deprecated. Use i18n capabilities instead.');
|
|
6859
6860
|
this._cancelLabel = value;
|
|
6860
6861
|
}
|
|
6861
6862
|
get cancelLabel() {
|
|
@@ -7430,7 +7431,7 @@ class FormGroupComponent {
|
|
|
7430
7431
|
*/
|
|
7431
7432
|
set labelLayout(value) {
|
|
7432
7433
|
if (isDevMode()) {
|
|
7433
|
-
|
|
7434
|
+
warnOnce$1('LabelLayout input property is deprecated. Please use labelColumnLayout, fieldColumnLayout and gapColumnLayout properties instead');
|
|
7434
7435
|
}
|
|
7435
7436
|
this._labelLayout = value;
|
|
7436
7437
|
this.labelColumnLayout =
|
|
@@ -7902,7 +7903,7 @@ class FormGeneratorComponent {
|
|
|
7902
7903
|
*/
|
|
7903
7904
|
set labelLayout(value) {
|
|
7904
7905
|
if (isDevMode()) {
|
|
7905
|
-
|
|
7906
|
+
warnOnce$1('LabelLayout input property is deprecated. Please use labelColumnLayout, fieldColumnLayout and gapColumnLayout properties instead');
|
|
7906
7907
|
}
|
|
7907
7908
|
this._labelLayout = value;
|
|
7908
7909
|
this.labelColumnLayout =
|
|
@@ -9465,7 +9466,7 @@ class MultiComboboxComponent extends BaseMultiCombobox {
|
|
|
9465
9466
|
*/
|
|
9466
9467
|
this._selectedSuggestions = [];
|
|
9467
9468
|
if (!deprecationWarningShown && isDevMode()) {
|
|
9468
|
-
|
|
9469
|
+
warnOnce$1(`[DEPRECATION] Platform Multi Combobox component is deprecated since v0.39.0. Please migrate to Core's version.`);
|
|
9469
9470
|
deprecationWarningShown = true;
|
|
9470
9471
|
}
|
|
9471
9472
|
}
|
|
@@ -10524,13 +10525,13 @@ class PlatformFileUploaderComponent extends BaseInput {
|
|
|
10524
10525
|
* set state of individual checkbox. Used by CBG to set checkbox states */
|
|
10525
10526
|
set stateType(state) {
|
|
10526
10527
|
if (isDevMode()) {
|
|
10527
|
-
|
|
10528
|
+
warnOnce$1('"stateType" is deprecated. Use "state" instead');
|
|
10528
10529
|
}
|
|
10529
10530
|
super.state = state;
|
|
10530
10531
|
}
|
|
10531
10532
|
get stateType() {
|
|
10532
10533
|
if (isDevMode()) {
|
|
10533
|
-
|
|
10534
|
+
warnOnce$1('"stateType" is deprecated. Use "state" instead');
|
|
10534
10535
|
}
|
|
10535
10536
|
return super.state;
|
|
10536
10537
|
}
|
|
@@ -11502,7 +11503,7 @@ class PlatformTimePickerComponent extends BaseInput {
|
|
|
11502
11503
|
*/
|
|
11503
11504
|
set meridian(value) {
|
|
11504
11505
|
// eslint-disable-next-line max-len
|
|
11505
|
-
|
|
11506
|
+
warnOnce$1('Property meridian is deprecated.' +
|
|
11506
11507
|
' Use Meridian is deprecated.' +
|
|
11507
11508
|
' Use displayFormat and parseFormat inputs or DateTimeFormats.display.timeInput and DateTimeFormats.parse.timeInput instead. instead.');
|
|
11508
11509
|
this._meridian = value;
|