pom-text-editor 0.2.28 → 1.0.0
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 -773
- package/dist/pom-text-editor.umd.js +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.heading{content:"H"}#pom-texedito-container div ::selection{background:#5986e7;color:#000}#pom-texedito-container p ::selection{background:#8ae74b;color:#000}#pom-texedito-container a ::selection{background:#5986e7;color:#000}#pom-texedito-container img ::selection{background:#5edba0;color:#000}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;position:relative!important;display:inline-block;cursor:pointer}.display-color:hover+.color-container,.display-color:active+.color-container{display:block}.elemeSetDropDown{box-shadow:9px 5px 42px -14px #000000b8;-webkit-box-shadow:9px 5px 42px -14px rgba(0,0,0,.72);-moz-box-shadow:9px 5px 42px -14px rgba(0,0,0,.72);border-radius:10px;border:#33323222 .1px solid}.color-container{display:none;box-shadow:0 4px 8px #0000001a;padding:14px;position:absolute;left:0;z-index:100;background-color:#fff;width:19vw;height:30vh!important;overflow:auto;top:28px}.color-grid{display:flex;flex-wrap:wrap;gap:5px}.pom-editor-menu-fonts:hover{border:#c8c8c821 1px solid;background:#8d8c8c0a;color:#000;box-shadow:4px 14px 28px -15px #2c2c2cbb;-moz-box-shadow:4px 14px 28px -15px rgba(44,44,44,.734);-webkit-box-shadow:4px 14px 28px -15px rgba(44,44,44,.734)}.pom-editor-menu:hover{display:block!important}.pom-editor-menu{display:none!important;background-color:#fff;border-radius:12px;box-shadow:0 4px 8px #0000001a;width:28vw;height:41vh;overflow:auto}.color-box{width:30px;height:30px;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:empty:before{content:attr(data-placeholder);color:#aaa;left:10px;top:10px;pointer-events:none;font-size:19px}.editor:focus:before{content:none}.table-picker-wrapper{position:relative;display:inline-block}.table-picker-trigger{cursor:pointer;display:flex;align-items:center}.table-picker-container{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{display:block}.table-picker-grid{display:grid;grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px);gap:2px;margin-bottom:10px}.table-picker-grid div{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.table-picker-grid div:hover{background-color:#f8f6f6;border:0}.table-dimensions{font-size:12px;color:#333}.pomXEditor{border:1px;border-style:solid;border-color:#6972734e}#editor:focus{outline:none;border:none}.pom-table-editor-container{display:flex}.pom-table-editor-container a{color:#00f;text-decoration:underline;cursor:pointer}.pom-table-editor-container a:link{color:#00f}.pom-table-editor-container a:visited{color:purple}.pom-table-editor-container a:hover{color:red;text-decoration:none}.pom-table-editor-container a:active{color:orange}@media print{.hideonprint{display:none!important}}/*!\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 */.Image_dropped_pom{background:#adacacb4;border-radius:3px;margin:3px;z-index:100;box-shadow:10px 39px 90px 30px #664a4a42;-webkit-box-shadow:10px 39px 90px 30px rgba(102,74,74,.26);-moz-box-shadow:10px 39px 90px 30px rgba(102,74,74,.26);box-sizing:border-box}.Image_dropped_pom *:hover{background:#a14b1a9f;color:#fff;border:none;border-bottom:2px solid white;box-shadow:0 6px 6px #00000042,0 10px 20px #00000030}.imageClosingBtn{margin:0;position:absolute;top:-3px;right:-3px;bottom:0;z-index:101;color:red;background:#cd5a5e47;width:14px;height:15px;border:1px solid #ccc2c2;text-align:center;text-size-adjust:auto}.pom-main-element-container .editor[data-v-c6058be1]: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-c6058be1]:focus:before{content:none}.pom-main-element-container .table-picker-wrapper[data-v-c6058be1]{position:relative;display:inline-block}.pom-main-element-container .table-picker-trigger[data-v-c6058be1]{cursor:pointer;display:flex;align-items:center}.pom-main-element-container .table-picker-container[data-v-c6058be1]{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-c6058be1]{display:block}.pom-main-element-container .table-picker-grid[data-v-c6058be1]{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-c6058be1]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.pom-main-element-container .table-picker-grid div[data-v-c6058be1]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-c6058be1]{font-size:12px;color:#333}.pom-main-element-container .pomXEditor[data-v-c6058be1]{border:1px;border-style:solid;border-color:#6972734e}.pom-main-element-container #editor[data-v-c6058be1]:focus{outline:none;border:none}.pom-main-element-container .pom-table-editor-container[data-v-c6058be1]{display:flex}.pom-main-element-container .pom-table-editor-container a[data-v-c6058be1]{color:#00f;text-decoration:underline;cursor:pointer}.pom-main-element-container .pom-table-editor-container a[data-v-c6058be1]:link{color:#00f}.pom-main-element-container .pom-table-editor-container a[data-v-c6058be1]:visited{color:purple}.pom-main-element-container .pom-table-editor-container a[data-v-c6058be1]:hover{color:red;text-decoration:none}.pom-main-element-container .pom-table-editor-container a[data-v-c6058be1]:active{color:orange}@media print{.hideonprint[data-v-c6058be1]{display:none!important}[data-v-c6058be1]{overflow:hidden}}.pom-main-element-container .editor[data-v-c6058be1]{padding:10px;border:1px solid #ccc;min-height:200px}.pom-main-element-container .resizable-image[data-v-c6058be1]{max-width:100%;resize:both;overflow:auto;display:block;cursor:nwse-resize}.pom-main-element-container[data-v-c6058be1] ::-webkit-scrollbar{width:12px;height:12px}.pom-main-element-container[data-v-c6058be1] ::-webkit-scrollbar-track{background:#f1f1f1}.pom-main-element-container[data-v-c6058be1] ::-webkit-scrollbar-thumb{background-color:#888;border-radius:6px;border:3px solid #f1f1f1}.pom-main-element-container[data-v-c6058be1] ::-webkit-scrollbar-thumb:hover{background:#555}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
|
|
2
|
-
import { ref, onMounted, openBlock, createElementBlock, createElementVNode,
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.heading{content:"H"}#pom-texedito-container div ::selection{background:#5986e7;color:#000}#pom-texedito-container p ::selection{background:#8ae74b;color:#000}#pom-texedito-container a ::selection{background:#5986e7;color:#000}#pom-texedito-container img ::selection{background:#5edba0;color:#000}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;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;position:relative!important;display:inline-block;cursor:pointer}.display-color:hover+.color-container,.display-color:active+.color-container{display:block}.elemeSetDropDown{box-shadow:9px 5px 42px -14px #000000b8;-webkit-box-shadow:9px 5px 42px -14px rgba(0,0,0,.72);-moz-box-shadow:9px 5px 42px -14px rgba(0,0,0,.72);border-radius:10px;border:#33323222 .1px solid}.color-container{display:none;box-shadow:0 4px 8px #0000001a;padding:14px;position:absolute;left:0;z-index:100;background-color:#fff;width:19vw;height:30vh!important;overflow:auto;top:28px}.color-grid{display:flex;flex-wrap:wrap;gap:5px}.pom-editor-menu-fonts:hover{border:#c8c8c821 1px solid;background:#8d8c8c0a;color:#000;box-shadow:4px 14px 28px -15px #2c2c2cbb;-moz-box-shadow:4px 14px 28px -15px rgba(44,44,44,.734);-webkit-box-shadow:4px 14px 28px -15px rgba(44,44,44,.734)}.pom-editor-menu:hover{display:block!important}.pom-editor-menu{display:none!important;background-color:#fff;border-radius:12px;box-shadow:0 4px 8px #0000001a;width:28vw;height:41vh;overflow:auto}.color-box{width:30px;height:30px;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:empty:before{content:attr(data-placeholder);color:#aaa;left:10px;top:10px;pointer-events:none;font-size:19px}.editor:focus:before{content:none}.table-picker-wrapper{position:relative;display:inline-block}.table-picker-trigger{cursor:pointer;display:flex;align-items:center}.table-picker-container{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{display:block}.table-picker-grid{display:grid;grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px);gap:2px;margin-bottom:10px}.table-picker-grid div{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.table-picker-grid div:hover{background-color:#f8f6f6;border:0}.table-dimensions{font-size:12px;color:#333}.pomXEditor{border:1px;border-style:solid;border-color:#6972734e}#editor:focus{outline:none;border:none}.pom-table-editor-container{display:flex}.pom-table-editor-container a{color:#00f;text-decoration:underline;cursor:pointer}.pom-table-editor-container a:link{color:#00f}.pom-table-editor-container a:visited{color:purple}.pom-table-editor-container a:hover{color:red;text-decoration:none}.pom-table-editor-container a:active{color:orange}@media print{.hideonprint{display:none!important}}/*!\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 */.Image_dropped_pom{background:#adacacb4;border-radius:3px;margin:3px;z-index:100;box-shadow:10px 39px 90px 30px #664a4a42;-webkit-box-shadow:10px 39px 90px 30px rgba(102,74,74,.26);-moz-box-shadow:10px 39px 90px 30px rgba(102,74,74,.26);box-sizing:border-box}.Image_dropped_pom *:hover{background:#a14b1a9f;color:#fff;border:none;border-bottom:2px solid white;box-shadow:0 6px 6px #00000042,0 10px 20px #00000030}.imageClosingBtn{margin:0;position:absolute;top:-3px;right:-3px;bottom:0;z-index:101;color:red;background:#cd5a5e47;width:14px;height:15px;border:1px solid #ccc2c2;text-align:center;text-size-adjust:auto}.pom-main-element-container .editor[data-v-32dcfc52]: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-32dcfc52]:focus:before{content:none}.pom-main-element-container .table-picker-wrapper[data-v-32dcfc52]{position:relative;display:inline-block}.pom-main-element-container .table-picker-trigger[data-v-32dcfc52]{cursor:pointer;display:flex;align-items:center}.pom-main-element-container .table-picker-container[data-v-32dcfc52]{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-32dcfc52]{display:block}.pom-main-element-container .table-picker-grid[data-v-32dcfc52]{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-32dcfc52]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.pom-main-element-container .table-picker-grid div[data-v-32dcfc52]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-32dcfc52]{font-size:12px;color:#333}.pom-main-element-container .pomXEditor[data-v-32dcfc52]{border:1px;border-style:solid;border-color:#6972734e}.pom-main-element-container #editor[data-v-32dcfc52]:focus{outline:none;border:none}.pom-main-element-container .pom-table-editor-container[data-v-32dcfc52]{display:flex}.pom-main-element-container .pom-table-editor-container a[data-v-32dcfc52]{color:#00f;text-decoration:underline;cursor:pointer}.pom-main-element-container .pom-table-editor-container a[data-v-32dcfc52]:link{color:#00f}.pom-main-element-container .pom-table-editor-container a[data-v-32dcfc52]:visited{color:purple}.pom-main-element-container .pom-table-editor-container a[data-v-32dcfc52]:hover{color:red;text-decoration:none}.pom-main-element-container .pom-table-editor-container a[data-v-32dcfc52]:active{color:orange}@media print{.hideonprint[data-v-32dcfc52]{display:none!important}[data-v-32dcfc52]{overflow:hidden}}.pom-main-element-container .editor[data-v-32dcfc52]{padding:10px;border:1px solid #ccc;min-height:200px}.pom-main-element-container .resizable-image[data-v-32dcfc52]{max-width:100%;resize:both;overflow:auto;display:block;cursor:nwse-resize}.pom-main-element-container[data-v-32dcfc52] ::-webkit-scrollbar{width:12px;height:12px}.pom-main-element-container[data-v-32dcfc52] ::-webkit-scrollbar-track{background:#f1f1f1}.pom-main-element-container[data-v-32dcfc52] ::-webkit-scrollbar-thumb{background-color:#888;border-radius:6px;border:3px solid #f1f1f1}.pom-main-element-container[data-v-32dcfc52] ::-webkit-scrollbar-thumb:hover{background:#555}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
|
|
2
|
+
import { ref, onMounted, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, normalizeStyle, createBlock, resolveDynamicComponent, withCtx, createTextVNode, unref, renderSlot, withKeys, withModifiers, createCommentVNode, nextTick, pushScopeId, popScopeId, createStaticVNode } from "vue";
|
|
3
3
|
function updateCursorInfo() {
|
|
4
4
|
const selection = window.getSelection();
|
|
5
5
|
if (selection.rangeCount > 0) {
|
|
@@ -527,24 +527,28 @@ function insertElementAtCursor(savedRange2, elementType = "strong", placeholderT
|
|
|
527
527
|
const tagName = `${parentNode.tagName}`.toLowerCase();
|
|
528
528
|
let elm;
|
|
529
529
|
let hilightValuesChecks = createHtmlNode(highlightedText);
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
if ((hilightValuesChecks == null ? void 0 : hilightValuesChecks.includes(elementType)) || tagName == elementType) {
|
|
530
|
+
console.log(tagName, elementType, "compaire");
|
|
531
|
+
if (tagName == elementType) {
|
|
533
532
|
elm = document.createElement("span");
|
|
534
533
|
elm.innerHTML = hilightValuesChecks;
|
|
535
|
-
|
|
536
|
-
const html = elm.outerHTML.replace(new RegExp(`<${elementType}`, "gi"), "<span").replace(new RegExp(`</${elementType}>`, "gi"), "</span>").replace(new RegExp(spaceAfter.outerHTML, "gi"), " ");
|
|
534
|
+
const html = elm.outerHTML.replace(new RegExp(`<${elementType}`, "gi"), "<span").replace(new RegExp(`</${elementType}>`, "gi"), "</span>");
|
|
537
535
|
elm.innerHTML = html;
|
|
536
|
+
savedRange2.deleteContents();
|
|
537
|
+
savedRange2.insertNode(elm);
|
|
538
|
+
const newRange = document.createRange();
|
|
539
|
+
newRange.collapse(true);
|
|
538
540
|
} else {
|
|
541
|
+
const spaceAfter = document.createElement("span");
|
|
542
|
+
spaceAfter.innerHTML = " ";
|
|
539
543
|
elm = document.createElement(elementType);
|
|
540
544
|
elm.innerHTML = getThehighLighted.length > 0 ? hilightValuesChecks : placeholderText;
|
|
545
|
+
savedRange2.deleteContents();
|
|
546
|
+
savedRange2.insertNode(spaceAfter);
|
|
547
|
+
savedRange2.insertNode(elm);
|
|
548
|
+
const newRange = document.createRange();
|
|
549
|
+
newRange.collapse(true);
|
|
550
|
+
newRange.setStartAfter(spaceAfter);
|
|
541
551
|
}
|
|
542
|
-
savedRange2.deleteContents();
|
|
543
|
-
savedRange2.insertNode(spaceAfter);
|
|
544
|
-
savedRange2.insertNode(elm);
|
|
545
|
-
const newRange = document.createRange();
|
|
546
|
-
newRange.collapse(true);
|
|
547
|
-
newRange.setStartAfter(spaceAfter);
|
|
548
552
|
selection.removeAllRanges();
|
|
549
553
|
} else {
|
|
550
554
|
console.log("No saved range available. Make sure the cursor position is saved before calling this function.");
|
|
@@ -1016,7 +1020,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
1016
1020
|
}
|
|
1017
1021
|
return target;
|
|
1018
1022
|
};
|
|
1019
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
1023
|
+
const _withScopeId = (n) => (pushScopeId("data-v-32dcfc52"), n = n(), popScopeId(), n);
|
|
1020
1024
|
const _hoisted_1 = { class: "pom-main-element-container" };
|
|
1021
1025
|
const _hoisted_2 = {
|
|
1022
1026
|
style: { "width": "100%" },
|
|
@@ -1050,24 +1054,18 @@ const _hoisted_9 = {
|
|
|
1050
1054
|
class: "",
|
|
1051
1055
|
role: "none"
|
|
1052
1056
|
};
|
|
1053
|
-
const _hoisted_10 =
|
|
1054
|
-
const _hoisted_11 =
|
|
1055
|
-
const _hoisted_12 =
|
|
1056
|
-
_hoisted_10,
|
|
1057
|
-
_hoisted_11
|
|
1058
|
-
];
|
|
1059
|
-
const _hoisted_13 = { class: "hover:bg-gray-200 elemeSet rounded cursor-pointer" };
|
|
1060
|
-
const _hoisted_14 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "eye p x-2" }, null, -1));
|
|
1061
|
-
const _hoisted_15 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
1057
|
+
const _hoisted_10 = ["onClick"];
|
|
1058
|
+
const _hoisted_11 = { class: "px-3" };
|
|
1059
|
+
const _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
1062
1060
|
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
1063
1061
|
id: "fullscreenButton"
|
|
1064
1062
|
}, [
|
|
1065
1063
|
/* @__PURE__ */ createElementVNode("i", { class: "expand-alt p x-2" }),
|
|
1066
1064
|
/* @__PURE__ */ createElementVNode("strong", { class: "px-3" }, "Fullscreen")
|
|
1067
1065
|
], -1));
|
|
1068
|
-
const
|
|
1069
|
-
const
|
|
1070
|
-
const
|
|
1066
|
+
const _hoisted_13 = { class: "items-center border-1 b g-gray-200 rounded cursor-pointer" };
|
|
1067
|
+
const _hoisted_14 = { class: "relative inline-block text-left group z-10 border-0 w-ful l" };
|
|
1068
|
+
const _hoisted_15 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "w-full flex rounded-md" }, [
|
|
1071
1069
|
/* @__PURE__ */ createElementVNode("button", {
|
|
1072
1070
|
type: "button",
|
|
1073
1071
|
class: "inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",
|
|
@@ -1080,107 +1078,28 @@ const _hoisted_18 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
|
|
|
1080
1078
|
])
|
|
1081
1079
|
])
|
|
1082
1080
|
], -1));
|
|
1083
|
-
const
|
|
1081
|
+
const _hoisted_16 = {
|
|
1084
1082
|
style: { "z-index": "12" },
|
|
1085
1083
|
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"
|
|
1086
1084
|
};
|
|
1087
|
-
const
|
|
1085
|
+
const _hoisted_17 = {
|
|
1088
1086
|
class: "",
|
|
1089
1087
|
role: "none"
|
|
1090
1088
|
};
|
|
1091
|
-
const
|
|
1092
|
-
const
|
|
1093
|
-
const
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
];
|
|
1097
|
-
const _hoisted_24 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "italic p x-2" }, null, -1));
|
|
1098
|
-
const _hoisted_25 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "px-3" }, "italic", -1));
|
|
1099
|
-
const _hoisted_26 = [
|
|
1100
|
-
_hoisted_24,
|
|
1101
|
-
_hoisted_25
|
|
1102
|
-
];
|
|
1103
|
-
const _hoisted_27 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "underline p x-2" }, null, -1));
|
|
1104
|
-
const _hoisted_28 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("u", { class: "px-3" }, "underline", -1));
|
|
1105
|
-
const _hoisted_29 = [
|
|
1106
|
-
_hoisted_27,
|
|
1107
|
-
_hoisted_28
|
|
1108
|
-
];
|
|
1109
|
-
const _hoisted_30 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "strikethrough p x-2" }, null, -1));
|
|
1110
|
-
const _hoisted_31 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("del", { class: "px-3" }, "strike", -1));
|
|
1111
|
-
const _hoisted_32 = [
|
|
1112
|
-
_hoisted_30,
|
|
1113
|
-
_hoisted_31
|
|
1114
|
-
];
|
|
1115
|
-
const _hoisted_33 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "superscript p x-2" }, null, -1));
|
|
1116
|
-
const _hoisted_34 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("sup", { class: "px-3" }, "superscript", -1));
|
|
1117
|
-
const _hoisted_35 = [
|
|
1118
|
-
_hoisted_33,
|
|
1119
|
-
_hoisted_34
|
|
1120
|
-
];
|
|
1121
|
-
const _hoisted_36 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "subscript p x-2" }, null, -1));
|
|
1122
|
-
const _hoisted_37 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("sub", { class: "px-3" }, "subscript", -1));
|
|
1123
|
-
const _hoisted_38 = [
|
|
1124
|
-
_hoisted_36,
|
|
1125
|
-
_hoisted_37
|
|
1126
|
-
];
|
|
1127
|
-
const _hoisted_39 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "-list p x-2" }, null, -1));
|
|
1128
|
-
const _hoisted_40 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("summary", { class: "px-3" }, "summary", -1));
|
|
1129
|
-
const _hoisted_41 = [
|
|
1130
|
-
_hoisted_39,
|
|
1131
|
-
_hoisted_40
|
|
1132
|
-
];
|
|
1133
|
-
const _hoisted_42 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "list-ol p x-2" }, null, -1));
|
|
1134
|
-
const _hoisted_43 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { style: { "padding-left": "0.75rem" } }, "list manual ", -1));
|
|
1135
|
-
const _hoisted_44 = [
|
|
1136
|
-
_hoisted_42,
|
|
1137
|
-
_hoisted_43
|
|
1138
|
-
];
|
|
1139
|
-
const _hoisted_45 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "list-ul p x-2" }, null, -1));
|
|
1140
|
-
const _hoisted_46 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { style: { "padding-left": "0.75rem" } }, "list manual ", -1));
|
|
1141
|
-
const _hoisted_47 = [
|
|
1142
|
-
_hoisted_45,
|
|
1143
|
-
_hoisted_46
|
|
1144
|
-
];
|
|
1145
|
-
const _hoisted_48 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H1", -1));
|
|
1146
|
-
const _hoisted_49 = [
|
|
1147
|
-
_hoisted_48
|
|
1148
|
-
];
|
|
1149
|
-
const _hoisted_50 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H2", -1));
|
|
1150
|
-
const _hoisted_51 = [
|
|
1151
|
-
_hoisted_50
|
|
1152
|
-
];
|
|
1153
|
-
const _hoisted_52 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H3", -1));
|
|
1154
|
-
const _hoisted_53 = [
|
|
1155
|
-
_hoisted_52
|
|
1156
|
-
];
|
|
1157
|
-
const _hoisted_54 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H4", -1));
|
|
1158
|
-
const _hoisted_55 = [
|
|
1159
|
-
_hoisted_54
|
|
1160
|
-
];
|
|
1161
|
-
const _hoisted_56 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H5", -1));
|
|
1162
|
-
const _hoisted_57 = [
|
|
1163
|
-
_hoisted_56
|
|
1164
|
-
];
|
|
1165
|
-
const _hoisted_58 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, " H6", -1));
|
|
1166
|
-
const _hoisted_59 = [
|
|
1167
|
-
_hoisted_58
|
|
1168
|
-
];
|
|
1169
|
-
const _hoisted_60 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, "Capitalize", -1));
|
|
1170
|
-
const _hoisted_61 = [
|
|
1171
|
-
_hoisted_60
|
|
1172
|
-
];
|
|
1173
|
-
const _hoisted_62 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3 solid heading px-6" }, "Lowercase", -1));
|
|
1174
|
-
const _hoisted_63 = [
|
|
1175
|
-
_hoisted_62
|
|
1089
|
+
const _hoisted_18 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "bold p x-2" }, null, -1));
|
|
1090
|
+
const _hoisted_19 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { class: "px-3" }, "Bold", -1));
|
|
1091
|
+
const _hoisted_20 = [
|
|
1092
|
+
_hoisted_18,
|
|
1093
|
+
_hoisted_19
|
|
1176
1094
|
];
|
|
1177
|
-
const
|
|
1178
|
-
const
|
|
1179
|
-
|
|
1180
|
-
];
|
|
1181
|
-
const
|
|
1182
|
-
const
|
|
1183
|
-
const
|
|
1095
|
+
const _hoisted_21 = ["onClick"];
|
|
1096
|
+
const _hoisted_22 = ["onClick"];
|
|
1097
|
+
const _hoisted_23 = { class: "px-3 solid heading px-6" };
|
|
1098
|
+
const _hoisted_24 = ["onClick"];
|
|
1099
|
+
const _hoisted_25 = { class: "px-3 solid heading px-6" };
|
|
1100
|
+
const _hoisted_26 = { class: "flex items-center border-1 b g-gray-200 rounded cursor-pointer" };
|
|
1101
|
+
const _hoisted_27 = { class: "relative inline-block text-left group z-10 border-0 w-ful l" };
|
|
1102
|
+
const _hoisted_28 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "w-full flex rounded-md" }, [
|
|
1184
1103
|
/* @__PURE__ */ createElementVNode("button", {
|
|
1185
1104
|
type: "button",
|
|
1186
1105
|
class: "inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",
|
|
@@ -1193,53 +1112,53 @@ const _hoisted_68 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
|
|
|
1193
1112
|
])
|
|
1194
1113
|
])
|
|
1195
1114
|
], -1));
|
|
1196
|
-
const
|
|
1115
|
+
const _hoisted_29 = {
|
|
1197
1116
|
style: { "z-index": "12" },
|
|
1198
1117
|
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"
|
|
1199
1118
|
};
|
|
1200
|
-
const
|
|
1119
|
+
const _hoisted_30 = {
|
|
1201
1120
|
class: "",
|
|
1202
1121
|
role: "none"
|
|
1203
1122
|
};
|
|
1204
|
-
const
|
|
1205
|
-
const
|
|
1206
|
-
const
|
|
1123
|
+
const _hoisted_31 = { class: "hover:bg-gray-200 elemeSet rounded cursor-pointer" };
|
|
1124
|
+
const _hoisted_32 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "image p x-2" }, null, -1));
|
|
1125
|
+
const _hoisted_33 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("label", {
|
|
1207
1126
|
for: "pom43546535435445Image",
|
|
1208
1127
|
class: "px-3"
|
|
1209
1128
|
}, "Image", -1));
|
|
1210
|
-
const
|
|
1211
|
-
const
|
|
1212
|
-
const
|
|
1213
|
-
|
|
1214
|
-
|
|
1129
|
+
const _hoisted_34 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "anchor p x-2" }, null, -1));
|
|
1130
|
+
const _hoisted_35 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3" }, "Anchor", -1));
|
|
1131
|
+
const _hoisted_36 = [
|
|
1132
|
+
_hoisted_34,
|
|
1133
|
+
_hoisted_35
|
|
1215
1134
|
];
|
|
1216
|
-
const
|
|
1217
|
-
const
|
|
1218
|
-
const
|
|
1219
|
-
|
|
1220
|
-
|
|
1135
|
+
const _hoisted_37 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "-calendar-alt 1x" }, null, -1));
|
|
1136
|
+
const _hoisted_38 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-1" }, "Date/time", -1));
|
|
1137
|
+
const _hoisted_39 = [
|
|
1138
|
+
_hoisted_37,
|
|
1139
|
+
_hoisted_38
|
|
1221
1140
|
];
|
|
1222
|
-
const
|
|
1223
|
-
const
|
|
1224
|
-
const
|
|
1225
|
-
const
|
|
1226
|
-
|
|
1227
|
-
|
|
1141
|
+
const _hoisted_40 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "text-center w-full p y-1 bg-gray-100 font-bold" }, "Table", -1));
|
|
1142
|
+
const _hoisted_41 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "trash-can p x-2" }, null, -1));
|
|
1143
|
+
const _hoisted_42 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3" }, "Delete All", -1));
|
|
1144
|
+
const _hoisted_43 = [
|
|
1145
|
+
_hoisted_41,
|
|
1146
|
+
_hoisted_42
|
|
1228
1147
|
];
|
|
1229
|
-
const
|
|
1230
|
-
const
|
|
1231
|
-
const
|
|
1232
|
-
|
|
1233
|
-
|
|
1148
|
+
const _hoisted_44 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "eye-slash p x-2" }, null, -1));
|
|
1149
|
+
const _hoisted_45 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "px-3" }, "Hide/Show All ", -1));
|
|
1150
|
+
const _hoisted_46 = [
|
|
1151
|
+
_hoisted_44,
|
|
1152
|
+
_hoisted_45
|
|
1234
1153
|
];
|
|
1235
|
-
const
|
|
1236
|
-
const
|
|
1154
|
+
const _hoisted_47 = { class: "table-picker-wrapper" };
|
|
1155
|
+
const _hoisted_48 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "table-picker-trigger" }, [
|
|
1237
1156
|
/* @__PURE__ */ createElementVNode("i", { class: "table p x-2" }),
|
|
1238
1157
|
/* @__PURE__ */ createElementVNode("strong", { class: "px-3" }, "Create")
|
|
1239
1158
|
], -1));
|
|
1240
|
-
const
|
|
1241
|
-
const
|
|
1242
|
-
const
|
|
1159
|
+
const _hoisted_49 = { class: "flex items-center border-1 b g-gray-200 rounded cursor-pointer" };
|
|
1160
|
+
const _hoisted_50 = { class: "relative inline-block text-left group z-10 border-0" };
|
|
1161
|
+
const _hoisted_51 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "w-full flex rounded-md showfontFamilyMenu" }, [
|
|
1243
1162
|
/* @__PURE__ */ createElementVNode("button", {
|
|
1244
1163
|
type: "button",
|
|
1245
1164
|
class: "inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",
|
|
@@ -1251,219 +1170,19 @@ const _hoisted_91 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
|
|
|
1251
1170
|
])
|
|
1252
1171
|
])
|
|
1253
1172
|
], -1));
|
|
1254
|
-
const
|
|
1255
|
-
const
|
|
1256
|
-
const
|
|
1173
|
+
const _hoisted_52 = { class: "p y-1 w borde r-1 w-full text-start in flex flex-wrap pom-editor-menu-fonts" };
|
|
1174
|
+
const _hoisted_53 = { class: "cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600 group relative" };
|
|
1175
|
+
const _hoisted_54 = {
|
|
1257
1176
|
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",
|
|
1258
|
-
"
|
|
1259
|
-
|
|
1260
|
-
};
|
|
1261
|
-
const _hoisted_95 = { class: "collection__group" };
|
|
1262
|
-
const _hoisted_96 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
1263
|
-
title: "Andale Mono",
|
|
1264
|
-
id: "menu-item_3745045357111728727990777",
|
|
1265
|
-
role: "menuitemcheckbox",
|
|
1266
|
-
"aria-haspopup": "false",
|
|
1267
|
-
tabindex: "-1",
|
|
1268
|
-
class: "menu-nav__js collection__item collection__item--active",
|
|
1269
|
-
"aria-disabled": "false",
|
|
1270
|
-
"aria-checked": "false",
|
|
1271
|
-
"aria-selected": "true"
|
|
1272
|
-
}, [
|
|
1273
|
-
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-label" }, [
|
|
1274
|
-
/* @__PURE__ */ createElementVNode("div", { style: { "font-family": "andale mono, monospace" } }, "Andale Mono")
|
|
1275
|
-
])
|
|
1276
|
-
], -1));
|
|
1277
|
-
const _hoisted_97 = {
|
|
1278
|
-
title: "Arial",
|
|
1279
|
-
id: "menu-item_8107570667141728727990778",
|
|
1280
|
-
role: "menuitemcheckbox",
|
|
1281
|
-
"aria-haspopup": "false",
|
|
1282
|
-
tabindex: "-1",
|
|
1283
|
-
class: "menu-nav__js collection__item",
|
|
1284
|
-
"aria-disabled": "false",
|
|
1285
|
-
"aria-checked": "false",
|
|
1286
|
-
"aria-selected": "false"
|
|
1287
|
-
};
|
|
1288
|
-
const _hoisted_98 = { class: "collection__item-label" };
|
|
1289
|
-
const _hoisted_99 = {
|
|
1290
|
-
title: "Arial Black",
|
|
1291
|
-
id: "menu-item_7337372467171728727990778",
|
|
1292
|
-
role: "menuitemcheckbox",
|
|
1293
|
-
"aria-haspopup": "false",
|
|
1294
|
-
tabindex: "-1",
|
|
1295
|
-
class: "menu-nav__js collection__item",
|
|
1296
|
-
"aria-disabled": "false",
|
|
1297
|
-
"aria-checked": "false",
|
|
1298
|
-
"aria-selected": "false"
|
|
1299
|
-
};
|
|
1300
|
-
const _hoisted_100 = { class: "collection__item-label" };
|
|
1301
|
-
const _hoisted_101 = {
|
|
1302
|
-
title: "Book Antiqua",
|
|
1303
|
-
id: "menu-item_8277641917201728727990778",
|
|
1304
|
-
role: "menuitemcheckbox",
|
|
1305
|
-
"aria-haspopup": "false",
|
|
1306
|
-
tabindex: "-1",
|
|
1307
|
-
class: "menu-nav__js collection__item",
|
|
1308
|
-
"aria-disabled": "false",
|
|
1309
|
-
"aria-checked": "false",
|
|
1310
|
-
"aria-selected": "false"
|
|
1311
|
-
};
|
|
1312
|
-
const _hoisted_102 = { class: "collection__item-label" };
|
|
1313
|
-
const _hoisted_103 = {
|
|
1314
|
-
title: "Comic Sans MS",
|
|
1315
|
-
id: "menu-item_2698863237231728727990778",
|
|
1316
|
-
role: "menuitemcheckbox",
|
|
1317
|
-
"aria-haspopup": "false",
|
|
1318
|
-
tabindex: "-1",
|
|
1319
|
-
class: "menu-nav__js collection__item",
|
|
1320
|
-
"aria-disabled": "false",
|
|
1321
|
-
"aria-checked": "false",
|
|
1322
|
-
"aria-selected": "false"
|
|
1323
|
-
};
|
|
1324
|
-
const _hoisted_104 = { class: "collection__item-label" };
|
|
1325
|
-
const _hoisted_105 = {
|
|
1326
|
-
title: "Courier New",
|
|
1327
|
-
id: "menu-item_2979203277261728727990778",
|
|
1328
|
-
role: "menuitemcheckbox",
|
|
1329
|
-
"aria-haspopup": "false",
|
|
1330
|
-
tabindex: "-1",
|
|
1331
|
-
class: "menu-nav__js collection__item",
|
|
1332
|
-
"aria-disabled": "false",
|
|
1333
|
-
"aria-checked": "false",
|
|
1334
|
-
"aria-selected": "false"
|
|
1335
|
-
};
|
|
1336
|
-
const _hoisted_106 = { class: "collection__item-label" };
|
|
1337
|
-
const _hoisted_107 = {
|
|
1338
|
-
title: "Georgia",
|
|
1339
|
-
id: "menu-item_8075939747291728727990778",
|
|
1340
|
-
role: "menuitemcheckbox",
|
|
1341
|
-
"aria-haspopup": "false",
|
|
1342
|
-
tabindex: "-1",
|
|
1343
|
-
class: "menu-nav__js collection__item",
|
|
1344
|
-
"aria-disabled": "false",
|
|
1345
|
-
"aria-checked": "false",
|
|
1346
|
-
"aria-selected": "false"
|
|
1347
|
-
};
|
|
1348
|
-
const _hoisted_108 = { class: "collection__item-label" };
|
|
1349
|
-
const _hoisted_109 = {
|
|
1350
|
-
title: "Helvetica",
|
|
1351
|
-
id: "menu-item_8872440547321728727990778",
|
|
1352
|
-
role: "menuitemcheckbox",
|
|
1353
|
-
"aria-haspopup": "false",
|
|
1354
|
-
tabindex: "-1",
|
|
1355
|
-
class: "menu-nav__js collection__item collection__item--enabled",
|
|
1356
|
-
"aria-disabled": "false",
|
|
1357
|
-
"aria-checked": "true"
|
|
1358
|
-
};
|
|
1359
|
-
const _hoisted_110 = { class: "collection__item-label" };
|
|
1360
|
-
const _hoisted_111 = {
|
|
1361
|
-
title: "Impact",
|
|
1362
|
-
id: "menu-item_3423693847351728727990778",
|
|
1363
|
-
role: "menuitemcheckbox",
|
|
1364
|
-
"aria-haspopup": "false",
|
|
1365
|
-
tabindex: "-1",
|
|
1366
|
-
class: "menu-nav__js collection__item",
|
|
1367
|
-
"aria-disabled": "false",
|
|
1368
|
-
"aria-checked": "false"
|
|
1369
|
-
};
|
|
1370
|
-
const _hoisted_112 = { class: "collection__item-label" };
|
|
1371
|
-
const _hoisted_113 = {
|
|
1372
|
-
title: "Symbol",
|
|
1373
|
-
id: "menu-item_7163579447381728727990779",
|
|
1374
|
-
role: "menuitemcheckbox",
|
|
1375
|
-
"aria-haspopup": "false",
|
|
1376
|
-
tabindex: "-1",
|
|
1377
|
-
class: "menu-nav__js collection__item",
|
|
1378
|
-
"aria-disabled": "false",
|
|
1379
|
-
"aria-checked": "false"
|
|
1177
|
+
style: { "height": "25vh", "overflow": "auto" },
|
|
1178
|
+
"data-alloy-placement": "southeast"
|
|
1380
1179
|
};
|
|
1381
|
-
const
|
|
1382
|
-
const
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
tabindex: "-1",
|
|
1388
|
-
class: "menu-nav__js collection__item",
|
|
1389
|
-
"aria-disabled": "false",
|
|
1390
|
-
"aria-checked": "false"
|
|
1391
|
-
};
|
|
1392
|
-
const _hoisted_116 = { class: "collection__item-label" };
|
|
1393
|
-
const _hoisted_117 = {
|
|
1394
|
-
title: "Terminal",
|
|
1395
|
-
id: "menu-item_2511923047441728727990779",
|
|
1396
|
-
role: "menuitemcheckbox",
|
|
1397
|
-
"aria-haspopup": "false",
|
|
1398
|
-
tabindex: "-1",
|
|
1399
|
-
class: "menu-nav__js collection__item",
|
|
1400
|
-
"aria-disabled": "false",
|
|
1401
|
-
"aria-checked": "false"
|
|
1402
|
-
};
|
|
1403
|
-
const _hoisted_118 = { class: "collection__item-label" };
|
|
1404
|
-
const _hoisted_119 = {
|
|
1405
|
-
title: "Times New Roman",
|
|
1406
|
-
id: "menu-item_7770771337471728727990779",
|
|
1407
|
-
role: "menuitemcheckbox",
|
|
1408
|
-
"aria-haspopup": "false",
|
|
1409
|
-
tabindex: "-1",
|
|
1410
|
-
class: "menu-nav__js collection__item",
|
|
1411
|
-
"aria-disabled": "false",
|
|
1412
|
-
"aria-checked": "false"
|
|
1413
|
-
};
|
|
1414
|
-
const _hoisted_120 = { class: "collection__item-label" };
|
|
1415
|
-
const _hoisted_121 = {
|
|
1416
|
-
title: "Trebuchet MS",
|
|
1417
|
-
id: "menu-item_7916647947501728727990779",
|
|
1418
|
-
role: "menuitemcheckbox",
|
|
1419
|
-
"aria-haspopup": "false",
|
|
1420
|
-
tabindex: "-1",
|
|
1421
|
-
class: "menu-nav__js collection__item",
|
|
1422
|
-
"aria-disabled": "false",
|
|
1423
|
-
"aria-checked": "false"
|
|
1424
|
-
};
|
|
1425
|
-
const _hoisted_122 = { class: "collection__item-label" };
|
|
1426
|
-
const _hoisted_123 = {
|
|
1427
|
-
title: "Verdana",
|
|
1428
|
-
id: "menu-item_1549891587531728727990779",
|
|
1429
|
-
role: "menuitemcheckbox",
|
|
1430
|
-
"aria-haspopup": "false",
|
|
1431
|
-
tabindex: "-1",
|
|
1432
|
-
class: "menu-nav__js collection__item",
|
|
1433
|
-
"aria-disabled": "false",
|
|
1434
|
-
"aria-checked": "false"
|
|
1435
|
-
};
|
|
1436
|
-
const _hoisted_124 = { class: "collection__item-label" };
|
|
1437
|
-
const _hoisted_125 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
1438
|
-
title: "Webdings",
|
|
1439
|
-
id: "menu-item_955052057561728727990779",
|
|
1440
|
-
role: "menuitemcheckbox",
|
|
1441
|
-
"aria-haspopup": "false",
|
|
1442
|
-
tabindex: "-1",
|
|
1443
|
-
class: "menu-nav__js collection__item",
|
|
1444
|
-
"aria-disabled": "false",
|
|
1445
|
-
"aria-checked": "false"
|
|
1446
|
-
}, [
|
|
1447
|
-
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-label" }, [
|
|
1448
|
-
/* @__PURE__ */ createElementVNode("div", null, "Webdings")
|
|
1449
|
-
])
|
|
1450
|
-
], -1));
|
|
1451
|
-
const _hoisted_126 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
1452
|
-
title: "Wingdings",
|
|
1453
|
-
id: "menu-item_93264657591728727990779",
|
|
1454
|
-
role: "menuitemcheckbox",
|
|
1455
|
-
"aria-haspopup": "false",
|
|
1456
|
-
tabindex: "-1",
|
|
1457
|
-
class: "menu-nav__js collection__item",
|
|
1458
|
-
"aria-disabled": "false",
|
|
1459
|
-
"aria-checked": "false"
|
|
1460
|
-
}, [
|
|
1461
|
-
/* @__PURE__ */ createElementVNode("div", { class: "collection__item-label" }, [
|
|
1462
|
-
/* @__PURE__ */ createElementVNode("div", null, "Wingdings")
|
|
1463
|
-
])
|
|
1464
|
-
], -1));
|
|
1465
|
-
const _hoisted_127 = { style: { "display": "flex", "justify-content": "space-between", "align-items": "center" } };
|
|
1466
|
-
const _hoisted_128 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, [
|
|
1180
|
+
const _hoisted_55 = { class: "collection__group" };
|
|
1181
|
+
const _hoisted_56 = ["title"];
|
|
1182
|
+
const _hoisted_57 = { class: "collection__item-label" };
|
|
1183
|
+
const _hoisted_58 = ["onClick"];
|
|
1184
|
+
const _hoisted_59 = { style: { "display": "flex", "justify-content": "space-between", "align-items": "center" } };
|
|
1185
|
+
const _hoisted_60 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, [
|
|
1467
1186
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1468
1187
|
width: "24",
|
|
1469
1188
|
height: "24",
|
|
@@ -1475,10 +1194,10 @@ const _hoisted_128 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1475
1194
|
})
|
|
1476
1195
|
])
|
|
1477
1196
|
], -1));
|
|
1478
|
-
const
|
|
1479
|
-
|
|
1197
|
+
const _hoisted_61 = [
|
|
1198
|
+
_hoisted_60
|
|
1480
1199
|
];
|
|
1481
|
-
const
|
|
1200
|
+
const _hoisted_62 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, [
|
|
1482
1201
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1483
1202
|
width: "24",
|
|
1484
1203
|
height: "24",
|
|
@@ -1490,10 +1209,10 @@ const _hoisted_130 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1490
1209
|
})
|
|
1491
1210
|
])
|
|
1492
1211
|
], -1));
|
|
1493
|
-
const
|
|
1494
|
-
|
|
1212
|
+
const _hoisted_63 = [
|
|
1213
|
+
_hoisted_62
|
|
1495
1214
|
];
|
|
1496
|
-
const
|
|
1215
|
+
const _hoisted_64 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "" }, [
|
|
1497
1216
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1498
1217
|
width: "24",
|
|
1499
1218
|
height: "24",
|
|
@@ -1505,10 +1224,10 @@ const _hoisted_132 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1505
1224
|
})
|
|
1506
1225
|
])
|
|
1507
1226
|
], -1));
|
|
1508
|
-
const
|
|
1509
|
-
|
|
1227
|
+
const _hoisted_65 = [
|
|
1228
|
+
_hoisted_64
|
|
1510
1229
|
];
|
|
1511
|
-
const
|
|
1230
|
+
const _hoisted_66 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "" }, [
|
|
1512
1231
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1513
1232
|
width: "24",
|
|
1514
1233
|
height: "24",
|
|
@@ -1520,11 +1239,11 @@ const _hoisted_134 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1520
1239
|
})
|
|
1521
1240
|
])
|
|
1522
1241
|
], -1));
|
|
1523
|
-
const
|
|
1524
|
-
|
|
1242
|
+
const _hoisted_67 = [
|
|
1243
|
+
_hoisted_66
|
|
1525
1244
|
];
|
|
1526
|
-
const
|
|
1527
|
-
const
|
|
1245
|
+
const _hoisted_68 = { class: "relative inline-block text-left group z-10 border-0 w-ful l" };
|
|
1246
|
+
const _hoisted_69 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "w-full flex rounded-md" }, [
|
|
1528
1247
|
/* @__PURE__ */ createElementVNode("button", {
|
|
1529
1248
|
type: "button",
|
|
1530
1249
|
class: "inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",
|
|
@@ -1569,15 +1288,15 @@ const _hoisted_137 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1569
1288
|
])
|
|
1570
1289
|
])
|
|
1571
1290
|
], -1));
|
|
1572
|
-
const
|
|
1291
|
+
const _hoisted_70 = {
|
|
1573
1292
|
style: { "z-index": "12" },
|
|
1574
1293
|
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"
|
|
1575
1294
|
};
|
|
1576
|
-
const
|
|
1295
|
+
const _hoisted_71 = {
|
|
1577
1296
|
class: "flex",
|
|
1578
1297
|
style: { "z-index": "4100 !important" }
|
|
1579
1298
|
};
|
|
1580
|
-
const
|
|
1299
|
+
const _hoisted_72 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, [
|
|
1581
1300
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1582
1301
|
width: "48",
|
|
1583
1302
|
height: "48",
|
|
@@ -1606,10 +1325,10 @@ const _hoisted_140 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1606
1325
|
])
|
|
1607
1326
|
])
|
|
1608
1327
|
], -1));
|
|
1609
|
-
const
|
|
1610
|
-
|
|
1328
|
+
const _hoisted_73 = [
|
|
1329
|
+
_hoisted_72
|
|
1611
1330
|
];
|
|
1612
|
-
const
|
|
1331
|
+
const _hoisted_74 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, [
|
|
1613
1332
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1614
1333
|
width: "48",
|
|
1615
1334
|
height: "48",
|
|
@@ -1627,10 +1346,10 @@ const _hoisted_142 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1627
1346
|
])
|
|
1628
1347
|
])
|
|
1629
1348
|
], -1));
|
|
1630
|
-
const
|
|
1631
|
-
|
|
1349
|
+
const _hoisted_75 = [
|
|
1350
|
+
_hoisted_74
|
|
1632
1351
|
];
|
|
1633
|
-
const
|
|
1352
|
+
const _hoisted_76 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
1634
1353
|
width: "48",
|
|
1635
1354
|
height: "48",
|
|
1636
1355
|
viewBox: "0 0 48 48",
|
|
@@ -1688,10 +1407,10 @@ const _hoisted_144 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1688
1407
|
opacity: ".2"
|
|
1689
1408
|
})
|
|
1690
1409
|
], -1));
|
|
1691
|
-
const
|
|
1692
|
-
|
|
1410
|
+
const _hoisted_77 = [
|
|
1411
|
+
_hoisted_76
|
|
1693
1412
|
];
|
|
1694
|
-
const
|
|
1413
|
+
const _hoisted_78 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "text-sm" }, [
|
|
1695
1414
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
1696
1415
|
width: "48",
|
|
1697
1416
|
height: "48",
|
|
@@ -1751,27 +1470,27 @@ const _hoisted_146 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1751
1470
|
})
|
|
1752
1471
|
])
|
|
1753
1472
|
], -1));
|
|
1754
|
-
const
|
|
1755
|
-
|
|
1473
|
+
const _hoisted_79 = [
|
|
1474
|
+
_hoisted_78
|
|
1756
1475
|
];
|
|
1757
|
-
const
|
|
1476
|
+
const _hoisted_80 = {
|
|
1758
1477
|
class: "flex items-center gap-1 border-t-2 border-b-2 border-gray-300 bg-white w-full px-1",
|
|
1759
1478
|
style: {}
|
|
1760
1479
|
};
|
|
1761
|
-
const
|
|
1762
|
-
const
|
|
1763
|
-
|
|
1480
|
+
const _hoisted_81 = /* @__PURE__ */ createStaticVNode('<i class="bold p x-2" data-v-32dcfc52><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-32dcfc52><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-32dcfc52></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-32dcfc52></g><g id="SVGRepo_iconCarrier" data-v-32dcfc52><g id="text-bold" transform="translate(-4 -2)" data-v-32dcfc52><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-32dcfc52></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-32dcfc52></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-32dcfc52></path></g></g></svg></i>', 1);
|
|
1481
|
+
const _hoisted_82 = [
|
|
1482
|
+
_hoisted_81
|
|
1764
1483
|
];
|
|
1765
|
-
const
|
|
1766
|
-
const
|
|
1767
|
-
|
|
1484
|
+
const _hoisted_83 = /* @__PURE__ */ createStaticVNode('<i class="italic p x-2" data-v-32dcfc52><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-32dcfc52><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-32dcfc52></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-32dcfc52></g><g id="SVGRepo_iconCarrier" data-v-32dcfc52><g id="layer1" data-v-32dcfc52><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-32dcfc52></path></g></g></svg></i>', 1);
|
|
1485
|
+
const _hoisted_84 = [
|
|
1486
|
+
_hoisted_83
|
|
1768
1487
|
];
|
|
1769
|
-
const
|
|
1770
|
-
const
|
|
1771
|
-
|
|
1488
|
+
const _hoisted_85 = /* @__PURE__ */ createStaticVNode('<i class="underline p x-2" data-v-32dcfc52><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-32dcfc52><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-32dcfc52></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-32dcfc52></g><g id="SVGRepo_iconCarrier" data-v-32dcfc52><g data-v-32dcfc52><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-32dcfc52></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-32dcfc52></path></g></g></svg></i>', 1);
|
|
1489
|
+
const _hoisted_86 = [
|
|
1490
|
+
_hoisted_85
|
|
1772
1491
|
];
|
|
1773
|
-
const
|
|
1774
|
-
const
|
|
1492
|
+
const _hoisted_87 = { class: "strikethrough p x-2" };
|
|
1493
|
+
const _hoisted_88 = {
|
|
1775
1494
|
fill: "#000000",
|
|
1776
1495
|
width: "13px",
|
|
1777
1496
|
height: "13px",
|
|
@@ -1783,16 +1502,16 @@ const _hoisted_156 = {
|
|
|
1783
1502
|
"xmlns:serif": "http://www.serif.com/",
|
|
1784
1503
|
style: { "fill-rule": "evenodd", "clip-rule": "evenodd", "stroke-linejoin": "round", "stroke-miterlimit": "2" }
|
|
1785
1504
|
};
|
|
1786
|
-
const
|
|
1505
|
+
const _hoisted_89 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", {
|
|
1787
1506
|
id: "SVGRepo_bgCarrier",
|
|
1788
1507
|
"stroke-width": "0"
|
|
1789
1508
|
}, null, -1));
|
|
1790
|
-
const
|
|
1509
|
+
const _hoisted_90 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", {
|
|
1791
1510
|
id: "SVGRepo_tracerCarrier",
|
|
1792
1511
|
"stroke-linecap": "round",
|
|
1793
1512
|
"stroke-linejoin": "round"
|
|
1794
1513
|
}, null, -1));
|
|
1795
|
-
const
|
|
1514
|
+
const _hoisted_91 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", { id: "SVGRepo_iconCarrier" }, [
|
|
1796
1515
|
/* @__PURE__ */ createElementVNode("rect", {
|
|
1797
1516
|
id: "Icons",
|
|
1798
1517
|
x: "-192",
|
|
@@ -1888,26 +1607,26 @@ const _hoisted_159 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1888
1607
|
/* @__PURE__ */ createElementVNode("g", { id: "Layer1" })
|
|
1889
1608
|
])
|
|
1890
1609
|
], -1));
|
|
1891
|
-
const
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1610
|
+
const _hoisted_92 = [
|
|
1611
|
+
_hoisted_89,
|
|
1612
|
+
_hoisted_90,
|
|
1613
|
+
_hoisted_91
|
|
1895
1614
|
];
|
|
1896
|
-
const
|
|
1897
|
-
const
|
|
1898
|
-
|
|
1615
|
+
const _hoisted_93 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "superscript p x-2" }, "sup", -1));
|
|
1616
|
+
const _hoisted_94 = [
|
|
1617
|
+
_hoisted_93
|
|
1899
1618
|
];
|
|
1900
|
-
const
|
|
1901
|
-
const
|
|
1902
|
-
|
|
1619
|
+
const _hoisted_95 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "subscript p x-2" }, "sub", -1));
|
|
1620
|
+
const _hoisted_96 = [
|
|
1621
|
+
_hoisted_95
|
|
1903
1622
|
];
|
|
1904
|
-
const
|
|
1905
|
-
const
|
|
1906
|
-
|
|
1623
|
+
const _hoisted_97 = /* @__PURE__ */ createStaticVNode('<i class="-code p x-2" data-v-32dcfc52><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-32dcfc52><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-32dcfc52></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-32dcfc52></g><g id="SVGRepo_iconCarrier" data-v-32dcfc52><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-32dcfc52></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-32dcfc52></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-32dcfc52></path></g></svg></i>', 1);
|
|
1624
|
+
const _hoisted_98 = [
|
|
1625
|
+
_hoisted_97
|
|
1907
1626
|
];
|
|
1908
|
-
const
|
|
1909
|
-
const
|
|
1910
|
-
const
|
|
1627
|
+
const _hoisted_99 = { class: "items-center bg-gray-50 rounded cursor-pointer" };
|
|
1628
|
+
const _hoisted_100 = { class: "relative inline-block text-left group border-0" };
|
|
1629
|
+
const _hoisted_101 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "w-full flex rounded-md" }, [
|
|
1911
1630
|
/* @__PURE__ */ createElementVNode("i", {
|
|
1912
1631
|
class: "solid brush display-color elemeSetDropDown",
|
|
1913
1632
|
style: { "margin": "6px 0px 0px 0px", "border": "none" }
|
|
@@ -1931,22 +1650,22 @@ const _hoisted_169 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1931
1650
|
])
|
|
1932
1651
|
])
|
|
1933
1652
|
], -1));
|
|
1934
|
-
const
|
|
1653
|
+
const _hoisted_102 = {
|
|
1935
1654
|
style: { "z-index": "12" },
|
|
1936
1655
|
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"
|
|
1937
1656
|
};
|
|
1938
|
-
const
|
|
1657
|
+
const _hoisted_103 = {
|
|
1939
1658
|
class: "elemeSetDropDown",
|
|
1940
1659
|
role: "none"
|
|
1941
1660
|
};
|
|
1942
|
-
const
|
|
1661
|
+
const _hoisted_104 = {
|
|
1943
1662
|
class: "color-grid p-1 m-1",
|
|
1944
|
-
style: { "width": "
|
|
1663
|
+
style: { "width": "15vw", "height": "20vh", "overflow": "auto" }
|
|
1945
1664
|
};
|
|
1946
|
-
const
|
|
1947
|
-
const
|
|
1948
|
-
const
|
|
1949
|
-
const
|
|
1665
|
+
const _hoisted_105 = ["onClick"];
|
|
1666
|
+
const _hoisted_106 = { class: "items-center bg-gray-50 rounded cursor-pointer" };
|
|
1667
|
+
const _hoisted_107 = { class: "relative inline-block text-left group border-0" };
|
|
1668
|
+
const _hoisted_108 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "w-full flex rounded-md" }, [
|
|
1950
1669
|
/* @__PURE__ */ createElementVNode("span", null, [
|
|
1951
1670
|
/* @__PURE__ */ createElementVNode("div", { class: "p y-1 w w-full text-start in" }, [
|
|
1952
1671
|
/* @__PURE__ */ createElementVNode("i", {
|
|
@@ -1973,37 +1692,37 @@ const _hoisted_176 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
1973
1692
|
])
|
|
1974
1693
|
])
|
|
1975
1694
|
], -1));
|
|
1976
|
-
const
|
|
1695
|
+
const _hoisted_109 = {
|
|
1977
1696
|
style: { "z-index": "12" },
|
|
1978
1697
|
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"
|
|
1979
1698
|
};
|
|
1980
|
-
const
|
|
1699
|
+
const _hoisted_110 = {
|
|
1981
1700
|
class: "elemeSetDropDown",
|
|
1982
1701
|
role: "none"
|
|
1983
1702
|
};
|
|
1984
|
-
const
|
|
1703
|
+
const _hoisted_111 = {
|
|
1985
1704
|
class: "color-grid p-1 m-1",
|
|
1986
|
-
style: { "width": "
|
|
1705
|
+
style: { "width": "15vw", "height": "20vh", "overflow": "auto" }
|
|
1987
1706
|
};
|
|
1988
|
-
const
|
|
1989
|
-
const
|
|
1990
|
-
const
|
|
1991
|
-
|
|
1707
|
+
const _hoisted_112 = ["onClick"];
|
|
1708
|
+
const _hoisted_113 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-32dcfc52><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-32dcfc52><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-32dcfc52></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-32dcfc52></g><g id="SVGRepo_iconCarrier" data-v-32dcfc52><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-32dcfc52></path></g></svg></span>', 1);
|
|
1709
|
+
const _hoisted_114 = [
|
|
1710
|
+
_hoisted_113
|
|
1992
1711
|
];
|
|
1993
|
-
const
|
|
1994
|
-
const
|
|
1995
|
-
|
|
1712
|
+
const _hoisted_115 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-32dcfc52><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-32dcfc52><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-32dcfc52></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-32dcfc52></g><g id="SVGRepo_iconCarrier" data-v-32dcfc52><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-32dcfc52></path></g></svg></span>', 1);
|
|
1713
|
+
const _hoisted_116 = [
|
|
1714
|
+
_hoisted_115
|
|
1996
1715
|
];
|
|
1997
|
-
const
|
|
1998
|
-
const
|
|
1999
|
-
|
|
1716
|
+
const _hoisted_117 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-32dcfc52><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-32dcfc52><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-32dcfc52></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-32dcfc52></g><g id="SVGRepo_iconCarrier" data-v-32dcfc52><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-32dcfc52></path></g></svg></span>', 1);
|
|
1717
|
+
const _hoisted_118 = [
|
|
1718
|
+
_hoisted_117
|
|
2000
1719
|
];
|
|
2001
|
-
const
|
|
2002
|
-
const
|
|
1720
|
+
const _hoisted_119 = { class: "items-center bg-gray-50 rounded cursor-pointer" };
|
|
1721
|
+
const _hoisted_120 = {
|
|
2003
1722
|
class: "relative inline-block text-left group border-0",
|
|
2004
1723
|
style: { "z-index": "3 !important" }
|
|
2005
1724
|
};
|
|
2006
|
-
const
|
|
1725
|
+
const _hoisted_121 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "w-full flex rounded-md" }, [
|
|
2007
1726
|
/* @__PURE__ */ createElementVNode("span", null, [
|
|
2008
1727
|
/* @__PURE__ */ createElementVNode("div", { class: "p y-1 w w-full text-start in" }, [
|
|
2009
1728
|
/* @__PURE__ */ createElementVNode("i", {
|
|
@@ -2013,27 +1732,27 @@ const _hoisted_189 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
2013
1732
|
])
|
|
2014
1733
|
])
|
|
2015
1734
|
], -1));
|
|
2016
|
-
const
|
|
1735
|
+
const _hoisted_122 = {
|
|
2017
1736
|
style: { "width": "7vw", "padding": "6px", "height": "24vh", "overflow": "auto" },
|
|
2018
1737
|
class: "hidden elemeSetDropDown absolute group-hover:block mt-0 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"
|
|
2019
1738
|
};
|
|
2020
|
-
const
|
|
2021
|
-
const
|
|
1739
|
+
const _hoisted_123 = ["onClick"];
|
|
1740
|
+
const _hoisted_124 = {
|
|
2022
1741
|
key: 0,
|
|
2023
1742
|
class: "hideonprint flex items-center",
|
|
2024
1743
|
style: { "text-align": "center", "align-items": "stretch", "gap": "10px" }
|
|
2025
1744
|
};
|
|
2026
|
-
const
|
|
2027
|
-
const
|
|
2028
|
-
const
|
|
2029
|
-
|
|
2030
|
-
|
|
1745
|
+
const _hoisted_125 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "-" }, null, -1));
|
|
1746
|
+
const _hoisted_126 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { class: "p x-2" }, "NEW LINE", -1));
|
|
1747
|
+
const _hoisted_127 = [
|
|
1748
|
+
_hoisted_125,
|
|
1749
|
+
_hoisted_126
|
|
2031
1750
|
];
|
|
2032
|
-
const
|
|
1751
|
+
const _hoisted_128 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { style: { "margin": "0 0 0 10px" } }, [
|
|
2033
1752
|
/* @__PURE__ */ createTextVNode("Cursor position: "),
|
|
2034
1753
|
/* @__PURE__ */ createElementVNode("span", { id: "cursorPosition" }, "0")
|
|
2035
1754
|
], -1));
|
|
2036
|
-
const
|
|
1755
|
+
const _hoisted_129 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
|
|
2037
1756
|
/* @__PURE__ */ createTextVNode("Text at cursor: "),
|
|
2038
1757
|
/* @__PURE__ */ createElementVNode("span", { id: "textAtCursor" })
|
|
2039
1758
|
], -1));
|
|
@@ -2063,14 +1782,37 @@ const _sfc_main = {
|
|
|
2063
1782
|
},
|
|
2064
1783
|
emits: ["change", "update"],
|
|
2065
1784
|
setup(__props, { emit: __emit }) {
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
1785
|
+
const props = __props, previewPrintActions = [
|
|
1786
|
+
{ label: "Print", icon: "print", print: true },
|
|
1787
|
+
{ label: "Preview", icon: "eye", print: false }
|
|
1788
|
+
], editorTools = [
|
|
1789
|
+
{ tag: "i", label: "italic", icon: "italic", value: "**italic text **" },
|
|
1790
|
+
{ tag: "u", label: "underline", icon: "underline", value: "**underLine text **" },
|
|
1791
|
+
{ tag: "s", label: "strike", icon: "strikethrough", value: "**underLine text**" },
|
|
1792
|
+
{ tag: "sup", label: "superscript", icon: "superscript", value: "**supperScript**" },
|
|
1793
|
+
{ tag: "sub", label: "subscript", icon: "subscript", value: "**supperScript**" },
|
|
1794
|
+
{ tag: "summary", label: "summary", icon: "-list", value: "**summary**" },
|
|
1795
|
+
{ tag: "ol", label: "list order", icon: "list-ol", value: "1. ordered list", bg: "#f3f4f6" },
|
|
1796
|
+
{ tag: "ul", label: "list unorder", icon: "list-ul", value: "1. unordered list", bg: "#f3f4f6" }
|
|
1797
|
+
], fonts = [
|
|
1798
|
+
{ label: "Andale Mono", family: "andale mono, monospace" },
|
|
1799
|
+
{ label: "Arial", family: "arial, helvetica, sans-serif" },
|
|
1800
|
+
{ label: "Arial Black", family: '"arial black", sans-serif' },
|
|
1801
|
+
{ label: "Book Antiqua", family: "book antiqua, palatino, serif" },
|
|
1802
|
+
{ label: "Comic Sans MS", family: '"comic sans ms", sans-serif' },
|
|
1803
|
+
{ label: "Courier New", family: "courier new, courier, monospace" },
|
|
1804
|
+
{ label: "Georgia", family: "georgia, palatino, serif" },
|
|
1805
|
+
{ label: "Helvetica", family: "helvetica, arial, sans-serif" },
|
|
1806
|
+
{ label: "Impact", family: "impact, sans-serif" },
|
|
1807
|
+
{ label: "Symbol", family: "symbol" },
|
|
1808
|
+
{ label: "Tahoma", family: "tahoma, arial, helvetica, sans-serif" },
|
|
1809
|
+
{ label: "Terminal", family: "terminal, monaco, monospace" },
|
|
1810
|
+
{ label: "Times New Roman", family: "times new roman, times, serif" },
|
|
1811
|
+
{ label: "Trebuchet MS", family: "trebuchet ms, geneva, sans-serif" },
|
|
1812
|
+
{ label: "Verdana", family: "verdana, geneva, sans-serif" },
|
|
1813
|
+
{ label: "Webdings", family: "webdings" },
|
|
1814
|
+
{ label: "Wingdings", family: "wingdings" }
|
|
1815
|
+
], editorRef = ref(null), imageClicked = ref(false), savedRange2 = ref(null), tablePickerContainer = ref(null), tablePickerGrid = ref(null), tableDimensions = ref(null);
|
|
2074
1816
|
let selectedImage = null;
|
|
2075
1817
|
const colors = ref([
|
|
2076
1818
|
"FF5733",
|
|
@@ -2100,7 +1842,7 @@ const _sfc_main = {
|
|
|
2100
1842
|
"00CED1",
|
|
2101
1843
|
"7FFF00",
|
|
2102
1844
|
"FF4500",
|
|
2103
|
-
"
|
|
1845
|
+
"FFFEF",
|
|
2104
1846
|
"2E8B57",
|
|
2105
1847
|
"DAA520",
|
|
2106
1848
|
"6A5ACD",
|
|
@@ -2525,113 +2267,83 @@ const _sfc_main = {
|
|
|
2525
2267
|
_hoisted_7,
|
|
2526
2268
|
createElementVNode("div", _hoisted_8, [
|
|
2527
2269
|
createElementVNode("div", _hoisted_9, [
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2270
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(previewPrintActions, (action, i) => {
|
|
2271
|
+
return createElementVNode("div", {
|
|
2272
|
+
key: i,
|
|
2273
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
2274
|
+
onClick: ($event) => previewAndPrintFun(action.print)
|
|
2275
|
+
}, [
|
|
2276
|
+
createElementVNode("i", {
|
|
2277
|
+
class: normalizeClass(`${action.icon} p x-2`)
|
|
2278
|
+
}, null, 2),
|
|
2279
|
+
createElementVNode("strong", _hoisted_11, toDisplayString(action.label), 1)
|
|
2280
|
+
], 8, _hoisted_10);
|
|
2281
|
+
}), 64)),
|
|
2282
|
+
_hoisted_12
|
|
2540
2283
|
])
|
|
2541
2284
|
])
|
|
2542
2285
|
])
|
|
2543
2286
|
]),
|
|
2544
|
-
createElementVNode("div",
|
|
2545
|
-
createElementVNode("div",
|
|
2546
|
-
|
|
2547
|
-
createElementVNode("div",
|
|
2548
|
-
createElementVNode("div",
|
|
2287
|
+
createElementVNode("div", _hoisted_13, [
|
|
2288
|
+
createElementVNode("div", _hoisted_14, [
|
|
2289
|
+
_hoisted_15,
|
|
2290
|
+
createElementVNode("div", _hoisted_16, [
|
|
2291
|
+
createElementVNode("div", _hoisted_17, [
|
|
2549
2292
|
createElementVNode("div", {
|
|
2550
2293
|
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md",
|
|
2551
|
-
onClick: _cache[
|
|
2552
|
-
},
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
onClick: _cache[12] || (_cache[12] = ($event) => insertElementAtCursorHtagsFun("h2", "**h2**")),
|
|
2593
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2594
|
-
}, _hoisted_51),
|
|
2595
|
-
createElementVNode("div", {
|
|
2596
|
-
onClick: _cache[13] || (_cache[13] = ($event) => insertElementAtCursorHtagsFun("h3", "**h3**")),
|
|
2597
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2598
|
-
}, _hoisted_53),
|
|
2599
|
-
createElementVNode("div", {
|
|
2600
|
-
onClick: _cache[14] || (_cache[14] = ($event) => unref(insertElementAtCursorHtags)("h4", "**h4**")),
|
|
2601
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2602
|
-
}, _hoisted_55),
|
|
2603
|
-
createElementVNode("div", {
|
|
2604
|
-
onClick: _cache[15] || (_cache[15] = ($event) => insertElementAtCursorHtagsFun("h5", "**h5**")),
|
|
2605
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2606
|
-
}, _hoisted_57),
|
|
2607
|
-
createElementVNode("div", {
|
|
2608
|
-
onClick: _cache[16] || (_cache[16] = ($event) => insertElementAtCursorHtagsFun("h6", "**h6**")),
|
|
2609
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2610
|
-
}, _hoisted_59),
|
|
2611
|
-
createElementVNode("div", {
|
|
2612
|
-
onClick: _cache[17] || (_cache[17] = ($event) => styleElementIncluderFun("text-transform", "capitalize")),
|
|
2613
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2614
|
-
}, _hoisted_61),
|
|
2615
|
-
createElementVNode("div", {
|
|
2616
|
-
onClick: _cache[18] || (_cache[18] = ($event) => styleElementIncluderFun("text-transform", "lowercase")),
|
|
2617
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2618
|
-
}, _hoisted_63),
|
|
2619
|
-
createElementVNode("div", {
|
|
2620
|
-
onClick: _cache[19] || (_cache[19] = ($event) => styleElementIncluderFun("text-transform", "uppercase")),
|
|
2621
|
-
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2622
|
-
}, _hoisted_65)
|
|
2294
|
+
onClick: _cache[0] || (_cache[0] = ($event) => insertElementAtCursorFun())
|
|
2295
|
+
}, _hoisted_20),
|
|
2296
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(editorTools, (tool, i) => {
|
|
2297
|
+
return createElementVNode("div", {
|
|
2298
|
+
key: i,
|
|
2299
|
+
onClick: ($event) => insertElementAtCursorFun(tool.tag, tool.value),
|
|
2300
|
+
style: normalizeStyle(tool.bg ? { backgroundColor: tool.bg, cursor: "pointer" } : {}),
|
|
2301
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2302
|
+
}, [
|
|
2303
|
+
createElementVNode("i", {
|
|
2304
|
+
class: normalizeClass(`${tool.icon} p x-2`)
|
|
2305
|
+
}, null, 2),
|
|
2306
|
+
(openBlock(), createBlock(resolveDynamicComponent(["summary", "sub", "sup", "u", "i", "s"].includes(tool.tag) ? tool.tag : "strong"), {
|
|
2307
|
+
class: "px-3",
|
|
2308
|
+
style: { "padding-left": "0.75rem" }
|
|
2309
|
+
}, {
|
|
2310
|
+
default: withCtx(() => [
|
|
2311
|
+
createTextVNode(toDisplayString(tool.label), 1)
|
|
2312
|
+
]),
|
|
2313
|
+
_: 2
|
|
2314
|
+
}, 1024))
|
|
2315
|
+
], 12, _hoisted_21);
|
|
2316
|
+
}), 64)),
|
|
2317
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(6, (i) => {
|
|
2318
|
+
return createElementVNode("div", {
|
|
2319
|
+
key: i,
|
|
2320
|
+
onClick: ($event) => insertElementAtCursorHtagsFun("h" + i, "**h" + i + "**"),
|
|
2321
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2322
|
+
}, [
|
|
2323
|
+
createElementVNode("span", _hoisted_23, toDisplayString(`H${i}`), 1)
|
|
2324
|
+
], 8, _hoisted_22);
|
|
2325
|
+
}), 64)),
|
|
2326
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(["capitalize", "lowercase", "uppercase"], (i) => {
|
|
2327
|
+
return createElementVNode("div", {
|
|
2328
|
+
key: i,
|
|
2329
|
+
onClick: ($event) => styleElementIncluderFun("text-transform", i),
|
|
2330
|
+
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"
|
|
2331
|
+
}, [
|
|
2332
|
+
createElementVNode("span", _hoisted_25, toDisplayString(i), 1)
|
|
2333
|
+
], 8, _hoisted_24);
|
|
2334
|
+
}), 64))
|
|
2623
2335
|
])
|
|
2624
2336
|
])
|
|
2625
2337
|
])
|
|
2626
2338
|
]),
|
|
2627
|
-
createElementVNode("div",
|
|
2628
|
-
createElementVNode("div",
|
|
2629
|
-
|
|
2630
|
-
createElementVNode("div",
|
|
2631
|
-
createElementVNode("div",
|
|
2632
|
-
createElementVNode("div",
|
|
2633
|
-
|
|
2634
|
-
|
|
2339
|
+
createElementVNode("div", _hoisted_26, [
|
|
2340
|
+
createElementVNode("div", _hoisted_27, [
|
|
2341
|
+
_hoisted_28,
|
|
2342
|
+
createElementVNode("div", _hoisted_29, [
|
|
2343
|
+
createElementVNode("div", _hoisted_30, [
|
|
2344
|
+
createElementVNode("div", _hoisted_31, [
|
|
2345
|
+
_hoisted_32,
|
|
2346
|
+
_hoisted_33,
|
|
2635
2347
|
createElementVNode("input", {
|
|
2636
2348
|
type: "file",
|
|
2637
2349
|
hidden: "",
|
|
@@ -2643,26 +2355,26 @@ const _sfc_main = {
|
|
|
2643
2355
|
]),
|
|
2644
2356
|
createElementVNode("div", {
|
|
2645
2357
|
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
2646
|
-
onClick: _cache[
|
|
2358
|
+
onClick: _cache[1] || (_cache[1] = ($event) => {
|
|
2647
2359
|
openInputToFeedFun(this, "a", "links", {}, { href: "", class: "pom-editor-anchor-tag", style: `text-decoration: underline;cursor: pointer` });
|
|
2648
2360
|
})
|
|
2649
|
-
},
|
|
2361
|
+
}, _hoisted_36),
|
|
2650
2362
|
createElementVNode("div", {
|
|
2651
2363
|
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer p-2",
|
|
2652
|
-
onClick: _cache[
|
|
2653
|
-
},
|
|
2364
|
+
onClick: _cache[2] || (_cache[2] = ($event) => openInputToFeedFun(this))
|
|
2365
|
+
}, _hoisted_39),
|
|
2654
2366
|
createElementVNode("div", null, [
|
|
2655
|
-
|
|
2367
|
+
_hoisted_40,
|
|
2656
2368
|
createElementVNode("div", {
|
|
2657
2369
|
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
2658
|
-
onClick: _cache[
|
|
2659
|
-
},
|
|
2370
|
+
onClick: _cache[3] || (_cache[3] = ($event) => unref(removeAllTables)())
|
|
2371
|
+
}, _hoisted_43),
|
|
2660
2372
|
createElementVNode("div", {
|
|
2661
2373
|
class: "hover:bg-gray-200 elemeSet rounded cursor-pointer",
|
|
2662
|
-
onClick: _cache[
|
|
2663
|
-
},
|
|
2664
|
-
createElementVNode("div",
|
|
2665
|
-
|
|
2374
|
+
onClick: _cache[4] || (_cache[4] = ($event) => unref(removeAllTables)(true))
|
|
2375
|
+
}, _hoisted_46),
|
|
2376
|
+
createElementVNode("div", _hoisted_47, [
|
|
2377
|
+
_hoisted_48,
|
|
2666
2378
|
createElementVNode("div", {
|
|
2667
2379
|
id: "table-picker-container",
|
|
2668
2380
|
ref_key: "tablePickerContainer",
|
|
@@ -2688,246 +2400,149 @@ const _sfc_main = {
|
|
|
2688
2400
|
])
|
|
2689
2401
|
])
|
|
2690
2402
|
]),
|
|
2691
|
-
createElementVNode("div",
|
|
2692
|
-
createElementVNode("div",
|
|
2693
|
-
|
|
2694
|
-
createElementVNode("div",
|
|
2695
|
-
createElementVNode("span",
|
|
2696
|
-
createElementVNode("div",
|
|
2697
|
-
createElementVNode("div",
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
createElementVNode("div", _hoisted_102, [
|
|
2717
|
-
createElementVNode("div", {
|
|
2718
|
-
style: { "font-family": "book antiqua, palatino, serif" },
|
|
2719
|
-
onClick: _cache[26] || (_cache[26] = () => fontFamilyChanger("font-family", "book antiqua, palatino, serif"))
|
|
2720
|
-
}, " Book Antiqua")
|
|
2721
|
-
])
|
|
2722
|
-
]),
|
|
2723
|
-
createElementVNode("div", _hoisted_103, [
|
|
2724
|
-
createElementVNode("div", _hoisted_104, [
|
|
2725
|
-
createElementVNode("div", {
|
|
2726
|
-
style: { "font-family": '"comic sans ms", sans-serif' },
|
|
2727
|
-
onClick: _cache[27] || (_cache[27] = () => fontFamilyChanger("font-family", 'comic sans ms", sans-serif'))
|
|
2728
|
-
}, " Comic Sans MS")
|
|
2729
|
-
])
|
|
2730
|
-
]),
|
|
2731
|
-
createElementVNode("div", _hoisted_105, [
|
|
2732
|
-
createElementVNode("div", _hoisted_106, [
|
|
2733
|
-
createElementVNode("div", {
|
|
2734
|
-
style: { "font-family": "courier new, courier, monospace" },
|
|
2735
|
-
onClick: _cache[28] || (_cache[28] = () => fontFamilyChanger("font-family", " courier new, courier, monospace;"))
|
|
2736
|
-
}, " Courier New")
|
|
2737
|
-
])
|
|
2738
|
-
]),
|
|
2739
|
-
createElementVNode("div", _hoisted_107, [
|
|
2740
|
-
createElementVNode("div", _hoisted_108, [
|
|
2741
|
-
createElementVNode("div", {
|
|
2742
|
-
style: { "font-family": "georgia, palatino, serif" },
|
|
2743
|
-
onClick: _cache[29] || (_cache[29] = () => fontFamilyChanger("font-family", " georgia, palatino, serif"))
|
|
2744
|
-
}, "Georgia ")
|
|
2745
|
-
])
|
|
2746
|
-
]),
|
|
2747
|
-
createElementVNode("div", _hoisted_109, [
|
|
2748
|
-
createElementVNode("div", _hoisted_110, [
|
|
2749
|
-
createElementVNode("div", {
|
|
2750
|
-
style: { "font-family": "helvetica, arial, sans-serif" },
|
|
2751
|
-
onClick: _cache[30] || (_cache[30] = () => fontFamilyChanger("font-family", " helvetica, arial, sans-serif"))
|
|
2752
|
-
}, " Helvetica")
|
|
2753
|
-
])
|
|
2754
|
-
]),
|
|
2755
|
-
createElementVNode("div", _hoisted_111, [
|
|
2756
|
-
createElementVNode("div", _hoisted_112, [
|
|
2757
|
-
createElementVNode("div", {
|
|
2758
|
-
style: { "font-family": "impact, sans-serif" },
|
|
2759
|
-
onClick: _cache[31] || (_cache[31] = () => fontFamilyChanger("font-family", " impact, sans-serif"))
|
|
2760
|
-
}, "Impact")
|
|
2761
|
-
])
|
|
2762
|
-
]),
|
|
2763
|
-
createElementVNode("div", _hoisted_113, [
|
|
2764
|
-
createElementVNode("div", _hoisted_114, [
|
|
2765
|
-
createElementVNode("div", {
|
|
2766
|
-
style: { "font-family": "symbol" },
|
|
2767
|
-
onClick: _cache[32] || (_cache[32] = () => fontFamilyChanger("font-family", " symbol"))
|
|
2768
|
-
}, "Symbol")
|
|
2769
|
-
])
|
|
2770
|
-
]),
|
|
2771
|
-
createElementVNode("div", _hoisted_115, [
|
|
2772
|
-
createElementVNode("div", _hoisted_116, [
|
|
2773
|
-
createElementVNode("div", {
|
|
2774
|
-
style: { "font-family": "tahoma, arial, helvetica, sans-serif" },
|
|
2775
|
-
onClick: _cache[33] || (_cache[33] = () => fontFamilyChanger("font-family", " tahoma, arial, helvetica, sans-serif"))
|
|
2776
|
-
}, " Tahoma")
|
|
2777
|
-
])
|
|
2778
|
-
]),
|
|
2779
|
-
createElementVNode("div", _hoisted_117, [
|
|
2780
|
-
createElementVNode("div", _hoisted_118, [
|
|
2781
|
-
createElementVNode("div", {
|
|
2782
|
-
style: { "font-family": "terminal, monaco, monospace" },
|
|
2783
|
-
onClick: _cache[34] || (_cache[34] = () => fontFamilyChanger("font-family", " terminal, monaco, monospace"))
|
|
2784
|
-
}, "Terminal ")
|
|
2785
|
-
])
|
|
2786
|
-
]),
|
|
2787
|
-
createElementVNode("div", _hoisted_119, [
|
|
2788
|
-
createElementVNode("div", _hoisted_120, [
|
|
2789
|
-
createElementVNode("div", {
|
|
2790
|
-
style: { "font-family": "times new roman, times, serif" },
|
|
2791
|
-
onClick: _cache[35] || (_cache[35] = () => fontFamilyChanger("font-family", " times new roman, times, serif"))
|
|
2792
|
-
}, " Times New Roman")
|
|
2793
|
-
])
|
|
2794
|
-
]),
|
|
2795
|
-
createElementVNode("div", _hoisted_121, [
|
|
2796
|
-
createElementVNode("div", _hoisted_122, [
|
|
2797
|
-
createElementVNode("div", {
|
|
2798
|
-
style: { "font-family": "trebuchet ms, geneva, sans-serif" },
|
|
2799
|
-
onClick: _cache[36] || (_cache[36] = () => fontFamilyChanger("font-family", " trebuchet ms, geneva, sans-serif"))
|
|
2800
|
-
}, " Trebuchet MS")
|
|
2801
|
-
])
|
|
2802
|
-
]),
|
|
2803
|
-
createElementVNode("div", _hoisted_123, [
|
|
2804
|
-
createElementVNode("div", _hoisted_124, [
|
|
2805
|
-
createElementVNode("div", {
|
|
2806
|
-
style: { "font-family": "verdana, geneva, sans-serif" },
|
|
2807
|
-
onClick: _cache[37] || (_cache[37] = () => fontFamilyChanger("font-family", " verdana, geneva, sans-serif"))
|
|
2808
|
-
}, "Verdana ")
|
|
2809
|
-
])
|
|
2810
|
-
]),
|
|
2811
|
-
_hoisted_125,
|
|
2812
|
-
_hoisted_126
|
|
2403
|
+
createElementVNode("div", _hoisted_49, [
|
|
2404
|
+
createElementVNode("div", _hoisted_50, [
|
|
2405
|
+
_hoisted_51,
|
|
2406
|
+
createElementVNode("div", _hoisted_52, [
|
|
2407
|
+
createElementVNode("span", _hoisted_53, [
|
|
2408
|
+
createElementVNode("div", _hoisted_54, [
|
|
2409
|
+
createElementVNode("div", _hoisted_55, [
|
|
2410
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(fonts, (font, i) => {
|
|
2411
|
+
return createElementVNode("div", {
|
|
2412
|
+
key: i,
|
|
2413
|
+
class: "menu-nav__js collection__item",
|
|
2414
|
+
title: font.label,
|
|
2415
|
+
role: "menuitemcheckbox",
|
|
2416
|
+
tabindex: "-1",
|
|
2417
|
+
"aria-disabled": "false",
|
|
2418
|
+
"aria-checked": "false"
|
|
2419
|
+
}, [
|
|
2420
|
+
createElementVNode("div", _hoisted_57, [
|
|
2421
|
+
createElementVNode("div", {
|
|
2422
|
+
style: normalizeStyle({ fontFamily: font.family }),
|
|
2423
|
+
onClick: ($event) => fontFamilyChanger("font-family", font.family)
|
|
2424
|
+
}, toDisplayString(font.label), 13, _hoisted_58)
|
|
2425
|
+
])
|
|
2426
|
+
], 8, _hoisted_56);
|
|
2427
|
+
}), 64))
|
|
2813
2428
|
])
|
|
2814
2429
|
])
|
|
2815
2430
|
])
|
|
2816
2431
|
])
|
|
2817
2432
|
])
|
|
2818
2433
|
]),
|
|
2819
|
-
createElementVNode("div",
|
|
2434
|
+
createElementVNode("div", _hoisted_59, [
|
|
2820
2435
|
createElementVNode("button", {
|
|
2821
|
-
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2822
|
-
onClick: _cache[
|
|
2823
|
-
},
|
|
2436
|
+
style: { "border": "0", "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2437
|
+
onClick: _cache[5] || (_cache[5] = ($event) => ChangeTheDirectionOFTextFun("float", "left", "", "div"))
|
|
2438
|
+
}, _hoisted_61),
|
|
2824
2439
|
createElementVNode("button", {
|
|
2825
|
-
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2826
|
-
onClick: _cache[
|
|
2827
|
-
},
|
|
2440
|
+
style: { "border": "0", "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2441
|
+
onClick: _cache[6] || (_cache[6] = ($event) => ChangeTheDirectionOFTextFun("text-align", "center", "", "div"))
|
|
2442
|
+
}, _hoisted_63),
|
|
2828
2443
|
createElementVNode("button", {
|
|
2829
|
-
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2830
|
-
onClick: _cache[
|
|
2831
|
-
},
|
|
2444
|
+
style: { "border": "0", "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2445
|
+
onClick: _cache[7] || (_cache[7] = ($event) => ChangeTheDirectionOFTextFun("float", "right", "", "div"))
|
|
2446
|
+
}, _hoisted_65),
|
|
2832
2447
|
createElementVNode("button", {
|
|
2833
|
-
style: { "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2834
|
-
onClick: _cache[
|
|
2835
|
-
},
|
|
2448
|
+
style: { "border": "0", "flex": "1", "margin": "0 4px", "width": "auto" },
|
|
2449
|
+
onClick: _cache[8] || (_cache[8] = ($event) => ChangeTheDirectionOFTextFun("text-align", "start", "", "div"))
|
|
2450
|
+
}, _hoisted_67)
|
|
2836
2451
|
]),
|
|
2837
|
-
createElementVNode("div",
|
|
2838
|
-
|
|
2839
|
-
createElementVNode("div",
|
|
2840
|
-
createElementVNode("div",
|
|
2452
|
+
createElementVNode("div", _hoisted_68, [
|
|
2453
|
+
_hoisted_69,
|
|
2454
|
+
createElementVNode("div", _hoisted_70, [
|
|
2455
|
+
createElementVNode("div", _hoisted_71, [
|
|
2841
2456
|
createElementVNode("div", {
|
|
2842
|
-
onClick: _cache[
|
|
2843
|
-
},
|
|
2457
|
+
onClick: _cache[9] || (_cache[9] = ($event) => insertUnorderedListAtCursorFun(3, "disc"))
|
|
2458
|
+
}, _hoisted_73),
|
|
2844
2459
|
createElementVNode("div", {
|
|
2845
|
-
onClick: _cache[
|
|
2846
|
-
},
|
|
2460
|
+
onClick: _cache[10] || (_cache[10] = ($event) => insertUnorderedListAtCursorFun(3, "circle"))
|
|
2461
|
+
}, _hoisted_75),
|
|
2847
2462
|
createElementVNode("div", null, [
|
|
2848
2463
|
createElementVNode("div", {
|
|
2849
2464
|
class: "",
|
|
2850
|
-
onClick: _cache[
|
|
2851
|
-
},
|
|
2465
|
+
onClick: _cache[11] || (_cache[11] = ($event) => insertUnorderedListAtCursorFun())
|
|
2466
|
+
}, _hoisted_77)
|
|
2852
2467
|
]),
|
|
2853
2468
|
createElementVNode("div", {
|
|
2854
|
-
onClick: _cache[
|
|
2855
|
-
},
|
|
2469
|
+
onClick: _cache[12] || (_cache[12] = ($event) => insertUnorderedListAtCursorFun(3, "upper-latin"))
|
|
2470
|
+
}, _hoisted_79)
|
|
2856
2471
|
])
|
|
2857
2472
|
])
|
|
2858
2473
|
])
|
|
2859
2474
|
]),
|
|
2860
|
-
createElementVNode("div",
|
|
2475
|
+
createElementVNode("div", _hoisted_80, [
|
|
2861
2476
|
renderSlot(_ctx.$slots, "toolbar-before", {}, void 0, true),
|
|
2862
2477
|
createElementVNode("div", {
|
|
2863
2478
|
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",
|
|
2864
2479
|
style: { "margin": "1px" },
|
|
2865
|
-
onClick: _cache[
|
|
2866
|
-
},
|
|
2480
|
+
onClick: _cache[13] || (_cache[13] = ($event) => insertElementAtCursorFun())
|
|
2481
|
+
}, _hoisted_82),
|
|
2867
2482
|
createElementVNode("div", {
|
|
2868
|
-
onClick: _cache[
|
|
2483
|
+
onClick: _cache[14] || (_cache[14] = ($event) => insertElementAtCursorFun("i", "**italic text **")),
|
|
2869
2484
|
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2870
2485
|
style: { "margin": "6px" }
|
|
2871
|
-
},
|
|
2486
|
+
}, _hoisted_84),
|
|
2872
2487
|
createElementVNode("div", {
|
|
2873
|
-
onClick: _cache[
|
|
2488
|
+
onClick: _cache[15] || (_cache[15] = ($event) => insertElementAtCursorFun("u", "**underLine text**")),
|
|
2874
2489
|
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2875
2490
|
style: { "margin": "6px" }
|
|
2876
|
-
},
|
|
2491
|
+
}, _hoisted_86),
|
|
2877
2492
|
createElementVNode("div", {
|
|
2878
|
-
onClick: _cache[
|
|
2493
|
+
onClick: _cache[16] || (_cache[16] = ($event) => insertElementAtCursorFun("s", "**Strike text**")),
|
|
2879
2494
|
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2880
2495
|
style: { "margin": "6px" }
|
|
2881
2496
|
}, [
|
|
2882
|
-
createElementVNode("i",
|
|
2883
|
-
(openBlock(), createElementBlock("svg",
|
|
2497
|
+
createElementVNode("i", _hoisted_87, [
|
|
2498
|
+
(openBlock(), createElementBlock("svg", _hoisted_88, _hoisted_92))
|
|
2884
2499
|
])
|
|
2885
2500
|
]),
|
|
2886
2501
|
createElementVNode("div", {
|
|
2887
|
-
onClick: _cache[
|
|
2502
|
+
onClick: _cache[17] || (_cache[17] = ($event) => insertElementAtCursorFun("sup", "**supperScript**")),
|
|
2888
2503
|
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2889
2504
|
style: { "margin": "6px" }
|
|
2890
|
-
},
|
|
2505
|
+
}, _hoisted_94),
|
|
2891
2506
|
createElementVNode("div", {
|
|
2892
|
-
onClick: _cache[
|
|
2507
|
+
onClick: _cache[18] || (_cache[18] = ($event) => insertElementAtCursorFun("sub", "**supperScript**")),
|
|
2893
2508
|
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2894
2509
|
style: { "margin": "6px" }
|
|
2895
|
-
},
|
|
2510
|
+
}, _hoisted_96),
|
|
2896
2511
|
createElementVNode("div", {
|
|
2897
|
-
onClick: _cache[
|
|
2512
|
+
onClick: _cache[19] || (_cache[19] = ($event) => insertElementAtCursorFun("Code", "**code**")),
|
|
2898
2513
|
class: "hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",
|
|
2899
2514
|
style: { "margin": "6px" }
|
|
2900
|
-
},
|
|
2901
|
-
createElementVNode("div",
|
|
2902
|
-
createElementVNode("div",
|
|
2903
|
-
|
|
2904
|
-
createElementVNode("div",
|
|
2905
|
-
createElementVNode("div",
|
|
2906
|
-
createElementVNode("div",
|
|
2515
|
+
}, _hoisted_98),
|
|
2516
|
+
createElementVNode("div", _hoisted_99, [
|
|
2517
|
+
createElementVNode("div", _hoisted_100, [
|
|
2518
|
+
_hoisted_101,
|
|
2519
|
+
createElementVNode("div", _hoisted_102, [
|
|
2520
|
+
createElementVNode("div", _hoisted_103, [
|
|
2521
|
+
createElementVNode("div", _hoisted_104, [
|
|
2907
2522
|
(openBlock(true), createElementBlock(Fragment, null, renderList(colors.value, (col) => {
|
|
2908
2523
|
return openBlock(), createElementBlock("div", {
|
|
2909
2524
|
class: "color-box",
|
|
2910
2525
|
style: normalizeStyle(`background-color: #${col} ;`),
|
|
2911
2526
|
onClick: (e) => styleElementIncluderFun("background", `#${col}`, "", "span")
|
|
2912
|
-
}, null, 12,
|
|
2527
|
+
}, null, 12, _hoisted_105);
|
|
2913
2528
|
}), 256))
|
|
2914
2529
|
])
|
|
2915
2530
|
])
|
|
2916
2531
|
])
|
|
2917
2532
|
])
|
|
2918
2533
|
]),
|
|
2919
|
-
createElementVNode("div",
|
|
2920
|
-
createElementVNode("div",
|
|
2921
|
-
|
|
2922
|
-
createElementVNode("div",
|
|
2923
|
-
createElementVNode("div",
|
|
2924
|
-
createElementVNode("div",
|
|
2534
|
+
createElementVNode("div", _hoisted_106, [
|
|
2535
|
+
createElementVNode("div", _hoisted_107, [
|
|
2536
|
+
_hoisted_108,
|
|
2537
|
+
createElementVNode("div", _hoisted_109, [
|
|
2538
|
+
createElementVNode("div", _hoisted_110, [
|
|
2539
|
+
createElementVNode("div", _hoisted_111, [
|
|
2925
2540
|
(openBlock(true), createElementBlock(Fragment, null, renderList(colors.value, (col) => {
|
|
2926
2541
|
return openBlock(), createElementBlock("div", {
|
|
2927
2542
|
class: "color-box",
|
|
2928
2543
|
style: normalizeStyle(`background-color: #${col} ;`),
|
|
2929
2544
|
onClick: (e) => styleElementIncluderFun("color", `#${col}`, "", "span")
|
|
2930
|
-
}, null, 12,
|
|
2545
|
+
}, null, 12, _hoisted_112);
|
|
2931
2546
|
}), 256))
|
|
2932
2547
|
])
|
|
2933
2548
|
])
|
|
@@ -2938,33 +2553,33 @@ const _sfc_main = {
|
|
|
2938
2553
|
title: "Redo",
|
|
2939
2554
|
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",
|
|
2940
2555
|
st: "",
|
|
2941
|
-
yle: "flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2942
|
-
onClick: _cache[
|
|
2943
|
-
},
|
|
2556
|
+
yle: "border:0;flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2557
|
+
onClick: _cache[20] || (_cache[20] = () => undoOrRedo("Undo"))
|
|
2558
|
+
}, _hoisted_114),
|
|
2944
2559
|
createElementVNode("div", {
|
|
2945
2560
|
title: "Redo",
|
|
2946
2561
|
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",
|
|
2947
2562
|
st: "",
|
|
2948
|
-
yle: "flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2949
|
-
onClick: _cache[
|
|
2950
|
-
},
|
|
2563
|
+
yle: "border:0;flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2564
|
+
onClick: _cache[21] || (_cache[21] = () => undoOrRedo("Redo"))
|
|
2565
|
+
}, _hoisted_116),
|
|
2951
2566
|
createElementVNode("div", {
|
|
2952
2567
|
title: "new fresh line",
|
|
2953
2568
|
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",
|
|
2954
2569
|
st: "",
|
|
2955
|
-
yle: "flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2956
|
-
onClick: _cache[
|
|
2957
|
-
},
|
|
2958
|
-
createElementVNode("div",
|
|
2959
|
-
createElementVNode("div",
|
|
2960
|
-
|
|
2961
|
-
createElementVNode("div",
|
|
2570
|
+
yle: "border:0;flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",
|
|
2571
|
+
onClick: _cache[22] || (_cache[22] = ($event) => insertNewLineAtCursorFun())
|
|
2572
|
+
}, _hoisted_118),
|
|
2573
|
+
createElementVNode("div", _hoisted_119, [
|
|
2574
|
+
createElementVNode("div", _hoisted_120, [
|
|
2575
|
+
_hoisted_121,
|
|
2576
|
+
createElementVNode("div", _hoisted_122, [
|
|
2962
2577
|
(openBlock(), createElementBlock(Fragment, null, renderList(50, (size) => {
|
|
2963
2578
|
return createElementVNode("div", {
|
|
2964
2579
|
class: "pom-editor-menu-fonts",
|
|
2965
2580
|
onClick: (e) => styleElementIncluderFun("font-size", size + "pt"),
|
|
2966
2581
|
key: size
|
|
2967
|
-
}, toDisplayString(size) + " pt", 9,
|
|
2582
|
+
}, toDisplayString(size) + " pt", 9, _hoisted_123);
|
|
2968
2583
|
}), 64))
|
|
2969
2584
|
])
|
|
2970
2585
|
])
|
|
@@ -2987,8 +2602,8 @@ const _sfc_main = {
|
|
|
2987
2602
|
}, [
|
|
2988
2603
|
__props.TextOnly ? (openBlock(), createElementBlock("textarea", {
|
|
2989
2604
|
key: 0,
|
|
2990
|
-
onMouseup: _cache[
|
|
2991
|
-
onKeyup: _cache[
|
|
2605
|
+
onMouseup: _cache[23] || (_cache[23] = ($event) => containerCursorPosition()),
|
|
2606
|
+
onKeyup: _cache[24] || (_cache[24] = (e) => {
|
|
2992
2607
|
handleKeyPress(e);
|
|
2993
2608
|
containerCursorPosition();
|
|
2994
2609
|
}),
|
|
@@ -3000,10 +2615,11 @@ const _sfc_main = {
|
|
|
3000
2615
|
style: { "height": "100%", "width": "100%", "border": "none", "resize": "none" }
|
|
3001
2616
|
}, toDisplayString(__props.Dvalue), 545)) : (openBlock(), createElementBlock("div", {
|
|
3002
2617
|
key: 1,
|
|
2618
|
+
onKeydown: _cache[25] || (_cache[25] = withKeys(withModifiers(($event) => insertNewLineAtCursorFun(), ["ctrl"]), ["enter"])),
|
|
3003
2619
|
"data-placeholder": "Your Editing.....",
|
|
3004
2620
|
onDrop: onChangeFileDrop,
|
|
3005
|
-
onMouseup: _cache[
|
|
3006
|
-
onKeyup: _cache[
|
|
2621
|
+
onMouseup: _cache[26] || (_cache[26] = ($event) => containerCursorPosition()),
|
|
2622
|
+
onKeyup: _cache[27] || (_cache[27] = (e) => {
|
|
3007
2623
|
handleKeyPress(e);
|
|
3008
2624
|
containerCursorPosition();
|
|
3009
2625
|
}),
|
|
@@ -3017,19 +2633,19 @@ const _sfc_main = {
|
|
|
3017
2633
|
}, null, 544))
|
|
3018
2634
|
], 4)
|
|
3019
2635
|
], 512),
|
|
3020
|
-
__props.TextOnly != "true" ? (openBlock(), createElementBlock("div",
|
|
2636
|
+
__props.TextOnly != "true" ? (openBlock(), createElementBlock("div", _hoisted_124, [
|
|
3021
2637
|
createElementVNode("div", {
|
|
3022
2638
|
class: "hover:bg-gray-200",
|
|
3023
|
-
onClick: _cache[
|
|
3024
|
-
},
|
|
3025
|
-
|
|
3026
|
-
|
|
2639
|
+
onClick: _cache[28] || (_cache[28] = ($event) => insertNewLineAtCursorFun())
|
|
2640
|
+
}, _hoisted_127),
|
|
2641
|
+
_hoisted_128,
|
|
2642
|
+
_hoisted_129
|
|
3027
2643
|
])) : createCommentVNode("", true)
|
|
3028
2644
|
]);
|
|
3029
2645
|
};
|
|
3030
2646
|
}
|
|
3031
2647
|
};
|
|
3032
|
-
const Editor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
2648
|
+
const Editor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-32dcfc52"]]);
|
|
3033
2649
|
export {
|
|
3034
2650
|
Editor as default
|
|
3035
2651
|
};
|