@osovitny/anatoly 3.21.22 → 3.21.24
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.
|
@@ -1581,8 +1581,16 @@ const MSALStorageKeys = {
|
|
|
1581
1581
|
//SessionStorage
|
|
1582
1582
|
};
|
|
1583
1583
|
class MSALStorage {
|
|
1584
|
+
static hasRedirectValue(value) {
|
|
1585
|
+
return value && value !== 'null' && value !== 'undefined';
|
|
1586
|
+
}
|
|
1584
1587
|
static saveRedirectState(redirectTo, calledBy) {
|
|
1588
|
+
if (!MSALStorage.hasRedirectValue(redirectTo)) {
|
|
1589
|
+
MSALStorage.clearRedirectState(calledBy);
|
|
1590
|
+
return;
|
|
1591
|
+
}
|
|
1585
1592
|
if (redirectTo.indexOf('iam') >= 0) {
|
|
1593
|
+
MSALStorage.clearRedirectState(calledBy);
|
|
1586
1594
|
return;
|
|
1587
1595
|
}
|
|
1588
1596
|
localStorage.setItem(MSALStorageKeys.redirectTo, redirectTo);
|
|
@@ -1591,6 +1599,10 @@ class MSALStorage {
|
|
|
1591
1599
|
static getRedirectState(calledBy) {
|
|
1592
1600
|
let redirectTo = localStorage.getItem(MSALStorageKeys.redirectTo);
|
|
1593
1601
|
console.log(`msal.app: redirect state requested: ${redirectTo}. Called by: ${calledBy}`);
|
|
1602
|
+
if (!MSALStorage.hasRedirectValue(redirectTo)) {
|
|
1603
|
+
MSALStorage.clearRedirectState(calledBy);
|
|
1604
|
+
return null;
|
|
1605
|
+
}
|
|
1594
1606
|
return redirectTo;
|
|
1595
1607
|
}
|
|
1596
1608
|
static clearRedirectState(calledBy) {
|
|
@@ -1620,10 +1632,11 @@ class MSALStorage {
|
|
|
1620
1632
|
class MSALRedirect {
|
|
1621
1633
|
static handle(router, calledBy) {
|
|
1622
1634
|
let redirectTo = MSALStorage.getRedirectState(calledBy);
|
|
1623
|
-
if (redirectTo) {
|
|
1624
|
-
|
|
1625
|
-
router.navigate([redirectTo]);
|
|
1635
|
+
if (!redirectTo) {
|
|
1636
|
+
return;
|
|
1626
1637
|
}
|
|
1638
|
+
MSALStorage.clearRedirectState(calledBy);
|
|
1639
|
+
router.navigate([redirectTo]);
|
|
1627
1640
|
}
|
|
1628
1641
|
}
|
|
1629
1642
|
|
|
@@ -2293,7 +2306,8 @@ class AppsGoServiceBase extends GoServiceBase {
|
|
|
2293
2306
|
appSettings = getAppSettingsById(1);
|
|
2294
2307
|
}
|
|
2295
2308
|
if (appSettings) {
|
|
2296
|
-
let
|
|
2309
|
+
let baseUrl = appSettings.baseUrl || '';
|
|
2310
|
+
let url = baseUrl + appSettings.root;
|
|
2297
2311
|
if (path && params) {
|
|
2298
2312
|
url += (url.endsWith('/') ? "" : "/") + path + "?" + params;
|
|
2299
2313
|
}
|
|
@@ -4409,7 +4423,7 @@ class SignUpButtonComponent extends ComponentBase {
|
|
|
4409
4423
|
}
|
|
4410
4424
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
4411
4425
|
type: Component,
|
|
4412
|
-
args: [{ selector: "anatoly-signup-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n</a>\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign Up</span>\n }\n</ng-template>\n" }]
|
|
4426
|
+
args: [{ selector: "anatoly-signup-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<ng-template #contentTemplate>\r\n <span #ref><ng-content></ng-content></span>\r\n @if (!ref.innerHTML.trim()) {\r\n <span>Sign Up</span>\r\n }\r\n</ng-template>\r\n" }]
|
|
4413
4427
|
}], null, { qs: [{
|
|
4414
4428
|
type: Input
|
|
4415
4429
|
}] }); })();
|
|
@@ -4515,7 +4529,7 @@ class BuyAccessButtonComponent {
|
|
|
4515
4529
|
}
|
|
4516
4530
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
|
|
4517
4531
|
type: Component,
|
|
4518
|
-
args: [{ selector: 'anatoly-billing-buyaccess-button', standalone: false, template: "@if (contextUpdated) {\n <div class=\"actions\">\n @if (!isUserSignedIn && visibleSignup) {\n <div>\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\n </div>\n }\n @if (isUserSignedIn && visiblePlanStatus) {\n <div>\n @if (plan == currentPlanId) {\n <button class=\"btn btn-block btn-success selectPlan\">\n Your Plan\n </button>\n }\n @if (plan != currentPlanId) {\n <button class=\"btn btn-block btn-warning selectPlan\"\n (click)=\"onPlanSelect()\">\n Buy Now\n </button>\n }\n </div>\n }\n </div>\n}\n" }]
|
|
4532
|
+
args: [{ selector: 'anatoly-billing-buyaccess-button', standalone: false, template: "@if (contextUpdated) {\r\n <div class=\"actions\">\r\n @if (!isUserSignedIn && visibleSignup) {\r\n <div>\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\r\n </div>\r\n }\r\n @if (isUserSignedIn && visiblePlanStatus) {\r\n <div>\r\n @if (plan == currentPlanId) {\r\n <button class=\"btn btn-block btn-success selectPlan\">\r\n Your Plan\r\n </button>\r\n }\r\n @if (plan != currentPlanId) {\r\n <button class=\"btn btn-block btn-warning selectPlan\"\r\n (click)=\"onPlanSelect()\">\r\n Buy Now\r\n </button>\r\n }\r\n </div>\r\n }\r\n </div>\r\n}\r\n" }]
|
|
4519
4533
|
}], () => [{ type: AppContextService }], { plan: [{
|
|
4520
4534
|
type: Input
|
|
4521
4535
|
}], visiblePlanStatus: [{
|
|
@@ -4637,7 +4651,7 @@ class SubscribePlanButtonComponent {
|
|
|
4637
4651
|
}
|
|
4638
4652
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
|
|
4639
4653
|
type: Component,
|
|
4640
|
-
args: [{ selector: 'anatoly-billing-subscribe-plan-button', standalone: false, template: "@if (contextUpdated) {\n <div class=\"actions\">\n @if (!isUserSignedIn && visibleSignup) {\n <div>\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\n </div>\n }\n @if (isUserSignedIn && visiblePlanStatus) {\n <div>\n @if (plan == currentPlanId) {\n <button class=\"btn btn-block btn-success selectPlan\">\n Your Plan\n </button>\n }\n @if (plan == requestedPlanId) {\n <button class=\"btn btn-block btn-warning selectPlan\">\n Requested\n </button>\n }\n @if (plan != currentPlanId && plan != requestedPlanId) {\n <button class=\"btn btn-block btn-warning selectPlan\"\n (click)=\"onPlanSelect()\">\n Subscribe\n </button>\n }\n </div>\n }\n </div>\n}\n" }]
|
|
4654
|
+
args: [{ selector: 'anatoly-billing-subscribe-plan-button', standalone: false, template: "@if (contextUpdated) {\r\n <div class=\"actions\">\r\n @if (!isUserSignedIn && visibleSignup) {\r\n <div>\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\r\n </div>\r\n }\r\n @if (isUserSignedIn && visiblePlanStatus) {\r\n <div>\r\n @if (plan == currentPlanId) {\r\n <button class=\"btn btn-block btn-success selectPlan\">\r\n Your Plan\r\n </button>\r\n }\r\n @if (plan == requestedPlanId) {\r\n <button class=\"btn btn-block btn-warning selectPlan\">\r\n Requested\r\n </button>\r\n }\r\n @if (plan != currentPlanId && plan != requestedPlanId) {\r\n <button class=\"btn btn-block btn-warning selectPlan\"\r\n (click)=\"onPlanSelect()\">\r\n Subscribe\r\n </button>\r\n }\r\n </div>\r\n }\r\n </div>\r\n}\r\n" }]
|
|
4641
4655
|
}], () => [{ type: AppContextService }], { plan: [{
|
|
4642
4656
|
type: Input
|
|
4643
4657
|
}], visiblePlanStatus: [{
|
|
@@ -7383,7 +7397,7 @@ class CardHeaderComponent extends ComponentBase {
|
|
|
7383
7397
|
}
|
|
7384
7398
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardHeaderComponent, [{
|
|
7385
7399
|
type: Component,
|
|
7386
|
-
args: [{ selector: 'anatoly-card-header', standalone: false, template: "<div class='card-header {{ classes }}'>\n <div class=\"card-title\">\n @if (title) {\n <h3>{{ title }}</h3>\n }\n </div>\n <ng-content></ng-content>\n</div>\n" }]
|
|
7400
|
+
args: [{ selector: 'anatoly-card-header', standalone: false, template: "<div class='card-header {{ classes }}'>\r\n <div class=\"card-title\">\r\n @if (title) {\r\n <h3>{{ title }}</h3>\r\n }\r\n </div>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
7387
7401
|
}], null, null); })();
|
|
7388
7402
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardHeaderComponent, { className: "CardHeaderComponent", filePath: "lib/ui/components/card/card-header.component.ts", lineNumber: 27 }); })();
|
|
7389
7403
|
|
|
@@ -7570,7 +7584,7 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
7570
7584
|
}
|
|
7571
7585
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
|
|
7572
7586
|
type: Component,
|
|
7573
|
-
args: [{ selector: 'anatoly-country-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\n <div>\n </div>\n}\n\n@if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <select [formControlName]='controlName' class='form-select'>\n @for (item of items; track item) {\n <option [value]='item.code'>\n {{ item.name }}\n </option>\n }\n </select>\n </div>\n}\n" }]
|
|
7587
|
+
args: [{ selector: 'anatoly-country-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\r\n <div>\r\n </div>\r\n}\r\n\r\n@if (!isNgModelBased) {\r\n <div [formGroup]='formGroup'>\r\n @if (isTitleVisible) {\r\n <kendo-label text=\"{{ title }}\"></kendo-label>\r\n }\r\n <select [formControlName]='controlName' class='form-select'>\r\n @for (item of items; track item) {\r\n <option [value]='item.code'>\r\n {{ item.name }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n}\r\n" }]
|
|
7574
7588
|
}], () => [{ type: AppContextService }], null); })();
|
|
7575
7589
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CountryDropdownlist, { className: "CountryDropdownlist", filePath: "lib/ui/components/dropdownlists/country/country.dropdownlist.ts", lineNumber: 29 }); })();
|
|
7576
7590
|
|
|
@@ -7636,7 +7650,7 @@ class LanguageDropdownlist extends EditComponentBase {
|
|
|
7636
7650
|
}
|
|
7637
7651
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageDropdownlist, [{
|
|
7638
7652
|
type: Component,
|
|
7639
|
-
args: [{ selector: 'anatoly-language-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\n <div>\n </div>\n}\n\n@if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <kendo-dropdownlist [data]='items'\n valueField=\"code\"\n textField=\"name\"\n [valuePrimitive]='true'\n [formControlName]='controlName' />\n </div>\n }\n" }]
|
|
7653
|
+
args: [{ selector: 'anatoly-language-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\r\n <div>\r\n </div>\r\n}\r\n\r\n@if (!isNgModelBased) {\r\n <div [formGroup]='formGroup'>\r\n @if (isTitleVisible) {\r\n <kendo-label text=\"{{ title }}\"></kendo-label>\r\n }\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 }\r\n" }]
|
|
7640
7654
|
}], () => [{ type: AppContextService }], null); })();
|
|
7641
7655
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LanguageDropdownlist, { className: "LanguageDropdownlist", filePath: "lib/ui/components/dropdownlists/language/language.dropdownlist.ts", lineNumber: 30 }); })();
|
|
7642
7656
|
|
|
@@ -7805,7 +7819,7 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
7805
7819
|
}
|
|
7806
7820
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemValidationSummaryComponent, [{
|
|
7807
7821
|
type: Component,
|
|
7808
|
-
args: [{ selector: "anatoly-item-validation-summary", standalone: false, template: "@if (isControlInvalid(controlName)) {\n <ul class=\"list-unstyled\">\n @for (error of getValidationMessages(formGroup.controls[controlName], controlName, controlTitle); track error) {\n <li>\n <span class=\"help-block\">{{ error }}</span>\n </li>\n }\n </ul>\n}\n\n" }]
|
|
7822
|
+
args: [{ selector: "anatoly-item-validation-summary", standalone: false, template: "@if (isControlInvalid(controlName)) {\r\n <ul class=\"list-unstyled\">\r\n @for (error of getValidationMessages(formGroup.controls[controlName], controlName, controlTitle); track error) {\r\n <li>\r\n <span class=\"help-block\">{{ error }}</span>\r\n </li>\r\n }\r\n </ul>\r\n}\r\n\r\n" }]
|
|
7809
7823
|
}], null, null); })();
|
|
7810
7824
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ItemValidationSummaryComponent, { className: "ItemValidationSummaryComponent", filePath: "lib/ui/validation/item-validation-summary.component.ts", lineNumber: 28 }); })();
|
|
7811
7825
|
|
|
@@ -7885,7 +7899,7 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7885
7899
|
}
|
|
7886
7900
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
|
|
7887
7901
|
type: Component,
|
|
7888
|
-
args: [{ selector: 'anatoly-moderationstatus-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\n <div>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <kendo-dropdownlist [data]=\"items\"\n valueField=\"value\" textField=\"text\"\n [valuePrimitive]=\"true\"\n [(ngModel)]=\"sv\"\n (valueChange)=\"onChange($event)\" />\n </div>\n }\n\n @if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <kendo-dropdownlist [data]=\"items\"\n valueField=\"value\" textField=\"text\"\n [valuePrimitive]=\"true\"\n [formControlName]='controlName' />\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n [controlName]='controlName'\n [controlTitle]='controlTitle' />\n </div>\n }\n" }]
|
|
7902
|
+
args: [{ selector: 'anatoly-moderationstatus-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\r\n <div>\r\n @if (isTitleVisible) {\r\n <kendo-label text=\"{{ title }}\"></kendo-label>\r\n }\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\" />\r\n </div>\r\n }\r\n\r\n @if (!isNgModelBased) {\r\n <div [formGroup]='formGroup'>\r\n @if (isTitleVisible) {\r\n <kendo-label text=\"{{ title }}\"></kendo-label>\r\n }\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [formControlName]='controlName' />\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n [controlName]='controlName'\r\n [controlTitle]='controlTitle' />\r\n </div>\r\n }\r\n" }]
|
|
7889
7903
|
}], () => [], null); })();
|
|
7890
7904
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModerationStatusDropdownlist, { className: "ModerationStatusDropdownlist", filePath: "lib/ui/components/dropdownlists/moderationstatus/moderationstatus.dropdownlist.ts", lineNumber: 28 }); })();
|
|
7891
7905
|
|
|
@@ -7965,7 +7979,7 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7965
7979
|
}
|
|
7966
7980
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
|
|
7967
7981
|
type: Component,
|
|
7968
|
-
args: [{ selector: 'anatoly-publishstatus-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\n <div>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <kendo-dropdownlist [data]=\"items\"\n valueField=\"value\" textField=\"text\"\n [valuePrimitive]=\"true\"\n [(ngModel)]=\"sv\"\n (valueChange)=\"onChange($event)\" />\n </div>\n }\n\n @if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <kendo-dropdownlist [data]=\"items\"\n valueField=\"value\" textField=\"text\"\n [valuePrimitive]=\"true\"\n [formControlName]='controlName' />\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n [controlName]='controlName'\n [controlTitle]='controlTitle' />\n </div>\n }\n" }]
|
|
7982
|
+
args: [{ selector: 'anatoly-publishstatus-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\r\n <div>\r\n @if (isTitleVisible) {\r\n <kendo-label text=\"{{ title }}\"></kendo-label>\r\n }\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\" />\r\n </div>\r\n }\r\n\r\n @if (!isNgModelBased) {\r\n <div [formGroup]='formGroup'>\r\n @if (isTitleVisible) {\r\n <kendo-label text=\"{{ title }}\"></kendo-label>\r\n }\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [formControlName]='controlName' />\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n [controlName]='controlName'\r\n [controlTitle]='controlTitle' />\r\n </div>\r\n }\r\n" }]
|
|
7969
7983
|
}], () => [], null); })();
|
|
7970
7984
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PublishStatusDropdownlist, { className: "PublishStatusDropdownlist", filePath: "lib/ui/components/dropdownlists/publishstatus/publishstatus.dropdownlist.ts", lineNumber: 28 }); })();
|
|
7971
7985
|
|
|
@@ -8069,7 +8083,7 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
8069
8083
|
}
|
|
8070
8084
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
|
|
8071
8085
|
type: Component,
|
|
8072
|
-
args: [{ selector: 'anatoly-timezone-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\n <div>\n </div>\n}\n\n@if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <label class='col-form-label'>Timezone</label>\n }\n <select [formControlName]='controlName' class='form-select' [disabled]='disabled'>\n @for (item of items; track item) {\n <option [value]='item.code'>\n ({{ item.offset }}) {{ item.name }}\n </option>\n }\n </select>\n </div>\n}\n" }]
|
|
8086
|
+
args: [{ selector: 'anatoly-timezone-dropdownlist', standalone: false, template: "@if (isNgModelBased) {\r\n <div>\r\n </div>\r\n}\r\n\r\n@if (!isNgModelBased) {\r\n <div [formGroup]='formGroup'>\r\n @if (isTitleVisible) {\r\n <label class='col-form-label'>Timezone</label>\r\n }\r\n <select [formControlName]='controlName' class='form-select' [disabled]='disabled'>\r\n @for (item of items; track item) {\r\n <option [value]='item.code'>\r\n ({{ item.offset }}) {{ item.name }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n}\r\n" }]
|
|
8073
8087
|
}], () => [{ type: AppContextService }], { disabled: [{
|
|
8074
8088
|
type: Input
|
|
8075
8089
|
}] }); })();
|
|
@@ -8344,7 +8358,7 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
8344
8358
|
}
|
|
8345
8359
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
|
|
8346
8360
|
type: Component,
|
|
8347
|
-
args: [{ selector: "anatoly-html-editor", standalone: false, template: "@if (isNgModelBased) {\n <div>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <textarea [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\"></textarea>\n </div>\n}\n\n@if (!isNgModelBased) {\n <div [formGroup]='formGroup'>\n @if (isTitleVisible) {\n <kendo-label text=\"{{ title }}\"></kendo-label>\n }\n <textarea [froalaEditor]=\"options\"\n [formControlName]=\"controlName\"\n [attr.formControlTitle]=\"controlTitle\"\n (froalaInit)=\"initializeControl($event)\">\n </textarea>\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n [controlName]='controlName'\n [controlTitle]='controlTitle' />\n </div>\n }\n" }]
|
|
8361
|
+
args: [{ selector: "anatoly-html-editor", standalone: false, template: "@if (isNgModelBased) {\r\n <div>\r\n @if (isTitleVisible) {\r\n <kendo-label text=\"{{ title }}\"></kendo-label>\r\n }\r\n <textarea [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\"></textarea>\r\n </div>\r\n}\r\n\r\n@if (!isNgModelBased) {\r\n <div [formGroup]='formGroup'>\r\n @if (isTitleVisible) {\r\n <kendo-label text=\"{{ title }}\"></kendo-label>\r\n }\r\n <textarea [froalaEditor]=\"options\"\r\n [formControlName]=\"controlName\"\r\n [attr.formControlTitle]=\"controlTitle\"\r\n (froalaInit)=\"initializeControl($event)\">\r\n </textarea>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n [controlName]='controlName'\r\n [controlTitle]='controlTitle' />\r\n </div>\r\n }\r\n" }]
|
|
8348
8362
|
}], () => [], null); })();
|
|
8349
8363
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HtmlEditorComponent, { className: "HtmlEditorComponent", filePath: "lib/ui/components/html-editor/html-editor.component.ts", lineNumber: 27 }); })();
|
|
8350
8364
|
|
|
@@ -8730,7 +8744,7 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
8730
8744
|
}
|
|
8731
8745
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
|
|
8732
8746
|
type: Component,
|
|
8733
|
-
args: [{ selector: "anatoly-signin-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n</a>\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign In</span>\n }\n</ng-template>\n" }]
|
|
8747
|
+
args: [{ selector: "anatoly-signin-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<ng-template #contentTemplate>\r\n <span #ref><ng-content></ng-content></span>\r\n @if (!ref.innerHTML.trim()) {\r\n <span>Sign In</span>\r\n }\r\n</ng-template>\r\n" }]
|
|
8734
8748
|
}], null, { qs: [{
|
|
8735
8749
|
type: Input
|
|
8736
8750
|
}] }); })();
|
|
@@ -8794,7 +8808,7 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
8794
8808
|
}
|
|
8795
8809
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
8796
8810
|
type: Component,
|
|
8797
|
-
args: [{ selector: "anatoly-signout-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n</a>\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign Out</span>\n }\n</ng-template>\n" }]
|
|
8811
|
+
args: [{ selector: "anatoly-signout-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<ng-template #contentTemplate>\r\n <span #ref><ng-content></ng-content></span>\r\n @if (!ref.innerHTML.trim()) {\r\n <span>Sign Out</span>\r\n }\r\n</ng-template>\r\n" }]
|
|
8798
8812
|
}], null, { qs: [{
|
|
8799
8813
|
type: Input
|
|
8800
8814
|
}] }); })();
|
|
@@ -8856,7 +8870,7 @@ class NodataComponent {
|
|
|
8856
8870
|
}
|
|
8857
8871
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
8858
8872
|
type: Component,
|
|
8859
|
-
args: [{ selector: 'anatoly-nodata', standalone: false, template: "@if (!dataLoading && dataLoaded && !dataFound) {\n <div class=\"no-data\">\n <div class='loaded text-info'>\n @if (icon) {\n <div>\n <fa-icon [icon]=\"icon\" [size]=\"iconSize\"></fa-icon>\n </div>\n }\n <h3 class='no-data-heading'>{{heading}}</h3>\n <ng-content></ng-content>\n </div>\n </div>\n}\n" }]
|
|
8873
|
+
args: [{ selector: 'anatoly-nodata', standalone: false, template: "@if (!dataLoading && dataLoaded && !dataFound) {\r\n <div class=\"no-data\">\r\n <div class='loaded text-info'>\r\n @if (icon) {\r\n <div>\r\n <fa-icon [icon]=\"icon\" [size]=\"iconSize\"></fa-icon>\r\n </div>\r\n }\r\n <h3 class='no-data-heading'>{{heading}}</h3>\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n}\r\n" }]
|
|
8860
8874
|
}], null, { dataLoading: [{
|
|
8861
8875
|
type: Input
|
|
8862
8876
|
}], dataLoaded: [{
|
|
@@ -9107,7 +9121,7 @@ class LoadingComponent extends ComponentBase {
|
|
|
9107
9121
|
}
|
|
9108
9122
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
9109
9123
|
type: Component,
|
|
9110
|
-
args: [{ selector: 'anatoly-loading', standalone: false, template: "@if (show) {\n <div id=\"pnlLoading\">\n <span class=\"k-icon k-i-loading\"></span>\n </div>\n}\n" }]
|
|
9124
|
+
args: [{ selector: 'anatoly-loading', standalone: false, template: "@if (show) {\r\n <div id=\"pnlLoading\">\r\n <span class=\"k-icon k-i-loading\"></span>\r\n </div>\r\n}\r\n" }]
|
|
9111
9125
|
}], () => [{ type: LoadingService }], null); })();
|
|
9112
9126
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingComponent, { className: "LoadingComponent", filePath: "lib/ui/components/spinners/loading/loading.component.ts", lineNumber: 29 }); })();
|
|
9113
9127
|
|
|
@@ -9193,7 +9207,7 @@ class PageSpinnerComponent {
|
|
|
9193
9207
|
}
|
|
9194
9208
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageSpinnerComponent, [{
|
|
9195
9209
|
type: Component,
|
|
9196
|
-
args: [{ selector: 'anatoly-pagespinner', standalone: false, encapsulation: ViewEncapsulation.None, template: "@if (isSpinnerVisible) {\n <div id=\"http-loader\">\n <div class=\"loader-bg\">\n @if (spinner === Spinkit.skLine) {\n <div class=\"sk-line-material\" [class.colored]=\"!backgroundColor\">\n <div class=\"sk-child sk-bounce1\" [style.background-color]='backgroundColor'></div>\n </div>\n }\n </div>\n </div>\n}\n" }]
|
|
9210
|
+
args: [{ selector: 'anatoly-pagespinner', standalone: false, encapsulation: ViewEncapsulation.None, template: "@if (isSpinnerVisible) {\r\n <div id=\"http-loader\">\r\n <div class=\"loader-bg\">\r\n @if (spinner === Spinkit.skLine) {\r\n <div class=\"sk-line-material\" [class.colored]=\"!backgroundColor\">\r\n <div class=\"sk-child sk-bounce1\" [style.background-color]='backgroundColor'></div>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n}\r\n" }]
|
|
9197
9211
|
}], () => [{ type: i1$1.Router }], { backgroundColor: [{
|
|
9198
9212
|
type: Input
|
|
9199
9213
|
}], spinner: [{
|
|
@@ -9358,7 +9372,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
9358
9372
|
}
|
|
9359
9373
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
9360
9374
|
type: Component,
|
|
9361
|
-
args: [{ selector: 'anatoly-urlslug', standalone: false, template: "<div class=\"form-group\" [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\" >\n <anatoly-item-validation-summary\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n [controlName]='controlName'>\n </anatoly-item-validation-summary>\n\n <div class=\"input-group permalink\" [ngClass]=\"classes\">\n @if (isTitleVisible) {\n <label for=\"urlPrefixId\">{{ title }}</label>\n }\n <div class=\"urlPrefix\">{{ urlPrefix }}</div>\n <input type=\"text\" class=\"form-control\" id=\"urlPrefixId\" [formControlName]='controlName' (focusout)='onUrlSlugChange()'>\n @if (isGoButtonVisible) {\n <a class=\"btn btn-primary\" href=\"{{urlPrefix}}{{hrefGo}}\" target=\"_blank\" >Go</a>\n }\n </div>\n</div>\n" }]
|
|
9375
|
+
args: [{ selector: 'anatoly-urlslug', standalone: false, template: "<div class=\"form-group\" [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\" >\r\n <anatoly-item-validation-summary\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n [controlName]='controlName'>\r\n </anatoly-item-validation-summary>\r\n\r\n <div class=\"input-group permalink\" [ngClass]=\"classes\">\r\n @if (isTitleVisible) {\r\n <label for=\"urlPrefixId\">{{ title }}</label>\r\n }\r\n <div class=\"urlPrefix\">{{ urlPrefix }}</div>\r\n <input type=\"text\" class=\"form-control\" id=\"urlPrefixId\" [formControlName]='controlName' (focusout)='onUrlSlugChange()'>\r\n @if (isGoButtonVisible) {\r\n <a class=\"btn btn-primary\" href=\"{{urlPrefix}}{{hrefGo}}\" target=\"_blank\" >Go</a>\r\n }\r\n </div>\r\n</div>\r\n" }]
|
|
9362
9376
|
}], () => [], { urlPrefix: [{
|
|
9363
9377
|
type: Input
|
|
9364
9378
|
}], isGoButtonVisible: [{
|
|
@@ -9415,7 +9429,7 @@ class FeatureWillBeReadyComponent extends ComponentBase {
|
|
|
9415
9429
|
}
|
|
9416
9430
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeatureWillBeReadyComponent, [{
|
|
9417
9431
|
type: Component,
|
|
9418
|
-
args: [{ selector: 'anatoly-feature-will-be-ready', standalone: false, template: "<div class='feature-will-be-ready'>\n @if (readyDate) {\n <h3>This feature will be ready in {{ readyDate }} </h3>\n }\n @if (!readyDate) {\n <h3>This feature will be available soon</h3>\n }\n</div>\n" }]
|
|
9432
|
+
args: [{ selector: 'anatoly-feature-will-be-ready', standalone: false, template: "<div class='feature-will-be-ready'>\r\n @if (readyDate) {\r\n <h3>This feature will be ready in {{ readyDate }} </h3>\r\n }\r\n @if (!readyDate) {\r\n <h3>This feature will be available soon</h3>\r\n }\r\n</div>\r\n" }]
|
|
9419
9433
|
}], null, { readyDate: [{
|
|
9420
9434
|
type: Input
|
|
9421
9435
|
}] }); })();
|
|
@@ -9571,7 +9585,7 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
9571
9585
|
}
|
|
9572
9586
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormValidationSummaryComponent, [{
|
|
9573
9587
|
type: Component,
|
|
9574
|
-
args: [{ selector: "anatoly-form-validation-summary", standalone: false, template: "@if (visible) {\n <div class=\"callout callout-danger\">\n <h6 class=\"box-title\">There are problems with the form</h6>\n <ul>\n @for (error of getErrors(); track error) {\n <li><span>{{error}}</span></li>\n }\n </ul>\n </div>\n}\n\n" }]
|
|
9588
|
+
args: [{ selector: "anatoly-form-validation-summary", standalone: false, template: "@if (visible) {\r\n <div class=\"callout callout-danger\">\r\n <h6 class=\"box-title\">There are problems with the form</h6>\r\n <ul>\r\n @for (error of getErrors(); track error) {\r\n <li><span>{{error}}</span></li>\r\n }\r\n </ul>\r\n </div>\r\n}\r\n\r\n" }]
|
|
9575
9589
|
}], () => [], { visible: [{
|
|
9576
9590
|
type: Input
|
|
9577
9591
|
}], customerrors: [{
|
|
@@ -9773,7 +9787,7 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9773
9787
|
}
|
|
9774
9788
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
|
|
9775
9789
|
type: Component,
|
|
9776
|
-
args: [{ selector: 'anatoly-forms-contactus-form', standalone: false, template: "<form (ngSubmit)='onSubmit()' [formGroup]='formGroup' novalidate>\n <anatoly-form-validation-summary [formGroup]='formGroup'\n [visible]='formSubmitted && formGroup.invalid'></anatoly-form-validation-summary>\n\n <div class='contact-us'>\n <div class=\"row\">\n <div class='form-fields col-6'>\n <p>What can we help you with?</p>\n <div [ngClass]=\"{'has-error': isControlInvalid('topic') }\" class='form-topic'>\n <div class='form-select-wrapper'>\n <label class='assistive-text'>Topic *</label>\n <select (change)='onTopicChange($event)' class='form-select' formControlName='topic'>\n @for (topic of topicList; track topic) {\n <option [value]='topic.value'>{{ topic.value }} </option>\n }\n </select>\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n controlName='topic'\n controlTitle='topic'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n <div [ngClass]=\"{'has-error': isControlInvalid('name') }\" class='form-name'>\n <label class='assistive-text'>Name *</label>\n <input class='form-control' formControlName='name' placeholder='Name *' type='text'>\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n controlName='name'\n controlTitle='name'>\n </anatoly-item-validation-summary>\n </div>\n <div [ngClass]=\"{'has-error': isControlInvalid('email') }\" class='form-email'>\n <label class='assistive-text'>E-mail * </label>\n <input class='form-control' formControlName='email' placeholder='E-mail *' type='text' />\n @if (!isUserSignedIn) {\n <p>Please indicate the email used for your MailEx login if you already have an account</p>\n }\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n controlName='email'\n controlTitle='email'>\n </anatoly-item-validation-summary>\n </div>\n <div [ngClass]=\"{'has-error': isControlInvalid('subject') }\" class='form-subject'>\n <label class='assistive-text'>Subject *</label>\n <input class='form-control' formControlName='subject' placeholder='Subject *' type='text' />\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n controlName='subject'\n controlTitle='subject'>\n </anatoly-item-validation-summary>\n </div>\n\n </div>\n <div class='col-6'>\n <div [ngClass]=\"{'has-error': isControlInvalid('message') }\" class='form-message'>\n <label class='assistive-text'>Message *</label>\n <textarea formControlName='message' name='message' placeholder='Message *' rows='4'\n type='text'></textarea>\n <anatoly-item-validation-summary [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'\n controlName='message'\n controlTitle='message'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n </div>\n <div class=\"row form-footer\">\n <div class=\"col\">\n @if (showActionButtons) {\n <button\n [class.btn-primary]='!formGroup.invalid'\n class='btn btn-success'\n type='submit'>\n Submit\n </button>\n }\n </div>\n </div>\n </div>\n</form>\n" }]
|
|
9790
|
+
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 @for (topic of topicList; track topic) {\r\n <option [value]='topic.value'>{{ topic.value }} </option>\r\n }\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 @if (!isUserSignedIn) {\r\n <p>Please indicate the email used for your MailEx login if you already have an account</p>\r\n }\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 @if (showActionButtons) {\r\n <button\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 }\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n" }]
|
|
9777
9791
|
}], () => [{ type: i1$9.ReCaptchaV3Service }, { type: i2.FormBuilder }, { type: AppContextService }, { type: EmailsApiService }, { type: NotificationService }], { showActionButtons: [{
|
|
9778
9792
|
type: Input
|
|
9779
9793
|
}], submit: [{
|
|
@@ -9845,7 +9859,7 @@ class ContactUsDialog extends DialogBase {
|
|
|
9845
9859
|
}
|
|
9846
9860
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
|
|
9847
9861
|
type: Component,
|
|
9848
|
-
args: [{ selector: 'anatoly-contactus-dialog', standalone: false, template: "@if (isOpen) {\n <kendo-dialog (close)='onClose()' [width]='700' title='Contact Us'>\n <div class=\"k-content k-window-content k-dialog-content\">\n <anatoly-forms-contactus-form #contactusform [showActionButtons]='false' (submit)='onSubmit()'>\n </anatoly-forms-contactus-form>\n </div>\n <kendo-dialog-actions class=\"k-actions\">\n <div class=\"d-flex justify-content-end\">\n <button (click)='onSubmitFire()' class='btn btn-sm btn-success' type='button'>Submit</button>\n <button (click)='onClose()' class='btn btn-sm btn-danger' type='button'>Cancel </button>\n </div>\n </kendo-dialog-actions>\n </kendo-dialog>\n}" }]
|
|
9862
|
+
args: [{ selector: 'anatoly-contactus-dialog', standalone: false, template: "@if (isOpen) {\r\n <kendo-dialog (close)='onClose()' [width]='700' title='Contact Us'>\r\n <div class=\"k-content k-window-content k-dialog-content\">\r\n <anatoly-forms-contactus-form #contactusform [showActionButtons]='false' (submit)='onSubmit()'>\r\n </anatoly-forms-contactus-form>\r\n </div>\r\n <kendo-dialog-actions class=\"k-actions\">\r\n <div class=\"d-flex justify-content-end\">\r\n <button (click)='onSubmitFire()' class='btn btn-sm btn-success' type='button'>Submit</button>\r\n <button (click)='onClose()' class='btn btn-sm btn-danger' type='button'>Cancel </button>\r\n </div>\r\n </kendo-dialog-actions>\r\n </kendo-dialog>\r\n}" }]
|
|
9849
9863
|
}], () => [], { contactUsForm: [{
|
|
9850
9864
|
type: ViewChild,
|
|
9851
9865
|
args: ['contactusform']
|
|
@@ -10146,7 +10160,7 @@ class AddressComponent extends EditComponentBase {
|
|
|
10146
10160
|
}
|
|
10147
10161
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
|
|
10148
10162
|
type: Component,
|
|
10149
|
-
args: [{ selector: 'anatoly-forms-address', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\n @if (isTitleVisible) {\n <anatoly-card-header [title]='title' />\n }\n <anatoly-card-body [formGroup]='formGroup'>\n <div class=\"row\">\n <div class='form-group' [ngClass]=\"{'has-error': isControlInvalid('address_street')}\" >\n <label>Street Address</label>\n <input type='text' class='form-control' formControlName='address_street' placeholder='Street Address'>\n <anatoly-item-validation-summary controlName='address_street'\n controlTitle='Street'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n <div class='form-group' [ngClass]=\"{'has-error': isControlInvalid('address_street2')}\" >\n <input type='text' class='form-control' formControlName='address_street2' placeholder='Apartment, suite, unit, building, floor, etc.'>\n <anatoly-item-validation-summary controlName='address_street2'\n controlTitle='Street2'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n <div class=\"row\">\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_city')}\">\n <label>City</label>\n <input type='text' class='form-control' formControlName='address_city' placeholder='City'>\n <anatoly-item-validation-summary controlName='address_city'\n controlTitle='City'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n @if (formGroup.value.address_country == 'US') {\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_stateOrRegion')}\">\n <label>State</label>\n <select class='form-control' (change)='onUSStateChange($event)' formControlName='address_stateOrRegion'>\n @for (state of usStateData; track state) {\n <option [value]='state.code'>{{state.name}}</option>\n }\n </select>\n <anatoly-item-validation-summary controlName='address_stateOrRegion'\n controlTitle='State'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n }\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_zipcode')}\" >\n <label>Zipcode</label>\n <input type='text' class='form-control' formControlName='address_zipcode' placeholder='zipcode'>\n <anatoly-item-validation-summary controlName='address_zipcode'\n controlTitle='zipcode'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_country')}\">\n <label>Country</label>\n <select class='form-control' (change)='onCountryChange($event)' formControlName='address_country' data-placeholder='Select a Country'>\n @for (country of countryData; track country) {\n <option [value]='country.code'>{{country.name}}</option>\n }\n </select>\n <anatoly-item-validation-summary controlName='address_country'\n controlTitle='Country'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n </anatoly-card-body>\n</anatoly-card>\n" }]
|
|
10163
|
+
args: [{ selector: 'anatoly-forms-address', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\r\n @if (isTitleVisible) {\r\n <anatoly-card-header [title]='title' />\r\n }\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 @if (formGroup.value.address_country == 'US') {\r\n <div class='form-group col-3 mb-0' [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 @for (state of usStateData; track state) {\r\n <option [value]='state.code'>{{state.name}}</option>\r\n }\r\n </select>\r\n <anatoly-item-validation-summary controlName='address_stateOrRegion'\r\n controlTitle='State'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n }\r\n <div class='form-group col-3 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 @for (country of countryData; track country) {\r\n <option [value]='country.code'>{{country.name}}</option>\r\n }\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" }]
|
|
10150
10164
|
}], () => [{ type: i2.FormBuilder }, { type: AppContextService }], { address: [{
|
|
10151
10165
|
type: Input
|
|
10152
10166
|
}], change: [{
|
|
@@ -10275,7 +10289,7 @@ class CompanyComponent extends EditComponentBase {
|
|
|
10275
10289
|
}
|
|
10276
10290
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
10277
10291
|
type: Component,
|
|
10278
|
-
args: [{ selector: 'anatoly-forms-company', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\n @if (isTitleVisible) {\n <anatoly-card-header [title]='title' />\n }\n <anatoly-card-body [formGroup]='formGroup' >\n <div class=\"row\">\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_name') }\">\n <label>Name</label>\n <input type='text' class='form-control' formControlName='company_name' placeholder='Company Name'>\n <anatoly-item-validation-summary controlName='company_name'\n controlTitle='Company Name'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_phone') }\">\n <label>Phone</label>\n <input type='tel' class='form-control' formControlName='company_phone' placeholder='Company Phone'>\n <anatoly-item-validation-summary controlName='company_phone'\n controlTitle='Company Phone'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n <div class=\"row\">\n <div class='form-group col-6 mb-0' [ngClass]=\"{'has-error': isControlInvalid('company_email') }\">\n <label>Email</label>\n <input type='email' class='form-control' formControlName='company_email' placeholder='Company Email'>\n <anatoly-item-validation-summary controlName='company_email'\n controlTitle='Company Email'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n <div class='form-group col-6 mb-0' [ngClass]=\"{'has-error': isControlInvalid('company_websiteUrl') }\">\n <label>Website Url</label>\n <input type='url' placeholder='https://example.com' pattern='https://.*' size='30'\n class='form-control' formControlName='company_websiteUrl'>\n <anatoly-item-validation-summary controlName='company_websiteUrl'\n controlTitle='Company website url'\n [formGroup]='formGroup'\n [formSubmitted]='formSubmitted'>\n </anatoly-item-validation-summary>\n </div>\n </div>\n </anatoly-card-body>\n </anatoly-card>\n" }]
|
|
10292
|
+
args: [{ selector: 'anatoly-forms-company', standalone: false, template: "<anatoly-card classes='card-outline card-primary'>\r\n @if (isTitleVisible) {\r\n <anatoly-card-header [title]='title' />\r\n }\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" }]
|
|
10279
10293
|
}], () => [{ type: i2.FormBuilder }], { company: [{
|
|
10280
10294
|
type: Input
|
|
10281
10295
|
}] }); })();
|