1 line
104 KiB
JavaScript
1 line
104 KiB
JavaScript
|
(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["portal-hr-my_profile-MyProfileViewController"],{388:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"MyProfileViewController\": () => (/* binding */ MyProfileViewController)\n/* harmony export */ });\n/* harmony import */ var jquery_ui_ui_widgets_datepicker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4414);\n/* harmony import */ var jquery_ui_ui_widgets_datepicker__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery_ui_ui_widgets_datepicker__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _views_portal_PortalBaseViewController__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97);\n/* harmony import */ var _services_TimeTrexClientAPI__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7526);\n/* harmony import */ var _global_TTUUID__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4936);\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\n\n\n\n\n\nclass MyProfileViewController extends _views_portal_PortalBaseViewController__WEBPACK_IMPORTED_MODULE_1__.PortalBaseViewController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tel: '#my_profile_view',\n\t\t\tevents: {\n\t\t\t\t'click #saveBtn': 'onSaveClick',\n\t\t\t\t'click #available_jobs': 'availableJobsClick',\n\t\t\t\t'click #applied_jobs': 'appliedJobsClick',\n\t\t\t\t'change input[type=\"text\"]': 'onFormItemChange',\n\t\t\t\t'change input[type=\"checkbox\"]': 'onFormItemChange',\n\t\t\t\t'change select.form-control': 'onFormItemChange',\n\t\t\t\t'change textarea.form-control': 'onFormItemChange',\n\t\t\t\t'click .detail-form-title': 'onFormTitleClick',\n\t\t\t\t'click .table-title .add-btn': 'onSubViewAddClick'\n\t\t\t\t// 'click .styled-select .glyphicon': 'onSelectClick',\n\t\t\t},\n\t\t\t// _required_files: [\n\t\t\t// \t'JobApplicantEmploymentSubViewController',\n\t\t\t// \t'JobApplicantReferenceSubViewController',\n\t\t\t// \t'JobApplicantLocationSubViewController',\n\t\t\t// \t'JobApplicantSkillSubViewController',\n\t\t\t// \t'JobApplicantEducationSubViewController',\n\t\t\t// \t'JobApplicantMembershipSubViewController',\n\t\t\t// \t'JobApplicantLicenseSubViewController',\n\t\t\t// \t'JobApplicantLanguageSubViewController',\n\t\t\t// \t'JobApplicationSubViewController',\n\t\t\t// \t'DocumentSubViewController'\n\t\t\t// ]\n\t\t} );\n\n\t\tsuper( options );\n\t}\n\n\tinit() {\n\t\tif ( !Global.isSet( LocalCacheData.getPortalLoginUser() ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tthis.current_edit_record = Global.clone( LocalCacheData.getPortalLoginUser() );\n\t\tthis.model = new Backbone.Model( this.current_edit_record );\n\t\tthis.viewId = 'MyProfile';\n\n\t\t// __non_webpack_require__( this._required_files, function() {\n\t\tthis.api = _services_TimeTrexClientAPI__WEBPACK_IMPORTED_MODULE_2__/* .TTAPI.APIJobApplicantPortal */ .y.APIJobApplicantPortal;\n\t\tthis.company_api = _services_TimeTrexClientAPI__WEBPACK_IMPORTED_MODULE_2__/* .TTAPI.APICompanyPortal */ .y.APICompanyPortal;\n\t\tthis.ethnic_group_api = _services_TimeTrexClientAPI__WEBPACK_IMPORTED_MODULE_2__/* .TTAPI.APIEthnicGroupPortal */ .y.APIEthnicGroupPortal;\n\t\tthis.qualification_api = _services_TimeTrexClientAPI__WEBPACK_IMPORTED_MODULE_2__/* .TTAPI.APIQualificationPortal */ .y.APIQualificationPortal;\n\t\tthis.script_name = 'ProfileView';\n\t\tthis.edit_view_error_ui_dic = {};\n\t\tthis.applicant_fields = {};\n\t\tthis.background_fields = {};\n\t\tthis.availability_fields = {};\n\t\tthis.employment_history_fields = {};\n\t\tthis.reference_fields = {};\n\t\tthis.location_fields = {};\n\t\tthis.skill_fields = {};\n\t\tthis.education_fields = {};\n\t\tthis.membership_fields = {};\n\t\tthis.license_fields = {};\n\t\tthis.language_fields = {};\n\t\tthis.enable_add_qualification_fields = {};\n\t\tthis.is_changed = null;\n\n\t\tvar
|