@kuzntsv/uikit 1.0.57 → 1.0.59
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
|
@@ -1026,11 +1026,11 @@ export declare abstract class BaseSignalPageClass<T extends BaseSchemaClass, F e
|
|
|
1026
1026
|
allowMultiSelect: boolean;
|
|
1027
1027
|
/** Выбранные строки в таблице. */
|
|
1028
1028
|
selected: T[];
|
|
1029
|
-
protected fnGetData:
|
|
1030
|
-
protected fnGetCount:
|
|
1031
|
-
protected fnMapEntity:
|
|
1032
|
-
protected dataResource: import("@angular/core").Signal<import("@angular/common/http").HttpResourceRef<T[]
|
|
1033
|
-
protected countResource: import("@angular/core").Signal<import("@angular/common/http").HttpResourceRef<number
|
|
1029
|
+
protected abstract fnGetData: fnGetDataResType<T>;
|
|
1030
|
+
protected abstract fnGetCount: fnGetCountResType<T>;
|
|
1031
|
+
protected abstract fnMapEntity: fnMapEntityType<T> | undefined;
|
|
1032
|
+
protected dataResource: import("@angular/core").Signal<import("@angular/common/http").HttpResourceRef<T[]>>;
|
|
1033
|
+
protected countResource: import("@angular/core").Signal<import("@angular/common/http").HttpResourceRef<number>>;
|
|
1034
1034
|
/** Данные для табличного компонента. */
|
|
1035
1035
|
data: import("@angular/core").Signal<T[]>;
|
|
1036
1036
|
/** Количество записей по фильтру. */
|
|
@@ -1054,8 +1054,9 @@ export declare abstract class BaseSignalPageClass<T extends BaseSchemaClass, F e
|
|
|
1054
1054
|
/** Объект для отписки (вызывается метод unsubscribe при уничтожении компонента). */
|
|
1055
1055
|
subscription: Subscription;
|
|
1056
1056
|
private getInitialFilters;
|
|
1057
|
+
/** Разово прочитать сохраненные значения из localStorage при старте страницы,
|
|
1058
|
+
* провалидировать их через Zod-схему и записать в сигнал filters */
|
|
1057
1059
|
protected initFilters(): void;
|
|
1058
|
-
private trackFilterChanges;
|
|
1059
1060
|
clearEvent(): void;
|
|
1060
1061
|
private getInitialFilters2;
|
|
1061
1062
|
filters: import("@angular/core").WritableSignal<F>;
|
|
@@ -1067,7 +1068,6 @@ export declare abstract class BaseSignalPageClass<T extends BaseSchemaClass, F e
|
|
|
1067
1068
|
tableState: import("@angular/core").WritableSignal<ITableState>;
|
|
1068
1069
|
constructor();
|
|
1069
1070
|
ngOnDestroy(): void;
|
|
1070
|
-
subscribeToLoadData(fnGetData: fnGetDataResType<T>, fnGetCount: fnGetCountResType<T>, fnMapEntity?: fnMapEntityType<T>): void;
|
|
1071
1071
|
/** Установка значение фильтра.
|
|
1072
1072
|
* @param key - имя фильтра.
|
|
1073
1073
|
* @param value - значение.
|