YetiForceCompany/YetiForceCRM

View on GitHub
public_html/layouts/basic/modules/OSSMailView/resources/Preview.min.js.map

Summary

Maintainability
Test Coverage
{"version":3,"file":"Preview.min.js","sources":["Preview.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\njQuery.Class(\n\t'OSSMailView_Preview_Js',\n\t{\n\t\tprintMail: function () {\n\t\t\tvar content = window.open();\n\t\t\t$('.emailPreview > div').each(function (index) {\n\t\t\t\tif ($(this).hasClass('content')) {\n\t\t\t\t\tlet html = $(this).find('iframe').attr('srcdoc');\n\t\t\t\t\tcontent.document.write(html + '<br />');\n\t\t\t\t} else {\n\t\t\t\t\tcontent.document.write($.trim($(this).text()) + '<br />');\n\t\t\t\t}\n\t\t\t});\n\t\t\tcontent.print();\n\t\t}\n\t},\n\t{\n\t\tregisterEvents: function () {\n\t\t\tlet container = jQuery('div.mainBody');\n\t\t\tVtiger_Index_Js.registerMailButtons(container);\n\t\t}\n\t}\n);\n"],"names":["jQuery","Class","printMail","content","window","open","$","each","hasClass","html","find","attr","document","write","trim","text","print","registerEvents","container","Vtiger_Index_Js","registerMailButtons"],"mappings":";;AAAA,kKACA,YAAY,CAEZA,MAAM,CAACC,KAAK,CACX,wBAAwB,CACxB,CACCC,SAAS,CAAE,SAAAA,WAAY,CACtB,IAAIC,OAAO,CAAGC,MAAM,CAACC,IAAI,EAAE,CAC3BC,CAAC,CAAC,qBAAqB,CAAC,CAACC,IAAI,CAAC,UAAiB,CAC9C,GAAID,CAAC,CAAC,IAAI,CAAC,CAACE,QAAQ,CAAC,SAAS,CAAC,CAAE,CAChC,IAAIC,IAAI,CAAGH,CAAC,CAAC,IAAI,CAAC,CAACI,IAAI,CAAC,QAAQ,CAAC,CAACC,IAAI,CAAC,QAAQ,CAAC,CAChDR,OAAO,CAACS,QAAQ,CAACC,KAAK,CAACJ,IAAI,CAAG,QAAQ,EACvC,CAAC,KACAN,OAAO,CAACS,QAAQ,CAACC,KAAK,CAACP,CAAC,CAACQ,IAAI,CAACR,CAAC,CAAC,IAAI,CAAC,CAACS,IAAI,EAAE,CAAC,CAAG,QAAQ,EAE1D,CAAC,CAAC,CACFZ,OAAO,CAACa,KAAK,GACd,CACD,CAAC,CACD,CACCC,cAAc,CAAE,SAAAA,cAAAA,EAAY,CAC3B,IAAIC,SAAS,CAAGlB,MAAM,CAAC,cAAc,CAAC,CACtCmB,eAAe,CAACC,mBAAmB,CAACF,SAAS,EAC9C,CACD,CACD,CAAC;;"}