efficient-shell 9.12.0 → 10.0.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 +26 -20
- package/dist/{Browser-G7AXZ4OT.js → Browser-RFLTFP7Y.js} +14 -14
- package/dist/Calculator-DV2R65OS.js +29 -0
- package/dist/{CurrencyConverter-EDEJOKHC.js → CurrencyConverter-ELSCNMUT.js} +9 -9
- package/dist/{Documents-7AVOO2DA.js → Documents-HKTTXLSR.js} +27 -27
- package/dist/Files-ZSYGKZOV.js +88 -0
- package/dist/{Notepad-KBRNR5BU.js → Notepad-63Q3JSCV.js} +10 -10
- package/dist/{PdfViewer-FFQOKKFW.js → PdfViewer-DFBPEUY5.js} +1 -1
- package/dist/{PomodoroTimer-HCLT2JVD.js → PomodoroTimer-XHNZGBDR.js} +11 -11
- package/dist/{Preview-4SOGNXHL.js → Preview-PLCASIZA.js} +38 -38
- package/dist/Sidebar-QFT5WPK4.js +44 -0
- package/dist/{Spreadsheet-W2AGKEWT.js → Spreadsheet-Y7TJIBI5.js} +14 -14
- package/dist/{Stock-3IBS63UR.js → Stock-KLYWTMMD.js} +3 -3
- package/dist/{Weather-EFIIVKFE.js → Weather-CT2IZHEW.js} +20 -20
- package/dist/{WorldClock-ERQQ4VWP.js → WorldClock-EJCUVIUW.js} +6 -6
- package/dist/ai/index.js +59 -59
- 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/ChartBrush.js +1 -1
- package/dist/charts/ChartFrame.js +1 -1
- package/dist/charts/ChartSkeleton.js +1 -1
- package/dist/charts/ChordChart.js +1 -1
- package/dist/charts/ColumnChart.js +1 -1
- package/dist/charts/FunnelChart.js +1 -1
- package/dist/charts/HeatmapChart.js +1 -1
- package/dist/charts/HistogramChart.js +1 -1
- package/dist/charts/Meter.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/RankedBars.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/StatTile.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/chunk-25STFYV3.js +8 -0
- package/dist/chunk-2NMW66P5.js +1 -0
- package/dist/{chunk-BNKULSCG.js → chunk-2OE5VVBE.js} +1 -1
- package/dist/{chunk-VZV7Q5V2.js → chunk-3AZBI76O.js} +1 -1
- package/dist/{chunk-NRGBXEBU.js → chunk-43T5JGFB.js} +1 -1
- package/dist/{chunk-QLYOGT3U.js → chunk-4E4GWE4L.js} +17 -17
- package/dist/{chunk-E6EUGQGA.js → chunk-4WZRNPIG.js} +1 -1
- package/dist/{chunk-5CVQN2BR.js → chunk-53KQSCMG.js} +7 -7
- package/dist/chunk-5CH2RGL6.js +29 -0
- package/dist/{chunk-65DYHG73.js → chunk-5VTRKWKO.js} +1 -1
- package/dist/{chunk-7WLFHDWA.js → chunk-66JYKX4T.js} +1 -1
- package/dist/{chunk-ERLZDA75.js → chunk-6I6VSUKY.js} +4 -4
- package/dist/{chunk-M5MAIJQQ.js → chunk-6L2UAAGT.js} +1 -1
- package/dist/{chunk-HRAK46H7.js → chunk-6YQPLI5M.js} +12 -12
- package/dist/{chunk-D4KZOYXQ.js → chunk-7BDZZANS.js} +1 -1
- package/dist/{chunk-CJI3POCE.js → chunk-7KDGW6BR.js} +1 -1
- package/dist/{chunk-QCFN3ET4.js → chunk-7VCAMNCH.js} +1 -1
- package/dist/chunk-7YU27U3Y.js +19 -0
- package/dist/chunk-AEJNFA2K.js +6 -0
- package/dist/{chunk-CBMXYXBH.js → chunk-AG2OLB3E.js} +9 -9
- package/dist/{chunk-KJHXCVNI.js → chunk-AJ3R5QPD.js} +5 -5
- package/dist/{chunk-ZPW3KQ27.js → chunk-APXQMZSV.js} +28 -28
- package/dist/{chunk-WZQCRTXF.js → chunk-B7AHMB3U.js} +1 -1
- package/dist/{chunk-B74Y4QR2.js → chunk-B7KD3DGY.js} +1 -1
- package/dist/{chunk-TQH6E5V2.js → chunk-BDAKGS7O.js} +1 -1
- package/dist/{chunk-AOSLOKAL.js → chunk-BFVL2VTS.js} +1 -1
- package/dist/{chunk-MCMUJDEP.js → chunk-BMQCUHSD.js} +1 -1
- package/dist/{chunk-SAHQB2JD.js → chunk-BXEKX4TB.js} +17 -17
- package/dist/{chunk-JECMVR4S.js → chunk-C6MV6IAX.js} +8 -8
- package/dist/{chunk-5RAOFJYT.js → chunk-CBGKLHPB.js} +6 -6
- package/dist/{chunk-KTRNAMHY.js → chunk-CL7SBEBQ.js} +1 -1
- package/dist/{chunk-O4NPQ23Q.js → chunk-D2WGDTWN.js} +1 -1
- package/dist/{chunk-E72USUUR.js → chunk-D7X2HMMA.js} +9 -9
- package/dist/{chunk-GP5UNEKY.js → chunk-DKQWFQAV.js} +1 -1
- package/dist/{chunk-IBIUI2D3.js → chunk-DL6QIWVR.js} +1 -1
- package/dist/{chunk-7JJUI52C.js → chunk-DPDRFLBY.js} +3 -3
- package/dist/{chunk-IK332TWA.js → chunk-DVOQCAC2.js} +1 -1
- package/dist/{chunk-H2XCQJRG.js → chunk-DXHLUB36.js} +1 -1
- package/dist/{chunk-YBU7NOD7.js → chunk-E7WY4GZ3.js} +1 -1
- package/dist/{chunk-HMG5TW2R.js → chunk-ED3QFXBC.js} +1 -1
- package/dist/{chunk-O25B75XX.js → chunk-EGAV5LSX.js} +1 -1
- package/dist/{chunk-RLLONZJJ.js → chunk-EGEWU776.js} +1 -1
- package/dist/{chunk-46YVA2BF.js → chunk-ELUTQZGP.js} +1 -1
- package/dist/{chunk-BJONHLET.js → chunk-EQN65XOO.js} +1 -1
- package/dist/{chunk-EWJELWIT.js → chunk-F24QTMTY.js} +3 -3
- package/dist/{chunk-HAFB45DT.js → chunk-FPGRKHUW.js} +7 -7
- package/dist/{chunk-VBNA237H.js → chunk-FRINAJU7.js} +1 -1
- package/dist/{chunk-QSUQC4AN.js → chunk-FTWWJHFX.js} +1 -1
- package/dist/chunk-GBLMVFDW.js +5 -0
- package/dist/{chunk-KAHYUBXM.js → chunk-GKK7DR2H.js} +8 -8
- package/dist/{chunk-NGQHXTUK.js → chunk-GKZUAT3K.js} +1 -1
- package/dist/{chunk-DRNB7KDC.js → chunk-GMRZX2ET.js} +1 -1
- package/dist/{chunk-UEIJSV45.js → chunk-GNU3U2TP.js} +1 -1
- package/dist/{chunk-FKA6ZVQO.js → chunk-GQK3U2IO.js} +9 -9
- package/dist/{chunk-YQB5OYDC.js → chunk-GQMS5657.js} +1 -1
- package/dist/{chunk-UL4G6JY2.js → chunk-GRBBQ3VF.js} +1 -1
- package/dist/chunk-GY67Y5SN.js +10 -0
- package/dist/{chunk-6O2W4X2V.js → chunk-HI6IE5HI.js} +1 -1
- package/dist/chunk-HJPCHES5.js +8 -0
- package/dist/{chunk-27W6BXT6.js → chunk-HKAQXFUR.js} +2 -2
- package/dist/chunk-IEAFSVXC.js +1 -0
- package/dist/{chunk-ZC3CCRPG.js → chunk-IGEFUHYE.js} +5 -5
- package/dist/{chunk-NU2YQSOP.js → chunk-IQWIYZB5.js} +2 -2
- package/dist/{chunk-FVDX6ZSZ.js → chunk-IU5KBQEQ.js} +6 -6
- package/dist/{chunk-2GPHHW7C.js → chunk-IWEL2ZCV.js} +1 -1
- package/dist/{chunk-P65C5TUU.js → chunk-IWJRSC7M.js} +1 -1
- package/dist/{chunk-KECOZKJU.js → chunk-J53OQCKC.js} +7 -7
- package/dist/{chunk-BF7PZFKT.js → chunk-JB3WKDD7.js} +1 -1
- package/dist/{chunk-5ZGL2BRZ.js → chunk-JHZV4TN6.js} +2 -2
- package/dist/{chunk-IENPHB5B.js → chunk-JJP54OT4.js} +1 -1
- package/dist/{chunk-MUHWI4GK.js → chunk-JKZJVQIB.js} +5 -5
- package/dist/chunk-KAVFW5CU.js +7 -0
- package/dist/{chunk-VANJPZ3H.js → chunk-KCV7BFKJ.js} +1 -1
- package/dist/chunk-KE5U4KKG.js +4 -0
- package/dist/chunk-LKW3YAZN.js +11 -0
- package/dist/chunk-LPUGK2MC.js +2 -0
- package/dist/chunk-LR77AS3N.js +15 -0
- package/dist/{chunk-BWIX3YIH.js → chunk-M3R4C3A6.js} +2 -2
- package/dist/chunk-MKEYXKZA.js +4 -0
- package/dist/{chunk-AG63JVX7.js → chunk-MPALY3CL.js} +5 -5
- package/dist/{chunk-64R3IYAM.js → chunk-MVQMAIZM.js} +1 -1
- package/dist/{chunk-5Q3PFKB5.js → chunk-MZ26SYFY.js} +1 -1
- package/dist/{chunk-BYHKYYL6.js → chunk-NDEIZUMG.js} +1 -1
- package/dist/{chunk-2LDOLQ7F.js → chunk-NDKQDIWN.js} +5 -5
- package/dist/chunk-O33CUGOI.js +6 -0
- package/dist/{chunk-4XZXY2AF.js → chunk-OQW42DOR.js} +1 -1
- package/dist/{chunk-3FBYM6O5.js → chunk-OUKDGO4N.js} +8 -8
- package/dist/{chunk-LYX55RI3.js → chunk-P6LB3I3D.js} +1 -1
- package/dist/chunk-PA37I5ZX.js +3 -0
- package/dist/{chunk-TBLN4MDQ.js → chunk-PKIDVVAE.js} +2 -2
- package/dist/chunk-POCQ7ZL4.js +3 -0
- package/dist/{chunk-YWR2WRDR.js → chunk-PUCPFBYO.js} +1 -1
- package/dist/{chunk-5AWV5R6E.js → chunk-PUIQFTCO.js} +6 -6
- package/dist/chunk-PVR4KU7H.js +7 -0
- package/dist/{chunk-PWBLGKQ3.js → chunk-Q3MNSM7W.js} +4 -4
- package/dist/chunk-QMUAY24U.js +8 -0
- package/dist/{chunk-5XNN2SSR.js → chunk-QRJRGP2K.js} +8 -8
- package/dist/{chunk-6TRE326A.js → chunk-QSW3YHPK.js} +4 -4
- package/dist/{chunk-RISKWWMD.js → chunk-QTQQKQGQ.js} +3 -3
- package/dist/{chunk-T76X2SHR.js → chunk-R2QDO7NY.js} +3 -3
- package/dist/{chunk-JQDRM6UK.js → chunk-R5EJJ6HC.js} +1 -1
- package/dist/{chunk-V5QEPNPK.js → chunk-RBIGSJ2J.js} +1 -1
- package/dist/chunk-RBXSU25O.js +9 -0
- package/dist/{chunk-N52D37FS.js → chunk-RPMWF42S.js} +5 -5
- package/dist/{chunk-QMYQ4B5A.js → chunk-RQNZ2PVW.js} +4 -4
- package/dist/{chunk-TRUPMMDJ.js → chunk-RYS3URDC.js} +11 -11
- package/dist/{chunk-3MHBALGV.js → chunk-SGTZJMZ6.js} +1 -1
- package/dist/chunk-SKETTGCJ.js +2 -0
- package/dist/{chunk-EOWOVR55.js → chunk-SWO4VPOB.js} +1 -1
- package/dist/{chunk-R6R57BWQ.js → chunk-T5V2GJ4D.js} +4 -4
- package/dist/{chunk-T7O2TNNX.js → chunk-TXMAWCR7.js} +1 -1
- package/dist/{chunk-NCRLKFXD.js → chunk-U5DMF2TX.js} +1 -1
- package/dist/{chunk-T2ITXX7R.js → chunk-UB5TLWZN.js} +7 -7
- package/dist/{chunk-2J2OU65F.js → chunk-UFXE363L.js} +2 -2
- package/dist/chunk-UTQG344L.js +15 -0
- package/dist/{chunk-GVAWCTJN.js → chunk-UZ43AT4O.js} +7 -7
- package/dist/{chunk-H4YFANH5.js → chunk-VC42SDAC.js} +1 -1
- package/dist/{chunk-5Y6LGPZI.js → chunk-VG5NGCMQ.js} +7 -7
- package/dist/{chunk-I5XVZLDH.js → chunk-VO3ZB7C6.js} +7 -7
- package/dist/{chunk-KQSUSVMF.js → chunk-VSAI5TH7.js} +21 -21
- package/dist/{chunk-D7JY2KHG.js → chunk-W244OMOU.js} +6 -6
- package/dist/{chunk-NBKQADMY.js → chunk-WFANOFHG.js} +5 -5
- package/dist/{chunk-IZQ3XTD2.js → chunk-WUMHSI4U.js} +1 -1
- package/dist/chunk-X2PZMXDP.js +1 -0
- package/dist/{chunk-X4BKHXU5.js → chunk-X6TJR6M2.js} +7 -7
- package/dist/{chunk-R7JTTKG2.js → chunk-XILZGSMX.js} +3 -3
- package/dist/chunk-XOKANFQD.js +22 -0
- package/dist/{chunk-JWX7QRGE.js → chunk-XS4HFUTW.js} +1 -1
- package/dist/{chunk-7YZJLFAK.js → chunk-XSJJPACH.js} +10 -10
- package/dist/{chunk-XI45TSEK.js → chunk-YFUMK2E7.js} +1 -1
- package/dist/{chunk-JVYSRH6U.js → chunk-YJSX6JAC.js} +1 -1
- package/dist/{chunk-2SJDTKQA.js → chunk-YL6LLHJA.js} +21 -21
- package/dist/{chunk-N3CTLEJS.js → chunk-YVTKTWZX.js} +6 -6
- package/dist/{chunk-6FI3HVUR.js → chunk-ZBTDMQUI.js} +54 -54
- package/dist/{chunk-QLOKT22X.js → chunk-ZCV377AG.js} +1 -1
- package/dist/{chunk-UZGVIHFI.js → chunk-ZF545DXX.js} +15 -15
- package/dist/{chunk-FEPBXJUR.js → chunk-ZG2HMC7S.js} +1 -1
- package/dist/{chunk-G6LOKIFC.js → chunk-ZMVCN4OA.js} +9 -9
- package/dist/{chunk-CB6ROWOC.js → chunk-ZOBLEXIU.js} +1 -1
- package/dist/{chunk-O426Q7KC.js → chunk-ZPCADTM5.js} +1 -1
- package/dist/{chunk-5VYBPDZ2.js → chunk-ZREDCRTL.js} +1 -1
- package/dist/data/DataTable.js +1 -1
- package/dist/data/Kanban.js +1 -1
- package/dist/data/ListFooter.js +1 -1
- package/dist/data/ListLoadError.js +1 -1
- package/dist/data/Pagination.js +1 -1
- package/dist/file-intake/index.js +1 -1
- package/dist/format/index.js +1 -1
- package/dist/forms/BorderInput.js +1 -1
- package/dist/forms/BrandAssetEditor.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/DateTimePicker.js +1 -1
- package/dist/forms/DisplayChips.js +1 -1
- package/dist/forms/FilePicker.js +1 -1
- package/dist/forms/FormErrorSummary.js +1 -1
- package/dist/forms/IconPicker.js +1 -1
- package/dist/forms/ImageFocusPoint.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/PositionInput.js +1 -1
- package/dist/forms/Select.d.ts +0 -6
- 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/Switch.js +1 -1
- package/dist/forms/TagInput.js +1 -1
- package/dist/forms/TextToolbar.d.ts +8 -2
- package/dist/forms/TextToolbar.js +1 -1
- package/dist/forms/TimePicker.js +1 -1
- package/dist/forms/WidthsBar.js +1 -1
- package/dist/forms/mediaLibraryMenu.js +1 -1
- package/dist/forms/mediaMoveItems.js +1 -1
- package/dist/forms/settingRowContext.d.ts +1 -3
- package/dist/forms/settingRowContext.js +1 -1
- package/dist/forms/textAlign.js +1 -1
- package/dist/forms/useFileIntake.js +1 -1
- package/dist/hooks/useTheme.d.ts +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +11 -3
- package/dist/index.js +151 -151
- package/dist/locales/zh-Hans.js +1 -1
- package/dist/map/index.js +7 -7
- package/dist/page-tabs/index.js +5 -5
- package/dist/pdf/index.js +1 -1
- package/dist/shell/Accordion.d.ts +22 -12
- package/dist/shell/Accordion.js +1 -1
- package/dist/shell/AppUpdateBanner.js +1 -1
- package/dist/shell/Avatar.js +1 -1
- package/dist/shell/Banner.js +1 -1
- package/dist/shell/Breadcrumbs.js +1 -1
- package/dist/shell/BudgetBar.js +1 -1
- package/dist/shell/Card.js +1 -1
- package/dist/shell/ColoredBadge.js +1 -1
- package/dist/shell/ConfirmDialog.js +1 -1
- package/dist/shell/ContainerFillChart.js +1 -1
- package/dist/shell/ContextMenu.js +1 -1
- package/dist/shell/CountBadge.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/MetricBar.js +1 -1
- package/dist/shell/MetricBarLegend.js +1 -1
- package/dist/shell/MilestoneTimeline.js +1 -1
- package/dist/shell/PageHeader.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.d.ts +23 -5
- package/dist/shell/SettingReset.js +1 -1
- package/dist/shell/SettingRow.d.ts +9 -14
- 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/Statistic.js +1 -1
- package/dist/shell/TimeAgo.js +1 -1
- package/dist/shell/TimelineTrack.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/language.js +1 -1
- package/dist/shell/strings.d.ts +2 -0
- package/dist/shell/strings.js +1 -1
- package/dist/shell/toast.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.d.ts +1 -1
- package/dist/templates/ErrorBoundary.js +1 -1
- package/dist/templates/ErrorPage.js +1 -1
- package/dist/templates/FormLayoutPage.js +1 -1
- package/dist/templates/GalleryTemplate.js +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +1 -1
- package/dist/ui.css +247 -32
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-6NA35GFS.js +0 -29
- package/dist/Files-MT6PMAHO.js +0 -88
- package/dist/Sidebar-LIP2DYTO.js +0 -44
- package/dist/chunk-2AHLONPR.js +0 -5
- package/dist/chunk-3XRBVYTO.js +0 -2
- package/dist/chunk-4CPE5NBC.js +0 -8
- package/dist/chunk-4DBPKTVX.js +0 -20
- package/dist/chunk-4GPUKEYQ.js +0 -1
- package/dist/chunk-5R6RNUDB.js +0 -7
- package/dist/chunk-7BYBGPWU.js +0 -9
- package/dist/chunk-AVAYZK3Z.js +0 -3
- package/dist/chunk-GCB5S2OI.js +0 -8
- package/dist/chunk-GVH3NG6G.js +0 -22
- package/dist/chunk-J7OKOVSL.js +0 -11
- package/dist/chunk-JENEVLJU.js +0 -3
- package/dist/chunk-JGDLTIOX.js +0 -14
- package/dist/chunk-L65BESIE.js +0 -1
- package/dist/chunk-LFPJ263N.js +0 -6
- package/dist/chunk-O56CY36U.js +0 -5
- package/dist/chunk-OVDHEMLK.js +0 -6
- package/dist/chunk-PEM7UXQ3.js +0 -1
- package/dist/chunk-QYJQAY6C.js +0 -2
- package/dist/chunk-RSHNWBW2.js +0 -4
- package/dist/chunk-SC6HJBQA.js +0 -8
- package/dist/chunk-SGR4V5YI.js +0 -12
- package/dist/chunk-SYH7EPLF.js +0 -29
- package/dist/chunk-VVZE27M4.js +0 -7
- package/dist/chunk-Z3CYLDHB.js +0 -16
package/dist/ui/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import"../chunk-DSIDJYH7.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{DataTablePage}from"../chunk-3MHBALGV.js";export{EmailTemplate}from"../chunk-VZV7Q5V2.js";export{ErrorBoundary}from"../chunk-BNKULSCG.js";export{ErrorPage}from"../chunk-FEPBXJUR.js";export{FormLayoutPage}from"../chunk-VBNA237H.js";export{GalleryTemplate}from"../chunk-JQDRM6UK.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-IZQ3XTD2.js";export{ChatTemplate}from"../chunk-YBU7NOD7.js";export{CheckoutTemplate}from"../chunk-YQB5OYDC.js";export{DashboardTemplate}from"../chunk-5VYBPDZ2.js";export{TopNav}from"../chunk-O25B75XX.js";export{Statistic}from"../chunk-BF7PZFKT.js";export{Stepper}from"../chunk-Q7HN6T3H.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-A6RB4PIX.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-GP5UNEKY.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-5AWV5R6E.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-EWJELWIT.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-AG63JVX7.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-HRAK46H7.js";export{ResizeHandle}from"../chunk-V5QEPNPK.js";export{SettingReset}from"../chunk-2AHLONPR.js";export{SettingRow}from"../chunk-JGDLTIOX.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-O4NPQ23Q.js";export{MetricBar}from"../chunk-KECOZKJU.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-IENPHB5B.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-3XRBVYTO.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-2SJDTKQA.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-YDEIXM2A.js";export{PageHeader}from"../chunk-O426Q7KC.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-EIUCHQI2.js";export{GlobalSearch,openGlobalSearch}from"../chunk-MUHWI4GK.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{HelpCenter}from"../chunk-5XNN2SSR.js";export{IconRail,IconRailButton}from"../chunk-TQH6E5V2.js";import"../chunk-FQEALPZJ.js";export{EditableGrid}from"../chunk-5CVQN2BR.js";export{Avatar,AvatarGroup}from"../chunk-65DYHG73.js";export{BudgetBar,budgetState}from"../chunk-N52D37FS.js";export{Card,StatCard}from"../chunk-5RAOFJYT.js";export{ContainerFillChart}from"../chunk-T2ITXX7R.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-64R3IYAM.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-SGR4V5YI.js";export{CountBadge}from"../chunk-5Q3PFKB5.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-UL4G6JY2.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-QTV3Y3UT.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{TagInput}from"../chunk-2LDOLQ7F.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-LFPJ263N.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-46YVA2BF.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-NCRLKFXD.js";export{WidthsBar}from"../chunk-OVDHEMLK.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-2J2OU65F.js";export{Slider,SliderGroup}from"../chunk-O56CY36U.js";export{Snippet}from"../chunk-5R6RNUDB.js";export{SplitButton_default as SplitButton}from"../chunk-AVAYZK3Z.js";export{Switch_default as Switch}from"../chunk-BWIX3YIH.js";export{NumericKeypad}from"../chunk-EOWOVR55.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-2YLG32JY.js";export{PositionInput}from"../chunk-AOSLOKAL.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{IconPicker}from"../chunk-R7JTTKG2.js";export{LinkPicker,TextLinkField}from"../chunk-GVAWCTJN.js";export{SearchableSelect}from"../chunk-TRUPMMDJ.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-SYH7EPLF.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-G6LOKIFC.js";import"../chunk-JVYSRH6U.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-QSUQC4AN.js";export{ImageLightbox,lightboxKind}from"../chunk-7YZJLFAK.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-5Y6LGPZI.js";export{Breadcrumbs}from"../chunk-NGQHXTUK.js";export{mediaLibraryMenu}from"../chunk-XI45TSEK.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-WZQCRTXF.js";import"../chunk-H4YFANH5.js";export{DropdownMenu}from"../chunk-VVZE27M4.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-JECMVR4S.js";export{MediaUsedInList}from"../chunk-T7O2TNNX.js";export{NativeSelect,Select_default as Select}from"../chunk-4DBPKTVX.js";import"../chunk-EO5RLFRX.js";import"../chunk-5F7HMNCX.js";export{CornersInput}from"../chunk-ERLZDA75.js";export{DatePicker_default as DatePicker}from"../chunk-X4BKHXU5.js";export{DateRangePicker,toISODate}from"../chunk-KQSUSVMF.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-6O2W4X2V.js";export{DisplayChips}from"../chunk-R6R57BWQ.js";export{FilePicker_default as FilePicker}from"../chunk-FKA6ZVQO.js";export{FormErrorSummary}from"../chunk-KTRNAMHY.js";export{BORDER_LINE_STYLES,BorderInput,borderSides,borderStartEach}from"../chunk-RISKWWMD.js";export{BrandAssetEditor}from"../chunk-FVDX6ZSZ.js";export{MediaUploadField}from"../chunk-7BYBGPWU.js";export{ImageFocusPoint}from"../chunk-6TRE326A.js";export{FormField}from"../chunk-6KBDNYRW.js";export{Segmented}from"../chunk-CKPVXDKX.js";import"../chunk-JDQGHQ2C.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar,fromKey as fromDateKey,toKey as toDateKey}from"../chunk-E72USUUR.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-Z3CYLDHB.js";export{Popover}from"../chunk-7JGR7WPD.js";export{InputNumber_default as InputNumber}from"../chunk-JENEVLJU.js";export{useInSettingRow,useSettingAuto,useSettingRowName}from"../chunk-L65BESIE.js";export{slugify}from"../chunk-24AL3CDS.js";export{escapeHtml}from"../chunk-G6DKCCWH.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{useClickOutside}from"../chunk-SI26KESU.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{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{AlignmentGrid}from"../chunk-M554OMPA.js";export{DataTable}from"../chunk-UZGVIHFI.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Kanban}from"../chunk-PWBLGKQ3.js";export{ListFooter}from"../chunk-NRGBXEBU.js";export{ListLoadError}from"../chunk-YWR2WRDR.js";export{Pagination}from"../chunk-P65C5TUU.js";export{WaterfallChart}from"../chunk-CJI3POCE.js";export{SankeyChart}from"../chunk-N3CTLEJS.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-GCB5S2OI.js";export{StatTile}from"../chunk-M5MAIJQQ.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-RSHNWBW2.js";export{TreemapChart}from"../chunk-D7JY2KHG.js";export{squarify}from"../chunk-46BYGPGD.js";export{HeatmapChart}from"../chunk-J7OKOVSL.js";export{HistogramChart}from"../chunk-QYJQAY6C.js";export{Meter}from"../chunk-E6EUGQGA.js";export{PieChart}from"../chunk-KAHYUBXM.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-CBMXYXBH.js";export{RadialBarChart}from"../chunk-ZC3CCRPG.js";export{RangeChart}from"../chunk-TBLN4MDQ.js";export{RankedBars}from"../chunk-QLOKT22X.js";export{ChordChart}from"../chunk-SC6HJBQA.js";import"../chunk-TBPHW42V.js";export{FunnelChart}from"../chunk-I5XVZLDH.js";export{StepChain,StepChainItem}from"../chunk-RBD7SB6M.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-7JJUI52C.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-PJPK2ADX.js";export{ContextMenu,useContextMenu}from"../chunk-NU2YQSOP.js";export{Banner}from"../chunk-7WLFHDWA.js";import"../chunk-JWX7QRGE.js";export{Input_default as Input}from"../chunk-MAMWQCJ6.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-KJHXCVNI.js";export{mediaFileName}from"../chunk-D4KZOYXQ.js";export{TransferProgress}from"../chunk-BJONHLET.js";export{IconButton_default as IconButton}from"../chunk-RUTUVS4H.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-LYX55RI3.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-UEIJSV45.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-X2S2XDZI.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-5OTS2G3M.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";export{TimeSeriesChart}from"../chunk-GVH3NG6G.js";export{ChartBrush}from"../chunk-QMYQ4B5A.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-2GPHHW7C.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-NBKQADMY.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-MCMUJDEP.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-RLLONZJJ.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-QLYOGT3U.js";export{Dialog}from"../chunk-T76X2SHR.js";export{ItemCount}from"../chunk-DRNB7KDC.js";import"../chunk-4AJRHTTB.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-4XZXY2AF.js";export{ColoredBadge}from"../chunk-H2XCQJRG.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{VERSION}from"../chunk-4GPUKEYQ.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-HAFB45DT.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";import"../chunk-URHGHXDN.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-LNARMEEZ.js";export{Button_default as Button}from"../chunk-NHH2MXFU.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";export{Icon}from"../chunk-FSPFV4MI.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";import"../chunk-HL6JSDN3.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-OZAAIE4E.js";export{Tooltip}from"../chunk-BCDG4N6L.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{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{BoxPlotChart}from"../chunk-IBIUI2D3.js";export{CandlestickChart}from"../chunk-CB6ROWOC.js";export{ChartTooltip}from"../chunk-TLRCTNUF.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-DTJRIWFR.js";export{CartesianPlot}from"../chunk-4CPE5NBC.js";import"../chunk-QCFN3ET4.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-PEM7UXQ3.js";import"../chunk-C3QOHMR6.js";
|
|
2
|
+
import"../chunk-DSIDJYH7.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{EmailTemplate}from"../chunk-3AZBI76O.js";export{ErrorBoundary}from"../chunk-2OE5VVBE.js";export{ErrorPage}from"../chunk-ZG2HMC7S.js";export{FormLayoutPage}from"../chunk-FRINAJU7.js";export{GalleryTemplate}from"../chunk-R5EJJ6HC.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-WUMHSI4U.js";export{ChatTemplate}from"../chunk-E7WY4GZ3.js";export{CheckoutTemplate}from"../chunk-GQMS5657.js";export{DashboardTemplate}from"../chunk-ZREDCRTL.js";export{DataTablePage}from"../chunk-SGTZJMZ6.js";export{TopNav}from"../chunk-EGAV5LSX.js";export{Statistic}from"../chunk-JB3WKDD7.js";export{Stepper}from"../chunk-Q7HN6T3H.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-A6RB4PIX.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-DKQWFQAV.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-PUIQFTCO.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-F24QTMTY.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-MPALY3CL.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-6YQPLI5M.js";export{ResizeHandle}from"../chunk-RBIGSJ2J.js";export{SettingReset}from"../chunk-GBLMVFDW.js";export{SettingRow}from"../chunk-LR77AS3N.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-D2WGDTWN.js";export{MetricBar}from"../chunk-J53OQCKC.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-JJP54OT4.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-SKETTGCJ.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-YL6LLHJA.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-YDEIXM2A.js";export{PageHeader}from"../chunk-ZPCADTM5.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-EIUCHQI2.js";export{GlobalSearch,openGlobalSearch}from"../chunk-JKZJVQIB.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{HelpCenter}from"../chunk-QRJRGP2K.js";export{IconRail,IconRailButton}from"../chunk-BDAKGS7O.js";import"../chunk-FQEALPZJ.js";export{CountBadge}from"../chunk-MZ26SYFY.js";export{EditableGrid}from"../chunk-53KQSCMG.js";export{Avatar,AvatarGroup}from"../chunk-5VTRKWKO.js";export{BudgetBar,budgetState}from"../chunk-RPMWF42S.js";export{Card,StatCard}from"../chunk-CBGKLHPB.js";export{ContainerFillChart}from"../chunk-UB5TLWZN.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-MVQMAIZM.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-GY67Y5SN.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-GRBBQ3VF.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-QTV3Y3UT.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.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{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{WidthsBar}from"../chunk-O33CUGOI.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{Snippet}from"../chunk-KAVFW5CU.js";export{SplitButton_default as SplitButton}from"../chunk-POCQ7ZL4.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-NDKQDIWN.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-AEJNFA2K.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-ELUTQZGP.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-U5DMF2TX.js";export{PositionInput}from"../chunk-BFVL2VTS.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-UFXE363L.js";export{Slider,SliderGroup}from"../chunk-MKEYXKZA.js";export{LinkPicker,TextLinkField}from"../chunk-UZ43AT4O.js";export{SearchableSelect}from"../chunk-RYS3URDC.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-5CH2RGL6.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-ZMVCN4OA.js";import"../chunk-YJSX6JAC.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-FTWWJHFX.js";export{ImageLightbox,lightboxKind}from"../chunk-XSJJPACH.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-VG5NGCMQ.js";export{Breadcrumbs}from"../chunk-GKZUAT3K.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-YFUMK2E7.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-B7AHMB3U.js";import"../chunk-VC42SDAC.js";export{DropdownMenu}from"../chunk-PVR4KU7H.js";export{NativeSelect,Select_default as Select}from"../chunk-7YU27U3Y.js";import"../chunk-EO5RLFRX.js";import"../chunk-5F7HMNCX.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-C6MV6IAX.js";export{MediaUsedInList}from"../chunk-TXMAWCR7.js";export{NumericKeypad}from"../chunk-SWO4VPOB.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-2YLG32JY.js";export{FilePicker_default as FilePicker}from"../chunk-GQK3U2IO.js";export{FormErrorSummary}from"../chunk-CL7SBEBQ.js";export{IconPicker}from"../chunk-XILZGSMX.js";export{CornersInput}from"../chunk-6I6VSUKY.js";export{DatePicker_default as DatePicker}from"../chunk-X6TJR6M2.js";export{DateRangePicker,toISODate}from"../chunk-VSAI5TH7.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-HI6IE5HI.js";export{DisplayChips}from"../chunk-T5V2GJ4D.js";export{slugify}from"../chunk-24AL3CDS.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{AlignmentGrid}from"../chunk-M554OMPA.js";export{BORDER_LINE_STYLES,BorderInput,borderSides,borderStartEach}from"../chunk-QTQQKQGQ.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-UTQG344L.js";export{Popover}from"../chunk-7JGR7WPD.js";export{InputNumber_default as InputNumber}from"../chunk-PA37I5ZX.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{BrandAssetEditor}from"../chunk-IU5KBQEQ.js";export{MediaUploadField}from"../chunk-RBXSU25O.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-QSW3YHPK.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{Segmented}from"../chunk-CKPVXDKX.js";import"../chunk-JDQGHQ2C.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar,fromKey as fromDateKey,toKey as toDateKey}from"../chunk-D7X2HMMA.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-ZF545DXX.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Kanban}from"../chunk-Q3MNSM7W.js";export{ListFooter}from"../chunk-43T5JGFB.js";export{ListLoadError}from"../chunk-PUCPFBYO.js";export{Pagination}from"../chunk-IWJRSC7M.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-HJPCHES5.js";export{StatTile}from"../chunk-6L2UAAGT.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-KE5U4KKG.js";export{TreemapChart}from"../chunk-W244OMOU.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-7KDGW6BR.js";export{HistogramChart}from"../chunk-LPUGK2MC.js";export{Meter}from"../chunk-4WZRNPIG.js";export{PieChart}from"../chunk-GKK7DR2H.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-AG2OLB3E.js";export{RadialBarChart}from"../chunk-IGEFUHYE.js";export{RangeChart}from"../chunk-PKIDVVAE.js";export{RankedBars}from"../chunk-ZCV377AG.js";export{SankeyChart}from"../chunk-YVTKTWZX.js";export{ChordChart}from"../chunk-QMUAY24U.js";import"../chunk-TBPHW42V.js";export{FunnelChart}from"../chunk-VO3ZB7C6.js";export{HeatmapChart}from"../chunk-LKW3YAZN.js";export{StepChain,StepChainItem}from"../chunk-RBD7SB6M.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-DPDRFLBY.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-PJPK2ADX.js";export{ContextMenu,useContextMenu}from"../chunk-IQWIYZB5.js";export{Banner}from"../chunk-66JYKX4T.js";import"../chunk-XS4HFUTW.js";export{Input_default as Input}from"../chunk-MAMWQCJ6.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-AJ3R5QPD.js";export{IconButton_default as IconButton}from"../chunk-RUTUVS4H.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-7BDZZANS.js";export{TransferProgress}from"../chunk-EQN65XOO.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-P6LB3I3D.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-GNU3U2TP.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-X2S2XDZI.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-5OTS2G3M.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";export{TimeSeriesChart}from"../chunk-XOKANFQD.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-IWEL2ZCV.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-WFANOFHG.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-BMQCUHSD.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-EGEWU776.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-4E4GWE4L.js";export{Dialog}from"../chunk-R2QDO7NY.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{ItemCount}from"../chunk-GMRZX2ET.js";import"../chunk-4AJRHTTB.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-OQW42DOR.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ColoredBadge}from"../chunk-DXHLUB36.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{VERSION}from"../chunk-IEAFSVXC.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-FPGRKHUW.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-LNARMEEZ.js";export{Button_default as Button}from"../chunk-NHH2MXFU.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-HL6JSDN3.js";export{Icon}from"../chunk-FSPFV4MI.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-OZAAIE4E.js";export{Tooltip}from"../chunk-BCDG4N6L.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{BoxPlotChart}from"../chunk-DL6QIWVR.js";export{CandlestickChart}from"../chunk-ZOBLEXIU.js";export{ChartTooltip}from"../chunk-TLRCTNUF.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-DTJRIWFR.js";export{CartesianPlot}from"../chunk-25STFYV3.js";import"../chunk-7VCAMNCH.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{ChartBrush}from"../chunk-RQNZ2PVW.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-X2PZMXDP.js";import"../chunk-C3QOHMR6.js";
|
package/dist/ui.css
CHANGED
|
@@ -638,38 +638,253 @@ html.rosh-reduce-transparency *::after {
|
|
|
638
638
|
--color-identity-8: var(--identity-8);
|
|
639
639
|
}
|
|
640
640
|
|
|
641
|
-
/* ── The
|
|
642
|
-
*
|
|
643
|
-
*
|
|
644
|
-
*
|
|
645
|
-
*
|
|
646
|
-
*
|
|
647
|
-
*
|
|
648
|
-
*
|
|
649
|
-
*
|
|
650
|
-
*
|
|
651
|
-
*
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
641
|
+
/* ── The editor's settings parts (B2 plan C, option 1, Lewis 2026-10-26) ─────
|
|
642
|
+
* "Keep the easel look; put it in the shell": the compact `SettingRow`,
|
|
643
|
+
* `SettingReset` and the `Accordion` band draw what efficient-easel's
|
|
644
|
+
* `SettingsField`, `SettingsDefaultReset` and `SettingsGroup` drew, and these
|
|
645
|
+
* rules are easel's, moved here whole, on the shell's own tokens. The class
|
|
646
|
+
* names stay easel's (`es-…`): hosts style and select against them. ONE look
|
|
647
|
+
* for a group band in the editors and in the portals (option 1).
|
|
648
|
+
*
|
|
649
|
+
* What an editor's panel adds is its LAYOUT, and that stays with it: the band
|
|
650
|
+
* bleeding to the panel edge, its own side inset, the air above a band, and
|
|
651
|
+
* the rhythm between its rows. */
|
|
652
|
+
|
|
653
|
+
/* A group: a heading round its button, then its body. The heading draws
|
|
654
|
+
nothing (WAI-ARIA APG accordion pattern); a host's `h3 { … }` never reaches
|
|
655
|
+
the band. */
|
|
656
|
+
.es-group-title {
|
|
657
|
+
display: block;
|
|
658
|
+
margin: 0;
|
|
659
|
+
padding: 0;
|
|
660
|
+
border: 0;
|
|
661
|
+
font: inherit;
|
|
662
|
+
letter-spacing: inherit;
|
|
663
|
+
text-transform: inherit;
|
|
664
|
+
color: inherit;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
/* The band: square, 32 tall (Lewis 2026-10-23: the full-bleed band was too
|
|
668
|
+
tall, one step under the 36 menu row), the title 12 / 600. The 4 above and
|
|
669
|
+
below keep the words and a 16px icon inside 32. No margin of its own: the
|
|
670
|
+
air above a band is its host's. */
|
|
671
|
+
.es-group-head {
|
|
672
|
+
box-sizing: border-box;
|
|
673
|
+
width: 100%;
|
|
674
|
+
display: flex;
|
|
675
|
+
align-items: center;
|
|
676
|
+
gap: var(--space-8);
|
|
677
|
+
border: 0;
|
|
678
|
+
text-align: left;
|
|
679
|
+
font: inherit;
|
|
680
|
+
font-size: var(--text-xs, 12px);
|
|
681
|
+
font-weight: 600;
|
|
682
|
+
color: var(--ink-strongest);
|
|
683
|
+
background: var(--surface-raised);
|
|
684
|
+
border-radius: 0;
|
|
685
|
+
min-height: var(--control-height-md, 32px);
|
|
686
|
+
padding: var(--space-4) var(--space-16);
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
button.es-group-head {
|
|
690
|
+
cursor: pointer;
|
|
691
|
+
transition: background 0.12s;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/* One grey step darker on hover. (In easel the light hover was the band's own
|
|
695
|
+
grey, so a press showed nothing; dark keeps its step.) */
|
|
696
|
+
button.es-group-head:hover { background: var(--rosh-fold-band); }
|
|
697
|
+
:is([data-theme="dark"], .dark) button.es-group-head:hover { background: var(--surface); }
|
|
698
|
+
|
|
699
|
+
button.es-group-head:disabled { cursor: not-allowed; opacity: 0.5; }
|
|
700
|
+
|
|
701
|
+
.es-group-icon {
|
|
702
|
+
width: 16px;
|
|
703
|
+
height: 16px;
|
|
704
|
+
flex: none;
|
|
705
|
+
display: inline-flex;
|
|
706
|
+
align-items: center;
|
|
707
|
+
justify-content: center;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/* How many settings in a folded group are changed: a folded group never hides
|
|
711
|
+
a change. */
|
|
712
|
+
.es-group-count {
|
|
713
|
+
min-width: 16px;
|
|
714
|
+
height: 16px;
|
|
715
|
+
padding: 0 var(--space-4);
|
|
716
|
+
border-radius: 999px;
|
|
717
|
+
background: var(--accent-600, var(--submit-bg));
|
|
718
|
+
color: var(--status-on-solid);
|
|
719
|
+
font-size: var(--text-2xs, 11px);
|
|
720
|
+
font-weight: 700;
|
|
721
|
+
display: inline-flex;
|
|
722
|
+
align-items: center;
|
|
723
|
+
justify-content: center;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/* The sign is drawn from aria-expanded, so the open state has ONE home. */
|
|
727
|
+
.es-group-sign {
|
|
728
|
+
margin-left: auto;
|
|
729
|
+
width: 16px;
|
|
730
|
+
text-align: center;
|
|
731
|
+
color: var(--ink-faint);
|
|
732
|
+
font-size: var(--text-sm, 14px);
|
|
733
|
+
line-height: 1;
|
|
734
|
+
flex: none;
|
|
735
|
+
}
|
|
736
|
+
[aria-expanded='true'] > .es-group-sign::before { content: '−'; }
|
|
737
|
+
[aria-expanded='false'] > .es-group-sign::before { content: '+'; }
|
|
738
|
+
|
|
739
|
+
/* THE GAP UNDER A BAND IS THE BAND'S (Lewis 2026-10-26: "should the title and
|
|
740
|
+
the content under it not have a gap?"): 32 above and 32 below its body,
|
|
741
|
+
whatever it holds. Margins, so the first setting row's own top margin and
|
|
742
|
+
the air a host puts above the next band fold into them: one 32px rhythm. */
|
|
743
|
+
.es-group-body {
|
|
744
|
+
margin-block: var(--space-32);
|
|
745
|
+
padding-inline: var(--space-16);
|
|
746
|
+
}
|
|
747
|
+
.es-group-body[hidden] { display: none; }
|
|
748
|
+
.es-group-body > :first-child,
|
|
749
|
+
.es-group-body > :first-child > .es-field:first-child { margin-top: 0; }
|
|
750
|
+
|
|
751
|
+
/* The quiet tier, one rung under the band: no ground and no rule, it
|
|
752
|
+
separates itself by case and colour. Flush with the rows it heads. */
|
|
753
|
+
.es-group-sub {
|
|
754
|
+
box-sizing: border-box;
|
|
755
|
+
font-size: var(--text-2xs, 11px);
|
|
756
|
+
font-weight: 600;
|
|
757
|
+
letter-spacing: 0.07em;
|
|
758
|
+
text-transform: uppercase;
|
|
759
|
+
color: var(--ink-faint);
|
|
760
|
+
}
|
|
761
|
+
button.es-group-sub {
|
|
762
|
+
display: flex;
|
|
763
|
+
align-items: center;
|
|
764
|
+
width: 100%;
|
|
765
|
+
padding: 0;
|
|
766
|
+
border: 0;
|
|
767
|
+
background: none;
|
|
768
|
+
text-align: left;
|
|
769
|
+
cursor: pointer;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
/* One setting: a name line, then its control. The panel it sits in spaces
|
|
773
|
+
its rows (efficient-easel's panel rhythm: the air between two settings and
|
|
774
|
+
between a name and its own control, on tokens a host can read). */
|
|
775
|
+
.es-field-head {
|
|
776
|
+
display: flex;
|
|
777
|
+
align-items: center;
|
|
778
|
+
gap: var(--space-8);
|
|
779
|
+
min-height: 16px;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.es-field-name {
|
|
783
|
+
display: inline-flex;
|
|
784
|
+
align-items: center;
|
|
785
|
+
gap: var(--space-8);
|
|
786
|
+
min-width: 0;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.es-field-icon {
|
|
790
|
+
width: 16px;
|
|
791
|
+
height: 16px;
|
|
792
|
+
flex: none;
|
|
793
|
+
color: var(--ink-faint);
|
|
794
|
+
display: inline-flex;
|
|
795
|
+
align-items: center;
|
|
796
|
+
justify-content: center;
|
|
797
|
+
}
|
|
798
|
+
.es-field-icon svg { width: 16px; height: 16px; }
|
|
799
|
+
|
|
800
|
+
.es-field-label {
|
|
801
|
+
font-size: var(--text-2xs, 11px);
|
|
802
|
+
font-weight: 500;
|
|
803
|
+
color: var(--ink-faint);
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
/* A changed setting's name takes the accent's words — also when a host drew
|
|
807
|
+
the Reset part inside a component of its own and did not pass `changed`. */
|
|
808
|
+
.es-field.is-changed .es-field-label,
|
|
809
|
+
.es-field:has(> .es-field-head > .es-default-reset.is-changed) > .es-field-head .es-field-label,
|
|
810
|
+
.es-field:has(> .es-field-head > span > .es-default-reset.is-changed) > .es-field-head .es-field-label {
|
|
811
|
+
color: color-mix(in srgb, var(--accent-600, var(--submit-bg)) 65%, var(--ink-strongest));
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
/* The value's word. 16px tall like the head, so a row is one height whether
|
|
815
|
+
its value is drawn or not (a press on Reset, which empties it, moved every
|
|
816
|
+
row below by 1.5px when it took the host's line height). */
|
|
817
|
+
.es-field-value {
|
|
818
|
+
margin-left: auto;
|
|
819
|
+
font-size: var(--text-xs, 12px);
|
|
820
|
+
line-height: 16px;
|
|
821
|
+
color: var(--ink-strongest);
|
|
822
|
+
font-variant-numeric: tabular-nums;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.es-field-ctl {
|
|
826
|
+
display: flex;
|
|
827
|
+
align-items: center;
|
|
828
|
+
gap: var(--space-8);
|
|
829
|
+
min-width: 0;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/* The hint sits FLUSH LEFT, on the row's icon edge (Lewis 2026-10-06). */
|
|
833
|
+
.es-field-hint {
|
|
834
|
+
margin: var(--space-8) 0 0;
|
|
835
|
+
font-size: var(--text-2xs, 11px);
|
|
836
|
+
line-height: 1.45;
|
|
837
|
+
color: var(--ink-faint);
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
/* Whatever a host puts at the end of the name line — the Reset part (or the
|
|
841
|
+
Tooltip round it), a switch, an `Each side` toggle — sits at the row's right
|
|
842
|
+
end; a drawn value already took the free space and the action follows it. */
|
|
843
|
+
.es-field-name + :not(.es-field-value) { margin-left: auto; }
|
|
844
|
+
|
|
845
|
+
/* The grey value is the "Default" word (option E): a row whose Reset slot is
|
|
846
|
+
empty draws its value grey; it takes the text's ink once changed. */
|
|
847
|
+
.es-field:has(> .es-field-head > span.es-default-reset) .es-field-value { color: var(--ink-faint); }
|
|
848
|
+
.es-field-value + .es-default-reset,
|
|
849
|
+
.es-field-value + span:has(> .es-default-reset) { margin-left: calc(-1 * var(--space-4)); }
|
|
850
|
+
|
|
851
|
+
/* The Reset part: ONE fixed 22px slot in both states, so every row's end lines
|
|
852
|
+
up whether it can be reset or not (option E, final 2026-10-07). */
|
|
853
|
+
.es-default-reset {
|
|
854
|
+
appearance: none;
|
|
855
|
+
-webkit-appearance: none;
|
|
856
|
+
box-sizing: border-box;
|
|
857
|
+
flex: none;
|
|
858
|
+
display: inline-flex;
|
|
859
|
+
align-items: center;
|
|
860
|
+
justify-content: center;
|
|
861
|
+
width: 22px;
|
|
862
|
+
height: 22px;
|
|
863
|
+
margin: 0;
|
|
864
|
+
padding: 0;
|
|
865
|
+
border: 0;
|
|
866
|
+
border-radius: var(--radius-md);
|
|
867
|
+
background: transparent;
|
|
868
|
+
color: var(--ink-faint);
|
|
869
|
+
}
|
|
870
|
+
.es-default-reset svg { display: block; width: 15px; height: 15px; }
|
|
871
|
+
.es-default-reset.is-changed {
|
|
872
|
+
color: color-mix(in srgb, var(--accent-600, var(--submit-bg)) 65%, var(--ink-strongest));
|
|
873
|
+
cursor: pointer;
|
|
874
|
+
}
|
|
875
|
+
.es-default-reset.is-changed:hover { background: var(--surface-raised); }
|
|
876
|
+
.es-default-reset.is-changed:disabled { color: var(--ink-faintest); background: transparent; cursor: default; }
|
|
877
|
+
.es-default-reset.is-pressable { cursor: pointer; }
|
|
878
|
+
.es-default-reset.is-pressable:hover { background: var(--surface-raised); color: var(--ink); }
|
|
879
|
+
.es-default-reset.is-pressable:disabled { color: var(--ink-faintest); background: transparent; cursor: default; }
|
|
880
|
+
.es-default-reset:focus-visible:not(.rosh-host-focus *) {
|
|
881
|
+
outline: 2px solid var(--rosh-focus-ring);
|
|
882
|
+
outline-offset: 1px;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
/* ── The fold band step (owner 2026-10-17, R2) ──────────────────────────────
|
|
886
|
+
* One grey step darker than the panel, and one step further: since B2 plan C
|
|
887
|
+
* the group band's hover (`button.es-group-head:hover`, above). It reads the BASE tier, not the
|
|
673
888
|
* roles: an accent theme tints the roles, and its tint must not reach the
|
|
674
889
|
* band; a host's own base does. */
|
|
675
890
|
:root {
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{APP_VERSION,VERSION}from"./chunk-
|
|
1
|
+
export{APP_VERSION,VERSION}from"./chunk-IEAFSVXC.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-shell",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.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-HMG5TW2R.js";import{useWidgetSettings as n}from"./chunk-6FI3HVUR.js";import"./chunk-CY5N5OA3.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-RLLONZJJ.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-BYHKYYL6.js";import"./chunk-QLYOGT3U.js";import"./chunk-T76X2SHR.js";import"./chunk-DRNB7KDC.js";import"./chunk-4AJRHTTB.js";import"./chunk-VWGWZY7A.js";import"./chunk-PKXQDCNR.js";import"./chunk-H2XCQJRG.js";import"./chunk-UGTRSRIW.js";import"./chunk-CDAJKLGL.js";import"./chunk-KC3EX26K.js";import"./chunk-HAFB45DT.js";import"./chunk-5QFPTDQF.js";import"./chunk-URHGHXDN.js";import"./chunk-LNARMEEZ.js";import"./chunk-NHH2MXFU.js";import"./chunk-UQYNPYF4.js";import{Icon as r}from"./chunk-FSPFV4MI.js";import"./chunk-J75ZT2JQ.js";import"./chunk-HL6JSDN3.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-OZAAIE4E.js";import"./chunk-BCDG4N6L.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-DTJRIWFR.js";import"./chunk-TWVUQUUD.js";import"./chunk-PEM7UXQ3.js";import"./chunk-C3QOHMR6.js";import{useState as c,useRef as i,useCallback as l,useEffect as o}from"react";import{jsxs as s,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),[N,j]=c(!1),[y,x]=c(""),[f,C]=c([]),[v,$]=c(!1),[T,E]=c(()=>e(h)),[R,D]=c(!1),[H,W]=c(T),J=i(null);n(l(()=>{W({...T}),D(!0)},[T]));const w=l(e=>{x(""),k(t=>N||"0"===t?(j(!1),"."===e?"0.":e):"."===e&&t.includes(".")?t:t+e)},[N]),A=l(()=>{k("0"),d(null),g(null),j(!1)},[]),F=l((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}},[]),L=l(e=>{const t=parseFloat(m);if(null!==p&&b&&!N){const e=F(p,t,b);k(String(e)),d(e),C(n=>[`${p} ${b} ${t} = ${e}`,...n].slice(0,20))}else d(t);g(e),j(!0)},[m,p,b,N,F]),M=l(()=>{if(null===p||!b)return;const e=parseFloat(m),t=F(p,e,b),n=`${p} ${b} ${e} =`;C(e=>[`${n} ${t}`,...e].slice(0,20)),x(n),k(String(t)),d(null),g(null),j(!0)},[m,p,b,F]),U=l(()=>{k(e=>String(parseFloat(e)/100))},[]),S=l(()=>{k(e=>e.startsWith("-")?e.slice(1):"0"===e?e:"-"+e)},[]);o(()=>{const e=e=>{const t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t&&(e.key>="0"&&e.key<="9"?w(e.key):"."===e.key?w("."):"+"===e.key?L("+"):"-"===e.key?L("-"):"*"===e.key?L("×"):"/"===e.key?(e.preventDefault(),L("÷")):"Enter"===e.key||"="===e.key?("Enter"===e.key&&e.target instanceof Node&&J.current?.contains(e.target)&&e.preventDefault(),M()):"Escape"===e.key?A():"Backspace"===e.key?k(e=>e.length>1?e.slice(0,-1):"0"):"%"===e.key&&U())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[w,L,M,A,U]);const G="flex items-center justify-center rounded-lg text-sm font-medium transition-colors",B=`${G} bg-white border border-gray-200 text-gray-900 hover:bg-gray-50 active:bg-gray-100`,Q=`${G} bg-blue-50 border border-blue-200 text-blue-700 hover:bg-blue-100 active:bg-blue-200`,X=`${G} bg-gray-100 border border-gray-200 text-gray-600 hover:bg-gray-200 active:bg-gray-300`,K=`${G} bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800`;/* @__PURE__ */
|
|
2
|
-
return s(a,{children:[
|
|
3
|
-
/* @__PURE__ */s("div",{ref:J,className:"flex flex-col h-full",style:{opacity:T.activeOpacity/100,backdropFilter:T.activeBlur>0?`blur(${T.activeBlur}px)`:void 0},children:[
|
|
4
|
-
/* @__PURE__ */s("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:f.slice(0,3).reverse().map((e,t)=>/* @__PURE__ */u("div",{className:"text-2xs text-slate-400 text-right font-mono truncate",children:e},t))}),(y||b&&null!==p)&&/* @__PURE__ */u("div",{className:"text-base text-slate-600 text-right font-mono",children:y||`${p} ${b} ${N?"":m}`}),
|
|
6
|
-
/* @__PURE__ */s("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__ */s("div",{className:"grid grid-cols-4 grid-rows-5 gap-2 flex-1 min-h-0 p-2",children:[
|
|
10
|
-
/* @__PURE__ */u("button",{onClick:A,className:X,children:"AC"}),
|
|
11
|
-
/* @__PURE__ */u("button",{onClick:S,className:X,children:"+/−"}),
|
|
12
|
-
/* @__PURE__ */u("button",{onClick:U,className:X,children:"%"}),
|
|
13
|
-
/* @__PURE__ */u("button",{onClick:()=>L("÷"),className:`${Q} ${"÷"===b?"ring-2 ring-blue-400":""}`,children:"÷"}),
|
|
14
|
-
/* @__PURE__ */u("button",{onClick:()=>w("7"),className:B,children:"7"}),
|
|
15
|
-
/* @__PURE__ */u("button",{onClick:()=>w("8"),className:B,children:"8"}),
|
|
16
|
-
/* @__PURE__ */u("button",{onClick:()=>w("9"),className:B,children:"9"}),
|
|
17
|
-
/* @__PURE__ */u("button",{onClick:()=>L("×"),className:`${Q} ${"×"===b?"ring-2 ring-blue-400":""}`,children:"×"}),
|
|
18
|
-
/* @__PURE__ */u("button",{onClick:()=>w("4"),className:B,children:"4"}),
|
|
19
|
-
/* @__PURE__ */u("button",{onClick:()=>w("5"),className:B,children:"5"}),
|
|
20
|
-
/* @__PURE__ */u("button",{onClick:()=>w("6"),className:B,children:"6"}),
|
|
21
|
-
/* @__PURE__ */u("button",{onClick:()=>L("-"),className:`${Q} ${"-"===b?"ring-2 ring-blue-400":""}`,children:"−"}),
|
|
22
|
-
/* @__PURE__ */u("button",{onClick:()=>w("1"),className:B,children:"1"}),
|
|
23
|
-
/* @__PURE__ */u("button",{onClick:()=>w("2"),className:B,children:"2"}),
|
|
24
|
-
/* @__PURE__ */u("button",{onClick:()=>w("3"),className:B,children:"3"}),
|
|
25
|
-
/* @__PURE__ */u("button",{onClick:()=>L("+"),className:`${Q} ${"+"===b?"ring-2 ring-blue-400":""}`,children:"+"}),
|
|
26
|
-
/* @__PURE__ */u("button",{onClick:()=>w("0"),className:`${B} col-span-2`,children:"0"}),
|
|
27
|
-
/* @__PURE__ */u("button",{onClick:()=>w("."),className:B,children:"."}),
|
|
28
|
-
/* @__PURE__ */u("button",{onClick:M,className:K,children:"="})]})]}),
|
|
29
|
-
/* @__PURE__ */u(t,{open:R,onClose:()=>D(!1),title:"Calculator Settings",appearance:H,onAppearanceChange:W,onSave:()=>{E(H),localStorage.setItem(h,JSON.stringify(H)),D(!1)}})]})}export{m as default};
|
package/dist/Files-MT6PMAHO.js
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import{openPreviewFile as e}from"./chunk-VANJPZ3H.js";import{SidebarLayout as t}from"./chunk-5AWV5R6E.js";import"./chunk-QWK6DRSN.js";import"./chunk-V5QEPNPK.js";import{Breadcrumbs as a}from"./chunk-NGQHXTUK.js";import{formatBytes as n}from"./chunk-X2S2XDZI.js";import"./chunk-5OTS2G3M.js";import"./chunk-36BRD5J3.js";import{getFilesDemoTree as r}from"./chunk-TGLHJS3M.js";import{AboutApp as i}from"./chunk-27W6BXT6.js";import{peekFilesViewRequest as s,consumeFilesViewRequest as o,FILES_SHOW_TRASH_EVENT as l,FILES_OPEN_DESKTOP_FOLDER_EVENT as c,subscribeDesktopFolders as d,getDesktopFoldersSnapshot as m,FolderGlyph as h,DesktopItemMiniIcon as p,desktopItemTypeLabel as u}from"./chunk-GSBIJLTD.js";import"./chunk-ESL5TDNA.js";import"./chunk-VTVSMRFX.js";import{useWindowManager as f,WindowTitle as x}from"./chunk-6FI3HVUR.js";import"./chunk-CY5N5OA3.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-RLLONZJJ.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-BYHKYYL6.js";import{confirm as g,prompt as k}from"./chunk-QLYOGT3U.js";import"./chunk-T76X2SHR.js";import{ItemCount as b}from"./chunk-DRNB7KDC.js";import"./chunk-4AJRHTTB.js";import"./chunk-VWGWZY7A.js";import"./chunk-PKXQDCNR.js";import{toast_default as y}from"./chunk-4XZXY2AF.js";import"./chunk-H2XCQJRG.js";import"./chunk-UGTRSRIW.js";import"./chunk-CDAJKLGL.js";import"./chunk-KC3EX26K.js";import"./chunk-4GPUKEYQ.js";import"./chunk-HAFB45DT.js";import"./chunk-5QFPTDQF.js";import"./chunk-URHGHXDN.js";import"./chunk-LNARMEEZ.js";import"./chunk-NHH2MXFU.js";import"./chunk-UQYNPYF4.js";import{Icon as N}from"./chunk-FSPFV4MI.js";import"./chunk-J75ZT2JQ.js";import"./chunk-HL6JSDN3.js";import{LoadingSpinner as w}from"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import{TH_ONE_LINE as v}from"./chunk-OZAAIE4E.js";import"./chunk-BCDG4N6L.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-DTJRIWFR.js";import"./chunk-TWVUQUUD.js";import"./chunk-PEM7UXQ3.js";import"./chunk-C3QOHMR6.js";import{useState as j,useEffect as $,useSyncExternalStore as C,useRef as D,useCallback as T}from"react";import{jsxs as L,jsx as E,Fragment as R}from"react/jsx-runtime";var S="undefined"!=typeof window&&window.__REACT_OS_SHELL_FILE_SERVER__||"http://localhost:4000",P={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 W(e,t){return"/"===e||""===e?"/"+t:e.replace(/\/$/,"")+"/"+t}function F(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 M(){const M=S.replace(/\/$/,""),U=null!==r(),[A,I]=j("/"),[H,O]=j([]),[J,V]=j([]),[B,G]=j(null),[K,X]=j(!0),[Q,Z]=j(!1),[z,Y]=j(null),[_,q]=j(!1),[ee,te]=j(()=>{const e=s();return"trash"===e?"trash":e?{desktopFolderId:e.folderId}:"files"});$(()=>{o()},[]);const[ae,ne]=j([]);$(()=>{const e=()=>{o(),te("trash")},t=e=>{o();const t=e.detail?.folderId;t&&te({desktopFolderId:t})};return window.addEventListener(l,e),window.addEventListener(c,t),()=>{window.removeEventListener(l,e),window.removeEventListener(c,t)}},[]);const re=C(d,m,m),ie="object"==typeof ee?ee.desktopFolderId:null,se=ie?re?.folders.find(e=>e.id===ie)??null:null,oe=ie&&re?.itemsByFolder[ie]||[];$(()=>{ie&&re&&!re.folders.some(e=>e.id===ie)&&te("files")},[ie,re]);const le=D(0),ce=D(null),{openPage:de,openEntity:me}=f(),he=t=>{"preview-file"===t.entityType&&t.filePath&&t.fileKind?e({filePath:t.filePath,filename:t.label,kind:t.fileKind,onStaged:e=>de(e)}):"page"===t.entityType?de(t.entityId):me(t.entityType,t.entityId,null,t.label)},pe=T((e,t={})=>fetch(e,{...t,credentials:"include"}),[]),ue=T(async()=>{try{const e=await pe(`${M}/api/quota`);if(e.ok){const t=await e.json();Y({used:t.used,limit:t.limit})}}catch{}},[pe,M]),fe=T(async e=>{if(G(null),U){const t=function(e){const t=r();if(!t)return[];let a=t;for(const t of e.split("/").filter(Boolean)){const e=a.find(e=>"folder"===e.kind&&e.name===t);if(!e||!e.children)return[];a=e.children}return a.map(e=>({name:e.name,kind:e.kind,size:e.size??0,modifiedAt:e.modifiedAt??""}))}(e);return O(t),I(e),Z(!1),X(!1),void("/"===e&&V(t.filter(e=>"folder"===e.kind).map(e=>e.name)))}X(!0);try{const t=await pe(`${M}/api/files?path=${encodeURIComponent(e)}`);if(!t.ok){const e=await t.json().catch(()=>({}));return void y.error(e.error||`Failed to list (${t.status})`)}const a=await t.json(),n=a.entries||[];O(n),I(a.path||e),Z(!1),"/"===(a.path||e)&&V(n.filter(e=>"folder"===e.kind).map(e=>e.name))}catch(e){Z(!0)}finally{X(!1)}ue()},[pe,M,ue,U]),xe=T(async()=>{if(U)return ne([]),void X(!1);X(!0),G(null);try{const e=await pe(`${M}/api/trash`);if(!e.ok){const t=await e.json().catch(()=>({}));return void y.error(t.error||`Failed to list trash (${e.status})`)}const t=await e.json();ne(t.entries||[]),Z(!1)}catch{Z(!0)}finally{X(!1)}ue()},[pe,M,ue,U]);$(()=>{"files"===ee?fe(A):"trash"===ee&&xe()},[A,ee]);const ge=async e=>{const t=W(A,e.name);try{const a=await pe(`${M}/api/file?path=${encodeURIComponent(t)}`);if(!a.ok)return void y.error(`Download failed (${a.status})`);const n=await a.blob(),r=URL.createObjectURL(n),i=document.createElement("a");i.href=r,i.download=e.name,i.click(),setTimeout(()=>URL.revokeObjectURL(r),1e3)}catch(e){y.error(e?.message||"Download failed")}},ke=async e=>{const t=Array.from(e);for(const e of t){const t=new FormData;t.append("file",e);try{const a=await pe(`${M}/api/upload?path=${encodeURIComponent(A)}`,{method:"POST",body:t});if(!a.ok){const t=await a.json().catch(()=>({}));if(413===a.status){const a=Math.max(0,(t.limit||0)-(t.used||0));y.error(`Quota exceeded — ${n(a)} free, ${e.name} is ${n(t.attempted||e.size)}`)}else y.error(`Upload ${e.name}: ${t.error||a.status}`)}}catch(t){y.error(`Upload ${e.name}: ${t?.message||"failed"}`)}}fe(A)},be=()=>{le.current=0,q(!1)};if($(()=>{const e=()=>be();return window.addEventListener("dragend",e),window.addEventListener("drop",e),()=>{window.removeEventListener("dragend",e),window.removeEventListener("drop",e)}},[]),Q)/* @__PURE__ */
|
|
2
|
-
return L("div",{className:"flex flex-col h-full bg-white",children:[
|
|
3
|
-
/* @__PURE__ */E(x,{title:"Files - offline"}),
|
|
4
|
-
/* @__PURE__ */E("div",{className:"flex-1 flex items-center justify-center p-8 text-center",children:/* @__PURE__ */L("div",{className:"max-w-md",children:[
|
|
5
|
-
/* @__PURE__ */E(N,{name:"close-circle",className:"h-12 w-12 mx-auto text-gray-300 mb-3",strokeWidth:1.4}),
|
|
6
|
-
/* @__PURE__ */E("h3",{className:"text-base font-semibold text-gray-800 mb-1",children:"Can't reach the file server"}),
|
|
7
|
-
/* @__PURE__ */L("p",{className:"text-sm text-gray-500 mb-3",children:["No response from ",
|
|
8
|
-
/* @__PURE__ */E("span",{className:"font-mono",children:M}),". Make sure the server is running — see ",
|
|
9
|
-
/* @__PURE__ */E("span",{className:"font-mono",children:"examples/file-server/README.md"}),"."]}),
|
|
10
|
-
/* @__PURE__ */E("button",{onClick:()=>fe(A),className:"px-3 h-8 text-sm bg-blue-500 text-on-accent rounded hover:bg-blue-600",children:"Retry"})]})})]});const ye="/"===A?[]:A.split("/").filter(Boolean),Ne=z&&z.limit>0?Math.min(100,Math.round(z.used/z.limit*100)):0,we=Ne>90?"bg-red-500":Ne>75?"bg-amber-500":"bg-blue-500",ve=[{label:"My files",onClick:()=>I("/")},...ye.map((e,t)=>({label:e,onClick:()=>I("/"+ye.slice(0,t+1).join("/"))}))],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-blue-50 font-medium text-blue-700":"text-gray-700 hover:bg-gray-100"),$e=e=>/* @__PURE__ */E("svg",{className:"h-4 w-4 shrink-0 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:/* @__PURE__ */E("path",{strokeLinecap:"round",strokeLinejoin:"round",d:e})}),Ce=/* @__PURE__ */L("nav",{className:"p-2",children:[
|
|
11
|
-
/* @__PURE__ */E("div",{className:"px-2 py-2 text-2xs font-semibold uppercase tracking-wide text-ink-faintest",children:"Locations"}),
|
|
12
|
-
/* @__PURE__ */L("button",{onClick:()=>{te("files"),I("/")},className:je("files"===ee&&"/"===A),children:[$e("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"]}),J.map(e=>/* @__PURE__ */L("button",{onClick:()=>{te("files"),I("/"+e)},className:je("files"===ee&&A==="/"+e),children:[$e("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"),
|
|
13
|
-
/* @__PURE__ */E("span",{className:"truncate",children:e})]},e)),!U&&/* @__PURE__ */L("button",{onClick:()=>te("trash"),className:je("trash"===ee),children:[$e("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"]}),re&&re.folders.length>0&&/* @__PURE__ */L(R,{children:[
|
|
14
|
-
/* @__PURE__ */E("div",{className:"px-2 pt-3 pb-2 text-2xs font-semibold uppercase tracking-wide text-ink-faintest",children:"Desktop"}),re.folders.map(e=>/* @__PURE__ */L("button",{onClick:()=>te({desktopFolderId:e.id}),className:je(ie===e.id),children:[
|
|
15
|
-
/* @__PURE__ */E(h,{className:"h-4 w-4 shrink-0 text-amber-500"}),
|
|
16
|
-
/* @__PURE__ */E("span",{className:"truncate",children:e.name}),
|
|
17
|
-
/* @__PURE__ */E(b,{count:e.itemCount,active:ie===e.id,className:"ml-auto"})]},e.id))]})]});/* @__PURE__ */
|
|
18
|
-
return L("div",{className:"relative flex flex-col h-full bg-white",onDragEnter:e=>{U||"object"==typeof ee||e.dataTransfer?.types?.includes?.("Files")&&(e.preventDefault(),le.current++,_||q(!0))},onDragOver:e=>{e.dataTransfer?.types?.includes?.("Files")&&e.preventDefault()},onDragLeave:()=>{le.current>0&&le.current--,0===le.current&&q(!1)},onDrop:e=>{e.preventDefault(),be(),U||"object"==typeof ee||e.dataTransfer.files?.length&&ke(e.dataTransfer.files)},children:[
|
|
19
|
-
/* @__PURE__ */E(x,{title:se?`Files - ${se.name}`:"Files"+("/"===A?"":" - "+A)}),
|
|
20
|
-
/* @__PURE__ */E(i,{app:"files"}),
|
|
21
|
-
/* @__PURE__ */E("input",{ref:ce,type:"file",multiple:!0,className:"hidden",onChange:e=>{e.target.files?.length&&ke(e.target.files),ce.current&&(ce.current.value="")}}),
|
|
22
|
-
/* @__PURE__ */E("div",{className:"flex-1 min-h-0",children:/* @__PURE__ */E(t,{sidebar:Ce,storageKey:"files.sidebarWidth",defaultWidth:200,minWidth:150,maxWidth:320,children:/* @__PURE__ */L("div",{className:"flex h-full min-w-0 flex-col",children:[
|
|
23
|
-
/* @__PURE__ */L("div",{className:"flex items-center gap-1 px-2 py-2 border-b border-line bg-surface-sunken shrink-0 text-xs",children:[/* @__PURE__ */L(R,"files"===ee?{children:[
|
|
24
|
-
/* @__PURE__ */E("button",{onClick:()=>I(function(e){if("/"===e||""===e)return"/";const t=e.replace(/\/$/,""),a=t.lastIndexOf("/");return a<=0?"/":t.slice(0,a)}(A)),disabled:"/"===A,className:"px-2 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",title:"Parent folder",children:/* @__PURE__ */E(N,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
|
|
25
|
-
/* @__PURE__ */E("div",{className:"flex-1 min-w-0",children:/* @__PURE__ */E(a,{items:ve,maxItems:5})}),
|
|
26
|
-
/* @__PURE__ */E("button",{onClick:()=>fe(A),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Refresh",children:/* @__PURE__ */E(N,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})}),!U&&/* @__PURE__ */L(R,{children:[
|
|
27
|
-
/* @__PURE__ */L("button",{onClick:()=>te("trash"),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600 flex items-center gap-1",title:"Open trash",children:[
|
|
28
|
-
/* @__PURE__ */E(N,{name:"trash",className:"h-3.5 w-3.5",strokeWidth:1.5}),"Trash"]}),
|
|
29
|
-
/* @__PURE__ */L("button",{onClick:async()=>{const e=await k({title:"New folder",placeholder:"Folder name",confirmLabel:"Create"});if(!e)return;if(/[\\/]/.test(e))return void y.error("Folder names cannot contain slashes");const t=W(A,e),a=await pe(`${M}/api/folder`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:t})});if(!a.ok){const e=await a.json().catch(()=>({}));return void y.error(e.error||`Create folder failed (${a.status})`)}fe(A)},className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600 flex items-center gap-1",children:[
|
|
30
|
-
/* @__PURE__ */E(N,{name:"folder-plus",className:"h-3.5 w-3.5",strokeWidth:1.5}),"New Folder"]}),
|
|
31
|
-
/* @__PURE__ */L("button",{onClick:()=>ce.current?.click(),className:"px-2 py-1 rounded bg-blue-500 text-white hover:bg-blue-600 flex items-center gap-1",children:[
|
|
32
|
-
/* @__PURE__ */E(N,{name:"upload",className:"h-3.5 w-3.5",strokeWidth:1.8}),"Upload"]})]})]}:"trash"===ee?{children:[
|
|
33
|
-
/* @__PURE__ */E("button",{onClick:()=>te("files"),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Back to files",children:/* @__PURE__ */E(N,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
|
|
34
|
-
/* @__PURE__ */E("span",{className:"flex-1 text-gray-700 font-medium px-2",children:"Trash"}),
|
|
35
|
-
/* @__PURE__ */E("button",{onClick:xe,className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Refresh",children:/* @__PURE__ */E(N,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})}),
|
|
36
|
-
/* @__PURE__ */E("button",{onClick:async()=>{if(0===ae.length)return;if(!await g({title:"Empty trash",message:`${ae.length} item${1===ae.length?"":"s"} will be permanently removed. This can't be undone.`,confirmLabel:"Empty trash",variant:"danger"}))return;const e=await pe(`${M}/api/trash`,{method:"DELETE"});if(!e.ok){const t=await e.json().catch(()=>({}));return void y.error(t.error||`Empty trash failed (${e.status})`)}xe()},disabled:0===ae.length,className:"px-2 py-1 rounded text-red-600 hover:bg-red-50 disabled:opacity-30 flex items-center gap-1",children:"Empty trash"})]}:{children:[
|
|
37
|
-
/* @__PURE__ */E("button",{onClick:()=>te("files"),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Back to files",children:/* @__PURE__ */E(N,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
|
|
38
|
-
/* @__PURE__ */E(h,{className:"h-4 w-4 text-amber-500 ml-1"}),
|
|
39
|
-
/* @__PURE__ */E("span",{className:"flex-1 text-gray-700 font-medium px-1 truncate",children:se?.name??"Desktop folder"}),
|
|
40
|
-
/* @__PURE__ */E("span",{className:"text-2xs text-ink-faintest px-2",children:"Desktop shortcuts"})]}),z&&/* @__PURE__ */L(R,{children:[
|
|
41
|
-
/* @__PURE__ */E("div",{className:"h-4 w-px bg-gray-300 mx-1"}),
|
|
42
|
-
/* @__PURE__ */L("div",{className:"flex items-center gap-2",title:`${n(z.used)} of ${n(z.limit)} used`,children:[
|
|
43
|
-
/* @__PURE__ */E("div",{className:"w-20 h-1.5 rounded-full bg-gray-200 overflow-hidden",children:/* @__PURE__ */E("div",{className:`h-full ${we} transition-all`,style:{width:`${Ne}%`}})}),
|
|
44
|
-
/* @__PURE__ */L("span",{className:"text-2xs text-ink-faint tabular-nums whitespace-nowrap",children:[n(z.used)," / ",n(z.limit)]})]})]})]}),
|
|
45
|
-
/* @__PURE__ */E("div",{className:"flex-1 overflow-auto",children:"object"==typeof ee?0===oe.length?/* @__PURE__ */E("div",{className:"p-10 text-center text-sm text-gray-400",children:"This desktop folder is empty. Drag shortcuts onto it on the desktop."}):/* @__PURE__ */L("table",{className:"w-full text-sm",children:[
|
|
46
|
-
/* @__PURE__ */E("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */L("tr",{children:[
|
|
47
|
-
/* @__PURE__ */E("th",{className:`${v} text-left font-medium px-3 h-8`,children:"Name"}),
|
|
48
|
-
/* @__PURE__ */E("th",{className:`${v} text-left font-medium px-3 h-8 w-28`,children:"Type"}),
|
|
49
|
-
/* @__PURE__ */E("th",{className:`${v} w-56`})]})}),
|
|
50
|
-
/* @__PURE__ */E("tbody",{children:oe.map(e=>{const t=`${e.entityType}|${e.entityId}`;/* @__PURE__ */
|
|
51
|
-
return L("tr",{onClick:()=>G(t),onDoubleClick:()=>he(e),className:"cursor-default border-b border-gray-100 "+(B===t?"bg-blue-50":"hover:bg-gray-50"),children:[
|
|
52
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 flex items-center gap-2",children:[
|
|
53
|
-
/* @__PURE__ */E(p,{item:e}),
|
|
54
|
-
/* @__PURE__ */E("span",{className:"truncate",title:e.label,children:e.label})]}),
|
|
55
|
-
/* @__PURE__ */E("td",{className:"px-3 h-8 text-xs text-ink-faint",children:u(e)}),
|
|
56
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:[
|
|
57
|
-
/* @__PURE__ */E("button",{onClick:t=>{t.stopPropagation(),he(e)},className:"px-2 py-0.5 rounded hover:bg-gray-200 text-blue-600 text-2xs",children:"Open"}),
|
|
58
|
-
/* @__PURE__ */E("button",{onClick:t=>{t.stopPropagation(),re?.moveToDesktop([e])},className:"px-2 py-0.5 rounded hover:bg-gray-200 text-ink-faint text-2xs ml-1",children:"Move to desktop"}),
|
|
59
|
-
/* @__PURE__ */E("button",{onClick:t=>{t.stopPropagation(),re?.removeShortcuts([e])},className:"px-2 py-0.5 rounded hover:bg-red-100 text-red-600 text-2xs ml-1",children:"Remove"})]})]},t)})})]}):"trash"===ee?K&&0===ae.length?/* @__PURE__ */E(w,{size:"sm",padding:"p-6",label:"Loading"}):0===ae.length?/* @__PURE__ */E("div",{className:"p-10 text-center text-sm text-gray-400",children:"Trash is empty."}):/* @__PURE__ */L("table",{className:"w-full text-sm",children:[
|
|
60
|
-
/* @__PURE__ */E("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */L("tr",{children:[
|
|
61
|
-
/* @__PURE__ */E("th",{className:`${v} text-left font-medium px-3 h-8`,children:"Name"}),
|
|
62
|
-
/* @__PURE__ */E("th",{className:`${v} text-left font-medium px-3 h-8`,children:"Original location"}),
|
|
63
|
-
/* @__PURE__ */E("th",{className:`${v} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
|
|
64
|
-
/* @__PURE__ */E("th",{className:`${v} text-right font-medium px-3 h-8 w-40`,children:"Deleted"}),
|
|
65
|
-
/* @__PURE__ */E("th",{className:`${v} w-44`})]})}),
|
|
66
|
-
/* @__PURE__ */E("tbody",{children:ae.map(e=>/* @__PURE__ */L("tr",{className:"border-b border-gray-100 hover:bg-gray-50",children:[
|
|
67
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 flex items-center gap-2",children:["folder"===e.kind?/* @__PURE__ */E(N,{name:"folder",look:"solid",className:"h-4 w-4 text-amber-500 shrink-0"}):/* @__PURE__ */E(N,{name:"page",className:"h-4 w-4 text-ink-faintest shrink-0",strokeWidth:1.5}),
|
|
68
|
-
/* @__PURE__ */E("span",{className:"truncate",title:e.name,children:e.name})]}),
|
|
69
|
-
/* @__PURE__ */E("td",{className:"px-3 h-8 text-ink-faint text-xs font-mono truncate",title:e.originalPath,children:e.originalPath||"—"}),
|
|
70
|
-
/* @__PURE__ */E("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint",children:n(e.size)}),
|
|
71
|
-
/* @__PURE__ */E("td",{className:"px-3 h-8 text-right text-ink-faint tabular-nums",children:e.deletedAt?F(e.deletedAt):"—"}),
|
|
72
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:[
|
|
73
|
-
/* @__PURE__ */E("button",{onClick:()=>(async e=>{const t=await pe(`${M}/api/trash/restore`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e.id})});if(!t.ok){const e=await t.json().catch(()=>({}));return void y.error(e.error||`Restore failed (${t.status})`)}y.success(`Restored "${e.name}"`),xe()})(e),className:"px-2 py-0.5 rounded hover:bg-gray-200 text-blue-600 text-2xs",children:"Restore"}),
|
|
74
|
-
/* @__PURE__ */E("button",{onClick:()=>(async e=>{if(!await g({title:"Permanently delete",message:`"${e.name}" will be permanently removed. This can't be undone.`,confirmLabel:"Delete forever",variant:"danger"}))return;const t=await pe(`${M}/api/trash/${encodeURIComponent(e.id)}`,{method:"DELETE"});if(!t.ok){const e=await t.json().catch(()=>({}));return void y.error(e.error||`Delete failed (${t.status})`)}xe()})(e),className:"px-2 py-0.5 rounded hover:bg-red-100 text-red-600 text-2xs ml-1",children:"Delete forever"})]})]},e.id))})]}):K&&0===H.length?/* @__PURE__ */E(w,{size:"sm",padding:"p-6",label:"Loading"}):0===H.length?/* @__PURE__ */L("div",{className:"p-10 text-center text-sm text-gray-400",children:["Empty folder.",!U&&/* @__PURE__ */L(R,{children:[" Drop files here or click ",
|
|
75
|
-
/* @__PURE__ */E("span",{className:"font-medium",children:"Upload"}),"."]})]}):/* @__PURE__ */L("table",{className:"w-full text-sm",children:[
|
|
76
|
-
/* @__PURE__ */E("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */L("tr",{children:[
|
|
77
|
-
/* @__PURE__ */E("th",{className:`${v} text-left font-medium px-3 h-8`,children:"Name"}),
|
|
78
|
-
/* @__PURE__ */E("th",{className:`${v} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
|
|
79
|
-
/* @__PURE__ */E("th",{className:`${v} text-right font-medium px-3 h-8 w-40`,children:"Modified"}),
|
|
80
|
-
/* @__PURE__ */E("th",{className:`${v} w-32`})]})}),
|
|
81
|
-
/* @__PURE__ */E("tbody",{children:H.map(t=>/* @__PURE__ */L("tr",{onClick:()=>G(t.name),onDoubleClick:()=>{"folder"===t.kind?I(W(A,t.name)):(async t=>{if(U)return;const a=W(A,t.name),n=(t.name.split(".").pop()||"").toLowerCase(),r=P[n];r?await e({filePath:a,filename:t.name,kind:r,onStaged:e=>de(e)}):ge(t)})(t)},className:"cursor-default border-b border-gray-100 "+(B===t.name?"bg-blue-50":"hover:bg-gray-50"),children:[
|
|
82
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 flex items-center gap-2",children:["folder"===t.kind?/* @__PURE__ */E(N,{name:"folder",look:"solid",className:"h-4 w-4 text-amber-500 shrink-0"}):/* @__PURE__ */E(N,{name:"page",className:"h-4 w-4 text-ink-faintest shrink-0",strokeWidth:1.5}),
|
|
83
|
-
/* @__PURE__ */E("span",{className:"truncate",title:t.name,children:t.name})]}),
|
|
84
|
-
/* @__PURE__ */E("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint",children:"folder"===t.kind?"—":n(t.size)}),
|
|
85
|
-
/* @__PURE__ */E("td",{className:"px-3 h-8 text-right text-ink-faint tabular-nums",children:F(t.modifiedAt)}),
|
|
86
|
-
/* @__PURE__ */E("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:!U&&/* @__PURE__ */L(R,{children:["file"===t.kind&&/* @__PURE__ */E("button",{onClick:e=>{e.stopPropagation(),ge(t)},className:"px-2 py-0.5 rounded hover:bg-gray-200 text-ink-faint text-2xs",children:"Download"}),
|
|
87
|
-
/* @__PURE__ */E("button",{onClick:e=>{e.stopPropagation(),(async e=>{const t=await k({title:`Rename ${e.kind}`,defaultValue:e.name,confirmLabel:"Rename"});if(!t||t===e.name)return;if(/[\\/]/.test(t))return void y.error("Names cannot contain slashes");const a=W(A,e.name),n=W(A,t),r=await pe(`${M}/api/rename`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({from:a,to:n})});if(!r.ok){const e=await r.json().catch(()=>({}));return void y.error(e.error||`Rename failed (${r.status})`)}fe(A)})(t)},className:"px-2 py-0.5 rounded hover:bg-gray-200 text-ink-faint text-2xs ml-1",children:"Rename"}),
|
|
88
|
-
/* @__PURE__ */E("button",{onClick:e=>{e.stopPropagation(),(async e=>{if(!await g({title:`Delete ${e.kind}`,message:`"${e.name}"${"folder"===e.kind?" and everything inside":""} will be permanently removed.`,confirmLabel:"Delete",variant:"danger"}))return;const t=W(A,e.name),a=await pe(`${M}/api/files?path=${encodeURIComponent(t)}`,{method:"DELETE"});if(!a.ok){const e=await a.json().catch(()=>({}));return void y.error(e.error||`Delete failed (${a.status})`)}fe(A)})(t)},className:"px-2 py-0.5 rounded hover:bg-red-100 text-red-600 text-2xs ml-1",children:"Delete"})]})})]},t.name))})]})})]})})}),_&&/* @__PURE__ */E("div",{className:"absolute inset-0 bg-blue-500/15 border-4 border-dashed border-blue-500 pointer-events-none flex items-center justify-center z-20",children:/* @__PURE__ */E("div",{className:"px-4 py-2 rounded-md bg-blue-600 text-white text-sm font-medium shadow-lg",children:"Drop to upload"})})]})}export{M as default};
|