public_html/layouts/basic/modules/Documents/resources/MassAddDocuments.min.js.map
{"version":3,"file":"MassAddDocuments.min.js","sources":["MassAddDocuments.js"],"sourcesContent":["/* {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} */\n'use strict';\n\n/**\n * Class Documents_MassAddDocuments_Js.\n * @type {window.Documents_MassAddDocuments_Js}\n */\nwindow.Documents_MassAddDocuments_Js = class Documents_MassAddDocuments_Js {\n\t/**\n\t * Create a class object\n\t * @param {jQuery} modal\n\t * @param {jQuery.Event} e\n\t */\n\tstatic register(modal, e) {\n\t\tconst self = new window[this.name]();\n\t\tself.registerEvents(modal, e);\n\t}\n\tregisterSubmit() {\n\t\tconst uploadButton = this.modal.find('#filesToUpload'),\n\t\t\ttemplate = this.modal.find('.fileContainer'),\n\t\t\tuploadContainer = this.modal.find('.uploadFileContainer');\n\t\tuploadButton.on('change', function () {\n\t\t\tuploadContainer.find('.fileItem').remove();\n\t\t\tlet files = uploadButton[0].files;\n\t\t\tfor (let file of files) {\n\t\t\t\tuploadContainer.append(template.html());\n\t\t\t\tuploadContainer.find('[name=\"nameFile[]\"]:last').val(file.name);\n\t\t\t}\n\t\t});\n\t\tthis.form.on('submit', (e) => {\n\t\t\te.preventDefault();\n\t\t\tthis.submit();\n\t\t});\n\t}\n\t/**\n\t * Submit\n\t */\n\tsubmit() {\n\t\tlet moduleName = app.getModuleName(),\n\t\t\trecordId = app.getRecordId();\n\t\tif (this.modal.find('[name=\"sourceModule\"]').length > 0) {\n\t\t\tmoduleName = this.modal.find('[name=\"sourceModule\"]').val();\n\t\t}\n\t\tif (this.modal.find('[name=\"sourceRecord\"]').length > 0) {\n\t\t\trecordId = this.modal.find('[name=\"sourceRecord\"]').val();\n\t\t}\n\t\tapp.removeEmptyFilesInput(this.form[0]);\n\t\tlet formData = new FormData(this.form[0]);\n\t\tif (this.button.data('view') === 'Detail') {\n\t\t\tformData.append('createmode', 'link');\n\t\t\tformData.append('return_module', moduleName);\n\t\t\tformData.append('return_id', recordId);\n\t\t}\n\t\tconst progressIndicatorElement = $.progressIndicator({\n\t\t\tblockInfo: { enabled: true }\n\t\t});\n\t\tAppConnector.request({\n\t\t\turl: 'index.php',\n\t\t\ttype: 'POST',\n\t\t\tdata: formData,\n\t\t\tprocessData: false,\n\t\t\tcontentType: false\n\t\t}).done((response) => {\n\t\t\tprogressIndicatorElement.progressIndicator({ mode: 'hide' });\n\t\t\tapp.hideModalWindow(null, this.modal.parent().attr('id'));\n\t\t\tswitch (this.button.data('view')) {\n\t\t\t\tcase 'Detail':\n\t\t\t\t\tconst detailView = Vtiger_Detail_Js.getInstance(),\n\t\t\t\t\t\tselectedTabElement = detailView.getSelectedTab();\n\t\t\t\t\tif (selectedTabElement.data('reference') === 'Documents') {\n\t\t\t\t\t\tdetailView.reloadTabContent();\n\t\t\t\t\t} else if (detailView.getContentHolder().find('.detailViewBlockLink').data('reference') === 'Documents') {\n\t\t\t\t\t\tVtiger_RelatedList_Js.getInstance(\n\t\t\t\t\t\t\tdetailView.getRecordId(),\n\t\t\t\t\t\t\tapp.getModuleName(),\n\t\t\t\t\t\t\tselectedTabElement,\n\t\t\t\t\t\t\t'Documents'\n\t\t\t\t\t\t).loadRelatedList();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst updatesWidget = this.button.closest('.widgetContentBlock');\n\t\t\t\t\t\tif (updatesWidget.length > 0) {\n\t\t\t\t\t\t\tdetailView.loadWidget(updatesWidget, detailView.getFiltersData(updatesWidget)['params']);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'List':\n\t\t\t\t\tconst listInstance = Vtiger_List_Js.getInstance();\n\t\t\t\t\tlistInstance.getListViewRecords().done(function () {\n\t\t\t\t\t\tlistInstance.calculatePages().done(function () {\n\t\t\t\t\t\t\tlistInstance.updatePagination();\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'Edit':\n\t\t\t\t\tif (response['result']) {\n\t\t\t\t\t\tconst fieldBlock = this.button.closest('.js-field-block-column'),\n\t\t\t\t\t\t\tfield = fieldBlock.find('[name=\"' + fieldBlock.data('field') + '[]\"]');\n\t\t\t\t\t\tApp.Fields.Utils.setValue(field, response['result'], { extend: true }, false);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t});\n\t}\n\t/**\n\t * Register events.\n\t * @param {jQuery} modal\n\t * @param {jQuery.Event} e\n\t */\n\tregisterEvents(modal, e) {\n\t\tthis.modal = modal;\n\t\tthis.form = modal.find('form');\n\t\tthis.button = $(e.currentTarget);\n\t\tthis.registerSubmit();\n\t}\n};\n"],"names":["_typeof","o","Symbol","iterator","constructor","prototype","_createForOfIteratorHelper","allowArrayLike","it","Array","isArray","_unsupportedIterableToArray","length","i","F","s","n","done","value","e","_e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2","return","minLen","_arrayLikeToArray","Object","toString","slice","name","from","test","arr","len","arr2","_classCallCheck","instance","Constructor","_defineProperties","target","props","descriptor","enumerable","configurable","writable","defineProperty","_toPropertyKey","key","_createClass","protoProps","staticProps","arg","_toPrimitive","String","input","hint","prim","toPrimitive","res","Number","window","Documents_MassAddDocuments_Js","registerSubmit","_this","uploadButton","modal","find","template","uploadContainer","on","remove","_step","files","_iterator","file","append","html","val","form","preventDefault","submit","_this2","moduleName","app","getModuleName","recordId","getRecordId","removeEmptyFilesInput","formData","FormData","button","data","progressIndicatorElement","$","progressIndicator","blockInfo","enabled","AppConnector","request","url","type","processData","contentType","response","mode","hideModalWindow","parent","attr","detailView","Vtiger_Detail_Js","getInstance","selectedTabElement","getSelectedTab","reloadTabContent","getContentHolder","Vtiger_RelatedList_Js","loadRelatedList","updatesWidget","closest","loadWidget","getFiltersData","params","listInstance","Vtiger_List_Js","getListViewRecords","calculatePages","updatePagination","result","fieldBlock","field","App","Fields","Utils","setValue","extend","registerEvents","currentTarget","register","self"],"mappings":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