efficient-shell 12.2.0 → 12.3.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 (260) hide show
  1. package/README.md +23 -0
  2. package/dist/{Browser-UK645CZ3.js → Browser-OE7IMID6.js} +14 -14
  3. package/dist/Calculator-W6YA44OY.js +29 -0
  4. package/dist/{CurrencyConverter-XNWE5MQW.js → CurrencyConverter-TLI6PVRE.js} +8 -8
  5. package/dist/Files-5WRVSC5R.js +121 -0
  6. package/dist/{Notepad-JP52QKUC.js → Notepad-TUW4JP7M.js} +10 -10
  7. package/dist/PdfViewer-GFQAIHDP.js +1 -0
  8. package/dist/{PomodoroTimer-SBV43YX6.js → PomodoroTimer-FPGRFPNT.js} +68 -68
  9. package/dist/{Preview-TKEDKVNI.js → Preview-BJRRRU4N.js} +23 -23
  10. package/dist/Sidebar-ROMFJHCD.js +44 -0
  11. package/dist/{Stock-GODZPUR3.js → Stock-P7D5WNKC.js} +3 -3
  12. package/dist/{Weather-2IIV4CFT.js → Weather-OUHUYBZ6.js} +18 -18
  13. package/dist/{WorldClock-JW4MLMCB.js → WorldClock-WXIV2KC6.js} +7 -7
  14. package/dist/ai/index.d.ts +9 -1
  15. package/dist/ai/index.js +79 -79
  16. package/dist/apps/index.js +1 -1
  17. package/dist/bin/media-host-check.js +1 -1
  18. package/dist/bin/ui-check.js +1 -1
  19. package/dist/charts/BoxPlotChart.js +1 -1
  20. package/dist/charts/CandlestickChart.js +1 -1
  21. package/dist/charts/CartesianPlot.js +1 -1
  22. package/dist/charts/ChordChart.js +1 -1
  23. package/dist/charts/ColumnChart.js +1 -1
  24. package/dist/charts/FlowChart.d.ts +25 -0
  25. package/dist/charts/FlowChart.js +2 -0
  26. package/dist/charts/HeatmapChart.js +1 -1
  27. package/dist/charts/HistogramChart.js +1 -1
  28. package/dist/charts/PieChart.js +1 -1
  29. package/dist/charts/RadarChart.js +1 -1
  30. package/dist/charts/RangeChart.js +1 -1
  31. package/dist/charts/SankeyChart.js +1 -1
  32. package/dist/charts/ScatterChart.js +1 -1
  33. package/dist/charts/SpecChart.js +1 -1
  34. package/dist/charts/SunburstChart.js +1 -1
  35. package/dist/charts/TimeSeriesChart.js +1 -1
  36. package/dist/charts/TreemapChart.js +1 -1
  37. package/dist/charts/WaterfallChart.js +1 -1
  38. package/dist/charts/flowSpec.d.ts +94 -0
  39. package/dist/charts/flowSpec.js +1 -0
  40. package/dist/{chunk-CTW2OKYS.js → chunk-2B4EKAZL.js} +2 -2
  41. package/dist/{chunk-YRZP7JN4.js → chunk-2KNVUOWJ.js} +16 -16
  42. package/dist/{chunk-VGWYAYHB.js → chunk-3QYAYBJE.js} +3 -3
  43. package/dist/{chunk-FOTDGSY5.js → chunk-45IVWLKF.js} +1 -1
  44. package/dist/chunk-4DZVWK7U.js +7 -0
  45. package/dist/{chunk-5V6SA77P.js → chunk-53WYJ5LZ.js} +11 -11
  46. package/dist/{chunk-CC42UKIT.js → chunk-54K2ADBT.js} +1 -1
  47. package/dist/{chunk-VFBBGLRA.js → chunk-5BV2WW74.js} +13 -13
  48. package/dist/{chunk-LUSIZ2BK.js → chunk-5LZTYOYD.js} +7 -7
  49. package/dist/{chunk-GJJKWGBX.js → chunk-67JHJO6V.js} +10 -10
  50. package/dist/{chunk-VZLYB5LX.js → chunk-6DZGOGB2.js} +1 -1
  51. package/dist/chunk-6GDZUW3L.js +6 -0
  52. package/dist/{chunk-JCUG572K.js → chunk-6JDR6T4U.js} +1 -1
  53. package/dist/{chunk-PKNHSZWK.js → chunk-6JKSRXZM.js} +3 -3
  54. package/dist/{chunk-BXZNMSTZ.js → chunk-6NHPL5JL.js} +1 -1
  55. package/dist/{chunk-7EK7JNR4.js → chunk-6TLSXBKC.js} +1 -1
  56. package/dist/{chunk-NHBDLW52.js → chunk-6Y2BQI44.js} +1 -1
  57. package/dist/{chunk-XQUXL75F.js → chunk-74LZVJND.js} +1 -1
  58. package/dist/{chunk-GFBQ53WN.js → chunk-7HIHQR3X.js} +1 -1
  59. package/dist/{chunk-56ESGDIC.js → chunk-7JY3YYN4.js} +4 -4
  60. package/dist/{chunk-VQPZDZ3R.js → chunk-7TZRICMH.js} +4 -4
  61. package/dist/{chunk-EEVKJJ5S.js → chunk-AANXPLMA.js} +4 -4
  62. package/dist/{chunk-YKHAI5IZ.js → chunk-ASQX3GXB.js} +5 -5
  63. package/dist/chunk-AUZKIL62.js +23 -0
  64. package/dist/{chunk-4RTDZSGH.js → chunk-B3PNZBZM.js} +18 -18
  65. package/dist/{chunk-7ZYEDXZX.js → chunk-BGJMDP6J.js} +1 -1
  66. package/dist/{chunk-DSHEOC2O.js → chunk-CVLWJBR5.js} +1 -1
  67. package/dist/chunk-DCICBH2L.js +3 -0
  68. package/dist/chunk-DICWZEGH.js +2 -0
  69. package/dist/{chunk-UDJLRTQB.js → chunk-DNLRUZGS.js} +1 -1
  70. package/dist/{chunk-ACNDPAAT.js → chunk-DONZDILI.js} +1 -1
  71. package/dist/{chunk-J5ISQYVM.js → chunk-DPUM3H5N.js} +1 -1
  72. package/dist/{chunk-ZACNIKIQ.js → chunk-DULMOL3I.js} +1 -1
  73. package/dist/{chunk-CQCMJHDM.js → chunk-F245EG2A.js} +5 -5
  74. package/dist/{chunk-BFA5U5JF.js → chunk-F44E76EC.js} +11 -11
  75. package/dist/chunk-FAERBT6Y.js +1 -0
  76. package/dist/{chunk-Z43XVU2P.js → chunk-FGCIEJPP.js} +1 -1
  77. package/dist/{chunk-AQULCKKZ.js → chunk-FPRQB5W6.js} +11 -11
  78. package/dist/{chunk-KHVECW4M.js → chunk-FPZBHNZU.js} +6 -6
  79. package/dist/{chunk-27XV4TAU.js → chunk-GR43CABV.js} +2 -2
  80. package/dist/{chunk-LLBH6PHE.js → chunk-GYDCXCJT.js} +1 -1
  81. package/dist/{chunk-VW7W6LCV.js → chunk-H6PFTU3L.js} +1 -1
  82. package/dist/{chunk-SCCAMJB4.js → chunk-HE767CVB.js} +1 -1
  83. package/dist/{chunk-M7DFM2N7.js → chunk-HRMG2WMW.js} +63 -63
  84. package/dist/{chunk-L75RBQFH.js → chunk-IL56C56I.js} +2 -2
  85. package/dist/{chunk-VPYD7UJM.js → chunk-IMRGGJIJ.js} +3 -3
  86. package/dist/chunk-IWFWPFYQ.js +13 -0
  87. package/dist/chunk-IXAYZNOZ.js +11 -0
  88. package/dist/{chunk-DU5IBIZQ.js → chunk-JYGUTY6R.js} +1 -1
  89. package/dist/{chunk-DKUF7BD5.js → chunk-KDWK5WGU.js} +1 -1
  90. package/dist/{chunk-CKURTHGW.js → chunk-KT5LLPUV.js} +1 -1
  91. package/dist/chunk-KZD2AFH2.js +13 -0
  92. package/dist/{chunk-MKP2HSWX.js → chunk-KZNJXV5I.js} +3 -3
  93. package/dist/{chunk-QBD7V4TK.js → chunk-LBMC6GR5.js} +1 -1
  94. package/dist/{chunk-XARBHOEZ.js → chunk-LDEFEPPL.js} +1 -1
  95. package/dist/{chunk-ONYPN3JY.js → chunk-LGK47SEN.js} +11 -11
  96. package/dist/{chunk-ESDWHHQY.js → chunk-LKVS4WCZ.js} +1 -1
  97. package/dist/chunk-M3OEWPXZ.js +1 -0
  98. package/dist/chunk-M3PUAGXJ.js +9 -0
  99. package/dist/{chunk-BXZSLRNO.js → chunk-MQKUGIN7.js} +12 -12
  100. package/dist/{chunk-63QLZYMN.js → chunk-NDLXD4EY.js} +5 -5
  101. package/dist/{chunk-2OMM2AG3.js → chunk-NEAT7BIP.js} +1 -1
  102. package/dist/{chunk-HS4EWT6L.js → chunk-NHNRNT4T.js} +2 -2
  103. package/dist/{chunk-NZYI4XV5.js → chunk-NRLTGGCS.js} +5 -5
  104. package/dist/chunk-NSOAHIQZ.js +11 -0
  105. package/dist/{chunk-TTSZSLQL.js → chunk-O6H2ZD32.js} +7 -7
  106. package/dist/{chunk-XBDHRMQI.js → chunk-OR5HUQSB.js} +9 -9
  107. package/dist/{chunk-FWUXYNWF.js → chunk-OY3JH66O.js} +4 -4
  108. package/dist/chunk-P3BLJCTQ.js +19 -0
  109. package/dist/{chunk-SX5CSXZO.js → chunk-P4L74UA5.js} +2 -2
  110. package/dist/chunk-PA273FZF.js +9 -0
  111. package/dist/{chunk-5THF6BJS.js → chunk-PFMZL3ZG.js} +2 -2
  112. package/dist/{chunk-PXIP246B.js → chunk-PT77FC5X.js} +1 -1
  113. package/dist/{chunk-AJ5NU7UH.js → chunk-Q2MW334M.js} +1 -1
  114. package/dist/{chunk-ORLQUGIN.js → chunk-QA33EHHO.js} +4 -4
  115. package/dist/{chunk-GRB4LKZC.js → chunk-QOQ6GXVA.js} +5 -5
  116. package/dist/{chunk-4UGFNTZ3.js → chunk-RQ4UIWWD.js} +11 -11
  117. package/dist/{chunk-2DOMIOYR.js → chunk-RYBYTUGZ.js} +1 -1
  118. package/dist/{chunk-JCTOQOVO.js → chunk-S6BGMLXI.js} +1 -1
  119. package/dist/chunk-SEJAT3UE.js +1 -0
  120. package/dist/{chunk-7F4U43YN.js → chunk-SGNJ7I7P.js} +4 -4
  121. package/dist/{chunk-ZYFBV4C7.js → chunk-SKFFBBAG.js} +2 -2
  122. package/dist/{chunk-FEJFGFPF.js → chunk-SPJIFRNY.js} +6 -6
  123. package/dist/{chunk-QN56R4V4.js → chunk-SSUZAOGI.js} +10 -10
  124. package/dist/{chunk-CENTHUBD.js → chunk-SYDGCECZ.js} +8 -8
  125. package/dist/{chunk-5F6KJAF3.js → chunk-THASH6OO.js} +13 -13
  126. package/dist/{chunk-I7H3OIYX.js → chunk-TKXUDCOI.js} +1 -1
  127. package/dist/{chunk-ZG3RF2VE.js → chunk-U7PXMVIY.js} +1 -1
  128. package/dist/chunk-UCIOCS4X.js +2 -0
  129. package/dist/{chunk-MRFNJZRR.js → chunk-UIWGVOFH.js} +8 -4
  130. package/dist/{chunk-HB2XXIQG.js → chunk-UMQLDWSS.js} +6 -6
  131. package/dist/chunk-VF53GD6D.js +5 -0
  132. package/dist/{chunk-CRU2BNEM.js → chunk-XGVMOV3O.js} +7 -7
  133. package/dist/{chunk-LOEOCZCN.js → chunk-Y4RERPFN.js} +1 -1
  134. package/dist/{chunk-ZUBTNUVE.js → chunk-Y7ANTS5W.js} +1 -1
  135. package/dist/chunk-YAQ5RF3H.js +28 -0
  136. package/dist/{chunk-ANSQT5ZS.js → chunk-ZATTQ3FX.js} +1 -1
  137. package/dist/{chunk-CRB5GM4W.js → chunk-ZDO62V4I.js} +1 -1
  138. package/dist/{chunk-HICNRXYB.js → chunk-ZICLAMMR.js} +1 -1
  139. package/dist/{chunk-IRZ6XM5A.js → chunk-ZXNJSSRV.js} +1 -1
  140. package/dist/{chunk-6XC3XX7F.js → chunk-ZZ67Q5HJ.js} +6 -6
  141. package/dist/data/DataTable.js +1 -1
  142. package/dist/data/EntityList.js +1 -1
  143. package/dist/data/ListLoadError.js +1 -1
  144. package/dist/data/ResizableTable.js +1 -1
  145. package/dist/format/index.js +1 -1
  146. package/dist/forms/BorderInput.js +1 -1
  147. package/dist/forms/BrandAssetEditor.js +1 -1
  148. package/dist/forms/Calendar.js +1 -1
  149. package/dist/forms/ColorPicker.js +1 -1
  150. package/dist/forms/ComposerAttachments.js +1 -1
  151. package/dist/forms/CornersInput.js +1 -1
  152. package/dist/forms/DatePicker.js +1 -1
  153. package/dist/forms/DateRangePicker.js +1 -1
  154. package/dist/forms/DisplayChips.js +1 -1
  155. package/dist/forms/FilePicker.js +1 -1
  156. package/dist/forms/IconPicker.js +1 -1
  157. package/dist/forms/Input.js +1 -1
  158. package/dist/forms/InputNumber.js +1 -1
  159. package/dist/forms/LinkPicker.js +1 -1
  160. package/dist/forms/MediaLibrary.js +1 -1
  161. package/dist/forms/MediaUploadField.js +1 -1
  162. package/dist/forms/MediaUploadGrid.js +1 -1
  163. package/dist/forms/MediaUsedInList.js +1 -1
  164. package/dist/forms/NumericKeypad.js +1 -1
  165. package/dist/forms/PositionInput.js +1 -1
  166. package/dist/forms/RenameField.js +1 -1
  167. package/dist/forms/Select.js +1 -1
  168. package/dist/forms/SidesInput.js +1 -1
  169. package/dist/forms/Slider.js +1 -1
  170. package/dist/forms/Snippet.js +1 -1
  171. package/dist/forms/SplitButton.js +1 -1
  172. package/dist/forms/TagInput.js +1 -1
  173. package/dist/forms/TextToolbar.js +1 -1
  174. package/dist/forms/WidthsBar.js +1 -1
  175. package/dist/forms/mediaLibraryMenu.js +1 -1
  176. package/dist/forms/textAlign.js +1 -1
  177. package/dist/icons/efficient-glyphs.js +1 -1
  178. package/dist/icons/efficient-looks.js +1 -1
  179. package/dist/icons/efficient.js +1 -1
  180. package/dist/icons/index.js +1 -1
  181. package/dist/icons/looks/map.js +1 -1
  182. package/dist/icons/payment.js +1 -1
  183. package/dist/icons/sets.js +1 -1
  184. package/dist/index.d.ts +2 -0
  185. package/dist/index.js +516 -516
  186. package/dist/map/index.js +3 -3
  187. package/dist/markdown/index.js +1 -1
  188. package/dist/page-tabs/index.js +5 -5
  189. package/dist/pdf/index.js +1 -1
  190. package/dist/shell/AppUpdateBanner.js +1 -1
  191. package/dist/shell/Banner.js +1 -1
  192. package/dist/shell/Breadcrumbs.js +1 -1
  193. package/dist/shell/ColoredBadge.js +1 -1
  194. package/dist/shell/ConfirmDialog.js +1 -1
  195. package/dist/shell/ContextMenu.js +1 -1
  196. package/dist/shell/Dialog.js +1 -1
  197. package/dist/shell/Drawer.js +1 -1
  198. package/dist/shell/DropdownMenu.js +1 -1
  199. package/dist/shell/EditableGrid.js +1 -1
  200. package/dist/shell/EmptyState.js +1 -1
  201. package/dist/shell/HelpCenter.js +1 -1
  202. package/dist/shell/IconRail.js +1 -1
  203. package/dist/shell/ImageLightbox.js +1 -1
  204. package/dist/shell/ItemCount.js +1 -1
  205. package/dist/shell/LanguageSelect.js +1 -1
  206. package/dist/shell/Markdown.js +1 -1
  207. package/dist/shell/MilestoneTimeline.js +1 -1
  208. package/dist/shell/PageHeader.js +1 -1
  209. package/dist/shell/PopupMenu.js +1 -1
  210. package/dist/shell/ProductionTimeline.js +1 -1
  211. package/dist/shell/ResizeHandle.js +1 -1
  212. package/dist/shell/Result.js +1 -1
  213. package/dist/shell/SearchableSelect.js +1 -1
  214. package/dist/shell/SettingReset.js +1 -1
  215. package/dist/shell/SidebarLayout.js +1 -1
  216. package/dist/shell/SidebarNav.js +1 -1
  217. package/dist/shell/SortableList.js +1 -1
  218. package/dist/shell/StepChain.js +1 -1
  219. package/dist/shell/Stepper.js +1 -1
  220. package/dist/shell/TimelineTrack.js +1 -1
  221. package/dist/shell/TopNav.js +1 -1
  222. package/dist/shell/TransferProgress.js +1 -1
  223. package/dist/shell/Tree.js +1 -1
  224. package/dist/shell/discardGuard.js +1 -1
  225. package/dist/telemetry/index.js +1 -1
  226. package/dist/templates/AuthScreen.js +1 -1
  227. package/dist/templates/ChatTemplate.js +1 -1
  228. package/dist/templates/CheckoutTemplate.js +1 -1
  229. package/dist/templates/DashboardTemplate.js +1 -1
  230. package/dist/templates/DataTablePage.js +1 -1
  231. package/dist/templates/EmailTemplate.js +1 -1
  232. package/dist/templates/ErrorBoundary.js +1 -1
  233. package/dist/templates/FormLayoutPage.js +1 -1
  234. package/dist/templates/GalleryTemplate.js +1 -1
  235. package/dist/ui/index.d.ts +2 -0
  236. package/dist/ui/index.js +1 -1
  237. package/dist/version.js +1 -1
  238. package/package.json +1 -1
  239. package/dist/Calculator-6XGTP5OQ.js +0 -29
  240. package/dist/Files-LVZNO6EQ.js +0 -121
  241. package/dist/PdfViewer-ZI3QOG4G.js +0 -1
  242. package/dist/Sidebar-XVVZJ7PR.js +0 -44
  243. package/dist/chunk-2T7MZ77B.js +0 -3
  244. package/dist/chunk-A2ZEGD2S.js +0 -11
  245. package/dist/chunk-AJO55X66.js +0 -6
  246. package/dist/chunk-BD4OHYQB.js +0 -13
  247. package/dist/chunk-BPECY7I7.js +0 -13
  248. package/dist/chunk-CWTY4GTU.js +0 -5
  249. package/dist/chunk-FUUJJ7OH.js +0 -7
  250. package/dist/chunk-GEZ45J4Z.js +0 -2
  251. package/dist/chunk-GGSPY3Q4.js +0 -23
  252. package/dist/chunk-HFDSKCPL.js +0 -1
  253. package/dist/chunk-HGZZXA2N.js +0 -9
  254. package/dist/chunk-HTDZ3XAJ.js +0 -9
  255. package/dist/chunk-HY3JYAUH.js +0 -19
  256. package/dist/chunk-UE54EN4C.js +0 -2
  257. package/dist/chunk-UVEHJRPE.js +0 -1
  258. package/dist/chunk-YAD7TML2.js +0 -28
  259. /package/dist/{chunk-MXK7A6ZM.js → chunk-K5A62ZS5.js} +0 -0
  260. /package/dist/{chunk-C4XV42QP.js → chunk-R3K2BNFF.js} +0 -0
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{CheckoutTemplate as default}from"../chunk-BXZNMSTZ.js";import"../chunk-EOGXCGQF.js";import"../chunk-HY3JYAUH.js";import"../chunk-EO5RLFRX.js";import"../chunk-GFBQ53WN.js";import"../chunk-6KBDNYRW.js";import"../chunk-2NMW66P5.js";import"../chunk-CGZBDI6C.js";import"../chunk-JCUG572K.js";import"../chunk-56ESGDIC.js";import"../chunk-FUUJJ7OH.js";import"../chunk-LLBH6PHE.js";import"../chunk-AYZY3YNC.js";import"../chunk-LE5LWALR.js";import"../chunk-UGTRSRIW.js";import"../chunk-CDAJKLGL.js";import"../chunk-BFA5U5JF.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-MRFNJZRR.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-TWVUQUUD.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
2
+ export{CheckoutTemplate as default}from"../chunk-6NHPL5JL.js";import"../chunk-EOGXCGQF.js";import"../chunk-P3BLJCTQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";import"../chunk-6KBDNYRW.js";import"../chunk-2NMW66P5.js";import"../chunk-CGZBDI6C.js";import"../chunk-6JDR6T4U.js";import"../chunk-7JY3YYN4.js";import"../chunk-4DZVWK7U.js";import"../chunk-GYDCXCJT.js";import"../chunk-LE5LWALR.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-CDAJKLGL.js";import"../chunk-F44E76EC.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";import"../chunk-TWVUQUUD.js";
@@ -1 +1 @@
1
- export{DashboardTemplate as default}from"../chunk-TTSZSLQL.js";import"../chunk-EOGXCGQF.js";import"../chunk-NHWDB7R6.js";import"../chunk-CKCDGSTC.js";import"../chunk-AJ5NU7UH.js";import"../chunk-VFC6QUEN.js";import"../chunk-GRB4LKZC.js";import"../chunk-465RRWBY.js";import"../chunk-DZBGJ6X4.js";import"../chunk-CNYAHYE6.js";import"../chunk-FZM3ZPW3.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-WGLHB6WE.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-SX5CSXZO.js";import"../chunk-BFO72WQB.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
1
+ export{DashboardTemplate as default}from"../chunk-O6H2ZD32.js";import"../chunk-EOGXCGQF.js";import"../chunk-NHWDB7R6.js";import"../chunk-CKCDGSTC.js";import"../chunk-Q2MW334M.js";import"../chunk-VFC6QUEN.js";import"../chunk-QOQ6GXVA.js";import"../chunk-465RRWBY.js";import"../chunk-DZBGJ6X4.js";import"../chunk-CNYAHYE6.js";import"../chunk-FZM3ZPW3.js";import"../chunk-WGLHB6WE.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-P4L74UA5.js";import"../chunk-BFO72WQB.js";import"../chunk-MAFUXCPZ.js";import"../chunk-2JWPNR2U.js";import"../chunk-TZFACUMR.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";import"../chunk-TWVUQUUD.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{DataTablePage as default}from"../chunk-QN56R4V4.js";import"../chunk-EOGXCGQF.js";import"../chunk-HY3JYAUH.js";import"../chunk-EO5RLFRX.js";import"../chunk-GFBQ53WN.js";import"../chunk-2NMW66P5.js";import"../chunk-7FBAZLBX.js";import"../chunk-56ESGDIC.js";import"../chunk-FUUJJ7OH.js";import"../chunk-LLBH6PHE.js";import"../chunk-AYZY3YNC.js";import"../chunk-LE5LWALR.js";import"../chunk-UGTRSRIW.js";import"../chunk-FZM3ZPW3.js";import"../chunk-CDAJKLGL.js";import"../chunk-BFA5U5JF.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-MRFNJZRR.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-WGLHB6WE.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-TWVUQUUD.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
2
+ export{DataTablePage as default}from"../chunk-SSUZAOGI.js";import"../chunk-EOGXCGQF.js";import"../chunk-P3BLJCTQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";import"../chunk-2NMW66P5.js";import"../chunk-7FBAZLBX.js";import"../chunk-7JY3YYN4.js";import"../chunk-4DZVWK7U.js";import"../chunk-GYDCXCJT.js";import"../chunk-LE5LWALR.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-FZM3ZPW3.js";import"../chunk-CDAJKLGL.js";import"../chunk-F44E76EC.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-WGLHB6WE.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";import"../chunk-TWVUQUUD.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{EmailTemplate as default}from"../chunk-ZACNIKIQ.js";import"../chunk-5V6SA77P.js";import"../chunk-QWK6DRSN.js";import"../chunk-2XQOK3CT.js";import"../chunk-NHWDB7R6.js";import"../chunk-RXHTIJ64.js";import"../chunk-UGTRSRIW.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-MRFNJZRR.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-TWVUQUUD.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
2
+ export{EmailTemplate as default}from"../chunk-DULMOL3I.js";import"../chunk-53WYJ5LZ.js";import"../chunk-2XQOK3CT.js";import"../chunk-QWK6DRSN.js";import"../chunk-NHWDB7R6.js";import"../chunk-RXHTIJ64.js";import"../chunk-UGTRSRIW.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";import"../chunk-TWVUQUUD.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{ErrorBoundary as default}from"../chunk-FAIHSCOG.js";import"../chunk-CNVYM3HP.js";import"../chunk-KNUR2UEG.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-TWVUQUUD.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
2
+ export{ErrorBoundary as default}from"../chunk-FAIHSCOG.js";import"../chunk-CNVYM3HP.js";import"../chunk-KNUR2UEG.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";import"../chunk-TWVUQUUD.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{FormLayoutPage as default}from"../chunk-DKUF7BD5.js";import"../chunk-EOGXCGQF.js";import"../chunk-PB7G6CJ7.js";import"../chunk-NI5FXWK5.js";import"../chunk-HY3JYAUH.js";import"../chunk-EO5RLFRX.js";import"../chunk-GFBQ53WN.js";import"../chunk-6KBDNYRW.js";import"../chunk-2NMW66P5.js";import"../chunk-CGZBDI6C.js";import"../chunk-56ESGDIC.js";import"../chunk-FUUJJ7OH.js";import"../chunk-LLBH6PHE.js";import"../chunk-AYZY3YNC.js";import"../chunk-LE5LWALR.js";import"../chunk-UGTRSRIW.js";import"../chunk-CDAJKLGL.js";import"../chunk-BFA5U5JF.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-MRFNJZRR.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-TWVUQUUD.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
2
+ export{FormLayoutPage as default}from"../chunk-KDWK5WGU.js";import"../chunk-EOGXCGQF.js";import"../chunk-PB7G6CJ7.js";import"../chunk-NI5FXWK5.js";import"../chunk-P3BLJCTQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";import"../chunk-6KBDNYRW.js";import"../chunk-2NMW66P5.js";import"../chunk-CGZBDI6C.js";import"../chunk-7JY3YYN4.js";import"../chunk-4DZVWK7U.js";import"../chunk-GYDCXCJT.js";import"../chunk-LE5LWALR.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-CDAJKLGL.js";import"../chunk-F44E76EC.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";import"../chunk-TWVUQUUD.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{GalleryTemplate as default}from"../chunk-2YBJQUYQ.js";import"../chunk-N5KO2IHG.js";import"../chunk-FQEALPZJ.js";import"../chunk-EOGXCGQF.js";import"../chunk-JDQGHQ2C.js";import"../chunk-FZM3ZPW3.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-WGLHB6WE.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-TWVUQUUD.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
2
+ export{GalleryTemplate as default}from"../chunk-2YBJQUYQ.js";import"../chunk-N5KO2IHG.js";import"../chunk-FQEALPZJ.js";import"../chunk-EOGXCGQF.js";import"../chunk-JDQGHQ2C.js";import"../chunk-FZM3ZPW3.js";import"../chunk-WGLHB6WE.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";import"../chunk-TWVUQUUD.js";
@@ -214,6 +214,8 @@ export { default as CandlestickChart } from '../charts/CandlestickChart.js';
214
214
  export { default as HeatmapChart } from '../charts/HeatmapChart.js';
215
215
  export { default as SpecChart, SpecChartProps } from '../charts/SpecChart.js';
216
216
  export { CHART_SPEC_LIMITS, ChartSpec, ChartSpecSeries, parseChartSpec } from '../charts/chartSpec.js';
217
+ export { DEFAULT_FLOW_CHART_LABELS, default as FlowChart, FlowChartLabels, FlowChartProps } from '../charts/FlowChart.js';
218
+ export { FLOW_LAYOUT, FLOW_SPEC_LIMITS, FlowEdge, FlowLayout, FlowNode, FlowNodeKind, FlowSpec, layoutFlow, parseFlowSpec } from '../charts/flowSpec.js';
217
219
  export { RADAR_SERIES_CAP, default as RadarChart } from '../charts/RadarChart.js';
218
220
  export { default as PieChart } from '../charts/PieChart.js';
219
221
  export { default as RadialBarChart } from '../charts/RadialBarChart.js';
package/dist/ui/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- import"../chunk-MXK7A6ZM.js";export{FormLayoutPage}from"../chunk-DKUF7BD5.js";export{GalleryTemplate}from"../chunk-2YBJQUYQ.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{AuthScreen}from"../chunk-I7H3OIYX.js";export{ChatTemplate}from"../chunk-ANSQT5ZS.js";export{CheckoutTemplate}from"../chunk-BXZNMSTZ.js";export{DashboardTemplate}from"../chunk-TTSZSLQL.js";export{DataTablePage}from"../chunk-QN56R4V4.js";export{EmailTemplate}from"../chunk-ZACNIKIQ.js";export{ErrorBoundary}from"../chunk-FAIHSCOG.js";export{ErrorPage}from"../chunk-CNVYM3HP.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-N5KO2IHG.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-E227NVFX.js";export{TopNav}from"../chunk-IRZ6XM5A.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-6XC3XX7F.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-R3K3LVVS.js";export{Stepper}from"../chunk-J5ISQYVM.js";export{SettingReset}from"../chunk-7F4U43YN.js";export{SettingRow}from"../chunk-NC36LJCA.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-5V6SA77P.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-63QLZYMN.js";import"../chunk-QWK6DRSN.js";export{MetricBar}from"../chunk-CD7P34VC.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-IYPRFUTT.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-GEZ45J4Z.js";export{PageHeader}from"../chunk-FOTDGSY5.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-VFBBGLRA.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-4UGFNTZ3.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{ResizeHandle}from"../chunk-2XQOK3CT.js";export{HelpCenter}from"../chunk-CRU2BNEM.js";export{IconRail,IconRailButton}from"../chunk-QTMRW6DK.js";import"../chunk-FQEALPZJ.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-ZUBTNUVE.js";export{EditableGrid}from"../chunk-CF4YOJUQ.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-7KWYVQMX.js";export{GlobalSearch,openGlobalSearch}from"../chunk-4KJ7MLWO.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{Card,StatCard}from"../chunk-EOGXCGQF.js";export{ContainerFillChart}from"../chunk-Y46WPTKY.js";export{CountBadge}from"../chunk-LTESFDTF.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-I3QFYBOP.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-RIXX6NRV.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-DU5IBIZQ.js";export{Avatar,AvatarGroup}from"../chunk-NHWDB7R6.js";export{BudgetBar,budgetState}from"../chunk-XZH5PEML.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-T23TIJ4P.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{TagInput}from"../chunk-FEJFGFPF.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-AJO55X66.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-VW7W6LCV.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-G2X5YYIQ.js";export{WidthsBar}from"../chunk-HB2XXIQG.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-DSHEOC2O.js";export{Slider,SliderGroup}from"../chunk-VQPZDZ3R.js";export{Snippet}from"../chunk-KHVECW4M.js";export{SplitButton_default as SplitButton}from"../chunk-2T7MZ77B.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{NumericKeypad}from"../chunk-FLYOI6EW.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-ZRLWE3JM.js";export{PositionInput}from"../chunk-2DOMIOYR.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{LinkPicker,TextLinkField}from"../chunk-CENTHUBD.js";export{SearchableSelect}from"../chunk-BD4OHYQB.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-YAD7TML2.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-GJJKWGBX.js";import"../chunk-B5OYS65L.js";export{ImageLightbox,lightboxKind}from"../chunk-A2ZEGD2S.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{Drawer}from"../chunk-HTDZ3XAJ.js";export{EmptyState}from"../chunk-2OMM2AG3.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Breadcrumbs}from"../chunk-PXIP246B.js";export{mediaLibraryMenu}from"../chunk-7ZYEDXZX.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-32WEY6O5.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-XBDHRMQI.js";export{MediaUsedInList}from"../chunk-Z43XVU2P.js";export{RenameField}from"../chunk-JCTOQOVO.js";export{NativeSelect,Select_default as Select}from"../chunk-HY3JYAUH.js";import"../chunk-EO5RLFRX.js";import"../chunk-GFBQ53WN.js";export{DatePicker_default as DatePicker}from"../chunk-HGZZXA2N.js";export{DateRangePicker,toISODate}from"../chunk-GGSPY3Q4.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-GJ23UZDQ.js";export{DisplayChips}from"../chunk-YKHAI5IZ.js";export{FilePicker_default as FilePicker}from"../chunk-27XV4TAU.js";export{FormErrorSummary}from"../chunk-NJTFI7AA.js";export{BrandAssetEditor}from"../chunk-ORLQUGIN.js";export{MediaUploadField}from"../chunk-CQCMJHDM.js";export{ImageFocusPoint}from"../chunk-53EW4M5S.js";export{Segmented}from"../chunk-S4FPYCUU.js";import"../chunk-JDQGHQ2C.js";export{FormField}from"../chunk-6KBDNYRW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-ONYPN3JY.js";export{CornersInput}from"../chunk-EEVKJJ5S.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{AlignmentGrid}from"../chunk-RDKIYORS.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-CTW2OKYS.js";export{IconPicker}from"../chunk-VGWYAYHB.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-AQULCKKZ.js";export{Popover}from"../chunk-7JGR7WPD.js";export{InputNumber_default as InputNumber}from"../chunk-ZYFBV4C7.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{useSort}from"../chunk-E6FDUFPH.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-Q2SCJQ5H.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{fromDateKey,toDateKey}from"../chunk-2HMNOLKX.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-LUSIZ2BK.js";export{Pagination}from"../chunk-7FBAZLBX.js";export{EntityList}from"../chunk-BPECY7I7.js";import"../chunk-PH3P54QQ.js";export{ResizableTable}from"../chunk-BXZSLRNO.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-UKBXQXDZ.js";import"../chunk-ULJQYXHB.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Kanban}from"../chunk-3WFJ4PYV.js";export{ListFooter}from"../chunk-4H5NTMOF.js";export{ListLoadError}from"../chunk-XARBHOEZ.js";export{WaterfallChart}from"../chunk-NHBDLW52.js";export{SankeyChart}from"../chunk-NPQBJJLP.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-PKNHSZWK.js";export{StatTile}from"../chunk-3CMCGOOV.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-UDL2A2GT.js";export{TreemapChart}from"../chunk-GIUX7WUS.js";export{squarify}from"../chunk-46BYGPGD.js";export{HeatmapChart}from"../chunk-HICNRXYB.js";export{HistogramChart}from"../chunk-UE54EN4C.js";export{Meter}from"../chunk-R3JKZXII.js";export{PieChart}from"../chunk-AJ5NU7UH.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-5N6AC3LN.js";export{RadialBarChart}from"../chunk-GZJ5F7SB.js";export{RangeChart}from"../chunk-5THF6BJS.js";export{RankedBars}from"../chunk-5NDONLH5.js";export{ChordChart}from"../chunk-GMLGR4R6.js";import"../chunk-5PP435FL.js";export{FunnelChart}from"../chunk-WD3I7AEZ.js";export{StepChain,StepChainItem}from"../chunk-UDJLRTQB.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-XQUXL75F.js";export{Divider}from"../chunk-DFOFEBYX.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Q5Z3KHT2.js";export{ContextMenu,useContextMenu}from"../chunk-HS4EWT6L.js";export{Banner}from"../chunk-JCUG572K.js";export{Input_default as Input}from"../chunk-56ESGDIC.js";export{DropdownMenu}from"../chunk-FUUJJ7OH.js";import"../chunk-LLBH6PHE.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-NZYI4XV5.js";export{mediaFileName}from"../chunk-QBD7V4TK.js";export{TransferProgress}from"../chunk-HNQKXOFU.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{IconButton_default as IconButton}from"../chunk-LE5LWALR.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-7KIDOIPY.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-7EK7JNR4.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-GEYM4WN3.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-Y3JW2GW5.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-VPYD7UJM.js";export{ChartBrush}from"../chunk-WMLBMR4E.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-7H7U3HC6.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-GRB4LKZC.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-DZBGJ6X4.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-LOEOCZCN.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-ZDMZM7HD.js";import"../chunk-5A7MWTXX.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-4RTDZSGH.js";export{Dialog}from"../chunk-CWTY4GTU.js";export{ItemCount}from"../chunk-RXHTIJ64.js";import"../chunk-3DVNXNTF.js";import"../chunk-C4XV42QP.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{ColoredBadge}from"../chunk-L75RBQFH.js";import"../chunk-SCGBCBXP.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-TRWHVG3A.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";import"../chunk-F3ZOO23R.js";export{VERSION}from"../chunk-UVEHJRPE.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-FZM3ZPW3.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-BFA5U5JF.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-EOVXFXVV.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";export{Icon}from"../chunk-MRFNJZRR.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-WGLHB6WE.js";export{Tooltip}from"../chunk-NJN5IKWO.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{BoxPlotChart}from"../chunk-ZG3RF2VE.js";export{CandlestickChart}from"../chunk-ESDWHHQY.js";export{ChartTooltip}from"../chunk-36VIGB6J.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{CartesianPlot}from"../chunk-SX5CSXZO.js";import"../chunk-BFO72WQB.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
2
+ import"../chunk-K5A62ZS5.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{EmailTemplate}from"../chunk-DULMOL3I.js";export{ErrorBoundary}from"../chunk-FAIHSCOG.js";export{ErrorPage}from"../chunk-CNVYM3HP.js";export{FormLayoutPage}from"../chunk-KDWK5WGU.js";export{GalleryTemplate}from"../chunk-2YBJQUYQ.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-TKXUDCOI.js";export{ChatTemplate}from"../chunk-ZATTQ3FX.js";export{CheckoutTemplate}from"../chunk-6NHPL5JL.js";export{DashboardTemplate}from"../chunk-O6H2ZD32.js";export{DataTablePage}from"../chunk-SSUZAOGI.js";export{Stepper}from"../chunk-DPUM3H5N.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-N5KO2IHG.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-E227NVFX.js";export{TopNav}from"../chunk-ZXNJSSRV.js";export{SidebarLayout}from"../chunk-53WYJ5LZ.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-NDLXD4EY.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-ZZ67Q5HJ.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-R3K3LVVS.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-5BV2WW74.js";export{ResizeHandle}from"../chunk-2XQOK3CT.js";export{SettingReset}from"../chunk-SGNJ7I7P.js";export{SettingRow}from"../chunk-NC36LJCA.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";import"../chunk-QWK6DRSN.js";export{MetricBar}from"../chunk-CD7P34VC.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-IYPRFUTT.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-UCIOCS4X.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-RQ4UIWWD.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{PageHeader}from"../chunk-45IVWLKF.js";export{FloatingBar}from"../chunk-7KWYVQMX.js";export{GlobalSearch,openGlobalSearch}from"../chunk-4KJ7MLWO.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{HelpCenter}from"../chunk-XGVMOV3O.js";export{IconRail,IconRailButton}from"../chunk-QTMRW6DK.js";import"../chunk-FQEALPZJ.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-Y7ANTS5W.js";export{EditableGrid}from"../chunk-CF4YOJUQ.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{BudgetBar,budgetState}from"../chunk-XZH5PEML.js";export{Card,StatCard}from"../chunk-EOGXCGQF.js";export{ContainerFillChart}from"../chunk-Y46WPTKY.js";export{CountBadge}from"../chunk-LTESFDTF.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-I3QFYBOP.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-RIXX6NRV.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-JYGUTY6R.js";export{Avatar,AvatarGroup}from"../chunk-NHWDB7R6.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-T23TIJ4P.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{SplitButton_default as SplitButton}from"../chunk-DCICBH2L.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-SPJIFRNY.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-6GDZUW3L.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-H6PFTU3L.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-G2X5YYIQ.js";export{WidthsBar}from"../chunk-UMQLDWSS.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-CVLWJBR5.js";export{Slider,SliderGroup}from"../chunk-7TZRICMH.js";export{Snippet}from"../chunk-FPZBHNZU.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-YAQ5RF3H.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-67JHJO6V.js";import"../chunk-B5OYS65L.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{ImageLightbox,lightboxKind}from"../chunk-NSOAHIQZ.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-M3PUAGXJ.js";export{EmptyState}from"../chunk-NEAT7BIP.js";export{Breadcrumbs}from"../chunk-PT77FC5X.js";export{mediaLibraryMenu}from"../chunk-BGJMDP6J.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-32WEY6O5.js";export{RenameField}from"../chunk-S6BGMLXI.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-OR5HUQSB.js";export{MediaUsedInList}from"../chunk-FGCIEJPP.js";export{NumericKeypad}from"../chunk-FLYOI6EW.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-ZRLWE3JM.js";export{PositionInput}from"../chunk-RYBYTUGZ.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{LinkPicker,TextLinkField}from"../chunk-SYDGCECZ.js";export{SearchableSelect}from"../chunk-KZD2AFH2.js";export{NativeSelect,Select_default as Select}from"../chunk-P3BLJCTQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{CornersInput}from"../chunk-AANXPLMA.js";export{DatePicker_default as DatePicker}from"../chunk-PA273FZF.js";export{DateRangePicker,toISODate}from"../chunk-AUZKIL62.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-GJ23UZDQ.js";export{DisplayChips}from"../chunk-ASQX3GXB.js";export{FilePicker_default as FilePicker}from"../chunk-GR43CABV.js";export{FormErrorSummary}from"../chunk-NJTFI7AA.js";export{AlignmentGrid}from"../chunk-RDKIYORS.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-2B4EKAZL.js";export{IconPicker}from"../chunk-3QYAYBJE.js";export{BrandAssetEditor}from"../chunk-QA33EHHO.js";export{MediaUploadField}from"../chunk-F245EG2A.js";export{Segmented}from"../chunk-S4FPYCUU.js";import"../chunk-JDQGHQ2C.js";export{ImageFocusPoint}from"../chunk-53EW4M5S.js";export{FormField}from"../chunk-6KBDNYRW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-LGK47SEN.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-FPRQB5W6.js";export{Popover}from"../chunk-7JGR7WPD.js";export{InputNumber_default as InputNumber}from"../chunk-SKFFBBAG.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-Q2SCJQ5H.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{fromDateKey,toDateKey}from"../chunk-2HMNOLKX.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{useSort}from"../chunk-E6FDUFPH.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-5LZTYOYD.js";export{Pagination}from"../chunk-7FBAZLBX.js";export{EntityList}from"../chunk-IWFWPFYQ.js";import"../chunk-PH3P54QQ.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{ListFooter}from"../chunk-4H5NTMOF.js";export{ListLoadError}from"../chunk-LDEFEPPL.js";export{ResizableTable}from"../chunk-MQKUGIN7.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-UKBXQXDZ.js";import"../chunk-ULJQYXHB.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Kanban}from"../chunk-3WFJ4PYV.js";export{TreemapChart}from"../chunk-GIUX7WUS.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-6Y2BQI44.js";export{RankedBars}from"../chunk-5NDONLH5.js";export{SankeyChart}from"../chunk-NPQBJJLP.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-6JKSRXZM.js";export{StatTile}from"../chunk-3CMCGOOV.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-UDL2A2GT.js";export{FunnelChart}from"../chunk-WD3I7AEZ.js";export{HeatmapChart}from"../chunk-ZICLAMMR.js";export{HistogramChart}from"../chunk-DICWZEGH.js";export{Meter}from"../chunk-R3JKZXII.js";export{PieChart}from"../chunk-Q2MW334M.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-5N6AC3LN.js";export{RadialBarChart}from"../chunk-GZJ5F7SB.js";export{RangeChart}from"../chunk-PFMZL3ZG.js";export{ChordChart}from"../chunk-GMLGR4R6.js";import"../chunk-5PP435FL.js";export{StepChain,StepChainItem}from"../chunk-DNLRUZGS.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-74LZVJND.js";export{Divider}from"../chunk-DFOFEBYX.js";export{ContextMenu,useContextMenu}from"../chunk-NHNRNT4T.js";export{Banner}from"../chunk-6JDR6T4U.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Q5Z3KHT2.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-NRLTGGCS.js";export{Input_default as Input}from"../chunk-7JY3YYN4.js";export{DropdownMenu}from"../chunk-4DZVWK7U.js";import"../chunk-GYDCXCJT.js";export{mediaFileName}from"../chunk-LBMC6GR5.js";export{TransferProgress}from"../chunk-HNQKXOFU.js";export{IconButton_default as IconButton}from"../chunk-LE5LWALR.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-7KIDOIPY.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-6TLSXBKC.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-GEYM4WN3.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-Y3JW2GW5.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-IMRGGJIJ.js";export{ChartBrush}from"../chunk-WMLBMR4E.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-7H7U3HC6.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-QOQ6GXVA.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-DZBGJ6X4.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-IXAYZNOZ.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-Y4RERPFN.js";import"../chunk-5A7MWTXX.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-ZDMZM7HD.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-B3PNZBZM.js";export{Dialog}from"../chunk-VF53GD6D.js";export{ItemCount}from"../chunk-RXHTIJ64.js";import"../chunk-3DVNXNTF.js";import"../chunk-R3K2BNFF.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{ColoredBadge}from"../chunk-IL56C56I.js";import"../chunk-SCGBCBXP.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-TRWHVG3A.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";import"../chunk-F3ZOO23R.js";export{VERSION}from"../chunk-SEJAT3UE.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-FZM3ZPW3.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-F44E76EC.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";import"../chunk-WGLHB6WE.js";export{Button_default as Button}from"../chunk-EOVXFXVV.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";export{Icon}from"../chunk-UIWGVOFH.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";export{Tooltip}from"../chunk-NJN5IKWO.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{BoxPlotChart}from"../chunk-U7PXMVIY.js";export{CandlestickChart}from"../chunk-LKVS4WCZ.js";export{ChartTooltip}from"../chunk-36VIGB6J.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{CartesianPlot}from"../chunk-P4L74UA5.js";import"../chunk-BFO72WQB.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export{APP_VERSION,VERSION}from"./chunk-UVEHJRPE.js";
1
+ export{APP_VERSION,VERSION}from"./chunk-SEJAT3UE.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efficient-shell",
3
- "version": "12.2.0",
3
+ "version": "12.3.0",
4
4
  "description": "Desktop-style React UI shell — windows, taskbar, start menu, sticky notes, frosted glass theming, and bundled apps.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Efficient Pty Ltd",
@@ -1,29 +0,0 @@
1
- import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-CRB5GM4W.js";import{useWidgetSettings as n}from"./chunk-M7DFM2N7.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-LOEOCZCN.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-SCCAMJB4.js";import"./chunk-4RTDZSGH.js";import"./chunk-CWTY4GTU.js";import"./chunk-RXHTIJ64.js";import"./chunk-3DVNXNTF.js";import"./chunk-C4XV42QP.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-L75RBQFH.js";import"./chunk-SCGBCBXP.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import"./chunk-KC3EX26K.js";import"./chunk-F3ZOO23R.js";import"./chunk-FZM3ZPW3.js";import"./chunk-CDAJKLGL.js";import"./chunk-BFA5U5JF.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EOVXFXVV.js";import"./chunk-UQYNPYF4.js";import"./chunk-TE6R53YD.js";import{Icon as r}from"./chunk-MRFNJZRR.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-WGLHB6WE.js";import"./chunk-NJN5IKWO.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-TWVUQUUD.js";import"./chunk-43MCNASD.js";import"./chunk-C3QOHMR6.js";import{useState as c,useRef as i,useCallback as o,useEffect as s}from"react";import{jsxs as l,Fragment as a,jsx as u}from"react/jsx-runtime";var h="calc_appearance";function m(){const[m,k]=c("0"),[p,d]=c(null),[b,g]=c(null),[j,N]=c(!1),[C,y]=c(""),[x,f]=c([]),[v,$]=c(!1),[T,W]=c(()=>e(h)),[D,E]=c(!1),[F,M]=c(T),R=i(null);n(o(()=>{M({...T}),E(!0)},[T]));const S=o(e=>{y(""),k(t=>j||"0"===t?(N(!1),"."===e?"0.":e):"."===e&&t.includes(".")?t:t+e)},[j]),J=o(()=>{k("0"),d(null),g(null),N(!1)},[]),B=o((e,t,n)=>{switch(n){case"+":return e+t;case"-":return e-t;case"×":return e*t;case"÷":return 0===t?0:e/t;default:return t}},[]),w=o(e=>{const t=parseFloat(m);if(null!==p&&b&&!j){const e=B(p,t,b);k(String(e)),d(e),f(n=>[`${p} ${b} ${t} = ${e}`,...n].slice(0,20))}else d(t);g(e),N(!0)},[m,p,b,j,B]),X=o(()=>{if(null===p||!b)return;const e=parseFloat(m),t=B(p,e,b),n=`${p} ${b} ${e} =`;f(e=>[`${n} ${t}`,...e].slice(0,20)),y(n),k(String(t)),d(null),g(null),N(!0)},[m,p,b,B]),A=o(()=>{k(e=>String(parseFloat(e)/100))},[]),G=o(()=>{k(e=>e.startsWith("-")?e.slice(1):"0"===e?e:"-"+e)},[]);s(()=>{const e=e=>{const t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t&&(e.key>="0"&&e.key<="9"?S(e.key):"."===e.key?S("."):"+"===e.key?w("+"):"-"===e.key?w("-"):"*"===e.key?w("×"):"/"===e.key?(e.preventDefault(),w("÷")):"Enter"===e.key||"="===e.key?("Enter"===e.key&&e.target instanceof Node&&R.current?.contains(e.target)&&e.preventDefault(),X()):"Escape"===e.key?J():"Backspace"===e.key?k(e=>e.length>1?e.slice(0,-1):"0"):"%"===e.key&&A())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[S,w,X,J,A]);const L="flex items-center justify-center rounded-lg text-sm font-medium transition-colors",Z=`${L} bg-white border border-gray-200 text-gray-900 hover:bg-gray-50 active:bg-gray-100`,H=`${L} bg-blue-50 border border-blue-200 text-blue-700 hover:bg-blue-100 active:bg-blue-200`,U=`${L} bg-gray-100 border border-gray-200 text-gray-600 hover:bg-gray-200 active:bg-gray-300`,Q=`${L} bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800`;/* @__PURE__ */
2
- return l(a,{children:[
3
- /* @__PURE__ */l("div",{ref:R,className:"flex flex-col h-full",style:{opacity:T.activeOpacity/100,backdropFilter:T.activeBlur>0?`blur(${T.activeBlur}px)`:void 0},children:[
4
- /* @__PURE__ */l("div",{className:"bg-slate-200 rounded-t-lg px-4 py-2 group/display relative flex flex-col justify-end min-h-[120px] border-b border-slate-300",children:[
5
- /* @__PURE__ */u("div",{className:"flex flex-col justify-end flex-1 overflow-hidden",children:x.slice(0,3).reverse().map((e,t)=>/* @__PURE__ */u("div",{className:"text-2xs text-slate-400 text-right font-mono truncate",children:e},t))}),(C||b&&null!==p)&&/* @__PURE__ */u("div",{className:"text-base text-slate-600 text-right font-mono",children:C||`${p} ${b} ${j?"":m}`}),
6
- /* @__PURE__ */l("div",{className:"flex items-center gap-2",children:[
7
- /* @__PURE__ */u("button",{onClick:()=>{navigator.clipboard.writeText(m),$(!0),setTimeout(()=>$(!1),1200)},title:"Copy result",className:"shrink-0 text-slate-300 hover:text-slate-500 transition-colors opacity-0 group-hover/display:opacity-100",children:/* @__PURE__ */u(r,v?{name:"check",className:"h-5 w-5 text-green-500",strokeWidth:2}:{name:"copy",className:"h-5 w-5",strokeWidth:2})}),
8
- /* @__PURE__ */u("div",{className:"text-right text-4xl font-mono font-bold text-slate-800 truncate flex-1",children:(e=>{const t=parseFloat(e);return isNaN(t)||e.endsWith(".")||e.endsWith(".0")||Math.abs(t)<1e15&&e.length<16?e:t.toExponential(6)})(m)})]})]}),
9
- /* @__PURE__ */l("div",{className:"grid grid-cols-4 grid-rows-5 gap-2 flex-1 min-h-0 p-2",children:[
10
- /* @__PURE__ */u("button",{onClick:J,className:U,children:"AC"}),
11
- /* @__PURE__ */u("button",{onClick:G,className:U,children:"+/−"}),
12
- /* @__PURE__ */u("button",{onClick:A,className:U,children:"%"}),
13
- /* @__PURE__ */u("button",{onClick:()=>w("÷"),className:`${H} ${"÷"===b?"ring-2 ring-blue-400":""}`,children:"÷"}),
14
- /* @__PURE__ */u("button",{onClick:()=>S("7"),className:Z,children:"7"}),
15
- /* @__PURE__ */u("button",{onClick:()=>S("8"),className:Z,children:"8"}),
16
- /* @__PURE__ */u("button",{onClick:()=>S("9"),className:Z,children:"9"}),
17
- /* @__PURE__ */u("button",{onClick:()=>w("×"),className:`${H} ${"×"===b?"ring-2 ring-blue-400":""}`,children:"×"}),
18
- /* @__PURE__ */u("button",{onClick:()=>S("4"),className:Z,children:"4"}),
19
- /* @__PURE__ */u("button",{onClick:()=>S("5"),className:Z,children:"5"}),
20
- /* @__PURE__ */u("button",{onClick:()=>S("6"),className:Z,children:"6"}),
21
- /* @__PURE__ */u("button",{onClick:()=>w("-"),className:`${H} ${"-"===b?"ring-2 ring-blue-400":""}`,children:"−"}),
22
- /* @__PURE__ */u("button",{onClick:()=>S("1"),className:Z,children:"1"}),
23
- /* @__PURE__ */u("button",{onClick:()=>S("2"),className:Z,children:"2"}),
24
- /* @__PURE__ */u("button",{onClick:()=>S("3"),className:Z,children:"3"}),
25
- /* @__PURE__ */u("button",{onClick:()=>w("+"),className:`${H} ${"+"===b?"ring-2 ring-blue-400":""}`,children:"+"}),
26
- /* @__PURE__ */u("button",{onClick:()=>S("0"),className:`${Z} col-span-2`,children:"0"}),
27
- /* @__PURE__ */u("button",{onClick:()=>S("."),className:Z,children:"."}),
28
- /* @__PURE__ */u("button",{onClick:X,className:Q,children:"="})]})]}),
29
- /* @__PURE__ */u(t,{open:D,onClose:()=>E(!1),title:"Calculator Settings",appearance:F,onAppearanceChange:M,onSave:()=>{W(F),localStorage.setItem(h,JSON.stringify(F)),E(!1)}})]})}export{m as default};
@@ -1,121 +0,0 @@
1
- import{openPreviewFile as e}from"./chunk-CC42UKIT.js";import{SidebarLayout as t}from"./chunk-5V6SA77P.js";import"./chunk-QWK6DRSN.js";import"./chunk-2XQOK3CT.js";import{SearchableSelect as n}from"./chunk-BD4OHYQB.js";import{Breadcrumbs as a}from"./chunk-PXIP246B.js";import{Select_default as r}from"./chunk-HY3JYAUH.js";import"./chunk-EO5RLFRX.js";import"./chunk-GFBQ53WN.js";import"./chunk-2NMW66P5.js";import"./chunk-56ESGDIC.js";import"./chunk-FUUJJ7OH.js";import"./chunk-LLBH6PHE.js";import"./chunk-AYZY3YNC.js";import{IconButton_default as i}from"./chunk-LE5LWALR.js";import{formatBytes as s}from"./chunk-GEYM4WN3.js";import"./chunk-Y3JW2GW5.js";import"./chunk-36BRD5J3.js";import"./chunk-LF27WIN2.js";import{getFilesDemoTree as l}from"./chunk-VZLYB5LX.js";import{AboutApp as o}from"./chunk-MKP2HSWX.js";import{getFilesStore as c,peekFilesViewRequest as d,consumeFilesViewRequest as h,FILES_SHOW_TRASH_EVENT as m,FILES_OPEN_DESKTOP_FOLDER_EVENT as p,subscribeDesktopFolders as u,getDesktopFoldersSnapshot as f,hasHostFilesStore as x,FolderGlyph as k,DesktopItemMiniIcon as g,desktopItemTypeLabel as N,FilesQuotaError as w}from"./chunk-FWUXYNWF.js";import"./chunk-ESL5TDNA.js";import{useWindowManager as b,WindowTitle as v}from"./chunk-M7DFM2N7.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-LOEOCZCN.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-SCCAMJB4.js";import{confirm as y,prompt as j}from"./chunk-4RTDZSGH.js";import{Dialog as C}from"./chunk-CWTY4GTU.js";import{ItemCount as D}from"./chunk-RXHTIJ64.js";import"./chunk-3DVNXNTF.js";import"./chunk-C4XV42QP.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-L75RBQFH.js";import"./chunk-SCGBCBXP.js";import{toast_default as L}from"./chunk-TRWHVG3A.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import"./chunk-KC3EX26K.js";import"./chunk-F3ZOO23R.js";import"./chunk-UVEHJRPE.js";import"./chunk-FZM3ZPW3.js";import"./chunk-CDAJKLGL.js";import"./chunk-BFA5U5JF.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import{Button_default as W}from"./chunk-EOVXFXVV.js";import"./chunk-UQYNPYF4.js";import"./chunk-TE6R53YD.js";import{Icon as T}from"./chunk-MRFNJZRR.js";import"./chunk-J75ZT2JQ.js";import{LoadingSpinner as $}from"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import{TH_ONE_LINE as E}from"./chunk-WGLHB6WE.js";import"./chunk-NJN5IKWO.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-TWVUQUUD.js";import"./chunk-43MCNASD.js";import"./chunk-C3QOHMR6.js";import{useState as F,useEffect as R,useSyncExternalStore as P,useRef as S,useCallback as M}from"react";import{jsxs as A,jsx as H,Fragment as U}from"react/jsx-runtime";var V=[{value:"viewer",label:"Viewer"},{value:"editor",label:"Editor"}];function B({store:e,entry:t,onClose:a,onChanged:s}){const[l,o]=F(null),[c,d]=F(""),[h,m]=F([]),[p,u]=F(!1),[f,x]=F(""),[k,g]=F("viewer"),[N,w]=F(!1),b=S(/* @__PURE__ */new Map),v=t?.id??null;if(R(()=>{if(o(null),x(""),d(""),!v||!e.shares)return;let t=!0;return e.shares(v).then(e=>{t&&o(e)}).catch(e=>{t&&(L.error(e.message),o([]))}),()=>{t=!1}},[v,e]),R(()=>{if(!e.searchPeople||!v)return;let t=!0;u(!0);const n=setTimeout(()=>{e.searchPeople(c).then(e=>{if(t){for(const t of e)b.current.set(t.id,t);m(e)}}).catch(()=>{t&&m([])}).finally(()=>{t&&u(!1)})},250);return()=>{t=!1,clearTimeout(n)}},[c,v,e]),!t)return null;const y=new Set((l??[]).map(e=>e.person.id)),j=h.filter(e=>!y.has(e.id)).map(e=>({value:e.id,label:e.name})),D=async n=>{w(!0);try{await n(),o(await e.shares(t.id)),s()}catch(e){L.error(e.message)}finally{w(!1)}};/* @__PURE__ */
2
- return A(C,{open:!0,onClose:a,size:"md",title:`Share “${t.name}”`,description:"folder"===t.kind?"Everything inside this folder is shared too. Editors’ uploads count toward your quota.":"Viewers can open and download it. Editors can also replace, rename and delete it.",footer:/* @__PURE__ */H(W,{variant:"secondary",onClick:a,children:"Done"}),children:[
3
- /* @__PURE__ */A("div",{className:"flex items-center gap-2",children:[
4
- /* @__PURE__ */H("div",{className:"min-w-0 flex-1",children:/* @__PURE__ */H(n,{value:f,onChange:x,onSearchChange:d,loading:p&&0===h.length,options:j,placeholder:"Search colleagues by name","aria-label":"Colleague to share with"})}),
5
- /* @__PURE__ */H("div",{className:"w-28 shrink-0",children:/* @__PURE__ */H(r,{value:k,onChange:e=>g(e),options:V,"aria-label":"Access"})}),
6
- /* @__PURE__ */H(W,{variant:"primary",onClick:()=>{if(!f||!e.share)return;const n=b.current.get(f);D(async()=>{await e.share(t.id,f,k),x(""),d(""),n&&L.success(`Shared with ${n.name}`)})},disabled:!f||N,children:"Add"})]}),
7
- /* @__PURE__ */H("div",{className:"mt-4 mb-1 text-2xs font-semibold uppercase tracking-wide text-ink-faintest",children:"Who has access"}),null===l?/* @__PURE__ */H($,{size:"sm",padding:"p-4",label:"Loading"}):/* @__PURE__ */A("ul",{className:"divide-y divide-line-subtle text-sm",children:[
8
- /* @__PURE__ */A("li",{className:"flex items-center gap-2 h-10",children:[
9
- /* @__PURE__ */H("span",{className:"flex-1 truncate",children:"You"}),
10
- /* @__PURE__ */H("span",{className:"text-xs text-ink-faint",children:"Owner"})]}),l.map(n=>/* @__PURE__ */A("li",{className:"flex items-center gap-2 h-10",children:[
11
- /* @__PURE__ */H("span",{className:"flex-1 truncate",title:n.person.name,children:n.person.name}),
12
- /* @__PURE__ */H("div",{className:"w-28 shrink-0",children:/* @__PURE__ */H(r,{value:n.role,onChange:a=>D(()=>e.share(t.id,n.person.id,a)),options:V,"aria-label":`Access for ${n.person.name}`,disabled:N})}),
13
- /* @__PURE__ */H(i,{"aria-label":`Remove ${n.person.name}`,variant:"ghost",size:"sm",disabled:N,onClick:()=>D(()=>e.unshare(t.id,n.person.id)),children:/* @__PURE__ */H(T,{name:"close",className:"h-4 w-4",strokeWidth:1.8})})]},n.person.id))]})]})}var J={pdf:"pdf",dxf:"dxf",csv:"csv",jpg:"image",jpeg:"image",png:"image",gif:"image",webp:"image",svg:"image",avif:"image",bmp:"image",stp:"3d",step:"3d",stl:"3d",obj:"3d",gltf:"3d",glb:"3d","3mf":"3d",iges:"3d",igs:"3d",ply:"3d",fbx:"3d"};function O(e){if(!e)return"—";try{const t=new Date(e);return isNaN(t.getTime())?"—":t.toLocaleString(void 0,{dateStyle:"short",timeStyle:"short"})}catch{return e}}function Y(e,t){return`Not enough space for “${e}” (${s(t.attempted)}). You've used ${s(t.used)} of ${s(t.limit)}. Empty Trash or ask an administrator for more space.`}var X=(e,t)=>e instanceof Error&&e.message||t;function G(){const n=c(),r=null!==l(),i=!r&&!!n.shares&&!!n.sharedWithMe,[C,W]=F(null),[V,G]=F(null),[I,z]=F([]),[K,Q]=F([]),[Z,q]=F(null),[_,ee]=F(!0),[te,ne]=F(!1),[ae,re]=F(null),[ie,se]=F(!1),[le,oe]=F(null),[ce,de]=F(()=>{const e=d();return"trash"===e?"trash":e?{desktopFolderId:e.folderId}:"files"});R(()=>{h()},[]);const[he,me]=F([]);R(()=>{const e=()=>{h(),de("trash")},t=e=>{h();const t=e.detail?.folderId;t&&de({desktopFolderId:t})};return window.addEventListener(m,e),window.addEventListener(p,t),()=>{window.removeEventListener(m,e),window.removeEventListener(p,t)}},[]);const pe=P(u,f,f),ue="object"==typeof ce?ce.desktopFolderId:null,fe=ue?pe?.folders.find(e=>e.id===ue)??null:null,xe=ue&&pe?.itemsByFolder[ue]||[];R(()=>{ue&&pe&&!pe.folders.some(e=>e.id===ue)&&de("files")},[ue,pe]);const ke=S(0),ge=S(null),{openPage:Ne,openEntity:we}=b(),be=t=>{"preview-file"===t.entityType&&t.filePath&&t.fileKind?e({filePath:t.filePath,filename:t.label,kind:t.fileKind,onStaged:e=>Ne(e)}):"page"===t.entityType?Ne(t.entityId):we(t.entityType,t.entityId,null,t.label)},ve=M(async()=>{if(!r)try{re(await n.quota())}catch{}},[n,r]),ye=M(async e=>{if(q(null),r){const t=function(e){const t=e??"/",n=t.split("/").filter(Boolean);let a=l()??[];for(const e of n){const t=a.find(t=>"folder"===t.kind&&t.name===e);a=t?.children??[]}return{folder:{id:e,name:n[n.length-1]??"",role:"owner",path:[{id:null,name:""},...n.map((e,t)=>({id:"/"+n.slice(0,t+1).join("/"),name:e}))]},entries:a.map(e=>({id:("/"===t?"":t)+"/"+e.name,name:e.name,kind:e.kind,size:e.size??0,modifiedAt:e.modifiedAt??""}))}}(e);return G(t),ne(!1),ee(!1),void(null===e&&z(t.entries.filter(e=>"folder"===e.kind)))}ee(!0);try{const t=await n.list(e);G(t),ne(!1),null===e&&z(t.entries.filter(e=>"folder"===e.kind))}catch(e){e instanceof TypeError?ne(!0):L.error(X(e,"Failed to list"))}finally{ee(!1)}ve()},[n,ve,r]),je=M(async()=>{if(n.sharedWithMe){ee(!0),q(null);try{Q(await n.sharedWithMe()),ne(!1)}catch(e){e instanceof TypeError?ne(!0):L.error(X(e,"Failed to list shared files"))}finally{ee(!1)}}},[n]),Ce=M(async()=>{if(r)return me([]),void ee(!1);ee(!0),q(null);try{me(await n.trash()),ne(!1)}catch(e){e instanceof TypeError?ne(!0):L.error(X(e,"Failed to list trash"))}finally{ee(!1)}ve()},[n,ve,r]),De=()=>{"files"===ce?ye(C):"shared"===ce?je():"trash"===ce&&Ce()};R(()=>{De()},[C,ce]);const Le=e=>{de("files"),W(e)},We=async(e,t)=>{try{await e()}catch(e){L.error(X(e,t))}De()},Te=async e=>{try{const t=await n.read(e.id),a=URL.createObjectURL(t),r=document.createElement("a");r.href=a,r.download=e.name,r.click(),setTimeout(()=>URL.revokeObjectURL(a),1e3)}catch(e){L.error(X(e,"Download failed"))}},$e=async e=>{for(const t of Array.from(e))try{await n.upload(C,t)}catch(e){e instanceof w?L.error(Y(t.name,e)):L.error(`Upload ${t.name}: ${X(e,"failed")}`)}ye(C)},Ee=()=>{ke.current=0,se(!1)};if(R(()=>{const e=()=>Ee();return window.addEventListener("dragend",e),window.addEventListener("drop",e),()=>{window.removeEventListener("dragend",e),window.removeEventListener("drop",e)}},[]),te)/* @__PURE__ */
14
- return A("div",{className:"flex flex-col h-full bg-surface",children:[
15
- /* @__PURE__ */H(v,{title:"Files - offline"}),
16
- /* @__PURE__ */H("div",{className:"flex-1 flex items-center justify-center p-8 text-center",children:/* @__PURE__ */A("div",{className:"max-w-md",children:[
17
- /* @__PURE__ */H(T,{name:"close-circle",className:"h-12 w-12 mx-auto text-ink-faintest mb-3",strokeWidth:1.4}),x()?/* @__PURE__ */A(U,{children:[
18
- /* @__PURE__ */H("h3",{className:"text-base font-semibold text-ink-strong mb-1",children:"Can't reach your files"}),
19
- /* @__PURE__ */H("p",{className:"text-sm text-ink-faint mb-3",children:"Check your connection and try again."})]}):/* @__PURE__ */A(U,{children:[
20
- /* @__PURE__ */H("h3",{className:"text-base font-semibold text-ink-strong mb-1",children:"Can't reach the file server"}),
21
- /* @__PURE__ */A("p",{className:"text-sm text-ink-faint mb-3",children:["No response from the file server. Make sure the server is running — see ",
22
- /* @__PURE__ */H("span",{className:"font-mono",children:"examples/file-server/README.md"}),"."]})]}),
23
- /* @__PURE__ */H("button",{onClick:De,className:"px-3 h-8 text-sm bg-accent-fill text-on-accent rounded hover:bg-accent-fill-hover",children:"Retry"})]})})]});const Fe="files"===ce?V?.folder??null:null,Re=Fe?.role??"owner",Pe="owner"!==Re,Se=!r&&"files"===ce&&"viewer"!==Re,Me="files"===ce?V?.entries??[]:[],Ae=ae&&ae.limit>0?Math.min(100,Math.round(ae.used/ae.limit*100)):0,He=Ae>90?"bg-danger":Ae>75?"bg-warning":"bg-accent-fill",Ue=(Fe?.path??[]).filter(e=>null!==e.id),Ve=[Pe?{label:"Shared with me",onClick:()=>de("shared")}:{label:"My files",onClick:()=>Le(null)},...Ue.map(e=>({label:e.name,onClick:()=>Le(e.id)}))],Be=Ue.length>1?Ue[Ue.length-2].id:null,Je=e=>"flex w-full items-center gap-2 rounded-md px-3 min-h-(--row-height-menu) py-2 text-left text-sm transition-colors "+(e?"bg-accent-tint font-medium text-accent-text":"text-ink hover:bg-row-hover"),Oe=e=>/* @__PURE__ */H("svg",{className:"h-4 w-4 shrink-0 text-ink-faintest",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:/* @__PURE__ */H("path",{strokeLinecap:"round",strokeLinejoin:"round",d:e})}),Ye=/* @__PURE__ */A("nav",{className:"p-2",children:[
24
- /* @__PURE__ */H("div",{className:"px-2 py-2 text-2xs font-semibold uppercase tracking-wide text-ink-faintest",children:"Locations"}),
25
- /* @__PURE__ */A("button",{onClick:()=>Le(null),className:Je("files"===ce&&null===C),children:[Oe("M2.25 12l8.954-8.955a1.5 1.5 0 012.122 0L21.75 12M4.5 9.75v9.75a.75.75 0 00.75.75H9V15a.75.75 0 01.75-.75h4.5A.75.75 0 0115 15v5.25h3.75a.75.75 0 00.75-.75V9.75"),"My files"]}),I.map(e=>/* @__PURE__ */A("button",{onClick:()=>Le(e.id),className:Je("files"===ce&&C===e.id),children:[Oe("M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z"),
26
- /* @__PURE__ */H("span",{className:"truncate",children:e.name})]},e.id)),i&&/* @__PURE__ */A("button",{onClick:()=>de("shared"),className:Je("shared"===ce||"files"===ce&&Pe),children:[
27
- /* @__PURE__ */H(T,{name:"team",className:"h-4 w-4 shrink-0 text-ink-faintest",strokeWidth:1.6}),"Shared with me"]}),!r&&/* @__PURE__ */A("button",{onClick:()=>de("trash"),className:Je("trash"===ce),children:[Oe("M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79"),"Trash"]}),pe&&pe.folders.length>0&&/* @__PURE__ */A(U,{children:[
28
- /* @__PURE__ */H("div",{className:"px-2 pt-3 pb-2 text-2xs font-semibold uppercase tracking-wide text-ink-faintest",children:"Desktop"}),pe.folders.map(e=>/* @__PURE__ */A("button",{onClick:()=>de({desktopFolderId:e.id}),className:Je(ue===e.id),children:[
29
- /* @__PURE__ */H(k,{className:"h-4 w-4 shrink-0 text-amber-500"}),
30
- /* @__PURE__ */H("span",{className:"truncate",children:e.name}),
31
- /* @__PURE__ */H(D,{count:e.itemCount,active:ue===e.id,className:"ml-auto"})]},e.id))]})]}),Xe=e=>/* @__PURE__ */H(T,"folder"===e?{name:"folder",look:"solid",className:"h-4 w-4 text-amber-500 shrink-0"}:{name:"page",className:"h-4 w-4 text-ink-faintest shrink-0",strokeWidth:1.5}),Ge="px-2 py-0.5 rounded hover:bg-row-hover text-ink-faint text-2xs ml-1",Ie=t=>{"folder"===t.kind?Le(t.id):(async t=>{if(r)return;if(n.open?.(t))return;const a=(t.name.split(".").pop()||"").toLowerCase(),i=J[a];i?await e({filePath:n.shortcutPath?.(t.id)??t.id,filename:t.name,kind:i,load:()=>n.read(t.id),onStaged:e=>Ne(e)}):Te(t)})(t)},ze=fe?`Files - ${fe.name}`:"shared"===ce?"Files - Shared with me":"trash"===ce?"Files - Trash":Fe&&null!==Fe.id?`Files - ${Fe.name}`:"Files";/* @__PURE__ */
32
- return A("div",{className:"relative flex flex-col h-full bg-surface",onDragEnter:e=>{Se&&e.dataTransfer?.types?.includes?.("Files")&&(e.preventDefault(),ke.current++,ie||se(!0))},onDragOver:e=>{e.dataTransfer?.types?.includes?.("Files")&&e.preventDefault()},onDragLeave:()=>{ke.current>0&&ke.current--,0===ke.current&&se(!1)},onDrop:e=>{e.preventDefault(),Ee(),Se&&e.dataTransfer.files?.length&&$e(e.dataTransfer.files)},children:[
33
- /* @__PURE__ */H(v,{title:ze}),
34
- /* @__PURE__ */H(o,{app:"files"}),
35
- /* @__PURE__ */H("input",{ref:ge,type:"file",multiple:!0,className:"hidden",onChange:e=>{e.target.files?.length&&$e(e.target.files),ge.current&&(ge.current.value="")}}),
36
- /* @__PURE__ */H("div",{className:"flex-1 min-h-0",children:/* @__PURE__ */H(t,{sidebar:Ye,storageKey:"files.sidebarWidth",defaultWidth:200,minWidth:150,maxWidth:320,children:/* @__PURE__ */A("div",{className:"flex h-full min-w-0 flex-col",children:[
37
- /* @__PURE__ */A("div",{className:"flex items-center gap-1 px-2 py-2 border-b border-line bg-surface-sunken shrink-0 text-xs",children:[/* @__PURE__ */A(U,"files"===ce?{children:[
38
- /* @__PURE__ */H("button",{onClick:()=>{Pe&&Ue.length<=1?de("shared"):Le(Be)},disabled:!Pe&&null===C,className:"px-2 py-1 rounded hover:bg-row-hover disabled:opacity-30 text-ink-muted",title:"Parent folder",children:/* @__PURE__ */H(T,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
39
- /* @__PURE__ */A("div",{className:"flex-1 min-w-0 flex items-center gap-2",children:[
40
- /* @__PURE__ */H("div",{className:"min-w-0 flex-1",children:/* @__PURE__ */H(a,{items:Ve,maxItems:5})}),Pe&&"viewer"===Re&&/* @__PURE__ */A("span",{className:"shrink-0 inline-flex items-center gap-1 rounded-full bg-surface-sunken px-2 py-0.5 text-2xs text-ink-faint whitespace-nowrap",children:[
41
- /* @__PURE__ */H(T,{name:"eye",className:"h-3 w-3",strokeWidth:1.8}),"View only"]}),Pe&&Fe?.owner&&/* @__PURE__ */A("span",{className:"shrink-0 text-2xs text-ink-faint whitespace-nowrap",children:["Shared by ",Fe.owner.name]})]}),
42
- /* @__PURE__ */H("button",{onClick:De,className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted",title:"Refresh",children:/* @__PURE__ */H(T,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})}),Se&&/* @__PURE__ */A(U,{children:[!Pe&&/* @__PURE__ */A("button",{onClick:()=>de("trash"),className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted flex items-center gap-1",title:"Open trash",children:[
43
- /* @__PURE__ */H(T,{name:"trash",className:"h-3.5 w-3.5",strokeWidth:1.5}),"Trash"]}),
44
- /* @__PURE__ */A("button",{onClick:async()=>{const e=await j({title:"New folder",placeholder:"Folder name",confirmLabel:"Create"});e&&(/[\\/]/.test(e)?L.error("Folder names cannot contain slashes"):We(()=>n.createFolder(C,e),"Create folder failed"))},className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted flex items-center gap-1",children:[
45
- /* @__PURE__ */H(T,{name:"folder-plus",className:"h-3.5 w-3.5",strokeWidth:1.5}),"New Folder"]}),
46
- /* @__PURE__ */A("button",{onClick:()=>ge.current?.click(),className:"px-2 py-1 rounded bg-accent-fill text-on-accent hover:bg-accent-fill-hover flex items-center gap-1",children:[
47
- /* @__PURE__ */H(T,{name:"upload",className:"h-3.5 w-3.5",strokeWidth:1.8}),"Upload"]})]})]}:"shared"===ce?{children:[
48
- /* @__PURE__ */H(T,{name:"team",className:"h-4 w-4 ml-1",strokeWidth:1.6}),
49
- /* @__PURE__ */H("span",{className:"flex-1 text-ink font-medium px-1",children:"Shared with me"}),
50
- /* @__PURE__ */H("button",{onClick:je,className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted",title:"Refresh",children:/* @__PURE__ */H(T,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})})]}:"trash"===ce?{children:[
51
- /* @__PURE__ */H("button",{onClick:()=>de("files"),className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted",title:"Back to files",children:/* @__PURE__ */H(T,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
52
- /* @__PURE__ */H("span",{className:"flex-1 text-ink font-medium px-2",children:"Trash"}),
53
- /* @__PURE__ */H("button",{onClick:Ce,className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted",title:"Refresh",children:/* @__PURE__ */H(T,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})}),
54
- /* @__PURE__ */H("button",{onClick:async()=>{if(0===he.length)return;await y({title:"Empty trash",message:`${he.length} item${1===he.length?"":"s"} will be permanently removed. This can't be undone.`,confirmLabel:"Empty trash",variant:"danger"})&&We(()=>n.emptyTrash(),"Empty trash failed")},disabled:0===he.length,className:"px-2 py-1 rounded text-danger-text hover:bg-status-danger-soft disabled:opacity-30 flex items-center gap-1",children:"Empty trash"})]}:{children:[
55
- /* @__PURE__ */H("button",{onClick:()=>de("files"),className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted",title:"Back to files",children:/* @__PURE__ */H(T,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
56
- /* @__PURE__ */H(k,{className:"h-4 w-4 text-amber-500 ml-1"}),
57
- /* @__PURE__ */H("span",{className:"flex-1 text-ink font-medium px-1 truncate",children:fe?.name??"Desktop folder"}),
58
- /* @__PURE__ */H("span",{className:"text-2xs text-ink-faintest px-2",children:"Desktop shortcuts"})]}),ae&&/* @__PURE__ */A(U,{children:[
59
- /* @__PURE__ */H("div",{className:"h-4 w-px bg-line-strong mx-1"}),
60
- /* @__PURE__ */A("div",{className:"flex items-center gap-2",title:`${s(ae.used)} of ${s(ae.limit)} used`,children:[
61
- /* @__PURE__ */H("div",{className:"w-20 h-1.5 rounded-full bg-line overflow-hidden",children:/* @__PURE__ */H("div",{className:`h-full ${He} transition-all`,style:{width:`${Ae}%`}})}),
62
- /* @__PURE__ */A("span",{className:"text-2xs text-ink-faint tabular-nums whitespace-nowrap",children:[s(ae.used)," / ",s(ae.limit)]})]})]})]}),
63
- /* @__PURE__ */H("div",{className:"flex-1 overflow-auto",children:"object"==typeof ce?0===xe.length?/* @__PURE__ */H("div",{className:"p-10 text-center text-sm text-ink-faintest",children:"This desktop folder is empty. Drag shortcuts onto it on the desktop."}):/* @__PURE__ */A("table",{className:"w-full text-sm",children:[
64
- /* @__PURE__ */H("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */A("tr",{children:[
65
- /* @__PURE__ */H("th",{className:`${E} text-left font-medium px-3 h-8`,children:"Name"}),
66
- /* @__PURE__ */H("th",{className:`${E} text-left font-medium px-3 h-8 w-28`,children:"Type"}),
67
- /* @__PURE__ */H("th",{className:`${E} w-56`})]})}),
68
- /* @__PURE__ */H("tbody",{children:xe.map(e=>{const t=`${e.entityType}|${e.entityId}`;/* @__PURE__ */
69
- return A("tr",{onClick:()=>q(t),onDoubleClick:()=>be(e),className:"cursor-default border-b border-line-subtle "+(Z===t?"bg-accent-tint":"hover:bg-row-hover"),children:[
70
- /* @__PURE__ */A("td",{className:"px-3 h-8 flex items-center gap-2",children:[
71
- /* @__PURE__ */H(g,{item:e}),
72
- /* @__PURE__ */H("span",{className:"truncate",title:e.label,children:e.label})]}),
73
- /* @__PURE__ */H("td",{className:"px-3 h-8 text-xs text-ink-faint",children:N(e)}),
74
- /* @__PURE__ */A("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:[
75
- /* @__PURE__ */H("button",{onClick:t=>{t.stopPropagation(),be(e)},className:"px-2 py-0.5 rounded hover:bg-row-hover text-accent-text text-2xs",children:"Open"}),
76
- /* @__PURE__ */H("button",{onClick:t=>{t.stopPropagation(),pe?.moveToDesktop([e])},className:"px-2 py-0.5 rounded hover:bg-row-hover text-ink-faint text-2xs ml-1",children:"Move to desktop"}),
77
- /* @__PURE__ */H("button",{onClick:t=>{t.stopPropagation(),pe?.removeShortcuts([e])},className:"px-2 py-0.5 rounded hover:bg-status-danger-soft text-danger-text text-2xs ml-1",children:"Remove"})]})]},t)})})]}):"shared"===ce?_&&0===K.length?/* @__PURE__ */H($,{size:"sm",padding:"p-6",label:"Loading"}):0===K.length?/* @__PURE__ */H("div",{className:"p-10 text-center text-sm text-ink-faintest",children:"Nothing has been shared with you yet. Files and folders colleagues share with you show here."}):/* @__PURE__ */A("table",{className:"w-full text-sm",children:[
78
- /* @__PURE__ */H("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */A("tr",{children:[
79
- /* @__PURE__ */H("th",{className:`${E} text-left font-medium px-3 h-8`,children:"Name"}),
80
- /* @__PURE__ */H("th",{className:`${E} text-left font-medium px-3 h-8 w-40`,children:"Owner"}),
81
- /* @__PURE__ */H("th",{className:`${E} text-left font-medium px-3 h-8 w-24`,children:"Access"}),
82
- /* @__PURE__ */H("th",{className:`${E} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
83
- /* @__PURE__ */H("th",{className:`${E} w-32`})]})}),
84
- /* @__PURE__ */H("tbody",{children:K.map(e=>/* @__PURE__ */A("tr",{onClick:()=>q(e.id),onDoubleClick:()=>Ie(e),className:"cursor-default border-b border-line-subtle "+(Z===e.id?"bg-accent-tint":"hover:bg-row-hover"),children:[
85
- /* @__PURE__ */A("td",{className:"px-3 h-8 flex items-center gap-2",children:[Xe(e.kind),
86
- /* @__PURE__ */H("span",{className:"truncate",title:e.name,children:e.name})]}),
87
- /* @__PURE__ */H("td",{className:"px-3 h-8 text-ink-faint truncate",children:e.owner?.name??"—"}),
88
- /* @__PURE__ */H("td",{className:"px-3 h-8 text-ink-faint",children:"editor"===e.role?"Editor":"Viewer"}),
89
- /* @__PURE__ */H("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint",children:"folder"===e.kind?"—":s(e.size)}),
90
- /* @__PURE__ */A("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:[
91
- /* @__PURE__ */H("button",{onClick:t=>{t.stopPropagation(),Ie(e)},className:"px-2 py-0.5 rounded hover:bg-row-hover text-accent-text text-2xs",children:"Open"}),"file"===e.kind&&/* @__PURE__ */H("button",{onClick:t=>{t.stopPropagation(),Te(e)},className:Ge,children:"Download"})]})]},e.id))})]}):"trash"===ce?_&&0===he.length?/* @__PURE__ */H($,{size:"sm",padding:"p-6",label:"Loading"}):0===he.length?/* @__PURE__ */H("div",{className:"p-10 text-center text-sm text-ink-faintest",children:"Trash is empty."}):/* @__PURE__ */A("table",{className:"w-full text-sm",children:[
92
- /* @__PURE__ */H("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */A("tr",{children:[
93
- /* @__PURE__ */H("th",{className:`${E} text-left font-medium px-3 h-8`,children:"Name"}),
94
- /* @__PURE__ */H("th",{className:`${E} text-left font-medium px-3 h-8`,children:"Original location"}),
95
- /* @__PURE__ */H("th",{className:`${E} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
96
- /* @__PURE__ */H("th",{className:`${E} text-right font-medium px-3 h-8 w-40`,children:"Deleted"}),
97
- /* @__PURE__ */H("th",{className:`${E} w-44`})]})}),
98
- /* @__PURE__ */H("tbody",{children:he.map(e=>/* @__PURE__ */A("tr",{className:"border-b border-line-subtle hover:bg-row-hover",children:[
99
- /* @__PURE__ */A("td",{className:"px-3 h-8 flex items-center gap-2",children:[Xe(e.kind),
100
- /* @__PURE__ */H("span",{className:"truncate",title:e.name,children:e.name})]}),
101
- /* @__PURE__ */H("td",{className:"px-3 h-8 text-ink-faint text-xs font-mono truncate",title:e.originalPath,children:e.originalPath||"—"}),
102
- /* @__PURE__ */H("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint",children:s(e.size)}),
103
- /* @__PURE__ */H("td",{className:"px-3 h-8 text-right text-ink-faint tabular-nums",children:e.deletedAt?O(e.deletedAt):"—"}),
104
- /* @__PURE__ */A("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:[
105
- /* @__PURE__ */H("button",{onClick:()=>{return t=e,We(async()=>{await n.restore(t.id),L.success(`Restored "${t.name}"`)},"Restore failed");var t},className:"px-2 py-0.5 rounded hover:bg-row-hover text-accent-text text-2xs",children:"Restore"}),
106
- /* @__PURE__ */H("button",{onClick:()=>(async e=>{await y({title:"Permanently delete",message:`"${e.name}" will be permanently removed. This can't be undone.`,confirmLabel:"Delete forever",variant:"danger"})&&We(()=>n.purge(e.id),"Delete failed")})(e),className:"px-2 py-0.5 rounded hover:bg-status-danger-soft text-danger-text text-2xs ml-1",children:"Delete forever"})]})]},e.id))})]}):_&&0===Me.length?/* @__PURE__ */H($,{size:"sm",padding:"p-6",label:"Loading"}):0===Me.length?/* @__PURE__ */A("div",{className:"p-10 text-center text-sm text-ink-faintest",children:["Empty folder.",Se&&/* @__PURE__ */A(U,{children:[" Drop files here or click ",
107
- /* @__PURE__ */H("span",{className:"font-medium",children:"Upload"}),"."]})]}):/* @__PURE__ */A("table",{className:"w-full text-sm",children:[
108
- /* @__PURE__ */H("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */A("tr",{children:[
109
- /* @__PURE__ */H("th",{className:`${E} text-left font-medium px-3 h-8`,children:"Name"}),
110
- /* @__PURE__ */H("th",{className:`${E} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
111
- /* @__PURE__ */H("th",{className:`${E} text-right font-medium px-3 h-8 w-40`,children:"Modified"}),i&&!Pe&&/* @__PURE__ */H("th",{className:`${E} text-left font-medium px-3 h-8 w-28`,children:"Shared"}),
112
- /* @__PURE__ */H("th",{className:`${E} w-48`})]})}),
113
- /* @__PURE__ */H("tbody",{children:Me.map(e=>{const t=e.role??Re,a="owner"===t,l=Se&&"viewer"!==t;/* @__PURE__ */
114
- return A("tr",{onClick:()=>q(e.id),onDoubleClick:()=>Ie(e),className:"cursor-default border-b border-line-subtle "+(Z===e.id?"bg-accent-tint":"hover:bg-row-hover"),children:[
115
- /* @__PURE__ */A("td",{className:"px-3 h-8 flex items-center gap-2",children:[Xe(e.kind),
116
- /* @__PURE__ */H("span",{className:"truncate",title:e.name,children:e.name})]}),
117
- /* @__PURE__ */H("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint whitespace-nowrap",children:"folder"===e.kind?"—":s(e.size)}),
118
- /* @__PURE__ */H("td",{className:"px-3 h-8 text-right text-ink-faint tabular-nums whitespace-nowrap",children:O(e.modifiedAt)}),i&&!Pe&&/* @__PURE__ */H("td",{className:"px-3 h-8",children:e.shareCount?/* @__PURE__ */H("span",{className:"inline-flex rounded-full bg-accent-tint px-2 py-0.5 text-2xs text-accent-text whitespace-nowrap",children:1===e.shareCount?"1 person":`${e.shareCount} people`}):/* @__PURE__ */H("span",{className:"text-ink-faintest",children:"—"})}),
119
- /* @__PURE__ */H("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:!r&&/* @__PURE__ */A(U,{children:["file"===e.kind&&/* @__PURE__ */H("button",{onClick:t=>{t.stopPropagation(),Te(e)},className:Ge,children:"Download"}),i&&a&&/* @__PURE__ */H("button",{onClick:t=>{t.stopPropagation(),oe(e)},className:Ge,children:"Share"}),l&&/* @__PURE__ */A(U,{children:[
120
- /* @__PURE__ */H("button",{onClick:t=>{t.stopPropagation(),(async e=>{const t=await j({title:`Rename ${e.kind}`,defaultValue:e.name,confirmLabel:"Rename"});t&&t!==e.name&&(/[\\/]/.test(t)?L.error("Names cannot contain slashes"):We(()=>n.rename(e.id,t),"Rename failed"))})(e)},className:Ge,children:"Rename"}),
121
- /* @__PURE__ */H("button",{onClick:t=>{t.stopPropagation(),(async e=>{const t="owner"!==(e.role??"owner");await y({title:`Delete ${e.kind}`,message:`"${e.name}"${"folder"===e.kind?" and everything inside":""} will move to `+(t?`${(e.owner??V?.folder.owner)?.name??"its owner"}'s Trash.`:"Trash. You can restore it from there."),confirmLabel:"Delete",variant:"danger"})&&We(()=>n.remove(e.id),"Delete failed")})(e)},className:"px-2 py-0.5 rounded hover:bg-status-danger-soft text-danger-text text-2xs ml-1",children:"Delete"})]})]})})]},e.id)})})]})})]})})}),i&&/* @__PURE__ */H(B,{store:n,entry:le,onClose:()=>oe(null),onChanged:()=>ye(C)}),ie&&/* @__PURE__ */H("div",{className:"absolute inset-0 bg-accent-tint border-4 border-dashed border-accent-border pointer-events-none flex items-center justify-center z-20",children:/* @__PURE__ */H("div",{className:"px-4 py-2 rounded-md bg-accent-fill text-on-accent text-sm font-medium shadow-lg",children:"Drop to upload"})})]})}export{G as default,Y as quotaExceededMessage};
@@ -1 +0,0 @@
1
- export{PdfViewer as default,fitScale,pdfWasmParams}from"./chunk-5F6KJAF3.js";import"./chunk-TRWHVG3A.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRFNJZRR.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-43MCNASD.js";import"./chunk-C3QOHMR6.js";
@@ -1,44 +0,0 @@
1
- import{useAuth as e,parseOpenSections as t,readStored as r,RAIL_OPEN_SECTIONS_KEY as n,RAIL_WIDTH_KEY as a,toggleOpenSection as i,writeStored as l}from"./chunk-U6LKNGC6.js";import{ResizeHandle as o}from"./chunk-2XQOK3CT.js";import{openGlobalSearch as s}from"./chunk-4KJ7MLWO.js";import{partitionNav as c,visibleNavChildren as d,flyoutGroups as m,visibleSectionItems as h,rowsContainRoute as u}from"./chunk-WGRS6QBT.js";import{BrandMark as p}from"./chunk-MI67DI3H.js";import{IconButton_default as b}from"./chunk-LE5LWALR.js";import{RAIL_MENU_GAP as f,navSections as g,startMenuCategories as x,TAB_STRIP_H as k,RAIL_COLLAPSED_INSET as y,RAIL_W as N,RAIL_MAX_W as v,RAIL_MIN_W as j,navIcons as C,sectionIcons as w}from"./chunk-4LXCCZDM.js";import"./chunk-5A7MWTXX.js";import"./chunk-7QSDPSXP.js";import"./chunk-2QY5BJLA.js";import{PopupMenu as S,PopupMenuItem as L,PopupMenuDivider as W,PopupMenuLabel as z}from"./chunk-BFA5U5JF.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-UQYNPYF4.js";import"./chunk-TE6R53YD.js";import{Icon as $}from"./chunk-MRFNJZRR.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-NJN5IKWO.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-TWVUQUUD.js";import{useShellStrings as A}from"./chunk-43MCNASD.js";import"./chunk-C3QOHMR6.js";import{useMemo as R,useState as M,useRef as I,useEffect as T,isValidElement as H,cloneElement as K}from"react";import{jsx as D,jsxs as J,Fragment as Q}from"react/jsx-runtime";var B="undefined"!=typeof navigator&&/Mac|iPhone|iPad/.test(navigator.platform);function U(e,t,r){const n=Math.max(8,r-t.bottom);return{left:e+f,bottom:n,maxHeight:r-n-8,overflowY:"auto"}}var P=(e,t)=>["flex h-(--row-height-menu) w-full items-center gap-3 rounded-md px-3 text-left text-sm font-medium transition-colors",t?"justify-center px-0":"",e?"bg-gray-100 text-gray-900":"text-gray-600 hover:bg-gray-100 hover:text-gray-900"].join(" "),F="flex size-[18px] shrink-0 items-center justify-center [&>svg]:size-[18px]";function O({open:e,children:t}){const r=I(null);return T(()=>{r.current?.toggleAttribute("inert",!e)},[e]),/* @__PURE__ */D("div",{ref:r,className:"grid transition-[grid-template-rows,opacity] duration-200 ease-out motion-reduce:transition-none",style:{gridTemplateRows:e?"1fr":"0fr",opacity:e?1:0},"aria-hidden":!e,"data-fold":e?"open":"closed",children:/* @__PURE__ */D("div",{className:"min-h-0 overflow-hidden",children:t})})}function X({open:e}){/* @__PURE__ */
2
- return D($,{name:"chevron-down",className:"size-4 shrink-0 transition-transform "+(e?"rotate-180":""),strokeWidth:2,"aria-hidden":"true"})}function Y({dir:e}){/* @__PURE__ */
3
- return D($,"left"===e?{name:"chevron-double-left",className:"size-[18px] shrink-0",strokeWidth:1.5,"aria-hidden":"true"}:{name:"chevron-double-right",className:"size-[18px] shrink-0",strokeWidth:1.5,"aria-hidden":"true"})}function _({className:e}){/* @__PURE__ */
4
- return D($,{name:"search",className:e,strokeWidth:2,"aria-hidden":"true"})}var G=e=>.75+1.75*e+"rem";function Z({width:Z,collapsed:E,onToggleCollapsed:V,onResize:q,onHome:ee,onOpen:te,activeRoute:re,profile:ne,user:ae,onLogout:ie,onSwitchToDesktop:le,onReportBug:oe,onClose:se,navSections:ce=g,navIcons:de=C,sectionIcons:me=w,categories:he=x,productName:ue,productIcon:pe,tagline:be,adaptiveLogo:fe=!1,logoHasAlpha:ge=null,logoIsLight:xe=null}){const ke=A().layout,{hasAnyPerm:ye}=e(),Ne=R(()=>c(ce,he,ye),[ce,he,ye]),[ve,je]=M(()=>t(r(n))),Ce=R(()=>[...Ne.topItems.filter(e=>d(e,ye).length>0).map(e=>`child:${e.to}`),...[...Ne.erpSections,...Ne.systemSections,...Ne.virtualSections,...Ne.footerSections].map(e=>e.label)],[Ne,ye]),we=(e,t=Ce)=>je(r=>{const a=i(r,e,t);return l(n,JSON.stringify([...a])),a}),[Se,Le]=M(null),[We,ze]=M(!1),$e=I(null);T(()=>{E||Le(null)},[E]);const Ae=(e,t)=>{Le(null),e.onSelect?e.onSelect():te(e.to,!!t&&(e=>e.metaKey||e.ctrlKey||1===e.button)(t))},Re=(e,t)=>{const r=t[e];/* @__PURE__ */
5
- return D("span",{className:F,"aria-hidden":"true",children:r&&H(r)?K(r,{className:"size-[18px]"}):r})},Me=e=>e.filter(e=>d(e,ye).length>0).map(e=>`child:${e.to}`),Ie=(e,t,r=Ce)=>{const n=d(e,ye),a=e.menuLabel??e.label;if(n.length>0){const i=`child:${e.to}`,l=ve.has(i),o=!l&&u(n,re,ye);/* @__PURE__ */
6
- return J("div",{children:[
7
- /* @__PURE__ */J("button",{type:"button",onClick:()=>we(i,r),"aria-expanded":l,className:P(o,!1),style:t>0?{paddingLeft:G(t)}:void 0,children:[0===t&&Re(e.to,de),
8
- /* @__PURE__ */D("span",{className:"min-w-0 flex-1 truncate",children:a}),
9
- /* @__PURE__ */D(X,{open:l})]}),
10
- /* @__PURE__ */D(O,{open:l,children:/* @__PURE__ */D("div",{className:"space-y-0.5 pt-0.5",children:n.map(e=>Ie(e,t+1,Me(n)))})}),e.dividerAfter&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:G(t)},"aria-hidden":"true"})]},e.to)}const i=e.to===re;/* @__PURE__ */
11
- return J("div",{children:[
12
- /* @__PURE__ */J("button",{type:"button",onClick:t=>Ae(e,t),onAuxClick:t=>{1===t.button&&Ae(e,t)},"aria-current":i?"page":void 0,className:P(i,!1),style:t>0?{paddingLeft:G(t)}:void 0,children:[0===t&&Re(e.to,de),
13
- /* @__PURE__ */D("span",{className:"min-w-0 flex-1 truncate",children:a})]}),e.dividerAfter&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:G(t)},"aria-hidden":"true"})]},e.to)},Te=(e,t)=>{const r=t?e.items:h(e,ye);if(0===r.length)return null;const n="icon"in e&&e.icon?/* @__PURE__ */D("span",{className:F,"aria-hidden":"true",children:e.icon}):Re(e.label,me),a=e.menuLabel??e.label,i=u(r,re,ye),l="dividerAfter"in e&&e.dividerAfter;if(E)/* @__PURE__ */
14
- return J("div",{children:[
15
- /* @__PURE__ */D("button",{type:"button",title:a,"aria-label":a,"aria-haspopup":"menu","aria-expanded":Se?.label===e.label,onClick:t=>{const n=t.currentTarget.getBoundingClientRect();Le(t=>t?.label===e.label?null:{label:e.label,items:r,top:n.top})},className:P(i||Se?.label===e.label,!0),children:n}),l&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.label);const o=ve.has(e.label),s=`rosh-rail-${e.label.replace(/[^a-z0-9]+/gi,"-").toLowerCase()}`;/* @__PURE__ */
16
- return J("div",{children:[
17
- /* @__PURE__ */J("button",{type:"button",onClick:()=>we(e.label),"aria-expanded":o,"aria-controls":s,className:P(!o&&i,!1),children:[n,
18
- /* @__PURE__ */D("span",{className:"min-w-0 flex-1 truncate",children:a}),
19
- /* @__PURE__ */D(X,{open:o})]}),
20
- /* @__PURE__ */D(O,{open:o,children:/* @__PURE__ */D("div",{id:s,role:"group","aria-label":a,className:"space-y-0.5 pt-0.5",children:r.map(e=>Ie(e,1,Me(r)))})}),l&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.label)},He=ne?.first_name?`${ne.first_name} ${ne.last_name||""}`.trim():ae?.email||"",Ke=(ne?.first_name?.charAt(0)||ae?.email?.charAt(0)||"?").toUpperCase(),De=ne?.avatar_url?/* @__PURE__ */D("img",{src:ne.avatar_url,alt:"",className:"size-8 shrink-0 rounded-full object-cover"}):/* @__PURE__ */D("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-blue-600 text-xs font-semibold text-white",children:Ke}),Je=We?$e.current?.getBoundingClientRect():void 0,Qe=E?"":"px-3",Be=E?{paddingInline:y}:void 0,Ue=`${E?ke.expandSidebar:ke.collapseSidebar} (${B?"⌘":"Ctrl"} .)`,Pe=ee?{run:ee,label:ke.goHome,title:ke.goHome}:se?null:{run:V,label:E?ke.expandSidebar:ke.collapseSidebar,title:Ue},Fe=/* @__PURE__ */J(Q,{children:[pe&&/* @__PURE__ */D(p,{src:pe,alt:"",slot:"compact",surface:"light",adaptive:fe,hasAlpha:ge,isLight:xe,size:28,decorative:!0}),!E&&/* @__PURE__ */J("span",{className:"min-w-0 text-left leading-tight",children:[
21
- /* @__PURE__ */D("span",{className:"block truncate text-base font-bold tracking-wide text-gray-900",children:ue??"Apps"}),be&&/* @__PURE__ */D("span",{className:"block truncate text-2xs font-medium text-gray-500",children:be})]})]}),Oe=Ne.erpSections.length>0||Ne.systemSections.length>0||Ne.virtualSections.length>0;/* @__PURE__ */
22
- return J("aside",{"aria-label":ke.navLabel,className:"fixed left-0 top-0 z-(--z-sidebar) flex h-dvh flex-col border-r border-line bg-surface text-ink-strong",style:{width:Z},children:[
23
- /* @__PURE__ */J("div",{className:"flex shrink-0 items-center border-b border-gray-200 "+(E?"justify-center":"justify-between gap-2 pl-4 pr-2"),style:{height:k},children:[Pe?/* @__PURE__ */D("button",{type:"button",onClick:Pe.run,"aria-label":Pe.label,title:Pe.title,className:"flex min-w-0 items-center gap-2 rounded-md transition-colors hover:bg-gray-100 "+(E?"justify-center p-0.5":"-ml-1 p-1"),children:Fe}):/* @__PURE__ */D("span",{className:"flex min-w-0 items-center gap-2",children:Fe}),se?/* @__PURE__ */D(b,{onClick:se,"aria-label":ke.closeMenu,children:/* @__PURE__ */D($,{name:"close",className:"size-[18px]",strokeWidth:1.5,"aria-hidden":"true"})}):!E&&/* @__PURE__ */D("button",{type:"button",onClick:V,"aria-label":ke.collapseSidebar,title:`${ke.collapseSidebar} (${B?"⌘":"Ctrl"} .)`,className:"flex size-8 shrink-0 items-center justify-center rounded-md text-gray-500 transition-colors hover:bg-gray-100 hover:text-gray-900",children:/* @__PURE__ */D(Y,{dir:"left"})})]}),
24
- /* @__PURE__ */D("div",{className:`shrink-0 pt-3 ${Qe}`,style:Be,children:E?/* @__PURE__ */D("button",{type:"button",onClick:s,"aria-label":ke.search,title:`${ke.search} (${B?"⌘K":"Ctrl K"})`,className:P(!1,!0),children:/* @__PURE__ */D(_,{className:"size-[18px] shrink-0"})}):/* @__PURE__ */J("button",{type:"button",onClick:s,className:"flex h-(--row-height-menu) w-full items-center gap-2 rounded-md border border-line bg-surface px-3 text-left transition-colors hover:bg-gray-100",children:[
25
- /* @__PURE__ */D(_,{className:"size-3.5 text-gray-500"}),
26
- /* @__PURE__ */D("span",{className:"min-w-0 flex-1 truncate text-sm text-ink-faint",children:ke.search}),
27
- /* @__PURE__ */D("kbd",{className:"rounded border border-line bg-gray-100 px-2 py-0.5 font-mono text-2xs font-semibold text-ink-faint",children:B?"⌘K":"Ctrl K"})]})}),
28
- /* @__PURE__ */J("nav",{"aria-label":ke.navLabel,className:`min-h-0 flex-1 overflow-y-auto pb-4 pt-3 ${Qe} ${E?"space-y-1":"space-y-0.5"}`,style:Be,children:[E&&/* @__PURE__ */D("button",{type:"button",onClick:V,"aria-label":ke.expandSidebar,title:`${ke.expandSidebar} (${B?"⌘":"Ctrl"} .)`,className:`${P(!1,!0)} mb-3`,children:/* @__PURE__ */D(Y,{dir:"right"})}),Ne.topItems.map(e=>{if(!E)return Ie(e,0);const t=d(e,ye),r=e.to===re||u(t,re,ye),n=e.menuLabel??e.label;/* @__PURE__ */
29
- return J("div",{children:[
30
- /* @__PURE__ */D("button",{type:"button",title:n,"aria-label":n,onClick:r=>{if(0===t.length)return void Ae(e,r);const n=r.currentTarget.getBoundingClientRect();Le(r=>r?.label===e.to?null:{label:e.to,items:t,top:n.top})},className:P(r,!0),children:Re(e.to,de)}),e.dividerAfter&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.to)}),Ne.topItems.length>0&&Oe&&!Ne.topItems[Ne.topItems.length-1].dividerAfter&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),Ne.erpSections.map(e=>Te(e,!1)),Ne.systemSections.map(e=>Te(e,!1)),Ne.virtualSections.map(e=>Te(e,!0)),Ne.footerSections.length>0&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),Ne.footerSections.map(e=>Te(e,!1))]}),
31
- /* @__PURE__ */D("div",{className:`shrink-0 border-t border-gray-200 py-2 ${Qe}`,style:Be,children:/* @__PURE__ */J("button",{ref:$e,type:"button",onClick:()=>ze(e=>!e),"aria-haspopup":"menu","aria-expanded":We,"aria-label":E?ke.accountMenu(He):void 0,className:"flex w-full items-center gap-3 rounded-md hover:bg-gray-100 "+(E?"justify-center py-2":"px-2 py-2"),children:[De,!E&&/* @__PURE__ */J("span",{className:"min-w-0 flex-1 text-left",children:[
32
- /* @__PURE__ */D("span",{className:"block truncate text-sm font-semibold text-ink-strong",children:He}),ae?.email&&He!==ae.email&&/* @__PURE__ */D("span",{className:"block truncate text-2xs text-ink-faint",children:ae.email})]})]})}),q&&!E&&!se&&/* @__PURE__ */D(o,{side:"left",width:Z,onResize:q,min:j,max:v,defaultWidth:N,storageKey:a,label:ke.resizeSidebar}),We&&Je&&/* @__PURE__ */J(S,{portal:!0,minWidth:224,onClose:()=>ze(!1),style:U(Z,Je,window.innerHeight),children:[E&&/* @__PURE__ */J("div",{className:"border-b border-line px-3 py-3",children:[
33
- /* @__PURE__ */D("p",{className:"truncate text-sm font-semibold text-gray-800",children:He}),ae?.email&&/* @__PURE__ */D("p",{className:"truncate text-xs text-gray-500",children:ae.email})]}),
34
- /* @__PURE__ */J(L,{onClick:()=>{ze(!1),te("/profile",!1)},children:[
35
- /* @__PURE__ */D($,{name:"account",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.profile]}),Ne.footerItems.map(e=>/* @__PURE__ */J(L,{onClick:()=>{ze(!1),Ae(e)},children:[
36
- /* @__PURE__ */D("span",{className:"h-4 w-4 [&>svg]:size-4","aria-hidden":"true",children:de[e.to]}),e.menuLabel??e.label]},e.to)),oe&&/* @__PURE__ */J(L,{onClick:()=>{ze(!1),oe()},children:[
37
- /* @__PURE__ */D($,{name:"error",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.reportIssue]}),
38
- /* @__PURE__ */D(W,{}),le&&/* @__PURE__ */J(Q,{children:[
39
- /* @__PURE__ */J(L,{onClick:()=>{ze(!1),le()},children:[
40
- /* @__PURE__ */D($,{name:"desktop",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.switchToDesktop]}),
41
- /* @__PURE__ */D(W,{})]}),
42
- /* @__PURE__ */J(L,{danger:!0,onClick:()=>{ze(!1),ie()},children:[
43
- /* @__PURE__ */D($,{name:"logout",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.signOut]})]}),Se&&E&&/* @__PURE__ */D(S,{portal:!0,minWidth:220,onClose:()=>Le(null),style:{left:Z+f,top:Math.min(Se.top,window.innerHeight-48*Math.min(Se.items.length,10)-16)},children:m(Se.items,ye).map((e,t)=>/* @__PURE__ */J("div",{role:e.heading?"group":void 0,"aria-label":e.heading?e.heading.menuLabel??e.heading.label:void 0,children:[t>0&&/* @__PURE__ */D(W,{}),e.heading&&/* @__PURE__ */D(z,{children:e.heading.menuLabel??e.heading.label}),e.items.map(e=>/* @__PURE__ */J(L,{onClick:()=>Ae(e),children:[Re(e.to,de),
44
- /* @__PURE__ */D("span",{className:e.to===re?"font-semibold":"",children:e.menuLabel??e.label})]},e.to))]},e.heading?.to??`run-${t}`))})]})}export{U as accountMenuPosition,Z as default};
@@ -1,3 +0,0 @@
1
- import{DropdownMenu as e}from"./chunk-FUUJJ7OH.js";import{Button_default as i}from"./chunk-EOVXFXVV.js";import{iconButtonClasses as n}from"./chunk-UQYNPYF4.js";import{Icon as r}from"./chunk-MRFNJZRR.js";import{Tooltip as a}from"./chunk-NJN5IKWO.js";import{forwardRef as l,useId as o}from"react";import{jsxs as s,jsx as t}from"react/jsx-runtime";var d="relative focus-visible:z-10",m={secondary:"border-l-0",primary:"border-l border-white/30",warning:"border-l border-white/30"},c=l(function({children:l,onClick:c,type:b="button",items:h,menuLabel:u,variant:f="primary",size:p="md",loading:v=!1,leftIcon:k,disabled:N=!1,disabledReason:g,tooltip:w,menuDisabled:x=!1,menuDisabledReason:j,onMenuOpenChange:y,menuFooter:F,menuFooterLabel:R,align:C="end",side:O="bottom",menuMinWidth:W,linkAs:z,block:J=!1,className:I=""},L){const M=N&&(null!=g&&""!==g&&!1!==g)&&!v,U=x&&null!=j&&""!==j&&!1!==j,V=o(),$=/* @__PURE__ */t(i,{ref:L,type:b,variant:f,size:p,loading:v,leftIcon:k,block:J,disabled:N&&!M,"aria-disabled":!!M||void 0,disabledReason:M?g:void 0,onClick:c,className:`rounded-r-none ${d}`,children:l}),A=J?"relative flex min-w-0 flex-1":"relative inline-flex",D=p.startsWith("touch")?"h-5 w-5":"h-4 w-4";/* @__PURE__ */
2
- return s("div",{className:[J?"flex w-full":"inline-flex","items-stretch",I].filter(Boolean).join(" "),children:[null==w||""===w||M?$:/* @__PURE__ */t(a,{content:w,className:A,children:$}),
3
- /* @__PURE__ */t(a,{content:U?j:u,describe:!1,className:"relative inline-flex shrink-0",children:/* @__PURE__ */t(e,{"aria-label":u,"aria-describedby":U?V:void 0,items:h,align:C,side:O,minWidth:W,linkAs:z,disabled:x&&!U,"aria-disabled":U,onOpenChange:y,footer:F,footerLabel:R,triggerClassName:n({variant:f,size:p,className:`rounded-l-none ${m[f]} ${d}`}),trigger:/* @__PURE__ */t(r,{name:"chevron-down",className:D,strokeWidth:2,"aria-hidden":"true"})})}),U&&/* @__PURE__ */t("span",{id:V,className:"sr-only",children:j})]})});export{c as SplitButton_default};
@@ -1,11 +0,0 @@
1
- import{LIGHTBOX_PICTURE_FIT as e,ZoomableImage as t}from"./chunk-CGUMJZUB.js";import{isVideoUrl as r,mediaFileName as n}from"./chunk-QBD7V4TK.js";import{dialogA11y as o}from"./chunk-VWGWZY7A.js";import{useDismissPopupsOnOpen as a}from"./chunk-7QSDPSXP.js";import{useFocusTrap as l,useScrollLock as i}from"./chunk-CDAJKLGL.js";import{Button_default as c}from"./chunk-EOVXFXVV.js";import{buttonClasses as s}from"./chunk-UQYNPYF4.js";import{Icon as m}from"./chunk-MRFNJZRR.js";import{Z_LAYERS as u}from"./chunk-62LW225J.js";import{useHydrated as d}from"./chunk-D65T4H6J.js";import{registerModalEscapeInterceptor as f}from"./chunk-TWVUQUUD.js";import{useShellStrings as h}from"./chunk-43MCNASD.js";import{useRef as p,useState as x,useCallback as b,useEffect as k}from"react";import{createPortal as g}from"react-dom";import{jsx as v,jsxs as w,Fragment as N}from"react/jsx-runtime";var y=/\.(pdf|docx?|xlsx?|pptx?|csv|txt|zip|rar|7z|dwg|dxf|stp|step|igs|iges)(?:[?#]|$)/i;function j(e){return e.kind?e.kind:r(e.url)?"video":y.test(e.url)?"file":"image"}var C="flex items-center justify-center rounded-full bg-black/60 text-on-accent hover:bg-black/80 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",D=e=>e.stopPropagation();function A({images:r,startIndex:y=0,onClose:A,onIndexChange:F,onOpenFile:L}){const U=h().lightbox,V=d(),$=p(null),z=p(null),[J,R]=x(y),I=r.length,M=V&&I>0,P=b(e=>{if(I<2)return;const t=((J+e)%I+I)%I;R(t),F?.(t)},[J,I,F]);if(a(M),l($,M,z),i(M),k(()=>{if(M)return f(()=>(A(),!0),()=>$.current)},[M,A]),k(()=>{if(!M)return;const e=e=>{"ArrowLeft"!==e.key&&"ArrowRight"!==e.key||e.target?.closest?.("video")||(e.preventDefault(),P("ArrowRight"===e.key?1:-1))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[M,P]),!M)return null;const Q=r[Math.min(J,I-1)],W=j(Q),E=Q.caption||n(Q.url);let G;return G="video"===W?/* @__PURE__ */v("video",{src:Q.url,controls:!0,playsInline:!0,"aria-label":E,onClick:D,className:`${e} rounded-lg bg-black`}):"file"===W?/* @__PURE__ */w("div",{onClick:D,className:"flex max-w-[calc(100vw-144px)] flex-col items-center gap-3 rounded-lg bg-surface px-10 py-8 text-center text-ink-faint",children:[
2
- /* @__PURE__ */v(m,{name:"document","aria-hidden":"true",className:"h-10 w-10"}),
3
- /* @__PURE__ */v("span",{className:"max-w-[60ch] break-all text-sm font-medium text-ink",children:E}),L?/* @__PURE__ */v(c,{size:"sm",onClick:()=>L(Q),children:U.openFile}):/* @__PURE__ */v("a",{href:Q.url,target:"_blank",rel:"noopener noreferrer",className:s({size:"sm"}),children:U.openFile})]}):/* @__PURE__ */v(t,{src:Q.url,alt:E,className:`${e} object-contain`,frameClassName:"rounded-lg"}),g(
4
- /* @__PURE__ */w("div",{ref:$,...o({role:"dialog",modal:!0,label:U.label}),"data-lightbox-backdrop":"",className:"fixed inset-0 flex items-center justify-center bg-black/80",style:{zIndex:u.overlay},onClick:A,children:[G,
5
- /* @__PURE__ */w("div",{className:"absolute right-4 top-4 flex items-center gap-2",onClick:D,children:[
6
- /* @__PURE__ */v("span",{className:"rounded bg-black/60 px-2 py-1 text-xs text-on-accent tabular-nums",children:U.counter(J+1,I)}),
7
- /* @__PURE__ */v("button",{ref:z,type:"button",onClick:A,"aria-label":U.close,className:`${C} h-8 w-8`,children:/* @__PURE__ */v(m,{name:"close","aria-hidden":"true",className:"h-4 w-4"})})]}),I>1&&/* @__PURE__ */w(N,{children:[
8
- /* @__PURE__ */v("button",{type:"button",onClick:e=>{D(e),P(-1)},"aria-label":U.previous,className:`${C} absolute left-4 top-1/2 h-10 w-10 -translate-y-1/2`,children:/* @__PURE__ */v(m,{name:"chevron-left","aria-hidden":"true",className:"h-5 w-5"})}),
9
- /* @__PURE__ */v("button",{type:"button",onClick:e=>{D(e),P(1)},"aria-label":U.next,className:`${C} absolute right-4 top-1/2 h-10 w-10 -translate-y-1/2`,children:/* @__PURE__ */v(m,{name:"chevron-right","aria-hidden":"true",className:"h-5 w-5"})})]}),
10
- /* @__PURE__ */w("div",{className:"absolute inset-x-18 bottom-4 flex items-center justify-center gap-3",onClick:D,children:[
11
- /* @__PURE__ */v("span",{className:"min-w-0 break-words text-center text-sm text-on-accent/85",children:E}),"file"!==W&&/* @__PURE__ */v("a",{href:Q.url,target:"_blank",rel:"noopener noreferrer",className:"flex-none text-xs font-medium text-on-accent/70 underline decoration-on-accent/30 underline-offset-2 hover:text-on-accent",children:U.openOriginal})]})]}),document.body)}export{A as ImageLightbox,j as lightboxKind};
@@ -1,6 +0,0 @@
1
- import{TEXT_ALIGNS as e,textAlignWords as l,textAlignIcon as r}from"./chunk-VW7W6LCV.js";import{IconButton_default as a}from"./chunk-LE5LWALR.js";import{Icon as o}from"./chunk-MRFNJZRR.js";import{Tooltip as n}from"./chunk-NJN5IKWO.js";import{useShellStrings as s}from"./chunk-43MCNASD.js";import{jsx as i,jsxs as t,Fragment as d}from"react/jsx-runtime";var c=e=>e.preventDefault(),u=e=>null!=e&&!1!==e,h=["bold","italic","underline","strike","link","sup","sub","code"];function p(e,l,r){const a={ArrowRight:1,ArrowDown:1,ArrowLeft:-1,ArrowUp:-1,Home:"first",End:"last"}[e.key];if(void 0===a||0===l.length)return;const o=[...e.currentTarget.querySelectorAll('[role="radio"]')],n=o.findIndex(l=>l===e.target||l.contains(e.target));if(n<0)return;e.preventDefault();const s=o.length,i="first"===a?0:"last"===a?s-1:(n+a+s)%s;o[i].disabled||(r(l[i]),o[i].focus())}function b(e,l){const r=["bold","italic","underline","strike"].filter(l=>e.has(l)).length;return{color:r,link:r+(l?1:0)}}function m(e,l,r,a){const o=h.filter(l=>"link"!==l&&e.has(l)).length+(l?1:0);return r&&0!==o?a>0?"paragraph":"words":null}function w({offered:l,color:r,last:a,alignment:o,list:n,letterCase:s,clear:i}){let t=h.filter(e=>l.has(e)).length+(r?1:0)+(u(a)?1:0),d=(o?e.filter(e=>o.allow.includes(e)).length:0)+(n&&l.has("bullet")?1:0)+(n&&l.has("number")?1:0)+(l.has("quote")?1:0)+(s?3:0);const c=m(l,r,i,d);return"paragraph"===c&&(d+=1),"words"===c&&(t+=1),{words:t>0,paragraph:d>0,oneRow:t>0&&d>0&&t+1+d<=9,flow:t>0&&d>0&&t+1+d>9&&t<=7,cells:{words:t,paragraph:d}}}function g(e,l){/* @__PURE__ */
2
- return i(n,{content:e,children:l},l.key??void 0)}function f({offered:n,pressed:h,onMark:f,color:k,linkOpen:v=!1,last:N,alignment:C,list:M,letterCase:D,clear:x,disabled:y=!1,"aria-label":L,windows:R,className:A="",layout:j="grid"}){const q=s().textToolbar,I=w({offered:n,color:k,last:N,alignment:C,list:M,letterCase:D,clear:x});if(!I.words&&!I.paragraph)return null;const S=m(n,k,x,I.cells.paragraph),$=(e,l="")=>`rosh-tb-btn${e?" is-on":""}${l?` ${l}`:""}`,B=(e,l,r,o)=>n.has(e)?g(l,/* @__PURE__ */i(a,"link"===e?{pressed:v,className:$(v),"aria-label":l,"aria-haspopup":"dialog","aria-expanded":v,"aria-keyshortcuts":o,disabled:y,onMouseDown:c,onClick:()=>f(e),children:r}:{className:$(Boolean(h[e])),"aria-label":l,"aria-pressed":Boolean(h[e]),"aria-keyshortcuts":o,disabled:y,onMouseDown:c,onClick:()=>f(e),children:r},e)):null,K=l(q),W=e.map(e=>[e,K[e],r(e)]),T=C?e.filter(e=>C.allow.includes(e)):[],U=C&&T.includes(C.value)?C.value:T[0],E=[["none",q.caseNone,/* @__PURE__ */i(o,{name:"case-normal"})],["upper",q.caseUpper,/* @__PURE__ */i(o,{name:"case-upper"})],["lower",q.caseLower,/* @__PURE__ */i(o,{name:"case-lower"})]],J=x&&S?g(q.clear,/* @__PURE__ */i(a,{className:$(!1),"aria-label":q.clear,disabled:y,onMouseDown:c,onClick:x.onClear,children:/* @__PURE__ */i(o,{name:"revert"})},"clear")):null,O=/* @__PURE__ */t(d,{children:[B("bold",q.bold,/* @__PURE__ */i(o,{name:"bold"}),"Meta+B"),B("italic",q.italic,/* @__PURE__ */i(o,{name:"italic"}),"Meta+I"),B("underline",q.underline,/* @__PURE__ */i(o,{name:"underline"}),"Meta+U"),B("strike",q.strike,/* @__PURE__ */i(o,{name:"strike"})),k?g(q.color,/* @__PURE__ */i(a,{pressed:k.open,className:$(k.open,"rosh-tb-color"),"aria-label":q.color,"aria-haspopup":"dialog","aria-expanded":k.open,disabled:y,style:k.run?{"--rosh-tb-run":k.run}:void 0,onMouseDown:c,onClick:k.onToggle,children:/* @__PURE__ */i(o,{name:"text-color"})},"color")):null,B("link",q.link,/* @__PURE__ */i(o,{name:"link"}),"Meta+K"),B("sup",q.sup,/* @__PURE__ */i(o,{name:"superscript"})),B("sub",q.sub,/* @__PURE__ */i(o,{name:"subscript"})),B("code",q.code,/* @__PURE__ */i(o,{name:"code"})),u(N)?N:null,"words"===S?J:null]}),V=/* @__PURE__ */t(d,{children:[C&&T.length>0?/* @__PURE__ */i("div",{className:"rosh-tb-group",role:"radiogroup","aria-label":q.alignment,onKeyDown:e=>p(e,T,e=>C.onChange(e)),children:W.map(([e,l,r])=>C.allow.includes(e)?g(l,/* @__PURE__ */i(a,{role:"radio",pressed:C.value===e,className:$(C.value===e),"aria-checked":C.value===e,"aria-label":l,tabIndex:e===U?0:-1,disabled:y||C.disabled,onMouseDown:c,onClick:()=>C.onChange(e),children:r},e)):null)}):null,M&&n.has("bullet")?g(q.bullet,/* @__PURE__ */i(a,{className:$("bullet"===M.pressed),"aria-label":q.bullet,"aria-pressed":"bullet"===M.pressed,disabled:y,onMouseDown:c,onClick:()=>M.onList("bullet"),children:/* @__PURE__ */i(o,{name:"list"})},"bullet")):null,M&&n.has("number")?g(q.number,/* @__PURE__ */i(a,{className:$("number"===M.pressed),"aria-label":q.number,"aria-pressed":"number"===M.pressed,disabled:y,onMouseDown:c,onClick:()=>M.onList("number"),children:/* @__PURE__ */i(o,{name:"numbered-list"})},"number")):null,B("quote",q.quote,/* @__PURE__ */i(o,{name:"quote"})),D?/* @__PURE__ */i("div",{className:"rosh-tb-group",role:"radiogroup","aria-label":q.letterCase,onKeyDown:e=>p(e,E.map(([e])=>e),e=>D.onChange(e)),children:E.map(([e,l,r])=>g(l,/* @__PURE__ */i(a,{role:"radio",pressed:D.value===e,className:$(D.value===e),"aria-checked":D.value===e,"aria-label":l,tabIndex:e===(D.value||"none")?0:-1,disabled:y||D.disabled,onMouseDown:c,onClick:()=>D.onChange(D.value===e?"":e),children:r},e)))}):null,"paragraph"===S?J:null]}),F="row"===j,H=F?" is-row":I.flow?" is-flow":I.oneRow?" is-one-row":I.words&&void 0===N&&"words"!==S?" is-eight":"",Z=b(n,Boolean(k)),z={"--rosh-tb-color-col":String(Z.color),"--rosh-tb-link-col":String(Z.link),...F?{"--rosh-tb-cells":String(I.cells.words+I.cells.paragraph),"--rosh-tb-groupgap":I.words&&I.paragraph?"var(--space-8, 0.5rem)":"0px"}:{}};let G;return G=F?/* @__PURE__ */t("div",{className:"rosh-tb-row is-row",children:[I.words?/* @__PURE__ */i("div",{className:"rosh-tb-words",children:O}):null,I.paragraph?/* @__PURE__ */i("div",{className:"rosh-tb-para",children:V}):null]}):I.flow?/* @__PURE__ */t("div",{className:"rosh-tb-row is-flow",children:[O,
3
- /* @__PURE__ */i("span",{className:"rosh-tb-flowgap","aria-hidden":"true"}),V]}):I.oneRow?/* @__PURE__ */t("div",{className:"rosh-tb-row is-one-row",children:[
4
- /* @__PURE__ */i("div",{className:"rosh-tb-words",children:O}),
5
- /* @__PURE__ */i("div",{className:"rosh-tb-para",children:V})]}):/* @__PURE__ */t(d,{children:[I.words?/* @__PURE__ */i("div",{className:"rosh-tb-row"+(void 0===N&&"words"!==S?" is-eight":""),children:O}):null,I.paragraph?/* @__PURE__ */i("div",{className:"rosh-tb-row",children:V}):null]}),/* @__PURE__ */t("div",{className:`rosh-tb-wrap${H} ${A}`.trim(),style:z,children:[
6
- /* @__PURE__ */i("div",{className:"rosh-tb",role:"toolbar","aria-label":L??q.formatting,children:G}),R]})}export{f as TextToolbar,w as textToolbarRows,b as textToolbarWindowColumns};