@fundamental-ngx/platform 0.43.42 → 0.43.44

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.
Files changed (27) hide show
  1. package/esm2020/form/multi-combobox/commons/base-multi-combobox.mjs +14 -6
  2. package/esm2020/form/multi-combobox/multi-combobox/multi-combobox.component.mjs +11 -5
  3. package/esm2020/table/table.component.mjs +3 -3
  4. package/esm2020/table-helpers/directives/table-virtual-scroll.directive.mjs +13 -5
  5. package/esm2020/value-help-dialog/value-help-dialog/value-help-dialog.component.mjs +2 -1
  6. package/fesm2015/fundamental-ngx-platform-form.mjs +17 -8
  7. package/fesm2015/fundamental-ngx-platform-form.mjs.map +1 -1
  8. package/fesm2015/fundamental-ngx-platform-table-helpers.mjs +12 -4
  9. package/fesm2015/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
  10. package/fesm2015/fundamental-ngx-platform-table.mjs +2 -2
  11. package/fesm2015/fundamental-ngx-platform-table.mjs.map +1 -1
  12. package/fesm2015/fundamental-ngx-platform-value-help-dialog.mjs +1 -0
  13. package/fesm2015/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
  14. package/fesm2020/fundamental-ngx-platform-form.mjs +17 -8
  15. package/fesm2020/fundamental-ngx-platform-form.mjs.map +1 -1
  16. package/fesm2020/fundamental-ngx-platform-table-helpers.mjs +12 -4
  17. package/fesm2020/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
  18. package/fesm2020/fundamental-ngx-platform-table.mjs +2 -2
  19. package/fesm2020/fundamental-ngx-platform-table.mjs.map +1 -1
  20. package/fesm2020/fundamental-ngx-platform-value-help-dialog.mjs +1 -0
  21. package/fesm2020/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
  22. package/form/multi-combobox/commons/base-multi-combobox.d.ts +11 -5
  23. package/form/multi-combobox/multi-combobox/multi-combobox.component.d.ts +4 -2
  24. package/fundamental-ngx-platform-v0.43.44.tgz +0 -0
  25. package/package.json +4 -4
  26. package/schematics/ng-add/index.js +1 -1
  27. package/fundamental-ngx-platform-v0.43.42.tgz +0 -0
@@ -8670,7 +8670,7 @@ class BaseMultiCombobox extends CollectionBaseInput {
8670
8670
  return !!(this.group && this.groupKey);
8671
8671
  }
8672
8672
  /** @hidden */
8673
- constructor(_cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, multiComboboxConfig, formField, formControl, _mapLimit) {
8673
+ constructor(_cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, multiComboboxConfig, formField, formControl, _mapLimit, _lang$) {
8674
8674
  super(_cd, elementRef, ngControl, controlContainer, ngForm, formField, formControl);
8675
8675
  this._cd = _cd;
8676
8676
  this.ngControl = ngControl;
@@ -8706,8 +8706,6 @@ class BaseMultiCombobox extends CollectionBaseInput {
8706
8706
  * * 'fit-content' will apply width needed to properly display items inside, independent of control.
8707
8707
  */
8708
8708
  this.fillControlMode = 'at-least';
8709
- /** Sets invalid entry message. */
8710
- this.invalidEntryMessage = 'Invalid entry';
8711
8709
  /** Whether to open the dropdown when the addon button is clicked. */
8712
8710
  this.openDropdownOnAddOnClicked = true;
8713
8711
  /** Event emitted when item is selected. */
@@ -8766,6 +8764,8 @@ class BaseMultiCombobox extends CollectionBaseInput {
8766
8764
  /** @hidden */
8767
8765
  this._rangeSelector = new RangeSelector();
8768
8766
  /** @hidden */
8767
+ this._translationResolver = new TranslationResolver();
8768
+ /** @hidden */
8769
8769
  this._displayFn = (value) => this.displayValue(value);
8770
8770
  /** @hidden */
8771
8771
  this._secondaryFn = (value) => {
@@ -8781,6 +8781,9 @@ class BaseMultiCombobox extends CollectionBaseInput {
8781
8781
  return value;
8782
8782
  }
8783
8783
  };
8784
+ this._subscriptions.add(_lang$.subscribe((lang) => {
8785
+ this.invalidEntryMessage = this._translationResolver.resolve(lang, 'platformMultiCombobox.invalidEntryError');
8786
+ }));
8784
8787
  }
8785
8788
  /** @hidden */
8786
8789
  ngOnChanges(changes) {
@@ -9311,7 +9314,7 @@ class BaseMultiCombobox extends CollectionBaseInput {
9311
9314
  });
9312
9315
  }
9313
9316
  }
9314
- BaseMultiCombobox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BaseMultiCombobox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$1.NgControl, optional: true, self: true }, { token: i1$1.ControlContainer, optional: true, skipSelf: true }, { token: i1$1.NgForm, optional: true, skipSelf: true }, { token: i1$2.DialogConfig, optional: true }, { token: MultiComboboxConfig }, { token: FD_FORM_FIELD, host: true, optional: true, skipSelf: true }, { token: FD_FORM_FIELD_CONTROL, host: true, optional: true, skipSelf: true }, { token: MAP_LIMIT }], target: i0.ɵɵFactoryTarget.Directive });
9317
+ BaseMultiCombobox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BaseMultiCombobox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$1.NgControl, optional: true, self: true }, { token: i1$1.ControlContainer, optional: true, skipSelf: true }, { token: i1$1.NgForm, optional: true, skipSelf: true }, { token: i1$2.DialogConfig, optional: true }, { token: MultiComboboxConfig }, { token: FD_FORM_FIELD, host: true, optional: true, skipSelf: true }, { token: FD_FORM_FIELD_CONTROL, host: true, optional: true, skipSelf: true }, { token: MAP_LIMIT }, { token: FD_LANGUAGE }], target: i0.ɵɵFactoryTarget.Directive });
9315
9318
  BaseMultiCombobox.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: BaseMultiCombobox, inputs: { selectedItems: "selectedItems", maxHeight: "maxHeight", buttonFocusable: "buttonFocusable", dataSource: "dataSource", autoComplete: "autoComplete", entityClass: "entityClass", mobile: "mobile", mobileConfig: "mobileConfig", group: "group", groupKey: "groupKey", secondaryKey: "secondaryKey", showSecondaryText: "showSecondaryText", secondaryTextAlignment: "secondaryTextAlignment", autoResize: "autoResize", value: "value", fillControlMode: "fillControlMode", addonIconTitle: "addonIconTitle", invalidEntryMessage: "invalidEntryMessage", limitless: "limitless", openDropdownOnAddOnClicked: "openDropdownOnAddOnClicked" }, outputs: { selectionChange: "selectionChange", isOpenChange: "isOpenChange", onDataRequested: "onDataRequested", onDataReceived: "onDataReceived", addOnButtonClicked: "addOnButtonClicked" }, queries: [{ propertyName: "customTemplates", predicate: TemplateDirective }], viewQueries: [{ propertyName: "listComponent", first: true, predicate: ListComponent, descendants: true }, { propertyName: "searchInputElement", first: true, predicate: ["searchInputElement"], descendants: true, read: ElementRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
9316
9319
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BaseMultiCombobox, decorators: [{
9317
9320
  type: Directive
@@ -9351,6 +9354,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
9351
9354
  }] }, { type: undefined, decorators: [{
9352
9355
  type: Inject,
9353
9356
  args: [MAP_LIMIT]
9357
+ }] }, { type: i15.Observable, decorators: [{
9358
+ type: Inject,
9359
+ args: [FD_LANGUAGE]
9354
9360
  }] }];
9355
9361
  }, propDecorators: { selectedItems: [{
9356
9362
  type: Input
@@ -9523,8 +9529,8 @@ let deprecationWarningShown = false;
9523
9529
  */
9524
9530
  class MultiComboboxComponent extends BaseMultiCombobox {
9525
9531
  /** @hidden */
9526
- constructor(cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, _dynamicComponentService, _providers, _multiComboboxConfig, _viewContainerRef, _injector, formField, formControl, _mapLimit, contentDensityObserver) {
9527
- super(cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, _multiComboboxConfig, formField, formControl, _mapLimit);
9532
+ constructor(cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, _dynamicComponentService, _providers, _multiComboboxConfig, _viewContainerRef, _injector, formField, formControl, _mapLimit, contentDensityObserver, _lang$) {
9533
+ super(cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, _multiComboboxConfig, formField, formControl, _mapLimit, _lang$);
9528
9534
  this.elementRef = elementRef;
9529
9535
  this.ngControl = ngControl;
9530
9536
  this.ngForm = ngForm;
@@ -9774,7 +9780,7 @@ class MultiComboboxComponent extends BaseMultiCombobox {
9774
9780
  });
9775
9781
  }
9776
9782
  }
9777
- MultiComboboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MultiComboboxComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$1.NgControl, optional: true, self: true }, { token: i1$1.ControlContainer, optional: true, skipSelf: true }, { token: i1$1.NgForm, optional: true, skipSelf: true }, { token: i1$2.DialogConfig, optional: true }, { token: i3$2.DynamicComponentService }, { token: DATA_PROVIDERS, optional: true }, { token: MultiComboboxConfig }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: FD_FORM_FIELD, host: true, optional: true, skipSelf: true }, { token: FD_FORM_FIELD_CONTROL, host: true, optional: true, skipSelf: true }, { token: MAP_LIMIT }, { token: i5$2.ContentDensityObserver }], target: i0.ɵɵFactoryTarget.Component });
9783
+ MultiComboboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MultiComboboxComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$1.NgControl, optional: true, self: true }, { token: i1$1.ControlContainer, optional: true, skipSelf: true }, { token: i1$1.NgForm, optional: true, skipSelf: true }, { token: i1$2.DialogConfig, optional: true }, { token: i3$2.DynamicComponentService }, { token: DATA_PROVIDERS, optional: true }, { token: MultiComboboxConfig }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: FD_FORM_FIELD, host: true, optional: true, skipSelf: true }, { token: FD_FORM_FIELD_CONTROL, host: true, optional: true, skipSelf: true }, { token: MAP_LIMIT }, { token: i5$2.ContentDensityObserver }, { token: FD_LANGUAGE }], target: i0.ɵɵFactoryTarget.Component });
9778
9784
  MultiComboboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MultiComboboxComponent, selector: "fdp-multi-combobox", providers: [
9779
9785
  {
9780
9786
  provide: FD_FORM_FIELD_CONTROL,
@@ -9834,7 +9840,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
9834
9840
  }] }, { type: undefined, decorators: [{
9835
9841
  type: Inject,
9836
9842
  args: [MAP_LIMIT]
9837
- }] }, { type: i5$2.ContentDensityObserver }];
9843
+ }] }, { type: i5$2.ContentDensityObserver }, { type: i15.Observable, decorators: [{
9844
+ type: Inject,
9845
+ args: [FD_LANGUAGE]
9846
+ }] }];
9838
9847
  }, propDecorators: { mobileControlTemplate: [{
9839
9848
  type: ViewChild,
9840
9849
  args: ['mobileControlTemplate']