@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 {
|
|
@@ -949,7 +964,7 @@ class Alerts {
|
|
|
949
964
|
Version:
|
|
950
965
|
1.0
|
|
951
966
|
|
|
952
|
-
Copyright (c) 2016-
|
|
967
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
953
968
|
</file>
|
|
954
969
|
*/
|
|
955
970
|
|
|
@@ -965,7 +980,7 @@ class Alerts {
|
|
|
965
980
|
Created:
|
|
966
981
|
26 Jun 2020
|
|
967
982
|
|
|
968
|
-
Copyright (c) 2016-
|
|
983
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
969
984
|
</file>
|
|
970
985
|
*/
|
|
971
986
|
class Guid {
|
|
@@ -989,7 +1004,7 @@ class Guid {
|
|
|
989
1004
|
Version:
|
|
990
1005
|
1.0
|
|
991
1006
|
|
|
992
|
-
Copyright (c) 2016-
|
|
1007
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
993
1008
|
</file>
|
|
994
1009
|
*/
|
|
995
1010
|
// SignalR
|
|
@@ -1186,9 +1201,9 @@ class NotificationService {
|
|
|
1186
1201
|
this._serverNotifications.next(val);
|
|
1187
1202
|
}
|
|
1188
1203
|
}
|
|
1189
|
-
NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1190
|
-
NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1204
|
+
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 });
|
|
1205
|
+
NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationService, providedIn: 'root' });
|
|
1206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationService, decorators: [{
|
|
1192
1207
|
type: Injectable,
|
|
1193
1208
|
args: [{ providedIn: 'root' }]
|
|
1194
1209
|
}], ctorParameters: function () { return [{ type: i1$2.ToastrService }]; } });
|
|
@@ -1208,7 +1223,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1208
1223
|
Version:
|
|
1209
1224
|
1.0
|
|
1210
1225
|
|
|
1211
|
-
Copyright (c) 2016-
|
|
1226
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1212
1227
|
</file>
|
|
1213
1228
|
*/
|
|
1214
1229
|
class BaseApiService {
|
|
@@ -1269,9 +1284,9 @@ class BaseApiService {
|
|
|
1269
1284
|
return this.http.get(url).pipe(map(res => res));
|
|
1270
1285
|
}
|
|
1271
1286
|
}
|
|
1272
|
-
BaseApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1273
|
-
BaseApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1287
|
+
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 });
|
|
1288
|
+
BaseApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseApiService });
|
|
1289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseApiService, decorators: [{
|
|
1275
1290
|
type: Injectable
|
|
1276
1291
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1277
1292
|
|
|
@@ -1290,7 +1305,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1290
1305
|
Version:
|
|
1291
1306
|
1.0
|
|
1292
1307
|
|
|
1293
|
-
Copyright (c) 2016-
|
|
1308
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1294
1309
|
</file>
|
|
1295
1310
|
*/
|
|
1296
1311
|
class WebStorageService {
|
|
@@ -1325,9 +1340,9 @@ class LocalStorageService extends WebStorageService {
|
|
|
1325
1340
|
super('localStorage');
|
|
1326
1341
|
}
|
|
1327
1342
|
}
|
|
1328
|
-
LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1329
|
-
LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1343
|
+
LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1344
|
+
LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalStorageService });
|
|
1345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
1331
1346
|
type: Injectable
|
|
1332
1347
|
}], ctorParameters: function () { return []; } });
|
|
1333
1348
|
class SessionStorageService extends WebStorageService {
|
|
@@ -1335,9 +1350,9 @@ class SessionStorageService extends WebStorageService {
|
|
|
1335
1350
|
super('sessionStorage');
|
|
1336
1351
|
}
|
|
1337
1352
|
}
|
|
1338
|
-
SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1339
|
-
SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1353
|
+
SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SessionStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1354
|
+
SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SessionStorageService });
|
|
1355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
1341
1356
|
type: Injectable
|
|
1342
1357
|
}], ctorParameters: function () { return []; } });
|
|
1343
1358
|
|
|
@@ -1353,7 +1368,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1353
1368
|
Created:
|
|
1354
1369
|
13 Nov 2017
|
|
1355
1370
|
|
|
1356
|
-
Copyright (c) 2016-
|
|
1371
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1357
1372
|
</file>
|
|
1358
1373
|
*/
|
|
1359
1374
|
class AppContextService extends BaseApiService {
|
|
@@ -1445,9 +1460,9 @@ class AppContextService extends BaseApiService {
|
|
|
1445
1460
|
this.setCurrentFromSession(value);
|
|
1446
1461
|
}
|
|
1447
1462
|
}
|
|
1448
|
-
AppContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1449
|
-
AppContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1463
|
+
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 });
|
|
1464
|
+
AppContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AppContextService });
|
|
1465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AppContextService, decorators: [{
|
|
1451
1466
|
type: Injectable
|
|
1452
1467
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }, { type: SessionStorageService }]; } });
|
|
1453
1468
|
|
|
@@ -1466,7 +1481,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1466
1481
|
Version:
|
|
1467
1482
|
1.0
|
|
1468
1483
|
|
|
1469
|
-
Copyright (c) 2016-
|
|
1484
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1470
1485
|
</file>
|
|
1471
1486
|
*/
|
|
1472
1487
|
class IdleService {
|
|
@@ -1513,9 +1528,9 @@ class IdleService {
|
|
|
1513
1528
|
this.startTimer();
|
|
1514
1529
|
}
|
|
1515
1530
|
}
|
|
1516
|
-
IdleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1517
|
-
IdleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1531
|
+
IdleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: IdleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1532
|
+
IdleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: IdleService, providedIn: 'root' });
|
|
1533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: IdleService, decorators: [{
|
|
1519
1534
|
type: Injectable,
|
|
1520
1535
|
args: [{
|
|
1521
1536
|
providedIn: 'root'
|
|
@@ -1537,7 +1552,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1537
1552
|
Version:
|
|
1538
1553
|
1.0
|
|
1539
1554
|
|
|
1540
|
-
Copyright (c) 2016-
|
|
1555
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1541
1556
|
</file>
|
|
1542
1557
|
*/
|
|
1543
1558
|
class DigitalMarketingService {
|
|
@@ -1577,9 +1592,9 @@ class DigitalMarketingService {
|
|
|
1577
1592
|
link.setAttribute('href', canUrl);
|
|
1578
1593
|
}
|
|
1579
1594
|
}
|
|
1580
|
-
DigitalMarketingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1581
|
-
DigitalMarketingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1595
|
+
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 });
|
|
1596
|
+
DigitalMarketingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: DigitalMarketingService, providedIn: 'root' });
|
|
1597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: DigitalMarketingService, decorators: [{
|
|
1583
1598
|
type: Injectable,
|
|
1584
1599
|
args: [{
|
|
1585
1600
|
providedIn: 'root'
|
|
@@ -1604,7 +1619,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1604
1619
|
Version:
|
|
1605
1620
|
1.0
|
|
1606
1621
|
|
|
1607
|
-
Copyright (c) 2016-
|
|
1622
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1608
1623
|
</file>
|
|
1609
1624
|
*/
|
|
1610
1625
|
class GoogleAnalyticsService {
|
|
@@ -1632,69 +1647,12 @@ class GoogleAnalyticsService {
|
|
|
1632
1647
|
}
|
|
1633
1648
|
}
|
|
1634
1649
|
}
|
|
1635
|
-
GoogleAnalyticsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1636
|
-
GoogleAnalyticsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1650
|
+
GoogleAnalyticsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GoogleAnalyticsService, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1651
|
+
GoogleAnalyticsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GoogleAnalyticsService });
|
|
1652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GoogleAnalyticsService, decorators: [{
|
|
1638
1653
|
type: Injectable
|
|
1639
1654
|
}], ctorParameters: function () { return [{ type: i1.Router }]; } });
|
|
1640
1655
|
|
|
1641
|
-
/*
|
|
1642
|
-
<file>
|
|
1643
|
-
Project:
|
|
1644
|
-
@osovitny/anatoly
|
|
1645
|
-
|
|
1646
|
-
Authors:
|
|
1647
|
-
Vadim Osovitny
|
|
1648
|
-
Anatoly Osovitny
|
|
1649
|
-
|
|
1650
|
-
Created:
|
|
1651
|
-
29 June 2020
|
|
1652
|
-
|
|
1653
|
-
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1654
|
-
</file>
|
|
1655
|
-
*/
|
|
1656
|
-
let InjectorInstance;
|
|
1657
|
-
class AnatolyCoreModule {
|
|
1658
|
-
constructor(injector, parentModule) {
|
|
1659
|
-
this.injector = injector;
|
|
1660
|
-
throwIfAlreadyLoaded(parentModule, 'AnatolyCoreModule');
|
|
1661
|
-
InjectorInstance = this.injector;
|
|
1662
|
-
}
|
|
1663
|
-
}
|
|
1664
|
-
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 });
|
|
1665
|
-
AnatolyCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AnatolyCoreModule, imports: [CommonModule] });
|
|
1666
|
-
AnatolyCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyCoreModule, providers: [
|
|
1667
|
-
LoggingService,
|
|
1668
|
-
NotificationService,
|
|
1669
|
-
AppContextService,
|
|
1670
|
-
LoadingService,
|
|
1671
|
-
DigitalMarketingService,
|
|
1672
|
-
GoogleAnalyticsService,
|
|
1673
|
-
LocalStorageService,
|
|
1674
|
-
SessionStorageService
|
|
1675
|
-
], imports: [CommonModule] });
|
|
1676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyCoreModule, decorators: [{
|
|
1677
|
-
type: NgModule,
|
|
1678
|
-
args: [{
|
|
1679
|
-
imports: [CommonModule],
|
|
1680
|
-
exports: [],
|
|
1681
|
-
providers: [
|
|
1682
|
-
LoggingService,
|
|
1683
|
-
NotificationService,
|
|
1684
|
-
AppContextService,
|
|
1685
|
-
LoadingService,
|
|
1686
|
-
DigitalMarketingService,
|
|
1687
|
-
GoogleAnalyticsService,
|
|
1688
|
-
LocalStorageService,
|
|
1689
|
-
SessionStorageService
|
|
1690
|
-
],
|
|
1691
|
-
}]
|
|
1692
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: AnatolyCoreModule, decorators: [{
|
|
1693
|
-
type: Optional
|
|
1694
|
-
}, {
|
|
1695
|
-
type: SkipSelf
|
|
1696
|
-
}] }]; } });
|
|
1697
|
-
|
|
1698
1656
|
/*
|
|
1699
1657
|
<file>
|
|
1700
1658
|
Project:
|
|
@@ -1707,7 +1665,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1707
1665
|
Created:
|
|
1708
1666
|
26 Jun 2020
|
|
1709
1667
|
|
|
1710
|
-
Copyright (c) 2016-
|
|
1668
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1711
1669
|
</file>
|
|
1712
1670
|
*/
|
|
1713
1671
|
class Subs {
|
|
@@ -1738,7 +1696,7 @@ class Subs {
|
|
|
1738
1696
|
Created:
|
|
1739
1697
|
19 March 2020
|
|
1740
1698
|
|
|
1741
|
-
Copyright (c) 2016-
|
|
1699
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1742
1700
|
</file>
|
|
1743
1701
|
*/
|
|
1744
1702
|
class Utils {
|
|
@@ -1823,7 +1781,7 @@ class Utils {
|
|
|
1823
1781
|
Version:
|
|
1824
1782
|
1.0
|
|
1825
1783
|
|
|
1826
|
-
Copyright (c) 2016-
|
|
1784
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1827
1785
|
</file>
|
|
1828
1786
|
*/
|
|
1829
1787
|
class BaseGridReadService extends BehaviorSubject {
|
|
@@ -1857,9 +1815,9 @@ class BaseGridReadService extends BehaviorSubject {
|
|
|
1857
1815
|
});
|
|
1858
1816
|
}
|
|
1859
1817
|
}
|
|
1860
|
-
BaseGridReadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1861
|
-
BaseGridReadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1818
|
+
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 });
|
|
1819
|
+
BaseGridReadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridReadService });
|
|
1820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridReadService, decorators: [{
|
|
1863
1821
|
type: Injectable
|
|
1864
1822
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1865
1823
|
|
|
@@ -1878,7 +1836,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1878
1836
|
Version:
|
|
1879
1837
|
1.0
|
|
1880
1838
|
|
|
1881
|
-
Copyright (c) 2016-
|
|
1839
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1882
1840
|
</file>
|
|
1883
1841
|
*/
|
|
1884
1842
|
class BaseGridEditService extends BaseGridReadService {
|
|
@@ -1927,9 +1885,9 @@ class BaseGridEditService extends BaseGridReadService {
|
|
|
1927
1885
|
return this.http.post(url, data).pipe(map(res => res));
|
|
1928
1886
|
}
|
|
1929
1887
|
}
|
|
1930
|
-
BaseGridEditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1931
|
-
BaseGridEditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1888
|
+
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 });
|
|
1889
|
+
BaseGridEditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridEditService });
|
|
1890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridEditService, decorators: [{
|
|
1933
1891
|
type: Injectable
|
|
1934
1892
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1935
1893
|
|
|
@@ -1948,7 +1906,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1948
1906
|
Version:
|
|
1949
1907
|
1.0
|
|
1950
1908
|
|
|
1951
|
-
Copyright (c) 2016-
|
|
1909
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1952
1910
|
</file>
|
|
1953
1911
|
*/
|
|
1954
1912
|
const consts = {
|
|
@@ -1972,7 +1930,7 @@ const consts = {
|
|
|
1972
1930
|
Version:
|
|
1973
1931
|
1.0
|
|
1974
1932
|
|
|
1975
|
-
Copyright (c) 2016-
|
|
1933
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1976
1934
|
</file>
|
|
1977
1935
|
*/
|
|
1978
1936
|
class NotificationsApiService extends BaseApiService {
|
|
@@ -1985,9 +1943,9 @@ class NotificationsApiService extends BaseApiService {
|
|
|
1985
1943
|
return this.get('retrieveNotifications');
|
|
1986
1944
|
}
|
|
1987
1945
|
}
|
|
1988
|
-
NotificationsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
1989
|
-
NotificationsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
1990
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
1946
|
+
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 });
|
|
1947
|
+
NotificationsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationsApiService, providedIn: 'root' });
|
|
1948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationsApiService, decorators: [{
|
|
1991
1949
|
type: Injectable,
|
|
1992
1950
|
args: [{
|
|
1993
1951
|
providedIn: 'root'
|
|
@@ -2009,7 +1967,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2009
1967
|
Version:
|
|
2010
1968
|
1.0
|
|
2011
1969
|
|
|
2012
|
-
Copyright (c) 2016-
|
|
1970
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2013
1971
|
</file>
|
|
2014
1972
|
*/
|
|
2015
1973
|
class BillingApiService extends BaseApiService {
|
|
@@ -2046,56 +2004,12 @@ class BillingApiService extends BaseApiService {
|
|
|
2046
2004
|
});
|
|
2047
2005
|
}
|
|
2048
2006
|
}
|
|
2049
|
-
BillingApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2050
|
-
BillingApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
2051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2007
|
+
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 });
|
|
2008
|
+
BillingApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BillingApiService });
|
|
2009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BillingApiService, decorators: [{
|
|
2052
2010
|
type: Injectable
|
|
2053
2011
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
2054
2012
|
|
|
2055
|
-
/*
|
|
2056
|
-
<file>
|
|
2057
|
-
Project:
|
|
2058
|
-
@osovitny/anatoly
|
|
2059
|
-
|
|
2060
|
-
Authors:
|
|
2061
|
-
Vadim Osovitny
|
|
2062
|
-
Anatoly Osovitny
|
|
2063
|
-
|
|
2064
|
-
Created:
|
|
2065
|
-
4 Mar 2020
|
|
2066
|
-
|
|
2067
|
-
Version:
|
|
2068
|
-
1.0
|
|
2069
|
-
|
|
2070
|
-
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2071
|
-
</file>
|
|
2072
|
-
*/
|
|
2073
|
-
class AnatolyDataModule {
|
|
2074
|
-
constructor(parentModule) {
|
|
2075
|
-
throwIfAlreadyLoaded(parentModule, 'AnatolyDataModule');
|
|
2076
|
-
}
|
|
2077
|
-
}
|
|
2078
|
-
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 });
|
|
2079
|
-
AnatolyDataModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: AnatolyDataModule, imports: [CommonModule] });
|
|
2080
|
-
AnatolyDataModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyDataModule, providers: [
|
|
2081
|
-
BillingApiService
|
|
2082
|
-
], imports: [CommonModule] });
|
|
2083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: AnatolyDataModule, decorators: [{
|
|
2084
|
-
type: NgModule,
|
|
2085
|
-
args: [{
|
|
2086
|
-
imports: [
|
|
2087
|
-
CommonModule
|
|
2088
|
-
],
|
|
2089
|
-
providers: [
|
|
2090
|
-
BillingApiService
|
|
2091
|
-
],
|
|
2092
|
-
}]
|
|
2093
|
-
}], ctorParameters: function () { return [{ type: AnatolyDataModule, decorators: [{
|
|
2094
|
-
type: Optional
|
|
2095
|
-
}, {
|
|
2096
|
-
type: SkipSelf
|
|
2097
|
-
}] }]; } });
|
|
2098
|
-
|
|
2099
2013
|
/*
|
|
2100
2014
|
<file>
|
|
2101
2015
|
Project:
|
|
@@ -2111,15 +2025,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2111
2025
|
Version:
|
|
2112
2026
|
1.0
|
|
2113
2027
|
|
|
2114
|
-
Copyright (c) 2016-
|
|
2028
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2115
2029
|
</file>
|
|
2116
2030
|
*/
|
|
2117
2031
|
class BaseComponent {
|
|
2118
2032
|
constructor() {
|
|
2119
|
-
this.subs = new Subs();
|
|
2033
|
+
this.subs = new Subs$1();
|
|
2120
2034
|
}
|
|
2121
2035
|
getQSId() {
|
|
2122
|
-
var id = Utils.getValueByNameInQS("id");
|
|
2036
|
+
var id = Utils$1.getValueByNameInQS("id");
|
|
2123
2037
|
if (typeof id === "undefined" || id == "")
|
|
2124
2038
|
return null;
|
|
2125
2039
|
return id;
|
|
@@ -2128,9 +2042,9 @@ class BaseComponent {
|
|
|
2128
2042
|
this.subs.unsubscribe();
|
|
2129
2043
|
}
|
|
2130
2044
|
}
|
|
2131
|
-
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2132
|
-
BaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2045
|
+
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2046
|
+
BaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true });
|
|
2047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseComponent, decorators: [{
|
|
2134
2048
|
type: Component,
|
|
2135
2049
|
args: [{
|
|
2136
2050
|
template: ''
|
|
@@ -2152,7 +2066,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2152
2066
|
Version:
|
|
2153
2067
|
1.0
|
|
2154
2068
|
|
|
2155
|
-
Copyright (c) 2016-
|
|
2069
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2156
2070
|
</file>
|
|
2157
2071
|
*/
|
|
2158
2072
|
class BaseEditComponent extends BaseComponent {
|
|
@@ -2161,7 +2075,7 @@ class BaseEditComponent extends BaseComponent {
|
|
|
2161
2075
|
this.formSubmitted = false;
|
|
2162
2076
|
}
|
|
2163
2077
|
isActionAdding() {
|
|
2164
|
-
var id = Utils.getValueByNameInQS("id");
|
|
2078
|
+
var id = Utils$1.getValueByNameInQS("id");
|
|
2165
2079
|
if (typeof id === "undefined" || id == "")
|
|
2166
2080
|
return true;
|
|
2167
2081
|
return false;
|
|
@@ -2260,9 +2174,9 @@ class BaseEditComponent extends BaseComponent {
|
|
|
2260
2174
|
return this.formGroup.controls;
|
|
2261
2175
|
}
|
|
2262
2176
|
}
|
|
2263
|
-
BaseEditComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2264
|
-
BaseEditComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2177
|
+
BaseEditComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2178
|
+
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 });
|
|
2179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseEditComponent, decorators: [{
|
|
2266
2180
|
type: Component,
|
|
2267
2181
|
args: [{
|
|
2268
2182
|
template: ''
|
|
@@ -2306,9 +2220,9 @@ class BaseDialog extends BaseEditComponent {
|
|
|
2306
2220
|
this._opened = false;
|
|
2307
2221
|
}
|
|
2308
2222
|
}
|
|
2309
|
-
BaseDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2310
|
-
BaseDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2223
|
+
BaseDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2224
|
+
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 });
|
|
2225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseDialog, decorators: [{
|
|
2312
2226
|
type: Component,
|
|
2313
2227
|
args: [{
|
|
2314
2228
|
template: ''
|
|
@@ -2332,14 +2246,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2332
2246
|
Version:
|
|
2333
2247
|
1.0
|
|
2334
2248
|
|
|
2335
|
-
Copyright (c) 2016-
|
|
2249
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2336
2250
|
</file>
|
|
2337
2251
|
*/
|
|
2338
2252
|
class SignUpButtonComponent {
|
|
2339
2253
|
}
|
|
2340
|
-
SignUpButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2341
|
-
SignUpButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2254
|
+
SignUpButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignUpButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2255
|
+
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" });
|
|
2256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignUpButtonComponent, decorators: [{
|
|
2343
2257
|
type: Component,
|
|
2344
2258
|
args: [{ selector: "anatoly-signup-button", template: "<a href=\"identity/signup\" class=\"{{classbtn}}\">Sign Up</a>\r\n" }]
|
|
2345
2259
|
}], propDecorators: { classbtn: [{
|
|
@@ -2358,7 +2272,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2358
2272
|
Created:
|
|
2359
2273
|
14 Aug 2018
|
|
2360
2274
|
|
|
2361
|
-
Copyright (c) 2016-
|
|
2275
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2362
2276
|
</file>
|
|
2363
2277
|
*/
|
|
2364
2278
|
class BuyAccessButtonComponent {
|
|
@@ -2387,21 +2301,21 @@ class BuyAccessButtonComponent {
|
|
|
2387
2301
|
onBuyPlan() {
|
|
2388
2302
|
const text = `Requested plan: ${this.plantitle} `;
|
|
2389
2303
|
const that = this;
|
|
2390
|
-
Alerts.areYouSure(text, 'Buying access', 'Confirm change', 'Cancel', () => {
|
|
2304
|
+
Alerts$1.areYouSure(text, 'Buying access', 'Confirm change', 'Cancel', () => {
|
|
2391
2305
|
that.api.buyAccess(that.plan, () => {
|
|
2392
|
-
Alerts.success('Access Granted', null, null, () => {
|
|
2306
|
+
Alerts$1.success('Access Granted', null, null, () => {
|
|
2393
2307
|
window.location.reload();
|
|
2394
2308
|
});
|
|
2395
2309
|
});
|
|
2396
2310
|
});
|
|
2397
2311
|
}
|
|
2398
2312
|
}
|
|
2399
|
-
BuyAccessButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2400
|
-
BuyAccessButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2313
|
+
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 });
|
|
2314
|
+
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"] }] });
|
|
2315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BuyAccessButtonComponent, decorators: [{
|
|
2402
2316
|
type: Component,
|
|
2403
2317
|
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" }]
|
|
2404
|
-
}], ctorParameters: function () { return [{ type: AppContextService }, { type: BillingApiService }]; }, propDecorators: { plan: [{
|
|
2318
|
+
}], ctorParameters: function () { return [{ type: i1$5.AppContextService }, { type: i2.BillingApiService }]; }, propDecorators: { plan: [{
|
|
2405
2319
|
type: Input
|
|
2406
2320
|
}], plantitle: [{
|
|
2407
2321
|
type: Input
|
|
@@ -2422,10 +2336,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2422
2336
|
Version:
|
|
2423
2337
|
1.0
|
|
2424
2338
|
|
|
2425
|
-
Copyright (c) 2016-
|
|
2339
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2426
2340
|
</file>
|
|
2427
2341
|
*/
|
|
2428
|
-
// Services
|
|
2429
2342
|
class UpgradePlanButtonComponent {
|
|
2430
2343
|
constructor(api) {
|
|
2431
2344
|
this.api = api;
|
|
@@ -2433,21 +2346,21 @@ class UpgradePlanButtonComponent {
|
|
|
2433
2346
|
onUpgradePlan() {
|
|
2434
2347
|
const text = `Current plan: ${this.currentplantitle} New plan: ${this.requestedplantitle}`;
|
|
2435
2348
|
const that = this;
|
|
2436
|
-
Alerts.areYouSure(text, 'Change billing plan', 'Confirm change', 'Cancel', () => {
|
|
2349
|
+
Alerts$1.areYouSure(text, 'Change billing plan', 'Confirm change', 'Cancel', () => {
|
|
2437
2350
|
that.api.requestNewSubscription(that.requestedplan, () => {
|
|
2438
|
-
Alerts.success('Your request for changing plan has been sent.', null, null, () => {
|
|
2351
|
+
Alerts$1.success('Your request for changing plan has been sent.', null, null, () => {
|
|
2439
2352
|
window.location.reload();
|
|
2440
2353
|
});
|
|
2441
2354
|
});
|
|
2442
2355
|
});
|
|
2443
2356
|
}
|
|
2444
2357
|
}
|
|
2445
|
-
UpgradePlanButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2446
|
-
UpgradePlanButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2358
|
+
UpgradePlanButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: UpgradePlanButtonComponent, deps: [{ token: i2.BillingApiService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2359
|
+
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" });
|
|
2360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: UpgradePlanButtonComponent, decorators: [{
|
|
2448
2361
|
type: Component,
|
|
2449
2362
|
args: [{ selector: 'anatoly-upgrade-plan-button', template: "<button class=\"btn btn-block btn-primary\" (click)=\"onUpgradePlan()\">\r\n Upgrade\r\n</button>\r\n" }]
|
|
2450
|
-
}], ctorParameters: function () { return [{ type: BillingApiService }]; }, propDecorators: { currentplantitle: [{
|
|
2363
|
+
}], ctorParameters: function () { return [{ type: i2.BillingApiService }]; }, propDecorators: { currentplantitle: [{
|
|
2451
2364
|
type: Input
|
|
2452
2365
|
}], requestedplan: [{
|
|
2453
2366
|
type: Input
|
|
@@ -2470,7 +2383,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2470
2383
|
Version:
|
|
2471
2384
|
1.0
|
|
2472
2385
|
|
|
2473
|
-
Copyright (c) 2016-
|
|
2386
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2474
2387
|
</file>
|
|
2475
2388
|
*/
|
|
2476
2389
|
class SubscribePlanButtonComponent {
|
|
@@ -2500,12 +2413,12 @@ class SubscribePlanButtonComponent {
|
|
|
2500
2413
|
});
|
|
2501
2414
|
}
|
|
2502
2415
|
}
|
|
2503
|
-
SubscribePlanButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2504
|
-
SubscribePlanButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2416
|
+
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 });
|
|
2417
|
+
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"] }] });
|
|
2418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SubscribePlanButtonComponent, decorators: [{
|
|
2506
2419
|
type: Component,
|
|
2507
2420
|
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" }]
|
|
2508
|
-
}], ctorParameters: function () { return [{ type: AppContextService }]; }, propDecorators: { plan: [{
|
|
2421
|
+
}], ctorParameters: function () { return [{ type: i1$5.AppContextService }]; }, propDecorators: { plan: [{
|
|
2509
2422
|
type: Input
|
|
2510
2423
|
}], plantitle: [{
|
|
2511
2424
|
type: Input
|
|
@@ -2526,7 +2439,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2526
2439
|
Version:
|
|
2527
2440
|
1.0
|
|
2528
2441
|
|
|
2529
|
-
Copyright (c) 2016-
|
|
2442
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2530
2443
|
</file>
|
|
2531
2444
|
*/
|
|
2532
2445
|
class ContentHeaderComponent {
|
|
@@ -2536,9 +2449,9 @@ class ContentHeaderComponent {
|
|
|
2536
2449
|
}
|
|
2537
2450
|
}
|
|
2538
2451
|
}
|
|
2539
|
-
ContentHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2540
|
-
ContentHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2452
|
+
ContentHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContentHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2453
|
+
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" });
|
|
2454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContentHeaderComponent, decorators: [{
|
|
2542
2455
|
type: Component,
|
|
2543
2456
|
args: [{ selector: "anatoly-content-header", template: "<h2 class=\"page-header\">\r\n {{title}}\r\n <!--<small>Optional {{title}}</small>-->\r\n</h2>\r\n" }]
|
|
2544
2457
|
}], propDecorators: { title: [{
|
|
@@ -2560,7 +2473,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2560
2473
|
Version:
|
|
2561
2474
|
1.0
|
|
2562
2475
|
|
|
2563
|
-
Copyright (c) 2016-
|
|
2476
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2564
2477
|
</file>
|
|
2565
2478
|
*/
|
|
2566
2479
|
const DefaultEditorOptions = {
|
|
@@ -2649,7 +2562,7 @@ const DefaultEditorOptions = {
|
|
|
2649
2562
|
Version:
|
|
2650
2563
|
1.0
|
|
2651
2564
|
|
|
2652
|
-
Copyright (c) 2016-
|
|
2565
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2653
2566
|
</file>
|
|
2654
2567
|
*/
|
|
2655
2568
|
class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
@@ -2667,7 +2580,7 @@ class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
|
2667
2580
|
opt = JSON.parse(this.editorOptions);
|
|
2668
2581
|
}
|
|
2669
2582
|
let newOptions = $.extend({}, DefaultEditorOptions, opt);
|
|
2670
|
-
const key = AppCoreSettings.froalaEditorKey;
|
|
2583
|
+
const key = AppCoreSettings$1.froalaEditorKey;
|
|
2671
2584
|
if (key) {
|
|
2672
2585
|
newOptions = $.extend({}, newOptions, JSON.parse('{ "key": "' + key + '" }'));
|
|
2673
2586
|
}
|
|
@@ -2725,9 +2638,9 @@ class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
|
2725
2638
|
});
|
|
2726
2639
|
}
|
|
2727
2640
|
}
|
|
2728
|
-
BaseHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2729
|
-
BaseHtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2641
|
+
BaseHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseHtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2642
|
+
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 });
|
|
2643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseHtmlEditorComponent, decorators: [{
|
|
2731
2644
|
type: Component,
|
|
2732
2645
|
args: [{
|
|
2733
2646
|
template: "",
|
|
@@ -2753,7 +2666,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2753
2666
|
Version:
|
|
2754
2667
|
1.0
|
|
2755
2668
|
|
|
2756
|
-
Copyright (c) 2016-
|
|
2669
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2757
2670
|
</file>
|
|
2758
2671
|
*/
|
|
2759
2672
|
class NativeElementDirective {
|
|
@@ -2766,14 +2679,14 @@ class NativeElementDirective {
|
|
|
2766
2679
|
this.control.control.nativeElement = this.el.nativeElement;
|
|
2767
2680
|
}
|
|
2768
2681
|
}
|
|
2769
|
-
NativeElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2770
|
-
NativeElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.
|
|
2771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2682
|
+
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 });
|
|
2683
|
+
NativeElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.6", type: NativeElementDirective, selector: "[formControl], [formControlName]", ngImport: i0 });
|
|
2684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NativeElementDirective, decorators: [{
|
|
2772
2685
|
type: Directive,
|
|
2773
2686
|
args: [{
|
|
2774
2687
|
selector: '[formControl], [formControlName]'
|
|
2775
2688
|
}]
|
|
2776
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type:
|
|
2689
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$7.NgControl }]; } });
|
|
2777
2690
|
|
|
2778
2691
|
/*
|
|
2779
2692
|
<file>
|
|
@@ -2790,7 +2703,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2790
2703
|
Version:
|
|
2791
2704
|
1.0
|
|
2792
2705
|
|
|
2793
|
-
Copyright (c) 2016-
|
|
2706
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2794
2707
|
</file>
|
|
2795
2708
|
*/
|
|
2796
2709
|
class ValidationSummaryComponent extends BaseEditComponent {
|
|
@@ -2889,9 +2802,9 @@ class ValidationSummaryComponent extends BaseEditComponent {
|
|
|
2889
2802
|
return title;
|
|
2890
2803
|
}
|
|
2891
2804
|
}
|
|
2892
|
-
ValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2893
|
-
ValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2805
|
+
ValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2806
|
+
ValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: ValidationSummaryComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "", isInline: true });
|
|
2807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ValidationSummaryComponent, decorators: [{
|
|
2895
2808
|
type: Component,
|
|
2896
2809
|
args: [{
|
|
2897
2810
|
template: "",
|
|
@@ -2913,7 +2826,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2913
2826
|
Version:
|
|
2914
2827
|
1.0
|
|
2915
2828
|
|
|
2916
|
-
Copyright (c) 2016-
|
|
2829
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2917
2830
|
</file>
|
|
2918
2831
|
*/
|
|
2919
2832
|
class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
@@ -2921,9 +2834,9 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
2921
2834
|
super();
|
|
2922
2835
|
}
|
|
2923
2836
|
}
|
|
2924
|
-
ItemValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2925
|
-
ItemValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2837
|
+
ItemValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ItemValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2838
|
+
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"] }] });
|
|
2839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ItemValidationSummaryComponent, decorators: [{
|
|
2927
2840
|
type: Component,
|
|
2928
2841
|
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" }]
|
|
2929
2842
|
}], ctorParameters: function () { return []; }, propDecorators: { controlName: [{
|
|
@@ -2947,7 +2860,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2947
2860
|
Version:
|
|
2948
2861
|
1.0
|
|
2949
2862
|
|
|
2950
|
-
Copyright (c) 2016-
|
|
2863
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2951
2864
|
</file>
|
|
2952
2865
|
*/
|
|
2953
2866
|
class FormsHtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
@@ -2961,9 +2874,9 @@ class FormsHtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
|
2961
2874
|
});
|
|
2962
2875
|
}
|
|
2963
2876
|
}
|
|
2964
|
-
FormsHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
2965
|
-
FormsHtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
2966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2877
|
+
FormsHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormsHtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2878
|
+
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"] }] });
|
|
2879
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormsHtmlEditorComponent, decorators: [{
|
|
2967
2880
|
type: Component,
|
|
2968
2881
|
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" }]
|
|
2969
2882
|
}], ctorParameters: function () { return []; }, propDecorators: { editorFormKey: [{
|
|
@@ -2985,7 +2898,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2985
2898
|
Version:
|
|
2986
2899
|
1.0
|
|
2987
2900
|
|
|
2988
|
-
Copyright (c) 2016-
|
|
2901
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2989
2902
|
</file>
|
|
2990
2903
|
*/
|
|
2991
2904
|
class HtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
@@ -3009,9 +2922,9 @@ class HtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
|
3009
2922
|
return editor.html.get(false);
|
|
3010
2923
|
}
|
|
3011
2924
|
}
|
|
3012
|
-
HtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3013
|
-
HtmlEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
3014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2925
|
+
HtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: HtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2926
|
+
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"] }] });
|
|
2927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: HtmlEditorComponent, decorators: [{
|
|
3015
2928
|
type: Component,
|
|
3016
2929
|
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>" }]
|
|
3017
2930
|
}], ctorParameters: function () { return []; } });
|
|
@@ -3031,15 +2944,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3031
2944
|
Version:
|
|
3032
2945
|
1.0
|
|
3033
2946
|
|
|
3034
|
-
Copyright (c) 2016-
|
|
2947
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3035
2948
|
</file>
|
|
3036
2949
|
*/
|
|
3037
2950
|
class SignInButtonComponent {
|
|
3038
2951
|
constructor() { }
|
|
3039
2952
|
}
|
|
3040
|
-
SignInButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3041
|
-
SignInButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
3042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2953
|
+
SignInButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignInButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2954
|
+
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" });
|
|
2955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignInButtonComponent, decorators: [{
|
|
3043
2956
|
type: Component,
|
|
3044
2957
|
args: [{ selector: "anatoly-signin-button", template: "<a href=\"identity/signIn\" class=\"{{classbtn}}\">Sign In</a>\r\n" }]
|
|
3045
2958
|
}], ctorParameters: function () { return []; }, propDecorators: { classbtn: [{
|
|
@@ -3061,15 +2974,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3061
2974
|
Version:
|
|
3062
2975
|
1.0
|
|
3063
2976
|
|
|
3064
|
-
Copyright (c) 2016-
|
|
2977
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3065
2978
|
</file>
|
|
3066
2979
|
*/
|
|
3067
2980
|
class SignOutButtonComponent {
|
|
3068
2981
|
constructor() { }
|
|
3069
2982
|
}
|
|
3070
|
-
SignOutButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3071
|
-
SignOutButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
3072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
2983
|
+
SignOutButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignOutButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2984
|
+
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" });
|
|
2985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignOutButtonComponent, decorators: [{
|
|
3073
2986
|
type: Component,
|
|
3074
2987
|
args: [{ selector: "anatoly-signout-button", template: "<a href=\"identity/signOut\" class=\"{{classbtn}}\">Sign Out</a>\r\n" }]
|
|
3075
2988
|
}], ctorParameters: function () { return []; }, propDecorators: { classbtn: [{
|
|
@@ -3091,14 +3004,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3091
3004
|
Version:
|
|
3092
3005
|
1.0
|
|
3093
3006
|
|
|
3094
|
-
Copyright (c) 2016-
|
|
3007
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3095
3008
|
</file>
|
|
3096
3009
|
*/
|
|
3097
3010
|
class LoadingComponent {
|
|
3098
3011
|
constructor(loadingService) {
|
|
3099
3012
|
this.loadingService = loadingService;
|
|
3100
3013
|
// Private
|
|
3101
|
-
this.subs = new Subs();
|
|
3014
|
+
this.subs = new Subs$1();
|
|
3102
3015
|
// Public
|
|
3103
3016
|
this.show = false;
|
|
3104
3017
|
}
|
|
@@ -3111,12 +3024,12 @@ class LoadingComponent {
|
|
|
3111
3024
|
this.subs.unsubscribe();
|
|
3112
3025
|
}
|
|
3113
3026
|
}
|
|
3114
|
-
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3115
|
-
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
3116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3027
|
+
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 });
|
|
3028
|
+
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"] }] });
|
|
3029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
3117
3030
|
type: Component,
|
|
3118
3031
|
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" }]
|
|
3119
|
-
}], ctorParameters: function () { return [{ type: LoadingService }]; } });
|
|
3032
|
+
}], ctorParameters: function () { return [{ type: i1$9.LoadingService }]; } });
|
|
3120
3033
|
|
|
3121
3034
|
/*
|
|
3122
3035
|
<file>
|
|
@@ -3133,7 +3046,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3133
3046
|
Version:
|
|
3134
3047
|
1.0
|
|
3135
3048
|
|
|
3136
|
-
Copyright (c) 2016-
|
|
3049
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3137
3050
|
</file>
|
|
3138
3051
|
*/
|
|
3139
3052
|
const SpinnerSpinKit = {
|
|
@@ -3171,9 +3084,9 @@ class SpinnerComponent {
|
|
|
3171
3084
|
this.isSpinnerVisible = false;
|
|
3172
3085
|
}
|
|
3173
3086
|
}
|
|
3174
|
-
SpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3175
|
-
SpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
3176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3087
|
+
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 });
|
|
3088
|
+
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 });
|
|
3089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
3177
3090
|
type: Component,
|
|
3178
3091
|
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" }]
|
|
3179
3092
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: Document, decorators: [{
|
|
@@ -3185,6 +3098,173 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3185
3098
|
type: Input
|
|
3186
3099
|
}] } });
|
|
3187
3100
|
|
|
3101
|
+
/*
|
|
3102
|
+
<file>
|
|
3103
|
+
Project:
|
|
3104
|
+
@osovitny/anatoly
|
|
3105
|
+
|
|
3106
|
+
Authors:
|
|
3107
|
+
Vadim Osovitny
|
|
3108
|
+
Anatoly Osovitny
|
|
3109
|
+
|
|
3110
|
+
Created:
|
|
3111
|
+
7 Dec 2017
|
|
3112
|
+
|
|
3113
|
+
Version:
|
|
3114
|
+
1.0
|
|
3115
|
+
|
|
3116
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3117
|
+
</file>
|
|
3118
|
+
*/
|
|
3119
|
+
class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
3120
|
+
constructor() {
|
|
3121
|
+
super();
|
|
3122
|
+
this.visible = false;
|
|
3123
|
+
this.customerrors = [];
|
|
3124
|
+
/*
|
|
3125
|
+
0 - only FormValidation messages
|
|
3126
|
+
1 - only Custom messages
|
|
3127
|
+
2 - all
|
|
3128
|
+
*/
|
|
3129
|
+
this.viewtype = 0;
|
|
3130
|
+
}
|
|
3131
|
+
getErrors() {
|
|
3132
|
+
if (this.viewtype == 1) {
|
|
3133
|
+
return this.customerrors;
|
|
3134
|
+
}
|
|
3135
|
+
let formValidationMessages = this.getFormValidationMessages();
|
|
3136
|
+
if (this.viewtype == 0) {
|
|
3137
|
+
return formValidationMessages;
|
|
3138
|
+
}
|
|
3139
|
+
var messages = [];
|
|
3140
|
+
if (formValidationMessages.length > 0) {
|
|
3141
|
+
messages.push(...formValidationMessages);
|
|
3142
|
+
}
|
|
3143
|
+
if (this.customerrors.length > 0) {
|
|
3144
|
+
messages.push(...this.customerrors);
|
|
3145
|
+
}
|
|
3146
|
+
return messages;
|
|
3147
|
+
}
|
|
3148
|
+
}
|
|
3149
|
+
FormValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3150
|
+
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"] }] });
|
|
3151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormValidationSummaryComponent, decorators: [{
|
|
3152
|
+
type: Component,
|
|
3153
|
+
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" }]
|
|
3154
|
+
}], ctorParameters: function () { return []; }, propDecorators: { visible: [{
|
|
3155
|
+
type: Input
|
|
3156
|
+
}], customerrors: [{
|
|
3157
|
+
type: Input
|
|
3158
|
+
}], viewtype: [{
|
|
3159
|
+
type: Input
|
|
3160
|
+
}] } });
|
|
3161
|
+
|
|
3162
|
+
/*
|
|
3163
|
+
<file>
|
|
3164
|
+
Project:
|
|
3165
|
+
@osovitny/anatoly
|
|
3166
|
+
|
|
3167
|
+
Authors:
|
|
3168
|
+
Vadim Osovitny
|
|
3169
|
+
Anatoly Osovitny
|
|
3170
|
+
|
|
3171
|
+
Created:
|
|
3172
|
+
29 June 2020
|
|
3173
|
+
|
|
3174
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3175
|
+
</file>
|
|
3176
|
+
*/
|
|
3177
|
+
class ContactUsForm extends BaseEditComponent$1 {
|
|
3178
|
+
constructor(fb, appContext, api, notificationService) {
|
|
3179
|
+
super();
|
|
3180
|
+
this.fb = fb;
|
|
3181
|
+
this.appContext = appContext;
|
|
3182
|
+
this.api = api;
|
|
3183
|
+
this.notificationService = notificationService;
|
|
3184
|
+
this.isUserSignedIn = false;
|
|
3185
|
+
this.topicList = [
|
|
3186
|
+
{ value: 'Billing & Pricing' },
|
|
3187
|
+
{ value: 'Legal & Privacy' },
|
|
3188
|
+
{ value: 'Repor abuse' },
|
|
3189
|
+
{ value: 'Technical Support' },
|
|
3190
|
+
{ value: 'Other' }
|
|
3191
|
+
];
|
|
3192
|
+
//Inputs
|
|
3193
|
+
this.showActionButtons = true;
|
|
3194
|
+
//Outputs
|
|
3195
|
+
this.submit = new EventEmitter();
|
|
3196
|
+
}
|
|
3197
|
+
ngOnInit() {
|
|
3198
|
+
this.createFormGroup();
|
|
3199
|
+
this.init();
|
|
3200
|
+
}
|
|
3201
|
+
createFormGroup() {
|
|
3202
|
+
this.formGroup = this.fb.group({
|
|
3203
|
+
captcha: new FormControl(null, [Validators.required]),
|
|
3204
|
+
name: new FormControl('', [Validators.required]),
|
|
3205
|
+
email: new FormControl('', [Validators.required]),
|
|
3206
|
+
topic: new FormControl('', [Validators.required]),
|
|
3207
|
+
subject: new FormControl('', [Validators.required]),
|
|
3208
|
+
message: new FormControl('', [Validators.required])
|
|
3209
|
+
});
|
|
3210
|
+
}
|
|
3211
|
+
init() {
|
|
3212
|
+
this.appContext.getCurrent(context => {
|
|
3213
|
+
this.isUserSignedIn = context.isUserSignedIn;
|
|
3214
|
+
this.siteKey = context.reCaptchaSiteKey;
|
|
3215
|
+
this.selectedTopic = this.topicList[3].value;
|
|
3216
|
+
this.setFormValue('topic', this.selectedTopic);
|
|
3217
|
+
if (this.isUserSignedIn) {
|
|
3218
|
+
this.setFormValue('name', context.user.displayNameOrFullName);
|
|
3219
|
+
this.setFormValue('email', context.user.email);
|
|
3220
|
+
}
|
|
3221
|
+
}, false);
|
|
3222
|
+
}
|
|
3223
|
+
isValid() {
|
|
3224
|
+
return this.formGroup.valid;
|
|
3225
|
+
}
|
|
3226
|
+
contactUs() {
|
|
3227
|
+
this.formSubmitted = true;
|
|
3228
|
+
if (!this.isValid())
|
|
3229
|
+
return;
|
|
3230
|
+
const captcha = this.getFormValue('captcha');
|
|
3231
|
+
const name = this.getFormValue('name');
|
|
3232
|
+
const email = this.getFormValue('email');
|
|
3233
|
+
const topic = this.selectedTopic;
|
|
3234
|
+
const subject = this.getFormValue('subject');
|
|
3235
|
+
const message = this.getFormValue('message');
|
|
3236
|
+
this.api.sendContactUs(captcha, name, email, topic, subject, message, () => {
|
|
3237
|
+
this.formSubmitted = false;
|
|
3238
|
+
this.notificationService.success('Message has been sent successfully');
|
|
3239
|
+
this.formGroup.reset();
|
|
3240
|
+
this.recaptcha.resetCaptcha();
|
|
3241
|
+
this.submit.emit();
|
|
3242
|
+
}, () => {
|
|
3243
|
+
this.notificationService.error();
|
|
3244
|
+
});
|
|
3245
|
+
}
|
|
3246
|
+
//Events
|
|
3247
|
+
onSubmit() {
|
|
3248
|
+
this.contactUs();
|
|
3249
|
+
}
|
|
3250
|
+
onTopicChange(event) {
|
|
3251
|
+
this.selectedTopic = event.target.value;
|
|
3252
|
+
}
|
|
3253
|
+
}
|
|
3254
|
+
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 });
|
|
3255
|
+
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"] }] });
|
|
3256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContactUsForm, decorators: [{
|
|
3257
|
+
type: Component,
|
|
3258
|
+
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" }]
|
|
3259
|
+
}], ctorParameters: function () { return [{ type: i1$7.FormBuilder }, { type: i2$1.AppContextService }, { type: i3.EmailsApiService }, { type: i4.NotificationService }]; }, propDecorators: { showActionButtons: [{
|
|
3260
|
+
type: Input
|
|
3261
|
+
}], submit: [{
|
|
3262
|
+
type: Output
|
|
3263
|
+
}], recaptcha: [{
|
|
3264
|
+
type: ViewChild,
|
|
3265
|
+
args: ['recaptcha']
|
|
3266
|
+
}] } });
|
|
3267
|
+
|
|
3188
3268
|
/*
|
|
3189
3269
|
<file>
|
|
3190
3270
|
Project:
|
|
@@ -3200,7 +3280,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3200
3280
|
Version:
|
|
3201
3281
|
1.0
|
|
3202
3282
|
|
|
3203
|
-
Copyright (c) 2016-
|
|
3283
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3204
3284
|
</file>
|
|
3205
3285
|
*/
|
|
3206
3286
|
class ReplaceTextPipe {
|
|
@@ -3213,9 +3293,9 @@ class ReplaceTextPipe {
|
|
|
3213
3293
|
}
|
|
3214
3294
|
}
|
|
3215
3295
|
}
|
|
3216
|
-
ReplaceTextPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3217
|
-
ReplaceTextPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.
|
|
3218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3296
|
+
ReplaceTextPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ReplaceTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3297
|
+
ReplaceTextPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: ReplaceTextPipe, name: "replaceText" });
|
|
3298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ReplaceTextPipe, decorators: [{
|
|
3219
3299
|
type: Pipe,
|
|
3220
3300
|
args: [{
|
|
3221
3301
|
name: "replaceText",
|
|
@@ -3237,7 +3317,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3237
3317
|
Version:
|
|
3238
3318
|
1.0
|
|
3239
3319
|
|
|
3240
|
-
Copyright (c) 2016-
|
|
3320
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3241
3321
|
</file>
|
|
3242
3322
|
*/
|
|
3243
3323
|
class FileSizePipe {
|
|
@@ -3255,9 +3335,9 @@ class FileSizePipe {
|
|
|
3255
3335
|
return bytes.toFixed(+precision) + ' ' + this.units[unit];
|
|
3256
3336
|
}
|
|
3257
3337
|
}
|
|
3258
|
-
FileSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3259
|
-
FileSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.
|
|
3260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3338
|
+
FileSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FileSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3339
|
+
FileSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: FileSizePipe, name: "filesize" });
|
|
3340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FileSizePipe, decorators: [{
|
|
3261
3341
|
type: Pipe,
|
|
3262
3342
|
args: [{
|
|
3263
3343
|
name: 'filesize',
|
|
@@ -3279,7 +3359,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3279
3359
|
Version:
|
|
3280
3360
|
1.0
|
|
3281
3361
|
|
|
3282
|
-
Copyright (c) 2016-
|
|
3362
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3283
3363
|
</file>
|
|
3284
3364
|
*/
|
|
3285
3365
|
class SafeHtmlPipe {
|
|
@@ -3290,9 +3370,9 @@ class SafeHtmlPipe {
|
|
|
3290
3370
|
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
3291
3371
|
}
|
|
3292
3372
|
}
|
|
3293
|
-
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3294
|
-
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.
|
|
3295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3373
|
+
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 });
|
|
3374
|
+
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: SafeHtmlPipe, name: "safeHtml" });
|
|
3375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
3296
3376
|
type: Pipe,
|
|
3297
3377
|
args: [{ name: 'safeHtml' }]
|
|
3298
3378
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -3307,56 +3387,88 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3307
3387
|
Anatoly Osovitny
|
|
3308
3388
|
|
|
3309
3389
|
Created:
|
|
3310
|
-
|
|
3390
|
+
29 June 2020
|
|
3311
3391
|
|
|
3312
|
-
|
|
3313
|
-
|
|
3392
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3393
|
+
</file>
|
|
3394
|
+
*/
|
|
3395
|
+
let InjectorInstance;
|
|
3396
|
+
class AnatolyCoreModule {
|
|
3397
|
+
constructor(injector, parentModule) {
|
|
3398
|
+
this.injector = injector;
|
|
3399
|
+
throwIfAlreadyLoaded(parentModule, 'AnatolyCoreModule');
|
|
3400
|
+
InjectorInstance = this.injector;
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
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 });
|
|
3404
|
+
AnatolyCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: AnatolyCoreModule, imports: [CommonModule] });
|
|
3405
|
+
AnatolyCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyCoreModule, providers: [
|
|
3406
|
+
LoggingService,
|
|
3407
|
+
NotificationService,
|
|
3408
|
+
AppContextService,
|
|
3409
|
+
LoadingService,
|
|
3410
|
+
DigitalMarketingService,
|
|
3411
|
+
GoogleAnalyticsService,
|
|
3412
|
+
LocalStorageService,
|
|
3413
|
+
SessionStorageService
|
|
3414
|
+
], imports: [CommonModule] });
|
|
3415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyCoreModule, decorators: [{
|
|
3416
|
+
type: NgModule,
|
|
3417
|
+
args: [{
|
|
3418
|
+
imports: [CommonModule],
|
|
3419
|
+
exports: [],
|
|
3420
|
+
providers: [
|
|
3421
|
+
LoggingService,
|
|
3422
|
+
NotificationService,
|
|
3423
|
+
AppContextService,
|
|
3424
|
+
LoadingService,
|
|
3425
|
+
DigitalMarketingService,
|
|
3426
|
+
GoogleAnalyticsService,
|
|
3427
|
+
LocalStorageService,
|
|
3428
|
+
SessionStorageService
|
|
3429
|
+
],
|
|
3430
|
+
}]
|
|
3431
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: AnatolyCoreModule, decorators: [{
|
|
3432
|
+
type: Optional
|
|
3433
|
+
}, {
|
|
3434
|
+
type: SkipSelf
|
|
3435
|
+
}] }]; } });
|
|
3436
|
+
|
|
3437
|
+
/*
|
|
3438
|
+
<file>
|
|
3439
|
+
Project:
|
|
3440
|
+
@osovitny/anatoly
|
|
3314
3441
|
|
|
3315
|
-
|
|
3442
|
+
Authors:
|
|
3443
|
+
Vadim Osovitny
|
|
3444
|
+
Anatoly Osovitny
|
|
3445
|
+
|
|
3446
|
+
Created:
|
|
3447
|
+
16 Jun 2022
|
|
3448
|
+
|
|
3449
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3316
3450
|
</file>
|
|
3317
3451
|
*/
|
|
3318
|
-
class
|
|
3319
|
-
constructor() {
|
|
3320
|
-
super();
|
|
3321
|
-
this.
|
|
3322
|
-
this.customerrors = [];
|
|
3323
|
-
/*
|
|
3324
|
-
0 - only FormValidation messages
|
|
3325
|
-
1 - only Custom messages
|
|
3326
|
-
2 - all
|
|
3327
|
-
*/
|
|
3328
|
-
this.viewtype = 0;
|
|
3452
|
+
class EmailsApiService extends BaseApiService$1 {
|
|
3453
|
+
constructor(http) {
|
|
3454
|
+
super(http);
|
|
3455
|
+
this.http = http;
|
|
3329
3456
|
}
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
}
|
|
3338
|
-
var messages = [];
|
|
3339
|
-
if (formValidationMessages.length > 0) {
|
|
3340
|
-
messages.push(...formValidationMessages);
|
|
3341
|
-
}
|
|
3342
|
-
if (this.customerrors.length > 0) {
|
|
3343
|
-
messages.push(...this.customerrors);
|
|
3344
|
-
}
|
|
3345
|
-
return messages;
|
|
3457
|
+
sendContactUs(captcha, name, email, topic, subject, message, success, error) {
|
|
3458
|
+
return this.post('sendContactUs', { captcha, name, email, topic, subject, message }).subscribe(data => {
|
|
3459
|
+
if (success)
|
|
3460
|
+
success(data);
|
|
3461
|
+
}, e => {
|
|
3462
|
+
if (error)
|
|
3463
|
+
error(e);
|
|
3464
|
+
});
|
|
3346
3465
|
}
|
|
3347
3466
|
}
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3351
|
-
type:
|
|
3352
|
-
|
|
3353
|
-
}], ctorParameters: function () { return []; }, propDecorators: { visible: [{
|
|
3354
|
-
type: Input
|
|
3355
|
-
}], customerrors: [{
|
|
3356
|
-
type: Input
|
|
3357
|
-
}], viewtype: [{
|
|
3358
|
-
type: Input
|
|
3359
|
-
}] } });
|
|
3467
|
+
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 });
|
|
3468
|
+
EmailsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: EmailsApiService });
|
|
3469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: EmailsApiService, decorators: [{
|
|
3470
|
+
type: Injectable
|
|
3471
|
+
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
3360
3472
|
|
|
3361
3473
|
/*
|
|
3362
3474
|
<file>
|
|
@@ -3368,20 +3480,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3368
3480
|
Anatoly Osovitny
|
|
3369
3481
|
|
|
3370
3482
|
Created:
|
|
3371
|
-
|
|
3483
|
+
4 Mar 2020
|
|
3372
3484
|
|
|
3373
|
-
|
|
3374
|
-
|
|
3485
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3486
|
+
</file>
|
|
3487
|
+
*/
|
|
3488
|
+
class AnatolyDataModule {
|
|
3489
|
+
constructor(parentModule) {
|
|
3490
|
+
throwIfAlreadyLoaded$1(parentModule, 'AnatolyDataModule');
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
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 });
|
|
3494
|
+
AnatolyDataModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: AnatolyDataModule, imports: [CommonModule] });
|
|
3495
|
+
AnatolyDataModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyDataModule, providers: [
|
|
3496
|
+
BillingApiService,
|
|
3497
|
+
EmailsApiService
|
|
3498
|
+
], imports: [CommonModule] });
|
|
3499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyDataModule, decorators: [{
|
|
3500
|
+
type: NgModule,
|
|
3501
|
+
args: [{
|
|
3502
|
+
imports: [
|
|
3503
|
+
CommonModule
|
|
3504
|
+
],
|
|
3505
|
+
providers: [
|
|
3506
|
+
BillingApiService,
|
|
3507
|
+
EmailsApiService
|
|
3508
|
+
]
|
|
3509
|
+
}]
|
|
3510
|
+
}], ctorParameters: function () { return [{ type: AnatolyDataModule, decorators: [{
|
|
3511
|
+
type: Optional
|
|
3512
|
+
}, {
|
|
3513
|
+
type: SkipSelf
|
|
3514
|
+
}] }]; } });
|
|
3515
|
+
|
|
3516
|
+
/*
|
|
3517
|
+
<file>
|
|
3518
|
+
Project:
|
|
3519
|
+
@osovitny/anatoly
|
|
3375
3520
|
|
|
3376
|
-
|
|
3521
|
+
Authors:
|
|
3522
|
+
Vadim Osovitny
|
|
3523
|
+
Anatoly Osovitny
|
|
3524
|
+
|
|
3525
|
+
Created:
|
|
3526
|
+
26 Jun 2020
|
|
3527
|
+
|
|
3528
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3377
3529
|
</file>
|
|
3378
3530
|
*/
|
|
3379
3531
|
const FroalaEditorModuleWithProviders = FroalaEditorModule.forRoot();
|
|
3380
3532
|
const FroalaViewModuleWithProviders = FroalaViewModule.forRoot();
|
|
3381
3533
|
class AnatolyUIModule {
|
|
3382
3534
|
}
|
|
3383
|
-
AnatolyUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3384
|
-
AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
3535
|
+
AnatolyUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3536
|
+
AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, declarations: [SubscribePlanButtonComponent,
|
|
3385
3537
|
UpgradePlanButtonComponent,
|
|
3386
3538
|
BuyAccessButtonComponent,
|
|
3387
3539
|
SignInButtonComponent,
|
|
@@ -3390,19 +3542,22 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
3390
3542
|
ContentHeaderComponent,
|
|
3391
3543
|
SpinnerComponent,
|
|
3392
3544
|
LoadingComponent,
|
|
3393
|
-
NativeElementDirective,
|
|
3394
|
-
//Editor
|
|
3395
3545
|
HtmlEditorComponent,
|
|
3396
3546
|
FormsHtmlEditorComponent,
|
|
3397
|
-
//
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3547
|
+
//Directives
|
|
3548
|
+
NativeElementDirective,
|
|
3549
|
+
//Forms
|
|
3550
|
+
ContactUsForm,
|
|
3551
|
+
//Pipes
|
|
3401
3552
|
SafeHtmlPipe,
|
|
3402
3553
|
ReplaceTextPipe,
|
|
3403
|
-
FileSizePipe
|
|
3554
|
+
FileSizePipe,
|
|
3555
|
+
//Validation
|
|
3556
|
+
FormValidationSummaryComponent,
|
|
3557
|
+
ItemValidationSummaryComponent], imports: [CommonModule,
|
|
3404
3558
|
ReactiveFormsModule,
|
|
3405
|
-
FormsModule,
|
|
3559
|
+
FormsModule,
|
|
3560
|
+
NgxCaptchaModule, i1$8.FroalaEditorModule, i1$8.FroalaViewModule], exports: [SubscribePlanButtonComponent,
|
|
3406
3561
|
UpgradePlanButtonComponent,
|
|
3407
3562
|
BuyAccessButtonComponent,
|
|
3408
3563
|
SignInButtonComponent,
|
|
@@ -3411,29 +3566,33 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
3411
3566
|
ContentHeaderComponent,
|
|
3412
3567
|
SpinnerComponent,
|
|
3413
3568
|
LoadingComponent,
|
|
3414
|
-
NativeElementDirective,
|
|
3415
|
-
//Editor
|
|
3416
3569
|
HtmlEditorComponent,
|
|
3417
3570
|
FormsHtmlEditorComponent,
|
|
3418
|
-
//
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3571
|
+
//Directives
|
|
3572
|
+
NativeElementDirective,
|
|
3573
|
+
//Forms
|
|
3574
|
+
ContactUsForm,
|
|
3575
|
+
//Pipes
|
|
3422
3576
|
SafeHtmlPipe,
|
|
3423
3577
|
ReplaceTextPipe,
|
|
3424
|
-
FileSizePipe
|
|
3425
|
-
|
|
3578
|
+
FileSizePipe,
|
|
3579
|
+
//Validation
|
|
3580
|
+
FormValidationSummaryComponent,
|
|
3581
|
+
ItemValidationSummaryComponent] });
|
|
3582
|
+
AnatolyUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, imports: [CommonModule,
|
|
3426
3583
|
ReactiveFormsModule,
|
|
3427
3584
|
FormsModule,
|
|
3585
|
+
NgxCaptchaModule,
|
|
3428
3586
|
FroalaEditorModuleWithProviders,
|
|
3429
3587
|
FroalaViewModuleWithProviders] });
|
|
3430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, decorators: [{
|
|
3431
3589
|
type: NgModule,
|
|
3432
3590
|
args: [{
|
|
3433
3591
|
imports: [
|
|
3434
3592
|
CommonModule,
|
|
3435
3593
|
ReactiveFormsModule,
|
|
3436
3594
|
FormsModule,
|
|
3595
|
+
NgxCaptchaModule,
|
|
3437
3596
|
FroalaEditorModuleWithProviders,
|
|
3438
3597
|
FroalaViewModuleWithProviders,
|
|
3439
3598
|
],
|
|
@@ -3447,17 +3606,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3447
3606
|
ContentHeaderComponent,
|
|
3448
3607
|
SpinnerComponent,
|
|
3449
3608
|
LoadingComponent,
|
|
3450
|
-
NativeElementDirective,
|
|
3451
|
-
//Editor
|
|
3452
3609
|
HtmlEditorComponent,
|
|
3453
3610
|
FormsHtmlEditorComponent,
|
|
3454
|
-
//
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3611
|
+
//Directives
|
|
3612
|
+
NativeElementDirective,
|
|
3613
|
+
//Forms
|
|
3614
|
+
ContactUsForm,
|
|
3615
|
+
//Pipes
|
|
3458
3616
|
SafeHtmlPipe,
|
|
3459
3617
|
ReplaceTextPipe,
|
|
3460
3618
|
FileSizePipe,
|
|
3619
|
+
//Validation
|
|
3620
|
+
FormValidationSummaryComponent,
|
|
3621
|
+
ItemValidationSummaryComponent,
|
|
3461
3622
|
],
|
|
3462
3623
|
declarations: [
|
|
3463
3624
|
SubscribePlanButtonComponent,
|
|
@@ -3469,17 +3630,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3469
3630
|
ContentHeaderComponent,
|
|
3470
3631
|
SpinnerComponent,
|
|
3471
3632
|
LoadingComponent,
|
|
3472
|
-
NativeElementDirective,
|
|
3473
|
-
//Editor
|
|
3474
3633
|
HtmlEditorComponent,
|
|
3475
3634
|
FormsHtmlEditorComponent,
|
|
3476
|
-
//
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3635
|
+
//Directives
|
|
3636
|
+
NativeElementDirective,
|
|
3637
|
+
//Forms
|
|
3638
|
+
ContactUsForm,
|
|
3639
|
+
//Pipes
|
|
3480
3640
|
SafeHtmlPipe,
|
|
3481
3641
|
ReplaceTextPipe,
|
|
3482
3642
|
FileSizePipe,
|
|
3643
|
+
//Validation
|
|
3644
|
+
FormValidationSummaryComponent,
|
|
3645
|
+
ItemValidationSummaryComponent,
|
|
3483
3646
|
]
|
|
3484
3647
|
}]
|
|
3485
3648
|
}] });
|
|
@@ -3492,5 +3655,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3492
3655
|
* Generated bundle index. Do not edit.
|
|
3493
3656
|
*/
|
|
3494
3657
|
|
|
3495
|
-
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 };
|
|
3658
|
+
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 };
|
|
3496
3659
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|