@osovitny/anatoly 3.19.18 → 3.19.20
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.
|
@@ -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
|
|
2
|
+
import { Injectable, EventEmitter, Component, Output, Input, Inject, Pipe, provideAppInitializer, inject, NgModule, Directive, ChangeDetectionStrategy, ViewChild, ViewEncapsulation, HostListener, HostBinding } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject, Subject, filter, takeUntil, map as map$1, catchError, of, merge, forkJoin, timer, fromEvent, firstValueFrom } from 'rxjs';
|
|
4
4
|
import { map, tap, mergeMap } from 'rxjs/operators';
|
|
5
5
|
import * as i1 from '@angular/common/http';
|
|
@@ -21,11 +21,14 @@ import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
|
21
21
|
import Swal from 'sweetalert2';
|
|
22
22
|
import * as i1$4 from 'ngx-toastr';
|
|
23
23
|
import { ToastrModule } from 'ngx-toastr';
|
|
24
|
-
import * as
|
|
25
|
-
import
|
|
24
|
+
import * as i2 from '@angular/cdk/layout';
|
|
25
|
+
import { Breakpoints } from '@angular/cdk/layout';
|
|
26
|
+
import * as i1$5 from '@angular/cdk/platform';
|
|
27
|
+
import * as i1$6 from '@angular/platform-browser';
|
|
28
|
+
import * as i2$1 from '@angular/forms';
|
|
26
29
|
import { FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
27
30
|
import * as dropin from 'braintree-web-drop-in';
|
|
28
|
-
import * as i2$
|
|
31
|
+
import * as i2$2 from '@progress/kendo-angular-dialog';
|
|
29
32
|
import { DialogsModule } from '@progress/kendo-angular-dialog';
|
|
30
33
|
import { loadStripe } from '@stripe/stripe-js';
|
|
31
34
|
import * as i4$1 from '@progress/kendo-angular-label';
|
|
@@ -34,11 +37,11 @@ import * as i3 from '@progress/kendo-angular-dropdowns';
|
|
|
34
37
|
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
35
38
|
import * as i3$1 from 'angular-froala-wysiwyg';
|
|
36
39
|
import { FERootModule } from 'angular-froala-wysiwyg';
|
|
37
|
-
import * as i1$
|
|
40
|
+
import * as i1$7 from '@fortawesome/angular-fontawesome';
|
|
38
41
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
39
|
-
import * as i1$
|
|
42
|
+
import * as i1$8 from '@progress/kendo-angular-pager';
|
|
40
43
|
import { PagerModule } from '@progress/kendo-angular-pager';
|
|
41
|
-
import * as i1$
|
|
44
|
+
import * as i1$9 from 'ngx-captcha';
|
|
42
45
|
import { NgxCaptchaModule } from 'ngx-captcha';
|
|
43
46
|
import { faCheckCircle, faCircleXmark, faDatabase, faCopy } from '@fortawesome/free-solid-svg-icons';
|
|
44
47
|
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
@@ -3437,6 +3440,102 @@ class NotificationService {
|
|
|
3437
3440
|
args: [{ providedIn: 'root' }]
|
|
3438
3441
|
}], () => [{ type: i1$4.ToastrService }], null); })();
|
|
3439
3442
|
|
|
3443
|
+
class BrowserService {
|
|
3444
|
+
constructor(platform, breakpointObserver) {
|
|
3445
|
+
this.platform = platform;
|
|
3446
|
+
this.breakpointObserver = breakpointObserver;
|
|
3447
|
+
// Breakpoint status flags
|
|
3448
|
+
this.isMobileScreen = false;
|
|
3449
|
+
this.isTabletScreen = false;
|
|
3450
|
+
this.isDesktopScreen = false;
|
|
3451
|
+
// Reactive update stream
|
|
3452
|
+
this._updated = new BehaviorSubject(null);
|
|
3453
|
+
this.updated$ = this._updated.asObservable();
|
|
3454
|
+
// Cached lowercase UserAgent string
|
|
3455
|
+
this.userAgent = navigator.userAgent.toLowerCase();
|
|
3456
|
+
this.init();
|
|
3457
|
+
}
|
|
3458
|
+
init() {
|
|
3459
|
+
// Listen to Angular CDK breakpoints for screen size changes
|
|
3460
|
+
this.breakpointObserver
|
|
3461
|
+
.observe([Breakpoints.Handset, Breakpoints.Tablet, Breakpoints.Web])
|
|
3462
|
+
.subscribe(result => {
|
|
3463
|
+
const breakpoints = result.breakpoints;
|
|
3464
|
+
this.isMobileScreen = breakpoints[Breakpoints.Handset] || false;
|
|
3465
|
+
this.isTabletScreen = breakpoints[Breakpoints.Tablet] || false;
|
|
3466
|
+
this.isDesktopScreen = breakpoints[Breakpoints.Web] || false;
|
|
3467
|
+
this.fireUpdated();
|
|
3468
|
+
});
|
|
3469
|
+
}
|
|
3470
|
+
fireUpdated() {
|
|
3471
|
+
this._updated.next(null);
|
|
3472
|
+
}
|
|
3473
|
+
// Checks if the app is running inside an iframe
|
|
3474
|
+
isIframe() {
|
|
3475
|
+
return window !== window.parent && !window.opener;
|
|
3476
|
+
}
|
|
3477
|
+
isIE() {
|
|
3478
|
+
return this.platform.TRIDENT;
|
|
3479
|
+
}
|
|
3480
|
+
isMobile() {
|
|
3481
|
+
if (!this.platform?.isBrowser)
|
|
3482
|
+
return false;
|
|
3483
|
+
const mobileRegex = new RegExp("(android.+mobile)|" + // Android phones
|
|
3484
|
+
"iphone|ipod|" + // Apple phones
|
|
3485
|
+
"blackberry|" + // Modern BlackBerry
|
|
3486
|
+
"mobile safari|" + // Safari in mobile mode
|
|
3487
|
+
"sm-[a-z0-9]+|" + // Samsung Galaxy phones (SM-G series)
|
|
3488
|
+
"pixel [0-9a-z]+|" + // Google Pixel phones
|
|
3489
|
+
"redmi|mi [0-9a-z]+|poco|" + // Xiaomi/Redmi/Poco
|
|
3490
|
+
"oneplus|oppo|vivo|realme|" + // Other Android phones
|
|
3491
|
+
"huawei|honor|" + // Huawei/Honor
|
|
3492
|
+
"motorola|moto|" + // Motorola
|
|
3493
|
+
"nokia|infinix|tecno", // Other brands
|
|
3494
|
+
"i");
|
|
3495
|
+
return mobileRegex.test(this.userAgent) && this.isMobileScreen;
|
|
3496
|
+
}
|
|
3497
|
+
isTablet() {
|
|
3498
|
+
if (!this.platform?.isBrowser)
|
|
3499
|
+
return false;
|
|
3500
|
+
const tabletRegex = new RegExp("ipad|" + // Apple iPads
|
|
3501
|
+
"android(?!.*mobile)|" + // Android tablets (exclude phones)
|
|
3502
|
+
"tablet|kindle|playbook|silk|" +
|
|
3503
|
+
"nexus 7|nexus 10|" + // Google Nexus tablets
|
|
3504
|
+
"fire|kf[a-z0-9]+|" + // Amazon Fire tablets
|
|
3505
|
+
"sm-t|sm-x|gt-p|sch-i|xoom|tf101|" + // Samsung Galaxy Tab tablets
|
|
3506
|
+
"tab(?!let)|" + // Match "tab" but not "tablet"
|
|
3507
|
+
"tangor|tangorpro|" + // Google Pixel Tablet
|
|
3508
|
+
"pad\\s?[0-9]*|23043rp34g|" + // Xiaomi Pad
|
|
3509
|
+
"tb[0-9a-z\\-]+|" + // Lenovo Tab
|
|
3510
|
+
"mrx-al09|" + // Huawei MatePad Pro
|
|
3511
|
+
"x926b", // Galaxy Tab S10 Ultra
|
|
3512
|
+
"i");
|
|
3513
|
+
return tabletRegex.test(this.userAgent) && this.isTabletScreen;
|
|
3514
|
+
}
|
|
3515
|
+
isMobileOrTablet() {
|
|
3516
|
+
return this.isMobile() || this.isTablet();
|
|
3517
|
+
}
|
|
3518
|
+
isDesktopMacOS() {
|
|
3519
|
+
// Check macOS desktop user agent (Macintosh or Mac OS X)
|
|
3520
|
+
const isMac = /macintosh|mac os x/i.test(this.userAgent);
|
|
3521
|
+
// Exclude iPhone and iPad (iOS devices)
|
|
3522
|
+
const isIPhone = /iphone/i.test(this.userAgent);
|
|
3523
|
+
const isIPad = /ipad/i.test(this.userAgent);
|
|
3524
|
+
return isMac && !isIPhone && !isIPad;
|
|
3525
|
+
}
|
|
3526
|
+
isDesktop() {
|
|
3527
|
+
return this.isDesktopMacOS() || (!this.isMobileOrTablet() && this.isDesktopScreen);
|
|
3528
|
+
}
|
|
3529
|
+
static { this.ɵfac = function BrowserService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BrowserService)(i0.ɵɵinject(i1$5.Platform), i0.ɵɵinject(i2.BreakpointObserver)); }; }
|
|
3530
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BrowserService, factory: BrowserService.ɵfac, providedIn: 'root' }); }
|
|
3531
|
+
}
|
|
3532
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BrowserService, [{
|
|
3533
|
+
type: Injectable,
|
|
3534
|
+
args: [{
|
|
3535
|
+
providedIn: 'root'
|
|
3536
|
+
}]
|
|
3537
|
+
}], () => [{ type: i1$5.Platform }, { type: i2.BreakpointObserver }], null); })();
|
|
3538
|
+
|
|
3440
3539
|
/*
|
|
3441
3540
|
<file>
|
|
3442
3541
|
Project:
|
|
@@ -3489,7 +3588,7 @@ class DigitalMarketingService {
|
|
|
3489
3588
|
link.setAttribute('rel', 'canonical');
|
|
3490
3589
|
link.setAttribute('href', canUrl);
|
|
3491
3590
|
}
|
|
3492
|
-
static { this.ɵfac = function DigitalMarketingService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DigitalMarketingService)(i0.ɵɵinject(i1$
|
|
3591
|
+
static { this.ɵfac = function DigitalMarketingService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DigitalMarketingService)(i0.ɵɵinject(i1$6.Title), i0.ɵɵinject(i1$6.Meta), i0.ɵɵinject(DOCUMENT)); }; }
|
|
3493
3592
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DigitalMarketingService, factory: DigitalMarketingService.ɵfac, providedIn: 'root' }); }
|
|
3494
3593
|
}
|
|
3495
3594
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DigitalMarketingService, [{
|
|
@@ -3497,7 +3596,7 @@ class DigitalMarketingService {
|
|
|
3497
3596
|
args: [{
|
|
3498
3597
|
providedIn: 'root'
|
|
3499
3598
|
}]
|
|
3500
|
-
}], () => [{ type: i1$
|
|
3599
|
+
}], () => [{ type: i1$6.Title }, { type: i1$6.Meta }, { type: undefined, decorators: [{
|
|
3501
3600
|
type: Inject,
|
|
3502
3601
|
args: [DOCUMENT]
|
|
3503
3602
|
}] }], null); })();
|
|
@@ -3721,89 +3820,6 @@ class ScriptService {
|
|
|
3721
3820
|
type: Injectable
|
|
3722
3821
|
}], () => [{ type: i0.NgZone }], null); })();
|
|
3723
3822
|
|
|
3724
|
-
/*
|
|
3725
|
-
<file>
|
|
3726
|
-
Project:
|
|
3727
|
-
@osovitny/anatoly
|
|
3728
|
-
|
|
3729
|
-
Authors:
|
|
3730
|
-
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
3731
|
-
|
|
3732
|
-
Created:
|
|
3733
|
-
2 May 2023
|
|
3734
|
-
|
|
3735
|
-
Details
|
|
3736
|
-
https://getbootstrap.com/docs/5.3/layout/breakpoints
|
|
3737
|
-
|
|
3738
|
-
$grid-breakpoints: (
|
|
3739
|
-
xs: 0,
|
|
3740
|
-
|
|
3741
|
-
// Small devices (landscape phones, 576px and up)
|
|
3742
|
-
sm: 576px,
|
|
3743
|
-
|
|
3744
|
-
// Medium devices (tablets, 768px and up)
|
|
3745
|
-
md: 768px,
|
|
3746
|
-
|
|
3747
|
-
// Large devices (desktops, 992px and up)
|
|
3748
|
-
lg: 992px,
|
|
3749
|
-
|
|
3750
|
-
// X-Large devices (large desktops, 1200px and up)
|
|
3751
|
-
xl: 1200px,
|
|
3752
|
-
xxl: 1400px
|
|
3753
|
-
);
|
|
3754
|
-
|
|
3755
|
-
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
3756
|
-
</file>
|
|
3757
|
-
*/
|
|
3758
|
-
class Browser {
|
|
3759
|
-
static isIE() {
|
|
3760
|
-
return window.navigator.userAgent.indexOf("MSIE ") > -1 || window.navigator.userAgent.indexOf("Trident/") > -1;
|
|
3761
|
-
}
|
|
3762
|
-
static isIframe() {
|
|
3763
|
-
return window !== window.parent && !window.opener;
|
|
3764
|
-
}
|
|
3765
|
-
static isMobile() {
|
|
3766
|
-
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
|
|
3767
|
-
// Touch capability detection
|
|
3768
|
-
const hasTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0;
|
|
3769
|
-
// Basic screen width check
|
|
3770
|
-
const isMobileScreen = window.innerWidth < 768;
|
|
3771
|
-
// Mobile detection regex
|
|
3772
|
-
const mobileRegex = new RegExp("(android|bb\\d+|meego).+mobile|" +
|
|
3773
|
-
"avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|" +
|
|
3774
|
-
"iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|" +
|
|
3775
|
-
"mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|" +
|
|
3776
|
-
"p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|" +
|
|
3777
|
-
"up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino|" +
|
|
3778
|
-
"nokia|samsung|htc|motorola|sonyericsson|iemobile", "i");
|
|
3779
|
-
const isMobileUserAgent = mobileRegex.test(userAgent);
|
|
3780
|
-
// Combine checks
|
|
3781
|
-
return (hasTouch && isMobileScreen) || isMobileUserAgent;
|
|
3782
|
-
}
|
|
3783
|
-
static isTablet() {
|
|
3784
|
-
const userAgent = navigator.userAgent || navigator.vendor;
|
|
3785
|
-
const tabletRegex = new RegExp("ipad|" +
|
|
3786
|
-
"android(?!.*mobile)|" +
|
|
3787
|
-
"tablet|kindle|playbook|silk|" +
|
|
3788
|
-
"nexus 7|nexus 10|" +
|
|
3789
|
-
"fire|sm-t|tab|gt-p|sch-i|xoom|tf101|" +
|
|
3790
|
-
"kftt|kfot|kfjw|kfsowi|a500|rim\\w", "i");
|
|
3791
|
-
const isTabletUserAgent = tabletRegex.test(userAgent);
|
|
3792
|
-
const isTabletScreen = window.innerWidth >= 768 && window.innerWidth < 992;
|
|
3793
|
-
return isTabletUserAgent || isTabletScreen;
|
|
3794
|
-
}
|
|
3795
|
-
static isDesktopMacOS() {
|
|
3796
|
-
const userAgent = navigator.userAgent || navigator.vendor;
|
|
3797
|
-
const isMac = /macintosh|mac os x/i.test(userAgent);
|
|
3798
|
-
const isIPad = /ipad/i.test(userAgent);
|
|
3799
|
-
// iPads may spoof macOS user agent, so exclude them
|
|
3800
|
-
return isMac && !isIPad;
|
|
3801
|
-
}
|
|
3802
|
-
static isMobileOrTablet() {
|
|
3803
|
-
return this.isMobile() || this.isTablet();
|
|
3804
|
-
}
|
|
3805
|
-
}
|
|
3806
|
-
|
|
3807
3823
|
/*
|
|
3808
3824
|
<file>
|
|
3809
3825
|
Project:
|
|
@@ -4592,7 +4608,7 @@ class OrderSummaryComponent extends ComponentBase {
|
|
|
4592
4608
|
i0.ɵɵtextInterpolate(ctx.discount);
|
|
4593
4609
|
i0.ɵɵadvance(6);
|
|
4594
4610
|
i0.ɵɵtextInterpolate1("$", ctx.toTotal(), "");
|
|
4595
|
-
} }, dependencies: [i1$1.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgModel], encapsulation: 2 }); }
|
|
4611
|
+
} }, dependencies: [i1$1.NgClass, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgModel], encapsulation: 2 }); }
|
|
4596
4612
|
}
|
|
4597
4613
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrderSummaryComponent, [{
|
|
4598
4614
|
type: Component,
|
|
@@ -5207,7 +5223,7 @@ class BraintreeDialog extends DialogBase {
|
|
|
5207
5223
|
i0.ɵɵtemplate(0, BraintreeDialog_Conditional_0_Template, 11, 3, "div", 0);
|
|
5208
5224
|
} if (rf & 2) {
|
|
5209
5225
|
i0.ɵɵconditional(ctx.visible ? 0 : -1);
|
|
5210
|
-
} }, dependencies: [i2$
|
|
5226
|
+
} }, dependencies: [i2$2.DialogComponent, i2$2.DialogTitleBarComponent, i2$2.DialogActionsComponent], encapsulation: 2 }); }
|
|
5211
5227
|
}
|
|
5212
5228
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BraintreeDialog, [{
|
|
5213
5229
|
type: Component,
|
|
@@ -6069,7 +6085,7 @@ class StripeDialog extends DialogBase {
|
|
|
6069
6085
|
i0.ɵɵtemplate(0, StripeDialog_Conditional_0_Template, 6, 3, "div", 0);
|
|
6070
6086
|
} if (rf & 2) {
|
|
6071
6087
|
i0.ɵɵconditional(ctx.visible ? 0 : -1);
|
|
6072
|
-
} }, dependencies: [i2$
|
|
6088
|
+
} }, dependencies: [i2$2.DialogComponent, i2$2.DialogTitleBarComponent], encapsulation: 2 }); }
|
|
6073
6089
|
}
|
|
6074
6090
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StripeDialog, [{
|
|
6075
6091
|
type: Component,
|
|
@@ -7009,7 +7025,7 @@ class NativeElementDirective {
|
|
|
7009
7025
|
// sets the localization key to the control
|
|
7010
7026
|
this.control.control.nativeElement = this.el.nativeElement;
|
|
7011
7027
|
}
|
|
7012
|
-
static { this.ɵfac = function NativeElementDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NativeElementDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i2.NgControl)); }; }
|
|
7028
|
+
static { this.ɵfac = function NativeElementDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NativeElementDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i2$1.NgControl)); }; }
|
|
7013
7029
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: NativeElementDirective, selectors: [["", "formControl", ""], ["", "formControlName", ""]], standalone: false }); }
|
|
7014
7030
|
}
|
|
7015
7031
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeElementDirective, [{
|
|
@@ -7018,7 +7034,7 @@ class NativeElementDirective {
|
|
|
7018
7034
|
selector: '[formControl], [formControlName]',
|
|
7019
7035
|
standalone: false
|
|
7020
7036
|
}]
|
|
7021
|
-
}], () => [{ type: i0.ElementRef }, { type: i2.NgControl }], null); })();
|
|
7037
|
+
}], () => [{ type: i0.ElementRef }, { type: i2$1.NgControl }], null); })();
|
|
7022
7038
|
|
|
7023
7039
|
/*
|
|
7024
7040
|
<file>
|
|
@@ -7097,7 +7113,7 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
7097
7113
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7098
7114
|
i0.ɵɵadvance();
|
|
7099
7115
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7100
|
-
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$1.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
7116
|
+
} }, 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 }); }
|
|
7101
7117
|
}
|
|
7102
7118
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
|
|
7103
7119
|
type: Component,
|
|
@@ -7345,7 +7361,7 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7345
7361
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7346
7362
|
i0.ɵɵadvance();
|
|
7347
7363
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7348
|
-
} }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7364
|
+
} }, 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 }); }
|
|
7349
7365
|
}
|
|
7350
7366
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
|
|
7351
7367
|
type: Component,
|
|
@@ -7424,7 +7440,7 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7424
7440
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7425
7441
|
i0.ɵɵadvance();
|
|
7426
7442
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7427
|
-
} }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7443
|
+
} }, 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 }); }
|
|
7428
7444
|
}
|
|
7429
7445
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
|
|
7430
7446
|
type: Component,
|
|
@@ -7528,7 +7544,7 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
7528
7544
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7529
7545
|
i0.ɵɵadvance();
|
|
7530
7546
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7531
|
-
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 }); }
|
|
7547
|
+
} }, 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, NativeElementDirective], encapsulation: 2 }); }
|
|
7532
7548
|
}
|
|
7533
7549
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
|
|
7534
7550
|
type: Component,
|
|
@@ -7809,7 +7825,7 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
7809
7825
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7810
7826
|
i0.ɵɵadvance();
|
|
7811
7827
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7812
|
-
} }, dependencies: [i1$1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3$1.FroalaEditorDirective, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7828
|
+
} }, 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 }); }
|
|
7813
7829
|
}
|
|
7814
7830
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
|
|
7815
7831
|
type: Component,
|
|
@@ -7846,7 +7862,7 @@ class CheckIconComponent {
|
|
|
7846
7862
|
i0.ɵɵprojection(1);
|
|
7847
7863
|
} if (rf & 2) {
|
|
7848
7864
|
i0.ɵɵproperty("icon", ctx.checked ? "check-circle" : "circle-xmark")("ngClass", ctx.checked ? "text-success" : "text-danger");
|
|
7849
|
-
} }, dependencies: [i1$1.NgClass, i1$
|
|
7865
|
+
} }, dependencies: [i1$1.NgClass, i1$7.FaIconComponent], encapsulation: 2 }); }
|
|
7850
7866
|
}
|
|
7851
7867
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckIconComponent, [{
|
|
7852
7868
|
type: Component,
|
|
@@ -8073,7 +8089,7 @@ class ControlPanelComponent extends ComponentBase {
|
|
|
8073
8089
|
i0.ɵɵconditional(ctx.viewTypesVisible ? 7 : -1);
|
|
8074
8090
|
i0.ɵɵadvance();
|
|
8075
8091
|
i0.ɵɵconditional(ctx.addButtonVisible ? 8 : -1);
|
|
8076
|
-
} }, dependencies: [i1$1.NgClass, i2.NgControlStatus, i2.NgModel, i1$
|
|
8092
|
+
} }, dependencies: [i1$1.NgClass, i2$1.NgControlStatus, i2$1.NgModel, i1$7.FaIconComponent, i3.DropDownListComponent, AReplacerDirective], encapsulation: 2 }); }
|
|
8077
8093
|
}
|
|
8078
8094
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlPanelComponent, [{
|
|
8079
8095
|
type: Component,
|
|
@@ -8165,7 +8181,7 @@ class DataPagerComponent extends ComponentBase {
|
|
|
8165
8181
|
i0.ɵɵadvance();
|
|
8166
8182
|
i0.ɵɵstyleMap(ctx.style);
|
|
8167
8183
|
i0.ɵɵproperty("total", ctx.totalItems)("pageSize", ctx.pageSize)("pageSizeValues", ctx.pageSizes)("skip", ctx.skipItems);
|
|
8168
|
-
} }, dependencies: [i1$
|
|
8184
|
+
} }, dependencies: [i1$8.PagerComponent], encapsulation: 2 }); }
|
|
8169
8185
|
}
|
|
8170
8186
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DataPagerComponent, [{
|
|
8171
8187
|
type: Component,
|
|
@@ -8530,7 +8546,7 @@ class NodataComponent {
|
|
|
8530
8546
|
i0.ɵɵtemplate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
|
|
8531
8547
|
} if (rf & 2) {
|
|
8532
8548
|
i0.ɵɵconditional(!ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
|
|
8533
|
-
} }, dependencies: [i1$1.NgIf, i1$
|
|
8549
|
+
} }, dependencies: [i1$1.NgIf, i1$7.FaIconComponent], encapsulation: 2 }); }
|
|
8534
8550
|
}
|
|
8535
8551
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
8536
8552
|
type: Component,
|
|
@@ -8765,7 +8781,7 @@ class Copy2ClipboardComponent extends ComponentBase {
|
|
|
8765
8781
|
i0.ɵɵelementEnd();
|
|
8766
8782
|
} if (rf & 2) {
|
|
8767
8783
|
i0.ɵɵclassMapInterpolate1("btn btn-icon ", ctx.classes, "");
|
|
8768
|
-
} }, dependencies: [i1$
|
|
8784
|
+
} }, dependencies: [i1$7.FaIconComponent, AReplacerDirective], encapsulation: 2 }); }
|
|
8769
8785
|
}
|
|
8770
8786
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Copy2ClipboardComponent, [{
|
|
8771
8787
|
type: Component,
|
|
@@ -8880,7 +8896,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
8880
8896
|
i0.ɵɵproperty("formControlName", ctx.controlName);
|
|
8881
8897
|
i0.ɵɵadvance();
|
|
8882
8898
|
i0.ɵɵproperty("ngIf", ctx.isGoButtonVisible);
|
|
8883
|
-
} }, dependencies: [i1$1.NgClass, i1$1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$1.LabelDirective, AReplacerDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
8899
|
+
} }, 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 }); }
|
|
8884
8900
|
}
|
|
8885
8901
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
8886
8902
|
type: Component,
|
|
@@ -9222,7 +9238,7 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9222
9238
|
onTopicChange(event) {
|
|
9223
9239
|
this.selectedTopic = event.target.value;
|
|
9224
9240
|
}
|
|
9225
|
-
static { this.ɵfac = function ContactUsForm_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ContactUsForm)(i0.ɵɵdirectiveInject(i1$
|
|
9241
|
+
static { this.ɵfac = function ContactUsForm_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ContactUsForm)(i0.ɵɵdirectiveInject(i1$9.ReCaptchaV3Service), i0.ɵɵdirectiveInject(i2$1.FormBuilder), i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(EmailsApiService), i0.ɵɵdirectiveInject(NotificationService)); }; }
|
|
9226
9242
|
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) {
|
|
9227
9243
|
i0.ɵɵelementStart(0, "form", 0);
|
|
9228
9244
|
i0.ɵɵlistener("ngSubmit", function ContactUsForm_Template_form_ngSubmit_0_listener() { return ctx.onSubmit(); });
|
|
@@ -9294,12 +9310,12 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9294
9310
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9295
9311
|
i0.ɵɵadvance(3);
|
|
9296
9312
|
i0.ɵɵproperty("ngIf", ctx.showActionButtons);
|
|
9297
|
-
} }, dependencies: [i1$1.NgClass, i1$1.NgForOf, i1$1.NgIf, i2.ɵNgNoValidate, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective, FormValidationSummaryComponent, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9313
|
+
} }, dependencies: [i1$1.NgClass, i1$1.NgForOf, i1$1.NgIf, i2$1.ɵNgNoValidate, i2$1.NgSelectOption, i2$1.ɵNgSelectMultipleOption, i2$1.DefaultValueAccessor, i2$1.SelectControlValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, NativeElementDirective, FormValidationSummaryComponent, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9298
9314
|
}
|
|
9299
9315
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
|
|
9300
9316
|
type: Component,
|
|
9301
9317
|
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" }]
|
|
9302
|
-
}], () => [{ type: i1$
|
|
9318
|
+
}], () => [{ type: i1$9.ReCaptchaV3Service }, { type: i2$1.FormBuilder }, { type: AppContextService }, { type: EmailsApiService }, { type: NotificationService }], { showActionButtons: [{
|
|
9303
9319
|
type: Input
|
|
9304
9320
|
}], submit: [{
|
|
9305
9321
|
type: Output
|
|
@@ -9366,7 +9382,7 @@ class ContactUsDialog extends DialogBase {
|
|
|
9366
9382
|
i0.ɵɵtemplate(0, ContactUsDialog_kendo_dialog_0_Template, 10, 2, "kendo-dialog", 1);
|
|
9367
9383
|
} if (rf & 2) {
|
|
9368
9384
|
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
9369
|
-
} }, dependencies: [i1$1.NgIf, i2$
|
|
9385
|
+
} }, dependencies: [i1$1.NgIf, i2$2.DialogComponent, i2$2.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
|
|
9370
9386
|
}
|
|
9371
9387
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
|
|
9372
9388
|
type: Component,
|
|
@@ -9610,7 +9626,7 @@ class AddressComponent extends EditComponentBase {
|
|
|
9610
9626
|
let usState = event.target.value;
|
|
9611
9627
|
this.change.emit(usState);
|
|
9612
9628
|
}
|
|
9613
|
-
static { this.ɵfac = function AddressComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AddressComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(CoreApiService)); }; }
|
|
9629
|
+
static { this.ɵfac = function AddressComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AddressComponent)(i0.ɵɵdirectiveInject(i2$1.FormBuilder), i0.ɵɵdirectiveInject(CoreApiService)); }; }
|
|
9614
9630
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddressComponent, selectors: [["anatoly-forms-address"]], inputs: { address: "address" }, outputs: { change: "change" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 29, consts: [["classes", "card-outline card-primary"], [3, "title", 4, "ngIf"], [3, "formGroup"], [1, "row"], [1, "form-group", 3, "ngClass"], ["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", "mb-0", 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 mb-0", 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) {
|
|
9615
9631
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
9616
9632
|
i0.ɵɵtemplate(1, AddressComponent_anatoly_card_header_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
@@ -9671,12 +9687,12 @@ class AddressComponent extends EditComponentBase {
|
|
|
9671
9687
|
i0.ɵɵproperty("ngForOf", ctx.countryData);
|
|
9672
9688
|
i0.ɵɵadvance();
|
|
9673
9689
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9674
|
-
} }, dependencies: [i1$1.NgClass, i1$1.NgForOf, i1$1.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9690
|
+
} }, dependencies: [i1$1.NgClass, i1$1.NgForOf, i1$1.NgIf, i2$1.NgSelectOption, i2$1.ɵNgSelectMultipleOption, i2$1.DefaultValueAccessor, i2$1.SelectControlValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9675
9691
|
}
|
|
9676
9692
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
|
|
9677
9693
|
type: Component,
|
|
9678
9694
|
args: [{ selector: 'anatoly-forms-address', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title' />\r\n <anatoly-card-body [formGroup]='formGroup'>\r\n <div class=\"row\">\r\n <div class='form-group' [ngClass]=\"{'has-error': isControlInvalid('address_street')}\" >\r\n <label>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 <div class='form-group' [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 </div>\r\n <div class=\"row\">\r\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_city')}\">\r\n <label>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 <div class='form-group col-3 mb-0' *ngIf=\"formGroup.value.address_country == 'US'\" [ngClass]=\"{'has-error': isControlInvalid('address_stateOrRegion')}\">\r\n <label>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 <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_zipcode')}\" >\r\n <label>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 <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_country')}\">\r\n <label>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" }]
|
|
9679
|
-
}], () => [{ type: i2.FormBuilder }, { type: CoreApiService }], { address: [{
|
|
9695
|
+
}], () => [{ type: i2$1.FormBuilder }, { type: CoreApiService }], { address: [{
|
|
9680
9696
|
type: Input
|
|
9681
9697
|
}], change: [{
|
|
9682
9698
|
type: Output
|
|
@@ -9755,7 +9771,7 @@ class CompanyComponent extends EditComponentBase {
|
|
|
9755
9771
|
};
|
|
9756
9772
|
return JSON.stringify(data);
|
|
9757
9773
|
}
|
|
9758
|
-
static { this.ɵfac = function CompanyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CompanyComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder)); }; }
|
|
9774
|
+
static { this.ɵfac = function CompanyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CompanyComponent)(i0.ɵɵdirectiveInject(i2$1.FormBuilder)); }; }
|
|
9759
9775
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyComponent, selectors: [["anatoly-forms-company"]], inputs: { company: "company" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 22, consts: [["classes", "card-outline card-primary"], [3, "title", 4, "ngIf"], [3, "formGroup"], [1, "row"], [1, "form-group", "col-6", 3, "ngClass"], ["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"], [1, "form-group", "col-6", "mb-0", 3, "ngClass"], ["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) {
|
|
9760
9776
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
9761
9777
|
i0.ɵɵtemplate(1, CompanyComponent_anatoly_card_header_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
@@ -9800,12 +9816,12 @@ class CompanyComponent extends EditComponentBase {
|
|
|
9800
9816
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0, ctx.isControlInvalid("company_websiteUrl")));
|
|
9801
9817
|
i0.ɵɵadvance(4);
|
|
9802
9818
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9803
|
-
} }, dependencies: [i1$1.NgClass, i1$1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.PatternValidator, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9819
|
+
} }, dependencies: [i1$1.NgClass, i1$1.NgIf, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.PatternValidator, i2$1.FormGroupDirective, i2$1.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9804
9820
|
}
|
|
9805
9821
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
9806
9822
|
type: Component,
|
|
9807
9823
|
args: [{ selector: 'anatoly-forms-company', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title' />\r\n <anatoly-card-body [formGroup]='formGroup' >\r\n <div class=\"row\">\r\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_name') }\">\r\n <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>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>\r\n <div class=\"row\">\r\n <div class='form-group col-6 mb-0' [ngClass]=\"{'has-error': isControlInvalid('company_email') }\">\r\n <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 mb-0' [ngClass]=\"{'has-error': isControlInvalid('company_websiteUrl') }\">\r\n <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 </div>\r\n </anatoly-card-body>\r\n</anatoly-card>\r\n" }]
|
|
9808
|
-
}], () => [{ type: i2.FormBuilder }], { company: [{
|
|
9824
|
+
}], () => [{ type: i2$1.FormBuilder }], { company: [{
|
|
9809
9825
|
type: Input
|
|
9810
9826
|
}] }); })();
|
|
9811
9827
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CompanyComponent, { className: "CompanyComponent", filePath: "lib/ui/forms/components/company/company.component.ts", lineNumber: 29 }); })();
|
|
@@ -9926,7 +9942,7 @@ class SafeHtmlPipe {
|
|
|
9926
9942
|
transform(value) {
|
|
9927
9943
|
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
9928
9944
|
}
|
|
9929
|
-
static { this.ɵfac = function SafeHtmlPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SafeHtmlPipe)(i0.ɵɵdirectiveInject(i1$
|
|
9945
|
+
static { this.ɵfac = function SafeHtmlPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SafeHtmlPipe)(i0.ɵɵdirectiveInject(i1$6.DomSanitizer, 16)); }; }
|
|
9930
9946
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "safeHtml", type: SafeHtmlPipe, pure: true, standalone: false }); }
|
|
9931
9947
|
}
|
|
9932
9948
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SafeHtmlPipe, [{
|
|
@@ -9935,7 +9951,7 @@ class SafeHtmlPipe {
|
|
|
9935
9951
|
name: 'safeHtml',
|
|
9936
9952
|
standalone: false
|
|
9937
9953
|
}]
|
|
9938
|
-
}], () => [{ type: i1$
|
|
9954
|
+
}], () => [{ type: i1$6.DomSanitizer }], null); })();
|
|
9939
9955
|
|
|
9940
9956
|
/*
|
|
9941
9957
|
<file>
|
|
@@ -10003,16 +10019,17 @@ class SafeHtmlPipe {
|
|
|
10003
10019
|
//Node
|
|
10004
10020
|
let InjectorInstance;
|
|
10005
10021
|
class AnatolyCoreModule {
|
|
10006
|
-
constructor(injector
|
|
10022
|
+
constructor(injector) {
|
|
10007
10023
|
this.injector = injector;
|
|
10008
10024
|
InjectorInstance = this.injector;
|
|
10009
10025
|
}
|
|
10010
|
-
static { this.ɵfac = function AnatolyCoreModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AnatolyCoreModule)(i0.ɵɵinject(i0.Injector)
|
|
10026
|
+
static { this.ɵfac = function AnatolyCoreModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AnatolyCoreModule)(i0.ɵɵinject(i0.Injector)); }; }
|
|
10011
10027
|
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AnatolyCoreModule }); }
|
|
10012
10028
|
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
10013
10029
|
//Guards
|
|
10014
10030
|
StarterGuard,
|
|
10015
10031
|
//Services
|
|
10032
|
+
BrowserService,
|
|
10016
10033
|
DigitalMarketingService,
|
|
10017
10034
|
GoogleAnalyticsService,
|
|
10018
10035
|
LoadingService,
|
|
@@ -10051,6 +10068,7 @@ class AnatolyCoreModule {
|
|
|
10051
10068
|
//Guards
|
|
10052
10069
|
StarterGuard,
|
|
10053
10070
|
//Services
|
|
10071
|
+
BrowserService,
|
|
10054
10072
|
DigitalMarketingService,
|
|
10055
10073
|
GoogleAnalyticsService,
|
|
10056
10074
|
LoadingService,
|
|
@@ -10064,11 +10082,7 @@ class AnatolyCoreModule {
|
|
|
10064
10082
|
NotificationService
|
|
10065
10083
|
]
|
|
10066
10084
|
}]
|
|
10067
|
-
}], () => [{ type: i0.Injector },
|
|
10068
|
-
type: Optional
|
|
10069
|
-
}, {
|
|
10070
|
-
type: SkipSelf
|
|
10071
|
-
}] }], null); })();
|
|
10085
|
+
}], () => [{ type: i0.Injector }], null); })();
|
|
10072
10086
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyCoreModule, { imports: [CommonModule,
|
|
10073
10087
|
RouterModule, i1$4.ToastrModule, LocalizationSettingsModule,
|
|
10074
10088
|
LocalizationModule], exports: [RouterModule,
|
|
@@ -10515,7 +10529,7 @@ class FaModule {
|
|
|
10515
10529
|
constructor(library) {
|
|
10516
10530
|
library.addIcons(faCheckCircle, faCircleXmark, faDatabase, faCopy);
|
|
10517
10531
|
}
|
|
10518
|
-
static { this.ɵfac = function FaModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FaModule)(i0.ɵɵinject(i1$
|
|
10532
|
+
static { this.ɵfac = function FaModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FaModule)(i0.ɵɵinject(i1$7.FaIconLibrary)); }; }
|
|
10519
10533
|
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FaModule }); }
|
|
10520
10534
|
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
10521
10535
|
FontAwesomeModule, FontAwesomeModule] }); }
|
|
@@ -10531,7 +10545,7 @@ class FaModule {
|
|
|
10531
10545
|
FontAwesomeModule
|
|
10532
10546
|
]
|
|
10533
10547
|
}]
|
|
10534
|
-
}], () => [{ type: i1$
|
|
10548
|
+
}], () => [{ type: i1$7.FaIconLibrary }], null); })();
|
|
10535
10549
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FaModule, { imports: [CommonModule,
|
|
10536
10550
|
FontAwesomeModule], exports: [FontAwesomeModule] }); })();
|
|
10537
10551
|
|
|
@@ -11056,5 +11070,5 @@ class AnatolyModule {
|
|
|
11056
11070
|
* Generated bundle index. Do not edit.
|
|
11057
11071
|
*/
|
|
11058
11072
|
|
|
11059
|
-
export { AReplacerDirective, AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AppsGoServiceBase, AuthService, AuthenticationGuard, BillingUtils, BraintreeDialog,
|
|
11073
|
+
export { AReplacerDirective, AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AppsGoServiceBase, AuthService, AuthenticationGuard, 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, DiscountCodesApiService, 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, 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, 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 };
|
|
11060
11074
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|