@kris701/ez-ui 1.1.9 → 1.1.11

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.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.0.0",
6
6
  "@angular/core": "^22.0.0"
@@ -308,16 +308,21 @@ 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
+ protected readonly stringifyOption: (item: any) => string;
318
+ stringifyValue: (value: string) => string;
319
+ getOptionLabel(item: any): any;
320
+ getOptionValue(item: any): any;
316
321
  constructor(table: EzUITable);
317
322
  applyFilter(expression: string): void;
318
323
  clearFilter(): void;
319
324
  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>;
325
+ 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
326
  }
322
327
 
323
328
  declare class EzUITableTextFilter {
@@ -337,9 +342,8 @@ declare class EzUITableTextFilter {
337
342
  }
338
343
 
339
344
  declare class EzUIFilterHelpers {
340
- static textFilter(values: any[], fn: (i: string) => boolean, column: string): any[];
345
+ static genericFilter<T>(values: any[], fn: (i: T) => boolean, column: string): any[];
341
346
  static dateFilter(values: any[], fn: (i: Date) => boolean, column: string): any[];
342
- static boolFilter(values: any[], fn: (i: boolean) => boolean, column: string): any[];
343
347
  }
344
348
 
345
349
  interface EzUITableSortFilterPresetSave {