From 303b309a0c1343b095e07df866912a227913657c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Landowski?= Date: Wed, 5 Jun 2024 12:20:43 +0200 Subject: [PATCH] fix: PPP-270 Upgrade imports button style --- plugins/yetiforce/preview.css | 202 +++++++++++++-------------- plugins/yetiforce/preview.js | 2 +- plugins/yetiforce/preview.min.js | 7 + plugins/yetiforce/preview.min.js.map | 1 + version.php | 4 +- 5 files changed, 108 insertions(+), 108 deletions(-) create mode 100644 plugins/yetiforce/preview.min.js create mode 100644 plugins/yetiforce/preview.min.js.map diff --git a/plugins/yetiforce/preview.css b/plugins/yetiforce/preview.css index 0d458637..23ded2c8 100644 --- a/plugins/yetiforce/preview.css +++ b/plugins/yetiforce/preview.css @@ -1,240 +1,232 @@ .pull-right { - float: right !important; + float: right !important; } #ytActionBarContent select { - padding: 0; + padding: 0; } #ytActionBarContent .row:before { - display: table; - content: ' '; + display: table; + content: " "; } #ytActionBarContent .row:after { - clear: both; - display: table; - content: ' '; + clear: both; + display: table; + content: " "; } #ytActionBarContent .rowReletedRecord .rowActions { - display: none; + display: none; } #ytActionBarContent .rowReletedRecord:hover .rowActions { - display: block; + display: block; } #ytActionBarContent .noRecords { - text-align: center; -} - -#ytActionBarContent .noRecords a.importMail { - cursor: pointer; - font-weight: 800; -} - -#ytActionBarContent .noRecords a.importMail:hover { - color: white; + text-align: center; } #ytActionBarContent .rowReletedRecord { - margin: 3px 0 6px 0; + margin: 3px 0 6px 0; } #ytActionBarContent .rowReletedRecord { - margin: 3px 0 6px 0; + margin: 3px 0 6px 0; } #ytActionBarContent .pull-right button { - line-height: 10px; - margin-left: 3px; - padding: 0 6px; - height: 14px; + line-height: 10px; + margin-left: 3px; + padding: 0 6px; + height: 14px; } #ytActionBarContent .relatedModuleIcon { - margin-right: 5px; + margin-right: 5px; } #messageheader.previewheader { - padding: 0 0 3px 30px; + padding: 0 0 3px 30px; } .rcmaddcontact { - display: none; + display: none; } .d-none { - display: none; + display: none; } .mr-5px { - margin-right: 5px; + margin-right: 5px; } .mr-3px { - margin-right: 3px; + margin-right: 3px; } .ml-5px { - margin-left: 5px; + margin-left: 5px; } .w-100 { - width: 100%; + width: 100%; } .flex-wrap { - display: flex; - flex-wrap: wrap; + display: flex; + flex-wrap: wrap; } .flex-nowrap { - display: flex; - flex-wrap: nowrap; + display: flex; + flex-wrap: nowrap; } .rowRelatedRecord { - background-color: #4a5364; - color: #fff; - margin-right: 5px; + background-color: #4a5364; + color: #fff; + margin-right: 5px; } .action-bar__head__container { - display: flex; - flex-wrap: nowrap; - width: fit-content; - margin-right: 5px; - background-color: #406a95; + display: flex; + flex-wrap: nowrap; + width: fit-content; + margin-right: 5px; + background-color: #406a95; } .ytHeader { - padding-bottom: 6px; + padding-bottom: 6px; } .action-bar__head a { - text-decoration: none; - color: #fff; + text-decoration: none; + color: #fff; } .action-bar__head { - display: flex; - flex-wrap: wrap; + display: flex; + flex-wrap: wrap; } .action-bar__col { - width: 100%; + width: 100%; } .action-bar__select { - margin-left: 3px; + margin-left: 3px; } .action-bar__select:required:invalid { - color: gray; + color: gray; } .action-bar__select optgroup { - color: black; + color: black; } button, select, .rowRelatedRecord { - border-radius: 0.25rem; - padding: 0.2rem 0.2rem 0.1rem 0.4rem; + border-radius: 0.25rem; + padding: 0.2rem 0.2rem 0.1rem 0.4rem; } button, select { - cursor: pointer; + cursor: pointer; } .rowActions { - display: inline-flex; - align-items: center; + display: inline-flex; + align-items: center; } .rowActions button { - padding: 0.005rem 0.2rem; - margin-left: 5px; + padding: 0.005rem 0.2rem; + margin-left: 5px; } button { - display: inline-block; - background-color: #f8f9fa; - border-color: #f8f9fa; - font-weight: 400; - text-align: center; - white-space: nowrap; - vertical-align: middle; - user-select: none; - border: 1px solid transparent; - padding: 0.2rem 0.3rem; - border-radius: 0.25rem; - transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + display: inline-block; + background-color: #f8f9fa; + border-color: #f8f9fa; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + user-select: none; + border: 1px solid transparent; + padding: 0.2rem 0.3rem; + border-radius: 0.25rem; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, + border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } button:hover { - color: #212529; - background-color: #e2e6ea; - border-color: #dae0e5; + color: #212529; + background-color: #e2e6ea; + border-color: #dae0e5; } .c-ical__event { - background: #fffdfd; - border: 1px solid #dedede; - border-radius: 6px; + background: #fffdfd; + border: 1px solid #dedede; + border-radius: 6px; } .c-ical__card { - width: fit-content; - height: fit-content; - background: #fff; - border: 1px solid #d0d0d0; - border-radius: 6px; - color: #c51818; - padding: 0 2px 2px; - margin: 2px; - text-align: center; + width: fit-content; + height: fit-content; + background: #fff; + border: 1px solid #d0d0d0; + border-radius: 6px; + color: #c51818; + padding: 0 2px 2px; + margin: 2px; + text-align: center; } .c-ical__card__day { - font-size: 15px; - margin: 0 auto; - width: fit-content; - color: black; + font-size: 15px; + margin: 0 auto; + width: fit-content; + color: black; } .c-ical__card__year { - font-size: 9px; - color: #888888; + font-size: 9px; + color: #888888; } .c-ical__card__time { - font-size: 18px; - margin: auto 5px; + font-size: 18px; + margin: auto 5px; } .c-ical__card__arrow { - margin: auto 5px; + margin: auto 5px; } .c-ical__header { - background: #fff; + background: #fff; } .c-ical__subject { - text-align: left; - border-top-left-radius: 6px; - border-top-right-radius: 6px; - padding-bottom: 2px; + text-align: left; + border-top-left-radius: 6px; + border-top-right-radius: 6px; + padding-bottom: 2px; } .mr-1 { - margin-right: 0.25rem; + margin-right: 0.25rem; } .action-bar__head__message { - text-align: center !important; - display: block; + text-align: center !important; + display: block; } diff --git a/plugins/yetiforce/preview.js b/plugins/yetiforce/preview.js index 1df08834..3011b7bc 100644 --- a/plugins/yetiforce/preview.js +++ b/plugins/yetiforce/preview.js @@ -89,7 +89,7 @@ rcube_webmail.prototype.registerEvents = function () { }; rcube_webmail.prototype.registerImportMail = function () { let clicked = false; - let importButton = rcmail.crmContent.find('.importMail'); + let importButton = rcmail.crmContent.find('.js-importMail'); importButton.click(function (e) { if (clicked) return false; clicked = true; diff --git a/plugins/yetiforce/preview.min.js b/plugins/yetiforce/preview.min.js new file mode 100644 index 00000000..192f5e77 --- /dev/null +++ b/plugins/yetiforce/preview.min.js @@ -0,0 +1,7 @@ +'use strict'; + +"use strict";/* {[The file is published on the basis of MIT License]} */function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}// import ICS file action +// Get raw mail body +//Show mail analysis modal +window.rcmail&&rcmail.addEventListener("init",function(){rcmail.crm=rcmail.getCrmWindow();!1===rcmail.crm||(rcmail.env.uid&&rcmail.loadActionBar(),rcmail.env.message_commands.push("yetiforce.importICS"),rcmail.register_command("yetiforce.importICS",function(props,type){rcmail.importICS(props,type);},!0),rcmail.register_command("plugin.yetiforce.loadMailAnalysis",function(props){rcmail.loadMailAnalysis(props);},rcmail.env.uid),rcmail.addEventListener("plugin.yetiforce.showMailAnalysis",function(content){rcmail.showMailAnalysis(content);}),rcmail.message_list&&rcmail.message_list.addEventListener("select",function(list){rcmail.enable_command("plugin.yetiforce.loadMailAnalysis",0").appendTo(data),$("").appendTo(data),$("").appendTo(data);},data:relatedParams,noCache:!0});},rcube_webmail.prototype.getCrmWindow=function(){if(null!==opener&&"object"==opener.parent.CONFIG)return opener.parent;return "object"==_typeof(parent.CONFIG)?parent:"object"==_typeof(parent.parent.CONFIG)?parent.parent:!(null===opener||"object"!=_typeof(opener.crm.CONFIG))&&opener.crm},rcube_webmail.prototype.loadMailAnalysis=function(props){this.http_post("plugin.yetiforce-loadMailAnalysis",this.selection_post_data(),this.set_busy(!0,"loading"));},rcube_webmail.prototype.showMailAnalysis=function(content){var progressIndicatorElement=rcmail.crm.$.progressIndicator();rcmail.crm.AppConnector.request({module:"AppComponents",view:"MailMessageAnalysisModal",content:content}).done(function(data){progressIndicatorElement.progressIndicator({mode:"hide"}),rcmail.crm.app.showModalWindow(data);}).fail(function(){progressIndicatorElement.progressIndicator({mode:"hide"}),rcmail.crm.app.showNotify({text:rcmail.crm.app.vtranslate("JS_ERROR"),type:"error"});});}; +//# sourceMappingURL=preview.min.js.map diff --git a/plugins/yetiforce/preview.min.js.map b/plugins/yetiforce/preview.min.js.map new file mode 100644 index 00000000..a4d3c766 --- /dev/null +++ b/plugins/yetiforce/preview.min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"preview.min.js","sources":["preview.js"],"sourcesContent":["'use strict';\n/* {[The file is published on the basis of MIT License]} */\nif (window.rcmail) {\n\trcmail.addEventListener('init', function () {\n\t\trcmail.crm = rcmail.getCrmWindow();\n\t\tif (rcmail.crm === false) {\n\t\t\treturn;\n\t\t}\n\t\tif (rcmail.env.uid) {\n\t\t\trcmail.loadActionBar();\n\t\t}\n\t\trcmail.env.message_commands.push('yetiforce.importICS');\n\t\trcmail.register_command(\n\t\t\t'yetiforce.importICS',\n\t\t\tfunction (props, type) {\n\t\t\t\trcmail.importICS(props, type);\n\t\t\t},\n\t\t\ttrue\n\t\t);\n\t\trcmail.register_command(\n\t\t\t'plugin.yetiforce.loadMailAnalysis',\n\t\t\tfunction (props) {\n\t\t\t\trcmail.loadMailAnalysis(props);\n\t\t\t},\n\t\t\trcmail.env.uid\n\t\t);\n\t\trcmail.addEventListener('plugin.yetiforce.showMailAnalysis', function (content) {\n\t\t\trcmail.showMailAnalysis(content);\n\t\t});\n\t\tif (rcmail.message_list) {\n\t\t\trcmail.message_list.addEventListener('select', function (list) {\n\t\t\t\trcmail.enable_command('plugin.yetiforce.loadMailAnalysis', list.get_selection(false).length > 0);\n\t\t\t});\n\t\t}\n\t});\n}\n// import ICS file action\nrcube_webmail.prototype.importICS = function (part, type) {\n\tthis.http_post(\n\t\t'plugin.yetiforce-importIcs',\n\t\t{\n\t\t\t_mbox: rcmail.env.mailbox,\n\t\t\t_uid: rcmail.env.uid,\n\t\t\t_part: part,\n\t\t\t_type: type,\n\t\t\t_mailId: this.mailId\n\t\t},\n\t\tthis.set_busy(true, 'loading')\n\t);\n};\nrcube_webmail.prototype.loadActionBar = function () {\n\tthis.crmContent = $('#ytActionBarContent');\n\trcmail.crm.AppConnector.request({\n\t\tmodule: 'OSSMail',\n\t\tview: 'MailActionBar',\n\t\tuid: rcmail.env.uid,\n\t\tfolder: rcmail.env.mailbox,\n\t\trcId: rcmail.env.user_id\n\t}).done(function (response) {\n\t\trcmail.crmContent.find('.ytHeader').html(response);\n\t\t$('#messagecontent').css('top', rcmail.crmContent.outerHeight() + $('#messageheader').outerHeight() + 'px');\n\t\trcmail.registerEvents();\n\t});\n};\nrcube_webmail.prototype.registerEvents = function () {\n\tthis.mailId = this.crmContent.find('#mailActionBarID').val();\n\tthis.registerAddRecord();\n\tthis.registerAddReletedRecord();\n\tthis.registerAddAttachments();\n\tthis.registerSelectRecord();\n\tthis.registerRemoveRecord();\n\tthis.registerImportMail();\n\trcmail.crm.app.registerPopover(this.crmContent.closest('body'));\n\trcmail.crm.app.registerIframeAndMoreContent(this.crmContent.closest('body'));\n\tvar block = this.crmContent.find('.ytHeader .js-data');\n\tthis.crmContent.find('.hideBtn').click(function () {\n\t\tvar button = $(this);\n\t\tvar icon = button.find('span');\n\t\tif (button.data('type') == '0') {\n\t\t\tbutton.data('type', '1');\n\t\t\ticon.removeClass('fa-chevron-circle-up').addClass('fa-chevron-circle-down');\n\t\t} else {\n\t\t\tbutton.data('type', '0');\n\t\t\ticon.removeClass('fa-chevron-circle-down').addClass('fa-chevron-circle-up');\n\t\t}\n\t\tblock.toggle();\n\t\t$(window).trigger('resize');\n\t});\n};\nrcube_webmail.prototype.registerImportMail = function () {\n\tlet clicked = false;\n\tlet importButton = rcmail.crmContent.find('.js-importMail');\n\timportButton.click(function (e) {\n\t\tif (clicked) return false;\n\t\tclicked = true;\n\t\timportButton.addClass('d-none');\n\t\trcmail.crm.app.showNotify({\n\t\t\ttext: rcmail.crm.app.vtranslate('StartedDownloadingEmail'),\n\t\t\ttype: 'info'\n\t\t});\n\t\trcmail.crm.AppConnector.request({\n\t\t\tmodule: 'OSSMail',\n\t\t\taction: 'ImportMail',\n\t\t\tuid: rcmail.env.uid,\n\t\t\tfolder: rcmail.env.mailbox,\n\t\t\trcId: rcmail.env.user_id\n\t\t})\n\t\t\t.done(function (data) {\n\t\t\t\trcmail.loadActionBar();\n\t\t\t\tif (data['result']) {\n\t\t\t\t\trcmail.crm.app.showNotify({\n\t\t\t\t\t\ttext: rcmail.crm.app.vtranslate('AddFindEmailInRecord'),\n\t\t\t\t\t\ttype: 'success'\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\trcmail.crm.app.showNotify({\n\t\t\t\t\t\ttext: rcmail.crm.app.vtranslate('JS_UNEXPECTED_ERROR'),\n\t\t\t\t\t\ttype: 'error'\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t})\n\t\t\t.fail(function () {\n\t\t\t\tclicked = false;\n\t\t\t});\n\t});\n};\nrcube_webmail.prototype.registerAddAttachments = function () {\n\trcmail.crmContent.find('button.addAttachments').click(function (e) {\n\t\tconst row = $(e.currentTarget).closest('.rowRelatedRecord');\n\t\tconst relatedModule = row.data('module');\n\t\tconst relatedRecordId = row.data('id');\n\t\trcmail.crm.app.showRecordsList(\n\t\t\t{\n\t\t\t\tmodule: 'Documents',\n\t\t\t\trelated_parent_module: 'OSSMailView',\n\t\t\t\trelated_parent_id: rcmail.mailId,\n\t\t\t\tmulti_select: true,\n\t\t\t\trecord_selected: true\n\t\t\t},\n\t\t\t(modal, instance) => {\n\t\t\t\tinstance.setSelectEvent((responseData, e) => {\n\t\t\t\t\trcmail.crm.AppConnector.request({\n\t\t\t\t\t\tasync: false,\n\t\t\t\t\t\tdataType: 'json',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\tmodule: relatedModule,\n\t\t\t\t\t\t\taction: 'RelationAjax',\n\t\t\t\t\t\t\tmode: 'addRelation',\n\t\t\t\t\t\t\trelated_module: 'Documents',\n\t\t\t\t\t\t\tsrc_record: relatedRecordId,\n\t\t\t\t\t\t\trelated_record_list: JSON.stringify(Object.keys(responseData))\n\t\t\t\t\t\t}\n\t\t\t\t\t}).done(function (data) {\n\t\t\t\t\t\tlet notifyParams = {\n\t\t\t\t\t\t\ttext: rcmail.crm.app.vtranslate('JS_DOCUMENTS_ADDED'),\n\t\t\t\t\t\t\ttype: 'success',\n\t\t\t\t\t\t\tanimation: 'show'\n\t\t\t\t\t\t};\n\t\t\t\t\t\tif (!data['success']) {\n\t\t\t\t\t\t\tnotifyParams.type = 'error';\n\t\t\t\t\t\t\tnotifyParams.text = rcmail.crm.app.vtranslate('JS_ERROR');\n\t\t\t\t\t\t}\n\t\t\t\t\t\trcmail.crm.app.showNotify(notifyParams);\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t);\n\t});\n};\nrcube_webmail.prototype.registerRemoveRecord = function () {\n\trcmail.crmContent.find('button.removeRecord').click(function (e) {\n\t\trcmail.removeRecord($(e.currentTarget).closest('.rowRelatedRecord').data('id'));\n\t});\n};\nrcube_webmail.prototype.registerSelectRecord = function () {\n\trcmail.crmContent.find('button.selectRecord').click(function (e) {\n\t\tlet relationSelect = rcmail.crmContent.find('#addRelationSelect').val();\n\t\tlet getCacheModule = rcmail.crm.app.moduleCacheGet('selectedModuleName');\n\t\tif (getCacheModule === 'undefined' || relationSelect !== getCacheModule) {\n\t\t\trcmail.crm.app.moduleCacheSet('selectedModuleName', relationSelect);\n\t\t}\n\t\tlet relParams = {\n\t\t\tmailId: rcmail.mailId\n\t\t};\n\t\tif ($(this).data('type') == 0) {\n\t\t\tvar module = $(this).closest('.js-head-container').find('.module').val();\n\t\t\tif (module === null) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else {\n\t\t\tvar module = $(this).data('module');\n\t\t\trelParams.crmid = $(this).closest('.rowRelatedRecord').data('id');\n\t\t\trelParams.mod = $(this).closest('.rowRelatedRecord').data('module');\n\t\t\trelParams.newModule = module;\n\t\t}\n\t\trcmail.showPopup(\n\t\t\t{\n\t\t\t\tmodule: module,\n\t\t\t\tsrc_module: 'OSSMailView',\n\t\t\t\tsrc_record: rcmail.mailId\n\t\t\t},\n\t\t\trelParams\n\t\t);\n\t});\n};\nrcube_webmail.prototype.registerAddReletedRecord = function () {\n\trcmail.crmContent.find('button.addRelatedRecord').click(function (e) {\n\t\tlet targetElement = $(e.currentTarget);\n\t\tlet row = targetElement.closest('.rowRelatedRecord');\n\t\trcmail.showQuickCreateForm(targetElement.data('module'), row.data('id'), {\n\t\t\tsourceModule: row.data('module')\n\t\t});\n\t});\n};\nrcube_webmail.prototype.registerAddRecord = function () {\n\tlet getCacheModule = rcmail.crm.app.moduleCacheGet('selectedModuleName');\n\tif (getCacheModule) {\n\t\trcmail.crmContent.find('#addRelationSelect').val(getCacheModule);\n\t}\n\trcmail.crmContent.find('button.addRecord').click(function (e) {\n\t\tlet relationSelect = rcmail.crmContent.find('#addRelationSelect').val();\n\t\tif (getCacheModule === 'undefined' || relationSelect !== getCacheModule) {\n\t\t\trcmail.crm.app.moduleCacheSet('selectedModuleName', relationSelect);\n\t\t}\n\t\tlet col = $(e.currentTarget).closest('.js-head-container');\n\t\tlet selectValue = col.find('.module').val();\n\t\tif (selectValue !== null) {\n\t\t\tlet relatedRecords = [];\n\t\t\trcmail.crmContent\n\t\t\t\t.find('.js-data')\n\t\t\t\t.find('.rowRelatedRecord')\n\t\t\t\t.each((i, record) => {\n\t\t\t\t\tlet data = $(record).data();\n\t\t\t\t\trelatedRecords.push({\n\t\t\t\t\t\tmodule: data.module,\n\t\t\t\t\t\tid: data.id\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\trcmail.showQuickCreateForm(selectValue, rcmail.mailId, { relatedRecords: relatedRecords });\n\t\t}\n\t});\n};\nrcube_webmail.prototype.removeRecord = function (crmid) {\n\trcmail.crm.AppConnector.request({\n\t\tasync: false,\n\t\tdataType: 'json',\n\t\tdata: {\n\t\t\tmodule: 'OSSMail',\n\t\t\taction: 'ExecuteActions',\n\t\t\tmode: 'removeRelated',\n\t\t\tparams: {\n\t\t\t\tmailId: rcmail.mailId,\n\t\t\t\tcrmid: crmid\n\t\t\t}\n\t\t}\n\t}).done(function (data) {\n\t\tlet response = data['result'];\n\t\tlet notifyParams = {\n\t\t\ttext: response['data'],\n\t\t\tanimation: 'show'\n\t\t};\n\t\tif (response['success']) {\n\t\t\tnotifyParams = {\n\t\t\t\ttext: response['data'],\n\t\t\t\ttype: 'info',\n\t\t\t\tanimation: 'show'\n\t\t\t};\n\t\t}\n\t\trcmail.crm.app.showNotify(notifyParams);\n\t\trcmail.loadActionBar();\n\t});\n};\nrcube_webmail.prototype.showPopup = function (params, actionsParams) {\n\tactionsParams['newModule'] = params['module'];\n\trcmail.crm.app.showRecordsList(params, (modal, instance) => {\n\t\tinstance.setSelectEvent((responseData, e) => {\n\t\t\tactionsParams['newCrmId'] = responseData.id;\n\t\t\trcmail.crm.AppConnector.request({\n\t\t\t\tasync: false,\n\t\t\t\tdataType: 'json',\n\t\t\t\tdata: {\n\t\t\t\t\tmodule: 'OSSMail',\n\t\t\t\t\taction: 'ExecuteActions',\n\t\t\t\t\tmode: 'addRelated',\n\t\t\t\t\tparams: actionsParams\n\t\t\t\t}\n\t\t\t}).done(function (data) {\n\t\t\t\tlet response = data['result'];\n\t\t\t\tif (response['success']) {\n\t\t\t\t\tvar notifyParams = {\n\t\t\t\t\t\ttext: response['data'],\n\t\t\t\t\t\ttype: 'info',\n\t\t\t\t\t\tanimation: 'show'\n\t\t\t\t\t};\n\t\t\t\t} else {\n\t\t\t\t\tvar notifyParams = {\n\t\t\t\t\t\ttext: response['data'],\n\t\t\t\t\t\tanimation: 'show'\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\trcmail.crm.app.showNotify(notifyParams);\n\t\t\t\trcmail.loadActionBar();\n\t\t\t});\n\t\t});\n\t});\n};\nrcube_webmail.prototype.showQuickCreateForm = function (moduleName, record, params = {}) {\n\tlet relatedParams = {},\n\t\tsourceModule = 'OSSMailView';\n\tif (params['sourceModule']) {\n\t\tsourceModule = params['sourceModule'];\n\t}\n\tconst postShown = function (data) {\n\t\t$('').appendTo(data);\n\t\t$('').appendTo(data);\n\t\t$('').appendTo(data);\n\t};\n\tconst ids = {\n\t\tlink: 'modulesLevel0',\n\t\tprocess: 'modulesLevel1',\n\t\tsubprocess: 'modulesLevel2',\n\t\tsubprocess_sl: 'modulesLevel3',\n\t\tlinkextend: 'modulesLevel4'\n\t};\n\tfor (var i in ids) {\n\t\tvar element = rcmail.crmContent.find('#' + ids[i]);\n\t\tvar value = element.length ? JSON.parse(element.val()) : [];\n\t\tif ($.inArray(sourceModule, value) >= 0) {\n\t\t\trelatedParams[i] = record;\n\t\t}\n\t}\n\tconst fillNameFields = (first) => {\n\t\tconst nameData = rcmail.env.yf_fromName.split(' ');\n\t\tconst firstName = nameData.shift();\n\t\tconst lastName = nameData.join(' ');\n\t\treturn first ? firstName : lastName;\n\t};\n\tlet autoCompleteMapRaw = rcmail.crmContent.find('.js-mailAutoCompleteFields').val();\n\tlet autoCompleteMap = autoCompleteMapRaw ? JSON.parse(autoCompleteMapRaw) : [];\n\tif (autoCompleteMap && autoCompleteMap[moduleName]) {\n\t\tlet map = autoCompleteMap[moduleName];\n\t\tfor (let name in map) {\n\t\t\tif (map.hasOwnProperty(name) && map[name]) {\n\t\t\t\tswitch (map[name]) {\n\t\t\t\t\tcase 'fromNameFirstPart':\n\t\t\t\t\t\trelatedParams[name] = fillNameFields(true);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'fromNameSecondPart':\n\t\t\t\t\t\trelatedParams[name] = fillNameFields(false);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'fromName':\n\t\t\t\t\t\trelatedParams[name] = rcmail.env.yf_fromName;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'subject':\n\t\t\t\t\t\trelatedParams[name] = rcmail.env.yf_subject;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'email':\n\t\t\t\t\t\trelatedParams[name] = rcmail.env.yf_fromMail;\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trelatedParams['email'] = rcmail.env.yf_fromMail;\n\trelatedParams['email1'] = rcmail.env.yf_fromMail;\n\tlet messageBody = $('#messagebody .rcmBody').clone();\n\tmessageBody.find('.image-attachment').remove();\n\trelatedParams['description'] = messageBody.html();\n\t//relatedParams['related_to'] = record;\n\tif (params.relatedRecords !== undefined) {\n\t\trelatedParams['relatedRecords'] = params.relatedRecords;\n\t}\n\trelatedParams['sourceModule'] = sourceModule;\n\trelatedParams['sourceRecord'] = record;\n\trelatedParams['relationOperation'] = true;\n\trcmail.crm.App.Components.QuickCreate.createRecord(moduleName, {\n\t\tcallbackFunction: (data) => {\n\t\t\trcmail.loadActionBar();\n\t\t},\n\t\tcallbackPostShown: postShown,\n\t\tdata: relatedParams,\n\t\tnoCache: true\n\t});\n};\nrcube_webmail.prototype.getCrmWindow = function () {\n\tif (opener !== null && opener.parent.CONFIG == 'object') {\n\t\treturn opener.parent;\n\t} else if (typeof parent.CONFIG == 'object') {\n\t\treturn parent;\n\t} else if (typeof parent.parent.CONFIG == 'object') {\n\t\treturn parent.parent;\n\t} else if (opener !== null && typeof opener.crm.CONFIG == 'object') {\n\t\treturn opener.crm;\n\t}\n\treturn false;\n};\n// Get raw mail body\nrcube_webmail.prototype.loadMailAnalysis = function (props) {\n\tthis.http_post('plugin.yetiforce-loadMailAnalysis', this.selection_post_data(), this.set_busy(true, 'loading'));\n};\n//Show mail analysis modal\nrcube_webmail.prototype.showMailAnalysis = function (content) {\n\tlet progressIndicatorElement = rcmail.crm.$.progressIndicator();\n\trcmail.crm.AppConnector.request({\n\t\tmodule: 'AppComponents',\n\t\tview: 'MailMessageAnalysisModal',\n\t\tcontent: content\n\t})\n\t\t.done(function (data) {\n\t\t\tprogressIndicatorElement.progressIndicator({ mode: 'hide' });\n\t\t\trcmail.crm.app.showModalWindow(data);\n\t\t})\n\t\t.fail(function () {\n\t\t\tprogressIndicatorElement.progressIndicator({ mode: 'hide' });\n\t\t\trcmail.crm.app.showNotify({\n\t\t\t\ttext: rcmail.crm.app.vtranslate('JS_ERROR'),\n\t\t\t\ttype: 'error'\n\t\t\t});\n\t\t});\n};\n"],"names":["_typeof","o","Symbol","iterator","constructor","prototype","window","rcmail","addEventListener","crm","getCrmWindow","env","uid","loadActionBar","message_commands","push","register_command","props","type","importICS","loadMailAnalysis","content","showMailAnalysis","message_list","list","enable_command","get_selection","length","rcube_webmail","part","http_post","_mbox","mailbox","_uid","_part","_type","_mailId","mailId","set_busy","crmContent","$","AppConnector","request","module","view","folder","rcId","user_id","done","response","find","html","css","outerHeight","registerEvents","val","registerAddRecord","registerAddReletedRecord","registerAddAttachments","registerSelectRecord","registerRemoveRecord","registerImportMail","app","registerPopover","closest","registerIframeAndMoreContent","block","click","button","icon","data","removeClass","addClass","toggle","trigger","clicked","importButton","showNotify","text","vtranslate","action","result","fail","e","row","currentTarget","relatedModule","relatedRecordId","showRecordsList","related_parent_module","related_parent_id","multi_select","record_selected","modal","instance","setSelectEvent","responseData","async","dataType","mode","related_module","src_record","related_record_list","JSON","stringify","Object","keys","notifyParams","animation","success","removeRecord","relationSelect","getCacheModule","moduleCacheGet","moduleCacheSet","relParams","crmid","mod","newModule","showPopup","src_module","targetElement","showQuickCreateForm","sourceModule","col","selectValue","relatedRecords","each","i","record","id","params","actionsParams","newCrmId","moduleName","arguments","relatedParams","ids","link","process","subprocess","subprocess_sl","linkextend","element","value","parse","inArray","fillNameFields","first","nameData","yf_fromName","split","firstName","shift","lastName","join","autoCompleteMapRaw","autoCompleteMap","map","name","hasOwnProperty","yf_subject","yf_fromMail","email","email1","messageBody","clone","remove","description","sourceRecord","relationOperation","App","Components","QuickCreate","createRecord","callbackFunction","callbackPostShown","postShown","appendTo","noCache","opener","parent","CONFIG","selection_post_data","progressIndicatorElement","progressIndicator","showModalWindow"],"mappings":";;AAAA,YAAY,CACZ,2DAAAA,SAAAA,OAAAA,CAAAC,CAAA,CAAAD,CAAAA,yBAAAA,CAAAA,OAAAA,OAAA,oBAAAE,MAAA,EAAA,QAAA,EAAA,OAAAA,MAAA,CAAAC,QAAA,CAAAF,SAAAA,CAAA,gBAAAA,CAAA,CAAA,CAAA,SAAAA,CAAA,CAAAA,CAAAA,OAAAA,CAAA,EAAAC,UAAAA,EAAAA,OAAAA,MAAA,EAAAD,CAAA,CAAAG,WAAA,GAAAF,MAAA,EAAAD,CAAA,GAAAC,MAAA,CAAAG,SAAA,CAAAJ,QAAAA,CAAAA,OAAAA,CAAA,EAAAD,OAAA,CAAAC,CAAA,CAmCA,CAAA;AAwWA;AAIA;AA9YIK,MAAM,CAACC,MAAM,EAChBA,MAAM,CAACC,gBAAgB,CAAC,MAAM,CAAE,UAAY,CAC3CD,MAAM,CAACE,GAAG,CAAGF,MAAM,CAACG,YAAY,EAAE,CAC9B,CAAA,CAAA,GAAAH,MAAM,CAACE,GAAa,GAGpBF,MAAM,CAACI,GAAG,CAACC,GAAG,EACjBL,MAAM,CAACM,aAAa,EAAE,CAEvBN,MAAM,CAACI,GAAG,CAACG,gBAAgB,CAACC,IAAI,CAAC,qBAAqB,CAAC,CACvDR,MAAM,CAACS,gBAAgB,CACtB,qBAAqB,CACrB,SAAUC,KAAK,CAAEC,IAAI,CAAE,CACtBX,MAAM,CAACY,SAAS,CAACF,KAAK,CAAEC,IAAI,EAC7B,CAAC,CAEF,CAAA,CAAA,CAAC,CACDX,MAAM,CAACS,gBAAgB,CACtB,mCAAmC,CACnC,SAAUC,KAAK,CAAE,CAChBV,MAAM,CAACa,gBAAgB,CAACH,KAAK,EAC9B,CAAC,CACDV,MAAM,CAACI,GAAG,CAACC,GACZ,CAAC,CACDL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I,CAAE,OACP,CAAC,EACF,CAAC,EACH,CAAC;;"} \ No newline at end of file diff --git a/version.php b/version.php index ea61a8ef..79c3c7d1 100644 --- a/version.php +++ b/version.php @@ -1,6 +1,6 @@ '2024.03.07', - 'version' => '0.4.0', + 'patch' => '2024.06.05', + 'version' => '0.4.1', ];