@osovitny/anatoly 3.17.105 → 3.17.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/data/data.module.mjs +4 -1
- package/esm2022/lib/data/services/billing/subscriptions-api.service.mjs +49 -0
- package/esm2022/lib/ui/components/card/card.component.mjs +4 -4
- package/esm2022/lib/ui/components/nodata/nodata.component.mjs +9 -12
- package/esm2022/lib/ui/forms/components/address/address.component.mjs +36 -36
- package/esm2022/lib/ui/forms/components/company/company.component.mjs +20 -20
- package/fesm2022/osovitny-anatoly.mjs +110 -68
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/lib/data/services/billing/subscriptions-api.service.d.ts +12 -0
- package/lib/ui/components/card/card.component.d.ts +1 -1
- package/lib/ui/components/index.d.ts +1 -1
- package/lib/ui/components/nodata/nodata.component.d.ts +3 -4
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ import * as i5 from "../../../components/card/card-body.component";
|
|
|
26
26
|
import * as i6 from "../../../directives/native-element.directive";
|
|
27
27
|
import * as i7 from "../../../validation/item-validation-summary.component";
|
|
28
28
|
function CompanyComponent_anatoly_card_header_1_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
-
i0.ɵɵelement(0, "anatoly-card-header",
|
|
29
|
+
i0.ɵɵelement(0, "anatoly-card-header", 14);
|
|
30
30
|
} if (rf & 2) {
|
|
31
31
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
32
32
|
i0.ɵɵproperty("title", ctx_r0.title);
|
|
@@ -82,35 +82,35 @@ export class CompanyComponent extends EditComponentBase {
|
|
|
82
82
|
return JSON.stringify(data);
|
|
83
83
|
}
|
|
84
84
|
static { this.ɵfac = function CompanyComponent_Factory(t) { return new (t || CompanyComponent)(i0.ɵɵdirectiveInject(i1.FormBuilder)); }; }
|
|
85
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyComponent, selectors: [["anatoly-forms-company"]], inputs: { company: "company" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
85
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyComponent, selectors: [["anatoly-forms-company"]], inputs: { company: "company" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 22, consts: [["classes", "card-outline card-primary"], [3, "title", 4, "ngIf"], [3, "formGroup"], [1, "row>"], [1, "form-group", "col-6", 3, "ngClass"], ["type", "text", "formControlName", "company_name", "placeholder", "Company Name", 1, "form-control"], ["controlName", "company_name", "controlTitle", "Company Name", 3, "formGroup", "formSubmitted"], ["type", "tel", "formControlName", "company_phone", "placeholder", "Company Phone", 1, "form-control"], ["controlName", "company_phone", "controlTitle", "Company Phone", 3, "formGroup", "formSubmitted"], [1, "form-group", "col-6", "mb-0", 3, "ngClass"], ["type", "email", "formControlName", "company_email", "placeholder", "Company Email", 1, "form-control"], ["controlName", "company_email", "controlTitle", "Company Email", 3, "formGroup", "formSubmitted"], ["type", "url", "placeholder", "https://example.com", "pattern", "https://.*", "size", "30", "formControlName", "company_websiteUrl", 1, "form-control"], ["controlName", "company_websiteUrl", "controlTitle", "Company website url", 3, "formGroup", "formSubmitted"], [3, "title"]], template: function CompanyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
86
86
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
87
87
|
i0.ɵɵtemplate(1, CompanyComponent_anatoly_card_header_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
88
|
-
i0.ɵɵelementStart(2, "anatoly-card-body", 2)(3, "div", 3)(4, "label");
|
|
89
|
-
i0.ɵɵtext(
|
|
88
|
+
i0.ɵɵelementStart(2, "anatoly-card-body", 2)(3, "div", 3)(4, "div", 4)(5, "label");
|
|
89
|
+
i0.ɵɵtext(6, "Name");
|
|
90
90
|
i0.ɵɵelementEnd();
|
|
91
|
-
i0.ɵɵelement(
|
|
91
|
+
i0.ɵɵelement(7, "input", 5)(8, "anatoly-item-validation-summary", 6);
|
|
92
92
|
i0.ɵɵelementEnd();
|
|
93
|
-
i0.ɵɵelementStart(
|
|
94
|
-
i0.ɵɵtext(
|
|
93
|
+
i0.ɵɵelementStart(9, "div", 4)(10, "label");
|
|
94
|
+
i0.ɵɵtext(11, "Phone");
|
|
95
95
|
i0.ɵɵelementEnd();
|
|
96
|
-
i0.ɵɵelement(
|
|
96
|
+
i0.ɵɵelement(12, "input", 7)(13, "anatoly-item-validation-summary", 8);
|
|
97
|
+
i0.ɵɵelementEnd()();
|
|
98
|
+
i0.ɵɵelementStart(14, "div", 3)(15, "div", 9)(16, "label");
|
|
99
|
+
i0.ɵɵtext(17, "Email");
|
|
97
100
|
i0.ɵɵelementEnd();
|
|
98
|
-
i0.ɵɵ
|
|
99
|
-
i0.ɵɵtext(15, "Email");
|
|
101
|
+
i0.ɵɵelement(18, "input", 10)(19, "anatoly-item-validation-summary", 11);
|
|
100
102
|
i0.ɵɵelementEnd();
|
|
101
|
-
i0.ɵɵ
|
|
103
|
+
i0.ɵɵelementStart(20, "div", 9)(21, "label");
|
|
104
|
+
i0.ɵɵtext(22, "Website Url");
|
|
102
105
|
i0.ɵɵelementEnd();
|
|
103
|
-
i0.ɵɵ
|
|
104
|
-
i0.ɵɵ
|
|
105
|
-
i0.ɵɵelementEnd();
|
|
106
|
-
i0.ɵɵelement(21, "input", 11)(22, "anatoly-item-validation-summary", 12);
|
|
107
|
-
i0.ɵɵelementEnd()()();
|
|
106
|
+
i0.ɵɵelement(23, "input", 12)(24, "anatoly-item-validation-summary", 13);
|
|
107
|
+
i0.ɵɵelementEnd()()()();
|
|
108
108
|
} if (rf & 2) {
|
|
109
109
|
i0.ɵɵadvance();
|
|
110
110
|
i0.ɵɵproperty("ngIf", ctx.isTitleVisible);
|
|
111
111
|
i0.ɵɵadvance();
|
|
112
112
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
113
|
-
i0.ɵɵadvance();
|
|
113
|
+
i0.ɵɵadvance(2);
|
|
114
114
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0, ctx.isControlInvalid("company_name")));
|
|
115
115
|
i0.ɵɵadvance(4);
|
|
116
116
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
@@ -118,7 +118,7 @@ export class CompanyComponent extends EditComponentBase {
|
|
|
118
118
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0, ctx.isControlInvalid("company_phone")));
|
|
119
119
|
i0.ɵɵadvance(4);
|
|
120
120
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
121
|
-
i0.ɵɵadvance();
|
|
121
|
+
i0.ɵɵadvance(2);
|
|
122
122
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c0, ctx.isControlInvalid("company_email")));
|
|
123
123
|
i0.ɵɵadvance(4);
|
|
124
124
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
@@ -130,9 +130,9 @@ export class CompanyComponent extends EditComponentBase {
|
|
|
130
130
|
}
|
|
131
131
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
132
132
|
type: Component,
|
|
133
|
-
args: [{ selector: 'anatoly-forms-company', template: "<anatoly-card classes='card-outline card-primary'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title' />\r\n <anatoly-card-body [formGroup]='formGroup' >\r\n <div class='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 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 </anatoly-card-body>\r\n</anatoly-card>\r\n" }]
|
|
133
|
+
args: [{ selector: 'anatoly-forms-company', template: "<anatoly-card classes='card-outline card-primary'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title' />\r\n <anatoly-card-body [formGroup]='formGroup' >\r\n <div class=\"row>\">\r\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_name') }\">\r\n <label>Name</label>\r\n <input type='text' class='form-control' formControlName='company_name' placeholder='Company Name'>\r\n <anatoly-item-validation-summary controlName='company_name'\r\n controlTitle='Company Name'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_phone') }\">\r\n <label>Phone</label>\r\n <input type='tel' class='form-control' formControlName='company_phone' placeholder='Company Phone'>\r\n <anatoly-item-validation-summary controlName='company_phone'\r\n controlTitle='Company Phone'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n <div class=\"row>\">\r\n <div class='form-group col-6 mb-0' [ngClass]=\"{'has-error': isControlInvalid('company_email') }\">\r\n <label>Email</label>\r\n <input type='email' class='form-control' formControlName='company_email' placeholder='Company Email'>\r\n <anatoly-item-validation-summary controlName='company_email'\r\n controlTitle='Company Email'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-6 mb-0' [ngClass]=\"{'has-error': isControlInvalid('company_websiteUrl') }\">\r\n <label>Website Url</label>\r\n <input type='url' placeholder='https://example.com' pattern='https://.*' size='30'\r\n class='form-control' formControlName='company_websiteUrl'>\r\n <anatoly-item-validation-summary controlName='company_websiteUrl'\r\n controlTitle='Company website url'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n </anatoly-card-body>\r\n</anatoly-card>\r\n" }]
|
|
134
134
|
}], () => [{ type: i1.FormBuilder }], { company: [{
|
|
135
135
|
type: Input
|
|
136
136
|
}] }); })();
|
|
137
137
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CompanyComponent, { className: "CompanyComponent", filePath: "lib\\ui\\forms\\components\\company\\company.component.ts", lineNumber: 28 }); })();
|
|
138
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFueS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvZm9ybXMvY29tcG9uZW50cy9jb21wYW55L2NvbXBhb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YXJ5IGNvbnRyb2xOYW1lPSdjb21wYW55X25hbWUnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udHJvbFRpdGxlPSdDb21wYW55IE5hbWUnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2Zvcm1Hcm91cF09J2Zvcm1Hcm91cCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZm9ybVN1Ym1pdHRlZF09J2Zvcm1TdWJtaXR0ZWQnPlxyXG4gICAgICAgIDwvYW5hdG9seS1pdGVtLXZhbGlkYXRpb24tc3VtbWFyeT5cclxuICAgICAgPC9kaXY+XHJcbiAgICAgIDxkaXYgY2xhc3M9J2Zvcm0tZ3JvdXAgY29sLTYnIFtuZ0NsYXNzXT1cInsnaGFzLWVycm9yJzogaXNDb250cm9sSW52YWxpZCgnY29tcGFueV9waG9uZScpIH1cIj5cclxuICAgICAgICA8bGFiZWw+UGhvbmU8L2xhYmVsPlxyXG4gICAgICAgIDxpbnB1dCB0eXBlPSd0ZWwnIGNsYXNzPSdmb3JtLWNvbnRyb2wnIGZvcm1Db250cm9sTmFtZT0nY29tcGFueV9waG9uZScgcGxhY2Vob2xkZXI9J0NvbXBhbnkgUGhvbmUnPlxyXG4gICAgICAgIDxhbmF0b2x5LWl0ZW0tdmFsaWRhdGlvbi1zdW1tYXJ5IGNvbnRyb2xOYW1lPSdjb21wYW55X3Bob25lJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRyb2xUaXRsZT0nQ29tcGFueSBQaG9uZSdcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZm9ybUdyb3VwXT0nZm9ybUdyb3VwJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtmb3JtU3VibWl0dGVkXT0nZm9ybVN1Ym1pdHRlZCc+XHJcbiAgICA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bnB1dCB0eXBlPSd1cmwnIHBsYWNlaG9sZGVyPSdodHRwczovL2V4YW1wbGUuY29tJyBwYXR0ZXJuPSdodHRwczovLy4qJyBzaXplPSczMCdcclxuICAgICAgICAgICAgICAgY2xhc3M9J2Zvcm0tY29udHJvbCcgZm9ybUNvbnRyb2xOYW1lPSdjb21wYW55X3dlYnNpdGVVcmwnPlxyXG4gICAgICAgIDxhbmF0b2x5LWl0ZW0tdmFsaWRhdGlvbi1zdW1tYXJ5IGNvbnRyb2xOYW1lPSdjb21wYW55X3dlYnNpdGVVcmwnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udHJvbFRpdGxlPSdDb21wYW55IHdlYnNpdGUgdXJsJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtmb3JtR3JvdXBdPSdmb3JtR3JvdXAnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2Zvcm1TdWJtaXR0ZWRdPSdmb3JtU3VibWl0dGVkJz5cclxuICAgICAgICA8L2FuYXRvbHktaXRlbS12YWxpZGF0aW9uLXN1bW1hcnk+XHJcbiAgICAgIDwvZGl2PlxyXG4gIDwvYW5hdG9seS1jYXJkLWJvZHk+XHJcbjwvYW5hdG9seS1jYXJkPlxyXG4iXX0=
|
|
138
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFueS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvZm9ybXMvY29tcG9uZW50cy9jb21wYW55L2NvbXBhbnkuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5hdG9seS9zcmMvbGliL3VpL2Zvcm1zL2NvbXBvbmVud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djb21wYW55X25hbWUnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udHJvbFRpdGxlPSdDb21wYW55IE5hbWUnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2Zvcm1Hcm91cF09J2Zvcm1Hcm91cCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZm9ybVN1Ym1pdHRlZF09J2Zvcm1TdWJtaXR0ZWQnPlxyXG4gICAgICAgIDwvYW5hdG9seS1pdGVtLXZhbGlkYXRpb24tc3VtbWFyeT5cclxuICAgICAgPC9kaXY+XHJcbiAgICAgIDxkaXYgY2xhc3M9J2Zvcm0tZ3JvdXAgY29sLTYnIFtuZ0NsYXNzXT1cInsnaGFzLWVycm9yJzogaXNDb250cm9sSW52YWxpZCgnY29tcGFueV9waG9uZScpIH1cIj5cclxuICAgICAgICA8bGFiZWw+UGhvbmU8L2xhYmVsPlxyXG4gICAgICAgIDxpbnB1dCB0eXBlPSd0ZWwnIGNsYXNzPSdmb3JtLWNvbnRyb2wnIGZvcm1Db250cm9sTmFtZT0nY29tcGFueV9waG9uZScgcGxhY2Vob2xkZXI9J0NvbXBhbnkgUGhvbmUnPlxyXG4gICAgICAgIDxhbmF0b2x5LWl0ZW0tdmFsaWRhdGlvbi1zdW1tYXJ5IGNvbnRyb2xOYW1lPSdjb21wYW55X3Bob25lJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRyb2xUaXRsZT0nQ29tcGFueSBQaG9uZSdcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZm9ybUdyb3VwXT0nZm9ybUdyb3VwJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtmb3JtU3VibWl0dGVkXT0nZm9ybVN1Ym1pdHRlZCc+XHJcbiAgICAgICAgPC9hbmF0b2x5LWl0ZW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XHJcbiAgICAgICAgPGlucHV0IHR5cGU9J3VybCcgcGxhY2Vob2xkZXI9J2h0dHBzOi8vZXhhbXBsZS5jb20nIHBhdHRlcm49J2h0dHBzOi8vLionIHNpemU9JzMwJ1xyXG4gICAgICAgICAgICAgICBjbGFzcz0nZm9ybS1jb250cm9sJyBmb3JtQ29udHJvbE5hbWU9J2NvbXBhbnlfd2Vic2l0ZVVybCc+XHJcbiAgICAgICAgPGFuYXRvbHktaXRlbS12YWxpZGF0aW9uLXN1bW1hcnkgY29udHJvbE5hbWU9J2NvbXBhbnlfd2Vic2l0ZVVybCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250cm9sVGl0bGU9J0NvbXBhbnkgd2Vic2l0ZSB1cmwnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2Zvcm1Hcm91cF09J2Zvcm1Hcm91cCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZm9ybVN1Ym1pdHRlZF09J2Zvcm1TdWJtaXR0ZWQnPlxyXG4gICAgICAgIDwvYW5hdG9seS1pdGVtLXZhbGlkYXRpb24tc3VtbWFyeT5cclxuICAgICAgPC9kaXY+XHJcbiAgICAgPC9kaXY+XHJcbiAgPC9hbmF0b2x5LWNhcmQtYm9keT5cclxuPC9hbmF0b2x5LWNhcmQ+XHJcbiJdfQ==
|
|
@@ -6567,8 +6567,8 @@ class SubscribePlanButtonComponent {
|
|
|
6567
6567
|
</file>
|
|
6568
6568
|
*/
|
|
6569
6569
|
//Node
|
|
6570
|
-
const _c0$c = [[["
|
|
6571
|
-
const _c1 = ["
|
|
6570
|
+
const _c0$c = [[["card-header"]], [["card-body"]], "*", [["card-footer"]]];
|
|
6571
|
+
const _c1 = ["card-header", "card-body", "*", "card-footer"];
|
|
6572
6572
|
class CardComponent extends ComponentBase {
|
|
6573
6573
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardComponent_BaseFactory; return function CardComponent_Factory(t) { return (ɵCardComponent_BaseFactory || (ɵCardComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardComponent)))(t || CardComponent); }; })(); }
|
|
6574
6574
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardComponent, selectors: [["anatoly-card"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1, decls: 5, vars: 3, template: function CardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -6585,7 +6585,7 @@ class CardComponent extends ComponentBase {
|
|
|
6585
6585
|
}
|
|
6586
6586
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardComponent, [{
|
|
6587
6587
|
type: Component,
|
|
6588
|
-
args: [{ selector: 'anatoly-card', template: "<div class='card {{ classes }}'>\r\n <ng-content select='
|
|
6588
|
+
args: [{ selector: 'anatoly-card', template: "<div class='card {{ classes }}'>\r\n <ng-content select='card-header'></ng-content>\r\n <ng-content select='card-body'></ng-content>\r\n <ng-content></ng-content>\r\n <ng-content select='card-footer'></ng-content>\r\n</div>\r\n" }]
|
|
6589
6589
|
}], null, null); })();
|
|
6590
6590
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardComponent, { className: "CardComponent", filePath: "lib\\ui\\components\\card\\card.component.ts", lineNumber: 26 }); })();
|
|
6591
6591
|
|
|
@@ -7878,7 +7878,7 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
7878
7878
|
</file>
|
|
7879
7879
|
*/
|
|
7880
7880
|
//Node
|
|
7881
|
-
function
|
|
7881
|
+
function NodataComponent_Conditional_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
7882
7882
|
i0.ɵɵelementStart(0, "div");
|
|
7883
7883
|
i0.ɵɵelement(1, "fa-icon", 5);
|
|
7884
7884
|
i0.ɵɵelementEnd();
|
|
@@ -7887,9 +7887,9 @@ function NodataComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
7887
7887
|
i0.ɵɵadvance();
|
|
7888
7888
|
i0.ɵɵproperty("icon", ctx_r1.icon)("size", ctx_r1.iconSize);
|
|
7889
7889
|
} }
|
|
7890
|
-
function
|
|
7890
|
+
function NodataComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7891
7891
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
7892
|
-
i0.ɵɵtemplate(2,
|
|
7892
|
+
i0.ɵɵtemplate(2, NodataComponent_Conditional_0_div_2_Template, 2, 2, "div", 3);
|
|
7893
7893
|
i0.ɵɵelementStart(3, "h3", 4);
|
|
7894
7894
|
i0.ɵɵtext(4);
|
|
7895
7895
|
i0.ɵɵelementEnd();
|
|
@@ -7905,24 +7905,21 @@ function NodataComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
7905
7905
|
const _c0$5 = ["*"];
|
|
7906
7906
|
class NodataComponent {
|
|
7907
7907
|
constructor() {
|
|
7908
|
-
this.dataLoading = false;
|
|
7909
|
-
this.dataLoaded = false;
|
|
7910
|
-
this.dataFound = false;
|
|
7911
7908
|
this.iconSize = '10x';
|
|
7912
7909
|
this.heading = 'No data found';
|
|
7913
7910
|
}
|
|
7914
7911
|
static { this.ɵfac = function NodataComponent_Factory(t) { return new (t || NodataComponent)(); }; }
|
|
7915
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", iconSize: "iconSize", heading: "heading" }, ngContentSelectors: _c0$5, decls: 1, vars: 1, consts: [["class", "no-data"
|
|
7912
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", iconSize: "iconSize", heading: "heading" }, ngContentSelectors: _c0$5, decls: 1, vars: 1, consts: [["class", "no-data"], [1, "no-data"], [1, "loaded", "text-info"], [4, "ngIf"], [1, "no-data-heading"], [3, "icon", "size"]], template: function NodataComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7916
7913
|
i0.ɵɵprojectionDef();
|
|
7917
|
-
i0.ɵɵtemplate(0,
|
|
7914
|
+
i0.ɵɵtemplate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
|
|
7918
7915
|
} if (rf & 2) {
|
|
7919
|
-
i0.ɵɵ
|
|
7916
|
+
i0.ɵɵconditional(0, !ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
|
|
7920
7917
|
} }, dependencies: [i1$2.NgIf, i1$6.FaIconComponent], encapsulation: 2 }); }
|
|
7921
7918
|
}
|
|
7922
7919
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
7923
7920
|
type: Component,
|
|
7924
|
-
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\"
|
|
7925
|
-
}],
|
|
7921
|
+
args: [{ selector: 'anatoly-nodata', template: "@if (!dataLoading && dataLoaded && !dataFound) {\r\n <div class=\"no-data\">\r\n <div class='loaded text-info'>\r\n <div *ngIf='icon'>\r\n <fa-icon [icon]=\"icon\" [size]=\"iconSize\"></fa-icon>\r\n </div>\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" }]
|
|
7922
|
+
}], null, { dataLoading: [{
|
|
7926
7923
|
type: Input
|
|
7927
7924
|
}], dataLoaded: [{
|
|
7928
7925
|
type: Input
|
|
@@ -8859,13 +8856,13 @@ class HoveringDirective {
|
|
|
8859
8856
|
*/
|
|
8860
8857
|
//Node
|
|
8861
8858
|
function AddressComponent_anatoly_card_header_1_Template(rf, ctx) { if (rf & 1) {
|
|
8862
|
-
i0.ɵɵelement(0, "anatoly-card-header",
|
|
8859
|
+
i0.ɵɵelement(0, "anatoly-card-header", 18);
|
|
8863
8860
|
} if (rf & 2) {
|
|
8864
8861
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
8865
8862
|
i0.ɵɵproperty("title", ctx_r0.title);
|
|
8866
8863
|
} }
|
|
8867
|
-
function
|
|
8868
|
-
i0.ɵɵelementStart(0, "option",
|
|
8864
|
+
function AddressComponent_div_18_option_4_Template(rf, ctx) { if (rf & 1) {
|
|
8865
|
+
i0.ɵɵelementStart(0, "option", 21);
|
|
8869
8866
|
i0.ɵɵtext(1);
|
|
8870
8867
|
i0.ɵɵelementEnd();
|
|
8871
8868
|
} if (rf & 2) {
|
|
@@ -8875,16 +8872,16 @@ function AddressComponent_div_16_option_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
8875
8872
|
i0.ɵɵtextInterpolate(state_r4.name);
|
|
8876
8873
|
} }
|
|
8877
8874
|
const _c0$1 = a0 => ({ "has-error": a0 });
|
|
8878
|
-
function
|
|
8875
|
+
function AddressComponent_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
8879
8876
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
8880
|
-
i0.ɵɵelementStart(0, "div",
|
|
8877
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "label");
|
|
8881
8878
|
i0.ɵɵtext(2, "State");
|
|
8882
8879
|
i0.ɵɵelementEnd();
|
|
8883
|
-
i0.ɵɵelementStart(3, "select",
|
|
8884
|
-
i0.ɵɵlistener("change", function
|
|
8885
|
-
i0.ɵɵtemplate(4,
|
|
8880
|
+
i0.ɵɵelementStart(3, "select", 19);
|
|
8881
|
+
i0.ɵɵlistener("change", function AddressComponent_div_18_Template_select_change_3_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.onUSStateChange($event)); });
|
|
8882
|
+
i0.ɵɵtemplate(4, AddressComponent_div_18_option_4_Template, 2, 2, "option", 16);
|
|
8886
8883
|
i0.ɵɵelementEnd();
|
|
8887
|
-
i0.ɵɵelement(5, "anatoly-item-validation-summary",
|
|
8884
|
+
i0.ɵɵelement(5, "anatoly-item-validation-summary", 20);
|
|
8888
8885
|
i0.ɵɵelementEnd();
|
|
8889
8886
|
} if (rf & 2) {
|
|
8890
8887
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -8894,8 +8891,8 @@ function AddressComponent_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
8894
8891
|
i0.ɵɵadvance();
|
|
8895
8892
|
i0.ɵɵproperty("formGroup", ctx_r1.formGroup)("formSubmitted", ctx_r1.formSubmitted);
|
|
8896
8893
|
} }
|
|
8897
|
-
function
|
|
8898
|
-
i0.ɵɵelementStart(0, "option",
|
|
8894
|
+
function AddressComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
8895
|
+
i0.ɵɵelementStart(0, "option", 21);
|
|
8899
8896
|
i0.ɵɵtext(1);
|
|
8900
8897
|
i0.ɵɵelementEnd();
|
|
8901
8898
|
} if (rf & 2) {
|
|
@@ -8997,43 +8994,43 @@ class AddressComponent extends EditComponentBase {
|
|
|
8997
8994
|
this.change.emit(usState);
|
|
8998
8995
|
}
|
|
8999
8996
|
static { this.ɵfac = function AddressComponent_Factory(t) { return new (t || AddressComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(CoreApiService)); }; }
|
|
9000
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddressComponent, selectors: [["anatoly-forms-address"]], inputs: { address: "address" }, outputs: { change: "change" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
8997
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddressComponent, selectors: [["anatoly-forms-address"]], inputs: { address: "address" }, outputs: { change: "change" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 29, consts: [["classes", "card-outline card-primary"], [3, "title", 4, "ngIf"], [3, "formGroup"], [1, "row>"], [1, "form-group", 3, "ngClass"], ["type", "text", "formControlName", "address_street", "placeholder", "Street Address", 1, "form-control"], ["controlName", "address_street", "controlTitle", "Street", 3, "formGroup", "formSubmitted"], ["type", "text", "formControlName", "address_street2", "placeholder", "Apartment, suite, unit, building, floor, etc.", 1, "form-control"], ["controlName", "address_street2", "controlTitle", "Street2", 3, "formGroup", "formSubmitted"], [1, "form-group", "col-3", "mb-0", 3, "ngClass"], ["type", "text", "formControlName", "address_city", "placeholder", "City", 1, "form-control"], ["controlName", "address_city", "controlTitle", "City", 3, "formGroup", "formSubmitted"], ["class", "form-group col-3 mb-0", 3, "ngClass", 4, "ngIf"], ["type", "text", "formControlName", "address_zipcode", "placeholder", "zipcode", 1, "form-control"], ["controlName", "address_zipcode", "controlTitle", "zipcode", 3, "formGroup", "formSubmitted"], ["formControlName", "address_country", "data-placeholder", "Select a Country", 1, "form-control", 3, "change"], [3, "value", 4, "ngFor", "ngForOf"], ["controlName", "address_country", "controlTitle", "Country", 3, "formGroup", "formSubmitted"], [3, "title"], ["formControlName", "address_stateOrRegion", 1, "form-control", 3, "change"], ["controlName", "address_stateOrRegion", "controlTitle", "State", 3, "formGroup", "formSubmitted"], [3, "value"]], template: function AddressComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9001
8998
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
9002
8999
|
i0.ɵɵtemplate(1, AddressComponent_anatoly_card_header_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
9003
|
-
i0.ɵɵelementStart(2, "anatoly-card-body", 2)(3, "div", 3)(4, "label");
|
|
9004
|
-
i0.ɵɵtext(
|
|
9005
|
-
i0.ɵɵelementEnd();
|
|
9006
|
-
i0.ɵɵelement(6, "input", 4)(7, "anatoly-item-validation-summary", 5);
|
|
9000
|
+
i0.ɵɵelementStart(2, "anatoly-card-body", 2)(3, "div", 3)(4, "div", 4)(5, "label");
|
|
9001
|
+
i0.ɵɵtext(6, "Street Address");
|
|
9007
9002
|
i0.ɵɵelementEnd();
|
|
9008
|
-
i0.ɵɵ
|
|
9009
|
-
i0.ɵɵelement(9, "input", 6)(10, "anatoly-item-validation-summary", 7);
|
|
9003
|
+
i0.ɵɵelement(7, "input", 5)(8, "anatoly-item-validation-summary", 6);
|
|
9010
9004
|
i0.ɵɵelementEnd();
|
|
9011
|
-
i0.ɵɵelementStart(
|
|
9012
|
-
i0.ɵɵ
|
|
9005
|
+
i0.ɵɵelementStart(9, "div", 4);
|
|
9006
|
+
i0.ɵɵelement(10, "input", 7)(11, "anatoly-item-validation-summary", 8);
|
|
9007
|
+
i0.ɵɵelementEnd()();
|
|
9008
|
+
i0.ɵɵelementStart(12, "div", 3)(13, "div", 9)(14, "label");
|
|
9009
|
+
i0.ɵɵtext(15, "City");
|
|
9013
9010
|
i0.ɵɵelementEnd();
|
|
9014
|
-
i0.ɵɵelement(
|
|
9011
|
+
i0.ɵɵelement(16, "input", 10)(17, "anatoly-item-validation-summary", 11);
|
|
9015
9012
|
i0.ɵɵelementEnd();
|
|
9016
|
-
i0.ɵɵtemplate(
|
|
9017
|
-
i0.ɵɵelementStart(
|
|
9018
|
-
i0.ɵɵtext(
|
|
9013
|
+
i0.ɵɵtemplate(18, AddressComponent_div_18_Template, 6, 6, "div", 12);
|
|
9014
|
+
i0.ɵɵelementStart(19, "div", 9)(20, "label");
|
|
9015
|
+
i0.ɵɵtext(21, "Zipcode");
|
|
9019
9016
|
i0.ɵɵelementEnd();
|
|
9020
|
-
i0.ɵɵelement(
|
|
9017
|
+
i0.ɵɵelement(22, "input", 13)(23, "anatoly-item-validation-summary", 14);
|
|
9021
9018
|
i0.ɵɵelementEnd();
|
|
9022
|
-
i0.ɵɵelementStart(
|
|
9023
|
-
i0.ɵɵtext(
|
|
9019
|
+
i0.ɵɵelementStart(24, "div", 9)(25, "label");
|
|
9020
|
+
i0.ɵɵtext(26, "Country");
|
|
9024
9021
|
i0.ɵɵelementEnd();
|
|
9025
|
-
i0.ɵɵelementStart(
|
|
9026
|
-
i0.ɵɵlistener("change", function
|
|
9027
|
-
i0.ɵɵtemplate(
|
|
9022
|
+
i0.ɵɵelementStart(27, "select", 15);
|
|
9023
|
+
i0.ɵɵlistener("change", function AddressComponent_Template_select_change_27_listener($event) { return ctx.onCountryChange($event); });
|
|
9024
|
+
i0.ɵɵtemplate(28, AddressComponent_option_28_Template, 2, 2, "option", 16);
|
|
9028
9025
|
i0.ɵɵelementEnd();
|
|
9029
|
-
i0.ɵɵelement(
|
|
9030
|
-
i0.ɵɵelementEnd()()();
|
|
9026
|
+
i0.ɵɵelement(29, "anatoly-item-validation-summary", 17);
|
|
9027
|
+
i0.ɵɵelementEnd()()()();
|
|
9031
9028
|
} if (rf & 2) {
|
|
9032
9029
|
i0.ɵɵadvance();
|
|
9033
9030
|
i0.ɵɵproperty("ngIf", ctx.isTitleVisible);
|
|
9034
9031
|
i0.ɵɵadvance();
|
|
9035
9032
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
9036
|
-
i0.ɵɵadvance();
|
|
9033
|
+
i0.ɵɵadvance(2);
|
|
9037
9034
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$1, ctx.isControlInvalid("address_street")));
|
|
9038
9035
|
i0.ɵɵadvance(4);
|
|
9039
9036
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
@@ -9041,7 +9038,7 @@ class AddressComponent extends EditComponentBase {
|
|
|
9041
9038
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$1, ctx.isControlInvalid("address_street2")));
|
|
9042
9039
|
i0.ɵɵadvance(2);
|
|
9043
9040
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9044
|
-
i0.ɵɵadvance();
|
|
9041
|
+
i0.ɵɵadvance(2);
|
|
9045
9042
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$1, ctx.isControlInvalid("address_city")));
|
|
9046
9043
|
i0.ɵɵadvance(4);
|
|
9047
9044
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
@@ -9061,7 +9058,7 @@ class AddressComponent extends EditComponentBase {
|
|
|
9061
9058
|
}
|
|
9062
9059
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
|
|
9063
9060
|
type: Component,
|
|
9064
|
-
args: [{ selector: 'anatoly-forms-address', template: "<anatoly-card classes='card-outline card-primary'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title' />\r\n <anatoly-card-body [formGroup]='formGroup'>\r\n <div class='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 class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_city')}\">\r\n <label>City</label>\r\n <input type='text' class='form-control' formControlName='address_city' placeholder='City'>\r\n <anatoly-item-validation-summary controlName='address_city'\r\n controlTitle='City'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-3 mb-0' *ngIf=\"formGroup.value.address_country == 'US'\" [ngClass]=\"{'has-error': isControlInvalid('address_stateOrRegion')}\">\r\n <label>State</label>\r\n <select class='form-control' (change)='onUSStateChange($event)' formControlName='address_stateOrRegion'>\r\n <option *ngFor='let state of usStateData' [value]='state.code'>{{state.name}}</option>\r\n </select>\r\n <anatoly-item-validation-summary controlName='address_stateOrRegion'\r\n controlTitle='State'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_zipcode')}\" >\r\n <label>
|
|
9061
|
+
args: [{ selector: 'anatoly-forms-address', template: "<anatoly-card classes='card-outline card-primary'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title' />\r\n <anatoly-card-body [formGroup]='formGroup'>\r\n <div class=\"row>\">\r\n <div class='form-group' [ngClass]=\"{'has-error': isControlInvalid('address_street')}\" >\r\n <label>Street Address</label>\r\n <input type='text' class='form-control' formControlName='address_street' placeholder='Street Address'>\r\n <anatoly-item-validation-summary controlName='address_street'\r\n controlTitle='Street'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group' [ngClass]=\"{'has-error': isControlInvalid('address_street2')}\" >\r\n <input type='text' class='form-control' formControlName='address_street2' placeholder='Apartment, suite, unit, building, floor, etc.'>\r\n <anatoly-item-validation-summary controlName='address_street2'\r\n controlTitle='Street2'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n <div class=\"row>\">\r\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_city')}\">\r\n <label>City</label>\r\n <input type='text' class='form-control' formControlName='address_city' placeholder='City'>\r\n <anatoly-item-validation-summary controlName='address_city'\r\n controlTitle='City'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-3 mb-0' *ngIf=\"formGroup.value.address_country == 'US'\" [ngClass]=\"{'has-error': isControlInvalid('address_stateOrRegion')}\">\r\n <label>State</label>\r\n <select class='form-control' (change)='onUSStateChange($event)' formControlName='address_stateOrRegion'>\r\n <option *ngFor='let state of usStateData' [value]='state.code'>{{state.name}}</option>\r\n </select>\r\n <anatoly-item-validation-summary controlName='address_stateOrRegion'\r\n controlTitle='State'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_zipcode')}\" >\r\n <label>Zipcode</label>\r\n <input type='text' class='form-control' formControlName='address_zipcode' placeholder='zipcode'>\r\n <anatoly-item-validation-summary controlName='address_zipcode'\r\n controlTitle='zipcode'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-3 mb-0' [ngClass]=\"{'has-error': isControlInvalid('address_country')}\">\r\n <label>Country</label>\r\n <select class='form-control' (change)='onCountryChange($event)' formControlName='address_country' data-placeholder='Select a Country'>\r\n <option *ngFor='let country of countryData' [value]='country.code'>{{country.name}}</option>\r\n </select>\r\n <anatoly-item-validation-summary controlName='address_country'\r\n controlTitle='Country'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n </anatoly-card-body>\r\n</anatoly-card>\r\n" }]
|
|
9065
9062
|
}], () => [{ type: i2.FormBuilder }, { type: CoreApiService }], { address: [{
|
|
9066
9063
|
type: Input
|
|
9067
9064
|
}], change: [{
|
|
@@ -9086,7 +9083,7 @@ class AddressComponent extends EditComponentBase {
|
|
|
9086
9083
|
*/
|
|
9087
9084
|
//Node
|
|
9088
9085
|
function CompanyComponent_anatoly_card_header_1_Template(rf, ctx) { if (rf & 1) {
|
|
9089
|
-
i0.ɵɵelement(0, "anatoly-card-header",
|
|
9086
|
+
i0.ɵɵelement(0, "anatoly-card-header", 14);
|
|
9090
9087
|
} if (rf & 2) {
|
|
9091
9088
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
9092
9089
|
i0.ɵɵproperty("title", ctx_r0.title);
|
|
@@ -9142,35 +9139,35 @@ class CompanyComponent extends EditComponentBase {
|
|
|
9142
9139
|
return JSON.stringify(data);
|
|
9143
9140
|
}
|
|
9144
9141
|
static { this.ɵfac = function CompanyComponent_Factory(t) { return new (t || CompanyComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder)); }; }
|
|
9145
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyComponent, selectors: [["anatoly-forms-company"]], inputs: { company: "company" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
9142
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyComponent, selectors: [["anatoly-forms-company"]], inputs: { company: "company" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 22, consts: [["classes", "card-outline card-primary"], [3, "title", 4, "ngIf"], [3, "formGroup"], [1, "row>"], [1, "form-group", "col-6", 3, "ngClass"], ["type", "text", "formControlName", "company_name", "placeholder", "Company Name", 1, "form-control"], ["controlName", "company_name", "controlTitle", "Company Name", 3, "formGroup", "formSubmitted"], ["type", "tel", "formControlName", "company_phone", "placeholder", "Company Phone", 1, "form-control"], ["controlName", "company_phone", "controlTitle", "Company Phone", 3, "formGroup", "formSubmitted"], [1, "form-group", "col-6", "mb-0", 3, "ngClass"], ["type", "email", "formControlName", "company_email", "placeholder", "Company Email", 1, "form-control"], ["controlName", "company_email", "controlTitle", "Company Email", 3, "formGroup", "formSubmitted"], ["type", "url", "placeholder", "https://example.com", "pattern", "https://.*", "size", "30", "formControlName", "company_websiteUrl", 1, "form-control"], ["controlName", "company_websiteUrl", "controlTitle", "Company website url", 3, "formGroup", "formSubmitted"], [3, "title"]], template: function CompanyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9146
9143
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
9147
9144
|
i0.ɵɵtemplate(1, CompanyComponent_anatoly_card_header_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
9148
|
-
i0.ɵɵelementStart(2, "anatoly-card-body", 2)(3, "div", 3)(4, "label");
|
|
9149
|
-
i0.ɵɵtext(
|
|
9145
|
+
i0.ɵɵelementStart(2, "anatoly-card-body", 2)(3, "div", 3)(4, "div", 4)(5, "label");
|
|
9146
|
+
i0.ɵɵtext(6, "Name");
|
|
9150
9147
|
i0.ɵɵelementEnd();
|
|
9151
|
-
i0.ɵɵelement(
|
|
9148
|
+
i0.ɵɵelement(7, "input", 5)(8, "anatoly-item-validation-summary", 6);
|
|
9152
9149
|
i0.ɵɵelementEnd();
|
|
9153
|
-
i0.ɵɵelementStart(
|
|
9154
|
-
i0.ɵɵtext(
|
|
9150
|
+
i0.ɵɵelementStart(9, "div", 4)(10, "label");
|
|
9151
|
+
i0.ɵɵtext(11, "Phone");
|
|
9155
9152
|
i0.ɵɵelementEnd();
|
|
9156
|
-
i0.ɵɵelement(
|
|
9157
|
-
i0.ɵɵelementEnd();
|
|
9158
|
-
i0.ɵɵelementStart(
|
|
9159
|
-
i0.ɵɵtext(
|
|
9153
|
+
i0.ɵɵelement(12, "input", 7)(13, "anatoly-item-validation-summary", 8);
|
|
9154
|
+
i0.ɵɵelementEnd()();
|
|
9155
|
+
i0.ɵɵelementStart(14, "div", 3)(15, "div", 9)(16, "label");
|
|
9156
|
+
i0.ɵɵtext(17, "Email");
|
|
9160
9157
|
i0.ɵɵelementEnd();
|
|
9161
|
-
i0.ɵɵelement(
|
|
9158
|
+
i0.ɵɵelement(18, "input", 10)(19, "anatoly-item-validation-summary", 11);
|
|
9162
9159
|
i0.ɵɵelementEnd();
|
|
9163
|
-
i0.ɵɵelementStart(
|
|
9164
|
-
i0.ɵɵtext(
|
|
9160
|
+
i0.ɵɵelementStart(20, "div", 9)(21, "label");
|
|
9161
|
+
i0.ɵɵtext(22, "Website Url");
|
|
9165
9162
|
i0.ɵɵelementEnd();
|
|
9166
|
-
i0.ɵɵelement(
|
|
9167
|
-
i0.ɵɵelementEnd()()();
|
|
9163
|
+
i0.ɵɵelement(23, "input", 12)(24, "anatoly-item-validation-summary", 13);
|
|
9164
|
+
i0.ɵɵelementEnd()()()();
|
|
9168
9165
|
} if (rf & 2) {
|
|
9169
9166
|
i0.ɵɵadvance();
|
|
9170
9167
|
i0.ɵɵproperty("ngIf", ctx.isTitleVisible);
|
|
9171
9168
|
i0.ɵɵadvance();
|
|
9172
9169
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
9173
|
-
i0.ɵɵadvance();
|
|
9170
|
+
i0.ɵɵadvance(2);
|
|
9174
9171
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0, ctx.isControlInvalid("company_name")));
|
|
9175
9172
|
i0.ɵɵadvance(4);
|
|
9176
9173
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
@@ -9178,7 +9175,7 @@ class CompanyComponent extends EditComponentBase {
|
|
|
9178
9175
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0, ctx.isControlInvalid("company_phone")));
|
|
9179
9176
|
i0.ɵɵadvance(4);
|
|
9180
9177
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9181
|
-
i0.ɵɵadvance();
|
|
9178
|
+
i0.ɵɵadvance(2);
|
|
9182
9179
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c0, ctx.isControlInvalid("company_email")));
|
|
9183
9180
|
i0.ɵɵadvance(4);
|
|
9184
9181
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
@@ -9190,7 +9187,7 @@ class CompanyComponent extends EditComponentBase {
|
|
|
9190
9187
|
}
|
|
9191
9188
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
9192
9189
|
type: Component,
|
|
9193
|
-
args: [{ selector: 'anatoly-forms-company', template: "<anatoly-card classes='card-outline card-primary'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title' />\r\n <anatoly-card-body [formGroup]='formGroup' >\r\n <div class='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 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 </anatoly-card-body>\r\n</anatoly-card>\r\n" }]
|
|
9190
|
+
args: [{ selector: 'anatoly-forms-company', template: "<anatoly-card classes='card-outline card-primary'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title' />\r\n <anatoly-card-body [formGroup]='formGroup' >\r\n <div class=\"row>\">\r\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_name') }\">\r\n <label>Name</label>\r\n <input type='text' class='form-control' formControlName='company_name' placeholder='Company Name'>\r\n <anatoly-item-validation-summary controlName='company_name'\r\n controlTitle='Company Name'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_phone') }\">\r\n <label>Phone</label>\r\n <input type='tel' class='form-control' formControlName='company_phone' placeholder='Company Phone'>\r\n <anatoly-item-validation-summary controlName='company_phone'\r\n controlTitle='Company Phone'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n <div class=\"row>\">\r\n <div class='form-group col-6 mb-0' [ngClass]=\"{'has-error': isControlInvalid('company_email') }\">\r\n <label>Email</label>\r\n <input type='email' class='form-control' formControlName='company_email' placeholder='Company Email'>\r\n <anatoly-item-validation-summary controlName='company_email'\r\n controlTitle='Company Email'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div class='form-group col-6 mb-0' [ngClass]=\"{'has-error': isControlInvalid('company_websiteUrl') }\">\r\n <label>Website Url</label>\r\n <input type='url' placeholder='https://example.com' pattern='https://.*' size='30'\r\n class='form-control' formControlName='company_websiteUrl'>\r\n <anatoly-item-validation-summary controlName='company_websiteUrl'\r\n controlTitle='Company website url'\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n </anatoly-card-body>\r\n</anatoly-card>\r\n" }]
|
|
9194
9191
|
}], () => [{ type: i2.FormBuilder }], { company: [{
|
|
9195
9192
|
type: Input
|
|
9196
9193
|
}] }); })();
|
|
@@ -9456,6 +9453,49 @@ class AnatolyCoreModule {
|
|
|
9456
9453
|
LocalizationSettingsModule,
|
|
9457
9454
|
LocalizationModule] }); })();
|
|
9458
9455
|
|
|
9456
|
+
/*
|
|
9457
|
+
<file>
|
|
9458
|
+
Project:
|
|
9459
|
+
@osovitny/anatoly
|
|
9460
|
+
|
|
9461
|
+
Authors:
|
|
9462
|
+
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
9463
|
+
|
|
9464
|
+
Created:
|
|
9465
|
+
10 Nov 2024
|
|
9466
|
+
|
|
9467
|
+
Copyright (c) 2017-2025 Osovitny Inc. All rights reserved.
|
|
9468
|
+
</file>
|
|
9469
|
+
*/
|
|
9470
|
+
//Node
|
|
9471
|
+
class SubscriptionsApiService extends ApiServiceBase {
|
|
9472
|
+
constructor(http) {
|
|
9473
|
+
super(http);
|
|
9474
|
+
this.http = http;
|
|
9475
|
+
this.baseUrl = `${ApiUrl}/billing/subscriptions`;
|
|
9476
|
+
}
|
|
9477
|
+
getSubscriptions(data) {
|
|
9478
|
+
return this.get('getSubscriptions', data);
|
|
9479
|
+
}
|
|
9480
|
+
addSubscription(billingPlan, currentSubscriptionId, newSubscriptionId, success, error) {
|
|
9481
|
+
this.post('addSubscription', { billingPlan, currentSubscriptionId, newSubscriptionId }).subscribe({
|
|
9482
|
+
next: (data) => {
|
|
9483
|
+
if (success)
|
|
9484
|
+
success(data);
|
|
9485
|
+
},
|
|
9486
|
+
error: (e) => {
|
|
9487
|
+
if (error)
|
|
9488
|
+
error(e);
|
|
9489
|
+
}
|
|
9490
|
+
});
|
|
9491
|
+
}
|
|
9492
|
+
static { this.ɵfac = function SubscriptionsApiService_Factory(t) { return new (t || SubscriptionsApiService)(i0.ɵɵinject(i1$1.HttpClient)); }; }
|
|
9493
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SubscriptionsApiService, factory: SubscriptionsApiService.ɵfac }); }
|
|
9494
|
+
}
|
|
9495
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscriptionsApiService, [{
|
|
9496
|
+
type: Injectable
|
|
9497
|
+
}], () => [{ type: i1$1.HttpClient }], null); })();
|
|
9498
|
+
|
|
9459
9499
|
/*
|
|
9460
9500
|
<file>
|
|
9461
9501
|
Project:
|
|
@@ -9480,6 +9520,7 @@ class AnatolyDataModule {
|
|
|
9480
9520
|
CurrenciesStorageService,
|
|
9481
9521
|
DiscountCodesApiService,
|
|
9482
9522
|
PaymentsApiService,
|
|
9523
|
+
SubscriptionsApiService,
|
|
9483
9524
|
TransactionsApiService,
|
|
9484
9525
|
//App
|
|
9485
9526
|
CoreApiService,
|
|
@@ -9498,6 +9539,7 @@ class AnatolyDataModule {
|
|
|
9498
9539
|
CurrenciesStorageService,
|
|
9499
9540
|
DiscountCodesApiService,
|
|
9500
9541
|
PaymentsApiService,
|
|
9542
|
+
SubscriptionsApiService,
|
|
9501
9543
|
TransactionsApiService,
|
|
9502
9544
|
//App
|
|
9503
9545
|
CoreApiService,
|