@osovitny/anatoly 2.1.14 → 2.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/alerts.less +182 -0
- package/assets/styles/spinner.less +64 -0
- package/assets/styles/toastr.less +192 -0
- package/esm2020/lib/core/core.module.mjs +72 -0
- package/esm2020/lib/core/go/base-go.service.mjs +41 -0
- package/esm2020/lib/core/interceptors/httpInterceptor.mjs +108 -0
- package/esm2020/lib/core/localization/localization.module.mjs +47 -0
- package/esm2020/lib/core/localization/localization.service.mjs +185 -0
- package/esm2020/lib/core/localization/localizationSettings.module.mjs +88 -0
- package/esm2020/lib/core/localization/localize.pipe.mjs +78 -0
- package/esm2020/lib/core/logging/globalErrorHandler.mjs +44 -0
- package/esm2020/lib/core/logging/logging.service.mjs +39 -0
- package/esm2020/lib/core/notifications/services/notification-service.mjs +228 -0
- package/esm2020/lib/core/services/appcontext.service.mjs +118 -0
- package/esm2020/lib/core/services/dm.service.mjs +72 -0
- package/esm2020/lib/core/services/google-analytics.service.mjs +54 -0
- package/{esm2015/lib/core/services/idle.service.js → esm2020/lib/core/services/idle.service.mjs} +9 -7
- package/{esm2015/lib/core/services/loading.service.js → esm2020/lib/core/services/loading.service.mjs} +9 -8
- package/esm2020/lib/core/services/web-storage.service.mjs +69 -0
- package/esm2020/lib/core/utils.mjs +82 -0
- package/esm2020/lib/data/base/base-api.service.mjs +89 -0
- package/esm2020/lib/data/base/grid/base-grid-edit.service.mjs +77 -0
- package/esm2020/lib/data/base/grid/base-grid-read.service.mjs +62 -0
- package/esm2020/lib/data/data.module.mjs +51 -0
- package/esm2020/lib/data/services/billing-api.service.mjs +65 -0
- package/esm2020/lib/data/services/notifications/notifications-api-service.mjs +43 -0
- package/esm2020/lib/ui/components/base-edit.component.mjs +143 -0
- package/esm2020/lib/ui/components/base.component.mjs +47 -0
- package/esm2020/lib/ui/components/base.dialog.mjs +49 -0
- package/esm2020/lib/ui/components/billing/buyaccess-button.component.mjs +69 -0
- package/esm2020/lib/ui/components/billing/subscribe-plan-button.component.mjs +63 -0
- package/esm2020/lib/ui/components/billing/upgrade-plan-button.component.mjs +53 -0
- package/esm2020/lib/ui/components/content-header/content-header.component.mjs +37 -0
- package/esm2020/lib/ui/components/html-editor/base-html-editor.component.mjs +111 -0
- package/esm2020/lib/ui/components/html-editor/forms-html-editor.component.mjs +48 -0
- package/esm2020/lib/ui/components/html-editor/html-editor.component.mjs +52 -0
- package/esm2020/lib/ui/components/identity/signin-button.component.mjs +32 -0
- package/esm2020/lib/ui/components/identity/signout-button.component.mjs +32 -0
- package/esm2020/lib/ui/components/identity/signup-button.component.mjs +31 -0
- package/esm2020/lib/ui/components/loading/loading.component.mjs +48 -0
- package/esm2020/lib/ui/components/spinner/spinner.component.mjs +74 -0
- package/esm2020/lib/ui/directives/native-element.directive.mjs +41 -0
- package/esm2020/lib/ui/pipes/filesize.pipe.mjs +45 -0
- package/esm2020/lib/ui/pipes/replace-text.pipe.mjs +40 -0
- package/esm2020/lib/ui/pipes/safeHtml.pipe.mjs +37 -0
- package/esm2020/lib/ui/ui.module.mjs +155 -0
- package/esm2020/lib/ui/validation/form-validation-summary.component.mjs +66 -0
- package/esm2020/lib/ui/validation/item-validation-summary.component.mjs +39 -0
- package/esm2020/lib/ui/validation/validation-summary.component.mjs +128 -0
- package/fesm2015/{osovitny-anatoly.js → osovitny-anatoly.mjs} +771 -717
- package/fesm2015/osovitny-anatoly.mjs.map +1 -0
- package/fesm2020/osovitny-anatoly.mjs +3496 -0
- package/fesm2020/osovitny-anatoly.mjs.map +1 -0
- package/{osovitny-anatoly.d.ts → index.d.ts} +1 -0
- package/lib/core/core.module.d.ts +5 -0
- package/lib/core/go/base-go.service.d.ts +3 -0
- package/lib/core/interceptors/httpInterceptor.d.ts +3 -0
- package/lib/core/localization/localization.module.d.ts +6 -0
- package/lib/core/localization/localization.service.d.ts +3 -0
- package/lib/core/localization/localizationSettings.module.d.ts +5 -0
- package/lib/core/localization/localize.pipe.d.ts +3 -0
- package/lib/core/logging/globalErrorHandler.d.ts +3 -0
- package/lib/core/logging/logging.service.d.ts +3 -0
- package/lib/core/notifications/services/notification-service.d.ts +3 -0
- package/lib/core/services/appcontext.service.d.ts +3 -0
- package/lib/core/services/dm.service.d.ts +3 -0
- package/lib/core/services/google-analytics.service.d.ts +3 -0
- package/lib/core/services/idle.service.d.ts +3 -0
- package/lib/core/services/loading.service.d.ts +3 -0
- package/lib/core/services/web-storage.service.d.ts +5 -0
- package/lib/data/base/base-api.service.d.ts +3 -0
- package/lib/data/base/grid/base-grid-edit.service.d.ts +3 -0
- package/lib/data/base/grid/base-grid-read.service.d.ts +3 -0
- package/lib/data/data.module.d.ts +5 -0
- package/lib/data/services/billing-api.service.d.ts +3 -0
- package/lib/data/services/notifications/notifications-api-service.d.ts +3 -0
- package/lib/ui/components/base-edit.component.d.ts +5 -2
- package/lib/ui/components/base.component.d.ts +3 -0
- package/lib/ui/components/base.dialog.d.ts +3 -0
- package/lib/ui/components/billing/buyaccess-button.component.d.ts +3 -0
- package/lib/ui/components/billing/subscribe-plan-button.component.d.ts +3 -0
- package/lib/ui/components/billing/upgrade-plan-button.component.d.ts +3 -0
- package/lib/ui/components/content-header/content-header.component.d.ts +3 -0
- package/lib/ui/components/html-editor/base-html-editor.component.d.ts +3 -0
- package/lib/ui/components/html-editor/forms-html-editor.component.d.ts +3 -0
- package/lib/ui/components/html-editor/html-editor.component.d.ts +3 -0
- package/lib/ui/components/identity/signin-button.component.d.ts +3 -0
- package/lib/ui/components/identity/signout-button.component.d.ts +3 -0
- package/lib/ui/components/identity/signup-button.component.d.ts +3 -0
- package/lib/ui/components/loading/loading.component.d.ts +3 -0
- package/lib/ui/components/spinner/spinner.component.d.ts +3 -0
- package/lib/ui/directives/native-element.directive.d.ts +3 -0
- package/lib/ui/pipes/filesize.pipe.d.ts +3 -0
- package/lib/ui/pipes/replace-text.pipe.d.ts +3 -0
- package/lib/ui/pipes/safeHtml.pipe.d.ts +3 -0
- package/lib/ui/ui.module.d.ts +24 -0
- package/lib/ui/validation/form-validation-summary.component.d.ts +3 -0
- package/lib/ui/validation/item-validation-summary.component.d.ts +3 -0
- package/lib/ui/validation/validation-summary.component.d.ts +3 -0
- package/package.json +23 -11
- package/bundles/osovitny-anatoly.umd.js +0 -3700
- package/bundles/osovitny-anatoly.umd.js.map +0 -1
- package/esm2015/lib/core/core.module.js +0 -58
- package/esm2015/lib/core/go/base-go.service.js +0 -42
- package/esm2015/lib/core/interceptors/httpInterceptor.js +0 -109
- package/esm2015/lib/core/localization/localization.module.js +0 -41
- package/esm2015/lib/core/localization/localization.service.js +0 -187
- package/esm2015/lib/core/localization/localizationSettings.module.js +0 -78
- package/esm2015/lib/core/localization/localize.pipe.js +0 -78
- package/esm2015/lib/core/logging/globalErrorHandler.js +0 -44
- package/esm2015/lib/core/logging/logging.service.js +0 -38
- package/esm2015/lib/core/notifications/services/notification-service.js +0 -230
- package/esm2015/lib/core/services/appcontext.service.js +0 -119
- package/esm2015/lib/core/services/dm.service.js +0 -74
- package/esm2015/lib/core/services/google-analytics.service.js +0 -53
- package/esm2015/lib/core/services/web-storage.service.js +0 -66
- package/esm2015/lib/core/utils.js +0 -81
- package/esm2015/lib/data/base/base-api.service.js +0 -89
- package/esm2015/lib/data/base/grid/base-grid-edit.service.js +0 -77
- package/esm2015/lib/data/base/grid/base-grid-read.service.js +0 -62
- package/esm2015/lib/data/data.module.js +0 -43
- package/esm2015/lib/data/services/billing-api.service.js +0 -65
- package/esm2015/lib/data/services/notifications/notifications-api-service.js +0 -45
- package/esm2015/lib/ui/components/base-edit.component.js +0 -142
- package/esm2015/lib/ui/components/base.component.js +0 -43
- package/esm2015/lib/ui/components/base.dialog.js +0 -47
- package/esm2015/lib/ui/components/billing/buyaccess-button.component.js +0 -71
- package/esm2015/lib/ui/components/billing/subscribe-plan-button.component.js +0 -63
- package/esm2015/lib/ui/components/billing/upgrade-plan-button.component.js +0 -54
- package/esm2015/lib/ui/components/content-header/content-header.component.js +0 -37
- package/esm2015/lib/ui/components/html-editor/base-html-editor.component.js +0 -108
- package/esm2015/lib/ui/components/html-editor/forms-html-editor.component.js +0 -44
- package/esm2015/lib/ui/components/html-editor/html-editor.component.js +0 -51
- package/esm2015/lib/ui/components/identity/signin-button.component.js +0 -33
- package/esm2015/lib/ui/components/identity/signout-button.component.js +0 -33
- package/esm2015/lib/ui/components/identity/signup-button.component.js +0 -31
- package/esm2015/lib/ui/components/loading/loading.component.js +0 -49
- package/esm2015/lib/ui/components/spinner/spinner.component.js +0 -73
- package/esm2015/lib/ui/directives/native-element.directive.js +0 -41
- package/esm2015/lib/ui/pipes/filesize.pipe.js +0 -41
- package/esm2015/lib/ui/pipes/replace-text.pipe.js +0 -36
- package/esm2015/lib/ui/pipes/safeHtml.pipe.js +0 -36
- package/esm2015/lib/ui/ui.module.js +0 -105
- package/esm2015/lib/ui/validation/form-validation-summary.component.js +0 -64
- package/esm2015/lib/ui/validation/item-validation-summary.component.js +0 -38
- package/esm2015/lib/ui/validation/validation-summary.component.js +0 -126
- package/fesm2015/osovitny-anatoly.js.map +0 -1
- package/osovitny-anatoly.metadata.json +0 -1
- /package/{esm2015/lib/core/consts/settings.js → esm2020/lib/core/consts/settings.mjs} +0 -0
- /package/{esm2015/lib/core/consts/urls.js → esm2020/lib/core/consts/urls.mjs} +0 -0
- /package/{esm2015/lib/core/convert.js → esm2020/lib/core/convert.mjs} +0 -0
- /package/{esm2015/lib/core/guards/once-import.guard.js → esm2020/lib/core/guards/once-import.guard.mjs} +0 -0
- /package/{esm2015/lib/core/guid.js → esm2020/lib/core/guid.mjs} +0 -0
- /package/{esm2015/lib/core/localization/utils.js → esm2020/lib/core/localization/utils.mjs} +0 -0
- /package/{esm2015/lib/core/notifications/alerts.js → esm2020/lib/core/notifications/alerts.mjs} +0 -0
- /package/{esm2015/lib/core/notifications/interfaces/notification.js → esm2020/lib/core/notifications/interfaces/notification.mjs} +0 -0
- /package/{esm2015/lib/core/subs.js → esm2020/lib/core/subs.mjs} +0 -0
- /package/{esm2015/lib/data/consts.js → esm2020/lib/data/consts.mjs} +0 -0
- /package/{esm2015/lib/ui/components/html-editor/html-editor.defaultoptions.js → esm2020/lib/ui/components/html-editor/html-editor.defaultoptions.mjs} +0 -0
- /package/{esm2015/osovitny-anatoly.js → esm2020/osovitny-anatoly.mjs} +0 -0
- /package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Pipe,
|
|
3
|
-
import
|
|
2
|
+
import { Injectable, Pipe, APP_INITIALIZER, Injector, NgModule, Inject, Optional, SkipSelf, Component, Input, Directive, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/router';
|
|
4
|
+
import { NavigationEnd, NavigationStart, NavigationCancel, NavigationError } from '@angular/router';
|
|
4
5
|
import * as i1$3 from '@angular/common/http';
|
|
5
6
|
import { HttpResponse, HttpClient } from '@angular/common/http';
|
|
6
7
|
import { tap, map } from 'rxjs/operators';
|
|
7
8
|
import { BehaviorSubject, Subject, timer, merge, fromEvent } from 'rxjs';
|
|
8
|
-
import * as i1 from '@ngx-translate/core';
|
|
9
|
-
import { TranslateService, TranslateModule, TranslateLoader } from '@ngx-translate/core';
|
|
10
9
|
import { isValid, format, formatDistance, formatDistanceToNow } from 'date-fns';
|
|
11
10
|
import { utcToZonedTime } from 'date-fns-tz';
|
|
12
11
|
import enUS from 'date-fns/locale/en-US';
|
|
13
|
-
import * as
|
|
12
|
+
import * as i1$1 from '@ngx-translate/core';
|
|
13
|
+
import { TranslateModule, TranslateLoader, TranslateService } from '@ngx-translate/core';
|
|
14
|
+
import * as i1$5 from '@angular/common';
|
|
14
15
|
import { LOCATION_INITIALIZED, DOCUMENT, CommonModule } from '@angular/common';
|
|
15
16
|
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
16
17
|
import Swal from 'sweetalert2';
|
|
17
|
-
import * as i1$1 from 'ngx-toastr';
|
|
18
|
-
import { ToastrService } from 'ngx-toastr';
|
|
19
18
|
import { v4 } from 'uuid';
|
|
20
|
-
import * as i1$2 from '
|
|
21
|
-
import
|
|
22
|
-
import
|
|
19
|
+
import * as i1$2 from 'ngx-toastr';
|
|
20
|
+
import * as i1$4 from '@angular/platform-browser';
|
|
21
|
+
import * as i2 from '@angular/forms';
|
|
22
|
+
import { FormControl, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
23
|
+
import * as i1$6 from 'angular-froala-wysiwyg';
|
|
23
24
|
import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg';
|
|
24
25
|
|
|
25
26
|
/*
|
|
@@ -91,13 +92,11 @@ class BaseGoService {
|
|
|
91
92
|
window.location.href = "/";
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
|
-
BaseGoService
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
{ type: Router }
|
|
100
|
-
];
|
|
95
|
+
BaseGoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseGoService, deps: [{ token: i1.ActivatedRoute }, { token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
96
|
+
BaseGoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseGoService });
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseGoService, decorators: [{
|
|
98
|
+
type: Injectable
|
|
99
|
+
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i1.Router }]; } });
|
|
101
100
|
|
|
102
101
|
/*
|
|
103
102
|
<file>
|
|
@@ -180,13 +179,14 @@ class LoadingService extends BehaviorSubject {
|
|
|
180
179
|
this.counter = 0;
|
|
181
180
|
}
|
|
182
181
|
}
|
|
183
|
-
LoadingService.ɵ
|
|
184
|
-
LoadingService
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
182
|
+
LoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
183
|
+
LoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LoadingService, providedIn: "root" });
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LoadingService, decorators: [{
|
|
185
|
+
type: Injectable,
|
|
186
|
+
args: [{
|
|
187
|
+
providedIn: "root",
|
|
188
|
+
}]
|
|
189
|
+
}], ctorParameters: function () { return []; } });
|
|
190
190
|
|
|
191
191
|
/*
|
|
192
192
|
<file>
|
|
@@ -215,13 +215,14 @@ class LoggingService {
|
|
|
215
215
|
console.info(info);
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
LoggingService.ɵ
|
|
219
|
-
LoggingService
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
218
|
+
LoggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LoggingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
219
|
+
LoggingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LoggingService, providedIn: "root" });
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LoggingService, decorators: [{
|
|
221
|
+
type: Injectable,
|
|
222
|
+
args: [{
|
|
223
|
+
providedIn: "root",
|
|
224
|
+
}]
|
|
225
|
+
}], ctorParameters: function () { return []; } });
|
|
225
226
|
|
|
226
227
|
/*
|
|
227
228
|
<file>
|
|
@@ -315,13 +316,11 @@ class AnatolyHttpInterceptor {
|
|
|
315
316
|
}
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
|
-
AnatolyHttpInterceptor
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
{ type: LoggingService }
|
|
324
|
-
];
|
|
319
|
+
AnatolyHttpInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyHttpInterceptor, deps: [{ token: LoadingService }, { token: LoggingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
320
|
+
AnatolyHttpInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyHttpInterceptor });
|
|
321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyHttpInterceptor, decorators: [{
|
|
322
|
+
type: Injectable
|
|
323
|
+
}], ctorParameters: function () { return [{ type: LoadingService }, { type: LoggingService }]; } });
|
|
325
324
|
|
|
326
325
|
/*
|
|
327
326
|
<file>
|
|
@@ -550,15 +549,14 @@ class LocalizationService {
|
|
|
550
549
|
return result;
|
|
551
550
|
}
|
|
552
551
|
}
|
|
553
|
-
LocalizationService.ɵ
|
|
554
|
-
LocalizationService
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
];
|
|
552
|
+
LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalizationService, deps: [{ token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
553
|
+
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalizationService, providedIn: 'root' });
|
|
554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalizationService, decorators: [{
|
|
555
|
+
type: Injectable,
|
|
556
|
+
args: [{
|
|
557
|
+
providedIn: 'root'
|
|
558
|
+
}]
|
|
559
|
+
}], ctorParameters: function () { return [{ type: i1$1.TranslateService }]; } });
|
|
562
560
|
|
|
563
561
|
/*
|
|
564
562
|
<file>
|
|
@@ -625,14 +623,14 @@ class LocalizePipe {
|
|
|
625
623
|
return inputData;
|
|
626
624
|
}
|
|
627
625
|
}
|
|
628
|
-
LocalizePipe
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
];
|
|
626
|
+
LocalizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalizePipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
627
|
+
LocalizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: LocalizePipe, name: "localize" });
|
|
628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalizePipe, decorators: [{
|
|
629
|
+
type: Pipe,
|
|
630
|
+
args: [{
|
|
631
|
+
name: 'localize'
|
|
632
|
+
}]
|
|
633
|
+
}], ctorParameters: function () { return [{ type: LocalizationService }]; } });
|
|
636
634
|
|
|
637
635
|
/*
|
|
638
636
|
<file>
|
|
@@ -683,25 +681,33 @@ class LocalizationSettingsModule {
|
|
|
683
681
|
LocalizationInjectorInstance = this.injector;
|
|
684
682
|
}
|
|
685
683
|
}
|
|
686
|
-
LocalizationSettingsModule
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
]
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
684
|
+
LocalizationSettingsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalizationSettingsModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
685
|
+
LocalizationSettingsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: LocalizationSettingsModule, imports: [i1$1.TranslateModule] });
|
|
686
|
+
LocalizationSettingsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalizationSettingsModule, providers: [
|
|
687
|
+
{
|
|
688
|
+
provide: APP_INITIALIZER,
|
|
689
|
+
useFactory: localizationInitializerFactory,
|
|
690
|
+
deps: [TranslateService, LocalizationService, Injector],
|
|
691
|
+
multi: true
|
|
692
|
+
}
|
|
693
|
+
], imports: [TranslateModuleAtRoot] });
|
|
694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalizationSettingsModule, decorators: [{
|
|
695
|
+
type: NgModule,
|
|
696
|
+
args: [{
|
|
697
|
+
imports: [
|
|
698
|
+
TranslateModuleAtRoot
|
|
699
|
+
],
|
|
700
|
+
providers: [
|
|
701
|
+
{
|
|
702
|
+
provide: APP_INITIALIZER,
|
|
703
|
+
useFactory: localizationInitializerFactory,
|
|
704
|
+
deps: [TranslateService, LocalizationService, Injector],
|
|
705
|
+
multi: true
|
|
706
|
+
}
|
|
707
|
+
],
|
|
708
|
+
exports: []
|
|
709
|
+
}]
|
|
710
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
705
711
|
|
|
706
712
|
/*
|
|
707
713
|
<file>
|
|
@@ -723,21 +729,26 @@ LocalizationSettingsModule.ctorParameters = () => [
|
|
|
723
729
|
*/
|
|
724
730
|
class LocalizationModule {
|
|
725
731
|
}
|
|
726
|
-
LocalizationModule
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
732
|
+
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
733
|
+
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: LocalizationModule, declarations: [LocalizePipe], imports: [TranslateModule], exports: [TranslateModule,
|
|
734
|
+
LocalizePipe] });
|
|
735
|
+
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalizationModule, imports: [TranslateModule, TranslateModule] });
|
|
736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalizationModule, decorators: [{
|
|
737
|
+
type: NgModule,
|
|
738
|
+
args: [{
|
|
739
|
+
imports: [
|
|
740
|
+
TranslateModule
|
|
741
|
+
],
|
|
742
|
+
exports: [
|
|
743
|
+
TranslateModule,
|
|
744
|
+
LocalizePipe
|
|
745
|
+
],
|
|
746
|
+
declarations: [
|
|
747
|
+
LocalizePipe
|
|
748
|
+
],
|
|
749
|
+
providers: []
|
|
750
|
+
}]
|
|
751
|
+
}] });
|
|
741
752
|
|
|
742
753
|
/*
|
|
743
754
|
<file>
|
|
@@ -768,12 +779,11 @@ class GlobalErrorHandler {
|
|
|
768
779
|
throw error;
|
|
769
780
|
}
|
|
770
781
|
}
|
|
771
|
-
GlobalErrorHandler
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
];
|
|
782
|
+
GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
783
|
+
GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: GlobalErrorHandler });
|
|
784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
785
|
+
type: Injectable
|
|
786
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
777
787
|
|
|
778
788
|
/*
|
|
779
789
|
<file>
|
|
@@ -924,25 +934,6 @@ class Alerts {
|
|
|
924
934
|
;
|
|
925
935
|
}
|
|
926
936
|
|
|
927
|
-
/*
|
|
928
|
-
<file>
|
|
929
|
-
Project:
|
|
930
|
-
@osovitny/anatoly
|
|
931
|
-
|
|
932
|
-
Authors:
|
|
933
|
-
Vadim Osovitny
|
|
934
|
-
Anatoly Osovitny
|
|
935
|
-
|
|
936
|
-
Created:
|
|
937
|
-
2 Jun 2020
|
|
938
|
-
|
|
939
|
-
Version:
|
|
940
|
-
1.0
|
|
941
|
-
|
|
942
|
-
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
943
|
-
</file>
|
|
944
|
-
*/
|
|
945
|
-
|
|
946
937
|
/*
|
|
947
938
|
<file>
|
|
948
939
|
Project:
|
|
@@ -1176,13 +1167,12 @@ class NotificationService {
|
|
|
1176
1167
|
this._serverNotifications.next(val);
|
|
1177
1168
|
}
|
|
1178
1169
|
}
|
|
1179
|
-
NotificationService.ɵ
|
|
1180
|
-
NotificationService
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
];
|
|
1170
|
+
NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NotificationService, deps: [{ token: i1$2.ToastrService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1171
|
+
NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NotificationService, providedIn: 'root' });
|
|
1172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NotificationService, decorators: [{
|
|
1173
|
+
type: Injectable,
|
|
1174
|
+
args: [{ providedIn: 'root' }]
|
|
1175
|
+
}], ctorParameters: function () { return [{ type: i1$2.ToastrService }]; } });
|
|
1186
1176
|
|
|
1187
1177
|
/*
|
|
1188
1178
|
<file>
|
|
@@ -1260,12 +1250,11 @@ class BaseApiService {
|
|
|
1260
1250
|
return this.http.get(url).pipe(map(res => res));
|
|
1261
1251
|
}
|
|
1262
1252
|
}
|
|
1263
|
-
BaseApiService
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
];
|
|
1253
|
+
BaseApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseApiService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1254
|
+
BaseApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseApiService });
|
|
1255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseApiService, decorators: [{
|
|
1256
|
+
type: Injectable
|
|
1257
|
+
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1269
1258
|
|
|
1270
1259
|
/*
|
|
1271
1260
|
<file>
|
|
@@ -1317,19 +1306,21 @@ class LocalStorageService extends WebStorageService {
|
|
|
1317
1306
|
super('localStorage');
|
|
1318
1307
|
}
|
|
1319
1308
|
}
|
|
1320
|
-
LocalStorageService
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1309
|
+
LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1310
|
+
LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalStorageService });
|
|
1311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
1312
|
+
type: Injectable
|
|
1313
|
+
}], ctorParameters: function () { return []; } });
|
|
1324
1314
|
class SessionStorageService extends WebStorageService {
|
|
1325
1315
|
constructor() {
|
|
1326
1316
|
super('sessionStorage');
|
|
1327
1317
|
}
|
|
1328
1318
|
}
|
|
1329
|
-
SessionStorageService
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1319
|
+
SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SessionStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1320
|
+
SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SessionStorageService });
|
|
1321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
1322
|
+
type: Injectable
|
|
1323
|
+
}], ctorParameters: function () { return []; } });
|
|
1333
1324
|
|
|
1334
1325
|
/*
|
|
1335
1326
|
<file>
|
|
@@ -1435,13 +1426,11 @@ class AppContextService extends BaseApiService {
|
|
|
1435
1426
|
this.setCurrentFromSession(value);
|
|
1436
1427
|
}
|
|
1437
1428
|
}
|
|
1438
|
-
AppContextService
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
{ type: SessionStorageService }
|
|
1444
|
-
];
|
|
1429
|
+
AppContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppContextService, deps: [{ token: i1$3.HttpClient }, { token: SessionStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1430
|
+
AppContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppContextService });
|
|
1431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AppContextService, decorators: [{
|
|
1432
|
+
type: Injectable
|
|
1433
|
+
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }, { type: SessionStorageService }]; } });
|
|
1445
1434
|
|
|
1446
1435
|
/*
|
|
1447
1436
|
<file>
|
|
@@ -1505,12 +1494,14 @@ class IdleService {
|
|
|
1505
1494
|
this.startTimer();
|
|
1506
1495
|
}
|
|
1507
1496
|
}
|
|
1508
|
-
IdleService.ɵ
|
|
1509
|
-
IdleService
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1497
|
+
IdleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: IdleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1498
|
+
IdleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: IdleService, providedIn: 'root' });
|
|
1499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: IdleService, decorators: [{
|
|
1500
|
+
type: Injectable,
|
|
1501
|
+
args: [{
|
|
1502
|
+
providedIn: 'root'
|
|
1503
|
+
}]
|
|
1504
|
+
}] });
|
|
1514
1505
|
|
|
1515
1506
|
/*
|
|
1516
1507
|
<file>
|
|
@@ -1567,17 +1558,19 @@ class DigitalMarketingService {
|
|
|
1567
1558
|
link.setAttribute('href', canUrl);
|
|
1568
1559
|
}
|
|
1569
1560
|
}
|
|
1570
|
-
DigitalMarketingService.ɵ
|
|
1571
|
-
DigitalMarketingService
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
]
|
|
1561
|
+
DigitalMarketingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: DigitalMarketingService, deps: [{ token: i1$4.Title }, { token: i1$4.Meta }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1562
|
+
DigitalMarketingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: DigitalMarketingService, providedIn: 'root' });
|
|
1563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: DigitalMarketingService, decorators: [{
|
|
1564
|
+
type: Injectable,
|
|
1565
|
+
args: [{
|
|
1566
|
+
providedIn: 'root'
|
|
1567
|
+
}]
|
|
1568
|
+
}], ctorParameters: function () {
|
|
1569
|
+
return [{ type: i1$4.Title }, { type: i1$4.Meta }, { type: undefined, decorators: [{
|
|
1570
|
+
type: Inject,
|
|
1571
|
+
args: [DOCUMENT]
|
|
1572
|
+
}] }];
|
|
1573
|
+
} });
|
|
1581
1574
|
|
|
1582
1575
|
/*
|
|
1583
1576
|
<file>
|
|
@@ -1622,12 +1615,11 @@ class GoogleAnalyticsService {
|
|
|
1622
1615
|
}
|
|
1623
1616
|
}
|
|
1624
1617
|
}
|
|
1625
|
-
GoogleAnalyticsService
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
];
|
|
1618
|
+
GoogleAnalyticsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: GoogleAnalyticsService, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1619
|
+
GoogleAnalyticsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: GoogleAnalyticsService });
|
|
1620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: GoogleAnalyticsService, decorators: [{
|
|
1621
|
+
type: Injectable
|
|
1622
|
+
}], ctorParameters: function () { return [{ type: i1.Router }]; } });
|
|
1631
1623
|
|
|
1632
1624
|
/*
|
|
1633
1625
|
<file>
|
|
@@ -1652,26 +1644,41 @@ class AnatolyCoreModule {
|
|
|
1652
1644
|
InjectorInstance = this.injector;
|
|
1653
1645
|
}
|
|
1654
1646
|
}
|
|
1655
|
-
AnatolyCoreModule
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
]
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1647
|
+
AnatolyCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyCoreModule, deps: [{ token: i0.Injector }, { token: AnatolyCoreModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1648
|
+
AnatolyCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AnatolyCoreModule, imports: [CommonModule] });
|
|
1649
|
+
AnatolyCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyCoreModule, providers: [
|
|
1650
|
+
LoggingService,
|
|
1651
|
+
NotificationService,
|
|
1652
|
+
AppContextService,
|
|
1653
|
+
LoadingService,
|
|
1654
|
+
DigitalMarketingService,
|
|
1655
|
+
GoogleAnalyticsService,
|
|
1656
|
+
LocalStorageService,
|
|
1657
|
+
SessionStorageService
|
|
1658
|
+
], imports: [CommonModule] });
|
|
1659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyCoreModule, decorators: [{
|
|
1660
|
+
type: NgModule,
|
|
1661
|
+
args: [{
|
|
1662
|
+
imports: [CommonModule],
|
|
1663
|
+
exports: [],
|
|
1664
|
+
providers: [
|
|
1665
|
+
LoggingService,
|
|
1666
|
+
NotificationService,
|
|
1667
|
+
AppContextService,
|
|
1668
|
+
LoadingService,
|
|
1669
|
+
DigitalMarketingService,
|
|
1670
|
+
GoogleAnalyticsService,
|
|
1671
|
+
LocalStorageService,
|
|
1672
|
+
SessionStorageService
|
|
1673
|
+
],
|
|
1674
|
+
}]
|
|
1675
|
+
}], ctorParameters: function () {
|
|
1676
|
+
return [{ type: i0.Injector }, { type: AnatolyCoreModule, decorators: [{
|
|
1677
|
+
type: Optional
|
|
1678
|
+
}, {
|
|
1679
|
+
type: SkipSelf
|
|
1680
|
+
}] }];
|
|
1681
|
+
} });
|
|
1675
1682
|
|
|
1676
1683
|
/*
|
|
1677
1684
|
<file>
|
|
@@ -1750,8 +1757,9 @@ class Utils {
|
|
|
1750
1757
|
link.click();
|
|
1751
1758
|
}
|
|
1752
1759
|
static downloadBlobFile(value, fileName) {
|
|
1753
|
-
|
|
1754
|
-
|
|
1760
|
+
const nav = window.navigator;
|
|
1761
|
+
if (nav.msSaveOrOpenBlob) {
|
|
1762
|
+
nav.msSaveOrOpenBlob(value, fileName);
|
|
1755
1763
|
}
|
|
1756
1764
|
else {
|
|
1757
1765
|
const downloadURL = window.URL.createObjectURL(value);
|
|
@@ -1834,12 +1842,11 @@ class BaseGridReadService extends BehaviorSubject {
|
|
|
1834
1842
|
});
|
|
1835
1843
|
}
|
|
1836
1844
|
}
|
|
1837
|
-
BaseGridReadService
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
];
|
|
1845
|
+
BaseGridReadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseGridReadService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1846
|
+
BaseGridReadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseGridReadService });
|
|
1847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseGridReadService, decorators: [{
|
|
1848
|
+
type: Injectable
|
|
1849
|
+
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1843
1850
|
|
|
1844
1851
|
/*
|
|
1845
1852
|
<file>
|
|
@@ -1905,12 +1912,11 @@ class BaseGridEditService extends BaseGridReadService {
|
|
|
1905
1912
|
return this.http.post(url, data).pipe(map(res => res));
|
|
1906
1913
|
}
|
|
1907
1914
|
}
|
|
1908
|
-
BaseGridEditService
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
];
|
|
1915
|
+
BaseGridEditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseGridEditService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1916
|
+
BaseGridEditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseGridEditService });
|
|
1917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseGridEditService, decorators: [{
|
|
1918
|
+
type: Injectable
|
|
1919
|
+
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1914
1920
|
|
|
1915
1921
|
/*
|
|
1916
1922
|
<file>
|
|
@@ -1964,15 +1970,14 @@ class NotificationsApiService extends BaseApiService {
|
|
|
1964
1970
|
return this.get('retrieveNotifications');
|
|
1965
1971
|
}
|
|
1966
1972
|
}
|
|
1967
|
-
NotificationsApiService.ɵ
|
|
1968
|
-
NotificationsApiService
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
];
|
|
1973
|
+
NotificationsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NotificationsApiService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1974
|
+
NotificationsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NotificationsApiService, providedIn: 'root' });
|
|
1975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NotificationsApiService, decorators: [{
|
|
1976
|
+
type: Injectable,
|
|
1977
|
+
args: [{
|
|
1978
|
+
providedIn: 'root'
|
|
1979
|
+
}]
|
|
1980
|
+
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1976
1981
|
|
|
1977
1982
|
/*
|
|
1978
1983
|
<file>
|
|
@@ -2026,12 +2031,11 @@ class BillingApiService extends BaseApiService {
|
|
|
2026
2031
|
});
|
|
2027
2032
|
}
|
|
2028
2033
|
}
|
|
2029
|
-
BillingApiService
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
];
|
|
2034
|
+
BillingApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BillingApiService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2035
|
+
BillingApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BillingApiService });
|
|
2036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BillingApiService, decorators: [{
|
|
2037
|
+
type: Injectable
|
|
2038
|
+
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
2035
2039
|
|
|
2036
2040
|
/*
|
|
2037
2041
|
<file>
|
|
@@ -2056,19 +2060,28 @@ class AnatolyDataModule {
|
|
|
2056
2060
|
throwIfAlreadyLoaded(parentModule, 'AnatolyDataModule');
|
|
2057
2061
|
}
|
|
2058
2062
|
}
|
|
2059
|
-
AnatolyDataModule
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2063
|
+
AnatolyDataModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyDataModule, deps: [{ token: AnatolyDataModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2064
|
+
AnatolyDataModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AnatolyDataModule, imports: [CommonModule] });
|
|
2065
|
+
AnatolyDataModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyDataModule, providers: [
|
|
2066
|
+
BillingApiService
|
|
2067
|
+
], imports: [CommonModule] });
|
|
2068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyDataModule, decorators: [{
|
|
2069
|
+
type: NgModule,
|
|
2070
|
+
args: [{
|
|
2071
|
+
imports: [
|
|
2072
|
+
CommonModule
|
|
2073
|
+
],
|
|
2074
|
+
providers: [
|
|
2075
|
+
BillingApiService
|
|
2076
|
+
],
|
|
2077
|
+
}]
|
|
2078
|
+
}], ctorParameters: function () {
|
|
2079
|
+
return [{ type: AnatolyDataModule, decorators: [{
|
|
2080
|
+
type: Optional
|
|
2081
|
+
}, {
|
|
2082
|
+
type: SkipSelf
|
|
2083
|
+
}] }];
|
|
2084
|
+
} });
|
|
2072
2085
|
|
|
2073
2086
|
/*
|
|
2074
2087
|
<file>
|
|
@@ -2102,11 +2115,14 @@ class BaseComponent {
|
|
|
2102
2115
|
this.subs.unsubscribe();
|
|
2103
2116
|
}
|
|
2104
2117
|
}
|
|
2105
|
-
BaseComponent
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2118
|
+
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2119
|
+
BaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: BaseComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true });
|
|
2120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseComponent, decorators: [{
|
|
2121
|
+
type: Component,
|
|
2122
|
+
args: [{
|
|
2123
|
+
template: ''
|
|
2124
|
+
}]
|
|
2125
|
+
}] });
|
|
2110
2126
|
|
|
2111
2127
|
/*
|
|
2112
2128
|
<file>
|
|
@@ -2233,16 +2249,18 @@ class BaseEditComponent extends BaseComponent {
|
|
|
2233
2249
|
return this.formGroup.controls;
|
|
2234
2250
|
}
|
|
2235
2251
|
}
|
|
2236
|
-
BaseEditComponent
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
}
|
|
2252
|
+
BaseEditComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2253
|
+
BaseEditComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: BaseEditComponent, selector: "ng-component", inputs: { formGroup: "formGroup", formSubmitted: "formSubmitted" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseEditComponent, decorators: [{
|
|
2255
|
+
type: Component,
|
|
2256
|
+
args: [{
|
|
2257
|
+
template: ''
|
|
2258
|
+
}]
|
|
2259
|
+
}], ctorParameters: function () { return []; }, propDecorators: { formGroup: [{
|
|
2260
|
+
type: Input
|
|
2261
|
+
}], formSubmitted: [{
|
|
2262
|
+
type: Input
|
|
2263
|
+
}] } });
|
|
2246
2264
|
|
|
2247
2265
|
/*
|
|
2248
2266
|
<file>
|
|
@@ -2277,15 +2295,45 @@ class BaseDialog extends BaseEditComponent {
|
|
|
2277
2295
|
this._opened = false;
|
|
2278
2296
|
}
|
|
2279
2297
|
}
|
|
2280
|
-
BaseDialog
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2298
|
+
BaseDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2299
|
+
BaseDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: BaseDialog, selector: "ng-component", inputs: { opened: "opened" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseDialog, decorators: [{
|
|
2301
|
+
type: Component,
|
|
2302
|
+
args: [{
|
|
2303
|
+
template: ''
|
|
2304
|
+
}]
|
|
2305
|
+
}], ctorParameters: function () { return []; }, propDecorators: { opened: [{
|
|
2306
|
+
type: Input
|
|
2307
|
+
}] } });
|
|
2308
|
+
|
|
2309
|
+
/*
|
|
2310
|
+
<file>
|
|
2311
|
+
Project:
|
|
2312
|
+
@osovitny/anatoly
|
|
2313
|
+
|
|
2314
|
+
Authors:
|
|
2315
|
+
Vadim Osovitny
|
|
2316
|
+
Anatoly Osovitny
|
|
2317
|
+
|
|
2318
|
+
Created:
|
|
2319
|
+
4 Jul 2018
|
|
2320
|
+
|
|
2321
|
+
Version:
|
|
2322
|
+
1.0
|
|
2323
|
+
|
|
2324
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2325
|
+
</file>
|
|
2326
|
+
*/
|
|
2327
|
+
class SignUpButtonComponent {
|
|
2328
|
+
}
|
|
2329
|
+
SignUpButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SignUpButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2330
|
+
SignUpButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: SignUpButtonComponent, selector: "anatoly-signup-button", inputs: { classbtn: "classbtn" }, ngImport: i0, template: "<a href=\"identity/signup\" class=\"{{classbtn}}\">Sign Up</a>\r\n" });
|
|
2331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SignUpButtonComponent, decorators: [{
|
|
2332
|
+
type: Component,
|
|
2333
|
+
args: [{ selector: "anatoly-signup-button", template: "<a href=\"identity/signup\" class=\"{{classbtn}}\">Sign Up</a>\r\n" }]
|
|
2334
|
+
}], propDecorators: { classbtn: [{
|
|
2335
|
+
type: Input
|
|
2336
|
+
}] } });
|
|
2289
2337
|
|
|
2290
2338
|
/*
|
|
2291
2339
|
<file>
|
|
@@ -2337,20 +2385,64 @@ class BuyAccessButtonComponent {
|
|
|
2337
2385
|
});
|
|
2338
2386
|
}
|
|
2339
2387
|
}
|
|
2340
|
-
BuyAccessButtonComponent
|
|
2341
|
-
{ type:
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
];
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
];
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2388
|
+
BuyAccessButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BuyAccessButtonComponent, deps: [{ token: AppContextService }, { token: BillingApiService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2389
|
+
BuyAccessButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: BuyAccessButtonComponent, selector: "anatoly-buyaccess-button", inputs: { plan: "plan", plantitle: "plantitle" }, ngImport: i0, template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classbtn=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan != currentPlan && currentPlan == 1\" (click)=\"onBuyPlan()\">\r\n Buy Now\r\n </button>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SignUpButtonComponent, selector: "anatoly-signup-button", inputs: ["classbtn"] }] });
|
|
2390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BuyAccessButtonComponent, decorators: [{
|
|
2391
|
+
type: Component,
|
|
2392
|
+
args: [{ selector: 'anatoly-buyaccess-button', template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classbtn=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan != currentPlan && currentPlan == 1\" (click)=\"onBuyPlan()\">\r\n Buy Now\r\n </button>\r\n </div>\r\n</div>\r\n" }]
|
|
2393
|
+
}], ctorParameters: function () { return [{ type: AppContextService }, { type: BillingApiService }]; }, propDecorators: { plan: [{
|
|
2394
|
+
type: Input
|
|
2395
|
+
}], plantitle: [{
|
|
2396
|
+
type: Input
|
|
2397
|
+
}] } });
|
|
2398
|
+
|
|
2399
|
+
/*
|
|
2400
|
+
<file>
|
|
2401
|
+
Project:
|
|
2402
|
+
@osovitny/anatoly
|
|
2403
|
+
|
|
2404
|
+
Authors:
|
|
2405
|
+
Vadim Osovitny
|
|
2406
|
+
Anatoly Osovitny
|
|
2407
|
+
|
|
2408
|
+
Created:
|
|
2409
|
+
12 Nov 2017
|
|
2410
|
+
|
|
2411
|
+
Version:
|
|
2412
|
+
1.0
|
|
2413
|
+
|
|
2414
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2415
|
+
</file>
|
|
2416
|
+
*/
|
|
2417
|
+
// Services
|
|
2418
|
+
class UpgradePlanButtonComponent {
|
|
2419
|
+
constructor(api) {
|
|
2420
|
+
this.api = api;
|
|
2421
|
+
}
|
|
2422
|
+
onUpgradePlan() {
|
|
2423
|
+
const text = `Current plan: ${this.currentplantitle} New plan: ${this.requestedplantitle}`;
|
|
2424
|
+
const that = this;
|
|
2425
|
+
Alerts.areYouSure(text, 'Change billing plan', 'Confirm change', 'Cancel', () => {
|
|
2426
|
+
that.api.requestNewSubscription(that.requestedplan, () => {
|
|
2427
|
+
Alerts.success('Your request for changing plan has been sent.', null, null, () => {
|
|
2428
|
+
window.location.reload();
|
|
2429
|
+
});
|
|
2430
|
+
});
|
|
2431
|
+
});
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
UpgradePlanButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: UpgradePlanButtonComponent, deps: [{ token: BillingApiService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2435
|
+
UpgradePlanButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: UpgradePlanButtonComponent, selector: "anatoly-upgrade-plan-button", inputs: { currentplantitle: "currentplantitle", requestedplan: "requestedplan", requestedplantitle: "requestedplantitle" }, ngImport: i0, template: "<button class=\"btn btn-block btn-primary\" (click)=\"onUpgradePlan()\">\r\n Upgrade\r\n</button>\r\n" });
|
|
2436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: UpgradePlanButtonComponent, decorators: [{
|
|
2437
|
+
type: Component,
|
|
2438
|
+
args: [{ selector: 'anatoly-upgrade-plan-button', template: "<button class=\"btn btn-block btn-primary\" (click)=\"onUpgradePlan()\">\r\n Upgrade\r\n</button>\r\n" }]
|
|
2439
|
+
}], ctorParameters: function () { return [{ type: BillingApiService }]; }, propDecorators: { currentplantitle: [{
|
|
2440
|
+
type: Input
|
|
2441
|
+
}], requestedplan: [{
|
|
2442
|
+
type: Input
|
|
2443
|
+
}], requestedplantitle: [{
|
|
2444
|
+
type: Input
|
|
2445
|
+
}] } });
|
|
2354
2446
|
|
|
2355
2447
|
/*
|
|
2356
2448
|
<file>
|
|
@@ -2397,69 +2489,16 @@ class SubscribePlanButtonComponent {
|
|
|
2397
2489
|
});
|
|
2398
2490
|
}
|
|
2399
2491
|
}
|
|
2400
|
-
SubscribePlanButtonComponent
|
|
2401
|
-
{ type:
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
];
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
plan: [{ type: Input }],
|
|
2411
|
-
plantitle: [{ type: Input }]
|
|
2412
|
-
};
|
|
2413
|
-
|
|
2414
|
-
/*
|
|
2415
|
-
<file>
|
|
2416
|
-
Project:
|
|
2417
|
-
@osovitny/anatoly
|
|
2418
|
-
|
|
2419
|
-
Authors:
|
|
2420
|
-
Vadim Osovitny
|
|
2421
|
-
Anatoly Osovitny
|
|
2422
|
-
|
|
2423
|
-
Created:
|
|
2424
|
-
12 Nov 2017
|
|
2425
|
-
|
|
2426
|
-
Version:
|
|
2427
|
-
1.0
|
|
2428
|
-
|
|
2429
|
-
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2430
|
-
</file>
|
|
2431
|
-
*/
|
|
2432
|
-
// Services
|
|
2433
|
-
class UpgradePlanButtonComponent {
|
|
2434
|
-
constructor(api) {
|
|
2435
|
-
this.api = api;
|
|
2436
|
-
}
|
|
2437
|
-
onUpgradePlan() {
|
|
2438
|
-
const text = `Current plan: ${this.currentplantitle} New plan: ${this.requestedplantitle}`;
|
|
2439
|
-
const that = this;
|
|
2440
|
-
Alerts.areYouSure(text, 'Change billing plan', 'Confirm change', 'Cancel', () => {
|
|
2441
|
-
that.api.requestNewSubscription(that.requestedplan, () => {
|
|
2442
|
-
Alerts.success('Your request for changing plan has been sent.', null, null, () => {
|
|
2443
|
-
window.location.reload();
|
|
2444
|
-
});
|
|
2445
|
-
});
|
|
2446
|
-
});
|
|
2447
|
-
}
|
|
2448
|
-
}
|
|
2449
|
-
UpgradePlanButtonComponent.decorators = [
|
|
2450
|
-
{ type: Component, args: [{
|
|
2451
|
-
selector: 'anatoly-upgrade-plan-button',
|
|
2452
|
-
template: "<button class=\"btn btn-block btn-primary\" (click)=\"onUpgradePlan()\">\r\n Upgrade\r\n</button>\r\n"
|
|
2453
|
-
},] }
|
|
2454
|
-
];
|
|
2455
|
-
UpgradePlanButtonComponent.ctorParameters = () => [
|
|
2456
|
-
{ type: BillingApiService }
|
|
2457
|
-
];
|
|
2458
|
-
UpgradePlanButtonComponent.propDecorators = {
|
|
2459
|
-
currentplantitle: [{ type: Input }],
|
|
2460
|
-
requestedplan: [{ type: Input }],
|
|
2461
|
-
requestedplantitle: [{ type: Input }]
|
|
2462
|
-
};
|
|
2492
|
+
SubscribePlanButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SubscribePlanButtonComponent, deps: [{ token: AppContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2493
|
+
SubscribePlanButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: SubscribePlanButtonComponent, selector: "anatoly-subscribe-plan-button", inputs: { plan: "plan", plantitle: "plantitle" }, ngImport: i0, template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classbtn=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"requestedPlan != null && requestedPlan != 0 && plan == requestedPlan\">\r\n Requested\r\n </button>\r\n\r\n <anatoly-upgrade-plan-button *ngIf=\"plan != currentPlan && plan != requestedPlan\"\r\n [currentplantitle]=\"currentPlanTitle\"\r\n [requestedplan]=plan\r\n [requestedplantitle]=\"plantitle\">\r\n </anatoly-upgrade-plan-button>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UpgradePlanButtonComponent, selector: "anatoly-upgrade-plan-button", inputs: ["currentplantitle", "requestedplan", "requestedplantitle"] }, { kind: "component", type: SignUpButtonComponent, selector: "anatoly-signup-button", inputs: ["classbtn"] }] });
|
|
2494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SubscribePlanButtonComponent, decorators: [{
|
|
2495
|
+
type: Component,
|
|
2496
|
+
args: [{ selector: "anatoly-subscribe-plan-button", template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classbtn=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"requestedPlan != null && requestedPlan != 0 && plan == requestedPlan\">\r\n Requested\r\n </button>\r\n\r\n <anatoly-upgrade-plan-button *ngIf=\"plan != currentPlan && plan != requestedPlan\"\r\n [currentplantitle]=\"currentPlanTitle\"\r\n [requestedplan]=plan\r\n [requestedplantitle]=\"plantitle\">\r\n </anatoly-upgrade-plan-button>\r\n </div>\r\n</div>\r\n" }]
|
|
2497
|
+
}], ctorParameters: function () { return [{ type: AppContextService }]; }, propDecorators: { plan: [{
|
|
2498
|
+
type: Input
|
|
2499
|
+
}], plantitle: [{
|
|
2500
|
+
type: Input
|
|
2501
|
+
}] } });
|
|
2463
2502
|
|
|
2464
2503
|
/*
|
|
2465
2504
|
<file>
|
|
@@ -2486,15 +2525,14 @@ class ContentHeaderComponent {
|
|
|
2486
2525
|
}
|
|
2487
2526
|
}
|
|
2488
2527
|
}
|
|
2489
|
-
ContentHeaderComponent
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
]
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
};
|
|
2528
|
+
ContentHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ContentHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2529
|
+
ContentHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: ContentHeaderComponent, selector: "anatoly-content-header", inputs: { title: "title" }, ngImport: i0, template: "<h2 class=\"page-header\">\r\n {{title}}\r\n <!--<small>Optional {{title}}</small>-->\r\n</h2>\r\n" });
|
|
2530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ContentHeaderComponent, decorators: [{
|
|
2531
|
+
type: Component,
|
|
2532
|
+
args: [{ selector: "anatoly-content-header", template: "<h2 class=\"page-header\">\r\n {{title}}\r\n <!--<small>Optional {{title}}</small>-->\r\n</h2>\r\n" }]
|
|
2533
|
+
}], propDecorators: { title: [{
|
|
2534
|
+
type: Input
|
|
2535
|
+
}] } });
|
|
2498
2536
|
|
|
2499
2537
|
/*
|
|
2500
2538
|
<file>
|
|
@@ -2676,16 +2714,213 @@ class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
|
2676
2714
|
});
|
|
2677
2715
|
}
|
|
2678
2716
|
}
|
|
2679
|
-
BaseHtmlEditorComponent
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
}
|
|
2717
|
+
BaseHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseHtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2718
|
+
BaseHtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: BaseHtmlEditorComponent, selector: "ng-component", inputs: { editorLabelText: "editorLabelText", editorOptions: "editorOptions" }, usesInheritance: true, ngImport: i0, template: "", isInline: true });
|
|
2719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: BaseHtmlEditorComponent, decorators: [{
|
|
2720
|
+
type: Component,
|
|
2721
|
+
args: [{
|
|
2722
|
+
template: "",
|
|
2723
|
+
}]
|
|
2724
|
+
}], ctorParameters: function () { return []; }, propDecorators: { editorLabelText: [{
|
|
2725
|
+
type: Input
|
|
2726
|
+
}], editorOptions: [{
|
|
2727
|
+
type: Input
|
|
2728
|
+
}] } });
|
|
2729
|
+
|
|
2730
|
+
/*
|
|
2731
|
+
<file>
|
|
2732
|
+
Project:
|
|
2733
|
+
@osovitny/anatoly
|
|
2734
|
+
|
|
2735
|
+
Authors:
|
|
2736
|
+
Vadim Osovitny
|
|
2737
|
+
Anatoly Osovitny
|
|
2738
|
+
|
|
2739
|
+
Created:
|
|
2740
|
+
28 Jun 2020
|
|
2741
|
+
|
|
2742
|
+
Version:
|
|
2743
|
+
1.0
|
|
2744
|
+
|
|
2745
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2746
|
+
</file>
|
|
2747
|
+
*/
|
|
2748
|
+
class NativeElementDirective {
|
|
2749
|
+
constructor(el, control) {
|
|
2750
|
+
this.el = el;
|
|
2751
|
+
this.control = control;
|
|
2752
|
+
}
|
|
2753
|
+
ngOnInit() {
|
|
2754
|
+
// sets the localization key to the control
|
|
2755
|
+
this.control.control.nativeElement = this.el.nativeElement;
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
NativeElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NativeElementDirective, deps: [{ token: i0.ElementRef }, { token: i2.NgControl }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2759
|
+
NativeElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: NativeElementDirective, selector: "[formControl], [formControlName]", ngImport: i0 });
|
|
2760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NativeElementDirective, decorators: [{
|
|
2761
|
+
type: Directive,
|
|
2762
|
+
args: [{
|
|
2763
|
+
selector: '[formControl], [formControlName]'
|
|
2764
|
+
}]
|
|
2765
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.NgControl }]; } });
|
|
2766
|
+
|
|
2767
|
+
/*
|
|
2768
|
+
<file>
|
|
2769
|
+
Project:
|
|
2770
|
+
@osovitny/anatoly
|
|
2771
|
+
|
|
2772
|
+
Authors:
|
|
2773
|
+
Vadim Osovitny
|
|
2774
|
+
Anatoly Osovitny
|
|
2775
|
+
|
|
2776
|
+
Created:
|
|
2777
|
+
8 Dec 2017
|
|
2778
|
+
|
|
2779
|
+
Version:
|
|
2780
|
+
1.0
|
|
2781
|
+
|
|
2782
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2783
|
+
</file>
|
|
2784
|
+
*/
|
|
2785
|
+
class ValidationSummaryComponent extends BaseEditComponent {
|
|
2786
|
+
constructor() {
|
|
2787
|
+
super();
|
|
2788
|
+
}
|
|
2789
|
+
getFormValidationMessages() {
|
|
2790
|
+
let messages = [];
|
|
2791
|
+
Object.keys(this.formGroup.controls).forEach((k) => {
|
|
2792
|
+
var control = this.formGroup.controls[k];
|
|
2793
|
+
if (control.controls != null) {
|
|
2794
|
+
Object.keys(control.controls).forEach((k) => {
|
|
2795
|
+
var child = control.controls[k];
|
|
2796
|
+
this.getValidationMessages(child, this.getControlName(child, k)).forEach((m) => messages.push(m));
|
|
2797
|
+
});
|
|
2798
|
+
}
|
|
2799
|
+
else {
|
|
2800
|
+
this.getValidationMessages(control, this.getControlName(control, k)).forEach((m) => messages.push(m));
|
|
2801
|
+
}
|
|
2802
|
+
});
|
|
2803
|
+
return messages;
|
|
2804
|
+
}
|
|
2805
|
+
getValidationMessages(state, thingName) {
|
|
2806
|
+
let thing = state.path || thingName;
|
|
2807
|
+
let messages = [];
|
|
2808
|
+
if (state.errors) {
|
|
2809
|
+
for (let errorName in state.errors) {
|
|
2810
|
+
if (state.errors.hasOwnProperty(errorName)) {
|
|
2811
|
+
switch (errorName) {
|
|
2812
|
+
case "required":
|
|
2813
|
+
messages.push(`${thing} is required`);
|
|
2814
|
+
break;
|
|
2815
|
+
case "minlength":
|
|
2816
|
+
messages.push(`${thing} must be at least ${state.errors["minlength"].requiredLength} characters`);
|
|
2817
|
+
break;
|
|
2818
|
+
case "pattern":
|
|
2819
|
+
messages.push(`${thing} contains illegal characters`);
|
|
2820
|
+
break;
|
|
2821
|
+
case "format":
|
|
2822
|
+
messages.push(`${thing} format mismatch`);
|
|
2823
|
+
break;
|
|
2824
|
+
case "maxlength":
|
|
2825
|
+
messages.push(`${thing} must have maximum ${state.errors["maxlength"].requiredLength} characters`);
|
|
2826
|
+
break;
|
|
2827
|
+
case "specialcharacters":
|
|
2828
|
+
messages.push(`${thing} contains special characters`);
|
|
2829
|
+
break;
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
}
|
|
2834
|
+
return messages;
|
|
2835
|
+
}
|
|
2836
|
+
/**
|
|
2837
|
+
* Get Control Name
|
|
2838
|
+
* @param control
|
|
2839
|
+
* @param thingName
|
|
2840
|
+
*/
|
|
2841
|
+
getControlName(control, thingName) {
|
|
2842
|
+
let value = this.getControlTitle(control);
|
|
2843
|
+
return value ? value : thingName;
|
|
2844
|
+
}
|
|
2845
|
+
/**
|
|
2846
|
+
* Retrieve tilte of control
|
|
2847
|
+
* @param control
|
|
2848
|
+
*/
|
|
2849
|
+
getControlTitle(control) {
|
|
2850
|
+
if (control === null || control === void 0 ? void 0 : control.nativeElement) {
|
|
2851
|
+
let controlTitle = this.getTitleAttribute(control.nativeElement);
|
|
2852
|
+
if (controlTitle) {
|
|
2853
|
+
return controlTitle;
|
|
2854
|
+
}
|
|
2855
|
+
}
|
|
2856
|
+
return undefined;
|
|
2857
|
+
}
|
|
2858
|
+
/**
|
|
2859
|
+
* Return title attribute of form control
|
|
2860
|
+
*/
|
|
2861
|
+
getTitleAttribute(nativeElement) {
|
|
2862
|
+
var _a, _b, _c, _d, _e, _f;
|
|
2863
|
+
let title;
|
|
2864
|
+
switch (nativeElement.tagName) {
|
|
2865
|
+
// For Kendo time and date picker element title is assigned to the 4th child control.
|
|
2866
|
+
case "KENDO-TIMEPICKER":
|
|
2867
|
+
case "KENDO-DATEPICKER":
|
|
2868
|
+
title =
|
|
2869
|
+
(_d = (_c = (_b = (_a = nativeElement.children[0]) === null || _a === void 0 ? void 0 : _a.children[0]) === null || _b === void 0 ? void 0 : _b.children[0]) === null || _c === void 0 ? void 0 : _c.children[0]) === null || _d === void 0 ? void 0 : _d.getAttribute("title");
|
|
2870
|
+
break;
|
|
2871
|
+
// For Kendo numaric element title is assigned to the 2nd child control.
|
|
2872
|
+
case "KENDO-NUMERICTEXTBOX":
|
|
2873
|
+
title = (_f = (_e = nativeElement.children[0]) === null || _e === void 0 ? void 0 : _e.children[0]) === null || _f === void 0 ? void 0 : _f.getAttribute("title");
|
|
2874
|
+
break;
|
|
2875
|
+
default:
|
|
2876
|
+
title = nativeElement.getAttribute("title");
|
|
2877
|
+
break;
|
|
2878
|
+
}
|
|
2879
|
+
return title;
|
|
2880
|
+
}
|
|
2881
|
+
}
|
|
2882
|
+
ValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2883
|
+
ValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: ValidationSummaryComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "", isInline: true });
|
|
2884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ValidationSummaryComponent, decorators: [{
|
|
2885
|
+
type: Component,
|
|
2886
|
+
args: [{
|
|
2887
|
+
template: "",
|
|
2888
|
+
}]
|
|
2889
|
+
}], ctorParameters: function () { return []; } });
|
|
2890
|
+
|
|
2891
|
+
/*
|
|
2892
|
+
<file>
|
|
2893
|
+
Project:
|
|
2894
|
+
@osovitny/anatoly
|
|
2895
|
+
|
|
2896
|
+
Authors:
|
|
2897
|
+
Vadim Osovitny
|
|
2898
|
+
Anatoly Osovitny
|
|
2899
|
+
|
|
2900
|
+
Created:
|
|
2901
|
+
6 Dec 2017
|
|
2902
|
+
|
|
2903
|
+
Version:
|
|
2904
|
+
1.0
|
|
2905
|
+
|
|
2906
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2907
|
+
</file>
|
|
2908
|
+
*/
|
|
2909
|
+
class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
2910
|
+
constructor() {
|
|
2911
|
+
super();
|
|
2912
|
+
}
|
|
2913
|
+
}
|
|
2914
|
+
ItemValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ItemValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2915
|
+
ItemValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: ItemValidationSummaryComponent, selector: "anatoly-item-validation-summary", inputs: { controlName: "controlName", controlTitle: "controlTitle" }, usesInheritance: true, ngImport: i0, template: "<ul class=\"list-unstyled\" *ngIf=\"isControlInvalid(controlName)\">\r\n <li *ngFor=\"let error of getValidationMessages(formGroup.get(controlName), controlTitle)\">\r\n <span class=\"help-block\">{{ error }}</span>\r\n </li>\r\n</ul>\r\n\r\n", dependencies: [{ kind: "directive", type: i1$5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ItemValidationSummaryComponent, decorators: [{
|
|
2917
|
+
type: Component,
|
|
2918
|
+
args: [{ selector: "anatoly-item-validation-summary", template: "<ul class=\"list-unstyled\" *ngIf=\"isControlInvalid(controlName)\">\r\n <li *ngFor=\"let error of getValidationMessages(formGroup.get(controlName), controlTitle)\">\r\n <span class=\"help-block\">{{ error }}</span>\r\n </li>\r\n</ul>\r\n\r\n" }]
|
|
2919
|
+
}], ctorParameters: function () { return []; }, propDecorators: { controlName: [{
|
|
2920
|
+
type: Input
|
|
2921
|
+
}], controlTitle: [{
|
|
2922
|
+
type: Input
|
|
2923
|
+
}] } });
|
|
2689
2924
|
|
|
2690
2925
|
/*
|
|
2691
2926
|
<file>
|
|
@@ -2716,16 +2951,14 @@ class FormsHtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
|
2716
2951
|
});
|
|
2717
2952
|
}
|
|
2718
2953
|
}
|
|
2719
|
-
FormsHtmlEditorComponent
|
|
2720
|
-
{ type:
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
];
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
editorFormKey: [{ type: Input }]
|
|
2728
|
-
};
|
|
2954
|
+
FormsHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: FormsHtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2955
|
+
FormsHtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: FormsHtmlEditorComponent, selector: "anatoly-forms-html-editor", inputs: { editorFormKey: "editorFormKey" }, usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"formGroup\">\r\n <div class=\"form-group\" [ngClass]=\"{'has-error': isControlInvalid(editorFormKey) }\">\r\n <label class=\"control-label\">{{ editorLabelText }}</label>\r\n <textarea [formControlName]=\"editorFormKey\"\r\n [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\">\r\n </textarea>\r\n <anatoly-item-validation-summary [formGroup]=\"formGroup\"\r\n [formSubmitted]=\"formSubmitted\"\r\n [controlName]=\"editorFormKey\"\r\n [controlTitle]=\"editorLabelText\">\r\n </anatoly-item-validation-summary>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$6.FroalaEditorDirective, selector: "[froalaEditor]", inputs: ["froalaEditor", "froalaModel"], outputs: ["froalaModelChange", "froalaInit"], exportAs: ["froalaEditor"] }, { kind: "directive", type: NativeElementDirective, selector: "[formControl], [formControlName]" }, { kind: "component", type: ItemValidationSummaryComponent, selector: "anatoly-item-validation-summary", inputs: ["controlName", "controlTitle"] }] });
|
|
2956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: FormsHtmlEditorComponent, decorators: [{
|
|
2957
|
+
type: Component,
|
|
2958
|
+
args: [{ selector: "anatoly-forms-html-editor", template: "<div [formGroup]=\"formGroup\">\r\n <div class=\"form-group\" [ngClass]=\"{'has-error': isControlInvalid(editorFormKey) }\">\r\n <label class=\"control-label\">{{ editorLabelText }}</label>\r\n <textarea [formControlName]=\"editorFormKey\"\r\n [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\">\r\n </textarea>\r\n <anatoly-item-validation-summary [formGroup]=\"formGroup\"\r\n [formSubmitted]=\"formSubmitted\"\r\n [controlName]=\"editorFormKey\"\r\n [controlTitle]=\"editorLabelText\">\r\n </anatoly-item-validation-summary>\r\n </div>\r\n</div>\r\n" }]
|
|
2959
|
+
}], ctorParameters: function () { return []; }, propDecorators: { editorFormKey: [{
|
|
2960
|
+
type: Input
|
|
2961
|
+
}] } });
|
|
2729
2962
|
|
|
2730
2963
|
/*
|
|
2731
2964
|
<file>
|
|
@@ -2766,13 +2999,12 @@ class HtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
|
2766
2999
|
return editor.html.get(false);
|
|
2767
3000
|
}
|
|
2768
3001
|
}
|
|
2769
|
-
HtmlEditorComponent
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
}
|
|
2774
|
-
];
|
|
2775
|
-
HtmlEditorComponent.ctorParameters = () => [];
|
|
3002
|
+
HtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: HtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3003
|
+
HtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: HtmlEditorComponent, selector: "anatoly-html-editor", usesInheritance: true, ngImport: i0, template: "<div>\r\n <label>{{ editorLabelText }}</label>\r\n <textarea [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\">\r\n </textarea>\r\n</div>", dependencies: [{ kind: "directive", type: i1$6.FroalaEditorDirective, selector: "[froalaEditor]", inputs: ["froalaEditor", "froalaModel"], outputs: ["froalaModelChange", "froalaInit"], exportAs: ["froalaEditor"] }] });
|
|
3004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: HtmlEditorComponent, decorators: [{
|
|
3005
|
+
type: Component,
|
|
3006
|
+
args: [{ selector: "anatoly-html-editor", template: "<div>\r\n <label>{{ editorLabelText }}</label>\r\n <textarea [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\">\r\n </textarea>\r\n</div>" }]
|
|
3007
|
+
}], ctorParameters: function () { return []; } });
|
|
2776
3008
|
|
|
2777
3009
|
/*
|
|
2778
3010
|
<file>
|
|
@@ -2795,16 +3027,14 @@ HtmlEditorComponent.ctorParameters = () => [];
|
|
|
2795
3027
|
class SignInButtonComponent {
|
|
2796
3028
|
constructor() { }
|
|
2797
3029
|
}
|
|
2798
|
-
SignInButtonComponent
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
];
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
classbtn: [{ type: Input }]
|
|
2807
|
-
};
|
|
3030
|
+
SignInButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SignInButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3031
|
+
SignInButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: SignInButtonComponent, selector: "anatoly-signin-button", inputs: { classbtn: "classbtn" }, ngImport: i0, template: "<a href=\"identity/signIn\" class=\"{{classbtn}}\">Sign In</a>\r\n" });
|
|
3032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SignInButtonComponent, decorators: [{
|
|
3033
|
+
type: Component,
|
|
3034
|
+
args: [{ selector: "anatoly-signin-button", template: "<a href=\"identity/signIn\" class=\"{{classbtn}}\">Sign In</a>\r\n" }]
|
|
3035
|
+
}], ctorParameters: function () { return []; }, propDecorators: { classbtn: [{
|
|
3036
|
+
type: Input
|
|
3037
|
+
}] } });
|
|
2808
3038
|
|
|
2809
3039
|
/*
|
|
2810
3040
|
<file>
|
|
@@ -2827,46 +3057,14 @@ SignInButtonComponent.propDecorators = {
|
|
|
2827
3057
|
class SignOutButtonComponent {
|
|
2828
3058
|
constructor() { }
|
|
2829
3059
|
}
|
|
2830
|
-
SignOutButtonComponent
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
];
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
classbtn: [{ type: Input }]
|
|
2839
|
-
};
|
|
2840
|
-
|
|
2841
|
-
/*
|
|
2842
|
-
<file>
|
|
2843
|
-
Project:
|
|
2844
|
-
@osovitny/anatoly
|
|
2845
|
-
|
|
2846
|
-
Authors:
|
|
2847
|
-
Vadim Osovitny
|
|
2848
|
-
Anatoly Osovitny
|
|
2849
|
-
|
|
2850
|
-
Created:
|
|
2851
|
-
4 Jul 2018
|
|
2852
|
-
|
|
2853
|
-
Version:
|
|
2854
|
-
1.0
|
|
2855
|
-
|
|
2856
|
-
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2857
|
-
</file>
|
|
2858
|
-
*/
|
|
2859
|
-
class SignUpButtonComponent {
|
|
2860
|
-
}
|
|
2861
|
-
SignUpButtonComponent.decorators = [
|
|
2862
|
-
{ type: Component, args: [{
|
|
2863
|
-
selector: "anatoly-signup-button",
|
|
2864
|
-
template: "<a href=\"identity/signup\" class=\"{{classbtn}}\">Sign Up</a>\r\n"
|
|
2865
|
-
},] }
|
|
2866
|
-
];
|
|
2867
|
-
SignUpButtonComponent.propDecorators = {
|
|
2868
|
-
classbtn: [{ type: Input }]
|
|
2869
|
-
};
|
|
3060
|
+
SignOutButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SignOutButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3061
|
+
SignOutButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: SignOutButtonComponent, selector: "anatoly-signout-button", inputs: { classbtn: "classbtn" }, ngImport: i0, template: "<a href=\"identity/signOut\" class=\"{{classbtn}}\">Sign Out</a>\r\n" });
|
|
3062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SignOutButtonComponent, decorators: [{
|
|
3063
|
+
type: Component,
|
|
3064
|
+
args: [{ selector: "anatoly-signout-button", template: "<a href=\"identity/signOut\" class=\"{{classbtn}}\">Sign Out</a>\r\n" }]
|
|
3065
|
+
}], ctorParameters: function () { return []; }, propDecorators: { classbtn: [{
|
|
3066
|
+
type: Input
|
|
3067
|
+
}] } });
|
|
2870
3068
|
|
|
2871
3069
|
/*
|
|
2872
3070
|
<file>
|
|
@@ -2903,15 +3101,12 @@ class LoadingComponent {
|
|
|
2903
3101
|
this.subs.unsubscribe();
|
|
2904
3102
|
}
|
|
2905
3103
|
}
|
|
2906
|
-
LoadingComponent
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
];
|
|
2912
|
-
LoadingComponent.ctorParameters = () => [
|
|
2913
|
-
{ type: LoadingService }
|
|
2914
|
-
];
|
|
3104
|
+
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LoadingComponent, deps: [{ token: LoadingService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3105
|
+
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: LoadingComponent, selector: "anatoly-loading", ngImport: i0, template: "<div *ngIf=\"show\">\r\n <span id=\"pnlLoading\" class=\"k-icon k-i-loading\"></span>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
3107
|
+
type: Component,
|
|
3108
|
+
args: [{ selector: 'anatoly-loading', template: "<div *ngIf=\"show\">\r\n <span id=\"pnlLoading\" class=\"k-icon k-i-loading\"></span>\r\n</div>\r\n" }]
|
|
3109
|
+
}], ctorParameters: function () { return [{ type: LoadingService }]; } });
|
|
2915
3110
|
|
|
2916
3111
|
/*
|
|
2917
3112
|
<file>
|
|
@@ -2966,59 +3161,21 @@ class SpinnerComponent {
|
|
|
2966
3161
|
this.isSpinnerVisible = false;
|
|
2967
3162
|
}
|
|
2968
3163
|
}
|
|
2969
|
-
SpinnerComponent
|
|
2970
|
-
{ type:
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
};
|
|
2984
|
-
|
|
2985
|
-
/*
|
|
2986
|
-
<file>
|
|
2987
|
-
Project:
|
|
2988
|
-
@osovitny/anatoly
|
|
2989
|
-
|
|
2990
|
-
Authors:
|
|
2991
|
-
Vadim Osovitny
|
|
2992
|
-
Anatoly Osovitny
|
|
2993
|
-
|
|
2994
|
-
Created:
|
|
2995
|
-
28 Jun 2020
|
|
2996
|
-
|
|
2997
|
-
Version:
|
|
2998
|
-
1.0
|
|
2999
|
-
|
|
3000
|
-
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3001
|
-
</file>
|
|
3002
|
-
*/
|
|
3003
|
-
class NativeElementDirective {
|
|
3004
|
-
constructor(el, control) {
|
|
3005
|
-
this.el = el;
|
|
3006
|
-
this.control = control;
|
|
3007
|
-
}
|
|
3008
|
-
ngOnInit() {
|
|
3009
|
-
// sets the localization key to the control
|
|
3010
|
-
this.control.control.nativeElement = this.el.nativeElement;
|
|
3011
|
-
}
|
|
3012
|
-
}
|
|
3013
|
-
NativeElementDirective.decorators = [
|
|
3014
|
-
{ type: Directive, args: [{
|
|
3015
|
-
selector: '[formControl], [formControlName]'
|
|
3016
|
-
},] }
|
|
3017
|
-
];
|
|
3018
|
-
NativeElementDirective.ctorParameters = () => [
|
|
3019
|
-
{ type: ElementRef },
|
|
3020
|
-
{ type: NgControl }
|
|
3021
|
-
];
|
|
3164
|
+
SpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SpinnerComponent, deps: [{ token: i1.Router }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
3165
|
+
SpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: SpinnerComponent, selector: "spinner", inputs: { backgroundColor: "backgroundColor", spinner: "spinner" }, ngImport: i0, template: "<div id=\"spinner-loader\" *ngIf=\"isSpinnerVisible\">\r\n <div class=\"loader-bg\">\r\n <div class=\"spinner-line-material\" [class.colored]=\"!backgroundColor\" *ngIf=\"spinner === spinnerSpinKit.spinnerLine\">\r\n <div class=\"spinner-child spinner-bounce1\" [style.background-color]='backgroundColor'></div>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
3166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
3167
|
+
type: Component,
|
|
3168
|
+
args: [{ selector: 'spinner', encapsulation: ViewEncapsulation.None, template: "<div id=\"spinner-loader\" *ngIf=\"isSpinnerVisible\">\r\n <div class=\"loader-bg\">\r\n <div class=\"spinner-line-material\" [class.colored]=\"!backgroundColor\" *ngIf=\"spinner === spinnerSpinKit.spinnerLine\">\r\n <div class=\"spinner-child spinner-bounce1\" [style.background-color]='backgroundColor'></div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
3169
|
+
}], ctorParameters: function () {
|
|
3170
|
+
return [{ type: i1.Router }, { type: Document, decorators: [{
|
|
3171
|
+
type: Inject,
|
|
3172
|
+
args: [DOCUMENT]
|
|
3173
|
+
}] }];
|
|
3174
|
+
}, propDecorators: { backgroundColor: [{
|
|
3175
|
+
type: Input
|
|
3176
|
+
}], spinner: [{
|
|
3177
|
+
type: Input
|
|
3178
|
+
}] } });
|
|
3022
3179
|
|
|
3023
3180
|
/*
|
|
3024
3181
|
<file>
|
|
@@ -3048,11 +3205,14 @@ class ReplaceTextPipe {
|
|
|
3048
3205
|
}
|
|
3049
3206
|
}
|
|
3050
3207
|
}
|
|
3051
|
-
ReplaceTextPipe
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3208
|
+
ReplaceTextPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ReplaceTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3209
|
+
ReplaceTextPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: ReplaceTextPipe, name: "replaceText" });
|
|
3210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ReplaceTextPipe, decorators: [{
|
|
3211
|
+
type: Pipe,
|
|
3212
|
+
args: [{
|
|
3213
|
+
name: "replaceText",
|
|
3214
|
+
}]
|
|
3215
|
+
}] });
|
|
3056
3216
|
|
|
3057
3217
|
/*
|
|
3058
3218
|
<file>
|
|
@@ -3087,11 +3247,14 @@ class FileSizePipe {
|
|
|
3087
3247
|
return bytes.toFixed(+precision) + ' ' + this.units[unit];
|
|
3088
3248
|
}
|
|
3089
3249
|
}
|
|
3090
|
-
FileSizePipe
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3250
|
+
FileSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: FileSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3251
|
+
FileSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: FileSizePipe, name: "filesize" });
|
|
3252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: FileSizePipe, decorators: [{
|
|
3253
|
+
type: Pipe,
|
|
3254
|
+
args: [{
|
|
3255
|
+
name: 'filesize',
|
|
3256
|
+
}]
|
|
3257
|
+
}] });
|
|
3095
3258
|
|
|
3096
3259
|
/*
|
|
3097
3260
|
<file>
|
|
@@ -3119,134 +3282,12 @@ class SafeHtmlPipe {
|
|
|
3119
3282
|
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
3120
3283
|
}
|
|
3121
3284
|
}
|
|
3122
|
-
SafeHtmlPipe
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
];
|
|
3128
|
-
|
|
3129
|
-
/*
|
|
3130
|
-
<file>
|
|
3131
|
-
Project:
|
|
3132
|
-
@osovitny/anatoly
|
|
3133
|
-
|
|
3134
|
-
Authors:
|
|
3135
|
-
Vadim Osovitny
|
|
3136
|
-
Anatoly Osovitny
|
|
3137
|
-
|
|
3138
|
-
Created:
|
|
3139
|
-
8 Dec 2017
|
|
3140
|
-
|
|
3141
|
-
Version:
|
|
3142
|
-
1.0
|
|
3143
|
-
|
|
3144
|
-
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3145
|
-
</file>
|
|
3146
|
-
*/
|
|
3147
|
-
class ValidationSummaryComponent extends BaseEditComponent {
|
|
3148
|
-
constructor() {
|
|
3149
|
-
super();
|
|
3150
|
-
}
|
|
3151
|
-
getFormValidationMessages() {
|
|
3152
|
-
let messages = [];
|
|
3153
|
-
Object.keys(this.formGroup.controls).forEach((k) => {
|
|
3154
|
-
var control = this.formGroup.controls[k];
|
|
3155
|
-
if (control.controls != null) {
|
|
3156
|
-
Object.keys(control.controls).forEach((k) => {
|
|
3157
|
-
var child = control.controls[k];
|
|
3158
|
-
this.getValidationMessages(child, this.getControlName(child, k)).forEach((m) => messages.push(m));
|
|
3159
|
-
});
|
|
3160
|
-
}
|
|
3161
|
-
else {
|
|
3162
|
-
this.getValidationMessages(control, this.getControlName(control, k)).forEach((m) => messages.push(m));
|
|
3163
|
-
}
|
|
3164
|
-
});
|
|
3165
|
-
return messages;
|
|
3166
|
-
}
|
|
3167
|
-
getValidationMessages(state, thingName) {
|
|
3168
|
-
let thing = state.path || thingName;
|
|
3169
|
-
let messages = [];
|
|
3170
|
-
if (state.errors) {
|
|
3171
|
-
for (let errorName in state.errors) {
|
|
3172
|
-
if (state.errors.hasOwnProperty(errorName)) {
|
|
3173
|
-
switch (errorName) {
|
|
3174
|
-
case "required":
|
|
3175
|
-
messages.push(`${thing} is required`);
|
|
3176
|
-
break;
|
|
3177
|
-
case "minlength":
|
|
3178
|
-
messages.push(`${thing} must be at least ${state.errors["minlength"].requiredLength} characters`);
|
|
3179
|
-
break;
|
|
3180
|
-
case "pattern":
|
|
3181
|
-
messages.push(`${thing} contains illegal characters`);
|
|
3182
|
-
break;
|
|
3183
|
-
case "format":
|
|
3184
|
-
messages.push(`${thing} format mismatch`);
|
|
3185
|
-
break;
|
|
3186
|
-
case "maxlength":
|
|
3187
|
-
messages.push(`${thing} must have maximum ${state.errors["maxlength"].requiredLength} characters`);
|
|
3188
|
-
break;
|
|
3189
|
-
case "specialcharacters":
|
|
3190
|
-
messages.push(`${thing} contains special characters`);
|
|
3191
|
-
break;
|
|
3192
|
-
}
|
|
3193
|
-
}
|
|
3194
|
-
}
|
|
3195
|
-
}
|
|
3196
|
-
return messages;
|
|
3197
|
-
}
|
|
3198
|
-
/**
|
|
3199
|
-
* Get Control Name
|
|
3200
|
-
* @param control
|
|
3201
|
-
* @param thingName
|
|
3202
|
-
*/
|
|
3203
|
-
getControlName(control, thingName) {
|
|
3204
|
-
let value = this.getControlTitle(control);
|
|
3205
|
-
return value ? value : thingName;
|
|
3206
|
-
}
|
|
3207
|
-
/**
|
|
3208
|
-
* Retrieve tilte of control
|
|
3209
|
-
* @param control
|
|
3210
|
-
*/
|
|
3211
|
-
getControlTitle(control) {
|
|
3212
|
-
if (control === null || control === void 0 ? void 0 : control.nativeElement) {
|
|
3213
|
-
let controlTitle = this.getTitleAttribute(control.nativeElement);
|
|
3214
|
-
if (controlTitle) {
|
|
3215
|
-
return controlTitle;
|
|
3216
|
-
}
|
|
3217
|
-
}
|
|
3218
|
-
return undefined;
|
|
3219
|
-
}
|
|
3220
|
-
/**
|
|
3221
|
-
* Return title attribute of form control
|
|
3222
|
-
*/
|
|
3223
|
-
getTitleAttribute(nativeElement) {
|
|
3224
|
-
var _a, _b, _c, _d, _e, _f;
|
|
3225
|
-
let title;
|
|
3226
|
-
switch (nativeElement.tagName) {
|
|
3227
|
-
// For Kendo time and date picker element title is assigned to the 4th child control.
|
|
3228
|
-
case "KENDO-TIMEPICKER":
|
|
3229
|
-
case "KENDO-DATEPICKER":
|
|
3230
|
-
title =
|
|
3231
|
-
(_d = (_c = (_b = (_a = nativeElement.children[0]) === null || _a === void 0 ? void 0 : _a.children[0]) === null || _b === void 0 ? void 0 : _b.children[0]) === null || _c === void 0 ? void 0 : _c.children[0]) === null || _d === void 0 ? void 0 : _d.getAttribute("title");
|
|
3232
|
-
break;
|
|
3233
|
-
// For Kendo numaric element title is assigned to the 2nd child control.
|
|
3234
|
-
case "KENDO-NUMERICTEXTBOX":
|
|
3235
|
-
title = (_f = (_e = nativeElement.children[0]) === null || _e === void 0 ? void 0 : _e.children[0]) === null || _f === void 0 ? void 0 : _f.getAttribute("title");
|
|
3236
|
-
break;
|
|
3237
|
-
default:
|
|
3238
|
-
title = nativeElement.getAttribute("title");
|
|
3239
|
-
break;
|
|
3240
|
-
}
|
|
3241
|
-
return title;
|
|
3242
|
-
}
|
|
3243
|
-
}
|
|
3244
|
-
ValidationSummaryComponent.decorators = [
|
|
3245
|
-
{ type: Component, args: [{
|
|
3246
|
-
template: ""
|
|
3247
|
-
},] }
|
|
3248
|
-
];
|
|
3249
|
-
ValidationSummaryComponent.ctorParameters = () => [];
|
|
3285
|
+
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3286
|
+
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: SafeHtmlPipe, name: "safeHtml" });
|
|
3287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
3288
|
+
type: Pipe,
|
|
3289
|
+
args: [{ name: 'safeHtml' }]
|
|
3290
|
+
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
3250
3291
|
|
|
3251
3292
|
/*
|
|
3252
3293
|
<file>
|
|
@@ -3296,53 +3337,18 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
3296
3337
|
return messages;
|
|
3297
3338
|
}
|
|
3298
3339
|
}
|
|
3299
|
-
FormValidationSummaryComponent
|
|
3300
|
-
{ type:
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
];
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
};
|
|
3311
|
-
|
|
3312
|
-
/*
|
|
3313
|
-
<file>
|
|
3314
|
-
Project:
|
|
3315
|
-
@osovitny/anatoly
|
|
3316
|
-
|
|
3317
|
-
Authors:
|
|
3318
|
-
Vadim Osovitny
|
|
3319
|
-
Anatoly Osovitny
|
|
3320
|
-
|
|
3321
|
-
Created:
|
|
3322
|
-
6 Dec 2017
|
|
3323
|
-
|
|
3324
|
-
Version:
|
|
3325
|
-
1.0
|
|
3326
|
-
|
|
3327
|
-
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3328
|
-
</file>
|
|
3329
|
-
*/
|
|
3330
|
-
class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
3331
|
-
constructor() {
|
|
3332
|
-
super();
|
|
3333
|
-
}
|
|
3334
|
-
}
|
|
3335
|
-
ItemValidationSummaryComponent.decorators = [
|
|
3336
|
-
{ type: Component, args: [{
|
|
3337
|
-
selector: "anatoly-item-validation-summary",
|
|
3338
|
-
template: "<ul class=\"list-unstyled\" *ngIf=\"isControlInvalid(controlName)\">\r\n <li *ngFor=\"let error of getValidationMessages(formGroup.get(controlName), controlTitle)\">\r\n <span class=\"help-block\">{{ error }}</span>\r\n </li>\r\n</ul>\r\n\r\n"
|
|
3339
|
-
},] }
|
|
3340
|
-
];
|
|
3341
|
-
ItemValidationSummaryComponent.ctorParameters = () => [];
|
|
3342
|
-
ItemValidationSummaryComponent.propDecorators = {
|
|
3343
|
-
controlName: [{ type: Input }],
|
|
3344
|
-
controlTitle: [{ type: Input }]
|
|
3345
|
-
};
|
|
3340
|
+
FormValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: FormValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3341
|
+
FormValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: FormValidationSummaryComponent, selector: "anatoly-form-validation-summary", inputs: { visible: "visible", customerrors: "customerrors", viewtype: "viewtype" }, usesInheritance: true, ngImport: i0, template: "<div class=\"callout callout-danger\" *ngIf=\"visible\">\r\n <h6 class=\"box-title\">There are problems with the form</h6>\r\n <ul>\r\n <li *ngFor=\"let error of getErrors()\"><span>{{error}}</span></li>\r\n </ul>\r\n</div>\r\n\r\n", dependencies: [{ kind: "directive", type: i1$5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: FormValidationSummaryComponent, decorators: [{
|
|
3343
|
+
type: Component,
|
|
3344
|
+
args: [{ selector: "anatoly-form-validation-summary", template: "<div class=\"callout callout-danger\" *ngIf=\"visible\">\r\n <h6 class=\"box-title\">There are problems with the form</h6>\r\n <ul>\r\n <li *ngFor=\"let error of getErrors()\"><span>{{error}}</span></li>\r\n </ul>\r\n</div>\r\n\r\n" }]
|
|
3345
|
+
}], ctorParameters: function () { return []; }, propDecorators: { visible: [{
|
|
3346
|
+
type: Input
|
|
3347
|
+
}], customerrors: [{
|
|
3348
|
+
type: Input
|
|
3349
|
+
}], viewtype: [{
|
|
3350
|
+
type: Input
|
|
3351
|
+
}] } });
|
|
3346
3352
|
|
|
3347
3353
|
/*
|
|
3348
3354
|
<file>
|
|
@@ -3366,61 +3372,109 @@ const FroalaEditorModuleWithProviders = FroalaEditorModule.forRoot();
|
|
|
3366
3372
|
const FroalaViewModuleWithProviders = FroalaViewModule.forRoot();
|
|
3367
3373
|
class AnatolyUIModule {
|
|
3368
3374
|
}
|
|
3369
|
-
AnatolyUIModule
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3375
|
+
AnatolyUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3376
|
+
AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AnatolyUIModule, declarations: [SubscribePlanButtonComponent,
|
|
3377
|
+
UpgradePlanButtonComponent,
|
|
3378
|
+
BuyAccessButtonComponent,
|
|
3379
|
+
SignInButtonComponent,
|
|
3380
|
+
SignUpButtonComponent,
|
|
3381
|
+
SignOutButtonComponent,
|
|
3382
|
+
ContentHeaderComponent,
|
|
3383
|
+
SpinnerComponent,
|
|
3384
|
+
LoadingComponent,
|
|
3385
|
+
NativeElementDirective,
|
|
3386
|
+
//Editor
|
|
3387
|
+
HtmlEditorComponent,
|
|
3388
|
+
FormsHtmlEditorComponent,
|
|
3389
|
+
//Validation
|
|
3390
|
+
FormValidationSummaryComponent,
|
|
3391
|
+
ItemValidationSummaryComponent,
|
|
3392
|
+
//Pipe
|
|
3393
|
+
SafeHtmlPipe,
|
|
3394
|
+
ReplaceTextPipe,
|
|
3395
|
+
FileSizePipe], imports: [CommonModule,
|
|
3396
|
+
ReactiveFormsModule,
|
|
3397
|
+
FormsModule, i1$6.FroalaEditorModule, i1$6.FroalaViewModule], exports: [SubscribePlanButtonComponent,
|
|
3398
|
+
UpgradePlanButtonComponent,
|
|
3399
|
+
BuyAccessButtonComponent,
|
|
3400
|
+
SignInButtonComponent,
|
|
3401
|
+
SignUpButtonComponent,
|
|
3402
|
+
SignOutButtonComponent,
|
|
3403
|
+
ContentHeaderComponent,
|
|
3404
|
+
SpinnerComponent,
|
|
3405
|
+
LoadingComponent,
|
|
3406
|
+
NativeElementDirective,
|
|
3407
|
+
//Editor
|
|
3408
|
+
HtmlEditorComponent,
|
|
3409
|
+
FormsHtmlEditorComponent,
|
|
3410
|
+
//Validation
|
|
3411
|
+
FormValidationSummaryComponent,
|
|
3412
|
+
ItemValidationSummaryComponent,
|
|
3413
|
+
//Pipe
|
|
3414
|
+
SafeHtmlPipe,
|
|
3415
|
+
ReplaceTextPipe,
|
|
3416
|
+
FileSizePipe] });
|
|
3417
|
+
AnatolyUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyUIModule, imports: [CommonModule,
|
|
3418
|
+
ReactiveFormsModule,
|
|
3419
|
+
FormsModule,
|
|
3420
|
+
FroalaEditorModuleWithProviders,
|
|
3421
|
+
FroalaViewModuleWithProviders] });
|
|
3422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyUIModule, decorators: [{
|
|
3423
|
+
type: NgModule,
|
|
3424
|
+
args: [{
|
|
3425
|
+
imports: [
|
|
3426
|
+
CommonModule,
|
|
3427
|
+
ReactiveFormsModule,
|
|
3428
|
+
FormsModule,
|
|
3429
|
+
FroalaEditorModuleWithProviders,
|
|
3430
|
+
FroalaViewModuleWithProviders,
|
|
3431
|
+
],
|
|
3432
|
+
exports: [
|
|
3433
|
+
SubscribePlanButtonComponent,
|
|
3434
|
+
UpgradePlanButtonComponent,
|
|
3435
|
+
BuyAccessButtonComponent,
|
|
3436
|
+
SignInButtonComponent,
|
|
3437
|
+
SignUpButtonComponent,
|
|
3438
|
+
SignOutButtonComponent,
|
|
3439
|
+
ContentHeaderComponent,
|
|
3440
|
+
SpinnerComponent,
|
|
3441
|
+
LoadingComponent,
|
|
3442
|
+
NativeElementDirective,
|
|
3443
|
+
//Editor
|
|
3444
|
+
HtmlEditorComponent,
|
|
3445
|
+
FormsHtmlEditorComponent,
|
|
3446
|
+
//Validation
|
|
3447
|
+
FormValidationSummaryComponent,
|
|
3448
|
+
ItemValidationSummaryComponent,
|
|
3449
|
+
//Pipe
|
|
3450
|
+
SafeHtmlPipe,
|
|
3451
|
+
ReplaceTextPipe,
|
|
3452
|
+
FileSizePipe,
|
|
3453
|
+
],
|
|
3454
|
+
declarations: [
|
|
3455
|
+
SubscribePlanButtonComponent,
|
|
3456
|
+
UpgradePlanButtonComponent,
|
|
3457
|
+
BuyAccessButtonComponent,
|
|
3458
|
+
SignInButtonComponent,
|
|
3459
|
+
SignUpButtonComponent,
|
|
3460
|
+
SignOutButtonComponent,
|
|
3461
|
+
ContentHeaderComponent,
|
|
3462
|
+
SpinnerComponent,
|
|
3463
|
+
LoadingComponent,
|
|
3464
|
+
NativeElementDirective,
|
|
3465
|
+
//Editor
|
|
3466
|
+
HtmlEditorComponent,
|
|
3467
|
+
FormsHtmlEditorComponent,
|
|
3468
|
+
//Validation
|
|
3469
|
+
FormValidationSummaryComponent,
|
|
3470
|
+
ItemValidationSummaryComponent,
|
|
3471
|
+
//Pipe
|
|
3472
|
+
SafeHtmlPipe,
|
|
3473
|
+
ReplaceTextPipe,
|
|
3474
|
+
FileSizePipe,
|
|
3475
|
+
]
|
|
3476
|
+
}]
|
|
3477
|
+
}] });
|
|
3424
3478
|
|
|
3425
3479
|
/*
|
|
3426
3480
|
* Public API Surface of anatoly-lib
|
|
@@ -3431,4 +3485,4 @@ AnatolyUIModule.decorators = [
|
|
|
3431
3485
|
*/
|
|
3432
3486
|
|
|
3433
3487
|
export { Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BillingApiService, BuyAccessButtonComponent, ContentHeaderComponent, ContextInitState, Convert, DefaultEditorOptions, DigitalMarketingService, FileSizePipe, FormValidationSummaryComponent, FormsHtmlEditorComponent, FroalaEditorModuleWithProviders, FroalaViewModuleWithProviders, GlobalErrorHandler, GoogleAnalyticsService, Guid, HtmlEditorComponent, IdleService, InjectorInstance, ItemValidationSummaryComponent, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, NativeElementDirective, NotificationService, NotificationsApiService, ReplaceTextPipe, SafeHtmlPipe, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, SpinnerComponent, Subs, SubscribePlanButtonComponent, TranslateModuleAtRoot, UpgradePlanButtonComponent, Urls, Utils, ValidationSummaryComponent, customTranslateLoaderFactory, localizationInitializerFactory, throwIfAlreadyLoaded };
|
|
3434
|
-
//# sourceMappingURL=osovitny-anatoly.
|
|
3488
|
+
//# sourceMappingURL=osovitny-anatoly.mjs.map
|