@osovitny/anatoly 2.15.11 → 2.16.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/esm2022/lib/anatoly.module.mjs +55 -0
- package/{esm2020 → esm2022}/lib/core/browser.mjs +23 -23
- package/{esm2020 → esm2022}/lib/core/consts/settings.mjs +16 -16
- package/{esm2020 → esm2022}/lib/core/consts/urls.mjs +18 -18
- package/{esm2020 → esm2022}/lib/core/converts/convert.mjs +104 -104
- package/{esm2020 → esm2022}/lib/core/converts/xmlFormatter.mjs +33 -33
- package/esm2022/lib/core/core.module.mjs +89 -0
- package/{esm2020 → esm2022}/lib/core/dom.mjs +152 -152
- package/esm2022/lib/core/go/base-go.service.mjs +50 -0
- package/{esm2020 → esm2022}/lib/core/guards/once-import.guard.mjs +20 -20
- package/{esm2020 → esm2022}/lib/core/guid.mjs +21 -21
- package/{esm2020 → esm2022}/lib/core/index.mjs +50 -50
- package/esm2022/lib/core/interceptors/httpInterceptor.mjs +107 -0
- package/esm2022/lib/core/localization/localization.module.mjs +44 -0
- package/esm2022/lib/core/localization/localization.service.mjs +184 -0
- package/esm2022/lib/core/localization/localizationSettings.module.mjs +90 -0
- package/esm2022/lib/core/localization/localize.pipe.mjs +76 -0
- package/{esm2020 → esm2022}/lib/core/localization/utils.mjs +41 -41
- package/esm2022/lib/core/logging/globalErrorHandler.mjs +42 -0
- package/esm2022/lib/core/logging/logging.service.mjs +36 -0
- package/{esm2020 → esm2022}/lib/core/notifications/alerts.mjs +105 -105
- package/{esm2020 → esm2022}/lib/core/notifications/interfaces/notification.mjs +16 -16
- package/esm2022/lib/core/notifications/services/notification-service.mjs +226 -0
- package/esm2022/lib/core/performance/stopwatch.mjs +55 -0
- package/esm2022/lib/core/services/appcontext.service.mjs +152 -0
- package/esm2022/lib/core/services/dm.service.mjs +72 -0
- package/esm2022/lib/core/services/google-analytics.service.mjs +55 -0
- package/esm2022/lib/core/services/idle.service.mjs +82 -0
- package/esm2022/lib/core/services/loading.service.mjs +68 -0
- package/esm2022/lib/core/services/web-storage.service.mjs +67 -0
- package/esm2022/lib/core/subs.mjs +30 -0
- package/{esm2020 → esm2022}/lib/core/utils.mjs +93 -93
- package/esm2022/lib/data/base/base-api.service.mjs +99 -0
- package/esm2022/lib/data/base/grid/base-grid-edit.service.mjs +83 -0
- package/esm2022/lib/data/base/grid/base-grid-read.service.mjs +65 -0
- package/{esm2020 → esm2022}/lib/data/consts.mjs +23 -23
- package/esm2022/lib/data/data.module.mjs +42 -0
- package/{esm2020 → esm2022}/lib/data/index.mjs +21 -21
- package/esm2022/lib/data/services/core-api.service.mjs +60 -0
- package/esm2022/lib/data/services/emails-api.service.mjs +48 -0
- package/esm2022/lib/data/services/notifications/notifications-api-service.mjs +41 -0
- package/esm2022/lib/ui/components/base/base-edit.component.mjs +135 -0
- package/esm2022/lib/ui/components/base/base.component.mjs +61 -0
- package/esm2022/lib/ui/components/base/base.dialog.mjs +67 -0
- package/esm2022/lib/ui/components/base/base.list.mjs +69 -0
- package/esm2022/lib/ui/components/base/base.page.mjs +31 -0
- package/esm2022/lib/ui/components/base/base.paged.page.mjs +66 -0
- package/esm2022/lib/ui/components/billing/buyaccess-button.component.mjs +64 -0
- package/esm2022/lib/ui/components/billing/subscribe-plan-button.component.mjs +68 -0
- package/esm2022/lib/ui/components/card/card-body.component.mjs +30 -0
- package/esm2022/lib/ui/components/card/card-footer.component.mjs +30 -0
- package/esm2022/lib/ui/components/card/card-header.component.mjs +34 -0
- package/esm2022/lib/ui/components/card/card.component.mjs +30 -0
- package/esm2022/lib/ui/components/check-icon/check-icon.component.mjs +33 -0
- package/esm2022/lib/ui/components/copy-2-clipboard/copy-2-clipboard.component.mjs +44 -0
- package/esm2022/lib/ui/components/datapager/datapager.component.mjs +85 -0
- package/esm2022/lib/ui/components/html-editor/base-html-editor.component.mjs +96 -0
- package/esm2022/lib/ui/components/html-editor/forms-html-editor.component.mjs +45 -0
- package/esm2022/lib/ui/components/html-editor/html-editor.component.mjs +49 -0
- package/{esm2020 → esm2022}/lib/ui/components/html-editor/html-editor.defaultoptions.mjs +85 -85
- package/esm2022/lib/ui/components/identity/signin-button.component.mjs +31 -0
- package/esm2022/lib/ui/components/identity/signout-button.component.mjs +31 -0
- package/esm2022/lib/ui/components/identity/signup-button.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/ui/components/index.mjs +43 -43
- package/esm2022/lib/ui/components/nodata/nodata.component.mjs +46 -0
- package/esm2022/lib/ui/components/spinners/loading/loading.component.mjs +49 -0
- package/esm2022/lib/ui/components/spinners/pagespinner/pagespinner.component.mjs +62 -0
- package/{esm2020 → esm2022}/lib/ui/components/spinners/pagespinner/spinkits.mjs +11 -11
- package/esm2022/lib/ui/dialogs/contact-us/contact-us.dialog.mjs +49 -0
- package/{esm2020 → esm2022}/lib/ui/dialogs/index.mjs +16 -16
- package/esm2022/lib/ui/directives/hover.directive.mjs +45 -0
- package/{esm2020 → esm2022}/lib/ui/directives/index.mjs +17 -17
- package/esm2022/lib/ui/directives/native-element.directive.mjs +40 -0
- package/esm2022/lib/ui/external/fa.module.mjs +45 -0
- package/esm2022/lib/ui/external/kendo.module.mjs +90 -0
- package/esm2022/lib/ui/forms/components/address/address.component.mjs +141 -0
- package/esm2022/lib/ui/forms/components/company/company.component.mjs +94 -0
- package/esm2022/lib/ui/forms/components/dropdownlists/timezone/timezone.dropdownlist.mjs +74 -0
- package/esm2022/lib/ui/forms/components/urlslug/urlslug.component.mjs +98 -0
- package/esm2022/lib/ui/forms/contact-us/contact-us.mjs +124 -0
- package/{esm2020 → esm2022}/lib/ui/forms/index.mjs +23 -23
- package/esm2022/lib/ui/pipes/filesize.pipe.mjs +40 -0
- package/{esm2020 → esm2022}/lib/ui/pipes/index.mjs +18 -18
- package/esm2022/lib/ui/pipes/replace-text.pipe.mjs +37 -0
- package/esm2022/lib/ui/pipes/safeHtml.pipe.mjs +35 -0
- package/esm2022/lib/ui/ui.module.mjs +192 -0
- package/esm2022/lib/ui/validation/form-validation-summary.component.mjs +64 -0
- package/{esm2020 → esm2022}/lib/ui/validation/index.mjs +18 -18
- package/esm2022/lib/ui/validation/item-validation-summary.component.mjs +39 -0
- package/{esm2020 → esm2022}/lib/ui/validation/validation-summary.component.mjs +125 -125
- package/{esm2020 → esm2022}/osovitny-anatoly.mjs +4 -4
- package/{esm2020 → esm2022}/public-api.mjs +24 -24
- package/{fesm2015 → fesm2022}/osovitny-anatoly.mjs +5120 -5972
- package/fesm2022/osovitny-anatoly.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/anatoly.module.d.ts +10 -10
- package/lib/core/browser.d.ts +4 -4
- package/lib/core/consts/settings.d.ts +1 -1
- package/lib/core/consts/urls.d.ts +3 -3
- package/lib/core/converts/convert.d.ts +16 -16
- package/lib/core/converts/xmlFormatter.d.ts +4 -4
- package/lib/core/core.module.d.ts +14 -14
- package/lib/core/dom.d.ts +17 -17
- package/lib/core/go/base-go.service.d.ts +12 -12
- package/lib/core/guards/once-import.guard.d.ts +1 -1
- package/lib/core/guid.d.ts +3 -3
- package/lib/core/index.d.ts +28 -28
- package/lib/core/interceptors/httpInterceptor.d.ts +18 -18
- package/lib/core/localization/localization.module.d.ts +8 -8
- package/lib/core/localization/localization.service.d.ts +25 -25
- package/lib/core/localization/localizationSettings.module.d.ts +18 -18
- package/lib/core/localization/localize.pipe.d.ts +10 -10
- package/lib/core/localization/utils.d.ts +5 -5
- package/lib/core/logging/globalErrorHandler.d.ts +9 -9
- package/lib/core/logging/logging.service.d.ts +8 -8
- package/lib/core/notifications/alerts.d.ts +9 -9
- package/lib/core/notifications/interfaces/notification.d.ts +10 -10
- package/lib/core/notifications/services/notification-service.d.ts +25 -25
- package/lib/core/performance/stopwatch.d.ts +14 -14
- package/lib/core/services/appcontext.service.d.ts +31 -31
- package/lib/core/services/dm.service.d.ts +16 -16
- package/lib/core/services/google-analytics.service.d.ts +11 -11
- package/lib/core/services/idle.service.d.ts +19 -19
- package/lib/core/services/loading.service.d.ts +13 -13
- package/lib/core/services/web-storage.service.d.ts +22 -22
- package/lib/core/subs.d.ts +8 -8
- package/lib/core/utils.d.ts +11 -11
- package/lib/data/base/base-api.service.d.ts +18 -18
- package/lib/data/base/grid/base-grid-edit.service.d.ts +16 -16
- package/lib/data/base/grid/base-grid-read.service.d.ts +14 -14
- package/lib/data/consts.d.ts +5 -5
- package/lib/data/data.module.d.ts +7 -7
- package/lib/data/index.d.ts +6 -6
- package/lib/data/services/core-api.service.d.ts +12 -12
- package/lib/data/services/emails-api.service.d.ts +10 -10
- package/lib/data/services/notifications/notifications-api-service.d.ts +12 -12
- package/lib/ui/components/base/base-edit.component.d.ts +57 -57
- package/lib/ui/components/base/base.component.d.ts +17 -17
- package/lib/ui/components/base/base.dialog.d.ts +17 -17
- package/lib/ui/components/base/base.list.d.ts +19 -19
- package/lib/ui/components/base/base.page.d.ts +6 -6
- package/lib/ui/components/base/base.paged.page.d.ts +18 -18
- package/lib/ui/components/billing/buyaccess-button.component.d.ts +19 -19
- package/lib/ui/components/billing/subscribe-plan-button.component.d.ts +21 -21
- package/lib/ui/components/card/card-body.component.d.ts +6 -6
- package/lib/ui/components/card/card-footer.component.d.ts +6 -6
- package/lib/ui/components/card/card-header.component.d.ts +7 -7
- package/lib/ui/components/card/card.component.d.ts +6 -6
- package/lib/ui/components/check-icon/check-icon.component.d.ts +6 -6
- package/lib/ui/components/copy-2-clipboard/copy-2-clipboard.component.d.ts +8 -8
- package/lib/ui/components/datapager/datapager.component.d.ts +21 -21
- package/lib/ui/components/html-editor/base-html-editor.component.d.ts +21 -21
- package/lib/ui/components/html-editor/forms-html-editor.component.d.ts +9 -9
- package/lib/ui/components/html-editor/html-editor.component.d.ts +9 -9
- package/lib/ui/components/html-editor/html-editor.defaultoptions.d.ts +1 -1
- package/lib/ui/components/identity/signin-button.component.d.ts +7 -7
- package/lib/ui/components/identity/signout-button.component.d.ts +7 -7
- package/lib/ui/components/identity/signup-button.component.d.ts +6 -6
- package/lib/ui/components/index.d.ts +25 -25
- package/lib/ui/components/nodata/nodata.component.d.ts +11 -11
- package/lib/ui/components/spinners/loading/loading.component.d.ts +13 -13
- package/lib/ui/components/spinners/pagespinner/pagespinner.component.d.ts +25 -25
- package/lib/ui/components/spinners/pagespinner/spinkits.d.ts +11 -11
- package/lib/ui/dialogs/contact-us/contact-us.dialog.d.ts +12 -12
- package/lib/ui/dialogs/index.d.ts +1 -1
- package/lib/ui/directives/hover.directive.d.ts +8 -8
- package/lib/ui/directives/index.d.ts +2 -2
- package/lib/ui/directives/native-element.directive.d.ts +11 -11
- package/lib/ui/external/fa.module.d.ts +10 -10
- package/lib/ui/external/kendo.module.d.ts +15 -15
- package/lib/ui/forms/components/address/address.component.d.ts +35 -35
- package/lib/ui/forms/components/company/company.component.d.ts +20 -20
- package/lib/ui/forms/components/dropdownlists/timezone/timezone.dropdownlist.d.ts +26 -26
- package/lib/ui/forms/components/urlslug/urlslug.component.d.ts +23 -23
- package/lib/ui/forms/contact-us/contact-us.d.ts +33 -33
- package/lib/ui/forms/index.d.ts +5 -5
- package/lib/ui/pipes/filesize.pipe.d.ts +8 -8
- package/lib/ui/pipes/index.d.ts +3 -3
- package/lib/ui/pipes/replace-text.pipe.d.ts +7 -7
- package/lib/ui/pipes/safeHtml.pipe.d.ts +10 -10
- package/lib/ui/ui.module.d.ts +43 -45
- package/lib/ui/validation/form-validation-summary.component.d.ts +11 -11
- package/lib/ui/validation/index.d.ts +3 -3
- package/lib/ui/validation/item-validation-summary.component.d.ts +9 -9
- package/lib/ui/validation/validation-summary.component.d.ts +24 -24
- package/package.json +10 -16
- package/public-api.d.ts +12 -12
- package/esm2020/lib/anatoly.module.mjs +0 -56
- package/esm2020/lib/core/core.module.mjs +0 -89
- package/esm2020/lib/core/go/base-go.service.mjs +0 -48
- package/esm2020/lib/core/interceptors/httpInterceptor.mjs +0 -105
- package/esm2020/lib/core/localization/localization.module.mjs +0 -45
- package/esm2020/lib/core/localization/localization.service.mjs +0 -182
- package/esm2020/lib/core/localization/localizationSettings.module.mjs +0 -90
- package/esm2020/lib/core/localization/localize.pipe.mjs +0 -75
- package/esm2020/lib/core/logging/globalErrorHandler.mjs +0 -41
- package/esm2020/lib/core/logging/logging.service.mjs +0 -36
- package/esm2020/lib/core/notifications/services/notification-service.mjs +0 -225
- package/esm2020/lib/core/performance/stopwatch.mjs +0 -50
- package/esm2020/lib/core/services/appcontext.service.mjs +0 -149
- package/esm2020/lib/core/services/dm.service.mjs +0 -69
- package/esm2020/lib/core/services/google-analytics.service.mjs +0 -53
- package/esm2020/lib/core/services/idle.service.mjs +0 -77
- package/esm2020/lib/core/services/loading.service.mjs +0 -68
- package/esm2020/lib/core/services/web-storage.service.mjs +0 -66
- package/esm2020/lib/core/subs.mjs +0 -31
- package/esm2020/lib/data/base/base-api.service.mjs +0 -97
- package/esm2020/lib/data/base/grid/base-grid-edit.service.mjs +0 -81
- package/esm2020/lib/data/base/grid/base-grid-read.service.mjs +0 -62
- package/esm2020/lib/data/data.module.mjs +0 -43
- package/esm2020/lib/data/services/core-api.service.mjs +0 -59
- package/esm2020/lib/data/services/emails-api.service.mjs +0 -47
- package/esm2020/lib/data/services/notifications/notifications-api-service.mjs +0 -40
- package/esm2020/lib/ui/components/base/base-edit.component.mjs +0 -134
- package/esm2020/lib/ui/components/base/base.component.mjs +0 -63
- package/esm2020/lib/ui/components/base/base.dialog.mjs +0 -67
- package/esm2020/lib/ui/components/base/base.list.mjs +0 -70
- package/esm2020/lib/ui/components/base/base.page.mjs +0 -31
- package/esm2020/lib/ui/components/base/base.paged.page.mjs +0 -67
- package/esm2020/lib/ui/components/billing/buyaccess-button.component.mjs +0 -106
- package/esm2020/lib/ui/components/billing/subscribe-plan-button.component.mjs +0 -118
- package/esm2020/lib/ui/components/card/card-body.component.mjs +0 -37
- package/esm2020/lib/ui/components/card/card-footer.component.mjs +0 -37
- package/esm2020/lib/ui/components/card/card-header.component.mjs +0 -52
- package/esm2020/lib/ui/components/card/card.component.mjs +0 -41
- package/esm2020/lib/ui/components/check-icon/check-icon.component.mjs +0 -42
- package/esm2020/lib/ui/components/copy-2-clipboard/copy-2-clipboard.component.mjs +0 -51
- package/esm2020/lib/ui/components/datapager/datapager.component.mjs +0 -89
- package/esm2020/lib/ui/components/html-editor/base-html-editor.component.mjs +0 -108
- package/esm2020/lib/ui/components/html-editor/forms-html-editor.component.mjs +0 -63
- package/esm2020/lib/ui/components/html-editor/html-editor.component.mjs +0 -61
- package/esm2020/lib/ui/components/identity/signin-button.component.mjs +0 -35
- package/esm2020/lib/ui/components/identity/signout-button.component.mjs +0 -35
- package/esm2020/lib/ui/components/identity/signup-button.component.mjs +0 -34
- package/esm2020/lib/ui/components/nodata/nodata.component.mjs +0 -67
- package/esm2020/lib/ui/components/spinners/loading/loading.component.mjs +0 -57
- package/esm2020/lib/ui/components/spinners/pagespinner/pagespinner.component.mjs +0 -84
- package/esm2020/lib/ui/dialogs/contact-us/contact-us.dialog.mjs +0 -78
- package/esm2020/lib/ui/directives/hover.directive.mjs +0 -51
- package/esm2020/lib/ui/directives/native-element.directive.mjs +0 -38
- package/esm2020/lib/ui/external/fa.module.mjs +0 -46
- package/esm2020/lib/ui/external/kendo.module.mjs +0 -91
- package/esm2020/lib/ui/forms/components/address/address.component.mjs +0 -242
- package/esm2020/lib/ui/forms/components/company/company.component.mjs +0 -142
- package/esm2020/lib/ui/forms/components/dropdownlists/timezone/timezone.dropdownlist.mjs +0 -99
- package/esm2020/lib/ui/forms/components/urlslug/urlslug.component.mjs +0 -136
- package/esm2020/lib/ui/forms/contact-us/contact-us.mjs +0 -212
- package/esm2020/lib/ui/pipes/filesize.pipe.mjs +0 -42
- package/esm2020/lib/ui/pipes/replace-text.pipe.mjs +0 -37
- package/esm2020/lib/ui/pipes/safeHtml.pipe.mjs +0 -34
- package/esm2020/lib/ui/ui.module.mjs +0 -193
- package/esm2020/lib/ui/validation/form-validation-summary.component.mjs +0 -89
- package/esm2020/lib/ui/validation/item-validation-summary.component.mjs +0 -59
- package/fesm2015/osovitny-anatoly.mjs.map +0 -1
- package/fesm2020/osovitny-anatoly.mjs +0 -5757
- package/fesm2020/osovitny-anatoly.mjs.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@osovitny/anatoly" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@osovitny/anatoly" />
|
|
5
|
+
export * from './public-api';
|
package/lib/anatoly.module.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "./core/core.module";
|
|
4
|
-
import * as i3 from "./data/data.module";
|
|
5
|
-
import * as i4 from "./ui/ui.module";
|
|
6
|
-
export declare class AnatolyModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyModule, never, [typeof i1.CommonModule, typeof i2.AnatolyCoreModule, typeof i3.AnatolyDataModule, typeof i4.AnatolyUIModule], [typeof i2.AnatolyCoreModule, typeof i3.AnatolyDataModule, typeof i4.AnatolyUIModule]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./core/core.module";
|
|
4
|
+
import * as i3 from "./data/data.module";
|
|
5
|
+
import * as i4 from "./ui/ui.module";
|
|
6
|
+
export declare class AnatolyModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyModule, never, [typeof i1.CommonModule, typeof i2.AnatolyCoreModule, typeof i3.AnatolyDataModule, typeof i4.AnatolyUIModule], [typeof i2.AnatolyCoreModule, typeof i3.AnatolyDataModule, typeof i4.AnatolyUIModule]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyModule>;
|
|
10
|
+
}
|
package/lib/core/browser.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class Browser {
|
|
2
|
-
static isIE(): boolean;
|
|
3
|
-
static isIframe(): boolean;
|
|
4
|
-
}
|
|
1
|
+
export declare class Browser {
|
|
2
|
+
static isIE(): boolean;
|
|
3
|
+
static isIframe(): boolean;
|
|
4
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AppCoreSettings: any;
|
|
1
|
+
export declare const AppCoreSettings: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const Urls: {
|
|
2
|
-
notificationsSocketUrl: string;
|
|
3
|
-
};
|
|
1
|
+
export declare const Urls: {
|
|
2
|
+
notificationsSocketUrl: string;
|
|
3
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare class Convert {
|
|
2
|
-
private static pad;
|
|
3
|
-
static toLocalizedDateTime(value: Date): Date | null;
|
|
4
|
-
static enumToString(enumeration: any, value: any): string;
|
|
5
|
-
static enumToArray(enumeration: any, notIncludes?: any): {
|
|
6
|
-
value: string;
|
|
7
|
-
text: any;
|
|
8
|
-
}[];
|
|
9
|
-
static stringToArray(str: string, separator?: string): string[];
|
|
10
|
-
static stringToIntArray(str: string, separator?: string): number[];
|
|
11
|
-
static company2String(comp: any): string;
|
|
12
|
-
static address2String(adr: any): string;
|
|
13
|
-
static dateToString(date: any): string;
|
|
14
|
-
static utcDateToLocalDate(d: any): Date;
|
|
15
|
-
static stringToBoolean(value: any): boolean;
|
|
16
|
-
}
|
|
1
|
+
export declare class Convert {
|
|
2
|
+
private static pad;
|
|
3
|
+
static toLocalizedDateTime(value: Date): Date | null;
|
|
4
|
+
static enumToString(enumeration: any, value: any): string;
|
|
5
|
+
static enumToArray(enumeration: any, notIncludes?: any): {
|
|
6
|
+
value: string;
|
|
7
|
+
text: any;
|
|
8
|
+
}[];
|
|
9
|
+
static stringToArray(str: string, separator?: string): string[];
|
|
10
|
+
static stringToIntArray(str: string, separator?: string): number[];
|
|
11
|
+
static company2String(comp: any): string;
|
|
12
|
+
static address2String(adr: any): string;
|
|
13
|
+
static dateToString(date: any): string;
|
|
14
|
+
static utcDateToLocalDate(d: any): Date;
|
|
15
|
+
static stringToBoolean(value: any): boolean;
|
|
16
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLBeautifyOptions } from 'js-beautify';
|
|
2
|
-
export declare class XmlFormatter {
|
|
3
|
-
static toPrettyXML(s: string, options?: HTMLBeautifyOptions): string;
|
|
4
|
-
}
|
|
1
|
+
import { HTMLBeautifyOptions } from 'js-beautify';
|
|
2
|
+
export declare class XmlFormatter {
|
|
3
|
+
static toPrettyXML(s: string, options?: HTMLBeautifyOptions): string;
|
|
4
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Injector } 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
|
-
import * as i3 from "./localization/localizationSettings.module";
|
|
6
|
-
import * as i4 from "./localization/localization.module";
|
|
7
|
-
export declare let InjectorInstance: Injector;
|
|
8
|
-
export declare class AnatolyCoreModule {
|
|
9
|
-
private injector;
|
|
10
|
-
constructor(injector: Injector, parentModule: AnatolyCoreModule);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyCoreModule, [null, { optional: true; skipSelf: true; }]>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyCoreModule, never, [typeof i1.CommonModule, typeof i2.ToastrModule, typeof i3.LocalizationSettingsModule, typeof i4.LocalizationModule], [typeof i3.LocalizationSettingsModule, typeof i4.LocalizationModule]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyCoreModule>;
|
|
14
|
-
}
|
|
1
|
+
import { Injector } 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
|
+
import * as i3 from "./localization/localizationSettings.module";
|
|
6
|
+
import * as i4 from "./localization/localization.module";
|
|
7
|
+
export declare let InjectorInstance: Injector;
|
|
8
|
+
export declare class AnatolyCoreModule {
|
|
9
|
+
private injector;
|
|
10
|
+
constructor(injector: Injector, parentModule: AnatolyCoreModule);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyCoreModule, [null, { optional: true; skipSelf: true; }]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyCoreModule, never, [typeof i1.CommonModule, typeof i2.ToastrModule, typeof i3.LocalizationSettingsModule, typeof i4.LocalizationModule], [typeof i3.LocalizationSettingsModule, typeof i4.LocalizationModule]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyCoreModule>;
|
|
14
|
+
}
|
package/lib/core/dom.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export declare class DOM {
|
|
2
|
-
private static dir;
|
|
3
|
-
static first(elements: HTMLElement[]): HTMLElement;
|
|
4
|
-
static any(elements: HTMLElement[]): boolean;
|
|
5
|
-
static parent(elem: HTMLElement): HTMLElement;
|
|
6
|
-
static parents(elem: HTMLElement, selector?: any): any[];
|
|
7
|
-
static findInDocument(selector: string): HTMLElement[];
|
|
8
|
-
static find(elem: any, selector: string): HTMLElement[];
|
|
9
|
-
static remove(nodes: any): void;
|
|
10
|
-
static findAndRemove(element: any, selector: any): void;
|
|
11
|
-
static show(elem: any): void;
|
|
12
|
-
static hide(elem: any): void;
|
|
13
|
-
static each(selector: any, action: any): void;
|
|
14
|
-
static addClass(elem: Node | Element, classNames: any): void;
|
|
15
|
-
static removeClass(elem: Node | Element, classNames: any): void;
|
|
16
|
-
static hasClass(elem: Node | Element, className: any): void;
|
|
17
|
-
}
|
|
1
|
+
export declare class DOM {
|
|
2
|
+
private static dir;
|
|
3
|
+
static first(elements: HTMLElement[]): HTMLElement;
|
|
4
|
+
static any(elements: HTMLElement[]): boolean;
|
|
5
|
+
static parent(elem: HTMLElement): HTMLElement;
|
|
6
|
+
static parents(elem: HTMLElement, selector?: any): any[];
|
|
7
|
+
static findInDocument(selector: string): HTMLElement[];
|
|
8
|
+
static find(elem: any, selector: string): HTMLElement[];
|
|
9
|
+
static remove(nodes: any): void;
|
|
10
|
+
static findAndRemove(element: any, selector: any): void;
|
|
11
|
+
static show(elem: any): void;
|
|
12
|
+
static hide(elem: any): void;
|
|
13
|
+
static each(selector: any, action: any): void;
|
|
14
|
+
static addClass(elem: Node | Element, classNames: any): void;
|
|
15
|
+
static removeClass(elem: Node | Element, classNames: any): void;
|
|
16
|
+
static hasClass(elem: Node | Element, className: any): void;
|
|
17
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BaseGoService {
|
|
4
|
-
protected route: ActivatedRoute;
|
|
5
|
-
protected router: Router;
|
|
6
|
-
constructor(route: ActivatedRoute, router: Router);
|
|
7
|
-
locationReload(): void;
|
|
8
|
-
homeReload(): void;
|
|
9
|
-
navigate(commands: any[], reload?: boolean): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseGoService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseGoService>;
|
|
12
|
-
}
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BaseGoService {
|
|
4
|
+
protected route: ActivatedRoute;
|
|
5
|
+
protected router: Router;
|
|
6
|
+
constructor(route: ActivatedRoute, router: Router);
|
|
7
|
+
locationReload(): void;
|
|
8
|
+
homeReload(): void;
|
|
9
|
+
navigate(commands: any[], reload?: boolean): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseGoService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseGoService>;
|
|
12
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function throwIfAlreadyLoaded(parentModule: any, moduleName: string): void;
|
|
1
|
+
export declare function throwIfAlreadyLoaded(parentModule: any, moduleName: string): void;
|
package/lib/core/guid.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare class Guid {
|
|
2
|
-
static newGuid(): any;
|
|
3
|
-
}
|
|
1
|
+
export declare class Guid {
|
|
2
|
+
static newGuid(): any;
|
|
3
|
+
}
|
package/lib/core/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export * from './consts/settings';
|
|
2
|
-
export * from './consts/urls';
|
|
3
|
-
export * from './converts/convert';
|
|
4
|
-
export * from './converts/xmlFormatter';
|
|
5
|
-
export * from './go/base-go.service';
|
|
6
|
-
export * from './guards/once-import.guard';
|
|
7
|
-
export * from './interceptors/httpInterceptor';
|
|
8
|
-
export * from './localization/localize.pipe';
|
|
9
|
-
export * from './localization/localization.service';
|
|
10
|
-
export * from './localization/localizationSettings.module';
|
|
11
|
-
export * from './localization/localization.module';
|
|
12
|
-
export * from './logging/globalErrorHandler';
|
|
13
|
-
export * from './logging/logging.service';
|
|
14
|
-
export * from './notifications/alerts';
|
|
15
|
-
export * from './notifications/interfaces/notification';
|
|
16
|
-
export * from './notifications/services/notification-service';
|
|
17
|
-
export * from './performance/stopwatch';
|
|
18
|
-
export * from './services/appcontext.service';
|
|
19
|
-
export * from './services/idle.service';
|
|
20
|
-
export * from './services/loading.service';
|
|
21
|
-
export * from './services/web-storage.service';
|
|
22
|
-
export * from './services/dm.service';
|
|
23
|
-
export * from './services/google-analytics.service';
|
|
24
|
-
export * from './browser';
|
|
25
|
-
export * from './dom';
|
|
26
|
-
export * from './guid';
|
|
27
|
-
export * from './subs';
|
|
28
|
-
export * from './utils';
|
|
1
|
+
export * from './consts/settings';
|
|
2
|
+
export * from './consts/urls';
|
|
3
|
+
export * from './converts/convert';
|
|
4
|
+
export * from './converts/xmlFormatter';
|
|
5
|
+
export * from './go/base-go.service';
|
|
6
|
+
export * from './guards/once-import.guard';
|
|
7
|
+
export * from './interceptors/httpInterceptor';
|
|
8
|
+
export * from './localization/localize.pipe';
|
|
9
|
+
export * from './localization/localization.service';
|
|
10
|
+
export * from './localization/localizationSettings.module';
|
|
11
|
+
export * from './localization/localization.module';
|
|
12
|
+
export * from './logging/globalErrorHandler';
|
|
13
|
+
export * from './logging/logging.service';
|
|
14
|
+
export * from './notifications/alerts';
|
|
15
|
+
export * from './notifications/interfaces/notification';
|
|
16
|
+
export * from './notifications/services/notification-service';
|
|
17
|
+
export * from './performance/stopwatch';
|
|
18
|
+
export * from './services/appcontext.service';
|
|
19
|
+
export * from './services/idle.service';
|
|
20
|
+
export * from './services/loading.service';
|
|
21
|
+
export * from './services/web-storage.service';
|
|
22
|
+
export * from './services/dm.service';
|
|
23
|
+
export * from './services/google-analytics.service';
|
|
24
|
+
export * from './browser';
|
|
25
|
+
export * from './dom';
|
|
26
|
+
export * from './guid';
|
|
27
|
+
export * from './subs';
|
|
28
|
+
export * from './utils';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { LoadingService } from '../services/loading.service';
|
|
4
|
-
import { LoggingService } from '../logging/logging.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AnatolyHttpInterceptor implements HttpInterceptor {
|
|
7
|
-
protected loadingService: LoadingService;
|
|
8
|
-
protected loggingService: LoggingService;
|
|
9
|
-
protected longRunningExceptionsList: any[];
|
|
10
|
-
protected autoCDNSASTokenUrls: string[];
|
|
11
|
-
protected externalSiteUrls: string[];
|
|
12
|
-
constructor(loadingService: LoadingService, loggingService: LoggingService);
|
|
13
|
-
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
14
|
-
onRequestStart(loadingRequired: boolean): void;
|
|
15
|
-
onRequestEnd(loadingRequired: boolean): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyHttpInterceptor, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AnatolyHttpInterceptor>;
|
|
18
|
-
}
|
|
1
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { LoadingService } from '../services/loading.service';
|
|
4
|
+
import { LoggingService } from '../logging/logging.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AnatolyHttpInterceptor implements HttpInterceptor {
|
|
7
|
+
protected loadingService: LoadingService;
|
|
8
|
+
protected loggingService: LoggingService;
|
|
9
|
+
protected longRunningExceptionsList: any[];
|
|
10
|
+
protected autoCDNSASTokenUrls: string[];
|
|
11
|
+
protected externalSiteUrls: string[];
|
|
12
|
+
constructor(loadingService: LoadingService, loggingService: LoggingService);
|
|
13
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
14
|
+
onRequestStart(loadingRequired: boolean): void;
|
|
15
|
+
onRequestEnd(loadingRequired: boolean): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyHttpInterceptor, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnatolyHttpInterceptor>;
|
|
18
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./localize.pipe";
|
|
3
|
-
import * as i2 from "@ngx-translate/core";
|
|
4
|
-
export declare class LocalizationModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LocalizationModule, [typeof i1.LocalizePipe], [typeof i2.TranslateModule], [typeof i2.TranslateModule, typeof i1.LocalizePipe]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LocalizationModule>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./localize.pipe";
|
|
3
|
+
import * as i2 from "@ngx-translate/core";
|
|
4
|
+
export declare class LocalizationModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LocalizationModule, [typeof i1.LocalizePipe], [typeof i2.TranslateModule], [typeof i2.TranslateModule, typeof i1.LocalizePipe]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LocalizationModule>;
|
|
8
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LocalizationService {
|
|
4
|
-
private translate;
|
|
5
|
-
dateFnsLocale: any;
|
|
6
|
-
constructor(translate: TranslateService);
|
|
7
|
-
private format;
|
|
8
|
-
configureTranslationSettings(translate: TranslateService): string;
|
|
9
|
-
getBrowserLanguage(): string;
|
|
10
|
-
getDatefnsLocale(): any;
|
|
11
|
-
setDefaultLanguage(lang: string): void;
|
|
12
|
-
setSupportedLanguages(languages: string[]): void;
|
|
13
|
-
updateLanguage(language: string): void;
|
|
14
|
-
getLocalizedValue(key: string, params?: any[]): string;
|
|
15
|
-
getLocalizedDate(key: string): string;
|
|
16
|
-
getLocalizedDateTime(key: string): string;
|
|
17
|
-
getLocalizedDistanceInWords(endedDate: string, startedDate: string): string;
|
|
18
|
-
getLocalizedDistanceToNowInWords(date: string): string;
|
|
19
|
-
getUTCToLocalizedDate(key: string): string;
|
|
20
|
-
getUTCToLocalizedDateTime(key: string): string;
|
|
21
|
-
getUTCToLocalizedDistanceToNowInWords(date: string): string;
|
|
22
|
-
safeUtcToZonedTime(date: any): string;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationService>;
|
|
25
|
-
}
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LocalizationService {
|
|
4
|
+
private translate;
|
|
5
|
+
dateFnsLocale: any;
|
|
6
|
+
constructor(translate: TranslateService);
|
|
7
|
+
private format;
|
|
8
|
+
configureTranslationSettings(translate: TranslateService): string;
|
|
9
|
+
getBrowserLanguage(): string;
|
|
10
|
+
getDatefnsLocale(): any;
|
|
11
|
+
setDefaultLanguage(lang: string): void;
|
|
12
|
+
setSupportedLanguages(languages: string[]): void;
|
|
13
|
+
updateLanguage(language: string): void;
|
|
14
|
+
getLocalizedValue(key: string, params?: any[]): string;
|
|
15
|
+
getLocalizedDate(key: string): string;
|
|
16
|
+
getLocalizedDateTime(key: string): string;
|
|
17
|
+
getLocalizedDistanceInWords(endedDate: string, startedDate: string): string;
|
|
18
|
+
getLocalizedDistanceToNowInWords(date: string): string;
|
|
19
|
+
getUTCToLocalizedDate(key: string): string;
|
|
20
|
+
getUTCToLocalizedDateTime(key: string): string;
|
|
21
|
+
getUTCToLocalizedDistanceToNowInWords(date: string): string;
|
|
22
|
+
safeUtcToZonedTime(date: any): string;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationService>;
|
|
25
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
5
|
-
import { LocalizationService } from './localization.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@ngx-translate/core";
|
|
8
|
-
export declare function customTranslateLoaderFactory(http: HttpClient): TranslateHttpLoader;
|
|
9
|
-
export declare function localizationInitializerFactory(translate: TranslateService, localizationService: LocalizationService, injector: Injector): () => Promise<any>;
|
|
10
|
-
export declare const TranslateModuleAtRoot: import("@angular/core").ModuleWithProviders<TranslateModule>;
|
|
11
|
-
export declare let LocalizationInjectorInstance: Injector;
|
|
12
|
-
export declare class LocalizationSettingsModule {
|
|
13
|
-
private injector;
|
|
14
|
-
constructor(injector: Injector);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationSettingsModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LocalizationSettingsModule, never, [typeof i1.TranslateModule], never>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LocalizationSettingsModule>;
|
|
18
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
5
|
+
import { LocalizationService } from './localization.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@ngx-translate/core";
|
|
8
|
+
export declare function customTranslateLoaderFactory(http: HttpClient): TranslateHttpLoader;
|
|
9
|
+
export declare function localizationInitializerFactory(translate: TranslateService, localizationService: LocalizationService, injector: Injector): () => Promise<any>;
|
|
10
|
+
export declare const TranslateModuleAtRoot: import("@angular/core").ModuleWithProviders<TranslateModule>;
|
|
11
|
+
export declare let LocalizationInjectorInstance: Injector;
|
|
12
|
+
export declare class LocalizationSettingsModule {
|
|
13
|
+
private injector;
|
|
14
|
+
constructor(injector: Injector);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationSettingsModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LocalizationSettingsModule, never, [typeof i1.TranslateModule], never>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LocalizationSettingsModule>;
|
|
18
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { LocalizationService } from './localization.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LocalizePipe implements PipeTransform {
|
|
5
|
-
private localizeService;
|
|
6
|
-
constructor(localizeService: LocalizationService);
|
|
7
|
-
transform(inputData: string, type: string, param2?: string): string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize", false>;
|
|
10
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { LocalizationService } from './localization.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LocalizePipe implements PipeTransform {
|
|
5
|
+
private localizeService;
|
|
6
|
+
constructor(localizeService: LocalizationService);
|
|
7
|
+
transform(inputData: string, type: string, param2?: string): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize", false>;
|
|
10
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LocalizationService } from './localization.service';
|
|
2
|
-
export declare class L10nUtils {
|
|
3
|
-
static get localizationService(): LocalizationService;
|
|
4
|
-
static getLocalizedValue(key: string, params?: any[], defaultKey?: string): string;
|
|
5
|
-
}
|
|
1
|
+
import { LocalizationService } from './localization.service';
|
|
2
|
+
export declare class L10nUtils {
|
|
3
|
+
static get localizationService(): LocalizationService;
|
|
4
|
+
static getLocalizedValue(key: string, params?: any[], defaultKey?: string): string;
|
|
5
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ErrorHandler, Injector } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GlobalErrorHandler implements ErrorHandler {
|
|
4
|
-
private injector;
|
|
5
|
-
constructor(injector: Injector);
|
|
6
|
-
handleError(error: any): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalErrorHandler, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GlobalErrorHandler>;
|
|
9
|
-
}
|
|
1
|
+
import { ErrorHandler, Injector } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GlobalErrorHandler implements ErrorHandler {
|
|
4
|
+
private injector;
|
|
5
|
+
constructor(injector: Injector);
|
|
6
|
+
handleError(error: any): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalErrorHandler, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GlobalErrorHandler>;
|
|
9
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class LoggingService {
|
|
3
|
-
constructor();
|
|
4
|
-
logError(error: any): void;
|
|
5
|
-
logInformation(info: any): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoggingService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoggingService>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LoggingService {
|
|
3
|
+
constructor();
|
|
4
|
+
logError(error: any): void;
|
|
5
|
+
logInformation(info: any): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoggingService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoggingService>;
|
|
8
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare class Alerts {
|
|
2
|
-
static success(text?: any, params?: any[], title?: any, successAction?: any): void;
|
|
3
|
-
static info(text: any, params?: any[], title?: any): void;
|
|
4
|
-
static warning(text: any, params?: any[], title?: any): void;
|
|
5
|
-
static error(text?: any, params?: any[], title?: any): void;
|
|
6
|
-
static cancel(text?: any, params?: any[], title?: any): void;
|
|
7
|
-
static notImplemented(): void;
|
|
8
|
-
static areYouSure(text: any, title?: any, confirmButtonText?: any, cancelButtonText?: any, successAction?: any, cancelAction?: any): void;
|
|
9
|
-
}
|
|
1
|
+
export declare class Alerts {
|
|
2
|
+
static success(text?: any, params?: any[], title?: any, successAction?: any): void;
|
|
3
|
+
static info(text: any, params?: any[], title?: any): void;
|
|
4
|
+
static warning(text: any, params?: any[], title?: any): void;
|
|
5
|
+
static error(text?: any, params?: any[], title?: any): void;
|
|
6
|
+
static cancel(text?: any, params?: any[], title?: any): void;
|
|
7
|
+
static notImplemented(): void;
|
|
8
|
+
static areYouSure(text: any, title?: any, confirmButtonText?: any, cancelButtonText?: any, successAction?: any, cancelAction?: any): void;
|
|
9
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface INotification {
|
|
2
|
-
id?: string;
|
|
3
|
-
isNew: boolean;
|
|
4
|
-
isSession: boolean;
|
|
5
|
-
text?: string;
|
|
6
|
-
type?: string;
|
|
7
|
-
component?: string;
|
|
8
|
-
operation?: string;
|
|
9
|
-
createdDate?: string;
|
|
10
|
-
}
|
|
1
|
+
export interface INotification {
|
|
2
|
+
id?: string;
|
|
3
|
+
isNew: boolean;
|
|
4
|
+
isSession: boolean;
|
|
5
|
+
text?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
component?: string;
|
|
8
|
+
operation?: string;
|
|
9
|
+
createdDate?: string;
|
|
10
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { ToastrService } from 'ngx-toastr';
|
|
2
|
-
import { INotification } from '../interfaces/notification';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NotificationService {
|
|
5
|
-
private toastrService;
|
|
6
|
-
private _sessionNotifications;
|
|
7
|
-
private _serverNotifications;
|
|
8
|
-
readonly sessionNotifications$: import("rxjs").Observable<INotification[]>;
|
|
9
|
-
readonly serverNotifications$: import("rxjs").Observable<INotification[]>;
|
|
10
|
-
constructor(toastrService: ToastrService);
|
|
11
|
-
private addSessionNotification;
|
|
12
|
-
private addSessionNotificationToList;
|
|
13
|
-
removeNotification(id: string, isSession: boolean): void;
|
|
14
|
-
success(text?: any, params?: any[], title?: any, createSessionNotification?: boolean): void;
|
|
15
|
-
info(text: any, params?: any[], title?: any): void;
|
|
16
|
-
warning(text: any, params?: any[], title?: any): void;
|
|
17
|
-
error(text?: any, params?: any[], title?: any, createSessionNotification?: boolean): void;
|
|
18
|
-
cancel(text?: any, params?: any[], title?: any): void;
|
|
19
|
-
get sessionNotifications(): INotification[];
|
|
20
|
-
set sessionNotifications(val: INotification[]);
|
|
21
|
-
get serverNotifications(): INotification[];
|
|
22
|
-
set serverNotifications(val: INotification[]);
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
25
|
-
}
|
|
1
|
+
import { ToastrService } from 'ngx-toastr';
|
|
2
|
+
import { INotification } from '../interfaces/notification';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NotificationService {
|
|
5
|
+
private toastrService;
|
|
6
|
+
private _sessionNotifications;
|
|
7
|
+
private _serverNotifications;
|
|
8
|
+
readonly sessionNotifications$: import("rxjs").Observable<INotification[]>;
|
|
9
|
+
readonly serverNotifications$: import("rxjs").Observable<INotification[]>;
|
|
10
|
+
constructor(toastrService: ToastrService);
|
|
11
|
+
private addSessionNotification;
|
|
12
|
+
private addSessionNotificationToList;
|
|
13
|
+
removeNotification(id: string, isSession: boolean): void;
|
|
14
|
+
success(text?: any, params?: any[], title?: any, createSessionNotification?: boolean): void;
|
|
15
|
+
info(text: any, params?: any[], title?: any): void;
|
|
16
|
+
warning(text: any, params?: any[], title?: any): void;
|
|
17
|
+
error(text?: any, params?: any[], title?: any, createSessionNotification?: boolean): void;
|
|
18
|
+
cancel(text?: any, params?: any[], title?: any): void;
|
|
19
|
+
get sessionNotifications(): INotification[];
|
|
20
|
+
set sessionNotifications(val: INotification[]);
|
|
21
|
+
get serverNotifications(): INotification[];
|
|
22
|
+
set serverNotifications(val: INotification[]);
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
25
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare class Stopwatch {
|
|
2
|
-
private name;
|
|
3
|
-
private startTime;
|
|
4
|
-
private stopTime;
|
|
5
|
-
private running;
|
|
6
|
-
private performance;
|
|
7
|
-
constructor(name: any);
|
|
8
|
-
private currentTime;
|
|
9
|
-
start(): void;
|
|
10
|
-
stop(): void;
|
|
11
|
-
getElapsedMilliseconds(): number;
|
|
12
|
-
getElapsedSeconds(): number;
|
|
13
|
-
printElapsedAsMilliseconds(): void;
|
|
14
|
-
}
|
|
1
|
+
export declare class Stopwatch {
|
|
2
|
+
private name;
|
|
3
|
+
private startTime;
|
|
4
|
+
private stopTime;
|
|
5
|
+
private running;
|
|
6
|
+
private performance;
|
|
7
|
+
constructor(name: any);
|
|
8
|
+
private currentTime;
|
|
9
|
+
start(): void;
|
|
10
|
+
stop(): void;
|
|
11
|
+
getElapsedMilliseconds(): number;
|
|
12
|
+
getElapsedSeconds(): number;
|
|
13
|
+
printElapsedAsMilliseconds(): void;
|
|
14
|
+
}
|