pom-text-editor 0.2.26 → 0.2.28

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.
@@ -1,4 +1,4 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.heading{content:"H"}#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-a5098aef]: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-a5098aef]:focus:before{content:none}.pom-main-element-container .table-picker-wrapper[data-v-a5098aef]{position:relative;display:inline-block}.pom-main-element-container .table-picker-trigger[data-v-a5098aef]{cursor:pointer;display:flex;align-items:center}.pom-main-element-container .table-picker-container[data-v-a5098aef]{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-a5098aef]{display:block}.pom-main-element-container .table-picker-grid[data-v-a5098aef]{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-a5098aef]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.pom-main-element-container .table-picker-grid div[data-v-a5098aef]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-a5098aef]{font-size:12px;color:#333}.pom-main-element-container .pomXEditor[data-v-a5098aef]{border:1px;border-style:solid;border-color:#6972734e}.pom-main-element-container #editor[data-v-a5098aef]:focus{outline:none;border:none}.pom-main-element-container .pom-table-editor-container[data-v-a5098aef]{display:flex}.pom-main-element-container .pom-table-editor-container a[data-v-a5098aef]{color:#00f;text-decoration:underline;cursor:pointer}.pom-main-element-container .pom-table-editor-container a[data-v-a5098aef]:link{color:#00f}.pom-main-element-container .pom-table-editor-container a[data-v-a5098aef]:visited{color:purple}.pom-main-element-container .pom-table-editor-container a[data-v-a5098aef]:hover{color:red;text-decoration:none}.pom-main-element-container .pom-table-editor-container a[data-v-a5098aef]:active{color:orange}@media print{.hideonprint[data-v-a5098aef]{display:none!important}[data-v-a5098aef]{overflow:hidden}}.pom-main-element-container .editor[data-v-a5098aef]{padding:10px;border:1px solid #ccc;min-height:200px}.pom-main-element-container .resizable-image[data-v-a5098aef]{max-width:100%;resize:both;overflow:auto;display:block;cursor:nwse-resize}.pom-main-element-container[data-v-a5098aef] ::-webkit-scrollbar{width:12px;height:12px}.pom-main-element-container[data-v-a5098aef] ::-webkit-scrollbar-track{background:#f1f1f1}.pom-main-element-container[data-v-a5098aef] ::-webkit-scrollbar-thumb{background-color:#888;border-radius:6px;border:3px solid #f1f1f1}.pom-main-element-container[data-v-a5098aef] ::-webkit-scrollbar-thumb:hover{background:#555}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
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
2
  import { ref, onMounted, openBlock, createElementBlock, createElementVNode, unref, renderSlot, Fragment, renderList, normalizeStyle, toDisplayString, createCommentVNode, nextTick, pushScopeId, popScopeId, createStaticVNode, createTextVNode } from "vue";
3
3
  function updateCursorInfo() {
4
4
  const selection = window.getSelection();
@@ -93,13 +93,15 @@ function exportUserHtmlForAtheUse(printableContent = document.getElementById("po
93
93
  const returnData = printableContent.innerHTML;
94
94
  return returnData;
95
95
  }
96
- function previewAndPrint(print = true, printableContent = document.getElementById("editor").innerHTML, elementsTohide = "hideonprint") {
97
- const printableContent2 = styleCss() + printableContent;
96
+ function previewAndPrint(print = true, printableContent = document.getElementById("pom-texedito-container").innerHTML, elementsTohide = "hideonprint") {
97
+ const printableContent2 = printableContent;
98
98
  const printWindow = scopeOutTheUserDataReutur(printableContent2, elementsTohide);
99
99
  if (print) {
100
100
  printWindow.focus();
101
101
  printWindow.onload = function() {
102
- printWindow.print();
102
+ setTimeout(() => {
103
+ printWindow.print();
104
+ }, 4e3);
103
105
  };
104
106
  printWindow.onafterprint = function() {
105
107
  printWindow.close();
@@ -166,8 +168,21 @@ function ImageResizing() {
166
168
  function editorKeyActions(savedRange2, editorRef) {
167
169
  const myDiv = document.getElementById("editor");
168
170
  myDiv.addEventListener("keydown", function(event) {
169
- const rng = savedRange2.value["range"];
170
- if (event.code === "Tab") {
171
+ var _a;
172
+ const rng = (_a = savedRange2.value) == null ? void 0 : _a["range"];
173
+ if (event.code === "Enter") {
174
+ const parentElement = rng.commonAncestorContainer;
175
+ const parentNode = parentElement.nodeType === Node.TEXT_NODE ? parentElement.parentNode : parentElement;
176
+ const styleValu = parentNode.style["float"];
177
+ if (styleValu) {
178
+ const element = document.createElement("div");
179
+ element.innerHTML = parentNode.innerHTML;
180
+ parentNode.innerHTML = null;
181
+ const spaceAfter = document.createElement("span");
182
+ spaceAfter.innerHTML = "";
183
+ parentNode.appendChild(element);
184
+ }
185
+ } else if (event.code === "Tab") {
171
186
  event.preventDefault();
172
187
  const spaceBefore = document.createElement("span");
173
188
  spaceBefore.innerHTML = "    ";
@@ -280,6 +295,10 @@ function insertTableAtCursor(editor2, numRows = 2, numCols = 2) {
280
295
  }
281
296
  function createCustomContextMenu(e, table, container) {
282
297
  const existingMenu = document.getElementById("custom-context-menu");
298
+ const existingMenu2 = document.getElementById("custom-context-menu-multipleSeletedTableActions");
299
+ if (existingMenu2) {
300
+ document.body.removeChild(existingMenu2);
301
+ }
283
302
  if (existingMenu) {
284
303
  document.body.removeChild(existingMenu);
285
304
  }
@@ -293,8 +312,136 @@ function createCustomContextMenu(e, table, container) {
293
312
  contextMenu.style.zIndex = "1000";
294
313
  contextMenu.style.left = `${e == null ? void 0 : e.pageX}px`;
295
314
  contextMenu.style.top = `${e == null ? void 0 : e.pageY}px`;
315
+ const multipleSeletedTableActions = document.createElement("div");
316
+ multipleSeletedTableActions.id = "custom-context-menu-multipleSeletedTableActions";
317
+ multipleSeletedTableActions.style.position = "absolute";
318
+ multipleSeletedTableActions.style.backgroundColor = "white";
319
+ multipleSeletedTableActions.style.border = "1px solid #ccc";
320
+ multipleSeletedTableActions.style.padding = "10px";
321
+ multipleSeletedTableActions.style.boxShadow = "0 2px 10px rgba(0, 0, 0, 0.2)";
322
+ multipleSeletedTableActions.style.zIndex = "1000";
323
+ multipleSeletedTableActions.style.left = `${e == null ? void 0 : e.pageX}px`;
324
+ multipleSeletedTableActions.style.top = `${e == null ? void 0 : e.pageY}px`;
325
+ function createAMenuContext(contextMenu2, options2) {
326
+ options2.forEach((option) => {
327
+ const optionElement = document.createElement("div");
328
+ optionElement.textContent = option.text;
329
+ optionElement.style.cursor = "pointer";
330
+ optionElement.addEventListener("click", option.action);
331
+ contextMenu2.appendChild(optionElement);
332
+ });
333
+ document.body.appendChild(contextMenu2);
334
+ }
296
335
  const options = [
297
336
  { text: "Delete Table", action: () => container.remove() },
337
+ {
338
+ text: "Select Colum(s)",
339
+ action: () => {
340
+ {
341
+ e.target.classList.add("VaticalheightList");
342
+ const rows = table.rows;
343
+ const indexHighlighted = [];
344
+ for (let i = 0; i < rows.length; i++) {
345
+ const cells = rows[i].cells;
346
+ for (let j = 0; j < cells.length; j++) {
347
+ const td = cells[j];
348
+ if (td.classList.contains("VaticalheightList")) {
349
+ if (!indexHighlighted.includes(j)) {
350
+ indexHighlighted.push(j);
351
+ }
352
+ }
353
+ }
354
+ }
355
+ for (let i = 0; i < indexHighlighted.length; i++) {
356
+ const colIndex = indexHighlighted[i];
357
+ for (let row = 0; row < rows.length; row++) {
358
+ rows[row].cells[colIndex].classList.add("VaticalheightList");
359
+ }
360
+ }
361
+ const moactions = [
362
+ {
363
+ text: "SUM All",
364
+ action: () => {
365
+ const caluObject = {};
366
+ const rows2 = table.rows;
367
+ for (let i = 0; i < rows2.length; i++) {
368
+ const cells = rows2[i].cells;
369
+ for (let j = 0; j < cells.length; j++) {
370
+ const td = cells[j];
371
+ if (td.classList.contains("VaticalheightList")) {
372
+ const cellValue = parseFloat(td.innerText);
373
+ if (!isNaN(cellValue)) {
374
+ if (!caluObject[j]) {
375
+ caluObject[j] = 0;
376
+ }
377
+ caluObject[j] += cellValue;
378
+ }
379
+ }
380
+ }
381
+ }
382
+ if (table.querySelector("tr.TableHasTotalTr")) {
383
+ table.querySelector("tr.TableHasTotalTr").remove();
384
+ }
385
+ const newRow = document.createElement("tr");
386
+ newRow.classList.add("TableHasTotalTr");
387
+ const numCols = table.rows[0].cells.length;
388
+ for (let j = 0; j < numCols; j++) {
389
+ const newCell = document.createElement("td");
390
+ newCell.style.border = "1px solid black";
391
+ newCell.style.padding = "5px";
392
+ newCell.style.alignContent = "center";
393
+ newCell.innerHTML = caluObject[j] ? `Total:${caluObject[j]}` : null;
394
+ newRow.appendChild(newCell);
395
+ }
396
+ table.appendChild(newRow);
397
+ document.body.removeChild(multipleSeletedTableActions);
398
+ }
399
+ }
400
+ ];
401
+ createAMenuContext(multipleSeletedTableActions, moactions);
402
+ }
403
+ }
404
+ },
405
+ {
406
+ text: "Select Row(s)",
407
+ action: () => {
408
+ {
409
+ e.target.parentElement.classList.add("verticalheightList");
410
+ const verticalheightListCalc = table.querySelectorAll(".verticalheightList");
411
+ const moactions = [
412
+ {
413
+ text: "SUM All",
414
+ action: () => {
415
+ for (let i = 0; i < verticalheightListCalc.length; i++) {
416
+ const colIndex = verticalheightListCalc[i];
417
+ const verticalTotalOf = colIndex.querySelectorAll("td.vaticalTotal");
418
+ verticalTotalOf.forEach((element) => {
419
+ element.remove();
420
+ });
421
+ const getAllTdsInside = colIndex.querySelectorAll("td");
422
+ let caluObject = 0;
423
+ for (let tdin = 0; tdin < getAllTdsInside.length; tdin++) {
424
+ const cellValue = parseFloat(getAllTdsInside[tdin].innerText);
425
+ if (!isNaN(cellValue)) {
426
+ caluObject += cellValue;
427
+ }
428
+ }
429
+ const creatNewTd = document.createElement("td");
430
+ creatNewTd.classList.add("vaticalTotal");
431
+ creatNewTd.innerHTML = caluObject ? `Total : ${caluObject}` : null;
432
+ creatNewTd.style.border = "1px solid black";
433
+ creatNewTd.style.position = "relative";
434
+ creatNewTd.style.padding = "5px";
435
+ colIndex.appendChild(creatNewTd);
436
+ }
437
+ document.body.removeChild(multipleSeletedTableActions);
438
+ }
439
+ }
440
+ ];
441
+ createAMenuContext(multipleSeletedTableActions, moactions);
442
+ }
443
+ }
444
+ },
298
445
  {
299
446
  text: "Toggle Borders",
300
447
  action: () => {
@@ -355,15 +502,12 @@ function createCustomContextMenu(e, table, container) {
355
502
  }
356
503
  }
357
504
  ];
358
- options.forEach((option) => {
359
- const optionElement = document.createElement("div");
360
- optionElement.textContent = option.text;
361
- optionElement.style.cursor = "pointer";
362
- optionElement.addEventListener("click", option.action);
363
- contextMenu.appendChild(optionElement);
364
- });
365
- document.body.appendChild(contextMenu);
366
- document.addEventListener("click", function removeMenu() {
505
+ createAMenuContext(contextMenu, options);
506
+ document.addEventListener("click", function removeMenu(e2) {
507
+ if (contextMenu.id !== "custom-context-menu") {
508
+ document.body.removeChild(multipleSeletedTableActions);
509
+ document.body.removeChild(multipleSeletedTableActions);
510
+ }
367
511
  if (contextMenu) {
368
512
  document.body.removeChild(contextMenu);
369
513
  }
@@ -371,7 +515,6 @@ function createCustomContextMenu(e, table, container) {
371
515
  });
372
516
  }
373
517
  function insertElementAtCursor(savedRange2, elementType = "strong", placeholderText = "*bold text here *", attributes = []) {
374
- var _a;
375
518
  if (savedRange2) {
376
519
  const selection = window.getSelection();
377
520
  selection.removeAllRanges();
@@ -382,51 +525,36 @@ function insertElementAtCursor(savedRange2, elementType = "strong", placeholderT
382
525
  const parentElement = range.commonAncestorContainer;
383
526
  const parentNode = parentElement.nodeType === Node.TEXT_NODE ? parentElement.parentNode : parentElement;
384
527
  const tagName = `${parentNode.tagName}`.toLowerCase();
385
- if (typeof elementType === "string" && elementType.trim() !== "") {
386
- let elm = document.createElement(elementType);
387
- elm.contenteditable = false;
388
- if (attributes) {
389
- attributes.forEach((l) => {
390
- const { attr, value, keyin } = l;
391
- elm.setAttribute(attr, value);
392
- });
393
- }
394
- elm.appendChild(highlightedText);
395
- if (`${elementType}`.toLowerCase() == "code") {
396
- console.log(elm.innerHTML, "elmelmelm");
397
- } else {
398
- if (!((_a = parentNode.classList) == null ? void 0 : _a.contains("pom-editing-area"))) {
399
- parentNode.innerHTML;
400
- console.log({ highlightedText, elementType, tagName }, "parentNodeparentNode", elm.innerHTML);
401
- if (elementType == tagName) {
402
- elm = createHtmlNode(elm.innerHTML);
403
- parentNode.parentNode.removeChild(parentNode);
404
- }
405
- }
406
- }
407
- elm.innerHTML = getThehighLighted.length > 0 ? elm.innerHTML : placeholderText;
408
- const spaceAfter = document.createElement("span");
409
- spaceAfter.innerHTML = "&nbsp;&nbsp;&nbsp;";
410
- savedRange2.deleteContents();
411
- savedRange2.insertNode(spaceAfter);
412
- savedRange2.insertNode(elm);
413
- const newRange = document.createRange();
414
- newRange.setStartAfter(spaceAfter);
415
- newRange.collapse(true);
416
- selection.removeAllRanges();
417
- selection.addRange(newRange);
418
- savedRange2 = newRange.cloneRange();
528
+ let elm;
529
+ let hilightValuesChecks = createHtmlNode(highlightedText);
530
+ const spaceAfter = document.createElement("span");
531
+ spaceAfter.innerHTML = "&nbsp;&nbsp;&nbsp;";
532
+ if ((hilightValuesChecks == null ? void 0 : hilightValuesChecks.includes(elementType)) || tagName == elementType) {
533
+ elm = document.createElement("span");
534
+ elm.innerHTML = hilightValuesChecks;
535
+ console.log(elm, "hilightValuesChecks");
536
+ const html = elm.outerHTML.replace(new RegExp(`<${elementType}`, "gi"), "<span").replace(new RegExp(`</${elementType}>`, "gi"), "</span>").replace(new RegExp(spaceAfter.outerHTML, "gi"), " ");
537
+ elm.innerHTML = html;
419
538
  } else {
420
- console.error("Invalid element type:", elementType);
539
+ elm = document.createElement(elementType);
540
+ elm.innerHTML = getThehighLighted.length > 0 ? hilightValuesChecks : placeholderText;
421
541
  }
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
+ selection.removeAllRanges();
422
549
  } else {
423
550
  console.log("No saved range available. Make sure the cursor position is saved before calling this function.");
424
551
  }
425
552
  }
426
553
  function createHtmlNode(htmlString) {
427
554
  const tempDiv = document.createElement("div");
428
- tempDiv.innerHTML = htmlString;
429
- return tempDiv;
555
+ tempDiv.appendChild(htmlString);
556
+ const innerHTML = tempDiv.innerHTML;
557
+ return innerHTML;
430
558
  }
431
559
  function openInputToFeed(savedRange2, e, element = "span", type = "datetime-local", cssStyle = {}, attributes = []) {
432
560
  const cleanzefirst = document.getElementById("Pom-openInputToFeed" + type);
@@ -491,7 +619,7 @@ function openInputToFeed(savedRange2, e, element = "span", type = "datetime-loca
491
619
  }
492
620
  }
493
621
  function changeTextDirection(savedRange2, editor2, style, value, suffix = "", elementType = "span", imageClick = false) {
494
- var _a, _b;
622
+ var _a;
495
623
  if (!savedRange2) {
496
624
  console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");
497
625
  return;
@@ -514,40 +642,23 @@ function changeTextDirection(savedRange2, editor2, style, value, suffix = "", el
514
642
  let highlightedText = range.cloneContents();
515
643
  const parentElement = range.commonAncestorContainer;
516
644
  const parentNode = parentElement.nodeType === Node.TEXT_NODE ? parentElement.parentNode : parentElement;
517
- let element, textToReplace;
645
+ let element;
518
646
  element = document.createElement(elementType);
519
- element.classList.add("pom-4-textDirection");
520
- element.setAttribute("id", `pom-4-textDirection-${Date.now()}`);
521
647
  const tagName = `${parentNode.tagName}`.toLowerCase();
522
648
  const incaseImage = parentNode ? (_a = parentNode.classList) == null ? void 0 : _a.contains("resizer-image-dropped") : null;
523
- if (parentNode && ((_b = parentNode.classList) == null ? void 0 : _b.contains("pom-4-textDirection"))) {
524
- parentNode.childNodes.forEach((node) => {
525
- var _a2;
526
- if (node.nodeType === Node.ELEMENT_NODE) {
527
- if (!((_a2 = node.classList) == null ? void 0 : _a2.contains("resizer-image-dropped")))
528
- node.removeAttribute("style");
529
- }
530
- });
531
- }
532
649
  if (tagName == "ul" || incaseImage || tagName == "img") {
533
650
  parentNode.style.float = `${floats[value]}`;
534
651
  parentNode.style.fontWeight = "bold";
535
652
  return;
536
653
  }
537
- element.appendChild(highlightedText);
538
654
  if (parentNode.id == "editor") {
539
- textToReplace = element.innerHTML.replace("float", "note");
540
655
  savedRange2.deleteContents();
541
656
  } else {
542
- textToReplace = parentNode.innerHTML;
543
- parentNode.remove();
544
657
  savedRange2.deleteContents();
545
658
  }
546
- document.querySelectorAll(".pom-4-textDirection").forEach((element2) => {
547
- if (`${element2.innerHTML}`.trim().length === 0) {
548
- element2.remove();
549
- }
550
- });
659
+ const innerElement = document.createElement("div");
660
+ innerElement.appendChild(highlightedText);
661
+ element.appendChild(innerElement);
551
662
  const currentStyle = element.style[style] || "";
552
663
  const regex = new RegExp(suffix, "ig");
553
664
  const rp = value.replace(regex, "") + suffix;
@@ -558,7 +669,6 @@ function changeTextDirection(savedRange2, editor2, style, value, suffix = "", el
558
669
  }
559
670
  element.style["margin-left"] = "4px";
560
671
  element.style["margin-right"] = "4px";
561
- element.innerHTML = textToReplace;
562
672
  const spaceBefore = document.createElement("span");
563
673
  const spaceAfter = document.createElement("span");
564
674
  spaceBefore.innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;";
@@ -906,7 +1016,7 @@ const _export_sfc = (sfc, props) => {
906
1016
  }
907
1017
  return target;
908
1018
  };
909
- const _withScopeId = (n) => (pushScopeId("data-v-a5098aef"), n = n(), popScopeId(), n);
1019
+ const _withScopeId = (n) => (pushScopeId("data-v-c6058be1"), n = n(), popScopeId(), n);
910
1020
  const _hoisted_1 = { class: "pom-main-element-container" };
911
1021
  const _hoisted_2 = {
912
1022
  style: { "width": "100%" },
@@ -932,7 +1042,10 @@ const _hoisted_7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElem
932
1042
  ])
933
1043
  ])
934
1044
  ], -1));
935
- const _hoisted_8 = { class: "hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" };
1045
+ const _hoisted_8 = {
1046
+ style: { "z-index": "12" },
1047
+ 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"
1048
+ };
936
1049
  const _hoisted_9 = {
937
1050
  class: "",
938
1051
  role: "none"
@@ -967,7 +1080,10 @@ const _hoisted_18 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
967
1080
  ])
968
1081
  ])
969
1082
  ], -1));
970
- const _hoisted_19 = { class: "hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" };
1083
+ const _hoisted_19 = {
1084
+ style: { "z-index": "12" },
1085
+ 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
+ };
971
1087
  const _hoisted_20 = {
972
1088
  class: "",
973
1089
  role: "none"
@@ -1077,7 +1193,10 @@ const _hoisted_68 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
1077
1193
  ])
1078
1194
  ])
1079
1195
  ], -1));
1080
- const _hoisted_69 = { class: "hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" };
1196
+ const _hoisted_69 = {
1197
+ style: { "z-index": "12" },
1198
+ 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
+ };
1081
1200
  const _hoisted_70 = {
1082
1201
  class: "",
1083
1202
  role: "none"
@@ -1450,7 +1569,10 @@ const _hoisted_137 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
1450
1569
  ])
1451
1570
  ])
1452
1571
  ], -1));
1453
- const _hoisted_138 = { class: "hidden absolute group-hover:block mt-0 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" };
1572
+ const _hoisted_138 = {
1573
+ style: { "z-index": "12" },
1574
+ 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
+ };
1454
1576
  const _hoisted_139 = {
1455
1577
  class: "flex",
1456
1578
  style: { "z-index": "4100 !important" }
@@ -1636,15 +1758,15 @@ const _hoisted_148 = {
1636
1758
  class: "flex items-center gap-1 border-t-2 border-b-2 border-gray-300 bg-white w-full px-1",
1637
1759
  style: {}
1638
1760
  };
1639
- const _hoisted_149 = /* @__PURE__ */ createStaticVNode('<i class="bold p x-2" data-v-a5098aef><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-a5098aef><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-a5098aef></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-a5098aef></g><g id="SVGRepo_iconCarrier" data-v-a5098aef><g id="text-bold" transform="translate(-4 -2)" data-v-a5098aef><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-a5098aef></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-a5098aef></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-a5098aef></path></g></g></svg></i>', 1);
1761
+ const _hoisted_149 = /* @__PURE__ */ createStaticVNode('<i class="bold p x-2" data-v-c6058be1><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c6058be1><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c6058be1></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c6058be1></g><g id="SVGRepo_iconCarrier" data-v-c6058be1><g id="text-bold" transform="translate(-4 -2)" data-v-c6058be1><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-c6058be1></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-c6058be1></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-c6058be1></path></g></g></svg></i>', 1);
1640
1762
  const _hoisted_150 = [
1641
1763
  _hoisted_149
1642
1764
  ];
1643
- const _hoisted_151 = /* @__PURE__ */ createStaticVNode('<i class="italic p x-2" data-v-a5098aef><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-a5098aef><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-a5098aef></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-a5098aef></g><g id="SVGRepo_iconCarrier" data-v-a5098aef><g id="layer1" data-v-a5098aef><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-a5098aef></path></g></g></svg></i>', 1);
1765
+ const _hoisted_151 = /* @__PURE__ */ createStaticVNode('<i class="italic p x-2" data-v-c6058be1><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c6058be1><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c6058be1></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c6058be1></g><g id="SVGRepo_iconCarrier" data-v-c6058be1><g id="layer1" data-v-c6058be1><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-c6058be1></path></g></g></svg></i>', 1);
1644
1766
  const _hoisted_152 = [
1645
1767
  _hoisted_151
1646
1768
  ];
1647
- const _hoisted_153 = /* @__PURE__ */ createStaticVNode('<i class="underline p x-2" data-v-a5098aef><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-a5098aef><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-a5098aef></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-a5098aef></g><g id="SVGRepo_iconCarrier" data-v-a5098aef><g data-v-a5098aef><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-a5098aef></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-a5098aef></path></g></g></svg></i>', 1);
1769
+ const _hoisted_153 = /* @__PURE__ */ createStaticVNode('<i class="underline p x-2" data-v-c6058be1><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-c6058be1><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c6058be1></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c6058be1></g><g id="SVGRepo_iconCarrier" data-v-c6058be1><g data-v-c6058be1><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-c6058be1></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-c6058be1></path></g></g></svg></i>', 1);
1648
1770
  const _hoisted_154 = [
1649
1771
  _hoisted_153
1650
1772
  ];
@@ -1779,7 +1901,7 @@ const _hoisted_163 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
1779
1901
  const _hoisted_164 = [
1780
1902
  _hoisted_163
1781
1903
  ];
1782
- const _hoisted_165 = /* @__PURE__ */ createStaticVNode('<i class="-code p x-2" data-v-a5098aef><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-a5098aef><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-a5098aef></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-a5098aef></g><g id="SVGRepo_iconCarrier" data-v-a5098aef><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-a5098aef></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-a5098aef></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-a5098aef></path></g></svg></i>', 1);
1904
+ const _hoisted_165 = /* @__PURE__ */ createStaticVNode('<i class="-code p x-2" data-v-c6058be1><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c6058be1><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c6058be1></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c6058be1></g><g id="SVGRepo_iconCarrier" data-v-c6058be1><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-c6058be1></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-c6058be1></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-c6058be1></path></g></svg></i>', 1);
1783
1905
  const _hoisted_166 = [
1784
1906
  _hoisted_165
1785
1907
  ];
@@ -1809,7 +1931,10 @@ const _hoisted_169 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
1809
1931
  ])
1810
1932
  ])
1811
1933
  ], -1));
1812
- const _hoisted_170 = { 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" };
1934
+ const _hoisted_170 = {
1935
+ style: { "z-index": "12" },
1936
+ 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
+ };
1813
1938
  const _hoisted_171 = {
1814
1939
  class: "elemeSetDropDown",
1815
1940
  role: "none"
@@ -1848,7 +1973,10 @@ const _hoisted_176 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
1848
1973
  ])
1849
1974
  ])
1850
1975
  ], -1));
1851
- const _hoisted_177 = { 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" };
1976
+ const _hoisted_177 = {
1977
+ style: { "z-index": "12" },
1978
+ 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
+ };
1852
1980
  const _hoisted_178 = {
1853
1981
  class: "elemeSetDropDown",
1854
1982
  role: "none"
@@ -1858,15 +1986,15 @@ const _hoisted_179 = {
1858
1986
  style: { "width": "20vh", "height": "20vh", "overflow": "auto" }
1859
1987
  };
1860
1988
  const _hoisted_180 = ["onClick"];
1861
- const _hoisted_181 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-a5098aef><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-a5098aef><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-a5098aef></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-a5098aef></g><g id="SVGRepo_iconCarrier" data-v-a5098aef><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-a5098aef></path></g></svg></span>', 1);
1989
+ const _hoisted_181 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-c6058be1><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-c6058be1><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c6058be1></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c6058be1></g><g id="SVGRepo_iconCarrier" data-v-c6058be1><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-c6058be1></path></g></svg></span>', 1);
1862
1990
  const _hoisted_182 = [
1863
1991
  _hoisted_181
1864
1992
  ];
1865
- const _hoisted_183 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-a5098aef><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-a5098aef><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-a5098aef></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-a5098aef></g><g id="SVGRepo_iconCarrier" data-v-a5098aef><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-a5098aef></path></g></svg></span>', 1);
1993
+ const _hoisted_183 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-c6058be1><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-c6058be1><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c6058be1></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c6058be1></g><g id="SVGRepo_iconCarrier" data-v-c6058be1><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-c6058be1></path></g></svg></span>', 1);
1866
1994
  const _hoisted_184 = [
1867
1995
  _hoisted_183
1868
1996
  ];
1869
- const _hoisted_185 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-a5098aef><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-a5098aef><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-a5098aef></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-a5098aef></g><g id="SVGRepo_iconCarrier" data-v-a5098aef><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-a5098aef></path></g></svg></span>', 1);
1997
+ const _hoisted_185 = /* @__PURE__ */ createStaticVNode('<span class="" data-v-c6058be1><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c6058be1><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c6058be1></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c6058be1></g><g id="SVGRepo_iconCarrier" data-v-c6058be1><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-c6058be1></path></g></svg></span>', 1);
1870
1998
  const _hoisted_186 = [
1871
1999
  _hoisted_185
1872
2000
  ];
@@ -1886,27 +2014,26 @@ const _hoisted_189 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
1886
2014
  ])
1887
2015
  ], -1));
1888
2016
  const _hoisted_190 = {
1889
- style: { "width": "4vw", "padding": "6px", "height": "24vh", "overflow": "auto" },
2017
+ style: { "width": "7vw", "padding": "6px", "height": "24vh", "overflow": "auto" },
1890
2018
  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"
1891
2019
  };
1892
2020
  const _hoisted_191 = ["onClick"];
1893
- const _hoisted_192 = ["innerHTML"];
1894
- const _hoisted_193 = {
2021
+ const _hoisted_192 = {
1895
2022
  key: 0,
1896
2023
  class: "hideonprint flex items-center",
1897
2024
  style: { "text-align": "center", "align-items": "stretch", "gap": "10px" }
1898
2025
  };
1899
- const _hoisted_194 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "-" }, null, -1));
1900
- const _hoisted_195 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { class: "p x-2" }, "NEW LINE", -1));
1901
- const _hoisted_196 = [
1902
- _hoisted_194,
1903
- _hoisted_195
2026
+ const _hoisted_193 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "-" }, null, -1));
2027
+ const _hoisted_194 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("strong", { class: "p x-2" }, "NEW LINE", -1));
2028
+ const _hoisted_195 = [
2029
+ _hoisted_193,
2030
+ _hoisted_194
1904
2031
  ];
1905
- const _hoisted_197 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { style: { "margin": "0 0 0 10px" } }, [
2032
+ const _hoisted_196 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { style: { "margin": "0 0 0 10px" } }, [
1906
2033
  /* @__PURE__ */ createTextVNode("Cursor position: "),
1907
2034
  /* @__PURE__ */ createElementVNode("span", { id: "cursorPosition" }, "0")
1908
2035
  ], -1));
1909
- const _hoisted_198 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
2036
+ const _hoisted_197 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
1910
2037
  /* @__PURE__ */ createTextVNode("Text at cursor: "),
1911
2038
  /* @__PURE__ */ createElementVNode("span", { id: "textAtCursor" })
1912
2039
  ], -1));
@@ -1936,6 +2063,7 @@ const _sfc_main = {
1936
2063
  },
1937
2064
  emits: ["change", "update"],
1938
2065
  setup(__props, { emit: __emit }) {
2066
+ window.getSelection();
1939
2067
  const props = __props;
1940
2068
  const editorRef = ref(null);
1941
2069
  const imageClicked = ref(false);
@@ -2094,6 +2222,7 @@ const _sfc_main = {
2094
2222
  async function onMountedFunctionsset(params) {
2095
2223
  editorRef.value.focus();
2096
2224
  nextTick(() => {
2225
+ editorRef.value.innerHTML = props.Dvalue || null;
2097
2226
  returnData();
2098
2227
  OnmountedTableActionActivation();
2099
2228
  ImageResizing();
@@ -2148,6 +2277,7 @@ const _sfc_main = {
2148
2277
  imageAction.appendChild(centerButton);
2149
2278
  imageAction.appendChild(floatRightButton);
2150
2279
  imageAction.appendChild(stickImage);
2280
+ imageAction.appendChild(floatLeftButton);
2151
2281
  } else {
2152
2282
  imageAction.appendChild(Unglue);
2153
2283
  }
@@ -2211,6 +2341,11 @@ const _sfc_main = {
2211
2341
  imgResizer.style.margin = "0 auto";
2212
2342
  removeElemet();
2213
2343
  });
2344
+ closeTile.addEventListener("click", () => {
2345
+ imgResizer.style.display = "block";
2346
+ imgResizer.style.margin = "0 auto";
2347
+ removeElemet();
2348
+ });
2214
2349
  document.addEventListener("click", function removeAction(e2) {
2215
2350
  if (!imgResizer.contains(e2.target)) {
2216
2351
  removeElemet();
@@ -2227,6 +2362,10 @@ const _sfc_main = {
2227
2362
  imageClicked.value = false;
2228
2363
  handleClickOutside();
2229
2364
  }
2365
+ function handleKeyPress(event) {
2366
+ const target = event.target;
2367
+ if (!target.firstElementChild) ;
2368
+ }
2230
2369
  onMounted(() => {
2231
2370
  onMountedFunctionsset();
2232
2371
  });
@@ -2680,7 +2819,7 @@ const _sfc_main = {
2680
2819
  createElementVNode("div", _hoisted_127, [
2681
2820
  createElementVNode("button", {
2682
2821
  style: { "flex": "1", "margin": "0 4px", "width": "auto" },
2683
- onClick: _cache[38] || (_cache[38] = ($event) => ChangeTheDirectionOFTextFun("float", "left", "", "p"))
2822
+ onClick: _cache[38] || (_cache[38] = ($event) => ChangeTheDirectionOFTextFun("float", "left", "", "div"))
2684
2823
  }, _hoisted_129),
2685
2824
  createElementVNode("button", {
2686
2825
  style: { "flex": "1", "margin": "0 4px", "width": "auto" },
@@ -2688,7 +2827,7 @@ const _sfc_main = {
2688
2827
  }, _hoisted_131),
2689
2828
  createElementVNode("button", {
2690
2829
  style: { "flex": "1", "margin": "0 4px", "width": "auto" },
2691
- onClick: _cache[40] || (_cache[40] = ($event) => ChangeTheDirectionOFTextFun("float", "right", "", "p"))
2830
+ onClick: _cache[40] || (_cache[40] = ($event) => ChangeTheDirectionOFTextFun("float", "right", "", "div"))
2692
2831
  }, _hoisted_133),
2693
2832
  createElementVNode("button", {
2694
2833
  style: { "flex": "1", "margin": "0 4px", "width": "auto" },
@@ -2722,7 +2861,7 @@ const _sfc_main = {
2722
2861
  renderSlot(_ctx.$slots, "toolbar-before", {}, void 0, true),
2723
2862
  createElementVNode("div", {
2724
2863
  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",
2725
- style: { "margin": "6px" },
2864
+ style: { "margin": "1px" },
2726
2865
  onClick: _cache[46] || (_cache[46] = ($event) => insertElementAtCursorFun())
2727
2866
  }, _hoisted_150),
2728
2867
  createElementVNode("div", {
@@ -2850,6 +2989,7 @@ const _sfc_main = {
2850
2989
  key: 0,
2851
2990
  onMouseup: _cache[56] || (_cache[56] = ($event) => containerCursorPosition()),
2852
2991
  onKeyup: _cache[57] || (_cache[57] = (e) => {
2992
+ handleKeyPress(e);
2853
2993
  containerCursorPosition();
2854
2994
  }),
2855
2995
  onInput: returnData,
@@ -2862,9 +3002,9 @@ const _sfc_main = {
2862
3002
  key: 1,
2863
3003
  "data-placeholder": "Your Editing.....",
2864
3004
  onDrop: onChangeFileDrop,
2865
- innerHTML: __props.Dvalue,
2866
3005
  onMouseup: _cache[58] || (_cache[58] = ($event) => containerCursorPosition()),
2867
3006
  onKeyup: _cache[59] || (_cache[59] = (e) => {
3007
+ handleKeyPress(e);
2868
3008
  containerCursorPosition();
2869
3009
  }),
2870
3010
  ref_key: "editorRef",
@@ -2874,22 +3014,22 @@ const _sfc_main = {
2874
3014
  contenteditable: "true",
2875
3015
  id: "editor",
2876
3016
  style: { "height": "100%", "width": "100%", "border": "none" }
2877
- }, null, 40, _hoisted_192))
3017
+ }, null, 544))
2878
3018
  ], 4)
2879
3019
  ], 512),
2880
- __props.TextOnly != "true" ? (openBlock(), createElementBlock("div", _hoisted_193, [
3020
+ __props.TextOnly != "true" ? (openBlock(), createElementBlock("div", _hoisted_192, [
2881
3021
  createElementVNode("div", {
2882
3022
  class: "hover:bg-gray-200",
2883
3023
  onClick: _cache[60] || (_cache[60] = ($event) => insertNewLineAtCursorFun())
2884
- }, _hoisted_196),
2885
- _hoisted_197,
2886
- _hoisted_198
3024
+ }, _hoisted_195),
3025
+ _hoisted_196,
3026
+ _hoisted_197
2887
3027
  ])) : createCommentVNode("", true)
2888
3028
  ]);
2889
3029
  };
2890
3030
  }
2891
3031
  };
2892
- const Editor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a5098aef"]]);
3032
+ const Editor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c6058be1"]]);
2893
3033
  export {
2894
3034
  Editor as default
2895
3035
  };