@reusa/ngx-reusa-app-lib 0.0.1365 → 0.0.1367
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/questionnaire/dynamic-form.component.mjs +10 -2
- package/esm2022/lib/components/weekly-cert-employer/weekly-cert-employer.component.mjs +15 -15
- package/fesm2022/reusa-ngx-reusa-app-lib.mjs +23 -15
- package/fesm2022/reusa-ngx-reusa-app-lib.mjs.map +1 -1
- package/lib/components/questionnaire/dynamic-form.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -22312,7 +22312,7 @@ function WeeklyCertEmployerComponentQe_ion_row_3_div_73_Template(rf, ctx) { if (
|
|
|
22312
22312
|
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
22313
22313
|
const _r0 = i0.ɵɵreference(1);
|
|
22314
22314
|
i0.ɵɵadvance(2);
|
|
22315
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 8, "weeklycert.employer.return.to.work.date"));
|
|
22315
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 8, "weeklies.weeklycert.employer.return.to.work.date"));
|
|
22316
22316
|
i0.ɵɵadvance(2);
|
|
22317
22317
|
i0.ɵɵproperty("options", ctx_r5.yesNoOption)("formControl", ctx_r5.haveReturnToWorkDate);
|
|
22318
22318
|
i0.ɵɵadvance(1);
|
|
@@ -22338,7 +22338,7 @@ function WeeklyCertEmployerComponentQe_ion_row_3_div_74_Template(rf, ctx) { if (
|
|
|
22338
22338
|
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
22339
22339
|
const _r0 = i0.ɵɵreference(1);
|
|
22340
22340
|
i0.ɵɵadvance(2);
|
|
22341
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 11, "weeklycert.employer.return.to.work.date.when"));
|
|
22341
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 11, "weeklies.weeklycert.employer.return.to.work.date.when"));
|
|
22342
22342
|
i0.ɵɵadvance(3);
|
|
22343
22343
|
i0.ɵɵproperty("showIcon", true)("formControl", ctx_r6.wcEmpLowRtwDate)("showOnFocus", false)("iconAriaLabel", "When?");
|
|
22344
22344
|
i0.ɵɵadvance(1);
|
|
@@ -22362,7 +22362,7 @@ function WeeklyCertEmployerComponentQe_ion_row_3_div_75_Template(rf, ctx) { if (
|
|
|
22362
22362
|
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
22363
22363
|
const _r0 = i0.ɵɵreference(1);
|
|
22364
22364
|
i0.ɵɵadvance(2);
|
|
22365
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 10, "weeklycert.employer.definite.return.date"));
|
|
22365
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 10, "weeklies.weeklycert.employer.definite.return.date"));
|
|
22366
22366
|
i0.ɵɵadvance(2);
|
|
22367
22367
|
i0.ɵɵproperty("showIcon", true)("formControl", ctx_r7.wcEmpRtwDate)("showOnFocus", false)("iconAriaLabel", "Return to work date");
|
|
22368
22368
|
i0.ɵɵadvance(1);
|
|
@@ -22535,7 +22535,7 @@ function WeeklyCertEmployerComponentQe_ion_row_3_Template(rf, ctx) { if (rf & 1)
|
|
|
22535
22535
|
i0.ɵɵclassMap("app-grid");
|
|
22536
22536
|
i0.ɵɵproperty("field", ctx_r1.wsPhoneNumber)("form", _r0)("errDef", i0.ɵɵpureFunction1(126, _c1$e, ctx_r1.required));
|
|
22537
22537
|
i0.ɵɵadvance(3);
|
|
22538
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(54, 101, "weeklycert.employer.total.gross.earnings"));
|
|
22538
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(54, 101, "weeklies.weeklycert.employer.total.gross.earnings"));
|
|
22539
22539
|
i0.ɵɵadvance(2);
|
|
22540
22540
|
i0.ɵɵproperty("overlayText", i0.ɵɵpipeBind1(56, 103, i0.ɵɵpipeBind1(57, 105, "weeklies.v2.employment.rtw.info.popup.1000")));
|
|
22541
22541
|
i0.ɵɵadvance(3);
|
|
@@ -22544,14 +22544,14 @@ function WeeklyCertEmployerComponentQe_ion_row_3_Template(rf, ctx) { if (rf & 1)
|
|
|
22544
22544
|
i0.ɵɵclassMap("app-grid");
|
|
22545
22545
|
i0.ɵɵproperty("field", ctx_r1.wsEmpAmtEarned)("form", _r0)("errDef", i0.ɵɵpureFunction1(128, _c4$5, ctx_r1.required));
|
|
22546
22546
|
i0.ɵɵadvance(3);
|
|
22547
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(63, 107, "weeklycert.employer.total.hours.worked"));
|
|
22547
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(63, 107, "weeklies.weeklycert.employer.total.hours.worked"));
|
|
22548
22548
|
i0.ɵɵadvance(2);
|
|
22549
22549
|
i0.ɵɵproperty("formControl", ctx_r1.wcEmpHoursWorked);
|
|
22550
22550
|
i0.ɵɵadvance(1);
|
|
22551
22551
|
i0.ɵɵclassMap("app-grid");
|
|
22552
22552
|
i0.ɵɵproperty("field", ctx_r1.wcEmpHoursWorked)("form", _r0)("errDef", i0.ɵɵpureFunction1(130, _c5$4, ctx_r1.required));
|
|
22553
22553
|
i0.ɵɵadvance(3);
|
|
22554
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(69, 109, "weeklycert.employer.status"));
|
|
22554
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(69, 109, "weeklies.weeklycert.employer.status"));
|
|
22555
22555
|
i0.ɵɵadvance(2);
|
|
22556
22556
|
i0.ɵɵproperty("options", ctx_r1.employmentStatusOptionsAll)("formControl", ctx_r1.wcEmpStatus)("autoDisplayFirst", false);
|
|
22557
22557
|
i0.ɵɵadvance(2);
|
|
@@ -22581,7 +22581,7 @@ function WeeklyCertEmployerComponentQe_ion_row_4_div_22_Template(rf, ctx) { if (
|
|
|
22581
22581
|
const ctx_r16 = i0.ɵɵnextContext(2);
|
|
22582
22582
|
const _r0 = i0.ɵɵreference(1);
|
|
22583
22583
|
i0.ɵɵadvance(2);
|
|
22584
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 8, "weeklycert.employer.return.to.work.date"));
|
|
22584
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 8, "weeklies.weeklycert.employer.return.to.work.date"));
|
|
22585
22585
|
i0.ɵɵadvance(2);
|
|
22586
22586
|
i0.ɵɵproperty("options", ctx_r16.yesNoOption)("formControl", ctx_r16.haveReturnToWorkDate);
|
|
22587
22587
|
i0.ɵɵadvance(1);
|
|
@@ -22607,7 +22607,7 @@ function WeeklyCertEmployerComponentQe_ion_row_4_div_23_Template(rf, ctx) { if (
|
|
|
22607
22607
|
const ctx_r17 = i0.ɵɵnextContext(2);
|
|
22608
22608
|
const _r0 = i0.ɵɵreference(1);
|
|
22609
22609
|
i0.ɵɵadvance(2);
|
|
22610
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 11, "weeklycert.employer.return.to.work.date.when"));
|
|
22610
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 11, "weeklies.weeklycert.employer.return.to.work.date.when"));
|
|
22611
22611
|
i0.ɵɵadvance(3);
|
|
22612
22612
|
i0.ɵɵproperty("showIcon", true)("formControl", ctx_r17.wcEmpLowRtwDate)("showOnFocus", false)("iconAriaLabel", "When?");
|
|
22613
22613
|
i0.ɵɵadvance(1);
|
|
@@ -22631,7 +22631,7 @@ function WeeklyCertEmployerComponentQe_ion_row_4_div_24_Template(rf, ctx) { if (
|
|
|
22631
22631
|
const ctx_r18 = i0.ɵɵnextContext(2);
|
|
22632
22632
|
const _r0 = i0.ɵɵreference(1);
|
|
22633
22633
|
i0.ɵɵadvance(2);
|
|
22634
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 10, "weeklycert.employer.definite.return.date"));
|
|
22634
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 10, "weeklies.weeklycert.employer.definite.return.date"));
|
|
22635
22635
|
i0.ɵɵadvance(2);
|
|
22636
22636
|
i0.ɵɵproperty("showIcon", true)("formControl", ctx_r18.wcEmpRtwDate)("showOnFocus", false)("iconAriaLabel", "Return to work date");
|
|
22637
22637
|
i0.ɵɵadvance(1);
|
|
@@ -22731,7 +22731,7 @@ function WeeklyCertEmployerComponentQe_ion_row_4_Template(rf, ctx) { if (rf & 1)
|
|
|
22731
22731
|
i0.ɵɵadvance(1);
|
|
22732
22732
|
i0.ɵɵproperty("formControl", ctx_r2.isPartTimeEmployer);
|
|
22733
22733
|
i0.ɵɵadvance(3);
|
|
22734
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 50, "weeklycert.employer.status"));
|
|
22734
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 50, "weeklies.weeklycert.employer.status"));
|
|
22735
22735
|
i0.ɵɵadvance(2);
|
|
22736
22736
|
i0.ɵɵproperty("options", ctx_r2.employmentStatusOptionsAll)("formControl", ctx_r2.wcEmpStatus)("autoDisplayFirst", false);
|
|
22737
22737
|
i0.ɵɵadvance(2);
|
|
@@ -22748,14 +22748,14 @@ function WeeklyCertEmployerComponentQe_ion_row_4_Template(rf, ctx) { if (rf & 1)
|
|
|
22748
22748
|
i0.ɵɵadvance(1);
|
|
22749
22749
|
i0.ɵɵproperty("ngIf", ctx_r2.wcEmpStatus.value == "VOLQ");
|
|
22750
22750
|
i0.ɵɵadvance(3);
|
|
22751
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 52, "weeklycert.employer.last.day.worked"));
|
|
22751
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 52, "weeklies.weeklycert.employer.last.day.worked"));
|
|
22752
22752
|
i0.ɵɵadvance(2);
|
|
22753
22753
|
i0.ɵɵproperty("iconAriaLabel", "Last day worked")("showIcon", true)("formControl", ctx_r2.lastDayWorked)("minDate", ctx_r2.sunDate)("maxDate", ctx_r2.satDate)("defaultDate", ctx_r2.sunDate);
|
|
22754
22754
|
i0.ɵɵadvance(1);
|
|
22755
22755
|
i0.ɵɵclassMap("app-grid");
|
|
22756
22756
|
i0.ɵɵproperty("field", ctx_r2.lastDayWorked)("form", _r0)("errDef", i0.ɵɵpureFunction2(64, _c3$6, ctx_r2.required, "Date should be between " + ctx_r2.dynamicParam.sunday_date + " and " + ctx_r2.dynamicParam.saturday_date + "."));
|
|
22757
22757
|
i0.ɵɵadvance(3);
|
|
22758
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(36, 54, "weeklycert.employer.total.gross.earnings"));
|
|
22758
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(36, 54, "weeklies.weeklycert.employer.total.gross.earnings"));
|
|
22759
22759
|
i0.ɵɵadvance(2);
|
|
22760
22760
|
i0.ɵɵproperty("overlayText", i0.ɵɵpipeBind1(38, 56, i0.ɵɵpipeBind1(39, 58, "weeklies.v2.employment.rtw.info.popup.1000")));
|
|
22761
22761
|
i0.ɵɵadvance(3);
|
|
@@ -22764,7 +22764,7 @@ function WeeklyCertEmployerComponentQe_ion_row_4_Template(rf, ctx) { if (rf & 1)
|
|
|
22764
22764
|
i0.ɵɵclassMap("app-grid");
|
|
22765
22765
|
i0.ɵɵproperty("field", ctx_r2.wsEmpAmtEarned)("form", _r0)("errDef", i0.ɵɵpureFunction1(67, _c4$5, ctx_r2.required));
|
|
22766
22766
|
i0.ɵɵadvance(3);
|
|
22767
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(45, 60, "weeklycert.employer.total.hours.worked"));
|
|
22767
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(45, 60, "weeklies.weeklycert.employer.total.hours.worked"));
|
|
22768
22768
|
i0.ɵɵadvance(2);
|
|
22769
22769
|
i0.ɵɵproperty("formControl", ctx_r2.wcEmpHoursWorked);
|
|
22770
22770
|
i0.ɵɵadvance(1);
|
|
@@ -23034,7 +23034,7 @@ class WeeklyCertEmployerComponentQe {
|
|
|
23034
23034
|
}
|
|
23035
23035
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WeeklyCertEmployerComponentQe, [{
|
|
23036
23036
|
type: Component,
|
|
23037
|
-
args: [{ selector: 'app-weekly-cert-employer-qe', template: "\r\n <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 <div class=\"field\">\r\n <label for=\"wcEmpName\">{{\"weeklies.weeklycert.employer.name\"|translate}}</label>\r\n <app-search-employer [formControl]=\"wcEmpName\" (onFound)=\"setEmployer($event)\" [empType]=\"'REG'\"></app-search-employer>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpName' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\">\r\n <label for=\"wcEmpAddressLine1\">{{\"weeklies.weeklycert.employer.address\"|translate}}</label>\r\n <input id=\"wcEmpAddressLine1\" type=\"input\" pInputText [formControl]=\"wcEmpAddressLine1\" />\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpAddressLine1' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\">\r\n <label for=\"wcEmpCity\">{{\"weeklies.weeklycert.employer.city\"|translate}}</label>\r\n <input id=\"wcEmpCity\" type=\"input\" pInputText [formControl]=\"wcEmpCity\" />\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpCity' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required\r\n }\"></app-error>\r\n </div>\r\n <ion-row>\r\n <ion-col style=\"padding: 0px;\">\r\n <div class=\"field\">\r\n <label for=\"wcEmpState\">{{\"weeklies.weeklycert.employer.state\"|translate}}</label>\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\">{{\"weeklies.weeklycert.employer.zipcode\"|translate}}</label>\r\n <input id=\"wsZipCode\" type=\"input\" pInputText [formControl]=\"wsZipCode\" minlength=\"5\" maxlength=\"9\"/>\r\n <app-error [class]=\"'app-grid'\" [field]='wsZipCode' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required,\r\n invalidLength: zipLength,\r\n invalidNumber: zipOnlyNumbers\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n \r\n <div class=\"field\">\r\n <label for=\"lastDayWorked\">{{\"weeklies.weeklycert.employer.last.day.worked\"|translate}}</label>\r\n <p-calendar [iconAriaLabel]=\"'Last day worked'\" [showIcon]=\"true\" inputId=\"lastDayWorked\" appendTo=\"body\" [formControl]=\"lastDayWorked\" [minDate]=\"sunDate\" [maxDate]=\"satDate\" [defaultDate]=\"sunDate\"></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 <div class=\"field\">\r\n <label for=\"wsPhoneNumber\">{{\"weeklies.weeklycert.employer.contact.phone\"|translate}}</label>\r\n <p-inputMask inputId=\"wsPhoneNumber\" [formControl]=\"wsPhoneNumber\" mask=\"(999) 999-9999\" 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=\"wsEmpAmtEarned\">{{\"weeklycert.employer.total.gross.earnings\"|translate}}</label>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.1000' | translate | trustHtml\" style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info>\r\n <p-inputNumber inputId=\"wsEmpAmtEarned\" mode=\"currency\" currency=\"USD\" locale=\"en-US\" [formControl]=\"wsEmpAmtEarned\" maxlength=\"10\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wsEmpAmtEarned' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required,\r\n earningsRequired: 'Please report gross earnings.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpHoursWorked\">{{\"weeklycert.employer.total.hours.worked\"|translate}}</label>\r\n <p-inputNumber inputId=\"wcEmpHoursWorked\" [formControl]=\"wcEmpHoursWorked\" maxlength=\"10\" useGrouping=\"false\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpHoursWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required,\r\n earningsRequired: 'Please report hours worked.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpStatus\">{{\"weeklycert.employer.status\"|translate}}</label>\r\n <app-dropdown inputId=\"wcEmpStatus\" [options]=\"employmentStatusOptionsAll\" optionLabel=\"text\" optionValue=\"value\"\r\n appendTo=\"body\" [formControl]=\"wcEmpStatus\" [autoDisplayFirst]=\"false\" inputId=\"wcEmpStatus1\" ></app-dropdown><br/>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpStatus' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO'\">\r\n <label for=\"haveReturnToWorkDate\">{{\"weeklycert.employer.return.to.work.date\"|translate}}</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\">{{\"weeklycert.employer.return.to.work.date.when\"|translate}}</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)\" [iconAriaLabel]=\"'When?'\"></p-calendar>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.2155' | translate | trustHtml\" 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\">{{\"weeklycert.employer.definite.return.date\"|translate}}</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\" [iconAriaLabel]=\"'Return to work date'\"></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 for=\"dischargeDetail\">{{\"induction.confirm.employment.reason.separation.discharge\"|translate}}</label> \r\n <app-dropdown [options]=\"dischargeReasonOptionsAll\" [formControl]=\"discharged\" optionLabel=\"text\" appendTo=\"body\"\r\n [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> \r\n <app-dropdown [options]=\"volQuitReasonOptionsAll\" [formControl]=\"voluntaryQuit\" optionLabel=\"text\" appendTo=\"body\"\r\n [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 </div>\r\n <input type=\"hidden\" [formControl]=\"hidEmpId\"/>\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\">{{\"weeklycert.employer.status\"|translate}}</label>\r\n <app-dropdown inputId=\"wcEmpStatus\" [options]=\"employmentStatusOptionsAll\" optionLabel=\"text\" optionValue=\"value\"\r\n appendTo=\"body\" [formControl]=\"wcEmpStatus\" [autoDisplayFirst]=\"false\" inputId=\"wcEmpStatus2\"></app-dropdown><br/>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpStatus' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required\r\n }\"></app-error>\r\n </div>\r\n \r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO'\">\r\n <label for=\"haveReturnToWorkDate\">{{\"weeklycert.employer.return.to.work.date\"|translate}}</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\">{{\"weeklycert.employer.return.to.work.date.when\"|translate}}</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)\" [iconAriaLabel]=\"'When?'\"></p-calendar>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.2050' | translate | trustHtml\" 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\">{{\"weeklycert.employer.definite.return.date\"|translate}}</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\" [iconAriaLabel]=\"'Return to work date'\"></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 for=\"dischargeDetail\">{{\"induction.confirm.employment.reason.separation.discharge\"|translate}}</label> \r\n <app-dropdown [options]=\"dischargeReasonOptionsAll\" [formControl]=\"discharged\" optionLabel=\"text\" appendTo=\"body\"\r\n [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> \r\n <app-dropdown [options]=\"volQuitReasonOptionsAll\" [formControl]=\"voluntaryQuit\" optionLabel=\"text\" appendTo=\"body\"\r\n [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 <div class=\"field\">\r\n <label for=\"lastDayWorked\">{{\"weeklycert.employer.last.day.worked\"|translate}}</label>\r\n <p-calendar [iconAriaLabel]=\"'Last day worked'\" [showIcon]=\"true\" inputId=\"lastDayWorked\" appendTo=\"body\" [formControl]=\"lastDayWorked\" [minDate]=\"sunDate\" [maxDate]=\"satDate\" [defaultDate]=\"sunDate\"></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\">\r\n <label for=\"wsEmpAmtEarned\">{{\"weeklycert.employer.total.gross.earnings\"|translate}}</label>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.1000' | translate | trustHtml\" style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info>\r\n <p-inputNumber inputId=\"wsEmpAmtEarned\" mode=\"currency\" currency=\"USD\" locale=\"en-US\" [formControl]=\"wsEmpAmtEarned\" maxlength=\"10\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wsEmpAmtEarned' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required,\r\n earningsRequired: 'Please report gross earnings.'\r\n }\"></app-error>\r\n </div>\r\n \r\n <div class=\"field\">\r\n <label for=\"wcEmpHoursWorked\">{{\"weeklycert.employer.total.hours.worked\"|translate}}</label>\r\n <p-inputNumber inputId=\"wcEmpHoursWorked\" [formControl]=\"wcEmpHoursWorked\" maxlength=\"10\" useGrouping=\"false\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpHoursWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required,\r\n earningsRequired: 'Please report hours worked.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row style=\"margin: 0 10px auto;\">\r\n <ion-col>\r\n <div class=\"field\" *ngIf=\"empForm.invalid && empForm.errors?.earningsRequired\">\r\n <app-error \r\n [form]=\"empFormDirective\"\r\n [field]=\"empForm\"\r\n [errDef]=\"{ \r\n earningsRequired: 'Please report gross earnings and hours worked for the week ending ' + (satDate | date:'MM/dd/yyyy') + '.' \r\n }\">\r\n </app-error>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row style=\"margin: 0 10px auto;\">\r\n <ion-col>\r\n <div class=\"field\" *ngIf=\"empForm.invalid && empForm.errors?.earningsRequired\">\r\n <app-error \r\n [form]=\"empFormDirective\"\r\n [field]=\"empForm\"\r\n [errDef]=\"{ \r\n earningsRequired: 'Please report gross earnings and hours worked for the week ending ' + (satDate | date:'MM/dd/yyyy') + '.' \r\n }\">\r\n </app-error>\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\"|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>", styles: [":host ::ng-deep .p-fluid .p-buttonset{display:inline-flex!important}\n"] }]
|
|
23037
|
+
args: [{ selector: 'app-weekly-cert-employer-qe', template: "\r\n <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 <div class=\"field\">\r\n <label for=\"wcEmpName\">{{\"weeklies.weeklycert.employer.name\"|translate}}</label>\r\n <app-search-employer [formControl]=\"wcEmpName\" (onFound)=\"setEmployer($event)\" [empType]=\"'REG'\"></app-search-employer>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpName' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\">\r\n <label for=\"wcEmpAddressLine1\">{{\"weeklies.weeklycert.employer.address\"|translate}}</label>\r\n <input id=\"wcEmpAddressLine1\" type=\"input\" pInputText [formControl]=\"wcEmpAddressLine1\" />\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpAddressLine1' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\">\r\n <label for=\"wcEmpCity\">{{\"weeklies.weeklycert.employer.city\"|translate}}</label>\r\n <input id=\"wcEmpCity\" type=\"input\" pInputText [formControl]=\"wcEmpCity\" />\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpCity' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required\r\n }\"></app-error>\r\n </div>\r\n <ion-row>\r\n <ion-col style=\"padding: 0px;\">\r\n <div class=\"field\">\r\n <label for=\"wcEmpState\">{{\"weeklies.weeklycert.employer.state\"|translate}}</label>\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\">{{\"weeklies.weeklycert.employer.zipcode\"|translate}}</label>\r\n <input id=\"wsZipCode\" type=\"input\" pInputText [formControl]=\"wsZipCode\" minlength=\"5\" maxlength=\"9\"/>\r\n <app-error [class]=\"'app-grid'\" [field]='wsZipCode' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required,\r\n invalidLength: zipLength,\r\n invalidNumber: zipOnlyNumbers\r\n }\"></app-error>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n \r\n <div class=\"field\">\r\n <label for=\"lastDayWorked\">{{\"weeklies.weeklycert.employer.last.day.worked\"|translate}}</label>\r\n <p-calendar [iconAriaLabel]=\"'Last day worked'\" [showIcon]=\"true\" inputId=\"lastDayWorked\" appendTo=\"body\" [formControl]=\"lastDayWorked\" [minDate]=\"sunDate\" [maxDate]=\"satDate\" [defaultDate]=\"sunDate\"></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 <div class=\"field\">\r\n <label for=\"wsPhoneNumber\">{{\"weeklies.weeklycert.employer.contact.phone\"|translate}}</label>\r\n <p-inputMask inputId=\"wsPhoneNumber\" [formControl]=\"wsPhoneNumber\" mask=\"(999) 999-9999\" 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=\"wsEmpAmtEarned\">{{\"weeklies.weeklycert.employer.total.gross.earnings\"|translate}}</label>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.1000' | translate | trustHtml\" style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info>\r\n <p-inputNumber inputId=\"wsEmpAmtEarned\" mode=\"currency\" currency=\"USD\" locale=\"en-US\" [formControl]=\"wsEmpAmtEarned\" maxlength=\"10\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wsEmpAmtEarned' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required,\r\n earningsRequired: 'Please report gross earnings.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpHoursWorked\">{{\"weeklies.weeklycert.employer.total.hours.worked\"|translate}}</label>\r\n <p-inputNumber inputId=\"wcEmpHoursWorked\" [formControl]=\"wcEmpHoursWorked\" maxlength=\"10\" useGrouping=\"false\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpHoursWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required,\r\n earningsRequired: 'Please report hours worked.'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"wcEmpStatus\">{{\"weeklies.weeklycert.employer.status\"|translate}}</label>\r\n <app-dropdown inputId=\"wcEmpStatus\" [options]=\"employmentStatusOptionsAll\" optionLabel=\"text\" optionValue=\"value\"\r\n appendTo=\"body\" [formControl]=\"wcEmpStatus\" [autoDisplayFirst]=\"false\" inputId=\"wcEmpStatus1\" ></app-dropdown><br/>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpStatus' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO'\">\r\n <label for=\"haveReturnToWorkDate\">{{\"weeklies.weeklycert.employer.return.to.work.date\"|translate}}</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\">{{\"weeklies.weeklycert.employer.return.to.work.date.when\"|translate}}</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)\" [iconAriaLabel]=\"'When?'\"></p-calendar>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.2155' | translate | trustHtml\" 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\">{{\"weeklies.weeklycert.employer.definite.return.date\"|translate}}</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\" [iconAriaLabel]=\"'Return to work date'\"></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 for=\"dischargeDetail\">{{\"induction.confirm.employment.reason.separation.discharge\"|translate}}</label> \r\n <app-dropdown [options]=\"dischargeReasonOptionsAll\" [formControl]=\"discharged\" optionLabel=\"text\" appendTo=\"body\"\r\n [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> \r\n <app-dropdown [options]=\"volQuitReasonOptionsAll\" [formControl]=\"voluntaryQuit\" optionLabel=\"text\" appendTo=\"body\"\r\n [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 </div>\r\n <input type=\"hidden\" [formControl]=\"hidEmpId\"/>\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\">{{\"weeklies.weeklycert.employer.status\"|translate}}</label>\r\n <app-dropdown inputId=\"wcEmpStatus\" [options]=\"employmentStatusOptionsAll\" optionLabel=\"text\" optionValue=\"value\"\r\n appendTo=\"body\" [formControl]=\"wcEmpStatus\" [autoDisplayFirst]=\"false\" inputId=\"wcEmpStatus2\"></app-dropdown><br/>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpStatus' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required\r\n }\"></app-error>\r\n </div>\r\n \r\n <div class=\"field\" *ngIf=\"wcEmpStatus.value == 'LWLO'\">\r\n <label for=\"haveReturnToWorkDate\">{{\"weeklies.weeklycert.employer.return.to.work.date\"|translate}}</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\">{{\"weeklies.weeklycert.employer.return.to.work.date.when\"|translate}}</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)\" [iconAriaLabel]=\"'When?'\"></p-calendar>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.2050' | translate | trustHtml\" 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\">{{\"weeklies.weeklycert.employer.definite.return.date\"|translate}}</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\" [iconAriaLabel]=\"'Return to work date'\"></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 for=\"dischargeDetail\">{{\"induction.confirm.employment.reason.separation.discharge\"|translate}}</label> \r\n <app-dropdown [options]=\"dischargeReasonOptionsAll\" [formControl]=\"discharged\" optionLabel=\"text\" appendTo=\"body\"\r\n [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> \r\n <app-dropdown [options]=\"volQuitReasonOptionsAll\" [formControl]=\"voluntaryQuit\" optionLabel=\"text\" appendTo=\"body\"\r\n [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 <div class=\"field\">\r\n <label for=\"lastDayWorked\">{{\"weeklies.weeklycert.employer.last.day.worked\"|translate}}</label>\r\n <p-calendar [iconAriaLabel]=\"'Last day worked'\" [showIcon]=\"true\" inputId=\"lastDayWorked\" appendTo=\"body\" [formControl]=\"lastDayWorked\" [minDate]=\"sunDate\" [maxDate]=\"satDate\" [defaultDate]=\"sunDate\"></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\">\r\n <label for=\"wsEmpAmtEarned\">{{\"weeklies.weeklycert.employer.total.gross.earnings\"|translate}}</label>\r\n <app-overlay-info [overlayText]=\"'weeklies.v2.employment.rtw.info.popup.1000' | translate | trustHtml\" style=\"padding-left: 8px; padding-top:3px\"></app-overlay-info>\r\n <p-inputNumber inputId=\"wsEmpAmtEarned\" mode=\"currency\" currency=\"USD\" locale=\"en-US\" [formControl]=\"wsEmpAmtEarned\" maxlength=\"10\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wsEmpAmtEarned' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required,\r\n earningsRequired: 'Please report gross earnings.'\r\n }\"></app-error>\r\n </div>\r\n \r\n <div class=\"field\">\r\n <label for=\"wcEmpHoursWorked\">{{\"weeklies.weeklycert.employer.total.hours.worked\"|translate}}</label>\r\n <p-inputNumber inputId=\"wcEmpHoursWorked\" [formControl]=\"wcEmpHoursWorked\" maxlength=\"10\" useGrouping=\"false\"></p-inputNumber>\r\n <app-error [class]=\"'app-grid'\" [field]='wcEmpHoursWorked' [form]=\"empFormDirective\" [errDef]=\"{ \r\n required: required,\r\n earningsRequired: 'Please report hours worked.'\r\n }\"></app-error>\r\n </div>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row style=\"margin: 0 10px auto;\">\r\n <ion-col>\r\n <div class=\"field\" *ngIf=\"empForm.invalid && empForm.errors?.earningsRequired\">\r\n <app-error \r\n [form]=\"empFormDirective\"\r\n [field]=\"empForm\"\r\n [errDef]=\"{ \r\n earningsRequired: 'Please report gross earnings and hours worked for the week ending ' + (satDate | date:'MM/dd/yyyy') + '.' \r\n }\">\r\n </app-error>\r\n </div>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row style=\"margin: 0 10px auto;\">\r\n <ion-col>\r\n <div class=\"field\" *ngIf=\"empForm.invalid && empForm.errors?.earningsRequired\">\r\n <app-error \r\n [form]=\"empFormDirective\"\r\n [field]=\"empForm\"\r\n [errDef]=\"{ \r\n earningsRequired: 'Please report gross earnings and hours worked for the week ending ' + (satDate | date:'MM/dd/yyyy') + '.' \r\n }\">\r\n </app-error>\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\"|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>", styles: [":host ::ng-deep .p-fluid .p-buttonset{display:inline-flex!important}\n"] }]
|
|
23038
23038
|
}], () => [{ type: UtilService }, { type: i1$6.UntypedFormBuilder }, { type: ClaimService }, { type: i6$1.TranslateService }], { empFormDirective: [{
|
|
23039
23039
|
type: ViewChild,
|
|
23040
23040
|
args: ['empFormDirective', { static: false }]
|
|
@@ -28960,7 +28960,15 @@ class DynamicFormComponent extends BasePage {
|
|
|
28960
28960
|
this.paymentDetailChangeHasError = true;
|
|
28961
28961
|
}
|
|
28962
28962
|
this.logger.debug('Error occured', err);
|
|
28963
|
-
if (
|
|
28963
|
+
if (err.msg[0].includes('error.access.username.exist')) {
|
|
28964
|
+
if (localStorage.getItem("language") === "es") {
|
|
28965
|
+
this.onError.emit('Este ID de usuario ya está en uso. Intente con otro ID de usuario.');
|
|
28966
|
+
}
|
|
28967
|
+
else {
|
|
28968
|
+
this.onError.emit('User ID already exists. Try another User ID.');
|
|
28969
|
+
}
|
|
28970
|
+
}
|
|
28971
|
+
else if (this.mfaRequired) {
|
|
28964
28972
|
this.mfaError = err;
|
|
28965
28973
|
}
|
|
28966
28974
|
else {
|