@igo2/core 1.15.4 → 16.0.0-rc.1
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/_index.scss +8 -0
- package/assets/icons/mdi.svg +1 -1
- package/core-theme.scss +5 -0
- package/{esm2020 → esm2022}/igo2-core.mjs +4 -4
- package/{esm2020 → esm2022}/lib/activity/activity.interceptor.mjs +32 -30
- package/{esm2020 → esm2022}/lib/activity/activity.module.mjs +30 -30
- package/esm2022/lib/activity/activity.service.mjs +32 -0
- package/{esm2020 → esm2022}/lib/activity/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/analytics/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/analytics/shared/analytics.interface.mjs +2 -2
- package/esm2022/lib/analytics/shared/analytics.service.mjs +84 -0
- package/{esm2020 → esm2022}/lib/analytics/shared/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/compression/compressedData.interface.mjs +2 -2
- package/esm2022/lib/compression/compression.service.mjs +142 -0
- package/{esm2020 → esm2022}/lib/compression/index.mjs +3 -3
- package/esm2022/lib/config/config-deprecated.mjs +19 -0
- package/{esm2020 → esm2022}/lib/config/config.interface.mjs +2 -2
- package/{esm2020 → esm2022}/lib/config/config.module.mjs +23 -23
- package/{esm2020 → esm2022}/lib/config/config.provider.mjs +21 -21
- package/esm2022/lib/config/config.service.mjs +81 -0
- package/{esm2020 → esm2022}/lib/config/index.mjs +4 -4
- package/esm2022/lib/config/version.mjs +5 -0
- package/esm2022/lib/core.module.mjs +104 -0
- package/{esm2020 → esm2022}/lib/gesture/gesture.module.mjs +30 -30
- package/{esm2020 → esm2022}/lib/gesture/gesture.provider.mjs +16 -16
- package/{esm2020 → esm2022}/lib/language/index.mjs +2 -2
- package/esm2022/lib/language/language.module.mjs +39 -0
- package/{esm2020 → esm2022}/lib/language/shared/index.mjs +5 -5
- package/{esm2020 → esm2022}/lib/language/shared/language.interface.mjs +2 -2
- package/esm2022/lib/language/shared/language.loader.mjs +31 -0
- package/esm2022/lib/language/shared/language.provider.mjs +22 -0
- package/esm2022/lib/language/shared/language.service.mjs +38 -0
- package/{esm2020 → esm2022}/lib/language/shared/missing-translation.guard.mjs +16 -16
- package/{esm2020 → esm2022}/lib/media/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/media/media.enum.mjs +12 -12
- package/esm2022/lib/media/media.service.mjs +82 -0
- package/{esm2020 → esm2022}/lib/message/index.mjs +2 -2
- package/esm2022/lib/message/message.module.mjs +60 -0
- package/{esm2020 → esm2022}/lib/message/shared/index.mjs +4 -4
- package/{esm2020 → esm2022}/lib/message/shared/message.enum.mjs +10 -10
- package/esm2022/lib/message/shared/message.interface.mjs +2 -0
- package/esm2022/lib/message/shared/message.service.mjs +218 -0
- package/{esm2020 → esm2022}/lib/network/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/network/network.interfaces.mjs +2 -2
- package/esm2022/lib/network/network.service.mjs +66 -0
- package/{esm2020 → esm2022}/lib/regex/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/regex/regex.interface.mjs +2 -2
- package/esm2022/lib/regex/regex.service.mjs +30 -0
- package/esm2022/lib/request/error.interceptor.mjs +67 -0
- package/esm2022/lib/request/error.module.mjs +39 -0
- package/{esm2020 → esm2022}/lib/request/index.mjs +3 -3
- package/esm2022/lib/request/logging.interceptor.mjs +29 -0
- package/{esm2020 → esm2022}/lib/request/logging.module.mjs +30 -30
- package/esm2022/lib/route/route.interface.mjs +2 -0
- package/esm2022/lib/route/route.service.mjs +75 -0
- package/esm2022/lib/storage/index.mjs +4 -0
- package/{esm2020 → esm2022}/lib/storage/storage.interface.mjs +13 -13
- package/esm2022/lib/storage/storage.mjs +76 -0
- package/esm2022/lib/storage/storage.service.mjs +21 -0
- package/{esm2020 → esm2022}/public_api.mjs +28 -28
- package/{fesm2020 → fesm2022}/igo2-core.mjs +1411 -1289
- package/fesm2022/igo2-core.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/activity/activity.interceptor.d.ts +11 -11
- package/lib/activity/activity.module.d.ts +8 -8
- 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 +23 -23
- package/lib/analytics/shared/index.d.ts +2 -2
- package/lib/compression/compressedData.interface.d.ts +5 -5
- package/lib/compression/compression.service.d.ts +15 -15
- package/lib/compression/index.d.ts +2 -2
- package/lib/config/config-deprecated.d.ts +5 -0
- package/lib/config/config.interface.d.ts +13 -6
- package/lib/config/config.module.d.ts +8 -8
- package/lib/config/config.provider.d.ts +15 -15
- package/lib/config/config.service.d.ts +21 -18
- package/lib/config/index.d.ts +3 -3
- package/lib/config/version.d.ts +5 -5
- package/lib/core.module.d.ts +19 -19
- package/lib/gesture/gesture.module.d.ts +9 -9
- 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 -9
- 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 +13 -13
- 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 +1 -1
- package/lib/message/message.module.d.ts +10 -10
- package/lib/message/message.theming.scss +26 -0
- package/lib/message/shared/index.d.ts +4 -4
- package/lib/message/shared/message.enum.d.ts +8 -8
- package/lib/message/shared/message.interface.d.ts +21 -21
- package/lib/message/shared/message.service.d.ts +31 -31
- package/lib/network/index.d.ts +2 -2
- package/lib/network/network.interfaces.d.ts +3 -3
- package/lib/network/network.service.d.ts +21 -21
- package/lib/regex/index.d.ts +2 -2
- package/lib/regex/regex.interface.d.ts +3 -3
- package/lib/regex/regex.service.d.ts +12 -12
- package/lib/request/error.interceptor.d.ts +14 -14
- package/lib/request/error.module.d.ts +9 -9
- 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 -8
- package/lib/route/route.interface.d.ts +23 -23
- package/lib/route/route.service.d.ts +19 -19
- package/lib/storage/index.d.ts +3 -2
- package/lib/storage/storage.d.ts +15 -0
- package/lib/storage/storage.interface.d.ts +20 -20
- package/lib/storage/storage.service.d.ts +10 -19
- package/locale/en.core.json +28 -29
- package/locale/en.json +1 -1205
- package/locale/fr.core.json +28 -29
- package/locale/fr.json +1 -1210
- package/package.json +40 -30
- package/packages.import.scss +4 -0
- package/public_api.d.ts +24 -24
- package/style/all-style.css +793 -0
- package/style/all-style.scss +3 -0
- package/style/layout.scss +163 -0
- package/style/partial/core-utils.scss +5 -0
- package/style/partial/core.variables.scss +5 -5
- package/style/partial/media.scss +80 -80
- package/style/style.css +237 -0
- package/style/style.scss +19 -0
- package/theming/all-theme.scss +14 -0
- package/theming/material-theme-override.scss +39 -0
- package/theming/prebuilt-themes/blue-theme.css +2982 -0
- package/theming/prebuilt-themes/blue-theme.scss +34 -0
- package/theming/prebuilt-themes/bluedark-theme.css +2982 -0
- package/theming/prebuilt-themes/bluedark-theme.scss +67 -0
- package/theming/prebuilt-themes/bluedq-theme.css +2982 -0
- package/theming/prebuilt-themes/bluedq-theme.scss +66 -0
- package/theming/prebuilt-themes/bluegrey-theme.css +2982 -0
- package/theming/prebuilt-themes/bluegrey-theme.scss +25 -0
- package/theming/prebuilt-themes/dark-theme.css +2989 -0
- package/theming/prebuilt-themes/dark-theme.scss +25 -0
- package/theming/prebuilt-themes/deeppurple-theme.css +2982 -0
- package/theming/prebuilt-themes/deeppurple-theme.scss +25 -0
- package/theming/prebuilt-themes/indigo-theme.css +2982 -0
- package/theming/prebuilt-themes/indigo-theme.scss +25 -0
- package/theming/prebuilt-themes/orange-theme.css +2982 -0
- package/theming/prebuilt-themes/orange-theme.scss +25 -0
- package/theming/prebuilt-themes/qcca/_index.scss +2 -0
- package/theming/prebuilt-themes/qcca/base/_index.scss +4 -0
- package/theming/prebuilt-themes/qcca/base/breakpoints.scss +57 -0
- package/theming/prebuilt-themes/qcca/base/colors.scss +40 -0
- package/theming/prebuilt-themes/qcca/base/palette.scss +50 -0
- package/theming/prebuilt-themes/qcca/base/typography/_index.scss +2 -0
- package/theming/prebuilt-themes/qcca/base/typography/typography.scss +138 -0
- package/theming/prebuilt-themes/qcca/base/typography/typography.utils.scss +18 -0
- package/theming/prebuilt-themes/qcca/components/_index.scss +10 -0
- package/theming/prebuilt-themes/qcca/components/_index.theme.scss +5 -0
- package/theming/prebuilt-themes/qcca/components/button.scss +24 -0
- package/theming/prebuilt-themes/qcca/components/dialog.scss +36 -0
- package/theming/prebuilt-themes/qcca/components/form-field.scss +5 -0
- package/theming/prebuilt-themes/qcca/components/input.scss +6 -0
- package/theming/prebuilt-themes/qcca/components/list.scss +24 -0
- package/theming/prebuilt-themes/qcca/components/panel.scss +8 -0
- package/theming/prebuilt-themes/qcca/components/scrollbar.scss +15 -0
- package/theming/prebuilt-themes/qcca/components/search-bar.scss +41 -0
- package/theming/prebuilt-themes/qcca/components/search-bar.theme.scss +29 -0
- package/theming/prebuilt-themes/qcca-theme.css +3383 -0
- package/theming/prebuilt-themes/qcca-theme.scss +47 -0
- package/theming/prebuilt-themes/teal-theme.css +2982 -0
- package/theming/prebuilt-themes/teal-theme.scss +25 -0
- package/theming/typography.scss +28 -0
- package/theming/utils/_foreground.scss +22 -0
- package/__ivy_ngcc__/locale/en.auth.json +0 -29
- package/__ivy_ngcc__/locale/en.common.json +0 -43
- package/__ivy_ngcc__/locale/en.context.json +0 -199
- package/__ivy_ngcc__/locale/en.core.json +0 -29
- package/__ivy_ngcc__/locale/en.geo.json +0 -805
- package/__ivy_ngcc__/locale/en.integration.json +0 -124
- package/__ivy_ngcc__/locale/en.json +0 -1205
- package/__ivy_ngcc__/locale/fr.auth.json +0 -32
- package/__ivy_ngcc__/locale/fr.common.json +0 -43
- package/__ivy_ngcc__/locale/fr.context.json +0 -199
- package/__ivy_ngcc__/locale/fr.core.json +0 -29
- package/__ivy_ngcc__/locale/fr.geo.json +0 -805
- package/__ivy_ngcc__/locale/fr.integration.json +0 -125
- package/__ivy_ngcc__/locale/fr.json +0 -1210
- package/esm2020/lib/activity/activity.service.mjs +0 -33
- package/esm2020/lib/analytics/shared/analytics.service.mjs +0 -81
- package/esm2020/lib/compression/compression.service.mjs +0 -140
- package/esm2020/lib/config/config.service.mjs +0 -52
- package/esm2020/lib/config/version.mjs +0 -5
- package/esm2020/lib/core.module.mjs +0 -92
- package/esm2020/lib/language/language.module.mjs +0 -39
- package/esm2020/lib/language/shared/language.loader.mjs +0 -26
- package/esm2020/lib/language/shared/language.provider.mjs +0 -22
- package/esm2020/lib/language/shared/language.service.mjs +0 -32
- package/esm2020/lib/media/media.service.mjs +0 -76
- package/esm2020/lib/message/message.module.mjs +0 -56
- package/esm2020/lib/message/shared/message.interface.mjs +0 -2
- package/esm2020/lib/message/shared/message.service.mjs +0 -201
- package/esm2020/lib/network/network.service.mjs +0 -60
- package/esm2020/lib/regex/regex.service.mjs +0 -27
- package/esm2020/lib/request/error.interceptor.mjs +0 -66
- package/esm2020/lib/request/error.module.mjs +0 -39
- package/esm2020/lib/request/logging.interceptor.mjs +0 -29
- package/esm2020/lib/route/route.interface.mjs +0 -2
- package/esm2020/lib/route/route.service.mjs +0 -71
- package/esm2020/lib/storage/index.mjs +0 -3
- package/esm2020/lib/storage/storage.service.mjs +0 -79
- package/fesm2015/igo2-core.mjs +0 -1418
- package/fesm2015/igo2-core.mjs.map +0 -1
- package/fesm2020/igo2-core.mjs.map +0 -1
- package/locale/en.auth.json +0 -29
- package/locale/en.common.json +0 -43
- package/locale/en.context.json +0 -199
- package/locale/en.geo.json +0 -805
- package/locale/en.integration.json +0 -124
- package/locale/fr.auth.json +0 -32
- package/locale/fr.common.json +0 -43
- package/locale/fr.context.json +0 -199
- package/locale/fr.geo.json +0 -805
- package/locale/fr.integration.json +0 -125
- package/style/all.theming.scss +0 -5
- package/style/core.theming.scss +0 -9
- package/style/foreground.scss +0 -20
- package/style/index.theming.scss +0 -1465
- package/style/material.font.scss +0 -10
- package/style/setup.scss +0 -2
- package/style/themes/blue.theme.scss +0 -19
- package/style/themes/bluedark.theme.scss +0 -52
- package/style/themes/bluedq.theme.scss +0 -52
- package/style/themes/bluegrey.theme.scss +0 -16
- package/style/themes/dark.theme.scss +0 -16
- package/style/themes/deeppurple.theme.scss +0 -16
- package/style/themes/indigo.theme.scss +0 -16
- package/style/themes/orange.theme.scss +0 -16
- package/style/themes/qcca.theme.scss +0 -98
- package/style/themes/teal.theme.scss +0 -16
- package/style/theming.scss +0 -5
- package/style/typography.scss +0 -17
package/lib/core.module.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
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
|
-
import * as i8 from "ngx-indexed-db";
|
|
13
|
-
export declare class IgoCoreModule {
|
|
14
|
-
static forRoot(): ModuleWithProviders<IgoCoreModule>;
|
|
15
|
-
constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer);
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoCoreModule, never>;
|
|
17
|
-
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 i8.NgxIndexedDBModule], [typeof i3.IgoActivityModule, typeof i4.IgoConfigModule, typeof i5.IgoErrorModule, typeof i6.IgoLanguageModule, typeof i7.IgoMessageModule]>;
|
|
18
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoCoreModule>;
|
|
19
|
-
}
|
|
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
|
+
import * as i8 from "ngx-indexed-db";
|
|
13
|
+
export declare class IgoCoreModule {
|
|
14
|
+
static forRoot(): ModuleWithProviders<IgoCoreModule>;
|
|
15
|
+
constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer);
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoCoreModule, never>;
|
|
17
|
+
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 i8.NgxIndexedDBModule], [typeof i3.IgoActivityModule, typeof i4.IgoConfigModule, typeof i5.IgoErrorModule, typeof i6.IgoLanguageModule, typeof i7.IgoMessageModule]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoCoreModule>;
|
|
19
|
+
}
|
|
@@ -1,9 +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 ɵfac: i0.ɵɵFactoryDeclaration<IgoGestureModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoGestureModule, never, [typeof i1.HammerModule], never>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoGestureModule>;
|
|
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 ɵ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.ɵɵFactoryDeclaration<IgoGestureConfig, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IgoGestureConfig>;
|
|
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,9 +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 ɵ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
|
+
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 {
|
|
2
|
-
import { TranslateLoader } from '@ngx-translate/core';
|
|
3
|
-
import { ConfigService } from '../../config/config.service';
|
|
4
|
-
export declare class LanguageLoader implements TranslateLoader {
|
|
5
|
-
private
|
|
6
|
-
private
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
constructor(
|
|
10
|
-
getTranslation(lang: string): any;
|
|
11
|
-
}
|
|
1
|
+
import { HttpBackend } 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 prefix?;
|
|
6
|
+
private suffix;
|
|
7
|
+
private config?;
|
|
8
|
+
private httpClient;
|
|
9
|
+
constructor(handler: HttpBackend, prefix?: string | string[], suffix?: string, config?: ConfigService);
|
|
10
|
+
getTranslation(lang: string): any;
|
|
11
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
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:
|
|
6
|
-
export declare function provideLanguageLoader(loader?: any): {
|
|
7
|
-
provide: typeof TranslateLoader;
|
|
8
|
-
useFactory: any;
|
|
9
|
-
deps: (typeof
|
|
10
|
-
};
|
|
11
|
-
export declare function provideDefaultLanguageLoader(loader?: any): {
|
|
12
|
-
provide: typeof TranslateLoader;
|
|
13
|
-
useFactory: any;
|
|
14
|
-
deps: (typeof ConfigService | typeof
|
|
15
|
-
};
|
|
1
|
+
import { HttpBackend } 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: HttpBackend, config?: ConfigService): LanguageLoader;
|
|
6
|
+
export declare function provideLanguageLoader(loader?: any): {
|
|
7
|
+
provide: typeof TranslateLoader;
|
|
8
|
+
useFactory: any;
|
|
9
|
+
deps: (typeof HttpBackend)[];
|
|
10
|
+
};
|
|
11
|
+
export declare function provideDefaultLanguageLoader(loader?: any): {
|
|
12
|
+
provide: typeof TranslateLoader;
|
|
13
|
+
useFactory: any;
|
|
14
|
+
deps: (typeof ConfigService | typeof HttpBackend)[];
|
|
15
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LanguageService {
|
|
5
|
-
translate: TranslateService;
|
|
6
|
-
private language;
|
|
7
|
-
readonly language$: BehaviorSubject<string>;
|
|
8
|
-
constructor(translate: TranslateService);
|
|
9
|
-
getLanguage(): string;
|
|
10
|
-
setLanguage(language: string): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LanguageService>;
|
|
13
|
-
}
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LanguageService {
|
|
5
|
+
translate: TranslateService;
|
|
6
|
+
private language;
|
|
7
|
+
readonly language$: BehaviorSubject<string>;
|
|
8
|
+
constructor(translate: TranslateService);
|
|
9
|
+
getLanguage(): string;
|
|
10
|
+
setLanguage(language: string): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LanguageService>;
|
|
13
|
+
}
|
|
@@ -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.ɵɵFactoryDeclaration<MediaService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MediaService>;
|
|
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 +1 @@
|
|
|
1
|
-
export * from './shared';
|
|
1
|
+
export * from './shared';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "ngx-toastr";
|
|
5
|
-
export declare class IgoMessageModule {
|
|
6
|
-
static forRoot(): ModuleWithProviders<IgoMessageModule>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoMessageModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoMessageModule, never, [typeof i1.CommonModule, typeof i2.ToastrModule], never>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoMessageModule>;
|
|
10
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "ngx-toastr";
|
|
5
|
+
export declare class IgoMessageModule {
|
|
6
|
+
static forRoot(): ModuleWithProviders<IgoMessageModule>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoMessageModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoMessageModule, never, [typeof i1.CommonModule, typeof i2.ToastrModule], never>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoMessageModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin igo-message-theming($theme) {
|
|
5
|
+
$primary: map.get($theme, primary);
|
|
6
|
+
$accent: map.get($theme, accent);
|
|
7
|
+
$warn: map.get($theme, warn);
|
|
8
|
+
$typography: mat.get-typography-config($theme);
|
|
9
|
+
|
|
10
|
+
.toast-error {
|
|
11
|
+
background-color: mat.get-color-from-palette($warn) !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.toast-info {
|
|
15
|
+
background-color: mat.get-color-from-palette($primary) !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.toast-no-icon {
|
|
19
|
+
background-image: none;
|
|
20
|
+
padding-left: 6%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.toast-title {
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './message.enum';
|
|
2
|
-
export * from './message.interface';
|
|
3
|
-
export * from './message.service';
|
|
4
|
-
export { ActiveToast } from 'ngx-toastr';
|
|
1
|
+
export * from './message.enum';
|
|
2
|
+
export * from './message.interface';
|
|
3
|
+
export * from './message.service';
|
|
4
|
+
export { ActiveToast } from 'ngx-toastr';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare enum MessageType {
|
|
2
|
-
ERROR = "error",
|
|
3
|
-
ALERT = "warning",
|
|
4
|
-
WARNING = "warning",
|
|
5
|
-
INFO = "info",
|
|
6
|
-
SUCCESS = "success",
|
|
7
|
-
SHOW = "show"
|
|
8
|
-
}
|
|
1
|
+
export declare enum MessageType {
|
|
2
|
+
ERROR = "error",
|
|
3
|
+
ALERT = "warning",
|
|
4
|
+
WARNING = "warning",
|
|
5
|
+
INFO = "info",
|
|
6
|
+
SUCCESS = "success",
|
|
7
|
+
SHOW = "show"
|
|
8
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { MessageType } from './message.enum';
|
|
3
|
-
import { IndividualConfig } from 'ngx-toastr';
|
|
4
|
-
export interface Message {
|
|
5
|
-
title?: string;
|
|
6
|
-
text?: string;
|
|
7
|
-
html?: string | TemplateRef<any>;
|
|
8
|
-
type?: MessageType;
|
|
9
|
-
options?: MessageOptions;
|
|
10
|
-
format?: 'text' | 'html';
|
|
11
|
-
textInterpolateParams?: Object;
|
|
12
|
-
titleInterpolateParams?: Object;
|
|
13
|
-
showIcon?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface MessageOptions extends IndividualConfig {
|
|
16
|
-
template?: string;
|
|
17
|
-
from?: Date | string;
|
|
18
|
-
to?: Date | string;
|
|
19
|
-
id?: number;
|
|
20
|
-
showOnEachLayerVisibility?: boolean;
|
|
21
|
-
}
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { MessageType } from './message.enum';
|
|
3
|
+
import { IndividualConfig } from 'ngx-toastr';
|
|
4
|
+
export interface Message {
|
|
5
|
+
title?: string;
|
|
6
|
+
text?: string;
|
|
7
|
+
html?: string | TemplateRef<any>;
|
|
8
|
+
type?: MessageType;
|
|
9
|
+
options?: MessageOptions;
|
|
10
|
+
format?: 'text' | 'html';
|
|
11
|
+
textInterpolateParams?: Object;
|
|
12
|
+
titleInterpolateParams?: Object;
|
|
13
|
+
showIcon?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface MessageOptions extends IndividualConfig {
|
|
16
|
+
template?: string;
|
|
17
|
+
from?: Date | string;
|
|
18
|
+
to?: Date | string;
|
|
19
|
+
id?: number;
|
|
20
|
+
showOnEachLayerVisibility?: boolean;
|
|
21
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { HttpErrorResponse } from '@angular/common/http';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { ConfigService } from '../../config/config.service';
|
|
5
|
-
import { Message } from './message.interface';
|
|
6
|
-
import { ActiveToast, IndividualConfig } from 'ngx-toastr';
|
|
7
|
-
import { LanguageService } from '../../language/shared/language.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class MessageService {
|
|
10
|
-
private injector;
|
|
11
|
-
private configService;
|
|
12
|
-
private languageService;
|
|
13
|
-
messages$: BehaviorSubject<Message[]>;
|
|
14
|
-
private options
|
|
15
|
-
private activeMessageTranslations;
|
|
16
|
-
constructor(injector: Injector, configService: ConfigService, languageService: LanguageService);
|
|
17
|
-
private get toastr();
|
|
18
|
-
showError(httpError: HttpErrorResponse): ActiveToast<any>;
|
|
19
|
-
message(message: Message): void;
|
|
20
|
-
success(text: string, title?: string, options?: Partial<IndividualConfig>, textInterpolateParams?: Object, titleInterpolateParams?: Object): ActiveToast<any>;
|
|
21
|
-
error(text: string, title?: string, options?: Partial<IndividualConfig>, textInterpolateParams?: Object, titleInterpolateParams?: Object): ActiveToast<any>;
|
|
22
|
-
info(text: string, title?: string, options?: Partial<IndividualConfig>, textInterpolateParams?: Object, titleInterpolateParams?: Object): ActiveToast<any>;
|
|
23
|
-
alert(text: string, title?: string, options?: Partial<IndividualConfig>, textInterpolateParams?: Object, titleInterpolateParams?: Object): ActiveToast<any>;
|
|
24
|
-
show(text: string, title?: string, options?: Partial<IndividualConfig>, textInterpolateParams?: Object, titleInterpolateParams?: Object): ActiveToast<any>;
|
|
25
|
-
private handleNgxToastr;
|
|
26
|
-
remove(id?: number): void;
|
|
27
|
-
removeAllAreNotError(): void;
|
|
28
|
-
private handleTemplate;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
|
|
31
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { ConfigService } from '../../config/config.service';
|
|
5
|
+
import { Message } from './message.interface';
|
|
6
|
+
import { ActiveToast, IndividualConfig } from 'ngx-toastr';
|
|
7
|
+
import { LanguageService } from '../../language/shared/language.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class MessageService {
|
|
10
|
+
private injector;
|
|
11
|
+
private configService;
|
|
12
|
+
private languageService;
|
|
13
|
+
messages$: BehaviorSubject<Message[]>;
|
|
14
|
+
private options?;
|
|
15
|
+
private activeMessageTranslations;
|
|
16
|
+
constructor(injector: Injector, configService: ConfigService, languageService: LanguageService);
|
|
17
|
+
private get toastr();
|
|
18
|
+
showError(httpError: HttpErrorResponse): ActiveToast<any>;
|
|
19
|
+
message(message: Message): void;
|
|
20
|
+
success(text: string, title?: string, options?: Partial<IndividualConfig>, textInterpolateParams?: Object, titleInterpolateParams?: Object): ActiveToast<any>;
|
|
21
|
+
error(text: string, title?: string, options?: Partial<IndividualConfig>, textInterpolateParams?: Object, titleInterpolateParams?: Object): ActiveToast<any>;
|
|
22
|
+
info(text: string, title?: string, options?: Partial<IndividualConfig>, textInterpolateParams?: Object, titleInterpolateParams?: Object): ActiveToast<any>;
|
|
23
|
+
alert(text: string, title?: string, options?: Partial<IndividualConfig>, textInterpolateParams?: Object, titleInterpolateParams?: Object): ActiveToast<any>;
|
|
24
|
+
show(text: string, title?: string, options?: Partial<IndividualConfig>, textInterpolateParams?: Object, titleInterpolateParams?: Object): ActiveToast<any>;
|
|
25
|
+
private handleNgxToastr;
|
|
26
|
+
remove(id?: number): void;
|
|
27
|
+
removeAllAreNotError(): void;
|
|
28
|
+
private handleTemplate;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
|
|
31
|
+
}
|
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,21 +1,21 @@
|
|
|
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 previousMessageId;
|
|
13
|
-
private state;
|
|
14
|
-
constructor(messageService: MessageService, injector: Injector);
|
|
15
|
-
private checkNetworkState;
|
|
16
|
-
private emitEvent;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
currentState(reportState?: boolean): Observable<ConnectionState>;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NetworkService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NetworkService>;
|
|
21
|
-
}
|
|
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 previousMessageId;
|
|
13
|
+
private state;
|
|
14
|
+
constructor(messageService: MessageService, injector: Injector);
|
|
15
|
+
private checkNetworkState;
|
|
16
|
+
private emitEvent;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
currentState(reportState?: boolean): Observable<ConnectionState>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NetworkService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NetworkService>;
|
|
21
|
+
}
|
package/lib/regex/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './regex.service';
|
|
2
|
-
export * from './regex.interface';
|
|
1
|
+
export * from './regex.service';
|
|
2
|
+
export * from './regex.interface';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface RegexOptions {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}
|
|
1
|
+
export interface RegexOptions {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ConfigService } from '../config/config.service';
|
|
2
|
-
import { RegexOptions } from './regex.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RegexService {
|
|
5
|
-
private config;
|
|
6
|
-
protected options: RegexOptions;
|
|
7
|
-
constructor(config: ConfigService);
|
|
8
|
-
getAll(): RegexOptions;
|
|
9
|
-
get(key: any): any;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RegexService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RegexService>;
|
|
12
|
-
}
|
|
1
|
+
import { ConfigService } from '../config/config.service';
|
|
2
|
+
import { RegexOptions } from './regex.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RegexService {
|
|
5
|
+
private config;
|
|
6
|
+
protected options: RegexOptions;
|
|
7
|
+
constructor(config: ConfigService);
|
|
8
|
+
getAll(): RegexOptions;
|
|
9
|
+
get(key: any): any;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegexService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RegexService>;
|
|
12
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { HttpInterceptor, HttpHandler, HttpRequest, HttpEvent } from '@angular/common/http';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ErrorInterceptor implements HttpInterceptor {
|
|
6
|
-
private injector;
|
|
7
|
-
constructor(injector: Injector);
|
|
8
|
-
intercept(originalReq: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
9
|
-
private handleError;
|
|
10
|
-
private handleCaughtError;
|
|
11
|
-
private handleUncaughtError;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorInterceptor, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorInterceptor>;
|
|
14
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { HttpInterceptor, HttpHandler, HttpRequest, HttpEvent } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ErrorInterceptor implements HttpInterceptor {
|
|
6
|
+
private injector;
|
|
7
|
+
constructor(injector: Injector);
|
|
8
|
+
intercept(originalReq: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
9
|
+
private handleError;
|
|
10
|
+
private handleCaughtError;
|
|
11
|
+
private handleUncaughtError;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorInterceptor, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorInterceptor>;
|
|
14
|
+
}
|
|
@@ -1,9 +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 ɵfac: i0.ɵɵFactoryDeclaration<IgoErrorModule, [{ optional: true; skipSelf: true; }]>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoErrorModule, never, never, never>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoErrorModule>;
|
|
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 ɵ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';
|