@dsivd/prestations-ng 15.4.0 → 15.4.2-BETA1

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.
@@ -24,6 +24,11 @@ export declare class FoehnAutocompleteComponent extends FoehnCheckableGroupCompo
24
24
  */
25
25
  customValueModelGenerator: (input: string) => any;
26
26
  itemHeightInSuggestionListInPx: number;
27
+ /**
28
+ * The suggestion label used in the displayed list. Can be a string or a function
29
+ * fallback on 'elementLabel'
30
+ */
31
+ elementSuggestionLabel: any;
27
32
  inputValue: string;
28
33
  searchValue: string;
29
34
  inputHasFocus: boolean;
@@ -41,7 +46,9 @@ export declare class FoehnAutocompleteComponent extends FoehnCheckableGroupCompo
41
46
  private activeDescendantId;
42
47
  private onInitSubscription;
43
48
  private modelChangeSubscription;
44
- private SUGGESTION_SELECTED_CLASS;
49
+ private readonly SUGGESTION_SELECTED_CLASS;
50
+ private readonly EXCLUDE_HTML_TAGS_REGEX;
51
+ private readonly SUGGESTION_CUSTOM_ATTRIBUTE_LABEL_VALUE;
45
52
  constructor(zone: NgZone);
46
53
  ngOnInit(): void;
47
54
  ngOnDestroy(): void;
@@ -55,6 +62,7 @@ export declare class FoehnAutocompleteComponent extends FoehnCheckableGroupCompo
55
62
  onListOptionFocus(): void;
56
63
  onListOptionBlur(): void;
57
64
  filterElements(hideSuggestions?: boolean): void;
65
+ getSuggestionLabel(element: any): string;
58
66
  getLabelWithEmphasis(elem: any): string;
59
67
  onClear(): void;
60
68
  displayClearButton(): Observable<boolean>;
@@ -89,5 +97,5 @@ export declare class FoehnAutocompleteComponent extends FoehnCheckableGroupCompo
89
97
  private getCustomValue;
90
98
  private getModelValueDisplayValue;
91
99
  static ɵfac: i0.ɵɵFactoryDeclaration<FoehnAutocompleteComponent, never>;
92
- static ɵcmp: i0.ɵɵComponentDeclaration<FoehnAutocompleteComponent, "foehn-autocomplete", never, { "searchValueMinCharsCount": "searchValueMinCharsCount"; "allowCustomValue": "allowCustomValue"; "customValueModelGenerator": "customValueModelGenerator"; "itemHeightInSuggestionListInPx": "itemHeightInSuggestionListInPx"; }, {}, never, ["*"]>;
100
+ static ɵcmp: i0.ɵɵComponentDeclaration<FoehnAutocompleteComponent, "foehn-autocomplete", never, { "searchValueMinCharsCount": "searchValueMinCharsCount"; "allowCustomValue": "allowCustomValue"; "customValueModelGenerator": "customValueModelGenerator"; "itemHeightInSuggestionListInPx": "itemHeightInSuggestionListInPx"; "elementSuggestionLabel": "elementSuggestionLabel"; }, {}, never, ["*"]>;
93
101
  }
@@ -52,8 +52,8 @@ export declare abstract class FoehnCheckableGroupComponent extends FoehnInputCom
52
52
  protected findIndexInModel(value: any): number;
53
53
  protected areValuesEquals(value1: any, value2: any): boolean;
54
54
  protected onElementsRetrieved(): void;
55
+ protected getNestedProperty(obj: any, key: string): any;
55
56
  private getGroupedElements;
56
- private getNestedProperty;
57
57
  private getValueIdentityFunction;
58
58
  private fetchData;
59
59
  private fetchElementsFromUrl;
package/package.json CHANGED
@@ -17,11 +17,11 @@
17
17
  "peerDependencies": {
18
18
  "@angular/common": "^13.1.0",
19
19
  "@angular/core": "^13.1.0",
20
- "@fortawesome/angular-fontawesome": "^0.10.0",
21
- "@fortawesome/fontawesome-free": "^5.0.0",
22
- "@fortawesome/fontawesome-svg-core": "^1.0.0",
23
- "@fortawesome/free-regular-svg-icons": "^5.0.0",
24
- "@fortawesome/free-solid-svg-icons": "^5.0.0",
20
+ "@fortawesome/angular-fontawesome": "~0.10.1",
21
+ "@fortawesome/fontawesome-free": "^6.2.0",
22
+ "@fortawesome/fontawesome-svg-core": "^6.2.0",
23
+ "@fortawesome/free-regular-svg-icons": "^6.2.0",
24
+ "@fortawesome/free-solid-svg-icons": "^6.2.0",
25
25
  "@dsivd/foehn": "1.8.4",
26
26
  "rxjs": "~7.4.0",
27
27
  "core-js": "~3.23.3",
@@ -36,7 +36,7 @@
36
36
  "ng-update": {
37
37
  "migrations": "./schematics/migration-collection.json"
38
38
  },
39
- "version": "15.4.0",
39
+ "version": "15.4.2-BETA1",
40
40
  "module": "fesm2015/dsivd-prestations-ng.mjs",
41
41
  "es2020": "fesm2020/dsivd-prestations-ng.mjs",
42
42
  "esm2020": "esm2020/dsivd-prestations-ng.mjs",
Binary file