@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
@@ -1,7 +1,7 @@
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
3
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
4
- import { ContentDensity, FocusEscapeDirection, RangeSelector, TemplateDirective } from '@fundamental-ngx/cdk/utils';
4
+ import { ContentDensity, FocusEscapeDirection, Nullable, 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';
7
7
  import { MobileModeConfig } from '@fundamental-ngx/core/mobile-mode';
@@ -9,6 +9,7 @@ import { PopoverFillMode } from '@fundamental-ngx/core/shared';
9
9
  import { CollectionBaseInput, MultiComboBoxDataSource, PlatformFormField, PlatformFormFieldControl, SelectableOptionItem } from '@fundamental-ngx/platform/shared';
10
10
  import { TextAlignment } from '../../combobox';
11
11
  import { MultiComboboxConfig } from '../multi-combobox.config';
12
+ import { FdLanguage } from '@fundamental-ngx/i18n';
12
13
  import * as i0 from "@angular/core";
13
14
  export declare const MAP_LIMIT: InjectionToken<number>;
14
15
  export type FdpMultiComboboxDataSource<T> = MultiComboBoxDataSource<T> | Observable<T[]> | T[];
@@ -77,8 +78,11 @@ export declare abstract class BaseMultiCombobox extends CollectionBaseInput impl
77
78
  fillControlMode: PopoverFillMode;
78
79
  /** Sets title attribute to addon button. */
79
80
  addonIconTitle: string;
80
- /** Sets invalid entry message. */
81
- invalidEntryMessage: string;
81
+ /**
82
+ * @deprecated Use the i18n module to modify the translation for this string.
83
+ * Sets invalid entry message.
84
+ * */
85
+ invalidEntryMessage: Nullable<string>;
82
86
  /** Turns limitless mode, ON or OFF */
83
87
  limitless: boolean;
84
88
  /** Whether to open the dropdown when the addon button is clicked. */
@@ -193,11 +197,13 @@ export declare abstract class BaseMultiCombobox extends CollectionBaseInput impl
193
197
  /** @hidden */
194
198
  protected readonly _rangeSelector: RangeSelector;
195
199
  /** @hidden */
200
+ private _translationResolver;
201
+ /** @hidden */
196
202
  private _displayFn;
197
203
  /** @hidden */
198
204
  private _secondaryFn;
199
205
  /** @hidden */
200
- protected constructor(_cd: ChangeDetectorRef, elementRef: ElementRef, ngControl: NgControl, controlContainer: ControlContainer, ngForm: NgForm, dialogConfig: DialogConfig, multiComboboxConfig: MultiComboboxConfig, formField: PlatformFormField, formControl: PlatformFormFieldControl, _mapLimit: number);
206
+ protected constructor(_cd: ChangeDetectorRef, elementRef: ElementRef, ngControl: NgControl, controlContainer: ControlContainer, ngForm: NgForm, dialogConfig: DialogConfig, multiComboboxConfig: MultiComboboxConfig, formField: PlatformFormField, formControl: PlatformFormFieldControl, _mapLimit: number, _lang$: Observable<FdLanguage>);
201
207
  /** @hidden */
202
208
  ngOnChanges(changes: SimpleChanges): void;
203
209
  /** @hidden */
@@ -320,6 +326,6 @@ export declare abstract class BaseMultiCombobox extends CollectionBaseInput impl
320
326
  * Assign custom templates
321
327
  */
322
328
  private _assignCustomTemplates;
323
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseMultiCombobox, [null, null, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; }, null, { optional: true; host: true; skipSelf: true; }, { optional: true; host: true; skipSelf: true; }, null]>;
329
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseMultiCombobox, [null, null, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; }, null, { optional: true; host: true; skipSelf: true; }, { optional: true; host: true; skipSelf: true; }, null, null]>;
324
330
  static ɵdir: i0.ɵɵDirectiveDeclaration<BaseMultiCombobox, never, never, { "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"; }, { "selectionChange": "selectionChange"; "isOpenChange": "isOpenChange"; "onDataRequested": "onDataRequested"; "onDataReceived": "onDataReceived"; "addOnButtonClicked": "addOnButtonClicked"; }, ["customTemplates"], never, false, never>;
325
331
  }
@@ -8,6 +8,8 @@ import { TokenizerComponent } from '@fundamental-ngx/core/token';
8
8
  import { AutoCompleteEvent } from '../../auto-complete/auto-complete.directive';
9
9
  import { BaseMultiCombobox } from '../commons/base-multi-combobox';
10
10
  import { MultiComboboxConfig } from '../multi-combobox.config';
11
+ import { FdLanguage } from '@fundamental-ngx/i18n';
12
+ import { Observable } from 'rxjs';
11
13
  import * as i0 from "@angular/core";
12
14
  /**
13
15
  * This component can work with both string primitives as well as with complex objects. In order
@@ -39,7 +41,7 @@ export declare class MultiComboboxComponent extends BaseMultiCombobox implements
39
41
  */
40
42
  _selectedSuggestions: SelectableOptionItem[];
41
43
  /** @hidden */
42
- constructor(cd: ChangeDetectorRef, elementRef: ElementRef, ngControl: NgControl, controlContainer: ControlContainer, ngForm: NgForm, dialogConfig: DialogConfig, _dynamicComponentService: DynamicComponentService, _providers: Map<string, DataProvider<any>>, _multiComboboxConfig: MultiComboboxConfig, _viewContainerRef: ViewContainerRef, _injector: Injector, formField: PlatformFormField, formControl: PlatformFormFieldControl, _mapLimit: number, contentDensityObserver: ContentDensityObserver);
44
+ constructor(cd: ChangeDetectorRef, elementRef: ElementRef, ngControl: NgControl, controlContainer: ControlContainer, ngForm: NgForm, dialogConfig: DialogConfig, _dynamicComponentService: DynamicComponentService, _providers: Map<string, DataProvider<any>>, _multiComboboxConfig: MultiComboboxConfig, _viewContainerRef: ViewContainerRef, _injector: Injector, formField: PlatformFormField, formControl: PlatformFormFieldControl, _mapLimit: number, contentDensityObserver: ContentDensityObserver, _lang$: Observable<FdLanguage>);
43
45
  /** @hidden */
44
46
  ngOnInit(): void;
45
47
  /** @hidden */
@@ -94,6 +96,6 @@ export declare class MultiComboboxComponent extends BaseMultiCombobox implements
94
96
  private _propagateChange;
95
97
  /** @hidden */
96
98
  private _setUpMobileMode;
97
- static ɵfac: i0.ɵɵFactoryDeclaration<MultiComboboxComponent, [null, null, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; }, null, { optional: true; }, null, null, null, { optional: true; host: true; skipSelf: true; }, { optional: true; host: true; skipSelf: true; }, null, null]>;
99
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiComboboxComponent, [null, null, { optional: true; self: true; }, { optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }, { optional: true; }, null, { optional: true; }, null, null, null, { optional: true; host: true; skipSelf: true; }, { optional: true; host: true; skipSelf: true; }, null, null, null]>;
98
100
  static ɵcmp: i0.ɵɵComponentDeclaration<MultiComboboxComponent, "fdp-multi-combobox", never, {}, {}, never, ["*", "*"], false, never>;
99
101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/platform",
3
- "version": "0.43.42",
3
+ "version": "0.43.44",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "description": "Fundamental Library for Angular - platform",
6
6
  "license": "Apache-2.0",
@@ -13,11 +13,11 @@
13
13
  "node": ">= 10"
14
14
  },
15
15
  "peerDependencies": {
16
- "@fundamental-ngx/core": "0.43.42"
16
+ "@fundamental-ngx/core": "0.43.44"
17
17
  },
18
18
  "dependencies": {
19
- "@fundamental-ngx/cdk": "0.43.42",
20
- "@fundamental-ngx/i18n": "0.43.42",
19
+ "@fundamental-ngx/cdk": "0.43.44",
20
+ "@fundamental-ngx/i18n": "0.43.44",
21
21
  "fast-deep-equal": "3.1.3",
22
22
  "focus-trap": "^7.1.0",
23
23
  "lodash-es": "^4.17.0",
@@ -32,7 +32,7 @@ function callCoreSchematic(options) {
32
32
  (0, dependencies_1.addPackageJsonDependency)(tree, {
33
33
  type: dependencies_1.NodeDependencyType.Default,
34
34
  // Will be replaced with the real version during sync-version scipt run
35
- version: `0.43.42`,
35
+ version: `0.43.44`,
36
36
  name: '@fundamental-ngx/core'
37
37
  });
38
38
  const installTaskId = context.addTask(new tasks_1.NodePackageInstallTask({