efficient-shell 5.6.0 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +189 -46
  2. package/THIRD_PARTY_NOTICES.md +212 -0
  3. package/dist/Browser-USPZWDYH.js +43 -0
  4. package/dist/Calculator-FP5HUWCW.js +29 -0
  5. package/dist/ConfirmDialog-3TIHKJRT.js +1 -0
  6. package/dist/{CurrencyConverter-YJ47A3L5.js → CurrencyConverter-XD5LYOCD.js} +7 -7
  7. package/dist/Documents-ADFEHEUW.js +52 -0
  8. package/dist/Files-BVUVRNC5.js +87 -0
  9. package/dist/Notepad-WJI5ODGS.js +25 -0
  10. package/dist/PdfViewer-226I3LSD.js +1 -0
  11. package/dist/PomodoroTimer-GEMQHIPJ.js +91 -0
  12. package/dist/Preview-HNSEYNZL.js +182 -0
  13. package/dist/Sidebar-PVHZPNIY.js +44 -0
  14. package/dist/{Spreadsheet-INXG5UMI.js → Spreadsheet-6Z5ACGTT.js} +14 -14
  15. package/dist/{Stock-CBQN2IJF.js → Stock-X3LIU4ZX.js} +4 -4
  16. package/dist/{Weather-2EVUTIXX.js → Weather-BLO354GM.js} +18 -18
  17. package/dist/{WorldClock-TZUF7MOB.js → WorldClock-BAH7QFRG.js} +7 -7
  18. package/dist/apps/index.js +1 -1
  19. package/dist/bin/ui-check.js +1 -1
  20. package/dist/brand.css +1 -1
  21. package/dist/chunk-2SSRFEOZ.js +91 -0
  22. package/dist/{chunk-TFETN2GI.js → chunk-4JZZLUGG.js} +1 -1
  23. package/dist/{chunk-GG7AE6OC.js → chunk-5K76RQML.js} +1 -1
  24. package/dist/chunk-5LUN632W.js +5 -0
  25. package/dist/chunk-5MDQNFOG.js +9 -0
  26. package/dist/chunk-7IQ3B77H.js +1 -0
  27. package/dist/{chunk-SKB6L53D.js → chunk-7PGHRG6J.js} +9 -9
  28. package/dist/chunk-CXJQ42XT.js +21 -0
  29. package/dist/chunk-DBXZS7OA.js +29 -0
  30. package/dist/{chunk-X4FJ54PP.js → chunk-FIEA5CGB.js} +1 -1
  31. package/dist/chunk-GJ37JCC2.js +1 -0
  32. package/dist/{chunk-KXAUDC3A.js → chunk-GWDVD3VQ.js} +27 -27
  33. package/dist/chunk-HQLAISFX.js +11 -0
  34. package/dist/chunk-I2H2CKID.js +3 -0
  35. package/dist/{chunk-MLYC5VQI.js → chunk-I534M65N.js} +2 -2
  36. package/dist/{chunk-R4XSSHDI.js → chunk-IHZL3GJU.js} +1 -1
  37. package/dist/chunk-K6DKX55N.js +1 -0
  38. package/dist/chunk-KNUR2UEG.js +1 -0
  39. package/dist/{chunk-JXAAZGLJ.js → chunk-MORDXCV6.js} +1 -1
  40. package/dist/chunk-PFKMIPZH.js +1028 -0
  41. package/dist/chunk-PJPK2ADX.js +1 -0
  42. package/dist/chunk-Q5O5UMJY.js +6 -0
  43. package/dist/chunk-QJHWLDEN.js +108 -0
  44. package/dist/chunk-R5VRLW5Z.js +1 -0
  45. package/dist/chunk-S3LGKIZ3.js +12 -0
  46. package/dist/chunk-SBF5A6XV.js +1 -0
  47. package/dist/chunk-SK5DL6JX.js +24 -0
  48. package/dist/{chunk-CLPJDJH4.js → chunk-UUYPUKP7.js} +1 -1
  49. package/dist/{chunk-AFYQTVZO.js → chunk-UVBK6YSR.js} +1 -1
  50. package/dist/chunk-VR6TR575.js +13 -0
  51. package/dist/{chunk-PKEQ7XOH.js → chunk-XO2AMGVU.js} +1 -1
  52. package/dist/{chunk-N3A3GWJI.js → chunk-YX2IMURA.js} +12 -12
  53. package/dist/chunk-ZEIKSMFR.js +10 -0
  54. package/dist/client-DLm3Fvbc.d.ts +65 -0
  55. package/dist/file-intake/index.js +1 -1
  56. package/dist/i18n/index.d.ts +1 -1
  57. package/dist/icons/efficient-looks.d.ts +1 -1
  58. package/dist/icons/efficient.d.ts +1 -1
  59. package/dist/icons/index.d.ts +12 -12
  60. package/dist/icons/index.js +1 -1
  61. package/dist/{index-BgM75MC6.d.ts → index-D5bms_uA.d.ts} +188 -76
  62. package/dist/index.d.ts +6 -4
  63. package/dist/index.js +639 -639
  64. package/dist/locales/zh-Hans.d.ts +1 -1
  65. package/dist/locales/zh-Hans.js +1 -1
  66. package/dist/map/index.js +22 -22
  67. package/dist/markdown/index.js +6 -6
  68. package/dist/markup/index.d.ts +460 -36
  69. package/dist/markup/index.js +1 -1
  70. package/dist/page-tabs/index.js +5 -5
  71. package/dist/pdf/index.js +1 -1
  72. package/dist/{registry-J-TU7zKx.d.ts → registry-Dw6QO2Ch.d.ts} +12 -9
  73. package/dist/{strings-BVB64Nck.d.ts → strings-fYzxZPn4.d.ts} +5 -0
  74. package/dist/telemetry/index.d.ts +39 -0
  75. package/dist/telemetry/index.js +1 -0
  76. package/dist/ui/index.d.ts +4 -3
  77. package/dist/ui/index.js +1 -1
  78. package/dist/ui.css +62 -21
  79. package/package.json +7 -21
  80. package/dist/Browser-6QB2QTO7.js +0 -43
  81. package/dist/Calculator-KOWRV2VK.js +0 -29
  82. package/dist/ConfirmDialog-32NLLK4K.js +0 -1
  83. package/dist/Documents-TGGI2QBV.js +0 -52
  84. package/dist/Files-KSDK3EO4.js +0 -87
  85. package/dist/Notepad-EKB6FJPR.js +0 -25
  86. package/dist/PdfViewer-KW5B44AX.js +0 -1
  87. package/dist/PomodoroTimer-RD5GRRA5.js +0 -91
  88. package/dist/Preview-AQVXKT2I.js +0 -182
  89. package/dist/Sidebar-VYXN5YIJ.js +0 -44
  90. package/dist/chunk-3GPU3JOW.js +0 -24
  91. package/dist/chunk-3HJTOINK.js +0 -1
  92. package/dist/chunk-4SWPNARR.js +0 -5
  93. package/dist/chunk-6LTDJKIL.js +0 -138
  94. package/dist/chunk-FROOMUJ7.js +0 -11
  95. package/dist/chunk-HRLPFUPB.js +0 -3
  96. package/dist/chunk-HZZNJHRH.js +0 -1
  97. package/dist/chunk-JEM73E4C.js +0 -21
  98. package/dist/chunk-L5XA5MLK.js +0 -108
  99. package/dist/chunk-OGXU7QFW.js +0 -12
  100. package/dist/chunk-RCHCT7AO.js +0 -6
  101. package/dist/chunk-RDQ7OXUA.js +0 -1026
  102. package/dist/chunk-RL626E7Q.js +0 -13
  103. package/dist/chunk-RMJZOKHY.js +0 -10
  104. package/dist/chunk-TNBCUZVE.js +0 -1
  105. package/dist/chunk-WRBXEZFN.js +0 -1
  106. package/dist/chunk-XWSWYMGM.js +0 -2
  107. package/dist/chunk-Z2353HNE.js +0 -9
  108. package/dist/chunk-ZUCYJAQH.js +0 -29
  109. package/dist/icons/heroicons.d.ts +0 -6
  110. package/dist/icons/heroicons.js +0 -1
  111. package/dist/icons/lucide.d.ts +0 -6
  112. package/dist/icons/lucide.js +0 -1
@@ -1,13 +0,0 @@
1
- import{navIcons as e}from"./chunk-DSSLOQDW.js";import{FolderFallback as t,PageFallback as r}from"./chunk-6LTDJKIL.js";import{Icon as n}from"./chunk-XWSWYMGM.js";import{isValidElement as o,cloneElement as i}from"react";import{jsx as l,jsxs as a}from"react/jsx-runtime";var d=["from-blue-500 to-blue-700","from-indigo-500 to-purple-600","from-purple-500 to-pink-600","from-pink-500 to-rose-600","from-red-500 to-rose-600","from-orange-500 to-red-600","from-amber-500 to-orange-600","from-yellow-500 to-amber-500","from-lime-500 to-green-600","from-green-500 to-emerald-600","from-emerald-500 to-teal-600","from-teal-500 to-cyan-600","from-cyan-500 to-sky-600","from-sky-500 to-blue-600","from-violet-500 to-fuchsia-600"];function s(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r);return d[Math.abs(t)%d.length]}var c={order:"text-blue-600",purchase_order:"text-purple-600",invoice:"text-green-600",client:"text-indigo-600",manufacturer:"text-orange-600",shipment:"text-teal-600",part_number:"text-gray-600",project:"text-pink-600",mould:"text-red-600",design:"text-cyan-600",brand:"text-amber-600",price_sheet:"text-emerald-600",folder:"text-yellow-600",page:"text-blue-500"},f={order:"SO",purchase_order:"PO",invoice:"INV",client:"CLI",manufacturer:"MFR",shipment:"DN",part_number:"PN",project:"PRJ",mould:"MLD",design:"DSN",brand:"BRD",price_sheet:"PS",vendor_invoice:"VI",vendor_payment:"VP",warranty_claim:"WC",qc_report:"QC",vendor_shipment:"GRN",bank_account:"BA",wheel_finish:"WF",weight_log:"WL",production_progress:"PP",vendor_price_sheet:"VPS",proposal:"PR",folder:"FLD"},p={pdf:"PDF",dxf:"DXF","3d":"STP",image:"IMG",csv:"CSV"},u={pdf:"text-red-600",dxf:"text-blue-600","3d":"text-purple-600",image:"text-emerald-600",csv:"text-green-600"};function m({className:e}){/* @__PURE__ */
2
- return l(n,{name:"folder",fallback:t,className:e})}function h(t,r){return r&&e[r]||(t?e[t]:void 0)}var w=/* @__PURE__ */l("svg",{className:"h-7 w-7",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:/* @__PURE__ */l("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6z"})});function g({entityType:e,isSelected:t,entityId:r,label:n,fileKind:d}){const g="preview-file"===e&&d,y=g?u[d]:null,x=g?p[d]:null;if("folder"===e)/* @__PURE__ */
3
- return l("div",{className:"w-12 h-12 flex items-center justify-center "+(t?"rounded-lg bg-blue-400/30 ring-2 ring-blue-500":""),children:/* @__PURE__ */l(m,{className:"h-12 w-12 text-amber-500 drop-shadow-[0_2px_3px_rgba(0,0,0,0.3)]"})});if("page"===e){const e=h(r,n),a=s(r||n||"page");/* @__PURE__ */
4
- return l("div",{className:"w-12 h-12 flex items-center justify-center "+(t?"rounded-lg bg-blue-400/30 ring-2 ring-blue-500":""),children:/* @__PURE__ */l("span",{className:`h-11 w-11 rounded-xl bg-gradient-to-br ${a} flex items-center justify-center text-white border border-white/30 drop-shadow-[0_2px_3px_rgba(0,0,0,0.3)]`,children:e&&o(e)?i(e,{className:"h-7 w-7 text-white"}):w})})}/* @__PURE__ */
5
- return a("div",{className:"w-12 h-12 relative flex items-center justify-center "+(t?"rounded-lg bg-blue-400/30 ring-2 ring-blue-500":""),children:[
6
- /* @__PURE__ */a("svg",{className:`w-10 h-12 drop-shadow-[0_2px_3px_rgba(0,0,0,0.3)] ${y??c[e]??"text-gray-500"}`,viewBox:"0 0 40 48",fill:"none",children:[
7
- /* @__PURE__ */l("path",{d:"M4 0h22l10 10v34a4 4 0 01-4 4H4a4 4 0 01-4-4V4a4 4 0 014-4z",fill:"white",fillOpacity:"0.92"}),
8
- /* @__PURE__ */l("path",{d:"M26 0l10 10H30a4 4 0 01-4-4V0z",fill:"currentColor",fillOpacity:"0.2"}),
9
- /* @__PURE__ */l("path",{d:"M4 0h22l10 10v34a4 4 0 01-4 4H4a4 4 0 01-4-4V4a4 4 0 014-4z",stroke:"currentColor",strokeWidth:"1.5",strokeOpacity:"0.5"})]}),
10
- /* @__PURE__ */l("span",{className:`absolute inset-0 flex items-center justify-center text-[9px] font-bold pt-2 ${y??c[e]??"text-gray-600"}`,children:x??f[e]??e.slice(0,3).toUpperCase()})]})}function y({item:e}){if("folder"===e.entityType)/* @__PURE__ */
11
- return l(m,{className:"h-4 w-4 shrink-0 text-amber-500"});if("page"===e.entityType){const t=h(e.entityId,e.label);/* @__PURE__ */
12
- return l("span",{className:`h-4 w-4 rounded bg-gradient-to-br ${s(e.entityId||e.label||"page")} flex items-center justify-center text-white shrink-0`,children:t&&o(t)?i(t,{className:"h-3 w-3 text-white"}):/* @__PURE__ */l("span",{className:"h-1.5 w-1.5 rounded-[2px] border border-white/80"})})}const t=("preview-file"===e.entityType&&e.fileKind?u[e.fileKind]:c[e.entityType])??"text-gray-400";/* @__PURE__ */
13
- return l(n,{name:"page",fallback:r,className:`h-4 w-4 shrink-0 ${t}`,strokeWidth:1.5})}function x(e){return"preview-file"===e.entityType&&e.fileKind?p[e.fileKind]:"page"===e.entityType?"App":"folder"===e.entityType?"Folder":f[e.entityType]??e.entityType.slice(0,3).toUpperCase()}var b=null,v=/* @__PURE__ */new Set;function _(e){b=e,v.forEach(e=>e())}function k(e){return v.add(e),()=>{v.delete(e)}}function N(){return b}var j="__REACT_OS_SHELL_FILES_VIEW__",S="react-os-shell:files-show-trash",C="react-os-shell:files-open-desktop-folder";function I(){"undefined"!=typeof window&&(window[j]="trash",window.dispatchEvent(new CustomEvent(S)))}function T(e){"undefined"!=typeof window&&(window[j]={view:"desktop-folder",folderId:e},window.dispatchEvent(new CustomEvent(C,{detail:{folderId:e}})))}function L(){if("undefined"==typeof window)return null;const e=window[j];return"trash"===e?"trash":e&&"object"==typeof e&&"desktop-folder"===e.view&&"string"==typeof e.folderId?e:null}function P(){const e=L();return"undefined"!=typeof window&&(window[j]=null),e}export{y as DesktopItemMiniIcon,C as FILES_OPEN_DESKTOP_FOLDER_EVENT,S as FILES_SHOW_TRASH_EVENT,g as FileIconTile,m as FolderGlyph,P as consumeFilesViewRequest,x as desktopItemTypeLabel,N as getDesktopFoldersSnapshot,L as peekFilesViewRequest,_ as publishDesktopFolders,T as requestFilesDesktopFolderView,I as requestFilesTrashView,k as subscribeDesktopFolders};
@@ -1,10 +0,0 @@
1
- import{glassStyle as e,GLASS_DIVIDER as t}from"./chunk-HZZNJHRH.js";import{onOverlayOpen as n,registerModalEscapeInterceptor as r,Z_LAYERS as o}from"./chunk-X4FJ54PP.js";import{useHydrated as i,useBrowserLayoutEffect as a}from"./chunk-D65T4H6J.js";import{CheckFallback as l,ChevronRightFallback as u}from"./chunk-6LTDJKIL.js";import{Icon as c}from"./chunk-XWSWYMGM.js";import{createContext as s,forwardRef as d,useContext as p,useRef as m,useId as h,useState as f,useEffect as g,useMemo as y,useCallback as x}from"react";import{createPortal as w}from"react-dom";import{jsxs as b,jsx as v,Fragment as k}from"react/jsx-runtime";var C=/* @__PURE__ */new Set(["text","search","url","tel","email","password","number","date","datetime-local","month","week","time"]),N="data-native-context-menu";function T(e,t){return e&&"function"==typeof e.closest?e.closest(t):null}function L(e){const t=e;if(!t||"function"!=typeof t.closest)return!1;if(T(t,`[${N}]`))return!0;if(T(t,"textarea"))return!0;if(T(t,"img, picture, canvas, video, audio"))return!0;const n=T(t,"input");if(n){const e=(n.type||"text").toLowerCase();if(C.has(e))return!0}const r=T(t,"[contenteditable]");if(r){const e=(r.getAttribute("contenteditable")||"").toLowerCase();if(""===e||"true"===e||"plaintext-only"===e)return!0}return!1}var M=/* @__PURE__ */new Set(["http:","https:","mailto:","tel:","blob:"]);function E(e,t,n){const r=T(e,"a[href]"),o=(t||"").trim(),i=function(e,t){if(e&&"#"!==e)try{const n=new URL(e,t??("undefined"!=typeof document?document.baseURI:void 0));return M.has(n.protocol)?n.href:void 0}catch{return}}(r?.getAttribute("href"),n);return{kind:o?"selection":i?"link":"default",...o?{selectionText:o}:{},...i?{linkUrl:i}:{}}}function W(e){if(e.defaultPrevented)return!0;if(e.shiftKey)return!0;if("touch"===e.pointerType)return!0;return L(("function"==typeof e.composedPath?e.composedPath()[0]:void 0)??e.target)}function $(e,t,n){return e.length===t+1&&e[t].key===n.key?e:[...e.slice(0,t),n]}function P(e,t){const n=Math.max(0,t);return e.length>n?e.slice(0,n):e}function R(e,t,n){if(0===t.length||0===e.length)return[];const r=[e];for(let e=1;e<t.length;e++){const o=r[e-1].find(n=>n.to===t[e].key),i=o?n(o):[];if(0===i.length)break;r.push(i)}return r}function A(e,t,n,r){const o=Math.max(0,r-n),i=Math.min(t,o),a=e-i/2;return a<n?n:a+i>r?Math.max(n,r-i):a}function B(e,t,n,r,o,i=!1,a=8){const l=t+o,u=e-o-n,c=u>=a;return i&&c?{left:u,flipped:!0}:l+n<=r-a?{left:l,flipped:!1}:c?{left:u,flipped:!0}:i?{left:a,flipped:!0}:{left:Math.max(a,r-a-n),flipped:!1}}function H(){try{return getComputedStyle(document.documentElement).getPropertyValue("--menu-density")?.trim()||"normal"}catch{return"normal"}}var D=s(null),j=s(!1);function S({children:t,style:a,className:l="",onClose:u,minWidth:c=180,portal:s=!1}){const d=m(null),p=h(),[x,b]=f([]),k=m();g(()=>()=>clearTimeout(k.current),[]);const C=i(),N=y(()=>{const e=()=>clearTimeout(k.current);return{id:p,depth:0,path:x,open:(t,n)=>{e(),b(e=>$(e,t,n))},scheduleClose:t=>{e(),k.current=setTimeout(()=>b(e=>P(e,t)),200)},closeBelow:t=>{e(),b(e=>P(e,t))},cancelClose:e,closeTree:()=>{e(),b([]),u?.()},root:d}},[p,x,u]);g(()=>{if(!u)return;const e=e=>{e.target.closest("[data-menu-toggle]")||e.target.closest?.(`[data-popup-menu-tree="${p}"]`)||d.current&&!d.current.contains(e.target)&&u()},t=e=>{"Escape"===e.key&&u()};window.addEventListener("pointerdown",e),window.addEventListener("keydown",t);const o=n(u),i=r(()=>!1,()=>d.current);return()=>{window.removeEventListener("pointerdown",e),window.removeEventListener("keydown",t),o(),i()}},[u,p]),g(()=>{const e=d.current;e&&requestAnimationFrame(()=>{const t=e.getBoundingClientRect();if(t.right>window.innerWidth-8){const n=t.right-window.innerWidth+8;e.style.left?e.style.left=parseFloat(e.style.left)-n+"px":e.style.right||(e.style.left=t.left-n+"px")}if(t.left<8&&(e.style.left?e.style.left="8px":e.style.right&&(e.style.right=window.innerWidth-t.width-8+"px")),t.bottom>window.innerHeight-8){const n=t.bottom-window.innerHeight+8;e.style.top?e.style.top=parseFloat(e.style.top)-n+"px":e.style.bottom?e.style.bottom="8px":e.style.top=t.top-n+"px"}t.top<8&&(e.style.top?e.style.top="8px":e.style.bottom&&(e.style.bottom=window.innerHeight-t.height-8+"px"))})});const T=H(),M=/(^|[\s:])!?z-/.test(l),E=/* @__PURE__ */v("div",{ref:d,"data-popup-menu-tree":p,className:`fixed rounded-(--radius-popup) ${"tight"===T?"py-1":"large"===T?"py-2":"py-1.5"} ${l}`,onContextMenu:e=>{L(e.target)||e.preventDefault()},style:{...M?{}:{zIndex:o.menu},minWidth:c,animation:"popup-in 0.12s ease-out",...e(),...a},children:/* @__PURE__ */v(D.Provider,{value:N,children:t})});return s?C?w(E,document.body):null:E}function F(e,t,n,r=!1){const o=H(),i="tight"===o?"0.25rem":"large"===o?"0.6rem":"max(0.25rem, calc(var(--menu-padding-y, 0.5rem) - 0.1rem))";return{className:`w-full flex items-center gap-2 text-left transition-colors rounded-lg mx-auto\n ${e?"text-red-600 hover:bg-red-50":r?"bg-blue-50 text-blue-700":"text-gray-700 hover:bg-blue-50 hover:text-blue-700"}\n ${t?"opacity-40 cursor-not-allowed":""}\n ${n}`,style:{width:"calc(100% - 8px)",marginLeft:4,marginRight:4,fontSize:"var(--menu-font-size, 14px)",paddingLeft:"var(--menu-padding-x, 1rem)",paddingRight:"var(--menu-padding-x, 1rem)",paddingTop:i,paddingBottom:i}}}var I=/* @__PURE__ */v(c,{name:"check",fallback:l,"aria-hidden":!0,className:"h-4 w-4",strokeWidth:2});function z({kind:e,checked:t}){/* @__PURE__ */
2
- return v("span","checkbox"===e?{"aria-hidden":!0,"data-menu-check":"",className:"inline-flex h-4 w-4 shrink-0 items-center justify-center rounded border "+(t?"border-blue-600 bg-blue-600 text-white":"border-gray-400"),children:t&&I}:{"aria-hidden":!0,"data-menu-check":"",className:"inline-flex h-4 w-4 shrink-0 items-center justify-center",children:t&&I})}var q=d(function({onClick:e,children:t,className:n="",danger:r,disabled:o,role:i,checked:a,tabIndex:l,id:u,onMouseEnter:c},s){const d=p(D),m=p(j),h=F(r,o,n),f=void 0===a?null:"menuitemradio"===i?"radio":"checkbox";/* @__PURE__ */
3
- return b("button",{ref:s,id:u,role:"radio"===f?"menuitemradio":"checkbox"===f?"menuitemcheckbox":i??(m?"menuitem":void 0),"aria-checked":f?a:void 0,tabIndex:l,onClick:()=>{e?.(),d&&d.depth>0&&"checkbox"!==f&&d.closeTree()},onMouseEnter:()=>{d?.scheduleClose(d.depth),c?.()},disabled:o,className:h.className,style:h.style,children:[f&&/* @__PURE__ */v(z,{kind:f,checked:!!a}),t]})}),J=/* @__PURE__ */v(c,{name:"chevron-right",fallback:u,"aria-hidden":!0,className:"h-3.5 w-3.5 shrink-0 ml-auto text-gray-500",strokeWidth:2});function K(e){let t=o.menu;for(let n=e;n&&n!==document.body;n=n.parentElement){const e=parseInt(getComputedStyle(n).zIndex,10);Number.isNaN(e)||(t=e)}return t}function U(e){return e?[...e.querySelectorAll("button:not([disabled])")].filter(t=>t.closest("[data-popup-submenu-panel]")===e):[]}function X({label:t,icon:n,children:o,disabled:i,className:l="",minWidth:u=180,maxHeight:c}){const s=p(D),d=h(),f=m(null),C=m(null),N=m(),T=m(!1),M=`${d}-menu`;g(()=>()=>clearTimeout(N.current),[]);const E=s?.depth??0,W=s?.path[E],$=!!W&&W.key===d&&!i,P=x(e=>{if(!s||i||!f.current)return;clearTimeout(N.current),T.current=e;const t=f.current.getBoundingClientRect(),n=f.current.closest("[data-popup-submenu-panel]")??f.current.closest("[data-popup-menu-tree]"),r=n?.getBoundingClientRect()??t,o=E>0&&(s.path[E-1]?.flipped??!1),a=B(r.left,r.right,u,window.innerWidth,4,o);s.open(E,{key:d,y:t.top,...a})},[s,i,E,d,u]),R=e=>{s?.closeBelow(E),f.current?.focus()};g(()=>{if($)return r(e=>"Escape"===e.key&&(!(s&&s.path.length>E+1)&&(R(),!0)),()=>C.current)}),a(()=>{if(!$||!W)return;const e=()=>{const e=C.current;if(!e||!f.current)return;const t=f.current.closest("[data-popup-submenu-panel]")??f.current.closest("[data-popup-menu-tree]"),n=t?.getBoundingClientRect()??f.current.getBoundingClientRect(),r=E>0&&(s?.path[E-1]?.flipped??!1),o=e.offsetWidth||u,i=B(n.left,n.right,o,window.innerWidth,4,r,8),a=e.offsetHeight,l=A(f.current.getBoundingClientRect().top+a/2,a,8,window.innerHeight-8);e.style.left=`${i.left}px`,e.style.top=`${l}px`,e.dataset.flipped=String(i.flipped)};e();let t=0;const n=requestAnimationFrame(()=>{t=requestAnimationFrame(e)});return()=>{cancelAnimationFrame(n),cancelAnimationFrame(t)}}),g(()=>{$&&T.current&&(T.current=!1,U(C.current)[0]?.focus())},[$]);const j=y(()=>s&&{...s,depth:E+1},[s,E]);if(!s)throw new Error("PopupSubmenu must be rendered inside a PopupMenu");const S=F(!1,i,l,$),I=H();/* @__PURE__ */
4
- return b(k,{children:[
5
- /* @__PURE__ */b("button",{ref:f,type:"button",role:"menuitem","aria-haspopup":"menu","aria-expanded":$,"aria-controls":$?M:void 0,disabled:i,"data-popup-submenu-row":!0,className:S.className,style:S.style,onClick:e=>{const t=0===e.detail;$?t&&U(C.current)[0]?.focus():P(t)},onKeyDown:e=>{"ArrowRight"===e.key&&(e.preventDefault(),e.stopPropagation(),P(!0))},onMouseEnter:()=>{i||(s.cancelClose(),$?s.closeBelow(E+1):(clearTimeout(N.current),N.current=setTimeout(()=>P(!1),120)))},onMouseLeave:()=>{clearTimeout(N.current),s.scheduleClose(E)},children:[n,
6
- /* @__PURE__ */v("span",{className:"min-w-0 flex-1 truncate",children:t}),J]}),$&&w(
7
- /* @__PURE__ */v("div",{ref:C,id:M,role:"menu","data-popup-menu-tree":s.id,"data-popup-submenu-panel":!0,className:"fixed rounded-(--radius-popup) overflow-x-hidden overflow-y-auto overscroll-contain "+("tight"===I?"py-1":"large"===I?"py-2":"py-1.5"),style:{left:W.left,top:W.y,minWidth:u,maxHeight:void 0===c?"calc(100vh - 16px)":`min(${"number"==typeof c?`${c}px`:c}, calc(100vh - 16px))`,zIndex:K(s.root.current)+E+1,animation:(W.flipped?"popup-submenu-in-left":"popup-submenu-in")+" 0.1s ease-out",...e()},onKeyDown:e=>{if(e.target.closest("[data-popup-submenu-panel]")!==e.currentTarget)return;const t=U(C.current),n=t.indexOf(document.activeElement),r=n=>{e.preventDefault(),e.stopPropagation(),t[(n+t.length)%t.length]?.focus()};"ArrowDown"===e.key?r(n+1):"ArrowUp"===e.key?r(n<0?t.length-1:n-1):"Home"===e.key?r(0):"End"===e.key?r(t.length-1):"ArrowLeft"===e.key&&(e.preventDefault(),e.stopPropagation(),R())},onMouseEnter:()=>{s.cancelClose(),clearTimeout(N.current)},onMouseLeave:()=>s.scheduleClose(E+1),onContextMenu:e=>{L(e.target)||e.preventDefault()},children:/* @__PURE__ */v(D.Provider,{value:j,children:o})}),document.body)]})}function Z(){const e=H();/* @__PURE__ */
8
- return v("div",{className:`border-t ${t} ${"tight"===e?"my-0.5":"large"===e?"my-1.5":"my-1"} mx-3`})}function G({children:e}){const t=H(),n="tight"===t?"0.125rem":"large"===t?"0.375rem":"0.25rem";/* @__PURE__ */
9
- return v("div",{className:"text-xs font-medium uppercase tracking-wide",style:{color:"var(--ink-muted)",paddingLeft:"var(--menu-padding-x, 1rem)",paddingRight:"var(--menu-padding-x, 1rem)",paddingTop:n,paddingBottom:n},children:e})}function O({d:e,className:t="h-4 w-4 text-gray-400"}){/* @__PURE__ */
10
- return v("svg",{className:t,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:/* @__PURE__ */v("path",{strokeLinecap:"round",strokeLinejoin:"round",d:e})})}export{z as MenuCheckMark,O as MenuIcon,j as MenuSemanticsContext,N as NATIVE_MENU_ATTR,S as PopupMenu,Z as PopupMenuDivider,q as PopupMenuItem,G as PopupMenuLabel,X as PopupSubmenu,A as clampMenuTop,P as closeMenuBelow,E as describeContextTarget,F as itemLook,L as keepsNativeMenu,W as leavesContextMenuAlone,B as menuPanelLeft,$ as openMenuLevel,R as resolveMenuLevels};
@@ -1 +0,0 @@
1
- import{formatPlain as e,formatFixed as o,formatGrouped as t,formatPercent as i}from"./chunk-C3QOHMR6.js";import{createContext as a,useContext as n,useMemo as r,useEffect as s}from"react";import{jsx as l}from"react/jsx-runtime";function d(a){const n=o=>e(o,a),r=e=>t(e,a),s=(e,t)=>o(e,t,a),l=(e,o)=>i(e,o,a);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=>`${n(e)} selected`,selectedNotShown:(e,o)=>`${n(e)} selected, ${n(o)} not shown`,allLoaded:(e,o)=>`All ${r(e)} ${o} loaded`,count:(e,o)=>`${r(e)} ${o}`,loadedOf:(e,o,t)=>`${r(e)} of ${r(o)} ${t}`,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,o)=>`${e} was not added — ${n(o)} ${1===o?"file":"files"} is the limit`,bytes:e=>`${n(e)} B`,kilobytes:e=>`${n(e)} KB`,megabytes:e=>`${s(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,o,t)=>`${e}, item ${n(o)} of ${n(t)}. 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",copyValue:e=>`Copy ${e}`,copiedValue:"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 ${n(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,o)=>`${n(e)}${o?"+":""}`,groupLabel:(e,o,t)=>`${e}, ${n(o)}${t?"+":""}`,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`},displayChips:{shown:"Shown",hidden:"Hidden",shownHint:"Shown · click to hide",hiddenHint:"Hidden · click to show"},corners:{radius:"Corner radius",unit:"px",radiusMark:"R"},widths:{column:e=>`Column ${e}`,divider:(e,o)=>`Divider between column ${e} and column ${o}`,dividerValue:(e,o,t,i)=>`Column ${e} ${l(o,0)}, column ${t} ${l(i,0)}`,dragHint:"Drag to change the widths",hint:(e,o)=>`Column ${e} fills the rest of the row. No column goes below ${l(o,0)}.`,reset:"Reset to equal"},color:{swatch:(e,o)=>`${e}: ${o}`,none:"None",panel:e=>`${e} picker`,square:"Saturation and brightness",squareValue:(e,o)=>`Saturation ${l(e,0)}, brightness ${l(o,0)}`,hue:"Hue",hex:e=>`${e} hex code`,presets:"Presets",clear:"No color"},imageFocus:{picture:(e,o)=>`${e}: ${o}`,hint:"Drag the dot on the picture, or move it with the arrow keys. Shift moves it further.",noImage:"Choose an image first. There is nothing to focus yet."},link:{linkType:"Link type",address:"Link address",addressPlaceholder:"Link (e.g. /wheels or https://…)",unsafe:"Use a web address (https://…), a page on this site (/…), mailto: or tel:.",unavailable:e=>`${e} (unavailable)`,filter:"Filter",noFilter:"No filter (all products)",value:"Value",filterHint:"Filters come from Product Types. Only values in this site's catalogue are listed.",title:"Link",apply:"Apply",cancel:"Cancel",remove:"Remove",addLink:"Add a link",text:e=>`${e} text`,linkOf:(e,o)=>`${e} link: ${o||"none"}`},tree:{empty:"Nothing here yet",dropHere:"Drop here",dragHint:"Drag to move",moveHint:"Alt+Arrow Up or Alt+Arrow Down moves it",insertHere:"Insert 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 ≥ ${n(e)}`,criticalAt:e=>`critical ≥ ${n(e)}`,noReading:"no reading",noBudget:"no budget",ofBudget:e=>`${e} of budget`,budget:"budget",hoursMinutes:(e,o)=>`${n(e)}h ${n(o)}m`,minutesSeconds:(e,o)=>`${n(e)}m ${n(o)}s`,seconds:e=>`${n(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,o,t)=>`Time window — showing ${e} to ${o} of ${n(t)} intervals`,overIntervals:(e,o)=>`${e.join(", ")} over ${n(o)} intervals`,acrossCategories:(e,o)=>`${e.join(", ")} across ${n(o)} categories`,acrossMeasures:(e,o)=>`${e.join(", ")} across ${n(o)} measures`,breakdown:(e,o)=>`Breakdown of ${e} across ${n(o)} segments`,funnel:(e,o,t)=>`Funnel of ${n(e)} stages, ${o} down to ${t}`,radialTrack:e=>`${n(e)} categories, as concentric proportions`,radialCycle:e=>`${n(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,o)=>`${e}: five-number summary for ${n(o)} categories`,outliers:e=>`${n(e)} outlier${e>1?"s":""} beyond the whiskers`,price:"Price",ohlc:(e,o)=>`${e}: open, high, low and close across ${n(o)} periods`,closedAbove:"Closed above its open",closedBelow:"Closed below its open",noFlows:"No flows to chart.",chord:e=>`Flows between ${n(e)} participants`,noStages:"No stages to chart.",ofFirstStage:"Of first stage",droppedHere:"Dropped here",intensity:"Intensity",noActivity:"No activity in this window.",heatmap:(e,o,t)=>`${e} across ${n(o)} rows and ${n(t)} columns`,countAxis:"count",histogram:(e,o,t)=>`${e}: ${n(o)} bins over ${n(t)} 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,o)=>`${e}: low and high across ${n(o)} categories`,nothingToRank:"Nothing to rank in this window.",emphasised:"(emphasised)",sankey:(e,o)=>`Flow between ${n(e)} nodes over ${n(o)} links`,noObservations:"No observations in this window.",xAxis:"x",yAxis:"y",size:"Size",scatter:(e,o,t)=>`${e.join(", ")}: ${o} against ${t}`,outsideRange:e=>`${n(e)} ${1===e?"point":"points"} outside the shown range`,waterfall:(e,o,t)=>`Waterfall of ${n(e)} steps from ${o} to ${t}`,balance:"Balance",increase:"Increase",decrease:"Decrease",runningTotal:"Running total",sunburst:(e,o)=>`Hierarchy of ${e} across ${n(o)} levels`,treemap:e=>`Treemap of ${n(e)} items`,trendUp:"up",trendDown:"down",trendFlat:"flat"},timeline:{days:e=>`${r(e)} days`,daysToToday:e=>`${r(e)} days to today`,notReached:"Not yet reached",next:"Next",more:e=>`+${n(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,o)=>`${n(e)} events · ${o.join(", ")}`,started:e=>`started ${e}`,duration:e=>`${r(e)} day${1===e?"":"s"}`,reached:(e,o)=>`${n(e)} of ${n(o)} 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=>`${l(e,0)} overall`,inStock:e=>`${r(e)} pc in stock`,noReport:"No production report filed yet",leadTime:e=>`${r(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=>`${n(e)} items`,pieces:e=>`${n(e)} pcs`,split:(e,o)=>`(${n(e)} instr / ${n(o)} loaded)`,added:(e,o)=>`${n(e)} new (${n(o)} pcs)`,fill:(e,o)=>`${s(e,1)} / ${n(o)} m³`,total:"Total:",instructed:e=>`${s(e,2)} m³ instruction`,loaded:e=>`${s(e,2)} m³ loaded`,volume:e=>`${s(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,o)=>`${n(e)} ${o} here`,stops:e=>`Stops ${e}`,closeBy:(e,o)=>`${n(e)} more ${o} 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,o)=>`${n(e)} / ${n(o)}`,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"},loading:{label:"Loading..."},language:{title:"Language",description:"The language of menus, labels and messages.",reloadNote:"The page reloads when you change the language."},entityList:{open:"Open",copy:"Copy",copyColumn:e=>`Copy ${e}`,copyRows:e=>1===e?"Copy row":`Copy ${n(e)} rows`,exportSelected:"Export selected to CSV",selectAll:"Select all",selectAllLoaded:e=>`Select all ${n(e)} loaded`,clearSelection:"Clear selection",refresh:"Refresh",copiedText:"Text",copiedRows:e=>1===e?"Row":`${n(e)} rows`,exported:e=>`Exported ${n(e)} ${1===e?"row":"rows"}.`,exportTruncated:(e,o)=>`Exported ${n(e)} of ${n(o)} rows. The server capped this export, so the file is incomplete.`,exportTruncatedUnknown:e=>`Exported only some of the ${n(e)} rows. The server capped this export, so the file is incomplete.`,exportFailed:"CSV export failed."},columns:{choose:"Choose columns",heading:"Columns",reset:"Reset",saveDefault:"Save as default for all users",savedDefault:"Saved as default",select:"Select",selectDone:"Done",showSelection:"Show selection column",hideSelection:"Hide selection column"},record:{loading:"Loading record…",signInRequired:"Sign in required",signInBody:"Your session may have expired. Sign in again to open this record.",notFound:"Record not found",loadFailed:"Couldn't load record",checkConnection:"Check your connection and try again.",rejected:"The server rejected this request.",retry:"Try again"},password:{current:"Current Password",newPassword:"New Password",confirm:"Confirm Password",submit:"Change Password",submitting:"Changing...",done:"Done",currentRequired:"Current password is required.",tooShort:e=>`New password must be at least ${n(e)} characters.`,mismatch:"Passwords do not match.",failed:"Failed to change password.",changed:"Your password has been changed successfully."},pdfAction:{label:"PDF",loading:"Loading...",preview:"Preview",download:"Download",email:"Send by Email",downloaded:e=>`${e} downloaded.`,tookTooLong:e=>`${e} took too long to load. Please try again.`,previewLoading:"LOADING PDF",previewTookTooLong:"This document took too long to load. Close this window and try again.",previewFailed:"Failed to load PDF."},undo:{undo:"Undo",redo:"Redo",undoStep:(e,o)=>`Undo ${e} (${o})`,redoStep:(e,o)=>`Redo ${e} (${o})`,nothingToUndo:"Nothing to undo",nothingToRedo:"Nothing to redo"},sounds:{title:"Sounds",enable:"Sound effects",autosave:"Changes are saved automatically",choice:(e,o)=>`${e} — ${o}`,packClassic:"Classic",packMinimal:"Minimal",packRetro:"Retro",packSoft:"Soft",packArcade:"Arcade",packSilent:"Silent",eventClick:"Click",eventSuccess:"Success",eventError:"Error",eventNotification:"Notification",eventStartup:"Startup",eventTimerDone:"Timer",eventLogout:"Logout"},serverStatus:{connected:"Connected",disconnected:"Disconnected",checking:"Checking…",lastOkTitle:(e,o)=>`${e} · last ok ${o}`,details:"Server connection details",lastPoll:e=>`Last poll ${e}.`,lastFailure:e=>`Last failure ${e}.`,firstPoll:"First poll in flight…",server:"Server",protocol:"Protocol",browser:"Browser",online:"Online",offline:"Offline",lastOk:"Last OK",lastFail:"Last fail",latency:"Latency",poll:"Poll",pollEvery:e=>`every ${n(e)} s`,session:"Session",user:"User",notSignedIn:"Not signed in",role:"Role",build:"Build",app:"App",userAgent:"UA",pingHint:"Click ↻ to ping now",refresh:"Refresh"},bulkImport:{description:"Paste from spreadsheets, type directly, or upload a CSV. Rows don't need to be in order — they'll be matched. Values not in the list will be added to the end. Fields left blank will not be affected.",lines:e=>`${n(e)} lines`,total:(e,o)=>`${e}: ${o}`,clear:"Clear",upload:"Upload CSV",importLines:e=>`Import ${n(e)} Lines`,importing:"Importing...",importFailed:"Import failed.",enterAtLeastOne:e=>`Enter at least one ${e||"value"}.`,allSkipped:"All rows skipped.",cancel:"Cancel",mapTitle:"Map CSV columns to fields",skip:"— Skip —",columnOption:(e,o)=>`Column ${n(e)} (e.g. ${o})`,rowsDetected:e=>`${n(e)} rows detected`,confirmMapping:"Confirm Mapping",duplicatesTitle:"Duplicate entries detected",duplicatesFound:e=>`${n(e)} ${1===e?"value appears":"values appear"} more than once in your import. Choose how to handle each before proceeding.`,occurrences:e=>`${n(e)} occurrences`,keepFirst:"Keep first",keepLast:"Keep last",keepAll:"Keep all",skipAll:"Skip all",keptDropped:(e,o)=>`${n(e)} kept · ${n(o)} dropped`,proceed:"Proceed",duplicatesMerged:e=>`${n(e)} ${1===e?"value appeared":"values appeared"} more than once. Each is merged into a single line with its quantity summed — review before proceeding.`,mergedFrom:"Merged from",mergedRows:e=>`${n(e)} rows`,mergeSummary:(e,o)=>`${n(e)} duplicate rows → ${n(o)} merged line${1===o?"":"s"}`},preview:{windowTitle:e=>`${e} - Preview`,untitled:"Untitled",open:"Open",formats:"PDF · DXF · 3D · Images",dropHere:e=>`Drop a file here, or click ${e}.`,supportedFormats:"Supported formats",formatPdf:"multi-page document viewer",formatDxf:e=>`vector CAD drawings (optional ${e} peer dep)`,format3d:e=>`3D models (optional ${e} peer dep)`,formatImage:"raster images",dwgNote:"DWG files need to be converted to PDF or DXF first (server-side).",dropToOpen:"Drop to open",dwgUnsupported:"DWG files need server-side conversion. Convert to PDF or DXF first.",unsupportedType:e=>`Unsupported file type: .${e||"unknown"}`,converting:"Converting file",download:"Download",email:"Email",howToNavigate:"How to navigate",stopMeasuring:"Stop measuring (Esc)",scrollToZoom:"Scroll to zoom",closePanel:"Close",annotate:"Annotate",annotateHint:"Annotate this image",view:"View",viewHint:"Back to viewer",copy:"Copy",save:"Save",imageFailed:"Failed to load image.",downloadFailed:"Download failed — couldn't reach the file."},drawing:{loading:"Loading drawing…",notInstalled:"dxf-viewer is not installed in this app.",renderFailed:"Failed to render DXF.",layers:"Layers",layersHint:"Toggle layer visibility",allLayers:"All",noLayers:"None",measure:"Measure",measureHint:"Measure distance — click two points on the drawing, or type DI / DIM below",auto:"Auto",autoHint:"Auto — AutoCAD DIMLINEAR: measures ΔX or ΔY, whichever is larger between the two picks",horizontalHint:"Horizontal — distance along the X axis between two picks (AutoCAD DIMLINEAR horizontal)",verticalHint:"Vertical — distance along the Y axis between two picks (AutoCAD DIMLINEAR vertical)",point:"Point",pointHint:"Point — straight-line (Euclidean) distance between two picks (AutoCAD DIST)",fixX:"fix Δx",fixY:"fix Δy",fixHint:"Lock the second pick's axis coord to first pick + this value (mm). The reported measurement becomes the perpendicular distance.",clearFixed:"Clear fixed distance",horizontalDistance:e=>"Horizontal distance (Δx) between the two picked points"+(e?" — Auto resolved to the X axis":""),verticalDistance:e=>"Vertical distance (Δy) between the two picked points"+(e?" — Auto resolved to the Y axis":""),straightDistance:"Straight-line distance between the two picked points",fit:"Fit",fitHint:"Fit drawing to view",dragToPan:"Drag to pan",fitToReset:"Fit to reset",typeToMeasure:e=>`Type ${e} to measure`,commandPlaceholder:"Type a command — DI, DIM, H, V, Z, LA (? for help)",commandHelp:"Commands: DI distance · DIM/DLI linear dim · H / V force axis · <number> lock Δ · U undo pick · Z fit · LA layers · Esc exit",echoDistance:(e,o,t)=>`Distance = ${e} ΔX = ${o} ΔY = ${t}`,echoLinear:(e,o)=>`Linear dimension = ${e} (${o})`,echoLocked:(e,o,t,i)=>`${e} = ${o} with ${t} locked to ${i}`,axisLocked:(e,o)=>`${e} locked to ${o} — the label shows the perpendicular distance`,fixedCleared:"Fixed distance cleared.",fixedNeedsAxis:"Fixed distances apply in H or V mode — type H or V first.",echoDist:"DIST — click two points; straight-line distance (Esc to exit)",echoDimLinear:"DIMLINEAR — click two points; measures ΔX or ΔY, whichever is larger (H / V to force)",echoHorizontal:"Horizontal — ΔX between the two picks",echoVertical:"Vertical — ΔY between the two picks",echoAuto:"Auto (DIMLINEAR) — measures along the dominant axis of the two picks",measureOn:"Measure on — click two points.",measureOff:"Measure off.",pickRemoved:"Last pick removed.",zoomExtents:"Zoom extents.",layersToggled:"Layer panel toggled.",measurementCleared:"Measurement cleared.",readOnly:e=>`${e} is a drawing command — Preview is a read-only viewer. Measuring: DI, DIM, H, V (? for help)`,unknownCommand:e=>`Unknown command "${e}" — try DI, DIM, H, V, Z, LA (? for help)`,cancelled:"*Cancel*"},model:{loading:"Loading 3D model…",stepNote:"STEP files load OpenCascade WASM (~5 MB) on first use.",notInstalled:"online-3d-viewer is not installed in this app. Add it to enable 3D file viewing.",loadFailed:"Failed to load 3D model.",rootNode:"Root",node:"Node",collapse:"Collapse",expand:"Expand",fitToView:"Fit to view",hide:"Hide",show:"Show",isometric:"ISO",isometricView:"Isometric view",top:"TOP",topView:"Top view",front:"FRT",frontView:"Front view",side:"SDE",sideView:"Side view",perspective:"Perspective",orthographic:"Orthographic",toPerspective:"Switch to perspective view",toOrthographic:"Switch to orthographic view",snapshot:"Save snapshot as PNG",measureHint:"Measure distance — click two points on the model",point:"Point",pointHint:"Point — measure straight-line distance between two picked points",perpendicularHint:"Perpendicular — pick two surfaces and measure the perpendicular gap between them",straightDistance:"Straight-line distance between the two picked points",perpendicularDistance:"Perpendicular distance between the two picked surfaces",meshesHint:"Toggle meshes panel",displayHint:"Toggle display panel",downloadOriginal:"Download original file",meshes:"Meshes",readingModel:"Reading model…",noStructure:"No structure available",allVisible:"All visible",hiddenCount:e=>`${n(e)} hidden`,dragToRotate:"Drag to rotate",rightDragToPan:"Right-click drag to pan",display:"Model Display",backgroundColor:"Background Color",showEdges:"Show Edges",edgeColor:"Edge Color",edgeThreshold:"Edge Threshold",sectionView:"Section View",angle:"Angle",axis:"Axis",flipHint:"Flip section direction",flip:"flip →",flipped:"← flipped",position:"Position",resetDisplay:"Reset to Default"},annotator:{toolSelect:"Select / Move",toolDraw:"Pen / Draw",toolRect:"Rectangle",toolEllipse:"Ellipse",toolArrow:"Arrow",toolMosaic:"Mosaic",toolText:"Text",toolCrop:"Crop",weight:"Weight",radius:"Radius",size:"Size",padding:"Pad",fontSystem:"System",fontSerif:"Serif",fontMono:"Mono",fontCursive:"Cursive",bold:"Bold",boldLetter:"B",italic:"Italic",italicLetter:"I",underline:"Underline",underlineLetter:"U",border:"Border",borderColor:"Text-box border color",addBorder:"Add a border",removeBorder:"Remove border",fill:"Fill",fillColor:"Text-box background color",addFill:"Add a background fill",removeFill:"Remove fill",add:"Add",zoomOut:"Zoom out",zoomIn:"Zoom in",fit:"Fit",fitHint:"Fit to area",undo:"Undo",applyCrop:"Apply Crop",cancel:"Cancel",apply:"Apply",hintSelected:"Drag to move. Drag a corner to resize. Delete / Backspace removes. Click outside to deselect.",hintSelect:"Tap a shape to select. Double-click text to edit.",hintText:"Click to drop a text label.",hintCrop:"Drag a rectangle to set the crop region.",hintDraw:"Drag to draw freehand.",hintShape:"Drag on the image to draw.",textPlaceholder:"Type then Enter…",loadFailed:"Failed to load image",exportFailed:"Failed to export",clipboardUnsupported:"Clipboard images not supported in this browser",copyFailed:"Failed to copy",copied:"Copied to clipboard",copyRefused:"Copy failed (clipboard permission?)"},attachment:{fallbackName:"attachment",noLink:"This attachment has no download link.",spreadsheetFailed:"Could not open the spreadsheet — opening the file instead.",workbookUnavailable:"Spreadsheet preview is unavailable for this file type. Opening the file instead.",noViewer:"Opening this file outside the app — no viewer can show it here.",loading:"LOADING FILE",loadFailed:"Failed to load this file."},aboutApp:{title:e=>`About ${e}`,version:e=>`Version ${e}`,partOf:e=>`Part of the ${e} desktop environment`,shellVersion:e=>`shell v${e}`,spreadsheet:"Multi-sheet spreadsheet editor with CSV / TSV import and export.",notepad:"Color-coded notes with checklists, desktop stickies and entity autolinking.",documents:"Letter-page editor for Word documents and plain-text files — images, lists, alignment.",preview:"Viewer for PDF documents, images, DXF drawings and 3D models — CAD-style measuring with object snap and an AutoCAD-like command bar.",files:"Personal file manager with folders, uploads, quota, trash and desktop shortcut folders.",browser:"Minimal web browser with bookmarks, history and navigation bar."}}}var c=d(),p=/* @__PURE__ */new Map;var h=a(c),u=a(null),m=/* @__PURE__ */new Set;var g=c,w={};function f(){return g}function $({value:e=w,locale:o,children:t}){const i=n(u),a=r(()=>function(e){if(e)try{return Intl.getCanonicalLocales(e)[0]}catch{return void(m.has(e)||(m.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".`)))}}(o),[o]),f=void 0===o?i?.locale:a,$=r(()=>{const o=function(e){if(!e)return c;let o=p.get(e);return o||(o=d(e),p.set(e,o)),o}(f),t={};for(const i of Object.keys(o))t[i]={...o[i],...e[i]??{}};return t},[e,f]),v=r(()=>({locale:f}),[f]),y=null!==i;return s(()=>{if(!y)return g=$,()=>{g===$&&(g=c)}},[$,y]),/* @__PURE__ */l(u.Provider,{value:v,children:/* @__PURE__ */l(h.Provider,{value:$,children:t})})}function v(){return n(h)}function y(){return n(u)?.locale}function b(e){const[o="",...t]=e("\0").split("\0");return[o,t.join("")]}export{c as DEFAULT_SHELL_STRINGS,$ as ShellStringsProvider,f as currentShellStrings,b as splitAround,y as useShellLocale,v as useShellStrings};
@@ -1 +0,0 @@
1
- var r="5.6.0",a=r;export{a as APP_VERSION,r as VERSION};
@@ -1,2 +0,0 @@
1
- import{useSyncExternalStore as e}from"react";import{jsx as t}from"react/jsx-runtime";var n=/* @__PURE__ */new Map,o=null,i=null,l=0,a=/* @__PURE__ */new Set;function r(){l+=1;for(const e of[...a])e()}function s(e){return a.add(e),()=>{a.delete(e)}}function c(){return l}function f(e){let t=n.get(e.name),i=!1;t?t.label!==e.label&&(t.label=e.label,i=!0):(t={label:e.label,icons:/* @__PURE__ */new Map,looks:/* @__PURE__ */new Map},n.set(e.name,t),o??=e.name,i=!0);for(const[n,o]of Object.entries(e.icons))t.icons.get(n)!==o&&(t.icons.set(n,o),i=!0);for(const[n,o]of Object.entries(e.looks??{})){let e=t.looks.get(n);e||t.looks.set(n,e=/* @__PURE__ */new Map);for(const[t,n]of Object.entries(o))e.get(t)!==n&&(e.set(t,n),i=!0)}i&&r()}function u(e,t){f({name:e,label:n.get(e)?.label??"",icons:t})}function d(e){o!==e&&(o=e,r())}function b(e){const t=e||null;i!==t&&(i=t,r())}function m(){return i&&n.has(i)?i:o}function g(){return[...n].filter(([,e])=>""!==e.label).map(([e,t])=>({name:e,label:t.label}))}function p(e,t){const i=[m(),o,...n.keys()];if(t)for(const o of i){const i=o?n.get(o)?.looks.get(t)?.get(e):void 0;if(i)return i}for(const t of i){const o=t?n.get(t)?.icons.get(e):void 0;if(o)return o}}var v={muted:"text-gray-500",accent:"text-blue-600",danger:"text-red-600",success:"text-green-600",warning:"text-amber-600"},w=/* @__PURE__ */new Set;function h({name:n,glyph:o,size:i,tone:l,look:a,title:r,fallback:f,className:u,...d}){e(s,c,c);const b=n??o,m=p(b,a)??f;if(!m)return w.has(b)||(w.add(b),console.warn(`efficient-shell/icons: no registered icon set draws "${b}". Register one at startup, for example registerIconSet(efficient) from 'efficient-shell/icons/efficient'.`)),null;const g=void 0!==r||void 0!==d["aria-label"]||void 0!==d["aria-labelledby"],h=[l?v[l]:"",u??""].filter(Boolean).join(" ");/* @__PURE__ */
2
- return t(m,{width:i??"1em",height:i??"1em","data-icon":b,"aria-hidden":!g||void 0,role:g?"img":void 0,"aria-label":r,...d,className:h||void 0})}export{h as Icon,m as activeIconSet,g as iconSets,c as iconsVersion,f as registerIconSet,u as registerIcons,p as resolveIcon,d as setDefaultIconSet,b as setIconSet,s as subscribeIcons};
@@ -1,9 +0,0 @@
1
- import{VERSION as e}from"./chunk-WRBXEZFN.js";import{useWindowMenuItem as t,Modal as r}from"./chunk-L5XA5MLK.js";import{navIcons as s}from"./chunk-DSSLOQDW.js";import{InfoFallback as o,WindowFallback as n}from"./chunk-6LTDJKIL.js";import{DEFAULT_SHELL_STRINGS as i,useShellStrings as a,splitAround as m}from"./chunk-TNBCUZVE.js";import{Icon as c}from"./chunk-XWSWYMGM.js";import{useState as l,useCallback as p,isValidElement as d,cloneElement as h}from"react";import{jsx as u,jsxs as f}from"react/jsx-runtime";var x=i.aboutApp,v={spreadsheet:{name:"Spreadsheets",version:"1.1.3",route:"/spreadsheet",description:x.spreadsheet},notepad:{name:"Notepad",version:"1.0.1",route:"/notepad",description:x.notepad},documents:{name:"Documents",version:"1.1.0",route:"/documents",description:x.documents},preview:{name:"Preview",version:"1.4.2",route:"/preview",description:x.preview},files:{name:"Files",version:"1.1.1",route:"/files",description:x.files},browser:{name:"Browser",version:"1.0.1",route:"/browser",description:x.browser}},w=/* @__PURE__ */u(c,{name:"info",fallback:o,className:"h-4 w-4 text-gray-400",strokeWidth:1.5}),N=/* @__PURE__ */u(c,{name:"window",fallback:n,className:"h-9 w-9",strokeWidth:1.5});function g({app:o}){const n=v[o],[i,c]=l(!1),x=p(()=>c(!0),[]),g=a().aboutApp,b=g.title(n.name);if(t(b,x,w),!i)return null;const y=s[n.route],k=d(y)?h(y,{className:"h-9 w-9"}):N,[j,W]=m(g.partOf);/* @__PURE__ */
2
- return u(r,{open:!0,onClose:()=>c(!1),title:b,size:"sm",compact:!0,bodyScroll:!1,autoHeight:!0,dimensions:[320,320],children:/* @__PURE__ */f("div",{className:"flex flex-col items-center text-center px-5 pt-5 pb-4",children:[
3
- /* @__PURE__ */u("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-gray-100 text-gray-600 shrink-0",children:k}),
4
- /* @__PURE__ */u("h2",{className:"mt-3 text-lg font-bold text-gray-900",children:n.name}),
5
- /* @__PURE__ */u("p",{className:"text-[11px] font-mono text-gray-400",children:g.version(n.version)}),
6
- /* @__PURE__ */u("p",{className:"mt-2 text-xs text-gray-500 leading-relaxed",children:g[o]}),
7
- /* @__PURE__ */f("div",{className:"mt-4 pt-3 border-t border-gray-200 w-full",children:[
8
- /* @__PURE__ */f("p",{className:"text-[11px] text-gray-500",children:[j,
9
- /* @__PURE__ */u("span",{className:"font-medium text-gray-700",children:"efficient-shell"}),W]}),e&&/* @__PURE__ */u("p",{className:"mt-0.5 text-[10px] font-mono text-gray-400",children:g.shellVersion(e)})]})]})})}export{g as AboutApp,v as BUILTIN_APP_INFO};
@@ -1,29 +0,0 @@
1
- import{useDismissPopupsOnOpen as e}from"./chunk-AFYQTVZO.js";import{registerModalEscapeInterceptor as t,Z_LAYERS as n}from"./chunk-X4FJ54PP.js";import{CloseFallbackB as r,WarningFallback as o,CloseFallback as l}from"./chunk-6LTDJKIL.js";import{useShellStrings as i,splitAround as a}from"./chunk-TNBCUZVE.js";import{Icon as s}from"./chunk-XWSWYMGM.js";import{createContext as c,useEffect as d,useRef as u,useId as m,useContext as f,useState as b,useCallback as h}from"react";import{jsxs as g,jsx as p,Fragment as y}from"react/jsx-runtime";var x=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");function v(e){return Array.from(e.querySelectorAll(x)).filter(e=>null!==e.offsetParent||e===document.activeElement)}var w=[];function N(e){const t=w.findIndex(t=>t!==e&&e.contains(t));-1===t?w.push(e):w.splice(t,0,e)}function k(e){const t=w.lastIndexOf(e);-1!==t&&w.splice(t,1)}var C=/* @__PURE__ */new WeakSet;function L(e){return v(e)}function E(e,t){d(()=>{if(!t)return;const n=e.current;return n?(C.add(n),N(n),()=>{k(n),C.delete(n)}):void 0},[e,t])}function P(e,t){const n=w.lastIndexOf(t),r=n>0?w[n-1]:-1===n?w[w.length-1]??null:null,o=v(r??e.ownerDocument.body).filter(n=>!t.contains(n)&&!e.contains(n)),l=o.find(t=>0!==(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING));return l||(r&&!C.has(r)?o[0]??null:null)}function j(e,t,n){d(()=>{if(!t)return;const r=e.current;if(!r)return;const o=document.activeElement,l=n?.current??v(r)[0]??r;l!==r||r.hasAttribute("tabindex")||r.setAttribute("tabindex","-1"),l.focus();const i=e=>{if("Tab"!==e.key)return;if(w[w.length-1]!==r)return;const t=v(r);if(0===t.length)return void e.preventDefault();const n=t[0],o=t[t.length-1],l=document.activeElement;!e.shiftKey||l!==n&&r.contains(l)?e.shiftKey||l!==o&&r.contains(l)||(e.preventDefault(),n.focus()):(e.preventDefault(),o.focus())};return N(r),document.addEventListener("keydown",i,!0),()=>{k(r),document.removeEventListener("keydown",i,!0),(r.contains(document.activeElement)||document.activeElement===document.body)&&o?.focus?.()}},[e,t,n])}var T=0,W=null;function D(e){d(()=>{if(!e)return;const t=document.body;if(0===T){W={overflow:t.style.overflow,paddingRight:t.style.paddingRight};const e=window.innerWidth-document.documentElement.clientWidth;t.style.overflow="hidden",e>0&&(t.style.paddingRight=`${e}px`)}return T+=1,()=>{0===(T-=1)&&W&&(t.style.overflow=W.overflow,t.style.paddingRight=W.paddingRight,W=null)}},[e])}var F={sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-4xl"};function I({open:o,onClose:l,title:a,description:c,role:f="dialog",children:b,footer:h,blocking:y=!1,size:x="md",initialFocus:v,"aria-label":w,"aria-labelledby":N,"aria-describedby":k,className:C=""}){const L=u(null),E=m(),P=m(),T=!y&&!h,W=m(),I=i().dialog;return e(o),j(L,o,v),D(o),d(()=>{if(o)return t(()=>(y||l(),!0),()=>L.current)},[o,y,l]),o?/* @__PURE__ */g("div",{className:"fixed inset-0",style:{zIndex:n.overlay},role:"presentation",children:[
2
- /* @__PURE__ */p("div",{className:"fixed inset-0 bg-black/30","aria-hidden":"true"}),
3
- /* @__PURE__ */p("div",{className:"fixed inset-0 flex items-center justify-center p-4",onClick:y?void 0:e=>{e.target===e.currentTarget&&l()},children:/* @__PURE__ */g("div",{ref:L,role:f,"aria-modal":"true","aria-labelledby":a?W:N,"aria-label":a||N?void 0:w,"aria-describedby":k??(c?P:b?E:void 0),className:`relative max-h-full w-full ${F[x]} overflow-y-auto overscroll-contain rounded-(--radius-card) bg-white p-6 shadow-xl ${C}`.trim(),children:[a&&/* @__PURE__ */p("h2",{id:W,className:(T?"pr-8 ":"")+"text-base font-semibold text-gray-900",children:a}),c&&/* @__PURE__ */p("p",{id:P,className:((a?"mt-1":T?"pr-8":"")+" text-sm text-gray-500").trim(),children:c}),b&&/* @__PURE__ */p("div",{id:E,className:"mt-2 text-sm text-gray-600",children:b}),h&&/* @__PURE__ */p("div",{className:"mt-6 flex flex-wrap justify-end gap-3",children:h}),T&&/* @__PURE__ */p("button",{type:"button",onClick:l,"aria-label":I.close,className:"absolute right-3 top-3 rounded-(--radius-control) p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",children:/* @__PURE__ */p(s,{name:"close",fallback:r,className:"h-5 w-5",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true"})})]})})]}):null}var O=c(()=>Promise.resolve(!1)),$=()=>f(O),A=()=>Promise.resolve(!1),K=e=>A(e),R=()=>Promise.resolve(!1),S=e=>R(e),M=()=>Promise.resolve(null),V=e=>M(e),z={danger:{icon:"text-red-600 bg-red-100",button:"bg-red-600 hover:bg-red-700 text-white"},warning:{icon:"text-yellow-600 bg-yellow-100",button:"bg-yellow-600 hover:bg-yellow-700 text-white"},info:{icon:"text-blue-600 bg-blue-100",button:"bg-blue-600 hover:bg-blue-700 text-white"}},G="bg-white text-gray-700 border border-gray-300 px-4 py-2 text-sm font-medium rounded-lg hover:bg-gray-50";function J(){/* @__PURE__ */
4
- return p(s,{name:"warning",fallback:o,className:"h-5 w-5",strokeWidth:1.5,"aria-hidden":"true"})}function U(){/* @__PURE__ */
5
- return p(s,{name:"close",fallback:l,className:"h-5 w-5",strokeWidth:1.5,"aria-hidden":"true"})}function X({children:e}){const[t,n]=b(!1),[r,o]=b({message:""}),[l,s]=b(0),c=u(),m=u(null),f=u(0),x=u([]),v=u(null),w=u(null),N=h(e=>{m.current=e.id,c.current=e.resolve,s(e.id),o(e.options),n(!0)},[]),k=h(e=>{const t="string"==typeof e?{message:e}:e;return new Promise(e=>{const n={id:++f.current,options:t,resolve:e};null===m.current?N(n):x.current.push(n)})},[N]),[C,L]=b(!1),[E,P]=b({message:""}),[j,T]=b(""),W=u(),D=h(e=>(P(e),T(""),L(!0),new Promise(e=>{W.current=e})),[]),[F,$]=b(!1),[K,S]=b({}),[V,X]=b(""),Y=u(),Z=h(e=>{const t="string"==typeof e?{message:e}:e;return S(t),X(t.defaultValue??""),$(!0),new Promise(e=>{Y.current=e})},[]);d(()=>{A=k,R=D,M=Z},[k,D,Z]);const _=(e,t)=>{if(m.current!==e)return;const r=c.current,o=x.current.shift();o?N(o):(m.current=null,c.current=void 0,n(!1)),r?.(t)},q=e=>{L(!1),T(""),W.current?.(e)},B=e=>{if(e){const e=V.trim();if(!e&&!K.allowEmpty)return $(!1),void Y.current?.(null);$(!1),Y.current?.(e)}else $(!1),Y.current?.(null)},Q=r.variant||(r.confirmLabel?.toLowerCase().includes("delete")||r.message.toLowerCase().includes("delete")?"danger":"info"),H=z[Q],ee=z["warning"===E.variant?"warning":"danger"],te=E.confirmWord,ne=null==te||j===te,re=i().dialog,[oe,le]=a(re.typeToConfirm);/* @__PURE__ */
6
- return g(O.Provider,{value:k,children:[e,
7
- /* @__PURE__ */p(I,{open:t,onClose:()=>_(l,!1),initialFocus:v,footer:/* @__PURE__ */g(y,{children:[
8
- /* @__PURE__ */p("button",{ref:v,type:"button",onClick:()=>_(l,!1),className:G,children:r.cancelLabel||re.cancel}),
9
- /* @__PURE__ */p("button",{type:"button",onClick:()=>_(l,!0),className:`px-4 py-2 text-sm font-medium rounded-lg ${H.button}`,children:r.confirmLabel||re.ok})]}),children:/* @__PURE__ */g("div",{className:"flex gap-4",children:[
10
- /* @__PURE__ */p("div",{className:`shrink-0 w-10 h-10 rounded-full flex items-center justify-center ${H.icon}`,children:/* @__PURE__ */p(J,{})}),
11
- /* @__PURE__ */g("div",{className:"flex-1",children:[
12
- /* @__PURE__ */p("h2",{className:"text-base font-semibold text-gray-900",children:r.title||re.confirmTitle}),
13
- /* @__PURE__ */p("p",{className:"mt-2 text-sm text-gray-600",children:r.message})]})]})}),
14
- /* @__PURE__ */g(I,{open:C,onClose:()=>q(!1),initialFocus:null!=te?void 0:w,footer:/* @__PURE__ */g(y,{children:[
15
- /* @__PURE__ */p("button",{ref:w,type:"button",onClick:()=>q(!1),className:G,children:E.cancelLabel||re.destructiveCancel}),
16
- /* @__PURE__ */p("button",{type:"button",onClick:()=>q(!0),disabled:!ne,className:`px-4 py-2 text-sm font-medium rounded-lg disabled:opacity-40 ${ee.button}`,children:te??E.confirmLabel??re.destructiveConfirm})]}),children:[
17
- /* @__PURE__ */p("button",{type:"button",onClick:()=>q(!1),"aria-label":re.close,className:"absolute right-4 top-4 rounded-md p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600",children:/* @__PURE__ */p(U,{})}),
18
- /* @__PURE__ */g("div",{className:"flex gap-4",children:[
19
- /* @__PURE__ */p("div",{className:`shrink-0 w-10 h-10 rounded-full flex items-center justify-center ${ee.icon}`,children:/* @__PURE__ */p(J,{})}),
20
- /* @__PURE__ */g("div",{className:"flex-1",children:[
21
- /* @__PURE__ */p("h2",{className:"text-base font-semibold text-gray-900 pr-6",children:E.title||re.destructiveTitle}),
22
- /* @__PURE__ */p("p",{className:"mt-2 text-sm text-gray-600",children:E.message}),null!=te&&/* @__PURE__ */g(y,{children:[
23
- /* @__PURE__ */g("p",{className:"mt-3 text-sm text-gray-700",children:[oe,
24
- /* @__PURE__ */p("kbd",{className:"rounded border border-gray-300 bg-gray-50 px-1.5 py-0.5 text-xs font-bold text-red-600 font-mono",children:te}),le]}),
25
- /* @__PURE__ */p("input",{autoFocus:!0,type:"text",value:j,onChange:e=>T(e.target.value),onKeyDown:e=>{"Enter"===e.key&&j===te&&q(!0)},placeholder:te,className:"mt-2 w-full rounded-md border border-gray-300 px-3 py-2 text-sm focus:border-red-500"})]})]})]})]}),
26
- /* @__PURE__ */g(I,{open:F,onClose:()=>B(!1),title:K.title||re.promptTitle,footer:/* @__PURE__ */g(y,{children:[
27
- /* @__PURE__ */p("button",{type:"button",onClick:()=>B(!1),className:G,children:K.cancelLabel||re.cancel}),
28
- /* @__PURE__ */p("button",{type:"button",onClick:()=>B(!0),disabled:!K.allowEmpty&&!V.trim(),className:"bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 text-sm font-medium rounded-lg disabled:opacity-40",children:K.confirmLabel||re.ok})]}),children:[K.message&&/* @__PURE__ */p("p",{className:"text-sm text-gray-600",children:K.message}),
29
- /* @__PURE__ */p("input",{autoFocus:!0,type:"text",value:V,onChange:e=>X(e.target.value),onKeyDown:e=>{"Enter"===e.key?B(!0):"Escape"===e.key&&B(!1)},onFocus:e=>e.target.select(),placeholder:K.placeholder,className:"mt-3 w-full rounded-md border border-gray-300 px-3 py-2 text-sm focus:border-blue-500 rosh-focus-ring focus-visible:ring-1 focus-visible:ring-[color:var(--rosh-focus-ring-accent)]"})]})]})}export{X as ConfirmProvider,I as Dialog,K as confirm,S as confirmDestructive,L as focusableIn,V as prompt,P as stopAfter,$ as useConfirm,j as useFocusTrap,D as useScrollLock,E as useTabLayer};
@@ -1,6 +0,0 @@
1
- import { I as IconSet } from '../registry-J-TU7zKx.js';
2
- import 'react';
3
-
4
- declare const heroicons: IconSet;
5
-
6
- export { heroicons };
@@ -1 +0,0 @@
1
- import{MagnifyingGlassPlusIcon as e,WrenchScrewdriverIcon as o,WrenchIcon as r,Square2StackIcon as a,WindowIcon as l,ExclamationTriangleIcon as c,WalletIcon as t,ViewColumnsIcon as i,VideoCameraSlashIcon as n,CheckBadgeIcon as s,ArrowUpTrayIcon as d,ArrowUturnLeftIcon as p,UnderlineIcon as h,TvIcon as b,TruckIcon as u,TrashIcon as m,H1Icon as g,PhoneIcon as f,UserGroupIcon as w,ViewfinderCircleIcon as k,TagIcon as v,DeviceTabletIcon as y,TableCellsIcon as x,ArrowsRightLeftIcon as q,SunIcon as j,PaintBrushIcon as z,StrikethroughIcon as H,BuildingStorefrontIcon as A,StopCircleIcon as B,StarIcon as C,StopIcon as D,SpeakerWaveIcon as E,SparklesIcon as F,SignalSlashIcon as G,SignalIcon as I,ShieldExclamationIcon as J,ShieldCheckIcon as K,ShareIcon as L,Cog6ToothIcon as M,ServerIcon as N,PaperAirplaneIcon as O,MagnifyingGlassIcon as P,ScaleIcon as Q,MinusCircleIcon as R,MinusIcon as S,ArrowPathIcon as T,ArrowUturnRightIcon as U,ReceiptRefundIcon as V,ReceiptPercentIcon as W,CubeIcon as X,PrinterIcon as Y,PresentationChartBarIcon as Z,PowerIcon as $,PlayIcon as _,DevicePhoneMobileIcon as ee,PercentBadgeIcon as oe,UsersIcon as re,PauseIcon as ae,DocumentIcon as le,NumberedListIcon as ce,ChatBubbleBottomCenterTextIcon as te,NoSymbolIcon as ie,EllipsisVerticalIcon as ne,EllipsisHorizontalIcon as se,MoonIcon as de,BanknotesIcon as pe,MicrophoneIcon as he,EqualsIcon as be,Bars3Icon as ue,MegaphoneIcon as me,MapIcon as ge,ArrowRightStartOnRectangleIcon as fe,LockClosedIcon as we,MapPinIcon as ke,ListBulletIcon as ve,LinkSlashIcon as ye,LinkIcon as xe,LightBulbIcon as qe,RectangleGroupIcon as je,Square3Stack3DIcon as ze,KeyIcon as He,ItalicIcon as Ae,InformationCircleIcon as Be,InboxIcon as Ce,PhotoIcon as De,IdentificationIcon as Ee,CursorArrowRippleIcon as Fe,HomeIcon as Ge,QuestionMarkCircleIcon as Ie,HeartIcon as Je,HashtagIcon as Ke,HandThumbUpIcon as Le,HandRaisedIcon as Me,Squares2X2Icon as Ne,GlobeAltIcon as Oe,GiftIcon as Pe,FolderPlusIcon as Qe,FolderOpenIcon as Re,FolderIcon as Se,FlagIcon as Te,FireIcon as Ue,SwatchIcon as Ve,FunnelIcon as We,FaceSmileIcon as Xe,EyeSlashIcon as Ye,EyeIcon as Ze,ArrowTopRightOnSquareIcon as $e,ArrowsPointingOutIcon as _e,ExclamationCircleIcon as eo,EnvelopeIcon as oo,PencilIcon as ro,DocumentDuplicateIcon as ao,ArrowDownTrayIcon as lo,CurrencyDollarIcon as co,DocumentMagnifyingGlassIcon as to,DocumentCheckIcon as io,DocumentTextIcon as no,ComputerDesktopIcon as so,CalendarIcon as po,CubeTransparentIcon as ho,ClipboardDocumentIcon as bo,ClipboardDocumentCheckIcon as uo,PencilSquareIcon as mo,BuildingOfficeIcon as go,ArrowsPointingInIcon as fo,CodeBracketIcon as wo,CloudArrowDownIcon as ko,CloudIcon as vo,XCircleIcon as yo,XMarkIcon as xo,ClockIcon as qo,ClipboardDocumentListIcon as jo,ClipboardIcon as zo,CircleStackIcon as Ho,ChevronUpDownIcon as Ao,ChevronUpIcon as Bo,ChevronRightIcon as Co,ChevronLeftIcon as Do,ChevronDownIcon as Eo,ChevronDoubleRightIcon as Fo,ChevronDoubleLeftIcon as Go,CheckCircleIcon as Io,CheckIcon as Jo,ChatBubbleOvalLeftEllipsisIcon as Ko,ChatBubbleLeftRightIcon as Lo,ChatBubbleLeftIcon as Mo,ChartBarSquareIcon as No,ChartBarIcon as Oo,PresentationChartLineIcon as Po,ShoppingCartIcon as Qo,CreditCardIcon as Ro,CameraIcon as So,CalendarDaysIcon as To,CalculatorIcon as Uo,CursorArrowRaysIcon as Vo,BuildingOffice2Icon as Wo,BuildingLibraryIcon as Xo,BugAntIcon as Yo,BriefcaseIcon as Zo,VariableIcon as $o,BookmarkSquareIcon as _o,BookmarkIcon as er,BookOpenIcon as or,BoltIcon as rr,BoldIcon as ar,NewspaperIcon as lr,VideoCameraIcon as cr,TicketIcon as tr,DocumentCurrencyDollarIcon as ir,BellAlertIcon as nr,BellIcon as sr,BeakerIcon as dr,Battery50Icon as pr,Bars3BottomLeftIcon as hr,ShoppingBagIcon as br,PaperClipIcon as ur,AtSymbolIcon as mr,ArrowUpRightIcon as gr,ArrowUpIcon as fr,ArrowTrendingUpIcon as wr,ArrowTrendingDownIcon as kr,ArrowRightIcon as vr,ArrowLongRightIcon as yr,ArrowLeftEndOnRectangleIcon as xr,ArrowLeftIcon as qr,ArrowDownIcon as jr,ArchiveBoxIcon as zr,SquaresPlusIcon as Hr,Bars4Icon as Ar,AdjustmentsHorizontalIcon as Br,UserPlusIcon as Cr,PlusCircleIcon as Dr,PlusIcon as Er,UserCircleIcon as Fr,UserIcon as Gr,AcademicCapIcon as Ir}from"@heroicons/react/24/outline";var Jr={name:"heroicons",label:"Heroicons",icons:{"academic-cap":Ir,account:Gr,"account-circle":Fr,add:Er,"add-circle":Dr,"add-person":Cr,adjust:Br,"align-justify":Ar,apps:Hr,"archive-box":zr,"arrow-down":jr,"arrow-left":qr,"arrow-left-end-on-rectangle":xr,"arrow-long-right":yr,"arrow-right":vr,"arrow-trending-down":kr,"arrow-trending-up":wr,"arrow-up":fr,"arrow-up-right":gr,"at-symbol":mr,attach:ur,bag:br,"bars-3-bottom-left":hr,battery:pr,beaker:dr,bell:sr,"bell-alert":nr,billing:ir,"block-coupon":tr,"block-divider":S,"block-video":cr,"blog-post":lr,bold:ar,bolt:rr,"book-open":or,bookmark:er,"bookmark-square":_o,braces:$o,briefcase:Zo,bug:Yo,"building-library":Xo,"building-office-2":Wo,button:Vo,calculator:Uo,calendar:To,camera:So,"card-payment":Ro,cart:Qo,chart:Po,"chart-bar":Oo,"chart-bar-square":No,chat:Mo,"chat-bubble-left-right":Lo,"chat-bubble-oval-left-ellipsis":Ko,check:Jo,"check-circle":Io,"chevron-double-left":Go,"chevron-double-right":Fo,"chevron-down":Eo,"chevron-left":Do,"chevron-right":Co,"chevron-up":Bo,"chevron-up-down":Ao,"circle-stack":Ho,clipboard:zo,"clipboard-document-list":jo,clock:qo,close:xo,"close-circle":yo,cloud:vo,"cloud-download":ko,code:wo,collapse:fo,company:go,compose:mo,copied:uo,copy:bo,"cube-transparent":ho,date:po,desktop:so,document:no,"document-check":io,"document-magnifying-glass":to,dollar:co,download:lo,duplicate:ao,edit:ro,email:oo,error:eo,expand:_e,external:$e,eye:Ze,"eye-off":Ye,"face-smile":Xe,filter:We,finish:Ve,fire:Ue,flag:Te,folder:Se,"folder-open":Re,"folder-plus":Qe,gift:Pe,globe:Oe,grid:Ne,hand:Me,"hand-thumb-up":Le,hash:Ke,heart:Je,help:Ie,home:Ge,hover:Fe,identification:Ee,image:De,inbox:Ce,info:Be,italic:Ae,key:He,layers:ze,layout:je,lightbulb:qe,link:xe,"link-slash":ye,list:ve,location:ke,lock:we,logout:fe,map:ge,megaphone:me,menu:ue,meta:be,microphone:he,money:pe,moon:de,more:se,"more-vertical":ne,"no-symbol":ie,note:te,"numbered-list":ce,page:le,pause:ae,people:re,percent:oe,phone:ee,play:_,power:$,"presentation-chart-bar":Z,print:Y,product:X,"receipt-percent":W,"receipt-refund":V,redo:U,refresh:T,remove:S,"remove-circle":R,scale:Q,search:P,send:O,server:N,settings:M,share:L,"shield-check":K,"shield-exclamation":J,signal:I,"signal-slash":G,sparkles:F,"speaker-wave":E,square:D,star:C,"stop-circle":B,store:A,strike:H,styles:z,sun:j,swap:q,table:x,tablet:y,tag:v,target:k,team:w,telephone:f,title:g,trash:m,truck:u,tv:b,underline:h,undo:p,upload:d,verified:s,"video-off":n,"view-columns":i,wallet:t,warning:c,window:l,windows:a,wrench:r,"wrench-screwdriver":o,"zoom-in":e}};export{Jr as heroicons};
@@ -1,6 +0,0 @@
1
- import { I as IconSet } from '../registry-J-TU7zKx.js';
2
- import 'react';
3
-
4
- declare const lucide: IconSet;
5
-
6
- export { lucide };
@@ -1 +0,0 @@
1
- import{ZoomIn as e,Hammer as r,Wrench as o,SquareStack as a,AppWindow as l,TriangleAlert as c,Wallet as t,Columns3 as i,VideoOff as n,BadgeCheck as d,Upload as s,Undo2 as p,Underline as h,Tv as b,Truck as u,Trash2 as m,Heading1 as g,Phone as f,UsersRound as w,Target as k,Tag as v,Tablet as y,Table as x,ArrowLeftRight as q,Sun as j,Paintbrush as z,Strikethrough as L,Store as A,CircleStop as B,Star as C,Square as D,Volume2 as E,Sparkles as F,WifiOff as G,Wifi as H,ShieldAlert as I,ShieldCheck as J,Share2 as K,Settings as M,Server as N,Send as O,Search as P,Scale as Q,CircleMinus as R,Minus as S,RefreshCw as T,Redo2 as U,HandCoins as V,Receipt as W,Package as X,Printer as Y,Presentation as Z,Power as $,Play as _,Smartphone as ee,BadgePercent as re,Users as oe,Pause as ae,File as le,ListOrdered as ce,MessageSquareText as te,Ban as ie,EllipsisVertical as ne,Ellipsis as de,Moon as se,Banknote as pe,Mic as he,Equal as be,Menu as ue,Megaphone as me,Map as ge,LogOut as fe,Lock as we,MapPin as ke,List as ve,Unlink as ye,Link as xe,Lightbulb as qe,LayoutTemplate as je,Layers as ze,KeyRound as Le,Italic as Ae,Info as Be,Inbox as Ce,Image as De,IdCard as Ee,Pointer as Fe,House as Ge,CircleHelp as He,Heart as Ie,Hash as Je,ThumbsUp as Ke,Hand as Me,LayoutGrid as Ne,Globe as Oe,Gift as Pe,FolderPlus as Qe,FolderOpen as Re,Folder as Se,Flag as Te,Flame as Ue,SwatchBook as Ve,Funnel as We,Smile as Xe,EyeOff as Ye,Eye as Ze,ExternalLink as $e,Maximize2 as _e,CircleAlert as er,Mail as rr,Pencil as or,Files as ar,Download as lr,CircleDollarSign as cr,FileSearch as tr,FileCheck as ir,FileText as nr,Monitor as dr,Calendar as sr,Box as pr,Copy as hr,ClipboardCheck as br,SquarePen as ur,Building as mr,Minimize2 as gr,Code as fr,CloudDownload as wr,Cloud as kr,CircleX as vr,X as yr,Clock as xr,ClipboardList as qr,Clipboard as jr,Database as zr,ChevronsUpDown as Lr,ChevronUp as Ar,ChevronRight as Br,ChevronLeft as Cr,ChevronDown as Dr,ChevronsRight as Er,ChevronsLeft as Fr,CircleCheck as Gr,Check as Hr,MessageCircleMore as Ir,MessagesSquare as Jr,MessageSquare as Kr,ChartColumn as Mr,ChartNoAxesColumn as Nr,ChartLine as Or,ShoppingCart as Pr,CreditCard as Qr,Camera as Rr,CalendarDays as Sr,Calculator as Tr,MousePointerClick as Ur,Building2 as Vr,Landmark as Wr,Bug as Xr,Briefcase as Yr,Braces as Zr,BookMarked as $r,Bookmark as _r,BookOpen as eo,Zap as ro,Bold as oo,Newspaper as ao,Video as lo,SeparatorHorizontal as co,Ticket as to,ReceiptText as io,BellRing as no,Bell as so,FlaskConical as po,BatteryMedium as ho,AlignLeft as bo,ShoppingBag as uo,Paperclip as mo,AtSign as go,ArrowUpRight as fo,ArrowUp as wo,TrendingUp as ko,TrendingDown as vo,ArrowRight as yo,MoveRight as xo,LogIn as qo,ArrowLeft as jo,ArrowDown as zo,Archive as Lo,Grid2x2Plus as Ao,AlignJustify as Bo,SlidersHorizontal as Co,UserPlus as Do,CirclePlus as Eo,Plus as Fo,CircleUser as Go,User as Ho,GraduationCap as Io}from"lucide-react";var Jo={name:"lucide",label:"Lucide",icons:{"academic-cap":Io,account:Ho,"account-circle":Go,add:Fo,"add-circle":Eo,"add-person":Do,adjust:Co,"align-justify":Bo,apps:Ao,"archive-box":Lo,"arrow-down":zo,"arrow-left":jo,"arrow-left-end-on-rectangle":qo,"arrow-long-right":xo,"arrow-right":yo,"arrow-trending-down":vo,"arrow-trending-up":ko,"arrow-up":wo,"arrow-up-right":fo,"at-symbol":go,attach:mo,bag:uo,"bars-3-bottom-left":bo,battery:ho,beaker:po,bell:so,"bell-alert":no,billing:io,"block-coupon":to,"block-divider":co,"block-video":lo,"blog-post":ao,bold:oo,bolt:ro,"book-open":eo,bookmark:_r,"bookmark-square":$r,braces:Zr,briefcase:Yr,bug:Xr,"building-library":Wr,"building-office-2":Vr,button:Ur,calculator:Tr,calendar:Sr,camera:Rr,"card-payment":Qr,cart:Pr,chart:Or,"chart-bar":Nr,"chart-bar-square":Mr,chat:Kr,"chat-bubble-left-right":Jr,"chat-bubble-oval-left-ellipsis":Ir,check:Hr,"check-circle":Gr,"chevron-double-left":Fr,"chevron-double-right":Er,"chevron-down":Dr,"chevron-left":Cr,"chevron-right":Br,"chevron-up":Ar,"chevron-up-down":Lr,"circle-stack":zr,clipboard:jr,"clipboard-document-list":qr,clock:xr,close:yr,"close-circle":vr,cloud:kr,"cloud-download":wr,code:fr,collapse:gr,company:mr,compose:ur,copied:br,copy:hr,"cube-transparent":pr,date:sr,desktop:dr,document:nr,"document-check":ir,"document-magnifying-glass":tr,dollar:cr,download:lr,duplicate:ar,edit:or,email:rr,error:er,expand:_e,external:$e,eye:Ze,"eye-off":Ye,"face-smile":Xe,filter:We,finish:Ve,fire:Ue,flag:Te,folder:Se,"folder-open":Re,"folder-plus":Qe,gift:Pe,globe:Oe,grid:Ne,hand:Me,"hand-thumb-up":Ke,hash:Je,heart:Ie,help:He,home:Ge,hover:Fe,identification:Ee,image:De,inbox:Ce,info:Be,italic:Ae,key:Le,layers:ze,layout:je,lightbulb:qe,link:xe,"link-slash":ye,list:ve,location:ke,lock:we,logout:fe,map:ge,megaphone:me,menu:ue,meta:be,microphone:he,money:pe,moon:se,more:de,"more-vertical":ne,"no-symbol":ie,note:te,"numbered-list":ce,page:le,pause:ae,people:oe,percent:re,phone:ee,play:_,power:$,"presentation-chart-bar":Z,print:Y,product:X,"receipt-percent":W,"receipt-refund":V,redo:U,refresh:T,remove:S,"remove-circle":R,scale:Q,search:P,send:O,server:N,settings:M,share:K,"shield-check":J,"shield-exclamation":I,signal:H,"signal-slash":G,sparkles:F,"speaker-wave":E,square:D,star:C,"stop-circle":B,store:A,strike:L,styles:z,sun:j,swap:q,table:x,tablet:y,tag:v,target:k,team:w,telephone:f,title:g,trash:m,truck:u,tv:b,underline:h,undo:p,upload:s,verified:d,"video-off":n,"view-columns":i,wallet:t,warning:c,window:l,windows:a,wrench:o,"wrench-screwdriver":r,"zoom-in":e}};export{Jo as lucide};