@uiapplib/ngx-ui-web-lib 0.0.9 → 0.0.10
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-work-search-employer-me/work-search-employer.component-me.mjs +72 -49
- package/esm2022/lib/components/weekly-work-search-question-v2/work-search-question.component-v2.mjs +62 -38
- package/esm2022/lib/pipes/format-worksearch/format-worksearch.pipe.mjs +8 -3
- package/fesm2022/uiapplib-ngx-ui-web-lib.mjs +139 -87
- package/fesm2022/uiapplib-ngx-ui-web-lib.mjs.map +1 -1
- package/lib/pipes/format-worksearch/format-worksearch.pipe.d.ts +1 -1
- package/lib/pipes/format-worksearch/format-worksearch.pipe.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -33773,7 +33773,12 @@ class FormatWorksearchPipe {
|
|
|
33773
33773
|
break;
|
|
33774
33774
|
}
|
|
33775
33775
|
case "UNON": {
|
|
33776
|
-
positionOrActivityType = "Member of Union - " + this.properCase.capitolizeFirstLetter(this.getUnionDesc(record.isInContactWithUnion)) + " the union
|
|
33776
|
+
positionOrActivityType = "Member of Union - " + this.properCase.capitolizeFirstLetter(this.getUnionDesc(record.isInContactWithUnion)) + " the union</br>for the week being filed";
|
|
33777
|
+
if (record.isInContactWithUnion !== 'Y') {
|
|
33778
|
+
record.unionName = null;
|
|
33779
|
+
record.unionContactPersonName = null;
|
|
33780
|
+
record.unionContactDate = null;
|
|
33781
|
+
}
|
|
33777
33782
|
resultOrLocation = '';
|
|
33778
33783
|
break;
|
|
33779
33784
|
}
|
|
@@ -33813,7 +33818,7 @@ class FormatWorksearchPipe {
|
|
|
33813
33818
|
return 'contacted';
|
|
33814
33819
|
}
|
|
33815
33820
|
else {
|
|
33816
|
-
return 'not contacted';
|
|
33821
|
+
return 'did not contacted';
|
|
33817
33822
|
}
|
|
33818
33823
|
}
|
|
33819
33824
|
return null;
|
|
@@ -45976,15 +45981,15 @@ function WorkSearchEmployerComponentME_section_20_div_7_Template(rf, ctx) { if (
|
|
|
45976
45981
|
i0.ɵɵelement(4, "input", 20)(5, "app-error", 10);
|
|
45977
45982
|
i0.ɵɵelementEnd();
|
|
45978
45983
|
} if (rf & 2) {
|
|
45979
|
-
const
|
|
45984
|
+
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
45980
45985
|
const _r0 = i0.ɵɵreference(5);
|
|
45981
45986
|
i0.ɵɵadvance(2);
|
|
45982
45987
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.unionName"));
|
|
45983
45988
|
i0.ɵɵadvance(2);
|
|
45984
|
-
i0.ɵɵproperty("formControl",
|
|
45989
|
+
i0.ɵɵproperty("formControl", ctx_r9.unionName);
|
|
45985
45990
|
i0.ɵɵadvance(1);
|
|
45986
45991
|
i0.ɵɵclassMap("app-grid");
|
|
45987
|
-
i0.ɵɵproperty("field",
|
|
45992
|
+
i0.ɵɵproperty("field", ctx_r9.unionName)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
45988
45993
|
} }
|
|
45989
45994
|
function WorkSearchEmployerComponentME_section_20_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
45990
45995
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 21);
|
|
@@ -45994,15 +45999,15 @@ function WorkSearchEmployerComponentME_section_20_div_8_Template(rf, ctx) { if (
|
|
|
45994
45999
|
i0.ɵɵelement(4, "input", 22)(5, "app-error", 10);
|
|
45995
46000
|
i0.ɵɵelementEnd();
|
|
45996
46001
|
} if (rf & 2) {
|
|
45997
|
-
const
|
|
46002
|
+
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
45998
46003
|
const _r0 = i0.ɵɵreference(5);
|
|
45999
46004
|
i0.ɵɵadvance(2);
|
|
46000
46005
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.unionContactPersonName"));
|
|
46001
46006
|
i0.ɵɵadvance(2);
|
|
46002
|
-
i0.ɵɵproperty("formControl",
|
|
46007
|
+
i0.ɵɵproperty("formControl", ctx_r10.unionContactPersonName);
|
|
46003
46008
|
i0.ɵɵadvance(1);
|
|
46004
46009
|
i0.ɵɵclassMap("app-grid");
|
|
46005
|
-
i0.ɵɵproperty("field",
|
|
46010
|
+
i0.ɵɵproperty("field", ctx_r10.unionContactPersonName)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
46006
46011
|
} }
|
|
46007
46012
|
function WorkSearchEmployerComponentME_section_20_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
46008
46013
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 23);
|
|
@@ -46012,15 +46017,15 @@ function WorkSearchEmployerComponentME_section_20_div_9_Template(rf, ctx) { if (
|
|
|
46012
46017
|
i0.ɵɵelement(4, "p-calendar", 24)(5, "app-error", 10);
|
|
46013
46018
|
i0.ɵɵelementEnd();
|
|
46014
46019
|
} if (rf & 2) {
|
|
46015
|
-
const
|
|
46020
|
+
const ctx_r11 = i0.ɵɵnextContext(2);
|
|
46016
46021
|
const _r0 = i0.ɵɵreference(5);
|
|
46017
46022
|
i0.ɵɵadvance(2);
|
|
46018
46023
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 12, "work.search.journal.unionContactDate"));
|
|
46019
46024
|
i0.ɵɵadvance(2);
|
|
46020
|
-
i0.ɵɵproperty("showIcon", true)("formControl",
|
|
46025
|
+
i0.ɵɵproperty("showIcon", true)("formControl", ctx_r11.unionContactDate)("minDate", ctx_r11.sunDate)("maxDate", ctx_r11.satDate)("defaultDate", ctx_r11.sunDate)("selectOtherMonths", true);
|
|
46021
46026
|
i0.ɵɵadvance(1);
|
|
46022
46027
|
i0.ɵɵclassMap("app-grid");
|
|
46023
|
-
i0.ɵɵproperty("field",
|
|
46028
|
+
i0.ɵɵproperty("field", ctx_r11.unionContactDate)("form", _r0)("errDef", i0.ɵɵpureFunction0(14, _c1$9));
|
|
46024
46029
|
} }
|
|
46025
46030
|
function WorkSearchEmployerComponentME_section_20_Template(rf, ctx) { if (rf & 1) {
|
|
46026
46031
|
i0.ɵɵelementStart(0, "section")(1, "div", 6)(2, "label", 18);
|
|
@@ -46091,13 +46096,13 @@ const _c5$3 = "City name can only contain letters, spaces, and hyphens";
|
|
|
46091
46096
|
const _c6$3 = () => ({ required: "Required.", invalidwsCityLength: "City should not exceed a length of 30 characters", pattern: _c5$3 });
|
|
46092
46097
|
const _c7$2 = () => ({ required: "Required.", invalidLength: "Zip code should be of 5 or 9 digits.", invalidNumber: "Zip code should only have numbers.", invalidZipCode: "please enter a valid zip code" });
|
|
46093
46098
|
function WorkSearchEmployerComponentME_section_23_Template(rf, ctx) { if (rf & 1) {
|
|
46094
|
-
const
|
|
46099
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
46095
46100
|
i0.ɵɵelementStart(0, "section")(1, "div", 6)(2, "label", 29);
|
|
46096
46101
|
i0.ɵɵtext(3);
|
|
46097
46102
|
i0.ɵɵpipe(4, "translate");
|
|
46098
46103
|
i0.ɵɵelementEnd();
|
|
46099
46104
|
i0.ɵɵelementStart(5, "app-search-employer", 30);
|
|
46100
|
-
i0.ɵɵlistener("onFound", function WorkSearchEmployerComponentME_section_23_Template_app_search_employer_onFound_5_listener($event) { i0.ɵɵrestoreView(
|
|
46105
|
+
i0.ɵɵlistener("onFound", function WorkSearchEmployerComponentME_section_23_Template_app_search_employer_onFound_5_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.setEmployer($event)); });
|
|
46101
46106
|
i0.ɵɵelementEnd();
|
|
46102
46107
|
i0.ɵɵelement(6, "app-error", 10);
|
|
46103
46108
|
i0.ɵɵelementEnd();
|
|
@@ -46218,15 +46223,15 @@ function WorkSearchEmployerComponentME_section_27_div_13_Template(rf, ctx) { if
|
|
|
46218
46223
|
i0.ɵɵelement(4, "p-inputMask", 53)(5, "app-error", 10);
|
|
46219
46224
|
i0.ɵɵelementEnd();
|
|
46220
46225
|
} if (rf & 2) {
|
|
46221
|
-
const
|
|
46226
|
+
const ctx_r14 = i0.ɵɵnextContext(2);
|
|
46222
46227
|
const _r0 = i0.ɵɵreference(5);
|
|
46223
46228
|
i0.ɵɵadvance(2);
|
|
46224
46229
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.phoneNo"));
|
|
46225
46230
|
i0.ɵɵadvance(2);
|
|
46226
|
-
i0.ɵɵproperty("formControl",
|
|
46231
|
+
i0.ɵɵproperty("formControl", ctx_r14.contactPhone);
|
|
46227
46232
|
i0.ɵɵadvance(1);
|
|
46228
46233
|
i0.ɵɵclassMap("app-grid");
|
|
46229
|
-
i0.ɵɵproperty("field",
|
|
46234
|
+
i0.ɵɵproperty("field", ctx_r14.contactPhone)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
46230
46235
|
} }
|
|
46231
46236
|
const _c9$2 = () => ({ required: "Required.", employerEmail: "Invalid email address." });
|
|
46232
46237
|
function WorkSearchEmployerComponentME_section_27_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -46237,15 +46242,15 @@ function WorkSearchEmployerComponentME_section_27_div_14_Template(rf, ctx) { if
|
|
|
46237
46242
|
i0.ɵɵelement(4, "input", 55)(5, "app-error", 10);
|
|
46238
46243
|
i0.ɵɵelementEnd();
|
|
46239
46244
|
} if (rf & 2) {
|
|
46240
|
-
const
|
|
46245
|
+
const ctx_r15 = i0.ɵɵnextContext(2);
|
|
46241
46246
|
const _r0 = i0.ɵɵreference(5);
|
|
46242
46247
|
i0.ɵɵadvance(2);
|
|
46243
46248
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.email"));
|
|
46244
46249
|
i0.ɵɵadvance(2);
|
|
46245
|
-
i0.ɵɵproperty("formControl",
|
|
46250
|
+
i0.ɵɵproperty("formControl", ctx_r15.employerEmail);
|
|
46246
46251
|
i0.ɵɵadvance(1);
|
|
46247
46252
|
i0.ɵɵclassMap("app-grid");
|
|
46248
|
-
i0.ɵɵproperty("field",
|
|
46253
|
+
i0.ɵɵproperty("field", ctx_r15.employerEmail)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c9$2));
|
|
46249
46254
|
} }
|
|
46250
46255
|
function WorkSearchEmployerComponentME_section_27_div_15_Template(rf, ctx) { if (rf & 1) {
|
|
46251
46256
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 56);
|
|
@@ -46255,15 +46260,15 @@ function WorkSearchEmployerComponentME_section_27_div_15_Template(rf, ctx) { if
|
|
|
46255
46260
|
i0.ɵɵelement(4, "input", 57)(5, "app-error", 10);
|
|
46256
46261
|
i0.ɵɵelementEnd();
|
|
46257
46262
|
} if (rf & 2) {
|
|
46258
|
-
const
|
|
46263
|
+
const ctx_r16 = i0.ɵɵnextContext(2);
|
|
46259
46264
|
const _r0 = i0.ɵɵreference(5);
|
|
46260
46265
|
i0.ɵɵadvance(2);
|
|
46261
46266
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.website"));
|
|
46262
46267
|
i0.ɵɵadvance(2);
|
|
46263
|
-
i0.ɵɵproperty("formControl",
|
|
46268
|
+
i0.ɵɵproperty("formControl", ctx_r16.employerWebsite);
|
|
46264
46269
|
i0.ɵɵadvance(1);
|
|
46265
46270
|
i0.ɵɵclassMap("app-grid");
|
|
46266
|
-
i0.ɵɵproperty("field",
|
|
46271
|
+
i0.ɵɵproperty("field", ctx_r16.employerWebsite)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
46267
46272
|
} }
|
|
46268
46273
|
function WorkSearchEmployerComponentME_section_27_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
46269
46274
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 58);
|
|
@@ -46273,15 +46278,15 @@ function WorkSearchEmployerComponentME_section_27_div_16_Template(rf, ctx) { if
|
|
|
46273
46278
|
i0.ɵɵelement(4, "input", 59)(5, "app-error", 10);
|
|
46274
46279
|
i0.ɵɵelementEnd();
|
|
46275
46280
|
} if (rf & 2) {
|
|
46276
|
-
const
|
|
46281
|
+
const ctx_r17 = i0.ɵɵnextContext(2);
|
|
46277
46282
|
const _r0 = i0.ɵɵreference(5);
|
|
46278
46283
|
i0.ɵɵadvance(2);
|
|
46279
46284
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.contactNameTitle"));
|
|
46280
46285
|
i0.ɵɵadvance(2);
|
|
46281
|
-
i0.ɵɵproperty("formControl",
|
|
46286
|
+
i0.ɵɵproperty("formControl", ctx_r17.empContactPersonName);
|
|
46282
46287
|
i0.ɵɵadvance(1);
|
|
46283
46288
|
i0.ɵɵclassMap("app-grid");
|
|
46284
|
-
i0.ɵɵproperty("field",
|
|
46289
|
+
i0.ɵɵproperty("field", ctx_r17.empContactPersonName)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
46285
46290
|
} }
|
|
46286
46291
|
function WorkSearchEmployerComponentME_section_27_div_23_Template(rf, ctx) { if (rf & 1) {
|
|
46287
46292
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 60);
|
|
@@ -46291,15 +46296,15 @@ function WorkSearchEmployerComponentME_section_27_div_23_Template(rf, ctx) { if
|
|
|
46291
46296
|
i0.ɵɵelement(4, "input", 61)(5, "app-error", 10);
|
|
46292
46297
|
i0.ɵɵelementEnd();
|
|
46293
46298
|
} if (rf & 2) {
|
|
46294
|
-
const
|
|
46299
|
+
const ctx_r18 = i0.ɵɵnextContext(2);
|
|
46295
46300
|
const _r0 = i0.ɵɵreference(5);
|
|
46296
46301
|
i0.ɵɵadvance(2);
|
|
46297
46302
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.result.oth"));
|
|
46298
46303
|
i0.ɵɵadvance(2);
|
|
46299
|
-
i0.ɵɵproperty("formControl",
|
|
46304
|
+
i0.ɵɵproperty("formControl", ctx_r18.othResult);
|
|
46300
46305
|
i0.ɵɵadvance(1);
|
|
46301
46306
|
i0.ɵɵclassMap("app-grid");
|
|
46302
|
-
i0.ɵɵproperty("field",
|
|
46307
|
+
i0.ɵɵproperty("field", ctx_r18.othResult)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
46303
46308
|
} }
|
|
46304
46309
|
function WorkSearchEmployerComponentME_section_27_div_24_Template(rf, ctx) { if (rf & 1) {
|
|
46305
46310
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 62);
|
|
@@ -46309,15 +46314,15 @@ function WorkSearchEmployerComponentME_section_27_div_24_Template(rf, ctx) { if
|
|
|
46309
46314
|
i0.ɵɵelement(4, "p-selectButton", 17)(5, "app-error", 10);
|
|
46310
46315
|
i0.ɵɵelementEnd();
|
|
46311
46316
|
} if (rf & 2) {
|
|
46312
|
-
const
|
|
46317
|
+
const ctx_r19 = i0.ɵɵnextContext(2);
|
|
46313
46318
|
const _r0 = i0.ɵɵreference(5);
|
|
46314
46319
|
i0.ɵɵadvance(2);
|
|
46315
46320
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 8, "work.search.journal.result.hasStartDate"));
|
|
46316
46321
|
i0.ɵɵadvance(2);
|
|
46317
|
-
i0.ɵɵproperty("options",
|
|
46322
|
+
i0.ɵɵproperty("options", ctx_r19.yesNoOptions)("formControl", ctx_r19.hasStartDate);
|
|
46318
46323
|
i0.ɵɵadvance(1);
|
|
46319
46324
|
i0.ɵɵclassMap("app-grid");
|
|
46320
|
-
i0.ɵɵproperty("field",
|
|
46325
|
+
i0.ɵɵproperty("field", ctx_r19.hasStartDate)("form", _r0)("errDef", i0.ɵɵpureFunction0(10, _c1$9));
|
|
46321
46326
|
} }
|
|
46322
46327
|
function WorkSearchEmployerComponentME_section_27_div_25_Template(rf, ctx) { if (rf & 1) {
|
|
46323
46328
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 63);
|
|
@@ -46327,15 +46332,15 @@ function WorkSearchEmployerComponentME_section_27_div_25_Template(rf, ctx) { if
|
|
|
46327
46332
|
i0.ɵɵelement(4, "p-calendar", 64)(5, "app-error", 10);
|
|
46328
46333
|
i0.ɵɵelementEnd();
|
|
46329
46334
|
} if (rf & 2) {
|
|
46330
|
-
const
|
|
46335
|
+
const ctx_r20 = i0.ɵɵnextContext(2);
|
|
46331
46336
|
const _r0 = i0.ɵɵreference(5);
|
|
46332
46337
|
i0.ɵɵadvance(2);
|
|
46333
46338
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 11, "work.search.journal.result.startDate"));
|
|
46334
46339
|
i0.ɵɵadvance(2);
|
|
46335
|
-
i0.ɵɵproperty("showIcon", true)("formControl",
|
|
46340
|
+
i0.ɵɵproperty("showIcon", true)("formControl", ctx_r20.workStartDate)("minDate", ctx_r20.sunDate)("defaultDate", ctx_r20.sunDate)("selectOtherMonths", true);
|
|
46336
46341
|
i0.ɵɵadvance(1);
|
|
46337
46342
|
i0.ɵɵclassMap("app-grid");
|
|
46338
|
-
i0.ɵɵproperty("field",
|
|
46343
|
+
i0.ɵɵproperty("field", ctx_r20.workStartDate)("form", _r0)("errDef", i0.ɵɵpureFunction0(13, _c1$9));
|
|
46339
46344
|
} }
|
|
46340
46345
|
const _c10$2 = "Job Title can only contain letters, numbers, spaces, and hyphens";
|
|
46341
46346
|
const _c11$1 = () => ({ required: "Required.", pattern: _c10$2 });
|
|
@@ -46400,6 +46405,24 @@ function WorkSearchEmployerComponentME_section_27_Template(rf, ctx) { if (rf & 1
|
|
|
46400
46405
|
i0.ɵɵadvance(1);
|
|
46401
46406
|
i0.ɵɵproperty("ngIf", ctx_r7.hasStartDate.value == "Y" && ctx_r7.searchResult.value == "HIRE");
|
|
46402
46407
|
} }
|
|
46408
|
+
function WorkSearchEmployerComponentME_section_30_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
46409
|
+
i0.ɵɵelementStart(0, "div", 6);
|
|
46410
|
+
i0.ɵɵtext(1);
|
|
46411
|
+
i0.ɵɵpipe(2, "translate");
|
|
46412
|
+
i0.ɵɵelementEnd();
|
|
46413
|
+
} if (rf & 2) {
|
|
46414
|
+
i0.ɵɵadvance(1);
|
|
46415
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "work.search.journal.noContactWithUnion"), " ");
|
|
46416
|
+
} }
|
|
46417
|
+
function WorkSearchEmployerComponentME_section_30_Template(rf, ctx) { if (rf & 1) {
|
|
46418
|
+
i0.ɵɵelementStart(0, "section");
|
|
46419
|
+
i0.ɵɵtemplate(1, WorkSearchEmployerComponentME_section_30_div_1_Template, 3, 3, "div", 12);
|
|
46420
|
+
i0.ɵɵelementEnd();
|
|
46421
|
+
} if (rf & 2) {
|
|
46422
|
+
const ctx_r8 = i0.ɵɵnextContext();
|
|
46423
|
+
i0.ɵɵadvance(1);
|
|
46424
|
+
i0.ɵɵproperty("ngIf", ctx_r8.isInContactWithUnion.value === "N");
|
|
46425
|
+
} }
|
|
46403
46426
|
const _c12$1 = () => ({ "1200px": "660px", "992px": "660px", "768px": "660px", "576px": "100vw" });
|
|
46404
46427
|
const _c13$1 = "You can only add one entry for this activity type this week.";
|
|
46405
46428
|
const _c14$1 = () => ({ required: "Required.", typeAlreadyUsed: _c13$1 });
|
|
@@ -47020,7 +47043,7 @@ class WorkSearchEmployerComponentME {
|
|
|
47020
47043
|
} if (rf & 2) {
|
|
47021
47044
|
let _t;
|
|
47022
47045
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wsrFormDirective = _t.first);
|
|
47023
|
-
} }, inputs: { recordIndexToEdit: "recordIndexToEdit", data: "data", satDate: "satDate", sunDate: "sunDate", satDateString: "satDateString", sunDateString: "sunDateString", journal: "journal", existingRecords: "existingRecords" }, outputs: { success: "success", onClose: "onClose" }, decls:
|
|
47046
|
+
} }, inputs: { recordIndexToEdit: "recordIndexToEdit", data: "data", satDate: "satDate", sunDate: "sunDate", satDateString: "satDateString", sunDateString: "sunDateString", journal: "journal", existingRecords: "existingRecords" }, outputs: { success: "success", onClose: "onClose" }, decls: 39, vars: 38, consts: [["visible", "true", "modal", "true", "appendTo", "body", "position", "top", 3, "showHeader", "breakpoints"], [2, "color", "var(--ion-color-grey)", "padding-left", "20px"], [3, "formGroup"], ["wsrFormDirective", "ngForm"], ["size", "12", "sizeSm", "12", "sizeXs", "12", "sizeMd", "6", "sizeLg", "6", "sizeXl", "6", 1, "ion-padding"], [1, "p-fluid", "p-formgrid"], [1, "field"], ["for", "activityType"], [2, "padding-left", "8px", "flex-grow", "1", 3, "overlayText"], ["optionLabel", "DESC", "optionValue", "NAME", "appendTo", "body", "inputId", "activityType", 3, "options", "formControl"], [3, "field", "form", "errDef"], [4, "ngIf"], ["class", "field", 4, "ngIf"], [1, "ion-text-right"], ["shape", "round", "fill", "outline", "type", "reset", 3, "click"], ["shape", "round", "type", "submit", 3, "click"], ["for", "workOrPerformServiceType"], ["optionLabel", "DESC", "optionValue", "NAME", 3, "options", "formControl"], ["for", "isInContactWithUnion"], ["for", "unionName"], ["id", "unionName", "type", "input", "pInputText", "", "appStripInvisibleChars", "", 3, "formControl"], ["for", "unionContactPersonName"], ["id", "unionContactPersonName", "type", "input", "pInputText", "", "appStripInvisibleChars", "", 3, "formControl"], ["for", "unionContactDate"], ["inputId", "unionContactDate", "appendTo", "body", 3, "showIcon", "formControl", "minDate", "maxDate", "defaultDate", "selectOtherMonths"], ["for", "workShopName"], ["id", "workShopName", "type", "input", "pInputText", "", "appStripInvisibleChars", "", 3, "formControl"], ["for", "jobFairLocation"], ["id", "jobFairLocation", "type", "input", "pInputText", "", "appStripInvisibleChars", "", 3, "formControl"], ["for", "employerName"], [3, "formControl", "empType", "onFound"], ["for", "country"], ["inputId", "country", "optionLabel", "DESC", "optionValue", "NAME", "appendTo", "body", "inputId", "country", 3, "options", "formControl", "autoDisplayFirst"], ["for", "line1"], ["id", "line1", "type", "input", "pInputText", "", "maxlength", "40", "appStripInvisibleChars", "", 3, "formControl"], ["for", "city"], ["id", "city", "type", "input", "pInputText", "", "maxlength", "30", "appStripInvisibleChars", "", 3, "formControl"], [2, "padding", "0px"], ["for", "state"], ["inputId", "state", "optionLabel", "DESC", "optionValue", "NAME", "appendTo", "body", "inputId", "state", 3, "options", "formControl"], ["size", "1"], ["for", "zip"], ["id", "zip", "type", "input", "pInputText", "", "minlength", "5", "maxlength", "9", "appStripInvisibleChars", "", 3, "formControl"], ["for", "employerPhone"], ["inputId", "employerPhone", "mask", "(999) 999-9999", "unmask", "true", 3, "formControl"], ["for", "workSearchDate"], ["inputId", "workSearchDate", "appendTo", "body", 3, "showIcon", "formControl", "minDate", "maxDate", "defaultDate", "selectOtherMonths"], ["for", "positionAppliedFor"], ["id", "positionAppliedFor", "type", "input", "pInputText", "", "maxlength", "50", "appStripInvisibleChars", "", 3, "formControl"], ["for", "contactMethod"], ["for", "searchResult"], ["optionLabel", "DESC", "optionValue", "NAME", "appendTo", "body", "inputId", "searchResult", 3, "options", "formControl"], ["for", "contactPhone"], ["inputId", "contactPhone", "mask", "(999) 999-9999", "unmask", "true", 3, "formControl"], ["for", "employerEmail"], ["id", "employerEmail", "type", "input", "pInputText", "", "placeholder", "emailid@example.com", "appStripInvisibleChars", "", 3, "formControl"], ["for", "employerWebsite"], ["id", "employerWebsite", "type", "input", "pInputText", "", "appStripInvisibleChars", "", 3, "formControl"], ["for", "empContactPersonName"], ["id", "empContactPersonName", "type", "input", "pInputText", "", "appStripInvisibleChars", "", 3, "formControl"], ["for", "othResult"], ["id", "othResult", "type", "input", "pInputText", "", "appStripInvisibleChars", "", 3, "formControl"], ["for", "hasStartDate"], ["for", "workStartDate"], ["inputId", "workStartDate", "appendTo", "body", 3, "showIcon", "formControl", "minDate", "defaultDate", "selectOtherMonths"]], template: function WorkSearchEmployerComponentME_Template(rf, ctx) { if (rf & 1) {
|
|
47024
47047
|
i0.ɵɵelementStart(0, "p-dialog", 0)(1, "h4", 1);
|
|
47025
47048
|
i0.ɵɵtext(2);
|
|
47026
47049
|
i0.ɵɵpipe(3, "translate");
|
|
@@ -47039,32 +47062,35 @@ class WorkSearchEmployerComponentME {
|
|
|
47039
47062
|
i0.ɵɵelementStart(24, "ion-col", 4)(25, "div", 5);
|
|
47040
47063
|
i0.ɵɵtemplate(26, WorkSearchEmployerComponentME_div_26_Template, 6, 16, "div", 12)(27, WorkSearchEmployerComponentME_section_27_Template, 26, 39, "section", 11);
|
|
47041
47064
|
i0.ɵɵelementEnd()()();
|
|
47042
|
-
i0.ɵɵelementStart(28, "ion-row")(29, "ion-col", 13)
|
|
47043
|
-
i0.ɵɵ
|
|
47044
|
-
i0.ɵɵ
|
|
47045
|
-
i0.ɵɵ
|
|
47046
|
-
i0.ɵɵ
|
|
47047
|
-
i0.ɵɵelementStart(33, "ion-button", 15);
|
|
47048
|
-
i0.ɵɵlistener("click", function WorkSearchEmployerComponentME_Template_ion_button_click_33_listener() { return ctx.add(); });
|
|
47065
|
+
i0.ɵɵelementStart(28, "ion-row")(29, "ion-col", 13);
|
|
47066
|
+
i0.ɵɵtemplate(30, WorkSearchEmployerComponentME_section_30_Template, 2, 1, "section", 11);
|
|
47067
|
+
i0.ɵɵelementEnd()();
|
|
47068
|
+
i0.ɵɵelementStart(31, "ion-row")(32, "ion-col", 13)(33, "ion-button", 14);
|
|
47069
|
+
i0.ɵɵlistener("click", function WorkSearchEmployerComponentME_Template_ion_button_click_33_listener() { return ctx.close(); });
|
|
47049
47070
|
i0.ɵɵtext(34);
|
|
47050
47071
|
i0.ɵɵpipe(35, "translate");
|
|
47072
|
+
i0.ɵɵelementEnd();
|
|
47073
|
+
i0.ɵɵelementStart(36, "ion-button", 15);
|
|
47074
|
+
i0.ɵɵlistener("click", function WorkSearchEmployerComponentME_Template_ion_button_click_36_listener() { return ctx.add(); });
|
|
47075
|
+
i0.ɵɵtext(37);
|
|
47076
|
+
i0.ɵɵpipe(38, "translate");
|
|
47051
47077
|
i0.ɵɵelementEnd()()()()()();
|
|
47052
47078
|
} if (rf & 2) {
|
|
47053
47079
|
const _r0 = i0.ɵɵreference(5);
|
|
47054
|
-
i0.ɵɵproperty("showHeader", false)("breakpoints", i0.ɵɵpureFunction0(
|
|
47080
|
+
i0.ɵɵproperty("showHeader", false)("breakpoints", i0.ɵɵpureFunction0(36, _c12$1));
|
|
47055
47081
|
i0.ɵɵadvance(2);
|
|
47056
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(3,
|
|
47082
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(3, 23, "work.search.journal.activity.heading", ctx.dynamicParam));
|
|
47057
47083
|
i0.ɵɵadvance(2);
|
|
47058
47084
|
i0.ɵɵproperty("formGroup", ctx.wsrForm);
|
|
47059
47085
|
i0.ɵɵadvance(8);
|
|
47060
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13,
|
|
47086
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 26, "work.search.journal.activity.type"));
|
|
47061
47087
|
i0.ɵɵadvance(2);
|
|
47062
|
-
i0.ɵɵproperty("overlayText", i0.ɵɵpipeBind1(15,
|
|
47088
|
+
i0.ɵɵproperty("overlayText", i0.ɵɵpipeBind1(15, 28, i0.ɵɵpipeBind1(16, 30, "work.search.journal.activity.ip2095")));
|
|
47063
47089
|
i0.ɵɵadvance(3);
|
|
47064
47090
|
i0.ɵɵproperty("options", ctx.activityTypeCombo)("formControl", ctx.activityType);
|
|
47065
47091
|
i0.ɵɵadvance(1);
|
|
47066
47092
|
i0.ɵɵclassMap("app-grid");
|
|
47067
|
-
i0.ɵɵproperty("field", ctx.activityType)("form", _r0)("errDef", i0.ɵɵpureFunction0(
|
|
47093
|
+
i0.ɵɵproperty("field", ctx.activityType)("form", _r0)("errDef", i0.ɵɵpureFunction0(37, _c14$1));
|
|
47068
47094
|
i0.ɵɵadvance(1);
|
|
47069
47095
|
i0.ɵɵproperty("ngIf", ctx.displayWorkingForAnEmployerQuestions);
|
|
47070
47096
|
i0.ɵɵadvance(1);
|
|
@@ -47079,15 +47105,17 @@ class WorkSearchEmployerComponentME {
|
|
|
47079
47105
|
i0.ɵɵproperty("ngIf", !ctx.displayUnionMemberQuestions && !ctx.displayWorkingForAnEmployerQuestions);
|
|
47080
47106
|
i0.ɵɵadvance(1);
|
|
47081
47107
|
i0.ɵɵproperty("ngIf", ctx.displayEmployerQuestions);
|
|
47108
|
+
i0.ɵɵadvance(3);
|
|
47109
|
+
i0.ɵɵproperty("ngIf", ctx.displayUnionMemberQuestions);
|
|
47082
47110
|
i0.ɵɵadvance(4);
|
|
47083
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
47111
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(35, 32, "button.cancel"));
|
|
47084
47112
|
i0.ɵɵadvance(3);
|
|
47085
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
47113
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(38, 34, "button.add"));
|
|
47086
47114
|
} }, dependencies: [i4.IonButton, i4.IonCol, i4.IonGrid, i4.IonRow, i5$1.NgIf, i1$4.ɵNgNoValidate, i1$4.DefaultValueAccessor, i1$4.NgControlStatus, i1$4.NgControlStatusGroup, i1$4.MinLengthValidator, i1$4.MaxLengthValidator, i1$4.FormControlDirective, i1$4.FormGroupDirective, i6$3.Dialog, i17.InputText, i18.InputMask, i19.Calendar, i21.SelectButton, ErrorComponent, OverlayInfoComponent, SearchEmployerComponent, Dropdown, StripInvisibleCharsDirective, i3$1.TranslatePipe, TrustHtmlPipe], styles: ["[_nghost-%COMP%] .p-dialog{width:90%!important}"] }); }
|
|
47087
47115
|
}
|
|
47088
47116
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkSearchEmployerComponentME, [{
|
|
47089
47117
|
type: Component,
|
|
47090
|
-
args: [{ selector: 'app-work-search-employer-me', template: "<p-dialog visible=\"true\" modal=\"true\" appendTo=\"body\" position=\"top\" [showHeader]=\"false\" [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' | 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 \r\n <div class=\"field\">\r\n <label for=\"activityType\">{{'work.search.journal.activity.type' | translate}}</label>\r\n <app-overlay-info [overlayText]=\"'work.search.journal.activity.ip2095' | translate | trustHtml\" style=\"padding-left: 8px;flex-grow: 1;\"></app-overlay-info>\r\n <app-dropdown [options]=\"activityTypeCombo\" optionLabel=\"DESC\" optionValue=\"NAME\" [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 typeAlreadyUsed: 'You can only add one entry for this activity type this week.'\r\n }\"></app-error>\r\n </div>\r\n <section *ngIf=\"displayWorkingForAnEmployerQuestions\">\r\n <div class=\"field\">\r\n <label for=\"workOrPerformServiceType\">{{'work.search.journal.workOrPerformServiceType' | translate}}</label>\r\n <p-selectButton [options]=\"employmentTypeOptions\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"workOrPerformServiceType\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='workOrPerformServiceType' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </section>\r\n <section *ngIf=\"displayUnionMemberQuestions\">\r\n <div class=\"field\">\r\n <label for=\"isInContactWithUnion\">{{'work.search.journal.isInContactWithUnion' | translate}}</label>\r\n <p-selectButton [options]=\"yesNoOptions\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"isInContactWithUnion\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='isInContactWithUnion' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"isInContactWithUnion.value === 'Y'\">\r\n <label for=\"unionName\">{{'work.search.journal.unionName' | translate}}</label>\r\n <input id=\"unionName\" type=\"input\" pInputText [formControl]=\"unionName\" appStripInvisibleChars />\r\n <app-error [class]=\"'app-grid'\" [field]='unionName' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"isInContactWithUnion.value === 'Y'\">\r\n <label for=\"unionContactPersonName\">{{'work.search.journal.unionContactPersonName' | translate}}</label>\r\n <input id=\"unionContactPersonName\" type=\"input\" pInputText [formControl]=\"unionContactPersonName\"\r\n appStripInvisibleChars />\r\n <app-error [class]=\"'app-grid'\" [field]='unionContactPersonName' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"isInContactWithUnion.value === 'Y'\">\r\n <label for=\"unionContactDate\">{{'work.search.journal.unionContactDate'| translate}}</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"unionContactDate\" appendTo=\"body\" [formControl]=\"unionContactDate\"\r\n [minDate]=\"sunDate\" [maxDate]=\"satDate\" [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='unionContactDate' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </section>\r\n <section *ngIf=\"displayCCQuestions\">\r\n <div class=\"field\">\r\n <label for=\"workShopName\">{{'work.search.journal.workShopName' | translate}}</label>\r\n <input id=\"workShopName\" type=\"input\" pInputText [formControl]=\"workShopName\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='workShopName' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </section>\r\n <section *ngIf =\"displayJobFairQuestions\">\r\n <div class=\"field\">\r\n <label for=\"jobFairLocation\">{{'work.search.journal.jobFairLocation' | translate}}</label>\r\n <input id=\"jobFairLocation\" type=\"input\" pInputText [formControl]=\"jobFairLocation\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='jobFairLocation' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </section>\r\n <section *ngIf =\"displayEmployerQuestions\">\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)\" [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 <div class=\"field\">\r\n <label for=\"country\">{{'work.search.journal.country' | translate}}</label><br>\r\n <app-dropdown inputId=\"country\" [options]=\"countryOptions\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n appendTo=\"body\" [formControl]=\"country\" [autoDisplayFirst]=\"false\" inputId=\"country\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='country' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\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, and . , & \\' ( ) - # are allowed'\r\n }\"></app-error>\r\n </div>\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 <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 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 class=\"field\" >\r\n <label for=\"employerPhone\">{{'work.search.journal.phoneNo' | translate}}</label>\r\n <p-inputMask inputId=\"employerPhone\" [formControl]=\"employerPhone\" mask=\"(999) 999-9999\" 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 </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=\"!displayUnionMemberQuestions && !displayWorkingForAnEmployerQuestions\">\r\n <label for=\"workSearchDate\">{{'work.search.journal.applicationDate'| translate}}</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"workSearchDate\" appendTo=\"body\" [formControl]=\"workSearchDate\" [minDate]=\"sunDate\" [maxDate]=\"satDate\" [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\"></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 ' + satDateString + '.'\r\n }\"></app-error>\r\n </div>\r\n <section *ngIf =\"displayEmployerQuestions\">\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, numbers, spaces, and hyphens'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"contactMethod\">{{'work.search.journal.contactMethod'| translate}}</label>\r\n <p-selectButton [options]=\"workSearchMethodContact\" optionLabel=\"DESC\" optionValue=\"NAME\" [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 \r\n <div class=\"field\" *ngIf=\"contactMethod.value == 'TELE'\">\r\n <label for=\"contactPhone\">{{'work.search.journal.phoneNo' | translate}}</label>\r\n <p-inputMask inputId=\"contactPhone\" [formControl]=\"contactPhone\" mask=\"(999) 999-9999\" unmask=\"true\"></p-inputMask>\r\n <app-error [class]=\"'app-grid'\" [field]='contactPhone' [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\" 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 }\"></app-error>\r\n </div>\r\n \r\n <div class=\"field\" *ngIf=\"contactMethod.value !='ONLI'\">\r\n <label for=\"empContactPersonName\">{{'work.search.journal.contactNameTitle' | 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\">\r\n <label for=\"searchResult\">{{'work.search.journal.result' | translate}}</label>\r\n <app-dropdown [options]=\"workSearchResultCombo\" optionLabel=\"DESC\" optionValue=\"NAME\" [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\r\n <div class=\"field\" *ngIf=\"searchResult.value == 'OTHR'\">\r\n <label for=\"othResult\">{{'work.search.journal.result.oth' | translate}}</label>\r\n <input id=\"othResult\" type=\"input\" pInputText [formControl]=\"othResult\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='othResult' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"searchResult.value == 'HIRE'\">\r\n <label for=\"hasStartDate\">{{'work.search.journal.result.hasStartDate' | translate}}</label>\r\n <p-selectButton [options]=\"yesNoOptions\" optionLabel=\"DESC\" optionValue=\"NAME\" [formControl]=\"hasStartDate\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='hasStartDate' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"hasStartDate.value == 'Y' && searchResult.value == 'HIRE'\">\r\n <label for=\"workStartDate\">{{'work.search.journal.result.startDate' | translate}}</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"workStartDate\" appendTo=\"body\" [formControl]=\"workStartDate\" [minDate]=\"sunDate\" [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='workStartDate' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n\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' | 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>", styles: [":host ::ng-deep .p-dialog{width:90%!important}\n"] }]
|
|
47118
|
+
args: [{ selector: 'app-work-search-employer-me', template: "<p-dialog visible=\"true\" modal=\"true\" appendTo=\"body\" position=\"top\" [showHeader]=\"false\" [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' | 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 \r\n <div class=\"field\">\r\n <label for=\"activityType\">{{'work.search.journal.activity.type' | translate}}</label>\r\n <app-overlay-info [overlayText]=\"'work.search.journal.activity.ip2095' | translate | trustHtml\" style=\"padding-left: 8px;flex-grow: 1;\"></app-overlay-info>\r\n <app-dropdown [options]=\"activityTypeCombo\" optionLabel=\"DESC\" optionValue=\"NAME\" [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 typeAlreadyUsed: 'You can only add one entry for this activity type this week.'\r\n }\"></app-error>\r\n </div>\r\n <section *ngIf=\"displayWorkingForAnEmployerQuestions\">\r\n <div class=\"field\">\r\n <label for=\"workOrPerformServiceType\">{{'work.search.journal.workOrPerformServiceType' | translate}}</label>\r\n <p-selectButton [options]=\"employmentTypeOptions\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"workOrPerformServiceType\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='workOrPerformServiceType' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </section>\r\n <section *ngIf=\"displayUnionMemberQuestions\">\r\n <div class=\"field\">\r\n <label for=\"isInContactWithUnion\">{{'work.search.journal.isInContactWithUnion' | translate}}</label>\r\n <p-selectButton [options]=\"yesNoOptions\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n [formControl]=\"isInContactWithUnion\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='isInContactWithUnion' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"isInContactWithUnion.value === 'Y'\">\r\n <label for=\"unionName\">{{'work.search.journal.unionName' | translate}}</label>\r\n <input id=\"unionName\" type=\"input\" pInputText [formControl]=\"unionName\" appStripInvisibleChars />\r\n <app-error [class]=\"'app-grid'\" [field]='unionName' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"isInContactWithUnion.value === 'Y'\">\r\n <label for=\"unionContactPersonName\">{{'work.search.journal.unionContactPersonName' | translate}}</label>\r\n <input id=\"unionContactPersonName\" type=\"input\" pInputText [formControl]=\"unionContactPersonName\"\r\n appStripInvisibleChars />\r\n <app-error [class]=\"'app-grid'\" [field]='unionContactPersonName' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"isInContactWithUnion.value === 'Y'\">\r\n <label for=\"unionContactDate\">{{'work.search.journal.unionContactDate'| translate}}</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"unionContactDate\" appendTo=\"body\" [formControl]=\"unionContactDate\"\r\n [minDate]=\"sunDate\" [maxDate]=\"satDate\" [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='unionContactDate' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </section>\r\n <section *ngIf=\"displayCCQuestions\">\r\n <div class=\"field\">\r\n <label for=\"workShopName\">{{'work.search.journal.workShopName' | translate}}</label>\r\n <input id=\"workShopName\" type=\"input\" pInputText [formControl]=\"workShopName\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='workShopName' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </section>\r\n <section *ngIf =\"displayJobFairQuestions\">\r\n <div class=\"field\">\r\n <label for=\"jobFairLocation\">{{'work.search.journal.jobFairLocation' | translate}}</label>\r\n <input id=\"jobFairLocation\" type=\"input\" pInputText [formControl]=\"jobFairLocation\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='jobFairLocation' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n </section>\r\n <section *ngIf =\"displayEmployerQuestions\">\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)\" [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 <div class=\"field\">\r\n <label for=\"country\">{{'work.search.journal.country' | translate}}</label><br>\r\n <app-dropdown inputId=\"country\" [options]=\"countryOptions\" optionLabel=\"DESC\" optionValue=\"NAME\"\r\n appendTo=\"body\" [formControl]=\"country\" [autoDisplayFirst]=\"false\" inputId=\"country\"></app-dropdown>\r\n <app-error [class]=\"'app-grid'\" [field]='country' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'required'\r\n }\"></app-error>\r\n </div>\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, and . , & \\' ( ) - # are allowed'\r\n }\"></app-error>\r\n </div>\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 <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 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 class=\"field\" >\r\n <label for=\"employerPhone\">{{'work.search.journal.phoneNo' | translate}}</label>\r\n <p-inputMask inputId=\"employerPhone\" [formControl]=\"employerPhone\" mask=\"(999) 999-9999\" 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 </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=\"!displayUnionMemberQuestions && !displayWorkingForAnEmployerQuestions\">\r\n <label for=\"workSearchDate\">{{'work.search.journal.applicationDate'| translate}}</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"workSearchDate\" appendTo=\"body\" [formControl]=\"workSearchDate\" [minDate]=\"sunDate\" [maxDate]=\"satDate\" [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\"></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 ' + satDateString + '.'\r\n }\"></app-error>\r\n </div>\r\n <section *ngIf =\"displayEmployerQuestions\">\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, numbers, spaces, and hyphens'\r\n }\"></app-error>\r\n </div>\r\n\r\n <div class=\"field\">\r\n <label for=\"contactMethod\">{{'work.search.journal.contactMethod'| translate}}</label>\r\n <p-selectButton [options]=\"workSearchMethodContact\" optionLabel=\"DESC\" optionValue=\"NAME\" [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 \r\n <div class=\"field\" *ngIf=\"contactMethod.value == 'TELE'\">\r\n <label for=\"contactPhone\">{{'work.search.journal.phoneNo' | translate}}</label>\r\n <p-inputMask inputId=\"contactPhone\" [formControl]=\"contactPhone\" mask=\"(999) 999-9999\" unmask=\"true\"></p-inputMask>\r\n <app-error [class]=\"'app-grid'\" [field]='contactPhone' [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\" 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 }\"></app-error>\r\n </div>\r\n \r\n <div class=\"field\" *ngIf=\"contactMethod.value !='ONLI'\">\r\n <label for=\"empContactPersonName\">{{'work.search.journal.contactNameTitle' | 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\">\r\n <label for=\"searchResult\">{{'work.search.journal.result' | translate}}</label>\r\n <app-dropdown [options]=\"workSearchResultCombo\" optionLabel=\"DESC\" optionValue=\"NAME\" [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\r\n <div class=\"field\" *ngIf=\"searchResult.value == 'OTHR'\">\r\n <label for=\"othResult\">{{'work.search.journal.result.oth' | translate}}</label>\r\n <input id=\"othResult\" type=\"input\" pInputText [formControl]=\"othResult\" appStripInvisibleChars/>\r\n <app-error [class]=\"'app-grid'\" [field]='othResult' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"searchResult.value == 'HIRE'\">\r\n <label for=\"hasStartDate\">{{'work.search.journal.result.hasStartDate' | translate}}</label>\r\n <p-selectButton [options]=\"yesNoOptions\" optionLabel=\"DESC\" optionValue=\"NAME\" [formControl]=\"hasStartDate\"></p-selectButton>\r\n <app-error [class]=\"'app-grid'\" [field]='hasStartDate' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n </div>\r\n <div class=\"field\" *ngIf=\"hasStartDate.value == 'Y' && searchResult.value == 'HIRE'\">\r\n <label for=\"workStartDate\">{{'work.search.journal.result.startDate' | translate}}</label>\r\n <p-calendar [showIcon]=\"true\" inputId=\"workStartDate\" appendTo=\"body\" [formControl]=\"workStartDate\" [minDate]=\"sunDate\" [defaultDate]=\"sunDate\" [selectOtherMonths]=\"true\"></p-calendar>\r\n <app-error [class]=\"'app-grid'\" [field]='workStartDate' [form]=\"wsrFormDirective\" [errDef]=\"{ \r\n required: 'Required.'\r\n }\"></app-error>\r\n\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 <section *ngIf=\"displayUnionMemberQuestions\">\r\n\t\t\t <div class=\"field\" *ngIf=\"isInContactWithUnion.value === 'N'\">\r\n {{'work.search.journal.noContactWithUnion' | translate}}\r\n </div>\r\n </section>\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>\r\n</p-dialog>", styles: [":host ::ng-deep .p-dialog{width:90%!important}\n"] }]
|
|
47091
47119
|
}], () => [{ type: WeeklyCertServiceV2 }, { type: i1$4.UntypedFormBuilder }, { type: UtilService }], { wsrFormDirective: [{
|
|
47092
47120
|
type: ViewChild,
|
|
47093
47121
|
args: ['wsrFormDirective', { static: false }]
|
|
@@ -47861,47 +47889,71 @@ function WorkSearchQuestionComponentV2_div_4_section_3_section_3_Template(rf, ct
|
|
|
47861
47889
|
i0.ɵɵadvance(1);
|
|
47862
47890
|
i0.ɵɵproperty("value", i0.ɵɵpureFunction1(2, _c6$1, i0.ɵɵpureFunction0(1, _c5$1)));
|
|
47863
47891
|
} }
|
|
47892
|
+
function WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
47893
|
+
i0.ɵɵelementContainerStart(0);
|
|
47894
|
+
i0.ɵɵtext(1);
|
|
47895
|
+
i0.ɵɵpipe(2, "date");
|
|
47896
|
+
i0.ɵɵelementContainerEnd();
|
|
47897
|
+
} if (rf & 2) {
|
|
47898
|
+
const record_r18 = i0.ɵɵnextContext(2).$implicit;
|
|
47899
|
+
i0.ɵɵadvance(1);
|
|
47900
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, record_r18.unionContactDate, "M/d/yyyy"), " ");
|
|
47901
|
+
} }
|
|
47902
|
+
function WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
47903
|
+
i0.ɵɵelementContainerStart(0);
|
|
47904
|
+
i0.ɵɵtemplate(1, WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_ng_container_2_ng_container_1_Template, 3, 4, "ng-container", 3);
|
|
47905
|
+
i0.ɵɵelementContainerEnd();
|
|
47906
|
+
} if (rf & 2) {
|
|
47907
|
+
const record_r18 = i0.ɵɵnextContext().$implicit;
|
|
47908
|
+
i0.ɵɵadvance(1);
|
|
47909
|
+
i0.ɵɵproperty("ngIf", record_r18.isInContactWithUnion === "Y");
|
|
47910
|
+
} }
|
|
47911
|
+
function WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
47912
|
+
i0.ɵɵtext(0);
|
|
47913
|
+
i0.ɵɵpipe(1, "date");
|
|
47914
|
+
} if (rf & 2) {
|
|
47915
|
+
const record_r18 = i0.ɵɵnextContext().$implicit;
|
|
47916
|
+
const ctx_r20 = i0.ɵɵnextContext(3);
|
|
47917
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(1, 1, record_r18.workSearchDate || ctx_r20.currentDate, "M/d/yyyy"), " ");
|
|
47918
|
+
} }
|
|
47864
47919
|
const _c7 = () => ["fal", "edit"];
|
|
47865
47920
|
const _c8 = () => ["fal", "trash-alt"];
|
|
47866
47921
|
function WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
47867
|
-
const
|
|
47868
|
-
i0.ɵɵelementStart(0, "td")(1, "ion-button",
|
|
47869
|
-
i0.ɵɵlistener("click", function WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_td_7_Template_ion_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
47922
|
+
const _r29 = i0.ɵɵgetCurrentView();
|
|
47923
|
+
i0.ɵɵelementStart(0, "td")(1, "ion-button", 36);
|
|
47924
|
+
i0.ɵɵlistener("click", function WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_td_7_Template_ion_button_click_1_listener() { i0.ɵɵrestoreView(_r29); const record_r18 = i0.ɵɵnextContext().$implicit; const ctx_r27 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r27.edit(record_r18)); });
|
|
47870
47925
|
i0.ɵɵelement(2, "fa-icon", 28);
|
|
47871
47926
|
i0.ɵɵelementEnd();
|
|
47872
|
-
i0.ɵɵelementStart(3, "ion-button",
|
|
47873
|
-
i0.ɵɵlistener("click", function WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_td_7_Template_ion_button_click_3_listener() { i0.ɵɵrestoreView(
|
|
47927
|
+
i0.ɵɵelementStart(3, "ion-button", 36);
|
|
47928
|
+
i0.ɵɵlistener("click", function WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_td_7_Template_ion_button_click_3_listener() { i0.ɵɵrestoreView(_r29); const record_r18 = i0.ɵɵnextContext().$implicit; const ctx_r30 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r30.delete(record_r18)); });
|
|
47874
47929
|
i0.ɵɵelement(4, "fa-icon", 28);
|
|
47875
47930
|
i0.ɵɵelementEnd()();
|
|
47876
47931
|
} if (rf & 2) {
|
|
47877
|
-
const
|
|
47932
|
+
const ctx_r22 = i0.ɵɵnextContext(4);
|
|
47878
47933
|
i0.ɵɵadvance(1);
|
|
47879
|
-
i0.ɵɵproperty("disabled",
|
|
47934
|
+
i0.ɵɵproperty("disabled", ctx_r22.disabled);
|
|
47880
47935
|
i0.ɵɵadvance(1);
|
|
47881
47936
|
i0.ɵɵproperty("icon", i0.ɵɵpureFunction0(4, _c7));
|
|
47882
47937
|
i0.ɵɵadvance(1);
|
|
47883
|
-
i0.ɵɵproperty("disabled",
|
|
47938
|
+
i0.ɵɵproperty("disabled", ctx_r22.disabled);
|
|
47884
47939
|
i0.ɵɵadvance(1);
|
|
47885
47940
|
i0.ɵɵproperty("icon", i0.ɵɵpureFunction0(5, _c8));
|
|
47886
47941
|
} }
|
|
47887
47942
|
function WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
47888
47943
|
i0.ɵɵelementStart(0, "tr", 32)(1, "td");
|
|
47889
|
-
i0.ɵɵ
|
|
47890
|
-
i0.ɵɵpipe(3, "date");
|
|
47944
|
+
i0.ɵɵtemplate(2, WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_ng_container_2_Template, 2, 1, "ng-container", 33)(3, WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_ng_template_3_Template, 2, 4, "ng-template", null, 34, i0.ɵɵtemplateRefExtractor);
|
|
47891
47945
|
i0.ɵɵelementEnd();
|
|
47892
|
-
i0.ɵɵ
|
|
47893
|
-
i0.ɵɵtext(5);
|
|
47946
|
+
i0.ɵɵelement(5, "td", 35);
|
|
47894
47947
|
i0.ɵɵpipe(6, "formatWorksearchRecord");
|
|
47895
|
-
i0.ɵɵelementEnd();
|
|
47896
47948
|
i0.ɵɵtemplate(7, WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_td_7_Template, 5, 6, "td", 3);
|
|
47897
47949
|
i0.ɵɵelementEnd();
|
|
47898
47950
|
} if (rf & 2) {
|
|
47899
47951
|
const record_r18 = ctx.$implicit;
|
|
47900
|
-
const
|
|
47952
|
+
const _r21 = i0.ɵɵreference(4);
|
|
47901
47953
|
i0.ɵɵadvance(2);
|
|
47902
|
-
i0.ɵɵ
|
|
47954
|
+
i0.ɵɵproperty("ngIf", record_r18.activityType === "UNON")("ngIfElse", _r21);
|
|
47903
47955
|
i0.ɵɵadvance(3);
|
|
47904
|
-
i0.ɵɵ
|
|
47956
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(6, 4, record_r18), i0.ɵɵsanitizeHtml);
|
|
47905
47957
|
i0.ɵɵadvance(2);
|
|
47906
47958
|
i0.ɵɵproperty("ngIf", record_r18.activityType != "MDES");
|
|
47907
47959
|
} }
|
|
@@ -47911,7 +47963,7 @@ function WorkSearchQuestionComponentV2_div_4_section_3_Template(rf, ctx) { if (r
|
|
|
47911
47963
|
i0.ɵɵelement(2, "div", 20);
|
|
47912
47964
|
i0.ɵɵtemplate(3, WorkSearchQuestionComponentV2_div_4_section_3_section_3_Template, 3, 4, "section", 3);
|
|
47913
47965
|
i0.ɵɵelementStart(4, "p-table", 21);
|
|
47914
|
-
i0.ɵɵtemplate(5, WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_Template, 8,
|
|
47966
|
+
i0.ɵɵtemplate(5, WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_Template, 8, 6, "ng-template", 22);
|
|
47915
47967
|
i0.ɵɵelementEnd()();
|
|
47916
47968
|
} if (rf & 2) {
|
|
47917
47969
|
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
@@ -47923,7 +47975,7 @@ function WorkSearchQuestionComponentV2_div_4_section_3_Template(rf, ctx) { if (r
|
|
|
47923
47975
|
i0.ɵɵproperty("value", ctx_r10.wcService.getWorkSearchRecords());
|
|
47924
47976
|
} }
|
|
47925
47977
|
function WorkSearchQuestionComponentV2_div_4_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
47926
|
-
i0.ɵɵelementStart(0, "div",
|
|
47978
|
+
i0.ɵɵelementStart(0, "div", 37)(1, "mat-error")(2, "small");
|
|
47927
47979
|
i0.ɵɵtext(3);
|
|
47928
47980
|
i0.ɵɵpipe(4, "translate");
|
|
47929
47981
|
i0.ɵɵelementEnd()()();
|
|
@@ -47947,16 +47999,16 @@ function WorkSearchQuestionComponentV2_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
47947
47999
|
i0.ɵɵproperty("ngIf", ctx_r3.msg !== null && ctx_r3.isMS());
|
|
47948
48000
|
} }
|
|
47949
48001
|
function WorkSearchQuestionComponentV2_div_5_ion_row_2_Template(rf, ctx) { if (rf & 1) {
|
|
47950
|
-
i0.ɵɵelementStart(0, "ion-row")(1, "ion-col",
|
|
48002
|
+
i0.ɵɵelementStart(0, "ion-row")(1, "ion-col", 39)(2, "span");
|
|
47951
48003
|
i0.ɵɵtext(3);
|
|
47952
48004
|
i0.ɵɵelementEnd()()();
|
|
47953
48005
|
} if (rf & 2) {
|
|
47954
|
-
const
|
|
48006
|
+
const ctx_r32 = i0.ɵɵnextContext(2);
|
|
47955
48007
|
i0.ɵɵadvance(3);
|
|
47956
|
-
i0.ɵɵtextInterpolate(
|
|
48008
|
+
i0.ɵɵtextInterpolate(ctx_r32.wcService.weeklyCertServerData.waiverReason);
|
|
47957
48009
|
} }
|
|
47958
48010
|
function WorkSearchQuestionComponentV2_div_5_ion_row_3_Template(rf, ctx) { if (rf & 1) {
|
|
47959
|
-
i0.ɵɵelementStart(0, "ion-row")(1, "ion-col",
|
|
48011
|
+
i0.ɵɵelementStart(0, "ion-row")(1, "ion-col", 39)(2, "span");
|
|
47960
48012
|
i0.ɵɵtext(3);
|
|
47961
48013
|
i0.ɵɵpipe(4, "translate");
|
|
47962
48014
|
i0.ɵɵelementEnd()()();
|
|
@@ -47965,7 +48017,7 @@ function WorkSearchQuestionComponentV2_div_5_ion_row_3_Template(rf, ctx) { if (r
|
|
|
47965
48017
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 1, "no.work.search.required"));
|
|
47966
48018
|
} }
|
|
47967
48019
|
function WorkSearchQuestionComponentV2_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
47968
|
-
i0.ɵɵelementStart(0, "div")(1, "ion-grid",
|
|
48020
|
+
i0.ɵɵelementStart(0, "div")(1, "ion-grid", 38);
|
|
47969
48021
|
i0.ɵɵtemplate(2, WorkSearchQuestionComponentV2_div_5_ion_row_2_Template, 4, 1, "ion-row", 3)(3, WorkSearchQuestionComponentV2_div_5_ion_row_3_Template, 5, 3, "ion-row", 3);
|
|
47970
48022
|
i0.ɵɵelementEnd()();
|
|
47971
48023
|
} if (rf & 2) {
|
|
@@ -47976,34 +48028,34 @@ function WorkSearchQuestionComponentV2_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
47976
48028
|
i0.ɵɵproperty("ngIf", !ctx_r4.wcService.getWaitingWeekServed());
|
|
47977
48029
|
} }
|
|
47978
48030
|
function WorkSearchQuestionComponentV2_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
47979
|
-
const
|
|
47980
|
-
i0.ɵɵelementStart(0, "ion-button",
|
|
47981
|
-
i0.ɵɵlistener("click", function WorkSearchQuestionComponentV2_ng_template_11_Template_ion_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
48031
|
+
const _r35 = i0.ɵɵgetCurrentView();
|
|
48032
|
+
i0.ɵɵelementStart(0, "ion-button", 40);
|
|
48033
|
+
i0.ɵɵlistener("click", function WorkSearchQuestionComponentV2_ng_template_11_Template_ion_button_click_0_listener() { i0.ɵɵrestoreView(_r35); const ctx_r34 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r34.closeReemDialog()); });
|
|
47982
48034
|
i0.ɵɵtext(1, " Ok ");
|
|
47983
48035
|
i0.ɵɵelementEnd();
|
|
47984
48036
|
} }
|
|
47985
48037
|
function WorkSearchQuestionComponentV2_app_work_search_employer_ct_12_Template(rf, ctx) { if (rf & 1) {
|
|
47986
|
-
const
|
|
47987
|
-
i0.ɵɵelementStart(0, "app-work-search-employer-ct",
|
|
47988
|
-
i0.ɵɵlistener("success", function WorkSearchQuestionComponentV2_app_work_search_employer_ct_12_Template_app_work_search_employer_ct_success_0_listener($event) { i0.ɵɵrestoreView(
|
|
48038
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
48039
|
+
i0.ɵɵelementStart(0, "app-work-search-employer-ct", 41);
|
|
48040
|
+
i0.ɵɵlistener("success", function WorkSearchQuestionComponentV2_app_work_search_employer_ct_12_Template_app_work_search_employer_ct_success_0_listener($event) { i0.ɵɵrestoreView(_r37); const ctx_r36 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r36.addWsRecord($event)); })("onClose", function WorkSearchQuestionComponentV2_app_work_search_employer_ct_12_Template_app_work_search_employer_ct_onClose_0_listener() { i0.ɵɵrestoreView(_r37); const ctx_r38 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r38.closeWsRecord()); });
|
|
47989
48041
|
i0.ɵɵelementEnd();
|
|
47990
48042
|
} if (rf & 2) {
|
|
47991
48043
|
const ctx_r6 = i0.ɵɵnextContext();
|
|
47992
48044
|
i0.ɵɵproperty("recordIndexToEdit", ctx_r6.indexToEdit);
|
|
47993
48045
|
} }
|
|
47994
48046
|
function WorkSearchQuestionComponentV2_app_work_search_employer_me_13_Template(rf, ctx) { if (rf & 1) {
|
|
47995
|
-
const
|
|
47996
|
-
i0.ɵɵelementStart(0, "app-work-search-employer-me",
|
|
47997
|
-
i0.ɵɵlistener("success", function WorkSearchQuestionComponentV2_app_work_search_employer_me_13_Template_app_work_search_employer_me_success_0_listener($event) { i0.ɵɵrestoreView(
|
|
48047
|
+
const _r40 = i0.ɵɵgetCurrentView();
|
|
48048
|
+
i0.ɵɵelementStart(0, "app-work-search-employer-me", 42);
|
|
48049
|
+
i0.ɵɵlistener("success", function WorkSearchQuestionComponentV2_app_work_search_employer_me_13_Template_app_work_search_employer_me_success_0_listener($event) { i0.ɵɵrestoreView(_r40); const ctx_r39 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r39.addWsRecord($event)); })("onClose", function WorkSearchQuestionComponentV2_app_work_search_employer_me_13_Template_app_work_search_employer_me_onClose_0_listener() { i0.ɵɵrestoreView(_r40); const ctx_r41 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r41.closeWsRecord()); });
|
|
47998
48050
|
i0.ɵɵelementEnd();
|
|
47999
48051
|
} if (rf & 2) {
|
|
48000
48052
|
const ctx_r7 = i0.ɵɵnextContext();
|
|
48001
48053
|
i0.ɵɵproperty("recordIndexToEdit", ctx_r7.indexToEdit)("existingRecords", ctx_r7.wcService.getWorkSearchRecords());
|
|
48002
48054
|
} }
|
|
48003
48055
|
function WorkSearchQuestionComponentV2_app_work_search_employer_ms_14_Template(rf, ctx) { if (rf & 1) {
|
|
48004
|
-
const
|
|
48005
|
-
i0.ɵɵelementStart(0, "app-work-search-employer-ms",
|
|
48006
|
-
i0.ɵɵlistener("success", function WorkSearchQuestionComponentV2_app_work_search_employer_ms_14_Template_app_work_search_employer_ms_success_0_listener($event) { i0.ɵɵrestoreView(
|
|
48056
|
+
const _r43 = i0.ɵɵgetCurrentView();
|
|
48057
|
+
i0.ɵɵelementStart(0, "app-work-search-employer-ms", 41);
|
|
48058
|
+
i0.ɵɵlistener("success", function WorkSearchQuestionComponentV2_app_work_search_employer_ms_14_Template_app_work_search_employer_ms_success_0_listener($event) { i0.ɵɵrestoreView(_r43); const ctx_r42 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r42.addWsRecord($event)); })("onClose", function WorkSearchQuestionComponentV2_app_work_search_employer_ms_14_Template_app_work_search_employer_ms_onClose_0_listener() { i0.ɵɵrestoreView(_r43); const ctx_r44 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r44.closeWsRecord()); });
|
|
48007
48059
|
i0.ɵɵelementEnd();
|
|
48008
48060
|
} if (rf & 2) {
|
|
48009
48061
|
const ctx_r8 = i0.ɵɵnextContext();
|
|
@@ -48334,7 +48386,7 @@ class WorkSearchQuestionComponentV2 extends BasePage {
|
|
|
48334
48386
|
let _t;
|
|
48335
48387
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wsFormId = _t.first);
|
|
48336
48388
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wsFormDirective = _t.first);
|
|
48337
|
-
} }, inputs: { disabled: "disabled", readOnly: "readOnly", showCounter: "showCounter" }, outputs: { success: "success", error: "error", hasHiredStatus: "hasHiredStatus", hasWorkedFullTimeOrStartedWorkingStatus: "hasWorkedFullTimeOrStartedWorkingStatus" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 15, vars: 18, consts: [[3, "formGroup", "ngSubmit"], ["wsFormDirective", "ngForm", "wsFormId", ""], ["class", "ion-text-left", 4, "ngIf"], [4, "ngIf"], ["appendTo", "body", "position", "center", "closeOnEscape", "false", 3, "visible", "modal", "breakpoints", "baseZIndex", "draggable", "resizable"], [1, "heading"], [2, "display", "block", "white-space", "pre-line"], ["pTemplate", "footer"], [3, "recordIndexToEdit", "success", "onClose", 4, "ngIf"], [3, "recordIndexToEdit", "existingRecords", "success", "onClose", 4, "ngIf"], [1, "ion-text-left"], [1, "app-heading"], [1, "ion-padding-start", "ion-padding-end", 2, "min-height", "500px"], ["class", "row-expansion", 4, "ngIf"], ["size", "7"], ["size", "5", 2, "display", "flex", "justify-content", "flex-end"], [2, "margin-top", "10px"], ["optionLabel", "label", "optionValue", "value", 3, "options", "formControl", "disabled"], [1, "weeklies-overlay", 2, "padding-left", "8px", "padding-right", "6px", "padding-top", "2px", "flex-grow", "1", 3, "overlayText"], [3, "field", "form", "errDef"], [2, "margin-bottom", "10px"], ["styleClass", "p-datatable-striped app-datatable", 3, "value"], ["pTemplate", "body"], ["size", "7", 1, "ion-text-left"], [3, "count", "hiredRecordCount", "msg"], ["size", "4", 1, "activity-text", 3, "ngStyle"], ["size", "1", 1, "activity-button", 3, "ngStyle"], ["fill", "outline", "size", "small", "aria-label", "add work search activity", 1, "action-button", 2, "padding", "0px 5px", "height", "34px", "width", "44px", 3, "disabled", "click"], [1, "action-icon", 3, "icon"], ["pTemplate", "header"], [1, "row-border"], [2, "height", "75px"], [1, "ion-text-justify;", "row-border"], [2, "white-space", "pre", "word-wrap", "break-word"], ["fill", "outline", "size", "small", 1, "action-button", 3, "disabled", "click"], [1, "row-expansion"], [1, "ion-padding-top"], [2, "padding", "0px"], ["shape", "round", "size", "small", "type", "button", "fill", "outline", 3, "click"], [3, "recordIndexToEdit", "success", "onClose"], [3, "recordIndexToEdit", "existingRecords", "success", "onClose"]], template: function WorkSearchQuestionComponentV2_Template(rf, ctx) { if (rf & 1) {
|
|
48389
|
+
} }, inputs: { disabled: "disabled", readOnly: "readOnly", showCounter: "showCounter" }, outputs: { success: "success", error: "error", hasHiredStatus: "hasHiredStatus", hasWorkedFullTimeOrStartedWorkingStatus: "hasWorkedFullTimeOrStartedWorkingStatus" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 15, vars: 18, consts: [[3, "formGroup", "ngSubmit"], ["wsFormDirective", "ngForm", "wsFormId", ""], ["class", "ion-text-left", 4, "ngIf"], [4, "ngIf"], ["appendTo", "body", "position", "center", "closeOnEscape", "false", 3, "visible", "modal", "breakpoints", "baseZIndex", "draggable", "resizable"], [1, "heading"], [2, "display", "block", "white-space", "pre-line"], ["pTemplate", "footer"], [3, "recordIndexToEdit", "success", "onClose", 4, "ngIf"], [3, "recordIndexToEdit", "existingRecords", "success", "onClose", 4, "ngIf"], [1, "ion-text-left"], [1, "app-heading"], [1, "ion-padding-start", "ion-padding-end", 2, "min-height", "500px"], ["class", "row-expansion", 4, "ngIf"], ["size", "7"], ["size", "5", 2, "display", "flex", "justify-content", "flex-end"], [2, "margin-top", "10px"], ["optionLabel", "label", "optionValue", "value", 3, "options", "formControl", "disabled"], [1, "weeklies-overlay", 2, "padding-left", "8px", "padding-right", "6px", "padding-top", "2px", "flex-grow", "1", 3, "overlayText"], [3, "field", "form", "errDef"], [2, "margin-bottom", "10px"], ["styleClass", "p-datatable-striped app-datatable", 3, "value"], ["pTemplate", "body"], ["size", "7", 1, "ion-text-left"], [3, "count", "hiredRecordCount", "msg"], ["size", "4", 1, "activity-text", 3, "ngStyle"], ["size", "1", 1, "activity-button", 3, "ngStyle"], ["fill", "outline", "size", "small", "aria-label", "add work search activity", 1, "action-button", 2, "padding", "0px 5px", "height", "34px", "width", "44px", 3, "disabled", "click"], [1, "action-icon", 3, "icon"], ["pTemplate", "header"], [1, "row-border"], [2, "height", "75px"], [1, "ion-text-justify;", "row-border"], [4, "ngIf", "ngIfElse"], ["nonUNON", ""], [2, "white-space", "pre", "word-wrap", "break-word", 3, "innerHTML"], ["fill", "outline", "size", "small", 1, "action-button", 3, "disabled", "click"], [1, "row-expansion"], [1, "ion-padding-top"], [2, "padding", "0px"], ["shape", "round", "size", "small", "type", "button", "fill", "outline", 3, "click"], [3, "recordIndexToEdit", "success", "onClose"], [3, "recordIndexToEdit", "existingRecords", "success", "onClose"]], template: function WorkSearchQuestionComponentV2_Template(rf, ctx) { if (rf & 1) {
|
|
48338
48390
|
i0.ɵɵelementStart(0, "form", 0, 1);
|
|
48339
48391
|
i0.ɵɵlistener("ngSubmit", function WorkSearchQuestionComponentV2_Template_form_ngSubmit_0_listener() { return ctx.openNextPage(); });
|
|
48340
48392
|
i0.ɵɵtemplate(3, WorkSearchQuestionComponentV2_div_3_Template, 4, 4, "div", 2)(4, WorkSearchQuestionComponentV2_div_4_Template, 5, 3, "div", 3)(5, WorkSearchQuestionComponentV2_div_5_Template, 4, 2, "div", 3);
|
|
@@ -48371,7 +48423,7 @@ class WorkSearchQuestionComponentV2 extends BasePage {
|
|
|
48371
48423
|
}
|
|
48372
48424
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkSearchQuestionComponentV2, [{
|
|
48373
48425
|
type: Component,
|
|
48374
|
-
args: [{ selector: 'app-work-search-question-v2', animations: [rowExpansionTrigger], template: "<form [formGroup]=\"wsForm\" #wsFormDirective=\"ngForm\" #wsFormId (ngSubmit)=\"openNextPage()\">\r\n <div class=\"ion-text-left\" *ngIf=\"!isMS()\">\r\n <h1 class=\"app-heading\">{{'weeklies.v2.worksearch.heading' | translate:param }}</h1>\r\n </div>\r\n <div *ngIf=\"wcService.getDisplayWorkSearchScreen()\">\r\n <ion-grid class=\"ion-padding-start ion-padding-end\" style=\"min-height: 500px;\">\r\n <section *ngIf=\"isMS() && showWsQuestion\">\r\n <ion-row>\r\n <ion-col size=\"7\">\r\n <h5>{{'weeklies.worksearch.q1' | translate}}</h5>\r\n </ion-col>\r\n <ion-col size=\"5\" style=\"display: flex; justify-content: flex-end;\">\r\n <ion-row style=\"margin-top:10px;\">\r\n <p-selectButton [options]=\"yesNoOptions\" optionLabel=\"label\" optionValue=\"value\"\r\n [formControl]=\"wsQuestion1\" [disabled]='disabled'>\r\n </p-selectButton>\r\n <app-overlay-info class=\"weeklies-overlay\"\r\n [overlayText]=\"'work.search.journal.activity.ip2095' | translate | trustHtml\"\r\n style=\"padding-left: 8px; padding-right: 6px; padding-top: 2px; flex-grow: 1;\"></app-overlay-info>\r\n <app-error [field]='wsQuestion1' [form]=\"wsFormDirective\"\r\n [errDef]=\"{required: 'This question is required.'}\"></app-error>\r\n </ion-row>\r\n </ion-col>\r\n </ion-row>\r\n </section>\r\n\r\n <section *ngIf=\"isMS() ? wsQuestion1.value == 1 : true\">\r\n <ion-row *ngIf=\"showCounter\">\r\n <ion-col class=\"ion-text-left\" size=\"7\">\r\n <app-work-search-counter [count]=\"getCountForCounter()\" [hiredRecordCount]=\"getHiredCountForCounter()\"\r\n [msg]=\"getWorkSearchMessage()\">\r\n </app-work-search-counter>\r\n </ion-col>\r\n <ion-col class=\"activity-text\"\r\n [ngStyle]=\"{ 'padding-top' : (hiredRecordCount<1 && joapActivitiesCount<1) ? '65px' : '40px'}\" size=\"4\">\r\n <b>+Add</b> activity\r\n </ion-col>\r\n <ion-col class=\"activity-button\"\r\n [ngStyle]=\"{ 'padding-top' : (hiredRecordCount<1 && joapActivitiesCount<1) ? '55px' : '27px'}\" size=\"1\">\r\n <ion-button style=\"padding: 0px 5px; height: 34px; width: 44px;\" fill=\"outline\" size=\"small\" (click)=\"add()\"\r\n [disabled]='disabled' class=\"action-button\" aria-label=\"add work search activity\">\r\n <fa-icon [icon]=\"['fal', 'plus']\" class=\"action-icon\"></fa-icon>\r\n </ion-button>\r\n </ion-col>\r\n </ion-row>\r\n <div style=\"margin-bottom: 10px;\"></div>\r\n <section *ngIf=\"this.wcService.getWorkSearchRecords().length < 1\">\r\n <p-table [value]=\"[{}]\" styleClass=\"p-datatable-striped app-datatable\">\r\n <ng-template pTemplate=\"header\">\r\n <tr class=\"row-border\">\r\n <th style=\"height: 75px;\"></th>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n </section>\r\n <p-table [value]=\"this.wcService.getWorkSearchRecords()\" styleClass=\"p-datatable-striped app-datatable\">\r\n <ng-template pTemplate=\"body\" let-record>\r\n <tr class=\"ion-text-justify; row-border\">\r\n <td
|
|
48426
|
+
args: [{ selector: 'app-work-search-question-v2', animations: [rowExpansionTrigger], template: "<form [formGroup]=\"wsForm\" #wsFormDirective=\"ngForm\" #wsFormId (ngSubmit)=\"openNextPage()\">\r\n <div class=\"ion-text-left\" *ngIf=\"!isMS()\">\r\n <h1 class=\"app-heading\">{{'weeklies.v2.worksearch.heading' | translate:param }}</h1>\r\n </div>\r\n <div *ngIf=\"wcService.getDisplayWorkSearchScreen()\">\r\n <ion-grid class=\"ion-padding-start ion-padding-end\" style=\"min-height: 500px;\">\r\n <section *ngIf=\"isMS() && showWsQuestion\">\r\n <ion-row>\r\n <ion-col size=\"7\">\r\n <h5>{{'weeklies.worksearch.q1' | translate}}</h5>\r\n </ion-col>\r\n <ion-col size=\"5\" style=\"display: flex; justify-content: flex-end;\">\r\n <ion-row style=\"margin-top:10px;\">\r\n <p-selectButton [options]=\"yesNoOptions\" optionLabel=\"label\" optionValue=\"value\"\r\n [formControl]=\"wsQuestion1\" [disabled]='disabled'>\r\n </p-selectButton>\r\n <app-overlay-info class=\"weeklies-overlay\"\r\n [overlayText]=\"'work.search.journal.activity.ip2095' | translate | trustHtml\"\r\n style=\"padding-left: 8px; padding-right: 6px; padding-top: 2px; flex-grow: 1;\"></app-overlay-info>\r\n <app-error [field]='wsQuestion1' [form]=\"wsFormDirective\"\r\n [errDef]=\"{required: 'This question is required.'}\"></app-error>\r\n </ion-row>\r\n </ion-col>\r\n </ion-row>\r\n </section>\r\n\r\n <section *ngIf=\"isMS() ? wsQuestion1.value == 1 : true\">\r\n <ion-row *ngIf=\"showCounter\">\r\n <ion-col class=\"ion-text-left\" size=\"7\">\r\n <app-work-search-counter [count]=\"getCountForCounter()\" [hiredRecordCount]=\"getHiredCountForCounter()\"\r\n [msg]=\"getWorkSearchMessage()\">\r\n </app-work-search-counter>\r\n </ion-col>\r\n <ion-col class=\"activity-text\"\r\n [ngStyle]=\"{ 'padding-top' : (hiredRecordCount<1 && joapActivitiesCount<1) ? '65px' : '40px'}\" size=\"4\">\r\n <b>+Add</b> activity\r\n </ion-col>\r\n <ion-col class=\"activity-button\"\r\n [ngStyle]=\"{ 'padding-top' : (hiredRecordCount<1 && joapActivitiesCount<1) ? '55px' : '27px'}\" size=\"1\">\r\n <ion-button style=\"padding: 0px 5px; height: 34px; width: 44px;\" fill=\"outline\" size=\"small\" (click)=\"add()\"\r\n [disabled]='disabled' class=\"action-button\" aria-label=\"add work search activity\">\r\n <fa-icon [icon]=\"['fal', 'plus']\" class=\"action-icon\"></fa-icon>\r\n </ion-button>\r\n </ion-col>\r\n </ion-row>\r\n <div style=\"margin-bottom: 10px;\"></div>\r\n <section *ngIf=\"this.wcService.getWorkSearchRecords().length < 1\">\r\n <p-table [value]=\"[{}]\" styleClass=\"p-datatable-striped app-datatable\">\r\n <ng-template pTemplate=\"header\">\r\n <tr class=\"row-border\">\r\n <th style=\"height: 75px;\"></th>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n </section>\r\n <p-table [value]=\"this.wcService.getWorkSearchRecords()\" styleClass=\"p-datatable-striped app-datatable\">\r\n <ng-template pTemplate=\"body\" let-record>\r\n <tr class=\"ion-text-justify; row-border\">\r\n <td>\r\n <ng-container *ngIf=\"record.activityType === 'UNON'; else nonUNON\">\r\n <ng-container *ngIf=\"record.isInContactWithUnion === 'Y'\">\r\n {{(record.unionContactDate)| date:'M/d/yyyy'}}\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #nonUNON>\r\n {{(record.workSearchDate || currentDate)| date:'M/d/yyyy'}}\r\n </ng-template>\r\n </td>\r\n <td style=\"white-space: pre; word-wrap: break-word;\" [innerHTML]=\"record | formatWorksearchRecord\"></td>\r\n <td *ngIf=\"record.activityType != 'MDES'\">\r\n <ion-button fill=\"outline\" size=\"small\" (click)=\"edit(record)\" [disabled]='disabled'\r\n class=\"action-button\">\r\n <fa-icon [icon]=\"['fal', 'edit']\" class=\"action-icon\"></fa-icon>\r\n </ion-button>\r\n <ion-button fill=\"outline\" size=\"small\" (click)=\"delete(record)\" [disabled]='disabled'\r\n class=\"action-button\">\r\n <fa-icon [icon]=\"['fal', 'trash-alt']\" class=\"action-icon\"></fa-icon>\r\n </ion-button>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n </section>\r\n <div *ngIf=\"msg!==null && isMS()\" [@rowExpansionTrigger]=\"'active'\" class=\"row-expansion\">\r\n <mat-error><small>{{msg | translate}}</small></mat-error>\r\n </div>\r\n </ion-grid>\r\n </div>\r\n\r\n <div *ngIf=\"!wcService.getDisplayWorkSearchScreen()\">\r\n <ion-grid class=\"ion-padding-top\">\r\n <ion-row *ngIf=\"this.wcService.weeklyCertServerData.waiverReason\">\r\n <ion-col style=\"padding: 0px;\">\r\n <span>{{ this.wcService.weeklyCertServerData.waiverReason}}</span>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row *ngIf=\"!this.wcService.getWaitingWeekServed()\">\r\n <ion-col style=\"padding: 0px;\">\r\n <span>{{ 'no.work.search.required' | translate}}</span>\r\n </ion-col>\r\n </ion-row>\r\n </ion-grid>\r\n </div>\r\n\r\n</form>\r\n<p-dialog [visible]=\"showReemDialog\" [modal]=\"true\" appendTo=\"body\" position=\"center\" [breakpoints]=\"{\r\n '1200px': '660px',\r\n '992px': '660px',\r\n '768px': '660px',\r\n '576px': '100vw'\r\n }\" [style]=\"{ width: '45vw' }\" [baseZIndex]=\"5000\" [draggable]=\"false\" [resizable]=\"false\" closeOnEscape=\"false\">\r\n <h4 class=\"heading\">CareerCenter activity advisory</h4>\r\n <ion-label style=\"display: block; white-space: pre-line;\">\r\n {{ reemAdvisoryText }}\r\n </ion-label>\r\n <ng-template pTemplate=\"footer\">\r\n <ion-button shape=\"round\" size=\"small\" type=\"button\" fill=\"outline\" (click)=\"closeReemDialog()\">\r\n Ok\r\n </ion-button>\r\n </ng-template>\r\n</p-dialog>\r\n<!-- <app-work-search-employer-v2 *ngIf=\"showAddWsRecors && isCT()\" (success)=\"addWsRecord($event)\"\r\n (onClose)=\"closeWsRecord()\" [recordIndexToEdit]=\"indexToEdit\"></app-work-search-employer-v2> -->\r\n<app-work-search-employer-ct *ngIf=\"showAddWsRecors && isCT()\" (success)=\"addWsRecord($event)\"\r\n (onClose)=\"closeWsRecord()\" [recordIndexToEdit]=\"indexToEdit\"></app-work-search-employer-ct>\r\n\r\n<app-work-search-employer-me *ngIf=\"showAddWsRecors && isME()\" (success)=\"addWsRecord($event)\"\r\n (onClose)=\"closeWsRecord()\" [recordIndexToEdit]=\"indexToEdit\"\r\n [existingRecords]=\"wcService.getWorkSearchRecords()\"></app-work-search-employer-me>\r\n\r\n<app-work-search-employer-ms *ngIf=\"showAddWsRecors && isMS()\" (success)=\"addWsRecord($event)\"\r\n (onClose)=\"closeWsRecord()\" [recordIndexToEdit]=\"indexToEdit\"></app-work-search-employer-ms>", styles: [".icon{font-size:26px;color:var(--ion-color-green);font-weight:700}.app-heading{font-family:var(--app-font-light);font-size:24px;margin-top:10px;color:var(--ion-color-medium-gray)}ion-col{padding:0;margin-bottom:6px;margin-top:3px}ol,ul{list-style:none}ul{list-style-type:square}li{color:var(--ion-color-grey)}.row-border{background:#fff 0% 0% no-repeat padding-box;border:.5px solid #707070;border-bottom:.5px solid #707070;opacity:1}.activity-text{text-align:right}.activity-button{text-align:right;margin-left:0}@media (min-width: 321px) and (max-width: 344px){.weeklies-overlay{position:relative;padding-left:100px!important;top:-75px;left:30px}}@media (min-width: 345px) and (max-width: 391px){.weeklies-overlay{position:relative;padding-left:100px!important;top:-75px;left:30px}}@media (min-width: 391px) and (max-width: 420px){.activity-button{margin-left:0}.weeklies-overlay{position:relative;padding-left:100px!important;top:-75px;left:30px}}@media (min-width: 420px) and (max-width: 500px){.activity-text{text-align:right;padding-top:60px!important}.activity-button{padding-top:40px!important;margin-left:0}.weeklies-overlay{position:relative;padding-left:100px!important;top:-75px;left:30px}}@media (min-width: 501px) and (max-width: 1450px){.activity-text{text-align:right}.activity-button{margin-left:0}}@media (min-width: 378px) and (max-width: 500px){.weeklies-overlay{position:relative;padding-left:95px!important;top:-55px;left:45px}}\n"] }]
|
|
48375
48427
|
}], () => [{ type: WorkSearchService }, { type: WeeklyCertServiceV2 }, { type: i1$4.UntypedFormBuilder }, { type: UtilService }, { type: i4.AlertController }], { disabled: [{
|
|
48376
48428
|
type: Input
|
|
48377
48429
|
}], readOnly: [{
|