lf-pagebuilder-vue 0.0.17 → 0.0.19
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/index.cjs +1 -1
- package/dist/index.js +389 -389
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(`.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px;margin-left:1px;margin-right:1px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover{background-color:#f3f4f6}.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{background-color:#dbeafe;color:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#2563eb}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#4b5563}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#4b5563}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#4b5563}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#4b5563;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#4b5563;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#4b5563}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#4b5563;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle;margin-right:1px;margin-left:1px}.ql-snow .ql-picker-label{cursor:pointer;display:flex;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding:5px 8px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#d1d5db;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#d1d5db}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#d1d5db}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:3px}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px;margin:2px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #d1d5db;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#d1d5db}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #d1d5db;box-shadow:0 0 5px #d1d5db;color:#4b5563;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #d1d5db;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #d1d5db;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#2563eb}.ql-container.ql-snow{border:1px solid #d1d5db}.css-pb-row:hover .css-pb-row-config{display:flex!important}/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-orange-500:oklch(70.5% .213 47.604);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-700:oklch(55.5% .163 48.998);--color-yellow-50:oklch(98.7% .026 102.212);--color-lime-50:oklch(98.6% .031 120.757);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-800:oklch(45.3% .124 130.933);--color-green-100:oklch(96.2% .044 156.743);--color-green-300:oklch(87.1% .15 154.449);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-teal-50:oklch(98.4% .014 180.72);--color-teal-500:oklch(70.4% .14 182.503);--color-teal-600:oklch(60% .118 184.704);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-violet-50:oklch(96.9% .016 293.756);--color-violet-200:oklch(89.4% .057 293.283);--color-violet-500:oklch(60.6% .25 292.717);--color-violet-600:oklch(54.1% .281 293.009);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-500:oklch(64.5% .246 16.439);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-300:oklch(87.1% .006 286.286);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--font-weight-light:300;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.-top-1{top:calc(var(--spacing)*-1)}.-top-2\\.5{top:calc(var(--spacing)*-2.5)}.top-0{top:calc(var(--spacing)*0)}.top-1{top:calc(var(--spacing)*1)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.top-6{top:calc(var(--spacing)*6)}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.isolate{isolation:isolate}.z-0{z-index:0}.z-1{z-index:1}.z-10{z-index:10}.z-99{z-index:99}.z-100{z-index:100}.z-101{z-index:101}.z-9999{z-index:9999}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-3{margin-inline:calc(var(--spacing)*3)}.mx-auto{margin-inline:auto}.my-2{margin-block:calc(var(--spacing)*2)}.my-3{margin-block:calc(var(--spacing)*3)}.my-4{margin-block:calc(var(--spacing)*4)}.ms-2{margin-inline-start:calc(var(--spacing)*2)}.me-2{margin-inline-end:calc(var(--spacing)*2)}.me-4{margin-inline-end:calc(var(--spacing)*4)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-8{margin-left:calc(var(--spacing)*8)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-full{height:100%}.h-screen{height:100vh}.min-h-\\[100px\\]{min-height:100px}.min-h-\\[200px\\]{min-height:200px}.min-h-screen{min-height:100vh}.w-1\\/4{width:25%}.w-3{width:calc(var(--spacing)*3)}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-32{width:calc(var(--spacing)*32)}.w-48{width:calc(var(--spacing)*48)}.w-64{width:calc(var(--spacing)*64)}.w-auto{width:auto}.w-full{width:100%}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-help{cursor:help}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.rounded-t-xl{border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}.rounded-b-lg{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.border,.border-1{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.border-amber-200{border-color:var(--color-amber-200)}.border-amber-300{border-color:var(--color-amber-300)}.border-amber-500{border-color:var(--color-amber-500)}.border-emerald-200{border-color:var(--color-emerald-200)}.border-emerald-300{border-color:var(--color-emerald-300)}.border-emerald-500{border-color:var(--color-emerald-500)}.border-lime-400{border-color:var(--color-lime-400)}.border-lime-600{border-color:var(--color-lime-600)}.border-red-200{border-color:var(--color-red-200)}.border-rose-200{border-color:var(--color-rose-200)}.border-sky-100{border-color:var(--color-sky-100)}.border-slate-100{border-color:var(--color-slate-100)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-300{border-color:var(--color-slate-300)}.border-slate-700{border-color:var(--color-slate-700)}.border-transparent{border-color:#0000}.border-violet-200{border-color:var(--color-violet-200)}.border-violet-500{border-color:var(--color-violet-500)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-emerald-50{background-color:var(--color-emerald-50)}.bg-rose-50{background-color:var(--color-rose-50)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-violet-50{background-color:var(--color-violet-50)}.bg-white{background-color:var(--color-white)}.bg-white\\/60{background-color:#fff9}@supports (color:color-mix(in lab,red,red)){.bg-white\\/60{background-color:color-mix(in oklab,var(--color-white)60%,transparent)}}.bg-white\\/80{background-color:#fffc}@supports (color:color-mix(in lab,red,red)){.bg-white\\/80{background-color:color-mix(in oklab,var(--color-white)80%,transparent)}}.bg-white\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-l{--tw-gradient-position:to left in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-amber-50{--tw-gradient-from:var(--color-amber-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-amber-500{--tw-gradient-from:var(--color-amber-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-emerald-50{--tw-gradient-from:var(--color-emerald-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-emerald-500{--tw-gradient-from:var(--color-emerald-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-lime-50{--tw-gradient-from:var(--color-lime-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-lime-200{--tw-gradient-from:var(--color-lime-200);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-sky-50{--tw-gradient-from:var(--color-sky-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-50{--tw-gradient-from:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-100{--tw-gradient-from:var(--color-slate-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-600{--tw-gradient-from:var(--color-slate-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-700{--tw-gradient-from:var(--color-slate-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-violet-500{--tw-gradient-from:var(--color-violet-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-white\\/90{--tw-gradient-from:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.from-white\\/90{--tw-gradient-from:color-mix(in oklab,var(--color-white)90%,transparent)}}.from-white\\/90{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-zinc-100{--tw-gradient-from:var(--color-zinc-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-slate-50\\/95{--tw-gradient-via:#f8fafcf2}@supports (color:color-mix(in lab,red,red)){.via-slate-50\\/95{--tw-gradient-via:color-mix(in oklab,var(--color-slate-50)95%,transparent)}}.via-slate-50\\/95{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-white{--tw-gradient-via:var(--color-white);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-blue-50{--tw-gradient-to:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-emerald-100{--tw-gradient-to:var(--color-emerald-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-green-100{--tw-gradient-to:var(--color-green-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-green-300{--tw-gradient-to:var(--color-green-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-orange-500{--tw-gradient-to:var(--color-orange-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-50{--tw-gradient-to:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-100{--tw-gradient-to:var(--color-slate-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-100\\/90{--tw-gradient-to:#f1f5f9e6}@supports (color:color-mix(in lab,red,red)){.to-slate-100\\/90{--tw-gradient-to:color-mix(in oklab,var(--color-slate-100)90%,transparent)}}.to-slate-100\\/90{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-500{--tw-gradient-to:var(--color-slate-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-600{--tw-gradient-to:var(--color-slate-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-700{--tw-gradient-to:var(--color-slate-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-teal-50{--tw-gradient-to:var(--color-teal-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-teal-500{--tw-gradient-to:var(--color-teal-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-white{--tw-gradient-to:var(--color-white);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-50{--tw-gradient-to:var(--color-yellow-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-zinc-300{--tw-gradient-to:var(--color-zinc-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-8{padding-block:calc(var(--spacing)*8)}.ps-3{padding-inline-start:calc(var(--spacing)*3)}.pe-4{padding-inline-end:calc(var(--spacing)*4)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-10{padding-top:calc(var(--spacing)*10)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-11{padding-left:calc(var(--spacing)*11)}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.text-amber-500{color:var(--color-amber-500)}.text-amber-700{color:var(--color-amber-700)}.text-blue-600{color:var(--color-blue-600)}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-emerald-700{color:var(--color-emerald-700)}.text-lime-800{color:var(--color-lime-800)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-rose-500{color:var(--color-rose-500)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-800{color:var(--color-slate-800)}.text-transparent{color:#0000}.text-violet-600{color:var(--color-violet-600)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-emerald-100{--tw-shadow-color:oklch(95% .052 163.051)}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-100{--tw-shadow-color:color-mix(in oklab,var(--color-emerald-100)var(--tw-shadow-alpha),transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}@media (hover:hover){.group-hover\\:block:is(:where(.group):hover *){display:block}.group-hover\\:text-slate-800:is(:where(.group):hover *){color:var(--color-slate-800)}.group-hover\\:text-slate-900:is(:where(.group):hover *){color:var(--color-slate-900)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\\/btn\\:text-white:is(:where(.group\\/btn):hover *){color:var(--color-white)}.group-hover\\/component\\:opacity-100:is(:where(.group\\/component):hover *){opacity:1}.group-hover\\/info\\:visible:is(:where(.group\\/info):hover *){visibility:visible}.group-hover\\/info\\:text-sky-500:is(:where(.group\\/info):hover *){color:var(--color-sky-500)}.group-hover\\/info\\:opacity-100:is(:where(.group\\/info):hover *){opacity:1}.group-hover\\/row\\:flex:is(:where(.group\\/row):hover *){display:flex}}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:bottom-4:before{content:var(--tw-content);bottom:calc(var(--spacing)*4)}.before\\:left-2:before{content:var(--tw-content);left:calc(var(--spacing)*2)}.before\\:-rotate-12:before{content:var(--tw-content);rotate:-12deg}.before\\:text-7xl:before{content:var(--tw-content);font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}.before\\:font-bold:before{content:var(--tw-content);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.before\\:text-slate-300:before{content:var(--tw-content);color:var(--color-slate-300)}.before\\:opacity-30:before{content:var(--tw-content);opacity:.3}.before\\:transition-opacity:before{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:duration-300:before{content:var(--tw-content);--tw-duration:.3s;transition-duration:.3s}.before\\:content-\\[\\'Columna\\'\\]:before{--tw-content:"Columna";content:var(--tw-content)}@media (hover:hover){.hover\\:-translate-y-0\\.5:hover{--tw-translate-y:calc(var(--spacing)*-.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:scale-\\[1\\.01\\]:hover{scale:1.01}.hover\\:border-amber-500:hover{border-color:var(--color-amber-500)}.hover\\:border-blue-500:hover{border-color:var(--color-blue-500)}.hover\\:border-emerald-300:hover{border-color:var(--color-emerald-300)}.hover\\:border-emerald-500:hover{border-color:var(--color-emerald-500)}.hover\\:border-red-300:hover{border-color:var(--color-red-300)}.hover\\:border-red-400:hover{border-color:var(--color-red-400)}.hover\\:border-red-500:hover{border-color:var(--color-red-500)}.hover\\:border-sky-300:hover{border-color:var(--color-sky-300)}.hover\\:border-sky-500:hover{border-color:var(--color-sky-500)}.hover\\:border-slate-200:hover{border-color:var(--color-slate-200)}.hover\\:border-slate-300:hover{border-color:var(--color-slate-300)}.hover\\:border-slate-700:hover{border-color:var(--color-slate-700)}.hover\\:border-violet-500:hover{border-color:var(--color-violet-500)}.hover\\:bg-amber-500:hover{background-color:var(--color-amber-500)}.hover\\:bg-blue-500:hover{background-color:var(--color-blue-500)}.hover\\:bg-emerald-50:hover{background-color:var(--color-emerald-50)}.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-red-500:hover{background-color:var(--color-red-500)}.hover\\:bg-sky-50:hover{background-color:var(--color-sky-50)}.hover\\:bg-sky-100:hover{background-color:var(--color-sky-100)}.hover\\:bg-sky-500:hover{background-color:var(--color-sky-500)}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\\:bg-violet-500:hover{background-color:var(--color-violet-500)}.hover\\:bg-white:hover{background-color:var(--color-white)}.hover\\:from-emerald-600:hover{--tw-gradient-from:var(--color-emerald-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:from-violet-600:hover{--tw-gradient-from:var(--color-violet-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:to-purple-600:hover{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:to-teal-600:hover{--tw-gradient-to:var(--color-teal-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.hover\\:text-emerald-600:hover{color:var(--color-emerald-600)}.hover\\:text-red-500:hover{color:var(--color-red-500)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-600:hover{color:var(--color-slate-600)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:shadow:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-sm:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-slate-200\\/50:hover{--tw-shadow-color:#e2e8f080}@supports (color:color-mix(in lab,red,red)){.hover\\:shadow-slate-200\\/50:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-slate-200)50%,transparent)var(--tw-shadow-alpha),transparent)}}.hover\\:before\\:opacity-50:hover:before{content:var(--tw-content);opacity:.5}}.focus\\:border-emerald-400:focus{border-color:var(--color-emerald-400)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-blue-400:focus{--tw-ring-color:var(--color-blue-400)}.focus\\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\\:ring-emerald-500:focus{--tw-ring-color:var(--color-emerald-500)}.focus\\:ring-emerald-500\\/20:focus{--tw-ring-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.focus\\:ring-emerald-500\\/20:focus{--tw-ring-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\\:transform-none:disabled{transform:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-slate-100:disabled{background-color:var(--color-slate-100)}.disabled\\:from-slate-300:disabled{--tw-gradient-from:var(--color-slate-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.disabled\\:to-slate-400:disabled{--tw-gradient-to:var(--color-slate-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.disabled\\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}@media (min-width:48rem){.md\\:w-2\\/4{width:50%}}@media (min-width:64rem){.lg\\:w-1\\/3{width:33.3333%}.lg\\:w-1\\/4{width:25%}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@layer pagebuilder-overrides{[data-group=component]:hover [data-group-hover=component-opacity],[data-group=component]:hover>[data-group-hover=component-opacity],[data-group=component]:hover [data-group-hover=component-opacity].opacity-0{opacity:1!important}[data-group=info]:hover [data-group-hover=info-opacity],[data-group=info]:hover [data-group-hover=info-opacity].opacity-0{opacity:1!important}[data-group=info]:hover [data-group-hover=info-visible],[data-group=info]:hover [data-group-hover=info-visible].invisible,[data-group=info]:hover [data-group-hover=info-visible].opacity-0{visibility:visible!important;opacity:1!important}[data-group=info]:hover [data-group-hover=info-text-sky]{color:#0ea5e9!important}[data-group=btn]:hover [data-group-hover=btn-text-white]{color:#fff!important}[data-group=row]:hover [data-group-hover=row-flex],[data-group=row]:hover [data-group-hover=row-flex].hidden,.css-pb-row:hover .css-pb-row-config,.css-pb-row:hover .css-pb-row-config.hidden{display:flex!important}}.top-2{top:.5rem!important}.right-2{right:.5rem!important}.top-6{top:1.5rem!important}.right-0{right:0!important}.left-0{left:0!important}.left-3{left:.75rem!important}.selected-delay{animation:selectedblink .6s infinite!important;border-color:#10b981!important;box-shadow:0 0 0 3px #10b98133!important}.expanded-page-builder{background:linear-gradient(135deg,#f8fafc,#f1f5f9);top:0;left:0;height:100%;width:100%;position:fixed;z-index:9999;overflow:scroll}@keyframes selectedblink{0%,50%{background:linear-gradient(135deg,#d1fae5,#a7f3d0)}51%,to{background:transparent}}.lf-page-builder{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.z-9999{z-index:9999}.z-99{z-index:99}.z-100{z-index:100}.z-101{z-index:101}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dragging-zone{transition:background-color .3s ease,border-color .3s ease}.component-library{max-height:calc(100vh - 200px);overflow-y:auto}.ql-toolbar{z-index:9999}.ql-container{z-index:9998}.lf-page-builder ::-webkit-scrollbar{width:8px;height:8px}.lf-page-builder ::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.lf-page-builder ::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.lf-page-builder ::-webkit-scrollbar-thumb:hover{background:#94a3b8}.handle{cursor:grab}.handle:active{cursor:grabbing}.lf-page-builder button,.lf-page-builder select,.lf-page-builder input{transition:all .2s ease}.lf-page-builder button:focus,.lf-page-builder select:focus,.lf-page-builder input:focus{outline:none;ring:2px;ring-color:rgba(16,185,129,.2)}`)),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
import { defineComponent as Z, ref as j, computed as _, openBlock as s, createElementBlock as i, createElementVNode as t, withModifiers as se, withDirectives as U, vModelText as oe, createCommentVNode as F, normalizeClass as K, toDisplayString as w, Fragment as O, renderList as N, vModelSelect as Q, vModelCheckbox as re, onMounted as le, onUnmounted as ye, createTextVNode as
|
|
2
|
+
import { defineComponent as Z, ref as j, computed as _, openBlock as s, createElementBlock as i, createElementVNode as t, withModifiers as se, withDirectives as U, vModelText as oe, createCommentVNode as F, normalizeClass as K, toDisplayString as w, Fragment as O, renderList as N, vModelSelect as Q, vModelCheckbox as re, onMounted as le, onUnmounted as ye, createTextVNode as D, createBlock as me, unref as H, createVNode as Y, watch as ae, nextTick as Ce, withCtx as be, vShow as $e, reactive as ke } from "vue";
|
|
3
3
|
import { listComponents as Se } from "libreria-astro-lefebvre";
|
|
4
4
|
import { QuillEditor as Pe } from "@vueup/vue-quill";
|
|
5
5
|
import ge from "vuedraggable";
|
|
@@ -31,56 +31,56 @@ const Fe = Z({
|
|
|
31
31
|
"update:parametersPageConfiguration.seo.description"
|
|
32
32
|
],
|
|
33
33
|
setup(e) {
|
|
34
|
-
const o = e.renderApiDomain || "http://localhost:8003",
|
|
34
|
+
const o = e.renderApiDomain || "http://localhost:8003", x = j(""), S = j(!1), $ = j(!1), y = j(null), d = _({
|
|
35
35
|
get() {
|
|
36
36
|
var k, r;
|
|
37
|
-
const
|
|
38
|
-
return ((r =
|
|
37
|
+
const B = (k = e.globalPageConfiguration) == null ? void 0 : k.find((f) => f.section === e.sectionSelected);
|
|
38
|
+
return ((r = B == null ? void 0 : B.config) == null ? void 0 : r.width) || "";
|
|
39
39
|
},
|
|
40
|
-
set(
|
|
40
|
+
set(B) {
|
|
41
41
|
var r;
|
|
42
|
-
const k = (r = e.globalPageConfiguration) == null ? void 0 : r.find((
|
|
43
|
-
k && (k.config || (k.config = {}), k.config.width =
|
|
42
|
+
const k = (r = e.globalPageConfiguration) == null ? void 0 : r.find((f) => f.section === e.sectionSelected);
|
|
43
|
+
k && (k.config || (k.config = {}), k.config.width = B);
|
|
44
44
|
}
|
|
45
45
|
}), b = () => {
|
|
46
|
-
const
|
|
46
|
+
const B = {
|
|
47
47
|
pageConfig: e.globalPageConfiguration,
|
|
48
48
|
paramsConfig: e.parametersPageConfiguration
|
|
49
|
-
}, k = JSON.stringify(
|
|
50
|
-
detail: { ...
|
|
49
|
+
}, k = JSON.stringify(B), r = new CustomEvent("lf-pagebuilder:export", {
|
|
50
|
+
detail: { ...B, inputId: e.inputId }
|
|
51
51
|
});
|
|
52
52
|
document.dispatchEvent(r);
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
const
|
|
53
|
+
const f = window.open("", "Preview", "width='100vw',height='100vh'");
|
|
54
|
+
f && (f.document.body.innerText = k, f.document.close());
|
|
55
|
+
}, p = () => {
|
|
56
|
+
const B = {
|
|
57
57
|
pageConfig: e.globalPageConfiguration,
|
|
58
58
|
paramsConfig: e.parametersPageConfiguration
|
|
59
|
-
}, k = JSON.stringify(
|
|
60
|
-
|
|
59
|
+
}, k = JSON.stringify(B);
|
|
60
|
+
c(k);
|
|
61
61
|
const r = new CustomEvent("lf-pagebuilder:save", {
|
|
62
|
-
detail: { ...
|
|
62
|
+
detail: { ...B, inputId: e.inputId }
|
|
63
63
|
});
|
|
64
64
|
if (document.dispatchEvent(r), e.inputId) {
|
|
65
|
-
const
|
|
66
|
-
|
|
65
|
+
const f = document.getElementById(e.inputId);
|
|
66
|
+
f && (f.value = k);
|
|
67
67
|
}
|
|
68
68
|
if ($.value = !0, setTimeout(() => {
|
|
69
69
|
$.value = !1;
|
|
70
70
|
}, 3e3), e.submitForm && y.value) {
|
|
71
|
-
const
|
|
72
|
-
|
|
71
|
+
const f = y.value.closest("form");
|
|
72
|
+
f && f.submit();
|
|
73
73
|
}
|
|
74
|
-
},
|
|
74
|
+
}, c = (B) => {
|
|
75
75
|
const k = e.inputId ? `pageBuilderConfig_${e.inputId}` : "pageBuilderConfig";
|
|
76
|
-
localStorage.setItem(k,
|
|
76
|
+
localStorage.setItem(k, B);
|
|
77
77
|
};
|
|
78
78
|
return {
|
|
79
79
|
validateSeo: () => {
|
|
80
|
-
const
|
|
80
|
+
const B = {
|
|
81
81
|
pageConfig: e.globalPageConfiguration,
|
|
82
82
|
paramsConfig: e.parametersPageConfiguration
|
|
83
|
-
}, k = JSON.stringify(
|
|
83
|
+
}, k = JSON.stringify(B, null, 2);
|
|
84
84
|
fetch(o + "/api/render-html/", {
|
|
85
85
|
method: "POST",
|
|
86
86
|
headers: {
|
|
@@ -88,8 +88,8 @@ const Fe = Z({
|
|
|
88
88
|
},
|
|
89
89
|
body: k
|
|
90
90
|
}).then((r) => r.text()).then((r) => {
|
|
91
|
-
const
|
|
92
|
-
if (!
|
|
91
|
+
const f = window.open("", "Preview", "width='100vw',height='100vh'");
|
|
92
|
+
if (!f) return;
|
|
93
93
|
const V = new DOMParser().parseFromString(r, "text/html"), z = [];
|
|
94
94
|
function I(P, T = 0) {
|
|
95
95
|
if (!P || P.nodeType !== 1) return;
|
|
@@ -104,16 +104,16 @@ const Fe = Z({
|
|
|
104
104
|
let m = '<h2>Estructura SEO</h2><ul style="font-family:monospace">';
|
|
105
105
|
z.forEach((P) => {
|
|
106
106
|
m += `<li style="margin-left:${P.depth * 20}px"><b>${P.tag}</b>: ${P.text}</li>`;
|
|
107
|
-
}), m += "</ul>",
|
|
107
|
+
}), m += "</ul>", f.document.body.innerHTML = m, f.document.close();
|
|
108
108
|
});
|
|
109
109
|
},
|
|
110
|
-
importConfig:
|
|
110
|
+
importConfig: x,
|
|
111
111
|
showAdvancedConfig: S,
|
|
112
112
|
previewFunction: () => {
|
|
113
|
-
const
|
|
113
|
+
const B = {
|
|
114
114
|
pageConfig: e.globalPageConfiguration,
|
|
115
115
|
paramsConfig: e.parametersPageConfiguration
|
|
116
|
-
}, k = JSON.stringify(
|
|
116
|
+
}, k = JSON.stringify(B, null, 2);
|
|
117
117
|
fetch(o + "/api/render-html/", {
|
|
118
118
|
method: "POST",
|
|
119
119
|
headers: {
|
|
@@ -121,29 +121,29 @@ const Fe = Z({
|
|
|
121
121
|
},
|
|
122
122
|
body: k
|
|
123
123
|
}).then((r) => r.text()).then((r) => {
|
|
124
|
-
const
|
|
125
|
-
|
|
124
|
+
const f = window.open("", "Preview", "width='100vw',height='100vh'");
|
|
125
|
+
f && (f.document.body.innerHTML = r, f.document.querySelectorAll("script").forEach((V) => {
|
|
126
126
|
var I;
|
|
127
|
-
const z =
|
|
127
|
+
const z = f.document.createElement("script");
|
|
128
128
|
V.src ? z.src = V.src : z.textContent = V.textContent, (I = V.parentNode) == null || I.replaceChild(z, V);
|
|
129
|
-
}),
|
|
129
|
+
}), f.document.close());
|
|
130
130
|
});
|
|
131
131
|
},
|
|
132
132
|
importFunction: () => {
|
|
133
|
-
e.importConfigurationFunction && e.importConfigurationFunction(
|
|
133
|
+
e.importConfigurationFunction && e.importConfigurationFunction(x.value), x.value = "";
|
|
134
134
|
},
|
|
135
135
|
exportFunction: b,
|
|
136
|
-
saveButtonAction:
|
|
136
|
+
saveButtonAction: p,
|
|
137
137
|
loadFromLocalStorage: () => {
|
|
138
|
-
const
|
|
138
|
+
const B = e.inputId ? `pageBuilderConfig_${e.inputId}` : "pageBuilderConfig", k = localStorage.getItem(B);
|
|
139
139
|
if (k && e.importConfigurationFunction) {
|
|
140
140
|
const r = JSON.parse(k);
|
|
141
141
|
e.importConfigurationFunction(r);
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
144
|
toggleExpandScreen: () => {
|
|
145
|
-
const
|
|
146
|
-
|
|
145
|
+
const B = document.querySelector(".lf-page-builder");
|
|
146
|
+
B && B.classList.toggle("expanded-page-builder");
|
|
147
147
|
},
|
|
148
148
|
sectionWidth: d,
|
|
149
149
|
isSaved: $,
|
|
@@ -151,21 +151,21 @@ const Fe = Z({
|
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
}), je = (e, o) => {
|
|
154
|
-
const
|
|
154
|
+
const x = e.__vccOpts || e;
|
|
155
155
|
for (const [S, $] of o)
|
|
156
|
-
|
|
157
|
-
return
|
|
156
|
+
x[S] = $;
|
|
157
|
+
return x;
|
|
158
158
|
}, Ie = { ref: "componentRoot" }, Me = {
|
|
159
159
|
key: 0,
|
|
160
160
|
class: "flex justify-end items-center w-full p-3 gap-3"
|
|
161
|
-
},
|
|
161
|
+
}, Be = { class: "flex justify-end items-center p-2 gap-3 bg-gradient-to-l from-lime-50 to-green-100 border border-lime-400 rounded-lg w-auto" }, Ae = { class: "flex justify-between gap-3 px-5 py-3 bg-white mx-3 rounded-xl border border-slate-200 mb-6 sticky top-2 z-9999 shadow-lg backdrop-blur-sm" }, Ee = { class: "flex gap-2" }, Te = { class: "flex gap-2" }, Oe = ["value"], De = ["value"], Le = { value: "full" }, Re = { value: "1/2" }, Ue = { value: "1/3" }, ze = { value: "2/3" }, Ne = { value: "1/4" }, Ve = { value: "3/4" }, qe = { value: "1/5" }, Ge = { value: "2/5" }, Je = { value: "3/5" }, We = { value: "4/5" }, He = { key: 0 }, Ye = { key: 1 }, Ke = { class: "flex items-center gap-2" }, Qe = {
|
|
162
162
|
key: 1,
|
|
163
163
|
class: "bg-white border border-slate-200 rounded-2xl p-5 mx-3 mb-6 shadow-lg"
|
|
164
164
|
}, Xe = { class: "flex flex-row gap-4 w-full" }, Ze = { class: "border border-slate-200 rounded-xl p-5 w-full bg-gradient-to-br from-slate-50 to-white" }, _e = { class: "flex flex-col gap-3 border-b border-slate-200 pb-4 w-full" }, et = { class: "mb-3" }, tt = { class: "flex items-center gap-3 cursor-pointer group" }, ot = { class: "mb-3" }, nt = { class: "flex items-center gap-3 cursor-pointer group" }, lt = { class: "mb-3" }, at = { class: "mb-3" }, rt = { class: "mb-3" }, st = { class: "border border-slate-200 rounded-xl p-5 w-full bg-gradient-to-br from-slate-50 to-white" }, it = { class: "flex justify-between items-center mb-4" }, dt = { class: "flex flex-col gap-3 border-b border-slate-200 pb-4 w-full" }, ut = { class: "mb-3" }, ct = { class: "mb-3" }, mt = { class: "mb-3" };
|
|
165
|
-
function bt(e, o,
|
|
165
|
+
function bt(e, o, x, S, $, y) {
|
|
166
166
|
return s(), i("div", Ie, [
|
|
167
167
|
e.debugMode ? (s(), i("div", Me, [
|
|
168
|
-
t("div",
|
|
168
|
+
t("div", Be, [
|
|
169
169
|
o[30] || (o[30] = t("span", { class: "bg-gradient-to-r from-lime-200 to-green-300 px-3 py-1 rounded-full border border-lime-600 text-lime-800 text-xs font-medium me-4 italic" }, "MODO DEBUG 🐞", -1)),
|
|
170
170
|
t("form", {
|
|
171
171
|
onSubmit: o[2] || (o[2] = se(() => {
|
|
@@ -195,7 +195,7 @@ function bt(e, o, v, S, $, y) {
|
|
|
195
195
|
}, "🚀 Exportar")
|
|
196
196
|
])
|
|
197
197
|
])) : F("", !0),
|
|
198
|
-
t("div",
|
|
198
|
+
t("div", Ae, [
|
|
199
199
|
t("div", Ee, [
|
|
200
200
|
t("button", {
|
|
201
201
|
type: "button",
|
|
@@ -223,7 +223,7 @@ function bt(e, o, v, S, $, y) {
|
|
|
223
223
|
(s(!0), i(O, null, N(e.availableSections, (d, b) => (s(), i("option", {
|
|
224
224
|
key: b,
|
|
225
225
|
value: d
|
|
226
|
-
}, w(d), 9,
|
|
226
|
+
}, w(d), 9, De))), 128))
|
|
227
227
|
], 40, Oe),
|
|
228
228
|
U(t("select", {
|
|
229
229
|
class: "bg-white border border-slate-200 rounded-lg px-3 py-1.5 cursor-pointer text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 transition-colors",
|
|
@@ -233,7 +233,7 @@ function bt(e, o, v, S, $, y) {
|
|
|
233
233
|
disabled: "",
|
|
234
234
|
value: ""
|
|
235
235
|
}, "Selecciona el ancho de la sección", -1)),
|
|
236
|
-
t("option",
|
|
236
|
+
t("option", Le, "Sección " + w(e.sectionSelected) + " ocupa todo el ancho de la página", 1),
|
|
237
237
|
t("option", Re, "Sección " + w(e.sectionSelected) + " ocupa 1/2 del ancho de la página", 1),
|
|
238
238
|
t("option", Ue, "Sección " + w(e.sectionSelected) + " ocupa 1/3 del ancho de la página", 1),
|
|
239
239
|
t("option", ze, "Sección " + w(e.sectionSelected) + " ocupa 2/3 del ancho de la página", 1),
|
|
@@ -455,120 +455,120 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
455
455
|
},
|
|
456
456
|
emits: ["fieldUpdated"],
|
|
457
457
|
setup(e, { emit: o }) {
|
|
458
|
-
const
|
|
459
|
-
const
|
|
460
|
-
|
|
458
|
+
const x = e, S = o, $ = (b, p) => {
|
|
459
|
+
const c = (x.object.fields || []).find((a) => a.name === b);
|
|
460
|
+
c && (c.example_value = p, S("fieldUpdated", b, p));
|
|
461
461
|
}, y = (b) => {
|
|
462
462
|
var n;
|
|
463
|
-
const
|
|
464
|
-
if (!
|
|
465
|
-
const
|
|
466
|
-
(l) => l.type === "image" &&
|
|
463
|
+
const p = b.target;
|
|
464
|
+
if (!p) return;
|
|
465
|
+
const c = p.id, a = (x.object.fields || []).find(
|
|
466
|
+
(l) => l.type === "image" && c.includes(l.name)
|
|
467
467
|
);
|
|
468
468
|
if (a) {
|
|
469
|
-
const l =
|
|
469
|
+
const l = p.value || ((n = b.detail) == null ? void 0 : n.value) || "";
|
|
470
470
|
a.example_value = l, S("fieldUpdated", a.name, l), console.log("[FieldsForm] Limbo image selected, field:", a.name, "value:", l);
|
|
471
471
|
}
|
|
472
472
|
}, d = (b) => {
|
|
473
|
-
const
|
|
474
|
-
if (!
|
|
475
|
-
const
|
|
476
|
-
(n) => n.type === "image" &&
|
|
473
|
+
const p = b.target;
|
|
474
|
+
if (!p || !p.classList.contains("js-limbo")) return;
|
|
475
|
+
const c = p.id, a = (x.object.fields || []).find(
|
|
476
|
+
(n) => n.type === "image" && c.includes(n.name)
|
|
477
477
|
);
|
|
478
|
-
a && (a.example_value =
|
|
478
|
+
a && (a.example_value = p.value, S("fieldUpdated", a.name, p.value), console.log("[FieldsForm] Input change detected, field:", a.name, "value:", p.value));
|
|
479
479
|
};
|
|
480
480
|
return le(() => {
|
|
481
481
|
document.addEventListener("limbo:imageSelected", y), document.addEventListener("limbo:resultReady", y), document.addEventListener("change", d);
|
|
482
482
|
}), ye(() => {
|
|
483
483
|
document.removeEventListener("limbo:imageSelected", y), document.removeEventListener("limbo:resultReady", y), document.removeEventListener("change", d);
|
|
484
|
-
}), (b,
|
|
484
|
+
}), (b, p) => (s(), i(O, null, [
|
|
485
485
|
e.showForm ? (s(), i("div", ft)) : F("", !0),
|
|
486
486
|
t("div", {
|
|
487
487
|
class: K(e.showForm ? "relative top-0 w-full text-slate-600 border-1 my-2 px-4 pt-2 pb-3 w-full border-slate-200 bg-slate-50 inline-block rounded-lg flex flex-col z-101" : "hidden")
|
|
488
488
|
}, [
|
|
489
489
|
t("div", pt, [
|
|
490
490
|
t("span", {
|
|
491
|
-
onClick:
|
|
492
|
-
(...
|
|
491
|
+
onClick: p[0] || (p[0] = //@ts-ignore
|
|
492
|
+
(...c) => e.toggleShowForm && e.toggleShowForm(...c)),
|
|
493
493
|
class: "cursor-pointer hover:scale-125 transition-all duration-300"
|
|
494
494
|
}, "❌")
|
|
495
495
|
]),
|
|
496
496
|
t("form", null, [
|
|
497
|
-
(s(!0), i(O, null, N(e.object.fields, (
|
|
497
|
+
(s(!0), i(O, null, N(e.object.fields, (c, a) => (s(), i("div", {
|
|
498
498
|
key: a,
|
|
499
499
|
class: "mb-4"
|
|
500
500
|
}, [
|
|
501
501
|
t("label", {
|
|
502
|
-
for: `${e.object.id}-${
|
|
502
|
+
for: `${e.object.id}-${c.name}-${a}`,
|
|
503
503
|
class: "block text-sm font-medium mb-1"
|
|
504
504
|
}, [
|
|
505
|
-
|
|
506
|
-
|
|
505
|
+
D(w(c.label) + " ", 1),
|
|
506
|
+
c.mandatory ? (s(), i("span", xt, "*")) : F("", !0)
|
|
507
507
|
], 8, vt),
|
|
508
|
-
|
|
508
|
+
c.type === "text" ? (s(), i("input", {
|
|
509
509
|
key: 0,
|
|
510
|
-
id: `${e.object.id}-${
|
|
511
|
-
name: `${e.object.id}-${
|
|
510
|
+
id: `${e.object.id}-${c.name}-${a}`,
|
|
511
|
+
name: `${e.object.id}-${c.name}-${a}`,
|
|
512
512
|
type: "text",
|
|
513
513
|
class: "w-full px-3 py-2 border border-slate-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-400",
|
|
514
|
-
placeholder:
|
|
515
|
-
required:
|
|
516
|
-
value:
|
|
517
|
-
onInput: (n) => $(
|
|
514
|
+
placeholder: c.label,
|
|
515
|
+
required: c.mandatory,
|
|
516
|
+
value: c.example_value,
|
|
517
|
+
onInput: (n) => $(c.name, n.target.value)
|
|
518
518
|
}, null, 40, ht)) : F("", !0),
|
|
519
|
-
|
|
519
|
+
c.type === "image" ? (s(), i("input", {
|
|
520
520
|
key: 1,
|
|
521
|
-
id: `${e.object.id}-${
|
|
522
|
-
name: `${e.object.id}-${
|
|
523
|
-
"data-mandatoryCrops":
|
|
521
|
+
id: `${e.object.id}-${c.name}-${a}`,
|
|
522
|
+
name: `${e.object.id}-${c.name}-${a}`,
|
|
523
|
+
"data-mandatoryCrops": c.image_cuts ? JSON.stringify(c.image_cuts) : null,
|
|
524
524
|
type: "text",
|
|
525
525
|
class: "js-limbo w-full px-3 py-2 border border-slate-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-400",
|
|
526
|
-
placeholder:
|
|
527
|
-
required:
|
|
528
|
-
value:
|
|
529
|
-
onInput: (n) => $(
|
|
530
|
-
}, null, 40, wt)) :
|
|
526
|
+
placeholder: c.label,
|
|
527
|
+
required: c.mandatory,
|
|
528
|
+
value: c.example_value,
|
|
529
|
+
onInput: (n) => $(c.name, n.target.value)
|
|
530
|
+
}, null, 40, wt)) : c.type === "textArea" ? (s(), me(H(Pe), {
|
|
531
531
|
key: 2,
|
|
532
532
|
theme: "snow",
|
|
533
|
-
id: `${e.object.id}-${
|
|
534
|
-
name: `${e.object.id}-${
|
|
533
|
+
id: `${e.object.id}-${c.name}-${a}`,
|
|
534
|
+
name: `${e.object.id}-${c.name}-${a}`,
|
|
535
535
|
rows: "3",
|
|
536
536
|
class: "w-full px-3 py-2 border border-slate-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-400 z-9999",
|
|
537
|
-
placeholder:
|
|
538
|
-
required:
|
|
537
|
+
placeholder: c.label,
|
|
538
|
+
required: c.mandatory,
|
|
539
539
|
"onUpdate:content": (n) => {
|
|
540
|
-
$(
|
|
540
|
+
$(c.name, n);
|
|
541
541
|
},
|
|
542
|
-
content:
|
|
543
|
-
modelValue:
|
|
544
|
-
"onUpdate:modelValue": (n) =>
|
|
542
|
+
content: c.example_value,
|
|
543
|
+
modelValue: c.example_value,
|
|
544
|
+
"onUpdate:modelValue": (n) => c.example_value = n,
|
|
545
545
|
contentType: "html"
|
|
546
|
-
}, null, 8, ["id", "name", "placeholder", "required", "onUpdate:content", "content", "modelValue", "onUpdate:modelValue"])) :
|
|
546
|
+
}, null, 8, ["id", "name", "placeholder", "required", "onUpdate:content", "content", "modelValue", "onUpdate:modelValue"])) : c.type === "select" ? (s(), i("select", {
|
|
547
547
|
key: 3,
|
|
548
|
-
id: `${e.object.id}-${
|
|
549
|
-
name: `${e.object.id}-${
|
|
548
|
+
id: `${e.object.id}-${c.name}-${a}`,
|
|
549
|
+
name: `${e.object.id}-${c.name}-${a}`,
|
|
550
550
|
class: "w-full px-3 py-2 border border-slate-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-400",
|
|
551
|
-
required:
|
|
552
|
-
value:
|
|
553
|
-
onInput: (n) => $(
|
|
551
|
+
required: c.mandatory,
|
|
552
|
+
value: c.example_value,
|
|
553
|
+
onInput: (n) => $(c.name, n.target.value)
|
|
554
554
|
}, [
|
|
555
|
-
|
|
555
|
+
p[1] || (p[1] = t("option", {
|
|
556
556
|
disabled: "",
|
|
557
557
|
value: ""
|
|
558
558
|
}, "Seleccione una opción", -1)),
|
|
559
|
-
(s(!0), i(O, null, N(
|
|
559
|
+
(s(!0), i(O, null, N(c.options || [], (n, l) => (s(), i("option", {
|
|
560
560
|
key: l,
|
|
561
561
|
value: n
|
|
562
562
|
}, w(n), 9, Ct))), 128))
|
|
563
|
-
], 40, yt)) :
|
|
563
|
+
], 40, yt)) : c.type === "boolean" ? (s(), i("input", {
|
|
564
564
|
key: 4,
|
|
565
|
-
id: `${e.object.id}-${
|
|
566
|
-
name: `${e.object.id}-${
|
|
565
|
+
id: `${e.object.id}-${c.name}-${a}`,
|
|
566
|
+
name: `${e.object.id}-${c.name}-${a}`,
|
|
567
567
|
type: "checkbox",
|
|
568
568
|
class: "h-4 w-4 text-blue-600 focus:ring-blue-500 border-slate-300 rounded inline-block",
|
|
569
|
-
required:
|
|
570
|
-
checked:
|
|
571
|
-
onChange: (n) => $(
|
|
569
|
+
required: c.mandatory,
|
|
570
|
+
checked: c.example_value,
|
|
571
|
+
onChange: (n) => $(c.name, n.target.checked)
|
|
572
572
|
}, null, 40, $t)) : F("", !0)
|
|
573
573
|
]))), 128))
|
|
574
574
|
])
|
|
@@ -578,10 +578,10 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
578
578
|
}), kt = { class: "space-y-4" }, St = ["disabled"], Pt = ["value"], Ft = { class: "space-y-3" }, jt = {
|
|
579
579
|
key: 0,
|
|
580
580
|
class: "overflow-y-auto space-y-3"
|
|
581
|
-
}, It = { class: "block text-sm font-semibold text-slate-600 mb-2" }, Mt = ["onChange", "disabled"],
|
|
581
|
+
}, It = { class: "block text-sm font-semibold text-slate-600 mb-2" }, Mt = ["onChange", "disabled"], Bt = ["value"], At = ["onChange", "disabled"], Et = ["onInput", "disabled", "placeholder"], Tt = ["disabled"], Ot = {
|
|
582
582
|
key: 0,
|
|
583
583
|
class: "animate-spin"
|
|
584
|
-
},
|
|
584
|
+
}, Dt = { key: 1 }, Lt = /* @__PURE__ */ Z({
|
|
585
585
|
__name: "SourceFilter",
|
|
586
586
|
props: {
|
|
587
587
|
onSubmit: {
|
|
@@ -598,7 +598,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
598
598
|
}
|
|
599
599
|
},
|
|
600
600
|
setup(e) {
|
|
601
|
-
const o = e,
|
|
601
|
+
const o = e, x = j(!1), S = j(null), $ = j({}), y = _(() => {
|
|
602
602
|
const a = o.isProduction;
|
|
603
603
|
return [
|
|
604
604
|
{
|
|
@@ -653,13 +653,13 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
653
653
|
return a ? a.filters : [];
|
|
654
654
|
}), b = (a, n) => {
|
|
655
655
|
$.value[a] = n;
|
|
656
|
-
},
|
|
656
|
+
}, p = () => {
|
|
657
657
|
$.value = {};
|
|
658
|
-
},
|
|
659
|
-
|
|
658
|
+
}, c = async () => {
|
|
659
|
+
x.value = !0;
|
|
660
660
|
const a = y.value.find((l) => l.id === S.value);
|
|
661
661
|
if (!a) {
|
|
662
|
-
console.error("Origen no encontrado"),
|
|
662
|
+
console.error("Origen no encontrado"), x.value = !1;
|
|
663
663
|
return;
|
|
664
664
|
}
|
|
665
665
|
const n = new URL(a.apiUrl);
|
|
@@ -672,14 +672,14 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
672
672
|
headers: {
|
|
673
673
|
Accept: "text/xml, application/xml"
|
|
674
674
|
}
|
|
675
|
-
})).text(),
|
|
676
|
-
const
|
|
675
|
+
})).text(), B = new DOMParser().parseFromString(h, "text/xml"), k = Array.from(B.querySelectorAll("item")).map((r) => {
|
|
676
|
+
const f = {};
|
|
677
677
|
return Array.from(r.children).forEach((G) => {
|
|
678
678
|
G.children.length > 0 ? Array.from(G.children).forEach((V) => {
|
|
679
679
|
const z = `${G.nodeName}_${V.nodeName}`;
|
|
680
|
-
|
|
681
|
-
}) :
|
|
682
|
-
}),
|
|
680
|
+
f[z] = V.textContent || "";
|
|
681
|
+
}) : f[G.nodeName] = G.textContent || "";
|
|
682
|
+
}), f;
|
|
683
683
|
});
|
|
684
684
|
o.onSubmit(k);
|
|
685
685
|
} catch (l) {
|
|
@@ -689,7 +689,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
689
689
|
name: a.name,
|
|
690
690
|
url: n.toString()
|
|
691
691
|
};
|
|
692
|
-
o.updateFeedCriteria(l),
|
|
692
|
+
o.updateFeedCriteria(l), x.value = !1;
|
|
693
693
|
}
|
|
694
694
|
};
|
|
695
695
|
return (a, n) => (s(), i("div", kt, [
|
|
@@ -698,8 +698,8 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
698
698
|
U(t("select", {
|
|
699
699
|
"onUpdate:modelValue": n[0] || (n[0] = (l) => S.value = l),
|
|
700
700
|
class: "w-full px-3 py-2.5 bg-white border border-slate-200 rounded-lg shadow-sm focus:border-emerald-400 focus:ring-2 focus:ring-emerald-500/20 transition-all duration-200 disabled:bg-slate-100 disabled:cursor-not-allowed cursor-pointer",
|
|
701
|
-
onChange:
|
|
702
|
-
disabled:
|
|
701
|
+
onChange: p,
|
|
702
|
+
disabled: x.value
|
|
703
703
|
}, [
|
|
704
704
|
(s(!0), i(O, null, N(y.value, (l) => (s(), i("option", {
|
|
705
705
|
key: l.id,
|
|
@@ -720,37 +720,37 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
720
720
|
key: 0,
|
|
721
721
|
class: "w-full px-3 py-2.5 bg-white border border-slate-200 rounded-lg shadow-sm focus:border-emerald-400 focus:ring-2 focus:ring-emerald-500/20 transition-all duration-200 disabled:bg-slate-100 disabled:cursor-not-allowed cursor-pointer",
|
|
722
722
|
onChange: (h) => b(l.id, h.target.value),
|
|
723
|
-
disabled:
|
|
723
|
+
disabled: x.value
|
|
724
724
|
}, [
|
|
725
725
|
n[2] || (n[2] = t("option", { value: "" }, "Seleccionar...", -1)),
|
|
726
726
|
(s(!0), i(O, null, N(l.options, (h) => (s(), i("option", {
|
|
727
727
|
key: h,
|
|
728
728
|
value: h
|
|
729
|
-
}, w(h), 9,
|
|
729
|
+
}, w(h), 9, Bt))), 128))
|
|
730
730
|
], 40, Mt)) : l.type === "date" ? (s(), i("input", {
|
|
731
731
|
key: 1,
|
|
732
732
|
type: "date",
|
|
733
733
|
class: "w-full px-3 py-2.5 bg-white border border-slate-200 rounded-lg shadow-sm focus:border-emerald-400 focus:ring-2 focus:ring-emerald-500/20 transition-all duration-200 disabled:bg-slate-100 disabled:cursor-not-allowed",
|
|
734
734
|
onChange: (h) => b(l.id, h.target.value),
|
|
735
|
-
disabled:
|
|
736
|
-
}, null, 40,
|
|
735
|
+
disabled: x.value
|
|
736
|
+
}, null, 40, At)) : l.type === "text" ? (s(), i("input", {
|
|
737
737
|
key: 2,
|
|
738
738
|
type: "text",
|
|
739
739
|
class: "w-full px-3 py-2.5 bg-white border border-slate-200 rounded-lg shadow-sm focus:border-emerald-400 focus:ring-2 focus:ring-emerald-500/20 transition-all duration-200 disabled:bg-slate-100 disabled:cursor-not-allowed",
|
|
740
740
|
onInput: (h) => b(l.id, h.target.value),
|
|
741
|
-
disabled:
|
|
741
|
+
disabled: x.value,
|
|
742
742
|
placeholder: l.label
|
|
743
743
|
}, null, 40, Et)) : F("", !0)
|
|
744
744
|
]))), 128))
|
|
745
745
|
])) : F("", !0),
|
|
746
746
|
t("button", {
|
|
747
747
|
type: "button",
|
|
748
|
-
onClick:
|
|
748
|
+
onClick: c,
|
|
749
749
|
class: "cursor-pointer w-full bg-gradient-to-r from-emerald-500 to-teal-500 text-white font-semibold px-4 py-3 rounded-xl shadow-md hover:from-emerald-600 hover:to-teal-600 hover:shadow-lg transform hover:-translate-y-0.5 transition-all duration-200 disabled:from-slate-300 disabled:to-slate-400 disabled:cursor-not-allowed disabled:transform-none disabled:shadow-none flex items-center justify-center gap-2",
|
|
750
|
-
disabled:
|
|
750
|
+
disabled: x.value
|
|
751
751
|
}, [
|
|
752
|
-
|
|
753
|
-
|
|
752
|
+
x.value ? (s(), i("span", Ot, "⏳")) : (s(), i("span", Dt, "🔍")),
|
|
753
|
+
D(" " + w(x.value ? "Conectando con el feed..." : "Aplicar Filtros"), 1)
|
|
754
754
|
], 8, Tt)
|
|
755
755
|
])
|
|
756
756
|
]));
|
|
@@ -797,48 +797,48 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
797
797
|
}
|
|
798
798
|
},
|
|
799
799
|
setup(e) {
|
|
800
|
-
const o = e,
|
|
801
|
-
|
|
800
|
+
const o = e, x = j(null), S = j(null), $ = j(!1), y = j(1), d = j("horizontal"), b = j({}), p = j(null), c = (k) => {
|
|
801
|
+
x.value = k;
|
|
802
802
|
}, a = (k) => {
|
|
803
803
|
S.value = k;
|
|
804
804
|
}, n = () => {
|
|
805
805
|
const k = o.object.fields.filter((r) => r.mappedTo).map((r) => {
|
|
806
|
-
var
|
|
806
|
+
var f;
|
|
807
807
|
return {
|
|
808
808
|
fieldName: r.name,
|
|
809
809
|
mappedTo: r.mappedTo,
|
|
810
|
-
value: ((
|
|
810
|
+
value: ((f = S.value) == null ? void 0 : f[r.mappedTo]) ?? null
|
|
811
811
|
};
|
|
812
812
|
});
|
|
813
|
-
|
|
813
|
+
p.value = {
|
|
814
814
|
...b.value,
|
|
815
815
|
dynamicUpdate: $.value,
|
|
816
816
|
elementCount: y.value,
|
|
817
817
|
orientation: d.value,
|
|
818
|
-
mapping: k.map(({ fieldName: r, mappedTo:
|
|
819
|
-
}, o.updateObjectByFeedContent && o.updateObjectByFeedContent(k,
|
|
818
|
+
mapping: k.map(({ fieldName: r, mappedTo: f }) => ({ fieldName: r, mappedTo: f }))
|
|
819
|
+
}, o.updateObjectByFeedContent && o.updateObjectByFeedContent(k, p.value), o.toggleFeedSection();
|
|
820
820
|
}, l = (k) => {
|
|
821
821
|
b.value = k;
|
|
822
822
|
}, h = () => {
|
|
823
823
|
var k;
|
|
824
|
-
(k = o.object) != null && k.repeat_data && (
|
|
824
|
+
(k = o.object) != null && k.repeat_data && (p.value = o.object.repeat_data, $.value = o.object.repeat_data.dynamicUpdate || !1, y.value = o.object.repeat_data.elementCount || 1, d.value = o.object.repeat_data.orientation || "horizontal", b.value = {
|
|
825
825
|
name: o.object.repeat_data.name,
|
|
826
826
|
url: o.object.repeat_data.url
|
|
827
827
|
});
|
|
828
|
-
},
|
|
829
|
-
|
|
830
|
-
},
|
|
828
|
+
}, L = () => {
|
|
829
|
+
p.value = null, $.value = !1, y.value = 1, d.value = "horizontal", b.value = {}, o.updateObjectByFeedContent && o.updateObjectByFeedContent([], null);
|
|
830
|
+
}, B = () => {
|
|
831
831
|
var k;
|
|
832
|
-
|
|
833
|
-
...
|
|
832
|
+
p.value && (p.value = {
|
|
833
|
+
...p.value,
|
|
834
834
|
dynamicUpdate: $.value,
|
|
835
835
|
elementCount: y.value,
|
|
836
836
|
orientation: d.value
|
|
837
|
-
}, o.updateObjectByFeedContent && o.updateObjectByFeedContent(((k =
|
|
837
|
+
}, o.updateObjectByFeedContent && o.updateObjectByFeedContent(((k = p.value.mapping) == null ? void 0 : k.map((r) => ({
|
|
838
838
|
fieldName: r.fieldName,
|
|
839
839
|
mappedTo: r.mappedTo,
|
|
840
840
|
value: null
|
|
841
|
-
}))) || [],
|
|
841
|
+
}))) || [], p.value));
|
|
842
842
|
};
|
|
843
843
|
return le(() => {
|
|
844
844
|
h();
|
|
@@ -846,11 +846,11 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
846
846
|
t("div", Ut, [
|
|
847
847
|
r[5] || (r[5] = t("h2", { class: "text-xl font-bold bg-gradient-to-r from-slate-700 to-slate-500 bg-clip-text text-transparent flex items-center gap-3" }, [
|
|
848
848
|
t("span", { class: "text-xl" }, "🍺"),
|
|
849
|
-
|
|
849
|
+
D(" Configuración de Feed ")
|
|
850
850
|
], -1)),
|
|
851
851
|
t("button", {
|
|
852
852
|
onClick: r[0] || (r[0] = //@ts-ignore
|
|
853
|
-
(...
|
|
853
|
+
(...f) => e.toggleFeedSection && e.toggleFeedSection(...f)),
|
|
854
854
|
class: "cursor-pointer group w-10 h-10 flex items-center justify-center bg-white hover:bg-red-50 border border-red-200 hover:border-red-400 text-red-400 hover:text-red-600 rounded-full font-semibold shadow-sm hover:shadow-lg transition-all duration-200"
|
|
855
855
|
}, [...r[4] || (r[4] = [
|
|
856
856
|
t("span", { class: "text-lg" }, "✕", -1)
|
|
@@ -859,55 +859,55 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
859
859
|
t("div", zt, [
|
|
860
860
|
t("div", Nt, [
|
|
861
861
|
t("div", Vt, [
|
|
862
|
-
|
|
862
|
+
p.value && p.value.dynamicUpdate ? (s(), i("div", qt, [
|
|
863
863
|
t("div", { class: "flex justify-between items-start" }, [
|
|
864
864
|
r[8] || (r[8] = t("p", { class: "flex items-center gap-2" }, [
|
|
865
865
|
t("span", { class: "text-emerald-500" }, "✓"),
|
|
866
|
-
|
|
866
|
+
D(" Hay un criterio de feed establecido: ")
|
|
867
867
|
], -1)),
|
|
868
868
|
t("div", { class: "flex items-center gap-2" }, [
|
|
869
869
|
t("button", {
|
|
870
|
-
onClick:
|
|
870
|
+
onClick: B,
|
|
871
871
|
class: "cursor-pointer px-3 py-1.5 bg-white hover:bg-emerald-50 text-emerald-500 hover:text-emerald-600 border border-emerald-200 hover:border-emerald-300 rounded-lg text-xs font-semibold transition-all duration-200 flex items-center gap-1 shadow-sm"
|
|
872
872
|
}, [...r[6] || (r[6] = [
|
|
873
873
|
t("span", null, "💾", -1),
|
|
874
|
-
|
|
874
|
+
D(" Guardar ", -1)
|
|
875
875
|
])]),
|
|
876
876
|
t("button", {
|
|
877
|
-
onClick:
|
|
877
|
+
onClick: L,
|
|
878
878
|
class: "cursor-pointer px-3 py-1.5 bg-white hover:bg-red-50 text-red-500 hover:text-red-600 border border-red-200 hover:border-red-300 rounded-lg text-xs font-semibold transition-all duration-200 flex items-center gap-1 shadow-sm"
|
|
879
879
|
}, [...r[7] || (r[7] = [
|
|
880
880
|
t("span", null, "✕", -1),
|
|
881
|
-
|
|
881
|
+
D(" Borrar ", -1)
|
|
882
882
|
])])
|
|
883
883
|
])
|
|
884
884
|
]),
|
|
885
885
|
t("ul", Gt, [
|
|
886
886
|
t("li", Jt, [
|
|
887
887
|
r[9] || (r[9] = t("span", { class: "text-emerald-400" }, "→", -1)),
|
|
888
|
-
r[10] || (r[10] =
|
|
889
|
-
t("span", Wt, w(
|
|
888
|
+
r[10] || (r[10] = D(" Conectar con ", -1)),
|
|
889
|
+
t("span", Wt, w(p.value.name), 1)
|
|
890
890
|
]),
|
|
891
891
|
t("li", Ht, [
|
|
892
892
|
r[11] || (r[11] = t("span", { class: "text-emerald-400" }, "→", -1)),
|
|
893
|
-
r[12] || (r[12] =
|
|
894
|
-
t("span", Yt, w(
|
|
895
|
-
r[13] || (r[13] =
|
|
896
|
-
t("span", Kt, w(
|
|
897
|
-
r[14] || (r[14] =
|
|
893
|
+
r[12] || (r[12] = D(" Recuperar ", -1)),
|
|
894
|
+
t("span", Yt, w(p.value.elementCount), 1),
|
|
895
|
+
r[13] || (r[13] = D(" items (", -1)),
|
|
896
|
+
t("span", Kt, w(p.value.orientation), 1),
|
|
897
|
+
r[14] || (r[14] = D(")", -1))
|
|
898
898
|
]),
|
|
899
899
|
t("li", Qt, [
|
|
900
900
|
r[17] || (r[17] = t("span", { class: "text-emerald-400" }, "→", -1)),
|
|
901
901
|
t("div", null, [
|
|
902
|
-
r[16] || (r[16] =
|
|
902
|
+
r[16] || (r[16] = D(" Mapeo: ", -1)),
|
|
903
903
|
t("div", Xt, [
|
|
904
|
-
(s(!0), i(O, null, N(
|
|
904
|
+
(s(!0), i(O, null, N(p.value.mapping, (f, G) => (s(), i("span", {
|
|
905
905
|
key: G,
|
|
906
906
|
class: "inline-flex items-center gap-1 px-2 py-0.5 bg-white rounded-full text-xs border border-slate-200"
|
|
907
907
|
}, [
|
|
908
|
-
t("span", Zt, w(
|
|
908
|
+
t("span", Zt, w(f.fieldName), 1),
|
|
909
909
|
r[15] || (r[15] = t("span", { class: "text-slate-400" }, "←", -1)),
|
|
910
|
-
t("span", _t, w(
|
|
910
|
+
t("span", _t, w(f.mappedTo), 1)
|
|
911
911
|
]))), 128))
|
|
912
912
|
])
|
|
913
913
|
])
|
|
@@ -918,7 +918,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
918
918
|
t("label", to, [
|
|
919
919
|
U(t("input", {
|
|
920
920
|
type: "checkbox",
|
|
921
|
-
"onUpdate:modelValue": r[1] || (r[1] = (
|
|
921
|
+
"onUpdate:modelValue": r[1] || (r[1] = (f) => $.value = f),
|
|
922
922
|
class: "w-5 h-5 text-emerald-500 border-2 border-slate-300 rounded focus:ring-emerald-500 cursor-pointer"
|
|
923
923
|
}, null, 512), [
|
|
924
924
|
[re, $.value]
|
|
@@ -931,7 +931,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
931
931
|
t("span", { class: "text-amber-500 mt-0.5" }, "ℹ️"),
|
|
932
932
|
t("p", null, [
|
|
933
933
|
t("strong", null, "Nota:"),
|
|
934
|
-
|
|
934
|
+
D(" Los valores que verás al relacionar campos son solo un ejemplo de referencia. En el momento de renderizar, se mostrarán los datos reales obtenidos del feed según los criterios configurados. ")
|
|
935
935
|
])
|
|
936
936
|
])
|
|
937
937
|
], -1)),
|
|
@@ -939,7 +939,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
939
939
|
r[19] || (r[19] = t("label", { class: "text-sm font-semibold text-slate-600" }, "Cantidad de elementos:", -1)),
|
|
940
940
|
U(t("input", {
|
|
941
941
|
type: "number",
|
|
942
|
-
"onUpdate:modelValue": r[2] || (r[2] = (
|
|
942
|
+
"onUpdate:modelValue": r[2] || (r[2] = (f) => y.value = f),
|
|
943
943
|
min: "1",
|
|
944
944
|
class: "w-32 px-3 py-2 border border-slate-200 rounded-lg focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 transition-colors"
|
|
945
945
|
}, null, 512), [
|
|
@@ -954,7 +954,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
954
954
|
t("div", lo, [
|
|
955
955
|
r[21] || (r[21] = t("label", { class: "text-sm font-semibold text-slate-600" }, "Orientación:", -1)),
|
|
956
956
|
U(t("select", {
|
|
957
|
-
"onUpdate:modelValue": r[3] || (r[3] = (
|
|
957
|
+
"onUpdate:modelValue": r[3] || (r[3] = (f) => d.value = f),
|
|
958
958
|
class: "w-48 px-3 py-2 border border-slate-200 rounded-lg focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white transition-colors cursor-pointer"
|
|
959
959
|
}, [...r[20] || (r[20] = [
|
|
960
960
|
t("option", {
|
|
@@ -972,10 +972,10 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
972
972
|
t("div", ao, [
|
|
973
973
|
r[23] || (r[23] = t("h3", { class: "text-lg font-bold mb-5 text-slate-700 pb-2 flex items-center gap-2 border-b border-slate-100" }, [
|
|
974
974
|
t("span", { class: "text-xl" }, "🔍"),
|
|
975
|
-
|
|
975
|
+
D(" Orígenes y Filtros ")
|
|
976
976
|
], -1)),
|
|
977
|
-
Y(
|
|
978
|
-
onSubmit:
|
|
977
|
+
Y(Lt, {
|
|
978
|
+
onSubmit: c,
|
|
979
979
|
updateFeedCriteria: l,
|
|
980
980
|
isProduction: e.isProduction
|
|
981
981
|
}, null, 8, ["isProduction"])
|
|
@@ -984,39 +984,39 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
984
984
|
t("div", ro, [
|
|
985
985
|
r[25] || (r[25] = t("h3", { class: "text-lg font-bold mb-5 text-slate-700 pb-2 flex items-center gap-2 border-b border-slate-100" }, [
|
|
986
986
|
t("span", { class: "text-xl" }, "📰"),
|
|
987
|
-
|
|
987
|
+
D(" Contenidos ")
|
|
988
988
|
], -1)),
|
|
989
|
-
!
|
|
989
|
+
!x.value || x.value.length === 0 ? (s(), i("div", so, [...r[24] || (r[24] = [
|
|
990
990
|
t("span", { class: "text-5xl mb-3 opacity-50" }, "📭", -1),
|
|
991
991
|
t("p", { class: "text-sm font-medium" }, "No hay contenidos disponibles", -1),
|
|
992
992
|
t("p", { class: "text-xs mt-1 text-slate-300" }, "Selecciona un origen para cargar contenidos", -1)
|
|
993
993
|
])])) : (s(), i("ul", io, [
|
|
994
|
-
(s(!0), i(O, null, N(
|
|
994
|
+
(s(!0), i(O, null, N(x.value, (f, G) => (s(), i("li", {
|
|
995
995
|
key: G,
|
|
996
996
|
class: "p-4 bg-gradient-to-br from-slate-50 to-white rounded-xl shadow-sm hover:shadow-md cursor-pointer hover:scale-[1.01] transition-all duration-200 border border-slate-200 hover:border-emerald-300",
|
|
997
|
-
onClick: (V) => a(
|
|
997
|
+
onClick: (V) => a(f)
|
|
998
998
|
}, [
|
|
999
|
-
t("h4", co, w(
|
|
1000
|
-
t("p", mo, w(
|
|
999
|
+
t("h4", co, w(f.title || f.titulo || "Sin título"), 1),
|
|
1000
|
+
t("p", mo, w(f.description || f.descripcion || f.content || "Sin descripción"), 1)
|
|
1001
1001
|
], 8, uo))), 128))
|
|
1002
1002
|
]))
|
|
1003
1003
|
]),
|
|
1004
1004
|
t("div", bo, [
|
|
1005
1005
|
r[31] || (r[31] = t("h3", { class: "text-lg font-bold mb-5 text-slate-700 pb-2 flex items-center gap-2 border-b border-slate-100" }, [
|
|
1006
1006
|
t("span", { class: "text-xl" }, "🔗"),
|
|
1007
|
-
|
|
1007
|
+
D(" Relacionar Contenido ")
|
|
1008
1008
|
], -1)),
|
|
1009
1009
|
S.value ? (s(), i("div", fo, [
|
|
1010
|
-
(s(!0), i(O, null, N(e.object.fields, (
|
|
1010
|
+
(s(!0), i(O, null, N(e.object.fields, (f, G) => (s(), i("div", {
|
|
1011
1011
|
key: G,
|
|
1012
1012
|
class: "p-4 bg-gradient-to-br from-slate-50 to-white rounded-xl border border-slate-200"
|
|
1013
1013
|
}, [
|
|
1014
1014
|
t("label", po, [
|
|
1015
1015
|
r[27] || (r[27] = t("span", { class: "text-base" }, "⚙️", -1)),
|
|
1016
|
-
|
|
1016
|
+
D(" " + w(f.name), 1)
|
|
1017
1017
|
]),
|
|
1018
1018
|
U(t("select", {
|
|
1019
|
-
"onUpdate:modelValue": (V) =>
|
|
1019
|
+
"onUpdate:modelValue": (V) => f.mappedTo = V,
|
|
1020
1020
|
class: "w-full px-3 py-2.5 border border-slate-200 rounded-lg focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 transition-all bg-white cursor-pointer"
|
|
1021
1021
|
}, [
|
|
1022
1022
|
r[28] || (r[28] = t("option", { value: "" }, "-- Seleccionar campo --", -1)),
|
|
@@ -1025,11 +1025,11 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1025
1025
|
value: z
|
|
1026
1026
|
}, w(z), 9, xo))), 128))
|
|
1027
1027
|
], 8, vo), [
|
|
1028
|
-
[Q,
|
|
1028
|
+
[Q, f.mappedTo]
|
|
1029
1029
|
]),
|
|
1030
|
-
|
|
1030
|
+
f.mappedTo ? (s(), i("div", ho, [
|
|
1031
1031
|
r[29] || (r[29] = t("span", { class: "text-xs font-semibold text-emerald-600 uppercase tracking-wide" }, "Vista previa:", -1)),
|
|
1032
|
-
t("p", wo, w(S.value[
|
|
1032
|
+
t("p", wo, w(S.value[f.mappedTo]), 1)
|
|
1033
1033
|
])) : F("", !0)
|
|
1034
1034
|
]))), 128)),
|
|
1035
1035
|
t("button", {
|
|
@@ -1042,9 +1042,9 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1042
1042
|
])) : (s(), i("div", go, [...r[26] || (r[26] = [
|
|
1043
1043
|
t("span", { class: "text-5xl mb-3 opacity-50" }, "👆", -1),
|
|
1044
1044
|
t("p", { class: "text-sm font-medium text-center" }, [
|
|
1045
|
-
|
|
1045
|
+
D("Selecciona un contenido"),
|
|
1046
1046
|
t("br"),
|
|
1047
|
-
|
|
1047
|
+
D("para relacionar")
|
|
1048
1048
|
], -1)
|
|
1049
1049
|
])]))
|
|
1050
1050
|
])
|
|
@@ -1060,10 +1060,10 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1060
1060
|
}, Mo = {
|
|
1061
1061
|
key: 0,
|
|
1062
1062
|
class: "text-[10px] bg-amber-100 text-amber-700 px-1.5 rounded-full font-medium"
|
|
1063
|
-
},
|
|
1063
|
+
}, Bo = { class: "mt-2 flex items-center" }, Ao = { class: "font-medium text-slate-700" }, Eo = { key: 0 }, To = { key: 1 }, Oo = {
|
|
1064
1064
|
key: 0,
|
|
1065
1065
|
class: "mt-3 p-3 bg-gradient-to-r from-sky-50 to-blue-50 rounded-lg text-sm text-slate-600 border border-sky-100"
|
|
1066
|
-
},
|
|
1066
|
+
}, Do = { class: "mt-3 flex gap-1.5 flex-wrap" }, Lo = { class: "absolute top-0 left-0 w-full h-full opacity-0 group-hover/component:opacity-100 bg-gradient-to-br from-white/90 via-slate-50/95 to-slate-100/90 backdrop-blur-[2px] z-99 transition-all duration-300 rounded-xl" }, Ro = { class: "absolute top-2 right-2 group/info z-10" }, Uo = { class: "absolute top-6 right-0 w-64 p-3 bg-white rounded-lg shadow-lg border border-slate-200 opacity-0 invisible group-hover/info:opacity-100 group-hover/info:visible transition-all duration-200 text-xs text-slate-600 leading-relaxed" }, zo = { class: "flex justify-center h-full items-center p-4 gap-3" }, No = {
|
|
1067
1067
|
key: 0,
|
|
1068
1068
|
title: "Mover componente",
|
|
1069
1069
|
class: "handle cursor-grab flex items-center bg-white border border-slate-200 px-4 py-2 rounded-xl hover:bg-slate-700 hover:border-slate-700 hover:text-white shadow-sm hover:shadow-md transition-all duration-200 group/btn"
|
|
@@ -1098,10 +1098,10 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
},
|
|
1100
1100
|
setup(e) {
|
|
1101
|
-
const o = e,
|
|
1101
|
+
const o = e, x = {
|
|
1102
1102
|
DEV: "https://led-dev-limbo-dev.eu.els.local",
|
|
1103
1103
|
PROD: "https://limbo.lefebvre.es"
|
|
1104
|
-
}, S = (I) => I ? I.startsWith("/files/") ? (o.isProduction ?
|
|
1104
|
+
}, S = (I) => I ? I.startsWith("/files/") ? (o.isProduction ? x.PROD : x.DEV) + I : I : "", $ = (I) => {
|
|
1105
1105
|
var P, T;
|
|
1106
1106
|
if (!I) return "";
|
|
1107
1107
|
const m = I.replace(/"/g, '"').replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/'/g, "'");
|
|
@@ -1111,7 +1111,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1111
1111
|
} catch {
|
|
1112
1112
|
return m.startsWith("blob:") ? "" : m.startsWith("/files/") ? S(m) : m.startsWith("http") || m.startsWith("/") ? m : I.startsWith("{") ? "" : I;
|
|
1113
1113
|
}
|
|
1114
|
-
}, y = Math.random().toString(36).substring(2, 15), d = j(!1), b = j(!1),
|
|
1114
|
+
}, y = Math.random().toString(36).substring(2, 15), d = j(!1), b = j(!1), p = j(null), c = j(null), a = j(!1), n = j(!1);
|
|
1115
1115
|
ae(() => o.isComponentMode, (I) => {
|
|
1116
1116
|
I || l();
|
|
1117
1117
|
}), ae(() => o.object, () => {
|
|
@@ -1120,7 +1120,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1120
1120
|
I && (await Ce(), z());
|
|
1121
1121
|
});
|
|
1122
1122
|
const l = () => {
|
|
1123
|
-
|
|
1123
|
+
p.value && clearTimeout(p.value), p.value = setTimeout(() => {
|
|
1124
1124
|
z();
|
|
1125
1125
|
}, 500);
|
|
1126
1126
|
}, h = () => {
|
|
@@ -1130,19 +1130,19 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1130
1130
|
P.isIntersecting && !a.value && (a.value = !0, I.disconnect());
|
|
1131
1131
|
});
|
|
1132
1132
|
}, { threshold: 0.1 });
|
|
1133
|
-
|
|
1134
|
-
},
|
|
1133
|
+
c.value && I.observe(c.value);
|
|
1134
|
+
}, L = (I, m) => {
|
|
1135
1135
|
const P = (o.object.fields || []).find((T) => T.name === I);
|
|
1136
1136
|
P && (P.example_value = m);
|
|
1137
|
-
},
|
|
1137
|
+
}, B = (I, m) => {
|
|
1138
1138
|
I.forEach((P) => {
|
|
1139
|
-
P.value !== void 0 &&
|
|
1139
|
+
P.value !== void 0 && L(P.fieldName, P.value);
|
|
1140
1140
|
}), o.object.repeat_data = m;
|
|
1141
1141
|
}, k = () => {
|
|
1142
1142
|
b.value = !b.value;
|
|
1143
1143
|
}, r = () => {
|
|
1144
1144
|
n.value = !n.value;
|
|
1145
|
-
},
|
|
1145
|
+
}, f = (I, m) => {
|
|
1146
1146
|
console.log("[InitialComponent] Field updated from FieldsForm:", I, m), l();
|
|
1147
1147
|
}, G = () => {
|
|
1148
1148
|
z(!0).then((I) => {
|
|
@@ -1198,14 +1198,14 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1198
1198
|
}), (I, m) => (s(), i("div", null, [
|
|
1199
1199
|
n.value ? (s(), me(yo, {
|
|
1200
1200
|
key: 0,
|
|
1201
|
-
updateObjectByFeedContent:
|
|
1201
|
+
updateObjectByFeedContent: B,
|
|
1202
1202
|
toggleFeedSection: r,
|
|
1203
1203
|
object: e.object,
|
|
1204
1204
|
isProduction: e.isProduction
|
|
1205
1205
|
}, null, 8, ["object", "isProduction"])) : F("", !0),
|
|
1206
1206
|
t("div", {
|
|
1207
1207
|
ref_key: "rootElement",
|
|
1208
|
-
ref:
|
|
1208
|
+
ref: c,
|
|
1209
1209
|
class: K(["min-h-[100px] relative group/component hover:shadow-lg hover:shadow-slate-200/50 duration-300 ease-out js-draggable-element text-slate-600 border border-slate-200 hover:border-slate-300 px-5 pt-3 pb-4 w-full bg-white inline-block rounded-xl flex flex-col mb-3 z-0 shadow-sm", { "overflow-hidden": !e.isComponentMode }])
|
|
1210
1210
|
}, [
|
|
1211
1211
|
e.isComponentMode ? (s(), i(O, { key: 0 }, [
|
|
@@ -1250,7 +1250,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1250
1250
|
onClick: r,
|
|
1251
1251
|
class: "p-1.5 rounded-md hover:bg-white hover:shadow-sm cursor-pointer transition-all duration-200 text-base flex items-center gap-1"
|
|
1252
1252
|
}, [
|
|
1253
|
-
m[11] || (m[11] =
|
|
1253
|
+
m[11] || (m[11] = D("⚡ ", -1)),
|
|
1254
1254
|
e.object.repeat_data ? (s(), i("span", Mo, w(e.object.repeat_data.elementCount), 1)) : F("", !0)
|
|
1255
1255
|
]),
|
|
1256
1256
|
e.cloneComponent ? (s(), i("div", {
|
|
@@ -1272,10 +1272,10 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1272
1272
|
toggleShowForm: k,
|
|
1273
1273
|
object: e.object,
|
|
1274
1274
|
showForm: b.value,
|
|
1275
|
-
onFieldUpdated:
|
|
1275
|
+
onFieldUpdated: f
|
|
1276
1276
|
}, null, 8, ["object", "showForm"]),
|
|
1277
|
-
t("div",
|
|
1278
|
-
t("span",
|
|
1277
|
+
t("div", Bo, [
|
|
1278
|
+
t("span", Ao, w(e.object.name), 1),
|
|
1279
1279
|
t("button", {
|
|
1280
1280
|
type: "button",
|
|
1281
1281
|
onClick: m[5] || (m[5] = (P) => d.value = !d.value),
|
|
@@ -1285,14 +1285,14 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1285
1285
|
])
|
|
1286
1286
|
]),
|
|
1287
1287
|
d.value ? (s(), i("div", Oo, w(e.object.description), 1)) : F("", !0),
|
|
1288
|
-
t("div",
|
|
1288
|
+
t("div", Do, [
|
|
1289
1289
|
(s(!0), i(O, null, N(e.object.tags, (P, T) => (s(), i("span", {
|
|
1290
1290
|
key: T,
|
|
1291
1291
|
class: "bg-slate-50 text-slate-500 px-2.5 py-1 rounded-full text-[11px] font-medium border border-slate-100 hover:border-slate-200 hover:bg-slate-100 transition-colors cursor-default"
|
|
1292
1292
|
}, w(P), 1))), 128))
|
|
1293
1293
|
])
|
|
1294
1294
|
], 64)) : a.value ? (s(), i(O, { key: 1 }, [
|
|
1295
|
-
t("div",
|
|
1295
|
+
t("div", Lo, [
|
|
1296
1296
|
t("div", Ro, [
|
|
1297
1297
|
m[12] || (m[12] = t("div", { class: "w-5 h-5 rounded-full bg-slate-100 hover:bg-sky-100 border border-slate-200 hover:border-sky-300 flex items-center justify-center cursor-help transition-colors duration-200" }, [
|
|
1298
1298
|
t("svg", {
|
|
@@ -1388,7 +1388,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1388
1388
|
toggleShowForm: k,
|
|
1389
1389
|
object: e.object,
|
|
1390
1390
|
showForm: b.value,
|
|
1391
|
-
onFieldUpdated:
|
|
1391
|
+
onFieldUpdated: f
|
|
1392
1392
|
}, null, 8, ["object", "showForm"]),
|
|
1393
1393
|
t("div", {
|
|
1394
1394
|
id: H(y),
|
|
@@ -1431,7 +1431,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1431
1431
|
section: String
|
|
1432
1432
|
},
|
|
1433
1433
|
setup(e) {
|
|
1434
|
-
const o = e,
|
|
1434
|
+
const o = e, x = {
|
|
1435
1435
|
width: [
|
|
1436
1436
|
{ label: "Ancho completo", value: "full" },
|
|
1437
1437
|
{ label: "1/2", value: "1/2" },
|
|
@@ -1456,28 +1456,28 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1456
1456
|
{ label: "Fila (componentes unos al lado de otros)", value: "flex-row" }
|
|
1457
1457
|
]
|
|
1458
1458
|
}, S = j(""), $ = j(""), y = j(""), d = j(!1), b = _(() => {
|
|
1459
|
-
var n, l, h,
|
|
1460
|
-
const
|
|
1461
|
-
(
|
|
1462
|
-
), a = (
|
|
1459
|
+
var n, l, h, L;
|
|
1460
|
+
const c = (n = o.globalPageConfiguration) == null ? void 0 : n.find(
|
|
1461
|
+
(B) => B.section === o.section
|
|
1462
|
+
), a = (L = (h = (l = c == null ? void 0 : c.rows) == null ? void 0 : l[o.rowIndex]) == null ? void 0 : h.columns) == null ? void 0 : L[o.columnIndex];
|
|
1463
1463
|
return (a == null ? void 0 : a.config) || {};
|
|
1464
|
-
}),
|
|
1465
|
-
var
|
|
1466
|
-
const n = S.value ||
|
|
1467
|
-
(
|
|
1464
|
+
}), p = (c, a) => {
|
|
1465
|
+
var L;
|
|
1466
|
+
const n = S.value || x.width[0].value, l = $.value || x.gap[0].value, h = y.value || "";
|
|
1467
|
+
(L = o.updateColConfig) == null || L.call(o, c, a, o.section || "", n, l, h), d.value = !1;
|
|
1468
1468
|
};
|
|
1469
|
-
return (
|
|
1469
|
+
return (c, a) => (s(), i(O, null, [
|
|
1470
1470
|
t("div", Wo, [
|
|
1471
1471
|
b.value.width !== void 0 ? (s(), i("span", Ho, [
|
|
1472
|
-
a[12] || (a[12] =
|
|
1472
|
+
a[12] || (a[12] = D(" Ancho: ", -1)),
|
|
1473
1473
|
t("span", Yo, w(b.value.width), 1)
|
|
1474
1474
|
])) : F("", !0),
|
|
1475
1475
|
b.value.gap !== void 0 ? (s(), i("span", Ko, [
|
|
1476
|
-
a[13] || (a[13] =
|
|
1476
|
+
a[13] || (a[13] = D(" Gap: ", -1)),
|
|
1477
1477
|
t("span", Qo, w(b.value.gap), 1)
|
|
1478
1478
|
])) : F("", !0),
|
|
1479
1479
|
b.value.flexDirection !== void 0 ? (s(), i("span", Xo, [
|
|
1480
|
-
a[14] || (a[14] =
|
|
1480
|
+
a[14] || (a[14] = D(" Flex: ", -1)),
|
|
1481
1481
|
t("span", Zo, w(b.value.flexDirection), 1)
|
|
1482
1482
|
])) : F("", !0)
|
|
1483
1483
|
]),
|
|
@@ -1499,7 +1499,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1499
1499
|
class: "block w-full border border-slate-200 rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white hover:border-slate-300 transition-colors"
|
|
1500
1500
|
}, [
|
|
1501
1501
|
a[15] || (a[15] = t("option", { value: "" }, "Selecciona...", -1)),
|
|
1502
|
-
(s(!0), i(O, null, N(
|
|
1502
|
+
(s(!0), i(O, null, N(x.width, (n) => (s(), i("option", {
|
|
1503
1503
|
key: n.value,
|
|
1504
1504
|
value: n.value
|
|
1505
1505
|
}, w(n.label), 9, ln))), 128))
|
|
@@ -1518,7 +1518,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1518
1518
|
class: "block w-full border border-slate-200 rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white hover:border-slate-300 transition-colors"
|
|
1519
1519
|
}, [
|
|
1520
1520
|
a[16] || (a[16] = t("option", { value: "" }, "Selecciona...", -1)),
|
|
1521
|
-
(s(!0), i(O, null, N(
|
|
1521
|
+
(s(!0), i(O, null, N(x.gap, (n) => (s(), i("option", {
|
|
1522
1522
|
key: n.value,
|
|
1523
1523
|
value: n.value
|
|
1524
1524
|
}, w(n.label), 9, dn))), 128))
|
|
@@ -1537,7 +1537,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1537
1537
|
class: "block w-full border border-slate-200 rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-white hover:border-slate-300 transition-colors"
|
|
1538
1538
|
}, [
|
|
1539
1539
|
a[17] || (a[17] = t("option", { value: "" }, "Selecciona...", -1)),
|
|
1540
|
-
(s(!0), i(O, null, N(
|
|
1540
|
+
(s(!0), i(O, null, N(x.flexDirection, (n) => (s(), i("option", {
|
|
1541
1541
|
key: n.value,
|
|
1542
1542
|
value: n.value
|
|
1543
1543
|
}, w(n.label), 9, bn))), 128))
|
|
@@ -1549,7 +1549,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1549
1549
|
type: "button",
|
|
1550
1550
|
class: "bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-600 hover:to-teal-600 text-white px-5 py-2 rounded-lg font-medium shadow-sm hover:shadow-md transition-all duration-200 cursor-pointer",
|
|
1551
1551
|
onClick: a[3] || (a[3] = (n) => {
|
|
1552
|
-
|
|
1552
|
+
p(e.rowIndex, e.columnIndex), d.value = !1;
|
|
1553
1553
|
})
|
|
1554
1554
|
}, " Guardar ")
|
|
1555
1555
|
], 32)
|
|
@@ -1641,7 +1641,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1641
1641
|
}, Fn = { class: "text-slate-600" }, jn = { class: "flex gap-1.5" }, In = {
|
|
1642
1642
|
key: 0,
|
|
1643
1643
|
class: "z-1"
|
|
1644
|
-
}, Mn = { class: "p-5 bg-white rounded-xl shadow-lg border border-slate-100 w-full mt-8" },
|
|
1644
|
+
}, Mn = { class: "p-5 bg-white rounded-xl shadow-lg border border-slate-100 w-full mt-8" }, Bn = { class: "flex flex-col" }, An = ["for"], En = ["id"], Tn = ["value"], On = { class: "flex flex-col" }, Dn = ["for"], Ln = ["id"], Rn = ["value"], Un = { class: "flex flex-col" }, zn = ["for"], Nn = ["id"], Vn = ["value"], qn = /* @__PURE__ */ Z({
|
|
1645
1645
|
__name: "RowConfig",
|
|
1646
1646
|
props: {
|
|
1647
1647
|
rowIndex: {
|
|
@@ -1656,7 +1656,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1656
1656
|
moveRow: Function
|
|
1657
1657
|
},
|
|
1658
1658
|
setup(e) {
|
|
1659
|
-
const o = e,
|
|
1659
|
+
const o = e, x = {
|
|
1660
1660
|
padding: [
|
|
1661
1661
|
{ label: "Ninguno", value: "0" },
|
|
1662
1662
|
{ label: "Leve", value: "4" },
|
|
@@ -1682,16 +1682,16 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1682
1682
|
{ label: "3/5", value: "3/5" },
|
|
1683
1683
|
{ label: "4/5", value: "4/5" }
|
|
1684
1684
|
]
|
|
1685
|
-
}, S = j(""), $ = j(""), y = j(""), d = j(!1), b = j(!1),
|
|
1685
|
+
}, S = j(""), $ = j(""), y = j(""), d = j(!1), b = j(!1), p = _(() => {
|
|
1686
1686
|
var n, l;
|
|
1687
1687
|
const a = (n = o.globalPageConfiguration) == null ? void 0 : n.find(
|
|
1688
1688
|
(h) => h.section === o.section
|
|
1689
1689
|
);
|
|
1690
1690
|
return (l = a == null ? void 0 : a.rows) != null && l[o.rowIndex] ? a.rows[o.rowIndex].config || {} : {};
|
|
1691
|
-
}),
|
|
1692
|
-
var
|
|
1693
|
-
const n = S.value ||
|
|
1694
|
-
(
|
|
1691
|
+
}), c = (a) => {
|
|
1692
|
+
var L;
|
|
1693
|
+
const n = S.value || x.padding[0].value, l = $.value || x.gap[0].value, h = y.value || x.width[0].value;
|
|
1694
|
+
(L = o.updateRowConfig) == null || L.call(o, a, o.section || "", n, l, h), d.value = !1;
|
|
1695
1695
|
};
|
|
1696
1696
|
return (a, n) => (s(), i(O, null, [
|
|
1697
1697
|
t("div", xn, [
|
|
@@ -1735,17 +1735,17 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1735
1735
|
class: K(["cursor-pointer rounded-b-lg border border-t-0 px-3 py-1 transition-all duration-200 shadow-sm hover:shadow-md", d.value ? "bg-amber-100 border-amber-300 text-amber-700" : "bg-white border-slate-200 text-slate-600 hover:bg-amber-500 hover:border-amber-500 hover:text-white"])
|
|
1736
1736
|
}, "⚙️", 2)
|
|
1737
1737
|
]),
|
|
1738
|
-
|
|
1739
|
-
n[10] || (n[10] =
|
|
1740
|
-
t("span", $n, w(
|
|
1738
|
+
p.value.padding !== void 0 ? (s(), i("span", Cn, [
|
|
1739
|
+
n[10] || (n[10] = D(" Padding: ", -1)),
|
|
1740
|
+
t("span", $n, w(p.value.padding), 1)
|
|
1741
1741
|
])) : F("", !0),
|
|
1742
|
-
|
|
1743
|
-
n[11] || (n[11] =
|
|
1744
|
-
t("span", Sn, w(
|
|
1742
|
+
p.value.gap !== void 0 ? (s(), i("span", kn, [
|
|
1743
|
+
n[11] || (n[11] = D(" Gap: ", -1)),
|
|
1744
|
+
t("span", Sn, w(p.value.gap), 1)
|
|
1745
1745
|
])) : F("", !0),
|
|
1746
|
-
|
|
1747
|
-
n[12] || (n[12] =
|
|
1748
|
-
t("span", Fn, w(
|
|
1746
|
+
p.value.width !== void 0 ? (s(), i("span", Pn, [
|
|
1747
|
+
n[12] || (n[12] = D(" Ancho: ", -1)),
|
|
1748
|
+
t("span", Fn, w(p.value.width), 1)
|
|
1749
1749
|
])) : F("", !0)
|
|
1750
1750
|
]),
|
|
1751
1751
|
t("div", null, [
|
|
@@ -1769,18 +1769,18 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1769
1769
|
}, ["prevent"])),
|
|
1770
1770
|
class: "flex gap-6 w-full justify-center items-end flex-wrap"
|
|
1771
1771
|
}, [
|
|
1772
|
-
t("div",
|
|
1772
|
+
t("div", Bn, [
|
|
1773
1773
|
t("label", {
|
|
1774
1774
|
for: `padding-${e.rowIndex}`,
|
|
1775
1775
|
class: "block text-sm font-medium text-slate-600 mb-1.5"
|
|
1776
|
-
}, "Padding:", 8,
|
|
1776
|
+
}, "Padding:", 8, An),
|
|
1777
1777
|
U(t("select", {
|
|
1778
1778
|
"onUpdate:modelValue": n[5] || (n[5] = (l) => S.value = l),
|
|
1779
1779
|
id: `padding-${e.rowIndex}`,
|
|
1780
1780
|
class: "block w-full border border-slate-200 rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-slate-50 hover:bg-white transition-colors"
|
|
1781
1781
|
}, [
|
|
1782
1782
|
n[13] || (n[13] = t("option", { value: "" }, "Selecciona...", -1)),
|
|
1783
|
-
(s(!0), i(O, null, N(
|
|
1783
|
+
(s(!0), i(O, null, N(x.padding, (l) => (s(), i("option", {
|
|
1784
1784
|
key: l.value,
|
|
1785
1785
|
value: l.value
|
|
1786
1786
|
}, w(l.label), 9, Tn))), 128))
|
|
@@ -1792,18 +1792,18 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1792
1792
|
t("label", {
|
|
1793
1793
|
for: `gap-${e.rowIndex}`,
|
|
1794
1794
|
class: "block text-sm font-medium text-slate-600 mb-1.5"
|
|
1795
|
-
}, "Gap:", 8,
|
|
1795
|
+
}, "Gap:", 8, Dn),
|
|
1796
1796
|
U(t("select", {
|
|
1797
1797
|
"onUpdate:modelValue": n[6] || (n[6] = (l) => $.value = l),
|
|
1798
1798
|
id: `gap-${e.rowIndex}`,
|
|
1799
1799
|
class: "block w-full border border-slate-200 rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-slate-50 hover:bg-white transition-colors"
|
|
1800
1800
|
}, [
|
|
1801
1801
|
n[14] || (n[14] = t("option", { value: "" }, "Selecciona...", -1)),
|
|
1802
|
-
(s(!0), i(O, null, N(
|
|
1802
|
+
(s(!0), i(O, null, N(x.gap, (l) => (s(), i("option", {
|
|
1803
1803
|
key: l.value,
|
|
1804
1804
|
value: l.value
|
|
1805
1805
|
}, w(l.label), 9, Rn))), 128))
|
|
1806
|
-
], 8,
|
|
1806
|
+
], 8, Ln), [
|
|
1807
1807
|
[Q, $.value]
|
|
1808
1808
|
])
|
|
1809
1809
|
]),
|
|
@@ -1818,7 +1818,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1818
1818
|
class: "block w-full border border-slate-200 rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 bg-slate-50 hover:bg-white transition-colors"
|
|
1819
1819
|
}, [
|
|
1820
1820
|
n[15] || (n[15] = t("option", { value: "" }, "Selecciona...", -1)),
|
|
1821
|
-
(s(!0), i(O, null, N(
|
|
1821
|
+
(s(!0), i(O, null, N(x.width, (l) => (s(), i("option", {
|
|
1822
1822
|
key: l.value,
|
|
1823
1823
|
value: l.value
|
|
1824
1824
|
}, w(l.label), 9, Vn))), 128))
|
|
@@ -1830,7 +1830,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1830
1830
|
type: "button",
|
|
1831
1831
|
class: "bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-600 hover:to-teal-600 text-white px-5 py-2 rounded-lg font-medium shadow-sm hover:shadow-md transition-all duration-200 cursor-pointer",
|
|
1832
1832
|
onClick: n[8] || (n[8] = (l) => {
|
|
1833
|
-
|
|
1833
|
+
c(e.rowIndex), b.value = !1;
|
|
1834
1834
|
})
|
|
1835
1835
|
}, " Guardar ")
|
|
1836
1836
|
], 32)
|
|
@@ -1863,7 +1863,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1863
1863
|
}
|
|
1864
1864
|
},
|
|
1865
1865
|
setup(e) {
|
|
1866
|
-
const o = e,
|
|
1866
|
+
const o = e, x = j(!1), S = _(() => {
|
|
1867
1867
|
var y;
|
|
1868
1868
|
const $ = (y = o.globalPageConfiguration) == null ? void 0 : y.find(
|
|
1869
1869
|
(d) => d.section === o.sectionSelected
|
|
@@ -1885,22 +1885,22 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1885
1885
|
section: e.sectionSelected
|
|
1886
1886
|
}, null, 8, ["moveRow", "addRow", "removeRow", "globalPageConfiguration", "updateRowConfig", "rowIndex", "section"]),
|
|
1887
1887
|
t("div", Jn, [
|
|
1888
|
-
(s(!0), i(O, null, N(d.columns, (
|
|
1888
|
+
(s(!0), i(O, null, N(d.columns, (p, c) => (s(), i("div", {
|
|
1889
1889
|
class: K([
|
|
1890
1890
|
"hover:shadow-md overflow-hidden dragging-zone border relative border-slate-200 shadow-sm w-full p-5 pt-10 min-h-[200px] rounded-xl flex flex-col gap-3 items-center before:content-['Columna'] before:absolute before:text-slate-300 before:text-7xl before:font-bold before:bottom-4 before:left-2 before:-rotate-12 before:opacity-30 before:duration-300 before:transition-opacity group hover:before:opacity-50 transition-all duration-300",
|
|
1891
|
-
|
|
1891
|
+
x.value ? "bg-gradient-to-b from-emerald-50 to-emerald-100 border-emerald-300 shadow-emerald-100" : "bg-gradient-to-b from-slate-50 to-slate-100"
|
|
1892
1892
|
]),
|
|
1893
|
-
key: "column-" +
|
|
1894
|
-
id: "col-" + e.sectionSelected + "-" + b + "-" +
|
|
1893
|
+
key: "column-" + c,
|
|
1894
|
+
id: "col-" + e.sectionSelected + "-" + b + "-" + c
|
|
1895
1895
|
}, [
|
|
1896
1896
|
Y(H(ge), {
|
|
1897
1897
|
class: "h-full w-full mb-4",
|
|
1898
|
-
list:
|
|
1898
|
+
list: p.components,
|
|
1899
1899
|
group: { name: "draggingGroup", pull: !0, put: !0 },
|
|
1900
1900
|
"item-key": "id",
|
|
1901
1901
|
handle: ".handle",
|
|
1902
|
-
onStart: y[0] || (y[0] = (a) =>
|
|
1903
|
-
onEnd: y[1] || (y[1] = (a) =>
|
|
1902
|
+
onStart: y[0] || (y[0] = (a) => x.value = !0),
|
|
1903
|
+
onEnd: y[1] || (y[1] = (a) => x.value = !1)
|
|
1904
1904
|
}, {
|
|
1905
1905
|
item: be(({ element: a }) => [
|
|
1906
1906
|
Y(fe, {
|
|
@@ -1925,7 +1925,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1925
1925
|
removeCol: e.removeCol,
|
|
1926
1926
|
moveCol: e.moveCol,
|
|
1927
1927
|
rowIndex: b,
|
|
1928
|
-
columnIndex:
|
|
1928
|
+
columnIndex: c
|
|
1929
1929
|
}, null, 8, ["section", "globalPageConfiguration", "updateColConfig", "addComponentFunction", "fullwidthMode", "addCol", "removeCol", "moveCol", "rowIndex", "columnIndex"])
|
|
1930
1930
|
], 10, Wn))), 128))
|
|
1931
1931
|
])
|
|
@@ -1948,7 +1948,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1948
1948
|
excludedCategories: {}
|
|
1949
1949
|
},
|
|
1950
1950
|
setup(e) {
|
|
1951
|
-
const o = e,
|
|
1951
|
+
const o = e, x = [
|
|
1952
1952
|
"Call to Action",
|
|
1953
1953
|
"Contenido",
|
|
1954
1954
|
"Separador",
|
|
@@ -1960,14 +1960,14 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
1960
1960
|
"Formulario",
|
|
1961
1961
|
"Título",
|
|
1962
1962
|
"SEO"
|
|
1963
|
-
], S = _(() => !o.excludedCategories || o.excludedCategories.length === 0 ?
|
|
1963
|
+
], S = _(() => !o.excludedCategories || o.excludedCategories.length === 0 ? x : x.filter((a) => !o.excludedCategories.includes(a))), $ = j(!0), y = j([]), d = j(""), b = _(() => {
|
|
1964
1964
|
const a = d.value.toLowerCase(), n = Object.values(o.components), l = (h) => (h.name.toLowerCase() + h.description.toLowerCase() + h.tags.join(" ").toLowerCase()).includes(a);
|
|
1965
1965
|
return y.value.length > 0 ? n.filter(
|
|
1966
1966
|
(h) => y.value.includes(h.category) && l(h)
|
|
1967
1967
|
) : n.filter(l);
|
|
1968
|
-
}),
|
|
1968
|
+
}), p = (a) => {
|
|
1969
1969
|
d.value = a.target.value;
|
|
1970
|
-
},
|
|
1970
|
+
}, c = (a) => {
|
|
1971
1971
|
const n = a.target, l = n.value;
|
|
1972
1972
|
n.checked ? y.value.includes(l) || y.value.push(l) : y.value = y.value.filter((h) => h !== l);
|
|
1973
1973
|
};
|
|
@@ -2013,10 +2013,10 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
2013
2013
|
type: "checkbox",
|
|
2014
2014
|
value: l,
|
|
2015
2015
|
checked: y.value.includes(l),
|
|
2016
|
-
onInput:
|
|
2016
|
+
onInput: c,
|
|
2017
2017
|
class: "w-4 h-4 rounded border-slate-300 text-emerald-500 focus:ring-emerald-500"
|
|
2018
2018
|
}, null, 40, Xn),
|
|
2019
|
-
|
|
2019
|
+
D(" " + w(l), 1)
|
|
2020
2020
|
], 2))), 128))
|
|
2021
2021
|
], 512), [
|
|
2022
2022
|
[$e, $.value]
|
|
@@ -2037,7 +2037,7 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
2037
2037
|
})
|
|
2038
2038
|
], -1)),
|
|
2039
2039
|
t("input", {
|
|
2040
|
-
onInput:
|
|
2040
|
+
onInput: p,
|
|
2041
2041
|
type: "text",
|
|
2042
2042
|
placeholder: "Buscar componente...",
|
|
2043
2043
|
class: "duration-300 border border-slate-200 bg-white rounded-xl py-3 px-4 pl-11 w-full focus:outline-none focus:ring-2 focus:ring-emerald-500/20 focus:border-emerald-400 hover:border-slate-300 shadow-sm"
|
|
@@ -2100,18 +2100,18 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
2100
2100
|
limboToken: {}
|
|
2101
2101
|
},
|
|
2102
2102
|
setup(e) {
|
|
2103
|
-
const o = e,
|
|
2103
|
+
const o = e, x = o.isProduction ?? !1, S = o.debugMode ?? !1, $ = o.submitForm ?? !1, y = o.inputId ?? null, d = o.limboToken ?? null, b = [
|
|
2104
2104
|
"Repetidor",
|
|
2105
2105
|
// Siempre excluido
|
|
2106
2106
|
...o.excludeComponentTypes ?? []
|
|
2107
|
-
],
|
|
2108
|
-
const
|
|
2107
|
+
], p = x ? "https://render-api.lefebvre.es" : "https://led-dev-astro-render-api-dev.eu.els.local", c = j(!0), a = j(void 0), n = j([]), l = j({ rowIndex: null, columnIndex: null, section: null }), h = j(!1), L = j(!1), B = _(() => {
|
|
2108
|
+
const g = Se();
|
|
2109
2109
|
if (b.length === 0)
|
|
2110
|
-
return
|
|
2111
|
-
const
|
|
2112
|
-
for (const [
|
|
2113
|
-
b.includes(C.category) || (
|
|
2114
|
-
return
|
|
2110
|
+
return g;
|
|
2111
|
+
const v = {};
|
|
2112
|
+
for (const [u, C] of Object.entries(g))
|
|
2113
|
+
b.includes(C.category) || (v[u] = C);
|
|
2114
|
+
return v;
|
|
2115
2115
|
}), k = j({
|
|
2116
2116
|
global: {
|
|
2117
2117
|
sidebarEnabled: !1,
|
|
@@ -2146,30 +2146,30 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
2146
2146
|
config: { width: "1/3" },
|
|
2147
2147
|
rows: [{ config: {}, columns: [{ config: {}, components: [] }] }]
|
|
2148
2148
|
}
|
|
2149
|
-
]),
|
|
2149
|
+
]), f = async () => {
|
|
2150
2150
|
if (window.Limbo)
|
|
2151
2151
|
return S && console.log("[PageBuilder] Limbo ya está cargado"), window.Limbo;
|
|
2152
2152
|
await import("limbo-component/css"), S && console.log("[PageBuilder] Limbo CSS cargado desde paquete npm");
|
|
2153
|
-
const
|
|
2154
|
-
return window.Limbo =
|
|
2153
|
+
const g = await import("limbo-component/umd"), v = g.default ?? g, u = (v.configure ? v : v.default) ?? v;
|
|
2154
|
+
return S && (console.log("[PageBuilder] Limbo module keys:", Object.keys(g)), console.log("[PageBuilder] Limbo resolved type:", typeof u, u != null && u.configure ? "has configure" : "NO configure")), u != null && u.configure ? (window.Limbo = u, S && console.log("[PageBuilder] Limbo JS cargado desde paquete npm"), u) : (console.error("[PageBuilder] Limbo cargado pero no tiene método configure. Module:", g), null);
|
|
2155
2155
|
}, G = async () => {
|
|
2156
2156
|
if (!d) {
|
|
2157
2157
|
S && console.log("[PageBuilder] limboToken no proporcionado, Limbo no se inicializará");
|
|
2158
2158
|
return;
|
|
2159
2159
|
}
|
|
2160
2160
|
try {
|
|
2161
|
-
const
|
|
2162
|
-
if (!
|
|
2161
|
+
const g = await f();
|
|
2162
|
+
if (!g) {
|
|
2163
2163
|
console.error("[PageBuilder] Limbo no se cargó correctamente");
|
|
2164
2164
|
return;
|
|
2165
2165
|
}
|
|
2166
|
-
const
|
|
2167
|
-
S && console.log("[PageBuilder] Configurando Limbo con token server-side"),
|
|
2168
|
-
prod:
|
|
2166
|
+
const v = async () => d;
|
|
2167
|
+
S && console.log("[PageBuilder] Configurando Limbo con token server-side"), g.configure({
|
|
2168
|
+
prod: x,
|
|
2169
2169
|
authMode: "jwt",
|
|
2170
|
-
tokenProvider:
|
|
2170
|
+
tokenProvider: v,
|
|
2171
2171
|
modal: { size: "xlarge" }
|
|
2172
|
-
}),
|
|
2172
|
+
}), g.configureAutoInputs({
|
|
2173
2173
|
selector: ".js-limbo",
|
|
2174
2174
|
buttonText: "Seleccionar imagen",
|
|
2175
2175
|
returnType: "json",
|
|
@@ -2177,35 +2177,35 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
2177
2177
|
allowAdditionalCrops: !0,
|
|
2178
2178
|
maxCrops: 10,
|
|
2179
2179
|
localCropsOnly: !1,
|
|
2180
|
-
parseInputConfig: (
|
|
2180
|
+
parseInputConfig: (u) => {
|
|
2181
2181
|
const C = {};
|
|
2182
|
-
if (
|
|
2182
|
+
if (u.dataset.mandatorycrops)
|
|
2183
2183
|
try {
|
|
2184
|
-
C.mandatoryCrops = JSON.parse(
|
|
2184
|
+
C.mandatoryCrops = JSON.parse(u.dataset.mandatorycrops);
|
|
2185
2185
|
} catch {
|
|
2186
2186
|
}
|
|
2187
|
-
return
|
|
2187
|
+
return u.dataset.returntype && (C.returnType = u.dataset.returntype), u.dataset.modeui && (C.modeUI = u.dataset.modeui), u.dataset.allowadditionalcrops !== void 0 && (C.allowAdditionalCrops = u.dataset.allowadditionalcrops === "true"), u.dataset.maxcrops && (C.maxCrops = parseInt(u.dataset.maxcrops, 10)), u.dataset.buttontext && (C.buttonText = u.dataset.buttontext), C;
|
|
2188
2188
|
}
|
|
2189
|
-
}), S && console.log("[PageBuilder] Limbo inicializado correctamente"), window.LimboRescan = (
|
|
2190
|
-
const C = document.querySelectorAll(
|
|
2189
|
+
}), S && console.log("[PageBuilder] Limbo inicializado correctamente"), window.LimboRescan = (u = ".js-limbo") => {
|
|
2190
|
+
const C = document.querySelectorAll(u);
|
|
2191
2191
|
let M = 0;
|
|
2192
|
-
return C.forEach((
|
|
2193
|
-
if (
|
|
2192
|
+
return C.forEach((A) => {
|
|
2193
|
+
if (A.tagName === "INPUT" && !A.dataset.limboProcessed)
|
|
2194
2194
|
try {
|
|
2195
|
-
|
|
2195
|
+
g.autoInputs._processInput(A), A.dataset.limboProcessed = "true", M++;
|
|
2196
2196
|
} catch (E) {
|
|
2197
2197
|
console.error("[Limbo] Error procesando input:", E);
|
|
2198
2198
|
}
|
|
2199
2199
|
}), M;
|
|
2200
2200
|
}, setTimeout(() => {
|
|
2201
|
-
var
|
|
2202
|
-
return (
|
|
2201
|
+
var u;
|
|
2202
|
+
return (u = window.LimboRescan) == null ? void 0 : u.call(window);
|
|
2203
2203
|
}, 1e3), setTimeout(() => {
|
|
2204
|
-
var
|
|
2205
|
-
return (
|
|
2204
|
+
var u;
|
|
2205
|
+
return (u = window.LimboRescan) == null ? void 0 : u.call(window);
|
|
2206
2206
|
}, 2500);
|
|
2207
|
-
} catch (
|
|
2208
|
-
console.error("[PageBuilder] Error inicializando Limbo:",
|
|
2207
|
+
} catch (g) {
|
|
2208
|
+
console.error("[PageBuilder] Error inicializando Limbo:", g);
|
|
2209
2209
|
}
|
|
2210
2210
|
};
|
|
2211
2211
|
le(() => {
|
|
@@ -2213,192 +2213,192 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
2213
2213
|
});
|
|
2214
2214
|
const V = () => {
|
|
2215
2215
|
if (n.value = ["Header", "Footer", "Body", "Sidebar"], a.value = "Body", y) {
|
|
2216
|
-
const
|
|
2217
|
-
if (
|
|
2218
|
-
const
|
|
2219
|
-
if (
|
|
2216
|
+
const g = document.getElementById(y);
|
|
2217
|
+
if (g) {
|
|
2218
|
+
const v = g.value;
|
|
2219
|
+
if (v)
|
|
2220
2220
|
try {
|
|
2221
|
-
const
|
|
2222
|
-
(
|
|
2223
|
-
} catch (
|
|
2224
|
-
console.error("Error parsing input value:",
|
|
2221
|
+
const u = typeof v == "string" ? JSON.parse(v) : v;
|
|
2222
|
+
(u && typeof u == "object" && !Array.isArray(u) ? Object.keys(u).length > 0 : Array.isArray(u) ? u.length > 0 : !1) && de(v);
|
|
2223
|
+
} catch (u) {
|
|
2224
|
+
console.error("Error parsing input value:", u);
|
|
2225
2225
|
}
|
|
2226
2226
|
}
|
|
2227
2227
|
}
|
|
2228
2228
|
}, z = () => {
|
|
2229
|
-
|
|
2229
|
+
L.value = !L.value;
|
|
2230
2230
|
}, I = () => {
|
|
2231
|
-
|
|
2232
|
-
}, m = (
|
|
2231
|
+
c.value = !c.value;
|
|
2232
|
+
}, m = (g, v, u, C, M) => {
|
|
2233
2233
|
var E;
|
|
2234
|
-
const
|
|
2235
|
-
(E =
|
|
2236
|
-
padding:
|
|
2234
|
+
const A = r.find((R) => R.section === v);
|
|
2235
|
+
(E = A == null ? void 0 : A.rows) != null && E[g] && (A.rows[g].config = {
|
|
2236
|
+
padding: u,
|
|
2237
2237
|
gap: C,
|
|
2238
2238
|
width: M
|
|
2239
2239
|
});
|
|
2240
|
-
}, P = (
|
|
2240
|
+
}, P = (g, v, u, C, M, A) => {
|
|
2241
2241
|
var R, W, te;
|
|
2242
|
-
const E = r.find((ne) => ne.section ===
|
|
2243
|
-
(te = (W = (R = E == null ? void 0 : E.rows) == null ? void 0 : R[
|
|
2242
|
+
const E = r.find((ne) => ne.section === u);
|
|
2243
|
+
(te = (W = (R = E == null ? void 0 : E.rows) == null ? void 0 : R[g]) == null ? void 0 : W.columns) != null && te[v] && (E.rows[g].columns[v].config = {
|
|
2244
2244
|
width: C,
|
|
2245
2245
|
gap: M,
|
|
2246
|
-
flexDirection:
|
|
2246
|
+
flexDirection: A
|
|
2247
2247
|
});
|
|
2248
|
-
}, T = async (
|
|
2249
|
-
const
|
|
2250
|
-
if (
|
|
2248
|
+
}, T = async (g, v) => {
|
|
2249
|
+
const u = r.find((C) => C.section === v);
|
|
2250
|
+
if (u) {
|
|
2251
2251
|
const C = {
|
|
2252
2252
|
config: {},
|
|
2253
2253
|
columns: [{ config: {}, components: [] }]
|
|
2254
2254
|
};
|
|
2255
|
-
|
|
2255
|
+
g !== null && g >= 0 && g < u.rows.length ? u.rows.splice(g + 1, 0, C) : u.rows.push(C);
|
|
2256
2256
|
}
|
|
2257
2257
|
await new Promise((C) => {
|
|
2258
2258
|
setTimeout(() => {
|
|
2259
|
-
const M = document.getElementById(`row-${
|
|
2259
|
+
const M = document.getElementById(`row-${v}-${(g ?? 0) + 1}`);
|
|
2260
2260
|
M ? (M.scrollIntoView({ behavior: "smooth", block: "center" }), M.classList.add("selected-delay"), setTimeout(() => {
|
|
2261
2261
|
M.classList.remove("selected-delay"), C();
|
|
2262
2262
|
}, 3e3)) : C();
|
|
2263
2263
|
}, 0);
|
|
2264
2264
|
});
|
|
2265
|
-
}, J = (
|
|
2266
|
-
const
|
|
2267
|
-
!(
|
|
2268
|
-
}, q = (
|
|
2265
|
+
}, J = (g, v) => {
|
|
2266
|
+
const u = r.find((C) => C.section === v);
|
|
2267
|
+
!(u != null && u.rows) || u.rows.length <= 1 || u.rows.splice(g, 1);
|
|
2268
|
+
}, q = (g, v, u = "down") => {
|
|
2269
2269
|
var R;
|
|
2270
|
-
const C = r.find((W) => W.section ===
|
|
2271
|
-
if (!((R = C == null ? void 0 : C.rows) != null && R[
|
|
2270
|
+
const C = r.find((W) => W.section === v);
|
|
2271
|
+
if (!((R = C == null ? void 0 : C.rows) != null && R[g]) || u === "up" && g === 0 || u === "down" && g === C.rows.length - 1)
|
|
2272
2272
|
return;
|
|
2273
|
-
const M = C.rows,
|
|
2274
|
-
M.splice(E, 0,
|
|
2275
|
-
}, X = async (
|
|
2273
|
+
const M = C.rows, A = M.splice(g, 1)[0], E = u === "down" ? g + 1 : g - 1;
|
|
2274
|
+
M.splice(E, 0, A);
|
|
2275
|
+
}, X = async (g, v, u, C = "right") => {
|
|
2276
2276
|
var E;
|
|
2277
|
-
const M = C === "left" ?
|
|
2278
|
-
(E =
|
|
2277
|
+
const M = C === "left" ? v : v + 1, A = r.find((R) => R.section === u);
|
|
2278
|
+
(E = A == null ? void 0 : A.rows) != null && E[g] && A.rows[g].columns.splice(M, 0, {
|
|
2279
2279
|
config: {},
|
|
2280
2280
|
components: []
|
|
2281
2281
|
}), await new Promise((R) => {
|
|
2282
2282
|
setTimeout(() => {
|
|
2283
|
-
const W = document.getElementById(`col-${
|
|
2283
|
+
const W = document.getElementById(`col-${u}-${g}-${M}`);
|
|
2284
2284
|
W ? (W.scrollIntoView({ behavior: "smooth", block: "center" }), W.classList.add("selected-delay"), setTimeout(() => {
|
|
2285
2285
|
W.classList.remove("selected-delay"), R();
|
|
2286
2286
|
}, 3e3)) : R();
|
|
2287
2287
|
}, 0);
|
|
2288
2288
|
});
|
|
2289
|
-
}, ee = (
|
|
2290
|
-
var
|
|
2291
|
-
const C = r.find((R) => R.section ===
|
|
2292
|
-
!M || M.length <= 1 || M.splice(
|
|
2293
|
-
}, pe = (
|
|
2289
|
+
}, ee = (g, v, u) => {
|
|
2290
|
+
var A, E;
|
|
2291
|
+
const C = r.find((R) => R.section === u), M = (E = (A = C == null ? void 0 : C.rows) == null ? void 0 : A[g]) == null ? void 0 : E.columns;
|
|
2292
|
+
!M || M.length <= 1 || M.splice(v, 1);
|
|
2293
|
+
}, pe = (g, v, u, C = "right") => {
|
|
2294
2294
|
var W;
|
|
2295
|
-
const M = r.find((te) => te.section ===
|
|
2296
|
-
if (!((W = M == null ? void 0 : M.rows) != null && W[
|
|
2295
|
+
const M = r.find((te) => te.section === u);
|
|
2296
|
+
if (!((W = M == null ? void 0 : M.rows) != null && W[g]) || C === "left" && v === 0 || C === "right" && v === M.rows[g].columns.length - 1)
|
|
2297
2297
|
return;
|
|
2298
|
-
const
|
|
2299
|
-
|
|
2300
|
-
}, ve = (
|
|
2298
|
+
const A = M.rows[g].columns, E = A.splice(v, 1)[0], R = C === "right" ? v + 1 : v - 1;
|
|
2299
|
+
A.splice(R, 0, E);
|
|
2300
|
+
}, ve = (g, v) => {
|
|
2301
2301
|
var C;
|
|
2302
|
-
const
|
|
2303
|
-
(C =
|
|
2304
|
-
M.columns.forEach((
|
|
2305
|
-
const E =
|
|
2306
|
-
E !== -1 &&
|
|
2302
|
+
const u = r.find((M) => M.section === v);
|
|
2303
|
+
(C = u == null ? void 0 : u.rows) == null || C.forEach((M) => {
|
|
2304
|
+
M.columns.forEach((A) => {
|
|
2305
|
+
const E = A.components.indexOf(g);
|
|
2306
|
+
E !== -1 && A.components.splice(E, 1);
|
|
2307
2307
|
});
|
|
2308
2308
|
});
|
|
2309
|
-
}, xe = (
|
|
2309
|
+
}, xe = (g, v) => {
|
|
2310
2310
|
var C;
|
|
2311
|
-
const
|
|
2312
|
-
(C =
|
|
2313
|
-
M.columns.forEach((
|
|
2314
|
-
const E =
|
|
2311
|
+
const u = r.find((M) => M.section === v);
|
|
2312
|
+
(C = u == null ? void 0 : u.rows) == null || C.forEach((M) => {
|
|
2313
|
+
M.columns.forEach((A) => {
|
|
2314
|
+
const E = A.components.indexOf(g);
|
|
2315
2315
|
if (E !== -1) {
|
|
2316
|
-
const R = JSON.parse(JSON.stringify(
|
|
2317
|
-
R.id = Math.random().toString(36).substring(2, 15) + Date.now().toString(36),
|
|
2316
|
+
const R = JSON.parse(JSON.stringify(g));
|
|
2317
|
+
R.id = Math.random().toString(36).substring(2, 15) + Date.now().toString(36), A.components.splice(E + 1, 0, R);
|
|
2318
2318
|
}
|
|
2319
2319
|
});
|
|
2320
2320
|
});
|
|
2321
|
-
}, he = (
|
|
2322
|
-
h.value = !0, l.value = { rowIndex:
|
|
2323
|
-
}, ie = (
|
|
2324
|
-
var M,
|
|
2325
|
-
const { rowIndex:
|
|
2326
|
-
if (
|
|
2327
|
-
const W = JSON.parse(JSON.stringify(
|
|
2321
|
+
}, he = (g, v, u) => {
|
|
2322
|
+
h.value = !0, l.value = { rowIndex: g, columnIndex: v, section: u };
|
|
2323
|
+
}, ie = (g) => {
|
|
2324
|
+
var M, A, E, R;
|
|
2325
|
+
const { rowIndex: v, columnIndex: u, section: C } = l.value;
|
|
2326
|
+
if (v !== null && u !== null) {
|
|
2327
|
+
const W = JSON.parse(JSON.stringify(g));
|
|
2328
2328
|
W.id = Math.random().toString(36).substring(2, 15) + Date.now().toString(36);
|
|
2329
|
-
const te = r.find((we) => we.section === C), ne = (R = (E = (
|
|
2329
|
+
const te = r.find((we) => we.section === C), ne = (R = (E = (A = (M = te == null ? void 0 : te.rows) == null ? void 0 : M[v]) == null ? void 0 : A.columns) == null ? void 0 : E[u]) == null ? void 0 : R.components;
|
|
2330
2330
|
ne == null || ne.push(W);
|
|
2331
2331
|
}
|
|
2332
2332
|
h.value = !1;
|
|
2333
|
-
}, de = (
|
|
2334
|
-
const
|
|
2335
|
-
r.length = 0, r.push(...
|
|
2333
|
+
}, de = (g) => {
|
|
2334
|
+
const v = typeof g == "string" ? JSON.parse(g) : g;
|
|
2335
|
+
r.length = 0, r.push(...v.pageConfig || []), v.paramsConfig && (k.value = { ...k.value, ...v.paramsConfig });
|
|
2336
2336
|
};
|
|
2337
|
-
return (
|
|
2337
|
+
return (g, v) => (s(), i("div", ol, [
|
|
2338
2338
|
Y(gt, {
|
|
2339
2339
|
sectionSelected: a.value,
|
|
2340
|
-
"onUpdate:sectionSelected":
|
|
2340
|
+
"onUpdate:sectionSelected": v[0] || (v[0] = (u) => a.value = u),
|
|
2341
2341
|
parametersPageConfiguration: k.value,
|
|
2342
|
-
"onUpdate:parametersPageConfiguration":
|
|
2342
|
+
"onUpdate:parametersPageConfiguration": v[1] || (v[1] = (u) => k.value = u),
|
|
2343
2343
|
globalPageConfiguration: r,
|
|
2344
2344
|
availableSections: n.value,
|
|
2345
2345
|
importConfigurationFunction: de,
|
|
2346
|
-
isComponentMode:
|
|
2346
|
+
isComponentMode: L.value,
|
|
2347
2347
|
toggleComponentModeFunction: z,
|
|
2348
|
-
fullwidthMode:
|
|
2348
|
+
fullwidthMode: c.value,
|
|
2349
2349
|
toggleFullwidthMode: I,
|
|
2350
|
-
renderApiDomain: H(
|
|
2350
|
+
renderApiDomain: H(p),
|
|
2351
2351
|
inputId: H(y),
|
|
2352
2352
|
debugMode: H(S),
|
|
2353
2353
|
submitForm: H($)
|
|
2354
2354
|
}, null, 8, ["sectionSelected", "parametersPageConfiguration", "globalPageConfiguration", "availableSections", "isComponentMode", "fullwidthMode", "renderApiDomain", "inputId", "debugMode", "submitForm"]),
|
|
2355
2355
|
t("div", nl, [
|
|
2356
|
-
|
|
2356
|
+
c.value ? (s(), i("div", {
|
|
2357
2357
|
key: 0,
|
|
2358
2358
|
class: K(["w-full overflow-y-auto fixed top-0 left-0 h-full bg-gradient-to-br from-slate-100 via-white to-slate-50 z-9999 px-4 flex justify-start flex flex-col items-center backdrop-blur-sm", h.value ? "" : "hidden"])
|
|
2359
2359
|
}, [
|
|
2360
2360
|
t("div", ll, [
|
|
2361
2361
|
t("div", {
|
|
2362
2362
|
class: "cursor-pointer w-10 h-10 flex items-center justify-center rounded-full bg-white shadow-md hover:shadow-lg hover:bg-red-50 text-slate-400 hover:text-red-500 transition-all duration-200 text-xl font-light",
|
|
2363
|
-
onClick:
|
|
2363
|
+
onClick: v[2] || (v[2] = (u) => h.value = !1)
|
|
2364
2364
|
}, "✕")
|
|
2365
2365
|
]),
|
|
2366
2366
|
t("div", al, [
|
|
2367
2367
|
Y(ce, {
|
|
2368
|
-
renderApiDomain: H(
|
|
2369
|
-
isComponentMode:
|
|
2370
|
-
fullwidthMode:
|
|
2368
|
+
renderApiDomain: H(p),
|
|
2369
|
+
isComponentMode: L.value,
|
|
2370
|
+
fullwidthMode: c.value,
|
|
2371
2371
|
columnToInsert: l.value,
|
|
2372
2372
|
addComponentToColumn: ie,
|
|
2373
2373
|
toggleComponentModeFunction: z,
|
|
2374
|
-
isProduction: H(
|
|
2375
|
-
components:
|
|
2374
|
+
isProduction: H(x),
|
|
2375
|
+
components: B.value,
|
|
2376
2376
|
excludedCategories: b
|
|
2377
2377
|
}, null, 8, ["renderApiDomain", "isComponentMode", "fullwidthMode", "columnToInsert", "isProduction", "components"])
|
|
2378
2378
|
])
|
|
2379
2379
|
], 2)) : (s(), i("div", rl, [
|
|
2380
2380
|
Y(ce, {
|
|
2381
|
-
renderApiDomain: H(
|
|
2382
|
-
isComponentMode:
|
|
2383
|
-
fullwidthMode:
|
|
2381
|
+
renderApiDomain: H(p),
|
|
2382
|
+
isComponentMode: L.value,
|
|
2383
|
+
fullwidthMode: c.value,
|
|
2384
2384
|
columnToInsert: l.value,
|
|
2385
2385
|
addComponentToColumn: ie,
|
|
2386
2386
|
toggleComponentModeFunction: z,
|
|
2387
|
-
isProduction: H(
|
|
2388
|
-
components:
|
|
2387
|
+
isProduction: H(x),
|
|
2388
|
+
components: B.value,
|
|
2389
2389
|
excludedCategories: b
|
|
2390
2390
|
}, null, 8, ["renderApiDomain", "isComponentMode", "fullwidthMode", "columnToInsert", "isProduction", "components"])
|
|
2391
2391
|
])),
|
|
2392
2392
|
t("div", {
|
|
2393
|
-
class: K([
|
|
2393
|
+
class: K([c.value ? "w-full px-4" : "w-3/4 ps-3", "flex flex-col gap-5"])
|
|
2394
2394
|
}, [
|
|
2395
2395
|
Y(Hn, {
|
|
2396
2396
|
globalPageConfiguration: r,
|
|
2397
|
-
isComponentMode:
|
|
2397
|
+
isComponentMode: L.value,
|
|
2398
2398
|
removeComponent: ve,
|
|
2399
2399
|
cloneComponent: xe,
|
|
2400
2400
|
addComponentFunction: he,
|
|
2401
|
-
fullwidthMode:
|
|
2401
|
+
fullwidthMode: c.value,
|
|
2402
2402
|
addCol: X,
|
|
2403
2403
|
addRow: T,
|
|
2404
2404
|
removeRow: J,
|
|
@@ -2408,8 +2408,8 @@ const gt = /* @__PURE__ */ je(Fe, [["render", bt]]), ft = {
|
|
|
2408
2408
|
updateColConfig: P,
|
|
2409
2409
|
moveRow: q,
|
|
2410
2410
|
sectionSelected: a.value,
|
|
2411
|
-
renderApiDomain: H(
|
|
2412
|
-
isProduction: H(
|
|
2411
|
+
renderApiDomain: H(p),
|
|
2412
|
+
isProduction: H(x)
|
|
2413
2413
|
}, null, 8, ["globalPageConfiguration", "isComponentMode", "fullwidthMode", "sectionSelected", "renderApiDomain", "isProduction"])
|
|
2414
2414
|
], 2)
|
|
2415
2415
|
])
|
|
@@ -2426,6 +2426,6 @@ export {
|
|
|
2426
2426
|
fe as InitialComponent,
|
|
2427
2427
|
cl as Pagebuilder,
|
|
2428
2428
|
qn as RowConfig,
|
|
2429
|
-
|
|
2429
|
+
Lt as SourceFilter,
|
|
2430
2430
|
cl as default
|
|
2431
2431
|
};
|