@fundamental-ngx/platform 0.43.25 → 0.43.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/platform",
3
- "version": "0.43.25",
3
+ "version": "0.43.26",
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.25"
16
+ "@fundamental-ngx/core": "0.43.26"
17
17
  },
18
18
  "dependencies": {
19
- "@fundamental-ngx/cdk": "0.43.25",
20
- "@fundamental-ngx/i18n": "0.43.25",
19
+ "@fundamental-ngx/cdk": "0.43.26",
20
+ "@fundamental-ngx/i18n": "0.43.26",
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.25`,
35
+ version: `0.43.26`,
36
36
  name: '@fundamental-ngx/core'
37
37
  });
38
38
  const installTaskId = context.addTask(new tasks_1.NodePackageInstallTask({
@@ -1,4 +1,5 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { Observable } from 'rxjs';
2
3
  import { DialogConfig, DialogRef, DialogService } from '@fundamental-ngx/core/dialog';
3
4
  import { RtlService } from '@fundamental-ngx/cdk/utils';
4
5
  import { ArrayValueHelpDialogDataSource, BaseEntity, ObservableValueHelpDialogDataSource, ValueHelpDialogDataSource, VdhTableSelection, VhdDefineExcludeStrategy, VhdDefineIncludeStrategy, VhdFilter, VhdTab, VhdValue, VhdValueChangeEvent } from '../models';
@@ -45,6 +46,8 @@ export declare class PlatformValueHelpDialogComponent<T = any> extends VhdCompon
45
46
  formatToken: (value: VhdValueChangeEvent<T>) => void;
46
47
  /** Tokenizer function for condition's token render */
47
48
  conditionDisplayFn: (item: import("../models").VhdIncludedEntity | import("../models").VhdExcludedEntity, filters?: VhdFilter[] | undefined) => string | null;
49
+ /** Validator function. Called when user submits VHD dialog. */
50
+ tokenValidator: ((value: VhdValueChangeEvent<any>) => Observable<boolean> | boolean) | undefined;
48
51
  /**
49
52
  * @deprecated use i18n capabilities instead
50
53
  * Select from list tab's and Search table settings
@@ -235,6 +238,8 @@ export declare class PlatformValueHelpDialogComponent<T = any> extends VhdCompon
235
238
  private _resetSourceStream;
236
239
  /** @hidden */
237
240
  private isValidOptions;
241
+ /** @hidden */
242
+ private _getValidatorFunction;
238
243
  static ɵfac: i0.ɵɵFactoryDeclaration<PlatformValueHelpDialogComponent<any>, [null, null, null, { optional: true; }]>;
239
- static ɵcmp: i0.ɵɵComponentDeclaration<PlatformValueHelpDialogComponent<any>, "fdp-value-help-dialog", never, { "id": "id"; "value": "value"; "dialogTitle": "dialogTitle"; "initialTab": "initialTab"; "tabs": "tabs"; "isOpenAdvanced": "isOpenAdvanced"; "dataSource": "dataSource"; "dialogConfig": "dialogConfig"; "uniqueKey": "uniqueKey"; "headerId": "headerId"; "tokenViewField": "tokenViewField"; "tokenizerFn": "tokenizerFn"; "mobile": "mobile"; "formatToken": "formatToken"; "conditionDisplayFn": "conditionDisplayFn"; "selectTabTitle": "selectTabTitle"; "searchSelection": "searchSelection"; "searchTableEmptyMessage": "searchTableEmptyMessage"; "searchTablePageSize": "searchTablePageSize"; "searchTableMobileHeaders": "searchTableMobileHeaders"; "maxShownInitialFilters": "maxShownInitialFilters"; "loading": "loading"; "defineTabTitle": "defineTabTitle"; "allowSelectAll": "allowSelectAll"; "defineStrategyLabels": "defineStrategyLabels"; }, { "valueChange": "valueChange"; "onDataRequested": "onDataRequested"; "onDataReceived": "onDataReceived"; }, ["filters", "columnDef"], never, false, never>;
244
+ static ɵcmp: i0.ɵɵComponentDeclaration<PlatformValueHelpDialogComponent<any>, "fdp-value-help-dialog", never, { "id": "id"; "value": "value"; "dialogTitle": "dialogTitle"; "initialTab": "initialTab"; "tabs": "tabs"; "isOpenAdvanced": "isOpenAdvanced"; "dataSource": "dataSource"; "dialogConfig": "dialogConfig"; "uniqueKey": "uniqueKey"; "headerId": "headerId"; "tokenViewField": "tokenViewField"; "tokenizerFn": "tokenizerFn"; "mobile": "mobile"; "formatToken": "formatToken"; "conditionDisplayFn": "conditionDisplayFn"; "tokenValidator": "tokenValidator"; "selectTabTitle": "selectTabTitle"; "searchSelection": "searchSelection"; "searchTableEmptyMessage": "searchTableEmptyMessage"; "searchTablePageSize": "searchTablePageSize"; "searchTableMobileHeaders": "searchTableMobileHeaders"; "maxShownInitialFilters": "maxShownInitialFilters"; "loading": "loading"; "defineTabTitle": "defineTabTitle"; "allowSelectAll": "allowSelectAll"; "defineStrategyLabels": "defineStrategyLabels"; }, { "valueChange": "valueChange"; "onDataRequested": "onDataRequested"; "onDataReceived": "onDataReceived"; }, ["filters", "columnDef"], never, false, never>;
240
245
  }