@fundamental-ngx/platform 0.43.43 → 0.43.45

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.
@@ -8581,7 +8581,7 @@ class BaseMultiCombobox extends CollectionBaseInput {
8581
8581
  return !!(this.group && this.groupKey);
8582
8582
  }
8583
8583
  /** @hidden */
8584
- constructor(_cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, multiComboboxConfig, formField, formControl, _mapLimit) {
8584
+ constructor(_cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, multiComboboxConfig, formField, formControl, _mapLimit, _lang$) {
8585
8585
  super(_cd, elementRef, ngControl, controlContainer, ngForm, formField, formControl);
8586
8586
  this._cd = _cd;
8587
8587
  this.ngControl = ngControl;
@@ -8617,8 +8617,6 @@ class BaseMultiCombobox extends CollectionBaseInput {
8617
8617
  * * 'fit-content' will apply width needed to properly display items inside, independent of control.
8618
8618
  */
8619
8619
  this.fillControlMode = 'at-least';
8620
- /** Sets invalid entry message. */
8621
- this.invalidEntryMessage = 'Invalid entry';
8622
8620
  /** Whether to open the dropdown when the addon button is clicked. */
8623
8621
  this.openDropdownOnAddOnClicked = true;
8624
8622
  /** Event emitted when item is selected. */
@@ -8677,6 +8675,8 @@ class BaseMultiCombobox extends CollectionBaseInput {
8677
8675
  /** @hidden */
8678
8676
  this._rangeSelector = new RangeSelector();
8679
8677
  /** @hidden */
8678
+ this._translationResolver = new TranslationResolver();
8679
+ /** @hidden */
8680
8680
  this._displayFn = (value) => this.displayValue(value);
8681
8681
  /** @hidden */
8682
8682
  this._secondaryFn = (value) => {
@@ -8691,6 +8691,9 @@ class BaseMultiCombobox extends CollectionBaseInput {
8691
8691
  return value;
8692
8692
  }
8693
8693
  };
8694
+ this._subscriptions.add(_lang$.subscribe((lang) => {
8695
+ this.invalidEntryMessage = this._translationResolver.resolve(lang, 'platformMultiCombobox.invalidEntryError');
8696
+ }));
8694
8697
  }
8695
8698
  /** @hidden */
8696
8699
  ngOnChanges(changes) {
@@ -9212,7 +9215,7 @@ class BaseMultiCombobox extends CollectionBaseInput {
9212
9215
  });
9213
9216
  }
9214
9217
  }
9215
- 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 });
9218
+ 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 });
9216
9219
  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 });
9217
9220
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BaseMultiCombobox, decorators: [{
9218
9221
  type: Directive
@@ -9251,6 +9254,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
9251
9254
  }] }, { type: undefined, decorators: [{
9252
9255
  type: Inject,
9253
9256
  args: [MAP_LIMIT]
9257
+ }] }, { type: i15.Observable, decorators: [{
9258
+ type: Inject,
9259
+ args: [FD_LANGUAGE]
9254
9260
  }] }]; }, propDecorators: { selectedItems: [{
9255
9261
  type: Input
9256
9262
  }], maxHeight: [{
@@ -9427,8 +9433,8 @@ let deprecationWarningShown = false;
9427
9433
  */
9428
9434
  class MultiComboboxComponent extends BaseMultiCombobox {
9429
9435
  /** @hidden */
9430
- constructor(cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, _dynamicComponentService, _providers, _multiComboboxConfig, _viewContainerRef, _injector, formField, formControl, _mapLimit, contentDensityObserver) {
9431
- super(cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, _multiComboboxConfig, formField, formControl, _mapLimit);
9436
+ constructor(cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, _dynamicComponentService, _providers, _multiComboboxConfig, _viewContainerRef, _injector, formField, formControl, _mapLimit, contentDensityObserver, _lang$) {
9437
+ super(cd, elementRef, ngControl, controlContainer, ngForm, dialogConfig, _multiComboboxConfig, formField, formControl, _mapLimit, _lang$);
9432
9438
  this.elementRef = elementRef;
9433
9439
  this.ngControl = ngControl;
9434
9440
  this.ngForm = ngForm;
@@ -9673,7 +9679,7 @@ class MultiComboboxComponent extends BaseMultiCombobox {
9673
9679
  await this._dynamicComponentService.createDynamicModule({ listTemplate: this.listTemplate, controlTemplate: this.mobileControlTemplate }, PlatformMultiComboboxMobileModule, MultiComboboxMobileComponent, this._viewContainerRef, injector);
9674
9680
  }
9675
9681
  }
9676
- 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 });
9682
+ 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 });
9677
9683
  MultiComboboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MultiComboboxComponent, selector: "fdp-multi-combobox", providers: [
9678
9684
  {
9679
9685
  provide: FD_FORM_FIELD_CONTROL,
@@ -9732,7 +9738,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
9732
9738
  }] }, { type: undefined, decorators: [{
9733
9739
  type: Inject,
9734
9740
  args: [MAP_LIMIT]
9735
- }] }, { type: i5$2.ContentDensityObserver }]; }, propDecorators: { mobileControlTemplate: [{
9741
+ }] }, { type: i5$2.ContentDensityObserver }, { type: i15.Observable, decorators: [{
9742
+ type: Inject,
9743
+ args: [FD_LANGUAGE]
9744
+ }] }]; }, propDecorators: { mobileControlTemplate: [{
9736
9745
  type: ViewChild,
9737
9746
  args: ['mobileControlTemplate']
9738
9747
  }], listTemplate: [{