pxx-vue-quill 1.0.39 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue-quill.cjs.js +1 -1
- package/dist/vue-quill.cjs.prod.js +1 -1
- package/dist/vue-quill.core.css +391 -0
- package/dist/vue-quill.core.prod.css +1 -0
- package/dist/vue-quill.esm-browser.js +1 -1
- package/dist/vue-quill.esm-browser.prod.js +2 -2
- package/dist/vue-quill.esm-bundler.js +1 -1
- package/dist/vue-quill.esm-bundler.prod.js +1 -1
- package/dist/vue-quill.global.js +1 -1
- package/dist/vue-quill.global.prod.js +2 -2
- package/dist/vue-quill.snow.css +1007 -0
- package/dist/vue-quill.snow.prod.css +1 -0
- package/package.json +11 -2
- package/index.js +0 -7
package/dist/vue-quill.cjs.js
CHANGED
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Copyright (c) 2025 Pxx-Team
|
|
9
9
|
* Released under the MIT license
|
|
10
|
-
* Date: 2025-08-29T09:
|
|
10
|
+
* Date: 2025-08-29T09:28:40.838Z
|
|
11
11
|
*/
|
|
12
12
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("quill"),t=require("quill-delta"),o=require("vue"),l=require("quill-blot-formatter");function i(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var n=i(e),r=i(t),s=i(l);const a={full:[["bold","italic","underline"],[{color:[]}],["link"],[{list:"ordered"},{list:"bullet"}],["image"],["undo","redo"],["math"],["ocr"]]},d=o.defineComponent({name:"MoreToolbar",props:{editorKey:{type:String,required:!0},toolbarStyle:{type:Object,default:()=>({})},showMoreToolbar:{type:Boolean,default:!1}},emits:["toolClick"],setup:(e,{emit:t})=>()=>o.h("div",{id:"toolbar-"+e.editorKey,dataC:e.showMoreToolbar,style:{...e.toolbarStyle}},[o.h("div",{class:{"short-tools":!0,collapse:e.showMoreToolbar}},[o.h("span",{class:"ql-formats"},[o.h("button",{class:"ql-bold",type:"button"},""),o.h("button",{class:"ql-italic",type:"button"},""),o.h("button",{class:"ql-underline",type:"button"},"")]),o.h("span",{class:"ql-formats"},[o.h("select",{class:"ql-color ql-picker ql-color-picker ql-expanded",type:"button"},[o.h("span",{class:"ql-picker-label"},""),o.h("div",{class:"ql-picker-options"})])]),o.h("span",{class:"ql-formats"},[o.h("button",{class:"ql-link",type:"button"},"")]),o.h("span",{class:"ql-formats"},[o.h("button",{class:"ql-more mr-0",type:"button",onClick:()=>t("toolClick","more")},"")])]),o.h("div",{class:{"more-tools":!0,collapse:e.showMoreToolbar},style:{display:e.showMoreToolbar?"block":"none"}},[o.h("div",{class:"more-tools-item"},[o.h("span",{class:"ql-formats"},[o.h("button",{class:"ql-list",value:"ordered",type:"button"},""),o.h("button",{class:"ql-list",value:"bullet",type:"button"},"")]),o.h("span",{class:"ql-formats"},[o.h("button",{class:"ql-image",type:"button"},"")]),o.h("span",{class:"ql-formats"},[o.h("button",{class:"ql-undo",type:"button",onClick:()=>t("toolClick","undo")},""),o.h("button",{class:"ql-redo",type:"button",onClick:()=>t("toolClick","redo")},"")]),o.h("span",{class:"ql-formats"},[o.h("button",{class:"ql-math mr-0",type:"button",onClick:()=>t("toolClick","math")},"")])]),o.h("div",{},[o.h("span",{class:"ql-formats"},[o.h("button",{class:"ql-ocr",type:"button",onClick:()=>t("toolClick","ocr")},"")])])])])}),c=o.defineComponent({name:"QuillEditor",inheritAttrs:!1,props:{editorKey:{type:[String,Number]},content:{type:[String,Object]},contentType:{type:String,default:"delta",validator:e=>["delta","html","text"].includes(e)},enable:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},placeholder:{type:String,required:!1,default:"请输入内容"},toolbarMode:{type:String,default:"embedded",validator:e=>["fixed-top","embedded"].includes(e)},needCollapse:{type:Boolean,default:!1},toolbarStyle:{type:Object,required:!1,default:()=>({})},editorStyle:{type:Object,required:!1,default:()=>({})},modules:{type:Object,required:!1,default:()=>({name:"blotFormatter",module:s})},options:{type:Object,required:!1},globalOptions:{type:Object,required:!1}},emits:["textChange","selectionChange","editorChange","update:content","focus","blur","ready","ocr","math","image"],setup:(e,t)=>{let l,i;o.onMounted((()=>{Q()})),o.onBeforeUnmount((()=>{l=null}));const s=o.ref(),d=o.ref(!1),c=o.computed((()=>({"quill-editor-container":!0,"more-toolbar":d.value,[e.toolbarMode]:!0,"no-collapse":!e.needCollapse})));o.watchEffect((()=>{!e.needCollapse&&e.toolbarStyle&&(()=>{var t;if(l&&e.toolbarStyle){const o=null===(t=l.getModule("toolbar"))||void 0===t?void 0:t.container;o&&Object.assign(o.style,e.toolbarStyle)}})()})),o.watchEffect((()=>{console.log("init"),(()=>{var t;if(l&&e.editorStyle){const o=null===(t=s.value)||void 0===t?void 0:t.querySelector(".ql-editor");o&&Object.assign(o.style,e.editorStyle)}})()}));const u=(e,t)=>{n.register(e,t)},Q=()=>{var o,r;if(!s.value)return;l=new n(s.value,i);const a=null===(o=null==l?void 0:l.getModule("toolbar"))||void 0===o?void 0:o.container;a&&(a.style.display="none");const d=n.import("ui/icons");if(d.bold='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="18" height="18" viewBox="0 0 18 18"><g><g style="opacity:0;"><rect x="0" y="0" width="18" height="18" rx="0" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M6.794999938146972,7.7800002288818355L9.045000038146974,7.7800002288818355Q9.855000038146972,7.7800002288818355,10.230000038146972,7.442500128881836Q10.605000038146972,7.105000028881836,10.605000038146972,6.505000128881836Q10.605000038146972,6.114999728881836,10.440000038146973,5.860000628881836Q10.275000138146972,5.6050005288818365,9.929999838146973,5.470000228881836Q9.585000038146973,5.335000028881836,9.045000038146974,5.335000028881836L7.139999938146973,5.335000028881836L7.139999938146973,3.385000228881836L9.045000038146974,3.385000228881836Q10.034999838146973,3.385000228881836,10.852499938146973,3.797500608881836Q11.670000038146974,4.2100000388818355,12.142499938146972,4.922500628881836Q12.614999738146974,5.635000228881836,12.614999738146974,6.505000128881836Q12.614999738146974,7.375000028881836,12.142499938146972,8.042500028881836Q11.670000038146974,8.710000028881836,10.860000138146972,9.070000128881837Q10.050000238146973,9.430000328881835,9.045000038146974,9.430000328881835L6.794999938146972,9.430000328881835L6.794999938146972,7.7800002288818355ZM7.139999938146973,12.550000228881835L9.329999938146972,12.550000228881835Q9.900000138146972,12.550000228881835,10.327499838146974,12.354999528881836Q10.755000138146972,12.159999828881835,10.987500238146973,11.807499928881835Q11.219999838146972,11.454999928881836,11.219999838146972,11.020000428881836Q11.219999838146972,10.600000428881836,10.987500238146973,10.232500028881836Q10.755000138146972,9.864999728881836,10.327499838146974,9.647500028881836Q9.900000138146972,9.430000328881835,9.329999938146972,9.430000328881835L6.975000038146972,9.430000328881835L6.975000038146972,7.7800002288818355L9.329999938146972,7.7800002288818355Q10.349999938146972,7.7800002288818355,11.250000038146972,8.200000328881835Q12.149999638146973,8.620000328881837,12.690000538146972,9.362500228881835Q13.229999538146973,10.104999528881836,13.229999538146973,11.034999828881837Q13.229999538146973,11.949999828881836,12.690000538146972,12.752500528881836Q12.149999638146973,13.555000228881836,11.250000038146972,14.027500228881836Q10.349999938146972,14.500000228881836,9.329999938146972,14.500000228881836L7.139999938146973,14.500000228881836L7.139999938146973,12.550000228881835ZM7.064999938146973,14.500000228881836Q6.284999968146972,14.500000228881836,5.872500058146973,14.095000228881837Q5.460000038146973,13.689999228881836,5.460000038146973,12.895000428881836L5.460000038146973,4.989999728881836Q5.460000038146973,4.195000648881836,5.872500058146973,3.789999958881836Q6.284999968146972,3.385000228881836,7.064999938146973,3.385000228881836L7.469999838146973,3.385000228881836L7.469999838146973,14.500000228881836L7.064999938146973,14.500000228881836Z" fill="#555555" fill-opacity="1"/></g></g></svg>',d.italic='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="18" height="18" viewBox="0 0 18 18"><g><g style="opacity:0;"><rect x="0" y="0" width="18" height="18" rx="0" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M8,3Q7.9015086,3,7.8049095,3.019214718Q7.7083106,3.038429435,7.6173165,3.076120459Q7.5263224,3.11381148,7.4444296,3.16853037Q7.3625371,3.2232492600000002,7.2928932,3.2928932Q7.2232492,3.36253715,7.1685302,3.4444297600000002Q7.1138113999999995,3.52632231,7.0761204,3.61731648Q7.0384293,3.70831072,7.0192146,3.80490965Q6.99999994,3.90150857,7,4Q6.99999994,4.0984913,7.0192146,4.1950902Q7.0384293,4.291689,7.0761204,4.3826833Q7.1138113999999995,4.4736774,7.1685302,4.5555699Q7.2232492,4.6374626,7.2928932,4.7071065999999995Q7.3625371,4.7767504,7.4444296,4.8314693Q7.5263224,4.8861883,7.6173165,4.9238794Q7.7083106,4.9615704,7.8049096,4.9807851Q7.9015086,4.9999999,8,5L9.137146,5L8,13L7,13Q6.90150857,13,6.80490965,13.019215Q6.70831072,13.038429,6.6173164799999995,13.07612Q6.52632231,13.113811,6.44442973,13.16853Q6.36253715,13.223249,6.2928932,13.292892Q6.22324926,13.362536,6.16853037,13.444429Q6.11381148,13.526321,6.076120459,13.617315Q6.038429435,13.708309,6.019214718,13.804909Q6,13.901508,6,14Q6,14.098491,6.019214718,14.195089Q6.038429435,14.291689,6.076120459,14.382683Q6.11381148,14.473677,6.16853037,14.555569Q6.22324926,14.637462,6.2928932,14.707106Q6.36253715,14.77675,6.44442976,14.831469Q6.52632231,14.886187,6.6173164799999995,14.923878Q6.70831072,14.961569,6.80490965,14.980784Q6.90150857,15,7,15L11,15Q11.0984912,15,11.1950898,14.980784Q11.2916889,14.961569,11.382682800000001,14.923878Q11.473677200000001,14.886187,11.5555696,14.831469Q11.6374626,14.77675,11.7071066,14.707106Q11.7767506,14.637462,11.8314691,14.555569Q11.8861876,14.473677,11.9238791,14.382683Q11.9615698,14.291689,11.9807849,14.195089Q12,14.098491,12,14Q12,13.901508,11.9807849,13.804909Q11.9615698,13.708309,11.9238791,13.617315Q11.8861876,13.526321,11.8314691,13.444428Q11.7767506,13.362536,11.7071066,13.292892Q11.6374626,13.223249,11.5555701,13.16853Q11.473677200000001,13.113811,11.382682800000001,13.07612Q11.2916889,13.038429,11.1950903,13.019215Q11.0984912,13,11,13L9.8626451,13L11,5L12,5Q12.0984907,4.9999999,12.1950893,4.9807851Q12.2916884,4.9615703,12.382682800000001,4.9238793Q12.4736767,4.8861883,12.5555696,4.8314693Q12.6374621,4.7767504,12.7071061,4.7071065999999995Q12.776750100000001,4.6374626,12.831468600000001,4.5555699Q12.8861876,4.4736774,12.9238787,4.3826833Q12.9615698,4.291689,12.9807849,4.1950902Q12.999999500000001,4.0984913,13,4Q12.999999500000001,3.90150857,12.980784400000001,3.80490965Q12.9615698,3.70831072,12.9238787,3.61731648Q12.8861876,3.52632231,12.8314691,3.44442973Q12.7767506,3.36253715,12.7071066,3.2928932Q12.6374626,3.2232492600000002,12.5555696,3.16853037Q12.4736767,3.11381148,12.382682800000001,3.076120459Q12.2916884,3.038429435,12.1950898,3.019214718Q12.0984907,3,12,3L8,3Z" fill-rule="evenodd" fill="#555555" fill-opacity="1"/></g></g></svg>',d.underline='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="18" height="18" viewBox="0 0 18 18"><g><g style="opacity:0;"><rect x="0" y="0" width="18" height="18" rx="0" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M5.000117301940918,14.500022450683593L5.000117301940918,14.500022450683593Q5.000117301940918,14.450777450683594,5.009724660740918,14.402477450683593Q5.019332019940918,14.354177450683594,5.038177530940918,14.308679450683593Q5.057023040940918,14.263182450683594,5.084382488940918,14.222236450683594Q5.111741931940918,14.181290450683594,5.146563901940918,14.146469450683593Q5.181385871940918,14.111646450683594,5.222332181940918,14.084286450683594Q5.263278451940918,14.056927450683594,5.308775541940918,14.038082450683595Q5.354272661940918,14.019237450683594,5.402572121940918,14.009630450683593Q5.450871581940918,14.000022450683593,5.500117301940918,14.000022450683593L12.500117301940918,14.000022450683593Q12.549362201940918,14.000022450683593,12.597661501940918,14.009629450683594Q12.645960801940918,14.019237450683594,12.691457701940918,14.038082450683595Q12.736954701940917,14.056926450683594,12.777901601940918,14.084285450683593Q12.818847701940918,14.111645450683593,12.853670101940917,14.146468450683594Q12.888492101940919,14.181289450683593,12.915851601940918,14.222235450683593Q12.943210601940919,14.263181450683593,12.962056201940918,14.308679450683593Q12.980901701940919,14.354177450683594,12.990509501940917,14.402477450683593Q13.00011680194092,14.450777450683594,13.000117301940918,14.500022450683593L13.000117301940918,14.500022450683593Q13.00011680194092,14.549268450683593,12.990509001940918,14.597566450683594Q12.980901701940919,14.645866450683593,12.962056201940918,14.691363450683594Q12.943210601940919,14.736860450683594,12.915851601940918,14.777807450683595Q12.888492101940919,14.818753450683595,12.853670101940917,14.853575450683593Q12.818847701940918,14.888397450683593,12.777901601940918,14.915756450683594Q12.736954701940917,14.943115450683594,12.691457701940918,14.961960450683593Q12.645960801940918,14.980806450683593,12.597661501940918,14.990413450683594Q12.549362201940918,15.000021450683594,12.500117301940918,15.000022450683593L5.500117301940918,15.000022450683593Q5.450871581940918,15.000021450683594,5.402572121940918,14.990414450683593Q5.354272661940918,14.980806450683593,5.308775541940918,14.961960450683593Q5.263278451940918,14.943115450683594,5.222332161940918,14.915756450683594Q5.181385871940918,14.888397450683593,5.146563901940918,14.853574450683594Q5.111741931940918,14.818752450683593,5.084382488940918,14.777806450683594Q5.057023040940918,14.736860450683594,5.038177530940918,14.691363450683594Q5.019332019940918,14.645866450683593,5.009724660740918,14.597567450683593Q5.000117301940918,14.549268450683593,5.000117301940918,14.500022450683593ZM5.045039176940918,3.548906330683594Q5.045039176940918,3.1015625006835936,5.283039211940918,2.8637809706835937Q5.521039131940918,2.6259994506835938,5.969039081940918,2.6259994506835938L5.997039201940918,2.6259994506835938Q6.445039201940918,2.6259994506835938,6.6830393019409176,2.8637809706835937Q6.921039201940918,3.1015625006835936,6.921039201940918,3.548906330683594L6.921039201940918,9.010000250683593Q6.921039201940918,9.737999950683594,7.180039401940919,10.255999550683594Q7.439039201940918,10.774000150683595,7.908039101940918,11.053999950683593Q8.377039001940918,11.333999650683594,8.993039101940917,11.333999650683594Q9.609039301940918,11.333999650683594,10.085039101940918,11.060999850683594Q10.561039401940917,10.788000150683594,10.820039301940918,10.263000450683593Q11.079039101940918,9.737999950683594,11.079039101940918,9.010000250683593L11.079039101940918,3.548906330683594Q11.079039101940918,3.1015625006835936,11.317039501940918,2.8637809706835937Q11.555039401940917,2.6259994506835938,12.003039401940917,2.6259994506835938L12.031039201940917,2.6259994506835938Q12.479039201940918,2.6259994506835938,12.717039101940918,2.8637809706835937Q12.955039001940918,3.1015625006835936,12.955039001940918,3.548906330683594L12.955039001940918,9.010000250683593Q12.955039001940918,10.144000050683594,12.416039501940919,11.095999750683594Q11.877039901940918,12.048000350683594,10.967039101940918,12.600999850683595Q10.057039301940918,13.154000450683593,8.993039101940917,13.154000450683593Q7.929039001940918,13.154000450683593,7.0190392019409185,12.600999850683595Q6.109039201940918,12.048000350683594,5.577039361940918,11.095999750683594Q5.045039176940918,10.144000050683594,5.045039176940918,9.010000250683593L5.045039176940918,3.548906330683594Z" fill="#555555" fill-opacity="1"/></g></g></svg>',d.more='<svg t="1756109058354" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11458" width="18" height="18"><path d="M512 320q-3.150769 0-6.301538-0.315077-3.111385-0.315077-6.183385-0.905846-3.072-0.630154-6.104615-1.536-2.993231-0.905846-5.907693-2.126769-2.914462-1.181538-5.671384-2.678154-2.756923-1.496615-5.395693-3.229539-2.599385-1.732923-5.04123-3.741538-2.441846-1.969231-4.647385-4.214154-2.244923-2.205538-4.214154-4.647385-1.969231-2.441846-3.741538-5.04123-1.732923-2.638769-3.229539-5.395693-1.496615-2.756923-2.678154-5.671384-1.181538-2.914462-2.126769-5.907693-0.905846-3.032615-1.536-6.104615-0.590769-3.072-0.905846-6.222769T448 256q0-3.150769 0.315077-6.301538 0.315077-3.111385 0.905846-6.183385 0.630154-3.072 1.536-6.104615 0.905846-2.993231 2.126769-5.907693 1.181538-2.914462 2.678154-5.671384 1.496615-2.756923 3.229539-5.395693 1.732923-2.599385 3.741538-5.04123 1.969231-2.441846 4.214154-4.647385 2.205538-2.205538 4.647385-4.214154 2.441846-1.969231 5.04123-3.741538 2.638769-1.732923 5.395693-3.229539 2.756923-1.496615 5.671384-2.678154 2.914462-1.181538 5.907693-2.126769 3.032615-0.905846 6.104615-1.536 3.072-0.590769 6.222769-0.905846T512 192q3.150769 0 6.301538 0.315077 3.111385 0.315077 6.183385 0.905846 3.072 0.630154 6.104615 1.536 2.993231 0.905846 5.907693 2.126769 2.914462 1.181538 5.671384 2.678154 2.756923 1.496615 5.395693 3.229539 2.599385 1.732923 5.04123 3.741538 2.441846 1.969231 4.647385 4.214154 2.205538 2.205538 4.214154 4.647385 1.969231 2.441846 3.741538 5.04123 1.732923 2.638769 3.229539 5.395693 1.496615 2.756923 2.678154 5.671384 1.181538 2.914462 2.126769 5.907693 0.905846 3.032615 1.536 6.104615 0.590769 3.072 0.905846 6.222769t0.315077 6.262154q0 3.150769-0.315077 6.301538-0.315077 3.111385-0.905846 6.183385-0.630154 3.072-1.536 6.104615-0.905846 2.993231-2.126769 5.907693-1.181538 2.914462-2.678154 5.671384-1.496615 2.756923-3.229539 5.395693-1.732923 2.599385-3.741538 5.04123-1.969231 2.441846-4.214154 4.647385-2.205538 2.244923-4.647385 4.214154-2.441846 1.969231-5.04123 3.741538-2.638769 1.732923-5.395693 3.229539-2.756923 1.496615-5.671384 2.678154-2.914462 1.181538-5.907693 2.126769-3.032615 0.905846-6.104615 1.536-3.072 0.590769-6.222769 0.905846T512 320z m0 256q-3.150769 0-6.301538-0.315077-3.111385-0.315077-6.183385-0.905846-3.072-0.630154-6.104615-1.536-2.993231-0.905846-5.907693-2.126769-2.914462-1.181538-5.671384-2.678154-2.756923-1.496615-5.395693-3.229539-2.599385-1.732923-5.04123-3.741538-2.441846-1.969231-4.647385-4.214154-2.244923-2.205538-4.214154-4.647385-1.969231-2.441846-3.741538-5.04123-1.732923-2.638769-3.229539-5.395693-1.496615-2.756923-2.678154-5.671384-1.181538-2.914462-2.126769-5.907693-0.905846-3.032615-1.536-6.104615-0.590769-3.072-0.905846-6.222769T448 512q0-3.150769 0.315077-6.301538 0.315077-3.111385 0.905846-6.183385 0.630154-3.072 1.536-6.104615 0.905846-2.993231 2.126769-5.907693 1.181538-2.914462 2.678154-5.671384 1.496615-2.756923 3.229539-5.395693 1.732923-2.599385 3.741538-5.04123 1.969231-2.441846 4.214154-4.647385 2.205538-2.244923 4.647385-4.214154 2.441846-1.969231 5.04123-3.741538 2.638769-1.732923 5.395693-3.229539 2.756923-1.496615 5.671384-2.678154 2.914462-1.181538 5.907693-2.126769 3.032615-0.905846 6.104615-1.536 3.072-0.590769 6.222769-0.905846T512 448q3.150769 0 6.301538 0.315077 3.111385 0.315077 6.183385 0.905846 3.072 0.630154 6.104615 1.536 2.993231 0.905846 5.907693 2.126769 2.914462 1.181538 5.671384 2.678154 2.756923 1.496615 5.395693 3.229539 2.599385 1.732923 5.04123 3.741538 2.441846 1.969231 4.647385 4.214154 2.205538 2.205538 4.214154 4.647385 1.969231 2.441846 3.741538 5.04123 1.732923 2.638769 3.229539 5.395693 1.496615 2.756923 2.678154 5.671384 1.181538 2.914462 2.126769 5.907693 0.905846 3.032615 1.536 6.104615 0.590769 3.072 0.905846 6.222769t0.315077 6.262154q0 3.150769-0.315077 6.301538-0.315077 3.111385-0.905846 6.183385-0.630154 3.072-1.536 6.104615-0.905846 2.993231-2.126769 5.907693-1.181538 2.914462-2.678154 5.671384-1.496615 2.756923-3.229539 5.395693-1.732923 2.599385-3.741538 5.04123-1.969231 2.441846-4.214154 4.647385-2.205538 2.244923-4.647385 4.214154-2.441846 1.969231-5.04123 3.741538-2.638769 1.732923-5.395693 3.229539-2.756923 1.496615-5.671384 2.678154-2.914462 1.181538-5.907693 2.126769-3.032615 0.905846-6.104615 1.536-3.072 0.590769-6.222769 0.905846T512 576z m0 256q-3.150769 0-6.301538-0.315077-3.111385-0.315077-6.183385-0.905846-3.072-0.630154-6.104615-1.536-2.993231-0.905846-5.907693-2.126769-2.914462-1.181538-5.671384-2.678154-2.756923-1.496615-5.395693-3.229539-2.599385-1.732923-5.04123-3.741538-2.441846-1.969231-4.647385-4.214154-2.244923-2.205538-4.214154-4.647385-1.969231-2.441846-3.741538-5.04123-1.732923-2.638769-3.229539-5.395693-1.496615-2.756923-2.678154-5.671384-1.181538-2.914462-2.126769-5.907693-0.905846-3.032615-1.536-6.104615-0.590769-3.072-0.905846-6.222769t-0.315077-6.262154q0-3.150769 0.315077-6.301538 0.315077-3.111385 0.905846-6.183385 0.630154-3.072 1.536-6.104615 0.905846-2.993231 2.126769-5.907693 1.181538-2.914462 2.678154-5.671384 1.496615-2.756923 3.229539-5.395693 1.732923-2.599385 3.741538-5.04123 1.969231-2.441846 4.214154-4.647385 2.205538-2.205538 4.647385-4.214154 2.441846-1.969231 5.04123-3.741538 2.638769-1.732923 5.395693-3.229539 2.756923-1.496615 5.671384-2.678154 2.914462-1.181538 5.907693-2.126769 3.032615-0.905846 6.104615-1.536 3.072-0.590769 6.222769-0.905846T512 704q3.150769 0 6.301538 0.315077 3.111385 0.315077 6.183385 0.905846 3.072 0.630154 6.104615 1.536 2.993231 0.905846 5.907693 2.126769 2.914462 1.181538 5.671384 2.678154 2.756923 1.496615 5.395693 3.229539 2.599385 1.732923 5.04123 3.741538 2.441846 1.969231 4.647385 4.214154 2.205538 2.205538 4.214154 4.647385 1.969231 2.441846 3.741538 5.04123 1.732923 2.638769 3.229539 5.395693 1.496615 2.756923 2.678154 5.671384 1.181538 2.914462 2.126769 5.907693 0.905846 3.032615 1.536 6.104615 0.590769 3.072 0.905846 6.222769t0.315077 6.262154q0 3.150769-0.315077 6.301538-0.315077 3.111385-0.905846 6.183385-0.630154 3.072-1.536 6.104615-0.905846 2.993231-2.126769 5.907693-1.181538 2.914462-2.678154 5.671384-1.496615 2.756923-3.229539 5.395693-1.732923 2.599385-3.741538 5.04123-1.969231 2.441846-4.214154 4.647385-2.205538 2.205538-4.647385 4.214154-2.441846 1.969231-5.04123 3.741538-2.638769 1.732923-5.395693 3.229539-2.756923 1.496615-5.671384 2.678154-2.914462 1.181538-5.907693 2.126769-3.032615 0.905846-6.104615 1.536-3.072 0.590769-6.222769 0.905846T512 832z" p-id="11459" fill="#555555"></path></svg>',d.link='<svg t="1756107950494" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11245" width="18" height="18" style="padding:1px"><path d="M292.693333 564.906667L123.477333 395.648q-55.296-55.338667-54.272-134.4 1.066667-78.336 57.088-134.357333Q182.186667 70.912 260.608 69.845333q79.061333-1.066667 134.4 54.272l194.944 194.986667a40.533333 40.533333 0 0 1 0.938667 0.938667q54.4 55.04 53.333333 133.461333-1.066667 78.336-57.045333 134.357333a42.666667 42.666667 0 1 1-60.330667-60.330666q31.445333-31.488 32.042667-75.178667 0.597333-43.050667-29.269334-72.874667a44.458667 44.458667 0 0 1-0.853333-0.896l-194.133333-194.133333q-72.618667-72.618667-148.053334 2.773333-31.488 31.488-32.085333 75.178667-0.554667 43.050667 29.269333 72.874667l169.258667 169.301333a42.666667 42.666667 0 1 1-60.288 60.330667z m202.538667-69.674667a42.666667 42.666667 0 0 0-60.330667-60.373333q-55.978667 56.021333-57.045333 134.4-1.066667 79.018667 54.272 134.357333a40.362667 40.362667 0 0 0 0.981333 0.938667l1.706667 1.877333 194.986667 194.986667q55.338667 55.296 134.4 54.229333 78.336-1.066667 134.357333-57.045333 55.978667-56.021333 57.045333-134.4 1.066667-79.018667-54.272-134.357334l-169.258666-169.258666a42.666667 42.666667 0 1 0-60.373334 60.330666l169.301334 169.301334q29.866667 29.866667 29.269333 72.874666-0.597333 43.690667-32.042667 75.178667-31.488 31.445333-75.178666 32.042667-43.050667 0.597333-72.874667-29.269334l-194.986667-194.986666a39.68 39.68 0 0 0-0.981333-0.938667 43.52 43.52 0 0 0-1.749333-1.834667q-29.866667-29.866667-29.269334-72.917333 0.554667-43.690667 32.042667-75.136z" p-id="11246" fill="#555555"></path></svg>',d.undo='<svg t="1756107888940" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10819" width="18" height="18"><path d="M220.086857 374.893714l102.473143 102.473143c10.605714 10.642286 28.818286 3.108571 28.818286-11.922286v-77.275428h261.851428l8.009143 0.146286c98.048 3.364571 169.216 68.754286 169.216 160.182857 0 93.952-75.044571 160.365714-177.225143 160.365714H241.883429l-3.437715 0.256a25.307429 25.307429 0 0 0 3.437715 50.395429h371.346285l8.374857-0.146286c124.708571-3.657143 219.501714-90.148571 219.501715-210.834286 0-123.392-99.035429-211.017143-227.876572-211.017143h-261.851428V260.498286a16.896 16.896 0 0 0-28.818286-11.922286L220.086857 351.049143a16.896 16.896 0 0 0 0 23.844571z" p-id="10820" fill="#555555"></path></svg>',d.redo='<svg t="1756107908999" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11032" width="18" height="18"><path d="M836.205714 374.893714l-102.473143 102.473143a16.896 16.896 0 0 1-28.818285-11.922286v-77.275428h-261.851429l-8.045714 0.146286c-98.011429 3.364571-169.179429 68.754286-169.179429 160.182857 0 93.952 75.044571 160.365714 177.225143 160.365714h371.346286l3.437714 0.256a25.307429 25.307429 0 0 1-3.437714 50.395429H443.062857l-8.374857-0.146286c-124.708571-3.657143-219.501714-90.148571-219.501714-210.834286 0-123.392 99.035429-211.017143 227.84-211.017143h261.888V260.498286c0-15.030857 18.176-22.564571 28.818285-11.922286l102.473143 102.473143c6.582857 6.582857 6.582857 17.261714 0 23.844571z" p-id="11033" fill="#555555"></path></svg>',d.ocr='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="18" height="18" viewBox="0 0 18 18"><g><g style="opacity:0;"><rect x="0" y="0" width="18" height="18" rx="0" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M3.0000245140625,2.6000244140625L5.5000243140625,2.6000244140625C5.8313951140625,2.6000244140625,6.1000242140625,2.3313953240625,6.1000242140625,2.0000244340625C6.1000242140625,1.6686535440624999,5.8313951140625,1.4000244140625,5.5000243140625,1.4000244140625L3.0000245140625,1.4000244140625Q2.3372827740625,1.4000244140625,1.8686535940625,1.8686535940625Q1.4000244140625,2.3372827740625,1.4000244140625,3.0000245140625L1.4000244140625,5.5000243140625C1.4000244140625,5.8313951140625,1.6686535440624999,6.1000242140625,2.0000244340625,6.1000242140625C2.3313953240625,6.1000242140625,2.6000244140625,5.8313951140625,2.6000244140625,5.5000243140625L2.6000244140625,3.0000245140625Q2.6000244140625,2.6000244140625,3.0000245140625,2.6000244140625ZM12.5000244140625,1.4000244140625L15.0000244140625,1.4000244140625Q15.6627664140625,1.4000244140625,16.1313954140625,1.8686538940625Q16.6000244140625,2.3372834940625,16.6000244140625,3.0000245140625L16.6000244140625,5.5000243140625C16.6000244140625,5.6591539140625,16.5368104140625,5.8117661140625,16.424288414062502,5.9242883140625C16.3117674140625,6.0368099140625,16.1591544140625,6.1000242140625,16.0000244140625,6.1000242140625C15.6686534140625,6.1000242140625,15.4000244140625,5.8313951140625,15.4000244140625,5.5000243140625L15.4000234140625,3.0000245140625Q15.4000234140625,2.6000244140625,15.0000244140625,2.6000244140625L12.5000244140625,2.6000244140625C12.1686534140625,2.6000244140625,11.9000244140625,2.3313953240625,11.9000244140625,2.0000244340625C11.9000244140625,1.6686535440624999,12.1686534140625,1.4000244140625,12.5000244140625,1.4000244140625ZM8.6239776140625,6.4719930140625C8.5439777140625,6.1512432140625,8.3999777140625,5.7421179140625,8.2479777140625,5.4212432140625L9.4959774140625,5.052368214062501C9.6959782140625,5.4293680140625,9.9199772140625,5.9346180140625,9.9999771140625,6.2714929140625L9.3519778140625,6.4719930140625L12.7119784140625,6.4719930140625L12.7119784140625,7.6079931140625L11.5039774140625,7.6079931140625C11.1279774140625,8.6968679140625,10.6159782140625,9.6014929140625,9.9599781140625,10.3461180140625C10.7599773140625,10.9224930140625,11.7279774140625,11.3468685140625,12.8879774140625,11.6029934140625C12.6239774140625,11.8592434140625,12.2799774140625,12.3716184140625,12.1039784140625,12.6918684140625C10.8719778140625,12.3716184140625,9.8719778140625,11.8752434140625,9.0479779140625,11.2107429140625C8.175977714062501,11.8992434140625,7.1199779140625,12.4036184140625,5.8559775140625,12.7558684140625C5.7279777140625,12.4757434140625,5.3759775140625,11.9312434140625,5.1519775140625,11.6591184140625C6.3759775140625,11.3868685140625,7.3839779140625,10.9706182140625,8.1839781140625,10.3781185140625C7.5199776140625,9.6094932140625,7.0079775140625,8.6888685140625,6.5919776140625,7.6079931140625L5.3279776140625,7.6079931140625L5.3279776140625,6.4719930140625L8.6239776140625,6.4719930140625ZM7.7999778140625,7.6079931140625C8.1119776140625,8.344617814062499,8.5359778140625,9.0011186140625,9.0719776140625,9.5694933140625C9.5439777140625,9.0251179140625,9.9199772140625,8.3766184140625,10.1919784140625,7.6079931140625L7.7999778140625,7.6079931140625ZM2.6000244140625,12.5000244140625L2.6000244140625,15.0000244140625Q2.6000244140625,15.4000234140625,3.0000245140625,15.4000234140625L5.5000243140625,15.4000234140625C5.8313951140625,15.4000244140625,6.1000242140625,15.6686534140625,6.1000242140625,16.0000244140625C6.1000242140625,16.3313964140625,5.8313951140625,16.6000254140625,5.5000243140625,16.6000254140625L5.4989548140625,16.6000244140625L3.0000245140625,16.6000244140625Q2.3372834940625,16.6000244140625,1.8686538940625,16.1313954140625Q1.4000244140625,15.6627664140625,1.4000244140625,15.0000244140625L1.4000244140625,12.5000244140625C1.4000244140625,12.1686534140625,1.6686535440624999,11.9000244140625,2.0000244340625,11.9000244140625C2.3313953240625,11.9000244140625,2.6000244140625,12.1686534140625,2.6000244140625,12.5000244140625ZM16.6000244140625,12.5010944140625L16.6000244140625,15.0000244140625Q16.6000244140625,15.6627654140625,16.1313954140625,16.1313954140625Q15.6627654140625,16.6000244140625,15.0000244140625,16.6000244140625L12.5000244140625,16.6000244140625C12.3408944140625,16.6000244140625,12.1882824140625,16.5368104140625,12.0757594140625,16.424288414062502C11.9632384140625,16.3117664140625,11.9000244140625,16.1591544140625,11.9000244140625,16.0000244140625C11.9000244140625,15.6686534140625,12.1686534140625,15.4000244140625,12.5000244140625,15.4000244140625L15.0000244140625,15.4000234140625Q15.4000234140625,15.4000234140625,15.4000234140625,15.0000244140625L15.4000234140625,12.5000244140625C15.4000244140625,12.1686534140625,15.6686534140625,11.9000244140625,16.0000244140625,11.9000244140625C16.3313964140625,11.9000244140625,16.6000254140625,12.1686534140625,16.6000254140625,12.5000244140625L16.6000244140625,12.5010944140625Z" fill-rule="evenodd" fill="#555555" fill-opacity="1"/></g></g></svg>',d.math='<svg t="1756107836493" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10608" width="18" height="18"><path d="M877.454222 856.177778q4.835556-4.835556 7.395556-11.093334 2.616889-6.257778 2.616889-13.084444 0-3.413333-0.625778-6.656-0.682667-3.299556-1.991111-6.428444-1.251556-3.072-3.128889-5.859556-1.877333-2.844444-4.266667-5.176889-2.332444-2.389333-5.12-4.266667-2.844444-1.877333-5.916444-3.128888-3.128889-1.308444-6.428445-1.934223-3.299556-0.682667-6.656-0.682666-6.826667 0-13.084444 2.616889-6.257778 2.56-11.036445 7.395555l-54.044444 53.987556H253.155556l325.688888-325.745778q2.389333-2.389333 4.266667-5.12 1.877333-2.844444 3.128889-5.916445 1.308444-3.128889 1.934222-6.428444 0.682667-3.299556 0.682667-6.656 0-3.413333-0.682667-6.656-0.625778-3.299556-1.934222-6.428444-1.251556-3.072-3.128889-5.859556-1.877333-2.844444-4.266667-5.176889L253.155556 162.133333h522.126222l53.930666 53.987556q4.835556 4.835556 11.093334 7.395555 6.257778 2.616889 13.084444 2.616889 3.413333 0 6.656-0.682666 3.299556-0.625778 6.428445-1.934223 3.072-1.251556 5.859555-3.128888 2.844444-1.877333 5.176889-4.266667 2.389333-2.389333 4.266667-5.12 1.877333-2.844444 3.128889-5.916445 1.308444-3.128889 1.934222-6.428444 0.682667-3.299556 0.682667-6.656 0-6.826667-2.616889-13.084444-2.56-6.257778-7.395556-11.036445l-64-64q-4.778667-4.835556-11.036444-7.395555-6.257778-2.616889-13.084445-2.616889H170.666667q-6.826667 0-13.084445 2.616889-6.257778 2.56-11.036444 7.395555-2.389333 2.389333-4.266667 5.12-1.877333 2.844444-3.128889 5.916445-1.308444 3.128889-1.934222 6.428444-0.682667 3.299556-0.682667 6.656 0 3.413333 0.682667 6.656 0.625778 3.299556 1.934222 6.428444 1.251556 3.072 3.128889 5.859556 1.877333 2.844444 4.266667 5.176889L506.311111 512l-359.822222 359.879111q-4.835556 4.778667-7.395556 11.036445-2.616889 6.257778-2.616889 13.084444 0 3.413333 0.682667 6.656 0.625778 3.299556 1.934222 6.428444 1.251556 3.072 3.128889 5.859556 1.877333 2.844444 4.266667 5.176889 2.389333 2.389333 5.12 4.266667 2.844444 1.877333 5.916444 3.128888 3.128889 1.308444 6.428445 1.991112 3.299556 0.625778 6.656 0.625777h618.666666q6.826667 0 13.084445-2.616889 6.257778-2.56 11.036444-7.395555l64-63.943111z" p-id="10609" fill="#555555"></path></svg>',d.image='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="18" height="18" viewBox="0 0 18 18"><g><g style="opacity:0;"><rect x="0" y="0" width="18" height="18" rx="0" fill="#FFFFFF" fill-opacity="1"/></g><g><path d="M1.87471507,3.83578219Q1.5,4.18540478,1.5,4.6875L1.5,14.312503Q1.50000006,14.814598,1.874716,15.16422Q2.23459671,15.5,2.73684216,15.5L15.263157,15.5Q15.765403,15.5,16.125284,15.164218Q16.499999000000003,14.814597,16.499999000000003,14.312501L16.499999000000003,4.6875Q16.499999000000003,4.18540342,16.125284999999998,3.83578214Q15.765404,3.5,15.263157,3.5L2.73684216,3.5Q2.23459646,3.5,1.87471507,3.83578219ZM2.5,14.312503L2.5,4.6875Q2.5,4.5,2.73684216,4.5L15.263157,4.5Q15.5,4.5,15.5,4.6875L15.5,14.312501Q15.5,14.5,15.263157,14.5L2.73684216,14.5Q2.5,14.5,2.5,14.312503Z" fill-rule="evenodd" fill="#555555" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><ellipse cx="5.4375" cy="7.4375" rx="0.4375" ry="0.4375" fill-opacity="0" stroke-opacity="1" stroke="#555555" fill="none" stroke-width="1" stroke-linecap="ROUND" stroke-linejoin="round" style="mix-blend-mode:passthrough"/></g><g><path d="M5.9053998,9.924615948146972L1.7143693,12.841608238146973Q1.61364189,12.911715538146973,1.55682093,13.020492338146973Q1.5,13.129269138146974,1.5,13.251992238146972L1.50000003,14.418008338146972Q1.50000003,14.876594038146973,1.84130602,15.195924738146973Q2.16843581,15.501991738146973,2.62437022,15.501991738146973L15.375628,15.501991738146973Q15.831564,15.501991738146973,16.158693,15.195924738146973Q16.5,14.876594038146973,16.5,14.418007838146973L16.5,13.251992238146972Q16.500000999999997,13.186988838146974,16.48338,13.124146438146973Q16.466759,13.061303638146972,16.434621,13.004799838146972Q16.402485,12.948296338146973,16.356969,12.901887938146972Q16.311453,12.855479738146972,16.255583,12.822251838146972L9.8796926,9.030259398146972Q9.842938400000001,9.008400078146973,9.8030057,8.993099628146974Q9.763073,8.977799118146972,9.721121799999999,8.969501908146972Q9.6791716,8.961204618146972,9.6364217,8.960151608146973Q9.5936708,8.959098578146973,9.551362000000001,8.965320438146973Q9.5090542,8.971542238146972,9.4684162,8.984858218146973Q9.427778199999999,8.998174158146973,9.3899918,9.018197478146973Q9.352206200000001,9.038220708146973,9.3183689,9.064369648146972Q9.284532500000001,9.090518598146973,9.2556267,9.122033748146972L7.6887164,10.830422738146973L6.4904227,9.934544588146972Q6.4273362,9.887379288146972,6.3528042,9.861893948146973Q6.2782726,9.836408678146972,6.1995153,9.835072038146972Q6.1207581,9.833735408146973,6.045404,9.856676968146973Q5.9700503000000005,9.879618528146972,5.9053998,9.924615948146972ZM2.5,13.513173138146973L2.50000006,14.418008338146972Q2.50000006,14.501992238146972,2.62437022,14.501992238146972L15.375628,14.501992238146972Q15.5,14.501992238146972,15.5,14.418007838146973L15.5,13.536368338146973L9.7178593,10.097503488146973L8.1200023,11.839632738146973Q8.0888524,11.873595438146973,8.052019600000001,11.901292338146973Q8.0151863,11.928988938146972,7.9739118,11.949486538146973Q7.9326363,11.969984038146972,7.88831,11.982591638146973Q7.8439837,11.995199238146974,7.7980995,11.999492138146973Q7.7522154,12.003785338146972,7.7063198,11.999619238146973Q7.6604242,11.995453338146973,7.6160631,11.982968338146973Q7.571702,11.970483338146973,7.5303702,11.950099938146973Q7.4890385,11.929716538146973,7.4521289,11.902122038146972L6.1805682,10.951467238146973L2.5,13.513173138146973Z" fill-rule="evenodd" fill="#555555" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg>',i=p(),e.modules)if(Array.isArray(e.modules))for(const t of e.modules)u(`modules/${t.name}`,t.module);else u(`modules/${e.modules.name}`,e.modules.module);l=new n(s.value,i),L(e.content),l.on("text-change",y),l.on("selection-change",f),l.on("editor-change",w),null===(r=l.getModule("toolbar"))||void 0===r||r.container.addEventListener("mousedown",(e=>{e.preventDefault()})),t.emit("ready",l)},p=()=>{const o={theme:"snow"};if(e.readOnly&&(o.readOnly=e.readOnly),e.placeholder&&(o.placeholder=e.placeholder),o.modules=e.needCollapse?{toolbar:"#toolbar-"+e.editorKey}:{toolbar:{container:[...a.full],handlers:{redo:function(){var e;null===(e=null==l?void 0:l.getModule("history"))||void 0===e||e.redo()},undo:function(){var e;null===(e=null==l?void 0:l.getModule("history"))||void 0===e||e.undo()},ocr:function(){t.emit("ocr")},math:function(){t.emit("math")},more:function(){d.value=!d.value}}}},e.modules){const t=(()=>{var t,o;const l={};if(Array.isArray(e.modules))for(const i of e.modules)l[i.name]=null!==(t=i.options)&&void 0!==t?t:{};else l[e.modules.name]=null!==(o=e.modules.options)&&void 0!==o?o:{};return l})();o.modules=Object.assign({},o.modules,t)}return Object.assign({},e.globalOptions,e.options,o)},h=e=>"object"==typeof e&&e?e.slice():e;let g;const v=e=>{if(typeof g==typeof e){if(e===g)return!0;if("object"==typeof e&&e&&"object"==typeof g&&g)return t=g.diff(e),!Object.values(t.ops).some((e=>!e.retain||1!==Object.keys(e).length))}var t;return!1},y=(o,l,i)=>{if(g=h(b()),"html"===e.contentType){const e=C();""!==e&&"<p><br></p>"!==e&&"<p></p>"!==e||(g="")}v(e.content)||t.emit("update:content",g),t.emit("textChange",{delta:o,oldContents:l,source:i})},m=o.ref(),f=(e,o,i)=>{var n;m.value=!!(null==l?void 0:l.hasFocus());const r=null===(n=null==l?void 0:l.getModule("toolbar"))||void 0===n?void 0:n.container;r&&(m.value?r.style.display="block":(r.style.display="none",d.value=!1)),t.emit("selectionChange",{range:e,oldRange:o,source:i})};o.watch(m,(e=>{t.emit(e?"focus":"blur",s)}));const w=(...e)=>{"text-change"===e[0]&&t.emit("editorChange",{name:e[0],delta:e[1],oldContents:e[2],source:e[3]}),"selection-change"===e[0]&&t.emit("editorChange",{name:e[0],range:e[1],oldRange:e[2],source:e[3]})},b=(t,o)=>"html"===e.contentType?C():"text"===e.contentType?q(t,o):null==l?void 0:l.getContents(t,o),L=(t,o="api")=>{const i=t||("delta"===e.contentType?new r:"");"html"===e.contentType?i&&""!==i?M(i):l&&(l.root.innerHTML=""):"text"===e.contentType?x(i,o):null==l||l.setContents(i,o),g=h(i)},q=(e,t)=>{var o;return null!==(o=null==l?void 0:l.getText(e,t))&&void 0!==o?o:""},x=(e,t="api")=>{null==l||l.setText(e,t)},C=()=>{var e;const t=null!==(e=null==l?void 0:l.root.innerHTML)&&void 0!==e?e:"";return"<p><br></p>"===t||"<p></p>"===t?"":t},M=e=>{l&&(l.root.innerHTML=e)};return o.watch((()=>e.content),(e=>{if(!l||v(e))return;const t=l.getSelection();t&&o.nextTick((()=>null==l?void 0:l.setSelection(t))),L(e)}),{deep:!0}),o.watch((()=>e.enable),(e=>{l&&l.enable(e)})),{editor:s,getEditor:()=>s.value,getToolbar:()=>{var e;return null===(e=null==l?void 0:l.getModule("toolbar"))||void 0===e?void 0:e.container},getQuill:()=>{if(l)return l;throw'The quill editor hasn\'t been instantiated yet,\n make sure to call this method when the editor ready\n or use v-on:ready="onReady(quill)" event instead.'},getContents:b,setContents:L,getHTML:C,setHTML:M,pasteHTML:(e,t="api")=>{const o=null==l?void 0:l.clipboard.convert(e);o&&(null==l||l.setContents(o,t))},focus:()=>{null==l||l.focus()},getText:q,setText:x,reinit:()=>{o.nextTick((()=>{var e;!t.slots.toolbar&&l&&(null===(e=l.getModule("toolbar"))||void 0===e||e.container.remove()),Q()}))},editorWrapClass:c,showMoreToolbar:d,moreToolbarToolClick:e=>{var o,i;l&&("undo"===e?null===(o=l.getModule("history"))||void 0===o||o.undo():"redo"===e?null===(i=l.getModule("history"))||void 0===i||i.redo():"ocr"===e?t.emit("ocr"):"math"===e?t.emit("math"):"more"===e&&(d.value=!d.value))}}},render(){return[o.h("div",{class:this.editorWrapClass},[this.$props.needCollapse&&this.$props.editorKey&&o.h(d,{editorKey:String(this.$props.editorKey),needCollapse:this.needCollapse,toolbarStyle:this.$props.toolbarStyle,showMoreToolbar:this.showMoreToolbar,onToolClick:e=>{this.moreToolbarToolClick(e)}}),o.h("div",{ref:"editor",...this.$attrs})])]}});exports.Quill=n,exports.Delta=r,exports.QuillEditor=c;
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
.ql-container {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
font-family: Helvetica, Arial, sans-serif;
|
|
4
|
+
font-size: 13px;
|
|
5
|
+
height: 100%;
|
|
6
|
+
margin: 0px;
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
.ql-container.ql-disabled .ql-tooltip {
|
|
10
|
+
visibility: hidden;
|
|
11
|
+
}
|
|
12
|
+
.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {
|
|
13
|
+
pointer-events: none;
|
|
14
|
+
}
|
|
15
|
+
.ql-clipboard {
|
|
16
|
+
left: -100000px;
|
|
17
|
+
height: 1px;
|
|
18
|
+
overflow-y: hidden;
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 50%;
|
|
21
|
+
}
|
|
22
|
+
.ql-clipboard p {
|
|
23
|
+
margin: 0;
|
|
24
|
+
padding: 0;
|
|
25
|
+
}
|
|
26
|
+
.ql-editor {
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
line-height: 1.42;
|
|
29
|
+
height: 100%;
|
|
30
|
+
outline: none;
|
|
31
|
+
overflow-y: auto;
|
|
32
|
+
padding: 12px 15px;
|
|
33
|
+
tab-size: 4;
|
|
34
|
+
-moz-tab-size: 4;
|
|
35
|
+
text-align: left;
|
|
36
|
+
white-space: pre-wrap;
|
|
37
|
+
word-wrap: break-word;
|
|
38
|
+
}
|
|
39
|
+
.ql-editor > * {
|
|
40
|
+
cursor: text;
|
|
41
|
+
}
|
|
42
|
+
.ql-editor p,
|
|
43
|
+
.ql-editor ol,
|
|
44
|
+
.ql-editor ul,
|
|
45
|
+
.ql-editor pre,
|
|
46
|
+
.ql-editor blockquote,
|
|
47
|
+
.ql-editor h1,
|
|
48
|
+
.ql-editor h2,
|
|
49
|
+
.ql-editor h3,
|
|
50
|
+
.ql-editor h4,
|
|
51
|
+
.ql-editor h5,
|
|
52
|
+
.ql-editor h6 {
|
|
53
|
+
margin: 0;
|
|
54
|
+
padding: 0;
|
|
55
|
+
counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
|
|
56
|
+
}
|
|
57
|
+
.ql-editor ol,
|
|
58
|
+
.ql-editor ul {
|
|
59
|
+
padding-left: 1.5em;
|
|
60
|
+
}
|
|
61
|
+
.ql-editor ol > li,
|
|
62
|
+
.ql-editor ul > li {
|
|
63
|
+
list-style-type: none;
|
|
64
|
+
}
|
|
65
|
+
.ql-editor ul > li::before {
|
|
66
|
+
content: '\2022';
|
|
67
|
+
}
|
|
68
|
+
.ql-editor ul[data-checked=true],
|
|
69
|
+
.ql-editor ul[data-checked=false] {
|
|
70
|
+
pointer-events: none;
|
|
71
|
+
}
|
|
72
|
+
.ql-editor ul[data-checked=true] > li *,
|
|
73
|
+
.ql-editor ul[data-checked=false] > li * {
|
|
74
|
+
pointer-events: all;
|
|
75
|
+
}
|
|
76
|
+
.ql-editor ul[data-checked=true] > li::before,
|
|
77
|
+
.ql-editor ul[data-checked=false] > li::before {
|
|
78
|
+
color: #777;
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
pointer-events: all;
|
|
81
|
+
}
|
|
82
|
+
.ql-editor ul[data-checked=true] > li::before {
|
|
83
|
+
content: '\2611';
|
|
84
|
+
}
|
|
85
|
+
.ql-editor ul[data-checked=false] > li::before {
|
|
86
|
+
content: '\2610';
|
|
87
|
+
}
|
|
88
|
+
.ql-editor li::before {
|
|
89
|
+
display: inline-block;
|
|
90
|
+
white-space: nowrap;
|
|
91
|
+
width: 1.2em;
|
|
92
|
+
}
|
|
93
|
+
.ql-editor li:not(.ql-direction-rtl)::before {
|
|
94
|
+
margin-left: -1.5em;
|
|
95
|
+
margin-right: 0.3em;
|
|
96
|
+
text-align: right;
|
|
97
|
+
}
|
|
98
|
+
.ql-editor li.ql-direction-rtl::before {
|
|
99
|
+
margin-left: 0.3em;
|
|
100
|
+
margin-right: -1.5em;
|
|
101
|
+
}
|
|
102
|
+
.ql-editor ol li:not(.ql-direction-rtl),
|
|
103
|
+
.ql-editor ul li:not(.ql-direction-rtl) {
|
|
104
|
+
padding-left: 1.5em;
|
|
105
|
+
}
|
|
106
|
+
.ql-editor ol li.ql-direction-rtl,
|
|
107
|
+
.ql-editor ul li.ql-direction-rtl {
|
|
108
|
+
padding-right: 1.5em;
|
|
109
|
+
}
|
|
110
|
+
.ql-editor ol li {
|
|
111
|
+
counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
|
|
112
|
+
counter-increment: list-0;
|
|
113
|
+
}
|
|
114
|
+
.ql-editor ol li:before {
|
|
115
|
+
content: counter(list-0, decimal) '. ';
|
|
116
|
+
}
|
|
117
|
+
.ql-editor ol li.ql-indent-1 {
|
|
118
|
+
counter-increment: list-1;
|
|
119
|
+
}
|
|
120
|
+
.ql-editor ol li.ql-indent-1:before {
|
|
121
|
+
content: counter(list-1, lower-alpha) '. ';
|
|
122
|
+
}
|
|
123
|
+
.ql-editor ol li.ql-indent-1 {
|
|
124
|
+
counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
|
|
125
|
+
}
|
|
126
|
+
.ql-editor ol li.ql-indent-2 {
|
|
127
|
+
counter-increment: list-2;
|
|
128
|
+
}
|
|
129
|
+
.ql-editor ol li.ql-indent-2:before {
|
|
130
|
+
content: counter(list-2, lower-roman) '. ';
|
|
131
|
+
}
|
|
132
|
+
.ql-editor ol li.ql-indent-2 {
|
|
133
|
+
counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
|
|
134
|
+
}
|
|
135
|
+
.ql-editor ol li.ql-indent-3 {
|
|
136
|
+
counter-increment: list-3;
|
|
137
|
+
}
|
|
138
|
+
.ql-editor ol li.ql-indent-3:before {
|
|
139
|
+
content: counter(list-3, decimal) '. ';
|
|
140
|
+
}
|
|
141
|
+
.ql-editor ol li.ql-indent-3 {
|
|
142
|
+
counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
|
|
143
|
+
}
|
|
144
|
+
.ql-editor ol li.ql-indent-4 {
|
|
145
|
+
counter-increment: list-4;
|
|
146
|
+
}
|
|
147
|
+
.ql-editor ol li.ql-indent-4:before {
|
|
148
|
+
content: counter(list-4, lower-alpha) '. ';
|
|
149
|
+
}
|
|
150
|
+
.ql-editor ol li.ql-indent-4 {
|
|
151
|
+
counter-reset: list-5 list-6 list-7 list-8 list-9;
|
|
152
|
+
}
|
|
153
|
+
.ql-editor ol li.ql-indent-5 {
|
|
154
|
+
counter-increment: list-5;
|
|
155
|
+
}
|
|
156
|
+
.ql-editor ol li.ql-indent-5:before {
|
|
157
|
+
content: counter(list-5, lower-roman) '. ';
|
|
158
|
+
}
|
|
159
|
+
.ql-editor ol li.ql-indent-5 {
|
|
160
|
+
counter-reset: list-6 list-7 list-8 list-9;
|
|
161
|
+
}
|
|
162
|
+
.ql-editor ol li.ql-indent-6 {
|
|
163
|
+
counter-increment: list-6;
|
|
164
|
+
}
|
|
165
|
+
.ql-editor ol li.ql-indent-6:before {
|
|
166
|
+
content: counter(list-6, decimal) '. ';
|
|
167
|
+
}
|
|
168
|
+
.ql-editor ol li.ql-indent-6 {
|
|
169
|
+
counter-reset: list-7 list-8 list-9;
|
|
170
|
+
}
|
|
171
|
+
.ql-editor ol li.ql-indent-7 {
|
|
172
|
+
counter-increment: list-7;
|
|
173
|
+
}
|
|
174
|
+
.ql-editor ol li.ql-indent-7:before {
|
|
175
|
+
content: counter(list-7, lower-alpha) '. ';
|
|
176
|
+
}
|
|
177
|
+
.ql-editor ol li.ql-indent-7 {
|
|
178
|
+
counter-reset: list-8 list-9;
|
|
179
|
+
}
|
|
180
|
+
.ql-editor ol li.ql-indent-8 {
|
|
181
|
+
counter-increment: list-8;
|
|
182
|
+
}
|
|
183
|
+
.ql-editor ol li.ql-indent-8:before {
|
|
184
|
+
content: counter(list-8, lower-roman) '. ';
|
|
185
|
+
}
|
|
186
|
+
.ql-editor ol li.ql-indent-8 {
|
|
187
|
+
counter-reset: list-9;
|
|
188
|
+
}
|
|
189
|
+
.ql-editor ol li.ql-indent-9 {
|
|
190
|
+
counter-increment: list-9;
|
|
191
|
+
}
|
|
192
|
+
.ql-editor ol li.ql-indent-9:before {
|
|
193
|
+
content: counter(list-9, decimal) '. ';
|
|
194
|
+
}
|
|
195
|
+
.ql-editor .ql-indent-1:not(.ql-direction-rtl) {
|
|
196
|
+
padding-left: 3em;
|
|
197
|
+
}
|
|
198
|
+
.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {
|
|
199
|
+
padding-left: 4.5em;
|
|
200
|
+
}
|
|
201
|
+
.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {
|
|
202
|
+
padding-right: 3em;
|
|
203
|
+
}
|
|
204
|
+
.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {
|
|
205
|
+
padding-right: 4.5em;
|
|
206
|
+
}
|
|
207
|
+
.ql-editor .ql-indent-2:not(.ql-direction-rtl) {
|
|
208
|
+
padding-left: 6em;
|
|
209
|
+
}
|
|
210
|
+
.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {
|
|
211
|
+
padding-left: 7.5em;
|
|
212
|
+
}
|
|
213
|
+
.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {
|
|
214
|
+
padding-right: 6em;
|
|
215
|
+
}
|
|
216
|
+
.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {
|
|
217
|
+
padding-right: 7.5em;
|
|
218
|
+
}
|
|
219
|
+
.ql-editor .ql-indent-3:not(.ql-direction-rtl) {
|
|
220
|
+
padding-left: 9em;
|
|
221
|
+
}
|
|
222
|
+
.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {
|
|
223
|
+
padding-left: 10.5em;
|
|
224
|
+
}
|
|
225
|
+
.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {
|
|
226
|
+
padding-right: 9em;
|
|
227
|
+
}
|
|
228
|
+
.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {
|
|
229
|
+
padding-right: 10.5em;
|
|
230
|
+
}
|
|
231
|
+
.ql-editor .ql-indent-4:not(.ql-direction-rtl) {
|
|
232
|
+
padding-left: 12em;
|
|
233
|
+
}
|
|
234
|
+
.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {
|
|
235
|
+
padding-left: 13.5em;
|
|
236
|
+
}
|
|
237
|
+
.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {
|
|
238
|
+
padding-right: 12em;
|
|
239
|
+
}
|
|
240
|
+
.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {
|
|
241
|
+
padding-right: 13.5em;
|
|
242
|
+
}
|
|
243
|
+
.ql-editor .ql-indent-5:not(.ql-direction-rtl) {
|
|
244
|
+
padding-left: 15em;
|
|
245
|
+
}
|
|
246
|
+
.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {
|
|
247
|
+
padding-left: 16.5em;
|
|
248
|
+
}
|
|
249
|
+
.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {
|
|
250
|
+
padding-right: 15em;
|
|
251
|
+
}
|
|
252
|
+
.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {
|
|
253
|
+
padding-right: 16.5em;
|
|
254
|
+
}
|
|
255
|
+
.ql-editor .ql-indent-6:not(.ql-direction-rtl) {
|
|
256
|
+
padding-left: 18em;
|
|
257
|
+
}
|
|
258
|
+
.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {
|
|
259
|
+
padding-left: 19.5em;
|
|
260
|
+
}
|
|
261
|
+
.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {
|
|
262
|
+
padding-right: 18em;
|
|
263
|
+
}
|
|
264
|
+
.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {
|
|
265
|
+
padding-right: 19.5em;
|
|
266
|
+
}
|
|
267
|
+
.ql-editor .ql-indent-7:not(.ql-direction-rtl) {
|
|
268
|
+
padding-left: 21em;
|
|
269
|
+
}
|
|
270
|
+
.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {
|
|
271
|
+
padding-left: 22.5em;
|
|
272
|
+
}
|
|
273
|
+
.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {
|
|
274
|
+
padding-right: 21em;
|
|
275
|
+
}
|
|
276
|
+
.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {
|
|
277
|
+
padding-right: 22.5em;
|
|
278
|
+
}
|
|
279
|
+
.ql-editor .ql-indent-8:not(.ql-direction-rtl) {
|
|
280
|
+
padding-left: 24em;
|
|
281
|
+
}
|
|
282
|
+
.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {
|
|
283
|
+
padding-left: 25.5em;
|
|
284
|
+
}
|
|
285
|
+
.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {
|
|
286
|
+
padding-right: 24em;
|
|
287
|
+
}
|
|
288
|
+
.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {
|
|
289
|
+
padding-right: 25.5em;
|
|
290
|
+
}
|
|
291
|
+
.ql-editor .ql-indent-9:not(.ql-direction-rtl) {
|
|
292
|
+
padding-left: 27em;
|
|
293
|
+
}
|
|
294
|
+
.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {
|
|
295
|
+
padding-left: 28.5em;
|
|
296
|
+
}
|
|
297
|
+
.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {
|
|
298
|
+
padding-right: 27em;
|
|
299
|
+
}
|
|
300
|
+
.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {
|
|
301
|
+
padding-right: 28.5em;
|
|
302
|
+
}
|
|
303
|
+
.ql-editor .ql-video {
|
|
304
|
+
display: block;
|
|
305
|
+
max-width: 100%;
|
|
306
|
+
}
|
|
307
|
+
.ql-editor .ql-video.ql-align-center {
|
|
308
|
+
margin: 0 auto;
|
|
309
|
+
}
|
|
310
|
+
.ql-editor .ql-video.ql-align-right {
|
|
311
|
+
margin: 0 0 0 auto;
|
|
312
|
+
}
|
|
313
|
+
.ql-editor .ql-bg-black {
|
|
314
|
+
background-color: #000;
|
|
315
|
+
}
|
|
316
|
+
.ql-editor .ql-bg-red {
|
|
317
|
+
background-color: #e60000;
|
|
318
|
+
}
|
|
319
|
+
.ql-editor .ql-bg-orange {
|
|
320
|
+
background-color: #f90;
|
|
321
|
+
}
|
|
322
|
+
.ql-editor .ql-bg-yellow {
|
|
323
|
+
background-color: #ff0;
|
|
324
|
+
}
|
|
325
|
+
.ql-editor .ql-bg-green {
|
|
326
|
+
background-color: #008a00;
|
|
327
|
+
}
|
|
328
|
+
.ql-editor .ql-bg-blue {
|
|
329
|
+
background-color: #06c;
|
|
330
|
+
}
|
|
331
|
+
.ql-editor .ql-bg-purple {
|
|
332
|
+
background-color: #93f;
|
|
333
|
+
}
|
|
334
|
+
.ql-editor .ql-color-white {
|
|
335
|
+
color: #fff;
|
|
336
|
+
}
|
|
337
|
+
.ql-editor .ql-color-red {
|
|
338
|
+
color: #e60000;
|
|
339
|
+
}
|
|
340
|
+
.ql-editor .ql-color-orange {
|
|
341
|
+
color: #f90;
|
|
342
|
+
}
|
|
343
|
+
.ql-editor .ql-color-yellow {
|
|
344
|
+
color: #ff0;
|
|
345
|
+
}
|
|
346
|
+
.ql-editor .ql-color-green {
|
|
347
|
+
color: #008a00;
|
|
348
|
+
}
|
|
349
|
+
.ql-editor .ql-color-blue {
|
|
350
|
+
color: #06c;
|
|
351
|
+
}
|
|
352
|
+
.ql-editor .ql-color-purple {
|
|
353
|
+
color: #93f;
|
|
354
|
+
}
|
|
355
|
+
.ql-editor .ql-font-serif {
|
|
356
|
+
font-family: Georgia, Times New Roman, serif;
|
|
357
|
+
}
|
|
358
|
+
.ql-editor .ql-font-monospace {
|
|
359
|
+
font-family: Monaco, Courier New, monospace;
|
|
360
|
+
}
|
|
361
|
+
.ql-editor .ql-size-small {
|
|
362
|
+
font-size: 0.75em;
|
|
363
|
+
}
|
|
364
|
+
.ql-editor .ql-size-large {
|
|
365
|
+
font-size: 1.5em;
|
|
366
|
+
}
|
|
367
|
+
.ql-editor .ql-size-huge {
|
|
368
|
+
font-size: 2.5em;
|
|
369
|
+
}
|
|
370
|
+
.ql-editor .ql-direction-rtl {
|
|
371
|
+
direction: rtl;
|
|
372
|
+
text-align: inherit;
|
|
373
|
+
}
|
|
374
|
+
.ql-editor .ql-align-center {
|
|
375
|
+
text-align: center;
|
|
376
|
+
}
|
|
377
|
+
.ql-editor .ql-align-justify {
|
|
378
|
+
text-align: justify;
|
|
379
|
+
}
|
|
380
|
+
.ql-editor .ql-align-right {
|
|
381
|
+
text-align: right;
|
|
382
|
+
}
|
|
383
|
+
.ql-editor.ql-blank::before {
|
|
384
|
+
color: rgba(0,0,0,0.6);
|
|
385
|
+
content: attr(data-placeholder);
|
|
386
|
+
font-style: italic;
|
|
387
|
+
left: 15px;
|
|
388
|
+
pointer-events: none;
|
|
389
|
+
position: absolute;
|
|
390
|
+
right: 15px;
|
|
391
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor > *{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol > li,.ql-editor ul > li{list-style-type:none}.ql-editor ul > li::before{content:'\2022'}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true] > li *,.ql-editor ul[data-checked=false] > li *{pointer-events:all}.ql-editor ul[data-checked=true] > li::before,.ql-editor ul[data-checked=false] > li::before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true] > li::before{content:'\2611'}.ql-editor ul[data-checked=false] > li::before{content:'\2610'}.ql-editor li::before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl)::before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl::before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0, decimal) '. '}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1, lower-alpha) '. '}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2, lower-roman) '. '}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3, decimal) '. '}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4, lower-alpha) '. '}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5, lower-roman) '. '}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6, decimal) '. '}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7, lower-alpha) '. '}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8, lower-roman) '. '}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9, decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Copyright (c) 2025 Pxx-Team
|
|
9
9
|
* Released under the MIT license
|
|
10
|
-
* Date: 2025-08-29T09:
|
|
10
|
+
* Date: 2025-08-29T09:28:40.838Z
|
|
11
11
|
*/
|
|
12
12
|
import { defineComponent, h, onMounted, onBeforeUnmount, ref, computed, watchEffect, watch, nextTick } from 'vue';
|
|
13
13
|
|