@praxisjs/devtools 0.2.28 → 0.2.30
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
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as f, jsx as u } from "@praxisjs/jsx/jsx-runtime";
|
|
2
|
-
import { StatelessComponent as k, StatefulComponent as
|
|
3
|
-
import { Component as x, State as
|
|
2
|
+
import { StatelessComponent as k, StatefulComponent as Q } from "@praxisjs/core";
|
|
3
|
+
import { Component as x, State as C, Prop as N, Emit as Ln, createMethodDecorator as An, createGetterObserverDecorator as Nn, createFieldDecorator as Bn, ClassBehavior as Rn, createClassDecorator as Un } from "@praxisjs/decorators";
|
|
4
4
|
import { render as Ft } from "@praxisjs/runtime";
|
|
5
|
-
import { computed as
|
|
6
|
-
const ir = "data:image/svg+xml,%3csvg%20width='1024'%20height='1024'%20viewBox='0%200%201024%201024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M605.411%20445.66L641.322%20498.293L641.342%20498.278L697.538%20578.57L742.673%20512.806L512.5%20178.878L281.327%20512.806L512.5%20848.182L603.519%20715.561L650.559%20782.134L512.701%20983L187%20510.478L512.701%2040L837%20510.478L698.206%20712.709L668.895%20671.104L604.033%20578.775L512%20712.504L373.199%20511.5L512.233%20309.092L584.13%20414.469L536.746%20480.456L513.69%20445.66L466.305%20511.5L512.166%20577.425L556.48%20513.91L605.411%20445.66Z'%20fill='url(%23paint0_linear_3024_20)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3024_20'%20x1='512'%20y1='40'%20x2='512'%20y2='983'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239B76FF'%20stop-opacity='0.86'/%3e%3cstop%20offset='1'%20stop-color='%232D246B'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Rn = '*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }:host{all:initial;display:block;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}input::placeholder{color:#6f6a8f}input:focus{outline:none;box-shadow:0 0 0 2px #9b90e64d}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#9b90e633;border-radius:2px}::-webkit-scrollbar-thumb:hover{background:#9b90e666}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.bottom-0{bottom:0}.bottom-5{bottom:1.25rem}.left-0{left:0}.right-0{right:0}.right-5{right:1.25rem}.top-0{top:0}.top-full{top:100%}.z-\\[2147483647\\]{z-index:2147483647}.z-10{z-index:10}.grid{display:grid}.grid-cols-\\[1\\.2fr_0\\.8fr_1fr_auto\\]{grid-template-columns:1.2fr .8fr 1fr auto}.m6{margin:1.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mr-\\[2px\\]{margin-right:2px}.ms{margin-inline-start:1rem}.mt-1{margin-top:.25rem}.box-border{box-sizing:border-box}.inline-block{display:inline-block}.h-\\[13px\\]{height:13px}.h-\\[22px\\]{height:22px}.h-\\[2px\\]{height:2px}.h-\\[32px\\]{height:32px}.h-\\[6px\\]{height:6px}.h-1,.h1{height:.25rem}.h-10{height:2.5rem}.h-3,.h3{height:.75rem}.h-7{height:1.75rem}.h-full{height:100%}.h-screen{height:100vh}.h2{height:.5rem}.max-w-\\[200px\\]{max-width:200px}.min-w-0{min-width:0}.w-\\[13px\\]{width:13px}.w-\\[22px\\]{width:22px}.w-\\[2px\\]{width:2px}.w-\\[6px\\]{width:6px}.w-1{width:.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-4{width:1rem}.w-full{width:100%}.w-px{width:1px}.flex{display:flex}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.cursor-\\[ew-resize\\]{cursor:ew-resize}.cursor-\\[ns-resize\\]{cursor:ns-resize}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-\\[2px\\]{gap:2px}.gap-\\[3px\\]{gap:3px}.gap-\\[6px\\]{gap:6px}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b,.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-border{--un-border-opacity:.25;border-color:rgba(155,144,230,var(--un-border-opacity))}.border-warn{--un-border-opacity:1;border-color:rgb(217 119 6 / var(--un-border-opacity))}.hover\\:border-accent:hover{--un-border-opacity:1;border-color:rgb(155 144 230 / var(--un-border-opacity))}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.bg-\\[rgba\\(124\\,109\\,214\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(124,109,214,var(--un-bg-opacity))}.bg-\\[rgba\\(14\\,165\\,122\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(14,165,122,var(--un-bg-opacity))}.bg-\\[rgba\\(155\\,144\\,230\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-\\[rgba\\(217\\,119\\,6\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(217,119,6,var(--un-bg-opacity))}.bg-\\[rgba\\(220\\,38\\,38\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(220,38,38,var(--un-bg-opacity))}.bg-\\[rgba\\(74\\,222\\,128\\,0\\.12\\)\\]{--un-bg-opacity:.12;background-color:rgba(74,222,128,var(--un-bg-opacity))}.bg-accent{--un-bg-opacity:1;background-color:rgb(155 144 230 / var(--un-bg-opacity))}.bg-bg{--un-bg-opacity:1;background-color:rgb(15 13 23 / var(--un-bg-opacity))}.bg-border{--un-bg-opacity:.25;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-header{--un-bg-opacity:1;background-color:rgb(22 19 38 / var(--un-bg-opacity))}.bg-input,.bg-section{--un-bg-opacity:1;background-color:rgb(27 24 48 / var(--un-bg-opacity))}.bg-selected{--un-bg-opacity:1;background-color:rgb(34 30 61 / var(--un-bg-opacity))}.bg-soft{--un-bg-opacity:.18;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-subtle{--un-bg-opacity:1;background-color:rgb(111 106 143 / var(--un-bg-opacity))}.bg-success{--un-bg-opacity:1;background-color:rgb(14 165 122 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.hover\\:bg-accent:hover{--un-bg-opacity:1;background-color:rgb(155 144 230 / var(--un-bg-opacity))}.hover\\:bg-section:hover{--un-bg-opacity:1;background-color:rgb(27 24 48 / var(--un-bg-opacity))}.hover\\:bg-soft:hover{--un-bg-opacity:.18;background-color:rgba(155,144,230,var(--un-bg-opacity))}.p-1{padding:.25rem}.px{padding-left:1rem;padding-right:1rem}.px-\\[6px\\]{padding-left:6px;padding-right:6px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-\\[2px\\]{padding-top:2px;padding-bottom:2px}.py-\\[3px\\]{padding-top:3px;padding-bottom:3px}.py-\\[4px\\]{padding-top:4px;padding-bottom:4px}.py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pl-\\[10px\\]{padding-left:10px}.pl-\\[56px\\]{padding-left:56px}.pl-1{padding-left:.25rem}.pr-\\[14px\\]{padding-right:14px}.pr-3{padding-right:.75rem}.text-center{text-align:center}.text-right{text-align:right}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[20px\\]{font-size:20px}.text-\\[9px\\]{font-size:9px}.text-\\[\\#0ea57a\\]{--un-text-opacity:1;color:rgb(14 165 122 / var(--un-text-opacity))}.text-\\[\\#4ade80\\]{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-\\[\\#7c6dd6\\]{--un-text-opacity:1;color:rgb(124 109 214 / var(--un-text-opacity))}.text-\\[\\#9b90e6\\],.text-accent{--un-text-opacity:1;color:rgb(155 144 230 / var(--un-text-opacity))}.text-\\[\\#d97706\\],.text-warn{--un-text-opacity:1;color:rgb(217 119 6 / var(--un-text-opacity))}.text-\\[\\#dc2626\\]{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.text-muted{--un-text-opacity:1;color:rgb(199 195 230 / var(--un-text-opacity))}.text-subtle{--un-text-opacity:1;color:rgb(111 106 143 / var(--un-text-opacity))}.text-text,.hover\\:text-text:hover{--un-text-opacity:1;color:rgb(244 242 255 / var(--un-text-opacity))}.color-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.hover\\:color-muted:hover{--un-text-opacity:1;color:rgb(199 195 230 / var(--un-text-opacity))}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-\\[0\\.07em\\]{letter-spacing:.07em}.tracking-\\[0\\.12em\\]{letter-spacing:.12em}.tracking-widest{letter-spacing:.1em}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.uppercase{text-transform:uppercase}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-\\[0_8px_32px_rgba\\(0\\,0\\,0\\,0\\.7\\)\\]{--un-shadow:0 8px 32px var(--un-shadow-color, rgba(0, 0, 0, .7));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.hover\\:shadow-\\[0_8px_32px_rgba\\(56\\,189\\,248\\,0\\.1\\)\\]:hover{--un-shadow:0 8px 32px var(--un-shadow-color, rgba(56, 189, 248, .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}';
|
|
7
|
-
class
|
|
5
|
+
import { computed as Gn } from "@praxisjs/core/internal";
|
|
6
|
+
const ir = "data:image/svg+xml,%3csvg%20width='1024'%20height='1024'%20viewBox='0%200%201024%201024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M605.411%20445.66L641.322%20498.293L641.342%20498.278L697.538%20578.57L742.673%20512.806L512.5%20178.878L281.327%20512.806L512.5%20848.182L603.519%20715.561L650.559%20782.134L512.701%20983L187%20510.478L512.701%2040L837%20510.478L698.206%20712.709L668.895%20671.104L604.033%20578.775L512%20712.504L373.199%20511.5L512.233%20309.092L584.13%20414.469L536.746%20480.456L513.69%20445.66L466.305%20511.5L512.166%20577.425L556.48%20513.91L605.411%20445.66Z'%20fill='url(%23paint0_linear_3024_20)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3024_20'%20x1='512'%20y1='40'%20x2='512'%20y2='983'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239B76FF'%20stop-opacity='0.86'/%3e%3cstop%20offset='1'%20stop-color='%232D246B'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Hn = '*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }:host{all:initial;display:block;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}input::placeholder{color:#6f6a8f}input:focus{outline:none;box-shadow:0 0 0 2px #9b90e64d}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#9b90e633;border-radius:2px}::-webkit-scrollbar-thumb:hover{background:#9b90e666}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.bottom-0{bottom:0}.bottom-5{bottom:1.25rem}.left-0{left:0}.right-0{right:0}.right-5{right:1.25rem}.top-0{top:0}.top-full{top:100%}.z-\\[2147483647\\]{z-index:2147483647}.z-10{z-index:10}.grid{display:grid}.grid-cols-\\[1\\.2fr_0\\.8fr_1fr_auto\\]{grid-template-columns:1.2fr .8fr 1fr auto}.m6{margin:1.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mr-\\[2px\\]{margin-right:2px}.ms{margin-inline-start:1rem}.mt-1{margin-top:.25rem}.box-border{box-sizing:border-box}.inline-block{display:inline-block}.h-\\[13px\\]{height:13px}.h-\\[22px\\]{height:22px}.h-\\[2px\\]{height:2px}.h-\\[32px\\]{height:32px}.h-\\[6px\\]{height:6px}.h-1,.h1{height:.25rem}.h-10{height:2.5rem}.h-3,.h3{height:.75rem}.h-7{height:1.75rem}.h-full{height:100%}.h-screen{height:100vh}.h2{height:.5rem}.max-w-\\[200px\\]{max-width:200px}.min-w-0{min-width:0}.w-\\[13px\\]{width:13px}.w-\\[22px\\]{width:22px}.w-\\[2px\\]{width:2px}.w-\\[6px\\]{width:6px}.w-1{width:.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-4{width:1rem}.w-full{width:100%}.w-px{width:1px}.flex{display:flex}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.cursor-\\[ew-resize\\]{cursor:ew-resize}.cursor-\\[ns-resize\\]{cursor:ns-resize}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-\\[2px\\]{gap:2px}.gap-\\[3px\\]{gap:3px}.gap-\\[6px\\]{gap:6px}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b,.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-border{--un-border-opacity:.25;border-color:rgba(155,144,230,var(--un-border-opacity))}.border-warn{--un-border-opacity:1;border-color:rgb(217 119 6 / var(--un-border-opacity))}.hover\\:border-accent:hover{--un-border-opacity:1;border-color:rgb(155 144 230 / var(--un-border-opacity))}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.bg-\\[rgba\\(124\\,109\\,214\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(124,109,214,var(--un-bg-opacity))}.bg-\\[rgba\\(14\\,165\\,122\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(14,165,122,var(--un-bg-opacity))}.bg-\\[rgba\\(155\\,144\\,230\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-\\[rgba\\(217\\,119\\,6\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(217,119,6,var(--un-bg-opacity))}.bg-\\[rgba\\(220\\,38\\,38\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(220,38,38,var(--un-bg-opacity))}.bg-\\[rgba\\(74\\,222\\,128\\,0\\.12\\)\\]{--un-bg-opacity:.12;background-color:rgba(74,222,128,var(--un-bg-opacity))}.bg-accent{--un-bg-opacity:1;background-color:rgb(155 144 230 / var(--un-bg-opacity))}.bg-bg{--un-bg-opacity:1;background-color:rgb(15 13 23 / var(--un-bg-opacity))}.bg-border{--un-bg-opacity:.25;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-header{--un-bg-opacity:1;background-color:rgb(22 19 38 / var(--un-bg-opacity))}.bg-input,.bg-section{--un-bg-opacity:1;background-color:rgb(27 24 48 / var(--un-bg-opacity))}.bg-selected{--un-bg-opacity:1;background-color:rgb(34 30 61 / var(--un-bg-opacity))}.bg-soft{--un-bg-opacity:.18;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-subtle{--un-bg-opacity:1;background-color:rgb(111 106 143 / var(--un-bg-opacity))}.bg-success{--un-bg-opacity:1;background-color:rgb(14 165 122 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.hover\\:bg-accent:hover{--un-bg-opacity:1;background-color:rgb(155 144 230 / var(--un-bg-opacity))}.hover\\:bg-section:hover{--un-bg-opacity:1;background-color:rgb(27 24 48 / var(--un-bg-opacity))}.hover\\:bg-soft:hover{--un-bg-opacity:.18;background-color:rgba(155,144,230,var(--un-bg-opacity))}.p-1{padding:.25rem}.px{padding-left:1rem;padding-right:1rem}.px-\\[6px\\]{padding-left:6px;padding-right:6px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-\\[2px\\]{padding-top:2px;padding-bottom:2px}.py-\\[3px\\]{padding-top:3px;padding-bottom:3px}.py-\\[4px\\]{padding-top:4px;padding-bottom:4px}.py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pl-\\[10px\\]{padding-left:10px}.pl-\\[56px\\]{padding-left:56px}.pl-1{padding-left:.25rem}.pr-\\[14px\\]{padding-right:14px}.pr-3{padding-right:.75rem}.text-center{text-align:center}.text-right{text-align:right}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[20px\\]{font-size:20px}.text-\\[9px\\]{font-size:9px}.text-\\[\\#0ea57a\\]{--un-text-opacity:1;color:rgb(14 165 122 / var(--un-text-opacity))}.text-\\[\\#4ade80\\]{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-\\[\\#7c6dd6\\]{--un-text-opacity:1;color:rgb(124 109 214 / var(--un-text-opacity))}.text-\\[\\#9b90e6\\],.text-accent{--un-text-opacity:1;color:rgb(155 144 230 / var(--un-text-opacity))}.text-\\[\\#d97706\\],.text-warn{--un-text-opacity:1;color:rgb(217 119 6 / var(--un-text-opacity))}.text-\\[\\#dc2626\\]{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.text-muted{--un-text-opacity:1;color:rgb(199 195 230 / var(--un-text-opacity))}.text-subtle{--un-text-opacity:1;color:rgb(111 106 143 / var(--un-text-opacity))}.text-text,.hover\\:text-text:hover{--un-text-opacity:1;color:rgb(244 242 255 / var(--un-text-opacity))}.color-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.hover\\:color-muted:hover{--un-text-opacity:1;color:rgb(199 195 230 / var(--un-text-opacity))}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-\\[0\\.07em\\]{letter-spacing:.07em}.tracking-\\[0\\.12em\\]{letter-spacing:.12em}.tracking-widest{letter-spacing:.1em}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.uppercase{text-transform:uppercase}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-\\[0_8px_32px_rgba\\(0\\,0\\,0\\,0\\.7\\)\\]{--un-shadow:0 8px 32px var(--un-shadow-color, rgba(0, 0, 0, .7));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.hover\\:shadow-\\[0_8px_32px_rgba\\(56\\,189\\,248\\,0\\.1\\)\\]:hover{--un-shadow:0 8px 32px var(--un-shadow-color, rgba(56, 189, 248, .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}';
|
|
7
|
+
class Xn {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.handlers = /* @__PURE__ */ new Map();
|
|
10
10
|
}
|
|
@@ -27,17 +27,17 @@ class Un {
|
|
|
27
27
|
throw new AggregateError(o, "Multiple event handler errors");
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
const
|
|
31
|
-
let
|
|
30
|
+
const Wn = 200;
|
|
31
|
+
let Yn = 0;
|
|
32
32
|
function Lt() {
|
|
33
|
-
return `v${(++
|
|
33
|
+
return `v${(++Yn).toString()}_${Date.now().toString(36)}`;
|
|
34
34
|
}
|
|
35
|
-
const
|
|
35
|
+
const Y = class Y {
|
|
36
36
|
constructor() {
|
|
37
|
-
this.bus = new
|
|
37
|
+
this.bus = new Xn(), this.instanceIds = /* @__PURE__ */ new WeakMap(), this.signals = /* @__PURE__ */ new Map(), this.components = /* @__PURE__ */ new Map(), this.timeline = [];
|
|
38
38
|
}
|
|
39
39
|
static get instance() {
|
|
40
|
-
return
|
|
40
|
+
return Y._instance ??= new Y(), Y._instance;
|
|
41
41
|
}
|
|
42
42
|
getInstanceId(t) {
|
|
43
43
|
return this.instanceIds.has(t) || this.instanceIds.set(t, Lt()), this.instanceIds.get(t);
|
|
@@ -143,25 +143,25 @@ const H = class H {
|
|
|
143
143
|
timestamp: Date.now(),
|
|
144
144
|
...t
|
|
145
145
|
};
|
|
146
|
-
this.timeline.push(r), this.timeline.length >
|
|
146
|
+
this.timeline.push(r), this.timeline.length > Wn && this.timeline.shift(), this.bus.emit("timeline:push", r);
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
|
-
|
|
150
|
-
let I =
|
|
151
|
-
var
|
|
149
|
+
Y._instance = null;
|
|
150
|
+
let I = Y;
|
|
151
|
+
var Jn = Object.create, Le = Object.defineProperty, qn = Object.getOwnPropertyDescriptor, ar = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), sr = (e) => {
|
|
152
152
|
throw TypeError(e);
|
|
153
|
-
},
|
|
153
|
+
}, Kn = (e, t, r) => t in e ? Le(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zn = (e, t) => Le(e, "name", { value: t, configurable: !0 }), Qn = (e) => [, , , Jn(e?.[ar("metadata")] ?? null)], Vn = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], lr = (e) => e !== void 0 && typeof e != "function" ? sr("Function expected") : e, ei = (e, t, r, n, o) => ({ kind: Vn[e], name: t, metadata: n, addInitializer: (i) => r._ ? sr("Already initialized") : o.push(lr(i || null)) }), ti = (e, t) => Kn(t, ar("metadata"), e[3]), ri = (e, t, r, n) => {
|
|
154
154
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
155
155
|
return n;
|
|
156
|
-
},
|
|
157
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
158
|
-
|
|
156
|
+
}, oi = (e, t, r, n, o, i) => {
|
|
157
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && qn(o, r));
|
|
158
|
+
Zn(o, r);
|
|
159
159
|
for (var p = n.length - 1; p >= 0; p--)
|
|
160
|
-
h =
|
|
161
|
-
return
|
|
162
|
-
}, cr,
|
|
160
|
+
h = ei(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, lr(s) && (o = s);
|
|
161
|
+
return ti(e, o), d && Le(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
162
|
+
}, cr, Ae, dr;
|
|
163
163
|
cr = [x()];
|
|
164
|
-
class
|
|
164
|
+
class K extends (dr = k) {
|
|
165
165
|
render() {
|
|
166
166
|
return /* @__PURE__ */ f("div", { class: "flex flex-col items-center justify-center gap-2 py-12", children: [
|
|
167
167
|
/* @__PURE__ */ u("span", { class: "text-subtle text-[20px] leading-none select-none font-mono", children: "—" }),
|
|
@@ -169,21 +169,21 @@ class Y extends (dr = k) {
|
|
|
169
169
|
] });
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
var
|
|
172
|
+
Ae = Qn(dr);
|
|
173
|
+
K = oi(Ae, 0, "EmptyState", cr, K);
|
|
174
|
+
ri(Ae, 1, K);
|
|
175
|
+
var ni = Object.create, Ne = Object.defineProperty, ii = Object.getOwnPropertyDescriptor, pr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), ur = (e) => {
|
|
176
176
|
throw TypeError(e);
|
|
177
|
-
},
|
|
177
|
+
}, ai = (e, t, r) => t in e ? Ne(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => Ne(e, "name", { value: t, configurable: !0 }), li = (e) => [, , , ni(e?.[pr("metadata")] ?? null)], ci = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], hr = (e) => e !== void 0 && typeof e != "function" ? ur("Function expected") : e, di = (e, t, r, n, o) => ({ kind: ci[e], name: t, metadata: n, addInitializer: (i) => r._ ? ur("Already initialized") : o.push(hr(i || null)) }), pi = (e, t) => ai(t, pr("metadata"), e[3]), ui = (e, t, r, n) => {
|
|
178
178
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
179
179
|
return n;
|
|
180
|
-
},
|
|
181
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
182
|
-
|
|
180
|
+
}, hi = (e, t, r, n, o, i) => {
|
|
181
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && ii(o, r));
|
|
182
|
+
si(o, r);
|
|
183
183
|
for (var p = n.length - 1; p >= 0; p--)
|
|
184
|
-
h =
|
|
185
|
-
return
|
|
186
|
-
}, _r,
|
|
184
|
+
h = di(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, hr(s) && (o = s);
|
|
185
|
+
return pi(e, o), d && Ne(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
186
|
+
}, _r, Be, vr;
|
|
187
187
|
_r = [x()];
|
|
188
188
|
class ae extends (vr = k) {
|
|
189
189
|
render() {
|
|
@@ -198,10 +198,10 @@ class ae extends (vr = k) {
|
|
|
198
198
|
);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
|
|
202
|
-
ae =
|
|
203
|
-
|
|
204
|
-
function
|
|
201
|
+
Be = li(vr);
|
|
202
|
+
ae = hi(Be, 0, "SidePanel", _r, ae);
|
|
203
|
+
ui(Be, 1, ae);
|
|
204
|
+
function Re(e) {
|
|
205
205
|
if (e === null) return "null";
|
|
206
206
|
if (e === void 0) return "undefined";
|
|
207
207
|
if (typeof e == "string") return `"${e}"`;
|
|
@@ -213,20 +213,20 @@ function Be(e) {
|
|
|
213
213
|
}
|
|
214
214
|
return String(e);
|
|
215
215
|
}
|
|
216
|
-
var
|
|
216
|
+
var _i = Object.create, Ue = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, br = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), gr = (e) => {
|
|
217
217
|
throw TypeError(e);
|
|
218
|
-
},
|
|
218
|
+
}, bi = (e, t, r) => t in e ? Ue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => Ue(e, "name", { value: t, configurable: !0 }), fi = (e) => [, , , _i(e?.[br("metadata")] ?? null)], mi = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], fr = (e) => e !== void 0 && typeof e != "function" ? gr("Function expected") : e, xi = (e, t, r, n, o) => ({ kind: mi[e], name: t, metadata: n, addInitializer: (i) => r._ ? gr("Already initialized") : o.push(fr(i || null)) }), wi = (e, t) => bi(t, br("metadata"), e[3]), $i = (e, t, r, n) => {
|
|
219
219
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
220
220
|
return n;
|
|
221
|
-
},
|
|
222
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
223
|
-
|
|
221
|
+
}, yi = (e, t, r, n, o, i) => {
|
|
222
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && vi(o, r));
|
|
223
|
+
gi(o, r);
|
|
224
224
|
for (var p = n.length - 1; p >= 0; p--)
|
|
225
|
-
h =
|
|
226
|
-
return
|
|
227
|
-
}, mr,
|
|
225
|
+
h = xi(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, fr(s) && (o = s);
|
|
226
|
+
return wi(e, o), d && Ue(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
227
|
+
}, mr, Ge, xr;
|
|
228
228
|
mr = [x()];
|
|
229
|
-
class
|
|
229
|
+
class X extends (xr = k) {
|
|
230
230
|
render() {
|
|
231
231
|
const { k: t, v: r, signal: n } = this.props;
|
|
232
232
|
return /* @__PURE__ */ f("div", { class: "flex justify-between items-center px-3 py-2 border-b border-border gap-3", children: [
|
|
@@ -241,23 +241,23 @@ class R extends (xr = k) {
|
|
|
241
241
|
] });
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
var
|
|
244
|
+
Ge = fi(xr);
|
|
245
|
+
X = yi(Ge, 0, "DetailRow", mr, X);
|
|
246
|
+
$i(Ge, 1, X);
|
|
247
|
+
var Si = Object.create, He = Object.defineProperty, ki = Object.getOwnPropertyDescriptor, wr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), $r = (e) => {
|
|
248
248
|
throw TypeError(e);
|
|
249
|
-
},
|
|
249
|
+
}, zi = (e, t, r) => t in e ? He(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => He(e, "name", { value: t, configurable: !0 }), Oi = (e) => [, , , Si(e?.[wr("metadata")] ?? null)], Pi = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], yr = (e) => e !== void 0 && typeof e != "function" ? $r("Function expected") : e, Ci = (e, t, r, n, o) => ({ kind: Pi[e], name: t, metadata: n, addInitializer: (i) => r._ ? $r("Already initialized") : o.push(yr(i || null)) }), Ei = (e, t) => zi(t, wr("metadata"), e[3]), Di = (e, t, r, n) => {
|
|
250
250
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
251
251
|
return n;
|
|
252
|
-
},
|
|
253
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
254
|
-
|
|
252
|
+
}, Mi = (e, t, r, n, o, i) => {
|
|
253
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && ki(o, r));
|
|
254
|
+
Ii(o, r);
|
|
255
255
|
for (var p = n.length - 1; p >= 0; p--)
|
|
256
|
-
h =
|
|
257
|
-
return
|
|
258
|
-
}, Sr,
|
|
256
|
+
h = Ci(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, yr(s) && (o = s);
|
|
257
|
+
return Ei(e, o), d && He(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
258
|
+
}, Sr, Xe, kr;
|
|
259
259
|
Sr = [x()];
|
|
260
|
-
class
|
|
260
|
+
class J extends (kr = k) {
|
|
261
261
|
render() {
|
|
262
262
|
return /* @__PURE__ */ f("div", { class: "border-b border-border", children: [
|
|
263
263
|
/* @__PURE__ */ u("div", { class: "px-3 py-[4px] text-[9px] text-subtle font-bold tracking-[0.12em] uppercase bg-section border-b border-border", children: this.props.label }),
|
|
@@ -265,21 +265,21 @@ class X extends (kr = k) {
|
|
|
265
265
|
] });
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
var
|
|
268
|
+
Xe = Oi(kr);
|
|
269
|
+
J = Mi(Xe, 0, "DetailSection", Sr, J);
|
|
270
|
+
Di(Xe, 1, J);
|
|
271
|
+
var Ti = Object.create, We = Object.defineProperty, ji = Object.getOwnPropertyDescriptor, zr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Ir = (e) => {
|
|
272
272
|
throw TypeError(e);
|
|
273
|
-
},
|
|
273
|
+
}, Fi = (e, t, r) => t in e ? We(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => We(e, "name", { value: t, configurable: !0 }), Ai = (e) => [, , , Ti(e?.[zr("metadata")] ?? null)], Ni = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Or = (e) => e !== void 0 && typeof e != "function" ? Ir("Function expected") : e, Bi = (e, t, r, n, o) => ({ kind: Ni[e], name: t, metadata: n, addInitializer: (i) => r._ ? Ir("Already initialized") : o.push(Or(i || null)) }), Ri = (e, t) => Fi(t, zr("metadata"), e[3]), Ui = (e, t, r, n) => {
|
|
274
274
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
275
275
|
return n;
|
|
276
|
-
},
|
|
277
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
278
|
-
|
|
276
|
+
}, Gi = (e, t, r, n, o, i) => {
|
|
277
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && ji(o, r));
|
|
278
|
+
Li(o, r);
|
|
279
279
|
for (var p = n.length - 1; p >= 0; p--)
|
|
280
|
-
h =
|
|
281
|
-
return
|
|
282
|
-
}, Pr,
|
|
280
|
+
h = Bi(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Or(s) && (o = s);
|
|
281
|
+
return Ri(e, o), d && We(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
282
|
+
}, Pr, Ye, Cr;
|
|
283
283
|
Pr = [x()];
|
|
284
284
|
class se extends (Cr = k) {
|
|
285
285
|
render() {
|
|
@@ -293,23 +293,23 @@ class se extends (Cr = k) {
|
|
|
293
293
|
);
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
|
-
|
|
297
|
-
se =
|
|
298
|
-
|
|
299
|
-
var
|
|
296
|
+
Ye = Ai(Cr);
|
|
297
|
+
se = Gi(Ye, 0, "StatusDot", Pr, se);
|
|
298
|
+
Ui(Ye, 1, se);
|
|
299
|
+
var Hi = Object.create, Je = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, Er = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Dr = (e) => {
|
|
300
300
|
throw TypeError(e);
|
|
301
|
-
},
|
|
301
|
+
}, Wi = (e, t, r) => t in e ? Je(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yi = (e, t) => Je(e, "name", { value: t, configurable: !0 }), Ji = (e) => [, , , Hi(e?.[Er("metadata")] ?? null)], qi = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Mr = (e) => e !== void 0 && typeof e != "function" ? Dr("Function expected") : e, Ki = (e, t, r, n, o) => ({ kind: qi[e], name: t, metadata: n, addInitializer: (i) => r._ ? Dr("Already initialized") : o.push(Mr(i || null)) }), Zi = (e, t) => Wi(t, Er("metadata"), e[3]), Qi = (e, t, r, n) => {
|
|
302
302
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
303
303
|
return n;
|
|
304
|
-
},
|
|
305
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
306
|
-
|
|
304
|
+
}, Vi = (e, t, r, n, o, i) => {
|
|
305
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Xi(o, r));
|
|
306
|
+
Yi(o, r);
|
|
307
307
|
for (var p = n.length - 1; p >= 0; p--)
|
|
308
|
-
h =
|
|
309
|
-
return
|
|
310
|
-
}, Tr,
|
|
308
|
+
h = Ki(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Mr(s) && (o = s);
|
|
309
|
+
return Zi(e, o), d && Je(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
310
|
+
}, Tr, qe, jr;
|
|
311
311
|
Tr = [x()];
|
|
312
|
-
class
|
|
312
|
+
class be extends (jr = k) {
|
|
313
313
|
render() {
|
|
314
314
|
const { entry: t, signals: r } = this.props;
|
|
315
315
|
return /* @__PURE__ */ f(ae, { children: [
|
|
@@ -322,27 +322,27 @@ class _e extends (jr = k) {
|
|
|
322
322
|
] })
|
|
323
323
|
] }),
|
|
324
324
|
/* @__PURE__ */ f("div", { class: "flex-1 overflow-y-auto", children: [
|
|
325
|
-
/* @__PURE__ */ f(
|
|
326
|
-
/* @__PURE__ */ u(
|
|
325
|
+
/* @__PURE__ */ f(J, { label: "Stats", children: [
|
|
326
|
+
/* @__PURE__ */ u(X, { k: "renders", v: String(t.renderCount) }),
|
|
327
327
|
/* @__PURE__ */ u(
|
|
328
|
-
|
|
328
|
+
X,
|
|
329
329
|
{
|
|
330
330
|
k: "last render",
|
|
331
331
|
v: `${t.lastRenderDuration.toFixed(3)}ms`
|
|
332
332
|
}
|
|
333
333
|
),
|
|
334
|
-
/* @__PURE__ */ u(
|
|
334
|
+
/* @__PURE__ */ u(X, { k: "status", v: t.status })
|
|
335
335
|
] }),
|
|
336
|
-
r.length > 0 && /* @__PURE__ */ u(
|
|
337
|
-
|
|
336
|
+
r.length > 0 && /* @__PURE__ */ u(J, { label: "State", children: r.map((n) => /* @__PURE__ */ u(
|
|
337
|
+
X,
|
|
338
338
|
{
|
|
339
339
|
k: n.label,
|
|
340
|
-
v:
|
|
340
|
+
v: Re(n.value),
|
|
341
341
|
signal: !0
|
|
342
342
|
},
|
|
343
343
|
n.id
|
|
344
344
|
)) }),
|
|
345
|
-
t.lifecycle.length > 0 && /* @__PURE__ */ u(
|
|
345
|
+
t.lifecycle.length > 0 && /* @__PURE__ */ u(J, { label: "Lifecycle", children: [...t.lifecycle].reverse().slice(0, 20).map((n, o) => /* @__PURE__ */ f(
|
|
346
346
|
"div",
|
|
347
347
|
{
|
|
348
348
|
class: "px-3 py-2 flex justify-between items-center border-b border-border",
|
|
@@ -357,23 +357,23 @@ class _e extends (jr = k) {
|
|
|
357
357
|
] });
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
var
|
|
360
|
+
qe = Ji(jr);
|
|
361
|
+
be = Vi(qe, 0, "ComponentDetail", Tr, be);
|
|
362
|
+
Qi(qe, 1, be);
|
|
363
|
+
var ea = Object.create, Ke = Object.defineProperty, ta = Object.getOwnPropertyDescriptor, Fr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Lr = (e) => {
|
|
364
364
|
throw TypeError(e);
|
|
365
|
-
},
|
|
365
|
+
}, ra = (e, t, r) => t in e ? Ke(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oa = (e, t) => Ke(e, "name", { value: t, configurable: !0 }), na = (e) => [, , , ea(e?.[Fr("metadata")] ?? null)], ia = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Ar = (e) => e !== void 0 && typeof e != "function" ? Lr("Function expected") : e, aa = (e, t, r, n, o) => ({ kind: ia[e], name: t, metadata: n, addInitializer: (i) => r._ ? Lr("Already initialized") : o.push(Ar(i || null)) }), sa = (e, t) => ra(t, Fr("metadata"), e[3]), la = (e, t, r, n) => {
|
|
366
366
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
367
367
|
return n;
|
|
368
|
-
},
|
|
369
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
370
|
-
|
|
368
|
+
}, ca = (e, t, r, n, o, i) => {
|
|
369
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && ta(o, r));
|
|
370
|
+
oa(o, r);
|
|
371
371
|
for (var p = n.length - 1; p >= 0; p--)
|
|
372
|
-
h =
|
|
373
|
-
return
|
|
374
|
-
}, Nr,
|
|
372
|
+
h = aa(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Ar(s) && (o = s);
|
|
373
|
+
return sa(e, o), d && Ke(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
374
|
+
}, Nr, Ze, Br;
|
|
375
375
|
Nr = [x()];
|
|
376
|
-
class
|
|
376
|
+
class ge extends (Br = k) {
|
|
377
377
|
render() {
|
|
378
378
|
const { entry: t, selected: r, onClick: n } = this.props;
|
|
379
379
|
return /* @__PURE__ */ f(
|
|
@@ -408,32 +408,29 @@ class ve extends (Br = k) {
|
|
|
408
408
|
);
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
var
|
|
411
|
+
Ze = na(Br);
|
|
412
|
+
ge = ca(Ze, 0, "ComponentRow", Nr, ge);
|
|
413
|
+
la(Ze, 1, ge);
|
|
414
|
+
var da = Object.create, Qe = Object.defineProperty, pa = Object.getOwnPropertyDescriptor, Rr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), le = (e) => {
|
|
415
415
|
throw TypeError(e);
|
|
416
|
-
},
|
|
416
|
+
}, ua = (e, t, r) => t in e ? Qe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, At = (e, t) => Qe(e, "name", { value: t, configurable: !0 }), ha = (e) => [, , , da(e?.[Rr("metadata")] ?? null)], Ur = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], V = (e) => e !== void 0 && typeof e != "function" ? le("Function expected") : e, _a = (e, t, r, n, o) => ({ kind: Ur[e], name: t, metadata: n, addInitializer: (i) => r._ ? le("Already initialized") : o.push(V(i || null)) }), va = (e, t) => ua(t, Rr("metadata"), e[3]), G = (e, t, r, n) => {
|
|
417
417
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
|
|
418
418
|
return n;
|
|
419
|
-
},
|
|
420
|
-
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = Ur[a + 5], S = a > 3 && (e[p - 1] = []),
|
|
419
|
+
}, Pe = (e, t, r, n, o, i) => {
|
|
420
|
+
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = Ur[a + 5], S = a > 3 && (e[p - 1] = []), E = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && pa(a < 4 ? o : { get [r]() {
|
|
421
421
|
return Nt(this, i);
|
|
422
422
|
}, set [r](v) {
|
|
423
423
|
return Bt(this, i, v);
|
|
424
424
|
} }, r));
|
|
425
425
|
a ? d && a < 4 && At(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : At(o, r);
|
|
426
426
|
for (var $ = n.length - 1; $ >= 0; $--)
|
|
427
|
-
l =
|
|
428
|
-
return a ||
|
|
429
|
-
}, Ve = (e, t, r) => t.has(e) || le("Cannot " + r),
|
|
430
|
-
|
|
431
|
-
class
|
|
427
|
+
l = _a(a, r, h = {}, e[3], E), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => ba(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? Nt : ga)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => Bt(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? V(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? le("Object expected") : (V(s = c.get) && (g.get = s), V(s = c.set) && (g.set = s), V(s = c.init) && S.unshift(s));
|
|
428
|
+
return a || va(e, o), g && Qe(o, r, g), d ? a ^ 4 ? i : g : o;
|
|
429
|
+
}, Ve = (e, t, r) => t.has(e) || le("Cannot " + r), ba = (e, t) => Object(t) !== t ? le('Cannot use the "in" operator on this value') : e.has(t), Nt = (e, t, r) => (Ve(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Bt = (e, t, r, n) => (Ve(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), ga = (e, t, r) => (Ve(e, t, "access private method"), r), Gr, Hr, Xr, Ee, Wr, D;
|
|
430
|
+
Wr = [x()];
|
|
431
|
+
class W extends (Ee = Q, Xr = [C()], Hr = [C()], Gr = [N()], Ee) {
|
|
432
432
|
constructor() {
|
|
433
|
-
super(...arguments), this.components =
|
|
434
|
-
}
|
|
435
|
-
get registry() {
|
|
436
|
-
return this.props.registry;
|
|
433
|
+
super(...arguments), this.components = G(D, 8, this, []), G(D, 11, this), this.selectedId = G(D, 12, this, null), G(D, 15, this), this.registry = G(D, 16, this), G(D, 19, this), this._handlers = [];
|
|
437
434
|
}
|
|
438
435
|
onMount() {
|
|
439
436
|
this.components = this.registry.getComponents();
|
|
@@ -463,8 +460,8 @@ class J extends (Ce = K, Hr = [O()], Gr = [O()], Ce) {
|
|
|
463
460
|
/* @__PURE__ */ u("span", { children: "Renders" }),
|
|
464
461
|
/* @__PURE__ */ u("span", { class: "w-12 text-right", children: "Last" })
|
|
465
462
|
] }),
|
|
466
|
-
/* @__PURE__ */ u("div", { class: "flex-1 overflow-y-auto", children: () => this.components.length === 0 ? /* @__PURE__ */ u(
|
|
467
|
-
|
|
463
|
+
/* @__PURE__ */ u("div", { class: "flex-1 overflow-y-auto", children: () => this.components.length === 0 ? /* @__PURE__ */ u(K, { message: "No components tracked. Add @Trace() to component classes." }) : this.components.map((r) => /* @__PURE__ */ u(
|
|
464
|
+
ge,
|
|
468
465
|
{
|
|
469
466
|
entry: r,
|
|
470
467
|
selected: () => this.selectedId === r.id,
|
|
@@ -477,35 +474,36 @@ class J extends (Ce = K, Hr = [O()], Gr = [O()], Ce) {
|
|
|
477
474
|
] }),
|
|
478
475
|
() => {
|
|
479
476
|
const r = this.selectedId, n = r ? this.components.find((i) => i.id === r) ?? null : null, o = r ? t.getSignalsByComponent(r) : [];
|
|
480
|
-
return n ? /* @__PURE__ */ u(
|
|
477
|
+
return n ? /* @__PURE__ */ u(be, { entry: n, signals: o }) : null;
|
|
481
478
|
}
|
|
482
479
|
] });
|
|
483
480
|
}
|
|
484
481
|
}
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
482
|
+
D = ha(Ee);
|
|
483
|
+
Pe(D, 5, "components", Xr, W);
|
|
484
|
+
Pe(D, 5, "selectedId", Hr, W);
|
|
485
|
+
Pe(D, 5, "registry", Gr, W);
|
|
486
|
+
W = Pe(D, 0, "ComponentsTab", Wr, W);
|
|
487
|
+
G(D, 1, W);
|
|
488
|
+
const fa = {
|
|
491
489
|
id: "components",
|
|
492
490
|
label: "Components",
|
|
493
|
-
component:
|
|
491
|
+
component: W
|
|
494
492
|
};
|
|
495
|
-
var
|
|
493
|
+
var ma = Object.create, et = Object.defineProperty, xa = Object.getOwnPropertyDescriptor, Yr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Jr = (e) => {
|
|
496
494
|
throw TypeError(e);
|
|
497
|
-
},
|
|
495
|
+
}, wa = (e, t, r) => t in e ? et(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $a = (e, t) => et(e, "name", { value: t, configurable: !0 }), ya = (e) => [, , , ma(e?.[Yr("metadata")] ?? null)], Sa = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], qr = (e) => e !== void 0 && typeof e != "function" ? Jr("Function expected") : e, ka = (e, t, r, n, o) => ({ kind: Sa[e], name: t, metadata: n, addInitializer: (i) => r._ ? Jr("Already initialized") : o.push(qr(i || null)) }), za = (e, t) => wa(t, Yr("metadata"), e[3]), Ia = (e, t, r, n) => {
|
|
498
496
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
499
497
|
return n;
|
|
500
|
-
},
|
|
501
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
502
|
-
|
|
498
|
+
}, Oa = (e, t, r, n, o, i) => {
|
|
499
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && xa(o, r));
|
|
500
|
+
$a(o, r);
|
|
503
501
|
for (var p = n.length - 1; p >= 0; p--)
|
|
504
|
-
h =
|
|
505
|
-
return
|
|
506
|
-
},
|
|
507
|
-
|
|
508
|
-
class
|
|
502
|
+
h = ka(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, qr(s) && (o = s);
|
|
503
|
+
return za(e, o), d && et(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
504
|
+
}, Kr, tt, Zr;
|
|
505
|
+
Kr = [x()];
|
|
506
|
+
class fe extends (Zr = k) {
|
|
509
507
|
render() {
|
|
510
508
|
const { placeholder: t, onInput: r } = this.props;
|
|
511
509
|
return /* @__PURE__ */ u(
|
|
@@ -521,23 +519,23 @@ class be extends (Kr = k) {
|
|
|
521
519
|
);
|
|
522
520
|
}
|
|
523
521
|
}
|
|
524
|
-
tt =
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
var
|
|
522
|
+
tt = ya(Zr);
|
|
523
|
+
fe = Oa(tt, 0, "SearchInput", Kr, fe);
|
|
524
|
+
Ia(tt, 1, fe);
|
|
525
|
+
var Pa = Object.create, rt = Object.defineProperty, Ca = Object.getOwnPropertyDescriptor, Qr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Vr = (e) => {
|
|
528
526
|
throw TypeError(e);
|
|
529
|
-
},
|
|
527
|
+
}, Ea = (e, t, r) => t in e ? rt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Da = (e, t) => rt(e, "name", { value: t, configurable: !0 }), Ma = (e) => [, , , Pa(e?.[Qr("metadata")] ?? null)], Ta = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], eo = (e) => e !== void 0 && typeof e != "function" ? Vr("Function expected") : e, ja = (e, t, r, n, o) => ({ kind: Ta[e], name: t, metadata: n, addInitializer: (i) => r._ ? Vr("Already initialized") : o.push(eo(i || null)) }), Fa = (e, t) => Ea(t, Qr("metadata"), e[3]), La = (e, t, r, n) => {
|
|
530
528
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
531
529
|
return n;
|
|
532
|
-
},
|
|
533
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
534
|
-
|
|
530
|
+
}, Aa = (e, t, r, n, o, i) => {
|
|
531
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Ca(o, r));
|
|
532
|
+
Da(o, r);
|
|
535
533
|
for (var p = n.length - 1; p >= 0; p--)
|
|
536
|
-
h =
|
|
537
|
-
return
|
|
538
|
-
},
|
|
539
|
-
|
|
540
|
-
class
|
|
534
|
+
h = ja(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, eo(s) && (o = s);
|
|
535
|
+
return Fa(e, o), d && rt(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
536
|
+
}, to, ot, ro;
|
|
537
|
+
to = [x()];
|
|
538
|
+
class me extends (ro = k) {
|
|
541
539
|
render() {
|
|
542
540
|
return /* @__PURE__ */ f("div", { class: "border-b border-border", children: [
|
|
543
541
|
/* @__PURE__ */ u("div", { class: "px-3 py-[4px] text-[9px] text-subtle font-bold tracking-[0.12em] uppercase bg-section border-b border-border", children: this.props.label }),
|
|
@@ -545,36 +543,36 @@ class ge extends (to = k) {
|
|
|
545
543
|
] });
|
|
546
544
|
}
|
|
547
545
|
}
|
|
548
|
-
ot =
|
|
549
|
-
|
|
550
|
-
|
|
546
|
+
ot = Ma(ro);
|
|
547
|
+
me = Aa(ot, 0, "PanelSection", to, me);
|
|
548
|
+
La(ot, 1, me);
|
|
551
549
|
function nt(e, t) {
|
|
552
550
|
const r = t ? ` ${t}` : "", n = Date.now() - e;
|
|
553
551
|
return n < 1e3 ? `${n.toString()}ms${r}` : n < 6e4 ? `${(n / 1e3).toFixed(1)}s${r}` : `${Math.floor(n / 6e4).toString()}m${r}`;
|
|
554
552
|
}
|
|
555
|
-
var
|
|
553
|
+
var Na = Object.create, it = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, oo = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), no = (e) => {
|
|
556
554
|
throw TypeError(e);
|
|
557
|
-
},
|
|
555
|
+
}, Ra = (e, t, r) => t in e ? it(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ua = (e, t) => it(e, "name", { value: t, configurable: !0 }), Ga = (e) => [, , , Na(e?.[oo("metadata")] ?? null)], Ha = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], io = (e) => e !== void 0 && typeof e != "function" ? no("Function expected") : e, Xa = (e, t, r, n, o) => ({ kind: Ha[e], name: t, metadata: n, addInitializer: (i) => r._ ? no("Already initialized") : o.push(io(i || null)) }), Wa = (e, t) => Ra(t, oo("metadata"), e[3]), Ya = (e, t, r, n) => {
|
|
558
556
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
559
557
|
return n;
|
|
560
|
-
},
|
|
561
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
562
|
-
|
|
558
|
+
}, Ja = (e, t, r, n, o, i) => {
|
|
559
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Ba(o, r));
|
|
560
|
+
Ua(o, r);
|
|
563
561
|
for (var p = n.length - 1; p >= 0; p--)
|
|
564
|
-
h =
|
|
565
|
-
return
|
|
566
|
-
},
|
|
567
|
-
|
|
568
|
-
class
|
|
562
|
+
h = Xa(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, io(s) && (o = s);
|
|
563
|
+
return Wa(e, o), d && it(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
564
|
+
}, ao, at, so;
|
|
565
|
+
ao = [x()];
|
|
566
|
+
class xe extends (so = k) {
|
|
569
567
|
render() {
|
|
570
568
|
const { entry: t } = this.props;
|
|
571
|
-
return /* @__PURE__ */ u(ae, { width: "260px", children: /* @__PURE__ */ u(
|
|
569
|
+
return /* @__PURE__ */ u(ae, { width: "260px", children: /* @__PURE__ */ u(me, { label: "History", children: /* @__PURE__ */ f("div", { class: "overflow-y-auto", children: [
|
|
572
570
|
[...t.history].reverse().map((r, n) => /* @__PURE__ */ f(
|
|
573
571
|
"div",
|
|
574
572
|
{
|
|
575
573
|
class: "px-3 py-2 border-b border-border flex justify-between items-center gap-3",
|
|
576
574
|
children: [
|
|
577
|
-
/* @__PURE__ */ u("span", { class: "font-mono text-[11px] text-text truncate", children:
|
|
575
|
+
/* @__PURE__ */ u("span", { class: "font-mono text-[11px] text-text truncate", children: Re(r.value) }),
|
|
578
576
|
/* @__PURE__ */ u("span", { class: "text-[10px] text-subtle shrink-0 tabular-nums", children: nt(r.timestamp, "ago") })
|
|
579
577
|
]
|
|
580
578
|
},
|
|
@@ -584,23 +582,23 @@ class fe extends (ao = k) {
|
|
|
584
582
|
] }) }) });
|
|
585
583
|
}
|
|
586
584
|
}
|
|
587
|
-
at =
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
var
|
|
585
|
+
at = Ga(so);
|
|
586
|
+
xe = Ja(at, 0, "SignalDetail", ao, xe);
|
|
587
|
+
Ya(at, 1, xe);
|
|
588
|
+
var qa = Object.create, st = Object.defineProperty, Ka = Object.getOwnPropertyDescriptor, lo = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), co = (e) => {
|
|
591
589
|
throw TypeError(e);
|
|
592
|
-
},
|
|
590
|
+
}, Za = (e, t, r) => t in e ? st(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qa = (e, t) => st(e, "name", { value: t, configurable: !0 }), Va = (e) => [, , , qa(e?.[lo("metadata")] ?? null)], es = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], po = (e) => e !== void 0 && typeof e != "function" ? co("Function expected") : e, ts = (e, t, r, n, o) => ({ kind: es[e], name: t, metadata: n, addInitializer: (i) => r._ ? co("Already initialized") : o.push(po(i || null)) }), rs = (e, t) => Za(t, lo("metadata"), e[3]), os = (e, t, r, n) => {
|
|
593
591
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
594
592
|
return n;
|
|
595
|
-
},
|
|
596
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
597
|
-
|
|
593
|
+
}, ns = (e, t, r, n, o, i) => {
|
|
594
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Ka(o, r));
|
|
595
|
+
Qa(o, r);
|
|
598
596
|
for (var p = n.length - 1; p >= 0; p--)
|
|
599
|
-
h =
|
|
600
|
-
return
|
|
601
|
-
},
|
|
602
|
-
|
|
603
|
-
class
|
|
597
|
+
h = ts(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, po(s) && (o = s);
|
|
598
|
+
return rs(e, o), d && st(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
599
|
+
}, uo, lt, ho;
|
|
600
|
+
uo = [x()];
|
|
601
|
+
class we extends (ho = k) {
|
|
604
602
|
render() {
|
|
605
603
|
const { entry: t, selected: r, onClick: n } = this.props;
|
|
606
604
|
return /* @__PURE__ */ f(
|
|
@@ -612,39 +610,36 @@ class me extends (uo = k) {
|
|
|
612
610
|
r && /* @__PURE__ */ u("span", { class: "absolute left-0 top-0 bottom-0 w-[2px] bg-accent rounded-r" }),
|
|
613
611
|
/* @__PURE__ */ u("span", { class: "text-accent font-mono text-[11px] truncate pl-1", children: t.label }),
|
|
614
612
|
/* @__PURE__ */ u("span", { class: "text-muted text-[11px] truncate", children: t.componentName }),
|
|
615
|
-
/* @__PURE__ */ u("span", { class: "text-text font-mono text-[11px] truncate", children:
|
|
613
|
+
/* @__PURE__ */ u("span", { class: "text-text font-mono text-[11px] truncate", children: Re(t.value) }),
|
|
616
614
|
/* @__PURE__ */ u("span", { class: "text-subtle text-[10px] text-right tabular-nums", children: nt(t.changedAt, "ago") })
|
|
617
615
|
]
|
|
618
616
|
}
|
|
619
617
|
);
|
|
620
618
|
}
|
|
621
619
|
}
|
|
622
|
-
lt =
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
var
|
|
620
|
+
lt = Va(ho);
|
|
621
|
+
we = ns(lt, 0, "SignalRow", uo, we);
|
|
622
|
+
os(lt, 1, we);
|
|
623
|
+
var is = Object.create, ct = Object.defineProperty, as = Object.getOwnPropertyDescriptor, _o = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), ce = (e) => {
|
|
626
624
|
throw TypeError(e);
|
|
627
|
-
},
|
|
625
|
+
}, ss = (e, t, r) => t in e ? ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => ct(e, "name", { value: t, configurable: !0 }), ls = (e) => [, , , is(e?.[_o("metadata")] ?? null)], vo = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], ee = (e) => e !== void 0 && typeof e != "function" ? ce("Function expected") : e, cs = (e, t, r, n, o) => ({ kind: vo[e], name: t, metadata: n, addInitializer: (i) => r._ ? ce("Already initialized") : o.push(ee(i || null)) }), ds = (e, t) => ss(t, _o("metadata"), e[3]), j = (e, t, r, n) => {
|
|
628
626
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
|
|
629
627
|
return n;
|
|
630
|
-
},
|
|
631
|
-
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w =
|
|
628
|
+
}, de = (e, t, r, n, o, i) => {
|
|
629
|
+
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = vo[a + 5], S = a > 3 && (e[p - 1] = []), E = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && as(a < 4 ? o : { get [r]() {
|
|
632
630
|
return Ut(this, i);
|
|
633
631
|
}, set [r](v) {
|
|
634
632
|
return Gt(this, i, v);
|
|
635
633
|
} }, r));
|
|
636
634
|
a ? d && a < 4 && Rt(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : Rt(o, r);
|
|
637
635
|
for (var $ = n.length - 1; $ >= 0; $--)
|
|
638
|
-
l =
|
|
639
|
-
return a ||
|
|
640
|
-
}, dt = (e, t, r) => t.has(e) || ce("Cannot " + r),
|
|
641
|
-
|
|
642
|
-
class
|
|
636
|
+
l = cs(a, r, h = {}, e[3], E), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => ps(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? Ut : us)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => Gt(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? ee(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? ce("Object expected") : (ee(s = c.get) && (g.get = s), ee(s = c.set) && (g.set = s), ee(s = c.init) && S.unshift(s));
|
|
637
|
+
return a || ds(e, o), g && ct(o, r, g), d ? a ^ 4 ? i : g : o;
|
|
638
|
+
}, dt = (e, t, r) => t.has(e) || ce("Cannot " + r), ps = (e, t) => Object(t) !== t ? ce('Cannot use the "in" operator on this value') : e.has(t), Ut = (e, t, r) => (dt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Gt = (e, t, r, n) => (dt(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), us = (e, t, r) => (dt(e, t, "access private method"), r), bo, go, fo, mo, De, xo, O;
|
|
639
|
+
xo = [x()];
|
|
640
|
+
class B extends (De = Q, mo = [C()], fo = [C()], go = [C()], bo = [N()], De) {
|
|
643
641
|
constructor() {
|
|
644
|
-
super(...arguments), this.signals =
|
|
645
|
-
}
|
|
646
|
-
get registry() {
|
|
647
|
-
return this.props.registry;
|
|
642
|
+
super(...arguments), this.signals = j(O, 8, this, []), j(O, 11, this), this.search = j(O, 12, this, ""), j(O, 15, this), this.selectedId = j(O, 16, this, null), j(O, 19, this), this.registry = j(O, 20, this), j(O, 23, this), this._handlers = [];
|
|
648
643
|
}
|
|
649
644
|
onMount() {
|
|
650
645
|
this.signals = this.registry.getSignals(), this._handlers = [
|
|
@@ -665,7 +660,7 @@ class U extends (Ee = K, go = [O()], bo = [O()], vo = [O()], Ee) {
|
|
|
665
660
|
return /* @__PURE__ */ f("div", { class: "flex h-full overflow-hidden", children: [
|
|
666
661
|
/* @__PURE__ */ f("div", { class: "flex-1 flex flex-col overflow-hidden min-w-0", children: [
|
|
667
662
|
/* @__PURE__ */ u("div", { class: "px-3 py-2 border-b border-border bg-bg shrink-0", children: /* @__PURE__ */ u(
|
|
668
|
-
|
|
663
|
+
fe,
|
|
669
664
|
{
|
|
670
665
|
placeholder: "Search signals…",
|
|
671
666
|
onInput: (t) => {
|
|
@@ -684,12 +679,12 @@ class U extends (Ee = K, go = [O()], bo = [O()], vo = [O()], Ee) {
|
|
|
684
679
|
(n) => n.label.toLowerCase().includes(t) || n.componentName.toLowerCase().includes(t)
|
|
685
680
|
);
|
|
686
681
|
return r.length === 0 ? /* @__PURE__ */ u(
|
|
687
|
-
|
|
682
|
+
K,
|
|
688
683
|
{
|
|
689
684
|
message: this.signals.length === 0 ? "No signals tracked. Add @Debug() on top of @State() properties." : "No signals match your search."
|
|
690
685
|
}
|
|
691
686
|
) : r.map((n) => /* @__PURE__ */ u(
|
|
692
|
-
|
|
687
|
+
we,
|
|
693
688
|
{
|
|
694
689
|
entry: n,
|
|
695
690
|
selected: this.selectedId === n.id,
|
|
@@ -703,29 +698,30 @@ class U extends (Ee = K, go = [O()], bo = [O()], vo = [O()], Ee) {
|
|
|
703
698
|
] }),
|
|
704
699
|
() => {
|
|
705
700
|
const t = this.selectedId, r = t ? this.signals.find((n) => n.id === t) ?? null : null;
|
|
706
|
-
return r ? /* @__PURE__ */ u(
|
|
701
|
+
return r ? /* @__PURE__ */ u(xe, { entry: r }) : null;
|
|
707
702
|
}
|
|
708
703
|
] });
|
|
709
704
|
}
|
|
710
705
|
}
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
706
|
+
O = ls(De);
|
|
707
|
+
de(O, 5, "signals", mo, B);
|
|
708
|
+
de(O, 5, "search", fo, B);
|
|
709
|
+
de(O, 5, "selectedId", go, B);
|
|
710
|
+
de(O, 5, "registry", bo, B);
|
|
711
|
+
B = de(O, 0, "SignalsTab", xo, B);
|
|
712
|
+
j(O, 1, B);
|
|
713
|
+
const hs = {
|
|
718
714
|
id: "signals",
|
|
719
715
|
label: "Signals",
|
|
720
|
-
component:
|
|
721
|
-
},
|
|
716
|
+
component: B
|
|
717
|
+
}, _s = {
|
|
722
718
|
"signal:change": { label: "signal", cls: "text-[#9b90e6] bg-[rgba(155,144,230,0.14)]" },
|
|
723
719
|
"component:render": { label: "render", cls: "text-[#4ade80] bg-[rgba(74,222,128,0.12)]" },
|
|
724
720
|
"component:mount": { label: "mount", cls: "text-[#0ea57a] bg-[rgba(14,165,122,0.14)]" },
|
|
725
721
|
"component:unmount": { label: "unmount", cls: "text-[#dc2626] bg-[rgba(220,38,38,0.14)]" },
|
|
726
722
|
lifecycle: { label: "lifecycle", cls: "text-[#d97706] bg-[rgba(217,119,6,0.14)]" },
|
|
727
723
|
"method:call": { label: "method", cls: "text-[#7c6dd6] bg-[rgba(124,109,214,0.14)]" }
|
|
728
|
-
},
|
|
724
|
+
}, vs = [
|
|
729
725
|
{ value: "all", label: "All" },
|
|
730
726
|
{ value: "signal:change", label: "Signals" },
|
|
731
727
|
{ value: "component:render", label: "Renders" },
|
|
@@ -733,22 +729,22 @@ const ds = {
|
|
|
733
729
|
{ value: "lifecycle", label: "Lifecycle" },
|
|
734
730
|
{ value: "method:call", label: "Methods" }
|
|
735
731
|
];
|
|
736
|
-
var
|
|
732
|
+
var bs = Object.create, pt = Object.defineProperty, gs = Object.getOwnPropertyDescriptor, wo = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), $o = (e) => {
|
|
737
733
|
throw TypeError(e);
|
|
738
|
-
},
|
|
734
|
+
}, fs = (e, t, r) => t in e ? pt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ms = (e, t) => pt(e, "name", { value: t, configurable: !0 }), xs = (e) => [, , , bs(e?.[wo("metadata")] ?? null)], ws = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], yo = (e) => e !== void 0 && typeof e != "function" ? $o("Function expected") : e, $s = (e, t, r, n, o) => ({ kind: ws[e], name: t, metadata: n, addInitializer: (i) => r._ ? $o("Already initialized") : o.push(yo(i || null)) }), ys = (e, t) => fs(t, wo("metadata"), e[3]), Ss = (e, t, r, n) => {
|
|
739
735
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
740
736
|
return n;
|
|
741
|
-
},
|
|
742
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
743
|
-
|
|
737
|
+
}, ks = (e, t, r, n, o, i) => {
|
|
738
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && gs(o, r));
|
|
739
|
+
ms(o, r);
|
|
744
740
|
for (var p = n.length - 1; p >= 0; p--)
|
|
745
|
-
h =
|
|
746
|
-
return
|
|
747
|
-
},
|
|
748
|
-
|
|
749
|
-
class
|
|
741
|
+
h = $s(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, yo(s) && (o = s);
|
|
742
|
+
return ys(e, o), d && pt(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
743
|
+
}, So, ut, ko;
|
|
744
|
+
So = [x()];
|
|
745
|
+
class $e extends (ko = k) {
|
|
750
746
|
render() {
|
|
751
|
-
const t =
|
|
747
|
+
const t = _s[this.props.type];
|
|
752
748
|
return /* @__PURE__ */ u(
|
|
753
749
|
"span",
|
|
754
750
|
{
|
|
@@ -758,29 +754,29 @@ class xe extends (yo = k) {
|
|
|
758
754
|
);
|
|
759
755
|
}
|
|
760
756
|
}
|
|
761
|
-
ut =
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
var
|
|
757
|
+
ut = xs(ko);
|
|
758
|
+
$e = ks(ut, 0, "Badge", So, $e);
|
|
759
|
+
Ss(ut, 1, $e);
|
|
760
|
+
var zs = Object.create, ht = Object.defineProperty, Is = Object.getOwnPropertyDescriptor, zo = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), pe = (e) => {
|
|
765
761
|
throw TypeError(e);
|
|
766
|
-
},
|
|
762
|
+
}, Os = (e, t, r) => t in e ? ht(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => ht(e, "name", { value: t, configurable: !0 }), Ps = (e) => [, , , zs(e?.[zo("metadata")] ?? null)], Io = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], te = (e) => e !== void 0 && typeof e != "function" ? pe("Function expected") : e, Cs = (e, t, r, n, o) => ({ kind: Io[e], name: t, metadata: n, addInitializer: (i) => r._ ? pe("Already initialized") : o.push(te(i || null)) }), Es = (e, t) => Os(t, zo("metadata"), e[3]), re = (e, t, r, n) => {
|
|
767
763
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
|
|
768
764
|
return n;
|
|
769
765
|
}, _t = (e, t, r, n, o, i) => {
|
|
770
|
-
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w =
|
|
766
|
+
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = Io[a + 5], S = a > 3 && (e[p - 1] = []), E = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && Is(a < 4 ? o : { get [r]() {
|
|
771
767
|
return Xt(this, i);
|
|
772
768
|
}, set [r](v) {
|
|
773
769
|
return Wt(this, i, v);
|
|
774
770
|
} }, r));
|
|
775
771
|
a ? d && a < 4 && Ht(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : Ht(o, r);
|
|
776
772
|
for (var $ = n.length - 1; $ >= 0; $--)
|
|
777
|
-
l =
|
|
778
|
-
return a ||
|
|
779
|
-
}, vt = (e, t, r) => t.has(e) ||
|
|
780
|
-
|
|
781
|
-
class
|
|
773
|
+
l = Cs(a, r, h = {}, e[3], E), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => Ds(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? Xt : Ms)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => Wt(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? te(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? pe("Object expected") : (te(s = c.get) && (g.get = s), te(s = c.set) && (g.set = s), te(s = c.init) && S.unshift(s));
|
|
774
|
+
return a || Es(e, o), g && ht(o, r, g), d ? a ^ 4 ? i : g : o;
|
|
775
|
+
}, vt = (e, t, r) => t.has(e) || pe("Cannot " + r), Ds = (e, t) => Object(t) !== t ? pe('Cannot use the "in" operator on this value') : e.has(t), Xt = (e, t, r) => (vt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Wt = (e, t, r, n) => (vt(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), Ms = (e, t, r) => (vt(e, t, "access private method"), r), Oo, Po, Me, Co, L;
|
|
776
|
+
Co = [x()];
|
|
777
|
+
class Z extends (Me = Q, Po = [C()], Oo = [N()], Me) {
|
|
782
778
|
constructor() {
|
|
783
|
-
super(...arguments), this.open =
|
|
779
|
+
super(...arguments), this.open = re(L, 8, this, !1), re(L, 11, this), this.entry = re(L, 12, this), re(L, 15, this);
|
|
784
780
|
}
|
|
785
781
|
render() {
|
|
786
782
|
const t = this.entry;
|
|
@@ -796,7 +792,7 @@ class q extends (De = K, Io = [O()], zo = [ie()], De) {
|
|
|
796
792
|
class: `flex items-center gap-2 px-3 py-2 transition-colors duration-100 ${r ? "cursor-pointer hover:bg-section" : "cursor-default"}`,
|
|
797
793
|
children: [
|
|
798
794
|
/* @__PURE__ */ u("span", { class: "text-subtle text-[10px] w-10 shrink-0 text-right tabular-nums font-mono", children: nt(t.timestamp) }),
|
|
799
|
-
/* @__PURE__ */ u(
|
|
795
|
+
/* @__PURE__ */ u($e, { type: t.type }),
|
|
800
796
|
/* @__PURE__ */ u("span", { class: "flex-1 text-text font-mono text-[11px] truncate", children: t.label }),
|
|
801
797
|
r && /* @__PURE__ */ u("span", { class: "text-subtle text-[11px] shrink-0 w-4 text-center", children: () => this.open ? "▾" : "▸" })
|
|
802
798
|
]
|
|
@@ -812,34 +808,31 @@ class q extends (De = K, Io = [O()], zo = [ie()], De) {
|
|
|
812
808
|
] });
|
|
813
809
|
}
|
|
814
810
|
}
|
|
815
|
-
|
|
816
|
-
_t(
|
|
817
|
-
_t(
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
var
|
|
811
|
+
L = Ps(Me);
|
|
812
|
+
_t(L, 5, "open", Po, Z);
|
|
813
|
+
_t(L, 5, "entry", Oo, Z);
|
|
814
|
+
Z = _t(L, 0, "TimelineRow", Co, Z);
|
|
815
|
+
re(L, 1, Z);
|
|
816
|
+
var Ts = Object.create, bt = Object.defineProperty, js = Object.getOwnPropertyDescriptor, Eo = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), ue = (e) => {
|
|
821
817
|
throw TypeError(e);
|
|
822
|
-
},
|
|
818
|
+
}, Fs = (e, t, r) => t in e ? bt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yt = (e, t) => bt(e, "name", { value: t, configurable: !0 }), Ls = (e) => [, , , Ts(e?.[Eo("metadata")] ?? null)], Do = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], oe = (e) => e !== void 0 && typeof e != "function" ? ue("Function expected") : e, As = (e, t, r, n, o) => ({ kind: Do[e], name: t, metadata: n, addInitializer: (i) => r._ ? ue("Already initialized") : o.push(oe(i || null)) }), Ns = (e, t) => Fs(t, Eo("metadata"), e[3]), F = (e, t, r, n) => {
|
|
823
819
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
|
|
824
820
|
return n;
|
|
825
|
-
},
|
|
826
|
-
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w =
|
|
821
|
+
}, he = (e, t, r, n, o, i) => {
|
|
822
|
+
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = Do[a + 5], S = a > 3 && (e[p - 1] = []), E = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && js(a < 4 ? o : { get [r]() {
|
|
827
823
|
return Jt(this, i);
|
|
828
824
|
}, set [r](v) {
|
|
829
825
|
return qt(this, i, v);
|
|
830
826
|
} }, r));
|
|
831
827
|
a ? d && a < 4 && Yt(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : Yt(o, r);
|
|
832
828
|
for (var $ = n.length - 1; $ >= 0; $--)
|
|
833
|
-
l =
|
|
834
|
-
return a ||
|
|
835
|
-
}, gt = (e, t, r) => t.has(e) ||
|
|
836
|
-
|
|
837
|
-
class
|
|
829
|
+
l = As(a, r, h = {}, e[3], E), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => Bs(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? Jt : Rs)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => qt(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? oe(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? ue("Object expected") : (oe(s = c.get) && (g.get = s), oe(s = c.set) && (g.set = s), oe(s = c.init) && S.unshift(s));
|
|
830
|
+
return a || Ns(e, o), g && bt(o, r, g), d ? a ^ 4 ? i : g : o;
|
|
831
|
+
}, gt = (e, t, r) => t.has(e) || ue("Cannot " + r), Bs = (e, t) => Object(t) !== t ? ue('Cannot use the "in" operator on this value') : e.has(t), Jt = (e, t, r) => (gt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), qt = (e, t, r, n) => (gt(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), Rs = (e, t, r) => (gt(e, t, "access private method"), r), Mo, To, jo, Fo, Te, Lo, P;
|
|
832
|
+
Lo = [x()];
|
|
833
|
+
class R extends (Te = Q, Fo = [C()], jo = [C()], To = [C()], Mo = [N()], Te) {
|
|
838
834
|
constructor() {
|
|
839
|
-
super(...arguments), this.entries =
|
|
840
|
-
}
|
|
841
|
-
get registry() {
|
|
842
|
-
return this.props.registry;
|
|
835
|
+
super(...arguments), this.entries = F(P, 8, this, []), F(P, 11, this), this.filter = F(P, 12, this, "all"), F(P, 15, this), this.paused = F(P, 16, this, !1), F(P, 19, this), this.registry = F(P, 20, this), F(P, 23, this), this._handlers = [];
|
|
843
836
|
}
|
|
844
837
|
onMount() {
|
|
845
838
|
this.entries = this.registry.getTimeline(), this._handlers = [
|
|
@@ -856,7 +849,7 @@ class G extends (Me = K, Mo = [O()], Do = [O()], Eo = [O()], Me) {
|
|
|
856
849
|
render() {
|
|
857
850
|
return /* @__PURE__ */ f("div", { class: "flex flex-col h-full overflow-hidden", children: [
|
|
858
851
|
/* @__PURE__ */ f("div", { class: "flex items-center gap-[3px] px-2 py-2 border-b border-border bg-bg shrink-0 flex-wrap", children: [
|
|
859
|
-
|
|
852
|
+
vs.map((t) => /* @__PURE__ */ u(
|
|
860
853
|
"button",
|
|
861
854
|
{
|
|
862
855
|
onClick: () => {
|
|
@@ -893,36 +886,37 @@ class G extends (Me = K, Mo = [O()], Do = [O()], Eo = [O()], Me) {
|
|
|
893
886
|
const t = this.filter, r = t === "all" ? this.entries : this.entries.filter(
|
|
894
887
|
(n) => n.type === t || t === "component:mount" && n.type === "component:unmount"
|
|
895
888
|
);
|
|
896
|
-
return r.length === 0 ? /* @__PURE__ */ u(
|
|
889
|
+
return r.length === 0 ? /* @__PURE__ */ u(K, { message: "No events yet. Interact with your app to see the timeline." }) : [...r].reverse().map((n) => /* @__PURE__ */ u(Z, { entry: n }, n.id));
|
|
897
890
|
} })
|
|
898
891
|
] });
|
|
899
892
|
}
|
|
900
893
|
}
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
894
|
+
P = Ls(Te);
|
|
895
|
+
he(P, 5, "entries", Fo, R);
|
|
896
|
+
he(P, 5, "filter", jo, R);
|
|
897
|
+
he(P, 5, "paused", To, R);
|
|
898
|
+
he(P, 5, "registry", Mo, R);
|
|
899
|
+
R = he(P, 0, "TimelineTab", Lo, R);
|
|
900
|
+
F(P, 1, R);
|
|
901
|
+
const Us = {
|
|
908
902
|
id: "timeline",
|
|
909
903
|
label: "Timeline",
|
|
910
|
-
component:
|
|
911
|
-
},
|
|
912
|
-
var
|
|
904
|
+
component: R
|
|
905
|
+
}, Gs = '*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}';
|
|
906
|
+
var Hs = Object.create, ft = Object.defineProperty, Xs = Object.getOwnPropertyDescriptor, Ao = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), No = (e) => {
|
|
913
907
|
throw TypeError(e);
|
|
914
|
-
},
|
|
908
|
+
}, Ws = (e, t, r) => t in e ? ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ys = (e, t) => ft(e, "name", { value: t, configurable: !0 }), Js = (e) => [, , , Hs(e?.[Ao("metadata")] ?? null)], qs = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Bo = (e) => e !== void 0 && typeof e != "function" ? No("Function expected") : e, Ks = (e, t, r, n, o) => ({ kind: qs[e], name: t, metadata: n, addInitializer: (i) => r._ ? No("Already initialized") : o.push(Bo(i || null)) }), Zs = (e, t) => Ws(t, Ao("metadata"), e[3]), Qs = (e, t, r, n) => {
|
|
915
909
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
916
910
|
return n;
|
|
917
|
-
},
|
|
918
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
919
|
-
|
|
911
|
+
}, Vs = (e, t, r, n, o, i) => {
|
|
912
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Xs(o, r));
|
|
913
|
+
Ys(o, r);
|
|
920
914
|
for (var p = n.length - 1; p >= 0; p--)
|
|
921
|
-
h =
|
|
922
|
-
return
|
|
923
|
-
},
|
|
924
|
-
|
|
925
|
-
class
|
|
915
|
+
h = Ks(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Bo(s) && (o = s);
|
|
916
|
+
return Zs(e, o), d && ft(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
917
|
+
}, Ro, mt, Uo;
|
|
918
|
+
Ro = [x()];
|
|
919
|
+
class ye extends (Uo = k) {
|
|
926
920
|
render() {
|
|
927
921
|
return /* @__PURE__ */ f(
|
|
928
922
|
"svg",
|
|
@@ -946,23 +940,23 @@ class we extends (No = k) {
|
|
|
946
940
|
);
|
|
947
941
|
}
|
|
948
942
|
}
|
|
949
|
-
mt =
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
var
|
|
943
|
+
mt = Js(Uo);
|
|
944
|
+
ye = Vs(mt, 0, "EllipsisVerticalIcon", Ro, ye);
|
|
945
|
+
Qs(mt, 1, ye);
|
|
946
|
+
var el = Object.create, xt = Object.defineProperty, tl = Object.getOwnPropertyDescriptor, Go = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Ho = (e) => {
|
|
953
947
|
throw TypeError(e);
|
|
954
|
-
},
|
|
948
|
+
}, rl = (e, t, r) => t in e ? xt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ol = (e, t) => xt(e, "name", { value: t, configurable: !0 }), nl = (e) => [, , , el(e?.[Go("metadata")] ?? null)], il = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Xo = (e) => e !== void 0 && typeof e != "function" ? Ho("Function expected") : e, al = (e, t, r, n, o) => ({ kind: il[e], name: t, metadata: n, addInitializer: (i) => r._ ? Ho("Already initialized") : o.push(Xo(i || null)) }), sl = (e, t) => rl(t, Go("metadata"), e[3]), ll = (e, t, r, n) => {
|
|
955
949
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
956
950
|
return n;
|
|
957
|
-
},
|
|
958
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
959
|
-
|
|
951
|
+
}, cl = (e, t, r, n, o, i) => {
|
|
952
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && tl(o, r));
|
|
953
|
+
ol(o, r);
|
|
960
954
|
for (var p = n.length - 1; p >= 0; p--)
|
|
961
|
-
h =
|
|
962
|
-
return
|
|
963
|
-
},
|
|
964
|
-
|
|
965
|
-
class
|
|
955
|
+
h = al(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Xo(s) && (o = s);
|
|
956
|
+
return sl(e, o), d && xt(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
957
|
+
}, Wo, wt, Yo;
|
|
958
|
+
Wo = [x()];
|
|
959
|
+
class Se extends (Yo = k) {
|
|
966
960
|
render() {
|
|
967
961
|
return /* @__PURE__ */ f(
|
|
968
962
|
"svg",
|
|
@@ -985,23 +979,23 @@ class $e extends (Ho = k) {
|
|
|
985
979
|
);
|
|
986
980
|
}
|
|
987
981
|
}
|
|
988
|
-
wt =
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
var
|
|
982
|
+
wt = nl(Yo);
|
|
983
|
+
Se = cl(wt, 0, "PanelBottomIcon", Wo, Se);
|
|
984
|
+
ll(wt, 1, Se);
|
|
985
|
+
var dl = Object.create, $t = Object.defineProperty, pl = Object.getOwnPropertyDescriptor, Jo = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), qo = (e) => {
|
|
992
986
|
throw TypeError(e);
|
|
993
|
-
},
|
|
987
|
+
}, ul = (e, t, r) => t in e ? $t(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hl = (e, t) => $t(e, "name", { value: t, configurable: !0 }), _l = (e) => [, , , dl(e?.[Jo("metadata")] ?? null)], vl = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Ko = (e) => e !== void 0 && typeof e != "function" ? qo("Function expected") : e, bl = (e, t, r, n, o) => ({ kind: vl[e], name: t, metadata: n, addInitializer: (i) => r._ ? qo("Already initialized") : o.push(Ko(i || null)) }), gl = (e, t) => ul(t, Jo("metadata"), e[3]), fl = (e, t, r, n) => {
|
|
994
988
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
995
989
|
return n;
|
|
996
|
-
},
|
|
997
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
998
|
-
|
|
990
|
+
}, ml = (e, t, r, n, o, i) => {
|
|
991
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && pl(o, r));
|
|
992
|
+
hl(o, r);
|
|
999
993
|
for (var p = n.length - 1; p >= 0; p--)
|
|
1000
|
-
h =
|
|
1001
|
-
return
|
|
1002
|
-
},
|
|
1003
|
-
|
|
1004
|
-
class
|
|
994
|
+
h = bl(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Ko(s) && (o = s);
|
|
995
|
+
return gl(e, o), d && $t(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
996
|
+
}, Zo, yt, Qo;
|
|
997
|
+
Zo = [x()];
|
|
998
|
+
class ke extends (Qo = k) {
|
|
1005
999
|
render() {
|
|
1006
1000
|
return /* @__PURE__ */ f(
|
|
1007
1001
|
"svg",
|
|
@@ -1024,23 +1018,23 @@ class ye extends (qo = k) {
|
|
|
1024
1018
|
);
|
|
1025
1019
|
}
|
|
1026
1020
|
}
|
|
1027
|
-
yt =
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
var
|
|
1021
|
+
yt = _l(Qo);
|
|
1022
|
+
ke = ml(yt, 0, "PanelLeftIcon", Zo, ke);
|
|
1023
|
+
fl(yt, 1, ke);
|
|
1024
|
+
var xl = Object.create, St = Object.defineProperty, wl = Object.getOwnPropertyDescriptor, Vo = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), en = (e) => {
|
|
1031
1025
|
throw TypeError(e);
|
|
1032
|
-
},
|
|
1026
|
+
}, $l = (e, t, r) => t in e ? St(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yl = (e, t) => St(e, "name", { value: t, configurable: !0 }), Sl = (e) => [, , , xl(e?.[Vo("metadata")] ?? null)], kl = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], tn = (e) => e !== void 0 && typeof e != "function" ? en("Function expected") : e, zl = (e, t, r, n, o) => ({ kind: kl[e], name: t, metadata: n, addInitializer: (i) => r._ ? en("Already initialized") : o.push(tn(i || null)) }), Il = (e, t) => $l(t, Vo("metadata"), e[3]), Ol = (e, t, r, n) => {
|
|
1033
1027
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
1034
1028
|
return n;
|
|
1035
|
-
},
|
|
1036
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
1037
|
-
|
|
1029
|
+
}, Pl = (e, t, r, n, o, i) => {
|
|
1030
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && wl(o, r));
|
|
1031
|
+
yl(o, r);
|
|
1038
1032
|
for (var p = n.length - 1; p >= 0; p--)
|
|
1039
|
-
h =
|
|
1040
|
-
return
|
|
1041
|
-
},
|
|
1042
|
-
|
|
1043
|
-
class
|
|
1033
|
+
h = zl(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, tn(s) && (o = s);
|
|
1034
|
+
return Il(e, o), d && St(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
1035
|
+
}, rn, kt, on;
|
|
1036
|
+
rn = [x()];
|
|
1037
|
+
class ze extends (on = k) {
|
|
1044
1038
|
render() {
|
|
1045
1039
|
return /* @__PURE__ */ f(
|
|
1046
1040
|
"svg",
|
|
@@ -1063,23 +1057,23 @@ class Se extends (en = k) {
|
|
|
1063
1057
|
);
|
|
1064
1058
|
}
|
|
1065
1059
|
}
|
|
1066
|
-
kt =
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
var
|
|
1060
|
+
kt = Sl(on);
|
|
1061
|
+
ze = Pl(kt, 0, "PanelRightIcon", rn, ze);
|
|
1062
|
+
Ol(kt, 1, ze);
|
|
1063
|
+
var Cl = Object.create, zt = Object.defineProperty, El = Object.getOwnPropertyDescriptor, nn = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), an = (e) => {
|
|
1070
1064
|
throw TypeError(e);
|
|
1071
|
-
},
|
|
1065
|
+
}, Dl = (e, t, r) => t in e ? zt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ml = (e, t) => zt(e, "name", { value: t, configurable: !0 }), Tl = (e) => [, , , Cl(e?.[nn("metadata")] ?? null)], jl = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], sn = (e) => e !== void 0 && typeof e != "function" ? an("Function expected") : e, Fl = (e, t, r, n, o) => ({ kind: jl[e], name: t, metadata: n, addInitializer: (i) => r._ ? an("Already initialized") : o.push(sn(i || null)) }), Ll = (e, t) => Dl(t, nn("metadata"), e[3]), Al = (e, t, r, n) => {
|
|
1072
1066
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
1073
1067
|
return n;
|
|
1074
|
-
},
|
|
1075
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
1076
|
-
|
|
1068
|
+
}, Nl = (e, t, r, n, o, i) => {
|
|
1069
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && El(o, r));
|
|
1070
|
+
Ml(o, r);
|
|
1077
1071
|
for (var p = n.length - 1; p >= 0; p--)
|
|
1078
|
-
h =
|
|
1079
|
-
return
|
|
1080
|
-
},
|
|
1081
|
-
|
|
1082
|
-
class
|
|
1072
|
+
h = Fl(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, sn(s) && (o = s);
|
|
1073
|
+
return Ll(e, o), d && zt(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
1074
|
+
}, ln, It, cn;
|
|
1075
|
+
ln = [x()];
|
|
1076
|
+
class Ie extends (cn = k) {
|
|
1083
1077
|
render() {
|
|
1084
1078
|
return /* @__PURE__ */ f(
|
|
1085
1079
|
"svg",
|
|
@@ -1102,23 +1096,23 @@ class ke extends (an = k) {
|
|
|
1102
1096
|
);
|
|
1103
1097
|
}
|
|
1104
1098
|
}
|
|
1105
|
-
It =
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
var
|
|
1099
|
+
It = Tl(cn);
|
|
1100
|
+
Ie = Nl(It, 0, "PanelTopIcon", ln, Ie);
|
|
1101
|
+
Al(It, 1, Ie);
|
|
1102
|
+
var Bl = Object.create, Ot = Object.defineProperty, Rl = Object.getOwnPropertyDescriptor, dn = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), pn = (e) => {
|
|
1109
1103
|
throw TypeError(e);
|
|
1110
|
-
},
|
|
1104
|
+
}, Ul = (e, t, r) => t in e ? Ot(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gl = (e, t) => Ot(e, "name", { value: t, configurable: !0 }), Hl = (e) => [, , , Bl(e?.[dn("metadata")] ?? null)], Xl = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], un = (e) => e !== void 0 && typeof e != "function" ? pn("Function expected") : e, Wl = (e, t, r, n, o) => ({ kind: Xl[e], name: t, metadata: n, addInitializer: (i) => r._ ? pn("Already initialized") : o.push(un(i || null)) }), Yl = (e, t) => Ul(t, dn("metadata"), e[3]), Jl = (e, t, r, n) => {
|
|
1111
1105
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
1112
1106
|
return n;
|
|
1113
|
-
},
|
|
1114
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
1115
|
-
|
|
1107
|
+
}, ql = (e, t, r, n, o, i) => {
|
|
1108
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Rl(o, r));
|
|
1109
|
+
Gl(o, r);
|
|
1116
1110
|
for (var p = n.length - 1; p >= 0; p--)
|
|
1117
|
-
h =
|
|
1118
|
-
return
|
|
1119
|
-
},
|
|
1120
|
-
|
|
1121
|
-
class
|
|
1111
|
+
h = Wl(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, un(s) && (o = s);
|
|
1112
|
+
return Yl(e, o), d && Ot(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
1113
|
+
}, hn, Pt, _n;
|
|
1114
|
+
hn = [x()];
|
|
1115
|
+
class Oe extends (_n = k) {
|
|
1122
1116
|
render() {
|
|
1123
1117
|
return /* @__PURE__ */ f(
|
|
1124
1118
|
"svg",
|
|
@@ -1141,23 +1135,23 @@ class ze extends (pn = k) {
|
|
|
1141
1135
|
);
|
|
1142
1136
|
}
|
|
1143
1137
|
}
|
|
1144
|
-
Pt =
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
var
|
|
1138
|
+
Pt = Hl(_n);
|
|
1139
|
+
Oe = ql(Pt, 0, "XIcon", hn, Oe);
|
|
1140
|
+
Jl(Pt, 1, Oe);
|
|
1141
|
+
var Kl = Object.create, Ct = Object.defineProperty, Zl = Object.getOwnPropertyDescriptor, vn = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), bn = (e) => {
|
|
1148
1142
|
throw TypeError(e);
|
|
1149
|
-
},
|
|
1143
|
+
}, Ql = (e, t, r) => t in e ? Ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vl = (e, t) => Ct(e, "name", { value: t, configurable: !0 }), ec = (e) => [, , , Kl(e?.[vn("metadata")] ?? null)], tc = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], gn = (e) => e !== void 0 && typeof e != "function" ? bn("Function expected") : e, rc = (e, t, r, n, o) => ({ kind: tc[e], name: t, metadata: n, addInitializer: (i) => r._ ? bn("Already initialized") : o.push(gn(i || null)) }), oc = (e, t) => Ql(t, vn("metadata"), e[3]), nc = (e, t, r, n) => {
|
|
1150
1144
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
|
|
1151
1145
|
return n;
|
|
1152
|
-
},
|
|
1153
|
-
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) &&
|
|
1154
|
-
|
|
1146
|
+
}, ic = (e, t, r, n, o, i) => {
|
|
1147
|
+
var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Zl(o, r));
|
|
1148
|
+
Vl(o, r);
|
|
1155
1149
|
for (var p = n.length - 1; p >= 0; p--)
|
|
1156
|
-
h =
|
|
1157
|
-
return
|
|
1158
|
-
},
|
|
1159
|
-
|
|
1160
|
-
class
|
|
1150
|
+
h = rc(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, gn(s) && (o = s);
|
|
1151
|
+
return oc(e, o), d && Ct(o, r, d), _ ? l ^ 4 ? i : d : o;
|
|
1152
|
+
}, fn, Et, mn;
|
|
1153
|
+
fn = [x()];
|
|
1154
|
+
class q extends (mn = k) {
|
|
1161
1155
|
render() {
|
|
1162
1156
|
const { title: t, active: r, icon: n, onClick: o } = this.props;
|
|
1163
1157
|
return /* @__PURE__ */ u(
|
|
@@ -1171,35 +1165,35 @@ class W extends (bn = k) {
|
|
|
1171
1165
|
);
|
|
1172
1166
|
}
|
|
1173
1167
|
}
|
|
1174
|
-
Et =
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
var
|
|
1168
|
+
Et = ec(mn);
|
|
1169
|
+
q = ic(Et, 0, "IconButton", fn, q);
|
|
1170
|
+
nc(Et, 1, q);
|
|
1171
|
+
var ac = Object.create, Dt = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, xn = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), _e = (e) => {
|
|
1178
1172
|
throw TypeError(e);
|
|
1179
|
-
},
|
|
1173
|
+
}, lc = (e, t, r) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kt = (e, t) => Dt(e, "name", { value: t, configurable: !0 }), cc = (e) => [, , , ac(e?.[xn("metadata")] ?? null)], wn = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], ne = (e) => e !== void 0 && typeof e != "function" ? _e("Function expected") : e, dc = (e, t, r, n, o) => ({ kind: wn[e], name: t, metadata: n, addInitializer: (i) => r._ ? _e("Already initialized") : o.push(ne(i || null)) }), pc = (e, t) => lc(t, xn("metadata"), e[3]), z = (e, t, r, n) => {
|
|
1180
1174
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
|
|
1181
1175
|
return n;
|
|
1182
|
-
},
|
|
1183
|
-
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w =
|
|
1176
|
+
}, A = (e, t, r, n, o, i) => {
|
|
1177
|
+
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = wn[a + 5], S = a > 3 && (e[p - 1] = []), E = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && sc(a < 4 ? o : { get [r]() {
|
|
1184
1178
|
return Zt(this, i);
|
|
1185
1179
|
}, set [r](v) {
|
|
1186
1180
|
return Qt(this, i, v);
|
|
1187
1181
|
} }, r));
|
|
1188
1182
|
a ? d && a < 4 && Kt(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : Kt(o, r);
|
|
1189
1183
|
for (var $ = n.length - 1; $ >= 0; $--)
|
|
1190
|
-
l =
|
|
1191
|
-
return a ||
|
|
1192
|
-
}, Mt = (e, t, r) => t.has(e) ||
|
|
1193
|
-
const Vt = 180,
|
|
1194
|
-
bottom:
|
|
1195
|
-
top:
|
|
1196
|
-
left:
|
|
1197
|
-
right:
|
|
1184
|
+
l = dc(a, r, h = {}, e[3], E), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => uc(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? Zt : hc)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => Qt(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? ne(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? _e("Object expected") : (ne(s = c.get) && (g.get = s), ne(s = c.set) && (g.set = s), ne(s = c.init) && S.unshift(s));
|
|
1185
|
+
return a || pc(e, o), g && Dt(o, r, g), d ? a ^ 4 ? i : g : o;
|
|
1186
|
+
}, Mt = (e, t, r) => t.has(e) || _e("Cannot " + r), uc = (e, t) => Object(t) !== t ? _e('Cannot use the "in" operator on this value') : e.has(t), Zt = (e, t, r) => (Mt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Qt = (e, t, r, n) => (Mt(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), hc = (e, t, r) => (Mt(e, t, "access private method"), r), $n, yn, Sn, kn, zn, In, On, Pn, je, Cn, m;
|
|
1187
|
+
const Vt = 180, _c = 300, er = 240, vc = 380, bc = {
|
|
1188
|
+
bottom: Se,
|
|
1189
|
+
top: Ie,
|
|
1190
|
+
left: ke,
|
|
1191
|
+
right: ze
|
|
1198
1192
|
};
|
|
1199
|
-
|
|
1200
|
-
class
|
|
1193
|
+
Cn = [x()];
|
|
1194
|
+
class T extends (je = Q, Pn = [C()], On = [C()], In = [C()], zn = [C()], kn = [C()], Sn = [N()], yn = [N()], $n = [Ln("onClose")], je) {
|
|
1201
1195
|
constructor() {
|
|
1202
|
-
super(...arguments), z(m, 5, this), this.activeTab = z(m, 8, this, ""), z(m, 11, this), this.dock = z(m, 12, this, "bottom"), z(m, 15, this), this.dockMenuOpen = z(m, 16, this, !1), z(m, 19, this), this.bottomSize = z(m, 20, this,
|
|
1196
|
+
super(...arguments), z(m, 5, this), this.activeTab = z(m, 8, this, ""), z(m, 11, this), this.dock = z(m, 12, this, "bottom"), z(m, 15, this), this.dockMenuOpen = z(m, 16, this, !1), z(m, 19, this), this.bottomSize = z(m, 20, this, _c), z(m, 23, this), this.vertSize = z(m, 24, this, vc), z(m, 27, this), this.plugins = z(m, 28, this, []), z(m, 31, this), this.registry = z(m, 32, this), z(m, 35, this);
|
|
1203
1197
|
}
|
|
1204
1198
|
handleClose() {
|
|
1205
1199
|
}
|
|
@@ -1289,10 +1283,10 @@ class M extends (Te = K, zn = [O()], kn = [O()], Sn = [O()], yn = [O()], $n = [O
|
|
|
1289
1283
|
/* @__PURE__ */ f("div", { class: "flex items-center gap-[2px] shrink-0", children: [
|
|
1290
1284
|
/* @__PURE__ */ f("div", { class: "relative", children: [
|
|
1291
1285
|
/* @__PURE__ */ u(
|
|
1292
|
-
|
|
1286
|
+
q,
|
|
1293
1287
|
{
|
|
1294
1288
|
title: "Dock position",
|
|
1295
|
-
icon:
|
|
1289
|
+
icon: ye,
|
|
1296
1290
|
active: () => this.dockMenuOpen,
|
|
1297
1291
|
onClick: () => {
|
|
1298
1292
|
this.dockMenuOpen = !this.dockMenuOpen;
|
|
@@ -1301,11 +1295,11 @@ class M extends (Te = K, zn = [O()], kn = [O()], Sn = [O()], yn = [O()], $n = [O
|
|
|
1301
1295
|
),
|
|
1302
1296
|
() => this.dockMenuOpen ? /* @__PURE__ */ u("div", { class: "absolute right-0 top-full mt-1 flex gap-[2px] bg-bg border border-border rounded-md shadow-lg p-1 z-10", children: ["bottom", "top", "left", "right"].map(
|
|
1303
1297
|
(t) => /* @__PURE__ */ u(
|
|
1304
|
-
|
|
1298
|
+
q,
|
|
1305
1299
|
{
|
|
1306
1300
|
title: `Dock ${t}`,
|
|
1307
1301
|
active: () => this.dock === t,
|
|
1308
|
-
icon:
|
|
1302
|
+
icon: bc[t],
|
|
1309
1303
|
onClick: () => {
|
|
1310
1304
|
this.dock = t, this.dockMenuOpen = !1;
|
|
1311
1305
|
}
|
|
@@ -1316,10 +1310,10 @@ class M extends (Te = K, zn = [O()], kn = [O()], Sn = [O()], yn = [O()], $n = [O
|
|
|
1316
1310
|
] }),
|
|
1317
1311
|
/* @__PURE__ */ u("div", { class: "w-px h-3 bg-border mx-1" }),
|
|
1318
1312
|
/* @__PURE__ */ u(
|
|
1319
|
-
|
|
1313
|
+
q,
|
|
1320
1314
|
{
|
|
1321
1315
|
title: "Close",
|
|
1322
|
-
icon:
|
|
1316
|
+
icon: Oe,
|
|
1323
1317
|
onClick: () => {
|
|
1324
1318
|
this.handleClose();
|
|
1325
1319
|
}
|
|
@@ -1341,46 +1335,46 @@ class M extends (Te = K, zn = [O()], kn = [O()], Sn = [O()], yn = [O()], $n = [O
|
|
|
1341
1335
|
);
|
|
1342
1336
|
}
|
|
1343
1337
|
}
|
|
1344
|
-
m =
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
z(m, 1,
|
|
1355
|
-
var
|
|
1338
|
+
m = cc(je);
|
|
1339
|
+
A(m, 1, "handleClose", $n, T);
|
|
1340
|
+
A(m, 5, "activeTab", Pn, T);
|
|
1341
|
+
A(m, 5, "dock", On, T);
|
|
1342
|
+
A(m, 5, "dockMenuOpen", In, T);
|
|
1343
|
+
A(m, 5, "bottomSize", zn, T);
|
|
1344
|
+
A(m, 5, "vertSize", kn, T);
|
|
1345
|
+
A(m, 5, "plugins", Sn, T);
|
|
1346
|
+
A(m, 5, "registry", yn, T);
|
|
1347
|
+
T = A(m, 0, "Panel", Cn, T);
|
|
1348
|
+
z(m, 1, T);
|
|
1349
|
+
var gc = Object.create, Tt = Object.defineProperty, fc = Object.getOwnPropertyDescriptor, En = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), ve = (e) => {
|
|
1356
1350
|
throw TypeError(e);
|
|
1357
|
-
},
|
|
1351
|
+
}, mc = (e, t, r) => t in e ? Tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tr = (e, t) => Tt(e, "name", { value: t, configurable: !0 }), xc = (e) => [, , , gc(e?.[En("metadata")] ?? null)], Dn = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], ie = (e) => e !== void 0 && typeof e != "function" ? ve("Function expected") : e, wc = (e, t, r, n, o) => ({ kind: Dn[e], name: t, metadata: n, addInitializer: (i) => r._ ? ve("Already initialized") : o.push(ie(i || null)) }), $c = (e, t) => mc(t, En("metadata"), e[3]), H = (e, t, r, n) => {
|
|
1358
1352
|
for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
|
|
1359
1353
|
return n;
|
|
1360
|
-
},
|
|
1361
|
-
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w =
|
|
1354
|
+
}, Ce = (e, t, r, n, o, i) => {
|
|
1355
|
+
var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = Dn[a + 5], S = a > 3 && (e[p - 1] = []), E = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && fc(a < 4 ? o : { get [r]() {
|
|
1362
1356
|
return rr(this, i);
|
|
1363
1357
|
}, set [r](v) {
|
|
1364
1358
|
return or(this, i, v);
|
|
1365
1359
|
} }, r));
|
|
1366
1360
|
a ? d && a < 4 && tr(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : tr(o, r);
|
|
1367
1361
|
for (var $ = n.length - 1; $ >= 0; $--)
|
|
1368
|
-
l =
|
|
1369
|
-
return a ||
|
|
1370
|
-
}, jt = (e, t, r) => t.has(e) ||
|
|
1371
|
-
const
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1362
|
+
l = wc(a, r, h = {}, e[3], E), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => yc(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? rr : Sc)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => or(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? ie(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? ve("Object expected") : (ie(s = c.get) && (g.get = s), ie(s = c.set) && (g.set = s), ie(s = c.init) && S.unshift(s));
|
|
1363
|
+
return a || $c(e, o), g && Tt(o, r, g), d ? a ^ 4 ? i : g : o;
|
|
1364
|
+
}, jt = (e, t, r) => t.has(e) || ve("Cannot " + r), yc = (e, t) => Object(t) !== t ? ve('Cannot use the "in" operator on this value') : e.has(t), rr = (e, t, r) => (jt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), or = (e, t, r, n) => (jt(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), Sc = (e, t, r) => (jt(e, t, "access private method"), r), Mn, Tn, jn, Fe, Fn, M;
|
|
1365
|
+
const kc = [
|
|
1366
|
+
hs,
|
|
1367
|
+
fa,
|
|
1368
|
+
Us
|
|
1375
1369
|
];
|
|
1376
|
-
|
|
1377
|
-
class
|
|
1370
|
+
Fn = [x()];
|
|
1371
|
+
class U extends (Fe = Q, jn = [C()], Tn = [N()], Mn = [N()], Fe) {
|
|
1378
1372
|
constructor() {
|
|
1379
|
-
super(...arguments), this.open =
|
|
1373
|
+
super(...arguments), this.open = H(M, 8, this, !1), H(M, 11, this), this.plugins = H(M, 12, this, []), H(M, 15, this), this.registry = H(M, 16, this), H(M, 19, this);
|
|
1380
1374
|
}
|
|
1381
1375
|
render() {
|
|
1382
1376
|
return /* @__PURE__ */ u("div", { children: () => this.open ? /* @__PURE__ */ u(
|
|
1383
|
-
|
|
1377
|
+
T,
|
|
1384
1378
|
{
|
|
1385
1379
|
plugins: this.plugins,
|
|
1386
1380
|
registry: this.registry,
|
|
@@ -1403,14 +1397,14 @@ class L extends (je = K, Dn = [O()], En = [ie()], Cn = [ie()], je) {
|
|
|
1403
1397
|
) });
|
|
1404
1398
|
}
|
|
1405
1399
|
}
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
const
|
|
1413
|
-
plugins: [
|
|
1400
|
+
M = xc(Fe);
|
|
1401
|
+
Ce(M, 5, "open", jn, U);
|
|
1402
|
+
Ce(M, 5, "plugins", Tn, U);
|
|
1403
|
+
Ce(M, 5, "registry", Mn, U);
|
|
1404
|
+
U = Ce(M, 0, "DevToolsApp", Fn, U);
|
|
1405
|
+
H(M, 1, U);
|
|
1406
|
+
const Tc = {
|
|
1407
|
+
plugins: [...kc],
|
|
1414
1408
|
host: null,
|
|
1415
1409
|
cleanup: null,
|
|
1416
1410
|
init(e = {}) {
|
|
@@ -1419,10 +1413,10 @@ const Ec = {
|
|
|
1419
1413
|
const t = document.createElement("div");
|
|
1420
1414
|
t.id = "praxisjs-devtools", document.body.appendChild(t), this.host = t;
|
|
1421
1415
|
const r = t.attachShadow({ mode: "open" }), n = document.createElement("style");
|
|
1422
|
-
n.textContent =
|
|
1416
|
+
n.textContent = Gs + Hn, r.appendChild(n);
|
|
1423
1417
|
const o = document.createElement("div");
|
|
1424
1418
|
r.appendChild(o), this.cleanup = Ft(
|
|
1425
|
-
() => /* @__PURE__ */ u(
|
|
1419
|
+
() => /* @__PURE__ */ u(U, { plugins: this.plugins, registry: I.instance }),
|
|
1426
1420
|
o
|
|
1427
1421
|
);
|
|
1428
1422
|
},
|
|
@@ -1436,7 +1430,7 @@ const Ec = {
|
|
|
1436
1430
|
if (!this.host) return;
|
|
1437
1431
|
const t = this.host.shadowRoot.querySelector("div:last-child");
|
|
1438
1432
|
this.cleanup?.(), this.cleanup = Ft(
|
|
1439
|
-
() => /* @__PURE__ */ u(
|
|
1433
|
+
() => /* @__PURE__ */ u(U, { plugins: this.plugins, registry: I.instance }),
|
|
1440
1434
|
t
|
|
1441
1435
|
);
|
|
1442
1436
|
}
|
|
@@ -1444,12 +1438,12 @@ const Ec = {
|
|
|
1444
1438
|
function nr(e) {
|
|
1445
1439
|
return typeof e == "function" && typeof e.subscribe == "function" && !("set" in e);
|
|
1446
1440
|
}
|
|
1447
|
-
function
|
|
1441
|
+
function jc(e = {}) {
|
|
1448
1442
|
return function(r, n) {
|
|
1449
1443
|
const o = e.label ?? n.name;
|
|
1450
1444
|
if (n.kind === "method") {
|
|
1451
1445
|
const i = r;
|
|
1452
|
-
|
|
1446
|
+
An({
|
|
1453
1447
|
wrap(s, c, h) {
|
|
1454
1448
|
return function(...l) {
|
|
1455
1449
|
const _ = this.constructor.name, a = performance.now();
|
|
@@ -1477,11 +1471,11 @@ function Dc(e = {}) {
|
|
|
1477
1471
|
}
|
|
1478
1472
|
if (n.kind === "getter") {
|
|
1479
1473
|
const i = r;
|
|
1480
|
-
|
|
1474
|
+
Nn({
|
|
1481
1475
|
observe(s, c, h) {
|
|
1482
1476
|
const l = c.constructor.name;
|
|
1483
1477
|
queueMicrotask(() => {
|
|
1484
|
-
const _ =
|
|
1478
|
+
const _ = Gn(() => s.call(c));
|
|
1485
1479
|
let a = !0, b = _();
|
|
1486
1480
|
I.instance.registerSignal(c, o, b, l), _.subscribe((d) => {
|
|
1487
1481
|
if (a) {
|
|
@@ -1495,7 +1489,7 @@ function Dc(e = {}) {
|
|
|
1495
1489
|
})(i, n);
|
|
1496
1490
|
return;
|
|
1497
1491
|
}
|
|
1498
|
-
|
|
1492
|
+
Bn({
|
|
1499
1493
|
bind(i, s, c) {
|
|
1500
1494
|
const h = i.constructor.name, l = Object.getOwnPropertyDescriptor(i, s);
|
|
1501
1495
|
if (l?.get && l.set) {
|
|
@@ -1520,12 +1514,12 @@ function Dc(e = {}) {
|
|
|
1520
1514
|
let a;
|
|
1521
1515
|
function b(d) {
|
|
1522
1516
|
let p = !0, w = d();
|
|
1523
|
-
const S = d.subscribe((
|
|
1517
|
+
const S = d.subscribe((E) => {
|
|
1524
1518
|
if (p) {
|
|
1525
1519
|
p = !1;
|
|
1526
1520
|
return;
|
|
1527
1521
|
}
|
|
1528
|
-
I.instance.updateSignal(i, o,
|
|
1522
|
+
I.instance.updateSignal(i, o, E, w), w = E;
|
|
1529
1523
|
});
|
|
1530
1524
|
return I.instance.registerSignal(i, o, w, h), S;
|
|
1531
1525
|
}
|
|
@@ -1549,8 +1543,8 @@ function Dc(e = {}) {
|
|
|
1549
1543
|
})(void 0, n);
|
|
1550
1544
|
};
|
|
1551
1545
|
}
|
|
1552
|
-
const
|
|
1553
|
-
class
|
|
1546
|
+
const zc = ["onBeforeUpdate", "onUpdate", "onAfterUpdate"];
|
|
1547
|
+
class Ic extends Rn {
|
|
1554
1548
|
create(t) {
|
|
1555
1549
|
const r = I.instance;
|
|
1556
1550
|
return {
|
|
@@ -1571,7 +1565,7 @@ class Sc extends An {
|
|
|
1571
1565
|
i.onBeforeMount = function(...c) {
|
|
1572
1566
|
return o.registerComponent(this, n), o.recordLifecycle(this, "onBeforeMount"), s?.call(this, ...c);
|
|
1573
1567
|
};
|
|
1574
|
-
for (const c of
|
|
1568
|
+
for (const c of zc) {
|
|
1575
1569
|
const h = i[c];
|
|
1576
1570
|
i[c] = function(...l) {
|
|
1577
1571
|
return o.recordLifecycle(this, c), h?.call(this, ...l);
|
|
@@ -1579,16 +1573,16 @@ class Sc extends An {
|
|
|
1579
1573
|
}
|
|
1580
1574
|
}
|
|
1581
1575
|
}
|
|
1582
|
-
const
|
|
1583
|
-
function
|
|
1584
|
-
return
|
|
1576
|
+
const Oc = new Ic();
|
|
1577
|
+
function Fc() {
|
|
1578
|
+
return Un(Oc);
|
|
1585
1579
|
}
|
|
1586
1580
|
export {
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1581
|
+
fa as ComponentsPlugin,
|
|
1582
|
+
jc as Debug,
|
|
1583
|
+
Tc as DevTools,
|
|
1590
1584
|
I as Registry,
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1585
|
+
hs as SignalsPlugin,
|
|
1586
|
+
Us as TimelinePlugin,
|
|
1587
|
+
Fc as Trace
|
|
1594
1588
|
};
|