pom-text-editor 0.2.22 → 0.2.23
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 +97 -70
- package/dist/pom-text-editor.cjs.js +2 -167
- package/dist/pom-text-editor.es.js +1864 -1239
- package/dist/pom-text-editor.umd.js +2 -167
- package/package.json +21 -13
- package/dist/vite.svg +0 -1
|
@@ -1,410 +1,660 @@
|
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const o = window.getSelection();
|
|
9
|
-
if (o.rangeCount > 0) {
|
|
10
|
-
const l = o.getRangeAt(0), n = l.startOffset;
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.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}}/*!\n * Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n * Copyright 2024 Fonticons, Inc.\n */.pom-main-element-container .editor[data-v-9ee2fe0b]:empty:before{content:attr(data-placeholder);color:#aaa;left:10px;top:10px;pointer-events:none;font-size:19px}.pom-main-element-container .editor[data-v-9ee2fe0b]:focus:before{content:none}.pom-main-element-container .table-picker-wrapper[data-v-9ee2fe0b]{position:relative;display:inline-block}.pom-main-element-container .table-picker-trigger[data-v-9ee2fe0b]{cursor:pointer;display:flex;align-items:center}.pom-main-element-container .table-picker-container[data-v-9ee2fe0b]{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}.pom-main-element-container .table-picker-wrapper:hover .table-picker-container[data-v-9ee2fe0b]{display:block}.pom-main-element-container .table-picker-grid[data-v-9ee2fe0b]{display:grid;grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px);gap:2px;margin-bottom:10px}.pom-main-element-container .table-picker-grid div[data-v-9ee2fe0b]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.pom-main-element-container .table-picker-grid div[data-v-9ee2fe0b]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-9ee2fe0b]{font-size:12px;color:#333}.pom-main-element-container .pomXEditor[data-v-9ee2fe0b]{border:1px;border-style:solid;border-color:#6972734e}.pom-main-element-container #editor[data-v-9ee2fe0b]:focus{outline:none;border:none}.pom-main-element-container .pom-table-editor-container[data-v-9ee2fe0b]{display:flex}.pom-main-element-container .pom-table-editor-container a[data-v-9ee2fe0b]{color:#00f;text-decoration:underline;cursor:pointer}.pom-main-element-container .pom-table-editor-container a[data-v-9ee2fe0b]:link{color:#00f}.pom-main-element-container .pom-table-editor-container a[data-v-9ee2fe0b]:visited{color:purple}.pom-main-element-container .pom-table-editor-container a[data-v-9ee2fe0b]:hover{color:red;text-decoration:none}.pom-main-element-container .pom-table-editor-container a[data-v-9ee2fe0b]:active{color:orange}@media print{.hideonprint[data-v-9ee2fe0b]{display:none!important}[data-v-9ee2fe0b]{overflow:hidden}}.pom-main-element-container .editor[data-v-9ee2fe0b]{padding:10px;border:1px solid #ccc;min-height:200px}.pom-main-element-container .resizable-image[data-v-9ee2fe0b]{max-width:100%;resize:both;overflow:auto;display:block;cursor:nwse-resize}.pom-main-element-container[data-v-9ee2fe0b] ::-webkit-scrollbar{width:12px;height:12px}.pom-main-element-container[data-v-9ee2fe0b] ::-webkit-scrollbar-track{background:#f1f1f1}.pom-main-element-container[data-v-9ee2fe0b] ::-webkit-scrollbar-thumb{background-color:#888;border-radius:6px;border:3px solid #f1f1f1}.pom-main-element-container[data-v-9ee2fe0b] ::-webkit-scrollbar-thumb:hover{background:#555}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
|
|
2
|
+
import { ref, onMounted, openBlock, createElementBlock, createElementVNode, unref, renderSlot, Fragment, renderList, normalizeStyle, toDisplayString, createCommentVNode, createStaticVNode, pushScopeId, popScopeId, createTextVNode } from "vue";
|
|
3
|
+
function updateCursorInfo() {
|
|
4
|
+
const selection = window.getSelection();
|
|
5
|
+
if (selection.rangeCount > 0) {
|
|
6
|
+
const range = selection.getRangeAt(0);
|
|
7
|
+
const cursorPosition = range.startOffset;
|
|
11
8
|
if (document.getElementById("cursorPosition")) {
|
|
12
|
-
document.getElementById("cursorPosition").textContent =
|
|
13
|
-
const
|
|
14
|
-
if (
|
|
15
|
-
const
|
|
16
|
-
document.getElementById("textAtCursor").textContent =
|
|
17
|
-
} else
|
|
9
|
+
document.getElementById("cursorPosition").textContent = cursorPosition;
|
|
10
|
+
const textNode = range.startContainer;
|
|
11
|
+
if (textNode.nodeType === Node.TEXT_NODE) {
|
|
12
|
+
const textAtCursor = textNode.textContent.substring(cursorPosition, cursorPosition + 1);
|
|
13
|
+
document.getElementById("textAtCursor").textContent = textAtCursor;
|
|
14
|
+
} else {
|
|
18
15
|
document.getElementById("textAtCursor").textContent = "No text here";
|
|
16
|
+
}
|
|
19
17
|
}
|
|
20
18
|
}
|
|
21
19
|
}
|
|
22
|
-
function
|
|
23
|
-
const
|
|
24
|
-
if (
|
|
25
|
-
return { range:
|
|
20
|
+
function saveCursorPosition() {
|
|
21
|
+
const selection = window.getSelection();
|
|
22
|
+
if (selection.rangeCount > 0) {
|
|
23
|
+
return { range: selection.getRangeAt(0).cloneRange(), selection };
|
|
24
|
+
}
|
|
26
25
|
}
|
|
27
|
-
function
|
|
28
|
-
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
function initResize(e) {
|
|
27
|
+
e.preventDefault();
|
|
28
|
+
const resizer = e.target;
|
|
29
|
+
const container = resizer.parentElement;
|
|
30
|
+
const startX = e.clientX;
|
|
31
|
+
const startY = e.clientY;
|
|
32
|
+
const startWidth = parseFloat(window.getComputedStyle(container).width);
|
|
33
|
+
const startHeight = parseFloat(window.getComputedStyle(container).height);
|
|
34
|
+
function onMouseMove(e2) {
|
|
35
|
+
const dx = e2.clientX - startX;
|
|
36
|
+
const dy = e2.clientY - startY;
|
|
37
|
+
container.style.width = `${startWidth + dx}px`;
|
|
38
|
+
container.style.height = `${startHeight + dy}px`;
|
|
39
|
+
container.style.minWidth = "50px";
|
|
40
|
+
container.style.minHeight = "50px";
|
|
41
|
+
const img = container.querySelector("img");
|
|
42
|
+
if (img)
|
|
43
|
+
img.style.width = "100%";
|
|
35
44
|
}
|
|
36
|
-
function
|
|
37
|
-
document.removeEventListener("mousemove",
|
|
45
|
+
function onMouseUp() {
|
|
46
|
+
document.removeEventListener("mousemove", onMouseMove);
|
|
47
|
+
document.removeEventListener("mouseup", onMouseUp);
|
|
38
48
|
}
|
|
39
|
-
document.addEventListener("mousemove",
|
|
49
|
+
document.addEventListener("mousemove", onMouseMove);
|
|
50
|
+
document.addEventListener("mouseup", onMouseUp);
|
|
40
51
|
}
|
|
41
|
-
let
|
|
42
|
-
function
|
|
43
|
-
const [
|
|
44
|
-
|
|
52
|
+
let savedRange;
|
|
53
|
+
function handleMouseClick(editor2, tableDimensions) {
|
|
54
|
+
const [columns, rows] = tableDimensions.textContent.split(" x ").map(Number);
|
|
55
|
+
insertTableAtCursor(editor2, rows, columns);
|
|
45
56
|
}
|
|
46
|
-
function
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
57
|
+
function handleMouseOver(event, tableDimensions, tablePickerGrid) {
|
|
58
|
+
const index = Array.from(tablePickerGrid.children).indexOf(event.target);
|
|
59
|
+
const columns = index % 10 + 1;
|
|
60
|
+
const rows = Math.floor(index / 10) + 1;
|
|
61
|
+
Array.from(tablePickerGrid.children).forEach((item, i) => {
|
|
62
|
+
if (i <= index) {
|
|
63
|
+
item.style.backgroundColor = "#1f9296";
|
|
64
|
+
} else {
|
|
65
|
+
item.style.backgroundColor = "#737979";
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
tableDimensions.textContent = `${columns} x ${rows}`;
|
|
51
69
|
}
|
|
52
|
-
function
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
70
|
+
function makeTableGridforCreation(savedRangep, editor2, tablePickerGrid, tableDimensions) {
|
|
71
|
+
savedRange = savedRangep;
|
|
72
|
+
while (tablePickerGrid.firstChild) {
|
|
73
|
+
const gridItem = tablePickerGrid.firstChild;
|
|
74
|
+
gridItem.removeEventListener("mouseover", handleMouseOver);
|
|
75
|
+
gridItem.removeEventListener("click", handleMouseClick);
|
|
76
|
+
tablePickerGrid.removeChild(gridItem);
|
|
56
77
|
}
|
|
57
|
-
for (let
|
|
58
|
-
const
|
|
59
|
-
|
|
78
|
+
for (let i = 0; i < 100; i++) {
|
|
79
|
+
const gridItem = document.createElement("div");
|
|
80
|
+
gridItem.addEventListener("mouseover", (e) => handleMouseOver(e, tableDimensions, tablePickerGrid));
|
|
81
|
+
gridItem.addEventListener("click", () => handleMouseClick(editor2, tableDimensions));
|
|
82
|
+
tablePickerGrid.appendChild(gridItem);
|
|
60
83
|
}
|
|
61
84
|
}
|
|
62
|
-
function
|
|
63
|
-
const
|
|
64
|
-
if (
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
85
|
+
function insertTableAtCursor(editor2, numRows = 2, numCols = 2) {
|
|
86
|
+
const range = savedRange.range;
|
|
87
|
+
if (range) {
|
|
88
|
+
const selection = savedRange.selection;
|
|
89
|
+
const container = document.createElement("div");
|
|
90
|
+
container.classList.add("pom-table-editor-container");
|
|
91
|
+
container.style.display = "flex";
|
|
92
|
+
const table = document.createElement("table");
|
|
93
|
+
table.style.border = "1px solid black";
|
|
94
|
+
table.style.borderCollapse = "collapse";
|
|
95
|
+
table.classList.add("pom-table-editor");
|
|
96
|
+
for (let i = 0; i < numRows; i++) {
|
|
97
|
+
const row = document.createElement("tr");
|
|
98
|
+
for (let j = 0; j < numCols; j++) {
|
|
99
|
+
const cell = document.createElement("td");
|
|
100
|
+
cell.style.border = "1px solid black";
|
|
101
|
+
cell.style.padding = "5px";
|
|
102
|
+
cell.textContent = `Row ${i + 1}, Cell ${j + 1}`;
|
|
103
|
+
const resizer = document.createElement("div");
|
|
104
|
+
resizer.style.width = "5px";
|
|
105
|
+
resizer.style.height = "100%";
|
|
106
|
+
resizer.style.position = "absolute";
|
|
107
|
+
resizer.style.right = "0";
|
|
108
|
+
resizer.style.top = "0";
|
|
109
|
+
resizer.style.cursor = "col-resize";
|
|
110
|
+
resizer.style.userSelect = "none";
|
|
111
|
+
resizer.addEventListener("mousedown", initResize);
|
|
112
|
+
cell.style.position = "relative";
|
|
113
|
+
cell.appendChild(resizer);
|
|
114
|
+
row.appendChild(cell);
|
|
76
115
|
}
|
|
77
|
-
|
|
116
|
+
table.appendChild(row);
|
|
78
117
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
118
|
+
container.appendChild(table);
|
|
119
|
+
table.addEventListener("contextmenu", function(e) {
|
|
120
|
+
e.preventDefault();
|
|
121
|
+
createCustomContextMenu(e, table, container);
|
|
122
|
+
});
|
|
123
|
+
range.deleteContents();
|
|
124
|
+
range.insertNode(container);
|
|
125
|
+
const firstCell = table.querySelector("td");
|
|
126
|
+
const newRange = document.createRange();
|
|
127
|
+
newRange.setStart(firstCell, 0);
|
|
128
|
+
newRange.collapse(true);
|
|
129
|
+
selection.addRange(newRange);
|
|
130
|
+
savedRange = newRange.cloneRange();
|
|
131
|
+
editor2.focus();
|
|
132
|
+
return savedRange;
|
|
84
133
|
}
|
|
85
134
|
}
|
|
86
|
-
function
|
|
87
|
-
const
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
135
|
+
function createCustomContextMenu(e, table, container) {
|
|
136
|
+
const existingMenu = document.getElementById("custom-context-menu");
|
|
137
|
+
if (existingMenu) {
|
|
138
|
+
document.body.removeChild(existingMenu);
|
|
139
|
+
}
|
|
140
|
+
const contextMenu = document.createElement("div");
|
|
141
|
+
contextMenu.id = "custom-context-menu";
|
|
142
|
+
contextMenu.style.position = "absolute";
|
|
143
|
+
contextMenu.style.backgroundColor = "white";
|
|
144
|
+
contextMenu.style.border = "1px solid #ccc";
|
|
145
|
+
contextMenu.style.padding = "10px";
|
|
146
|
+
contextMenu.style.boxShadow = "0 2px 10px rgba(0, 0, 0, 0.2)";
|
|
147
|
+
contextMenu.style.zIndex = "1000";
|
|
148
|
+
contextMenu.style.left = `${e == null ? void 0 : e.pageX}px`;
|
|
149
|
+
contextMenu.style.top = `${e == null ? void 0 : e.pageY}px`;
|
|
150
|
+
const options = [
|
|
151
|
+
{ text: "Delete Table", action: () => container.remove() },
|
|
92
152
|
{
|
|
93
153
|
text: "Toggle Borders",
|
|
94
154
|
action: () => {
|
|
95
|
-
const
|
|
96
|
-
|
|
97
|
-
|
|
155
|
+
const hasBorder = table.style.border !== "";
|
|
156
|
+
table.style.border = hasBorder ? "" : "1px solid black";
|
|
157
|
+
table.style.borderCollapse = "collapse";
|
|
158
|
+
table.querySelectorAll("td").forEach((td) => {
|
|
159
|
+
td.style.border = hasBorder ? "" : "1px solid black";
|
|
98
160
|
});
|
|
99
161
|
}
|
|
100
162
|
},
|
|
101
163
|
{
|
|
102
164
|
text: "Color Table",
|
|
103
165
|
action: () => {
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
|
|
166
|
+
const bgColorInput = document.createElement("input");
|
|
167
|
+
bgColorInput.type = "color";
|
|
168
|
+
bgColorInput.style.marginTop = "5px";
|
|
169
|
+
bgColorInput.addEventListener("input", () => {
|
|
170
|
+
table.style.backgroundColor = bgColorInput.value;
|
|
171
|
+
});
|
|
172
|
+
const textColorInput = document.createElement("input");
|
|
173
|
+
textColorInput.type = "color";
|
|
174
|
+
textColorInput.style.marginTop = "5px";
|
|
175
|
+
textColorInput.addEventListener("input", () => {
|
|
176
|
+
table.style.color = textColorInput.value;
|
|
107
177
|
});
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
178
|
+
contextMenu.appendChild(document.createTextNode("Background Color:"));
|
|
179
|
+
contextMenu.appendChild(bgColorInput);
|
|
180
|
+
contextMenu.appendChild(document.createTextNode("Text Color:"));
|
|
181
|
+
contextMenu.appendChild(textColorInput);
|
|
112
182
|
}
|
|
113
183
|
},
|
|
114
184
|
{
|
|
115
185
|
text: "Add Row",
|
|
116
186
|
action: () => {
|
|
117
|
-
const
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
187
|
+
const newRow = document.createElement("tr");
|
|
188
|
+
const numCols = table.rows[0].cells.length;
|
|
189
|
+
for (let j = 0; j < numCols; j++) {
|
|
190
|
+
const newCell = document.createElement("td");
|
|
191
|
+
newCell.style.border = "1px solid black";
|
|
192
|
+
newCell.style.padding = "5px";
|
|
193
|
+
newCell.textContent = `Row ${table.rows.length + 1}, Cell ${j + 1}`;
|
|
194
|
+
newRow.appendChild(newCell);
|
|
121
195
|
}
|
|
122
|
-
|
|
196
|
+
table.appendChild(newRow);
|
|
123
197
|
}
|
|
124
198
|
},
|
|
125
199
|
{
|
|
126
200
|
text: "Add Column",
|
|
127
201
|
action: () => {
|
|
128
|
-
for (let
|
|
129
|
-
const
|
|
130
|
-
|
|
202
|
+
for (let i = 0; i < table.rows.length; i++) {
|
|
203
|
+
const newCell = document.createElement("td");
|
|
204
|
+
newCell.style.border = "1px solid black";
|
|
205
|
+
newCell.style.padding = "5px";
|
|
206
|
+
newCell.textContent = `Row ${i + 1}, Cell ${table.rows[i].cells.length + 1}`;
|
|
207
|
+
table.rows[i].appendChild(newCell);
|
|
131
208
|
}
|
|
132
209
|
}
|
|
133
210
|
}
|
|
134
|
-
]
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
211
|
+
];
|
|
212
|
+
options.forEach((option) => {
|
|
213
|
+
const optionElement = document.createElement("div");
|
|
214
|
+
optionElement.textContent = option.text;
|
|
215
|
+
optionElement.style.cursor = "pointer";
|
|
216
|
+
optionElement.addEventListener("click", option.action);
|
|
217
|
+
contextMenu.appendChild(optionElement);
|
|
218
|
+
});
|
|
219
|
+
document.body.appendChild(contextMenu);
|
|
220
|
+
document.addEventListener("click", function removeMenu() {
|
|
221
|
+
if (contextMenu) {
|
|
222
|
+
document.body.removeChild(contextMenu);
|
|
223
|
+
}
|
|
224
|
+
document.removeEventListener("click", removeMenu);
|
|
139
225
|
});
|
|
140
226
|
}
|
|
141
|
-
function
|
|
142
|
-
var
|
|
143
|
-
if (
|
|
144
|
-
const
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
227
|
+
function insertElementAtCursor(savedRange2, elementType = "strong", placeholderText = "*bold text here *", attributes = []) {
|
|
228
|
+
var _a;
|
|
229
|
+
if (savedRange2) {
|
|
230
|
+
const selection = window.getSelection();
|
|
231
|
+
selection.removeAllRanges();
|
|
232
|
+
selection.addRange(savedRange2);
|
|
233
|
+
const range = selection.getRangeAt(0);
|
|
234
|
+
const getThehighLighted = `${range.toString()}`.trim();
|
|
235
|
+
const highlightedText = range.cloneContents();
|
|
236
|
+
const parentElement = range.commonAncestorContainer;
|
|
237
|
+
const parentNode = parentElement.nodeType === Node.TEXT_NODE ? parentElement.parentNode : parentElement;
|
|
238
|
+
const tagName = `${parentNode.tagName}`.toLowerCase();
|
|
239
|
+
if (typeof elementType === "string" && elementType.trim() !== "") {
|
|
240
|
+
let elm = document.createElement(elementType);
|
|
241
|
+
elm.contenteditable = false;
|
|
242
|
+
if (attributes) {
|
|
243
|
+
attributes.forEach((l) => {
|
|
244
|
+
const { attr, value, keyin } = l;
|
|
245
|
+
elm.setAttribute(attr, value);
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
elm.appendChild(highlightedText);
|
|
249
|
+
if (`${elementType}`.toLowerCase() == "code") {
|
|
250
|
+
console.log(elm.innerHTML, "elmelmelm");
|
|
251
|
+
} else {
|
|
252
|
+
if (!((_a = parentNode.classList) == null ? void 0 : _a.contains("pom-editing-area"))) {
|
|
253
|
+
parentNode.innerHTML;
|
|
254
|
+
console.log({ highlightedText, elementType, tagName }, "parentNodeparentNode", elm.innerHTML);
|
|
255
|
+
if (elementType == tagName) {
|
|
256
|
+
elm = createHtmlNode(elm.innerHTML);
|
|
257
|
+
parentNode.parentNode.removeChild(parentNode);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
elm.innerHTML = getThehighLighted.length > 0 ? elm.innerHTML : placeholderText;
|
|
262
|
+
const spaceAfter = document.createElement("span");
|
|
263
|
+
spaceAfter.innerHTML = " ";
|
|
264
|
+
savedRange2.deleteContents();
|
|
265
|
+
savedRange2.insertNode(spaceAfter);
|
|
266
|
+
savedRange2.insertNode(elm);
|
|
267
|
+
const newRange = document.createRange();
|
|
268
|
+
newRange.setStartAfter(spaceAfter);
|
|
269
|
+
newRange.collapse(true);
|
|
270
|
+
selection.removeAllRanges();
|
|
271
|
+
selection.addRange(newRange);
|
|
272
|
+
savedRange2 = newRange.cloneRange();
|
|
273
|
+
} else {
|
|
274
|
+
console.error("Invalid element type:", elementType);
|
|
275
|
+
}
|
|
276
|
+
} else {
|
|
160
277
|
console.log("No saved range available. Make sure the cursor position is saved before calling this function.");
|
|
278
|
+
}
|
|
161
279
|
}
|
|
162
|
-
function
|
|
163
|
-
const
|
|
164
|
-
|
|
280
|
+
function createHtmlNode(htmlString) {
|
|
281
|
+
const tempDiv = document.createElement("div");
|
|
282
|
+
tempDiv.innerHTML = htmlString;
|
|
283
|
+
return tempDiv;
|
|
165
284
|
}
|
|
166
|
-
function
|
|
167
|
-
const
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
const
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
285
|
+
function openInputToFeed(savedRange2, e, element = "span", type = "datetime-local", cssStyle = {}, attributes = []) {
|
|
286
|
+
const cleanzefirst = document.getElementById("Pom-openInputToFeed" + type);
|
|
287
|
+
if (cleanzefirst)
|
|
288
|
+
cleanzefirst.remove();
|
|
289
|
+
const div = document.createElement("div");
|
|
290
|
+
const dateInput = document.createElement("input");
|
|
291
|
+
div.id = "custom-context-menu";
|
|
292
|
+
div.style.position = "absolute";
|
|
293
|
+
div.style.backgroundColor = "white";
|
|
294
|
+
div.style.border = "1px solid #ccc";
|
|
295
|
+
div.style.padding = "10px";
|
|
296
|
+
div.style.boxShadow = "0 2px 10px rgba(0, 0, 0, 0.2)";
|
|
297
|
+
div.style.zIndex = "1000";
|
|
298
|
+
div.style.left = `${e == null ? void 0 : e.pageX}px`;
|
|
299
|
+
div.style.top = `${e == null ? void 0 : e.pageY}px`;
|
|
300
|
+
dateInput.id = "Pom-openInputToFeed" + type;
|
|
301
|
+
dateInput.classList.add("Pom-openInputToFeed");
|
|
302
|
+
dateInput.type = type;
|
|
303
|
+
dateInput.style.cssText = cssStyle;
|
|
304
|
+
div.appendChild(dateInput);
|
|
305
|
+
const toolbar = document.getElementById("toolbar");
|
|
306
|
+
if (toolbar) {
|
|
307
|
+
toolbar.appendChild(div);
|
|
308
|
+
}
|
|
309
|
+
dateInput.addEventListener("change", function() {
|
|
310
|
+
const inputValue = `${this.value}`;
|
|
311
|
+
if (type == "datetime-local")
|
|
312
|
+
insertElementAtCursor(savedRange2, element, inputValue.replace(/T/, " "));
|
|
176
313
|
else {
|
|
177
|
-
let
|
|
178
|
-
for (const
|
|
179
|
-
if (
|
|
180
|
-
if (
|
|
181
|
-
|
|
182
|
-
else {
|
|
183
|
-
const
|
|
184
|
-
|
|
314
|
+
let attrV = [];
|
|
315
|
+
for (const key in attributes) {
|
|
316
|
+
if (attributes.hasOwnProperty(key)) {
|
|
317
|
+
if (key.toLowerCase() === "href") {
|
|
318
|
+
attrV.push({ attr: key, value: inputValue });
|
|
319
|
+
} else {
|
|
320
|
+
const v = attributes[key];
|
|
321
|
+
attrV.push({ attr: key, value: v });
|
|
185
322
|
}
|
|
186
|
-
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
insertElementAtCursor(savedRange2, element, "**link Name** ", attrV);
|
|
326
|
+
}
|
|
327
|
+
div.remove();
|
|
328
|
+
window.document.removeEventListener("click", handleDocumentClick);
|
|
329
|
+
const elements = document.getElementsByClassName("pom-editor-anchor-tag");
|
|
330
|
+
for (let i = 0; i < elements.length; i++) {
|
|
331
|
+
elements[i].addEventListener("click", clickLink);
|
|
187
332
|
}
|
|
188
|
-
c.remove(), window.document.removeEventListener("click", b);
|
|
189
|
-
const h = document.getElementsByClassName("pom-editor-anchor-tag");
|
|
190
|
-
for (let _ = 0; _ < h.length; _++)
|
|
191
|
-
h[_].addEventListener("click", v);
|
|
192
333
|
});
|
|
193
|
-
function
|
|
194
|
-
|
|
334
|
+
function handleDocumentClick(event) {
|
|
335
|
+
if (!div.contains(event.target)) {
|
|
336
|
+
div.remove();
|
|
337
|
+
window.document.removeEventListener("click", handleDocumentClick);
|
|
338
|
+
}
|
|
195
339
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
198
|
-
const
|
|
199
|
-
window.open(
|
|
340
|
+
function clickLink(e2) {
|
|
341
|
+
e2.preventDefault();
|
|
342
|
+
const href = this.href;
|
|
343
|
+
window.open(href, "_blank");
|
|
344
|
+
window.document.removeEventListener("click", clickLink);
|
|
200
345
|
}
|
|
201
346
|
}
|
|
202
|
-
function
|
|
203
|
-
var
|
|
204
|
-
if (!
|
|
347
|
+
function changeTextDirection(savedRange2, editor2, style, value, suffix = "", elementType = "span", imageClick = false) {
|
|
348
|
+
var _a, _b;
|
|
349
|
+
if (!savedRange2) {
|
|
205
350
|
console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");
|
|
206
351
|
return;
|
|
207
352
|
}
|
|
208
|
-
const
|
|
353
|
+
const floats = {
|
|
209
354
|
justify: "left",
|
|
210
355
|
none: "left",
|
|
211
356
|
end: "right",
|
|
212
357
|
start: "left",
|
|
213
358
|
center: "left"
|
|
214
359
|
};
|
|
215
|
-
if (
|
|
216
|
-
|
|
360
|
+
if (imageClick) {
|
|
361
|
+
imageClick.target.parentElement.style.float = `${floats[value]}`;
|
|
217
362
|
return;
|
|
218
363
|
}
|
|
219
|
-
const
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
}
|
|
240
|
-
function Se(o, l = 2, n = "list-style") {
|
|
241
|
-
if (o) {
|
|
242
|
-
const d = window.getSelection();
|
|
243
|
-
d.removeAllRanges(), d.addRange(o);
|
|
244
|
-
const s = document.createElement("ul");
|
|
245
|
-
s.style.listStyle = n, s.style.paddingLeft = "73px";
|
|
246
|
-
for (let c = 0; c < l; c++) {
|
|
247
|
-
const u = document.createElement("li");
|
|
248
|
-
u.style.padding = "5px", u.textContent = `li ${c + 1}, `, u.style.position = "relative", s.appendChild(u);
|
|
249
|
-
}
|
|
250
|
-
o.deleteContents(), o.insertNode(s);
|
|
251
|
-
const p = s.querySelector("td"), r = document.createRange();
|
|
252
|
-
r.setStart(p, 0), r.collapse(!0), d.removeAllRanges(), d.addRange(r), o = r.cloneRange(), editor.focus();
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
function Ae(o) {
|
|
256
|
-
o.preventDefault();
|
|
257
|
-
const n = o.target.parentElement, d = document.getElementById("editor"), s = o.clientX, p = o.clientY, r = parseFloat(window.getComputedStyle(n).left) || 0, c = parseFloat(window.getComputedStyle(n).top) || 0, u = d.offsetWidth, g = d.offsetHeight, b = n.offsetWidth, v = n.offsetHeight;
|
|
258
|
-
function f(_) {
|
|
259
|
-
const y = _.clientX - s, F = _.clientY - p;
|
|
260
|
-
let S = r + y, z = c + F;
|
|
261
|
-
S < 0 ? S = 0 : S + b > u && (S = u - b), z < 0 ? z = 0 : z + v > g && (z = g - v), n.style.left = `${S}px`, n.style.top = `${z}px`;
|
|
262
|
-
const I = u / 2, k = g / 2, N = S + b / 2, B = z + v / 2;
|
|
263
|
-
Math.abs(N - I) < 1 && Math.abs(B - k) < 1 && alert("Container is centered!");
|
|
364
|
+
const selection = window.getSelection();
|
|
365
|
+
selection.removeAllRanges();
|
|
366
|
+
selection.addRange(savedRange2);
|
|
367
|
+
const range = selection.getRangeAt(0);
|
|
368
|
+
let highlightedText = range.cloneContents();
|
|
369
|
+
const parentElement = range.commonAncestorContainer;
|
|
370
|
+
const parentNode = parentElement.nodeType === Node.TEXT_NODE ? parentElement.parentNode : parentElement;
|
|
371
|
+
let element, textToReplace;
|
|
372
|
+
element = document.createElement(elementType);
|
|
373
|
+
element.classList.add("pom-4-textDirection");
|
|
374
|
+
element.setAttribute("id", `pom-4-textDirection-${Date.now()}`);
|
|
375
|
+
const tagName = `${parentNode.tagName}`.toLowerCase();
|
|
376
|
+
const incaseImage = parentNode ? (_a = parentNode.classList) == null ? void 0 : _a.contains("resizer-image-dropped") : null;
|
|
377
|
+
if (parentNode && ((_b = parentNode.classList) == null ? void 0 : _b.contains("pom-4-textDirection"))) {
|
|
378
|
+
parentNode.childNodes.forEach((node) => {
|
|
379
|
+
var _a2;
|
|
380
|
+
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
381
|
+
if (!((_a2 = node.classList) == null ? void 0 : _a2.contains("resizer-image-dropped")))
|
|
382
|
+
node.removeAttribute("style");
|
|
383
|
+
}
|
|
384
|
+
});
|
|
264
385
|
}
|
|
265
|
-
|
|
266
|
-
|
|
386
|
+
if (tagName == "ul" || incaseImage || tagName == "img") {
|
|
387
|
+
parentNode.style.float = `${floats[value]}`;
|
|
388
|
+
parentNode.style.fontWeight = "bold";
|
|
389
|
+
return;
|
|
267
390
|
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}), o.appendChild(n);
|
|
276
|
-
} catch (n) {
|
|
277
|
-
console.log(n);
|
|
391
|
+
element.appendChild(highlightedText);
|
|
392
|
+
if (parentNode.id === "editor") {
|
|
393
|
+
textToReplace = element.innerHTML.replace("text-align", "note");
|
|
394
|
+
savedRange2.deleteContents();
|
|
395
|
+
} else {
|
|
396
|
+
textToReplace = element.innerHTML;
|
|
397
|
+
savedRange2.deleteContents();
|
|
278
398
|
}
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
const p = document.createElement("img");
|
|
287
|
-
p.style.padding = "5px", p.style.width = "100%", p.src = l, p.style.display = "block", p.classList.add(d), p.setAttribute("contenteditable", !1);
|
|
288
|
-
const r = document.createElement("div");
|
|
289
|
-
r.style.width = "20px", r.style.height = "20px", r.style.background = "gray", r.style.position = "absolute", r.style.right = "0", r.style.bottom = "0", r.style.cursor = "nwse-resize", r.style.zIndex = "10", r.classList.add(d), r.setAttribute("contenteditable", !1), r.classList.add("hideOnprint"), r.addEventListener("mousedown", de), s.appendChild(p), s.appendChild(r), ze(s, d), o.deleteContents(), o.insertNode(s);
|
|
290
|
-
const c = document.createRange();
|
|
291
|
-
c.setStartAfter(p), c.collapse(!0), n.removeAllRanges(), n.addRange(c), o = c.cloneRange(), editor.focus();
|
|
292
|
-
let u = document.getElementsByClassName(d);
|
|
293
|
-
for (let g = 0; g < u.length; g++)
|
|
294
|
-
u[g].addEventListener("keyup", function(v) {
|
|
295
|
-
v.keyCode == 8;
|
|
296
|
-
});
|
|
399
|
+
const currentStyle = element.style[style] || "";
|
|
400
|
+
const regex = new RegExp(suffix, "ig");
|
|
401
|
+
const rp = value.replace(regex, "") + suffix;
|
|
402
|
+
if (currentStyle.includes(rp)) {
|
|
403
|
+
element.style[style] = currentStyle.replace(rp, "");
|
|
404
|
+
} else {
|
|
405
|
+
element.style[style] = (currentStyle + rp).trim();
|
|
297
406
|
}
|
|
407
|
+
element.style["margin-left"] = "4px";
|
|
408
|
+
element.style["margin-right"] = "4px";
|
|
409
|
+
element.innerHTML = textToReplace;
|
|
410
|
+
savedRange2.insertNode(element);
|
|
411
|
+
const newRange = document.createRange();
|
|
412
|
+
newRange.collapse(true);
|
|
413
|
+
selection.removeAllRanges();
|
|
414
|
+
selection.addRange(newRange);
|
|
415
|
+
savedRange2 = newRange.cloneRange();
|
|
416
|
+
editor2.focus();
|
|
298
417
|
}
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
418
|
+
function insertUnorderedListAtCursor(savedRange2, numRows = 2, liststyle = "list-style") {
|
|
419
|
+
if (savedRange2) {
|
|
420
|
+
const selection = window.getSelection();
|
|
421
|
+
selection.removeAllRanges();
|
|
422
|
+
selection.addRange(savedRange2);
|
|
423
|
+
const row = document.createElement("ul");
|
|
424
|
+
row.style.listStyle = liststyle;
|
|
425
|
+
row.style.paddingLeft = "73px";
|
|
426
|
+
for (let i = 0; i < numRows; i++) {
|
|
427
|
+
const cell = document.createElement("li");
|
|
428
|
+
cell.style.padding = "5px";
|
|
429
|
+
cell.textContent = `li ${i + 1}, `;
|
|
430
|
+
cell.style.position = "relative";
|
|
431
|
+
row.appendChild(cell);
|
|
432
|
+
}
|
|
433
|
+
savedRange2.deleteContents();
|
|
434
|
+
savedRange2.insertNode(row);
|
|
435
|
+
const firstCell = row.querySelector("td");
|
|
436
|
+
const newRange = document.createRange();
|
|
437
|
+
newRange.setStart(firstCell, 0);
|
|
438
|
+
newRange.collapse(true);
|
|
439
|
+
selection.removeAllRanges();
|
|
440
|
+
selection.addRange(newRange);
|
|
441
|
+
savedRange2 = newRange.cloneRange();
|
|
442
|
+
editor.focus();
|
|
307
443
|
}
|
|
308
444
|
}
|
|
309
|
-
|
|
310
|
-
return new Promise((l, n) => {
|
|
311
|
-
const d = new FileReader();
|
|
312
|
-
d.onloadend = () => l(d.result), d.onerror = (s) => n(s), d.readAsDataURL(o);
|
|
313
|
-
});
|
|
314
|
-
}
|
|
315
|
-
const se = {
|
|
445
|
+
const UndoRedo = {
|
|
316
446
|
StoredText: {},
|
|
317
|
-
//
|
|
447
|
+
// Tracks the current state of the text/image by ID
|
|
318
448
|
undoStack: [],
|
|
319
449
|
// Holds the history of changes for undo
|
|
320
450
|
redoStack: [],
|
|
321
451
|
// Holds the history of undone changes for redo
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
452
|
+
/**
|
|
453
|
+
* Saves the current state of text/image and updates the undo/redo stacks
|
|
454
|
+
* @param {string} MyCurrentText - The current text or base64 image.
|
|
455
|
+
*/
|
|
456
|
+
SaveCurrentChanges: function(MyCurrentText = "") {
|
|
457
|
+
if (typeof MyCurrentText !== "string") {
|
|
458
|
+
console.error("SaveCurrentChanges expects a string value.");
|
|
459
|
+
return;
|
|
460
|
+
}
|
|
461
|
+
if (this.undoStack.length && this.undoStack[this.undoStack.length - 1].text === MyCurrentText) {
|
|
462
|
+
console.log("No changes to save.");
|
|
463
|
+
return;
|
|
464
|
+
}
|
|
465
|
+
const CreateDataId = Date.now();
|
|
466
|
+
this.StoredText[CreateDataId] = MyCurrentText;
|
|
467
|
+
this.undoStack.push({ id: CreateDataId, text: MyCurrentText });
|
|
468
|
+
this.redoStack = [];
|
|
326
469
|
},
|
|
327
|
-
|
|
470
|
+
/**
|
|
471
|
+
* Reverts the last saved change (undo).
|
|
472
|
+
* @returns {string|null} - The previous state of the text/image or null if no undo is possible.
|
|
473
|
+
*/
|
|
328
474
|
Undo: function() {
|
|
329
|
-
if (this.undoStack.length === 0)
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
475
|
+
if (this.undoStack.length === 0) {
|
|
476
|
+
console.log("Nothing to undo");
|
|
477
|
+
return null;
|
|
478
|
+
}
|
|
479
|
+
const lastChange = this.undoStack.pop();
|
|
480
|
+
this.redoStack.push(lastChange);
|
|
481
|
+
delete this.StoredText[lastChange.id];
|
|
482
|
+
return lastChange.text;
|
|
333
483
|
},
|
|
334
|
-
|
|
484
|
+
/**
|
|
485
|
+
* Re-applies the most recently undone change (redo).
|
|
486
|
+
* @returns {string|null} - The redone state of the text/image or null if no redo is possible.
|
|
487
|
+
*/
|
|
335
488
|
Redo: function() {
|
|
336
|
-
if (this.redoStack.length === 0)
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
489
|
+
if (this.redoStack.length === 0) {
|
|
490
|
+
console.log("Nothing to redo");
|
|
491
|
+
return null;
|
|
492
|
+
}
|
|
493
|
+
const lastUndo = this.redoStack.pop();
|
|
494
|
+
this.undoStack.push(lastUndo);
|
|
495
|
+
this.StoredText[lastUndo.id] = lastUndo.text;
|
|
496
|
+
return lastUndo.text;
|
|
340
497
|
}
|
|
341
498
|
};
|
|
342
|
-
function
|
|
343
|
-
const
|
|
344
|
-
|
|
499
|
+
function insertNewLineAtCursor(editor2) {
|
|
500
|
+
const spaceAfter = document.createElement("div");
|
|
501
|
+
spaceAfter.textContent = "NeW line ";
|
|
502
|
+
editor2.appendChild(spaceAfter);
|
|
503
|
+
spaceAfter.focus();
|
|
345
504
|
}
|
|
346
|
-
function
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
505
|
+
function removeAllTables(hide = false, tables = document.getElementsByClassName("pom-table-editor-container")) {
|
|
506
|
+
tables = Array.from(tables);
|
|
507
|
+
tables.forEach((table) => {
|
|
508
|
+
if (hide) {
|
|
509
|
+
const display = table.style.display === "flex" ? "none" : "flex";
|
|
510
|
+
table.style.display = display;
|
|
351
511
|
return;
|
|
352
512
|
}
|
|
353
|
-
|
|
513
|
+
table.remove();
|
|
354
514
|
});
|
|
355
515
|
}
|
|
356
|
-
function
|
|
357
|
-
const
|
|
358
|
-
|
|
359
|
-
|
|
516
|
+
function scopeOutTheUserDataReutur(printableContent = document.getElementById("pom-texedito-container").innerHTML, elementsTohide = ".hideonprint") {
|
|
517
|
+
const printWindow2 = window.open("", "", "height=900,width=800");
|
|
518
|
+
printWindow2.document.write("<html><head><title>Print</title>");
|
|
519
|
+
printWindow2.document.write(`<style>
|
|
520
|
+
${elementsTohide} {
|
|
360
521
|
display: none;
|
|
361
522
|
}
|
|
362
523
|
|
|
363
524
|
@media print {
|
|
364
|
-
${
|
|
525
|
+
${elementsTohide} {
|
|
365
526
|
display: none;
|
|
366
527
|
}
|
|
367
528
|
}
|
|
368
529
|
.pom-4-imageContainer {
|
|
369
530
|
display: block !important;
|
|
370
531
|
}
|
|
371
|
-
</style>`)
|
|
372
|
-
|
|
373
|
-
|
|
532
|
+
</style>`);
|
|
533
|
+
printWindow2.document.write("</head><body>");
|
|
534
|
+
printWindow2.document.write(printableContent);
|
|
535
|
+
printWindow2.document.write("</body></html>");
|
|
536
|
+
printWindow2.document.close();
|
|
537
|
+
const removeinlineblock = printWindow2.document.querySelectorAll(".pom-4-imageContainer");
|
|
538
|
+
bringBackWildImages(removeinlineblock);
|
|
539
|
+
return printWindow2;
|
|
374
540
|
}
|
|
375
|
-
function
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
541
|
+
function bringBackWildImages(imageContainers = printWindow.document.querySelectorAll(".pom-4-imageContainer")) {
|
|
542
|
+
if (imageContainers) {
|
|
543
|
+
imageContainers.forEach(function(element) {
|
|
544
|
+
const img = element.querySelector("img");
|
|
545
|
+
const computedStyles = element.getAttribute("style");
|
|
546
|
+
if (computedStyles) {
|
|
547
|
+
img.style.cssText = computedStyles + "; position: initial";
|
|
548
|
+
} else {
|
|
549
|
+
img.style.position = "initial";
|
|
550
|
+
}
|
|
551
|
+
element.style.display = "block";
|
|
552
|
+
const leftPosition = parseInt(element.style.left, 10);
|
|
553
|
+
if (leftPosition > 793.7) {
|
|
554
|
+
element.style.left = "793.7px";
|
|
555
|
+
}
|
|
556
|
+
});
|
|
557
|
+
}
|
|
380
558
|
}
|
|
381
|
-
function
|
|
382
|
-
|
|
559
|
+
function exportUserHtmlForAtheUse(printableContent = document.getElementById("pom-texedito-container")) {
|
|
560
|
+
bringBackWildImages(printableContent.querySelectorAll(".pom-4-imageContainer"));
|
|
561
|
+
const returnData = printableContent.innerHTML;
|
|
562
|
+
return returnData;
|
|
383
563
|
}
|
|
384
|
-
function
|
|
385
|
-
const
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
564
|
+
function previewAndPrint(print = true, printableContent = document.getElementById("pom-texedito-container").innerHTML, elementsTohide = "hideonprint") {
|
|
565
|
+
const printableContent2 = styleCss() + printableContent;
|
|
566
|
+
const printWindow2 = scopeOutTheUserDataReutur(printableContent2, elementsTohide);
|
|
567
|
+
if (print) {
|
|
568
|
+
printWindow2.focus();
|
|
569
|
+
printWindow2.onload = function() {
|
|
570
|
+
printWindow2.print();
|
|
571
|
+
};
|
|
572
|
+
printWindow2.onafterprint = function() {
|
|
573
|
+
printWindow2.close();
|
|
574
|
+
};
|
|
575
|
+
}
|
|
391
576
|
}
|
|
392
|
-
function
|
|
393
|
-
if (!
|
|
577
|
+
function opensTyleOnElement(savedRange2, editor2, style, value, suffix = "", elementType = "span") {
|
|
578
|
+
if (!savedRange2) {
|
|
394
579
|
console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");
|
|
395
580
|
return;
|
|
396
581
|
}
|
|
397
|
-
const
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
const
|
|
403
|
-
|
|
404
|
-
const
|
|
405
|
-
|
|
582
|
+
const selection = window.getSelection();
|
|
583
|
+
selection.removeAllRanges();
|
|
584
|
+
selection.addRange(savedRange2);
|
|
585
|
+
const range = selection.getRangeAt(0);
|
|
586
|
+
const highlightedText = range.cloneContents();
|
|
587
|
+
const parentElement = range.commonAncestorContainer;
|
|
588
|
+
const parentNode = parentElement.nodeType === Node.TEXT_NODE ? parentElement.parentNode : parentElement;
|
|
589
|
+
const tagName = parentNode.tagName.toLowerCase();
|
|
590
|
+
let textToReplace;
|
|
591
|
+
const element = document.createElement(elementType);
|
|
592
|
+
if (parentNode && tagName === elementType) {
|
|
593
|
+
const existingStyle = parentNode.getAttribute("style") || null;
|
|
594
|
+
if (existingStyle) {
|
|
595
|
+
parentNode.style[style] = value;
|
|
596
|
+
return;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
element.style[style] = value;
|
|
600
|
+
element.appendChild(highlightedText);
|
|
601
|
+
textToReplace = element.innerHTML;
|
|
602
|
+
savedRange2.deleteContents();
|
|
603
|
+
element.innerHTML = textToReplace;
|
|
604
|
+
savedRange2.insertNode(element);
|
|
605
|
+
const newRange = document.createRange();
|
|
606
|
+
newRange.collapse(true);
|
|
607
|
+
selection.removeAllRanges();
|
|
608
|
+
selection.addRange(newRange);
|
|
609
|
+
savedRange2 = newRange.cloneRange();
|
|
610
|
+
}
|
|
611
|
+
function insertElementAtCursorHtags(savedRange2, elementType = "h6", placeholderText = "*Header text*", attributes = []) {
|
|
612
|
+
if (savedRange2) {
|
|
613
|
+
const selection = window.getSelection();
|
|
614
|
+
selection.removeAllRanges();
|
|
615
|
+
selection.addRange(savedRange2);
|
|
616
|
+
const range = selection.getRangeAt(0);
|
|
617
|
+
const getTheHighlighted = `${range.toString()}`.trim();
|
|
618
|
+
const highlightedText = range.cloneContents();
|
|
619
|
+
const parentElement = range.commonAncestorContainer;
|
|
620
|
+
const parentNode = parentElement.nodeType === Node.TEXT_NODE ? parentElement.parentNode : parentElement;
|
|
621
|
+
const tagName = `${parentNode.tagName}`.toLowerCase();
|
|
622
|
+
const FontSize = {
|
|
623
|
+
h1: { "font-family": "'Arial', sans-serif", "font-size": "3rem", "font-weight": "bold", "color": "#333", "letter-spacing": "2px" },
|
|
624
|
+
h2: { "font-family": "'Georgia', serif", "font-size": "2rem", "color": "#444", "font-weight": 600, "line-height": "1.4" },
|
|
625
|
+
h3: { "font-family": "'Roboto', sans-serif", "font-size": "1.75rem", "color": "#34495e", "font-weight": 500, "text-align": "center", "line-height": "1.4" },
|
|
626
|
+
h4: { "font-family": "'Roboto', sans-serif", "font-size": "1.25rem", "color": "#34495e", "font-weight": 400, "text-align": "center", "line-height": "1.4" },
|
|
627
|
+
h5: { "font-family": "'Roboto', sans-serif", "font-size": "1rem", "color": "#34495e", "font-weight": 400, "text-align": "center", "line-height": "1.4" },
|
|
628
|
+
h6: { "font-family": "'Roboto', sans-serif", "font-size": ".5rem", "color": "#34495e", "font-weight": 200, "text-align": "center", "line-height": "1.4" }
|
|
629
|
+
};
|
|
630
|
+
const styles = FontSize[elementType];
|
|
631
|
+
if (parentNode && tagName === "span") {
|
|
632
|
+
const existingStyle = parentNode.getAttribute("style") || null;
|
|
633
|
+
if (existingStyle) {
|
|
634
|
+
parentNode.removeAttribute("style");
|
|
635
|
+
} else {
|
|
636
|
+
freshElement(savedRange2, highlightedText, styles, placeholderText, getTheHighlighted);
|
|
637
|
+
}
|
|
638
|
+
} else {
|
|
639
|
+
freshElement(savedRange2, highlightedText, styles, placeholderText, getTheHighlighted);
|
|
640
|
+
}
|
|
641
|
+
selection.removeAllRanges();
|
|
642
|
+
} else {
|
|
643
|
+
console.log("No saved range available. Make sure the cursor position is saved before calling this function.");
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
function freshElement(savedRange2, highlightedText, styles, placeholderText, getTheHighlighted) {
|
|
647
|
+
let elm = document.createElement("span");
|
|
648
|
+
elm.contenteditable = false;
|
|
649
|
+
elm.appendChild(highlightedText);
|
|
650
|
+
Object.keys(styles).forEach((property) => {
|
|
651
|
+
elm.style[property] = styles[property];
|
|
652
|
+
});
|
|
653
|
+
elm.innerHTML = getTheHighlighted.length > 0 ? elm.innerHTML : placeholderText;
|
|
654
|
+
savedRange2.deleteContents();
|
|
655
|
+
savedRange2.insertNode(elm);
|
|
406
656
|
}
|
|
407
|
-
function
|
|
657
|
+
function styleCss() {
|
|
408
658
|
return `<style scoped>
|
|
409
659
|
.resizer-image-dropped > div[contenteditable="false"] {
|
|
410
660
|
display: none;
|
|
@@ -554,114 +804,212 @@ height: auto;
|
|
|
554
804
|
}
|
|
555
805
|
</style>`;
|
|
556
806
|
}
|
|
557
|
-
const
|
|
558
|
-
const
|
|
559
|
-
for (const [
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
807
|
+
const _export_sfc = (sfc, props) => {
|
|
808
|
+
const target = sfc.__vccOpts || sfc;
|
|
809
|
+
for (const [key, val] of props) {
|
|
810
|
+
target[key] = val;
|
|
811
|
+
}
|
|
812
|
+
return target;
|
|
813
|
+
};
|
|
814
|
+
const _withScopeId = (n) => (pushScopeId("data-v-9ee2fe0b"), n = n(), popScopeId(), n);
|
|
815
|
+
const _hoisted_1 = { class: "pom-main-element-container" };
|
|
816
|
+
const _hoisted_2 = {
|
|
817
|
+
style: { "width": "100%" },
|
|
564
818
|
id: "fullTextEditor"
|
|
565
|
-
}
|
|
819
|
+
};
|
|
820
|
+
const _hoisted_3 = {
|
|
566
821
|
class: "hideonprint bg-gray-100 items-center",
|
|
567
822
|
id: "toolbar"
|
|
568
|
-
}
|
|
823
|
+
};
|
|
824
|
+
const _hoisted_4 = { class: "flex flex space-x-2 items-center" };
|
|
825
|
+
const _hoisted_5 = { class: "items-center border-1 b g-gray-200 rounded cursor-pointer" };
|
|
826
|
+
const _hoisted_6 = { class: "relative inline-block text-left group z-10 border-0" };
|
|
827
|
+
const _hoisted_7 = /* @__PURE__ */ createStaticVNode('<div class="w-full flex rounded-md" data-v-9ee2fe0b><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-9ee2fe0b><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-9ee2fe0b><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-9ee2fe0b>View</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-9ee2fe0b><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-9ee2fe0b><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-9ee2fe0b></path></svg></div></div>', 1);
|
|
828
|
+
const _hoisted_8 = { 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" };
|
|
829
|
+
const _hoisted_9 = {
|
|
569
830
|
class: "",
|
|
570
831
|
role: "none"
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
832
|
+
};
|
|
833
|
+
const _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "print p x-2" }, null, -1));
|
|
834
|
+
const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { class: "px-3" }, "Print", -1));
|
|
835
|
+
const _hoisted_12 = [
|
|
836
|
+
_hoisted_10,
|
|
837
|
+
_hoisted_11
|
|
838
|
+
];
|
|
839
|
+
const _hoisted_13 = { class: "hover:bg-gray-200 elemeSet rounded cursor-pointer" };
|
|
840
|
+
const _hoisted_14 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "eye p x-2" }, null, -1));
|
|
841
|
+
const _hoisted_15 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
575
842
|
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
576
843
|
id: "fullscreenButton"
|
|
577
844
|
}, [
|
|
578
|
-
/* @__PURE__ */
|
|
579
|
-
/* @__PURE__ */
|
|
580
|
-
], -1))
|
|
845
|
+
/* @__PURE__ */ createElementVNode("i", { class: "expand-alt p x-2" }),
|
|
846
|
+
/* @__PURE__ */ createElementVNode("strong", { class: "px-3" }, "Fullscreen")
|
|
847
|
+
], -1));
|
|
848
|
+
const _hoisted_16 = { class: "items-center border-1 b g-gray-200 rounded cursor-pointer" };
|
|
849
|
+
const _hoisted_17 = { class: "relative inline-block text-left group z-10 border-0 w-ful l" };
|
|
850
|
+
const _hoisted_18 = /* @__PURE__ */ createStaticVNode('<div class="w-full flex rounded-md" data-v-9ee2fe0b><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-9ee2fe0b><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-9ee2fe0b><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-9ee2fe0b>Format</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-9ee2fe0b><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-9ee2fe0b><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-9ee2fe0b></path></svg></div></div>', 1);
|
|
851
|
+
const _hoisted_19 = { 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" };
|
|
852
|
+
const _hoisted_20 = {
|
|
581
853
|
class: "",
|
|
582
854
|
role: "none"
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
]
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
]
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
]
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
]
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
855
|
+
};
|
|
856
|
+
const _hoisted_21 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "bold p x-2" }, null, -1));
|
|
857
|
+
const _hoisted_22 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { class: "px-3" }, "Bold", -1));
|
|
858
|
+
const _hoisted_23 = [
|
|
859
|
+
_hoisted_21,
|
|
860
|
+
_hoisted_22
|
|
861
|
+
];
|
|
862
|
+
const _hoisted_24 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "italic p x-2" }, null, -1));
|
|
863
|
+
const _hoisted_25 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "px-3" }, "italic", -1));
|
|
864
|
+
const _hoisted_26 = [
|
|
865
|
+
_hoisted_24,
|
|
866
|
+
_hoisted_25
|
|
867
|
+
];
|
|
868
|
+
const _hoisted_27 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "underline p x-2" }, null, -1));
|
|
869
|
+
const _hoisted_28 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("u", { class: "px-3" }, "underline", -1));
|
|
870
|
+
const _hoisted_29 = [
|
|
871
|
+
_hoisted_27,
|
|
872
|
+
_hoisted_28
|
|
873
|
+
];
|
|
874
|
+
const _hoisted_30 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "strikethrough p x-2" }, null, -1));
|
|
875
|
+
const _hoisted_31 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("del", { class: "px-3" }, "strike", -1));
|
|
876
|
+
const _hoisted_32 = [
|
|
877
|
+
_hoisted_30,
|
|
878
|
+
_hoisted_31
|
|
879
|
+
];
|
|
880
|
+
const _hoisted_33 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "superscript p x-2" }, null, -1));
|
|
881
|
+
const _hoisted_34 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("sup", { class: "px-3" }, "superscript", -1));
|
|
882
|
+
const _hoisted_35 = [
|
|
883
|
+
_hoisted_33,
|
|
884
|
+
_hoisted_34
|
|
885
|
+
];
|
|
886
|
+
const _hoisted_36 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "subscript p x-2" }, null, -1));
|
|
887
|
+
const _hoisted_37 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("sub", { class: "px-3" }, "subscript", -1));
|
|
888
|
+
const _hoisted_38 = [
|
|
889
|
+
_hoisted_36,
|
|
890
|
+
_hoisted_37
|
|
891
|
+
];
|
|
892
|
+
const _hoisted_39 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "-list p x-2" }, null, -1));
|
|
893
|
+
const _hoisted_40 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("summary", { class: "px-3" }, "summary", -1));
|
|
894
|
+
const _hoisted_41 = [
|
|
895
|
+
_hoisted_39,
|
|
896
|
+
_hoisted_40
|
|
897
|
+
];
|
|
898
|
+
const _hoisted_42 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "list-ol p x-2" }, null, -1));
|
|
899
|
+
const _hoisted_43 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { style: { "padding-left": "0.75rem" } }, "list manual ", -1));
|
|
900
|
+
const _hoisted_44 = [
|
|
901
|
+
_hoisted_42,
|
|
902
|
+
_hoisted_43
|
|
903
|
+
];
|
|
904
|
+
const _hoisted_45 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "list-ul p x-2" }, null, -1));
|
|
905
|
+
const _hoisted_46 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { style: { "padding-left": "0.75rem" } }, "list manual ", -1));
|
|
906
|
+
const _hoisted_47 = [
|
|
907
|
+
_hoisted_45,
|
|
908
|
+
_hoisted_46
|
|
909
|
+
];
|
|
910
|
+
const _hoisted_48 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H1", -1));
|
|
911
|
+
const _hoisted_49 = [
|
|
912
|
+
_hoisted_48
|
|
913
|
+
];
|
|
914
|
+
const _hoisted_50 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H2", -1));
|
|
915
|
+
const _hoisted_51 = [
|
|
916
|
+
_hoisted_50
|
|
917
|
+
];
|
|
918
|
+
const _hoisted_52 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H3", -1));
|
|
919
|
+
const _hoisted_53 = [
|
|
920
|
+
_hoisted_52
|
|
921
|
+
];
|
|
922
|
+
const _hoisted_54 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H4", -1));
|
|
923
|
+
const _hoisted_55 = [
|
|
924
|
+
_hoisted_54
|
|
925
|
+
];
|
|
926
|
+
const _hoisted_56 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H5", -1));
|
|
927
|
+
const _hoisted_57 = [
|
|
928
|
+
_hoisted_56
|
|
929
|
+
];
|
|
930
|
+
const _hoisted_58 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H6", -1));
|
|
931
|
+
const _hoisted_59 = [
|
|
932
|
+
_hoisted_58
|
|
933
|
+
];
|
|
934
|
+
const _hoisted_60 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, "Capitalize", -1));
|
|
935
|
+
const _hoisted_61 = [
|
|
936
|
+
_hoisted_60
|
|
937
|
+
];
|
|
938
|
+
const _hoisted_62 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, "Lowercase", -1));
|
|
939
|
+
const _hoisted_63 = [
|
|
940
|
+
_hoisted_62
|
|
941
|
+
];
|
|
942
|
+
const _hoisted_64 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " Block", -1));
|
|
943
|
+
const _hoisted_65 = [
|
|
944
|
+
_hoisted_64
|
|
945
|
+
];
|
|
946
|
+
const _hoisted_66 = { class: "flex items-center border-1 b g-gray-200 rounded cursor-pointer" };
|
|
947
|
+
const _hoisted_67 = { class: "relative inline-block text-left group z-10 border-0 w-ful l" };
|
|
948
|
+
const _hoisted_68 = /* @__PURE__ */ createStaticVNode('<div class="w-full flex rounded-md" data-v-9ee2fe0b><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-9ee2fe0b><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-9ee2fe0b><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-9ee2fe0b>Insert</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-9ee2fe0b><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-9ee2fe0b><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-9ee2fe0b></path></svg></div></div>', 1);
|
|
949
|
+
const _hoisted_69 = { 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" };
|
|
950
|
+
const _hoisted_70 = {
|
|
629
951
|
class: "",
|
|
630
952
|
role: "none"
|
|
631
|
-
}
|
|
953
|
+
};
|
|
954
|
+
const _hoisted_71 = { class: "hover:bg-gray-200 elemeSet rounded cursor-pointer" };
|
|
955
|
+
const _hoisted_72 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "image p x-2" }, null, -1));
|
|
956
|
+
const _hoisted_73 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("label", {
|
|
632
957
|
for: "pom43546535435445Image",
|
|
633
958
|
class: "px-3"
|
|
634
|
-
}, "Image", -1))
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
]
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
]
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
959
|
+
}, "Image", -1));
|
|
960
|
+
const _hoisted_74 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "anchor p x-2" }, null, -1));
|
|
961
|
+
const _hoisted_75 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3" }, "Anchor", -1));
|
|
962
|
+
const _hoisted_76 = [
|
|
963
|
+
_hoisted_74,
|
|
964
|
+
_hoisted_75
|
|
965
|
+
];
|
|
966
|
+
const _hoisted_77 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "-calendar-alt 1x" }, null, -1));
|
|
967
|
+
const _hoisted_78 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3" }, "Date/time", -1));
|
|
968
|
+
const _hoisted_79 = [
|
|
969
|
+
_hoisted_77,
|
|
970
|
+
_hoisted_78
|
|
971
|
+
];
|
|
972
|
+
const _hoisted_80 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "text-center w-full py-1 bg-gray-100 font-bold" }, "Table", -1));
|
|
973
|
+
const _hoisted_81 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "trash-can p x-2" }, null, -1));
|
|
974
|
+
const _hoisted_82 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3" }, "Delete All Permanetlytable", -1));
|
|
975
|
+
const _hoisted_83 = [
|
|
976
|
+
_hoisted_81,
|
|
977
|
+
_hoisted_82
|
|
978
|
+
];
|
|
979
|
+
const _hoisted_84 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "eye-slash p x-2" }, null, -1));
|
|
980
|
+
const _hoisted_85 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3" }, "Hide/Show All ", -1));
|
|
981
|
+
const _hoisted_86 = [
|
|
982
|
+
_hoisted_84,
|
|
983
|
+
_hoisted_85
|
|
984
|
+
];
|
|
985
|
+
const _hoisted_87 = { class: "table-picker-wrapper" };
|
|
986
|
+
const _hoisted_88 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "table-picker-trigger" }, [
|
|
987
|
+
/* @__PURE__ */ createElementVNode("i", { class: "table p x-2" }),
|
|
988
|
+
/* @__PURE__ */ createElementVNode("strong", { class: "px-3" }, "Create")
|
|
989
|
+
], -1));
|
|
990
|
+
const _hoisted_89 = { class: "items-center border-1 b g-gray-200 rounded cursor-pointer" };
|
|
991
|
+
const _hoisted_90 = { class: "relative inline-block text-left group z-10 border-0" };
|
|
992
|
+
const _hoisted_91 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "w-full flex rounded-md showfontFamilyMenu" }, [
|
|
993
|
+
/* @__PURE__ */ createElementVNode("button", {
|
|
651
994
|
type: "button",
|
|
652
995
|
class: "inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",
|
|
653
996
|
"aria-expanded": "true",
|
|
654
997
|
"aria-haspopup": "true"
|
|
655
998
|
}, [
|
|
656
|
-
/* @__PURE__ */
|
|
657
|
-
/* @__PURE__ */
|
|
999
|
+
/* @__PURE__ */ createElementVNode("div", { class: "py-1 w borde r-1 w-full text-start in flex flex-wrap" }, [
|
|
1000
|
+
/* @__PURE__ */ createElementVNode("span", { class: "cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" }, "Fonts")
|
|
658
1001
|
])
|
|
659
1002
|
])
|
|
660
|
-
], -1))
|
|
1003
|
+
], -1));
|
|
1004
|
+
const _hoisted_92 = { class: "py-1 w borde r-1 w-full text-start in flex flex-wrap pom-editor-menu-fonts" };
|
|
1005
|
+
const _hoisted_93 = { class: "cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" };
|
|
1006
|
+
const _hoisted_94 = {
|
|
661
1007
|
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",
|
|
662
1008
|
"data-alloy-placement": "southeast",
|
|
663
|
-
style: { height: "25vh", overflow: "auto" }
|
|
664
|
-
}
|
|
1009
|
+
style: { "height": "25vh", "overflow": "auto" }
|
|
1010
|
+
};
|
|
1011
|
+
const _hoisted_95 = { class: "collection__group" };
|
|
1012
|
+
const _hoisted_96 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
665
1013
|
title: "Andale Mono",
|
|
666
1014
|
id: "menu-item_3745045357111728727990777",
|
|
667
1015
|
role: "menuitemcheckbox",
|
|
@@ -672,22 +1020,23 @@ const Ne = (o, l) => {
|
|
|
672
1020
|
"aria-checked": "false",
|
|
673
1021
|
"aria-selected": "true"
|
|
674
1022
|
}, [
|
|
675
|
-
/* @__PURE__ */
|
|
676
|
-
/* @__PURE__ */
|
|
1023
|
+
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-label" }, [
|
|
1024
|
+
/* @__PURE__ */ createElementVNode("div", { style: { "font-family": "andale mono, monospace" } }, "Andale Mono")
|
|
677
1025
|
]),
|
|
678
|
-
/* @__PURE__ */
|
|
679
|
-
/* @__PURE__ */
|
|
1026
|
+
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1027
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
680
1028
|
width: "24",
|
|
681
1029
|
height: "24",
|
|
682
1030
|
focusable: "false"
|
|
683
1031
|
}, [
|
|
684
|
-
/* @__PURE__ */
|
|
1032
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
685
1033
|
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",
|
|
686
1034
|
"fill-rule": "nonzero"
|
|
687
1035
|
})
|
|
688
1036
|
])
|
|
689
1037
|
])
|
|
690
|
-
], -1))
|
|
1038
|
+
], -1));
|
|
1039
|
+
const _hoisted_97 = {
|
|
691
1040
|
title: "Arial",
|
|
692
1041
|
id: "menu-item_8107570667141728727990778",
|
|
693
1042
|
role: "menuitemcheckbox",
|
|
@@ -697,18 +1046,21 @@ const Ne = (o, l) => {
|
|
|
697
1046
|
"aria-disabled": "false",
|
|
698
1047
|
"aria-checked": "false",
|
|
699
1048
|
"aria-selected": "false"
|
|
700
|
-
}
|
|
701
|
-
|
|
1049
|
+
};
|
|
1050
|
+
const _hoisted_98 = { class: "collection__item-label" };
|
|
1051
|
+
const _hoisted_99 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1052
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
702
1053
|
width: "24",
|
|
703
1054
|
height: "24",
|
|
704
1055
|
focusable: "false"
|
|
705
1056
|
}, [
|
|
706
|
-
/* @__PURE__ */
|
|
1057
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
707
1058
|
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",
|
|
708
1059
|
"fill-rule": "nonzero"
|
|
709
1060
|
})
|
|
710
1061
|
])
|
|
711
|
-
], -1))
|
|
1062
|
+
], -1));
|
|
1063
|
+
const _hoisted_100 = {
|
|
712
1064
|
title: "Arial Black",
|
|
713
1065
|
id: "menu-item_7337372467171728727990778",
|
|
714
1066
|
role: "menuitemcheckbox",
|
|
@@ -718,18 +1070,21 @@ const Ne = (o, l) => {
|
|
|
718
1070
|
"aria-disabled": "false",
|
|
719
1071
|
"aria-checked": "false",
|
|
720
1072
|
"aria-selected": "false"
|
|
721
|
-
}
|
|
722
|
-
|
|
1073
|
+
};
|
|
1074
|
+
const _hoisted_101 = { class: "collection__item-label" };
|
|
1075
|
+
const _hoisted_102 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1076
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
723
1077
|
width: "24",
|
|
724
1078
|
height: "24",
|
|
725
1079
|
focusable: "false"
|
|
726
1080
|
}, [
|
|
727
|
-
/* @__PURE__ */
|
|
1081
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
728
1082
|
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",
|
|
729
1083
|
"fill-rule": "nonzero"
|
|
730
1084
|
})
|
|
731
1085
|
])
|
|
732
|
-
], -1))
|
|
1086
|
+
], -1));
|
|
1087
|
+
const _hoisted_103 = {
|
|
733
1088
|
title: "Book Antiqua",
|
|
734
1089
|
id: "menu-item_8277641917201728727990778",
|
|
735
1090
|
role: "menuitemcheckbox",
|
|
@@ -739,18 +1094,21 @@ const Ne = (o, l) => {
|
|
|
739
1094
|
"aria-disabled": "false",
|
|
740
1095
|
"aria-checked": "false",
|
|
741
1096
|
"aria-selected": "false"
|
|
742
|
-
}
|
|
743
|
-
|
|
1097
|
+
};
|
|
1098
|
+
const _hoisted_104 = { class: "collection__item-label" };
|
|
1099
|
+
const _hoisted_105 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1100
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
744
1101
|
width: "24",
|
|
745
1102
|
height: "24",
|
|
746
1103
|
focusable: "false"
|
|
747
1104
|
}, [
|
|
748
|
-
/* @__PURE__ */
|
|
1105
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
749
1106
|
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",
|
|
750
1107
|
"fill-rule": "nonzero"
|
|
751
1108
|
})
|
|
752
1109
|
])
|
|
753
|
-
], -1))
|
|
1110
|
+
], -1));
|
|
1111
|
+
const _hoisted_106 = {
|
|
754
1112
|
title: "Comic Sans MS",
|
|
755
1113
|
id: "menu-item_2698863237231728727990778",
|
|
756
1114
|
role: "menuitemcheckbox",
|
|
@@ -760,18 +1118,21 @@ const Ne = (o, l) => {
|
|
|
760
1118
|
"aria-disabled": "false",
|
|
761
1119
|
"aria-checked": "false",
|
|
762
1120
|
"aria-selected": "false"
|
|
763
|
-
}
|
|
764
|
-
|
|
1121
|
+
};
|
|
1122
|
+
const _hoisted_107 = { class: "collection__item-label" };
|
|
1123
|
+
const _hoisted_108 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1124
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
765
1125
|
width: "24",
|
|
766
1126
|
height: "24",
|
|
767
1127
|
focusable: "false"
|
|
768
1128
|
}, [
|
|
769
|
-
/* @__PURE__ */
|
|
1129
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
770
1130
|
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",
|
|
771
1131
|
"fill-rule": "nonzero"
|
|
772
1132
|
})
|
|
773
1133
|
])
|
|
774
|
-
], -1))
|
|
1134
|
+
], -1));
|
|
1135
|
+
const _hoisted_109 = {
|
|
775
1136
|
title: "Courier New",
|
|
776
1137
|
id: "menu-item_2979203277261728727990778",
|
|
777
1138
|
role: "menuitemcheckbox",
|
|
@@ -781,18 +1142,21 @@ const Ne = (o, l) => {
|
|
|
781
1142
|
"aria-disabled": "false",
|
|
782
1143
|
"aria-checked": "false",
|
|
783
1144
|
"aria-selected": "false"
|
|
784
|
-
}
|
|
785
|
-
|
|
1145
|
+
};
|
|
1146
|
+
const _hoisted_110 = { class: "collection__item-label" };
|
|
1147
|
+
const _hoisted_111 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1148
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
786
1149
|
width: "24",
|
|
787
1150
|
height: "24",
|
|
788
1151
|
focusable: "false"
|
|
789
1152
|
}, [
|
|
790
|
-
/* @__PURE__ */
|
|
1153
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
791
1154
|
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",
|
|
792
1155
|
"fill-rule": "nonzero"
|
|
793
1156
|
})
|
|
794
1157
|
])
|
|
795
|
-
], -1))
|
|
1158
|
+
], -1));
|
|
1159
|
+
const _hoisted_112 = {
|
|
796
1160
|
title: "Georgia",
|
|
797
1161
|
id: "menu-item_8075939747291728727990778",
|
|
798
1162
|
role: "menuitemcheckbox",
|
|
@@ -802,18 +1166,21 @@ const Ne = (o, l) => {
|
|
|
802
1166
|
"aria-disabled": "false",
|
|
803
1167
|
"aria-checked": "false",
|
|
804
1168
|
"aria-selected": "false"
|
|
805
|
-
}
|
|
806
|
-
|
|
1169
|
+
};
|
|
1170
|
+
const _hoisted_113 = { class: "collection__item-label" };
|
|
1171
|
+
const _hoisted_114 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1172
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
807
1173
|
width: "24",
|
|
808
1174
|
height: "24",
|
|
809
1175
|
focusable: "false"
|
|
810
1176
|
}, [
|
|
811
|
-
/* @__PURE__ */
|
|
1177
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
812
1178
|
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",
|
|
813
1179
|
"fill-rule": "nonzero"
|
|
814
1180
|
})
|
|
815
1181
|
])
|
|
816
|
-
], -1))
|
|
1182
|
+
], -1));
|
|
1183
|
+
const _hoisted_115 = {
|
|
817
1184
|
title: "Helvetica",
|
|
818
1185
|
id: "menu-item_8872440547321728727990778",
|
|
819
1186
|
role: "menuitemcheckbox",
|
|
@@ -822,18 +1189,21 @@ const Ne = (o, l) => {
|
|
|
822
1189
|
class: "menu-nav__js collection__item collection__item--enabled",
|
|
823
1190
|
"aria-disabled": "false",
|
|
824
1191
|
"aria-checked": "true"
|
|
825
|
-
}
|
|
826
|
-
|
|
1192
|
+
};
|
|
1193
|
+
const _hoisted_116 = { class: "collection__item-label" };
|
|
1194
|
+
const _hoisted_117 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1195
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
827
1196
|
width: "24",
|
|
828
1197
|
height: "24",
|
|
829
1198
|
focusable: "false"
|
|
830
1199
|
}, [
|
|
831
|
-
/* @__PURE__ */
|
|
1200
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
832
1201
|
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",
|
|
833
1202
|
"fill-rule": "nonzero"
|
|
834
1203
|
})
|
|
835
1204
|
])
|
|
836
|
-
], -1))
|
|
1205
|
+
], -1));
|
|
1206
|
+
const _hoisted_118 = {
|
|
837
1207
|
title: "Impact",
|
|
838
1208
|
id: "menu-item_3423693847351728727990778",
|
|
839
1209
|
role: "menuitemcheckbox",
|
|
@@ -842,18 +1212,21 @@ const Ne = (o, l) => {
|
|
|
842
1212
|
class: "menu-nav__js collection__item",
|
|
843
1213
|
"aria-disabled": "false",
|
|
844
1214
|
"aria-checked": "false"
|
|
845
|
-
}
|
|
846
|
-
|
|
1215
|
+
};
|
|
1216
|
+
const _hoisted_119 = { class: "collection__item-label" };
|
|
1217
|
+
const _hoisted_120 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1218
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
847
1219
|
width: "24",
|
|
848
1220
|
height: "24",
|
|
849
1221
|
focusable: "false"
|
|
850
1222
|
}, [
|
|
851
|
-
/* @__PURE__ */
|
|
1223
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
852
1224
|
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",
|
|
853
1225
|
"fill-rule": "nonzero"
|
|
854
1226
|
})
|
|
855
1227
|
])
|
|
856
|
-
], -1))
|
|
1228
|
+
], -1));
|
|
1229
|
+
const _hoisted_121 = {
|
|
857
1230
|
title: "Symbol",
|
|
858
1231
|
id: "menu-item_7163579447381728727990779",
|
|
859
1232
|
role: "menuitemcheckbox",
|
|
@@ -862,18 +1235,21 @@ const Ne = (o, l) => {
|
|
|
862
1235
|
class: "menu-nav__js collection__item",
|
|
863
1236
|
"aria-disabled": "false",
|
|
864
1237
|
"aria-checked": "false"
|
|
865
|
-
}
|
|
866
|
-
|
|
1238
|
+
};
|
|
1239
|
+
const _hoisted_122 = { class: "collection__item-label" };
|
|
1240
|
+
const _hoisted_123 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1241
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
867
1242
|
width: "24",
|
|
868
1243
|
height: "24",
|
|
869
1244
|
focusable: "false"
|
|
870
1245
|
}, [
|
|
871
|
-
/* @__PURE__ */
|
|
1246
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
872
1247
|
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",
|
|
873
1248
|
"fill-rule": "nonzero"
|
|
874
1249
|
})
|
|
875
1250
|
])
|
|
876
|
-
], -1))
|
|
1251
|
+
], -1));
|
|
1252
|
+
const _hoisted_124 = {
|
|
877
1253
|
title: "Tahoma",
|
|
878
1254
|
id: "menu-item_4449979827411728727990779",
|
|
879
1255
|
role: "menuitemcheckbox",
|
|
@@ -882,18 +1258,21 @@ const Ne = (o, l) => {
|
|
|
882
1258
|
class: "menu-nav__js collection__item",
|
|
883
1259
|
"aria-disabled": "false",
|
|
884
1260
|
"aria-checked": "false"
|
|
885
|
-
}
|
|
886
|
-
|
|
1261
|
+
};
|
|
1262
|
+
const _hoisted_125 = { class: "collection__item-label" };
|
|
1263
|
+
const _hoisted_126 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1264
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
887
1265
|
width: "24",
|
|
888
1266
|
height: "24",
|
|
889
1267
|
focusable: "false"
|
|
890
1268
|
}, [
|
|
891
|
-
/* @__PURE__ */
|
|
1269
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
892
1270
|
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",
|
|
893
1271
|
"fill-rule": "nonzero"
|
|
894
1272
|
})
|
|
895
1273
|
])
|
|
896
|
-
], -1))
|
|
1274
|
+
], -1));
|
|
1275
|
+
const _hoisted_127 = {
|
|
897
1276
|
title: "Terminal",
|
|
898
1277
|
id: "menu-item_2511923047441728727990779",
|
|
899
1278
|
role: "menuitemcheckbox",
|
|
@@ -902,18 +1281,21 @@ const Ne = (o, l) => {
|
|
|
902
1281
|
class: "menu-nav__js collection__item",
|
|
903
1282
|
"aria-disabled": "false",
|
|
904
1283
|
"aria-checked": "false"
|
|
905
|
-
}
|
|
906
|
-
|
|
1284
|
+
};
|
|
1285
|
+
const _hoisted_128 = { class: "collection__item-label" };
|
|
1286
|
+
const _hoisted_129 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1287
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
907
1288
|
width: "24",
|
|
908
1289
|
height: "24",
|
|
909
1290
|
focusable: "false"
|
|
910
1291
|
}, [
|
|
911
|
-
/* @__PURE__ */
|
|
1292
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
912
1293
|
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",
|
|
913
1294
|
"fill-rule": "nonzero"
|
|
914
1295
|
})
|
|
915
1296
|
])
|
|
916
|
-
], -1))
|
|
1297
|
+
], -1));
|
|
1298
|
+
const _hoisted_130 = {
|
|
917
1299
|
title: "Times New Roman",
|
|
918
1300
|
id: "menu-item_7770771337471728727990779",
|
|
919
1301
|
role: "menuitemcheckbox",
|
|
@@ -922,18 +1304,21 @@ const Ne = (o, l) => {
|
|
|
922
1304
|
class: "menu-nav__js collection__item",
|
|
923
1305
|
"aria-disabled": "false",
|
|
924
1306
|
"aria-checked": "false"
|
|
925
|
-
}
|
|
926
|
-
|
|
1307
|
+
};
|
|
1308
|
+
const _hoisted_131 = { class: "collection__item-label" };
|
|
1309
|
+
const _hoisted_132 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1310
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
927
1311
|
width: "24",
|
|
928
1312
|
height: "24",
|
|
929
1313
|
focusable: "false"
|
|
930
1314
|
}, [
|
|
931
|
-
/* @__PURE__ */
|
|
1315
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
932
1316
|
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",
|
|
933
1317
|
"fill-rule": "nonzero"
|
|
934
1318
|
})
|
|
935
1319
|
])
|
|
936
|
-
], -1))
|
|
1320
|
+
], -1));
|
|
1321
|
+
const _hoisted_133 = {
|
|
937
1322
|
title: "Trebuchet MS",
|
|
938
1323
|
id: "menu-item_7916647947501728727990779",
|
|
939
1324
|
role: "menuitemcheckbox",
|
|
@@ -942,18 +1327,21 @@ const Ne = (o, l) => {
|
|
|
942
1327
|
class: "menu-nav__js collection__item",
|
|
943
1328
|
"aria-disabled": "false",
|
|
944
1329
|
"aria-checked": "false"
|
|
945
|
-
}
|
|
946
|
-
|
|
1330
|
+
};
|
|
1331
|
+
const _hoisted_134 = { class: "collection__item-label" };
|
|
1332
|
+
const _hoisted_135 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1333
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
947
1334
|
width: "24",
|
|
948
1335
|
height: "24",
|
|
949
1336
|
focusable: "false"
|
|
950
1337
|
}, [
|
|
951
|
-
/* @__PURE__ */
|
|
1338
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
952
1339
|
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",
|
|
953
1340
|
"fill-rule": "nonzero"
|
|
954
1341
|
})
|
|
955
1342
|
])
|
|
956
|
-
], -1))
|
|
1343
|
+
], -1));
|
|
1344
|
+
const _hoisted_136 = {
|
|
957
1345
|
title: "Verdana",
|
|
958
1346
|
id: "menu-item_1549891587531728727990779",
|
|
959
1347
|
role: "menuitemcheckbox",
|
|
@@ -962,18 +1350,21 @@ const Ne = (o, l) => {
|
|
|
962
1350
|
class: "menu-nav__js collection__item",
|
|
963
1351
|
"aria-disabled": "false",
|
|
964
1352
|
"aria-checked": "false"
|
|
965
|
-
}
|
|
966
|
-
|
|
1353
|
+
};
|
|
1354
|
+
const _hoisted_137 = { class: "collection__item-label" };
|
|
1355
|
+
const _hoisted_138 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1356
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
967
1357
|
width: "24",
|
|
968
1358
|
height: "24",
|
|
969
1359
|
focusable: "false"
|
|
970
1360
|
}, [
|
|
971
|
-
/* @__PURE__ */
|
|
1361
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
972
1362
|
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",
|
|
973
1363
|
"fill-rule": "nonzero"
|
|
974
1364
|
})
|
|
975
1365
|
])
|
|
976
|
-
], -1))
|
|
1366
|
+
], -1));
|
|
1367
|
+
const _hoisted_139 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
977
1368
|
title: "Webdings",
|
|
978
1369
|
id: "menu-item_955052057561728727990779",
|
|
979
1370
|
role: "menuitemcheckbox",
|
|
@@ -983,22 +1374,23 @@ const Ne = (o, l) => {
|
|
|
983
1374
|
"aria-disabled": "false",
|
|
984
1375
|
"aria-checked": "false"
|
|
985
1376
|
}, [
|
|
986
|
-
/* @__PURE__ */
|
|
987
|
-
/* @__PURE__ */
|
|
1377
|
+
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-label" }, [
|
|
1378
|
+
/* @__PURE__ */ createElementVNode("div", null, "Webdings")
|
|
988
1379
|
]),
|
|
989
|
-
/* @__PURE__ */
|
|
990
|
-
/* @__PURE__ */
|
|
1380
|
+
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1381
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
991
1382
|
width: "24",
|
|
992
1383
|
height: "24",
|
|
993
1384
|
focusable: "false"
|
|
994
1385
|
}, [
|
|
995
|
-
/* @__PURE__ */
|
|
1386
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
996
1387
|
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",
|
|
997
1388
|
"fill-rule": "nonzero"
|
|
998
1389
|
})
|
|
999
1390
|
])
|
|
1000
1391
|
])
|
|
1001
|
-
], -1))
|
|
1392
|
+
], -1));
|
|
1393
|
+
const _hoisted_140 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
1002
1394
|
title: "Wingdings",
|
|
1003
1395
|
id: "menu-item_93264657591728727990779",
|
|
1004
1396
|
role: "menuitemcheckbox",
|
|
@@ -1008,110 +1400,121 @@ const Ne = (o, l) => {
|
|
|
1008
1400
|
"aria-disabled": "false",
|
|
1009
1401
|
"aria-checked": "false"
|
|
1010
1402
|
}, [
|
|
1011
|
-
/* @__PURE__ */
|
|
1012
|
-
/* @__PURE__ */
|
|
1403
|
+
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-label" }, [
|
|
1404
|
+
/* @__PURE__ */ createElementVNode("div", null, "Wingdings")
|
|
1013
1405
|
]),
|
|
1014
|
-
/* @__PURE__ */
|
|
1015
|
-
/* @__PURE__ */
|
|
1406
|
+
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1407
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1016
1408
|
width: "24",
|
|
1017
1409
|
height: "24",
|
|
1018
1410
|
focusable: "false"
|
|
1019
1411
|
}, [
|
|
1020
|
-
/* @__PURE__ */
|
|
1412
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1021
1413
|
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",
|
|
1022
1414
|
"fill-rule": "nonzero"
|
|
1023
1415
|
})
|
|
1024
1416
|
])
|
|
1025
1417
|
])
|
|
1026
|
-
], -1))
|
|
1027
|
-
|
|
1418
|
+
], -1));
|
|
1419
|
+
const _hoisted_141 = { style: { "display": "flex", "justify-content": "space-between", "align-items": "center" } };
|
|
1420
|
+
const _hoisted_142 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, [
|
|
1421
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1028
1422
|
width: "24",
|
|
1029
1423
|
height: "24",
|
|
1030
1424
|
focusable: "false"
|
|
1031
1425
|
}, [
|
|
1032
|
-
/* @__PURE__ */
|
|
1426
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1033
1427
|
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",
|
|
1034
1428
|
"fill-rule": "evenodd"
|
|
1035
1429
|
})
|
|
1036
1430
|
])
|
|
1037
|
-
], -1))
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1431
|
+
], -1));
|
|
1432
|
+
const _hoisted_143 = [
|
|
1433
|
+
_hoisted_142
|
|
1434
|
+
];
|
|
1435
|
+
const _hoisted_144 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, [
|
|
1436
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1041
1437
|
width: "24",
|
|
1042
1438
|
height: "24",
|
|
1043
1439
|
focusable: "false"
|
|
1044
1440
|
}, [
|
|
1045
|
-
/* @__PURE__ */
|
|
1441
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1046
1442
|
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",
|
|
1047
1443
|
"fill-rule": "evenodd"
|
|
1048
1444
|
})
|
|
1049
1445
|
])
|
|
1050
|
-
], -1))
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1446
|
+
], -1));
|
|
1447
|
+
const _hoisted_145 = [
|
|
1448
|
+
_hoisted_144
|
|
1449
|
+
];
|
|
1450
|
+
const _hoisted_146 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "" }, [
|
|
1451
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1054
1452
|
width: "24",
|
|
1055
1453
|
height: "24",
|
|
1056
1454
|
focusable: "false"
|
|
1057
1455
|
}, [
|
|
1058
|
-
/* @__PURE__ */
|
|
1456
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1059
1457
|
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",
|
|
1060
1458
|
"fill-rule": "evenodd"
|
|
1061
1459
|
})
|
|
1062
1460
|
])
|
|
1063
|
-
], -1))
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1461
|
+
], -1));
|
|
1462
|
+
const _hoisted_147 = [
|
|
1463
|
+
_hoisted_146
|
|
1464
|
+
];
|
|
1465
|
+
const _hoisted_148 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "" }, [
|
|
1466
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1067
1467
|
width: "24",
|
|
1068
1468
|
height: "24",
|
|
1069
1469
|
focusable: "false"
|
|
1070
1470
|
}, [
|
|
1071
|
-
/* @__PURE__ */
|
|
1471
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1072
1472
|
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",
|
|
1073
1473
|
"fill-rule": "evenodd"
|
|
1074
1474
|
})
|
|
1075
1475
|
])
|
|
1076
|
-
], -1))
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1476
|
+
], -1));
|
|
1477
|
+
const _hoisted_149 = [
|
|
1478
|
+
_hoisted_148
|
|
1479
|
+
];
|
|
1480
|
+
const _hoisted_150 = { class: "relative inline-block text-left group z-10 border-0 w-ful l" };
|
|
1481
|
+
const _hoisted_151 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "w-full flex rounded-md" }, [
|
|
1482
|
+
/* @__PURE__ */ createElementVNode("button", {
|
|
1080
1483
|
type: "button",
|
|
1081
1484
|
class: "inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",
|
|
1082
1485
|
id: "menu-button",
|
|
1083
1486
|
"aria-expanded": "true",
|
|
1084
1487
|
"aria-haspopup": "true"
|
|
1085
1488
|
}, [
|
|
1086
|
-
/* @__PURE__ */
|
|
1489
|
+
/* @__PURE__ */ createElementVNode("div", {
|
|
1087
1490
|
class: "split-button flex items-center",
|
|
1088
1491
|
style: { "user-select": "none" }
|
|
1089
1492
|
}, [
|
|
1090
|
-
/* @__PURE__ */
|
|
1091
|
-
/* @__PURE__ */
|
|
1092
|
-
/* @__PURE__ */
|
|
1493
|
+
/* @__PURE__ */ createElementVNode("span", null, [
|
|
1494
|
+
/* @__PURE__ */ createElementVNode("span", { c: "" }, [
|
|
1495
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1093
1496
|
width: "24",
|
|
1094
1497
|
height: "24",
|
|
1095
1498
|
focusable: "false"
|
|
1096
1499
|
}, [
|
|
1097
|
-
/* @__PURE__ */
|
|
1500
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1098
1501
|
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",
|
|
1099
1502
|
"fill-rule": "evenodd"
|
|
1100
1503
|
})
|
|
1101
1504
|
])
|
|
1102
1505
|
])
|
|
1103
1506
|
]),
|
|
1104
|
-
/* @__PURE__ */
|
|
1507
|
+
/* @__PURE__ */ createElementVNode("span", {
|
|
1105
1508
|
role: "presentation",
|
|
1106
1509
|
class: "tbtn split-button__chevron",
|
|
1107
1510
|
"aria-disabled": "false"
|
|
1108
1511
|
}, [
|
|
1109
|
-
/* @__PURE__ */
|
|
1512
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1110
1513
|
width: "10",
|
|
1111
1514
|
height: "10",
|
|
1112
1515
|
focusable: "false"
|
|
1113
1516
|
}, [
|
|
1114
|
-
/* @__PURE__ */
|
|
1517
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1115
1518
|
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",
|
|
1116
1519
|
"fill-rule": "nonzero"
|
|
1117
1520
|
})
|
|
@@ -1119,92 +1522,99 @@ const Ne = (o, l) => {
|
|
|
1119
1522
|
])
|
|
1120
1523
|
])
|
|
1121
1524
|
])
|
|
1122
|
-
], -1))
|
|
1525
|
+
], -1));
|
|
1526
|
+
const _hoisted_152 = { 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" };
|
|
1527
|
+
const _hoisted_153 = {
|
|
1123
1528
|
class: "flex",
|
|
1124
1529
|
role: "none"
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1530
|
+
};
|
|
1531
|
+
const _hoisted_154 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, [
|
|
1532
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1127
1533
|
width: "48",
|
|
1128
1534
|
height: "48",
|
|
1129
1535
|
focusable: "false"
|
|
1130
1536
|
}, [
|
|
1131
|
-
/* @__PURE__ */
|
|
1132
|
-
/* @__PURE__ */
|
|
1537
|
+
/* @__PURE__ */ createElementVNode("g", { "fill-rule": "evenodd" }, [
|
|
1538
|
+
/* @__PURE__ */ createElementVNode("circle", {
|
|
1133
1539
|
cx: "11",
|
|
1134
1540
|
cy: "14",
|
|
1135
1541
|
r: "3"
|
|
1136
1542
|
}),
|
|
1137
|
-
/* @__PURE__ */
|
|
1543
|
+
/* @__PURE__ */ createElementVNode("circle", {
|
|
1138
1544
|
cx: "11",
|
|
1139
1545
|
cy: "24",
|
|
1140
1546
|
r: "3"
|
|
1141
1547
|
}),
|
|
1142
|
-
/* @__PURE__ */
|
|
1548
|
+
/* @__PURE__ */ createElementVNode("circle", {
|
|
1143
1549
|
cx: "11",
|
|
1144
1550
|
cy: "34",
|
|
1145
1551
|
r: "3"
|
|
1146
1552
|
}),
|
|
1147
|
-
/* @__PURE__ */
|
|
1553
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1148
1554
|
opacity: ".2",
|
|
1149
1555
|
d: "M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"
|
|
1150
1556
|
})
|
|
1151
1557
|
])
|
|
1152
1558
|
])
|
|
1153
|
-
], -1))
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1559
|
+
], -1));
|
|
1560
|
+
const _hoisted_155 = [
|
|
1561
|
+
_hoisted_154
|
|
1562
|
+
];
|
|
1563
|
+
const _hoisted_156 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, [
|
|
1564
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1157
1565
|
width: "48",
|
|
1158
1566
|
height: "48",
|
|
1159
1567
|
focusable: "false"
|
|
1160
1568
|
}, [
|
|
1161
|
-
/* @__PURE__ */
|
|
1162
|
-
/* @__PURE__ */
|
|
1569
|
+
/* @__PURE__ */ createElementVNode("g", { "fill-rule": "evenodd" }, [
|
|
1570
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1163
1571
|
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",
|
|
1164
1572
|
"fill-rule": "nonzero"
|
|
1165
1573
|
}),
|
|
1166
|
-
/* @__PURE__ */
|
|
1574
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1167
1575
|
opacity: ".2",
|
|
1168
1576
|
d: "M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"
|
|
1169
1577
|
})
|
|
1170
1578
|
])
|
|
1171
1579
|
])
|
|
1172
|
-
], -1))
|
|
1173
|
-
|
|
1174
|
-
|
|
1580
|
+
], -1));
|
|
1581
|
+
const _hoisted_157 = [
|
|
1582
|
+
_hoisted_156
|
|
1583
|
+
];
|
|
1584
|
+
const _hoisted_158 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
1175
1585
|
width: "48",
|
|
1176
1586
|
height: "48",
|
|
1177
1587
|
viewBox: "0 0 48 48",
|
|
1178
1588
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1179
1589
|
focusable: "false"
|
|
1180
1590
|
}, [
|
|
1181
|
-
/* @__PURE__ */
|
|
1591
|
+
/* @__PURE__ */ createElementVNode("rect", {
|
|
1182
1592
|
width: "48",
|
|
1183
1593
|
height: "48",
|
|
1184
1594
|
fill: "none"
|
|
1185
1595
|
}),
|
|
1186
|
-
/* @__PURE__ */
|
|
1596
|
+
/* @__PURE__ */ createElementVNode("text", {
|
|
1187
1597
|
x: "12",
|
|
1188
1598
|
y: "14",
|
|
1189
1599
|
"font-family": "Arial",
|
|
1190
1600
|
"font-size": "14",
|
|
1191
1601
|
fill: "black"
|
|
1192
1602
|
}, "1"),
|
|
1193
|
-
/* @__PURE__ */
|
|
1603
|
+
/* @__PURE__ */ createElementVNode("text", {
|
|
1194
1604
|
x: "12",
|
|
1195
1605
|
y: "24",
|
|
1196
1606
|
"font-family": "Arial",
|
|
1197
1607
|
"font-size": "14",
|
|
1198
1608
|
fill: "black"
|
|
1199
1609
|
}, "2"),
|
|
1200
|
-
/* @__PURE__ */
|
|
1610
|
+
/* @__PURE__ */ createElementVNode("text", {
|
|
1201
1611
|
x: "12",
|
|
1202
1612
|
y: "34",
|
|
1203
1613
|
"font-family": "Arial",
|
|
1204
1614
|
"font-size": "14",
|
|
1205
1615
|
fill: "black"
|
|
1206
1616
|
}, "3"),
|
|
1207
|
-
/* @__PURE__ */
|
|
1617
|
+
/* @__PURE__ */ createElementVNode("rect", {
|
|
1208
1618
|
x: "24",
|
|
1209
1619
|
y: "12",
|
|
1210
1620
|
width: "20",
|
|
@@ -1212,7 +1622,7 @@ const Ne = (o, l) => {
|
|
|
1212
1622
|
fill: "black",
|
|
1213
1623
|
opacity: ".2"
|
|
1214
1624
|
}),
|
|
1215
|
-
/* @__PURE__ */
|
|
1625
|
+
/* @__PURE__ */ createElementVNode("rect", {
|
|
1216
1626
|
x: "24",
|
|
1217
1627
|
y: "22",
|
|
1218
1628
|
width: "20",
|
|
@@ -1220,7 +1630,7 @@ const Ne = (o, l) => {
|
|
|
1220
1630
|
fill: "black",
|
|
1221
1631
|
opacity: ".2"
|
|
1222
1632
|
}),
|
|
1223
|
-
/* @__PURE__ */
|
|
1633
|
+
/* @__PURE__ */ createElementVNode("rect", {
|
|
1224
1634
|
x: "24",
|
|
1225
1635
|
y: "32",
|
|
1226
1636
|
width: "20",
|
|
@@ -1228,38 +1638,40 @@ const Ne = (o, l) => {
|
|
|
1228
1638
|
fill: "black",
|
|
1229
1639
|
opacity: ".2"
|
|
1230
1640
|
})
|
|
1231
|
-
], -1))
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1641
|
+
], -1));
|
|
1642
|
+
const _hoisted_159 = [
|
|
1643
|
+
_hoisted_158
|
|
1644
|
+
];
|
|
1645
|
+
const _hoisted_160 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "text-sm" }, [
|
|
1646
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1235
1647
|
width: "48",
|
|
1236
1648
|
height: "48",
|
|
1237
1649
|
viewBox: "0 0 48 48",
|
|
1238
1650
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1239
1651
|
focusable: "false"
|
|
1240
1652
|
}, [
|
|
1241
|
-
/* @__PURE__ */
|
|
1653
|
+
/* @__PURE__ */ createElementVNode("text", {
|
|
1242
1654
|
x: "12",
|
|
1243
1655
|
y: "14",
|
|
1244
1656
|
"font-family": "Arial",
|
|
1245
1657
|
"font-size": "14",
|
|
1246
1658
|
fill: "black"
|
|
1247
1659
|
}, "A"),
|
|
1248
|
-
/* @__PURE__ */
|
|
1660
|
+
/* @__PURE__ */ createElementVNode("text", {
|
|
1249
1661
|
x: "12",
|
|
1250
1662
|
y: "24",
|
|
1251
1663
|
"font-family": "Arial",
|
|
1252
1664
|
"font-size": "14",
|
|
1253
1665
|
fill: "black"
|
|
1254
1666
|
}, "B"),
|
|
1255
|
-
/* @__PURE__ */
|
|
1667
|
+
/* @__PURE__ */ createElementVNode("text", {
|
|
1256
1668
|
x: "12",
|
|
1257
1669
|
y: "34",
|
|
1258
1670
|
"font-family": "Arial",
|
|
1259
1671
|
"font-size": "14",
|
|
1260
1672
|
fill: "black"
|
|
1261
1673
|
}, "C"),
|
|
1262
|
-
/* @__PURE__ */
|
|
1674
|
+
/* @__PURE__ */ createElementVNode("rect", {
|
|
1263
1675
|
x: "18",
|
|
1264
1676
|
y: "12",
|
|
1265
1677
|
width: "22",
|
|
@@ -1267,12 +1679,12 @@ const Ne = (o, l) => {
|
|
|
1267
1679
|
fill: "black",
|
|
1268
1680
|
opacity: ".2"
|
|
1269
1681
|
}),
|
|
1270
|
-
/* @__PURE__ */
|
|
1682
|
+
/* @__PURE__ */ createElementVNode("rect", {
|
|
1271
1683
|
width: "48",
|
|
1272
1684
|
height: "48",
|
|
1273
1685
|
fill: "none"
|
|
1274
1686
|
}),
|
|
1275
|
-
/* @__PURE__ */
|
|
1687
|
+
/* @__PURE__ */ createElementVNode("rect", {
|
|
1276
1688
|
x: "18",
|
|
1277
1689
|
y: "22",
|
|
1278
1690
|
width: "22",
|
|
@@ -1280,7 +1692,7 @@ const Ne = (o, l) => {
|
|
|
1280
1692
|
fill: "black",
|
|
1281
1693
|
opacity: ".2"
|
|
1282
1694
|
}),
|
|
1283
|
-
/* @__PURE__ */
|
|
1695
|
+
/* @__PURE__ */ createElementVNode("rect", {
|
|
1284
1696
|
x: "18",
|
|
1285
1697
|
y: "32",
|
|
1286
1698
|
width: "22",
|
|
@@ -1289,18 +1701,28 @@ const Ne = (o, l) => {
|
|
|
1289
1701
|
opacity: ".2"
|
|
1290
1702
|
})
|
|
1291
1703
|
])
|
|
1292
|
-
], -1))
|
|
1293
|
-
|
|
1294
|
-
|
|
1704
|
+
], -1));
|
|
1705
|
+
const _hoisted_161 = [
|
|
1706
|
+
_hoisted_160
|
|
1707
|
+
];
|
|
1708
|
+
const _hoisted_162 = {
|
|
1295
1709
|
class: "flex items-center gap-1 border-t-2 border-b-2 border-gray-300 bg-white w-full px-1",
|
|
1296
|
-
style: { height: "37px" }
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
]
|
|
1302
|
-
|
|
1303
|
-
|
|
1710
|
+
style: { "height": "37px" }
|
|
1711
|
+
};
|
|
1712
|
+
const _hoisted_163 = /* @__PURE__ */ createStaticVNode('<i class="bold p x-2" data-v-9ee2fe0b><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-9ee2fe0b><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-9ee2fe0b></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-9ee2fe0b></g><g id="SVGRepo_iconCarrier" data-v-9ee2fe0b><g id="text-bold" transform="translate(-4 -2)" data-v-9ee2fe0b><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-9ee2fe0b></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-9ee2fe0b></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-9ee2fe0b></path></g></g></svg></i>', 1);
|
|
1713
|
+
const _hoisted_164 = [
|
|
1714
|
+
_hoisted_163
|
|
1715
|
+
];
|
|
1716
|
+
const _hoisted_165 = /* @__PURE__ */ createStaticVNode('<i class="italic p x-2" data-v-9ee2fe0b><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-9ee2fe0b><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-9ee2fe0b></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-9ee2fe0b></g><g id="SVGRepo_iconCarrier" data-v-9ee2fe0b><g id="layer1" data-v-9ee2fe0b><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-9ee2fe0b></path></g></g></svg></i>', 1);
|
|
1717
|
+
const _hoisted_166 = [
|
|
1718
|
+
_hoisted_165
|
|
1719
|
+
];
|
|
1720
|
+
const _hoisted_167 = /* @__PURE__ */ createStaticVNode('<i class="underline p x-2" data-v-9ee2fe0b><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-9ee2fe0b><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-9ee2fe0b></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-9ee2fe0b></g><g id="SVGRepo_iconCarrier" data-v-9ee2fe0b><g data-v-9ee2fe0b><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-9ee2fe0b></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-9ee2fe0b></path></g></g></svg></i>', 1);
|
|
1721
|
+
const _hoisted_168 = [
|
|
1722
|
+
_hoisted_167
|
|
1723
|
+
];
|
|
1724
|
+
const _hoisted_169 = { class: "strikethrough p x-2" };
|
|
1725
|
+
const _hoisted_170 = {
|
|
1304
1726
|
fill: "#000000",
|
|
1305
1727
|
width: "13px",
|
|
1306
1728
|
height: "13px",
|
|
@@ -1311,28 +1733,31 @@ const Ne = (o, l) => {
|
|
|
1311
1733
|
"xml:space": "preserve",
|
|
1312
1734
|
"xmlns:serif": "http://www.serif.com/",
|
|
1313
1735
|
style: { "fill-rule": "evenodd", "clip-rule": "evenodd", "stroke-linejoin": "round", "stroke-miterlimit": "2" }
|
|
1314
|
-
}
|
|
1736
|
+
};
|
|
1737
|
+
const _hoisted_171 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", {
|
|
1315
1738
|
id: "SVGRepo_bgCarrier",
|
|
1316
1739
|
"stroke-width": "0"
|
|
1317
|
-
}, null, -1))
|
|
1740
|
+
}, null, -1));
|
|
1741
|
+
const _hoisted_172 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", {
|
|
1318
1742
|
id: "SVGRepo_tracerCarrier",
|
|
1319
1743
|
"stroke-linecap": "round",
|
|
1320
1744
|
"stroke-linejoin": "round"
|
|
1321
|
-
}, null, -1))
|
|
1322
|
-
|
|
1745
|
+
}, null, -1));
|
|
1746
|
+
const _hoisted_173 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", { id: "SVGRepo_iconCarrier" }, [
|
|
1747
|
+
/* @__PURE__ */ createElementVNode("rect", {
|
|
1323
1748
|
id: "Icons",
|
|
1324
1749
|
x: "-192",
|
|
1325
1750
|
y: "0",
|
|
1326
1751
|
width: "1280",
|
|
1327
1752
|
height: "800",
|
|
1328
|
-
style: { fill: "none" }
|
|
1753
|
+
style: { "fill": "none" }
|
|
1329
1754
|
}),
|
|
1330
|
-
/* @__PURE__ */
|
|
1755
|
+
/* @__PURE__ */ createElementVNode("g", {
|
|
1331
1756
|
id: "Icons1",
|
|
1332
1757
|
"serif:id": "Icons"
|
|
1333
1758
|
}, [
|
|
1334
|
-
/* @__PURE__ */
|
|
1335
|
-
/* @__PURE__ */
|
|
1759
|
+
/* @__PURE__ */ createElementVNode("g", { id: "Strike" }, [
|
|
1760
|
+
/* @__PURE__ */ createElementVNode("rect", {
|
|
1336
1761
|
id: "Strike-line",
|
|
1337
1762
|
"serif:id": "Strike line",
|
|
1338
1763
|
x: "10.01",
|
|
@@ -1340,173 +1765,208 @@ const Ne = (o, l) => {
|
|
|
1340
1765
|
width: "44.15",
|
|
1341
1766
|
height: "2.988"
|
|
1342
1767
|
}),
|
|
1343
|
-
/* @__PURE__ */
|
|
1768
|
+
/* @__PURE__ */ createElementVNode("rect", {
|
|
1344
1769
|
x: "10.01",
|
|
1345
1770
|
y: "30.17",
|
|
1346
1771
|
width: "44.15",
|
|
1347
1772
|
height: "2.988"
|
|
1348
1773
|
}),
|
|
1349
|
-
/* @__PURE__ */
|
|
1774
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1350
1775
|
id: "Strike1",
|
|
1351
1776
|
"serif:id": "Strike",
|
|
1352
1777
|
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",
|
|
1353
1778
|
style: { "fill-rule": "nonzero" }
|
|
1354
1779
|
})
|
|
1355
1780
|
]),
|
|
1356
|
-
/* @__PURE__ */
|
|
1357
|
-
/* @__PURE__ */
|
|
1358
|
-
/* @__PURE__ */
|
|
1359
|
-
/* @__PURE__ */
|
|
1360
|
-
/* @__PURE__ */
|
|
1361
|
-
/* @__PURE__ */
|
|
1362
|
-
/* @__PURE__ */
|
|
1363
|
-
/* @__PURE__ */
|
|
1364
|
-
/* @__PURE__ */
|
|
1365
|
-
/* @__PURE__ */
|
|
1366
|
-
/* @__PURE__ */
|
|
1367
|
-
/* @__PURE__ */
|
|
1368
|
-
/* @__PURE__ */
|
|
1369
|
-
/* @__PURE__ */
|
|
1781
|
+
/* @__PURE__ */ createElementVNode("g", { id: "H1" }),
|
|
1782
|
+
/* @__PURE__ */ createElementVNode("g", { id: "H2" }),
|
|
1783
|
+
/* @__PURE__ */ createElementVNode("g", { id: "H3" }),
|
|
1784
|
+
/* @__PURE__ */ createElementVNode("g", { id: "list-ul" }),
|
|
1785
|
+
/* @__PURE__ */ createElementVNode("g", { id: "hamburger-1" }),
|
|
1786
|
+
/* @__PURE__ */ createElementVNode("g", { id: "hamburger-2" }),
|
|
1787
|
+
/* @__PURE__ */ createElementVNode("g", { id: "list-ol" }),
|
|
1788
|
+
/* @__PURE__ */ createElementVNode("g", { id: "list-task" }),
|
|
1789
|
+
/* @__PURE__ */ createElementVNode("g", { id: "trash" }),
|
|
1790
|
+
/* @__PURE__ */ createElementVNode("g", { id: "vertical-menu" }),
|
|
1791
|
+
/* @__PURE__ */ createElementVNode("g", { id: "horizontal-menu" }),
|
|
1792
|
+
/* @__PURE__ */ createElementVNode("g", { id: "sidebar-2" }),
|
|
1793
|
+
/* @__PURE__ */ createElementVNode("g", { id: "Pen" }),
|
|
1794
|
+
/* @__PURE__ */ createElementVNode("g", {
|
|
1370
1795
|
id: "Pen1",
|
|
1371
1796
|
"serif:id": "Pen"
|
|
1372
1797
|
}),
|
|
1373
|
-
/* @__PURE__ */
|
|
1374
|
-
/* @__PURE__ */
|
|
1375
|
-
/* @__PURE__ */
|
|
1376
|
-
/* @__PURE__ */
|
|
1377
|
-
/* @__PURE__ */
|
|
1378
|
-
/* @__PURE__ */
|
|
1379
|
-
/* @__PURE__ */
|
|
1380
|
-
/* @__PURE__ */
|
|
1381
|
-
/* @__PURE__ */
|
|
1382
|
-
/* @__PURE__ */
|
|
1383
|
-
/* @__PURE__ */
|
|
1384
|
-
/* @__PURE__ */
|
|
1385
|
-
/* @__PURE__ */
|
|
1386
|
-
/* @__PURE__ */
|
|
1387
|
-
/* @__PURE__ */
|
|
1388
|
-
/* @__PURE__ */
|
|
1798
|
+
/* @__PURE__ */ createElementVNode("g", { id: "clock" }),
|
|
1799
|
+
/* @__PURE__ */ createElementVNode("g", { id: "external-link" }),
|
|
1800
|
+
/* @__PURE__ */ createElementVNode("g", { id: "hr" }),
|
|
1801
|
+
/* @__PURE__ */ createElementVNode("g", { id: "info" }),
|
|
1802
|
+
/* @__PURE__ */ createElementVNode("g", { id: "warning" }),
|
|
1803
|
+
/* @__PURE__ */ createElementVNode("g", { id: "plus-circle" }),
|
|
1804
|
+
/* @__PURE__ */ createElementVNode("g", { id: "minus-circle" }),
|
|
1805
|
+
/* @__PURE__ */ createElementVNode("g", { id: "vue" }),
|
|
1806
|
+
/* @__PURE__ */ createElementVNode("g", { id: "cog" }),
|
|
1807
|
+
/* @__PURE__ */ createElementVNode("g", { id: "logo" }),
|
|
1808
|
+
/* @__PURE__ */ createElementVNode("g", { id: "radio-check" }),
|
|
1809
|
+
/* @__PURE__ */ createElementVNode("g", { id: "eye-slash" }),
|
|
1810
|
+
/* @__PURE__ */ createElementVNode("g", { id: "eye" }),
|
|
1811
|
+
/* @__PURE__ */ createElementVNode("g", { id: "toggle-off" }),
|
|
1812
|
+
/* @__PURE__ */ createElementVNode("g", { id: "shredder" }),
|
|
1813
|
+
/* @__PURE__ */ createElementVNode("g", {
|
|
1389
1814
|
id: "spinner--loading--dots-",
|
|
1390
1815
|
"serif:id": "spinner [loading, dots]"
|
|
1391
1816
|
}),
|
|
1392
|
-
/* @__PURE__ */
|
|
1393
|
-
/* @__PURE__ */
|
|
1394
|
-
/* @__PURE__ */
|
|
1395
|
-
/* @__PURE__ */
|
|
1396
|
-
/* @__PURE__ */
|
|
1397
|
-
/* @__PURE__ */
|
|
1398
|
-
/* @__PURE__ */
|
|
1399
|
-
/* @__PURE__ */
|
|
1817
|
+
/* @__PURE__ */ createElementVNode("g", { id: "react" }),
|
|
1818
|
+
/* @__PURE__ */ createElementVNode("g", { id: "check-selected" }),
|
|
1819
|
+
/* @__PURE__ */ createElementVNode("g", { id: "turn-off" }),
|
|
1820
|
+
/* @__PURE__ */ createElementVNode("g", { id: "code-block" }),
|
|
1821
|
+
/* @__PURE__ */ createElementVNode("g", { id: "user" }),
|
|
1822
|
+
/* @__PURE__ */ createElementVNode("g", { id: "coffee-bean" }),
|
|
1823
|
+
/* @__PURE__ */ createElementVNode("g", { id: "coffee-beans" }, [
|
|
1824
|
+
/* @__PURE__ */ createElementVNode("g", {
|
|
1400
1825
|
id: "coffee-bean1",
|
|
1401
1826
|
"serif:id": "coffee-bean"
|
|
1402
1827
|
})
|
|
1403
1828
|
]),
|
|
1404
|
-
/* @__PURE__ */
|
|
1405
|
-
/* @__PURE__ */
|
|
1406
|
-
/* @__PURE__ */
|
|
1829
|
+
/* @__PURE__ */ createElementVNode("g", { id: "coffee-bean-filled" }),
|
|
1830
|
+
/* @__PURE__ */ createElementVNode("g", { id: "coffee-beans-filled" }, [
|
|
1831
|
+
/* @__PURE__ */ createElementVNode("g", {
|
|
1407
1832
|
id: "coffee-bean2",
|
|
1408
1833
|
"serif:id": "coffee-bean"
|
|
1409
1834
|
})
|
|
1410
1835
|
]),
|
|
1411
|
-
/* @__PURE__ */
|
|
1412
|
-
/* @__PURE__ */
|
|
1413
|
-
/* @__PURE__ */
|
|
1414
|
-
/* @__PURE__ */
|
|
1836
|
+
/* @__PURE__ */ createElementVNode("g", { id: "clipboard" }),
|
|
1837
|
+
/* @__PURE__ */ createElementVNode("g", { id: "clipboard-paste" }),
|
|
1838
|
+
/* @__PURE__ */ createElementVNode("g", { id: "clipboard-copy" }),
|
|
1839
|
+
/* @__PURE__ */ createElementVNode("g", { id: "Layer1" })
|
|
1415
1840
|
])
|
|
1416
|
-
], -1))
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1841
|
+
], -1));
|
|
1842
|
+
const _hoisted_174 = [
|
|
1843
|
+
_hoisted_171,
|
|
1844
|
+
_hoisted_172,
|
|
1845
|
+
_hoisted_173
|
|
1846
|
+
];
|
|
1847
|
+
const _hoisted_175 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "superscript p x-2" }, "sup", -1));
|
|
1848
|
+
const _hoisted_176 = [
|
|
1849
|
+
_hoisted_175
|
|
1850
|
+
];
|
|
1851
|
+
const _hoisted_177 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "subscript p x-2" }, "sub", -1));
|
|
1852
|
+
const _hoisted_178 = [
|
|
1853
|
+
_hoisted_177
|
|
1854
|
+
];
|
|
1855
|
+
const _hoisted_179 = /* @__PURE__ */ createStaticVNode('<i class="-code p x-2" data-v-9ee2fe0b><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-9ee2fe0b><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-9ee2fe0b></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-9ee2fe0b></g><g id="SVGRepo_iconCarrier" data-v-9ee2fe0b><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-9ee2fe0b></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-9ee2fe0b></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-9ee2fe0b></path></g></svg></i>', 1);
|
|
1856
|
+
const _hoisted_180 = [
|
|
1857
|
+
_hoisted_179
|
|
1858
|
+
];
|
|
1859
|
+
const _hoisted_181 = { 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" };
|
|
1860
|
+
const _hoisted_182 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", {
|
|
1427
1861
|
class: "solid brush display-color",
|
|
1428
|
-
style: { margin: "6px 0px 0px 0px", border: "none" }
|
|
1862
|
+
style: { "margin": "6px 0px 0px 0px", "border": "none" }
|
|
1429
1863
|
}, [
|
|
1430
|
-
/* @__PURE__ */
|
|
1864
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1431
1865
|
width: "24",
|
|
1432
1866
|
height: "24",
|
|
1433
1867
|
focusable: "false"
|
|
1434
1868
|
}, [
|
|
1435
|
-
/* @__PURE__ */
|
|
1436
|
-
/* @__PURE__ */
|
|
1869
|
+
/* @__PURE__ */ createElementVNode("g", { "fill-rule": "evenodd" }, [
|
|
1870
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1437
1871
|
class: "icon-highlight-bg-color__color",
|
|
1438
1872
|
d: "M3 18h18v3H3z",
|
|
1439
1873
|
fill: "#F1C40F"
|
|
1440
1874
|
}),
|
|
1441
|
-
/* @__PURE__ */
|
|
1875
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1442
1876
|
"fill-rule": "nonzero",
|
|
1443
1877
|
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"
|
|
1444
1878
|
})
|
|
1445
1879
|
])
|
|
1446
1880
|
])
|
|
1447
|
-
], -1))
|
|
1881
|
+
], -1));
|
|
1882
|
+
const _hoisted_183 = {
|
|
1448
1883
|
class: "color-picker color-container",
|
|
1449
|
-
style: { position: "absolute", top: "0", bottom: "0", height: "
|
|
1450
|
-
}
|
|
1884
|
+
style: { "position": "absolute", "top": "0", "bottom": "0", "height": "50vh", "overflow": "auto" }
|
|
1885
|
+
};
|
|
1886
|
+
const _hoisted_184 = { class: "color-grid" };
|
|
1887
|
+
const _hoisted_185 = ["onClick"];
|
|
1888
|
+
const _hoisted_186 = { 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" };
|
|
1889
|
+
const _hoisted_187 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", {
|
|
1451
1890
|
class: "solid brush display-color",
|
|
1452
|
-
style: { margin: "6px 0px 0px 0px", border: "none" }
|
|
1891
|
+
style: { "margin": "6px 0px 0px 0px", "border": "none" }
|
|
1453
1892
|
}, [
|
|
1454
|
-
/* @__PURE__ */
|
|
1893
|
+
/* @__PURE__ */ createElementVNode("span", {
|
|
1455
1894
|
role: "presentation",
|
|
1456
1895
|
class: "tbtn",
|
|
1457
1896
|
"aria-disabled": "false",
|
|
1458
|
-
style: { width: "34px" }
|
|
1897
|
+
style: { "width": "34px" }
|
|
1459
1898
|
}, [
|
|
1460
|
-
/* @__PURE__ */
|
|
1461
|
-
/* @__PURE__ */
|
|
1899
|
+
/* @__PURE__ */ createElementVNode("span", { class: "icon tbtn__icon-wrap" }, [
|
|
1900
|
+
/* @__PURE__ */ createElementVNode("svg", {
|
|
1462
1901
|
width: "24",
|
|
1463
1902
|
height: "24",
|
|
1464
1903
|
focusable: "false"
|
|
1465
1904
|
}, [
|
|
1466
|
-
/* @__PURE__ */
|
|
1467
|
-
/* @__PURE__ */
|
|
1905
|
+
/* @__PURE__ */ createElementVNode("g", { "fill-rule": "evenodd" }, [
|
|
1906
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
1468
1907
|
class: "icon-text-color__color",
|
|
1469
1908
|
d: "M3 18h18v3H3z",
|
|
1470
1909
|
fill: "#F1C40F"
|
|
1471
1910
|
}),
|
|
1472
|
-
/* @__PURE__ */
|
|
1911
|
+
/* @__PURE__ */ 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" })
|
|
1473
1912
|
])
|
|
1474
1913
|
])
|
|
1475
1914
|
])
|
|
1476
1915
|
])
|
|
1477
|
-
], -1))
|
|
1916
|
+
], -1));
|
|
1917
|
+
const _hoisted_188 = {
|
|
1478
1918
|
class: "color-picker color-container",
|
|
1479
|
-
style: { position: "absolute", top: "0", bottom: "0", height: "fit-content", overflow: "auto" }
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
]
|
|
1919
|
+
style: { "position": "absolute", "top": "0", "bottom": "0", "height": "fit-content", "overflow": "auto" }
|
|
1920
|
+
};
|
|
1921
|
+
const _hoisted_189 = { class: "color-grid" };
|
|
1922
|
+
const _hoisted_190 = ["onClick"];
|
|
1923
|
+
const _hoisted_191 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-9ee2fe0b><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-9ee2fe0b><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-9ee2fe0b></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-9ee2fe0b></g><g id="SVGRepo_iconCarrier" data-v-9ee2fe0b><path fill-rule="evenodd" clip-rule="evenodd" d="M7.53033 3.46967C7.82322 3.76256 7.82322 4.23744 7.53033 4.53033L5.81066 6.25H15C18.1756 6.25 20.75 8.82436 20.75 12C20.75 15.1756 18.1756 17.75 15 17.75H8.00001C7.58579 17.75 7.25001 17.4142 7.25001 17C7.25001 16.5858 7.58579 16.25 8.00001 16.25H15C17.3472 16.25 19.25 14.3472 19.25 12C19.25 9.65279 17.3472 7.75 15 7.75H5.81066L7.53033 9.46967C7.82322 9.76256 7.82322 10.2374 7.53033 10.5303C7.23744 10.8232 6.76256 10.8232 6.46967 10.5303L3.46967 7.53033C3.17678 7.23744 3.17678 6.76256 3.46967 6.46967L6.46967 3.46967C6.76256 3.17678 7.23744 3.17678 7.53033 3.46967Z" fill="#1C274C" data-v-9ee2fe0b></path></g></svg></span>', 1);
|
|
1924
|
+
const _hoisted_192 = [
|
|
1925
|
+
_hoisted_191
|
|
1926
|
+
];
|
|
1927
|
+
const _hoisted_193 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-9ee2fe0b><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-9ee2fe0b><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-9ee2fe0b></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-9ee2fe0b></g><g id="SVGRepo_iconCarrier" data-v-9ee2fe0b><path d="M20 7H9.00001C6.23858 7 4 9.23857 4 12C4 14.7614 6.23858 17 9 17H16M20 7L17 4M20 7L17 10" stroke="#1C274C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-v-9ee2fe0b></path></g></svg></span>', 1);
|
|
1928
|
+
const _hoisted_194 = [
|
|
1929
|
+
_hoisted_193
|
|
1930
|
+
];
|
|
1931
|
+
const _hoisted_195 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-9ee2fe0b><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-9ee2fe0b><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-9ee2fe0b></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-9ee2fe0b></g><g id="SVGRepo_iconCarrier" data-v-9ee2fe0b><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-9ee2fe0b></path></g></svg></span>', 1);
|
|
1932
|
+
const _hoisted_196 = [
|
|
1933
|
+
_hoisted_195
|
|
1934
|
+
];
|
|
1935
|
+
const _hoisted_197 = { style: { "width": "3%" } };
|
|
1936
|
+
const _hoisted_198 = { id: "fontSizes" };
|
|
1937
|
+
const _hoisted_199 = ["value"];
|
|
1938
|
+
const _hoisted_200 = { style: { "min-height": "100%", "text-align": "justify" } };
|
|
1939
|
+
const _hoisted_201 = ["innerHTML"];
|
|
1940
|
+
const _hoisted_202 = {
|
|
1487
1941
|
key: 0,
|
|
1488
1942
|
class: "hideonprint flex items-center",
|
|
1489
|
-
style: { "text-align": "center", "align-items": "stretch", gap: "10px" }
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
]
|
|
1497
|
-
|
|
1498
|
-
/* @__PURE__ */
|
|
1499
|
-
|
|
1943
|
+
style: { "text-align": "center", "align-items": "stretch", "gap": "10px" }
|
|
1944
|
+
};
|
|
1945
|
+
const _hoisted_203 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "-" }, null, -1));
|
|
1946
|
+
const _hoisted_204 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { class: "p x-2" }, "NEW LINE", -1));
|
|
1947
|
+
const _hoisted_205 = [
|
|
1948
|
+
_hoisted_203,
|
|
1949
|
+
_hoisted_204
|
|
1950
|
+
];
|
|
1951
|
+
const _hoisted_206 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { style: { "margin": "0 0 0 10px" } }, [
|
|
1952
|
+
/* @__PURE__ */ createTextVNode("Cursor position: "),
|
|
1953
|
+
/* @__PURE__ */ createElementVNode("span", { id: "cursorPosition" }, "0")
|
|
1954
|
+
], -1));
|
|
1955
|
+
const _hoisted_207 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
|
|
1956
|
+
/* @__PURE__ */ createTextVNode("Text at cursor: "),
|
|
1957
|
+
/* @__PURE__ */ createElementVNode("span", { id: "textAtCursor" })
|
|
1958
|
+
], -1));
|
|
1959
|
+
const _sfc_main = {
|
|
1500
1960
|
__name: "Editor",
|
|
1501
1961
|
props: {
|
|
1502
1962
|
Dvalue: {
|
|
1503
1963
|
default: ""
|
|
1504
1964
|
},
|
|
1505
1965
|
TextOnly: {
|
|
1506
|
-
default:
|
|
1966
|
+
default: false
|
|
1507
1967
|
},
|
|
1508
1968
|
cssWanted2: {
|
|
1509
|
-
default:
|
|
1969
|
+
default: false
|
|
1510
1970
|
},
|
|
1511
1971
|
Files: {
|
|
1512
1972
|
size: null,
|
|
@@ -1514,11 +1974,16 @@ const Ne = (o, l) => {
|
|
|
1514
1974
|
}
|
|
1515
1975
|
},
|
|
1516
1976
|
emits: ["change", "update"],
|
|
1517
|
-
setup(
|
|
1518
|
-
const
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
const
|
|
1977
|
+
setup(__props, { emit: __emit }) {
|
|
1978
|
+
const editorRef = ref(null);
|
|
1979
|
+
const imageClicked = ref(false);
|
|
1980
|
+
const savedRange2 = ref(null);
|
|
1981
|
+
const tablePickerContainer = ref(null);
|
|
1982
|
+
const tablePickerGrid = ref(null);
|
|
1983
|
+
const tableDimensions = ref(null);
|
|
1984
|
+
ref([]);
|
|
1985
|
+
let selectedImage = null;
|
|
1986
|
+
const colors = ref([
|
|
1522
1987
|
"FF5733",
|
|
1523
1988
|
"33FF57",
|
|
1524
1989
|
"3357FF",
|
|
@@ -1577,667 +2042,827 @@ const Ne = (o, l) => {
|
|
|
1577
2042
|
"00CED1",
|
|
1578
2043
|
"989393",
|
|
1579
2044
|
"000000"
|
|
1580
|
-
])
|
|
1581
|
-
|
|
2045
|
+
]);
|
|
2046
|
+
const emit = __emit;
|
|
2047
|
+
const props = __props;
|
|
2048
|
+
const pomTextEditorContainer = ref(null);
|
|
2049
|
+
function previewAndPrintFun(...args) {
|
|
1582
2050
|
try {
|
|
1583
|
-
var
|
|
1584
|
-
let
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
2051
|
+
var removeinlineblock = document.querySelectorAll(".removeinlineblock");
|
|
2052
|
+
let userFeedBack;
|
|
2053
|
+
if (props.TextOnly)
|
|
2054
|
+
userFeedBack = editorRef.value.value;
|
|
2055
|
+
else
|
|
2056
|
+
userFeedBack = pomTextEditorContainer.value.innerHTML;
|
|
2057
|
+
removeinlineblock.forEach(function(element) {
|
|
2058
|
+
element.style.display = "block";
|
|
2059
|
+
});
|
|
2060
|
+
previewAndPrint(...args, userFeedBack);
|
|
2061
|
+
} catch (error) {
|
|
1589
2062
|
}
|
|
1590
2063
|
}
|
|
1591
|
-
function
|
|
1592
|
-
var
|
|
1593
|
-
|
|
2064
|
+
function ChangeTheDirectionOFTextFun(...args) {
|
|
2065
|
+
var _a;
|
|
2066
|
+
containerCursorPosition();
|
|
2067
|
+
changeTextDirection((_a = savedRange2.value) == null ? void 0 : _a["range"], editorRef.value, ...args, imageClicked.value);
|
|
2068
|
+
imageClicked.value = false;
|
|
2069
|
+
returnData();
|
|
1594
2070
|
}
|
|
1595
|
-
function
|
|
1596
|
-
var
|
|
1597
|
-
|
|
2071
|
+
function fontFamilyChanger(...args) {
|
|
2072
|
+
var _a;
|
|
2073
|
+
opensTyleOnElement((_a = savedRange2.value) == null ? void 0 : _a["range"], editorRef.value, ...args);
|
|
2074
|
+
selectedImage = null;
|
|
2075
|
+
returnData();
|
|
1598
2076
|
}
|
|
1599
|
-
function
|
|
1600
|
-
var
|
|
1601
|
-
|
|
2077
|
+
function styleElementIncluderFun(...args) {
|
|
2078
|
+
var _a;
|
|
2079
|
+
opensTyleOnElement((_a = savedRange2.value) == null ? void 0 : _a["range"], editorRef.value, ...args);
|
|
2080
|
+
selectedImage = null;
|
|
2081
|
+
returnData();
|
|
1602
2082
|
}
|
|
1603
|
-
function
|
|
1604
|
-
|
|
2083
|
+
function FilesInjectionFun(event) {
|
|
2084
|
+
const files = event.target.files;
|
|
2085
|
+
if (files.length === 0) {
|
|
2086
|
+
console.log("No files selected");
|
|
2087
|
+
return;
|
|
2088
|
+
}
|
|
2089
|
+
Array.from(files).forEach((file) => {
|
|
2090
|
+
if (!file.type.startsWith("image/")) {
|
|
2091
|
+
console.error("Selected file is not an image:", file.name);
|
|
2092
|
+
return;
|
|
2093
|
+
}
|
|
2094
|
+
const reader = new FileReader();
|
|
2095
|
+
reader.onload = (e) => {
|
|
2096
|
+
const imageUrl = e.target.result;
|
|
2097
|
+
insertImageAtCursor(imageUrl);
|
|
2098
|
+
};
|
|
2099
|
+
reader.onerror = (e) => {
|
|
2100
|
+
console.error("Error reading the file:", file.name, e);
|
|
2101
|
+
};
|
|
2102
|
+
reader.readAsDataURL(file);
|
|
2103
|
+
});
|
|
1605
2104
|
}
|
|
1606
|
-
function
|
|
1607
|
-
|
|
2105
|
+
function openInputToFeedFun(...args) {
|
|
2106
|
+
openInputToFeed(savedRange2.value["range"], ...args);
|
|
2107
|
+
selectedImage = null;
|
|
1608
2108
|
}
|
|
1609
|
-
const
|
|
1610
|
-
function
|
|
1611
|
-
var
|
|
1612
|
-
let
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
2109
|
+
const cssWanted2 = styleCss();
|
|
2110
|
+
function returnData(elmnt) {
|
|
2111
|
+
var _a;
|
|
2112
|
+
let htmlResult;
|
|
2113
|
+
if (props.TextOnly == "true") {
|
|
2114
|
+
if (elmnt && ((_a = elmnt.target) == null ? void 0 : _a.value))
|
|
2115
|
+
htmlResult = `${elmnt.target.value}`.replace(/<\/[a-z]*?>|<\S.*?>/gi, (match) => {
|
|
2116
|
+
return match.startsWith("</") ? "" : "\n";
|
|
2117
|
+
});
|
|
2118
|
+
} else {
|
|
2119
|
+
htmlResult = exportUserHtmlForAtheUse(editorRef.value);
|
|
2120
|
+
UndoRedo.SaveCurrentChanges(htmlResult);
|
|
2121
|
+
if (props.cssWanted == true) {
|
|
2122
|
+
emit("cssWanted", cssWanted2);
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
if (htmlResult) {
|
|
2126
|
+
setTimeout(() => {
|
|
2127
|
+
emit("change", htmlResult);
|
|
2128
|
+
}, 300);
|
|
2129
|
+
}
|
|
1617
2130
|
}
|
|
1618
|
-
function
|
|
1619
|
-
|
|
2131
|
+
function onMountedFunctionsset(params) {
|
|
2132
|
+
editorRef.value.focus();
|
|
2133
|
+
returnData();
|
|
1620
2134
|
}
|
|
1621
|
-
function
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
const
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
2135
|
+
function dropedImageRedirection(imgResizer) {
|
|
2136
|
+
imgResizer.addEventListener("click", function(e) {
|
|
2137
|
+
imageClicked.value = e;
|
|
2138
|
+
const imageAction = document.createElement("div");
|
|
2139
|
+
imageAction.style.display = "flex";
|
|
2140
|
+
imageAction.style.position = "absolute";
|
|
2141
|
+
imageAction.style.bottom = "20px";
|
|
2142
|
+
imageAction.style.right = "0px";
|
|
2143
|
+
imageAction.style.zIndex = "100";
|
|
2144
|
+
imageAction.style.background = "white";
|
|
2145
|
+
imageAction.classList.add("Image_dropped_pom");
|
|
2146
|
+
imageAction.classList.add("hideOnprint");
|
|
2147
|
+
const floatLeftButton = document.createElement("button");
|
|
2148
|
+
floatLeftButton.textContent = " Left";
|
|
2149
|
+
floatLeftButton.style.margin = "5px";
|
|
2150
|
+
const floatRightButton = document.createElement("button");
|
|
2151
|
+
floatRightButton.textContent = " Right";
|
|
2152
|
+
floatRightButton.style.margin = "5px";
|
|
2153
|
+
const centerButton = document.createElement("button");
|
|
2154
|
+
centerButton.textContent = "Center ";
|
|
2155
|
+
centerButton.style.margin = "5px";
|
|
2156
|
+
imageAction.appendChild(floatLeftButton);
|
|
2157
|
+
imageAction.appendChild(floatRightButton);
|
|
2158
|
+
imageAction.appendChild(centerButton);
|
|
2159
|
+
imgResizer.appendChild(imageAction);
|
|
2160
|
+
floatLeftButton.addEventListener("click", () => {
|
|
2161
|
+
imgResizer.style.float = "left";
|
|
2162
|
+
removeElemet();
|
|
2163
|
+
});
|
|
2164
|
+
floatRightButton.addEventListener("click", () => {
|
|
2165
|
+
imgResizer.style.float = "right";
|
|
2166
|
+
removeElemet();
|
|
2167
|
+
});
|
|
2168
|
+
centerButton.addEventListener("click", () => {
|
|
2169
|
+
imgResizer.style.display = "block";
|
|
2170
|
+
imgResizer.style.margin = "0 auto";
|
|
2171
|
+
removeElemet();
|
|
2172
|
+
});
|
|
2173
|
+
document.addEventListener("click", function removeAction(e2) {
|
|
2174
|
+
if (!imgResizer.contains(e2.target)) {
|
|
2175
|
+
removeElemet();
|
|
2176
|
+
document.removeEventListener("click", removeAction);
|
|
2177
|
+
}
|
|
2178
|
+
}, { once: true });
|
|
1640
2179
|
});
|
|
1641
2180
|
}
|
|
1642
|
-
function
|
|
1643
|
-
const
|
|
1644
|
-
Array.from(
|
|
1645
|
-
|
|
1646
|
-
})
|
|
2181
|
+
function imageContainerClicked(e) {
|
|
2182
|
+
const elements = document.getElementsByClassName("resizer-image-dropped");
|
|
2183
|
+
Array.from(elements).forEach((imgResizer) => {
|
|
2184
|
+
dropedImageRedirection(imgResizer);
|
|
2185
|
+
});
|
|
2186
|
+
imageClicked.value = false;
|
|
1647
2187
|
}
|
|
1648
|
-
|
|
1649
|
-
|
|
2188
|
+
onMounted(() => {
|
|
2189
|
+
onMountedFunctionsset();
|
|
1650
2190
|
});
|
|
1651
|
-
function
|
|
1652
|
-
|
|
2191
|
+
function insertNewLineAtCursorFun() {
|
|
2192
|
+
insertNewLineAtCursor(editorRef.value);
|
|
1653
2193
|
}
|
|
1654
|
-
function
|
|
1655
|
-
|
|
2194
|
+
function insertElementAtCursorHtagsFun(...args) {
|
|
2195
|
+
insertElementAtCursorHtags(savedRange2.value["range"], ...args);
|
|
2196
|
+
returnData();
|
|
1656
2197
|
}
|
|
1657
|
-
function
|
|
1658
|
-
|
|
2198
|
+
function insertElementAtCursorFun(...args) {
|
|
2199
|
+
insertElementAtCursor(savedRange2.value["range"], ...args);
|
|
2200
|
+
returnData();
|
|
1659
2201
|
}
|
|
1660
|
-
function
|
|
1661
|
-
|
|
2202
|
+
function insertUnorderedListAtCursorFun(...args) {
|
|
2203
|
+
insertUnorderedListAtCursor(savedRange2.value["range"], ...args);
|
|
2204
|
+
returnData();
|
|
1662
2205
|
}
|
|
1663
|
-
function
|
|
1664
|
-
|
|
1665
|
-
|
|
2206
|
+
function containerCursorPosition() {
|
|
2207
|
+
savedRange2.value = saveCursorPosition();
|
|
2208
|
+
updateCursorInfo();
|
|
2209
|
+
makeTableGridforCreation(savedRange2.value, editorRef.value, tablePickerGrid.value, tableDimensions.value);
|
|
2210
|
+
selectedImage = null;
|
|
2211
|
+
returnData();
|
|
1666
2212
|
}
|
|
1667
|
-
function
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
const
|
|
1671
|
-
|
|
1672
|
-
|
|
2213
|
+
function fileSize(file) {
|
|
2214
|
+
const fileSizeInBytes = file.size;
|
|
2215
|
+
const fileSizeInKB = (fileSizeInBytes / 1024).toFixed(2);
|
|
2216
|
+
const fileSizeInMB = (fileSizeInKB / 1024).toFixed(2);
|
|
2217
|
+
return { fileSizeInMB, fileSizeInKB };
|
|
2218
|
+
}
|
|
2219
|
+
function onChangeFileDrop(event) {
|
|
2220
|
+
var _a, _b, _c, _d, _e;
|
|
2221
|
+
event.preventDefault();
|
|
2222
|
+
const files = event.dataTransfer.files;
|
|
2223
|
+
if (parseFloat((_a = props.Files) == null ? void 0 : _a.limits) == parseFloat((_b = props.Files) == null ? void 0 : _b.limits)) {
|
|
2224
|
+
alert(`You can not upload more than ${props.Files.limits} images`);
|
|
1673
2225
|
return;
|
|
1674
2226
|
}
|
|
1675
|
-
const
|
|
1676
|
-
if (((
|
|
1677
|
-
alert(`File size should be less than ${(
|
|
2227
|
+
const size = fileSize(files[0]);
|
|
2228
|
+
if (((_c = props.Files) == null ? void 0 : _c.size) > 0 && size.fileSizeInMB > parseFloat((_d = props.Files) == null ? void 0 : _d.size)) {
|
|
2229
|
+
alert(`File size should be less than ${(_e = props.Files) == null ? void 0 : _e.size} MB`);
|
|
1678
2230
|
return;
|
|
1679
2231
|
}
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
2232
|
+
console.log(`Image Droped ${size.fileSizeInMB} MB / ${size.fileSizeInKB} KB`);
|
|
2233
|
+
if (files.length > 0) {
|
|
2234
|
+
const file = files[0];
|
|
2235
|
+
const reader = new FileReader();
|
|
2236
|
+
reader.onload = (e) => {
|
|
2237
|
+
const imageUrl = e.target.result;
|
|
2238
|
+
insertImageAtCursor(imageUrl);
|
|
2239
|
+
};
|
|
2240
|
+
reader.readAsDataURL(file);
|
|
1686
2241
|
}
|
|
1687
|
-
|
|
2242
|
+
returnData();
|
|
1688
2243
|
}
|
|
1689
|
-
function
|
|
1690
|
-
|
|
1691
|
-
const
|
|
1692
|
-
if (
|
|
1693
|
-
let
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
2244
|
+
function insertImageAtCursor(imageUrl) {
|
|
2245
|
+
removeElemet();
|
|
2246
|
+
const range = savedRange2.value["range"];
|
|
2247
|
+
if (range) {
|
|
2248
|
+
let initResize2 = function(e, type) {
|
|
2249
|
+
e.preventDefault();
|
|
2250
|
+
currentResizer = type;
|
|
2251
|
+
window.addEventListener("mousemove", resize);
|
|
2252
|
+
window.addEventListener("mouseup", stopResize);
|
|
2253
|
+
}, resize = function(e) {
|
|
2254
|
+
const rect = imgResizer.getBoundingClientRect();
|
|
2255
|
+
if (currentResizer === "width" || currentResizer === "both") {
|
|
2256
|
+
const newWidth = e.clientX - rect.left;
|
|
2257
|
+
imgResizer.style.width = newWidth + "px";
|
|
2258
|
+
imgElement.style.width = newWidth + "px";
|
|
1700
2259
|
}
|
|
1701
|
-
if (
|
|
1702
|
-
const
|
|
1703
|
-
|
|
2260
|
+
if (currentResizer === "height" || currentResizer === "both") {
|
|
2261
|
+
const newHeight = e.clientY - rect.top;
|
|
2262
|
+
imgElement.style.height = newHeight + "px";
|
|
1704
2263
|
}
|
|
1705
|
-
},
|
|
1706
|
-
window.removeEventListener("mousemove",
|
|
2264
|
+
}, stopResize = function() {
|
|
2265
|
+
window.removeEventListener("mousemove", resize);
|
|
2266
|
+
window.removeEventListener("mouseup", stopResize);
|
|
1707
2267
|
};
|
|
1708
|
-
const
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
2268
|
+
const imgElement = document.createElement("img");
|
|
2269
|
+
imgElement.src = imageUrl;
|
|
2270
|
+
imgElement.style.maxWidth = "100%";
|
|
2271
|
+
imgElement.style.position = "relative";
|
|
2272
|
+
imgElement.classList.add("resizable-image");
|
|
2273
|
+
const imgResizer = document.createElement("span");
|
|
2274
|
+
imgResizer.style.display = "inline-block";
|
|
2275
|
+
imgResizer.style.width = "200px";
|
|
2276
|
+
imgResizer.style.position = "relative";
|
|
2277
|
+
imgResizer.contentEditable = false;
|
|
2278
|
+
imgResizer.classList.add("resizer-image-dropped");
|
|
2279
|
+
dropedImageRedirection(imgResizer);
|
|
2280
|
+
const widthResizer = document.createElement("div");
|
|
2281
|
+
widthResizer.style.width = "10px";
|
|
2282
|
+
widthResizer.style.height = "100%";
|
|
2283
|
+
widthResizer.style.background = "gray";
|
|
2284
|
+
widthResizer.style.position = "absolute";
|
|
2285
|
+
widthResizer.style.right = "0";
|
|
2286
|
+
widthResizer.style.top = "0";
|
|
2287
|
+
widthResizer.style.cursor = "ew-resize";
|
|
2288
|
+
widthResizer.style.zIndex = "2";
|
|
2289
|
+
widthResizer.classList.add("hideOnprint");
|
|
2290
|
+
widthResizer.setAttribute("contentEditable", false);
|
|
2291
|
+
const heightResizer = document.createElement("div");
|
|
2292
|
+
heightResizer.style.width = "100%";
|
|
2293
|
+
heightResizer.style.height = "10px";
|
|
2294
|
+
heightResizer.style.background = "gray";
|
|
2295
|
+
heightResizer.style.position = "absolute";
|
|
2296
|
+
heightResizer.style.bottom = "0";
|
|
2297
|
+
heightResizer.style.left = "0";
|
|
2298
|
+
heightResizer.style.cursor = "ns-resize";
|
|
2299
|
+
heightResizer.style.zIndex = "2";
|
|
2300
|
+
heightResizer.classList.add("hideOnprint");
|
|
2301
|
+
heightResizer.setAttribute("contentEditable", false);
|
|
2302
|
+
const cornerResizer = document.createElement("div");
|
|
2303
|
+
cornerResizer.style.width = "20px";
|
|
2304
|
+
cornerResizer.style.height = "20px";
|
|
2305
|
+
cornerResizer.style.background = "gray";
|
|
2306
|
+
cornerResizer.style.position = "absolute";
|
|
2307
|
+
cornerResizer.style.right = "0";
|
|
2308
|
+
cornerResizer.style.bottom = "0";
|
|
2309
|
+
cornerResizer.style.cursor = "nwse-resize";
|
|
2310
|
+
cornerResizer.style.zIndex = "10";
|
|
2311
|
+
cornerResizer.setAttribute("contentEditable", false);
|
|
2312
|
+
imgResizer.appendChild(imgElement);
|
|
2313
|
+
imgResizer.appendChild(widthResizer);
|
|
2314
|
+
imgResizer.appendChild(heightResizer);
|
|
2315
|
+
imgResizer.appendChild(cornerResizer);
|
|
2316
|
+
imgResizer.addEventListener("click", (e) => {
|
|
2317
|
+
if (selectedImage) {
|
|
2318
|
+
selectedImage.style.border = "";
|
|
2319
|
+
}
|
|
2320
|
+
selectedImage = imgResizer;
|
|
2321
|
+
});
|
|
2322
|
+
widthResizer.addEventListener("mousedown", (e) => initResize2(e, "width"));
|
|
2323
|
+
heightResizer.addEventListener("mousedown", (e) => initResize2(e, "height"));
|
|
2324
|
+
cornerResizer.addEventListener("mousedown", (e) => initResize2(e, "both"));
|
|
2325
|
+
range.insertNode(imgResizer);
|
|
2326
|
+
let currentResizer;
|
|
2327
|
+
imageContainerClicked();
|
|
2328
|
+
returnData();
|
|
1722
2329
|
}
|
|
1723
2330
|
}
|
|
1724
|
-
function
|
|
1725
|
-
const
|
|
1726
|
-
Array.from(
|
|
1727
|
-
|
|
1728
|
-
})
|
|
2331
|
+
function removeElemet(classs = "Image_dropped_pom") {
|
|
2332
|
+
const elements = document.getElementsByClassName(classs);
|
|
2333
|
+
Array.from(elements).forEach((element) => {
|
|
2334
|
+
element.remove();
|
|
2335
|
+
});
|
|
2336
|
+
returnData();
|
|
1729
2337
|
}
|
|
1730
|
-
function
|
|
1731
|
-
const
|
|
2338
|
+
function undoOrRedo(acting) {
|
|
2339
|
+
const action = UndoRedo[acting]();
|
|
1732
2340
|
setTimeout(() => {
|
|
1733
|
-
|
|
2341
|
+
if (action) {
|
|
2342
|
+
editorRef.value.innerHTML = action;
|
|
2343
|
+
returnData();
|
|
2344
|
+
}
|
|
1734
2345
|
}, 100);
|
|
1735
2346
|
}
|
|
1736
|
-
return (
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
2347
|
+
return (_ctx, _cache) => {
|
|
2348
|
+
return openBlock(), createElementBlock("span", _hoisted_1, [
|
|
2349
|
+
createElementVNode("div", _hoisted_2, [
|
|
2350
|
+
createElementVNode("div", _hoisted_3, [
|
|
2351
|
+
createElementVNode("div", _hoisted_4, [
|
|
2352
|
+
createElementVNode("div", _hoisted_5, [
|
|
2353
|
+
createElementVNode("div", _hoisted_6, [
|
|
2354
|
+
_hoisted_7,
|
|
2355
|
+
createElementVNode("div", _hoisted_8, [
|
|
2356
|
+
createElementVNode("div", _hoisted_9, [
|
|
2357
|
+
createElementVNode("div", {
|
|
2358
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
2359
|
+
onClick: _cache[0] || (_cache[0] = ($event) => previewAndPrintFun(true))
|
|
2360
|
+
}, _hoisted_12),
|
|
2361
|
+
createElementVNode("div", _hoisted_13, [
|
|
2362
|
+
_hoisted_14,
|
|
2363
|
+
createElementVNode("strong", {
|
|
2364
|
+
class: "px-3",
|
|
2365
|
+
onClick: _cache[1] || (_cache[1] = ($event) => previewAndPrintFun(false))
|
|
2366
|
+
}, "Preview")
|
|
2367
|
+
]),
|
|
2368
|
+
_hoisted_15
|
|
2369
|
+
])
|
|
1757
2370
|
])
|
|
1758
2371
|
])
|
|
1759
|
-
])
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
class: "
|
|
1834
|
-
},
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1841
|
-
}, Ut),
|
|
1842
|
-
e("div", {
|
|
1843
|
-
onClick: t[19] || (t[19] = (i) => F("text-transform", "lowercase")),
|
|
1844
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1845
|
-
}, Yt),
|
|
1846
|
-
e("div", {
|
|
1847
|
-
onClick: t[20] || (t[20] = (i) => F("text-transform", "uppercase")),
|
|
1848
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
1849
|
-
}, Jt)
|
|
2372
|
+
]),
|
|
2373
|
+
createElementVNode("div", _hoisted_16, [
|
|
2374
|
+
createElementVNode("div", _hoisted_17, [
|
|
2375
|
+
_hoisted_18,
|
|
2376
|
+
createElementVNode("div", _hoisted_19, [
|
|
2377
|
+
createElementVNode("div", _hoisted_20, [
|
|
2378
|
+
createElementVNode("div", {
|
|
2379
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md",
|
|
2380
|
+
onClick: _cache[2] || (_cache[2] = ($event) => insertElementAtCursorFun())
|
|
2381
|
+
}, _hoisted_23),
|
|
2382
|
+
createElementVNode("div", {
|
|
2383
|
+
onClick: _cache[3] || (_cache[3] = ($event) => insertElementAtCursorFun("i", "**italic text **")),
|
|
2384
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2385
|
+
}, _hoisted_26),
|
|
2386
|
+
createElementVNode("div", {
|
|
2387
|
+
onClick: _cache[4] || (_cache[4] = ($event) => insertElementAtCursorFun("u", "**underLine text **")),
|
|
2388
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2389
|
+
}, _hoisted_29),
|
|
2390
|
+
createElementVNode("div", {
|
|
2391
|
+
onClick: _cache[5] || (_cache[5] = ($event) => insertElementAtCursorFun("s", "**underLine text**")),
|
|
2392
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2393
|
+
}, _hoisted_32),
|
|
2394
|
+
createElementVNode("div", {
|
|
2395
|
+
onClick: _cache[6] || (_cache[6] = ($event) => insertElementAtCursorFun("sup", "**supperScript**")),
|
|
2396
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2397
|
+
}, _hoisted_35),
|
|
2398
|
+
createElementVNode("div", {
|
|
2399
|
+
onClick: _cache[7] || (_cache[7] = ($event) => insertElementAtCursorFun("sub", "**supperScript**")),
|
|
2400
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2401
|
+
}, _hoisted_38),
|
|
2402
|
+
createElementVNode("div", {
|
|
2403
|
+
onClick: _cache[8] || (_cache[8] = ($event) => insertElementAtCursorFun("summary", "**summary**")),
|
|
2404
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2405
|
+
}, _hoisted_41),
|
|
2406
|
+
createElementVNode("div", {
|
|
2407
|
+
onClick: _cache[9] || (_cache[9] = ($event) => insertElementAtCursorFun("ol", "1. ordered list")),
|
|
2408
|
+
style: { "background-color": "#f3f4f6", "cursor": "pointer" },
|
|
2409
|
+
class: "hover:bg-gray-200 elemeSet rounded"
|
|
2410
|
+
}, _hoisted_44),
|
|
2411
|
+
createElementVNode("div", {
|
|
2412
|
+
onClick: _cache[10] || (_cache[10] = ($event) => insertElementAtCursorFun("ul", "1. unordered list")),
|
|
2413
|
+
style: { "background-color": "#f3f4f6", "cursor": "pointer" },
|
|
2414
|
+
class: "hover:bg-gray-200 elemeSet rounded"
|
|
2415
|
+
}, _hoisted_47),
|
|
2416
|
+
createElementVNode("div", {
|
|
2417
|
+
onClick: _cache[11] || (_cache[11] = ($event) => insertElementAtCursorHtagsFun("h1", "**h1**")),
|
|
2418
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2419
|
+
}, _hoisted_49),
|
|
2420
|
+
createElementVNode("div", {
|
|
2421
|
+
onClick: _cache[12] || (_cache[12] = ($event) => insertElementAtCursorHtagsFun("h2", "**h2**")),
|
|
2422
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2423
|
+
}, _hoisted_51),
|
|
2424
|
+
createElementVNode("div", {
|
|
2425
|
+
onClick: _cache[13] || (_cache[13] = ($event) => insertElementAtCursorHtagsFun("h3", "**h3**")),
|
|
2426
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2427
|
+
}, _hoisted_53),
|
|
2428
|
+
createElementVNode("div", {
|
|
2429
|
+
onClick: _cache[14] || (_cache[14] = ($event) => unref(insertElementAtCursorHtags)("h4", "**h4**")),
|
|
2430
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2431
|
+
}, _hoisted_55),
|
|
2432
|
+
createElementVNode("div", {
|
|
2433
|
+
onClick: _cache[15] || (_cache[15] = ($event) => insertElementAtCursorHtagsFun("h5", "**h5**")),
|
|
2434
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2435
|
+
}, _hoisted_57),
|
|
2436
|
+
createElementVNode("div", {
|
|
2437
|
+
onClick: _cache[16] || (_cache[16] = ($event) => insertElementAtCursorHtagsFun("h6", "**h6**")),
|
|
2438
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2439
|
+
}, _hoisted_59),
|
|
2440
|
+
createElementVNode("div", {
|
|
2441
|
+
onClick: _cache[17] || (_cache[17] = ($event) => styleElementIncluderFun("text-transform", "capitalize")),
|
|
2442
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2443
|
+
}, _hoisted_61),
|
|
2444
|
+
createElementVNode("div", {
|
|
2445
|
+
onClick: _cache[18] || (_cache[18] = ($event) => styleElementIncluderFun("text-transform", "lowercase")),
|
|
2446
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2447
|
+
}, _hoisted_63),
|
|
2448
|
+
createElementVNode("div", {
|
|
2449
|
+
onClick: _cache[19] || (_cache[19] = ($event) => styleElementIncluderFun("text-transform", "uppercase")),
|
|
2450
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2451
|
+
}, _hoisted_65)
|
|
2452
|
+
])
|
|
1850
2453
|
])
|
|
1851
2454
|
])
|
|
1852
|
-
])
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
e("div", {
|
|
1872
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
1873
|
-
onClick: t[22] || (t[22] = (i) => {
|
|
1874
|
-
z(this, "a", "links", {}, { href: "", class: "pom-editor-anchor-tag", style: "text-decoration: underline;cursor: pointer" });
|
|
1875
|
-
})
|
|
1876
|
-
}, co),
|
|
1877
|
-
e("div", {
|
|
1878
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer p-2",
|
|
1879
|
-
onClick: t[23] || (t[23] = (i) => z(this))
|
|
1880
|
-
}, po),
|
|
1881
|
-
e("div", null, [
|
|
1882
|
-
mo,
|
|
1883
|
-
e("div", {
|
|
1884
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
1885
|
-
onClick: t[24] || (t[24] = (i) => J(le)())
|
|
1886
|
-
}, vo),
|
|
1887
|
-
e("div", {
|
|
2455
|
+
]),
|
|
2456
|
+
createElementVNode("div", _hoisted_66, [
|
|
2457
|
+
createElementVNode("div", _hoisted_67, [
|
|
2458
|
+
_hoisted_68,
|
|
2459
|
+
createElementVNode("div", _hoisted_69, [
|
|
2460
|
+
createElementVNode("div", _hoisted_70, [
|
|
2461
|
+
createElementVNode("div", _hoisted_71, [
|
|
2462
|
+
_hoisted_72,
|
|
2463
|
+
_hoisted_73,
|
|
2464
|
+
createElementVNode("input", {
|
|
2465
|
+
type: "file",
|
|
2466
|
+
hidden: "",
|
|
2467
|
+
id: "pom43546535435445Image",
|
|
2468
|
+
accept: "image/*",
|
|
2469
|
+
multiple: "",
|
|
2470
|
+
onChange: FilesInjectionFun
|
|
2471
|
+
}, null, 32)
|
|
2472
|
+
]),
|
|
2473
|
+
createElementVNode("div", {
|
|
1888
2474
|
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
1889
|
-
onClick:
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
2475
|
+
onClick: _cache[20] || (_cache[20] = ($event) => {
|
|
2476
|
+
openInputToFeedFun(this, "a", "links", {}, { href: "", class: "pom-editor-anchor-tag", style: `text-decoration: underline;cursor: pointer` });
|
|
2477
|
+
})
|
|
2478
|
+
}, _hoisted_76),
|
|
2479
|
+
createElementVNode("div", {
|
|
2480
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer p-2",
|
|
2481
|
+
onClick: _cache[21] || (_cache[21] = ($event) => openInputToFeedFun(this))
|
|
2482
|
+
}, _hoisted_79),
|
|
2483
|
+
createElementVNode("div", null, [
|
|
2484
|
+
_hoisted_80,
|
|
2485
|
+
createElementVNode("div", {
|
|
2486
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
2487
|
+
onClick: _cache[22] || (_cache[22] = ($event) => unref(removeAllTables)())
|
|
2488
|
+
}, _hoisted_83),
|
|
2489
|
+
createElementVNode("div", {
|
|
2490
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
2491
|
+
onClick: _cache[23] || (_cache[23] = ($event) => unref(removeAllTables)(true))
|
|
2492
|
+
}, _hoisted_86),
|
|
2493
|
+
createElementVNode("div", _hoisted_87, [
|
|
2494
|
+
_hoisted_88,
|
|
2495
|
+
createElementVNode("div", {
|
|
2496
|
+
id: "table-picker-container",
|
|
2497
|
+
ref_key: "tablePickerContainer",
|
|
2498
|
+
ref: tablePickerContainer,
|
|
2499
|
+
class: "table-picker-container"
|
|
2500
|
+
}, [
|
|
2501
|
+
createElementVNode("div", {
|
|
2502
|
+
id: "table-picker-grid",
|
|
2503
|
+
ref_key: "tablePickerGrid",
|
|
2504
|
+
ref: tablePickerGrid,
|
|
2505
|
+
class: "table-picker-grid"
|
|
2506
|
+
}, null, 512),
|
|
2507
|
+
createElementVNode("span", {
|
|
2508
|
+
id: "table-dimensions",
|
|
2509
|
+
ref_key: "tableDimensions",
|
|
2510
|
+
ref: tableDimensions,
|
|
2511
|
+
class: "table-dimensions"
|
|
2512
|
+
}, "0 x 0", 512)
|
|
2513
|
+
], 512)
|
|
2514
|
+
])
|
|
1912
2515
|
])
|
|
1913
2516
|
])
|
|
1914
2517
|
])
|
|
1915
2518
|
])
|
|
1916
|
-
])
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
2519
|
+
]),
|
|
2520
|
+
createElementVNode("div", _hoisted_89, [
|
|
2521
|
+
createElementVNode("div", _hoisted_90, [
|
|
2522
|
+
_hoisted_91,
|
|
2523
|
+
createElementVNode("div", _hoisted_92, [
|
|
2524
|
+
createElementVNode("span", _hoisted_93, [
|
|
2525
|
+
createElementVNode("div", _hoisted_94, [
|
|
2526
|
+
createElementVNode("div", _hoisted_95, [
|
|
2527
|
+
_hoisted_96,
|
|
2528
|
+
createElementVNode("div", _hoisted_97, [
|
|
2529
|
+
createElementVNode("div", _hoisted_98, [
|
|
2530
|
+
createElementVNode("div", {
|
|
2531
|
+
onClick: _cache[24] || (_cache[24] = () => fontFamilyChanger("font-family", " arial, helvetica, sans-serif")),
|
|
2532
|
+
style: { "font-family": "arial, helvetica, sans-serif" }
|
|
2533
|
+
}, "Arial ")
|
|
2534
|
+
]),
|
|
2535
|
+
_hoisted_99
|
|
1932
2536
|
]),
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
2537
|
+
createElementVNode("div", _hoisted_100, [
|
|
2538
|
+
createElementVNode("div", _hoisted_101, [
|
|
2539
|
+
createElementVNode("div", {
|
|
2540
|
+
style: { "font-family": '"arial black", sans-serif' },
|
|
2541
|
+
onClick: _cache[25] || (_cache[25] = () => fontFamilyChanger("font-family", "arial black, sans-serif"))
|
|
2542
|
+
}, " Arial Black")
|
|
2543
|
+
]),
|
|
2544
|
+
_hoisted_102
|
|
1941
2545
|
]),
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
2546
|
+
createElementVNode("div", _hoisted_103, [
|
|
2547
|
+
createElementVNode("div", _hoisted_104, [
|
|
2548
|
+
createElementVNode("div", {
|
|
2549
|
+
style: { "font-family": "book antiqua, palatino, serif" },
|
|
2550
|
+
onClick: _cache[26] || (_cache[26] = () => fontFamilyChanger("font-family", "book antiqua, palatino, serif"))
|
|
2551
|
+
}, " Book Antiqua")
|
|
2552
|
+
]),
|
|
2553
|
+
_hoisted_105
|
|
1950
2554
|
]),
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
2555
|
+
createElementVNode("div", _hoisted_106, [
|
|
2556
|
+
createElementVNode("div", _hoisted_107, [
|
|
2557
|
+
createElementVNode("div", {
|
|
2558
|
+
style: { "font-family": '"comic sans ms", sans-serif' },
|
|
2559
|
+
onClick: _cache[27] || (_cache[27] = () => fontFamilyChanger("font-family", 'comic sans ms", sans-serif'))
|
|
2560
|
+
}, " Comic Sans MS")
|
|
2561
|
+
]),
|
|
2562
|
+
_hoisted_108
|
|
1959
2563
|
]),
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
2564
|
+
createElementVNode("div", _hoisted_109, [
|
|
2565
|
+
createElementVNode("div", _hoisted_110, [
|
|
2566
|
+
createElementVNode("div", {
|
|
2567
|
+
style: { "font-family": "courier new, courier, monospace" },
|
|
2568
|
+
onClick: _cache[28] || (_cache[28] = () => fontFamilyChanger("font-family", " courier new, courier, monospace;"))
|
|
2569
|
+
}, " Courier New")
|
|
2570
|
+
]),
|
|
2571
|
+
_hoisted_111
|
|
1968
2572
|
]),
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
2573
|
+
createElementVNode("div", _hoisted_112, [
|
|
2574
|
+
createElementVNode("div", _hoisted_113, [
|
|
2575
|
+
createElementVNode("div", {
|
|
2576
|
+
style: { "font-family": "georgia, palatino, serif" },
|
|
2577
|
+
onClick: _cache[29] || (_cache[29] = () => fontFamilyChanger("font-family", " georgia, palatino, serif"))
|
|
2578
|
+
}, "Georgia ")
|
|
2579
|
+
]),
|
|
2580
|
+
_hoisted_114
|
|
1977
2581
|
]),
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
2582
|
+
createElementVNode("div", _hoisted_115, [
|
|
2583
|
+
createElementVNode("div", _hoisted_116, [
|
|
2584
|
+
createElementVNode("div", {
|
|
2585
|
+
style: { "font-family": "helvetica, arial, sans-serif" },
|
|
2586
|
+
onClick: _cache[30] || (_cache[30] = () => fontFamilyChanger("font-family", " helvetica, arial, sans-serif"))
|
|
2587
|
+
}, " Helvetica")
|
|
2588
|
+
]),
|
|
2589
|
+
_hoisted_117
|
|
1986
2590
|
]),
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
2591
|
+
createElementVNode("div", _hoisted_118, [
|
|
2592
|
+
createElementVNode("div", _hoisted_119, [
|
|
2593
|
+
createElementVNode("div", {
|
|
2594
|
+
style: { "font-family": "impact, sans-serif" },
|
|
2595
|
+
onClick: _cache[31] || (_cache[31] = () => fontFamilyChanger("font-family", " impact, sans-serif"))
|
|
2596
|
+
}, "Impact")
|
|
2597
|
+
]),
|
|
2598
|
+
_hoisted_120
|
|
1995
2599
|
]),
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2600
|
+
createElementVNode("div", _hoisted_121, [
|
|
2601
|
+
createElementVNode("div", _hoisted_122, [
|
|
2602
|
+
createElementVNode("div", {
|
|
2603
|
+
style: { "font-family": "symbol" },
|
|
2604
|
+
onClick: _cache[32] || (_cache[32] = () => fontFamilyChanger("font-family", " symbol"))
|
|
2605
|
+
}, "Symbol")
|
|
2606
|
+
]),
|
|
2607
|
+
_hoisted_123
|
|
2004
2608
|
]),
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2609
|
+
createElementVNode("div", _hoisted_124, [
|
|
2610
|
+
createElementVNode("div", _hoisted_125, [
|
|
2611
|
+
createElementVNode("div", {
|
|
2612
|
+
style: { "font-family": "tahoma, arial, helvetica, sans-serif" },
|
|
2613
|
+
onClick: _cache[33] || (_cache[33] = () => fontFamilyChanger("font-family", " tahoma, arial, helvetica, sans-serif"))
|
|
2614
|
+
}, " Tahoma")
|
|
2615
|
+
]),
|
|
2616
|
+
_hoisted_126
|
|
2013
2617
|
]),
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2618
|
+
createElementVNode("div", _hoisted_127, [
|
|
2619
|
+
createElementVNode("div", _hoisted_128, [
|
|
2620
|
+
createElementVNode("div", {
|
|
2621
|
+
style: { "font-family": "terminal, monaco, monospace" },
|
|
2622
|
+
onClick: _cache[34] || (_cache[34] = () => fontFamilyChanger("font-family", " terminal, monaco, monospace"))
|
|
2623
|
+
}, "Terminal ")
|
|
2624
|
+
]),
|
|
2625
|
+
_hoisted_129
|
|
2022
2626
|
]),
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2627
|
+
createElementVNode("div", _hoisted_130, [
|
|
2628
|
+
createElementVNode("div", _hoisted_131, [
|
|
2629
|
+
createElementVNode("div", {
|
|
2630
|
+
style: { "font-family": "times new roman, times, serif" },
|
|
2631
|
+
onClick: _cache[35] || (_cache[35] = () => fontFamilyChanger("font-family", " times new roman, times, serif"))
|
|
2632
|
+
}, " Times New Roman")
|
|
2633
|
+
]),
|
|
2634
|
+
_hoisted_132
|
|
2031
2635
|
]),
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2636
|
+
createElementVNode("div", _hoisted_133, [
|
|
2637
|
+
createElementVNode("div", _hoisted_134, [
|
|
2638
|
+
createElementVNode("div", {
|
|
2639
|
+
style: { "font-family": "trebuchet ms, geneva, sans-serif" },
|
|
2640
|
+
onClick: _cache[36] || (_cache[36] = () => fontFamilyChanger("font-family", " trebuchet ms, geneva, sans-serif"))
|
|
2641
|
+
}, " Trebuchet MS")
|
|
2642
|
+
]),
|
|
2643
|
+
_hoisted_135
|
|
2040
2644
|
]),
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2645
|
+
createElementVNode("div", _hoisted_136, [
|
|
2646
|
+
createElementVNode("div", _hoisted_137, [
|
|
2647
|
+
createElementVNode("div", {
|
|
2648
|
+
style: { "font-family": "verdana, geneva, sans-serif" },
|
|
2649
|
+
onClick: _cache[37] || (_cache[37] = () => fontFamilyChanger("font-family", " verdana, geneva, sans-serif"))
|
|
2650
|
+
}, "Verdana ")
|
|
2651
|
+
]),
|
|
2652
|
+
_hoisted_138
|
|
2049
2653
|
]),
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
_n
|
|
2654
|
+
_hoisted_139,
|
|
2655
|
+
_hoisted_140
|
|
2656
|
+
])
|
|
2054
2657
|
])
|
|
2055
2658
|
])
|
|
2056
2659
|
])
|
|
2057
2660
|
])
|
|
2058
|
-
])
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2661
|
+
]),
|
|
2662
|
+
createElementVNode("div", _hoisted_141, [
|
|
2663
|
+
createElementVNode("button", {
|
|
2664
|
+
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2665
|
+
onClick: _cache[38] || (_cache[38] = ($event) => ChangeTheDirectionOFTextFun("text-align", "justify", "", "p"))
|
|
2666
|
+
}, _hoisted_143),
|
|
2667
|
+
createElementVNode("button", {
|
|
2668
|
+
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2669
|
+
onClick: _cache[39] || (_cache[39] = ($event) => ChangeTheDirectionOFTextFun("text-align", "center", "", "div"))
|
|
2670
|
+
}, _hoisted_145),
|
|
2671
|
+
createElementVNode("button", {
|
|
2672
|
+
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2673
|
+
onClick: _cache[40] || (_cache[40] = ($event) => ChangeTheDirectionOFTextFun("text-align", "end", "", "p"))
|
|
2674
|
+
}, _hoisted_147),
|
|
2675
|
+
createElementVNode("button", {
|
|
2676
|
+
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2677
|
+
onClick: _cache[41] || (_cache[41] = ($event) => ChangeTheDirectionOFTextFun("text-align", "start", "", "div"))
|
|
2678
|
+
}, _hoisted_149)
|
|
2679
|
+
]),
|
|
2680
|
+
createElementVNode("div", _hoisted_150, [
|
|
2681
|
+
_hoisted_151,
|
|
2682
|
+
createElementVNode("div", _hoisted_152, [
|
|
2683
|
+
createElementVNode("div", _hoisted_153, [
|
|
2684
|
+
createElementVNode("div", {
|
|
2685
|
+
onClick: _cache[42] || (_cache[42] = ($event) => insertUnorderedListAtCursorFun(3, "disc"))
|
|
2686
|
+
}, _hoisted_155),
|
|
2687
|
+
createElementVNode("div", {
|
|
2688
|
+
onClick: _cache[43] || (_cache[43] = ($event) => insertUnorderedListAtCursorFun(3, "circle"))
|
|
2689
|
+
}, _hoisted_157),
|
|
2690
|
+
createElementVNode("div", null, [
|
|
2691
|
+
createElementVNode("div", {
|
|
2692
|
+
class: "",
|
|
2693
|
+
onClick: _cache[44] || (_cache[44] = ($event) => insertUnorderedListAtCursorFun())
|
|
2694
|
+
}, _hoisted_159)
|
|
2695
|
+
]),
|
|
2696
|
+
createElementVNode("div", {
|
|
2697
|
+
onClick: _cache[45] || (_cache[45] = ($event) => insertUnorderedListAtCursorFun(3, "upper-latin"))
|
|
2698
|
+
}, _hoisted_161)
|
|
2699
|
+
])
|
|
2097
2700
|
])
|
|
2098
2701
|
])
|
|
2099
|
-
])
|
|
2100
|
-
]),
|
|
2101
|
-
e("div", On, [
|
|
2102
|
-
Q(m.$slots, "toolbar-before", {}, void 0, !0),
|
|
2103
|
-
e("div", {
|
|
2104
|
-
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",
|
|
2105
|
-
style: { margin: "6px" },
|
|
2106
|
-
onClick: t[48] || (t[48] = (i) => w())
|
|
2107
|
-
}, Wn),
|
|
2108
|
-
e("div", {
|
|
2109
|
-
onClick: t[49] || (t[49] = (i) => w("i", "**italic text **")),
|
|
2110
|
-
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2111
|
-
style: { margin: "6px" }
|
|
2112
|
-
}, Xn),
|
|
2113
|
-
e("div", {
|
|
2114
|
-
onClick: t[50] || (t[50] = (i) => w("u", "**underLine text**")),
|
|
2115
|
-
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2116
|
-
style: { margin: "6px" }
|
|
2117
|
-
}, qn),
|
|
2118
|
-
e("div", {
|
|
2119
|
-
onClick: t[51] || (t[51] = (i) => w("s", "**Strike text**")),
|
|
2120
|
-
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2121
|
-
style: { margin: "6px" }
|
|
2122
|
-
}, [
|
|
2123
|
-
e("i", Yn, [
|
|
2124
|
-
(R(), $("svg", Kn, ti))
|
|
2125
|
-
])
|
|
2126
2702
|
]),
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2703
|
+
createElementVNode("div", _hoisted_162, [
|
|
2704
|
+
renderSlot(_ctx.$slots, "toolbar-before", {}, void 0, true),
|
|
2705
|
+
createElementVNode("div", {
|
|
2706
|
+
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",
|
|
2707
|
+
style: { "margin": "6px" },
|
|
2708
|
+
onClick: _cache[46] || (_cache[46] = ($event) => insertElementAtCursorFun())
|
|
2709
|
+
}, _hoisted_164),
|
|
2710
|
+
createElementVNode("div", {
|
|
2711
|
+
onClick: _cache[47] || (_cache[47] = ($event) => insertElementAtCursorFun("i", "**italic text **")),
|
|
2712
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2713
|
+
style: { "margin": "6px" }
|
|
2714
|
+
}, _hoisted_166),
|
|
2715
|
+
createElementVNode("div", {
|
|
2716
|
+
onClick: _cache[48] || (_cache[48] = ($event) => insertElementAtCursorFun("u", "**underLine text**")),
|
|
2717
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2718
|
+
style: { "margin": "6px" }
|
|
2719
|
+
}, _hoisted_168),
|
|
2720
|
+
createElementVNode("div", {
|
|
2721
|
+
onClick: _cache[49] || (_cache[49] = ($event) => insertElementAtCursorFun("s", "**Strike text**")),
|
|
2722
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2723
|
+
style: { "margin": "6px" }
|
|
2724
|
+
}, [
|
|
2725
|
+
createElementVNode("i", _hoisted_169, [
|
|
2726
|
+
(openBlock(), createElementBlock("svg", _hoisted_170, _hoisted_174))
|
|
2151
2727
|
])
|
|
2152
|
-
])
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2728
|
+
]),
|
|
2729
|
+
createElementVNode("div", {
|
|
2730
|
+
onClick: _cache[50] || (_cache[50] = ($event) => insertElementAtCursorFun("sup", "**supperScript**")),
|
|
2731
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2732
|
+
style: { "margin": "6px" }
|
|
2733
|
+
}, _hoisted_176),
|
|
2734
|
+
createElementVNode("div", {
|
|
2735
|
+
onClick: _cache[51] || (_cache[51] = ($event) => insertElementAtCursorFun("sub", "**supperScript**")),
|
|
2736
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2737
|
+
style: { "margin": "6px" }
|
|
2738
|
+
}, _hoisted_178),
|
|
2739
|
+
createElementVNode("div", {
|
|
2740
|
+
onClick: _cache[52] || (_cache[52] = ($event) => insertElementAtCursorFun("Code", "**code**")),
|
|
2741
|
+
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2742
|
+
style: { "margin": "6px" }
|
|
2743
|
+
}, _hoisted_180),
|
|
2744
|
+
createElementVNode("div", _hoisted_181, [
|
|
2745
|
+
_hoisted_182,
|
|
2746
|
+
createElementVNode("div", _hoisted_183, [
|
|
2747
|
+
createElementVNode("div", _hoisted_184, [
|
|
2748
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(colors.value, (col) => {
|
|
2749
|
+
return openBlock(), createElementBlock("div", {
|
|
2750
|
+
class: "color-box",
|
|
2751
|
+
style: normalizeStyle(`background-color: #${col} ;`),
|
|
2752
|
+
onClick: (e) => styleElementIncluderFun("background", `#${col}`, "", "span")
|
|
2753
|
+
}, null, 12, _hoisted_185);
|
|
2754
|
+
}), 256))
|
|
2755
|
+
])
|
|
2163
2756
|
])
|
|
2164
|
-
])
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2757
|
+
]),
|
|
2758
|
+
createElementVNode("div", _hoisted_186, [
|
|
2759
|
+
_hoisted_187,
|
|
2760
|
+
createElementVNode("div", _hoisted_188, [
|
|
2761
|
+
createElementVNode("div", _hoisted_189, [
|
|
2762
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(colors.value, (col) => {
|
|
2763
|
+
return openBlock(), createElementBlock("div", {
|
|
2764
|
+
class: "color-box",
|
|
2765
|
+
style: normalizeStyle(`background-color: #${col} ;`),
|
|
2766
|
+
onClick: (e) => styleElementIncluderFun("color", `#${col}`, "", "span")
|
|
2767
|
+
}, null, 12, _hoisted_190);
|
|
2768
|
+
}), 256))
|
|
2769
|
+
])
|
|
2770
|
+
])
|
|
2771
|
+
]),
|
|
2772
|
+
createElementVNode("div", {
|
|
2773
|
+
title: "Redo",
|
|
2774
|
+
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",
|
|
2775
|
+
st: "",
|
|
2776
|
+
yle: "flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2777
|
+
onClick: _cache[53] || (_cache[53] = () => undoOrRedo("Undo"))
|
|
2778
|
+
}, _hoisted_192),
|
|
2779
|
+
createElementVNode("div", {
|
|
2780
|
+
title: "Redo",
|
|
2781
|
+
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",
|
|
2782
|
+
st: "",
|
|
2783
|
+
yle: "flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2784
|
+
onClick: _cache[54] || (_cache[54] = () => undoOrRedo("Redo"))
|
|
2785
|
+
}, _hoisted_194),
|
|
2786
|
+
createElementVNode("div", {
|
|
2787
|
+
title: "new fresh line",
|
|
2788
|
+
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",
|
|
2789
|
+
st: "",
|
|
2790
|
+
yle: "flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2791
|
+
onClick: _cache[55] || (_cache[55] = ($event) => insertNewLineAtCursorFun())
|
|
2792
|
+
}, _hoisted_196),
|
|
2793
|
+
createElementVNode("div", _hoisted_197, [
|
|
2794
|
+
createElementVNode("input", {
|
|
2795
|
+
list: "fontSizes",
|
|
2796
|
+
style: { "border": "none" },
|
|
2797
|
+
onChange: _cache[56] || (_cache[56] = (e) => styleElementIncluderFun("font-size", e.target.value + "pt")),
|
|
2798
|
+
placeholder: "Size ",
|
|
2799
|
+
class: "p-1 border rounded w-[6vw] h-[3vh]"
|
|
2800
|
+
}, null, 32),
|
|
2801
|
+
createElementVNode("datalist", _hoisted_198, [
|
|
2802
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(89, (size) => {
|
|
2803
|
+
return createElementVNode("option", {
|
|
2804
|
+
key: size,
|
|
2805
|
+
value: size
|
|
2806
|
+
}, toDisplayString(size) + "pt", 9, _hoisted_199);
|
|
2807
|
+
}), 64))
|
|
2808
|
+
])
|
|
2809
|
+
]),
|
|
2810
|
+
renderSlot(_ctx.$slots, "toolbar-after", {}, void 0, true)
|
|
2811
|
+
])
|
|
2188
2812
|
])
|
|
2189
|
-
])
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
])
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
])
|
|
2238
|
-
|
|
2813
|
+
]),
|
|
2814
|
+
createElementVNode("div", {
|
|
2815
|
+
class: "",
|
|
2816
|
+
ref_key: "pomTextEditorContainer",
|
|
2817
|
+
ref: pomTextEditorContainer,
|
|
2818
|
+
id: "pom-texedito-container",
|
|
2819
|
+
style: { "width": "100%", "overflow": "hidden auto", "height": "30vh", "border": "1px solid #9d969633", "padding": "0px", "border-radius": "3px" }
|
|
2820
|
+
}, [
|
|
2821
|
+
createElementVNode("div", _hoisted_200, [
|
|
2822
|
+
__props.TextOnly ? (openBlock(), createElementBlock("textarea", {
|
|
2823
|
+
key: 0,
|
|
2824
|
+
onMouseup: _cache[57] || (_cache[57] = ($event) => containerCursorPosition()),
|
|
2825
|
+
onKeyup: _cache[58] || (_cache[58] = (e) => {
|
|
2826
|
+
containerCursorPosition();
|
|
2827
|
+
}),
|
|
2828
|
+
onInput: returnData,
|
|
2829
|
+
ref_key: "editorRef",
|
|
2830
|
+
ref: editorRef,
|
|
2831
|
+
class: "editor pom-editing-area mt-1 border-gray-300",
|
|
2832
|
+
id: "editor",
|
|
2833
|
+
style: { "height": "100%", "width": "100%", "border": "none", "resize": "none" }
|
|
2834
|
+
}, toDisplayString(__props.Dvalue), 545)) : (openBlock(), createElementBlock("div", {
|
|
2835
|
+
key: 1,
|
|
2836
|
+
"data-placeholder": "Your Editing.....",
|
|
2837
|
+
onDrop: onChangeFileDrop,
|
|
2838
|
+
innerHTML: __props.Dvalue,
|
|
2839
|
+
onMouseup: _cache[59] || (_cache[59] = ($event) => containerCursorPosition()),
|
|
2840
|
+
onKeyup: _cache[60] || (_cache[60] = (e) => {
|
|
2841
|
+
containerCursorPosition();
|
|
2842
|
+
}),
|
|
2843
|
+
ref_key: "editorRef",
|
|
2844
|
+
ref: editorRef,
|
|
2845
|
+
class: "editor pom-editing-area mt-1 border-gray-300",
|
|
2846
|
+
onInput: returnData,
|
|
2847
|
+
contenteditable: "true",
|
|
2848
|
+
id: "editor",
|
|
2849
|
+
style: { "height": "100%", "width": "100%", "border": "none" }
|
|
2850
|
+
}, null, 40, _hoisted_201))
|
|
2851
|
+
])
|
|
2852
|
+
], 512),
|
|
2853
|
+
__props.TextOnly != "true" ? (openBlock(), createElementBlock("div", _hoisted_202, [
|
|
2854
|
+
createElementVNode("div", {
|
|
2855
|
+
class: "hover:bg-gray-200",
|
|
2856
|
+
onClick: _cache[61] || (_cache[61] = ($event) => insertNewLineAtCursorFun())
|
|
2857
|
+
}, _hoisted_205),
|
|
2858
|
+
_hoisted_206,
|
|
2859
|
+
_hoisted_207
|
|
2860
|
+
])) : createCommentVNode("", true)
|
|
2861
|
+
]);
|
|
2862
|
+
};
|
|
2239
2863
|
}
|
|
2240
|
-
}
|
|
2864
|
+
};
|
|
2865
|
+
const Editor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9ee2fe0b"]]);
|
|
2241
2866
|
export {
|
|
2242
|
-
|
|
2867
|
+
Editor as default
|
|
2243
2868
|
};
|