@stemy/ngx-utils 19.9.34 → 19.9.36
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.
|
@@ -665,7 +665,7 @@ export interface IConfigService {
|
|
|
665
665
|
export type ResizeEventStrategy = "scroll" | "object" | "observer";
|
|
666
666
|
export type ErrorHandlerCallback = (error: string) => any;
|
|
667
667
|
export type GlobalComponentModifier = (component: any) => any;
|
|
668
|
-
export type AppInitializerFunc = () => Promise<
|
|
668
|
+
export type AppInitializerFunc = () => Observable<unknown> | Promise<unknown> | void;
|
|
669
669
|
export interface IModuleConfig {
|
|
670
670
|
apiService?: Type<IApiService>;
|
|
671
671
|
authService?: Type<IAuthService>;
|
|
@@ -678,7 +678,7 @@ export interface IModuleConfig {
|
|
|
678
678
|
iconType?: Type<IconProps>;
|
|
679
679
|
iconMap?: IconMap;
|
|
680
680
|
buttonType?: Type<ButtonProps>;
|
|
681
|
-
initializeApp?:
|
|
681
|
+
initializeApp?: AppInitializerFunc;
|
|
682
682
|
baseUrl?: (injector: Injector) => string;
|
|
683
683
|
resizeDelay?: number;
|
|
684
684
|
resizeStrategy?: ResizeEventStrategy;
|
|
@@ -78,6 +78,7 @@ import * as i74 from "@angular/forms";
|
|
|
78
78
|
export declare function loadBaseUrl(): string;
|
|
79
79
|
export declare function loadBaseHref(baseUrl: string): string;
|
|
80
80
|
export declare function getRootElement(): HTMLElement;
|
|
81
|
+
export declare function defaultAppInitializer(): Promise<any>;
|
|
81
82
|
export declare class NgxUtilsModule {
|
|
82
83
|
private static getProviders;
|
|
83
84
|
static forRoot(config?: IModuleConfig): ModuleWithProviders<NgxUtilsModule>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stemy/ngx-utils",
|
|
3
|
-
"version": "19.9.
|
|
3
|
+
"version": "19.9.36",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"public": true,
|
|
6
6
|
"repository": "https://github.com/stemyke/ngx-utils.git",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"@angular/platform-browser-dynamic": "^19.2.22",
|
|
17
17
|
"@angular/platform-server": "^19.2.22",
|
|
18
18
|
"element-resize-detector": "^1.2.4",
|
|
19
|
+
"file-saver": "^2.0.5",
|
|
19
20
|
"hammerjs": "^2.0.8",
|
|
20
21
|
"core-js": "^3.49.0",
|
|
21
22
|
"socket.io-client": "^4.8.3",
|