@osovitny/anatoly 2.15.12 → 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 +5119 -5974
- 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 -46
- 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 -36
- package/esm2020/lib/ui/components/identity/signout-button.component.mjs +0 -36
- package/esm2020/lib/ui/components/identity/signup-button.component.mjs +0 -35
- 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 -197
- 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 -5760
- package/fesm2020/osovitny-anatoly.mjs.map +0 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { BaseApiService } from '../../data/base/base-api.service';
|
|
3
|
-
import { LocalStorageService, SessionStorageService } from './web-storage.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AppContextService extends BaseApiService {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
protected localStorage: LocalStorageService;
|
|
8
|
-
protected sessionStorage: SessionStorageService;
|
|
9
|
-
private storageKeyName;
|
|
10
|
-
private subscription;
|
|
11
|
-
private successes;
|
|
12
|
-
private _updated;
|
|
13
|
-
readonly updated$: import("rxjs").Observable<any>;
|
|
14
|
-
constructor(http: HttpClient, localStorage: LocalStorageService, sessionStorage: SessionStorageService);
|
|
15
|
-
private getCurrentFromSession;
|
|
16
|
-
private setCurrentFromSession;
|
|
17
|
-
private updateCurrentIfExpired;
|
|
18
|
-
private dataReceived;
|
|
19
|
-
private getCurrentPrivate;
|
|
20
|
-
getLatestCurrent(success?: Function): void;
|
|
21
|
-
getCurrent(success?: Function): void;
|
|
22
|
-
updateCurrent(success?: Function): void;
|
|
23
|
-
clearCurrent(): void;
|
|
24
|
-
clearLocalStorage(): void;
|
|
25
|
-
clearSessionStorage(): void;
|
|
26
|
-
clearWebStorage(): void;
|
|
27
|
-
get current(): any;
|
|
28
|
-
set current(value: any);
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppContextService, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppContextService>;
|
|
31
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BaseApiService } from '../../data/base/base-api.service';
|
|
3
|
+
import { LocalStorageService, SessionStorageService } from './web-storage.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AppContextService extends BaseApiService {
|
|
6
|
+
protected http: HttpClient;
|
|
7
|
+
protected localStorage: LocalStorageService;
|
|
8
|
+
protected sessionStorage: SessionStorageService;
|
|
9
|
+
private storageKeyName;
|
|
10
|
+
private subscription;
|
|
11
|
+
private successes;
|
|
12
|
+
private _updated;
|
|
13
|
+
readonly updated$: import("rxjs").Observable<any>;
|
|
14
|
+
constructor(http: HttpClient, localStorage: LocalStorageService, sessionStorage: SessionStorageService);
|
|
15
|
+
private getCurrentFromSession;
|
|
16
|
+
private setCurrentFromSession;
|
|
17
|
+
private updateCurrentIfExpired;
|
|
18
|
+
private dataReceived;
|
|
19
|
+
private getCurrentPrivate;
|
|
20
|
+
getLatestCurrent(success?: Function): void;
|
|
21
|
+
getCurrent(success?: Function): void;
|
|
22
|
+
updateCurrent(success?: Function): void;
|
|
23
|
+
clearCurrent(): void;
|
|
24
|
+
clearLocalStorage(): void;
|
|
25
|
+
clearSessionStorage(): void;
|
|
26
|
+
clearWebStorage(): void;
|
|
27
|
+
get current(): any;
|
|
28
|
+
set current(value: any);
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppContextService, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AppContextService>;
|
|
31
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Title, Meta, MetaDefinition } from '@angular/platform-browser';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DigitalMarketingService {
|
|
4
|
-
private title;
|
|
5
|
-
private meta;
|
|
6
|
-
private dom;
|
|
7
|
-
constructor(title: Title, meta: Meta, dom: any);
|
|
8
|
-
updateTitle(title?: string): void;
|
|
9
|
-
updateDescription(desc?: string): void;
|
|
10
|
-
updateKeywords(keywords?: any): void;
|
|
11
|
-
updateMetaTags(meta: MetaDefinition[]): void;
|
|
12
|
-
setCanonicalUrl(url?: string): void;
|
|
13
|
-
updateCanonicalUrl(url?: string): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DigitalMarketingService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DigitalMarketingService>;
|
|
16
|
-
}
|
|
1
|
+
import { Title, Meta, MetaDefinition } from '@angular/platform-browser';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DigitalMarketingService {
|
|
4
|
+
private title;
|
|
5
|
+
private meta;
|
|
6
|
+
private dom;
|
|
7
|
+
constructor(title: Title, meta: Meta, dom: any);
|
|
8
|
+
updateTitle(title?: string): void;
|
|
9
|
+
updateDescription(desc?: string): void;
|
|
10
|
+
updateKeywords(keywords?: any): void;
|
|
11
|
+
updateMetaTags(meta: MetaDefinition[]): void;
|
|
12
|
+
setCanonicalUrl(url?: string): void;
|
|
13
|
+
updateCanonicalUrl(url?: string): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DigitalMarketingService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DigitalMarketingService>;
|
|
16
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GoogleAnalyticsService {
|
|
4
|
-
private router;
|
|
5
|
-
private subscription;
|
|
6
|
-
constructor(router: Router);
|
|
7
|
-
subscribe(): void;
|
|
8
|
-
unsubscribe(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleAnalyticsService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GoogleAnalyticsService>;
|
|
11
|
-
}
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GoogleAnalyticsService {
|
|
4
|
+
private router;
|
|
5
|
+
private subscription;
|
|
6
|
+
constructor(router: Router);
|
|
7
|
+
subscribe(): void;
|
|
8
|
+
unsubscribe(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleAnalyticsService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GoogleAnalyticsService>;
|
|
11
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Observable, Subject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IdleService {
|
|
4
|
-
private idle$;
|
|
5
|
-
private timer$;
|
|
6
|
-
private idleSubscription;
|
|
7
|
-
private startDate;
|
|
8
|
-
private timeOutSeconds;
|
|
9
|
-
private timeOutMilliSeconds;
|
|
10
|
-
expired$: Subject<boolean>;
|
|
11
|
-
private resetTimeCounters;
|
|
12
|
-
private startTimer;
|
|
13
|
-
private resetTimer;
|
|
14
|
-
startWatching(timeOutSeconds: any): Observable<any>;
|
|
15
|
-
stopWatching(): void;
|
|
16
|
-
restartIdleTimer(timeOutSeconds: any): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IdleService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IdleService>;
|
|
19
|
-
}
|
|
1
|
+
import { Observable, Subject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IdleService {
|
|
4
|
+
private idle$;
|
|
5
|
+
private timer$;
|
|
6
|
+
private idleSubscription;
|
|
7
|
+
private startDate;
|
|
8
|
+
private timeOutSeconds;
|
|
9
|
+
private timeOutMilliSeconds;
|
|
10
|
+
expired$: Subject<boolean>;
|
|
11
|
+
private resetTimeCounters;
|
|
12
|
+
private startTimer;
|
|
13
|
+
private resetTimer;
|
|
14
|
+
startWatching(timeOutSeconds: any): Observable<any>;
|
|
15
|
+
stopWatching(): void;
|
|
16
|
+
restartIdleTimer(timeOutSeconds: any): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdleService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IdleService>;
|
|
19
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { BehaviorSubject } from "rxjs";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LoadingService extends BehaviorSubject<boolean> {
|
|
4
|
-
private counter;
|
|
5
|
-
isFreezed: boolean;
|
|
6
|
-
constructor();
|
|
7
|
-
show(): void;
|
|
8
|
-
hide(): void;
|
|
9
|
-
freeze(timeout?: number): void;
|
|
10
|
-
reset(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
|
|
13
|
-
}
|
|
1
|
+
import { BehaviorSubject } from "rxjs";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LoadingService extends BehaviorSubject<boolean> {
|
|
4
|
+
private counter;
|
|
5
|
+
isFreezed: boolean;
|
|
6
|
+
constructor();
|
|
7
|
+
show(): void;
|
|
8
|
+
hide(): void;
|
|
9
|
+
freeze(timeout?: number): void;
|
|
10
|
+
reset(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
|
|
13
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
declare class WebStorageService {
|
|
3
|
-
storage: Storage;
|
|
4
|
-
constructor(storage: string);
|
|
5
|
-
setItem(key: any, value: any): void;
|
|
6
|
-
setObject(key: any, value: any): void;
|
|
7
|
-
getItem(key: any): string;
|
|
8
|
-
getObject(key: any): any;
|
|
9
|
-
remove(key: any): void;
|
|
10
|
-
clear(): void;
|
|
11
|
-
}
|
|
12
|
-
export declare class LocalStorageService extends WebStorageService {
|
|
13
|
-
constructor();
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
|
|
16
|
-
}
|
|
17
|
-
export declare class SessionStorageService extends WebStorageService {
|
|
18
|
-
constructor();
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SessionStorageService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorageService>;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
declare class WebStorageService {
|
|
3
|
+
storage: Storage;
|
|
4
|
+
constructor(storage: string);
|
|
5
|
+
setItem(key: any, value: any): void;
|
|
6
|
+
setObject(key: any, value: any): void;
|
|
7
|
+
getItem(key: any): string;
|
|
8
|
+
getObject(key: any): any;
|
|
9
|
+
remove(key: any): void;
|
|
10
|
+
clear(): void;
|
|
11
|
+
}
|
|
12
|
+
export declare class LocalStorageService extends WebStorageService {
|
|
13
|
+
constructor();
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
|
|
16
|
+
}
|
|
17
|
+
export declare class SessionStorageService extends WebStorageService {
|
|
18
|
+
constructor();
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SessionStorageService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorageService>;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
package/lib/core/subs.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Subscription } from 'rxjs';
|
|
2
|
-
export declare class Subs {
|
|
3
|
-
private subs;
|
|
4
|
-
constructor();
|
|
5
|
-
add(...subscriptions: Subscription[]): void;
|
|
6
|
-
set sink(subscription: Subscription);
|
|
7
|
-
unsubscribe(): void;
|
|
8
|
-
}
|
|
1
|
+
import { Subscription } from 'rxjs';
|
|
2
|
+
export declare class Subs {
|
|
3
|
+
private subs;
|
|
4
|
+
constructor();
|
|
5
|
+
add(...subscriptions: Subscription[]): void;
|
|
6
|
+
set sink(subscription: Subscription);
|
|
7
|
+
unsubscribe(): void;
|
|
8
|
+
}
|
package/lib/core/utils.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare class Utils {
|
|
2
|
-
static idExistsInQS(): boolean;
|
|
3
|
-
static getValueByNameInQS(name: any): string;
|
|
4
|
-
static getValueByName(url: any, name: any): string;
|
|
5
|
-
static copyToClipBoard(event: any, val: string): void;
|
|
6
|
-
static downloadFile(name: string, url: string): void;
|
|
7
|
-
static downloadBlobFile(value: Blob, fileName: string): void;
|
|
8
|
-
static slugify(text: string, prefix?: string, postfix?: string): string;
|
|
9
|
-
static generateRandom(start: number, end: number): number;
|
|
10
|
-
static isObjectNullOrEmpty(obj: any): boolean;
|
|
11
|
-
}
|
|
1
|
+
export declare class Utils {
|
|
2
|
+
static idExistsInQS(): boolean;
|
|
3
|
+
static getValueByNameInQS(name: any): string;
|
|
4
|
+
static getValueByName(url: any, name: any): string;
|
|
5
|
+
static copyToClipBoard(event: any, val: string): void;
|
|
6
|
+
static downloadFile(name: string, url: string): void;
|
|
7
|
+
static downloadBlobFile(value: Blob, fileName: string): void;
|
|
8
|
+
static slugify(text: string, prefix?: string, postfix?: string): string;
|
|
9
|
+
static generateRandom(start: number, end: number): number;
|
|
10
|
+
static isObjectNullOrEmpty(obj: any): boolean;
|
|
11
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BaseApiService {
|
|
5
|
-
protected http: HttpClient;
|
|
6
|
-
protected baseUrl: string;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
private serializeParams;
|
|
9
|
-
get<T>(action: string, data?: any, responseType?: any): Observable<T>;
|
|
10
|
-
post(action: string, data?: any, responseType?: any): Observable<any>;
|
|
11
|
-
postQS(action: string, data?: any, responseType?: any): Observable<any>;
|
|
12
|
-
delete(action: string, data?: any, responseType?: any): Observable<any>;
|
|
13
|
-
getExternalTextFile(url: string): Observable<any>;
|
|
14
|
-
getJsonFile(fileName: string): Observable<any[]>;
|
|
15
|
-
getExternalJsonFile(libname: string, fileName: string): Observable<any[]>;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseApiService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseApiService>;
|
|
18
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BaseApiService {
|
|
5
|
+
protected http: HttpClient;
|
|
6
|
+
protected baseUrl: string;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
private serializeParams;
|
|
9
|
+
get<T>(action: string, data?: any, responseType?: any): Observable<T>;
|
|
10
|
+
post(action: string, data?: any, responseType?: any): Observable<any>;
|
|
11
|
+
postQS(action: string, data?: any, responseType?: any): Observable<any>;
|
|
12
|
+
delete(action: string, data?: any, responseType?: any): Observable<any>;
|
|
13
|
+
getExternalTextFile(url: string): Observable<any>;
|
|
14
|
+
getJsonFile(fileName: string): Observable<any[]>;
|
|
15
|
+
getExternalJsonFile(libname: string, fileName: string): Observable<any[]>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseApiService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseApiService>;
|
|
18
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { BaseGridReadService } from "./base-grid-read.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BaseGridEditService extends BaseGridReadService {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
protected baseUrl: string;
|
|
8
|
-
constructor(http: HttpClient);
|
|
9
|
-
private reset;
|
|
10
|
-
resetItem(dataItem: any): void;
|
|
11
|
-
save(data: any, isNew: boolean, sucess?: Function): void;
|
|
12
|
-
delete(data: any, sucess?: Function): import("rxjs").Subscription;
|
|
13
|
-
post(action: any, data?: any): Observable<any[]>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseGridEditService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseGridEditService>;
|
|
16
|
-
}
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { BaseGridReadService } from "./base-grid-read.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BaseGridEditService extends BaseGridReadService {
|
|
6
|
+
protected http: HttpClient;
|
|
7
|
+
protected baseUrl: string;
|
|
8
|
+
constructor(http: HttpClient);
|
|
9
|
+
private reset;
|
|
10
|
+
resetItem(dataItem: any): void;
|
|
11
|
+
save(data: any, isNew: boolean, sucess?: Function): void;
|
|
12
|
+
delete(data: any, sucess?: Function): import("rxjs").Subscription;
|
|
13
|
+
post(action: any, data?: any): Observable<any[]>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseGridEditService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseGridEditService>;
|
|
16
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { BehaviorSubject } from "rxjs";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BaseGridReadService extends BehaviorSubject<any[]> {
|
|
5
|
-
protected http: HttpClient;
|
|
6
|
-
protected data: any[];
|
|
7
|
-
protected baseReadUrl: string;
|
|
8
|
-
protected savedReadParams: any;
|
|
9
|
-
constructor(http: HttpClient);
|
|
10
|
-
serializeParams(data?: any): string;
|
|
11
|
-
read(params?: any, success?: Function, error?: Function): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseGridReadService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseGridReadService>;
|
|
14
|
-
}
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { BehaviorSubject } from "rxjs";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BaseGridReadService extends BehaviorSubject<any[]> {
|
|
5
|
+
protected http: HttpClient;
|
|
6
|
+
protected data: any[];
|
|
7
|
+
protected baseReadUrl: string;
|
|
8
|
+
protected savedReadParams: any;
|
|
9
|
+
constructor(http: HttpClient);
|
|
10
|
+
serializeParams(data?: any): string;
|
|
11
|
+
read(params?: any, success?: Function, error?: Function): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseGridReadService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaseGridReadService>;
|
|
14
|
+
}
|
package/lib/data/consts.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const Consts: {
|
|
2
|
-
coreApiPath: string;
|
|
3
|
-
emailsApiPath: string;
|
|
4
|
-
notificationsApiPath: string;
|
|
5
|
-
};
|
|
1
|
+
export declare const Consts: {
|
|
2
|
+
coreApiPath: string;
|
|
3
|
+
emailsApiPath: string;
|
|
4
|
+
notificationsApiPath: string;
|
|
5
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
export declare class AnatolyDataModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyDataModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyDataModule, never, [typeof i1.CommonModule], never>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyDataModule>;
|
|
7
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
export declare class AnatolyDataModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyDataModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyDataModule, never, [typeof i1.CommonModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyDataModule>;
|
|
7
|
+
}
|
package/lib/data/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './base/grid/base-grid-edit.service';
|
|
2
|
-
export * from './base/grid/base-grid-read.service';
|
|
3
|
-
export * from './base/base-api.service';
|
|
4
|
-
export * from './services/notifications/notifications-api-service';
|
|
5
|
-
export * from './services/emails-api.service';
|
|
6
|
-
export * from './services/core-api.service';
|
|
1
|
+
export * from './base/grid/base-grid-edit.service';
|
|
2
|
+
export * from './base/grid/base-grid-read.service';
|
|
3
|
+
export * from './base/base-api.service';
|
|
4
|
+
export * from './services/notifications/notifications-api-service';
|
|
5
|
+
export * from './services/emails-api.service';
|
|
6
|
+
export * from './services/core-api.service';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { BaseApiService } from '../base/base-api.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CoreApiService extends BaseApiService {
|
|
5
|
-
protected http: HttpClient;
|
|
6
|
-
constructor(http: HttpClient);
|
|
7
|
-
getTimezonesJsonFile(done: any): void;
|
|
8
|
-
getUSStatesJsonFile(done: any): void;
|
|
9
|
-
getCountriesJsonFile(done: any): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CoreApiService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CoreApiService>;
|
|
12
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BaseApiService } from '../base/base-api.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CoreApiService extends BaseApiService {
|
|
5
|
+
protected http: HttpClient;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
getTimezonesJsonFile(done: any): void;
|
|
8
|
+
getUSStatesJsonFile(done: any): void;
|
|
9
|
+
getCountriesJsonFile(done: any): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoreApiService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CoreApiService>;
|
|
12
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { BaseApiService } from "../base/base-api.service";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class EmailsApiService extends BaseApiService {
|
|
5
|
-
protected http: HttpClient;
|
|
6
|
-
constructor(http: HttpClient);
|
|
7
|
-
sendContactUs(captcha: any, name: any, email: any, topic: any, subject: any, message: any, success?: Function, error?: Function): import("rxjs").Subscription;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EmailsApiService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EmailsApiService>;
|
|
10
|
-
}
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { BaseApiService } from "../base/base-api.service";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EmailsApiService extends BaseApiService {
|
|
5
|
+
protected http: HttpClient;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
sendContactUs(captcha: any, name: any, email: any, topic: any, subject: any, message: any, success?: Function, error?: Function): import("rxjs").Subscription;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmailsApiService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EmailsApiService>;
|
|
10
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { INotification } from '../../../core/notifications/interfaces/notification';
|
|
4
|
-
import { BaseApiService } from '../../base/base-api.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NotificationsApiService extends BaseApiService {
|
|
7
|
-
protected http: HttpClient;
|
|
8
|
-
constructor(http: HttpClient);
|
|
9
|
-
retrieveNotifications(): Observable<INotification[]>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsApiService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsApiService>;
|
|
12
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { INotification } from '../../../core/notifications/interfaces/notification';
|
|
4
|
+
import { BaseApiService } from '../../base/base-api.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NotificationsApiService extends BaseApiService {
|
|
7
|
+
protected http: HttpClient;
|
|
8
|
+
constructor(http: HttpClient);
|
|
9
|
+
retrieveNotifications(): Observable<INotification[]>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsApiService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsApiService>;
|
|
12
|
+
}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { FormGroup, AbstractControl, FormControl, ValidatorFn, AbstractControlOptions, AsyncValidatorFn } from "@angular/forms";
|
|
2
|
-
import { BaseComponent } from "./base.component";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare abstract class BaseEditComponent extends BaseComponent {
|
|
5
|
-
formGroup: FormGroup;
|
|
6
|
-
formSubmitted: boolean;
|
|
7
|
-
constructor();
|
|
8
|
-
isActionAdding(): boolean;
|
|
9
|
-
isControlValid(name: string, frmGroup?: FormGroup): boolean;
|
|
10
|
-
isControlInvalid(name: string, frmGroup?: FormGroup): boolean;
|
|
11
|
-
getFormValue(name: any, frmGroup?: FormGroup): any;
|
|
12
|
-
setFormValue(name: any, value: any, frmGroup?: FormGroup): void;
|
|
13
|
-
getFormGroupValue(groupName: any, name: any, frmGroup?: FormGroup): any;
|
|
14
|
-
setFormGroupValue(groupName: any, name: any, value: any, frmGroup?: FormGroup): void;
|
|
15
|
-
/**
|
|
16
|
-
* Add control to form group
|
|
17
|
-
* @param name
|
|
18
|
-
* @param formControl
|
|
19
|
-
* @param frmGroup
|
|
20
|
-
*/
|
|
21
|
-
addControl(name: string, formControl: AbstractControl, frmGroup?: FormGroup): void;
|
|
22
|
-
/**
|
|
23
|
-
* Removes control from form group
|
|
24
|
-
* @param name
|
|
25
|
-
* @param frmGroup
|
|
26
|
-
*/
|
|
27
|
-
removeControl(name: string, frmGroup?: FormGroup): void;
|
|
28
|
-
/**
|
|
29
|
-
* return new form control
|
|
30
|
-
* @param formState
|
|
31
|
-
* @param validatorOrOpts
|
|
32
|
-
* @param asyncValidator
|
|
33
|
-
*/
|
|
34
|
-
createFormControl(formState?: any, validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null): FormControl<any>;
|
|
35
|
-
/**
|
|
36
|
-
* Set error to control
|
|
37
|
-
* @param controlName formControl name
|
|
38
|
-
* @param err error expect {erroname: boolean} format
|
|
39
|
-
* @param frmGroup
|
|
40
|
-
*/
|
|
41
|
-
setControlError(controlName: string, err: {}, frmGroup?: FormGroup): void;
|
|
42
|
-
/**
|
|
43
|
-
* Set {invalid: true} for the specified form
|
|
44
|
-
* @param controlName form control name
|
|
45
|
-
* @param frmGroup
|
|
46
|
-
*/
|
|
47
|
-
setInValidError(controlName: string, frmGroup?: FormGroup): void;
|
|
48
|
-
/**
|
|
49
|
-
* returns formgroup controls.
|
|
50
|
-
* main use case is used in html pages
|
|
51
|
-
*/
|
|
52
|
-
get fc(): {
|
|
53
|
-
[key: string]: AbstractControl<any, any>;
|
|
54
|
-
};
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseEditComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseEditComponent, "ng-component", never, { "formGroup": "formGroup"; "formSubmitted": "formSubmitted"; }, {}, never, never, false, never>;
|
|
57
|
-
}
|
|
1
|
+
import { FormGroup, AbstractControl, FormControl, ValidatorFn, AbstractControlOptions, AsyncValidatorFn } from "@angular/forms";
|
|
2
|
+
import { BaseComponent } from "./base.component";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare abstract class BaseEditComponent extends BaseComponent {
|
|
5
|
+
formGroup: FormGroup;
|
|
6
|
+
formSubmitted: boolean;
|
|
7
|
+
constructor();
|
|
8
|
+
isActionAdding(): boolean;
|
|
9
|
+
isControlValid(name: string, frmGroup?: FormGroup): boolean;
|
|
10
|
+
isControlInvalid(name: string, frmGroup?: FormGroup): boolean;
|
|
11
|
+
getFormValue(name: any, frmGroup?: FormGroup): any;
|
|
12
|
+
setFormValue(name: any, value: any, frmGroup?: FormGroup): void;
|
|
13
|
+
getFormGroupValue(groupName: any, name: any, frmGroup?: FormGroup): any;
|
|
14
|
+
setFormGroupValue(groupName: any, name: any, value: any, frmGroup?: FormGroup): void;
|
|
15
|
+
/**
|
|
16
|
+
* Add control to form group
|
|
17
|
+
* @param name
|
|
18
|
+
* @param formControl
|
|
19
|
+
* @param frmGroup
|
|
20
|
+
*/
|
|
21
|
+
addControl(name: string, formControl: AbstractControl, frmGroup?: FormGroup): void;
|
|
22
|
+
/**
|
|
23
|
+
* Removes control from form group
|
|
24
|
+
* @param name
|
|
25
|
+
* @param frmGroup
|
|
26
|
+
*/
|
|
27
|
+
removeControl(name: string, frmGroup?: FormGroup): void;
|
|
28
|
+
/**
|
|
29
|
+
* return new form control
|
|
30
|
+
* @param formState
|
|
31
|
+
* @param validatorOrOpts
|
|
32
|
+
* @param asyncValidator
|
|
33
|
+
*/
|
|
34
|
+
createFormControl(formState?: any, validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null): FormControl<any>;
|
|
35
|
+
/**
|
|
36
|
+
* Set error to control
|
|
37
|
+
* @param controlName formControl name
|
|
38
|
+
* @param err error expect {erroname: boolean} format
|
|
39
|
+
* @param frmGroup
|
|
40
|
+
*/
|
|
41
|
+
setControlError(controlName: string, err: {}, frmGroup?: FormGroup): void;
|
|
42
|
+
/**
|
|
43
|
+
* Set {invalid: true} for the specified form
|
|
44
|
+
* @param controlName form control name
|
|
45
|
+
* @param frmGroup
|
|
46
|
+
*/
|
|
47
|
+
setInValidError(controlName: string, frmGroup?: FormGroup): void;
|
|
48
|
+
/**
|
|
49
|
+
* returns formgroup controls.
|
|
50
|
+
* main use case is used in html pages
|
|
51
|
+
*/
|
|
52
|
+
get fc(): {
|
|
53
|
+
[key: string]: AbstractControl<any, any>;
|
|
54
|
+
};
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseEditComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseEditComponent, "ng-component", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "formSubmitted": { "alias": "formSubmitted"; "required": false; }; }, {}, never, never, false, never>;
|
|
57
|
+
}
|