@fundamental-ngx/core 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.
@@ -52,7 +52,7 @@ export declare abstract class BaseMultiCombobox<T = any> {
52
52
  abstract secondaryKey: string;
53
53
  abstract showSecondaryText: boolean;
54
54
  abstract lookupKey: string;
55
- abstract invalidEntryMessage: string;
55
+ abstract invalidEntryMessage: Nullable<string>;
56
56
  abstract invalidEntryDisplayTime: number;
57
57
  abstract limitless: boolean;
58
58
  abstract isGroup: boolean;
@@ -1,17 +1,18 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, InjectionToken, Injector, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, InjectionToken, Injector, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { SelectItem } from '@fundamental-ngx/cdk/forms';
3
3
  import { AutoCompleteEvent, ContentDensity, DynamicComponentService, FocusEscapeDirection, Nullable } from '@fundamental-ngx/cdk/utils';
4
4
  import { MobileModeConfig } from '@fundamental-ngx/core/mobile-mode';
5
5
  import { PopoverFillMode } from '@fundamental-ngx/core/shared';
6
- import { Subject } from 'rxjs';
6
+ import { Observable, Subject } from 'rxjs';
7
7
  import { SelectableOptionItem } from '@fundamental-ngx/cdk/forms';
8
8
  import { BaseMultiCombobox } from './base-multi-combobox.class';
9
9
  import { MultiComboboxSelectionChangeEvent } from './models/selection-change.event';
10
+ import { FdLanguage } from '@fundamental-ngx/i18n';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "@fundamental-ngx/cdk/forms";
12
13
  import * as i2 from "@fundamental-ngx/cdk/data-source";
13
14
  export declare const FD_MAP_LIMIT: InjectionToken<number>;
14
- export declare class MultiComboboxComponent<T = any> extends BaseMultiCombobox<T> implements AfterViewInit, OnInit {
15
+ export declare class MultiComboboxComponent<T = any> extends BaseMultiCombobox<T> implements AfterViewInit, OnInit, OnDestroy {
15
16
  private readonly _injector;
16
17
  private readonly _viewContainerRef;
17
18
  private readonly _dynamicComponentService;
@@ -69,8 +70,11 @@ export declare class MultiComboboxComponent<T = any> extends BaseMultiCombobox<T
69
70
  fillControlMode: PopoverFillMode;
70
71
  /** Sets title attribute to addon button. */
71
72
  addonIconTitle: string;
72
- /** Sets invalid entry message. */
73
- invalidEntryMessage: string;
73
+ /**
74
+ * @deprecated Use the i18n module to modify the translation for this string.
75
+ * Sets invalid entry message.
76
+ * */
77
+ invalidEntryMessage: Nullable<string>;
74
78
  /** Turns limitless mode, ON or OFF */
75
79
  limitless: boolean;
76
80
  /**
@@ -165,10 +169,16 @@ export declare class MultiComboboxComponent<T = any> extends BaseMultiCombobox<T
165
169
  */
166
170
  openChange: Subject<boolean>;
167
171
  /** @hidden */
168
- constructor(_injector: Injector, _viewContainerRef: ViewContainerRef, _dynamicComponentService: DynamicComponentService);
172
+ private _translationResolver;
173
+ /** @hidden */
174
+ private _langSubscription;
175
+ /** @hidden */
176
+ constructor(_injector: Injector, _viewContainerRef: ViewContainerRef, _dynamicComponentService: DynamicComponentService, _lang$: Observable<FdLanguage>);
169
177
  /** @hidden */
170
178
  ngOnInit(): void;
171
179
  /** @hidden */
180
+ ngOnDestroy(): void;
181
+ /** @hidden */
172
182
  ngAfterViewInit(): Promise<void>;
173
183
  /** @hidden */
174
184
  _toggleSelection(item: SelectableOptionItem, fromTokenCloseClick?: boolean): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/core",
3
- "version": "0.43.42",
3
+ "version": "0.43.44",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "ng-update": {
6
6
  "migrations": "./schematics/migrations.json"
@@ -28,8 +28,8 @@
28
28
  "rxjs": "^7.8.0"
29
29
  },
30
30
  "dependencies": {
31
- "@fundamental-ngx/cdk": "0.43.42",
32
- "@fundamental-ngx/i18n": "0.43.42",
31
+ "@fundamental-ngx/cdk": "0.43.44",
32
+ "@fundamental-ngx/i18n": "0.43.44",
33
33
  "compare-versions": "^5.0.0",
34
34
  "fast-deep-equal": "3.1.3",
35
35
  "focus-trap": "^7.1.0",
@@ -54,21 +54,21 @@ function addExternalLibraries(options) {
54
54
  });
55
55
  }
56
56
  if (!(0, package_utils_1.hasPackage)(tree, '@fundamental-ngx/i18n') ||
57
- (0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/i18n', '0.43.42', '<')) {
57
+ (0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/i18n', '0.43.44', '<')) {
58
58
  dependencies.push({
59
59
  type: dependencies_1.NodeDependencyType.Default,
60
60
  // Will be replaced with the real version during sync-version script run
61
- version: `0.43.42`,
61
+ version: `0.43.44`,
62
62
  name: '@fundamental-ngx/i18n',
63
63
  overwrite: true
64
64
  });
65
65
  }
66
66
  if (!(0, package_utils_1.hasPackage)(tree, '@fundamental-ngx/cdk') ||
67
- (0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/cdk', '0.43.42', '<')) {
67
+ (0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/cdk', '0.43.44', '<')) {
68
68
  dependencies.push({
69
69
  type: dependencies_1.NodeDependencyType.Default,
70
70
  // Will be replaced with the real version during sync-version script run
71
- version: `0.43.42`,
71
+ version: `0.43.44`,
72
72
  name: '@fundamental-ngx/cdk',
73
73
  overwrite: true
74
74
  });
Binary file