1 line
25 KiB
JavaScript
1 line
25 KiB
JavaScript
"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["wizard-permission_wizard-PermissionWizardController"],{1827:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"PermissionWizardController\": () => (/* binding */ PermissionWizardController)\n/* harmony export */ });\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\nclass PermissionWizardController extends BaseWizardController {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {\n\t\t\tel: '.wizard-bg',\n\t\t\tapi_permission: null\n\t\t} );\n\n\t\tsuper( options );\n\t}\n\n\tinit( options ) {\n\t\t//this._super('initialize', options );\n\n\t\tthis.title = $.i18n._( 'Permission Wizard' );\n\t\tthis.steps = 3;\n\t\tthis.current_step = 1;\n\n\t\tthis.render();\n\t}\n\n\trender() {\n\t\tsuper.render();\n\t\tthis.api_permission = TTAPI.APIPermission;\n\t\tthis.initCurrentStep();\n\t}\n\n\t//Create each page UI\n\tbuildCurrentStepUI() {\n\t\tvar $this = this;\n\t\tthis.content_div.empty();\n\n\t\tthis.stepsWidgetDic[this.current_step] = {};\n\t\tswitch ( this.current_step ) {\n\t\t\tcase 1:\n\t\t\t\tvar label = this.getLabel();\n\t\t\t\tlabel.text( $.i18n._( 'Choose role and permission actions' ) );\n\n\t\t\t\tthis.content_div.append( label );\n\n\t\t\t\t//Role\n\t\t\t\tvar form_item = $( Global.loadWidget( 'global/widgets/wizard_form_item/WizardFormItem.html' ) );\n\t\t\t\tvar form_item_label = form_item.find( '.form-item-label' );\n\t\t\t\tvar form_item_input_div = form_item.find( '.form-item-input-div' );\n\n\t\t\t\tvar combobox = this.getComboBox( 'role', false );\n\n\t\t\t\tform_item_label.text( $.i18n._( 'Role' ) );\n\t\t\t\tform_item_input_div.append( combobox );\n\n\t\t\t\tthis.content_div.append( form_item );\n\n\t\t\t\t//Permission\n\t\t\t\tform_item = $( Global.loadWidget( 'global/widgets/wizard_form_item/WizardFormItem.html' ) );\n\t\t\t\tform_item_label = form_item.find( '.form-item-label' );\n\t\t\t\tform_item_input_div = form_item.find( '.form-item-input-div' );\n\n\t\t\t\tvar permission = this.getAComboBox( null, true, 'global_option_column', 'permission', false, 'value' );\n\n\t\t\t\tform_item_label.text( $.i18n._( 'Permissions' ) );\n\t\t\t\tform_item_input_div.append( permission );\n\n\t\t\t\tthis.content_div.append( form_item );\n\n\t\t\t\tthis.stepsWidgetDic[this.current_step][combobox.getField()] = combobox;\n\t\t\t\tthis.stepsWidgetDic[this.current_step][permission.getField()] = permission;\n\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\n\t\t\t\tlabel = this.getLabel();\n\t\t\t\tlabel.text( $.i18n._( 'Choose modules and sub-modules' ) );\n\n\t\t\t\tthis.content_div.append( label );\n\n\t\t\t\t//Modules\n\t\t\t\tform_item = $( Global.loadWidget( 'global/widgets/wizard_form_item/WizardFormItem.html' ) );\n\t\t\t\tform_item_label = form_item.find( '.form-item-label' );\n\t\t\t\tform_item_input_div = form_item.find( '.form-item-input-div' );\n\n\t\t\t\tvar modules = this.getAComboBox( null, true, 'global_option_column', 'section_group', false, 'value' );\n\n\t\t\t\tform_item_label.text( $.i18n._( 'Modules' ) );\n\t\t\t\tform_item_input_div.append( modules );\n\n\t\t\t\tthis.content_div.append( form_item );\n\n\t\t\t\tform_item.bind( 'formItemChange', function( e, target ) {\n\t\t\t\t\tvar select_value = target.getValue();\n\t\t\t\t\t$this.setSection( select_value, true );\n\n\t\t\t\t} );\n\n\t\t\t\t//Sub Modules\n\t\t\t\tform_item = $( Global.loadWidget( 'global/widgets/wizard_form_item/WizardFormItem.html' ) );\n\t\t\t\tform_item_label = form_item.find( '.form-item-label' );\n\t\t\t\tform_item_input_div = form_item.find( '.form-item-input-div' );\n\n\t\t\t\tvar sub_modules = this.getAComboBox( null, true, 'global_option_column', 'section', false, 'value' );\n\n\t\t\t\tform_item_label.text( $.i18n._( 'Sub-Modules' ) );\n\t\t\t\tform_item_input_div.append( sub_modules );\n\n\t\t\t\tthis.content_div.append( form_item );\n\n\t\t\t\tthis.stepsWidgetDic[this.current_step][modules.getField()] = modules;\n\t\t\t\tthis.stepsWidgetDic[this.current_step][sub_modules.getField()] = sub_modules;\n\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\n\t\t\t\tlabel = this.getLabel();\n\t\t\t\tlabel.text( $.i18n._( 'Would you like to allow, deny or simply highlight the chosen permissions' ) );\n\n\t\t\t\tthis.content_div.append( label );\n\n\t\t\t\tvar radio_1 = $( '<input type=\"radio\" name=\"action\" id=\"allow\" value=\"allow\"><label for=\"allow\">Allow </label>' );\n\t\t\t\tvar radio_2 = $( '<input type=\"radio\" name=\"action\" id=\"deny\" value=\"deny\"><label for=\"deny\">Deny </label>' );\n\t\t\t\tvar radio_3 = $( '<input type=\"radio\" name=\"action\" id=\"highlight\" value=\"highlight\"><label for=\"highlight\">Highlight Only </label>' );\n\n\t\t\t\tthis.content_div.append( radio_1 );\n\t\t\t\tthis.content_div.append( radio_2 );\n\t\t\t\tthis.content_div.append( radio_3 );\n\n\t\t\t\tthis.stepsWidgetDic[this.current_step]['allow'] = radio_1;\n\t\t\t\tthis.stepsWidgetDic[this.current_step]['deny'] = radio_2;\n\t\t\t\tthis.stepsWidgetDic[this.current_step]['highlight'] = radio_3;\n\n\t\t\t\tbreak;\n\n\t\t}\n\t}\n\n\tsetSection( section_group_id, select_all ) {\n\t\tvar current_step_ui = this.stepsWidgetDic[this.current_step];\n\n\t\tthis.api_permission.getSectionBySectionGroup( section_group_id, {\n\t\t\tonResult: function( result ) {\n\t\t\t\tvar data = Global.buildRecordArray( result.getResult() );\n\t\t\t\tcurrent_step_ui.section.setSourceData( data );\n\t\t\t\tif ( select_all ) {\n\t\t\t\t\tcurrent_step_ui.section.setValue( data );\n\t\t\t\t}\n\n\t\t\t}\n\t\t} );\n\t}\n\n\tbuildCurrentStepData() {\n\t\tvar $this = this;\n\t\tvar current_step_data = this.stepsDataDic[this.current_step];\n\t\tvar current_step_ui = this.stepsWidgetDic[this.current_step];\n\n\t\tswitch ( this.current_step ) {\n\t\t\tcase 1:\n\n\t\t\t\tthis.api_permission.getOptions( 'preset', {\n\t\t\t\t\tonResult: function( result ) {\n\t\t\t\t\t\tvar data = Global.buildRecordArray( result.getResult() );\n\n\t\t\t\t\t\tdata.unshift( { value: 0, label: $.i18n._( 'CUSTOM' ) } );\n\n\t\t\t\t\t\tcurrent_step_ui.role.setSourceData( data );\n\n\t\t\t\t\t\tif ( current_step_data ) {\n\t\t\t\t\t\t\tcurrent_step_ui.role.setValue( current_step_data.role );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( LocalCacheData.current_open_primary_controller.current_edit_record && LocalCacheData.current_open_primary_controller.current_edit_record.name ) {\n\t\t\t\t\t\t\tvar selected_control_name = LocalCacheData.current_open_primary_controller.current_edit_record.name.toLowerCase();\n\t\t\t\t\t\t\tfor ( var n in data ) {\n\t\t\t\t\t\t\t\tif ( data[n].label.toLowerCase() == selected_control_name ) {\n\t\t\t\t\t\t\t\t\tcurrent_step_ui.role.setSelectedIndex( n );\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t} );\n\n\t\t\t\tthis.api_permission.getOptions( 'common_permissions', {\n\t\t\t\t\tonResult: function( result ) {\n\t\t\t\t\t\tvar data = Global.buildRecordArray( result.getResult() );\n\n\t\t\t\t\t\tcurrent_step_ui.permission.setSourceData( data );\n\n\t\t\t\t\t\tif ( current_step_data ) {\n\t\t\t\t\t\t\tcurrent_step_ui.permission.setValue( current_step_data.permission );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcurrent_step_ui.permission.setValue( data );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t} );\n\n\t\t\t\tbreak;\n\n\t\t\tcase 2:\n\n\t\t\t\tthis.api_permission.getOptions( 'section_group', {\n\t\t\t\t\tonResult: function( result ) {\n\n\t\t\t\t\t\tvar data = Global.buildRecordArray( result.getResult() );\n\n\t\t\t\t\t\tcurrent_step_ui.section_group.setSourceData( data );\n\n\t\t\t\t\t\tif ( current_step_data ) {\n\n\t\t\t\t\t\t\tif ( current_step_data.section_group && current_step_data.section_group.length > 0 ) {\n\t\t\t\t\t\t\t\tcurrent_step_ui.section_group.setValue( current_step_data.section_group );\n\t\t\t\t\t\t\t\t$this.setSection( current_step_data.section_group );\n\t\t\t\t\t\t\t\tcurrent_step_ui.section.setValue( current_step_data.section );\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcurrent_step_ui.section_group.setValue( data[0].value );\n\t\t\t\t\t\t\t$this.setSection( data[0].value, true );\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t} );\n\n\t\t\t\tbreak;\n\n\t\t\tcase 3:\n\n\t\t\t\tif ( current_step_data ) {\n\t\t\t\t\tcurrent_step_ui[current_step_data.action].prop( 'checked', 'checked' );\n\t\t\t\t} else {\n\t\t\t\t\tcurrent_step_ui['allow'].prop( 'checked', 'checked' );\n\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t}\n\t}\n\n\tonDoneClick() {\n\t\tvar $this = this;\n\t\tsuper.onDoneClick();\n\t\tthis.saveCurrentStep();\n\n\t\tvar preset = this.stepsDataDic[1].role;\n\t\tvar sections = this.stepsDataDic[2].section;\n\t\tvar permission = this.stepsDataDic[1].permission;\n\t\tvar permission_status = this.stepsDataDic[3].action;\n\n\t\tthis.api_permission.filterPresetPermissions( preset, sections, permission, {\n\t\t\tonResult: function( result ) {\n\n\t\t\t\tif ( !result.isValid ) {\n\t\t\t\t\tTAlertManager.showErrorAlert( result );\n\t\t\t\t\t$this.onCloseClick();\n\t\t\t\t} else {\n\n\t\t\t\t\t$this.onCloseClick();\n\t\t\t\t\tif ( $this.call_back ) {\n\t\t\t\t\t\t$this.call_back( result.getResult(), permission_status );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t}\n\n\tsaveCurrentStep() {\n\t\tthis.stepsDataDic[this.current_step] = {};\n\t\tvar current_step_data = this.stepsDataDic[this.current_step];\n\t\tvar current_step_ui = this.stepsWidgetDic[this.current_step];\n\t\tswitch ( this.current_step ) {\n\t\t\tcase 3:\n\t\t\t\tfor ( var key in current_step_ui ) {\n\t\t\t\t\tif ( !current_step_ui.hasOwnProperty( key ) ) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( current_step_ui[key].prop( 'checked' ) || current_step_ui[key][0].checked === true ) {\n\t\t\t\t\t\tcurrent_step_data.action = key;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\n\t\t\t\tfor ( var key in current_step_ui ) {\n\t\t\t\t\tif ( !current_step_ui.hasOwnProperty( key ) ) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tcurrent_step_data[key] = current_step_ui[key].getValue();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n\tsetDefaultDataToSteps() {\n\n\t\tif ( !this.default_data ) {\n\t\t\treturn null;\n\t\t}\n\t}\n\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTgyNy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBTztBQUNQLDJCQUEyQjtBQUMzQixFQUFFLENBQUM7QUFDSDtBQUNBO0FBQ0EsSUFBSTs7QUFFSjtBQUNBOztBQUVBO0FBQ0E7O0FBRUEsZUFBZSxDQUFDO0FBQ2hCO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTt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