Sync build v0.9.135

Automated sync from private repository.
Commit: a6d87a120ba1049dcd86f5f87af16a8a5a28a22e
This commit is contained in:
GitHub Actions Bot
2026-01-15 09:36:25 +00:00
parent 428f68e428
commit fa78b803fa
34 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -1 +1 @@
0.9.134
0.9.135
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{r as e,b as t,j as o,a4 as s,X as n}from"./vendor-react-CWPBVwgk.js";import{c as r}from"./recharts-cqZ_RWsW.js";const d=e.memo(function({isOpen:d,title:l="Confirm",message:a,confirmLabel:i="Confirm",cancelLabel:c="Cancel",variant:m="default",onConfirm:b,onCancel:x}){if(e.useEffect(()=>{if(!d)return;const e=e=>{"Escape"===e.key&&x()};window.addEventListener("keydown",e);const t=document.body.style.overflow,o=document.body.style.position,s=document.body.style.width,n=document.body.style.top,r=window.scrollY;return document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.top=`-${r}px`,()=>{window.removeEventListener("keydown",e),document.body.style.overflow=t,document.body.style.position=o,document.body.style.width=s,document.body.style.top=n,window.scrollTo(0,r)}},[d,x]),!d)return null;const u={danger:{icon:"text-accent-danger",button:"bg-accent-danger hover:brightness-110 active:brightness-90"},warning:{icon:"text-accent-secondary",button:"bg-accent-secondary hover:brightness-110 active:brightness-90 text-bg-body"},default:{icon:"text-accent-primary",button:"bg-accent-primary hover:brightness-110 active:brightness-90 text-bg-body"}}[m];return t.createPortal(o.jsx("div",{className:"fixed inset-0 bg-black/40 backdrop-blur-md z-[10010] flex items-end sm:items-center justify-center",onClick:x,role:"dialog","aria-modal":"true","aria-labelledby":"confirm-modal-title",children:o.jsxs("div",{className:r("glass-card-elevated w-full max-w-sm","sm:mx-4 sm:rounded-xl","rounded-t-2xl rounded-b-none sm:rounded-b-xl","pb-safe"),onClick:e=>e.stopPropagation(),children:[o.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-border-subtle",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:r("p-2 rounded-lg bg-bg-subtle",u.icon),children:o.jsx(s,{className:"w-5 h-5"})}),o.jsx("h3",{id:"confirm-modal-title",className:"text-base font-semibold text-text-primary",children:l})]}),o.jsx("button",{onClick:x,className:"p-2 rounded-lg text-text-muted hover:text-text-primary hover:bg-bg-subtle transition-colors",children:o.jsx(n,{className:"w-5 h-5"})})]}),o.jsx("div",{className:"p-4",children:o.jsx("p",{className:"text-sm text-text-secondary",children:a})}),o.jsxs("div",{className:"flex gap-3 p-4 pt-0",children:[o.jsx("button",{onClick:x,className:"flex-1 px-4 py-2.5 rounded-lg text-sm font-medium text-text-secondary bg-bg-subtle hover:bg-bg-elevated border border-border-subtle transition-colors",children:c}),o.jsx("button",{onClick:b,className:r("flex-1 px-4 py-2.5 rounded-lg text-sm font-medium text-text-primary transition-colors",u.button),children:i})]})]})}),document.body)});export{d as C};
import{r as e,b as t,j as o,a4 as s,X as n}from"./vendor-react-LGx7x4bU.js";import{c as r}from"./recharts-BJfdDyUB.js";const d=e.memo(function({isOpen:d,title:l="Confirm",message:a,confirmLabel:i="Confirm",cancelLabel:c="Cancel",variant:m="default",onConfirm:b,onCancel:x}){if(e.useEffect(()=>{if(!d)return;const e=e=>{"Escape"===e.key&&x()};window.addEventListener("keydown",e);const t=document.body.style.overflow,o=document.body.style.position,s=document.body.style.width,n=document.body.style.top,r=window.scrollY;return document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.top=`-${r}px`,()=>{window.removeEventListener("keydown",e),document.body.style.overflow=t,document.body.style.position=o,document.body.style.width=s,document.body.style.top=n,window.scrollTo(0,r)}},[d,x]),!d)return null;const u={danger:{icon:"text-accent-danger",button:"bg-accent-danger hover:brightness-110 active:brightness-90"},warning:{icon:"text-accent-secondary",button:"bg-accent-secondary hover:brightness-110 active:brightness-90 text-bg-body"},default:{icon:"text-accent-primary",button:"bg-accent-primary hover:brightness-110 active:brightness-90 text-bg-body"}}[m];return t.createPortal(o.jsx("div",{className:"fixed inset-0 bg-black/40 backdrop-blur-md z-[10010] flex items-end sm:items-center justify-center",onClick:x,role:"dialog","aria-modal":"true","aria-labelledby":"confirm-modal-title",children:o.jsxs("div",{className:r("glass-card-elevated w-full max-w-sm","sm:mx-4 sm:rounded-xl","rounded-t-2xl rounded-b-none sm:rounded-b-xl","pb-safe"),onClick:e=>e.stopPropagation(),children:[o.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-border-subtle",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:r("p-2 rounded-lg bg-bg-subtle",u.icon),children:o.jsx(s,{className:"w-5 h-5"})}),o.jsx("h3",{id:"confirm-modal-title",className:"text-base font-semibold text-text-primary",children:l})]}),o.jsx("button",{onClick:x,className:"p-2 rounded-lg text-text-muted hover:text-text-primary hover:bg-bg-subtle transition-colors",children:o.jsx(n,{className:"w-5 h-5"})})]}),o.jsx("div",{className:"p-4",children:o.jsx("p",{className:"text-sm text-text-secondary",children:a})}),o.jsxs("div",{className:"flex gap-3 p-4 pt-0",children:[o.jsx("button",{onClick:x,className:"flex-1 px-4 py-2.5 rounded-lg text-sm font-medium text-text-secondary bg-bg-subtle hover:bg-bg-elevated border border-border-subtle transition-colors",children:c}),o.jsx("button",{onClick:b,className:r("flex-1 px-4 py-2.5 rounded-lg text-sm font-medium text-text-primary transition-colors",u.button),children:i})]})]})}),document.body)});export{d as C};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{r as o,j as e}from"./vendor-react-CWPBVwgk.js";import{c as t}from"./recharts-cqZ_RWsW.js";const l={hero:{mobile:12},"hero-tall":{mobile:12},"hero-auto":{mobile:12},panel:{mobile:12,md:6},feature:{mobile:12,md:6,lg:4},standard:{mobile:12,sm:6,lg:4,xl:3},compact:{mobile:6,lg:3},widget:{mobile:6,sm:4,md:3,lg:2},auto:{mobile:12}},a={hero:"bento-row-hero","hero-tall":"bento-row-hero-tall","hero-auto":"bento-row-hero-auto",panel:"bento-row-panel",feature:"bento-row-feature",standard:"bento-row-standard",compact:"bento-row-compact",widget:"bento-row-widget",auto:"bento-row-auto"};function n({template:n,children:r,className:s,gap:c}){const i=l[n],b=a[n],d="none"===c?"gap-0":"sm"===c?"bento-gap-sm":"lg"===c?"bento-gap-lg":"bento-gap",p=o.Children.map(r,t=>o.isValidElement(t)?t.type===m?t:e.jsx(m,{span:i.mobile,sm:i.sm,md:i.md,lg:i.lg,xl:i.xl,children:t}):t);return e.jsx("div",{className:t("bento-row",b,d,s),children:p})}function r(o,e=""){const t=e?`${e}:`:"";return"full"===o?`${t}col-span-full`:"auto"===o?`${t}col-auto`:1.5===o?`${t}bento-col-1-5`:`${t}bento-col-${o}`}function m({children:o,span:l,sm:a,md:n,lg:m,xl:s,className:c}){const i=t("bento-cell",r(l),a&&r(a,"sm"),n&&r(n,"md"),m&&r(m,"lg"),s&&r(s,"xl"),c);return e.jsx("div",{className:i,children:o})}export{m as C,n as R};
import{r as o,j as e}from"./vendor-react-LGx7x4bU.js";import{c as t}from"./recharts-BJfdDyUB.js";const l={hero:{mobile:12},"hero-tall":{mobile:12},"hero-auto":{mobile:12},panel:{mobile:12,md:6},feature:{mobile:12,md:6,lg:4},standard:{mobile:12,sm:6,lg:4,xl:3},compact:{mobile:6,lg:3},widget:{mobile:6,sm:4,md:3,lg:2},auto:{mobile:12}},a={hero:"bento-row-hero","hero-tall":"bento-row-hero-tall","hero-auto":"bento-row-hero-auto",panel:"bento-row-panel",feature:"bento-row-feature",standard:"bento-row-standard",compact:"bento-row-compact",widget:"bento-row-widget",auto:"bento-row-auto"};function n({template:n,children:r,className:s,gap:c}){const i=l[n],b=a[n],d="none"===c?"gap-0":"sm"===c?"bento-gap-sm":"lg"===c?"bento-gap-lg":"bento-gap",p=o.Children.map(r,t=>o.isValidElement(t)?t.type===m?t:e.jsx(m,{span:i.mobile,sm:i.sm,md:i.md,lg:i.lg,xl:i.xl,children:t}):t);return e.jsx("div",{className:t("bento-row",b,d,s),children:p})}function r(o,e=""){const t=e?`${e}:`:"";return"full"===o?`${t}col-span-full`:"auto"===o?`${t}col-auto`:1.5===o?`${t}bento-col-1-5`:`${t}bento-col-${o}`}function m({children:o,span:l,sm:a,md:n,lg:m,xl:s,className:c}){const i=t("bento-cell",r(l),a&&r(a,"sm"),n&&r(n,"md"),m&&r(m,"lg"),s&&r(s,"xl"),c);return e.jsx("div",{className:i,children:o})}export{m as C,n as R};
@@ -1 +1 @@
import{r as e,j as t,a7 as o,W as n}from"./vendor-react-CWPBVwgk.js";import{c as s}from"./recharts-cqZ_RWsW.js";function a({hash:a,copyValue:r,prefixLength:c=8,suffixLength:i=6,full:l=!1,className:p,size:u="md"}){const[d,x]=e.useState(!1),[h,m]=e.useState(!1),w=e.useRef(null),y=r??a,f=e.useCallback(e=>{e.preventDefault(),e.stopPropagation(),w.current&&clearTimeout(w.current),function(e){if("undefined"!=typeof window&&(window.isSecureContext||"https:"===window.location.protocol||"localhost"===window.location.hostname)&&navigator.clipboard&&"function"==typeof navigator.clipboard.writeText)return navigator.clipboard.writeText(e).catch(()=>{}),!0;try{const t=window.scrollX,o=window.scrollY,n=document.createElement("textarea");n.value=e,n.style.position="fixed",n.style.left="-9999px",n.style.top="-9999px",n.style.opacity="0",n.style.pointerEvents="none",n.setAttribute("readonly",""),document.body.appendChild(n),n.focus({preventScroll:!0}),n.select(),n.setSelectionRange(0,e.length);const s=document.execCommand("copy");return document.body.removeChild(n),window.scrollTo(t,o),s}catch(t){return!1}}(y),x(!0),w.current=setTimeout(()=>x(!1),2e3)},[y]),b=l||a.length<=c+i+3?a:`${a.slice(0,c)}${a.slice(-i)}`,g={xs:"text-[9px] px-1 py-0.5 gap-0.5",sm:"text-[10px] px-1.5 py-0.5 gap-1",md:"text-xs px-2 py-1 gap-1.5"}[u];return t.jsxs("button",{type:"button",onClick:f,onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),className:s("inline-flex items-center font-mono rounded transition-all duration-200","bg-white/[0.04] hover:bg-white/[0.08]","border border-white/[0.06] hover:border-white/[0.12]","cursor-pointer select-none",g,p),title:`Click to copy: ${y}`,"aria-label":`Copy hash ${y}`,children:[t.jsx("span",{className:s("transition-colors duration-200",d?"text-accent-success":"text-text-secondary"),children:b}),t.jsx("span",{className:s("flex items-center justify-center transition-all duration-200","xs"===u?"w-2.5 h-2.5":"sm"===u?"w-3 h-3":"w-3.5 h-3.5"),children:d?t.jsx(o,{className:s("text-accent-success","xs"===u?"w-2 h-2":"sm"===u?"w-2.5 h-2.5":"w-3 h-3")}):t.jsx(n,{className:s("transition-opacity duration-200",h?"opacity-70":"opacity-40","xs"===u?"w-2 h-2":"sm"===u?"w-2.5 h-2.5":"w-3 h-3")})})]})}export{a as H};
import{r as e,j as t,a7 as o,W as n}from"./vendor-react-LGx7x4bU.js";import{c as s}from"./recharts-BJfdDyUB.js";function a({hash:a,copyValue:r,prefixLength:c=8,suffixLength:i=6,full:l=!1,className:p,size:u="md"}){const[d,x]=e.useState(!1),[h,m]=e.useState(!1),w=e.useRef(null),y=r??a,f=e.useCallback(e=>{e.preventDefault(),e.stopPropagation(),w.current&&clearTimeout(w.current),function(e){if("undefined"!=typeof window&&(window.isSecureContext||"https:"===window.location.protocol||"localhost"===window.location.hostname)&&navigator.clipboard&&"function"==typeof navigator.clipboard.writeText)return navigator.clipboard.writeText(e).catch(()=>{}),!0;try{const t=window.scrollX,o=window.scrollY,n=document.createElement("textarea");n.value=e,n.style.position="fixed",n.style.left="-9999px",n.style.top="-9999px",n.style.opacity="0",n.style.pointerEvents="none",n.setAttribute("readonly",""),document.body.appendChild(n),n.focus({preventScroll:!0}),n.select(),n.setSelectionRange(0,e.length);const s=document.execCommand("copy");return document.body.removeChild(n),window.scrollTo(t,o),s}catch(t){return!1}}(y),x(!0),w.current=setTimeout(()=>x(!1),2e3)},[y]),b=l||a.length<=c+i+3?a:`${a.slice(0,c)}${a.slice(-i)}`,g={xs:"text-[9px] px-1 py-0.5 gap-0.5",sm:"text-[10px] px-1.5 py-0.5 gap-1",md:"text-xs px-2 py-1 gap-1.5"}[u];return t.jsxs("button",{type:"button",onClick:f,onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),className:s("inline-flex items-center font-mono rounded transition-all duration-200","bg-white/[0.04] hover:bg-white/[0.08]","border border-white/[0.06] hover:border-white/[0.12]","cursor-pointer select-none",g,p),title:`Click to copy: ${y}`,"aria-label":`Copy hash ${y}`,children:[t.jsx("span",{className:s("transition-colors duration-200",d?"text-accent-success":"text-text-secondary"),children:b}),t.jsx("span",{className:s("flex items-center justify-center transition-all duration-200","xs"===u?"w-2.5 h-2.5":"sm"===u?"w-3 h-3":"w-3.5 h-3.5"),children:d?t.jsx(o,{className:s("text-accent-success","xs"===u?"w-2 h-2":"sm"===u?"w-2.5 h-2.5":"w-3 h-3")}):t.jsx(n,{className:s("transition-opacity duration-200",h?"opacity-70":"opacity-40","xs"===u?"w-2 h-2":"sm"===u?"w-2.5 h-2.5":"w-3 h-3")})})]})}export{a as H};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{j as e,y as s,$ as t,F as a,r as l,aL as c,aq as n,aS as i}from"./vendor-react-CWPBVwgk.js";import{a2 as r,a3 as o,b as x,a4 as m,o as d,a1 as u,a5 as p,a6 as h}from"./index-BlYVqXhs.js";import{u as j}from"./usePolling-BsbqQ0mQ.js";import{c as g}from"./recharts-cqZ_RWsW.js";import{P as f,b as N,a as v,c as y,L as b}from"./PageLayout-Kh569_kh.js";import"./vendor-core-XI_xDZ-M.js";import"./deckgl-DTsmDcfs.js";const w=l.memo(function({log:s}){const t=h(s.level);return e.jsx("div",{className:"p-3 rounded-2xl bg-white/[0.02] hover:bg-white/[0.04] transition-colors",children:e.jsxs("div",{className:"flex items-baseline gap-3",children:[e.jsx("span",{className:g("type-data-sm w-14 shrink-0",t),children:s.level}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"type-data-sm text-text-primary break-words whitespace-pre-wrap",children:s.message}),e.jsx("p",{className:"type-data-xs text-text-muted mt-1",children:new Date(s.timestamp).toLocaleString()})]})]})})});function F(){const s=r(),[t,a]=l.useState("INFO"),[o,x]=l.useState(!1),[m,d]=l.useState(null);l.useEffect(()=>{if(s.length>0){const e=s.some(e=>"DEBUG"===e.level);a(e?"DEBUG":"INFO")}},[s]);const u=l.useCallback(async e=>{if(e!==t&&!o){x(!0),d(null);try{const s=await p(e);s.success&&s.data?(a(e),d(s.data.message),setTimeout(()=>d(null),5e3)):(d(s.error||"Failed to change log level"),setTimeout(()=>d(null),3e3))}catch{d("Failed to change log level"),setTimeout(()=>d(null),3e3)}finally{x(!1)}}},[t,o]);return e.jsxs("div",{className:"flex items-center gap-2",children:[m&&e.jsx("span",{className:"text-xs text-text-muted animate-pulse",children:m}),e.jsxs("div",{className:"flex bg-white/[0.02] rounded-full p-1",children:[e.jsxs("button",{onClick:()=>u("INFO"),disabled:o,className:g("h-[32px] px-4 rounded-full type-data flex items-center gap-2 transition-colors","INFO"===t?"bg-accent-primary/20 text-accent-primary":"text-text-muted hover:text-text-secondary",o&&"opacity-50 cursor-not-allowed"),children:[e.jsx(c,{className:"w-4 h-4"}),"Info"]}),e.jsxs("button",{onClick:()=>u("DEBUG"),disabled:o,className:g("h-[32px] px-4 rounded-full type-data flex items-center gap-2 transition-colors","DEBUG"===t?"bg-amber-500/20 text-amber-400":"text-text-muted hover:text-text-secondary",o&&"opacity-50 cursor-not-allowed"),children:[o?e.jsx(n,{className:"w-4 h-4 animate-spin"}):e.jsx(i,{className:"w-4 h-4"}),"Debug"]})]})]})}function L(){const l=r(),c=o(),n=x(),i=m(),p=d();return j(i,u.logs,n),e.jsxs(f,{children:[e.jsx(N,{title:"System Logs",icon:e.jsx(a,{}),controls:e.jsxs(e.Fragment,{children:[e.jsx(F,{}),n&&e.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[e.jsx(s,{className:"w-2 h-2 fill-accent-success text-accent-success animate-pulse"}),e.jsx("span",{className:"text-text-muted",children:"Live"})]}),e.jsxs("button",{onClick:()=>p(!n),className:g("h-[32px] px-4 rounded-full type-data transition-colors","flex items-center gap-2",n?"bg-accent-success/20 text-accent-success":"bg-white/[0.02] text-text-muted hover:text-text-secondary"),children:[e.jsx(t,{className:g("w-4 h-4",n&&"animate-spin")}),e.jsx("span",{className:"hidden xs:inline",children:n?"Live":"Paused"})]})]})}),e.jsxs(v,{noPadding:!0,children:[e.jsx(y,{listHeader:!0,icon:e.jsx(a,{className:"icon-sm"}),title:"Log Entries"}),e.jsx("div",{className:"space-y-2 max-h-[calc(100vh-300px)] sm:max-h-[calc(100vh-250px)] overflow-y-auto p-4",children:c&&0===l.length?e.jsx(b,{count:10}):0===l.length?e.jsx("div",{className:"text-center py-12 text-text-muted",children:"No logs available"}):l.map((s,t)=>e.jsx(w,{log:s},`${s.timestamp}-${t}`))})]})]})}export{L as default};
+1
View File
@@ -0,0 +1 @@
import{j as e,y as s,$ as t,F as a,r as l,aM as c,aq as n,aS as i}from"./vendor-react-LGx7x4bU.js";import{a0 as r,a1 as o,b as x,a2 as m,o as d,$ as u,a3 as p,a4 as h}from"./index-EBBmAeaQ.js";import{u as j}from"./usePolling-Cg1HN7dQ.js";import{c as g}from"./recharts-BJfdDyUB.js";import{P as f,b as N,a as v,c as y,L as b}from"./PageLayout-CnsL5xgB.js";import"./vendor-core-XI_xDZ-M.js";import"./deckgl-DTsmDcfs.js";const w=l.memo(function({log:s}){const t=h(s.level);return e.jsx("div",{className:"p-3 rounded-2xl bg-white/[0.02] hover:bg-white/[0.04] transition-colors",children:e.jsxs("div",{className:"flex items-baseline gap-3",children:[e.jsx("span",{className:g("type-data-sm w-14 shrink-0",t),children:s.level}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"type-data-sm text-text-primary break-words whitespace-pre-wrap",children:s.message}),e.jsx("p",{className:"type-data-xs text-text-muted mt-1",children:new Date(s.timestamp).toLocaleString()})]})]})})});function F(){const s=r(),[t,a]=l.useState("INFO"),[o,x]=l.useState(!1),[m,d]=l.useState(null);l.useEffect(()=>{if(s.length>0){const e=s.some(e=>"DEBUG"===e.level);a(e?"DEBUG":"INFO")}},[s]);const u=l.useCallback(async e=>{if(e!==t&&!o){x(!0),d(null);try{const s=await p(e);s.success&&s.data?(a(e),d(s.data.message),setTimeout(()=>d(null),5e3)):(d(s.error||"Failed to change log level"),setTimeout(()=>d(null),3e3))}catch{d("Failed to change log level"),setTimeout(()=>d(null),3e3)}finally{x(!1)}}},[t,o]);return e.jsxs("div",{className:"flex items-center gap-2",children:[m&&e.jsx("span",{className:"text-xs text-text-muted animate-pulse",children:m}),e.jsxs("div",{className:"flex bg-white/[0.02] rounded-full p-1",children:[e.jsxs("button",{onClick:()=>u("INFO"),disabled:o,className:g("h-[32px] px-4 rounded-full type-data flex items-center gap-2 transition-colors","INFO"===t?"bg-accent-primary/20 text-accent-primary":"text-text-muted hover:text-text-secondary",o&&"opacity-50 cursor-not-allowed"),children:[e.jsx(c,{className:"w-4 h-4"}),"Info"]}),e.jsxs("button",{onClick:()=>u("DEBUG"),disabled:o,className:g("h-[32px] px-4 rounded-full type-data flex items-center gap-2 transition-colors","DEBUG"===t?"bg-amber-500/20 text-amber-400":"text-text-muted hover:text-text-secondary",o&&"opacity-50 cursor-not-allowed"),children:[o?e.jsx(n,{className:"w-4 h-4 animate-spin"}):e.jsx(i,{className:"w-4 h-4"}),"Debug"]})]})]})}function k(){const l=r(),c=o(),n=x(),i=m(),p=d();return j(i,u.logs,n),e.jsxs(f,{children:[e.jsx(N,{title:"System Logs",icon:e.jsx(a,{}),controls:e.jsxs(e.Fragment,{children:[e.jsx(F,{}),n&&e.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[e.jsx(s,{className:"w-2 h-2 fill-accent-success text-accent-success animate-pulse"}),e.jsx("span",{className:"text-text-muted",children:"Live"})]}),e.jsxs("button",{onClick:()=>p(!n),className:g("h-[32px] px-4 rounded-full type-data transition-colors","flex items-center gap-2",n?"bg-accent-success/20 text-accent-success":"bg-white/[0.02] text-text-muted hover:text-text-secondary"),children:[e.jsx(t,{className:g("w-4 h-4",n&&"animate-spin")}),e.jsx("span",{className:"hidden xs:inline",children:n?"Live":"Paused"})]})]})}),e.jsxs(v,{noPadding:!0,children:[e.jsx(y,{listHeader:!0,icon:e.jsx(a,{className:"icon-sm"}),title:"Log Entries"}),e.jsx("div",{className:"space-y-2 max-h-[calc(100vh-300px)] sm:max-h-[calc(100vh-250px)] overflow-y-auto p-4",children:c&&0===l.length?e.jsx(b,{count:10}):0===l.length?e.jsx("div",{className:"text-center py-12 text-text-muted",children:"No logs available"}):l.map((s,t)=>e.jsx(w,{log:s},`${s.timestamp}-${t}`))})]})]})}export{k as default};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{j as e}from"./vendor-react-CWPBVwgk.js";import{c as s}from"./recharts-cqZ_RWsW.js";function a({className:a,style:l}){return e.jsx("div",{className:s("animate-pulse bg-white/[0.06] rounded",a),style:l})}function l(){return e.jsx("div",{className:"p-3 rounded-lg border border-border-subtle bg-bg-subtle",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(a,{className:"w-14 h-6 rounded shrink-0"}),e.jsxs("div",{className:"flex-1 min-w-0 space-y-2",children:[e.jsx(a,{className:"h-4 w-full"}),e.jsx(a,{className:"h-4 w-3/4"}),e.jsx(a,{className:"h-3 w-32 mt-1"})]})]})})}function c({count:s=8}){return e.jsx("div",{className:"space-y-2",children:Array.from({length:s}).map((s,a)=>e.jsx(l,{},a))})}const r=[45,72,33,58,80,42,65,28,55,75,38,62];function t(){return e.jsxs("div",{className:"absolute inset-0 z-10 bg-bg-surface rounded-xl p-4 flex flex-col gap-3","aria-hidden":"true",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a,{className:"w-5 h-5"}),e.jsx(a,{className:"h-4 w-24"})]}),e.jsx(a,{className:"h-8 w-20"}),e.jsxs("div",{className:"flex-1 flex flex-col justify-end gap-2",children:[e.jsx(a,{className:"h-3 w-full"}),e.jsx(a,{className:"h-3 w-3/4"})]})]})}function i(){return e.jsxs("div",{className:"absolute inset-0 z-10 bg-bg-surface rounded-xl p-4 flex flex-col gap-3","aria-hidden":"true",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a,{className:"w-5 h-5"}),e.jsx(a,{className:"h-4 w-24"})]}),e.jsx("div",{className:"flex-1 flex items-end gap-1 pb-4",children:r.slice(0,8).map((s,l)=>e.jsx(a,{className:"flex-1",style:{height:`${s}%`}},l))})]})}function n({rows:s=5}){return e.jsxs("div",{className:"absolute inset-0 z-10 bg-bg-surface rounded-xl flex flex-col","aria-hidden":"true",children:[e.jsx("div",{className:"p-4 border-b border-border-subtle",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a,{className:"w-5 h-5"}),e.jsx(a,{className:"h-4 w-24"})]})}),e.jsx("div",{className:"flex-1 p-4 flex flex-col gap-3",children:Array.from({length:s}).map((s,l)=>e.jsx(a,{className:"h-6 w-full"},l))})]})}function d({children:a,className:l}){return e.jsx("div",{className:s("section-gap",l),children:a})}function x({title:s,icon:a,controls:l,subtitle:c}){return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("h1",{className:"type-title text-text-primary flex items-center gap-3",children:[a&&e.jsx("span",{className:"w-6 h-6 text-icon-page-title flex-shrink-0",children:a}),s]}),l&&e.jsx("div",{className:"flex items-center gap-2 sm:gap-3",children:l})]}),c&&e.jsx("div",{children:c})]})}const m={sm:"card-sm",md:"card-md",lg:"card-lg",hero:"card-hero",auto:"card-auto"};function o({children:a,size:l,compact:c,noPadding:r,className:d,style:x,onClick:o,isLoaded:h=!0,skeletonType:f="card"}){return e.jsxs("div",{className:s("glass-card h-full flex flex-col relative",!r&&(c?"card-padding-sm":"card-padding"),l&&m[l],d),style:x,onClick:o,children:[a,!h&&(()=>{switch(f){case"chart":return e.jsx(i,{});case"list":return e.jsx(n,{});default:return e.jsx(t,{})}})()]})}function h({icon:a,title:l,badge:c,subtitle:r,actions:t,iconColor:i="text-accent-primary",largeTitle:n=!1,listHeader:d=!1}){return e.jsxs("div",{className:s("flex flex-col gap-1 flex-shrink-0",d?"px-4 py-3 border-b border-border-subtle bg-bg-elevated/20":"mb-3"),children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[a&&e.jsx("span",{className:s("icon-md",i),children:a}),e.jsx("span",{className:n?"type-subheading text-text-primary":"type-micro",children:l}),c&&e.jsx("span",{className:"pill-tag",children:c})]}),t&&e.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:t})]}),r&&e.jsx("p",{className:"type-label text-text-muted ml-7",children:r})]})}export{t as C,c as L,d as P,o as a,x as b,h as c};
import{j as e}from"./vendor-react-LGx7x4bU.js";import{c as s}from"./recharts-BJfdDyUB.js";function a({className:a,style:l}){return e.jsx("div",{className:s("animate-pulse bg-white/[0.06] rounded",a),style:l})}function l(){return e.jsx("div",{className:"p-3 rounded-lg border border-border-subtle bg-bg-subtle",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(a,{className:"w-14 h-6 rounded shrink-0"}),e.jsxs("div",{className:"flex-1 min-w-0 space-y-2",children:[e.jsx(a,{className:"h-4 w-full"}),e.jsx(a,{className:"h-4 w-3/4"}),e.jsx(a,{className:"h-3 w-32 mt-1"})]})]})})}function c({count:s=8}){return e.jsx("div",{className:"space-y-2",children:Array.from({length:s}).map((s,a)=>e.jsx(l,{},a))})}const r=[45,72,33,58,80,42,65,28,55,75,38,62];function t(){return e.jsxs("div",{className:"absolute inset-0 z-10 bg-bg-surface rounded-xl p-4 flex flex-col gap-3","aria-hidden":"true",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a,{className:"w-5 h-5"}),e.jsx(a,{className:"h-4 w-24"})]}),e.jsx(a,{className:"h-8 w-20"}),e.jsxs("div",{className:"flex-1 flex flex-col justify-end gap-2",children:[e.jsx(a,{className:"h-3 w-full"}),e.jsx(a,{className:"h-3 w-3/4"})]})]})}function i(){return e.jsxs("div",{className:"absolute inset-0 z-10 bg-bg-surface rounded-xl p-4 flex flex-col gap-3","aria-hidden":"true",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a,{className:"w-5 h-5"}),e.jsx(a,{className:"h-4 w-24"})]}),e.jsx("div",{className:"flex-1 flex items-end gap-1 pb-4",children:r.slice(0,8).map((s,l)=>e.jsx(a,{className:"flex-1",style:{height:`${s}%`}},l))})]})}function n({rows:s=5}){return e.jsxs("div",{className:"absolute inset-0 z-10 bg-bg-surface rounded-xl flex flex-col","aria-hidden":"true",children:[e.jsx("div",{className:"p-4 border-b border-border-subtle",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a,{className:"w-5 h-5"}),e.jsx(a,{className:"h-4 w-24"})]})}),e.jsx("div",{className:"flex-1 p-4 flex flex-col gap-3",children:Array.from({length:s}).map((s,l)=>e.jsx(a,{className:"h-6 w-full"},l))})]})}function d({children:a,className:l}){return e.jsx("div",{className:s("section-gap",l),children:a})}function x({title:s,icon:a,controls:l,subtitle:c}){return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("h1",{className:"type-title text-text-primary flex items-center gap-3",children:[a&&e.jsx("span",{className:"w-6 h-6 text-icon-page-title flex-shrink-0",children:a}),s]}),l&&e.jsx("div",{className:"flex items-center gap-2 sm:gap-3",children:l})]}),c&&e.jsx("div",{children:c})]})}const m={sm:"card-sm",md:"card-md",lg:"card-lg",hero:"card-hero",auto:"card-auto"};function o({children:a,size:l,compact:c,noPadding:r,className:d,style:x,onClick:o,isLoaded:h=!0,skeletonType:f="card"}){return e.jsxs("div",{className:s("glass-card h-full flex flex-col relative",!r&&(c?"card-padding-sm":"card-padding"),l&&m[l],d),style:x,onClick:o,children:[a,!h&&(()=>{switch(f){case"chart":return e.jsx(i,{});case"list":return e.jsx(n,{});default:return e.jsx(t,{})}})()]})}function h({icon:a,title:l,badge:c,subtitle:r,actions:t,iconColor:i="text-accent-primary",largeTitle:n=!1,listHeader:d=!1}){return e.jsxs("div",{className:s("flex flex-col gap-1 flex-shrink-0",d?"px-4 py-3 border-b border-border-subtle bg-bg-elevated/20":"mb-3"),children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[a&&e.jsx("span",{className:s("icon-md",i),children:a}),e.jsx("span",{className:n?"type-subheading text-text-primary":"type-micro",children:l}),c&&e.jsx("span",{className:"pill-tag",children:c})]}),t&&e.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:t})]}),r&&e.jsx("p",{className:"type-label text-text-muted ml-7",children:r})]})}export{t as C,c as L,d as P,o as a,x as b,h as c};
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{j as e,at as s,au as t,av as a,aw as r,ax as n,r as c}from"./vendor-react-CWPBVwgk.js";import{c as i}from"./recharts-cqZ_RWsW.js";function l(e){return e>=-90?"excellent":e>=-100?"good":e>=-110?"fair":e>=-120?"weak":"poor"}function o(e,s){if(!s)return"bg-white/10";switch(e){case"excellent":return"bg-signal-excellent";case"good":return"bg-signal-good";case"fair":return"bg-signal-fair";case"weak":return"bg-signal-poor";case"poor":return"bg-signal-critical";default:return"bg-white/20"}}function x({rssi:c,className:o="w-4 h-4"}){const x=l(c),d=function(e){switch(e){case"excellent":return"text-signal-excellent";case"good":return"text-signal-good";case"fair":return"text-signal-fair";case"weak":return"text-signal-poor";case"poor":return"text-signal-critical";default:return"text-text-muted"}}(x),m=i(d,o);switch(x){case"excellent":return e.jsx(n,{className:m});case"good":return e.jsx(r,{className:m});case"fair":return e.jsx(a,{className:m});case"weak":return e.jsx(t,{className:m});default:return e.jsx(s,{className:m})}}const d=c.memo(function({rssi:s,snr:t,compact:a=!1,showValues:r=!0}){const n=l(s),c={excellent:4,good:3,fair:2,weak:1,poor:0}[n];return a?e.jsxs("div",{className:"flex items-center justify-end gap-1.5",children:[r&&e.jsx("span",{className:"text-[10px] font-mono text-text-secondary",children:s}),e.jsx("div",{className:"flex items-end gap-[2px] h-3",children:Array.from({length:4}).map((s,t)=>e.jsx("div",{className:i("w-[3px] rounded-[1px] transition-colors",o(n,t<c)),style:{height:(t+1)/4*100+"%"}},t))})]}):e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[r&&e.jsxs("div",{className:"flex flex-col items-end",children:[e.jsxs("span",{className:"text-xs font-mono text-text-secondary leading-tight",children:[s," dBm"]}),void 0!==t&&e.jsxs("span",{className:"text-[10px] font-mono text-text-muted leading-tight",children:[t.toFixed(1)," dB"]})]}),e.jsx("div",{className:"flex items-end gap-[2px] h-3.5",children:Array.from({length:4}).map((s,t)=>e.jsx("div",{className:i("w-[3px] rounded-[1px] transition-colors",o(n,t<c)),style:{height:(t+1)/4*100+"%"}},t))})]})});function m(e){const s=l(e);return s.charAt(0).toUpperCase()+s.slice(1)}export{d as S,x as a,m as g};
import{j as e,at as s,au as t,av as a,aw as r,ax as n,r as c}from"./vendor-react-LGx7x4bU.js";import{c as i}from"./recharts-BJfdDyUB.js";function l(e){return e>=-90?"excellent":e>=-100?"good":e>=-110?"fair":e>=-120?"weak":"poor"}function o(e,s){if(!s)return"bg-white/10";switch(e){case"excellent":return"bg-signal-excellent";case"good":return"bg-signal-good";case"fair":return"bg-signal-fair";case"weak":return"bg-signal-poor";case"poor":return"bg-signal-critical";default:return"bg-white/20"}}function x({rssi:c,className:o="w-4 h-4"}){const x=l(c),d=function(e){switch(e){case"excellent":return"text-signal-excellent";case"good":return"text-signal-good";case"fair":return"text-signal-fair";case"weak":return"text-signal-poor";case"poor":return"text-signal-critical";default:return"text-text-muted"}}(x),m=i(d,o);switch(x){case"excellent":return e.jsx(n,{className:m});case"good":return e.jsx(r,{className:m});case"fair":return e.jsx(a,{className:m});case"weak":return e.jsx(t,{className:m});default:return e.jsx(s,{className:m})}}const d=c.memo(function({rssi:s,snr:t,compact:a=!1,showValues:r=!0}){const n=l(s),c={excellent:4,good:3,fair:2,weak:1,poor:0}[n];return a?e.jsxs("div",{className:"flex items-center justify-end gap-1.5",children:[r&&e.jsx("span",{className:"text-[10px] font-mono text-text-secondary",children:s}),e.jsx("div",{className:"flex items-end gap-[2px] h-3",children:Array.from({length:4}).map((s,t)=>e.jsx("div",{className:i("w-[3px] rounded-[1px] transition-colors",o(n,t<c)),style:{height:(t+1)/4*100+"%"}},t))})]}):e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[r&&e.jsxs("div",{className:"flex flex-col items-end",children:[e.jsxs("span",{className:"text-xs font-mono text-text-secondary leading-tight",children:[s," dBm"]}),void 0!==t&&e.jsxs("span",{className:"text-[10px] font-mono text-text-muted leading-tight",children:[t.toFixed(1)," dB"]})]}),e.jsx("div",{className:"flex items-end gap-[2px] h-3.5",children:Array.from({length:4}).map((s,t)=>e.jsx("div",{className:i("w-[3px] rounded-[1px] transition-colors",o(n,t<c)),style:{height:(t+1)/4*100+"%"}},t))})]})});function m(e){const s=l(e);return s.charAt(0).toUpperCase()+s.slice(1)}export{d as S,x as a,m as g};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{r as e,j as o}from"./vendor-react-CWPBVwgk.js";const t=e.memo(function({ranges:e,selectedIndex:t,onSelect:a,isPending:l}){return o.jsx("div",{className:"toggle-group flex-shrink-0 overflow-x-auto "+(l?"opacity-70":""),children:e.map((e,l)=>o.jsx("button",{onClick:()=>a(l),className:"toggle-group-item "+(t===l?"active":""),children:e.label},e.label))})});export{t as T};
import{r as e,j as o}from"./vendor-react-LGx7x4bU.js";const t=e.memo(function({ranges:e,selectedIndex:t,onSelect:a,isPending:l}){return o.jsx("div",{className:"toggle-group flex-shrink-0 overflow-x-auto "+(l?"opacity-70":""),children:e.map((e,l)=>o.jsx("button",{onClick:()=>a(l),className:"toggle-group-item "+(t===l?"active":""),children:e.label},e.label))})});export{t as T};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{r}from"./vendor-react-CWPBVwgk.js";function e(e,t,n=!0,c=!1){const u=r.useRef(e);r.useEffect(()=>{u.current=e},[e]),r.useEffect(()=>{if(!n)return;c||u.current();const r=setInterval(()=>{u.current()},t);return()=>clearInterval(r)},[t,n,c])}export{e as u};
import{r}from"./vendor-react-LGx7x4bU.js";function e(e,t,n=!0,c=!1){const u=r.useRef(e);r.useEffect(()=>{u.current=e},[e]),r.useEffect(()=>{if(!n)return;c||u.current();const r=setInterval(()=>{u.current()},t);return()=>clearInterval(r)},[t,n,c])}export{e as u};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -38,10 +38,10 @@
--font-data: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
}
</style>
<script type="module" crossorigin src="/assets/index-BlYVqXhs.js"></script>
<script type="module" crossorigin src="/assets/index-EBBmAeaQ.js"></script>
<link rel="modulepreload" crossorigin href="/assets/vendor-core-XI_xDZ-M.js">
<link rel="modulepreload" crossorigin href="/assets/vendor-react-CWPBVwgk.js">
<link rel="stylesheet" crossorigin href="/assets/index-BuNKvX_5.css">
<link rel="modulepreload" crossorigin href="/assets/vendor-react-LGx7x4bU.js">
<link rel="stylesheet" crossorigin href="/assets/index-CLezZLbB.css">
</head>
<body>
<div id="root"></div>
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "pymc_console",
"version": "0.9.134",
"version": "0.9.135",
"description": "Vite + React Dashboard for pyMC_Repeater",
"private": true,
"type": "module",