@osovitny/anatoly 2.15.5 → 2.15.7
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/assets/styles/scss/alerts.css +177 -0
- package/assets/styles/scss/alerts.min.css +1 -0
- package/assets/styles/scss/alerts.scss +98 -72
- package/assets/styles/scss/mixins/_cards.css +0 -0
- package/assets/styles/scss/mixins/_cards.min.css +0 -0
- package/assets/styles/scss/mixins/_cards.scss +4 -4
- package/esm2020/lib/core/utils.mjs +4 -1
- package/esm2020/lib/ui/dialogs/contact-us/contact-us.dialog.mjs +3 -3
- package/esm2020/lib/ui/forms/contact-us/contact-us.mjs +41 -55
- package/fesm2015/osovitny-anatoly.mjs +58 -72
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +58 -69
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/core/utils.d.ts +1 -0
- package/lib/ui/forms/contact-us/contact-us.d.ts +4 -4
- package/package.json +1 -1
|
@@ -24,13 +24,13 @@ import * as i1$6 from '@fortawesome/angular-fontawesome';
|
|
|
24
24
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
25
25
|
import * as i1$7 from '@progress/kendo-angular-pager';
|
|
26
26
|
import { PagerModule } from '@progress/kendo-angular-pager';
|
|
27
|
-
import * as
|
|
27
|
+
import * as i2 from '@angular/forms';
|
|
28
28
|
import { FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
29
|
-
import * as i1$
|
|
29
|
+
import * as i1$8 from 'angular-froala-wysiwyg';
|
|
30
30
|
import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg';
|
|
31
|
-
import * as i2 from '@progress/kendo-angular-dialog';
|
|
31
|
+
import * as i2$1 from '@progress/kendo-angular-dialog';
|
|
32
32
|
import { DialogsModule } from '@progress/kendo-angular-dialog';
|
|
33
|
-
import * as
|
|
33
|
+
import * as i1$9 from 'ngx-captcha';
|
|
34
34
|
import { NgxCaptchaModule } from 'ngx-captcha';
|
|
35
35
|
import { faCheckCircle, faCircleXmark, faDatabase, faCopy } from '@fortawesome/free-solid-svg-icons';
|
|
36
36
|
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
@@ -2019,6 +2019,9 @@ class Utils {
|
|
|
2019
2019
|
static generateRandom(start, end) {
|
|
2020
2020
|
return Math.floor(Math.random() * (end - start + 1)) + start;
|
|
2021
2021
|
}
|
|
2022
|
+
static isObjectNullOrEmpty(obj) {
|
|
2023
|
+
return !obj || Object.keys(obj).length == 0;
|
|
2024
|
+
}
|
|
2022
2025
|
}
|
|
2023
2026
|
|
|
2024
2027
|
/*
|
|
@@ -3126,11 +3129,11 @@ Copy2ClipboardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Cop
|
|
|
3126
3129
|
</file>
|
|
3127
3130
|
*/
|
|
3128
3131
|
const _c0$9 = [[["mex-card-header"]], [["mex-card-body"]], "*", [["mex-card-footer"]]];
|
|
3129
|
-
const _c1
|
|
3132
|
+
const _c1 = ["mex-card-header", "mex-card-body", "*", "mex-card-footer"];
|
|
3130
3133
|
class CardComponent {
|
|
3131
3134
|
}
|
|
3132
3135
|
CardComponent.ɵfac = function CardComponent_Factory(t) { return new (t || CardComponent)(); };
|
|
3133
|
-
CardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardComponent, selectors: [["anatoly-card"]], inputs: { classes: "classes" }, ngContentSelectors: _c1
|
|
3136
|
+
CardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardComponent, selectors: [["anatoly-card"]], inputs: { classes: "classes" }, ngContentSelectors: _c1, decls: 5, vars: 3, template: function CardComponent_Template(rf, ctx) {
|
|
3134
3137
|
if (rf & 1) {
|
|
3135
3138
|
i0.ɵɵprojectionDef(_c0$9);
|
|
3136
3139
|
i0.ɵɵelementStart(0, "div");
|
|
@@ -3692,7 +3695,7 @@ class NativeElementDirective {
|
|
|
3692
3695
|
this.control.control.nativeElement = this.el.nativeElement;
|
|
3693
3696
|
}
|
|
3694
3697
|
}
|
|
3695
|
-
NativeElementDirective.ɵfac = function NativeElementDirective_Factory(t) { return new (t || NativeElementDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(
|
|
3698
|
+
NativeElementDirective.ɵfac = function NativeElementDirective_Factory(t) { return new (t || NativeElementDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i2.NgControl)); };
|
|
3696
3699
|
NativeElementDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: NativeElementDirective, selectors: [["", "formControl", ""], ["", "formControlName", ""]] });
|
|
3697
3700
|
(function () {
|
|
3698
3701
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeElementDirective, [{
|
|
@@ -3700,7 +3703,7 @@ NativeElementDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Nati
|
|
|
3700
3703
|
args: [{
|
|
3701
3704
|
selector: '[formControl], [formControlName]'
|
|
3702
3705
|
}]
|
|
3703
|
-
}], function () { return [{ type: i0.ElementRef }, { type:
|
|
3706
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i2.NgControl }]; }, null);
|
|
3704
3707
|
})();
|
|
3705
3708
|
|
|
3706
3709
|
/*
|
|
@@ -3938,7 +3941,7 @@ FormsHtmlEditorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Fo
|
|
|
3938
3941
|
i0.ɵɵadvance(1);
|
|
3939
3942
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted)("controlName", ctx.editorFormKey)("controlTitle", ctx.editorLabelText);
|
|
3940
3943
|
}
|
|
3941
|
-
}, dependencies: [i1$5.NgClass,
|
|
3944
|
+
}, dependencies: [i1$5.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i1$8.FroalaEditorDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
3942
3945
|
(function () {
|
|
3943
3946
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormsHtmlEditorComponent, [{
|
|
3944
3947
|
type: Component,
|
|
@@ -4000,7 +4003,7 @@ HtmlEditorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HtmlEdi
|
|
|
4000
4003
|
i0.ɵɵadvance(1);
|
|
4001
4004
|
i0.ɵɵproperty("froalaEditor", ctx.options);
|
|
4002
4005
|
}
|
|
4003
|
-
}, dependencies: [i1$
|
|
4006
|
+
}, dependencies: [i1$8.FroalaEditorDirective], encapsulation: 2 });
|
|
4004
4007
|
(function () {
|
|
4005
4008
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
|
|
4006
4009
|
type: Component,
|
|
@@ -4356,18 +4359,17 @@ FormValidationSummaryComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
4356
4359
|
Copyright (c) 2017-2022 Osovitny Inc. All rights reserved.
|
|
4357
4360
|
</file>
|
|
4358
4361
|
*/
|
|
4359
|
-
const _c0$4 = ["recaptcha"];
|
|
4360
4362
|
function ContactUsForm_option_12_Template(rf, ctx) {
|
|
4361
4363
|
if (rf & 1) {
|
|
4362
|
-
i0.ɵɵelementStart(0, "option",
|
|
4364
|
+
i0.ɵɵelementStart(0, "option", 28);
|
|
4363
4365
|
i0.ɵɵtext(1);
|
|
4364
4366
|
i0.ɵɵelementEnd();
|
|
4365
4367
|
}
|
|
4366
4368
|
if (rf & 2) {
|
|
4367
|
-
const
|
|
4368
|
-
i0.ɵɵproperty("value",
|
|
4369
|
+
const topic_r3 = ctx.$implicit;
|
|
4370
|
+
i0.ɵɵproperty("value", topic_r3.value);
|
|
4369
4371
|
i0.ɵɵadvance(1);
|
|
4370
|
-
i0.ɵɵtextInterpolate1("",
|
|
4372
|
+
i0.ɵɵtextInterpolate1("", topic_r3.value, " ");
|
|
4371
4373
|
}
|
|
4372
4374
|
}
|
|
4373
4375
|
function ContactUsForm_p_23_Template(rf, ctx) {
|
|
@@ -4377,21 +4379,22 @@ function ContactUsForm_p_23_Template(rf, ctx) {
|
|
|
4377
4379
|
i0.ɵɵelementEnd();
|
|
4378
4380
|
}
|
|
4379
4381
|
}
|
|
4380
|
-
function
|
|
4382
|
+
function ContactUsForm_button_38_Template(rf, ctx) {
|
|
4381
4383
|
if (rf & 1) {
|
|
4382
|
-
i0.ɵɵelementStart(0, "button",
|
|
4384
|
+
i0.ɵɵelementStart(0, "button", 29);
|
|
4383
4385
|
i0.ɵɵtext(1, " Submit ");
|
|
4384
4386
|
i0.ɵɵelementEnd();
|
|
4385
4387
|
}
|
|
4386
4388
|
if (rf & 2) {
|
|
4387
|
-
const
|
|
4388
|
-
i0.ɵɵclassProp("btn-primary", !
|
|
4389
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
4390
|
+
i0.ɵɵclassProp("btn-primary", !ctx_r2.formGroup.invalid);
|
|
4389
4391
|
}
|
|
4390
4392
|
}
|
|
4391
|
-
const
|
|
4393
|
+
const _c0$4 = function (a0) { return { "has-error": a0 }; };
|
|
4392
4394
|
class ContactUsForm extends BaseEditComponent {
|
|
4393
|
-
constructor(fb, appContext, api, notificationService) {
|
|
4395
|
+
constructor(reCaptcha, fb, appContext, api, notificationService) {
|
|
4394
4396
|
super();
|
|
4397
|
+
this.reCaptcha = reCaptcha;
|
|
4395
4398
|
this.fb = fb;
|
|
4396
4399
|
this.appContext = appContext;
|
|
4397
4400
|
this.api = api;
|
|
@@ -4417,7 +4420,6 @@ class ContactUsForm extends BaseEditComponent {
|
|
|
4417
4420
|
}
|
|
4418
4421
|
createFormGroup() {
|
|
4419
4422
|
this.formGroup = this.fb.group({
|
|
4420
|
-
captcha: new FormControl(null, [Validators.required]),
|
|
4421
4423
|
name: new FormControl('', [Validators.required]),
|
|
4422
4424
|
email: new FormControl('', [Validators.required]),
|
|
4423
4425
|
topic: new FormControl('', [Validators.required]),
|
|
@@ -4427,7 +4429,7 @@ class ContactUsForm extends BaseEditComponent {
|
|
|
4427
4429
|
}
|
|
4428
4430
|
setContext(context) {
|
|
4429
4431
|
this.isUserSignedIn = context.isUserSignedIn;
|
|
4430
|
-
this.
|
|
4432
|
+
this.reCaptchaSiteKey = context.reCaptchaSiteKeyV3;
|
|
4431
4433
|
this.selectedTopic = this.topicList[3].value;
|
|
4432
4434
|
this.setFormValue('topic', this.selectedTopic);
|
|
4433
4435
|
if (this.isUserSignedIn) {
|
|
@@ -4442,20 +4444,20 @@ class ContactUsForm extends BaseEditComponent {
|
|
|
4442
4444
|
this.formSubmitted = true;
|
|
4443
4445
|
if (!this.isValid())
|
|
4444
4446
|
return;
|
|
4445
|
-
const captcha = this.getFormValue('captcha');
|
|
4446
4447
|
const name = this.getFormValue('name');
|
|
4447
4448
|
const email = this.getFormValue('email');
|
|
4448
4449
|
const topic = this.selectedTopic;
|
|
4449
4450
|
const subject = this.getFormValue('subject');
|
|
4450
4451
|
const message = this.getFormValue('message');
|
|
4451
|
-
this.
|
|
4452
|
-
this.
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4452
|
+
this.reCaptcha.execute(this.reCaptchaSiteKey, 'ContactUs', (token) => {
|
|
4453
|
+
this.api.sendContactUs(token, name, email, topic, subject, message, () => {
|
|
4454
|
+
this.formSubmitted = false;
|
|
4455
|
+
this.notificationService.success('Message has been sent successfully');
|
|
4456
|
+
this.formGroup.reset();
|
|
4457
|
+
this.submit.emit();
|
|
4458
|
+
}, () => {
|
|
4459
|
+
this.notificationService.error();
|
|
4460
|
+
});
|
|
4459
4461
|
});
|
|
4460
4462
|
}
|
|
4461
4463
|
//Events
|
|
@@ -4466,16 +4468,8 @@ class ContactUsForm extends BaseEditComponent {
|
|
|
4466
4468
|
this.selectedTopic = event.target.value;
|
|
4467
4469
|
}
|
|
4468
4470
|
}
|
|
4469
|
-
ContactUsForm.ɵfac = function ContactUsForm_Factory(t) { return new (t || ContactUsForm)(i0.ɵɵdirectiveInject(i1$
|
|
4470
|
-
ContactUsForm.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsForm, selectors: [["anatoly-forms-contactus-form"]],
|
|
4471
|
-
if (rf & 1) {
|
|
4472
|
-
i0.ɵɵviewQuery(_c0$4, 5);
|
|
4473
|
-
}
|
|
4474
|
-
if (rf & 2) {
|
|
4475
|
-
let _t;
|
|
4476
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.recaptcha = _t.first);
|
|
4477
|
-
}
|
|
4478
|
-
}, inputs: { showActionButtons: "showActionButtons" }, outputs: { submit: "submit" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 43, vars: 32, consts: [["novalidate", "", 3, "formGroup", "ngSubmit"], [3, "formGroup", "visible"], [1, "contact-us"], [1, "row"], [1, "form-fields", "col-6"], [1, "form-topic", 3, "ngClass"], [1, "form-select-wrapper"], [1, "assistive-text"], ["formControlName", "topic", 1, "form-select", 3, "change"], [3, "value", 4, "ngFor", "ngForOf"], ["controlName", "topic", "controlTitle", "topic", 3, "formGroup", "formSubmitted"], [1, "form-name", 3, "ngClass"], ["formControlName", "name", "placeholder", "Name *", "type", "text", 1, "form-control"], ["controlName", "name", "controlTitle", "name", 3, "formGroup", "formSubmitted"], [1, "form-email", 3, "ngClass"], ["formControlName", "email", "placeholder", "E-mail *", "type", "text", 1, "form-control"], [4, "ngIf"], ["controlName", "email", "controlTitle", "email", 3, "formGroup", "formSubmitted"], [1, "form-subject", 3, "ngClass"], ["formControlName", "subject", "placeholder", "Subject *", "type", "text", 1, "form-control"], ["controlName", "subject", "controlTitle", "subject", 3, "formGroup", "formSubmitted"], [1, "col-6"], [1, "form-message", 3, "ngClass"], ["formControlName", "message", "name", "message", "placeholder", "Message *", "rows", "4", "type", "text"], ["controlName", "message", "controlTitle", "message", 3, "formGroup", "formSubmitted"], [1, "row", "form-footer"], [2, "transform", "scale(0.8)", "transform-origin", "0"], ["formControlName", "captcha", 3, "siteKey"], ["recaptcha", ""], ["class", "btn btn-success float-right m-t-20", "type", "submit", 3, "btn-primary", 4, "ngIf"], [3, "value"], ["type", "submit", 1, "btn", "btn-success", "float-right", "m-t-20"]], template: function ContactUsForm_Template(rf, ctx) {
|
|
4471
|
+
ContactUsForm.ɵfac = function ContactUsForm_Factory(t) { return new (t || ContactUsForm)(i0.ɵɵdirectiveInject(i1$9.ReCaptchaV3Service), i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(EmailsApiService), i0.ɵɵdirectiveInject(NotificationService)); };
|
|
4472
|
+
ContactUsForm.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsForm, selectors: [["anatoly-forms-contactus-form"]], inputs: { showActionButtons: "showActionButtons" }, outputs: { submit: "submit" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 39, vars: 31, consts: [["novalidate", "", 3, "formGroup", "ngSubmit"], [3, "formGroup", "visible"], [1, "contact-us"], [1, "row"], [1, "form-fields", "col-6"], [1, "form-topic", 3, "ngClass"], [1, "form-select-wrapper"], [1, "assistive-text"], ["formControlName", "topic", 1, "form-select", 3, "change"], [3, "value", 4, "ngFor", "ngForOf"], ["controlName", "topic", "controlTitle", "topic", 3, "formGroup", "formSubmitted"], [1, "form-name", 3, "ngClass"], ["formControlName", "name", "placeholder", "Name *", "type", "text", 1, "form-control"], ["controlName", "name", "controlTitle", "name", 3, "formGroup", "formSubmitted"], [1, "form-email", 3, "ngClass"], ["formControlName", "email", "placeholder", "E-mail *", "type", "text", 1, "form-control"], [4, "ngIf"], ["controlName", "email", "controlTitle", "email", 3, "formGroup", "formSubmitted"], [1, "form-subject", 3, "ngClass"], ["formControlName", "subject", "placeholder", "Subject *", "type", "text", 1, "form-control"], ["controlName", "subject", "controlTitle", "subject", 3, "formGroup", "formSubmitted"], [1, "col-6"], [1, "form-message", 3, "ngClass"], ["formControlName", "message", "name", "message", "placeholder", "Message *", "rows", "4", "type", "text"], ["controlName", "message", "controlTitle", "message", 3, "formGroup", "formSubmitted"], [1, "row", "form-footer"], [1, "col"], ["class", "btn btn-success", "type", "submit", 3, "btn-primary", 4, "ngIf"], [3, "value"], ["type", "submit", 1, "btn", "btn-success"]], template: function ContactUsForm_Template(rf, ctx) {
|
|
4479
4473
|
if (rf & 1) {
|
|
4480
4474
|
i0.ɵɵelementStart(0, "form", 0);
|
|
4481
4475
|
i0.ɵɵlistener("ngSubmit", function ContactUsForm_Template_form_ngSubmit_0_listener() { return ctx.onSubmit(); });
|
|
@@ -4514,11 +4508,8 @@ ContactUsForm.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsForm
|
|
|
4514
4508
|
i0.ɵɵelementEnd();
|
|
4515
4509
|
i0.ɵɵelement(34, "textarea", 23)(35, "anatoly-item-validation-summary", 24);
|
|
4516
4510
|
i0.ɵɵelementEnd()()();
|
|
4517
|
-
i0.ɵɵelementStart(36, "div", 25)(37, "div",
|
|
4518
|
-
i0.ɵɵ
|
|
4519
|
-
i0.ɵɵelementEnd()();
|
|
4520
|
-
i0.ɵɵelementStart(41, "div", 21);
|
|
4521
|
-
i0.ɵɵtemplate(42, ContactUsForm_button_42_Template, 2, 2, "button", 29);
|
|
4511
|
+
i0.ɵɵelementStart(36, "div", 25)(37, "div", 26);
|
|
4512
|
+
i0.ɵɵtemplate(38, ContactUsForm_button_38_Template, 2, 2, "button", 27);
|
|
4522
4513
|
i0.ɵɵelementEnd()()()();
|
|
4523
4514
|
}
|
|
4524
4515
|
if (rf & 2) {
|
|
@@ -4526,46 +4517,41 @@ ContactUsForm.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsForm
|
|
|
4526
4517
|
i0.ɵɵadvance(1);
|
|
4527
4518
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("visible", ctx.formSubmitted && ctx.formGroup.invalid);
|
|
4528
4519
|
i0.ɵɵadvance(6);
|
|
4529
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
4520
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$4, ctx.isControlInvalid("topic")));
|
|
4530
4521
|
i0.ɵɵadvance(5);
|
|
4531
4522
|
i0.ɵɵproperty("ngForOf", ctx.topicList);
|
|
4532
4523
|
i0.ɵɵadvance(1);
|
|
4533
4524
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4534
4525
|
i0.ɵɵadvance(1);
|
|
4535
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
4526
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$4, ctx.isControlInvalid("name")));
|
|
4536
4527
|
i0.ɵɵadvance(4);
|
|
4537
4528
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4538
4529
|
i0.ɵɵadvance(1);
|
|
4539
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
4530
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$4, ctx.isControlInvalid("email")));
|
|
4540
4531
|
i0.ɵɵadvance(4);
|
|
4541
4532
|
i0.ɵɵproperty("ngIf", !ctx.isUserSignedIn);
|
|
4542
4533
|
i0.ɵɵadvance(1);
|
|
4543
4534
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4544
4535
|
i0.ɵɵadvance(1);
|
|
4545
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
4536
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(27, _c0$4, ctx.isControlInvalid("subject")));
|
|
4546
4537
|
i0.ɵɵadvance(4);
|
|
4547
4538
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4548
4539
|
i0.ɵɵadvance(2);
|
|
4549
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
4540
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c0$4, ctx.isControlInvalid("message")));
|
|
4550
4541
|
i0.ɵɵadvance(4);
|
|
4551
4542
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4552
|
-
i0.ɵɵadvance(4);
|
|
4553
|
-
i0.ɵɵproperty("siteKey", ctx.siteKey);
|
|
4554
4543
|
i0.ɵɵadvance(3);
|
|
4555
4544
|
i0.ɵɵproperty("ngIf", ctx.showActionButtons);
|
|
4556
4545
|
}
|
|
4557
|
-
}, dependencies: [i1$5.NgClass, i1$5.NgForOf, i1$5.NgIf,
|
|
4546
|
+
}, dependencies: [i1$5.NgClass, i1$5.NgForOf, i1$5.NgIf, i2.ɵNgNoValidate, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective, FormValidationSummaryComponent, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
4558
4547
|
(function () {
|
|
4559
4548
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
|
|
4560
4549
|
type: Component,
|
|
4561
|
-
args: [{ selector: 'anatoly-forms-contactus-form', template: "<form (ngSubmit)='onSubmit()' [formGroup]='formGroup' novalidate>\r\n <anatoly-form-validation-summary [formGroup]='formGroup'\r\n [visible]='formSubmitted && formGroup.invalid'></anatoly-form-validation-summary>\r\n\r\n <div class='contact-us'>\r\n <div class=\"row\">\r\n <div class='form-fields col-6'>\r\n <p>What can we help you with?</p>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('topic') }\" class='form-topic'>\r\n <div class='form-select-wrapper'>\r\n <label class='assistive-text'>Topic *</label>\r\n <select (change)='onTopicChange($event)' class='form-select' formControlName='topic'>\r\n <option *ngFor='let topic of topicList' [value]='topic.value'>{{ topic.value }} </option>\r\n </select>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='topic'\r\n controlTitle='topic'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('name') }\" class='form-name'>\r\n <label class='assistive-text'>Name *</label>\r\n <input class='form-control' formControlName='name' placeholder='Name *' type='text'>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='name'\r\n controlTitle='name'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('email') }\" class='form-email'>\r\n <label class='assistive-text'>E-mail * </label>\r\n <input class='form-control' formControlName='email' placeholder='E-mail *' type='text' />\r\n <p *ngIf='!isUserSignedIn'>Please indicate the email used for your MailEx login if you already have an account</p>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='email'\r\n controlTitle='email'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('subject') }\" class='form-subject'>\r\n <label class='assistive-text'>Subject *</label>\r\n <input class='form-control' formControlName='subject' placeholder='Subject *' type='text' />\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='subject'\r\n controlTitle='subject'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n\r\n </div>\r\n <div class='col-6'>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('message') }\" class='form-message'>\r\n <label class='assistive-text'>Message *</label>\r\n <textarea formControlName='message' name='message' placeholder='Message *' rows='4'\r\n type='text'></textarea>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='message'\r\n controlTitle='message'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row form-footer\">\r\n <div class=\"col
|
|
4562
|
-
}], function () { return [{ type: i1$
|
|
4550
|
+
args: [{ selector: 'anatoly-forms-contactus-form', template: "<form (ngSubmit)='onSubmit()' [formGroup]='formGroup' novalidate>\r\n <anatoly-form-validation-summary [formGroup]='formGroup'\r\n [visible]='formSubmitted && formGroup.invalid'></anatoly-form-validation-summary>\r\n\r\n <div class='contact-us'>\r\n <div class=\"row\">\r\n <div class='form-fields col-6'>\r\n <p>What can we help you with?</p>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('topic') }\" class='form-topic'>\r\n <div class='form-select-wrapper'>\r\n <label class='assistive-text'>Topic *</label>\r\n <select (change)='onTopicChange($event)' class='form-select' formControlName='topic'>\r\n <option *ngFor='let topic of topicList' [value]='topic.value'>{{ topic.value }} </option>\r\n </select>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='topic'\r\n controlTitle='topic'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('name') }\" class='form-name'>\r\n <label class='assistive-text'>Name *</label>\r\n <input class='form-control' formControlName='name' placeholder='Name *' type='text'>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='name'\r\n controlTitle='name'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('email') }\" class='form-email'>\r\n <label class='assistive-text'>E-mail * </label>\r\n <input class='form-control' formControlName='email' placeholder='E-mail *' type='text' />\r\n <p *ngIf='!isUserSignedIn'>Please indicate the email used for your MailEx login if you already have an account</p>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='email'\r\n controlTitle='email'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('subject') }\" class='form-subject'>\r\n <label class='assistive-text'>Subject *</label>\r\n <input class='form-control' formControlName='subject' placeholder='Subject *' type='text' />\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='subject'\r\n controlTitle='subject'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n\r\n </div>\r\n <div class='col-6'>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('message') }\" class='form-message'>\r\n <label class='assistive-text'>Message *</label>\r\n <textarea formControlName='message' name='message' placeholder='Message *' rows='4'\r\n type='text'></textarea>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='message'\r\n controlTitle='message'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row form-footer\">\r\n <div class=\"col\">\r\n <button *ngIf='showActionButtons'\r\n [class.btn-primary]='!formGroup.invalid'\r\n class='btn btn-success'\r\n type='submit'>\r\n Submit\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n" }]
|
|
4551
|
+
}], function () { return [{ type: i1$9.ReCaptchaV3Service }, { type: i2.FormBuilder }, { type: AppContextService }, { type: EmailsApiService }, { type: NotificationService }]; }, { showActionButtons: [{
|
|
4563
4552
|
type: Input
|
|
4564
4553
|
}], submit: [{
|
|
4565
4554
|
type: Output
|
|
4566
|
-
}], recaptcha: [{
|
|
4567
|
-
type: ViewChild,
|
|
4568
|
-
args: ['recaptcha']
|
|
4569
4555
|
}] });
|
|
4570
4556
|
})();
|
|
4571
4557
|
|
|
@@ -4633,18 +4619,18 @@ ContactUsDialog.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsDi
|
|
|
4633
4619
|
let _t;
|
|
4634
4620
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contactUsForm = _t.first);
|
|
4635
4621
|
}
|
|
4636
|
-
}, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["title", "Contact Us", 3, "width", "close", 4, "ngIf"], ["title", "Contact Us", 3, "width", "close"], [1, "k-content", "k-window-content", "k-dialog-content"], [3, "showActionButtons", "submit"], ["contactusform", ""], [1, "k-actions"], [1, "d-flex", "justify-content-end"], ["type", "button", 1, "btn", "btn-success", 3, "click"], ["type", "button", 1, "btn", "btn-danger", 3, "click"]], template: function ContactUsDialog_Template(rf, ctx) {
|
|
4622
|
+
}, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["title", "Contact Us", 3, "width", "close", 4, "ngIf"], ["title", "Contact Us", 3, "width", "close"], [1, "k-content", "k-window-content", "k-dialog-content"], [3, "showActionButtons", "submit"], ["contactusform", ""], [1, "k-actions"], [1, "d-flex", "justify-content-end"], ["type", "button", 1, "btn", "btn-sm", "btn-success", 3, "click"], ["type", "button", 1, "btn", "btn-sm", "btn-danger", 3, "click"]], template: function ContactUsDialog_Template(rf, ctx) {
|
|
4637
4623
|
if (rf & 1) {
|
|
4638
4624
|
i0.ɵɵtemplate(0, ContactUsDialog_kendo_dialog_0_Template, 10, 2, "kendo-dialog", 0);
|
|
4639
4625
|
}
|
|
4640
4626
|
if (rf & 2) {
|
|
4641
4627
|
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
4642
4628
|
}
|
|
4643
|
-
}, dependencies: [i1$5.NgIf, i2.DialogComponent, i2.DialogActionsComponent, ContactUsForm], encapsulation: 2 });
|
|
4629
|
+
}, dependencies: [i1$5.NgIf, i2$1.DialogComponent, i2$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 });
|
|
4644
4630
|
(function () {
|
|
4645
4631
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
|
|
4646
4632
|
type: Component,
|
|
4647
|
-
args: [{ selector: 'anatoly-contactus-dialog', template: "<kendo-dialog (close)='onClose()' *ngIf='isOpen' [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-success' type='button'>Submit</button>\r\n <button (click)='onClose()' class='btn btn-danger' type='button'>Cancel </button>\r\n </div>\r\n </kendo-dialog-actions>\r\n</kendo-dialog
|
|
4633
|
+
args: [{ selector: 'anatoly-contactus-dialog', template: "<kendo-dialog (close)='onClose()' *ngIf='isOpen' [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>" }]
|
|
4648
4634
|
}], function () { return []; }, { contactUsForm: [{
|
|
4649
4635
|
type: ViewChild,
|
|
4650
4636
|
args: ['contactusform']
|
|
@@ -4899,7 +4885,7 @@ class AddressComponent extends BaseEditComponent {
|
|
|
4899
4885
|
this.change.emit(usState);
|
|
4900
4886
|
}
|
|
4901
4887
|
}
|
|
4902
|
-
AddressComponent.ɵfac = function AddressComponent_Factory(t) { return new (t || AddressComponent)(i0.ɵɵdirectiveInject(
|
|
4888
|
+
AddressComponent.ɵfac = function AddressComponent_Factory(t) { return new (t || AddressComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(CoreApiService)); };
|
|
4903
4889
|
AddressComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddressComponent, selectors: [["anatoly-forms-address"]], inputs: { title: "title", isTitleVisible: "isTitleVisible", isRequired: "isRequired", address: "address" }, outputs: { change: "change" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 29, vars: 29, consts: [["classes", "card-primary card-outline"], [3, "title", 4, "ngIf"], [1, "row", 3, "formGroup"], [1, "form-group", "col-12", 3, "ngClass"], [1, "col-form-label", "required"], ["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", 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", 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) {
|
|
4904
4890
|
if (rf & 1) {
|
|
4905
4891
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
@@ -4963,12 +4949,12 @@ AddressComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddressCom
|
|
|
4963
4949
|
i0.ɵɵadvance(1);
|
|
4964
4950
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4965
4951
|
}
|
|
4966
|
-
}, dependencies: [i1$5.NgClass, i1$5.NgForOf, i1$5.NgIf,
|
|
4952
|
+
}, dependencies: [i1$5.NgClass, i1$5.NgForOf, i1$5.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
4967
4953
|
(function () {
|
|
4968
4954
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
|
|
4969
4955
|
type: Component,
|
|
4970
4956
|
args: [{ selector: 'anatoly-forms-address', template: "<anatoly-card classes='card-primary card-outline'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title'></anatoly-card-header>\r\n <anatoly-card-body>\r\n <div class='row' [formGroup]='formGroup'>\r\n <div class='form-group col-12' [ngClass]=\"{'has-error': isControlInvalid('address_street')}\" >\r\n <label class='col-form-label required'>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\r\n <div class='form-group col-12' [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\r\n <div class='form-group col-3' [ngClass]=\"{'has-error': isControlInvalid('address_city')}\">\r\n <label class='col-form-label required'>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\r\n <div class='form-group col-3' *ngIf=\"formGroup.value.address_country == 'US'\" [ngClass]=\"{'has-error': isControlInvalid('address_stateOrRegion')}\">\r\n <label class='col-form-label required'>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\r\n <div class='form-group col-3' [ngClass]=\"{'has-error': isControlInvalid('address_zipcode')}\" >\r\n <label class='col-form-label required'>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\r\n <div class='form-group col-3' [ngClass]=\"{'has-error': isControlInvalid('address_country')}\">\r\n <label class='col-form-label required'>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" }]
|
|
4971
|
-
}], function () { return [{ type:
|
|
4957
|
+
}], function () { return [{ type: i2.FormBuilder }, { type: CoreApiService }]; }, { title: [{
|
|
4972
4958
|
type: Input
|
|
4973
4959
|
}], isTitleVisible: [{
|
|
4974
4960
|
type: Input
|
|
@@ -5057,7 +5043,7 @@ class CompanyComponent extends BaseEditComponent {
|
|
|
5057
5043
|
return JSON.stringify(data);
|
|
5058
5044
|
}
|
|
5059
5045
|
}
|
|
5060
|
-
CompanyComponent.ɵfac = function CompanyComponent_Factory(t) { return new (t || CompanyComponent)(i0.ɵɵdirectiveInject(
|
|
5046
|
+
CompanyComponent.ɵfac = function CompanyComponent_Factory(t) { return new (t || CompanyComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder)); };
|
|
5061
5047
|
CompanyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyComponent, selectors: [["anatoly-forms-company"]], inputs: { title: "title", isTitleVisible: "isTitleVisible", company: "company" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 24, vars: 22, consts: [["classes", "card-primary card-outline"], [3, "title", 4, "ngIf"], [1, "row", 3, "formGroup"], [1, "form-group", "col-6", 3, "ngClass"], [1, "col-form-label"], ["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"], ["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) {
|
|
5062
5048
|
if (rf & 1) {
|
|
5063
5049
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
@@ -5105,12 +5091,12 @@ CompanyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyCom
|
|
|
5105
5091
|
i0.ɵɵadvance(4);
|
|
5106
5092
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
5107
5093
|
}
|
|
5108
|
-
}, dependencies: [i1$5.NgClass, i1$5.NgIf,
|
|
5094
|
+
}, dependencies: [i1$5.NgClass, i1$5.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.PatternValidator, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
5109
5095
|
(function () {
|
|
5110
5096
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
5111
5097
|
type: Component,
|
|
5112
5098
|
args: [{ selector: 'anatoly-forms-company', template: "<anatoly-card classes='card-primary card-outline'>\r\n <anatoly-card-header *ngIf='isTitleVisible' [title]='title'></anatoly-card-header>\r\n <anatoly-card-body>\r\n <div [formGroup]='formGroup' class='row'>\r\n <div class='form-group col-6' [ngClass]=\"{'has-error': isControlInvalid('company_name') }\">\r\n <label class='col-form-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 class='col-form-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' [ngClass]=\"{'has-error': isControlInvalid('company_email') }\">\r\n <label class='col-form-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' [ngClass]=\"{'has-error': isControlInvalid('company_websiteUrl') }\">\r\n <label class='col-form-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\r\n </div>\r\n </anatoly-card-body>\r\n</anatoly-card>\r\n" }]
|
|
5113
|
-
}], function () { return [{ type:
|
|
5099
|
+
}], function () { return [{ type: i2.FormBuilder }]; }, { title: [{
|
|
5114
5100
|
type: Input
|
|
5115
5101
|
}], isTitleVisible: [{
|
|
5116
5102
|
type: Input
|
|
@@ -5230,7 +5216,7 @@ UrlSlugComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UrlSlugCom
|
|
|
5230
5216
|
i0.ɵɵadvance(1);
|
|
5231
5217
|
i0.ɵɵproperty("ngIf", ctx.isGoButtonVisible);
|
|
5232
5218
|
}
|
|
5233
|
-
}, dependencies: [i1$5.NgClass, i1$5.NgIf,
|
|
5219
|
+
}, dependencies: [i1$5.NgClass, i1$5.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
5234
5220
|
(function () {
|
|
5235
5221
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
5236
5222
|
type: Component,
|
|
@@ -5340,7 +5326,7 @@ TimezoneDropdownlist.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Timezo
|
|
|
5340
5326
|
i0.ɵɵadvance(1);
|
|
5341
5327
|
i0.ɵɵproperty("ngForOf", ctx.timezoneListItems);
|
|
5342
5328
|
}
|
|
5343
|
-
}, dependencies: [i1$5.NgForOf, i1$5.NgIf,
|
|
5329
|
+
}, dependencies: [i1$5.NgForOf, i1$5.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 });
|
|
5344
5330
|
(function () {
|
|
5345
5331
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
|
|
5346
5332
|
type: Component,
|
|
@@ -5887,7 +5873,7 @@ AnatolyUIModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonMo
|
|
|
5887
5873
|
FormsModule,
|
|
5888
5874
|
NgxCaptchaModule,
|
|
5889
5875
|
FaModule,
|
|
5890
|
-
KendoModule, i1$
|
|
5876
|
+
KendoModule, i1$8.FroalaEditorModule, i1$8.FroalaViewModule], exports: [BuyAccessButtonComponent,
|
|
5891
5877
|
SubscribePlanButtonComponent,
|
|
5892
5878
|
CheckIconComponent,
|
|
5893
5879
|
DatapagerComponent,
|