@osovitny/anatoly 2.14.1 → 2.14.3
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/esm2020/lib/core/consts/settings.mjs +2 -2
- package/esm2020/lib/core/convert.mjs +2 -2
- package/esm2020/lib/core/core.module.mjs +6 -6
- package/esm2020/lib/core/go/base-go.service.mjs +5 -5
- package/esm2020/lib/core/guards/once-import.guard.mjs +2 -2
- package/esm2020/lib/core/guid.mjs +2 -2
- package/esm2020/lib/core/interceptors/httpInterceptor.mjs +5 -5
- package/esm2020/lib/core/localization/localization.module.mjs +6 -6
- package/esm2020/lib/core/localization/localization.service.mjs +5 -5
- package/esm2020/lib/core/localization/localizationSettings.module.mjs +6 -6
- package/esm2020/lib/core/localization/localize.pipe.mjs +5 -5
- package/esm2020/lib/core/localization/utils.mjs +2 -2
- package/esm2020/lib/core/logging/globalErrorHandler.mjs +5 -5
- package/esm2020/lib/core/logging/logging.service.mjs +5 -5
- package/esm2020/lib/core/notifications/alerts.mjs +2 -2
- package/esm2020/lib/core/notifications/interfaces/notification.mjs +2 -2
- package/esm2020/lib/core/notifications/services/notification-service.mjs +5 -5
- package/esm2020/lib/core/services/appcontext.service.mjs +5 -5
- package/esm2020/lib/core/services/dm.service.mjs +5 -5
- package/esm2020/lib/core/services/google-analytics.service.mjs +5 -5
- package/esm2020/lib/core/services/idle.service.mjs +5 -5
- package/esm2020/lib/core/services/loading.service.mjs +5 -5
- package/esm2020/lib/core/services/web-storage.service.mjs +8 -8
- package/esm2020/lib/core/subs.mjs +2 -2
- package/esm2020/lib/core/utils.mjs +2 -2
- package/esm2020/lib/data/base/base-api.service.mjs +5 -5
- package/esm2020/lib/data/base/grid/base-grid-edit.service.mjs +5 -5
- package/esm2020/lib/data/base/grid/base-grid-read.service.mjs +5 -5
- package/esm2020/lib/data/consts.mjs +2 -2
- package/esm2020/lib/data/data.module.mjs +13 -13
- package/esm2020/lib/data/services/billing-api.service.mjs +5 -5
- package/esm2020/lib/data/services/emails-api.service.mjs +42 -0
- package/esm2020/lib/data/services/notifications/notifications-api-service.mjs +5 -5
- package/esm2020/lib/ui/components/base-edit.component.mjs +6 -6
- package/esm2020/lib/ui/components/base.component.mjs +7 -7
- package/esm2020/lib/ui/components/base.dialog.mjs +3 -3
- package/esm2020/lib/ui/components/billing/buyaccess-button.component.mjs +8 -8
- package/esm2020/lib/ui/components/billing/subscribe-plan-button.component.mjs +6 -6
- package/esm2020/lib/ui/components/billing/upgrade-plan-button.component.mjs +7 -8
- package/esm2020/lib/ui/components/content-header/content-header.component.mjs +5 -5
- package/esm2020/lib/ui/components/html-editor/base-html-editor.component.mjs +6 -6
- package/esm2020/lib/ui/components/html-editor/forms-html-editor.component.mjs +6 -6
- package/esm2020/lib/ui/components/html-editor/html-editor.component.mjs +5 -5
- package/esm2020/lib/ui/components/html-editor/html-editor.defaultoptions.mjs +2 -2
- package/esm2020/lib/ui/components/identity/signin-button.component.mjs +5 -5
- package/esm2020/lib/ui/components/identity/signout-button.component.mjs +5 -5
- package/esm2020/lib/ui/components/identity/signup-button.component.mjs +5 -5
- package/esm2020/lib/ui/components/loading/loading.component.mjs +8 -7
- package/esm2020/lib/ui/components/spinner/spinner.component.mjs +5 -5
- package/esm2020/lib/ui/directives/native-element.directive.mjs +5 -5
- package/esm2020/lib/ui/forms/contact-us/contact-us.mjs +120 -0
- package/esm2020/lib/ui/pipes/filesize.pipe.mjs +5 -5
- package/esm2020/lib/ui/pipes/replace-text.pipe.mjs +5 -5
- package/esm2020/lib/ui/pipes/safeHtml.pipe.mjs +5 -5
- package/esm2020/lib/ui/ui.module.mjs +54 -42
- package/esm2020/lib/ui/validation/form-validation-summary.component.mjs +6 -5
- package/esm2020/lib/ui/validation/item-validation-summary.component.mjs +6 -5
- package/esm2020/lib/ui/validation/validation-summary.component.mjs +6 -6
- package/esm2020/public-api.mjs +10 -4
- package/fesm2015/osovitny-anatoly.mjs +545 -382
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +542 -379
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/data/services/emails-api.service.d.ts +10 -0
- package/lib/ui/components/base.component.d.ts +1 -1
- package/lib/ui/components/billing/buyaccess-button.component.d.ts +2 -2
- package/lib/ui/components/billing/subscribe-plan-button.component.d.ts +1 -1
- package/lib/ui/components/billing/upgrade-plan-button.component.d.ts +1 -1
- package/lib/ui/components/loading/loading.component.d.ts +1 -1
- package/lib/ui/forms/contact-us/contact-us.d.ts +33 -0
- package/lib/ui/ui.module.d.ts +14 -12
- package/package.json +3 -3
- package/public-api.d.ts +3 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Pipe, APP_INITIALIZER, Injector, NgModule, Inject,
|
|
2
|
+
import { Injectable, Pipe, APP_INITIALIZER, Injector, NgModule, Inject, Component, Input, Directive, ViewEncapsulation, EventEmitter, Output, ViewChild, Optional, SkipSelf } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/router';
|
|
4
4
|
import { NavigationEnd, NavigationStart, NavigationCancel, NavigationError } from '@angular/router';
|
|
5
5
|
import * as i1$3 from '@angular/common/http';
|
|
@@ -11,17 +11,32 @@ import { utcToZonedTime } from 'date-fns-tz';
|
|
|
11
11
|
import enUS from 'date-fns/locale/en-US';
|
|
12
12
|
import * as i1$1 from '@ngx-translate/core';
|
|
13
13
|
import { TranslateModule, TranslateLoader, TranslateService } from '@ngx-translate/core';
|
|
14
|
-
import * as i1$
|
|
14
|
+
import * as i1$6 from '@angular/common';
|
|
15
15
|
import { LOCATION_INITIALIZED, DOCUMENT, CommonModule } from '@angular/common';
|
|
16
16
|
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
17
17
|
import Swal from 'sweetalert2';
|
|
18
18
|
import { v4 } from 'uuid';
|
|
19
19
|
import * as i1$2 from 'ngx-toastr';
|
|
20
20
|
import * as i1$4 from '@angular/platform-browser';
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import * as i1$
|
|
21
|
+
import { Utils as Utils$1 } from '@core/utils';
|
|
22
|
+
import { Subs as Subs$1 } from '@core/subs';
|
|
23
|
+
import * as i1$7 from '@angular/forms';
|
|
24
|
+
import { FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
25
|
+
import { Alerts as Alerts$1 } from '@core/notifications/alerts';
|
|
26
|
+
import * as i1$5 from '@core/services/appcontext.service';
|
|
27
|
+
import * as i2 from '@data/services/billing-api.service';
|
|
28
|
+
import { AppCoreSettings as AppCoreSettings$1 } from '@core/consts/settings';
|
|
29
|
+
import * as i1$8 from 'angular-froala-wysiwyg';
|
|
24
30
|
import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg';
|
|
31
|
+
import * as i1$9 from '@core/services/loading.service';
|
|
32
|
+
import { BaseEditComponent as BaseEditComponent$1 } from '@anatoly/ui/components/base-edit.component';
|
|
33
|
+
import * as i2$1 from '@anatoly/core/services/appcontext.service';
|
|
34
|
+
import * as i3 from '@anatoly/data/services/emails-api.service';
|
|
35
|
+
import * as i4 from '@anatoly/core/notifications/services/notification-service';
|
|
36
|
+
import * as i6 from 'ngx-captcha';
|
|
37
|
+
import { NgxCaptchaModule } from 'ngx-captcha';
|
|
38
|
+
import { throwIfAlreadyLoaded as throwIfAlreadyLoaded$1 } from '@core/guards/once-import.guard';
|
|
39
|
+
import { BaseApiService as BaseApiService$1 } from '@data/base/base-api.service';
|
|
25
40
|
|
|
26
41
|
/*
|
|
27
42
|
<file>
|
|
@@ -35,7 +50,7 @@ import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg';
|
|
|
35
50
|
Created:
|
|
36
51
|
26 Jun 2020
|
|
37
52
|
|
|
38
|
-
Copyright (c) 2016-
|
|
53
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
39
54
|
</file>
|
|
40
55
|
*/
|
|
41
56
|
const ContextInitState = JSON.parse((document.getElementById('contextInitState')).getAttribute('data-contextinitstate'));
|
|
@@ -75,7 +90,7 @@ const Urls = {
|
|
|
75
90
|
Version:
|
|
76
91
|
1.0
|
|
77
92
|
|
|
78
|
-
Copyright (c) 2016-
|
|
93
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
79
94
|
</file>
|
|
80
95
|
*/
|
|
81
96
|
class BaseGoService {
|
|
@@ -92,9 +107,9 @@ class BaseGoService {
|
|
|
92
107
|
window.location.href = "/";
|
|
93
108
|
}
|
|
94
109
|
}
|
|
95
|
-
BaseGoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
96
|
-
BaseGoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
110
|
+
BaseGoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGoService, deps: [{ token: i1.ActivatedRoute }, { token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
111
|
+
BaseGoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGoService });
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGoService, decorators: [{
|
|
98
113
|
type: Injectable
|
|
99
114
|
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i1.Router }]; } });
|
|
100
115
|
|
|
@@ -113,7 +128,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
113
128
|
Version:
|
|
114
129
|
1.0
|
|
115
130
|
|
|
116
|
-
Copyright (c) 2016-
|
|
131
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
117
132
|
</file>
|
|
118
133
|
*/
|
|
119
134
|
function throwIfAlreadyLoaded(parentModule, moduleName) {
|
|
@@ -137,7 +152,7 @@ function throwIfAlreadyLoaded(parentModule, moduleName) {
|
|
|
137
152
|
Version:
|
|
138
153
|
1.0
|
|
139
154
|
|
|
140
|
-
Copyright (c) 2016-
|
|
155
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
141
156
|
</file>
|
|
142
157
|
*/
|
|
143
158
|
class LoadingService extends BehaviorSubject {
|
|
@@ -179,9 +194,9 @@ class LoadingService extends BehaviorSubject {
|
|
|
179
194
|
this.counter = 0;
|
|
180
195
|
}
|
|
181
196
|
}
|
|
182
|
-
LoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
183
|
-
LoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
197
|
+
LoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
198
|
+
LoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingService, providedIn: "root" });
|
|
199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingService, decorators: [{
|
|
185
200
|
type: Injectable,
|
|
186
201
|
args: [{
|
|
187
202
|
providedIn: "root",
|
|
@@ -203,7 +218,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
203
218
|
Version:
|
|
204
219
|
1.0
|
|
205
220
|
|
|
206
|
-
Copyright (c) 2016-
|
|
221
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
207
222
|
</file>
|
|
208
223
|
*/
|
|
209
224
|
class LoggingService {
|
|
@@ -215,9 +230,9 @@ class LoggingService {
|
|
|
215
230
|
console.info(info);
|
|
216
231
|
}
|
|
217
232
|
}
|
|
218
|
-
LoggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
219
|
-
LoggingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
233
|
+
LoggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoggingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
234
|
+
LoggingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoggingService, providedIn: "root" });
|
|
235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoggingService, decorators: [{
|
|
221
236
|
type: Injectable,
|
|
222
237
|
args: [{
|
|
223
238
|
providedIn: "root",
|
|
@@ -239,7 +254,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
239
254
|
Version:
|
|
240
255
|
1.0
|
|
241
256
|
|
|
242
|
-
Copyright (c) 2016-
|
|
257
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
243
258
|
</file>
|
|
244
259
|
*/
|
|
245
260
|
class AnatolyHttpInterceptor {
|
|
@@ -316,9 +331,9 @@ class AnatolyHttpInterceptor {
|
|
|
316
331
|
}
|
|
317
332
|
}
|
|
318
333
|
}
|
|
319
|
-
AnatolyHttpInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
320
|
-
AnatolyHttpInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
334
|
+
AnatolyHttpInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyHttpInterceptor, deps: [{ token: LoadingService }, { token: LoggingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
335
|
+
AnatolyHttpInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyHttpInterceptor });
|
|
336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyHttpInterceptor, decorators: [{
|
|
322
337
|
type: Injectable
|
|
323
338
|
}], ctorParameters: function () { return [{ type: LoadingService }, { type: LoggingService }]; } });
|
|
324
339
|
|
|
@@ -334,7 +349,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
334
349
|
Created:
|
|
335
350
|
29 June 2020
|
|
336
351
|
|
|
337
|
-
Copyright (c) 2016-
|
|
352
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
338
353
|
</file>
|
|
339
354
|
*/
|
|
340
355
|
class Convert {
|
|
@@ -399,7 +414,7 @@ class Convert {
|
|
|
399
414
|
Version:
|
|
400
415
|
1.0
|
|
401
416
|
|
|
402
|
-
Copyright (c) 2016-
|
|
417
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
403
418
|
</file>
|
|
404
419
|
*/
|
|
405
420
|
class LocalizationService {
|
|
@@ -549,9 +564,9 @@ class LocalizationService {
|
|
|
549
564
|
return result;
|
|
550
565
|
}
|
|
551
566
|
}
|
|
552
|
-
LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
553
|
-
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
567
|
+
LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationService, deps: [{ token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
568
|
+
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationService, providedIn: 'root' });
|
|
569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationService, decorators: [{
|
|
555
570
|
type: Injectable,
|
|
556
571
|
args: [{
|
|
557
572
|
providedIn: 'root'
|
|
@@ -573,7 +588,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
573
588
|
Version:
|
|
574
589
|
1.0
|
|
575
590
|
|
|
576
|
-
Copyright (c) 2016-
|
|
591
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
577
592
|
</file>
|
|
578
593
|
*/
|
|
579
594
|
class LocalizePipe {
|
|
@@ -623,9 +638,9 @@ class LocalizePipe {
|
|
|
623
638
|
return inputData;
|
|
624
639
|
}
|
|
625
640
|
}
|
|
626
|
-
LocalizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
627
|
-
LocalizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.
|
|
628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
641
|
+
LocalizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizePipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
642
|
+
LocalizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: LocalizePipe, name: "localize" });
|
|
643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizePipe, decorators: [{
|
|
629
644
|
type: Pipe,
|
|
630
645
|
args: [{
|
|
631
646
|
name: 'localize'
|
|
@@ -647,7 +662,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
647
662
|
Version:
|
|
648
663
|
1.0
|
|
649
664
|
|
|
650
|
-
Copyright (c) 2016-
|
|
665
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
651
666
|
</file>
|
|
652
667
|
*/
|
|
653
668
|
function customTranslateLoaderFactory(http) {
|
|
@@ -681,9 +696,9 @@ class LocalizationSettingsModule {
|
|
|
681
696
|
LocalizationInjectorInstance = this.injector;
|
|
682
697
|
}
|
|
683
698
|
}
|
|
684
|
-
LocalizationSettingsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
685
|
-
LocalizationSettingsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
686
|
-
LocalizationSettingsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.
|
|
699
|
+
LocalizationSettingsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationSettingsModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
700
|
+
LocalizationSettingsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: LocalizationSettingsModule, imports: [i1$1.TranslateModule] });
|
|
701
|
+
LocalizationSettingsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationSettingsModule, providers: [
|
|
687
702
|
{
|
|
688
703
|
provide: APP_INITIALIZER,
|
|
689
704
|
useFactory: localizationInitializerFactory,
|
|
@@ -691,7 +706,7 @@ LocalizationSettingsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.
|
|
|
691
706
|
multi: true
|
|
692
707
|
}
|
|
693
708
|
], imports: [TranslateModuleAtRoot] });
|
|
694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationSettingsModule, decorators: [{
|
|
695
710
|
type: NgModule,
|
|
696
711
|
args: [{
|
|
697
712
|
imports: [
|
|
@@ -724,16 +739,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
724
739
|
Version:
|
|
725
740
|
1.0
|
|
726
741
|
|
|
727
|
-
Copyright (c) 2016-
|
|
742
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
728
743
|
</file>
|
|
729
744
|
*/
|
|
730
745
|
class LocalizationModule {
|
|
731
746
|
}
|
|
732
|
-
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
733
|
-
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
747
|
+
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
748
|
+
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: LocalizationModule, declarations: [LocalizePipe], imports: [TranslateModule], exports: [TranslateModule,
|
|
734
749
|
LocalizePipe] });
|
|
735
|
-
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.
|
|
736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
750
|
+
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationModule, imports: [TranslateModule, TranslateModule] });
|
|
751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationModule, decorators: [{
|
|
737
752
|
type: NgModule,
|
|
738
753
|
args: [{
|
|
739
754
|
imports: [
|
|
@@ -765,7 +780,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
765
780
|
Version:
|
|
766
781
|
1.0
|
|
767
782
|
|
|
768
|
-
Copyright (c) 2016-
|
|
783
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
769
784
|
</file>
|
|
770
785
|
*/
|
|
771
786
|
class GlobalErrorHandler {
|
|
@@ -779,9 +794,9 @@ class GlobalErrorHandler {
|
|
|
779
794
|
throw error;
|
|
780
795
|
}
|
|
781
796
|
}
|
|
782
|
-
GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
783
|
-
GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
797
|
+
GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
798
|
+
GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GlobalErrorHandler });
|
|
799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
785
800
|
type: Injectable
|
|
786
801
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
787
802
|
|
|
@@ -800,7 +815,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
800
815
|
Version:
|
|
801
816
|
1.0
|
|
802
817
|
|
|
803
|
-
Copyright (c) 2016-
|
|
818
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
804
819
|
</file>
|
|
805
820
|
*/
|
|
806
821
|
class L10nUtils {
|
|
@@ -842,7 +857,7 @@ class L10nUtils {
|
|
|
842
857
|
Version:
|
|
843
858
|
1.0
|
|
844
859
|
|
|
845
|
-
Copyright (c) 2016-
|
|
860
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
846
861
|
</file>
|
|
847
862
|
*/
|
|
848
863
|
class Alerts {
|
|
@@ -946,7 +961,7 @@ class Alerts {
|
|
|
946
961
|
Created:
|
|
947
962
|
26 Jun 2020
|
|
948
963
|
|
|
949
|
-
Copyright (c) 2016-
|
|
964
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
950
965
|
</file>
|
|
951
966
|
*/
|
|
952
967
|
class Guid {
|
|
@@ -970,7 +985,7 @@ class Guid {
|
|
|
970
985
|
Version:
|
|
971
986
|
1.0
|
|
972
987
|
|
|
973
|
-
Copyright (c) 2016-
|
|
988
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
974
989
|
</file>
|
|
975
990
|
*/
|
|
976
991
|
// SignalR
|
|
@@ -1167,9 +1182,9 @@ class NotificationService {
|
|
|
1167
1182
|
this._serverNotifications.next(val);
|
|
1168
1183
|
}
|
|
1169
1184
|
}
|
|
1170
|
-
NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1171
|
-
NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1185
|
+
NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationService, deps: [{ token: i1$2.ToastrService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1186
|
+
NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationService, providedIn: 'root' });
|
|
1187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationService, decorators: [{
|
|
1173
1188
|
type: Injectable,
|
|
1174
1189
|
args: [{ providedIn: 'root' }]
|
|
1175
1190
|
}], ctorParameters: function () { return [{ type: i1$2.ToastrService }]; } });
|
|
@@ -1189,7 +1204,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1189
1204
|
Version:
|
|
1190
1205
|
1.0
|
|
1191
1206
|
|
|
1192
|
-
Copyright (c) 2016-
|
|
1207
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1193
1208
|
</file>
|
|
1194
1209
|
*/
|
|
1195
1210
|
class BaseApiService {
|
|
@@ -1250,9 +1265,9 @@ class BaseApiService {
|
|
|
1250
1265
|
return this.http.get(url).pipe(map(res => res));
|
|
1251
1266
|
}
|
|
1252
1267
|
}
|
|
1253
|
-
BaseApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1254
|
-
BaseApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1268
|
+
BaseApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseApiService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1269
|
+
BaseApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseApiService });
|
|
1270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseApiService, decorators: [{
|
|
1256
1271
|
type: Injectable
|
|
1257
1272
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1258
1273
|
|
|
@@ -1271,7 +1286,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1271
1286
|
Version:
|
|
1272
1287
|
1.0
|
|
1273
1288
|
|
|
1274
|
-
Copyright (c) 2016-
|
|
1289
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1275
1290
|
</file>
|
|
1276
1291
|
*/
|
|
1277
1292
|
class WebStorageService {
|
|
@@ -1306,9 +1321,9 @@ class LocalStorageService extends WebStorageService {
|
|
|
1306
1321
|
super('localStorage');
|
|
1307
1322
|
}
|
|
1308
1323
|
}
|
|
1309
|
-
LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1310
|
-
LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1324
|
+
LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1325
|
+
LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalStorageService });
|
|
1326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
1312
1327
|
type: Injectable
|
|
1313
1328
|
}], ctorParameters: function () { return []; } });
|
|
1314
1329
|
class SessionStorageService extends WebStorageService {
|
|
@@ -1316,9 +1331,9 @@ class SessionStorageService extends WebStorageService {
|
|
|
1316
1331
|
super('sessionStorage');
|
|
1317
1332
|
}
|
|
1318
1333
|
}
|
|
1319
|
-
SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1320
|
-
SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1334
|
+
SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SessionStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1335
|
+
SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SessionStorageService });
|
|
1336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
1322
1337
|
type: Injectable
|
|
1323
1338
|
}], ctorParameters: function () { return []; } });
|
|
1324
1339
|
|
|
@@ -1334,7 +1349,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1334
1349
|
Created:
|
|
1335
1350
|
13 Nov 2017
|
|
1336
1351
|
|
|
1337
|
-
Copyright (c) 2016-
|
|
1352
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1338
1353
|
</file>
|
|
1339
1354
|
*/
|
|
1340
1355
|
class AppContextService extends BaseApiService {
|
|
@@ -1426,9 +1441,9 @@ class AppContextService extends BaseApiService {
|
|
|
1426
1441
|
this.setCurrentFromSession(value);
|
|
1427
1442
|
}
|
|
1428
1443
|
}
|
|
1429
|
-
AppContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1430
|
-
AppContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1444
|
+
AppContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AppContextService, deps: [{ token: i1$3.HttpClient }, { token: SessionStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1445
|
+
AppContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AppContextService });
|
|
1446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AppContextService, decorators: [{
|
|
1432
1447
|
type: Injectable
|
|
1433
1448
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }, { type: SessionStorageService }]; } });
|
|
1434
1449
|
|
|
@@ -1447,7 +1462,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1447
1462
|
Version:
|
|
1448
1463
|
1.0
|
|
1449
1464
|
|
|
1450
|
-
Copyright (c) 2016-
|
|
1465
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1451
1466
|
</file>
|
|
1452
1467
|
*/
|
|
1453
1468
|
class IdleService {
|
|
@@ -1494,9 +1509,9 @@ class IdleService {
|
|
|
1494
1509
|
this.startTimer();
|
|
1495
1510
|
}
|
|
1496
1511
|
}
|
|
1497
|
-
IdleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1498
|
-
IdleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1512
|
+
IdleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: IdleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1513
|
+
IdleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: IdleService, providedIn: 'root' });
|
|
1514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: IdleService, decorators: [{
|
|
1500
1515
|
type: Injectable,
|
|
1501
1516
|
args: [{
|
|
1502
1517
|
providedIn: 'root'
|
|
@@ -1518,7 +1533,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1518
1533
|
Version:
|
|
1519
1534
|
1.0
|
|
1520
1535
|
|
|
1521
|
-
Copyright (c) 2016-
|
|
1536
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1522
1537
|
</file>
|
|
1523
1538
|
*/
|
|
1524
1539
|
class DigitalMarketingService {
|
|
@@ -1558,9 +1573,9 @@ class DigitalMarketingService {
|
|
|
1558
1573
|
link.setAttribute('href', canUrl);
|
|
1559
1574
|
}
|
|
1560
1575
|
}
|
|
1561
|
-
DigitalMarketingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1562
|
-
DigitalMarketingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1576
|
+
DigitalMarketingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: DigitalMarketingService, deps: [{ token: i1$4.Title }, { token: i1$4.Meta }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1577
|
+
DigitalMarketingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: DigitalMarketingService, providedIn: 'root' });
|
|
1578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: DigitalMarketingService, decorators: [{
|
|
1564
1579
|
type: Injectable,
|
|
1565
1580
|
args: [{
|
|
1566
1581
|
providedIn: 'root'
|
|
@@ -1587,7 +1602,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1587
1602
|
Version:
|
|
1588
1603
|
1.0
|
|
1589
1604
|
|
|
1590
|
-
Copyright (c) 2016-
|
|
1605
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1591
1606
|
</file>
|
|
1592
1607
|
*/
|
|
1593
1608
|
class GoogleAnalyticsService {
|
|
@@ -1615,71 +1630,12 @@ class GoogleAnalyticsService {
|
|
|
1615
1630
|
}
|
|
1616
1631
|
}
|
|
1617
1632
|
}
|
|
1618
|
-
GoogleAnalyticsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1619
|
-
GoogleAnalyticsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1633
|
+
GoogleAnalyticsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GoogleAnalyticsService, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1634
|
+
GoogleAnalyticsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GoogleAnalyticsService });
|
|
1635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GoogleAnalyticsService, decorators: [{
|
|
1621
1636
|
type: Injectable
|
|
1622
1637
|
}], ctorParameters: function () { return [{ type: i1.Router }]; } });
|
|
1623
1638
|
|
|
1624
|
-
/*
|
|
1625
|
-
<file>
|
|
1626
|
-
Project:
|
|
1627
|
-
@osovitny/anatoly
|
|
1628
|
-
|
|
1629
|
-
Authors:
|
|
1630
|
-
Vadim Osovitny
|
|
1631
|
-
Anatoly Osovitny
|
|
1632
|
-
|
|
1633
|
-
Created:
|
|
1634
|
-
29 June 2020
|
|
1635
|
-
|
|
1636
|
-
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1637
|
-
</file>
|
|
1638
|
-
*/
|
|
1639
|
-
let InjectorInstance;
|
|
1640
|
-
class AnatolyCoreModule {
|
|
1641
|
-
constructor(injector, parentModule) {
|
|
1642
|
-
this.injector = injector;
|
|
1643
|
-
throwIfAlreadyLoaded(parentModule, 'AnatolyCoreModule');
|
|
1644
|
-
InjectorInstance = this.injector;
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
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
|
-
} });
|
|
1682
|
-
|
|
1683
1639
|
/*
|
|
1684
1640
|
<file>
|
|
1685
1641
|
Project:
|
|
@@ -1692,7 +1648,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1692
1648
|
Created:
|
|
1693
1649
|
26 Jun 2020
|
|
1694
1650
|
|
|
1695
|
-
Copyright (c) 2016-
|
|
1651
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1696
1652
|
</file>
|
|
1697
1653
|
*/
|
|
1698
1654
|
class Subs {
|
|
@@ -1723,7 +1679,7 @@ class Subs {
|
|
|
1723
1679
|
Created:
|
|
1724
1680
|
19 March 2020
|
|
1725
1681
|
|
|
1726
|
-
Copyright (c) 2016-
|
|
1682
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1727
1683
|
</file>
|
|
1728
1684
|
*/
|
|
1729
1685
|
class Utils {
|
|
@@ -1808,7 +1764,7 @@ class Utils {
|
|
|
1808
1764
|
Version:
|
|
1809
1765
|
1.0
|
|
1810
1766
|
|
|
1811
|
-
Copyright (c) 2016-
|
|
1767
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1812
1768
|
</file>
|
|
1813
1769
|
*/
|
|
1814
1770
|
class BaseGridReadService extends BehaviorSubject {
|
|
@@ -1842,9 +1798,9 @@ class BaseGridReadService extends BehaviorSubject {
|
|
|
1842
1798
|
});
|
|
1843
1799
|
}
|
|
1844
1800
|
}
|
|
1845
|
-
BaseGridReadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1846
|
-
BaseGridReadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1847
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1801
|
+
BaseGridReadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridReadService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1802
|
+
BaseGridReadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridReadService });
|
|
1803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridReadService, decorators: [{
|
|
1848
1804
|
type: Injectable
|
|
1849
1805
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1850
1806
|
|
|
@@ -1863,7 +1819,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1863
1819
|
Version:
|
|
1864
1820
|
1.0
|
|
1865
1821
|
|
|
1866
|
-
Copyright (c) 2016-
|
|
1822
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1867
1823
|
</file>
|
|
1868
1824
|
*/
|
|
1869
1825
|
class BaseGridEditService extends BaseGridReadService {
|
|
@@ -1912,9 +1868,9 @@ class BaseGridEditService extends BaseGridReadService {
|
|
|
1912
1868
|
return this.http.post(url, data).pipe(map(res => res));
|
|
1913
1869
|
}
|
|
1914
1870
|
}
|
|
1915
|
-
BaseGridEditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1916
|
-
BaseGridEditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1871
|
+
BaseGridEditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridEditService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1872
|
+
BaseGridEditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridEditService });
|
|
1873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridEditService, decorators: [{
|
|
1918
1874
|
type: Injectable
|
|
1919
1875
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1920
1876
|
|
|
@@ -1933,7 +1889,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1933
1889
|
Version:
|
|
1934
1890
|
1.0
|
|
1935
1891
|
|
|
1936
|
-
Copyright (c) 2016-
|
|
1892
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1937
1893
|
</file>
|
|
1938
1894
|
*/
|
|
1939
1895
|
const consts = {
|
|
@@ -1957,7 +1913,7 @@ const consts = {
|
|
|
1957
1913
|
Version:
|
|
1958
1914
|
1.0
|
|
1959
1915
|
|
|
1960
|
-
Copyright (c) 2016-
|
|
1916
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1961
1917
|
</file>
|
|
1962
1918
|
*/
|
|
1963
1919
|
class NotificationsApiService extends BaseApiService {
|
|
@@ -1970,9 +1926,9 @@ class NotificationsApiService extends BaseApiService {
|
|
|
1970
1926
|
return this.get('retrieveNotifications');
|
|
1971
1927
|
}
|
|
1972
1928
|
}
|
|
1973
|
-
NotificationsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1974
|
-
NotificationsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1929
|
+
NotificationsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationsApiService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1930
|
+
NotificationsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationsApiService, providedIn: 'root' });
|
|
1931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationsApiService, decorators: [{
|
|
1976
1932
|
type: Injectable,
|
|
1977
1933
|
args: [{
|
|
1978
1934
|
providedIn: 'root'
|
|
@@ -1994,7 +1950,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1994
1950
|
Version:
|
|
1995
1951
|
1.0
|
|
1996
1952
|
|
|
1997
|
-
Copyright (c) 2016-
|
|
1953
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1998
1954
|
</file>
|
|
1999
1955
|
*/
|
|
2000
1956
|
class BillingApiService extends BaseApiService {
|
|
@@ -2031,58 +1987,12 @@ class BillingApiService extends BaseApiService {
|
|
|
2031
1987
|
});
|
|
2032
1988
|
}
|
|
2033
1989
|
}
|
|
2034
|
-
BillingApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2035
|
-
BillingApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
2036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1990
|
+
BillingApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BillingApiService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1991
|
+
BillingApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BillingApiService });
|
|
1992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BillingApiService, decorators: [{
|
|
2037
1993
|
type: Injectable
|
|
2038
1994
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
2039
1995
|
|
|
2040
|
-
/*
|
|
2041
|
-
<file>
|
|
2042
|
-
Project:
|
|
2043
|
-
@osovitny/anatoly
|
|
2044
|
-
|
|
2045
|
-
Authors:
|
|
2046
|
-
Vadim Osovitny
|
|
2047
|
-
Anatoly Osovitny
|
|
2048
|
-
|
|
2049
|
-
Created:
|
|
2050
|
-
4 Mar 2020
|
|
2051
|
-
|
|
2052
|
-
Version:
|
|
2053
|
-
1.0
|
|
2054
|
-
|
|
2055
|
-
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2056
|
-
</file>
|
|
2057
|
-
*/
|
|
2058
|
-
class AnatolyDataModule {
|
|
2059
|
-
constructor(parentModule) {
|
|
2060
|
-
throwIfAlreadyLoaded(parentModule, 'AnatolyDataModule');
|
|
2061
|
-
}
|
|
2062
|
-
}
|
|
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
|
-
} });
|
|
2085
|
-
|
|
2086
1996
|
/*
|
|
2087
1997
|
<file>
|
|
2088
1998
|
Project:
|
|
@@ -2098,15 +2008,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2098
2008
|
Version:
|
|
2099
2009
|
1.0
|
|
2100
2010
|
|
|
2101
|
-
Copyright (c) 2016-
|
|
2011
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2102
2012
|
</file>
|
|
2103
2013
|
*/
|
|
2104
2014
|
class BaseComponent {
|
|
2105
2015
|
constructor() {
|
|
2106
|
-
this.subs = new Subs();
|
|
2016
|
+
this.subs = new Subs$1();
|
|
2107
2017
|
}
|
|
2108
2018
|
getQSId() {
|
|
2109
|
-
var id = Utils.getValueByNameInQS("id");
|
|
2019
|
+
var id = Utils$1.getValueByNameInQS("id");
|
|
2110
2020
|
if (typeof id === "undefined" || id == "")
|
|
2111
2021
|
return null;
|
|
2112
2022
|
return id;
|
|
@@ -2115,9 +2025,9 @@ class BaseComponent {
|
|
|
2115
2025
|
this.subs.unsubscribe();
|
|
2116
2026
|
}
|
|
2117
2027
|
}
|
|
2118
|
-
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2119
|
-
BaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2028
|
+
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2029
|
+
BaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true });
|
|
2030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseComponent, decorators: [{
|
|
2121
2031
|
type: Component,
|
|
2122
2032
|
args: [{
|
|
2123
2033
|
template: ''
|
|
@@ -2139,7 +2049,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2139
2049
|
Version:
|
|
2140
2050
|
1.0
|
|
2141
2051
|
|
|
2142
|
-
Copyright (c) 2016-
|
|
2052
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2143
2053
|
</file>
|
|
2144
2054
|
*/
|
|
2145
2055
|
class BaseEditComponent extends BaseComponent {
|
|
@@ -2148,7 +2058,7 @@ class BaseEditComponent extends BaseComponent {
|
|
|
2148
2058
|
this.formSubmitted = false;
|
|
2149
2059
|
}
|
|
2150
2060
|
isActionAdding() {
|
|
2151
|
-
var id = Utils.getValueByNameInQS("id");
|
|
2061
|
+
var id = Utils$1.getValueByNameInQS("id");
|
|
2152
2062
|
if (typeof id === "undefined" || id == "")
|
|
2153
2063
|
return true;
|
|
2154
2064
|
return false;
|
|
@@ -2249,9 +2159,9 @@ class BaseEditComponent extends BaseComponent {
|
|
|
2249
2159
|
return this.formGroup.controls;
|
|
2250
2160
|
}
|
|
2251
2161
|
}
|
|
2252
|
-
BaseEditComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2253
|
-
BaseEditComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2162
|
+
BaseEditComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2163
|
+
BaseEditComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseEditComponent, selector: "ng-component", inputs: { formGroup: "formGroup", formSubmitted: "formSubmitted" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseEditComponent, decorators: [{
|
|
2255
2165
|
type: Component,
|
|
2256
2166
|
args: [{
|
|
2257
2167
|
template: ''
|
|
@@ -2295,9 +2205,9 @@ class BaseDialog extends BaseEditComponent {
|
|
|
2295
2205
|
this._opened = false;
|
|
2296
2206
|
}
|
|
2297
2207
|
}
|
|
2298
|
-
BaseDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2299
|
-
BaseDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2208
|
+
BaseDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2209
|
+
BaseDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseDialog, selector: "ng-component", inputs: { opened: "opened" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseDialog, decorators: [{
|
|
2301
2211
|
type: Component,
|
|
2302
2212
|
args: [{
|
|
2303
2213
|
template: ''
|
|
@@ -2321,14 +2231,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2321
2231
|
Version:
|
|
2322
2232
|
1.0
|
|
2323
2233
|
|
|
2324
|
-
Copyright (c) 2016-
|
|
2234
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2325
2235
|
</file>
|
|
2326
2236
|
*/
|
|
2327
2237
|
class SignUpButtonComponent {
|
|
2328
2238
|
}
|
|
2329
|
-
SignUpButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2330
|
-
SignUpButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2239
|
+
SignUpButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignUpButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2240
|
+
SignUpButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: SignUpButtonComponent, selector: "anatoly-signup-button", inputs: { classbtn: "classbtn" }, ngImport: i0, template: "<a href=\"identity/signup\" class=\"{{classbtn}}\">Sign Up</a>\r\n" });
|
|
2241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignUpButtonComponent, decorators: [{
|
|
2332
2242
|
type: Component,
|
|
2333
2243
|
args: [{ selector: "anatoly-signup-button", template: "<a href=\"identity/signup\" class=\"{{classbtn}}\">Sign Up</a>\r\n" }]
|
|
2334
2244
|
}], propDecorators: { classbtn: [{
|
|
@@ -2347,7 +2257,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2347
2257
|
Created:
|
|
2348
2258
|
14 Aug 2018
|
|
2349
2259
|
|
|
2350
|
-
Copyright (c) 2016-
|
|
2260
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2351
2261
|
</file>
|
|
2352
2262
|
*/
|
|
2353
2263
|
class BuyAccessButtonComponent {
|
|
@@ -2376,21 +2286,21 @@ class BuyAccessButtonComponent {
|
|
|
2376
2286
|
onBuyPlan() {
|
|
2377
2287
|
const text = `Requested plan: ${this.plantitle} `;
|
|
2378
2288
|
const that = this;
|
|
2379
|
-
Alerts.areYouSure(text, 'Buying access', 'Confirm change', 'Cancel', () => {
|
|
2289
|
+
Alerts$1.areYouSure(text, 'Buying access', 'Confirm change', 'Cancel', () => {
|
|
2380
2290
|
that.api.buyAccess(that.plan, () => {
|
|
2381
|
-
Alerts.success('Access Granted', null, null, () => {
|
|
2291
|
+
Alerts$1.success('Access Granted', null, null, () => {
|
|
2382
2292
|
window.location.reload();
|
|
2383
2293
|
});
|
|
2384
2294
|
});
|
|
2385
2295
|
});
|
|
2386
2296
|
}
|
|
2387
2297
|
}
|
|
2388
|
-
BuyAccessButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2389
|
-
BuyAccessButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2298
|
+
BuyAccessButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BuyAccessButtonComponent, deps: [{ token: i1$5.AppContextService }, { token: i2.BillingApiService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2299
|
+
BuyAccessButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", 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$6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SignUpButtonComponent, selector: "anatoly-signup-button", inputs: ["classbtn"] }] });
|
|
2300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BuyAccessButtonComponent, decorators: [{
|
|
2391
2301
|
type: Component,
|
|
2392
2302
|
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: [{
|
|
2303
|
+
}], ctorParameters: function () { return [{ type: i1$5.AppContextService }, { type: i2.BillingApiService }]; }, propDecorators: { plan: [{
|
|
2394
2304
|
type: Input
|
|
2395
2305
|
}], plantitle: [{
|
|
2396
2306
|
type: Input
|
|
@@ -2411,10 +2321,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2411
2321
|
Version:
|
|
2412
2322
|
1.0
|
|
2413
2323
|
|
|
2414
|
-
Copyright (c) 2016-
|
|
2324
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2415
2325
|
</file>
|
|
2416
2326
|
*/
|
|
2417
|
-
// Services
|
|
2418
2327
|
class UpgradePlanButtonComponent {
|
|
2419
2328
|
constructor(api) {
|
|
2420
2329
|
this.api = api;
|
|
@@ -2422,21 +2331,21 @@ class UpgradePlanButtonComponent {
|
|
|
2422
2331
|
onUpgradePlan() {
|
|
2423
2332
|
const text = `Current plan: ${this.currentplantitle} New plan: ${this.requestedplantitle}`;
|
|
2424
2333
|
const that = this;
|
|
2425
|
-
Alerts.areYouSure(text, 'Change billing plan', 'Confirm change', 'Cancel', () => {
|
|
2334
|
+
Alerts$1.areYouSure(text, 'Change billing plan', 'Confirm change', 'Cancel', () => {
|
|
2426
2335
|
that.api.requestNewSubscription(that.requestedplan, () => {
|
|
2427
|
-
Alerts.success('Your request for changing plan has been sent.', null, null, () => {
|
|
2336
|
+
Alerts$1.success('Your request for changing plan has been sent.', null, null, () => {
|
|
2428
2337
|
window.location.reload();
|
|
2429
2338
|
});
|
|
2430
2339
|
});
|
|
2431
2340
|
});
|
|
2432
2341
|
}
|
|
2433
2342
|
}
|
|
2434
|
-
UpgradePlanButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2435
|
-
UpgradePlanButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2343
|
+
UpgradePlanButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: UpgradePlanButtonComponent, deps: [{ token: i2.BillingApiService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2344
|
+
UpgradePlanButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", 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" });
|
|
2345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: UpgradePlanButtonComponent, decorators: [{
|
|
2437
2346
|
type: Component,
|
|
2438
2347
|
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: [{
|
|
2348
|
+
}], ctorParameters: function () { return [{ type: i2.BillingApiService }]; }, propDecorators: { currentplantitle: [{
|
|
2440
2349
|
type: Input
|
|
2441
2350
|
}], requestedplan: [{
|
|
2442
2351
|
type: Input
|
|
@@ -2459,7 +2368,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2459
2368
|
Version:
|
|
2460
2369
|
1.0
|
|
2461
2370
|
|
|
2462
|
-
Copyright (c) 2016-
|
|
2371
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2463
2372
|
</file>
|
|
2464
2373
|
*/
|
|
2465
2374
|
class SubscribePlanButtonComponent {
|
|
@@ -2489,12 +2398,12 @@ class SubscribePlanButtonComponent {
|
|
|
2489
2398
|
});
|
|
2490
2399
|
}
|
|
2491
2400
|
}
|
|
2492
|
-
SubscribePlanButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2493
|
-
SubscribePlanButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2401
|
+
SubscribePlanButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SubscribePlanButtonComponent, deps: [{ token: i1$5.AppContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2402
|
+
SubscribePlanButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", 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$6.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"] }] });
|
|
2403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SubscribePlanButtonComponent, decorators: [{
|
|
2495
2404
|
type: Component,
|
|
2496
2405
|
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: [{
|
|
2406
|
+
}], ctorParameters: function () { return [{ type: i1$5.AppContextService }]; }, propDecorators: { plan: [{
|
|
2498
2407
|
type: Input
|
|
2499
2408
|
}], plantitle: [{
|
|
2500
2409
|
type: Input
|
|
@@ -2515,7 +2424,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2515
2424
|
Version:
|
|
2516
2425
|
1.0
|
|
2517
2426
|
|
|
2518
|
-
Copyright (c) 2016-
|
|
2427
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2519
2428
|
</file>
|
|
2520
2429
|
*/
|
|
2521
2430
|
class ContentHeaderComponent {
|
|
@@ -2525,9 +2434,9 @@ class ContentHeaderComponent {
|
|
|
2525
2434
|
}
|
|
2526
2435
|
}
|
|
2527
2436
|
}
|
|
2528
|
-
ContentHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2529
|
-
ContentHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2437
|
+
ContentHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContentHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2438
|
+
ContentHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", 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" });
|
|
2439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContentHeaderComponent, decorators: [{
|
|
2531
2440
|
type: Component,
|
|
2532
2441
|
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
2442
|
}], propDecorators: { title: [{
|
|
@@ -2549,7 +2458,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2549
2458
|
Version:
|
|
2550
2459
|
1.0
|
|
2551
2460
|
|
|
2552
|
-
Copyright (c) 2016-
|
|
2461
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2553
2462
|
</file>
|
|
2554
2463
|
*/
|
|
2555
2464
|
const DefaultEditorOptions = {
|
|
@@ -2638,7 +2547,7 @@ const DefaultEditorOptions = {
|
|
|
2638
2547
|
Version:
|
|
2639
2548
|
1.0
|
|
2640
2549
|
|
|
2641
|
-
Copyright (c) 2016-
|
|
2550
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2642
2551
|
</file>
|
|
2643
2552
|
*/
|
|
2644
2553
|
class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
@@ -2656,7 +2565,7 @@ class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
|
2656
2565
|
opt = JSON.parse(this.editorOptions);
|
|
2657
2566
|
}
|
|
2658
2567
|
let newOptions = $.extend({}, DefaultEditorOptions, opt);
|
|
2659
|
-
const key = AppCoreSettings.froalaEditorKey;
|
|
2568
|
+
const key = AppCoreSettings$1.froalaEditorKey;
|
|
2660
2569
|
if (key) {
|
|
2661
2570
|
newOptions = $.extend({}, newOptions, JSON.parse('{ "key": "' + key + '" }'));
|
|
2662
2571
|
}
|
|
@@ -2714,9 +2623,9 @@ class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
|
2714
2623
|
});
|
|
2715
2624
|
}
|
|
2716
2625
|
}
|
|
2717
|
-
BaseHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2718
|
-
BaseHtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2626
|
+
BaseHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseHtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2627
|
+
BaseHtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseHtmlEditorComponent, selector: "ng-component", inputs: { editorLabelText: "editorLabelText", editorOptions: "editorOptions" }, usesInheritance: true, ngImport: i0, template: "", isInline: true });
|
|
2628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseHtmlEditorComponent, decorators: [{
|
|
2720
2629
|
type: Component,
|
|
2721
2630
|
args: [{
|
|
2722
2631
|
template: "",
|
|
@@ -2742,7 +2651,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2742
2651
|
Version:
|
|
2743
2652
|
1.0
|
|
2744
2653
|
|
|
2745
|
-
Copyright (c) 2016-
|
|
2654
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2746
2655
|
</file>
|
|
2747
2656
|
*/
|
|
2748
2657
|
class NativeElementDirective {
|
|
@@ -2755,14 +2664,14 @@ class NativeElementDirective {
|
|
|
2755
2664
|
this.control.control.nativeElement = this.el.nativeElement;
|
|
2756
2665
|
}
|
|
2757
2666
|
}
|
|
2758
|
-
NativeElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2759
|
-
NativeElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.
|
|
2760
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2667
|
+
NativeElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NativeElementDirective, deps: [{ token: i0.ElementRef }, { token: i1$7.NgControl }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2668
|
+
NativeElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.6", type: NativeElementDirective, selector: "[formControl], [formControlName]", ngImport: i0 });
|
|
2669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NativeElementDirective, decorators: [{
|
|
2761
2670
|
type: Directive,
|
|
2762
2671
|
args: [{
|
|
2763
2672
|
selector: '[formControl], [formControlName]'
|
|
2764
2673
|
}]
|
|
2765
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type:
|
|
2674
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$7.NgControl }]; } });
|
|
2766
2675
|
|
|
2767
2676
|
/*
|
|
2768
2677
|
<file>
|
|
@@ -2779,7 +2688,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2779
2688
|
Version:
|
|
2780
2689
|
1.0
|
|
2781
2690
|
|
|
2782
|
-
Copyright (c) 2016-
|
|
2691
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2783
2692
|
</file>
|
|
2784
2693
|
*/
|
|
2785
2694
|
class ValidationSummaryComponent extends BaseEditComponent {
|
|
@@ -2879,9 +2788,9 @@ class ValidationSummaryComponent extends BaseEditComponent {
|
|
|
2879
2788
|
return title;
|
|
2880
2789
|
}
|
|
2881
2790
|
}
|
|
2882
|
-
ValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2883
|
-
ValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2791
|
+
ValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2792
|
+
ValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: ValidationSummaryComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "", isInline: true });
|
|
2793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ValidationSummaryComponent, decorators: [{
|
|
2885
2794
|
type: Component,
|
|
2886
2795
|
args: [{
|
|
2887
2796
|
template: "",
|
|
@@ -2903,7 +2812,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2903
2812
|
Version:
|
|
2904
2813
|
1.0
|
|
2905
2814
|
|
|
2906
|
-
Copyright (c) 2016-
|
|
2815
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2907
2816
|
</file>
|
|
2908
2817
|
*/
|
|
2909
2818
|
class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
@@ -2911,9 +2820,9 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
2911
2820
|
super();
|
|
2912
2821
|
}
|
|
2913
2822
|
}
|
|
2914
|
-
ItemValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2915
|
-
ItemValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2823
|
+
ItemValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ItemValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2824
|
+
ItemValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", 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$6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ItemValidationSummaryComponent, decorators: [{
|
|
2917
2826
|
type: Component,
|
|
2918
2827
|
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
2828
|
}], ctorParameters: function () { return []; }, propDecorators: { controlName: [{
|
|
@@ -2937,7 +2846,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2937
2846
|
Version:
|
|
2938
2847
|
1.0
|
|
2939
2848
|
|
|
2940
|
-
Copyright (c) 2016-
|
|
2849
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2941
2850
|
</file>
|
|
2942
2851
|
*/
|
|
2943
2852
|
class FormsHtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
@@ -2951,9 +2860,9 @@ class FormsHtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
|
2951
2860
|
});
|
|
2952
2861
|
}
|
|
2953
2862
|
}
|
|
2954
|
-
FormsHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2955
|
-
FormsHtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2956
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2863
|
+
FormsHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormsHtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2864
|
+
FormsHtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", 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$6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$7.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: i1$7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$7.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$7.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$8.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"] }] });
|
|
2865
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormsHtmlEditorComponent, decorators: [{
|
|
2957
2866
|
type: Component,
|
|
2958
2867
|
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
2868
|
}], ctorParameters: function () { return []; }, propDecorators: { editorFormKey: [{
|
|
@@ -2975,7 +2884,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2975
2884
|
Version:
|
|
2976
2885
|
1.0
|
|
2977
2886
|
|
|
2978
|
-
Copyright (c) 2016-
|
|
2887
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2979
2888
|
</file>
|
|
2980
2889
|
*/
|
|
2981
2890
|
class HtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
@@ -2999,9 +2908,9 @@ class HtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
|
2999
2908
|
return editor.html.get(false);
|
|
3000
2909
|
}
|
|
3001
2910
|
}
|
|
3002
|
-
HtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3003
|
-
HtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
3004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2911
|
+
HtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: HtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2912
|
+
HtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", 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$8.FroalaEditorDirective, selector: "[froalaEditor]", inputs: ["froalaEditor", "froalaModel"], outputs: ["froalaModelChange", "froalaInit"], exportAs: ["froalaEditor"] }] });
|
|
2913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: HtmlEditorComponent, decorators: [{
|
|
3005
2914
|
type: Component,
|
|
3006
2915
|
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
2916
|
}], ctorParameters: function () { return []; } });
|
|
@@ -3021,15 +2930,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3021
2930
|
Version:
|
|
3022
2931
|
1.0
|
|
3023
2932
|
|
|
3024
|
-
Copyright (c) 2016-
|
|
2933
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3025
2934
|
</file>
|
|
3026
2935
|
*/
|
|
3027
2936
|
class SignInButtonComponent {
|
|
3028
2937
|
constructor() { }
|
|
3029
2938
|
}
|
|
3030
|
-
SignInButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3031
|
-
SignInButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
3032
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2939
|
+
SignInButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignInButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2940
|
+
SignInButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: SignInButtonComponent, selector: "anatoly-signin-button", inputs: { classbtn: "classbtn" }, ngImport: i0, template: "<a href=\"identity/signIn\" class=\"{{classbtn}}\">Sign In</a>\r\n" });
|
|
2941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignInButtonComponent, decorators: [{
|
|
3033
2942
|
type: Component,
|
|
3034
2943
|
args: [{ selector: "anatoly-signin-button", template: "<a href=\"identity/signIn\" class=\"{{classbtn}}\">Sign In</a>\r\n" }]
|
|
3035
2944
|
}], ctorParameters: function () { return []; }, propDecorators: { classbtn: [{
|
|
@@ -3051,15 +2960,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3051
2960
|
Version:
|
|
3052
2961
|
1.0
|
|
3053
2962
|
|
|
3054
|
-
Copyright (c) 2016-
|
|
2963
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3055
2964
|
</file>
|
|
3056
2965
|
*/
|
|
3057
2966
|
class SignOutButtonComponent {
|
|
3058
2967
|
constructor() { }
|
|
3059
2968
|
}
|
|
3060
|
-
SignOutButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3061
|
-
SignOutButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
3062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2969
|
+
SignOutButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignOutButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2970
|
+
SignOutButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: SignOutButtonComponent, selector: "anatoly-signout-button", inputs: { classbtn: "classbtn" }, ngImport: i0, template: "<a href=\"identity/signOut\" class=\"{{classbtn}}\">Sign Out</a>\r\n" });
|
|
2971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignOutButtonComponent, decorators: [{
|
|
3063
2972
|
type: Component,
|
|
3064
2973
|
args: [{ selector: "anatoly-signout-button", template: "<a href=\"identity/signOut\" class=\"{{classbtn}}\">Sign Out</a>\r\n" }]
|
|
3065
2974
|
}], ctorParameters: function () { return []; }, propDecorators: { classbtn: [{
|
|
@@ -3081,14 +2990,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3081
2990
|
Version:
|
|
3082
2991
|
1.0
|
|
3083
2992
|
|
|
3084
|
-
Copyright (c) 2016-
|
|
2993
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3085
2994
|
</file>
|
|
3086
2995
|
*/
|
|
3087
2996
|
class LoadingComponent {
|
|
3088
2997
|
constructor(loadingService) {
|
|
3089
2998
|
this.loadingService = loadingService;
|
|
3090
2999
|
// Private
|
|
3091
|
-
this.subs = new Subs();
|
|
3000
|
+
this.subs = new Subs$1();
|
|
3092
3001
|
// Public
|
|
3093
3002
|
this.show = false;
|
|
3094
3003
|
}
|
|
@@ -3101,12 +3010,12 @@ class LoadingComponent {
|
|
|
3101
3010
|
this.subs.unsubscribe();
|
|
3102
3011
|
}
|
|
3103
3012
|
}
|
|
3104
|
-
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3105
|
-
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
3106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3013
|
+
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingComponent, deps: [{ token: i1$9.LoadingService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3014
|
+
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", 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$6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
3107
3016
|
type: Component,
|
|
3108
3017
|
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 }]; } });
|
|
3018
|
+
}], ctorParameters: function () { return [{ type: i1$9.LoadingService }]; } });
|
|
3110
3019
|
|
|
3111
3020
|
/*
|
|
3112
3021
|
<file>
|
|
@@ -3123,7 +3032,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3123
3032
|
Version:
|
|
3124
3033
|
1.0
|
|
3125
3034
|
|
|
3126
|
-
Copyright (c) 2016-
|
|
3035
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3127
3036
|
</file>
|
|
3128
3037
|
*/
|
|
3129
3038
|
const SpinnerSpinKit = {
|
|
@@ -3161,9 +3070,9 @@ class SpinnerComponent {
|
|
|
3161
3070
|
this.isSpinnerVisible = false;
|
|
3162
3071
|
}
|
|
3163
3072
|
}
|
|
3164
|
-
SpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3165
|
-
SpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
3166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3073
|
+
SpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SpinnerComponent, deps: [{ token: i1.Router }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
3074
|
+
SpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", 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$6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
3075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
3167
3076
|
type: Component,
|
|
3168
3077
|
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
3078
|
}], ctorParameters: function () {
|
|
@@ -3177,6 +3086,173 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3177
3086
|
type: Input
|
|
3178
3087
|
}] } });
|
|
3179
3088
|
|
|
3089
|
+
/*
|
|
3090
|
+
<file>
|
|
3091
|
+
Project:
|
|
3092
|
+
@osovitny/anatoly
|
|
3093
|
+
|
|
3094
|
+
Authors:
|
|
3095
|
+
Vadim Osovitny
|
|
3096
|
+
Anatoly Osovitny
|
|
3097
|
+
|
|
3098
|
+
Created:
|
|
3099
|
+
7 Dec 2017
|
|
3100
|
+
|
|
3101
|
+
Version:
|
|
3102
|
+
1.0
|
|
3103
|
+
|
|
3104
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3105
|
+
</file>
|
|
3106
|
+
*/
|
|
3107
|
+
class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
3108
|
+
constructor() {
|
|
3109
|
+
super();
|
|
3110
|
+
this.visible = false;
|
|
3111
|
+
this.customerrors = [];
|
|
3112
|
+
/*
|
|
3113
|
+
0 - only FormValidation messages
|
|
3114
|
+
1 - only Custom messages
|
|
3115
|
+
2 - all
|
|
3116
|
+
*/
|
|
3117
|
+
this.viewtype = 0;
|
|
3118
|
+
}
|
|
3119
|
+
getErrors() {
|
|
3120
|
+
if (this.viewtype == 1) {
|
|
3121
|
+
return this.customerrors;
|
|
3122
|
+
}
|
|
3123
|
+
let formValidationMessages = this.getFormValidationMessages();
|
|
3124
|
+
if (this.viewtype == 0) {
|
|
3125
|
+
return formValidationMessages;
|
|
3126
|
+
}
|
|
3127
|
+
var messages = [];
|
|
3128
|
+
if (formValidationMessages.length > 0) {
|
|
3129
|
+
messages.push(...formValidationMessages);
|
|
3130
|
+
}
|
|
3131
|
+
if (this.customerrors.length > 0) {
|
|
3132
|
+
messages.push(...this.customerrors);
|
|
3133
|
+
}
|
|
3134
|
+
return messages;
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
FormValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3138
|
+
FormValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", 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$6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormValidationSummaryComponent, decorators: [{
|
|
3140
|
+
type: Component,
|
|
3141
|
+
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" }]
|
|
3142
|
+
}], ctorParameters: function () { return []; }, propDecorators: { visible: [{
|
|
3143
|
+
type: Input
|
|
3144
|
+
}], customerrors: [{
|
|
3145
|
+
type: Input
|
|
3146
|
+
}], viewtype: [{
|
|
3147
|
+
type: Input
|
|
3148
|
+
}] } });
|
|
3149
|
+
|
|
3150
|
+
/*
|
|
3151
|
+
<file>
|
|
3152
|
+
Project:
|
|
3153
|
+
@osovitny/anatoly
|
|
3154
|
+
|
|
3155
|
+
Authors:
|
|
3156
|
+
Vadim Osovitny
|
|
3157
|
+
Anatoly Osovitny
|
|
3158
|
+
|
|
3159
|
+
Created:
|
|
3160
|
+
29 June 2020
|
|
3161
|
+
|
|
3162
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3163
|
+
</file>
|
|
3164
|
+
*/
|
|
3165
|
+
class ContactUsForm extends BaseEditComponent$1 {
|
|
3166
|
+
constructor(fb, appContext, api, notificationService) {
|
|
3167
|
+
super();
|
|
3168
|
+
this.fb = fb;
|
|
3169
|
+
this.appContext = appContext;
|
|
3170
|
+
this.api = api;
|
|
3171
|
+
this.notificationService = notificationService;
|
|
3172
|
+
this.isUserSignedIn = false;
|
|
3173
|
+
this.topicList = [
|
|
3174
|
+
{ value: 'Billing & Pricing' },
|
|
3175
|
+
{ value: 'Legal & Privacy' },
|
|
3176
|
+
{ value: 'Repor abuse' },
|
|
3177
|
+
{ value: 'Technical Support' },
|
|
3178
|
+
{ value: 'Other' }
|
|
3179
|
+
];
|
|
3180
|
+
//Inputs
|
|
3181
|
+
this.showActionButtons = true;
|
|
3182
|
+
//Outputs
|
|
3183
|
+
this.submit = new EventEmitter();
|
|
3184
|
+
}
|
|
3185
|
+
ngOnInit() {
|
|
3186
|
+
this.createFormGroup();
|
|
3187
|
+
this.init();
|
|
3188
|
+
}
|
|
3189
|
+
createFormGroup() {
|
|
3190
|
+
this.formGroup = this.fb.group({
|
|
3191
|
+
captcha: new FormControl(null, [Validators.required]),
|
|
3192
|
+
name: new FormControl('', [Validators.required]),
|
|
3193
|
+
email: new FormControl('', [Validators.required]),
|
|
3194
|
+
topic: new FormControl('', [Validators.required]),
|
|
3195
|
+
subject: new FormControl('', [Validators.required]),
|
|
3196
|
+
message: new FormControl('', [Validators.required])
|
|
3197
|
+
});
|
|
3198
|
+
}
|
|
3199
|
+
init() {
|
|
3200
|
+
this.appContext.getCurrent(context => {
|
|
3201
|
+
this.isUserSignedIn = context.isUserSignedIn;
|
|
3202
|
+
this.siteKey = context.reCaptchaSiteKey;
|
|
3203
|
+
this.selectedTopic = this.topicList[3].value;
|
|
3204
|
+
this.setFormValue('topic', this.selectedTopic);
|
|
3205
|
+
if (this.isUserSignedIn) {
|
|
3206
|
+
this.setFormValue('name', context.user.displayNameOrFullName);
|
|
3207
|
+
this.setFormValue('email', context.user.email);
|
|
3208
|
+
}
|
|
3209
|
+
}, false);
|
|
3210
|
+
}
|
|
3211
|
+
isValid() {
|
|
3212
|
+
return this.formGroup.valid;
|
|
3213
|
+
}
|
|
3214
|
+
contactUs() {
|
|
3215
|
+
this.formSubmitted = true;
|
|
3216
|
+
if (!this.isValid())
|
|
3217
|
+
return;
|
|
3218
|
+
const captcha = this.getFormValue('captcha');
|
|
3219
|
+
const name = this.getFormValue('name');
|
|
3220
|
+
const email = this.getFormValue('email');
|
|
3221
|
+
const topic = this.selectedTopic;
|
|
3222
|
+
const subject = this.getFormValue('subject');
|
|
3223
|
+
const message = this.getFormValue('message');
|
|
3224
|
+
this.api.sendContactUs(captcha, name, email, topic, subject, message, () => {
|
|
3225
|
+
this.formSubmitted = false;
|
|
3226
|
+
this.notificationService.success('Message has been sent successfully');
|
|
3227
|
+
this.formGroup.reset();
|
|
3228
|
+
this.recaptcha.resetCaptcha();
|
|
3229
|
+
this.submit.emit();
|
|
3230
|
+
}, () => {
|
|
3231
|
+
this.notificationService.error();
|
|
3232
|
+
});
|
|
3233
|
+
}
|
|
3234
|
+
//Events
|
|
3235
|
+
onSubmit() {
|
|
3236
|
+
this.contactUs();
|
|
3237
|
+
}
|
|
3238
|
+
onTopicChange(event) {
|
|
3239
|
+
this.selectedTopic = event.target.value;
|
|
3240
|
+
}
|
|
3241
|
+
}
|
|
3242
|
+
ContactUsForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContactUsForm, deps: [{ token: i1$7.FormBuilder }, { token: i2$1.AppContextService }, { token: i3.EmailsApiService }, { token: i4.NotificationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3243
|
+
ContactUsForm.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: ContactUsForm, selector: "anatoly-forms-contactus-form", inputs: { showActionButtons: "showActionButtons" }, outputs: { submit: "submit" }, viewQueries: [{ propertyName: "recaptcha", first: true, predicate: ["recaptcha"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<form (ngSubmit)='onSubmit()' [formGroup]='formGroup' novalidate>\r\n <anatoly-form-validation-summary [formGroup]='formGroup'\r\n [visible]='formSubmitted && formGroup.invalid'></anatoly-form-validation-summary>\r\n\r\n <div class='contact-us'>\r\n <div class=\"row\">\r\n <div class='form-fields col-6'>\r\n <p>What can we help you with?</p>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('topic') }\" class='form-topic'>\r\n <div class='form-select-wrapper'>\r\n <label class='assistive-text'>Topic *</label>\r\n <select (change)='onTopicChange($event)' class='form-select' formControlName='topic'>\r\n <option *ngFor='let topic of topicList' [value]='topic.value'>{{ topic.value }} </option>\r\n </select>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='topic'\r\n controlTitle='topic'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('name') }\" class='form-name'>\r\n <label class='assistive-text'>Name *</label>\r\n <input class='form-control' formControlName='name' placeholder='Name *' type='text'>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='name'\r\n controlTitle='name'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('email') }\" class='form-email'>\r\n <label class='assistive-text'>E-mail * </label>\r\n <input class='form-control' formControlName='email' placeholder='E-mail *' type='text' />\r\n <p *ngIf='!isUserSignedIn'>Please indicate the email used for your MailEx login if you already have an account</p>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='email'\r\n controlTitle='email'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('subject') }\" class='form-subject'>\r\n <label class='assistive-text'>Subject *</label>\r\n <input class='form-control' formControlName='subject' placeholder='Subject *' type='text' />\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='subject'\r\n controlTitle='subject'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n\r\n </div>\r\n <div class='col-6'>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('message') }\" class='form-message'>\r\n <label class='assistive-text'>Message *</label>\r\n <textarea formControlName='message' name='message' placeholder='Message *' rows='4'\r\n type='text'></textarea>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='message'\r\n controlTitle='message'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row form-footer\">\r\n <div class=\"col-6\">\r\n <div style='transform:scale(0.8);transform-origin:0;'>\r\n <ngx-recaptcha2 #recaptcha [siteKey]='siteKey' formControlName='captcha'></ngx-recaptcha2>\r\n </div>\r\n </div>\r\n <div class=\"col-6\">\r\n <button *ngIf='showActionButtons'\r\n [class.btn-primary]='!formGroup.invalid'\r\n class='btn btn-success float-right m-t-20'\r\n type='submit'>\r\n Submit\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n", dependencies: [{ kind: "directive", type: i1$6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$7.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$7.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$7.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$7.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: i1$7.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1$7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$7.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$7.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i6.ReCaptcha2Component, selector: "ngx-recaptcha2", inputs: ["theme", "size", "hl"] }, { kind: "directive", type: NativeElementDirective, selector: "[formControl], [formControlName]" }, { kind: "component", type: FormValidationSummaryComponent, selector: "anatoly-form-validation-summary", inputs: ["visible", "customerrors", "viewtype"] }, { kind: "component", type: ItemValidationSummaryComponent, selector: "anatoly-item-validation-summary", inputs: ["controlName", "controlTitle"] }] });
|
|
3244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContactUsForm, decorators: [{
|
|
3245
|
+
type: Component,
|
|
3246
|
+
args: [{ selector: 'anatoly-forms-contactus-form', template: "<form (ngSubmit)='onSubmit()' [formGroup]='formGroup' novalidate>\r\n <anatoly-form-validation-summary [formGroup]='formGroup'\r\n [visible]='formSubmitted && formGroup.invalid'></anatoly-form-validation-summary>\r\n\r\n <div class='contact-us'>\r\n <div class=\"row\">\r\n <div class='form-fields col-6'>\r\n <p>What can we help you with?</p>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('topic') }\" class='form-topic'>\r\n <div class='form-select-wrapper'>\r\n <label class='assistive-text'>Topic *</label>\r\n <select (change)='onTopicChange($event)' class='form-select' formControlName='topic'>\r\n <option *ngFor='let topic of topicList' [value]='topic.value'>{{ topic.value }} </option>\r\n </select>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='topic'\r\n controlTitle='topic'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('name') }\" class='form-name'>\r\n <label class='assistive-text'>Name *</label>\r\n <input class='form-control' formControlName='name' placeholder='Name *' type='text'>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='name'\r\n controlTitle='name'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('email') }\" class='form-email'>\r\n <label class='assistive-text'>E-mail * </label>\r\n <input class='form-control' formControlName='email' placeholder='E-mail *' type='text' />\r\n <p *ngIf='!isUserSignedIn'>Please indicate the email used for your MailEx login if you already have an account</p>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='email'\r\n controlTitle='email'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('subject') }\" class='form-subject'>\r\n <label class='assistive-text'>Subject *</label>\r\n <input class='form-control' formControlName='subject' placeholder='Subject *' type='text' />\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='subject'\r\n controlTitle='subject'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n\r\n </div>\r\n <div class='col-6'>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('message') }\" class='form-message'>\r\n <label class='assistive-text'>Message *</label>\r\n <textarea formControlName='message' name='message' placeholder='Message *' rows='4'\r\n type='text'></textarea>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='message'\r\n controlTitle='message'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row form-footer\">\r\n <div class=\"col-6\">\r\n <div style='transform:scale(0.8);transform-origin:0;'>\r\n <ngx-recaptcha2 #recaptcha [siteKey]='siteKey' formControlName='captcha'></ngx-recaptcha2>\r\n </div>\r\n </div>\r\n <div class=\"col-6\">\r\n <button *ngIf='showActionButtons'\r\n [class.btn-primary]='!formGroup.invalid'\r\n class='btn btn-success float-right m-t-20'\r\n type='submit'>\r\n Submit\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n" }]
|
|
3247
|
+
}], ctorParameters: function () { return [{ type: i1$7.FormBuilder }, { type: i2$1.AppContextService }, { type: i3.EmailsApiService }, { type: i4.NotificationService }]; }, propDecorators: { showActionButtons: [{
|
|
3248
|
+
type: Input
|
|
3249
|
+
}], submit: [{
|
|
3250
|
+
type: Output
|
|
3251
|
+
}], recaptcha: [{
|
|
3252
|
+
type: ViewChild,
|
|
3253
|
+
args: ['recaptcha']
|
|
3254
|
+
}] } });
|
|
3255
|
+
|
|
3180
3256
|
/*
|
|
3181
3257
|
<file>
|
|
3182
3258
|
Project:
|
|
@@ -3192,7 +3268,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3192
3268
|
Version:
|
|
3193
3269
|
1.0
|
|
3194
3270
|
|
|
3195
|
-
Copyright (c) 2016-
|
|
3271
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3196
3272
|
</file>
|
|
3197
3273
|
*/
|
|
3198
3274
|
class ReplaceTextPipe {
|
|
@@ -3205,9 +3281,9 @@ class ReplaceTextPipe {
|
|
|
3205
3281
|
}
|
|
3206
3282
|
}
|
|
3207
3283
|
}
|
|
3208
|
-
ReplaceTextPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3209
|
-
ReplaceTextPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.
|
|
3210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3284
|
+
ReplaceTextPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ReplaceTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3285
|
+
ReplaceTextPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: ReplaceTextPipe, name: "replaceText" });
|
|
3286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ReplaceTextPipe, decorators: [{
|
|
3211
3287
|
type: Pipe,
|
|
3212
3288
|
args: [{
|
|
3213
3289
|
name: "replaceText",
|
|
@@ -3229,7 +3305,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3229
3305
|
Version:
|
|
3230
3306
|
1.0
|
|
3231
3307
|
|
|
3232
|
-
Copyright (c) 2016-
|
|
3308
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3233
3309
|
</file>
|
|
3234
3310
|
*/
|
|
3235
3311
|
class FileSizePipe {
|
|
@@ -3247,9 +3323,9 @@ class FileSizePipe {
|
|
|
3247
3323
|
return bytes.toFixed(+precision) + ' ' + this.units[unit];
|
|
3248
3324
|
}
|
|
3249
3325
|
}
|
|
3250
|
-
FileSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3251
|
-
FileSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.
|
|
3252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3326
|
+
FileSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FileSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3327
|
+
FileSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: FileSizePipe, name: "filesize" });
|
|
3328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FileSizePipe, decorators: [{
|
|
3253
3329
|
type: Pipe,
|
|
3254
3330
|
args: [{
|
|
3255
3331
|
name: 'filesize',
|
|
@@ -3271,7 +3347,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3271
3347
|
Version:
|
|
3272
3348
|
1.0
|
|
3273
3349
|
|
|
3274
|
-
Copyright (c) 2016-
|
|
3350
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3275
3351
|
</file>
|
|
3276
3352
|
*/
|
|
3277
3353
|
class SafeHtmlPipe {
|
|
@@ -3282,9 +3358,9 @@ class SafeHtmlPipe {
|
|
|
3282
3358
|
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
3283
3359
|
}
|
|
3284
3360
|
}
|
|
3285
|
-
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3286
|
-
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.
|
|
3287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3361
|
+
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3362
|
+
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: SafeHtmlPipe, name: "safeHtml" });
|
|
3363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
3288
3364
|
type: Pipe,
|
|
3289
3365
|
args: [{ name: 'safeHtml' }]
|
|
3290
3366
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -3299,56 +3375,90 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3299
3375
|
Anatoly Osovitny
|
|
3300
3376
|
|
|
3301
3377
|
Created:
|
|
3302
|
-
|
|
3378
|
+
29 June 2020
|
|
3303
3379
|
|
|
3304
|
-
|
|
3305
|
-
|
|
3380
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3381
|
+
</file>
|
|
3382
|
+
*/
|
|
3383
|
+
let InjectorInstance;
|
|
3384
|
+
class AnatolyCoreModule {
|
|
3385
|
+
constructor(injector, parentModule) {
|
|
3386
|
+
this.injector = injector;
|
|
3387
|
+
throwIfAlreadyLoaded(parentModule, 'AnatolyCoreModule');
|
|
3388
|
+
InjectorInstance = this.injector;
|
|
3389
|
+
}
|
|
3390
|
+
}
|
|
3391
|
+
AnatolyCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyCoreModule, deps: [{ token: i0.Injector }, { token: AnatolyCoreModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3392
|
+
AnatolyCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: AnatolyCoreModule, imports: [CommonModule] });
|
|
3393
|
+
AnatolyCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyCoreModule, providers: [
|
|
3394
|
+
LoggingService,
|
|
3395
|
+
NotificationService,
|
|
3396
|
+
AppContextService,
|
|
3397
|
+
LoadingService,
|
|
3398
|
+
DigitalMarketingService,
|
|
3399
|
+
GoogleAnalyticsService,
|
|
3400
|
+
LocalStorageService,
|
|
3401
|
+
SessionStorageService
|
|
3402
|
+
], imports: [CommonModule] });
|
|
3403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyCoreModule, decorators: [{
|
|
3404
|
+
type: NgModule,
|
|
3405
|
+
args: [{
|
|
3406
|
+
imports: [CommonModule],
|
|
3407
|
+
exports: [],
|
|
3408
|
+
providers: [
|
|
3409
|
+
LoggingService,
|
|
3410
|
+
NotificationService,
|
|
3411
|
+
AppContextService,
|
|
3412
|
+
LoadingService,
|
|
3413
|
+
DigitalMarketingService,
|
|
3414
|
+
GoogleAnalyticsService,
|
|
3415
|
+
LocalStorageService,
|
|
3416
|
+
SessionStorageService
|
|
3417
|
+
],
|
|
3418
|
+
}]
|
|
3419
|
+
}], ctorParameters: function () {
|
|
3420
|
+
return [{ type: i0.Injector }, { type: AnatolyCoreModule, decorators: [{
|
|
3421
|
+
type: Optional
|
|
3422
|
+
}, {
|
|
3423
|
+
type: SkipSelf
|
|
3424
|
+
}] }];
|
|
3425
|
+
} });
|
|
3426
|
+
|
|
3427
|
+
/*
|
|
3428
|
+
<file>
|
|
3429
|
+
Project:
|
|
3430
|
+
@osovitny/anatoly
|
|
3306
3431
|
|
|
3307
|
-
|
|
3432
|
+
Authors:
|
|
3433
|
+
Vadim Osovitny
|
|
3434
|
+
Anatoly Osovitny
|
|
3435
|
+
|
|
3436
|
+
Created:
|
|
3437
|
+
16 Jun 2022
|
|
3438
|
+
|
|
3439
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3308
3440
|
</file>
|
|
3309
3441
|
*/
|
|
3310
|
-
class
|
|
3311
|
-
constructor() {
|
|
3312
|
-
super();
|
|
3313
|
-
this.
|
|
3314
|
-
this.customerrors = [];
|
|
3315
|
-
/*
|
|
3316
|
-
0 - only FormValidation messages
|
|
3317
|
-
1 - only Custom messages
|
|
3318
|
-
2 - all
|
|
3319
|
-
*/
|
|
3320
|
-
this.viewtype = 0;
|
|
3442
|
+
class EmailsApiService extends BaseApiService$1 {
|
|
3443
|
+
constructor(http) {
|
|
3444
|
+
super(http);
|
|
3445
|
+
this.http = http;
|
|
3321
3446
|
}
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
}
|
|
3330
|
-
var messages = [];
|
|
3331
|
-
if (formValidationMessages.length > 0) {
|
|
3332
|
-
messages.push(...formValidationMessages);
|
|
3333
|
-
}
|
|
3334
|
-
if (this.customerrors.length > 0) {
|
|
3335
|
-
messages.push(...this.customerrors);
|
|
3336
|
-
}
|
|
3337
|
-
return messages;
|
|
3447
|
+
sendContactUs(captcha, name, email, topic, subject, message, success, error) {
|
|
3448
|
+
return this.post('sendContactUs', { captcha, name, email, topic, subject, message }).subscribe(data => {
|
|
3449
|
+
if (success)
|
|
3450
|
+
success(data);
|
|
3451
|
+
}, e => {
|
|
3452
|
+
if (error)
|
|
3453
|
+
error(e);
|
|
3454
|
+
});
|
|
3338
3455
|
}
|
|
3339
3456
|
}
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3343
|
-
type:
|
|
3344
|
-
|
|
3345
|
-
}], ctorParameters: function () { return []; }, propDecorators: { visible: [{
|
|
3346
|
-
type: Input
|
|
3347
|
-
}], customerrors: [{
|
|
3348
|
-
type: Input
|
|
3349
|
-
}], viewtype: [{
|
|
3350
|
-
type: Input
|
|
3351
|
-
}] } });
|
|
3457
|
+
EmailsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: EmailsApiService, deps: [{ token: i1$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3458
|
+
EmailsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: EmailsApiService });
|
|
3459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: EmailsApiService, decorators: [{
|
|
3460
|
+
type: Injectable
|
|
3461
|
+
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
3352
3462
|
|
|
3353
3463
|
/*
|
|
3354
3464
|
<file>
|
|
@@ -3360,20 +3470,62 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3360
3470
|
Anatoly Osovitny
|
|
3361
3471
|
|
|
3362
3472
|
Created:
|
|
3363
|
-
|
|
3473
|
+
4 Mar 2020
|
|
3364
3474
|
|
|
3365
|
-
|
|
3366
|
-
|
|
3475
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3476
|
+
</file>
|
|
3477
|
+
*/
|
|
3478
|
+
class AnatolyDataModule {
|
|
3479
|
+
constructor(parentModule) {
|
|
3480
|
+
throwIfAlreadyLoaded$1(parentModule, 'AnatolyDataModule');
|
|
3481
|
+
}
|
|
3482
|
+
}
|
|
3483
|
+
AnatolyDataModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyDataModule, deps: [{ token: AnatolyDataModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3484
|
+
AnatolyDataModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: AnatolyDataModule, imports: [CommonModule] });
|
|
3485
|
+
AnatolyDataModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyDataModule, providers: [
|
|
3486
|
+
BillingApiService,
|
|
3487
|
+
EmailsApiService
|
|
3488
|
+
], imports: [CommonModule] });
|
|
3489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyDataModule, decorators: [{
|
|
3490
|
+
type: NgModule,
|
|
3491
|
+
args: [{
|
|
3492
|
+
imports: [
|
|
3493
|
+
CommonModule
|
|
3494
|
+
],
|
|
3495
|
+
providers: [
|
|
3496
|
+
BillingApiService,
|
|
3497
|
+
EmailsApiService
|
|
3498
|
+
]
|
|
3499
|
+
}]
|
|
3500
|
+
}], ctorParameters: function () {
|
|
3501
|
+
return [{ type: AnatolyDataModule, decorators: [{
|
|
3502
|
+
type: Optional
|
|
3503
|
+
}, {
|
|
3504
|
+
type: SkipSelf
|
|
3505
|
+
}] }];
|
|
3506
|
+
} });
|
|
3507
|
+
|
|
3508
|
+
/*
|
|
3509
|
+
<file>
|
|
3510
|
+
Project:
|
|
3511
|
+
@osovitny/anatoly
|
|
3367
3512
|
|
|
3368
|
-
|
|
3513
|
+
Authors:
|
|
3514
|
+
Vadim Osovitny
|
|
3515
|
+
Anatoly Osovitny
|
|
3516
|
+
|
|
3517
|
+
Created:
|
|
3518
|
+
26 Jun 2020
|
|
3519
|
+
|
|
3520
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3369
3521
|
</file>
|
|
3370
3522
|
*/
|
|
3371
3523
|
const FroalaEditorModuleWithProviders = FroalaEditorModule.forRoot();
|
|
3372
3524
|
const FroalaViewModuleWithProviders = FroalaViewModule.forRoot();
|
|
3373
3525
|
class AnatolyUIModule {
|
|
3374
3526
|
}
|
|
3375
|
-
AnatolyUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3376
|
-
AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
3527
|
+
AnatolyUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3528
|
+
AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, declarations: [SubscribePlanButtonComponent,
|
|
3377
3529
|
UpgradePlanButtonComponent,
|
|
3378
3530
|
BuyAccessButtonComponent,
|
|
3379
3531
|
SignInButtonComponent,
|
|
@@ -3382,19 +3534,22 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
3382
3534
|
ContentHeaderComponent,
|
|
3383
3535
|
SpinnerComponent,
|
|
3384
3536
|
LoadingComponent,
|
|
3385
|
-
NativeElementDirective,
|
|
3386
|
-
//Editor
|
|
3387
3537
|
HtmlEditorComponent,
|
|
3388
3538
|
FormsHtmlEditorComponent,
|
|
3389
|
-
//
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3539
|
+
//Directives
|
|
3540
|
+
NativeElementDirective,
|
|
3541
|
+
//Forms
|
|
3542
|
+
ContactUsForm,
|
|
3543
|
+
//Pipes
|
|
3393
3544
|
SafeHtmlPipe,
|
|
3394
3545
|
ReplaceTextPipe,
|
|
3395
|
-
FileSizePipe
|
|
3546
|
+
FileSizePipe,
|
|
3547
|
+
//Validation
|
|
3548
|
+
FormValidationSummaryComponent,
|
|
3549
|
+
ItemValidationSummaryComponent], imports: [CommonModule,
|
|
3396
3550
|
ReactiveFormsModule,
|
|
3397
|
-
FormsModule,
|
|
3551
|
+
FormsModule,
|
|
3552
|
+
NgxCaptchaModule, i1$8.FroalaEditorModule, i1$8.FroalaViewModule], exports: [SubscribePlanButtonComponent,
|
|
3398
3553
|
UpgradePlanButtonComponent,
|
|
3399
3554
|
BuyAccessButtonComponent,
|
|
3400
3555
|
SignInButtonComponent,
|
|
@@ -3403,29 +3558,33 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
3403
3558
|
ContentHeaderComponent,
|
|
3404
3559
|
SpinnerComponent,
|
|
3405
3560
|
LoadingComponent,
|
|
3406
|
-
NativeElementDirective,
|
|
3407
|
-
//Editor
|
|
3408
3561
|
HtmlEditorComponent,
|
|
3409
3562
|
FormsHtmlEditorComponent,
|
|
3410
|
-
//
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3563
|
+
//Directives
|
|
3564
|
+
NativeElementDirective,
|
|
3565
|
+
//Forms
|
|
3566
|
+
ContactUsForm,
|
|
3567
|
+
//Pipes
|
|
3414
3568
|
SafeHtmlPipe,
|
|
3415
3569
|
ReplaceTextPipe,
|
|
3416
|
-
FileSizePipe
|
|
3417
|
-
|
|
3570
|
+
FileSizePipe,
|
|
3571
|
+
//Validation
|
|
3572
|
+
FormValidationSummaryComponent,
|
|
3573
|
+
ItemValidationSummaryComponent] });
|
|
3574
|
+
AnatolyUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, imports: [CommonModule,
|
|
3418
3575
|
ReactiveFormsModule,
|
|
3419
3576
|
FormsModule,
|
|
3577
|
+
NgxCaptchaModule,
|
|
3420
3578
|
FroalaEditorModuleWithProviders,
|
|
3421
3579
|
FroalaViewModuleWithProviders] });
|
|
3422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, decorators: [{
|
|
3423
3581
|
type: NgModule,
|
|
3424
3582
|
args: [{
|
|
3425
3583
|
imports: [
|
|
3426
3584
|
CommonModule,
|
|
3427
3585
|
ReactiveFormsModule,
|
|
3428
3586
|
FormsModule,
|
|
3587
|
+
NgxCaptchaModule,
|
|
3429
3588
|
FroalaEditorModuleWithProviders,
|
|
3430
3589
|
FroalaViewModuleWithProviders,
|
|
3431
3590
|
],
|
|
@@ -3439,17 +3598,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3439
3598
|
ContentHeaderComponent,
|
|
3440
3599
|
SpinnerComponent,
|
|
3441
3600
|
LoadingComponent,
|
|
3442
|
-
NativeElementDirective,
|
|
3443
|
-
//Editor
|
|
3444
3601
|
HtmlEditorComponent,
|
|
3445
3602
|
FormsHtmlEditorComponent,
|
|
3446
|
-
//
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3603
|
+
//Directives
|
|
3604
|
+
NativeElementDirective,
|
|
3605
|
+
//Forms
|
|
3606
|
+
ContactUsForm,
|
|
3607
|
+
//Pipes
|
|
3450
3608
|
SafeHtmlPipe,
|
|
3451
3609
|
ReplaceTextPipe,
|
|
3452
3610
|
FileSizePipe,
|
|
3611
|
+
//Validation
|
|
3612
|
+
FormValidationSummaryComponent,
|
|
3613
|
+
ItemValidationSummaryComponent,
|
|
3453
3614
|
],
|
|
3454
3615
|
declarations: [
|
|
3455
3616
|
SubscribePlanButtonComponent,
|
|
@@ -3461,17 +3622,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3461
3622
|
ContentHeaderComponent,
|
|
3462
3623
|
SpinnerComponent,
|
|
3463
3624
|
LoadingComponent,
|
|
3464
|
-
NativeElementDirective,
|
|
3465
|
-
//Editor
|
|
3466
3625
|
HtmlEditorComponent,
|
|
3467
3626
|
FormsHtmlEditorComponent,
|
|
3468
|
-
//
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3627
|
+
//Directives
|
|
3628
|
+
NativeElementDirective,
|
|
3629
|
+
//Forms
|
|
3630
|
+
ContactUsForm,
|
|
3631
|
+
//Pipes
|
|
3472
3632
|
SafeHtmlPipe,
|
|
3473
3633
|
ReplaceTextPipe,
|
|
3474
3634
|
FileSizePipe,
|
|
3635
|
+
//Validation
|
|
3636
|
+
FormValidationSummaryComponent,
|
|
3637
|
+
ItemValidationSummaryComponent,
|
|
3475
3638
|
]
|
|
3476
3639
|
}]
|
|
3477
3640
|
}] });
|
|
@@ -3484,5 +3647,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3484
3647
|
* Generated bundle index. Do not edit.
|
|
3485
3648
|
*/
|
|
3486
3649
|
|
|
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 };
|
|
3650
|
+
export { Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BillingApiService, BuyAccessButtonComponent, ContactUsForm, 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 };
|
|
3488
3651
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|