TimeTrex/interface/html5/dist/hr-recruitment-JobVacancyViewController.bundle.js

1 line
80 KiB
JavaScript
Raw Permalink Normal View History

2022-12-13 07:10:06 +01:00
"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["hr-recruitment-JobVacancyViewController"],{6191:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"JobVacancyViewController\": () => (/* binding */ JobVacancyViewController)\n/* harmony export */ });\n/* harmony import */ var tinymce_tinymce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7575);\n/* harmony import */ var tinymce_tinymce__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tinymce_tinymce__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var tinymce_icons_default__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6890);\n/* harmony import */ var tinymce_icons_default__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(tinymce_icons_default__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var tinymce_themes_silver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8860);\n/* harmony import */ var tinymce_themes_silver__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(tinymce_themes_silver__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var tinymce_plugins_link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2682);\n/* harmony import */ var tinymce_plugins_link__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(tinymce_plugins_link__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _css_loader_tinymce_skins_ui_oxide_content_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5634);\n/* harmony import */ var _css_loader_tinymce_skins_content_default_content_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5797);\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\n\n // Default icons are required for TinyMCE 5.3 or above\n\n\n\n // https://www.tiny.cloud/docs/advanced/usage-with-module-loaders/webpack/webpack_es6_npm/\n // https://www.tiny.cloud/docs/advanced/usage-with-module-loaders/webpack/webpack_es6_npm/\n\n// #2662 This require.context copies the required tinymce skins folder to our dist directory. See https://www.tiny.cloud/docs-4x/advanced/usage-with-module-loaders/#webpackfile-loader and https://www.tiny.cloud/docs/advanced/usage-with-module-loaders/\n// require.context(\n// \t'!file-loader?name=tinymce-[path][name].[ext]&context=node_modules/tinymce!tinymce/skins',\n// \ttrue,\n// \t/.*/\n// );\n\nclass JobVacancyViewController extends BaseViewController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tel: '#job_vacancy_view_container',\n\n\t\t\t// _required_files: ['tinymce'],\n\n\t\t\tstatus_array: null,\n\t\t\ttype_array: null,\n\t\t\tlevel_array: null,\n\t\t\temployment_status_array: null,\n\t\t\twage_type_array: null,\n\t\t\tavailability_array: null,\n\n\t\t\tsub_job_vacancy_applicant_view_controller: null,\n\n\t\t\tdocument_object_type_id: null\n\t\t} );\n\n\t\tsuper( options );\n\t}\n\n\tinit( options ) {\n\t\t//this._super('initialize', options );\n\t\tthis.edit_view_tpl = 'JobVacancyEditView.html';\n\t\tthis.permission_id = 'job_vacancy';\n\t\tthis.viewId = 'JobVacancy';\n\t\tthis.script_name = 'JobVacancyView';\n\t\tthis.table_name_key = 'job_vacancy';\n\t\tthis.context_menu_name = $.i18n._( 'Job Vacancies' );\n\t\tthis.navigation_label = $.i18n._( 'Job Vacancy' );\n\t\tthis.api = TTAPI.APIJobVacancy;\n\t\tthis.document_object_type_id = 150;\n\t\tvar $this = this;\n\t\t$this.render();\n\t\t$this.buildContextMenu();\n\n\t\t$this.initData();\n\t}\n\n\tinitOptions() {\n\t\tvar options = [\n\t\t\t{ option_name: 'status', api: this.api },\n\t\t\t{ option_name: 'type', api: this.api },\n\t\t\t{ option_name: 'level', api: this.api },\n\t\t\t{ option_name: 'employment_status', api: this.api },\n\t\t\t{ option_name: 'wage_type', api: this.api },\n\t\t\t{ option_name: 'availability', api: this.api },\n\t\t];\n\n\t\tthis.initDropDownOptions( options );