@igo2/core 1.7.2 → 1.9.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/__ivy_ngcc__/locale/en.auth.json +5 -1
- package/__ivy_ngcc__/locale/en.common.json +43 -43
- package/__ivy_ngcc__/locale/en.core.json +23 -23
- package/__ivy_ngcc__/locale/en.geo.json +36 -8
- package/__ivy_ngcc__/locale/en.integration.json +31 -3
- package/__ivy_ngcc__/locale/en.json +70 -11
- package/__ivy_ngcc__/locale/fr.auth.json +4 -1
- package/__ivy_ngcc__/locale/fr.common.json +43 -43
- package/__ivy_ngcc__/locale/fr.core.json +23 -23
- package/__ivy_ngcc__/locale/fr.geo.json +37 -9
- package/__ivy_ngcc__/locale/fr.integration.json +33 -4
- package/__ivy_ngcc__/locale/fr.json +71 -12
- package/bundles/igo2-core.umd.js +1492 -1422
- package/bundles/igo2-core.umd.js.map +1 -1
- package/esm2015/igo2-core.js +5 -5
- package/esm2015/lib/activity/activity.interceptor.js +30 -31
- package/esm2015/lib/activity/activity.module.js +30 -29
- package/esm2015/lib/activity/activity.service.js +33 -33
- package/esm2015/lib/activity/index.js +3 -3
- package/esm2015/lib/analytics/index.js +2 -2
- package/esm2015/lib/analytics/shared/analytics.interface.js +2 -1
- package/esm2015/lib/analytics/shared/analytics.service.js +74 -75
- package/esm2015/lib/analytics/shared/index.js +3 -3
- package/esm2015/lib/config/config.interface.js +2 -1
- package/esm2015/lib/config/config.module.js +23 -22
- package/esm2015/lib/config/config.provider.js +21 -21
- package/esm2015/lib/config/config.service.js +52 -52
- package/esm2015/lib/config/index.js +4 -4
- package/esm2015/lib/config/version.js +5 -5
- package/esm2015/lib/core.module.js +71 -72
- package/esm2015/lib/gesture/gesture.module.js +30 -29
- package/esm2015/lib/gesture/gesture.provider.js +16 -17
- package/esm2015/lib/language/index.js +2 -2
- package/esm2015/lib/language/language.module.js +41 -40
- package/esm2015/lib/language/shared/index.js +5 -5
- package/esm2015/lib/language/shared/language.interface.js +2 -1
- package/esm2015/lib/language/shared/language.loader.js +28 -28
- package/esm2015/lib/language/shared/language.provider.js +22 -22
- package/esm2015/lib/language/shared/language.service.js +28 -29
- package/esm2015/lib/language/shared/missing-translation.guard.js +16 -16
- package/esm2015/lib/media/index.js +3 -3
- package/esm2015/lib/media/media.enum.js +12 -12
- package/esm2015/lib/media/media.service.js +76 -76
- package/esm2015/lib/message/index.js +3 -3
- package/esm2015/lib/message/message-center/index.js +2 -2
- package/esm2015/lib/message/message-center/message-center.component.js +43 -43
- package/esm2015/lib/message/message.module.js +27 -26
- package/esm2015/lib/message/shared/index.js +4 -4
- package/esm2015/lib/message/shared/message.enum.js +8 -8
- package/esm2015/lib/message/shared/message.interface.js +2 -1
- package/esm2015/lib/message/shared/message.service.js +130 -124
- package/esm2015/lib/network/index.js +3 -3
- package/esm2015/lib/network/network.interfaces.js +2 -1
- package/esm2015/lib/network/network.service.js +59 -60
- package/esm2015/lib/request/error.interceptor.js +62 -63
- package/esm2015/lib/request/error.module.js +39 -38
- package/esm2015/lib/request/index.js +3 -3
- package/esm2015/lib/request/logging.interceptor.js +29 -29
- package/esm2015/lib/request/logging.module.js +30 -29
- package/esm2015/lib/route/route.interface.js +2 -1
- package/esm2015/lib/route/route.service.js +55 -56
- package/esm2015/lib/storage/index.js +3 -3
- package/esm2015/lib/storage/storage.interface.js +13 -13
- package/esm2015/lib/storage/storage.service.js +79 -80
- package/esm2015/public_api.js +26 -26
- package/fesm2015/igo2-core.js +1029 -1008
- package/fesm2015/igo2-core.js.map +1 -1
- package/igo2-core.d.ts +5 -5
- package/lib/activity/activity.interceptor.d.ts +11 -11
- package/lib/activity/activity.module.d.ts +8 -7
- package/lib/activity/activity.service.d.ts +11 -11
- package/lib/activity/index.d.ts +2 -2
- package/lib/analytics/index.d.ts +1 -1
- package/lib/analytics/shared/analytics.interface.d.ts +6 -6
- package/lib/analytics/shared/analytics.service.d.ts +19 -19
- package/lib/analytics/shared/index.d.ts +2 -2
- package/lib/config/config.interface.d.ts +6 -6
- package/lib/config/config.module.d.ts +8 -7
- package/lib/config/config.provider.d.ts +15 -15
- package/lib/config/config.service.d.ts +18 -18
- package/lib/config/index.d.ts +3 -3
- package/lib/config/version.d.ts +5 -5
- package/lib/core.module.d.ts +18 -17
- package/lib/gesture/gesture.module.d.ts +9 -8
- package/lib/gesture/gesture.provider.d.ts +7 -7
- package/lib/language/index.d.ts +1 -1
- package/lib/language/language.module.d.ts +9 -8
- package/lib/language/shared/index.d.ts +4 -4
- package/lib/language/shared/language.interface.d.ts +3 -3
- package/lib/language/shared/language.loader.d.ts +11 -11
- package/lib/language/shared/language.provider.d.ts +15 -15
- package/lib/language/shared/language.service.d.ts +11 -11
- package/lib/language/shared/missing-translation.guard.d.ts +4 -4
- package/lib/media/index.d.ts +2 -2
- package/lib/media/media.enum.d.ts +9 -9
- package/lib/media/media.service.d.ts +16 -16
- package/lib/message/index.d.ts +2 -2
- package/lib/message/message-center/index.d.ts +1 -1
- package/lib/message/message-center/message-center.component.d.ts +19 -19
- package/lib/message/message.module.d.ts +11 -10
- package/lib/message/shared/index.d.ts +4 -4
- package/lib/message/shared/message.enum.d.ts +6 -6
- package/lib/message/shared/message.interface.d.ts +18 -17
- package/lib/message/shared/message.service.d.ts +25 -24
- package/lib/network/index.d.ts +2 -2
- package/lib/network/network.interfaces.d.ts +3 -3
- package/lib/network/network.service.d.ts +20 -20
- package/lib/request/error.interceptor.d.ts +16 -16
- package/lib/request/error.module.d.ts +9 -8
- package/lib/request/index.d.ts +2 -2
- package/lib/request/logging.interceptor.d.ts +8 -8
- package/lib/request/logging.module.d.ts +8 -7
- package/lib/route/route.interface.d.ts +22 -22
- package/lib/route/route.service.d.ts +18 -18
- package/lib/storage/index.d.ts +2 -2
- package/lib/storage/storage.interface.d.ts +20 -20
- package/lib/storage/storage.service.d.ts +19 -19
- package/locale/en.auth.json +5 -1
- package/locale/en.common.json +43 -43
- package/locale/en.core.json +23 -23
- package/locale/en.geo.json +36 -8
- package/locale/en.integration.json +31 -3
- package/locale/en.json +70 -11
- package/locale/fr.auth.json +4 -1
- package/locale/fr.common.json +43 -43
- package/locale/fr.core.json +23 -23
- package/locale/fr.geo.json +37 -9
- package/locale/fr.integration.json +33 -4
- package/locale/fr.json +71 -12
- package/package.json +8 -8
- package/public_api.d.ts +22 -22
- package/style/all.theming.scss +0 -7649
- package/style/core.theming.scss +0 -43
- package/style/foreground.scss +1 -1
- package/style/index.theming.scss +1006 -0
- package/style/material.font.scss +9 -9
- package/style/partial/core.variables.scss +3 -3
- package/style/partial/media.scss +80 -80
- package/style/setup.scss +1 -0
- package/style/themes/blue.theme.scss +16 -11
- package/style/themes/bluedq.theme.scss +52 -0
- package/style/themes/bluegrey.theme.scss +15 -8
- package/style/themes/dark.theme.scss +15 -8
- package/style/themes/deeppurple.theme.scss +15 -8
- package/style/themes/indigo.theme.scss +15 -8
- package/style/themes/orange.theme.scss +15 -8
- package/style/themes/teal.theme.scss +15 -8
- package/style/theming.scss +2 -7180
- package/style/typography.scss +14 -14
- package/bundles/igo2-core.umd.min.js +0 -17
- package/bundles/igo2-core.umd.min.js.map +0 -1
package/lib/core.module.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
import { MatIconRegistry } from '@angular/material/icon';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@angular/common/http";
|
|
7
|
-
import * as i3 from "./activity/activity.module";
|
|
8
|
-
import * as i4 from "./config/config.module";
|
|
9
|
-
import * as i5 from "./request/error.module";
|
|
10
|
-
import * as i6 from "./language/language.module";
|
|
11
|
-
import * as i7 from "./message/message.module";
|
|
12
|
-
export declare class IgoCoreModule {
|
|
13
|
-
static forRoot(): ModuleWithProviders<IgoCoreModule>;
|
|
14
|
-
constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer);
|
|
15
|
-
static
|
|
16
|
-
static
|
|
17
|
-
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/common/http";
|
|
7
|
+
import * as i3 from "./activity/activity.module";
|
|
8
|
+
import * as i4 from "./config/config.module";
|
|
9
|
+
import * as i5 from "./request/error.module";
|
|
10
|
+
import * as i6 from "./language/language.module";
|
|
11
|
+
import * as i7 from "./message/message.module";
|
|
12
|
+
export declare class IgoCoreModule {
|
|
13
|
+
static forRoot(): ModuleWithProviders<IgoCoreModule>;
|
|
14
|
+
constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoCoreModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoCoreModule, never, [typeof i1.CommonModule, typeof i2.HttpClientModule, typeof i3.IgoActivityModule, typeof i4.IgoConfigModule, typeof i5.IgoErrorModule, typeof i6.IgoLanguageModule, typeof i7.IgoMessageModule], [typeof i3.IgoActivityModule, typeof i4.IgoConfigModule, typeof i5.IgoErrorModule, typeof i6.IgoLanguageModule, typeof i7.IgoMessageModule]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoCoreModule>;
|
|
18
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/platform-browser";
|
|
4
|
-
export declare class IgoGestureModule {
|
|
5
|
-
static forRoot(): ModuleWithProviders<IgoGestureModule>;
|
|
6
|
-
static
|
|
7
|
-
static
|
|
8
|
-
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/platform-browser";
|
|
4
|
+
export declare class IgoGestureModule {
|
|
5
|
+
static forRoot(): ModuleWithProviders<IgoGestureModule>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoGestureModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoGestureModule, never, [typeof i1.HammerModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoGestureModule>;
|
|
9
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HammerGestureConfig } from '@angular/platform-browser';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IgoGestureConfig extends HammerGestureConfig {
|
|
4
|
-
buildHammer(element: HTMLElement): any;
|
|
5
|
-
static ɵfac: i0.ɵɵ
|
|
6
|
-
static ɵprov: i0.ɵɵ
|
|
7
|
-
}
|
|
1
|
+
import { HammerGestureConfig } from '@angular/platform-browser';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IgoGestureConfig extends HammerGestureConfig {
|
|
4
|
+
buildHammer(element: HTMLElement): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoGestureConfig, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IgoGestureConfig>;
|
|
7
|
+
}
|
package/lib/language/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './shared';
|
|
1
|
+
export * from './shared';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@ngx-translate/core";
|
|
4
|
-
export declare class IgoLanguageModule {
|
|
5
|
-
static forRoot(): ModuleWithProviders<IgoLanguageModule>;
|
|
6
|
-
static
|
|
7
|
-
static
|
|
8
|
-
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@ngx-translate/core";
|
|
4
|
+
export declare class IgoLanguageModule {
|
|
5
|
+
static forRoot(): ModuleWithProviders<IgoLanguageModule>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoLanguageModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoLanguageModule, never, [typeof i1.TranslateModule], [typeof i1.TranslateModule]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoLanguageModule>;
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './language.interface';
|
|
2
|
-
export * from './language.loader';
|
|
3
|
-
export * from './language.service';
|
|
4
|
-
export * from './missing-translation.guard';
|
|
1
|
+
export * from './language.interface';
|
|
2
|
+
export * from './language.loader';
|
|
3
|
+
export * from './language.service';
|
|
4
|
+
export * from './missing-translation.guard';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface LanguageOptions {
|
|
2
|
-
prefix?: string | string[];
|
|
3
|
-
}
|
|
1
|
+
export interface LanguageOptions {
|
|
2
|
+
prefix?: string | string[];
|
|
3
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { TranslateLoader } from '@ngx-translate/core';
|
|
3
|
-
import { ConfigService } from '../../config/config.service';
|
|
4
|
-
export declare class LanguageLoader implements TranslateLoader {
|
|
5
|
-
private http;
|
|
6
|
-
private prefix?;
|
|
7
|
-
private suffix;
|
|
8
|
-
private config?;
|
|
9
|
-
constructor(http: HttpClient, prefix?: string | string[], suffix?: string, config?: ConfigService);
|
|
10
|
-
getTranslation(lang: string): any;
|
|
11
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { TranslateLoader } from '@ngx-translate/core';
|
|
3
|
+
import { ConfigService } from '../../config/config.service';
|
|
4
|
+
export declare class LanguageLoader implements TranslateLoader {
|
|
5
|
+
private http;
|
|
6
|
+
private prefix?;
|
|
7
|
+
private suffix;
|
|
8
|
+
private config?;
|
|
9
|
+
constructor(http: HttpClient, prefix?: string | string[], suffix?: string, config?: ConfigService);
|
|
10
|
+
getTranslation(lang: string): any;
|
|
11
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { TranslateLoader } from '@ngx-translate/core';
|
|
3
|
-
import { ConfigService } from '../../config/config.service';
|
|
4
|
-
import { LanguageLoader } from './language.loader';
|
|
5
|
-
export declare function defaultLanguageLoader(http: HttpClient, config?: ConfigService): LanguageLoader;
|
|
6
|
-
export declare function provideLanguageLoader(loader?: any): {
|
|
7
|
-
provide: typeof TranslateLoader;
|
|
8
|
-
useFactory: any;
|
|
9
|
-
deps: (typeof HttpClient)[];
|
|
10
|
-
};
|
|
11
|
-
export declare function provideDefaultLanguageLoader(loader?: any): {
|
|
12
|
-
provide: typeof TranslateLoader;
|
|
13
|
-
useFactory: any;
|
|
14
|
-
deps: (typeof
|
|
15
|
-
};
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { TranslateLoader } from '@ngx-translate/core';
|
|
3
|
+
import { ConfigService } from '../../config/config.service';
|
|
4
|
+
import { LanguageLoader } from './language.loader';
|
|
5
|
+
export declare function defaultLanguageLoader(http: HttpClient, config?: ConfigService): LanguageLoader;
|
|
6
|
+
export declare function provideLanguageLoader(loader?: any): {
|
|
7
|
+
provide: typeof TranslateLoader;
|
|
8
|
+
useFactory: any;
|
|
9
|
+
deps: (typeof HttpClient)[];
|
|
10
|
+
};
|
|
11
|
+
export declare function provideDefaultLanguageLoader(loader?: any): {
|
|
12
|
+
provide: typeof TranslateLoader;
|
|
13
|
+
useFactory: any;
|
|
14
|
+
deps: (typeof ConfigService | typeof HttpClient)[];
|
|
15
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LanguageService {
|
|
4
|
-
translate: TranslateService;
|
|
5
|
-
private language;
|
|
6
|
-
constructor(translate: TranslateService);
|
|
7
|
-
getLanguage(): string;
|
|
8
|
-
setLanguage(language: string): void;
|
|
9
|
-
static ɵfac: i0.ɵɵ
|
|
10
|
-
static ɵprov: i0.ɵɵ
|
|
11
|
-
}
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LanguageService {
|
|
4
|
+
translate: TranslateService;
|
|
5
|
+
private language;
|
|
6
|
+
constructor(translate: TranslateService);
|
|
7
|
+
getLanguage(): string;
|
|
8
|
+
setLanguage(language: string): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LanguageService>;
|
|
11
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MissingTranslationHandler, MissingTranslationHandlerParams } from '@ngx-translate/core';
|
|
2
|
-
export declare class IgoMissingTranslationHandler implements MissingTranslationHandler {
|
|
3
|
-
handle(params: MissingTranslationHandlerParams): string;
|
|
4
|
-
}
|
|
1
|
+
import { MissingTranslationHandler, MissingTranslationHandlerParams } from '@ngx-translate/core';
|
|
2
|
+
export declare class IgoMissingTranslationHandler implements MissingTranslationHandler {
|
|
3
|
+
handle(params: MissingTranslationHandlerParams): string;
|
|
4
|
+
}
|
package/lib/media/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './media.enum';
|
|
2
|
-
export * from './media.service';
|
|
1
|
+
export * from './media.enum';
|
|
2
|
+
export * from './media.service';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare enum Media {
|
|
2
|
-
Mobile = "mobile",
|
|
3
|
-
Tablet = "tablet",
|
|
4
|
-
Desktop = "desktop"
|
|
5
|
-
}
|
|
6
|
-
export declare enum MediaOrientation {
|
|
7
|
-
Portrait = "portrait",
|
|
8
|
-
Landscape = "landscape"
|
|
9
|
-
}
|
|
1
|
+
export declare enum Media {
|
|
2
|
+
Mobile = "mobile",
|
|
3
|
+
Tablet = "tablet",
|
|
4
|
+
Desktop = "desktop"
|
|
5
|
+
}
|
|
6
|
+
export declare enum MediaOrientation {
|
|
7
|
+
Portrait = "portrait",
|
|
8
|
+
Landscape = "landscape"
|
|
9
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { Media, MediaOrientation } from './media.enum';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MediaService {
|
|
6
|
-
media$: BehaviorSubject<Media>;
|
|
7
|
-
orientation$: BehaviorSubject<MediaOrientation>;
|
|
8
|
-
constructor(breakpointObserver: BreakpointObserver);
|
|
9
|
-
getMedia(): Media;
|
|
10
|
-
getOrientation(): MediaOrientation;
|
|
11
|
-
isTouchScreen(): boolean;
|
|
12
|
-
isMobile(): boolean;
|
|
13
|
-
isDesktop(): boolean;
|
|
14
|
-
static ɵfac: i0.ɵɵ
|
|
15
|
-
static ɵprov: i0.ɵɵ
|
|
16
|
-
}
|
|
1
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { Media, MediaOrientation } from './media.enum';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MediaService {
|
|
6
|
+
media$: BehaviorSubject<Media>;
|
|
7
|
+
orientation$: BehaviorSubject<MediaOrientation>;
|
|
8
|
+
constructor(breakpointObserver: BreakpointObserver);
|
|
9
|
+
getMedia(): Media;
|
|
10
|
+
getOrientation(): MediaOrientation;
|
|
11
|
+
isTouchScreen(): boolean;
|
|
12
|
+
isMobile(): boolean;
|
|
13
|
+
isDesktop(): boolean;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MediaService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MediaService>;
|
|
16
|
+
}
|
package/lib/message/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './message-center';
|
|
2
|
-
export * from './shared';
|
|
1
|
+
export * from './message-center';
|
|
2
|
+
export * from './shared';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './message-center.component';
|
|
1
|
+
export * from './message-center.component';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MessageCenterComponent {
|
|
3
|
-
static defaultOptions: {
|
|
4
|
-
timeOut: number;
|
|
5
|
-
hasCloseIcon: boolean;
|
|
6
|
-
showProgressBar: boolean;
|
|
7
|
-
pauseOnHover: boolean;
|
|
8
|
-
clickToClose: boolean;
|
|
9
|
-
maxLength: number;
|
|
10
|
-
maxStack: number;
|
|
11
|
-
preventDuplicates: boolean;
|
|
12
|
-
};
|
|
13
|
-
get options(): any;
|
|
14
|
-
set options(value: any);
|
|
15
|
-
private _options;
|
|
16
|
-
constructor();
|
|
17
|
-
static ɵfac: i0.ɵɵ
|
|
18
|
-
static ɵcmp: i0.ɵɵ
|
|
19
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MessageCenterComponent {
|
|
3
|
+
static defaultOptions: {
|
|
4
|
+
timeOut: number;
|
|
5
|
+
hasCloseIcon: boolean;
|
|
6
|
+
showProgressBar: boolean;
|
|
7
|
+
pauseOnHover: boolean;
|
|
8
|
+
clickToClose: boolean;
|
|
9
|
+
maxLength: number;
|
|
10
|
+
maxStack: number;
|
|
11
|
+
preventDuplicates: boolean;
|
|
12
|
+
};
|
|
13
|
+
get options(): any;
|
|
14
|
+
set options(value: any);
|
|
15
|
+
private _options;
|
|
16
|
+
constructor();
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageCenterComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageCenterComponent, "igo-message-center", never, { "options": "options"; }, {}, never, never>;
|
|
19
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./message-center/message-center.component";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "angular2-notifications";
|
|
6
|
-
export declare class IgoMessageModule {
|
|
7
|
-
static forRoot(): ModuleWithProviders<IgoMessageModule>;
|
|
8
|
-
static
|
|
9
|
-
static
|
|
10
|
-
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./message-center/message-center.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@igo2/angular2-notifications";
|
|
6
|
+
export declare class IgoMessageModule {
|
|
7
|
+
static forRoot(): ModuleWithProviders<IgoMessageModule>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoMessageModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoMessageModule, [typeof i1.MessageCenterComponent], [typeof i2.CommonModule, typeof i3.SimpleNotificationsModule], [typeof i1.MessageCenterComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoMessageModule>;
|
|
11
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './message.enum';
|
|
2
|
-
export * from './message.interface';
|
|
3
|
-
export * from './message.service';
|
|
4
|
-
export { Notification } from 'angular2-notifications';
|
|
1
|
+
export * from './message.enum';
|
|
2
|
+
export * from './message.interface';
|
|
3
|
+
export * from './message.service';
|
|
4
|
+
export { Notification } from '@igo2/angular2-notifications';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum MessageType {
|
|
2
|
-
ERROR = "error",
|
|
3
|
-
ALERT = "alert",
|
|
4
|
-
INFO = "info",
|
|
5
|
-
SUCCESS = "success"
|
|
6
|
-
}
|
|
1
|
+
export declare enum MessageType {
|
|
2
|
+
ERROR = "error",
|
|
3
|
+
ALERT = "alert",
|
|
4
|
+
INFO = "info",
|
|
5
|
+
SUCCESS = "success"
|
|
6
|
+
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { MessageType } from './message.enum';
|
|
3
|
-
import { Notification } from 'angular2-notifications';
|
|
4
|
-
export interface Message {
|
|
5
|
-
title?: string;
|
|
6
|
-
text?: string;
|
|
7
|
-
html?: string | TemplateRef<any>;
|
|
8
|
-
icon?: string;
|
|
9
|
-
type?: MessageType;
|
|
10
|
-
options?: MessageOptions;
|
|
11
|
-
format?: 'text' | 'html';
|
|
12
|
-
}
|
|
13
|
-
export interface MessageOptions extends Notification {
|
|
14
|
-
template?: string;
|
|
15
|
-
from?: Date | string;
|
|
16
|
-
to?: Date | string;
|
|
17
|
-
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { MessageType } from './message.enum';
|
|
3
|
+
import { Notification } from '@igo2/angular2-notifications';
|
|
4
|
+
export interface Message {
|
|
5
|
+
title?: string;
|
|
6
|
+
text?: string;
|
|
7
|
+
html?: string | TemplateRef<any>;
|
|
8
|
+
icon?: string;
|
|
9
|
+
type?: MessageType;
|
|
10
|
+
options?: MessageOptions;
|
|
11
|
+
format?: 'text' | 'html';
|
|
12
|
+
}
|
|
13
|
+
export interface MessageOptions extends Notification {
|
|
14
|
+
template?: string;
|
|
15
|
+
from?: Date | string;
|
|
16
|
+
to?: Date | string;
|
|
17
|
+
id?: string;
|
|
18
|
+
}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { Notification, NotificationsService } from 'angular2-notifications';
|
|
4
|
-
import { ConfigService } from '../../config/config.service';
|
|
5
|
-
import { Message } from './message.interface';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MessageService {
|
|
8
|
-
private notificationService;
|
|
9
|
-
private configService;
|
|
10
|
-
messages$: BehaviorSubject<Message[]>;
|
|
11
|
-
private options;
|
|
12
|
-
constructor(notificationService: NotificationsService, configService: ConfigService);
|
|
13
|
-
showError(httpError: HttpErrorResponse): Notification;
|
|
14
|
-
message(message: Message): Notification;
|
|
15
|
-
success(text: string, title?: string, options?: any): Notification;
|
|
16
|
-
error(text: string, title?: string, options?: any): Notification;
|
|
17
|
-
info(text: string, title?: string, options?: any): Notification;
|
|
18
|
-
alert(text: string, title?: string, options?: any): Notification;
|
|
19
|
-
remove(id?: string): void;
|
|
20
|
-
|
|
21
|
-
private
|
|
22
|
-
|
|
23
|
-
static
|
|
24
|
-
|
|
1
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { Notification, NotificationsService } from '@igo2/angular2-notifications';
|
|
4
|
+
import { ConfigService } from '../../config/config.service';
|
|
5
|
+
import { Message } from './message.interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class MessageService {
|
|
8
|
+
private notificationService;
|
|
9
|
+
private configService;
|
|
10
|
+
messages$: BehaviorSubject<Message[]>;
|
|
11
|
+
private options;
|
|
12
|
+
constructor(notificationService: NotificationsService, configService: ConfigService);
|
|
13
|
+
showError(httpError: HttpErrorResponse): Notification;
|
|
14
|
+
message(message: Message): Notification;
|
|
15
|
+
success(text: string, title?: string, options?: any): Notification;
|
|
16
|
+
error(text: string, title?: string, options?: any): Notification;
|
|
17
|
+
info(text: string, title?: string, options?: any): Notification;
|
|
18
|
+
alert(text: string, title?: string, options?: any): Notification;
|
|
19
|
+
remove(id?: string): void;
|
|
20
|
+
removeAllAreNotError(): void;
|
|
21
|
+
private addIcon;
|
|
22
|
+
private handleTemplate;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
|
|
25
|
+
}
|
package/lib/network/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './network.service';
|
|
2
|
-
export * from './network.interfaces';
|
|
1
|
+
export * from './network.service';
|
|
2
|
+
export * from './network.interfaces';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface ConnectionState {
|
|
2
|
-
connection: boolean;
|
|
3
|
-
}
|
|
1
|
+
export interface ConnectionState {
|
|
2
|
+
connection: boolean;
|
|
3
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { OnDestroy, Injector } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { MessageService } from '../message/shared/message.service';
|
|
4
|
-
import { ConnectionState } from './network.interfaces';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NetworkService implements OnDestroy {
|
|
7
|
-
private messageService;
|
|
8
|
-
private injector;
|
|
9
|
-
private stateChangeEventEmitter;
|
|
10
|
-
private onlineSubscription;
|
|
11
|
-
private offlineSubscription;
|
|
12
|
-
private state;
|
|
13
|
-
constructor(messageService: MessageService, injector: Injector);
|
|
14
|
-
private checkNetworkState;
|
|
15
|
-
private emitEvent;
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
|
-
currentState(reportState?: boolean): Observable<ConnectionState>;
|
|
18
|
-
static ɵfac: i0.ɵɵ
|
|
19
|
-
static ɵprov: i0.ɵɵ
|
|
20
|
-
}
|
|
1
|
+
import { OnDestroy, Injector } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { MessageService } from '../message/shared/message.service';
|
|
4
|
+
import { ConnectionState } from './network.interfaces';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NetworkService implements OnDestroy {
|
|
7
|
+
private messageService;
|
|
8
|
+
private injector;
|
|
9
|
+
private stateChangeEventEmitter;
|
|
10
|
+
private onlineSubscription;
|
|
11
|
+
private offlineSubscription;
|
|
12
|
+
private state;
|
|
13
|
+
constructor(messageService: MessageService, injector: Injector);
|
|
14
|
+
private checkNetworkState;
|
|
15
|
+
private emitEvent;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
currentState(reportState?: boolean): Observable<ConnectionState>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NetworkService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NetworkService>;
|
|
20
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { HttpInterceptor, HttpHandler, HttpRequest, HttpEvent } from '@angular/common/http';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { MessageService } from '../message/shared/message.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ErrorInterceptor implements HttpInterceptor {
|
|
7
|
-
private messageService;
|
|
8
|
-
private injector;
|
|
9
|
-
constructor(messageService: MessageService, injector: Injector);
|
|
10
|
-
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
11
|
-
private handleError;
|
|
12
|
-
private handleCaughtError;
|
|
13
|
-
private handleUncaughtError;
|
|
14
|
-
static ɵfac: i0.ɵɵ
|
|
15
|
-
static ɵprov: i0.ɵɵ
|
|
16
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { HttpInterceptor, HttpHandler, HttpRequest, HttpEvent } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { MessageService } from '../message/shared/message.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ErrorInterceptor implements HttpInterceptor {
|
|
7
|
+
private messageService;
|
|
8
|
+
private injector;
|
|
9
|
+
constructor(messageService: MessageService, injector: Injector);
|
|
10
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
11
|
+
private handleError;
|
|
12
|
+
private handleCaughtError;
|
|
13
|
+
private handleUncaughtError;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorInterceptor, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorInterceptor>;
|
|
16
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IgoErrorModule {
|
|
4
|
-
static forRoot(): ModuleWithProviders<IgoErrorModule>;
|
|
5
|
-
constructor(parentModule: IgoErrorModule);
|
|
6
|
-
static
|
|
7
|
-
static
|
|
8
|
-
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IgoErrorModule {
|
|
4
|
+
static forRoot(): ModuleWithProviders<IgoErrorModule>;
|
|
5
|
+
constructor(parentModule: IgoErrorModule);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoErrorModule, [{ optional: true; skipSelf: true; }]>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoErrorModule, never, never, never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoErrorModule>;
|
|
9
|
+
}
|
package/lib/request/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './error.interceptor';
|
|
2
|
-
export * from './logging.interceptor';
|
|
1
|
+
export * from './error.interceptor';
|
|
2
|
+
export * from './logging.interceptor';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { HttpInterceptor, HttpHandler, HttpEvent, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LoggingInterceptor implements HttpInterceptor {
|
|
5
|
-
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
6
|
-
static ɵfac: i0.ɵɵ
|
|
7
|
-
static ɵprov: i0.ɵɵ
|
|
8
|
-
}
|
|
1
|
+
import { HttpInterceptor, HttpHandler, HttpEvent, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LoggingInterceptor implements HttpInterceptor {
|
|
5
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoggingInterceptor, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoggingInterceptor>;
|
|
8
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IgoLoggingModule {
|
|
4
|
-
static forRoot(): ModuleWithProviders<IgoLoggingModule>;
|
|
5
|
-
static
|
|
6
|
-
static
|
|
7
|
-
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IgoLoggingModule {
|
|
4
|
+
static forRoot(): ModuleWithProviders<IgoLoggingModule>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoLoggingModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoLoggingModule, never, never, never>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoLoggingModule>;
|
|
8
|
+
}
|