@osovitny/anatoly 3.16.109 → 3.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/anatoly.module.mjs +6 -6
- package/esm2022/lib/core/consts/settings.mjs +1 -1
- package/esm2022/lib/core/converts/convert.mjs +1 -1
- package/esm2022/lib/core/converts/xmlFormatter.mjs +1 -1
- package/esm2022/lib/core/core.module.mjs +8 -9
- package/esm2022/lib/core/dom.mjs +1 -1
- package/esm2022/lib/core/go/base-go.service.mjs +5 -7
- package/esm2022/lib/core/guards/once-import.guard.mjs +1 -1
- package/esm2022/lib/core/interceptors/httpInterceptor.mjs +18 -21
- package/esm2022/lib/core/localization/localization.module.mjs +5 -5
- package/esm2022/lib/core/localization/localization.service.mjs +11 -13
- package/esm2022/lib/core/localization/localize.pipe.mjs +5 -6
- package/esm2022/lib/core/localization/settings.module.mjs +7 -8
- package/esm2022/lib/core/localization/utils.mjs +1 -1
- package/esm2022/lib/core/logging/globalErrorHandler.mjs +5 -6
- package/esm2022/lib/core/logging/logging.service.mjs +5 -5
- package/esm2022/lib/core/notifications/alerts.mjs +1 -1
- package/esm2022/lib/core/notifications/services/notification-service.mjs +5 -6
- package/esm2022/lib/core/performance/stopwatch.mjs +1 -6
- package/esm2022/lib/core/services/appcontext.service.mjs +11 -14
- package/esm2022/lib/core/services/dm.service.mjs +6 -9
- package/esm2022/lib/core/services/google-analytics.service.mjs +5 -7
- package/esm2022/lib/core/services/idle.service.mjs +7 -12
- package/esm2022/lib/core/services/loading.service.mjs +8 -8
- package/esm2022/lib/core/services/starter.service.mjs +1 -3
- package/esm2022/lib/core/services/web-storage.service.mjs +9 -10
- package/esm2022/lib/core/subs.mjs +4 -3
- package/esm2022/lib/core/utils.mjs +1 -1
- package/esm2022/lib/data/base/api.service.mjs +5 -7
- package/esm2022/lib/data/base/grid/grid-edit.service.mjs +5 -7
- package/esm2022/lib/data/base/grid/grid-read.service.mjs +6 -9
- package/esm2022/lib/data/data.module.mjs +6 -6
- package/esm2022/lib/data/services/core-api.service.mjs +5 -6
- package/esm2022/lib/data/services/emails-api.service.mjs +5 -6
- package/esm2022/lib/iam/b2c/b2c.mjs +1 -1
- package/esm2022/lib/iam/configs.mjs +1 -1
- package/esm2022/lib/iam/guards/admin.guard.mjs +5 -6
- package/esm2022/lib/iam/guards/authentication.guard.mjs +6 -7
- package/esm2022/lib/iam/iam-pages.module.mjs +6 -6
- package/esm2022/lib/iam/iam.module.mjs +6 -6
- package/esm2022/lib/iam/pages/signin.page.mjs +6 -6
- package/esm2022/lib/iam/pages/signout.page.mjs +6 -6
- package/esm2022/lib/iam/pages/signup.page.mjs +6 -6
- package/esm2022/lib/iam/redirect.mjs +1 -1
- package/esm2022/lib/iam/services/auth.service.mjs +9 -20
- package/esm2022/lib/iam/storage.mjs +1 -1
- package/esm2022/lib/iam/utils.mjs +1 -1
- package/esm2022/lib/ui/components/base/components/component.mjs +15 -16
- package/esm2022/lib/ui/components/base/components/edit.component.mjs +11 -12
- package/esm2022/lib/ui/components/base/components/enum-edit.component.mjs +12 -10
- package/esm2022/lib/ui/components/base/dialog.mjs +10 -9
- package/esm2022/lib/ui/components/base/list.mjs +13 -11
- package/esm2022/lib/ui/components/base/pages/edit.page.mjs +5 -4
- package/esm2022/lib/ui/components/base/pages/page.mjs +5 -4
- package/esm2022/lib/ui/components/base/pages/paged.page.mjs +13 -11
- package/esm2022/lib/ui/components/billing/buyaccess-button.component.mjs +19 -23
- package/esm2022/lib/ui/components/billing/subscribe-plan-button.component.mjs +22 -27
- package/esm2022/lib/ui/components/card/card-body.component.mjs +6 -5
- package/esm2022/lib/ui/components/card/card-footer.component.mjs +6 -5
- package/esm2022/lib/ui/components/card/card-header.component.mjs +8 -7
- package/esm2022/lib/ui/components/card/card.component.mjs +6 -5
- package/esm2022/lib/ui/components/check-icon/check-icon.component.mjs +10 -7
- package/esm2022/lib/ui/components/copy-2-clipboard/copy-2-clipboard.component.mjs +10 -7
- package/esm2022/lib/ui/components/datapager/datapager.component.mjs +21 -20
- package/esm2022/lib/ui/components/dropdownlists/country/country.dropdownlist.mjs +13 -16
- package/esm2022/lib/ui/components/dropdownlists/timezone/timezone.dropdownlist.mjs +13 -16
- package/esm2022/lib/ui/components/html-editor/base-html-editor.component.mjs +11 -13
- package/esm2022/lib/ui/components/html-editor/forms-html-editor.component.mjs +11 -10
- package/esm2022/lib/ui/components/html-editor/html-editor.component.mjs +8 -7
- package/esm2022/lib/ui/components/identity/signin-button.component.mjs +16 -19
- package/esm2022/lib/ui/components/identity/signout-button.component.mjs +16 -19
- package/esm2022/lib/ui/components/identity/signup-button.component.mjs +16 -19
- package/esm2022/lib/ui/components/nodata/nodata.component.mjs +13 -12
- package/esm2022/lib/ui/components/spinners/loading/loading.component.mjs +8 -8
- package/esm2022/lib/ui/components/spinners/pagespinner/pagespinner.component.mjs +12 -12
- package/esm2022/lib/ui/dialogs/contact-us/contact-us.dialog.mjs +7 -7
- package/esm2022/lib/ui/directives/hover.directive.mjs +8 -6
- package/esm2022/lib/ui/directives/native-element.directive.mjs +5 -7
- package/esm2022/lib/ui/external/fa.module.mjs +7 -7
- package/esm2022/lib/ui/external/kendo.module.mjs +6 -6
- package/esm2022/lib/ui/forms/components/address/address.component.mjs +26 -29
- package/esm2022/lib/ui/forms/components/company/company.component.mjs +14 -16
- package/esm2022/lib/ui/forms/components/urlslug/urlslug.component.mjs +16 -20
- package/esm2022/lib/ui/forms/contact-us/contact-us.mjs +27 -33
- package/esm2022/lib/ui/pipes/filesize.pipe.mjs +7 -5
- package/esm2022/lib/ui/pipes/replace-text.pipe.mjs +4 -4
- package/esm2022/lib/ui/pipes/safeHtml.pipe.mjs +5 -6
- package/esm2022/lib/ui/ui.module.mjs +6 -6
- package/esm2022/lib/ui/validation/form-validation-summary.component.mjs +15 -14
- package/esm2022/lib/ui/validation/item-validation-summary.component.mjs +7 -6
- package/esm2022/lib/ui/validation/validation-summary.component.mjs +6 -5
- package/fesm2022/osovitny-anatoly.mjs +631 -701
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/package.json +49 -47
|
@@ -260,8 +260,6 @@ class XmlFormatter {
|
|
|
260
260
|
</file>
|
|
261
261
|
*/
|
|
262
262
|
class BaseGoService {
|
|
263
|
-
route;
|
|
264
|
-
router;
|
|
265
263
|
constructor(route, router) {
|
|
266
264
|
this.route = route;
|
|
267
265
|
this.router = router;
|
|
@@ -284,12 +282,12 @@ class BaseGoService {
|
|
|
284
282
|
this.router.navigate(commands);
|
|
285
283
|
}
|
|
286
284
|
}
|
|
287
|
-
static
|
|
288
|
-
static
|
|
285
|
+
static { this.ɵfac = function BaseGoService_Factory(t) { return new (t || BaseGoService)(i0.ɵɵinject(i1.ActivatedRoute), i0.ɵɵinject(i1.Router)); }; }
|
|
286
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseGoService, factory: BaseGoService.ɵfac }); }
|
|
289
287
|
}
|
|
290
|
-
(
|
|
288
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseGoService, [{
|
|
291
289
|
type: Injectable
|
|
292
|
-
}],
|
|
290
|
+
}], () => [{ type: i1.ActivatedRoute }, { type: i1.Router }], null); })();
|
|
293
291
|
|
|
294
292
|
/*
|
|
295
293
|
<file>
|
|
@@ -329,8 +327,6 @@ function throwIfAlreadyLoaded(parentModule, moduleName) {
|
|
|
329
327
|
*/
|
|
330
328
|
//Node
|
|
331
329
|
class ApiServiceBase {
|
|
332
|
-
http;
|
|
333
|
-
baseUrl;
|
|
334
330
|
constructor(http) {
|
|
335
331
|
this.http = http;
|
|
336
332
|
}
|
|
@@ -395,12 +391,12 @@ class ApiServiceBase {
|
|
|
395
391
|
const url = AppCoreSettings.externalUrl + "/" + libname + "/jsons";
|
|
396
392
|
return this.__getJsonFile(url + "/" + fileName);
|
|
397
393
|
}
|
|
398
|
-
static
|
|
399
|
-
static
|
|
394
|
+
static { this.ɵfac = function ApiServiceBase_Factory(t) { return new (t || ApiServiceBase)(i0.ɵɵinject(i1$1.HttpClient)); }; }
|
|
395
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ApiServiceBase, factory: ApiServiceBase.ɵfac }); }
|
|
400
396
|
}
|
|
401
|
-
(
|
|
397
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ApiServiceBase, [{
|
|
402
398
|
type: Injectable
|
|
403
|
-
}],
|
|
399
|
+
}], () => [{ type: i1$1.HttpClient }], null); })();
|
|
404
400
|
|
|
405
401
|
/*
|
|
406
402
|
<file>
|
|
@@ -641,7 +637,6 @@ const PolicyType = {
|
|
|
641
637
|
*/
|
|
642
638
|
//Node
|
|
643
639
|
class WebStorageService {
|
|
644
|
-
storage;
|
|
645
640
|
constructor(storage) {
|
|
646
641
|
this.storage = storage === 'local' || storage === 'localStorage' ? localStorage : sessionStorage;
|
|
647
642
|
}
|
|
@@ -672,22 +667,22 @@ class LocalStorageService extends WebStorageService {
|
|
|
672
667
|
constructor() {
|
|
673
668
|
super('localStorage');
|
|
674
669
|
}
|
|
675
|
-
static
|
|
676
|
-
static
|
|
670
|
+
static { this.ɵfac = function LocalStorageService_Factory(t) { return new (t || LocalStorageService)(); }; }
|
|
671
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LocalStorageService, factory: LocalStorageService.ɵfac }); }
|
|
677
672
|
}
|
|
678
|
-
(
|
|
673
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LocalStorageService, [{
|
|
679
674
|
type: Injectable
|
|
680
|
-
}],
|
|
675
|
+
}], () => [], null); })();
|
|
681
676
|
class SessionStorageService extends WebStorageService {
|
|
682
677
|
constructor() {
|
|
683
678
|
super('sessionStorage');
|
|
684
679
|
}
|
|
685
|
-
static
|
|
686
|
-
static
|
|
680
|
+
static { this.ɵfac = function SessionStorageService_Factory(t) { return new (t || SessionStorageService)(); }; }
|
|
681
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SessionStorageService, factory: SessionStorageService.ɵfac }); }
|
|
687
682
|
}
|
|
688
|
-
(
|
|
683
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionStorageService, [{
|
|
689
684
|
type: Injectable
|
|
690
|
-
}],
|
|
685
|
+
}], () => [], null); })();
|
|
691
686
|
|
|
692
687
|
/*
|
|
693
688
|
<file>
|
|
@@ -706,20 +701,17 @@ class SessionStorageService extends WebStorageService {
|
|
|
706
701
|
*/
|
|
707
702
|
//Node
|
|
708
703
|
class AppContextService extends ApiServiceBase {
|
|
709
|
-
http;
|
|
710
|
-
localStorage;
|
|
711
|
-
sessionStorage;
|
|
712
|
-
storageKeyName = 'appContext';
|
|
713
|
-
subscription = null;
|
|
714
|
-
//Private Streams
|
|
715
|
-
_updated = new BehaviorSubject(null);
|
|
716
|
-
//Public Streams
|
|
717
|
-
updated$ = this._updated.asObservable();
|
|
718
704
|
constructor(http, localStorage, sessionStorage) {
|
|
719
705
|
super(http);
|
|
720
706
|
this.http = http;
|
|
721
707
|
this.localStorage = localStorage;
|
|
722
708
|
this.sessionStorage = sessionStorage;
|
|
709
|
+
this.storageKeyName = 'appContext';
|
|
710
|
+
this.subscription = null;
|
|
711
|
+
//Private Streams
|
|
712
|
+
this._updated = new BehaviorSubject(null);
|
|
713
|
+
//Public Streams
|
|
714
|
+
this.updated$ = this._updated.asObservable();
|
|
723
715
|
this.baseUrl = `${ApiUrl}/appContext`;
|
|
724
716
|
}
|
|
725
717
|
fireUpdated(data) {
|
|
@@ -824,27 +816,14 @@ class AppContextService extends ApiServiceBase {
|
|
|
824
816
|
this.current = current;
|
|
825
817
|
}
|
|
826
818
|
}
|
|
827
|
-
static
|
|
828
|
-
static
|
|
819
|
+
static { this.ɵfac = function AppContextService_Factory(t) { return new (t || AppContextService)(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(LocalStorageService), i0.ɵɵinject(SessionStorageService)); }; }
|
|
820
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AppContextService, factory: AppContextService.ɵfac }); }
|
|
829
821
|
}
|
|
830
|
-
(
|
|
822
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppContextService, [{
|
|
831
823
|
type: Injectable
|
|
832
|
-
}],
|
|
824
|
+
}], () => [{ type: i1$1.HttpClient }, { type: LocalStorageService }, { type: SessionStorageService }], null); })();
|
|
833
825
|
|
|
834
826
|
class AuthService extends ApiServiceBase {
|
|
835
|
-
http;
|
|
836
|
-
router;
|
|
837
|
-
appContext;
|
|
838
|
-
msalGuardConfig;
|
|
839
|
-
msalService;
|
|
840
|
-
msalBroadcastService;
|
|
841
|
-
msalDestroying$ = new Subject();
|
|
842
|
-
initialized = false;
|
|
843
|
-
//B2C Policies
|
|
844
|
-
signUpSignInPolicy;
|
|
845
|
-
signUpPolicy;
|
|
846
|
-
editProfilePolicy;
|
|
847
|
-
resetPasswordPolicy;
|
|
848
827
|
constructor(http, router, appContext, msalGuardConfig, msalService, msalBroadcastService) {
|
|
849
828
|
super(http);
|
|
850
829
|
this.http = http;
|
|
@@ -853,6 +832,8 @@ class AuthService extends ApiServiceBase {
|
|
|
853
832
|
this.msalGuardConfig = msalGuardConfig;
|
|
854
833
|
this.msalService = msalService;
|
|
855
834
|
this.msalBroadcastService = msalBroadcastService;
|
|
835
|
+
this.msalDestroying$ = new Subject();
|
|
836
|
+
this.initialized = false;
|
|
856
837
|
this.init();
|
|
857
838
|
}
|
|
858
839
|
ngOnDestroy() {
|
|
@@ -1100,7 +1081,7 @@ class AuthService extends ApiServiceBase {
|
|
|
1100
1081
|
let signUpSignInFlowRequest = {
|
|
1101
1082
|
authority: this.signUpSignInPolicy.authority,
|
|
1102
1083
|
scopes: [],
|
|
1103
|
-
prompt: PromptValue.LOGIN,
|
|
1084
|
+
prompt: PromptValue.LOGIN, // force user to reauthenticate with their new password
|
|
1104
1085
|
account: account
|
|
1105
1086
|
};
|
|
1106
1087
|
this.login(signUpSignInFlowRequest);
|
|
@@ -1212,18 +1193,18 @@ class AuthService extends ApiServiceBase {
|
|
|
1212
1193
|
};
|
|
1213
1194
|
this.login(resetPasswordFlowRequest);
|
|
1214
1195
|
}
|
|
1215
|
-
static
|
|
1216
|
-
static
|
|
1196
|
+
static { this.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(i1.Router), i0.ɵɵinject(AppContextService), i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i4.MsalService), i0.ɵɵinject(i4.MsalBroadcastService)); }; }
|
|
1197
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
|
|
1217
1198
|
}
|
|
1218
|
-
(
|
|
1199
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
1219
1200
|
type: Injectable,
|
|
1220
1201
|
args: [{
|
|
1221
1202
|
providedIn: 'root'
|
|
1222
1203
|
}]
|
|
1223
|
-
}],
|
|
1204
|
+
}], () => [{ type: i1$1.HttpClient }, { type: i1.Router }, { type: AppContextService }, { type: undefined, decorators: [{
|
|
1224
1205
|
type: Inject,
|
|
1225
1206
|
args: [MSAL_GUARD_CONFIG]
|
|
1226
|
-
}] }, { type: i4.MsalService }, { type: i4.MsalBroadcastService }]
|
|
1207
|
+
}] }, { type: i4.MsalService }, { type: i4.MsalBroadcastService }], null); })();
|
|
1227
1208
|
|
|
1228
1209
|
/*
|
|
1229
1210
|
<file>
|
|
@@ -1245,7 +1226,6 @@ class AuthService extends ApiServiceBase {
|
|
|
1245
1226
|
*/
|
|
1246
1227
|
//Node
|
|
1247
1228
|
class AdminGuard {
|
|
1248
|
-
auth;
|
|
1249
1229
|
constructor(auth) {
|
|
1250
1230
|
this.auth = auth;
|
|
1251
1231
|
}
|
|
@@ -1261,15 +1241,14 @@ class AdminGuard {
|
|
|
1261
1241
|
}
|
|
1262
1242
|
return of(true);
|
|
1263
1243
|
}
|
|
1264
|
-
static
|
|
1265
|
-
static
|
|
1244
|
+
static { this.ɵfac = function AdminGuard_Factory(t) { return new (t || AdminGuard)(i0.ɵɵinject(AuthService)); }; }
|
|
1245
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AdminGuard, factory: AdminGuard.ɵfac }); }
|
|
1266
1246
|
}
|
|
1267
|
-
(
|
|
1247
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdminGuard, [{
|
|
1268
1248
|
type: Injectable
|
|
1269
|
-
}],
|
|
1249
|
+
}], () => [{ type: AuthService }], null); })();
|
|
1270
1250
|
|
|
1271
1251
|
class AuthenticationGuard extends MsalGuard {
|
|
1272
|
-
_msalGuardConfig;
|
|
1273
1252
|
constructor(msalGuardConfig, msalBroadcastService, authService, location, router) {
|
|
1274
1253
|
super(msalGuardConfig, msalBroadcastService, authService, location, router);
|
|
1275
1254
|
this._msalGuardConfig = msalGuardConfig;
|
|
@@ -1282,15 +1261,15 @@ class AuthenticationGuard extends MsalGuard {
|
|
|
1282
1261
|
this.setInteractionType(route);
|
|
1283
1262
|
return super.canActivate(route, state);
|
|
1284
1263
|
}
|
|
1285
|
-
static
|
|
1286
|
-
static
|
|
1264
|
+
static { this.ɵfac = function AuthenticationGuard_Factory(t) { return new (t || AuthenticationGuard)(i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i4.MsalBroadcastService), i0.ɵɵinject(i4.MsalService), i0.ɵɵinject(i1$2.Location), i0.ɵɵinject(i1.Router)); }; }
|
|
1265
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthenticationGuard, factory: AuthenticationGuard.ɵfac }); }
|
|
1287
1266
|
}
|
|
1288
|
-
(
|
|
1267
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthenticationGuard, [{
|
|
1289
1268
|
type: Injectable
|
|
1290
|
-
}],
|
|
1269
|
+
}], () => [{ type: undefined, decorators: [{
|
|
1291
1270
|
type: Inject,
|
|
1292
1271
|
args: [MSAL_GUARD_CONFIG]
|
|
1293
|
-
}] }, { type: i4.MsalBroadcastService }, { type: i4.MsalService }, { type: i1$2.Location }, { type: i1.Router }]
|
|
1272
|
+
}] }, { type: i4.MsalBroadcastService }, { type: i4.MsalService }, { type: i1$2.Location }, { type: i1.Router }], null); })();
|
|
1294
1273
|
|
|
1295
1274
|
/*
|
|
1296
1275
|
<file>
|
|
@@ -1344,11 +1323,11 @@ class AuthenticationGuard extends MsalGuard {
|
|
|
1344
1323
|
*/
|
|
1345
1324
|
//Node
|
|
1346
1325
|
class LoadingService extends BehaviorSubject {
|
|
1347
|
-
counter = 0;
|
|
1348
|
-
//Public
|
|
1349
|
-
isFreezed = false;
|
|
1350
1326
|
constructor() {
|
|
1351
1327
|
super(false);
|
|
1328
|
+
this.counter = 0;
|
|
1329
|
+
//Public
|
|
1330
|
+
this.isFreezed = false;
|
|
1352
1331
|
}
|
|
1353
1332
|
show() {
|
|
1354
1333
|
this.counter++;
|
|
@@ -1381,15 +1360,15 @@ class LoadingService extends BehaviorSubject {
|
|
|
1381
1360
|
}
|
|
1382
1361
|
this.counter = 0;
|
|
1383
1362
|
}
|
|
1384
|
-
static
|
|
1385
|
-
static
|
|
1363
|
+
static { this.ɵfac = function LoadingService_Factory(t) { return new (t || LoadingService)(); }; }
|
|
1364
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac, providedIn: "root" }); }
|
|
1386
1365
|
}
|
|
1387
|
-
(
|
|
1366
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingService, [{
|
|
1388
1367
|
type: Injectable,
|
|
1389
1368
|
args: [{
|
|
1390
1369
|
providedIn: "root",
|
|
1391
1370
|
}]
|
|
1392
|
-
}],
|
|
1371
|
+
}], () => [], null); })();
|
|
1393
1372
|
|
|
1394
1373
|
/*
|
|
1395
1374
|
<file>
|
|
@@ -1415,15 +1394,15 @@ class LoggingService {
|
|
|
1415
1394
|
logInformation(info) {
|
|
1416
1395
|
console.info(info);
|
|
1417
1396
|
}
|
|
1418
|
-
static
|
|
1419
|
-
static
|
|
1397
|
+
static { this.ɵfac = function LoggingService_Factory(t) { return new (t || LoggingService)(); }; }
|
|
1398
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LoggingService, factory: LoggingService.ɵfac, providedIn: "root" }); }
|
|
1420
1399
|
}
|
|
1421
|
-
(
|
|
1400
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoggingService, [{
|
|
1422
1401
|
type: Injectable,
|
|
1423
1402
|
args: [{
|
|
1424
1403
|
providedIn: "root",
|
|
1425
1404
|
}]
|
|
1426
|
-
}],
|
|
1405
|
+
}], () => [], null); })();
|
|
1427
1406
|
|
|
1428
1407
|
/*
|
|
1429
1408
|
<file>
|
|
@@ -1442,26 +1421,23 @@ class LoggingService {
|
|
|
1442
1421
|
*/
|
|
1443
1422
|
//Node
|
|
1444
1423
|
class AnatolyHttpInterceptor {
|
|
1445
|
-
authService;
|
|
1446
|
-
loadingService;
|
|
1447
|
-
loggingService;
|
|
1448
|
-
longRunningExceptions = [
|
|
1449
|
-
'chunkupload',
|
|
1450
|
-
];
|
|
1451
|
-
authorizationTokenExceptions = [
|
|
1452
|
-
'dist'
|
|
1453
|
-
];
|
|
1454
|
-
autoCDNSASTokenUrls = [
|
|
1455
|
-
'chunks',
|
|
1456
|
-
'l10n'
|
|
1457
|
-
];
|
|
1458
|
-
externalSiteUrls = [
|
|
1459
|
-
'azurewebsites.net'
|
|
1460
|
-
];
|
|
1461
1424
|
constructor(authService, loadingService, loggingService) {
|
|
1462
1425
|
this.authService = authService;
|
|
1463
1426
|
this.loadingService = loadingService;
|
|
1464
1427
|
this.loggingService = loggingService;
|
|
1428
|
+
this.longRunningExceptions = [
|
|
1429
|
+
'chunkupload',
|
|
1430
|
+
];
|
|
1431
|
+
this.authorizationTokenExceptions = [
|
|
1432
|
+
'dist'
|
|
1433
|
+
];
|
|
1434
|
+
this.autoCDNSASTokenUrls = [
|
|
1435
|
+
'chunks',
|
|
1436
|
+
'l10n'
|
|
1437
|
+
];
|
|
1438
|
+
this.externalSiteUrls = [
|
|
1439
|
+
'azurewebsites.net'
|
|
1440
|
+
];
|
|
1465
1441
|
}
|
|
1466
1442
|
handleHttpRequest(request, next, loadingRequired) {
|
|
1467
1443
|
//#1. old approach
|
|
@@ -1576,12 +1552,12 @@ class AnatolyHttpInterceptor {
|
|
|
1576
1552
|
this.loadingService.hide();
|
|
1577
1553
|
}
|
|
1578
1554
|
}
|
|
1579
|
-
static
|
|
1580
|
-
static
|
|
1555
|
+
static { this.ɵfac = function AnatolyHttpInterceptor_Factory(t) { return new (t || AnatolyHttpInterceptor)(i0.ɵɵinject(AuthService), i0.ɵɵinject(LoadingService), i0.ɵɵinject(LoggingService)); }; }
|
|
1556
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AnatolyHttpInterceptor, factory: AnatolyHttpInterceptor.ɵfac }); }
|
|
1581
1557
|
}
|
|
1582
|
-
(
|
|
1558
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnatolyHttpInterceptor, [{
|
|
1583
1559
|
type: Injectable
|
|
1584
|
-
}],
|
|
1560
|
+
}], () => [{ type: AuthService }, { type: LoadingService }, { type: LoggingService }], null); })();
|
|
1585
1561
|
|
|
1586
1562
|
/*
|
|
1587
1563
|
<file>
|
|
@@ -1599,8 +1575,9 @@ class AnatolyHttpInterceptor {
|
|
|
1599
1575
|
</file>
|
|
1600
1576
|
*/
|
|
1601
1577
|
class Subs {
|
|
1602
|
-
|
|
1603
|
-
|
|
1578
|
+
constructor() {
|
|
1579
|
+
this.subs = [];
|
|
1580
|
+
}
|
|
1604
1581
|
add(...subscriptions) {
|
|
1605
1582
|
this.subs = this.subs.concat(subscriptions);
|
|
1606
1583
|
}
|
|
@@ -1727,16 +1704,14 @@ class Utils {
|
|
|
1727
1704
|
*/
|
|
1728
1705
|
//Node
|
|
1729
1706
|
class LocalizationService {
|
|
1730
|
-
translate;
|
|
1731
|
-
subs = new Subs();
|
|
1732
|
-
dateFnsLocale;
|
|
1733
|
-
//i10n
|
|
1734
|
-
supportedLanguages = ['en', 'ru', 'es'];
|
|
1735
|
-
defaultLanguage = 'en';
|
|
1736
|
-
//Outputs
|
|
1737
|
-
langchange = new EventEmitter();
|
|
1738
1707
|
constructor(translate) {
|
|
1739
1708
|
this.translate = translate;
|
|
1709
|
+
this.subs = new Subs();
|
|
1710
|
+
//i10n
|
|
1711
|
+
this.supportedLanguages = ['en', 'ru', 'es'];
|
|
1712
|
+
this.defaultLanguage = 'en';
|
|
1713
|
+
//Outputs
|
|
1714
|
+
this.langchange = new EventEmitter();
|
|
1740
1715
|
this.setSupportedLanguages(this.supportedLanguages);
|
|
1741
1716
|
this.setDefaultLanguage(this.defaultLanguage);
|
|
1742
1717
|
}
|
|
@@ -1899,15 +1874,15 @@ class LocalizationService {
|
|
|
1899
1874
|
}
|
|
1900
1875
|
return result;
|
|
1901
1876
|
}
|
|
1902
|
-
static
|
|
1903
|
-
static
|
|
1877
|
+
static { this.ɵfac = function LocalizationService_Factory(t) { return new (t || LocalizationService)(i0.ɵɵinject(i1$3.TranslateService)); }; }
|
|
1878
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LocalizationService, factory: LocalizationService.ɵfac, providedIn: 'root' }); }
|
|
1904
1879
|
}
|
|
1905
|
-
(
|
|
1880
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LocalizationService, [{
|
|
1906
1881
|
type: Injectable,
|
|
1907
1882
|
args: [{
|
|
1908
1883
|
providedIn: 'root'
|
|
1909
1884
|
}]
|
|
1910
|
-
}],
|
|
1885
|
+
}], () => [{ type: i1$3.TranslateService }], { langchange: [{
|
|
1911
1886
|
type: Output
|
|
1912
1887
|
}] }); })();
|
|
1913
1888
|
|
|
@@ -1928,7 +1903,6 @@ class LocalizationService {
|
|
|
1928
1903
|
*/
|
|
1929
1904
|
//Node
|
|
1930
1905
|
class LocalizePipe {
|
|
1931
|
-
localizeService;
|
|
1932
1906
|
constructor(localizeService) {
|
|
1933
1907
|
this.localizeService = localizeService;
|
|
1934
1908
|
}
|
|
@@ -1974,16 +1948,16 @@ class LocalizePipe {
|
|
|
1974
1948
|
}
|
|
1975
1949
|
return inputData;
|
|
1976
1950
|
}
|
|
1977
|
-
static
|
|
1978
|
-
static
|
|
1951
|
+
static { this.ɵfac = function LocalizePipe_Factory(t) { return new (t || LocalizePipe)(i0.ɵɵdirectiveInject(LocalizationService, 16)); }; }
|
|
1952
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "localize", type: LocalizePipe, pure: false }); }
|
|
1979
1953
|
}
|
|
1980
|
-
(
|
|
1954
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LocalizePipe, [{
|
|
1981
1955
|
type: Pipe,
|
|
1982
1956
|
args: [{
|
|
1983
1957
|
name: 'localize',
|
|
1984
1958
|
pure: false
|
|
1985
1959
|
}]
|
|
1986
|
-
}],
|
|
1960
|
+
}], () => [{ type: LocalizationService }], null); })();
|
|
1987
1961
|
|
|
1988
1962
|
/*
|
|
1989
1963
|
<file>
|
|
@@ -2024,14 +1998,13 @@ function translateLoaderFactory(httpClient) {
|
|
|
2024
1998
|
}
|
|
2025
1999
|
let LocalizationInjectorInstance;
|
|
2026
2000
|
class LocalizationSettingsModule {
|
|
2027
|
-
injector;
|
|
2028
2001
|
constructor(injector) {
|
|
2029
2002
|
this.injector = injector;
|
|
2030
2003
|
LocalizationInjectorInstance = this.injector;
|
|
2031
2004
|
}
|
|
2032
|
-
static
|
|
2033
|
-
static
|
|
2034
|
-
static
|
|
2005
|
+
static { this.ɵfac = function LocalizationSettingsModule_Factory(t) { return new (t || LocalizationSettingsModule)(i0.ɵɵinject(i0.Injector)); }; }
|
|
2006
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: LocalizationSettingsModule }); }
|
|
2007
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
2035
2008
|
{
|
|
2036
2009
|
provide: APP_INITIALIZER,
|
|
2037
2010
|
useFactory: localizationInitializerFactory,
|
|
@@ -2045,9 +2018,9 @@ class LocalizationSettingsModule {
|
|
|
2045
2018
|
useFactory: translateLoaderFactory,
|
|
2046
2019
|
deps: [HttpClient]
|
|
2047
2020
|
}
|
|
2048
|
-
})] });
|
|
2021
|
+
})] }); }
|
|
2049
2022
|
}
|
|
2050
|
-
(
|
|
2023
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LocalizationSettingsModule, [{
|
|
2051
2024
|
type: NgModule,
|
|
2052
2025
|
args: [{
|
|
2053
2026
|
imports: [
|
|
@@ -2070,7 +2043,7 @@ class LocalizationSettingsModule {
|
|
|
2070
2043
|
],
|
|
2071
2044
|
exports: []
|
|
2072
2045
|
}]
|
|
2073
|
-
}],
|
|
2046
|
+
}], () => [{ type: i0.Injector }], null); })();
|
|
2074
2047
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LocalizationSettingsModule, { imports: [HttpClientModule, i1$3.TranslateModule] }); })();
|
|
2075
2048
|
|
|
2076
2049
|
/*
|
|
@@ -2090,11 +2063,11 @@ class LocalizationSettingsModule {
|
|
|
2090
2063
|
*/
|
|
2091
2064
|
//Node
|
|
2092
2065
|
class LocalizationModule {
|
|
2093
|
-
static
|
|
2094
|
-
static
|
|
2095
|
-
static
|
|
2066
|
+
static { this.ɵfac = function LocalizationModule_Factory(t) { return new (t || LocalizationModule)(); }; }
|
|
2067
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: LocalizationModule }); }
|
|
2068
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [TranslateModule, TranslateModule] }); }
|
|
2096
2069
|
}
|
|
2097
|
-
(
|
|
2070
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LocalizationModule, [{
|
|
2098
2071
|
type: NgModule,
|
|
2099
2072
|
args: [{
|
|
2100
2073
|
imports: [
|
|
@@ -2134,7 +2107,6 @@ class LocalizationModule {
|
|
|
2134
2107
|
*/
|
|
2135
2108
|
//Node
|
|
2136
2109
|
class GlobalErrorHandler {
|
|
2137
|
-
injector;
|
|
2138
2110
|
constructor(injector) {
|
|
2139
2111
|
this.injector = injector;
|
|
2140
2112
|
}
|
|
@@ -2144,12 +2116,12 @@ class GlobalErrorHandler {
|
|
|
2144
2116
|
// IMPORTANT: Rethrow the error otherwise it gets swallowed
|
|
2145
2117
|
throw error;
|
|
2146
2118
|
}
|
|
2147
|
-
static
|
|
2148
|
-
static
|
|
2119
|
+
static { this.ɵfac = function GlobalErrorHandler_Factory(t) { return new (t || GlobalErrorHandler)(i0.ɵɵinject(i0.Injector)); }; }
|
|
2120
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GlobalErrorHandler, factory: GlobalErrorHandler.ɵfac }); }
|
|
2149
2121
|
}
|
|
2150
|
-
(
|
|
2122
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GlobalErrorHandler, [{
|
|
2151
2123
|
type: Injectable
|
|
2152
|
-
}],
|
|
2124
|
+
}], () => [{ type: i0.Injector }], null); })();
|
|
2153
2125
|
|
|
2154
2126
|
/*
|
|
2155
2127
|
<file>
|
|
@@ -2346,7 +2318,6 @@ class Alerts {
|
|
|
2346
2318
|
*/
|
|
2347
2319
|
//Node
|
|
2348
2320
|
class NotificationService {
|
|
2349
|
-
toastrService;
|
|
2350
2321
|
constructor(toastrService) {
|
|
2351
2322
|
this.toastrService = toastrService;
|
|
2352
2323
|
}
|
|
@@ -2391,13 +2362,13 @@ class NotificationService {
|
|
|
2391
2362
|
progressBar: true
|
|
2392
2363
|
});
|
|
2393
2364
|
}
|
|
2394
|
-
static
|
|
2395
|
-
static
|
|
2365
|
+
static { this.ɵfac = function NotificationService_Factory(t) { return new (t || NotificationService)(i0.ɵɵinject(i1$4.ToastrService)); }; }
|
|
2366
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: NotificationService, factory: NotificationService.ɵfac, providedIn: 'root' }); }
|
|
2396
2367
|
}
|
|
2397
|
-
(
|
|
2368
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationService, [{
|
|
2398
2369
|
type: Injectable,
|
|
2399
2370
|
args: [{ providedIn: 'root' }]
|
|
2400
|
-
}],
|
|
2371
|
+
}], () => [{ type: i1$4.ToastrService }], null); })();
|
|
2401
2372
|
|
|
2402
2373
|
/*
|
|
2403
2374
|
<file>
|
|
@@ -2415,11 +2386,6 @@ class NotificationService {
|
|
|
2415
2386
|
</file>
|
|
2416
2387
|
*/
|
|
2417
2388
|
class Stopwatch {
|
|
2418
|
-
name;
|
|
2419
|
-
startTime;
|
|
2420
|
-
stopTime;
|
|
2421
|
-
running;
|
|
2422
|
-
performance;
|
|
2423
2389
|
constructor(name) {
|
|
2424
2390
|
this.name = name;
|
|
2425
2391
|
this.startTime = 0;
|
|
@@ -2471,9 +2437,6 @@ class Stopwatch {
|
|
|
2471
2437
|
*/
|
|
2472
2438
|
//Node
|
|
2473
2439
|
class DigitalMarketingService {
|
|
2474
|
-
title;
|
|
2475
|
-
meta;
|
|
2476
|
-
dom;
|
|
2477
2440
|
constructor(title, meta, dom) {
|
|
2478
2441
|
this.title = title;
|
|
2479
2442
|
this.meta = meta;
|
|
@@ -2509,18 +2472,18 @@ class DigitalMarketingService {
|
|
|
2509
2472
|
link.setAttribute('rel', 'canonical');
|
|
2510
2473
|
link.setAttribute('href', canUrl);
|
|
2511
2474
|
}
|
|
2512
|
-
static
|
|
2513
|
-
static
|
|
2475
|
+
static { this.ɵfac = function DigitalMarketingService_Factory(t) { return new (t || DigitalMarketingService)(i0.ɵɵinject(i1$5.Title), i0.ɵɵinject(i1$5.Meta), i0.ɵɵinject(DOCUMENT)); }; }
|
|
2476
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DigitalMarketingService, factory: DigitalMarketingService.ɵfac, providedIn: 'root' }); }
|
|
2514
2477
|
}
|
|
2515
|
-
(
|
|
2478
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DigitalMarketingService, [{
|
|
2516
2479
|
type: Injectable,
|
|
2517
2480
|
args: [{
|
|
2518
2481
|
providedIn: 'root'
|
|
2519
2482
|
}]
|
|
2520
|
-
}],
|
|
2483
|
+
}], () => [{ type: i1$5.Title }, { type: i1$5.Meta }, { type: undefined, decorators: [{
|
|
2521
2484
|
type: Inject,
|
|
2522
2485
|
args: [DOCUMENT]
|
|
2523
|
-
}] }]
|
|
2486
|
+
}] }], null); })();
|
|
2524
2487
|
|
|
2525
2488
|
/*
|
|
2526
2489
|
<file>
|
|
@@ -2539,8 +2502,6 @@ class DigitalMarketingService {
|
|
|
2539
2502
|
*/
|
|
2540
2503
|
//Node
|
|
2541
2504
|
class GoogleAnalyticsService {
|
|
2542
|
-
router;
|
|
2543
|
-
subscription;
|
|
2544
2505
|
constructor(router) {
|
|
2545
2506
|
this.router = router;
|
|
2546
2507
|
/*
|
|
@@ -2566,12 +2527,12 @@ class GoogleAnalyticsService {
|
|
|
2566
2527
|
this.subscription.unsubscribe();
|
|
2567
2528
|
}
|
|
2568
2529
|
}
|
|
2569
|
-
static
|
|
2570
|
-
static
|
|
2530
|
+
static { this.ɵfac = function GoogleAnalyticsService_Factory(t) { return new (t || GoogleAnalyticsService)(i0.ɵɵinject(i1.Router)); }; }
|
|
2531
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GoogleAnalyticsService, factory: GoogleAnalyticsService.ɵfac }); }
|
|
2571
2532
|
}
|
|
2572
|
-
(
|
|
2533
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GoogleAnalyticsService, [{
|
|
2573
2534
|
type: Injectable
|
|
2574
|
-
}],
|
|
2535
|
+
}], () => [{ type: i1.Router }], null); })();
|
|
2575
2536
|
|
|
2576
2537
|
/*
|
|
2577
2538
|
<file>
|
|
@@ -2590,14 +2551,9 @@ class GoogleAnalyticsService {
|
|
|
2590
2551
|
*/
|
|
2591
2552
|
//Node
|
|
2592
2553
|
class IdleService {
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
//Dates/Timeouts
|
|
2597
|
-
startDate;
|
|
2598
|
-
timeOutSeconds;
|
|
2599
|
-
timeOutMilliSeconds;
|
|
2600
|
-
expired$ = new Subject();
|
|
2554
|
+
constructor() {
|
|
2555
|
+
this.expired$ = new Subject();
|
|
2556
|
+
}
|
|
2601
2557
|
//Private
|
|
2602
2558
|
resetTimeCounters(timeOutSeconds) {
|
|
2603
2559
|
this.timeOutSeconds = timeOutSeconds;
|
|
@@ -2641,10 +2597,10 @@ class IdleService {
|
|
|
2641
2597
|
this.resetTimeCounters(timeOutSeconds);
|
|
2642
2598
|
this.startTimer();
|
|
2643
2599
|
}
|
|
2644
|
-
static
|
|
2645
|
-
static
|
|
2600
|
+
static { this.ɵfac = function IdleService_Factory(t) { return new (t || IdleService)(); }; }
|
|
2601
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: IdleService, factory: IdleService.ɵfac, providedIn: 'root' }); }
|
|
2646
2602
|
}
|
|
2647
|
-
(
|
|
2603
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IdleService, [{
|
|
2648
2604
|
type: Injectable,
|
|
2649
2605
|
args: [{
|
|
2650
2606
|
providedIn: 'root'
|
|
@@ -2667,8 +2623,6 @@ class IdleService {
|
|
|
2667
2623
|
</file>
|
|
2668
2624
|
*/
|
|
2669
2625
|
class StarterServiceBase extends ApiServiceBase {
|
|
2670
|
-
http;
|
|
2671
|
-
appContext;
|
|
2672
2626
|
constructor(http, appContext) {
|
|
2673
2627
|
super(http);
|
|
2674
2628
|
this.http = http;
|
|
@@ -2964,13 +2918,10 @@ class Guid {
|
|
|
2964
2918
|
*/
|
|
2965
2919
|
//Node
|
|
2966
2920
|
class GridReadServiceBase extends BehaviorSubject {
|
|
2967
|
-
http;
|
|
2968
|
-
data = [];
|
|
2969
|
-
baseReadUrl;
|
|
2970
|
-
savedReadParams;
|
|
2971
2921
|
constructor(http) {
|
|
2972
2922
|
super([]);
|
|
2973
2923
|
this.http = http;
|
|
2924
|
+
this.data = [];
|
|
2974
2925
|
}
|
|
2975
2926
|
serializeParams(data) {
|
|
2976
2927
|
return data ? ('?' + $.param(data)) : '';
|
|
@@ -2999,12 +2950,12 @@ class GridReadServiceBase extends BehaviorSubject {
|
|
|
2999
2950
|
}
|
|
3000
2951
|
});
|
|
3001
2952
|
}
|
|
3002
|
-
static
|
|
3003
|
-
static
|
|
2953
|
+
static { this.ɵfac = function GridReadServiceBase_Factory(t) { return new (t || GridReadServiceBase)(i0.ɵɵinject(i1$1.HttpClient)); }; }
|
|
2954
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GridReadServiceBase, factory: GridReadServiceBase.ɵfac }); }
|
|
3004
2955
|
}
|
|
3005
|
-
(
|
|
2956
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GridReadServiceBase, [{
|
|
3006
2957
|
type: Injectable
|
|
3007
|
-
}],
|
|
2958
|
+
}], () => [{ type: i1$1.HttpClient }], null); })();
|
|
3008
2959
|
|
|
3009
2960
|
/*
|
|
3010
2961
|
<file>
|
|
@@ -3023,8 +2974,6 @@ class GridReadServiceBase extends BehaviorSubject {
|
|
|
3023
2974
|
*/
|
|
3024
2975
|
//Node
|
|
3025
2976
|
class GridEditServiceBase extends GridReadServiceBase {
|
|
3026
|
-
http;
|
|
3027
|
-
baseUrl;
|
|
3028
2977
|
constructor(http) {
|
|
3029
2978
|
super(http);
|
|
3030
2979
|
this.http = http;
|
|
@@ -3076,12 +3025,12 @@ class GridEditServiceBase extends GridReadServiceBase {
|
|
|
3076
3025
|
const url = `${this.baseUrl}/${action}${this.serializeParams(data)}`;
|
|
3077
3026
|
return this.http.post(url, data).pipe(map(res => res));
|
|
3078
3027
|
}
|
|
3079
|
-
static
|
|
3080
|
-
static
|
|
3028
|
+
static { this.ɵfac = function GridEditServiceBase_Factory(t) { return new (t || GridEditServiceBase)(i0.ɵɵinject(i1$1.HttpClient)); }; }
|
|
3029
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GridEditServiceBase, factory: GridEditServiceBase.ɵfac }); }
|
|
3081
3030
|
}
|
|
3082
|
-
(
|
|
3031
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GridEditServiceBase, [{
|
|
3083
3032
|
type: Injectable
|
|
3084
|
-
}],
|
|
3033
|
+
}], () => [{ type: i1$1.HttpClient }], null); })();
|
|
3085
3034
|
|
|
3086
3035
|
/*
|
|
3087
3036
|
<file>
|
|
@@ -3121,7 +3070,6 @@ const Urls = {
|
|
|
3121
3070
|
*/
|
|
3122
3071
|
//Node
|
|
3123
3072
|
class CoreApiService extends ApiServiceBase {
|
|
3124
|
-
http;
|
|
3125
3073
|
constructor(http) {
|
|
3126
3074
|
super(http);
|
|
3127
3075
|
this.http = http;
|
|
@@ -3151,12 +3099,12 @@ class CoreApiService extends ApiServiceBase {
|
|
|
3151
3099
|
}
|
|
3152
3100
|
});
|
|
3153
3101
|
}
|
|
3154
|
-
static
|
|
3155
|
-
static
|
|
3102
|
+
static { this.ɵfac = function CoreApiService_Factory(t) { return new (t || CoreApiService)(i0.ɵɵinject(i1$1.HttpClient)); }; }
|
|
3103
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CoreApiService, factory: CoreApiService.ɵfac }); }
|
|
3156
3104
|
}
|
|
3157
|
-
(
|
|
3105
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CoreApiService, [{
|
|
3158
3106
|
type: Injectable
|
|
3159
|
-
}],
|
|
3107
|
+
}], () => [{ type: i1$1.HttpClient }], null); })();
|
|
3160
3108
|
|
|
3161
3109
|
/*
|
|
3162
3110
|
<file>
|
|
@@ -3175,7 +3123,6 @@ class CoreApiService extends ApiServiceBase {
|
|
|
3175
3123
|
*/
|
|
3176
3124
|
//Node
|
|
3177
3125
|
class EmailsApiService extends ApiServiceBase {
|
|
3178
|
-
http;
|
|
3179
3126
|
constructor(http) {
|
|
3180
3127
|
super(http);
|
|
3181
3128
|
this.http = http;
|
|
@@ -3193,12 +3140,12 @@ class EmailsApiService extends ApiServiceBase {
|
|
|
3193
3140
|
}
|
|
3194
3141
|
});
|
|
3195
3142
|
}
|
|
3196
|
-
static
|
|
3197
|
-
static
|
|
3143
|
+
static { this.ɵfac = function EmailsApiService_Factory(t) { return new (t || EmailsApiService)(i0.ɵɵinject(i1$1.HttpClient)); }; }
|
|
3144
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EmailsApiService, factory: EmailsApiService.ɵfac }); }
|
|
3198
3145
|
}
|
|
3199
|
-
(
|
|
3146
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmailsApiService, [{
|
|
3200
3147
|
type: Injectable
|
|
3201
|
-
}],
|
|
3148
|
+
}], () => [{ type: i1$1.HttpClient }], null); })();
|
|
3202
3149
|
|
|
3203
3150
|
/*
|
|
3204
3151
|
<file>
|
|
@@ -3234,18 +3181,16 @@ class EmailsApiService extends ApiServiceBase {
|
|
|
3234
3181
|
*/
|
|
3235
3182
|
//Node
|
|
3236
3183
|
class ComponentBase {
|
|
3237
|
-
isDevMode = false;
|
|
3238
|
-
subs = new Subs();
|
|
3239
|
-
//Component Data => usually loading from API
|
|
3240
|
-
dataLoading = true;
|
|
3241
|
-
dataLoaded = false;
|
|
3242
|
-
dataFound = false;
|
|
3243
|
-
//Inputs
|
|
3244
|
-
classes;
|
|
3245
|
-
title = '';
|
|
3246
|
-
isTitleVisible = true;
|
|
3247
|
-
isRequired = false;
|
|
3248
3184
|
constructor() {
|
|
3185
|
+
this.isDevMode = false;
|
|
3186
|
+
this.subs = new Subs();
|
|
3187
|
+
//Component Data => usually loading from API
|
|
3188
|
+
this.dataLoading = true;
|
|
3189
|
+
this.dataLoaded = false;
|
|
3190
|
+
this.dataFound = false;
|
|
3191
|
+
this.title = '';
|
|
3192
|
+
this.isTitleVisible = true;
|
|
3193
|
+
this.isRequired = false;
|
|
3249
3194
|
this.isDevMode = isDevMode();
|
|
3250
3195
|
}
|
|
3251
3196
|
ngOnInit() {
|
|
@@ -3275,15 +3220,15 @@ class ComponentBase {
|
|
|
3275
3220
|
this.dataLoaded = true;
|
|
3276
3221
|
this.dataFound = found;
|
|
3277
3222
|
}
|
|
3278
|
-
static
|
|
3279
|
-
static
|
|
3223
|
+
static { this.ɵfac = function ComponentBase_Factory(t) { return new (t || ComponentBase)(); }; }
|
|
3224
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentBase, selectors: [["ng-component"]], inputs: { classes: "classes", title: "title", isTitleVisible: "isTitleVisible", isRequired: "isRequired" }, decls: 0, vars: 0, template: function ComponentBase_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
3280
3225
|
}
|
|
3281
|
-
(
|
|
3226
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentBase, [{
|
|
3282
3227
|
type: Component,
|
|
3283
3228
|
args: [{
|
|
3284
3229
|
template: ''
|
|
3285
3230
|
}]
|
|
3286
|
-
}],
|
|
3231
|
+
}], () => [], { classes: [{
|
|
3287
3232
|
type: Input
|
|
3288
3233
|
}], title: [{
|
|
3289
3234
|
type: Input
|
|
@@ -3292,6 +3237,7 @@ class ComponentBase {
|
|
|
3292
3237
|
}], isRequired: [{
|
|
3293
3238
|
type: Input
|
|
3294
3239
|
}] }); })();
|
|
3240
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentBase, { className: "ComponentBase", filePath: "lib\\ui\\components\\base\\components\\component.ts", lineNumber: 26 }); })();
|
|
3295
3241
|
|
|
3296
3242
|
/*
|
|
3297
3243
|
<file>
|
|
@@ -3310,15 +3256,13 @@ class ComponentBase {
|
|
|
3310
3256
|
*/
|
|
3311
3257
|
//Node
|
|
3312
3258
|
class EditComponentBase extends ComponentBase {
|
|
3313
|
-
//Modes
|
|
3314
|
-
isAddMode = false;
|
|
3315
|
-
isEditMode = false;
|
|
3316
|
-
//Forms support
|
|
3317
|
-
formGroup;
|
|
3318
|
-
formSubmitted = false;
|
|
3319
|
-
controlName = null;
|
|
3320
3259
|
constructor() {
|
|
3321
3260
|
super();
|
|
3261
|
+
//Modes
|
|
3262
|
+
this.isAddMode = false;
|
|
3263
|
+
this.isEditMode = false;
|
|
3264
|
+
this.formSubmitted = false;
|
|
3265
|
+
this.controlName = null;
|
|
3322
3266
|
this.isEditMode = Utils.idExistsInQS();
|
|
3323
3267
|
this.isAddMode = !this.isEditMode;
|
|
3324
3268
|
}
|
|
@@ -3415,21 +3359,22 @@ class EditComponentBase extends ComponentBase {
|
|
|
3415
3359
|
get isNgModelBased() {
|
|
3416
3360
|
return this.controlName == null;
|
|
3417
3361
|
}
|
|
3418
|
-
static
|
|
3419
|
-
static
|
|
3362
|
+
static { this.ɵfac = function EditComponentBase_Factory(t) { return new (t || EditComponentBase)(); }; }
|
|
3363
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EditComponentBase, selectors: [["ng-component"]], inputs: { formGroup: "formGroup", formSubmitted: "formSubmitted", controlName: "controlName" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function EditComponentBase_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
3420
3364
|
}
|
|
3421
|
-
(
|
|
3365
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EditComponentBase, [{
|
|
3422
3366
|
type: Component,
|
|
3423
3367
|
args: [{
|
|
3424
3368
|
template: ''
|
|
3425
3369
|
}]
|
|
3426
|
-
}],
|
|
3370
|
+
}], () => [], { formGroup: [{
|
|
3427
3371
|
type: Input
|
|
3428
3372
|
}], formSubmitted: [{
|
|
3429
3373
|
type: Input
|
|
3430
3374
|
}], controlName: [{
|
|
3431
3375
|
type: Input
|
|
3432
3376
|
}] }); })();
|
|
3377
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EditComponentBase, { className: "EditComponentBase", filePath: "lib\\ui\\components\\base\\components\\edit.component.ts", lineNumber: 28 }); })();
|
|
3433
3378
|
|
|
3434
3379
|
/*
|
|
3435
3380
|
<file>
|
|
@@ -3448,12 +3393,13 @@ class EditComponentBase extends ComponentBase {
|
|
|
3448
3393
|
*/
|
|
3449
3394
|
//Node
|
|
3450
3395
|
class EnumEditComponentBase extends EditComponentBase {
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3396
|
+
constructor() {
|
|
3397
|
+
super(...arguments);
|
|
3398
|
+
this.items = [];
|
|
3399
|
+
this.defaultValue = -1;
|
|
3400
|
+
//Outputs
|
|
3401
|
+
this.valueChange = new EventEmitter();
|
|
3402
|
+
}
|
|
3457
3403
|
ngOnInit() {
|
|
3458
3404
|
this.renderItems();
|
|
3459
3405
|
if (!this.selectedValue) {
|
|
@@ -3496,10 +3442,10 @@ class EnumEditComponentBase extends EditComponentBase {
|
|
|
3496
3442
|
this.sv = value;
|
|
3497
3443
|
}
|
|
3498
3444
|
}
|
|
3499
|
-
static
|
|
3500
|
-
static
|
|
3445
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵEnumEditComponentBase_BaseFactory; return function EnumEditComponentBase_Factory(t) { return (ɵEnumEditComponentBase_BaseFactory || (ɵEnumEditComponentBase_BaseFactory = i0.ɵɵgetInheritedFactory(EnumEditComponentBase)))(t || EnumEditComponentBase); }; })(); }
|
|
3446
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EnumEditComponentBase, selectors: [["ng-component"]], inputs: { defaultValue: "defaultValue" }, outputs: { valueChange: "valueChange" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function EnumEditComponentBase_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
3501
3447
|
}
|
|
3502
|
-
(
|
|
3448
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EnumEditComponentBase, [{
|
|
3503
3449
|
type: Component,
|
|
3504
3450
|
args: [{
|
|
3505
3451
|
template: ''
|
|
@@ -3509,6 +3455,7 @@ class EnumEditComponentBase extends EditComponentBase {
|
|
|
3509
3455
|
}], valueChange: [{
|
|
3510
3456
|
type: Output
|
|
3511
3457
|
}] }); })();
|
|
3458
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EnumEditComponentBase, { className: "EnumEditComponentBase", filePath: "lib\\ui\\components\\base\\components\\enum-edit.component.ts", lineNumber: 27 }); })();
|
|
3512
3459
|
|
|
3513
3460
|
/*
|
|
3514
3461
|
<file>
|
|
@@ -3527,15 +3474,16 @@ class EnumEditComponentBase extends EditComponentBase {
|
|
|
3527
3474
|
*/
|
|
3528
3475
|
//Node
|
|
3529
3476
|
class PageBase extends ComponentBase {
|
|
3530
|
-
static
|
|
3531
|
-
static
|
|
3477
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵPageBase_BaseFactory; return function PageBase_Factory(t) { return (ɵPageBase_BaseFactory || (ɵPageBase_BaseFactory = i0.ɵɵgetInheritedFactory(PageBase)))(t || PageBase); }; })(); }
|
|
3478
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PageBase, selectors: [["ng-component"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function PageBase_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
3532
3479
|
}
|
|
3533
|
-
(
|
|
3480
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageBase, [{
|
|
3534
3481
|
type: Component,
|
|
3535
3482
|
args: [{
|
|
3536
3483
|
template: ''
|
|
3537
3484
|
}]
|
|
3538
3485
|
}], null, null); })();
|
|
3486
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageBase, { className: "PageBase", filePath: "lib\\ui\\components\\base\\pages\\page.ts", lineNumber: 26 }); })();
|
|
3539
3487
|
|
|
3540
3488
|
/*
|
|
3541
3489
|
<file>
|
|
@@ -3554,15 +3502,16 @@ class PageBase extends ComponentBase {
|
|
|
3554
3502
|
*/
|
|
3555
3503
|
//Node
|
|
3556
3504
|
class EditPageBase extends EditComponentBase {
|
|
3557
|
-
static
|
|
3558
|
-
static
|
|
3505
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵEditPageBase_BaseFactory; return function EditPageBase_Factory(t) { return (ɵEditPageBase_BaseFactory || (ɵEditPageBase_BaseFactory = i0.ɵɵgetInheritedFactory(EditPageBase)))(t || EditPageBase); }; })(); }
|
|
3506
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EditPageBase, selectors: [["ng-component"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function EditPageBase_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
3559
3507
|
}
|
|
3560
|
-
(
|
|
3508
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EditPageBase, [{
|
|
3561
3509
|
type: Component,
|
|
3562
3510
|
args: [{
|
|
3563
3511
|
template: ''
|
|
3564
3512
|
}]
|
|
3565
3513
|
}], null, null); })();
|
|
3514
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EditPageBase, { className: "EditPageBase", filePath: "lib\\ui\\components\\base\\pages\\edit.page.ts", lineNumber: 26 }); })();
|
|
3566
3515
|
|
|
3567
3516
|
/*
|
|
3568
3517
|
<file>
|
|
@@ -3581,13 +3530,14 @@ class EditPageBase extends EditComponentBase {
|
|
|
3581
3530
|
*/
|
|
3582
3531
|
//Node
|
|
3583
3532
|
class PagedPageBase extends PageBase {
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3533
|
+
constructor() {
|
|
3534
|
+
super(...arguments);
|
|
3535
|
+
this.currentFilter = null;
|
|
3536
|
+
this.totalItems = 0;
|
|
3537
|
+
this.pageSize = 10;
|
|
3538
|
+
this.skipItems = 0;
|
|
3539
|
+
this.currentPage = 1;
|
|
3540
|
+
}
|
|
3591
3541
|
loadPageOne() {
|
|
3592
3542
|
this.skipItems = 0;
|
|
3593
3543
|
this.currentPage = 1;
|
|
@@ -3616,15 +3566,16 @@ class PagedPageBase extends PageBase {
|
|
|
3616
3566
|
this.currentPage = (this.skipItems / this.pageSize) + 1;
|
|
3617
3567
|
this.loadPage();
|
|
3618
3568
|
}
|
|
3619
|
-
static
|
|
3620
|
-
static
|
|
3569
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵPagedPageBase_BaseFactory; return function PagedPageBase_Factory(t) { return (ɵPagedPageBase_BaseFactory || (ɵPagedPageBase_BaseFactory = i0.ɵɵgetInheritedFactory(PagedPageBase)))(t || PagedPageBase); }; })(); }
|
|
3570
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PagedPageBase, selectors: [["ng-component"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function PagedPageBase_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
3621
3571
|
}
|
|
3622
|
-
(
|
|
3572
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PagedPageBase, [{
|
|
3623
3573
|
type: Component,
|
|
3624
3574
|
args: [{
|
|
3625
3575
|
template: ''
|
|
3626
3576
|
}]
|
|
3627
3577
|
}], null, null); })();
|
|
3578
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PagedPageBase, { className: "PagedPageBase", filePath: "lib\\ui\\components\\base\\pages\\paged.page.ts", lineNumber: 26 }); })();
|
|
3628
3579
|
|
|
3629
3580
|
/*
|
|
3630
3581
|
<file>
|
|
@@ -3643,7 +3594,6 @@ class PagedPageBase extends PageBase {
|
|
|
3643
3594
|
*/
|
|
3644
3595
|
//Node
|
|
3645
3596
|
class DialogBase extends EditComponentBase {
|
|
3646
|
-
_isOpen = false;
|
|
3647
3597
|
get isOpen() {
|
|
3648
3598
|
return this._isOpen;
|
|
3649
3599
|
}
|
|
@@ -3656,11 +3606,12 @@ class DialogBase extends EditComponentBase {
|
|
|
3656
3606
|
}
|
|
3657
3607
|
this._isOpen = value;
|
|
3658
3608
|
}
|
|
3659
|
-
//Events
|
|
3660
|
-
opened = new EventEmitter();
|
|
3661
|
-
closed = new EventEmitter();
|
|
3662
3609
|
constructor() {
|
|
3663
3610
|
super();
|
|
3611
|
+
this._isOpen = false;
|
|
3612
|
+
//Events
|
|
3613
|
+
this.opened = new EventEmitter();
|
|
3614
|
+
this.closed = new EventEmitter();
|
|
3664
3615
|
}
|
|
3665
3616
|
open() {
|
|
3666
3617
|
this.isOpen = true;
|
|
@@ -3673,21 +3624,22 @@ class DialogBase extends EditComponentBase {
|
|
|
3673
3624
|
this.isOpen = false;
|
|
3674
3625
|
this.closed.emit(-1);
|
|
3675
3626
|
}
|
|
3676
|
-
static
|
|
3677
|
-
static
|
|
3627
|
+
static { this.ɵfac = function DialogBase_Factory(t) { return new (t || DialogBase)(); }; }
|
|
3628
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DialogBase, selectors: [["ng-component"]], inputs: { isOpen: "isOpen" }, outputs: { opened: "opened", closed: "closed" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function DialogBase_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
3678
3629
|
}
|
|
3679
|
-
(
|
|
3630
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogBase, [{
|
|
3680
3631
|
type: Component,
|
|
3681
3632
|
args: [{
|
|
3682
3633
|
template: ''
|
|
3683
3634
|
}]
|
|
3684
|
-
}],
|
|
3635
|
+
}], () => [], { isOpen: [{
|
|
3685
3636
|
type: Input
|
|
3686
3637
|
}], opened: [{
|
|
3687
3638
|
type: Output
|
|
3688
3639
|
}], closed: [{
|
|
3689
3640
|
type: Output
|
|
3690
3641
|
}] }); })();
|
|
3642
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DialogBase, { className: "DialogBase", filePath: "lib\\ui\\components\\base\\dialog.ts", lineNumber: 26 }); })();
|
|
3691
3643
|
|
|
3692
3644
|
/*
|
|
3693
3645
|
<file>
|
|
@@ -3706,13 +3658,14 @@ class DialogBase extends EditComponentBase {
|
|
|
3706
3658
|
*/
|
|
3707
3659
|
//Node
|
|
3708
3660
|
class ListBase extends ComponentBase {
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3661
|
+
constructor() {
|
|
3662
|
+
super(...arguments);
|
|
3663
|
+
this.currentFilter = null;
|
|
3664
|
+
this.totalItems = 0;
|
|
3665
|
+
this.skipItems = 0;
|
|
3666
|
+
this.currentPage = 1;
|
|
3667
|
+
this.pageSize = 10;
|
|
3668
|
+
}
|
|
3716
3669
|
loadPageOne() {
|
|
3717
3670
|
this.skipItems = 0;
|
|
3718
3671
|
this.currentPage = 1;
|
|
@@ -3741,10 +3694,10 @@ class ListBase extends ComponentBase {
|
|
|
3741
3694
|
this.currentPage = (this.skipItems / this.pageSize) + 1;
|
|
3742
3695
|
this.loadPage();
|
|
3743
3696
|
}
|
|
3744
|
-
static
|
|
3745
|
-
static
|
|
3697
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵListBase_BaseFactory; return function ListBase_Factory(t) { return (ɵListBase_BaseFactory || (ɵListBase_BaseFactory = i0.ɵɵgetInheritedFactory(ListBase)))(t || ListBase); }; })(); }
|
|
3698
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ListBase, selectors: [["ng-component"]], inputs: { pageSize: "pageSize" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function ListBase_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
3746
3699
|
}
|
|
3747
|
-
(
|
|
3700
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ListBase, [{
|
|
3748
3701
|
type: Component,
|
|
3749
3702
|
args: [{
|
|
3750
3703
|
template: ''
|
|
@@ -3752,6 +3705,7 @@ class ListBase extends ComponentBase {
|
|
|
3752
3705
|
}], null, { pageSize: [{
|
|
3753
3706
|
type: Input
|
|
3754
3707
|
}] }); })();
|
|
3708
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ListBase, { className: "ListBase", filePath: "lib\\ui\\components\\base\\list.ts", lineNumber: 26 }); })();
|
|
3755
3709
|
|
|
3756
3710
|
/*
|
|
3757
3711
|
<file>
|
|
@@ -3778,11 +3732,11 @@ function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
3778
3732
|
i0.ɵɵelementEnd();
|
|
3779
3733
|
} if (rf & 2) {
|
|
3780
3734
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
3781
|
-
const
|
|
3735
|
+
const _r3 = i0.ɵɵreference(3);
|
|
3782
3736
|
i0.ɵɵclassMap(ctx_r0.classes);
|
|
3783
3737
|
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
3784
|
-
i0.ɵɵadvance(
|
|
3785
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
3738
|
+
i0.ɵɵadvance();
|
|
3739
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3);
|
|
3786
3740
|
} }
|
|
3787
3741
|
function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
3788
3742
|
i0.ɵɵelementContainer(0);
|
|
@@ -3793,11 +3747,11 @@ function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
3793
3747
|
i0.ɵɵelementEnd();
|
|
3794
3748
|
} if (rf & 2) {
|
|
3795
3749
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
3796
|
-
const
|
|
3750
|
+
const _r3 = i0.ɵɵreference(3);
|
|
3797
3751
|
i0.ɵɵclassMap(ctx_r1.classes);
|
|
3798
3752
|
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
3799
|
-
i0.ɵɵadvance(
|
|
3800
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
3753
|
+
i0.ɵɵadvance();
|
|
3754
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3);
|
|
3801
3755
|
} }
|
|
3802
3756
|
function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
3803
3757
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -3816,11 +3770,9 @@ function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
3816
3770
|
} }
|
|
3817
3771
|
const _c0$e = ["*"];
|
|
3818
3772
|
class SignUpButtonComponent extends ComponentBase {
|
|
3819
|
-
url;
|
|
3820
|
-
external = false;
|
|
3821
|
-
qs;
|
|
3822
3773
|
constructor() {
|
|
3823
3774
|
super();
|
|
3775
|
+
this.external = false;
|
|
3824
3776
|
}
|
|
3825
3777
|
ngOnInit() {
|
|
3826
3778
|
let url = MSALConfig.ui.signup;
|
|
@@ -3834,24 +3786,23 @@ class SignUpButtonComponent extends ComponentBase {
|
|
|
3834
3786
|
}
|
|
3835
3787
|
}
|
|
3836
3788
|
}
|
|
3837
|
-
static
|
|
3838
|
-
static
|
|
3789
|
+
static { this.ɵfac = function SignUpButtonComponent_Factory(t) { return new (t || SignUpButtonComponent)(); }; }
|
|
3790
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], inputs: { qs: "qs" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$e, decls: 4, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], ["contentTemplate", ""], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3839
3791
|
i0.ɵɵprojectionDef();
|
|
3840
|
-
i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template, 2, 5, "a", 0);
|
|
3841
|
-
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_Template, 2, 5, "a", 1);
|
|
3842
|
-
i0.ɵɵtemplate(2, SignUpButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
3792
|
+
i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template, 2, 5, "a", 0)(1, SignUpButtonComponent_a_1_Template, 2, 5, "a", 1)(2, SignUpButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
3843
3793
|
} if (rf & 2) {
|
|
3844
3794
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
3845
|
-
i0.ɵɵadvance(
|
|
3795
|
+
i0.ɵɵadvance();
|
|
3846
3796
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
3847
|
-
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 });
|
|
3797
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 }); }
|
|
3848
3798
|
}
|
|
3849
|
-
(
|
|
3799
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
3850
3800
|
type: Component,
|
|
3851
3801
|
args: [{ selector: "anatoly-signup-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<a [routerLink]=\"url\" class=\"{{ classes }}\" *ngIf=\"!external\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<ng-template #contentTemplate>\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Up</span>\r\n</ng-template>\r\n" }]
|
|
3852
|
-
}],
|
|
3802
|
+
}], () => [], { qs: [{
|
|
3853
3803
|
type: Input
|
|
3854
3804
|
}] }); })();
|
|
3805
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpButtonComponent, { className: "SignUpButtonComponent", filePath: "lib\\ui\\components\\identity\\signup-button.component.ts", lineNumber: 28 }); })();
|
|
3855
3806
|
|
|
3856
3807
|
/*
|
|
3857
3808
|
<file>
|
|
@@ -3888,40 +3839,35 @@ function BuyAccessButtonComponent_div_0_div_2_button_2_Template(rf, ctx) { if (r
|
|
|
3888
3839
|
} }
|
|
3889
3840
|
function BuyAccessButtonComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
3890
3841
|
i0.ɵɵelementStart(0, "div");
|
|
3891
|
-
i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_2_button_1_Template, 2, 0, "button", 2);
|
|
3892
|
-
i0.ɵɵtemplate(2, BuyAccessButtonComponent_div_0_div_2_button_2_Template, 2, 0, "button", 3);
|
|
3842
|
+
i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_2_button_1_Template, 2, 0, "button", 2)(2, BuyAccessButtonComponent_div_0_div_2_button_2_Template, 2, 0, "button", 3);
|
|
3893
3843
|
i0.ɵɵelementEnd();
|
|
3894
3844
|
} if (rf & 2) {
|
|
3895
3845
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
3896
|
-
i0.ɵɵadvance(
|
|
3846
|
+
i0.ɵɵadvance();
|
|
3897
3847
|
i0.ɵɵproperty("ngIf", ctx_r2.plan == ctx_r2.currentPlan);
|
|
3898
|
-
i0.ɵɵadvance(
|
|
3848
|
+
i0.ɵɵadvance();
|
|
3899
3849
|
i0.ɵɵproperty("ngIf", ctx_r2.plan != ctx_r2.currentPlan && ctx_r2.currentPlan == 1);
|
|
3900
3850
|
} }
|
|
3901
3851
|
function BuyAccessButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
3902
3852
|
i0.ɵɵelementStart(0, "div");
|
|
3903
|
-
i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_1_Template, 2, 0, "div", 0);
|
|
3904
|
-
i0.ɵɵtemplate(2, BuyAccessButtonComponent_div_0_div_2_Template, 3, 2, "div", 0);
|
|
3853
|
+
i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_1_Template, 2, 0, "div", 0)(2, BuyAccessButtonComponent_div_0_div_2_Template, 3, 2, "div", 0);
|
|
3905
3854
|
i0.ɵɵelementEnd();
|
|
3906
3855
|
} if (rf & 2) {
|
|
3907
3856
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
3908
|
-
i0.ɵɵadvance(
|
|
3857
|
+
i0.ɵɵadvance();
|
|
3909
3858
|
i0.ɵɵproperty("ngIf", !ctx_r0.isUserSignedIn);
|
|
3910
|
-
i0.ɵɵadvance(
|
|
3859
|
+
i0.ɵɵadvance();
|
|
3911
3860
|
i0.ɵɵproperty("ngIf", ctx_r0.isUserSignedIn && ctx_r0.visibleIfUserSignedIn);
|
|
3912
3861
|
} }
|
|
3913
3862
|
class BuyAccessButtonComponent {
|
|
3914
|
-
appContext;
|
|
3915
|
-
contextUpdated = false;
|
|
3916
|
-
isUserSignedIn = false;
|
|
3917
|
-
currentPlan = -1;
|
|
3918
|
-
currentPlanTitle = '';
|
|
3919
|
-
plan;
|
|
3920
|
-
planTitle;
|
|
3921
|
-
visibleIfUserSignedIn = false;
|
|
3922
|
-
planselect = new EventEmitter();
|
|
3923
3863
|
constructor(appContext) {
|
|
3924
3864
|
this.appContext = appContext;
|
|
3865
|
+
this.contextUpdated = false;
|
|
3866
|
+
this.isUserSignedIn = false;
|
|
3867
|
+
this.currentPlan = -1;
|
|
3868
|
+
this.currentPlanTitle = '';
|
|
3869
|
+
this.visibleIfUserSignedIn = false;
|
|
3870
|
+
this.planselect = new EventEmitter();
|
|
3925
3871
|
}
|
|
3926
3872
|
ngOnInit() {
|
|
3927
3873
|
this.appContext.updated$.subscribe((context) => {
|
|
@@ -3940,17 +3886,17 @@ class BuyAccessButtonComponent {
|
|
|
3940
3886
|
onPlanSelect() {
|
|
3941
3887
|
this.planselect.emit(this.plan);
|
|
3942
3888
|
}
|
|
3943
|
-
static
|
|
3944
|
-
static
|
|
3889
|
+
static { this.ɵfac = function BuyAccessButtonComponent_Factory(t) { return new (t || BuyAccessButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
3890
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BuyAccessButtonComponent, selectors: [["anatoly-buyaccess-button"]], inputs: { plan: "plan", planTitle: "planTitle", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["classes", "btn btn-block btn-primary"], ["class", "btn btn-block btn-success selectPlan", 4, "ngIf"], ["class", "btn btn-block btn-warning selectPlan", 3, "click", 4, "ngIf"], [1, "btn", "btn-block", "btn-success", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan", 3, "click"]], template: function BuyAccessButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3945
3891
|
i0.ɵɵtemplate(0, BuyAccessButtonComponent_div_0_Template, 3, 2, "div", 0);
|
|
3946
3892
|
} if (rf & 2) {
|
|
3947
3893
|
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
3948
|
-
} }, dependencies: [i1$2.NgIf, SignUpButtonComponent], encapsulation: 2 });
|
|
3894
|
+
} }, dependencies: [i1$2.NgIf, SignUpButtonComponent], encapsulation: 2 }); }
|
|
3949
3895
|
}
|
|
3950
|
-
(
|
|
3896
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
|
|
3951
3897
|
type: Component,
|
|
3952
3898
|
args: [{ selector: 'anatoly-buyaccess-button', template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn && visibleIfUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\"\r\n *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\"\r\n *ngIf=\"plan != currentPlan && currentPlan == 1\"\r\n (click)=\"onPlanSelect()\">\r\n Buy Now\r\n </button>\r\n </div>\r\n</div>\r\n" }]
|
|
3953
|
-
}],
|
|
3899
|
+
}], () => [{ type: AppContextService }], { plan: [{
|
|
3954
3900
|
type: Input
|
|
3955
3901
|
}], planTitle: [{
|
|
3956
3902
|
type: Input
|
|
@@ -3959,6 +3905,7 @@ class BuyAccessButtonComponent {
|
|
|
3959
3905
|
}], planselect: [{
|
|
3960
3906
|
type: Output
|
|
3961
3907
|
}] }); })();
|
|
3908
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BuyAccessButtonComponent, { className: "BuyAccessButtonComponent", filePath: "lib\\ui\\components\\billing\\buyaccess-button.component.ts", lineNumber: 27 }); })();
|
|
3962
3909
|
|
|
3963
3910
|
/*
|
|
3964
3911
|
<file>
|
|
@@ -4000,45 +3947,39 @@ function SubscribePlanButtonComponent_div_0_div_2_button_3_Template(rf, ctx) { i
|
|
|
4000
3947
|
} }
|
|
4001
3948
|
function SubscribePlanButtonComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
4002
3949
|
i0.ɵɵelementStart(0, "div");
|
|
4003
|
-
i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_2_button_1_Template, 2, 0, "button", 2);
|
|
4004
|
-
i0.ɵɵtemplate(2, SubscribePlanButtonComponent_div_0_div_2_button_2_Template, 2, 0, "button", 3);
|
|
4005
|
-
i0.ɵɵtemplate(3, SubscribePlanButtonComponent_div_0_div_2_button_3_Template, 2, 0, "button", 4);
|
|
3950
|
+
i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_2_button_1_Template, 2, 0, "button", 2)(2, SubscribePlanButtonComponent_div_0_div_2_button_2_Template, 2, 0, "button", 3)(3, SubscribePlanButtonComponent_div_0_div_2_button_3_Template, 2, 0, "button", 4);
|
|
4006
3951
|
i0.ɵɵelementEnd();
|
|
4007
3952
|
} if (rf & 2) {
|
|
4008
3953
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
4009
|
-
i0.ɵɵadvance(
|
|
3954
|
+
i0.ɵɵadvance();
|
|
4010
3955
|
i0.ɵɵproperty("ngIf", ctx_r2.plan == ctx_r2.currentPlan);
|
|
4011
|
-
i0.ɵɵadvance(
|
|
3956
|
+
i0.ɵɵadvance();
|
|
4012
3957
|
i0.ɵɵproperty("ngIf", ctx_r2.plan == ctx_r2.requestedPlan);
|
|
4013
|
-
i0.ɵɵadvance(
|
|
3958
|
+
i0.ɵɵadvance();
|
|
4014
3959
|
i0.ɵɵproperty("ngIf", ctx_r2.plan != ctx_r2.currentPlan && ctx_r2.plan != ctx_r2.requestedPlan);
|
|
4015
3960
|
} }
|
|
4016
3961
|
function SubscribePlanButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
4017
3962
|
i0.ɵɵelementStart(0, "div");
|
|
4018
|
-
i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_1_Template, 2, 0, "div", 0);
|
|
4019
|
-
i0.ɵɵtemplate(2, SubscribePlanButtonComponent_div_0_div_2_Template, 4, 3, "div", 0);
|
|
3963
|
+
i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_1_Template, 2, 0, "div", 0)(2, SubscribePlanButtonComponent_div_0_div_2_Template, 4, 3, "div", 0);
|
|
4020
3964
|
i0.ɵɵelementEnd();
|
|
4021
3965
|
} if (rf & 2) {
|
|
4022
3966
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4023
|
-
i0.ɵɵadvance(
|
|
3967
|
+
i0.ɵɵadvance();
|
|
4024
3968
|
i0.ɵɵproperty("ngIf", !ctx_r0.isUserSignedIn);
|
|
4025
|
-
i0.ɵɵadvance(
|
|
3969
|
+
i0.ɵɵadvance();
|
|
4026
3970
|
i0.ɵɵproperty("ngIf", ctx_r0.isUserSignedIn && ctx_r0.visibleIfUserSignedIn);
|
|
4027
3971
|
} }
|
|
4028
3972
|
class SubscribePlanButtonComponent {
|
|
4029
|
-
appContext;
|
|
4030
|
-
contextUpdated = false;
|
|
4031
|
-
isUserSignedIn = false;
|
|
4032
|
-
currentPlan = -1;
|
|
4033
|
-
currentPlanTitle = "";
|
|
4034
|
-
requestedPlan = -1;
|
|
4035
|
-
requestedPlanTitle = "";
|
|
4036
|
-
plan;
|
|
4037
|
-
planTitle;
|
|
4038
|
-
visibleIfUserSignedIn = false;
|
|
4039
|
-
planselect = new EventEmitter();
|
|
4040
3973
|
constructor(appContext) {
|
|
4041
3974
|
this.appContext = appContext;
|
|
3975
|
+
this.contextUpdated = false;
|
|
3976
|
+
this.isUserSignedIn = false;
|
|
3977
|
+
this.currentPlan = -1;
|
|
3978
|
+
this.currentPlanTitle = "";
|
|
3979
|
+
this.requestedPlan = -1;
|
|
3980
|
+
this.requestedPlanTitle = "";
|
|
3981
|
+
this.visibleIfUserSignedIn = false;
|
|
3982
|
+
this.planselect = new EventEmitter();
|
|
4042
3983
|
}
|
|
4043
3984
|
ngOnInit() {
|
|
4044
3985
|
this.appContext.updated$.subscribe((context) => {
|
|
@@ -4059,17 +4000,17 @@ class SubscribePlanButtonComponent {
|
|
|
4059
4000
|
onPlanSelect() {
|
|
4060
4001
|
this.planselect.emit(this.plan);
|
|
4061
4002
|
}
|
|
4062
|
-
static
|
|
4063
|
-
static
|
|
4003
|
+
static { this.ɵfac = function SubscribePlanButtonComponent_Factory(t) { return new (t || SubscribePlanButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
4004
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscribePlanButtonComponent, selectors: [["anatoly-subscribe-plan-button"]], inputs: { plan: "plan", planTitle: "planTitle", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["classes", "btn btn-block btn-primary"], ["class", "btn btn-block btn-success selectPlan", 4, "ngIf"], ["class", "btn btn-block btn-warning selectPlan", 4, "ngIf"], ["class", "btn btn-block btn-warning selectPlan", 3, "click", 4, "ngIf"], [1, "btn", "btn-block", "btn-success", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan", 3, "click"]], template: function SubscribePlanButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4064
4005
|
i0.ɵɵtemplate(0, SubscribePlanButtonComponent_div_0_Template, 3, 2, "div", 0);
|
|
4065
4006
|
} if (rf & 2) {
|
|
4066
4007
|
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
4067
|
-
} }, dependencies: [i1$2.NgIf, SignUpButtonComponent], encapsulation: 2 });
|
|
4008
|
+
} }, dependencies: [i1$2.NgIf, SignUpButtonComponent], encapsulation: 2 }); }
|
|
4068
4009
|
}
|
|
4069
|
-
(
|
|
4010
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
|
|
4070
4011
|
type: Component,
|
|
4071
4012
|
args: [{ selector: "anatoly-subscribe-plan-button", template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn && visibleIfUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\"\r\n *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\"\r\n *ngIf=\"plan == requestedPlan\">\r\n Requested\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\"\r\n *ngIf=\"plan != currentPlan && plan != requestedPlan\"\r\n (click)=\"onPlanSelect()\">\r\n Subscribe\r\n </button>\r\n </div>\r\n</div>\r\n" }]
|
|
4072
|
-
}],
|
|
4013
|
+
}], () => [{ type: AppContextService }], { plan: [{
|
|
4073
4014
|
type: Input
|
|
4074
4015
|
}], planTitle: [{
|
|
4075
4016
|
type: Input
|
|
@@ -4078,6 +4019,7 @@ class SubscribePlanButtonComponent {
|
|
|
4078
4019
|
}], planselect: [{
|
|
4079
4020
|
type: Output
|
|
4080
4021
|
}] }); })();
|
|
4022
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SubscribePlanButtonComponent, { className: "SubscribePlanButtonComponent", filePath: "lib\\ui\\components\\billing\\subscribe-plan-button.component.ts", lineNumber: 27 }); })();
|
|
4081
4023
|
|
|
4082
4024
|
/*
|
|
4083
4025
|
<file>
|
|
@@ -4097,23 +4039,26 @@ class SubscribePlanButtonComponent {
|
|
|
4097
4039
|
//Node
|
|
4098
4040
|
const _c0$d = ["*"];
|
|
4099
4041
|
class CheckIconComponent {
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4042
|
+
constructor() {
|
|
4043
|
+
//Inputs
|
|
4044
|
+
this.checked = true;
|
|
4045
|
+
}
|
|
4046
|
+
static { this.ɵfac = function CheckIconComponent_Factory(t) { return new (t || CheckIconComponent)(); }; }
|
|
4047
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckIconComponent, selectors: [["anatoly-check-icon"]], inputs: { checked: "checked" }, ngContentSelectors: _c0$d, decls: 2, vars: 2, consts: [[3, "icon", "ngClass"]], template: function CheckIconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4104
4048
|
i0.ɵɵprojectionDef();
|
|
4105
4049
|
i0.ɵɵelement(0, "fa-icon", 0);
|
|
4106
4050
|
i0.ɵɵprojection(1);
|
|
4107
4051
|
} if (rf & 2) {
|
|
4108
4052
|
i0.ɵɵproperty("icon", ctx.checked ? "check-circle" : "circle-xmark")("ngClass", ctx.checked ? "text-success" : "text-danger");
|
|
4109
|
-
} }, dependencies: [i1$2.NgClass, i1$6.FaIconComponent], encapsulation: 2 });
|
|
4053
|
+
} }, dependencies: [i1$2.NgClass, i1$6.FaIconComponent], encapsulation: 2 }); }
|
|
4110
4054
|
}
|
|
4111
|
-
(
|
|
4055
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckIconComponent, [{
|
|
4112
4056
|
type: Component,
|
|
4113
4057
|
args: [{ selector: 'anatoly-check-icon', template: "<fa-icon [icon]=\"this.checked ? 'check-circle' : 'circle-xmark'\" [ngClass]=\"checked ? 'text-success' : 'text-danger'\">\r\n</fa-icon>\r\n<ng-content></ng-content>\r\n" }]
|
|
4114
4058
|
}], null, { checked: [{
|
|
4115
4059
|
type: Input
|
|
4116
4060
|
}] }); })();
|
|
4061
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckIconComponent, { className: "CheckIconComponent", filePath: "lib\\ui\\components\\check-icon\\check-icon.component.ts", lineNumber: 24 }); })();
|
|
4117
4062
|
|
|
4118
4063
|
/*
|
|
4119
4064
|
<file>
|
|
@@ -4132,18 +4077,20 @@ class CheckIconComponent {
|
|
|
4132
4077
|
*/
|
|
4133
4078
|
//Node
|
|
4134
4079
|
class DataPagerComponent extends ComponentBase {
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4080
|
+
constructor() {
|
|
4081
|
+
super(...arguments);
|
|
4082
|
+
//Private
|
|
4083
|
+
this._defaultPageSizes = [5, 10, 20, 30];
|
|
4084
|
+
//Public
|
|
4085
|
+
this.pageSizes = [];
|
|
4086
|
+
//Inputs
|
|
4087
|
+
this.totalItems = 0;
|
|
4088
|
+
this.pageSize = 0;
|
|
4089
|
+
this.skipItems = 0;
|
|
4090
|
+
this.pageSizeMax = 30;
|
|
4091
|
+
//Outputs
|
|
4092
|
+
this.pageChange = new EventEmitter();
|
|
4093
|
+
}
|
|
4147
4094
|
get width() {
|
|
4148
4095
|
return this._width;
|
|
4149
4096
|
}
|
|
@@ -4153,8 +4100,6 @@ class DataPagerComponent extends ComponentBase {
|
|
|
4153
4100
|
this.style = "width: " + value;
|
|
4154
4101
|
}
|
|
4155
4102
|
}
|
|
4156
|
-
//Outputs
|
|
4157
|
-
pageChange = new EventEmitter();
|
|
4158
4103
|
ngOnInit() {
|
|
4159
4104
|
this.pageSizes = [];
|
|
4160
4105
|
if (this.pageSizeDivisor) {
|
|
@@ -4173,19 +4118,19 @@ class DataPagerComponent extends ComponentBase {
|
|
|
4173
4118
|
onPageChange(e) {
|
|
4174
4119
|
this.pageChange.emit(e);
|
|
4175
4120
|
}
|
|
4176
|
-
static
|
|
4177
|
-
static
|
|
4121
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵDataPagerComponent_BaseFactory; return function DataPagerComponent_Factory(t) { return (ɵDataPagerComponent_BaseFactory || (ɵDataPagerComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DataPagerComponent)))(t || DataPagerComponent); }; })(); }
|
|
4122
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DataPagerComponent, selectors: [["anatoly-datapager"]], inputs: { totalItems: "totalItems", pageSize: "pageSize", skipItems: "skipItems", pageSizeDivisor: "pageSizeDivisor", pageSizeMax: "pageSizeMax", width: "width" }, outputs: { pageChange: "pageChange" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 9, consts: [[3, "total", "pageSize", "pageSizeValues", "skip", "pageChange"]], template: function DataPagerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4178
4123
|
i0.ɵɵelementStart(0, "div")(1, "kendo-datapager", 0);
|
|
4179
4124
|
i0.ɵɵlistener("pageChange", function DataPagerComponent_Template_kendo_datapager_pageChange_1_listener($event) { return ctx.onPageChange($event); });
|
|
4180
4125
|
i0.ɵɵelementEnd()();
|
|
4181
4126
|
} if (rf & 2) {
|
|
4182
4127
|
i0.ɵɵclassMap(ctx.classes);
|
|
4183
|
-
i0.ɵɵadvance(
|
|
4128
|
+
i0.ɵɵadvance();
|
|
4184
4129
|
i0.ɵɵstyleMap(ctx.style);
|
|
4185
4130
|
i0.ɵɵproperty("total", ctx.totalItems)("pageSize", ctx.pageSize)("pageSizeValues", ctx.pageSizes)("skip", ctx.skipItems);
|
|
4186
|
-
} }, dependencies: [i1$7.PagerComponent], encapsulation: 2 });
|
|
4131
|
+
} }, dependencies: [i1$7.PagerComponent], encapsulation: 2 }); }
|
|
4187
4132
|
}
|
|
4188
|
-
(
|
|
4133
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DataPagerComponent, [{
|
|
4189
4134
|
type: Component,
|
|
4190
4135
|
args: [{ selector: 'anatoly-datapager', template: "<div class='{{ classes }}'>\r\n <kendo-datapager [total]='totalItems'\r\n [pageSize]='pageSize'\r\n [pageSizeValues]='pageSizes'\r\n [skip]='skipItems'\r\n [style]='style'\r\n (pageChange)='onPageChange($event)'>\r\n </kendo-datapager>\r\n</div>\r\n" }]
|
|
4191
4136
|
}], null, { totalItems: [{
|
|
@@ -4203,6 +4148,7 @@ class DataPagerComponent extends ComponentBase {
|
|
|
4203
4148
|
}], pageChange: [{
|
|
4204
4149
|
type: Output
|
|
4205
4150
|
}] }); })();
|
|
4151
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DataPagerComponent, { className: "DataPagerComponent", filePath: "lib\\ui\\components\\datapager\\datapager.component.ts", lineNumber: 27 }); })();
|
|
4206
4152
|
|
|
4207
4153
|
/*
|
|
4208
4154
|
<file>
|
|
@@ -4229,11 +4175,11 @@ function SignInButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
4229
4175
|
i0.ɵɵelementEnd();
|
|
4230
4176
|
} if (rf & 2) {
|
|
4231
4177
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4232
|
-
const
|
|
4178
|
+
const _r3 = i0.ɵɵreference(3);
|
|
4233
4179
|
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4234
4180
|
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
4235
|
-
i0.ɵɵadvance(
|
|
4236
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
4181
|
+
i0.ɵɵadvance();
|
|
4182
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3);
|
|
4237
4183
|
} }
|
|
4238
4184
|
function SignInButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4239
4185
|
i0.ɵɵelementContainer(0);
|
|
@@ -4244,11 +4190,11 @@ function SignInButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
4244
4190
|
i0.ɵɵelementEnd();
|
|
4245
4191
|
} if (rf & 2) {
|
|
4246
4192
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4247
|
-
const
|
|
4193
|
+
const _r3 = i0.ɵɵreference(3);
|
|
4248
4194
|
i0.ɵɵclassMap(ctx_r1.classes);
|
|
4249
4195
|
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
4250
|
-
i0.ɵɵadvance(
|
|
4251
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
4196
|
+
i0.ɵɵadvance();
|
|
4197
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3);
|
|
4252
4198
|
} }
|
|
4253
4199
|
function SignInButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
4254
4200
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -4267,11 +4213,9 @@ function SignInButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
4267
4213
|
} }
|
|
4268
4214
|
const _c0$c = ["*"];
|
|
4269
4215
|
class SignInButtonComponent extends ComponentBase {
|
|
4270
|
-
url;
|
|
4271
|
-
external = false;
|
|
4272
|
-
qs;
|
|
4273
4216
|
constructor() {
|
|
4274
4217
|
super();
|
|
4218
|
+
this.external = false;
|
|
4275
4219
|
}
|
|
4276
4220
|
ngOnInit() {
|
|
4277
4221
|
let url = MSALConfig.ui.signin;
|
|
@@ -4285,24 +4229,23 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
4285
4229
|
}
|
|
4286
4230
|
}
|
|
4287
4231
|
}
|
|
4288
|
-
static
|
|
4289
|
-
static
|
|
4232
|
+
static { this.ɵfac = function SignInButtonComponent_Factory(t) { return new (t || SignInButtonComponent)(); }; }
|
|
4233
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { qs: "qs" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$c, decls: 4, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], ["contentTemplate", ""], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4290
4234
|
i0.ɵɵprojectionDef();
|
|
4291
|
-
i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template, 2, 5, "a", 0);
|
|
4292
|
-
i0.ɵɵtemplate(1, SignInButtonComponent_a_1_Template, 2, 5, "a", 1);
|
|
4293
|
-
i0.ɵɵtemplate(2, SignInButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
4235
|
+
i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template, 2, 5, "a", 0)(1, SignInButtonComponent_a_1_Template, 2, 5, "a", 1)(2, SignInButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
4294
4236
|
} if (rf & 2) {
|
|
4295
4237
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
4296
|
-
i0.ɵɵadvance(
|
|
4238
|
+
i0.ɵɵadvance();
|
|
4297
4239
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
4298
|
-
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 });
|
|
4240
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 }); }
|
|
4299
4241
|
}
|
|
4300
|
-
(
|
|
4242
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
|
|
4301
4243
|
type: Component,
|
|
4302
4244
|
args: [{ selector: "anatoly-signin-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<a [routerLink]=\"url\" class=\"{{ classes }}\" *ngIf=\"!external\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<ng-template #contentTemplate>\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign In</span>\r\n</ng-template>\r\n" }]
|
|
4303
|
-
}],
|
|
4245
|
+
}], () => [], { qs: [{
|
|
4304
4246
|
type: Input
|
|
4305
4247
|
}] }); })();
|
|
4248
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignInButtonComponent, { className: "SignInButtonComponent", filePath: "lib\\ui\\components\\identity\\signin-button.component.ts", lineNumber: 28 }); })();
|
|
4306
4249
|
|
|
4307
4250
|
/*
|
|
4308
4251
|
<file>
|
|
@@ -4329,11 +4272,11 @@ function SignOutButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
4329
4272
|
i0.ɵɵelementEnd();
|
|
4330
4273
|
} if (rf & 2) {
|
|
4331
4274
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4332
|
-
const
|
|
4275
|
+
const _r3 = i0.ɵɵreference(3);
|
|
4333
4276
|
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4334
4277
|
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
4335
|
-
i0.ɵɵadvance(
|
|
4336
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
4278
|
+
i0.ɵɵadvance();
|
|
4279
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3);
|
|
4337
4280
|
} }
|
|
4338
4281
|
function SignOutButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4339
4282
|
i0.ɵɵelementContainer(0);
|
|
@@ -4344,11 +4287,11 @@ function SignOutButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
4344
4287
|
i0.ɵɵelementEnd();
|
|
4345
4288
|
} if (rf & 2) {
|
|
4346
4289
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4347
|
-
const
|
|
4290
|
+
const _r3 = i0.ɵɵreference(3);
|
|
4348
4291
|
i0.ɵɵclassMap(ctx_r1.classes);
|
|
4349
4292
|
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
4350
|
-
i0.ɵɵadvance(
|
|
4351
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
4293
|
+
i0.ɵɵadvance();
|
|
4294
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3);
|
|
4352
4295
|
} }
|
|
4353
4296
|
function SignOutButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
4354
4297
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -4367,11 +4310,9 @@ function SignOutButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
4367
4310
|
} }
|
|
4368
4311
|
const _c0$b = ["*"];
|
|
4369
4312
|
class SignOutButtonComponent extends ComponentBase {
|
|
4370
|
-
url;
|
|
4371
|
-
external = false;
|
|
4372
|
-
qs;
|
|
4373
4313
|
constructor() {
|
|
4374
4314
|
super();
|
|
4315
|
+
this.external = false;
|
|
4375
4316
|
}
|
|
4376
4317
|
ngOnInit() {
|
|
4377
4318
|
let url = MSALConfig.ui.signout;
|
|
@@ -4385,24 +4326,23 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
4385
4326
|
}
|
|
4386
4327
|
}
|
|
4387
4328
|
}
|
|
4388
|
-
static
|
|
4389
|
-
static
|
|
4329
|
+
static { this.ɵfac = function SignOutButtonComponent_Factory(t) { return new (t || SignOutButtonComponent)(); }; }
|
|
4330
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { qs: "qs" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, decls: 4, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], ["contentTemplate", ""], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4390
4331
|
i0.ɵɵprojectionDef();
|
|
4391
|
-
i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template, 2, 5, "a", 0);
|
|
4392
|
-
i0.ɵɵtemplate(1, SignOutButtonComponent_a_1_Template, 2, 5, "a", 1);
|
|
4393
|
-
i0.ɵɵtemplate(2, SignOutButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
4332
|
+
i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template, 2, 5, "a", 0)(1, SignOutButtonComponent_a_1_Template, 2, 5, "a", 1)(2, SignOutButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
4394
4333
|
} if (rf & 2) {
|
|
4395
4334
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
4396
|
-
i0.ɵɵadvance(
|
|
4335
|
+
i0.ɵɵadvance();
|
|
4397
4336
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
4398
|
-
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 });
|
|
4337
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 }); }
|
|
4399
4338
|
}
|
|
4400
|
-
(
|
|
4339
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
4401
4340
|
type: Component,
|
|
4402
4341
|
args: [{ selector: "anatoly-signout-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<a [routerLink]=\"url\" class=\"{{ classes }}\" *ngIf=\"!external\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<ng-template #contentTemplate>\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Out</span>\r\n</ng-template>\r\n" }]
|
|
4403
|
-
}],
|
|
4342
|
+
}], () => [], { qs: [{
|
|
4404
4343
|
type: Input
|
|
4405
4344
|
}] }); })();
|
|
4345
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignOutButtonComponent, { className: "SignOutButtonComponent", filePath: "lib\\ui\\components\\identity\\signout-button.component.ts", lineNumber: 28 }); })();
|
|
4406
4346
|
|
|
4407
4347
|
/*
|
|
4408
4348
|
<file>
|
|
@@ -4432,30 +4372,30 @@ function NodataComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
4432
4372
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4433
4373
|
i0.ɵɵadvance(3);
|
|
4434
4374
|
i0.ɵɵclassMap(ctx_r0.headingClass);
|
|
4435
|
-
i0.ɵɵadvance(
|
|
4375
|
+
i0.ɵɵadvance();
|
|
4436
4376
|
i0.ɵɵtextInterpolate(ctx_r0.heading);
|
|
4437
4377
|
} }
|
|
4438
4378
|
const _c0$a = ["*"];
|
|
4439
4379
|
class NodataComponent {
|
|
4440
|
-
dataLoading = false;
|
|
4441
|
-
dataLoaded = false;
|
|
4442
|
-
dataFound = false;
|
|
4443
|
-
heading = 'No data found';
|
|
4444
|
-
headingClass = 'text-uppercase';
|
|
4445
4380
|
constructor() {
|
|
4381
|
+
this.dataLoading = false;
|
|
4382
|
+
this.dataLoaded = false;
|
|
4383
|
+
this.dataFound = false;
|
|
4384
|
+
this.heading = 'No data found';
|
|
4385
|
+
this.headingClass = 'text-uppercase';
|
|
4446
4386
|
}
|
|
4447
|
-
static
|
|
4448
|
-
static
|
|
4387
|
+
static { this.ɵfac = function NodataComponent_Factory(t) { return new (t || NodataComponent)(); }; }
|
|
4388
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", heading: "heading", headingClass: "headingClass" }, ngContentSelectors: _c0$a, decls: 1, vars: 1, consts: [["class", "no-data", 4, "ngIf"], [1, "no-data"], [1, "loaded", "text-info"], ["icon", "database", "size", "10x"]], template: function NodataComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4449
4389
|
i0.ɵɵprojectionDef();
|
|
4450
4390
|
i0.ɵɵtemplate(0, NodataComponent_div_0_Template, 6, 4, "div", 0);
|
|
4451
4391
|
} if (rf & 2) {
|
|
4452
4392
|
i0.ɵɵproperty("ngIf", ctx.dataLoaded && !ctx.dataFound);
|
|
4453
|
-
} }, dependencies: [i1$2.NgIf, i1$6.FaIconComponent], encapsulation: 2 });
|
|
4393
|
+
} }, dependencies: [i1$2.NgIf, i1$6.FaIconComponent], encapsulation: 2 }); }
|
|
4454
4394
|
}
|
|
4455
|
-
(
|
|
4395
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
4456
4396
|
type: Component,
|
|
4457
4397
|
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\" *ngIf='dataLoaded && !dataFound'>\r\n <div class='loaded text-info'>\r\n <fa-icon icon=\"database\" size=\"10x\"></fa-icon>\r\n <h3 class='{{headingClass}}'>{{heading}}</h3>\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n" }]
|
|
4458
|
-
}],
|
|
4398
|
+
}], () => [], { dataLoading: [{
|
|
4459
4399
|
type: Input
|
|
4460
4400
|
}], dataLoaded: [{
|
|
4461
4401
|
type: Input
|
|
@@ -4466,6 +4406,7 @@ class NodataComponent {
|
|
|
4466
4406
|
}], headingClass: [{
|
|
4467
4407
|
type: Input
|
|
4468
4408
|
}] }); })();
|
|
4409
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NodataComponent, { className: "NodataComponent", filePath: "lib\\ui\\components\\nodata\\nodata.component.ts", lineNumber: 24 }); })();
|
|
4469
4410
|
|
|
4470
4411
|
/*
|
|
4471
4412
|
<file>
|
|
@@ -4489,11 +4430,10 @@ function LoadingComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
4489
4430
|
i0.ɵɵelementEnd();
|
|
4490
4431
|
} }
|
|
4491
4432
|
class LoadingComponent extends ComponentBase {
|
|
4492
|
-
loadingService;
|
|
4493
|
-
show = false;
|
|
4494
4433
|
constructor(loadingService) {
|
|
4495
4434
|
super();
|
|
4496
4435
|
this.loadingService = loadingService;
|
|
4436
|
+
this.show = false;
|
|
4497
4437
|
}
|
|
4498
4438
|
ngOnInit() {
|
|
4499
4439
|
this.subs.sink = this.loadingService.subscribe({
|
|
@@ -4502,17 +4442,18 @@ class LoadingComponent extends ComponentBase {
|
|
|
4502
4442
|
}
|
|
4503
4443
|
});
|
|
4504
4444
|
}
|
|
4505
|
-
static
|
|
4506
|
-
static
|
|
4445
|
+
static { this.ɵfac = function LoadingComponent_Factory(t) { return new (t || LoadingComponent)(i0.ɵɵdirectiveInject(LoadingService)); }; }
|
|
4446
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoadingComponent, selectors: [["anatoly-loading"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["id", "pnlLoading", 4, "ngIf"], ["id", "pnlLoading"], [1, "k-icon", "k-i-loading"]], template: function LoadingComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4507
4447
|
i0.ɵɵtemplate(0, LoadingComponent_div_0_Template, 2, 0, "div", 0);
|
|
4508
4448
|
} if (rf & 2) {
|
|
4509
4449
|
i0.ɵɵproperty("ngIf", ctx.show);
|
|
4510
|
-
} }, dependencies: [i1$2.NgIf], encapsulation: 2 });
|
|
4450
|
+
} }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
|
|
4511
4451
|
}
|
|
4512
|
-
(
|
|
4452
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
4513
4453
|
type: Component,
|
|
4514
4454
|
args: [{ selector: 'anatoly-loading', template: "<div id=\"pnlLoading\" *ngIf=\"show\">\r\n <span class=\"k-icon k-i-loading\"></span>\r\n</div>\r\n" }]
|
|
4515
|
-
}],
|
|
4455
|
+
}], () => [{ type: LoadingService }], null); })();
|
|
4456
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingComponent, { className: "LoadingComponent", filePath: "lib\\ui\\components\\spinners\\loading\\loading.component.ts", lineNumber: 28 }); })();
|
|
4516
4457
|
|
|
4517
4458
|
const Spinkit = {
|
|
4518
4459
|
skChasingDots: 'sk-chasing-dots',
|
|
@@ -4549,7 +4490,7 @@ function PageSpinnerComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
4549
4490
|
} if (rf & 2) {
|
|
4550
4491
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
4551
4492
|
i0.ɵɵclassProp("colored", !ctx_r1.backgroundColor);
|
|
4552
|
-
i0.ɵɵadvance(
|
|
4493
|
+
i0.ɵɵadvance();
|
|
4553
4494
|
i0.ɵɵstyleProp("background-color", ctx_r1.backgroundColor);
|
|
4554
4495
|
} }
|
|
4555
4496
|
function PageSpinnerComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -4562,13 +4503,12 @@ function PageSpinnerComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
4562
4503
|
i0.ɵɵproperty("ngIf", ctx_r0.spinner === ctx_r0.Spinkit.skLine);
|
|
4563
4504
|
} }
|
|
4564
4505
|
class PageSpinnerComponent {
|
|
4565
|
-
router;
|
|
4566
|
-
isSpinnerVisible = true;
|
|
4567
|
-
Spinkit = Spinkit;
|
|
4568
|
-
backgroundColor = '#2196f3';
|
|
4569
|
-
spinner = Spinkit.skLine;
|
|
4570
4506
|
constructor(router) {
|
|
4571
4507
|
this.router = router;
|
|
4508
|
+
this.isSpinnerVisible = true;
|
|
4509
|
+
this.Spinkit = Spinkit;
|
|
4510
|
+
this.backgroundColor = '#2196f3';
|
|
4511
|
+
this.spinner = Spinkit.skLine;
|
|
4572
4512
|
router.events.subscribe({
|
|
4573
4513
|
next: (routerEvent) => {
|
|
4574
4514
|
this.checkRouterEvent(routerEvent);
|
|
@@ -4588,21 +4528,22 @@ class PageSpinnerComponent {
|
|
|
4588
4528
|
ngOnDestroy() {
|
|
4589
4529
|
this.isSpinnerVisible = false;
|
|
4590
4530
|
}
|
|
4591
|
-
static
|
|
4592
|
-
static
|
|
4531
|
+
static { this.ɵfac = function PageSpinnerComponent_Factory(t) { return new (t || PageSpinnerComponent)(i0.ɵɵdirectiveInject(i1.Router)); }; }
|
|
4532
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PageSpinnerComponent, selectors: [["anatoly-pagespinner"]], inputs: { backgroundColor: "backgroundColor", spinner: "spinner" }, decls: 1, vars: 1, consts: [["id", "http-loader", 4, "ngIf"], ["id", "http-loader"], [1, "loader-bg"], ["class", "sk-line-material", 3, "colored", 4, "ngIf"], [1, "sk-line-material"], [1, "sk-child", "sk-bounce1"]], template: function PageSpinnerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4593
4533
|
i0.ɵɵtemplate(0, PageSpinnerComponent_div_0_Template, 3, 1, "div", 0);
|
|
4594
4534
|
} if (rf & 2) {
|
|
4595
4535
|
i0.ɵɵproperty("ngIf", ctx.isSpinnerVisible);
|
|
4596
|
-
} }, dependencies: [i1$2.NgIf], encapsulation: 2 });
|
|
4536
|
+
} }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
|
|
4597
4537
|
}
|
|
4598
|
-
(
|
|
4538
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageSpinnerComponent, [{
|
|
4599
4539
|
type: Component,
|
|
4600
4540
|
args: [{ selector: 'anatoly-pagespinner', encapsulation: ViewEncapsulation.None, template: "<div id=\"http-loader\" *ngIf=\"isSpinnerVisible\">\r\n <div class=\"loader-bg\">\r\n <div class=\"sk-line-material\" [class.colored]=\"!backgroundColor\" *ngIf=\"spinner === Spinkit.skLine\">\r\n <div class=\"sk-child sk-bounce1\" [style.background-color]='backgroundColor'></div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
4601
|
-
}],
|
|
4541
|
+
}], () => [{ type: i1.Router }], { backgroundColor: [{
|
|
4602
4542
|
type: Input
|
|
4603
4543
|
}], spinner: [{
|
|
4604
4544
|
type: Input
|
|
4605
4545
|
}] }); })();
|
|
4546
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageSpinnerComponent, { className: "PageSpinnerComponent", filePath: "lib\\ui\\components\\spinners\\pagespinner\\pagespinner.component.ts", lineNumber: 29 }); })();
|
|
4606
4547
|
|
|
4607
4548
|
/*
|
|
4608
4549
|
<file>
|
|
@@ -4621,8 +4562,10 @@ class PageSpinnerComponent {
|
|
|
4621
4562
|
*/
|
|
4622
4563
|
//Node
|
|
4623
4564
|
class Copy2ClipboardComponent {
|
|
4624
|
-
|
|
4625
|
-
|
|
4565
|
+
constructor() {
|
|
4566
|
+
this.tooltip = "Copy to clipboard";
|
|
4567
|
+
this.text = "";
|
|
4568
|
+
}
|
|
4626
4569
|
onCopy2Clipboard(event) {
|
|
4627
4570
|
let oldTooltip = this.tooltip;
|
|
4628
4571
|
this.tooltip = "Copied";
|
|
@@ -4631,15 +4574,15 @@ class Copy2ClipboardComponent {
|
|
|
4631
4574
|
}, 1000);
|
|
4632
4575
|
Utils.copyToClipBoard(event, this.text);
|
|
4633
4576
|
}
|
|
4634
|
-
static
|
|
4635
|
-
static
|
|
4577
|
+
static { this.ɵfac = function Copy2ClipboardComponent_Factory(t) { return new (t || Copy2ClipboardComponent)(); }; }
|
|
4578
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Copy2ClipboardComponent, selectors: [["anatoly-copy-2-clipboard"]], inputs: { tooltip: "tooltip", text: "text" }, decls: 2, vars: 0, consts: [[1, "btn", "btn-primary", "btn-sm", "active", 3, "click"], ["size", "lg", "icon", "copy"]], template: function Copy2ClipboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4636
4579
|
i0.ɵɵelementStart(0, "a", 0);
|
|
4637
4580
|
i0.ɵɵlistener("click", function Copy2ClipboardComponent_Template_a_click_0_listener($event) { return ctx.onCopy2Clipboard($event); });
|
|
4638
4581
|
i0.ɵɵelement(1, "fa-icon", 1);
|
|
4639
4582
|
i0.ɵɵelementEnd();
|
|
4640
|
-
} }, dependencies: [i1$6.FaIconComponent], encapsulation: 2 });
|
|
4583
|
+
} }, dependencies: [i1$6.FaIconComponent], encapsulation: 2 }); }
|
|
4641
4584
|
}
|
|
4642
|
-
(
|
|
4585
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Copy2ClipboardComponent, [{
|
|
4643
4586
|
type: Component,
|
|
4644
4587
|
args: [{ selector: 'anatoly-copy-2-clipboard', template: "<a class=\"btn btn-primary btn-sm active\" (click)=\"onCopy2Clipboard($event)\">\r\n <fa-icon size=\"lg\" icon=\"copy\"></fa-icon>\r\n</a>" }]
|
|
4645
4588
|
}], null, { tooltip: [{
|
|
@@ -4647,6 +4590,7 @@ class Copy2ClipboardComponent {
|
|
|
4647
4590
|
}], text: [{
|
|
4648
4591
|
type: Input
|
|
4649
4592
|
}] }); })();
|
|
4593
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Copy2ClipboardComponent, { className: "Copy2ClipboardComponent", filePath: "lib\\ui\\components\\copy-2-clipboard\\copy-2-clipboard.component.ts", lineNumber: 27 }); })();
|
|
4650
4594
|
|
|
4651
4595
|
/*
|
|
4652
4596
|
<file>
|
|
@@ -4665,8 +4609,6 @@ class Copy2ClipboardComponent {
|
|
|
4665
4609
|
*/
|
|
4666
4610
|
//Node
|
|
4667
4611
|
class NativeElementDirective {
|
|
4668
|
-
el;
|
|
4669
|
-
control;
|
|
4670
4612
|
constructor(el, control) {
|
|
4671
4613
|
this.el = el;
|
|
4672
4614
|
this.control = control;
|
|
@@ -4675,15 +4617,15 @@ class NativeElementDirective {
|
|
|
4675
4617
|
// sets the localization key to the control
|
|
4676
4618
|
this.control.control.nativeElement = this.el.nativeElement;
|
|
4677
4619
|
}
|
|
4678
|
-
static
|
|
4679
|
-
static
|
|
4620
|
+
static { this.ɵfac = function NativeElementDirective_Factory(t) { return new (t || NativeElementDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i2.NgControl)); }; }
|
|
4621
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: NativeElementDirective, selectors: [["", "formControl", ""], ["", "formControlName", ""]] }); }
|
|
4680
4622
|
}
|
|
4681
|
-
(
|
|
4623
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeElementDirective, [{
|
|
4682
4624
|
type: Directive,
|
|
4683
4625
|
args: [{
|
|
4684
4626
|
selector: '[formControl], [formControlName]'
|
|
4685
4627
|
}]
|
|
4686
|
-
}],
|
|
4628
|
+
}], () => [{ type: i0.ElementRef }, { type: i2.NgControl }], null); })();
|
|
4687
4629
|
|
|
4688
4630
|
/*
|
|
4689
4631
|
<file>
|
|
@@ -4716,7 +4658,7 @@ function CountryDropdownlist_div_1_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
4716
4658
|
} if (rf & 2) {
|
|
4717
4659
|
const item_r4 = ctx.$implicit;
|
|
4718
4660
|
i0.ɵɵproperty("value", item_r4.code);
|
|
4719
|
-
i0.ɵɵadvance(
|
|
4661
|
+
i0.ɵɵadvance();
|
|
4720
4662
|
i0.ɵɵtextInterpolate1(" ", item_r4.name, " ");
|
|
4721
4663
|
} }
|
|
4722
4664
|
function CountryDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -4728,17 +4670,14 @@ function CountryDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
4728
4670
|
} if (rf & 2) {
|
|
4729
4671
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4730
4672
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
4731
|
-
i0.ɵɵadvance(
|
|
4673
|
+
i0.ɵɵadvance();
|
|
4732
4674
|
i0.ɵɵproperty("ngIf", ctx_r1.isTitleVisible);
|
|
4733
|
-
i0.ɵɵadvance(
|
|
4675
|
+
i0.ɵɵadvance();
|
|
4734
4676
|
i0.ɵɵproperty("formControlName", ctx_r1.controlName);
|
|
4735
|
-
i0.ɵɵadvance(
|
|
4677
|
+
i0.ɵɵadvance();
|
|
4736
4678
|
i0.ɵɵproperty("ngForOf", ctx_r1.items);
|
|
4737
4679
|
} }
|
|
4738
4680
|
class CountryDropdownlist extends EditComponentBase {
|
|
4739
|
-
api;
|
|
4740
|
-
appContext;
|
|
4741
|
-
items;
|
|
4742
4681
|
constructor(api, appContext) {
|
|
4743
4682
|
super();
|
|
4744
4683
|
this.api = api;
|
|
@@ -4757,20 +4696,20 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
4757
4696
|
else {
|
|
4758
4697
|
}
|
|
4759
4698
|
}
|
|
4760
|
-
static
|
|
4761
|
-
static
|
|
4762
|
-
i0.ɵɵtemplate(0, CountryDropdownlist_div_0_Template, 1, 0, "div", 0);
|
|
4763
|
-
i0.ɵɵtemplate(1, CountryDropdownlist_div_1_Template, 4, 4, "div", 1);
|
|
4699
|
+
static { this.ɵfac = function CountryDropdownlist_Factory(t) { return new (t || CountryDropdownlist)(i0.ɵɵdirectiveInject(CoreApiService), i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
4700
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CountryDropdownlist, selectors: [["anatoly-country-dropdownlist"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "formGroup", 4, "ngIf"], [3, "formGroup"], ["class", "col-form-label", 4, "ngIf"], [1, "form-select", 3, "formControlName"], [3, "value", 4, "ngFor", "ngForOf"], [1, "col-form-label"], [3, "value"]], template: function CountryDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
4701
|
+
i0.ɵɵtemplate(0, CountryDropdownlist_div_0_Template, 1, 0, "div", 0)(1, CountryDropdownlist_div_1_Template, 4, 4, "div", 1);
|
|
4764
4702
|
} if (rf & 2) {
|
|
4765
4703
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
4766
|
-
i0.ɵɵadvance(
|
|
4704
|
+
i0.ɵɵadvance();
|
|
4767
4705
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
4768
|
-
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 });
|
|
4706
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 }); }
|
|
4769
4707
|
}
|
|
4770
|
-
(
|
|
4708
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
|
|
4771
4709
|
type: Component,
|
|
4772
4710
|
args: [{ selector: 'anatoly-country-dropdownlist', template: "<div *ngIf='isNgModelBased'>\r\n</div>\r\n\r\n<div *ngIf='!isNgModelBased' [formGroup]='formGroup'>\r\n <label *ngIf='isTitleVisible' class='col-form-label'>Country</label>\r\n <select [formControlName]='controlName' class='form-select'>\r\n <option *ngFor='let item of items' [value]='item.code'>\r\n {{ item.name }}\r\n </option>\r\n </select>\r\n</div>\r\n" }]
|
|
4773
|
-
}],
|
|
4711
|
+
}], () => [{ type: CoreApiService }, { type: AppContextService }], null); })();
|
|
4712
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CountryDropdownlist, { className: "CountryDropdownlist", filePath: "lib\\ui\\components\\dropdownlists\\country\\country.dropdownlist.ts", lineNumber: 29 }); })();
|
|
4774
4713
|
|
|
4775
4714
|
/*
|
|
4776
4715
|
<file>
|
|
@@ -4803,7 +4742,7 @@ function TimezoneDropdownlist_div_1_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
4803
4742
|
} if (rf & 2) {
|
|
4804
4743
|
const item_r4 = ctx.$implicit;
|
|
4805
4744
|
i0.ɵɵproperty("value", item_r4.code);
|
|
4806
|
-
i0.ɵɵadvance(
|
|
4745
|
+
i0.ɵɵadvance();
|
|
4807
4746
|
i0.ɵɵtextInterpolate2(" (", item_r4.offset, ") ", item_r4.name, " ");
|
|
4808
4747
|
} }
|
|
4809
4748
|
function TimezoneDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -4815,17 +4754,14 @@ function TimezoneDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
4815
4754
|
} if (rf & 2) {
|
|
4816
4755
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4817
4756
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup);
|
|
4818
|
-
i0.ɵɵadvance(
|
|
4757
|
+
i0.ɵɵadvance();
|
|
4819
4758
|
i0.ɵɵproperty("ngIf", ctx_r1.isTitleVisible);
|
|
4820
|
-
i0.ɵɵadvance(
|
|
4759
|
+
i0.ɵɵadvance();
|
|
4821
4760
|
i0.ɵɵproperty("formControlName", ctx_r1.controlName);
|
|
4822
|
-
i0.ɵɵadvance(
|
|
4761
|
+
i0.ɵɵadvance();
|
|
4823
4762
|
i0.ɵɵproperty("ngForOf", ctx_r1.items);
|
|
4824
4763
|
} }
|
|
4825
4764
|
class TimezoneDropdownlist extends EditComponentBase {
|
|
4826
|
-
api;
|
|
4827
|
-
appContext;
|
|
4828
|
-
items;
|
|
4829
4765
|
constructor(api, appContext) {
|
|
4830
4766
|
super();
|
|
4831
4767
|
this.api = api;
|
|
@@ -4861,20 +4797,20 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
4861
4797
|
}
|
|
4862
4798
|
}
|
|
4863
4799
|
}
|
|
4864
|
-
static
|
|
4865
|
-
static
|
|
4866
|
-
i0.ɵɵtemplate(0, TimezoneDropdownlist_div_0_Template, 1, 0, "div", 0);
|
|
4867
|
-
i0.ɵɵtemplate(1, TimezoneDropdownlist_div_1_Template, 4, 4, "div", 1);
|
|
4800
|
+
static { this.ɵfac = function TimezoneDropdownlist_Factory(t) { return new (t || TimezoneDropdownlist)(i0.ɵɵdirectiveInject(CoreApiService), i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
4801
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimezoneDropdownlist, selectors: [["anatoly-timezone-dropdownlist"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "formGroup", 4, "ngIf"], [3, "formGroup"], ["class", "col-form-label", 4, "ngIf"], [1, "form-select", 3, "formControlName"], [3, "value", 4, "ngFor", "ngForOf"], [1, "col-form-label"], [3, "value"]], template: function TimezoneDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
4802
|
+
i0.ɵɵtemplate(0, TimezoneDropdownlist_div_0_Template, 1, 0, "div", 0)(1, TimezoneDropdownlist_div_1_Template, 4, 4, "div", 1);
|
|
4868
4803
|
} if (rf & 2) {
|
|
4869
4804
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
4870
|
-
i0.ɵɵadvance(
|
|
4805
|
+
i0.ɵɵadvance();
|
|
4871
4806
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
4872
|
-
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 });
|
|
4807
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 }); }
|
|
4873
4808
|
}
|
|
4874
|
-
(
|
|
4809
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
|
|
4875
4810
|
type: Component,
|
|
4876
4811
|
args: [{ selector: 'anatoly-timezone-dropdownlist', template: "<div *ngIf='isNgModelBased'>\r\n</div>\r\n\r\n<div *ngIf='!isNgModelBased' [formGroup]='formGroup'>\r\n <label *ngIf='isTitleVisible' class='col-form-label'>Timezone</label>\r\n <select [formControlName]='controlName' class='form-select'>\r\n <option *ngFor='let item of items' [value]='item.code'>\r\n ({{ item.offset }}) {{ item.name }}\r\n </option>\r\n </select>\r\n</div>\r\n" }]
|
|
4877
|
-
}],
|
|
4812
|
+
}], () => [{ type: CoreApiService }, { type: AppContextService }], null); })();
|
|
4813
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TimezoneDropdownlist, { className: "TimezoneDropdownlist", filePath: "lib\\ui\\components\\dropdownlists\\timezone\\timezone.dropdownlist.ts", lineNumber: 29 }); })();
|
|
4878
4814
|
|
|
4879
4815
|
/*
|
|
4880
4816
|
<file>
|
|
@@ -4895,8 +4831,8 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
4895
4831
|
const _c0$9 = [[["mex-card-header"]], [["mex-card-body"]], "*", [["mex-card-footer"]]];
|
|
4896
4832
|
const _c1 = ["mex-card-header", "mex-card-body", "*", "mex-card-footer"];
|
|
4897
4833
|
class CardComponent extends ComponentBase {
|
|
4898
|
-
static
|
|
4899
|
-
static
|
|
4834
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardComponent_BaseFactory; return function CardComponent_Factory(t) { return (ɵCardComponent_BaseFactory || (ɵCardComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardComponent)))(t || CardComponent); }; })(); }
|
|
4835
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardComponent, selectors: [["anatoly-card"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1, decls: 5, vars: 3, template: function CardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4900
4836
|
i0.ɵɵprojectionDef(_c0$9);
|
|
4901
4837
|
i0.ɵɵelementStart(0, "div");
|
|
4902
4838
|
i0.ɵɵprojection(1);
|
|
@@ -4906,12 +4842,13 @@ class CardComponent extends ComponentBase {
|
|
|
4906
4842
|
i0.ɵɵelementEnd();
|
|
4907
4843
|
} if (rf & 2) {
|
|
4908
4844
|
i0.ɵɵclassMapInterpolate1("card ", ctx.classes, "");
|
|
4909
|
-
} }, encapsulation: 2 });
|
|
4845
|
+
} }, encapsulation: 2 }); }
|
|
4910
4846
|
}
|
|
4911
|
-
(
|
|
4847
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardComponent, [{
|
|
4912
4848
|
type: Component,
|
|
4913
4849
|
args: [{ selector: 'anatoly-card', template: "<div class='card {{ classes }}'>\r\n <ng-content select='mex-card-header'></ng-content>\r\n <ng-content select='mex-card-body'></ng-content>\r\n <ng-content></ng-content>\r\n <ng-content select='mex-card-footer'></ng-content>\r\n</div>\r\n" }]
|
|
4914
4850
|
}], null, null); })();
|
|
4851
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardComponent, { className: "CardComponent", filePath: "lib\\ui\\components\\card\\card.component.ts", lineNumber: 27 }); })();
|
|
4915
4852
|
|
|
4916
4853
|
/*
|
|
4917
4854
|
<file>
|
|
@@ -4935,13 +4872,13 @@ function CardHeaderComponent_h3_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
4935
4872
|
i0.ɵɵelementEnd();
|
|
4936
4873
|
} if (rf & 2) {
|
|
4937
4874
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4938
|
-
i0.ɵɵadvance(
|
|
4875
|
+
i0.ɵɵadvance();
|
|
4939
4876
|
i0.ɵɵtextInterpolate(ctx_r0.title);
|
|
4940
4877
|
} }
|
|
4941
4878
|
const _c0$8 = ["*"];
|
|
4942
4879
|
class CardHeaderComponent extends ComponentBase {
|
|
4943
|
-
static
|
|
4944
|
-
static
|
|
4880
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardHeaderComponent_BaseFactory; return function CardHeaderComponent_Factory(t) { return (ɵCardHeaderComponent_BaseFactory || (ɵCardHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardHeaderComponent)))(t || CardHeaderComponent); }; })(); }
|
|
4881
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardHeaderComponent, selectors: [["anatoly-card-header"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$8, decls: 3, vars: 4, consts: [["class", "card-title", 4, "ngIf"], [1, "card-title"]], template: function CardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4945
4882
|
i0.ɵɵprojectionDef();
|
|
4946
4883
|
i0.ɵɵelementStart(0, "div");
|
|
4947
4884
|
i0.ɵɵtemplate(1, CardHeaderComponent_h3_1_Template, 2, 1, "h3", 0);
|
|
@@ -4949,14 +4886,15 @@ class CardHeaderComponent extends ComponentBase {
|
|
|
4949
4886
|
i0.ɵɵelementEnd();
|
|
4950
4887
|
} if (rf & 2) {
|
|
4951
4888
|
i0.ɵɵclassMapInterpolate1("card-header ", ctx.classes, "");
|
|
4952
|
-
i0.ɵɵadvance(
|
|
4889
|
+
i0.ɵɵadvance();
|
|
4953
4890
|
i0.ɵɵproperty("ngIf", ctx.title);
|
|
4954
|
-
} }, dependencies: [i1$2.NgIf], encapsulation: 2 });
|
|
4891
|
+
} }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
|
|
4955
4892
|
}
|
|
4956
|
-
(
|
|
4893
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardHeaderComponent, [{
|
|
4957
4894
|
type: Component,
|
|
4958
4895
|
args: [{ selector: 'anatoly-card-header', template: "<div class='card-header {{ classes }}'>\r\n <h3 *ngIf='title' class='card-title'>{{ title }}</h3>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
4959
4896
|
}], null, null); })();
|
|
4897
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardHeaderComponent, { className: "CardHeaderComponent", filePath: "lib\\ui\\components\\card\\card-header.component.ts", lineNumber: 27 }); })();
|
|
4960
4898
|
|
|
4961
4899
|
/*
|
|
4962
4900
|
<file>
|
|
@@ -4976,20 +4914,21 @@ class CardHeaderComponent extends ComponentBase {
|
|
|
4976
4914
|
//Node
|
|
4977
4915
|
const _c0$7 = ["*"];
|
|
4978
4916
|
class CardBodyComponent extends ComponentBase {
|
|
4979
|
-
static
|
|
4980
|
-
static
|
|
4917
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardBodyComponent_BaseFactory; return function CardBodyComponent_Factory(t) { return (ɵCardBodyComponent_BaseFactory || (ɵCardBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardBodyComponent)))(t || CardBodyComponent); }; })(); }
|
|
4918
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardBodyComponent, selectors: [["anatoly-card-body"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$7, decls: 2, vars: 3, template: function CardBodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4981
4919
|
i0.ɵɵprojectionDef();
|
|
4982
4920
|
i0.ɵɵelementStart(0, "div");
|
|
4983
4921
|
i0.ɵɵprojection(1);
|
|
4984
4922
|
i0.ɵɵelementEnd();
|
|
4985
4923
|
} if (rf & 2) {
|
|
4986
4924
|
i0.ɵɵclassMapInterpolate1("card-body ", ctx.classes, "");
|
|
4987
|
-
} }, encapsulation: 2 });
|
|
4925
|
+
} }, encapsulation: 2 }); }
|
|
4988
4926
|
}
|
|
4989
|
-
(
|
|
4927
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardBodyComponent, [{
|
|
4990
4928
|
type: Component,
|
|
4991
4929
|
args: [{ selector: 'anatoly-card-body', template: "<div class='card-body {{ classes }}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
4992
4930
|
}], null, null); })();
|
|
4931
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardBodyComponent, { className: "CardBodyComponent", filePath: "lib\\ui\\components\\card\\card-body.component.ts", lineNumber: 27 }); })();
|
|
4993
4932
|
|
|
4994
4933
|
/*
|
|
4995
4934
|
<file>
|
|
@@ -5009,20 +4948,21 @@ class CardBodyComponent extends ComponentBase {
|
|
|
5009
4948
|
//Node
|
|
5010
4949
|
const _c0$6 = ["*"];
|
|
5011
4950
|
class CardFooterComponent extends ComponentBase {
|
|
5012
|
-
static
|
|
5013
|
-
static
|
|
4951
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardFooterComponent_BaseFactory; return function CardFooterComponent_Factory(t) { return (ɵCardFooterComponent_BaseFactory || (ɵCardFooterComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardFooterComponent)))(t || CardFooterComponent); }; })(); }
|
|
4952
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardFooterComponent, selectors: [["anatoly-card-footer"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$6, decls: 2, vars: 3, template: function CardFooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5014
4953
|
i0.ɵɵprojectionDef();
|
|
5015
4954
|
i0.ɵɵelementStart(0, "div");
|
|
5016
4955
|
i0.ɵɵprojection(1);
|
|
5017
4956
|
i0.ɵɵelementEnd();
|
|
5018
4957
|
} if (rf & 2) {
|
|
5019
4958
|
i0.ɵɵclassMapInterpolate1("card-footer ", ctx.classes, "");
|
|
5020
|
-
} }, encapsulation: 2 });
|
|
4959
|
+
} }, encapsulation: 2 }); }
|
|
5021
4960
|
}
|
|
5022
|
-
(
|
|
4961
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardFooterComponent, [{
|
|
5023
4962
|
type: Component,
|
|
5024
4963
|
args: [{ selector: 'anatoly-card-footer', template: "<div class='card-footer {{ classes }}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
5025
4964
|
}], null, null); })();
|
|
4965
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardFooterComponent, { className: "CardFooterComponent", filePath: "lib\\ui\\components\\card\\card-footer.component.ts", lineNumber: 27 }); })();
|
|
5026
4966
|
|
|
5027
4967
|
/*
|
|
5028
4968
|
<file>
|
|
@@ -5112,16 +5052,13 @@ const DefaultEditorOptions = {
|
|
|
5112
5052
|
|
|
5113
5053
|
//Node
|
|
5114
5054
|
class HtmlEditorComponentBase extends EditComponentBase {
|
|
5115
|
-
froalaEditor;
|
|
5116
|
-
// Public members
|
|
5117
|
-
options;
|
|
5118
|
-
froalaEditorInitialized = false;
|
|
5119
|
-
afterInitializedActions = [];
|
|
5120
|
-
// Inputs
|
|
5121
|
-
editorLabelText = "Html";
|
|
5122
|
-
editorOptions = {};
|
|
5123
5055
|
constructor() {
|
|
5124
5056
|
super();
|
|
5057
|
+
this.froalaEditorInitialized = false;
|
|
5058
|
+
this.afterInitializedActions = [];
|
|
5059
|
+
// Inputs
|
|
5060
|
+
this.editorLabelText = "Html";
|
|
5061
|
+
this.editorOptions = {};
|
|
5125
5062
|
}
|
|
5126
5063
|
ngOnInit() {
|
|
5127
5064
|
let opt = this.editorOptions;
|
|
@@ -5186,19 +5123,20 @@ class HtmlEditorComponentBase extends EditComponentBase {
|
|
|
5186
5123
|
editor.opts.imageUploadParams.uploadParentId = uploadParentId;
|
|
5187
5124
|
});
|
|
5188
5125
|
}
|
|
5189
|
-
static
|
|
5190
|
-
static
|
|
5126
|
+
static { this.ɵfac = function HtmlEditorComponentBase_Factory(t) { return new (t || HtmlEditorComponentBase)(); }; }
|
|
5127
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HtmlEditorComponentBase, selectors: [["ng-component"]], inputs: { editorLabelText: "editorLabelText", editorOptions: "editorOptions" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function HtmlEditorComponentBase_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
5191
5128
|
}
|
|
5192
|
-
(
|
|
5129
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponentBase, [{
|
|
5193
5130
|
type: Component,
|
|
5194
5131
|
args: [{
|
|
5195
5132
|
template: "",
|
|
5196
5133
|
}]
|
|
5197
|
-
}],
|
|
5134
|
+
}], () => [], { editorLabelText: [{
|
|
5198
5135
|
type: Input
|
|
5199
5136
|
}], editorOptions: [{
|
|
5200
5137
|
type: Input
|
|
5201
5138
|
}] }); })();
|
|
5139
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HtmlEditorComponentBase, { className: "HtmlEditorComponentBase", filePath: "lib\\ui\\components\\html-editor\\base-html-editor.component.ts", lineNumber: 31 }); })();
|
|
5202
5140
|
|
|
5203
5141
|
/*
|
|
5204
5142
|
<file>
|
|
@@ -5309,15 +5247,16 @@ class ValidationSummaryComponent extends EditComponentBase {
|
|
|
5309
5247
|
}
|
|
5310
5248
|
return messages;
|
|
5311
5249
|
}
|
|
5312
|
-
static
|
|
5313
|
-
static
|
|
5250
|
+
static { this.ɵfac = function ValidationSummaryComponent_Factory(t) { return new (t || ValidationSummaryComponent)(); }; }
|
|
5251
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ValidationSummaryComponent, selectors: [["ng-component"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function ValidationSummaryComponent_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
5314
5252
|
}
|
|
5315
|
-
(
|
|
5253
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ValidationSummaryComponent, [{
|
|
5316
5254
|
type: Component,
|
|
5317
5255
|
args: [{
|
|
5318
5256
|
template: ''
|
|
5319
5257
|
}]
|
|
5320
|
-
}],
|
|
5258
|
+
}], () => [], null); })();
|
|
5259
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ValidationSummaryComponent, { className: "ValidationSummaryComponent", filePath: "lib\\ui\\validation\\validation-summary.component.ts", lineNumber: 27 }); })();
|
|
5321
5260
|
|
|
5322
5261
|
/*
|
|
5323
5262
|
<file>
|
|
@@ -5350,21 +5289,22 @@ function ItemValidationSummaryComponent_ul_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
5350
5289
|
i0.ɵɵelementEnd();
|
|
5351
5290
|
} if (rf & 2) {
|
|
5352
5291
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
5353
|
-
i0.ɵɵadvance(
|
|
5292
|
+
i0.ɵɵadvance();
|
|
5354
5293
|
i0.ɵɵproperty("ngForOf", ctx_r0.getValidationMessages(ctx_r0.formGroup.controls[ctx_r0.controlName]));
|
|
5355
5294
|
} }
|
|
5356
5295
|
class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
5357
|
-
static
|
|
5358
|
-
static
|
|
5296
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵItemValidationSummaryComponent_BaseFactory; return function ItemValidationSummaryComponent_Factory(t) { return (ɵItemValidationSummaryComponent_BaseFactory || (ɵItemValidationSummaryComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ItemValidationSummaryComponent)))(t || ItemValidationSummaryComponent); }; })(); }
|
|
5297
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ItemValidationSummaryComponent, selectors: [["anatoly-item-validation-summary"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "list-unstyled", 4, "ngIf"], [1, "list-unstyled"], [4, "ngFor", "ngForOf"], [1, "help-block"]], template: function ItemValidationSummaryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5359
5298
|
i0.ɵɵtemplate(0, ItemValidationSummaryComponent_ul_0_Template, 2, 1, "ul", 0);
|
|
5360
5299
|
} if (rf & 2) {
|
|
5361
5300
|
i0.ɵɵproperty("ngIf", ctx.isControlInvalid(ctx.controlName));
|
|
5362
|
-
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf], encapsulation: 2 });
|
|
5301
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf], encapsulation: 2 }); }
|
|
5363
5302
|
}
|
|
5364
|
-
(
|
|
5303
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemValidationSummaryComponent, [{
|
|
5365
5304
|
type: Component,
|
|
5366
5305
|
args: [{ selector: "anatoly-item-validation-summary", template: "<ul class=\"list-unstyled\" *ngIf=\"isControlInvalid(controlName)\">\r\n <li *ngFor=\"let error of getValidationMessages(formGroup.controls[controlName])\">\r\n <span class=\"help-block\">{{ error }}</span>\r\n </li>\r\n</ul>\r\n\r\n" }]
|
|
5367
5306
|
}], null, null); })();
|
|
5307
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ItemValidationSummaryComponent, { className: "ItemValidationSummaryComponent", filePath: "lib\\ui\\validation\\item-validation-summary.component.ts", lineNumber: 27 }); })();
|
|
5368
5308
|
|
|
5369
5309
|
/*
|
|
5370
5310
|
<file>
|
|
@@ -5382,19 +5322,19 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
5382
5322
|
</file>
|
|
5383
5323
|
*/
|
|
5384
5324
|
//Node
|
|
5385
|
-
const _c0$5 =
|
|
5325
|
+
const _c0$5 = a0 => ({ "has-error": a0 });
|
|
5386
5326
|
class FormsHtmlEditorComponent extends HtmlEditorComponentBase {
|
|
5387
|
-
editorFormKey = "html";
|
|
5388
5327
|
constructor() {
|
|
5389
5328
|
super();
|
|
5329
|
+
this.editorFormKey = "html";
|
|
5390
5330
|
}
|
|
5391
5331
|
setFormValueAfterInitialized(name, value) {
|
|
5392
5332
|
this.doAfterInitialized(function (that) {
|
|
5393
5333
|
that.setFormValue(name, value);
|
|
5394
5334
|
});
|
|
5395
5335
|
}
|
|
5396
|
-
static
|
|
5397
|
-
static
|
|
5336
|
+
static { this.ɵfac = function FormsHtmlEditorComponent_Factory(t) { return new (t || FormsHtmlEditorComponent)(); }; }
|
|
5337
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormsHtmlEditorComponent, selectors: [["anatoly-forms-html-editor"]], inputs: { editorFormKey: "editorFormKey" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 10, consts: [[1, "form-group", 3, "formGroup", "ngClass"], [1, "col-form-label"], [3, "formControlName", "froalaEditor", "froalaInit"], [3, "formGroup", "formSubmitted", "controlName"]], template: function FormsHtmlEditorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5398
5338
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
5399
5339
|
i0.ɵɵtext(2);
|
|
5400
5340
|
i0.ɵɵelementEnd();
|
|
@@ -5407,18 +5347,19 @@ class FormsHtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
5407
5347
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(8, _c0$5, ctx.isControlInvalid(ctx.editorFormKey)));
|
|
5408
5348
|
i0.ɵɵadvance(2);
|
|
5409
5349
|
i0.ɵɵtextInterpolate(ctx.editorLabelText);
|
|
5410
|
-
i0.ɵɵadvance(
|
|
5350
|
+
i0.ɵɵadvance();
|
|
5411
5351
|
i0.ɵɵproperty("formControlName", ctx.editorFormKey)("froalaEditor", ctx.options);
|
|
5412
|
-
i0.ɵɵadvance(
|
|
5352
|
+
i0.ɵɵadvance();
|
|
5413
5353
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted)("controlName", ctx.editorFormKey);
|
|
5414
|
-
} }, dependencies: [i1$2.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.FroalaEditorDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
5354
|
+
} }, dependencies: [i1$2.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.FroalaEditorDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
5415
5355
|
}
|
|
5416
|
-
(
|
|
5356
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormsHtmlEditorComponent, [{
|
|
5417
5357
|
type: Component,
|
|
5418
5358
|
args: [{ selector: "anatoly-forms-html-editor", template: "<div [formGroup]=\"formGroup\" [ngClass]=\"{'has-error': isControlInvalid(editorFormKey) }\" class=\"form-group\" >\r\n <label class=\"col-form-label\">{{ editorLabelText }}</label>\r\n <textarea [formControlName]=\"editorFormKey\" [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\"></textarea>\r\n <anatoly-item-validation-summary [formGroup]=\"formGroup\"\r\n [formSubmitted]=\"formSubmitted\"\r\n [controlName]=\"editorFormKey\">\r\n </anatoly-item-validation-summary>\r\n</div>\r\n" }]
|
|
5419
|
-
}],
|
|
5359
|
+
}], () => [], { editorFormKey: [{
|
|
5420
5360
|
type: Input
|
|
5421
5361
|
}] }); })();
|
|
5362
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormsHtmlEditorComponent, { className: "FormsHtmlEditorComponent", filePath: "lib\\ui\\components\\html-editor\\forms-html-editor.component.ts", lineNumber: 27 }); })();
|
|
5422
5363
|
|
|
5423
5364
|
/*
|
|
5424
5365
|
<file>
|
|
@@ -5456,8 +5397,8 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
5456
5397
|
}
|
|
5457
5398
|
return editor.html.get(false);
|
|
5458
5399
|
}
|
|
5459
|
-
static
|
|
5460
|
-
static
|
|
5400
|
+
static { this.ɵfac = function HtmlEditorComponent_Factory(t) { return new (t || HtmlEditorComponent)(); }; }
|
|
5401
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HtmlEditorComponent, selectors: [["anatoly-html-editor"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 2, consts: [[1, "form-group"], [1, "col-form-label"], [3, "froalaEditor", "froalaInit"]], template: function HtmlEditorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5461
5402
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
5462
5403
|
i0.ɵɵtext(2);
|
|
5463
5404
|
i0.ɵɵelementEnd();
|
|
@@ -5467,14 +5408,15 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
5467
5408
|
} if (rf & 2) {
|
|
5468
5409
|
i0.ɵɵadvance(2);
|
|
5469
5410
|
i0.ɵɵtextInterpolate(ctx.editorLabelText);
|
|
5470
|
-
i0.ɵɵadvance(
|
|
5411
|
+
i0.ɵɵadvance();
|
|
5471
5412
|
i0.ɵɵproperty("froalaEditor", ctx.options);
|
|
5472
|
-
} }, dependencies: [i3.FroalaEditorDirective], encapsulation: 2 });
|
|
5413
|
+
} }, dependencies: [i3.FroalaEditorDirective], encapsulation: 2 }); }
|
|
5473
5414
|
}
|
|
5474
|
-
(
|
|
5415
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
|
|
5475
5416
|
type: Component,
|
|
5476
5417
|
args: [{ selector: "anatoly-html-editor", template: "<div class=\"form-group\">\r\n <label class=\"col-form-label\">{{ editorLabelText }}</label>\r\n <textarea [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\"></textarea>\r\n</div>\r\n" }]
|
|
5477
|
-
}],
|
|
5418
|
+
}], () => [], null); })();
|
|
5419
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HtmlEditorComponent, { className: "HtmlEditorComponent", filePath: "lib\\ui\\components\\html-editor\\html-editor.component.ts", lineNumber: 27 }); })();
|
|
5478
5420
|
|
|
5479
5421
|
/*
|
|
5480
5422
|
<file>
|
|
@@ -5531,16 +5473,16 @@ function FormValidationSummaryComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
5531
5473
|
i0.ɵɵproperty("ngForOf", ctx_r0.getErrors());
|
|
5532
5474
|
} }
|
|
5533
5475
|
class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
5534
|
-
visible = false;
|
|
5535
|
-
customerrors = [];
|
|
5536
|
-
/*
|
|
5537
|
-
0 - all
|
|
5538
|
-
1 - only FormValidation messages
|
|
5539
|
-
2 - only Custom messages
|
|
5540
|
-
*/
|
|
5541
|
-
viewtype = 0;
|
|
5542
5476
|
constructor() {
|
|
5543
5477
|
super();
|
|
5478
|
+
this.visible = false;
|
|
5479
|
+
this.customerrors = [];
|
|
5480
|
+
/*
|
|
5481
|
+
0 - all
|
|
5482
|
+
1 - only FormValidation messages
|
|
5483
|
+
2 - only Custom messages
|
|
5484
|
+
*/
|
|
5485
|
+
this.viewtype = 0;
|
|
5544
5486
|
}
|
|
5545
5487
|
getErrors() {
|
|
5546
5488
|
let messages = [];
|
|
@@ -5559,23 +5501,24 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
5559
5501
|
}
|
|
5560
5502
|
return messages;
|
|
5561
5503
|
}
|
|
5562
|
-
static
|
|
5563
|
-
static
|
|
5504
|
+
static { this.ɵfac = function FormValidationSummaryComponent_Factory(t) { return new (t || FormValidationSummaryComponent)(); }; }
|
|
5505
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormValidationSummaryComponent, selectors: [["anatoly-form-validation-summary"]], inputs: { visible: "visible", customerrors: "customerrors", viewtype: "viewtype" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "callout callout-danger", 4, "ngIf"], [1, "callout", "callout-danger"], [1, "box-title"], [4, "ngFor", "ngForOf"]], template: function FormValidationSummaryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5564
5506
|
i0.ɵɵtemplate(0, FormValidationSummaryComponent_div_0_Template, 5, 1, "div", 0);
|
|
5565
5507
|
} if (rf & 2) {
|
|
5566
5508
|
i0.ɵɵproperty("ngIf", ctx.visible);
|
|
5567
|
-
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf], encapsulation: 2 });
|
|
5509
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf], encapsulation: 2 }); }
|
|
5568
5510
|
}
|
|
5569
|
-
(
|
|
5511
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormValidationSummaryComponent, [{
|
|
5570
5512
|
type: Component,
|
|
5571
5513
|
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" }]
|
|
5572
|
-
}],
|
|
5514
|
+
}], () => [], { visible: [{
|
|
5573
5515
|
type: Input
|
|
5574
5516
|
}], customerrors: [{
|
|
5575
5517
|
type: Input
|
|
5576
5518
|
}], viewtype: [{
|
|
5577
5519
|
type: Input
|
|
5578
5520
|
}] }); })();
|
|
5521
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FormValidationSummaryComponent, { className: "FormValidationSummaryComponent", filePath: "lib\\ui\\validation\\form-validation-summary.component.ts", lineNumber: 27 }); })();
|
|
5579
5522
|
|
|
5580
5523
|
/*
|
|
5581
5524
|
<file>
|
|
@@ -5600,7 +5543,7 @@ function ContactUsForm_option_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
5600
5543
|
} if (rf & 2) {
|
|
5601
5544
|
const topic_r3 = ctx.$implicit;
|
|
5602
5545
|
i0.ɵɵproperty("value", topic_r3.value);
|
|
5603
|
-
i0.ɵɵadvance(
|
|
5546
|
+
i0.ɵɵadvance();
|
|
5604
5547
|
i0.ɵɵtextInterpolate1("", topic_r3.value, " ");
|
|
5605
5548
|
} }
|
|
5606
5549
|
function ContactUsForm_p_23_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -5616,27 +5559,8 @@ function ContactUsForm_button_38_Template(rf, ctx) { if (rf & 1) {
|
|
|
5616
5559
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
5617
5560
|
i0.ɵɵclassProp("btn-primary", !ctx_r2.formGroup.invalid);
|
|
5618
5561
|
} }
|
|
5619
|
-
const _c0$4 =
|
|
5562
|
+
const _c0$4 = a0 => ({ "has-error": a0 });
|
|
5620
5563
|
class ContactUsForm extends EditComponentBase {
|
|
5621
|
-
reCaptcha;
|
|
5622
|
-
fb;
|
|
5623
|
-
appContext;
|
|
5624
|
-
api;
|
|
5625
|
-
notificationService;
|
|
5626
|
-
isUserSignedIn = false;
|
|
5627
|
-
reCaptchaSiteKey;
|
|
5628
|
-
selectedTopic;
|
|
5629
|
-
topicList = [
|
|
5630
|
-
{ value: 'Billing & Pricing' },
|
|
5631
|
-
{ value: 'Legal & Privacy' },
|
|
5632
|
-
{ value: 'Repor abuse' },
|
|
5633
|
-
{ value: 'Technical Support' },
|
|
5634
|
-
{ value: 'Other' }
|
|
5635
|
-
];
|
|
5636
|
-
//Inputs
|
|
5637
|
-
showActionButtons = true;
|
|
5638
|
-
//Outputs
|
|
5639
|
-
submit = new EventEmitter();
|
|
5640
5564
|
constructor(reCaptcha, fb, appContext, api, notificationService) {
|
|
5641
5565
|
super();
|
|
5642
5566
|
this.reCaptcha = reCaptcha;
|
|
@@ -5644,6 +5568,18 @@ class ContactUsForm extends EditComponentBase {
|
|
|
5644
5568
|
this.appContext = appContext;
|
|
5645
5569
|
this.api = api;
|
|
5646
5570
|
this.notificationService = notificationService;
|
|
5571
|
+
this.isUserSignedIn = false;
|
|
5572
|
+
this.topicList = [
|
|
5573
|
+
{ value: 'Billing & Pricing' },
|
|
5574
|
+
{ value: 'Legal & Privacy' },
|
|
5575
|
+
{ value: 'Repor abuse' },
|
|
5576
|
+
{ value: 'Technical Support' },
|
|
5577
|
+
{ value: 'Other' }
|
|
5578
|
+
];
|
|
5579
|
+
//Inputs
|
|
5580
|
+
this.showActionButtons = true;
|
|
5581
|
+
//Outputs
|
|
5582
|
+
this.submit = new EventEmitter();
|
|
5647
5583
|
}
|
|
5648
5584
|
ngOnInit() {
|
|
5649
5585
|
this.createFormGroup();
|
|
@@ -5700,8 +5636,8 @@ class ContactUsForm extends EditComponentBase {
|
|
|
5700
5636
|
onTopicChange(event) {
|
|
5701
5637
|
this.selectedTopic = event.target.value;
|
|
5702
5638
|
}
|
|
5703
|
-
static
|
|
5704
|
-
static
|
|
5639
|
+
static { this.ɵfac = function ContactUsForm_Factory(t) { return new (t || ContactUsForm)(i0.ɵɵdirectiveInject(i1$8.ReCaptchaV3Service), i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(EmailsApiService), i0.ɵɵdirectiveInject(NotificationService)); }; }
|
|
5640
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsForm, selectors: [["anatoly-forms-contactus-form"]], inputs: { showActionButtons: "showActionButtons" }, outputs: { submit: "submit" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 39, vars: 31, consts: [["novalidate", "", 3, "formGroup", "ngSubmit"], [3, "formGroup", "visible"], [1, "contact-us"], [1, "row"], [1, "form-fields", "col-6"], [1, "form-topic", 3, "ngClass"], [1, "form-select-wrapper"], [1, "assistive-text"], ["formControlName", "topic", 1, "form-select", 3, "change"], [3, "value", 4, "ngFor", "ngForOf"], ["controlName", "topic", "controlTitle", "topic", 3, "formGroup", "formSubmitted"], [1, "form-name", 3, "ngClass"], ["formControlName", "name", "placeholder", "Name *", "type", "text", 1, "form-control"], ["controlName", "name", "controlTitle", "name", 3, "formGroup", "formSubmitted"], [1, "form-email", 3, "ngClass"], ["formControlName", "email", "placeholder", "E-mail *", "type", "text", 1, "form-control"], [4, "ngIf"], ["controlName", "email", "controlTitle", "email", 3, "formGroup", "formSubmitted"], [1, "form-subject", 3, "ngClass"], ["formControlName", "subject", "placeholder", "Subject *", "type", "text", 1, "form-control"], ["controlName", "subject", "controlTitle", "subject", 3, "formGroup", "formSubmitted"], [1, "col-6"], [1, "form-message", 3, "ngClass"], ["formControlName", "message", "name", "message", "placeholder", "Message *", "rows", "4", "type", "text"], ["controlName", "message", "controlTitle", "message", 3, "formGroup", "formSubmitted"], [1, "row", "form-footer"], [1, "col"], ["class", "btn btn-success", "type", "submit", 3, "btn-primary", 4, "ngIf"], [3, "value"], ["type", "submit", 1, "btn", "btn-success"]], template: function ContactUsForm_Template(rf, ctx) { if (rf & 1) {
|
|
5705
5641
|
i0.ɵɵelementStart(0, "form", 0);
|
|
5706
5642
|
i0.ɵɵlistener("ngSubmit", function ContactUsForm_Template_form_ngSubmit_0_listener() { return ctx.onSubmit(); });
|
|
5707
5643
|
i0.ɵɵelement(1, "anatoly-form-validation-summary", 1);
|
|
@@ -5744,25 +5680,25 @@ class ContactUsForm extends EditComponentBase {
|
|
|
5744
5680
|
i0.ɵɵelementEnd()()()();
|
|
5745
5681
|
} if (rf & 2) {
|
|
5746
5682
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
5747
|
-
i0.ɵɵadvance(
|
|
5683
|
+
i0.ɵɵadvance();
|
|
5748
5684
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("visible", ctx.formSubmitted && ctx.formGroup.invalid);
|
|
5749
5685
|
i0.ɵɵadvance(6);
|
|
5750
5686
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$4, ctx.isControlInvalid("topic")));
|
|
5751
5687
|
i0.ɵɵadvance(5);
|
|
5752
5688
|
i0.ɵɵproperty("ngForOf", ctx.topicList);
|
|
5753
|
-
i0.ɵɵadvance(
|
|
5689
|
+
i0.ɵɵadvance();
|
|
5754
5690
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
5755
|
-
i0.ɵɵadvance(
|
|
5691
|
+
i0.ɵɵadvance();
|
|
5756
5692
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$4, ctx.isControlInvalid("name")));
|
|
5757
5693
|
i0.ɵɵadvance(4);
|
|
5758
5694
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
5759
|
-
i0.ɵɵadvance(
|
|
5695
|
+
i0.ɵɵadvance();
|
|
5760
5696
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$4, ctx.isControlInvalid("email")));
|
|
5761
5697
|
i0.ɵɵadvance(4);
|
|
5762
5698
|
i0.ɵɵproperty("ngIf", !ctx.isUserSignedIn);
|
|
5763
|
-
i0.ɵɵadvance(
|
|
5699
|
+
i0.ɵɵadvance();
|
|
5764
5700
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
5765
|
-
i0.ɵɵadvance(
|
|
5701
|
+
i0.ɵɵadvance();
|
|
5766
5702
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(27, _c0$4, ctx.isControlInvalid("subject")));
|
|
5767
5703
|
i0.ɵɵadvance(4);
|
|
5768
5704
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
@@ -5772,16 +5708,17 @@ class ContactUsForm extends EditComponentBase {
|
|
|
5772
5708
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
5773
5709
|
i0.ɵɵadvance(3);
|
|
5774
5710
|
i0.ɵɵproperty("ngIf", ctx.showActionButtons);
|
|
5775
|
-
} }, dependencies: [i1$2.NgClass, i1$2.NgForOf, i1$2.NgIf, i2.ɵNgNoValidate, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective, FormValidationSummaryComponent, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
5711
|
+
} }, dependencies: [i1$2.NgClass, i1$2.NgForOf, i1$2.NgIf, i2.ɵNgNoValidate, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective, FormValidationSummaryComponent, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
5776
5712
|
}
|
|
5777
|
-
(
|
|
5713
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
|
|
5778
5714
|
type: Component,
|
|
5779
5715
|
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\">\r\n <button *ngIf='showActionButtons'\r\n [class.btn-primary]='!formGroup.invalid'\r\n class='btn btn-success'\r\n type='submit'>\r\n Submit\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n" }]
|
|
5780
|
-
}],
|
|
5716
|
+
}], () => [{ type: i1$8.ReCaptchaV3Service }, { type: i2.FormBuilder }, { type: AppContextService }, { type: EmailsApiService }, { type: NotificationService }], { showActionButtons: [{
|
|
5781
5717
|
type: Input
|
|
5782
5718
|
}], submit: [{
|
|
5783
5719
|
type: Output
|
|
5784
5720
|
}] }); })();
|
|
5721
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContactUsForm, { className: "ContactUsForm", filePath: "lib\\ui\\forms\\contact-us\\contact-us.ts", lineNumber: 32 }); })();
|
|
5785
5722
|
|
|
5786
5723
|
/*
|
|
5787
5724
|
<file>
|
|
@@ -5821,7 +5758,6 @@ function ContactUsDialog_kendo_dialog_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
5821
5758
|
i0.ɵɵproperty("showActionButtons", false);
|
|
5822
5759
|
} }
|
|
5823
5760
|
class ContactUsDialog extends DialogBase {
|
|
5824
|
-
contactUsForm;
|
|
5825
5761
|
constructor() {
|
|
5826
5762
|
super();
|
|
5827
5763
|
}
|
|
@@ -5835,8 +5771,8 @@ class ContactUsDialog extends DialogBase {
|
|
|
5835
5771
|
onSubmit() {
|
|
5836
5772
|
super.close();
|
|
5837
5773
|
}
|
|
5838
|
-
static
|
|
5839
|
-
static
|
|
5774
|
+
static { this.ɵfac = function ContactUsDialog_Factory(t) { return new (t || ContactUsDialog)(); }; }
|
|
5775
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsDialog, selectors: [["anatoly-contactus-dialog"]], viewQuery: function ContactUsDialog_Query(rf, ctx) { if (rf & 1) {
|
|
5840
5776
|
i0.ɵɵviewQuery(_c0$3, 5);
|
|
5841
5777
|
} if (rf & 2) {
|
|
5842
5778
|
let _t;
|
|
@@ -5845,15 +5781,16 @@ class ContactUsDialog extends DialogBase {
|
|
|
5845
5781
|
i0.ɵɵtemplate(0, ContactUsDialog_kendo_dialog_0_Template, 10, 2, "kendo-dialog", 0);
|
|
5846
5782
|
} if (rf & 2) {
|
|
5847
5783
|
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
5848
|
-
} }, dependencies: [i1$2.NgIf, i2$1.DialogComponent, i2$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 });
|
|
5784
|
+
} }, dependencies: [i1$2.NgIf, i2$1.DialogComponent, i2$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
|
|
5849
5785
|
}
|
|
5850
|
-
(
|
|
5786
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
|
|
5851
5787
|
type: Component,
|
|
5852
5788
|
args: [{ selector: 'anatoly-contactus-dialog', template: "<kendo-dialog (close)='onClose()' *ngIf='isOpen' [width]='700' title='Contact Us'>\r\n <div class=\"k-content k-window-content k-dialog-content\">\r\n <anatoly-forms-contactus-form #contactusform [showActionButtons]='false' (submit)='onSubmit()'>\r\n </anatoly-forms-contactus-form>\r\n </div>\r\n <kendo-dialog-actions class=\"k-actions\">\r\n <div class=\"d-flex justify-content-end\">\r\n <button (click)='onSubmitFire()' class='btn btn-sm btn-success' type='button'>Submit</button>\r\n <button (click)='onClose()' class='btn btn-sm btn-danger' type='button'>Cancel </button>\r\n </div>\r\n </kendo-dialog-actions>\r\n</kendo-dialog>" }]
|
|
5853
|
-
}],
|
|
5789
|
+
}], () => [], { contactUsForm: [{
|
|
5854
5790
|
type: ViewChild,
|
|
5855
5791
|
args: ['contactusform']
|
|
5856
5792
|
}] }); })();
|
|
5793
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContactUsDialog, { className: "ContactUsDialog", filePath: "lib\\ui\\dialogs\\contact-us\\contact-us.dialog.ts", lineNumber: 28 }); })();
|
|
5857
5794
|
|
|
5858
5795
|
/*
|
|
5859
5796
|
<file>
|
|
@@ -5888,21 +5825,23 @@ class ContactUsDialog extends DialogBase {
|
|
|
5888
5825
|
*/
|
|
5889
5826
|
//Node
|
|
5890
5827
|
class HoveringDirective {
|
|
5891
|
-
|
|
5828
|
+
constructor() {
|
|
5829
|
+
this.hovering = false;
|
|
5830
|
+
}
|
|
5892
5831
|
onMouseEnter() {
|
|
5893
5832
|
this.hovering = true;
|
|
5894
5833
|
}
|
|
5895
5834
|
onMouseLeave() {
|
|
5896
5835
|
this.hovering = false;
|
|
5897
5836
|
}
|
|
5898
|
-
static
|
|
5899
|
-
static
|
|
5837
|
+
static { this.ɵfac = function HoveringDirective_Factory(t) { return new (t || HoveringDirective)(); }; }
|
|
5838
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: HoveringDirective, selectors: [["", "anatoly-hover", ""]], hostVars: 2, hostBindings: function HoveringDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
5900
5839
|
i0.ɵɵlistener("mouseenter", function HoveringDirective_mouseenter_HostBindingHandler() { return ctx.onMouseEnter(); })("mouseleave", function HoveringDirective_mouseleave_HostBindingHandler() { return ctx.onMouseLeave(); });
|
|
5901
5840
|
} if (rf & 2) {
|
|
5902
5841
|
i0.ɵɵclassProp("hovering", ctx.hovering);
|
|
5903
|
-
} } });
|
|
5842
|
+
} } }); }
|
|
5904
5843
|
}
|
|
5905
|
-
(
|
|
5844
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HoveringDirective, [{
|
|
5906
5845
|
type: Directive,
|
|
5907
5846
|
args: [{
|
|
5908
5847
|
selector: '[anatoly-hover]'
|
|
@@ -5963,10 +5902,10 @@ function AddressComponent_div_17_option_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
5963
5902
|
} if (rf & 2) {
|
|
5964
5903
|
const state_r4 = ctx.$implicit;
|
|
5965
5904
|
i0.ɵɵproperty("value", state_r4.code);
|
|
5966
|
-
i0.ɵɵadvance(
|
|
5905
|
+
i0.ɵɵadvance();
|
|
5967
5906
|
i0.ɵɵtextInterpolate(state_r4.name);
|
|
5968
5907
|
} }
|
|
5969
|
-
const _c0$2 =
|
|
5908
|
+
const _c0$2 = a0 => ({ "has-error": a0 });
|
|
5970
5909
|
function AddressComponent_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
5971
5910
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
5972
5911
|
i0.ɵɵelementStart(0, "div", 9)(1, "label", 4);
|
|
@@ -5983,7 +5922,7 @@ function AddressComponent_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
|
5983
5922
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$2, ctx_r1.isControlInvalid("address_stateOrRegion")));
|
|
5984
5923
|
i0.ɵɵadvance(4);
|
|
5985
5924
|
i0.ɵɵproperty("ngForOf", ctx_r1.usStateData);
|
|
5986
|
-
i0.ɵɵadvance(
|
|
5925
|
+
i0.ɵɵadvance();
|
|
5987
5926
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup)("formSubmitted", ctx_r1.formSubmitted);
|
|
5988
5927
|
} }
|
|
5989
5928
|
function AddressComponent_option_27_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -5993,19 +5932,10 @@ function AddressComponent_option_27_Template(rf, ctx) { if (rf & 1) {
|
|
|
5993
5932
|
} if (rf & 2) {
|
|
5994
5933
|
const country_r7 = ctx.$implicit;
|
|
5995
5934
|
i0.ɵɵproperty("value", country_r7.code);
|
|
5996
|
-
i0.ɵɵadvance(
|
|
5935
|
+
i0.ɵɵadvance();
|
|
5997
5936
|
i0.ɵɵtextInterpolate(country_r7.name);
|
|
5998
5937
|
} }
|
|
5999
5938
|
class AddressComponent extends EditComponentBase {
|
|
6000
|
-
fb;
|
|
6001
|
-
api;
|
|
6002
|
-
//Private
|
|
6003
|
-
_address;
|
|
6004
|
-
formGroupGenerated = false;
|
|
6005
|
-
countryData = [];
|
|
6006
|
-
usStateData = [];
|
|
6007
|
-
currentCountry = 'US';
|
|
6008
|
-
currentUSState = 'NY';
|
|
6009
5939
|
//Inputs
|
|
6010
5940
|
get address() {
|
|
6011
5941
|
return this._address;
|
|
@@ -6016,12 +5946,17 @@ class AddressComponent extends EditComponentBase {
|
|
|
6016
5946
|
this.init();
|
|
6017
5947
|
}
|
|
6018
5948
|
}
|
|
6019
|
-
//Outputs
|
|
6020
|
-
change = new EventEmitter();
|
|
6021
5949
|
constructor(fb, api) {
|
|
6022
5950
|
super();
|
|
6023
5951
|
this.fb = fb;
|
|
6024
5952
|
this.api = api;
|
|
5953
|
+
this.formGroupGenerated = false;
|
|
5954
|
+
this.countryData = [];
|
|
5955
|
+
this.usStateData = [];
|
|
5956
|
+
this.currentCountry = 'US';
|
|
5957
|
+
this.currentUSState = 'NY';
|
|
5958
|
+
//Outputs
|
|
5959
|
+
this.change = new EventEmitter();
|
|
6025
5960
|
this.title = 'Address';
|
|
6026
5961
|
}
|
|
6027
5962
|
ngOnInit() {
|
|
@@ -6088,8 +6023,8 @@ class AddressComponent extends EditComponentBase {
|
|
|
6088
6023
|
let usState = event.target.value;
|
|
6089
6024
|
this.change.emit(usState);
|
|
6090
6025
|
}
|
|
6091
|
-
static
|
|
6092
|
-
static
|
|
6026
|
+
static { this.ɵfac = function AddressComponent_Factory(t) { return new (t || AddressComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(CoreApiService)); }; }
|
|
6027
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddressComponent, selectors: [["anatoly-forms-address"]], inputs: { address: "address" }, outputs: { change: "change" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 29, vars: 29, consts: [["classes", "card-primary card-outline"], [3, "title", 4, "ngIf"], [1, "row", 3, "formGroup"], [1, "form-group", "col-12", 3, "ngClass"], [1, "col-form-label", "required"], ["type", "text", "formControlName", "address_street", "placeholder", "Street Address", 1, "form-control"], ["controlName", "address_street", "controlTitle", "Street", 3, "formGroup", "formSubmitted"], ["type", "text", "formControlName", "address_street2", "placeholder", "Apartment, suite, unit, building, floor, etc.", 1, "form-control"], ["controlName", "address_street2", "controlTitle", "Street2", 3, "formGroup", "formSubmitted"], [1, "form-group", "col-3", 3, "ngClass"], ["type", "text", "formControlName", "address_city", "placeholder", "City", 1, "form-control"], ["controlName", "address_city", "controlTitle", "City", 3, "formGroup", "formSubmitted"], ["class", "form-group col-3", 3, "ngClass", 4, "ngIf"], ["type", "text", "formControlName", "address_zipcode", "placeholder", "zipcode", 1, "form-control"], ["controlName", "address_zipcode", "controlTitle", "zipcode", 3, "formGroup", "formSubmitted"], ["formControlName", "address_country", "data-placeholder", "Select a Country", 1, "form-control", 3, "change"], [3, "value", 4, "ngFor", "ngForOf"], ["controlName", "address_country", "controlTitle", "Country", 3, "formGroup", "formSubmitted"], [3, "title"], ["formControlName", "address_stateOrRegion", 1, "form-control", 3, "change"], ["controlName", "address_stateOrRegion", "controlTitle", "State", 3, "formGroup", "formSubmitted"], [3, "value"]], template: function AddressComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6093
6028
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
6094
6029
|
i0.ɵɵtemplate(1, AddressComponent_anatoly_card_header_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
6095
6030
|
i0.ɵɵelementStart(2, "anatoly-card-body")(3, "div", 2)(4, "div", 3)(5, "label", 4);
|
|
@@ -6121,44 +6056,45 @@ class AddressComponent extends EditComponentBase {
|
|
|
6121
6056
|
i0.ɵɵelement(28, "anatoly-item-validation-summary", 17);
|
|
6122
6057
|
i0.ɵɵelementEnd()()()();
|
|
6123
6058
|
} if (rf & 2) {
|
|
6124
|
-
i0.ɵɵadvance(
|
|
6059
|
+
i0.ɵɵadvance();
|
|
6125
6060
|
i0.ɵɵproperty("ngIf", ctx.isTitleVisible);
|
|
6126
6061
|
i0.ɵɵadvance(2);
|
|
6127
6062
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
6128
|
-
i0.ɵɵadvance(
|
|
6063
|
+
i0.ɵɵadvance();
|
|
6129
6064
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$2, ctx.isControlInvalid("address_street")));
|
|
6130
6065
|
i0.ɵɵadvance(4);
|
|
6131
6066
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
6132
|
-
i0.ɵɵadvance(
|
|
6067
|
+
i0.ɵɵadvance();
|
|
6133
6068
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$2, ctx.isControlInvalid("address_street2")));
|
|
6134
6069
|
i0.ɵɵadvance(2);
|
|
6135
6070
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
6136
|
-
i0.ɵɵadvance(
|
|
6071
|
+
i0.ɵɵadvance();
|
|
6137
6072
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$2, ctx.isControlInvalid("address_city")));
|
|
6138
6073
|
i0.ɵɵadvance(4);
|
|
6139
6074
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
6140
|
-
i0.ɵɵadvance(
|
|
6075
|
+
i0.ɵɵadvance();
|
|
6141
6076
|
i0.ɵɵproperty("ngIf", ctx.formGroup.value.address_country == "US");
|
|
6142
|
-
i0.ɵɵadvance(
|
|
6077
|
+
i0.ɵɵadvance();
|
|
6143
6078
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$2, ctx.isControlInvalid("address_zipcode")));
|
|
6144
6079
|
i0.ɵɵadvance(4);
|
|
6145
6080
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
6146
|
-
i0.ɵɵadvance(
|
|
6081
|
+
i0.ɵɵadvance();
|
|
6147
6082
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(27, _c0$2, ctx.isControlInvalid("address_country")));
|
|
6148
6083
|
i0.ɵɵadvance(4);
|
|
6149
6084
|
i0.ɵɵproperty("ngForOf", ctx.countryData);
|
|
6150
|
-
i0.ɵɵadvance(
|
|
6085
|
+
i0.ɵɵadvance();
|
|
6151
6086
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
6152
|
-
} }, dependencies: [i1$2.NgClass, i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
6087
|
+
} }, dependencies: [i1$2.NgClass, i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
6153
6088
|
}
|
|
6154
|
-
(
|
|
6089
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
|
|
6155
6090
|
type: Component,
|
|
6156
6091
|
args: [{ selector: 'anatoly-forms-address', template: "<anatoly-card classes='card-primary card-outline'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title'></anatoly-card-header>\r\n <anatoly-card-body>\r\n <div class='row' [formGroup]='formGroup'>\r\n <div class='form-group col-12' [ngClass]=\"{'has-error': isControlInvalid('address_street')}\" >\r\n <label class='col-form-label required'>Street Address</label>\r\n <input type='text' class='form-control' formControlName='address_street' placeholder='Street Address'>\r\n <anatoly-item-validation-summary controlName='address_street'\r\n controlTitle='Street'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n\r\n <div class='form-group col-12' [ngClass]=\"{'has-error': isControlInvalid('address_street2')}\" >\r\n <input type='text' class='form-control' formControlName='address_street2' placeholder='Apartment, suite, unit, building, floor, etc.'>\r\n <anatoly-item-validation-summary controlName='address_street2'\r\n controlTitle='Street2'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n\r\n <div class='form-group col-3' [ngClass]=\"{'has-error': isControlInvalid('address_city')}\">\r\n <label class='col-form-label required'>City</label>\r\n <input type='text' class='form-control' formControlName='address_city' placeholder='City'>\r\n <anatoly-item-validation-summary controlName='address_city'\r\n controlTitle='City'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n\r\n <div class='form-group col-3' *ngIf=\"formGroup.value.address_country == 'US'\" [ngClass]=\"{'has-error': isControlInvalid('address_stateOrRegion')}\">\r\n <label class='col-form-label required'>State</label>\r\n <select class='form-control' (change)='onUSStateChange($event)' formControlName='address_stateOrRegion'>\r\n <option *ngFor='let state of usStateData' [value]='state.code'>{{state.name}}</option>\r\n </select>\r\n <anatoly-item-validation-summary controlName='address_stateOrRegion'\r\n controlTitle='State'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n\r\n <div class='form-group col-3' [ngClass]=\"{'has-error': isControlInvalid('address_zipcode')}\" >\r\n <label class='col-form-label required'>zipcode</label>\r\n <input type='text' class='form-control' formControlName='address_zipcode' placeholder='zipcode'>\r\n <anatoly-item-validation-summary controlName='address_zipcode'\r\n controlTitle='zipcode'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n\r\n <div class='form-group col-3' [ngClass]=\"{'has-error': isControlInvalid('address_country')}\">\r\n <label class='col-form-label required'>Country</label>\r\n <select class='form-control' (change)='onCountryChange($event)' formControlName='address_country' data-placeholder='Select a Country'>\r\n <option *ngFor='let country of countryData' [value]='country.code'>{{country.name}}</option>\r\n </select>\r\n <anatoly-item-validation-summary controlName='address_country'\r\n controlTitle='Country'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n </anatoly-card-body>\r\n</anatoly-card>\r\n" }]
|
|
6157
|
-
}],
|
|
6092
|
+
}], () => [{ type: i2.FormBuilder }, { type: CoreApiService }], { address: [{
|
|
6158
6093
|
type: Input
|
|
6159
6094
|
}], change: [{
|
|
6160
6095
|
type: Output
|
|
6161
6096
|
}] }); })();
|
|
6097
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AddressComponent, { className: "AddressComponent", filePath: "lib\\ui\\forms\\components\\address\\address.component.ts", lineNumber: 35 }); })();
|
|
6162
6098
|
|
|
6163
6099
|
/*
|
|
6164
6100
|
<file>
|
|
@@ -6182,12 +6118,8 @@ function CompanyComponent_anatoly_card_header_1_Template(rf, ctx) { if (rf & 1)
|
|
|
6182
6118
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
6183
6119
|
i0.ɵɵproperty("title", ctx_r0.title);
|
|
6184
6120
|
} }
|
|
6185
|
-
const _c0$1 =
|
|
6121
|
+
const _c0$1 = a0 => ({ "has-error": a0 });
|
|
6186
6122
|
class CompanyComponent extends EditComponentBase {
|
|
6187
|
-
fb;
|
|
6188
|
-
//Private
|
|
6189
|
-
_company;
|
|
6190
|
-
formGroupGenerated = false;
|
|
6191
6123
|
//Inputs
|
|
6192
6124
|
get company() {
|
|
6193
6125
|
return this._company;
|
|
@@ -6201,6 +6133,7 @@ class CompanyComponent extends EditComponentBase {
|
|
|
6201
6133
|
constructor(fb) {
|
|
6202
6134
|
super();
|
|
6203
6135
|
this.fb = fb;
|
|
6136
|
+
this.formGroupGenerated = false;
|
|
6204
6137
|
this.title = 'Company / Organization';
|
|
6205
6138
|
}
|
|
6206
6139
|
ngOnInit() {
|
|
@@ -6235,8 +6168,8 @@ class CompanyComponent extends EditComponentBase {
|
|
|
6235
6168
|
};
|
|
6236
6169
|
return JSON.stringify(data);
|
|
6237
6170
|
}
|
|
6238
|
-
static
|
|
6239
|
-
static
|
|
6171
|
+
static { this.ɵfac = function CompanyComponent_Factory(t) { return new (t || CompanyComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder)); }; }
|
|
6172
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyComponent, selectors: [["anatoly-forms-company"]], inputs: { company: "company" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 24, vars: 22, consts: [["classes", "card-primary card-outline"], [3, "title", 4, "ngIf"], [1, "row", 3, "formGroup"], [1, "form-group", "col-6", 3, "ngClass"], [1, "col-form-label"], ["type", "text", "formControlName", "company_name", "placeholder", "Company Name", 1, "form-control"], ["controlName", "company_name", "controlTitle", "Company Name", 3, "formGroup", "formSubmitted"], ["type", "tel", "formControlName", "company_phone", "placeholder", "Company Phone", 1, "form-control"], ["controlName", "company_phone", "controlTitle", "Company Phone", 3, "formGroup", "formSubmitted"], ["type", "email", "formControlName", "company_email", "placeholder", "Company Email", 1, "form-control"], ["controlName", "company_email", "controlTitle", "Company Email", 3, "formGroup", "formSubmitted"], ["type", "url", "placeholder", "https://example.com", "pattern", "https://.*", "size", "30", "formControlName", "company_websiteUrl", 1, "form-control"], ["controlName", "company_websiteUrl", "controlTitle", "Company website url", 3, "formGroup", "formSubmitted"], [3, "title"]], template: function CompanyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6240
6173
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
6241
6174
|
i0.ɵɵtemplate(1, CompanyComponent_anatoly_card_header_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
6242
6175
|
i0.ɵɵelementStart(2, "anatoly-card-body")(3, "div", 2)(4, "div", 3)(5, "label", 4);
|
|
@@ -6260,34 +6193,35 @@ class CompanyComponent extends EditComponentBase {
|
|
|
6260
6193
|
i0.ɵɵelement(22, "input", 11)(23, "anatoly-item-validation-summary", 12);
|
|
6261
6194
|
i0.ɵɵelementEnd()()()();
|
|
6262
6195
|
} if (rf & 2) {
|
|
6263
|
-
i0.ɵɵadvance(
|
|
6196
|
+
i0.ɵɵadvance();
|
|
6264
6197
|
i0.ɵɵproperty("ngIf", ctx.isTitleVisible);
|
|
6265
6198
|
i0.ɵɵadvance(2);
|
|
6266
6199
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
6267
|
-
i0.ɵɵadvance(
|
|
6200
|
+
i0.ɵɵadvance();
|
|
6268
6201
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$1, ctx.isControlInvalid("company_name")));
|
|
6269
6202
|
i0.ɵɵadvance(4);
|
|
6270
6203
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
6271
|
-
i0.ɵɵadvance(
|
|
6204
|
+
i0.ɵɵadvance();
|
|
6272
6205
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$1, ctx.isControlInvalid("company_phone")));
|
|
6273
6206
|
i0.ɵɵadvance(4);
|
|
6274
6207
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
6275
|
-
i0.ɵɵadvance(
|
|
6208
|
+
i0.ɵɵadvance();
|
|
6276
6209
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c0$1, ctx.isControlInvalid("company_email")));
|
|
6277
6210
|
i0.ɵɵadvance(4);
|
|
6278
6211
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
6279
|
-
i0.ɵɵadvance(
|
|
6212
|
+
i0.ɵɵadvance();
|
|
6280
6213
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$1, ctx.isControlInvalid("company_websiteUrl")));
|
|
6281
6214
|
i0.ɵɵadvance(4);
|
|
6282
6215
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
6283
|
-
} }, dependencies: [i1$2.NgClass, i1$2.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.PatternValidator, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
6216
|
+
} }, dependencies: [i1$2.NgClass, i1$2.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.PatternValidator, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
6284
6217
|
}
|
|
6285
|
-
(
|
|
6218
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
6286
6219
|
type: Component,
|
|
6287
6220
|
args: [{ selector: 'anatoly-forms-company', template: "<anatoly-card classes='card-primary card-outline'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title'></anatoly-card-header>\r\n <anatoly-card-body>\r\n <div [formGroup]='formGroup' class='row'>\r\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_name') }\">\r\n <label class='col-form-label'>Name</label>\r\n <input type='text' class='form-control' formControlName='company_name' placeholder='Company Name'>\r\n <anatoly-item-validation-summary controlName='company_name'\r\n controlTitle='Company Name'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_phone') }\">\r\n <label class='col-form-label'>Phone</label>\r\n <input type='tel' class='form-control' formControlName='company_phone' placeholder='Company Phone'>\r\n <anatoly-item-validation-summary controlName='company_phone'\r\n controlTitle='Company Phone'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_email') }\">\r\n <label class='col-form-label'>Email</label>\r\n <input type='email' class='form-control' formControlName='company_email' placeholder='Company Email'>\r\n <anatoly-item-validation-summary controlName='company_email'\r\n controlTitle='Company Email'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_websiteUrl') }\">\r\n <label class='col-form-label'>Website Url</label>\r\n <input type='url' placeholder='https://example.com' pattern='https://.*' size='30'\r\n class='form-control' formControlName='company_websiteUrl'>\r\n <anatoly-item-validation-summary controlName='company_websiteUrl'\r\n controlTitle='Company website url'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n\r\n </div>\r\n </anatoly-card-body>\r\n</anatoly-card>\r\n" }]
|
|
6288
|
-
}],
|
|
6221
|
+
}], () => [{ type: i2.FormBuilder }], { company: [{
|
|
6289
6222
|
type: Input
|
|
6290
6223
|
}] }); })();
|
|
6224
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CompanyComponent, { className: "CompanyComponent", filePath: "lib\\ui\\forms\\components\\company\\company.component.ts", lineNumber: 28 }); })();
|
|
6291
6225
|
|
|
6292
6226
|
/*
|
|
6293
6227
|
<file>
|
|
@@ -6313,7 +6247,7 @@ function UrlSlugComponent_label_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
6313
6247
|
i0.ɵɵelementEnd()();
|
|
6314
6248
|
} if (rf & 2) {
|
|
6315
6249
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
6316
|
-
i0.ɵɵadvance(
|
|
6250
|
+
i0.ɵɵadvance();
|
|
6317
6251
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.title, " ");
|
|
6318
6252
|
i0.ɵɵadvance(2);
|
|
6319
6253
|
i0.ɵɵtextInterpolate(ctx_r0.urlPrefix);
|
|
@@ -6324,22 +6258,17 @@ function UrlSlugComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
6324
6258
|
i0.ɵɵelementEnd()();
|
|
6325
6259
|
} if (rf & 2) {
|
|
6326
6260
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
6327
|
-
i0.ɵɵadvance(
|
|
6261
|
+
i0.ɵɵadvance();
|
|
6328
6262
|
i0.ɵɵpropertyInterpolate2("href", "", ctx_r1.urlPrefix, "", ctx_r1.hrefGo, "", i0.ɵɵsanitizeUrl);
|
|
6329
6263
|
} }
|
|
6330
|
-
const _c0 =
|
|
6264
|
+
const _c0 = a0 => ({ "has-error": a0 });
|
|
6331
6265
|
class UrlSlugComponent extends EditComponentBase {
|
|
6332
|
-
firstValue = true;
|
|
6333
|
-
hrefGo;
|
|
6334
|
-
//Inputs
|
|
6335
|
-
urlPrefix;
|
|
6336
|
-
isGoButtonVisible = true;
|
|
6337
|
-
//Validation
|
|
6338
|
-
watchedControlName;
|
|
6339
|
-
//Outputs
|
|
6340
|
-
generating = new EventEmitter();
|
|
6341
6266
|
constructor() {
|
|
6342
6267
|
super();
|
|
6268
|
+
this.firstValue = true;
|
|
6269
|
+
this.isGoButtonVisible = true;
|
|
6270
|
+
//Outputs
|
|
6271
|
+
this.generating = new EventEmitter();
|
|
6343
6272
|
this.title = 'Permalink';
|
|
6344
6273
|
}
|
|
6345
6274
|
ngOnInit() {
|
|
@@ -6372,8 +6301,8 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
6372
6301
|
let text = this.getFormValue(this.controlName);
|
|
6373
6302
|
this.generateUrlSlug(text);
|
|
6374
6303
|
}
|
|
6375
|
-
static
|
|
6376
|
-
static
|
|
6304
|
+
static { this.ɵfac = function UrlSlugComponent_Factory(t) { return new (t || UrlSlugComponent)(); }; }
|
|
6305
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UrlSlugComponent, selectors: [["anatoly-forms-urlslug"]], inputs: { urlPrefix: "urlPrefix", isGoButtonVisible: "isGoButtonVisible", watchedControlName: "watchedControlName" }, outputs: { generating: "generating" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 13, consts: [[3, "formGroup", "ngClass"], [1, "d-flex", "align-items-end"], [3, "formGroup", "formSubmitted", "formControlName"], [1, "form-group"], ["class", "col-form-label", 4, "ngIf"], ["type", "text", "placeholder", "Type url slug here", 1, "form-control", 3, "formControlName", "focusout"], ["class", "form-group flex-shrink-1", 4, "ngIf"], [1, "col-form-label"], [1, "urlPrefix"], [1, "form-group", "flex-shrink-1"], ["target", "_blank", 1, "btn", "btn-primary", 3, "href"]], template: function UrlSlugComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6377
6306
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
6378
6307
|
i0.ɵɵelement(2, "anatoly-item-validation-summary", 2);
|
|
6379
6308
|
i0.ɵɵelementStart(3, "div", 3);
|
|
@@ -6390,16 +6319,16 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
6390
6319
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted)("formControlName", ctx.controlName);
|
|
6391
6320
|
i0.ɵɵadvance(2);
|
|
6392
6321
|
i0.ɵɵproperty("ngIf", ctx.isTitleVisible);
|
|
6393
|
-
i0.ɵɵadvance(
|
|
6322
|
+
i0.ɵɵadvance();
|
|
6394
6323
|
i0.ɵɵproperty("formControlName", ctx.controlName);
|
|
6395
|
-
i0.ɵɵadvance(
|
|
6324
|
+
i0.ɵɵadvance();
|
|
6396
6325
|
i0.ɵɵproperty("ngIf", ctx.isGoButtonVisible);
|
|
6397
|
-
} }, dependencies: [i1$2.NgClass, i1$2.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
6326
|
+
} }, dependencies: [i1$2.NgClass, i1$2.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
6398
6327
|
}
|
|
6399
|
-
(
|
|
6328
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
6400
6329
|
type: Component,
|
|
6401
6330
|
args: [{ selector: 'anatoly-forms-urlslug', template: "<div [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\"\r\n class=\"permalink form-group {{ classes }}\">\r\n <div class=\"d-flex align-items-end\">\r\n <anatoly-item-validation-summary\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n [formControlName]='controlName'>\r\n </anatoly-item-validation-summary>\r\n\r\n <div class=\"form-group\">\r\n <label *ngIf='isTitleVisible' class='col-form-label'>\r\n {{ title }}\r\n <span class=\"urlPrefix\">{{ urlPrefix }}</span>\r\n </label>\r\n <input type='text'\r\n class='form-control'\r\n placeholder='Type url slug here'\r\n [formControlName]='controlName'\r\n (focusout)='onUrlSlugChange()' />\r\n </div>\r\n\r\n <div class=\"form-group flex-shrink-1\" *ngIf=\"isGoButtonVisible\">\r\n <a href=\"{{urlPrefix}}{{hrefGo}}\" target=\"_blank\" class=\"btn btn-primary\">Go</a>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
6402
|
-
}],
|
|
6331
|
+
}], () => [], { urlPrefix: [{
|
|
6403
6332
|
type: Input
|
|
6404
6333
|
}], isGoButtonVisible: [{
|
|
6405
6334
|
type: Input
|
|
@@ -6408,6 +6337,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
6408
6337
|
}], generating: [{
|
|
6409
6338
|
type: Output
|
|
6410
6339
|
}] }); })();
|
|
6340
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UrlSlugComponent, { className: "UrlSlugComponent", filePath: "lib\\ui\\forms\\components\\urlslug\\urlslug.component.ts", lineNumber: 28 }); })();
|
|
6411
6341
|
|
|
6412
6342
|
/*
|
|
6413
6343
|
<file>
|
|
@@ -6443,7 +6373,9 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
6443
6373
|
*/
|
|
6444
6374
|
//Node
|
|
6445
6375
|
class FileSizePipe {
|
|
6446
|
-
|
|
6376
|
+
constructor() {
|
|
6377
|
+
this.units = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB'];
|
|
6378
|
+
}
|
|
6447
6379
|
transform(bytes = 0, precision = 0) {
|
|
6448
6380
|
if (isNaN(parseFloat(String(bytes))) || !isFinite(bytes))
|
|
6449
6381
|
return '';
|
|
@@ -6454,10 +6386,10 @@ class FileSizePipe {
|
|
|
6454
6386
|
}
|
|
6455
6387
|
return bytes.toFixed(+precision) + ' ' + this.units[unit];
|
|
6456
6388
|
}
|
|
6457
|
-
static
|
|
6458
|
-
static
|
|
6389
|
+
static { this.ɵfac = function FileSizePipe_Factory(t) { return new (t || FileSizePipe)(); }; }
|
|
6390
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filesize", type: FileSizePipe, pure: true }); }
|
|
6459
6391
|
}
|
|
6460
|
-
(
|
|
6392
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileSizePipe, [{
|
|
6461
6393
|
type: Pipe,
|
|
6462
6394
|
args: [{
|
|
6463
6395
|
name: 'filesize',
|
|
@@ -6489,10 +6421,10 @@ class ReplaceTextPipe {
|
|
|
6489
6421
|
return inputData;
|
|
6490
6422
|
}
|
|
6491
6423
|
}
|
|
6492
|
-
static
|
|
6493
|
-
static
|
|
6424
|
+
static { this.ɵfac = function ReplaceTextPipe_Factory(t) { return new (t || ReplaceTextPipe)(); }; }
|
|
6425
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "replaceText", type: ReplaceTextPipe, pure: true }); }
|
|
6494
6426
|
}
|
|
6495
|
-
(
|
|
6427
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReplaceTextPipe, [{
|
|
6496
6428
|
type: Pipe,
|
|
6497
6429
|
args: [{
|
|
6498
6430
|
name: "replaceText",
|
|
@@ -6516,20 +6448,19 @@ class ReplaceTextPipe {
|
|
|
6516
6448
|
*/
|
|
6517
6449
|
//Node
|
|
6518
6450
|
class SafeHtmlPipe {
|
|
6519
|
-
sanitized;
|
|
6520
6451
|
constructor(sanitized) {
|
|
6521
6452
|
this.sanitized = sanitized;
|
|
6522
6453
|
}
|
|
6523
6454
|
transform(value) {
|
|
6524
6455
|
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
6525
6456
|
}
|
|
6526
|
-
static
|
|
6527
|
-
static
|
|
6457
|
+
static { this.ɵfac = function SafeHtmlPipe_Factory(t) { return new (t || SafeHtmlPipe)(i0.ɵɵdirectiveInject(i1$5.DomSanitizer, 16)); }; }
|
|
6458
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "safeHtml", type: SafeHtmlPipe, pure: true }); }
|
|
6528
6459
|
}
|
|
6529
|
-
(
|
|
6460
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SafeHtmlPipe, [{
|
|
6530
6461
|
type: Pipe,
|
|
6531
6462
|
args: [{ name: 'safeHtml' }]
|
|
6532
|
-
}],
|
|
6463
|
+
}], () => [{ type: i1$5.DomSanitizer }], null); })();
|
|
6533
6464
|
|
|
6534
6465
|
/*
|
|
6535
6466
|
<file>
|
|
@@ -6581,14 +6512,13 @@ class SafeHtmlPipe {
|
|
|
6581
6512
|
//Node
|
|
6582
6513
|
let InjectorInstance;
|
|
6583
6514
|
class AnatolyCoreModule {
|
|
6584
|
-
injector;
|
|
6585
6515
|
constructor(injector, parentModule) {
|
|
6586
6516
|
this.injector = injector;
|
|
6587
6517
|
InjectorInstance = this.injector;
|
|
6588
6518
|
}
|
|
6589
|
-
static
|
|
6590
|
-
static
|
|
6591
|
-
static
|
|
6519
|
+
static { this.ɵfac = function AnatolyCoreModule_Factory(t) { return new (t || AnatolyCoreModule)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(AnatolyCoreModule, 12)); }; }
|
|
6520
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AnatolyCoreModule }); }
|
|
6521
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
6592
6522
|
DigitalMarketingService,
|
|
6593
6523
|
GoogleAnalyticsService,
|
|
6594
6524
|
LoadingService,
|
|
@@ -6602,9 +6532,9 @@ class AnatolyCoreModule {
|
|
|
6602
6532
|
LocalizationSettingsModule,
|
|
6603
6533
|
LocalizationModule, RouterModule,
|
|
6604
6534
|
LocalizationSettingsModule,
|
|
6605
|
-
LocalizationModule] });
|
|
6535
|
+
LocalizationModule] }); }
|
|
6606
6536
|
}
|
|
6607
|
-
(
|
|
6537
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnatolyCoreModule, [{
|
|
6608
6538
|
type: NgModule,
|
|
6609
6539
|
args: [{
|
|
6610
6540
|
imports: [
|
|
@@ -6629,11 +6559,11 @@ class AnatolyCoreModule {
|
|
|
6629
6559
|
NotificationService
|
|
6630
6560
|
]
|
|
6631
6561
|
}]
|
|
6632
|
-
}],
|
|
6562
|
+
}], () => [{ type: i0.Injector }, { type: AnatolyCoreModule, decorators: [{
|
|
6633
6563
|
type: Optional
|
|
6634
6564
|
}, {
|
|
6635
6565
|
type: SkipSelf
|
|
6636
|
-
}] }]
|
|
6566
|
+
}] }], null); })();
|
|
6637
6567
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyCoreModule, { imports: [CommonModule,
|
|
6638
6568
|
RouterModule, i1$4.ToastrModule, LocalizationSettingsModule,
|
|
6639
6569
|
LocalizationModule], exports: [RouterModule,
|
|
@@ -6657,14 +6587,14 @@ class AnatolyCoreModule {
|
|
|
6657
6587
|
*/
|
|
6658
6588
|
//Node
|
|
6659
6589
|
class AnatolyDataModule {
|
|
6660
|
-
static
|
|
6661
|
-
static
|
|
6662
|
-
static
|
|
6590
|
+
static { this.ɵfac = function AnatolyDataModule_Factory(t) { return new (t || AnatolyDataModule)(); }; }
|
|
6591
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AnatolyDataModule }); }
|
|
6592
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
6663
6593
|
CoreApiService,
|
|
6664
6594
|
EmailsApiService
|
|
6665
|
-
], imports: [CommonModule] });
|
|
6595
|
+
], imports: [CommonModule] }); }
|
|
6666
6596
|
}
|
|
6667
|
-
(
|
|
6597
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnatolyDataModule, [{
|
|
6668
6598
|
type: NgModule,
|
|
6669
6599
|
args: [{
|
|
6670
6600
|
imports: [
|
|
@@ -6827,16 +6757,16 @@ const MSALProviders = [
|
|
|
6827
6757
|
AdminGuard
|
|
6828
6758
|
];
|
|
6829
6759
|
class AnatolyIAMModule {
|
|
6830
|
-
static
|
|
6831
|
-
static
|
|
6832
|
-
static
|
|
6760
|
+
static { this.ɵfac = function AnatolyIAMModule_Factory(t) { return new (t || AnatolyIAMModule)(); }; }
|
|
6761
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AnatolyIAMModule }); }
|
|
6762
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
6833
6763
|
...MSALProviders
|
|
6834
6764
|
], imports: [CommonModule,
|
|
6835
6765
|
RouterModule,
|
|
6836
6766
|
HttpClientModule,
|
|
6837
|
-
MsalModule] });
|
|
6767
|
+
MsalModule] }); }
|
|
6838
6768
|
}
|
|
6839
|
-
(
|
|
6769
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnatolyIAMModule, [{
|
|
6840
6770
|
type: NgModule,
|
|
6841
6771
|
args: [{
|
|
6842
6772
|
imports: [
|
|
@@ -6876,7 +6806,6 @@ class AnatolyIAMModule {
|
|
|
6876
6806
|
*/
|
|
6877
6807
|
//Node
|
|
6878
6808
|
class SignInPage extends PageBase {
|
|
6879
|
-
auth;
|
|
6880
6809
|
constructor(auth) {
|
|
6881
6810
|
super();
|
|
6882
6811
|
this.auth = auth;
|
|
@@ -6884,13 +6813,14 @@ class SignInPage extends PageBase {
|
|
|
6884
6813
|
ngOnInit() {
|
|
6885
6814
|
this.auth.login();
|
|
6886
6815
|
}
|
|
6887
|
-
static
|
|
6888
|
-
static
|
|
6816
|
+
static { this.ɵfac = function SignInPage_Factory(t) { return new (t || SignInPage)(i0.ɵɵdirectiveInject(AuthService)); }; }
|
|
6817
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInPage, selectors: [["iam-signin-page"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function SignInPage_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
6889
6818
|
}
|
|
6890
|
-
(
|
|
6819
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInPage, [{
|
|
6891
6820
|
type: Component,
|
|
6892
6821
|
args: [{ selector: 'iam-signin-page', template: "" }]
|
|
6893
|
-
}],
|
|
6822
|
+
}], () => [{ type: AuthService }], null); })();
|
|
6823
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignInPage, { className: "SignInPage", filePath: "lib\\iam\\pages\\signin.page.ts", lineNumber: 31 }); })();
|
|
6894
6824
|
|
|
6895
6825
|
/*
|
|
6896
6826
|
<file>
|
|
@@ -6912,7 +6842,6 @@ class SignInPage extends PageBase {
|
|
|
6912
6842
|
*/
|
|
6913
6843
|
//Node
|
|
6914
6844
|
class SignOutPage extends PageBase {
|
|
6915
|
-
auth;
|
|
6916
6845
|
constructor(auth) {
|
|
6917
6846
|
super();
|
|
6918
6847
|
this.auth = auth;
|
|
@@ -6920,13 +6849,14 @@ class SignOutPage extends PageBase {
|
|
|
6920
6849
|
ngOnInit() {
|
|
6921
6850
|
this.auth.logout();
|
|
6922
6851
|
}
|
|
6923
|
-
static
|
|
6924
|
-
static
|
|
6852
|
+
static { this.ɵfac = function SignOutPage_Factory(t) { return new (t || SignOutPage)(i0.ɵɵdirectiveInject(AuthService)); }; }
|
|
6853
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutPage, selectors: [["iam-signout-page"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function SignOutPage_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
6925
6854
|
}
|
|
6926
|
-
(
|
|
6855
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutPage, [{
|
|
6927
6856
|
type: Component,
|
|
6928
6857
|
args: [{ selector: 'iam-signout-page', template: "" }]
|
|
6929
|
-
}],
|
|
6858
|
+
}], () => [{ type: AuthService }], null); })();
|
|
6859
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignOutPage, { className: "SignOutPage", filePath: "lib\\iam\\pages\\signout.page.ts", lineNumber: 31 }); })();
|
|
6930
6860
|
|
|
6931
6861
|
/*
|
|
6932
6862
|
<file>
|
|
@@ -6948,7 +6878,6 @@ class SignOutPage extends PageBase {
|
|
|
6948
6878
|
*/
|
|
6949
6879
|
//Node
|
|
6950
6880
|
class SignUpPage extends PageBase {
|
|
6951
|
-
auth;
|
|
6952
6881
|
constructor(auth) {
|
|
6953
6882
|
super();
|
|
6954
6883
|
this.auth = auth;
|
|
@@ -6956,13 +6885,14 @@ class SignUpPage extends PageBase {
|
|
|
6956
6885
|
ngOnInit() {
|
|
6957
6886
|
this.auth.signUp();
|
|
6958
6887
|
}
|
|
6959
|
-
static
|
|
6960
|
-
static
|
|
6888
|
+
static { this.ɵfac = function SignUpPage_Factory(t) { return new (t || SignUpPage)(i0.ɵɵdirectiveInject(AuthService)); }; }
|
|
6889
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpPage, selectors: [["iam-signup-page"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function SignUpPage_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
6961
6890
|
}
|
|
6962
|
-
(
|
|
6891
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpPage, [{
|
|
6963
6892
|
type: Component,
|
|
6964
6893
|
args: [{ selector: 'iam-signup-page', template: "" }]
|
|
6965
|
-
}],
|
|
6894
|
+
}], () => [{ type: AuthService }], null); })();
|
|
6895
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpPage, { className: "SignUpPage", filePath: "lib\\iam\\pages\\signup.page.ts", lineNumber: 31 }); })();
|
|
6966
6896
|
|
|
6967
6897
|
/*
|
|
6968
6898
|
<file>
|
|
@@ -7024,14 +6954,14 @@ const PAGES = [
|
|
|
7024
6954
|
*/
|
|
7025
6955
|
//Node
|
|
7026
6956
|
class AnatolyIAMPagesModule {
|
|
7027
|
-
static
|
|
7028
|
-
static
|
|
7029
|
-
static
|
|
6957
|
+
static { this.ɵfac = function AnatolyIAMPagesModule_Factory(t) { return new (t || AnatolyIAMPagesModule)(); }; }
|
|
6958
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AnatolyIAMPagesModule }); }
|
|
6959
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
7030
6960
|
RouterModule,
|
|
7031
6961
|
HttpClientModule,
|
|
7032
|
-
IAMRouterModule] });
|
|
6962
|
+
IAMRouterModule] }); }
|
|
7033
6963
|
}
|
|
7034
|
-
(
|
|
6964
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnatolyIAMPagesModule, [{
|
|
7035
6965
|
type: NgModule,
|
|
7036
6966
|
args: [{
|
|
7037
6967
|
imports: [
|
|
@@ -7070,12 +7000,12 @@ class FaModule {
|
|
|
7070
7000
|
constructor(library) {
|
|
7071
7001
|
library.addIcons(faCheckCircle, faCircleXmark, faDatabase, faCopy);
|
|
7072
7002
|
}
|
|
7073
|
-
static
|
|
7074
|
-
static
|
|
7075
|
-
static
|
|
7076
|
-
FontAwesomeModule, FontAwesomeModule] });
|
|
7003
|
+
static { this.ɵfac = function FaModule_Factory(t) { return new (t || FaModule)(i0.ɵɵinject(i1$6.FaIconLibrary)); }; }
|
|
7004
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FaModule }); }
|
|
7005
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
7006
|
+
FontAwesomeModule, FontAwesomeModule] }); }
|
|
7077
7007
|
}
|
|
7078
|
-
(
|
|
7008
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FaModule, [{
|
|
7079
7009
|
type: NgModule,
|
|
7080
7010
|
args: [{
|
|
7081
7011
|
imports: [
|
|
@@ -7086,7 +7016,7 @@ class FaModule {
|
|
|
7086
7016
|
FontAwesomeModule
|
|
7087
7017
|
]
|
|
7088
7018
|
}]
|
|
7089
|
-
}],
|
|
7019
|
+
}], () => [{ type: i1$6.FaIconLibrary }], null); })();
|
|
7090
7020
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FaModule, { imports: [CommonModule,
|
|
7091
7021
|
FontAwesomeModule], exports: [FontAwesomeModule] }); })();
|
|
7092
7022
|
|
|
@@ -7107,9 +7037,9 @@ class FaModule {
|
|
|
7107
7037
|
*/
|
|
7108
7038
|
//Node
|
|
7109
7039
|
class KendoModule {
|
|
7110
|
-
static
|
|
7111
|
-
static
|
|
7112
|
-
static
|
|
7040
|
+
static { this.ɵfac = function KendoModule_Factory(t) { return new (t || KendoModule)(); }; }
|
|
7041
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: KendoModule }); }
|
|
7042
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
7113
7043
|
ButtonsModule,
|
|
7114
7044
|
DialogsModule,
|
|
7115
7045
|
DropDownsModule,
|
|
@@ -7124,9 +7054,9 @@ class KendoModule {
|
|
|
7124
7054
|
PagerModule,
|
|
7125
7055
|
TreeViewModule,
|
|
7126
7056
|
TooltipsModule,
|
|
7127
|
-
IconsModule] });
|
|
7057
|
+
IconsModule] }); }
|
|
7128
7058
|
}
|
|
7129
|
-
(
|
|
7059
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(KendoModule, [{
|
|
7130
7060
|
type: NgModule,
|
|
7131
7061
|
args: [{
|
|
7132
7062
|
imports: [
|
|
@@ -7227,18 +7157,18 @@ const COMPONENTS = [
|
|
|
7227
7157
|
ItemValidationSummaryComponent
|
|
7228
7158
|
];
|
|
7229
7159
|
class AnatolyUIModule {
|
|
7230
|
-
static
|
|
7231
|
-
static
|
|
7232
|
-
static
|
|
7160
|
+
static { this.ɵfac = function AnatolyUIModule_Factory(t) { return new (t || AnatolyUIModule)(); }; }
|
|
7161
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AnatolyUIModule }); }
|
|
7162
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
7233
7163
|
RouterModule,
|
|
7234
7164
|
ReactiveFormsModule,
|
|
7235
7165
|
FormsModule,
|
|
7236
7166
|
NgxCaptchaModule,
|
|
7237
7167
|
FERootModule,
|
|
7238
7168
|
FaModule,
|
|
7239
|
-
KendoModule] });
|
|
7169
|
+
KendoModule] }); }
|
|
7240
7170
|
}
|
|
7241
|
-
(
|
|
7171
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnatolyUIModule, [{
|
|
7242
7172
|
type: NgModule,
|
|
7243
7173
|
args: [{
|
|
7244
7174
|
imports: [
|
|
@@ -7361,18 +7291,18 @@ class AnatolyUIModule {
|
|
|
7361
7291
|
*/
|
|
7362
7292
|
//Node
|
|
7363
7293
|
class AnatolyModule {
|
|
7364
|
-
static
|
|
7365
|
-
static
|
|
7366
|
-
static
|
|
7294
|
+
static { this.ɵfac = function AnatolyModule_Factory(t) { return new (t || AnatolyModule)(); }; }
|
|
7295
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AnatolyModule }); }
|
|
7296
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
7367
7297
|
AnatolyCoreModule,
|
|
7368
7298
|
AnatolyDataModule,
|
|
7369
7299
|
AnatolyIAMModule,
|
|
7370
7300
|
AnatolyUIModule, AnatolyCoreModule,
|
|
7371
7301
|
AnatolyDataModule,
|
|
7372
7302
|
AnatolyIAMModule,
|
|
7373
|
-
AnatolyUIModule] });
|
|
7303
|
+
AnatolyUIModule] }); }
|
|
7374
7304
|
}
|
|
7375
|
-
(
|
|
7305
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnatolyModule, [{
|
|
7376
7306
|
type: NgModule,
|
|
7377
7307
|
args: [{
|
|
7378
7308
|
imports: [
|