pom-text-editor 0.2.23 → 0.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pom-text-editor.cjs.js +2 -2
- package/dist/pom-text-editor.es.js +389 -558
- package/dist/pom-text-editor.umd.js +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
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)}}();
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){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}}/*!\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-705c999a]: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-705c999a]:focus:before{content:none}.pom-main-element-container .table-picker-wrapper[data-v-705c999a]{position:relative;display:inline-block}.pom-main-element-container .table-picker-trigger[data-v-705c999a]{cursor:pointer;display:flex;align-items:center}.pom-main-element-container .table-picker-container[data-v-705c999a]{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-705c999a]{display:block}.pom-main-element-container .table-picker-grid[data-v-705c999a]{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-705c999a]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.pom-main-element-container .table-picker-grid div[data-v-705c999a]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-705c999a]{font-size:12px;color:#333}.pom-main-element-container .pomXEditor[data-v-705c999a]{border:1px;border-style:solid;border-color:#6972734e}.pom-main-element-container #editor[data-v-705c999a]:focus{outline:none;border:none}.pom-main-element-container .pom-table-editor-container[data-v-705c999a]{display:flex}.pom-main-element-container .pom-table-editor-container a[data-v-705c999a]{color:#00f;text-decoration:underline;cursor:pointer}.pom-main-element-container .pom-table-editor-container a[data-v-705c999a]:link{color:#00f}.pom-main-element-container .pom-table-editor-container a[data-v-705c999a]:visited{color:purple}.pom-main-element-container .pom-table-editor-container a[data-v-705c999a]:hover{color:red;text-decoration:none}.pom-main-element-container .pom-table-editor-container a[data-v-705c999a]:active{color:orange}@media print{.hideonprint[data-v-705c999a]{display:none!important}[data-v-705c999a]{overflow:hidden}}.pom-main-element-container .editor[data-v-705c999a]{padding:10px;border:1px solid #ccc;min-height:200px}.pom-main-element-container .resizable-image[data-v-705c999a]{max-width:100%;resize:both;overflow:auto;display:block;cursor:nwse-resize}.pom-main-element-container[data-v-705c999a] ::-webkit-scrollbar{width:12px;height:12px}.pom-main-element-container[data-v-705c999a] ::-webkit-scrollbar-track{background:#f1f1f1}.pom-main-element-container[data-v-705c999a] ::-webkit-scrollbar-thumb{background-color:#888;border-radius:6px;border:3px solid #f1f1f1}.pom-main-element-container[data-v-705c999a] ::-webkit-scrollbar-thumb:hover{background:#555}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
2
2
|
import { ref, onMounted, openBlock, createElementBlock, createElementVNode, unref, renderSlot, Fragment, renderList, normalizeStyle, toDisplayString, createCommentVNode, createStaticVNode, pushScopeId, popScopeId, createTextVNode } from "vue";
|
|
3
3
|
function updateCursorInfo() {
|
|
4
4
|
const selection = window.getSelection();
|
|
@@ -31,17 +31,36 @@ function initResize(e) {
|
|
|
31
31
|
const startY = e.clientY;
|
|
32
32
|
const startWidth = parseFloat(window.getComputedStyle(container).width);
|
|
33
33
|
const startHeight = parseFloat(window.getComputedStyle(container).height);
|
|
34
|
-
function
|
|
34
|
+
function throttle(func, limit) {
|
|
35
|
+
let lastFunc;
|
|
36
|
+
let lastRan;
|
|
37
|
+
return function(...args) {
|
|
38
|
+
const context = this;
|
|
39
|
+
if (!lastRan) {
|
|
40
|
+
func.apply(context, args);
|
|
41
|
+
lastRan = Date.now();
|
|
42
|
+
} else {
|
|
43
|
+
clearTimeout(lastFunc);
|
|
44
|
+
lastFunc = setTimeout(function() {
|
|
45
|
+
if (Date.now() - lastRan >= limit) {
|
|
46
|
+
func.apply(context, args);
|
|
47
|
+
lastRan = Date.now();
|
|
48
|
+
}
|
|
49
|
+
}, limit - (Date.now() - lastRan));
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
const onMouseMove = throttle(function(e2) {
|
|
35
54
|
const dx = e2.clientX - startX;
|
|
36
55
|
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";
|
|
56
|
+
container.style.width = `${Math.max(50, startWidth + dx)}px`;
|
|
57
|
+
container.style.height = `${Math.max(50, startHeight + dy)}px`;
|
|
41
58
|
const img = container.querySelector("img");
|
|
42
|
-
if (img)
|
|
59
|
+
if (img) {
|
|
43
60
|
img.style.width = "100%";
|
|
44
|
-
|
|
61
|
+
img.style.height = "auto";
|
|
62
|
+
}
|
|
63
|
+
}, 16);
|
|
45
64
|
function onMouseUp() {
|
|
46
65
|
document.removeEventListener("mousemove", onMouseMove);
|
|
47
66
|
document.removeEventListener("mouseup", onMouseUp);
|
|
@@ -49,6 +68,98 @@ function initResize(e) {
|
|
|
49
68
|
document.addEventListener("mousemove", onMouseMove);
|
|
50
69
|
document.addEventListener("mouseup", onMouseUp);
|
|
51
70
|
}
|
|
71
|
+
function insertNewLineAtCursor(editor2) {
|
|
72
|
+
const spaceAfter = document.createElement("div");
|
|
73
|
+
spaceAfter.textContent = "NeW line ";
|
|
74
|
+
editor2.appendChild(spaceAfter);
|
|
75
|
+
spaceAfter.focus();
|
|
76
|
+
}
|
|
77
|
+
function removeAllTables(hide = false, tables = document.getElementsByClassName("pom-table-editor-container")) {
|
|
78
|
+
tables = Array.from(tables);
|
|
79
|
+
tables.forEach((table) => {
|
|
80
|
+
if (hide) {
|
|
81
|
+
const display = table.style.display === "flex" ? "none" : "flex";
|
|
82
|
+
table.style.display = display;
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
table.remove();
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function scopeOutTheUserDataReutur(printableContent = document.getElementById("pom-texedito-container").innerHTML, elementsTohide = ".hideonprint") {
|
|
89
|
+
const printWindow2 = window.open("", "", "height=900,width=800");
|
|
90
|
+
printWindow2.document.write("<html><head><title>Print</title>");
|
|
91
|
+
printWindow2.document.write(`<style>
|
|
92
|
+
${elementsTohide} {
|
|
93
|
+
display: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@media print {
|
|
97
|
+
${elementsTohide} {
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
.pom-4-imageContainer {
|
|
102
|
+
display: block !important;
|
|
103
|
+
}
|
|
104
|
+
</style>`);
|
|
105
|
+
printWindow2.document.write("</head><body>");
|
|
106
|
+
printWindow2.document.write(printableContent);
|
|
107
|
+
printWindow2.document.write("</body></html>");
|
|
108
|
+
printWindow2.document.close();
|
|
109
|
+
const removeinlineblock = printWindow2.document.querySelectorAll(".pom-4-imageContainer");
|
|
110
|
+
bringBackWildImages(removeinlineblock);
|
|
111
|
+
return printWindow2;
|
|
112
|
+
}
|
|
113
|
+
function bringBackWildImages(imageContainers = printWindow.document.querySelectorAll(".pom-4-imageContainer")) {
|
|
114
|
+
if (imageContainers) {
|
|
115
|
+
imageContainers.forEach(function(element) {
|
|
116
|
+
const img = element.querySelector("img");
|
|
117
|
+
const computedStyles = element.getAttribute("style");
|
|
118
|
+
if (computedStyles) {
|
|
119
|
+
img.style.cssText = computedStyles + "; position: initial";
|
|
120
|
+
} else {
|
|
121
|
+
img.style.position = "initial";
|
|
122
|
+
}
|
|
123
|
+
element.style.display = "block";
|
|
124
|
+
const leftPosition = parseInt(element.style.left, 10);
|
|
125
|
+
if (leftPosition > 793.7) {
|
|
126
|
+
element.style.left = "793.7px";
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
function exportUserHtmlForAtheUse(printableContent = document.getElementById("pom-texedito-container")) {
|
|
132
|
+
bringBackWildImages(printableContent.querySelectorAll(".pom-4-imageContainer"));
|
|
133
|
+
const returnData = printableContent.innerHTML;
|
|
134
|
+
return returnData;
|
|
135
|
+
}
|
|
136
|
+
function previewAndPrint(print = true, printableContent = document.getElementById("pom-texedito-container").innerHTML, elementsTohide = "hideonprint") {
|
|
137
|
+
const printableContent2 = styleCss() + printableContent;
|
|
138
|
+
const printWindow2 = scopeOutTheUserDataReutur(printableContent2, elementsTohide);
|
|
139
|
+
if (print) {
|
|
140
|
+
printWindow2.focus();
|
|
141
|
+
printWindow2.onload = function() {
|
|
142
|
+
printWindow2.print();
|
|
143
|
+
};
|
|
144
|
+
printWindow2.onafterprint = function() {
|
|
145
|
+
printWindow2.close();
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
function OnmountedTableActionActivation() {
|
|
150
|
+
const elmnt = document.querySelectorAll(".pom-table-col-resizer");
|
|
151
|
+
elmnt.forEach((d) => {
|
|
152
|
+
d.addEventListener("mousedown", initResize);
|
|
153
|
+
});
|
|
154
|
+
const table2 = document.querySelectorAll("table");
|
|
155
|
+
table2.forEach((d) => {
|
|
156
|
+
d.addEventListener("contextmenu", function(e) {
|
|
157
|
+
e.preventDefault();
|
|
158
|
+
const container = e.target.parentElement;
|
|
159
|
+
createCustomContextMenu(e, d, container);
|
|
160
|
+
});
|
|
161
|
+
});
|
|
162
|
+
}
|
|
52
163
|
let savedRange;
|
|
53
164
|
function handleMouseClick(editor2, tableDimensions) {
|
|
54
165
|
const [columns, rows] = tableDimensions.textContent.split(" x ").map(Number);
|
|
@@ -108,7 +219,7 @@ function insertTableAtCursor(editor2, numRows = 2, numCols = 2) {
|
|
|
108
219
|
resizer.style.top = "0";
|
|
109
220
|
resizer.style.cursor = "col-resize";
|
|
110
221
|
resizer.style.userSelect = "none";
|
|
111
|
-
resizer.
|
|
222
|
+
resizer.classList.add("pom-table-col-resizer");
|
|
112
223
|
cell.style.position = "relative";
|
|
113
224
|
cell.appendChild(resizer);
|
|
114
225
|
row.appendChild(cell);
|
|
@@ -116,10 +227,6 @@ function insertTableAtCursor(editor2, numRows = 2, numCols = 2) {
|
|
|
116
227
|
table.appendChild(row);
|
|
117
228
|
}
|
|
118
229
|
container.appendChild(table);
|
|
119
|
-
table.addEventListener("contextmenu", function(e) {
|
|
120
|
-
e.preventDefault();
|
|
121
|
-
createCustomContextMenu(e, table, container);
|
|
122
|
-
});
|
|
123
230
|
range.deleteContents();
|
|
124
231
|
range.insertNode(container);
|
|
125
232
|
const firstCell = table.querySelector("td");
|
|
@@ -128,6 +235,7 @@ function insertTableAtCursor(editor2, numRows = 2, numCols = 2) {
|
|
|
128
235
|
newRange.collapse(true);
|
|
129
236
|
selection.addRange(newRange);
|
|
130
237
|
savedRange = newRange.cloneRange();
|
|
238
|
+
OnmountedTableActionActivation();
|
|
131
239
|
editor2.focus();
|
|
132
240
|
return savedRange;
|
|
133
241
|
}
|
|
@@ -153,10 +261,10 @@ function createCustomContextMenu(e, table, container) {
|
|
|
153
261
|
text: "Toggle Borders",
|
|
154
262
|
action: () => {
|
|
155
263
|
const hasBorder = table.style.border !== "";
|
|
156
|
-
table.style.border = hasBorder ? "" : "1px solid black";
|
|
264
|
+
table.style.border = hasBorder ? "none" : "1px solid black";
|
|
157
265
|
table.style.borderCollapse = "collapse";
|
|
158
266
|
table.querySelectorAll("td").forEach((td) => {
|
|
159
|
-
td.style.border = hasBorder ? "" : "1px solid black";
|
|
267
|
+
td.style.border = hasBorder ? "none" : "1px solid black";
|
|
160
268
|
});
|
|
161
269
|
}
|
|
162
270
|
},
|
|
@@ -496,84 +604,6 @@ const UndoRedo = {
|
|
|
496
604
|
return lastUndo.text;
|
|
497
605
|
}
|
|
498
606
|
};
|
|
499
|
-
function insertNewLineAtCursor(editor2) {
|
|
500
|
-
const spaceAfter = document.createElement("div");
|
|
501
|
-
spaceAfter.textContent = "NeW line ";
|
|
502
|
-
editor2.appendChild(spaceAfter);
|
|
503
|
-
spaceAfter.focus();
|
|
504
|
-
}
|
|
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;
|
|
511
|
-
return;
|
|
512
|
-
}
|
|
513
|
-
table.remove();
|
|
514
|
-
});
|
|
515
|
-
}
|
|
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} {
|
|
521
|
-
display: none;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
@media print {
|
|
525
|
-
${elementsTohide} {
|
|
526
|
-
display: none;
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
.pom-4-imageContainer {
|
|
530
|
-
display: block !important;
|
|
531
|
-
}
|
|
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;
|
|
540
|
-
}
|
|
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
|
-
}
|
|
558
|
-
}
|
|
559
|
-
function exportUserHtmlForAtheUse(printableContent = document.getElementById("pom-texedito-container")) {
|
|
560
|
-
bringBackWildImages(printableContent.querySelectorAll(".pom-4-imageContainer"));
|
|
561
|
-
const returnData = printableContent.innerHTML;
|
|
562
|
-
return returnData;
|
|
563
|
-
}
|
|
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
|
-
}
|
|
576
|
-
}
|
|
577
607
|
function opensTyleOnElement(savedRange2, editor2, style, value, suffix = "", elementType = "span") {
|
|
578
608
|
if (!savedRange2) {
|
|
579
609
|
console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");
|
|
@@ -588,25 +618,37 @@ function opensTyleOnElement(savedRange2, editor2, style, value, suffix = "", ele
|
|
|
588
618
|
const parentNode = parentElement.nodeType === Node.TEXT_NODE ? parentElement.parentNode : parentElement;
|
|
589
619
|
const tagName = parentNode.tagName.toLowerCase();
|
|
590
620
|
let textToReplace;
|
|
591
|
-
const
|
|
621
|
+
const styleLikeSoJustReplace = ["font-sze"];
|
|
592
622
|
if (parentNode && tagName === elementType) {
|
|
593
623
|
const existingStyle = parentNode.getAttribute("style") || null;
|
|
624
|
+
console.log(parentNode.style[style], existingStyle, "parentNodeparentNodeparentNode");
|
|
594
625
|
if (existingStyle) {
|
|
595
|
-
|
|
626
|
+
const rege = new RegExp(`${style}:\\s*${value};?`, "g");
|
|
627
|
+
const exists = rege.test(existingStyle);
|
|
628
|
+
let updatedStyles;
|
|
629
|
+
if (styleLikeSoJustReplace.includes(style) || !exists)
|
|
630
|
+
parentNode.style[style] = value;
|
|
631
|
+
else {
|
|
632
|
+
updatedStyles = existingStyle.replace(rege, "");
|
|
633
|
+
if (exists)
|
|
634
|
+
parentNode.setAttribute("style", updatedStyles);
|
|
635
|
+
}
|
|
596
636
|
return;
|
|
597
637
|
}
|
|
638
|
+
} else {
|
|
639
|
+
const element = document.createElement(elementType);
|
|
640
|
+
element.style[style] = value;
|
|
641
|
+
element.appendChild(highlightedText);
|
|
642
|
+
textToReplace = element.innerHTML;
|
|
643
|
+
savedRange2.deleteContents();
|
|
644
|
+
element.innerHTML = textToReplace;
|
|
645
|
+
savedRange2.insertNode(element);
|
|
646
|
+
const newRange = document.createRange();
|
|
647
|
+
newRange.collapse(true);
|
|
648
|
+
selection.removeAllRanges();
|
|
649
|
+
selection.addRange(newRange);
|
|
650
|
+
savedRange2 = newRange.cloneRange();
|
|
598
651
|
}
|
|
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
652
|
}
|
|
611
653
|
function insertElementAtCursorHtags(savedRange2, elementType = "h6", placeholderText = "*Header text*", attributes = []) {
|
|
612
654
|
if (savedRange2) {
|
|
@@ -811,7 +853,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
811
853
|
}
|
|
812
854
|
return target;
|
|
813
855
|
};
|
|
814
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
856
|
+
const _withScopeId = (n) => (pushScopeId("data-v-705c999a"), n = n(), popScopeId(), n);
|
|
815
857
|
const _hoisted_1 = { class: "pom-main-element-container" };
|
|
816
858
|
const _hoisted_2 = {
|
|
817
859
|
style: { "width": "100%" },
|
|
@@ -824,7 +866,7 @@ const _hoisted_3 = {
|
|
|
824
866
|
const _hoisted_4 = { class: "flex flex space-x-2 items-center" };
|
|
825
867
|
const _hoisted_5 = { class: "items-center border-1 b g-gray-200 rounded cursor-pointer" };
|
|
826
868
|
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-
|
|
869
|
+
const _hoisted_7 = /* @__PURE__ */ createStaticVNode('<div class="w-full flex rounded-md" data-v-705c999a><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-705c999a><div class="p y-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-705c999a><span class="cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-705c999a>View</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-705c999a><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-705c999a><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-705c999a></path></svg></div></div>', 1);
|
|
828
870
|
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
871
|
const _hoisted_9 = {
|
|
830
872
|
class: "",
|
|
@@ -847,7 +889,7 @@ const _hoisted_15 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
|
|
|
847
889
|
], -1));
|
|
848
890
|
const _hoisted_16 = { class: "items-center border-1 b g-gray-200 rounded cursor-pointer" };
|
|
849
891
|
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-
|
|
892
|
+
const _hoisted_18 = /* @__PURE__ */ createStaticVNode('<div class="w-full flex rounded-md" data-v-705c999a><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-705c999a><div class="p y-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-705c999a><span class="cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-705c999a>Format</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-705c999a><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-705c999a><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-705c999a></path></svg></div></div>', 1);
|
|
851
893
|
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
894
|
const _hoisted_20 = {
|
|
853
895
|
class: "",
|
|
@@ -945,7 +987,7 @@ const _hoisted_65 = [
|
|
|
945
987
|
];
|
|
946
988
|
const _hoisted_66 = { class: "flex items-center border-1 b g-gray-200 rounded cursor-pointer" };
|
|
947
989
|
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-
|
|
990
|
+
const _hoisted_68 = /* @__PURE__ */ createStaticVNode('<div class="w-full flex rounded-md" data-v-705c999a><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-705c999a><div class="p y-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-705c999a><span class="cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-705c999a>Insert</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-705c999a><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-705c999a><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-705c999a></path></svg></div></div>', 1);
|
|
949
991
|
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
992
|
const _hoisted_70 = {
|
|
951
993
|
class: "",
|
|
@@ -964,14 +1006,14 @@ const _hoisted_76 = [
|
|
|
964
1006
|
_hoisted_75
|
|
965
1007
|
];
|
|
966
1008
|
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-
|
|
1009
|
+
const _hoisted_78 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-1" }, "Date/time", -1));
|
|
968
1010
|
const _hoisted_79 = [
|
|
969
1011
|
_hoisted_77,
|
|
970
1012
|
_hoisted_78
|
|
971
1013
|
];
|
|
972
|
-
const _hoisted_80 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "text-center w-full
|
|
1014
|
+
const _hoisted_80 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "text-center w-full p y-1 bg-gray-100 font-bold" }, "Table", -1));
|
|
973
1015
|
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
|
|
1016
|
+
const _hoisted_82 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3" }, "Delete All", -1));
|
|
975
1017
|
const _hoisted_83 = [
|
|
976
1018
|
_hoisted_81,
|
|
977
1019
|
_hoisted_82
|
|
@@ -996,15 +1038,15 @@ const _hoisted_91 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
|
|
|
996
1038
|
"aria-expanded": "true",
|
|
997
1039
|
"aria-haspopup": "true"
|
|
998
1040
|
}, [
|
|
999
|
-
/* @__PURE__ */ createElementVNode("div", { class: "
|
|
1000
|
-
/* @__PURE__ */ createElementVNode("span", { class: "cursor-pointer z-10 ml-1
|
|
1041
|
+
/* @__PURE__ */ createElementVNode("div", { class: "p y-1 w borde r-1 w-full text-start in flex flex-wrap" }, [
|
|
1042
|
+
/* @__PURE__ */ createElementVNode("span", { class: "cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600" }, "Fonts")
|
|
1001
1043
|
])
|
|
1002
1044
|
])
|
|
1003
1045
|
], -1));
|
|
1004
|
-
const _hoisted_92 = { class: "
|
|
1005
|
-
const _hoisted_93 = { class: "cursor-pointer z-10 ml-1
|
|
1046
|
+
const _hoisted_92 = { class: "p y-1 w borde r-1 w-full text-start in flex flex-wrap pom-editor-menu-fonts" };
|
|
1047
|
+
const _hoisted_93 = { class: "cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600" };
|
|
1006
1048
|
const _hoisted_94 = {
|
|
1007
|
-
class: "hidden absolute group-hover:block mt-0
|
|
1049
|
+
class: "hidden text-left absolute group-hover:block mt-0 gap-2 px-2 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",
|
|
1008
1050
|
"data-alloy-placement": "southeast",
|
|
1009
1051
|
style: { "height": "25vh", "overflow": "auto" }
|
|
1010
1052
|
};
|
|
@@ -1022,18 +1064,6 @@ const _hoisted_96 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
|
|
|
1022
1064
|
}, [
|
|
1023
1065
|
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-label" }, [
|
|
1024
1066
|
/* @__PURE__ */ createElementVNode("div", { style: { "font-family": "andale mono, monospace" } }, "Andale Mono")
|
|
1025
|
-
]),
|
|
1026
|
-
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1027
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1028
|
-
width: "24",
|
|
1029
|
-
height: "24",
|
|
1030
|
-
focusable: "false"
|
|
1031
|
-
}, [
|
|
1032
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1034
|
-
"fill-rule": "nonzero"
|
|
1035
|
-
})
|
|
1036
|
-
])
|
|
1037
1067
|
])
|
|
1038
1068
|
], -1));
|
|
1039
1069
|
const _hoisted_97 = {
|
|
@@ -1048,19 +1078,7 @@ const _hoisted_97 = {
|
|
|
1048
1078
|
"aria-selected": "false"
|
|
1049
1079
|
};
|
|
1050
1080
|
const _hoisted_98 = { class: "collection__item-label" };
|
|
1051
|
-
const _hoisted_99 =
|
|
1052
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1053
|
-
width: "24",
|
|
1054
|
-
height: "24",
|
|
1055
|
-
focusable: "false"
|
|
1056
|
-
}, [
|
|
1057
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1059
|
-
"fill-rule": "nonzero"
|
|
1060
|
-
})
|
|
1061
|
-
])
|
|
1062
|
-
], -1));
|
|
1063
|
-
const _hoisted_100 = {
|
|
1081
|
+
const _hoisted_99 = {
|
|
1064
1082
|
title: "Arial Black",
|
|
1065
1083
|
id: "menu-item_7337372467171728727990778",
|
|
1066
1084
|
role: "menuitemcheckbox",
|
|
@@ -1071,20 +1089,8 @@ const _hoisted_100 = {
|
|
|
1071
1089
|
"aria-checked": "false",
|
|
1072
1090
|
"aria-selected": "false"
|
|
1073
1091
|
};
|
|
1074
|
-
const
|
|
1075
|
-
const
|
|
1076
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1077
|
-
width: "24",
|
|
1078
|
-
height: "24",
|
|
1079
|
-
focusable: "false"
|
|
1080
|
-
}, [
|
|
1081
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1083
|
-
"fill-rule": "nonzero"
|
|
1084
|
-
})
|
|
1085
|
-
])
|
|
1086
|
-
], -1));
|
|
1087
|
-
const _hoisted_103 = {
|
|
1092
|
+
const _hoisted_100 = { class: "collection__item-label" };
|
|
1093
|
+
const _hoisted_101 = {
|
|
1088
1094
|
title: "Book Antiqua",
|
|
1089
1095
|
id: "menu-item_8277641917201728727990778",
|
|
1090
1096
|
role: "menuitemcheckbox",
|
|
@@ -1095,20 +1101,8 @@ const _hoisted_103 = {
|
|
|
1095
1101
|
"aria-checked": "false",
|
|
1096
1102
|
"aria-selected": "false"
|
|
1097
1103
|
};
|
|
1098
|
-
const
|
|
1099
|
-
const
|
|
1100
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1101
|
-
width: "24",
|
|
1102
|
-
height: "24",
|
|
1103
|
-
focusable: "false"
|
|
1104
|
-
}, [
|
|
1105
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1107
|
-
"fill-rule": "nonzero"
|
|
1108
|
-
})
|
|
1109
|
-
])
|
|
1110
|
-
], -1));
|
|
1111
|
-
const _hoisted_106 = {
|
|
1104
|
+
const _hoisted_102 = { class: "collection__item-label" };
|
|
1105
|
+
const _hoisted_103 = {
|
|
1112
1106
|
title: "Comic Sans MS",
|
|
1113
1107
|
id: "menu-item_2698863237231728727990778",
|
|
1114
1108
|
role: "menuitemcheckbox",
|
|
@@ -1119,20 +1113,8 @@ const _hoisted_106 = {
|
|
|
1119
1113
|
"aria-checked": "false",
|
|
1120
1114
|
"aria-selected": "false"
|
|
1121
1115
|
};
|
|
1122
|
-
const
|
|
1123
|
-
const
|
|
1124
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1125
|
-
width: "24",
|
|
1126
|
-
height: "24",
|
|
1127
|
-
focusable: "false"
|
|
1128
|
-
}, [
|
|
1129
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1131
|
-
"fill-rule": "nonzero"
|
|
1132
|
-
})
|
|
1133
|
-
])
|
|
1134
|
-
], -1));
|
|
1135
|
-
const _hoisted_109 = {
|
|
1116
|
+
const _hoisted_104 = { class: "collection__item-label" };
|
|
1117
|
+
const _hoisted_105 = {
|
|
1136
1118
|
title: "Courier New",
|
|
1137
1119
|
id: "menu-item_2979203277261728727990778",
|
|
1138
1120
|
role: "menuitemcheckbox",
|
|
@@ -1143,20 +1125,8 @@ const _hoisted_109 = {
|
|
|
1143
1125
|
"aria-checked": "false",
|
|
1144
1126
|
"aria-selected": "false"
|
|
1145
1127
|
};
|
|
1146
|
-
const
|
|
1147
|
-
const
|
|
1148
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1149
|
-
width: "24",
|
|
1150
|
-
height: "24",
|
|
1151
|
-
focusable: "false"
|
|
1152
|
-
}, [
|
|
1153
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1155
|
-
"fill-rule": "nonzero"
|
|
1156
|
-
})
|
|
1157
|
-
])
|
|
1158
|
-
], -1));
|
|
1159
|
-
const _hoisted_112 = {
|
|
1128
|
+
const _hoisted_106 = { class: "collection__item-label" };
|
|
1129
|
+
const _hoisted_107 = {
|
|
1160
1130
|
title: "Georgia",
|
|
1161
1131
|
id: "menu-item_8075939747291728727990778",
|
|
1162
1132
|
role: "menuitemcheckbox",
|
|
@@ -1167,20 +1137,8 @@ const _hoisted_112 = {
|
|
|
1167
1137
|
"aria-checked": "false",
|
|
1168
1138
|
"aria-selected": "false"
|
|
1169
1139
|
};
|
|
1170
|
-
const
|
|
1171
|
-
const
|
|
1172
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1173
|
-
width: "24",
|
|
1174
|
-
height: "24",
|
|
1175
|
-
focusable: "false"
|
|
1176
|
-
}, [
|
|
1177
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1179
|
-
"fill-rule": "nonzero"
|
|
1180
|
-
})
|
|
1181
|
-
])
|
|
1182
|
-
], -1));
|
|
1183
|
-
const _hoisted_115 = {
|
|
1140
|
+
const _hoisted_108 = { class: "collection__item-label" };
|
|
1141
|
+
const _hoisted_109 = {
|
|
1184
1142
|
title: "Helvetica",
|
|
1185
1143
|
id: "menu-item_8872440547321728727990778",
|
|
1186
1144
|
role: "menuitemcheckbox",
|
|
@@ -1190,20 +1148,8 @@ const _hoisted_115 = {
|
|
|
1190
1148
|
"aria-disabled": "false",
|
|
1191
1149
|
"aria-checked": "true"
|
|
1192
1150
|
};
|
|
1193
|
-
const
|
|
1194
|
-
const
|
|
1195
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1196
|
-
width: "24",
|
|
1197
|
-
height: "24",
|
|
1198
|
-
focusable: "false"
|
|
1199
|
-
}, [
|
|
1200
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1202
|
-
"fill-rule": "nonzero"
|
|
1203
|
-
})
|
|
1204
|
-
])
|
|
1205
|
-
], -1));
|
|
1206
|
-
const _hoisted_118 = {
|
|
1151
|
+
const _hoisted_110 = { class: "collection__item-label" };
|
|
1152
|
+
const _hoisted_111 = {
|
|
1207
1153
|
title: "Impact",
|
|
1208
1154
|
id: "menu-item_3423693847351728727990778",
|
|
1209
1155
|
role: "menuitemcheckbox",
|
|
@@ -1213,20 +1159,8 @@ const _hoisted_118 = {
|
|
|
1213
1159
|
"aria-disabled": "false",
|
|
1214
1160
|
"aria-checked": "false"
|
|
1215
1161
|
};
|
|
1216
|
-
const
|
|
1217
|
-
const
|
|
1218
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1219
|
-
width: "24",
|
|
1220
|
-
height: "24",
|
|
1221
|
-
focusable: "false"
|
|
1222
|
-
}, [
|
|
1223
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1225
|
-
"fill-rule": "nonzero"
|
|
1226
|
-
})
|
|
1227
|
-
])
|
|
1228
|
-
], -1));
|
|
1229
|
-
const _hoisted_121 = {
|
|
1162
|
+
const _hoisted_112 = { class: "collection__item-label" };
|
|
1163
|
+
const _hoisted_113 = {
|
|
1230
1164
|
title: "Symbol",
|
|
1231
1165
|
id: "menu-item_7163579447381728727990779",
|
|
1232
1166
|
role: "menuitemcheckbox",
|
|
@@ -1236,20 +1170,8 @@ const _hoisted_121 = {
|
|
|
1236
1170
|
"aria-disabled": "false",
|
|
1237
1171
|
"aria-checked": "false"
|
|
1238
1172
|
};
|
|
1239
|
-
const
|
|
1240
|
-
const
|
|
1241
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1242
|
-
width: "24",
|
|
1243
|
-
height: "24",
|
|
1244
|
-
focusable: "false"
|
|
1245
|
-
}, [
|
|
1246
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1248
|
-
"fill-rule": "nonzero"
|
|
1249
|
-
})
|
|
1250
|
-
])
|
|
1251
|
-
], -1));
|
|
1252
|
-
const _hoisted_124 = {
|
|
1173
|
+
const _hoisted_114 = { class: "collection__item-label" };
|
|
1174
|
+
const _hoisted_115 = {
|
|
1253
1175
|
title: "Tahoma",
|
|
1254
1176
|
id: "menu-item_4449979827411728727990779",
|
|
1255
1177
|
role: "menuitemcheckbox",
|
|
@@ -1259,20 +1181,8 @@ const _hoisted_124 = {
|
|
|
1259
1181
|
"aria-disabled": "false",
|
|
1260
1182
|
"aria-checked": "false"
|
|
1261
1183
|
};
|
|
1262
|
-
const
|
|
1263
|
-
const
|
|
1264
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1265
|
-
width: "24",
|
|
1266
|
-
height: "24",
|
|
1267
|
-
focusable: "false"
|
|
1268
|
-
}, [
|
|
1269
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1271
|
-
"fill-rule": "nonzero"
|
|
1272
|
-
})
|
|
1273
|
-
])
|
|
1274
|
-
], -1));
|
|
1275
|
-
const _hoisted_127 = {
|
|
1184
|
+
const _hoisted_116 = { class: "collection__item-label" };
|
|
1185
|
+
const _hoisted_117 = {
|
|
1276
1186
|
title: "Terminal",
|
|
1277
1187
|
id: "menu-item_2511923047441728727990779",
|
|
1278
1188
|
role: "menuitemcheckbox",
|
|
@@ -1282,20 +1192,8 @@ const _hoisted_127 = {
|
|
|
1282
1192
|
"aria-disabled": "false",
|
|
1283
1193
|
"aria-checked": "false"
|
|
1284
1194
|
};
|
|
1285
|
-
const
|
|
1286
|
-
const
|
|
1287
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1288
|
-
width: "24",
|
|
1289
|
-
height: "24",
|
|
1290
|
-
focusable: "false"
|
|
1291
|
-
}, [
|
|
1292
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1294
|
-
"fill-rule": "nonzero"
|
|
1295
|
-
})
|
|
1296
|
-
])
|
|
1297
|
-
], -1));
|
|
1298
|
-
const _hoisted_130 = {
|
|
1195
|
+
const _hoisted_118 = { class: "collection__item-label" };
|
|
1196
|
+
const _hoisted_119 = {
|
|
1299
1197
|
title: "Times New Roman",
|
|
1300
1198
|
id: "menu-item_7770771337471728727990779",
|
|
1301
1199
|
role: "menuitemcheckbox",
|
|
@@ -1305,20 +1203,8 @@ const _hoisted_130 = {
|
|
|
1305
1203
|
"aria-disabled": "false",
|
|
1306
1204
|
"aria-checked": "false"
|
|
1307
1205
|
};
|
|
1308
|
-
const
|
|
1309
|
-
const
|
|
1310
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1311
|
-
width: "24",
|
|
1312
|
-
height: "24",
|
|
1313
|
-
focusable: "false"
|
|
1314
|
-
}, [
|
|
1315
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1317
|
-
"fill-rule": "nonzero"
|
|
1318
|
-
})
|
|
1319
|
-
])
|
|
1320
|
-
], -1));
|
|
1321
|
-
const _hoisted_133 = {
|
|
1206
|
+
const _hoisted_120 = { class: "collection__item-label" };
|
|
1207
|
+
const _hoisted_121 = {
|
|
1322
1208
|
title: "Trebuchet MS",
|
|
1323
1209
|
id: "menu-item_7916647947501728727990779",
|
|
1324
1210
|
role: "menuitemcheckbox",
|
|
@@ -1328,20 +1214,8 @@ const _hoisted_133 = {
|
|
|
1328
1214
|
"aria-disabled": "false",
|
|
1329
1215
|
"aria-checked": "false"
|
|
1330
1216
|
};
|
|
1331
|
-
const
|
|
1332
|
-
const
|
|
1333
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1334
|
-
width: "24",
|
|
1335
|
-
height: "24",
|
|
1336
|
-
focusable: "false"
|
|
1337
|
-
}, [
|
|
1338
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1340
|
-
"fill-rule": "nonzero"
|
|
1341
|
-
})
|
|
1342
|
-
])
|
|
1343
|
-
], -1));
|
|
1344
|
-
const _hoisted_136 = {
|
|
1217
|
+
const _hoisted_122 = { class: "collection__item-label" };
|
|
1218
|
+
const _hoisted_123 = {
|
|
1345
1219
|
title: "Verdana",
|
|
1346
1220
|
id: "menu-item_1549891587531728727990779",
|
|
1347
1221
|
role: "menuitemcheckbox",
|
|
@@ -1351,20 +1225,8 @@ const _hoisted_136 = {
|
|
|
1351
1225
|
"aria-disabled": "false",
|
|
1352
1226
|
"aria-checked": "false"
|
|
1353
1227
|
};
|
|
1354
|
-
const
|
|
1355
|
-
const
|
|
1356
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1357
|
-
width: "24",
|
|
1358
|
-
height: "24",
|
|
1359
|
-
focusable: "false"
|
|
1360
|
-
}, [
|
|
1361
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1363
|
-
"fill-rule": "nonzero"
|
|
1364
|
-
})
|
|
1365
|
-
])
|
|
1366
|
-
], -1));
|
|
1367
|
-
const _hoisted_139 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
1228
|
+
const _hoisted_124 = { class: "collection__item-label" };
|
|
1229
|
+
const _hoisted_125 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
1368
1230
|
title: "Webdings",
|
|
1369
1231
|
id: "menu-item_955052057561728727990779",
|
|
1370
1232
|
role: "menuitemcheckbox",
|
|
@@ -1376,21 +1238,9 @@ const _hoisted_139 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1376
1238
|
}, [
|
|
1377
1239
|
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-label" }, [
|
|
1378
1240
|
/* @__PURE__ */ createElementVNode("div", null, "Webdings")
|
|
1379
|
-
]),
|
|
1380
|
-
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1381
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1382
|
-
width: "24",
|
|
1383
|
-
height: "24",
|
|
1384
|
-
focusable: "false"
|
|
1385
|
-
}, [
|
|
1386
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1388
|
-
"fill-rule": "nonzero"
|
|
1389
|
-
})
|
|
1390
|
-
])
|
|
1391
1241
|
])
|
|
1392
1242
|
], -1));
|
|
1393
|
-
const
|
|
1243
|
+
const _hoisted_126 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
1394
1244
|
title: "Wingdings",
|
|
1395
1245
|
id: "menu-item_93264657591728727990779",
|
|
1396
1246
|
role: "menuitemcheckbox",
|
|
@@ -1402,22 +1252,10 @@ const _hoisted_140 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1402
1252
|
}, [
|
|
1403
1253
|
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-label" }, [
|
|
1404
1254
|
/* @__PURE__ */ createElementVNode("div", null, "Wingdings")
|
|
1405
|
-
]),
|
|
1406
|
-
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-checkmark" }, [
|
|
1407
|
-
/* @__PURE__ */ createElementVNode("svg", {
|
|
1408
|
-
width: "24",
|
|
1409
|
-
height: "24",
|
|
1410
|
-
focusable: "false"
|
|
1411
|
-
}, [
|
|
1412
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
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",
|
|
1414
|
-
"fill-rule": "nonzero"
|
|
1415
|
-
})
|
|
1416
|
-
])
|
|
1417
1255
|
])
|
|
1418
1256
|
], -1));
|
|
1419
|
-
const
|
|
1420
|
-
const
|
|
1257
|
+
const _hoisted_127 = { style: { "display": "flex", "justify-content": "space-between", "align-items": "center" } };
|
|
1258
|
+
const _hoisted_128 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, [
|
|
1421
1259
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1422
1260
|
width: "24",
|
|
1423
1261
|
height: "24",
|
|
@@ -1429,10 +1267,10 @@ const _hoisted_142 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1429
1267
|
})
|
|
1430
1268
|
])
|
|
1431
1269
|
], -1));
|
|
1432
|
-
const
|
|
1433
|
-
|
|
1270
|
+
const _hoisted_129 = [
|
|
1271
|
+
_hoisted_128
|
|
1434
1272
|
];
|
|
1435
|
-
const
|
|
1273
|
+
const _hoisted_130 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, [
|
|
1436
1274
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1437
1275
|
width: "24",
|
|
1438
1276
|
height: "24",
|
|
@@ -1444,10 +1282,10 @@ const _hoisted_144 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1444
1282
|
})
|
|
1445
1283
|
])
|
|
1446
1284
|
], -1));
|
|
1447
|
-
const
|
|
1448
|
-
|
|
1285
|
+
const _hoisted_131 = [
|
|
1286
|
+
_hoisted_130
|
|
1449
1287
|
];
|
|
1450
|
-
const
|
|
1288
|
+
const _hoisted_132 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "" }, [
|
|
1451
1289
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1452
1290
|
width: "24",
|
|
1453
1291
|
height: "24",
|
|
@@ -1459,10 +1297,10 @@ const _hoisted_146 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1459
1297
|
})
|
|
1460
1298
|
])
|
|
1461
1299
|
], -1));
|
|
1462
|
-
const
|
|
1463
|
-
|
|
1300
|
+
const _hoisted_133 = [
|
|
1301
|
+
_hoisted_132
|
|
1464
1302
|
];
|
|
1465
|
-
const
|
|
1303
|
+
const _hoisted_134 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "" }, [
|
|
1466
1304
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1467
1305
|
width: "24",
|
|
1468
1306
|
height: "24",
|
|
@@ -1474,11 +1312,11 @@ const _hoisted_148 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1474
1312
|
})
|
|
1475
1313
|
])
|
|
1476
1314
|
], -1));
|
|
1477
|
-
const
|
|
1478
|
-
|
|
1315
|
+
const _hoisted_135 = [
|
|
1316
|
+
_hoisted_134
|
|
1479
1317
|
];
|
|
1480
|
-
const
|
|
1481
|
-
const
|
|
1318
|
+
const _hoisted_136 = { class: "relative inline-block text-left group z-10 border-0 w-ful l" };
|
|
1319
|
+
const _hoisted_137 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "w-full flex rounded-md" }, [
|
|
1482
1320
|
/* @__PURE__ */ createElementVNode("button", {
|
|
1483
1321
|
type: "button",
|
|
1484
1322
|
class: "inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",
|
|
@@ -1523,12 +1361,12 @@ const _hoisted_151 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1523
1361
|
])
|
|
1524
1362
|
])
|
|
1525
1363
|
], -1));
|
|
1526
|
-
const
|
|
1527
|
-
const
|
|
1364
|
+
const _hoisted_138 = { 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" };
|
|
1365
|
+
const _hoisted_139 = {
|
|
1528
1366
|
class: "flex",
|
|
1529
1367
|
role: "none"
|
|
1530
1368
|
};
|
|
1531
|
-
const
|
|
1369
|
+
const _hoisted_140 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, [
|
|
1532
1370
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1533
1371
|
width: "48",
|
|
1534
1372
|
height: "48",
|
|
@@ -1557,10 +1395,10 @@ const _hoisted_154 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1557
1395
|
])
|
|
1558
1396
|
])
|
|
1559
1397
|
], -1));
|
|
1560
|
-
const
|
|
1561
|
-
|
|
1398
|
+
const _hoisted_141 = [
|
|
1399
|
+
_hoisted_140
|
|
1562
1400
|
];
|
|
1563
|
-
const
|
|
1401
|
+
const _hoisted_142 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, [
|
|
1564
1402
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1565
1403
|
width: "48",
|
|
1566
1404
|
height: "48",
|
|
@@ -1578,10 +1416,10 @@ const _hoisted_156 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1578
1416
|
])
|
|
1579
1417
|
])
|
|
1580
1418
|
], -1));
|
|
1581
|
-
const
|
|
1582
|
-
|
|
1419
|
+
const _hoisted_143 = [
|
|
1420
|
+
_hoisted_142
|
|
1583
1421
|
];
|
|
1584
|
-
const
|
|
1422
|
+
const _hoisted_144 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
1585
1423
|
width: "48",
|
|
1586
1424
|
height: "48",
|
|
1587
1425
|
viewBox: "0 0 48 48",
|
|
@@ -1639,10 +1477,10 @@ const _hoisted_158 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1639
1477
|
opacity: ".2"
|
|
1640
1478
|
})
|
|
1641
1479
|
], -1));
|
|
1642
|
-
const
|
|
1643
|
-
|
|
1480
|
+
const _hoisted_145 = [
|
|
1481
|
+
_hoisted_144
|
|
1644
1482
|
];
|
|
1645
|
-
const
|
|
1483
|
+
const _hoisted_146 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "text-sm" }, [
|
|
1646
1484
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1647
1485
|
width: "48",
|
|
1648
1486
|
height: "48",
|
|
@@ -1702,27 +1540,27 @@ const _hoisted_160 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1702
1540
|
})
|
|
1703
1541
|
])
|
|
1704
1542
|
], -1));
|
|
1705
|
-
const
|
|
1706
|
-
|
|
1543
|
+
const _hoisted_147 = [
|
|
1544
|
+
_hoisted_146
|
|
1707
1545
|
];
|
|
1708
|
-
const
|
|
1546
|
+
const _hoisted_148 = {
|
|
1709
1547
|
class: "flex items-center gap-1 border-t-2 border-b-2 border-gray-300 bg-white w-full px-1",
|
|
1710
1548
|
style: { "height": "37px" }
|
|
1711
1549
|
};
|
|
1712
|
-
const
|
|
1713
|
-
const
|
|
1714
|
-
|
|
1550
|
+
const _hoisted_149 = /* @__PURE__ */ createStaticVNode('<i class="bold p x-2" data-v-705c999a><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><g id="text-bold" transform="translate(-4 -2)" data-v-705c999a><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-705c999a></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-705c999a></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-705c999a></path></g></g></svg></i>', 1);
|
|
1551
|
+
const _hoisted_150 = [
|
|
1552
|
+
_hoisted_149
|
|
1715
1553
|
];
|
|
1716
|
-
const
|
|
1717
|
-
const
|
|
1718
|
-
|
|
1554
|
+
const _hoisted_151 = /* @__PURE__ */ createStaticVNode('<i class="italic p x-2" data-v-705c999a><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><g id="layer1" data-v-705c999a><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-705c999a></path></g></g></svg></i>', 1);
|
|
1555
|
+
const _hoisted_152 = [
|
|
1556
|
+
_hoisted_151
|
|
1719
1557
|
];
|
|
1720
|
-
const
|
|
1721
|
-
const
|
|
1722
|
-
|
|
1558
|
+
const _hoisted_153 = /* @__PURE__ */ createStaticVNode('<i class="underline p x-2" data-v-705c999a><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-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><g data-v-705c999a><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-705c999a></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-705c999a></path></g></g></svg></i>', 1);
|
|
1559
|
+
const _hoisted_154 = [
|
|
1560
|
+
_hoisted_153
|
|
1723
1561
|
];
|
|
1724
|
-
const
|
|
1725
|
-
const
|
|
1562
|
+
const _hoisted_155 = { class: "strikethrough p x-2" };
|
|
1563
|
+
const _hoisted_156 = {
|
|
1726
1564
|
fill: "#000000",
|
|
1727
1565
|
width: "13px",
|
|
1728
1566
|
height: "13px",
|
|
@@ -1734,16 +1572,16 @@ const _hoisted_170 = {
|
|
|
1734
1572
|
"xmlns:serif": "http://www.serif.com/",
|
|
1735
1573
|
style: { "fill-rule": "evenodd", "clip-rule": "evenodd", "stroke-linejoin": "round", "stroke-miterlimit": "2" }
|
|
1736
1574
|
};
|
|
1737
|
-
const
|
|
1575
|
+
const _hoisted_157 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", {
|
|
1738
1576
|
id: "SVGRepo_bgCarrier",
|
|
1739
1577
|
"stroke-width": "0"
|
|
1740
1578
|
}, null, -1));
|
|
1741
|
-
const
|
|
1579
|
+
const _hoisted_158 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", {
|
|
1742
1580
|
id: "SVGRepo_tracerCarrier",
|
|
1743
1581
|
"stroke-linecap": "round",
|
|
1744
1582
|
"stroke-linejoin": "round"
|
|
1745
1583
|
}, null, -1));
|
|
1746
|
-
const
|
|
1584
|
+
const _hoisted_159 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", { id: "SVGRepo_iconCarrier" }, [
|
|
1747
1585
|
/* @__PURE__ */ createElementVNode("rect", {
|
|
1748
1586
|
id: "Icons",
|
|
1749
1587
|
x: "-192",
|
|
@@ -1839,25 +1677,25 @@ const _hoisted_173 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1839
1677
|
/* @__PURE__ */ createElementVNode("g", { id: "Layer1" })
|
|
1840
1678
|
])
|
|
1841
1679
|
], -1));
|
|
1842
|
-
const
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1680
|
+
const _hoisted_160 = [
|
|
1681
|
+
_hoisted_157,
|
|
1682
|
+
_hoisted_158,
|
|
1683
|
+
_hoisted_159
|
|
1846
1684
|
];
|
|
1847
|
-
const
|
|
1848
|
-
const
|
|
1849
|
-
|
|
1685
|
+
const _hoisted_161 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "superscript p x-2" }, "sup", -1));
|
|
1686
|
+
const _hoisted_162 = [
|
|
1687
|
+
_hoisted_161
|
|
1850
1688
|
];
|
|
1851
|
-
const
|
|
1852
|
-
const
|
|
1853
|
-
|
|
1689
|
+
const _hoisted_163 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "subscript p x-2" }, "sub", -1));
|
|
1690
|
+
const _hoisted_164 = [
|
|
1691
|
+
_hoisted_163
|
|
1854
1692
|
];
|
|
1855
|
-
const
|
|
1856
|
-
const
|
|
1857
|
-
|
|
1693
|
+
const _hoisted_165 = /* @__PURE__ */ createStaticVNode('<i class="-code p x-2" data-v-705c999a><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-705c999a></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-705c999a></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-705c999a></path></g></svg></i>', 1);
|
|
1694
|
+
const _hoisted_166 = [
|
|
1695
|
+
_hoisted_165
|
|
1858
1696
|
];
|
|
1859
|
-
const
|
|
1860
|
-
const
|
|
1697
|
+
const _hoisted_167 = { 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" };
|
|
1698
|
+
const _hoisted_168 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", {
|
|
1861
1699
|
class: "solid brush display-color",
|
|
1862
1700
|
style: { "margin": "6px 0px 0px 0px", "border": "none" }
|
|
1863
1701
|
}, [
|
|
@@ -1879,14 +1717,14 @@ const _hoisted_182 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1879
1717
|
])
|
|
1880
1718
|
])
|
|
1881
1719
|
], -1));
|
|
1882
|
-
const
|
|
1720
|
+
const _hoisted_169 = {
|
|
1883
1721
|
class: "color-picker color-container",
|
|
1884
1722
|
style: { "position": "absolute", "top": "0", "bottom": "0", "height": "50vh", "overflow": "auto" }
|
|
1885
1723
|
};
|
|
1886
|
-
const
|
|
1887
|
-
const
|
|
1888
|
-
const
|
|
1889
|
-
const
|
|
1724
|
+
const _hoisted_170 = { class: "color-grid" };
|
|
1725
|
+
const _hoisted_171 = ["onClick"];
|
|
1726
|
+
const _hoisted_172 = { 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" };
|
|
1727
|
+
const _hoisted_173 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", {
|
|
1890
1728
|
class: "solid brush display-color",
|
|
1891
1729
|
style: { "margin": "6px 0px 0px 0px", "border": "none" }
|
|
1892
1730
|
}, [
|
|
@@ -1914,45 +1752,51 @@ const _hoisted_187 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1914
1752
|
])
|
|
1915
1753
|
])
|
|
1916
1754
|
], -1));
|
|
1917
|
-
const
|
|
1755
|
+
const _hoisted_174 = {
|
|
1918
1756
|
class: "color-picker color-container",
|
|
1919
1757
|
style: { "position": "absolute", "top": "0", "bottom": "0", "height": "fit-content", "overflow": "auto" }
|
|
1920
1758
|
};
|
|
1921
|
-
const
|
|
1922
|
-
const
|
|
1923
|
-
const
|
|
1924
|
-
const
|
|
1925
|
-
|
|
1759
|
+
const _hoisted_175 = { class: "color-grid" };
|
|
1760
|
+
const _hoisted_176 = ["onClick"];
|
|
1761
|
+
const _hoisted_177 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-705c999a><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><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-705c999a></path></g></svg></span>', 1);
|
|
1762
|
+
const _hoisted_178 = [
|
|
1763
|
+
_hoisted_177
|
|
1926
1764
|
];
|
|
1927
|
-
const
|
|
1928
|
-
const
|
|
1929
|
-
|
|
1765
|
+
const _hoisted_179 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-705c999a><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><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-705c999a></path></g></svg></span>', 1);
|
|
1766
|
+
const _hoisted_180 = [
|
|
1767
|
+
_hoisted_179
|
|
1930
1768
|
];
|
|
1931
|
-
const
|
|
1932
|
-
const
|
|
1933
|
-
|
|
1769
|
+
const _hoisted_181 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-705c999a><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><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-705c999a></path></g></svg></span>', 1);
|
|
1770
|
+
const _hoisted_182 = [
|
|
1771
|
+
_hoisted_181
|
|
1934
1772
|
];
|
|
1935
|
-
const
|
|
1936
|
-
const
|
|
1937
|
-
const
|
|
1938
|
-
const
|
|
1939
|
-
const
|
|
1940
|
-
|
|
1773
|
+
const _hoisted_183 = { style: { "width": "3%" } };
|
|
1774
|
+
const _hoisted_184 = { class: "items-center bo rder-1 b g-gray-200 rounded cursor-pointer" };
|
|
1775
|
+
const _hoisted_185 = { class: "" };
|
|
1776
|
+
const _hoisted_186 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "showfontFamilyMenu" }, "Sizes", -1));
|
|
1777
|
+
const _hoisted_187 = {
|
|
1778
|
+
class: "p y-1 w borde r-1 w-full text-start in flex flex-wrap pom-editor-menu-fonts relative inline-block text-left group z-10 border-0",
|
|
1779
|
+
style: { "height": "26vh", "overflow": "auto", "width": "6vw" }
|
|
1780
|
+
};
|
|
1781
|
+
const _hoisted_188 = ["onClick", "value"];
|
|
1782
|
+
const _hoisted_189 = { style: { "min-height": "100%", "text-align": "justify" } };
|
|
1783
|
+
const _hoisted_190 = ["innerHTML"];
|
|
1784
|
+
const _hoisted_191 = {
|
|
1941
1785
|
key: 0,
|
|
1942
1786
|
class: "hideonprint flex items-center",
|
|
1943
1787
|
style: { "text-align": "center", "align-items": "stretch", "gap": "10px" }
|
|
1944
1788
|
};
|
|
1945
|
-
const
|
|
1946
|
-
const
|
|
1947
|
-
const
|
|
1948
|
-
|
|
1949
|
-
|
|
1789
|
+
const _hoisted_192 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "-" }, null, -1));
|
|
1790
|
+
const _hoisted_193 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { class: "p x-2" }, "NEW LINE", -1));
|
|
1791
|
+
const _hoisted_194 = [
|
|
1792
|
+
_hoisted_192,
|
|
1793
|
+
_hoisted_193
|
|
1950
1794
|
];
|
|
1951
|
-
const
|
|
1795
|
+
const _hoisted_195 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { style: { "margin": "0 0 0 10px" } }, [
|
|
1952
1796
|
/* @__PURE__ */ createTextVNode("Cursor position: "),
|
|
1953
1797
|
/* @__PURE__ */ createElementVNode("span", { id: "cursorPosition" }, "0")
|
|
1954
1798
|
], -1));
|
|
1955
|
-
const
|
|
1799
|
+
const _hoisted_196 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
|
|
1956
1800
|
/* @__PURE__ */ createTextVNode("Text at cursor: "),
|
|
1957
1801
|
/* @__PURE__ */ createElementVNode("span", { id: "textAtCursor" })
|
|
1958
1802
|
], -1));
|
|
@@ -2124,13 +1968,14 @@ const _sfc_main = {
|
|
|
2124
1968
|
}
|
|
2125
1969
|
if (htmlResult) {
|
|
2126
1970
|
setTimeout(() => {
|
|
2127
|
-
emit("change", htmlResult);
|
|
1971
|
+
emit("change", htmlResult.replace(/<(\w+)[^>]*>\s*<\/\1>/g, ""));
|
|
2128
1972
|
}, 300);
|
|
2129
1973
|
}
|
|
2130
1974
|
}
|
|
2131
1975
|
function onMountedFunctionsset(params) {
|
|
2132
1976
|
editorRef.value.focus();
|
|
2133
1977
|
returnData();
|
|
1978
|
+
OnmountedTableActionActivation();
|
|
2134
1979
|
}
|
|
2135
1980
|
function dropedImageRedirection(imgResizer) {
|
|
2136
1981
|
imgResizer.addEventListener("click", function(e) {
|
|
@@ -2531,240 +2376,226 @@ const _sfc_main = {
|
|
|
2531
2376
|
onClick: _cache[24] || (_cache[24] = () => fontFamilyChanger("font-family", " arial, helvetica, sans-serif")),
|
|
2532
2377
|
style: { "font-family": "arial, helvetica, sans-serif" }
|
|
2533
2378
|
}, "Arial ")
|
|
2534
|
-
])
|
|
2535
|
-
_hoisted_99
|
|
2379
|
+
])
|
|
2536
2380
|
]),
|
|
2537
|
-
createElementVNode("div",
|
|
2538
|
-
createElementVNode("div",
|
|
2381
|
+
createElementVNode("div", _hoisted_99, [
|
|
2382
|
+
createElementVNode("div", _hoisted_100, [
|
|
2539
2383
|
createElementVNode("div", {
|
|
2540
2384
|
style: { "font-family": '"arial black", sans-serif' },
|
|
2541
2385
|
onClick: _cache[25] || (_cache[25] = () => fontFamilyChanger("font-family", "arial black, sans-serif"))
|
|
2542
2386
|
}, " Arial Black")
|
|
2543
|
-
])
|
|
2544
|
-
_hoisted_102
|
|
2387
|
+
])
|
|
2545
2388
|
]),
|
|
2546
|
-
createElementVNode("div",
|
|
2547
|
-
createElementVNode("div",
|
|
2389
|
+
createElementVNode("div", _hoisted_101, [
|
|
2390
|
+
createElementVNode("div", _hoisted_102, [
|
|
2548
2391
|
createElementVNode("div", {
|
|
2549
2392
|
style: { "font-family": "book antiqua, palatino, serif" },
|
|
2550
2393
|
onClick: _cache[26] || (_cache[26] = () => fontFamilyChanger("font-family", "book antiqua, palatino, serif"))
|
|
2551
2394
|
}, " Book Antiqua")
|
|
2552
|
-
])
|
|
2553
|
-
_hoisted_105
|
|
2395
|
+
])
|
|
2554
2396
|
]),
|
|
2555
|
-
createElementVNode("div",
|
|
2556
|
-
createElementVNode("div",
|
|
2397
|
+
createElementVNode("div", _hoisted_103, [
|
|
2398
|
+
createElementVNode("div", _hoisted_104, [
|
|
2557
2399
|
createElementVNode("div", {
|
|
2558
2400
|
style: { "font-family": '"comic sans ms", sans-serif' },
|
|
2559
2401
|
onClick: _cache[27] || (_cache[27] = () => fontFamilyChanger("font-family", 'comic sans ms", sans-serif'))
|
|
2560
2402
|
}, " Comic Sans MS")
|
|
2561
|
-
])
|
|
2562
|
-
_hoisted_108
|
|
2403
|
+
])
|
|
2563
2404
|
]),
|
|
2564
|
-
createElementVNode("div",
|
|
2565
|
-
createElementVNode("div",
|
|
2405
|
+
createElementVNode("div", _hoisted_105, [
|
|
2406
|
+
createElementVNode("div", _hoisted_106, [
|
|
2566
2407
|
createElementVNode("div", {
|
|
2567
2408
|
style: { "font-family": "courier new, courier, monospace" },
|
|
2568
2409
|
onClick: _cache[28] || (_cache[28] = () => fontFamilyChanger("font-family", " courier new, courier, monospace;"))
|
|
2569
2410
|
}, " Courier New")
|
|
2570
|
-
])
|
|
2571
|
-
_hoisted_111
|
|
2411
|
+
])
|
|
2572
2412
|
]),
|
|
2573
|
-
createElementVNode("div",
|
|
2574
|
-
createElementVNode("div",
|
|
2413
|
+
createElementVNode("div", _hoisted_107, [
|
|
2414
|
+
createElementVNode("div", _hoisted_108, [
|
|
2575
2415
|
createElementVNode("div", {
|
|
2576
2416
|
style: { "font-family": "georgia, palatino, serif" },
|
|
2577
2417
|
onClick: _cache[29] || (_cache[29] = () => fontFamilyChanger("font-family", " georgia, palatino, serif"))
|
|
2578
2418
|
}, "Georgia ")
|
|
2579
|
-
])
|
|
2580
|
-
_hoisted_114
|
|
2419
|
+
])
|
|
2581
2420
|
]),
|
|
2582
|
-
createElementVNode("div",
|
|
2583
|
-
createElementVNode("div",
|
|
2421
|
+
createElementVNode("div", _hoisted_109, [
|
|
2422
|
+
createElementVNode("div", _hoisted_110, [
|
|
2584
2423
|
createElementVNode("div", {
|
|
2585
2424
|
style: { "font-family": "helvetica, arial, sans-serif" },
|
|
2586
2425
|
onClick: _cache[30] || (_cache[30] = () => fontFamilyChanger("font-family", " helvetica, arial, sans-serif"))
|
|
2587
2426
|
}, " Helvetica")
|
|
2588
|
-
])
|
|
2589
|
-
_hoisted_117
|
|
2427
|
+
])
|
|
2590
2428
|
]),
|
|
2591
|
-
createElementVNode("div",
|
|
2592
|
-
createElementVNode("div",
|
|
2429
|
+
createElementVNode("div", _hoisted_111, [
|
|
2430
|
+
createElementVNode("div", _hoisted_112, [
|
|
2593
2431
|
createElementVNode("div", {
|
|
2594
2432
|
style: { "font-family": "impact, sans-serif" },
|
|
2595
2433
|
onClick: _cache[31] || (_cache[31] = () => fontFamilyChanger("font-family", " impact, sans-serif"))
|
|
2596
2434
|
}, "Impact")
|
|
2597
|
-
])
|
|
2598
|
-
_hoisted_120
|
|
2435
|
+
])
|
|
2599
2436
|
]),
|
|
2600
|
-
createElementVNode("div",
|
|
2601
|
-
createElementVNode("div",
|
|
2437
|
+
createElementVNode("div", _hoisted_113, [
|
|
2438
|
+
createElementVNode("div", _hoisted_114, [
|
|
2602
2439
|
createElementVNode("div", {
|
|
2603
2440
|
style: { "font-family": "symbol" },
|
|
2604
2441
|
onClick: _cache[32] || (_cache[32] = () => fontFamilyChanger("font-family", " symbol"))
|
|
2605
2442
|
}, "Symbol")
|
|
2606
|
-
])
|
|
2607
|
-
_hoisted_123
|
|
2443
|
+
])
|
|
2608
2444
|
]),
|
|
2609
|
-
createElementVNode("div",
|
|
2610
|
-
createElementVNode("div",
|
|
2445
|
+
createElementVNode("div", _hoisted_115, [
|
|
2446
|
+
createElementVNode("div", _hoisted_116, [
|
|
2611
2447
|
createElementVNode("div", {
|
|
2612
2448
|
style: { "font-family": "tahoma, arial, helvetica, sans-serif" },
|
|
2613
2449
|
onClick: _cache[33] || (_cache[33] = () => fontFamilyChanger("font-family", " tahoma, arial, helvetica, sans-serif"))
|
|
2614
2450
|
}, " Tahoma")
|
|
2615
|
-
])
|
|
2616
|
-
_hoisted_126
|
|
2451
|
+
])
|
|
2617
2452
|
]),
|
|
2618
|
-
createElementVNode("div",
|
|
2619
|
-
createElementVNode("div",
|
|
2453
|
+
createElementVNode("div", _hoisted_117, [
|
|
2454
|
+
createElementVNode("div", _hoisted_118, [
|
|
2620
2455
|
createElementVNode("div", {
|
|
2621
2456
|
style: { "font-family": "terminal, monaco, monospace" },
|
|
2622
2457
|
onClick: _cache[34] || (_cache[34] = () => fontFamilyChanger("font-family", " terminal, monaco, monospace"))
|
|
2623
2458
|
}, "Terminal ")
|
|
2624
|
-
])
|
|
2625
|
-
_hoisted_129
|
|
2459
|
+
])
|
|
2626
2460
|
]),
|
|
2627
|
-
createElementVNode("div",
|
|
2628
|
-
createElementVNode("div",
|
|
2461
|
+
createElementVNode("div", _hoisted_119, [
|
|
2462
|
+
createElementVNode("div", _hoisted_120, [
|
|
2629
2463
|
createElementVNode("div", {
|
|
2630
2464
|
style: { "font-family": "times new roman, times, serif" },
|
|
2631
2465
|
onClick: _cache[35] || (_cache[35] = () => fontFamilyChanger("font-family", " times new roman, times, serif"))
|
|
2632
2466
|
}, " Times New Roman")
|
|
2633
|
-
])
|
|
2634
|
-
_hoisted_132
|
|
2467
|
+
])
|
|
2635
2468
|
]),
|
|
2636
|
-
createElementVNode("div",
|
|
2637
|
-
createElementVNode("div",
|
|
2469
|
+
createElementVNode("div", _hoisted_121, [
|
|
2470
|
+
createElementVNode("div", _hoisted_122, [
|
|
2638
2471
|
createElementVNode("div", {
|
|
2639
2472
|
style: { "font-family": "trebuchet ms, geneva, sans-serif" },
|
|
2640
2473
|
onClick: _cache[36] || (_cache[36] = () => fontFamilyChanger("font-family", " trebuchet ms, geneva, sans-serif"))
|
|
2641
2474
|
}, " Trebuchet MS")
|
|
2642
|
-
])
|
|
2643
|
-
_hoisted_135
|
|
2475
|
+
])
|
|
2644
2476
|
]),
|
|
2645
|
-
createElementVNode("div",
|
|
2646
|
-
createElementVNode("div",
|
|
2477
|
+
createElementVNode("div", _hoisted_123, [
|
|
2478
|
+
createElementVNode("div", _hoisted_124, [
|
|
2647
2479
|
createElementVNode("div", {
|
|
2648
2480
|
style: { "font-family": "verdana, geneva, sans-serif" },
|
|
2649
2481
|
onClick: _cache[37] || (_cache[37] = () => fontFamilyChanger("font-family", " verdana, geneva, sans-serif"))
|
|
2650
2482
|
}, "Verdana ")
|
|
2651
|
-
])
|
|
2652
|
-
_hoisted_138
|
|
2483
|
+
])
|
|
2653
2484
|
]),
|
|
2654
|
-
|
|
2655
|
-
|
|
2485
|
+
_hoisted_125,
|
|
2486
|
+
_hoisted_126
|
|
2656
2487
|
])
|
|
2657
2488
|
])
|
|
2658
2489
|
])
|
|
2659
2490
|
])
|
|
2660
2491
|
])
|
|
2661
2492
|
]),
|
|
2662
|
-
createElementVNode("div",
|
|
2493
|
+
createElementVNode("div", _hoisted_127, [
|
|
2663
2494
|
createElementVNode("button", {
|
|
2664
2495
|
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2665
2496
|
onClick: _cache[38] || (_cache[38] = ($event) => ChangeTheDirectionOFTextFun("text-align", "justify", "", "p"))
|
|
2666
|
-
},
|
|
2497
|
+
}, _hoisted_129),
|
|
2667
2498
|
createElementVNode("button", {
|
|
2668
2499
|
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2669
2500
|
onClick: _cache[39] || (_cache[39] = ($event) => ChangeTheDirectionOFTextFun("text-align", "center", "", "div"))
|
|
2670
|
-
},
|
|
2501
|
+
}, _hoisted_131),
|
|
2671
2502
|
createElementVNode("button", {
|
|
2672
2503
|
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2673
2504
|
onClick: _cache[40] || (_cache[40] = ($event) => ChangeTheDirectionOFTextFun("text-align", "end", "", "p"))
|
|
2674
|
-
},
|
|
2505
|
+
}, _hoisted_133),
|
|
2675
2506
|
createElementVNode("button", {
|
|
2676
2507
|
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2677
2508
|
onClick: _cache[41] || (_cache[41] = ($event) => ChangeTheDirectionOFTextFun("text-align", "start", "", "div"))
|
|
2678
|
-
},
|
|
2509
|
+
}, _hoisted_135)
|
|
2679
2510
|
]),
|
|
2680
|
-
createElementVNode("div",
|
|
2681
|
-
|
|
2682
|
-
createElementVNode("div",
|
|
2683
|
-
createElementVNode("div",
|
|
2511
|
+
createElementVNode("div", _hoisted_136, [
|
|
2512
|
+
_hoisted_137,
|
|
2513
|
+
createElementVNode("div", _hoisted_138, [
|
|
2514
|
+
createElementVNode("div", _hoisted_139, [
|
|
2684
2515
|
createElementVNode("div", {
|
|
2685
2516
|
onClick: _cache[42] || (_cache[42] = ($event) => insertUnorderedListAtCursorFun(3, "disc"))
|
|
2686
|
-
},
|
|
2517
|
+
}, _hoisted_141),
|
|
2687
2518
|
createElementVNode("div", {
|
|
2688
2519
|
onClick: _cache[43] || (_cache[43] = ($event) => insertUnorderedListAtCursorFun(3, "circle"))
|
|
2689
|
-
},
|
|
2520
|
+
}, _hoisted_143),
|
|
2690
2521
|
createElementVNode("div", null, [
|
|
2691
2522
|
createElementVNode("div", {
|
|
2692
2523
|
class: "",
|
|
2693
2524
|
onClick: _cache[44] || (_cache[44] = ($event) => insertUnorderedListAtCursorFun())
|
|
2694
|
-
},
|
|
2525
|
+
}, _hoisted_145)
|
|
2695
2526
|
]),
|
|
2696
2527
|
createElementVNode("div", {
|
|
2697
2528
|
onClick: _cache[45] || (_cache[45] = ($event) => insertUnorderedListAtCursorFun(3, "upper-latin"))
|
|
2698
|
-
},
|
|
2529
|
+
}, _hoisted_147)
|
|
2699
2530
|
])
|
|
2700
2531
|
])
|
|
2701
2532
|
])
|
|
2702
2533
|
]),
|
|
2703
|
-
createElementVNode("div",
|
|
2534
|
+
createElementVNode("div", _hoisted_148, [
|
|
2704
2535
|
renderSlot(_ctx.$slots, "toolbar-before", {}, void 0, true),
|
|
2705
2536
|
createElementVNode("div", {
|
|
2706
2537
|
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
2538
|
style: { "margin": "6px" },
|
|
2708
2539
|
onClick: _cache[46] || (_cache[46] = ($event) => insertElementAtCursorFun())
|
|
2709
|
-
},
|
|
2540
|
+
}, _hoisted_150),
|
|
2710
2541
|
createElementVNode("div", {
|
|
2711
2542
|
onClick: _cache[47] || (_cache[47] = ($event) => insertElementAtCursorFun("i", "**italic text **")),
|
|
2712
2543
|
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
2544
|
style: { "margin": "6px" }
|
|
2714
|
-
},
|
|
2545
|
+
}, _hoisted_152),
|
|
2715
2546
|
createElementVNode("div", {
|
|
2716
2547
|
onClick: _cache[48] || (_cache[48] = ($event) => insertElementAtCursorFun("u", "**underLine text**")),
|
|
2717
2548
|
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
2549
|
style: { "margin": "6px" }
|
|
2719
|
-
},
|
|
2550
|
+
}, _hoisted_154),
|
|
2720
2551
|
createElementVNode("div", {
|
|
2721
2552
|
onClick: _cache[49] || (_cache[49] = ($event) => insertElementAtCursorFun("s", "**Strike text**")),
|
|
2722
2553
|
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
2554
|
style: { "margin": "6px" }
|
|
2724
2555
|
}, [
|
|
2725
|
-
createElementVNode("i",
|
|
2726
|
-
(openBlock(), createElementBlock("svg",
|
|
2556
|
+
createElementVNode("i", _hoisted_155, [
|
|
2557
|
+
(openBlock(), createElementBlock("svg", _hoisted_156, _hoisted_160))
|
|
2727
2558
|
])
|
|
2728
2559
|
]),
|
|
2729
2560
|
createElementVNode("div", {
|
|
2730
2561
|
onClick: _cache[50] || (_cache[50] = ($event) => insertElementAtCursorFun("sup", "**supperScript**")),
|
|
2731
2562
|
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
2563
|
style: { "margin": "6px" }
|
|
2733
|
-
},
|
|
2564
|
+
}, _hoisted_162),
|
|
2734
2565
|
createElementVNode("div", {
|
|
2735
2566
|
onClick: _cache[51] || (_cache[51] = ($event) => insertElementAtCursorFun("sub", "**supperScript**")),
|
|
2736
2567
|
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
2568
|
style: { "margin": "6px" }
|
|
2738
|
-
},
|
|
2569
|
+
}, _hoisted_164),
|
|
2739
2570
|
createElementVNode("div", {
|
|
2740
2571
|
onClick: _cache[52] || (_cache[52] = ($event) => insertElementAtCursorFun("Code", "**code**")),
|
|
2741
2572
|
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
2573
|
style: { "margin": "6px" }
|
|
2743
|
-
},
|
|
2744
|
-
createElementVNode("div",
|
|
2745
|
-
|
|
2746
|
-
createElementVNode("div",
|
|
2747
|
-
createElementVNode("div",
|
|
2574
|
+
}, _hoisted_166),
|
|
2575
|
+
createElementVNode("div", _hoisted_167, [
|
|
2576
|
+
_hoisted_168,
|
|
2577
|
+
createElementVNode("div", _hoisted_169, [
|
|
2578
|
+
createElementVNode("div", _hoisted_170, [
|
|
2748
2579
|
(openBlock(true), createElementBlock(Fragment, null, renderList(colors.value, (col) => {
|
|
2749
2580
|
return openBlock(), createElementBlock("div", {
|
|
2750
2581
|
class: "color-box",
|
|
2751
2582
|
style: normalizeStyle(`background-color: #${col} ;`),
|
|
2752
2583
|
onClick: (e) => styleElementIncluderFun("background", `#${col}`, "", "span")
|
|
2753
|
-
}, null, 12,
|
|
2584
|
+
}, null, 12, _hoisted_171);
|
|
2754
2585
|
}), 256))
|
|
2755
2586
|
])
|
|
2756
2587
|
])
|
|
2757
2588
|
]),
|
|
2758
|
-
createElementVNode("div",
|
|
2759
|
-
|
|
2760
|
-
createElementVNode("div",
|
|
2761
|
-
createElementVNode("div",
|
|
2589
|
+
createElementVNode("div", _hoisted_172, [
|
|
2590
|
+
_hoisted_173,
|
|
2591
|
+
createElementVNode("div", _hoisted_174, [
|
|
2592
|
+
createElementVNode("div", _hoisted_175, [
|
|
2762
2593
|
(openBlock(true), createElementBlock(Fragment, null, renderList(colors.value, (col) => {
|
|
2763
2594
|
return openBlock(), createElementBlock("div", {
|
|
2764
2595
|
class: "color-box",
|
|
2765
2596
|
style: normalizeStyle(`background-color: #${col} ;`),
|
|
2766
2597
|
onClick: (e) => styleElementIncluderFun("color", `#${col}`, "", "span")
|
|
2767
|
-
}, null, 12,
|
|
2598
|
+
}, null, 12, _hoisted_176);
|
|
2768
2599
|
}), 256))
|
|
2769
2600
|
])
|
|
2770
2601
|
])
|
|
@@ -2775,36 +2606,36 @@ const _sfc_main = {
|
|
|
2775
2606
|
st: "",
|
|
2776
2607
|
yle: "flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2777
2608
|
onClick: _cache[53] || (_cache[53] = () => undoOrRedo("Undo"))
|
|
2778
|
-
},
|
|
2609
|
+
}, _hoisted_178),
|
|
2779
2610
|
createElementVNode("div", {
|
|
2780
2611
|
title: "Redo",
|
|
2781
2612
|
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
2613
|
st: "",
|
|
2783
2614
|
yle: "flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2784
2615
|
onClick: _cache[54] || (_cache[54] = () => undoOrRedo("Redo"))
|
|
2785
|
-
},
|
|
2616
|
+
}, _hoisted_180),
|
|
2786
2617
|
createElementVNode("div", {
|
|
2787
2618
|
title: "new fresh line",
|
|
2788
2619
|
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
2620
|
st: "",
|
|
2790
2621
|
yle: "flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2791
2622
|
onClick: _cache[55] || (_cache[55] = ($event) => insertNewLineAtCursorFun())
|
|
2792
|
-
},
|
|
2793
|
-
createElementVNode("div",
|
|
2794
|
-
createElementVNode("
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2623
|
+
}, _hoisted_182),
|
|
2624
|
+
createElementVNode("div", _hoisted_183, [
|
|
2625
|
+
createElementVNode("div", _hoisted_184, [
|
|
2626
|
+
createElementVNode("div", _hoisted_185, [
|
|
2627
|
+
_hoisted_186,
|
|
2628
|
+
createElementVNode("div", _hoisted_187, [
|
|
2629
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(89, (size) => {
|
|
2630
|
+
return createElementVNode("div", {
|
|
2631
|
+
onClick: (e) => styleElementIncluderFun("font-size", size + "pt"),
|
|
2632
|
+
key: size,
|
|
2633
|
+
value: size,
|
|
2634
|
+
style: { "display": "block" }
|
|
2635
|
+
}, toDisplayString(size) + "pt", 9, _hoisted_188);
|
|
2636
|
+
}), 64))
|
|
2637
|
+
])
|
|
2638
|
+
])
|
|
2808
2639
|
])
|
|
2809
2640
|
]),
|
|
2810
2641
|
renderSlot(_ctx.$slots, "toolbar-after", {}, void 0, true)
|
|
@@ -2818,11 +2649,11 @@ const _sfc_main = {
|
|
|
2818
2649
|
id: "pom-texedito-container",
|
|
2819
2650
|
style: { "width": "100%", "overflow": "hidden auto", "height": "30vh", "border": "1px solid #9d969633", "padding": "0px", "border-radius": "3px" }
|
|
2820
2651
|
}, [
|
|
2821
|
-
createElementVNode("div",
|
|
2652
|
+
createElementVNode("div", _hoisted_189, [
|
|
2822
2653
|
__props.TextOnly ? (openBlock(), createElementBlock("textarea", {
|
|
2823
2654
|
key: 0,
|
|
2824
|
-
onMouseup: _cache[
|
|
2825
|
-
onKeyup: _cache[
|
|
2655
|
+
onMouseup: _cache[56] || (_cache[56] = ($event) => containerCursorPosition()),
|
|
2656
|
+
onKeyup: _cache[57] || (_cache[57] = (e) => {
|
|
2826
2657
|
containerCursorPosition();
|
|
2827
2658
|
}),
|
|
2828
2659
|
onInput: returnData,
|
|
@@ -2836,8 +2667,8 @@ const _sfc_main = {
|
|
|
2836
2667
|
"data-placeholder": "Your Editing.....",
|
|
2837
2668
|
onDrop: onChangeFileDrop,
|
|
2838
2669
|
innerHTML: __props.Dvalue,
|
|
2839
|
-
onMouseup: _cache[
|
|
2840
|
-
onKeyup: _cache[
|
|
2670
|
+
onMouseup: _cache[58] || (_cache[58] = ($event) => containerCursorPosition()),
|
|
2671
|
+
onKeyup: _cache[59] || (_cache[59] = (e) => {
|
|
2841
2672
|
containerCursorPosition();
|
|
2842
2673
|
}),
|
|
2843
2674
|
ref_key: "editorRef",
|
|
@@ -2847,22 +2678,22 @@ const _sfc_main = {
|
|
|
2847
2678
|
contenteditable: "true",
|
|
2848
2679
|
id: "editor",
|
|
2849
2680
|
style: { "height": "100%", "width": "100%", "border": "none" }
|
|
2850
|
-
}, null, 40,
|
|
2681
|
+
}, null, 40, _hoisted_190))
|
|
2851
2682
|
])
|
|
2852
2683
|
], 512),
|
|
2853
|
-
__props.TextOnly != "true" ? (openBlock(), createElementBlock("div",
|
|
2684
|
+
__props.TextOnly != "true" ? (openBlock(), createElementBlock("div", _hoisted_191, [
|
|
2854
2685
|
createElementVNode("div", {
|
|
2855
2686
|
class: "hover:bg-gray-200",
|
|
2856
|
-
onClick: _cache[
|
|
2857
|
-
},
|
|
2858
|
-
|
|
2859
|
-
|
|
2687
|
+
onClick: _cache[60] || (_cache[60] = ($event) => insertNewLineAtCursorFun())
|
|
2688
|
+
}, _hoisted_194),
|
|
2689
|
+
_hoisted_195,
|
|
2690
|
+
_hoisted_196
|
|
2860
2691
|
])) : createCommentVNode("", true)
|
|
2861
2692
|
]);
|
|
2862
2693
|
};
|
|
2863
2694
|
}
|
|
2864
2695
|
};
|
|
2865
|
-
const Editor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
2696
|
+
const Editor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-705c999a"]]);
|
|
2866
2697
|
export {
|
|
2867
2698
|
Editor as default
|
|
2868
2699
|
};
|