@osovitny/anatoly 2.15.5 → 2.15.6
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/esm2020/lib/ui/forms/contact-us/contact-us.mjs +41 -55
- package/fesm2015/osovitny-anatoly.mjs +53 -70
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +53 -67
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- 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';
|
|
@@ -3003,11 +3003,11 @@ Copy2ClipboardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Cop
|
|
|
3003
3003
|
</file>
|
|
3004
3004
|
*/
|
|
3005
3005
|
const _c0$9 = [[["mex-card-header"]], [["mex-card-body"]], "*", [["mex-card-footer"]]];
|
|
3006
|
-
const _c1
|
|
3006
|
+
const _c1 = ["mex-card-header", "mex-card-body", "*", "mex-card-footer"];
|
|
3007
3007
|
class CardComponent {
|
|
3008
3008
|
}
|
|
3009
3009
|
CardComponent.ɵfac = function CardComponent_Factory(t) { return new (t || CardComponent)(); };
|
|
3010
|
-
CardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardComponent, selectors: [["anatoly-card"]], inputs: { classes: "classes" }, ngContentSelectors: _c1
|
|
3010
|
+
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) { if (rf & 1) {
|
|
3011
3011
|
i0.ɵɵprojectionDef(_c0$9);
|
|
3012
3012
|
i0.ɵɵelementStart(0, "div");
|
|
3013
3013
|
i0.ɵɵprojection(1);
|
|
@@ -3538,14 +3538,14 @@ class NativeElementDirective {
|
|
|
3538
3538
|
this.control.control.nativeElement = this.el.nativeElement;
|
|
3539
3539
|
}
|
|
3540
3540
|
}
|
|
3541
|
-
NativeElementDirective.ɵfac = function NativeElementDirective_Factory(t) { return new (t || NativeElementDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(
|
|
3541
|
+
NativeElementDirective.ɵfac = function NativeElementDirective_Factory(t) { return new (t || NativeElementDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i2.NgControl)); };
|
|
3542
3542
|
NativeElementDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: NativeElementDirective, selectors: [["", "formControl", ""], ["", "formControlName", ""]] });
|
|
3543
3543
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeElementDirective, [{
|
|
3544
3544
|
type: Directive,
|
|
3545
3545
|
args: [{
|
|
3546
3546
|
selector: '[formControl], [formControlName]'
|
|
3547
3547
|
}]
|
|
3548
|
-
}], function () { return [{ type: i0.ElementRef }, { type:
|
|
3548
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i2.NgControl }]; }, null); })();
|
|
3549
3549
|
|
|
3550
3550
|
/*
|
|
3551
3551
|
<file>
|
|
@@ -3765,7 +3765,7 @@ FormsHtmlEditorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Fo
|
|
|
3765
3765
|
i0.ɵɵproperty("formControlName", ctx.editorFormKey)("froalaEditor", ctx.options);
|
|
3766
3766
|
i0.ɵɵadvance(1);
|
|
3767
3767
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted)("controlName", ctx.editorFormKey)("controlTitle", ctx.editorLabelText);
|
|
3768
|
-
} }, dependencies: [i1$5.NgClass,
|
|
3768
|
+
} }, dependencies: [i1$5.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i1$8.FroalaEditorDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
3769
3769
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormsHtmlEditorComponent, [{
|
|
3770
3770
|
type: Component,
|
|
3771
3771
|
args: [{ selector: "anatoly-forms-html-editor", template: "<div [formGroup]=\"formGroup\" [ngClass]=\"{'has-error': isControlInvalid(editorFormKey) }\" class=\"form-group\" >\r\n <label class=\"col-form-label\">{{ editorLabelText }}</label>\r\n <textarea [formControlName]=\"editorFormKey\" [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\"></textarea>\r\n <anatoly-item-validation-summary [formGroup]=\"formGroup\"\r\n [formSubmitted]=\"formSubmitted\"\r\n [controlName]=\"editorFormKey\"\r\n [controlTitle]=\"editorLabelText\">\r\n </anatoly-item-validation-summary>\r\n</div>\r\n" }]
|
|
@@ -3822,7 +3822,7 @@ HtmlEditorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HtmlEdi
|
|
|
3822
3822
|
i0.ɵɵtextInterpolate(ctx.editorLabelText);
|
|
3823
3823
|
i0.ɵɵadvance(1);
|
|
3824
3824
|
i0.ɵɵproperty("froalaEditor", ctx.options);
|
|
3825
|
-
} }, dependencies: [i1$
|
|
3825
|
+
} }, dependencies: [i1$8.FroalaEditorDirective], encapsulation: 2 });
|
|
3826
3826
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
|
|
3827
3827
|
type: Component,
|
|
3828
3828
|
args: [{ selector: "anatoly-html-editor", template: "<div class=\"form-group\">\r\n <label class=\"col-form-label\">{{ editorLabelText }}</label>\r\n <textarea [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\"></textarea>\r\n</div>\r\n" }]
|
|
@@ -4157,34 +4157,34 @@ FormValidationSummaryComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
4157
4157
|
Copyright (c) 2017-2022 Osovitny Inc. All rights reserved.
|
|
4158
4158
|
</file>
|
|
4159
4159
|
*/
|
|
4160
|
-
const _c0$4 = ["recaptcha"];
|
|
4161
4160
|
function ContactUsForm_option_12_Template(rf, ctx) { if (rf & 1) {
|
|
4162
|
-
i0.ɵɵelementStart(0, "option",
|
|
4161
|
+
i0.ɵɵelementStart(0, "option", 28);
|
|
4163
4162
|
i0.ɵɵtext(1);
|
|
4164
4163
|
i0.ɵɵelementEnd();
|
|
4165
4164
|
} if (rf & 2) {
|
|
4166
|
-
const
|
|
4167
|
-
i0.ɵɵproperty("value",
|
|
4165
|
+
const topic_r3 = ctx.$implicit;
|
|
4166
|
+
i0.ɵɵproperty("value", topic_r3.value);
|
|
4168
4167
|
i0.ɵɵadvance(1);
|
|
4169
|
-
i0.ɵɵtextInterpolate1("",
|
|
4168
|
+
i0.ɵɵtextInterpolate1("", topic_r3.value, " ");
|
|
4170
4169
|
} }
|
|
4171
4170
|
function ContactUsForm_p_23_Template(rf, ctx) { if (rf & 1) {
|
|
4172
4171
|
i0.ɵɵelementStart(0, "p");
|
|
4173
4172
|
i0.ɵɵtext(1, "Please indicate the email used for your MailEx login if you already have an account");
|
|
4174
4173
|
i0.ɵɵelementEnd();
|
|
4175
4174
|
} }
|
|
4176
|
-
function
|
|
4177
|
-
i0.ɵɵelementStart(0, "button",
|
|
4175
|
+
function ContactUsForm_button_38_Template(rf, ctx) { if (rf & 1) {
|
|
4176
|
+
i0.ɵɵelementStart(0, "button", 29);
|
|
4178
4177
|
i0.ɵɵtext(1, " Submit ");
|
|
4179
4178
|
i0.ɵɵelementEnd();
|
|
4180
4179
|
} if (rf & 2) {
|
|
4181
|
-
const
|
|
4182
|
-
i0.ɵɵclassProp("btn-primary", !
|
|
4180
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
4181
|
+
i0.ɵɵclassProp("btn-primary", !ctx_r2.formGroup.invalid);
|
|
4183
4182
|
} }
|
|
4184
|
-
const
|
|
4183
|
+
const _c0$4 = function (a0) { return { "has-error": a0 }; };
|
|
4185
4184
|
class ContactUsForm extends BaseEditComponent {
|
|
4186
|
-
constructor(fb, appContext, api, notificationService) {
|
|
4185
|
+
constructor(reCaptcha, fb, appContext, api, notificationService) {
|
|
4187
4186
|
super();
|
|
4187
|
+
this.reCaptcha = reCaptcha;
|
|
4188
4188
|
this.fb = fb;
|
|
4189
4189
|
this.appContext = appContext;
|
|
4190
4190
|
this.api = api;
|
|
@@ -4210,7 +4210,6 @@ class ContactUsForm extends BaseEditComponent {
|
|
|
4210
4210
|
}
|
|
4211
4211
|
createFormGroup() {
|
|
4212
4212
|
this.formGroup = this.fb.group({
|
|
4213
|
-
captcha: new FormControl(null, [Validators.required]),
|
|
4214
4213
|
name: new FormControl('', [Validators.required]),
|
|
4215
4214
|
email: new FormControl('', [Validators.required]),
|
|
4216
4215
|
topic: new FormControl('', [Validators.required]),
|
|
@@ -4220,7 +4219,7 @@ class ContactUsForm extends BaseEditComponent {
|
|
|
4220
4219
|
}
|
|
4221
4220
|
setContext(context) {
|
|
4222
4221
|
this.isUserSignedIn = context.isUserSignedIn;
|
|
4223
|
-
this.
|
|
4222
|
+
this.reCaptchaSiteKey = context.reCaptchaSiteKeyV3;
|
|
4224
4223
|
this.selectedTopic = this.topicList[3].value;
|
|
4225
4224
|
this.setFormValue('topic', this.selectedTopic);
|
|
4226
4225
|
if (this.isUserSignedIn) {
|
|
@@ -4235,20 +4234,20 @@ class ContactUsForm extends BaseEditComponent {
|
|
|
4235
4234
|
this.formSubmitted = true;
|
|
4236
4235
|
if (!this.isValid())
|
|
4237
4236
|
return;
|
|
4238
|
-
const captcha = this.getFormValue('captcha');
|
|
4239
4237
|
const name = this.getFormValue('name');
|
|
4240
4238
|
const email = this.getFormValue('email');
|
|
4241
4239
|
const topic = this.selectedTopic;
|
|
4242
4240
|
const subject = this.getFormValue('subject');
|
|
4243
4241
|
const message = this.getFormValue('message');
|
|
4244
|
-
this.
|
|
4245
|
-
this.
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4242
|
+
this.reCaptcha.execute(this.reCaptchaSiteKey, 'ContactUs', (token) => {
|
|
4243
|
+
this.api.sendContactUs(token, name, email, topic, subject, message, () => {
|
|
4244
|
+
this.formSubmitted = false;
|
|
4245
|
+
this.notificationService.success('Message has been sent successfully');
|
|
4246
|
+
this.formGroup.reset();
|
|
4247
|
+
this.submit.emit();
|
|
4248
|
+
}, () => {
|
|
4249
|
+
this.notificationService.error();
|
|
4250
|
+
});
|
|
4252
4251
|
});
|
|
4253
4252
|
}
|
|
4254
4253
|
//Events
|
|
@@ -4259,13 +4258,8 @@ class ContactUsForm extends BaseEditComponent {
|
|
|
4259
4258
|
this.selectedTopic = event.target.value;
|
|
4260
4259
|
}
|
|
4261
4260
|
}
|
|
4262
|
-
ContactUsForm.ɵfac = function ContactUsForm_Factory(t) { return new (t || ContactUsForm)(i0.ɵɵdirectiveInject(i1$
|
|
4263
|
-
ContactUsForm.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsForm, selectors: [["anatoly-forms-contactus-form"]],
|
|
4264
|
-
i0.ɵɵviewQuery(_c0$4, 5);
|
|
4265
|
-
} if (rf & 2) {
|
|
4266
|
-
let _t;
|
|
4267
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.recaptcha = _t.first);
|
|
4268
|
-
} }, 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) { if (rf & 1) {
|
|
4261
|
+
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)); };
|
|
4262
|
+
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) { if (rf & 1) {
|
|
4269
4263
|
i0.ɵɵelementStart(0, "form", 0);
|
|
4270
4264
|
i0.ɵɵlistener("ngSubmit", function ContactUsForm_Template_form_ngSubmit_0_listener() { return ctx.onSubmit(); });
|
|
4271
4265
|
i0.ɵɵelement(1, "anatoly-form-validation-summary", 1);
|
|
@@ -4303,55 +4297,47 @@ ContactUsForm.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsForm
|
|
|
4303
4297
|
i0.ɵɵelementEnd();
|
|
4304
4298
|
i0.ɵɵelement(34, "textarea", 23)(35, "anatoly-item-validation-summary", 24);
|
|
4305
4299
|
i0.ɵɵelementEnd()()();
|
|
4306
|
-
i0.ɵɵelementStart(36, "div", 25)(37, "div",
|
|
4307
|
-
i0.ɵɵ
|
|
4308
|
-
i0.ɵɵelementEnd()();
|
|
4309
|
-
i0.ɵɵelementStart(41, "div", 21);
|
|
4310
|
-
i0.ɵɵtemplate(42, ContactUsForm_button_42_Template, 2, 2, "button", 29);
|
|
4300
|
+
i0.ɵɵelementStart(36, "div", 25)(37, "div", 26);
|
|
4301
|
+
i0.ɵɵtemplate(38, ContactUsForm_button_38_Template, 2, 2, "button", 27);
|
|
4311
4302
|
i0.ɵɵelementEnd()()()();
|
|
4312
4303
|
} if (rf & 2) {
|
|
4313
4304
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
4314
4305
|
i0.ɵɵadvance(1);
|
|
4315
4306
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("visible", ctx.formSubmitted && ctx.formGroup.invalid);
|
|
4316
4307
|
i0.ɵɵadvance(6);
|
|
4317
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
4308
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$4, ctx.isControlInvalid("topic")));
|
|
4318
4309
|
i0.ɵɵadvance(5);
|
|
4319
4310
|
i0.ɵɵproperty("ngForOf", ctx.topicList);
|
|
4320
4311
|
i0.ɵɵadvance(1);
|
|
4321
4312
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4322
4313
|
i0.ɵɵadvance(1);
|
|
4323
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
4314
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$4, ctx.isControlInvalid("name")));
|
|
4324
4315
|
i0.ɵɵadvance(4);
|
|
4325
4316
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4326
4317
|
i0.ɵɵadvance(1);
|
|
4327
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
4318
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$4, ctx.isControlInvalid("email")));
|
|
4328
4319
|
i0.ɵɵadvance(4);
|
|
4329
4320
|
i0.ɵɵproperty("ngIf", !ctx.isUserSignedIn);
|
|
4330
4321
|
i0.ɵɵadvance(1);
|
|
4331
4322
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4332
4323
|
i0.ɵɵadvance(1);
|
|
4333
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
4324
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(27, _c0$4, ctx.isControlInvalid("subject")));
|
|
4334
4325
|
i0.ɵɵadvance(4);
|
|
4335
4326
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4336
4327
|
i0.ɵɵadvance(2);
|
|
4337
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
4328
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c0$4, ctx.isControlInvalid("message")));
|
|
4338
4329
|
i0.ɵɵadvance(4);
|
|
4339
4330
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4340
|
-
i0.ɵɵadvance(4);
|
|
4341
|
-
i0.ɵɵproperty("siteKey", ctx.siteKey);
|
|
4342
4331
|
i0.ɵɵadvance(3);
|
|
4343
4332
|
i0.ɵɵproperty("ngIf", ctx.showActionButtons);
|
|
4344
|
-
} }, dependencies: [i1$5.NgClass, i1$5.NgForOf, i1$5.NgIf,
|
|
4333
|
+
} }, 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 });
|
|
4345
4334
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
|
|
4346
4335
|
type: Component,
|
|
4347
|
-
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
|
|
4348
|
-
}], function () { return [{ type: i1$
|
|
4336
|
+
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" }]
|
|
4337
|
+
}], function () { return [{ type: i1$9.ReCaptchaV3Service }, { type: i2.FormBuilder }, { type: AppContextService }, { type: EmailsApiService }, { type: NotificationService }]; }, { showActionButtons: [{
|
|
4349
4338
|
type: Input
|
|
4350
4339
|
}], submit: [{
|
|
4351
4340
|
type: Output
|
|
4352
|
-
}], recaptcha: [{
|
|
4353
|
-
type: ViewChild,
|
|
4354
|
-
args: ['recaptcha']
|
|
4355
4341
|
}] }); })();
|
|
4356
4342
|
|
|
4357
4343
|
/*
|
|
@@ -4415,7 +4401,7 @@ ContactUsDialog.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsDi
|
|
|
4415
4401
|
i0.ɵɵtemplate(0, ContactUsDialog_kendo_dialog_0_Template, 10, 2, "kendo-dialog", 0);
|
|
4416
4402
|
} if (rf & 2) {
|
|
4417
4403
|
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
4418
|
-
} }, dependencies: [i1$5.NgIf, i2.DialogComponent, i2.DialogActionsComponent, ContactUsForm], encapsulation: 2 });
|
|
4404
|
+
} }, dependencies: [i1$5.NgIf, i2$1.DialogComponent, i2$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 });
|
|
4419
4405
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
|
|
4420
4406
|
type: Component,
|
|
4421
4407
|
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>\r\n" }]
|
|
@@ -4655,7 +4641,7 @@ class AddressComponent extends BaseEditComponent {
|
|
|
4655
4641
|
this.change.emit(usState);
|
|
4656
4642
|
}
|
|
4657
4643
|
}
|
|
4658
|
-
AddressComponent.ɵfac = function AddressComponent_Factory(t) { return new (t || AddressComponent)(i0.ɵɵdirectiveInject(
|
|
4644
|
+
AddressComponent.ɵfac = function AddressComponent_Factory(t) { return new (t || AddressComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(CoreApiService)); };
|
|
4659
4645
|
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) { if (rf & 1) {
|
|
4660
4646
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
4661
4647
|
i0.ɵɵtemplate(1, AddressComponent_anatoly_card_header_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
@@ -4716,11 +4702,11 @@ AddressComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddressCom
|
|
|
4716
4702
|
i0.ɵɵproperty("ngForOf", ctx.countryData);
|
|
4717
4703
|
i0.ɵɵadvance(1);
|
|
4718
4704
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4719
|
-
} }, dependencies: [i1$5.NgClass, i1$5.NgForOf, i1$5.NgIf,
|
|
4705
|
+
} }, 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 });
|
|
4720
4706
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
|
|
4721
4707
|
type: Component,
|
|
4722
4708
|
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" }]
|
|
4723
|
-
}], function () { return [{ type:
|
|
4709
|
+
}], function () { return [{ type: i2.FormBuilder }, { type: CoreApiService }]; }, { title: [{
|
|
4724
4710
|
type: Input
|
|
4725
4711
|
}], isTitleVisible: [{
|
|
4726
4712
|
type: Input
|
|
@@ -4805,7 +4791,7 @@ class CompanyComponent extends BaseEditComponent {
|
|
|
4805
4791
|
return JSON.stringify(data);
|
|
4806
4792
|
}
|
|
4807
4793
|
}
|
|
4808
|
-
CompanyComponent.ɵfac = function CompanyComponent_Factory(t) { return new (t || CompanyComponent)(i0.ɵɵdirectiveInject(
|
|
4794
|
+
CompanyComponent.ɵfac = function CompanyComponent_Factory(t) { return new (t || CompanyComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder)); };
|
|
4809
4795
|
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) { if (rf & 1) {
|
|
4810
4796
|
i0.ɵɵelementStart(0, "anatoly-card", 0);
|
|
4811
4797
|
i0.ɵɵtemplate(1, CompanyComponent_anatoly_card_header_1_Template, 1, 1, "anatoly-card-header", 1);
|
|
@@ -4850,11 +4836,11 @@ CompanyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyCom
|
|
|
4850
4836
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$1, ctx.isControlInvalid("company_websiteUrl")));
|
|
4851
4837
|
i0.ɵɵadvance(4);
|
|
4852
4838
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
4853
|
-
} }, dependencies: [i1$5.NgClass, i1$5.NgIf,
|
|
4839
|
+
} }, 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 });
|
|
4854
4840
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
4855
4841
|
type: Component,
|
|
4856
4842
|
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" }]
|
|
4857
|
-
}], function () { return [{ type:
|
|
4843
|
+
}], function () { return [{ type: i2.FormBuilder }]; }, { title: [{
|
|
4858
4844
|
type: Input
|
|
4859
4845
|
}], isTitleVisible: [{
|
|
4860
4846
|
type: Input
|
|
@@ -4964,7 +4950,7 @@ UrlSlugComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UrlSlugCom
|
|
|
4964
4950
|
i0.ɵɵproperty("formControlName", ctx.controlName);
|
|
4965
4951
|
i0.ɵɵadvance(1);
|
|
4966
4952
|
i0.ɵɵproperty("ngIf", ctx.isGoButtonVisible);
|
|
4967
|
-
} }, dependencies: [i1$5.NgClass, i1$5.NgIf,
|
|
4953
|
+
} }, dependencies: [i1$5.NgClass, i1$5.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 });
|
|
4968
4954
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
4969
4955
|
type: Component,
|
|
4970
4956
|
args: [{ selector: 'anatoly-forms-urlslug', template: "<div [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\"\r\n class=\"permalink form-group {{class}}\">\r\n <div class=\"d-flex align-items-end\">\r\n <anatoly-item-validation-summary [formGroup]='formGroup' [formSubmitted]='formSubmitted' [controlName]='controlName'\r\n [controlTitle]='controlTitle'>\r\n </anatoly-item-validation-summary>\r\n <div class=\"form-group\">\r\n <label *ngIf='isTitleVisible' class='col-form-label'>\r\n {{ title }}\r\n <span class=\"urlPrefix\">{{ urlPrefix }}</span>\r\n </label>\r\n <input type='text' class='form-control' [formControlName]='controlName' placeholder='Type url slug here'\r\n (focusout)='onUrlSlugChange()' />\r\n </div>\r\n\r\n <div class=\"form-group flex-shrink-1\" *ngIf=\"isGoButtonVisible\">\r\n <a href=\"{{urlPrefix}}{{hrefGo}}\" target=\"_blank\" class=\"btn btn-primary\">Go</a>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
@@ -5063,7 +5049,7 @@ TimezoneDropdownlist.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Timezo
|
|
|
5063
5049
|
i0.ɵɵproperty("formControlName", ctx.controlName);
|
|
5064
5050
|
i0.ɵɵadvance(1);
|
|
5065
5051
|
i0.ɵɵproperty("ngForOf", ctx.timezoneListItems);
|
|
5066
|
-
} }, dependencies: [i1$5.NgForOf, i1$5.NgIf,
|
|
5052
|
+
} }, dependencies: [i1$5.NgForOf, i1$5.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 });
|
|
5067
5053
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
|
|
5068
5054
|
type: Component,
|
|
5069
5055
|
args: [{ selector: 'anatoly-forms-timezone-dropdownlist', template: "<div [formGroup]='formGroup' class='form-group'>\r\n <label *ngIf='isTitleVisible' class='col-form-label'>Timezone</label>\r\n <select [formControlName]='controlName' class='form-control'>\r\n <option *ngFor='let timezone of timezoneListItems'\r\n [value]='timezone.code'>\r\n ({{timezone.offset}}) {{timezone.name}}\r\n </option>\r\n </select>\r\n</div>\r\n" }]
|
|
@@ -5583,7 +5569,7 @@ AnatolyUIModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonMo
|
|
|
5583
5569
|
FormsModule,
|
|
5584
5570
|
NgxCaptchaModule,
|
|
5585
5571
|
FaModule,
|
|
5586
|
-
KendoModule, i1$
|
|
5572
|
+
KendoModule, i1$8.FroalaEditorModule, i1$8.FroalaViewModule], exports: [BuyAccessButtonComponent,
|
|
5587
5573
|
SubscribePlanButtonComponent,
|
|
5588
5574
|
CheckIconComponent,
|
|
5589
5575
|
DatapagerComponent,
|