efficient-shell 7.27.0 → 7.29.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 (75) hide show
  1. package/dist/{Browser-OL5LGTQ2.js → Browser-5DWPCWSB.js} +14 -14
  2. package/dist/Calculator-756J7AGT.js +29 -0
  3. package/dist/ConfirmDialog-GY3PLMAD.js +1 -0
  4. package/dist/CurrencyConverter-TVIYMDYE.js +21 -0
  5. package/dist/{Documents-MCMYMQQL.js → Documents-ZHENRDK2.js} +26 -26
  6. package/dist/Files-YKUTWABM.js +87 -0
  7. package/dist/Notepad-7MXZE6S4.js +25 -0
  8. package/dist/PdfViewer-T6SP6R6J.js +1 -0
  9. package/dist/{PomodoroTimer-BMBZ2TTC.js → PomodoroTimer-IUPEDDQV.js} +20 -20
  10. package/dist/{Preview-2BYPAVX5.js → Preview-6XGCKFXK.js} +20 -20
  11. package/dist/Sidebar-P3WJQSY5.js +44 -0
  12. package/dist/Spreadsheet-POFCH3DZ.js +37 -0
  13. package/dist/{Stock-4LFU53UL.js → Stock-MKUCNEAH.js} +3 -3
  14. package/dist/{Weather-BIOZMSPH.js → Weather-6Q7DSJR4.js} +18 -18
  15. package/dist/{WorldClock-BO6TIFOK.js → WorldClock-LTJJP4SS.js} +7 -7
  16. package/dist/apps/index.js +1 -1
  17. package/dist/bin/ui-check.js +1 -1
  18. package/dist/brand.css +1 -1
  19. package/dist/{chunk-OICSZKUO.js → chunk-2ECESCBH.js} +1 -1
  20. package/dist/chunk-2PNYIWIN.js +1 -0
  21. package/dist/{chunk-F2GDJO2Y.js → chunk-4EMCPU7W.js} +16 -16
  22. package/dist/{chunk-LG3UEPOI.js → chunk-BDXFODVC.js} +4 -4
  23. package/dist/chunk-BTLM7W6P.js +1 -0
  24. package/dist/{chunk-YJZ4VVDT.js → chunk-C4QIJNW3.js} +11 -11
  25. package/dist/{chunk-6RFXIPCN.js → chunk-DFCTQOIL.js} +1 -1
  26. package/dist/{chunk-GXHXNI55.js → chunk-DFEO2CGF.js} +1 -1
  27. package/dist/chunk-EFYGUYEZ.js +27 -0
  28. package/dist/{chunk-RMXUKHVK.js → chunk-GPHWFPXA.js} +1 -1
  29. package/dist/{chunk-DY43MKMT.js → chunk-H3ODY2XB.js} +1 -1
  30. package/dist/{chunk-H3U47ZEL.js → chunk-IIIUHK3J.js} +11 -11
  31. package/dist/{chunk-C2PGWIIO.js → chunk-JIHKEOLY.js} +1 -1
  32. package/dist/chunk-LKFJPLTO.js +1035 -0
  33. package/dist/{chunk-2I3Z4UFG.js → chunk-LU7X6LLY.js} +25 -25
  34. package/dist/{chunk-6JVUT3D4.js → chunk-OD3MT6SF.js} +2 -2
  35. package/dist/{chunk-6AXCLPSI.js → chunk-RAFTWZF5.js} +1 -1
  36. package/dist/chunk-REZ2UWJT.js +108 -0
  37. package/dist/{chunk-RVPQRXC4.js → chunk-RYBDLJJV.js} +1 -1
  38. package/dist/{chunk-ZXHA3XDM.js → chunk-T3UAIICC.js} +1 -1
  39. package/dist/chunk-V5MNUKAJ.js +1 -0
  40. package/dist/chunk-WOZ36LPR.js +9 -0
  41. package/dist/{chunk-Y6UXNQ42.js → chunk-X6ALQ2S6.js} +3 -3
  42. package/dist/chunk-XZXMVACA.js +5 -0
  43. package/dist/chunk-YO4FRA7Y.js +10 -0
  44. package/dist/{chunk-MEIVZG77.js → chunk-Z756FAL6.js} +9 -9
  45. package/dist/file-intake/index.js +1 -1
  46. package/dist/i18n/index.d.ts +1 -1
  47. package/dist/{index-cfVn8e67.d.ts → index-CLkh3Bps.d.ts} +42 -2
  48. package/dist/index.d.ts +13 -13
  49. package/dist/index.js +678 -661
  50. package/dist/locales/zh-Hans.d.ts +1 -1
  51. package/dist/locales/zh-Hans.js +1 -1
  52. package/dist/map/index.js +2 -2
  53. package/dist/page-tabs/index.js +5 -5
  54. package/dist/pdf/index.js +1 -1
  55. package/dist/{strings-DkffgGGm.d.ts → strings-DzmlWMRe.d.ts} +19 -0
  56. package/dist/telemetry/index.js +1 -1
  57. package/dist/ui/index.d.ts +2 -2
  58. package/dist/ui/index.js +1 -1
  59. package/package.json +1 -1
  60. package/dist/Calculator-HARXMYLM.js +0 -29
  61. package/dist/ConfirmDialog-VL3YU35U.js +0 -1
  62. package/dist/CurrencyConverter-KQ5UR4AU.js +0 -21
  63. package/dist/Files-CCP2UU4G.js +0 -87
  64. package/dist/Notepad-BAIEYDR6.js +0 -25
  65. package/dist/PdfViewer-4KFBJ4ZV.js +0 -1
  66. package/dist/Sidebar-GO32NHGH.js +0 -44
  67. package/dist/Spreadsheet-SQVOSXTU.js +0 -37
  68. package/dist/chunk-42B7TUEB.js +0 -1
  69. package/dist/chunk-CV3XVHWR.js +0 -108
  70. package/dist/chunk-DBWGMZCY.js +0 -1
  71. package/dist/chunk-MDM7YLWP.js +0 -1
  72. package/dist/chunk-QD22TNW3.js +0 -27
  73. package/dist/chunk-QKNGN4H4.js +0 -10
  74. package/dist/chunk-SZTKBF3D.js +0 -13
  75. package/dist/chunk-VROJD5KW.js +0 -1035
@@ -0,0 +1,9 @@
1
+ import{solidSurfaceStyle as t}from"./chunk-7IQ3B77H.js";import{registerModalEscapeInterceptor as e,escapeSurfaceAbove as o,onOverlayOpen as i,Z_LAYERS as r}from"./chunk-FIEA5CGB.js";import{useBrowserLayoutEffect as n}from"./chunk-D65T4H6J.js";import{createContext as a,useState as h,useContext as l,useRef as m,useId as d,useEffect as s,isValidElement as c,cloneElement as f}from"react";import{createPortal as u}from"react-dom";import{jsxs as p,jsx as g,Fragment as x}from"react/jsx-runtime";var b=448,w=240,M=8,v=()=>({left:0,right:window.innerWidth,top:0,bottom:window.innerHeight});function N(t){const e=v(),o=t?.closest?.("[data-modal-panel]");if(!o)return e;const i=o.getBoundingClientRect();return i.width<=0||i.height<=0?e:{left:Math.max(e.left,i.left),right:Math.min(e.right,i.right),top:Math.max(e.top,i.top),bottom:Math.min(e.bottom,i.bottom)}}var y=/* @__PURE__ */new Set(["hidden","clip","auto","scroll"]);var W={top:"bottom",bottom:"top",left:"right",right:"left"},H={top:["right","left"],bottom:["right","left"],left:["top","bottom"],right:["top","bottom"]};function k(t,e,o){return{top:t.top-o-(e.top+8),bottom:e.bottom-8-(t.bottom+o),left:t.left-o-(e.left+8),right:e.right-8-(t.right+o)}}var B=(t,e,o)=>Math.max(e,Math.min(t,o));function C(t,e,o){return E(()=>t()?.getBoundingClientRect(),e,o)}function E(t,e,o){let i=NaN,r=NaN,n=NaN,a=NaN,h=NaN;const l=()=>{const e=t();if(!e)return!1;const l=o?o():NaN,m=e.left!==i||e.top!==r||e.right!==n||e.bottom!==a||l!==h&&!(Number.isNaN(l)&&Number.isNaN(h));return i=e.left,r=e.top,n=e.right,a=e.bottom,h=l,m};l();const m=()=>{l(),e()};let d=requestAnimationFrame(function t(){l()&&e(),d=requestAnimationFrame(t)});return window.addEventListener("scroll",m,!0),window.addEventListener("resize",m),()=>{cancelAnimationFrame(d),window.removeEventListener("scroll",m,!0),window.removeEventListener("resize",m)}}function R({trigger:t,menu:e,bounds:o,align:i,side:r}){const n=k(t,o,4),a="bottom"===r?"top":"bottom",h=e.height>n[r]&&(e.height<=n[a]||n[a]>n[r])?a:r,l=Math.max(Math.min(e.height,96),n[h]),m=Math.min(e.height,l),d=B("bottom"===h?t.bottom+4:t.top-4-m,o.top+8,o.bottom-8-m),s=Math.max(0,o.right-o.left-16),c=Math.min(e.width,s);return{left:B("start"===i?t.left:t.right-c,o.left+8,o.right-8-c),top:d,side:h,maxHeight:l,maxWidth:s}}function j(t,e,o={}){const{matchTriggerWidth:i=!1,preferredMaxWidth:r=b,preferredMaxHeight:a=w,popupRef:l}=o,[m,d]=h(null);return n(()=>{if(!e)return void d(null);const o=()=>{const e=t.current,o=e?.getBoundingClientRect();if(!o)return;const n=N(e),h=n.bottom-o.bottom-4-8,m=o.top-n.top-4-8,s=h<Math.min(a,160)&&m>h,c=Math.max(96,Math.min(a,s?m:h)),f=Math.max(0,n.right-n.left-16),u={minWidth:o.width,maxWidth:Math.min(r,f),maxHeight:c};if(i){const t=Math.min(o.width,f);u.width=t,u.maxWidth=t,u.left=Math.min(Math.max(n.left+8,o.left),n.right-8-t)}else if(l&&n.right-8-o.left<u.maxWidth&&Math.min(o.right,n.right-8)-n.left-8<u.maxWidth){const t=l.current?.offsetWidth??0,e=t>0?Math.min(t,u.maxWidth):u.maxWidth;u.left=Math.max(n.left+8,Math.min(o.left,n.right-8-e))}else if(n.right-8-o.left<u.maxWidth){const t=Math.min(o.right,n.right-8);u.right=window.innerWidth-t,u.maxWidth=Math.min(u.maxWidth,Math.max(0,t-n.left-8))}else u.left=Math.max(n.left+8,o.left);s?u.bottom=window.innerHeight-o.top+4:u.top=o.bottom+4,d(u)};return o(),C(()=>t.current,o,l?()=>l.current?.offsetWidth??NaN:void 0)},[e,t,i,r,a,l]),m}function T({point:t,menu:e,bounds:o}){const i={left:t.x,right:t.x,top:t.y,bottom:t.y},r=o.right-8-t.x,n=t.x-(o.left+8);return R({trigger:i,menu:e,bounds:o,align:e.width<=r||r>=n?"start":"end",side:"bottom"})}var z=a(!1),F=()=>l(z),L={top:"bottom-full left-1/2 -translate-x-1/2 mb-3",bottom:"top-full left-1/2 -translate-x-1/2 mt-3",left:"right-full top-1/2 -translate-y-1/2 mr-3",right:"left-full top-1/2 -translate-y-1/2 ml-3"};function A({content:a,side:l="top",delay:x=200,children:b,className:w="relative inline-flex",describe:M=!0}){const[E,R]=h(!1),j=E&&!(null==a||!1===a||""===a),[T,F]=h(null),A=m(void 0),D=m(null),I=m(null),P=d(),S=m(!1),$=()=>{window.clearTimeout(A.current),S.current||(A.current=window.setTimeout(()=>R(!0),x))},q=()=>{window.clearTimeout(A.current),R(!1)},G=()=>{S.current=!0,q()},J=()=>{S.current=!1,q()};s(()=>()=>window.clearTimeout(A.current),[]),n(()=>{if(!j)return void F(null);const t=()=>{const t=D.current,e=I.current;if(!t||!e)return;const o=N(t),i=Math.max(0,o.right-o.left-16),r=Math.max(0,o.bottom-o.top-16);e.style.maxWidth=`${i}px`,e.style.maxHeight=`${r}px`;const n=e.getBoundingClientRect();if(n.width<=0||n.height<=0)return;const a=t.getBoundingClientRect();if(!function(t){const e=t.getBoundingClientRect();if(e.width<=0&&e.height<=0&&0===e.left&&0===e.top)return null;const o=v(),i={left:Math.max(o.left,e.left),right:Math.min(o.right,e.right),top:Math.max(o.top,e.top),bottom:Math.min(o.bottom,e.bottom)};let r=getComputedStyle(t).position;for(let e=t.parentElement;e&&e!==document.documentElement&&"fixed"!==r;e=e.parentElement){const t=getComputedStyle(e);if("absolute"===r&&"static"===t.position)continue;r=t.position;const o=y.has(t.overflowX),n=y.has(t.overflowY);if(!o&&!n)continue;const a=e.getBoundingClientRect();a.width<=0&&a.height<=0||(o&&(i.left=Math.max(i.left,a.left),i.right=Math.min(i.right,a.right)),n&&(i.top=Math.max(i.top,a.top),i.bottom=Math.min(i.bottom,a.bottom)))}return i.right>=i.left&&i.bottom>=i.top?i:null}(t))return void q();const h=function(t,e,o,i,r){const n=k(t,i,r),a=t=>n[t]-("top"===t||"bottom"===t?e.height:e.width),h=[o,W[o],...H[o]],l=h.find(t=>a(t)>=0)??h.reduce((t,e)=>a(e)>a(t)?e:t),m=(t.left+t.right)/2,d=(t.top+t.bottom)/2;let s,c;switch(l){case"top":s=m-e.width/2,c=t.top-r-e.height;break;case"bottom":s=m-e.width/2,c=t.bottom+r;break;case"left":s=t.left-r-e.width,c=d-e.height/2;break;case"right":s=t.right+r,c=d-e.height/2}return{side:l,left:B(s,i.left+8,i.right-8-e.width),top:B(c,i.top+8,i.bottom-8-e.height)}}(a,n,l,o,12),m=function(t,e,o,i,r){const{side:n,left:a,top:h}=e,l=a+o.width,m=h+o.height;if({top:t.top-m,bottom:h-t.bottom,left:t.left-l,right:a-t.right}[n]<r)return null;const d=(t,e,o)=>o<2*i?e+o/2:Math.max(e+i,Math.min(t,e+o-i)),s=(t.left+t.right)/2,c=(t.top+t.bottom)/2;switch(n){case"top":return{side:n,x:d(s,a,o.width),y:m};case"bottom":return{side:n,x:d(s,a,o.width),y:h};case"left":return{side:n,x:l,y:d(c,h,o.height)};case"right":return{side:n,x:a,y:d(c,h,o.height)}}}(a,h,n,16,6),d={anchor:{left:a.left,top:a.top,width:a.width,height:a.height},left:h.left-a.left,top:h.top-a.top,maxWidth:i,maxHeight:r,side:h.side,arrow:m&&{left:m.x-a.left,top:m.y-a.top}};F(t=>{return t&&(o=d,(e=t).anchor.left===o.anchor.left&&e.anchor.top===o.anchor.top&&e.anchor.width===o.anchor.width&&e.anchor.height===o.anchor.height&&e.left===o.left&&e.top===o.top&&e.maxWidth===o.maxWidth&&e.maxHeight===o.maxHeight&&e.side===o.side&&e.arrow?.left===o.arrow?.left&&e.arrow?.top===o.arrow?.top)?t:d;var e,o})};return t(),C(()=>D.current,t)},[j,l,a]),s(()=>{if(!j)return;const t=e(t=>"Escape"===t.key&&(q(),!o(D.current))),r=i(q);return()=>{t(),r()}},[j]);const Q=j&&M?P:void 0,X=c(b)?f(b,{"aria-describedby":[b.props["aria-describedby"],Q].filter(Boolean).join(" ")||void 0}):b,Y=j?t():void 0;/* @__PURE__ */
2
+ return p("span",{ref:D,className:w,"aria-describedby":c(b)?void 0:Q,onMouseEnter:$,onMouseLeave:J,onFocus:$,onBlur:J,onPointerDown:G,onClick:G,children:[
3
+ /* @__PURE__ */g(z.Provider,{value:!0,children:X}),j&&u(
4
+ /* @__PURE__ */p("span",{className:"pointer-events-none fixed left-0 top-0",style:{zIndex:r.hint,...T?.anchor},children:[
5
+ /* @__PURE__ */g("span",{ref:I,id:P,role:"tooltip",className:`pointer-events-none absolute z-(--z-hint) box-border w-max overflow-hidden whitespace-normal break-words text-start rounded-md px-2 py-1 text-xs text-gray-800 ${T?"":L[l]}`,style:{...Y,...T&&{left:T.left,top:T.top,maxWidth:T.maxWidth,maxHeight:T.maxHeight}},children:a}),(!T||T.arrow)&&
6
+ /* @__PURE__ */g("span",{"aria-hidden":"true",className:"rosh-tooltip-arrow","data-side":T?.side??l,style:{background:Y?.background,"--rosh-tooltip-edge":Y?.border,...T?.arrow&&{left:T.arrow.left,top:T.arrow.top}}})]}),document.body)]})}var D=t=>!0===t||"true"===t;function I(t){t.preventDefault(),t.stopPropagation()}var P=(t,e)=>[t,e].filter(Boolean).join(" ")||void 0;function S({reason:t,id:e,block:o=!1,children:i}){/* @__PURE__ */
7
+ return p(x,{children:[
8
+ /* @__PURE__ */g(A,{content:t,describe:!1,className:o?"relative flex w-full":"relative inline-flex",children:i}),
9
+ /* @__PURE__ */g("span",{id:e,className:"sr-only",children:t})]})}export{w as MENU_MAX_HEIGHT,S as OffWithReason,b as POPUP_MAX_WIDTH,A as Tooltip,M as VIEWPORT_MARGIN,P as describedByWith,C as followAnchor,E as followRect,D as isAriaDisabled,T as placeAtPoint,R as placeMenu,N as popupBounds,I as swallowPress,j as useDropdownPosition,F as useInsideTooltip};
@@ -1,9 +1,9 @@
1
- import{useWindowMenuItem as e,Modal as t}from"./chunk-CV3XVHWR.js";import{navIcons as r}from"./chunk-DSSLOQDW.js";import{VERSION as s}from"./chunk-MDM7YLWP.js";import{DEFAULT_SHELL_STRINGS as o,useShellStrings as n,splitAround as i}from"./chunk-DBWGMZCY.js";import{Icon as a}from"./chunk-B427NVDP.js";import{useState as m,useCallback as c,isValidElement as l,cloneElement as d}from"react";import{jsx as p,jsxs as h}from"react/jsx-runtime";var u=o.aboutApp,f={spreadsheet:{name:"Spreadsheets",version:"1.1.3",route:"/spreadsheet",description:u.spreadsheet},notepad:{name:"Notepad",version:"1.0.2",route:"/notepad",description:u.notepad},documents:{name:"Documents",version:"1.1.1",route:"/documents",description:u.documents},preview:{name:"Preview",version:"1.4.3",route:"/preview",description:u.preview},files:{name:"Files",version:"1.1.3",route:"/files",description:u.files},browser:{name:"Browser",version:"1.0.2",route:"/browser",description:u.browser}},x=/* @__PURE__ */p(a,{name:"info",className:"h-4 w-4",strokeWidth:1.5}),v=/* @__PURE__ */p(a,{name:"window",className:"h-9 w-9",strokeWidth:1.5});function w({app:o}){const a=f[o],[u,w]=m(!1),N=c(()=>w(!0),[]),g=n().aboutApp,b=g.title(a.name);if(e(b,N,x),!u)return null;const y=r[a.route],k=l(y)?d(y,{className:"h-9 w-9"}):v,[j,D]=i(g.partOf);/* @__PURE__ */
2
- return p(t,{open:!0,onClose:()=>w(!1),title:b,size:"sm",compact:!0,bodyScroll:!1,autoHeight:!0,dimensions:[320,320],children:/* @__PURE__ */h("div",{className:"flex flex-col items-center text-center px-5 pt-5 pb-4",children:[
1
+ import{useWindowMenuItem as e,Modal as t}from"./chunk-REZ2UWJT.js";import{navIcons as r}from"./chunk-DSSLOQDW.js";import{VERSION as s}from"./chunk-V5MNUKAJ.js";import{DEFAULT_SHELL_STRINGS as o,useShellStrings as n,splitAround as i}from"./chunk-2PNYIWIN.js";import{Icon as a}from"./chunk-B427NVDP.js";import{useState as m,useCallback as c,isValidElement as l,cloneElement as d}from"react";import{jsx as p,jsxs as h}from"react/jsx-runtime";var u=o.aboutApp,f={spreadsheet:{name:"Spreadsheets",version:"1.1.3",route:"/spreadsheet",description:u.spreadsheet},notepad:{name:"Notepad",version:"1.0.2",route:"/notepad",description:u.notepad},documents:{name:"Documents",version:"1.1.1",route:"/documents",description:u.documents},preview:{name:"Preview",version:"1.4.3",route:"/preview",description:u.preview},files:{name:"Files",version:"1.1.3",route:"/files",description:u.files},browser:{name:"Browser",version:"1.0.2",route:"/browser",description:u.browser}},x=/* @__PURE__ */p(a,{name:"info",className:"h-4 w-4",strokeWidth:1.5}),N=/* @__PURE__ */p(a,{name:"window",className:"h-9 w-9",strokeWidth:1.5});function v({app:o}){const a=f[o],[u,v]=m(!1),w=c(()=>v(!0),[]),g=n().aboutApp,b=g.title(a.name);if(e(b,w,x),!u)return null;const y=r[a.route],k=l(y)?d(y,{className:"h-9 w-9"}):N,[j,W]=i(g.partOf);/* @__PURE__ */
2
+ return p(t,{open:!0,onClose:()=>v(!1),title:b,size:"sm",compact:!0,bodyScroll:!1,autoHeight:!0,dimensions:[320,320],children:/* @__PURE__ */h("div",{className:"flex flex-col items-center text-center px-5 pt-5 pb-4",children:[
3
3
  /* @__PURE__ */p("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-gray-100 text-gray-600 shrink-0",children:k}),
4
4
  /* @__PURE__ */p("h2",{className:"mt-3 text-lg font-bold text-gray-900",children:a.name}),
5
5
  /* @__PURE__ */p("p",{className:"text-2xs font-mono text-gray-400",children:g.version(a.version)}),
6
6
  /* @__PURE__ */p("p",{className:"mt-2 text-xs text-gray-500 leading-relaxed",children:g[o]}),
7
7
  /* @__PURE__ */h("div",{className:"mt-4 pt-3 border-t border-gray-200 w-full",children:[
8
8
  /* @__PURE__ */h("p",{className:"text-2xs text-gray-500",children:[j,
9
- /* @__PURE__ */p("span",{className:"font-medium text-gray-700",children:"efficient-shell"}),D]}),s&&/* @__PURE__ */p("p",{className:"mt-0.5 text-2xs font-mono text-gray-400",children:g.shellVersion(s)})]})]})})}export{w as AboutApp,f as BUILTIN_APP_INFO};
9
+ /* @__PURE__ */p("span",{className:"font-medium text-gray-700",children:"efficient-shell"}),W]}),s&&/* @__PURE__ */p("p",{className:"mt-0.5 text-2xs font-mono text-gray-400",children:g.shellVersion(s)})]})]})})}export{v as AboutApp,f as BUILTIN_APP_INFO};
@@ -0,0 +1,5 @@
1
+ import{isAriaDisabled as e,swallowPress as a,describedByWith as r,OffWithReason as i}from"./chunk-WOZ36LPR.js";import{buttonClasses as s}from"./chunk-K7PQXJO7.js";import{forwardRef as l,useId as t}from"react";import{jsxs as c,jsx as n}from"react/jsx-runtime";function o(){/* @__PURE__ */
2
+ return c("svg",{className:"h-3.5 w-3.5 animate-spin",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[
3
+ /* @__PURE__ */n("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),
4
+ /* @__PURE__ */n("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"})]})}var d=l(function({variant:l="primary",size:d="md",loading:m=!1,leftIcon:p,rightIcon:u,block:b=!1,disabled:f,type:h="button",children:x,className:k="",disabledReason:y,onClick:v,pressed:N,"aria-disabled":g,"aria-describedby":C,...j},w){const z=t(),I=f||m,O=null!=y&&""!==y,P=I&&O,R=!I&&e(g),W=R&&O,B=P||W?z:void 0,H=/* @__PURE__ */c("button",{ref:w,type:h,disabled:I,"aria-busy":m||void 0,"aria-disabled":!!R||g,"aria-describedby":r(C,B),onClick:R?a:v,className:s({variant:l,size:d,block:b,pressed:N??(!0===j["aria-pressed"]||"true"===j["aria-pressed"]),className:k}),...j,children:[m?/* @__PURE__ */n(o,{}):p,x,!m&&u]});return W?/* @__PURE__ */n(i,{reason:y,id:z,block:b,children:H}):P?/* @__PURE__ */c("span",{className:b?"flex w-full flex-col gap-1":"inline-flex flex-col items-start gap-1",children:[H,
5
+ /* @__PURE__ */n("span",{id:B,className:"text-xs text-red-600",children:y})]}):H});export{d as Button_default};
@@ -0,0 +1,10 @@
1
+ import{useHydrated as e,useBrowserState as t}from"./chunk-D65T4H6J.js";import{useShellStrings as r}from"./chunk-2PNYIWIN.js";import{Icon as n}from"./chunk-B427NVDP.js";import{createContext as o,useSyncExternalStore as i,useCallback as a,useContext as s,useMemo as c}from"react";import{jsxs as l,jsx as u}from"react/jsx-runtime";var d="(max-width: 767px), (pointer: coarse)",f="(max-width: 767px)";function m(e){return!("undefined"==typeof window||!window.matchMedia)&&window.matchMedia(e).matches}var h=()=>m(d),w=()=>m(f);function g(){return!1}var p=e=>y(d,e),v=e=>y(f,e);function y(e,t){if("undefined"==typeof window||!window.matchMedia)return()=>{};const r=window.matchMedia(e);return r.addEventListener?(r.addEventListener("change",t),()=>r.removeEventListener("change",t)):(r.addListener(t),()=>r.removeListener(t))}function x(){return i(p,h,g)}function b(){return i(v,w,g)}var _={success:"success",error:"error",warning:"warning",info:"info",404:"info",403:"warning",500:"error"},D={success:"text-green-600 bg-green-100",error:"text-red-600 bg-red-100",warning:"text-amber-600 bg-amber-100",info:"text-blue-600 bg-blue-100"},S={404:e=>e.notFound,403:e=>e.noAccess,500:e=>e.serverError};function C({tone:e}){const t={className:"h-6 w-6",strokeWidth:1.5,"aria-hidden":!0};switch(e){case"success":/* @__PURE__ */
2
+ return u(n,{name:"check",...t});case"error":/* @__PURE__ */
3
+ return u(n,{name:"close",...t});case"warning":/* @__PURE__ */
4
+ return u(n,{name:"error",...t});default:/* @__PURE__ */
5
+ return u(n,{name:"info",...t})}}function E({status:e="info",title:t,subTitle:n,extra:o,icon:i,children:a,className:s=""}){const c=_[e],d=r().errors;/* @__PURE__ */
6
+ return l("div",{role:"error"===c?"alert":void 0,className:`flex flex-col items-center justify-center px-6 py-12 text-center ${s}`.trim(),children:[
7
+ /* @__PURE__ */u("div",{className:`flex h-14 w-14 items-center justify-center rounded-full ${D[c]}`,children:i??/* @__PURE__ */u(C,{tone:c})}),
8
+ /* @__PURE__ */u("h2",{className:"mt-4 text-lg font-semibold text-gray-900",children:t??S[e]?.(d)??""}),n&&/* @__PURE__ */u("p",{className:"mt-1 max-w-md text-sm text-gray-500",children:n}),a&&/* @__PURE__ */u("div",{className:"mt-4 w-full max-w-md text-left",children:a}),o&&/* @__PURE__ */u("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-3",children:o})]})}var L="undefined"!=typeof window&&"undefined"!=typeof navigator&&/Mac|iPhone|iPad/.test(navigator.platform||navigator.userAgent),M={MOD:["⌘","Ctrl"],ALT:["⌥","Alt"],CMD_ENTER:["⌘⏎","Ctrl⏎"],CMD_S:["⌘S","Ctrl+S"],CMD_K:["⌘K","Ctrl+K"],CMD_DOT:["⌘.","Ctrl+."],CMD_A:["⌘A","Ctrl+A"],CMD_Z:["⌘Z","Ctrl+Z"],CMD_SHIFT_Z:["⌘⇧Z","Ctrl+Shift+Z"],ALT_SHIFT_D:["⌥⇧D","Alt+Shift+D"],ALT_SHIFT_E:["⌥⇧E","Alt+Shift+E"],ALT_SHIFT_N:["⌥⇧N","Alt+Shift+N"]},N=L?0:1,T=M.MOD[N],A=M.ALT[N],k="⇧",I="⏎",j=M.CMD_ENTER[N],H=M.CMD_S[N],F=M.CMD_K[N],P=M.CMD_DOT[N],Z=M.CMD_A[N],O=M.CMD_Z[N],K=M.CMD_SHIFT_Z[N],R=M.ALT_SHIFT_D[N],z=M.ALT_SHIFT_E[N],J=M.ALT_SHIFT_N[N],U=new Map(L?Object.values(M).map(([e,t])=>[e,t]):[]);function W(t){return e()?t:U.get(t)??t}var B={neutral:"inline-flex items-center justify-center rounded border border-gray-200 bg-gray-50 font-medium text-gray-500",accent:"inline-flex items-center justify-center rounded border kbd-submit font-medium",warning:"inline-flex items-center justify-center rounded border border-amber-300 bg-amber-100 font-medium"},$={sm:"px-1 py-0.5 text-2xs",md:"px-2 py-0.5 text-2xs"};function V({keys:e,size:t="md",tone:r="neutral",className:n=""}){const o=W(e);/* @__PURE__ */
9
+ return u("kbd",{className:[B[r],$[t],n].filter(Boolean).join(" "),children:o})}var Y=o(null);function q({value:e,children:t}){/* @__PURE__ */
10
+ return u(Y.Provider,{value:e,children:t})}function G(e="react-os-shell:prefs",r){const[n,o]=t(()=>{try{const t=JSON.parse(localStorage.getItem(e)||"{}");return{...r??{},...t}}catch{return{...r??{}}}},{...r??{}});return{prefs:n,save:a(t=>{o(r=>{const n={...r,...t};try{localStorage.setItem(e,JSON.stringify(n))}catch{}return n})},[e])}}var Q={prefs:{},save:()=>{}};function X(){return s(Y)??Q}function ee(){const{prefs:e,save:t}=X(),r=a(e=>{const r=t(e);return r&&"function"==typeof r.then?r.catch(()=>{}):r},[t]);return c(()=>({prefs:e,save:r}),[e,r])}var te="react-os-shell:stale-chunk-reload-at",re=3e4,ne="vite:preloadError",oe="/_next/static/",ie=/Failed to fetch dynamically imported module|error loading dynamically imported module|Importing a module script failed|Unable to preload CSS/i;function ae(e){if(e instanceof Error&&"ChunkLoadError"===e.name)return!0;const t=e instanceof Error?e.message:"string"==typeof e?e:"";return ie.test(t)}function se(e={}){if("undefined"==typeof window)return()=>{};const t=e.cooldownMs??3e4,r=e.reload??(()=>window.location.reload()),n=e.now??Date.now,o=void 0===e.storage?function(){try{const e=window.sessionStorage;return e.getItem(te),e}catch{return null}}():e.storage,i=void 0===e.chunkPathPrefix?oe:e.chunkPathPrefix,a=e=>{const r=n(),i=function(e){if(!e)return null;try{const t=e.getItem(te),r=null===t?NaN:Number(t);return Number.isFinite(r)?r:null}catch{return null}}(o);return null!==i&&r-i<t?(console.error("[efficient-shell] a lazy chunk is still missing after a reload; letting the failure through:",e),!1):(function(e,t){if(e)try{e.setItem(te,String(t))}catch{}}(o,r),console.warn("[efficient-shell] a lazy chunk is no longer on the server (new deploy?); reloading onto the current build:",e),!0)},s=e=>{const t=e.payload;ae(t)&&a(t)&&(e.preventDefault(),r())};let c=!0,l=!1;const u=/* @__PURE__ */new Set,d=null===i?null:e=>{const t=function(e,t){const r=e.target;let n="";if(r instanceof window.HTMLScriptElement?n=r.src:r instanceof window.HTMLLinkElement&&function(e){const t=e.rel.toLowerCase().split(/\s+/);if(t.includes("stylesheet")||t.includes("modulepreload"))return!0;const r=(e.getAttribute("as")??"").toLowerCase();return t.includes("preload")&&("script"===r||"style"===r)}(r)?n=r.href:e instanceof window.ErrorEvent&&"SyntaxError"===e.error?.name&&(n=e.filename),!n)return null;try{const e=new URL(t,window.location.origin).href,r=new URL(n,window.location.href).href;return r.startsWith(e)?r:null}catch{return null}}(e,i);!t||l||u.has(t)||(u.add(t),async function(e){try{const t=await fetch(e,{method:"HEAD",cache:"no-store"});return 404===t.status||410===t.status||t.ok&&/\btext\/html\b/i.test(t.headers.get("content-type")??"")}catch{return!1}}(t).then(e=>{u.delete(t),e&&c&&!l&&a(t)&&(l=!0,r())}))};return window.addEventListener(ne,s),d&&window.addEventListener("error",d,!0),()=>{c=!1,window.removeEventListener(ne,s),d&&window.removeEventListener("error",d,!0)}}export{A as ALT,R as ALT_SHIFT_D,z as ALT_SHIFT_E,J as ALT_SHIFT_N,Z as CMD_A,P as CMD_DOT,j as CMD_ENTER,F as CMD_K,H as CMD_S,K as CMD_SHIFT_Z,O as CMD_Z,I as ENTER,V as Kbd,T as MOD,oe as NEXT_CHUNK_PATH_PREFIX,E as Result,k as SHIFT,re as STALE_CHUNK_RELOAD_COOLDOWN_MS,te as STALE_CHUNK_RELOAD_KEY,q as ShellPrefsProvider,ne as VITE_PRELOAD_ERROR_EVENT,se as installStaleChunkReload,L as isMac,ae as isStaleChunkError,x as useIsMobile,b as useIsPhone,G as useLocalStoragePrefs,ee as useShellPrefs,X as useShellPrefsAdapter,W as useShortcutLabel};
@@ -1,19 +1,19 @@
1
- import{escapeHtml as e}from"./chunk-BR22X7E5.js";import{TH_ONE_LINE as t}from"./chunk-RVPQRXC4.js";import{useBrowserLayoutEffect as n}from"./chunk-D65T4H6J.js";import{useShellStrings as r}from"./chunk-DBWGMZCY.js";import{useRef as o,useState as l,useEffect as c,useCallback as a,useMemo as s}from"react";import{createPortal as i}from"react-dom";import{jsxs as u,jsx as h,Fragment as d}from"react/jsx-runtime";function w(e,t){const n=e[e.length-1];return n&&!n.some(e=>e.trim())?e:[...e,Array(t).fill("")]}function g({text:t,...n}){const r=s(()=>({__html:e(t)}),[t]);/* @__PURE__ */
2
- return h("div",{...n,dangerouslySetInnerHTML:r})}function m({columns:e,data:m,onChange:p,onColumnsChange:f,fixedRows:y=!1,minRows:b=15,maxHeight:v="260px",cellStyles:x,onFocusChange:M,onSelectionChange:D}){const k=o(null),C=r().grid,[E,$]=l(null);c(()=>{M?.(E)},[E,M]);const[L,S]=l({}),z=o(null),[N,A]=l({}),R=o(null),[O,T]=l(null),[K,P]=l(null),[F,X]=l(null),[I,Y]=l(null),[j,H]=l(null),B=o(null);n(()=>{const e=B.current;if(!e||e.row!==j?.row||e.col!==j?.col)return;B.current=null;const t=k.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)},[j]);const[W,q]=l(null),[V,_]=l(null);c(()=>{D?.(W&&V?{anchor:W,end:V}:null)},[W,V,D]);const G=o(!1),[J,Q]=l(null),U=o(!1),Z=o({a:null,e:null});Z.current={a:W,e:V};const ee=W&&V&&(W.row!==V.row||W.col!==V.col),te=[...m];if(!y)for(;te.length<b;)te.push(Array(e.length).fill(""));const ne=a((t,n,r)=>{const o=te.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,p(o)},[te,e.length,p]),re=a((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!==(te[e]?.[t]||"")){const r=te.map(e=>[...e]);r[e]&&(r[e][t]=n,p(r))}}G.current=!0,e.shiftKey&&W||q({row:t,col:n}),_({row:t,col:n})},[te,p,W]),oe=a((e,t)=>{G.current&&_({row:e,col:t})},[]);c(()=>{const e=()=>{G.current=!1};return window.addEventListener("mouseup",e),()=>window.removeEventListener("mouseup",e)},[]),c(()=>{const e=e=>{if(!e.ctrlKey&&!e.metaKey||"c"!==e.key)return;if(!W||!V)return;const t=window.getSelection();if(t&&t.toString().length>0&&!ee)return;const n=Math.min(W.row,V.row),r=Math.max(W.row,V.row),o=Math.min(W.col,V.col),l=Math.max(W.col,V.col),c=[];for(let e=n;e<=r;e++){const t=[];for(let n=o;n<=l;n++)t.push(te[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)},[W,V,te,ee]),c(()=>{const t=t=>{if(!E)return;const n=document.activeElement;if(n?.isContentEditable)return;if(!k.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=te.map(e=>[...e]);for(let t=0;t<o.length;t++){const n=E.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=E.col+r;if(c>=e.length)break;e[c].readOnly||(l[n][c]=o[t][r].trim())}}p(y?l:w(l,e.length)),q({row:E.row,col:E.col}),_({row:Math.min(E.row+o.length-1,l.length-1),col:Math.min(E.col+(o[0]?.length||1)-1,e.length-1)})};return window.addEventListener("paste",t),()=>window.removeEventListener("paste",t)},[E,te,e,p,y]);const le=a((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=te.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())}}p(y?c:w(c,e.length))},[te,e,p,y]),ce=a((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(),ne(n,r,"")));if(t.preventDefault(),W&&V){const t=Math.min(W.row,V.row),n=Math.max(W.row,V.row),r=Math.min(W.col,V.col),o=Math.max(W.col,V.col),l=te.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]="");p(l)}else ne(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<te.length&&l>=0&&l<e.length){const e=k.current?.querySelector(`[data-row="${o}"][data-col="${l}"]`);e&&(e.focus({preventScroll:!0}),e.scrollIntoView({block:"nearest",inline:"nearest"}),$({row:o,col:l}),H(null),q({row:o,col:l}),_({row:o,col:l}))}},[e,te,te.length,ne,W,V,p]),ae=a(t=>{if(!y&&t>=te.length-2){const t=te.map(e=>[...e]);for(let n=0;n<5;n++)t.push(Array(e.length).fill(""));p(t)}},[y,te,e.length,p]),[se,ie]=l(null);c(()=>{if(!se)return;const e=()=>ie(null);return window.addEventListener("pointerdown",e),()=>window.removeEventListener("pointerdown",e)},[se]);const ue=a(t=>{const n=te.map(e=>[...e]);n.splice(t,0,Array(e.length).fill("")),p(n)},[te,e.length,p]),he=a(e=>{if(te.length<=1)return;const t=te.filter((t,n)=>n!==e);p(t)},[te,p]),de=a(e=>{const t=te.map(t=>{const n=[...t];return n.splice(e,0,""),n});p(t)},[te,p]),we=a(t=>{if(e.length<=1)return;const n=te.map(e=>{const n=[...e];return n.splice(t,1),n});p(n)},[te,e.length,p]),ge=a((e,t)=>{e.preventDefault(),y||ie({x:e.clientX,y:e.clientY,items:[{label:C.insertRowAbove,onClick:()=>{ue(t),ie(null)}},{label:C.insertRowBelow,onClick:()=>{ue(t+1),ie(null)}},{label:C.deleteRow(t+1),onClick:()=>{he(t),ie(null)}}]})},[y,ue,he,C]),me=a((t,n)=>{t.preventDefault(),y||ie({x:t.clientX,y:t.clientY,items:[{label:C.insertColumnLeft,onClick:()=>{de(n),ie(null)}},{label:C.insertColumnRight,onClick:()=>{de(n+1),ie(null)}},{label:C.deleteColumn(String(e[n]?.title||n+1)),onClick:()=>{we(n),ie(null)}}]})},[y,e,de,we,C]),pe=t=>L[t]??e[t]?.width??150;c(()=>{const t=e=>{if(!z.current)return;const t=e.clientX-z.current.startX,n=Math.max(40,z.current.startW+t);S(e=>({...e,[z.current.col]:n}))},n=()=>{if(z.current&&f){const t=e.map((e,t)=>({...e,width:L[t]??e.width}));t[z.current.col]={...t[z.current.col],width:L[z.current.col]??e[z.current.col].width},f(t)}z.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;c(()=>{const e=e=>{if(!R.current)return;const t=e.clientY-R.current.startY,n=Math.max(20,R.current.startH+t);A(e=>({...e,[R.current.row]:n}))},t=()=>{R.current=null,document.body.style.cursor=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[]);const ye=a(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 te){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)}},[te,e,L,f]),be=a(e=>{A(t=>{const n={...t};return delete n[e],n})},[]),ve=a(t=>{const{a:n,e:r}=Z.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,h=a;t.row>l?i=t.row:t.row<o&&(s=t.row),t.col>a?h=t.col:t.col<c&&(u=t.col);const d=l-o+1,w=a-c+1,g=te.map(e=>[...e]);for(;g.length<=i;)g.push(Array(e.length).fill(""));for(const e of g)for(;e.length<=h;)e.push("");function m(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<=h;t++){if(e>=o&&e<=l&&t>=c&&t<=a)continue;let n;if(1===w&&u===c&&h===a){const r=m(Array.from({length:d},(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)%d+d)%d;n=g[o+r]?.[t]??""}}else if(1===d&&s===o&&i===l){const r=m(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)%d+d)%d,l=((t-c)%w+w)%w;n=g[o+r]?.[c+l]??""}g[e][t]=n}p(g),q({row:s,col:u}),_({row:i,col:h})},[te,e.length,p]);c(()=>{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);Q({row:r,col:o})},t=()=>{U.current&&J&&ve(J),U.current=!1,Q(null),document.body.style.cursor=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[J,ve]);const xe=e=>{e.preventDefault(),e.stopPropagation(),U.current=!0,document.body.style.cursor="crosshair"},Me=o(null),[De,ke]=l(0),[Ce,Ee]=l(800);c(()=>{const e=Me.current;if(!e)return;const t=()=>Ee(e.clientHeight||800);t();const n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]);const $e=te.length>100,Le=$e?Math.max(0,Math.floor(De/28)-20):0,Se=$e?Math.min(te.length,Math.ceil((De+Ce)/28)+20):te.length,ze=s(()=>te.slice(Le,Se),[te,Le,Se]),Ne=28*Le,Ae=28*(te.length-Se),Re="px-2 h-8 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{TH_ONE_LINE as t}from"./chunk-RYBDLJJV.js";import{useBrowserLayoutEffect as n}from"./chunk-D65T4H6J.js";import{useShellStrings as r}from"./chunk-2PNYIWIN.js";import{useRef as o,useState as l,useEffect as c,useCallback as a,useMemo as s}from"react";import{createPortal as i}from"react-dom";import{jsxs as u,jsx as h,Fragment as d}from"react/jsx-runtime";function w(e,t){const n=e[e.length-1];return n&&!n.some(e=>e.trim())?e:[...e,Array(t).fill("")]}function g({text:t,...n}){const r=s(()=>({__html:e(t)}),[t]);/* @__PURE__ */
2
+ return h("div",{...n,dangerouslySetInnerHTML:r})}function m({columns:e,data:m,onChange:p,onColumnsChange:f,fixedRows:y=!1,minRows:b=15,maxHeight:v="260px",cellStyles:x,onFocusChange:M,onSelectionChange:D}){const k=o(null),C=r().grid,[E,L]=l(null);c(()=>{M?.(E)},[E,M]);const[$,S]=l({}),N=o(null),[z,A]=l({}),O=o(null),[R,T]=l(null),[K,P]=l(null),[I,F]=l(null),[Y,X]=l(null),[j,H]=l(null),B=o(null);n(()=>{const e=B.current;if(!e||e.row!==j?.row||e.col!==j?.col)return;B.current=null;const t=k.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)},[j]);const[W,q]=l(null),[J,V]=l(null);c(()=>{D?.(W&&J?{anchor:W,end:J}:null)},[W,J,D]);const _=o(!1),[U,G]=l(null),Q=o(!1),Z=o({a:null,e:null});Z.current={a:W,e:J};const ee=W&&J&&(W.row!==J.row||W.col!==J.col),te=[...m];if(!y)for(;te.length<b;)te.push(Array(e.length).fill(""));const ne=a((t,n,r)=>{const o=te.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,p(o)},[te,e.length,p]),re=a((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!==(te[e]?.[t]||"")){const r=te.map(e=>[...e]);r[e]&&(r[e][t]=n,p(r))}}_.current=!0,e.shiftKey&&W||q({row:t,col:n}),V({row:t,col:n})},[te,p,W]),oe=a((e,t)=>{_.current&&V({row:e,col:t})},[]);c(()=>{const e=()=>{_.current=!1};return window.addEventListener("mouseup",e),()=>window.removeEventListener("mouseup",e)},[]),c(()=>{const e=e=>{if(!e.ctrlKey&&!e.metaKey||"c"!==e.key)return;if(!W||!J)return;const t=window.getSelection();if(t&&t.toString().length>0&&!ee)return;const n=Math.min(W.row,J.row),r=Math.max(W.row,J.row),o=Math.min(W.col,J.col),l=Math.max(W.col,J.col),c=[];for(let e=n;e<=r;e++){const t=[];for(let n=o;n<=l;n++)t.push(te[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)},[W,J,te,ee]),c(()=>{const t=t=>{if(!E)return;const n=document.activeElement;if(n?.isContentEditable)return;if(!k.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=te.map(e=>[...e]);for(let t=0;t<o.length;t++){const n=E.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=E.col+r;if(c>=e.length)break;e[c].readOnly||(l[n][c]=o[t][r].trim())}}p(y?l:w(l,e.length)),q({row:E.row,col:E.col}),V({row:Math.min(E.row+o.length-1,l.length-1),col:Math.min(E.col+(o[0]?.length||1)-1,e.length-1)})};return window.addEventListener("paste",t),()=>window.removeEventListener("paste",t)},[E,te,e,p,y]);const le=a((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=te.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())}}p(y?c:w(c,e.length))},[te,e,p,y]),ce=a((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(),ne(n,r,"")));if(t.preventDefault(),W&&J){const t=Math.min(W.row,J.row),n=Math.max(W.row,J.row),r=Math.min(W.col,J.col),o=Math.max(W.col,J.col),l=te.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]="");p(l)}else ne(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<te.length&&l>=0&&l<e.length){const e=k.current?.querySelector(`[data-row="${o}"][data-col="${l}"]`);e&&(e.focus({preventScroll:!0}),e.scrollIntoView({block:"nearest",inline:"nearest"}),L({row:o,col:l}),H(null),q({row:o,col:l}),V({row:o,col:l}))}},[e,te,te.length,ne,W,J,p]),ae=a(t=>{if(!y&&t>=te.length-2){const t=te.map(e=>[...e]);for(let n=0;n<5;n++)t.push(Array(e.length).fill(""));p(t)}},[y,te,e.length,p]),[se,ie]=l(null);c(()=>{if(!se)return;const e=()=>ie(null);return window.addEventListener("pointerdown",e),()=>window.removeEventListener("pointerdown",e)},[se]);const ue=a(t=>{const n=te.map(e=>[...e]);n.splice(t,0,Array(e.length).fill("")),p(n)},[te,e.length,p]),he=a(e=>{if(te.length<=1)return;const t=te.filter((t,n)=>n!==e);p(t)},[te,p]),de=a(e=>{const t=te.map(t=>{const n=[...t];return n.splice(e,0,""),n});p(t)},[te,p]),we=a(t=>{if(e.length<=1)return;const n=te.map(e=>{const n=[...e];return n.splice(t,1),n});p(n)},[te,e.length,p]),ge=a((e,t)=>{e.preventDefault(),y||ie({x:e.clientX,y:e.clientY,items:[{label:C.insertRowAbove,onClick:()=>{ue(t),ie(null)}},{label:C.insertRowBelow,onClick:()=>{ue(t+1),ie(null)}},{label:C.deleteRow(t+1),onClick:()=>{he(t),ie(null)}}]})},[y,ue,he,C]),me=a((t,n)=>{t.preventDefault(),y||ie({x:t.clientX,y:t.clientY,items:[{label:C.insertColumnLeft,onClick:()=>{de(n),ie(null)}},{label:C.insertColumnRight,onClick:()=>{de(n+1),ie(null)}},{label:C.deleteColumn(String(e[n]?.title||n+1)),onClick:()=>{we(n),ie(null)}}]})},[y,e,de,we,C]),pe=t=>$[t]??e[t]?.width??150;c(()=>{const t=e=>{if(!N.current)return;const t=e.clientX-N.current.startX,n=Math.max(40,N.current.startW+t);S(e=>({...e,[N.current.col]:n}))},n=()=>{if(N.current&&f){const t=e.map((e,t)=>({...e,width:$[t]??e.width}));t[N.current.col]={...t[N.current.col],width:$[N.current.col]??e[N.current.col].width},f(t)}N.current=null,document.body.style.cursor=""};return window.addEventListener("mousemove",t),window.addEventListener("mouseup",n),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",n)}},[e,$,f]);const fe=e=>z[e]??28;c(()=>{const e=e=>{if(!O.current)return;const t=e.clientY-O.current.startY,n=Math.max(20,O.current.startH+t);A(e=>({...e,[O.current.row]:n}))},t=()=>{O.current=null,document.body.style.cursor=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[]);const ye=a(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 te){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:$[n]??e.width}));f(n)}},[te,e,$,f]),be=a(e=>{A(t=>{const n={...t};return delete n[e],n})},[]),ve=a(t=>{const{a:n,e:r}=Z.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,h=a;t.row>l?i=t.row:t.row<o&&(s=t.row),t.col>a?h=t.col:t.col<c&&(u=t.col);const d=l-o+1,w=a-c+1,g=te.map(e=>[...e]);for(;g.length<=i;)g.push(Array(e.length).fill(""));for(const e of g)for(;e.length<=h;)e.push("");function m(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<=h;t++){if(e>=o&&e<=l&&t>=c&&t<=a)continue;let n;if(1===w&&u===c&&h===a){const r=m(Array.from({length:d},(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)%d+d)%d;n=g[o+r]?.[t]??""}}else if(1===d&&s===o&&i===l){const r=m(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)%d+d)%d,l=((t-c)%w+w)%w;n=g[o+r]?.[c+l]??""}g[e][t]=n}p(g),q({row:s,col:u}),V({row:i,col:h})},[te,e.length,p]);c(()=>{const e=e=>{if(!Q.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);G({row:r,col:o})},t=()=>{Q.current&&U&&ve(U),Q.current=!1,G(null),document.body.style.cursor=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[U,ve]);const xe=e=>{e.preventDefault(),e.stopPropagation(),Q.current=!0,document.body.style.cursor="crosshair"},Me=o(null),[De,ke]=l(0),[Ce,Ee]=l(800);c(()=>{const e=Me.current;if(!e)return;const t=()=>Ee(e.clientHeight||800);t();const n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]);const Le=te.length>100,$e=Le?Math.max(0,Math.floor(De/28)-20):0,Se=Le?Math.min(te.length,Math.ceil((De+Ce)/28)+20):te.length,Ne=s(()=>te.slice($e,Se),[te,$e,Se]),ze=28*$e,Ae=28*(te.length-Se),Oe="px-2 h-8 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 u("div",{ref:Me,className:"border border-gray-300 rounded overflow-scroll grid-scroll",style:{maxHeight:v,height:v},onScroll:e=>ke(e.target.scrollTop),children:[
4
4
  /* @__PURE__ */u("table",{ref:k,className:"border-collapse select-none",style:{tableLayout:"fixed",minWidth:36+e.reduce((t,n)=>t+pe(e.indexOf(n)),0)},children:[
5
5
  /* @__PURE__ */u("colgroup",{children:[
6
6
  /* @__PURE__ */h("col",{style:{width:36}}),e.map((e,t)=>/* @__PURE__ */h("col",{style:{width:pe(t)}},e.key))]}),
7
7
  /* @__PURE__ */h("thead",{className:"sticky top-0 z-10",children:/* @__PURE__ */u("tr",{children:[
8
- /* @__PURE__ */h("th",{className:`${t} ${Re} text-center w-9 cursor-pointer hover:bg-gray-200`,onClick:()=>{q({row:0,col:0}),_({row:te.length-1,col:e.length-1})},title:C.selectAll,children:"#"}),e.map((n,r)=>{const o=W&&V&&Math.min(W.col,V.col)<=r&&r<=Math.max(W.col,V.col)&&0===Math.min(W.row,V.row)&&Math.max(W.row,V.row)===te.length-1;/* @__PURE__ */
9
- return u("th",{className:`${t} ${Re} cursor-pointer hover:bg-gray-200 relative${o?" !bg-blue-200":""}${I===r?" !bg-blue-100":""}`,style:{width:pe(r)},draggable:!0,onDragStart:()=>(e=>X(e))(r),onDragOver:e=>((e,t)=>{e.preventDefault(),Y(t)})(e,r),onDrop:()=>(t=>{if(null===F||F===t)return X(null),void Y(null);const n=te.map(e=>{const n=[...e],[r]=n.splice(F,1);return n.splice(t,0,r),n});if(p(n),f){const n=[...e],[r]=n.splice(F,1);n.splice(t,0,r),f(n)}X(null),Y(null)})(r),onDragEnd:()=>{X(null),Y(null)},onClick:e=>{e.shiftKey&&W||q({row:0,col:r}),_({row:te.length-1,col:r})},onContextMenu:e=>me(e,r),children:[n.title,
10
- /* @__PURE__ */h("div",{className:"absolute -right-1 top-0 bottom-0 w-2 cursor-col-resize z-20",onMouseDown:e=>((e,t)=>{e.preventDefault(),e.stopPropagation(),z.current={col:t,startX:e.clientX,startW:pe(t)},document.body.style.cursor="col-resize"})(e,r),onDoubleClick:e=>{e.stopPropagation(),ye(r)},title:C.resize})]},n.key)})]})}),
11
- /* @__PURE__ */u("tbody",{children:[Ne>0&&/* @__PURE__ */h("tr",{style:{height:Ne}}),ze.map((t,n)=>{const r=Le+n,o=W&&V&&Math.min(W.row,V.row)<=r&&r<=Math.max(W.row,V.row)&&0===Math.min(W.col,V.col)&&Math.max(W.col,V.col)===e.length-1;/* @__PURE__ */
8
+ /* @__PURE__ */h("th",{className:`${t} ${Oe} text-center w-9 cursor-pointer hover:bg-gray-200`,onClick:()=>{q({row:0,col:0}),V({row:te.length-1,col:e.length-1})},title:C.selectAll,children:"#"}),e.map((n,r)=>{const o=W&&J&&Math.min(W.col,J.col)<=r&&r<=Math.max(W.col,J.col)&&0===Math.min(W.row,J.row)&&Math.max(W.row,J.row)===te.length-1;/* @__PURE__ */
9
+ return u("th",{className:`${t} ${Oe} cursor-pointer hover:bg-gray-200 relative${o?" !bg-blue-200":""}${Y===r?" !bg-blue-100":""}`,style:{width:pe(r)},draggable:!0,onDragStart:()=>(e=>F(e))(r),onDragOver:e=>((e,t)=>{e.preventDefault(),X(t)})(e,r),onDrop:()=>(t=>{if(null===I||I===t)return F(null),void X(null);const n=te.map(e=>{const n=[...e],[r]=n.splice(I,1);return n.splice(t,0,r),n});if(p(n),f){const n=[...e],[r]=n.splice(I,1);n.splice(t,0,r),f(n)}F(null),X(null)})(r),onDragEnd:()=>{F(null),X(null)},onClick:e=>{e.shiftKey&&W||q({row:0,col:r}),V({row:te.length-1,col:r})},onContextMenu:e=>me(e,r),children:[n.title,
10
+ /* @__PURE__ */h("div",{className:"absolute -right-1 top-0 bottom-0 w-2 cursor-col-resize z-20",onMouseDown:e=>((e,t)=>{e.preventDefault(),e.stopPropagation(),N.current={col:t,startX:e.clientX,startW:pe(t)},document.body.style.cursor="col-resize"})(e,r),onDoubleClick:e=>{e.stopPropagation(),ye(r)},title:C.resize})]},n.key)})]})}),
11
+ /* @__PURE__ */u("tbody",{children:[ze>0&&/* @__PURE__ */h("tr",{style:{height:ze}}),Ne.map((t,n)=>{const r=$e+n,o=W&&J&&Math.min(W.row,J.row)<=r&&r<=Math.max(W.row,J.row)&&0===Math.min(W.col,J.col)&&Math.max(W.col,J.col)===e.length-1;/* @__PURE__ */
12
12
  return u("tr",{style:{height:fe(r)},children:[
13
- /* @__PURE__ */u("td",{className:`relative px-1 py-1 text-center text-2xs text-gray-400 border-b border-r border-gray-200 bg-gray-50 select-none cursor-pointer hover:bg-gray-200${o?" !bg-blue-200 !text-gray-700":""}${K===r?" !bg-blue-100":""}`,draggable:!0,onDragStart:()=>(e=>T(e))(r),onDragOver:e=>((e,t)=>{e.preventDefault(),P(t)})(e,r),onDrop:()=>(e=>{if(null===O||O===e)return T(null),void P(null);const t=te.map(e=>[...e]),[n]=t.splice(O,1);t.splice(e,0,n),p(t),T(null),P(null)})(r),onDragEnd:()=>{T(null),P(null)},onClick:t=>{t.shiftKey&&W||q({row:r,col:0}),_({row:r,col:e.length-1})},onContextMenu:e=>ge(e,r),children:[r+1,
14
- /* @__PURE__ */h("div",{className:"absolute -bottom-1 left-0 right-0 h-2 cursor-row-resize z-20",onMouseDown:e=>((e,t)=>{e.preventDefault(),e.stopPropagation(),R.current={row:t,startY:e.clientY,startH:fe(t)},document.body.style.cursor="row-resize"})(e,r),onDoubleClick:e=>{e.stopPropagation(),be(r)},title:C.resize})]}),e.map((e,n)=>{const o=W&&V&&function(e,t,n,r){const o=Math.min(e.row,t.row),l=Math.max(e.row,t.row),c=Math.min(e.col,t.col),a=Math.max(e.col,t.col);return n>=o&&n<=l&&r>=c&&r<=a}(W,V,r,n),l=j?.row===r&&j?.col===n&&!e.readOnly,c=E?.row===r&&E?.col===n,a=x?.[`${r}:${n}`],s=W&&V?Math.max(W.row,V.row):-1,i=W&&V?Math.max(W.col,V.col):-1,d=W&&V&&r===s&&n===i,w=U.current&&J&&W&&V&&(()=>{const e=Math.min(W.row,V.row),t=Math.max(W.row,V.row),o=Math.min(W.col,V.col),l=Math.max(W.col,V.col);let c=e,a=t,s=o,i=l;return J.row>t?a=J.row:J.row<e&&(c=J.row),J.col>l?i=J.col:J.col<o&&(s=J.col),r>=c&&r<=a&&n>=s&&n<=i&&!(r>=e&&r<=t&&n>=o&&n<=l)})(),m="sm"===a?.fontSize?"text-2xs":"lg"===a?.fontSize?"text-sm":"xl"===a?.fontSize?"text-base":"text-xs",p=`${a?.bold?" font-bold":""}${a?.italic?" italic":""}${a?.underline?" underline":""}`;/* @__PURE__ */
13
+ /* @__PURE__ */u("td",{className:`relative px-1 py-1 text-center text-2xs text-gray-400 border-b border-r border-gray-200 bg-gray-50 select-none cursor-pointer hover:bg-gray-200${o?" !bg-blue-200 !text-gray-700":""}${K===r?" !bg-blue-100":""}`,draggable:!0,onDragStart:()=>(e=>T(e))(r),onDragOver:e=>((e,t)=>{e.preventDefault(),P(t)})(e,r),onDrop:()=>(e=>{if(null===R||R===e)return T(null),void P(null);const t=te.map(e=>[...e]),[n]=t.splice(R,1);t.splice(e,0,n),p(t),T(null),P(null)})(r),onDragEnd:()=>{T(null),P(null)},onClick:t=>{t.shiftKey&&W||q({row:r,col:0}),V({row:r,col:e.length-1})},onContextMenu:e=>ge(e,r),children:[r+1,
14
+ /* @__PURE__ */h("div",{className:"absolute -bottom-1 left-0 right-0 h-2 cursor-row-resize z-20",onMouseDown:e=>((e,t)=>{e.preventDefault(),e.stopPropagation(),O.current={row:t,startY:e.clientY,startH:fe(t)},document.body.style.cursor="row-resize"})(e,r),onDoubleClick:e=>{e.stopPropagation(),be(r)},title:C.resize})]}),e.map((e,n)=>{const o=W&&J&&function(e,t,n,r){const o=Math.min(e.row,t.row),l=Math.max(e.row,t.row),c=Math.min(e.col,t.col),a=Math.max(e.col,t.col);return n>=o&&n<=l&&r>=c&&r<=a}(W,J,r,n),l=j?.row===r&&j?.col===n&&!e.readOnly,c=E?.row===r&&E?.col===n,a=x?.[`${r}:${n}`],s=W&&J?Math.max(W.row,J.row):-1,i=W&&J?Math.max(W.col,J.col):-1,d=W&&J&&r===s&&n===i,w=Q.current&&U&&W&&J&&(()=>{const e=Math.min(W.row,J.row),t=Math.max(W.row,J.row),o=Math.min(W.col,J.col),l=Math.max(W.col,J.col);let c=e,a=t,s=o,i=l;return U.row>t?a=U.row:U.row<e&&(c=U.row),U.col>l?i=U.col:U.col<o&&(s=U.col),r>=c&&r<=a&&n>=s&&n<=i&&!(r>=e&&r<=t&&n>=o&&n<=l)})(),m="sm"===a?.fontSize?"text-2xs":"lg"===a?.fontSize?"text-sm":"xl"===a?.fontSize?"text-base":"text-xs",p=`${a?.bold?" font-bold":""}${a?.italic?" italic":""}${a?.underline?" underline":""}`;/* @__PURE__ */
15
15
  return u("td",{className:`relative px-0 py-0 border-b border-r border-gray-200 text-sm${e.readOnly?" bg-gray-50 text-gray-500 cursor-default":" cursor-cell"}${o?" !bg-blue-100":""}${c&&!o?" ring-2 ring-inset ring-blue-400":""}${w?" !bg-blue-50 ring-1 ring-inset ring-blue-300":""}`,onMouseDown:e=>{if(e.target===e.currentTarget){re(e,r,n);const t=e.currentTarget.querySelector("[data-row][data-col]");t?.focus()}},onMouseEnter:()=>oe(r,n),onClick:e=>{if(e.target===e.currentTarget){const t=e.currentTarget.querySelector("[data-row][data-col]");t?.focus()}},onDoubleClick:t=>{t.target!==t.currentTarget||e.readOnly||H({row:r,col:n})},children:[
16
- /* @__PURE__ */h(g,{contentEditable:l,suppressContentEditableWarning:!0,tabIndex:0,"data-row":r,"data-col":n,className:`w-full h-full px-2 py-1 rosh-focus-ring whitespace-nowrap overflow-hidden ${"right"===e.align?"text-right":"center"===e.align?"text-center":""} ${e.readOnly?"cursor-default":"cursor-cell"} font-mono ${m}${p}`,onMouseDown:e=>re(e,r,n),onMouseEnter:()=>oe(r,n),onDoubleClick:()=>{e.readOnly||H({row:r,col:n})},onFocus:()=>{$({row:r,col:n}),G.current||(q({row:r,col:n}),_({row:r,col:n}))},onBlur:e=>{const o=e.currentTarget.textContent||"";o!==(t[n]||"")&&ne(r,n,o),H(null)},onInput:()=>ae(r),onPaste:e=>le(e,r,n),onKeyDown:t=>{if(!(l||e.readOnly||1!==t.key.length||t.ctrlKey||t.metaKey||t.altKey))return t.preventDefault(),ne(r,n,t.key),B.current={row:r,col:n},void H({row:r,col:n});ce(t,r,n)},text:t[n]||""}),d&&/* @__PURE__ */h("div",{onMouseDown:xe,title:C.fill,className:"absolute -bottom-[3px] -right-[3px] w-[7px] h-[7px] bg-blue-500 border border-white cursor-crosshair z-30 hover:bg-blue-600"})]},n)})]},r)}),Ae>0&&/* @__PURE__ */h("tr",{style:{height:Ae}})]})]}),se&&i(
16
+ /* @__PURE__ */h(g,{contentEditable:l,suppressContentEditableWarning:!0,tabIndex:0,"data-row":r,"data-col":n,className:`w-full h-full px-2 py-1 rosh-focus-ring whitespace-nowrap overflow-hidden ${"right"===e.align?"text-right":"center"===e.align?"text-center":""} ${e.readOnly?"cursor-default":"cursor-cell"} font-mono ${m}${p}`,onMouseDown:e=>re(e,r,n),onMouseEnter:()=>oe(r,n),onDoubleClick:()=>{e.readOnly||H({row:r,col:n})},onFocus:()=>{L({row:r,col:n}),_.current||(q({row:r,col:n}),V({row:r,col:n}))},onBlur:e=>{const o=e.currentTarget.textContent||"";o!==(t[n]||"")&&ne(r,n,o),H(null)},onInput:()=>ae(r),onPaste:e=>le(e,r,n),onKeyDown:t=>{if(!(l||e.readOnly||1!==t.key.length||t.ctrlKey||t.metaKey||t.altKey))return t.preventDefault(),ne(r,n,t.key),B.current={row:r,col:n},void H({row:r,col:n});ce(t,r,n)},text:t[n]||""}),d&&/* @__PURE__ */h("div",{onMouseDown:xe,title:C.fill,className:"absolute -bottom-[3px] -right-[3px] w-[7px] h-[7px] bg-blue-500 border border-white cursor-crosshair z-30 hover:bg-blue-600"})]},n)})]},r)}),Ae>0&&/* @__PURE__ */h("tr",{style:{height:Ae}})]})]}),se&&i(
17
17
  /* @__PURE__ */u(d,{children:[
18
18
  /* @__PURE__ */h("div",{className:"fixed inset-0 z-(--z-popup)",onPointerDown:()=>ie(null)}),
19
19
  /* @__PURE__ */h("div",{className:"fixed z-(--z-popup) bg-white rounded-lg shadow-lg border border-gray-200 py-1 min-w-[160px]",style:{left:se.x,top:se.y},children:se.items.map((e,t)=>/* @__PURE__ */h("button",{onPointerDown:t=>{t.stopPropagation(),e.onClick()},className:"w-full text-left px-3 min-h-(--row-height-menu) py-2 leading-5 text-sm text-gray-700 hover:bg-gray-100",children:e.label},t))})]}),document.body)]})}export{m as EditableGrid,w as withSpareRow};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-6RFXIPCN.js";import"../chunk-DBWGMZCY.js";import"../chunk-C3QOHMR6.js";
2
+ export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-DFCTQOIL.js";import"../chunk-2PNYIWIN.js";import"../chunk-C3QOHMR6.js";
@@ -1,5 +1,5 @@
1
1
  import { ResourceLanguage, i18n, TFunction } from 'i18next';
2
- import { S as ShellStringsOverride } from '../strings-DkffgGGm.js';
2
+ import { S as ShellStringsOverride } from '../strings-DzmlWMRe.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
5
 
@@ -6,7 +6,7 @@ import './markup/index.js';
6
6
  import { useFileIntake, FileIntakeLimits, FileRejection } from './file-intake/index.js';
7
7
  import './icons/index.js';
8
8
  import './registry-Dw6QO2Ch.js';
9
- import { S as ShellStringsOverride } from './strings-DkffgGGm.js';
9
+ import { S as ShellStringsOverride } from './strings-DzmlWMRe.js';
10
10
 
11
11
  /**
12
12
  * Button styling — the class strings `Button` and `IconButton` wear, and the
@@ -5918,6 +5918,43 @@ interface ToastOptions {
5918
5918
  */
5919
5919
  onClose?: (how: ToastCloseReason) => void;
5920
5920
  }
5921
+ /** How long `toast.undoable` offers its Undo by default, in ms. */
5922
+ declare const UNDOABLE_MS = 8000;
5923
+ /** What `toast.undoable` takes. */
5924
+ interface ToastUndoableOptions {
5925
+ /**
5926
+ * What cannot be taken back (a server delete): called at most once, when the
5927
+ * toast closes WITHOUT Undo, or with `{ keepalive: true }` when the page goes
5928
+ * away first (`pagehide`) — send it with `fetch(…, { keepalive: true })`, or
5929
+ * the browser may cancel it with the tab.
5930
+ */
5931
+ commit: (options?: {
5932
+ keepalive?: boolean;
5933
+ }) => unknown;
5934
+ /** Put back what the caller already did on screen. Called at most once, on
5935
+ * Undo; nothing is committed after it. */
5936
+ undo: () => void;
5937
+ /** The commit failed (it threw or its promise rejected). */
5938
+ onFail?: (error: unknown) => void;
5939
+ /** How long Undo is offered, in ms. Default {@link UNDOABLE_MS}. */
5940
+ duration?: number;
5941
+ /** The action's word. Default the catalogue's `toast.undo` ("Undo"). */
5942
+ actionLabel?: string;
5943
+ placement?: ToastPlacement;
5944
+ }
5945
+ /**
5946
+ * DO IT NOW, LET IT BE UNDONE (delete at once, Undo instead, Lewis
5947
+ * 2026-10-14). The caller has already done the thing on screen; this says so
5948
+ * with an Undo action for `duration`, and holds `commit` until Undo is gone:
5949
+ * the toast closing without Undo (its time, or a tap) commits; Undo runs `undo`
5950
+ * and commits nothing, ever; the page going away first commits every held one
5951
+ * with `{ keepalive: true }`. The handle undoes or commits from code, each at
5952
+ * most once.
5953
+ */
5954
+ declare function undoable(message: string, opts: ToastUndoableOptions): {
5955
+ undo: () => boolean;
5956
+ commit: () => Promise<void>;
5957
+ };
5921
5958
  declare const toast: {
5922
5959
  success: (message: string, opts?: ToastOptions) => {
5923
5960
  dismiss: () => void;
@@ -5963,6 +6000,9 @@ declare const toast: {
5963
6000
  * policy in one place. Per-call options still take precedence.
5964
6001
  */
5965
6002
  configure: (next: ToastOptions) => void;
6003
+ /** Do it now, let it be undone, and commit only when Undo is gone
6004
+ * ({@link undoable}). */
6005
+ undoable: typeof undoable;
5966
6006
  };
5967
6007
 
5968
6008
  /** Default poll interval for a visible tab. */
@@ -9031,4 +9071,4 @@ declare function ChordChart({ labels: labelsProp, matrix: matrixProp, size, maxN
9031
9071
  * string when the source is consumed without a build (e.g. tests). */
9032
9072
  declare const VERSION: string;
9033
9073
 
9034
- export { Breadcrumbs as $, ALT as A, type AvatarProps as B, type ColumnDef as C, type AvatarSize as D, type AvatarStatus as E, BORDER_WIDTHS as F, type BackgroundVariant as G, type BandScale as H, Banner as I, type BannerEmphasis as J, type BannerProps as K, type BannerTone as L, type BorderRole as M, type BoxPlotBox as N, BoxPlotChart as O, type PaginatedResponse as P, type BoxPlotChartProps as Q, BrandAssetEditor as R, type SearchConfig as S, type BrandAssetEditorProps as T, type BrandAssetPreview as U, BrandMark as V, type BrandMarkProps as W, type BrandMarkSlot as X, type BrandMarkSurface as Y, type BrandMarkTreatment as Z, type BreadcrumbItem as _, type SortState as a, ChordChart as a$, type BreadcrumbsProps as a0, BudgetBar as a1, type BudgetBarProps as a2, type BudgetState as a3, Button as a4, type ButtonClassesOptions as a5, type ButtonProps as a6, type ButtonSize as a7, type ButtonVariant as a8, CHART_INK as a9, type ChartBrushProps as aA, type ChartCurve as aB, ChartDefs as aC, type ChartDefsProps as aD, ChartDot as aE, type ChartDotProps as aF, type ChartDotVariant as aG, type ChartFillVariant as aH, ChartFrame as aI, type ChartFrameProps as aJ, ChartHighlightProvider as aK, type ChartLegendEntry as aL, type ChartLegendSwatch as aM, type ChartRange as aN, type ChartReferenceLine as aO, type ChartRevealDirection as aP, ChartSkeleton as aQ, type ChartSkeletonProps as aR, type ChartStatusTone as aS, type ChartStrokeVariant as aT, ChartTooltip as aU, type ChartTooltipProps as aV, type ChartTooltipRow as aW, ChatTemplate as aX, Checkbox as aY, type CheckboxProps as aZ, CheckoutTemplate as a_, CMD_A as aa, CMD_DOT as ab, CMD_ENTER as ac, CMD_K as ad, CMD_S as ae, COLUMN_COUNT_MAX as af, COLUMN_COUNT_WIDTHS as ag, COLUMN_SHARES_EQUAL as ah, COLUMN_SHARE_MIN as ai, CONTROL_HEIGHTS as aj, CORNERS as ak, Calendar as al, type CalendarMode as am, type CalendarProps as an, type Candle as ao, CandlestickChart as ap, type CandlestickChartProps as aq, Card as ar, type CardPadding as as, type CardProps as at, type CardTone as au, CartesianPlot as av, type CartesianPlotProps as aw, type CellStyle as ax, type ChartBackgroundVariant as ay, ChartBrush as az, ALT_SHIFT_D as b, Drawer as b$, type ChordChartProps as b0, ColorPicker as b1, ColorPickerPanel as b2, type ColorPickerPanelProps as b3, type ColorPickerProps as b4, type ColorPreset as b5, ColorSwatch as b6, type ColorSwatchProps as b7, type ColorSwatchSize as b8, ColoredBadge as b9, DataTable as bA, type DataTableColumn as bB, type DataTableColumnGroup as bC, type DataTableHeader as bD, DataTablePage as bE, type DataTableProps as bF, type DataTableRowLink as bG, type DataTableRowProps as bH, DatePicker as bI, type DatePickerProps as bJ, DateRangePicker as bK, type DateRangePickerProps as bL, DateTimePicker as bM, type DateTimePickerProps as bN, type DescriptionColumns as bO, type DescriptionItem as bP, DescriptionList as bQ, type DescriptionListProps as bR, Dialog as bS, type DialogProps as bT, type DialogSize as bU, type DisplayChipItem as bV, DisplayChips as bW, type DisplayChipsProps as bX, Divider as bY, type DividerProps as bZ, type DividerSpacing as b_, type ColoredBadgeProps as ba, ColumnChart as bb, type ColumnChartProps as bc, type ColumnSeries as bd, type ColumnShares as be, ComposerAttachments as bf, type ComposerAttachmentsProps as bg, ConfirmProvider as bh, ContainerFillChart as bi, type ContainerFillChartProps as bj, type ContainerFillItem as bk, ContextMenu as bl, type ContextMenuPoint as bm, type ContextMenuProps as bn, type ContextMenuState as bo, type ControlSize as bp, type CornerOption as bq, type Corners as br, CornersInput as bs, type CornersInputProps as bt, CountBadge as bu, type CountBadgeProps as bv, type CountBadgeTone as bw, type Curve as bx, DAY_MS as by, DashboardTemplate as bz, ALT_SHIFT_E as c, type HeatmapChartProps as c$, type DrawerProps as c0, type DrawerSide as c1, type DrawerSize as c2, DropdownMenu as c3, type DropdownMenuAlign as c4, type DropdownMenuCheckboxItem as c5, type DropdownMenuDividerItem as c6, type DropdownMenuEntry as c7, type DropdownMenuItem as c8, type DropdownMenuLabelItem as c9, type FloatingBarAlign as cA, type FloatingBarProps as cB, type FloatingBarSide as cC, type FontWeightRole as cD, type FormError as cE, FormErrorSummary as cF, type FormErrorSummaryProps as cG, FormField as cH, type FormFieldProps as cI, FormLayoutPage as cJ, FunnelChart as cK, type FunnelChartProps as cL, type FunnelStage as cM, GLASS_DIVIDER as cN, GLASS_INPUT_BG as cO, GROUP_COLORS as cP, GROUP_COLORS_SOLID as cQ, GalleryTemplate as cR, type Gap as cS, type GlassOptions as cT, GlobalSearch as cU, type GlobalSearchProps as cV, Grid as cW, type GridCols as cX, type GridColumn as cY, type GridProps as cZ, HeatmapChart as c_, type DropdownMenuLinkItem as ca, type DropdownMenuProps as cb, type DropdownMenuRadioItem as cc, type DropdownMenuSide as cd, type DropdownPositionOptions as ce, ELEVATION_LEVELS as cf, ENGLISH as cg, ENTER as ch, EditableGrid as ci, type EditableGridProps as cj, type ElevationLevel as ck, EmailTemplate as cl, EmptyState as cm, type EmptyStateProps as cn, EmptyValue as co, type EmptyValueProps as cp, ErrorBoundary as cq, type ErrorBoundaryProps as cr, ErrorPage as cs, type ErrorPageProps as ct, FONT_WEIGHTS as cu, type FileIntake as cv, FilePicker as cw, type FilePickerProps as cx, type FillVariant as cy, FloatingBar as cz, ALT_SHIFT_N as d, ListRow as d$, HelpCenter as d0, type HelpCenterDoc as d1, type HelpCenterProps as d2, HexInput as d3, type HistogramBin as d4, HistogramChart as d5, type HistogramChartProps as d6, type Hsv as d7, INPUT_BASE as d8, INPUT_SIZES as d9, type KbdSize as dA, type KbdTone as dB, Label as dC, type LabelClassesOptions as dD, type LabelProps as dE, type LadderScale as dF, LanguagePanel as dG, type LanguagePanelProps as dH, LanguageSelect as dI, type LanguageSelectProps as dJ, type LinearScale as dK, type LinkFilter as dL, type LinkFilterField as dM, type LinkKindChoice as dN, type LinkOption as dO, type LinkOptionGroup as dP, LinkPicker as dQ, type LinkPickerFieldProps as dR, type LinkPickerProps as dS, type LinkPickerWindowProps as dT, type LinkRules as dU, type LinkTarget as dV, type ListDrop as dW, ListFooter as dX, ListLoadError as dY, type ListLoadErrorProps as dZ, type ListMove as d_, IconButton as da, type IconButtonClassesOptions as db, type IconButtonProps as dc, IconRail as dd, IconRailButton as de, type IconRailButtonProps as df, type IconRailLabels as dg, type IconRailLabelsShown as dh, type IconRailOrientation as di, type IconRailProps as dj, ImageFocusPoint as dk, type ImageFocusPointProps as dl, Inline as dm, type InlineProps as dn, Input as dp, InputNumber as dq, type InputNumberProps as dr, type InputProps as ds, type InputSize as dt, type Justify as du, Kanban as dv, type KanbanColumn as dw, type KanbanProps as dx, Kbd as dy, type KbdProps as dz, APP_UPDATE_POLL_MS as e, ProductionTimeline as e$, type ListRowProps as e0, LoadingSpinner as e1, type LoadingSpinnerProps as e2, MAX_FRACTION_DIGITS as e3, MENU_MAX_HEIGHT as e4, MOD as e5, MOTION as e6, MOTION_DURATIONS as e7, Markdown as e8, type MarkdownProps as e9, type PageHeaderProps as eA, Pagination as eB, type PaginationProps as eC, PaperclipGlyph as eD, Paragraph as eE, type ParagraphProps as eF, PieChart as eG, type PieChartProps as eH, type PieSegment as eI, type PlotGeometry as eJ, type Point as eK, Popover as eL, type PopoverAlign as eM, type PopoverProps as eN, type PopoverRenderProps as eO, type PopoverSide as eP, PopupMenu as eQ, PopupMenuDivider as eR, PopupMenuItem as eS, type PopupMenuItemProps as eT, PopupMenuLabel as eU, type PopupMenuProps as eV, PopupSubmenu as eW, type PopupSubmenuProps as eX, type PortalBrandingContextValue as eY, PortalBrandingProvider as eZ, type PortalBrandingProviderProps as e_, MediaUploadField as ea, type MediaUploadFieldProps as eb, MediaUploadGrid as ec, type MediaUploadGridItem as ed, type MediaUploadGridProps as ee, type MenuPos as ef, Meter as eg, type MeterProps as eh, MetricBar as ei, type MetricBarProps as ej, type Milestone as ek, type MilestoneKind as el, MilestoneTimeline as em, type MilestoneTimelineProps as en, type MotionSpeed as eo, NATIVE_MENU_ATTR as ep, NEXT_CHUNK_PATH_PREFIX as eq, NativeSelect as er, type NiceAxis as es, NumericKeypad as et, type NumericKeypadProps as eu, OVERLAY_OPEN_EVENT as ev, PLACEHOLDER_INK as ew, POPUP_MAX_WIDTH as ex, POST_PRODUCTION_STATUSES as ey, PageHeader as ez, Accordion as f, type SearchableItem as f$, type ProductionTimelineProps as f0, type ProductionTimelineSnapshot as f1, type ProgressItem as f2, type PublicPortal as f3, type PublicPortalBranding as f4, RADAR_SERIES_CAP as f5, RADIUS_ROLES as f6, ROW_HEIGHTS as f7, type RadarAxis as f8, RadarChart as f9, type ResultProps as fA, type ResultStatus as fB, type RevealDirection as fC, SCATTER_SERIES_CAP as fD, SERIES_SLOT_COUNT as fE, SERIES_VARS as fF, SHELL_LANGUAGE_STORAGE_KEY as fG, SHIFT as fH, SPACING_ROLES as fI, SPACING_SCALE as fJ, STAGES as fK, STALE_CHUNK_RELOAD_COOLDOWN_MS as fL, STALE_CHUNK_RELOAD_KEY as fM, STATUS_VARS as fN, SankeyChart as fO, type SankeyChartProps as fP, type SankeyLink as fQ, type SankeyNode as fR, ScatterChart as fS, type ScatterChartProps as fT, type ScatterPoint as fU, type ScatterSeries as fV, type SearchListRoute as fW, type SearchProvider as fX, type SearchQuickAction as fY, type SearchResponse as fZ, type SearchResult as f_, type RadarChartProps as fa, type RadarSeries as fb, RadialBarChart as fc, type RadialBarChartProps as fd, type RadialBarRow as fe, Radio as ff, RadioGroup as fg, type RadioGroupOption as fh, type RadioGroupOrientation as fi, type RadioGroupProps as fj, type RadioProps as fk, type RadiusRole as fl, type Range as fm, RangeChart as fn, type RangeChartProps as fo, type RangeRow as fp, RankedBars as fq, type RankedBarsProps as fr, type RankedBarsRow as fs, ResizeHandle as ft, type ResizeHandleOrientation as fu, type ResizeHandleProps as fv, type ResizeHandleSide as fw, type ResizeHandleStackSide as fx, type ResolvedPortalBrandAsset as fy, Result as fz, type AccordionItem as g, type StatTileProps as g$, type SearchableOption as g0, type SearchableOptionGroup as g1, SearchableSelect as g2, type SearchableSelectBaseProps as g3, type SearchableSelectMultipleProps as g4, type SearchableSelectProps as g5, Segmented as g6, type SegmentedOption as g7, type SegmentedProps as g8, type SegmentedSize as g9, type SidebarNavGroupProps as gA, SidebarNavItem as gB, type SidebarNavItemProps as gC, Skeleton as gD, type SkeletonProps as gE, type SkeletonVariant as gF, Slider as gG, SliderGroup as gH, type SliderProps as gI, type SliderSize as gJ, Snippet as gK, type SnippetProps as gL, type SnippetSize as gM, type SnippetVariant as gN, SortableList as gO, type SortableListProps as gP, type SortableListSpacing as gQ, type SpacingRole as gR, type SpacingStep as gS, Sparkline as gT, type SparklineProps as gU, Stack as gV, type StackProps as gW, type StaleChunkReloadOptions as gX, StatCard as gY, type StatCardProps as gZ, StatTile as g_, Select as ga, type SelectBaseProps as gb, type SelectItem as gc, type SelectMultipleProps as gd, type SelectOption as ge, type SelectOptionGroup as gf, type SelectProps as gg, type SemanticGroup as gh, type SeriesSlots as gi, SettingRow as gj, type SettingRowProps as gk, type SeverityTone as gl, type ShellContextKind as gm, type ShellContextTarget as gn, type ShellLanguage as go, ShellLanguageProvider as gp, type ShellLanguageState as gq, type ShellPrefsAdapter as gr, ShellPrefsProvider as gs, SidebarActionButton as gt, type SidebarActionButtonProps as gu, SidebarGroupLabel as gv, type SidebarGroupLabelProps as gw, SidebarLayout as gx, type SidebarLayoutProps as gy, SidebarNavGroup as gz, type AccordionProps as h, type TitleLevel as h$, Statistic as h0, type StatisticProps as h1, type StatisticSize as h2, type StatisticTone as h3, StatusBadge as h4, StatusBadgeProvider as h5, type StatusEmphasis as h6, type StepItem as h7, Stepper as h8, type StepperProps as h9, type TextWeight as hA, Textarea as hB, type TextareaProps as hC, type Theme as hD, TileButton as hE, type TileButtonProps as hF, type TileSize as hG, TimeAgo as hH, type TimeAgoProps as hI, TimePicker as hJ, type TimePickerProps as hK, TimeSeriesChart as hL, type TimeSeriesChartProps as hM, type TimeSeriesSeries as hN, type TimelineMarker as hO, type TimelineMarkerKind as hP, type TimelineReport as hQ, type TimelineScrubProgress as hR, TimelineTrack as hS, type TimelineTrackItem as hT, type TimelineTrackKind as hU, type TimelineTrackPending as hV, type TimelineTrackPhase as hW, type TimelineTrackPlayback as hX, type TimelineTrackProps as hY, type TimelineTrackThumb as hZ, Title as h_, type StrokeVariant as ha, SunburstChart as hb, type SunburstChartProps as hc, type SunburstNode as hd, Switch as he, type SwitchProps as hf, type SwitchSize as hg, TYPE_SCALE as hh, type TabItem as hi, Tabs as hj, type TabsProps as hk, TagInput as hl, type TagInputOption as hm, type TagInputProps as hn, type TagInputTone as ho, Text as hp, TextLinkField as hq, type TextLinkFieldProps as hr, type TextProps as hs, type TextSize as ht, type TextTone as hu, TextToolbar as hv, type TextToolbarAlign as hw, type TextToolbarCase as hx, type TextToolbarMark as hy, type TextToolbarProps as hz, type Align as i, calcReportOverall as i$, type TitleProps as i0, type ToastAction as i1, type ToastCloseReason as i2, type ToastOptions as i3, type ToastPlacement as i4, Tooltip as i5, type TooltipProps as i6, TopNav as i7, type TopNavItem as i8, type TopNavProps as i9, type UseProductionTimelineOpts as iA, VERSION as iB, VITE_PRELOAD_ERROR_EVENT as iC, WaterfallChart as iD, type WaterfallChartProps as iE, type WaterfallStep as iF, WidthsBar as iG, type WidthsBarProps as iH, type ZLayer as iI, Z_LAYERS as iJ, angleScale as iK, appendKey as iL, applyCorners as iM, applyIconSet as iN, applyThemePrefs as iO, arcPath as iP, areaBetween as iQ, areaFrom as iR, assignSeriesSlots as iS, autoHighlightIndex as iT, backspace as iU, bandScale as iV, binValues as iW, budgetState as iX, bumpPath as iY, buttonClasses as iZ, calcOverall as i_, TransferProgress as ia, type TransferProgressProps as ib, type TransferProgressState as ic, Tree as id, type TreeDrop as ie, TreeEmptySlot as ig, type TreeEmptySlotProps as ih, TreeGroup as ii, TreeGroupLabel as ij, type TreeGroupLabelProps as ik, type TreeGroupProps as il, type TreeMove as im, type TreeProps as io, TreeRow as ip, type TreeRowProps as iq, TreeSeam as ir, type TreeSeamProps as is, TreemapChart as it, type TreemapChartProps as iu, type TreemapItem as iv, type TreemapTile as iw, type TypeStep as ix, type UseAppUpdateOptions as iy, type UseContextMenu as iz, AlignmentGrid as j, solidSurfaceStyle as j$, colorFill as j0, colorSwatchClasses as j1, columnSharesWidths as j2, confirm as j3, confirmDestructive as j4, curvePath as j5, dashFor as j6, describeContextTarget as j7, dismissPopups as j8, fillFor as j9, matchShellLanguage as jA, mediaFileName as jB, monotonePath as jC, niceAxis as jD, niceMax as jE, openGlobalSearch as jF, parseHexColor as jG, polygonPoints as jH, popupBounds as jI, prompt as jJ, pushRecent as jK, radiusScale as jL, readSavedShellLanguage as jM, registerModalEscapeInterceptor as jN, resolveBrandMarkTreatment as jO, resolveColumnShares as jP, resolveColumnWidths as jQ, resolveCorners as jR, resolvePortalBrandAsset as jS, resolveSeriesColor as jT, resolveSeriesColorWithin as jU, resolveShellLanguage as jV, resolveTheme as jW, sanitizeRecent as jX, saveShellLanguage as jY, seriesColor as jZ, severityOf as j_, fillId as ja, fmtSliderDate as jb, fromKey as jc, glassStyle as jd, glowId as je, groundId as jf, groupColors as jg, hexToHsv as jh, highlightOpacity as ji, hsvToHex as jj, iconButtonClasses as jk, inputClasses as jl, installStaleChunkReload as jm, isMac as jn, isSeverityTone as jo, isSpacingStep as jp, isStaleChunkError as jq, keepsNativeMenu as jr, labelClasses as js, ladderScale as jt, languageSelectWidth as ju, leavesContextMenuAlone as jv, linearPath as jw, linearScale as jx, logScale as jy, maskId as jz, type AlignmentGridProps as k, splinePath as k0, squarify as k1, stagger as k2, stepPath as k3, tabButtonId as k4, tabPanelId as k5, textToolbarRows as k6, textToolbarWindowColumns as k7, toKey as k8, toDayMs as k9, toISODate as ka, toast as kb, toggleSeriesSlot as kc, useAppUpdate as kd, useClickOutside as ke, useConfirm as kf, useContextMenu as kg, useDebouncedValue as kh, useDropdownPosition as ki, useFocusTrap as kj, useHighlight as kk, useIsMobile as kl, useLocalStoragePrefs as km, usePlotWidth as kn, usePortalBranding as ko, useProductionTimeline as kp, useScrollLock as kq, useShellLanguage as kr, useShellPrefs as ks, useStatusLabel as kt, useTheme as ku, useTransferProgress as kv, type AlignmentPoint as l, type AngleScale as m, AppUpdateBanner as n, type AppUpdateBannerProps as o, AttachButton as p, type AttachButtonProps as q, AttachmentDropZone as r, type AttachmentDropZoneProps as s, AttachmentList as t, type AttachmentListProps as u, AuthScreen as v, type AuthScreenProps as w, Avatar as x, AvatarGroup as y, type AvatarGroupProps as z };
9074
+ export { Breadcrumbs as $, ALT as A, type AvatarProps as B, type ColumnDef as C, type AvatarSize as D, type AvatarStatus as E, BORDER_WIDTHS as F, type BackgroundVariant as G, type BandScale as H, Banner as I, type BannerEmphasis as J, type BannerProps as K, type BannerTone as L, type BorderRole as M, type BoxPlotBox as N, BoxPlotChart as O, type PaginatedResponse as P, type BoxPlotChartProps as Q, BrandAssetEditor as R, type SearchConfig as S, type BrandAssetEditorProps as T, type BrandAssetPreview as U, BrandMark as V, type BrandMarkProps as W, type BrandMarkSlot as X, type BrandMarkSurface as Y, type BrandMarkTreatment as Z, type BreadcrumbItem as _, type SortState as a, ChordChart as a$, type BreadcrumbsProps as a0, BudgetBar as a1, type BudgetBarProps as a2, type BudgetState as a3, Button as a4, type ButtonClassesOptions as a5, type ButtonProps as a6, type ButtonSize as a7, type ButtonVariant as a8, CHART_INK as a9, type ChartBrushProps as aA, type ChartCurve as aB, ChartDefs as aC, type ChartDefsProps as aD, ChartDot as aE, type ChartDotProps as aF, type ChartDotVariant as aG, type ChartFillVariant as aH, ChartFrame as aI, type ChartFrameProps as aJ, ChartHighlightProvider as aK, type ChartLegendEntry as aL, type ChartLegendSwatch as aM, type ChartRange as aN, type ChartReferenceLine as aO, type ChartRevealDirection as aP, ChartSkeleton as aQ, type ChartSkeletonProps as aR, type ChartStatusTone as aS, type ChartStrokeVariant as aT, ChartTooltip as aU, type ChartTooltipProps as aV, type ChartTooltipRow as aW, ChatTemplate as aX, Checkbox as aY, type CheckboxProps as aZ, CheckoutTemplate as a_, CMD_A as aa, CMD_DOT as ab, CMD_ENTER as ac, CMD_K as ad, CMD_S as ae, COLUMN_COUNT_MAX as af, COLUMN_COUNT_WIDTHS as ag, COLUMN_SHARES_EQUAL as ah, COLUMN_SHARE_MIN as ai, CONTROL_HEIGHTS as aj, CORNERS as ak, Calendar as al, type CalendarMode as am, type CalendarProps as an, type Candle as ao, CandlestickChart as ap, type CandlestickChartProps as aq, Card as ar, type CardPadding as as, type CardProps as at, type CardTone as au, CartesianPlot as av, type CartesianPlotProps as aw, type CellStyle as ax, type ChartBackgroundVariant as ay, ChartBrush as az, ALT_SHIFT_D as b, Drawer as b$, type ChordChartProps as b0, ColorPicker as b1, ColorPickerPanel as b2, type ColorPickerPanelProps as b3, type ColorPickerProps as b4, type ColorPreset as b5, ColorSwatch as b6, type ColorSwatchProps as b7, type ColorSwatchSize as b8, ColoredBadge as b9, DataTable as bA, type DataTableColumn as bB, type DataTableColumnGroup as bC, type DataTableHeader as bD, DataTablePage as bE, type DataTableProps as bF, type DataTableRowLink as bG, type DataTableRowProps as bH, DatePicker as bI, type DatePickerProps as bJ, DateRangePicker as bK, type DateRangePickerProps as bL, DateTimePicker as bM, type DateTimePickerProps as bN, type DescriptionColumns as bO, type DescriptionItem as bP, DescriptionList as bQ, type DescriptionListProps as bR, Dialog as bS, type DialogProps as bT, type DialogSize as bU, type DisplayChipItem as bV, DisplayChips as bW, type DisplayChipsProps as bX, Divider as bY, type DividerProps as bZ, type DividerSpacing as b_, type ColoredBadgeProps as ba, ColumnChart as bb, type ColumnChartProps as bc, type ColumnSeries as bd, type ColumnShares as be, ComposerAttachments as bf, type ComposerAttachmentsProps as bg, ConfirmProvider as bh, ContainerFillChart as bi, type ContainerFillChartProps as bj, type ContainerFillItem as bk, ContextMenu as bl, type ContextMenuPoint as bm, type ContextMenuProps as bn, type ContextMenuState as bo, type ControlSize as bp, type CornerOption as bq, type Corners as br, CornersInput as bs, type CornersInputProps as bt, CountBadge as bu, type CountBadgeProps as bv, type CountBadgeTone as bw, type Curve as bx, DAY_MS as by, DashboardTemplate as bz, ALT_SHIFT_E as c, type HeatmapChartProps as c$, type DrawerProps as c0, type DrawerSide as c1, type DrawerSize as c2, DropdownMenu as c3, type DropdownMenuAlign as c4, type DropdownMenuCheckboxItem as c5, type DropdownMenuDividerItem as c6, type DropdownMenuEntry as c7, type DropdownMenuItem as c8, type DropdownMenuLabelItem as c9, type FloatingBarAlign as cA, type FloatingBarProps as cB, type FloatingBarSide as cC, type FontWeightRole as cD, type FormError as cE, FormErrorSummary as cF, type FormErrorSummaryProps as cG, FormField as cH, type FormFieldProps as cI, FormLayoutPage as cJ, FunnelChart as cK, type FunnelChartProps as cL, type FunnelStage as cM, GLASS_DIVIDER as cN, GLASS_INPUT_BG as cO, GROUP_COLORS as cP, GROUP_COLORS_SOLID as cQ, GalleryTemplate as cR, type Gap as cS, type GlassOptions as cT, GlobalSearch as cU, type GlobalSearchProps as cV, Grid as cW, type GridCols as cX, type GridColumn as cY, type GridProps as cZ, HeatmapChart as c_, type DropdownMenuLinkItem as ca, type DropdownMenuProps as cb, type DropdownMenuRadioItem as cc, type DropdownMenuSide as cd, type DropdownPositionOptions as ce, ELEVATION_LEVELS as cf, ENGLISH as cg, ENTER as ch, EditableGrid as ci, type EditableGridProps as cj, type ElevationLevel as ck, EmailTemplate as cl, EmptyState as cm, type EmptyStateProps as cn, EmptyValue as co, type EmptyValueProps as cp, ErrorBoundary as cq, type ErrorBoundaryProps as cr, ErrorPage as cs, type ErrorPageProps as ct, FONT_WEIGHTS as cu, type FileIntake as cv, FilePicker as cw, type FilePickerProps as cx, type FillVariant as cy, FloatingBar as cz, ALT_SHIFT_N as d, ListRow as d$, HelpCenter as d0, type HelpCenterDoc as d1, type HelpCenterProps as d2, HexInput as d3, type HistogramBin as d4, HistogramChart as d5, type HistogramChartProps as d6, type Hsv as d7, INPUT_BASE as d8, INPUT_SIZES as d9, type KbdSize as dA, type KbdTone as dB, Label as dC, type LabelClassesOptions as dD, type LabelProps as dE, type LadderScale as dF, LanguagePanel as dG, type LanguagePanelProps as dH, LanguageSelect as dI, type LanguageSelectProps as dJ, type LinearScale as dK, type LinkFilter as dL, type LinkFilterField as dM, type LinkKindChoice as dN, type LinkOption as dO, type LinkOptionGroup as dP, LinkPicker as dQ, type LinkPickerFieldProps as dR, type LinkPickerProps as dS, type LinkPickerWindowProps as dT, type LinkRules as dU, type LinkTarget as dV, type ListDrop as dW, ListFooter as dX, ListLoadError as dY, type ListLoadErrorProps as dZ, type ListMove as d_, IconButton as da, type IconButtonClassesOptions as db, type IconButtonProps as dc, IconRail as dd, IconRailButton as de, type IconRailButtonProps as df, type IconRailLabels as dg, type IconRailLabelsShown as dh, type IconRailOrientation as di, type IconRailProps as dj, ImageFocusPoint as dk, type ImageFocusPointProps as dl, Inline as dm, type InlineProps as dn, Input as dp, InputNumber as dq, type InputNumberProps as dr, type InputProps as ds, type InputSize as dt, type Justify as du, Kanban as dv, type KanbanColumn as dw, type KanbanProps as dx, Kbd as dy, type KbdProps as dz, APP_UPDATE_POLL_MS as e, ProductionTimeline as e$, type ListRowProps as e0, LoadingSpinner as e1, type LoadingSpinnerProps as e2, MAX_FRACTION_DIGITS as e3, MENU_MAX_HEIGHT as e4, MOD as e5, MOTION as e6, MOTION_DURATIONS as e7, Markdown as e8, type MarkdownProps as e9, type PageHeaderProps as eA, Pagination as eB, type PaginationProps as eC, PaperclipGlyph as eD, Paragraph as eE, type ParagraphProps as eF, PieChart as eG, type PieChartProps as eH, type PieSegment as eI, type PlotGeometry as eJ, type Point as eK, Popover as eL, type PopoverAlign as eM, type PopoverProps as eN, type PopoverRenderProps as eO, type PopoverSide as eP, PopupMenu as eQ, PopupMenuDivider as eR, PopupMenuItem as eS, type PopupMenuItemProps as eT, PopupMenuLabel as eU, type PopupMenuProps as eV, PopupSubmenu as eW, type PopupSubmenuProps as eX, type PortalBrandingContextValue as eY, PortalBrandingProvider as eZ, type PortalBrandingProviderProps as e_, MediaUploadField as ea, type MediaUploadFieldProps as eb, MediaUploadGrid as ec, type MediaUploadGridItem as ed, type MediaUploadGridProps as ee, type MenuPos as ef, Meter as eg, type MeterProps as eh, MetricBar as ei, type MetricBarProps as ej, type Milestone as ek, type MilestoneKind as el, MilestoneTimeline as em, type MilestoneTimelineProps as en, type MotionSpeed as eo, NATIVE_MENU_ATTR as ep, NEXT_CHUNK_PATH_PREFIX as eq, NativeSelect as er, type NiceAxis as es, NumericKeypad as et, type NumericKeypadProps as eu, OVERLAY_OPEN_EVENT as ev, PLACEHOLDER_INK as ew, POPUP_MAX_WIDTH as ex, POST_PRODUCTION_STATUSES as ey, PageHeader as ez, Accordion as f, type SearchableItem as f$, type ProductionTimelineProps as f0, type ProductionTimelineSnapshot as f1, type ProgressItem as f2, type PublicPortal as f3, type PublicPortalBranding as f4, RADAR_SERIES_CAP as f5, RADIUS_ROLES as f6, ROW_HEIGHTS as f7, type RadarAxis as f8, RadarChart as f9, type ResultProps as fA, type ResultStatus as fB, type RevealDirection as fC, SCATTER_SERIES_CAP as fD, SERIES_SLOT_COUNT as fE, SERIES_VARS as fF, SHELL_LANGUAGE_STORAGE_KEY as fG, SHIFT as fH, SPACING_ROLES as fI, SPACING_SCALE as fJ, STAGES as fK, STALE_CHUNK_RELOAD_COOLDOWN_MS as fL, STALE_CHUNK_RELOAD_KEY as fM, STATUS_VARS as fN, SankeyChart as fO, type SankeyChartProps as fP, type SankeyLink as fQ, type SankeyNode as fR, ScatterChart as fS, type ScatterChartProps as fT, type ScatterPoint as fU, type ScatterSeries as fV, type SearchListRoute as fW, type SearchProvider as fX, type SearchQuickAction as fY, type SearchResponse as fZ, type SearchResult as f_, type RadarChartProps as fa, type RadarSeries as fb, RadialBarChart as fc, type RadialBarChartProps as fd, type RadialBarRow as fe, Radio as ff, RadioGroup as fg, type RadioGroupOption as fh, type RadioGroupOrientation as fi, type RadioGroupProps as fj, type RadioProps as fk, type RadiusRole as fl, type Range as fm, RangeChart as fn, type RangeChartProps as fo, type RangeRow as fp, RankedBars as fq, type RankedBarsProps as fr, type RankedBarsRow as fs, ResizeHandle as ft, type ResizeHandleOrientation as fu, type ResizeHandleProps as fv, type ResizeHandleSide as fw, type ResizeHandleStackSide as fx, type ResolvedPortalBrandAsset as fy, Result as fz, type AccordionItem as g, type StatTileProps as g$, type SearchableOption as g0, type SearchableOptionGroup as g1, SearchableSelect as g2, type SearchableSelectBaseProps as g3, type SearchableSelectMultipleProps as g4, type SearchableSelectProps as g5, Segmented as g6, type SegmentedOption as g7, type SegmentedProps as g8, type SegmentedSize as g9, type SidebarNavGroupProps as gA, SidebarNavItem as gB, type SidebarNavItemProps as gC, Skeleton as gD, type SkeletonProps as gE, type SkeletonVariant as gF, Slider as gG, SliderGroup as gH, type SliderProps as gI, type SliderSize as gJ, Snippet as gK, type SnippetProps as gL, type SnippetSize as gM, type SnippetVariant as gN, SortableList as gO, type SortableListProps as gP, type SortableListSpacing as gQ, type SpacingRole as gR, type SpacingStep as gS, Sparkline as gT, type SparklineProps as gU, Stack as gV, type StackProps as gW, type StaleChunkReloadOptions as gX, StatCard as gY, type StatCardProps as gZ, StatTile as g_, Select as ga, type SelectBaseProps as gb, type SelectItem as gc, type SelectMultipleProps as gd, type SelectOption as ge, type SelectOptionGroup as gf, type SelectProps as gg, type SemanticGroup as gh, type SeriesSlots as gi, SettingRow as gj, type SettingRowProps as gk, type SeverityTone as gl, type ShellContextKind as gm, type ShellContextTarget as gn, type ShellLanguage as go, ShellLanguageProvider as gp, type ShellLanguageState as gq, type ShellPrefsAdapter as gr, ShellPrefsProvider as gs, SidebarActionButton as gt, type SidebarActionButtonProps as gu, SidebarGroupLabel as gv, type SidebarGroupLabelProps as gw, SidebarLayout as gx, type SidebarLayoutProps as gy, SidebarNavGroup as gz, type AccordionProps as h, type TitleLevel as h$, Statistic as h0, type StatisticProps as h1, type StatisticSize as h2, type StatisticTone as h3, StatusBadge as h4, StatusBadgeProvider as h5, type StatusEmphasis as h6, type StepItem as h7, Stepper as h8, type StepperProps as h9, type TextWeight as hA, Textarea as hB, type TextareaProps as hC, type Theme as hD, TileButton as hE, type TileButtonProps as hF, type TileSize as hG, TimeAgo as hH, type TimeAgoProps as hI, TimePicker as hJ, type TimePickerProps as hK, TimeSeriesChart as hL, type TimeSeriesChartProps as hM, type TimeSeriesSeries as hN, type TimelineMarker as hO, type TimelineMarkerKind as hP, type TimelineReport as hQ, type TimelineScrubProgress as hR, TimelineTrack as hS, type TimelineTrackItem as hT, type TimelineTrackKind as hU, type TimelineTrackPending as hV, type TimelineTrackPhase as hW, type TimelineTrackPlayback as hX, type TimelineTrackProps as hY, type TimelineTrackThumb as hZ, Title as h_, type StrokeVariant as ha, SunburstChart as hb, type SunburstChartProps as hc, type SunburstNode as hd, Switch as he, type SwitchProps as hf, type SwitchSize as hg, TYPE_SCALE as hh, type TabItem as hi, Tabs as hj, type TabsProps as hk, TagInput as hl, type TagInputOption as hm, type TagInputProps as hn, type TagInputTone as ho, Text as hp, TextLinkField as hq, type TextLinkFieldProps as hr, type TextProps as hs, type TextSize as ht, type TextTone as hu, TextToolbar as hv, type TextToolbarAlign as hw, type TextToolbarCase as hx, type TextToolbarMark as hy, type TextToolbarProps as hz, type Align as i, buttonClasses as i$, type TitleProps as i0, type ToastAction as i1, type ToastCloseReason as i2, type ToastOptions as i3, type ToastPlacement as i4, type ToastUndoableOptions as i5, Tooltip as i6, type TooltipProps as i7, TopNav as i8, type TopNavItem as i9, type UseAppUpdateOptions as iA, type UseContextMenu as iB, type UseProductionTimelineOpts as iC, VERSION as iD, VITE_PRELOAD_ERROR_EVENT as iE, WaterfallChart as iF, type WaterfallChartProps as iG, type WaterfallStep as iH, WidthsBar as iI, type WidthsBarProps as iJ, type ZLayer as iK, Z_LAYERS as iL, angleScale as iM, appendKey as iN, applyCorners as iO, applyIconSet as iP, applyThemePrefs as iQ, arcPath as iR, areaBetween as iS, areaFrom as iT, assignSeriesSlots as iU, autoHighlightIndex as iV, backspace as iW, bandScale as iX, binValues as iY, budgetState as iZ, bumpPath as i_, type TopNavProps as ia, TransferProgress as ib, type TransferProgressProps as ic, type TransferProgressState as id, Tree as ie, type TreeDrop as ig, TreeEmptySlot as ih, type TreeEmptySlotProps as ii, TreeGroup as ij, TreeGroupLabel as ik, type TreeGroupLabelProps as il, type TreeGroupProps as im, type TreeMove as io, type TreeProps as ip, TreeRow as iq, type TreeRowProps as ir, TreeSeam as is, type TreeSeamProps as it, TreemapChart as iu, type TreemapChartProps as iv, type TreemapItem as iw, type TreemapTile as ix, type TypeStep as iy, UNDOABLE_MS as iz, AlignmentGrid as j, seriesColor as j$, calcOverall as j0, calcReportOverall as j1, colorFill as j2, colorSwatchClasses as j3, columnSharesWidths as j4, confirm as j5, confirmDestructive as j6, curvePath as j7, dashFor as j8, describeContextTarget as j9, logScale as jA, maskId as jB, matchShellLanguage as jC, mediaFileName as jD, monotonePath as jE, niceAxis as jF, niceMax as jG, openGlobalSearch as jH, parseHexColor as jI, polygonPoints as jJ, popupBounds as jK, prompt as jL, pushRecent as jM, radiusScale as jN, readSavedShellLanguage as jO, registerModalEscapeInterceptor as jP, resolveBrandMarkTreatment as jQ, resolveColumnShares as jR, resolveColumnWidths as jS, resolveCorners as jT, resolvePortalBrandAsset as jU, resolveSeriesColor as jV, resolveSeriesColorWithin as jW, resolveShellLanguage as jX, resolveTheme as jY, sanitizeRecent as jZ, saveShellLanguage as j_, dismissPopups as ja, fillFor as jb, fillId as jc, fmtSliderDate as jd, fromKey as je, glassStyle as jf, glowId as jg, groundId as jh, groupColors as ji, hexToHsv as jj, highlightOpacity as jk, hsvToHex as jl, iconButtonClasses as jm, inputClasses as jn, installStaleChunkReload as jo, isMac as jp, isSeverityTone as jq, isSpacingStep as jr, isStaleChunkError as js, keepsNativeMenu as jt, labelClasses as ju, ladderScale as jv, languageSelectWidth as jw, leavesContextMenuAlone as jx, linearPath as jy, linearScale as jz, type AlignmentGridProps as k, severityOf as k0, solidSurfaceStyle as k1, splinePath as k2, squarify as k3, stagger as k4, stepPath as k5, tabButtonId as k6, tabPanelId as k7, textToolbarRows as k8, textToolbarWindowColumns as k9, toKey as ka, toDayMs as kb, toISODate as kc, toast as kd, toggleSeriesSlot as ke, useAppUpdate as kf, useClickOutside as kg, useConfirm as kh, useContextMenu as ki, useDebouncedValue as kj, useDropdownPosition as kk, useFocusTrap as kl, useHighlight as km, useIsMobile as kn, useLocalStoragePrefs as ko, usePlotWidth as kp, usePortalBranding as kq, useProductionTimeline as kr, useScrollLock as ks, useShellLanguage as kt, useShellPrefs as ku, useStatusLabel as kv, useTheme as kw, useTransferProgress as kx, type AlignmentPoint as l, type AngleScale as m, AppUpdateBanner as n, type AppUpdateBannerProps as o, AttachButton as p, type AttachButtonProps as q, AttachmentDropZone as r, type AttachmentDropZoneProps as s, AttachmentList as t, type AttachmentListProps as u, AuthScreen as v, type AuthScreenProps as w, Avatar as x, AvatarGroup as y, type AvatarGroupProps as z };
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { S as SearchConfig, C as ColumnDef, a as SortState, P as PaginatedResponse } from './index-cfVn8e67.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 AlignmentGrid, k as AlignmentGridProps, l as AlignmentPoint, m as AngleScale, n as AppUpdateBanner, o as AppUpdateBannerProps, p as AttachButton, q as AttachButtonProps, r as AttachmentDropZone, s as AttachmentDropZoneProps, t as AttachmentList, u as AttachmentListProps, v as AuthScreen, w as AuthScreenProps, x as Avatar, y as AvatarGroup, z as AvatarGroupProps, B as AvatarProps, D as AvatarSize, E as AvatarStatus, F as BORDER_WIDTHS, G as BackgroundVariant, H as BandScale, I as Banner, J as BannerEmphasis, K as BannerProps, L as BannerTone, M as BorderRole, N as BoxPlotBox, O as BoxPlotChart, Q as BoxPlotChartProps, R as BrandAssetEditor, T as BrandAssetEditorProps, U as BrandAssetPreview, V as BrandMark, W as BrandMarkProps, X as BrandMarkSlot, Y as BrandMarkSurface, Z as BrandMarkTreatment, _ as BreadcrumbItem, $ as Breadcrumbs, a0 as BreadcrumbsProps, a1 as BudgetBar, a2 as BudgetBarProps, a3 as BudgetState, a4 as Button, a5 as ButtonClassesOptions, a6 as ButtonProps, a7 as ButtonSize, a8 as ButtonVariant, a9 as CHART_INK, aa as CMD_A, ab as CMD_DOT, ac as CMD_ENTER, ad as CMD_K, ae as CMD_S, af as COLUMN_COUNT_MAX, ag as COLUMN_COUNT_WIDTHS, ah as COLUMN_SHARES_EQUAL, ai as COLUMN_SHARE_MIN, aj as CONTROL_HEIGHTS, ak as CORNERS, al as Calendar, am as CalendarMode, an as CalendarProps, ao as Candle, ap as CandlestickChart, aq as CandlestickChartProps, ar as Card, as as CardPadding, at as CardProps, au as CardTone, av as CartesianPlot, aw as CartesianPlotProps, ax as CellStyle, ay as ChartBackgroundVariant, az as ChartBrush, aA as ChartBrushProps, aB as ChartCurve, aC as ChartDefs, aD as ChartDefsProps, aE as ChartDot, aF as ChartDotProps, aG as ChartDotVariant, aH as ChartFillVariant, aI as ChartFrame, aJ as ChartFrameProps, aK as ChartHighlightProvider, aL as ChartLegendEntry, aM as ChartLegendSwatch, aN as ChartRange, aO as ChartReferenceLine, aP as ChartRevealDirection, aQ as ChartSkeleton, aR as ChartSkeletonProps, aS as ChartStatusTone, aT as ChartStrokeVariant, aU as ChartTooltip, aV as ChartTooltipProps, aW as ChartTooltipRow, aX as ChatTemplate, aY as Checkbox, aZ as CheckboxProps, a_ as CheckoutTemplate, a$ as ChordChart, b0 as ChordChartProps, b1 as ColorPicker, b2 as ColorPickerPanel, b3 as ColorPickerPanelProps, b4 as ColorPickerProps, b5 as ColorPreset, b6 as ColorSwatch, b7 as ColorSwatchProps, b8 as ColorSwatchSize, b9 as ColoredBadge, ba as ColoredBadgeProps, bb as ColumnChart, bc as ColumnChartProps, bd as ColumnSeries, be as ColumnShares, bf as ComposerAttachments, bg as ComposerAttachmentsProps, bh as ConfirmProvider, bi as ContainerFillChart, bj as ContainerFillChartProps, bk as ContainerFillItem, bl as ContextMenu, bm as ContextMenuPoint, bn as ContextMenuProps, bo as ContextMenuState, bp as ControlSize, bq as CornerOption, br as Corners, bs as CornersInput, bt as CornersInputProps, bu as CountBadge, bv as CountBadgeProps, bw as CountBadgeTone, bx as Curve, by as DAY_MS, bz as DashboardTemplate, bA as DataTable, bB as DataTableColumn, bC as DataTableColumnGroup, bD as DataTableHeader, bE as DataTablePage, bF as DataTableProps, bG as DataTableRowLink, bH as DataTableRowProps, bI as DatePicker, bJ as DatePickerProps, bK as DateRangePicker, bL as DateRangePickerProps, bM as DateTimePicker, bN as DateTimePickerProps, bO as DescriptionColumns, bP as DescriptionItem, bQ as DescriptionList, bR as DescriptionListProps, bS as Dialog, bT as DialogProps, bU as DialogSize, bV as DisplayChipItem, bW as DisplayChips, bX as DisplayChipsProps, bY as Divider, bZ as DividerProps, b_ as DividerSpacing, b$ as Drawer, c0 as DrawerProps, c1 as DrawerSide, c2 as DrawerSize, c3 as DropdownMenu, c4 as DropdownMenuAlign, c5 as DropdownMenuCheckboxItem, c6 as DropdownMenuDividerItem, c7 as DropdownMenuEntry, c8 as DropdownMenuItem, c9 as DropdownMenuLabelItem, ca as DropdownMenuLinkItem, cb as DropdownMenuProps, cc as DropdownMenuRadioItem, cd as DropdownMenuSide, ce as DropdownPositionOptions, cf as ELEVATION_LEVELS, cg as ENGLISH, ch as ENTER, ci as EditableGrid, cj as EditableGridProps, ck as ElevationLevel, cl as EmailTemplate, cm as EmptyState, cn as EmptyStateProps, co as EmptyValue, cp as EmptyValueProps, cq as ErrorBoundary, cr as ErrorBoundaryProps, cs as ErrorPage, ct as ErrorPageProps, cu as FONT_WEIGHTS, cv as FileIntake, cw as FilePicker, cx as FilePickerProps, cy as FillVariant, cz as FloatingBar, cA as FloatingBarAlign, cB as FloatingBarProps, cC as FloatingBarSide, cD as FontWeightRole, cE as FormError, cF as FormErrorSummary, cG as FormErrorSummaryProps, cH as FormField, cI as FormFieldProps, cJ as FormLayoutPage, cK as FunnelChart, cL as FunnelChartProps, cM as FunnelStage, cN as GLASS_DIVIDER, cO as GLASS_INPUT_BG, cP as GROUP_COLORS, cQ as GROUP_COLORS_SOLID, cR as GalleryTemplate, cS as Gap, cT as GlassOptions, cU as GlobalSearch, cV as GlobalSearchProps, cW as Grid, cX as GridCols, cY as GridColumn, cZ as GridProps, c_ as HeatmapChart, c$ as HeatmapChartProps, d0 as HelpCenter, d1 as HelpCenterDoc, d2 as HelpCenterProps, d3 as HexInput, d4 as HistogramBin, d5 as HistogramChart, d6 as HistogramChartProps, d7 as Hsv, d8 as INPUT_BASE, d9 as INPUT_SIZES, da as IconButton, db as IconButtonClassesOptions, dc as IconButtonProps, dd as IconRail, de as IconRailButton, df as IconRailButtonProps, dg as IconRailLabels, dh as IconRailLabelsShown, di as IconRailOrientation, dj as IconRailProps, dk as ImageFocusPoint, dl as ImageFocusPointProps, dm as Inline, dn as InlineProps, dp as Input, dq as InputNumber, dr as InputNumberProps, ds as InputProps, dt as InputSize, du as Justify, dv as Kanban, dw as KanbanColumn, dx as KanbanProps, dy as Kbd, dz as KbdProps, dA as KbdSize, dB as KbdTone, dC as Label, dD as LabelClassesOptions, dE as LabelProps, dF as LadderScale, dG as LanguagePanel, dH as LanguagePanelProps, dI as LanguageSelect, dJ as LanguageSelectProps, dK as LinearScale, dL as LinkFilter, dM as LinkFilterField, dN as LinkKindChoice, dO as LinkOption, dP as LinkOptionGroup, dQ as LinkPicker, dR as LinkPickerFieldProps, dS as LinkPickerProps, dT as LinkPickerWindowProps, dU as LinkRules, dV as LinkTarget, dW as ListDrop, dX as ListFooter, dY as ListLoadError, dZ as ListLoadErrorProps, d_ as ListMove, d$ as ListRow, e0 as ListRowProps, e1 as LoadingSpinner, e2 as LoadingSpinnerProps, e3 as MAX_FRACTION_DIGITS, e4 as MENU_MAX_HEIGHT, e5 as MOD, e6 as MOTION, e7 as MOTION_DURATIONS, e8 as Markdown, e8 as MarkdownLite, e9 as MarkdownLiteProps, e9 as MarkdownProps, ea as MediaUploadField, eb as MediaUploadFieldProps, ec as MediaUploadGrid, ed as MediaUploadGridItem, ee as MediaUploadGridProps, ef as MenuPos, eg as Meter, eh as MeterProps, ei as MetricBar, ej as MetricBarProps, ek as Milestone, el as MilestoneKind, em as MilestoneTimeline, en as MilestoneTimelineProps, eo as MotionSpeed, ep as NATIVE_MENU_ATTR, eq as NEXT_CHUNK_PATH_PREFIX, er as NativeSelect, es as NiceAxis, et as NumericKeypad, eu as NumericKeypadProps, ev as OVERLAY_OPEN_EVENT, ew as PLACEHOLDER_INK, ex as POPUP_MAX_WIDTH, ey as POST_PRODUCTION_STATUSES, ez as PageHeader, eA as PageHeaderProps, eB as Pagination, eC as PaginationProps, eD as PaperclipGlyph, eE as Paragraph, eF as ParagraphProps, eG as PieChart, eH as PieChartProps, eI as PieSegment, eJ as PlotGeometry, eK as Point, eL as Popover, eM as PopoverAlign, eN as PopoverProps, eO as PopoverRenderProps, eP as PopoverSide, eQ as PopupMenu, eR as PopupMenuDivider, eS as PopupMenuItem, eT as PopupMenuItemProps, eU as PopupMenuLabel, eV as PopupMenuProps, eW as PopupSubmenu, eX as PopupSubmenuProps, eY as PortalBrandingContextValue, eZ as PortalBrandingProvider, e_ as PortalBrandingProviderProps, e$ as ProductionTimeline, f0 as ProductionTimelineProps, f1 as ProductionTimelineSnapshot, f2 as ProgressItem, f3 as PublicPortal, f4 as PublicPortalBranding, f5 as RADAR_SERIES_CAP, f6 as RADIUS_ROLES, f7 as ROW_HEIGHTS, f8 as RadarAxis, f9 as RadarChart, fa as RadarChartProps, fb as RadarSeries, fc as RadialBarChart, fd as RadialBarChartProps, fe as RadialBarRow, ff as Radio, fg as RadioGroup, fh as RadioGroupOption, fi as RadioGroupOrientation, fj as RadioGroupProps, fk as RadioProps, fl as RadiusRole, fm as Range, fn as RangeChart, fo as RangeChartProps, fp as RangeRow, fq as RankedBars, fr as RankedBarsProps, fs as RankedBarsRow, ft as ResizeHandle, fu as ResizeHandleOrientation, fv as ResizeHandleProps, fw as ResizeHandleSide, fx as ResizeHandleStackSide, fy as ResolvedPortalBrandAsset, fz as Result, fA as ResultProps, fB as ResultStatus, fC as RevealDirection, fD as SCATTER_SERIES_CAP, fE as SERIES_SLOT_COUNT, fF as SERIES_VARS, fG as SHELL_LANGUAGE_STORAGE_KEY, fH as SHIFT, fI as SPACING_ROLES, fJ as SPACING_SCALE, fK as STAGES, fL as STALE_CHUNK_RELOAD_COOLDOWN_MS, fM as STALE_CHUNK_RELOAD_KEY, fN as STATUS_VARS, fO as SankeyChart, fP as SankeyChartProps, fQ as SankeyLink, fR as SankeyNode, fS as ScatterChart, fT as ScatterChartProps, fU as ScatterPoint, fV as ScatterSeries, fW as SearchListRoute, fX as SearchProvider, fY as SearchQuickAction, fZ as SearchResponse, f_ as SearchResult, f$ as SearchableItem, g0 as SearchableOption, g1 as SearchableOptionGroup, g2 as SearchableSelect, g3 as SearchableSelectBaseProps, g4 as SearchableSelectMultipleProps, g5 as SearchableSelectProps, g6 as Segmented, g7 as SegmentedOption, g8 as SegmentedProps, g9 as SegmentedSize, ga as Select, gb as SelectBaseProps, gc as SelectItem, gd as SelectMultipleProps, ge as SelectOption, gf as SelectOptionGroup, gg as SelectProps, gh as SemanticGroup, gi as SeriesSlots, gj as SettingRow, gk as SettingRowProps, gl as SeverityTone, gm as ShellContextKind, gn as ShellContextTarget, go as ShellLanguage, gp as ShellLanguageProvider, gq as ShellLanguageState, gr as ShellPrefsAdapter, gs as ShellPrefsProvider, gt as SidebarActionButton, gu as SidebarActionButtonProps, gv as SidebarGroupLabel, gw as SidebarGroupLabelProps, gx as SidebarLayout, gy as SidebarLayoutProps, gz as SidebarNavGroup, gA as SidebarNavGroupProps, gB as SidebarNavItem, gC as SidebarNavItemProps, gD as Skeleton, gE as SkeletonProps, gF as SkeletonVariant, gG as Slider, gH as SliderGroup, gI as SliderProps, gJ as SliderSize, gK as Snippet, gL as SnippetProps, gM as SnippetSize, gN as SnippetVariant, gO as SortableList, gP as SortableListProps, gQ as SortableListSpacing, gR as SpacingRole, gS as SpacingStep, gT as Sparkline, gU as SparklineProps, gV as Stack, gW as StackProps, gX as StaleChunkReloadOptions, gY as StatCard, gZ as StatCardProps, g_ as StatTile, g$ as StatTileProps, h0 as Statistic, h1 as StatisticProps, h2 as StatisticSize, h3 as StatisticTone, h4 as StatusBadge, h5 as StatusBadgeProvider, h6 as StatusEmphasis, h7 as StepItem, h8 as Stepper, h9 as StepperProps, ha as StrokeVariant, hb as SunburstChart, hc as SunburstChartProps, hd as SunburstNode, he as Switch, hf as SwitchProps, hg as SwitchSize, hh as TYPE_SCALE, hi as TabItem, hj as Tabs, hk as TabsProps, hl as TagInput, hm as TagInputOption, hn as TagInputProps, ho as TagInputTone, hp as Text, hq as TextLinkField, hr as TextLinkFieldProps, hs as TextProps, ht as TextSize, hu as TextTone, hv as TextToolbar, hw as TextToolbarAlign, hx as TextToolbarCase, hy as TextToolbarMark, hz as TextToolbarProps, hA as TextWeight, hB as Textarea, hC as TextareaProps, hD as Theme, hE as TileButton, hF as TileButtonProps, hG as TileSize, hH as TimeAgo, hI as TimeAgoProps, hJ as TimePicker, hK as TimePickerProps, hL as TimeSeriesChart, hM as TimeSeriesChartProps, hN as TimeSeriesSeries, hO as TimelineMarker, hP as TimelineMarkerKind, hQ as TimelineReport, hR as TimelineScrubProgress, hS as TimelineTrack, hT as TimelineTrackItem, hU as TimelineTrackKind, hV as TimelineTrackPending, hW as TimelineTrackPhase, hX as TimelineTrackPlayback, hY as TimelineTrackProps, hZ as TimelineTrackThumb, h_ as Title, h$ as TitleLevel, i0 as TitleProps, i1 as ToastAction, i2 as ToastCloseReason, i3 as ToastOptions, i4 as ToastPlacement, i5 as Tooltip, i6 as TooltipProps, i7 as TopNav, i8 as TopNavItem, i9 as TopNavProps, ia as TransferProgress, ib as TransferProgressProps, ic as TransferProgressState, id as Tree, ie as TreeDrop, ig as TreeEmptySlot, ih as TreeEmptySlotProps, ii as TreeGroup, ij as TreeGroupLabel, ik as TreeGroupLabelProps, il as TreeGroupProps, im as TreeMove, io as TreeProps, ip as TreeRow, iq as TreeRowProps, ir as TreeSeam, is as TreeSeamProps, it as TreemapChart, iu as TreemapChartProps, iv as TreemapItem, iw as TreemapTile, ix as TypeStep, iy as UseAppUpdateOptions, iz as UseContextMenu, iA as UseProductionTimelineOpts, iB as VERSION, iC as VITE_PRELOAD_ERROR_EVENT, iD as WaterfallChart, iE as WaterfallChartProps, iF as WaterfallStep, iG as WidthsBar, iH as WidthsBarProps, iI as ZLayer, iJ as Z_LAYERS, iK as angleScale, iL as appendKey, iM as applyCorners, iN as applyIconSet, iO as applyThemePrefs, iP as arcPath, iQ as areaBetween, iR as areaFrom, iS as assignSeriesSlots, iT as autoHighlightIndex, iU as backspace, iV as bandScale, iW as binValues, iX as budgetState, iY as bumpPath, iZ as buttonClasses, i_ as calcOverall, i$ as calcReportOverall, j0 as colorFill, j1 as colorSwatchClasses, j2 as columnSharesWidths, j3 as confirm, j4 as confirmDestructive, j5 as curvePath, j6 as dashFor, j7 as describeContextTarget, j8 as dismissPopups, j9 as fillFor, ja as fillId, jb as fmtSliderDate, jc as fromDateKey, jd as glassStyle, je as glowId, jf as groundId, jg as groupColors, jh as hexToHsv, ji as highlightOpacity, jj as hsvToHex, jk as iconButtonClasses, jl as inputClasses, jm as installStaleChunkReload, jn as isMac, jo as isSeverityTone, jp as isSpacingStep, jq as isStaleChunkError, jr as keepsNativeMenu, js as labelClasses, jt as ladderScale, ju as languageSelectWidth, jv as leavesContextMenuAlone, jw as linearPath, jx as linearScale, jy as logScale, jz as maskId, jA as matchShellLanguage, jB as mediaFileName, jC as monotonePath, jD as niceAxis, jE as niceMax, jF as openGlobalSearch, jG as parseHexColor, jH as polygonPoints, jI as popupBounds, jJ as prompt, jK as pushRecentSearch, jL as radiusScale, jM as readSavedShellLanguage, jN as registerModalEscapeInterceptor, jO as resolveBrandMarkTreatment, jP as resolveColumnShares, jQ as resolveColumnWidths, jR as resolveCorners, jS as resolvePortalBrandAsset, jT as resolveSeriesColor, jU as resolveSeriesColorWithin, jV as resolveShellLanguage, jW as resolveTheme, jX as sanitizeRecentSearches, jY as saveShellLanguage, jZ as seriesColor, j_ as severityOf, j$ as solidSurfaceStyle, k0 as splinePath, k1 as squarify, k2 as stagger, k3 as stepPath, k4 as tabButtonId, k5 as tabPanelId, k6 as textToolbarRows, k7 as textToolbarWindowColumns, k8 as toDateKey, k9 as toDayMs, ka as toISODate, kb as toast, kc as toggleSeriesSlot, kd as useAppUpdate, ke as useClickOutside, kf as useConfirm, kg as useContextMenu, kh as useDebouncedValue, ki as useDropdownPosition, kj as useFocusTrap, kk as useHighlight, kl as useIsMobile, km as useLocalStoragePrefs, kn as usePlotWidth, ko as usePortalBranding, kp as useProductionTimeline, kq as useScrollLock, kr as useShellLanguage, ks as useShellPrefs, kt as useStatusLabel, ku as useTheme, kv as useTransferProgress } from './index-cfVn8e67.js';
1
+ import { S as SearchConfig, C as ColumnDef, a as SortState, P as PaginatedResponse } from './index-CLkh3Bps.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 AlignmentGrid, k as AlignmentGridProps, l as AlignmentPoint, m as AngleScale, n as AppUpdateBanner, o as AppUpdateBannerProps, p as AttachButton, q as AttachButtonProps, r as AttachmentDropZone, s as AttachmentDropZoneProps, t as AttachmentList, u as AttachmentListProps, v as AuthScreen, w as AuthScreenProps, x as Avatar, y as AvatarGroup, z as AvatarGroupProps, B as AvatarProps, D as AvatarSize, E as AvatarStatus, F as BORDER_WIDTHS, G as BackgroundVariant, H as BandScale, I as Banner, J as BannerEmphasis, K as BannerProps, L as BannerTone, M as BorderRole, N as BoxPlotBox, O as BoxPlotChart, Q as BoxPlotChartProps, R as BrandAssetEditor, T as BrandAssetEditorProps, U as BrandAssetPreview, V as BrandMark, W as BrandMarkProps, X as BrandMarkSlot, Y as BrandMarkSurface, Z as BrandMarkTreatment, _ as BreadcrumbItem, $ as Breadcrumbs, a0 as BreadcrumbsProps, a1 as BudgetBar, a2 as BudgetBarProps, a3 as BudgetState, a4 as Button, a5 as ButtonClassesOptions, a6 as ButtonProps, a7 as ButtonSize, a8 as ButtonVariant, a9 as CHART_INK, aa as CMD_A, ab as CMD_DOT, ac as CMD_ENTER, ad as CMD_K, ae as CMD_S, af as COLUMN_COUNT_MAX, ag as COLUMN_COUNT_WIDTHS, ah as COLUMN_SHARES_EQUAL, ai as COLUMN_SHARE_MIN, aj as CONTROL_HEIGHTS, ak as CORNERS, al as Calendar, am as CalendarMode, an as CalendarProps, ao as Candle, ap as CandlestickChart, aq as CandlestickChartProps, ar as Card, as as CardPadding, at as CardProps, au as CardTone, av as CartesianPlot, aw as CartesianPlotProps, ax as CellStyle, ay as ChartBackgroundVariant, az as ChartBrush, aA as ChartBrushProps, aB as ChartCurve, aC as ChartDefs, aD as ChartDefsProps, aE as ChartDot, aF as ChartDotProps, aG as ChartDotVariant, aH as ChartFillVariant, aI as ChartFrame, aJ as ChartFrameProps, aK as ChartHighlightProvider, aL as ChartLegendEntry, aM as ChartLegendSwatch, aN as ChartRange, aO as ChartReferenceLine, aP as ChartRevealDirection, aQ as ChartSkeleton, aR as ChartSkeletonProps, aS as ChartStatusTone, aT as ChartStrokeVariant, aU as ChartTooltip, aV as ChartTooltipProps, aW as ChartTooltipRow, aX as ChatTemplate, aY as Checkbox, aZ as CheckboxProps, a_ as CheckoutTemplate, a$ as ChordChart, b0 as ChordChartProps, b1 as ColorPicker, b2 as ColorPickerPanel, b3 as ColorPickerPanelProps, b4 as ColorPickerProps, b5 as ColorPreset, b6 as ColorSwatch, b7 as ColorSwatchProps, b8 as ColorSwatchSize, b9 as ColoredBadge, ba as ColoredBadgeProps, bb as ColumnChart, bc as ColumnChartProps, bd as ColumnSeries, be as ColumnShares, bf as ComposerAttachments, bg as ComposerAttachmentsProps, bh as ConfirmProvider, bi as ContainerFillChart, bj as ContainerFillChartProps, bk as ContainerFillItem, bl as ContextMenu, bm as ContextMenuPoint, bn as ContextMenuProps, bo as ContextMenuState, bp as ControlSize, bq as CornerOption, br as Corners, bs as CornersInput, bt as CornersInputProps, bu as CountBadge, bv as CountBadgeProps, bw as CountBadgeTone, bx as Curve, by as DAY_MS, bz as DashboardTemplate, bA as DataTable, bB as DataTableColumn, bC as DataTableColumnGroup, bD as DataTableHeader, bE as DataTablePage, bF as DataTableProps, bG as DataTableRowLink, bH as DataTableRowProps, bI as DatePicker, bJ as DatePickerProps, bK as DateRangePicker, bL as DateRangePickerProps, bM as DateTimePicker, bN as DateTimePickerProps, bO as DescriptionColumns, bP as DescriptionItem, bQ as DescriptionList, bR as DescriptionListProps, bS as Dialog, bT as DialogProps, bU as DialogSize, bV as DisplayChipItem, bW as DisplayChips, bX as DisplayChipsProps, bY as Divider, bZ as DividerProps, b_ as DividerSpacing, b$ as Drawer, c0 as DrawerProps, c1 as DrawerSide, c2 as DrawerSize, c3 as DropdownMenu, c4 as DropdownMenuAlign, c5 as DropdownMenuCheckboxItem, c6 as DropdownMenuDividerItem, c7 as DropdownMenuEntry, c8 as DropdownMenuItem, c9 as DropdownMenuLabelItem, ca as DropdownMenuLinkItem, cb as DropdownMenuProps, cc as DropdownMenuRadioItem, cd as DropdownMenuSide, ce as DropdownPositionOptions, cf as ELEVATION_LEVELS, cg as ENGLISH, ch as ENTER, ci as EditableGrid, cj as EditableGridProps, ck as ElevationLevel, cl as EmailTemplate, cm as EmptyState, cn as EmptyStateProps, co as EmptyValue, cp as EmptyValueProps, cq as ErrorBoundary, cr as ErrorBoundaryProps, cs as ErrorPage, ct as ErrorPageProps, cu as FONT_WEIGHTS, cv as FileIntake, cw as FilePicker, cx as FilePickerProps, cy as FillVariant, cz as FloatingBar, cA as FloatingBarAlign, cB as FloatingBarProps, cC as FloatingBarSide, cD as FontWeightRole, cE as FormError, cF as FormErrorSummary, cG as FormErrorSummaryProps, cH as FormField, cI as FormFieldProps, cJ as FormLayoutPage, cK as FunnelChart, cL as FunnelChartProps, cM as FunnelStage, cN as GLASS_DIVIDER, cO as GLASS_INPUT_BG, cP as GROUP_COLORS, cQ as GROUP_COLORS_SOLID, cR as GalleryTemplate, cS as Gap, cT as GlassOptions, cU as GlobalSearch, cV as GlobalSearchProps, cW as Grid, cX as GridCols, cY as GridColumn, cZ as GridProps, c_ as HeatmapChart, c$ as HeatmapChartProps, d0 as HelpCenter, d1 as HelpCenterDoc, d2 as HelpCenterProps, d3 as HexInput, d4 as HistogramBin, d5 as HistogramChart, d6 as HistogramChartProps, d7 as Hsv, d8 as INPUT_BASE, d9 as INPUT_SIZES, da as IconButton, db as IconButtonClassesOptions, dc as IconButtonProps, dd as IconRail, de as IconRailButton, df as IconRailButtonProps, dg as IconRailLabels, dh as IconRailLabelsShown, di as IconRailOrientation, dj as IconRailProps, dk as ImageFocusPoint, dl as ImageFocusPointProps, dm as Inline, dn as InlineProps, dp as Input, dq as InputNumber, dr as InputNumberProps, ds as InputProps, dt as InputSize, du as Justify, dv as Kanban, dw as KanbanColumn, dx as KanbanProps, dy as Kbd, dz as KbdProps, dA as KbdSize, dB as KbdTone, dC as Label, dD as LabelClassesOptions, dE as LabelProps, dF as LadderScale, dG as LanguagePanel, dH as LanguagePanelProps, dI as LanguageSelect, dJ as LanguageSelectProps, dK as LinearScale, dL as LinkFilter, dM as LinkFilterField, dN as LinkKindChoice, dO as LinkOption, dP as LinkOptionGroup, dQ as LinkPicker, dR as LinkPickerFieldProps, dS as LinkPickerProps, dT as LinkPickerWindowProps, dU as LinkRules, dV as LinkTarget, dW as ListDrop, dX as ListFooter, dY as ListLoadError, dZ as ListLoadErrorProps, d_ as ListMove, d$ as ListRow, e0 as ListRowProps, e1 as LoadingSpinner, e2 as LoadingSpinnerProps, e3 as MAX_FRACTION_DIGITS, e4 as MENU_MAX_HEIGHT, e5 as MOD, e6 as MOTION, e7 as MOTION_DURATIONS, e8 as Markdown, e8 as MarkdownLite, e9 as MarkdownLiteProps, e9 as MarkdownProps, ea as MediaUploadField, eb as MediaUploadFieldProps, ec as MediaUploadGrid, ed as MediaUploadGridItem, ee as MediaUploadGridProps, ef as MenuPos, eg as Meter, eh as MeterProps, ei as MetricBar, ej as MetricBarProps, ek as Milestone, el as MilestoneKind, em as MilestoneTimeline, en as MilestoneTimelineProps, eo as MotionSpeed, ep as NATIVE_MENU_ATTR, eq as NEXT_CHUNK_PATH_PREFIX, er as NativeSelect, es as NiceAxis, et as NumericKeypad, eu as NumericKeypadProps, ev as OVERLAY_OPEN_EVENT, ew as PLACEHOLDER_INK, ex as POPUP_MAX_WIDTH, ey as POST_PRODUCTION_STATUSES, ez as PageHeader, eA as PageHeaderProps, eB as Pagination, eC as PaginationProps, eD as PaperclipGlyph, eE as Paragraph, eF as ParagraphProps, eG as PieChart, eH as PieChartProps, eI as PieSegment, eJ as PlotGeometry, eK as Point, eL as Popover, eM as PopoverAlign, eN as PopoverProps, eO as PopoverRenderProps, eP as PopoverSide, eQ as PopupMenu, eR as PopupMenuDivider, eS as PopupMenuItem, eT as PopupMenuItemProps, eU as PopupMenuLabel, eV as PopupMenuProps, eW as PopupSubmenu, eX as PopupSubmenuProps, eY as PortalBrandingContextValue, eZ as PortalBrandingProvider, e_ as PortalBrandingProviderProps, e$ as ProductionTimeline, f0 as ProductionTimelineProps, f1 as ProductionTimelineSnapshot, f2 as ProgressItem, f3 as PublicPortal, f4 as PublicPortalBranding, f5 as RADAR_SERIES_CAP, f6 as RADIUS_ROLES, f7 as ROW_HEIGHTS, f8 as RadarAxis, f9 as RadarChart, fa as RadarChartProps, fb as RadarSeries, fc as RadialBarChart, fd as RadialBarChartProps, fe as RadialBarRow, ff as Radio, fg as RadioGroup, fh as RadioGroupOption, fi as RadioGroupOrientation, fj as RadioGroupProps, fk as RadioProps, fl as RadiusRole, fm as Range, fn as RangeChart, fo as RangeChartProps, fp as RangeRow, fq as RankedBars, fr as RankedBarsProps, fs as RankedBarsRow, ft as ResizeHandle, fu as ResizeHandleOrientation, fv as ResizeHandleProps, fw as ResizeHandleSide, fx as ResizeHandleStackSide, fy as ResolvedPortalBrandAsset, fz as Result, fA as ResultProps, fB as ResultStatus, fC as RevealDirection, fD as SCATTER_SERIES_CAP, fE as SERIES_SLOT_COUNT, fF as SERIES_VARS, fG as SHELL_LANGUAGE_STORAGE_KEY, fH as SHIFT, fI as SPACING_ROLES, fJ as SPACING_SCALE, fK as STAGES, fL as STALE_CHUNK_RELOAD_COOLDOWN_MS, fM as STALE_CHUNK_RELOAD_KEY, fN as STATUS_VARS, fO as SankeyChart, fP as SankeyChartProps, fQ as SankeyLink, fR as SankeyNode, fS as ScatterChart, fT as ScatterChartProps, fU as ScatterPoint, fV as ScatterSeries, fW as SearchListRoute, fX as SearchProvider, fY as SearchQuickAction, fZ as SearchResponse, f_ as SearchResult, f$ as SearchableItem, g0 as SearchableOption, g1 as SearchableOptionGroup, g2 as SearchableSelect, g3 as SearchableSelectBaseProps, g4 as SearchableSelectMultipleProps, g5 as SearchableSelectProps, g6 as Segmented, g7 as SegmentedOption, g8 as SegmentedProps, g9 as SegmentedSize, ga as Select, gb as SelectBaseProps, gc as SelectItem, gd as SelectMultipleProps, ge as SelectOption, gf as SelectOptionGroup, gg as SelectProps, gh as SemanticGroup, gi as SeriesSlots, gj as SettingRow, gk as SettingRowProps, gl as SeverityTone, gm as ShellContextKind, gn as ShellContextTarget, go as ShellLanguage, gp as ShellLanguageProvider, gq as ShellLanguageState, gr as ShellPrefsAdapter, gs as ShellPrefsProvider, gt as SidebarActionButton, gu as SidebarActionButtonProps, gv as SidebarGroupLabel, gw as SidebarGroupLabelProps, gx as SidebarLayout, gy as SidebarLayoutProps, gz as SidebarNavGroup, gA as SidebarNavGroupProps, gB as SidebarNavItem, gC as SidebarNavItemProps, gD as Skeleton, gE as SkeletonProps, gF as SkeletonVariant, gG as Slider, gH as SliderGroup, gI as SliderProps, gJ as SliderSize, gK as Snippet, gL as SnippetProps, gM as SnippetSize, gN as SnippetVariant, gO as SortableList, gP as SortableListProps, gQ as SortableListSpacing, gR as SpacingRole, gS as SpacingStep, gT as Sparkline, gU as SparklineProps, gV as Stack, gW as StackProps, gX as StaleChunkReloadOptions, gY as StatCard, gZ as StatCardProps, g_ as StatTile, g$ as StatTileProps, h0 as Statistic, h1 as StatisticProps, h2 as StatisticSize, h3 as StatisticTone, h4 as StatusBadge, h5 as StatusBadgeProvider, h6 as StatusEmphasis, h7 as StepItem, h8 as Stepper, h9 as StepperProps, ha as StrokeVariant, hb as SunburstChart, hc as SunburstChartProps, hd as SunburstNode, he as Switch, hf as SwitchProps, hg as SwitchSize, hh as TYPE_SCALE, hi as TabItem, hj as Tabs, hk as TabsProps, hl as TagInput, hm as TagInputOption, hn as TagInputProps, ho as TagInputTone, hp as Text, hq as TextLinkField, hr as TextLinkFieldProps, hs as TextProps, ht as TextSize, hu as TextTone, hv as TextToolbar, hw as TextToolbarAlign, hx as TextToolbarCase, hy as TextToolbarMark, hz as TextToolbarProps, hA as TextWeight, hB as Textarea, hC as TextareaProps, hD as Theme, hE as TileButton, hF as TileButtonProps, hG as TileSize, hH as TimeAgo, hI as TimeAgoProps, hJ as TimePicker, hK as TimePickerProps, hL as TimeSeriesChart, hM as TimeSeriesChartProps, hN as TimeSeriesSeries, hO as TimelineMarker, hP as TimelineMarkerKind, hQ as TimelineReport, hR as TimelineScrubProgress, hS as TimelineTrack, hT as TimelineTrackItem, hU as TimelineTrackKind, hV as TimelineTrackPending, hW as TimelineTrackPhase, hX as TimelineTrackPlayback, hY as TimelineTrackProps, hZ as TimelineTrackThumb, h_ as Title, h$ as TitleLevel, i0 as TitleProps, i1 as ToastAction, i2 as ToastCloseReason, i3 as ToastOptions, i4 as ToastPlacement, i5 as ToastUndoableOptions, i6 as Tooltip, i7 as TooltipProps, i8 as TopNav, i9 as TopNavItem, ia as TopNavProps, ib as TransferProgress, ic as TransferProgressProps, id as TransferProgressState, ie as Tree, ig as TreeDrop, ih as TreeEmptySlot, ii as TreeEmptySlotProps, ij as TreeGroup, ik as TreeGroupLabel, il as TreeGroupLabelProps, im as TreeGroupProps, io as TreeMove, ip as TreeProps, iq as TreeRow, ir as TreeRowProps, is as TreeSeam, it as TreeSeamProps, iu as TreemapChart, iv as TreemapChartProps, iw as TreemapItem, ix as TreemapTile, iy as TypeStep, iz as UNDOABLE_MS, iA as UseAppUpdateOptions, iB as UseContextMenu, iC as UseProductionTimelineOpts, iD as VERSION, iE as VITE_PRELOAD_ERROR_EVENT, iF as WaterfallChart, iG as WaterfallChartProps, iH as WaterfallStep, iI as WidthsBar, iJ as WidthsBarProps, iK as ZLayer, iL as Z_LAYERS, iM as angleScale, iN as appendKey, iO as applyCorners, iP as applyIconSet, iQ as applyThemePrefs, iR as arcPath, iS as areaBetween, iT as areaFrom, iU as assignSeriesSlots, iV as autoHighlightIndex, iW as backspace, iX as bandScale, iY as binValues, iZ as budgetState, i_ as bumpPath, i$ as buttonClasses, j0 as calcOverall, j1 as calcReportOverall, j2 as colorFill, j3 as colorSwatchClasses, j4 as columnSharesWidths, j5 as confirm, j6 as confirmDestructive, j7 as curvePath, j8 as dashFor, j9 as describeContextTarget, ja as dismissPopups, jb as fillFor, jc as fillId, jd as fmtSliderDate, je as fromDateKey, jf as glassStyle, jg as glowId, jh as groundId, ji as groupColors, jj as hexToHsv, jk as highlightOpacity, jl as hsvToHex, jm as iconButtonClasses, jn as inputClasses, jo as installStaleChunkReload, jp as isMac, jq as isSeverityTone, jr as isSpacingStep, js as isStaleChunkError, jt as keepsNativeMenu, ju as labelClasses, jv as ladderScale, jw as languageSelectWidth, jx as leavesContextMenuAlone, jy as linearPath, jz as linearScale, jA as logScale, jB as maskId, jC as matchShellLanguage, jD as mediaFileName, jE as monotonePath, jF as niceAxis, jG as niceMax, jH as openGlobalSearch, jI as parseHexColor, jJ as polygonPoints, jK as popupBounds, jL as prompt, jM as pushRecentSearch, jN as radiusScale, jO as readSavedShellLanguage, jP as registerModalEscapeInterceptor, jQ as resolveBrandMarkTreatment, jR as resolveColumnShares, jS as resolveColumnWidths, jT as resolveCorners, jU as resolvePortalBrandAsset, jV as resolveSeriesColor, jW as resolveSeriesColorWithin, jX as resolveShellLanguage, jY as resolveTheme, jZ as sanitizeRecentSearches, j_ as saveShellLanguage, j$ as seriesColor, k0 as severityOf, k1 as solidSurfaceStyle, k2 as splinePath, k3 as squarify, k4 as stagger, k5 as stepPath, k6 as tabButtonId, k7 as tabPanelId, k8 as textToolbarRows, k9 as textToolbarWindowColumns, ka as toDateKey, kb as toDayMs, kc as toISODate, kd as toast, ke as toggleSeriesSlot, kf as useAppUpdate, kg as useClickOutside, kh as useConfirm, ki as useContextMenu, kj as useDebouncedValue, kk as useDropdownPosition, kl as useFocusTrap, km as useHighlight, kn as useIsMobile, ko as useLocalStoragePrefs, kp as usePlotWidth, kq as usePortalBranding, kr as useProductionTimeline, ks as useScrollLock, kt as useShellLanguage, ku as useShellPrefs, kv as useStatusLabel, kw as useTheme, kx as useTransferProgress } from './index-CLkh3Bps.js';
3
3
  export { C as CurrencyFormat, D as DATE_FORMAT_OPTIONS, a as DateFormatKey, E as EMPTY_VALUE, F as FOCAL_DEFAULT, b as FOCAL_NUDGE_COARSE, c as FOCAL_NUDGE_STEP, d as FocalPoint, e as FormatDateOptions, f as FormatMoneyOptions, T as TZ_AUTO, g as TimeAgoOptions, h as currencyDecimals, i as currencySymbol, j as firstDayOfWeek, k as focalFromRect, l as formatBytes, m as formatDate, n as formatDateTime, o as formatFocal, p as formatMoney, q as formatTime, r as getUserDateFormat, s as getUserTimezone, t as nudgeFocal, u as parseFocal, v as setCurrencyFormats, w as setUserDateFormat, x as setUserTimezone, y as syncTimezoneFromProfile, z as timeAgo } from './index-CHufemKB.js';
4
4
  export { isSafeLinkHref } from './markup/index.js';
5
5
  export { FileIntakeAlert, FileIntakeLimits, FileIntakeOptions, FileRejection, FileRejectionReason, acceptsFile, useFileIntake } from './file-intake/index.js';
6
6
  export { ICON_NAMES, Icon, IconName, IconProps, IconTone, isIconName } from './icons/index.js';
7
7
  export { a as IconDrawing, I as IconSet, b as activeIconSet, i as iconSets, c as iconsVersion, r as registerIconSet, d as registerIcons, e as resolveIcon, s as setDefaultIconSet, f as setIconSet, g as subscribeIcons } from './registry-Dw6QO2Ch.js';
8
- export { D as DEFAULT_SHELL_STRINGS, a as ShellStrings, S as ShellStringsOverride, b as ShellStringsProvider, u as useShellLocale, c as useShellStrings } from './strings-DkffgGGm.js';
8
+ export { D as DEFAULT_SHELL_STRINGS, a as ShellStrings, S as ShellStringsOverride, b as ShellStringsProvider, u as useShellLocale, c as useShellStrings } from './strings-DzmlWMRe.js';
9
9
  import { W as WindowRegistry } from './types-BOinJXUf.js';
10
10
  export { M as ModalRegistryEntry, P as PageRegistryEntry, a as WindowRegistryEntry, i as isEntityEntry, b as isPageEntry, s as setShellWindowRegistry } from './types-BOinJXUf.js';
11
11
  import * as react from 'react';
@@ -1267,16 +1267,17 @@ declare function Desktop({ profile }: {
1267
1267
  profile: any;
1268
1268
  }): react_jsx_runtime.JSX.Element;
1269
1269
 
1270
+ /** The host's mobile app, as `Layout`'s `mobileApp` prop takes it. */
1270
1271
  interface MobileAppConfig {
1271
- /** Link the primary button opens — a native deep link, an App Store /
1272
- * Play Store page, or a mobile-optimised web app. When omitted the screen
1273
- * still renders (branding + message) but without a call-to-action. */
1272
+ /** Link the banner opens — a native deep link, an App Store / Play Store
1273
+ * page, or a mobile-optimised web app. No link, no banner. */
1274
1274
  url?: string;
1275
- /** Primary button label. Defaults to `Open the app`. */
1275
+ /** The banner's link text. Defaults to `Open`. */
1276
1276
  ctaLabel?: string;
1277
- /** Headline. Defaults to a message built from the product name. */
1277
+ /** The banner's words. Defaults to `Get the {product} app`. */
1278
1278
  heading?: string;
1279
- /** Supporting copy under the headline. */
1279
+ /** Read by the phone landing screen this banner replaced; unused now, kept
1280
+ * so a host's config still type-checks. */
1280
1281
  description?: string;
1281
1282
  }
1282
1283
 
@@ -1337,10 +1338,9 @@ interface LayoutProps {
1337
1338
  * (e.g. tasks due that day) inside the mini month calendar. When omitted
1338
1339
  * the popover stays a plain date grid. */
1339
1340
  clockCalendar?: ClockCalendarConfig;
1340
- /** Mobile-app link shown on phone/tablet-portrait viewports in place of the
1341
- * desktop chrome. The shell has no built-in touch UI — wire a link to your
1342
- * dedicated mobile app here (see MobileAppConfig). When omitted, small
1343
- * screens get a plain "best viewed on desktop" notice. */
1341
+ /** Your mobile app. A phone gets the Sidebar layout's phone chrome
1342
+ * (`PhoneChrome`); with a `url` here, a banner above its top bar links to
1343
+ * the app until the user dismisses it. */
1344
1344
  mobileApp?: MobileAppConfig;
1345
1345
  /** The shell-wide right-click menu (`ShellContextMenu`). On by default;
1346
1346
  * `false` hands every right-click back to the browser — for a consumer