@kris701/ez-ui 1.0.9 → 1.1.0
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 +2139 -83
- package/fesm2022/kris701-ez-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/kris701-ez-ui.d.ts +48 -7
package/package.json
CHANGED
package/types/kris701-ez-ui.d.ts
CHANGED
|
@@ -13,15 +13,40 @@ declare class EzUIDateInput implements OnChanges {
|
|
|
13
13
|
min: Date | null;
|
|
14
14
|
max: Date | null;
|
|
15
15
|
TuiDay: typeof TuiDay;
|
|
16
|
-
value: Date |
|
|
17
|
-
valueChange: EventEmitter<
|
|
18
|
-
internalValue: TuiDay | null
|
|
16
|
+
value: Date | null;
|
|
17
|
+
valueChange: EventEmitter<Date | null>;
|
|
18
|
+
internalValue: i0.WritableSignal<TuiDay | null>;
|
|
19
19
|
ngOnChanges(changes: SimpleChanges): void;
|
|
20
20
|
updateValue(): void;
|
|
21
|
+
toTuiDate(date: Date | null): TuiDay | null;
|
|
22
|
+
fromTuiDate(date: TuiDay | null): Date | null;
|
|
21
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<EzUIDateInput, never>;
|
|
22
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<EzUIDateInput, "ezui-dateinput", never, { "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
23
25
|
}
|
|
24
26
|
|
|
27
|
+
declare class EzUIDateTimeInput implements OnChanges {
|
|
28
|
+
icon: string;
|
|
29
|
+
label: string;
|
|
30
|
+
size: "l" | "m" | "s";
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
min: Date | null;
|
|
33
|
+
max: Date | null;
|
|
34
|
+
TuiDay: typeof TuiDay;
|
|
35
|
+
TuiTime: typeof TuiTime;
|
|
36
|
+
showDate: i0.WritableSignal<boolean>;
|
|
37
|
+
value: Date | null;
|
|
38
|
+
valueChange: EventEmitter<Date | null>;
|
|
39
|
+
internalValue: i0.WritableSignal<[TuiDay, TuiTime] | null>;
|
|
40
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
41
|
+
updateValue(): void;
|
|
42
|
+
toTuiDateTime(date: Date | null): [TuiDay, TuiTime] | null;
|
|
43
|
+
fromTuiDateTime(date: [TuiDay, TuiTime] | null): Date | null;
|
|
44
|
+
setHours(value: number): void;
|
|
45
|
+
setMinutes(value: number): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EzUIDateTimeInput, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EzUIDateTimeInput, "ezui-datetimeinput", never, { "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
48
|
+
}
|
|
49
|
+
|
|
25
50
|
declare class EzUIFileInput {
|
|
26
51
|
files: i0.WritableSignal<File[]>;
|
|
27
52
|
clear(): void;
|
|
@@ -31,6 +56,22 @@ declare class EzUIFileInput {
|
|
|
31
56
|
static ɵcmp: i0.ɵɵComponentDeclaration<EzUIFileInput, "ezui-fileinput", never, {}, {}, never, never, true, never>;
|
|
32
57
|
}
|
|
33
58
|
|
|
59
|
+
declare class EzUIIconSelector implements OnChanges {
|
|
60
|
+
currentOptions: string[];
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
size: "l" | "m" | "s";
|
|
63
|
+
open: i0.WritableSignal<boolean>;
|
|
64
|
+
selected: string;
|
|
65
|
+
selectedChange: EventEmitter<string>;
|
|
66
|
+
lucideicons: string[];
|
|
67
|
+
constructor();
|
|
68
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
69
|
+
doSearch(text: string | null | undefined): void;
|
|
70
|
+
setIcon(value: string): void;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EzUIIconSelector, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EzUIIconSelector, "ezui-iconselector", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
73
|
+
}
|
|
74
|
+
|
|
34
75
|
interface MenuBarItem {
|
|
35
76
|
label: string | null;
|
|
36
77
|
icon: string | null;
|
|
@@ -335,7 +376,7 @@ declare abstract class BaseCRUDInterface {
|
|
|
335
376
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseCRUDInterface, never, never, {}, {}, never, never, true, never>;
|
|
336
377
|
}
|
|
337
378
|
|
|
338
|
-
declare class
|
|
379
|
+
declare class BaseListInterface<T, TList extends IIdentifiable> {
|
|
339
380
|
http: HttpClient;
|
|
340
381
|
items: i0.WritableSignal<TList[]>;
|
|
341
382
|
getAllEndpoint: string;
|
|
@@ -349,12 +390,12 @@ declare class BaseListService<T, TList extends IIdentifiable> {
|
|
|
349
390
|
ListGet(id: string): Promise<TList | null>;
|
|
350
391
|
Get(id: string): Promise<T>;
|
|
351
392
|
waitForValue(test: any): Promise<void>;
|
|
352
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
353
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
393
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseListInterface<any, any>, never>;
|
|
394
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseListInterface<any, any>, never, never, {}, {}, never, never, true, never>;
|
|
354
395
|
}
|
|
355
396
|
interface IIdentifiable {
|
|
356
397
|
id: string;
|
|
357
398
|
}
|
|
358
399
|
|
|
359
|
-
export { BaseCRUDInterface,
|
|
400
|
+
export { BaseCRUDInterface, BaseListInterface, EzUIDateInput, EzUIDateTimeInput, EzUIFileInput, EzUIFilterHelpers, EzUIIconSelector, EzUIMarkdownEditor, EzUIMenuBar, EzUIMenuBarSubDataList, EzUIMultiSelect, EzUINumberInput, EzUIPasswordInput, EzUITTableSortableColumn, EzUITable, EzUITableDateFilter, EzUITableFilterService, EzUITableSelectFilter, EzUITableTextFilter, EzUITextInput, compressImage };
|
|
360
401
|
export type { EzUITableFilter, EzUITableFilterMethod, EzUITableSort, EzUITableSortFilterPreset, EzUITableSortFilterPresetSave, EzUITableSortMethod, IIdentifiable, MenuBarItem };
|