pom-text-editor 0.1.21 → 0.2.21
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/README.md +9 -2
- package/dist/pom-text-editor.cjs.js +83 -77
- package/dist/pom-text-editor.es.js +1285 -651
- package/dist/pom-text-editor.umd.js +83 -77
- package/package.json +2 -4
- package/dist/style.css +0 -8997
|
@@ -1,154 +1,160 @@
|
|
|
1
|
-
(function(e,k){typeof exports=="object"&&typeof module<"u"?module.exports=k(require("vue")):typeof define=="function"&&define.amd?define(["vue"],k):(e=typeof globalThis<"u"?globalThis:e||self,e.PomTextEditor=k(e.Vue))})(this,function(e){"use strict";function k(){const o=window.getSelection();if(o.rangeCount>0){const s=o.getRangeAt(0),t=s.startOffset;document.getElementById("cursorPosition").textContent=t;const r=s.startContainer;if(r.nodeType===Node.TEXT_NODE){const d=r.textContent.substring(t,t+1);document.getElementById("textAtCursor").textContent=d}else document.getElementById("textAtCursor").textContent="No text here"}}function M(){const o=window.getSelection();if(o.rangeCount>0)return{range:o.getRangeAt(0).cloneRange(),selection:o}}function L(o){o.preventDefault();const t=o.target.parentElement,r=o.clientX,d=o.clientY,m=parseFloat(window.getComputedStyle(t).width),i=parseFloat(window.getComputedStyle(t).height);function l(g){const u=g.clientX-r,h=g.clientY-d;t.style.width=`${m+u}px`,t.style.height=`${i+h}px`,t.style.minWidth="50px",t.style.minHeight="50px";const f=t.querySelector("img");f&&(f.style.width="100%")}function p(){document.removeEventListener("mousemove",l),document.removeEventListener("mouseup",p)}document.addEventListener("mousemove",l),document.addEventListener("mouseup",p)}let C;function T(o,s){const[t,r]=s.textContent.split(" x ").map(Number);R(o,r,t)}function S(o,s,t){const r=Array.from(t.children).indexOf(o.target),d=r%10+1,m=Math.floor(r/10)+1;Array.from(t.children).forEach((i,l)=>{l<=r?i.style.backgroundColor="#1f9296":i.style.backgroundColor="#737979"}),s.textContent=`${d} x ${m}`}function $(o,s,t,r){for(C=o;t.firstChild;){const d=t.firstChild;d.removeEventListener("mouseover",S),d.removeEventListener("click",T),t.removeChild(d)}for(let d=0;d<100;d++){const m=document.createElement("div");m.addEventListener("mouseover",i=>S(i,r,t)),m.addEventListener("click",()=>T(s,r)),t.appendChild(m)}}function R(o,s=2,t=2){const r=C.range;if(r){const d=C.selection,m=document.createElement("div");m.classList.add("pom-table-editor-container"),m.style.display="flex";const i=document.createElement("table");i.style.border="1px solid black",i.style.borderCollapse="collapse",i.classList.add("pom-table-editor");for(let g=0;g<s;g++){const u=document.createElement("tr");for(let h=0;h<t;h++){const f=document.createElement("td");f.style.border="1px solid black",f.style.padding="5px",f.textContent=`Row ${g+1}, Cell ${h+1}`;const y=document.createElement("div");y.style.width="5px",y.style.height="100%",y.style.position="absolute",y.style.right="0",y.style.top="0",y.style.cursor="col-resize",y.style.userSelect="none",y.addEventListener("mousedown",L),f.style.position="relative",f.appendChild(y),u.appendChild(f)}i.appendChild(u)}m.appendChild(i),i.addEventListener("contextmenu",function(g){g.preventDefault(),z(g,i,m)}),r.deleteContents(),r.insertNode(m);const l=i.querySelector("td"),p=document.createRange();return p.setStart(l,0),p.collapse(!0),d.addRange(p),C=p.cloneRange(),o.focus(),C}}function z(o,s,t){const r=document.getElementById("custom-context-menu");r&&document.body.removeChild(r);const d=document.createElement("div");d.id="custom-context-menu",d.style.position="absolute",d.style.backgroundColor="white",d.style.border="1px solid #ccc",d.style.padding="10px",d.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",d.style.zIndex="1000",d.style.left=`${o==null?void 0:o.pageX}px`,d.style.top=`${o==null?void 0:o.pageY}px`,[{text:"Delete Table",action:()=>t.remove()},{text:"Toggle Borders",action:()=>{const i=s.style.border!=="";s.style.border=i?"":"1px solid black",s.style.borderCollapse="collapse",s.querySelectorAll("td").forEach(l=>{l.style.border=i?"":"1px solid black"})}},{text:"Color Table",action:()=>{const i=document.createElement("input");i.type="color",i.style.marginTop="5px",i.addEventListener("input",()=>{s.style.backgroundColor=i.value});const l=document.createElement("input");l.type="color",l.style.marginTop="5px",l.addEventListener("input",()=>{s.style.color=l.value}),d.appendChild(document.createTextNode("Background Color:")),d.appendChild(i),d.appendChild(document.createTextNode("Text Color:")),d.appendChild(l)}},{text:"Add Row",action:()=>{const i=document.createElement("tr"),l=s.rows[0].cells.length;for(let p=0;p<l;p++){const g=document.createElement("td");g.style.border="1px solid black",g.style.padding="5px",g.textContent=`Row ${s.rows.length+1}, Cell ${p+1}`,i.appendChild(g)}s.appendChild(i)}},{text:"Add Column",action:()=>{for(let i=0;i<s.rows.length;i++){const l=document.createElement("td");l.style.border="1px solid black",l.style.padding="5px",l.textContent=`Row ${i+1}, Cell ${s.rows[i].cells.length+1}`,s.rows[i].appendChild(l)}}}].forEach(i=>{const l=document.createElement("div");l.textContent=i.text,l.style.cursor="pointer",l.addEventListener("click",i.action),d.appendChild(l)}),document.body.appendChild(d),document.addEventListener("click",function i(){d&&document.body.removeChild(d),document.removeEventListener("click",i)})}function F(o,s="strong",t="*bold text here *",r=[]){if(o){const d=window.getSelection();d.removeAllRanges(),d.addRange(o);const m=d.getRangeAt(0),i=`${m.toString()}`.trim(),l=m.cloneContents();if(typeof s=="string"&&s.trim()!==""){const p=document.createElement(s);p.style.paddingLeft="7px",p.contenteditable=!1,r&&r.forEach(f=>{const{attr:y,value:E,keyin:N}=f;p.setAttribute(y,E)}),p.appendChild(l),p.innerHTML=i.length>0?p.innerHTML:t;const g=document.createElement("span"),u=document.createElement("span");g.innerHTML=" ",u.innerHTML=" ",o.deleteContents(),o.insertNode(g),o.insertNode(p),o.insertNode(u);const h=document.createRange();h.setStartAfter(u),h.collapse(!0),d.removeAllRanges(),d.addRange(h),o=h.cloneRange()}else console.error("Invalid element type:",s)}else console.log("No saved range available. Make sure the cursor position is saved before calling this function.")}function B(o,s,t="span",r="datetime-local",d={},m=[]){const i=document.getElementById("Pom-openInputToFeed"+r);i&&i.remove();const l=document.createElement("div"),p=document.createElement("input");l.id="custom-context-menu",l.style.position="absolute",l.style.backgroundColor="white",l.style.border="1px solid #ccc",l.style.padding="10px",l.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",l.style.zIndex="1000",l.style.left=`${s==null?void 0:s.pageX}px`,l.style.top=`${s==null?void 0:s.pageY}px`,p.id="Pom-openInputToFeed"+r,p.classList.add("Pom-openInputToFeed"),p.type=r,p.style.cssText=d,l.appendChild(p);const g=document.getElementById("toolbar");g&&g.appendChild(l),p.addEventListener("change",function(){const f=`${this.value}`;if(r=="datetime-local")F(o,t,f.replace(/T/," "));else{let E=[];for(const N in m)if(m.hasOwnProperty(N))if(N.toLowerCase()==="href")E.push({attr:N,value:f});else{const V=m[N];E.push({attr:N,value:V})}F(o,t,"**link Name** ",E)}l.remove(),window.document.removeEventListener("click",u);const y=document.getElementsByClassName("pom-editor-anchor-tag");for(let E=0;E<y.length;E++)y[E].addEventListener("click",h)});function u(f){l.contains(f.target)||(l.remove(),window.document.removeEventListener("click",u))}function h(f){f.preventDefault();const y=this.href;window.open(y,"_blank"),window.document.removeEventListener("click",h)}}function I(o,s,t,r,d="",m="div"){if(!o){console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");return}const i=window.getSelection();i.removeAllRanges(),i.addRange(o);const l=i.getRangeAt(0),p=l.cloneContents(),g=l.commonAncestorContainer,u=g.nodeType===Node.TEXT_NODE?g.parentNode:g;let h,f;u.id==="editor"?(h=document.createElement(m),console.log(p),h.appendChild(p),console.log(h.innerHTML.replace("text-align","note")),f=h.innerHTML.replace("text-align","note"),o.deleteContents()):(h=u.cloneNode(),f=h.innerHTML);const y=h.style[t]||"",E=new RegExp(d,"ig"),N=r.replace(E,"")+d;y.includes(N)?h.style[t]=y.replace(N,""):h.style[t]=(y+N).trim();const V=document.createElement("span"),b=document.createElement("span");V.innerHTML=" ",b.innerHTML=" ",h.innerHTML=f,o.insertNode(V),o.insertNode(h),o.insertNode(b);const x=document.createRange();x.collapse(!0),i.removeAllRanges(),i.addRange(x),o=x.cloneRange(),s.focus()}function Z(o,s=2,t="list-style"){if(o){const r=window.getSelection();r.removeAllRanges(),r.addRange(o);const d=document.createElement("ul");d.style.listStyle=t,d.style.paddingLeft="73px";for(let l=0;l<s;l++){const p=document.createElement("li");p.style.padding="5px",p.textContent=`li ${l+1}, `,p.style.position="relative",d.appendChild(p)}o.deleteContents(),o.insertNode(d);const m=d.querySelector("td"),i=document.createRange();i.setStart(m,0),i.collapse(!0),r.removeAllRanges(),r.addRange(i),o=i.cloneRange(),editor.focus()}}function j(o){o.preventDefault();const t=o.target.parentElement,r=document.getElementById("editor"),d=o.clientX,m=o.clientY,i=parseFloat(window.getComputedStyle(t).left)||0,l=parseFloat(window.getComputedStyle(t).top)||0,p=r.offsetWidth,g=r.offsetHeight,u=t.offsetWidth,h=t.offsetHeight;function f(E){const N=E.clientX-d,V=E.clientY-m;let b=i+N,x=l+V;b<0?b=0:b+u>p&&(b=p-u),x<0?x=0:x+h>g&&(x=g-h),t.style.left=`${b}px`,t.style.top=`${x}px`;const w=p/2,v=g/2,_=b+u/2,n=x+h/2;Math.abs(_-w)<1&&Math.abs(n-v)<1&&alert("Container is centered!")}function y(){document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",y)}document.addEventListener("mousemove",f),document.addEventListener("mouseup",y)}function D(o,s){try{const t=document.createElement("div");t.style.width="20px",t.style.height="20px",t.style.background="rgba(0, 0, 0, 0.5)",t.style.position="absolute",t.style.left="0",t.style.top="0",t.style.cursor="move",t.style.zIndex="11",t.classList.add(s),t.classList.add("hideonprint"),t.addEventListener("mousedown",r=>{j(r)}),o.appendChild(t)}catch(t){console.log(t)}}function P(o,s){if(o){const t=window.getSelection();t.removeAllRanges(),t.addRange(o);const r="Pom_Imge_EditorIn"+Date.now(),d=document.createElement("div");d.style.display="inline-flex",d.style.position="relative",d.style.width="200px",d.style.minHeight="40px",d.classList.add(r),d.classList.add("hideOnprint"),d.classList.add("pom-4-imageContainer"),d.id=r,d.setAttribute("contenteditable",!1);const m=document.createElement("img");m.style.padding="5px",m.style.width="100%",m.src=s,m.style.display="block",m.classList.add(r),m.setAttribute("contenteditable",!1);const i=document.createElement("div");i.style.width="20px",i.style.height="20px",i.style.background="gray",i.style.position="absolute",i.style.right="0",i.style.bottom="0",i.style.cursor="nwse-resize",i.style.zIndex="10",i.classList.add(r),i.setAttribute("contenteditable",!1),i.classList.add("hideOnprint"),i.addEventListener("mousedown",L),d.appendChild(m),d.appendChild(i),D(d,r),o.deleteContents(),o.insertNode(d);const l=document.createRange();l.setStartAfter(m),l.collapse(!0),t.removeAllRanges(),t.addRange(l),o=l.cloneRange(),editor.focus();let p=document.getElementsByClassName(r);for(let g=0;g<p.length;g++)p[g].addEventListener("keyup",function(h){h.keyCode==8})}}async function G(o,s){const t=o.target.files||o.dataTransfer.files;if(t.length){for(const r in t)if(t.hasOwnProperty(r)){const d=t[r],m=await O(d);P(s,m)}}}function O(o){return new Promise((s,t)=>{const r=new FileReader;r.onloadend=()=>s(r.result),r.onerror=d=>t(d),r.readAsDataURL(o)})}function X(o,s,t,r,d="",m="span"){if(o){const i=window.getSelection();i.removeAllRanges(),i.addRange(o);const l=i.getRangeAt(0),p=`${l}`.toString().trim(),g=l.cloneContents();if(typeof m=="string"&&m.trim()!==""){const u=document.createElement(m);u.appendChild(g),console.log(u.innerHTML);const h=new RegExp(d,"ig");u.style[t]=r.replace(h,"")+d;let f="text here";t=="background"?f=u.innerHTML.replace("background","note"):f=u.innerHTML,u.innerHTML=(p.length>0,f);const y=document.createElement("span"),E=document.createElement("span");y.innerHTML=" ",E.innerHTML=" ",o.deleteContents(),o.insertNode(y),o.insertNode(u),o.insertNode(E);const N=document.createRange();N.setStartAfter(E),N.collapse(!0),i.removeAllRanges(),i.addRange(N),o=N.cloneRange(),s.focus()}else console.error("Invalid element type:",m)}else console.log("No saved range available. Make sure the cursor position is saved before calling this function.")}function W(o){const s=document.createElement("div");s.textContent="NeW line ",o.appendChild(s),s.focus()}function A(o=!1,s=document.getElementsByClassName("pom-table-editor-container")){s=Array.from(s),s.forEach(t=>{if(o){const r=t.style.display==="flex"?"none":"flex";t.style.display=r;return}t.remove()})}function Y(o=document.getElementById("pom-texedito-container").innerHTML,s=".hideonprint"){const t=window.open("","","height=900,width=800");t.document.write("<html><head><title>Print</title>"),t.document.write(`<style>
|
|
2
|
-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(`.heading{content:"H"}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0;bottom:0}.right-2{right:.5rem}.z-10{z-index:10}.m-1{margin:.25rem}.m-3{margin:.75rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.-mr-1{margin-right:-.25rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-\\[3vh\\]{height:3vh}.w-\\[12vw\\]{width:12vw}.w-\\[6vw\\]{width:6vw}.w-full{width:100%}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-1{gap:.25rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-b-2{border-bottom-width:2px}.border-t-2{border-top-width:2px}.border-none{border-style:none}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.italic{font-style:italic}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.display-color{border:1px solid #ccc;text-align:center;font-size:18px;background-color:#f0f0f0;position:relative;display:inline-block;cursor:pointer}.color-container{width:25vw;display:none;position:absolute;z-index:9999;background-color:#fff;padding:1px;box-shadow:0 4px 6px #0000001a;border:1px solid #ccc;border-radius:5px;transition:opacity .3s ease,visibility .3s ease}.display-color:hover+.color-container,.display-color:active+.color-container{display:block}.color-container:hover{display:block;box-shadow:0 4px 8px #0000001a;padding:14px}.color-grid{display:flex;flex-wrap:wrap;gap:5px}.pom-editor-menu-fonts{display:none;position:absolute}.showfontFamilyMenu:hover+.pom-editor-menu-fonts,.pom-editor-menu-fonts:hover{display:inline-block}.pom-editor-menu:hover{display:block}.pom-editor-menu{display:none;background-color:#fff;border-radius:12px;box-shadow:0 4px 8px #0000001a;width:28vw;height:41vh;overflow:auto}.color-box{width:50px;height:50px;border-radius:8px;transition:transform .3s,box-shadow .3s;cursor:pointer}.color-box:hover{transform:scale(1.1);box-shadow:0 6px 12px #0003}#fullTextEditor .card{padding:2em}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}#fullTextEditor a:hover{color:#747bff}#fullTextEditor button{background-color:#f9f9f9}}.hover\\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.group:hover .group-hover\\:block{display:block}.editor[data-v-367a2559]:empty:before{content:attr(data-placeholder);color:#aaa;left:10px;top:10px;pointer-events:none;font-size:19px}.editor[data-v-367a2559]:focus:before{content:none}.table-picker-wrapper[data-v-367a2559]{position:relative;display:inline-block}.table-picker-trigger[data-v-367a2559]{cursor:pointer;display:flex;align-items:center}.table-picker-container[data-v-367a2559]{position:absolute;top:10%;right:90;margin-top:10px;padding:10px;border:0;background-color:#f4f4f4;cursor:pointer;-webkit-user-select:none;user-select:none;width:max-content;display:none;left:85%!important;top:-7px}.table-picker-wrapper:hover .table-picker-container[data-v-367a2559]{display:block}.table-picker-grid[data-v-367a2559]{display:grid;grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px);gap:2px;margin-bottom:10px}.table-picker-grid div[data-v-367a2559]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.table-picker-grid div[data-v-367a2559]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-367a2559]{font-size:12px;color:#333}.pomXEditor[data-v-367a2559]{border:1px;border-style:solid;border-color:#6972734e}#editor[data-v-367a2559]:focus{outline:none;border:none}.pom-table-editor-container[data-v-367a2559]{display:flex}.pom-table-editor-container a[data-v-367a2559]{color:#00f;text-decoration:underline;cursor:pointer}.pom-table-editor-container a[data-v-367a2559]:link{color:#00f}.pom-table-editor-container a[data-v-367a2559]:visited{color:purple}.pom-table-editor-container a[data-v-367a2559]:hover{color:red;text-decoration:none}.pom-table-editor-container a[data-v-367a2559]:active{color:orange}@media print{.hideonprint[data-v-367a2559]{display:none!important}[data-v-367a2559]{overflow:hidden}}/*!
|
|
2
|
+
* Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com
|
|
3
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
4
|
+
* Copyright 2024 Fonticons, Inc.
|
|
5
|
+
*/.editor[data-v-c5304261]:empty:before{content:attr(data-placeholder);color:#aaa;left:10px;top:10px;pointer-events:none;font-size:19px}.editor[data-v-c5304261]:focus:before{content:none}.table-picker-wrapper[data-v-c5304261]{position:relative;display:inline-block}.table-picker-trigger[data-v-c5304261]{cursor:pointer;display:flex;align-items:center}.table-picker-container[data-v-c5304261]{position:absolute;top:10%;right:90;margin-top:10px;padding:10px;border:0;background-color:#f4f4f4;cursor:pointer;-webkit-user-select:none;user-select:none;width:max-content;display:none;left:85%!important;top:-7px}.table-picker-wrapper:hover .table-picker-container[data-v-c5304261]{display:block}.table-picker-grid[data-v-c5304261]{display:grid;grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px);gap:2px;margin-bottom:10px}.table-picker-grid div[data-v-c5304261]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.table-picker-grid div[data-v-c5304261]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-c5304261]{font-size:12px;color:#333}.pomXEditor[data-v-c5304261]{border:1px;border-style:solid;border-color:#6972734e}#editor[data-v-c5304261]:focus{outline:none;border:none}.pom-table-editor-container[data-v-c5304261]{display:flex}.pom-table-editor-container a[data-v-c5304261]{color:#00f;text-decoration:underline;cursor:pointer}.pom-table-editor-container a[data-v-c5304261]:link{color:#00f}.pom-table-editor-container a[data-v-c5304261]:visited{color:purple}.pom-table-editor-container a[data-v-c5304261]:hover{color:red;text-decoration:none}.pom-table-editor-container a[data-v-c5304261]:active{color:orange}@media print{.hideonprint[data-v-c5304261]{display:none!important}[data-v-c5304261]{overflow:hidden}}.editor[data-v-c5304261]{padding:10px;border:1px solid #ccc;min-height:200px}.resizable-image[data-v-c5304261]{max-width:100%;resize:both;overflow:auto;display:block;cursor:nwse-resize}`)),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
6
|
+
(function(e,M){typeof exports=="object"&&typeof module<"u"?module.exports=M(require("vue")):typeof define=="function"&&define.amd?define(["vue"],M):(e=typeof globalThis<"u"?globalThis:e||self,e.PomTextEditor=M(e.Vue))})(this,function(e){"use strict";function M(){const n=window.getSelection();if(n.rangeCount>0){const a=n.getRangeAt(0),o=a.startOffset;document.getElementById("cursorPosition").textContent=o;const l=a.startContainer;if(l.nodeType===Node.TEXT_NODE){const r=l.textContent.substring(o,o+1);document.getElementById("textAtCursor").textContent=r}else document.getElementById("textAtCursor").textContent="No text here"}}function Q(){const n=window.getSelection();if(n.rangeCount>0)return{range:n.getRangeAt(0).cloneRange(),selection:n}}function G(n){n.preventDefault();const o=n.target.parentElement,l=n.clientX,r=n.clientY,p=parseFloat(window.getComputedStyle(o).width),s=parseFloat(window.getComputedStyle(o).height);function d(h){const y=h.clientX-l,f=h.clientY-r;o.style.width=`${p+y}px`,o.style.height=`${s+f}px`,o.style.minWidth="50px",o.style.minHeight="50px";const g=o.querySelector("img");g&&(g.style.width="100%")}function m(){document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",m)}document.addEventListener("mousemove",d),document.addEventListener("mouseup",m)}let T;function O(n,a){const[o,l]=a.textContent.split(" x ").map(Number);te(n,l,o)}function X(n,a,o){const l=Array.from(o.children).indexOf(n.target),r=l%10+1,p=Math.floor(l/10)+1;Array.from(o.children).forEach((s,d)=>{d<=l?s.style.backgroundColor="#1f9296":s.style.backgroundColor="#737979"}),a.textContent=`${r} x ${p}`}function ee(n,a,o,l){for(T=n;o.firstChild;){const r=o.firstChild;r.removeEventListener("mouseover",X),r.removeEventListener("click",O),o.removeChild(r)}for(let r=0;r<100;r++){const p=document.createElement("div");p.addEventListener("mouseover",s=>X(s,l,o)),p.addEventListener("click",()=>O(a,l)),o.appendChild(p)}}function te(n,a=2,o=2){const l=T.range;if(l){const r=T.selection,p=document.createElement("div");p.classList.add("pom-table-editor-container"),p.style.display="flex";const s=document.createElement("table");s.style.border="1px solid black",s.style.borderCollapse="collapse",s.classList.add("pom-table-editor");for(let h=0;h<a;h++){const y=document.createElement("tr");for(let f=0;f<o;f++){const g=document.createElement("td");g.style.border="1px solid black",g.style.padding="5px",g.textContent=`Row ${h+1}, Cell ${f+1}`;const _=document.createElement("div");_.style.width="5px",_.style.height="100%",_.style.position="absolute",_.style.right="0",_.style.top="0",_.style.cursor="col-resize",_.style.userSelect="none",_.addEventListener("mousedown",G),g.style.position="relative",g.appendChild(_),y.appendChild(g)}s.appendChild(y)}p.appendChild(s),s.addEventListener("contextmenu",function(h){h.preventDefault(),oe(h,s,p)}),l.deleteContents(),l.insertNode(p);const d=s.querySelector("td"),m=document.createRange();return m.setStart(d,0),m.collapse(!0),r.addRange(m),T=m.cloneRange(),n.focus(),T}}function oe(n,a,o){const l=document.getElementById("custom-context-menu");l&&document.body.removeChild(l);const r=document.createElement("div");r.id="custom-context-menu",r.style.position="absolute",r.style.backgroundColor="white",r.style.border="1px solid #ccc",r.style.padding="10px",r.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",r.style.zIndex="1000",r.style.left=`${n==null?void 0:n.pageX}px`,r.style.top=`${n==null?void 0:n.pageY}px`,[{text:"Delete Table",action:()=>o.remove()},{text:"Toggle Borders",action:()=>{const s=a.style.border!=="";a.style.border=s?"":"1px solid black",a.style.borderCollapse="collapse",a.querySelectorAll("td").forEach(d=>{d.style.border=s?"":"1px solid black"})}},{text:"Color Table",action:()=>{const s=document.createElement("input");s.type="color",s.style.marginTop="5px",s.addEventListener("input",()=>{a.style.backgroundColor=s.value});const d=document.createElement("input");d.type="color",d.style.marginTop="5px",d.addEventListener("input",()=>{a.style.color=d.value}),r.appendChild(document.createTextNode("Background Color:")),r.appendChild(s),r.appendChild(document.createTextNode("Text Color:")),r.appendChild(d)}},{text:"Add Row",action:()=>{const s=document.createElement("tr"),d=a.rows[0].cells.length;for(let m=0;m<d;m++){const h=document.createElement("td");h.style.border="1px solid black",h.style.padding="5px",h.textContent=`Row ${a.rows.length+1}, Cell ${m+1}`,s.appendChild(h)}a.appendChild(s)}},{text:"Add Column",action:()=>{for(let s=0;s<a.rows.length;s++){const d=document.createElement("td");d.style.border="1px solid black",d.style.padding="5px",d.textContent=`Row ${s+1}, Cell ${a.rows[s].cells.length+1}`,a.rows[s].appendChild(d)}}}].forEach(s=>{const d=document.createElement("div");d.textContent=s.text,d.style.cursor="pointer",d.addEventListener("click",s.action),r.appendChild(d)}),document.body.appendChild(r),document.addEventListener("click",function s(){r&&document.body.removeChild(r),document.removeEventListener("click",s)})}function Z(n,a="strong",o="*bold text here *",l=[]){if(n){const r=window.getSelection();r.removeAllRanges(),r.addRange(n);const p=r.getRangeAt(0),s=`${p.toString()}`.trim(),d=p.cloneContents();if(typeof a=="string"&&a.trim()!==""){const m=document.createElement(a);m.style.paddingLeft="7px",m.contenteditable=!1,l&&l.forEach(g=>{const{attr:_,value:E,keyin:N}=g;m.setAttribute(_,E)}),m.appendChild(d),m.innerHTML=s.length>0?m.innerHTML:o;const h=document.createElement("span"),y=document.createElement("span");h.innerHTML=" ",y.innerHTML=" ",n.deleteContents(),n.insertNode(h),n.insertNode(m),n.insertNode(y);const f=document.createRange();f.setStartAfter(y),f.collapse(!0),r.removeAllRanges(),r.addRange(f),n=f.cloneRange()}else console.error("Invalid element type:",a)}else console.log("No saved range available. Make sure the cursor position is saved before calling this function.")}function ne(n,a,o="span",l="datetime-local",r={},p=[]){const s=document.getElementById("Pom-openInputToFeed"+l);s&&s.remove();const d=document.createElement("div"),m=document.createElement("input");d.id="custom-context-menu",d.style.position="absolute",d.style.backgroundColor="white",d.style.border="1px solid #ccc",d.style.padding="10px",d.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",d.style.zIndex="1000",d.style.left=`${a==null?void 0:a.pageX}px`,d.style.top=`${a==null?void 0:a.pageY}px`,m.id="Pom-openInputToFeed"+l,m.classList.add("Pom-openInputToFeed"),m.type=l,m.style.cssText=r,d.appendChild(m);const h=document.getElementById("toolbar");h&&h.appendChild(d),m.addEventListener("change",function(){const g=`${this.value}`;if(l=="datetime-local")Z(n,o,g.replace(/T/," "));else{let E=[];for(const N in p)if(p.hasOwnProperty(N))if(N.toLowerCase()==="href")E.push({attr:N,value:g});else{const S=p[N];E.push({attr:N,value:S})}Z(n,o,"**link Name** ",E)}d.remove(),window.document.removeEventListener("click",y);const _=document.getElementsByClassName("pom-editor-anchor-tag");for(let E=0;E<_.length;E++)_[E].addEventListener("click",f)});function y(g){d.contains(g.target)||(d.remove(),window.document.removeEventListener("click",y))}function f(g){g.preventDefault();const _=this.href;window.open(_,"_blank"),window.document.removeEventListener("click",f)}}function le(n,a,o,l,r="",p="span"){if(!n){console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");return}const s=window.getSelection();s.removeAllRanges(),s.addRange(n);const d=s.getRangeAt(0),m=d.cloneContents(),h=d.commonAncestorContainer,y=h.nodeType===Node.TEXT_NODE?h.parentNode:h;let f,g;f=document.createElement(p),f.classList.add("pom-4-textDirection"),f.setAttribute("id",`pom-4-textDirection-${Date.now()}`);const _=`${y.tagName}`.toLowerCase(),E=y.classList.contains("resizer-image-dropped");if(_=="ul"||E){alert(l);const z={justify:"inline-start",none:"inline-none",end:"inline-end",start:"none",center:"inline-start"};y.style.float=`${z[l]}`,y.style.fontWeight="bold";return}f.appendChild(m),y.id==="editor"?(g=f.innerHTML.replace("text-align","note"),n.deleteContents()):(g=f.innerHTML,n.deleteContents());const N=f.style[o]||"",S=new RegExp(r,"ig"),w=l.replace(S,"")+r;N.includes(w)?f.style[o]=N.replace(w,""):f.style[o]=(N+w).trim(),f.style["margin-left"]="4px",f.style["margin-right"]="4px",f.innerHTML=g,n.insertNode(f);const v=document.createRange();v.collapse(!0),s.removeAllRanges(),s.addRange(v),n=v.cloneRange(),a.focus()}function ie(n,a=2,o="list-style"){if(n){const l=window.getSelection();l.removeAllRanges(),l.addRange(n);const r=document.createElement("ul");r.style.listStyle=o,r.style.paddingLeft="73px";for(let d=0;d<a;d++){const m=document.createElement("li");m.style.padding="5px",m.textContent=`li ${d+1}, `,m.style.position="relative",r.appendChild(m)}n.deleteContents(),n.insertNode(r);const p=r.querySelector("td"),s=document.createRange();s.setStart(p,0),s.collapse(!0),l.removeAllRanges(),l.addRange(s),n=s.cloneRange(),editor.focus()}}function se(n){n.preventDefault();const o=n.target.parentElement,l=document.getElementById("editor"),r=n.clientX,p=n.clientY,s=parseFloat(window.getComputedStyle(o).left)||0,d=parseFloat(window.getComputedStyle(o).top)||0,m=l.offsetWidth,h=l.offsetHeight,y=o.offsetWidth,f=o.offsetHeight;function g(E){const N=E.clientX-r,S=E.clientY-p;let w=s+N,v=d+S;w<0?w=0:w+y>m&&(w=m-y),v<0?v=0:v+f>h&&(v=h-f),o.style.left=`${w}px`,o.style.top=`${v}px`;const z=m/2,D=h/2,$=w+y/2,b=v+f/2;Math.abs($-z)<1&&Math.abs(b-D)<1&&alert("Container is centered!")}function _(){document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",_)}document.addEventListener("mousemove",g),document.addEventListener("mouseup",_)}function re(n,a){try{const o=document.createElement("div");o.style.width="20px",o.style.height="20px",o.style.background="rgba(0, 0, 0, 0.5)",o.style.position="absolute",o.style.left="0",o.style.top="0",o.style.cursor="move",o.style.zIndex="11",o.classList.add(a),o.classList.add("hideonprint"),o.addEventListener("mousedown",l=>{se(l)}),n.appendChild(o)}catch(o){console.log(o)}}function ae(n,a){if(n){const o=window.getSelection();o.removeAllRanges(),o.addRange(n);const l="Pom_Imge_EditorIn"+Date.now(),r=document.createElement("div");r.style.display="inline-flex",r.style.position="relative",r.style.width="200px",r.style.minHeight="40px",r.classList.add(l),r.classList.add("hideOnprint"),r.classList.add("pom-4-imageContainer"),r.id=l,r.setAttribute("contenteditable",!1);const p=document.createElement("img");p.style.padding="5px",p.style.width="100%",p.src=a,p.style.display="block",p.classList.add(l),p.setAttribute("contenteditable",!1);const s=document.createElement("div");s.style.width="20px",s.style.height="20px",s.style.background="gray",s.style.position="absolute",s.style.right="0",s.style.bottom="0",s.style.cursor="nwse-resize",s.style.zIndex="10",s.classList.add(l),s.setAttribute("contenteditable",!1),s.classList.add("hideOnprint"),s.addEventListener("mousedown",G),r.appendChild(p),r.appendChild(s),re(r,l),n.deleteContents(),n.insertNode(r);const d=document.createRange();d.setStartAfter(p),d.collapse(!0),o.removeAllRanges(),o.addRange(d),n=d.cloneRange(),editor.focus();let m=document.getElementsByClassName(l);for(let h=0;h<m.length;h++)m[h].addEventListener("keyup",function(f){f.keyCode==8})}}async function de(n,a){const o=n.target.files||n.dataTransfer.files;if(o.length){for(const l in o)if(o.hasOwnProperty(l)){const r=o[l],p=await ce(r);ae(a,p)}}}function ce(n){return new Promise((a,o)=>{const l=new FileReader;l.onloadend=()=>a(l.result),l.onerror=r=>o(r),l.readAsDataURL(n)})}function me(n){const a=document.createElement("div");a.textContent="NeW line ",n.appendChild(a),a.focus()}function q(n=!1,a=document.getElementsByClassName("pom-table-editor-container")){a=Array.from(a),a.forEach(o=>{if(n){const l=o.style.display==="flex"?"none":"flex";o.style.display=l;return}o.remove()})}function pe(n=document.getElementById("pom-texedito-container").innerHTML,a=".hideonprint"){const o=window.open("","","height=900,width=800");o.document.write("<html><head><title>Print</title>"),o.document.write(`<style>
|
|
7
|
+
${a} {
|
|
3
8
|
display: none;
|
|
4
9
|
}
|
|
5
10
|
|
|
6
11
|
@media print {
|
|
7
|
-
${
|
|
12
|
+
${a} {
|
|
8
13
|
display: none;
|
|
9
14
|
}
|
|
10
15
|
}
|
|
11
16
|
.pom-4-imageContainer {
|
|
12
17
|
display: block !important;
|
|
13
18
|
}
|
|
14
|
-
</style>`),
|
|
19
|
+
</style>`),o.document.write("</head><body>"),o.document.write(n),o.document.write("</body></html>"),o.document.close();const l=o.document.querySelectorAll(".pom-4-imageContainer");return Y(l),o}function Y(n=printWindow.document.querySelectorAll(".pom-4-imageContainer")){n&&n.forEach(function(a){const o=a.querySelector("img"),l=a.getAttribute("style");l?o.style.cssText=l+"; position: initial":o.style.position="initial",a.style.display="block",parseInt(a.style.left,10)>793.7&&(a.style.left="793.7px")})}function he(n=document.getElementById("pom-texedito-container")){return Y(n.querySelectorAll(".pom-4-imageContainer")),n.innerHTML}function fe(n=!0,a=document.getElementById("pom-texedito-container").innerHTML,o="hideonprint"){const l=pe(a,o);n&&(l.focus(),l.onload=function(){l.print()},l.onafterprint=function(){l.close()})}function U(n,a,o,l,r="",p="span"){if(!n){console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");return}const s=window.getSelection();s.removeAllRanges(),s.addRange(n);const d=s.getRangeAt(0),m=d.cloneContents(),h=d.commonAncestorContainer;(h.nodeType===Node.TEXT_NODE?h.parentNode:h).tagName.toLowerCase();let f;const g=document.createElement(p);g.style[o]=l,g.appendChild(m),f=g.innerHTML,n.deleteContents(),g.innerHTML=f,n.insertNode(g);const _=document.createRange();_.collapse(!0),s.removeAllRanges(),s.addRange(_),n=_.cloneRange()}function ge(){return`<style scoped>
|
|
15
20
|
.table-picker-wrapper {
|
|
16
|
-
|
|
17
|
-
|
|
21
|
+
position: relative;
|
|
22
|
+
display: inline-block;
|
|
18
23
|
}
|
|
19
24
|
|
|
20
25
|
.table-picker-trigger {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
24
29
|
}
|
|
25
30
|
|
|
26
31
|
.table-picker-container {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
position: absolute;
|
|
33
|
+
top: 10%;
|
|
34
|
+
right: 90;
|
|
35
|
+
margin-top: 10px;
|
|
36
|
+
padding: 10px;
|
|
37
|
+
border: 0;
|
|
38
|
+
background-color: rgb(244, 244, 244);
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
user-select: none;
|
|
41
|
+
width: max-content;
|
|
42
|
+
display: none;
|
|
43
|
+
left: 85% !important;
|
|
44
|
+
top: -7px;
|
|
45
|
+
/* Hidden by default */
|
|
41
46
|
}
|
|
42
47
|
|
|
43
48
|
.table-picker-container.hidden {
|
|
44
|
-
|
|
49
|
+
/* display: none; */
|
|
45
50
|
}
|
|
46
51
|
|
|
47
52
|
.table-picker-wrapper:hover .table-picker-container {
|
|
48
|
-
|
|
49
|
-
|
|
53
|
+
display: block;
|
|
54
|
+
/* Show on hover */
|
|
50
55
|
}
|
|
51
56
|
|
|
52
57
|
.table-picker-grid {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
display: grid;
|
|
59
|
+
grid-template-columns: repeat(10, 20px);
|
|
60
|
+
grid-template-rows: repeat(10, 20px);
|
|
61
|
+
gap: 2px;
|
|
62
|
+
margin-bottom: 10px;
|
|
58
63
|
}
|
|
59
64
|
|
|
60
65
|
.table-picker-grid div {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
66
|
+
width: 20px;
|
|
67
|
+
height: 20px;
|
|
68
|
+
border: 1px solid #ddd;
|
|
69
|
+
background-color: #efa153ce;
|
|
65
70
|
}
|
|
66
71
|
|
|
67
72
|
.table-picker-grid div:hover {
|
|
68
|
-
|
|
69
|
-
|
|
73
|
+
background-color: rgb(248, 246, 246);
|
|
74
|
+
border: 0;
|
|
70
75
|
}
|
|
71
76
|
|
|
72
77
|
.table-dimensions {
|
|
73
|
-
|
|
74
|
-
|
|
78
|
+
font-size: 12px;
|
|
79
|
+
color: #333;
|
|
75
80
|
}
|
|
76
81
|
|
|
77
82
|
.pomXEditor {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
83
|
+
border: 1px;
|
|
84
|
+
border-style: solid;
|
|
85
|
+
border-color: #6972734e;
|
|
81
86
|
}
|
|
82
87
|
|
|
83
88
|
#editor:focus {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
89
|
+
outline: none;
|
|
90
|
+
border: none;
|
|
91
|
+
/* Removes any custom borders if applied */
|
|
87
92
|
}
|
|
88
93
|
|
|
89
94
|
.pom-table-editor-container {
|
|
90
|
-
|
|
95
|
+
display: flex;
|
|
91
96
|
}
|
|
92
97
|
|
|
93
98
|
a {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
color: blue;
|
|
100
|
+
/* Default color of the link text */
|
|
101
|
+
text-decoration: underline;
|
|
102
|
+
/* Underline the link text by default */
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
/* Cursor changes to a pointer on hover */
|
|
100
105
|
}
|
|
101
106
|
|
|
102
107
|
/* Additional pseudo-classes for different link states */
|
|
103
108
|
a:link {
|
|
104
|
-
|
|
105
|
-
|
|
109
|
+
color: blue;
|
|
110
|
+
/* Color of unvisited link */
|
|
106
111
|
}
|
|
107
112
|
|
|
108
113
|
a:visited {
|
|
109
|
-
|
|
110
|
-
|
|
114
|
+
color: purple;
|
|
115
|
+
/* Color of visited link */
|
|
111
116
|
}
|
|
112
117
|
|
|
113
118
|
a:hover {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
119
|
+
color: red;
|
|
120
|
+
/* Color when the link is hovered over */
|
|
121
|
+
text-decoration: none;
|
|
122
|
+
/* Typically remove underline on hover */
|
|
118
123
|
}
|
|
119
124
|
|
|
120
125
|
a:active {
|
|
121
|
-
|
|
122
|
-
|
|
126
|
+
color: orange;
|
|
127
|
+
/* Color when the link is clicked */
|
|
123
128
|
}
|
|
124
129
|
|
|
125
130
|
@media print {
|
|
126
|
-
|
|
127
|
-
|
|
131
|
+
.print-container {
|
|
132
|
+
/* width: 100%;
|
|
128
133
|
height: auto;
|
|
129
134
|
overflow: hidden;
|
|
130
135
|
page-break-inside: avoid;
|
|
131
136
|
margin: 0;
|
|
132
137
|
padding: 0;
|
|
133
138
|
box-sizing: border-box; */
|
|
134
|
-
|
|
139
|
+
}
|
|
135
140
|
|
|
136
|
-
|
|
137
|
-
|
|
141
|
+
/* Optional: Set the font size for better print readability */
|
|
142
|
+
/* body {
|
|
138
143
|
font-size: 12pt;
|
|
139
144
|
} */
|
|
140
|
-
|
|
141
|
-
|
|
145
|
+
/* Optional: Ensure images or other elements fit within the print area */
|
|
146
|
+
/* img {
|
|
142
147
|
max-width: 100%;
|
|
143
148
|
height: auto;
|
|
144
149
|
} */
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
150
|
+
.hideonprint {
|
|
151
|
+
display: none !important;
|
|
152
|
+
}
|
|
148
153
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
154
|
+
* {
|
|
155
|
+
overflow: hidden;
|
|
156
|
+
/* Hide scrollbar */
|
|
157
|
+
}
|
|
153
158
|
}
|
|
154
|
-
</style>`}const J=(o,s)=>{const t=o.__vccOpts||o;for(const[r,d]of s)t[r]=d;return t},a=o=>(e.pushScopeId("data-v-02ac6d13"),o=o(),e.popScopeId(),o),Q={style:{width:"100%"},id:"fullTextEditor"},ee={class:"hideonprint bg-gray-100 items-center",id:"toolbar"},te={class:"flex flex space-x-2 items-center"},oe={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},ne={class:"relative inline-block text-left group z-10 border-0"},re=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-02ac6d13><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-02ac6d13><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-02ac6d13><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-02ac6d13>View</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-02ac6d13><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-02ac6d13><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-02ac6d13></path></svg></div></div>',1),ie={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},de={class:"",role:"none"},se=[a(()=>e.createElementVNode("i",{class:"print p x-2"},null,-1)),a(()=>e.createElementVNode("strong",{class:"px-3"},"Print",-1))],le={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},ae=a(()=>e.createElementVNode("i",{class:"eye p x-2"},null,-1)),ce=a(()=>e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",id:"fullscreenButton"},[e.createElementVNode("i",{class:"expand-alt p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Fullscreen")],-1)),me={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},pe={class:"relative inline-block text-left group z-10 border-0 w-ful l"},he=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-02ac6d13><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-02ac6d13><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-02ac6d13><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-02ac6d13>Format</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-02ac6d13><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-02ac6d13><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-02ac6d13></path></svg></div></div>',1),ge={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},fe={class:"",role:"none"},xe=[a(()=>e.createElementVNode("i",{class:"bold p x-2"},null,-1)),a(()=>e.createElementVNode("strong",{class:"px-3"},"Bold",-1))],ue=[a(()=>e.createElementVNode("i",{class:"italic p x-2"},null,-1)),a(()=>e.createElementVNode("i",{class:"px-3"},"italic",-1))],ye=[a(()=>e.createElementVNode("i",{class:"underline p x-2"},null,-1)),a(()=>e.createElementVNode("u",{class:"px-3"},"underline",-1))],Ee=[a(()=>e.createElementVNode("i",{class:"strikethrough p x-2"},null,-1)),a(()=>e.createElementVNode("del",{class:"px-3"},"strike",-1))],_e=[a(()=>e.createElementVNode("i",{class:"superscript p x-2"},null,-1)),a(()=>e.createElementVNode("sup",{class:"px-3"},"superscript",-1))],Ne=[a(()=>e.createElementVNode("i",{class:"subscript p x-2"},null,-1)),a(()=>e.createElementVNode("sub",{class:"px-3"},"subscript",-1))],be=[a(()=>e.createElementVNode("i",{class:"-list p x-2"},null,-1)),a(()=>e.createElementVNode("summary",{class:"px-3"},"summary",-1))],Ve=[a(()=>e.createElementVNode("i",{class:"list-ol p x-2"},null,-1)),a(()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1))],we=[a(()=>e.createElementVNode("i",{class:"list-ul p x-2"},null,-1)),a(()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1))],ke=[a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H1",-1))],Ce=[a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H2",-1))],ve=[a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H3",-1))],Fe=[a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H4",-1))],Le=[a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H5",-1))],Te=[a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H6",-1))],Se={class:"flex m-1 m-3 b g-gray-200 rounded cursor-pointer"},Ae=a(()=>e.createElementVNode("datalist",{id:"fontSizes"},null,-1)),He={class:"flex items-center border-1 b g-gray-200 rounded cursor-pointer"},Me={class:"relative inline-block text-left group z-10 border-0 w-ful l"},$e=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-02ac6d13><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-02ac6d13><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-02ac6d13><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-02ac6d13>Insert</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-02ac6d13><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-02ac6d13><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-02ac6d13></path></svg></div></div>',1),Re={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},ze={class:"",role:"none"},Be={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},Ie=a(()=>e.createElementVNode("i",{class:"image p x-2"},null,-1)),Ze=a(()=>e.createElementVNode("label",{for:"pom43546535435445Image",class:"px-3"},"Image",-1)),je=[a(()=>e.createElementVNode("i",{class:"anchor p x-2"},null,-1)),a(()=>e.createElementVNode("span",{class:"px-3"},"Anchor",-1))],De=[a(()=>e.createElementVNode("i",{class:"-calendar-alt 1x"},null,-1)),a(()=>e.createElementVNode("span",{class:"px-3"},"Date/time",-1))],Pe=a(()=>e.createElementVNode("div",{class:"text-center w-full py-1 bg-gray-100 font-bold"},"Table",-1)),Ge=[a(()=>e.createElementVNode("i",{class:"trash-can p x-2"},null,-1)),a(()=>e.createElementVNode("span",{class:"px-3"},"Delete All Permanetlytable",-1))],Oe=[a(()=>e.createElementVNode("i",{class:"eye-slash p x-2"},null,-1)),a(()=>e.createElementVNode("span",{class:"px-3"},"Hide/Show All ",-1))],Xe={class:"table-picker-wrapper"},We=a(()=>e.createElementVNode("div",{class:"table-picker-trigger"},[e.createElementVNode("i",{class:"table p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Create")],-1)),Ye={style:{display:"flex","justify-content":"space-between","align-items":"center"}},qe=[a(()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1))],Ue=[a(()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1))],Ke=[a(()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1))],Je=[a(()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1))],Qe={class:"relative inline-block text-left group z-10 border-0 w-ful l"},et=a(()=>e.createElementVNode("div",{class:"w-full flex rounded-md"},[e.createElementVNode("button",{type:"button",class:"inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",id:"menu-button","aria-expanded":"true","aria-haspopup":"true"},[e.createElementVNode("div",{class:"tox-split-button flex items-center",style:{"user-select":"none"}},[e.createElementVNode("span",null,[e.createElementVNode("span",{c:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z","fill-rule":"evenodd"})])])]),e.createElementVNode("span",{role:"presentation",class:"tox-tbtn tox-split-button__chevron","aria-disabled":"false"},[e.createElementVNode("svg",{width:"10",height:"10",focusable:"false"},[e.createElementVNode("path",{d:"M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z","fill-rule":"nonzero"})])])])])],-1)),tt={class:"hidden absolute group-hover:block mt-0 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},ot={class:"flex",role:"none"},nt=[a(()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("circle",{cx:"11",cy:"14",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"24",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"34",r:"3"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1))],rt=[a(()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{d:"M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z","fill-rule":"nonzero"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1))],it=[a(()=>e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"1"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"2"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"3"),e.createElementVNode("rect",{x:"24",y:"12",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"22",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"32",width:"20",height:"4",fill:"black",opacity:".2"})],-1))],dt=[a(()=>e.createElementVNode("div",{class:"text-sm"},[e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"A"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"B"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"C"),e.createElementVNode("rect",{x:"18",y:"12",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("rect",{x:"18",y:"22",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"18",y:"32",width:"22",height:"4",fill:"black",opacity:".2"})])],-1))],st={class:"flex items-center gap-1 border-t-2 border-b-2 border-gray-300 bg-white w-full p x-2 mx-3",style:{height:"37px"}},lt=[e.createStaticVNode('<i class="bold p x-2" data-v-02ac6d13><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><g id="text-bold" transform="translate(-4 -2)" data-v-02ac6d13><path id="primary" d="M5,3h7.5A4.49,4.49,0,0,1,17,7.5h0A4.49,4.49,0,0,1,12.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-02ac6d13></path> <path id="primary-2" data-name="primary" d="M5,21h9.5A4.49,4.49,0,0,0,19,16.5h0A4.49,4.49,0,0,0,14.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-02ac6d13></path> <path id="primary-3" data-name="primary" d="M7,3V21H8V3Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-02ac6d13></path></g></g></svg></i>',1)],at=[e.createStaticVNode('<i class="italic p x-2" data-v-02ac6d13><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><g id="layer1" data-v-02ac6d13><path d="M 7 4 L 7 5 L 9.9921875 5 L 8 15.955078 L 8 16 L 5 16 L 5 17 L 12 17 L 12 16 L 9.0078125 16 L 11 5.0449219 L 11 5 L 14 5 L 14 4 L 7 4 z " style="fill:#222222;fill-opacity:1;stroke:none;stroke-width:0px;" data-v-02ac6d13></path></g></g></svg></i>',1)],ct=[e.createStaticVNode('<i class="underline p x-2" data-v-02ac6d13><svg fill="#000000" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="13px" height="13px" viewBox="0 0 970.5 970.5" xml:space="preserve" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><g data-v-02ac6d13><path d="M116.1,868.5c-28.2,0-51,22.8-51,51s22.8,51,51,51h741.5c28.199,0,51-22.8,51-51s-22.801-51-51-51H116.1z" data-v-02ac6d13></path> <path d="M940.9,45.1c0-4.9,0-10.1,0-15.1c0-16.6-13.4-30-30-30H582.199c-16.6,0-30,13.4-30,30v14.5c0,15.5,11.801,28.4,27.201,29.9 c14.5,1.4,29,3.5,43.299,6.3c30.201,5.9,44.9,22.7,44.9,53.3v374.9c0,22-2.5,45.399-7.301,69.5c-4.6,23.1-13.898,45-27.6,65 c-14.299,20.1-34.199,36.899-59,49.899c-21.6,11.3-51.4,17.7-88.299,19.2c-37-1.4-66.7-7.9-88.3-19.2 c-24.801-13-44.7-29.7-59-49.899c-13.7-20-23-41.9-27.601-65c-4.8-24.2-7.3-47.601-7.3-69.5v-375c0-30.5,14.7-47.3,44.9-53.3 c14.3-2.8,28.699-4.9,43.3-6.3c15.399-1.5,27.2-14.4,27.2-29.9V30c0-16.6-13.4-30-30-30h-329c-16.6,0-30,13.4-30,30 c0,5,0,10.2,0,15.1c0,14.7,10.7,27.3,25.2,29.6C73,77.6,94.9,81.8,98.3,83c27,9.8,44.2,27.4,44.2,57v408.6c0,34.4,7.4,67.9,22,99.5 c14.6,31.601,36.5,60,65.2,84.4l0.1,0.1c28.8,24.2,64.8,43.601,106.9,57.7c41.8,14,90,21.101,143.2,21.101c1.7,0,3.5,0,5.399-0.101 c2,0,3.701,0.101,5.4,0.101C543.9,811.4,592,804.3,633.9,790.3c42.1-14.1,78-33.5,106.898-57.7l0.102-0.1 c28.699-24.4,50.6-52.8,65.199-84.4c14.6-31.6,22-65.1,22-99.5V140.1c0-29.6,17.301-47.2,44.199-57c3.4-1.2,25.301-5.4,43.5-8.3 C930.299,72.4,940.9,59.8,940.9,45.1z" data-v-02ac6d13></path></g></g></svg></i>',1)],mt={class:"strikethrough p x-2"},pt={fill:"#000000",width:"13px",height:"13px",viewBox:"0 0 64 64",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xml:space":"preserve","xmlns:serif":"http://www.serif.com/",style:{"fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2"}},ht=[a(()=>e.createElementVNode("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"},null,-1)),a(()=>e.createElementVNode("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)),a(()=>e.createElementVNode("g",{id:"SVGRepo_iconCarrier"},[e.createElementVNode("rect",{id:"Icons",x:"-192",y:"0",width:"1280",height:"800",style:{fill:"none"}}),e.createTextVNode(),e.createElementVNode("g",{id:"Icons1","serif:id":"Icons"},[e.createElementVNode("g",{id:"Strike"},[e.createElementVNode("rect",{id:"Strike-line","serif:id":"Strike line",x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createTextVNode(),e.createElementVNode("rect",{x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createTextVNode(),e.createElementVNode("path",{id:"Strike1","serif:id":"Strike",d:"M46.396,35.711c0.414,0.482 0.779,0.983 1.093,1.504c1.06,1.756 1.59,3.823 1.59,6.2c0,3.791 -1.478,6.827 -4.433,9.107c-2.955,2.281 -6.907,3.422 -11.854,3.422c-3.212,0 -6.21,-0.616 -8.994,-1.848c-2.785,-1.231 -4.931,-2.917 -6.441,-5.059c-1.51,-2.142 -2.265,-4.572 -2.265,-7.292l6.2,0c0,2.827 1.044,5.059 3.132,6.698c2.088,1.638 4.877,2.457 8.368,2.457c3.256,0 5.75,-0.664 7.485,-1.992c1.735,-1.327 2.602,-3.137 2.602,-5.429c0,-2.291 -0.803,-4.063 -2.409,-5.316c-1.057,-0.824 -2.68,-1.642 -4.868,-2.452l10.794,0Zm-27.382,-8.094c-1.629,-1.974 -2.444,-4.3 -2.444,-6.978c0,-3.683 1.472,-6.73 4.417,-9.139c2.944,-2.409 6.773,-3.614 11.484,-3.614c3.212,0 6.077,0.621 8.593,1.863c2.517,1.242 4.465,2.956 5.847,5.14c1.381,2.185 2.072,4.572 2.072,7.164l-6.2,0c0,-2.827 -0.9,-5.049 -2.699,-6.666c-1.799,-1.617 -4.336,-2.425 -7.613,-2.425c-3.041,0 -5.413,0.669 -7.115,2.007c-1.703,1.339 -2.554,3.197 -2.554,5.574c0,1.906 0.808,3.518 2.425,4.835c0.966,0.786 2.337,1.533 4.112,2.239l-10.325,0Z",style:{"fill-rule":"nonzero"}})]),e.createTextVNode(),e.createElementVNode("g",{id:"H1"}),e.createTextVNode(),e.createElementVNode("g",{id:"H2"}),e.createTextVNode(),e.createElementVNode("g",{id:"H3"}),e.createTextVNode(),e.createElementVNode("g",{id:"list-ul"}),e.createTextVNode(),e.createElementVNode("g",{id:"hamburger-1"}),e.createTextVNode(),e.createElementVNode("g",{id:"hamburger-2"}),e.createTextVNode(),e.createElementVNode("g",{id:"list-ol"}),e.createTextVNode(),e.createElementVNode("g",{id:"list-task"}),e.createTextVNode(),e.createElementVNode("g",{id:"trash"}),e.createTextVNode(),e.createElementVNode("g",{id:"vertical-menu"}),e.createTextVNode(),e.createElementVNode("g",{id:"horizontal-menu"}),e.createTextVNode(),e.createElementVNode("g",{id:"sidebar-2"}),e.createTextVNode(),e.createElementVNode("g",{id:"Pen"}),e.createTextVNode(),e.createElementVNode("g",{id:"Pen1","serif:id":"Pen"}),e.createTextVNode(),e.createElementVNode("g",{id:"clock"}),e.createTextVNode(),e.createElementVNode("g",{id:"external-link"}),e.createTextVNode(),e.createElementVNode("g",{id:"hr"}),e.createTextVNode(),e.createElementVNode("g",{id:"info"}),e.createTextVNode(),e.createElementVNode("g",{id:"warning"}),e.createTextVNode(),e.createElementVNode("g",{id:"plus-circle"}),e.createTextVNode(),e.createElementVNode("g",{id:"minus-circle"}),e.createTextVNode(),e.createElementVNode("g",{id:"vue"}),e.createTextVNode(),e.createElementVNode("g",{id:"cog"}),e.createTextVNode(),e.createElementVNode("g",{id:"logo"}),e.createTextVNode(),e.createElementVNode("g",{id:"radio-check"}),e.createTextVNode(),e.createElementVNode("g",{id:"eye-slash"}),e.createTextVNode(),e.createElementVNode("g",{id:"eye"}),e.createTextVNode(),e.createElementVNode("g",{id:"toggle-off"}),e.createTextVNode(),e.createElementVNode("g",{id:"shredder"}),e.createTextVNode(),e.createElementVNode("g",{id:"spinner--loading--dots-","serif:id":"spinner [loading, dots]"}),e.createTextVNode(),e.createElementVNode("g",{id:"react"}),e.createTextVNode(),e.createElementVNode("g",{id:"check-selected"}),e.createTextVNode(),e.createElementVNode("g",{id:"turn-off"}),e.createTextVNode(),e.createElementVNode("g",{id:"code-block"}),e.createTextVNode(),e.createElementVNode("g",{id:"user"}),e.createTextVNode(),e.createElementVNode("g",{id:"coffee-bean"}),e.createTextVNode(),e.createElementVNode("g",{id:"coffee-beans"},[e.createElementVNode("g",{id:"coffee-bean1","serif:id":"coffee-bean"})]),e.createTextVNode(),e.createElementVNode("g",{id:"coffee-bean-filled"}),e.createTextVNode(),e.createElementVNode("g",{id:"coffee-beans-filled"},[e.createElementVNode("g",{id:"coffee-bean2","serif:id":"coffee-bean"})]),e.createTextVNode(),e.createElementVNode("g",{id:"clipboard"}),e.createTextVNode(),e.createElementVNode("g",{id:"clipboard-paste"}),e.createTextVNode(),e.createElementVNode("g",{id:"clipboard-copy"}),e.createTextVNode(),e.createElementVNode("g",{id:"Layer1"})])],-1))],gt=[a(()=>e.createElementVNode("i",{class:"superscript p x-2"},"sup",-1))],ft=[a(()=>e.createElementVNode("i",{class:"subscript p x-2"},"sub",-1))],xt=[e.createStaticVNode('<i class="-code p x-2" data-v-02ac6d13><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-02ac6d13></path> <path d="M12.5 11.5L11.0858 10.0858L13.1716 8L11.0858 5.91422L12.5 4.5L16 8L12.5 11.5Z" fill="#000000" data-v-02ac6d13></path> <path d="M2.82843 8L4.91421 10.0858L3.5 11.5L0 8L3.5 4.5L4.91421 5.91422L2.82843 8Z" fill="#000000" data-v-02ac6d13></path></g></svg></i>',1)],ut={class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1"},yt=e.createStaticVNode('<i class="solid brush display-color" data-v-02ac6d13><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><path fill-rule="evenodd" clip-rule="evenodd" d="M8 16L3.54223 12.3383C1.93278 11.0162 1 9.04287 1 6.96005C1 3.11612 4.15607 0 8 0C11.8439 0 15 3.11612 15 6.96005C15 9.04287 14.0672 11.0162 12.4578 12.3383L8 16ZM3 6H5C6.10457 6 7 6.89543 7 8V9L3 7.5V6ZM11 6C9.89543 6 9 6.89543 9 8V9L13 7.5V6H11Z" fill="#000000" data-v-02ac6d13></path></g></svg></i>',1),Et={class:"color-picker color-container",style:{position:"absolute",top:"0",bottom:"0",height:"fit-content",overflow:"auto"}},_t={class:"color-grid"},Nt=["onClick"],bt=[e.createStaticVNode('<span class="" data-v-02ac6d13><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-02ac6d13><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-02ac6d13></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-02ac6d13></g><g id="SVGRepo_iconCarrier" data-v-02ac6d13><path fill="#494c4e" d="M16 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm0 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm1 4v2c0 1-1 2-2 2h-2c0 .3 0 .5-.3.7-.2.2-.4.3-.7.3s-.5 0-.7-.3l-1-1c-.4-.4-.4-1 0-1.4l1-1c.4-.4 1-.4 1.4 0 .2.2.3.4.3.7h2v-2H2c-.6 0-1-.5-1-1s.5-1 1-1h13c1 0 2 1 2 2z" data-v-02ac6d13></path></g></svg></span>',1)],Vt={class:"p-6",style:{height:"100%","text-align":"justify"}},wt=["innerHTML"],kt={class:"hideonprint flex items-center"},Ct=[a(()=>e.createElementVNode("i",{class:"-"},null,-1)),a(()=>e.createElementVNode("strong",{class:"p x-2"},"NEW LINE",-1))],vt=a(()=>e.createElementVNode("p",null,[e.createTextVNode("Cursor position: "),e.createElementVNode("span",{id:"cursorPosition"},"0")],-1)),Ft=a(()=>e.createElementVNode("p",null,[e.createTextVNode("Text at cursor: "),e.createElementVNode("span",{id:"textAtCursor"})],-1));return J({__name:"Editor",props:{Dvalue:{default:""}},emits:["change","update"],setup(o,{emit:s}){const t=e.ref(null),r=e.ref(null),d=e.ref(null),m=e.ref(null),i=e.ref(null),l=e.ref(["FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","5733FF","57FF33","FF3333","33FF33","3333FF","FF33AA","33AAFF","AAFF33","FFAA33","AA33FF","33FFAA","AAFFAA","FFAAFF","FF6347","40E0D0","FFD700","8A2BE2","DC143C","00CED1","7FFF00","FF4500","2E8B57","DAA520","6A5ACD","FF1493","B8860B","4682B4","D2691E","ADFF2F","5F9EA0","FF69B4","7B68EE","00FF7F","20B2AA","FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","FFD700","8A2BE2","7FFFD4","FF4500","6A5ACD","00FF7F","FF6347","FF1493","00CED1"]),p=s,g=e.ref(null);function u(..._){try{var n=document.querySelectorAll(".removeinlineblock");n.forEach(function(c){c.style.display="block"}),U(..._,g.value.innerHTML)}catch{}}function h(..._){I(r.value.range,t.value,..._)}function f(..._){X(r.value.range,t.value,..._)}function y(_){G(_,r.value.range)}function E(..._){B(r.value.range,..._)}function N(){const _=q(t.value);setTimeout(()=>{p("change",_)},300)}function V(_){t.value.focus(),N()}e.onMounted(()=>{V()});function b(){W(t.value)}function x(..._){F(r.value.range,..._)}function w(..._){Z(r.value.range,..._)}function v(){r.value=M(),k(),$(r.value,t.value,m.value,i.value)}return(_,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Q,[e.createElementVNode("div",ee,[e.createElementVNode("div",te,[e.createElementVNode("div",oe,[e.createElementVNode("div",ne,[re,e.createElementVNode("div",ie,[e.createElementVNode("div",de,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:n[0]||(n[0]=c=>u(!0))},se),e.createElementVNode("div",le,[ae,e.createElementVNode("strong",{class:"px-3",onClick:n[1]||(n[1]=c=>u(!1))},"Preview")]),ce])])])]),e.createElementVNode("div",me,[e.createElementVNode("div",pe,[he,e.createElementVNode("div",ge,[e.createElementVNode("div",fe,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md",onClick:n[2]||(n[2]=c=>x())},xe),e.createElementVNode("div",{onClick:n[3]||(n[3]=c=>x("i","**italic text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},ue),e.createElementVNode("div",{onClick:n[4]||(n[4]=c=>x("u","**underLine text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},ye),e.createElementVNode("div",{onClick:n[5]||(n[5]=c=>x("s","**underLine text**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Ee),e.createElementVNode("div",{onClick:n[6]||(n[6]=c=>x("sup","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},_e),e.createElementVNode("div",{onClick:n[7]||(n[7]=c=>x("sub","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Ne),e.createElementVNode("div",{onClick:n[8]||(n[8]=c=>x("summary","**summary**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},be),e.createElementVNode("div",{onClick:n[9]||(n[9]=c=>x("ol","1. ordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},Ve),e.createElementVNode("div",{onClick:n[10]||(n[10]=c=>x("ul","1. unordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},we),e.createElementVNode("div",{onClick:n[11]||(n[11]=c=>x("h1","**h1**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},ke),e.createElementVNode("div",{onClick:n[12]||(n[12]=c=>x("h2","**h2**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Ce),e.createElementVNode("div",{onClick:n[13]||(n[13]=c=>x("h3","**h3**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},ve),e.createElementVNode("div",{onClick:n[14]||(n[14]=c=>x("h4","**h4**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Fe),e.createElementVNode("div",{onClick:n[15]||(n[15]=c=>x("h5","**h5**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Le),e.createElementVNode("div",{onClick:n[16]||(n[16]=c=>x("h6","**h6**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Te),e.createElementVNode("div",Se,[e.createElementVNode("input",{list:"fontSizes",onChange:n[17]||(n[17]=c=>f("fontSize",c.target.value,"px")),placeholder:"Size ",class:"p-1 border rounded w-[6vw] h-[3vh]"},null,32),Ae])])])])]),e.createElementVNode("div",He,[e.createElementVNode("div",Me,[$e,e.createElementVNode("div",Re,[e.createElementVNode("div",ze,[e.createElementVNode("div",Be,[Ie,Ze,e.createElementVNode("input",{type:"file",hidden:"",id:"pom43546535435445Image",accept:"image/*",multiple:"",onChange:n[18]||(n[18]=c=>y(c))},null,32)]),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:n[19]||(n[19]=c=>{E(this,"a","links",{},{href:"",class:"pom-editor-anchor-tag",style:"text-decoration: underline;cursor: pointer"})})},je),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer p-2",onClick:n[20]||(n[20]=c=>E(this))},De),e.createElementVNode("div",null,[Pe,e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:n[21]||(n[21]=c=>e.unref(A)())},Ge),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:n[22]||(n[22]=c=>e.unref(A)(!0))},Oe),e.createElementVNode("div",Xe,[We,e.createElementVNode("div",{id:"table-picker-container",ref_key:"tablePickerContainer",ref:d,class:"table-picker-container"},[e.createElementVNode("div",{id:"table-picker-grid",ref_key:"tablePickerGrid",ref:m,class:"table-picker-grid"},null,512),e.createElementVNode("span",{id:"table-dimensions",ref_key:"tableDimensions",ref:i,class:"table-dimensions"},"0 x 0",512)],512)])])])])])]),e.createElementVNode("div",Ye,[e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:n[23]||(n[23]=c=>h("textAlign","justify"))},qe),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:n[24]||(n[24]=c=>h("textAlign","center"))},Ue),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:n[25]||(n[25]=c=>h("textAlign","end"))},Ke),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:n[26]||(n[26]=c=>h("textAlign","start"))},Je)]),e.createElementVNode("div",Qe,[et,e.createElementVNode("div",tt,[e.createElementVNode("div",ot,[e.createElementVNode("div",{onClick:n[27]||(n[27]=c=>w(3,"disc"))},nt),e.createElementVNode("div",{onClick:n[28]||(n[28]=c=>w(3,"circle"))},rt),e.createElementVNode("div",null,[e.createElementVNode("div",{class:"",onClick:n[29]||(n[29]=c=>w())},it)]),e.createElementVNode("div",{onClick:n[30]||(n[30]=c=>w(3,"upper-latin"))},dt)])])])]),e.createElementVNode("div",st,[e.renderSlot(_.$slots,"toolbar-before",{},void 0,!0),e.createElementVNode("div",{class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",style:{margin:"6px"},onClick:n[31]||(n[31]=c=>x())},lt),e.createElementVNode("div",{onClick:n[32]||(n[32]=c=>x("i","**italic text **")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",style:{margin:"6px"}},at),e.createElementVNode("div",{onClick:n[33]||(n[33]=c=>x("u","**underLine text **")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",style:{margin:"6px"}},ct),e.createElementVNode("div",{onClick:n[34]||(n[34]=c=>x("s","**Strike text**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",style:{margin:"6px"}},[e.createElementVNode("i",mt,[(e.openBlock(),e.createElementBlock("svg",pt,ht))])]),e.createElementVNode("div",{onClick:n[35]||(n[35]=c=>x("sup","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",style:{margin:"6px"}},gt),e.createElementVNode("div",{onClick:n[36]||(n[36]=c=>x("sub","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",style:{margin:"6px"}},ft),e.createElementVNode("div",{onClick:n[37]||(n[37]=c=>x("Code","**<code>**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-4",style:{margin:"6px"}},xt),e.createElementVNode("div",ut,[yt,e.createElementVNode("div",Et,[e.createElementVNode("div",_t,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,c=>(e.openBlock(),e.createElementBlock("div",{class:"color-box",style:e.normalizeStyle(`background-color: #${c} ;`),onClick:Ao=>f("background",`#${c}`,"","div")},null,12,Nt))),256))])])]),e.renderSlot(_.$slots,"toolbar-after",{},void 0,!0),e.createElementVNode("div",{title:"new fresh line",style:{flex:"1",margin:"0 4px","text-align":"center","padding-top":"8px"},onClick:n[38]||(n[38]=c=>b())},bt)])])]),e.createElementVNode("div",{class:"",ref_key:"pomTextEditorContainer",ref:g,id:"pom-texedito-container",style:{width:"100%",overflow:"hidden auto",height:"30vh",border:"1px solid #9d969633",padding:"0px","border-radius":"3px"}},[e.createElementVNode("div",Vt,[e.createElementVNode("div",{"data-placeholder":"Your Editing.....",innerHTML:o.Dvalue,onMouseup:n[39]||(n[39]=c=>v()),onKeyup:n[40]||(n[40]=c=>v()),ref_key:"editorRef",ref:t,class:"editor mt-1 border-gray-300",onInput:N,contenteditable:"true",id:"editor",style:{height:"100%"}},null,40,wt)])],512),e.createElementVNode("div",kt,[e.createElementVNode("div",{class:"hover:bg-gray-200",onClick:n[41]||(n[41]=c=>b())},Ct),vt,e.createTextVNode(" "),Ft])],64))}},[["__scopeId","data-v-02ac6d13"]])});
|
|
159
|
+
</style>`}const ue=(n,a)=>{const o=n.__vccOpts||n;for(const[l,r]of a)o[l]=r;return o},i=n=>(e.pushScopeId("data-v-c5304261"),n=n(),e.popScopeId(),n),_e={style:{width:"100%"},id:"fullTextEditor"},Ee={class:"hideonprint bg-gray-100 items-center",id:"toolbar"},ye={class:"flex flex space-x-2 items-center"},xe={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},be={class:"relative inline-block text-left group z-10 border-0"},Ne=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-c5304261><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-c5304261><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-c5304261><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-c5304261>View</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-c5304261><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-c5304261><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-c5304261></path></svg></div></div>',1),Ve={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},we={class:"",role:"none"},ke=[i(()=>e.createElementVNode("i",{class:"print p x-2"},null,-1)),i(()=>e.createElementVNode("strong",{class:"px-3"},"Print",-1))],Ce={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},ve=i(()=>e.createElementVNode("i",{class:"eye p x-2"},null,-1)),Fe=i(()=>e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",id:"fullscreenButton"},[e.createElementVNode("i",{class:"expand-alt p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Fullscreen")],-1)),Le={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},Ae={class:"relative inline-block text-left group z-10 border-0 w-ful l"},Se=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-c5304261><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-c5304261><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-c5304261><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-c5304261>Format</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-c5304261><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-c5304261><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-c5304261></path></svg></div></div>',1),ze={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},Me={class:"",role:"none"},Te=[i(()=>e.createElementVNode("i",{class:"bold p x-2"},null,-1)),i(()=>e.createElementVNode("strong",{class:"px-3"},"Bold",-1))],Re=[i(()=>e.createElementVNode("i",{class:"italic p x-2"},null,-1)),i(()=>e.createElementVNode("i",{class:"px-3"},"italic",-1))],He=[i(()=>e.createElementVNode("i",{class:"underline p x-2"},null,-1)),i(()=>e.createElementVNode("u",{class:"px-3"},"underline",-1))],$e=[i(()=>e.createElementVNode("i",{class:"strikethrough p x-2"},null,-1)),i(()=>e.createElementVNode("del",{class:"px-3"},"strike",-1))],Be=[i(()=>e.createElementVNode("i",{class:"superscript p x-2"},null,-1)),i(()=>e.createElementVNode("sup",{class:"px-3"},"superscript",-1))],Ie=[i(()=>e.createElementVNode("i",{class:"subscript p x-2"},null,-1)),i(()=>e.createElementVNode("sub",{class:"px-3"},"subscript",-1))],je=[i(()=>e.createElementVNode("i",{class:"-list p x-2"},null,-1)),i(()=>e.createElementVNode("summary",{class:"px-3"},"summary",-1))],Ze=[i(()=>e.createElementVNode("i",{class:"list-ol p x-2"},null,-1)),i(()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1))],De=[i(()=>e.createElementVNode("i",{class:"list-ul p x-2"},null,-1)),i(()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1))],We=[i(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H1",-1))],Pe=[i(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H2",-1))],Ge=[i(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H3",-1))],Oe=[i(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H4",-1))],Xe=[i(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H5",-1))],qe=[i(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H6",-1))],Ye={class:"flex m-1 m-3 b g-gray-200 rounded cursor-pointer"},Ue=i(()=>e.createElementVNode("datalist",{id:"fontSizes"},null,-1)),Ke={class:"flex items-center border-1 b g-gray-200 rounded cursor-pointer"},Je={class:"relative inline-block text-left group z-10 border-0 w-ful l"},Qe=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-c5304261><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-c5304261><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-c5304261><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-c5304261>Insert</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-c5304261><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-c5304261><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-c5304261></path></svg></div></div>',1),et={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},tt={class:"",role:"none"},ot={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},nt=i(()=>e.createElementVNode("i",{class:"image p x-2"},null,-1)),lt=i(()=>e.createElementVNode("label",{for:"pom43546535435445Image",class:"px-3"},"Image",-1)),it=[i(()=>e.createElementVNode("i",{class:"anchor p x-2"},null,-1)),i(()=>e.createElementVNode("span",{class:"px-3"},"Anchor",-1))],st=[i(()=>e.createElementVNode("i",{class:"-calendar-alt 1x"},null,-1)),i(()=>e.createElementVNode("span",{class:"px-3"},"Date/time",-1))],rt=i(()=>e.createElementVNode("div",{class:"text-center w-full py-1 bg-gray-100 font-bold"},"Table",-1)),at=[i(()=>e.createElementVNode("i",{class:"trash-can p x-2"},null,-1)),i(()=>e.createElementVNode("span",{class:"px-3"},"Delete All Permanetlytable",-1))],dt=[i(()=>e.createElementVNode("i",{class:"eye-slash p x-2"},null,-1)),i(()=>e.createElementVNode("span",{class:"px-3"},"Hide/Show All ",-1))],ct={class:"table-picker-wrapper"},mt=i(()=>e.createElementVNode("div",{class:"table-picker-trigger"},[e.createElementVNode("i",{class:"table p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Create")],-1)),pt={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},ht={class:"relative inline-block text-left group z-10 border-0"},ft=i(()=>e.createElementVNode("div",{class:"w-full flex rounded-md showfontFamilyMenu"},[e.createElementVNode("button",{type:"button",class:"inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium","aria-expanded":"true","aria-haspopup":"true"},[e.createElementVNode("div",{class:"py-1 w borde r-1 w-full text-start in flex flex-wrap"},[e.createElementVNode("span",{class:"cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600"},"Fonts")])])],-1)),gt={class:"py-1 w borde r-1 w-full text-start in flex flex-wrap pom-editor-menu-fonts"},ut={class:"cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600"},_t={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none","data-alloy-placement":"southeast",style:{height:"25vh",overflow:"auto"}},Et={class:"collection__group"},yt=i(()=>e.createElementVNode("div",{title:"Andale Mono",id:"menu-item_3745045357111728727990777",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item collection__item--active","aria-disabled":"false","aria-checked":"false","aria-selected":"true"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",{style:{"font-family":"andale mono, monospace"}},"Andale Mono")]),e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])])],-1)),xt={title:"Arial",id:"menu-item_8107570667141728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},bt={class:"collection__item-label"},Nt=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Vt={title:"Arial Black",id:"menu-item_7337372467171728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},wt={class:"collection__item-label"},kt=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Ct={title:"Book Antiqua",id:"menu-item_8277641917201728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},vt={class:"collection__item-label"},Ft=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Lt={title:"Comic Sans MS",id:"menu-item_2698863237231728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},At={class:"collection__item-label"},St=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),zt={title:"Courier New",id:"menu-item_2979203277261728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Mt={class:"collection__item-label"},Tt=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Rt={title:"Georgia",id:"menu-item_8075939747291728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Ht={class:"collection__item-label"},$t=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Bt={title:"Helvetica",id:"menu-item_8872440547321728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item collection__item--enabled","aria-disabled":"false","aria-checked":"true"},It={class:"collection__item-label"},jt=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Zt={title:"Impact",id:"menu-item_3423693847351728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Dt={class:"collection__item-label"},Wt=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Pt={title:"Symbol",id:"menu-item_7163579447381728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Gt={class:"collection__item-label"},Ot=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Xt={title:"Tahoma",id:"menu-item_4449979827411728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},qt={class:"collection__item-label"},Yt=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Ut={title:"Terminal",id:"menu-item_2511923047441728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Kt={class:"collection__item-label"},Jt=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Qt={title:"Times New Roman",id:"menu-item_7770771337471728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},eo={class:"collection__item-label"},to=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),oo={title:"Trebuchet MS",id:"menu-item_7916647947501728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},no={class:"collection__item-label"},lo=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),io={title:"Verdana",id:"menu-item_1549891587531728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},so={class:"collection__item-label"},ro=i(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),ao=i(()=>e.createElementVNode("div",{title:"Webdings",id:"menu-item_955052057561728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",null,"Webdings")]),e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])])],-1)),co=i(()=>e.createElementVNode("div",{title:"Wingdings",id:"menu-item_93264657591728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",null,"Wingdings")]),e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])])],-1)),mo={style:{display:"flex","justify-content":"space-between","align-items":"center"}},po=[i(()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1))],ho=[i(()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1))],fo=[i(()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1))],go=[i(()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1))],uo={class:"relative inline-block text-left group z-10 border-0 w-ful l"},_o=i(()=>e.createElementVNode("div",{class:"w-full flex rounded-md"},[e.createElementVNode("button",{type:"button",class:"inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",id:"menu-button","aria-expanded":"true","aria-haspopup":"true"},[e.createElementVNode("div",{class:"split-button flex items-center",style:{"user-select":"none"}},[e.createElementVNode("span",null,[e.createElementVNode("span",{c:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z","fill-rule":"evenodd"})])])]),e.createElementVNode("span",{role:"presentation",class:"tbtn split-button__chevron","aria-disabled":"false"},[e.createElementVNode("svg",{width:"10",height:"10",focusable:"false"},[e.createElementVNode("path",{d:"M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z","fill-rule":"nonzero"})])])])])],-1)),Eo={class:"hidden absolute group-hover:block mt-0 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},yo={class:"flex",role:"none"},xo=[i(()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("circle",{cx:"11",cy:"14",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"24",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"34",r:"3"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1))],bo=[i(()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{d:"M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z","fill-rule":"nonzero"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1))],No=[i(()=>e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"1"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"2"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"3"),e.createElementVNode("rect",{x:"24",y:"12",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"22",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"32",width:"20",height:"4",fill:"black",opacity:".2"})],-1))],Vo=[i(()=>e.createElementVNode("div",{class:"text-sm"},[e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"A"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"B"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"C"),e.createElementVNode("rect",{x:"18",y:"12",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("rect",{x:"18",y:"22",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"18",y:"32",width:"22",height:"4",fill:"black",opacity:".2"})])],-1))],wo={class:"flex items-center gap-1 border-t-2 border-b-2 border-gray-300 bg-white w-full px-1",style:{height:"37px"}},ko=[e.createStaticVNode('<i class="bold p x-2" data-v-c5304261><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c5304261><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5304261></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5304261></g><g id="SVGRepo_iconCarrier" data-v-c5304261><g id="text-bold" transform="translate(-4 -2)" data-v-c5304261><path id="primary" d="M5,3h7.5A4.49,4.49,0,0,1,17,7.5h0A4.49,4.49,0,0,1,12.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-c5304261></path><path id="primary-2" data-name="primary" d="M5,21h9.5A4.49,4.49,0,0,0,19,16.5h0A4.49,4.49,0,0,0,14.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-c5304261></path><path id="primary-3" data-name="primary" d="M7,3V21H8V3Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-c5304261></path></g></g></svg></i>',1)],Co=[e.createStaticVNode('<i class="italic p x-2" data-v-c5304261><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c5304261><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5304261></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5304261></g><g id="SVGRepo_iconCarrier" data-v-c5304261><g id="layer1" data-v-c5304261><path d="M 7 4 L 7 5 L 9.9921875 5 L 8 15.955078 L 8 16 L 5 16 L 5 17 L 12 17 L 12 16 L 9.0078125 16 L 11 5.0449219 L 11 5 L 14 5 L 14 4 L 7 4 z " style="fill:#222222;fill-opacity:1;stroke:none;stroke-width:0px;" data-v-c5304261></path></g></g></svg></i>',1)],vo=[e.createStaticVNode('<i class="underline p x-2" data-v-c5304261><svg fill="#000000" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="13px" height="13px" viewBox="0 0 970.5 970.5" xml:space="preserve" data-v-c5304261><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5304261></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5304261></g><g id="SVGRepo_iconCarrier" data-v-c5304261><g data-v-c5304261><path d="M116.1,868.5c-28.2,0-51,22.8-51,51s22.8,51,51,51h741.5c28.199,0,51-22.8,51-51s-22.801-51-51-51H116.1z" data-v-c5304261></path><path d="M940.9,45.1c0-4.9,0-10.1,0-15.1c0-16.6-13.4-30-30-30H582.199c-16.6,0-30,13.4-30,30v14.5c0,15.5,11.801,28.4,27.201,29.9 c14.5,1.4,29,3.5,43.299,6.3c30.201,5.9,44.9,22.7,44.9,53.3v374.9c0,22-2.5,45.399-7.301,69.5c-4.6,23.1-13.898,45-27.6,65 c-14.299,20.1-34.199,36.899-59,49.899c-21.6,11.3-51.4,17.7-88.299,19.2c-37-1.4-66.7-7.9-88.3-19.2 c-24.801-13-44.7-29.7-59-49.899c-13.7-20-23-41.9-27.601-65c-4.8-24.2-7.3-47.601-7.3-69.5v-375c0-30.5,14.7-47.3,44.9-53.3 c14.3-2.8,28.699-4.9,43.3-6.3c15.399-1.5,27.2-14.4,27.2-29.9V30c0-16.6-13.4-30-30-30h-329c-16.6,0-30,13.4-30,30 c0,5,0,10.2,0,15.1c0,14.7,10.7,27.3,25.2,29.6C73,77.6,94.9,81.8,98.3,83c27,9.8,44.2,27.4,44.2,57v408.6c0,34.4,7.4,67.9,22,99.5 c14.6,31.601,36.5,60,65.2,84.4l0.1,0.1c28.8,24.2,64.8,43.601,106.9,57.7c41.8,14,90,21.101,143.2,21.101c1.7,0,3.5,0,5.399-0.101 c2,0,3.701,0.101,5.4,0.101C543.9,811.4,592,804.3,633.9,790.3c42.1-14.1,78-33.5,106.898-57.7l0.102-0.1 c28.699-24.4,50.6-52.8,65.199-84.4c14.6-31.6,22-65.1,22-99.5V140.1c0-29.6,17.301-47.2,44.199-57c3.4-1.2,25.301-5.4,43.5-8.3 C930.299,72.4,940.9,59.8,940.9,45.1z" data-v-c5304261></path></g></g></svg></i>',1)],Fo={class:"strikethrough p x-2"},Lo={fill:"#000000",width:"13px",height:"13px",viewBox:"0 0 64 64",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xml:space":"preserve","xmlns:serif":"http://www.serif.com/",style:{"fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2"}},Ao=[i(()=>e.createElementVNode("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"},null,-1)),i(()=>e.createElementVNode("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)),i(()=>e.createElementVNode("g",{id:"SVGRepo_iconCarrier"},[e.createElementVNode("rect",{id:"Icons",x:"-192",y:"0",width:"1280",height:"800",style:{fill:"none"}}),e.createElementVNode("g",{id:"Icons1","serif:id":"Icons"},[e.createElementVNode("g",{id:"Strike"},[e.createElementVNode("rect",{id:"Strike-line","serif:id":"Strike line",x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createElementVNode("rect",{x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createElementVNode("path",{id:"Strike1","serif:id":"Strike",d:"M46.396,35.711c0.414,0.482 0.779,0.983 1.093,1.504c1.06,1.756 1.59,3.823 1.59,6.2c0,3.791 -1.478,6.827 -4.433,9.107c-2.955,2.281 -6.907,3.422 -11.854,3.422c-3.212,0 -6.21,-0.616 -8.994,-1.848c-2.785,-1.231 -4.931,-2.917 -6.441,-5.059c-1.51,-2.142 -2.265,-4.572 -2.265,-7.292l6.2,0c0,2.827 1.044,5.059 3.132,6.698c2.088,1.638 4.877,2.457 8.368,2.457c3.256,0 5.75,-0.664 7.485,-1.992c1.735,-1.327 2.602,-3.137 2.602,-5.429c0,-2.291 -0.803,-4.063 -2.409,-5.316c-1.057,-0.824 -2.68,-1.642 -4.868,-2.452l10.794,0Zm-27.382,-8.094c-1.629,-1.974 -2.444,-4.3 -2.444,-6.978c0,-3.683 1.472,-6.73 4.417,-9.139c2.944,-2.409 6.773,-3.614 11.484,-3.614c3.212,0 6.077,0.621 8.593,1.863c2.517,1.242 4.465,2.956 5.847,5.14c1.381,2.185 2.072,4.572 2.072,7.164l-6.2,0c0,-2.827 -0.9,-5.049 -2.699,-6.666c-1.799,-1.617 -4.336,-2.425 -7.613,-2.425c-3.041,0 -5.413,0.669 -7.115,2.007c-1.703,1.339 -2.554,3.197 -2.554,5.574c0,1.906 0.808,3.518 2.425,4.835c0.966,0.786 2.337,1.533 4.112,2.239l-10.325,0Z",style:{"fill-rule":"nonzero"}})]),e.createElementVNode("g",{id:"H1"}),e.createElementVNode("g",{id:"H2"}),e.createElementVNode("g",{id:"H3"}),e.createElementVNode("g",{id:"list-ul"}),e.createElementVNode("g",{id:"hamburger-1"}),e.createElementVNode("g",{id:"hamburger-2"}),e.createElementVNode("g",{id:"list-ol"}),e.createElementVNode("g",{id:"list-task"}),e.createElementVNode("g",{id:"trash"}),e.createElementVNode("g",{id:"vertical-menu"}),e.createElementVNode("g",{id:"horizontal-menu"}),e.createElementVNode("g",{id:"sidebar-2"}),e.createElementVNode("g",{id:"Pen"}),e.createElementVNode("g",{id:"Pen1","serif:id":"Pen"}),e.createElementVNode("g",{id:"clock"}),e.createElementVNode("g",{id:"external-link"}),e.createElementVNode("g",{id:"hr"}),e.createElementVNode("g",{id:"info"}),e.createElementVNode("g",{id:"warning"}),e.createElementVNode("g",{id:"plus-circle"}),e.createElementVNode("g",{id:"minus-circle"}),e.createElementVNode("g",{id:"vue"}),e.createElementVNode("g",{id:"cog"}),e.createElementVNode("g",{id:"logo"}),e.createElementVNode("g",{id:"radio-check"}),e.createElementVNode("g",{id:"eye-slash"}),e.createElementVNode("g",{id:"eye"}),e.createElementVNode("g",{id:"toggle-off"}),e.createElementVNode("g",{id:"shredder"}),e.createElementVNode("g",{id:"spinner--loading--dots-","serif:id":"spinner [loading, dots]"}),e.createElementVNode("g",{id:"react"}),e.createElementVNode("g",{id:"check-selected"}),e.createElementVNode("g",{id:"turn-off"}),e.createElementVNode("g",{id:"code-block"}),e.createElementVNode("g",{id:"user"}),e.createElementVNode("g",{id:"coffee-bean"}),e.createElementVNode("g",{id:"coffee-beans"},[e.createElementVNode("g",{id:"coffee-bean1","serif:id":"coffee-bean"})]),e.createElementVNode("g",{id:"coffee-bean-filled"}),e.createElementVNode("g",{id:"coffee-beans-filled"},[e.createElementVNode("g",{id:"coffee-bean2","serif:id":"coffee-bean"})]),e.createElementVNode("g",{id:"clipboard"}),e.createElementVNode("g",{id:"clipboard-paste"}),e.createElementVNode("g",{id:"clipboard-copy"}),e.createElementVNode("g",{id:"Layer1"})])],-1))],So=[i(()=>e.createElementVNode("i",{class:"superscript p x-2"},"sup",-1))],zo=[i(()=>e.createElementVNode("i",{class:"subscript p x-2"},"sub",-1))],Mo=[e.createStaticVNode('<i class="-code p x-2" data-v-c5304261><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c5304261><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5304261></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5304261></g><g id="SVGRepo_iconCarrier" data-v-c5304261><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-c5304261></path><path d="M12.5 11.5L11.0858 10.0858L13.1716 8L11.0858 5.91422L12.5 4.5L16 8L12.5 11.5Z" fill="#000000" data-v-c5304261></path><path d="M2.82843 8L4.91421 10.0858L3.5 11.5L0 8L3.5 4.5L4.91421 5.91422L2.82843 8Z" fill="#000000" data-v-c5304261></path></g></svg></i>',1)],To={class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1"},Ro=i(()=>e.createElementVNode("i",{class:"solid brush display-color",style:{margin:"6px 0px 0px 0px",border:"none"}},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{class:"icon-highlight-bg-color__color",d:"M3 18h18v3H3z",fill:"#F1C40F"}),e.createElementVNode("path",{"fill-rule":"nonzero",d:"M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"})])])],-1)),Ho={class:"color-picker color-container",style:{position:"absolute",top:"0",bottom:"0",height:"fit-content",overflow:"auto"}},$o={class:"color-grid"},Bo=["onClick"],Io={class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1"},jo=i(()=>e.createElementVNode("i",{class:"solid brush display-color",style:{margin:"6px 0px 0px 0px",border:"none"}},[e.createElementVNode("span",{role:"presentation",class:"tbtn","aria-disabled":"false",style:{width:"34px"}},[e.createElementVNode("span",{class:"icon tbtn__icon-wrap"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{class:"icon-text-color__color",d:"M3 18h18v3H3z",fill:"#F1C40F"}),e.createElementVNode("path",{d:"M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4Zm2.6-7.6-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4Z"})])])])])],-1)),Zo={class:"color-picker color-container",style:{position:"absolute",top:"0",bottom:"0",height:"fit-content",overflow:"auto"}},Do={class:"color-grid"},Wo=["onClick"],Po=[e.createStaticVNode('<span class="" data-v-c5304261><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c5304261><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5304261></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5304261></g><g id="SVGRepo_iconCarrier" data-v-c5304261><path fill="#494c4e" d="M16 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm0 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm1 4v2c0 1-1 2-2 2h-2c0 .3 0 .5-.3.7-.2.2-.4.3-.7.3s-.5 0-.7-.3l-1-1c-.4-.4-.4-1 0-1.4l1-1c.4-.4 1-.4 1.4 0 .2.2.3.4.3.7h2v-2H2c-.6 0-1-.5-1-1s.5-1 1-1h13c1 0 2 1 2 2z" data-v-c5304261></path></g></svg></span>',1)],Go={style:{"min-height":"100%","text-align":"justify"}},Oo=["innerHTML"],Xo={class:"hideonprint flex items-center"},qo=[i(()=>e.createElementVNode("i",{class:"-"},null,-1)),i(()=>e.createElementVNode("strong",{class:"p x-2"},"NEW LINE",-1))],Yo=i(()=>e.createElementVNode("p",null,[e.createTextVNode("Cursor position: "),e.createElementVNode("span",{id:"cursorPosition"},"0")],-1)),Uo=i(()=>e.createElementVNode("p",null,[e.createTextVNode("Text at cursor: "),e.createElementVNode("span",{id:"textAtCursor"})],-1));return ue({__name:"Editor",props:{Dvalue:{default:""},TextOnly:{default:!1},cssWanted2:{default:!1}},emits:["change","update"],setup(n,{emit:a}){const o=e.ref(null),l=e.ref(null),r=e.ref(null),p=e.ref(null),s=e.ref(null);let d=null;const m=e.ref(["FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","5733FF","57FF33","FF3333","33FF33","3333FF","FF33AA","33AAFF","AAFF33","FFAA33","AA33FF","33FFAA","AAFFAA","FFAAFF","FF6347","40E0D0","FFD700","8A2BE2","DC143C","00CED1","7FFF00","FF4500","fffefe","2E8B57","DAA520","6A5ACD","FF1493","B8860B","4682B4","D2691E","ADFF2F","5F9EA0","FF69B4","7B68EE","00FF7F","20B2AA","FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","FFD700","8A2BE2","7FFFD4","FF4500","6A5ACD","00FF7F","FF6347","FF1493","00CED1","989393","000000"]),h=a,y=n,f=e.ref(null);function g(...u){try{var t=document.querySelectorAll(".removeinlineblock");t.forEach(function(c){c.style.display="block"}),fe(...u,f.value.innerHTML)}catch{}}function _(...u){var t;W(),le((t=l.value)==null?void 0:t.range,o.value,...u)}function E(...u){var t;U((t=l.value)==null?void 0:t.range,o.value,...u),d=null}function N(...u){var t;U((t=l.value)==null?void 0:t.range,o.value,...u),d=null}function S(u){de(u,l.value.range),d=null}function w(...u){ne(l.value.range,...u),d=null}const v=ge();function z(){let u=he(o.value).replace(/<style scoped>[\s\S]*?<\/style>/,"");y.TextOnly=="true"&&(u=u.replace(/<\/[a-z]*?>|<\S.*?>/gi,t=>t.startsWith("</")?"":`
|
|
160
|
+
`)),console.log(u,"htmlResulthtmlResulthtmlResult"),y.cssWanted==!0&&h("cssWanted",v),setTimeout(()=>{h("change",u)},300)}function D(u){o.value.focus(),z()}e.onMounted(()=>{D()});function $(){me(o.value)}function b(...u){Z(l.value.range,...u)}function B(...u){ie(l.value.range,...u)}function W(){l.value=Q(),M(),ee(l.value,o.value,p.value,s.value),d=null}function Ko(u){u.preventDefault();const t=u.dataTransfer.files;if(t.length>0){const c=t[0],x=new FileReader;x.onload=k=>{const C=k.target.result;Jo(C)},x.readAsDataURL(c)}}function Jo(u){R();const t=l.value.range;if(t){let P=function(F,V){F.preventDefault(),H=V,window.addEventListener("mousemove",K),window.addEventListener("mouseup",J)},K=function(F){const V=x.getBoundingClientRect();if(H==="width"||H==="both"){const A=F.clientX-V.left;x.style.width=A+"px",c.style.width=A+"px"}if(H==="height"||H==="both"){const A=F.clientY-V.top;c.style.height=A+"px"}},J=function(){window.removeEventListener("mousemove",K),window.removeEventListener("mouseup",J)};const c=document.createElement("img");c.src=u,c.style.maxWidth="100%",c.style.position="relative",c.classList.add("resizable-image");const x=document.createElement("span");x.style.display="inline-block",x.style.width="200px",x.style.position="relative",x.contentEditable=!1,x.classList.add("resizer-image-dropped"),x.addEventListener("click",function(F){const V=document.createElement("div");V.style.display="flex",V.style.position="absolute",V.style.bottom="20px",V.style.right="0px",V.style.zIndex="100",V.style.background="white",V.classList.add("Image_dropped_pom");const A=document.createElement("button");A.textContent=" Left",A.style.margin="5px";const I=document.createElement("button");I.textContent=" Right",I.style.margin="5px";const j=document.createElement("button");j.textContent="Center ",j.style.margin="5px",V.appendChild(A),V.appendChild(I),V.appendChild(j),x.appendChild(V),A.addEventListener("click",()=>{x.style.float="inline-start",R()}),I.addEventListener("click",()=>{x.style.float="inline-end",R()}),j.addEventListener("click",()=>{x.style.display="block",x.style.margin="0 auto",R()}),document.addEventListener("click",function Qo(en){x.contains(en.target)||(R(),document.removeEventListener("click",Qo))},{once:!0})});const k=document.createElement("div");k.style.width="10px",k.style.height="100%",k.style.background="gray",k.style.position="absolute",k.style.right="0",k.style.top="0",k.style.cursor="ew-resize",k.style.zIndex="2",k.setAttribute("contentEditable",!1);const C=document.createElement("div");C.style.width="100%",C.style.height="10px",C.style.background="gray",C.style.position="absolute",C.style.bottom="0",C.style.left="0",C.style.cursor="ns-resize",C.style.zIndex="2",C.setAttribute("contentEditable",!1);const L=document.createElement("div");L.style.width="20px",L.style.height="20px",L.style.background="gray",L.style.position="absolute",L.style.right="0",L.style.bottom="0",L.style.cursor="nwse-resize",L.style.zIndex="10",L.setAttribute("contentEditable",!1),x.appendChild(c),x.appendChild(k),x.appendChild(C),x.appendChild(L),x.addEventListener("click",F=>{d&&(d.style.border=""),d=x,d.style.border="2px solid blue"}),k.addEventListener("mousedown",F=>P(F,"width")),C.addEventListener("mousedown",F=>P(F,"height")),L.addEventListener("mousedown",F=>P(F,"both")),t.insertNode(x);let H}}function R(u="Image_dropped_pom"){const t=document.getElementsByClassName(u);Array.from(t).forEach(c=>{c.remove()})}return(u,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",_e,[e.createElementVNode("div",Ee,[e.createElementVNode("div",ye,[e.createElementVNode("div",xe,[e.createElementVNode("div",be,[Ne,e.createElementVNode("div",Ve,[e.createElementVNode("div",we,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[0]||(t[0]=c=>g(!0))},ke),e.createElementVNode("div",Ce,[ve,e.createElementVNode("strong",{class:"px-3",onClick:t[1]||(t[1]=c=>g(!1))},"Preview")]),Fe])])])]),e.createElementVNode("div",Le,[e.createElementVNode("div",Ae,[Se,e.createElementVNode("div",ze,[e.createElementVNode("div",Me,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md",onClick:t[2]||(t[2]=c=>b())},Te),e.createElementVNode("div",{onClick:t[3]||(t[3]=c=>b("i","**italic text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Re),e.createElementVNode("div",{onClick:t[4]||(t[4]=c=>b("u","**underLine text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},He),e.createElementVNode("div",{onClick:t[5]||(t[5]=c=>b("s","**underLine text**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},$e),e.createElementVNode("div",{onClick:t[6]||(t[6]=c=>b("sup","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Be),e.createElementVNode("div",{onClick:t[7]||(t[7]=c=>b("sub","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Ie),e.createElementVNode("div",{onClick:t[8]||(t[8]=c=>b("summary","**summary**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},je),e.createElementVNode("div",{onClick:t[9]||(t[9]=c=>b("ol","1. ordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},Ze),e.createElementVNode("div",{onClick:t[10]||(t[10]=c=>b("ul","1. unordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},De),e.createElementVNode("div",{onClick:t[11]||(t[11]=c=>b("h1","**h1**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},We),e.createElementVNode("div",{onClick:t[12]||(t[12]=c=>b("h2","**h2**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Pe),e.createElementVNode("div",{onClick:t[13]||(t[13]=c=>b("h3","**h3**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Ge),e.createElementVNode("div",{onClick:t[14]||(t[14]=c=>b("h4","**h4**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Oe),e.createElementVNode("div",{onClick:t[15]||(t[15]=c=>b("h5","**h5**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Xe),e.createElementVNode("div",{onClick:t[16]||(t[16]=c=>b("h6","**h6**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},qe),e.createElementVNode("div",Ye,[e.createElementVNode("input",{list:"fontSizes",onChange:t[17]||(t[17]=c=>N("font-size",c.target.value+"px")),placeholder:"Size ",class:"p-1 border rounded w-[6vw] h-[3vh]"},null,32),Ue])])])])]),e.createElementVNode("div",Ke,[e.createElementVNode("div",Je,[Qe,e.createElementVNode("div",et,[e.createElementVNode("div",tt,[e.createElementVNode("div",ot,[nt,lt,e.createElementVNode("input",{type:"file",hidden:"",id:"pom43546535435445Image",accept:"image/*",multiple:"",onChange:t[18]||(t[18]=c=>S(c))},null,32)]),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[19]||(t[19]=c=>{w(this,"a","links",{},{href:"",class:"pom-editor-anchor-tag",style:"text-decoration: underline;cursor: pointer"})})},it),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer p-2",onClick:t[20]||(t[20]=c=>w(this))},st),e.createElementVNode("div",null,[rt,e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[21]||(t[21]=c=>e.unref(q)())},at),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[22]||(t[22]=c=>e.unref(q)(!0))},dt),e.createElementVNode("div",ct,[mt,e.createElementVNode("div",{id:"table-picker-container",ref_key:"tablePickerContainer",ref:r,class:"table-picker-container"},[e.createElementVNode("div",{id:"table-picker-grid",ref_key:"tablePickerGrid",ref:p,class:"table-picker-grid"},null,512),e.createElementVNode("span",{id:"table-dimensions",ref_key:"tableDimensions",ref:s,class:"table-dimensions"},"0 x 0",512)],512)])])])])])]),e.createElementVNode("div",pt,[e.createElementVNode("div",ht,[ft,e.createElementVNode("div",gt,[e.createElementVNode("span",ut,[e.createElementVNode("div",_t,[e.createElementVNode("div",Et,[yt,e.createElementVNode("div",xt,[e.createElementVNode("div",bt,[e.createElementVNode("div",{onClick:t[23]||(t[23]=()=>E("font-family"," arial, helvetica, sans-serif")),style:{"font-family":"arial, helvetica, sans-serif"}},"Arial ")]),Nt]),e.createElementVNode("div",Vt,[e.createElementVNode("div",wt,[e.createElementVNode("div",{style:{"font-family":'"arial black", sans-serif'},onClick:t[24]||(t[24]=()=>E("font-family","arial black, sans-serif"))}," Arial Black")]),kt]),e.createElementVNode("div",Ct,[e.createElementVNode("div",vt,[e.createElementVNode("div",{style:{"font-family":"book antiqua, palatino, serif"},onClick:t[25]||(t[25]=()=>E("font-family","book antiqua, palatino, serif"))}," Book Antiqua")]),Ft]),e.createElementVNode("div",Lt,[e.createElementVNode("div",At,[e.createElementVNode("div",{style:{"font-family":'"comic sans ms", sans-serif'},onClick:t[26]||(t[26]=()=>E("font-family",'comic sans ms", sans-serif'))}," Comic Sans MS")]),St]),e.createElementVNode("div",zt,[e.createElementVNode("div",Mt,[e.createElementVNode("div",{style:{"font-family":"courier new, courier, monospace"},onClick:t[27]||(t[27]=()=>E("font-family"," courier new, courier, monospace;"))}," Courier New")]),Tt]),e.createElementVNode("div",Rt,[e.createElementVNode("div",Ht,[e.createElementVNode("div",{style:{"font-family":"georgia, palatino, serif"},onClick:t[28]||(t[28]=()=>E("font-family"," georgia, palatino, serif"))},"Georgia ")]),$t]),e.createElementVNode("div",Bt,[e.createElementVNode("div",It,[e.createElementVNode("div",{style:{"font-family":"helvetica, arial, sans-serif"},onClick:t[29]||(t[29]=()=>E("font-family"," helvetica, arial, sans-serif"))}," Helvetica")]),jt]),e.createElementVNode("div",Zt,[e.createElementVNode("div",Dt,[e.createElementVNode("div",{style:{"font-family":"impact, sans-serif"},onClick:t[30]||(t[30]=()=>E("font-family"," impact, sans-serif"))},"Impact")]),Wt]),e.createElementVNode("div",Pt,[e.createElementVNode("div",Gt,[e.createElementVNode("div",{style:{"font-family":"symbol"},onClick:t[31]||(t[31]=()=>E("font-family"," symbol"))},"Symbol")]),Ot]),e.createElementVNode("div",Xt,[e.createElementVNode("div",qt,[e.createElementVNode("div",{style:{"font-family":"tahoma, arial, helvetica, sans-serif"},onClick:t[32]||(t[32]=()=>E("font-family"," tahoma, arial, helvetica, sans-serif"))}," Tahoma")]),Yt]),e.createElementVNode("div",Ut,[e.createElementVNode("div",Kt,[e.createElementVNode("div",{style:{"font-family":"terminal, monaco, monospace"},onClick:t[33]||(t[33]=()=>E("font-family"," terminal, monaco, monospace"))},"Terminal ")]),Jt]),e.createElementVNode("div",Qt,[e.createElementVNode("div",eo,[e.createElementVNode("div",{style:{"font-family":"times new roman, times, serif"},onClick:t[34]||(t[34]=()=>E("font-family"," times new roman, times, serif"))}," Times New Roman")]),to]),e.createElementVNode("div",oo,[e.createElementVNode("div",no,[e.createElementVNode("div",{style:{"font-family":"trebuchet ms, geneva, sans-serif"},onClick:t[35]||(t[35]=()=>E("font-family"," trebuchet ms, geneva, sans-serif"))}," Trebuchet MS")]),lo]),e.createElementVNode("div",io,[e.createElementVNode("div",so,[e.createElementVNode("div",{style:{"font-family":"verdana, geneva, sans-serif"},onClick:t[36]||(t[36]=()=>E("font-family"," verdana, geneva, sans-serif"))},"Verdana ")]),ro]),ao,co])])])])])]),e.createElementVNode("div",mo,[e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[37]||(t[37]=c=>_("text-align","justify","","p"))},po),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[38]||(t[38]=c=>_("text-align","center","","div"))},ho),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[39]||(t[39]=c=>_("text-align","end","","p"))},fo),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[40]||(t[40]=c=>_("text-align","start","","div"))},go)]),e.createElementVNode("div",uo,[_o,e.createElementVNode("div",Eo,[e.createElementVNode("div",yo,[e.createElementVNode("div",{onClick:t[41]||(t[41]=c=>B(3,"disc"))},xo),e.createElementVNode("div",{onClick:t[42]||(t[42]=c=>B(3,"circle"))},bo),e.createElementVNode("div",null,[e.createElementVNode("div",{class:"",onClick:t[43]||(t[43]=c=>B())},No)]),e.createElementVNode("div",{onClick:t[44]||(t[44]=c=>B(3,"upper-latin"))},Vo)])])])]),e.createElementVNode("div",wo,[e.renderSlot(u.$slots,"toolbar-before",{},void 0,!0),e.createElementVNode("div",{class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-3",style:{margin:"6px"},onClick:t[45]||(t[45]=c=>b())},ko),e.createElementVNode("div",{onClick:t[46]||(t[46]=c=>b("i","**italic text **")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Co),e.createElementVNode("div",{onClick:t[47]||(t[47]=c=>b("u","**underLine text**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},vo),e.createElementVNode("div",{onClick:t[48]||(t[48]=c=>b("s","**Strike text**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},[e.createElementVNode("i",Fo,[(e.openBlock(),e.createElementBlock("svg",Lo,Ao))])]),e.createElementVNode("div",{onClick:t[49]||(t[49]=c=>b("sup","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},So),e.createElementVNode("div",{onClick:t[50]||(t[50]=c=>b("sub","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},zo),e.createElementVNode("div",{onClick:t[51]||(t[51]=c=>b("Code","**code**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Mo),e.createElementVNode("div",To,[Ro,e.createElementVNode("div",Ho,[e.createElementVNode("div",$o,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,c=>(e.openBlock(),e.createElementBlock("div",{class:"color-box",style:e.normalizeStyle(`background-color: #${c} ;`),onClick:x=>N("background",`#${c}`,"","span")},null,12,Bo))),256))])])]),e.createElementVNode("div",Io,[jo,e.createElementVNode("div",Zo,[e.createElementVNode("div",Do,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,c=>(e.openBlock(),e.createElementBlock("div",{class:"color-box",style:e.normalizeStyle(`background-color: #${c} ;`),onClick:x=>N("color",`#${c}`,"","span")},null,12,Wo))),256))])])]),e.renderSlot(u.$slots,"toolbar-after",{},void 0,!0),e.createElementVNode("div",{title:"new fresh line",style:{flex:"1",margin:"0 4px","text-align":"center","padding-top":"8px"},onClick:t[52]||(t[52]=c=>$())},Po)])])]),e.createElementVNode("div",{class:"",ref_key:"pomTextEditorContainer",ref:f,id:"pom-texedito-container",style:{width:"100%",overflow:"hidden auto",height:"30vh",border:"1px solid #9d969633",padding:"0px","border-radius":"3px"}},[e.createElementVNode("div",Go,[e.createElementVNode("div",{"data-placeholder":"Your Editing.....",onDrop:Ko,innerHTML:n.Dvalue,onMouseup:t[53]||(t[53]=c=>W()),onKeyup:t[54]||(t[54]=c=>{W()}),ref_key:"editorRef",ref:o,class:"editor pom-editing-area mt-1 border-gray-300",onInput:z,contenteditable:"true",id:"editor",style:{height:"100%",width:"100%",border:"none"}},null,40,Oo)])],512),e.createElementVNode("div",Xo,[e.createElementVNode("div",{class:"hover:bg-gray-200",onClick:t[55]||(t[55]=c=>$())},qo),Yo,e.createTextVNode(" "),Uo])],64))}},[["__scopeId","data-v-c5304261"]])});
|