efficient-shell 12.2.0 → 12.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -1
- package/dist/{Browser-UK645CZ3.js → Browser-Z4Q2NDFT.js} +15 -15
- package/dist/Calculator-AHBFZ4EN.js +29 -0
- package/dist/{CurrencyConverter-XNWE5MQW.js → CurrencyConverter-PZYRBADV.js} +6 -6
- package/dist/Files-EX6JA4CJ.js +121 -0
- package/dist/{Notepad-JP52QKUC.js → Notepad-U4OSPCX3.js} +12 -12
- package/dist/PdfViewer-GUXUWGMG.js +1 -0
- package/dist/{PomodoroTimer-SBV43YX6.js → PomodoroTimer-WGN2KNSB.js} +68 -68
- package/dist/{Preview-TKEDKVNI.js → Preview-JGRBT3EM.js} +56 -56
- package/dist/Sidebar-F7HHC5GY.js +44 -0
- package/dist/{Stock-GODZPUR3.js → Stock-5GEEDQVT.js} +3 -3
- package/dist/{Weather-2IIV4CFT.js → Weather-WMQQXWHH.js} +17 -17
- package/dist/{WorldClock-JW4MLMCB.js → WorldClock-IK3WTHVW.js} +7 -7
- package/dist/ai/index.d.ts +9 -1
- package/dist/ai/index.js +79 -79
- package/dist/apps/ImageAnnotator.d.ts +21 -0
- package/dist/apps/ImageAnnotator.js +2 -0
- package/dist/apps/index.js +1 -1
- package/dist/bin/media-host-check.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/charts/BoxPlotChart.js +1 -1
- package/dist/charts/CandlestickChart.js +1 -1
- package/dist/charts/CartesianPlot.js +1 -1
- package/dist/charts/ChartTooltip.js +1 -1
- package/dist/charts/ChordChart.js +1 -1
- package/dist/charts/ColumnChart.js +1 -1
- package/dist/charts/FlowChart.d.ts +25 -0
- package/dist/charts/FlowChart.js +2 -0
- package/dist/charts/FunnelChart.js +1 -1
- package/dist/charts/HeatmapChart.js +1 -1
- package/dist/charts/HistogramChart.js +1 -1
- package/dist/charts/PieChart.js +1 -1
- package/dist/charts/RadarChart.js +1 -1
- package/dist/charts/RadialBarChart.js +1 -1
- package/dist/charts/RangeChart.js +1 -1
- package/dist/charts/SankeyChart.js +1 -1
- package/dist/charts/ScatterChart.js +1 -1
- package/dist/charts/SpecChart.js +1 -1
- package/dist/charts/SunburstChart.js +1 -1
- package/dist/charts/TimeSeriesChart.js +1 -1
- package/dist/charts/TreemapChart.js +1 -1
- package/dist/charts/WaterfallChart.js +1 -1
- package/dist/charts/flowSpec.d.ts +94 -0
- package/dist/charts/flowSpec.js +1 -0
- package/dist/{chunk-NZYI4XV5.js → chunk-2BMGV6DE.js} +5 -5
- package/dist/chunk-2YRLRMZH.js +23 -0
- package/dist/{chunk-VFBBGLRA.js → chunk-3LTZ4N46.js} +13 -13
- package/dist/{chunk-BXZSLRNO.js → chunk-3PWI5IH7.js} +14 -14
- package/dist/{chunk-AJ5NU7UH.js → chunk-3UHTHQGK.js} +8 -8
- package/dist/{chunk-FOTDGSY5.js → chunk-45IVWLKF.js} +1 -1
- package/dist/{chunk-ZUBTNUVE.js → chunk-4ZUV6WQT.js} +1 -1
- package/dist/{chunk-SX5CSXZO.js → chunk-525O4AUQ.js} +2 -2
- package/dist/{chunk-CC42UKIT.js → chunk-54K2ADBT.js} +1 -1
- package/dist/chunk-56GGBTAD.js +3 -0
- package/dist/{chunk-DKUF7BD5.js → chunk-57YY4J6T.js} +1 -1
- package/dist/{chunk-L75RBQFH.js → chunk-5JUG74UR.js} +1 -1
- package/dist/{chunk-I7H3OIYX.js → chunk-5MO5JBBK.js} +1 -1
- package/dist/{chunk-7EK7JNR4.js → chunk-62275PI2.js} +1 -1
- package/dist/{chunk-LUSIZ2BK.js → chunk-6BATVJBA.js} +14 -14
- package/dist/{chunk-YRZP7JN4.js → chunk-6C4T3HRB.js} +18 -18
- package/dist/{chunk-VZLYB5LX.js → chunk-6DZGOGB2.js} +1 -1
- package/dist/{chunk-JCUG572K.js → chunk-6JDR6T4U.js} +1 -1
- package/dist/{chunk-QN56R4V4.js → chunk-6U25ELYF.js} +1 -1
- package/dist/{chunk-GRB4LKZC.js → chunk-75MSXRFY.js} +5 -5
- package/dist/{chunk-GFBQ53WN.js → chunk-7HIHQR3X.js} +1 -1
- package/dist/{chunk-UDL2A2GT.js → chunk-7RRJPNYN.js} +3 -3
- package/dist/{chunk-IRZ6XM5A.js → chunk-A4KQKN32.js} +1 -1
- package/dist/chunk-A6WZF65N.js +22 -0
- package/dist/{chunk-ACNDPAAT.js → chunk-AAIUJJDQ.js} +1 -1
- package/dist/chunk-BG2OL3MO.js +7 -0
- package/dist/{chunk-7ZYEDXZX.js → chunk-BGJMDP6J.js} +1 -1
- package/dist/{chunk-6XC3XX7F.js → chunk-BKKKIHHV.js} +5 -5
- package/dist/{chunk-MKP2HSWX.js → chunk-BQ5CRQYR.js} +3 -3
- package/dist/chunk-BTFBXZS2.js +1 -0
- package/dist/chunk-BUGTNNZQ.js +15 -0
- package/dist/chunk-C57PNNAW.js +13 -0
- package/dist/{chunk-ZACNIKIQ.js → chunk-C5LBNLFJ.js} +1 -1
- package/dist/chunk-CAXOKGMB.js +27 -0
- package/dist/{chunk-WGLHB6WE.js → chunk-CJH2BGXY.js} +1 -1
- package/dist/chunk-CURXYF2R.js +9 -0
- package/dist/{chunk-ZRLWE3JM.js → chunk-DANLBFBD.js} +1 -1
- package/dist/{chunk-DU5IBIZQ.js → chunk-DFYXIW4O.js} +1 -1
- package/dist/{chunk-GZJ5F7SB.js → chunk-DJ2XDBAO.js} +5 -5
- package/dist/{chunk-UDJLRTQB.js → chunk-DNLRUZGS.js} +1 -1
- package/dist/{chunk-J5ISQYVM.js → chunk-DPUM3H5N.js} +1 -1
- package/dist/{chunk-5THF6BJS.js → chunk-DW45EZHA.js} +2 -2
- package/dist/{chunk-LLBH6PHE.js → chunk-EB2UE6ZR.js} +1 -1
- package/dist/{chunk-XBDHRMQI.js → chunk-EEVLRCMA.js} +8 -8
- package/dist/{chunk-Z43XVU2P.js → chunk-EIY6YGEZ.js} +1 -1
- package/dist/{chunk-5F6KJAF3.js → chunk-EUUCNDIS.js} +16 -16
- package/dist/{chunk-5PP435FL.js → chunk-EYPKBJYG.js} +1 -1
- package/dist/chunk-FAERBT6Y.js +1 -0
- package/dist/{chunk-YKHAI5IZ.js → chunk-FLTPVFKA.js} +1 -1
- package/dist/chunk-FPYABAOX.js +69 -0
- package/dist/chunk-FVZXRGVM.js +8 -0
- package/dist/{chunk-GJJKWGBX.js → chunk-G7I255HN.js} +10 -10
- package/dist/{chunk-2YBJQUYQ.js → chunk-GEXETMGL.js} +1 -1
- package/dist/chunk-GUIJCTFJ.js +8 -0
- package/dist/chunk-GZQD6IBV.js +5 -0
- package/dist/{chunk-VW7W6LCV.js → chunk-H6PFTU3L.js} +1 -1
- package/dist/chunk-H7HRYFRQ.js +14 -0
- package/dist/{chunk-SCCAMJB4.js → chunk-HE767CVB.js} +1 -1
- package/dist/{chunk-EEVKJJ5S.js → chunk-I5BS6AP6.js} +4 -4
- package/dist/chunk-I5CSYOOZ.js +28 -0
- package/dist/{chunk-HB2XXIQG.js → chunk-I64TVNHS.js} +6 -6
- package/dist/{chunk-BFA5U5JF.js → chunk-IFQXTIMY.js} +12 -12
- package/dist/chunk-IHPAYSTJ.js +8 -0
- package/dist/{chunk-QTMRW6DK.js → chunk-IXBKWVEP.js} +1 -1
- package/dist/{chunk-TTSZSLQL.js → chunk-J53LQWWY.js} +1 -1
- package/dist/chunk-JM2IQC4J.js +11 -0
- package/dist/{chunk-FZM3ZPW3.js → chunk-JPNAEN53.js} +1 -1
- package/dist/{chunk-S4FPYCUU.js → chunk-JQBVSPF5.js} +3 -3
- package/dist/{chunk-CRU2BNEM.js → chunk-KDTL6VEC.js} +3 -3
- package/dist/{chunk-CKURTHGW.js → chunk-KQDSAN75.js} +1 -1
- package/dist/{chunk-2XQOK3CT.js → chunk-KUEYOJBN.js} +2 -2
- package/dist/{chunk-ORLQUGIN.js → chunk-LCC3NXQX.js} +6 -6
- package/dist/{chunk-7JGR7WPD.js → chunk-LFYZ7NQ4.js} +3 -3
- package/dist/{chunk-ONYPN3JY.js → chunk-LGK47SEN.js} +11 -11
- package/dist/chunk-M54OL3YR.js +2 -0
- package/dist/chunk-MGW7SX53.js +11 -0
- package/dist/{chunk-VGWYAYHB.js → chunk-MOMOZVOW.js} +3 -3
- package/dist/{chunk-2DOMIOYR.js → chunk-N442GPRJ.js} +1 -1
- package/dist/{chunk-BXZNMSTZ.js → chunk-N6Q7HNAH.js} +1 -1
- package/dist/{chunk-RXHTIJ64.js → chunk-N7JX27JE.js} +1 -1
- package/dist/{chunk-ZYFBV4C7.js → chunk-N7YHXL2F.js} +2 -2
- package/dist/{chunk-27XV4TAU.js → chunk-ND5IZ37V.js} +5 -5
- package/dist/{chunk-2OMM2AG3.js → chunk-NEAT7BIP.js} +1 -1
- package/dist/{chunk-ESDWHHQY.js → chunk-NEYHBQLG.js} +3 -3
- package/dist/{chunk-CRB5GM4W.js → chunk-NIBE57KV.js} +1 -1
- package/dist/{chunk-NHBDLW52.js → chunk-NS37Y5CN.js} +3 -3
- package/dist/chunk-OLVKHYHV.js +9 -0
- package/dist/{chunk-FWUXYNWF.js → chunk-OY3JH66O.js} +4 -4
- package/dist/{chunk-DSHEOC2O.js → chunk-PIWC3CAC.js} +1 -1
- package/dist/chunk-PMJMYH5O.js +5 -0
- package/dist/{chunk-PXIP246B.js → chunk-PT77FC5X.js} +1 -1
- package/dist/chunk-PVXX77MY.js +6 -0
- package/dist/{chunk-HS4EWT6L.js → chunk-QIUIP6YZ.js} +2 -2
- package/dist/{chunk-NJN5IKWO.js → chunk-QQ2LDC6C.js} +1 -1
- package/dist/{chunk-FAIHSCOG.js → chunk-RBMZSZOH.js} +1 -1
- package/dist/{chunk-5V6SA77P.js → chunk-RFKCSRJX.js} +5 -5
- package/dist/chunk-RJ3J4BLH.js +1 -0
- package/dist/{chunk-63QLZYMN.js → chunk-RNQBWWYR.js} +3 -3
- package/dist/{chunk-N5KO2IHG.js → chunk-RQDVAUXD.js} +4 -4
- package/dist/{chunk-B5OYS65L.js → chunk-RVQUSPXC.js} +1 -1
- package/dist/chunk-SBZCJNNP.js +11 -0
- package/dist/{chunk-RDKIYORS.js → chunk-SYZLS2JA.js} +1 -1
- package/dist/chunk-TQWLJ5VM.js +7 -0
- package/dist/{chunk-RM74EAMV.js → chunk-TS36J7RW.js} +2 -2
- package/dist/{chunk-ANSQT5ZS.js → chunk-TTQ7K4AJ.js} +1 -1
- package/dist/{chunk-AQULCKKZ.js → chunk-UDHJTQBA.js} +11 -11
- package/dist/chunk-UDVQORQM.js +19 -0
- package/dist/chunk-UGOJLNYR.js +1 -0
- package/dist/{chunk-MRFNJZRR.js → chunk-UIWGVOFH.js} +8 -4
- package/dist/chunk-UJJXWLHE.js +2 -0
- package/dist/{chunk-CF4YOJUQ.js → chunk-UPTKROT7.js} +9 -9
- package/dist/{chunk-7F4U43YN.js → chunk-UVBX5LEU.js} +4 -4
- package/dist/{chunk-M7DFM2N7.js → chunk-UWF45S5L.js} +61 -61
- package/dist/chunk-VIOILTE4.js +13 -0
- package/dist/{chunk-HTDZ3XAJ.js → chunk-VWQNCYGQ.js} +8 -8
- package/dist/{chunk-CTW2OKYS.js → chunk-VYMM2BPX.js} +2 -2
- package/dist/{chunk-HNQKXOFU.js → chunk-WCPAQHHA.js} +1 -1
- package/dist/{chunk-36VIGB6J.js → chunk-WDQI3FV6.js} +6 -6
- package/dist/{chunk-CENTHUBD.js → chunk-WUGQAZMC.js} +6 -6
- package/dist/{chunk-XQUXL75F.js → chunk-X32TVINY.js} +1 -1
- package/dist/{chunk-QBD7V4TK.js → chunk-XK4SMAVR.js} +1 -1
- package/dist/{chunk-ZG3RF2VE.js → chunk-XK4U5MAS.js} +3 -3
- package/dist/{chunk-JCTOQOVO.js → chunk-XMH2JOZ2.js} +1 -1
- package/dist/{chunk-TE6R53YD.js → chunk-XWFLIGDQ.js} +1 -1
- package/dist/{chunk-LOEOCZCN.js → chunk-Y4RERPFN.js} +1 -1
- package/dist/chunk-YMAU4EIK.js +9 -0
- package/dist/{chunk-XARBHOEZ.js → chunk-YRJJKF5H.js} +1 -1
- package/dist/{chunk-VQPZDZ3R.js → chunk-YU6KOO6O.js} +4 -4
- package/dist/chunk-YZR4T5FZ.js +7 -0
- package/dist/{chunk-NC36LJCA.js → chunk-ZB2H2JJ2.js} +4 -4
- package/dist/{chunk-FLYOI6EW.js → chunk-ZOZEQZUA.js} +1 -1
- package/dist/data/DataTable.js +1 -1
- package/dist/data/EntityList.js +1 -1
- package/dist/data/Kanban.js +1 -1
- package/dist/data/ListLoadError.js +1 -1
- package/dist/data/ResizableTable.js +1 -1
- package/dist/format/index.js +1 -1
- package/dist/forms/AlignmentGrid.js +1 -1
- package/dist/forms/BorderInput.js +1 -1
- package/dist/forms/BrandAssetEditor.js +1 -1
- package/dist/forms/Button.js +1 -1
- package/dist/forms/Calendar.js +1 -1
- package/dist/forms/ColorPicker.js +1 -1
- package/dist/forms/ComposerAttachments.js +1 -1
- package/dist/forms/CornersInput.js +1 -1
- package/dist/forms/DatePicker.js +1 -1
- package/dist/forms/DateRangePicker.js +1 -1
- package/dist/forms/DisplayChips.js +1 -1
- package/dist/forms/FilePicker.js +1 -1
- package/dist/forms/IconButton.js +1 -1
- package/dist/forms/IconPicker.js +1 -1
- package/dist/forms/Input.js +1 -1
- package/dist/forms/InputNumber.js +1 -1
- package/dist/forms/LinkPicker.js +1 -1
- package/dist/forms/MediaLibrary.js +1 -1
- package/dist/forms/MediaUploadField.js +1 -1
- package/dist/forms/MediaUploadGrid.js +1 -1
- package/dist/forms/MediaUsedInList.js +1 -1
- package/dist/forms/NumericKeypad.js +1 -1
- package/dist/forms/PictureTiles.js +1 -1
- package/dist/forms/PositionInput.js +1 -1
- package/dist/forms/RenameField.js +1 -1
- package/dist/forms/Segmented.js +1 -1
- package/dist/forms/Select.js +1 -1
- package/dist/forms/SidesInput.js +1 -1
- package/dist/forms/Slider.js +1 -1
- package/dist/forms/Snippet.js +1 -1
- package/dist/forms/SplitButton.js +1 -1
- package/dist/forms/TagInput.js +1 -1
- package/dist/forms/TextToolbar.js +1 -1
- package/dist/forms/WidthsBar.js +1 -1
- package/dist/forms/mediaLibraryMenu.js +1 -1
- package/dist/forms/textAlign.js +1 -1
- package/dist/icons/efficient-glyphs.js +1 -1
- package/dist/icons/efficient-looks.js +1 -1
- package/dist/icons/efficient.js +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/icons/looks/map.js +1 -1
- package/dist/icons/payment.js +1 -1
- package/dist/icons/sets.js +1 -1
- package/dist/index.d.ts +4 -19
- package/dist/index.js +666 -666
- package/dist/map/index.js +3 -3
- package/dist/markdown/index.js +1 -1
- package/dist/page-tabs/index.js +5 -5
- package/dist/pdf/index.js +1 -1
- package/dist/shell/AppUpdateBanner.js +1 -1
- package/dist/shell/Banner.js +1 -1
- package/dist/shell/Breadcrumbs.js +1 -1
- package/dist/shell/ColoredBadge.js +1 -1
- package/dist/shell/ConfirmDialog.js +1 -1
- package/dist/shell/ContextMenu.js +1 -1
- package/dist/shell/Dialog.js +1 -1
- package/dist/shell/Drawer.js +1 -1
- package/dist/shell/DropdownMenu.js +1 -1
- package/dist/shell/EditableGrid.js +1 -1
- package/dist/shell/EmptyState.js +1 -1
- package/dist/shell/GlobalSearch.js +1 -1
- package/dist/shell/HelpCenter.js +1 -1
- package/dist/shell/IconRail.js +1 -1
- package/dist/shell/ImageLightbox.js +1 -1
- package/dist/shell/ItemCount.js +1 -1
- package/dist/shell/LanguageSelect.js +1 -1
- package/dist/shell/Markdown.js +1 -1
- package/dist/shell/PageHeader.js +1 -1
- package/dist/shell/Popover.js +1 -1
- package/dist/shell/PopupMenu.js +1 -1
- package/dist/shell/ProductionTimeline.js +1 -1
- package/dist/shell/ResizeHandle.js +1 -1
- package/dist/shell/Result.js +1 -1
- package/dist/shell/SearchableSelect.js +1 -1
- package/dist/shell/SettingReset.js +1 -1
- package/dist/shell/SettingRow.js +1 -1
- package/dist/shell/SidebarLayout.js +1 -1
- package/dist/shell/SidebarNav.js +1 -1
- package/dist/shell/SortableList.js +1 -1
- package/dist/shell/StatusBadge.js +1 -1
- package/dist/shell/StepChain.js +1 -1
- package/dist/shell/Stepper.js +1 -1
- package/dist/shell/Tabs.js +1 -1
- package/dist/shell/Tooltip.js +1 -1
- package/dist/shell/TopNav.js +1 -1
- package/dist/shell/TransferProgress.js +1 -1
- package/dist/shell/Tree.js +1 -1
- package/dist/shell/discardGuard.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/templates/AuthScreen.js +1 -1
- package/dist/templates/ChatTemplate.js +1 -1
- package/dist/templates/CheckoutTemplate.js +1 -1
- package/dist/templates/DashboardTemplate.js +1 -1
- package/dist/templates/DataTablePage.js +1 -1
- package/dist/templates/EmailTemplate.js +1 -1
- package/dist/templates/ErrorBoundary.js +1 -1
- package/dist/templates/FormLayoutPage.js +1 -1
- package/dist/templates/GalleryTemplate.js +1 -1
- package/dist/ui/index.d.ts +3 -0
- package/dist/ui/index.js +1 -1
- package/dist/ui.css +10 -0
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-6XGTP5OQ.js +0 -29
- package/dist/Files-LVZNO6EQ.js +0 -121
- package/dist/PdfViewer-ZI3QOG4G.js +0 -1
- package/dist/Sidebar-XVVZJ7PR.js +0 -44
- package/dist/chunk-2T7MZ77B.js +0 -3
- package/dist/chunk-4RTDZSGH.js +0 -27
- package/dist/chunk-56ESGDIC.js +0 -5
- package/dist/chunk-5N6AC3LN.js +0 -15
- package/dist/chunk-A2ZEGD2S.js +0 -11
- package/dist/chunk-AJO55X66.js +0 -6
- package/dist/chunk-BD4OHYQB.js +0 -13
- package/dist/chunk-BPECY7I7.js +0 -13
- package/dist/chunk-CQCMJHDM.js +0 -9
- package/dist/chunk-CWTY4GTU.js +0 -5
- package/dist/chunk-EOVXFXVV.js +0 -2
- package/dist/chunk-FEJFGFPF.js +0 -8
- package/dist/chunk-FUUJJ7OH.js +0 -7
- package/dist/chunk-GGSPY3Q4.js +0 -23
- package/dist/chunk-GIUX7WUS.js +0 -7
- package/dist/chunk-GMLGR4R6.js +0 -8
- package/dist/chunk-HFDSKCPL.js +0 -1
- package/dist/chunk-HGZZXA2N.js +0 -9
- package/dist/chunk-HICNRXYB.js +0 -11
- package/dist/chunk-HY3JYAUH.js +0 -19
- package/dist/chunk-KHVECW4M.js +0 -7
- package/dist/chunk-LE5LWALR.js +0 -1
- package/dist/chunk-LJJSFJA2.js +0 -69
- package/dist/chunk-NPQBJJLP.js +0 -9
- package/dist/chunk-PKNHSZWK.js +0 -8
- package/dist/chunk-UE54EN4C.js +0 -2
- package/dist/chunk-UVEHJRPE.js +0 -1
- package/dist/chunk-VPYD7UJM.js +0 -22
- package/dist/chunk-WD3I7AEZ.js +0 -14
- package/dist/chunk-YAD7TML2.js +0 -28
- /package/dist/{chunk-C4XV42QP.js → chunk-2762IAB7.js} +0 -0
- /package/dist/{chunk-MXK7A6ZM.js → chunk-T75VCE6K.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{AuthScreen as default}from"../chunk-
|
|
2
|
+
export{AuthScreen as default}from"../chunk-5MO5JBBK.js";import"../chunk-EOGXCGQF.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-GZQD6IBV.js";import"../chunk-YZR4T5FZ.js";import"../chunk-EB2UE6ZR.js";import"../chunk-UGOJLNYR.js";import"../chunk-AYZY3YNC.js";import"../chunk-CDAJKLGL.js";import"../chunk-IFQXTIMY.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ChatTemplate as default}from"../chunk-
|
|
2
|
+
export{ChatTemplate as default}from"../chunk-TTQ7K4AJ.js";import"../chunk-RFKCSRJX.js";import"../chunk-QWK6DRSN.js";import"../chunk-KUEYOJBN.js";import"../chunk-NHWDB7R6.js";import"../chunk-GZQD6IBV.js";import"../chunk-YZR4T5FZ.js";import"../chunk-EB2UE6ZR.js";import"../chunk-UGOJLNYR.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-CDAJKLGL.js";import"../chunk-IFQXTIMY.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{CheckoutTemplate as default}from"../chunk-
|
|
2
|
+
export{CheckoutTemplate as default}from"../chunk-N6Q7HNAH.js";import"../chunk-EOGXCGQF.js";import"../chunk-UDVQORQM.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";import"../chunk-2NMW66P5.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-6JDR6T4U.js";import"../chunk-GZQD6IBV.js";import"../chunk-YZR4T5FZ.js";import"../chunk-EB2UE6ZR.js";import"../chunk-UGOJLNYR.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-CDAJKLGL.js";import"../chunk-IFQXTIMY.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DashboardTemplate as default}from"../chunk-
|
|
1
|
+
export{DashboardTemplate as default}from"../chunk-J53LQWWY.js";import"../chunk-EOGXCGQF.js";import"../chunk-NHWDB7R6.js";import"../chunk-CKCDGSTC.js";import"../chunk-3UHTHQGK.js";import"../chunk-VFC6QUEN.js";import"../chunk-75MSXRFY.js";import"../chunk-465RRWBY.js";import"../chunk-DZBGJ6X4.js";import"../chunk-CNYAHYE6.js";import"../chunk-JPNAEN53.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-CJH2BGXY.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-525O4AUQ.js";import"../chunk-BFO72WQB.js";import"../chunk-MAFUXCPZ.js";import"../chunk-2JWPNR2U.js";import"../chunk-WDQI3FV6.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{DataTablePage as default}from"../chunk-
|
|
2
|
+
export{DataTablePage as default}from"../chunk-6U25ELYF.js";import"../chunk-EOGXCGQF.js";import"../chunk-UDVQORQM.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";import"../chunk-2NMW66P5.js";import"../chunk-7FBAZLBX.js";import"../chunk-GZQD6IBV.js";import"../chunk-YZR4T5FZ.js";import"../chunk-EB2UE6ZR.js";import"../chunk-UGOJLNYR.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-CDAJKLGL.js";import"../chunk-JPNAEN53.js";import"../chunk-IFQXTIMY.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-CJH2BGXY.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{EmailTemplate as default}from"../chunk-
|
|
2
|
+
export{EmailTemplate as default}from"../chunk-C5LBNLFJ.js";import"../chunk-RFKCSRJX.js";import"../chunk-QWK6DRSN.js";import"../chunk-KUEYOJBN.js";import"../chunk-NHWDB7R6.js";import"../chunk-N7JX27JE.js";import"../chunk-UGTRSRIW.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ErrorBoundary as default}from"../chunk-
|
|
2
|
+
export{ErrorBoundary as default}from"../chunk-RBMZSZOH.js";import"../chunk-CNVYM3HP.js";import"../chunk-KNUR2UEG.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{FormLayoutPage as default}from"../chunk-
|
|
2
|
+
export{FormLayoutPage as default}from"../chunk-57YY4J6T.js";import"../chunk-EOGXCGQF.js";import"../chunk-PB7G6CJ7.js";import"../chunk-NI5FXWK5.js";import"../chunk-UDVQORQM.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";import"../chunk-2NMW66P5.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-GZQD6IBV.js";import"../chunk-YZR4T5FZ.js";import"../chunk-EB2UE6ZR.js";import"../chunk-UGOJLNYR.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-CDAJKLGL.js";import"../chunk-IFQXTIMY.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{GalleryTemplate as default}from"../chunk-
|
|
2
|
+
export{GalleryTemplate as default}from"../chunk-GEXETMGL.js";import"../chunk-RQDVAUXD.js";import"../chunk-FQEALPZJ.js";import"../chunk-EOGXCGQF.js";import"../chunk-JDQGHQ2C.js";import"../chunk-JPNAEN53.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-CJH2BGXY.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -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';
|
|
@@ -222,6 +224,7 @@ export { default as TreemapChart } from '../charts/TreemapChart.js';
|
|
|
222
224
|
export { default as SunburstChart } from '../charts/SunburstChart.js';
|
|
223
225
|
export { default as SankeyChart } from '../charts/SankeyChart.js';
|
|
224
226
|
export { default as ChordChart } from '../charts/ChordChart.js';
|
|
227
|
+
export { default as ImageAnnotator, ImageAnnotatorHandle, ImageAnnotatorProps } from '../apps/ImageAnnotator.js';
|
|
225
228
|
export { VERSION } from '../version.js';
|
|
226
229
|
export { B as BORDER_LINE_STYLES, a as BorderLineStyle } from '../borderLineStyles-C-W0uSzL.js';
|
|
227
230
|
import 'react';
|
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-T75VCE6K.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{DataTablePage}from"../chunk-6U25ELYF.js";export{EmailTemplate}from"../chunk-C5LBNLFJ.js";export{ErrorBoundary}from"../chunk-RBMZSZOH.js";export{ErrorPage}from"../chunk-CNVYM3HP.js";export{FormLayoutPage}from"../chunk-57YY4J6T.js";export{GalleryTemplate}from"../chunk-GEXETMGL.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-5MO5JBBK.js";export{ChatTemplate}from"../chunk-TTQ7K4AJ.js";export{CheckoutTemplate}from"../chunk-N6Q7HNAH.js";export{DashboardTemplate}from"../chunk-J53LQWWY.js";export{TopNav}from"../chunk-A4KQKN32.js";export{Stepper}from"../chunk-DPUM3H5N.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-RQDVAUXD.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-E227NVFX.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-RFKCSRJX.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-RNQBWWYR.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-BKKKIHHV.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-3LTZ4N46.js";export{ResizeHandle}from"../chunk-KUEYOJBN.js";export{SettingReset}from"../chunk-UVBX5LEU.js";export{SettingRow}from"../chunk-ZB2H2JJ2.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-4ZUV6WQT.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";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-4UGFNTZ3.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{PageHeader}from"../chunk-45IVWLKF.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{HelpCenter}from"../chunk-KDTL6VEC.js";export{IconRail,IconRailButton}from"../chunk-IXBKWVEP.js";import"../chunk-FQEALPZJ.js";export{CountBadge}from"../chunk-LTESFDTF.js";export{EditableGrid}from"../chunk-UPTKROT7.js";export{BudgetBar,budgetState}from"../chunk-XZH5PEML.js";export{Card,StatCard}from"../chunk-EOGXCGQF.js";export{ContainerFillChart}from"../chunk-Y46WPTKY.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-DFYXIW4O.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{useDebouncedValue}from"../chunk-SLGT5WPJ.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{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-G2X5YYIQ.js";export{WidthsBar}from"../chunk-I64TVNHS.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-PIWC3CAC.js";export{Slider,SliderGroup}from"../chunk-YU6KOO6O.js";export{Snippet}from"../chunk-BG2OL3MO.js";export{SplitButton_default as SplitButton}from"../chunk-56GGBTAD.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-GUIJCTFJ.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-PVXX77MY.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{PictureTiles}from"../chunk-DANLBFBD.js";export{PositionInput}from"../chunk-N442GPRJ.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{LinkPicker,TextLinkField}from"../chunk-WUGQAZMC.js";export{SearchableSelect}from"../chunk-C57PNNAW.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-I5CSYOOZ.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-G7I255HN.js";import"../chunk-RVQUSPXC.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{ImageLightbox,lightboxKind}from"../chunk-MGW7SX53.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-VWQNCYGQ.js";export{EmptyState}from"../chunk-NEAT7BIP.js";export{Breadcrumbs}from"../chunk-PT77FC5X.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{mediaLibraryMenu}from"../chunk-BGJMDP6J.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-32WEY6O5.js";export{RenameField}from"../chunk-XMH2JOZ2.js";export{NativeSelect,Select_default as Select}from"../chunk-UDVQORQM.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-EEVLRCMA.js";export{MediaUsedInList}from"../chunk-EIY6YGEZ.js";export{NumericKeypad}from"../chunk-ZOZEQZUA.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{DisplayChips}from"../chunk-FLTPVFKA.js";export{FilePicker_default as FilePicker}from"../chunk-ND5IZ37V.js";export{FormErrorSummary}from"../chunk-NJTFI7AA.js";export{CornersInput}from"../chunk-I5BS6AP6.js";export{DatePicker_default as DatePicker}from"../chunk-YMAU4EIK.js";export{DateRangePicker,toISODate}from"../chunk-2YRLRMZH.js";export{Calendar}from"../chunk-LGK47SEN.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-GJ23UZDQ.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{fromDateKey,toDateKey}from"../chunk-2HMNOLKX.js";export{AlignmentGrid}from"../chunk-SYZLS2JA.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-VYMM2BPX.js";export{IconPicker}from"../chunk-MOMOZVOW.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-UDHJTQBA.js";export{Popover}from"../chunk-LFYZ7NQ4.js";export{InputNumber_default as InputNumber}from"../chunk-N7YHXL2F.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{BrandAssetEditor}from"../chunk-LCC3NXQX.js";export{MediaUploadField}from"../chunk-CURXYF2R.js";export{Segmented}from"../chunk-JQBVSPF5.js";import"../chunk-JDQGHQ2C.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-53EW4M5S.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Kanban}from"../chunk-3WFJ4PYV.js";export{useSort}from"../chunk-E6FDUFPH.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-6BATVJBA.js";export{Pagination}from"../chunk-7FBAZLBX.js";export{EntityList}from"../chunk-VIOILTE4.js";import"../chunk-PH3P54QQ.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{ListFooter}from"../chunk-4H5NTMOF.js";export{ListLoadError}from"../chunk-YRJJKF5H.js";export{ResizableTable}from"../chunk-3PWI5IH7.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-UKBXQXDZ.js";import"../chunk-ULJQYXHB.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{TreemapChart}from"../chunk-TQWLJ5VM.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-NS37Y5CN.js";export{RangeChart}from"../chunk-DW45EZHA.js";export{RankedBars}from"../chunk-5NDONLH5.js";export{SankeyChart}from"../chunk-OLVKHYHV.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-IHPAYSTJ.js";export{StatTile}from"../chunk-3CMCGOOV.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-7RRJPNYN.js";export{FunnelChart}from"../chunk-H7HRYFRQ.js";export{HeatmapChart}from"../chunk-SBZCJNNP.js";export{HistogramChart}from"../chunk-M54OL3YR.js";export{Meter}from"../chunk-R3JKZXII.js";export{PieChart}from"../chunk-3UHTHQGK.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-BUGTNNZQ.js";export{RadialBarChart}from"../chunk-DJ2XDBAO.js";export{ChordChart}from"../chunk-FVZXRGVM.js";import"../chunk-EYPKBJYG.js";export{StepChain,StepChainItem}from"../chunk-DNLRUZGS.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-X32TVINY.js";export{Divider}from"../chunk-DFOFEBYX.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Q5Z3KHT2.js";export{ContextMenu,useContextMenu}from"../chunk-QIUIP6YZ.js";export{Banner}from"../chunk-6JDR6T4U.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-2BMGV6DE.js";export{Input_default as Input}from"../chunk-GZQD6IBV.js";export{DropdownMenu}from"../chunk-YZR4T5FZ.js";import"../chunk-EB2UE6ZR.js";export{IconButton_default as IconButton}from"../chunk-UGOJLNYR.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-XK4SMAVR.js";export{TransferProgress}from"../chunk-WCPAQHHA.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-7KIDOIPY.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-62275PI2.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-A6WZF65N.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-JM2IQC4J.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.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-75MSXRFY.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{ImageAnnotator_default as ImageAnnotator}from"../chunk-FPYABAOX.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-CAXOKGMB.js";export{Dialog}from"../chunk-PMJMYH5O.js";export{ItemCount}from"../chunk-N7JX27JE.js";import"../chunk-3DVNXNTF.js";import"../chunk-2762IAB7.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{ColoredBadge}from"../chunk-5JUG74UR.js";import"../chunk-SCGBCBXP.js";import"../chunk-F3ZOO23R.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{VERSION}from"../chunk-RJ3J4BLH.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-JPNAEN53.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-IFQXTIMY.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.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-CJH2BGXY.js";export{Tooltip}from"../chunk-QQ2LDC6C.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{UNDOABLE_MS,toast_default as toast}from"../chunk-TRWHVG3A.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{BoxPlotChart}from"../chunk-XK4U5MAS.js";export{CandlestickChart}from"../chunk-NEYHBQLG.js";export{CartesianPlot}from"../chunk-525O4AUQ.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{ChartTooltip}from"../chunk-WDQI3FV6.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{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
|
package/dist/ui.css
CHANGED
|
@@ -1340,6 +1340,16 @@ button.es-group-sub {
|
|
|
1340
1340
|
/* SidebarLayout's resize handle under the pointer, when no custom accent is
|
|
1341
1341
|
set — the custom accent's `--accent-500` still wins, read where it is set. */
|
|
1342
1342
|
--rosh-resize-handle: #3b82f6;
|
|
1343
|
+
|
|
1344
|
+
/* ImageAnnotator, over the picture it marks up. A picture has no theme, so
|
|
1345
|
+
none of these moves in dark. The outline and handles of the chosen shape;
|
|
1346
|
+
the wash outside a crop; and the text box while a label is typed, dashed
|
|
1347
|
+
until it has a border of its own and lit until it has a fill. None of them
|
|
1348
|
+
reaches the exported image: the ink a person picks is theirs. */
|
|
1349
|
+
--rosh-annotator-selection: #3b82f6;
|
|
1350
|
+
--rosh-annotator-crop-scrim: rgba(0, 0, 0, 0.45);
|
|
1351
|
+
--rosh-annotator-edit-hint: #60a5fa;
|
|
1352
|
+
--rosh-annotator-edit-surface: rgba(255, 255, 255, 0.95);
|
|
1343
1353
|
}
|
|
1344
1354
|
|
|
1345
1355
|
/* ── Kit colours, dark ──────────────────────────────────────────────────────
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{APP_VERSION,VERSION}from"./chunk-
|
|
1
|
+
export{APP_VERSION,VERSION}from"./chunk-RJ3J4BLH.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-shell",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.4.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};
|
package/dist/Files-LVZNO6EQ.js
DELETED
|
@@ -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";
|
package/dist/Sidebar-XVVZJ7PR.js
DELETED
|
@@ -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};
|
package/dist/chunk-2T7MZ77B.js
DELETED
|
@@ -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};
|