@stemy/ngx-utils 13.0.3 → 13.0.4

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.
@@ -298,6 +298,7 @@ export interface IModuleConfig {
298
298
  configService?: Type<IConfigService>;
299
299
  globalTemplates?: Type<IGlobalTemplates>;
300
300
  initializeApp?: (injector: Injector) => AppInitializerFunc;
301
+ baseHref?: (injector: Injector) => string;
301
302
  }
302
303
  export declare class ValuedPromise<T> extends Promise<T> {
303
304
  value: T;
@@ -43,6 +43,7 @@ import * as i39 from "./components/pagination-menu/pagination-menu.component";
43
43
  import * as i40 from "./components/unordered-list/unordered-list.component";
44
44
  import * as i41 from "@angular/common";
45
45
  import * as i42 from "@angular/forms";
46
+ export declare function loadBaseHref(): string;
46
47
  export declare class NgxUtilsModule {
47
48
  static forRoot(config?: IModuleConfig): ModuleWithProviders<NgxUtilsModule>;
48
49
  constructor();
@@ -6,6 +6,7 @@ export declare class ConfigService implements IConfigService {
6
6
  readonly http: HttpClient;
7
7
  readonly universal: UniversalService;
8
8
  readonly rootElement: any;
9
+ readonly baseHref: string;
9
10
  protected baseConfig: IConfiguration;
10
11
  protected loadedConfig: IConfiguration;
11
12
  protected scriptParameters: any;
@@ -14,7 +15,7 @@ export declare class ConfigService implements IConfigService {
14
15
  get load(): () => Promise<IConfiguration>;
15
16
  get config(): IConfiguration;
16
17
  get configUrl(): string;
17
- constructor(http: HttpClient, universal: UniversalService, rootElement: any, baseConfig?: IConfiguration, scriptParams?: any);
18
+ constructor(http: HttpClient, universal: UniversalService, rootElement: any, baseHref: string, baseConfig?: IConfiguration, scriptParams?: any);
18
19
  protected parseDomain(baseUrl: string): string;
19
20
  protected initService(): void;
20
21
  protected loadJson(): Promise<IConfiguration>;
@@ -22,6 +23,6 @@ export declare class ConfigService implements IConfigService {
22
23
  prepareUrl(url: string, ending: string): string;
23
24
  getConfigValue(key: string): any;
24
25
  getQueryParameter(name: string, url?: string): string;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, [null, null, null, { optional: true; }, { optional: true; }]>;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, [null, null, null, null, { optional: true; }, { optional: true; }]>;
26
27
  static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
27
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stemy/ngx-utils",
3
- "version": "13.0.3",
3
+ "version": "13.0.4",
4
4
  "license": "MIT",
5
5
  "public": true,
6
6
  "repository": "https://github.com/stemyke/ngx-utils.git",