@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
package/types/kris701-ez-ui.d.ts
CHANGED
|
@@ -308,16 +308,20 @@ declare class EzUITableSelectFilter {
|
|
|
308
308
|
filterApplied: i0.WritableSignal<boolean>;
|
|
309
309
|
filterVisible: i0.WritableSignal<boolean>;
|
|
310
310
|
table: EzUITable;
|
|
311
|
-
|
|
311
|
+
optionLabel: string | undefined;
|
|
312
|
+
optionValue: string | undefined;
|
|
313
|
+
options: any[];
|
|
312
314
|
selected: string[];
|
|
313
315
|
filterType: any;
|
|
314
316
|
filterTypes: any[];
|
|
315
|
-
|
|
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
|
|
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 {
|