mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-06 16:04:20 +00:00
deploy: 7fd82e116a7b57a8b2452810995d783d99e164ad
This commit is contained in:
1 parent
a294e66afe
commit
bcfd46a045
3 files changed
+5
-5
No files matched your search
@@ -11,6 +11,6 @@ _flutter.buildConfig = {"engineRevision":"a18df97ca57a249df5d8d68cd0820600223ce2
|
||||
|
||||
_flutter.loader.load({
|
||||
serviceWorkerSettings: {
|
||||
serviceWorkerVersion: "4168679809"
|
||||
serviceWorkerVersion: "1190502527"
|
||||
}
|
||||
});
|
||||
@@ -22,7 +22,7 @@ const RESOURCES = {"canvaskit/skwasm.wasm": "9f0c0c02b82a910d12ce0543ec130e60",
|
||||
"main.dart.js_7.part.js": "721a22e07e043a3bdba8bd1278eeeb9b",
|
||||
"main.dart.js_3.part.js": "a66793470de1d8bd5edd142bd0f5a473",
|
||||
"main.dart.js_4.part.js": "471691b590a2c6c8a6fff2902bb2fa92",
|
||||
"main.dart.js": "6ff51380a6f0c97c1fda1b838266439d",
|
||||
"main.dart.js": "62414fc477cd4eaae12d5f617a0b88d8",
|
||||
"main.dart.js_10.part.js": "997b5562b50999ce91271a95ac1858dc",
|
||||
"main.dart.js_11.part.js": "105ecc5f9ab5cd875af4c617ff22aaf7",
|
||||
"main.dart.js_1.part.js": "c0b5cc0ecaf88e35e1321444443f682b",
|
||||
@@ -349,7 +349,7 @@ const RESOURCES = {"canvaskit/skwasm.wasm": "9f0c0c02b82a910d12ce0543ec130e60",
|
||||
"icons/Icon-maskable-512.png": "3a55e614a03964225fd5b8ca94384524",
|
||||
"main.dart.js_5.part.js": "5e961e61a5e5d60d6666e21ae0884e58",
|
||||
"main.dart.js_6.part.js": "744d527e837452bb120cddfc0791e228",
|
||||
"flutter_bootstrap.js": "bd49956043d7db069fa257faeb0eeb1e",
|
||||
"flutter_bootstrap.js": "572d919a62e387feabe692ffe94ea44c",
|
||||
"main.dart.js_2.part.js": "c26a9b55db8d3d969764f50e1012d63d",
|
||||
"version.json": "8cae8166cc0649ed214971389d9c387c",
|
||||
"main.dart.js_8.part.js": "a70ceb40a8e47c983ad72eb9a7701ef0",
|
||||
|
||||
+2
-2
@@ -304367,7 +304367,7 @@
|
||||
return A._asyncAwait(A.HtmlEditorUtils_loadAssetAsString(string$.packagsn), $async$initSummernote$0);
|
||||
case 2:
|
||||
// returning from await.
|
||||
htmlString = $async$temp1.replaceFirst$2($async$temp2.replaceFirst$2($async$temp3.replaceFirst$2($async$temp4.replaceFirst$2($async$temp5.replaceFirst$2($async$result, "<!--customInternalCSS-->", $async$self._widget.htmlEditorOptions.customInternalCSS), "<!--darkCSS-->", darkCSS), "<!--headString-->", headString), "<!--summernoteScripts-->", ' <script type="text/javascript">\n $(document).ready(function () {\n $(\'#summernote-2\').summernote({\n placeholder: "' + A.S(t1.hint) + '",\n tabsize: 2,\n disableResizeEditor: false,\n disableDragAndDrop: ' + t1.disableDragAndDrop + ",\n disableGrammar: false,\n spellCheck: " + t1.spellCheck + ",\n maximumFileSize: 10485760,\n \n " + (summernoteCallbacks + "}") + "\n });\n \n $('#summernote-2').on('summernote.change', function(_, contents, $editable) {\n window.parent.postMessage(JSON.stringify({\"view\": \"" + t2 + '", "type": "toDart: onChangeContent", "contents": contents}), "*");\n });\n });\n \n window.parent.addEventListener(\'message\', handleMessage, false);\n document.onselectionchange = onSelectionChange;\n \n function handleMessage(e) {\n if (e && e.data && e.data.includes("toIframe:")) {\n var data = JSON.parse(e.data);\n if (data["view"].includes("' + t2 + '")) {\n if (data["type"].includes("getText")) {\n var str = $(\'#summernote-2\').summernote(\'code\');\n window.parent.postMessage(JSON.stringify({"type": "toDart: getText", "text": str}), "*");\n }\n if (data["type"].includes("getTextWithSignatureContent")) {\n const nodeSignature = document.querySelector(\'.note-editable > .tmail-signature\');\n const signatureContent = document.querySelector(\'.note-editable > .tmail-signature > .tmail-signature-content\');\n if (nodeSignature && signatureContent) {\n signatureContent.className = \'tmail-signature\';\n signatureContent.style.display = \'block\';\n signatureContent.style.clear = \'both\';\n \n if (nodeSignature.outerHTML) {\n nodeSignature.outerHTML = signatureContent.outerHTML;\n } else { \n nodeSignature.parentNode.replaceChild(signatureContent, nodeSignature); \n }\n }\n \n \n var str = $(\'#summernote-2\').summernote(\'code\');\n window.parent.postMessage(JSON.stringify({"type": "toDart: getTextWithSignatureContent", "text": str}), "*");\n }\n if (data["type"].includes("setInputType")) {\n document.getElementsByClassName(\'note-editable\')[0].setAttribute(\'inputmode\', \'text\');\n }\n if (data["type"].includes("setDimensionDropZone")) {\n var styleDropZone = "";\n if (data["height"]) {\n styleDropZone = "height:" + data["height"] + "px;";\n }\n if (data["width"]) {\n styleDropZone = styleDropZone + "width:" + data["width"] + "px;";\n }\n const nodeDropZone = document.querySelector(\'.note-editor > .note-dropzone\');\n if (nodeDropZone) {\n nodeDropZone.setAttribute(\'style\', styleDropZone);\n }\n }\n if (data["type"].includes("setText")) {\n $(\'#summernote-2\').summernote(\'code\', data["text"]);\n }\n if (data["type"].includes("setFullScreen")) {\n $("#summernote-2").summernote("fullscreen.toggle");\n }\n if (data["type"].includes("isFullScreen")) {\n var changed = $(\'#summernote-2\').summernote(\'fullscreen.isFullscreen\');\n window.parent.postMessage(JSON.stringify({"type": "toDart: isFullScreen", "value": changed}), "*");\n }\n if (data["type"].includes("setFocus")) {\n $(\'#summernote-2\').summernote(\'focus\');\n }\n if (data["type"].includes("clear")) {\n $(\'#summernote-2\').summernote(\'reset\');\n }\n if (data["type"].includes("setHint")) {\n $(".note-placeholder").html(data["text"]);\n }\n if (data["type"].includes("toggleCodeview")) {\n $(\'#summernote-2\').summernote(\'codeview.toggle\');\n }\n if (data["type"].includes("isActivatedCodeView")) {\n var changed = $(\'#summernote-2\').summernote(\'codeview.isActivated\');\n window.parent.postMessage(JSON.stringify({"type": "toDart: isActivatedCodeView", "value": changed}), "*");\n }\n if (data["type"].includes("disable")) {\n
Line truncated
|
||||
htmlString = $async$temp1.replaceFirst$2($async$temp2.replaceFirst$2($async$temp3.replaceFirst$2($async$temp4.replaceFirst$2($async$temp5.replaceFirst$2($async$result, "<!--customInternalCSS-->", $async$self._widget.htmlEditorOptions.customInternalCSS), "<!--darkCSS-->", darkCSS), "<!--headString-->", headString), "<!--summernoteScripts-->", ' <script type="text/javascript">\n $(document).ready(function () {\n $(\'#summernote-2\').summernote({\n placeholder: "' + A.S(t1.hint) + '",\n tabsize: 2,\n disableResizeEditor: false,\n disableDragAndDrop: ' + t1.disableDragAndDrop + ",\n disableGrammar: false,\n spellCheck: " + t1.spellCheck + ",\n maximumFileSize: 10485760,\n \n " + (summernoteCallbacks + "}") + "\n });\n \n $('#summernote-2').on('summernote.change', function(_, contents, $editable) {\n window.parent.postMessage(JSON.stringify({\"view\": \"" + t2 + '", "type": "toDart: onChangeContent", "contents": contents}), "*");\n });\n });\n \n window.parent.addEventListener(\'message\', handleMessage, false);\n document.onselectionchange = onSelectionChange;\n \n function handleMessage(e) {\n if (e && e.data && e.data.includes("toIframe:")) {\n var data = JSON.parse(e.data);\n if (data["view"].includes("' + t2 + '")) {\n if (data["type"].includes("getText")) {\n var str = $(\'#summernote-2\').summernote(\'code\');\n window.parent.postMessage(JSON.stringify({"type": "toDart: getText", "text": str}), "*");\n }\n if (data["type"].includes("getTextWithSignatureContent")) {\n const nodeSignature = document.querySelector(\'.note-editable > .tmail-signature\');\n const signatureContent = document.querySelector(\'.note-editable > .tmail-signature > .tmail-signature-content\');\n if (nodeSignature && signatureContent) {\n signatureContent.className = \'tmail-signature\';\n signatureContent.style.display = \'block\';\n signatureContent.style.clear = \'both\';\n \n if (nodeSignature.outerHTML) {\n nodeSignature.outerHTML = signatureContent.outerHTML;\n } else { \n nodeSignature.parentNode.replaceChild(signatureContent, nodeSignature); \n }\n }\n \n \n var str = $(\'#summernote-2\').summernote(\'code\');\n window.parent.postMessage(JSON.stringify({"type": "toDart: getTextWithSignatureContent", "text": str}), "*");\n }\n if (data["type"].includes("setInputType")) {\n document.getElementsByClassName(\'note-editable\')[0].setAttribute(\'inputmode\', \'text\');\n }\n if (data["type"].includes("setDimensionDropZone")) {\n var styleDropZone = "";\n if (data["height"]) {\n styleDropZone = "height:" + data["height"] + "px;";\n }\n if (data["width"]) {\n styleDropZone = styleDropZone + "width:" + data["width"] + "px;";\n }\n const nodeDropZone = document.querySelector(\'.note-editor > .note-dropzone\');\n if (nodeDropZone) {\n nodeDropZone.setAttribute(\'style\', styleDropZone);\n }\n }\n if (data["type"].includes("setText")) {\n $(\'#summernote-2\').summernote(\'code\', data["text"]);\n }\n if (data["type"].includes("setFullScreen")) {\n $("#summernote-2").summernote("fullscreen.toggle");\n }\n if (data["type"].includes("isFullScreen")) {\n var changed = $(\'#summernote-2\').summernote(\'fullscreen.isFullscreen\');\n window.parent.postMessage(JSON.stringify({"type": "toDart: isFullScreen", "value": changed}), "*");\n }\n if (data["type"].includes("setFocus")) {\n $(\'#summernote-2\').summernote(\'focus\');\n }\n if (data["type"].includes("clear")) {\n $(\'#summernote-2\').summernote(\'reset\');\n }\n if (data["type"].includes("setHint")) {\n $(".note-placeholder").html(data["text"]);\n }\n if (data["type"].includes("toggleCodeview")) {\n $(\'#summernote-2\').summernote(\'codeview.toggle\');\n }\n if (data["type"].includes("isActivatedCodeView")) {\n var changed = $(\'#summernote-2\').summernote(\'codeview.isActivated\');\n window.parent.postMessage(JSON.stringify({"type": "toDart: isActivatedCodeView", "value": changed}), "*");\n }\n if (data["type"].includes("disable")) {\n
Line truncated
|
||||
$async$goto = $async$self._widget.htmlEditorOptions.cacheHTMLAssetOffline ? 3 : 5;
|
||||
break;
|
||||
case 3:
|
||||
@@ -344995,7 +344995,7 @@
|
||||
t1 = _this.richTextWebController;
|
||||
if (t1 != null) {
|
||||
t1 = t1.editorController;
|
||||
t1.insertHtml$1("<div>" + success.base64Uri + "</div><br>");
|
||||
t1._evaluateJavascriptWeb$1$data(A.LinkedHashMap_LinkedHashMap$_literal(["type", "toIframe: insertImage", "source", "<div>" + success.base64Uri + "</div><br>"], type$.String, type$.nullable_Object));
|
||||
}
|
||||
_this.maxWithEditor = null;
|
||||
} else
|
||||
|
||||
Reference in new issue
Block a user