@osovitny/anatoly 2.14.1 → 2.14.2
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 +544 -382
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +541 -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,31 @@ 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 '@ui/components/base-edit.component';
|
|
33
|
+
import * as i3 from '@data/services/emails-api.service';
|
|
34
|
+
import * as i4 from '@core/notifications/services/notification-service';
|
|
35
|
+
import * as i6 from 'ngx-captcha';
|
|
36
|
+
import { NgxCaptchaModule } from 'ngx-captcha';
|
|
37
|
+
import { throwIfAlreadyLoaded as throwIfAlreadyLoaded$1 } from '@core/guards/once-import.guard';
|
|
38
|
+
import { BaseApiService as BaseApiService$1 } from '@data/base/base-api.service';
|
|
25
39
|
|
|
26
40
|
/*
|
|
27
41
|
<file>
|
|
@@ -35,7 +49,7 @@ import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg';
|
|
|
35
49
|
Created:
|
|
36
50
|
26 Jun 2020
|
|
37
51
|
|
|
38
|
-
Copyright (c) 2016-
|
|
52
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
39
53
|
</file>
|
|
40
54
|
*/
|
|
41
55
|
const ContextInitState = JSON.parse((document.getElementById('contextInitState')).getAttribute('data-contextinitstate'));
|
|
@@ -75,7 +89,7 @@ const Urls = {
|
|
|
75
89
|
Version:
|
|
76
90
|
1.0
|
|
77
91
|
|
|
78
|
-
Copyright (c) 2016-
|
|
92
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
79
93
|
</file>
|
|
80
94
|
*/
|
|
81
95
|
class BaseGoService {
|
|
@@ -92,9 +106,9 @@ class BaseGoService {
|
|
|
92
106
|
window.location.href = "/";
|
|
93
107
|
}
|
|
94
108
|
}
|
|
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.
|
|
109
|
+
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 });
|
|
110
|
+
BaseGoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGoService });
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGoService, decorators: [{
|
|
98
112
|
type: Injectable
|
|
99
113
|
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i1.Router }]; } });
|
|
100
114
|
|
|
@@ -113,7 +127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
113
127
|
Version:
|
|
114
128
|
1.0
|
|
115
129
|
|
|
116
|
-
Copyright (c) 2016-
|
|
130
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
117
131
|
</file>
|
|
118
132
|
*/
|
|
119
133
|
function throwIfAlreadyLoaded(parentModule, moduleName) {
|
|
@@ -137,7 +151,7 @@ function throwIfAlreadyLoaded(parentModule, moduleName) {
|
|
|
137
151
|
Version:
|
|
138
152
|
1.0
|
|
139
153
|
|
|
140
|
-
Copyright (c) 2016-
|
|
154
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
141
155
|
</file>
|
|
142
156
|
*/
|
|
143
157
|
class LoadingService extends BehaviorSubject {
|
|
@@ -179,9 +193,9 @@ class LoadingService extends BehaviorSubject {
|
|
|
179
193
|
this.counter = 0;
|
|
180
194
|
}
|
|
181
195
|
}
|
|
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.
|
|
196
|
+
LoadingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
197
|
+
LoadingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingService, providedIn: "root" });
|
|
198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingService, decorators: [{
|
|
185
199
|
type: Injectable,
|
|
186
200
|
args: [{
|
|
187
201
|
providedIn: "root",
|
|
@@ -203,7 +217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
203
217
|
Version:
|
|
204
218
|
1.0
|
|
205
219
|
|
|
206
|
-
Copyright (c) 2016-
|
|
220
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
207
221
|
</file>
|
|
208
222
|
*/
|
|
209
223
|
class LoggingService {
|
|
@@ -215,9 +229,9 @@ class LoggingService {
|
|
|
215
229
|
console.info(info);
|
|
216
230
|
}
|
|
217
231
|
}
|
|
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.
|
|
232
|
+
LoggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoggingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
233
|
+
LoggingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoggingService, providedIn: "root" });
|
|
234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoggingService, decorators: [{
|
|
221
235
|
type: Injectable,
|
|
222
236
|
args: [{
|
|
223
237
|
providedIn: "root",
|
|
@@ -239,7 +253,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
239
253
|
Version:
|
|
240
254
|
1.0
|
|
241
255
|
|
|
242
|
-
Copyright (c) 2016-
|
|
256
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
243
257
|
</file>
|
|
244
258
|
*/
|
|
245
259
|
class AnatolyHttpInterceptor {
|
|
@@ -316,9 +330,9 @@ class AnatolyHttpInterceptor {
|
|
|
316
330
|
}
|
|
317
331
|
}
|
|
318
332
|
}
|
|
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.
|
|
333
|
+
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 });
|
|
334
|
+
AnatolyHttpInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyHttpInterceptor });
|
|
335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyHttpInterceptor, decorators: [{
|
|
322
336
|
type: Injectable
|
|
323
337
|
}], ctorParameters: function () { return [{ type: LoadingService }, { type: LoggingService }]; } });
|
|
324
338
|
|
|
@@ -334,7 +348,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
334
348
|
Created:
|
|
335
349
|
29 June 2020
|
|
336
350
|
|
|
337
|
-
Copyright (c) 2016-
|
|
351
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
338
352
|
</file>
|
|
339
353
|
*/
|
|
340
354
|
class Convert {
|
|
@@ -399,7 +413,7 @@ class Convert {
|
|
|
399
413
|
Version:
|
|
400
414
|
1.0
|
|
401
415
|
|
|
402
|
-
Copyright (c) 2016-
|
|
416
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
403
417
|
</file>
|
|
404
418
|
*/
|
|
405
419
|
class LocalizationService {
|
|
@@ -549,9 +563,9 @@ class LocalizationService {
|
|
|
549
563
|
return result;
|
|
550
564
|
}
|
|
551
565
|
}
|
|
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.
|
|
566
|
+
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 });
|
|
567
|
+
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationService, providedIn: 'root' });
|
|
568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationService, decorators: [{
|
|
555
569
|
type: Injectable,
|
|
556
570
|
args: [{
|
|
557
571
|
providedIn: 'root'
|
|
@@ -573,7 +587,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
573
587
|
Version:
|
|
574
588
|
1.0
|
|
575
589
|
|
|
576
|
-
Copyright (c) 2016-
|
|
590
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
577
591
|
</file>
|
|
578
592
|
*/
|
|
579
593
|
class LocalizePipe {
|
|
@@ -623,9 +637,9 @@ class LocalizePipe {
|
|
|
623
637
|
return inputData;
|
|
624
638
|
}
|
|
625
639
|
}
|
|
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.
|
|
640
|
+
LocalizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizePipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
641
|
+
LocalizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: LocalizePipe, name: "localize" });
|
|
642
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizePipe, decorators: [{
|
|
629
643
|
type: Pipe,
|
|
630
644
|
args: [{
|
|
631
645
|
name: 'localize'
|
|
@@ -647,7 +661,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
647
661
|
Version:
|
|
648
662
|
1.0
|
|
649
663
|
|
|
650
|
-
Copyright (c) 2016-
|
|
664
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
651
665
|
</file>
|
|
652
666
|
*/
|
|
653
667
|
function customTranslateLoaderFactory(http) {
|
|
@@ -681,9 +695,9 @@ class LocalizationSettingsModule {
|
|
|
681
695
|
LocalizationInjectorInstance = this.injector;
|
|
682
696
|
}
|
|
683
697
|
}
|
|
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.
|
|
698
|
+
LocalizationSettingsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationSettingsModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
699
|
+
LocalizationSettingsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: LocalizationSettingsModule, imports: [i1$1.TranslateModule] });
|
|
700
|
+
LocalizationSettingsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationSettingsModule, providers: [
|
|
687
701
|
{
|
|
688
702
|
provide: APP_INITIALIZER,
|
|
689
703
|
useFactory: localizationInitializerFactory,
|
|
@@ -691,7 +705,7 @@ LocalizationSettingsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.
|
|
|
691
705
|
multi: true
|
|
692
706
|
}
|
|
693
707
|
], imports: [TranslateModuleAtRoot] });
|
|
694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationSettingsModule, decorators: [{
|
|
695
709
|
type: NgModule,
|
|
696
710
|
args: [{
|
|
697
711
|
imports: [
|
|
@@ -724,16 +738,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
724
738
|
Version:
|
|
725
739
|
1.0
|
|
726
740
|
|
|
727
|
-
Copyright (c) 2016-
|
|
741
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
728
742
|
</file>
|
|
729
743
|
*/
|
|
730
744
|
class LocalizationModule {
|
|
731
745
|
}
|
|
732
|
-
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
733
|
-
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
746
|
+
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
747
|
+
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: LocalizationModule, declarations: [LocalizePipe], imports: [TranslateModule], exports: [TranslateModule,
|
|
734
748
|
LocalizePipe] });
|
|
735
|
-
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.
|
|
736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
749
|
+
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationModule, imports: [TranslateModule, TranslateModule] });
|
|
750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalizationModule, decorators: [{
|
|
737
751
|
type: NgModule,
|
|
738
752
|
args: [{
|
|
739
753
|
imports: [
|
|
@@ -765,7 +779,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
765
779
|
Version:
|
|
766
780
|
1.0
|
|
767
781
|
|
|
768
|
-
Copyright (c) 2016-
|
|
782
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
769
783
|
</file>
|
|
770
784
|
*/
|
|
771
785
|
class GlobalErrorHandler {
|
|
@@ -779,9 +793,9 @@ class GlobalErrorHandler {
|
|
|
779
793
|
throw error;
|
|
780
794
|
}
|
|
781
795
|
}
|
|
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.
|
|
796
|
+
GlobalErrorHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GlobalErrorHandler, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
797
|
+
GlobalErrorHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GlobalErrorHandler });
|
|
798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GlobalErrorHandler, decorators: [{
|
|
785
799
|
type: Injectable
|
|
786
800
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
787
801
|
|
|
@@ -800,7 +814,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
800
814
|
Version:
|
|
801
815
|
1.0
|
|
802
816
|
|
|
803
|
-
Copyright (c) 2016-
|
|
817
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
804
818
|
</file>
|
|
805
819
|
*/
|
|
806
820
|
class L10nUtils {
|
|
@@ -842,7 +856,7 @@ class L10nUtils {
|
|
|
842
856
|
Version:
|
|
843
857
|
1.0
|
|
844
858
|
|
|
845
|
-
Copyright (c) 2016-
|
|
859
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
846
860
|
</file>
|
|
847
861
|
*/
|
|
848
862
|
class Alerts {
|
|
@@ -949,7 +963,7 @@ class Alerts {
|
|
|
949
963
|
Version:
|
|
950
964
|
1.0
|
|
951
965
|
|
|
952
|
-
Copyright (c) 2016-
|
|
966
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
953
967
|
</file>
|
|
954
968
|
*/
|
|
955
969
|
|
|
@@ -965,7 +979,7 @@ class Alerts {
|
|
|
965
979
|
Created:
|
|
966
980
|
26 Jun 2020
|
|
967
981
|
|
|
968
|
-
Copyright (c) 2016-
|
|
982
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
969
983
|
</file>
|
|
970
984
|
*/
|
|
971
985
|
class Guid {
|
|
@@ -989,7 +1003,7 @@ class Guid {
|
|
|
989
1003
|
Version:
|
|
990
1004
|
1.0
|
|
991
1005
|
|
|
992
|
-
Copyright (c) 2016-
|
|
1006
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
993
1007
|
</file>
|
|
994
1008
|
*/
|
|
995
1009
|
// SignalR
|
|
@@ -1186,9 +1200,9 @@ class NotificationService {
|
|
|
1186
1200
|
this._serverNotifications.next(val);
|
|
1187
1201
|
}
|
|
1188
1202
|
}
|
|
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.
|
|
1203
|
+
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 });
|
|
1204
|
+
NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationService, providedIn: 'root' });
|
|
1205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationService, decorators: [{
|
|
1192
1206
|
type: Injectable,
|
|
1193
1207
|
args: [{ providedIn: 'root' }]
|
|
1194
1208
|
}], ctorParameters: function () { return [{ type: i1$2.ToastrService }]; } });
|
|
@@ -1208,7 +1222,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1208
1222
|
Version:
|
|
1209
1223
|
1.0
|
|
1210
1224
|
|
|
1211
|
-
Copyright (c) 2016-
|
|
1225
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1212
1226
|
</file>
|
|
1213
1227
|
*/
|
|
1214
1228
|
class BaseApiService {
|
|
@@ -1269,9 +1283,9 @@ class BaseApiService {
|
|
|
1269
1283
|
return this.http.get(url).pipe(map(res => res));
|
|
1270
1284
|
}
|
|
1271
1285
|
}
|
|
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.
|
|
1286
|
+
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 });
|
|
1287
|
+
BaseApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseApiService });
|
|
1288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseApiService, decorators: [{
|
|
1275
1289
|
type: Injectable
|
|
1276
1290
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1277
1291
|
|
|
@@ -1290,7 +1304,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1290
1304
|
Version:
|
|
1291
1305
|
1.0
|
|
1292
1306
|
|
|
1293
|
-
Copyright (c) 2016-
|
|
1307
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1294
1308
|
</file>
|
|
1295
1309
|
*/
|
|
1296
1310
|
class WebStorageService {
|
|
@@ -1325,9 +1339,9 @@ class LocalStorageService extends WebStorageService {
|
|
|
1325
1339
|
super('localStorage');
|
|
1326
1340
|
}
|
|
1327
1341
|
}
|
|
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.
|
|
1342
|
+
LocalStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1343
|
+
LocalStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalStorageService });
|
|
1344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
1331
1345
|
type: Injectable
|
|
1332
1346
|
}], ctorParameters: function () { return []; } });
|
|
1333
1347
|
class SessionStorageService extends WebStorageService {
|
|
@@ -1335,9 +1349,9 @@ class SessionStorageService extends WebStorageService {
|
|
|
1335
1349
|
super('sessionStorage');
|
|
1336
1350
|
}
|
|
1337
1351
|
}
|
|
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.
|
|
1352
|
+
SessionStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SessionStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1353
|
+
SessionStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SessionStorageService });
|
|
1354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
1341
1355
|
type: Injectable
|
|
1342
1356
|
}], ctorParameters: function () { return []; } });
|
|
1343
1357
|
|
|
@@ -1353,7 +1367,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1353
1367
|
Created:
|
|
1354
1368
|
13 Nov 2017
|
|
1355
1369
|
|
|
1356
|
-
Copyright (c) 2016-
|
|
1370
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1357
1371
|
</file>
|
|
1358
1372
|
*/
|
|
1359
1373
|
class AppContextService extends BaseApiService {
|
|
@@ -1445,9 +1459,9 @@ class AppContextService extends BaseApiService {
|
|
|
1445
1459
|
this.setCurrentFromSession(value);
|
|
1446
1460
|
}
|
|
1447
1461
|
}
|
|
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.
|
|
1462
|
+
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 });
|
|
1463
|
+
AppContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AppContextService });
|
|
1464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AppContextService, decorators: [{
|
|
1451
1465
|
type: Injectable
|
|
1452
1466
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }, { type: SessionStorageService }]; } });
|
|
1453
1467
|
|
|
@@ -1466,7 +1480,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1466
1480
|
Version:
|
|
1467
1481
|
1.0
|
|
1468
1482
|
|
|
1469
|
-
Copyright (c) 2016-
|
|
1483
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1470
1484
|
</file>
|
|
1471
1485
|
*/
|
|
1472
1486
|
class IdleService {
|
|
@@ -1513,9 +1527,9 @@ class IdleService {
|
|
|
1513
1527
|
this.startTimer();
|
|
1514
1528
|
}
|
|
1515
1529
|
}
|
|
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.
|
|
1530
|
+
IdleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: IdleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1531
|
+
IdleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: IdleService, providedIn: 'root' });
|
|
1532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: IdleService, decorators: [{
|
|
1519
1533
|
type: Injectable,
|
|
1520
1534
|
args: [{
|
|
1521
1535
|
providedIn: 'root'
|
|
@@ -1537,7 +1551,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1537
1551
|
Version:
|
|
1538
1552
|
1.0
|
|
1539
1553
|
|
|
1540
|
-
Copyright (c) 2016-
|
|
1554
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1541
1555
|
</file>
|
|
1542
1556
|
*/
|
|
1543
1557
|
class DigitalMarketingService {
|
|
@@ -1577,9 +1591,9 @@ class DigitalMarketingService {
|
|
|
1577
1591
|
link.setAttribute('href', canUrl);
|
|
1578
1592
|
}
|
|
1579
1593
|
}
|
|
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.
|
|
1594
|
+
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 });
|
|
1595
|
+
DigitalMarketingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: DigitalMarketingService, providedIn: 'root' });
|
|
1596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: DigitalMarketingService, decorators: [{
|
|
1583
1597
|
type: Injectable,
|
|
1584
1598
|
args: [{
|
|
1585
1599
|
providedIn: 'root'
|
|
@@ -1604,7 +1618,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1604
1618
|
Version:
|
|
1605
1619
|
1.0
|
|
1606
1620
|
|
|
1607
|
-
Copyright (c) 2016-
|
|
1621
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1608
1622
|
</file>
|
|
1609
1623
|
*/
|
|
1610
1624
|
class GoogleAnalyticsService {
|
|
@@ -1632,69 +1646,12 @@ class GoogleAnalyticsService {
|
|
|
1632
1646
|
}
|
|
1633
1647
|
}
|
|
1634
1648
|
}
|
|
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.
|
|
1649
|
+
GoogleAnalyticsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GoogleAnalyticsService, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1650
|
+
GoogleAnalyticsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GoogleAnalyticsService });
|
|
1651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: GoogleAnalyticsService, decorators: [{
|
|
1638
1652
|
type: Injectable
|
|
1639
1653
|
}], ctorParameters: function () { return [{ type: i1.Router }]; } });
|
|
1640
1654
|
|
|
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
1655
|
/*
|
|
1699
1656
|
<file>
|
|
1700
1657
|
Project:
|
|
@@ -1707,7 +1664,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1707
1664
|
Created:
|
|
1708
1665
|
26 Jun 2020
|
|
1709
1666
|
|
|
1710
|
-
Copyright (c) 2016-
|
|
1667
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1711
1668
|
</file>
|
|
1712
1669
|
*/
|
|
1713
1670
|
class Subs {
|
|
@@ -1738,7 +1695,7 @@ class Subs {
|
|
|
1738
1695
|
Created:
|
|
1739
1696
|
19 March 2020
|
|
1740
1697
|
|
|
1741
|
-
Copyright (c) 2016-
|
|
1698
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1742
1699
|
</file>
|
|
1743
1700
|
*/
|
|
1744
1701
|
class Utils {
|
|
@@ -1823,7 +1780,7 @@ class Utils {
|
|
|
1823
1780
|
Version:
|
|
1824
1781
|
1.0
|
|
1825
1782
|
|
|
1826
|
-
Copyright (c) 2016-
|
|
1783
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1827
1784
|
</file>
|
|
1828
1785
|
*/
|
|
1829
1786
|
class BaseGridReadService extends BehaviorSubject {
|
|
@@ -1857,9 +1814,9 @@ class BaseGridReadService extends BehaviorSubject {
|
|
|
1857
1814
|
});
|
|
1858
1815
|
}
|
|
1859
1816
|
}
|
|
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.
|
|
1817
|
+
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 });
|
|
1818
|
+
BaseGridReadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridReadService });
|
|
1819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridReadService, decorators: [{
|
|
1863
1820
|
type: Injectable
|
|
1864
1821
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1865
1822
|
|
|
@@ -1878,7 +1835,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1878
1835
|
Version:
|
|
1879
1836
|
1.0
|
|
1880
1837
|
|
|
1881
|
-
Copyright (c) 2016-
|
|
1838
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1882
1839
|
</file>
|
|
1883
1840
|
*/
|
|
1884
1841
|
class BaseGridEditService extends BaseGridReadService {
|
|
@@ -1927,9 +1884,9 @@ class BaseGridEditService extends BaseGridReadService {
|
|
|
1927
1884
|
return this.http.post(url, data).pipe(map(res => res));
|
|
1928
1885
|
}
|
|
1929
1886
|
}
|
|
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.
|
|
1887
|
+
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 });
|
|
1888
|
+
BaseGridEditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridEditService });
|
|
1889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseGridEditService, decorators: [{
|
|
1933
1890
|
type: Injectable
|
|
1934
1891
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
1935
1892
|
|
|
@@ -1948,7 +1905,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
1948
1905
|
Version:
|
|
1949
1906
|
1.0
|
|
1950
1907
|
|
|
1951
|
-
Copyright (c) 2016-
|
|
1908
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1952
1909
|
</file>
|
|
1953
1910
|
*/
|
|
1954
1911
|
const consts = {
|
|
@@ -1972,7 +1929,7 @@ const consts = {
|
|
|
1972
1929
|
Version:
|
|
1973
1930
|
1.0
|
|
1974
1931
|
|
|
1975
|
-
Copyright (c) 2016-
|
|
1932
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1976
1933
|
</file>
|
|
1977
1934
|
*/
|
|
1978
1935
|
class NotificationsApiService extends BaseApiService {
|
|
@@ -1985,9 +1942,9 @@ class NotificationsApiService extends BaseApiService {
|
|
|
1985
1942
|
return this.get('retrieveNotifications');
|
|
1986
1943
|
}
|
|
1987
1944
|
}
|
|
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.
|
|
1945
|
+
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 });
|
|
1946
|
+
NotificationsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationsApiService, providedIn: 'root' });
|
|
1947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NotificationsApiService, decorators: [{
|
|
1991
1948
|
type: Injectable,
|
|
1992
1949
|
args: [{
|
|
1993
1950
|
providedIn: 'root'
|
|
@@ -2009,7 +1966,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2009
1966
|
Version:
|
|
2010
1967
|
1.0
|
|
2011
1968
|
|
|
2012
|
-
Copyright (c) 2016-
|
|
1969
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2013
1970
|
</file>
|
|
2014
1971
|
*/
|
|
2015
1972
|
class BillingApiService extends BaseApiService {
|
|
@@ -2046,56 +2003,12 @@ class BillingApiService extends BaseApiService {
|
|
|
2046
2003
|
});
|
|
2047
2004
|
}
|
|
2048
2005
|
}
|
|
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.
|
|
2006
|
+
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 });
|
|
2007
|
+
BillingApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BillingApiService });
|
|
2008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BillingApiService, decorators: [{
|
|
2052
2009
|
type: Injectable
|
|
2053
2010
|
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
2054
2011
|
|
|
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
2012
|
/*
|
|
2100
2013
|
<file>
|
|
2101
2014
|
Project:
|
|
@@ -2111,15 +2024,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2111
2024
|
Version:
|
|
2112
2025
|
1.0
|
|
2113
2026
|
|
|
2114
|
-
Copyright (c) 2016-
|
|
2027
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2115
2028
|
</file>
|
|
2116
2029
|
*/
|
|
2117
2030
|
class BaseComponent {
|
|
2118
2031
|
constructor() {
|
|
2119
|
-
this.subs = new Subs();
|
|
2032
|
+
this.subs = new Subs$1();
|
|
2120
2033
|
}
|
|
2121
2034
|
getQSId() {
|
|
2122
|
-
var id = Utils.getValueByNameInQS("id");
|
|
2035
|
+
var id = Utils$1.getValueByNameInQS("id");
|
|
2123
2036
|
if (typeof id === "undefined" || id == "")
|
|
2124
2037
|
return null;
|
|
2125
2038
|
return id;
|
|
@@ -2128,9 +2041,9 @@ class BaseComponent {
|
|
|
2128
2041
|
this.subs.unsubscribe();
|
|
2129
2042
|
}
|
|
2130
2043
|
}
|
|
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.
|
|
2044
|
+
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2045
|
+
BaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BaseComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true });
|
|
2046
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseComponent, decorators: [{
|
|
2134
2047
|
type: Component,
|
|
2135
2048
|
args: [{
|
|
2136
2049
|
template: ''
|
|
@@ -2152,7 +2065,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2152
2065
|
Version:
|
|
2153
2066
|
1.0
|
|
2154
2067
|
|
|
2155
|
-
Copyright (c) 2016-
|
|
2068
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2156
2069
|
</file>
|
|
2157
2070
|
*/
|
|
2158
2071
|
class BaseEditComponent extends BaseComponent {
|
|
@@ -2161,7 +2074,7 @@ class BaseEditComponent extends BaseComponent {
|
|
|
2161
2074
|
this.formSubmitted = false;
|
|
2162
2075
|
}
|
|
2163
2076
|
isActionAdding() {
|
|
2164
|
-
var id = Utils.getValueByNameInQS("id");
|
|
2077
|
+
var id = Utils$1.getValueByNameInQS("id");
|
|
2165
2078
|
if (typeof id === "undefined" || id == "")
|
|
2166
2079
|
return true;
|
|
2167
2080
|
return false;
|
|
@@ -2260,9 +2173,9 @@ class BaseEditComponent extends BaseComponent {
|
|
|
2260
2173
|
return this.formGroup.controls;
|
|
2261
2174
|
}
|
|
2262
2175
|
}
|
|
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.
|
|
2176
|
+
BaseEditComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2177
|
+
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 });
|
|
2178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseEditComponent, decorators: [{
|
|
2266
2179
|
type: Component,
|
|
2267
2180
|
args: [{
|
|
2268
2181
|
template: ''
|
|
@@ -2306,9 +2219,9 @@ class BaseDialog extends BaseEditComponent {
|
|
|
2306
2219
|
this._opened = false;
|
|
2307
2220
|
}
|
|
2308
2221
|
}
|
|
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.
|
|
2222
|
+
BaseDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2223
|
+
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 });
|
|
2224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseDialog, decorators: [{
|
|
2312
2225
|
type: Component,
|
|
2313
2226
|
args: [{
|
|
2314
2227
|
template: ''
|
|
@@ -2332,14 +2245,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2332
2245
|
Version:
|
|
2333
2246
|
1.0
|
|
2334
2247
|
|
|
2335
|
-
Copyright (c) 2016-
|
|
2248
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2336
2249
|
</file>
|
|
2337
2250
|
*/
|
|
2338
2251
|
class SignUpButtonComponent {
|
|
2339
2252
|
}
|
|
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.
|
|
2253
|
+
SignUpButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignUpButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2254
|
+
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" });
|
|
2255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignUpButtonComponent, decorators: [{
|
|
2343
2256
|
type: Component,
|
|
2344
2257
|
args: [{ selector: "anatoly-signup-button", template: "<a href=\"identity/signup\" class=\"{{classbtn}}\">Sign Up</a>\r\n" }]
|
|
2345
2258
|
}], propDecorators: { classbtn: [{
|
|
@@ -2358,7 +2271,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2358
2271
|
Created:
|
|
2359
2272
|
14 Aug 2018
|
|
2360
2273
|
|
|
2361
|
-
Copyright (c) 2016-
|
|
2274
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2362
2275
|
</file>
|
|
2363
2276
|
*/
|
|
2364
2277
|
class BuyAccessButtonComponent {
|
|
@@ -2387,21 +2300,21 @@ class BuyAccessButtonComponent {
|
|
|
2387
2300
|
onBuyPlan() {
|
|
2388
2301
|
const text = `Requested plan: ${this.plantitle} `;
|
|
2389
2302
|
const that = this;
|
|
2390
|
-
Alerts.areYouSure(text, 'Buying access', 'Confirm change', 'Cancel', () => {
|
|
2303
|
+
Alerts$1.areYouSure(text, 'Buying access', 'Confirm change', 'Cancel', () => {
|
|
2391
2304
|
that.api.buyAccess(that.plan, () => {
|
|
2392
|
-
Alerts.success('Access Granted', null, null, () => {
|
|
2305
|
+
Alerts$1.success('Access Granted', null, null, () => {
|
|
2393
2306
|
window.location.reload();
|
|
2394
2307
|
});
|
|
2395
2308
|
});
|
|
2396
2309
|
});
|
|
2397
2310
|
}
|
|
2398
2311
|
}
|
|
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.
|
|
2312
|
+
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 });
|
|
2313
|
+
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"] }] });
|
|
2314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BuyAccessButtonComponent, decorators: [{
|
|
2402
2315
|
type: Component,
|
|
2403
2316
|
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: [{
|
|
2317
|
+
}], ctorParameters: function () { return [{ type: i1$5.AppContextService }, { type: i2.BillingApiService }]; }, propDecorators: { plan: [{
|
|
2405
2318
|
type: Input
|
|
2406
2319
|
}], plantitle: [{
|
|
2407
2320
|
type: Input
|
|
@@ -2422,10 +2335,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2422
2335
|
Version:
|
|
2423
2336
|
1.0
|
|
2424
2337
|
|
|
2425
|
-
Copyright (c) 2016-
|
|
2338
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2426
2339
|
</file>
|
|
2427
2340
|
*/
|
|
2428
|
-
// Services
|
|
2429
2341
|
class UpgradePlanButtonComponent {
|
|
2430
2342
|
constructor(api) {
|
|
2431
2343
|
this.api = api;
|
|
@@ -2433,21 +2345,21 @@ class UpgradePlanButtonComponent {
|
|
|
2433
2345
|
onUpgradePlan() {
|
|
2434
2346
|
const text = `Current plan: ${this.currentplantitle} New plan: ${this.requestedplantitle}`;
|
|
2435
2347
|
const that = this;
|
|
2436
|
-
Alerts.areYouSure(text, 'Change billing plan', 'Confirm change', 'Cancel', () => {
|
|
2348
|
+
Alerts$1.areYouSure(text, 'Change billing plan', 'Confirm change', 'Cancel', () => {
|
|
2437
2349
|
that.api.requestNewSubscription(that.requestedplan, () => {
|
|
2438
|
-
Alerts.success('Your request for changing plan has been sent.', null, null, () => {
|
|
2350
|
+
Alerts$1.success('Your request for changing plan has been sent.', null, null, () => {
|
|
2439
2351
|
window.location.reload();
|
|
2440
2352
|
});
|
|
2441
2353
|
});
|
|
2442
2354
|
});
|
|
2443
2355
|
}
|
|
2444
2356
|
}
|
|
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.
|
|
2357
|
+
UpgradePlanButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: UpgradePlanButtonComponent, deps: [{ token: i2.BillingApiService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2358
|
+
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" });
|
|
2359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: UpgradePlanButtonComponent, decorators: [{
|
|
2448
2360
|
type: Component,
|
|
2449
2361
|
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: [{
|
|
2362
|
+
}], ctorParameters: function () { return [{ type: i2.BillingApiService }]; }, propDecorators: { currentplantitle: [{
|
|
2451
2363
|
type: Input
|
|
2452
2364
|
}], requestedplan: [{
|
|
2453
2365
|
type: Input
|
|
@@ -2470,7 +2382,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2470
2382
|
Version:
|
|
2471
2383
|
1.0
|
|
2472
2384
|
|
|
2473
|
-
Copyright (c) 2016-
|
|
2385
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2474
2386
|
</file>
|
|
2475
2387
|
*/
|
|
2476
2388
|
class SubscribePlanButtonComponent {
|
|
@@ -2500,12 +2412,12 @@ class SubscribePlanButtonComponent {
|
|
|
2500
2412
|
});
|
|
2501
2413
|
}
|
|
2502
2414
|
}
|
|
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.
|
|
2415
|
+
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 });
|
|
2416
|
+
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"] }] });
|
|
2417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SubscribePlanButtonComponent, decorators: [{
|
|
2506
2418
|
type: Component,
|
|
2507
2419
|
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: [{
|
|
2420
|
+
}], ctorParameters: function () { return [{ type: i1$5.AppContextService }]; }, propDecorators: { plan: [{
|
|
2509
2421
|
type: Input
|
|
2510
2422
|
}], plantitle: [{
|
|
2511
2423
|
type: Input
|
|
@@ -2526,7 +2438,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2526
2438
|
Version:
|
|
2527
2439
|
1.0
|
|
2528
2440
|
|
|
2529
|
-
Copyright (c) 2016-
|
|
2441
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2530
2442
|
</file>
|
|
2531
2443
|
*/
|
|
2532
2444
|
class ContentHeaderComponent {
|
|
@@ -2536,9 +2448,9 @@ class ContentHeaderComponent {
|
|
|
2536
2448
|
}
|
|
2537
2449
|
}
|
|
2538
2450
|
}
|
|
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.
|
|
2451
|
+
ContentHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContentHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2452
|
+
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" });
|
|
2453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContentHeaderComponent, decorators: [{
|
|
2542
2454
|
type: Component,
|
|
2543
2455
|
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
2456
|
}], propDecorators: { title: [{
|
|
@@ -2560,7 +2472,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2560
2472
|
Version:
|
|
2561
2473
|
1.0
|
|
2562
2474
|
|
|
2563
|
-
Copyright (c) 2016-
|
|
2475
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2564
2476
|
</file>
|
|
2565
2477
|
*/
|
|
2566
2478
|
const DefaultEditorOptions = {
|
|
@@ -2649,7 +2561,7 @@ const DefaultEditorOptions = {
|
|
|
2649
2561
|
Version:
|
|
2650
2562
|
1.0
|
|
2651
2563
|
|
|
2652
|
-
Copyright (c) 2016-
|
|
2564
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2653
2565
|
</file>
|
|
2654
2566
|
*/
|
|
2655
2567
|
class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
@@ -2667,7 +2579,7 @@ class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
|
2667
2579
|
opt = JSON.parse(this.editorOptions);
|
|
2668
2580
|
}
|
|
2669
2581
|
let newOptions = $.extend({}, DefaultEditorOptions, opt);
|
|
2670
|
-
const key = AppCoreSettings.froalaEditorKey;
|
|
2582
|
+
const key = AppCoreSettings$1.froalaEditorKey;
|
|
2671
2583
|
if (key) {
|
|
2672
2584
|
newOptions = $.extend({}, newOptions, JSON.parse('{ "key": "' + key + '" }'));
|
|
2673
2585
|
}
|
|
@@ -2725,9 +2637,9 @@ class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
|
2725
2637
|
});
|
|
2726
2638
|
}
|
|
2727
2639
|
}
|
|
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.
|
|
2640
|
+
BaseHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseHtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2641
|
+
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 });
|
|
2642
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BaseHtmlEditorComponent, decorators: [{
|
|
2731
2643
|
type: Component,
|
|
2732
2644
|
args: [{
|
|
2733
2645
|
template: "",
|
|
@@ -2753,7 +2665,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2753
2665
|
Version:
|
|
2754
2666
|
1.0
|
|
2755
2667
|
|
|
2756
|
-
Copyright (c) 2016-
|
|
2668
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2757
2669
|
</file>
|
|
2758
2670
|
*/
|
|
2759
2671
|
class NativeElementDirective {
|
|
@@ -2766,14 +2678,14 @@ class NativeElementDirective {
|
|
|
2766
2678
|
this.control.control.nativeElement = this.el.nativeElement;
|
|
2767
2679
|
}
|
|
2768
2680
|
}
|
|
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.
|
|
2681
|
+
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 });
|
|
2682
|
+
NativeElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.6", type: NativeElementDirective, selector: "[formControl], [formControlName]", ngImport: i0 });
|
|
2683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NativeElementDirective, decorators: [{
|
|
2772
2684
|
type: Directive,
|
|
2773
2685
|
args: [{
|
|
2774
2686
|
selector: '[formControl], [formControlName]'
|
|
2775
2687
|
}]
|
|
2776
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type:
|
|
2688
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$7.NgControl }]; } });
|
|
2777
2689
|
|
|
2778
2690
|
/*
|
|
2779
2691
|
<file>
|
|
@@ -2790,7 +2702,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2790
2702
|
Version:
|
|
2791
2703
|
1.0
|
|
2792
2704
|
|
|
2793
|
-
Copyright (c) 2016-
|
|
2705
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2794
2706
|
</file>
|
|
2795
2707
|
*/
|
|
2796
2708
|
class ValidationSummaryComponent extends BaseEditComponent {
|
|
@@ -2889,9 +2801,9 @@ class ValidationSummaryComponent extends BaseEditComponent {
|
|
|
2889
2801
|
return title;
|
|
2890
2802
|
}
|
|
2891
2803
|
}
|
|
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.
|
|
2804
|
+
ValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2805
|
+
ValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: ValidationSummaryComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "", isInline: true });
|
|
2806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ValidationSummaryComponent, decorators: [{
|
|
2895
2807
|
type: Component,
|
|
2896
2808
|
args: [{
|
|
2897
2809
|
template: "",
|
|
@@ -2913,7 +2825,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2913
2825
|
Version:
|
|
2914
2826
|
1.0
|
|
2915
2827
|
|
|
2916
|
-
Copyright (c) 2016-
|
|
2828
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2917
2829
|
</file>
|
|
2918
2830
|
*/
|
|
2919
2831
|
class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
@@ -2921,9 +2833,9 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
2921
2833
|
super();
|
|
2922
2834
|
}
|
|
2923
2835
|
}
|
|
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.
|
|
2836
|
+
ItemValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ItemValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2837
|
+
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"] }] });
|
|
2838
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ItemValidationSummaryComponent, decorators: [{
|
|
2927
2839
|
type: Component,
|
|
2928
2840
|
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
2841
|
}], ctorParameters: function () { return []; }, propDecorators: { controlName: [{
|
|
@@ -2947,7 +2859,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2947
2859
|
Version:
|
|
2948
2860
|
1.0
|
|
2949
2861
|
|
|
2950
|
-
Copyright (c) 2016-
|
|
2862
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2951
2863
|
</file>
|
|
2952
2864
|
*/
|
|
2953
2865
|
class FormsHtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
@@ -2961,9 +2873,9 @@ class FormsHtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
|
2961
2873
|
});
|
|
2962
2874
|
}
|
|
2963
2875
|
}
|
|
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.
|
|
2876
|
+
FormsHtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormsHtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2877
|
+
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"] }] });
|
|
2878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormsHtmlEditorComponent, decorators: [{
|
|
2967
2879
|
type: Component,
|
|
2968
2880
|
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
2881
|
}], ctorParameters: function () { return []; }, propDecorators: { editorFormKey: [{
|
|
@@ -2985,7 +2897,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
2985
2897
|
Version:
|
|
2986
2898
|
1.0
|
|
2987
2899
|
|
|
2988
|
-
Copyright (c) 2016-
|
|
2900
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2989
2901
|
</file>
|
|
2990
2902
|
*/
|
|
2991
2903
|
class HtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
@@ -3009,9 +2921,9 @@ class HtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
|
3009
2921
|
return editor.html.get(false);
|
|
3010
2922
|
}
|
|
3011
2923
|
}
|
|
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.
|
|
2924
|
+
HtmlEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: HtmlEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2925
|
+
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"] }] });
|
|
2926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: HtmlEditorComponent, decorators: [{
|
|
3015
2927
|
type: Component,
|
|
3016
2928
|
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
2929
|
}], ctorParameters: function () { return []; } });
|
|
@@ -3031,15 +2943,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3031
2943
|
Version:
|
|
3032
2944
|
1.0
|
|
3033
2945
|
|
|
3034
|
-
Copyright (c) 2016-
|
|
2946
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3035
2947
|
</file>
|
|
3036
2948
|
*/
|
|
3037
2949
|
class SignInButtonComponent {
|
|
3038
2950
|
constructor() { }
|
|
3039
2951
|
}
|
|
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.
|
|
2952
|
+
SignInButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignInButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2953
|
+
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" });
|
|
2954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignInButtonComponent, decorators: [{
|
|
3043
2955
|
type: Component,
|
|
3044
2956
|
args: [{ selector: "anatoly-signin-button", template: "<a href=\"identity/signIn\" class=\"{{classbtn}}\">Sign In</a>\r\n" }]
|
|
3045
2957
|
}], ctorParameters: function () { return []; }, propDecorators: { classbtn: [{
|
|
@@ -3061,15 +2973,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3061
2973
|
Version:
|
|
3062
2974
|
1.0
|
|
3063
2975
|
|
|
3064
|
-
Copyright (c) 2016-
|
|
2976
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3065
2977
|
</file>
|
|
3066
2978
|
*/
|
|
3067
2979
|
class SignOutButtonComponent {
|
|
3068
2980
|
constructor() { }
|
|
3069
2981
|
}
|
|
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.
|
|
2982
|
+
SignOutButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignOutButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2983
|
+
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" });
|
|
2984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SignOutButtonComponent, decorators: [{
|
|
3073
2985
|
type: Component,
|
|
3074
2986
|
args: [{ selector: "anatoly-signout-button", template: "<a href=\"identity/signOut\" class=\"{{classbtn}}\">Sign Out</a>\r\n" }]
|
|
3075
2987
|
}], ctorParameters: function () { return []; }, propDecorators: { classbtn: [{
|
|
@@ -3091,14 +3003,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3091
3003
|
Version:
|
|
3092
3004
|
1.0
|
|
3093
3005
|
|
|
3094
|
-
Copyright (c) 2016-
|
|
3006
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3095
3007
|
</file>
|
|
3096
3008
|
*/
|
|
3097
3009
|
class LoadingComponent {
|
|
3098
3010
|
constructor(loadingService) {
|
|
3099
3011
|
this.loadingService = loadingService;
|
|
3100
3012
|
// Private
|
|
3101
|
-
this.subs = new Subs();
|
|
3013
|
+
this.subs = new Subs$1();
|
|
3102
3014
|
// Public
|
|
3103
3015
|
this.show = false;
|
|
3104
3016
|
}
|
|
@@ -3111,12 +3023,12 @@ class LoadingComponent {
|
|
|
3111
3023
|
this.subs.unsubscribe();
|
|
3112
3024
|
}
|
|
3113
3025
|
}
|
|
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.
|
|
3026
|
+
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 });
|
|
3027
|
+
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"] }] });
|
|
3028
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
3117
3029
|
type: Component,
|
|
3118
3030
|
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 }]; } });
|
|
3031
|
+
}], ctorParameters: function () { return [{ type: i1$9.LoadingService }]; } });
|
|
3120
3032
|
|
|
3121
3033
|
/*
|
|
3122
3034
|
<file>
|
|
@@ -3133,7 +3045,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3133
3045
|
Version:
|
|
3134
3046
|
1.0
|
|
3135
3047
|
|
|
3136
|
-
Copyright (c) 2016-
|
|
3048
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3137
3049
|
</file>
|
|
3138
3050
|
*/
|
|
3139
3051
|
const SpinnerSpinKit = {
|
|
@@ -3171,9 +3083,9 @@ class SpinnerComponent {
|
|
|
3171
3083
|
this.isSpinnerVisible = false;
|
|
3172
3084
|
}
|
|
3173
3085
|
}
|
|
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.
|
|
3086
|
+
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 });
|
|
3087
|
+
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 });
|
|
3088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
3177
3089
|
type: Component,
|
|
3178
3090
|
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
3091
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: Document, decorators: [{
|
|
@@ -3185,6 +3097,173 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3185
3097
|
type: Input
|
|
3186
3098
|
}] } });
|
|
3187
3099
|
|
|
3100
|
+
/*
|
|
3101
|
+
<file>
|
|
3102
|
+
Project:
|
|
3103
|
+
@osovitny/anatoly
|
|
3104
|
+
|
|
3105
|
+
Authors:
|
|
3106
|
+
Vadim Osovitny
|
|
3107
|
+
Anatoly Osovitny
|
|
3108
|
+
|
|
3109
|
+
Created:
|
|
3110
|
+
7 Dec 2017
|
|
3111
|
+
|
|
3112
|
+
Version:
|
|
3113
|
+
1.0
|
|
3114
|
+
|
|
3115
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3116
|
+
</file>
|
|
3117
|
+
*/
|
|
3118
|
+
class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
3119
|
+
constructor() {
|
|
3120
|
+
super();
|
|
3121
|
+
this.visible = false;
|
|
3122
|
+
this.customerrors = [];
|
|
3123
|
+
/*
|
|
3124
|
+
0 - only FormValidation messages
|
|
3125
|
+
1 - only Custom messages
|
|
3126
|
+
2 - all
|
|
3127
|
+
*/
|
|
3128
|
+
this.viewtype = 0;
|
|
3129
|
+
}
|
|
3130
|
+
getErrors() {
|
|
3131
|
+
if (this.viewtype == 1) {
|
|
3132
|
+
return this.customerrors;
|
|
3133
|
+
}
|
|
3134
|
+
let formValidationMessages = this.getFormValidationMessages();
|
|
3135
|
+
if (this.viewtype == 0) {
|
|
3136
|
+
return formValidationMessages;
|
|
3137
|
+
}
|
|
3138
|
+
var messages = [];
|
|
3139
|
+
if (formValidationMessages.length > 0) {
|
|
3140
|
+
messages.push(...formValidationMessages);
|
|
3141
|
+
}
|
|
3142
|
+
if (this.customerrors.length > 0) {
|
|
3143
|
+
messages.push(...this.customerrors);
|
|
3144
|
+
}
|
|
3145
|
+
return messages;
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
FormValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormValidationSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3149
|
+
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"] }] });
|
|
3150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FormValidationSummaryComponent, decorators: [{
|
|
3151
|
+
type: Component,
|
|
3152
|
+
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" }]
|
|
3153
|
+
}], ctorParameters: function () { return []; }, propDecorators: { visible: [{
|
|
3154
|
+
type: Input
|
|
3155
|
+
}], customerrors: [{
|
|
3156
|
+
type: Input
|
|
3157
|
+
}], viewtype: [{
|
|
3158
|
+
type: Input
|
|
3159
|
+
}] } });
|
|
3160
|
+
|
|
3161
|
+
/*
|
|
3162
|
+
<file>
|
|
3163
|
+
Project:
|
|
3164
|
+
@osovitny/anatoly
|
|
3165
|
+
|
|
3166
|
+
Authors:
|
|
3167
|
+
Vadim Osovitny
|
|
3168
|
+
Anatoly Osovitny
|
|
3169
|
+
|
|
3170
|
+
Created:
|
|
3171
|
+
29 June 2020
|
|
3172
|
+
|
|
3173
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3174
|
+
</file>
|
|
3175
|
+
*/
|
|
3176
|
+
class ContactUsForm extends BaseEditComponent$1 {
|
|
3177
|
+
constructor(fb, appContext, api, notificationService) {
|
|
3178
|
+
super();
|
|
3179
|
+
this.fb = fb;
|
|
3180
|
+
this.appContext = appContext;
|
|
3181
|
+
this.api = api;
|
|
3182
|
+
this.notificationService = notificationService;
|
|
3183
|
+
this.isUserSignedIn = false;
|
|
3184
|
+
this.topicList = [
|
|
3185
|
+
{ value: 'Billing & Pricing' },
|
|
3186
|
+
{ value: 'Legal & Privacy' },
|
|
3187
|
+
{ value: 'Repor abuse' },
|
|
3188
|
+
{ value: 'Technical Support' },
|
|
3189
|
+
{ value: 'Other' }
|
|
3190
|
+
];
|
|
3191
|
+
//Inputs
|
|
3192
|
+
this.showActionButtons = true;
|
|
3193
|
+
//Outputs
|
|
3194
|
+
this.submit = new EventEmitter();
|
|
3195
|
+
}
|
|
3196
|
+
ngOnInit() {
|
|
3197
|
+
this.createFormGroup();
|
|
3198
|
+
this.init();
|
|
3199
|
+
}
|
|
3200
|
+
createFormGroup() {
|
|
3201
|
+
this.formGroup = this.fb.group({
|
|
3202
|
+
captcha: new FormControl(null, [Validators.required]),
|
|
3203
|
+
name: new FormControl('', [Validators.required]),
|
|
3204
|
+
email: new FormControl('', [Validators.required]),
|
|
3205
|
+
topic: new FormControl('', [Validators.required]),
|
|
3206
|
+
subject: new FormControl('', [Validators.required]),
|
|
3207
|
+
message: new FormControl('', [Validators.required])
|
|
3208
|
+
});
|
|
3209
|
+
}
|
|
3210
|
+
init() {
|
|
3211
|
+
this.appContext.getCurrent(context => {
|
|
3212
|
+
this.isUserSignedIn = context.isUserSignedIn;
|
|
3213
|
+
this.siteKey = context.reCaptchaSiteKey;
|
|
3214
|
+
this.selectedTopic = this.topicList[3].value;
|
|
3215
|
+
this.setFormValue('topic', this.selectedTopic);
|
|
3216
|
+
if (this.isUserSignedIn) {
|
|
3217
|
+
this.setFormValue('name', context.user.displayNameOrFullName);
|
|
3218
|
+
this.setFormValue('email', context.user.email);
|
|
3219
|
+
}
|
|
3220
|
+
}, false);
|
|
3221
|
+
}
|
|
3222
|
+
isValid() {
|
|
3223
|
+
return this.formGroup.valid;
|
|
3224
|
+
}
|
|
3225
|
+
contactUs() {
|
|
3226
|
+
this.formSubmitted = true;
|
|
3227
|
+
if (!this.isValid())
|
|
3228
|
+
return;
|
|
3229
|
+
const captcha = this.getFormValue('captcha');
|
|
3230
|
+
const name = this.getFormValue('name');
|
|
3231
|
+
const email = this.getFormValue('email');
|
|
3232
|
+
const topic = this.selectedTopic;
|
|
3233
|
+
const subject = this.getFormValue('subject');
|
|
3234
|
+
const message = this.getFormValue('message');
|
|
3235
|
+
this.api.sendContactUs(captcha, name, email, topic, subject, message, () => {
|
|
3236
|
+
this.formSubmitted = false;
|
|
3237
|
+
this.notificationService.success('Message has been sent successfully');
|
|
3238
|
+
this.formGroup.reset();
|
|
3239
|
+
this.recaptcha.resetCaptcha();
|
|
3240
|
+
this.submit.emit();
|
|
3241
|
+
}, () => {
|
|
3242
|
+
this.notificationService.error();
|
|
3243
|
+
});
|
|
3244
|
+
}
|
|
3245
|
+
//Events
|
|
3246
|
+
onSubmit() {
|
|
3247
|
+
this.contactUs();
|
|
3248
|
+
}
|
|
3249
|
+
onTopicChange(event) {
|
|
3250
|
+
this.selectedTopic = event.target.value;
|
|
3251
|
+
}
|
|
3252
|
+
}
|
|
3253
|
+
ContactUsForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContactUsForm, deps: [{ token: i1$7.FormBuilder }, { token: i1$5.AppContextService }, { token: i3.EmailsApiService }, { token: i4.NotificationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3254
|
+
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"] }] });
|
|
3255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContactUsForm, decorators: [{
|
|
3256
|
+
type: Component,
|
|
3257
|
+
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" }]
|
|
3258
|
+
}], ctorParameters: function () { return [{ type: i1$7.FormBuilder }, { type: i1$5.AppContextService }, { type: i3.EmailsApiService }, { type: i4.NotificationService }]; }, propDecorators: { showActionButtons: [{
|
|
3259
|
+
type: Input
|
|
3260
|
+
}], submit: [{
|
|
3261
|
+
type: Output
|
|
3262
|
+
}], recaptcha: [{
|
|
3263
|
+
type: ViewChild,
|
|
3264
|
+
args: ['recaptcha']
|
|
3265
|
+
}] } });
|
|
3266
|
+
|
|
3188
3267
|
/*
|
|
3189
3268
|
<file>
|
|
3190
3269
|
Project:
|
|
@@ -3200,7 +3279,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3200
3279
|
Version:
|
|
3201
3280
|
1.0
|
|
3202
3281
|
|
|
3203
|
-
Copyright (c) 2016-
|
|
3282
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3204
3283
|
</file>
|
|
3205
3284
|
*/
|
|
3206
3285
|
class ReplaceTextPipe {
|
|
@@ -3213,9 +3292,9 @@ class ReplaceTextPipe {
|
|
|
3213
3292
|
}
|
|
3214
3293
|
}
|
|
3215
3294
|
}
|
|
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.
|
|
3295
|
+
ReplaceTextPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ReplaceTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3296
|
+
ReplaceTextPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: ReplaceTextPipe, name: "replaceText" });
|
|
3297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ReplaceTextPipe, decorators: [{
|
|
3219
3298
|
type: Pipe,
|
|
3220
3299
|
args: [{
|
|
3221
3300
|
name: "replaceText",
|
|
@@ -3237,7 +3316,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3237
3316
|
Version:
|
|
3238
3317
|
1.0
|
|
3239
3318
|
|
|
3240
|
-
Copyright (c) 2016-
|
|
3319
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3241
3320
|
</file>
|
|
3242
3321
|
*/
|
|
3243
3322
|
class FileSizePipe {
|
|
@@ -3255,9 +3334,9 @@ class FileSizePipe {
|
|
|
3255
3334
|
return bytes.toFixed(+precision) + ' ' + this.units[unit];
|
|
3256
3335
|
}
|
|
3257
3336
|
}
|
|
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.
|
|
3337
|
+
FileSizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FileSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3338
|
+
FileSizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: FileSizePipe, name: "filesize" });
|
|
3339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: FileSizePipe, decorators: [{
|
|
3261
3340
|
type: Pipe,
|
|
3262
3341
|
args: [{
|
|
3263
3342
|
name: 'filesize',
|
|
@@ -3279,7 +3358,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3279
3358
|
Version:
|
|
3280
3359
|
1.0
|
|
3281
3360
|
|
|
3282
|
-
Copyright (c) 2016-
|
|
3361
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3283
3362
|
</file>
|
|
3284
3363
|
*/
|
|
3285
3364
|
class SafeHtmlPipe {
|
|
@@ -3290,9 +3369,9 @@ class SafeHtmlPipe {
|
|
|
3290
3369
|
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
3291
3370
|
}
|
|
3292
3371
|
}
|
|
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.
|
|
3372
|
+
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 });
|
|
3373
|
+
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: SafeHtmlPipe, name: "safeHtml" });
|
|
3374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
3296
3375
|
type: Pipe,
|
|
3297
3376
|
args: [{ name: 'safeHtml' }]
|
|
3298
3377
|
}], ctorParameters: function () { return [{ type: i1$4.DomSanitizer }]; } });
|
|
@@ -3307,56 +3386,88 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3307
3386
|
Anatoly Osovitny
|
|
3308
3387
|
|
|
3309
3388
|
Created:
|
|
3310
|
-
|
|
3389
|
+
29 June 2020
|
|
3311
3390
|
|
|
3312
|
-
|
|
3313
|
-
|
|
3391
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3392
|
+
</file>
|
|
3393
|
+
*/
|
|
3394
|
+
let InjectorInstance;
|
|
3395
|
+
class AnatolyCoreModule {
|
|
3396
|
+
constructor(injector, parentModule) {
|
|
3397
|
+
this.injector = injector;
|
|
3398
|
+
throwIfAlreadyLoaded(parentModule, 'AnatolyCoreModule');
|
|
3399
|
+
InjectorInstance = this.injector;
|
|
3400
|
+
}
|
|
3401
|
+
}
|
|
3402
|
+
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 });
|
|
3403
|
+
AnatolyCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: AnatolyCoreModule, imports: [CommonModule] });
|
|
3404
|
+
AnatolyCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyCoreModule, providers: [
|
|
3405
|
+
LoggingService,
|
|
3406
|
+
NotificationService,
|
|
3407
|
+
AppContextService,
|
|
3408
|
+
LoadingService,
|
|
3409
|
+
DigitalMarketingService,
|
|
3410
|
+
GoogleAnalyticsService,
|
|
3411
|
+
LocalStorageService,
|
|
3412
|
+
SessionStorageService
|
|
3413
|
+
], imports: [CommonModule] });
|
|
3414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyCoreModule, decorators: [{
|
|
3415
|
+
type: NgModule,
|
|
3416
|
+
args: [{
|
|
3417
|
+
imports: [CommonModule],
|
|
3418
|
+
exports: [],
|
|
3419
|
+
providers: [
|
|
3420
|
+
LoggingService,
|
|
3421
|
+
NotificationService,
|
|
3422
|
+
AppContextService,
|
|
3423
|
+
LoadingService,
|
|
3424
|
+
DigitalMarketingService,
|
|
3425
|
+
GoogleAnalyticsService,
|
|
3426
|
+
LocalStorageService,
|
|
3427
|
+
SessionStorageService
|
|
3428
|
+
],
|
|
3429
|
+
}]
|
|
3430
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: AnatolyCoreModule, decorators: [{
|
|
3431
|
+
type: Optional
|
|
3432
|
+
}, {
|
|
3433
|
+
type: SkipSelf
|
|
3434
|
+
}] }]; } });
|
|
3435
|
+
|
|
3436
|
+
/*
|
|
3437
|
+
<file>
|
|
3438
|
+
Project:
|
|
3439
|
+
@osovitny/anatoly
|
|
3314
3440
|
|
|
3315
|
-
|
|
3441
|
+
Authors:
|
|
3442
|
+
Vadim Osovitny
|
|
3443
|
+
Anatoly Osovitny
|
|
3444
|
+
|
|
3445
|
+
Created:
|
|
3446
|
+
16 Jun 2022
|
|
3447
|
+
|
|
3448
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3316
3449
|
</file>
|
|
3317
3450
|
*/
|
|
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;
|
|
3451
|
+
class EmailsApiService extends BaseApiService$1 {
|
|
3452
|
+
constructor(http) {
|
|
3453
|
+
super(http);
|
|
3454
|
+
this.http = http;
|
|
3329
3455
|
}
|
|
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;
|
|
3456
|
+
sendContactUs(captcha, name, email, topic, subject, message, success, error) {
|
|
3457
|
+
return this.post('sendContactUs', { captcha, name, email, topic, subject, message }).subscribe(data => {
|
|
3458
|
+
if (success)
|
|
3459
|
+
success(data);
|
|
3460
|
+
}, e => {
|
|
3461
|
+
if (error)
|
|
3462
|
+
error(e);
|
|
3463
|
+
});
|
|
3346
3464
|
}
|
|
3347
3465
|
}
|
|
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
|
-
}] } });
|
|
3466
|
+
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 });
|
|
3467
|
+
EmailsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: EmailsApiService });
|
|
3468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: EmailsApiService, decorators: [{
|
|
3469
|
+
type: Injectable
|
|
3470
|
+
}], ctorParameters: function () { return [{ type: i1$3.HttpClient }]; } });
|
|
3360
3471
|
|
|
3361
3472
|
/*
|
|
3362
3473
|
<file>
|
|
@@ -3368,20 +3479,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3368
3479
|
Anatoly Osovitny
|
|
3369
3480
|
|
|
3370
3481
|
Created:
|
|
3371
|
-
|
|
3482
|
+
4 Mar 2020
|
|
3372
3483
|
|
|
3373
|
-
|
|
3374
|
-
|
|
3484
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3485
|
+
</file>
|
|
3486
|
+
*/
|
|
3487
|
+
class AnatolyDataModule {
|
|
3488
|
+
constructor(parentModule) {
|
|
3489
|
+
throwIfAlreadyLoaded$1(parentModule, 'AnatolyDataModule');
|
|
3490
|
+
}
|
|
3491
|
+
}
|
|
3492
|
+
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 });
|
|
3493
|
+
AnatolyDataModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: AnatolyDataModule, imports: [CommonModule] });
|
|
3494
|
+
AnatolyDataModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyDataModule, providers: [
|
|
3495
|
+
BillingApiService,
|
|
3496
|
+
EmailsApiService
|
|
3497
|
+
], imports: [CommonModule] });
|
|
3498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyDataModule, decorators: [{
|
|
3499
|
+
type: NgModule,
|
|
3500
|
+
args: [{
|
|
3501
|
+
imports: [
|
|
3502
|
+
CommonModule
|
|
3503
|
+
],
|
|
3504
|
+
providers: [
|
|
3505
|
+
BillingApiService,
|
|
3506
|
+
EmailsApiService
|
|
3507
|
+
]
|
|
3508
|
+
}]
|
|
3509
|
+
}], ctorParameters: function () { return [{ type: AnatolyDataModule, decorators: [{
|
|
3510
|
+
type: Optional
|
|
3511
|
+
}, {
|
|
3512
|
+
type: SkipSelf
|
|
3513
|
+
}] }]; } });
|
|
3514
|
+
|
|
3515
|
+
/*
|
|
3516
|
+
<file>
|
|
3517
|
+
Project:
|
|
3518
|
+
@osovitny/anatoly
|
|
3375
3519
|
|
|
3376
|
-
|
|
3520
|
+
Authors:
|
|
3521
|
+
Vadim Osovitny
|
|
3522
|
+
Anatoly Osovitny
|
|
3523
|
+
|
|
3524
|
+
Created:
|
|
3525
|
+
26 Jun 2020
|
|
3526
|
+
|
|
3527
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3377
3528
|
</file>
|
|
3378
3529
|
*/
|
|
3379
3530
|
const FroalaEditorModuleWithProviders = FroalaEditorModule.forRoot();
|
|
3380
3531
|
const FroalaViewModuleWithProviders = FroalaViewModule.forRoot();
|
|
3381
3532
|
class AnatolyUIModule {
|
|
3382
3533
|
}
|
|
3383
|
-
AnatolyUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
3384
|
-
AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
3534
|
+
AnatolyUIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3535
|
+
AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, declarations: [SubscribePlanButtonComponent,
|
|
3385
3536
|
UpgradePlanButtonComponent,
|
|
3386
3537
|
BuyAccessButtonComponent,
|
|
3387
3538
|
SignInButtonComponent,
|
|
@@ -3390,19 +3541,22 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
3390
3541
|
ContentHeaderComponent,
|
|
3391
3542
|
SpinnerComponent,
|
|
3392
3543
|
LoadingComponent,
|
|
3393
|
-
NativeElementDirective,
|
|
3394
|
-
//Editor
|
|
3395
3544
|
HtmlEditorComponent,
|
|
3396
3545
|
FormsHtmlEditorComponent,
|
|
3397
|
-
//
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3546
|
+
//Directives
|
|
3547
|
+
NativeElementDirective,
|
|
3548
|
+
//Forms
|
|
3549
|
+
ContactUsForm,
|
|
3550
|
+
//Pipes
|
|
3401
3551
|
SafeHtmlPipe,
|
|
3402
3552
|
ReplaceTextPipe,
|
|
3403
|
-
FileSizePipe
|
|
3553
|
+
FileSizePipe,
|
|
3554
|
+
//Validation
|
|
3555
|
+
FormValidationSummaryComponent,
|
|
3556
|
+
ItemValidationSummaryComponent], imports: [CommonModule,
|
|
3404
3557
|
ReactiveFormsModule,
|
|
3405
|
-
FormsModule,
|
|
3558
|
+
FormsModule,
|
|
3559
|
+
NgxCaptchaModule, i1$8.FroalaEditorModule, i1$8.FroalaViewModule], exports: [SubscribePlanButtonComponent,
|
|
3406
3560
|
UpgradePlanButtonComponent,
|
|
3407
3561
|
BuyAccessButtonComponent,
|
|
3408
3562
|
SignInButtonComponent,
|
|
@@ -3411,29 +3565,33 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
3411
3565
|
ContentHeaderComponent,
|
|
3412
3566
|
SpinnerComponent,
|
|
3413
3567
|
LoadingComponent,
|
|
3414
|
-
NativeElementDirective,
|
|
3415
|
-
//Editor
|
|
3416
3568
|
HtmlEditorComponent,
|
|
3417
3569
|
FormsHtmlEditorComponent,
|
|
3418
|
-
//
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3570
|
+
//Directives
|
|
3571
|
+
NativeElementDirective,
|
|
3572
|
+
//Forms
|
|
3573
|
+
ContactUsForm,
|
|
3574
|
+
//Pipes
|
|
3422
3575
|
SafeHtmlPipe,
|
|
3423
3576
|
ReplaceTextPipe,
|
|
3424
|
-
FileSizePipe
|
|
3425
|
-
|
|
3577
|
+
FileSizePipe,
|
|
3578
|
+
//Validation
|
|
3579
|
+
FormValidationSummaryComponent,
|
|
3580
|
+
ItemValidationSummaryComponent] });
|
|
3581
|
+
AnatolyUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, imports: [CommonModule,
|
|
3426
3582
|
ReactiveFormsModule,
|
|
3427
3583
|
FormsModule,
|
|
3584
|
+
NgxCaptchaModule,
|
|
3428
3585
|
FroalaEditorModuleWithProviders,
|
|
3429
3586
|
FroalaViewModuleWithProviders] });
|
|
3430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
3587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, decorators: [{
|
|
3431
3588
|
type: NgModule,
|
|
3432
3589
|
args: [{
|
|
3433
3590
|
imports: [
|
|
3434
3591
|
CommonModule,
|
|
3435
3592
|
ReactiveFormsModule,
|
|
3436
3593
|
FormsModule,
|
|
3594
|
+
NgxCaptchaModule,
|
|
3437
3595
|
FroalaEditorModuleWithProviders,
|
|
3438
3596
|
FroalaViewModuleWithProviders,
|
|
3439
3597
|
],
|
|
@@ -3447,17 +3605,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3447
3605
|
ContentHeaderComponent,
|
|
3448
3606
|
SpinnerComponent,
|
|
3449
3607
|
LoadingComponent,
|
|
3450
|
-
NativeElementDirective,
|
|
3451
|
-
//Editor
|
|
3452
3608
|
HtmlEditorComponent,
|
|
3453
3609
|
FormsHtmlEditorComponent,
|
|
3454
|
-
//
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3610
|
+
//Directives
|
|
3611
|
+
NativeElementDirective,
|
|
3612
|
+
//Forms
|
|
3613
|
+
ContactUsForm,
|
|
3614
|
+
//Pipes
|
|
3458
3615
|
SafeHtmlPipe,
|
|
3459
3616
|
ReplaceTextPipe,
|
|
3460
3617
|
FileSizePipe,
|
|
3618
|
+
//Validation
|
|
3619
|
+
FormValidationSummaryComponent,
|
|
3620
|
+
ItemValidationSummaryComponent,
|
|
3461
3621
|
],
|
|
3462
3622
|
declarations: [
|
|
3463
3623
|
SubscribePlanButtonComponent,
|
|
@@ -3469,17 +3629,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3469
3629
|
ContentHeaderComponent,
|
|
3470
3630
|
SpinnerComponent,
|
|
3471
3631
|
LoadingComponent,
|
|
3472
|
-
NativeElementDirective,
|
|
3473
|
-
//Editor
|
|
3474
3632
|
HtmlEditorComponent,
|
|
3475
3633
|
FormsHtmlEditorComponent,
|
|
3476
|
-
//
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3634
|
+
//Directives
|
|
3635
|
+
NativeElementDirective,
|
|
3636
|
+
//Forms
|
|
3637
|
+
ContactUsForm,
|
|
3638
|
+
//Pipes
|
|
3480
3639
|
SafeHtmlPipe,
|
|
3481
3640
|
ReplaceTextPipe,
|
|
3482
3641
|
FileSizePipe,
|
|
3642
|
+
//Validation
|
|
3643
|
+
FormValidationSummaryComponent,
|
|
3644
|
+
ItemValidationSummaryComponent,
|
|
3483
3645
|
]
|
|
3484
3646
|
}]
|
|
3485
3647
|
}] });
|
|
@@ -3492,5 +3654,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImpor
|
|
|
3492
3654
|
* Generated bundle index. Do not edit.
|
|
3493
3655
|
*/
|
|
3494
3656
|
|
|
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 };
|
|
3657
|
+
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
3658
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|