ngx-wapp-components 1.26.3 → 1.26.4

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.
@@ -12,6 +12,7 @@ import { SessionStorageService } from '../../shared/services/session-storage.ser
12
12
  import { NullableSelectOption } from '../../shared/models/filter-panel/nullable-select-option.model';
13
13
  import { BooleanSelectOption } from '../../shared/models/filter-panel/boolean-select-option.model';
14
14
  import { QueryBuilderComponent } from 'angular2-query-builder';
15
+ import { TranslatedSelectOption } from '../../shared/models/filter-panel/translated-select-optinon.model';
15
16
  import * as i0 from "@angular/core";
16
17
  export declare class WFilterPanelComponent implements OnInit {
17
18
  private formBuilder;
@@ -89,6 +90,10 @@ export declare class WFilterPanelComponent implements OnInit {
89
90
  name: string;
90
91
  value: number;
91
92
  }[];
93
+ getTranslatedSelectOptions(options: TranslatedSelectOption[]): {
94
+ name: any;
95
+ value: number;
96
+ }[];
92
97
  fieldIsBoolean(fieldName: string, fields: FieldMap): boolean;
93
98
  isMultiselect(rule: Rule): boolean;
94
99
  static ɵfac: i0.ɵɵFactoryDeclaration<WFilterPanelComponent, never>;
@@ -55,7 +55,8 @@ export declare enum QBDataTypeEnum {
55
55
  OperationTypeList = 20,
56
56
  Multiselect = 21,
57
57
  NullableSelect = 22,
58
- BooleanSelect = 23
58
+ BooleanSelect = 23,
59
+ TranslatedSelect = 32
59
60
  }
60
61
  export declare enum OperatorEnum {
61
62
  Equals = "=",
@@ -33,6 +33,9 @@ export interface FilterPanelTranslations {
33
33
  booleanSelectOptions?: {
34
34
  [key: string]: NullableOption;
35
35
  };
36
+ translatedSelectOptions?: {
37
+ [key: string]: any;
38
+ };
36
39
  }
37
40
  export interface NullableOption {
38
41
  isNullOption: string;
@@ -0,0 +1,4 @@
1
+ export interface TranslatedSelectOption {
2
+ name: string;
3
+ value: number;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-wapp-components",
3
- "version": "1.26.3",
3
+ "version": "1.26.4",
4
4
  "description": "This is a Wapping reusable component library published by Wapping.",
5
5
  "keywords": [
6
6
  "code",