TimeTrex/interface/html5/dist/document-DocumentGroupViewController.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([["document-DocumentGroupViewController"],{1359:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"DocumentGroupViewController\": () => (/* binding */ DocumentGroupViewController)\n/* harmony export */ });\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\nclass DocumentGroupViewController extends BaseTreeViewController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tel: '#document_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 = 'DocumentGroupEditView.html';\n\t\tthis.permission_id = 'document';\n\t\tthis.viewId = 'DocumentGroup';\n\t\tthis.script_name = 'DocumentGroupView';\n\t\tthis.table_name_key = 'document_group';\n\t\tthis.context_menu_name = $.i18n._( 'Document Groups' );\n\t\tthis.grid_table_name = $.i18n._( 'Document Groups' );\n\t\tthis.navigation_label = $.i18n._( 'Document Group' );\n\n\t\tthis.tree_mode = true;\n\t\tthis.primary_tab_label = $.i18n._( 'Document Group' );\n\t\tthis.primary_tab_key = 'tab_document_group';\n\n\t\tthis.api = TTAPI.APIDocumentGroup;\n\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: ['default']\n\t\t};\n\n\t\treturn context_menu_model;\n\t}\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTM1OS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBTztBQUNQLDJCQUEyQjtBQUMzQixFQUFFLENBQUM7QUFDSDs7OztBQUlBO0FBQ0E7QUFDQTtBQUNBLElBQUk7O0FBRUo7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLDJCQUEyQixDQUFDO0FBQzVCLHlCQUF5QixDQUFDO0FBQzFCLDBCQUEwQixDQUFDOztBQUUzQjtBQUNBLDJCQUEyQixDQUFDO0FBQzVCOztBQUVBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9pbnRlcmZhY2UvaHRtbDUvdmlld3MvZG9jdW1lbnQvRG9jdW1lbnRHcm91cFZpZXdDb250cm9sbGVyLmpzP2U1YjQiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIERvY3VtZW50R3JvdXBWaWV3Q29udHJvbGxlciBleHRlbmRzIEJhc2VUcmVlVmlld0NvbnRyb2xsZXIge1xuXHRjb25zdHJ1Y3Rvciggb3B0aW9ucyA9IHt9ICkge1xuXHRcdF8uZGVmYXVsdHMoIG9wdGlvbnMsIHtcblx0XHRcdGVsOiAnI2RvY3VtZW50X2dyb3VwX3ZpZXdfY29udGFpbmVyJyxcblxuXG5cblx0XHRcdHRyZWVfbW9kZTogbnVsbCxcblx0XHRcdGdy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