@osovitny/anatoly 3.19.41 → 3.19.43
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/fesm2022/osovitny-anatoly.mjs +106 -134
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/lib/core/utils/utils.d.ts +1 -0
- package/lib/iam/iam-pages.routes.d.ts +1 -1
- package/lib/iam/iam.module.d.ts +3 -0
- package/lib/iam/services/auth.service.d.ts +1 -2
- package/lib/ui/components/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, EventEmitter, Component, Output, Input, Inject, Pipe, provideAppInitializer, inject, NgModule, Directive, ChangeDetectionStrategy, ViewChild, ViewEncapsulation, HostListener, HostBinding } from '@angular/core';
|
|
2
|
+
import { Injectable, EventEmitter, Component, Output, Input, Inject, Pipe, provideAppInitializer, inject, NgModule, Directive, ChangeDetectionStrategy, ViewChild, ViewEncapsulation, HostListener, HostBinding, APP_INITIALIZER } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject, forkJoin, Subject, filter, takeUntil, map as map$1, catchError, of, merge, timer, fromEvent, firstValueFrom } from 'rxjs';
|
|
4
4
|
import { map, tap, mergeMap } from 'rxjs/operators';
|
|
5
5
|
import * as i1 from '@angular/common/http';
|
|
@@ -11,37 +11,37 @@ import js_beautify from 'js-beautify';
|
|
|
11
11
|
import * as i1$2 from '@angular/router';
|
|
12
12
|
import { NavigationEnd, NavigationStart, NavigationCancel, NavigationError, RouterModule } from '@angular/router';
|
|
13
13
|
import { v4 } from 'uuid';
|
|
14
|
-
import * as
|
|
15
|
-
import { MSAL_GUARD_CONFIG, MsalGuard,
|
|
14
|
+
import * as i1$3 from '@azure/msal-angular';
|
|
15
|
+
import { MSAL_GUARD_CONFIG, MsalGuard, MsalService, MsalBroadcastService, MsalInterceptor, MSAL_INSTANCE, MsalModule } from '@azure/msal-angular';
|
|
16
16
|
import { BrowserUtils, EventType, InteractionStatus, InteractionType, InteractionRequiredAuthError, PromptValue, PublicClientApplication, LogLevel } from '@azure/msal-browser';
|
|
17
17
|
import { enUS } from 'date-fns/locale/en-US';
|
|
18
|
-
import * as i1$
|
|
18
|
+
import * as i1$4 from '@ngx-translate/core';
|
|
19
19
|
import { TranslateModule, TranslateLoader, TranslateService } from '@ngx-translate/core';
|
|
20
20
|
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
21
21
|
import Swal from 'sweetalert2';
|
|
22
|
-
import * as i1$
|
|
22
|
+
import * as i1$5 from 'ngx-toastr';
|
|
23
23
|
import { ToastrModule } from 'ngx-toastr';
|
|
24
24
|
import * as i2 from '@angular/cdk/layout';
|
|
25
25
|
import { Breakpoints } from '@angular/cdk/layout';
|
|
26
|
-
import * as i1$
|
|
27
|
-
import * as i1$
|
|
26
|
+
import * as i1$6 from '@angular/cdk/platform';
|
|
27
|
+
import * as i1$7 from '@angular/platform-browser';
|
|
28
28
|
import * as i2$1 from '@angular/forms';
|
|
29
29
|
import { FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
30
30
|
import * as dropin from 'braintree-web-drop-in';
|
|
31
|
-
import * as i4
|
|
31
|
+
import * as i4 from '@progress/kendo-angular-dialog';
|
|
32
32
|
import { DialogsModule } from '@progress/kendo-angular-dialog';
|
|
33
33
|
import { loadStripe } from '@stripe/stripe-js';
|
|
34
|
-
import * as i4$
|
|
34
|
+
import * as i4$1 from '@progress/kendo-angular-label';
|
|
35
35
|
import { LabelModule } from '@progress/kendo-angular-label';
|
|
36
36
|
import * as i3 from '@progress/kendo-angular-dropdowns';
|
|
37
37
|
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
38
38
|
import * as i3$1 from 'angular-froala-wysiwyg';
|
|
39
39
|
import { FERootModule } from 'angular-froala-wysiwyg';
|
|
40
|
-
import * as i1$
|
|
40
|
+
import * as i1$8 from '@fortawesome/angular-fontawesome';
|
|
41
41
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
42
|
-
import * as i1$
|
|
42
|
+
import * as i1$9 from '@progress/kendo-angular-pager';
|
|
43
43
|
import { PagerModule } from '@progress/kendo-angular-pager';
|
|
44
|
-
import * as i1$
|
|
44
|
+
import * as i1$a from 'ngx-captcha';
|
|
45
45
|
import { NgxCaptchaModule } from 'ngx-captcha';
|
|
46
46
|
import { faCheckCircle, faCircleXmark, faDatabase, faCopy } from '@fortawesome/free-solid-svg-icons';
|
|
47
47
|
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
@@ -1837,23 +1837,17 @@ class AuthService extends ApiServiceBase {
|
|
|
1837
1837
|
this.msalService = msalService;
|
|
1838
1838
|
this.msalBroadcastService = msalBroadcastService;
|
|
1839
1839
|
this.msalDestroying$ = new Subject();
|
|
1840
|
-
this.initialized = false;
|
|
1841
1840
|
this.init();
|
|
1842
1841
|
}
|
|
1843
1842
|
ngOnDestroy() {
|
|
1844
1843
|
this.msalDestroying$.next(undefined);
|
|
1845
1844
|
this.msalDestroying$.complete();
|
|
1846
1845
|
}
|
|
1846
|
+
setDefaults() {
|
|
1847
|
+
}
|
|
1847
1848
|
init() {
|
|
1848
1849
|
this.setDefaults();
|
|
1849
|
-
this.
|
|
1850
|
-
this.initialized = true;
|
|
1851
|
-
console.log(`msal.app: initMSAL started`);
|
|
1852
|
-
this.initMSAL();
|
|
1853
|
-
console.log(`msal.app: initMSAL finished`);
|
|
1854
|
-
});
|
|
1855
|
-
}
|
|
1856
|
-
setDefaults() {
|
|
1850
|
+
this.initMSAL();
|
|
1857
1851
|
}
|
|
1858
1852
|
/*
|
|
1859
1853
|
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/msal-angular-v3-samples/angular-b2c-sample-app/src/app/app.component.ts
|
|
@@ -1876,7 +1870,7 @@ class AuthService extends ApiServiceBase {
|
|
|
1876
1870
|
this.resetPasswordPolicy = MSALB2C.getPolicyByType(PolicyType.resetPassword);
|
|
1877
1871
|
this.msalService.handleRedirectObservable().subscribe({
|
|
1878
1872
|
next: (result) => {
|
|
1879
|
-
console.log(`msal
|
|
1873
|
+
console.log(`iam.msal: handleRedirectObservable`);
|
|
1880
1874
|
},
|
|
1881
1875
|
error: (error) => {
|
|
1882
1876
|
console.log(error);
|
|
@@ -1899,7 +1893,7 @@ class AuthService extends ApiServiceBase {
|
|
|
1899
1893
|
.subscribe((msg) => {
|
|
1900
1894
|
switch (msg.eventType) {
|
|
1901
1895
|
case EventType.INITIALIZE_END:
|
|
1902
|
-
console.log(`msal
|
|
1896
|
+
console.log(`iam.msal: INITIALIZE_END fired`);
|
|
1903
1897
|
break;
|
|
1904
1898
|
case EventType.ACCOUNT_ADDED:
|
|
1905
1899
|
case EventType.ACCOUNT_REMOVED:
|
|
@@ -1994,13 +1988,13 @@ class AuthService extends ApiServiceBase {
|
|
|
1994
1988
|
* Initial status before interaction occurs
|
|
1995
1989
|
*/
|
|
1996
1990
|
case InteractionStatus.Startup:
|
|
1997
|
-
console.log(`msal
|
|
1991
|
+
console.log(`iam.msal: InteractionStatus.Startup`);
|
|
1998
1992
|
break;
|
|
1999
1993
|
/**
|
|
2000
1994
|
* Status set when interaction is complete
|
|
2001
1995
|
*/
|
|
2002
1996
|
case InteractionStatus.None:
|
|
2003
|
-
console.log(`msal
|
|
1997
|
+
console.log(`iam.msal: InteractionStatus.None`);
|
|
2004
1998
|
MSALRedirect.handle(this.router, 'msalBroadcastService.inProgress$ InteractionStatus.None');
|
|
2005
1999
|
this.checkAndSetActiveAccount();
|
|
2006
2000
|
this.appContext.updateCurrent();
|
|
@@ -2009,15 +2003,10 @@ class AuthService extends ApiServiceBase {
|
|
|
2009
2003
|
});
|
|
2010
2004
|
}
|
|
2011
2005
|
checkAndSetActiveAccount() {
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
this.msalService.instance.setActiveAccount(accounts[0]);
|
|
2017
|
-
}
|
|
2018
|
-
}
|
|
2019
|
-
catch (error) {
|
|
2020
|
-
console.error("An error occurred: ", error);
|
|
2006
|
+
let activeAccount = this.msalService.instance.getActiveAccount();
|
|
2007
|
+
let accounts = this.msalService.instance.getAllAccounts();
|
|
2008
|
+
if (!activeAccount && accounts.length > 0) {
|
|
2009
|
+
this.msalService.instance.setActiveAccount(accounts[0]);
|
|
2021
2010
|
}
|
|
2022
2011
|
}
|
|
2023
2012
|
isPopup(popup) {
|
|
@@ -2043,13 +2032,8 @@ class AuthService extends ApiServiceBase {
|
|
|
2043
2032
|
}
|
|
2044
2033
|
// Public funcs
|
|
2045
2034
|
getActiveAccount() {
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
return this.msalService.instance.getActiveAccount();
|
|
2049
|
-
}
|
|
2050
|
-
catch (error) {
|
|
2051
|
-
console.error("An error occurred: ", error);
|
|
2052
|
-
}
|
|
2035
|
+
this.checkAndSetActiveAccount();
|
|
2036
|
+
return this.msalService.instance.getActiveAccount();
|
|
2053
2037
|
}
|
|
2054
2038
|
getUserEmail() {
|
|
2055
2039
|
let user = this.appContext.user;
|
|
@@ -2111,28 +2095,23 @@ class AuthService extends ApiServiceBase {
|
|
|
2111
2095
|
}));
|
|
2112
2096
|
}
|
|
2113
2097
|
//2. if isUserAuthenticated
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
return
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
}));
|
|
2130
|
-
}
|
|
2131
|
-
}
|
|
2132
|
-
catch (error) {
|
|
2133
|
-
console.error("An error occurred: ", error);
|
|
2098
|
+
let activeAccount = this.getActiveAccount();
|
|
2099
|
+
if (activeAccount) {
|
|
2100
|
+
let silentRequest = {
|
|
2101
|
+
scopes: MSALUtils.getApiScopes(),
|
|
2102
|
+
account: activeAccount
|
|
2103
|
+
};
|
|
2104
|
+
return this.msalService.acquireTokenSilent(silentRequest).pipe(map$1(response => {
|
|
2105
|
+
return response.accessToken;
|
|
2106
|
+
}), catchError(error => {
|
|
2107
|
+
console.log("Silent token acquisition fails.");
|
|
2108
|
+
if (error instanceof InteractionRequiredAuthError) {
|
|
2109
|
+
return this.acquireToken();
|
|
2110
|
+
}
|
|
2111
|
+
return of(null);
|
|
2112
|
+
}));
|
|
2134
2113
|
}
|
|
2135
|
-
return
|
|
2114
|
+
return this.acquireToken();
|
|
2136
2115
|
}
|
|
2137
2116
|
forceReauthenticate(account) {
|
|
2138
2117
|
if (MSALUtils.isB2C()) {
|
|
@@ -2204,13 +2183,7 @@ class AuthService extends ApiServiceBase {
|
|
|
2204
2183
|
}
|
|
2205
2184
|
//MSAL check
|
|
2206
2185
|
isUserAuthenticated() {
|
|
2207
|
-
|
|
2208
|
-
return this.msalService.instance.getActiveAccount() != null;
|
|
2209
|
-
}
|
|
2210
|
-
catch (error) {
|
|
2211
|
-
console.error("An error occurred: ", error);
|
|
2212
|
-
}
|
|
2213
|
-
return false;
|
|
2186
|
+
return this.msalService.instance.getActiveAccount() != null;
|
|
2214
2187
|
}
|
|
2215
2188
|
//MSAL + appContext check
|
|
2216
2189
|
isUserSignedIn() {
|
|
@@ -2256,7 +2229,7 @@ class AuthService extends ApiServiceBase {
|
|
|
2256
2229
|
};
|
|
2257
2230
|
this.login(resetPasswordFlowRequest);
|
|
2258
2231
|
}
|
|
2259
|
-
static { this.ɵfac = function AuthService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(AppContextService), i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(
|
|
2232
|
+
static { this.ɵfac = function AuthService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(AppContextService), i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i1$3.MsalService), i0.ɵɵinject(i1$3.MsalBroadcastService)); }; }
|
|
2260
2233
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
|
|
2261
2234
|
}
|
|
2262
2235
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
@@ -2267,7 +2240,7 @@ class AuthService extends ApiServiceBase {
|
|
|
2267
2240
|
}], () => [{ type: i1.HttpClient }, { type: i1$2.Router }, { type: AppContextService }, { type: undefined, decorators: [{
|
|
2268
2241
|
type: Inject,
|
|
2269
2242
|
args: [MSAL_GUARD_CONFIG]
|
|
2270
|
-
}] }, { type:
|
|
2243
|
+
}] }, { type: i1$3.MsalService }, { type: i1$3.MsalBroadcastService }], null); })();
|
|
2271
2244
|
|
|
2272
2245
|
/*
|
|
2273
2246
|
<file>
|
|
@@ -2441,7 +2414,7 @@ class AuthenticationGuard extends MsalGuard {
|
|
|
2441
2414
|
this.setInteractionType(route);
|
|
2442
2415
|
return super.canActivate(route, state);
|
|
2443
2416
|
}
|
|
2444
|
-
static { this.ɵfac = function AuthenticationGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthenticationGuard)(i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(
|
|
2417
|
+
static { this.ɵfac = function AuthenticationGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthenticationGuard)(i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i1$3.MsalBroadcastService), i0.ɵɵinject(i1$3.MsalService), i0.ɵɵinject(i1$1.Location), i0.ɵɵinject(i1$2.Router)); }; }
|
|
2445
2418
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthenticationGuard, factory: AuthenticationGuard.ɵfac }); }
|
|
2446
2419
|
}
|
|
2447
2420
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthenticationGuard, [{
|
|
@@ -2449,7 +2422,7 @@ class AuthenticationGuard extends MsalGuard {
|
|
|
2449
2422
|
}], () => [{ type: undefined, decorators: [{
|
|
2450
2423
|
type: Inject,
|
|
2451
2424
|
args: [MSAL_GUARD_CONFIG]
|
|
2452
|
-
}] }, { type:
|
|
2425
|
+
}] }, { type: i1$3.MsalBroadcastService }, { type: i1$3.MsalService }, { type: i1$1.Location }, { type: i1$2.Router }], null); })();
|
|
2453
2426
|
|
|
2454
2427
|
/*
|
|
2455
2428
|
<file>
|
|
@@ -3021,7 +2994,7 @@ class LocalizationService {
|
|
|
3021
2994
|
}
|
|
3022
2995
|
return formatDistanceToNow(d, this.dateFnsLocale);
|
|
3023
2996
|
}
|
|
3024
|
-
static { this.ɵfac = function LocalizationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LocalizationService)(i0.ɵɵinject(i1$
|
|
2997
|
+
static { this.ɵfac = function LocalizationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LocalizationService)(i0.ɵɵinject(i1$4.TranslateService)); }; }
|
|
3025
2998
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LocalizationService, factory: LocalizationService.ɵfac, providedIn: 'root' }); }
|
|
3026
2999
|
}
|
|
3027
3000
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LocalizationService, [{
|
|
@@ -3029,7 +3002,7 @@ class LocalizationService {
|
|
|
3029
3002
|
args: [{
|
|
3030
3003
|
providedIn: 'root'
|
|
3031
3004
|
}]
|
|
3032
|
-
}], () => [{ type: i1$
|
|
3005
|
+
}], () => [{ type: i1$4.TranslateService }], { langchange: [{
|
|
3033
3006
|
type: Output
|
|
3034
3007
|
}] }); })();
|
|
3035
3008
|
|
|
@@ -3193,7 +3166,7 @@ class LocalizationSettingsModule {
|
|
|
3193
3166
|
exports: []
|
|
3194
3167
|
}]
|
|
3195
3168
|
}], () => [{ type: i0.Injector }], null); })();
|
|
3196
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LocalizationSettingsModule, { imports: [i1$
|
|
3169
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LocalizationSettingsModule, { imports: [i1$4.TranslateModule] }); })();
|
|
3197
3170
|
|
|
3198
3171
|
/*
|
|
3199
3172
|
<file>
|
|
@@ -3512,13 +3485,13 @@ class NotificationService {
|
|
|
3512
3485
|
let title = 'Authentication Required';
|
|
3513
3486
|
this.warning(text, null, title);
|
|
3514
3487
|
}
|
|
3515
|
-
static { this.ɵfac = function NotificationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NotificationService)(i0.ɵɵinject(i1$
|
|
3488
|
+
static { this.ɵfac = function NotificationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NotificationService)(i0.ɵɵinject(i1$5.ToastrService)); }; }
|
|
3516
3489
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: NotificationService, factory: NotificationService.ɵfac, providedIn: 'root' }); }
|
|
3517
3490
|
}
|
|
3518
3491
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationService, [{
|
|
3519
3492
|
type: Injectable,
|
|
3520
3493
|
args: [{ providedIn: 'root' }]
|
|
3521
|
-
}], () => [{ type: i1$
|
|
3494
|
+
}], () => [{ type: i1$5.ToastrService }], null); })();
|
|
3522
3495
|
|
|
3523
3496
|
class BrowserService {
|
|
3524
3497
|
constructor(platform, breakpointObserver) {
|
|
@@ -3608,7 +3581,7 @@ class BrowserService {
|
|
|
3608
3581
|
get userAgent() {
|
|
3609
3582
|
return navigator.userAgent.toLowerCase();
|
|
3610
3583
|
}
|
|
3611
|
-
static { this.ɵfac = function BrowserService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BrowserService)(i0.ɵɵinject(i1$
|
|
3584
|
+
static { this.ɵfac = function BrowserService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BrowserService)(i0.ɵɵinject(i1$6.Platform), i0.ɵɵinject(i2.BreakpointObserver)); }; }
|
|
3612
3585
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BrowserService, factory: BrowserService.ɵfac, providedIn: 'root' }); }
|
|
3613
3586
|
}
|
|
3614
3587
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BrowserService, [{
|
|
@@ -3616,7 +3589,7 @@ class BrowserService {
|
|
|
3616
3589
|
args: [{
|
|
3617
3590
|
providedIn: 'root'
|
|
3618
3591
|
}]
|
|
3619
|
-
}], () => [{ type: i1$
|
|
3592
|
+
}], () => [{ type: i1$6.Platform }, { type: i2.BreakpointObserver }], null); })();
|
|
3620
3593
|
|
|
3621
3594
|
/*
|
|
3622
3595
|
<file>
|
|
@@ -3670,7 +3643,7 @@ class DigitalMarketingService {
|
|
|
3670
3643
|
link.setAttribute('rel', 'canonical');
|
|
3671
3644
|
link.setAttribute('href', canUrl);
|
|
3672
3645
|
}
|
|
3673
|
-
static { this.ɵfac = function DigitalMarketingService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DigitalMarketingService)(i0.ɵɵinject(i1$
|
|
3646
|
+
static { this.ɵfac = function DigitalMarketingService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DigitalMarketingService)(i0.ɵɵinject(i1$7.Title), i0.ɵɵinject(i1$7.Meta), i0.ɵɵinject(DOCUMENT)); }; }
|
|
3674
3647
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DigitalMarketingService, factory: DigitalMarketingService.ɵfac, providedIn: 'root' }); }
|
|
3675
3648
|
}
|
|
3676
3649
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DigitalMarketingService, [{
|
|
@@ -3678,7 +3651,7 @@ class DigitalMarketingService {
|
|
|
3678
3651
|
args: [{
|
|
3679
3652
|
providedIn: 'root'
|
|
3680
3653
|
}]
|
|
3681
|
-
}], () => [{ type: i1$
|
|
3654
|
+
}], () => [{ type: i1$7.Title }, { type: i1$7.Meta }, { type: undefined, decorators: [{
|
|
3682
3655
|
type: Inject,
|
|
3683
3656
|
args: [DOCUMENT]
|
|
3684
3657
|
}] }], null); })();
|
|
@@ -4213,6 +4186,9 @@ class Utils {
|
|
|
4213
4186
|
static generateRandom(start, end) {
|
|
4214
4187
|
return Math.floor(Math.random() * (end - start + 1)) + start;
|
|
4215
4188
|
}
|
|
4189
|
+
static sortArray(items) {
|
|
4190
|
+
return items?.slice().sort((a, b) => a.name.toLowerCase().localeCompare(b.name.toLowerCase()));
|
|
4191
|
+
}
|
|
4216
4192
|
}
|
|
4217
4193
|
|
|
4218
4194
|
/*
|
|
@@ -5456,7 +5432,7 @@ class BraintreeDialog extends DialogBase {
|
|
|
5456
5432
|
i0.ɵɵtemplate(0, BraintreeDialog_Conditional_0_Template, 11, 3, "div", 0);
|
|
5457
5433
|
} if (rf & 2) {
|
|
5458
5434
|
i0.ɵɵconditional(ctx.visible ? 0 : -1);
|
|
5459
|
-
} }, dependencies: [i4
|
|
5435
|
+
} }, dependencies: [i4.DialogComponent, i4.DialogTitleBarComponent, i4.DialogActionsComponent], encapsulation: 2 }); }
|
|
5460
5436
|
}
|
|
5461
5437
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BraintreeDialog, [{
|
|
5462
5438
|
type: Component,
|
|
@@ -6241,7 +6217,7 @@ class StripeDialog extends DialogBase {
|
|
|
6241
6217
|
i0.ɵɵtemplate(0, StripeDialog_Conditional_0_Template, 6, 3, "div", 0);
|
|
6242
6218
|
} if (rf & 2) {
|
|
6243
6219
|
i0.ɵɵconditional(ctx.visible ? 0 : -1);
|
|
6244
|
-
} }, dependencies: [i4
|
|
6220
|
+
} }, dependencies: [i4.DialogComponent, i4.DialogTitleBarComponent], encapsulation: 2 }); }
|
|
6245
6221
|
}
|
|
6246
6222
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StripeDialog, [{
|
|
6247
6223
|
type: Component,
|
|
@@ -7246,7 +7222,7 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
7246
7222
|
setValues() {
|
|
7247
7223
|
this.appContext.jsonFilesLoaded$.subscribe({
|
|
7248
7224
|
next: () => {
|
|
7249
|
-
this.items = this.appContext.countries
|
|
7225
|
+
this.items = Utils.sortArray(this.appContext.countries);
|
|
7250
7226
|
}
|
|
7251
7227
|
});
|
|
7252
7228
|
if (this.isNgModelBased) {
|
|
@@ -7261,13 +7237,13 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
7261
7237
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7262
7238
|
i0.ɵɵadvance();
|
|
7263
7239
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7264
|
-
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2$1.NgSelectOption, i2$1.ɵNgSelectMultipleOption, i2$1.SelectControlValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i4$
|
|
7240
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2$1.NgSelectOption, i2$1.ɵNgSelectMultipleOption, i2$1.SelectControlValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i4$1.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
7265
7241
|
}
|
|
7266
7242
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
|
|
7267
7243
|
type: Component,
|
|
7268
7244
|
args: [{ selector: 'anatoly-country-dropdownlist', standalone: false, template: "<div *ngIf='isNgModelBased'>\r\n</div>\r\n\r\n<div *ngIf='!isNgModelBased' [formGroup]='formGroup'>\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-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" }]
|
|
7269
7245
|
}], () => [{ type: AppContextService }], null); })();
|
|
7270
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CountryDropdownlist, { className: "CountryDropdownlist", filePath: "lib/ui/components/dropdownlists/country/country.dropdownlist.ts", lineNumber:
|
|
7246
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CountryDropdownlist, { className: "CountryDropdownlist", filePath: "lib/ui/components/dropdownlists/country/country.dropdownlist.ts", lineNumber: 29 }); })();
|
|
7271
7247
|
|
|
7272
7248
|
/*
|
|
7273
7249
|
<file>
|
|
@@ -7315,7 +7291,7 @@ class LanguageDropdownlist extends EditComponentBase {
|
|
|
7315
7291
|
ngOnInit() {
|
|
7316
7292
|
this.appContext.jsonFilesLoaded$.subscribe({
|
|
7317
7293
|
next: () => {
|
|
7318
|
-
this.items = this.appContext.languages
|
|
7294
|
+
this.items = Utils.sortArray(this.appContext.languages);
|
|
7319
7295
|
}
|
|
7320
7296
|
});
|
|
7321
7297
|
}
|
|
@@ -7326,13 +7302,13 @@ class LanguageDropdownlist extends EditComponentBase {
|
|
|
7326
7302
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7327
7303
|
i0.ɵɵadvance();
|
|
7328
7304
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7329
|
-
} }, dependencies: [i1$1.NgIf, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i3.DropDownListComponent, i4$
|
|
7305
|
+
} }, dependencies: [i1$1.NgIf, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
7330
7306
|
}
|
|
7331
7307
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageDropdownlist, [{
|
|
7332
7308
|
type: Component,
|
|
7333
7309
|
args: [{ selector: 'anatoly-language-dropdownlist', standalone: false, template: "<div *ngIf='isNgModelBased'>\r\n</div>\r\n\r\n<div *ngIf='!isNgModelBased' [formGroup]='formGroup'>\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]='items'\r\n valueField=\"code\"\r\n textField=\"name\"\r\n [valuePrimitive]='true'\r\n [formControlName]='controlName' />\r\n</div>\r\n" }]
|
|
7334
7310
|
}], () => [{ type: AppContextService }], null); })();
|
|
7335
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LanguageDropdownlist, { className: "LanguageDropdownlist", filePath: "lib/ui/components/dropdownlists/language/language.dropdownlist.ts", lineNumber:
|
|
7311
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LanguageDropdownlist, { className: "LanguageDropdownlist", filePath: "lib/ui/components/dropdownlists/language/language.dropdownlist.ts", lineNumber: 30 }); })();
|
|
7336
7312
|
|
|
7337
7313
|
/*
|
|
7338
7314
|
<file>
|
|
@@ -7574,7 +7550,7 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7574
7550
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7575
7551
|
i0.ɵɵadvance();
|
|
7576
7552
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7577
|
-
} }, dependencies: [i1$1.NgIf, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i2$1.NgModel, i3.DropDownListComponent, i4$
|
|
7553
|
+
} }, dependencies: [i1$1.NgIf, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i2$1.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7578
7554
|
}
|
|
7579
7555
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
|
|
7580
7556
|
type: Component,
|
|
@@ -7653,7 +7629,7 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7653
7629
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7654
7630
|
i0.ɵɵadvance();
|
|
7655
7631
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7656
|
-
} }, dependencies: [i1$1.NgIf, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i2$1.NgModel, i3.DropDownListComponent, i4$
|
|
7632
|
+
} }, dependencies: [i1$1.NgIf, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i2$1.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7657
7633
|
}
|
|
7658
7634
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
|
|
7659
7635
|
type: Component,
|
|
@@ -7724,7 +7700,7 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
7724
7700
|
setValues() {
|
|
7725
7701
|
this.appContext.jsonFilesLoaded$.subscribe({
|
|
7726
7702
|
next: () => {
|
|
7727
|
-
this.items = this.appContext.timezones
|
|
7703
|
+
this.items = Utils.sortArray(this.appContext.timezones);
|
|
7728
7704
|
}
|
|
7729
7705
|
});
|
|
7730
7706
|
if (this.isNgModelBased) {
|
|
@@ -7764,7 +7740,7 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
7764
7740
|
}], () => [{ type: AppContextService }], { disabled: [{
|
|
7765
7741
|
type: Input
|
|
7766
7742
|
}] }); })();
|
|
7767
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TimezoneDropdownlist, { className: "TimezoneDropdownlist", filePath: "lib/ui/components/dropdownlists/timezone/timezone.dropdownlist.ts", lineNumber:
|
|
7743
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TimezoneDropdownlist, { className: "TimezoneDropdownlist", filePath: "lib/ui/components/dropdownlists/timezone/timezone.dropdownlist.ts", lineNumber: 30 }); })();
|
|
7768
7744
|
|
|
7769
7745
|
/*
|
|
7770
7746
|
<file>
|
|
@@ -8037,7 +8013,7 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
8037
8013
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
8038
8014
|
i0.ɵɵadvance();
|
|
8039
8015
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
8040
|
-
} }, dependencies: [i1$1.NgIf, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i3$1.FroalaEditorDirective, i4$
|
|
8016
|
+
} }, dependencies: [i1$1.NgIf, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i3$1.FroalaEditorDirective, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
8041
8017
|
}
|
|
8042
8018
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
|
|
8043
8019
|
type: Component,
|
|
@@ -8074,7 +8050,7 @@ class CheckIconComponent {
|
|
|
8074
8050
|
i0.ɵɵprojection(1);
|
|
8075
8051
|
} if (rf & 2) {
|
|
8076
8052
|
i0.ɵɵproperty("icon", ctx.checked ? "check-circle" : "circle-xmark")("ngClass", ctx.checked ? "text-success" : "text-danger");
|
|
8077
|
-
} }, dependencies: [i1$1.NgClass, i1$
|
|
8053
|
+
} }, dependencies: [i1$1.NgClass, i1$8.FaIconComponent], encapsulation: 2 }); }
|
|
8078
8054
|
}
|
|
8079
8055
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckIconComponent, [{
|
|
8080
8056
|
type: Component,
|
|
@@ -8301,7 +8277,7 @@ class ControlPanelComponent extends ComponentBase {
|
|
|
8301
8277
|
i0.ɵɵconditional(ctx.viewTypesVisible ? 7 : -1);
|
|
8302
8278
|
i0.ɵɵadvance();
|
|
8303
8279
|
i0.ɵɵconditional(ctx.addButtonVisible ? 8 : -1);
|
|
8304
|
-
} }, dependencies: [i1$1.NgClass, i2$1.NgControlStatus, i2$1.NgModel, i1$
|
|
8280
|
+
} }, dependencies: [i1$1.NgClass, i2$1.NgControlStatus, i2$1.NgModel, i1$8.FaIconComponent, i3.DropDownListComponent, AReplacerDirective], encapsulation: 2 }); }
|
|
8305
8281
|
}
|
|
8306
8282
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlPanelComponent, [{
|
|
8307
8283
|
type: Component,
|
|
@@ -8393,7 +8369,7 @@ class DataPagerComponent extends ComponentBase {
|
|
|
8393
8369
|
i0.ɵɵadvance();
|
|
8394
8370
|
i0.ɵɵstyleMap(ctx.style);
|
|
8395
8371
|
i0.ɵɵproperty("total", ctx.totalItems)("pageSize", ctx.pageSize)("pageSizeValues", ctx.pageSizes)("skip", ctx.skipItems);
|
|
8396
|
-
} }, dependencies: [i1$
|
|
8372
|
+
} }, dependencies: [i1$9.PagerComponent], encapsulation: 2 }); }
|
|
8397
8373
|
}
|
|
8398
8374
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DataPagerComponent, [{
|
|
8399
8375
|
type: Component,
|
|
@@ -8758,7 +8734,7 @@ class NodataComponent {
|
|
|
8758
8734
|
i0.ɵɵtemplate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
|
|
8759
8735
|
} if (rf & 2) {
|
|
8760
8736
|
i0.ɵɵconditional(!ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
|
|
8761
|
-
} }, dependencies: [i1$1.NgIf, i1$
|
|
8737
|
+
} }, dependencies: [i1$1.NgIf, i1$8.FaIconComponent], encapsulation: 2 }); }
|
|
8762
8738
|
}
|
|
8763
8739
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
8764
8740
|
type: Component,
|
|
@@ -8993,7 +8969,7 @@ class Copy2ClipboardComponent extends ComponentBase {
|
|
|
8993
8969
|
i0.ɵɵelementEnd();
|
|
8994
8970
|
} if (rf & 2) {
|
|
8995
8971
|
i0.ɵɵclassMapInterpolate1("btn btn-icon ", ctx.classes, "");
|
|
8996
|
-
} }, dependencies: [i1$
|
|
8972
|
+
} }, dependencies: [i1$8.FaIconComponent, AReplacerDirective], encapsulation: 2 }); }
|
|
8997
8973
|
}
|
|
8998
8974
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Copy2ClipboardComponent, [{
|
|
8999
8975
|
type: Component,
|
|
@@ -9108,7 +9084,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
9108
9084
|
i0.ɵɵproperty("formControlName", ctx.controlName);
|
|
9109
9085
|
i0.ɵɵadvance();
|
|
9110
9086
|
i0.ɵɵproperty("ngIf", ctx.isGoButtonVisible);
|
|
9111
|
-
} }, dependencies: [i1$1.NgClass, i1$1.NgIf, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i4$
|
|
9087
|
+
} }, dependencies: [i1$1.NgClass, i1$1.NgIf, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i4$1.LabelDirective, AReplacerDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9112
9088
|
}
|
|
9113
9089
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
9114
9090
|
type: Component,
|
|
@@ -9450,7 +9426,7 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9450
9426
|
onTopicChange(event) {
|
|
9451
9427
|
this.selectedTopic = event.target.value;
|
|
9452
9428
|
}
|
|
9453
|
-
static { this.ɵfac = function ContactUsForm_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ContactUsForm)(i0.ɵɵdirectiveInject(i1$
|
|
9429
|
+
static { this.ɵfac = function ContactUsForm_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ContactUsForm)(i0.ɵɵdirectiveInject(i1$a.ReCaptchaV3Service), i0.ɵɵdirectiveInject(i2$1.FormBuilder), i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(EmailsApiService), i0.ɵɵdirectiveInject(NotificationService)); }; }
|
|
9454
9430
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsForm, selectors: [["anatoly-forms-contactus-form"]], inputs: { showActionButtons: "showActionButtons" }, outputs: { submit: "submit" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 39, vars: 31, consts: [["novalidate", "", 3, "ngSubmit", "formGroup"], [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) {
|
|
9455
9431
|
i0.ɵɵelementStart(0, "form", 0);
|
|
9456
9432
|
i0.ɵɵlistener("ngSubmit", function ContactUsForm_Template_form_ngSubmit_0_listener() { return ctx.onSubmit(); });
|
|
@@ -9527,7 +9503,7 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9527
9503
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
|
|
9528
9504
|
type: Component,
|
|
9529
9505
|
args: [{ selector: 'anatoly-forms-contactus-form', standalone: false, 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" }]
|
|
9530
|
-
}], () => [{ type: i1$
|
|
9506
|
+
}], () => [{ type: i1$a.ReCaptchaV3Service }, { type: i2$1.FormBuilder }, { type: AppContextService }, { type: EmailsApiService }, { type: NotificationService }], { showActionButtons: [{
|
|
9531
9507
|
type: Input
|
|
9532
9508
|
}], submit: [{
|
|
9533
9509
|
type: Output
|
|
@@ -9594,7 +9570,7 @@ class ContactUsDialog extends DialogBase {
|
|
|
9594
9570
|
i0.ɵɵtemplate(0, ContactUsDialog_kendo_dialog_0_Template, 10, 2, "kendo-dialog", 1);
|
|
9595
9571
|
} if (rf & 2) {
|
|
9596
9572
|
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
9597
|
-
} }, dependencies: [i1$1.NgIf, i4
|
|
9573
|
+
} }, dependencies: [i1$1.NgIf, i4.DialogComponent, i4.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
|
|
9598
9574
|
}
|
|
9599
9575
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
|
|
9600
9576
|
type: Component,
|
|
@@ -9773,8 +9749,8 @@ class AddressComponent extends EditComponentBase {
|
|
|
9773
9749
|
ngOnInit() {
|
|
9774
9750
|
this.appContext.jsonFilesLoaded$.subscribe({
|
|
9775
9751
|
next: () => {
|
|
9776
|
-
this.countryData = this.appContext.countries
|
|
9777
|
-
this.usStateData = this.appContext.usStates
|
|
9752
|
+
this.countryData = Utils.sortArray(this.appContext.countries);
|
|
9753
|
+
this.usStateData = Utils.sortArray(this.appContext.usStates);
|
|
9778
9754
|
}
|
|
9779
9755
|
});
|
|
9780
9756
|
this.createFormGroup();
|
|
@@ -9905,7 +9881,7 @@ class AddressComponent extends EditComponentBase {
|
|
|
9905
9881
|
}], change: [{
|
|
9906
9882
|
type: Output
|
|
9907
9883
|
}] }); })();
|
|
9908
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AddressComponent, { className: "AddressComponent", filePath: "lib/ui/forms/components/address/address.component.ts", lineNumber:
|
|
9884
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AddressComponent, { className: "AddressComponent", filePath: "lib/ui/forms/components/address/address.component.ts", lineNumber: 37 }); })();
|
|
9909
9885
|
|
|
9910
9886
|
/*
|
|
9911
9887
|
<file>
|
|
@@ -10150,7 +10126,7 @@ class SafeHtmlPipe {
|
|
|
10150
10126
|
transform(value) {
|
|
10151
10127
|
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
10152
10128
|
}
|
|
10153
|
-
static { this.ɵfac = function SafeHtmlPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SafeHtmlPipe)(i0.ɵɵdirectiveInject(i1$
|
|
10129
|
+
static { this.ɵfac = function SafeHtmlPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SafeHtmlPipe)(i0.ɵɵdirectiveInject(i1$7.DomSanitizer, 16)); }; }
|
|
10154
10130
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "safeHtml", type: SafeHtmlPipe, pure: true, standalone: false }); }
|
|
10155
10131
|
}
|
|
10156
10132
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SafeHtmlPipe, [{
|
|
@@ -10159,7 +10135,7 @@ class SafeHtmlPipe {
|
|
|
10159
10135
|
name: 'safeHtml',
|
|
10160
10136
|
standalone: false
|
|
10161
10137
|
}]
|
|
10162
|
-
}], () => [{ type: i1$
|
|
10138
|
+
}], () => [{ type: i1$7.DomSanitizer }], null); })();
|
|
10163
10139
|
|
|
10164
10140
|
/*
|
|
10165
10141
|
<file>
|
|
@@ -10292,7 +10268,7 @@ class AnatolyCoreModule {
|
|
|
10292
10268
|
}]
|
|
10293
10269
|
}], () => [{ type: i0.Injector }], null); })();
|
|
10294
10270
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyCoreModule, { imports: [CommonModule,
|
|
10295
|
-
RouterModule, i1$
|
|
10271
|
+
RouterModule, i1$5.ToastrModule, LocalizationSettingsModule,
|
|
10296
10272
|
LocalizationModule], exports: [RouterModule,
|
|
10297
10273
|
LocalizationSettingsModule,
|
|
10298
10274
|
LocalizationModule] }); })();
|
|
@@ -10472,30 +10448,27 @@ function loggerCallback(logLevel, message, containsPii) {
|
|
|
10472
10448
|
</file>
|
|
10473
10449
|
*/
|
|
10474
10450
|
//Node
|
|
10451
|
+
function initializeMsalFactory(msalInstance, auth) {
|
|
10452
|
+
return () => msalInstance.initialize().then(() => auth.init());
|
|
10453
|
+
}
|
|
10475
10454
|
const MSALProviders = [
|
|
10455
|
+
MsalService,
|
|
10456
|
+
MsalBroadcastService,
|
|
10457
|
+
//App
|
|
10458
|
+
AuthService,
|
|
10459
|
+
AuthenticationGuard,
|
|
10460
|
+
AdminGuard,
|
|
10476
10461
|
{
|
|
10477
10462
|
provide: HTTP_INTERCEPTORS,
|
|
10478
10463
|
useClass: MsalInterceptor,
|
|
10479
10464
|
multi: true
|
|
10480
10465
|
},
|
|
10481
10466
|
{
|
|
10482
|
-
provide:
|
|
10483
|
-
useFactory:
|
|
10484
|
-
|
|
10485
|
-
|
|
10486
|
-
|
|
10487
|
-
useFactory: MSALGuardConfigFactory
|
|
10488
|
-
},
|
|
10489
|
-
{
|
|
10490
|
-
provide: MSAL_INSTANCE,
|
|
10491
|
-
useFactory: MSALInstanceFactory
|
|
10492
|
-
},
|
|
10493
|
-
MsalService,
|
|
10494
|
-
MsalBroadcastService,
|
|
10495
|
-
//App
|
|
10496
|
-
AuthService,
|
|
10497
|
-
AuthenticationGuard,
|
|
10498
|
-
AdminGuard
|
|
10467
|
+
provide: APP_INITIALIZER,
|
|
10468
|
+
useFactory: initializeMsalFactory,
|
|
10469
|
+
deps: [MSAL_INSTANCE, AuthService],
|
|
10470
|
+
multi: true
|
|
10471
|
+
}
|
|
10499
10472
|
];
|
|
10500
10473
|
class AnatolyIAMModule {
|
|
10501
10474
|
static { this.ɵfac = function AnatolyIAMModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AnatolyIAMModule)(); }; }
|
|
@@ -10505,7 +10478,7 @@ class AnatolyIAMModule {
|
|
|
10505
10478
|
], imports: [CommonModule,
|
|
10506
10479
|
RouterModule,
|
|
10507
10480
|
HttpClientModule,
|
|
10508
|
-
MsalModule] }); }
|
|
10481
|
+
MsalModule.forRoot(MSALInstanceFactory(), MSALGuardConfigFactory(), MSALInterceptorConfigFactory())] }); }
|
|
10509
10482
|
}
|
|
10510
10483
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnatolyIAMModule, [{
|
|
10511
10484
|
type: NgModule,
|
|
@@ -10514,7 +10487,7 @@ class AnatolyIAMModule {
|
|
|
10514
10487
|
CommonModule,
|
|
10515
10488
|
RouterModule,
|
|
10516
10489
|
HttpClientModule,
|
|
10517
|
-
MsalModule
|
|
10490
|
+
MsalModule.forRoot(MSALInstanceFactory(), MSALGuardConfigFactory(), MSALInterceptorConfigFactory())
|
|
10518
10491
|
],
|
|
10519
10492
|
exports: [],
|
|
10520
10493
|
providers: [
|
|
@@ -10524,8 +10497,7 @@ class AnatolyIAMModule {
|
|
|
10524
10497
|
}], null, null); })();
|
|
10525
10498
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyIAMModule, { imports: [CommonModule,
|
|
10526
10499
|
RouterModule,
|
|
10527
|
-
HttpClientModule,
|
|
10528
|
-
MsalModule] }); })();
|
|
10500
|
+
HttpClientModule, i1$3.MsalModule] }); })();
|
|
10529
10501
|
|
|
10530
10502
|
/*
|
|
10531
10503
|
<file>
|
|
@@ -10737,7 +10709,7 @@ class FaModule {
|
|
|
10737
10709
|
constructor(library) {
|
|
10738
10710
|
library.addIcons(faCheckCircle, faCircleXmark, faDatabase, faCopy);
|
|
10739
10711
|
}
|
|
10740
|
-
static { this.ɵfac = function FaModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FaModule)(i0.ɵɵinject(i1$
|
|
10712
|
+
static { this.ɵfac = function FaModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FaModule)(i0.ɵɵinject(i1$8.FaIconLibrary)); }; }
|
|
10741
10713
|
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FaModule }); }
|
|
10742
10714
|
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
10743
10715
|
FontAwesomeModule, FontAwesomeModule] }); }
|
|
@@ -10753,7 +10725,7 @@ class FaModule {
|
|
|
10753
10725
|
FontAwesomeModule
|
|
10754
10726
|
]
|
|
10755
10727
|
}]
|
|
10756
|
-
}], () => [{ type: i1$
|
|
10728
|
+
}], () => [{ type: i1$8.FaIconLibrary }], null); })();
|
|
10757
10729
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FaModule, { imports: [CommonModule,
|
|
10758
10730
|
FontAwesomeModule], exports: [FontAwesomeModule] }); })();
|
|
10759
10731
|
|
|
@@ -11281,5 +11253,5 @@ class AnatolyModule {
|
|
|
11281
11253
|
* Generated bundle index. Do not edit.
|
|
11282
11254
|
*/
|
|
11283
11255
|
|
|
11284
|
-
export { AReplacerDirective, AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AppsGoServiceBase, AuthService, AuthenticationGuard, BillingService, BillingUtils, BraintreeDialog, BrowserService, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, ControlPanelComponent, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FeatureWillBeReadyComponent, FileSizePipe, FormValidationSummaryComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoServiceBase, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, ImageReplacerDirective, InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10nUtils, LanguageDropdownlist, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, MSALUtils, ModerationStatus, ModerationStatusDropdownlist, NativeElementDirective, NoMobileSupportComponent, NodataComponent, NotificationService, OrderSummaryComponent, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentMethodsComponent, PaymentOptionsComponent, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, PaypalSubscribeButtonComponent, PromoCodesApiService, PublishStatus, PublishStatusDropdownlist, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, SubscriptionProvider, SubscriptionsApiService, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, YouAgreeToOurTermsComponent, dateFormats, dateTimeFormats, formatUrl, getAppSettingsById, getAppSettingsByName, getCurrentApp, getLocalizationInjector, is, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
|
|
11256
|
+
export { AReplacerDirective, AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AppsGoServiceBase, AuthService, AuthenticationGuard, BillingService, BillingUtils, BraintreeDialog, BrowserService, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, ControlPanelComponent, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FeatureWillBeReadyComponent, FileSizePipe, FormValidationSummaryComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoServiceBase, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, ImageReplacerDirective, InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10nUtils, LanguageDropdownlist, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, MSALUtils, ModerationStatus, ModerationStatusDropdownlist, NativeElementDirective, NoMobileSupportComponent, NodataComponent, NotificationService, OrderSummaryComponent, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentMethodsComponent, PaymentOptionsComponent, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, PaypalSubscribeButtonComponent, PromoCodesApiService, PublishStatus, PublishStatusDropdownlist, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, SubscriptionProvider, SubscriptionsApiService, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, YouAgreeToOurTermsComponent, dateFormats, dateTimeFormats, formatUrl, getAppSettingsById, getAppSettingsByName, getCurrentApp, getLocalizationInjector, initializeMsalFactory, is, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
|
|
11285
11257
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|