@dsivd/prestations-ng 16.4.8-beta.1 → 16.4.8-beta.3

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.
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
- import { NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import { FoehnInputComponent } from '../foehn-input/foehn-input.component';
5
5
  import { FoehnInputTextComponent } from '../foehn-input/foehn-input-text.component';
@@ -14,7 +14,6 @@ export declare class StreetNumber {
14
14
  }
15
15
  export declare class FoehnInputAddressComponent extends FoehnInputComponent<Address> implements OnInit, OnChanges, OnDestroy {
16
16
  private httpClient;
17
- private ngZone;
18
17
  private dictionaryService;
19
18
  foreignLocalityComponent: FoehnInputForeignLocalityComponent;
20
19
  foreignStreetComponent: FoehnInputForeignStreetComponent;
@@ -59,7 +58,7 @@ export declare class FoehnInputAddressComponent extends FoehnInputComponent<Addr
59
58
  private countryModelChangeSubject;
60
59
  private isOnlySwissChangeSubject;
61
60
  private manageDefaultCountrySubscription;
62
- constructor(httpClient: HttpClient, ngZone: NgZone, dictionaryService: SdkDictionaryService);
61
+ constructor(httpClient: HttpClient, dictionaryService: SdkDictionaryService);
63
62
  identity: <T>(n: T) => T;
64
63
  countryIdentity: (country: Country) => string;
65
64
  localityIdentity: (loc: Locality) => string;
@@ -62,6 +62,7 @@ export declare class FoehnAutocompleteComponent extends FoehnCheckableGroupCompo
62
62
  private readonly SUGGESTION_SELECTED_CLASS;
63
63
  private readonly EXCLUDE_HTML_TAGS_REGEX;
64
64
  private readonly SUGGESTION_CUSTOM_ATTRIBUTE_LABEL_VALUE;
65
+ private readonly REGEX_TO_ESCAPE_REGEX;
65
66
  private userSearchInputSubscription;
66
67
  private userSearchInputSubject;
67
68
  private selectValueToDisplayOnElementsLoadedSubscription;
@@ -119,6 +120,7 @@ export declare class FoehnAutocompleteComponent extends FoehnCheckableGroupCompo
119
120
  private getModelValueDisplayValue;
120
121
  private selectValueToDisplay;
121
122
  private matchValueOnModelChangeSubscription;
123
+ private escapeRegexp;
122
124
  static ɵfac: i0.ɵɵFactoryDeclaration<FoehnAutocompleteComponent, never>;
123
125
  static ɵcmp: i0.ɵɵComponentDeclaration<FoehnAutocompleteComponent, "foehn-autocomplete", never, { "searchValueMinCharsCount": "searchValueMinCharsCount"; "allowCustomValue": "allowCustomValue"; "isSuggestionListDynamic": "isSuggestionListDynamic"; "customValueModelGenerator": "customValueModelGenerator"; "itemHeightInSuggestionListInPx": "itemHeightInSuggestionListInPx"; "elementSuggestionLabel": "elementSuggestionLabel"; "caseSensitiveSearch": "caseSensitiveSearch"; "disabled": "disabled"; }, { "userSearchInput": "userSearchInput"; }, never, ["*"], false, never>;
124
126
  }
@@ -20,9 +20,10 @@ export declare class FoehnListSummaryComponent extends FoehnInputComponent<Foehn
20
20
  tableConfiguration: FoehnTableColumnConfiguration<FoehnListItem>[];
21
21
  tableSort: TableSort;
22
22
  constructor(confirmModalService: FoehnConfirmModalService, ngZone: NgZone);
23
+ trackFoehnListItem: TrackByFunction<FoehnListItem>;
24
+ trackFoehnListItemDescription: TrackByFunction<FoehnListItemDescription>;
23
25
  ngOnChanges(changes: SimpleChanges): void;
24
26
  ngAfterViewInit(): void;
25
- trackByTrackingIndex(): TrackByFunction<FoehnListItem>;
26
27
  showLine(item: FoehnListItem, itemParam: FoehnListItemDescription): boolean;
27
28
  editItem(index?: number): void;
28
29
  removeItem(index: number): void;
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, OnChanges, SimpleChanges, TrackByFunction } from '@angular/core';
2
2
  import { FoehnTableColumnConfiguration } from './foehn-table-column-configuration';
3
3
  import { FoehnTablePageChangeEvent } from './foehn-table-page-change-event';
4
4
  import { TableSort } from './tableSort';
@@ -18,7 +18,8 @@ export declare class FoehnTableComponent implements OnChanges {
18
18
  filteredList: unknown[];
19
19
  private _list;
20
20
  set list(list: unknown[]);
21
- trackByFn: (index: number, item: unknown) => number;
21
+ trackByFn: TrackByFunction<unknown>;
22
+ trackFoehnTableColumnConfiguration: TrackByFunction<FoehnTableColumnConfiguration<unknown>>;
22
23
  ngOnChanges(changes: SimpleChanges): void;
23
24
  previousPage(): void;
24
25
  hasPreviousPage(): boolean;
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "ng-update": {
41
41
  "migrations": "./schematics/migration-collection.json"
42
42
  },
43
- "version": "16.4.8-beta.1",
43
+ "version": "16.4.8-beta.3",
44
44
  "module": "fesm2015/dsivd-prestations-ng.mjs",
45
45
  "es2020": "fesm2020/dsivd-prestations-ng.mjs",
46
46
  "esm2020": "esm2020/dsivd-prestations-ng.mjs",