@dsivd/prestations-ng 19.2.0-beta.2 → 19.2.0-beta.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.
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "ng-update": {
41
41
  "migrations": "./schematics/migration-collection.json"
42
42
  },
43
- "version": "19.2.0-beta.2",
43
+ "version": "19.2.0-beta.4",
44
44
  "module": "fesm2022/dsivd-prestations-ng.mjs",
45
45
  "typings": "types/dsivd-prestations-ng.d.ts",
46
46
  "exports": {
@@ -2599,7 +2599,7 @@ declare class PendingUploadService {
2599
2599
 
2600
2600
  declare class FoehnMultiUploadComponent extends AbstractFoehnUploaderComponent<DocumentReference[]> implements OnInit, OnDestroy {
2601
2601
  readonly url: _angular_core.InputSignal<string>;
2602
- readonly reference: _angular_core.InputSignal<string | undefined>;
2602
+ readonly reference: _angular_core.InputSignal<string | null | undefined>;
2603
2603
  multiUploadService: MultiUploadService;
2604
2604
  pendingUploadService: PendingUploadService;
2605
2605
  protected pageUploadLimitService: PageUploadLimitService;
@@ -3195,37 +3195,37 @@ declare class FoehnErrorPillComponent {
3195
3195
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnErrorPillComponent, "foehn-error-pill", never, { "errorPrefix": { "alias": "errorPrefix"; "required": false; "isSignal": true; }; "incompleteIndicatorOnly": { "alias": "incompleteIndicatorOnly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3196
3196
  }
3197
3197
 
3198
- interface FoehnListItemDescription {
3198
+ interface FoehnListItemDescription<T> {
3199
3199
  label: string;
3200
- hideIfEmpty?(item: FoehnListItem): boolean;
3201
- getFormattedValue(item: FoehnListItem): string;
3200
+ hideIfEmpty?(item: T): boolean;
3201
+ getFormattedValue(item: T): string;
3202
3202
  }
3203
3203
 
3204
- declare class FoehnListSummaryComponent extends FoehnInputComponent<FoehnListItem[]> implements AfterViewInit, OnChanges {
3205
- readonly getListItemTitle: _angular_core.InputSignal<((item: FoehnListItem) => string | null | undefined) | undefined>;
3206
- readonly listItemDescriptions: _angular_core.InputSignal<FoehnListItemDescription[]>;
3204
+ declare class FoehnListSummaryComponent<T extends FoehnListItem> extends FoehnInputComponent<T[]> implements AfterViewInit, OnChanges {
3205
+ readonly getListItemTitle: _angular_core.InputSignal<((item: T) => string | null | undefined) | undefined>;
3206
+ readonly listItemDescriptions: _angular_core.InputSignal<FoehnListItemDescription<T>[]>;
3207
3207
  readonly showAsTable: _angular_core.InputSignal<boolean>;
3208
3208
  readonly tableActionButtons: _angular_core.Signal<TemplateRef<unknown> | undefined>;
3209
3209
  readonly canAddItems: _angular_core.InputSignal<boolean>;
3210
3210
  readonly itemRemoved: _angular_core.OutputEmitterRef<void>;
3211
3211
  readonly itemEdit: _angular_core.OutputEmitterRef<number | null>;
3212
- listCopyForTable: FoehnListItem[] | null | undefined;
3213
- tableConfiguration: FoehnTableColumnConfiguration<FoehnListItem>[];
3212
+ listCopyForTable: T[] | null | undefined;
3213
+ tableConfiguration: FoehnTableColumnConfiguration<T>[];
3214
3214
  tableSort: TableSort;
3215
3215
  private readonly confirmModalService;
3216
3216
  private readonly ngZone;
3217
- trackFoehnListItem: TrackByFunction<FoehnListItem>;
3218
- trackFoehnListItemDescription: TrackByFunction<FoehnListItemDescription>;
3217
+ trackFoehnListItem: TrackByFunction<T>;
3218
+ trackFoehnListItemDescription: TrackByFunction<FoehnListItemDescription<T>>;
3219
3219
  ngOnChanges(changes: SimpleChanges): void;
3220
3220
  ngAfterViewInit(): void;
3221
- showLine(item: FoehnListItem, itemParam: FoehnListItemDescription): boolean;
3221
+ showLine(item: T, itemParam: FoehnListItemDescription<T>): boolean;
3222
3222
  editItem(index?: number | null): void;
3223
3223
  removeItem(index: number): void;
3224
3224
  changeSort(sortEvent: TableSort | undefined): void;
3225
3225
  private sortNow;
3226
3226
  private updateListCopyForTable;
3227
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnListSummaryComponent, never>;
3228
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnListSummaryComponent, "foehn-list-summary", never, { "getListItemTitle": { "alias": "getListItemTitle"; "required": false; "isSignal": true; }; "listItemDescriptions": { "alias": "listItemDescriptions"; "required": false; "isSignal": true; }; "showAsTable": { "alias": "showAsTable"; "required": false; "isSignal": true; }; "canAddItems": { "alias": "canAddItems"; "required": false; "isSignal": true; }; }, { "itemRemoved": "itemRemoved"; "itemEdit": "itemEdit"; }, never, never, true, never>;
3227
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnListSummaryComponent<any>, never>;
3228
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnListSummaryComponent<any>, "foehn-list-summary", never, { "getListItemTitle": { "alias": "getListItemTitle"; "required": false; "isSignal": true; }; "listItemDescriptions": { "alias": "listItemDescriptions"; "required": false; "isSignal": true; }; "showAsTable": { "alias": "showAsTable"; "required": false; "isSignal": true; }; "canAddItems": { "alias": "canAddItems"; "required": false; "isSignal": true; }; }, { "itemRemoved": "itemRemoved"; "itemEdit": "itemEdit"; }, never, never, true, never>;
3229
3229
  }
3230
3230
 
3231
3231
  declare class FoehnMenuItemComponent {