@uiapplib/ngx-ui-web-lib 0.0.8 → 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/add-employer/add-employer.component.mjs +5 -2
- package/esm2022/lib/components/history-page/history-page.component.mjs +7 -1
- 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/esm2022/lib/services/chatbot/chatbot.service.mjs +3 -2
- package/fesm2022/uiapplib-ngx-ui-web-lib.mjs +151 -89
- package/fesm2022/uiapplib-ngx-ui-web-lib.mjs.map +1 -1
- package/lib/components/add-employer/add-employer.component.d.ts.map +1 -1
- package/lib/components/history-page/history-page.component.d.ts.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/lib/services/chatbot/chatbot.service.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2070,7 +2070,7 @@ class ChatbotService {
|
|
|
2070
2070
|
this.botOptions.accessToken = this.ls.getUser().access_token;
|
|
2071
2071
|
}
|
|
2072
2072
|
else {
|
|
2073
|
-
userId = Math.floor((Math.random() * 10000000) + 1) + "_" + new Date().getMilliseconds() + "@
|
|
2073
|
+
userId = Math.floor((Math.random() * 10000000) + 1) + "_" + new Date().getMilliseconds() + "@maine.gov";
|
|
2074
2074
|
}
|
|
2075
2075
|
//***CODE_START
|
|
2076
2076
|
this.botOptions.logLevel = 'debug';
|
|
@@ -2090,6 +2090,7 @@ class ChatbotService {
|
|
|
2090
2090
|
// customData: { connectingMessage: "Welcome to ReEmployME. I am your virtual assistant to help you with ME related queries.", hoverMessage: "Ask Blue", botState: "ME", showCollectUserDetailForm: false, showDisclaimerPopUp: true, botIconImageName: "chatboticon.png", botAvatarImageName: "chatboticon.png", rootFilePath: "UI/", supportedLanguages: ["en", "es"], initialLanguage: "en", disclaimerPopup: { header: "Important Message", message: `The virtual assistant will need to ask for specific identifying information that is needed to answer you question(s) such as date of birth or Social Security number. The agency follows strict federal security guidelines to protect your sensitive information. To further protect your information, if you are on a public computer, please log out and close your browser when you are finished.`, }, headerConfig: { showLanguageToggle: true, showMinimizeButton: true, showExpandbutton: false, showReloadButton: true, } }
|
|
2091
2091
|
}; // bot name is case sensitive
|
|
2092
2092
|
//this.botOptions.clientSecret = LibConstants.koreAiClientSecret;
|
|
2093
|
+
console.log("customdata ", this.botOptions.botInfo.customData);
|
|
2093
2094
|
//this.botOptions.reemployUsBearerToken= "";
|
|
2094
2095
|
// will need to pass token to koreAiChatBotServer when authentication needs to be validated for server side api call
|
|
2095
2096
|
var chatConfig = {
|
|
@@ -26721,6 +26722,9 @@ class AddEmployerComponent {
|
|
|
26721
26722
|
return this.addEmployerForm.controls['displaySeasonalEmp'];
|
|
26722
26723
|
}
|
|
26723
26724
|
onToggleChangeEmployerType(obj) {
|
|
26725
|
+
if (this.employerType.value === 'FED') {
|
|
26726
|
+
this.address.disable();
|
|
26727
|
+
}
|
|
26724
26728
|
this.employerType.valueChanges.subscribe(val => {
|
|
26725
26729
|
this.payRateFrequency.setValue(this.payRateOptions.filter(p => p.text == 'hour')[0]);
|
|
26726
26730
|
this.reasonSeparation.setValue(null);
|
|
@@ -26793,7 +26797,7 @@ class AddEmployerComponent {
|
|
|
26793
26797
|
this.regEmployerFound.setValue(false);
|
|
26794
26798
|
}
|
|
26795
26799
|
resetFedEmployer(employer) {
|
|
26796
|
-
this.address.
|
|
26800
|
+
this.address.disable();
|
|
26797
26801
|
this.address.setValue({ country: null, city: null,
|
|
26798
26802
|
zip: null, streetAddress: null, state: null,
|
|
26799
26803
|
optionalAddress: null, county: null, town: null
|
|
@@ -33769,7 +33773,12 @@ class FormatWorksearchPipe {
|
|
|
33769
33773
|
break;
|
|
33770
33774
|
}
|
|
33771
33775
|
case "UNON": {
|
|
33772
|
-
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
|
+
}
|
|
33773
33782
|
resultOrLocation = '';
|
|
33774
33783
|
break;
|
|
33775
33784
|
}
|
|
@@ -33809,7 +33818,7 @@ class FormatWorksearchPipe {
|
|
|
33809
33818
|
return 'contacted';
|
|
33810
33819
|
}
|
|
33811
33820
|
else {
|
|
33812
|
-
return 'not contacted';
|
|
33821
|
+
return 'did not contacted';
|
|
33813
33822
|
}
|
|
33814
33823
|
}
|
|
33815
33824
|
return null;
|
|
@@ -44804,6 +44813,12 @@ class HistoryPageComponent {
|
|
|
44804
44813
|
window.open(`${LibConstants.benefitsUrlExternal}/faces/virtual/contextswitch.xhtml?a=${userModel.access_token}&r=${userModel.refresh_token}&v=2299&CLAIMANT_PORTAL=true&view=.uploaddocumententerssn`, '_self');
|
|
44805
44814
|
});
|
|
44806
44815
|
}
|
|
44816
|
+
else if (historyModel.button && historyModel.button.dialog == 'uploadWSAPopup') {
|
|
44817
|
+
let userModel = this.ls.getUser();
|
|
44818
|
+
this.util.showLoader().then(() => {
|
|
44819
|
+
window.open(`${LibConstants.benefitsUrlExternal}/faces/virtual/contextswitch.xhtml?a=${userModel.access_token}&r=${userModel.refresh_token}&v=2299&CLAIMANT_PORTAL=true&view=.uploaddocumentworksearchaudit`, '_self');
|
|
44820
|
+
});
|
|
44821
|
+
}
|
|
44807
44822
|
else {
|
|
44808
44823
|
this.util.presentToast('Scenario under development. Please check with developer.');
|
|
44809
44824
|
this.logger.error(historyModel);
|
|
@@ -45966,15 +45981,15 @@ function WorkSearchEmployerComponentME_section_20_div_7_Template(rf, ctx) { if (
|
|
|
45966
45981
|
i0.ɵɵelement(4, "input", 20)(5, "app-error", 10);
|
|
45967
45982
|
i0.ɵɵelementEnd();
|
|
45968
45983
|
} if (rf & 2) {
|
|
45969
|
-
const
|
|
45984
|
+
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
45970
45985
|
const _r0 = i0.ɵɵreference(5);
|
|
45971
45986
|
i0.ɵɵadvance(2);
|
|
45972
45987
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.unionName"));
|
|
45973
45988
|
i0.ɵɵadvance(2);
|
|
45974
|
-
i0.ɵɵproperty("formControl",
|
|
45989
|
+
i0.ɵɵproperty("formControl", ctx_r9.unionName);
|
|
45975
45990
|
i0.ɵɵadvance(1);
|
|
45976
45991
|
i0.ɵɵclassMap("app-grid");
|
|
45977
|
-
i0.ɵɵproperty("field",
|
|
45992
|
+
i0.ɵɵproperty("field", ctx_r9.unionName)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
45978
45993
|
} }
|
|
45979
45994
|
function WorkSearchEmployerComponentME_section_20_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
45980
45995
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 21);
|
|
@@ -45984,15 +45999,15 @@ function WorkSearchEmployerComponentME_section_20_div_8_Template(rf, ctx) { if (
|
|
|
45984
45999
|
i0.ɵɵelement(4, "input", 22)(5, "app-error", 10);
|
|
45985
46000
|
i0.ɵɵelementEnd();
|
|
45986
46001
|
} if (rf & 2) {
|
|
45987
|
-
const
|
|
46002
|
+
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
45988
46003
|
const _r0 = i0.ɵɵreference(5);
|
|
45989
46004
|
i0.ɵɵadvance(2);
|
|
45990
46005
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.unionContactPersonName"));
|
|
45991
46006
|
i0.ɵɵadvance(2);
|
|
45992
|
-
i0.ɵɵproperty("formControl",
|
|
46007
|
+
i0.ɵɵproperty("formControl", ctx_r10.unionContactPersonName);
|
|
45993
46008
|
i0.ɵɵadvance(1);
|
|
45994
46009
|
i0.ɵɵclassMap("app-grid");
|
|
45995
|
-
i0.ɵɵproperty("field",
|
|
46010
|
+
i0.ɵɵproperty("field", ctx_r10.unionContactPersonName)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
45996
46011
|
} }
|
|
45997
46012
|
function WorkSearchEmployerComponentME_section_20_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
45998
46013
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 23);
|
|
@@ -46002,15 +46017,15 @@ function WorkSearchEmployerComponentME_section_20_div_9_Template(rf, ctx) { if (
|
|
|
46002
46017
|
i0.ɵɵelement(4, "p-calendar", 24)(5, "app-error", 10);
|
|
46003
46018
|
i0.ɵɵelementEnd();
|
|
46004
46019
|
} if (rf & 2) {
|
|
46005
|
-
const
|
|
46020
|
+
const ctx_r11 = i0.ɵɵnextContext(2);
|
|
46006
46021
|
const _r0 = i0.ɵɵreference(5);
|
|
46007
46022
|
i0.ɵɵadvance(2);
|
|
46008
46023
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 12, "work.search.journal.unionContactDate"));
|
|
46009
46024
|
i0.ɵɵadvance(2);
|
|
46010
|
-
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);
|
|
46011
46026
|
i0.ɵɵadvance(1);
|
|
46012
46027
|
i0.ɵɵclassMap("app-grid");
|
|
46013
|
-
i0.ɵɵproperty("field",
|
|
46028
|
+
i0.ɵɵproperty("field", ctx_r11.unionContactDate)("form", _r0)("errDef", i0.ɵɵpureFunction0(14, _c1$9));
|
|
46014
46029
|
} }
|
|
46015
46030
|
function WorkSearchEmployerComponentME_section_20_Template(rf, ctx) { if (rf & 1) {
|
|
46016
46031
|
i0.ɵɵelementStart(0, "section")(1, "div", 6)(2, "label", 18);
|
|
@@ -46081,13 +46096,13 @@ const _c5$3 = "City name can only contain letters, spaces, and hyphens";
|
|
|
46081
46096
|
const _c6$3 = () => ({ required: "Required.", invalidwsCityLength: "City should not exceed a length of 30 characters", pattern: _c5$3 });
|
|
46082
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" });
|
|
46083
46098
|
function WorkSearchEmployerComponentME_section_23_Template(rf, ctx) { if (rf & 1) {
|
|
46084
|
-
const
|
|
46099
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
46085
46100
|
i0.ɵɵelementStart(0, "section")(1, "div", 6)(2, "label", 29);
|
|
46086
46101
|
i0.ɵɵtext(3);
|
|
46087
46102
|
i0.ɵɵpipe(4, "translate");
|
|
46088
46103
|
i0.ɵɵelementEnd();
|
|
46089
46104
|
i0.ɵɵelementStart(5, "app-search-employer", 30);
|
|
46090
|
-
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)); });
|
|
46091
46106
|
i0.ɵɵelementEnd();
|
|
46092
46107
|
i0.ɵɵelement(6, "app-error", 10);
|
|
46093
46108
|
i0.ɵɵelementEnd();
|
|
@@ -46208,15 +46223,15 @@ function WorkSearchEmployerComponentME_section_27_div_13_Template(rf, ctx) { if
|
|
|
46208
46223
|
i0.ɵɵelement(4, "p-inputMask", 53)(5, "app-error", 10);
|
|
46209
46224
|
i0.ɵɵelementEnd();
|
|
46210
46225
|
} if (rf & 2) {
|
|
46211
|
-
const
|
|
46226
|
+
const ctx_r14 = i0.ɵɵnextContext(2);
|
|
46212
46227
|
const _r0 = i0.ɵɵreference(5);
|
|
46213
46228
|
i0.ɵɵadvance(2);
|
|
46214
46229
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.phoneNo"));
|
|
46215
46230
|
i0.ɵɵadvance(2);
|
|
46216
|
-
i0.ɵɵproperty("formControl",
|
|
46231
|
+
i0.ɵɵproperty("formControl", ctx_r14.contactPhone);
|
|
46217
46232
|
i0.ɵɵadvance(1);
|
|
46218
46233
|
i0.ɵɵclassMap("app-grid");
|
|
46219
|
-
i0.ɵɵproperty("field",
|
|
46234
|
+
i0.ɵɵproperty("field", ctx_r14.contactPhone)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
46220
46235
|
} }
|
|
46221
46236
|
const _c9$2 = () => ({ required: "Required.", employerEmail: "Invalid email address." });
|
|
46222
46237
|
function WorkSearchEmployerComponentME_section_27_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -46227,15 +46242,15 @@ function WorkSearchEmployerComponentME_section_27_div_14_Template(rf, ctx) { if
|
|
|
46227
46242
|
i0.ɵɵelement(4, "input", 55)(5, "app-error", 10);
|
|
46228
46243
|
i0.ɵɵelementEnd();
|
|
46229
46244
|
} if (rf & 2) {
|
|
46230
|
-
const
|
|
46245
|
+
const ctx_r15 = i0.ɵɵnextContext(2);
|
|
46231
46246
|
const _r0 = i0.ɵɵreference(5);
|
|
46232
46247
|
i0.ɵɵadvance(2);
|
|
46233
46248
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.email"));
|
|
46234
46249
|
i0.ɵɵadvance(2);
|
|
46235
|
-
i0.ɵɵproperty("formControl",
|
|
46250
|
+
i0.ɵɵproperty("formControl", ctx_r15.employerEmail);
|
|
46236
46251
|
i0.ɵɵadvance(1);
|
|
46237
46252
|
i0.ɵɵclassMap("app-grid");
|
|
46238
|
-
i0.ɵɵproperty("field",
|
|
46253
|
+
i0.ɵɵproperty("field", ctx_r15.employerEmail)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c9$2));
|
|
46239
46254
|
} }
|
|
46240
46255
|
function WorkSearchEmployerComponentME_section_27_div_15_Template(rf, ctx) { if (rf & 1) {
|
|
46241
46256
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 56);
|
|
@@ -46245,15 +46260,15 @@ function WorkSearchEmployerComponentME_section_27_div_15_Template(rf, ctx) { if
|
|
|
46245
46260
|
i0.ɵɵelement(4, "input", 57)(5, "app-error", 10);
|
|
46246
46261
|
i0.ɵɵelementEnd();
|
|
46247
46262
|
} if (rf & 2) {
|
|
46248
|
-
const
|
|
46263
|
+
const ctx_r16 = i0.ɵɵnextContext(2);
|
|
46249
46264
|
const _r0 = i0.ɵɵreference(5);
|
|
46250
46265
|
i0.ɵɵadvance(2);
|
|
46251
46266
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.website"));
|
|
46252
46267
|
i0.ɵɵadvance(2);
|
|
46253
|
-
i0.ɵɵproperty("formControl",
|
|
46268
|
+
i0.ɵɵproperty("formControl", ctx_r16.employerWebsite);
|
|
46254
46269
|
i0.ɵɵadvance(1);
|
|
46255
46270
|
i0.ɵɵclassMap("app-grid");
|
|
46256
|
-
i0.ɵɵproperty("field",
|
|
46271
|
+
i0.ɵɵproperty("field", ctx_r16.employerWebsite)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
46257
46272
|
} }
|
|
46258
46273
|
function WorkSearchEmployerComponentME_section_27_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
46259
46274
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 58);
|
|
@@ -46263,15 +46278,15 @@ function WorkSearchEmployerComponentME_section_27_div_16_Template(rf, ctx) { if
|
|
|
46263
46278
|
i0.ɵɵelement(4, "input", 59)(5, "app-error", 10);
|
|
46264
46279
|
i0.ɵɵelementEnd();
|
|
46265
46280
|
} if (rf & 2) {
|
|
46266
|
-
const
|
|
46281
|
+
const ctx_r17 = i0.ɵɵnextContext(2);
|
|
46267
46282
|
const _r0 = i0.ɵɵreference(5);
|
|
46268
46283
|
i0.ɵɵadvance(2);
|
|
46269
46284
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.contactNameTitle"));
|
|
46270
46285
|
i0.ɵɵadvance(2);
|
|
46271
|
-
i0.ɵɵproperty("formControl",
|
|
46286
|
+
i0.ɵɵproperty("formControl", ctx_r17.empContactPersonName);
|
|
46272
46287
|
i0.ɵɵadvance(1);
|
|
46273
46288
|
i0.ɵɵclassMap("app-grid");
|
|
46274
|
-
i0.ɵɵproperty("field",
|
|
46289
|
+
i0.ɵɵproperty("field", ctx_r17.empContactPersonName)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
46275
46290
|
} }
|
|
46276
46291
|
function WorkSearchEmployerComponentME_section_27_div_23_Template(rf, ctx) { if (rf & 1) {
|
|
46277
46292
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 60);
|
|
@@ -46281,15 +46296,15 @@ function WorkSearchEmployerComponentME_section_27_div_23_Template(rf, ctx) { if
|
|
|
46281
46296
|
i0.ɵɵelement(4, "input", 61)(5, "app-error", 10);
|
|
46282
46297
|
i0.ɵɵelementEnd();
|
|
46283
46298
|
} if (rf & 2) {
|
|
46284
|
-
const
|
|
46299
|
+
const ctx_r18 = i0.ɵɵnextContext(2);
|
|
46285
46300
|
const _r0 = i0.ɵɵreference(5);
|
|
46286
46301
|
i0.ɵɵadvance(2);
|
|
46287
46302
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "work.search.journal.result.oth"));
|
|
46288
46303
|
i0.ɵɵadvance(2);
|
|
46289
|
-
i0.ɵɵproperty("formControl",
|
|
46304
|
+
i0.ɵɵproperty("formControl", ctx_r18.othResult);
|
|
46290
46305
|
i0.ɵɵadvance(1);
|
|
46291
46306
|
i0.ɵɵclassMap("app-grid");
|
|
46292
|
-
i0.ɵɵproperty("field",
|
|
46307
|
+
i0.ɵɵproperty("field", ctx_r18.othResult)("form", _r0)("errDef", i0.ɵɵpureFunction0(9, _c1$9));
|
|
46293
46308
|
} }
|
|
46294
46309
|
function WorkSearchEmployerComponentME_section_27_div_24_Template(rf, ctx) { if (rf & 1) {
|
|
46295
46310
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 62);
|
|
@@ -46299,15 +46314,15 @@ function WorkSearchEmployerComponentME_section_27_div_24_Template(rf, ctx) { if
|
|
|
46299
46314
|
i0.ɵɵelement(4, "p-selectButton", 17)(5, "app-error", 10);
|
|
46300
46315
|
i0.ɵɵelementEnd();
|
|
46301
46316
|
} if (rf & 2) {
|
|
46302
|
-
const
|
|
46317
|
+
const ctx_r19 = i0.ɵɵnextContext(2);
|
|
46303
46318
|
const _r0 = i0.ɵɵreference(5);
|
|
46304
46319
|
i0.ɵɵadvance(2);
|
|
46305
46320
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 8, "work.search.journal.result.hasStartDate"));
|
|
46306
46321
|
i0.ɵɵadvance(2);
|
|
46307
|
-
i0.ɵɵproperty("options",
|
|
46322
|
+
i0.ɵɵproperty("options", ctx_r19.yesNoOptions)("formControl", ctx_r19.hasStartDate);
|
|
46308
46323
|
i0.ɵɵadvance(1);
|
|
46309
46324
|
i0.ɵɵclassMap("app-grid");
|
|
46310
|
-
i0.ɵɵproperty("field",
|
|
46325
|
+
i0.ɵɵproperty("field", ctx_r19.hasStartDate)("form", _r0)("errDef", i0.ɵɵpureFunction0(10, _c1$9));
|
|
46311
46326
|
} }
|
|
46312
46327
|
function WorkSearchEmployerComponentME_section_27_div_25_Template(rf, ctx) { if (rf & 1) {
|
|
46313
46328
|
i0.ɵɵelementStart(0, "div", 6)(1, "label", 63);
|
|
@@ -46317,15 +46332,15 @@ function WorkSearchEmployerComponentME_section_27_div_25_Template(rf, ctx) { if
|
|
|
46317
46332
|
i0.ɵɵelement(4, "p-calendar", 64)(5, "app-error", 10);
|
|
46318
46333
|
i0.ɵɵelementEnd();
|
|
46319
46334
|
} if (rf & 2) {
|
|
46320
|
-
const
|
|
46335
|
+
const ctx_r20 = i0.ɵɵnextContext(2);
|
|
46321
46336
|
const _r0 = i0.ɵɵreference(5);
|
|
46322
46337
|
i0.ɵɵadvance(2);
|
|
46323
46338
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 11, "work.search.journal.result.startDate"));
|
|
46324
46339
|
i0.ɵɵadvance(2);
|
|
46325
|
-
i0.ɵɵproperty("showIcon", true)("formControl",
|
|
46340
|
+
i0.ɵɵproperty("showIcon", true)("formControl", ctx_r20.workStartDate)("minDate", ctx_r20.sunDate)("defaultDate", ctx_r20.sunDate)("selectOtherMonths", true);
|
|
46326
46341
|
i0.ɵɵadvance(1);
|
|
46327
46342
|
i0.ɵɵclassMap("app-grid");
|
|
46328
|
-
i0.ɵɵproperty("field",
|
|
46343
|
+
i0.ɵɵproperty("field", ctx_r20.workStartDate)("form", _r0)("errDef", i0.ɵɵpureFunction0(13, _c1$9));
|
|
46329
46344
|
} }
|
|
46330
46345
|
const _c10$2 = "Job Title can only contain letters, numbers, spaces, and hyphens";
|
|
46331
46346
|
const _c11$1 = () => ({ required: "Required.", pattern: _c10$2 });
|
|
@@ -46390,6 +46405,24 @@ function WorkSearchEmployerComponentME_section_27_Template(rf, ctx) { if (rf & 1
|
|
|
46390
46405
|
i0.ɵɵadvance(1);
|
|
46391
46406
|
i0.ɵɵproperty("ngIf", ctx_r7.hasStartDate.value == "Y" && ctx_r7.searchResult.value == "HIRE");
|
|
46392
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
|
+
} }
|
|
46393
46426
|
const _c12$1 = () => ({ "1200px": "660px", "992px": "660px", "768px": "660px", "576px": "100vw" });
|
|
46394
46427
|
const _c13$1 = "You can only add one entry for this activity type this week.";
|
|
46395
46428
|
const _c14$1 = () => ({ required: "Required.", typeAlreadyUsed: _c13$1 });
|
|
@@ -47010,7 +47043,7 @@ class WorkSearchEmployerComponentME {
|
|
|
47010
47043
|
} if (rf & 2) {
|
|
47011
47044
|
let _t;
|
|
47012
47045
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wsrFormDirective = _t.first);
|
|
47013
|
-
} }, 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) {
|
|
47014
47047
|
i0.ɵɵelementStart(0, "p-dialog", 0)(1, "h4", 1);
|
|
47015
47048
|
i0.ɵɵtext(2);
|
|
47016
47049
|
i0.ɵɵpipe(3, "translate");
|
|
@@ -47029,32 +47062,35 @@ class WorkSearchEmployerComponentME {
|
|
|
47029
47062
|
i0.ɵɵelementStart(24, "ion-col", 4)(25, "div", 5);
|
|
47030
47063
|
i0.ɵɵtemplate(26, WorkSearchEmployerComponentME_div_26_Template, 6, 16, "div", 12)(27, WorkSearchEmployerComponentME_section_27_Template, 26, 39, "section", 11);
|
|
47031
47064
|
i0.ɵɵelementEnd()()();
|
|
47032
|
-
i0.ɵɵelementStart(28, "ion-row")(29, "ion-col", 13)
|
|
47033
|
-
i0.ɵɵ
|
|
47034
|
-
i0.ɵɵ
|
|
47035
|
-
i0.ɵɵ
|
|
47036
|
-
i0.ɵɵ
|
|
47037
|
-
i0.ɵɵelementStart(33, "ion-button", 15);
|
|
47038
|
-
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(); });
|
|
47039
47070
|
i0.ɵɵtext(34);
|
|
47040
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");
|
|
47041
47077
|
i0.ɵɵelementEnd()()()()()();
|
|
47042
47078
|
} if (rf & 2) {
|
|
47043
47079
|
const _r0 = i0.ɵɵreference(5);
|
|
47044
|
-
i0.ɵɵproperty("showHeader", false)("breakpoints", i0.ɵɵpureFunction0(
|
|
47080
|
+
i0.ɵɵproperty("showHeader", false)("breakpoints", i0.ɵɵpureFunction0(36, _c12$1));
|
|
47045
47081
|
i0.ɵɵadvance(2);
|
|
47046
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(3,
|
|
47082
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(3, 23, "work.search.journal.activity.heading", ctx.dynamicParam));
|
|
47047
47083
|
i0.ɵɵadvance(2);
|
|
47048
47084
|
i0.ɵɵproperty("formGroup", ctx.wsrForm);
|
|
47049
47085
|
i0.ɵɵadvance(8);
|
|
47050
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13,
|
|
47086
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 26, "work.search.journal.activity.type"));
|
|
47051
47087
|
i0.ɵɵadvance(2);
|
|
47052
|
-
i0.ɵɵproperty("overlayText", i0.ɵɵpipeBind1(15,
|
|
47088
|
+
i0.ɵɵproperty("overlayText", i0.ɵɵpipeBind1(15, 28, i0.ɵɵpipeBind1(16, 30, "work.search.journal.activity.ip2095")));
|
|
47053
47089
|
i0.ɵɵadvance(3);
|
|
47054
47090
|
i0.ɵɵproperty("options", ctx.activityTypeCombo)("formControl", ctx.activityType);
|
|
47055
47091
|
i0.ɵɵadvance(1);
|
|
47056
47092
|
i0.ɵɵclassMap("app-grid");
|
|
47057
|
-
i0.ɵɵproperty("field", ctx.activityType)("form", _r0)("errDef", i0.ɵɵpureFunction0(
|
|
47093
|
+
i0.ɵɵproperty("field", ctx.activityType)("form", _r0)("errDef", i0.ɵɵpureFunction0(37, _c14$1));
|
|
47058
47094
|
i0.ɵɵadvance(1);
|
|
47059
47095
|
i0.ɵɵproperty("ngIf", ctx.displayWorkingForAnEmployerQuestions);
|
|
47060
47096
|
i0.ɵɵadvance(1);
|
|
@@ -47069,15 +47105,17 @@ class WorkSearchEmployerComponentME {
|
|
|
47069
47105
|
i0.ɵɵproperty("ngIf", !ctx.displayUnionMemberQuestions && !ctx.displayWorkingForAnEmployerQuestions);
|
|
47070
47106
|
i0.ɵɵadvance(1);
|
|
47071
47107
|
i0.ɵɵproperty("ngIf", ctx.displayEmployerQuestions);
|
|
47108
|
+
i0.ɵɵadvance(3);
|
|
47109
|
+
i0.ɵɵproperty("ngIf", ctx.displayUnionMemberQuestions);
|
|
47072
47110
|
i0.ɵɵadvance(4);
|
|
47073
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
47111
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(35, 32, "button.cancel"));
|
|
47074
47112
|
i0.ɵɵadvance(3);
|
|
47075
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
47113
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(38, 34, "button.add"));
|
|
47076
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}"] }); }
|
|
47077
47115
|
}
|
|
47078
47116
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkSearchEmployerComponentME, [{
|
|
47079
47117
|
type: Component,
|
|
47080
|
-
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"] }]
|
|
47081
47119
|
}], () => [{ type: WeeklyCertServiceV2 }, { type: i1$4.UntypedFormBuilder }, { type: UtilService }], { wsrFormDirective: [{
|
|
47082
47120
|
type: ViewChild,
|
|
47083
47121
|
args: ['wsrFormDirective', { static: false }]
|
|
@@ -47851,47 +47889,71 @@ function WorkSearchQuestionComponentV2_div_4_section_3_section_3_Template(rf, ct
|
|
|
47851
47889
|
i0.ɵɵadvance(1);
|
|
47852
47890
|
i0.ɵɵproperty("value", i0.ɵɵpureFunction1(2, _c6$1, i0.ɵɵpureFunction0(1, _c5$1)));
|
|
47853
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
|
+
} }
|
|
47854
47919
|
const _c7 = () => ["fal", "edit"];
|
|
47855
47920
|
const _c8 = () => ["fal", "trash-alt"];
|
|
47856
47921
|
function WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
47857
|
-
const
|
|
47858
|
-
i0.ɵɵelementStart(0, "td")(1, "ion-button",
|
|
47859
|
-
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)); });
|
|
47860
47925
|
i0.ɵɵelement(2, "fa-icon", 28);
|
|
47861
47926
|
i0.ɵɵelementEnd();
|
|
47862
|
-
i0.ɵɵelementStart(3, "ion-button",
|
|
47863
|
-
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)); });
|
|
47864
47929
|
i0.ɵɵelement(4, "fa-icon", 28);
|
|
47865
47930
|
i0.ɵɵelementEnd()();
|
|
47866
47931
|
} if (rf & 2) {
|
|
47867
|
-
const
|
|
47932
|
+
const ctx_r22 = i0.ɵɵnextContext(4);
|
|
47868
47933
|
i0.ɵɵadvance(1);
|
|
47869
|
-
i0.ɵɵproperty("disabled",
|
|
47934
|
+
i0.ɵɵproperty("disabled", ctx_r22.disabled);
|
|
47870
47935
|
i0.ɵɵadvance(1);
|
|
47871
47936
|
i0.ɵɵproperty("icon", i0.ɵɵpureFunction0(4, _c7));
|
|
47872
47937
|
i0.ɵɵadvance(1);
|
|
47873
|
-
i0.ɵɵproperty("disabled",
|
|
47938
|
+
i0.ɵɵproperty("disabled", ctx_r22.disabled);
|
|
47874
47939
|
i0.ɵɵadvance(1);
|
|
47875
47940
|
i0.ɵɵproperty("icon", i0.ɵɵpureFunction0(5, _c8));
|
|
47876
47941
|
} }
|
|
47877
47942
|
function WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
47878
47943
|
i0.ɵɵelementStart(0, "tr", 32)(1, "td");
|
|
47879
|
-
i0.ɵɵ
|
|
47880
|
-
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);
|
|
47881
47945
|
i0.ɵɵelementEnd();
|
|
47882
|
-
i0.ɵɵ
|
|
47883
|
-
i0.ɵɵtext(5);
|
|
47946
|
+
i0.ɵɵelement(5, "td", 35);
|
|
47884
47947
|
i0.ɵɵpipe(6, "formatWorksearchRecord");
|
|
47885
|
-
i0.ɵɵelementEnd();
|
|
47886
47948
|
i0.ɵɵtemplate(7, WorkSearchQuestionComponentV2_div_4_section_3_ng_template_5_td_7_Template, 5, 6, "td", 3);
|
|
47887
47949
|
i0.ɵɵelementEnd();
|
|
47888
47950
|
} if (rf & 2) {
|
|
47889
47951
|
const record_r18 = ctx.$implicit;
|
|
47890
|
-
const
|
|
47952
|
+
const _r21 = i0.ɵɵreference(4);
|
|
47891
47953
|
i0.ɵɵadvance(2);
|
|
47892
|
-
i0.ɵɵ
|
|
47954
|
+
i0.ɵɵproperty("ngIf", record_r18.activityType === "UNON")("ngIfElse", _r21);
|
|
47893
47955
|
i0.ɵɵadvance(3);
|
|
47894
|
-
i0.ɵɵ
|
|
47956
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(6, 4, record_r18), i0.ɵɵsanitizeHtml);
|
|
47895
47957
|
i0.ɵɵadvance(2);
|
|
47896
47958
|
i0.ɵɵproperty("ngIf", record_r18.activityType != "MDES");
|
|
47897
47959
|
} }
|
|
@@ -47901,7 +47963,7 @@ function WorkSearchQuestionComponentV2_div_4_section_3_Template(rf, ctx) { if (r
|
|
|
47901
47963
|
i0.ɵɵelement(2, "div", 20);
|
|
47902
47964
|
i0.ɵɵtemplate(3, WorkSearchQuestionComponentV2_div_4_section_3_section_3_Template, 3, 4, "section", 3);
|
|
47903
47965
|
i0.ɵɵelementStart(4, "p-table", 21);
|
|
47904
|
-
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);
|
|
47905
47967
|
i0.ɵɵelementEnd()();
|
|
47906
47968
|
} if (rf & 2) {
|
|
47907
47969
|
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
@@ -47913,7 +47975,7 @@ function WorkSearchQuestionComponentV2_div_4_section_3_Template(rf, ctx) { if (r
|
|
|
47913
47975
|
i0.ɵɵproperty("value", ctx_r10.wcService.getWorkSearchRecords());
|
|
47914
47976
|
} }
|
|
47915
47977
|
function WorkSearchQuestionComponentV2_div_4_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
47916
|
-
i0.ɵɵelementStart(0, "div",
|
|
47978
|
+
i0.ɵɵelementStart(0, "div", 37)(1, "mat-error")(2, "small");
|
|
47917
47979
|
i0.ɵɵtext(3);
|
|
47918
47980
|
i0.ɵɵpipe(4, "translate");
|
|
47919
47981
|
i0.ɵɵelementEnd()()();
|
|
@@ -47937,16 +47999,16 @@ function WorkSearchQuestionComponentV2_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
47937
47999
|
i0.ɵɵproperty("ngIf", ctx_r3.msg !== null && ctx_r3.isMS());
|
|
47938
48000
|
} }
|
|
47939
48001
|
function WorkSearchQuestionComponentV2_div_5_ion_row_2_Template(rf, ctx) { if (rf & 1) {
|
|
47940
|
-
i0.ɵɵelementStart(0, "ion-row")(1, "ion-col",
|
|
48002
|
+
i0.ɵɵelementStart(0, "ion-row")(1, "ion-col", 39)(2, "span");
|
|
47941
48003
|
i0.ɵɵtext(3);
|
|
47942
48004
|
i0.ɵɵelementEnd()()();
|
|
47943
48005
|
} if (rf & 2) {
|
|
47944
|
-
const
|
|
48006
|
+
const ctx_r32 = i0.ɵɵnextContext(2);
|
|
47945
48007
|
i0.ɵɵadvance(3);
|
|
47946
|
-
i0.ɵɵtextInterpolate(
|
|
48008
|
+
i0.ɵɵtextInterpolate(ctx_r32.wcService.weeklyCertServerData.waiverReason);
|
|
47947
48009
|
} }
|
|
47948
48010
|
function WorkSearchQuestionComponentV2_div_5_ion_row_3_Template(rf, ctx) { if (rf & 1) {
|
|
47949
|
-
i0.ɵɵelementStart(0, "ion-row")(1, "ion-col",
|
|
48011
|
+
i0.ɵɵelementStart(0, "ion-row")(1, "ion-col", 39)(2, "span");
|
|
47950
48012
|
i0.ɵɵtext(3);
|
|
47951
48013
|
i0.ɵɵpipe(4, "translate");
|
|
47952
48014
|
i0.ɵɵelementEnd()()();
|
|
@@ -47955,7 +48017,7 @@ function WorkSearchQuestionComponentV2_div_5_ion_row_3_Template(rf, ctx) { if (r
|
|
|
47955
48017
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 1, "no.work.search.required"));
|
|
47956
48018
|
} }
|
|
47957
48019
|
function WorkSearchQuestionComponentV2_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
47958
|
-
i0.ɵɵelementStart(0, "div")(1, "ion-grid",
|
|
48020
|
+
i0.ɵɵelementStart(0, "div")(1, "ion-grid", 38);
|
|
47959
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);
|
|
47960
48022
|
i0.ɵɵelementEnd()();
|
|
47961
48023
|
} if (rf & 2) {
|
|
@@ -47966,34 +48028,34 @@ function WorkSearchQuestionComponentV2_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
47966
48028
|
i0.ɵɵproperty("ngIf", !ctx_r4.wcService.getWaitingWeekServed());
|
|
47967
48029
|
} }
|
|
47968
48030
|
function WorkSearchQuestionComponentV2_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
47969
|
-
const
|
|
47970
|
-
i0.ɵɵelementStart(0, "ion-button",
|
|
47971
|
-
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()); });
|
|
47972
48034
|
i0.ɵɵtext(1, " Ok ");
|
|
47973
48035
|
i0.ɵɵelementEnd();
|
|
47974
48036
|
} }
|
|
47975
48037
|
function WorkSearchQuestionComponentV2_app_work_search_employer_ct_12_Template(rf, ctx) { if (rf & 1) {
|
|
47976
|
-
const
|
|
47977
|
-
i0.ɵɵelementStart(0, "app-work-search-employer-ct",
|
|
47978
|
-
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()); });
|
|
47979
48041
|
i0.ɵɵelementEnd();
|
|
47980
48042
|
} if (rf & 2) {
|
|
47981
48043
|
const ctx_r6 = i0.ɵɵnextContext();
|
|
47982
48044
|
i0.ɵɵproperty("recordIndexToEdit", ctx_r6.indexToEdit);
|
|
47983
48045
|
} }
|
|
47984
48046
|
function WorkSearchQuestionComponentV2_app_work_search_employer_me_13_Template(rf, ctx) { if (rf & 1) {
|
|
47985
|
-
const
|
|
47986
|
-
i0.ɵɵelementStart(0, "app-work-search-employer-me",
|
|
47987
|
-
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()); });
|
|
47988
48050
|
i0.ɵɵelementEnd();
|
|
47989
48051
|
} if (rf & 2) {
|
|
47990
48052
|
const ctx_r7 = i0.ɵɵnextContext();
|
|
47991
48053
|
i0.ɵɵproperty("recordIndexToEdit", ctx_r7.indexToEdit)("existingRecords", ctx_r7.wcService.getWorkSearchRecords());
|
|
47992
48054
|
} }
|
|
47993
48055
|
function WorkSearchQuestionComponentV2_app_work_search_employer_ms_14_Template(rf, ctx) { if (rf & 1) {
|
|
47994
|
-
const
|
|
47995
|
-
i0.ɵɵelementStart(0, "app-work-search-employer-ms",
|
|
47996
|
-
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()); });
|
|
47997
48059
|
i0.ɵɵelementEnd();
|
|
47998
48060
|
} if (rf & 2) {
|
|
47999
48061
|
const ctx_r8 = i0.ɵɵnextContext();
|
|
@@ -48324,7 +48386,7 @@ class WorkSearchQuestionComponentV2 extends BasePage {
|
|
|
48324
48386
|
let _t;
|
|
48325
48387
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wsFormId = _t.first);
|
|
48326
48388
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wsFormDirective = _t.first);
|
|
48327
|
-
} }, 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) {
|
|
48328
48390
|
i0.ɵɵelementStart(0, "form", 0, 1);
|
|
48329
48391
|
i0.ɵɵlistener("ngSubmit", function WorkSearchQuestionComponentV2_Template_form_ngSubmit_0_listener() { return ctx.openNextPage(); });
|
|
48330
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);
|
|
@@ -48361,7 +48423,7 @@ class WorkSearchQuestionComponentV2 extends BasePage {
|
|
|
48361
48423
|
}
|
|
48362
48424
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkSearchQuestionComponentV2, [{
|
|
48363
48425
|
type: Component,
|
|
48364
|
-
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"] }]
|
|
48365
48427
|
}], () => [{ type: WorkSearchService }, { type: WeeklyCertServiceV2 }, { type: i1$4.UntypedFormBuilder }, { type: UtilService }, { type: i4.AlertController }], { disabled: [{
|
|
48366
48428
|
type: Input
|
|
48367
48429
|
}], readOnly: [{
|