efficient-shell 4.166.0 → 4.168.0

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.
Files changed (40) hide show
  1. package/README.md +134 -1
  2. package/dist/{Browser-2MBG34IR.js → Browser-PZPREN6H.js} +14 -14
  3. package/dist/{Calculator-R3WJTNZ6.js → Calculator-NXMUEH5D.js} +22 -22
  4. package/dist/{CurrencyConverter-PEXSQQUK.js → CurrencyConverter-3BTIZ2LT.js} +6 -6
  5. package/dist/{Documents-YL4RIOZO.js → Documents-YAOM3L47.js} +10 -10
  6. package/dist/{Files-3ZRUTRSB.js → Files-2UHYDMLL.js} +30 -30
  7. package/dist/{Notepad-3ZM2FR6C.js → Notepad-OWL75AYX.js} +9 -9
  8. package/dist/{PomodoroTimer-5QHA5UOY.js → PomodoroTimer-SCPEOG6W.js} +27 -27
  9. package/dist/{Preview-32F4DTCK.js → Preview-5R3QZSJU.js} +16 -16
  10. package/dist/{Sidebar-QQSRLMJG.js → Sidebar-C5RXL72L.js} +17 -17
  11. package/dist/{Spreadsheet-GOZI7I4L.js → Spreadsheet-XT4HF7MQ.js} +14 -14
  12. package/dist/{Stock-XJFITZZA.js → Stock-UGDIALNB.js} +4 -4
  13. package/dist/{Weather-BDC633GV.js → Weather-CR2MN5XF.js} +15 -15
  14. package/dist/{WorldClock-ROOVRRCJ.js → WorldClock-JBNJ7C7J.js} +6 -6
  15. package/dist/apps/index.js +1 -1
  16. package/dist/bin/ui-check.js +2 -0
  17. package/dist/brand.css +1 -1
  18. package/dist/{chunk-HGG5M5AB.js → chunk-6MBERZOS.js} +1 -1
  19. package/dist/chunk-7U3F53IG.js +1 -0
  20. package/dist/{chunk-CRI4UFBU.js → chunk-A7Q4BCPI.js} +5 -5
  21. package/dist/{chunk-7TQ7NMT3.js → chunk-CUX4XGLS.js} +1 -1
  22. package/dist/{chunk-G5J6YSN5.js → chunk-FVXBJGY5.js} +3 -3
  23. package/dist/{chunk-JKVDTKBE.js → chunk-GVZLCY3B.js} +290 -284
  24. package/dist/{chunk-QASZIYLG.js → chunk-JLPJBO7K.js} +1 -1
  25. package/dist/{chunk-BKDE67DB.js → chunk-JYLI2WXW.js} +2 -2
  26. package/dist/{chunk-VXBJNMAA.js → chunk-LW27IM3S.js} +98 -98
  27. package/dist/{chunk-UVZIPXIA.js → chunk-N3ZXQE4M.js} +3 -3
  28. package/dist/{chunk-7YFAFXQG.js → chunk-PLX2N4N6.js} +2 -2
  29. package/dist/{chunk-DTRXR6JQ.js → chunk-XKHAP6N2.js} +11 -11
  30. package/dist/{chunk-HA2WG27U.js → chunk-YWXYBJ5Y.js} +2 -2
  31. package/dist/{index-DcLqfJX3.d.ts → index-CbLbd__n.d.ts} +61 -3
  32. package/dist/index.d.ts +2 -2
  33. package/dist/index.js +56 -56
  34. package/dist/map/index.js +3 -3
  35. package/dist/page-tabs/index.js +5 -5
  36. package/dist/ui/index.d.ts +1 -1
  37. package/dist/ui/index.js +1 -1
  38. package/dist/ui.css +12 -0
  39. package/package.json +9 -2
  40. package/dist/chunk-VRHUY4P4.js +0 -1
@@ -1,8 +1,8 @@
1
- import{glassStyle as e,GLASS_DIVIDER as t}from"./chunk-HZZNJHRH.js";import{useHydrated as n,useBrowserLayoutEffect as r}from"./chunk-D65T4H6J.js";import{onOverlayOpen as o,registerModalEscapeInterceptor as i,Z_LAYERS as l}from"./chunk-X4FJ54PP.js";import{createContext as a,forwardRef as u,useContext as c,useRef as s,useId as d,useState as p,useEffect as m,useMemo as h,useCallback as f}from"react";import{createPortal as g}from"react-dom";import{jsxs as y,jsx as x,Fragment as w}from"react/jsx-runtime";var b=/* @__PURE__ */new Set(["text","search","url","tel","email","password","number","date","datetime-local","month","week","time"]),v="data-native-context-menu";function k(e,t){return e&&"function"==typeof e.closest?e.closest(t):null}function C(e){const t=e;if(!t||"function"!=typeof t.closest)return!1;if(k(t,`[${v}]`))return!0;if(k(t,"textarea"))return!0;if(k(t,"img, picture, canvas, video, audio"))return!0;const n=k(t,"input");if(n){const e=(n.type||"text").toLowerCase();if(b.has(e))return!0}const r=k(t,"[contenteditable]");if(r){const e=(r.getAttribute("contenteditable")||"").toLowerCase();if(""===e||"true"===e||"plaintext-only"===e)return!0}return!1}var N=/* @__PURE__ */new Set(["http:","https:","mailto:","tel:","blob:"]);function L(e,t,n){const r=k(e,"a[href]"),o=(t||"").trim(),i=function(e,t){if(e&&"#"!==e)try{const n=new URL(e,t??("undefined"!=typeof document?document.baseURI:void 0));return N.has(n.protocol)?n.href:void 0}catch{return}}(r?.getAttribute("href"),n);return{kind:o?"selection":i?"link":"default",...o?{selectionText:o}:{},...i?{linkUrl:i}:{}}}function T(e){if(e.defaultPrevented)return!0;if(e.shiftKey)return!0;if("touch"===e.pointerType)return!0;return C(("function"==typeof e.composedPath?e.composedPath()[0]:void 0)??e.target)}function M(e,t,n){return e.length===t+1&&e[t].key===n.key?e:[...e.slice(0,t),n]}function E(e,t){const n=Math.max(0,t);return e.length>n?e.slice(0,n):e}function B(e,t,n){if(0===t.length||0===e.length)return[];const r=[e];for(let e=1;e<t.length;e++){const o=r[e-1].find(n=>n.to===t[e].key),i=o?n(o):[];if(0===i.length)break;r.push(i)}return r}function $(e,t,n,r){const o=Math.max(0,r-n),i=Math.min(t,o),l=e-i/2;return l<n?n:l+i>r?Math.max(n,r-i):l}function P(e,t,n,r,o,i=!1,l=8){const a=t+o,u=e-o-n,c=u>=l;return i&&c?{left:u,flipped:!0}:a+n<=r-l?{left:a,flipped:!1}:c?{left:u,flipped:!0}:i?{left:l,flipped:!0}:{left:Math.max(l,r-l-n),flipped:!1}}function R(){try{return getComputedStyle(document.documentElement).getPropertyValue("--menu-density")?.trim()||"normal"}catch{return"normal"}}var W=a(null),A=a(!1);function H({children:t,style:r,className:a="",onClose:u,minWidth:c=180,portal:f=!1}){const y=s(null),w=d(),[b,v]=p([]),k=s();m(()=>()=>clearTimeout(k.current),[]);const N=n(),L=h(()=>{const e=()=>clearTimeout(k.current);return{id:w,depth:0,path:b,open:(t,n)=>{e(),v(e=>M(e,t,n))},scheduleClose:t=>{e(),k.current=setTimeout(()=>v(e=>E(e,t)),200)},closeBelow:t=>{e(),v(e=>E(e,t))},cancelClose:e,closeTree:()=>{e(),v([]),u?.()},root:y}},[w,b,u]);m(()=>{if(!u)return;const e=e=>{e.target.closest("[data-menu-toggle]")||e.target.closest?.(`[data-popup-menu-tree="${w}"]`)||y.current&&!y.current.contains(e.target)&&u()},t=e=>{"Escape"===e.key&&u()};window.addEventListener("pointerdown",e),window.addEventListener("keydown",t);const n=o(u),r=i(()=>!1,()=>y.current);return()=>{window.removeEventListener("pointerdown",e),window.removeEventListener("keydown",t),n(),r()}},[u,w]),m(()=>{const e=y.current;e&&requestAnimationFrame(()=>{const t=e.getBoundingClientRect();if(t.right>window.innerWidth-8){const n=t.right-window.innerWidth+8;e.style.left?e.style.left=parseFloat(e.style.left)-n+"px":e.style.right||(e.style.left=t.left-n+"px")}if(t.left<8&&(e.style.left?e.style.left="8px":e.style.right&&(e.style.right=window.innerWidth-t.width-8+"px")),t.bottom>window.innerHeight-8){const n=t.bottom-window.innerHeight+8;e.style.top?e.style.top=parseFloat(e.style.top)-n+"px":e.style.bottom?e.style.bottom="8px":e.style.top=t.top-n+"px"}t.top<8&&(e.style.top?e.style.top="8px":e.style.bottom&&(e.style.bottom=window.innerHeight-t.height-8+"px"))})});const T=R(),B=/(^|[\s:])!?z-/.test(a),$=/* @__PURE__ */x("div",{ref:y,"data-popup-menu-tree":w,className:`fixed rounded-2xl ${"tight"===T?"py-1":"large"===T?"py-2":"py-1.5"} ${a}`,onContextMenu:e=>{C(e.target)||e.preventDefault()},style:{...B?{}:{zIndex:l.menu},minWidth:c,animation:"popup-in 0.12s ease-out",...e(),...r},children:/* @__PURE__ */x(W.Provider,{value:L,children:t})});return f?N?g($,document.body):null:$}function j(e,t,n,r=!1){const o=R(),i="tight"===o?"0.25rem":"large"===o?"0.6rem":"max(0.25rem, calc(var(--menu-padding-y, 0.5rem) - 0.1rem))";return{className:`w-full flex items-center gap-2 text-left transition-colors rounded-lg mx-auto\n ${e?"text-red-600 hover:bg-red-50":r?"bg-blue-50 text-blue-700":"text-gray-700 hover:bg-blue-50 hover:text-blue-700"}\n ${t?"opacity-40 cursor-not-allowed":""}\n ${n}`,style:{width:"calc(100% - 8px)",marginLeft:4,marginRight:4,fontSize:"var(--menu-font-size, 14px)",paddingLeft:"var(--menu-padding-x, 1rem)",paddingRight:"var(--menu-padding-x, 1rem)",paddingTop:i,paddingBottom:i}}}var D=/* @__PURE__ */x("svg",{"aria-hidden":!0,className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:/* @__PURE__ */x("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})});function F({kind:e,checked:t}){/* @__PURE__ */
1
+ import{glassStyle as e,GLASS_DIVIDER as t}from"./chunk-HZZNJHRH.js";import{onOverlayOpen as n,registerModalEscapeInterceptor as r,Z_LAYERS as o}from"./chunk-X4FJ54PP.js";import{useHydrated as i,useBrowserLayoutEffect as l}from"./chunk-D65T4H6J.js";import{createContext as a,forwardRef as u,useContext as c,useRef as s,useId as d,useState as p,useEffect as m,useMemo as h,useCallback as f}from"react";import{createPortal as g}from"react-dom";import{jsxs as y,jsx as x,Fragment as w}from"react/jsx-runtime";var b=/* @__PURE__ */new Set(["text","search","url","tel","email","password","number","date","datetime-local","month","week","time"]),v="data-native-context-menu";function k(e,t){return e&&"function"==typeof e.closest?e.closest(t):null}function C(e){const t=e;if(!t||"function"!=typeof t.closest)return!1;if(k(t,`[${v}]`))return!0;if(k(t,"textarea"))return!0;if(k(t,"img, picture, canvas, video, audio"))return!0;const n=k(t,"input");if(n){const e=(n.type||"text").toLowerCase();if(b.has(e))return!0}const r=k(t,"[contenteditable]");if(r){const e=(r.getAttribute("contenteditable")||"").toLowerCase();if(""===e||"true"===e||"plaintext-only"===e)return!0}return!1}var N=/* @__PURE__ */new Set(["http:","https:","mailto:","tel:","blob:"]);function L(e,t,n){const r=k(e,"a[href]"),o=(t||"").trim(),i=function(e,t){if(e&&"#"!==e)try{const n=new URL(e,t??("undefined"!=typeof document?document.baseURI:void 0));return N.has(n.protocol)?n.href:void 0}catch{return}}(r?.getAttribute("href"),n);return{kind:o?"selection":i?"link":"default",...o?{selectionText:o}:{},...i?{linkUrl:i}:{}}}function T(e){if(e.defaultPrevented)return!0;if(e.shiftKey)return!0;if("touch"===e.pointerType)return!0;return C(("function"==typeof e.composedPath?e.composedPath()[0]:void 0)??e.target)}function M(e,t,n){return e.length===t+1&&e[t].key===n.key?e:[...e.slice(0,t),n]}function E(e,t){const n=Math.max(0,t);return e.length>n?e.slice(0,n):e}function B(e,t,n){if(0===t.length||0===e.length)return[];const r=[e];for(let e=1;e<t.length;e++){const o=r[e-1].find(n=>n.to===t[e].key),i=o?n(o):[];if(0===i.length)break;r.push(i)}return r}function $(e,t,n,r){const o=Math.max(0,r-n),i=Math.min(t,o),l=e-i/2;return l<n?n:l+i>r?Math.max(n,r-i):l}function P(e,t,n,r,o,i=!1,l=8){const a=t+o,u=e-o-n,c=u>=l;return i&&c?{left:u,flipped:!0}:a+n<=r-l?{left:a,flipped:!1}:c?{left:u,flipped:!0}:i?{left:l,flipped:!0}:{left:Math.max(l,r-l-n),flipped:!1}}function R(){try{return getComputedStyle(document.documentElement).getPropertyValue("--menu-density")?.trim()||"normal"}catch{return"normal"}}var W=a(null),A=a(!1);function H({children:t,style:l,className:a="",onClose:u,minWidth:c=180,portal:f=!1}){const y=s(null),w=d(),[b,v]=p([]),k=s();m(()=>()=>clearTimeout(k.current),[]);const N=i(),L=h(()=>{const e=()=>clearTimeout(k.current);return{id:w,depth:0,path:b,open:(t,n)=>{e(),v(e=>M(e,t,n))},scheduleClose:t=>{e(),k.current=setTimeout(()=>v(e=>E(e,t)),200)},closeBelow:t=>{e(),v(e=>E(e,t))},cancelClose:e,closeTree:()=>{e(),v([]),u?.()},root:y}},[w,b,u]);m(()=>{if(!u)return;const e=e=>{e.target.closest("[data-menu-toggle]")||e.target.closest?.(`[data-popup-menu-tree="${w}"]`)||y.current&&!y.current.contains(e.target)&&u()},t=e=>{"Escape"===e.key&&u()};window.addEventListener("pointerdown",e),window.addEventListener("keydown",t);const o=n(u),i=r(()=>!1,()=>y.current);return()=>{window.removeEventListener("pointerdown",e),window.removeEventListener("keydown",t),o(),i()}},[u,w]),m(()=>{const e=y.current;e&&requestAnimationFrame(()=>{const t=e.getBoundingClientRect();if(t.right>window.innerWidth-8){const n=t.right-window.innerWidth+8;e.style.left?e.style.left=parseFloat(e.style.left)-n+"px":e.style.right||(e.style.left=t.left-n+"px")}if(t.left<8&&(e.style.left?e.style.left="8px":e.style.right&&(e.style.right=window.innerWidth-t.width-8+"px")),t.bottom>window.innerHeight-8){const n=t.bottom-window.innerHeight+8;e.style.top?e.style.top=parseFloat(e.style.top)-n+"px":e.style.bottom?e.style.bottom="8px":e.style.top=t.top-n+"px"}t.top<8&&(e.style.top?e.style.top="8px":e.style.bottom&&(e.style.bottom=window.innerHeight-t.height-8+"px"))})});const T=R(),B=/(^|[\s:])!?z-/.test(a),$=/* @__PURE__ */x("div",{ref:y,"data-popup-menu-tree":w,className:`fixed rounded-2xl ${"tight"===T?"py-1":"large"===T?"py-2":"py-1.5"} ${a}`,onContextMenu:e=>{C(e.target)||e.preventDefault()},style:{...B?{}:{zIndex:o.menu},minWidth:c,animation:"popup-in 0.12s ease-out",...e(),...l},children:/* @__PURE__ */x(W.Provider,{value:L,children:t})});return f?N?g($,document.body):null:$}function j(e,t,n,r=!1){const o=R(),i="tight"===o?"0.25rem":"large"===o?"0.6rem":"max(0.25rem, calc(var(--menu-padding-y, 0.5rem) - 0.1rem))";return{className:`w-full flex items-center gap-2 text-left transition-colors rounded-lg mx-auto\n ${e?"text-red-600 hover:bg-red-50":r?"bg-blue-50 text-blue-700":"text-gray-700 hover:bg-blue-50 hover:text-blue-700"}\n ${t?"opacity-40 cursor-not-allowed":""}\n ${n}`,style:{width:"calc(100% - 8px)",marginLeft:4,marginRight:4,fontSize:"var(--menu-font-size, 14px)",paddingLeft:"var(--menu-padding-x, 1rem)",paddingRight:"var(--menu-padding-x, 1rem)",paddingTop:i,paddingBottom:i}}}var D=/* @__PURE__ */x("svg",{"aria-hidden":!0,className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:/* @__PURE__ */x("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})});function F({kind:e,checked:t}){/* @__PURE__ */
2
2
  return x("span","checkbox"===e?{"aria-hidden":!0,"data-menu-check":"",className:"inline-flex h-4 w-4 shrink-0 items-center justify-center rounded border "+(t?"border-blue-600 bg-blue-600 text-white":"border-gray-400"),children:t&&D}:{"aria-hidden":!0,"data-menu-check":"",className:"inline-flex h-4 w-4 shrink-0 items-center justify-center",children:t&&D})}var S=u(function({onClick:e,children:t,className:n="",danger:r,disabled:o,role:i,checked:l,tabIndex:a,id:u,onMouseEnter:s},d){const p=c(W),m=c(A),h=j(r,o,n),f=void 0===l?null:"menuitemradio"===i?"radio":"checkbox";/* @__PURE__ */
3
- return y("button",{ref:d,id:u,role:"radio"===f?"menuitemradio":"checkbox"===f?"menuitemcheckbox":i??(m?"menuitem":void 0),"aria-checked":f?l:void 0,tabIndex:a,onClick:()=>{e?.(),p&&p.depth>0&&"checkbox"!==f&&p.closeTree()},onMouseEnter:()=>{p?.scheduleClose(p.depth),s?.()},disabled:o,className:h.className,style:h.style,children:[f&&/* @__PURE__ */x(F,{kind:f,checked:!!l}),t]})}),I=/* @__PURE__ */x("svg",{"aria-hidden":!0,className:"h-3.5 w-3.5 shrink-0 ml-auto text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:/* @__PURE__ */x("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})});function z(e){let t=l.menu;for(let n=e;n&&n!==document.body;n=n.parentElement){const e=parseInt(getComputedStyle(n).zIndex,10);Number.isNaN(e)||(t=e)}return t}function q(e){return e?[...e.querySelectorAll("button:not([disabled])")].filter(t=>t.closest("[data-popup-submenu-panel]")===e):[]}function U({label:t,icon:n,children:o,disabled:l,className:a="",minWidth:u=180,maxHeight:p}){const b=c(W),v=d(),k=s(null),N=s(null),L=s(),T=s(!1),M=`${v}-menu`;m(()=>()=>clearTimeout(L.current),[]);const E=b?.depth??0,B=b?.path[E],A=!!B&&B.key===v&&!l,H=f(e=>{if(!b||l||!k.current)return;clearTimeout(L.current),T.current=e;const t=k.current.getBoundingClientRect(),n=k.current.closest("[data-popup-submenu-panel]")??k.current.closest("[data-popup-menu-tree]"),r=n?.getBoundingClientRect()??t,o=E>0&&(b.path[E-1]?.flipped??!1),i=P(r.left,r.right,u,window.innerWidth,4,o);b.open(E,{key:v,y:t.top,...i})},[b,l,E,v,u]),D=e=>{b?.closeBelow(E),k.current?.focus()};m(()=>{if(A)return i(e=>"Escape"===e.key&&(!(b&&b.path.length>E+1)&&(D(),!0)),()=>N.current)}),r(()=>{if(!A||!B)return;const e=()=>{const e=N.current;if(!e||!k.current)return;const t=k.current.closest("[data-popup-submenu-panel]")??k.current.closest("[data-popup-menu-tree]"),n=t?.getBoundingClientRect()??k.current.getBoundingClientRect(),r=E>0&&(b?.path[E-1]?.flipped??!1),o=e.offsetWidth||u,i=P(n.left,n.right,o,window.innerWidth,4,r,8),l=e.offsetHeight,a=$(k.current.getBoundingClientRect().top+l/2,l,8,window.innerHeight-8);e.style.left=`${i.left}px`,e.style.top=`${a}px`,e.dataset.flipped=String(i.flipped)};e();let t=0;const n=requestAnimationFrame(()=>{t=requestAnimationFrame(e)});return()=>{cancelAnimationFrame(n),cancelAnimationFrame(t)}}),m(()=>{A&&T.current&&(T.current=!1,q(N.current)[0]?.focus())},[A]);const F=h(()=>b&&{...b,depth:E+1},[b,E]);if(!b)throw new Error("PopupSubmenu must be rendered inside a PopupMenu");const S=j(!1,l,a,A),U=R();/* @__PURE__ */
3
+ return y("button",{ref:d,id:u,role:"radio"===f?"menuitemradio":"checkbox"===f?"menuitemcheckbox":i??(m?"menuitem":void 0),"aria-checked":f?l:void 0,tabIndex:a,onClick:()=>{e?.(),p&&p.depth>0&&"checkbox"!==f&&p.closeTree()},onMouseEnter:()=>{p?.scheduleClose(p.depth),s?.()},disabled:o,className:h.className,style:h.style,children:[f&&/* @__PURE__ */x(F,{kind:f,checked:!!l}),t]})}),I=/* @__PURE__ */x("svg",{"aria-hidden":!0,className:"h-3.5 w-3.5 shrink-0 ml-auto text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:/* @__PURE__ */x("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})});function z(e){let t=o.menu;for(let n=e;n&&n!==document.body;n=n.parentElement){const e=parseInt(getComputedStyle(n).zIndex,10);Number.isNaN(e)||(t=e)}return t}function q(e){return e?[...e.querySelectorAll("button:not([disabled])")].filter(t=>t.closest("[data-popup-submenu-panel]")===e):[]}function U({label:t,icon:n,children:o,disabled:i,className:a="",minWidth:u=180,maxHeight:p}){const b=c(W),v=d(),k=s(null),N=s(null),L=s(),T=s(!1),M=`${v}-menu`;m(()=>()=>clearTimeout(L.current),[]);const E=b?.depth??0,B=b?.path[E],A=!!B&&B.key===v&&!i,H=f(e=>{if(!b||i||!k.current)return;clearTimeout(L.current),T.current=e;const t=k.current.getBoundingClientRect(),n=k.current.closest("[data-popup-submenu-panel]")??k.current.closest("[data-popup-menu-tree]"),r=n?.getBoundingClientRect()??t,o=E>0&&(b.path[E-1]?.flipped??!1),l=P(r.left,r.right,u,window.innerWidth,4,o);b.open(E,{key:v,y:t.top,...l})},[b,i,E,v,u]),D=e=>{b?.closeBelow(E),k.current?.focus()};m(()=>{if(A)return r(e=>"Escape"===e.key&&(!(b&&b.path.length>E+1)&&(D(),!0)),()=>N.current)}),l(()=>{if(!A||!B)return;const e=()=>{const e=N.current;if(!e||!k.current)return;const t=k.current.closest("[data-popup-submenu-panel]")??k.current.closest("[data-popup-menu-tree]"),n=t?.getBoundingClientRect()??k.current.getBoundingClientRect(),r=E>0&&(b?.path[E-1]?.flipped??!1),o=e.offsetWidth||u,i=P(n.left,n.right,o,window.innerWidth,4,r,8),l=e.offsetHeight,a=$(k.current.getBoundingClientRect().top+l/2,l,8,window.innerHeight-8);e.style.left=`${i.left}px`,e.style.top=`${a}px`,e.dataset.flipped=String(i.flipped)};e();let t=0;const n=requestAnimationFrame(()=>{t=requestAnimationFrame(e)});return()=>{cancelAnimationFrame(n),cancelAnimationFrame(t)}}),m(()=>{A&&T.current&&(T.current=!1,q(N.current)[0]?.focus())},[A]);const F=h(()=>b&&{...b,depth:E+1},[b,E]);if(!b)throw new Error("PopupSubmenu must be rendered inside a PopupMenu");const S=j(!1,i,a,A),U=R();/* @__PURE__ */
4
4
  return y(w,{children:[
5
- /* @__PURE__ */y("button",{ref:k,type:"button",role:"menuitem","aria-haspopup":"menu","aria-expanded":A,"aria-controls":A?M:void 0,disabled:l,"data-popup-submenu-row":!0,className:S.className,style:S.style,onClick:e=>{const t=0===e.detail;A?t&&q(N.current)[0]?.focus():H(t)},onKeyDown:e=>{"ArrowRight"===e.key&&(e.preventDefault(),e.stopPropagation(),H(!0))},onMouseEnter:()=>{l||(b.cancelClose(),A?b.closeBelow(E+1):(clearTimeout(L.current),L.current=setTimeout(()=>H(!1),120)))},onMouseLeave:()=>{clearTimeout(L.current),b.scheduleClose(E)},children:[n,
5
+ /* @__PURE__ */y("button",{ref:k,type:"button",role:"menuitem","aria-haspopup":"menu","aria-expanded":A,"aria-controls":A?M:void 0,disabled:i,"data-popup-submenu-row":!0,className:S.className,style:S.style,onClick:e=>{const t=0===e.detail;A?t&&q(N.current)[0]?.focus():H(t)},onKeyDown:e=>{"ArrowRight"===e.key&&(e.preventDefault(),e.stopPropagation(),H(!0))},onMouseEnter:()=>{i||(b.cancelClose(),A?b.closeBelow(E+1):(clearTimeout(L.current),L.current=setTimeout(()=>H(!1),120)))},onMouseLeave:()=>{clearTimeout(L.current),b.scheduleClose(E)},children:[n,
6
6
  /* @__PURE__ */x("span",{className:"min-w-0 flex-1 truncate",children:t}),I]}),A&&g(
7
7
  /* @__PURE__ */x("div",{ref:N,id:M,role:"menu","data-popup-menu-tree":b.id,"data-popup-submenu-panel":!0,className:"fixed rounded-2xl overflow-x-hidden overflow-y-auto overscroll-contain "+("tight"===U?"py-1":"large"===U?"py-2":"py-1.5"),style:{left:B.left,top:B.y,minWidth:u,maxHeight:void 0===p?"calc(100vh - 16px)":`min(${"number"==typeof p?`${p}px`:p}, calc(100vh - 16px))`,zIndex:z(b.root.current)+E+1,animation:(B.flipped?"popup-submenu-in-left":"popup-submenu-in")+" 0.1s ease-out",...e()},onKeyDown:e=>{if(e.target.closest("[data-popup-submenu-panel]")!==e.currentTarget)return;const t=q(N.current),n=t.indexOf(document.activeElement),r=n=>{e.preventDefault(),e.stopPropagation(),t[(n+t.length)%t.length]?.focus()};"ArrowDown"===e.key?r(n+1):"ArrowUp"===e.key?r(n<0?t.length-1:n-1):"Home"===e.key?r(0):"End"===e.key?r(t.length-1):"ArrowLeft"===e.key&&(e.preventDefault(),e.stopPropagation(),D())},onMouseEnter:()=>{b.cancelClose(),clearTimeout(L.current)},onMouseLeave:()=>b.scheduleClose(E+1),onContextMenu:e=>{C(e.target)||e.preventDefault()},children:/* @__PURE__ */x(W.Provider,{value:F,children:o})}),document.body)]})}function J(){const e=R();/* @__PURE__ */
8
8
  return x("div",{className:`border-t ${t} ${"tight"===e?"my-0.5":"large"===e?"my-1.5":"my-1"} mx-3`})}function K({children:e}){const t=R(),n="tight"===t?"0.125rem":"large"===t?"0.375rem":"0.25rem";/* @__PURE__ */
@@ -1,5 +1,5 @@
1
- import{escapeHtml as e}from"./chunk-BR22X7E5.js";import{useBrowserLayoutEffect as t}from"./chunk-D65T4H6J.js";import{useShellStrings as n}from"./chunk-NCQLGQYR.js";import{useRef as r,useState as o,useEffect as l,useCallback as c,useMemo as a}from"react";import{createPortal as s}from"react-dom";import{jsxs as i,jsx as u,Fragment as d}from"react/jsx-runtime";function h(e,t){const n=e[e.length-1];return n&&!n.some(e=>e.trim())?e:[...e,Array(t).fill("")]}function w({text:t,...n}){const r=a(()=>({__html:e(t)}),[t]);/* @__PURE__ */
2
- return u("div",{...n,dangerouslySetInnerHTML:r})}function g({columns:e,data:g,onChange:m,onColumnsChange:f,fixedRows:p=!1,minRows:y=15,maxHeight:b="260px",cellStyles:v,onFocusChange:x,onSelectionChange:M}){const D=r(null),k=n().grid,[C,E]=o(null);l(()=>{x?.(C)},[C,x]);const[L,S]=o({}),$=r(null),[N,A]=o({}),z=r(null),[O,R]=o(null),[T,K]=o(null),[P,F]=o(null),[I,X]=o(null),[Y,H]=o(null),j=r(null);t(()=>{const e=j.current;if(!e||e.row!==Y?.row||e.col!==Y?.col)return;j.current=null;const t=D.current?.querySelector(`[data-row="${e.row}"][data-col="${e.col}"]`);if(!t)return;t.focus();const n=document.createRange();n.selectNodeContents(t),n.collapse(!1);const r=window.getSelection();r?.removeAllRanges(),r?.addRange(n)},[Y]);const[q,B]=o(null),[W,Q]=o(null);l(()=>{M?.(q&&W?{anchor:q,end:W}:null)},[q,W,M]);const _=r(!1),[G,J]=o(null),U=r(!1),V=r({a:null,e:null});V.current={a:q,e:W};const Z=q&&W&&(q.row!==W.row||q.col!==W.col),ee=[...g];if(!p)for(;ee.length<y;)ee.push(Array(e.length).fill(""));const te=c((t,n,r)=>{const o=ee.map(e=>[...e]);for(;o.length<=t;)o.push(Array(e.length).fill(""));for(;o[t].length<e.length;)o[t].push("");o[t][n]=r,m(o)},[ee,e.length,m]),ne=c((e,t,n)=>{if(0!==e.button)return;const r=document.activeElement;if(r?.dataset?.row&&r?.dataset?.col){const e=parseInt(r.dataset.row),t=parseInt(r.dataset.col),n=r.textContent||"";if(n!==(ee[e]?.[t]||"")){const r=ee.map(e=>[...e]);r[e]&&(r[e][t]=n,m(r))}}_.current=!0,e.shiftKey&&q||B({row:t,col:n}),Q({row:t,col:n})},[ee,m,q]),re=c((e,t)=>{_.current&&Q({row:e,col:t})},[]);l(()=>{const e=()=>{_.current=!1};return window.addEventListener("mouseup",e),()=>window.removeEventListener("mouseup",e)},[]),l(()=>{const e=e=>{if(!e.ctrlKey&&!e.metaKey||"c"!==e.key)return;if(!q||!W)return;const t=window.getSelection();if(t&&t.toString().length>0&&!Z)return;const n=Math.min(q.row,W.row),r=Math.max(q.row,W.row),o=Math.min(q.col,W.col),l=Math.max(q.col,W.col),c=[];for(let e=n;e<=r;e++){const t=[];for(let n=o;n<=l;n++)t.push(ee[e]?.[n]||"");c.push(t.join("\t"))}const a=c.join("\n");a&&(e.preventDefault(),navigator.clipboard.writeText(a))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[q,W,ee,Z]),l(()=>{const t=t=>{if(!C)return;const n=document.activeElement;if(n?.isContentEditable)return;if(!D.current?.contains(n))return;const r=t.clipboardData?.getData("text/plain");if(!r)return;t.preventDefault();const o=r.split("\n").filter(e=>e).map(e=>e.split("\t")),l=ee.map(e=>[...e]);for(let t=0;t<o.length;t++){const n=C.row+t;for(;l.length<=n;)l.push(Array(e.length).fill(""));for(;l[n].length<e.length;)l[n].push("");for(let r=0;r<o[t].length;r++){const c=C.col+r;if(c>=e.length)break;e[c].readOnly||(l[n][c]=o[t][r].trim())}}m(p?l:h(l,e.length)),B({row:C.row,col:C.col}),Q({row:Math.min(C.row+o.length-1,l.length-1),col:Math.min(C.col+(o[0]?.length||1)-1,e.length-1)})};return window.addEventListener("paste",t),()=>window.removeEventListener("paste",t)},[C,ee,e,m,p]);const oe=c((t,n,r)=>{const o=t.clipboardData.getData("text/plain");if(!o)return;const l=o.split("\n").map(e=>e.split("\t"));if(l.length<=1&&l[0]?.length<=1)return;t.preventDefault();const c=ee.map(e=>[...e]);for(let t=0;t<l.length;t++){const o=n+t;for(;c.length<=o;)c.push(Array(e.length).fill(""));for(;c[o].length<e.length;)c[o].push("");for(let n=0;n<l[t].length;n++){const a=r+n;if(a>=e.length)break;e[a].readOnly||(c[o][a]=l[t][n].trim())}}m(p?c:h(c,e.length))},[ee,e,m,p]),le=c((t,n,r)=>{let o=n,l=r;if("Tab"===t.key)t.preventDefault(),l=t.shiftKey?r-1:r+1,l>=e.length&&(l=0,o=n+1),l<0&&(l=e.length-1,o=n-1);else if("Enter"===t.key)t.preventDefault(),o=t.shiftKey?n-1:n+1;else if("ArrowDown"===t.key)t.preventDefault(),o=n+1;else if("ArrowUp"===t.key)t.preventDefault(),o=n-1;else if("ArrowLeft"===t.key)t.preventDefault(),l=r-1;else{if("ArrowRight"!==t.key){if("Delete"===t.key||"Backspace"===t.key){const o=t.target;if(o.isContentEditable)return void(o.textContent&&window.getSelection()?.toString()===o.textContent&&(t.preventDefault(),te(n,r,"")));if(t.preventDefault(),q&&W){const t=Math.min(q.row,W.row),n=Math.max(q.row,W.row),r=Math.min(q.col,W.col),o=Math.max(q.col,W.col),l=ee.map(e=>[...e]);for(let c=t;c<=n;c++)for(let t=r;t<=o;t++)l[c]&&!e[t]?.readOnly&&(l[c][t]="");m(l)}else te(n,r,"");return}return}t.preventDefault(),l=r+1}for(;l>=0&&l<e.length&&e[l].readOnly;)l+="Tab"===t.key&&t.shiftKey?-1:1;if(o>=0&&o<ee.length&&l>=0&&l<e.length){const e=D.current?.querySelector(`[data-row="${o}"][data-col="${l}"]`);e&&(e.focus({preventScroll:!0}),e.scrollIntoView({block:"nearest",inline:"nearest"}),E({row:o,col:l}),H(null),B({row:o,col:l}),Q({row:o,col:l}))}},[e,ee,ee.length,te,q,W,m]),ce=c(t=>{if(!p&&t>=ee.length-2){const t=ee.map(e=>[...e]);for(let n=0;n<5;n++)t.push(Array(e.length).fill(""));m(t)}},[p,ee,e.length,m]),[ae,se]=o(null);l(()=>{if(!ae)return;const e=()=>se(null);return window.addEventListener("pointerdown",e),()=>window.removeEventListener("pointerdown",e)},[ae]);const ie=c(t=>{const n=ee.map(e=>[...e]);n.splice(t,0,Array(e.length).fill("")),m(n)},[ee,e.length,m]),ue=c(e=>{if(ee.length<=1)return;const t=ee.filter((t,n)=>n!==e);m(t)},[ee,m]),de=c(e=>{const t=ee.map(t=>{const n=[...t];return n.splice(e,0,""),n});m(t)},[ee,m]),he=c(t=>{if(e.length<=1)return;const n=ee.map(e=>{const n=[...e];return n.splice(t,1),n});m(n)},[ee,e.length,m]),we=c((e,t)=>{e.preventDefault(),p||se({x:e.clientX,y:e.clientY,items:[{label:k.insertRowAbove,onClick:()=>{ie(t),se(null)}},{label:k.insertRowBelow,onClick:()=>{ie(t+1),se(null)}},{label:k.deleteRow(t+1),onClick:()=>{ue(t),se(null)}}]})},[p,ie,ue,k]),ge=c((t,n)=>{t.preventDefault(),p||se({x:t.clientX,y:t.clientY,items:[{label:k.insertColumnLeft,onClick:()=>{de(n),se(null)}},{label:k.insertColumnRight,onClick:()=>{de(n+1),se(null)}},{label:k.deleteColumn(String(e[n]?.title||n+1)),onClick:()=>{he(n),se(null)}}]})},[p,e,de,he,k]),me=t=>L[t]??e[t]?.width??150;l(()=>{const t=e=>{if(!$.current)return;const t=e.clientX-$.current.startX,n=Math.max(40,$.current.startW+t);S(e=>({...e,[$.current.col]:n}))},n=()=>{if($.current&&f){const t=e.map((e,t)=>({...e,width:L[t]??e.width}));t[$.current.col]={...t[$.current.col],width:L[$.current.col]??e[$.current.col].width},f(t)}$.current=null,document.body.style.cursor=""};return window.addEventListener("mousemove",t),window.addEventListener("mouseup",n),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",n)}},[e,L,f]);const fe=e=>N[e]??28;l(()=>{const e=e=>{if(!z.current)return;const t=e.clientY-z.current.startY,n=Math.max(20,z.current.startH+t);A(e=>({...e,[z.current.row]:n}))},t=()=>{z.current=null,document.body.style.cursor=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[]);const pe=c(t=>{const n=document.createElement("canvas").getContext("2d");if(!n)return;n.font="12px ui-monospace, SFMono-Regular, Menlo, monospace";let r=0;for(const e of ee){const o=String(e[t]??"").replace(/<[^>]*>/g,""),l=n.measureText(o).width;l>r&&(r=l)}const o=n.measureText(e[t]?.title??"").width;o>r&&(r=o);const l=Math.max(40,Math.ceil(r+24));if(S(e=>({...e,[t]:l})),f){const n=e.map((e,n)=>({...e,width:n===t?l:L[n]??e.width}));f(n)}},[ee,e,L,f]),ye=c(e=>{A(t=>{const n={...t};return delete n[e],n})},[]),be=c(t=>{const{a:n,e:r}=V.current;if(!n||!r)return;const o=Math.min(n.row,r.row),l=Math.max(n.row,r.row),c=Math.min(n.col,r.col),a=Math.max(n.col,r.col);let s=o,i=l,u=c,d=a;t.row>l?i=t.row:t.row<o&&(s=t.row),t.col>a?d=t.col:t.col<c&&(u=t.col);const h=l-o+1,w=a-c+1,g=ee.map(e=>[...e]);for(;g.length<=i;)g.push(Array(e.length).fill(""));for(const e of g)for(;e.length<=d;)e.push("");function f(e){const t=e.map(e=>parseFloat(e));if(t.length<2||t.some(e=>Number.isNaN(e)))return null;const n=t[1]-t[0];for(let e=2;e<t.length;e++)if(Math.abs(t[e]-t[e-1]-n)>1e-9)return null;return{step:n}}for(let e=s;e<=i;e++)for(let t=u;t<=d;t++){if(e>=o&&e<=l&&t>=c&&t<=a)continue;let n;if(1===w&&u===c&&d===a){const r=f(Array.from({length:h},(e,n)=>g[o+n]?.[t]??""));if(r){const c=parseFloat(g[l]?.[t]??"0"),a=parseFloat(g[o]?.[t]??"0"),s=e>l?e-l:-(o-e);n=String((e>l?c:a)+r.step*s)}else{const r=((e-o)%h+h)%h;n=g[o+r]?.[t]??""}}else if(1===h&&s===o&&i===l){const r=f(Array.from({length:w},(t,n)=>g[e]?.[c+n]??""));if(r){const o=parseFloat(g[e]?.[a]??"0"),l=parseFloat(g[e]?.[c]??"0"),s=t>a?t-a:-(c-t);n=String((t>a?o:l)+r.step*s)}else{const r=((t-c)%w+w)%w;n=g[e]?.[c+r]??""}}else{const r=((e-o)%h+h)%h,l=((t-c)%w+w)%w;n=g[o+r]?.[c+l]??""}g[e][t]=n}m(g),B({row:s,col:u}),Q({row:i,col:d})},[ee,e.length,m]);l(()=>{const e=e=>{if(!U.current)return;const t=document.elementFromPoint(e.clientX,e.clientY),n=t?.closest?.("[data-row][data-col]");if(!n)return;const r=parseInt(n.dataset.row),o=parseInt(n.dataset.col);J({row:r,col:o})},t=()=>{U.current&&G&&be(G),U.current=!1,J(null),document.body.style.cursor=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[G,be]);const ve=e=>{e.preventDefault(),e.stopPropagation(),U.current=!0,document.body.style.cursor="crosshair"},xe=r(null),[Me,De]=o(0),[ke,Ce]=o(800);l(()=>{const e=xe.current;if(!e)return;const t=()=>Ce(e.clientHeight||800);t();const n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]);const Ee=ee.length>100,Le=Ee?Math.max(0,Math.floor(Me/28)-20):0,Se=Ee?Math.min(ee.length,Math.ceil((Me+ke)/28)+20):ee.length,$e=a(()=>ee.slice(Le,Se),[ee,Le,Se]),Ne=28*Le,Ae=28*(ee.length-Se),ze="px-2 py-1.5 text-left text-xs font-medium text-gray-500 uppercase bg-gray-100 border-b border-r border-gray-200 select-none";/* @__PURE__ */
1
+ import{escapeHtml as e}from"./chunk-BR22X7E5.js";import{useShellStrings as t}from"./chunk-NCQLGQYR.js";import{useBrowserLayoutEffect as n}from"./chunk-D65T4H6J.js";import{useRef as r,useState as o,useEffect as l,useCallback as c,useMemo as a}from"react";import{createPortal as s}from"react-dom";import{jsxs as i,jsx as u,Fragment as d}from"react/jsx-runtime";function h(e,t){const n=e[e.length-1];return n&&!n.some(e=>e.trim())?e:[...e,Array(t).fill("")]}function w({text:t,...n}){const r=a(()=>({__html:e(t)}),[t]);/* @__PURE__ */
2
+ return u("div",{...n,dangerouslySetInnerHTML:r})}function g({columns:e,data:g,onChange:m,onColumnsChange:f,fixedRows:p=!1,minRows:y=15,maxHeight:b="260px",cellStyles:v,onFocusChange:x,onSelectionChange:M}){const D=r(null),k=t().grid,[C,E]=o(null);l(()=>{x?.(C)},[C,x]);const[L,S]=o({}),$=r(null),[N,A]=o({}),z=r(null),[O,R]=o(null),[T,K]=o(null),[P,F]=o(null),[I,X]=o(null),[Y,H]=o(null),j=r(null);n(()=>{const e=j.current;if(!e||e.row!==Y?.row||e.col!==Y?.col)return;j.current=null;const t=D.current?.querySelector(`[data-row="${e.row}"][data-col="${e.col}"]`);if(!t)return;t.focus();const n=document.createRange();n.selectNodeContents(t),n.collapse(!1);const r=window.getSelection();r?.removeAllRanges(),r?.addRange(n)},[Y]);const[q,B]=o(null),[W,Q]=o(null);l(()=>{M?.(q&&W?{anchor:q,end:W}:null)},[q,W,M]);const _=r(!1),[G,J]=o(null),U=r(!1),V=r({a:null,e:null});V.current={a:q,e:W};const Z=q&&W&&(q.row!==W.row||q.col!==W.col),ee=[...g];if(!p)for(;ee.length<y;)ee.push(Array(e.length).fill(""));const te=c((t,n,r)=>{const o=ee.map(e=>[...e]);for(;o.length<=t;)o.push(Array(e.length).fill(""));for(;o[t].length<e.length;)o[t].push("");o[t][n]=r,m(o)},[ee,e.length,m]),ne=c((e,t,n)=>{if(0!==e.button)return;const r=document.activeElement;if(r?.dataset?.row&&r?.dataset?.col){const e=parseInt(r.dataset.row),t=parseInt(r.dataset.col),n=r.textContent||"";if(n!==(ee[e]?.[t]||"")){const r=ee.map(e=>[...e]);r[e]&&(r[e][t]=n,m(r))}}_.current=!0,e.shiftKey&&q||B({row:t,col:n}),Q({row:t,col:n})},[ee,m,q]),re=c((e,t)=>{_.current&&Q({row:e,col:t})},[]);l(()=>{const e=()=>{_.current=!1};return window.addEventListener("mouseup",e),()=>window.removeEventListener("mouseup",e)},[]),l(()=>{const e=e=>{if(!e.ctrlKey&&!e.metaKey||"c"!==e.key)return;if(!q||!W)return;const t=window.getSelection();if(t&&t.toString().length>0&&!Z)return;const n=Math.min(q.row,W.row),r=Math.max(q.row,W.row),o=Math.min(q.col,W.col),l=Math.max(q.col,W.col),c=[];for(let e=n;e<=r;e++){const t=[];for(let n=o;n<=l;n++)t.push(ee[e]?.[n]||"");c.push(t.join("\t"))}const a=c.join("\n");a&&(e.preventDefault(),navigator.clipboard.writeText(a))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[q,W,ee,Z]),l(()=>{const t=t=>{if(!C)return;const n=document.activeElement;if(n?.isContentEditable)return;if(!D.current?.contains(n))return;const r=t.clipboardData?.getData("text/plain");if(!r)return;t.preventDefault();const o=r.split("\n").filter(e=>e).map(e=>e.split("\t")),l=ee.map(e=>[...e]);for(let t=0;t<o.length;t++){const n=C.row+t;for(;l.length<=n;)l.push(Array(e.length).fill(""));for(;l[n].length<e.length;)l[n].push("");for(let r=0;r<o[t].length;r++){const c=C.col+r;if(c>=e.length)break;e[c].readOnly||(l[n][c]=o[t][r].trim())}}m(p?l:h(l,e.length)),B({row:C.row,col:C.col}),Q({row:Math.min(C.row+o.length-1,l.length-1),col:Math.min(C.col+(o[0]?.length||1)-1,e.length-1)})};return window.addEventListener("paste",t),()=>window.removeEventListener("paste",t)},[C,ee,e,m,p]);const oe=c((t,n,r)=>{const o=t.clipboardData.getData("text/plain");if(!o)return;const l=o.split("\n").map(e=>e.split("\t"));if(l.length<=1&&l[0]?.length<=1)return;t.preventDefault();const c=ee.map(e=>[...e]);for(let t=0;t<l.length;t++){const o=n+t;for(;c.length<=o;)c.push(Array(e.length).fill(""));for(;c[o].length<e.length;)c[o].push("");for(let n=0;n<l[t].length;n++){const a=r+n;if(a>=e.length)break;e[a].readOnly||(c[o][a]=l[t][n].trim())}}m(p?c:h(c,e.length))},[ee,e,m,p]),le=c((t,n,r)=>{let o=n,l=r;if("Tab"===t.key)t.preventDefault(),l=t.shiftKey?r-1:r+1,l>=e.length&&(l=0,o=n+1),l<0&&(l=e.length-1,o=n-1);else if("Enter"===t.key)t.preventDefault(),o=t.shiftKey?n-1:n+1;else if("ArrowDown"===t.key)t.preventDefault(),o=n+1;else if("ArrowUp"===t.key)t.preventDefault(),o=n-1;else if("ArrowLeft"===t.key)t.preventDefault(),l=r-1;else{if("ArrowRight"!==t.key){if("Delete"===t.key||"Backspace"===t.key){const o=t.target;if(o.isContentEditable)return void(o.textContent&&window.getSelection()?.toString()===o.textContent&&(t.preventDefault(),te(n,r,"")));if(t.preventDefault(),q&&W){const t=Math.min(q.row,W.row),n=Math.max(q.row,W.row),r=Math.min(q.col,W.col),o=Math.max(q.col,W.col),l=ee.map(e=>[...e]);for(let c=t;c<=n;c++)for(let t=r;t<=o;t++)l[c]&&!e[t]?.readOnly&&(l[c][t]="");m(l)}else te(n,r,"");return}return}t.preventDefault(),l=r+1}for(;l>=0&&l<e.length&&e[l].readOnly;)l+="Tab"===t.key&&t.shiftKey?-1:1;if(o>=0&&o<ee.length&&l>=0&&l<e.length){const e=D.current?.querySelector(`[data-row="${o}"][data-col="${l}"]`);e&&(e.focus({preventScroll:!0}),e.scrollIntoView({block:"nearest",inline:"nearest"}),E({row:o,col:l}),H(null),B({row:o,col:l}),Q({row:o,col:l}))}},[e,ee,ee.length,te,q,W,m]),ce=c(t=>{if(!p&&t>=ee.length-2){const t=ee.map(e=>[...e]);for(let n=0;n<5;n++)t.push(Array(e.length).fill(""));m(t)}},[p,ee,e.length,m]),[ae,se]=o(null);l(()=>{if(!ae)return;const e=()=>se(null);return window.addEventListener("pointerdown",e),()=>window.removeEventListener("pointerdown",e)},[ae]);const ie=c(t=>{const n=ee.map(e=>[...e]);n.splice(t,0,Array(e.length).fill("")),m(n)},[ee,e.length,m]),ue=c(e=>{if(ee.length<=1)return;const t=ee.filter((t,n)=>n!==e);m(t)},[ee,m]),de=c(e=>{const t=ee.map(t=>{const n=[...t];return n.splice(e,0,""),n});m(t)},[ee,m]),he=c(t=>{if(e.length<=1)return;const n=ee.map(e=>{const n=[...e];return n.splice(t,1),n});m(n)},[ee,e.length,m]),we=c((e,t)=>{e.preventDefault(),p||se({x:e.clientX,y:e.clientY,items:[{label:k.insertRowAbove,onClick:()=>{ie(t),se(null)}},{label:k.insertRowBelow,onClick:()=>{ie(t+1),se(null)}},{label:k.deleteRow(t+1),onClick:()=>{ue(t),se(null)}}]})},[p,ie,ue,k]),ge=c((t,n)=>{t.preventDefault(),p||se({x:t.clientX,y:t.clientY,items:[{label:k.insertColumnLeft,onClick:()=>{de(n),se(null)}},{label:k.insertColumnRight,onClick:()=>{de(n+1),se(null)}},{label:k.deleteColumn(String(e[n]?.title||n+1)),onClick:()=>{he(n),se(null)}}]})},[p,e,de,he,k]),me=t=>L[t]??e[t]?.width??150;l(()=>{const t=e=>{if(!$.current)return;const t=e.clientX-$.current.startX,n=Math.max(40,$.current.startW+t);S(e=>({...e,[$.current.col]:n}))},n=()=>{if($.current&&f){const t=e.map((e,t)=>({...e,width:L[t]??e.width}));t[$.current.col]={...t[$.current.col],width:L[$.current.col]??e[$.current.col].width},f(t)}$.current=null,document.body.style.cursor=""};return window.addEventListener("mousemove",t),window.addEventListener("mouseup",n),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",n)}},[e,L,f]);const fe=e=>N[e]??28;l(()=>{const e=e=>{if(!z.current)return;const t=e.clientY-z.current.startY,n=Math.max(20,z.current.startH+t);A(e=>({...e,[z.current.row]:n}))},t=()=>{z.current=null,document.body.style.cursor=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[]);const pe=c(t=>{const n=document.createElement("canvas").getContext("2d");if(!n)return;n.font="12px ui-monospace, SFMono-Regular, Menlo, monospace";let r=0;for(const e of ee){const o=String(e[t]??"").replace(/<[^>]*>/g,""),l=n.measureText(o).width;l>r&&(r=l)}const o=n.measureText(e[t]?.title??"").width;o>r&&(r=o);const l=Math.max(40,Math.ceil(r+24));if(S(e=>({...e,[t]:l})),f){const n=e.map((e,n)=>({...e,width:n===t?l:L[n]??e.width}));f(n)}},[ee,e,L,f]),ye=c(e=>{A(t=>{const n={...t};return delete n[e],n})},[]),be=c(t=>{const{a:n,e:r}=V.current;if(!n||!r)return;const o=Math.min(n.row,r.row),l=Math.max(n.row,r.row),c=Math.min(n.col,r.col),a=Math.max(n.col,r.col);let s=o,i=l,u=c,d=a;t.row>l?i=t.row:t.row<o&&(s=t.row),t.col>a?d=t.col:t.col<c&&(u=t.col);const h=l-o+1,w=a-c+1,g=ee.map(e=>[...e]);for(;g.length<=i;)g.push(Array(e.length).fill(""));for(const e of g)for(;e.length<=d;)e.push("");function f(e){const t=e.map(e=>parseFloat(e));if(t.length<2||t.some(e=>Number.isNaN(e)))return null;const n=t[1]-t[0];for(let e=2;e<t.length;e++)if(Math.abs(t[e]-t[e-1]-n)>1e-9)return null;return{step:n}}for(let e=s;e<=i;e++)for(let t=u;t<=d;t++){if(e>=o&&e<=l&&t>=c&&t<=a)continue;let n;if(1===w&&u===c&&d===a){const r=f(Array.from({length:h},(e,n)=>g[o+n]?.[t]??""));if(r){const c=parseFloat(g[l]?.[t]??"0"),a=parseFloat(g[o]?.[t]??"0"),s=e>l?e-l:-(o-e);n=String((e>l?c:a)+r.step*s)}else{const r=((e-o)%h+h)%h;n=g[o+r]?.[t]??""}}else if(1===h&&s===o&&i===l){const r=f(Array.from({length:w},(t,n)=>g[e]?.[c+n]??""));if(r){const o=parseFloat(g[e]?.[a]??"0"),l=parseFloat(g[e]?.[c]??"0"),s=t>a?t-a:-(c-t);n=String((t>a?o:l)+r.step*s)}else{const r=((t-c)%w+w)%w;n=g[e]?.[c+r]??""}}else{const r=((e-o)%h+h)%h,l=((t-c)%w+w)%w;n=g[o+r]?.[c+l]??""}g[e][t]=n}m(g),B({row:s,col:u}),Q({row:i,col:d})},[ee,e.length,m]);l(()=>{const e=e=>{if(!U.current)return;const t=document.elementFromPoint(e.clientX,e.clientY),n=t?.closest?.("[data-row][data-col]");if(!n)return;const r=parseInt(n.dataset.row),o=parseInt(n.dataset.col);J({row:r,col:o})},t=()=>{U.current&&G&&be(G),U.current=!1,J(null),document.body.style.cursor=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[G,be]);const ve=e=>{e.preventDefault(),e.stopPropagation(),U.current=!0,document.body.style.cursor="crosshair"},xe=r(null),[Me,De]=o(0),[ke,Ce]=o(800);l(()=>{const e=xe.current;if(!e)return;const t=()=>Ce(e.clientHeight||800);t();const n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]);const Ee=ee.length>100,Le=Ee?Math.max(0,Math.floor(Me/28)-20):0,Se=Ee?Math.min(ee.length,Math.ceil((Me+ke)/28)+20):ee.length,$e=a(()=>ee.slice(Le,Se),[ee,Le,Se]),Ne=28*Le,Ae=28*(ee.length-Se),ze="px-2 py-1.5 text-left text-xs font-medium text-gray-500 uppercase bg-gray-100 border-b border-r border-gray-200 select-none";/* @__PURE__ */
3
3
  return i("div",{ref:xe,className:"border border-gray-300 rounded overflow-scroll grid-scroll",style:{maxHeight:b,height:b},onScroll:e=>De(e.target.scrollTop),children:[
4
4
  /* @__PURE__ */i("table",{ref:D,className:"border-collapse select-none",style:{tableLayout:"fixed",minWidth:36+e.reduce((t,n)=>t+me(e.indexOf(n)),0)},children:[
5
5
  /* @__PURE__ */i("colgroup",{children:[
@@ -1,21 +1,21 @@
1
- import{useCopyText as e,CopyGlyph as t}from"./chunk-6KO2U66R.js";import{PopupMenu as n,PopupMenuItem as r,PopupMenuDivider as l}from"./chunk-UVZIPXIA.js";import{useShellStrings as i}from"./chunk-NCQLGQYR.js";import{useState as a,useEffect as o,Fragment as s}from"react";import{jsxs as c,jsx as d,Fragment as m}from"react/jsx-runtime";var u="outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500";function p(){/* @__PURE__ */
1
+ import{useCopyText as e,CopyGlyph as t}from"./chunk-6KO2U66R.js";import{PopupMenu as n,PopupMenuItem as r,PopupMenuDivider as l}from"./chunk-N3ZXQE4M.js";import{useShellStrings as i}from"./chunk-NCQLGQYR.js";import{useState as a,useEffect as o,Fragment as s}from"react";import{jsxs as c,jsx as d,Fragment as m}from"react/jsx-runtime";var u="outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500";function p(){/* @__PURE__ */
2
2
  return d("svg",{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",className:"size-3.5",children:/* @__PURE__ */d("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})})}function y({text:n,label:r,copiedLabel:l}){const{copied:i,copy:a}=e(n);/* @__PURE__ */
3
- return d("button",{type:"button",tabIndex:-1,"aria-label":i?l:r,title:i?l:r,onClick:a,className:"flex size-5 shrink-0 items-center justify-center rounded text-gray-400 hover:bg-gray-200 hover:text-gray-700 @max-[10rem]:hidden",children:/* @__PURE__ */d(t,{copied:i,className:"size-3.5"})})}function h({tabs:e,activeKey:t,idFor:h,panelMounted:b,onActivate:f,onClose:g,onCloseMany:x,label:k,className:v,activeClassName:w,end:N,onIconMenu:C,menuItems:$}){const I=i().pageTabs,[j,z]=a(null),L=e.length;o(()=>{if(!t)return;const e=document.getElementById(h(t,"tab"));e?.scrollIntoView?.({block:"nearest",inline:"nearest"})},[h,t,L]);const M=e.some(e=>e.key===t)?t:e[0]?.key,D=t=>{const n=e[(t+e.length)%e.length];n&&document.getElementById(h(n.key,"tab"))?.focus()},A=j?e.find(e=>e.key===j.key):void 0,_=A&&$?$(A.key):[],B=A?e.indexOf(A):-1,R=e=>e.some(e=>!e.pinned),E=e=>()=>{z(null),e()};/* @__PURE__ */
3
+ return d("button",{type:"button",tabIndex:-1,"aria-label":i?l:r,title:i?l:r,onClick:a,className:"flex size-5 shrink-0 items-center justify-center rounded text-gray-400 hover:bg-gray-200 hover:text-gray-700 @max-[10rem]:hidden",children:/* @__PURE__ */d(t,{copied:i,className:"size-3.5"})})}function h({tabs:e,activeKey:t,idFor:h,panelMounted:b,onActivate:f,onClose:g,onCloseMany:x,label:k,className:v,activeClassName:w,end:N,onIconMenu:C,menuItems:$}){const j=i().pageTabs,[z,I]=a(null),M=e.length;o(()=>{if(!t)return;const e=document.getElementById(h(t,"tab"));e?.scrollIntoView?.({block:"nearest",inline:"nearest"})},[h,t,M]);const L=e.some(e=>e.key===t)?t:e[0]?.key,D=t=>{const n=e[(t+e.length)%e.length];n&&document.getElementById(h(n.key,"tab"))?.focus()},_=z?e.find(e=>e.key===z.key):void 0,A=_&&$?$(_.key):[],B=_?e.indexOf(_):-1,E=e=>e.some(e=>!e.pinned),R=e=>()=>{I(null),e()};/* @__PURE__ */
4
4
  return c("div",{className:v??"relative flex h-10 shrink-0 items-end gap-3 bg-gray-100 px-3",children:[
5
5
  /* @__PURE__ */d("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 h-px bg-gray-200"}),
6
- /* @__PURE__ */d("div",{role:"tablist","aria-label":k,onKeyDown:t=>{const n=e.findIndex(e=>document.getElementById(h(e.key,"tab"))===t.target);if(!(n<0)){if("ArrowRight"===t.key)D(n+1);else if("ArrowLeft"===t.key)D(n-1);else if("Home"===t.key)D(0);else if("End"===t.key)D(e.length-1);else{if("Delete"!==t.key||e[n].pinned)return;g(e[n].key)}t.preventDefault()}},className:"flex min-w-0 flex-1 items-end overflow-x-auto overflow-y-hidden [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:e.map((n,r)=>{const l=n.key===t,i=!!n.dirty,a=n.icon,o=l?w??"z-[1] border-gray-200 bg-gray-50 text-gray-900":"border-transparent text-gray-600 hover:bg-gray-200/70 hover:text-gray-900",m=r>0&&!l&&e[r-1].key!==t,x={type:"button",role:"tab",id:h(n.key,"tab"),"aria-selected":l,"aria-controls":b?.(n.key)?h(n.key,"panel"):void 0,tabIndex:n.key===M?0:-1,title:n.title,onClick:()=>f(n.key)},k={onContextMenu:e=>((e,t)=>{e.preventDefault(),z({x:e.clientX,y:e.clientY,key:t.key})})(e,n),onAuxClick:e=>((e,t)=>{1!==e.button||t.pinned||(e.preventDefault(),g(t.key))})(e,n),onMouseDown:e=>{1===e.button&&e.preventDefault()}},v=a&&
6
+ /* @__PURE__ */d("div",{role:"tablist","aria-label":k,onKeyDown:t=>{const n=e.findIndex(e=>document.getElementById(h(e.key,"tab"))===t.target);if(!(n<0)){if("ArrowRight"===t.key)D(n+1);else if("ArrowLeft"===t.key)D(n-1);else if("Home"===t.key)D(0);else if("End"===t.key)D(e.length-1);else{if("Delete"!==t.key||e[n].pinned)return;g(e[n].key)}t.preventDefault()}},className:"flex min-w-0 flex-1 items-end overflow-x-auto overflow-y-hidden [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:e.map((n,r)=>{const l=n.key===t,i=!!n.dirty,a=n.icon,o=l?w??"z-[1] border-gray-200 bg-gray-50 text-gray-900":"border-transparent text-gray-600 hover:bg-gray-200/70 hover:text-gray-900",m=r>0&&!l&&e[r-1].key!==t,x={type:"button",role:"tab",id:h(n.key,"tab"),"aria-selected":l,"aria-controls":b?.(n.key)?h(n.key,"panel"):void 0,tabIndex:n.key===L?0:-1,title:n.title,onClick:()=>f(n.key)},k={onContextMenu:e=>((e,t)=>{e.preventDefault(),I({x:e.clientX,y:e.clientY,key:t.key})})(e,n),onAuxClick:e=>((e,t)=>{1!==e.button||t.pinned||(e.preventDefault(),g(t.key))})(e,n),onMouseDown:e=>{1===e.button&&e.preventDefault()}},v=a&&
7
7
  /* @__PURE__ */c("span",{className:"relative flex size-4 shrink-0 items-center justify-center text-gray-500 [&>svg]:size-4","aria-hidden":"true",children:[a,i&&!l&&!n.pinned&&
8
8
  /* @__PURE__ */d("span",{className:"absolute -right-1 -top-1 hidden size-2 rounded-full bg-gray-500 ring-2 ring-gray-100 @max-[6.5rem]:block @max-[6.5rem]:group-hover:hidden"})]}),N=l&&!!C&&!!a;return n.pinned?/* @__PURE__ */d("div",{role:"presentation",className:`group relative flex h-9 flex-none items-center justify-center rounded-t-md border border-b-0 transition-colors ${a?"w-10":""} ${o}`,...k,children:/* @__PURE__ */c("button",{...x,className:`flex h-full items-center justify-center rounded-t-md ${a?"w-full":"px-3"} ${u}`,children:[v,
9
9
  /* @__PURE__ */d("span",{className:a?"sr-only":"whitespace-nowrap text-[13px]",children:n.title})]})},n.key):/* @__PURE__ */c(s,{children:[m&&/* @__PURE__ */d("span",{"aria-hidden":"true",className:"mb-2.5 h-4 w-px shrink-0 self-end border-l border-gray-300"}),
10
10
  /* @__PURE__ */c("div",{role:"presentation",className:`group @container relative flex h-9 items-center rounded-t-md border border-b-0 text-[13px] transition-colors ${l&&(n.copy||N)?"flex-[0_1_20rem]":"flex-[0_1_15rem]"} ${l?"min-w-[4.25rem]":"min-w-[2.75rem]"} ${o}`,...k,children:[N&&
11
- /* @__PURE__ */d("button",{type:"button",tabIndex:-1,"aria-haspopup":"menu","aria-label":I.tabMenu??"Window menu",title:I.tabMenu??"Window menu",onClick:e=>{const t=e.currentTarget.getBoundingClientRect();C?.(n.key,t.left,t.bottom+4)},className:`ml-2 flex size-6 shrink-0 items-center justify-center rounded hover:bg-gray-200 @max-[5rem]:ml-1.5 ${u}`,children:v}),
11
+ /* @__PURE__ */d("button",{type:"button",tabIndex:-1,"aria-haspopup":"menu","aria-label":j.tabMenu??"Window menu",title:j.tabMenu??"Window menu",onClick:e=>{const t=e.currentTarget.getBoundingClientRect();C?.(n.key,t.left,t.bottom+4)},className:`ml-2 flex size-6 shrink-0 items-center justify-center rounded hover:bg-gray-200 @max-[5rem]:ml-1.5 ${u}`,children:v}),
12
12
  /* @__PURE__ */c("button",{...x,className:`flex h-full min-w-0 flex-1 items-center gap-2 rounded-t-md pr-1 text-left ${N?"pl-1.5":"pl-3"} ${u} ${l?N?"":"@max-[5rem]:pl-2.5":"@max-[6.5rem]:pr-3 @max-[6.5rem]:group-hover:pr-1 @max-[4.5rem]:justify-center @max-[4.5rem]:px-0 @max-[4.5rem]:group-hover:pl-1.5"}`,children:[!N&&v,
13
- /* @__PURE__ */d("span",{className:"min-w-0 flex-1 overflow-hidden whitespace-nowrap [mask-image:linear-gradient(to_right,#000_calc(100%-1rem),transparent)] "+(a?l?"@max-[5rem]:sr-only":"@max-[4.5rem]:sr-only":""),children:n.title})]}),l&&n.copy&&/* @__PURE__ */d(y,{text:n.copy,label:I.copy?.(n.copy)??`Copy ${n.copy}`,copiedLabel:I.copied??"Copied"}),
14
- /* @__PURE__ */c("span",{className:"mr-1.5 flex size-5 shrink-0 items-center justify-center "+(l?"":"@max-[6.5rem]:hidden @max-[6.5rem]:group-hover:flex"),children:[i&&/* @__PURE__ */d("span",{role:"img","aria-label":I.unsaved,className:"size-2 rounded-full bg-gray-500 group-hover:hidden"}),
15
- /* @__PURE__ */d("button",{type:"button",tabIndex:-1,"aria-label":I.closeTab?.(n.title)??`${I.close} ${n.title}`,onClick:()=>g(n.key),className:"size-5 items-center justify-center rounded text-gray-400 hover:bg-gray-200 hover:text-gray-700 "+(i?"hidden group-hover:flex":l?"flex":"flex opacity-0 group-hover:opacity-100 focus-visible:opacity-100"),children:/* @__PURE__ */d(p,{})})]})]})]},n.key)})}),N&&/* @__PURE__ */d("div",{className:"flex shrink-0 items-center gap-2 self-center",children:N}),j&&A&&/* @__PURE__ */c(n,{portal:!0,style:{left:j.x,top:j.y},onClose:()=>z(null),children:[_.length>0&&/* @__PURE__ */c(m,{children:[_.map((e,t)=>/* @__PURE__ */c(r,{onClick:E(e.onSelect),children:[e.icon,e.label]},t)),
13
+ /* @__PURE__ */d("span",{className:"min-w-0 flex-1 overflow-hidden whitespace-nowrap [mask-image:linear-gradient(to_right,#000_calc(100%-1rem),transparent)] "+(a?l?"@max-[5rem]:sr-only":"@max-[4.5rem]:sr-only":""),children:n.title})]}),l&&n.copy&&/* @__PURE__ */d(y,{text:n.copy,label:j.copy?.(n.copy)??`Copy ${n.copy}`,copiedLabel:j.copied??"Copied"}),
14
+ /* @__PURE__ */c("span",{className:"mr-1.5 flex size-5 shrink-0 items-center justify-center "+(l?"":"@max-[6.5rem]:hidden @max-[6.5rem]:group-hover:flex"),children:[i&&/* @__PURE__ */d("span",{role:"img","aria-label":j.unsaved,className:"size-2 rounded-full bg-gray-500 group-hover:hidden"}),
15
+ /* @__PURE__ */d("button",{type:"button",tabIndex:-1,"aria-label":j.closeTab?.(n.title)??`${j.close} ${n.title}`,onClick:()=>g(n.key),className:"size-5 items-center justify-center rounded text-gray-400 hover:bg-gray-200 hover:text-gray-700 "+(i?"hidden group-hover:flex":l?"flex":"flex opacity-0 group-hover:opacity-100 focus-visible:opacity-100"),children:/* @__PURE__ */d(p,{})})]})]})]},n.key)})}),N&&/* @__PURE__ */d("div",{className:"flex shrink-0 items-center gap-2 self-center",children:N}),z&&_&&/* @__PURE__ */c(n,{portal:!0,style:{left:z.x,top:z.y},onClose:()=>I(null),children:[A.length>0&&/* @__PURE__ */c(m,{children:[A.map((e,t)=>/* @__PURE__ */c(r,{onClick:R(e.onSelect),children:[e.icon,e.label]},t)),
16
16
  /* @__PURE__ */d(l,{})]}),
17
- /* @__PURE__ */d(r,{disabled:A.pinned,onClick:E(()=>g(A.key)),children:I.close}),
17
+ /* @__PURE__ */d(r,{disabled:_.pinned,onClick:R(()=>g(_.key)),children:j.close}),
18
18
  /* @__PURE__ */d(l,{}),
19
- /* @__PURE__ */d(r,{disabled:!R(e.filter(e=>e.key!==A.key)),onClick:E(()=>x("others",A.key)),children:I.closeOthers}),
20
- /* @__PURE__ */d(r,{disabled:!R(e.slice(B+1)),onClick:E(()=>x("right",A.key)),children:I.closeRight}),
21
- /* @__PURE__ */d(r,{disabled:!R(e),onClick:E(()=>x("all",null)),children:I.closeAll})]})]})}export{h as TabStrip};
19
+ /* @__PURE__ */d(r,{disabled:!E(e.filter(e=>e.key!==_.key)),onClick:R(()=>x("others",_.key)),children:j.closeOthers}),
20
+ /* @__PURE__ */d(r,{disabled:!E(e.slice(B+1)),onClick:R(()=>x("right",_.key)),children:j.closeRight}),
21
+ /* @__PURE__ */d(r,{disabled:!E(e),onClick:R(()=>x("all",null)),children:j.closeAll})]})]})}export{h as TabStrip};
@@ -1,2 +1,2 @@
1
- import{toast_default as t}from"./chunk-KSSAVLO7.js";import{useShellPrefs as e}from"./chunk-CRI4UFBU.js";import{useSyncExternalStore as n,useCallback as o,useMemo as a}from"react";var r=[{id:"bell",label:"Bell",description:"Soft bell with one harmonic"},{id:"chime",label:"Chime",description:"Two-note ascending chime"},{id:"bowl",label:"Singing Bowl",description:"Long-decay meditation tone"},{id:"wind-chimes",label:"Wind Chimes",description:"Four soft tones in succession"},{id:"off",label:"Off (silent)",description:"No sound — only desktop notification"}],i=[{id:"none",label:"None"},{id:"tick-fast",label:"Ticking Fast"},{id:"tick-slow",label:"Ticking Slow"},{id:"rain",label:"Rain"},{id:"fireplace",label:"Fireplace"},{id:"white",label:"White Noise"},{id:"pink",label:"Pink Noise"},{id:"brown",label:"Brown Noise"}],c=()=>`pomodoro-${/* @__PURE__ */(new Date).toISOString().slice(0,10)}`,l={focus:1500,short:300,long:900},s="bell",u=100,d=1,f="none",m=50,h={autoStartBreaks:!1,autoStartPomodoros:!1,longBreakInterval:4},g={running:!1,remaining:l.focus,mode:"focus",total:l.focus,streak:0,count:"undefined"!=typeof localStorage?(()=>{try{return parseInt(localStorage.getItem(c())||"0",10)||0}catch{return 0}})():0},p=null,k=/* @__PURE__ */new Set,w=t=>{g={...g,...t},k.forEach(t=>t())};function M(){return g}function S(t){return k.add(t),()=>{k.delete(t)}}function b(t){l=t,g.running||g.remaining!==g.total||w({remaining:t[g.mode],total:t[g.mode]})}function y(t){s=t}function v(t,e){u=Math.max(0,Math.min(100,Math.round(t))),d=Math.max(1,Math.min(5,Math.round(e)))}function T(t){h={autoStartBreaks:!!t.autoStartBreaks,autoStartPomodoros:!!t.autoStartPomodoros,longBreakInterval:Math.max(1,Math.min(20,Math.round(t.longBreakInterval||4)))}}function A(t,e){f=t,m=Math.max(0,Math.min(100,Math.round(e))),g.running&&"focus"===g.mode?(F(),R()):"none"!==t&&0!==m||F()}function I(){g.running||(w({running:!0}),p=setInterval(C,1e3),"focus"===g.mode&&R())}function x(){(g.running||null!==p)&&(null!==p&&(clearInterval(p),p=null),w({running:!1}),F())}function B(t){x(),w({mode:t,remaining:l[t],total:l[t]})}function C(){g.remaining<=1?function(){null!==p&&(clearInterval(p),p=null);F(),N(s,{volume:u,repeat:d});const e="focus"===g.mode?"Pomodoro complete — time for a break! 🍅":"Break's over — back to work!";if("undefined"!=typeof Notification&&"granted"===Notification.permission)try{new Notification(e)}catch{}try{t.info(e)}catch{}if("focus"===g.mode){const t=g.streak+1,e=g.count+1;(t=>{try{localStorage.setItem(c(),String(t))}catch{}})(e);const n=t%h.longBreakInterval===0?"long":"short";w({running:!1,streak:t,count:e,mode:n,remaining:l[n],total:l[n]}),h.autoStartBreaks&&setTimeout(()=>I(),50)}else w({running:!1,mode:"focus",remaining:l.focus,total:l.focus}),h.autoStartPomodoros&&setTimeout(()=>I(),50)}():w({remaining:g.remaining-1})}function N(t=s,e={}){if("off"===t)return;const n=Math.max(0,Math.min(100,e.volume??100))/100;if(0===n)return;const o=Math.max(1,Math.min(5,e.repeat??1));for(let e=0;e<o;e++)setTimeout(()=>P(t,n),2500*e)}function P(t,e){try{const n=window.AudioContext||window.webkitAudioContext;if(!n)return;const o=new n,a=(t,n,a,r=.22,i="sine")=>{const c=o.createOscillator(),l=o.createGain();c.connect(l),l.connect(o.destination),c.type=i,c.frequency.value=t;const s=o.currentTime+n;l.gain.setValueAtTime(0,s),l.gain.linearRampToValueAtTime(r*e,s+.03),l.gain.exponentialRampToValueAtTime(1e-4,s+a),c.start(s),c.stop(s+a)};let r=2;"bell"===t?(a(880,0,1.8),a(1320,0,1.4,.1),r=2):"chime"===t?(a(659.25,0,.7),a(880,.2,1.3),r=2):"bowl"===t?(a(440,0,3.4,.22),a(660,0,3,.08),a(880,.05,2.8,.05),r=4):"wind-chimes"===t&&(a(1175,0,1.1,.16),a(880,.15,1.3,.16),a(1318,.3,1.5,.16),a(1047,.5,1.7,.13),r=3),setTimeout(()=>{try{o.close()}catch{}},1e3*r+500)}catch{}}var D=null,O={none:0,white:.3,pink:.3,brown:.3,"tick-fast":.6,"tick-slow":.6,rain:.4,fireplace:.5};function _(t,e){if("none"===e)return null;const n=t.sampleRate,o="white"===e||"pink"===e||"brown"===e?2:4,a=n*o,r=t.createBuffer(1,a,n),i=r.getChannelData(0);if("white"===e)for(let t=0;t<a;t++)i[t]=.5*(2*Math.random()-1);else if("pink"===e){let t=0,e=0,n=0,o=0,r=0,c=0,l=0;for(let s=0;s<a;s++){const a=2*Math.random()-1;t=.99886*t+.0555179*a,e=.99332*e+.0750759*a,n=.969*n+.153852*a,o=.8665*o+.3104856*a,r=.55*r+.5329522*a,c=-.7616*c-.016898*a,i[s]=.11*(t+e+n+o+r+c+l+.5362*a)*.55,l=.115926*a}}else if("brown"===e){let t=0;for(let e=0;e<a;e++){t=(t+.02*(2*Math.random()-1))/1.02,i[e]=3.5*t*.5}}else if("tick-fast"===e||"tick-slow"===e){const t="tick-fast"===e?.5:1,r=Math.floor(.045*n);for(let e=0;e<o;e+=t){const t=Math.floor(e*n);for(let e=0;e<r&&t+e<a;e++){const o=Math.exp(-e/n*180),a=2*Math.random()-1,r=Math.sin(2*Math.PI*1100*(e/n));i[t+e]+=(.7*a+.25*r)*o*.55}}}else if("rain"===e){let t=0;for(let e=0;e<a;e++){const o=2*Math.random()-1,a=o-.93*t;t=o;const r=.7+.3*Math.sin(e/n*2*Math.PI*.25);i[e]=a*r*.4}}else if("fireplace"===e){let t=0;for(let e=0;e<a;e++){t=(t+.02*(2*Math.random()-1))/1.02,i[e]=1.6*t}let e=.4*Math.random()*n;for(;e<a;){const t=Math.floor((.012+.05*Math.random())*n),o=.35+.45*Math.random(),r=Math.floor(e);for(let e=0;e<t&&r+e<a;e++){const t=Math.exp(-e/n*90);i[r+e]+=(2*Math.random()-1)*t*o}e+=(.08+.62*Math.random())*n}}return r}function R(){if(!D&&"none"!==f&&0!==m)try{const t=window.AudioContext||window.webkitAudioContext;if(!t)return;const e=new t,n=_(e,f);if(!n){try{e.close()}catch{}return}const o=e.createBufferSource();o.buffer=n,o.loop=!0;const a=e.createGain();a.gain.value=m/100*O[f],o.connect(a).connect(e.destination),o.start(),D={ctx:e,src:o,gain:a}}catch{}}function F(){if(D){try{D.src.stop()}catch{}try{D.ctx.close()}catch{}D=null}}function V(t,e){if("none"!==t&&0!==e)try{const n=window.AudioContext||window.webkitAudioContext;if(!n)return;const o=new n,a=_(o,t);if(!a){try{o.close()}catch{}return}const r=o.createBufferSource();r.buffer=a,r.loop=!0;const i=o.createGain();i.gain.value=e/100*O[t],r.connect(i).connect(o.destination),r.start(),setTimeout(()=>{try{r.stop()}catch{}try{o.close()}catch{}},3e3)}catch{}}var G="pomodoro_tasks",j="pomodoro_tasks_migrated";function L(){return Math.random().toString(36).slice(2,11)}function U(){/* @__PURE__ */
2
- return(new Date).toISOString()}var W=null,q=[],E=!1,J=null,K=/* @__PURE__ */new Set;function $(){for(const t of K)t()}function z(t){q=t,$()}function H(){const t=W;return t?J=t.list().then(e=>{W===t&&(q=e,E=!0,$())}).catch(()=>{W===t&&(E=!0,$())}).finally(()=>{J=null}):(q=[],E=!0,$(),Promise.resolve())}function Q(t){W=t,q=[],E=!1,t?H():$()}function X(t){return K.add(t),!W||E||J||H(),()=>{K.delete(t)}}function Y(){return q}function Z(){const t=function(){const{prefs:t,save:n}=e(),r=a(()=>{const e=t.todo_tasks;return Array.isArray(e)?e:[]},[t.todo_tasks]),i=o(t=>{n({todo_tasks:t})},[n]),c=o(t=>{const e=L(),n=U(),o={done:!1,...t,name:t.name.trim(),id:e,createdAt:n,updatedAt:n};return i([...r,o]),e},[r,i]),l=o((t,e)=>{i(r.map(n=>n.id===t?{...n,...e,id:n.id,updatedAt:U()}:n))},[r,i]),s=o(t=>{i(r.filter(e=>e.id!==t))},[r,i]),u=o(t=>{const e=r.find(e=>e.id===t);e&&l(t,{done:!e.done})},[r,l]);return{tasks:r,addTask:c,updateTask:l,removeTask:s,toggleDone:u,setAllTasks:i}}(),r=n(X,Y,Y),i=o(e=>{const n=W;if(!n)return t.addTask(e);const o="tmp-"+L(),a=U(),r={done:!1,...e,name:e.name.trim(),id:o,createdAt:a,updatedAt:a};return z([...q,r]),n.create({...e,name:e.name.trim()}).then(t=>z(q.map(e=>e.id===o?{...r,...t}:e))).catch(()=>z(q.filter(t=>t.id!==o))),o},[t]),c=o((e,n)=>{const o=W;if(!o)return t.updateTask(e,n);z(q.map(t=>t.id===e?{...t,...n,id:e,updatedAt:U()}:t)),o.update(e,n).catch(()=>{H()})},[t]),l=o(e=>{const n=W;if(!n)return t.removeTask(e);const o=q;z(q.filter(t=>t.id!==e)),n.remove(e).catch(()=>z(o))},[t]),s=o(e=>{if(!W)return t.toggleDone(e);const n=q.find(t=>t.id===e);n&&c(e,{done:!n.done})},[t,c]),u=o(e=>{W||t.setAllTasks(e)},[t]);return null===W?t:{tasks:r,addTask:i,updateTask:c,removeTask:l,toggleDone:s,setAllTasks:u}}function tt(t,e){try{if(localStorage.getItem(j))return;const n=localStorage.getItem(G);if(!n)return void localStorage.setItem(j,"1");const o=JSON.parse(n);if(!Array.isArray(o)||0===o.length)return localStorage.removeItem(G),void localStorage.setItem(j,"1");const a=U(),r=o.filter(t=>"string"==typeof t?.name).map(t=>({id:t.id||L(),name:String(t.name),done:!!t.done,estimated:"number"==typeof t.estimated?t.estimated:void 0,completed:"number"==typeof t.completed?t.completed:void 0,createdAt:a,updatedAt:a})),i=new Set(t.map(t=>t.id));e([...r.filter(t=>!i.has(t.id)),...t]),localStorage.removeItem(G),localStorage.setItem(j,"1")}catch{try{localStorage.setItem(j,"1")}catch{}}}export{r as ALARM_OPTIONS,i as FOCUS_SOUND_OPTIONS,M as getPomoSnapshot,tt as migratePomodoroTasksOnce,N as playAlarm,x as pomoPause,I as pomoStart,B as pomoSwitchMode,V as previewFocusSound,y as setPomoAlarm,v as setPomoAlarmConfig,T as setPomoBehaviour,b as setPomoDurations,A as setPomoFocusSound,Q as setShellTodoProvider,S as subscribePomo,Z as useTodoTasks};
1
+ import{toast_default as t}from"./chunk-KSSAVLO7.js";import{useShellPrefs as e}from"./chunk-A7Q4BCPI.js";import{useSyncExternalStore as n,useCallback as o,useMemo as a}from"react";var r=[{id:"bell",label:"Bell",description:"Soft bell with one harmonic"},{id:"chime",label:"Chime",description:"Two-note ascending chime"},{id:"bowl",label:"Singing Bowl",description:"Long-decay meditation tone"},{id:"wind-chimes",label:"Wind Chimes",description:"Four soft tones in succession"},{id:"off",label:"Off (silent)",description:"No sound — only desktop notification"}],i=[{id:"none",label:"None"},{id:"tick-fast",label:"Ticking Fast"},{id:"tick-slow",label:"Ticking Slow"},{id:"rain",label:"Rain"},{id:"fireplace",label:"Fireplace"},{id:"white",label:"White Noise"},{id:"pink",label:"Pink Noise"},{id:"brown",label:"Brown Noise"}],c=()=>`pomodoro-${/* @__PURE__ */(new Date).toISOString().slice(0,10)}`,l={focus:1500,short:300,long:900},s="bell",u=100,d=1,f="none",m=50,h={autoStartBreaks:!1,autoStartPomodoros:!1,longBreakInterval:4},g={running:!1,remaining:l.focus,mode:"focus",total:l.focus,streak:0,count:"undefined"!=typeof localStorage?(()=>{try{return parseInt(localStorage.getItem(c())||"0",10)||0}catch{return 0}})():0},p=null,k=/* @__PURE__ */new Set,w=t=>{g={...g,...t},k.forEach(t=>t())};function M(){return g}function S(t){return k.add(t),()=>{k.delete(t)}}function b(t){l=t,g.running||g.remaining!==g.total||w({remaining:t[g.mode],total:t[g.mode]})}function y(t){s=t}function v(t,e){u=Math.max(0,Math.min(100,Math.round(t))),d=Math.max(1,Math.min(5,Math.round(e)))}function A(t){h={autoStartBreaks:!!t.autoStartBreaks,autoStartPomodoros:!!t.autoStartPomodoros,longBreakInterval:Math.max(1,Math.min(20,Math.round(t.longBreakInterval||4)))}}function T(t,e){f=t,m=Math.max(0,Math.min(100,Math.round(e))),g.running&&"focus"===g.mode?(V(),R()):"none"!==t&&0!==m||V()}function I(){g.running||(w({running:!0}),p=setInterval(C,1e3),"focus"===g.mode&&R())}function x(){(g.running||null!==p)&&(null!==p&&(clearInterval(p),p=null),w({running:!1}),V())}function B(t){x(),w({mode:t,remaining:l[t],total:l[t]})}function C(){g.remaining<=1?function(){null!==p&&(clearInterval(p),p=null);V(),P(s,{volume:u,repeat:d});const e="focus"===g.mode?"Pomodoro complete — time for a break! 🍅":"Break's over — back to work!";if("undefined"!=typeof Notification&&"granted"===Notification.permission)try{new Notification(e)}catch{}try{t.info(e)}catch{}if("focus"===g.mode){const t=g.streak+1,e=g.count+1;(t=>{try{localStorage.setItem(c(),String(t))}catch{}})(e);const n=t%h.longBreakInterval===0?"long":"short";w({running:!1,streak:t,count:e,mode:n,remaining:l[n],total:l[n]}),h.autoStartBreaks&&setTimeout(()=>I(),50)}else w({running:!1,mode:"focus",remaining:l.focus,total:l.focus}),h.autoStartPomodoros&&setTimeout(()=>I(),50)}():w({remaining:g.remaining-1})}function P(t=s,e={}){if("off"===t)return;const n=Math.max(0,Math.min(100,e.volume??100))/100;if(0===n)return;const o=Math.max(1,Math.min(5,e.repeat??1));for(let e=0;e<o;e++)setTimeout(()=>N(t,n),2500*e)}function N(t,e){try{const n=window.AudioContext||window.webkitAudioContext;if(!n)return;const o=new n,a=(t,n,a,r=.22,i="sine")=>{const c=o.createOscillator(),l=o.createGain();c.connect(l),l.connect(o.destination),c.type=i,c.frequency.value=t;const s=o.currentTime+n;l.gain.setValueAtTime(0,s),l.gain.linearRampToValueAtTime(r*e,s+.03),l.gain.exponentialRampToValueAtTime(1e-4,s+a),c.start(s),c.stop(s+a)};let r=2;"bell"===t?(a(880,0,1.8),a(1320,0,1.4,.1),r=2):"chime"===t?(a(659.25,0,.7),a(880,.2,1.3),r=2):"bowl"===t?(a(440,0,3.4,.22),a(660,0,3,.08),a(880,.05,2.8,.05),r=4):"wind-chimes"===t&&(a(1175,0,1.1,.16),a(880,.15,1.3,.16),a(1318,.3,1.5,.16),a(1047,.5,1.7,.13),r=3),setTimeout(()=>{try{o.close()}catch{}},1e3*r+500)}catch{}}var D=null,O={none:0,white:.3,pink:.3,brown:.3,"tick-fast":.6,"tick-slow":.6,rain:.4,fireplace:.5};function _(t,e){if("none"===e)return null;const n=t.sampleRate,o="white"===e||"pink"===e||"brown"===e?2:4,a=n*o,r=t.createBuffer(1,a,n),i=r.getChannelData(0);if("white"===e)for(let t=0;t<a;t++)i[t]=.5*(2*Math.random()-1);else if("pink"===e){let t=0,e=0,n=0,o=0,r=0,c=0,l=0;for(let s=0;s<a;s++){const a=2*Math.random()-1;t=.99886*t+.0555179*a,e=.99332*e+.0750759*a,n=.969*n+.153852*a,o=.8665*o+.3104856*a,r=.55*r+.5329522*a,c=-.7616*c-.016898*a,i[s]=.11*(t+e+n+o+r+c+l+.5362*a)*.55,l=.115926*a}}else if("brown"===e){let t=0;for(let e=0;e<a;e++){t=(t+.02*(2*Math.random()-1))/1.02,i[e]=3.5*t*.5}}else if("tick-fast"===e||"tick-slow"===e){const t="tick-fast"===e?.5:1,r=Math.floor(.045*n);for(let e=0;e<o;e+=t){const t=Math.floor(e*n);for(let e=0;e<r&&t+e<a;e++){const o=Math.exp(-e/n*180),a=2*Math.random()-1,r=Math.sin(2*Math.PI*1100*(e/n));i[t+e]+=(.7*a+.25*r)*o*.55}}}else if("rain"===e){let t=0;for(let e=0;e<a;e++){const o=2*Math.random()-1,a=o-.93*t;t=o;const r=.7+.3*Math.sin(e/n*2*Math.PI*.25);i[e]=a*r*.4}}else if("fireplace"===e){let t=0;for(let e=0;e<a;e++){t=(t+.02*(2*Math.random()-1))/1.02,i[e]=1.6*t}let e=.4*Math.random()*n;for(;e<a;){const t=Math.floor((.012+.05*Math.random())*n),o=.35+.45*Math.random(),r=Math.floor(e);for(let e=0;e<t&&r+e<a;e++){const t=Math.exp(-e/n*90);i[r+e]+=(2*Math.random()-1)*t*o}e+=(.08+.62*Math.random())*n}}return r}function R(){if(!D&&"none"!==f&&0!==m)try{const t=window.AudioContext||window.webkitAudioContext;if(!t)return;const e=new t,n=_(e,f);if(!n){try{e.close()}catch{}return}const o=e.createBufferSource();o.buffer=n,o.loop=!0;const a=e.createGain();a.gain.value=m/100*O[f],o.connect(a).connect(e.destination),o.start(),D={ctx:e,src:o,gain:a}}catch{}}function V(){if(D){try{D.src.stop()}catch{}try{D.ctx.close()}catch{}D=null}}function F(t,e){if("none"!==t&&0!==e)try{const n=window.AudioContext||window.webkitAudioContext;if(!n)return;const o=new n,a=_(o,t);if(!a){try{o.close()}catch{}return}const r=o.createBufferSource();r.buffer=a,r.loop=!0;const i=o.createGain();i.gain.value=e/100*O[t],r.connect(i).connect(o.destination),r.start(),setTimeout(()=>{try{r.stop()}catch{}try{o.close()}catch{}},3e3)}catch{}}var G="pomodoro_tasks",j="pomodoro_tasks_migrated";function L(){return Math.random().toString(36).slice(2,11)}function W(){/* @__PURE__ */
2
+ return(new Date).toISOString()}var q=null,E=[],J=!1,K=null,Q=/* @__PURE__ */new Set;function $(){for(const t of Q)t()}function z(t){E=t,$()}function H(){const t=q;return t?K=t.list().then(e=>{q===t&&(E=e,J=!0,$())}).catch(()=>{q===t&&(J=!0,$())}).finally(()=>{K=null}):(E=[],J=!0,$(),Promise.resolve())}function U(t){q=t,E=[],J=!1,t?H():$()}function X(t){return Q.add(t),!q||J||K||H(),()=>{Q.delete(t)}}function Y(){return E}function Z(){const t=function(){const{prefs:t,save:n}=e(),r=a(()=>{const e=t.todo_tasks;return Array.isArray(e)?e:[]},[t.todo_tasks]),i=o(t=>{n({todo_tasks:t})},[n]),c=o(t=>{const e=L(),n=W(),o={done:!1,...t,name:t.name.trim(),id:e,createdAt:n,updatedAt:n};return i([...r,o]),e},[r,i]),l=o((t,e)=>{i(r.map(n=>n.id===t?{...n,...e,id:n.id,updatedAt:W()}:n))},[r,i]),s=o(t=>{i(r.filter(e=>e.id!==t))},[r,i]),u=o(t=>{const e=r.find(e=>e.id===t);e&&l(t,{done:!e.done})},[r,l]);return{tasks:r,addTask:c,updateTask:l,removeTask:s,toggleDone:u,setAllTasks:i}}(),r=n(X,Y,Y),i=o(e=>{const n=q;if(!n)return t.addTask(e);const o="tmp-"+L(),a=W(),r={done:!1,...e,name:e.name.trim(),id:o,createdAt:a,updatedAt:a};return z([...E,r]),n.create({...e,name:e.name.trim()}).then(t=>z(E.map(e=>e.id===o?{...r,...t}:e))).catch(()=>z(E.filter(t=>t.id!==o))),o},[t]),c=o((e,n)=>{const o=q;if(!o)return t.updateTask(e,n);z(E.map(t=>t.id===e?{...t,...n,id:e,updatedAt:W()}:t)),o.update(e,n).catch(()=>{H()})},[t]),l=o(e=>{const n=q;if(!n)return t.removeTask(e);const o=E;z(E.filter(t=>t.id!==e)),n.remove(e).catch(()=>z(o))},[t]),s=o(e=>{if(!q)return t.toggleDone(e);const n=E.find(t=>t.id===e);n&&c(e,{done:!n.done})},[t,c]),u=o(e=>{q||t.setAllTasks(e)},[t]);return null===q?t:{tasks:r,addTask:i,updateTask:c,removeTask:l,toggleDone:s,setAllTasks:u}}function tt(t,e){try{if(localStorage.getItem(j))return;const n=localStorage.getItem(G);if(!n)return void localStorage.setItem(j,"1");const o=JSON.parse(n);if(!Array.isArray(o)||0===o.length)return localStorage.removeItem(G),void localStorage.setItem(j,"1");const a=W(),r=o.filter(t=>"string"==typeof t?.name).map(t=>({id:t.id||L(),name:String(t.name),done:!!t.done,estimated:"number"==typeof t.estimated?t.estimated:void 0,completed:"number"==typeof t.completed?t.completed:void 0,createdAt:a,updatedAt:a})),i=new Set(t.map(t=>t.id));e([...r.filter(t=>!i.has(t.id)),...t]),localStorage.removeItem(G),localStorage.setItem(j,"1")}catch{try{localStorage.setItem(j,"1")}catch{}}}export{r as ALARM_OPTIONS,i as FOCUS_SOUND_OPTIONS,M as getPomoSnapshot,tt as migratePomodoroTasksOnce,P as playAlarm,x as pomoPause,I as pomoStart,B as pomoSwitchMode,F as previewFocusSound,y as setPomoAlarm,v as setPomoAlarmConfig,A as setPomoBehaviour,b as setPomoDurations,T as setPomoFocusSound,U as setShellTodoProvider,S as subscribePomo,Z as useTodoTasks};
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, LabelHTMLAttributes, CSSProperties, RefObject, ElementType, MouseEvent as MouseEvent$1, HTMLAttributes, Component, ErrorInfo } from 'react';
2
+ import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, LabelHTMLAttributes, CSSProperties, RefObject, ElementType, MouseEvent as MouseEvent$1, HTMLAttributes, Ref, Component, ErrorInfo } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { useFileIntake, FileIntakeLimits, FileRejection } from './file-intake/index.js';
5
5
  import { c as TimeAgoOptions } from './index-DCUzlKPZ.js';
@@ -5142,6 +5142,9 @@ declare function describeContextTarget(target: EventTarget | null, selectionText
5142
5142
  */
5143
5143
  declare function leavesContextMenuAlone(e: MouseEvent): boolean;
5144
5144
 
5145
+ /** Which way Alt+Arrow moves a row: up past the row above, or down. */
5146
+ type RowMove = 'up' | 'down';
5147
+
5145
5148
  interface TreeProps {
5146
5149
  /** Names the tree. Required unless `aria-labelledby` is given. */
5147
5150
  'aria-label'?: string;
@@ -5170,7 +5173,7 @@ declare function TreeGroupLabel({ children }: {
5170
5173
  }): react_jsx_runtime.JSX.Element;
5171
5174
  type TreeDrop = 'before' | 'after' | 'into';
5172
5175
  /** Which way Alt+Arrow moves a row: up past the row above, or down. */
5173
- type TreeMove = 'up' | 'down';
5176
+ type TreeMove = RowMove;
5174
5177
  interface TreeRowProps {
5175
5178
  /** The row's name. */
5176
5179
  label: ReactNode;
@@ -5276,6 +5279,61 @@ interface TreeSeamProps {
5276
5279
  */
5277
5280
  declare function TreeSeam({ onInsert, label, drop, seamProps }: TreeSeamProps): react_jsx_runtime.JSX.Element;
5278
5281
 
5282
+ type SortableListSpacing = 'compact' | 'comfortable';
5283
+ /** Where a drop on a row would land: in the gap above it, or below it. */
5284
+ type ListDrop = 'before' | 'after';
5285
+ /** Which way Alt+Arrow moves a row. */
5286
+ type ListMove = RowMove;
5287
+ interface SortableListProps {
5288
+ /** Names the list. Required unless `aria-labelledby` is given. */
5289
+ 'aria-label'?: string;
5290
+ 'aria-labelledby'?: string;
5291
+ /** `ListRow`s, and `TreeSeam`s between them or a `TreeEmptySlot`. */
5292
+ children?: ReactNode;
5293
+ /** The gap between two rows: 4px (`compact`, the tree's) or 8px. */
5294
+ spacing?: SortableListSpacing;
5295
+ className?: string;
5296
+ /** More attributes for the list's root — a host's drag-and-drop wiring. */
5297
+ rootProps?: HTMLAttributes<HTMLDivElement>;
5298
+ }
5299
+ /** The list. Owns nothing but its spacing; every key is its rows'. */
5300
+ declare function SortableList({ 'aria-label': label, 'aria-labelledby': labelledBy, children, spacing, className, rootProps, }: SortableListProps): react_jsx_runtime.JSX.Element;
5301
+ interface ListRowProps {
5302
+ /** The row's own content, between the grip and the actions: a text box, a
5303
+ * button that opens the item, a name and a summary. It fills the bar. */
5304
+ children?: ReactNode;
5305
+ /** At the bar's end, always showing — a × `IconButton`, a lock. */
5306
+ actions?: ReactNode;
5307
+ /** Under the bar, in the same list item: the item's settings, open. */
5308
+ below?: ReactNode;
5309
+ /** The bar keeps its hover ground: its item is the one open. */
5310
+ active?: boolean;
5311
+ /** No hover ground: the content is a control with a ground of its own (a
5312
+ * text box), which a tinted bar round it would only muddy. */
5313
+ flat?: boolean;
5314
+ /** The row can be picked up: a grip on hover and focus, and the grab
5315
+ * cursor. Draws only — the drag is the host's (`rowProps`). */
5316
+ draggable?: boolean;
5317
+ /** The grip's hint. Default: the catalog's "Drag to move". */
5318
+ dragHint?: string;
5319
+ /** This row is being dragged. */
5320
+ dragging?: boolean;
5321
+ /** Where a drop would land, while a drag is over this row. */
5322
+ drop?: ListDrop;
5323
+ /** Move the row from the keyboard: Alt+ArrowUp asks for `up`, Alt+ArrowDown
5324
+ * for `down`. Where it lands is the host's. */
5325
+ onMove?: (to: ListMove) => void;
5326
+ /** More attributes for the bar — `draggable`, drag and drop handlers,
5327
+ * `onContextMenu`, `data-*`. */
5328
+ rowProps?: HTMLAttributes<HTMLDivElement> & Record<`data-${string}`, string | number | undefined>;
5329
+ /** The bar's element — to put the caret back in it after a move. */
5330
+ rowRef?: Ref<HTMLDivElement>;
5331
+ /** On the bar. */
5332
+ className?: string;
5333
+ }
5334
+ /** One row of a `SortableList`. */
5335
+ declare function ListRow({ children, actions, below, active, flat, draggable, dragHint, dragging, drop, onMove, rowProps, rowRef, className, }: ListRowProps): react_jsx_runtime.JSX.Element;
5336
+
5279
5337
  /**
5280
5338
  * Which of an `IconRail`'s words fit — the sums behind `labelsFit`.
5281
5339
  *
@@ -8184,4 +8242,4 @@ declare function ChordChart({ labels, matrix, size, maxNodes, padAngle, arcWidth
8184
8242
  * string when the source is consumed without a build (e.g. tests). */
8185
8243
  declare const VERSION: string;
8186
8244
 
8187
- export { type BudgetBarProps as $, ALT as A, type BackgroundVariant as B, type ColumnDef as C, type BandScale as D, Banner as E, type BannerEmphasis as F, type BannerProps as G, type BannerTone as H, BarChart as I, type BarChartProps as J, type BoxPlotBox as K, BoxPlotChart as L, type BoxPlotChartProps as M, BrandAssetEditor as N, type BrandAssetEditorProps as O, type PaginatedResponse as P, type BrandAssetPreview as Q, BrandMark as R, type SearchConfig as S, type BrandMarkProps as T, type BrandMarkSlot as U, type BrandMarkSurface as V, type BrandMarkTreatment as W, type BreadcrumbItem as X, Breadcrumbs as Y, type BreadcrumbsProps as Z, BudgetBar as _, type SortState as a, ColoredBadge as a$, type BudgetState as a0, Button as a1, type ButtonClassesOptions as a2, type ButtonProps as a3, type ButtonSize as a4, type ButtonVariant as a5, CHART_INK as a6, CMD_A as a7, CMD_DOT as a8, CMD_ENTER as a9, ChartHighlightProvider as aA, type ChartLegendEntry as aB, type ChartLegendSwatch as aC, type ChartRange as aD, type ChartReferenceLine as aE, type ChartRevealDirection as aF, ChartSkeleton as aG, type ChartSkeletonProps as aH, type ChartStatusTone as aI, type ChartStrokeVariant as aJ, ChartTooltip as aK, type ChartTooltipProps as aL, type ChartTooltipRow as aM, ChatTemplate as aN, Checkbox as aO, type CheckboxProps as aP, CheckoutTemplate as aQ, ChordChart as aR, type ChordChartProps as aS, ColorPicker as aT, ColorPickerPanel as aU, type ColorPickerPanelProps as aV, type ColorPickerProps as aW, type ColorPreset as aX, ColorSwatch as aY, type ColorSwatchProps as aZ, type ColorSwatchSize as a_, CMD_K as aa, CMD_S as ab, Calendar as ac, type CalendarMode as ad, type CalendarProps as ae, type Candle as af, CandlestickChart as ag, type CandlestickChartProps as ah, Card as ai, type CardPadding as aj, type CardProps as ak, CartesianPlot as al, type CartesianPlotProps as am, type CellStyle as an, type ChartBackgroundVariant as ao, ChartBrush as ap, type ChartBrushProps as aq, type ChartCurve as ar, ChartDefs as as, type ChartDefsProps as at, ChartDot as au, type ChartDotProps as av, type ChartDotVariant as aw, type ChartFillVariant as ax, ChartFrame as ay, type ChartFrameProps as az, ALT_SHIFT_D as b, type DropdownPositionOptions as b$, type ColoredBadgeProps as b0, ColumnChart as b1, type ColumnChartProps as b2, type ColumnSeries as b3, ComposerAttachments as b4, type ComposerAttachmentsProps as b5, ConfirmProvider as b6, ContainerFillChart as b7, type ContainerFillChartProps as b8, type ContainerFillItem as b9, type DescriptionItem as bA, DescriptionList as bB, type DescriptionListProps as bC, Dialog as bD, type DialogProps as bE, type DialogSize as bF, Divider as bG, type DividerProps as bH, type DividerSpacing as bI, DonutChart as bJ, type DonutChartProps as bK, type DonutSegment as bL, Drawer as bM, type DrawerProps as bN, type DrawerSide as bO, type DrawerSize as bP, DropdownMenu as bQ, type DropdownMenuAlign as bR, type DropdownMenuCheckboxItem as bS, type DropdownMenuDividerItem as bT, type DropdownMenuEntry as bU, type DropdownMenuItem as bV, type DropdownMenuLabelItem as bW, type DropdownMenuLinkItem as bX, type DropdownMenuProps as bY, type DropdownMenuRadioItem as bZ, type DropdownMenuSide as b_, ContextMenu as ba, type ContextMenuPoint as bb, type ContextMenuProps as bc, type ContextMenuState as bd, CountBadge as be, type CountBadgeProps as bf, type CountBadgeTone as bg, type Curve as bh, DAY_MS as bi, DEFAULT_SHELL_STRINGS as bj, DashboardTemplate as bk, DataTable as bl, type DataTableColumn as bm, type DataTableColumnGroup as bn, type DataTableHeader as bo, DataTablePage as bp, type DataTableProps as bq, type DataTableRowLink as br, type DataTableRowProps as bs, DatePicker as bt, type DatePickerProps as bu, DateRangePicker as bv, type DateRangePickerProps as bw, DateTimePicker as bx, type DateTimePickerProps as by, type DescriptionColumns as bz, ALT_SHIFT_E as c, InputNumber as c$, ENTER as c0, EditableGrid as c1, type EditableGridProps as c2, EmailTemplate as c3, EmptyState as c4, type EmptyStateProps as c5, EmptyValue as c6, type EmptyValueProps as c7, ErrorBoundary as c8, type ErrorBoundaryProps as c9, type GridColumn as cA, type GridProps as cB, HeatmapChart as cC, type HeatmapChartProps as cD, HelpCenter as cE, type HelpCenterDoc as cF, type HelpCenterProps as cG, HexInput as cH, type HistogramBin as cI, HistogramChart as cJ, type HistogramChartProps as cK, type Hsv as cL, INPUT_BASE as cM, INPUT_SIZES as cN, IconButton as cO, type IconButtonClassesOptions as cP, type IconButtonProps as cQ, IconRail as cR, IconRailButton as cS, type IconRailButtonProps as cT, type IconRailLabels as cU, type IconRailLabelsShown as cV, type IconRailOrientation as cW, type IconRailProps as cX, Inline as cY, type InlineProps as cZ, Input as c_, ErrorPage as ca, type ErrorPageProps as cb, type FileIntake as cc, FilePicker as cd, type FilePickerProps as ce, type FillVariant as cf, type FormError as cg, FormErrorSummary as ch, type FormErrorSummaryProps as ci, FormField as cj, type FormFieldProps as ck, FormLayoutPage as cl, FunnelChart as cm, type FunnelChartProps as cn, type FunnelStage as co, GLASS_DIVIDER as cp, GLASS_INPUT_BG as cq, GROUP_COLORS as cr, GROUP_COLORS_SOLID as cs, GalleryTemplate as ct, type Gap as cu, type GlassOptions as cv, GlobalSearch as cw, type GlobalSearchProps as cx, Grid as cy, type GridCols as cz, ALT_SHIFT_N as d, type Point as d$, type InputNumberProps as d0, type InputProps as d1, type InputSize as d2, type Justify as d3, Kanban as d4, type KanbanColumn as d5, type KanbanProps as d6, Kbd as d7, type KbdProps as d8, type KbdSize as d9, Meter as dA, type MeterProps as dB, MetricBar as dC, type MetricBarProps as dD, type Milestone as dE, type MilestoneKind as dF, MilestoneTimeline as dG, type MilestoneTimelineProps as dH, NATIVE_MENU_ATTR as dI, NEXT_CHUNK_PATH_PREFIX as dJ, NativeSelect as dK, NumericKeypad as dL, type NumericKeypadProps as dM, OVERLAY_OPEN_EVENT as dN, POPUP_MAX_WIDTH as dO, POST_PRODUCTION_STATUSES as dP, PageHeader as dQ, type PageHeaderProps as dR, Pagination as dS, type PaginationProps as dT, PaperclipGlyph as dU, Paragraph as dV, type ParagraphProps as dW, PieChart as dX, type PieChartProps as dY, type PieSegment as dZ, type PlotGeometry as d_, Label as da, type LabelClassesOptions as db, type LabelProps as dc, type LadderScale as dd, LineChart as de, type LineChartProps as df, type LineChartSeries as dg, type LinearScale as dh, ListFooter as di, ListLoadError as dj, type ListLoadErrorProps as dk, LoadingSpinner as dl, type LoadingSpinnerProps as dm, MAX_FRACTION_DIGITS as dn, MENU_MAX_HEIGHT as dp, MOD as dq, MOTION as dr, Markdown as ds, type MarkdownProps as dt, MediaUploadField as du, type MediaUploadFieldProps as dv, MediaUploadGrid as dw, type MediaUploadGridItem as dx, type MediaUploadGridProps as dy, type MenuPos as dz, APP_UPDATE_POLL_MS as e, ScatterChart as e$, Popover as e0, type PopoverAlign as e1, type PopoverProps as e2, type PopoverRenderProps as e3, type PopoverSide as e4, PopupMenu as e5, PopupMenuDivider as e6, PopupMenuItem as e7, type PopupMenuItemProps as e8, PopupMenuLabel as e9, type Range as eA, RangeChart as eB, type RangeChartProps as eC, type RangeRow as eD, RankedBars as eE, type RankedBarsProps as eF, type RankedBarsRow as eG, ResizeHandle as eH, type ResizeHandleProps as eI, type ResizeHandleSide as eJ, type ResolvedPortalBrandAsset as eK, Result as eL, type ResultProps as eM, type ResultStatus as eN, type RevealDirection as eO, SCATTER_SERIES_CAP as eP, SERIES_SLOT_COUNT as eQ, SERIES_VARS as eR, SHIFT as eS, STAGES as eT, STALE_CHUNK_RELOAD_COOLDOWN_MS as eU, STALE_CHUNK_RELOAD_KEY as eV, STATUS_VARS as eW, SankeyChart as eX, type SankeyChartProps as eY, type SankeyLink as eZ, type SankeyNode as e_, type PopupMenuProps as ea, PopupSubmenu as eb, type PopupSubmenuProps as ec, type PortalBrandingContextValue as ed, PortalBrandingProvider as ee, type PortalBrandingProviderProps as ef, ProductionTimeline as eg, type ProductionTimelineProps as eh, type ProductionTimelineSnapshot as ei, type ProgressItem as ej, type PublicPortal as ek, type PublicPortalBranding as el, RADAR_SERIES_CAP as em, type RadarAxis as en, RadarChart as eo, type RadarChartProps as ep, type RadarSeries as eq, RadialBarChart as er, type RadialBarChartProps as es, type RadialBarRow as et, Radio as eu, RadioGroup as ev, type RadioGroupOption as ew, type RadioGroupOrientation as ex, type RadioGroupProps as ey, type RadioProps as ez, Accordion as f, type StatCardProps as f$, type ScatterChartProps as f0, type ScatterPoint as f1, type ScatterSeries as f2, type SearchListRoute as f3, type SearchProvider as f4, type SearchQuickAction as f5, type SearchResponse as f6, type SearchResult as f7, type SearchableItem as f8, type SearchableOption as f9, ShellStringsProvider as fA, SidebarActionButton as fB, type SidebarActionButtonProps as fC, SidebarGroupLabel as fD, type SidebarGroupLabelProps as fE, SidebarLayout as fF, type SidebarLayoutProps as fG, SidebarNavGroup as fH, type SidebarNavGroupProps as fI, SidebarNavItem as fJ, type SidebarNavItemProps as fK, Skeleton as fL, type SkeletonProps as fM, type SkeletonVariant as fN, Slider as fO, type SliderProps as fP, type SliderSize as fQ, Snippet as fR, type SnippetProps as fS, type SnippetSize as fT, type SnippetVariant as fU, Sparkline as fV, type SparklineProps as fW, Stack as fX, type StackProps as fY, type StaleChunkReloadOptions as fZ, StatCard as f_, type SearchableOptionGroup as fa, SearchableSelect as fb, type SearchableSelectBaseProps as fc, type SearchableSelectMultipleProps as fd, type SearchableSelectProps as fe, Segmented as ff, type SegmentedOption as fg, type SegmentedProps as fh, type SegmentedSize as fi, Select as fj, type SelectBaseProps as fk, type SelectItem as fl, type SelectMultipleProps as fm, type SelectOption as fn, type SelectOptionGroup as fo, type SelectProps as fp, type SemanticGroup as fq, SettingRow as fr, type SettingRowProps as fs, type SeverityTone as ft, type ShellContextKind as fu, type ShellContextTarget as fv, type ShellPrefsAdapter as fw, ShellPrefsProvider as fx, type ShellStrings as fy, type ShellStringsOverride as fz, type AccordionItem as g, type TopNavItem as g$, StatTile as g0, type StatTileProps as g1, Statistic as g2, type StatisticProps as g3, type StatisticSize as g4, type StatisticTone as g5, StatusBadge as g6, StatusBadgeProvider as g7, type StatusEmphasis as g8, type StepItem as g9, TimeAgo as gA, type TimeAgoProps as gB, TimePicker as gC, type TimePickerProps as gD, TimeSeriesChart as gE, type TimeSeriesChartProps as gF, type TimeSeriesSeries as gG, type TimelineMarker as gH, type TimelineMarkerKind as gI, type TimelineReport as gJ, type TimelineScrubProgress as gK, TimelineTrack as gL, type TimelineTrackItem as gM, type TimelineTrackKind as gN, type TimelineTrackPending as gO, type TimelineTrackPhase as gP, type TimelineTrackPlayback as gQ, type TimelineTrackProps as gR, type TimelineTrackThumb as gS, Title as gT, type TitleLevel as gU, type TitleProps as gV, type ToastOptions as gW, type ToastPlacement as gX, Tooltip as gY, type TooltipProps as gZ, TopNav as g_, Stepper as ga, type StepperProps as gb, type StrokeVariant as gc, SunburstChart as gd, type SunburstChartProps as ge, type SunburstNode as gf, Switch as gg, type SwitchProps as gh, type SwitchSize as gi, type TabItem as gj, Tabs as gk, type TabsProps as gl, TagInput as gm, type TagInputOption as gn, type TagInputProps as go, Text as gp, type TextProps as gq, type TextSize as gr, type TextTone as gs, type TextWeight as gt, Textarea as gu, type TextareaProps as gv, type Theme as gw, TileButton as gx, type TileButtonProps as gy, type TileSize as gz, type AccordionProps as h, inputClasses as h$, type TopNavProps as h0, Tree as h1, type TreeDrop as h2, TreeEmptySlot as h3, type TreeEmptySlotProps as h4, TreeGroup as h5, TreeGroupLabel as h6, type TreeGroupProps as h7, type TreeMove as h8, type TreeProps as h9, bandScale as hA, binValues as hB, budgetState as hC, bumpPath as hD, buttonClasses as hE, calcOverall as hF, calcReportOverall as hG, colorFill as hH, colorSwatchClasses as hI, confirm as hJ, confirmDestructive as hK, curvePath as hL, dashFor as hM, describeContextTarget as hN, dismissPopups as hO, fillFor as hP, fillId as hQ, fmtSliderDate as hR, fromKey as hS, glassStyle as hT, glowId as hU, groundId as hV, groupColors as hW, hexToHsv as hX, highlightOpacity as hY, hsvToHex as hZ, iconButtonClasses as h_, TreeRow as ha, type TreeRowProps as hb, TreeSeam as hc, type TreeSeamProps as hd, TreemapChart as he, type TreemapChartProps as hf, type TreemapItem as hg, type TreemapTile as hh, type UseAppUpdateOptions as hi, type UseContextMenu as hj, type UseProductionTimelineOpts as hk, VERSION as hl, VITE_PRELOAD_ERROR_EVENT as hm, WaterfallChart as hn, type WaterfallChartProps as ho, type WaterfallStep as hp, type ZLayer as hq, Z_LAYERS as hr, angleScale as hs, appendKey as ht, applyThemePrefs as hu, arcPath as hv, areaBetween as hw, areaFrom as hx, autoHighlightIndex as hy, backspace as hz, type Align as i, installStaleChunkReload as i0, isMac as i1, isSeverityTone as i2, isStaleChunkError as i3, keepsNativeMenu as i4, labelClasses as i5, ladderScale as i6, leavesContextMenuAlone as i7, linearPath as i8, linearScale as i9, tabButtonId as iA, tabPanelId as iB, toKey as iC, toDayMs as iD, toISODate as iE, toast as iF, useAppUpdate as iG, useClickOutside as iH, useConfirm as iI, useContextMenu as iJ, useDebouncedValue as iK, useDropdownPosition as iL, useFocusTrap as iM, useHighlight as iN, useIsMobile as iO, useLocalStoragePrefs as iP, usePlotWidth as iQ, usePortalBranding as iR, useProductionTimeline as iS, useScrollLock as iT, useShellLocale as iU, useShellPrefs as iV, useShellStrings as iW, useTheme as iX, logScale as ia, maskId as ib, mediaFileName as ic, monotonePath as id, niceMax as ie, openGlobalSearch as ig, parseHexColor as ih, polygonPoints as ii, popupBounds as ij, prompt as ik, pushRecent as il, radiusScale as im, registerModalEscapeInterceptor as io, resolveBrandMarkTreatment as ip, resolvePortalBrandAsset as iq, resolveSeriesColor as ir, resolveTheme as is, sanitizeRecent as it, seriesColor as iu, severityOf as iv, splinePath as iw, squarify as ix, stagger as iy, stepPath as iz, type AngleScale as j, AppUpdateBanner as k, type AppUpdateBannerProps as l, AttachButton as m, type AttachButtonProps as n, AttachmentDropZone as o, type AttachmentDropZoneProps as p, AttachmentList as q, type AttachmentListProps as r, AuthScreen as s, type AuthScreenProps as t, Avatar as u, AvatarGroup as v, type AvatarGroupProps as w, type AvatarProps as x, type AvatarSize as y, type AvatarStatus as z };
8245
+ export { type BudgetBarProps as $, ALT as A, type BackgroundVariant as B, type ColumnDef as C, type BandScale as D, Banner as E, type BannerEmphasis as F, type BannerProps as G, type BannerTone as H, BarChart as I, type BarChartProps as J, type BoxPlotBox as K, BoxPlotChart as L, type BoxPlotChartProps as M, BrandAssetEditor as N, type BrandAssetEditorProps as O, type PaginatedResponse as P, type BrandAssetPreview as Q, BrandMark as R, type SearchConfig as S, type BrandMarkProps as T, type BrandMarkSlot as U, type BrandMarkSurface as V, type BrandMarkTreatment as W, type BreadcrumbItem as X, Breadcrumbs as Y, type BreadcrumbsProps as Z, BudgetBar as _, type SortState as a, ColoredBadge as a$, type BudgetState as a0, Button as a1, type ButtonClassesOptions as a2, type ButtonProps as a3, type ButtonSize as a4, type ButtonVariant as a5, CHART_INK as a6, CMD_A as a7, CMD_DOT as a8, CMD_ENTER as a9, ChartHighlightProvider as aA, type ChartLegendEntry as aB, type ChartLegendSwatch as aC, type ChartRange as aD, type ChartReferenceLine as aE, type ChartRevealDirection as aF, ChartSkeleton as aG, type ChartSkeletonProps as aH, type ChartStatusTone as aI, type ChartStrokeVariant as aJ, ChartTooltip as aK, type ChartTooltipProps as aL, type ChartTooltipRow as aM, ChatTemplate as aN, Checkbox as aO, type CheckboxProps as aP, CheckoutTemplate as aQ, ChordChart as aR, type ChordChartProps as aS, ColorPicker as aT, ColorPickerPanel as aU, type ColorPickerPanelProps as aV, type ColorPickerProps as aW, type ColorPreset as aX, ColorSwatch as aY, type ColorSwatchProps as aZ, type ColorSwatchSize as a_, CMD_K as aa, CMD_S as ab, Calendar as ac, type CalendarMode as ad, type CalendarProps as ae, type Candle as af, CandlestickChart as ag, type CandlestickChartProps as ah, Card as ai, type CardPadding as aj, type CardProps as ak, CartesianPlot as al, type CartesianPlotProps as am, type CellStyle as an, type ChartBackgroundVariant as ao, ChartBrush as ap, type ChartBrushProps as aq, type ChartCurve as ar, ChartDefs as as, type ChartDefsProps as at, ChartDot as au, type ChartDotProps as av, type ChartDotVariant as aw, type ChartFillVariant as ax, ChartFrame as ay, type ChartFrameProps as az, ALT_SHIFT_D as b, type DropdownPositionOptions as b$, type ColoredBadgeProps as b0, ColumnChart as b1, type ColumnChartProps as b2, type ColumnSeries as b3, ComposerAttachments as b4, type ComposerAttachmentsProps as b5, ConfirmProvider as b6, ContainerFillChart as b7, type ContainerFillChartProps as b8, type ContainerFillItem as b9, type DescriptionItem as bA, DescriptionList as bB, type DescriptionListProps as bC, Dialog as bD, type DialogProps as bE, type DialogSize as bF, Divider as bG, type DividerProps as bH, type DividerSpacing as bI, DonutChart as bJ, type DonutChartProps as bK, type DonutSegment as bL, Drawer as bM, type DrawerProps as bN, type DrawerSide as bO, type DrawerSize as bP, DropdownMenu as bQ, type DropdownMenuAlign as bR, type DropdownMenuCheckboxItem as bS, type DropdownMenuDividerItem as bT, type DropdownMenuEntry as bU, type DropdownMenuItem as bV, type DropdownMenuLabelItem as bW, type DropdownMenuLinkItem as bX, type DropdownMenuProps as bY, type DropdownMenuRadioItem as bZ, type DropdownMenuSide as b_, ContextMenu as ba, type ContextMenuPoint as bb, type ContextMenuProps as bc, type ContextMenuState as bd, CountBadge as be, type CountBadgeProps as bf, type CountBadgeTone as bg, type Curve as bh, DAY_MS as bi, DEFAULT_SHELL_STRINGS as bj, DashboardTemplate as bk, DataTable as bl, type DataTableColumn as bm, type DataTableColumnGroup as bn, type DataTableHeader as bo, DataTablePage as bp, type DataTableProps as bq, type DataTableRowLink as br, type DataTableRowProps as bs, DatePicker as bt, type DatePickerProps as bu, DateRangePicker as bv, type DateRangePickerProps as bw, DateTimePicker as bx, type DateTimePickerProps as by, type DescriptionColumns as bz, ALT_SHIFT_E as c, InputNumber as c$, ENTER as c0, EditableGrid as c1, type EditableGridProps as c2, EmailTemplate as c3, EmptyState as c4, type EmptyStateProps as c5, EmptyValue as c6, type EmptyValueProps as c7, ErrorBoundary as c8, type ErrorBoundaryProps as c9, type GridColumn as cA, type GridProps as cB, HeatmapChart as cC, type HeatmapChartProps as cD, HelpCenter as cE, type HelpCenterDoc as cF, type HelpCenterProps as cG, HexInput as cH, type HistogramBin as cI, HistogramChart as cJ, type HistogramChartProps as cK, type Hsv as cL, INPUT_BASE as cM, INPUT_SIZES as cN, IconButton as cO, type IconButtonClassesOptions as cP, type IconButtonProps as cQ, IconRail as cR, IconRailButton as cS, type IconRailButtonProps as cT, type IconRailLabels as cU, type IconRailLabelsShown as cV, type IconRailOrientation as cW, type IconRailProps as cX, Inline as cY, type InlineProps as cZ, Input as c_, ErrorPage as ca, type ErrorPageProps as cb, type FileIntake as cc, FilePicker as cd, type FilePickerProps as ce, type FillVariant as cf, type FormError as cg, FormErrorSummary as ch, type FormErrorSummaryProps as ci, FormField as cj, type FormFieldProps as ck, FormLayoutPage as cl, FunnelChart as cm, type FunnelChartProps as cn, type FunnelStage as co, GLASS_DIVIDER as cp, GLASS_INPUT_BG as cq, GROUP_COLORS as cr, GROUP_COLORS_SOLID as cs, GalleryTemplate as ct, type Gap as cu, type GlassOptions as cv, GlobalSearch as cw, type GlobalSearchProps as cx, Grid as cy, type GridCols as cz, ALT_SHIFT_N as d, PieChart as d$, type InputNumberProps as d0, type InputProps as d1, type InputSize as d2, type Justify as d3, Kanban as d4, type KanbanColumn as d5, type KanbanProps as d6, Kbd as d7, type KbdProps as d8, type KbdSize as d9, MediaUploadGrid as dA, type MediaUploadGridItem as dB, type MediaUploadGridProps as dC, type MenuPos as dD, Meter as dE, type MeterProps as dF, MetricBar as dG, type MetricBarProps as dH, type Milestone as dI, type MilestoneKind as dJ, MilestoneTimeline as dK, type MilestoneTimelineProps as dL, NATIVE_MENU_ATTR as dM, NEXT_CHUNK_PATH_PREFIX as dN, NativeSelect as dO, NumericKeypad as dP, type NumericKeypadProps as dQ, OVERLAY_OPEN_EVENT as dR, POPUP_MAX_WIDTH as dS, POST_PRODUCTION_STATUSES as dT, PageHeader as dU, type PageHeaderProps as dV, Pagination as dW, type PaginationProps as dX, PaperclipGlyph as dY, Paragraph as dZ, type ParagraphProps as d_, Label as da, type LabelClassesOptions as db, type LabelProps as dc, type LadderScale as dd, LineChart as de, type LineChartProps as df, type LineChartSeries as dg, type LinearScale as dh, type ListDrop as di, ListFooter as dj, ListLoadError as dk, type ListLoadErrorProps as dl, type ListMove as dm, ListRow as dn, type ListRowProps as dp, LoadingSpinner as dq, type LoadingSpinnerProps as dr, MAX_FRACTION_DIGITS as ds, MENU_MAX_HEIGHT as dt, MOD as du, MOTION as dv, Markdown as dw, type MarkdownProps as dx, MediaUploadField as dy, type MediaUploadFieldProps as dz, APP_UPDATE_POLL_MS as e, SankeyChart as e$, type PieChartProps as e0, type PieSegment as e1, type PlotGeometry as e2, type Point as e3, Popover as e4, type PopoverAlign as e5, type PopoverProps as e6, type PopoverRenderProps as e7, type PopoverSide as e8, PopupMenu as e9, type RadioGroupOption as eA, type RadioGroupOrientation as eB, type RadioGroupProps as eC, type RadioProps as eD, type Range as eE, RangeChart as eF, type RangeChartProps as eG, type RangeRow as eH, RankedBars as eI, type RankedBarsProps as eJ, type RankedBarsRow as eK, ResizeHandle as eL, type ResizeHandleProps as eM, type ResizeHandleSide as eN, type ResolvedPortalBrandAsset as eO, Result as eP, type ResultProps as eQ, type ResultStatus as eR, type RevealDirection as eS, SCATTER_SERIES_CAP as eT, SERIES_SLOT_COUNT as eU, SERIES_VARS as eV, SHIFT as eW, STAGES as eX, STALE_CHUNK_RELOAD_COOLDOWN_MS as eY, STALE_CHUNK_RELOAD_KEY as eZ, STATUS_VARS as e_, PopupMenuDivider as ea, PopupMenuItem as eb, type PopupMenuItemProps as ec, PopupMenuLabel as ed, type PopupMenuProps as ee, PopupSubmenu as ef, type PopupSubmenuProps as eg, type PortalBrandingContextValue as eh, PortalBrandingProvider as ei, type PortalBrandingProviderProps as ej, ProductionTimeline as ek, type ProductionTimelineProps as el, type ProductionTimelineSnapshot as em, type ProgressItem as en, type PublicPortal as eo, type PublicPortalBranding as ep, RADAR_SERIES_CAP as eq, type RadarAxis as er, RadarChart as es, type RadarChartProps as et, type RadarSeries as eu, RadialBarChart as ev, type RadialBarChartProps as ew, type RadialBarRow as ex, Radio as ey, RadioGroup as ez, Accordion as f, type SortableListSpacing as f$, type SankeyChartProps as f0, type SankeyLink as f1, type SankeyNode as f2, ScatterChart as f3, type ScatterChartProps as f4, type ScatterPoint as f5, type ScatterSeries as f6, type SearchListRoute as f7, type SearchProvider as f8, type SearchQuickAction as f9, type ShellPrefsAdapter as fA, ShellPrefsProvider as fB, type ShellStrings as fC, type ShellStringsOverride as fD, ShellStringsProvider as fE, SidebarActionButton as fF, type SidebarActionButtonProps as fG, SidebarGroupLabel as fH, type SidebarGroupLabelProps as fI, SidebarLayout as fJ, type SidebarLayoutProps as fK, SidebarNavGroup as fL, type SidebarNavGroupProps as fM, SidebarNavItem as fN, type SidebarNavItemProps as fO, Skeleton as fP, type SkeletonProps as fQ, type SkeletonVariant as fR, Slider as fS, type SliderProps as fT, type SliderSize as fU, Snippet as fV, type SnippetProps as fW, type SnippetSize as fX, type SnippetVariant as fY, SortableList as fZ, type SortableListProps as f_, type SearchResponse as fa, type SearchResult as fb, type SearchableItem as fc, type SearchableOption as fd, type SearchableOptionGroup as fe, SearchableSelect as ff, type SearchableSelectBaseProps as fg, type SearchableSelectMultipleProps as fh, type SearchableSelectProps as fi, Segmented as fj, type SegmentedOption as fk, type SegmentedProps as fl, type SegmentedSize as fm, Select as fn, type SelectBaseProps as fo, type SelectItem as fp, type SelectMultipleProps as fq, type SelectOption as fr, type SelectOptionGroup as fs, type SelectProps as ft, type SemanticGroup as fu, SettingRow as fv, type SettingRowProps as fw, type SeverityTone as fx, type ShellContextKind as fy, type ShellContextTarget as fz, type AccordionItem as g, type TitleLevel as g$, Sparkline as g0, type SparklineProps as g1, Stack as g2, type StackProps as g3, type StaleChunkReloadOptions as g4, StatCard as g5, type StatCardProps as g6, StatTile as g7, type StatTileProps as g8, Statistic as g9, type TextWeight as gA, Textarea as gB, type TextareaProps as gC, type Theme as gD, TileButton as gE, type TileButtonProps as gF, type TileSize as gG, TimeAgo as gH, type TimeAgoProps as gI, TimePicker as gJ, type TimePickerProps as gK, TimeSeriesChart as gL, type TimeSeriesChartProps as gM, type TimeSeriesSeries as gN, type TimelineMarker as gO, type TimelineMarkerKind as gP, type TimelineReport as gQ, type TimelineScrubProgress as gR, TimelineTrack as gS, type TimelineTrackItem as gT, type TimelineTrackKind as gU, type TimelineTrackPending as gV, type TimelineTrackPhase as gW, type TimelineTrackPlayback as gX, type TimelineTrackProps as gY, type TimelineTrackThumb as gZ, Title as g_, type StatisticProps as ga, type StatisticSize as gb, type StatisticTone as gc, StatusBadge as gd, StatusBadgeProvider as ge, type StatusEmphasis as gf, type StepItem as gg, Stepper as gh, type StepperProps as gi, type StrokeVariant as gj, SunburstChart as gk, type SunburstChartProps as gl, type SunburstNode as gm, Switch as gn, type SwitchProps as go, type SwitchSize as gp, type TabItem as gq, Tabs as gr, type TabsProps as gs, TagInput as gt, type TagInputOption as gu, type TagInputProps as gv, Text as gw, type TextProps as gx, type TextSize as gy, type TextTone as gz, type AccordionProps as h, glowId as h$, type TitleProps as h0, type ToastOptions as h1, type ToastPlacement as h2, Tooltip as h3, type TooltipProps as h4, TopNav as h5, type TopNavItem as h6, type TopNavProps as h7, Tree as h8, type TreeDrop as h9, appendKey as hA, applyThemePrefs as hB, arcPath as hC, areaBetween as hD, areaFrom as hE, autoHighlightIndex as hF, backspace as hG, bandScale as hH, binValues as hI, budgetState as hJ, bumpPath as hK, buttonClasses as hL, calcOverall as hM, calcReportOverall as hN, colorFill as hO, colorSwatchClasses as hP, confirm as hQ, confirmDestructive as hR, curvePath as hS, dashFor as hT, describeContextTarget as hU, dismissPopups as hV, fillFor as hW, fillId as hX, fmtSliderDate as hY, fromKey as hZ, glassStyle as h_, TreeEmptySlot as ha, type TreeEmptySlotProps as hb, TreeGroup as hc, TreeGroupLabel as hd, type TreeGroupProps as he, type TreeMove as hf, type TreeProps as hg, TreeRow as hh, type TreeRowProps as hi, TreeSeam as hj, type TreeSeamProps as hk, TreemapChart as hl, type TreemapChartProps as hm, type TreemapItem as hn, type TreemapTile as ho, type UseAppUpdateOptions as hp, type UseContextMenu as hq, type UseProductionTimelineOpts as hr, VERSION as hs, VITE_PRELOAD_ERROR_EVENT as ht, WaterfallChart as hu, type WaterfallChartProps as hv, type WaterfallStep as hw, type ZLayer as hx, Z_LAYERS as hy, angleScale as hz, type Align as i, useShellLocale as i$, groundId as i0, groupColors as i1, hexToHsv as i2, highlightOpacity as i3, hsvToHex as i4, iconButtonClasses as i5, inputClasses as i6, installStaleChunkReload as i7, isMac as i8, isSeverityTone as i9, sanitizeRecent as iA, seriesColor as iB, severityOf as iC, splinePath as iD, squarify as iE, stagger as iF, stepPath as iG, tabButtonId as iH, tabPanelId as iI, toKey as iJ, toDayMs as iK, toISODate as iL, toast as iM, useAppUpdate as iN, useClickOutside as iO, useConfirm as iP, useContextMenu as iQ, useDebouncedValue as iR, useDropdownPosition as iS, useFocusTrap as iT, useHighlight as iU, useIsMobile as iV, useLocalStoragePrefs as iW, usePlotWidth as iX, usePortalBranding as iY, useProductionTimeline as iZ, useScrollLock as i_, isStaleChunkError as ia, keepsNativeMenu as ib, labelClasses as ic, ladderScale as id, leavesContextMenuAlone as ie, linearPath as ig, linearScale as ih, logScale as ii, maskId as ij, mediaFileName as ik, monotonePath as il, niceMax as im, openGlobalSearch as io, parseHexColor as ip, polygonPoints as iq, popupBounds as ir, prompt as is, pushRecent as it, radiusScale as iu, registerModalEscapeInterceptor as iv, resolveBrandMarkTreatment as iw, resolvePortalBrandAsset as ix, resolveSeriesColor as iy, resolveTheme as iz, type AngleScale as j, useShellPrefs as j0, useShellStrings as j1, useTheme as j2, AppUpdateBanner as k, type AppUpdateBannerProps as l, AttachButton as m, type AttachButtonProps as n, AttachmentDropZone as o, type AttachmentDropZoneProps as p, AttachmentList as q, type AttachmentListProps as r, AuthScreen as s, type AuthScreenProps as t, Avatar as u, AvatarGroup as v, type AvatarGroupProps as w, type AvatarProps as x, type AvatarSize as y, type AvatarStatus as z };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as SearchConfig, C as ColumnDef, a as SortState, P as PaginatedResponse } from './index-DcLqfJX3.js';
2
- export { A as ALT, b as ALT_SHIFT_D, c as ALT_SHIFT_E, d as ALT_SHIFT_N, e as APP_UPDATE_POLL_MS, f as Accordion, g as AccordionItem, h as AccordionProps, i as Align, j as AngleScale, k as AppUpdateBanner, l as AppUpdateBannerProps, m as AttachButton, n as AttachButtonProps, o as AttachmentDropZone, p as AttachmentDropZoneProps, q as AttachmentList, r as AttachmentListProps, s as AuthScreen, t as AuthScreenProps, u as Avatar, v as AvatarGroup, w as AvatarGroupProps, x as AvatarProps, y as AvatarSize, z as AvatarStatus, B as BackgroundVariant, D as BandScale, E as Banner, F as BannerEmphasis, G as BannerProps, H as BannerTone, I as BarChart, J as BarChartProps, K as BoxPlotBox, L as BoxPlotChart, M as BoxPlotChartProps, N as BrandAssetEditor, O as BrandAssetEditorProps, Q as BrandAssetPreview, R as BrandMark, T as BrandMarkProps, U as BrandMarkSlot, V as BrandMarkSurface, W as BrandMarkTreatment, X as BreadcrumbItem, Y as Breadcrumbs, Z as BreadcrumbsProps, _ as BudgetBar, $ as BudgetBarProps, a0 as BudgetState, a1 as Button, a2 as ButtonClassesOptions, a3 as ButtonProps, a4 as ButtonSize, a5 as ButtonVariant, a6 as CHART_INK, a7 as CMD_A, a8 as CMD_DOT, a9 as CMD_ENTER, aa as CMD_K, ab as CMD_S, ac as Calendar, ad as CalendarMode, ae as CalendarProps, af as Candle, ag as CandlestickChart, ah as CandlestickChartProps, ai as Card, aj as CardPadding, ak as CardProps, al as CartesianPlot, am as CartesianPlotProps, an as CellStyle, ao as ChartBackgroundVariant, ap as ChartBrush, aq as ChartBrushProps, ar as ChartCurve, as as ChartDefs, at as ChartDefsProps, au as ChartDot, av as ChartDotProps, aw as ChartDotVariant, ax as ChartFillVariant, ay as ChartFrame, az as ChartFrameProps, aA as ChartHighlightProvider, aB as ChartLegendEntry, aC as ChartLegendSwatch, aD as ChartRange, aE as ChartReferenceLine, aF as ChartRevealDirection, aG as ChartSkeleton, aH as ChartSkeletonProps, aI as ChartStatusTone, aJ as ChartStrokeVariant, aK as ChartTooltip, aL as ChartTooltipProps, aM as ChartTooltipRow, aN as ChatTemplate, aO as Checkbox, aP as CheckboxProps, aQ as CheckoutTemplate, aR as ChordChart, aS as ChordChartProps, aT as ColorPicker, aU as ColorPickerPanel, aV as ColorPickerPanelProps, aW as ColorPickerProps, aX as ColorPreset, aY as ColorSwatch, aZ as ColorSwatchProps, a_ as ColorSwatchSize, a$ as ColoredBadge, b0 as ColoredBadgeProps, b1 as ColumnChart, b2 as ColumnChartProps, b3 as ColumnSeries, b4 as ComposerAttachments, b5 as ComposerAttachmentsProps, b6 as ConfirmProvider, b7 as ContainerFillChart, b8 as ContainerFillChartProps, b9 as ContainerFillItem, ba as ContextMenu, bb as ContextMenuPoint, bc as ContextMenuProps, bd as ContextMenuState, be as CountBadge, bf as CountBadgeProps, bg as CountBadgeTone, bh as Curve, bi as DAY_MS, bj as DEFAULT_SHELL_STRINGS, bk as DashboardTemplate, bl as DataTable, bm as DataTableColumn, bn as DataTableColumnGroup, bo as DataTableHeader, bp as DataTablePage, bq as DataTableProps, br as DataTableRowLink, bs as DataTableRowProps, bt as DatePicker, bu as DatePickerProps, bv as DateRangePicker, bw as DateRangePickerProps, bx as DateTimePicker, by as DateTimePickerProps, bz as DescriptionColumns, bA as DescriptionItem, bB as DescriptionList, bC as DescriptionListProps, bD as Dialog, bE as DialogProps, bF as DialogSize, bG as Divider, bH as DividerProps, bI as DividerSpacing, bJ as DonutChart, bK as DonutChartProps, bL as DonutSegment, bM as Drawer, bN as DrawerProps, bO as DrawerSide, bP as DrawerSize, bQ as DropdownMenu, bR as DropdownMenuAlign, bS as DropdownMenuCheckboxItem, bT as DropdownMenuDividerItem, bU as DropdownMenuEntry, bV as DropdownMenuItem, bW as DropdownMenuLabelItem, bX as DropdownMenuLinkItem, bY as DropdownMenuProps, bZ as DropdownMenuRadioItem, b_ as DropdownMenuSide, b$ as DropdownPositionOptions, c0 as ENTER, c1 as EditableGrid, c2 as EditableGridProps, c3 as EmailTemplate, c4 as EmptyState, c5 as EmptyStateProps, c6 as EmptyValue, c7 as EmptyValueProps, c8 as ErrorBoundary, c9 as ErrorBoundaryProps, ca as ErrorPage, cb as ErrorPageProps, cc as FileIntake, cd as FilePicker, ce as FilePickerProps, cf as FillVariant, cg as FormError, ch as FormErrorSummary, ci as FormErrorSummaryProps, cj as FormField, ck as FormFieldProps, cl as FormLayoutPage, cm as FunnelChart, cn as FunnelChartProps, co as FunnelStage, cp as GLASS_DIVIDER, cq as GLASS_INPUT_BG, cr as GROUP_COLORS, cs as GROUP_COLORS_SOLID, ct as GalleryTemplate, cu as Gap, cv as GlassOptions, cw as GlobalSearch, cx as GlobalSearchProps, cy as Grid, cz as GridCols, cA as GridColumn, cB as GridProps, cC as HeatmapChart, cD as HeatmapChartProps, cE as HelpCenter, cF as HelpCenterDoc, cG as HelpCenterProps, cH as HexInput, cI as HistogramBin, cJ as HistogramChart, cK as HistogramChartProps, cL as Hsv, cM as INPUT_BASE, cN as INPUT_SIZES, cO as IconButton, cP as IconButtonClassesOptions, cQ as IconButtonProps, cR as IconRail, cS as IconRailButton, cT as IconRailButtonProps, cU as IconRailLabels, cV as IconRailLabelsShown, cW as IconRailOrientation, cX as IconRailProps, cY as Inline, cZ as InlineProps, c_ as Input, c$ as InputNumber, d0 as InputNumberProps, d1 as InputProps, d2 as InputSize, d3 as Justify, d4 as Kanban, d5 as KanbanColumn, d6 as KanbanProps, d7 as Kbd, d8 as KbdProps, d9 as KbdSize, da as Label, db as LabelClassesOptions, dc as LabelProps, dd as LadderScale, de as LineChart, df as LineChartProps, dg as LineChartSeries, dh as LinearScale, di as ListFooter, dj as ListLoadError, dk as ListLoadErrorProps, dl as LoadingSpinner, dm as LoadingSpinnerProps, dn as MAX_FRACTION_DIGITS, dp as MENU_MAX_HEIGHT, dq as MOD, dr as MOTION, ds as Markdown, ds as MarkdownLite, dt as MarkdownLiteProps, dt as MarkdownProps, du as MediaUploadField, dv as MediaUploadFieldProps, dw as MediaUploadGrid, dx as MediaUploadGridItem, dy as MediaUploadGridProps, dz as MenuPos, dA as Meter, dB as MeterProps, dC as MetricBar, dD as MetricBarProps, dE as Milestone, dF as MilestoneKind, dG as MilestoneTimeline, dH as MilestoneTimelineProps, dI as NATIVE_MENU_ATTR, dJ as NEXT_CHUNK_PATH_PREFIX, dK as NativeSelect, dL as NumericKeypad, dM as NumericKeypadProps, dN as OVERLAY_OPEN_EVENT, dO as POPUP_MAX_WIDTH, dP as POST_PRODUCTION_STATUSES, dQ as PageHeader, dR as PageHeaderProps, dS as Pagination, dT as PaginationProps, dU as PaperclipGlyph, dV as Paragraph, dW as ParagraphProps, dX as PieChart, dY as PieChartProps, dZ as PieSegment, d_ as PlotGeometry, d$ as Point, e0 as Popover, e1 as PopoverAlign, e2 as PopoverProps, e3 as PopoverRenderProps, e4 as PopoverSide, e5 as PopupMenu, e6 as PopupMenuDivider, e7 as PopupMenuItem, e8 as PopupMenuItemProps, e9 as PopupMenuLabel, ea as PopupMenuProps, eb as PopupSubmenu, ec as PopupSubmenuProps, ed as PortalBrandingContextValue, ee as PortalBrandingProvider, ef as PortalBrandingProviderProps, eg as ProductionTimeline, eh as ProductionTimelineProps, ei as ProductionTimelineSnapshot, ej as ProgressItem, ek as PublicPortal, el as PublicPortalBranding, em as RADAR_SERIES_CAP, en as RadarAxis, eo as RadarChart, ep as RadarChartProps, eq as RadarSeries, er as RadialBarChart, es as RadialBarChartProps, et as RadialBarRow, eu as Radio, ev as RadioGroup, ew as RadioGroupOption, ex as RadioGroupOrientation, ey as RadioGroupProps, ez as RadioProps, eA as Range, eB as RangeChart, eC as RangeChartProps, eD as RangeRow, eE as RankedBars, eF as RankedBarsProps, eG as RankedBarsRow, eH as ResizeHandle, eI as ResizeHandleProps, eJ as ResizeHandleSide, eK as ResolvedPortalBrandAsset, eL as Result, eM as ResultProps, eN as ResultStatus, eO as RevealDirection, eP as SCATTER_SERIES_CAP, eQ as SERIES_SLOT_COUNT, eR as SERIES_VARS, eS as SHIFT, eT as STAGES, eU as STALE_CHUNK_RELOAD_COOLDOWN_MS, eV as STALE_CHUNK_RELOAD_KEY, eW as STATUS_VARS, eX as SankeyChart, eY as SankeyChartProps, eZ as SankeyLink, e_ as SankeyNode, e$ as ScatterChart, f0 as ScatterChartProps, f1 as ScatterPoint, f2 as ScatterSeries, f3 as SearchListRoute, f4 as SearchProvider, f5 as SearchQuickAction, f6 as SearchResponse, f7 as SearchResult, f8 as SearchableItem, f9 as SearchableOption, fa as SearchableOptionGroup, fb as SearchableSelect, fc as SearchableSelectBaseProps, fd as SearchableSelectMultipleProps, fe as SearchableSelectProps, ff as Segmented, fg as SegmentedOption, fh as SegmentedProps, fi as SegmentedSize, fj as Select, fk as SelectBaseProps, fl as SelectItem, fm as SelectMultipleProps, fn as SelectOption, fo as SelectOptionGroup, fp as SelectProps, fq as SemanticGroup, fr as SettingRow, fs as SettingRowProps, ft as SeverityTone, fu as ShellContextKind, fv as ShellContextTarget, fw as ShellPrefsAdapter, fx as ShellPrefsProvider, fy as ShellStrings, fz as ShellStringsOverride, fA as ShellStringsProvider, fB as SidebarActionButton, fC as SidebarActionButtonProps, fD as SidebarGroupLabel, fE as SidebarGroupLabelProps, fF as SidebarLayout, fG as SidebarLayoutProps, fH as SidebarNavGroup, fI as SidebarNavGroupProps, fJ as SidebarNavItem, fK as SidebarNavItemProps, fL as Skeleton, fM as SkeletonProps, fN as SkeletonVariant, fO as Slider, fP as SliderProps, fQ as SliderSize, fR as Snippet, fS as SnippetProps, fT as SnippetSize, fU as SnippetVariant, fV as Sparkline, fW as SparklineProps, fX as Stack, fY as StackProps, fZ as StaleChunkReloadOptions, f_ as StatCard, f$ as StatCardProps, g0 as StatTile, g1 as StatTileProps, g2 as Statistic, g3 as StatisticProps, g4 as StatisticSize, g5 as StatisticTone, g6 as StatusBadge, g7 as StatusBadgeProvider, g8 as StatusEmphasis, g9 as StepItem, ga as Stepper, gb as StepperProps, gc as StrokeVariant, gd as SunburstChart, ge as SunburstChartProps, gf as SunburstNode, gg as Switch, gh as SwitchProps, gi as SwitchSize, gj as TabItem, gk as Tabs, gl as TabsProps, gm as TagInput, gn as TagInputOption, go as TagInputProps, gp as Text, gq as TextProps, gr as TextSize, gs as TextTone, gt as TextWeight, gu as Textarea, gv as TextareaProps, gw as Theme, gx as TileButton, gy as TileButtonProps, gz as TileSize, gA as TimeAgo, gB as TimeAgoProps, gC as TimePicker, gD as TimePickerProps, gE as TimeSeriesChart, gF as TimeSeriesChartProps, gG as TimeSeriesSeries, gH as TimelineMarker, gI as TimelineMarkerKind, gJ as TimelineReport, gK as TimelineScrubProgress, gL as TimelineTrack, gM as TimelineTrackItem, gN as TimelineTrackKind, gO as TimelineTrackPending, gP as TimelineTrackPhase, gQ as TimelineTrackPlayback, gR as TimelineTrackProps, gS as TimelineTrackThumb, gT as Title, gU as TitleLevel, gV as TitleProps, gW as ToastOptions, gX as ToastPlacement, gY as Tooltip, gZ as TooltipProps, g_ as TopNav, g$ as TopNavItem, h0 as TopNavProps, h1 as Tree, h2 as TreeDrop, h3 as TreeEmptySlot, h4 as TreeEmptySlotProps, h5 as TreeGroup, h6 as TreeGroupLabel, h7 as TreeGroupProps, h8 as TreeMove, h9 as TreeProps, ha as TreeRow, hb as TreeRowProps, hc as TreeSeam, hd as TreeSeamProps, he as TreemapChart, hf as TreemapChartProps, hg as TreemapItem, hh as TreemapTile, hi as UseAppUpdateOptions, hj as UseContextMenu, hk as UseProductionTimelineOpts, hl as VERSION, hm as VITE_PRELOAD_ERROR_EVENT, hn as WaterfallChart, ho as WaterfallChartProps, hp as WaterfallStep, hq as ZLayer, hr as Z_LAYERS, hs as angleScale, ht as appendKey, hu as applyThemePrefs, hv as arcPath, hw as areaBetween, hx as areaFrom, hy as autoHighlightIndex, hz as backspace, hA as bandScale, hB as binValues, hC as budgetState, hD as bumpPath, hE as buttonClasses, hF as calcOverall, hG as calcReportOverall, hH as colorFill, hI as colorSwatchClasses, hJ as confirm, hK as confirmDestructive, hL as curvePath, hM as dashFor, hN as describeContextTarget, hO as dismissPopups, hP as fillFor, hQ as fillId, hR as fmtSliderDate, hS as fromDateKey, hT as glassStyle, hU as glowId, hV as groundId, hW as groupColors, hX as hexToHsv, hY as highlightOpacity, hZ as hsvToHex, h_ as iconButtonClasses, h$ as inputClasses, i0 as installStaleChunkReload, i1 as isMac, i2 as isSeverityTone, i3 as isStaleChunkError, i4 as keepsNativeMenu, i5 as labelClasses, i6 as ladderScale, i7 as leavesContextMenuAlone, i8 as linearPath, i9 as linearScale, ia as logScale, ib as maskId, ic as mediaFileName, id as monotonePath, ie as niceMax, ig as openGlobalSearch, ih as parseHexColor, ii as polygonPoints, ij as popupBounds, ik as prompt, il as pushRecentSearch, im as radiusScale, io as registerModalEscapeInterceptor, ip as resolveBrandMarkTreatment, iq as resolvePortalBrandAsset, ir as resolveSeriesColor, is as resolveTheme, it as sanitizeRecentSearches, iu as seriesColor, iv as severityOf, iw as splinePath, ix as squarify, iy as stagger, iz as stepPath, iA as tabButtonId, iB as tabPanelId, iC as toDateKey, iD as toDayMs, iE as toISODate, iF as toast, iG as useAppUpdate, iH as useClickOutside, iI as useConfirm, iJ as useContextMenu, iK as useDebouncedValue, iL as useDropdownPosition, iM as useFocusTrap, iN as useHighlight, iO as useIsMobile, iP as useLocalStoragePrefs, iQ as usePlotWidth, iR as usePortalBranding, iS as useProductionTimeline, iT as useScrollLock, iU as useShellLocale, iV as useShellPrefs, iW as useShellStrings, iX as useTheme } from './index-DcLqfJX3.js';
1
+ import { S as SearchConfig, C as ColumnDef, a as SortState, P as PaginatedResponse } from './index-CbLbd__n.js';
2
+ export { A as ALT, b as ALT_SHIFT_D, c as ALT_SHIFT_E, d as ALT_SHIFT_N, e as APP_UPDATE_POLL_MS, f as Accordion, g as AccordionItem, h as AccordionProps, i as Align, j as AngleScale, k as AppUpdateBanner, l as AppUpdateBannerProps, m as AttachButton, n as AttachButtonProps, o as AttachmentDropZone, p as AttachmentDropZoneProps, q as AttachmentList, r as AttachmentListProps, s as AuthScreen, t as AuthScreenProps, u as Avatar, v as AvatarGroup, w as AvatarGroupProps, x as AvatarProps, y as AvatarSize, z as AvatarStatus, B as BackgroundVariant, D as BandScale, E as Banner, F as BannerEmphasis, G as BannerProps, H as BannerTone, I as BarChart, J as BarChartProps, K as BoxPlotBox, L as BoxPlotChart, M as BoxPlotChartProps, N as BrandAssetEditor, O as BrandAssetEditorProps, Q as BrandAssetPreview, R as BrandMark, T as BrandMarkProps, U as BrandMarkSlot, V as BrandMarkSurface, W as BrandMarkTreatment, X as BreadcrumbItem, Y as Breadcrumbs, Z as BreadcrumbsProps, _ as BudgetBar, $ as BudgetBarProps, a0 as BudgetState, a1 as Button, a2 as ButtonClassesOptions, a3 as ButtonProps, a4 as ButtonSize, a5 as ButtonVariant, a6 as CHART_INK, a7 as CMD_A, a8 as CMD_DOT, a9 as CMD_ENTER, aa as CMD_K, ab as CMD_S, ac as Calendar, ad as CalendarMode, ae as CalendarProps, af as Candle, ag as CandlestickChart, ah as CandlestickChartProps, ai as Card, aj as CardPadding, ak as CardProps, al as CartesianPlot, am as CartesianPlotProps, an as CellStyle, ao as ChartBackgroundVariant, ap as ChartBrush, aq as ChartBrushProps, ar as ChartCurve, as as ChartDefs, at as ChartDefsProps, au as ChartDot, av as ChartDotProps, aw as ChartDotVariant, ax as ChartFillVariant, ay as ChartFrame, az as ChartFrameProps, aA as ChartHighlightProvider, aB as ChartLegendEntry, aC as ChartLegendSwatch, aD as ChartRange, aE as ChartReferenceLine, aF as ChartRevealDirection, aG as ChartSkeleton, aH as ChartSkeletonProps, aI as ChartStatusTone, aJ as ChartStrokeVariant, aK as ChartTooltip, aL as ChartTooltipProps, aM as ChartTooltipRow, aN as ChatTemplate, aO as Checkbox, aP as CheckboxProps, aQ as CheckoutTemplate, aR as ChordChart, aS as ChordChartProps, aT as ColorPicker, aU as ColorPickerPanel, aV as ColorPickerPanelProps, aW as ColorPickerProps, aX as ColorPreset, aY as ColorSwatch, aZ as ColorSwatchProps, a_ as ColorSwatchSize, a$ as ColoredBadge, b0 as ColoredBadgeProps, b1 as ColumnChart, b2 as ColumnChartProps, b3 as ColumnSeries, b4 as ComposerAttachments, b5 as ComposerAttachmentsProps, b6 as ConfirmProvider, b7 as ContainerFillChart, b8 as ContainerFillChartProps, b9 as ContainerFillItem, ba as ContextMenu, bb as ContextMenuPoint, bc as ContextMenuProps, bd as ContextMenuState, be as CountBadge, bf as CountBadgeProps, bg as CountBadgeTone, bh as Curve, bi as DAY_MS, bj as DEFAULT_SHELL_STRINGS, bk as DashboardTemplate, bl as DataTable, bm as DataTableColumn, bn as DataTableColumnGroup, bo as DataTableHeader, bp as DataTablePage, bq as DataTableProps, br as DataTableRowLink, bs as DataTableRowProps, bt as DatePicker, bu as DatePickerProps, bv as DateRangePicker, bw as DateRangePickerProps, bx as DateTimePicker, by as DateTimePickerProps, bz as DescriptionColumns, bA as DescriptionItem, bB as DescriptionList, bC as DescriptionListProps, bD as Dialog, bE as DialogProps, bF as DialogSize, bG as Divider, bH as DividerProps, bI as DividerSpacing, bJ as DonutChart, bK as DonutChartProps, bL as DonutSegment, bM as Drawer, bN as DrawerProps, bO as DrawerSide, bP as DrawerSize, bQ as DropdownMenu, bR as DropdownMenuAlign, bS as DropdownMenuCheckboxItem, bT as DropdownMenuDividerItem, bU as DropdownMenuEntry, bV as DropdownMenuItem, bW as DropdownMenuLabelItem, bX as DropdownMenuLinkItem, bY as DropdownMenuProps, bZ as DropdownMenuRadioItem, b_ as DropdownMenuSide, b$ as DropdownPositionOptions, c0 as ENTER, c1 as EditableGrid, c2 as EditableGridProps, c3 as EmailTemplate, c4 as EmptyState, c5 as EmptyStateProps, c6 as EmptyValue, c7 as EmptyValueProps, c8 as ErrorBoundary, c9 as ErrorBoundaryProps, ca as ErrorPage, cb as ErrorPageProps, cc as FileIntake, cd as FilePicker, ce as FilePickerProps, cf as FillVariant, cg as FormError, ch as FormErrorSummary, ci as FormErrorSummaryProps, cj as FormField, ck as FormFieldProps, cl as FormLayoutPage, cm as FunnelChart, cn as FunnelChartProps, co as FunnelStage, cp as GLASS_DIVIDER, cq as GLASS_INPUT_BG, cr as GROUP_COLORS, cs as GROUP_COLORS_SOLID, ct as GalleryTemplate, cu as Gap, cv as GlassOptions, cw as GlobalSearch, cx as GlobalSearchProps, cy as Grid, cz as GridCols, cA as GridColumn, cB as GridProps, cC as HeatmapChart, cD as HeatmapChartProps, cE as HelpCenter, cF as HelpCenterDoc, cG as HelpCenterProps, cH as HexInput, cI as HistogramBin, cJ as HistogramChart, cK as HistogramChartProps, cL as Hsv, cM as INPUT_BASE, cN as INPUT_SIZES, cO as IconButton, cP as IconButtonClassesOptions, cQ as IconButtonProps, cR as IconRail, cS as IconRailButton, cT as IconRailButtonProps, cU as IconRailLabels, cV as IconRailLabelsShown, cW as IconRailOrientation, cX as IconRailProps, cY as Inline, cZ as InlineProps, c_ as Input, c$ as InputNumber, d0 as InputNumberProps, d1 as InputProps, d2 as InputSize, d3 as Justify, d4 as Kanban, d5 as KanbanColumn, d6 as KanbanProps, d7 as Kbd, d8 as KbdProps, d9 as KbdSize, da as Label, db as LabelClassesOptions, dc as LabelProps, dd as LadderScale, de as LineChart, df as LineChartProps, dg as LineChartSeries, dh as LinearScale, di as ListDrop, dj as ListFooter, dk as ListLoadError, dl as ListLoadErrorProps, dm as ListMove, dn as ListRow, dp as ListRowProps, dq as LoadingSpinner, dr as LoadingSpinnerProps, ds as MAX_FRACTION_DIGITS, dt as MENU_MAX_HEIGHT, du as MOD, dv as MOTION, dw as Markdown, dw as MarkdownLite, dx as MarkdownLiteProps, dx as MarkdownProps, dy as MediaUploadField, dz as MediaUploadFieldProps, dA as MediaUploadGrid, dB as MediaUploadGridItem, dC as MediaUploadGridProps, dD as MenuPos, dE as Meter, dF as MeterProps, dG as MetricBar, dH as MetricBarProps, dI as Milestone, dJ as MilestoneKind, dK as MilestoneTimeline, dL as MilestoneTimelineProps, dM as NATIVE_MENU_ATTR, dN as NEXT_CHUNK_PATH_PREFIX, dO as NativeSelect, dP as NumericKeypad, dQ as NumericKeypadProps, dR as OVERLAY_OPEN_EVENT, dS as POPUP_MAX_WIDTH, dT as POST_PRODUCTION_STATUSES, dU as PageHeader, dV as PageHeaderProps, dW as Pagination, dX as PaginationProps, dY as PaperclipGlyph, dZ as Paragraph, d_ as ParagraphProps, d$ as PieChart, e0 as PieChartProps, e1 as PieSegment, e2 as PlotGeometry, e3 as Point, e4 as Popover, e5 as PopoverAlign, e6 as PopoverProps, e7 as PopoverRenderProps, e8 as PopoverSide, e9 as PopupMenu, ea as PopupMenuDivider, eb as PopupMenuItem, ec as PopupMenuItemProps, ed as PopupMenuLabel, ee as PopupMenuProps, ef as PopupSubmenu, eg as PopupSubmenuProps, eh as PortalBrandingContextValue, ei as PortalBrandingProvider, ej as PortalBrandingProviderProps, ek as ProductionTimeline, el as ProductionTimelineProps, em as ProductionTimelineSnapshot, en as ProgressItem, eo as PublicPortal, ep as PublicPortalBranding, eq as RADAR_SERIES_CAP, er as RadarAxis, es as RadarChart, et as RadarChartProps, eu as RadarSeries, ev as RadialBarChart, ew as RadialBarChartProps, ex as RadialBarRow, ey as Radio, ez as RadioGroup, eA as RadioGroupOption, eB as RadioGroupOrientation, eC as RadioGroupProps, eD as RadioProps, eE as Range, eF as RangeChart, eG as RangeChartProps, eH as RangeRow, eI as RankedBars, eJ as RankedBarsProps, eK as RankedBarsRow, eL as ResizeHandle, eM as ResizeHandleProps, eN as ResizeHandleSide, eO as ResolvedPortalBrandAsset, eP as Result, eQ as ResultProps, eR as ResultStatus, eS as RevealDirection, eT as SCATTER_SERIES_CAP, eU as SERIES_SLOT_COUNT, eV as SERIES_VARS, eW as SHIFT, eX as STAGES, eY as STALE_CHUNK_RELOAD_COOLDOWN_MS, eZ as STALE_CHUNK_RELOAD_KEY, e_ as STATUS_VARS, e$ as SankeyChart, f0 as SankeyChartProps, f1 as SankeyLink, f2 as SankeyNode, f3 as ScatterChart, f4 as ScatterChartProps, f5 as ScatterPoint, f6 as ScatterSeries, f7 as SearchListRoute, f8 as SearchProvider, f9 as SearchQuickAction, fa as SearchResponse, fb as SearchResult, fc as SearchableItem, fd as SearchableOption, fe as SearchableOptionGroup, ff as SearchableSelect, fg as SearchableSelectBaseProps, fh as SearchableSelectMultipleProps, fi as SearchableSelectProps, fj as Segmented, fk as SegmentedOption, fl as SegmentedProps, fm as SegmentedSize, fn as Select, fo as SelectBaseProps, fp as SelectItem, fq as SelectMultipleProps, fr as SelectOption, fs as SelectOptionGroup, ft as SelectProps, fu as SemanticGroup, fv as SettingRow, fw as SettingRowProps, fx as SeverityTone, fy as ShellContextKind, fz as ShellContextTarget, fA as ShellPrefsAdapter, fB as ShellPrefsProvider, fC as ShellStrings, fD as ShellStringsOverride, fE as ShellStringsProvider, fF as SidebarActionButton, fG as SidebarActionButtonProps, fH as SidebarGroupLabel, fI as SidebarGroupLabelProps, fJ as SidebarLayout, fK as SidebarLayoutProps, fL as SidebarNavGroup, fM as SidebarNavGroupProps, fN as SidebarNavItem, fO as SidebarNavItemProps, fP as Skeleton, fQ as SkeletonProps, fR as SkeletonVariant, fS as Slider, fT as SliderProps, fU as SliderSize, fV as Snippet, fW as SnippetProps, fX as SnippetSize, fY as SnippetVariant, fZ as SortableList, f_ as SortableListProps, f$ as SortableListSpacing, g0 as Sparkline, g1 as SparklineProps, g2 as Stack, g3 as StackProps, g4 as StaleChunkReloadOptions, g5 as StatCard, g6 as StatCardProps, g7 as StatTile, g8 as StatTileProps, g9 as Statistic, ga as StatisticProps, gb as StatisticSize, gc as StatisticTone, gd as StatusBadge, ge as StatusBadgeProvider, gf as StatusEmphasis, gg as StepItem, gh as Stepper, gi as StepperProps, gj as StrokeVariant, gk as SunburstChart, gl as SunburstChartProps, gm as SunburstNode, gn as Switch, go as SwitchProps, gp as SwitchSize, gq as TabItem, gr as Tabs, gs as TabsProps, gt as TagInput, gu as TagInputOption, gv as TagInputProps, gw as Text, gx as TextProps, gy as TextSize, gz as TextTone, gA as TextWeight, gB as Textarea, gC as TextareaProps, gD as Theme, gE as TileButton, gF as TileButtonProps, gG as TileSize, gH as TimeAgo, gI as TimeAgoProps, gJ as TimePicker, gK as TimePickerProps, gL as TimeSeriesChart, gM as TimeSeriesChartProps, gN as TimeSeriesSeries, gO as TimelineMarker, gP as TimelineMarkerKind, gQ as TimelineReport, gR as TimelineScrubProgress, gS as TimelineTrack, gT as TimelineTrackItem, gU as TimelineTrackKind, gV as TimelineTrackPending, gW as TimelineTrackPhase, gX as TimelineTrackPlayback, gY as TimelineTrackProps, gZ as TimelineTrackThumb, g_ as Title, g$ as TitleLevel, h0 as TitleProps, h1 as ToastOptions, h2 as ToastPlacement, h3 as Tooltip, h4 as TooltipProps, h5 as TopNav, h6 as TopNavItem, h7 as TopNavProps, h8 as Tree, h9 as TreeDrop, ha as TreeEmptySlot, hb as TreeEmptySlotProps, hc as TreeGroup, hd as TreeGroupLabel, he as TreeGroupProps, hf as TreeMove, hg as TreeProps, hh as TreeRow, hi as TreeRowProps, hj as TreeSeam, hk as TreeSeamProps, hl as TreemapChart, hm as TreemapChartProps, hn as TreemapItem, ho as TreemapTile, hp as UseAppUpdateOptions, hq as UseContextMenu, hr as UseProductionTimelineOpts, hs as VERSION, ht as VITE_PRELOAD_ERROR_EVENT, hu as WaterfallChart, hv as WaterfallChartProps, hw as WaterfallStep, hx as ZLayer, hy as Z_LAYERS, hz as angleScale, hA as appendKey, hB as applyThemePrefs, hC as arcPath, hD as areaBetween, hE as areaFrom, hF as autoHighlightIndex, hG as backspace, hH as bandScale, hI as binValues, hJ as budgetState, hK as bumpPath, hL as buttonClasses, hM as calcOverall, hN as calcReportOverall, hO as colorFill, hP as colorSwatchClasses, hQ as confirm, hR as confirmDestructive, hS as curvePath, hT as dashFor, hU as describeContextTarget, hV as dismissPopups, hW as fillFor, hX as fillId, hY as fmtSliderDate, hZ as fromDateKey, h_ as glassStyle, h$ as glowId, i0 as groundId, i1 as groupColors, i2 as hexToHsv, i3 as highlightOpacity, i4 as hsvToHex, i5 as iconButtonClasses, i6 as inputClasses, i7 as installStaleChunkReload, i8 as isMac, i9 as isSeverityTone, ia as isStaleChunkError, ib as keepsNativeMenu, ic as labelClasses, id as ladderScale, ie as leavesContextMenuAlone, ig as linearPath, ih as linearScale, ii as logScale, ij as maskId, ik as mediaFileName, il as monotonePath, im as niceMax, io as openGlobalSearch, ip as parseHexColor, iq as polygonPoints, ir as popupBounds, is as prompt, it as pushRecentSearch, iu as radiusScale, iv as registerModalEscapeInterceptor, iw as resolveBrandMarkTreatment, ix as resolvePortalBrandAsset, iy as resolveSeriesColor, iz as resolveTheme, iA as sanitizeRecentSearches, iB as seriesColor, iC as severityOf, iD as splinePath, iE as squarify, iF as stagger, iG as stepPath, iH as tabButtonId, iI as tabPanelId, iJ as toDateKey, iK as toDayMs, iL as toISODate, iM as toast, iN as useAppUpdate, iO as useClickOutside, iP as useConfirm, iQ as useContextMenu, iR as useDebouncedValue, iS as useDropdownPosition, iT as useFocusTrap, iU as useHighlight, iV as useIsMobile, iW as useLocalStoragePrefs, iX as usePlotWidth, iY as usePortalBranding, iZ as useProductionTimeline, i_ as useScrollLock, i$ as useShellLocale, j0 as useShellPrefs, j1 as useShellStrings, j2 as useTheme } from './index-CbLbd__n.js';
3
3
  export { FileIntakeAlert, FileIntakeLimits, FileIntakeOptions, FileRejection, FileRejectionReason, acceptsFile, useFileIntake } from './file-intake/index.js';
4
4
  export { C as CurrencyFormat, D as DATE_FORMAT_OPTIONS, a as DateFormatKey, E as EMPTY_VALUE, F as FormatDateOptions, b as FormatMoneyOptions, T as TZ_AUTO, c as TimeAgoOptions, d as currencyDecimals, e as currencySymbol, f as firstDayOfWeek, g as formatBytes, h as formatDate, i as formatDateTime, j as formatMoney, k as formatTime, l as getUserDateFormat, m as getUserTimezone, s as setCurrencyFormats, n as setUserDateFormat, o as setUserTimezone, p as syncTimezoneFromProfile, t as timeAgo } from './index-DCUzlKPZ.js';
5
5
  import { W as WindowRegistry } from './types-BOinJXUf.js';