@craftile/editor 0.7.1 → 0.7.2
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.js +172 -172
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('/*! tailwindcss v4.1.13 | 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)))){.__craftile *,.__craftile :before,.__craftile :after,.__craftile ::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-font-weight: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-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-duration:initial;--tw-ease:initial}}}@layer theme{.__craftile,.__craftile :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-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--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-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-green-800:oklch(44.8% .119 151.328);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-slate-400:oklch(70.4% .04 256.788);--color-gray-50:var(--color-gray-50,oklch(98.5% 0 0));--color-gray-100:var(--color-gray-100,oklch(96.7% .001 286.375));--color-gray-200:var(--color-gray-200,oklch(92% .004 286.32));--color-gray-300:var(--color-gray-300,oklch(87.1% .006 286.286));--color-gray-400:var(--color-gray-400,oklch(70.5% .015 286.067));--color-gray-500:var(--color-gray-500,oklch(55.2% .016 285.938));--color-gray-600:var(--color-gray-600,oklch(44.2% .017 285.786));--color-gray-700:var(--color-gray-700,oklch(37% .013 285.805));--color-gray-800:var(--color-gray-800,oklch(37% .013 285.805));--color-gray-900:var(--color-gray-900,oklch(37% .013 285.805));--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--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);--font-weight-medium:500;--font-weight-semibold:600;--radius-xs:.125rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--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);--color-primary:var(--color-primary,oklch(14.7% .004 49.25));--color-primary-foreground:var(--color-primary-foreground,oklch(98.5% 0 0));--color-secondary:var(--color-secondary,oklch(92% .004 286.32));--color-secondary-foreground:var(--color-secondary-foreground,oklch(37% .013 285.805));--color-accent:var(--color-accent,oklch(54.6% .245 262.881));--color-accent-foreground:var(--color-accent-foreground,oklch(93.2% .032 255.585));--animate-enter:enter .1s ease-out;--animate-exit:exit .1s ease-out}}@layer base{.__craftile *,.__craftile :after,.__craftile :before,.__craftile ::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}.__craftile ::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}.__craftile,.__craftile :host{-webkit-text-size-adjust:100%;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}.__craftile hr{height:0;color:inherit;border-top-width:1px}.__craftile abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.__craftile h1,.__craftile h2,.__craftile h3,.__craftile h4,.__craftile h5,.__craftile h6{font-size:inherit;font-weight:inherit}.__craftile a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}.__craftile b,.__craftile strong{font-weight:bolder}.__craftile code,.__craftile kbd,.__craftile samp,.__craftile 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}.__craftile small{font-size:80%}.__craftile sub,.__craftile sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}.__craftile sub{bottom:-.25em}.__craftile sup{top:-.5em}.__craftile table{text-indent:0;border-color:inherit;border-collapse:collapse}.__craftile :-moz-focusring{outline:auto}.__craftile progress{vertical-align:baseline}.__craftile summary{display:list-item}.__craftile ol,.__craftile ul,.__craftile menu{list-style:none}.__craftile img,.__craftile svg,.__craftile video,.__craftile canvas,.__craftile audio,.__craftile iframe,.__craftile embed,.__craftile object{vertical-align:middle;display:block}.__craftile img,.__craftile video{max-width:100%;height:auto}.__craftile button,.__craftile input,.__craftile select,.__craftile optgroup,.__craftile textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}.__craftile ::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}.__craftile :where(select:is([multiple],[size])) optgroup{font-weight:bolder}.__craftile :where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}.__craftile ::file-selector-button{margin-inline-end:4px}.__craftile ::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){.__craftile ::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){.__craftile ::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}.__craftile textarea{resize:vertical}.__craftile ::-webkit-search-decoration{-webkit-appearance:none}.__craftile ::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}.__craftile ::-webkit-datetime-edit{display:inline-flex}.__craftile ::-webkit-datetime-edit-fields-wrapper{padding:0}.__craftile ::-webkit-datetime-edit{padding-block:0}.__craftile ::-webkit-datetime-edit-year-field{padding-block:0}.__craftile ::-webkit-datetime-edit-month-field{padding-block:0}.__craftile ::-webkit-datetime-edit-day-field{padding-block:0}.__craftile ::-webkit-datetime-edit-hour-field{padding-block:0}.__craftile ::-webkit-datetime-edit-minute-field{padding-block:0}.__craftile ::-webkit-datetime-edit-second-field{padding-block:0}.__craftile ::-webkit-datetime-edit-millisecond-field{padding-block:0}.__craftile ::-webkit-datetime-edit-meridiem-field{padding-block:0}.__craftile ::-webkit-calendar-picker-indicator{line-height:1}.__craftile :-moz-ui-invalid{box-shadow:none}.__craftile button,.__craftile input:where([type=button],[type=reset],[type=submit]){appearance:button}.__craftile ::file-selector-button{appearance:button}.__craftile ::-webkit-inner-spin-button{height:auto}.__craftile ::-webkit-outer-spin-button{height:auto}.__craftile [hidden]:where(:not([hidden=until-found])){display:none!important}.__craftile *,.__craftile :after,.__craftile :before,.__craftile ::backdrop{border-color:var(--color-gray-200,oklch(92% .004 286.32))}.__craftile ::file-selector-button{border-color:var(--color-gray-200,oklch(92% .004 286.32))}}@layer components{.__craftile .ghost-block{border-radius:var(--radius-md);border-style:var(--tw-border-style);--tw-border-style:dashed;border-style:dashed;border-width:2px;border-color:var(--color-accent,oklch(54.6% .245 262.881))}@supports (color:color-mix(in lab,red,red)){.__craftile .ghost-block{border-color:color-mix(in oklab,var(--color-accent,oklch(54.6% .245 262.881))80%,transparent)}}.__craftile .ghost-block{background-color:var(--color-accent,oklch(54.6% .245 262.881))}@supports (color:color-mix(in lab,red,red)){.__craftile .ghost-block{background-color:color-mix(in oklab,var(--color-accent,oklch(54.6% .245 262.881))20%,transparent)}}.__craftile .ghost-block{opacity:.3}.__craftile .property-field-enter-active,.__craftile .property-field-leave-active{transition:all .2s;overflow:hidden}.__craftile .property-field-enter-from,.__craftile .property-field-leave-to{opacity:0;max-height:0}.__craftile .property-field-enter-to,.__craftile .property-field-leave-from{opacity:1;max-height:200px}}@layer utilities{.__craftile .pointer-events-auto{pointer-events:auto}.__craftile .pointer-events-none{pointer-events:none}.__craftile .invisible{visibility:hidden}.__craftile .visible{visibility:visible}.__craftile .sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.__craftile .absolute{position:absolute}.__craftile .fixed{position:fixed}.__craftile .relative{position:relative}.__craftile .static{position:static}.__craftile .inset-0{inset:calc(var(--spacing)*0)}.__craftile .-top-2{top:calc(var(--spacing)*-2)}.__craftile .-top-\\[18\\.5px\\]{top:-18.5px}.__craftile .-top-\\[19px\\]{top:-19px}.__craftile .top-0{top:calc(var(--spacing)*0)}.__craftile .top-1\\/2{top:50%}.__craftile .top-4{top:calc(var(--spacing)*4)}.__craftile .-right-2{right:calc(var(--spacing)*-2)}.__craftile .right-0{right:calc(var(--spacing)*0)}.__craftile .right-4{right:calc(var(--spacing)*4)}.__craftile .-bottom-2{bottom:calc(var(--spacing)*-2)}.__craftile .-left-2{left:calc(var(--spacing)*-2)}.__craftile .-left-\\[1px\\]{left:-1px}.__craftile .left-0{left:calc(var(--spacing)*0)}.__craftile .left-1\\/2{left:50%}.__craftile .\\!z-\\[1100\\]{z-index:1100!important}.__craftile .z-5{z-index:5}.__craftile .z-10{z-index:10}.__craftile .z-50{z-index:50}.__craftile .z-\\[1000\\]{z-index:1000}.__craftile .container{width:100%}@media (min-width:40rem){.__craftile .container{max-width:40rem}}@media (min-width:48rem){.__craftile .container{max-width:48rem}}@media (min-width:64rem){.__craftile .container{max-width:64rem}}@media (min-width:80rem){.__craftile .container{max-width:80rem}}@media (min-width:96rem){.__craftile .container{max-width:96rem}}.__craftile .m-0{margin:calc(var(--spacing)*0)}.__craftile .mx-0{margin-inline:calc(var(--spacing)*0)}.__craftile .mx-2{margin-inline:calc(var(--spacing)*2)}.__craftile .mx-auto{margin-inline:auto}.__craftile .my-1{margin-block:calc(var(--spacing)*1)}.__craftile .my-2{margin-block:calc(var(--spacing)*2)}.__craftile .mt-0{margin-top:calc(var(--spacing)*0)}.__craftile .mt-1{margin-top:calc(var(--spacing)*1)}.__craftile .mt-2{margin-top:calc(var(--spacing)*2)}.__craftile .mt-3{margin-top:calc(var(--spacing)*3)}.__craftile .mt-4{margin-top:calc(var(--spacing)*4)}.__craftile .mr-0\\.5{margin-right:calc(var(--spacing)*.5)}.__craftile .mr-1{margin-right:calc(var(--spacing)*1)}.__craftile .mb-1{margin-bottom:calc(var(--spacing)*1)}.__craftile .mb-2{margin-bottom:calc(var(--spacing)*2)}.__craftile .mb-3{margin-bottom:calc(var(--spacing)*3)}.__craftile .mb-4{margin-bottom:calc(var(--spacing)*4)}.__craftile .ml-3{margin-left:calc(var(--spacing)*3)}.__craftile .ml-auto{margin-left:auto}.__craftile .box-border{box-sizing:border-box}.__craftile .block{display:block}.__craftile .flex{display:flex}.__craftile .grid{display:grid}.__craftile .hidden{display:none}.__craftile .inline-flex{display:inline-flex}.__craftile .aspect-square{aspect-ratio:1}.__craftile .size-1\\.5{width:calc(var(--spacing)*1.5);height:calc(var(--spacing)*1.5)}.__craftile .h-1\\.5{height:calc(var(--spacing)*1.5)}.__craftile .h-3{height:calc(var(--spacing)*3)}.__craftile .h-3\\.5{height:calc(var(--spacing)*3.5)}.__craftile .h-4{height:calc(var(--spacing)*4)}.__craftile .h-5{height:calc(var(--spacing)*5)}.__craftile .h-6{height:calc(var(--spacing)*6)}.__craftile .h-8{height:calc(var(--spacing)*8)}.__craftile .h-10{height:calc(var(--spacing)*10)}.__craftile .h-12{height:calc(var(--spacing)*12)}.__craftile .h-14{height:calc(var(--spacing)*14)}.__craftile .h-16{height:calc(var(--spacing)*16)}.__craftile .h-\\[2px\\]{height:2px}.__craftile .h-\\[520px\\]{height:520px}.__craftile .h-full{height:100%}.__craftile .h-px{height:1px}.__craftile .max-h-\\[90vh\\]{max-height:90vh}.__craftile .max-h-\\[calc\\(100vh-2rem\\)\\]{max-height:calc(100vh - 2rem)}.__craftile .w-0{width:calc(var(--spacing)*0)}.__craftile .w-3{width:calc(var(--spacing)*3)}.__craftile .w-3\\.5{width:calc(var(--spacing)*3.5)}.__craftile .w-4{width:calc(var(--spacing)*4)}.__craftile .w-5{width:calc(var(--spacing)*5)}.__craftile .w-6{width:calc(var(--spacing)*6)}.__craftile .w-8{width:calc(var(--spacing)*8)}.__craftile .w-10{width:calc(var(--spacing)*10)}.__craftile .w-12{width:calc(var(--spacing)*12)}.__craftile .w-14{width:calc(var(--spacing)*14)}.__craftile .w-16{width:calc(var(--spacing)*16)}.__craftile .w-60{width:calc(var(--spacing)*60)}.__craftile .w-72{width:calc(var(--spacing)*72)}.__craftile .w-75{width:calc(var(--spacing)*75)}.__craftile .w-\\[640px\\]{width:640px}.__craftile .w-full{width:100%}.__craftile .w-max{width:max-content}.__craftile .max-w-2xl{max-width:var(--container-2xl)}.__craftile .max-w-\\[120px\\]{max-width:120px}.__craftile .max-w-\\[calc\\(100vw-2rem\\)\\]{max-width:calc(100vw - 2rem)}.__craftile .max-w-lg{max-width:var(--container-lg)}.__craftile .max-w-md{max-width:var(--container-md)}.__craftile .max-w-sm{max-width:var(--container-sm)}.__craftile .max-w-xl{max-width:var(--container-xl)}.__craftile .max-w-xs{max-width:var(--container-xs)}.__craftile .min-w-0{min-width:calc(var(--spacing)*0)}.__craftile .min-w-96{min-width:calc(var(--spacing)*96)}.__craftile .min-w-\\[160px\\]{min-width:160px}.__craftile .min-w-\\[180px\\]{min-width:180px}.__craftile .flex-1{flex:1}.__craftile .flex-none{flex:none}.__craftile .shrink-0{flex-shrink:0}.__craftile .-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.__craftile .-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.__craftile .rotate-45{rotate:45deg}.__craftile .rotate-90{rotate:90deg}.__craftile .rotate-180{rotate:180deg}.__craftile .transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.__craftile .animate-spin{animation:var(--animate-spin)}.__craftile .cursor-grab{cursor:grab}.__craftile .cursor-pointer{cursor:pointer}.__craftile .resize{resize:both}.__craftile .flex-col{flex-direction:column}.__craftile .flex-wrap{flex-wrap:wrap}.__craftile .items-center{align-items:center}.__craftile .items-start{align-items:flex-start}.__craftile .justify-between{justify-content:space-between}.__craftile .justify-center{justify-content:center}.__craftile .justify-end{justify-content:flex-end}.__craftile .gap-0\\.5{gap:calc(var(--spacing)*.5)}.__craftile .gap-1{gap:calc(var(--spacing)*1)}.__craftile .gap-1\\.5{gap:calc(var(--spacing)*1.5)}.__craftile .gap-2{gap:calc(var(--spacing)*2)}.__craftile .gap-3{gap:calc(var(--spacing)*3)}.__craftile .gap-4{gap:calc(var(--spacing)*4)}.__craftile :where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}.__craftile :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)))}.__craftile .truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.__craftile .overflow-auto{overflow:auto}.__craftile .overflow-hidden{overflow:hidden}.__craftile .overflow-y-auto{overflow-y:auto}.__craftile .overflow-y-hidden{overflow-y:hidden}.__craftile .rounded{border-radius:.25rem}.__craftile .rounded-full{border-radius:3.40282e38px}.__craftile .rounded-lg{border-radius:var(--radius-lg)}.__craftile .rounded-md{border-radius:var(--radius-md)}.__craftile .rounded-xs{border-radius:var(--radius-xs)}.__craftile .rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.__craftile .border{border-style:var(--tw-border-style);border-width:1px}.__craftile .border-0{border-style:var(--tw-border-style);border-width:0}.__craftile .border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.__craftile .border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.__craftile .border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.__craftile .border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.__craftile .border-dashed{--tw-border-style:dashed;border-style:dashed}.__craftile .border-solid{--tw-border-style:solid;border-style:solid}.__craftile .border-\\[none\\]{border-color:none}.__craftile .border-amber-200{border-color:var(--color-amber-200)}.__craftile .border-amber-300{border-color:var(--color-amber-300)}.__craftile .border-blue-200{border-color:var(--color-blue-200)}.__craftile .border-blue-300{border-color:var(--color-blue-300)}.__craftile .border-blue-500{border-color:var(--color-blue-500)}.__craftile .border-gray-100{border-color:var(--color-gray-100,oklch(96.7% .001 286.375))}.__craftile .border-gray-200{border-color:var(--color-gray-200,oklch(92% .004 286.32))}.__craftile .border-gray-300,.__craftile .border-gray-300\\/60{border-color:var(--color-gray-300,oklch(87.1% .006 286.286))}@supports (color:color-mix(in lab,red,red)){.__craftile .border-gray-300\\/60{border-color:color-mix(in oklab,var(--color-gray-300,oklch(87.1% .006 286.286))60%,transparent)}}.__craftile .border-red-200{border-color:var(--color-red-200)}.__craftile .border-red-300{border-color:var(--color-red-300)}.__craftile .border-slate-400{border-color:var(--color-slate-400)}.__craftile .border-white\\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.__craftile .border-white\\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.__craftile .bg-accent{background-color:var(--color-accent,oklch(54.6% .245 262.881))}.__craftile .bg-accent-foreground{background-color:var(--color-accent-foreground,oklch(93.2% .032 255.585))}.__craftile .bg-accent\\/8{background-color:var(--color-accent,oklch(54.6% .245 262.881))}@supports (color:color-mix(in lab,red,red)){.__craftile .bg-accent\\/8{background-color:color-mix(in oklab,var(--color-accent,oklch(54.6% .245 262.881))8%,transparent)}}.__craftile .bg-accent\\/70{background-color:var(--color-accent,oklch(54.6% .245 262.881))}@supports (color:color-mix(in lab,red,red)){.__craftile .bg-accent\\/70{background-color:color-mix(in oklab,var(--color-accent,oklch(54.6% .245 262.881))70%,transparent)}}.__craftile .bg-amber-50{background-color:var(--color-amber-50)}.__craftile .bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.__craftile .bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.__craftile .bg-blue-50{background-color:var(--color-blue-50)}.__craftile .bg-blue-500{background-color:var(--color-blue-500)}.__craftile .bg-blue-500\\/5{background-color:#3080ff0d}@supports (color:color-mix(in lab,red,red)){.__craftile .bg-blue-500\\/5{background-color:color-mix(in oklab,var(--color-blue-500)5%,transparent)}}.__craftile .bg-blue-500\\/90{background-color:#3080ffe6}@supports (color:color-mix(in lab,red,red)){.__craftile .bg-blue-500\\/90{background-color:color-mix(in oklab,var(--color-blue-500)90%,transparent)}}.__craftile .bg-blue-500\\/95{background-color:#3080fff2}@supports (color:color-mix(in lab,red,red)){.__craftile .bg-blue-500\\/95{background-color:color-mix(in oklab,var(--color-blue-500)95%,transparent)}}.__craftile .bg-gray-50{background-color:var(--color-gray-50,oklch(98.5% 0 0))}.__craftile .bg-gray-100{background-color:var(--color-gray-100,oklch(96.7% .001 286.375))}.__craftile .bg-gray-200{background-color:var(--color-gray-200,oklch(92% .004 286.32))}.__craftile .bg-gray-800{background-color:var(--color-gray-800,oklch(37% .013 285.805))}.__craftile .bg-green-800{background-color:var(--color-green-800)}.__craftile .bg-primary{background-color:var(--color-primary,oklch(14.7% .004 49.25))}.__craftile .bg-red-50{background-color:var(--color-red-50)}.__craftile .bg-red-600{background-color:var(--color-red-600)}.__craftile .bg-secondary{background-color:var(--color-secondary,oklch(92% .004 286.32))}.__craftile .bg-transparent{background-color:#0000}.__craftile .bg-white{background-color:var(--color-white)}.__craftile .fill-current{fill:currentColor}.__craftile .object-contain{object-fit:contain}.__craftile .p-0{padding:calc(var(--spacing)*0)}.__craftile .p-0\\.5{padding:calc(var(--spacing)*.5)}.__craftile .p-1{padding:calc(var(--spacing)*1)}.__craftile .p-1\\.5{padding:calc(var(--spacing)*1.5)}.__craftile .p-2{padding:calc(var(--spacing)*2)}.__craftile .p-3{padding:calc(var(--spacing)*3)}.__craftile .p-4{padding:calc(var(--spacing)*4)}.__craftile .p-6{padding:calc(var(--spacing)*6)}.__craftile .p-\\[2px\\]{padding:2px}.__craftile .px-1{padding-inline:calc(var(--spacing)*1)}.__craftile .px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.__craftile .px-2{padding-inline:calc(var(--spacing)*2)}.__craftile .px-3{padding-inline:calc(var(--spacing)*3)}.__craftile .px-4{padding-inline:calc(var(--spacing)*4)}.__craftile .px-6{padding-inline:calc(var(--spacing)*6)}.__craftile .py-0\\.5{padding-block:calc(var(--spacing)*.5)}.__craftile .py-1{padding-block:calc(var(--spacing)*1)}.__craftile .py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.__craftile .py-2{padding-block:calc(var(--spacing)*2)}.__craftile .py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.__craftile .py-3{padding-block:calc(var(--spacing)*3)}.__craftile .py-4{padding-block:calc(var(--spacing)*4)}.__craftile .py-8{padding-block:calc(var(--spacing)*8)}.__craftile .pb-1{padding-bottom:calc(var(--spacing)*1)}.__craftile .text-center{text-align:center}.__craftile .text-left{text-align:left}.__craftile .font-mono{font-family:var(--font-mono)}.__craftile .text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.__craftile .text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.__craftile .text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.__craftile .text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.__craftile .text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.__craftile .text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.__craftile .text-\\[0\\.6rem\\],.__craftile .text-\\[0\\.60rem\\]{font-size:.6rem}.__craftile .text-\\[13px\\]{font-size:13px}.__craftile .font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.__craftile .font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.__craftile .text-ellipsis{text-overflow:ellipsis}.__craftile .whitespace-nowrap{white-space:nowrap}.__craftile .text-accent{color:var(--color-accent,oklch(54.6% .245 262.881))}.__craftile .text-accent\\!{color:var(--color-accent,oklch(54.6% .245 262.881))!important}.__craftile .text-accent-foreground{color:var(--color-accent-foreground,oklch(93.2% .032 255.585))}.__craftile .text-accent\\/90{color:var(--color-accent,oklch(54.6% .245 262.881))}@supports (color:color-mix(in lab,red,red)){.__craftile .text-accent\\/90{color:color-mix(in oklab,var(--color-accent,oklch(54.6% .245 262.881))90%,transparent)}}.__craftile .text-amber-700{color:var(--color-amber-700)}.__craftile .text-amber-800{color:var(--color-amber-800)}.__craftile .text-blue-700{color:var(--color-blue-700)}.__craftile .text-blue-800{color:var(--color-blue-800)}.__craftile .text-gray-400{color:var(--color-gray-400,oklch(70.5% .015 286.067))}.__craftile .text-gray-500{color:var(--color-gray-500,oklch(55.2% .016 285.938))}.__craftile .text-gray-600{color:var(--color-gray-600,oklch(44.2% .017 285.786))}.__craftile .text-gray-700{color:var(--color-gray-700,oklch(37% .013 285.805))}.__craftile .text-gray-800{color:var(--color-gray-800,oklch(37% .013 285.805))}.__craftile .text-gray-900{color:var(--color-gray-900,oklch(37% .013 285.805))}.__craftile .text-primary-foreground{color:var(--color-primary-foreground,oklch(98.5% 0 0))}.__craftile .text-red-600{color:var(--color-red-600)}.__craftile .text-red-700{color:var(--color-red-700)}.__craftile .text-red-800{color:var(--color-red-800)}.__craftile .text-secondary-foreground{color:var(--color-secondary-foreground,oklch(37% .013 285.805))}.__craftile .text-white{color:var(--color-white)}.__craftile .capitalize{text-transform:capitalize}.__craftile .italic{font-style:italic}.__craftile .opacity-0{opacity:0}.__craftile .opacity-25{opacity:.25}.__craftile .opacity-70{opacity:.7}.__craftile .opacity-75{opacity:.75}.__craftile .opacity-80{opacity:.8}.__craftile .opacity-90{opacity:.9}.__craftile .opacity-100{opacity:1}.__craftile .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)}.__craftile .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)}.__craftile .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)}.__craftile .shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px 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)}.__craftile .shadow-xs{--tw-shadow:0 1px 2px 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)}.__craftile .ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + 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)}.__craftile .shadow-black\\/25{--tw-shadow-color:#00000040}@supports (color:color-mix(in lab,red,red)){.__craftile .shadow-black\\/25{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-black)25%,transparent)var(--tw-shadow-alpha),transparent)}}.__craftile .ring-white\\/10{--tw-ring-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.__craftile .ring-white\\/10{--tw-ring-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.__craftile .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,)}.__craftile .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))}.__craftile .transition-\\[background\\]{transition-property:background;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.__craftile .transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.__craftile .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))}.__craftile .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))}.__craftile .transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.__craftile .transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.__craftile .duration-100{--tw-duration:.1s;transition-duration:.1s}.__craftile .duration-200{--tw-duration:.2s;transition-duration:.2s}.__craftile .duration-300{--tw-duration:.3s;transition-duration:.3s}.__craftile .duration-\\[0\\.2s\\]{--tw-duration:.2s;transition-duration:.2s}.__craftile .ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.__craftile .not-last\\:border-b:not(:last-child){border-bottom-style:var(--tw-border-style);border-bottom-width:1px}@media (hover:hover){.__craftile .group-hover\\:flex:is(:where(.group):hover *){display:flex}.__craftile .group-hover\\:w-full:is(:where(.group):hover *){width:100%}.__craftile .group-hover\\:opacity-0:is(:where(.group):hover *){opacity:0}.__craftile .group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.__craftile .last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.__craftile .hover\\:bg-accent-foreground:hover{background-color:var(--color-accent-foreground,oklch(93.2% .032 255.585))}.__craftile .hover\\:bg-accent\\/90:hover{background-color:var(--color-accent,oklch(54.6% .245 262.881))}@supports (color:color-mix(in lab,red,red)){.__craftile .hover\\:bg-accent\\/90:hover{background-color:color-mix(in oklab,var(--color-accent,oklch(54.6% .245 262.881))90%,transparent)}}.__craftile .hover\\:bg-amber-100:hover{background-color:var(--color-amber-100)}.__craftile .hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.__craftile .hover\\:bg-blue-500:hover{background-color:var(--color-blue-500)}.__craftile .hover\\:bg-gray-50:hover{background-color:var(--color-gray-50,oklch(98.5% 0 0))}.__craftile .hover\\:bg-gray-100:hover{background-color:var(--color-gray-100,oklch(96.7% .001 286.375))}.__craftile .hover\\:bg-gray-200:hover{background-color:var(--color-gray-200,oklch(92% .004 286.32))}.__craftile .hover\\:bg-primary\\/90:hover{background-color:var(--color-primary,oklch(14.7% .004 49.25))}@supports (color:color-mix(in lab,red,red)){.__craftile .hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab,var(--color-primary,oklch(14.7% .004 49.25))90%,transparent)}}.__craftile .hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.__craftile .hover\\:bg-red-100:hover{background-color:var(--color-red-100)}.__craftile .hover\\:bg-red-700:hover{background-color:var(--color-red-700)}.__craftile .hover\\:bg-secondary\\/90:hover{background-color:var(--color-secondary,oklch(92% .004 286.32))}@supports (color:color-mix(in lab,red,red)){.__craftile .hover\\:bg-secondary\\/90:hover{background-color:color-mix(in oklab,var(--color-secondary,oklch(92% .004 286.32))90%,transparent)}}.__craftile .hover\\:text-accent:hover{color:var(--color-accent,oklch(54.6% .245 262.881))}.__craftile .hover\\:text-gray-600:hover{color:var(--color-gray-600,oklch(44.2% .017 285.786))}.__craftile .hover\\:text-gray-700:hover{color:var(--color-gray-700,oklch(37% .013 285.805))}.__craftile .hover\\:text-red-600:hover{color:var(--color-red-600)}.__craftile .hover\\:opacity-100:hover{opacity:1}.__craftile .hover\\:ring-2:hover{--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)}.__craftile .hover\\:ring-accent\\/40:hover{--tw-ring-color:var(--color-accent,oklch(54.6% .245 262.881))}@supports (color:color-mix(in lab,red,red)){.__craftile .hover\\:ring-accent\\/40:hover{--tw-ring-color:color-mix(in oklab,var(--color-accent,oklch(54.6% .245 262.881))40%,transparent)}}}.__craftile .focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + 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)}.__craftile .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)}.__craftile .focus\\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.__craftile .focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.__craftile .focus-visible\\:border-transparent:focus-visible{border-color:#0000}.__craftile .focus-visible\\:ring-2:focus-visible{--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)}.__craftile .focus-visible\\:ring-accent:focus-visible{--tw-ring-color:var(--color-accent,oklch(54.6% .245 262.881))}.__craftile .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.__craftile .focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.__craftile .active\\:cursor-grabbing:active{cursor:grabbing}@media (hover:hover){.__craftile .hover\\:enabled\\:bg-gray-500:hover:enabled{background-color:var(--color-gray-500,oklch(55.2% .016 285.938))}.__craftile .hover\\:enabled\\:bg-red-800:hover:enabled{background-color:var(--color-red-800)}.__craftile .hover\\:enabled\\:text-gray-100:hover:enabled{color:var(--color-gray-100,oklch(96.7% .001 286.375))}.__craftile .hover\\:enabled\\:text-red-200:hover:enabled{color:var(--color-red-200)}}.__craftile .active\\:enabled\\:bg-gray-600:active:enabled{background-color:var(--color-gray-600,oklch(44.2% .017 285.786))}.__craftile .disabled\\:pointer-events-none:disabled{pointer-events:none}.__craftile .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.__craftile .disabled\\:text-gray-600:disabled{color:var(--color-gray-600,oklch(44.2% .017 285.786))}.__craftile .disabled\\:opacity-50:disabled{opacity:.5}.__craftile .data-selected\\:border[data-selected]{border-style:var(--tw-border-style);border-width:1px}.__craftile .data-selected\\:border-b-2[data-selected]{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.__craftile .data-selected\\:border-accent[data-selected],.__craftile .data-selected\\:border-accent\\/20[data-selected]{border-color:var(--color-accent,oklch(54.6% .245 262.881))}@supports (color:color-mix(in lab,red,red)){.__craftile .data-selected\\:border-accent\\/20[data-selected]{border-color:color-mix(in oklab,var(--color-accent,oklch(54.6% .245 262.881))20%,transparent)}}.__craftile .data-selected\\:bg-accent\\/10[data-selected]{background-color:var(--color-accent,oklch(54.6% .245 262.881))}@supports (color:color-mix(in lab,red,red)){.__craftile .data-selected\\:bg-accent\\/10[data-selected]{background-color:color-mix(in oklab,var(--color-accent,oklch(54.6% .245 262.881))10%,transparent)}}.__craftile .data-selected\\:bg-white[data-selected]{background-color:var(--color-white)}.__craftile .data-selected\\:text-accent[data-selected]{color:var(--color-accent,oklch(54.6% .245 262.881))}.__craftile .data-selected\\:shadow[data-selected]{--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)}@media (hover:hover){.__craftile .data-selected\\:hover\\:bg-accent\\/10[data-selected]:hover{background-color:var(--color-accent,oklch(54.6% .245 262.881))}@supports (color:color-mix(in lab,red,red)){.__craftile .data-selected\\:hover\\:bg-accent\\/10[data-selected]:hover{background-color:color-mix(in oklab,var(--color-accent,oklch(54.6% .245 262.881))10%,transparent)}}}.__craftile .data-\\[disabled\\]\\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.__craftile .data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.__craftile .data-\\[state\\=checked\\]\\:bg-accent\\/10[data-state=checked]{background-color:var(--color-accent,oklch(54.6% .245 262.881))}@supports (color:color-mix(in lab,red,red)){.__craftile .data-\\[state\\=checked\\]\\:bg-accent\\/10[data-state=checked]{background-color:color-mix(in oklab,var(--color-accent,oklch(54.6% .245 262.881))10%,transparent)}}.__craftile .data-\\[state\\=checked\\]\\:text-accent[data-state=checked]{color:var(--color-accent,oklch(54.6% .245 262.881))}.__craftile .data-\\[state\\=closed\\]\\:animate-exit[data-state=closed]{animation:var(--animate-exit)}.__craftile .data-\\[state\\=open\\]\\:rotate-180[data-state=open]{rotate:180deg}.__craftile .data-\\[state\\=open\\]\\:animate-enter[data-state=open]{animation:var(--animate-enter)}.__craftile .\\[\\&_svg\\]\\:h-full svg{height:100%}.__craftile .\\[\\&_svg\\]\\:w-full svg{width:100%}.__craftile .\\[\\&_svg\\]\\:fill-current svg{fill:currentColor}.__craftile .\\[\\&\\>svg\\]\\:h-4>svg{height:calc(var(--spacing)*4)}.__craftile .\\[\\&\\>svg\\]\\:w-3\\.5>svg{width:calc(var(--spacing)*3.5)}.__craftile .\\[\\&\\>svg\\]\\:w-4>svg{width:calc(var(--spacing)*4)}}@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-font-weight{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-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-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes enter{0%{opacity:0;transform:scale(.95)translateY(-10px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes exit{0%{opacity:1;transform:scale(1)translateY(0)}to{opacity:0;transform:scale(.95)translateY(-10px)}}')),document.head.appendChild(r)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
-
import { defineComponent as O, inject as xe, ref as re, onMounted as et, watch as bn, createElementBlock as T, openBlock as g, markRaw as Q, createElementVNode as w, renderSlot as $, normalizeProps as Se, guardReactiveProps as $e, unref as a, createBlock as x, createCommentVNode as X, mergeProps as H, withCtx as _, computed as b, useId as tt, toValue as be, mergeDefaults as qe, createTextVNode as ie, reactive as to, onBeforeUnmount as yn, Fragment as pe, renderList as _e, createVNode as C, normalizeClass as ye, toDisplayString as z, resolveDynamicComponent as at, onUnmounted as Bo, toRaw as
|
|
3
|
-
import { C as ke, c as Re, u as F, b as G, d as Nt, r as ge, g as sn, s as Qn, e as Ke, n as Ps, f as J, h as yt, i as Ve, j as dt, D as ut, k as Mt, l as At, m as no, o as _t, p as kt, q as ro, R as ot, t as
|
|
2
|
+
import { defineComponent as O, inject as xe, ref as re, onMounted as et, watch as bn, createElementBlock as T, openBlock as g, markRaw as Q, createElementVNode as w, renderSlot as $, normalizeProps as Se, guardReactiveProps as $e, unref as a, createBlock as x, createCommentVNode as X, mergeProps as H, withCtx as _, computed as b, useId as tt, toValue as be, mergeDefaults as qe, createTextVNode as ie, reactive as to, onBeforeUnmount as yn, Fragment as pe, renderList as _e, createVNode as C, normalizeClass as ye, toDisplayString as z, resolveDynamicComponent as at, onUnmounted as Bo, toRaw as mr, nextTick as oo, isRef as bt, withDirectives as Es, vModelText as Os, withModifiers as Bt, normalizeStyle as Oo, toRefs as Qi, h as Ts, getCurrentInstance as vr, resolveComponent as Zi, KeepAlive as ea, TransitionGroup as Fr, createApp as ta, provide as oa } from "vue";
|
|
3
|
+
import { C as ke, c as Re, u as F, b as G, d as Nt, r as ge, g as sn, s as Qn, e as Ke, n as Ps, f as J, h as yt, i as Ve, j as dt, D as ut, k as Mt, l as At, m as no, o as _t, p as kt, q as ro, R as ot, t as br, w as Bs, v as Ss, x as $s, y as yr, z as _r, A as na, B as ra, E as an, F as kr, G as Ir, H as _n, P as kn, I as xr, J as In, K as wr, L as sa, M as Rs, N as Ht, O as lo, Q as rt, S as Rn, T as ia, U as Dn, V as aa, W as la, X as Cr, Y as It, Z as Ds, $ as Ns, a0 as Ms, a1 as As, a2 as Fs, a3 as ca, a4 as Ls, a5 as ln, a6 as da, a7 as ua, a8 as Vs, a9 as Hs, aa as Us, ab as Nn, ac as Lr, ad as Zn, ae as Qt, af as pa, ag as ha, ah as ga, ai as fa, aj as Vo, ak as ma, al as va, am as Vr, an as ba, ao as er, ap as ya, aq as _a, ar as ka, as as Ia, at as xa, au as wa, av as Ca, aw as Ea, ax as Mn, ay as Oa, az as Ta, aA as Ho, aB as Gs, aC as Pa, aD as Ft, aE as St, aF as $t, aG as Rt, aH as js, _ as so, aI as Hr, aJ as Ba, aK as Ur, aL as Sa, aM as $a, a as Ra } from "./PropertyField.vue_vue_type_script_setup_true_lang-DQq7UdYk.js";
|
|
4
4
|
class Ws {
|
|
5
5
|
listeners = /* @__PURE__ */ new Map();
|
|
6
6
|
/**
|
|
@@ -268,7 +268,7 @@ class Ma {
|
|
|
268
268
|
return o;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
class
|
|
271
|
+
class Gr {
|
|
272
272
|
page;
|
|
273
273
|
blockType;
|
|
274
274
|
presetIndex;
|
|
@@ -858,7 +858,7 @@ class tr extends Ws {
|
|
|
858
858
|
if (!this.blocksManager.canBeChild(t, i.type))
|
|
859
859
|
throw new Error(`Block type '${t}' cannot be a child of '${i.type}'`);
|
|
860
860
|
}
|
|
861
|
-
const s = new
|
|
861
|
+
const s = new Gr(this.page, {
|
|
862
862
|
blockType: t,
|
|
863
863
|
presetIndex: o,
|
|
864
864
|
parentId: n?.parentId,
|
|
@@ -1011,7 +1011,7 @@ class tr extends Ws {
|
|
|
1011
1011
|
if (!this.blocksManager.canBeChild(t.type, s.type))
|
|
1012
1012
|
throw new Error(`Block type '${t.type}' cannot be a child of '${s.type}'`);
|
|
1013
1013
|
}
|
|
1014
|
-
const r = new
|
|
1014
|
+
const r = new Gr(this.page, {
|
|
1015
1015
|
blockType: t.type,
|
|
1016
1016
|
presetData: t,
|
|
1017
1017
|
parentId: o?.parentId,
|
|
@@ -1150,7 +1150,7 @@ function ja(e, t) {
|
|
|
1150
1150
|
}, null, -1)
|
|
1151
1151
|
])]);
|
|
1152
1152
|
}
|
|
1153
|
-
const
|
|
1153
|
+
const Er = Q({ name: "heroicons-x-mark", render: ja }), [zs, $o] = Re("AccordionContext"), Wa = /* @__PURE__ */ O({
|
|
1154
1154
|
__name: "accordion-context",
|
|
1155
1155
|
setup(e) {
|
|
1156
1156
|
const t = $o();
|
|
@@ -1563,13 +1563,13 @@ const el = (e = {}, t) => {
|
|
|
1563
1563
|
return s[i] !== void 0 && (r[i] = s[i]), delete s[i], [r, s];
|
|
1564
1564
|
},
|
|
1565
1565
|
[{}, { ...e }]
|
|
1566
|
-
), [sl,
|
|
1566
|
+
), [sl, Or] = Re("AccordionItemPropsContext"), il = /* @__PURE__ */ O({
|
|
1567
1567
|
__name: "accordion-item-content",
|
|
1568
1568
|
props: {
|
|
1569
1569
|
asChild: { type: Boolean }
|
|
1570
1570
|
},
|
|
1571
1571
|
setup(e) {
|
|
1572
|
-
const t = rl(), o = $o(), n =
|
|
1572
|
+
const t = rl(), o = $o(), n = Or(), r = b(() => {
|
|
1573
1573
|
const s = o.value.getItemContentProps(n), [, i] = t(s, ["hidden", "data-state"]);
|
|
1574
1574
|
return i;
|
|
1575
1575
|
});
|
|
@@ -1592,7 +1592,7 @@ const el = (e = {}, t) => {
|
|
|
1592
1592
|
asChild: { type: Boolean }
|
|
1593
1593
|
},
|
|
1594
1594
|
setup(e) {
|
|
1595
|
-
const t = $o(), o =
|
|
1595
|
+
const t = $o(), o = Or();
|
|
1596
1596
|
return F(), (n, r) => (g(), x(a(G).div, H(a(t).getItemIndicatorProps(a(o)), { "as-child": n.asChild }), {
|
|
1597
1597
|
default: _(() => [
|
|
1598
1598
|
$(n.$slots, "default")
|
|
@@ -1606,7 +1606,7 @@ const el = (e = {}, t) => {
|
|
|
1606
1606
|
asChild: { type: Boolean }
|
|
1607
1607
|
},
|
|
1608
1608
|
setup(e) {
|
|
1609
|
-
const t = $o(), o =
|
|
1609
|
+
const t = $o(), o = Or(), n = Ro(), r = b(() => {
|
|
1610
1610
|
const { "aria-controls": s, ...i } = t.value.getItemTriggerProps(o);
|
|
1611
1611
|
return {
|
|
1612
1612
|
...i,
|
|
@@ -1659,10 +1659,10 @@ const el = (e = {}, t) => {
|
|
|
1659
1659
|
}, 16, ["as-child"]));
|
|
1660
1660
|
}
|
|
1661
1661
|
});
|
|
1662
|
-
var gl = yt("accordion").parts("root", "item", "itemTrigger", "itemContent", "itemIndicator"), co = gl.build(), cn = (e) => e.ids?.root ?? `accordion:${e.id}`, fl = (e, t) => e.ids?.item?.(t) ?? `accordion:${e.id}:item:${t}`,
|
|
1662
|
+
var gl = yt("accordion").parts("root", "item", "itemTrigger", "itemContent", "itemIndicator"), co = gl.build(), cn = (e) => e.ids?.root ?? `accordion:${e.id}`, fl = (e, t) => e.ids?.item?.(t) ?? `accordion:${e.id}:item:${t}`, jr = (e, t) => e.ids?.itemContent?.(t) ?? `accordion:${e.id}:content:${t}`, dn = (e, t) => e.ids?.itemTrigger?.(t) ?? `accordion:${e.id}:trigger:${t}`, ml = (e) => e.getById(cn(e)), xn = (e) => {
|
|
1663
1663
|
const o = `[aria-controls][data-ownedby='${CSS.escape(cn(e))}']:not([disabled])`;
|
|
1664
|
-
return
|
|
1665
|
-
}, vl = (e) =>
|
|
1664
|
+
return Ir(ml(e), o);
|
|
1665
|
+
}, vl = (e) => _r(xn(e)), bl = (e) => yr(xn(e)), yl = (e, t) => $s(xn(e), dn(e, t)), _l = (e, t) => Ss(xn(e), dn(e, t));
|
|
1666
1666
|
function kl(e, t) {
|
|
1667
1667
|
const { send: o, context: n, prop: r, scope: s, computed: i } = e, c = n.get("focusedValue"), l = n.get("value"), d = r("multiple");
|
|
1668
1668
|
function u(m) {
|
|
@@ -1707,7 +1707,7 @@ function kl(e, t) {
|
|
|
1707
1707
|
...co.itemContent.attrs,
|
|
1708
1708
|
dir: r("dir"),
|
|
1709
1709
|
role: "region",
|
|
1710
|
-
id:
|
|
1710
|
+
id: jr(s, m.value),
|
|
1711
1711
|
"aria-labelledby": dn(s, m.value),
|
|
1712
1712
|
hidden: !p.expanded,
|
|
1713
1713
|
"data-state": p.expanded ? "open" : "closed",
|
|
@@ -1735,7 +1735,7 @@ function kl(e, t) {
|
|
|
1735
1735
|
type: "button",
|
|
1736
1736
|
dir: r("dir"),
|
|
1737
1737
|
id: dn(s, p),
|
|
1738
|
-
"aria-controls":
|
|
1738
|
+
"aria-controls": jr(s, p),
|
|
1739
1739
|
"aria-expanded": v.expanded,
|
|
1740
1740
|
disabled: v.disabled,
|
|
1741
1741
|
"data-orientation": r("orientation"),
|
|
@@ -1749,7 +1749,7 @@ function kl(e, t) {
|
|
|
1749
1749
|
v.disabled || o({ type: "TRIGGER.BLUR" });
|
|
1750
1750
|
},
|
|
1751
1751
|
onClick(k) {
|
|
1752
|
-
v.disabled || (
|
|
1752
|
+
v.disabled || (kr() && k.currentTarget.focus(), o({ type: "TRIGGER.CLICK", value: p }));
|
|
1753
1753
|
},
|
|
1754
1754
|
onKeyDown(k) {
|
|
1755
1755
|
if (k.defaultPrevented || v.disabled) return;
|
|
@@ -1782,7 +1782,7 @@ function kl(e, t) {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
};
|
|
1784
1784
|
}
|
|
1785
|
-
var { and: Il, not: xl } =
|
|
1785
|
+
var { and: Il, not: xl } = br(), wl = Nt({
|
|
1786
1786
|
props({ props: e }) {
|
|
1787
1787
|
return {
|
|
1788
1788
|
collapsible: !1,
|
|
@@ -2137,7 +2137,7 @@ const Js = /* @__PURE__ */ O({
|
|
|
2137
2137
|
asChild: { type: Boolean }
|
|
2138
2138
|
},
|
|
2139
2139
|
setup(e) {
|
|
2140
|
-
const t = xt(), o =
|
|
2140
|
+
const t = xt(), o = xr(), n = b(() => In(t.value.getContentProps(), o.value.presenceProps));
|
|
2141
2141
|
return F(), (r, s) => a(o).unmounted ? X("", !0) : (g(), x(a(G).div, H({ key: 0 }, n.value, { "as-child": r.asChild }), {
|
|
2142
2142
|
default: _(() => [
|
|
2143
2143
|
$(r.$slots, "default")
|
|
@@ -2196,7 +2196,7 @@ const Js = /* @__PURE__ */ O({
|
|
|
2196
2196
|
return Qs(o), ot(b(() => ({ lazyMount: t.lazyMount, unmountOnExit: t.unmountOnExit }))), F(), (n, r) => $(n.$slots, "default");
|
|
2197
2197
|
}
|
|
2198
2198
|
});
|
|
2199
|
-
var Wl = Object.defineProperty, zl = (e, t, o) => t in e ? Wl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, ce = (e, t, o) => zl(e, typeof t != "symbol" ? t + "" : t, o),
|
|
2199
|
+
var Wl = Object.defineProperty, zl = (e, t, o) => t in e ? Wl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, ce = (e, t, o) => zl(e, typeof t != "symbol" ? t + "" : t, o), Wr = {
|
|
2200
2200
|
activateTrap(e, t) {
|
|
2201
2201
|
if (e.length > 0) {
|
|
2202
2202
|
const n = e[e.length - 1];
|
|
@@ -2309,11 +2309,11 @@ var Wl = Object.defineProperty, zl = (e, t, o) => t in e ? Wl(e, t, { enumerable
|
|
|
2309
2309
|
checkCanReturnFocus: this.config.checkCanReturnFocus,
|
|
2310
2310
|
...n
|
|
2311
2311
|
};
|
|
2312
|
-
clearTimeout(this.state.delayInitialFocusTimer), this.state.delayInitialFocusTimer = void 0, this.removeListeners(), this.state.active = !1, this.state.paused = !1, this.updateObservedNodes(),
|
|
2312
|
+
clearTimeout(this.state.delayInitialFocusTimer), this.state.delayInitialFocusTimer = void 0, this.removeListeners(), this.state.active = !1, this.state.paused = !1, this.updateObservedNodes(), Wr.deactivateTrap(this.trapStack, this);
|
|
2313
2313
|
const s = this.getOption(r, "onDeactivate"), i = this.getOption(r, "onPostDeactivate"), c = this.getOption(r, "checkCanReturnFocus"), l = this.getOption(r, "returnFocus", "returnFocusOnDeactivate");
|
|
2314
2314
|
s?.();
|
|
2315
2315
|
const d = () => {
|
|
2316
|
-
|
|
2316
|
+
zr(() => {
|
|
2317
2317
|
if (l) {
|
|
2318
2318
|
const u = this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);
|
|
2319
2319
|
this.tryFocus(u);
|
|
@@ -2403,7 +2403,7 @@ var Wl = Object.defineProperty, zl = (e, t, o) => t in e ? Wl(e, t, { enumerable
|
|
|
2403
2403
|
},
|
|
2404
2404
|
...t
|
|
2405
2405
|
};
|
|
2406
|
-
this.doc = o.document ||
|
|
2406
|
+
this.doc = o.document || wr(Array.isArray(e) ? e[0] : e), this.config = o, this.updateContainerElements(e), this.setupMutationObserver();
|
|
2407
2407
|
}
|
|
2408
2408
|
get active() {
|
|
2409
2409
|
return this.state.active;
|
|
@@ -2446,7 +2446,7 @@ var Wl = Object.defineProperty, zl = (e, t, o) => t in e ? Wl(e, t, { enumerable
|
|
|
2446
2446
|
}
|
|
2447
2447
|
addListeners() {
|
|
2448
2448
|
if (this.state.active)
|
|
2449
|
-
return
|
|
2449
|
+
return Wr.activateTrap(this.trapStack, this), this.state.delayInitialFocusTimer = this.config.delayInitialFocus ? zr(() => {
|
|
2450
2450
|
this.tryFocus(this.getInitialFocusNode());
|
|
2451
2451
|
}) : this.tryFocus(this.getInitialFocusNode()), this.listenerCleanups.push(
|
|
2452
2452
|
rt(this.doc, "focusin", this.handleFocus, !0),
|
|
@@ -2471,7 +2471,7 @@ var Wl = Object.defineProperty, zl = (e, t, o) => t in e ? Wl(e, t, { enumerable
|
|
|
2471
2471
|
};
|
|
2472
2472
|
return n ? (n(this.state.containers.concat()).then(r, r), this) : (r(), this);
|
|
2473
2473
|
}
|
|
2474
|
-
}, uo = (e) => e.key === "Tab", po = (e, ...t) => typeof e == "function" ? e(...t) : e, Xl = (e) => !e.isComposing && e.key === "Escape",
|
|
2474
|
+
}, uo = (e) => e.key === "Tab", po = (e, ...t) => typeof e == "function" ? e(...t) : e, Xl = (e) => !e.isComposing && e.key === "Escape", zr = (e) => setTimeout(e, 0), Yl = (e) => e.localName === "input" && "select" in e && typeof e.select == "function";
|
|
2475
2475
|
function Zs(e, t = {}) {
|
|
2476
2476
|
let o;
|
|
2477
2477
|
const n = ge(() => {
|
|
@@ -2485,7 +2485,7 @@ function Zs(e, t = {}) {
|
|
|
2485
2485
|
delayInitialFocus: !1,
|
|
2486
2486
|
fallbackFocus: r,
|
|
2487
2487
|
...t,
|
|
2488
|
-
document:
|
|
2488
|
+
document: wr(r)
|
|
2489
2489
|
});
|
|
2490
2490
|
try {
|
|
2491
2491
|
o.activate();
|
|
@@ -2714,7 +2714,7 @@ var ic = Nt({
|
|
|
2714
2714
|
},
|
|
2715
2715
|
effects: {
|
|
2716
2716
|
trackDismissableElement({ scope: e, send: t, prop: o }) {
|
|
2717
|
-
return
|
|
2717
|
+
return Cr(() => zo(e), {
|
|
2718
2718
|
type: "dialog",
|
|
2719
2719
|
defer: !0,
|
|
2720
2720
|
pointerBlocking: o("modal"),
|
|
@@ -3180,7 +3180,7 @@ const ac = (e = {}, t) => {
|
|
|
3180
3180
|
});
|
|
3181
3181
|
var Ic = (e) => {
|
|
3182
3182
|
if (!e) return;
|
|
3183
|
-
const t = sn(e), o = As(e), n =
|
|
3183
|
+
const t = sn(e), o = As(e), n = wr(e), r = () => {
|
|
3184
3184
|
requestAnimationFrame(() => {
|
|
3185
3185
|
e.style.height = "auto";
|
|
3186
3186
|
let d;
|
|
@@ -3234,7 +3234,7 @@ const xc = /* @__PURE__ */ O({
|
|
|
3234
3234
|
_: 3
|
|
3235
3235
|
}, 16, ["value", "style", "as-child"]));
|
|
3236
3236
|
}
|
|
3237
|
-
}),
|
|
3237
|
+
}), Kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3238
3238
|
__proto__: null,
|
|
3239
3239
|
Context: uc,
|
|
3240
3240
|
ErrorText: pc,
|
|
@@ -3274,7 +3274,7 @@ const xc = /* @__PURE__ */ O({
|
|
|
3274
3274
|
_: 3
|
|
3275
3275
|
}, 16, ["as-child"]));
|
|
3276
3276
|
}
|
|
3277
|
-
}), [
|
|
3277
|
+
}), [Tr, Ec] = Re("MenuItemContext"), [wn, ii] = Re("MenuItemPropsContext"), Oc = /* @__PURE__ */ O({
|
|
3278
3278
|
__name: "menu-checkbox-item",
|
|
3279
3279
|
props: /* @__PURE__ */ qe({
|
|
3280
3280
|
checked: { type: Boolean },
|
|
@@ -3295,7 +3295,7 @@ const xc = /* @__PURE__ */ O({
|
|
|
3295
3295
|
type: "checkbox",
|
|
3296
3296
|
onCheckedChange: (c) => n("update:checked", c)
|
|
3297
3297
|
})), i = b(() => r.value.getOptionItemState(s.value));
|
|
3298
|
-
return
|
|
3298
|
+
return Tr(i), wn(s), F(), (c, l) => (g(), x(a(G).div, H(a(r).getOptionItemProps(s.value), { "as-child": c.asChild }), {
|
|
3299
3299
|
default: _(() => [
|
|
3300
3300
|
$(c.$slots, "default")
|
|
3301
3301
|
]),
|
|
@@ -3308,7 +3308,7 @@ const xc = /* @__PURE__ */ O({
|
|
|
3308
3308
|
asChild: { type: Boolean }
|
|
3309
3309
|
},
|
|
3310
3310
|
setup(e) {
|
|
3311
|
-
const t = ve(), o =
|
|
3311
|
+
const t = ve(), o = xr(), n = b(() => In(t.value.getContentProps(), o.value.presenceProps));
|
|
3312
3312
|
return F(), (r, s) => a(o).unmounted ? X("", !0) : (g(), x(a(G).div, H({ key: 0 }, n.value, { "as-child": r.asChild }), {
|
|
3313
3313
|
default: _(() => [
|
|
3314
3314
|
$(r.$slots, "default")
|
|
@@ -3428,7 +3428,7 @@ const xc = /* @__PURE__ */ O({
|
|
|
3428
3428
|
emits: ["select"],
|
|
3429
3429
|
setup(e, { emit: t }) {
|
|
3430
3430
|
const o = e, n = t, r = ve(), s = b(() => r.value.getItemState(o));
|
|
3431
|
-
return wn(b(() => o)),
|
|
3431
|
+
return wn(b(() => o)), Tr(s), et(() => {
|
|
3432
3432
|
const i = r.value.addItemListener({ id: s.value.id, onSelect: () => n("select") });
|
|
3433
3433
|
yn(() => i?.());
|
|
3434
3434
|
}), F(), (i, c) => (g(), x(a(G).div, H(a(r).getItemProps(o), { "as-child": i.asChild }), {
|
|
@@ -3497,7 +3497,7 @@ const xc = /* @__PURE__ */ O({
|
|
|
3497
3497
|
type: "radio",
|
|
3498
3498
|
onCheckedChange: () => n.value.onValueChange?.({ value: t.value })
|
|
3499
3499
|
})), s = b(() => o.value.getOptionItemState(r.value));
|
|
3500
|
-
return
|
|
3500
|
+
return Tr(s), wn(r), F(), (i, c) => (g(), x(a(G).div, H(a(o).getOptionItemProps(r.value), { "as-child": i.asChild }), {
|
|
3501
3501
|
default: _(() => [
|
|
3502
3502
|
$(i.$slots, "default")
|
|
3503
3503
|
]),
|
|
@@ -3536,17 +3536,17 @@ var Gc = yt("menu").parts(
|
|
|
3536
3536
|
"separator",
|
|
3537
3537
|
"trigger",
|
|
3538
3538
|
"triggerItem"
|
|
3539
|
-
), Oe = Gc.build(), un = (e) => e.ids?.trigger ?? `menu:${e.id}:trigger`, pi = (e) => e.ids?.contextTrigger ?? `menu:${e.id}:ctx-trigger`, _o = (e) => e.ids?.content ?? `menu:${e.id}:content`, jc = (e) => e.ids?.arrow ?? `menu:${e.id}:arrow`, hi = (e) => e.ids?.positioner ?? `menu:${e.id}:popper`, Wc = (e, t) => e.ids?.group?.(t) ?? `menu:${e.id}:group:${t}`, Po = (e, t) => `${e.id}/${t}`, Et = (e) => e?.dataset.value ?? null,
|
|
3539
|
+
), Oe = Gc.build(), un = (e) => e.ids?.trigger ?? `menu:${e.id}:trigger`, pi = (e) => e.ids?.contextTrigger ?? `menu:${e.id}:ctx-trigger`, _o = (e) => e.ids?.content ?? `menu:${e.id}:content`, jc = (e) => e.ids?.arrow ?? `menu:${e.id}:arrow`, hi = (e) => e.ids?.positioner ?? `menu:${e.id}:popper`, Wc = (e, t) => e.ids?.group?.(t) ?? `menu:${e.id}:group:${t}`, Po = (e, t) => `${e.id}/${t}`, Et = (e) => e?.dataset.value ?? null, qr = (e, t) => e.ids?.groupLabel?.(t) ?? `menu:${e.id}:group-label:${t}`, gt = (e) => e.getById(_o(e)), Xr = (e) => e.getById(hi(e)), Ko = (e) => e.getById(un(e)), zc = (e, t) => t ? e.getById(Po(e, t)) : null, Ln = (e) => e.getById(pi(e)), Do = (e) => {
|
|
3540
3540
|
const o = `[role^="menuitem"][data-ownedby=${CSS.escape(_o(e))}]:not([data-disabled])`;
|
|
3541
|
-
return
|
|
3542
|
-
}, Kc = (e) =>
|
|
3543
|
-
const o = Do(e), n = o.findIndex((r) =>
|
|
3541
|
+
return Ir(gt(e), o);
|
|
3542
|
+
}, Kc = (e) => _r(Do(e)), qc = (e) => yr(Do(e)), Pr = (e, t) => t ? e.id === t || e.dataset.value === t : !1, Xc = (e, t) => {
|
|
3543
|
+
const o = Do(e), n = o.findIndex((r) => Pr(r, t.value));
|
|
3544
3544
|
return va(o, n, { loop: t.loop ?? t.loopFocus });
|
|
3545
3545
|
}, Yc = (e, t) => {
|
|
3546
|
-
const o = Do(e), n = o.findIndex((r) =>
|
|
3546
|
+
const o = Do(e), n = o.findIndex((r) => Pr(r, t.value));
|
|
3547
3547
|
return ma(o, n, { loop: t.loop ?? t.loopFocus });
|
|
3548
3548
|
}, Jc = (e, t) => {
|
|
3549
|
-
const o = Do(e), n = o.find((r) =>
|
|
3549
|
+
const o = Do(e), n = o.find((r) => Pr(r, t.value));
|
|
3550
3550
|
return Vs(o, { state: t.typeaheadState, key: t.key, activeId: n?.id ?? null });
|
|
3551
3551
|
}, qo = (e) => ba(e) && (e.dataset.disabled === "" || e.hasAttribute("disabled")), Qc = (e) => !!e?.getAttribute("role")?.startsWith("menuitem") && !!e?.hasAttribute("aria-controls"), ir = "menu:select";
|
|
3552
3552
|
function Zc(e, t) {
|
|
@@ -3607,7 +3607,7 @@ function ed(e, t) {
|
|
|
3607
3607
|
n({ type: "ITEM_POINTERDOWN", target: j, id: A, closeOnSelect: I });
|
|
3608
3608
|
},
|
|
3609
3609
|
onClick(L) {
|
|
3610
|
-
if (
|
|
3610
|
+
if (Lr(L) || Zn(L) || M.disabled) return;
|
|
3611
3611
|
const j = L.currentTarget;
|
|
3612
3612
|
n({ type: "ITEM_CLICK", target: j, id: A, closeOnSelect: I });
|
|
3613
3613
|
}
|
|
@@ -3845,7 +3845,7 @@ function ed(e, t) {
|
|
|
3845
3845
|
"aria-checked": !!A.checked,
|
|
3846
3846
|
"data-state": A.checked ? "checked" : "unchecked",
|
|
3847
3847
|
onClick(L) {
|
|
3848
|
-
if (N ||
|
|
3848
|
+
if (N || Lr(L) || Zn(L)) return;
|
|
3849
3849
|
const j = L.currentTarget;
|
|
3850
3850
|
n({ type: "ITEM_CLICK", target: j, option: M, closeOnSelect: U });
|
|
3851
3851
|
}
|
|
@@ -3853,7 +3853,7 @@ function ed(e, t) {
|
|
|
3853
3853
|
};
|
|
3854
3854
|
},
|
|
3855
3855
|
getItemIndicatorProps(h) {
|
|
3856
|
-
const I = V(
|
|
3856
|
+
const I = V(Vr(h)), N = I.checked ? "checked" : "unchecked";
|
|
3857
3857
|
return t.element({
|
|
3858
3858
|
...Oe.itemIndicator.attrs,
|
|
3859
3859
|
dir: i("dir"),
|
|
@@ -3864,7 +3864,7 @@ function ed(e, t) {
|
|
|
3864
3864
|
});
|
|
3865
3865
|
},
|
|
3866
3866
|
getItemTextProps(h) {
|
|
3867
|
-
const I = V(
|
|
3867
|
+
const I = V(Vr(h)), N = I.checked ? "checked" : "unchecked";
|
|
3868
3868
|
return t.element({
|
|
3869
3869
|
...Oe.itemText.attrs,
|
|
3870
3870
|
dir: i("dir"),
|
|
@@ -3876,7 +3876,7 @@ function ed(e, t) {
|
|
|
3876
3876
|
getItemGroupLabelProps(h) {
|
|
3877
3877
|
return t.element({
|
|
3878
3878
|
...Oe.itemGroupLabel.attrs,
|
|
3879
|
-
id:
|
|
3879
|
+
id: qr(c, h.htmlFor),
|
|
3880
3880
|
dir: i("dir")
|
|
3881
3881
|
});
|
|
3882
3882
|
},
|
|
@@ -3885,13 +3885,13 @@ function ed(e, t) {
|
|
|
3885
3885
|
id: Wc(c, h.id),
|
|
3886
3886
|
...Oe.itemGroup.attrs,
|
|
3887
3887
|
dir: i("dir"),
|
|
3888
|
-
"aria-labelledby":
|
|
3888
|
+
"aria-labelledby": qr(c, h.id),
|
|
3889
3889
|
role: "group"
|
|
3890
3890
|
});
|
|
3891
3891
|
}
|
|
3892
3892
|
};
|
|
3893
3893
|
}
|
|
3894
|
-
var { not: Ue, and: Gt, or: td } =
|
|
3894
|
+
var { not: Ue, and: Gt, or: td } = br(), od = Nt({
|
|
3895
3895
|
props({ props: e }) {
|
|
3896
3896
|
return {
|
|
3897
3897
|
closeOnSelect: !0,
|
|
@@ -4399,7 +4399,7 @@ var { not: Ue, and: Gt, or: td } = vr(), od = Nt({
|
|
|
4399
4399
|
...n.get("positioningOverride")
|
|
4400
4400
|
};
|
|
4401
4401
|
e.set("currentPlacement", r.placement);
|
|
4402
|
-
const s = () =>
|
|
4402
|
+
const s = () => Xr(o);
|
|
4403
4403
|
return ln(Ko(o), s, {
|
|
4404
4404
|
...r,
|
|
4405
4405
|
defer: !0,
|
|
@@ -4411,7 +4411,7 @@ var { not: Ue, and: Gt, or: td } = vr(), od = Nt({
|
|
|
4411
4411
|
trackInteractOutside({ refs: e, scope: t, prop: o, context: n, send: r }) {
|
|
4412
4412
|
const s = () => gt(t);
|
|
4413
4413
|
let i = !0;
|
|
4414
|
-
return
|
|
4414
|
+
return Cr(s, {
|
|
4415
4415
|
type: "menu",
|
|
4416
4416
|
defer: !0,
|
|
4417
4417
|
exclude: [Ko(t)],
|
|
@@ -4426,7 +4426,7 @@ var { not: Ue, and: Gt, or: td } = vr(), od = Nt({
|
|
|
4426
4426
|
}
|
|
4427
4427
|
},
|
|
4428
4428
|
onEscapeKeyDown(c) {
|
|
4429
|
-
o("onEscapeKeyDown")?.(c), n.get("isSubmenu") && c.preventDefault(),
|
|
4429
|
+
o("onEscapeKeyDown")?.(c), n.get("isSubmenu") && c.preventDefault(), Yr({ parent: e.get("parent") });
|
|
4430
4430
|
},
|
|
4431
4431
|
onPointerDownOutside(c) {
|
|
4432
4432
|
o("onPointerDownOutside")?.(c);
|
|
@@ -4478,7 +4478,7 @@ var { not: Ue, and: Gt, or: td } = vr(), od = Nt({
|
|
|
4478
4478
|
o.set("positioningOverride", { placement: n, gutter: 0 });
|
|
4479
4479
|
},
|
|
4480
4480
|
reposition({ context: e, scope: t, prop: o, event: n, refs: r }) {
|
|
4481
|
-
const s = () =>
|
|
4481
|
+
const s = () => Xr(t), i = e.get("anchorPoint"), c = i ? () => ({ width: 0, height: 0, ...i }) : void 0, l = {
|
|
4482
4482
|
...o("positioning"),
|
|
4483
4483
|
...r.get("positioningOverride")
|
|
4484
4484
|
};
|
|
@@ -4596,7 +4596,7 @@ var { not: Ue, and: Gt, or: td } = vr(), od = Nt({
|
|
|
4596
4596
|
o[t.id] = t.value, e.set("children", o);
|
|
4597
4597
|
},
|
|
4598
4598
|
closeRootMenu({ refs: e }) {
|
|
4599
|
-
|
|
4599
|
+
Yr({ parent: e.get("parent") });
|
|
4600
4600
|
},
|
|
4601
4601
|
openSubmenu({ refs: e, scope: t, computed: o }) {
|
|
4602
4602
|
const r = t.getById(o("highlightedId"))?.getAttribute("data-uid"), s = e.get("children");
|
|
@@ -4629,7 +4629,7 @@ var { not: Ue, and: Gt, or: td } = vr(), od = Nt({
|
|
|
4629
4629
|
}
|
|
4630
4630
|
}
|
|
4631
4631
|
});
|
|
4632
|
-
function
|
|
4632
|
+
function Yr(e) {
|
|
4633
4633
|
let t = e.parent;
|
|
4634
4634
|
for (; t && t.context.get("isSubmenu"); )
|
|
4635
4635
|
t = t.refs.get("parent");
|
|
@@ -4880,7 +4880,7 @@ const sd = (e = {}, t) => {
|
|
|
4880
4880
|
asChild: { type: Boolean }
|
|
4881
4881
|
},
|
|
4882
4882
|
setup(e) {
|
|
4883
|
-
const t = Xe(), o =
|
|
4883
|
+
const t = Xe(), o = xr(), n = b(() => In(t.value.getContentProps(), o.value.presenceProps));
|
|
4884
4884
|
return F(), (r, s) => a(o).unmounted ? X("", !0) : (g(), x(a(G).div, H({ key: 0 }, n.value, { "as-child": r.asChild }), {
|
|
4885
4885
|
default: _(() => [
|
|
4886
4886
|
$(r.$slots, "default")
|
|
@@ -4964,7 +4964,7 @@ var _d = yt("popover").parts(
|
|
|
4964
4964
|
"title",
|
|
4965
4965
|
"description",
|
|
4966
4966
|
"closeTrigger"
|
|
4967
|
-
), Ye = _d.build(), fi = (e) => e.ids?.anchor ?? `popover:${e.id}:anchor`, mi = (e) => e.ids?.trigger ?? `popover:${e.id}:trigger`, ar = (e) => e.ids?.content ?? `popover:${e.id}:content`, vi = (e) => e.ids?.positioner ?? `popover:${e.id}:popper`, kd = (e) => e.ids?.arrow ?? `popover:${e.id}:arrow`, lr = (e) => e.ids?.title ?? `popover:${e.id}:title`, cr = (e) => e.ids?.description ?? `popover:${e.id}:desc`, Id = (e) => e.ids?.closeTrigger ?? `popover:${e.id}:close`,
|
|
4967
|
+
), Ye = _d.build(), fi = (e) => e.ids?.anchor ?? `popover:${e.id}:anchor`, mi = (e) => e.ids?.trigger ?? `popover:${e.id}:trigger`, ar = (e) => e.ids?.content ?? `popover:${e.id}:content`, vi = (e) => e.ids?.positioner ?? `popover:${e.id}:popper`, kd = (e) => e.ids?.arrow ?? `popover:${e.id}:arrow`, lr = (e) => e.ids?.title ?? `popover:${e.id}:title`, cr = (e) => e.ids?.description ?? `popover:${e.id}:desc`, Id = (e) => e.ids?.closeTrigger ?? `popover:${e.id}:close`, Jr = (e) => e.getById(fi(e)), jt = (e) => e.getById(mi(e)), Wt = (e) => e.getById(ar(e)), Qr = (e) => e.getById(vi(e)), xd = (e) => e.getById(lr(e)), wd = (e) => e.getById(cr(e));
|
|
4968
4968
|
function Cd(e, t) {
|
|
4969
4969
|
const { state: o, context: n, send: r, computed: s, prop: i, scope: c } = e, l = o.matches("open"), d = n.get("currentPlacement"), u = s("currentPortalled"), f = n.get("renderedElements"), m = Us({
|
|
4970
4970
|
...i("positioning"),
|
|
@@ -5013,7 +5013,7 @@ function Cd(e, t) {
|
|
|
5013
5013
|
"data-state": l ? "open" : "closed",
|
|
5014
5014
|
"aria-controls": ar(c),
|
|
5015
5015
|
onPointerDown(p) {
|
|
5016
|
-
_a(p) &&
|
|
5016
|
+
_a(p) && kr() && p.currentTarget.focus();
|
|
5017
5017
|
},
|
|
5018
5018
|
onClick(p) {
|
|
5019
5019
|
p.defaultPrevented || r({ type: "TOGGLE" });
|
|
@@ -5194,8 +5194,8 @@ var Ed = Nt({
|
|
|
5194
5194
|
effects: {
|
|
5195
5195
|
trackPositioning({ context: e, prop: t, scope: o }) {
|
|
5196
5196
|
e.set("currentPlacement", t("positioning").placement);
|
|
5197
|
-
const n =
|
|
5198
|
-
return ln(n, () =>
|
|
5197
|
+
const n = Jr(o) ?? jt(o);
|
|
5198
|
+
return ln(n, () => Qr(o), {
|
|
5199
5199
|
...t("positioning"),
|
|
5200
5200
|
defer: !0,
|
|
5201
5201
|
onComplete(s) {
|
|
@@ -5206,7 +5206,7 @@ var Ed = Nt({
|
|
|
5206
5206
|
trackDismissableElement({ send: e, prop: t, scope: o }) {
|
|
5207
5207
|
const n = () => Wt(o);
|
|
5208
5208
|
let r = !0;
|
|
5209
|
-
return
|
|
5209
|
+
return Cr(n, {
|
|
5210
5210
|
type: "popover",
|
|
5211
5211
|
pointerBlocking: t("modal"),
|
|
5212
5212
|
exclude: jt(o),
|
|
@@ -5254,8 +5254,8 @@ var Ed = Nt({
|
|
|
5254
5254
|
},
|
|
5255
5255
|
actions: {
|
|
5256
5256
|
reposition({ event: e, prop: t, scope: o, context: n }) {
|
|
5257
|
-
const r =
|
|
5258
|
-
ln(r, () =>
|
|
5257
|
+
const r = Jr(o) ?? jt(o);
|
|
5258
|
+
ln(r, () => Qr(o), {
|
|
5259
5259
|
...t("positioning"),
|
|
5260
5260
|
...e.options,
|
|
5261
5261
|
defer: !0,
|
|
@@ -5514,10 +5514,10 @@ const bi = (e = {}, t) => {
|
|
|
5514
5514
|
}, 16, ["as-child"]));
|
|
5515
5515
|
}
|
|
5516
5516
|
});
|
|
5517
|
-
var Md = yt("tabs").parts("root", "list", "trigger", "content", "indicator"), ho = Md.build(), Ad = (e) => e.ids?.root ?? `tabs:${e.id}`, ko = (e) => e.ids?.list ?? `tabs:${e.id}:list`, dr = (e, t) => e.ids?.content?.(t) ?? `tabs:${e.id}:content-${t}`, Dt = (e, t) => e.ids?.trigger?.(t) ?? `tabs:${e.id}:trigger-${t}`, _i = (e) => e.ids?.indicator ?? `tabs:${e.id}:indicator`, Fd = (e) => e.getById(ko(e)), Ld = (e, t) => e.getById(dr(e, t)), Zo = (e, t) => e.getById(Dt(e, t)),
|
|
5517
|
+
var Md = yt("tabs").parts("root", "list", "trigger", "content", "indicator"), ho = Md.build(), Ad = (e) => e.ids?.root ?? `tabs:${e.id}`, ko = (e) => e.ids?.list ?? `tabs:${e.id}:list`, dr = (e, t) => e.ids?.content?.(t) ?? `tabs:${e.id}:content-${t}`, Dt = (e, t) => e.ids?.trigger?.(t) ?? `tabs:${e.id}:trigger-${t}`, _i = (e) => e.ids?.indicator ?? `tabs:${e.id}:indicator`, Fd = (e) => e.getById(ko(e)), Ld = (e, t) => e.getById(dr(e, t)), Zo = (e, t) => e.getById(Dt(e, t)), Zr = (e) => e.getById(_i(e)), Mo = (e) => {
|
|
5518
5518
|
const o = `[role=tab][data-ownedby='${CSS.escape(ko(e))}']:not([disabled])`;
|
|
5519
|
-
return
|
|
5520
|
-
}, Vd = (e) =>
|
|
5519
|
+
return Ir(Fd(e), o);
|
|
5520
|
+
}, Vd = (e) => _r(Mo(e)), Hd = (e) => yr(Mo(e)), Ud = (e, t) => $s(Mo(e), Dt(e, t.value), t.loopFocus), Gd = (e, t) => Ss(Mo(e), Dt(e, t.value), t.loopFocus), ki = (e) => ({
|
|
5521
5521
|
left: e?.offsetLeft ?? 0,
|
|
5522
5522
|
top: e?.offsetTop ?? 0,
|
|
5523
5523
|
width: e?.offsetWidth ?? 0,
|
|
@@ -5647,7 +5647,7 @@ function Wd(e, t) {
|
|
|
5647
5647
|
B.relatedTarget?.getAttribute("role") !== "tab" && n({ type: "TAB_BLUR" });
|
|
5648
5648
|
},
|
|
5649
5649
|
onClick(B) {
|
|
5650
|
-
B.defaultPrevented || Zn(B) || k || (
|
|
5650
|
+
B.defaultPrevented || Zn(B) || k || (kr() && B.currentTarget.focus(), n({ type: "TAB_CLICK", value: v }));
|
|
5651
5651
|
}
|
|
5652
5652
|
});
|
|
5653
5653
|
},
|
|
@@ -5896,7 +5896,7 @@ var { createMachine: zd } = Ia(), Kd = zd({
|
|
|
5896
5896
|
},
|
|
5897
5897
|
setIndicatorRect({ context: e, event: t, scope: o }) {
|
|
5898
5898
|
const n = t.id ?? e.get("value");
|
|
5899
|
-
if (!
|
|
5899
|
+
if (!Zr(o)) return;
|
|
5900
5900
|
if (!n) {
|
|
5901
5901
|
e.set("indicatorTransition", !1);
|
|
5902
5902
|
return;
|
|
@@ -5916,7 +5916,7 @@ var { createMachine: zd } = Ia(), Kd = zd({
|
|
|
5916
5916
|
e.set("indicatorTransition", !1);
|
|
5917
5917
|
return;
|
|
5918
5918
|
}
|
|
5919
|
-
const s = Zo(o, r), i =
|
|
5919
|
+
const s = Zo(o, r), i = Zr(o);
|
|
5920
5920
|
if (!s || !i) return;
|
|
5921
5921
|
const c = xa([s], {
|
|
5922
5922
|
measure(l) {
|
|
@@ -6024,7 +6024,7 @@ var Yd = yt("toast").parts(
|
|
|
6024
6024
|
"description",
|
|
6025
6025
|
"actionTrigger",
|
|
6026
6026
|
"closeTrigger"
|
|
6027
|
-
), qt = Yd.build(), Jd = (e) => `toast-group:${e}`,
|
|
6027
|
+
), qt = Yd.build(), Jd = (e) => `toast-group:${e}`, es = (e, t) => e.getById(`toast-group:${t}`), xi = (e) => `toast:${e.id}`, ts = (e) => e.getById(xi(e)), os = (e) => `toast:${e.id}:title`, ns = (e) => `toast:${e.id}:description`, Qd = (e) => `toast${e.id}:close`, rs = {
|
|
6028
6028
|
info: 5e3,
|
|
6029
6029
|
error: 5e3,
|
|
6030
6030
|
success: 2e3,
|
|
@@ -6032,7 +6032,7 @@ var Yd = yt("toast").parts(
|
|
|
6032
6032
|
DEFAULT: 5e3
|
|
6033
6033
|
};
|
|
6034
6034
|
function Vn(e, t) {
|
|
6035
|
-
return e ??
|
|
6035
|
+
return e ?? rs[t] ?? rs.DEFAULT;
|
|
6036
6036
|
}
|
|
6037
6037
|
var Zd = (e) => typeof e == "string" ? { left: e, right: e, bottom: e, top: e } : e;
|
|
6038
6038
|
function eu(e, t) {
|
|
@@ -6325,7 +6325,7 @@ var su = Nt({
|
|
|
6325
6325
|
}
|
|
6326
6326
|
if (i && e.get("dismissableCleanup"))
|
|
6327
6327
|
return;
|
|
6328
|
-
const l = Pa(() =>
|
|
6328
|
+
const l = Pa(() => es(n, s), { defer: !0 });
|
|
6329
6329
|
e.set("dismissableCleanup", l);
|
|
6330
6330
|
},
|
|
6331
6331
|
clearDismissableBranch({ refs: e }) {
|
|
@@ -6333,7 +6333,7 @@ var su = Nt({
|
|
|
6333
6333
|
},
|
|
6334
6334
|
focusRegionEl({ scope: e, computed: t }) {
|
|
6335
6335
|
queueMicrotask(() => {
|
|
6336
|
-
|
|
6336
|
+
es(e, t("placement"))?.focus();
|
|
6337
6337
|
});
|
|
6338
6338
|
},
|
|
6339
6339
|
pauseToasts({ prop: e }) {
|
|
@@ -6408,8 +6408,8 @@ function iu(e, t) {
|
|
|
6408
6408
|
"data-overlap": J(!v),
|
|
6409
6409
|
role: "status",
|
|
6410
6410
|
"aria-atomic": "true",
|
|
6411
|
-
"aria-describedby": P ?
|
|
6412
|
-
"aria-labelledby": k ?
|
|
6411
|
+
"aria-describedby": P ? ns(s) : void 0,
|
|
6412
|
+
"aria-labelledby": k ? os(s) : void 0,
|
|
6413
6413
|
tabIndex: 0,
|
|
6414
6414
|
style: tu(e, l),
|
|
6415
6415
|
onKeyDown(h) {
|
|
@@ -6434,13 +6434,13 @@ function iu(e, t) {
|
|
|
6434
6434
|
getTitleProps() {
|
|
6435
6435
|
return t.element({
|
|
6436
6436
|
...qt.title.attrs,
|
|
6437
|
-
id:
|
|
6437
|
+
id: os(s)
|
|
6438
6438
|
});
|
|
6439
6439
|
},
|
|
6440
6440
|
getDescriptionProps() {
|
|
6441
6441
|
return t.element({
|
|
6442
6442
|
...qt.description.attrs,
|
|
6443
|
-
id:
|
|
6443
|
+
id: ns(s)
|
|
6444
6444
|
});
|
|
6445
6445
|
},
|
|
6446
6446
|
getActionTriggerProps() {
|
|
@@ -6465,7 +6465,7 @@ function iu(e, t) {
|
|
|
6465
6465
|
}
|
|
6466
6466
|
};
|
|
6467
6467
|
}
|
|
6468
|
-
var { not: au } =
|
|
6468
|
+
var { not: au } = br(), lu = Nt({
|
|
6469
6469
|
props({ props: e }) {
|
|
6470
6470
|
return Oa(e, ["id", "type", "parent", "removeDelay"], "toast"), {
|
|
6471
6471
|
closable: !0,
|
|
@@ -6609,7 +6609,7 @@ var { not: au } = vr(), lu = Nt({
|
|
|
6609
6609
|
trackHeight({ scope: e, prop: t }) {
|
|
6610
6610
|
let o;
|
|
6611
6611
|
return ge(() => {
|
|
6612
|
-
const n =
|
|
6612
|
+
const n = ts(e);
|
|
6613
6613
|
if (!n) return;
|
|
6614
6614
|
const r = () => {
|
|
6615
6615
|
const c = n.style.height;
|
|
@@ -6617,7 +6617,7 @@ var { not: au } = vr(), lu = Nt({
|
|
|
6617
6617
|
const l = n.getBoundingClientRect().height;
|
|
6618
6618
|
n.style.height = c;
|
|
6619
6619
|
const d = { id: t("id"), height: l };
|
|
6620
|
-
|
|
6620
|
+
ss(t("parent"), d);
|
|
6621
6621
|
}, s = e.getWin(), i = new s.MutationObserver(r);
|
|
6622
6622
|
i.observe(n, {
|
|
6623
6623
|
childList: !0,
|
|
@@ -6639,14 +6639,14 @@ var { not: au } = vr(), lu = Nt({
|
|
|
6639
6639
|
},
|
|
6640
6640
|
measureHeight({ scope: e, prop: t, context: o }) {
|
|
6641
6641
|
queueMicrotask(() => {
|
|
6642
|
-
const n =
|
|
6642
|
+
const n = ts(e);
|
|
6643
6643
|
if (!n) return;
|
|
6644
6644
|
const r = n.style.height;
|
|
6645
6645
|
n.style.height = "auto";
|
|
6646
6646
|
const s = n.getBoundingClientRect().height;
|
|
6647
6647
|
n.style.height = r, o.set("initialHeight", s);
|
|
6648
6648
|
const i = { id: t("id"), height: s };
|
|
6649
|
-
|
|
6649
|
+
ss(t("parent"), i);
|
|
6650
6650
|
});
|
|
6651
6651
|
},
|
|
6652
6652
|
setCloseTimer({ refs: e }) {
|
|
@@ -6676,7 +6676,7 @@ var { not: au } = vr(), lu = Nt({
|
|
|
6676
6676
|
}
|
|
6677
6677
|
}
|
|
6678
6678
|
});
|
|
6679
|
-
function
|
|
6679
|
+
function ss(e, t) {
|
|
6680
6680
|
const { id: o, height: n } = t;
|
|
6681
6681
|
e.context.set("heights", (r) => r.find((i) => i.id === o) ? r.map((i) => i.id === o ? { ...i, height: n } : i) : [{ id: o, height: n }, ...r]);
|
|
6682
6682
|
}
|
|
@@ -6788,7 +6788,7 @@ function du(e = {}) {
|
|
|
6788
6788
|
}
|
|
6789
6789
|
};
|
|
6790
6790
|
}
|
|
6791
|
-
var uu = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number",
|
|
6791
|
+
var uu = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", is = {
|
|
6792
6792
|
connect: ru,
|
|
6793
6793
|
machine: su
|
|
6794
6794
|
};
|
|
@@ -6893,12 +6893,12 @@ const pu = (e) => du(e), [hu, io] = Re("ToastContext"), gu = /* @__PURE__ */ O({
|
|
|
6893
6893
|
asChild: { type: Boolean }
|
|
6894
6894
|
},
|
|
6895
6895
|
setup(e) {
|
|
6896
|
-
const t = e, o = Mt(At), n = dt(ut), r = _t(
|
|
6896
|
+
const t = e, o = Mt(At), n = dt(ut), r = _t(is.machine, {
|
|
6897
6897
|
store: t.toaster,
|
|
6898
6898
|
id: tt(),
|
|
6899
6899
|
dir: o?.value.dir,
|
|
6900
6900
|
getRootNode: n?.value.getRootNode
|
|
6901
|
-
}), s = b(() =>
|
|
6901
|
+
}), s = b(() => is.connect(r, kt));
|
|
6902
6902
|
return F(), (i, c) => (g(), x(a(G).div, Se($e(s.value.getGroupProps())), {
|
|
6903
6903
|
default: _(() => [
|
|
6904
6904
|
(g(!0), T(pe, null, _e(s.value.getToasts(), (l, d) => (g(), x(_u, {
|
|
@@ -6945,7 +6945,7 @@ const pu = (e) => du(e), [hu, io] = Re("ToastContext"), gu = /* @__PURE__ */ O({
|
|
|
6945
6945
|
l.open || r(d);
|
|
6946
6946
|
};
|
|
6947
6947
|
return (l, d) => {
|
|
6948
|
-
const u =
|
|
6948
|
+
const u = Er, f = So;
|
|
6949
6949
|
return g(!0), T(pe, null, _e(a(o), (m) => (g(), T(pe, { key: m }, [
|
|
6950
6950
|
a(s)[m] ? (g(), x(a(Ct).Root, {
|
|
6951
6951
|
key: 0,
|
|
@@ -7008,7 +7008,7 @@ const pu = (e) => du(e), [hu, io] = Re("ToastContext"), gu = /* @__PURE__ */ O({
|
|
|
7008
7008
|
], 64))), 128);
|
|
7009
7009
|
};
|
|
7010
7010
|
}
|
|
7011
|
-
}),
|
|
7011
|
+
}), as = {
|
|
7012
7012
|
header: {
|
|
7013
7013
|
undo: "Undo",
|
|
7014
7014
|
redo: "Redo",
|
|
@@ -7080,7 +7080,7 @@ function Cu(e, t) {
|
|
|
7080
7080
|
return t.split(".").reduce((o, n) => o && o[n] !== void 0 ? o[n] : void 0, e);
|
|
7081
7081
|
}
|
|
7082
7082
|
function Eu(e) {
|
|
7083
|
-
return e ? wu(
|
|
7083
|
+
return e ? wu(as, e) : as;
|
|
7084
7084
|
}
|
|
7085
7085
|
function Ou(e) {
|
|
7086
7086
|
return function(o) {
|
|
@@ -7126,7 +7126,7 @@ const Tu = { class: "group pointer-events-auto relative flex w-full min-w-96 max
|
|
|
7126
7126
|
}
|
|
7127
7127
|
};
|
|
7128
7128
|
return (s, i) => {
|
|
7129
|
-
const c =
|
|
7129
|
+
const c = Er;
|
|
7130
7130
|
return g(), x(a(ku), { toaster: a(o) }, {
|
|
7131
7131
|
default: _((l) => [
|
|
7132
7132
|
C(a(go).Root, {
|
|
@@ -7196,7 +7196,7 @@ function Nu(e, t) {
|
|
|
7196
7196
|
}, null, -1)
|
|
7197
7197
|
])]);
|
|
7198
7198
|
}
|
|
7199
|
-
const
|
|
7199
|
+
const Br = Q({ name: "heroicons-chevron-down", render: Nu }), Mu = {
|
|
7200
7200
|
key: 0,
|
|
7201
7201
|
class: "text-center text-gray-500 py-8"
|
|
7202
7202
|
}, Au = { key: 0 }, Fu = { key: 1 }, Lu = {
|
|
@@ -7228,7 +7228,7 @@ const Pr = Q({ name: "heroicons-chevron-down", render: Nu }), Mu = {
|
|
|
7228
7228
|
i.value = null;
|
|
7229
7229
|
};
|
|
7230
7230
|
return (d, u) => {
|
|
7231
|
-
const f =
|
|
7231
|
+
const f = Br;
|
|
7232
7232
|
return Object.keys(d.blocksByCategory).length === 0 ? (g(), T("div", Mu, [
|
|
7233
7233
|
d.searchQuery.trim() ? (g(), T("p", Au, z(a(r)("blocksPopover.noBlocksFound")) + ' "' + z(d.searchQuery) + '"', 1)) : (g(), T("p", Fu, z(a(r)("blocksPopover.noBlocksAvailable")), 1))
|
|
7234
7234
|
])) : (g(), T("div", Lu, [
|
|
@@ -7345,7 +7345,7 @@ function ap(e, t) {
|
|
|
7345
7345
|
const R = i.value[y];
|
|
7346
7346
|
return R ? R.children.map((W) => i.value[W]).filter(Boolean) : [];
|
|
7347
7347
|
}, v = () => {
|
|
7348
|
-
const y =
|
|
7348
|
+
const y = mr(n.getPage());
|
|
7349
7349
|
s.value = y, oo(() => {
|
|
7350
7350
|
l.value = n.canUndo(), d.value = n.canRedo();
|
|
7351
7351
|
});
|
|
@@ -7515,7 +7515,7 @@ function ao() {
|
|
|
7515
7515
|
}
|
|
7516
7516
|
};
|
|
7517
7517
|
}
|
|
7518
|
-
function
|
|
7518
|
+
function Sr() {
|
|
7519
7519
|
const e = xe(ke);
|
|
7520
7520
|
if (!e)
|
|
7521
7521
|
throw new Error("useLayersPanel must be used within a component that has access to CraftileEditor");
|
|
@@ -7574,7 +7574,7 @@ const lp = {
|
|
|
7574
7574
|
}, cp = /* @__PURE__ */ O({
|
|
7575
7575
|
__name: "BlocksPopover",
|
|
7576
7576
|
setup(e) {
|
|
7577
|
-
const { t } = Ce(), o = wi(), { engine: n, insertBlock: r, insertBlockFromPreset: s } = De(), { getAllowedBlockSchemas: i, expandPresetsToBlockOptions: c } = ao(), { setExpanded: l } =
|
|
7577
|
+
const { t } = Ce(), o = wi(), { engine: n, insertBlock: r, insertBlockFromPreset: s } = De(), { getAllowedBlockSchemas: i, expandPresetsToBlockOptions: c } = ao(), { setExpanded: l } = Sr(), d = re(null), u = re(null), f = re(""), m = re([]), p = b(() => m.value.length > 0), v = bi({
|
|
7578
7578
|
id: "blocks-popover",
|
|
7579
7579
|
portalled: !0,
|
|
7580
7580
|
closeOnInteractOutside: !0,
|
|
@@ -7642,9 +7642,9 @@ const lp = {
|
|
|
7642
7642
|
default: _(() => [
|
|
7643
7643
|
C(a(st).Content, { class: "bg-white shadow rounded-md w-[640px] h-[520px] border flex flex-col" }, {
|
|
7644
7644
|
default: _(() => [
|
|
7645
|
-
C(a(
|
|
7645
|
+
C(a(Kr).Root, { class: "flex-none p-2" }, {
|
|
7646
7646
|
default: _(() => [
|
|
7647
|
-
C(a(
|
|
7647
|
+
C(a(Kr).Input, {
|
|
7648
7648
|
modelValue: a(f),
|
|
7649
7649
|
"onUpdate:modelValue": N[0] || (N[0] = (M) => bt(f) ? f.value = M : null),
|
|
7650
7650
|
class: "rounded border w-full text-sm h-8 px-3 focus-visible:ring-2 focus-visible:border-transparent focus-visible:ring-accent focus-visible:outline-none",
|
|
@@ -7749,7 +7749,7 @@ function gp(e, t) {
|
|
|
7749
7749
|
}, null, -1)
|
|
7750
7750
|
])]);
|
|
7751
7751
|
}
|
|
7752
|
-
const
|
|
7752
|
+
const $r = Q({ name: "heroicons-trash", render: gp }), fp = {
|
|
7753
7753
|
viewBox: "0 0 24 24",
|
|
7754
7754
|
width: "1.2em",
|
|
7755
7755
|
height: "1.2em"
|
|
@@ -7766,7 +7766,7 @@ function mp(e, t) {
|
|
|
7766
7766
|
}, null, -1)
|
|
7767
7767
|
])]);
|
|
7768
7768
|
}
|
|
7769
|
-
const
|
|
7769
|
+
const Rr = Q({ name: "heroicons-eye-slash", render: mp }), vp = {
|
|
7770
7770
|
viewBox: "0 0 24 24",
|
|
7771
7771
|
width: "1.2em",
|
|
7772
7772
|
height: "1.2em"
|
|
@@ -7785,7 +7785,7 @@ function bp(e, t) {
|
|
|
7785
7785
|
], -1)
|
|
7786
7786
|
])]);
|
|
7787
7787
|
}
|
|
7788
|
-
const
|
|
7788
|
+
const Dr = Q({ name: "heroicons-eye", render: bp }), yp = {
|
|
7789
7789
|
viewBox: "0 0 24 24",
|
|
7790
7790
|
width: "1.2em",
|
|
7791
7791
|
height: "1.2em"
|
|
@@ -8045,7 +8045,7 @@ const Rp = {
|
|
|
8045
8045
|
!d.value || d.value.static || (c(d.value.id), u());
|
|
8046
8046
|
}
|
|
8047
8047
|
return (j, E) => {
|
|
8048
|
-
const y = $p, R = Pp, W = Ci, te = wp, ae = kp, Ne =
|
|
8048
|
+
const y = $p, R = Pp, W = Ci, te = wp, ae = kp, Ne = Dr, je = Rr, Z = $r;
|
|
8049
8049
|
return a(d) ? (g(), T("div", Rp, [
|
|
8050
8050
|
w("div", Dp, [
|
|
8051
8051
|
t.isOverlay ? (g(), T("button", {
|
|
@@ -8965,7 +8965,7 @@ function Uh() {
|
|
|
8965
8965
|
const m = r.value;
|
|
8966
8966
|
if (!m || !c(f))
|
|
8967
8967
|
return;
|
|
8968
|
-
const p =
|
|
8968
|
+
const p = mr(m), k = t.getBlockById(f).parentId;
|
|
8969
8969
|
let P;
|
|
8970
8970
|
if (k)
|
|
8971
8971
|
P = t.getBlockById(k).children.indexOf(f) + 1, o(p, { parentId: k, index: P });
|
|
@@ -9119,7 +9119,7 @@ const Gh = /* @__PURE__ */ O({
|
|
|
9119
9119
|
B(t.blockId);
|
|
9120
9120
|
}
|
|
9121
9121
|
return (he, Pe) => {
|
|
9122
|
-
const Ee = Hh, He = Fh, Lo = Ci, Vt =
|
|
9122
|
+
const Ee = Hh, He = Fh, Lo = Ci, Vt = Dr, Pn = Rr, Bn = Nh, Sn = $h, $n = Ph, nt = Eh, Yi = xh, Ji = $r;
|
|
9123
9123
|
return a(u) ? (g(), x(a(se).Root, { key: 0 }, {
|
|
9124
9124
|
default: _(() => [
|
|
9125
9125
|
C(a(se).ContextTrigger, {
|
|
@@ -9342,12 +9342,12 @@ function eg(e, t) {
|
|
|
9342
9342
|
])]);
|
|
9343
9343
|
}
|
|
9344
9344
|
const tg = Q({ name: "heroicons-chevron-right", render: eg });
|
|
9345
|
-
var og = Object.defineProperty, pn = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable,
|
|
9345
|
+
var og = Object.defineProperty, pn = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, ls = (e, t, o) => t in e ? og(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, Yt = (e, t) => {
|
|
9346
9346
|
for (var o in t || (t = {}))
|
|
9347
|
-
Ti.call(t, o) &&
|
|
9347
|
+
Ti.call(t, o) && ls(e, o, t[o]);
|
|
9348
9348
|
if (pn)
|
|
9349
9349
|
for (var o of pn(t))
|
|
9350
|
-
Pi.call(t, o) &&
|
|
9350
|
+
Pi.call(t, o) && ls(e, o, t[o]);
|
|
9351
9351
|
return e;
|
|
9352
9352
|
}, Bi = (e, t) => {
|
|
9353
9353
|
var o = {};
|
|
@@ -9365,7 +9365,7 @@ function ng(e) {
|
|
|
9365
9365
|
function rg(e) {
|
|
9366
9366
|
console.error(Si + e);
|
|
9367
9367
|
}
|
|
9368
|
-
function
|
|
9368
|
+
function cs(e, t, o) {
|
|
9369
9369
|
return o >= 0 && o < e.length && e.splice(o, 0, e.splice(t, 1)[0]), e;
|
|
9370
9370
|
}
|
|
9371
9371
|
function sg(e) {
|
|
@@ -9374,10 +9374,10 @@ function sg(e) {
|
|
|
9374
9374
|
function ig(e) {
|
|
9375
9375
|
return Object.keys(e).reduce((t, o) => (typeof e[o] < "u" && (t[sg(o)] = e[o]), t), {});
|
|
9376
9376
|
}
|
|
9377
|
-
function
|
|
9377
|
+
function ds(e, t) {
|
|
9378
9378
|
return Array.isArray(e) && e.splice(t, 1), e;
|
|
9379
9379
|
}
|
|
9380
|
-
function
|
|
9380
|
+
function us(e, t, o) {
|
|
9381
9381
|
return Array.isArray(e) && e.splice(t, 0, o), e;
|
|
9382
9382
|
}
|
|
9383
9383
|
function ag(e) {
|
|
@@ -9386,7 +9386,7 @@ function ag(e) {
|
|
|
9386
9386
|
function lg(e) {
|
|
9387
9387
|
return typeof e == "string";
|
|
9388
9388
|
}
|
|
9389
|
-
function
|
|
9389
|
+
function ps(e, t, o) {
|
|
9390
9390
|
const n = e.children[o];
|
|
9391
9391
|
e.insertBefore(t, n);
|
|
9392
9392
|
}
|
|
@@ -9412,7 +9412,7 @@ function ug(e, t) {
|
|
|
9412
9412
|
function pg(e) {
|
|
9413
9413
|
return e instanceof HTMLElement;
|
|
9414
9414
|
}
|
|
9415
|
-
function
|
|
9415
|
+
function hs(e, t) {
|
|
9416
9416
|
Object.keys(e).forEach((o) => {
|
|
9417
9417
|
t(o, e[o]);
|
|
9418
9418
|
});
|
|
@@ -9428,7 +9428,7 @@ const gg = Object.assign;
|
|
|
9428
9428
|
* @author owenm <owen23355@gmail.com>
|
|
9429
9429
|
* @license MIT
|
|
9430
9430
|
*/
|
|
9431
|
-
function
|
|
9431
|
+
function gs(e, t) {
|
|
9432
9432
|
var o = Object.keys(e);
|
|
9433
9433
|
if (Object.getOwnPropertySymbols) {
|
|
9434
9434
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -9441,9 +9441,9 @@ function hs(e, t) {
|
|
|
9441
9441
|
function Ze(e) {
|
|
9442
9442
|
for (var t = 1; t < arguments.length; t++) {
|
|
9443
9443
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
9444
|
-
t % 2 ?
|
|
9444
|
+
t % 2 ? gs(Object(o), !0).forEach(function(n) {
|
|
9445
9445
|
fg(e, n, o[n]);
|
|
9446
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) :
|
|
9446
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : gs(Object(o)).forEach(function(n) {
|
|
9447
9447
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
9448
9448
|
});
|
|
9449
9449
|
}
|
|
@@ -9499,7 +9499,7 @@ function lt(e) {
|
|
|
9499
9499
|
if (typeof window < "u" && window.navigator)
|
|
9500
9500
|
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
9501
9501
|
}
|
|
9502
|
-
var pt = lt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ao = lt(/Edge/i),
|
|
9502
|
+
var pt = lt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ao = lt(/Edge/i), fs = lt(/firefox/i), Io = lt(/safari/i) && !lt(/chrome/i) && !lt(/android/i), $i = lt(/iP(ad|od|hone)/i), Ri = lt(/chrome/i) && lt(/android/i), Di = {
|
|
9503
9503
|
capture: !1,
|
|
9504
9504
|
passive: !1
|
|
9505
9505
|
};
|
|
@@ -9540,14 +9540,14 @@ function ze(e, t, o, n) {
|
|
|
9540
9540
|
}
|
|
9541
9541
|
return null;
|
|
9542
9542
|
}
|
|
9543
|
-
var
|
|
9543
|
+
var ms = /\s+/g;
|
|
9544
9544
|
function Ae(e, t, o) {
|
|
9545
9545
|
if (e && t)
|
|
9546
9546
|
if (e.classList)
|
|
9547
9547
|
e.classList[o ? "add" : "remove"](t);
|
|
9548
9548
|
else {
|
|
9549
|
-
var n = (" " + e.className + " ").replace(
|
|
9550
|
-
e.className = (n + (o ? " " + t : "")).replace(
|
|
9549
|
+
var n = (" " + e.className + " ").replace(ms, " ").replace(" " + t + " ", " ");
|
|
9550
|
+
e.className = (n + (o ? " " + t : "")).replace(ms, " ");
|
|
9551
9551
|
}
|
|
9552
9552
|
}
|
|
9553
9553
|
function K(e, t, o) {
|
|
@@ -9609,7 +9609,7 @@ function me(e, t, o, n, r) {
|
|
|
9609
9609
|
};
|
|
9610
9610
|
}
|
|
9611
9611
|
}
|
|
9612
|
-
function
|
|
9612
|
+
function vs(e, t, o) {
|
|
9613
9613
|
for (var n = vt(e, !0), r = me(e)[t]; n; ) {
|
|
9614
9614
|
var s = me(n)[o], i = void 0;
|
|
9615
9615
|
if (i = r >= s, !i)
|
|
@@ -9631,7 +9631,7 @@ function eo(e, t, o, n) {
|
|
|
9631
9631
|
}
|
|
9632
9632
|
return null;
|
|
9633
9633
|
}
|
|
9634
|
-
function
|
|
9634
|
+
function Nr(e, t) {
|
|
9635
9635
|
for (var o = e.lastElementChild; o && (o === q.ghost || K(o, "display") === "none" || t && !hn(o, t)); )
|
|
9636
9636
|
o = o.previousElementSibling;
|
|
9637
9637
|
return o || null;
|
|
@@ -9644,7 +9644,7 @@ function Ge(e, t) {
|
|
|
9644
9644
|
e.nodeName.toUpperCase() !== "TEMPLATE" && e !== q.clone && (!t || hn(e, t)) && o++;
|
|
9645
9645
|
return o;
|
|
9646
9646
|
}
|
|
9647
|
-
function
|
|
9647
|
+
function bs(e) {
|
|
9648
9648
|
var t = 0, o = 0, n = Qe();
|
|
9649
9649
|
if (e)
|
|
9650
9650
|
do {
|
|
@@ -9899,7 +9899,7 @@ function Te(e) {
|
|
|
9899
9899
|
newDraggableIndex: ft
|
|
9900
9900
|
}, e));
|
|
9901
9901
|
}
|
|
9902
|
-
var D, ue, Y, le, Pt, tn, de, mt, Jt, Fe, wo, ft, Xo, Ie, Xt = !1, gn = !1, fn = [], Ot, We, jn, Wn,
|
|
9902
|
+
var D, ue, Y, le, Pt, tn, de, mt, Jt, Fe, wo, ft, Xo, Ie, Xt = !1, gn = !1, fn = [], Ot, We, jn, Wn, ys, _s, vo, Kt, Co, Eo = !1, Yo = !1, on, we, zn = [], ur = !1, mn = [], On = typeof document < "u", Jo = $i, ks = Ao || pt ? "cssFloat" : "float", Tg = On && !Ri && !$i && "draggable" in document.createElement("div"), Vi = (function() {
|
|
9903
9903
|
if (On) {
|
|
9904
9904
|
if (pt)
|
|
9905
9905
|
return !1;
|
|
@@ -9916,7 +9916,7 @@ var D, ue, Y, le, Pt, tn, de, mt, Jt, Fe, wo, ft, Xo, Ie, Xt = !1, gn = !1, fn =
|
|
|
9916
9916
|
var u = i.float === "left" ? "left" : "right";
|
|
9917
9917
|
return s && (c.clear === "both" || c.clear === u) ? "vertical" : "horizontal";
|
|
9918
9918
|
}
|
|
9919
|
-
return r && (i.display === "block" || i.display === "flex" || i.display === "table" || i.display === "grid" || l >= n && o[
|
|
9919
|
+
return r && (i.display === "block" || i.display === "flex" || i.display === "table" || i.display === "grid" || l >= n && o[ks] === "none" || s && o[ks] === "none" && l + d > n) ? "vertical" : "horizontal";
|
|
9920
9920
|
}, Pg = function(e, t, o) {
|
|
9921
9921
|
var n = o ? e.left : e.top, r = o ? e.right : e.bottom, s = o ? e.width : e.height, i = o ? t.left : t.top, c = o ? t.right : t.bottom, l = o ? t.width : t.height;
|
|
9922
9922
|
return n === i || r === c || n + s / 2 === i + l / 2;
|
|
@@ -9924,7 +9924,7 @@ var D, ue, Y, le, Pt, tn, de, mt, Jt, Fe, wo, ft, Xo, Ie, Xt = !1, gn = !1, fn =
|
|
|
9924
9924
|
var o;
|
|
9925
9925
|
return fn.some(function(n) {
|
|
9926
9926
|
var r = n[Le].options.emptyInsertThreshold;
|
|
9927
|
-
if (!(!r ||
|
|
9927
|
+
if (!(!r || Nr(n))) {
|
|
9928
9928
|
var s = me(n), i = e >= s.left - r && e <= s.right + r, c = t >= s.top - r && t <= s.bottom + r;
|
|
9929
9929
|
if (i && c)
|
|
9930
9930
|
return o = n;
|
|
@@ -10085,21 +10085,21 @@ q.prototype = /** @lends Sortable.prototype */
|
|
|
10085
10085
|
target: D,
|
|
10086
10086
|
clientX: (t || e).clientX,
|
|
10087
10087
|
clientY: (t || e).clientY
|
|
10088
|
-
},
|
|
10088
|
+
}, ys = Ot.clientX - l.left, _s = Ot.clientY - l.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, D.style["will-change"] = "all", c = function() {
|
|
10089
10089
|
if (Be("delayEnded", n, {
|
|
10090
10090
|
evt: e
|
|
10091
10091
|
}), q.eventCanceled) {
|
|
10092
10092
|
n._onDrop();
|
|
10093
10093
|
return;
|
|
10094
10094
|
}
|
|
10095
|
-
n._disableDelayedDragEvents(), !
|
|
10095
|
+
n._disableDelayedDragEvents(), !fs && n.nativeDraggable && (D.draggable = !0), n._triggerDragStart(e, t), Te({
|
|
10096
10096
|
sortable: n,
|
|
10097
10097
|
name: "choose",
|
|
10098
10098
|
originalEvent: e
|
|
10099
10099
|
}), Ae(D, s.chosenClass, !0);
|
|
10100
10100
|
}, s.ignore.split(",").forEach(function(d) {
|
|
10101
10101
|
Ni(D, d.trim(), Kn);
|
|
10102
|
-
}), ne(i, "dragover", Tt), ne(i, "mousemove", Tt), ne(i, "touchmove", Tt), ne(i, "mouseup", n._onDrop), ne(i, "touchend", n._onDrop), ne(i, "touchcancel", n._onDrop),
|
|
10102
|
+
}), ne(i, "dragover", Tt), ne(i, "mousemove", Tt), ne(i, "touchmove", Tt), ne(i, "mouseup", n._onDrop), ne(i, "touchend", n._onDrop), ne(i, "touchcancel", n._onDrop), fs && this.nativeDraggable && (this.options.touchStartThreshold = 4, D.draggable = !0), Be("delayStart", this, {
|
|
10103
10103
|
evt: e
|
|
10104
10104
|
}), s.delay && (!s.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Ao || pt))) {
|
|
10105
10105
|
if (q.eventCanceled) {
|
|
@@ -10169,7 +10169,7 @@ q.prototype = /** @lends Sortable.prototype */
|
|
|
10169
10169
|
},
|
|
10170
10170
|
_onTouchMove: function(e) {
|
|
10171
10171
|
if (Ot) {
|
|
10172
|
-
var t = this.options, o = t.fallbackTolerance, n = t.fallbackOffset, r = e.touches ? e.touches[0] : e, s = Y && Zt(Y, !0), i = Y && s && s.a, c = Y && s && s.d, l = Jo && we &&
|
|
10172
|
+
var t = this.options, o = t.fallbackTolerance, n = t.fallbackOffset, r = e.touches ? e.touches[0] : e, s = Y && Zt(Y, !0), i = Y && s && s.a, c = Y && s && s.d, l = Jo && we && bs(we), d = (r.clientX - Ot.clientX + n.x) / (i || 1) + (l ? l[0] - zn[0] : 0) / (i || 1), u = (r.clientY - Ot.clientY + n.y) / (c || 1) + (l ? l[1] - zn[1] : 0) / (c || 1);
|
|
10173
10173
|
if (!q.active && !Xt) {
|
|
10174
10174
|
if (o && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < o)
|
|
10175
10175
|
return;
|
|
@@ -10196,9 +10196,9 @@ q.prototype = /** @lends Sortable.prototype */
|
|
|
10196
10196
|
if (Jo) {
|
|
10197
10197
|
for (we = e; K(we, "position") === "static" && K(we, "transform") === "none" && we !== document; )
|
|
10198
10198
|
we = we.parentNode;
|
|
10199
|
-
we !== document.body && we !== document.documentElement ? (we === document && (we = Qe()), t.top += we.scrollTop, t.left += we.scrollLeft) : we = Qe(), zn =
|
|
10199
|
+
we !== document.body && we !== document.documentElement ? (we === document && (we = Qe()), t.top += we.scrollTop, t.left += we.scrollLeft) : we = Qe(), zn = bs(we);
|
|
10200
10200
|
}
|
|
10201
|
-
Y = D.cloneNode(!0), Ae(Y, o.ghostClass, !1), Ae(Y, o.fallbackClass, !0), Ae(Y, o.dragClass, !0), K(Y, "transition", ""), K(Y, "transform", ""), K(Y, "box-sizing", "border-box"), K(Y, "margin", 0), K(Y, "top", t.top), K(Y, "left", t.left), K(Y, "width", t.width), K(Y, "height", t.height), K(Y, "opacity", "0.8"), K(Y, "position", Jo ? "absolute" : "fixed"), K(Y, "zIndex", "100000"), K(Y, "pointerEvents", "none"), q.ghost = Y, e.appendChild(Y), K(Y, "transform-origin",
|
|
10201
|
+
Y = D.cloneNode(!0), Ae(Y, o.ghostClass, !1), Ae(Y, o.fallbackClass, !0), Ae(Y, o.dragClass, !0), K(Y, "transition", ""), K(Y, "transform", ""), K(Y, "box-sizing", "border-box"), K(Y, "margin", 0), K(Y, "top", t.top), K(Y, "left", t.left), K(Y, "width", t.width), K(Y, "height", t.height), K(Y, "opacity", "0.8"), K(Y, "position", Jo ? "absolute" : "fixed"), K(Y, "zIndex", "100000"), K(Y, "pointerEvents", "none"), q.ghost = Y, e.appendChild(Y), K(Y, "transform-origin", ys / parseInt(Y.style.width) * 100 + "% " + _s / parseInt(Y.style.height) * 100 + "%");
|
|
10202
10202
|
}
|
|
10203
10203
|
},
|
|
10204
10204
|
_onDragStart: function(e, t) {
|
|
@@ -10268,7 +10268,7 @@ q.prototype = /** @lends Sortable.prototype */
|
|
|
10268
10268
|
return v;
|
|
10269
10269
|
if (s)
|
|
10270
10270
|
return ue = le, P(), this._hideClone(), k("revert"), q.eventCanceled || (Pt ? le.insertBefore(D, Pt) : le.appendChild(D)), B(!0);
|
|
10271
|
-
var S =
|
|
10271
|
+
var S = Nr(t, i.draggable);
|
|
10272
10272
|
if (!S || Ng(e, m, this) && !S.animated) {
|
|
10273
10273
|
if (S === D)
|
|
10274
10274
|
return B(!1);
|
|
@@ -10282,7 +10282,7 @@ q.prototype = /** @lends Sortable.prototype */
|
|
|
10282
10282
|
return P(), t.insertBefore(D, h), ue = t, V(), B(!0);
|
|
10283
10283
|
} else if (o.parentNode === t) {
|
|
10284
10284
|
r = me(o);
|
|
10285
|
-
var I = 0, N, U = D.parentNode !== t, M = !Pg(D.animated && D.toRect || n, o.animated && o.toRect || r, m), A = m ? "top" : "left", L =
|
|
10285
|
+
var I = 0, N, U = D.parentNode !== t, M = !Pg(D.animated && D.toRect || n, o.animated && o.toRect || r, m), A = m ? "top" : "left", L = vs(o, "top", "top") || vs(D, "top", "top"), j = L ? L.scrollTop : void 0;
|
|
10286
10286
|
Kt !== o && (N = r[A], Eo = !1, Yo = !M && i.invertSwap || U), I = Mg(e, o, r, m, M ? 1 : i.swapThreshold, i.invertedSwapThreshold == null ? i.swapThreshold : i.invertedSwapThreshold, Yo, Kt === o);
|
|
10287
10287
|
var E;
|
|
10288
10288
|
if (I !== 0) {
|
|
@@ -10488,7 +10488,7 @@ function Dg(e, t, o) {
|
|
|
10488
10488
|
return t ? e.clientX < r.left - s || e.clientY < n.top && e.clientX < n.right : e.clientY < r.top - s || e.clientY < n.bottom && e.clientX < n.left;
|
|
10489
10489
|
}
|
|
10490
10490
|
function Ng(e, t, o) {
|
|
10491
|
-
var n = me(
|
|
10491
|
+
var n = me(Nr(o.el, o.options.draggable)), r = Li(o.el, o.options, Y), s = 10;
|
|
10492
10492
|
return t ? e.clientX > r.right + s || e.clientY > n.bottom && e.clientX > n.left : e.clientY > r.bottom + s || e.clientX > n.right && e.clientY > n.top;
|
|
10493
10493
|
}
|
|
10494
10494
|
function Mg(e, t, o, n, r, s, i, c) {
|
|
@@ -10586,7 +10586,7 @@ function Vg() {
|
|
|
10586
10586
|
!this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
|
|
10587
10587
|
},
|
|
10588
10588
|
drop: function() {
|
|
10589
|
-
this.sortable.nativeDraggable ? oe(document, "dragover", this._handleAutoScroll) : (oe(document, "pointermove", this._handleFallbackAutoScroll), oe(document, "touchmove", this._handleFallbackAutoScroll), oe(document, "mousemove", this._handleFallbackAutoScroll)),
|
|
10589
|
+
this.sortable.nativeDraggable ? oe(document, "dragover", this._handleAutoScroll) : (oe(document, "pointermove", this._handleFallbackAutoScroll), oe(document, "touchmove", this._handleFallbackAutoScroll), oe(document, "mousemove", this._handleFallbackAutoScroll)), Is(), rn(), Ig();
|
|
10590
10590
|
},
|
|
10591
10591
|
nulling: function() {
|
|
10592
10592
|
vn = hr = bo = gr = yo = qn = Xn = null, fe.length = 0;
|
|
@@ -10599,7 +10599,7 @@ function Vg() {
|
|
|
10599
10599
|
if (vn = t, o || this.options.forceAutoScrollFallback || Ao || pt || Io) {
|
|
10600
10600
|
Yn(t, this.options, i, o);
|
|
10601
10601
|
var c = vt(i, !0);
|
|
10602
|
-
gr && (!yo || r !== qn || s !== Xn) && (yo &&
|
|
10602
|
+
gr && (!yo || r !== qn || s !== Xn) && (yo && Is(), yo = setInterval(function() {
|
|
10603
10603
|
var l = vt(document.elementFromPoint(r, s), !0);
|
|
10604
10604
|
l !== c && (c = l, rn()), Yn(t, n.options, l, o);
|
|
10605
10605
|
}, 10), qn = r, Xn = s);
|
|
@@ -10621,7 +10621,7 @@ function rn() {
|
|
|
10621
10621
|
clearInterval(e.pid);
|
|
10622
10622
|
}), fe = [];
|
|
10623
10623
|
}
|
|
10624
|
-
function
|
|
10624
|
+
function Is() {
|
|
10625
10625
|
clearInterval(yo);
|
|
10626
10626
|
}
|
|
10627
10627
|
var Yn = Mi(function(e, t, o, n) {
|
|
@@ -10658,9 +10658,9 @@ var Yn = Mi(function(e, t, o, n) {
|
|
|
10658
10658
|
}));
|
|
10659
10659
|
}
|
|
10660
10660
|
};
|
|
10661
|
-
function
|
|
10661
|
+
function Mr() {
|
|
10662
10662
|
}
|
|
10663
|
-
|
|
10663
|
+
Mr.prototype = {
|
|
10664
10664
|
startIndex: null,
|
|
10665
10665
|
dragStart: function(e) {
|
|
10666
10666
|
var t = e.oldDraggableIndex;
|
|
@@ -10674,34 +10674,34 @@ Nr.prototype = {
|
|
|
10674
10674
|
},
|
|
10675
10675
|
drop: Wi
|
|
10676
10676
|
};
|
|
10677
|
-
ct(
|
|
10677
|
+
ct(Mr, {
|
|
10678
10678
|
pluginName: "revertOnSpill"
|
|
10679
10679
|
});
|
|
10680
|
-
function
|
|
10680
|
+
function Ar() {
|
|
10681
10681
|
}
|
|
10682
|
-
|
|
10682
|
+
Ar.prototype = {
|
|
10683
10683
|
onSpill: function(e) {
|
|
10684
10684
|
var t = e.dragEl, o = e.putSortable, n = o || this.sortable;
|
|
10685
10685
|
n.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), n.animateAll();
|
|
10686
10686
|
},
|
|
10687
10687
|
drop: Wi
|
|
10688
10688
|
};
|
|
10689
|
-
ct(
|
|
10689
|
+
ct(Ar, {
|
|
10690
10690
|
pluginName: "removeOnSpill"
|
|
10691
10691
|
});
|
|
10692
10692
|
q.mount(new Vg());
|
|
10693
|
-
q.mount(
|
|
10693
|
+
q.mount(Ar, Mr);
|
|
10694
10694
|
function Hg(e) {
|
|
10695
10695
|
return e == null ? e : JSON.parse(JSON.stringify(e));
|
|
10696
10696
|
}
|
|
10697
10697
|
function Ug(e) {
|
|
10698
|
-
|
|
10698
|
+
vr() && Bo(e);
|
|
10699
10699
|
}
|
|
10700
10700
|
function Gg(e) {
|
|
10701
|
-
|
|
10701
|
+
vr() ? et(e) : oo(e);
|
|
10702
10702
|
}
|
|
10703
10703
|
let zi = null, Ki = null;
|
|
10704
|
-
function
|
|
10704
|
+
function xs(e = null, t = null) {
|
|
10705
10705
|
zi = e, Ki = t;
|
|
10706
10706
|
}
|
|
10707
10707
|
function jg() {
|
|
@@ -10710,10 +10710,10 @@ function jg() {
|
|
|
10710
10710
|
clonedData: Ki
|
|
10711
10711
|
};
|
|
10712
10712
|
}
|
|
10713
|
-
const
|
|
10713
|
+
const ws = Symbol("cloneElement");
|
|
10714
10714
|
function Wg(...e) {
|
|
10715
10715
|
var t, o;
|
|
10716
|
-
const n = (t =
|
|
10716
|
+
const n = (t = vr()) == null ? void 0 : t.proxy;
|
|
10717
10717
|
let r = null;
|
|
10718
10718
|
const s = e[0];
|
|
10719
10719
|
let [, i, c] = e;
|
|
@@ -10729,31 +10729,31 @@ function Wg(...e) {
|
|
|
10729
10729
|
const { from: L, oldIndex: j, item: E } = M;
|
|
10730
10730
|
r = Array.from(L.childNodes);
|
|
10731
10731
|
const y = a((A = a(i)) == null ? void 0 : A[j]), R = u(y);
|
|
10732
|
-
|
|
10732
|
+
xs(y, R), E[ws] = R;
|
|
10733
10733
|
}
|
|
10734
10734
|
function p(M) {
|
|
10735
|
-
const A = M.item[
|
|
10735
|
+
const A = M.item[ws];
|
|
10736
10736
|
if (!ag(A)) {
|
|
10737
10737
|
if (Hn(M.item), bt(i)) {
|
|
10738
10738
|
const L = [...a(i)];
|
|
10739
|
-
i.value =
|
|
10739
|
+
i.value = us(L, M.newDraggableIndex, A);
|
|
10740
10740
|
return;
|
|
10741
10741
|
}
|
|
10742
|
-
|
|
10742
|
+
us(a(i), M.newDraggableIndex, A);
|
|
10743
10743
|
}
|
|
10744
10744
|
}
|
|
10745
10745
|
function v(M) {
|
|
10746
10746
|
const { from: A, item: L, oldIndex: j, oldDraggableIndex: E, pullMode: y, clone: R } = M;
|
|
10747
|
-
if (
|
|
10747
|
+
if (ps(A, L, j), y === "clone") {
|
|
10748
10748
|
Hn(R);
|
|
10749
10749
|
return;
|
|
10750
10750
|
}
|
|
10751
10751
|
if (bt(i)) {
|
|
10752
10752
|
const W = [...a(i)];
|
|
10753
|
-
i.value =
|
|
10753
|
+
i.value = ds(W, E);
|
|
10754
10754
|
return;
|
|
10755
10755
|
}
|
|
10756
|
-
|
|
10756
|
+
ds(a(i), E);
|
|
10757
10757
|
}
|
|
10758
10758
|
function k(M) {
|
|
10759
10759
|
if (f) {
|
|
@@ -10761,16 +10761,16 @@ function Wg(...e) {
|
|
|
10761
10761
|
return;
|
|
10762
10762
|
}
|
|
10763
10763
|
const { from: A, item: L, oldIndex: j, oldDraggableIndex: E, newDraggableIndex: y } = M;
|
|
10764
|
-
if (Hn(L),
|
|
10764
|
+
if (Hn(L), ps(A, L, j), bt(i)) {
|
|
10765
10765
|
const R = [...a(i)];
|
|
10766
|
-
i.value =
|
|
10766
|
+
i.value = cs(
|
|
10767
10767
|
R,
|
|
10768
10768
|
E,
|
|
10769
10769
|
y
|
|
10770
10770
|
);
|
|
10771
10771
|
return;
|
|
10772
10772
|
}
|
|
10773
|
-
|
|
10773
|
+
cs(a(i), E, y);
|
|
10774
10774
|
}
|
|
10775
10775
|
function P(M) {
|
|
10776
10776
|
const { newIndex: A, oldIndex: L, from: j, to: E } = M;
|
|
@@ -10792,7 +10792,7 @@ function Wg(...e) {
|
|
|
10792
10792
|
r = null;
|
|
10793
10793
|
}
|
|
10794
10794
|
oo(() => {
|
|
10795
|
-
if (
|
|
10795
|
+
if (xs(), y)
|
|
10796
10796
|
throw y;
|
|
10797
10797
|
});
|
|
10798
10798
|
}
|
|
@@ -10810,7 +10810,7 @@ function Wg(...e) {
|
|
|
10810
10810
|
function S() {
|
|
10811
10811
|
var M;
|
|
10812
10812
|
const A = (M = a(c)) != null ? M : {}, { immediate: L, clone: j } = A, E = Bi(A, ["immediate", "clone"]);
|
|
10813
|
-
return
|
|
10813
|
+
return hs(E, (y, R) => {
|
|
10814
10814
|
hg(y) && (E[y] = (W, ...te) => {
|
|
10815
10815
|
const ae = jg();
|
|
10816
10816
|
return gg(W, ae), R(W, ...te);
|
|
@@ -10826,7 +10826,7 @@ function Wg(...e) {
|
|
|
10826
10826
|
bn(
|
|
10827
10827
|
() => c,
|
|
10828
10828
|
() => {
|
|
10829
|
-
l &&
|
|
10829
|
+
l && hs(S(), (M, A) => {
|
|
10830
10830
|
l?.option(M, A);
|
|
10831
10831
|
});
|
|
10832
10832
|
},
|
|
@@ -10983,7 +10983,7 @@ const Xg = ["data-block-id"], Yg = ["data-block-id", "data-selected"], Jg = {
|
|
|
10983
10983
|
toggle: d,
|
|
10984
10984
|
moveChild: u,
|
|
10985
10985
|
schema: f
|
|
10986
|
-
} = Oi(t.blockId), { isExpanded: m, toggleExpanded: p } =
|
|
10986
|
+
} = Oi(t.blockId), { isExpanded: m, toggleExpanded: p } = Sr(), { getBlockLabelReactive: v, getBlockSchemaNameReactive: k } = qg(), { selectedBlockId: P, selectBlock: B } = Lt(), { open: V } = ao(), { engine: S, moveBlock: h, removeBlock: I, blocks: N } = De(), U = b(() => P.value === t.blockId), M = b(() => m(t.blockId)), A = b(() => r.value?.static === !0), L = b(() => r.value?.repeated === !0), j = k(t.blockId), E = v(t.blockId), y = b(() => f.value?.meta?.icon), R = b(() => !l.value || l.value.static !== !0);
|
|
10987
10987
|
function W(Z) {
|
|
10988
10988
|
const ee = Z.target, Me = {
|
|
10989
10989
|
parentId: t.blockId,
|
|
@@ -11038,7 +11038,7 @@ const Xg = ["data-block-id"], Yg = ["data-block-id", "data-selected"], Jg = {
|
|
|
11038
11038
|
I(t.blockId);
|
|
11039
11039
|
}
|
|
11040
11040
|
return (Z, ee) => {
|
|
11041
|
-
const Me = tg, he = Qh, Pe = Xh, Ee = zh, He =
|
|
11041
|
+
const Me = tg, he = Qh, Pe = Xh, Ee = zh, He = Rr, Lo = Dr, Vt = $r, Pn = Gh, Bn = Zi("BlockItem", !0), Sn = En, $n = _h;
|
|
11042
11042
|
return a(r) ? (g(), T("div", {
|
|
11043
11043
|
key: 0,
|
|
11044
11044
|
class: ye({ "bg-gray-100": a(n), "is-static": a(A) }),
|
|
@@ -11205,7 +11205,7 @@ const gf = { class: "h-full flex flex-col overflow-y-hidden relative" }, ff = {
|
|
|
11205
11205
|
}, wf = /* @__PURE__ */ O({
|
|
11206
11206
|
__name: "LayersPanel",
|
|
11207
11207
|
setup(e) {
|
|
11208
|
-
const { t } = Ce(), { regions: o, moveBlock: n } = De(), { collapseRegion: r, expandAncestors: s } =
|
|
11208
|
+
const { t } = Ce(), { regions: o, moveBlock: n } = De(), { collapseRegion: r, expandAncestors: s } = Sr(), { open: i } = ao(), c = wi(), { isExtraExtraLarge: l } = Xi(), { hasSelection: d } = Lt();
|
|
11209
11209
|
c.on("ui:block:select", (v) => {
|
|
11210
11210
|
s(v.blockId), oo(() => {
|
|
11211
11211
|
const k = document.querySelector(`[data-block-id="${v.blockId}"]`);
|
|
@@ -11626,10 +11626,10 @@ const qf = { class: "text-xs whitespace-nowrap capitalize max-w-[120px] overflow
|
|
|
11626
11626
|
addCustomDevice: c,
|
|
11627
11627
|
removeCustomDevice: l
|
|
11628
11628
|
} = js(), d = re(!1), u = re(768), f = {
|
|
11629
|
-
desktop:
|
|
11630
|
-
tablet:
|
|
11629
|
+
desktop: Ur,
|
|
11630
|
+
tablet: Hr,
|
|
11631
11631
|
mobile: Ba
|
|
11632
|
-
}, m = (B) => f[B || "desktop"] ||
|
|
11632
|
+
}, m = (B) => f[B || "desktop"] || Ur, p = () => m(n.value.icon), v = (B) => {
|
|
11633
11633
|
i(B), d.value = !1;
|
|
11634
11634
|
}, k = () => {
|
|
11635
11635
|
const B = `custom-${u.value}`;
|
|
@@ -11642,7 +11642,7 @@ const qf = { class: "text-xs whitespace-nowrap capitalize max-w-[120px] overflow
|
|
|
11642
11642
|
l(B);
|
|
11643
11643
|
};
|
|
11644
11644
|
return (B, V) => {
|
|
11645
|
-
const S =
|
|
11645
|
+
const S = Br, h = so, I = Er, N = Hr;
|
|
11646
11646
|
return g(), x(a(st).Root, {
|
|
11647
11647
|
open: a(d),
|
|
11648
11648
|
"onUpdate:open": V[1] || (V[1] = (U) => bt(d) ? d.value = U : null),
|
|
@@ -11909,7 +11909,7 @@ function Rm(e) {
|
|
|
11909
11909
|
order: -10
|
|
11910
11910
|
});
|
|
11911
11911
|
}
|
|
11912
|
-
const
|
|
11912
|
+
const Cs = ({ editor: e }) => {
|
|
11913
11913
|
const t = e.engine;
|
|
11914
11914
|
t && t.canUndo() && t.undo();
|
|
11915
11915
|
}, Jn = ({ editor: e }) => {
|
|
@@ -11919,10 +11919,10 @@ const ws = ({ editor: e }) => {
|
|
|
11919
11919
|
function Dm(e) {
|
|
11920
11920
|
e.registerKeyboardShortcut({
|
|
11921
11921
|
key: "ctrl+z",
|
|
11922
|
-
handler:
|
|
11922
|
+
handler: Cs
|
|
11923
11923
|
}), e.registerKeyboardShortcut({
|
|
11924
11924
|
key: "meta+z",
|
|
11925
|
-
handler:
|
|
11925
|
+
handler: Cs
|
|
11926
11926
|
}), e.registerKeyboardShortcut({
|
|
11927
11927
|
key: "ctrl+y",
|
|
11928
11928
|
handler: Jn
|
|
@@ -12001,10 +12001,10 @@ const Mm = { key: 0 }, Am = { class: "text-sm font-medium text-gray-700 capitali
|
|
|
12001
12001
|
}), Array.from(f.values());
|
|
12002
12002
|
}), l = b(() => c.value.length === 0 ? [] : [c.value[0].id]), d = (f) => o.value?.properties?.[f];
|
|
12003
12003
|
function u(f, m) {
|
|
12004
|
-
o.value && r(o.value.id, f, m);
|
|
12004
|
+
o.value && r(o.value.id, f, mr(m));
|
|
12005
12005
|
}
|
|
12006
12006
|
return (f, m) => {
|
|
12007
|
-
const p =
|
|
12007
|
+
const p = Br, v = Ra;
|
|
12008
12008
|
return a(o) ? (g(), T("div", Mm, [
|
|
12009
12009
|
a(s).length > 0 ? (g(), T(pe, { key: 0 }, [
|
|
12010
12010
|
a(i) ? (g(), x(a(Je).Root, {
|
|
@@ -12035,7 +12035,7 @@ const Mm = { key: 0 }, Am = { class: "text-sm font-medium text-gray-700 capitali
|
|
|
12035
12035
|
C(a(Je).ItemContent, { class: "overflow-hidden" }, {
|
|
12036
12036
|
default: _(() => [
|
|
12037
12037
|
w("div", Fm, [
|
|
12038
|
-
C(
|
|
12038
|
+
C(Fr, {
|
|
12039
12039
|
name: "property-field",
|
|
12040
12040
|
tag: "div",
|
|
12041
12041
|
class: "space-y-4"
|
|
@@ -12060,7 +12060,7 @@ const Mm = { key: 0 }, Am = { class: "text-sm font-medium text-gray-700 capitali
|
|
|
12060
12060
|
]),
|
|
12061
12061
|
_: 1
|
|
12062
12062
|
}, 8, ["default-value"])) : (g(), T("div", Lm, [
|
|
12063
|
-
C(
|
|
12063
|
+
C(Fr, {
|
|
12064
12064
|
name: "property-field",
|
|
12065
12065
|
tag: "div",
|
|
12066
12066
|
class: "space-y-4"
|