YetiForceCompany/YetiForceCRM

View on GitHub
public_html/layouts/basic/modules/Vtiger/resources/MeetingModal.min.js.map

Summary

Maintainability
Test Coverage
{"version":3,"file":"MeetingModal.min.js","sources":["MeetingModal.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$.Class(\n\t'Base_MeetingModal_JS',\n\t{},\n\t{\n\t\t/**\n\t\t * Modal container\n\t\t */\n\t\tcontainer: false,\n\n\t\t/**\n\t\t * Register modal events\n\t\t * @param {jQuery} modalContainer\n\t\t */\n\t\tregisterEvents: function (modalContainer) {\n\t\t\tthis.container = modalContainer;\n\t\t\tApp.Fields.Text.registerCopyClipboard(this.container, '.js-clipboard');\n\t\t\tVtiger_Index_Js.registerMailButtons(this.container);\n\t\t\tthis.container.on('click', '.js-template-copy', (e) => {\n\t\t\t\tlet frameContainer = $(e.currentTarget.dataset.clipboardTarget).get(0);\n\t\t\t\tframeContainer.contentDocument.designMode = 'on';\n\t\t\t\tframeContainer.contentDocument.execCommand('selectAll', false, null);\n\t\t\t\tframeContainer.contentDocument.execCommand('copy', false, null);\n\t\t\t\tframeContainer.contentDocument.designMode = 'off';\n\t\t\t\tapp.showNotify({\n\t\t\t\t\ttext: app.vtranslate('JS_NOTIFY_COPY_TEXT'),\n\t\t\t\t\ttype: 'success'\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t}\n);\n"],"names":["$","Class","container","registerEvents","modalContainer","App","Fields","Text","registerCopyClipboard","Vtiger_Index_Js","registerMailButtons","on","e","frameContainer","currentTarget","dataset","clipboardTarget","get","contentDocument","designMode","execCommand","app","showNotify","text","vtranslate","type"],"mappings":";;AAAA,kKACA,YAAY,CAEZA,CAAC,CAACC,KAAK,CACN,sBAAsB,CACtB,EAAE,CACF;AAED;AACA,KACEC,SAAS,GAAO;AAGlB;AACA;AACA,KACEC,cAAc,CAAE,SAAAA,cAAAA,CAAUC,cAAc,CAAE,CACzC,IAAI,CAACF,SAAS,CAAGE,cAAc,CAC/BC,GAAG,CAACC,MAAM,CAACC,IAAI,CAACC,qBAAqB,CAAC,IAAI,CAACN,SAAS,CAAE,eAAe,CAAC,CACtEO,eAAe,CAACC,mBAAmB,CAAC,IAAI,CAACR,SAAS,CAAC,CACnD,IAAI,CAACA,SAAS,CAACS,EAAE,CAAC,OAAO,CAAE,mBAAmB,CAAE,SAACC,CAAC,CAAK,CACtD,IAAIC,cAAc,CAAGb,CAAC,CAACY,CAAC,CAACE,aAAa,CAACC,OAAO,CAACC,eAAe,CAAC,CAACC,GAAG,CAAC,CAAC,CAAC,CACtEJ,cAAc,CAACK,eAAe,CAACC,UAAU,CAAG,IAAI,CAChDN,cAAc,CAACK,eAAe,CAACE,WAAW,CAAC,WAAW,CAAA,CAAA,CAAA,CAAS,IAAI,CAAC,CACpEP,cAAc,CAACK,eAAe,CAACE,WAAW,CAAC,MAAM,IAAS,IAAI,CAAC,CAC/DP,cAAc,CAACK,eAAe,CAACC,UAAU,CAAG,KAAK,CACjDE,GAAG,CAACC,UAAU,CAAC,CACdC,IAAI,CAAEF,GAAG,CAACG,UAAU,CAAC,qBAAqB,CAAC,CAC3CC,IAAI,CAAE,SACP,CAAC,EACF,CAAC,EACF,CACD,CACD,CAAC;;"}