@kris701/ez-ui 1.1.9 → 1.1.10

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": "@kris701/ez-ui",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.0.0",
6
6
  "@angular/core": "^22.0.0"
@@ -308,16 +308,20 @@ declare class EzUITableSelectFilter {
308
308
  filterApplied: i0.WritableSignal<boolean>;
309
309
  filterVisible: i0.WritableSignal<boolean>;
310
310
  table: EzUITable;
311
- options: string[];
311
+ optionLabel: string | undefined;
312
+ optionValue: string | undefined;
313
+ options: any[];
312
314
  selected: string[];
313
315
  filterType: any;
314
316
  filterTypes: any[];
315
- protected readonly stringify: (item: any) => string;
317
+ stringify: (value: string) => string;
318
+ getOptionLabel(item: any): any;
319
+ getOptionValue(item: any): any;
316
320
  constructor(table: EzUITable);
317
321
  applyFilter(expression: string): void;
318
322
  clearFilter(): void;
319
323
  static ɵfac: i0.ɵɵFactoryDeclaration<EzUITableSelectFilter, never>;
320
- static ɵcmp: i0.ɵɵComponentDeclaration<EzUITableSelectFilter, "ezui-table-selectfilter", never, { "column": { "alias": "column"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
324
+ static ɵcmp: i0.ɵɵComponentDeclaration<EzUITableSelectFilter, "ezui-table-selectfilter", never, { "column": { "alias": "column"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
321
325
  }
322
326
 
323
327
  declare class EzUITableTextFilter {
@@ -337,9 +341,8 @@ declare class EzUITableTextFilter {
337
341
  }
338
342
 
339
343
  declare class EzUIFilterHelpers {
340
- static textFilter(values: any[], fn: (i: string) => boolean, column: string): any[];
344
+ static genericFilter<T>(values: any[], fn: (i: T) => boolean, column: string): any[];
341
345
  static dateFilter(values: any[], fn: (i: Date) => boolean, column: string): any[];
342
- static boolFilter(values: any[], fn: (i: boolean) => boolean, column: string): any[];
343
346
  }
344
347
 
345
348
  interface EzUITableSortFilterPresetSave {