@kris701/ez-ui 1.1.8 → 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/fesm2022/kris701-ez-ui.mjs +144 -39
- package/fesm2022/kris701-ez-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/kris701-ez-ui.d.ts +21 -6
package/package.json
CHANGED
package/types/kris701-ez-ui.d.ts
CHANGED
|
@@ -5,6 +5,18 @@ import { HttpClient } from '@angular/common/http';
|
|
|
5
5
|
import { TuiResponsiveDialogService } from '@taiga-ui/addon-mobile';
|
|
6
6
|
import { TuiNotificationService } from '@taiga-ui/core';
|
|
7
7
|
|
|
8
|
+
declare class EzUIBooleanInput implements OnChanges {
|
|
9
|
+
icon: string;
|
|
10
|
+
label: string;
|
|
11
|
+
size: "l" | "m" | "s";
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
value: boolean | null;
|
|
14
|
+
valueChange: EventEmitter<boolean | null>;
|
|
15
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EzUIBooleanInput, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EzUIBooleanInput, "ezui-booleaninput", never, { "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
|
|
8
20
|
declare class EzUIDateInput implements OnChanges {
|
|
9
21
|
icon: string;
|
|
10
22
|
label: string;
|
|
@@ -296,16 +308,20 @@ declare class EzUITableSelectFilter {
|
|
|
296
308
|
filterApplied: i0.WritableSignal<boolean>;
|
|
297
309
|
filterVisible: i0.WritableSignal<boolean>;
|
|
298
310
|
table: EzUITable;
|
|
299
|
-
|
|
311
|
+
optionLabel: string | undefined;
|
|
312
|
+
optionValue: string | undefined;
|
|
313
|
+
options: any[];
|
|
300
314
|
selected: string[];
|
|
301
315
|
filterType: any;
|
|
302
316
|
filterTypes: any[];
|
|
303
|
-
|
|
317
|
+
stringify: (value: string) => string;
|
|
318
|
+
getOptionLabel(item: any): any;
|
|
319
|
+
getOptionValue(item: any): any;
|
|
304
320
|
constructor(table: EzUITable);
|
|
305
321
|
applyFilter(expression: string): void;
|
|
306
322
|
clearFilter(): void;
|
|
307
323
|
static ɵfac: i0.ɵɵFactoryDeclaration<EzUITableSelectFilter, never>;
|
|
308
|
-
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>;
|
|
309
325
|
}
|
|
310
326
|
|
|
311
327
|
declare class EzUITableTextFilter {
|
|
@@ -325,9 +341,8 @@ declare class EzUITableTextFilter {
|
|
|
325
341
|
}
|
|
326
342
|
|
|
327
343
|
declare class EzUIFilterHelpers {
|
|
328
|
-
static
|
|
344
|
+
static genericFilter<T>(values: any[], fn: (i: T) => boolean, column: string): any[];
|
|
329
345
|
static dateFilter(values: any[], fn: (i: Date) => boolean, column: string): any[];
|
|
330
|
-
static boolFilter(values: any[], fn: (i: boolean) => boolean, column: string): any[];
|
|
331
346
|
}
|
|
332
347
|
|
|
333
348
|
interface EzUITableSortFilterPresetSave {
|
|
@@ -453,5 +468,5 @@ declare class EzUILayoutService {
|
|
|
453
468
|
saveState(): void;
|
|
454
469
|
}
|
|
455
470
|
|
|
456
|
-
export { BaseCRUDInterface, BaseListInterface, EzUIDateInput, EzUIDateTimeInput, EzUIFileInput, EzUIFilterHelpers, EzUIIconSelector, EzUILayout, EzUILayoutService, EzUIMarkdownEditor, EzUIMenuBar, EzUIMenuBarSubDataList, EzUIMultiSelect, EzUINumberInput, EzUIPasswordInput, EzUITTableSortableColumn, EzUITable, EzUITableBooleanFilter, EzUITableDateFilter, EzUITableFilterService, EzUITableSelectFilter, EzUITableTextFilter, EzUITextInput, compressImage };
|
|
471
|
+
export { BaseCRUDInterface, BaseListInterface, EzUIBooleanInput, EzUIDateInput, EzUIDateTimeInput, EzUIFileInput, EzUIFilterHelpers, EzUIIconSelector, EzUILayout, EzUILayoutService, EzUIMarkdownEditor, EzUIMenuBar, EzUIMenuBarSubDataList, EzUIMultiSelect, EzUINumberInput, EzUIPasswordInput, EzUITTableSortableColumn, EzUITable, EzUITableBooleanFilter, EzUITableDateFilter, EzUITableFilterService, EzUITableSelectFilter, EzUITableTextFilter, EzUITextInput, compressImage };
|
|
457
472
|
export type { EzUITableFilter, EzUITableFilterMethod, EzUITableSort, EzUITableSortFilterPreset, EzUITableSortFilterPresetSave, EzUITableSortMethod, IIdentifiable, MenuBarItem, MenuItem };
|