@kuzntsv/uikit 1.0.44 → 1.0.46
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
|
@@ -941,12 +941,12 @@ export declare class BaseSignalFilterClass implements OnDestroy {
|
|
|
941
941
|
"filterChange": "filterChange";
|
|
942
942
|
}, never, never, true, never>;
|
|
943
943
|
}
|
|
944
|
-
export declare class BaseSignalPageClass<T> implements OnDestroy {
|
|
944
|
+
export declare abstract class BaseSignalPageClass<T extends BaseSchemaClass> implements OnDestroy {
|
|
945
945
|
protected dialog: MatDialog;
|
|
946
946
|
entityService: any;
|
|
947
|
-
entityType: any;
|
|
948
947
|
entityEditComponent: any;
|
|
949
948
|
extraData?: any;
|
|
949
|
+
protected abstract readonly schema: z.ZodType<T>;
|
|
950
950
|
defaultPageIndex: number;
|
|
951
951
|
defaultPageSize: number;
|
|
952
952
|
dialogEditWidth: string;
|
|
@@ -1063,7 +1063,6 @@ export declare class BaseSignalPageClass<T> implements OnDestroy {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
export declare abstract class BaseSignalServiceClass<T extends BaseSchemaClass> {
|
|
1065
1065
|
abstract baseRoute: string;
|
|
1066
|
-
abstract entityType: any;
|
|
1067
1066
|
protected abstract readonly schema: z.ZodType<T>;
|
|
1068
1067
|
protected countRoute: string;
|
|
1069
1068
|
protected pageIndexParam: string;
|
|
@@ -1169,34 +1168,31 @@ export interface LoggerConfig {
|
|
|
1169
1168
|
}
|
|
1170
1169
|
export declare const LOGGER_CONFIG: InjectionToken<LoggerConfig>;
|
|
1171
1170
|
export declare function provideLogger(config: LoggerConfig): EnvironmentProviders;
|
|
1171
|
+
/** @deprecated */
|
|
1172
1172
|
export interface Deserializable {
|
|
1173
1173
|
deserialize(input: any): this;
|
|
1174
1174
|
}
|
|
1175
|
-
declare
|
|
1176
|
-
id:
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
dept:
|
|
1180
|
-
tabnum:
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
userView: SecUserView | undefined;
|
|
1197
|
-
constructor(init: SecUser);
|
|
1198
|
-
deserialize(input: any): this;
|
|
1199
|
-
}
|
|
1175
|
+
export declare const secUserSchema: z.ZodObject<{
|
|
1176
|
+
id: z.ZodDefault<z.ZodNumber>;
|
|
1177
|
+
login: z.ZodDefault<z.ZodString>;
|
|
1178
|
+
fio: z.ZodDefault<z.ZodString>;
|
|
1179
|
+
dept: z.ZodDefault<z.ZodNumber>;
|
|
1180
|
+
tabnum: z.ZodDefault<z.ZodNumber>;
|
|
1181
|
+
userView: z.ZodOptional<z.ZodObject<{
|
|
1182
|
+
id: z.ZodDefault<z.ZodNumber>;
|
|
1183
|
+
idHuman: z.ZodDefault<z.ZodNumber>;
|
|
1184
|
+
loginAD: z.ZodDefault<z.ZodString>;
|
|
1185
|
+
dept: z.ZodDefault<z.ZodNumber>;
|
|
1186
|
+
tabnum: z.ZodDefault<z.ZodNumber>;
|
|
1187
|
+
lastname: z.ZodDefault<z.ZodString>;
|
|
1188
|
+
firstname: z.ZodDefault<z.ZodString>;
|
|
1189
|
+
middlename: z.ZodDefault<z.ZodString>;
|
|
1190
|
+
fio: z.ZodDefault<z.ZodString>;
|
|
1191
|
+
dateHuman: z.ZodOptional<z.ZodDate>;
|
|
1192
|
+
profession: z.ZodDefault<z.ZodString>;
|
|
1193
|
+
}, z.core.$strip>>;
|
|
1194
|
+
}, z.core.$strip>;
|
|
1195
|
+
export type SecUser = z.infer<typeof secUserSchema>;
|
|
1200
1196
|
export declare class SafePipe implements PipeTransform {
|
|
1201
1197
|
private readonly sanitizer;
|
|
1202
1198
|
transform(url: string | SafeUrl | null | undefined): SafeUrl;
|