TimeTrex/interface/html5/dist/attendance-job_item-JobItemGroupViewController.bundle.js

1 line
4.5 KiB
JavaScript
Raw Permalink Normal View History

2022-12-13 07:10:06 +01:00
"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["attendance-job_item-JobItemGroupViewController"],{5677:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"JobItemGroupViewController\": () => (/* binding */ JobItemGroupViewController)\n/* harmony export */ });\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\nclass JobItemGroupViewController extends BaseTreeViewController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tel: '#job_item_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 = 'JobItemGroupEditView.html';\n\t\tthis.permission_id = 'job_item';\n\t\tthis.viewId = 'JobItemGroup';\n\t\tthis.script_name = 'JobItemGroupView';\n\t\tthis.table_name_key = 'job_item_group';\n\t\tthis.context_menu_name = $.i18n._( 'Task Groups' );\n\t\tthis.grid_table_name = $.i18n._( 'Task Group' );\n\t\tthis.navigation_label = $.i18n._( 'Task Group' );\n\n\t\tthis.tree_mode = true;\n\t\tthis.primary_tab_label = $.i18n._( 'Task Group' );\n\t\tthis.primary_tab_key = 'tab_task_group';\n\n\t\tthis.api = TTAPI.APIJobItemGroup;\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTY3Ny5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBTztBQUNQLDJCQUEyQjtBQUMzQixFQUFFLENBQUM7QUFDSDs7OztBQUlBO0FBQ0E7QUFDQTtBQUNBLElBQUk7O0FBRUo7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLDJCQUEyQixDQUFDO0FBQzVCLHlCQUF5QixDQUFDO0FBQzFCLDBCQUEwQixDQUFDOztBQUUzQjtBQUNBLDJCQUEyQixDQUFDO0FBQzVCOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9pbnRlcmZhY2UvaHRtbDUvdmlld3MvYXR0ZW5kYW5jZS9qb2JfaXRlbS9Kb2JJdGVtR3JvdXBWaWV3Q29udHJvbGxlci5qcz82YjBjIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBKb2JJdGVtR3JvdXBWaWV3Q29udHJvbGxlciBleHRlbmRzIEJhc2VUcmVlVmlld0NvbnRyb2xsZXIge1xuXHRjb25zdHJ1Y3Rvciggb3B0aW9ucyA9IHt9ICkge1xuXHRcdF8uZGVmYXVsdHMoIG9wdGlvbnMsIHtcblx0XHRcdGVsOiAnI2pvYl9pdGVtX2dyb3VwX3ZpZXdfY29udGFpbmVyJyxcblxuXG5cblx0XHRcd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