TimeTrex/interface/html5/dist/hr-qualification-QualificationGroupViewController.bundle.js

1 line
4.7 KiB
JavaScript
Raw Permalink Normal View History

2022-12-13 07:10:06 +01:00
"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["hr-qualification-QualificationGroupViewController"],{307:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"QualificationGroupViewController\": () => (/* binding */ QualificationGroupViewController)\n/* harmony export */ });\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\nclass QualificationGroupViewController extends BaseTreeViewController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tel: '#qualification_group_view_container',\n\n\n\n\t\t\ttree_mode: null,\n\t\t\tgrid_table_name: null,\n\t\t\tgrid_select_id_array: 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 = 'QualificationGroupEditView.html';\n\t\tthis.permission_id = 'qualification';\n\t\tthis.viewId = 'QualificationGroup';\n\t\tthis.script_name = 'QualificationGroupView';\n\t\tthis.table_name_key = 'qualification_group';\n\t\tthis.context_menu_name = $.i18n._( 'Qualification Groups' );\n\t\tthis.grid_table_name = $.i18n._( 'Qualification Groups' );\n\t\tthis.navigation_label = $.i18n._( 'Qualification Group' );\n\n\t\tthis.tree_mode = true;\n\t\tthis.primary_tab_label = $.i18n._( 'Qualification Group' );\n\t\tthis.primary_tab_key = 'tab_qualification_group';\n\n\t\tthis.api = TTAPI.APIQualificationGroup;\n\t\tthis.grid_select_id_array = [];\n\n\t\tthis.render();\n\t\tthis.buildContextMenu();\n\t\tthis.initData();\n\t}\n\n\tgetCustomContextMenuModel() {\n\t\tvar context_menu_model = {\n\t\t\texclude: [\n\t\t\t\t'copy',\n\t\t\t\t'mass_edit',\n\t\t\t\t'delete_and_next',\n\t\t\t\t'save_and_continue',\n\t\t\t\t'save_and_next',\n\t\t\t\t'export_excel'\n\t\t\t],\n\t\t\tinclude: []\n\t\t};\n\n\t\treturn context_menu_model;\n\t}\n\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzA3LmpzIiwibWFwcGluZ3MiOiI7Ozs7OztBQUFPO0FBQ1AsMkJBQTJCO0FBQzNCLEVBQUUsQ0FBQztBQUNIOzs7O0FBSUE7QUFDQTtBQUNBO0FBQ0EsSUFBSTs7QUFFSjtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsMkJBQTJCLENBQUM7QUFDNUIseUJBQXlCLENBQUM7QUFDMUIsMEJBQTBCLENBQUM7O0FBRTNCO0FBQ0EsMkJBQTJCLENBQUM7QUFDNUI7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQSIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2ludGVyZmFjZS9odG1sNS92aWV3cy9oci9xdWFsaWZpY2F0aW9uL1F1YWxpZmljYXRpb25Hcm91cFZpZXdDb250cm9sbGVyLmpzPzUzMzAiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIFF1YWxpZmljYXRpb25Hcm91cFZpZXdDb250cm9sbGVyIGV4dGVuZHMgQmFzZVRyZWVWaWV3Q29udHJvbGxlciB7XG5cdGNvbnN0cnVjdG9yKCBvcHRpb25zID0ge30gKSB7XG5cdFx0Xy5kZWZhdWx0cyggb3B0aW9ucywge1xuXHRcdFx0ZWw6ICcjcXVhbGlmaWNhdGlvbl9ncm91cF92aWV3X2NvbnRhaW5lcicsX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