TimeTrex/interface/html5/dist/invoice-client_group-ClientGroupViewController.bundle.js

1 line
4.4 KiB
JavaScript
Raw Permalink Normal View History

2022-12-13 07:10:06 +01:00
"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["invoice-client_group-ClientGroupViewController"],{6510:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ClientGroupViewController\": () => (/* binding */ ClientGroupViewController)\n/* harmony export */ });\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\nclass ClientGroupViewController extends BaseTreeViewController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tel: '#client_group_view_container',\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 = 'ClientGroupEditView.html';\n\t\tthis.permission_id = 'client';\n\t\tthis.viewId = 'ClientGroup';\n\t\tthis.script_name = 'ClientGroupView';\n\t\tthis.table_name_key = 'client_group';\n\t\tthis.context_menu_name = $.i18n._( 'Client Groups' );\n\t\tthis.grid_table_name = $.i18n._( 'Client Group' );\n\t\tthis.navigation_label = $.i18n._( 'Client Group' );\n\n\t\tthis.tree_mode = true;\n\t\tthis.primary_tab_label = $.i18n._( 'Client Group' );\n\t\tthis.primary_tab_key = 'tab_client_group';\n\n\t\tthis.api = TTAPI.APIClientGroup;\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}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjUxMC5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBTztBQUNQLDJCQUEyQjtBQUMzQixFQUFFLENBQUM7QUFDSDs7QUFFQTtBQUNBO0FBQ0E7QUFDQSxJQUFJOztBQUVKO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSwyQkFBMkIsQ0FBQztBQUM1Qix5QkFBeUIsQ0FBQztBQUMxQiwwQkFBMEIsQ0FBQzs7QUFFM0I7QUFDQSwyQkFBMkIsQ0FBQztBQUM1Qjs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9pbnRlcmZhY2UvaHRtbDUvdmlld3MvaW52b2ljZS9jbGllbnRfZ3JvdXAvQ2xpZW50R3JvdXBWaWV3Q29udHJvbGxlci5qcz85OTQxIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBDbGllbnRHcm91cFZpZXdDb250cm9sbGVyIGV4dGVuZHMgQmFzZVRyZWVWaWV3Q29udHJvbGxlciB7XG5cdGNvbnN0cnVjdG9yKCBvcHRpb25zID0ge30gKSB7XG5cdFx0Xy5kZWZhdWx0cyggb3B0aW9ucywge1xuXHRcdFx0ZWw6ICcjY2xpZW50X2dyb3VwX3ZpZXdfY29udGFpbmVyJyxcblxuXHRcdFx0dHJlZV9tb2RlOiBudWxsLFxuXHRcdFx0Z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