@reusa/ngx-reusa-app-lib 0.0.1325 → 0.0.1326
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/components/weekly-cert-employer/weekly-cert-employer.component.mjs +22 -23
- package/esm2022/lib/components/weekly-work-search-employer-ms/work-search-employer-ms.component.mjs +35 -36
- package/fesm2022/reusa-ngx-reusa-app-lib.mjs +59 -61
- package/fesm2022/reusa-ngx-reusa-app-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -18731,7 +18731,7 @@ function Dropdown_ng_template_10_p_scroller_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
18731
18731
|
function Dropdown_ng_template_10_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
18732
18732
|
i0.ɵɵelementContainer(0);
|
|
18733
18733
|
} }
|
|
18734
|
-
const _c14$
|
|
18734
|
+
const _c14$1 = () => ({});
|
|
18735
18735
|
function Dropdown_ng_template_10_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
18736
18736
|
i0.ɵɵelementContainerStart(0);
|
|
18737
18737
|
i0.ɵɵtemplate(1, Dropdown_ng_template_10_ng_container_7_ng_container_1_Template, 1, 0, "ng-container", 13);
|
|
@@ -18741,7 +18741,7 @@ function Dropdown_ng_template_10_ng_container_7_Template(rf, ctx) { if (rf & 1)
|
|
|
18741
18741
|
const _r42 = i0.ɵɵreference(9);
|
|
18742
18742
|
const ctx_r40 = i0.ɵɵnextContext();
|
|
18743
18743
|
i0.ɵɵadvance(1);
|
|
18744
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r42)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c13$3, ctx_r40.visibleOptions(), i0.ɵɵpureFunction0(2, _c14$
|
|
18744
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r42)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c13$3, ctx_r40.visibleOptions(), i0.ɵɵpureFunction0(2, _c14$1)));
|
|
18745
18745
|
} }
|
|
18746
18746
|
function Dropdown_ng_template_10_ng_template_8_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18747
18747
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -34841,17 +34841,16 @@ function WeeklyCertEmployerComponentQe_ion_row_3_div_47_Template(rf, ctx) { if (
|
|
|
34841
34841
|
i0.ɵɵadvance(4);
|
|
34842
34842
|
i0.ɵɵproperty("ngIf", ctx_r13.wageDialog);
|
|
34843
34843
|
} }
|
|
34844
|
-
const _c4$g =
|
|
34845
|
-
const _c5$b =
|
|
34846
|
-
const _c6$5 =
|
|
34847
|
-
const _c7$3 =
|
|
34848
|
-
const _c8$3 =
|
|
34849
|
-
const _c9$3 =
|
|
34850
|
-
const _c10$3 =
|
|
34851
|
-
const _c11$2 =
|
|
34852
|
-
const _c12$2 =
|
|
34853
|
-
const _c13$2 = () => ({ required: "required",
|
|
34854
|
-
const _c14$2 = () => ({ required: "required", earningsNotZero: "Gross Earnings cannot be zero." });
|
|
34844
|
+
const _c4$g = () => ({ required: "required", pattern: "%, <, >, ^, _, {, } are not allowed" });
|
|
34845
|
+
const _c5$b = "only letters, numbers, spaces, commas, periods, apostrophes, hyphens, # and / allowed";
|
|
34846
|
+
const _c6$5 = () => ({ required: "required", pattern: _c5$b });
|
|
34847
|
+
const _c7$3 = "city name can only contain letters, spaces, and hyphens";
|
|
34848
|
+
const _c8$3 = () => ({ required: "required", pattern: _c7$3 });
|
|
34849
|
+
const _c9$3 = "If hours and earnings are both 0, employment status cannot be working-part time.";
|
|
34850
|
+
const _c10$3 = () => ({ required: "required", changeEmpStatus: _c9$3 });
|
|
34851
|
+
const _c11$2 = "total hours must not be greater than 168 for the week";
|
|
34852
|
+
const _c12$2 = () => ({ required: "required", hoursPerWeekExceeded: _c11$2 });
|
|
34853
|
+
const _c13$2 = () => ({ required: "required", earningsNotZero: "Gross Earnings cannot be zero." });
|
|
34855
34854
|
function WeeklyCertEmployerComponentQe_ion_row_3_Template(rf, ctx) { if (rf & 1) {
|
|
34856
34855
|
const _r29 = i0.ɵɵgetCurrentView();
|
|
34857
34856
|
i0.ɵɵelementStart(0, "ion-row")(1, "ion-col", 6)(2, "div", 7)(3, "div", 8)(4, "label", 9);
|
|
@@ -34916,19 +34915,19 @@ function WeeklyCertEmployerComponentQe_ion_row_3_Template(rf, ctx) { if (rf & 1)
|
|
|
34916
34915
|
i0.ɵɵproperty("formControl", ctx_r1.wcEmpName)("empType", "REG");
|
|
34917
34916
|
i0.ɵɵadvance(1);
|
|
34918
34917
|
i0.ɵɵclassMap("app-grid");
|
|
34919
|
-
i0.ɵɵproperty("field", ctx_r1.wcEmpName)("form", _r0)("errDef", i0.ɵɵpureFunction0(78,
|
|
34918
|
+
i0.ɵɵproperty("field", ctx_r1.wcEmpName)("form", _r0)("errDef", i0.ɵɵpureFunction0(78, _c4$g));
|
|
34920
34919
|
i0.ɵɵadvance(1);
|
|
34921
34920
|
i0.ɵɵproperty("ngIf", ctx_r1.isME());
|
|
34922
34921
|
i0.ɵɵadvance(4);
|
|
34923
34922
|
i0.ɵɵproperty("formControl", ctx_r1.wcEmpAddressLine1);
|
|
34924
34923
|
i0.ɵɵadvance(1);
|
|
34925
34924
|
i0.ɵɵclassMap("app-grid");
|
|
34926
|
-
i0.ɵɵproperty("field", ctx_r1.wcEmpAddressLine1)("form", _r0)("errDef", i0.ɵɵpureFunction0(79,
|
|
34925
|
+
i0.ɵɵproperty("field", ctx_r1.wcEmpAddressLine1)("form", _r0)("errDef", i0.ɵɵpureFunction0(79, _c6$5));
|
|
34927
34926
|
i0.ɵɵadvance(4);
|
|
34928
34927
|
i0.ɵɵproperty("formControl", ctx_r1.wcEmpCity);
|
|
34929
34928
|
i0.ɵɵadvance(1);
|
|
34930
34929
|
i0.ɵɵclassMap("app-grid");
|
|
34931
|
-
i0.ɵɵproperty("field", ctx_r1.wcEmpCity)("form", _r0)("errDef", i0.ɵɵpureFunction0(80,
|
|
34930
|
+
i0.ɵɵproperty("field", ctx_r1.wcEmpCity)("form", _r0)("errDef", i0.ɵɵpureFunction0(80, _c8$3));
|
|
34932
34931
|
i0.ɵɵadvance(1);
|
|
34933
34932
|
i0.ɵɵproperty("ngIf", ctx_r1.isME());
|
|
34934
34933
|
i0.ɵɵadvance(1);
|
|
@@ -34947,7 +34946,7 @@ function WeeklyCertEmployerComponentQe_ion_row_3_Template(rf, ctx) { if (rf & 1)
|
|
|
34947
34946
|
i0.ɵɵproperty("options", ctx_r1.employmentStatusOptionsAll)("formControl", ctx_r1.wcEmpStatus)("autoDisplayFirst", false);
|
|
34948
34947
|
i0.ɵɵadvance(2);
|
|
34949
34948
|
i0.ɵɵclassMap("app-grid");
|
|
34950
|
-
i0.ɵɵproperty("field", ctx_r1.wcEmpStatus)("form", _r0)("errDef", i0.ɵɵpureFunction0(84,
|
|
34949
|
+
i0.ɵɵproperty("field", ctx_r1.wcEmpStatus)("form", _r0)("errDef", i0.ɵɵpureFunction0(84, _c10$3));
|
|
34951
34950
|
i0.ɵɵadvance(1);
|
|
34952
34951
|
i0.ɵɵproperty("ngIf", ctx_r1.wcEmpStatus.value == "LWLO");
|
|
34953
34952
|
i0.ɵɵadvance(1);
|
|
@@ -34970,14 +34969,14 @@ function WeeklyCertEmployerComponentQe_ion_row_3_Template(rf, ctx) { if (rf & 1)
|
|
|
34970
34969
|
i0.ɵɵproperty("formControl", ctx_r1.wcEmpHoursWorked)("minFractionDigits", 1)("maxFractionDigits", 2);
|
|
34971
34970
|
i0.ɵɵadvance(2);
|
|
34972
34971
|
i0.ɵɵclassMap("app-grid");
|
|
34973
|
-
i0.ɵɵproperty("field", ctx_r1.wcEmpHoursWorked)("form", _r0)("errDef", i0.ɵɵpureFunction0(85,
|
|
34972
|
+
i0.ɵɵproperty("field", ctx_r1.wcEmpHoursWorked)("form", _r0)("errDef", i0.ɵɵpureFunction0(85, _c12$2));
|
|
34974
34973
|
i0.ɵɵadvance(4);
|
|
34975
34974
|
i0.ɵɵproperty("overlayText", i0.ɵɵpipeBind1(59, 74, i0.ɵɵpipeBind1(60, 76, "weeklies.v2.employment.rtw.info.popup.1000")));
|
|
34976
34975
|
i0.ɵɵadvance(4);
|
|
34977
34976
|
i0.ɵɵproperty("formControl", ctx_r1.wsEmpAmtEarned);
|
|
34978
34977
|
i0.ɵɵadvance(2);
|
|
34979
34978
|
i0.ɵɵclassMap("app-grid");
|
|
34980
|
-
i0.ɵɵproperty("field", ctx_r1.wsEmpAmtEarned)("form", _r0)("errDef", i0.ɵɵpureFunction0(86,
|
|
34979
|
+
i0.ɵɵproperty("field", ctx_r1.wsEmpAmtEarned)("form", _r0)("errDef", i0.ɵɵpureFunction0(86, _c13$2));
|
|
34981
34980
|
} }
|
|
34982
34981
|
function WeeklyCertEmployerComponentQe_ion_row_4_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
34983
34982
|
i0.ɵɵelementStart(0, "div", 8)(1, "label", 36);
|
|
@@ -35193,7 +35192,7 @@ function WeeklyCertEmployerComponentQe_ion_row_4_Template(rf, ctx) { if (rf & 1)
|
|
|
35193
35192
|
i0.ɵɵproperty("options", ctx_r2.employmentStatusOptionsAll)("formControl", ctx_r2.wcEmpStatus)("autoDisplayFirst", false);
|
|
35194
35193
|
i0.ɵɵadvance(2);
|
|
35195
35194
|
i0.ɵɵclassMap("app-grid");
|
|
35196
|
-
i0.ɵɵproperty("field", ctx_r2.wcEmpStatus)("form", _r0)("errDef", i0.ɵɵpureFunction0(58,
|
|
35195
|
+
i0.ɵɵproperty("field", ctx_r2.wcEmpStatus)("form", _r0)("errDef", i0.ɵɵpureFunction0(58, _c10$3));
|
|
35197
35196
|
i0.ɵɵadvance(1);
|
|
35198
35197
|
i0.ɵɵproperty("ngIf", ctx_r2.wcEmpStatus.value == "LWLO");
|
|
35199
35198
|
i0.ɵɵadvance(1);
|
|
@@ -35219,14 +35218,14 @@ function WeeklyCertEmployerComponentQe_ion_row_4_Template(rf, ctx) { if (rf & 1)
|
|
|
35219
35218
|
i0.ɵɵproperty("formControl", ctx_r2.wcEmpHoursWorked)("minFractionDigits", 1)("maxFractionDigits", 2);
|
|
35220
35219
|
i0.ɵɵadvance(1);
|
|
35221
35220
|
i0.ɵɵclassMap("app-grid");
|
|
35222
|
-
i0.ɵɵproperty("field", ctx_r2.wcEmpHoursWorked)("form", _r0)("errDef", i0.ɵɵpureFunction0(61,
|
|
35221
|
+
i0.ɵɵproperty("field", ctx_r2.wcEmpHoursWorked)("form", _r0)("errDef", i0.ɵɵpureFunction0(61, _c12$2));
|
|
35223
35222
|
i0.ɵɵadvance(4);
|
|
35224
35223
|
i0.ɵɵproperty("overlayText", i0.ɵɵpipeBind1(43, 54, i0.ɵɵpipeBind1(44, 56, "weeklies.v2.employment.rtw.info.popup.1000")));
|
|
35225
35224
|
i0.ɵɵadvance(3);
|
|
35226
35225
|
i0.ɵɵproperty("formControl", ctx_r2.wsEmpAmtEarned);
|
|
35227
35226
|
i0.ɵɵadvance(1);
|
|
35228
35227
|
i0.ɵɵclassMap("app-grid");
|
|
35229
|
-
i0.ɵɵproperty("field", ctx_r2.wsEmpAmtEarned)("form", _r0)("errDef", i0.ɵɵpureFunction0(62,
|
|
35228
|
+
i0.ɵɵproperty("field", ctx_r2.wsEmpAmtEarned)("form", _r0)("errDef", i0.ɵɵpureFunction0(62, _c13$2));
|
|
35230
35229
|
} }
|
|
35231
35230
|
class WeeklyCertEmployerComponentQe extends BasePage {
|
|
35232
35231
|
constructor(util, formBuilder, cs) {
|
|
@@ -35298,7 +35297,7 @@ class WeeklyCertEmployerComponentQe extends BasePage {
|
|
|
35298
35297
|
let empInfo = this.empToEdit ? this.empToEdit : new EmployerInfoModel$1();
|
|
35299
35298
|
this.empForm = this.formBuilder.group({
|
|
35300
35299
|
'lastDayWorked': [empInfo.lastDayWorked != null ? this.getDate(empInfo.lastDayWorked) : '', Validators.compose([Validators.required, AppValidators$1.isBetweenDate(this.sunDate, this.satDate)])],
|
|
35301
|
-
'employerName': [empInfo.employerName, [Validators.required, Validators.pattern(/^[A-Za-z0-9\s\.,&'()
|
|
35300
|
+
'employerName': [empInfo.employerName, [Validators.required, Validators.pattern(/^(?!.*[%<>\^_{}])[A-Za-z0-9\s\.,&'()#!@:$\/\\\-\+?"]+$/)]],
|
|
35302
35301
|
'line1': [empInfo.line1, [Validators.required, Validators.pattern(/^[0-9A-Za-z\s,'\-\.#\/]+$/)]],
|
|
35303
35302
|
'line2': [empInfo.line2],
|
|
35304
35303
|
'city': [empInfo.city, Validators.compose([Validators.required, Validators.pattern(/^(?!-)[A-Za-z -]*$/)])],
|
|
@@ -35618,7 +35617,7 @@ class WeeklyCertEmployerComponentQe extends BasePage {
|
|
|
35618
35617
|
}
|
|
35619
35618
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WeeklyCertEmployerComponentQe, [{
|
|
35620
35619
|
type: Component,
|
|
35621
|
-
args: [{ selector: 'app-weekly-cert-employer-qe', template: "<form [formGroup]=\"empForm\" #empFormDirective=\"ngForm\">\r\n <ion-grid>\r\n <ion-row *ngIf=\"!empToEdit?.isPartTimeEmployer\">\r\n <ion-col class=\"ion-padding\" size=\"12\" sizeSm=\"12\" sizeXs=\"12\" sizeMd=\"6\" sizeLg=\"6\" sizeXl=\"6\">\r\n <div class=\"p-fluid formgrid\">\r\n \r\n <div class=\"field\">\r\n <label for=\"wcEmpName\">Employer Name</label>\r\n <app-search-employer id=\"wcEmployerName\" [formControl]=\"wcEmpName\" (onFound)=\"setEmployer($event)\"\r\n [empType]=\"'REG'\"></app-search-employer>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpName' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', pattern: 'only letters, numbers, spaces, and . , & \\' ( ) - # are allowed'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"isME()\">\r\n <label for=\"wcEmpState\">Country</label><br>\r\n <app-dropdown inputId=\"wcEmpCountry\" [options]=\"countryOptions\" optionLabel=\"text\" optionValue=\"value\"\r\n appendTo=\"body\" [formControl]=\"wcEmpCountry\" [autoDisplayFirst]=\"false\" inputId=\"wcEmpCountry\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpCountry' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpAddressLine1\">Street Address</label>\r\n <input id=\"wcEmpAddressLine1\" type=\"input\" pInputText [formControl]=\"wcEmpAddressLine1\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpAddressLine1' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', pattern: 'only letters, numbers, spaces, commas, periods, apostrophes, hyphens, # and / allowed'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpCity\">City</label>\r\n <input id=\"wcEmpCity\" type=\"input\" pInputText [formControl]=\"wcEmpCity\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpCity' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', pattern: 'city name can only contain letters, spaces, and hyphens'\r\n }\"></app-error>\r\n </div>\r\n \r\n <div *ngIf=\"isME()\">\r\n <ion-row>\r\n <ion-col style=\"padding: 0px;\">\r\n <div class=\"field\">\r\n <label for=\"wcEmpState\">State</label><br>\r\n <app-dropdown inputId=\"wcEmpState\" [options]=\"statesCombo\" optionLabel=\"text\" optionValue=\"value\"\r\n appendTo=\"body\" [formControl]=\"wcEmpState\" [autoDisplayFirst]=\"false\" inputId=\"wcEmpState\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpState' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n <ion-col size=\"1\"></ion-col>\r\n <ion-col style=\"padding: 0px;\">\r\n <div class=\"field\">\r\n <label for=\"wsZipCode\">Zip Code</label>\r\n <input id=\"wsZipCode\" type=\"input\" pInputText [formControl]=\"wsZipCode\" minlength=\"5\" maxlength=\"9\"\r\n appStripInvisibleChars />\r\n <app-error [class]=\"'app-grid'\" [field]='wsZipCode' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n invalidLength: 'Zip code should be of 5 or 9 digits.',\r\n invalidNumber: 'Zip code should only have numbers.',\r\n invalidZipCode: 'please enter a valid zip code'\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n </div>\r\n\r\n <div *ngIf=\"!isME()\">\r\n <div class=\"field\">\r\n <label for=\"wcEmpState\">State</label><br>\r\n <app-dropdown inputId=\"wcEmpState\" [options]=\"statesCombo\" optionLabel=\"text\" optionValue=\"value\" appendTo=\"body\"\r\n [formControl]=\"wcEmpState\" [autoDisplayFirst]=\"false\" inputId=\"wcEmpState\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpState' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\">\r\n <label for=\"wsZipCode\">Zip Code</label>\r\n <input id=\"wsZipCode\" type=\"input\" pInputText [formControl]=\"wsZipCode\" minlength=\"5\" maxlength=\"9\"\r\n appStripInvisibleChars />\r\n <app-error [class]=\"'app-grid'\" [field]='wsZipCode' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n invalidLength: 'Zip code should be of 5 or 9 digits.',\r\n invalidNumber: 'Zip code should only have numbers.',\r\n invalidZipCode: 'please enter a valid zip code'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"lastDayWorked\">Last day you worked</label>\r\n <p-calendar [iconAriaLabel]=\"'Last day worked'\" [showIcon]=\"true\" inputId=\"lastDayWorked\" appendTo=\"body\"\r\n [formControl]=\"lastDayWorked\" [minDate]=\"sunDate\" [maxDate]=\"satDate\"\r\n [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\" placeholder=\"mm/dd/yyyy\" dateFormat=\"mm/dd/yy\"\r\n [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\" (onInput)=\"dateInput($event)\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='lastDayWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n dateNotBetween: 'Date should be between ' + dynamicParam.sunday_date + ' and ' + dynamicParam.saturday_date + '.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n </ion-col>\r\n <ion-col class=\"ion-padding\" size=\"12\" sizeSm=\"12\" sizeXs=\"12\" sizeMd=\"6\" sizeLg=\"6\" sizeXl=\"6\">\r\n <div class=\"p-fluid formgrid\">\r\n\r\n \r\n\r\n <div class=\"field\">\r\n <label for=\"wsPhoneNumber\">Phone No.</label>\r\n <p-inputMask inputId=\"wsPhoneNumber\" [formControl]=\"wsPhoneNumber\" mask=\"(999) 999-9999\"\r\n unmask=\"true\"></p-inputMask>\r\n <app-error [class]=\"'app-grid'\" [field]='wsPhoneNumber' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpStatus\">What's your employment status with this employer?</label>\r\n <app-dropdown inputId=\"wcEmpStatus\" [options]=\"employmentStatusOptionsAll\" optionLabel=\"text\"\r\n optionValue=\"value\" appendTo=\"body\" [formControl]=\"wcEmpStatus\" [autoDisplayFirst]=\"false\"\r\n inputId=\"wcEmpStatus1\"></app-dropdown><br />\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpStatus' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', changeEmpStatus: 'If hours and earnings are both 0, employment status cannot be working-part time.' \r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO'\">\r\n <label for=\"haveReturnToWorkDate\">Do you know when you're returning to full-time work?</label>\r\n <p-selectButton [options]=\"yesNoOption\" [formControl]=\"haveReturnToWorkDate\" optionLabel=\"text\"\r\n optionValue=\"value\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='haveReturnToWorkDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO' && haveReturnToWorkDate.value == 'Y'\">\r\n <label for=\"wcEmpLowRtwDate\">When?</label>\r\n <div style=\"display: flex;\">\r\n <p-calendar [showIcon]=\"true\" inputId=\"wcEmpLowRtwDate\" appendTo=\"body\" [formControl]=\"wcEmpLowRtwDate\"\r\n placeholder=\"mm/dd/yyyy\" [showOnFocus]=\"false\" (onInput)=\"dateInput($event)\"\r\n [iconAriaLabel]=\"'When?'\" [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\"></p-calendar>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.2155' | translate | trustHtml\"\r\n style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info>\r\n </div>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpLowRtwDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'RTWF'\">\r\n <label for=\"wcEmpRtwDate\">Return to work date</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"wcEmpRtwDate\" appendTo=\"body\" [formControl]=\"wcEmpRtwDate\"\r\n placeholder=\"mm/dd/yyyy\" [showOnFocus]=\"false\" (onInput)=\"dateInput($event)\" optionValue=\"value\"\r\n [iconAriaLabel]=\"'Return to work date'\" [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpRtwDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'DCFI'\">\r\n <label\r\n for=\"dischargeDetail\">{{\"induction.confirm.employment.reason.separation.discharge\"|translate}}</label><br>\r\n <app-dropdown [options]=\"dischargeReasonOptionsAll\" [formControl]=\"discharged\" optionLabel=\"text\"\r\n appendTo=\"body\" [autoDisplayFirst]=\"false\" optionValue=\"value\" inputId=\"discharged1\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='discharged' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'VOLQ'\">\r\n <label for=\"volQuitDetails\">{{\"induction.confirm.employment.reason.separation.quit\"|translate}}</label><br>\r\n <app-dropdown [options]=\"volQuitReasonOptionsAll\" [formControl]=\"voluntaryQuit\" optionLabel=\"text\"\r\n appendTo=\"body\" [autoDisplayFirst]=\"false\" optionValue=\"value\" inputId=\"voluntaryQuit1\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='voluntaryQuit' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"isMS() ? false : (wcEmpStatus.value == 'VOLQ' || wcEmpStatus.value =='SUSP' || wcEmpStatus.value =='DCFI')\">\r\n <label for=\"startDayWorked\">First day you worked</label>\r\n <p-calendar [iconAriaLabel]=\"'Start day worked'\" [showIcon]=\"true\" inputId=\"startDayWorked\" appendTo=\"body\"\r\n [formControl]=\"startDayWorked\" [maxDate]=\"maxStartDate\"\r\n [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\" placeholder=\"mm/dd/yyyy\" \r\n [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\" (onInput)=\"dateInput($event)\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='startDayWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n dateNotBetween: 'Date should be between ' + dynamicParam.sunday_date + ' and ' + dynamicParam.saturday_date + '.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"isMS() ? false : (wcEmpStatus.value == 'VOLQ' || wcEmpStatus.value =='SUSP' || wcEmpStatus.value =='DCFI' || wcEmpStatus.value =='STLO')\">\r\n <label for=\"jobTitle\">Job Title</label>\r\n <input id=\"jobTitle\" type=\"input\" pInputText [formControl]=\"jobTitle\" required appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='jobTitle' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n <input type=\"hidden\" [formControl]=\"hidEmpId\" />\r\n\r\n <div class=\"field\" *ngIf=\"!isME()\">\r\n <span (click)=\"setWageFlag($event)\" class=\"underline-blue\" style=\"cursor:pointer;\">\r\n <b>Earnings Calculator</b>\r\n </span>\r\n <div *ngIf=\"wageDialog\">\r\n <app-wage-calculator [dynamicParam]=\"dynamicParam\" [showCalculatorPopup]=\"true\" \r\n (grossEarningsChange)=\"updateGrossEarnings($event)\" (totalHoursChange)=\"updateTotalHours($event)\"\r\n (saveClicked)=\"onDialogSave($event)\" (cancelClicked)=\"onDialogCancel()\" [wageCalculatorSavedData]=\"wageCalculatorData\"></app-wage-calculator>\r\n </div>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpHoursWorked\">Hours worked</label><br/>\r\n <p-inputNumber inputId=\"wcEmpHoursWorked\" [formControl]=\"wcEmpHoursWorked\" maxlength=\"10\"\r\n mode=\"decimal\" [minFractionDigits]=\"1\" [maxFractionDigits]=\"2\"></p-inputNumber><br>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpHoursWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', hoursPerWeekExceeded: 'total hours must not be greater than 168 for the week'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wsEmpAmtEarned\">Total Gross Earnings</label>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.1000' | translate | trustHtml\"\r\n style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info><br/>\r\n <p-inputNumber inputId=\"wsEmpAmtEarned\" mode=\"currency\" currency=\"USD\" locale=\"en-US\"\r\n [formControl]=\"wsEmpAmtEarned\" maxlength=\"10\" placeholder=\"$0.00\"></p-inputNumber><br>\r\n <app-error [class]=\"'app-grid'\" [field]='wsEmpAmtEarned' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', earningsNotZero: 'Gross Earnings cannot be zero.'\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row *ngIf=\"empToEdit?.isPartTimeEmployer\">\r\n <ion-col class=\"ion-padding\" size=\"12\" sizeSm=\"12\" sizeXs=\"12\" sizeMd=\"6\" sizeLg=\"6\" sizeXl=\"6\">\r\n <div class=\"p-fluid formgrid\">\r\n <div class=\"field\">\r\n <b>{{wcEmpName.value}}</b>\r\n </div>\r\n <section hidden>\r\n <input type=\"hidden\" [formControl]=\"wcEmpName\" />\r\n <input type=\"hidden\" [formControl]=\"wcEmpAddressLine1\" />\r\n <input type=\"hidden\" [formControl]=\"wcEmpCity\" />\r\n <input type=\"hidden\" [formControl]=\"wcEmpState\" />\r\n <input type=\"hidden\" [formControl]=\"wsZipCode\" />\r\n <input type=\"hidden\" [formControl]=\"wsPhoneNumber\" />\r\n <input type=\"hidden\" [formControl]=\"hidEmpId\" />\r\n <input type=\"hidden\" [formControl]=\"isPartTimeEmployer\" />\r\n </section>\r\n <div class=\"field\">\r\n <label for=\"wcEmpStatus\">What's your employment status with this employer?</label>\r\n <app-dropdown inputId=\"wcEmpStatus\" [options]=\"employmentStatusOptionsAll\" optionLabel=\"text\"\r\n optionValue=\"value\" appendTo=\"body\" [formControl]=\"wcEmpStatus\" [autoDisplayFirst]=\"false\"\r\n inputId=\"wcEmpStatus2\"></app-dropdown><br />\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpStatus' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', changeEmpStatus: 'If hours and earnings are both 0, employment status cannot be working-part time.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO'\">\r\n <label for=\"haveReturnToWorkDate\">Do you know when you're returning to full-time work?</label>\r\n <p-selectButton [options]=\"yesNoOption\" [formControl]=\"haveReturnToWorkDate\" optionLabel=\"text\"\r\n optionValue=\"value\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='haveReturnToWorkDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO' && haveReturnToWorkDate.value == 'Y'\">\r\n <label for=\"wcEmpLowRtwDate\">When?</label>\r\n <div style=\"display: flex;\">\r\n <p-calendar [showIcon]=\"true\" inputId=\"wcEmpLowRtwDate\" appendTo=\"body\" [formControl]=\"wcEmpLowRtwDate\"\r\n placeholder=\"mm/dd/yyyy\" [showOnFocus]=\"false\" (onInput)=\"dateInput($event)\"\r\n [iconAriaLabel]=\"'When?'\" [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\"></p-calendar>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.2050' | translate | trustHtml\"\r\n style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info>\r\n </div>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpLowRtwDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'RTWF'\">\r\n <label for=\"wcEmpRtwDate\">Return to work date</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"wcEmpRtwDate\" appendTo=\"body\" [formControl]=\"wcEmpRtwDate\"\r\n placeholder=\"mm/dd/yyyy\" [showOnFocus]=\"false\" (onInput)=\"dateInput($event)\" optionValue=\"value\"\r\n [iconAriaLabel]=\"'Return to work date'\" [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpRtwDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'DCFI'\">\r\n <label\r\n for=\"dischargeDetail\">{{\"induction.confirm.employment.reason.separation.discharge\"|translate}}</label><br>\r\n <app-dropdown [options]=\"dischargeReasonOptionsAll\" [formControl]=\"discharged\" optionLabel=\"text\"\r\n appendTo=\"body\" [autoDisplayFirst]=\"false\" optionValue=\"value\" inputId=\"discharged2\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='discharged' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'VOLQ'\">\r\n <label for=\"volQuitDetails\">{{\"induction.confirm.employment.reason.separation.quit\"|translate}}</label><br>\r\n <app-dropdown [options]=\"volQuitReasonOptionsAll\" [formControl]=\"voluntaryQuit\" optionLabel=\"text\"\r\n appendTo=\"body\" [autoDisplayFirst]=\"false\" optionValue=\"value\" inputId=\"voluntaryQuit2\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='voluntaryQuit' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'VOLQ' || wcEmpStatus.value =='SUSP' || wcEmpStatus.value =='DCFI' || wcEmpStatus.value =='STLO'\">\r\n <label for=\"jobTitle\">Job Title</label>\r\n <input id=\"jobTitle\" type=\"input\" pInputText [formControl]=\"jobTitle\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='jobTitle' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'VOLQ' || wcEmpStatus.value =='SUSP' || wcEmpStatus.value =='DCFI'\">\r\n <label for=\"startDayWorked\">First day you worked</label>\r\n <p-calendar [iconAriaLabel]=\"'Start day worked'\" [showIcon]=\"true\" inputId=\"startDayWorked\" appendTo=\"body\"\r\n [formControl]=\"startDayWorked\" [maxDate]=\"maxStartDate\"\r\n [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\" placeholder=\"mm/dd/yyyy\" [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\" (onInput)=\"dateInput($event)\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='startDayWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n dateNotBetween: 'Date should be between ' + dynamicParam.sunday_date + ' and ' + dynamicParam.saturday_date + '.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"lastDayWorked\">Last day you worked</label>\r\n <p-calendar [iconAriaLabel]=\"'Last day worked'\" [showIcon]=\"true\" inputId=\"lastDayWorked\" appendTo=\"body\"\r\n [formControl]=\"lastDayWorked\" [minDate]=\"sunDate\" [maxDate]=\"satDate\" dateFormat=\"mm/dd/yy\"\r\n [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\" placeholder=\"mm/dd/yyyy\" \r\n [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\" (onInput)=\"dateInput($event)\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='lastDayWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n dateNotBetween: 'Date should be between ' + dynamicParam.sunday_date + ' and ' + dynamicParam.saturday_date + '.'\r\n }\"></app-error>\r\n </div>\r\n \r\n <div class=\"field\" *ngIf=\"!isME()\">\r\n <span (click)=\"setWageFlag($event)\" class=\"underline-blue\" style=\"cursor:pointer;\">\r\n <b>Earnings Calculator</b>\r\n </span>\r\n <div *ngIf=\"wageDialog\">\r\n <app-wage-calculator [dynamicParam]=\"dynamicParam\" [showCalculatorPopup]=\"true\"\r\n (grossEarningsChange)=\"updateGrossEarnings($event)\" (totalHoursChange)=\"updateTotalHours($event)\"\r\n (saveClicked)=\"onDialogSave($event)\" (cancelClicked)=\"onDialogCancel()\"\r\n [wageCalculatorSavedData]=\"wageCalculatorData\"></app-wage-calculator>\r\n </div>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpHoursWorked\">Hours worked</label>\r\n <p-inputNumber inputId=\"wcEmpHoursWorked\" [formControl]=\"wcEmpHoursWorked\" maxlength=\"10\"\r\n mode=\"decimal\" [minFractionDigits]=\"1\" [maxFractionDigits]=\"2\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpHoursWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', hoursPerWeekExceeded: 'total hours must not be greater than 168 for the week'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wsEmpAmtEarned\">Total Gross Earnings</label>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.1000' | translate | trustHtml\"\r\n style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info>\r\n <p-inputNumber inputId=\"wsEmpAmtEarned\" mode=\"currency\" currency=\"USD\" locale=\"en-US\"\r\n [formControl]=\"wsEmpAmtEarned\" maxlength=\"10\" placeholder=\"$0.00\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wsEmpAmtEarned' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', earningsNotZero: 'Gross Earnings cannot be zero.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row>\r\n <ion-col class=\"ion-text-right\">\r\n <ion-button shape=\"round\" fill=\"outline\" (click)=\"close()\" type=\"reset\">Clear</ion-button>\r\n <ion-button shape=\"round\" (click)=\"isEditMode ? save() : add()\" type=\"submit\">\r\n {{ isEditMode ? 'Save' : 'Add' }}\r\n </ion-button>\r\n </ion-col>\r\n </ion-row>\r\n </ion-grid>\r\n</form>", styles: [":host ::ng-deep .p-fluid .p-buttonset{display:inline-flex!important}.underline-blue{color:#4478aa;text-decoration:underline}\n"] }]
|
|
35620
|
+
args: [{ selector: 'app-weekly-cert-employer-qe', template: "<form [formGroup]=\"empForm\" #empFormDirective=\"ngForm\">\r\n <ion-grid>\r\n <ion-row *ngIf=\"!empToEdit?.isPartTimeEmployer\">\r\n <ion-col class=\"ion-padding\" size=\"12\" sizeSm=\"12\" sizeXs=\"12\" sizeMd=\"6\" sizeLg=\"6\" sizeXl=\"6\">\r\n <div class=\"p-fluid formgrid\">\r\n \r\n <div class=\"field\">\r\n <label for=\"wcEmpName\">Employer Name</label>\r\n <app-search-employer id=\"wcEmployerName\" [formControl]=\"wcEmpName\" (onFound)=\"setEmployer($event)\"\r\n [empType]=\"'REG'\"></app-search-employer>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpName' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', pattern: '%, <, >, ^, _, {, } are not allowed'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"isME()\">\r\n <label for=\"wcEmpState\">Country</label><br>\r\n <app-dropdown inputId=\"wcEmpCountry\" [options]=\"countryOptions\" optionLabel=\"text\" optionValue=\"value\"\r\n appendTo=\"body\" [formControl]=\"wcEmpCountry\" [autoDisplayFirst]=\"false\" inputId=\"wcEmpCountry\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpCountry' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpAddressLine1\">Street Address</label>\r\n <input id=\"wcEmpAddressLine1\" type=\"input\" pInputText [formControl]=\"wcEmpAddressLine1\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpAddressLine1' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', pattern: 'only letters, numbers, spaces, commas, periods, apostrophes, hyphens, # and / allowed'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpCity\">City</label>\r\n <input id=\"wcEmpCity\" type=\"input\" pInputText [formControl]=\"wcEmpCity\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpCity' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', pattern: 'city name can only contain letters, spaces, and hyphens'\r\n }\"></app-error>\r\n </div>\r\n \r\n <div *ngIf=\"isME()\">\r\n <ion-row>\r\n <ion-col style=\"padding: 0px;\">\r\n <div class=\"field\">\r\n <label for=\"wcEmpState\">State</label><br>\r\n <app-dropdown inputId=\"wcEmpState\" [options]=\"statesCombo\" optionLabel=\"text\" optionValue=\"value\"\r\n appendTo=\"body\" [formControl]=\"wcEmpState\" [autoDisplayFirst]=\"false\" inputId=\"wcEmpState\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpState' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n <ion-col size=\"1\"></ion-col>\r\n <ion-col style=\"padding: 0px;\">\r\n <div class=\"field\">\r\n <label for=\"wsZipCode\">Zip Code</label>\r\n <input id=\"wsZipCode\" type=\"input\" pInputText [formControl]=\"wsZipCode\" minlength=\"5\" maxlength=\"9\"\r\n appStripInvisibleChars />\r\n <app-error [class]=\"'app-grid'\" [field]='wsZipCode' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n invalidLength: 'Zip code should be of 5 or 9 digits.',\r\n invalidNumber: 'Zip code should only have numbers.',\r\n invalidZipCode: 'please enter a valid zip code'\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n </div>\r\n\r\n <div *ngIf=\"!isME()\">\r\n <div class=\"field\">\r\n <label for=\"wcEmpState\">State</label><br>\r\n <app-dropdown inputId=\"wcEmpState\" [options]=\"statesCombo\" optionLabel=\"text\" optionValue=\"value\" appendTo=\"body\"\r\n [formControl]=\"wcEmpState\" [autoDisplayFirst]=\"false\" inputId=\"wcEmpState\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpState' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\">\r\n <label for=\"wsZipCode\">Zip Code</label>\r\n <input id=\"wsZipCode\" type=\"input\" pInputText [formControl]=\"wsZipCode\" minlength=\"5\" maxlength=\"9\"\r\n appStripInvisibleChars />\r\n <app-error [class]=\"'app-grid'\" [field]='wsZipCode' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n invalidLength: 'Zip code should be of 5 or 9 digits.',\r\n invalidNumber: 'Zip code should only have numbers.',\r\n invalidZipCode: 'please enter a valid zip code'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"lastDayWorked\">Last day you worked</label>\r\n <p-calendar [iconAriaLabel]=\"'Last day worked'\" [showIcon]=\"true\" inputId=\"lastDayWorked\" appendTo=\"body\"\r\n [formControl]=\"lastDayWorked\" [minDate]=\"sunDate\" [maxDate]=\"satDate\"\r\n [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\" placeholder=\"mm/dd/yyyy\" dateFormat=\"mm/dd/yy\"\r\n [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\" (onInput)=\"dateInput($event)\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='lastDayWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n dateNotBetween: 'Date should be between ' + dynamicParam.sunday_date + ' and ' + dynamicParam.saturday_date + '.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n </ion-col>\r\n <ion-col class=\"ion-padding\" size=\"12\" sizeSm=\"12\" sizeXs=\"12\" sizeMd=\"6\" sizeLg=\"6\" sizeXl=\"6\">\r\n <div class=\"p-fluid formgrid\">\r\n\r\n \r\n\r\n <div class=\"field\">\r\n <label for=\"wsPhoneNumber\">Phone No.</label>\r\n <p-inputMask inputId=\"wsPhoneNumber\" [formControl]=\"wsPhoneNumber\" mask=\"(999) 999-9999\"\r\n unmask=\"true\"></p-inputMask>\r\n <app-error [class]=\"'app-grid'\" [field]='wsPhoneNumber' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpStatus\">What's your employment status with this employer?</label>\r\n <app-dropdown inputId=\"wcEmpStatus\" [options]=\"employmentStatusOptionsAll\" optionLabel=\"text\"\r\n optionValue=\"value\" appendTo=\"body\" [formControl]=\"wcEmpStatus\" [autoDisplayFirst]=\"false\"\r\n inputId=\"wcEmpStatus1\"></app-dropdown><br />\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpStatus' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', changeEmpStatus: 'If hours and earnings are both 0, employment status cannot be working-part time.' \r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO'\">\r\n <label for=\"haveReturnToWorkDate\">Do you know when you're returning to full-time work?</label>\r\n <p-selectButton [options]=\"yesNoOption\" [formControl]=\"haveReturnToWorkDate\" optionLabel=\"text\"\r\n optionValue=\"value\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='haveReturnToWorkDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO' && haveReturnToWorkDate.value == 'Y'\">\r\n <label for=\"wcEmpLowRtwDate\">When?</label>\r\n <div style=\"display: flex;\">\r\n <p-calendar [showIcon]=\"true\" inputId=\"wcEmpLowRtwDate\" appendTo=\"body\" [formControl]=\"wcEmpLowRtwDate\"\r\n placeholder=\"mm/dd/yyyy\" [showOnFocus]=\"false\" (onInput)=\"dateInput($event)\"\r\n [iconAriaLabel]=\"'When?'\" [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\"></p-calendar>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.2155' | translate | trustHtml\"\r\n style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info>\r\n </div>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpLowRtwDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'RTWF'\">\r\n <label for=\"wcEmpRtwDate\">Return to work date</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"wcEmpRtwDate\" appendTo=\"body\" [formControl]=\"wcEmpRtwDate\"\r\n placeholder=\"mm/dd/yyyy\" [showOnFocus]=\"false\" (onInput)=\"dateInput($event)\" optionValue=\"value\"\r\n [iconAriaLabel]=\"'Return to work date'\" [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpRtwDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'DCFI'\">\r\n <label\r\n for=\"dischargeDetail\">{{\"induction.confirm.employment.reason.separation.discharge\"|translate}}</label><br>\r\n <app-dropdown [options]=\"dischargeReasonOptionsAll\" [formControl]=\"discharged\" optionLabel=\"text\"\r\n appendTo=\"body\" [autoDisplayFirst]=\"false\" optionValue=\"value\" inputId=\"discharged1\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='discharged' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'VOLQ'\">\r\n <label for=\"volQuitDetails\">{{\"induction.confirm.employment.reason.separation.quit\"|translate}}</label><br>\r\n <app-dropdown [options]=\"volQuitReasonOptionsAll\" [formControl]=\"voluntaryQuit\" optionLabel=\"text\"\r\n appendTo=\"body\" [autoDisplayFirst]=\"false\" optionValue=\"value\" inputId=\"voluntaryQuit1\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='voluntaryQuit' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"isMS() ? false : (wcEmpStatus.value == 'VOLQ' || wcEmpStatus.value =='SUSP' || wcEmpStatus.value =='DCFI')\">\r\n <label for=\"startDayWorked\">First day you worked</label>\r\n <p-calendar [iconAriaLabel]=\"'Start day worked'\" [showIcon]=\"true\" inputId=\"startDayWorked\" appendTo=\"body\"\r\n [formControl]=\"startDayWorked\" [maxDate]=\"maxStartDate\"\r\n [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\" placeholder=\"mm/dd/yyyy\" \r\n [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\" (onInput)=\"dateInput($event)\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='startDayWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n dateNotBetween: 'Date should be between ' + dynamicParam.sunday_date + ' and ' + dynamicParam.saturday_date + '.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"isMS() ? false : (wcEmpStatus.value == 'VOLQ' || wcEmpStatus.value =='SUSP' || wcEmpStatus.value =='DCFI' || wcEmpStatus.value =='STLO')\">\r\n <label for=\"jobTitle\">Job Title</label>\r\n <input id=\"jobTitle\" type=\"input\" pInputText [formControl]=\"jobTitle\" required appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='jobTitle' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n <input type=\"hidden\" [formControl]=\"hidEmpId\" />\r\n\r\n <div class=\"field\" *ngIf=\"!isME()\">\r\n <span (click)=\"setWageFlag($event)\" class=\"underline-blue\" style=\"cursor:pointer;\">\r\n <b>Earnings Calculator</b>\r\n </span>\r\n <div *ngIf=\"wageDialog\">\r\n <app-wage-calculator [dynamicParam]=\"dynamicParam\" [showCalculatorPopup]=\"true\" \r\n (grossEarningsChange)=\"updateGrossEarnings($event)\" (totalHoursChange)=\"updateTotalHours($event)\"\r\n (saveClicked)=\"onDialogSave($event)\" (cancelClicked)=\"onDialogCancel()\" [wageCalculatorSavedData]=\"wageCalculatorData\"></app-wage-calculator>\r\n </div>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpHoursWorked\">Hours worked</label><br/>\r\n <p-inputNumber inputId=\"wcEmpHoursWorked\" [formControl]=\"wcEmpHoursWorked\" maxlength=\"10\"\r\n mode=\"decimal\" [minFractionDigits]=\"1\" [maxFractionDigits]=\"2\"></p-inputNumber><br>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpHoursWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', hoursPerWeekExceeded: 'total hours must not be greater than 168 for the week'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wsEmpAmtEarned\">Total Gross Earnings</label>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.1000' | translate | trustHtml\"\r\n style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info><br/>\r\n <p-inputNumber inputId=\"wsEmpAmtEarned\" mode=\"currency\" currency=\"USD\" locale=\"en-US\"\r\n [formControl]=\"wsEmpAmtEarned\" maxlength=\"10\" placeholder=\"$0.00\"></p-inputNumber><br>\r\n <app-error [class]=\"'app-grid'\" [field]='wsEmpAmtEarned' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', earningsNotZero: 'Gross Earnings cannot be zero.'\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row *ngIf=\"empToEdit?.isPartTimeEmployer\">\r\n <ion-col class=\"ion-padding\" size=\"12\" sizeSm=\"12\" sizeXs=\"12\" sizeMd=\"6\" sizeLg=\"6\" sizeXl=\"6\">\r\n <div class=\"p-fluid formgrid\">\r\n <div class=\"field\">\r\n <b>{{wcEmpName.value}}</b>\r\n </div>\r\n <section hidden>\r\n <input type=\"hidden\" [formControl]=\"wcEmpName\" />\r\n <input type=\"hidden\" [formControl]=\"wcEmpAddressLine1\" />\r\n <input type=\"hidden\" [formControl]=\"wcEmpCity\" />\r\n <input type=\"hidden\" [formControl]=\"wcEmpState\" />\r\n <input type=\"hidden\" [formControl]=\"wsZipCode\" />\r\n <input type=\"hidden\" [formControl]=\"wsPhoneNumber\" />\r\n <input type=\"hidden\" [formControl]=\"hidEmpId\" />\r\n <input type=\"hidden\" [formControl]=\"isPartTimeEmployer\" />\r\n </section>\r\n <div class=\"field\">\r\n <label for=\"wcEmpStatus\">What's your employment status with this employer?</label>\r\n <app-dropdown inputId=\"wcEmpStatus\" [options]=\"employmentStatusOptionsAll\" optionLabel=\"text\"\r\n optionValue=\"value\" appendTo=\"body\" [formControl]=\"wcEmpStatus\" [autoDisplayFirst]=\"false\"\r\n inputId=\"wcEmpStatus2\"></app-dropdown><br />\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpStatus' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', changeEmpStatus: 'If hours and earnings are both 0, employment status cannot be working-part time.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO'\">\r\n <label for=\"haveReturnToWorkDate\">Do you know when you're returning to full-time work?</label>\r\n <p-selectButton [options]=\"yesNoOption\" [formControl]=\"haveReturnToWorkDate\" optionLabel=\"text\"\r\n optionValue=\"value\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='haveReturnToWorkDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO' && haveReturnToWorkDate.value == 'Y'\">\r\n <label for=\"wcEmpLowRtwDate\">When?</label>\r\n <div style=\"display: flex;\">\r\n <p-calendar [showIcon]=\"true\" inputId=\"wcEmpLowRtwDate\" appendTo=\"body\" [formControl]=\"wcEmpLowRtwDate\"\r\n placeholder=\"mm/dd/yyyy\" [showOnFocus]=\"false\" (onInput)=\"dateInput($event)\"\r\n [iconAriaLabel]=\"'When?'\" [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\"></p-calendar>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.2050' | translate | trustHtml\"\r\n style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info>\r\n </div>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpLowRtwDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'RTWF'\">\r\n <label for=\"wcEmpRtwDate\">Return to work date</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"wcEmpRtwDate\" appendTo=\"body\" [formControl]=\"wcEmpRtwDate\"\r\n placeholder=\"mm/dd/yyyy\" [showOnFocus]=\"false\" (onInput)=\"dateInput($event)\" optionValue=\"value\"\r\n [iconAriaLabel]=\"'Return to work date'\" [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpRtwDate' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'DCFI'\">\r\n <label\r\n for=\"dischargeDetail\">{{\"induction.confirm.employment.reason.separation.discharge\"|translate}}</label><br>\r\n <app-dropdown [options]=\"dischargeReasonOptionsAll\" [formControl]=\"discharged\" optionLabel=\"text\"\r\n appendTo=\"body\" [autoDisplayFirst]=\"false\" optionValue=\"value\" inputId=\"discharged2\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='discharged' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'VOLQ'\">\r\n <label for=\"volQuitDetails\">{{\"induction.confirm.employment.reason.separation.quit\"|translate}}</label><br>\r\n <app-dropdown [options]=\"volQuitReasonOptionsAll\" [formControl]=\"voluntaryQuit\" optionLabel=\"text\"\r\n appendTo=\"body\" [autoDisplayFirst]=\"false\" optionValue=\"value\" inputId=\"voluntaryQuit2\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='voluntaryQuit' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'VOLQ' || wcEmpStatus.value =='SUSP' || wcEmpStatus.value =='DCFI' || wcEmpStatus.value =='STLO'\">\r\n <label for=\"jobTitle\">Job Title</label>\r\n <input id=\"jobTitle\" type=\"input\" pInputText [formControl]=\"jobTitle\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='jobTitle' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'VOLQ' || wcEmpStatus.value =='SUSP' || wcEmpStatus.value =='DCFI'\">\r\n <label for=\"startDayWorked\">First day you worked</label>\r\n <p-calendar [iconAriaLabel]=\"'Start day worked'\" [showIcon]=\"true\" inputId=\"startDayWorked\" appendTo=\"body\"\r\n [formControl]=\"startDayWorked\" [maxDate]=\"maxStartDate\"\r\n [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\" placeholder=\"mm/dd/yyyy\" [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\" (onInput)=\"dateInput($event)\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='startDayWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n dateNotBetween: 'Date should be between ' + dynamicParam.sunday_date + ' and ' + dynamicParam.saturday_date + '.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"lastDayWorked\">Last day you worked</label>\r\n <p-calendar [iconAriaLabel]=\"'Last day worked'\" [showIcon]=\"true\" inputId=\"lastDayWorked\" appendTo=\"body\"\r\n [formControl]=\"lastDayWorked\" [minDate]=\"sunDate\" [maxDate]=\"satDate\" dateFormat=\"mm/dd/yy\"\r\n [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\" placeholder=\"mm/dd/yyyy\" \r\n [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\" (onInput)=\"dateInput($event)\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='lastDayWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required',\r\n dateNotBetween: 'Date should be between ' + dynamicParam.sunday_date + ' and ' + dynamicParam.saturday_date + '.'\r\n }\"></app-error>\r\n </div>\r\n \r\n <div class=\"field\" *ngIf=\"!isME()\">\r\n <span (click)=\"setWageFlag($event)\" class=\"underline-blue\" style=\"cursor:pointer;\">\r\n <b>Earnings Calculator</b>\r\n </span>\r\n <div *ngIf=\"wageDialog\">\r\n <app-wage-calculator [dynamicParam]=\"dynamicParam\" [showCalculatorPopup]=\"true\"\r\n (grossEarningsChange)=\"updateGrossEarnings($event)\" (totalHoursChange)=\"updateTotalHours($event)\"\r\n (saveClicked)=\"onDialogSave($event)\" (cancelClicked)=\"onDialogCancel()\"\r\n [wageCalculatorSavedData]=\"wageCalculatorData\"></app-wage-calculator>\r\n </div>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpHoursWorked\">Hours worked</label>\r\n <p-inputNumber inputId=\"wcEmpHoursWorked\" [formControl]=\"wcEmpHoursWorked\" maxlength=\"10\"\r\n mode=\"decimal\" [minFractionDigits]=\"1\" [maxFractionDigits]=\"2\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpHoursWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', hoursPerWeekExceeded: 'total hours must not be greater than 168 for the week'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wsEmpAmtEarned\">Total Gross Earnings</label>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.1000' | translate | trustHtml\"\r\n style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info>\r\n <p-inputNumber inputId=\"wsEmpAmtEarned\" mode=\"currency\" currency=\"USD\" locale=\"en-US\"\r\n [formControl]=\"wsEmpAmtEarned\" maxlength=\"10\" placeholder=\"$0.00\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wsEmpAmtEarned' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: 'required', earningsNotZero: 'Gross Earnings cannot be zero.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row>\r\n <ion-col class=\"ion-text-right\">\r\n <ion-button shape=\"round\" fill=\"outline\" (click)=\"close()\" type=\"reset\">Clear</ion-button>\r\n <ion-button shape=\"round\" (click)=\"isEditMode ? save() : add()\" type=\"submit\">\r\n {{ isEditMode ? 'Save' : 'Add' }}\r\n </ion-button>\r\n </ion-col>\r\n </ion-row>\r\n </ion-grid>\r\n</form>", styles: [":host ::ng-deep .p-fluid .p-buttonset{display:inline-flex!important}.underline-blue{color:#4478aa;text-decoration:underline}\n"] }]
|
|
35622
35621
|
}], () => [{ type: UtilService }, { type: i1$4.UntypedFormBuilder }, { type: ClaimService }], { empFormDirective: [{
|
|
35623
35622
|
type: ViewChild,
|
|
35624
35623
|
args: ['empFormDirective', { static: false }]
|
|
@@ -46320,7 +46319,7 @@ function WorkSearchEmployerComponentME_section_27_Template(rf, ctx) { if (rf & 1
|
|
|
46320
46319
|
} }
|
|
46321
46320
|
const _c12$1 = () => ({ "1200px": "660px", "992px": "660px", "768px": "660px", "576px": "100vw" });
|
|
46322
46321
|
const _c13$1 = "You can only add one entry for this activity type this week.";
|
|
46323
|
-
const _c14
|
|
46322
|
+
const _c14 = () => ({ required: "Required.", typeAlreadyUsed: _c13$1 });
|
|
46324
46323
|
class WorkSearchEmployerComponentME {
|
|
46325
46324
|
constructor(wcService, formBuilder, util) {
|
|
46326
46325
|
this.wcService = wcService;
|
|
@@ -46982,7 +46981,7 @@ class WorkSearchEmployerComponentME {
|
|
|
46982
46981
|
i0.ɵɵproperty("options", ctx.activityTypeCombo)("formControl", ctx.activityType);
|
|
46983
46982
|
i0.ɵɵadvance(1);
|
|
46984
46983
|
i0.ɵɵclassMap("app-grid");
|
|
46985
|
-
i0.ɵɵproperty("field", ctx.activityType)("form", _r0)("errDef", i0.ɵɵpureFunction0(36, _c14
|
|
46984
|
+
i0.ɵɵproperty("field", ctx.activityType)("form", _r0)("errDef", i0.ɵɵpureFunction0(36, _c14));
|
|
46986
46985
|
i0.ɵɵadvance(1);
|
|
46987
46986
|
i0.ɵɵproperty("ngIf", ctx.displayWorkingForAnEmployerQuestions);
|
|
46988
46987
|
i0.ɵɵadvance(1);
|
|
@@ -47033,14 +47032,13 @@ class WorkSearchEmployerComponentME {
|
|
|
47033
47032
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkSearchEmployerComponentME, { className: "WorkSearchEmployerComponentME", filePath: "lib\\components\\weekly-work-search-employer-me\\work-search-employer.component-me.ts", lineNumber: 16 }); })();
|
|
47034
47033
|
|
|
47035
47034
|
const _c0$8 = ["wsrFormDirective"];
|
|
47036
|
-
const _c1$8 =
|
|
47037
|
-
const _c2$5 =
|
|
47038
|
-
const _c3$4 =
|
|
47039
|
-
const _c4$4 =
|
|
47040
|
-
const _c5$2 = "City
|
|
47041
|
-
const _c6$2 = () => ({ required: "Required."
|
|
47042
|
-
const _c7$1 = () => ({ required: "Required." });
|
|
47043
|
-
const _c8$1 = () => ({ required: "Required.", invalidLength: "Zip code should be of 5 or 9 digits.", invalidNumber: "Zip code should only have numbers." });
|
|
47035
|
+
const _c1$8 = () => ({ required: "Required.", pattern: "%, <, >, ^, _, {, } are not allowed" });
|
|
47036
|
+
const _c2$5 = "Only letters, numbers, spaces, commas, periods, apostrophes, hyphens, # and / allowed";
|
|
47037
|
+
const _c3$4 = () => ({ required: "Required.", pattern: _c2$5 });
|
|
47038
|
+
const _c4$4 = "City name can only contain letters, spaces, and hyphens";
|
|
47039
|
+
const _c5$2 = () => ({ required: "Required.", invalidwsCityLength: "City should not exceed a length of 30 characters", pattern: _c4$4 });
|
|
47040
|
+
const _c6$2 = () => ({ required: "Required." });
|
|
47041
|
+
const _c7$1 = () => ({ required: "Required.", invalidLength: "Zip code should be of 5 or 9 digits.", invalidNumber: "Zip code should only have numbers." });
|
|
47044
47042
|
function WorkSearchEmployerComponentMS_section_16_Template(rf, ctx) { if (rf & 1) {
|
|
47045
47043
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
47046
47044
|
i0.ɵɵelementStart(0, "section")(1, "div", 6)(2, "label", 15);
|
|
@@ -47086,37 +47084,37 @@ function WorkSearchEmployerComponentMS_section_16_Template(rf, ctx) { if (rf & 1
|
|
|
47086
47084
|
i0.ɵɵproperty("formControl", ctx_r1.employerName)("empType", "REG");
|
|
47087
47085
|
i0.ɵɵadvance(1);
|
|
47088
47086
|
i0.ɵɵclassMap("app-grid");
|
|
47089
|
-
i0.ɵɵproperty("field", ctx_r1.employerName)("form", _r0)("errDef", i0.ɵɵpureFunction0(47,
|
|
47087
|
+
i0.ɵɵproperty("field", ctx_r1.employerName)("form", _r0)("errDef", i0.ɵɵpureFunction0(47, _c1$8));
|
|
47090
47088
|
i0.ɵɵadvance(3);
|
|
47091
47089
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 39, "work.search.journal.streetAddress"));
|
|
47092
47090
|
i0.ɵɵadvance(2);
|
|
47093
47091
|
i0.ɵɵproperty("formControl", ctx_r1.line1);
|
|
47094
47092
|
i0.ɵɵadvance(1);
|
|
47095
47093
|
i0.ɵɵclassMap("app-grid");
|
|
47096
|
-
i0.ɵɵproperty("field", ctx_r1.line1)("form", _r0)("errDef", i0.ɵɵpureFunction0(48,
|
|
47094
|
+
i0.ɵɵproperty("field", ctx_r1.line1)("form", _r0)("errDef", i0.ɵɵpureFunction0(48, _c3$4));
|
|
47097
47095
|
i0.ɵɵadvance(3);
|
|
47098
47096
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 41, "work.search.journal.city"));
|
|
47099
47097
|
i0.ɵɵadvance(2);
|
|
47100
47098
|
i0.ɵɵproperty("formControl", ctx_r1.city);
|
|
47101
47099
|
i0.ɵɵadvance(1);
|
|
47102
47100
|
i0.ɵɵclassMap("app-grid");
|
|
47103
|
-
i0.ɵɵproperty("field", ctx_r1.city)("form", _r0)("errDef", i0.ɵɵpureFunction0(49,
|
|
47101
|
+
i0.ɵɵproperty("field", ctx_r1.city)("form", _r0)("errDef", i0.ɵɵpureFunction0(49, _c5$2));
|
|
47104
47102
|
i0.ɵɵadvance(5);
|
|
47105
47103
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(24, 43, "work.search.journal.state"));
|
|
47106
47104
|
i0.ɵɵadvance(2);
|
|
47107
47105
|
i0.ɵɵproperty("options", ctx_r1.statesCombo)("formControl", ctx_r1.state);
|
|
47108
47106
|
i0.ɵɵadvance(1);
|
|
47109
47107
|
i0.ɵɵclassMap("app-grid");
|
|
47110
|
-
i0.ɵɵproperty("field", ctx_r1.state)("form", _r0)("errDef", i0.ɵɵpureFunction0(50,
|
|
47108
|
+
i0.ɵɵproperty("field", ctx_r1.state)("form", _r0)("errDef", i0.ɵɵpureFunction0(50, _c6$2));
|
|
47111
47109
|
i0.ɵɵadvance(5);
|
|
47112
47110
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(32, 45, "work.search.journal.zip"));
|
|
47113
47111
|
i0.ɵɵadvance(2);
|
|
47114
47112
|
i0.ɵɵproperty("formControl", ctx_r1.zip);
|
|
47115
47113
|
i0.ɵɵadvance(1);
|
|
47116
47114
|
i0.ɵɵclassMap("app-grid");
|
|
47117
|
-
i0.ɵɵproperty("field", ctx_r1.zip)("form", _r0)("errDef", i0.ɵɵpureFunction0(51,
|
|
47115
|
+
i0.ɵɵproperty("field", ctx_r1.zip)("form", _r0)("errDef", i0.ɵɵpureFunction0(51, _c7$1));
|
|
47118
47116
|
} }
|
|
47119
|
-
const
|
|
47117
|
+
const _c8$1 = a1 => ({ required: "Required.", dateNotBetween: a1 });
|
|
47120
47118
|
function WorkSearchEmployerComponentMS_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
47121
47119
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
47122
47120
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 27);
|
|
@@ -47137,7 +47135,7 @@ function WorkSearchEmployerComponentMS_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
47137
47135
|
i0.ɵɵproperty("showIcon", true)("formControl", ctx_r2.workSearchDate)("minDate", ctx_r2.sunDate)("maxDate", ctx_r2.satDate)("defaultDate", ctx_r2.sunDate)("selectOtherMonths", true)("monthNavigator", true)("yearNavigator", true);
|
|
47138
47136
|
i0.ɵɵadvance(1);
|
|
47139
47137
|
i0.ɵɵclassMap("app-grid");
|
|
47140
|
-
i0.ɵɵproperty("field", ctx_r2.workSearchDate)("form", _r0)("errDef", i0.ɵɵpureFunction1(16,
|
|
47138
|
+
i0.ɵɵproperty("field", ctx_r2.workSearchDate)("form", _r0)("errDef", i0.ɵɵpureFunction1(16, _c8$1, "Date should be between " + ctx_r2.sunDateString + " and " + ctx_r2.currentDateString + "."));
|
|
47141
47139
|
} }
|
|
47142
47140
|
function WorkSearchEmployerComponentMS_section_20_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
47143
47141
|
i0.ɵɵelementStart(0, "div")(1, "div", 6)(2, "label", 32);
|
|
@@ -47155,7 +47153,7 @@ function WorkSearchEmployerComponentMS_section_20_div_7_Template(rf, ctx) { if (
|
|
|
47155
47153
|
i0.ɵɵproperty("options", ctx_r8.workSearchMethodContactMs)("formControl", ctx_r8.contactMethod);
|
|
47156
47154
|
i0.ɵɵadvance(1);
|
|
47157
47155
|
i0.ɵɵclassMap("app-grid");
|
|
47158
|
-
i0.ɵɵproperty("field", ctx_r8.contactMethod)("form", _r0)("errDef", i0.ɵɵpureFunction0(10,
|
|
47156
|
+
i0.ɵɵproperty("field", ctx_r8.contactMethod)("form", _r0)("errDef", i0.ɵɵpureFunction0(10, _c6$2));
|
|
47159
47157
|
} }
|
|
47160
47158
|
function WorkSearchEmployerComponentMS_section_20_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
47161
47159
|
i0.ɵɵelementStart(0, "div")(1, "div", 6)(2, "label", 32);
|
|
@@ -47173,7 +47171,7 @@ function WorkSearchEmployerComponentMS_section_20_div_8_Template(rf, ctx) { if (
|
|
|
47173
47171
|
i0.ɵɵproperty("options", ctx_r9.workSearchMethodContactMs)("formControl", ctx_r9.contactMethod);
|
|
47174
47172
|
i0.ɵɵadvance(1);
|
|
47175
47173
|
i0.ɵɵclassMap("app-grid");
|
|
47176
|
-
i0.ɵɵproperty("field", ctx_r9.contactMethod)("form", _r0)("errDef", i0.ɵɵpureFunction0(10,
|
|
47174
|
+
i0.ɵɵproperty("field", ctx_r9.contactMethod)("form", _r0)("errDef", i0.ɵɵpureFunction0(10, _c6$2));
|
|
47177
47175
|
} }
|
|
47178
47176
|
function WorkSearchEmployerComponentMS_section_20_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
47179
47177
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 34);
|
|
@@ -47191,9 +47189,9 @@ function WorkSearchEmployerComponentMS_section_20_div_9_Template(rf, ctx) { if (
|
|
|
47191
47189
|
i0.ɵɵproperty("formControl", ctx_r10.employerPhone);
|
|
47192
47190
|
i0.ɵɵadvance(1);
|
|
47193
47191
|
i0.ɵɵclassMap("app-grid");
|
|
47194
|
-
i0.ɵɵproperty("field", ctx_r10.employerPhone)("form", _r0)("errDef", i0.ɵɵpureFunction0(9,
|
|
47192
|
+
i0.ɵɵproperty("field", ctx_r10.employerPhone)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c6$2));
|
|
47195
47193
|
} }
|
|
47196
|
-
const
|
|
47194
|
+
const _c9$1 = () => ({ required: "Required.", employerEmail: "Invalid email address." });
|
|
47197
47195
|
function WorkSearchEmployerComponentMS_section_20_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
47198
47196
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 36);
|
|
47199
47197
|
i0.ɵɵtext(2);
|
|
@@ -47210,9 +47208,9 @@ function WorkSearchEmployerComponentMS_section_20_div_10_Template(rf, ctx) { if
|
|
|
47210
47208
|
i0.ɵɵproperty("formControl", ctx_r11.employerEmail);
|
|
47211
47209
|
i0.ɵɵadvance(1);
|
|
47212
47210
|
i0.ɵɵclassMap("app-grid");
|
|
47213
|
-
i0.ɵɵproperty("field", ctx_r11.employerEmail)("form", _r0)("errDef", i0.ɵɵpureFunction0(9,
|
|
47211
|
+
i0.ɵɵproperty("field", ctx_r11.employerEmail)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c9$1));
|
|
47214
47212
|
} }
|
|
47215
|
-
const
|
|
47213
|
+
const _c10$1 = () => ({ required: "Required.", invalidWebsite: "Please enter a valid website address" });
|
|
47216
47214
|
function WorkSearchEmployerComponentMS_section_20_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
47217
47215
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 38);
|
|
47218
47216
|
i0.ɵɵtext(2);
|
|
@@ -47229,7 +47227,7 @@ function WorkSearchEmployerComponentMS_section_20_div_11_Template(rf, ctx) { if
|
|
|
47229
47227
|
i0.ɵɵproperty("formControl", ctx_r12.employerWebsite);
|
|
47230
47228
|
i0.ɵɵadvance(1);
|
|
47231
47229
|
i0.ɵɵclassMap("app-grid");
|
|
47232
|
-
i0.ɵɵproperty("field", ctx_r12.employerWebsite)("form", _r0)("errDef", i0.ɵɵpureFunction0(9,
|
|
47230
|
+
i0.ɵɵproperty("field", ctx_r12.employerWebsite)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c10$1));
|
|
47233
47231
|
} }
|
|
47234
47232
|
function WorkSearchEmployerComponentMS_section_20_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
47235
47233
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 40);
|
|
@@ -47247,7 +47245,7 @@ function WorkSearchEmployerComponentMS_section_20_div_12_Template(rf, ctx) { if
|
|
|
47247
47245
|
i0.ɵɵproperty("formControl", ctx_r13.empContactPersonName);
|
|
47248
47246
|
i0.ɵɵadvance(1);
|
|
47249
47247
|
i0.ɵɵclassMap("app-grid");
|
|
47250
|
-
i0.ɵɵproperty("field", ctx_r13.empContactPersonName)("form", _r0)("errDef", i0.ɵɵpureFunction0(9,
|
|
47248
|
+
i0.ɵɵproperty("field", ctx_r13.empContactPersonName)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c6$2));
|
|
47251
47249
|
} }
|
|
47252
47250
|
function WorkSearchEmployerComponentMS_section_20_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
47253
47251
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 42);
|
|
@@ -47265,7 +47263,7 @@ function WorkSearchEmployerComponentMS_section_20_div_13_Template(rf, ctx) { if
|
|
|
47265
47263
|
i0.ɵɵproperty("formControl", ctx_r14.empContactPersonTitle);
|
|
47266
47264
|
i0.ɵɵadvance(1);
|
|
47267
47265
|
i0.ɵɵclassMap("app-grid");
|
|
47268
|
-
i0.ɵɵproperty("field", ctx_r14.empContactPersonTitle)("form", _r0)("errDef", i0.ɵɵpureFunction0(9,
|
|
47266
|
+
i0.ɵɵproperty("field", ctx_r14.empContactPersonTitle)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c6$2));
|
|
47269
47267
|
} }
|
|
47270
47268
|
function WorkSearchEmployerComponentMS_section_20_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
47271
47269
|
i0.ɵɵelementStart(0, "div");
|
|
@@ -47278,7 +47276,7 @@ function WorkSearchEmployerComponentMS_section_20_div_18_Template(rf, ctx) { if
|
|
|
47278
47276
|
i0.ɵɵproperty("options", ctx_r15.workSearchResultComboJobApplicationMs)("formControl", ctx_r15.searchResult);
|
|
47279
47277
|
i0.ɵɵadvance(1);
|
|
47280
47278
|
i0.ɵɵclassMap("app-grid");
|
|
47281
|
-
i0.ɵɵproperty("field", ctx_r15.searchResult)("form", _r0)("errDef", i0.ɵɵpureFunction0(7,
|
|
47279
|
+
i0.ɵɵproperty("field", ctx_r15.searchResult)("form", _r0)("errDef", i0.ɵɵpureFunction0(7, _c6$2));
|
|
47282
47280
|
} }
|
|
47283
47281
|
function WorkSearchEmployerComponentMS_section_20_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
47284
47282
|
i0.ɵɵelementStart(0, "div");
|
|
@@ -47291,10 +47289,10 @@ function WorkSearchEmployerComponentMS_section_20_div_19_Template(rf, ctx) { if
|
|
|
47291
47289
|
i0.ɵɵproperty("options", ctx_r16.workSearchResultComboJobSearchMs)("formControl", ctx_r16.searchResult);
|
|
47292
47290
|
i0.ɵɵadvance(1);
|
|
47293
47291
|
i0.ɵɵclassMap("app-grid");
|
|
47294
|
-
i0.ɵɵproperty("field", ctx_r16.searchResult)("form", _r0)("errDef", i0.ɵɵpureFunction0(7,
|
|
47292
|
+
i0.ɵɵproperty("field", ctx_r16.searchResult)("form", _r0)("errDef", i0.ɵɵpureFunction0(7, _c6$2));
|
|
47295
47293
|
} }
|
|
47296
|
-
const
|
|
47297
|
-
const
|
|
47294
|
+
const _c11 = "Job Title can only contain letters, spaces, and hyphens";
|
|
47295
|
+
const _c12 = () => ({ required: "Required.", pattern: _c11 });
|
|
47298
47296
|
function WorkSearchEmployerComponentMS_section_20_Template(rf, ctx) { if (rf & 1) {
|
|
47299
47297
|
i0.ɵɵelementStart(0, "section")(1, "div", 6)(2, "label", 29);
|
|
47300
47298
|
i0.ɵɵtext(3);
|
|
@@ -47318,7 +47316,7 @@ function WorkSearchEmployerComponentMS_section_20_Template(rf, ctx) { if (rf & 1
|
|
|
47318
47316
|
i0.ɵɵproperty("formControl", ctx_r3.positionAppliedFor);
|
|
47319
47317
|
i0.ɵɵadvance(1);
|
|
47320
47318
|
i0.ɵɵclassMap("app-grid");
|
|
47321
|
-
i0.ɵɵproperty("field", ctx_r3.positionAppliedFor)("form", _r0)("errDef", i0.ɵɵpureFunction0(21,
|
|
47319
|
+
i0.ɵɵproperty("field", ctx_r3.positionAppliedFor)("form", _r0)("errDef", i0.ɵɵpureFunction0(21, _c12));
|
|
47322
47320
|
i0.ɵɵadvance(1);
|
|
47323
47321
|
i0.ɵɵproperty("ngIf", ctx_r3.displayJobApplicationQuestions);
|
|
47324
47322
|
i0.ɵɵadvance(1);
|
|
@@ -47340,7 +47338,7 @@ function WorkSearchEmployerComponentMS_section_20_Template(rf, ctx) { if (rf & 1
|
|
|
47340
47338
|
i0.ɵɵadvance(1);
|
|
47341
47339
|
i0.ɵɵproperty("ngIf", ctx_r3.activityType.value == "JOSE");
|
|
47342
47340
|
} }
|
|
47343
|
-
const
|
|
47341
|
+
const _c13 = () => ({ "1200px": "660px", "992px": "660px", "768px": "660px", "576px": "100vw" });
|
|
47344
47342
|
class WorkSearchEmployerComponentMS extends BasePage {
|
|
47345
47343
|
constructor(wcService, formBuilder, util) {
|
|
47346
47344
|
super();
|
|
@@ -47462,7 +47460,7 @@ class WorkSearchEmployerComponentMS extends BasePage {
|
|
|
47462
47460
|
if (val == 'JOAP') {
|
|
47463
47461
|
this.displayJobApplicationQuestions = true;
|
|
47464
47462
|
this.displayJobSearchQuestions = false;
|
|
47465
|
-
this.employerName.addValidators([Validators.required, Validators.pattern(/^[A-Za-z0-9\s\.,&'()
|
|
47463
|
+
this.employerName.addValidators([Validators.required, Validators.pattern(/^(?!.*[%<>\^_{}])[A-Za-z0-9\s\.,&'()#!@:$\/\\\-\+?"]+$/)]);
|
|
47466
47464
|
this.employerName.updateValueAndValidity();
|
|
47467
47465
|
this.line1.addValidators([Validators.required, Validators.pattern(/^[0-9A-Za-z\s,'\-\.#\/]+$/)]);
|
|
47468
47466
|
this.line1.updateValueAndValidity();
|
|
@@ -47478,7 +47476,7 @@ class WorkSearchEmployerComponentMS extends BasePage {
|
|
|
47478
47476
|
if (val == 'JOSE') {
|
|
47479
47477
|
this.displayJobSearchQuestions = true;
|
|
47480
47478
|
this.displayJobApplicationQuestions = false;
|
|
47481
|
-
this.employerName.addValidators([Validators.required, Validators.pattern(/^[A-Za-z0-9\s\.,&'()
|
|
47479
|
+
this.employerName.addValidators([Validators.required, Validators.pattern(/^(?!.*[%<>\^_{}])[A-Za-z0-9\s\.,&'()#!@:$\/\\\-\+?"]+$/)]);
|
|
47482
47480
|
this.employerName.updateValueAndValidity();
|
|
47483
47481
|
this.line1.addValidators([Validators.required, Validators.pattern(/^[0-9A-Za-z\s,'\-\.#\/]+$/)]);
|
|
47484
47482
|
this.line1.updateValueAndValidity();
|
|
@@ -47643,7 +47641,7 @@ class WorkSearchEmployerComponentMS extends BasePage {
|
|
|
47643
47641
|
i0.ɵɵelementEnd()()()()()();
|
|
47644
47642
|
} if (rf & 2) {
|
|
47645
47643
|
const _r0 = i0.ɵɵreference(5);
|
|
47646
|
-
i0.ɵɵproperty("showHeader", false)("breakpoints", i0.ɵɵpureFunction0(26,
|
|
47644
|
+
i0.ɵɵproperty("showHeader", false)("breakpoints", i0.ɵɵpureFunction0(26, _c13));
|
|
47647
47645
|
i0.ɵɵadvance(2);
|
|
47648
47646
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(3, 17, "work.search.journal.activity.heading", ctx.dynamicParam));
|
|
47649
47647
|
i0.ɵɵadvance(2);
|
|
@@ -47654,7 +47652,7 @@ class WorkSearchEmployerComponentMS extends BasePage {
|
|
|
47654
47652
|
i0.ɵɵproperty("options", ctx.activityTypeComboMs)("formControl", ctx.activityType);
|
|
47655
47653
|
i0.ɵɵadvance(1);
|
|
47656
47654
|
i0.ɵɵclassMap("app-grid");
|
|
47657
|
-
i0.ɵɵproperty("field", ctx.activityType)("form", _r0)("errDef", i0.ɵɵpureFunction0(27,
|
|
47655
|
+
i0.ɵɵproperty("field", ctx.activityType)("form", _r0)("errDef", i0.ɵɵpureFunction0(27, _c6$2));
|
|
47658
47656
|
i0.ɵɵadvance(1);
|
|
47659
47657
|
i0.ɵɵproperty("ngIf", ctx.displayJobApplicationQuestions || ctx.displayJobSearchQuestions);
|
|
47660
47658
|
i0.ɵɵadvance(3);
|
|
@@ -47669,7 +47667,7 @@ class WorkSearchEmployerComponentMS extends BasePage {
|
|
|
47669
47667
|
}
|
|
47670
47668
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkSearchEmployerComponentMS, [{
|
|
47671
47669
|
type: Component,
|
|
47672
|
-
args: [{ selector: 'app-work-search-employer-ms', template: "<p-dialog visible=\"true\" modal=\"true\" appendTo=\"body\" position=\"top\" [showHeader]=\"false\"\r\n [breakpoints]=\"{'1200px': '660px', '992px': '660px', '768px': '660px', '576px': '100vw'}\">\r\n <h4 style=\"color: var(--ion-color-grey); padding-left: 20px;\">{{'work.search.journal.activity.heading' |\r\n translate:dynamicParam }}</h4>\r\n <form [formGroup]=\"wsrForm\" #wsrFormDirective=\"ngForm\">\r\n <ion-grid>\r\n <ion-row>\r\n <ion-col class=\"ion-padding\" size=\"12\" sizeSm=\"12\" sizeXs=\"12\" sizeMd=\"6\" sizeLg=\"6\" sizeXl=\"6\">\r\n <div class=\"p-fluid p-formgrid\">\r\n <div class=\"field\">\r\n <label for=\"activityType\">{{'work.search.journal.activity.type' | translate}}</label>\r\n <app-dropdown [options]=\"activityTypeComboMs\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"activityType\" appendTo=\"body\" inputId=\"activityType\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='activityType' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <section *ngIf=\"displayJobApplicationQuestions || displayJobSearchQuestions\">\r\n <div class=\"field\">\r\n <label for=\"employerName\">{{'work.search.journal.employerName' | translate}}</label>\r\n <app-search-employer [formControl]=\"employerName\" (onFound)=\"setEmployer($event)\"\r\n [empType]=\"'REG'\"></app-search-employer>\r\n <app-error [class]=\"'app-grid'\" [field]='employerName' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.', pattern: 'only letters, numbers, spaces, and . , & \\' ( ) - # are allowed'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"line1\">{{'work.search.journal.streetAddress' | translate}}</label>\r\n <input id=\"line1\" type=\"input\" pInputText [formControl]=\"line1\" maxlength=\"40\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='line1' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.', pattern: 'Only letters, numbers, spaces, commas, periods, apostrophes, hyphens, # and / allowed'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"city\">{{'work.search.journal.city' | translate}}</label>\r\n <input id=\"city\" type=\"input\" pInputText [formControl]=\"city\" maxlength=\"30\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='city' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n invalidwsCityLength: 'City should not exceed a length of 30 characters',\r\n pattern: 'City name can only contain letters, spaces, and hyphens'\r\n }\"></app-error>\r\n </div>\r\n\r\n <ion-row>\r\n <ion-col style=\"padding: 0px;\">\r\n <div class=\"field\">\r\n <label for=\"state\">{{'work.search.journal.state'| translate}}</label>\r\n <app-dropdown inputId=\"state\" [options]=\"statesCombo\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n appendTo=\"body\" [formControl]=\"state\" inputId=\"state\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='state' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n <ion-col size=\"1\"></ion-col>\r\n <ion-col style=\"padding: 0px;\">\r\n <div class=\"field\">\r\n <label for=\"zip\">{{'work.search.journal.zip'| translate}}</label>\r\n <input id=\"zip\" type=\"input\" pInputText [formControl]=\"zip\" minlength=\"5\" maxlength=\"9\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='zip' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n invalidLength: 'Zip code should be of 5 or 9 digits.',\r\n invalidNumber: 'Zip code should only have numbers.'\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n\r\n </section>\r\n </div>\r\n </ion-col>\r\n <ion-col class=\"ion-padding\" size=\"12\" sizeSm=\"12\" sizeXs=\"12\" sizeMd=\"6\" sizeLg=\"6\" sizeXl=\"6\">\r\n <div class=\"p-fluid p-formgrid\">\r\n <div class=\"field\" *ngIf=\"displayJobApplicationQuestions || displayJobSearchQuestions\">\r\n <label for=\"workSearchDate\">{{'work.search.journal.applicationDate'| translate}}</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"workSearchDate\" appendTo=\"body\" [formControl]=\"workSearchDate\" dateFormat=\"mm/dd/yy\"\r\n [minDate]=\"sunDate\" [maxDate]=\"satDate\" [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\" placeholder=\"mm/dd/yyyy\" \r\n [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\" (onInput)=\"dateInput($event)\"></p-calendar> \r\n <app-error [class]=\"'app-grid'\" [field]='workSearchDate' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n dateNotBetween: 'Date should be between ' + sunDateString + ' and ' + currentDateString + '.'\r\n }\"></app-error>\r\n </div>\r\n <section *ngIf=\"displayJobApplicationQuestions || displayJobSearchQuestions\">\r\n <div class=\"field\">\r\n <label for=\"positionAppliedFor\">{{'work.search.journal.jobTitle'| translate}}</label>\r\n <input id=\"positionAppliedFor\" type=\"input\" pInputText [formControl]=\"positionAppliedFor\" maxlength=\"50\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='positionAppliedFor' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n pattern: 'Job Title can only contain letters, spaces, and hyphens'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div *ngIf=\"displayJobApplicationQuestions\">\r\n <div class=\"field\">\r\n <label for=\"contactMethod\">{{'work.search.journal.contactMethod'| translate}}</label>\r\n <p-selectButton [options]=\"workSearchMethodContactMs\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"contactMethod\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='contactMethod' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"displayJobSearchQuestions\">\r\n <div class=\"field\">\r\n <label for=\"contactMethod\">{{'work.search.journal.contactMethodJobSearch'| translate}}</label>\r\n <p-selectButton [options]=\"workSearchMethodContactMs\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"contactMethod\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='contactMethod' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"contactMethod.value == 'TELE'\">\r\n <label for=\"employerPhone\">{{'work.search.journal.phoneNo' | translate}}</label>\r\n <p-inputMask inputId=\"employerPhone\" [formControl]=\"employerPhone\" mask=\"(999) 999-9999\"\r\n unmask=\"true\"></p-inputMask>\r\n <app-error [class]=\"'app-grid'\" [field]='employerPhone' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"contactMethod.value == 'EMAL'\">\r\n <label for=\"employerEmail\">{{'work.search.journal.email' | translate}}</label>\r\n <input id=\"employerEmail\" type=\"input\" pInputText [formControl]=\"employerEmail\"\r\n placeholder=\"emailid@example.com\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='employerEmail' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n employerEmail: 'Invalid email address.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"contactMethod.value == 'ONLI'\">\r\n <label for=\"employerWebsite\">{{'work.search.journal.website' | translate}}</label>\r\n <input id=\"employerWebsite\" type=\"input\" pInputText [formControl]=\"employerWebsite\" appStripInvisibleChars />\r\n <app-error [class]=\"'app-grid'\" [field]='employerWebsite' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n invalidWebsite: 'Please enter a valid website address'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"contactMethod.value =='PRSN'\">\r\n <label for=\"empContactPersonName\">{{'work.search.journal.contactName' | translate}}</label>\r\n <input id=\"empContactPersonName\" type=\"input\" pInputText [formControl]=\"empContactPersonName\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='empContactPersonName' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"contactMethod.value =='PRSN'\">\r\n <label for=\"empContactPersonTitle\">{{'work.search.journal.contactTitle' | translate}}</label>\r\n <input id=\"empContactPersonTitle\" type=\"input\" pInputText [formControl]=\"empContactPersonTitle\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='empContactPersonTitle' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"searchResult\">{{'work.search.journal.result' | translate}}</label>\r\n <div *ngIf=\"activityType.value =='JOAP'\">\r\n <app-dropdown [options]=\"workSearchResultComboJobApplicationMs\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"searchResult\" appendTo=\"body\" inputId=\"searchResult\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='searchResult' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div *ngIf=\"activityType.value =='JOSE'\">\r\n <app-dropdown [options]=\"workSearchResultComboJobSearchMs\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"searchResult\" appendTo=\"body\" inputId=\"searchResult\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='searchResult' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n </section>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row>\r\n <ion-col class=\"ion-text-right\">\r\n <ion-button shape=\"round\" fill=\"outline\" (click)=\"close()\" type=\"reset\">{{'button.cancel' |\r\n translate}}</ion-button>\r\n <ion-button shape=\"round\" (click)=\"add()\" type=\"submit\">{{'button.add' | translate}}</ion-button>\r\n </ion-col>\r\n </ion-row>\r\n </ion-grid>\r\n </form>\r\n</p-dialog>" }]
|
|
47670
|
+
args: [{ selector: 'app-work-search-employer-ms', template: "<p-dialog visible=\"true\" modal=\"true\" appendTo=\"body\" position=\"top\" [showHeader]=\"false\"\r\n [breakpoints]=\"{'1200px': '660px', '992px': '660px', '768px': '660px', '576px': '100vw'}\">\r\n <h4 style=\"color: var(--ion-color-grey); padding-left: 20px;\">{{'work.search.journal.activity.heading' |\r\n translate:dynamicParam }}</h4>\r\n <form [formGroup]=\"wsrForm\" #wsrFormDirective=\"ngForm\">\r\n <ion-grid>\r\n <ion-row>\r\n <ion-col class=\"ion-padding\" size=\"12\" sizeSm=\"12\" sizeXs=\"12\" sizeMd=\"6\" sizeLg=\"6\" sizeXl=\"6\">\r\n <div class=\"p-fluid p-formgrid\">\r\n <div class=\"field\">\r\n <label for=\"activityType\">{{'work.search.journal.activity.type' | translate}}</label>\r\n <app-dropdown [options]=\"activityTypeComboMs\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"activityType\" appendTo=\"body\" inputId=\"activityType\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='activityType' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <section *ngIf=\"displayJobApplicationQuestions || displayJobSearchQuestions\">\r\n <div class=\"field\">\r\n <label for=\"employerName\">{{'work.search.journal.employerName' | translate}}</label>\r\n <app-search-employer [formControl]=\"employerName\" (onFound)=\"setEmployer($event)\"\r\n [empType]=\"'REG'\"></app-search-employer>\r\n <app-error [class]=\"'app-grid'\" [field]='employerName' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.', pattern: '%, <, >, ^, _, {, } are not allowed'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"line1\">{{'work.search.journal.streetAddress' | translate}}</label>\r\n <input id=\"line1\" type=\"input\" pInputText [formControl]=\"line1\" maxlength=\"40\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='line1' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.', pattern: 'Only letters, numbers, spaces, commas, periods, apostrophes, hyphens, # and / allowed'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"city\">{{'work.search.journal.city' | translate}}</label>\r\n <input id=\"city\" type=\"input\" pInputText [formControl]=\"city\" maxlength=\"30\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='city' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n invalidwsCityLength: 'City should not exceed a length of 30 characters',\r\n pattern: 'City name can only contain letters, spaces, and hyphens'\r\n }\"></app-error>\r\n </div>\r\n\r\n <ion-row>\r\n <ion-col style=\"padding: 0px;\">\r\n <div class=\"field\">\r\n <label for=\"state\">{{'work.search.journal.state'| translate}}</label>\r\n <app-dropdown inputId=\"state\" [options]=\"statesCombo\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n appendTo=\"body\" [formControl]=\"state\" inputId=\"state\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='state' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n <ion-col size=\"1\"></ion-col>\r\n <ion-col style=\"padding: 0px;\">\r\n <div class=\"field\">\r\n <label for=\"zip\">{{'work.search.journal.zip'| translate}}</label>\r\n <input id=\"zip\" type=\"input\" pInputText [formControl]=\"zip\" minlength=\"5\" maxlength=\"9\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='zip' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n invalidLength: 'Zip code should be of 5 or 9 digits.',\r\n invalidNumber: 'Zip code should only have numbers.'\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n\r\n </section>\r\n </div>\r\n </ion-col>\r\n <ion-col class=\"ion-padding\" size=\"12\" sizeSm=\"12\" sizeXs=\"12\" sizeMd=\"6\" sizeLg=\"6\" sizeXl=\"6\">\r\n <div class=\"p-fluid p-formgrid\">\r\n <div class=\"field\" *ngIf=\"displayJobApplicationQuestions || displayJobSearchQuestions\">\r\n <label for=\"workSearchDate\">{{'work.search.journal.applicationDate'| translate}}</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"workSearchDate\" appendTo=\"body\" [formControl]=\"workSearchDate\" dateFormat=\"mm/dd/yy\"\r\n [minDate]=\"sunDate\" [maxDate]=\"satDate\" [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\" placeholder=\"mm/dd/yyyy\" \r\n [monthNavigator]=\"true\" [yearNavigator]=\"true\" yearRange=\"1901:2050\" (onInput)=\"dateInput($event)\"></p-calendar> \r\n <app-error [class]=\"'app-grid'\" [field]='workSearchDate' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n dateNotBetween: 'Date should be between ' + sunDateString + ' and ' + currentDateString + '.'\r\n }\"></app-error>\r\n </div>\r\n <section *ngIf=\"displayJobApplicationQuestions || displayJobSearchQuestions\">\r\n <div class=\"field\">\r\n <label for=\"positionAppliedFor\">{{'work.search.journal.jobTitle'| translate}}</label>\r\n <input id=\"positionAppliedFor\" type=\"input\" pInputText [formControl]=\"positionAppliedFor\" maxlength=\"50\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='positionAppliedFor' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n pattern: 'Job Title can only contain letters, spaces, and hyphens'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div *ngIf=\"displayJobApplicationQuestions\">\r\n <div class=\"field\">\r\n <label for=\"contactMethod\">{{'work.search.journal.contactMethod'| translate}}</label>\r\n <p-selectButton [options]=\"workSearchMethodContactMs\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"contactMethod\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='contactMethod' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"displayJobSearchQuestions\">\r\n <div class=\"field\">\r\n <label for=\"contactMethod\">{{'work.search.journal.contactMethodJobSearch'| translate}}</label>\r\n <p-selectButton [options]=\"workSearchMethodContactMs\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"contactMethod\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='contactMethod' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"contactMethod.value == 'TELE'\">\r\n <label for=\"employerPhone\">{{'work.search.journal.phoneNo' | translate}}</label>\r\n <p-inputMask inputId=\"employerPhone\" [formControl]=\"employerPhone\" mask=\"(999) 999-9999\"\r\n unmask=\"true\"></p-inputMask>\r\n <app-error [class]=\"'app-grid'\" [field]='employerPhone' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"contactMethod.value == 'EMAL'\">\r\n <label for=\"employerEmail\">{{'work.search.journal.email' | translate}}</label>\r\n <input id=\"employerEmail\" type=\"input\" pInputText [formControl]=\"employerEmail\"\r\n placeholder=\"emailid@example.com\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='employerEmail' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n employerEmail: 'Invalid email address.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"contactMethod.value == 'ONLI'\">\r\n <label for=\"employerWebsite\">{{'work.search.journal.website' | translate}}</label>\r\n <input id=\"employerWebsite\" type=\"input\" pInputText [formControl]=\"employerWebsite\" appStripInvisibleChars />\r\n <app-error [class]=\"'app-grid'\" [field]='employerWebsite' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.',\r\n invalidWebsite: 'Please enter a valid website address'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"contactMethod.value =='PRSN'\">\r\n <label for=\"empContactPersonName\">{{'work.search.journal.contactName' | translate}}</label>\r\n <input id=\"empContactPersonName\" type=\"input\" pInputText [formControl]=\"empContactPersonName\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='empContactPersonName' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"contactMethod.value =='PRSN'\">\r\n <label for=\"empContactPersonTitle\">{{'work.search.journal.contactTitle' | translate}}</label>\r\n <input id=\"empContactPersonTitle\" type=\"input\" pInputText [formControl]=\"empContactPersonTitle\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='empContactPersonTitle' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"searchResult\">{{'work.search.journal.result' | translate}}</label>\r\n <div *ngIf=\"activityType.value =='JOAP'\">\r\n <app-dropdown [options]=\"workSearchResultComboJobApplicationMs\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"searchResult\" appendTo=\"body\" inputId=\"searchResult\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='searchResult' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div *ngIf=\"activityType.value =='JOSE'\">\r\n <app-dropdown [options]=\"workSearchResultComboJobSearchMs\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"searchResult\" appendTo=\"body\" inputId=\"searchResult\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='searchResult' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n </section>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row>\r\n <ion-col class=\"ion-text-right\">\r\n <ion-button shape=\"round\" fill=\"outline\" (click)=\"close()\" type=\"reset\">{{'button.cancel' |\r\n translate}}</ion-button>\r\n <ion-button shape=\"round\" (click)=\"add()\" type=\"submit\">{{'button.add' | translate}}</ion-button>\r\n </ion-col>\r\n </ion-row>\r\n </ion-grid>\r\n </form>\r\n</p-dialog>" }]
|
|
47673
47671
|
}], () => [{ type: WeeklyCertServiceV2 }, { type: i1$4.UntypedFormBuilder }, { type: UtilService }], { wsrFormDirective: [{
|
|
47674
47672
|
type: ViewChild,
|
|
47675
47673
|
args: ['wsrFormDirective', { static: false }]
|