mirror of
https://github.com/dmduran12/pymc_console-dist.git
synced 2026-08-07 17:33:09 +02:00
Release v0.9.128
Automated sync from private repository. Built with obfuscation enabled.
This commit is contained in:
@@ -76,10 +76,10 @@ The MeshCore Python ecosystem has three components:
|
||||
- **Animated edges** — Trace-in effect on toggle, smooth fade-out
|
||||
- **Filter toggles** — Solo view for hub nodes or direct neighbors only
|
||||
- **Loop detection** — Identifies redundant paths (double-line rendering)
|
||||
- **Visual identity** — Yellow house icon for local node, indigo rings for neighbors
|
||||
- **High-contrast markers** — Light fill with dark outline ensures visibility against any overlay
|
||||
- **Path health panel** — Health scores, weakest links, and latency estimates for observed routes
|
||||
- **Mobile node detection** — Identifies volatile nodes that appear/disappear frequently
|
||||
- **Wardriving coverage heatmap** — Overlay coverage data from external wardriving servers (e.g., coverage.wcmesh.com) as a GPU-accelerated heatmap showing signal coverage across your area
|
||||
- **Wardriving coverage overlay** — H3 hexagonal tiles from external coverage servers (e.g., coverage.wcmesh.com) with SNR-based coloring
|
||||
|
||||

|
||||
|
||||
@@ -92,6 +92,8 @@ The MeshCore Python ecosystem has three components:
|
||||
- **Mode toggle** — Forward (repeating) or Monitor (RX only)
|
||||
- **Duty cycle** — Enable/disable enforcement
|
||||
- **Radio config** — Live frequency, power, SF, bandwidth changes
|
||||
- **Theme selection** — Six color schemes (Seoul256, Gruvbox, Deus, Gotham, Sonokai, Kanagawa)
|
||||
- **Background images** — Multiple ambient backgrounds with adjustable brightness
|
||||
|
||||

|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
0.9.127
|
||||
0.9.128
|
||||
|
||||
+1
-1
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
@@ -0,0 +1 @@
|
||||
import{c as e,j as t,X as o}from"./index-B-2Jxr7j.js";import{b as s,g as n,c as r}from"./recharts-bmHCCfxU.js";import{T as d}from"./triangle-alert-DgnBDldk.js";const a=e("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]),i=s.memo(function({isOpen:e,title:a="Confirm",message:i,confirmLabel:l="Confirm",cancelLabel:c="Cancel",variant:m="default",onConfirm:b,onCancel:x}){if(s.useEffect(()=>{if(!e)return;const t=e=>{"Escape"===e.key&&x()};window.addEventListener("keydown",t);const o=document.body.style.overflow,s=document.body.style.position,n=document.body.style.width,r=document.body.style.top,d=window.scrollY;return document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.top=`-${d}px`,()=>{window.removeEventListener("keydown",t),document.body.style.overflow=o,document.body.style.position=s,document.body.style.width=n,document.body.style.top=r,window.scrollTo(0,d)}},[e,x]),!e)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 n.createPortal(t.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:t.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:[t.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-border-subtle",children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("div",{className:r("p-2 rounded-lg bg-bg-subtle",u.icon),children:t.jsx(d,{className:"w-5 h-5"})}),t.jsx("h3",{id:"confirm-modal-title",className:"text-base font-semibold text-text-primary",children:a})]}),t.jsx("button",{onClick:x,className:"p-2 rounded-lg text-text-muted hover:text-text-primary hover:bg-bg-subtle transition-colors",children:t.jsx(o,{className:"w-5 h-5"})})]}),t.jsx("div",{className:"p-4",children:t.jsx("p",{className:"text-sm text-text-secondary",children:i})}),t.jsxs("div",{className:"flex gap-3 p-4 pt-0",children:[t.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}),t.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:l})]})]})}),document.body)});export{i as C,a as T};
|
||||
@@ -1 +0,0 @@
|
||||
import{c as e,j as t,X as o}from"./index-CFwwWdzm.js";import{b as n,g as s,c as d}from"./recharts-bmHCCfxU.js";import{T as r}from"./triangle-alert-D3gq7TmU.js";const a=e("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]),l=n.memo(function({isOpen:e,title:a="Confirm",message:l,confirmLabel:c="Confirm",cancelLabel:i="Cancel",variant:m="default",onConfirm:b,onCancel:x}){if(n.useEffect(()=>{if(!e)return;const t=e=>{"Escape"===e.key&&x()};window.addEventListener("keydown",t);const o=document.body.style.overflow,n=document.body.style.position,s=document.body.style.width,d=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",t),document.body.style.overflow=o,document.body.style.position=n,document.body.style.width=s,document.body.style.top=d,window.scrollTo(0,r)}},[e,x]),!e)return null;const u={danger:{icon:"text-accent-danger",button:"bg-accent-danger hover:bg-red-600"},warning:{icon:"text-accent-secondary",button:"bg-accent-secondary hover:bg-yellow-600 text-bg-body"},default:{icon:"text-accent-primary",button:"bg-accent-primary hover:bg-violet-500 text-bg-body"}}[m];return s.createPortal(t.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:t.jsxs("div",{className:d("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:[t.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-border-subtle",children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("div",{className:d("p-2 rounded-lg bg-bg-subtle",u.icon),children:t.jsx(r,{className:"w-5 h-5"})}),t.jsx("h3",{id:"confirm-modal-title",className:"text-base font-semibold text-text-primary",children:a})]}),t.jsx("button",{onClick:x,className:"p-2 rounded-lg text-text-muted hover:text-text-primary hover:bg-bg-subtle transition-colors",children:t.jsx(o,{className:"w-5 h-5"})})]}),t.jsx("div",{className:"p-4",children:t.jsx("p",{className:"text-sm text-text-secondary",children:l})}),t.jsxs("div",{className:"flex gap-3 p-4 pt-0",children:[t.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:i}),t.jsx("button",{onClick:b,className:d("flex-1 px-4 py-2.5 rounded-lg text-sm font-medium text-text-primary transition-colors",u.button),children:c})]})]})}),document.body)});export{l as C,a as T};
|
||||
+2
File diff suppressed because one or more lines are too long
-2
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
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{j as e}from"./index-CFwwWdzm.js";import{b as o,c as l}from"./recharts-bmHCCfxU.js";const t={hero:{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}},n={hero:"bento-row-hero",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 a({template:a,children:s,className:r,gap:c}){const i=t[a],d=n[a],b="none"===c?"gap-0":"sm"===c?"bento-gap-sm":"lg"===c?"bento-gap-lg":"bento-gap",p=o.Children.map(s,l=>o.isValidElement(l)?l.type===m?l:e.jsx(m,{span:i.mobile,sm:i.sm,md:i.md,lg:i.lg,xl:i.xl,children:l}):l);return e.jsx("div",{className:l("bento-row",d,b,r),children:p})}function s(e,o=""){const l=o?`${o}:`:"";return"full"===e?`${l}col-span-full`:"auto"===e?`${l}col-auto`:1.5===e?`${l}bento-col-1-5`:`${l}bento-col-${e}`}function m({children:o,span:t,sm:n,md:a,lg:m,xl:r,className:c}){const i=l("bento-cell",s(t),n&&s(n,"sm"),a&&s(a,"md"),m&&s(m,"lg"),r&&s(r,"xl"),c);return e.jsx("div",{className:i,children:o})}export{m as C,a as R};
|
||||
import{j as e}from"./index-B-2Jxr7j.js";import{b as o,c as l}from"./recharts-bmHCCfxU.js";const t={hero:{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}},n={hero:"bento-row-hero",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 a({template:a,children:s,className:r,gap:c}){const i=t[a],d=n[a],b="none"===c?"gap-0":"sm"===c?"bento-gap-sm":"lg"===c?"bento-gap-lg":"bento-gap",p=o.Children.map(s,l=>o.isValidElement(l)?l.type===m?l:e.jsx(m,{span:i.mobile,sm:i.sm,md:i.md,lg:i.lg,xl:i.xl,children:l}):l);return e.jsx("div",{className:l("bento-row",d,b,r),children:p})}function s(e,o=""){const l=o?`${o}:`:"";return"full"===e?`${l}col-span-full`:"auto"===e?`${l}col-auto`:1.5===e?`${l}bento-col-1-5`:`${l}bento-col-${e}`}function m({children:o,span:t,sm:n,md:a,lg:m,xl:r,className:c}){const i=l("bento-cell",s(t),n&&s(n,"sm"),a&&s(a,"md"),m&&s(m,"lg"),r&&s(r,"xl"),c);return e.jsx("div",{className:i,children:o})}export{m as C,a as R};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{j as e}from"./index-CFwwWdzm.js";import{b as t,c as o}from"./recharts-bmHCCfxU.js";import{a as n,C as s}from"./triangle-alert-D3gq7TmU.js";function a({hash:a,prefixLength:r=8,suffixLength:i=6,full:c=!1,className:l,size:p="md"}){const[u,d]=t.useState(!1),[x,h]=t.useState(!1),m=t.useRef(null),w=t.useCallback(e=>{e.preventDefault(),e.stopPropagation(),m.current&&clearTimeout(m.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}}(a),d(!0),m.current=setTimeout(()=>d(!1),2e3)},[a]),y=c||a.length<=r+i+3?a:`${a.slice(0,r)}…${a.slice(-i)}`,f={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"}[p];return e.jsxs("button",{type:"button",onClick:w,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),className:o("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",f,l),title:`Click to copy: ${a}`,"aria-label":`Copy hash ${a}`,children:[e.jsx("span",{className:o("transition-colors duration-200",u?"text-accent-success":"text-text-secondary"),children:y}),e.jsx("span",{className:o("flex items-center justify-center transition-all duration-200","xs"===p?"w-2.5 h-2.5":"sm"===p?"w-3 h-3":"w-3.5 h-3.5"),children:u?e.jsx(n,{className:o("text-accent-success","xs"===p?"w-2 h-2":"sm"===p?"w-2.5 h-2.5":"w-3 h-3")}):e.jsx(s,{className:o("transition-opacity duration-200",x?"opacity-70":"opacity-40","xs"===p?"w-2 h-2":"sm"===p?"w-2.5 h-2.5":"w-3 h-3")})})]})}export{a as H};
|
||||
import{j as e}from"./index-B-2Jxr7j.js";import{b as t,c as o}from"./recharts-bmHCCfxU.js";import{a as n,C as s}from"./triangle-alert-DgnBDldk.js";function a({hash:a,prefixLength:r=8,suffixLength:i=6,full:c=!1,className:l,size:p="md"}){const[u,d]=t.useState(!1),[x,h]=t.useState(!1),m=t.useRef(null),w=t.useCallback(e=>{e.preventDefault(),e.stopPropagation(),m.current&&clearTimeout(m.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}}(a),d(!0),m.current=setTimeout(()=>d(!1),2e3)},[a]),y=c||a.length<=r+i+3?a:`${a.slice(0,r)}…${a.slice(-i)}`,f={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"}[p];return e.jsxs("button",{type:"button",onClick:w,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),className:o("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",f,l),title:`Click to copy: ${a}`,"aria-label":`Copy hash ${a}`,children:[e.jsx("span",{className:o("transition-colors duration-200",u?"text-accent-success":"text-text-secondary"),children:y}),e.jsx("span",{className:o("flex items-center justify-center transition-all duration-200","xs"===p?"w-2.5 h-2.5":"sm"===p?"w-3 h-3":"w-3.5 h-3.5"),children:u?e.jsx(n,{className:o("text-accent-success","xs"===p?"w-2 h-2":"sm"===p?"w-2.5 h-2.5":"w-3 h-3")}):e.jsx(s,{className:o("transition-opacity duration-200",x?"opacity-70":"opacity-40","xs"===p?"w-2 h-2":"sm"===p?"w-2.5 h-2.5":"w-3 h-3")})})]})}export{a as H};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
-1
@@ -1 +0,0 @@
|
||||
import{c as e,j as s,a0 as a,a1 as t,d as l,a2 as c,a3 as n,a4 as r,p as i,a5 as o,a6 as d}from"./index-CFwwWdzm.js";import{c as m,b as x}from"./recharts-bmHCCfxU.js";import{u as p}from"./usePolling-DMtQdE_y.js";import{P as h,a as u,C as j,b as g}from"./PageLayout-BUtLzwWM.js";import{C as f}from"./circle-VPoea1WE.js";import{R as y}from"./refresh-cw-DL6OUtNR.js";import{I as N}from"./info-CmmWJjrG.js";import{L as v}from"./loader-circle-D-YFxAvv.js";import"./maplibre-gl-CFO9X1Ek.js";const b=e("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);function w({className:e,style:a}){return s.jsx("div",{className:m("animate-pulse bg-white/[0.06] rounded",e),style:a})}function k(){return s.jsx("div",{className:"p-3 rounded-lg border border-border-subtle bg-bg-subtle",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(w,{className:"w-14 h-6 rounded shrink-0"}),s.jsxs("div",{className:"flex-1 min-w-0 space-y-2",children:[s.jsx(w,{className:"h-4 w-full"}),s.jsx(w,{className:"h-4 w-3/4"}),s.jsx(w,{className:"h-3 w-32 mt-1"})]})]})})}function M({count:e=8}){return s.jsx("div",{className:"space-y-2",children:Array.from({length:e}).map((e,a)=>s.jsx(k,{},a))})}const C=x.memo(function({log:e}){const a=d(e.level);return s.jsx("div",{className:"p-3 rounded-2xl bg-white/[0.02] hover:bg-white/[0.04] transition-colors",children:s.jsxs("div",{className:"flex items-baseline gap-3",children:[s.jsx("span",{className:m("type-data-sm w-14 shrink-0",a),children:e.level}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsx("p",{className:"type-data-sm text-text-primary break-words whitespace-pre-wrap",children:e.message}),s.jsx("p",{className:"type-data-xs text-text-muted mt-1",children:new Date(e.timestamp).toLocaleString()})]})]})})});function F(){const e=a(),[t,l]=x.useState("INFO"),[c,n]=x.useState(!1),[r,i]=x.useState(null);x.useEffect(()=>{if(e.length>0){const s=e.some(e=>"DEBUG"===e.level);l(s?"DEBUG":"INFO")}},[e]);const d=x.useCallback(async e=>{if(e!==t&&!c){n(!0),i(null);try{const s=await o(e);s.success&&s.data?(l(e),i(s.data.message),setTimeout(()=>i(null),5e3)):(i(s.error||"Failed to change log level"),setTimeout(()=>i(null),3e3))}catch{i("Failed to change log level"),setTimeout(()=>i(null),3e3)}finally{n(!1)}}},[t,c]);return s.jsxs("div",{className:"flex items-center gap-2",children:[r&&s.jsx("span",{className:"text-xs text-text-muted animate-pulse",children:r}),s.jsxs("div",{className:"flex bg-white/[0.02] rounded-full p-1",children:[s.jsxs("button",{onClick:()=>d("INFO"),disabled:c,className:m("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",c&&"opacity-50 cursor-not-allowed"),children:[s.jsx(N,{className:"w-4 h-4"}),"Info"]}),s.jsxs("button",{onClick:()=>d("DEBUG"),disabled:c,className:m("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",c&&"opacity-50 cursor-not-allowed"),children:[c?s.jsx(v,{className:"w-4 h-4 animate-spin"}):s.jsx(b,{className:"w-4 h-4"}),"Debug"]})]})]})}function L(){const e=a(),o=t(),d=l(),x=c(),N=n();return p(x,i.logs,d),s.jsxs(h,{children:[s.jsx(u,{title:"System Logs",icon:s.jsx(r,{}),controls:s.jsxs(s.Fragment,{children:[s.jsx(F,{}),d&&s.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[s.jsx(f,{className:"w-2 h-2 fill-accent-success text-accent-success animate-pulse"}),s.jsx("span",{className:"text-text-muted",children:"Live"})]}),s.jsxs("button",{onClick:()=>N(!d),className:m("h-[32px] px-4 rounded-full type-data transition-colors","flex items-center gap-2",d?"bg-accent-success/20 text-accent-success":"bg-white/[0.02] text-text-muted hover:text-text-secondary"),children:[s.jsx(y,{className:m("w-4 h-4",d&&"animate-spin")}),s.jsx("span",{className:"hidden xs:inline",children:d?"Live":"Paused"})]})]})}),s.jsxs(j,{noPadding:!0,children:[s.jsx(g,{listHeader:!0,icon:s.jsx(r,{className:"icon-sm"}),title:"Log Entries"}),s.jsx("div",{className:"space-y-2 max-h-[calc(100vh-300px)] sm:max-h-[calc(100vh-250px)] overflow-y-auto p-4",children:o&&0===e.length?s.jsx(M,{count:10}):0===e.length?s.jsx("div",{className:"text-center py-12 text-text-muted",children:"No logs available"}):e.map((e,a)=>s.jsx(C,{log:e},`${e.timestamp}-${a}`))})]})]})}export{L as default};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{c as e,j as s,a1 as a,a2 as t,d as l,a3 as c,r as n,a4 as r,p as i,a5 as o,a6 as d}from"./index-B-2Jxr7j.js";import{c as m,b as x}from"./recharts-bmHCCfxU.js";import{u as p}from"./usePolling-DMtQdE_y.js";import{P as h,a as u,C as j,b as g}from"./PageLayout-CdW7LNwg.js";import{C as f}from"./circle-BgprWaTE.js";import{R as y}from"./refresh-cw-CaoPFM1D.js";import{I as N}from"./info-DsmVqi2a.js";import{L as v}from"./loader-circle-CpgDoVxS.js";import"./maplibre-gl-CFO9X1Ek.js";const b=e("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);function w({className:e,style:a}){return s.jsx("div",{className:m("animate-pulse bg-white/[0.06] rounded",e),style:a})}function k(){return s.jsx("div",{className:"p-3 rounded-lg border border-border-subtle bg-bg-subtle",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(w,{className:"w-14 h-6 rounded shrink-0"}),s.jsxs("div",{className:"flex-1 min-w-0 space-y-2",children:[s.jsx(w,{className:"h-4 w-full"}),s.jsx(w,{className:"h-4 w-3/4"}),s.jsx(w,{className:"h-3 w-32 mt-1"})]})]})})}function M({count:e=8}){return s.jsx("div",{className:"space-y-2",children:Array.from({length:e}).map((e,a)=>s.jsx(k,{},a))})}const C=x.memo(function({log:e}){const a=d(e.level);return s.jsx("div",{className:"p-3 rounded-2xl bg-white/[0.02] hover:bg-white/[0.04] transition-colors",children:s.jsxs("div",{className:"flex items-baseline gap-3",children:[s.jsx("span",{className:m("type-data-sm w-14 shrink-0",a),children:e.level}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsx("p",{className:"type-data-sm text-text-primary break-words whitespace-pre-wrap",children:e.message}),s.jsx("p",{className:"type-data-xs text-text-muted mt-1",children:new Date(e.timestamp).toLocaleString()})]})]})})});function F(){const e=a(),[t,l]=x.useState("INFO"),[c,n]=x.useState(!1),[r,i]=x.useState(null);x.useEffect(()=>{if(e.length>0){const s=e.some(e=>"DEBUG"===e.level);l(s?"DEBUG":"INFO")}},[e]);const d=x.useCallback(async e=>{if(e!==t&&!c){n(!0),i(null);try{const s=await o(e);s.success&&s.data?(l(e),i(s.data.message),setTimeout(()=>i(null),5e3)):(i(s.error||"Failed to change log level"),setTimeout(()=>i(null),3e3))}catch{i("Failed to change log level"),setTimeout(()=>i(null),3e3)}finally{n(!1)}}},[t,c]);return s.jsxs("div",{className:"flex items-center gap-2",children:[r&&s.jsx("span",{className:"text-xs text-text-muted animate-pulse",children:r}),s.jsxs("div",{className:"flex bg-white/[0.02] rounded-full p-1",children:[s.jsxs("button",{onClick:()=>d("INFO"),disabled:c,className:m("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",c&&"opacity-50 cursor-not-allowed"),children:[s.jsx(N,{className:"w-4 h-4"}),"Info"]}),s.jsxs("button",{onClick:()=>d("DEBUG"),disabled:c,className:m("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",c&&"opacity-50 cursor-not-allowed"),children:[c?s.jsx(v,{className:"w-4 h-4 animate-spin"}):s.jsx(b,{className:"w-4 h-4"}),"Debug"]})]})]})}function L(){const e=a(),o=t(),d=l(),x=c(),N=n();return p(x,i.logs,d),s.jsxs(h,{children:[s.jsx(u,{title:"System Logs",icon:s.jsx(r,{}),controls:s.jsxs(s.Fragment,{children:[s.jsx(F,{}),d&&s.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[s.jsx(f,{className:"w-2 h-2 fill-accent-success text-accent-success animate-pulse"}),s.jsx("span",{className:"text-text-muted",children:"Live"})]}),s.jsxs("button",{onClick:()=>N(!d),className:m("h-[32px] px-4 rounded-full type-data transition-colors","flex items-center gap-2",d?"bg-accent-success/20 text-accent-success":"bg-white/[0.02] text-text-muted hover:text-text-secondary"),children:[s.jsx(y,{className:m("w-4 h-4",d&&"animate-spin")}),s.jsx("span",{className:"hidden xs:inline",children:d?"Live":"Paused"})]})]})}),s.jsxs(j,{noPadding:!0,children:[s.jsx(g,{listHeader:!0,icon:s.jsx(r,{className:"icon-sm"}),title:"Log Entries"}),s.jsx("div",{className:"space-y-2 max-h-[calc(100vh-300px)] sm:max-h-[calc(100vh-250px)] overflow-y-auto p-4",children:o&&0===e.length?s.jsx(M,{count:10}):0===e.length?s.jsx("div",{className:"text-center py-12 text-text-muted",children:"No logs available"}):e.map((e,a)=>s.jsx(C,{log:e},`${e.timestamp}-${a}`))})]})]})}export{L as default};
|
||||
+2
-2
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
@@ -1 +0,0 @@
|
||||
import{j as e}from"./index-CFwwWdzm.js";import{c as s}from"./recharts-bmHCCfxU.js";function a({children:a,className:l}){return e.jsx("div",{className:s("section-gap",l),children:a})}function l({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-accent-primary 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 c={sm:"card-sm",md:"card-md",lg:"card-lg",hero:"card-hero",auto:"card-auto"};function t({children:a,size:l,compact:t,noPadding:r,className:i,style:n,onClick:d}){return e.jsx("div",{className:s("glass-card h-full flex flex-col",!r&&(t?"card-padding-sm":"card-padding"),l&&c[l],i),style:n,onClick:d,children:a})}function r({icon:a,title:l,badge:c,subtitle:t,actions:r,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})]}),r&&e.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:r})]}),t&&e.jsx("p",{className:"type-label text-text-muted ml-7",children:t})]})}export{t as C,a as P,l as a,r as b};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{j as e}from"./index-B-2Jxr7j.js";import{c as s}from"./recharts-bmHCCfxU.js";function a({children:a,className:l}){return e.jsx("div",{className:s("section-gap",l),children:a})}function l({title:s,icon:a,controls:l,subtitle:t}){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})]}),t&&e.jsx("div",{children:t})]})}const t={sm:"card-sm",md:"card-md",lg:"card-lg",hero:"card-hero",auto:"card-auto"};function c({children:a,size:l,compact:c,noPadding:i,className:r,style:n,onClick:d}){return e.jsx("div",{className:s("glass-card h-full flex flex-col",!i&&(c?"card-padding-sm":"card-padding"),l&&t[l],r),style:n,onClick:d,children:a})}function i({icon:a,title:l,badge:t,subtitle:c,actions:i,iconColor:r="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",r),children:a}),e.jsx("span",{className:n?"type-subheading text-text-primary":"type-micro",children:l}),t&&e.jsx("span",{className:"pill-tag",children:t})]}),i&&e.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:i})]}),c&&e.jsx("p",{className:"type-label text-text-muted ml-7",children:c})]})}export{c as C,a as P,l as a,i as b};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1 +1 @@
|
||||
import{c as e,j as t}from"./index-CFwwWdzm.js";import{c as a,b as s}from"./recharts-bmHCCfxU.js";const n=e("signal-high",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}]]),r=e("signal-low",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]]),i=e("signal-medium",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]]),c=e("signal-zero",[["path",{d:"M2 20h.01",key:"4haj6o"}]]),o=e("signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]);function l(e){return e>=-90?"excellent":e>=-100?"good":e>=-110?"fair":e>=-120?"weak":"poor"}function d(e,t){if(!t)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:e,className:s="w-4 h-4"}){const d=l(e),x=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"}}(d),h=a(x,s);switch(d){case"excellent":return t.jsx(o,{className:h});case"good":return t.jsx(n,{className:h});case"fair":return t.jsx(i,{className:h});case"weak":return t.jsx(r,{className:h});default:return t.jsx(c,{className:h})}}const h=s.memo(function({rssi:e,snr:s,compact:n=!1,showValues:r=!0}){const i=l(e),c={excellent:4,good:3,fair:2,weak:1,poor:0}[i];return n?t.jsxs("div",{className:"flex items-center justify-end gap-1.5",children:[r&&t.jsx("span",{className:"text-[10px] font-mono text-text-secondary",children:e}),t.jsx("div",{className:"flex items-end gap-[2px] h-3",children:Array.from({length:4}).map((e,s)=>t.jsx("div",{className:a("w-[3px] rounded-[1px] transition-colors",d(i,s<c)),style:{height:(s+1)/4*100+"%"}},s))})]}):t.jsxs("div",{className:"flex items-center justify-end gap-2",children:[r&&t.jsxs("div",{className:"flex flex-col items-end",children:[t.jsxs("span",{className:"text-xs font-mono text-text-secondary leading-tight",children:[e," dBm"]}),void 0!==s&&t.jsxs("span",{className:"text-[10px] font-mono text-text-muted leading-tight",children:[s.toFixed(1)," dB"]})]}),t.jsx("div",{className:"flex items-end gap-[2px] h-3.5",children:Array.from({length:4}).map((e,s)=>t.jsx("div",{className:a("w-[3px] rounded-[1px] transition-colors",d(i,s<c)),style:{height:(s+1)/4*100+"%"}},s))})]})});function p(e){const t=l(e);return t.charAt(0).toUpperCase()+t.slice(1)}export{h as S,x as a,p as g};
|
||||
import{c as e,j as t}from"./index-B-2Jxr7j.js";import{c as a,b as s}from"./recharts-bmHCCfxU.js";const n=e("signal-high",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}]]),r=e("signal-low",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]]),i=e("signal-medium",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]]),c=e("signal-zero",[["path",{d:"M2 20h.01",key:"4haj6o"}]]),o=e("signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]);function l(e){return e>=-90?"excellent":e>=-100?"good":e>=-110?"fair":e>=-120?"weak":"poor"}function d(e,t){if(!t)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:e,className:s="w-4 h-4"}){const d=l(e),x=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"}}(d),h=a(x,s);switch(d){case"excellent":return t.jsx(o,{className:h});case"good":return t.jsx(n,{className:h});case"fair":return t.jsx(i,{className:h});case"weak":return t.jsx(r,{className:h});default:return t.jsx(c,{className:h})}}const h=s.memo(function({rssi:e,snr:s,compact:n=!1,showValues:r=!0}){const i=l(e),c={excellent:4,good:3,fair:2,weak:1,poor:0}[i];return n?t.jsxs("div",{className:"flex items-center justify-end gap-1.5",children:[r&&t.jsx("span",{className:"text-[10px] font-mono text-text-secondary",children:e}),t.jsx("div",{className:"flex items-end gap-[2px] h-3",children:Array.from({length:4}).map((e,s)=>t.jsx("div",{className:a("w-[3px] rounded-[1px] transition-colors",d(i,s<c)),style:{height:(s+1)/4*100+"%"}},s))})]}):t.jsxs("div",{className:"flex items-center justify-end gap-2",children:[r&&t.jsxs("div",{className:"flex flex-col items-end",children:[t.jsxs("span",{className:"text-xs font-mono text-text-secondary leading-tight",children:[e," dBm"]}),void 0!==s&&t.jsxs("span",{className:"text-[10px] font-mono text-text-muted leading-tight",children:[s.toFixed(1)," dB"]})]}),t.jsx("div",{className:"flex items-end gap-[2px] h-3.5",children:Array.from({length:4}).map((e,s)=>t.jsx("div",{className:a("w-[3px] rounded-[1px] transition-colors",d(i,s<c)),style:{height:(s+1)/4*100+"%"}},s))})]})});function p(e){const t=l(e);return t.charAt(0).toUpperCase()+t.slice(1)}export{h as S,x as a,p as g};
|
||||
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{j as e}from"./index-CFwwWdzm.js";import{b as o}from"./recharts-bmHCCfxU.js";const s=o.memo(function({ranges:o,selectedIndex:s,onSelect:t,isPending:r}){return e.jsx("div",{className:"toggle-group flex-shrink-0 overflow-x-auto "+(r?"opacity-70":""),children:o.map((o,r)=>e.jsx("button",{onClick:()=>t(r),className:"toggle-group-item "+(s===r?"active":""),children:o.label},o.label))})});export{s as T};
|
||||
import{j as e}from"./index-B-2Jxr7j.js";import{b as o}from"./recharts-bmHCCfxU.js";const s=o.memo(function({ranges:o,selectedIndex:s,onSelect:t,isPending:r}){return e.jsx("div",{className:"toggle-group flex-shrink-0 overflow-x-auto "+(r?"opacity-70":""),children:o.map((o,r)=>e.jsx("button",{onClick:()=>t(r),className:"toggle-group-item "+(s===r?"active":""),children:o.label},o.label))})});export{s as T};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CFwwWdzm.js";const t=a("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);export{t as A};
|
||||
import{c as a}from"./index-B-2Jxr7j.js";const t=a("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);export{t as A};
|
||||
@@ -1 +0,0 @@
|
||||
import{c as t}from"./index-CFwwWdzm.js";const h=t("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);export{h as C};
|
||||
@@ -0,0 +1 @@
|
||||
import{c as t}from"./index-B-2Jxr7j.js";const h=t("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);export{h as C};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{c}from"./index-B-2Jxr7j.js";const r=c("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);export{r as C};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{c}from"./index-CFwwWdzm.js";const r=c("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);export{r as C};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CFwwWdzm.js";const t=a("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);export{t as E};
|
||||
import{c as a}from"./index-B-2Jxr7j.js";const t=a("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);export{t as E};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CFwwWdzm.js";const s=a("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);export{s as H};
|
||||
import{c as a}from"./index-B-2Jxr7j.js";const s=a("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);export{s as H};
|
||||
-1
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
-2
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{c as e}from"./index-CFwwWdzm.js";const c=e("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);export{c as I};
|
||||
import{c as e}from"./index-B-2Jxr7j.js";const c=e("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);export{c as I};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CFwwWdzm.js";const e=a("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);export{e as L};
|
||||
import{c as a}from"./index-B-2Jxr7j.js";const e=a("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);export{e as L};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CFwwWdzm.js";const p=a("map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);export{p as M};
|
||||
import{c as a}from"./index-B-2Jxr7j.js";const p=a("map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);export{p as M};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{c}from"./index-CFwwWdzm.js";const r=c("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);export{r as M};
|
||||
import{c}from"./index-B-2Jxr7j.js";const r=c("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);export{r as M};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CFwwWdzm.js";const e=a("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);export{e as R};
|
||||
import{c as a}from"./index-B-2Jxr7j.js";const e=a("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);export{e as R};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1 +1 @@
|
||||
import{c as t}from"./index-CFwwWdzm.js";const e=t("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);export{e as T};
|
||||
import{c as t}from"./index-B-2Jxr7j.js";const e=t("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);export{e as T};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CFwwWdzm.js";const e=a("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),t=a("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),h=a("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);export{t as C,h as T,e as a};
|
||||
import{c as a}from"./index-B-2Jxr7j.js";const e=a("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),t=a("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),h=a("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);export{t as C,h as T,e as a};
|
||||
@@ -1 +0,0 @@
|
||||
import{b as o}from"./recharts-bmHCCfxU.js";function t(o){return"undefined"==typeof window?"":getComputedStyle(document.documentElement).getPropertyValue(o).trim()}const r={chart1:"#719CDF",chart2:"#0074BE",chart3:"#6FBCBD",chart4:"#DFBC72",chart5:"#719872",chart6:"#E12672",chart7:"#E17899",chart8:"#999ABD"},e={received:"#719872",forwarded:"#0074BE",transmitted:"#DFBC72",dropped:"#E12672",neutral:"#BFBFBF"},c={excellent:"#719872",good:"#6FBCBD",fair:"#DFBC72",poor:"#BE7572",critical:"#E12672",unknown:"#616161"},a={nodeColor:"#0074BE",hubColor:"#719CDF",localColor:"#FBBF24",neighborColor:"#FBBF24",mobileColor:"#F97316",roomColor:"#F59E0B"};function n(){const[e,c]=o.useState(r);return o.useEffect(()=>{const o=()=>{const o={chart1:t("--chart-1")||r.chart1,chart2:t("--chart-2")||r.chart2,chart3:t("--chart-3")||r.chart3,chart4:t("--chart-4")||r.chart4,chart5:t("--chart-5")||r.chart5,chart6:t("--chart-6")||r.chart6,chart7:t("--chart-7")||r.chart7,chart8:t("--chart-8")||r.chart8};c(o)};o();const e=new MutationObserver(t=>{for(const r of t)if("data-theme"===r.attributeName){setTimeout(o,50);break}});return e.observe(document.documentElement,{attributes:!0}),()=>{e.disconnect()}},[]),e}function l(){const[r,c]=o.useState(e);return o.useEffect(()=>{const o=()=>{c({received:t("--metric-received")||e.received,forwarded:t("--metric-forwarded")||e.forwarded,transmitted:t("--metric-transmitted")||e.transmitted,dropped:t("--metric-dropped")||e.dropped,neutral:t("--metric-neutral")||e.neutral})};o();const r=new MutationObserver(t=>{for(const r of t)if("data-theme"===r.attributeName){setTimeout(o,50);break}});return r.observe(document.documentElement,{attributes:!0}),()=>{r.disconnect()}},[]),r}function i(){const[r,e]=o.useState(c);return o.useEffect(()=>{const o=()=>{e({excellent:t("--signal-excellent")||c.excellent,good:t("--signal-good")||c.good,fair:t("--signal-fair")||c.fair,poor:t("--signal-poor")||c.poor,critical:t("--signal-critical")||c.critical,unknown:t("--signal-unknown")||c.unknown})};o();const r=new MutationObserver(t=>{for(const r of t)if("data-theme"===r.attributeName){setTimeout(o,50);break}});return r.observe(document.documentElement,{attributes:!0}),()=>{r.disconnect()}},[]),r}function u(){const o=n();return[o.chart1,o.chart2,o.chart3,o.chart4,o.chart5,o.chart6,o.chart7,o.chart8]}function m(){const[r,e]=o.useState(a);return o.useEffect(()=>{const o=()=>{e({nodeColor:t("--map-node-color")||a.nodeColor,hubColor:t("--map-hub-color")||a.hubColor,localColor:t("--map-local-color")||a.localColor,neighborColor:t("--map-neighbor-color")||a.neighborColor,mobileColor:t("--map-mobile-color")||a.mobileColor,roomColor:t("--map-room-color")||a.roomColor})};o();const r=new MutationObserver(t=>{for(const r of t)if("data-theme"===r.attributeName){setTimeout(o,50);break}});return r.observe(document.documentElement,{attributes:!0}),()=>{r.disconnect()}},[]),r}function s(){return"undefined"==typeof window?a:{nodeColor:t("--map-node-color")||a.nodeColor,hubColor:t("--map-hub-color")||a.hubColor,localColor:t("--map-local-color")||a.localColor,neighborColor:t("--map-neighbor-color")||a.neighborColor,mobileColor:t("--map-mobile-color")||a.mobileColor,roomColor:t("--map-room-color")||a.roomColor}}export{u as a,i as b,n as c,m as d,s as g,l as u};
|
||||
@@ -0,0 +1 @@
|
||||
import{b as e}from"./recharts-bmHCCfxU.js";function o(e){return"undefined"==typeof window?"":getComputedStyle(document.documentElement).getPropertyValue(e).trim()}const r={chart1:"#719CDF",chart2:"#0074BE",chart3:"#6FBCBD",chart4:"#DFBC72",chart5:"#719872",chart6:"#E12672",chart7:"#E17899",chart8:"#999ABD"},t={received:"#719872",forwarded:"#0074BE",transmitted:"#DFBC72",dropped:"#E12672",neutral:"#BFBFBF"},n={excellent:"#719872",good:"#6FBCBD",fair:"#DFBC72",poor:"#BE7572",critical:"#E12672",unknown:"#616161"},a={nodeFill:"#F5F5F0",nodeStroke:"#4A5568",hubColor:"#8B7BAD",localColor:"#FBBF24",neighborColor:"#FBBF24",mobileColor:"#F97316",roomColor:"#E17899"};function c(){const[t,n]=e.useState(r);return e.useEffect(()=>{const e=()=>{const e={chart1:o("--chart-1")||r.chart1,chart2:o("--chart-2")||r.chart2,chart3:o("--chart-3")||r.chart3,chart4:o("--chart-4")||r.chart4,chart5:o("--chart-5")||r.chart5,chart6:o("--chart-6")||r.chart6,chart7:o("--chart-7")||r.chart7,chart8:o("--chart-8")||r.chart8};n(e)};e();const t=new MutationObserver(o=>{for(const r of o)if("data-theme"===r.attributeName){setTimeout(e,50);break}});return t.observe(document.documentElement,{attributes:!0}),()=>{t.disconnect()}},[]),t}function i(){const[r,n]=e.useState(t);return e.useEffect(()=>{const e=()=>{n({received:o("--metric-received")||t.received,forwarded:o("--metric-forwarded")||t.forwarded,transmitted:o("--metric-transmitted")||t.transmitted,dropped:o("--metric-dropped")||t.dropped,neutral:o("--metric-neutral")||t.neutral})};e();const r=new MutationObserver(o=>{for(const r of o)if("data-theme"===r.attributeName){setTimeout(e,50);break}});return r.observe(document.documentElement,{attributes:!0}),()=>{r.disconnect()}},[]),r}function s(){const[r,t]=e.useState(n);return e.useEffect(()=>{const e=()=>{t({excellent:o("--signal-excellent")||n.excellent,good:o("--signal-good")||n.good,fair:o("--signal-fair")||n.fair,poor:o("--signal-poor")||n.poor,critical:o("--signal-critical")||n.critical,unknown:o("--signal-unknown")||n.unknown})};e();const r=new MutationObserver(o=>{for(const r of o)if("data-theme"===r.attributeName){setTimeout(e,50);break}});return r.observe(document.documentElement,{attributes:!0}),()=>{r.disconnect()}},[]),r}function l(){const e=c();return[e.chart1,e.chart2,e.chart3,e.chart4,e.chart5,e.chart6,e.chart7,e.chart8]}function d(){const[r,t]=e.useState(a);return e.useEffect(()=>{const e=()=>{t({nodeFill:o("--map-node-fill")||a.nodeFill,nodeStroke:o("--map-node-stroke")||a.nodeStroke,hubColor:o("--map-hub-color")||a.hubColor,localColor:o("--map-local-color")||a.localColor,neighborColor:o("--map-neighbor-color")||a.neighborColor,mobileColor:o("--map-mobile-color")||a.mobileColor,roomColor:o("--map-room-color")||a.roomColor})};e();const r=new MutationObserver(o=>{for(const r of o)if("data-theme"===r.attributeName){setTimeout(e,50);break}});return r.observe(document.documentElement,{attributes:!0}),()=>{r.disconnect()}},[]),r}function u(){return"undefined"==typeof window?a:{nodeFill:o("--map-node-fill")||a.nodeFill,nodeStroke:o("--map-node-stroke")||a.nodeStroke,hubColor:o("--map-hub-color")||a.hubColor,localColor:o("--map-local-color")||a.localColor,neighborColor:o("--map-neighbor-color")||a.neighborColor,mobileColor:o("--map-mobile-color")||a.mobileColor,roomColor:o("--map-room-color")||a.roomColor}}const h={rest:"#4B4B4B",restBright:"#616161",restDim:"#3F3F3F",hoverDirect:"#6FBCBD",hoverLoop:"#8B7BAD",hoverStandard:"#8A8A8A",hoverNeighbor:"#FBBF24"};function m(){return"undefined"==typeof window?h:{rest:o("--map-edge-rest")||h.rest,restBright:o("--map-edge-rest-bright")||h.restBright,restDim:o("--map-edge-rest-dim")||h.restDim,hoverDirect:o("--map-edge-hover-direct")||h.hoverDirect,hoverLoop:o("--map-edge-hover-loop")||h.hoverLoop,hoverStandard:o("--map-edge-hover-standard")||h.hoverStandard,hoverNeighbor:o("--map-edge-hover-neighbor")||h.hoverNeighbor}}const f={grid:"rgba(255, 255, 255, 0.06)",axisTick:"rgba(255, 255, 255, 0.4)",cursor:"rgba(255, 255, 255, 0.2)"};function b(){const[r,t]=e.useState(f);return e.useEffect(()=>{const e=()=>{t("undefined"==typeof window?f:{grid:o("--chart-grid")||f.grid,axisTick:o("--chart-axis-tick")||f.axisTick,cursor:o("--chart-cursor")||f.cursor})};e();const r=new MutationObserver(o=>{for(const r of o)if("data-theme"===r.attributeName){setTimeout(e,50);break}});return r.observe(document.documentElement,{attributes:!0}),()=>{r.disconnect()}},[]),r}function p(e,r){return o(`--palette-${e}-${r}`)||""}function g(){const e=[];for(let o=0;o<24;o++){const r=o/23,t=1-r,n=p("aqua",[900,800,700,600,500,400,300,200,100,50][Math.min(8,Math.floor(9*t))]),a=parseInt(n.slice(1,3),16)||0,c=parseInt(n.slice(3,5),16)||0,i=parseInt(n.slice(5,7),16)||0,s=Math.round(80+130*r);e.push([a,c,i,s])}return e}export{b as a,l as b,s as c,c as d,m as e,d as f,u as g,g as h,i as u};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CFwwWdzm.js";const e=a("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);export{e as U};
|
||||
import{c as a}from"./index-B-2Jxr7j.js";const e=a("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);export{e as U};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{c as a}from"./index-CFwwWdzm.js";const t=a("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),d=a("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]),h=a("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);export{t as M,d as T,h as Z};
|
||||
import{c as a}from"./index-B-2Jxr7j.js";const t=a("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),d=a("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]),h=a("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);export{t as M,d as T,h as Z};
|
||||
Vendored
+2
-2
@@ -38,10 +38,10 @@
|
||||
--font-data: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
|
||||
}
|
||||
</style>
|
||||
<script type="module" crossorigin src="/assets/index-CFwwWdzm.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-B-2Jxr7j.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/maplibre-gl-CFO9X1Ek.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/recharts-bmHCCfxU.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-4t45GZGR.css">
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CWIXaxI_.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pymc_console",
|
||||
"version": "0.9.127",
|
||||
"version": "0.9.128",
|
||||
"description": "Vite + React Dashboard for pyMC_Repeater",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
@@ -20,6 +20,7 @@
|
||||
"@deck.gl/layers": "^9.2.5",
|
||||
"@deck.gl/mapbox": "^9.2.5",
|
||||
"@types/leaflet": "^1.9.21",
|
||||
"@types/three": "^0.182.0",
|
||||
"axios": "^1.13.2",
|
||||
"clsx": "^2.1.1",
|
||||
"h3-js": "^4.4.0",
|
||||
@@ -33,6 +34,7 @@
|
||||
"react-map-gl": "^8.1.0",
|
||||
"react-router-dom": "^7.1.1",
|
||||
"recharts": "^3.5.1",
|
||||
"three": "^0.182.0",
|
||||
"zustand": "^5.0.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user