@osovitny/anatoly 3.21.22 → 3.21.23

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
- MSALStorage.clearRedirectState(calledBy);
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
 
@@ -4409,7 +4422,7 @@ class SignUpButtonComponent extends ComponentBase {
4409
4422
  }
4410
4423
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
4411
4424
  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" }]
4425
+ 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
4426
  }], null, { qs: [{
4414
4427
  type: Input
4415
4428
  }] }); })();
@@ -4515,7 +4528,7 @@ class BuyAccessButtonComponent {
4515
4528
  }
4516
4529
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
4517
4530
  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" }]
4531
+ 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
4532
  }], () => [{ type: AppContextService }], { plan: [{
4520
4533
  type: Input
4521
4534
  }], visiblePlanStatus: [{
@@ -4637,7 +4650,7 @@ class SubscribePlanButtonComponent {
4637
4650
  }
4638
4651
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
4639
4652
  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" }]
4653
+ 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
4654
  }], () => [{ type: AppContextService }], { plan: [{
4642
4655
  type: Input
4643
4656
  }], visiblePlanStatus: [{
@@ -7383,7 +7396,7 @@ class CardHeaderComponent extends ComponentBase {
7383
7396
  }
7384
7397
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardHeaderComponent, [{
7385
7398
  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" }]
7399
+ 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
7400
  }], null, null); })();
7388
7401
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardHeaderComponent, { className: "CardHeaderComponent", filePath: "lib/ui/components/card/card-header.component.ts", lineNumber: 27 }); })();
7389
7402
 
@@ -7570,7 +7583,7 @@ class CountryDropdownlist extends EditComponentBase {
7570
7583
  }
7571
7584
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
7572
7585
  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" }]
7586
+ 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
7587
  }], () => [{ type: AppContextService }], null); })();
7575
7588
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CountryDropdownlist, { className: "CountryDropdownlist", filePath: "lib/ui/components/dropdownlists/country/country.dropdownlist.ts", lineNumber: 29 }); })();
7576
7589
 
@@ -7636,7 +7649,7 @@ class LanguageDropdownlist extends EditComponentBase {
7636
7649
  }
7637
7650
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageDropdownlist, [{
7638
7651
  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" }]
7652
+ 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
7653
  }], () => [{ type: AppContextService }], null); })();
7641
7654
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LanguageDropdownlist, { className: "LanguageDropdownlist", filePath: "lib/ui/components/dropdownlists/language/language.dropdownlist.ts", lineNumber: 30 }); })();
7642
7655
 
@@ -7805,7 +7818,7 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
7805
7818
  }
7806
7819
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemValidationSummaryComponent, [{
7807
7820
  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" }]
7821
+ 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
7822
  }], null, null); })();
7810
7823
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ItemValidationSummaryComponent, { className: "ItemValidationSummaryComponent", filePath: "lib/ui/validation/item-validation-summary.component.ts", lineNumber: 28 }); })();
7811
7824
 
@@ -7885,7 +7898,7 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
7885
7898
  }
7886
7899
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
7887
7900
  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" }]
7901
+ 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
7902
  }], () => [], null); })();
7890
7903
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModerationStatusDropdownlist, { className: "ModerationStatusDropdownlist", filePath: "lib/ui/components/dropdownlists/moderationstatus/moderationstatus.dropdownlist.ts", lineNumber: 28 }); })();
7891
7904
 
@@ -7965,7 +7978,7 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
7965
7978
  }
7966
7979
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
7967
7980
  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" }]
7981
+ 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
7982
  }], () => [], null); })();
7970
7983
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PublishStatusDropdownlist, { className: "PublishStatusDropdownlist", filePath: "lib/ui/components/dropdownlists/publishstatus/publishstatus.dropdownlist.ts", lineNumber: 28 }); })();
7971
7984
 
@@ -8069,7 +8082,7 @@ class TimezoneDropdownlist extends EditComponentBase {
8069
8082
  }
8070
8083
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
8071
8084
  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" }]
8085
+ 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
8086
  }], () => [{ type: AppContextService }], { disabled: [{
8074
8087
  type: Input
8075
8088
  }] }); })();
@@ -8344,7 +8357,7 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
8344
8357
  }
8345
8358
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
8346
8359
  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" }]
8360
+ 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
8361
  }], () => [], null); })();
8349
8362
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HtmlEditorComponent, { className: "HtmlEditorComponent", filePath: "lib/ui/components/html-editor/html-editor.component.ts", lineNumber: 27 }); })();
8350
8363
 
@@ -8730,7 +8743,7 @@ class SignInButtonComponent extends ComponentBase {
8730
8743
  }
8731
8744
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
8732
8745
  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" }]
8746
+ 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
8747
  }], null, { qs: [{
8735
8748
  type: Input
8736
8749
  }] }); })();
@@ -8794,7 +8807,7 @@ class SignOutButtonComponent extends ComponentBase {
8794
8807
  }
8795
8808
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
8796
8809
  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" }]
8810
+ 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
8811
  }], null, { qs: [{
8799
8812
  type: Input
8800
8813
  }] }); })();
@@ -8856,7 +8869,7 @@ class NodataComponent {
8856
8869
  }
8857
8870
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
8858
8871
  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" }]
8872
+ 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
8873
  }], null, { dataLoading: [{
8861
8874
  type: Input
8862
8875
  }], dataLoaded: [{
@@ -9107,7 +9120,7 @@ class LoadingComponent extends ComponentBase {
9107
9120
  }
9108
9121
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
9109
9122
  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" }]
9123
+ 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
9124
  }], () => [{ type: LoadingService }], null); })();
9112
9125
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingComponent, { className: "LoadingComponent", filePath: "lib/ui/components/spinners/loading/loading.component.ts", lineNumber: 29 }); })();
9113
9126
 
@@ -9193,7 +9206,7 @@ class PageSpinnerComponent {
9193
9206
  }
9194
9207
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageSpinnerComponent, [{
9195
9208
  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" }]
9209
+ 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
9210
  }], () => [{ type: i1$1.Router }], { backgroundColor: [{
9198
9211
  type: Input
9199
9212
  }], spinner: [{
@@ -9358,7 +9371,7 @@ class UrlSlugComponent extends EditComponentBase {
9358
9371
  }
9359
9372
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
9360
9373
  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" }]
9374
+ 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
9375
  }], () => [], { urlPrefix: [{
9363
9376
  type: Input
9364
9377
  }], isGoButtonVisible: [{
@@ -9415,7 +9428,7 @@ class FeatureWillBeReadyComponent extends ComponentBase {
9415
9428
  }
9416
9429
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeatureWillBeReadyComponent, [{
9417
9430
  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" }]
9431
+ 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
9432
  }], null, { readyDate: [{
9420
9433
  type: Input
9421
9434
  }] }); })();
@@ -9571,7 +9584,7 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
9571
9584
  }
9572
9585
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormValidationSummaryComponent, [{
9573
9586
  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" }]
9587
+ 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
9588
  }], () => [], { visible: [{
9576
9589
  type: Input
9577
9590
  }], customerrors: [{
@@ -9773,7 +9786,7 @@ class ContactUsForm extends EditComponentBase {
9773
9786
  }
9774
9787
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
9775
9788
  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" }]
9789
+ 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
9790
  }], () => [{ type: i1$9.ReCaptchaV3Service }, { type: i2.FormBuilder }, { type: AppContextService }, { type: EmailsApiService }, { type: NotificationService }], { showActionButtons: [{
9778
9791
  type: Input
9779
9792
  }], submit: [{
@@ -9845,7 +9858,7 @@ class ContactUsDialog extends DialogBase {
9845
9858
  }
9846
9859
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
9847
9860
  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}" }]
9861
+ 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
9862
  }], () => [], { contactUsForm: [{
9850
9863
  type: ViewChild,
9851
9864
  args: ['contactusform']
@@ -10146,7 +10159,7 @@ class AddressComponent extends EditComponentBase {
10146
10159
  }
10147
10160
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
10148
10161
  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" }]
10162
+ 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
10163
  }], () => [{ type: i2.FormBuilder }, { type: AppContextService }], { address: [{
10151
10164
  type: Input
10152
10165
  }], change: [{
@@ -10275,7 +10288,7 @@ class CompanyComponent extends EditComponentBase {
10275
10288
  }
10276
10289
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
10277
10290
  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" }]
10291
+ 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
10292
  }], () => [{ type: i2.FormBuilder }], { company: [{
10280
10293
  type: Input
10281
10294
  }] }); })();