efficient-shell 4.163.0 → 4.164.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.
- package/README.md +44 -4
- package/dist/{Browser-2I27OQFE.js → Browser-AZSXQEJ2.js} +14 -14
- package/dist/Calculator-GRNWTZIZ.js +29 -0
- package/dist/ConfirmDialog-LSFNIGKM.js +1 -0
- package/dist/{CurrencyConverter-4EEIPAVX.js → CurrencyConverter-VT2SZDA3.js} +7 -7
- package/dist/{Documents-24YAA5UU.js → Documents-WIYSUFCQ.js} +12 -12
- package/dist/{Files-BU7FY2VD.js → Files-FAO4MFCO.js} +30 -30
- package/dist/{Notepad-3D4L3K5W.js → Notepad-APW5DX37.js} +11 -11
- package/dist/PdfViewer-3NWOBXPP.js +1 -0
- package/dist/{PomodoroTimer-B4OPUTJL.js → PomodoroTimer-4JBDIQZK.js} +27 -27
- package/dist/{Preview-VZSNH76G.js → Preview-FBVFDTPN.js} +24 -24
- package/dist/Sidebar-KRN5ZV3F.js +44 -0
- package/dist/{Spreadsheet-TAJ24BQS.js → Spreadsheet-IQF6QAWU.js} +12 -12
- package/dist/{Stock-VEPDDIMJ.js → Stock-NIM7MAYG.js} +3 -3
- package/dist/{Weather-KGZF4DDW.js → Weather-RLISJWFA.js} +14 -14
- package/dist/{WorldClock-UGADOCFW.js → WorldClock-G4L5OLOT.js} +6 -6
- package/dist/apps/index.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/{chunk-ZAJPQAGP.js → chunk-37QZZRDT.js} +1 -1
- package/dist/{chunk-PH3PRIFP.js → chunk-4UCRT4ST.js} +5 -5
- package/dist/{chunk-GSBX7KIS.js → chunk-6NG4TM3E.js} +16 -16
- package/dist/{chunk-J5HNLMGZ.js → chunk-6ZUAHFK3.js} +11 -11
- package/dist/{chunk-2FZGALCU.js → chunk-DGWWPVEQ.js} +6 -6
- package/dist/chunk-ELSUXC3N.js +1 -0
- package/dist/chunk-HQREOTKI.js +9 -0
- package/dist/{chunk-FWY5IRGL.js → chunk-I3CQI462.js} +2 -2
- package/dist/{chunk-NLASNJNY.js → chunk-IY4CP2HO.js} +1 -1
- package/dist/{chunk-UMOVLVTC.js → chunk-J5E4VMLJ.js} +1 -1
- package/dist/chunk-L2W5XPZ3.js +1 -0
- package/dist/chunk-LZIS72CF.js +9 -0
- package/dist/{chunk-VWTYRICQ.js → chunk-MHGFTCEA.js} +498 -490
- package/dist/{chunk-E4JWTNG5.js → chunk-NNUE7M5G.js} +12 -12
- package/dist/{chunk-4GOHPACN.js → chunk-RKOTKWWU.js} +1 -1
- package/dist/{chunk-TZ2EFTST.js → chunk-SVJN7WWF.js} +8 -8
- package/dist/{chunk-6A7BN7EN.js → chunk-T7DDT2Z6.js} +3 -3
- package/dist/{chunk-TBM3ZIAN.js → chunk-TJ4YXVQQ.js} +97 -97
- package/dist/{chunk-PX435JG4.js → chunk-U7ZDZXOJ.js} +1 -1
- package/dist/{chunk-MAMJHPFN.js → chunk-XY25UBVS.js} +1 -1
- package/dist/{chunk-IJ3V2YOS.js → chunk-YLJ7AZON.js} +9 -9
- package/dist/chunk-YS57MJFM.js +1 -0
- package/dist/{chunk-WURTAA2S.js → chunk-Z43BI2JI.js} +1 -1
- package/dist/file-intake/index.js +1 -1
- package/dist/{index-JQXMH_km.d.ts → index-CFLEu3eh.d.ts} +135 -12
- package/dist/index.d.ts +11 -4
- package/dist/index.js +99 -99
- package/dist/map/index.js +6 -6
- package/dist/page-tabs/index.js +5 -5
- package/dist/pdf/index.js +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-2EB2RAT7.js +0 -29
- package/dist/ConfirmDialog-4LZXI6FM.js +0 -1
- package/dist/PdfViewer-5VBKCPCM.js +0 -1
- package/dist/Sidebar-7AY5WJZC.js +0 -44
- package/dist/chunk-A6O4Y63A.js +0 -1
- package/dist/chunk-L7ZMDZAB.js +0 -9
- package/dist/chunk-OSJ3ADF2.js +0 -1
- package/dist/chunk-QRJ2ERKR.js +0 -9
- package/dist/chunk-YJX2IWHB.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Modal as e}from"./chunk-
|
|
1
|
+
import{Modal as e}from"./chunk-TJ4YXVQQ.js";import{keepsNativeMenu as a}from"./chunk-HQREOTKI.js";import{jsx as i,jsxs as n}from"react/jsx-runtime";var t={activeOpacity:70,inactiveOpacity:50,activeBlur:0,inactiveBlur:0};function r(e){try{const a=JSON.parse(localStorage.getItem(e)||"");return null!=a.blur&&null==a.activeBlur&&(a.activeBlur=a.blur,a.inactiveBlur=a.blur,delete a.blur),{...t,...a}}catch{return t}}function l({open:t,onClose:r,title:l,appearance:c,onAppearanceChange:s,onSave:d,children:o}){if(!t)return null;const u="w-full h-1.5 rounded-full appearance-none bg-gray-200 cursor-pointer accent-blue-500",p="flex items-center justify-between text-xs text-gray-500";/* @__PURE__ */
|
|
2
2
|
return i("div",{onPointerDown:e=>e.stopPropagation(),onContextMenu:e=>{e.stopPropagation(),a(e.target)||e.preventDefault()},children:/* @__PURE__ */i(e,{open:t,onClose:r,title:l,size:"sm",children:/* @__PURE__ */n("div",{className:"space-y-4",children:[o,
|
|
3
3
|
/* @__PURE__ */n("div",{children:[
|
|
4
4
|
/* @__PURE__ */i("h3",{className:"text-sm font-semibold text-gray-700 mb-3",children:"Appearance"}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{client_default as a}from"./chunk-
|
|
1
|
+
import{client_default as a}from"./chunk-TJ4YXVQQ.js";var e=()=>a.get("/auth/numbering-configs/").then(a=>a.data?.results??a.data??[]),t="uploaded:wallpaper";function r(a,e){return"string"!=typeof a||!a||"none"===a||a.startsWith("#")?"":a===t?e||"":a}var p=()=>a.get("/auth/me/wallpaper/").then(a=>a.data),n=e=>{const t=new FormData;return t.append("wallpaper",e),a.post("/auth/me/wallpaper/",t).then(a=>a.data)},l=()=>a.delete("/auth/me/wallpaper/").then(a=>a.data);function s(a){const e=a?.response?.status,t=a?.response?.data,r=Array.isArray(t?.wallpaper)?t.wallpaper[0]:void 0;return r||(413===e?"That picture is too large to use as a wallpaper.":415===e?"That file is not a picture this can use as a wallpaper.":"The wallpaper could not be saved. Please try again.")}export{t as WALLPAPER_PREF_TOKEN,l as deleteWallpaper,e as getNumberingConfigs,p as getWallpaper,n as uploadWallpaper,r as wallpaperSrc,s as wallpaperUploadError};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import{escapeHtml as e}from"./chunk-BR22X7E5.js";import{useShellStrings as t}from"./chunk-
|
|
2
|
-
return u("div",{...n,dangerouslySetInnerHTML:r})}function g({columns:e,data:g,onChange:m,onColumnsChange:f,fixedRows:p=!1,minRows:y=15,maxHeight:b="260px",cellStyles:v,onFocusChange:x,onSelectionChange:M}){const D=r(null),k=t().grid,[C,E]=o(null);l(()=>{x?.(C)},[C,x]);const[L
|
|
1
|
+
import{escapeHtml as e}from"./chunk-BR22X7E5.js";import{useShellStrings as t}from"./chunk-YS57MJFM.js";import{useBrowserLayoutEffect as n}from"./chunk-D65T4H6J.js";import{useRef as r,useState as o,useEffect as l,useCallback as c,useMemo as a}from"react";import{createPortal as s}from"react-dom";import{jsxs as i,jsx as u,Fragment as d}from"react/jsx-runtime";function h(e,t){const n=e[e.length-1];return n&&!n.some(e=>e.trim())?e:[...e,Array(t).fill("")]}function w({text:t,...n}){const r=a(()=>({__html:e(t)}),[t]);/* @__PURE__ */
|
|
2
|
+
return u("div",{...n,dangerouslySetInnerHTML:r})}function g({columns:e,data:g,onChange:m,onColumnsChange:f,fixedRows:p=!1,minRows:y=15,maxHeight:b="260px",cellStyles:v,onFocusChange:x,onSelectionChange:M}){const D=r(null),k=t().grid,[C,E]=o(null);l(()=>{x?.(C)},[C,x]);const[S,L]=o({}),$=r(null),[N,A]=o({}),z=r(null),[O,T]=o(null),[R,K]=o(null),[F,P]=o(null),[I,X]=o(null),[Y,H]=o(null),j=r(null);n(()=>{const e=j.current;if(!e||e.row!==Y?.row||e.col!==Y?.col)return;j.current=null;const t=D.current?.querySelector(`[data-row="${e.row}"][data-col="${e.col}"]`);if(!t)return;t.focus();const n=document.createRange();n.selectNodeContents(t),n.collapse(!1);const r=window.getSelection();r?.removeAllRanges(),r?.addRange(n)},[Y]);const[q,B]=o(null),[W,J]=o(null);l(()=>{M?.(q&&W?{anchor:q,end:W}:null)},[q,W,M]);const _=r(!1),[U,V]=o(null),G=r(!1),Q=r({a:null,e:null});Q.current={a:q,e:W};const Z=q&&W&&(q.row!==W.row||q.col!==W.col),ee=[...g];if(!p)for(;ee.length<y;)ee.push(Array(e.length).fill(""));const te=c((t,n,r)=>{const o=ee.map(e=>[...e]);for(;o.length<=t;)o.push(Array(e.length).fill(""));for(;o[t].length<e.length;)o[t].push("");o[t][n]=r,m(o)},[ee,e.length,m]),ne=c((e,t,n)=>{if(0!==e.button)return;const r=document.activeElement;if(r?.dataset?.row&&r?.dataset?.col){const e=parseInt(r.dataset.row),t=parseInt(r.dataset.col),n=r.textContent||"";if(n!==(ee[e]?.[t]||"")){const r=ee.map(e=>[...e]);r[e]&&(r[e][t]=n,m(r))}}_.current=!0,e.shiftKey&&q||B({row:t,col:n}),J({row:t,col:n})},[ee,m,q]),re=c((e,t)=>{_.current&&J({row:e,col:t})},[]);l(()=>{const e=()=>{_.current=!1};return window.addEventListener("mouseup",e),()=>window.removeEventListener("mouseup",e)},[]),l(()=>{const e=e=>{if(!e.ctrlKey&&!e.metaKey||"c"!==e.key)return;if(!q||!W)return;const t=window.getSelection();if(t&&t.toString().length>0&&!Z)return;const n=Math.min(q.row,W.row),r=Math.max(q.row,W.row),o=Math.min(q.col,W.col),l=Math.max(q.col,W.col),c=[];for(let e=n;e<=r;e++){const t=[];for(let n=o;n<=l;n++)t.push(ee[e]?.[n]||"");c.push(t.join("\t"))}const a=c.join("\n");a&&(e.preventDefault(),navigator.clipboard.writeText(a))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[q,W,ee,Z]),l(()=>{const t=t=>{if(!C)return;const n=document.activeElement;if(n?.isContentEditable)return;if(!D.current?.contains(n))return;const r=t.clipboardData?.getData("text/plain");if(!r)return;t.preventDefault();const o=r.split("\n").filter(e=>e).map(e=>e.split("\t")),l=ee.map(e=>[...e]);for(let t=0;t<o.length;t++){const n=C.row+t;for(;l.length<=n;)l.push(Array(e.length).fill(""));for(;l[n].length<e.length;)l[n].push("");for(let r=0;r<o[t].length;r++){const c=C.col+r;if(c>=e.length)break;e[c].readOnly||(l[n][c]=o[t][r].trim())}}m(p?l:h(l,e.length)),B({row:C.row,col:C.col}),J({row:Math.min(C.row+o.length-1,l.length-1),col:Math.min(C.col+(o[0]?.length||1)-1,e.length-1)})};return window.addEventListener("paste",t),()=>window.removeEventListener("paste",t)},[C,ee,e,m,p]);const oe=c((t,n,r)=>{const o=t.clipboardData.getData("text/plain");if(!o)return;const l=o.split("\n").map(e=>e.split("\t"));if(l.length<=1&&l[0]?.length<=1)return;t.preventDefault();const c=ee.map(e=>[...e]);for(let t=0;t<l.length;t++){const o=n+t;for(;c.length<=o;)c.push(Array(e.length).fill(""));for(;c[o].length<e.length;)c[o].push("");for(let n=0;n<l[t].length;n++){const a=r+n;if(a>=e.length)break;e[a].readOnly||(c[o][a]=l[t][n].trim())}}m(p?c:h(c,e.length))},[ee,e,m,p]),le=c((t,n,r)=>{let o=n,l=r;if("Tab"===t.key)t.preventDefault(),l=t.shiftKey?r-1:r+1,l>=e.length&&(l=0,o=n+1),l<0&&(l=e.length-1,o=n-1);else if("Enter"===t.key)t.preventDefault(),o=t.shiftKey?n-1:n+1;else if("ArrowDown"===t.key)t.preventDefault(),o=n+1;else if("ArrowUp"===t.key)t.preventDefault(),o=n-1;else if("ArrowLeft"===t.key)t.preventDefault(),l=r-1;else{if("ArrowRight"!==t.key){if("Delete"===t.key||"Backspace"===t.key){const o=t.target;if(o.isContentEditable)return void(o.textContent&&window.getSelection()?.toString()===o.textContent&&(t.preventDefault(),te(n,r,"")));if(t.preventDefault(),q&&W){const t=Math.min(q.row,W.row),n=Math.max(q.row,W.row),r=Math.min(q.col,W.col),o=Math.max(q.col,W.col),l=ee.map(e=>[...e]);for(let c=t;c<=n;c++)for(let t=r;t<=o;t++)l[c]&&!e[t]?.readOnly&&(l[c][t]="");m(l)}else te(n,r,"");return}return}t.preventDefault(),l=r+1}for(;l>=0&&l<e.length&&e[l].readOnly;)l+="Tab"===t.key&&t.shiftKey?-1:1;if(o>=0&&o<ee.length&&l>=0&&l<e.length){const e=D.current?.querySelector(`[data-row="${o}"][data-col="${l}"]`);e&&(e.focus({preventScroll:!0}),e.scrollIntoView({block:"nearest",inline:"nearest"}),E({row:o,col:l}),H(null),B({row:o,col:l}),J({row:o,col:l}))}},[e,ee,ee.length,te,q,W,m]),ce=c(t=>{if(!p&&t>=ee.length-2){const t=ee.map(e=>[...e]);for(let n=0;n<5;n++)t.push(Array(e.length).fill(""));m(t)}},[p,ee,e.length,m]),[ae,se]=o(null);l(()=>{if(!ae)return;const e=()=>se(null);return window.addEventListener("pointerdown",e),()=>window.removeEventListener("pointerdown",e)},[ae]);const ie=c(t=>{const n=ee.map(e=>[...e]);n.splice(t,0,Array(e.length).fill("")),m(n)},[ee,e.length,m]),ue=c(e=>{if(ee.length<=1)return;const t=ee.filter((t,n)=>n!==e);m(t)},[ee,m]),de=c(e=>{const t=ee.map(t=>{const n=[...t];return n.splice(e,0,""),n});m(t)},[ee,m]),he=c(t=>{if(e.length<=1)return;const n=ee.map(e=>{const n=[...e];return n.splice(t,1),n});m(n)},[ee,e.length,m]),we=c((e,t)=>{e.preventDefault(),p||se({x:e.clientX,y:e.clientY,items:[{label:k.insertRowAbove,onClick:()=>{ie(t),se(null)}},{label:k.insertRowBelow,onClick:()=>{ie(t+1),se(null)}},{label:k.deleteRow(t+1),onClick:()=>{ue(t),se(null)}}]})},[p,ie,ue,k]),ge=c((t,n)=>{t.preventDefault(),p||se({x:t.clientX,y:t.clientY,items:[{label:k.insertColumnLeft,onClick:()=>{de(n),se(null)}},{label:k.insertColumnRight,onClick:()=>{de(n+1),se(null)}},{label:k.deleteColumn(String(e[n]?.title||n+1)),onClick:()=>{he(n),se(null)}}]})},[p,e,de,he,k]),me=t=>S[t]??e[t]?.width??150;l(()=>{const t=e=>{if(!$.current)return;const t=e.clientX-$.current.startX,n=Math.max(40,$.current.startW+t);L(e=>({...e,[$.current.col]:n}))},n=()=>{if($.current&&f){const t=e.map((e,t)=>({...e,width:S[t]??e.width}));t[$.current.col]={...t[$.current.col],width:S[$.current.col]??e[$.current.col].width},f(t)}$.current=null,document.body.style.cursor=""};return window.addEventListener("mousemove",t),window.addEventListener("mouseup",n),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",n)}},[e,S,f]);const fe=e=>N[e]??28;l(()=>{const e=e=>{if(!z.current)return;const t=e.clientY-z.current.startY,n=Math.max(20,z.current.startH+t);A(e=>({...e,[z.current.row]:n}))},t=()=>{z.current=null,document.body.style.cursor=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[]);const pe=c(t=>{const n=document.createElement("canvas").getContext("2d");if(!n)return;n.font="12px ui-monospace, SFMono-Regular, Menlo, monospace";let r=0;for(const e of ee){const o=String(e[t]??"").replace(/<[^>]*>/g,""),l=n.measureText(o).width;l>r&&(r=l)}const o=n.measureText(e[t]?.title??"").width;o>r&&(r=o);const l=Math.max(40,Math.ceil(r+24));if(L(e=>({...e,[t]:l})),f){const n=e.map((e,n)=>({...e,width:n===t?l:S[n]??e.width}));f(n)}},[ee,e,S,f]),ye=c(e=>{A(t=>{const n={...t};return delete n[e],n})},[]),be=c(t=>{const{a:n,e:r}=Q.current;if(!n||!r)return;const o=Math.min(n.row,r.row),l=Math.max(n.row,r.row),c=Math.min(n.col,r.col),a=Math.max(n.col,r.col);let s=o,i=l,u=c,d=a;t.row>l?i=t.row:t.row<o&&(s=t.row),t.col>a?d=t.col:t.col<c&&(u=t.col);const h=l-o+1,w=a-c+1,g=ee.map(e=>[...e]);for(;g.length<=i;)g.push(Array(e.length).fill(""));for(const e of g)for(;e.length<=d;)e.push("");function f(e){const t=e.map(e=>parseFloat(e));if(t.length<2||t.some(e=>Number.isNaN(e)))return null;const n=t[1]-t[0];for(let e=2;e<t.length;e++)if(Math.abs(t[e]-t[e-1]-n)>1e-9)return null;return{step:n}}for(let e=s;e<=i;e++)for(let t=u;t<=d;t++){if(e>=o&&e<=l&&t>=c&&t<=a)continue;let n;if(1===w&&u===c&&d===a){const r=f(Array.from({length:h},(e,n)=>g[o+n]?.[t]??""));if(r){const c=parseFloat(g[l]?.[t]??"0"),a=parseFloat(g[o]?.[t]??"0"),s=e>l?e-l:-(o-e);n=String((e>l?c:a)+r.step*s)}else{const r=((e-o)%h+h)%h;n=g[o+r]?.[t]??""}}else if(1===h&&s===o&&i===l){const r=f(Array.from({length:w},(t,n)=>g[e]?.[c+n]??""));if(r){const o=parseFloat(g[e]?.[a]??"0"),l=parseFloat(g[e]?.[c]??"0"),s=t>a?t-a:-(c-t);n=String((t>a?o:l)+r.step*s)}else{const r=((t-c)%w+w)%w;n=g[e]?.[c+r]??""}}else{const r=((e-o)%h+h)%h,l=((t-c)%w+w)%w;n=g[o+r]?.[c+l]??""}g[e][t]=n}m(g),B({row:s,col:u}),J({row:i,col:d})},[ee,e.length,m]);l(()=>{const e=e=>{if(!G.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);V({row:r,col:o})},t=()=>{G.current&&U&&be(U),G.current=!1,V(null),document.body.style.cursor=""};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[U,be]);const ve=e=>{e.preventDefault(),e.stopPropagation(),G.current=!0,document.body.style.cursor="crosshair"},xe=r(null),[Me,De]=o(0),[ke,Ce]=o(800);l(()=>{const e=xe.current;if(!e)return;const t=()=>Ce(e.clientHeight||800);t();const n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]);const Ee=ee.length>100,Se=Ee?Math.max(0,Math.floor(Me/28)-20):0,Le=Ee?Math.min(ee.length,Math.ceil((Me+ke)/28)+20):ee.length,$e=a(()=>ee.slice(Se,Le),[ee,Se,Le]),Ne=28*Se,Ae=28*(ee.length-Le),ze="px-2 py-1.5 text-left text-xs font-medium text-gray-500 uppercase bg-gray-100 border-b border-r border-gray-200 select-none";/* @__PURE__ */
|
|
3
3
|
return i("div",{ref:xe,className:"border border-gray-300 rounded overflow-scroll grid-scroll",style:{maxHeight:b,height:b},onScroll:e=>De(e.target.scrollTop),children:[
|
|
4
4
|
/* @__PURE__ */i("table",{ref:D,className:"border-collapse select-none",style:{tableLayout:"fixed",minWidth:36+e.reduce((t,n)=>t+me(e.indexOf(n)),0)},children:[
|
|
5
5
|
/* @__PURE__ */i("colgroup",{children:[
|
|
6
6
|
/* @__PURE__ */u("col",{style:{width:36}}),e.map((e,t)=>/* @__PURE__ */u("col",{style:{width:me(t)}},e.key))]}),
|
|
7
7
|
/* @__PURE__ */u("thead",{className:"sticky top-0 z-10",children:/* @__PURE__ */i("tr",{children:[
|
|
8
|
-
/* @__PURE__ */u("th",{className:ze+" text-center w-9 cursor-pointer hover:bg-gray-200",onClick:()=>{
|
|
9
|
-
return i("th",{className:`${ze} cursor-pointer hover:bg-gray-200 relative${r?" !bg-blue-200":""}${I===n?" !bg-blue-100":""}`,style:{width:me(n)},draggable:!0,onDragStart:()=>(e=>
|
|
8
|
+
/* @__PURE__ */u("th",{className:ze+" text-center w-9 cursor-pointer hover:bg-gray-200",onClick:()=>{B({row:0,col:0}),J({row:ee.length-1,col:e.length-1})},title:k.selectAll,children:"#"}),e.map((t,n)=>{const r=q&&W&&Math.min(q.col,W.col)<=n&&n<=Math.max(q.col,W.col)&&0===Math.min(q.row,W.row)&&Math.max(q.row,W.row)===ee.length-1;/* @__PURE__ */
|
|
9
|
+
return i("th",{className:`${ze} cursor-pointer hover:bg-gray-200 relative${r?" !bg-blue-200":""}${I===n?" !bg-blue-100":""}`,style:{width:me(n)},draggable:!0,onDragStart:()=>(e=>P(e))(n),onDragOver:e=>((e,t)=>{e.preventDefault(),X(t)})(e,n),onDrop:()=>(t=>{if(null===F||F===t)return P(null),void X(null);const n=ee.map(e=>{const n=[...e],[r]=n.splice(F,1);return n.splice(t,0,r),n});if(m(n),f){const n=[...e],[r]=n.splice(F,1);n.splice(t,0,r),f(n)}P(null),X(null)})(n),onDragEnd:()=>{P(null),X(null)},onClick:e=>{e.shiftKey&&q||B({row:0,col:n}),J({row:ee.length-1,col:n})},onContextMenu:e=>ge(e,n),children:[t.title,
|
|
10
10
|
/* @__PURE__ */u("div",{className:"absolute -right-1 top-0 bottom-0 w-2 cursor-col-resize z-20",onMouseDown:e=>((e,t)=>{e.preventDefault(),e.stopPropagation(),$.current={col:t,startX:e.clientX,startW:me(t)},document.body.style.cursor="col-resize"})(e,n),onDoubleClick:e=>{e.stopPropagation(),pe(n)},title:k.resize})]},t.key)})]})}),
|
|
11
|
-
/* @__PURE__ */i("tbody",{children:[Ne>0&&/* @__PURE__ */u("tr",{style:{height:Ne}}),$e.map((t,n)=>{const r=
|
|
11
|
+
/* @__PURE__ */i("tbody",{children:[Ne>0&&/* @__PURE__ */u("tr",{style:{height:Ne}}),$e.map((t,n)=>{const r=Se+n,o=q&&W&&Math.min(q.row,W.row)<=r&&r<=Math.max(q.row,W.row)&&0===Math.min(q.col,W.col)&&Math.max(q.col,W.col)===e.length-1;/* @__PURE__ */
|
|
12
12
|
return i("tr",{style:{height:fe(r)},children:[
|
|
13
|
-
/* @__PURE__ */i("td",{className:`relative px-1 py-1 text-center text-[10px] 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":""}${R===r?" !bg-blue-100":""}`,draggable:!0,onDragStart:()=>(e=>T(e))(r),onDragOver:e=>((e,t)=>{e.preventDefault(),K(t)})(e,r),onDrop:()=>(e=>{if(null===O||O===e)return T(null),void K(null);const t=ee.map(e=>[...e]),[n]=t.splice(O,1);t.splice(e,0,n),m(t),T(null),K(null)})(r),onDragEnd:()=>{T(null),K(null)},onClick:t=>{t.shiftKey&&B
|
|
14
|
-
/* @__PURE__ */u("div",{className:"absolute -bottom-1 left-0 right-0 h-2 cursor-row-resize z-20",onMouseDown:e=>((e,t)=>{e.preventDefault(),e.stopPropagation(),z.current={row:t,startY:e.clientY,startH:fe(t)},document.body.style.cursor="row-resize"})(e,r),onDoubleClick:e=>{e.stopPropagation(),ye(r)},title:k.resize})]}),e.map((e,n)=>{const o=
|
|
15
|
-
return i("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":""}${g?" !bg-blue-50 ring-1 ring-inset ring-blue-300":""}`,onMouseDown:e=>{if(e.target===e.currentTarget){ne(e,r,n);const t=e.currentTarget.querySelector("[data-row][data-col]");t?.focus()}},onMouseEnter:()=>re(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||
|
|
16
|
-
/* @__PURE__ */u(w,{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}${f}`,onMouseDown:e=>ne(e,r,n),onMouseEnter:()=>re(r,n),onDoubleClick:()=>{e.readOnly||
|
|
13
|
+
/* @__PURE__ */i("td",{className:`relative px-1 py-1 text-center text-[10px] 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":""}${R===r?" !bg-blue-100":""}`,draggable:!0,onDragStart:()=>(e=>T(e))(r),onDragOver:e=>((e,t)=>{e.preventDefault(),K(t)})(e,r),onDrop:()=>(e=>{if(null===O||O===e)return T(null),void K(null);const t=ee.map(e=>[...e]),[n]=t.splice(O,1);t.splice(e,0,n),m(t),T(null),K(null)})(r),onDragEnd:()=>{T(null),K(null)},onClick:t=>{t.shiftKey&&q||B({row:r,col:0}),J({row:r,col:e.length-1})},onContextMenu:e=>we(e,r),children:[r+1,
|
|
14
|
+
/* @__PURE__ */u("div",{className:"absolute -bottom-1 left-0 right-0 h-2 cursor-row-resize z-20",onMouseDown:e=>((e,t)=>{e.preventDefault(),e.stopPropagation(),z.current={row:t,startY:e.clientY,startH:fe(t)},document.body.style.cursor="row-resize"})(e,r),onDoubleClick:e=>{e.stopPropagation(),ye(r)},title:k.resize})]}),e.map((e,n)=>{const o=q&&W&&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}(q,W,r,n),l=Y?.row===r&&Y?.col===n&&!e.readOnly,c=C?.row===r&&C?.col===n,a=v?.[`${r}:${n}`],s=q&&W?Math.max(q.row,W.row):-1,d=q&&W?Math.max(q.col,W.col):-1,h=q&&W&&r===s&&n===d,g=G.current&&U&&q&&W&&(()=>{const e=Math.min(q.row,W.row),t=Math.max(q.row,W.row),o=Math.min(q.col,W.col),l=Math.max(q.col,W.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-[11px]":"lg"===a?.fontSize?"text-sm":"xl"===a?.fontSize?"text-base":"text-xs",f=`${a?.bold?" font-bold":""}${a?.italic?" italic":""}${a?.underline?" underline":""}`;/* @__PURE__ */
|
|
15
|
+
return i("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":""}${g?" !bg-blue-50 ring-1 ring-inset ring-blue-300":""}`,onMouseDown:e=>{if(e.target===e.currentTarget){ne(e,r,n);const t=e.currentTarget.querySelector("[data-row][data-col]");t?.focus()}},onMouseEnter:()=>re(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__ */u(w,{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}${f}`,onMouseDown:e=>ne(e,r,n),onMouseEnter:()=>re(r,n),onDoubleClick:()=>{e.readOnly||H({row:r,col:n})},onFocus:()=>{E({row:r,col:n}),_.current||(B({row:r,col:n}),J({row:r,col:n}))},onBlur:e=>{const o=e.currentTarget.textContent||"";o!==(t[n]||"")&&te(r,n,o),H(null)},onInput:()=>ce(r),onPaste:e=>oe(e,r,n),onKeyDown:t=>{if(!(l||e.readOnly||1!==t.key.length||t.ctrlKey||t.metaKey||t.altKey))return t.preventDefault(),te(r,n,t.key),j.current={row:r,col:n},void H({row:r,col:n});le(t,r,n)},text:t[n]||""}),h&&/* @__PURE__ */u("div",{onMouseDown:ve,title:k.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__ */u("tr",{style:{height:Ae}})]})]}),ae&&s(
|
|
17
17
|
/* @__PURE__ */i(d,{children:[
|
|
18
18
|
/* @__PURE__ */u("div",{className:"fixed inset-0 z-[200]",onPointerDown:()=>se(null)}),
|
|
19
19
|
/* @__PURE__ */u("div",{className:"fixed z-[201] bg-white rounded-lg shadow-lg border border-gray-200 py-1 min-w-[160px]",style:{left:ae.x,top:ae.y},children:ae.items.map((e,t)=>/* @__PURE__ */u("button",{onPointerDown:t=>{t.stopPropagation(),e.onClick()},className:"w-full text-left px-3 py-1.5 text-sm text-gray-700 hover:bg-gray-100",children:e.label},t))})]}),document.body)]})}export{g as EditableGrid,h as withSpareRow};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createContext as e,useContext as o,useMemo as t,useEffect as a}from"react";import{jsx as n}from"react/jsx-runtime";var i=/* @__PURE__ */new Map;function r(e,o){const t=`${e}|${JSON.stringify(o)}`;let a=i.get(t);return a||(a=new Intl.NumberFormat(e,o),i.set(t,a)),a}function s(e,o){return o?r(o,{maximumFractionDigits:20}).format(e):String(e)}function l(e,o,t){return t?r(t,{minimumFractionDigits:o,maximumFractionDigits:o}).format(e):e.toFixed(o)}function d(e,o,t){return t?r(t,{style:"percent",minimumFractionDigits:o,maximumFractionDigits:o}).format(e/100):`${e.toFixed(o)}%`}function c(e){const o=o=>s(o,e),t=o=>function(e,o){return o?r(o,{}).format(e):e.toLocaleString()}(o,e),a=(o,t)=>l(o,t,e),n=(o,t)=>d(o,t,e);return{window:{minimize:"Minimize",restore:"Restore",maximize:"Maximize",windowed:"Windowed",pinOnTop:"Pin on top",unpin:"Unpin from top",close:"Close",windowSuffix:"window",prev:"Prev",next:"Next",snapLayouts:"Snap layouts",snapLeft:"Snap left half",snapRight:"Snap right half",snapTopLeft:"Snap top-left quarter",snapTopRight:"Snap top-right quarter",snapBottomLeft:"Snap bottom-left quarter",snapBottomRight:"Snap bottom-right quarter"},taskbar:{closeWindow:"Close window",offscreenHint:"This window is off screen — click to bring it back",offscreenDot:"Off screen — click to bring this window back",expose:"Exposé — show all open windows as thumbnails",addToDesktop:"Add to desktop",removeFromDesktop:"Remove from desktop",minimizeAllWindows:"Minimize all",restoreAllWindows:"Restore all",closeAllWindows:"Close all"},logout:{goodbye:"Goodbye",seeYou:"See you next time"},about:{aboutPrefix:"About",thisApp:"this app",openSourceLicenses:"Open Source Licenses",whatsNew:"What's New",noChangelog:"No changelog available."},table:{empty:"Nothing to show",loading:"Loading",selectAll:"Select all rows",selectRow:"Select row"},select:{none:"— None —",noMatches:"No matches",allSelected:"All options selected",clear:"Clear selection",remove:"Remove"},notifications:{title:"Notifications",markAllRead:"Mark all read",dnd:"Do not disturb",dndOn:"Do not disturb is on",caughtUp:"All caught up",empty:"No notifications yet",viewAll:"View all notifications",cardLabel:"Notification",dismiss:"Dismiss notification"},form:{errorSummaryTitle:"There is a problem"},help:{title:"Help",searchPlaceholder:"Search help…",empty:"No help articles yet.",noResults:"No articles match your search.",loading:"Loading…",pickArticle:"Pick a help article from the left.",noBody:"This article has no body yet.",draft:"Draft",newArticle:"+ New",edit:"Edit"},update:{available:"A new version is available.",refreshNow:"Refresh now"},pageTabs:{label:"Open pages",close:"Close",closeOthers:"Close other tabs",closeRight:"Close tabs to the right",closeAll:"Close all tabs",unsaved:"Unsaved changes",copy:e=>`Copy ${e}`,copied:"Copied",tabMenu:"Window menu",discardTitle:"Discard unsaved changes?",discardOne:"This page has changes that have not been saved. Close it anyway?",discardMany:"pages have changes that have not been saved. Close them anyway?",discardConfirm:"Discard and close",keepEditing:"Keep editing"},dialog:{close:"Close",cancel:"Cancel",ok:"OK",confirmTitle:"Confirm",destructiveTitle:"Confirm Action",destructiveCancel:"Dismiss",destructiveConfirm:"Delete",typeToConfirm:e=>`Type ${e} to confirm:`,promptTitle:"Enter a value"},calendar:{previousMonth:"Previous month",nextMonth:"Next month",previousYear:"Previous year",nextYear:"Next year",previousYears:"Previous years",nextYears:"Next years",monthPanel:"Choose a month",yearPanel:"Choose a year",chooseMonth:e=>`Choose a month, currently ${e}`,chooseYear:e=>`Choose a year, currently ${e}`},datePicker:{placeholder:"Select a date",dialog:"Choose a date",clear:"Clear",today:"Today",required:"Required"},dateRange:{placeholder:"Date Range",clearRange:"Clear date range",dialog:"Date range",from:"From",to:"To",start:"Start",end:"End",fromOnly:e=>`From ${e}`,toOnly:e=>`To ${e}`,range:(e,o)=>`${e} to ${o}`,required:"Required",last2Weeks:"Last 2 Weeks",lastMonth:"Last Month",last3Months:"Last 3 Months",last6Months:"Last 6 Months",last12Months:"Last 12 Months",custom:"Custom",clear:"Clear",cancel:"Cancel",apply:"Apply"},pagination:{label:"Pagination",first:"First page",previous:"Previous page",next:"Next page",last:"Last page"},list:{selected:e=>`${o(e)} selected`,selectedNotShown:(e,t)=>`${o(e)} selected, ${o(t)} not shown`,allLoaded:(e,o)=>`All ${t(e)} ${o} loaded`,count:(e,o)=>`${t(e)} ${o}`,loadedOf:(e,o,a)=>`${t(e)} of ${t(o)} ${a}`,loadingMore:"Loading more...",loadError:"Couldn't load this list",loadErrorMessage:"Something went wrong fetching these records. Check your connection and try again.",retry:"Try again"},kanban:{loading:"Loading…",empty:"No items.",dropHere:"Drop here",addItem:"Add item"},files:{attach:"Attach files",drop:"Drop files to attach",remove:e=>`Remove ${e}`,chooseMany:"Choose files",chooseOne:"Choose a file",dragMany:"or drag them here",dragOne:"or drag it here",notAccepted:(e,o)=>`${e} is not an accepted file type${o?` (${o})`:""}`,tooLarge:(e,o,t)=>`${e} is ${o} — the limit is ${t}`,tooMany:(e,t)=>`${e} was not added — ${o(t)} ${1===t?"file":"files"} is the limit`,bytes:e=>`${o(e)} B`,kilobytes:e=>`${o(e)} KB`,megabytes:e=>`${a(e,1)} MB`},media:{uploadImage:"Upload an image",uploadVideo:"Upload a video",uploadFile:"Upload a file",upload:"Upload media",cta:"Choose from library or upload",replace:"Replace",remove:"Remove",uploading:"Uploading…",cover:"Cover",add:"Add",addMedia:"Add media",empty:"No media.",removeItem:e=>`Remove ${e}`,reorder:(e,t,a)=>`${e}, item ${o(t)} of ${o(a)}. Use arrow keys to reorder.`},brandAsset:{save:e=>`Save ${e}`,remove:e=>`Remove ${e}`,discard:"Discard change",saveFailed:e=>`Could not save ${e}.`,removeFailed:e=>`Could not remove ${e}.`,region:(e,o)=>`${e} for ${o}`,usedFor:e=>`Used for ${e}.`,previews:e=>`${e} previews`,preview:"Preview",alt:(e,o)=>`${e} ${o}`},copy:{copy:"Copy",copyLabel:e=>`Copy ${e}`,copied:"Copied",copiedLabel:e=>`${e} copied`,failed:"Could not copy to the clipboard"},keypad:{backspace:"Backspace",enter:"Enter"},banner:{dismiss:"Dismiss"},badge:{remove:"Remove",removeItem:e=>`Remove ${e}`},breadcrumbs:{label:"Breadcrumb",hidden:"Hidden crumbs"},emptyState:{message:"Nothing here yet."},errors:{notFound:"Page not found",notFoundBody:"The page you're looking for doesn't exist or was moved.",forbidden:"Access denied",forbiddenBody:"You don't have permission to view this page.",noAccess:"You don't have access to this",serverError:"Something went wrong",serverErrorBody:"An unexpected error occurred. Please try again.",retry:"Try again",details:"Error details"},search:{placeholder:"Search...",escBadge:"ESC",searching:"Searching...",noResults:"No results found.",minChars:e=>`Type at least ${o(e)} characters to search...`,navigate:"navigate",open:"open",close:"close",enterKey:"Enter",escKey:"Esc",recent:"Recent",favorites:"Favorites",actions:"Actions",listLabel:"Search results",groupCount:(e,t)=>`${o(e)}${t?"+":""}`,groupLabel:(e,t,a)=>`${e}, ${o(t)}${a?"+":""}`,seeAll:e=>`See all ${e}`,searchFailed:"Search failed — check your connection and try again.",partialFailure:"Some results could not be loaded.",tabKey:"Tab",nextGroup:"next group"},grid:{selectAll:"Select all",insertRowAbove:"Insert row above",insertRowBelow:"Insert row below",deleteRow:e=>`Delete row ${e}`,insertColumnLeft:"Insert column left",insertColumnRight:"Insert column right",deleteColumn:e=>`Delete column ${e}`,resize:"Drag to resize · double-click to auto-fit",fill:"Drag to fill"},sidebar:{resize:"Drag to resize · double-click to reset"},resizeHandle:{label:"Resize panel",hint:"Drag to resize · double-click to reset"},number:{increase:"Increase",decrease:"Decrease"},slider:{value:e=>`${e} value`},color:{swatch:(e,o)=>`${e}: ${o}`,none:"None",panel:e=>`${e} picker`,square:"Saturation and brightness",squareValue:(e,o)=>`Saturation ${n(e,0)}, brightness ${n(o,0)}`,hue:"Hue",hex:e=>`${e} hex code`,presets:"Presets",clear:"No color"},tree:{empty:"Nothing here yet",dropHere:"Drop here"},layout:{desktop:"Desktop",sidebar:"Sidebar",switchToDesktop:"Switch to Desktop",switchToSidebar:"Switch to Sidebar",collapseSidebar:"Collapse sidebar",expandSidebar:"Expand sidebar",search:"Search…",navLabel:"Main menu",openWindows:"Open windows",pageResult:"Page",accountMenu:e=>`Account menu for ${e}`,profile:"My Profile",notifications:"Notifications",reportIssue:"Suggestion or Bug",signOut:"Sign Out",signOutTitle:"Sign Out",signOutMessage:"Do you want to log out? All windows will reopen when you log back in."},markdown:{screenshot:"Screenshot"},severity:{success:"ok",warning:"warning",danger:"critical",unrecognised:e=>`unrecognised severity ${e}`},meter:{noData:"no data",warningAt:e=>`warning ≥ ${o(e)}`,criticalAt:e=>`critical ≥ ${o(e)}`,noReading:"no reading",noBudget:"no budget",ofBudget:e=>`${e} of budget`,budget:"budget",hoursMinutes:(e,t)=>`${o(e)}h ${o(t)}m`,minutesSeconds:(e,t)=>`${o(e)}m ${o(t)}s`,seconds:e=>`${o(e)}s`},charts:{showTable:"Show the data as a table",loading:"Loading chart data",noData:"No data in this window.",windowStart:"Window start",windowEnd:"Window end",window:(e,t,a)=>`Time window — showing ${e} to ${t} of ${o(a)} intervals`,overIntervals:(e,t)=>`${e.join(", ")} over ${o(t)} intervals`,acrossCategories:(e,t)=>`${e.join(", ")} across ${o(t)} categories`,acrossMeasures:(e,t)=>`${e.join(", ")} across ${o(t)} measures`,breakdown:(e,t)=>`Breakdown of ${e} across ${o(t)} segments`,funnel:(e,t,a)=>`Funnel of ${o(e)} stages, ${t} down to ${a}`,radialTrack:e=>`${o(e)} categories, as concentric proportions`,radialCycle:e=>`${o(e)} categories, around a cycle`,tableFrom:"From",tableTo:"To",tableItem:"Item",tableLevel:"Level",tableSeries:"Series",inBucket:e=>`${e} in this bucket`,inCategory:e=>`${e} in this category`,value:"Value",share:"Share",count:"Count",flow:"Flow",totalFlow:"Total flow",throughput:"Throughput",open:"Open",high:"High",low:"Low",close:"Close",maximum:"Maximum",q3:"Q3",median:"Median",q1:"Q1",minimum:"Minimum",distribution:"Distribution",fiveNumber:(e,t)=>`${e}: five-number summary for ${o(t)} categories`,outliers:e=>`${o(e)} outlier${e>1?"s":""} beyond the whiskers`,price:"Price",ohlc:(e,t)=>`${e}: open, high, low and close across ${o(t)} periods`,closedAbove:"Closed above its open",closedBelow:"Closed below its open",noFlows:"No flows to chart.",chord:e=>`Flows between ${o(e)} participants`,noStages:"No stages to chart.",ofFirstStage:"Of first stage",droppedHere:"Dropped here",intensity:"Intensity",noActivity:"No activity in this window.",heatmap:(e,t,a)=>`${e} across ${o(t)} rows and ${o(a)} columns`,countAxis:"count",histogram:(e,t,a)=>`${e}: ${o(t)} bins over ${o(a)} observations`,observations:"Observations",notEnough:"Not enough eligible requests to judge.",objectiveMet:e=>`objective ${e} met`,objectiveMissed:e=>`objective ${e} missed`,nothingToPlot:"Nothing to plot.",nothingToCompare:"Nothing to compare.",other:"Other",nothingToBreakDown:"Nothing to break down.",range:"Range",rangeLabel:(e,t)=>`${e}: low and high across ${o(t)} categories`,nothingToRank:"Nothing to rank in this window.",emphasised:"(emphasised)",sankey:(e,t)=>`Flow between ${o(e)} nodes over ${o(t)} links`,noObservations:"No observations in this window.",xAxis:"x",yAxis:"y",size:"Size",scatter:(e,o,t)=>`${e.join(", ")}: ${o} against ${t}`,outsideRange:e=>`${o(e)} ${1===e?"point":"points"} outside the shown range`,waterfall:(e,t,a)=>`Waterfall of ${o(e)} steps from ${t} to ${a}`,balance:"Balance",increase:"Increase",decrease:"Decrease",runningTotal:"Running total",sunburst:(e,t)=>`Hierarchy of ${e} across ${o(t)} levels`,treemap:e=>`Treemap of ${o(e)} items`,trendUp:"up",trendDown:"down",trendFlat:"flat"},timeline:{days:e=>`${t(e)} days`,daysToToday:e=>`${t(e)} days to today`,notReached:"Not yet reached",next:"Next",more:e=>`+${o(e)} more`,today:"Today",todayTitle:e=>`Today — ${e}`,open:e=>`Open ${e}`,openButton:"Open",scrub:"Scrub the timeline",alsoToCome:e=>`Also to come: ${e.join(", ")}`,start:e=>`Start · ${e}`,events:(e,t)=>`${o(e)} events · ${t.join(", ")}`,started:e=>`started ${e}`,duration:e=>`${t(e)} day${1===e?"":"s"}`,reached:(e,t)=>`${o(e)} of ${o(t)} milestones`,milestones:e=>`${e} milestones`},production:{heading:"Production progress",start:"Start",estimated:"Estimated",estimatedCompletion:"Estimated completion",estDone:"Est. done",play:"Play",pause:"Pause",playTitle:"Play the timeline, report by report",backTo:e=>`Back to ${e}`,showing:e=>`Showing ${e}`,overall:e=>`${n(e,0)} overall`,inStock:e=>`${t(e)} pc in stock`,noReport:"No production report filed yet",leadTime:e=>`${t(e)} day${1===e?"":"s"} lead time`,report:"Production report",shipment:"Shipment",inspection:"Inspection",invoice:"Invoice",scrub:"Scrub the production timeline",label:(e,o)=>`Production reports and events, ${e} to ${o}`},containers:{items:e=>`${o(e)} items`,pieces:e=>`${o(e)} pcs`,split:(e,t)=>`(${o(e)} instr / ${o(t)} loaded)`,added:(e,t)=>`${o(e)} new (${o(t)} pcs)`,fill:(e,t)=>`${a(e,1)} / ${o(t)} m³`,total:"Total:",instructed:e=>`${a(e,2)} m³ instruction`,loaded:e=>`${a(e,2)} m³ loaded`,volume:e=>`${a(e,2)} m³`,noVolume:"Volume: N/A (no volume data for these part numbers)"},toast:{notification:"Notification"},map:{failed:"The map could not be drawn here. The list has everything it shows.",approximate:e=>`${e}, approximate location`,approximateTitle:e=>`${e} (approximate)`,places:e=>1===e?"place":"places",group:(e,t)=>`${o(e)} ${t} here`,stops:e=>`Stops ${e}`,closeBy:(e,t)=>`${o(e)} more ${t} close by, drawn when the map is closer`,spread:"Press to see them apart",cycle:"They stand on one spot: press for the next of them",fullScreen:"Full screen",leaveFullScreen:"Leave full screen",chosen:e=>`${e}, chosen on the map`,closeCard:"Close",openRecord:"Open"},pdf:{previousPage:"Previous page",nextPage:"Next page",pageOf:(e,t)=>`${o(e)} / ${o(t)}`,zoomOut:"Zoom out",zoomIn:"Zoom in",zoom:"Zoom",fitWidth:"Fit width",fitPage:"Fit page",fit:"Fit",fitHint:"Fit to the pane: follows its size until you zoom by hand",print:"Print",download:"Download",email:"Email",loading:"Loading PDF…",loadFailed:"Failed to load PDF",allowPopups:"Allow popups to print"}}}var p=c(),u=/* @__PURE__ */new Map;var h=e(p),m=e(null),g=/* @__PURE__ */new Set;var $=p,f={};function w(){return $}function b({value:e=f,locale:i,children:r}){const s=o(m),l=t(()=>function(e){if(e)try{return Intl.getCanonicalLocales(e)[0]}catch{return void(g.has(e)||(g.add(e),console.error(`[efficient-shell] ShellStringsProvider: locale="${e}" is not a BCP 47 language tag, so it is ignored and numbers and dates keep their default formatting. Pass a tag such as "de-DE" or "ja".`)))}}(i),[i]),d=void 0===i?s?.locale:l,w=t(()=>{const o=function(e){if(!e)return p;let o=u.get(e);return o||(o=c(e),u.set(e,o)),o}(d),t={};for(const a of Object.keys(o))t[a]={...o[a],...e[a]??{}};return t},[e,d]),b=t(()=>({locale:d}),[d]),y=null!==s;return a(()=>{if(!y)return $=w,()=>{$===w&&($=p)}},[w,y]),/* @__PURE__ */n(m.Provider,{value:b,children:/* @__PURE__ */n(h.Provider,{value:w,children:r})})}function y(){return o(h)}function v(){return o(m)?.locale}function S(e){const[o="",...t]=e("\0").split("\0");return[o,t.join("")]}export{p as DEFAULT_SHELL_STRINGS,b as ShellStringsProvider,w as currentShellStrings,l as formatFixed,d as formatPercent,s as formatPlain,S as splitAround,v as useShellLocale,y as useShellStrings};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{DEFAULT_SHELL_STRINGS as e,useShellStrings as t}from"./chunk-
|
|
1
|
+
import{DEFAULT_SHELL_STRINGS as e,useShellStrings as t}from"./chunk-YS57MJFM.js";import{useRef as r,useState as n,useCallback as s}from"react";import{jsx as a}from"react/jsx-runtime";function o(e,t){const r=(t??"").split(",").map(e=>e.trim().toLocaleLowerCase()).filter(Boolean);if(0===r.length||r.includes("*")||r.includes("*/*"))return!0;const n=e.name.toLocaleLowerCase(),s=e.type.toLocaleLowerCase();return r.some(e=>e.startsWith(".")?n.endsWith(e):e.endsWith("/*")?s.startsWith(e.slice(0,-1)):s===e)}var l=(t,r=e.files)=>t<1024?r.bytes(t):t<1048576?r.kilobytes(Math.round(t/1024)):r.megabytes(t/1048576),i=e=>Array.from(e.dataTransfer?.types??[]).includes("Files");function c({onAccept:e,accept:a,maxSizeBytes:c,maxFiles:u,multiple:f=!0,currentCount:p=0,acceptHint:m,disabled:d=!1}){const h=t().files,g=r(null),[y,x]=n(!1),[v,D]=n([]),L=r(0),b="string"==typeof m?m:"",A=s(t=>{if(d||!t)return;const r=Array.from(t);if(0===r.length)return;const n=[],s=[];for(const e of f?r:r.slice(0,1))o(e,a)?null!=c&&e.size>c?s.push({file:e,reason:"size",message:h.tooLarge(e.name,l(e.size,h),l(c,h))}):f&&null!=u&&p+n.length>=u?s.push({file:e,reason:"count",message:h.tooMany(e.name,u)}):n.push(e):s.push({file:e,reason:"type",message:h.notAccepted(e.name,b)});D(s),n.length&&e(n),g.current&&(g.current.value="")},[d,f,a,b,c,u,p,e,h]),j=s(()=>{d||g.current?.click()},[d]),k=s(()=>D([]),[]);return{inputRef:g,inputProps:{ref:g,type:"file",accept:a||void 0,multiple:f,disabled:d,tabIndex:-1,"aria-hidden":!0,className:"hidden",onChange:e=>A(e.target.files)},zoneProps:d?{}:{onDragEnter:e=>{i(e)&&(e.preventDefault(),L.current+=1,x(!0))},onDragOver:e=>{i(e)&&(e.preventDefault(),y||x(!0))},onDragLeave:e=>{i(e)&&(L.current=Math.max(0,L.current-1),0===L.current&&x(!1))},onDrop:e=>{i(e)&&(e.preventDefault(),L.current=0,x(!1),A(e.dataTransfer.files))}},pasteProps:d?{}:{onPaste:e=>{const t=function(e){const t=e.clipboardData;if(!t)return[];if(t.files&&t.files.length>0)return Array.from(t.files);const r=[];for(const e of Array.from(t.items??[]))if("file"===e.kind){const t=e.getAsFile();t&&r.push(t)}return r}(e);0!==t.length&&(e.preventDefault(),A(t))}},open:j,take:A,dragOver:y,rejections:v,clearRejections:k}}function u({rejections:e,className:t="mt-2"}){return 0===e.length?null:/* @__PURE__ */a("ul",{role:"alert",className:`${t} flex flex-col gap-0.5`,children:e.map(({file:e,message:t},r)=>/* @__PURE__ */a("li",{className:"text-xs text-red-600",children:t},`${e.name}-${r}`))})}export{u as FileIntakeAlert,o as acceptsFile,l as humanSize,c as useFileIntake};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-
|
|
2
|
+
export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-Z43BI2JI.js";import"../chunk-YS57MJFM.js";
|
|
@@ -124,6 +124,13 @@ interface IconButtonClassesOptions {
|
|
|
124
124
|
variant?: Exclude<ButtonVariant, 'link'>;
|
|
125
125
|
/** Defaults to `md`. Square, and the same height as `buttonClasses`' rung. */
|
|
126
126
|
size?: ButtonSize;
|
|
127
|
+
/**
|
|
128
|
+
* A toggle that is on: the accent wash and ink in place of a `ghost` or
|
|
129
|
+
* `secondary` look. `IconButton` sets it from its own `aria-pressed`; an
|
|
130
|
+
* icon-only link that stands for a state takes it here. `primary` and
|
|
131
|
+
* `danger` are already filled and ignore it.
|
|
132
|
+
*/
|
|
133
|
+
pressed?: boolean;
|
|
127
134
|
/** Appended last; the same rule as `ButtonClassesOptions.className`. */
|
|
128
135
|
className?: string;
|
|
129
136
|
}
|
|
@@ -139,7 +146,7 @@ interface IconButtonClassesOptions {
|
|
|
139
146
|
* `aria-label` is a link with no name, read out as its URL or not at all — put
|
|
140
147
|
* one on it.
|
|
141
148
|
*/
|
|
142
|
-
declare function iconButtonClasses({ variant, size, className, }?: IconButtonClassesOptions): string;
|
|
149
|
+
declare function iconButtonClasses({ variant, size, pressed, className, }?: IconButtonClassesOptions): string;
|
|
143
150
|
|
|
144
151
|
interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className'> {
|
|
145
152
|
variant?: ButtonVariant;
|
|
@@ -186,6 +193,13 @@ interface IconButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>,
|
|
|
186
193
|
*/
|
|
187
194
|
variant?: Exclude<ButtonVariant, 'link'>;
|
|
188
195
|
size?: ButtonSize;
|
|
196
|
+
/**
|
|
197
|
+
* The native attribute, which makes the button a toggle. While it is `true`
|
|
198
|
+
* (or `'true'`) a `ghost` or `secondary` button wears the pressed look: the
|
|
199
|
+
* accent wash and ink an active `IconRailButton` has, in light and dark.
|
|
200
|
+
* `false` is a toggle that is off and looks like any ghost button.
|
|
201
|
+
*/
|
|
202
|
+
'aria-pressed'?: ButtonHTMLAttributes<HTMLButtonElement>['aria-pressed'];
|
|
189
203
|
className?: string;
|
|
190
204
|
}
|
|
191
205
|
declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -214,6 +228,8 @@ declare const INPUT_BASE: string;
|
|
|
214
228
|
declare function inputClasses(opts?: {
|
|
215
229
|
invalid?: boolean;
|
|
216
230
|
size?: InputSize;
|
|
231
|
+
/** The read-only ground (`bg-gray-50`) in place of the field's white. */
|
|
232
|
+
readOnly?: boolean;
|
|
217
233
|
className?: string;
|
|
218
234
|
}): string;
|
|
219
235
|
|
|
@@ -233,6 +249,12 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'classN
|
|
|
233
249
|
* was using. Set `style`/`className` for width instead.
|
|
234
250
|
*/
|
|
235
251
|
size?: InputSize;
|
|
252
|
+
/**
|
|
253
|
+
* The native attribute, and the kit's read-only look with it: the sunken
|
|
254
|
+
* ground (`bg-gray-50`, `--surface-sunken` in dark). The value can still be
|
|
255
|
+
* selected and copied, and focus is drawn as on any field.
|
|
256
|
+
*/
|
|
257
|
+
readOnly?: boolean;
|
|
236
258
|
className?: string;
|
|
237
259
|
}
|
|
238
260
|
declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
|
|
@@ -244,6 +266,8 @@ interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>
|
|
|
244
266
|
autoGrow?: boolean;
|
|
245
267
|
/** Desktop rung, or `touch`. Defaults to `md`. */
|
|
246
268
|
size?: InputSize;
|
|
269
|
+
/** The native attribute, and the kit's read-only look with it — as `Input`. */
|
|
270
|
+
readOnly?: boolean;
|
|
247
271
|
className?: string;
|
|
248
272
|
}
|
|
249
273
|
declare const Textarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -278,9 +302,21 @@ interface SelectOption {
|
|
|
278
302
|
*/
|
|
279
303
|
lang?: string;
|
|
280
304
|
}
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
305
|
+
/**
|
|
306
|
+
* A run of options under a heading — "Recent", "System fonts" — in place of a
|
|
307
|
+
* single option anywhere in `options`. The heading is drawn in the open list
|
|
308
|
+
* and named to a screen reader as the group's label (`role="group"`), and the
|
|
309
|
+
* arrow keys, Home/End and typeahead skip it: only options are stops. On touch
|
|
310
|
+
* it is a native `<optgroup>`. Groups do not nest.
|
|
311
|
+
*/
|
|
312
|
+
interface SelectOptionGroup {
|
|
313
|
+
label: string;
|
|
314
|
+
options: SelectOption[];
|
|
315
|
+
}
|
|
316
|
+
/** One entry of `options`: an option, or a group of them. */
|
|
317
|
+
type SelectItem = SelectOption | SelectOptionGroup;
|
|
318
|
+
/** The props `Select` takes in either mode. */
|
|
319
|
+
interface SelectBaseProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, 'onChange' | 'value' | 'className' | 'size' | 'multiple'> {
|
|
284
320
|
/**
|
|
285
321
|
* Desktop rung, or `touch`. Defaults to `md`.
|
|
286
322
|
*
|
|
@@ -317,11 +353,44 @@ interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, 'onC
|
|
|
317
353
|
* ignore it, so it never reaches the DOM as an unknown attribute.
|
|
318
354
|
*/
|
|
319
355
|
touchSize?: InputSize;
|
|
320
|
-
options
|
|
356
|
+
/** Options, and groups of options under a heading (`SelectOptionGroup`). */
|
|
357
|
+
options: SelectItem[];
|
|
321
358
|
/** Shown as a disabled first option when no value is selected. */
|
|
322
359
|
placeholder?: string;
|
|
323
360
|
invalid?: boolean;
|
|
324
361
|
className?: string;
|
|
362
|
+
/**
|
|
363
|
+
* Draws an option in the OPEN LIST in place of its label (and description)
|
|
364
|
+
* — a font list that shows each face in itself, a thumbnail, a shortcut on
|
|
365
|
+
* the right. The option's `label` is still what the closed field shows and
|
|
366
|
+
* what typeahead matches, so draw it (or the same words) inside: the drawing
|
|
367
|
+
* is also what a screen reader reads for the option. `selected` is whether it
|
|
368
|
+
* is chosen, `active` whether the keys or the pointer are on it. The same
|
|
369
|
+
* signature as `SearchableSelect`'s. Native `<option>`s (touch) cannot draw
|
|
370
|
+
* and show the label.
|
|
371
|
+
*/
|
|
372
|
+
renderOption?: (option: SelectOption, state: {
|
|
373
|
+
selected: boolean;
|
|
374
|
+
active: boolean;
|
|
375
|
+
}) => ReactNode;
|
|
376
|
+
}
|
|
377
|
+
/** One value: `value` is a string and `onChange` reports one. */
|
|
378
|
+
interface SelectProps extends SelectBaseProps {
|
|
379
|
+
multiple?: false;
|
|
380
|
+
value: string;
|
|
381
|
+
onChange: (value: string) => void;
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Several values: `value` is a `string[]` and `onChange` reports the whole new
|
|
385
|
+
* array. The open list marks each chosen option with a check and stays open
|
|
386
|
+
* while options are toggled (click, Enter or Space); Escape, Tab or a press
|
|
387
|
+
* outside closes it. The closed field lists the chosen labels, in the options'
|
|
388
|
+
* order. On touch it is a native `<select multiple>`.
|
|
389
|
+
*/
|
|
390
|
+
interface SelectMultipleProps extends SelectBaseProps {
|
|
391
|
+
multiple: true;
|
|
392
|
+
value: string[];
|
|
393
|
+
onChange: (value: string[]) => void;
|
|
325
394
|
}
|
|
326
395
|
/**
|
|
327
396
|
* Raw native `<select>` styled to match the kit's inputs. This is the original
|
|
@@ -336,7 +405,7 @@ interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, 'onC
|
|
|
336
405
|
* `touchSize` is pulled out and dropped: it is `Select`'s prop, and letting it
|
|
337
406
|
* through `rest` would put an unknown attribute on the `<select>`.
|
|
338
407
|
*/
|
|
339
|
-
declare const NativeSelect: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLSelectElement>>;
|
|
408
|
+
declare const NativeSelect: react.ForwardRefExoticComponent<(SelectProps | SelectMultipleProps) & react.RefAttributes<HTMLSelectElement>>;
|
|
340
409
|
/**
|
|
341
410
|
* Smart Select: native `<select>` on touch, custom listbox on desktop.
|
|
342
411
|
*
|
|
@@ -387,7 +456,7 @@ declare const NativeSelect: react.ForwardRefExoticComponent<SelectProps & react.
|
|
|
387
456
|
* native on the desktop is BG#00421, the OS popup that swallows every key
|
|
388
457
|
* event. Reach for `touchSize` first.
|
|
389
458
|
*/
|
|
390
|
-
declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLSelectElement>>;
|
|
459
|
+
declare const Select: react.ForwardRefExoticComponent<(SelectProps | SelectMultipleProps) & react.RefAttributes<HTMLSelectElement>>;
|
|
391
460
|
|
|
392
461
|
interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange' | 'checked' | 'className'> {
|
|
393
462
|
checked: boolean;
|
|
@@ -933,6 +1002,11 @@ interface ShellStrings {
|
|
|
933
1002
|
/** Its tooltip: how to use it. */
|
|
934
1003
|
hint: string;
|
|
935
1004
|
};
|
|
1005
|
+
/** `InputNumber`'s `steppers`: the two arrow buttons' accessible names. */
|
|
1006
|
+
number: {
|
|
1007
|
+
increase: string;
|
|
1008
|
+
decrease: string;
|
|
1009
|
+
};
|
|
936
1010
|
/** `Slider`. The label arrives as the caller wrote it. */
|
|
937
1011
|
slider: {
|
|
938
1012
|
/** The typed value box beside the range: "Opacity value". */
|
|
@@ -2000,9 +2074,12 @@ interface SegmentedOption<T extends string = string> {
|
|
|
2000
2074
|
icon?: ReactNode;
|
|
2001
2075
|
disabled?: boolean;
|
|
2002
2076
|
/**
|
|
2003
|
-
* What choosing it means
|
|
2004
|
-
*
|
|
2005
|
-
*
|
|
2077
|
+
* What choosing it means — "Standard: on every provider's page" — for an
|
|
2078
|
+
* option whose one word cannot say it all, shown in the kit's `Tooltip` on
|
|
2079
|
+
* hover and focus (harness UI-17), and given to the option as its
|
|
2080
|
+
* description. A supplement only: the label is still what names the option.
|
|
2081
|
+
* It was the native `title` attribute until the kit drew it; the name stays
|
|
2082
|
+
* so no caller changes.
|
|
2006
2083
|
*/
|
|
2007
2084
|
title?: string;
|
|
2008
2085
|
}
|
|
@@ -2090,8 +2167,26 @@ interface InputNumberProps {
|
|
|
2090
2167
|
/** Decimal places enforced on blur. */
|
|
2091
2168
|
precision?: number;
|
|
2092
2169
|
step?: number;
|
|
2170
|
+
/**
|
|
2171
|
+
* What Shift+ArrowUp/ArrowDown (and Shift on a stepper) moves by. Defaults to
|
|
2172
|
+
* ten steps — the same as PageUp/PageDown.
|
|
2173
|
+
*/
|
|
2174
|
+
shiftStep?: number;
|
|
2093
2175
|
disabled?: boolean;
|
|
2176
|
+
/**
|
|
2177
|
+
* Shown and announced, not edited: the read-only ground (`inputClasses`'
|
|
2178
|
+
* `readOnly`), no typing, no stepping, steppers disabled. Still focusable, so
|
|
2179
|
+
* the value can be selected and copied.
|
|
2180
|
+
*/
|
|
2181
|
+
readOnly?: boolean;
|
|
2094
2182
|
invalid?: boolean;
|
|
2183
|
+
/**
|
|
2184
|
+
* Shown while the value is `null`. Write what an empty field MEANS — "Auto",
|
|
2185
|
+
* or the number it inherits ("16" from the style above) — and it is also what
|
|
2186
|
+
* a screen reader hears for the empty field (`aria-valuetext`). A placeholder
|
|
2187
|
+
* that is a number is where the first step starts from, so ArrowUp on an
|
|
2188
|
+
* empty "16" gives 17.
|
|
2189
|
+
*/
|
|
2095
2190
|
placeholder?: string;
|
|
2096
2191
|
size?: InputSize;
|
|
2097
2192
|
/** Inside the field's edges — a currency mark, a unit. */
|
|
@@ -2103,6 +2198,25 @@ interface InputNumberProps {
|
|
|
2103
2198
|
* slider, say. */
|
|
2104
2199
|
'aria-label'?: string;
|
|
2105
2200
|
'aria-labelledby'?: string;
|
|
2201
|
+
/**
|
|
2202
|
+
* Two small arrow buttons (the kit's `IconButton`) inside the field's right
|
|
2203
|
+
* edge. A press steps once; held, it repeats until it is let go or the
|
|
2204
|
+
* pointer leaves. Shift on the press steps by `shiftStep`. They are not tab
|
|
2205
|
+
* stops — the field takes ArrowUp/ArrowDown itself — and a press does not
|
|
2206
|
+
* take focus from wherever it is.
|
|
2207
|
+
*/
|
|
2208
|
+
steppers?: boolean;
|
|
2209
|
+
/**
|
|
2210
|
+
* Snap a committed number (Enter or blur) to the `step` grid counted from
|
|
2211
|
+
* `min` (or 0), then hold it to `min`/`max`. Typing is never snapped under
|
|
2212
|
+
* the caret. Default false: a typed 1.3 in a `step={0.5}` field stays 1.3.
|
|
2213
|
+
*/
|
|
2214
|
+
snap?: boolean;
|
|
2215
|
+
/**
|
|
2216
|
+
* Default true: emptying the field reports `null`. False: the field may be
|
|
2217
|
+
* emptied while typing, and Enter or blur puts back the value it holds.
|
|
2218
|
+
*/
|
|
2219
|
+
allowEmpty?: boolean;
|
|
2106
2220
|
className?: string;
|
|
2107
2221
|
onBlur?: () => void;
|
|
2108
2222
|
}
|
|
@@ -2473,8 +2587,17 @@ interface SearchableSelectProps {
|
|
|
2473
2587
|
renderOption?: (option: SearchableOption, state: {
|
|
2474
2588
|
selected: boolean;
|
|
2475
2589
|
}) => ReactNode;
|
|
2590
|
+
/**
|
|
2591
|
+
* Names the field where no `<label htmlFor={id}>` does — a box in an
|
|
2592
|
+
* editor's row, say. The open list takes the same name.
|
|
2593
|
+
*/
|
|
2594
|
+
'aria-label'?: string;
|
|
2595
|
+
/** Names the field (and the open list) by an element already on the page. */
|
|
2596
|
+
'aria-labelledby'?: string;
|
|
2597
|
+
/** A hint or an error message that describes the field. */
|
|
2598
|
+
'aria-describedby'?: string;
|
|
2476
2599
|
}
|
|
2477
|
-
declare function SearchableSelect({ value, onChange, options, placeholder, emptyOptionLabel, className, disabled, id, allowFreeText, onSearchChange, rightAdornment, renderOption, }: SearchableSelectProps): react_jsx_runtime.JSX.Element;
|
|
2600
|
+
declare function SearchableSelect({ value, onChange, options, placeholder, emptyOptionLabel, className, disabled, id, allowFreeText, onSearchChange, rightAdornment, renderOption, 'aria-label': ariaLabel, 'aria-labelledby': labelledBy, 'aria-describedby': describedBy, }: SearchableSelectProps): react_jsx_runtime.JSX.Element;
|
|
2478
2601
|
|
|
2479
2602
|
interface TagInputOption {
|
|
2480
2603
|
value: string;
|
|
@@ -7792,4 +7915,4 @@ declare function ChordChart({ labels, matrix, size, maxNodes, padAngle, arcWidth
|
|
|
7792
7915
|
* string when the source is consumed without a build (e.g. tests). */
|
|
7793
7916
|
declare const VERSION: string;
|
|
7794
7917
|
|
|
7795
|
-
export { type BudgetBarProps as $, ALT as A, type BackgroundVariant as B, type ColumnDef as C, type BandScale as D, Banner as E, type BannerEmphasis as F, type BannerProps as G, type BannerTone as H, BarChart as I, type BarChartProps as J, type BoxPlotBox as K, BoxPlotChart as L, type BoxPlotChartProps as M, BrandAssetEditor as N, type BrandAssetEditorProps as O, type PaginatedResponse as P, type BrandAssetPreview as Q, BrandMark as R, type SearchConfig as S, type BrandMarkProps as T, type BrandMarkSlot as U, type BrandMarkSurface as V, type BrandMarkTreatment as W, type BreadcrumbItem as X, Breadcrumbs as Y, type BreadcrumbsProps as Z, BudgetBar as _, type SortState as a, ColoredBadge as a$, type BudgetState as a0, Button as a1, type ButtonClassesOptions as a2, type ButtonProps as a3, type ButtonSize as a4, type ButtonVariant as a5, CHART_INK as a6, CMD_A as a7, CMD_DOT as a8, CMD_ENTER as a9, ChartHighlightProvider as aA, type ChartLegendEntry as aB, type ChartLegendSwatch as aC, type ChartRange as aD, type ChartReferenceLine as aE, type ChartRevealDirection as aF, ChartSkeleton as aG, type ChartSkeletonProps as aH, type ChartStatusTone as aI, type ChartStrokeVariant as aJ, ChartTooltip as aK, type ChartTooltipProps as aL, type ChartTooltipRow as aM, ChatTemplate as aN, Checkbox as aO, type CheckboxProps as aP, CheckoutTemplate as aQ, ChordChart as aR, type ChordChartProps as aS, ColorPicker as aT, ColorPickerPanel as aU, type ColorPickerPanelProps as aV, type ColorPickerProps as aW, type ColorPreset as aX, ColorSwatch as aY, type ColorSwatchProps as aZ, type ColorSwatchSize as a_, CMD_K as aa, CMD_S as ab, Calendar as ac, type CalendarMode as ad, type CalendarProps as ae, type Candle as af, CandlestickChart as ag, type CandlestickChartProps as ah, Card as ai, type CardPadding as aj, type CardProps as ak, CartesianPlot as al, type CartesianPlotProps as am, type CellStyle as an, type ChartBackgroundVariant as ao, ChartBrush as ap, type ChartBrushProps as aq, type ChartCurve as ar, ChartDefs as as, type ChartDefsProps as at, ChartDot as au, type ChartDotProps as av, type ChartDotVariant as aw, type ChartFillVariant as ax, ChartFrame as ay, type ChartFrameProps as az, ALT_SHIFT_D as b, type DropdownPositionOptions as b$, type ColoredBadgeProps as b0, ColumnChart as b1, type ColumnChartProps as b2, type ColumnSeries as b3, ComposerAttachments as b4, type ComposerAttachmentsProps as b5, ConfirmProvider as b6, ContainerFillChart as b7, type ContainerFillChartProps as b8, type ContainerFillItem as b9, type DescriptionItem as bA, DescriptionList as bB, type DescriptionListProps as bC, Dialog as bD, type DialogProps as bE, type DialogSize as bF, Divider as bG, type DividerProps as bH, type DividerSpacing as bI, DonutChart as bJ, type DonutChartProps as bK, type DonutSegment as bL, Drawer as bM, type DrawerProps as bN, type DrawerSide as bO, type DrawerSize as bP, DropdownMenu as bQ, type DropdownMenuAlign as bR, type DropdownMenuCheckboxItem as bS, type DropdownMenuDividerItem as bT, type DropdownMenuEntry as bU, type DropdownMenuItem as bV, type DropdownMenuLabelItem as bW, type DropdownMenuLinkItem as bX, type DropdownMenuProps as bY, type DropdownMenuRadioItem as bZ, type DropdownMenuSide as b_, ContextMenu as ba, type ContextMenuPoint as bb, type ContextMenuProps as bc, type ContextMenuState as bd, CountBadge as be, type CountBadgeProps as bf, type CountBadgeTone as bg, type Curve as bh, DAY_MS as bi, DEFAULT_SHELL_STRINGS as bj, DashboardTemplate as bk, DataTable as bl, type DataTableColumn as bm, type DataTableColumnGroup as bn, type DataTableHeader as bo, DataTablePage as bp, type DataTableProps as bq, type DataTableRowLink as br, type DataTableRowProps as bs, DatePicker as bt, type DatePickerProps as bu, DateRangePicker as bv, type DateRangePickerProps as bw, DateTimePicker as bx, type DateTimePickerProps as by, type DescriptionColumns as bz, ALT_SHIFT_E as c, type InputProps as c$, ENTER as c0, EditableGrid as c1, type EditableGridProps as c2, EmailTemplate as c3, EmptyState as c4, type EmptyStateProps as c5, EmptyValue as c6, type EmptyValueProps as c7, ErrorBoundary as c8, type ErrorBoundaryProps as c9, type GridColumn as cA, type GridProps as cB, HeatmapChart as cC, type HeatmapChartProps as cD, HelpCenter as cE, type HelpCenterDoc as cF, type HelpCenterProps as cG, HexInput as cH, type HistogramBin as cI, HistogramChart as cJ, type HistogramChartProps as cK, type Hsv as cL, INPUT_BASE as cM, INPUT_SIZES as cN, IconButton as cO, type IconButtonClassesOptions as cP, type IconButtonProps as cQ, IconRail as cR, IconRailButton as cS, type IconRailButtonProps as cT, type IconRailOrientation as cU, type IconRailProps as cV, Inline as cW, type InlineProps as cX, Input as cY, InputNumber as cZ, type InputNumberProps as c_, ErrorPage as ca, type ErrorPageProps as cb, type FileIntake as cc, FilePicker as cd, type FilePickerProps as ce, type FillVariant as cf, type FormError as cg, FormErrorSummary as ch, type FormErrorSummaryProps as ci, FormField as cj, type FormFieldProps as ck, FormLayoutPage as cl, FunnelChart as cm, type FunnelChartProps as cn, type FunnelStage as co, GLASS_DIVIDER as cp, GLASS_INPUT_BG as cq, GROUP_COLORS as cr, GROUP_COLORS_SOLID as cs, GalleryTemplate as ct, type Gap as cu, type GlassOptions as cv, GlobalSearch as cw, type GlobalSearchProps as cx, Grid as cy, type GridCols as cz, ALT_SHIFT_N as d, type PopoverAlign as d$, type InputSize as d0, type Justify as d1, Kanban as d2, type KanbanColumn as d3, type KanbanProps as d4, Kbd as d5, type KbdProps as d6, type KbdSize as d7, Label as d8, type LabelClassesOptions as d9, MetricBar as dA, type MetricBarProps as dB, type Milestone as dC, type MilestoneKind as dD, MilestoneTimeline as dE, type MilestoneTimelineProps as dF, NATIVE_MENU_ATTR as dG, NEXT_CHUNK_PATH_PREFIX as dH, NativeSelect as dI, NumericKeypad as dJ, type NumericKeypadProps as dK, OVERLAY_OPEN_EVENT as dL, POPUP_MAX_WIDTH as dM, POST_PRODUCTION_STATUSES as dN, PageHeader as dO, type PageHeaderProps as dP, Pagination as dQ, type PaginationProps as dR, PaperclipGlyph as dS, Paragraph as dT, type ParagraphProps as dU, PieChart as dV, type PieChartProps as dW, type PieSegment as dX, type PlotGeometry as dY, type Point as dZ, Popover as d_, type LabelProps as da, type LadderScale as db, LineChart as dc, type LineChartProps as dd, type LineChartSeries as de, type LinearScale as df, ListFooter as dg, ListLoadError as dh, type ListLoadErrorProps as di, LoadingSpinner as dj, type LoadingSpinnerProps as dk, MAX_FRACTION_DIGITS as dl, MENU_MAX_HEIGHT as dm, MOD as dn, MOTION as dp, Markdown as dq, type MarkdownProps as dr, MediaUploadField as ds, type MediaUploadFieldProps as dt, MediaUploadGrid as du, type MediaUploadGridItem as dv, type MediaUploadGridProps as dw, type MenuPos as dx, Meter as dy, type MeterProps as dz, APP_UPDATE_POLL_MS as e, type ScatterPoint as e$, type PopoverProps as e0, type PopoverRenderProps as e1, type PopoverSide as e2, PopupMenu as e3, PopupMenuDivider as e4, PopupMenuItem as e5, type PopupMenuItemProps as e6, PopupMenuLabel as e7, type PopupMenuProps as e8, PopupSubmenu as e9, type RangeChartProps as eA, type RangeRow as eB, RankedBars as eC, type RankedBarsProps as eD, type RankedBarsRow as eE, ResizeHandle as eF, type ResizeHandleProps as eG, type ResizeHandleSide as eH, type ResolvedPortalBrandAsset as eI, Result as eJ, type ResultProps as eK, type ResultStatus as eL, type RevealDirection as eM, SCATTER_SERIES_CAP as eN, SERIES_SLOT_COUNT as eO, SERIES_VARS as eP, SHIFT as eQ, STAGES as eR, STALE_CHUNK_RELOAD_COOLDOWN_MS as eS, STALE_CHUNK_RELOAD_KEY as eT, STATUS_VARS as eU, SankeyChart as eV, type SankeyChartProps as eW, type SankeyLink as eX, type SankeyNode as eY, ScatterChart as eZ, type ScatterChartProps as e_, type PopupSubmenuProps as ea, type PortalBrandingContextValue as eb, PortalBrandingProvider as ec, type PortalBrandingProviderProps as ed, ProductionTimeline as ee, type ProductionTimelineProps as ef, type ProductionTimelineSnapshot as eg, type ProgressItem as eh, type PublicPortal as ei, type PublicPortalBranding as ej, RADAR_SERIES_CAP as ek, type RadarAxis as el, RadarChart as em, type RadarChartProps as en, type RadarSeries as eo, RadialBarChart as ep, type RadialBarChartProps as eq, type RadialBarRow as er, Radio as es, RadioGroup as et, type RadioGroupOption as eu, type RadioGroupOrientation as ev, type RadioGroupProps as ew, type RadioProps as ex, type Range as ey, RangeChart as ez, Accordion as f, type StepItem as f$, type ScatterSeries as f0, type SearchListRoute as f1, type SearchProvider as f2, type SearchQuickAction as f3, type SearchResponse as f4, type SearchResult as f5, type SearchableOption as f6, SearchableSelect as f7, type SearchableSelectProps as f8, Segmented as f9, type SidebarNavItemProps as fA, Skeleton as fB, type SkeletonProps as fC, type SkeletonVariant as fD, Slider as fE, type SliderProps as fF, type SliderSize as fG, Snippet as fH, type SnippetProps as fI, type SnippetSize as fJ, type SnippetVariant as fK, Sparkline as fL, type SparklineProps as fM, Stack as fN, type StackProps as fO, type StaleChunkReloadOptions as fP, StatCard as fQ, type StatCardProps as fR, StatTile as fS, type StatTileProps as fT, Statistic as fU, type StatisticProps as fV, type StatisticSize as fW, type StatisticTone as fX, StatusBadge as fY, StatusBadgeProvider as fZ, type StatusEmphasis as f_, type SegmentedOption as fa, type SegmentedProps as fb, type SegmentedSize as fc, Select as fd, type SelectOption as fe, type SelectProps as ff, type SemanticGroup as fg, SettingRow as fh, type SettingRowProps as fi, type SeverityTone as fj, type ShellContextKind as fk, type ShellContextTarget as fl, type ShellPrefsAdapter as fm, ShellPrefsProvider as fn, type ShellStrings as fo, type ShellStringsOverride as fp, ShellStringsProvider as fq, SidebarActionButton as fr, type SidebarActionButtonProps as fs, SidebarGroupLabel as ft, type SidebarGroupLabelProps as fu, SidebarLayout as fv, type SidebarLayoutProps as fw, SidebarNavGroup as fx, type SidebarNavGroupProps as fy, SidebarNavItem as fz, type AccordionItem as g, TreeRow as g$, Stepper as g0, type StepperProps as g1, type StrokeVariant as g2, SunburstChart as g3, type SunburstChartProps as g4, type SunburstNode as g5, Switch as g6, type SwitchProps as g7, type SwitchSize as g8, type TabItem as g9, type TimelineScrubProgress as gA, TimelineTrack as gB, type TimelineTrackItem as gC, type TimelineTrackKind as gD, type TimelineTrackPending as gE, type TimelineTrackPhase as gF, type TimelineTrackPlayback as gG, type TimelineTrackProps as gH, type TimelineTrackThumb as gI, Title as gJ, type TitleLevel as gK, type TitleProps as gL, type ToastOptions as gM, type ToastPlacement as gN, Tooltip as gO, type TooltipProps as gP, TopNav as gQ, type TopNavItem as gR, type TopNavProps as gS, Tree as gT, type TreeDrop as gU, TreeEmptySlot as gV, type TreeEmptySlotProps as gW, TreeGroup as gX, TreeGroupLabel as gY, type TreeGroupProps as gZ, type TreeProps as g_, Tabs as ga, type TabsProps as gb, TagInput as gc, type TagInputOption as gd, type TagInputProps as ge, Text as gf, type TextProps as gg, type TextSize as gh, type TextTone as gi, type TextWeight as gj, Textarea as gk, type TextareaProps as gl, type Theme as gm, TileButton as gn, type TileButtonProps as go, type TileSize as gp, TimeAgo as gq, type TimeAgoProps as gr, TimePicker as gs, type TimePickerProps as gt, TimeSeriesChart as gu, type TimeSeriesChartProps as gv, type TimeSeriesSeries as gw, type TimelineMarker as gx, type TimelineMarkerKind as gy, type TimelineReport as gz, type AccordionProps as h, mediaFileName as h$, type TreeRowProps as h0, TreemapChart as h1, type TreemapChartProps as h2, type TreemapItem as h3, type TreemapTile as h4, type UseAppUpdateOptions as h5, type UseContextMenu as h6, type UseProductionTimelineOpts as h7, VERSION as h8, VITE_PRELOAD_ERROR_EVENT as h9, describeContextTarget as hA, dismissPopups as hB, fillFor as hC, fillId as hD, fmtSliderDate as hE, fromKey as hF, glassStyle as hG, glowId as hH, groundId as hI, groupColors as hJ, hexToHsv as hK, highlightOpacity as hL, hsvToHex as hM, iconButtonClasses as hN, inputClasses as hO, installStaleChunkReload as hP, isMac as hQ, isSeverityTone as hR, isStaleChunkError as hS, keepsNativeMenu as hT, labelClasses as hU, ladderScale as hV, leavesContextMenuAlone as hW, linearPath as hX, linearScale as hY, logScale as hZ, maskId as h_, WaterfallChart as ha, type WaterfallChartProps as hb, type WaterfallStep as hc, type ZLayer as hd, Z_LAYERS as he, angleScale as hf, appendKey as hg, applyThemePrefs as hh, arcPath as hi, areaBetween as hj, areaFrom as hk, autoHighlightIndex as hl, backspace as hm, bandScale as hn, binValues as ho, budgetState as hp, bumpPath as hq, buttonClasses as hr, calcOverall as hs, calcReportOverall as ht, colorFill as hu, colorSwatchClasses as hv, confirm as hw, confirmDestructive as hx, curvePath as hy, dashFor as hz, type Align as i, monotonePath as i0, niceMax as i1, openGlobalSearch as i2, parseHexColor as i3, polygonPoints as i4, popupBounds as i5, prompt as i6, pushRecent as i7, radiusScale as i8, resolveBrandMarkTreatment as i9, useIsMobile as iA, useLocalStoragePrefs as iB, usePlotWidth as iC, usePortalBranding as iD, useProductionTimeline as iE, useScrollLock as iF, useShellLocale as iG, useShellPrefs as iH, useShellStrings as iI, useTheme as iJ, resolvePortalBrandAsset as ia, resolveSeriesColor as ib, resolveTheme as ic, sanitizeRecent as id, seriesColor as ie, severityOf as ig, splinePath as ih, squarify as ii, stagger as ij, stepPath as ik, tabButtonId as il, tabPanelId as im, toKey as io, toDayMs as ip, toISODate as iq, toast as ir, useAppUpdate as is, useClickOutside as it, useConfirm as iu, useContextMenu as iv, useDebouncedValue as iw, useDropdownPosition as ix, useFocusTrap as iy, useHighlight as iz, type AngleScale as j, AppUpdateBanner as k, type AppUpdateBannerProps as l, AttachButton as m, type AttachButtonProps as n, AttachmentDropZone as o, type AttachmentDropZoneProps as p, AttachmentList as q, type AttachmentListProps as r, AuthScreen as s, type AuthScreenProps as t, Avatar as u, AvatarGroup as v, type AvatarGroupProps as w, type AvatarProps as x, type AvatarSize as y, type AvatarStatus as z };
|
|
7918
|
+
export { type BudgetBarProps as $, ALT as A, type BackgroundVariant as B, type ColumnDef as C, type BandScale as D, Banner as E, type BannerEmphasis as F, type BannerProps as G, type BannerTone as H, BarChart as I, type BarChartProps as J, type BoxPlotBox as K, BoxPlotChart as L, type BoxPlotChartProps as M, BrandAssetEditor as N, type BrandAssetEditorProps as O, type PaginatedResponse as P, type BrandAssetPreview as Q, BrandMark as R, type SearchConfig as S, type BrandMarkProps as T, type BrandMarkSlot as U, type BrandMarkSurface as V, type BrandMarkTreatment as W, type BreadcrumbItem as X, Breadcrumbs as Y, type BreadcrumbsProps as Z, BudgetBar as _, type SortState as a, ColoredBadge as a$, type BudgetState as a0, Button as a1, type ButtonClassesOptions as a2, type ButtonProps as a3, type ButtonSize as a4, type ButtonVariant as a5, CHART_INK as a6, CMD_A as a7, CMD_DOT as a8, CMD_ENTER as a9, ChartHighlightProvider as aA, type ChartLegendEntry as aB, type ChartLegendSwatch as aC, type ChartRange as aD, type ChartReferenceLine as aE, type ChartRevealDirection as aF, ChartSkeleton as aG, type ChartSkeletonProps as aH, type ChartStatusTone as aI, type ChartStrokeVariant as aJ, ChartTooltip as aK, type ChartTooltipProps as aL, type ChartTooltipRow as aM, ChatTemplate as aN, Checkbox as aO, type CheckboxProps as aP, CheckoutTemplate as aQ, ChordChart as aR, type ChordChartProps as aS, ColorPicker as aT, ColorPickerPanel as aU, type ColorPickerPanelProps as aV, type ColorPickerProps as aW, type ColorPreset as aX, ColorSwatch as aY, type ColorSwatchProps as aZ, type ColorSwatchSize as a_, CMD_K as aa, CMD_S as ab, Calendar as ac, type CalendarMode as ad, type CalendarProps as ae, type Candle as af, CandlestickChart as ag, type CandlestickChartProps as ah, Card as ai, type CardPadding as aj, type CardProps as ak, CartesianPlot as al, type CartesianPlotProps as am, type CellStyle as an, type ChartBackgroundVariant as ao, ChartBrush as ap, type ChartBrushProps as aq, type ChartCurve as ar, ChartDefs as as, type ChartDefsProps as at, ChartDot as au, type ChartDotProps as av, type ChartDotVariant as aw, type ChartFillVariant as ax, ChartFrame as ay, type ChartFrameProps as az, ALT_SHIFT_D as b, type DropdownPositionOptions as b$, type ColoredBadgeProps as b0, ColumnChart as b1, type ColumnChartProps as b2, type ColumnSeries as b3, ComposerAttachments as b4, type ComposerAttachmentsProps as b5, ConfirmProvider as b6, ContainerFillChart as b7, type ContainerFillChartProps as b8, type ContainerFillItem as b9, type DescriptionItem as bA, DescriptionList as bB, type DescriptionListProps as bC, Dialog as bD, type DialogProps as bE, type DialogSize as bF, Divider as bG, type DividerProps as bH, type DividerSpacing as bI, DonutChart as bJ, type DonutChartProps as bK, type DonutSegment as bL, Drawer as bM, type DrawerProps as bN, type DrawerSide as bO, type DrawerSize as bP, DropdownMenu as bQ, type DropdownMenuAlign as bR, type DropdownMenuCheckboxItem as bS, type DropdownMenuDividerItem as bT, type DropdownMenuEntry as bU, type DropdownMenuItem as bV, type DropdownMenuLabelItem as bW, type DropdownMenuLinkItem as bX, type DropdownMenuProps as bY, type DropdownMenuRadioItem as bZ, type DropdownMenuSide as b_, ContextMenu as ba, type ContextMenuPoint as bb, type ContextMenuProps as bc, type ContextMenuState as bd, CountBadge as be, type CountBadgeProps as bf, type CountBadgeTone as bg, type Curve as bh, DAY_MS as bi, DEFAULT_SHELL_STRINGS as bj, DashboardTemplate as bk, DataTable as bl, type DataTableColumn as bm, type DataTableColumnGroup as bn, type DataTableHeader as bo, DataTablePage as bp, type DataTableProps as bq, type DataTableRowLink as br, type DataTableRowProps as bs, DatePicker as bt, type DatePickerProps as bu, DateRangePicker as bv, type DateRangePickerProps as bw, DateTimePicker as bx, type DateTimePickerProps as by, type DescriptionColumns as bz, ALT_SHIFT_E as c, type InputProps as c$, ENTER as c0, EditableGrid as c1, type EditableGridProps as c2, EmailTemplate as c3, EmptyState as c4, type EmptyStateProps as c5, EmptyValue as c6, type EmptyValueProps as c7, ErrorBoundary as c8, type ErrorBoundaryProps as c9, type GridColumn as cA, type GridProps as cB, HeatmapChart as cC, type HeatmapChartProps as cD, HelpCenter as cE, type HelpCenterDoc as cF, type HelpCenterProps as cG, HexInput as cH, type HistogramBin as cI, HistogramChart as cJ, type HistogramChartProps as cK, type Hsv as cL, INPUT_BASE as cM, INPUT_SIZES as cN, IconButton as cO, type IconButtonClassesOptions as cP, type IconButtonProps as cQ, IconRail as cR, IconRailButton as cS, type IconRailButtonProps as cT, type IconRailOrientation as cU, type IconRailProps as cV, Inline as cW, type InlineProps as cX, Input as cY, InputNumber as cZ, type InputNumberProps as c_, ErrorPage as ca, type ErrorPageProps as cb, type FileIntake as cc, FilePicker as cd, type FilePickerProps as ce, type FillVariant as cf, type FormError as cg, FormErrorSummary as ch, type FormErrorSummaryProps as ci, FormField as cj, type FormFieldProps as ck, FormLayoutPage as cl, FunnelChart as cm, type FunnelChartProps as cn, type FunnelStage as co, GLASS_DIVIDER as cp, GLASS_INPUT_BG as cq, GROUP_COLORS as cr, GROUP_COLORS_SOLID as cs, GalleryTemplate as ct, type Gap as cu, type GlassOptions as cv, GlobalSearch as cw, type GlobalSearchProps as cx, Grid as cy, type GridCols as cz, ALT_SHIFT_N as d, type PopoverAlign as d$, type InputSize as d0, type Justify as d1, Kanban as d2, type KanbanColumn as d3, type KanbanProps as d4, Kbd as d5, type KbdProps as d6, type KbdSize as d7, Label as d8, type LabelClassesOptions as d9, MetricBar as dA, type MetricBarProps as dB, type Milestone as dC, type MilestoneKind as dD, MilestoneTimeline as dE, type MilestoneTimelineProps as dF, NATIVE_MENU_ATTR as dG, NEXT_CHUNK_PATH_PREFIX as dH, NativeSelect as dI, NumericKeypad as dJ, type NumericKeypadProps as dK, OVERLAY_OPEN_EVENT as dL, POPUP_MAX_WIDTH as dM, POST_PRODUCTION_STATUSES as dN, PageHeader as dO, type PageHeaderProps as dP, Pagination as dQ, type PaginationProps as dR, PaperclipGlyph as dS, Paragraph as dT, type ParagraphProps as dU, PieChart as dV, type PieChartProps as dW, type PieSegment as dX, type PlotGeometry as dY, type Point as dZ, Popover as d_, type LabelProps as da, type LadderScale as db, LineChart as dc, type LineChartProps as dd, type LineChartSeries as de, type LinearScale as df, ListFooter as dg, ListLoadError as dh, type ListLoadErrorProps as di, LoadingSpinner as dj, type LoadingSpinnerProps as dk, MAX_FRACTION_DIGITS as dl, MENU_MAX_HEIGHT as dm, MOD as dn, MOTION as dp, Markdown as dq, type MarkdownProps as dr, MediaUploadField as ds, type MediaUploadFieldProps as dt, MediaUploadGrid as du, type MediaUploadGridItem as dv, type MediaUploadGridProps as dw, type MenuPos as dx, Meter as dy, type MeterProps as dz, APP_UPDATE_POLL_MS as e, type ScatterPoint as e$, type PopoverProps as e0, type PopoverRenderProps as e1, type PopoverSide as e2, PopupMenu as e3, PopupMenuDivider as e4, PopupMenuItem as e5, type PopupMenuItemProps as e6, PopupMenuLabel as e7, type PopupMenuProps as e8, PopupSubmenu as e9, type RangeChartProps as eA, type RangeRow as eB, RankedBars as eC, type RankedBarsProps as eD, type RankedBarsRow as eE, ResizeHandle as eF, type ResizeHandleProps as eG, type ResizeHandleSide as eH, type ResolvedPortalBrandAsset as eI, Result as eJ, type ResultProps as eK, type ResultStatus as eL, type RevealDirection as eM, SCATTER_SERIES_CAP as eN, SERIES_SLOT_COUNT as eO, SERIES_VARS as eP, SHIFT as eQ, STAGES as eR, STALE_CHUNK_RELOAD_COOLDOWN_MS as eS, STALE_CHUNK_RELOAD_KEY as eT, STATUS_VARS as eU, SankeyChart as eV, type SankeyChartProps as eW, type SankeyLink as eX, type SankeyNode as eY, ScatterChart as eZ, type ScatterChartProps as e_, type PopupSubmenuProps as ea, type PortalBrandingContextValue as eb, PortalBrandingProvider as ec, type PortalBrandingProviderProps as ed, ProductionTimeline as ee, type ProductionTimelineProps as ef, type ProductionTimelineSnapshot as eg, type ProgressItem as eh, type PublicPortal as ei, type PublicPortalBranding as ej, RADAR_SERIES_CAP as ek, type RadarAxis as el, RadarChart as em, type RadarChartProps as en, type RadarSeries as eo, RadialBarChart as ep, type RadialBarChartProps as eq, type RadialBarRow as er, Radio as es, RadioGroup as et, type RadioGroupOption as eu, type RadioGroupOrientation as ev, type RadioGroupProps as ew, type RadioProps as ex, type Range as ey, RangeChart as ez, Accordion as f, type StatisticTone as f$, type ScatterSeries as f0, type SearchListRoute as f1, type SearchProvider as f2, type SearchQuickAction as f3, type SearchResponse as f4, type SearchResult as f5, type SearchableOption as f6, SearchableSelect as f7, type SearchableSelectProps as f8, Segmented as f9, type SidebarLayoutProps as fA, SidebarNavGroup as fB, type SidebarNavGroupProps as fC, SidebarNavItem as fD, type SidebarNavItemProps as fE, Skeleton as fF, type SkeletonProps as fG, type SkeletonVariant as fH, Slider as fI, type SliderProps as fJ, type SliderSize as fK, Snippet as fL, type SnippetProps as fM, type SnippetSize as fN, type SnippetVariant as fO, Sparkline as fP, type SparklineProps as fQ, Stack as fR, type StackProps as fS, type StaleChunkReloadOptions as fT, StatCard as fU, type StatCardProps as fV, StatTile as fW, type StatTileProps as fX, Statistic as fY, type StatisticProps as fZ, type StatisticSize as f_, type SegmentedOption as fa, type SegmentedProps as fb, type SegmentedSize as fc, Select as fd, type SelectBaseProps as fe, type SelectItem as ff, type SelectMultipleProps as fg, type SelectOption as fh, type SelectOptionGroup as fi, type SelectProps as fj, type SemanticGroup as fk, SettingRow as fl, type SettingRowProps as fm, type SeverityTone as fn, type ShellContextKind as fo, type ShellContextTarget as fp, type ShellPrefsAdapter as fq, ShellPrefsProvider as fr, type ShellStrings as fs, type ShellStringsOverride as ft, ShellStringsProvider as fu, SidebarActionButton as fv, type SidebarActionButtonProps as fw, SidebarGroupLabel as fx, type SidebarGroupLabelProps as fy, SidebarLayout as fz, type AccordionItem as g, TreeGroup as g$, StatusBadge as g0, StatusBadgeProvider as g1, type StatusEmphasis as g2, type StepItem as g3, Stepper as g4, type StepperProps as g5, type StrokeVariant as g6, SunburstChart as g7, type SunburstChartProps as g8, type SunburstNode as g9, type TimeSeriesSeries as gA, type TimelineMarker as gB, type TimelineMarkerKind as gC, type TimelineReport as gD, type TimelineScrubProgress as gE, TimelineTrack as gF, type TimelineTrackItem as gG, type TimelineTrackKind as gH, type TimelineTrackPending as gI, type TimelineTrackPhase as gJ, type TimelineTrackPlayback as gK, type TimelineTrackProps as gL, type TimelineTrackThumb as gM, Title as gN, type TitleLevel as gO, type TitleProps as gP, type ToastOptions as gQ, type ToastPlacement as gR, Tooltip as gS, type TooltipProps as gT, TopNav as gU, type TopNavItem as gV, type TopNavProps as gW, Tree as gX, type TreeDrop as gY, TreeEmptySlot as gZ, type TreeEmptySlotProps as g_, Switch as ga, type SwitchProps as gb, type SwitchSize as gc, type TabItem as gd, Tabs as ge, type TabsProps as gf, TagInput as gg, type TagInputOption as gh, type TagInputProps as gi, Text as gj, type TextProps as gk, type TextSize as gl, type TextTone as gm, type TextWeight as gn, Textarea as go, type TextareaProps as gp, type Theme as gq, TileButton as gr, type TileButtonProps as gs, type TileSize as gt, TimeAgo as gu, type TimeAgoProps as gv, TimePicker as gw, type TimePickerProps as gx, TimeSeriesChart as gy, type TimeSeriesChartProps as gz, type AccordionProps as h, linearPath as h$, TreeGroupLabel as h0, type TreeGroupProps as h1, type TreeProps as h2, TreeRow as h3, type TreeRowProps as h4, TreemapChart as h5, type TreemapChartProps as h6, type TreemapItem as h7, type TreemapTile as h8, type UseAppUpdateOptions as h9, confirm as hA, confirmDestructive as hB, curvePath as hC, dashFor as hD, describeContextTarget as hE, dismissPopups as hF, fillFor as hG, fillId as hH, fmtSliderDate as hI, fromKey as hJ, glassStyle as hK, glowId as hL, groundId as hM, groupColors as hN, hexToHsv as hO, highlightOpacity as hP, hsvToHex as hQ, iconButtonClasses as hR, inputClasses as hS, installStaleChunkReload as hT, isMac as hU, isSeverityTone as hV, isStaleChunkError as hW, keepsNativeMenu as hX, labelClasses as hY, ladderScale as hZ, leavesContextMenuAlone as h_, type UseContextMenu as ha, type UseProductionTimelineOpts as hb, VERSION as hc, VITE_PRELOAD_ERROR_EVENT as hd, WaterfallChart as he, type WaterfallChartProps as hf, type WaterfallStep as hg, type ZLayer as hh, Z_LAYERS as hi, angleScale as hj, appendKey as hk, applyThemePrefs as hl, arcPath as hm, areaBetween as hn, areaFrom as ho, autoHighlightIndex as hp, backspace as hq, bandScale as hr, binValues as hs, budgetState as ht, bumpPath as hu, buttonClasses as hv, calcOverall as hw, calcReportOverall as hx, colorFill as hy, colorSwatchClasses as hz, type Align as i, linearScale as i0, logScale as i1, maskId as i2, mediaFileName as i3, monotonePath as i4, niceMax as i5, openGlobalSearch as i6, parseHexColor as i7, polygonPoints as i8, popupBounds as i9, useDebouncedValue as iA, useDropdownPosition as iB, useFocusTrap as iC, useHighlight as iD, useIsMobile as iE, useLocalStoragePrefs as iF, usePlotWidth as iG, usePortalBranding as iH, useProductionTimeline as iI, useScrollLock as iJ, useShellLocale as iK, useShellPrefs as iL, useShellStrings as iM, useTheme as iN, prompt as ia, pushRecent as ib, radiusScale as ic, resolveBrandMarkTreatment as id, resolvePortalBrandAsset as ie, resolveSeriesColor as ig, resolveTheme as ih, sanitizeRecent as ii, seriesColor as ij, severityOf as ik, splinePath as il, squarify as im, stagger as io, stepPath as ip, tabButtonId as iq, tabPanelId as ir, toKey as is, toDayMs as it, toISODate as iu, toast as iv, useAppUpdate as iw, useClickOutside as ix, useConfirm as iy, useContextMenu as iz, type AngleScale as j, AppUpdateBanner as k, type AppUpdateBannerProps as l, AttachButton as m, type AttachButtonProps as n, AttachmentDropZone as o, type AttachmentDropZoneProps as p, AttachmentList as q, type AttachmentListProps as r, AuthScreen as s, type AuthScreenProps as t, Avatar as u, AvatarGroup as v, type AvatarGroupProps as w, type AvatarProps as x, type AvatarSize as y, type AvatarStatus as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SearchConfig, C as ColumnDef, a as SortState, P as PaginatedResponse } from './index-
|
|
2
|
-
export { A as ALT, b as ALT_SHIFT_D, c as ALT_SHIFT_E, d as ALT_SHIFT_N, e as APP_UPDATE_POLL_MS, f as Accordion, g as AccordionItem, h as AccordionProps, i as Align, j as AngleScale, k as AppUpdateBanner, l as AppUpdateBannerProps, m as AttachButton, n as AttachButtonProps, o as AttachmentDropZone, p as AttachmentDropZoneProps, q as AttachmentList, r as AttachmentListProps, s as AuthScreen, t as AuthScreenProps, u as Avatar, v as AvatarGroup, w as AvatarGroupProps, x as AvatarProps, y as AvatarSize, z as AvatarStatus, B as BackgroundVariant, D as BandScale, E as Banner, F as BannerEmphasis, G as BannerProps, H as BannerTone, I as BarChart, J as BarChartProps, K as BoxPlotBox, L as BoxPlotChart, M as BoxPlotChartProps, N as BrandAssetEditor, O as BrandAssetEditorProps, Q as BrandAssetPreview, R as BrandMark, T as BrandMarkProps, U as BrandMarkSlot, V as BrandMarkSurface, W as BrandMarkTreatment, X as BreadcrumbItem, Y as Breadcrumbs, Z as BreadcrumbsProps, _ as BudgetBar, $ as BudgetBarProps, a0 as BudgetState, a1 as Button, a2 as ButtonClassesOptions, a3 as ButtonProps, a4 as ButtonSize, a5 as ButtonVariant, a6 as CHART_INK, a7 as CMD_A, a8 as CMD_DOT, a9 as CMD_ENTER, aa as CMD_K, ab as CMD_S, ac as Calendar, ad as CalendarMode, ae as CalendarProps, af as Candle, ag as CandlestickChart, ah as CandlestickChartProps, ai as Card, aj as CardPadding, ak as CardProps, al as CartesianPlot, am as CartesianPlotProps, an as CellStyle, ao as ChartBackgroundVariant, ap as ChartBrush, aq as ChartBrushProps, ar as ChartCurve, as as ChartDefs, at as ChartDefsProps, au as ChartDot, av as ChartDotProps, aw as ChartDotVariant, ax as ChartFillVariant, ay as ChartFrame, az as ChartFrameProps, aA as ChartHighlightProvider, aB as ChartLegendEntry, aC as ChartLegendSwatch, aD as ChartRange, aE as ChartReferenceLine, aF as ChartRevealDirection, aG as ChartSkeleton, aH as ChartSkeletonProps, aI as ChartStatusTone, aJ as ChartStrokeVariant, aK as ChartTooltip, aL as ChartTooltipProps, aM as ChartTooltipRow, aN as ChatTemplate, aO as Checkbox, aP as CheckboxProps, aQ as CheckoutTemplate, aR as ChordChart, aS as ChordChartProps, aT as ColorPicker, aU as ColorPickerPanel, aV as ColorPickerPanelProps, aW as ColorPickerProps, aX as ColorPreset, aY as ColorSwatch, aZ as ColorSwatchProps, a_ as ColorSwatchSize, a$ as ColoredBadge, b0 as ColoredBadgeProps, b1 as ColumnChart, b2 as ColumnChartProps, b3 as ColumnSeries, b4 as ComposerAttachments, b5 as ComposerAttachmentsProps, b6 as ConfirmProvider, b7 as ContainerFillChart, b8 as ContainerFillChartProps, b9 as ContainerFillItem, ba as ContextMenu, bb as ContextMenuPoint, bc as ContextMenuProps, bd as ContextMenuState, be as CountBadge, bf as CountBadgeProps, bg as CountBadgeTone, bh as Curve, bi as DAY_MS, bj as DEFAULT_SHELL_STRINGS, bk as DashboardTemplate, bl as DataTable, bm as DataTableColumn, bn as DataTableColumnGroup, bo as DataTableHeader, bp as DataTablePage, bq as DataTableProps, br as DataTableRowLink, bs as DataTableRowProps, bt as DatePicker, bu as DatePickerProps, bv as DateRangePicker, bw as DateRangePickerProps, bx as DateTimePicker, by as DateTimePickerProps, bz as DescriptionColumns, bA as DescriptionItem, bB as DescriptionList, bC as DescriptionListProps, bD as Dialog, bE as DialogProps, bF as DialogSize, bG as Divider, bH as DividerProps, bI as DividerSpacing, bJ as DonutChart, bK as DonutChartProps, bL as DonutSegment, bM as Drawer, bN as DrawerProps, bO as DrawerSide, bP as DrawerSize, bQ as DropdownMenu, bR as DropdownMenuAlign, bS as DropdownMenuCheckboxItem, bT as DropdownMenuDividerItem, bU as DropdownMenuEntry, bV as DropdownMenuItem, bW as DropdownMenuLabelItem, bX as DropdownMenuLinkItem, bY as DropdownMenuProps, bZ as DropdownMenuRadioItem, b_ as DropdownMenuSide, b$ as DropdownPositionOptions, c0 as ENTER, c1 as EditableGrid, c2 as EditableGridProps, c3 as EmailTemplate, c4 as EmptyState, c5 as EmptyStateProps, c6 as EmptyValue, c7 as EmptyValueProps, c8 as ErrorBoundary, c9 as ErrorBoundaryProps, ca as ErrorPage, cb as ErrorPageProps, cc as FileIntake, cd as FilePicker, ce as FilePickerProps, cf as FillVariant, cg as FormError, ch as FormErrorSummary, ci as FormErrorSummaryProps, cj as FormField, ck as FormFieldProps, cl as FormLayoutPage, cm as FunnelChart, cn as FunnelChartProps, co as FunnelStage, cp as GLASS_DIVIDER, cq as GLASS_INPUT_BG, cr as GROUP_COLORS, cs as GROUP_COLORS_SOLID, ct as GalleryTemplate, cu as Gap, cv as GlassOptions, cw as GlobalSearch, cx as GlobalSearchProps, cy as Grid, cz as GridCols, cA as GridColumn, cB as GridProps, cC as HeatmapChart, cD as HeatmapChartProps, cE as HelpCenter, cF as HelpCenterDoc, cG as HelpCenterProps, cH as HexInput, cI as HistogramBin, cJ as HistogramChart, cK as HistogramChartProps, cL as Hsv, cM as INPUT_BASE, cN as INPUT_SIZES, cO as IconButton, cP as IconButtonClassesOptions, cQ as IconButtonProps, cR as IconRail, cS as IconRailButton, cT as IconRailButtonProps, cU as IconRailOrientation, cV as IconRailProps, cW as Inline, cX as InlineProps, cY as Input, cZ as InputNumber, c_ as InputNumberProps, c$ as InputProps, d0 as InputSize, d1 as Justify, d2 as Kanban, d3 as KanbanColumn, d4 as KanbanProps, d5 as Kbd, d6 as KbdProps, d7 as KbdSize, d8 as Label, d9 as LabelClassesOptions, da as LabelProps, db as LadderScale, dc as LineChart, dd as LineChartProps, de as LineChartSeries, df as LinearScale, dg as ListFooter, dh as ListLoadError, di as ListLoadErrorProps, dj as LoadingSpinner, dk as LoadingSpinnerProps, dl as MAX_FRACTION_DIGITS, dm as MENU_MAX_HEIGHT, dn as MOD, dp as MOTION, dq as Markdown, dq as MarkdownLite, dr as MarkdownLiteProps, dr as MarkdownProps, ds as MediaUploadField, dt as MediaUploadFieldProps, du as MediaUploadGrid, dv as MediaUploadGridItem, dw as MediaUploadGridProps, dx as MenuPos, dy as Meter, dz as MeterProps, dA as MetricBar, dB as MetricBarProps, dC as Milestone, dD as MilestoneKind, dE as MilestoneTimeline, dF as MilestoneTimelineProps, dG as NATIVE_MENU_ATTR, dH as NEXT_CHUNK_PATH_PREFIX, dI as NativeSelect, dJ as NumericKeypad, dK as NumericKeypadProps, dL as OVERLAY_OPEN_EVENT, dM as POPUP_MAX_WIDTH, dN as POST_PRODUCTION_STATUSES, dO as PageHeader, dP as PageHeaderProps, dQ as Pagination, dR as PaginationProps, dS as PaperclipGlyph, dT as Paragraph, dU as ParagraphProps, dV as PieChart, dW as PieChartProps, dX as PieSegment, dY as PlotGeometry, dZ as Point, d_ as Popover, d$ as PopoverAlign, e0 as PopoverProps, e1 as PopoverRenderProps, e2 as PopoverSide, e3 as PopupMenu, e4 as PopupMenuDivider, e5 as PopupMenuItem, e6 as PopupMenuItemProps, e7 as PopupMenuLabel, e8 as PopupMenuProps, e9 as PopupSubmenu, ea as PopupSubmenuProps, eb as PortalBrandingContextValue, ec as PortalBrandingProvider, ed as PortalBrandingProviderProps, ee as ProductionTimeline, ef as ProductionTimelineProps, eg as ProductionTimelineSnapshot, eh as ProgressItem, ei as PublicPortal, ej as PublicPortalBranding, ek as RADAR_SERIES_CAP, el as RadarAxis, em as RadarChart, en as RadarChartProps, eo as RadarSeries, ep as RadialBarChart, eq as RadialBarChartProps, er as RadialBarRow, es as Radio, et as RadioGroup, eu as RadioGroupOption, ev as RadioGroupOrientation, ew as RadioGroupProps, ex as RadioProps, ey as Range, ez as RangeChart, eA as RangeChartProps, eB as RangeRow, eC as RankedBars, eD as RankedBarsProps, eE as RankedBarsRow, eF as ResizeHandle, eG as ResizeHandleProps, eH as ResizeHandleSide, eI as ResolvedPortalBrandAsset, eJ as Result, eK as ResultProps, eL as ResultStatus, eM as RevealDirection, eN as SCATTER_SERIES_CAP, eO as SERIES_SLOT_COUNT, eP as SERIES_VARS, eQ as SHIFT, eR as STAGES, eS as STALE_CHUNK_RELOAD_COOLDOWN_MS, eT as STALE_CHUNK_RELOAD_KEY, eU as STATUS_VARS, eV as SankeyChart, eW as SankeyChartProps, eX as SankeyLink, eY as SankeyNode, eZ as ScatterChart, e_ as ScatterChartProps, e$ as ScatterPoint, f0 as ScatterSeries, f1 as SearchListRoute, f2 as SearchProvider, f3 as SearchQuickAction, f4 as SearchResponse, f5 as SearchResult, f6 as SearchableOption, f7 as SearchableSelect, f8 as SearchableSelectProps, f9 as Segmented, fa as SegmentedOption, fb as SegmentedProps, fc as SegmentedSize, fd as Select, fe as SelectOption, ff as SelectProps, fg as SemanticGroup, fh as SettingRow, fi as SettingRowProps, fj as SeverityTone, fk as ShellContextKind, fl as ShellContextTarget, fm as ShellPrefsAdapter, fn as ShellPrefsProvider, fo as ShellStrings, fp as ShellStringsOverride, fq as ShellStringsProvider, fr as SidebarActionButton, fs as SidebarActionButtonProps, ft as SidebarGroupLabel, fu as SidebarGroupLabelProps, fv as SidebarLayout, fw as SidebarLayoutProps, fx as SidebarNavGroup, fy as SidebarNavGroupProps, fz as SidebarNavItem, fA as SidebarNavItemProps, fB as Skeleton, fC as SkeletonProps, fD as SkeletonVariant, fE as Slider, fF as SliderProps, fG as SliderSize, fH as Snippet, fI as SnippetProps, fJ as SnippetSize, fK as SnippetVariant, fL as Sparkline, fM as SparklineProps, fN as Stack, fO as StackProps, fP as StaleChunkReloadOptions, fQ as StatCard, fR as StatCardProps, fS as StatTile, fT as StatTileProps, fU as Statistic, fV as StatisticProps, fW as StatisticSize, fX as StatisticTone, fY as StatusBadge, fZ as StatusBadgeProvider, f_ as StatusEmphasis, f$ as StepItem, g0 as Stepper, g1 as StepperProps, g2 as StrokeVariant, g3 as SunburstChart, g4 as SunburstChartProps, g5 as SunburstNode, g6 as Switch, g7 as SwitchProps, g8 as SwitchSize, g9 as TabItem, ga as Tabs, gb as TabsProps, gc as TagInput, gd as TagInputOption, ge as TagInputProps, gf as Text, gg as TextProps, gh as TextSize, gi as TextTone, gj as TextWeight, gk as Textarea, gl as TextareaProps, gm as Theme, gn as TileButton, go as TileButtonProps, gp as TileSize, gq as TimeAgo, gr as TimeAgoProps, gs as TimePicker, gt as TimePickerProps, gu as TimeSeriesChart, gv as TimeSeriesChartProps, gw as TimeSeriesSeries, gx as TimelineMarker, gy as TimelineMarkerKind, gz as TimelineReport, gA as TimelineScrubProgress, gB as TimelineTrack, gC as TimelineTrackItem, gD as TimelineTrackKind, gE as TimelineTrackPending, gF as TimelineTrackPhase, gG as TimelineTrackPlayback, gH as TimelineTrackProps, gI as TimelineTrackThumb, gJ as Title, gK as TitleLevel, gL as TitleProps, gM as ToastOptions, gN as ToastPlacement, gO as Tooltip, gP as TooltipProps, gQ as TopNav, gR as TopNavItem, gS as TopNavProps, gT as Tree, gU as TreeDrop, gV as TreeEmptySlot, gW as TreeEmptySlotProps, gX as TreeGroup, gY as TreeGroupLabel, gZ as TreeGroupProps, g_ as TreeProps, g$ as TreeRow, h0 as TreeRowProps, h1 as TreemapChart, h2 as TreemapChartProps, h3 as TreemapItem, h4 as TreemapTile, h5 as UseAppUpdateOptions, h6 as UseContextMenu, h7 as UseProductionTimelineOpts, h8 as VERSION, h9 as VITE_PRELOAD_ERROR_EVENT, ha as WaterfallChart, hb as WaterfallChartProps, hc as WaterfallStep, hd as ZLayer, he as Z_LAYERS, hf as angleScale, hg as appendKey, hh as applyThemePrefs, hi as arcPath, hj as areaBetween, hk as areaFrom, hl as autoHighlightIndex, hm as backspace, hn as bandScale, ho as binValues, hp as budgetState, hq as bumpPath, hr as buttonClasses, hs as calcOverall, ht as calcReportOverall, hu as colorFill, hv as colorSwatchClasses, hw as confirm, hx as confirmDestructive, hy as curvePath, hz as dashFor, hA as describeContextTarget, hB as dismissPopups, hC as fillFor, hD as fillId, hE as fmtSliderDate, hF as fromDateKey, hG as glassStyle, hH as glowId, hI as groundId, hJ as groupColors, hK as hexToHsv, hL as highlightOpacity, hM as hsvToHex, hN as iconButtonClasses, hO as inputClasses, hP as installStaleChunkReload, hQ as isMac, hR as isSeverityTone, hS as isStaleChunkError, hT as keepsNativeMenu, hU as labelClasses, hV as ladderScale, hW as leavesContextMenuAlone, hX as linearPath, hY as linearScale, hZ as logScale, h_ as maskId, h$ as mediaFileName, i0 as monotonePath, i1 as niceMax, i2 as openGlobalSearch, i3 as parseHexColor, i4 as polygonPoints, i5 as popupBounds, i6 as prompt, i7 as pushRecentSearch, i8 as radiusScale, i9 as resolveBrandMarkTreatment, ia as resolvePortalBrandAsset, ib as resolveSeriesColor, ic as resolveTheme, id as sanitizeRecentSearches, ie as seriesColor, ig as severityOf, ih as splinePath, ii as squarify, ij as stagger, ik as stepPath, il as tabButtonId, im as tabPanelId, io as toDateKey, ip as toDayMs, iq as toISODate, ir as toast, is as useAppUpdate, it as useClickOutside, iu as useConfirm, iv as useContextMenu, iw as useDebouncedValue, ix as useDropdownPosition, iy as useFocusTrap, iz as useHighlight, iA as useIsMobile, iB as useLocalStoragePrefs, iC as usePlotWidth, iD as usePortalBranding, iE as useProductionTimeline, iF as useScrollLock, iG as useShellLocale, iH as useShellPrefs, iI as useShellStrings, iJ as useTheme } from './index-JQXMH_km.js';
|
|
1
|
+
import { S as SearchConfig, C as ColumnDef, a as SortState, P as PaginatedResponse } from './index-CFLEu3eh.js';
|
|
2
|
+
export { A as ALT, b as ALT_SHIFT_D, c as ALT_SHIFT_E, d as ALT_SHIFT_N, e as APP_UPDATE_POLL_MS, f as Accordion, g as AccordionItem, h as AccordionProps, i as Align, j as AngleScale, k as AppUpdateBanner, l as AppUpdateBannerProps, m as AttachButton, n as AttachButtonProps, o as AttachmentDropZone, p as AttachmentDropZoneProps, q as AttachmentList, r as AttachmentListProps, s as AuthScreen, t as AuthScreenProps, u as Avatar, v as AvatarGroup, w as AvatarGroupProps, x as AvatarProps, y as AvatarSize, z as AvatarStatus, B as BackgroundVariant, D as BandScale, E as Banner, F as BannerEmphasis, G as BannerProps, H as BannerTone, I as BarChart, J as BarChartProps, K as BoxPlotBox, L as BoxPlotChart, M as BoxPlotChartProps, N as BrandAssetEditor, O as BrandAssetEditorProps, Q as BrandAssetPreview, R as BrandMark, T as BrandMarkProps, U as BrandMarkSlot, V as BrandMarkSurface, W as BrandMarkTreatment, X as BreadcrumbItem, Y as Breadcrumbs, Z as BreadcrumbsProps, _ as BudgetBar, $ as BudgetBarProps, a0 as BudgetState, a1 as Button, a2 as ButtonClassesOptions, a3 as ButtonProps, a4 as ButtonSize, a5 as ButtonVariant, a6 as CHART_INK, a7 as CMD_A, a8 as CMD_DOT, a9 as CMD_ENTER, aa as CMD_K, ab as CMD_S, ac as Calendar, ad as CalendarMode, ae as CalendarProps, af as Candle, ag as CandlestickChart, ah as CandlestickChartProps, ai as Card, aj as CardPadding, ak as CardProps, al as CartesianPlot, am as CartesianPlotProps, an as CellStyle, ao as ChartBackgroundVariant, ap as ChartBrush, aq as ChartBrushProps, ar as ChartCurve, as as ChartDefs, at as ChartDefsProps, au as ChartDot, av as ChartDotProps, aw as ChartDotVariant, ax as ChartFillVariant, ay as ChartFrame, az as ChartFrameProps, aA as ChartHighlightProvider, aB as ChartLegendEntry, aC as ChartLegendSwatch, aD as ChartRange, aE as ChartReferenceLine, aF as ChartRevealDirection, aG as ChartSkeleton, aH as ChartSkeletonProps, aI as ChartStatusTone, aJ as ChartStrokeVariant, aK as ChartTooltip, aL as ChartTooltipProps, aM as ChartTooltipRow, aN as ChatTemplate, aO as Checkbox, aP as CheckboxProps, aQ as CheckoutTemplate, aR as ChordChart, aS as ChordChartProps, aT as ColorPicker, aU as ColorPickerPanel, aV as ColorPickerPanelProps, aW as ColorPickerProps, aX as ColorPreset, aY as ColorSwatch, aZ as ColorSwatchProps, a_ as ColorSwatchSize, a$ as ColoredBadge, b0 as ColoredBadgeProps, b1 as ColumnChart, b2 as ColumnChartProps, b3 as ColumnSeries, b4 as ComposerAttachments, b5 as ComposerAttachmentsProps, b6 as ConfirmProvider, b7 as ContainerFillChart, b8 as ContainerFillChartProps, b9 as ContainerFillItem, ba as ContextMenu, bb as ContextMenuPoint, bc as ContextMenuProps, bd as ContextMenuState, be as CountBadge, bf as CountBadgeProps, bg as CountBadgeTone, bh as Curve, bi as DAY_MS, bj as DEFAULT_SHELL_STRINGS, bk as DashboardTemplate, bl as DataTable, bm as DataTableColumn, bn as DataTableColumnGroup, bo as DataTableHeader, bp as DataTablePage, bq as DataTableProps, br as DataTableRowLink, bs as DataTableRowProps, bt as DatePicker, bu as DatePickerProps, bv as DateRangePicker, bw as DateRangePickerProps, bx as DateTimePicker, by as DateTimePickerProps, bz as DescriptionColumns, bA as DescriptionItem, bB as DescriptionList, bC as DescriptionListProps, bD as Dialog, bE as DialogProps, bF as DialogSize, bG as Divider, bH as DividerProps, bI as DividerSpacing, bJ as DonutChart, bK as DonutChartProps, bL as DonutSegment, bM as Drawer, bN as DrawerProps, bO as DrawerSide, bP as DrawerSize, bQ as DropdownMenu, bR as DropdownMenuAlign, bS as DropdownMenuCheckboxItem, bT as DropdownMenuDividerItem, bU as DropdownMenuEntry, bV as DropdownMenuItem, bW as DropdownMenuLabelItem, bX as DropdownMenuLinkItem, bY as DropdownMenuProps, bZ as DropdownMenuRadioItem, b_ as DropdownMenuSide, b$ as DropdownPositionOptions, c0 as ENTER, c1 as EditableGrid, c2 as EditableGridProps, c3 as EmailTemplate, c4 as EmptyState, c5 as EmptyStateProps, c6 as EmptyValue, c7 as EmptyValueProps, c8 as ErrorBoundary, c9 as ErrorBoundaryProps, ca as ErrorPage, cb as ErrorPageProps, cc as FileIntake, cd as FilePicker, ce as FilePickerProps, cf as FillVariant, cg as FormError, ch as FormErrorSummary, ci as FormErrorSummaryProps, cj as FormField, ck as FormFieldProps, cl as FormLayoutPage, cm as FunnelChart, cn as FunnelChartProps, co as FunnelStage, cp as GLASS_DIVIDER, cq as GLASS_INPUT_BG, cr as GROUP_COLORS, cs as GROUP_COLORS_SOLID, ct as GalleryTemplate, cu as Gap, cv as GlassOptions, cw as GlobalSearch, cx as GlobalSearchProps, cy as Grid, cz as GridCols, cA as GridColumn, cB as GridProps, cC as HeatmapChart, cD as HeatmapChartProps, cE as HelpCenter, cF as HelpCenterDoc, cG as HelpCenterProps, cH as HexInput, cI as HistogramBin, cJ as HistogramChart, cK as HistogramChartProps, cL as Hsv, cM as INPUT_BASE, cN as INPUT_SIZES, cO as IconButton, cP as IconButtonClassesOptions, cQ as IconButtonProps, cR as IconRail, cS as IconRailButton, cT as IconRailButtonProps, cU as IconRailOrientation, cV as IconRailProps, cW as Inline, cX as InlineProps, cY as Input, cZ as InputNumber, c_ as InputNumberProps, c$ as InputProps, d0 as InputSize, d1 as Justify, d2 as Kanban, d3 as KanbanColumn, d4 as KanbanProps, d5 as Kbd, d6 as KbdProps, d7 as KbdSize, d8 as Label, d9 as LabelClassesOptions, da as LabelProps, db as LadderScale, dc as LineChart, dd as LineChartProps, de as LineChartSeries, df as LinearScale, dg as ListFooter, dh as ListLoadError, di as ListLoadErrorProps, dj as LoadingSpinner, dk as LoadingSpinnerProps, dl as MAX_FRACTION_DIGITS, dm as MENU_MAX_HEIGHT, dn as MOD, dp as MOTION, dq as Markdown, dq as MarkdownLite, dr as MarkdownLiteProps, dr as MarkdownProps, ds as MediaUploadField, dt as MediaUploadFieldProps, du as MediaUploadGrid, dv as MediaUploadGridItem, dw as MediaUploadGridProps, dx as MenuPos, dy as Meter, dz as MeterProps, dA as MetricBar, dB as MetricBarProps, dC as Milestone, dD as MilestoneKind, dE as MilestoneTimeline, dF as MilestoneTimelineProps, dG as NATIVE_MENU_ATTR, dH as NEXT_CHUNK_PATH_PREFIX, dI as NativeSelect, dJ as NumericKeypad, dK as NumericKeypadProps, dL as OVERLAY_OPEN_EVENT, dM as POPUP_MAX_WIDTH, dN as POST_PRODUCTION_STATUSES, dO as PageHeader, dP as PageHeaderProps, dQ as Pagination, dR as PaginationProps, dS as PaperclipGlyph, dT as Paragraph, dU as ParagraphProps, dV as PieChart, dW as PieChartProps, dX as PieSegment, dY as PlotGeometry, dZ as Point, d_ as Popover, d$ as PopoverAlign, e0 as PopoverProps, e1 as PopoverRenderProps, e2 as PopoverSide, e3 as PopupMenu, e4 as PopupMenuDivider, e5 as PopupMenuItem, e6 as PopupMenuItemProps, e7 as PopupMenuLabel, e8 as PopupMenuProps, e9 as PopupSubmenu, ea as PopupSubmenuProps, eb as PortalBrandingContextValue, ec as PortalBrandingProvider, ed as PortalBrandingProviderProps, ee as ProductionTimeline, ef as ProductionTimelineProps, eg as ProductionTimelineSnapshot, eh as ProgressItem, ei as PublicPortal, ej as PublicPortalBranding, ek as RADAR_SERIES_CAP, el as RadarAxis, em as RadarChart, en as RadarChartProps, eo as RadarSeries, ep as RadialBarChart, eq as RadialBarChartProps, er as RadialBarRow, es as Radio, et as RadioGroup, eu as RadioGroupOption, ev as RadioGroupOrientation, ew as RadioGroupProps, ex as RadioProps, ey as Range, ez as RangeChart, eA as RangeChartProps, eB as RangeRow, eC as RankedBars, eD as RankedBarsProps, eE as RankedBarsRow, eF as ResizeHandle, eG as ResizeHandleProps, eH as ResizeHandleSide, eI as ResolvedPortalBrandAsset, eJ as Result, eK as ResultProps, eL as ResultStatus, eM as RevealDirection, eN as SCATTER_SERIES_CAP, eO as SERIES_SLOT_COUNT, eP as SERIES_VARS, eQ as SHIFT, eR as STAGES, eS as STALE_CHUNK_RELOAD_COOLDOWN_MS, eT as STALE_CHUNK_RELOAD_KEY, eU as STATUS_VARS, eV as SankeyChart, eW as SankeyChartProps, eX as SankeyLink, eY as SankeyNode, eZ as ScatterChart, e_ as ScatterChartProps, e$ as ScatterPoint, f0 as ScatterSeries, f1 as SearchListRoute, f2 as SearchProvider, f3 as SearchQuickAction, f4 as SearchResponse, f5 as SearchResult, f6 as SearchableOption, f7 as SearchableSelect, f8 as SearchableSelectProps, f9 as Segmented, fa as SegmentedOption, fb as SegmentedProps, fc as SegmentedSize, fd as Select, fe as SelectBaseProps, ff as SelectItem, fg as SelectMultipleProps, fh as SelectOption, fi as SelectOptionGroup, fj as SelectProps, fk as SemanticGroup, fl as SettingRow, fm as SettingRowProps, fn as SeverityTone, fo as ShellContextKind, fp as ShellContextTarget, fq as ShellPrefsAdapter, fr as ShellPrefsProvider, fs as ShellStrings, ft as ShellStringsOverride, fu as ShellStringsProvider, fv as SidebarActionButton, fw as SidebarActionButtonProps, fx as SidebarGroupLabel, fy as SidebarGroupLabelProps, fz as SidebarLayout, fA as SidebarLayoutProps, fB as SidebarNavGroup, fC as SidebarNavGroupProps, fD as SidebarNavItem, fE as SidebarNavItemProps, fF as Skeleton, fG as SkeletonProps, fH as SkeletonVariant, fI as Slider, fJ as SliderProps, fK as SliderSize, fL as Snippet, fM as SnippetProps, fN as SnippetSize, fO as SnippetVariant, fP as Sparkline, fQ as SparklineProps, fR as Stack, fS as StackProps, fT as StaleChunkReloadOptions, fU as StatCard, fV as StatCardProps, fW as StatTile, fX as StatTileProps, fY as Statistic, fZ as StatisticProps, f_ as StatisticSize, f$ as StatisticTone, g0 as StatusBadge, g1 as StatusBadgeProvider, g2 as StatusEmphasis, g3 as StepItem, g4 as Stepper, g5 as StepperProps, g6 as StrokeVariant, g7 as SunburstChart, g8 as SunburstChartProps, g9 as SunburstNode, ga as Switch, gb as SwitchProps, gc as SwitchSize, gd as TabItem, ge as Tabs, gf as TabsProps, gg as TagInput, gh as TagInputOption, gi as TagInputProps, gj as Text, gk as TextProps, gl as TextSize, gm as TextTone, gn as TextWeight, go as Textarea, gp as TextareaProps, gq as Theme, gr as TileButton, gs as TileButtonProps, gt as TileSize, gu as TimeAgo, gv as TimeAgoProps, gw as TimePicker, gx as TimePickerProps, gy as TimeSeriesChart, gz as TimeSeriesChartProps, gA as TimeSeriesSeries, gB as TimelineMarker, gC as TimelineMarkerKind, gD as TimelineReport, gE as TimelineScrubProgress, gF as TimelineTrack, gG as TimelineTrackItem, gH as TimelineTrackKind, gI as TimelineTrackPending, gJ as TimelineTrackPhase, gK as TimelineTrackPlayback, gL as TimelineTrackProps, gM as TimelineTrackThumb, gN as Title, gO as TitleLevel, gP as TitleProps, gQ as ToastOptions, gR as ToastPlacement, gS as Tooltip, gT as TooltipProps, gU as TopNav, gV as TopNavItem, gW as TopNavProps, gX as Tree, gY as TreeDrop, gZ as TreeEmptySlot, g_ as TreeEmptySlotProps, g$ as TreeGroup, h0 as TreeGroupLabel, h1 as TreeGroupProps, h2 as TreeProps, h3 as TreeRow, h4 as TreeRowProps, h5 as TreemapChart, h6 as TreemapChartProps, h7 as TreemapItem, h8 as TreemapTile, h9 as UseAppUpdateOptions, ha as UseContextMenu, hb as UseProductionTimelineOpts, hc as VERSION, hd as VITE_PRELOAD_ERROR_EVENT, he as WaterfallChart, hf as WaterfallChartProps, hg as WaterfallStep, hh as ZLayer, hi as Z_LAYERS, hj as angleScale, hk as appendKey, hl as applyThemePrefs, hm as arcPath, hn as areaBetween, ho as areaFrom, hp as autoHighlightIndex, hq as backspace, hr as bandScale, hs as binValues, ht as budgetState, hu as bumpPath, hv as buttonClasses, hw as calcOverall, hx as calcReportOverall, hy as colorFill, hz as colorSwatchClasses, hA as confirm, hB as confirmDestructive, hC as curvePath, hD as dashFor, hE as describeContextTarget, hF as dismissPopups, hG as fillFor, hH as fillId, hI as fmtSliderDate, hJ as fromDateKey, hK as glassStyle, hL as glowId, hM as groundId, hN as groupColors, hO as hexToHsv, hP as highlightOpacity, hQ as hsvToHex, hR as iconButtonClasses, hS as inputClasses, hT as installStaleChunkReload, hU as isMac, hV as isSeverityTone, hW as isStaleChunkError, hX as keepsNativeMenu, hY as labelClasses, hZ as ladderScale, h_ as leavesContextMenuAlone, h$ as linearPath, i0 as linearScale, i1 as logScale, i2 as maskId, i3 as mediaFileName, i4 as monotonePath, i5 as niceMax, i6 as openGlobalSearch, i7 as parseHexColor, i8 as polygonPoints, i9 as popupBounds, ia as prompt, ib as pushRecentSearch, ic as radiusScale, id as resolveBrandMarkTreatment, ie as resolvePortalBrandAsset, ig as resolveSeriesColor, ih as resolveTheme, ii as sanitizeRecentSearches, ij as seriesColor, ik as severityOf, il as splinePath, im as squarify, io as stagger, ip as stepPath, iq as tabButtonId, ir as tabPanelId, is as toDateKey, it as toDayMs, iu as toISODate, iv as toast, iw as useAppUpdate, ix as useClickOutside, iy as useConfirm, iz as useContextMenu, iA as useDebouncedValue, iB as useDropdownPosition, iC as useFocusTrap, iD as useHighlight, iE as useIsMobile, iF as useLocalStoragePrefs, iG as usePlotWidth, iH as usePortalBranding, iI as useProductionTimeline, iJ as useScrollLock, iK as useShellLocale, iL as useShellPrefs, iM as useShellStrings, iN as useTheme } from './index-CFLEu3eh.js';
|
|
3
3
|
export { FileIntakeAlert, FileIntakeLimits, FileIntakeOptions, FileRejection, FileRejectionReason, acceptsFile, useFileIntake } from './file-intake/index.js';
|
|
4
4
|
export { C as CurrencyFormat, D as DATE_FORMAT_OPTIONS, a as DateFormatKey, E as EMPTY_VALUE, F as FormatDateOptions, b as FormatMoneyOptions, T as TZ_AUTO, c as TimeAgoOptions, d as currencyDecimals, e as currencySymbol, f as firstDayOfWeek, g as formatBytes, h as formatDate, i as formatDateTime, j as formatMoney, k as formatTime, l as getUserDateFormat, m as getUserTimezone, s as setCurrencyFormats, n as setUserDateFormat, o as setUserTimezone, p as syncTimezoneFromProfile, t as timeAgo } from './index-DCUzlKPZ.js';
|
|
5
5
|
import { W as WindowRegistry } from './types-BOinJXUf.js';
|
|
@@ -117,8 +117,15 @@ declare function CopyButton({ text }: {
|
|
|
117
117
|
text: string;
|
|
118
118
|
}): react_jsx_runtime.JSX.Element;
|
|
119
119
|
|
|
120
|
-
/**
|
|
121
|
-
|
|
120
|
+
/**
|
|
121
|
+
* Register an Escape interceptor; returns an unregister function.
|
|
122
|
+
*
|
|
123
|
+
* `surface`, optional, returns the element the interceptor closes: a popup's
|
|
124
|
+
* panel, a dialog's box. A popup that passes it is one `escapeSurfaceAbove`
|
|
125
|
+
* can see. Interceptors that close nothing on screen (a chart's crosshair, a
|
|
126
|
+
* measure tool) leave it out.
|
|
127
|
+
*/
|
|
128
|
+
declare function registerModalEscapeInterceptor(fn: (e: KeyboardEvent) => boolean, surface?: () => Element | null | undefined): () => void;
|
|
122
129
|
|
|
123
130
|
/**
|
|
124
131
|
* What Cmd/Ctrl+Enter clicks when a window has no `<form>` to `requestSubmit()`.
|