efficient-shell 10.17.1 → 10.20.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/dist/{Browser-4B76MFTG.js → Browser-3BZPV4OH.js} +14 -14
- package/dist/Calculator-6NJNSIRN.js +29 -0
- package/dist/{CurrencyConverter-36BFSFRS.js → CurrencyConverter-42IHLJVV.js} +8 -8
- package/dist/{Documents-VKAMBKSP.js → Documents-N2OS46II.js} +24 -24
- package/dist/Files-6MMOX77N.js +88 -0
- package/dist/{Notepad-AQXGH6VP.js → Notepad-QSF2MA3I.js} +9 -9
- package/dist/{PomodoroTimer-RHDLKJBY.js → PomodoroTimer-PD7POYX5.js} +20 -20
- package/dist/{Preview-DEBTZQP5.js → Preview-YJPVKRQU.js} +51 -51
- package/dist/Sidebar-2HHICMZZ.js +44 -0
- package/dist/{Spreadsheet-FSHLWXYP.js → Spreadsheet-3P3BL6CS.js} +9 -9
- package/dist/{Stock-CV53A432.js → Stock-IABQRSXZ.js} +3 -3
- package/dist/{Weather-R4MCLH7F.js → Weather-4QPYOENN.js} +22 -22
- package/dist/{WorldClock-CSFPCZHU.js → WorldClock-3ZVRBLEW.js} +6 -6
- package/dist/ai/index.d.ts +20 -4
- package/dist/ai/index.js +91 -81
- package/dist/ai.css +1 -1
- 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/ChartTooltip.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/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/chunk-22RQC4EW.js +20 -0
- package/dist/chunk-2H6YNMBE.js +14 -0
- package/dist/chunk-2UVMNA5W.js +4 -0
- package/dist/{chunk-XTV3CAV7.js → chunk-2VGQS6CW.js} +1 -1
- package/dist/{chunk-5VAIVRK6.js → chunk-2YSGXZOL.js} +48 -48
- package/dist/{chunk-SQCUN2DX.js → chunk-34URULVW.js} +1 -1
- package/dist/{chunk-5LCDCO46.js → chunk-3ELLBQPS.js} +1 -1
- package/dist/chunk-3FGPFDDK.js +2 -0
- package/dist/{chunk-NZQCDFDG.js → chunk-3NW5LD7D.js} +3 -3
- package/dist/{chunk-IX7QXMNJ.js → chunk-3PR5YMWZ.js} +1 -1
- package/dist/{chunk-ILP7QVW5.js → chunk-3UXXA2CS.js} +8 -8
- package/dist/{chunk-5IPFQV34.js → chunk-43L5K2IX.js} +2 -2
- package/dist/{chunk-NRI26RYC.js → chunk-4HBSQGRI.js} +2 -2
- package/dist/{chunk-BZUA5F33.js → chunk-4UKGVLFP.js} +1 -1
- package/dist/{chunk-3VLG6LR3.js → chunk-4WEFGKJL.js} +4 -4
- package/dist/{chunk-UABVKJK7.js → chunk-54NMFQMW.js} +1 -1
- package/dist/{chunk-IDV32UV7.js → chunk-5HO53ZE7.js} +26 -26
- package/dist/chunk-5LBPBT7U.js +4 -0
- package/dist/{chunk-U32J7D4Q.js → chunk-5QGBVTGS.js} +2 -2
- package/dist/{chunk-BE777IO7.js → chunk-5SIOCKCK.js} +2 -2
- package/dist/{chunk-D6OYQM4V.js → chunk-5TDQPZDB.js} +5 -5
- package/dist/chunk-5TQLUPZD.js +6 -0
- package/dist/{chunk-AEJYSUVQ.js → chunk-5WYRAJ5F.js} +1 -1
- package/dist/chunk-67MQ5S32.js +8 -0
- package/dist/chunk-6CBF7UQ2.js +2 -0
- package/dist/chunk-6JSXIEH2.js +4 -0
- package/dist/chunk-6LNNBA3T.js +2 -0
- package/dist/{chunk-Q3IR5SKD.js → chunk-6XBWM453.js} +1 -1
- package/dist/{chunk-L2RS2UQM.js → chunk-77AQNJE2.js} +1 -1
- package/dist/chunk-77MOYIQW.js +15 -0
- package/dist/chunk-7INZ7O3A.js +5 -0
- package/dist/{chunk-G4JTO5PB.js → chunk-7JGR7WPD.js} +1 -1
- package/dist/{chunk-3PR7FLTZ.js → chunk-7VBXIIEC.js} +2 -2
- package/dist/{chunk-MAFSELZK.js → chunk-A42MKJA3.js} +1 -1
- package/dist/{chunk-SOJEQHZ2.js → chunk-AYDW63LV.js} +1 -1
- package/dist/chunk-BTFBXZS2.js +1 -0
- package/dist/{chunk-XCAO2F3H.js → chunk-C6Y7B73Q.js} +1 -1
- package/dist/{chunk-EC527NE3.js → chunk-DCRLJMQ6.js} +1 -1
- package/dist/chunk-DESWIPOZ.js +3 -0
- package/dist/{chunk-WWLKVGV7.js → chunk-DGZAQXTW.js} +4 -4
- package/dist/{chunk-TLWGOQI3.js → chunk-DHIQ46C5.js} +3 -3
- package/dist/chunk-DHKRXHJN.js +1 -0
- package/dist/chunk-DYNJ2H6R.js +8 -0
- package/dist/chunk-E5G2RURY.js +2 -0
- package/dist/chunk-EJUNGVK2.js +22 -0
- package/dist/{chunk-CNUHLJYD.js → chunk-EPY34L26.js} +1 -1
- package/dist/chunk-ESDSE6HY.js +2 -0
- package/dist/{chunk-XKJ7GEVA.js → chunk-FACWYKL6.js} +6 -6
- package/dist/{chunk-ZI3DGOW6.js → chunk-FKRPQDFX.js} +16 -16
- package/dist/chunk-FMHHOXML.js +2 -0
- package/dist/{chunk-HS2E7DVI.js → chunk-FOFZI62F.js} +1 -1
- package/dist/{chunk-Q5QS5MFX.js → chunk-FS6EOU4G.js} +1 -1
- package/dist/{chunk-RBEI4CKX.js → chunk-FTF6JKD5.js} +5 -5
- package/dist/{chunk-WZ5QSSUM.js → chunk-G4GVLK44.js} +6 -6
- package/dist/{chunk-K7L3ZCPB.js → chunk-GEP4FROW.js} +3 -3
- package/dist/chunk-GFYIVFX2.js +2 -0
- package/dist/{chunk-5N5AAYQV.js → chunk-GISDIVFK.js} +1 -1
- package/dist/{chunk-NZGNOMWX.js → chunk-GMOEYB4X.js} +11 -11
- package/dist/chunk-GZ7XQBCG.js +2 -0
- package/dist/chunk-H5FRVS4Y.js +4 -0
- package/dist/chunk-H62WUDPO.js +2 -0
- package/dist/chunk-HFAOJ4OJ.js +2 -0
- package/dist/chunk-HUA3TGMM.js +1 -0
- package/dist/{chunk-VHPT7ZS5.js → chunk-HV47GP2C.js} +5 -5
- package/dist/{chunk-TIGTIT3L.js → chunk-I33SVQ7P.js} +6 -6
- package/dist/chunk-I4VIEGCX.js +2 -0
- package/dist/chunk-I6DN2I6O.js +4 -0
- package/dist/chunk-IS6FC32P.js +2 -0
- package/dist/chunk-JIGFR7Z3.js +11 -0
- package/dist/{chunk-YG6Y5X7S.js → chunk-JNQKBN5M.js} +5 -5
- package/dist/chunk-JNSMBHNH.js +2 -0
- package/dist/{chunk-QEB2UTHO.js → chunk-JYIH2EBG.js} +7 -7
- package/dist/{chunk-2EVTN26H.js → chunk-K4JQ3FQI.js} +2 -2
- package/dist/chunk-K5VNHEVL.js +2 -0
- package/dist/chunk-LAO5ZHQ6.js +14 -0
- package/dist/chunk-LE2UGKUT.js +4 -0
- package/dist/{chunk-QJLBBDX2.js → chunk-LYHJHUQH.js} +1 -1
- package/dist/chunk-MJGK6QTO.js +7 -0
- package/dist/{chunk-LAMRQE2P.js → chunk-MNNZGO2E.js} +1 -1
- package/dist/{chunk-S5SRXI4V.js → chunk-MVZRZTQP.js} +1 -1
- package/dist/{chunk-MMQ6ETRD.js → chunk-N67QX3WW.js} +2 -2
- package/dist/{chunk-3TKMH5VR.js → chunk-N6CS2FO2.js} +1 -1
- package/dist/{chunk-FEATDGFD.js → chunk-NFB7PARJ.js} +1 -1
- package/dist/chunk-NLUSV66Z.js +2 -0
- package/dist/chunk-NO6DG2IV.js +2 -0
- package/dist/chunk-NQJL6B67.js +2 -0
- package/dist/chunk-NR6V243X.js +4 -0
- package/dist/{chunk-WON5GBJY.js → chunk-NU5HN3FZ.js} +7 -7
- package/dist/{chunk-AFINCNY3.js → chunk-NVD4AI5Y.js} +1 -1
- package/dist/chunk-O3UL2XW5.js +2 -0
- package/dist/{chunk-QLVJ5W4G.js → chunk-O47HKK6E.js} +1 -1
- package/dist/{chunk-M5LR7ZZX.js → chunk-O6JJIR4H.js} +1 -1
- package/dist/{chunk-EZUQ5NXE.js → chunk-OORL6BIG.js} +1 -1
- package/dist/{chunk-SDATPJM2.js → chunk-OP5DOO3K.js} +4 -4
- package/dist/{chunk-XQMPLXGG.js → chunk-PLK2WHZG.js} +16 -16
- package/dist/chunk-PN5FQVMB.js +7 -0
- package/dist/chunk-PUF75SMJ.js +1 -0
- package/dist/{chunk-NYEMGKAE.js → chunk-PW52RXPI.js} +1 -1
- package/dist/chunk-QDKAA3HR.js +2 -0
- package/dist/{chunk-CCIGAU5Y.js → chunk-QHPVAXHR.js} +3 -3
- package/dist/chunk-QRTRKWCZ.js +2 -0
- package/dist/{chunk-NVFYLTJ6.js → chunk-QRYSL6QU.js} +2 -2
- package/dist/{chunk-HLQVB7FG.js → chunk-RBBIAIPH.js} +8 -8
- package/dist/chunk-RH2BAZKY.js +4 -0
- package/dist/chunk-RIT7ZXEY.js +4 -0
- package/dist/chunk-RJ4GWBBG.js +4 -0
- package/dist/chunk-RMUSRDWV.js +1 -0
- package/dist/{chunk-G4PGEQOX.js → chunk-RUGQO7YF.js} +9 -9
- package/dist/{chunk-ENDCV7B3.js → chunk-RVRDDTEG.js} +9 -9
- package/dist/{chunk-WS7XIJS6.js → chunk-RXCGE2AY.js} +1 -1
- package/dist/chunk-S5IAQ7ZS.js +2 -0
- package/dist/{chunk-SOBGCIPF.js → chunk-S74LKSUB.js} +1 -1
- package/dist/{chunk-CF7BMDU3.js → chunk-SDDV3UCN.js} +3 -3
- package/dist/{chunk-CUKDQPEN.js → chunk-SLU45G5J.js} +3 -3
- package/dist/chunk-T23TIJ4P.js +1 -0
- package/dist/chunk-T2FITGKQ.js +2 -0
- package/dist/chunk-T7CXUYI4.js +4 -0
- package/dist/{chunk-ZMRGHVKS.js → chunk-TKJBZIHT.js} +1 -1
- package/dist/chunk-TLMFVEMC.js +9 -0
- package/dist/chunk-TQ2M7V4E.js +2 -0
- package/dist/chunk-TSP7UFQB.js +2 -0
- package/dist/{chunk-EQZZ4V5X.js → chunk-TXDA7TTP.js} +1 -1
- package/dist/{chunk-B4HSNEBK.js → chunk-UDKTAG57.js} +1 -1
- package/dist/chunk-UO6GQPT3.js +2 -0
- package/dist/{chunk-4D66DUU5.js → chunk-UYRMW5MO.js} +5 -5
- package/dist/{chunk-5W2OEDUD.js → chunk-V6Y4OC6K.js} +8 -8
- package/dist/{chunk-H7BKSATJ.js → chunk-VDUXPMOQ.js} +1 -1
- package/dist/{chunk-4V73LGZG.js → chunk-VIQ6OME2.js} +8 -8
- package/dist/{chunk-ZF2MNQXY.js → chunk-VN4KSRZ5.js} +1 -1
- package/dist/{chunk-HLVOHOBC.js → chunk-VQCSHJEF.js} +5 -5
- package/dist/{chunk-7AZAMDGG.js → chunk-VWIYC2NB.js} +7 -7
- package/dist/chunk-W33HIHEP.js +2 -0
- package/dist/{chunk-GD7ILVPF.js → chunk-W3OWPBQL.js} +2 -2
- package/dist/{chunk-N4ZEB4UD.js → chunk-WYFMSL4Q.js} +9 -9
- package/dist/{chunk-OUIE2N2Z.js → chunk-XCHAU2UN.js} +5 -5
- package/dist/{chunk-HJ2BDUO6.js → chunk-XK42AQOJ.js} +4 -4
- package/dist/{chunk-BVIOCAEU.js → chunk-XLCZHPCQ.js} +1 -1
- package/dist/{chunk-7X4QNWA7.js → chunk-XLWMM53L.js} +2 -2
- package/dist/chunk-XNSBAJ7T.js +4 -0
- package/dist/chunk-XYBI57KO.js +12 -0
- package/dist/{chunk-X2KMUHBB.js → chunk-Y62TTKSY.js} +3 -3
- package/dist/{chunk-TXDBOSSB.js → chunk-YILGAEW3.js} +1 -1
- package/dist/{chunk-4MJA2SPJ.js → chunk-YJXS7BR5.js} +13 -13
- package/dist/{chunk-EQCFPRKJ.js → chunk-YSDPFDAG.js} +1 -1
- package/dist/{chunk-UG6RI525.js → chunk-Z5A4EY2R.js} +1 -1
- package/dist/{chunk-JFH5HW2G.js → chunk-ZQKA2XKH.js} +7 -7
- package/dist/chunk-ZTYBH5FO.js +4 -0
- package/dist/{chunk-HYDVHGVT.js → chunk-ZWMODDVE.js} +2 -2
- package/dist/data/DataTable.js +1 -1
- package/dist/data/Kanban.js +1 -1
- package/dist/data/ListLoadError.js +1 -1
- package/dist/format/index.d.ts +1 -0
- 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/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/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/Segmented.js +1 -1
- package/dist/forms/Select.d.ts +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.d.ts +1 -1
- package/dist/forms/TextToolbar.js +1 -1
- package/dist/forms/WidthsBar.js +1 -1
- package/dist/forms/textAlign.d.ts +1 -1
- package/dist/hooks/useTheme.d.ts +1 -1
- package/dist/icons/efficient-glyphs.d.ts +12 -0
- package/dist/icons/efficient-glyphs.js +1 -1
- package/dist/icons/efficient-looks.d.ts +24 -0
- package/dist/icons/efficient-looks.js +1 -1
- package/dist/icons/efficient-meanings.d.ts +12 -0
- package/dist/icons/efficient-meanings.js +1 -1
- package/dist/icons/efficient.d.ts +12 -0
- package/dist/icons/efficient.js +1 -1
- package/dist/icons/glyphs/BoxItemAlignmentIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxItemAlignmentIcon.js +1 -0
- package/dist/icons/glyphs/BoxJustifyIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxJustifyIcon.js +1 -0
- package/dist/icons/glyphs/BoxXBetweenIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxXBetweenIcon.js +1 -0
- package/dist/icons/glyphs/BoxXCenterIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxXCenterIcon.js +1 -0
- package/dist/icons/glyphs/BoxXEndIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxXEndIcon.js +1 -0
- package/dist/icons/glyphs/BoxXStartIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxXStartIcon.js +1 -0
- package/dist/icons/glyphs/BoxXStretchIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxXStretchIcon.js +1 -0
- package/dist/icons/glyphs/BoxYBetweenIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxYBetweenIcon.js +1 -0
- package/dist/icons/glyphs/BoxYCenterIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxYCenterIcon.js +1 -0
- package/dist/icons/glyphs/BoxYEndIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxYEndIcon.js +1 -0
- package/dist/icons/glyphs/BoxYStartIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxYStartIcon.js +1 -0
- package/dist/icons/glyphs/BoxYStretchIcon.d.ts +8 -0
- package/dist/icons/glyphs/BoxYStretchIcon.js +1 -0
- package/dist/icons/index.d.ts +2 -2
- package/dist/icons/index.js +1 -1
- package/dist/icons/looks/BoxItemAlignmentMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxItemAlignmentMiniIcon.js +1 -0
- package/dist/icons/looks/BoxItemAlignmentSolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxItemAlignmentSolidIcon.js +1 -0
- package/dist/icons/looks/BoxJustifyMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxJustifyMiniIcon.js +1 -0
- package/dist/icons/looks/BoxJustifySolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxJustifySolidIcon.js +1 -0
- package/dist/icons/looks/BoxXBetweenMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxXBetweenMiniIcon.js +1 -0
- package/dist/icons/looks/BoxXBetweenSolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxXBetweenSolidIcon.js +1 -0
- package/dist/icons/looks/BoxXCenterMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxXCenterMiniIcon.js +1 -0
- package/dist/icons/looks/BoxXCenterSolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxXCenterSolidIcon.js +1 -0
- package/dist/icons/looks/BoxXEndMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxXEndMiniIcon.js +1 -0
- package/dist/icons/looks/BoxXEndSolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxXEndSolidIcon.js +1 -0
- package/dist/icons/looks/BoxXStartMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxXStartMiniIcon.js +1 -0
- package/dist/icons/looks/BoxXStartSolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxXStartSolidIcon.js +1 -0
- package/dist/icons/looks/BoxXStretchMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxXStretchMiniIcon.js +1 -0
- package/dist/icons/looks/BoxXStretchSolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxXStretchSolidIcon.js +1 -0
- package/dist/icons/looks/BoxYBetweenMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxYBetweenMiniIcon.js +1 -0
- package/dist/icons/looks/BoxYBetweenSolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxYBetweenSolidIcon.js +1 -0
- package/dist/icons/looks/BoxYCenterMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxYCenterMiniIcon.js +1 -0
- package/dist/icons/looks/BoxYCenterSolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxYCenterSolidIcon.js +1 -0
- package/dist/icons/looks/BoxYEndMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxYEndMiniIcon.js +1 -0
- package/dist/icons/looks/BoxYEndSolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxYEndSolidIcon.js +1 -0
- package/dist/icons/looks/BoxYStartMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxYStartMiniIcon.js +1 -0
- package/dist/icons/looks/BoxYStartSolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxYStartSolidIcon.js +1 -0
- package/dist/icons/looks/BoxYStretchMiniIcon.d.ts +8 -0
- package/dist/icons/looks/BoxYStretchMiniIcon.js +1 -0
- package/dist/icons/looks/BoxYStretchSolidIcon.d.ts +8 -0
- package/dist/icons/looks/BoxYStretchSolidIcon.js +1 -0
- 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 +5 -5
- package/dist/index.js +244 -244
- package/dist/map/index.js +7 -7
- package/dist/names-bEzx4RQ8.d.ts +23 -0
- package/dist/page-tabs/index.js +5 -5
- package/dist/shell/AppUpdateBanner.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/FloatingBar.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.d.ts +1 -1
- package/dist/shell/Markdown.js +1 -1
- package/dist/shell/MilestoneTimeline.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/SearchableSelect.js +1 -1
- package/dist/shell/SettingReset.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/Tabs.js +1 -1
- package/dist/shell/TimelineTrack.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.d.ts +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/tokens/type.d.ts +32 -1
- package/dist/tokens/type.js +1 -1
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-AXFKAC7G.js +0 -29
- package/dist/Files-NRYZG4KY.js +0 -88
- package/dist/Sidebar-CB6KRPW2.js +0 -44
- package/dist/chunk-4Q25UHWB.js +0 -22
- package/dist/chunk-6ACS4S4P.js +0 -15
- package/dist/chunk-7RPYVQEV.js +0 -2
- package/dist/chunk-DOC52JBV.js +0 -20
- package/dist/chunk-EDMDKQNO.js +0 -4
- package/dist/chunk-F7Z47OIF.js +0 -12
- package/dist/chunk-FX6DBXXD.js +0 -1
- package/dist/chunk-GLBLKHYA.js +0 -5
- package/dist/chunk-HJCUDXLV.js +0 -1
- package/dist/chunk-HXNMRJQ4.js +0 -2
- package/dist/chunk-HXZ5XPBS.js +0 -3
- package/dist/chunk-IHFZ7OXO.js +0 -14
- package/dist/chunk-KLBJ646Z.js +0 -8
- package/dist/chunk-LH7IKIGE.js +0 -1
- package/dist/chunk-NXVFY22L.js +0 -9
- package/dist/chunk-RAAH4TQU.js +0 -1
- package/dist/chunk-SRWZE3WA.js +0 -6
- package/dist/chunk-TNDRHHKN.js +0 -14
- package/dist/chunk-UXPBVRSE.js +0 -7
- package/dist/chunk-XPTOKPUM.js +0 -11
- package/dist/chunk-XSJHN2GD.js +0 -1
- package/dist/chunk-YG2TWBDH.js +0 -1
- package/dist/chunk-YUECA3XB.js +0 -8
- package/dist/chunk-YYZ73H64.js +0 -7
- package/dist/names-CkQuQ47O.d.ts +0 -23
- /package/dist/{chunk-Y2AGVGOP.js → chunk-BDUWYLPI.js} +0 -0
- /package/dist/{chunk-3J2PO3KW.js → chunk-ECJKIPWU.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{TransferProgress as default}from"../chunk-
|
|
2
|
+
export{TransferProgress as default}from"../chunk-DHIQ46C5.js";import"../chunk-TXDA7TTP.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-MVZRZTQP.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-GDQJBQ5B.js";import"../chunk-C3QOHMR6.js";
|
package/dist/shell/Tree.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-
|
|
2
|
+
export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-RUGQO7YF.js";import"../chunk-LYHJHUQH.js";import"../chunk-FOFZI62F.js";import"../chunk-TXDA7TTP.js";import"../chunk-2UO47XB4.js";import"../chunk-J75ZT2JQ.js";import"../chunk-MVZRZTQP.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-GDQJBQ5B.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{useDiscardGuard}from"../chunk-
|
|
2
|
+
export{useDiscardGuard}from"../chunk-ECJKIPWU.js";import"../chunk-GDQJBQ5B.js";import"../chunk-C3QOHMR6.js";
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{startClientTelemetry}from"../chunk-
|
|
1
|
+
export{startClientTelemetry}from"../chunk-XLCZHPCQ.js";import"../chunk-KNUR2UEG.js";import"../chunk-RMUSRDWV.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{AuthScreen as default}from"../chunk-
|
|
2
|
+
export{AuthScreen as default}from"../chunk-HV47GP2C.js";import"../chunk-P3RXXWXN.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-MAMWQCJ6.js";import"../chunk-AYZY3YNC.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-GDQJBQ5B.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-RXCGE2AY.js";import"../chunk-XCHAU2UN.js";import"../chunk-QWK6DRSN.js";import"../chunk-5QGBVTGS.js";import"../chunk-AFYLVV74.js";import"../chunk-MAMWQCJ6.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-2UO47XB4.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-GDQJBQ5B.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-YJXS7BR5.js";import"../chunk-P3RXXWXN.js";import"../chunk-SLU45G5J.js";import"../chunk-EO5RLFRX.js";import"../chunk-LJN77RG6.js";import"../chunk-2NMW66P5.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-ZGOHRLXG.js";import"../chunk-MAMWQCJ6.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-URHGHXDN.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-2UO47XB4.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-GDQJBQ5B.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DashboardTemplate as default}from"../chunk-
|
|
1
|
+
export{DashboardTemplate as default}from"../chunk-S74LKSUB.js";import"../chunk-AFYLVV74.js";import"../chunk-P3RXXWXN.js";import"../chunk-CKCDGSTC.js";import"../chunk-VWIYC2NB.js";import"../chunk-VFC6QUEN.js";import"../chunk-UYRMW5MO.js";import"../chunk-465RRWBY.js";import"../chunk-3IUPYCW3.js";import"../chunk-CNYAHYE6.js";import"../chunk-TXDA7TTP.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-MVZRZTQP.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-G4GVLK44.js";import"../chunk-F27JJHNJ.js";import"../chunk-QO5E33DH.js";import"../chunk-C764JODK.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-GDQJBQ5B.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-RVRDDTEG.js";import"../chunk-P3RXXWXN.js";import"../chunk-SLU45G5J.js";import"../chunk-EO5RLFRX.js";import"../chunk-LJN77RG6.js";import"../chunk-2NMW66P5.js";import"../chunk-LXL2UCUR.js";import"../chunk-MAMWQCJ6.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-URHGHXDN.js";import"../chunk-TXDA7TTP.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-2UO47XB4.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-MVZRZTQP.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-GDQJBQ5B.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-MNNZGO2E.js";import"../chunk-XCHAU2UN.js";import"../chunk-QWK6DRSN.js";import"../chunk-5QGBVTGS.js";import"../chunk-AFYLVV74.js";import"../chunk-FOFZI62F.js";import"../chunk-UGTRSRIW.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-2UO47XB4.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-GDQJBQ5B.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -44,7 +44,7 @@ declare class ErrorBoundary extends Component<ErrorBoundaryProps, State> {
|
|
|
44
44
|
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
45
45
|
componentDidUpdate(prev: ErrorBoundaryProps): void;
|
|
46
46
|
reset: () => void;
|
|
47
|
-
render(): string | number | boolean | react_jsx_runtime.JSX.Element |
|
|
47
|
+
render(): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export { type ErrorBoundaryProps, ErrorBoundary as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ErrorBoundary as default}from"../chunk-
|
|
2
|
+
export{ErrorBoundary as default}from"../chunk-C6Y7B73Q.js";import"../chunk-ORIXCEKO.js";import"../chunk-KNUR2UEG.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-GDQJBQ5B.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-JYIH2EBG.js";import"../chunk-P3RXXWXN.js";import"../chunk-PB7G6CJ7.js";import"../chunk-NI5FXWK5.js";import"../chunk-SLU45G5J.js";import"../chunk-EO5RLFRX.js";import"../chunk-LJN77RG6.js";import"../chunk-2NMW66P5.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-MAMWQCJ6.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-URHGHXDN.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-2UO47XB4.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-GDQJBQ5B.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-OORL6BIG.js";import"../chunk-3NW5LD7D.js";import"../chunk-FQEALPZJ.js";import"../chunk-P3RXXWXN.js";import"../chunk-JDQGHQ2C.js";import"../chunk-TXDA7TTP.js";import"../chunk-I4VIEGCX.js";import"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";import"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-MVZRZTQP.js";import"../chunk-6XBWM453.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-F27JJHNJ.js";import"../chunk-TWVUQUUD.js";import"../chunk-GDQJBQ5B.js";import"../chunk-C3QOHMR6.js";
|
package/dist/tokens/type.d.ts
CHANGED
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
* border 1 hairline · 2 strong (a selected tab's rule, a dashed empty
|
|
17
17
|
* state) · 4 accent bar.
|
|
18
18
|
*
|
|
19
|
+
* Owner rulings, 2026-10-27 (the Count up and Box Loop pages):
|
|
20
|
+
*
|
|
21
|
+
* page motion the animations a website page plays, not the chrome: one
|
|
22
|
+
* Normal time each (a block arriving 600ms, a number counting
|
|
23
|
+
* up 1.4s, a row looping 50s, which is today's time, so a page
|
|
24
|
+
* with no choice of its own does not change), and ONE Duration
|
|
25
|
+
* scale for all three: Short x0.6, Normal x1, Long x1.6.
|
|
26
|
+
*
|
|
19
27
|
* A leaf that imports nothing. No utility is written out in this file: the
|
|
20
28
|
* brand stylesheet is compiled by scanning the repository, so a class named in
|
|
21
29
|
* a comment would ship in it.
|
|
@@ -37,6 +45,29 @@ declare const MOTION_DURATIONS: {
|
|
|
37
45
|
readonly base: 160;
|
|
38
46
|
};
|
|
39
47
|
type MotionSpeed = keyof typeof MOTION_DURATIONS;
|
|
48
|
+
/** A page animation's Normal time, in ms (a website page, not the chrome). */
|
|
49
|
+
declare const PAGE_MOTION_DURATIONS: {
|
|
50
|
+
readonly entrance: 600;
|
|
51
|
+
readonly countUp: 1400;
|
|
52
|
+
readonly loop: 50000;
|
|
53
|
+
};
|
|
54
|
+
type PageMotion = keyof typeof PAGE_MOTION_DURATIONS;
|
|
55
|
+
/** The one Duration scale every page animation offers: a factor of its
|
|
56
|
+
* Normal time. A stored choice is the step's name; no choice is Normal. */
|
|
57
|
+
declare const PAGE_MOTION_STEPS: {
|
|
58
|
+
readonly short: 0.6;
|
|
59
|
+
readonly normal: 1;
|
|
60
|
+
readonly long: 1.6;
|
|
61
|
+
};
|
|
62
|
+
type PageMotionStep = keyof typeof PAGE_MOTION_STEPS;
|
|
63
|
+
/** The one easing list: arriving slows to a stop, a loop keeps an even speed. */
|
|
64
|
+
declare const PAGE_MOTION_EASING: {
|
|
65
|
+
readonly arrive: "cubic-bezier(0.22, 1, 0.36, 1)";
|
|
66
|
+
readonly loop: "linear";
|
|
67
|
+
};
|
|
68
|
+
type PageMotionEasing = keyof typeof PAGE_MOTION_EASING;
|
|
69
|
+
/** How long `motion` plays at `step`, in whole ms. */
|
|
70
|
+
declare function pageMotionMs(motion: PageMotion, step?: PageMotionStep): number;
|
|
40
71
|
/** Border widths in px; `--border-<role>` in `ui.css`. */
|
|
41
72
|
declare const BORDER_WIDTHS: {
|
|
42
73
|
readonly hairline: 1;
|
|
@@ -45,4 +76,4 @@ declare const BORDER_WIDTHS: {
|
|
|
45
76
|
};
|
|
46
77
|
type BorderRole = keyof typeof BORDER_WIDTHS;
|
|
47
78
|
|
|
48
|
-
export { BORDER_WIDTHS, type BorderRole, FONT_WEIGHTS, type FontWeightRole, MOTION_DURATIONS, type MotionSpeed, TYPE_SCALE, type TypeStep };
|
|
79
|
+
export { BORDER_WIDTHS, type BorderRole, FONT_WEIGHTS, type FontWeightRole, MOTION_DURATIONS, type MotionSpeed, PAGE_MOTION_DURATIONS, PAGE_MOTION_EASING, PAGE_MOTION_STEPS, type PageMotion, type PageMotionEasing, type PageMotionStep, TYPE_SCALE, type TypeStep, pageMotionMs };
|
package/dist/tokens/type.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-
|
|
1
|
+
export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,PAGE_MOTION_DURATIONS,PAGE_MOTION_EASING,PAGE_MOTION_STEPS,TYPE_SCALE,pageMotionMs}from"../chunk-DHKRXHJN.js";
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export { Paragraph, ParagraphProps, Text, TextProps, TextSize, TextTone, TextWei
|
|
|
70
70
|
export { Align, Gap, Grid, GridCols, GridProps, Inline, InlineProps, Justify, Stack, StackProps } from '../shell/Stack.js';
|
|
71
71
|
export { default as Divider, DividerProps, DividerSpacing } from '../shell/Divider.js';
|
|
72
72
|
export { CONTROL_HEIGHTS, ControlSize, ROW_HEIGHTS, SPACING_ROLES, SPACING_SCALE, SpacingRole, SpacingStep, isSpacingStep } from '../tokens/spacing.js';
|
|
73
|
-
export { BORDER_WIDTHS, BorderRole, FONT_WEIGHTS, FontWeightRole, MOTION_DURATIONS, MotionSpeed, TYPE_SCALE, TypeStep } from '../tokens/type.js';
|
|
73
|
+
export { BORDER_WIDTHS, BorderRole, FONT_WEIGHTS, FontWeightRole, MOTION_DURATIONS, MotionSpeed, PAGE_MOTION_DURATIONS, PAGE_MOTION_EASING, PAGE_MOTION_STEPS, PageMotion, PageMotionEasing, PageMotionStep, TYPE_SCALE, TypeStep, pageMotionMs } from '../tokens/type.js';
|
|
74
74
|
export { ELEVATION_LEVELS, ElevationLevel, RADIUS_ROLES, RadiusRole } from '../tokens/elevation.js';
|
|
75
75
|
export { ACCENT_ROLES, COLOUR_ROLES, ColourRole, FLAT_STATUS_ROLES, IDENTITY_ROLES, NEUTRAL_ROLES, SCRIM_ROLES, STATUS_GROUPS, STATUS_ROLES } from '../tokens/colour.js';
|
|
76
76
|
export { default as Skeleton, SkeletonProps, SkeletonVariant } from '../shell/Skeleton.js';
|
|
@@ -156,7 +156,7 @@ export { default as AuthScreen, AuthScreenProps } from '../templates/AuthScreen.
|
|
|
156
156
|
export { default as ErrorBoundary, ErrorBoundaryProps } from '../templates/ErrorBoundary.js';
|
|
157
157
|
export { default as ErrorPage, ErrorPageProps } from '../templates/ErrorPage.js';
|
|
158
158
|
export { BRAND_MAX_HEIGHT, BRAND_MIN_HEIGHT_PX, BrandBox, ICON_SET_FOR_THEME, Icon, IconProps, IconTone, THEME_ICON_SETS, ThemeIconSet, brandBox, iconSetFor, loadIconSet } from '../icons/index.js';
|
|
159
|
-
export { B as BRAND_ICON_NAMES, a as BrandIconName, I as ICON_NAMES, b as IconName, i as isBrandIconName, c as isIconName } from '../names-
|
|
159
|
+
export { B as BRAND_ICON_NAMES, a as BrandIconName, I as ICON_NAMES, b as IconName, i as isBrandIconName, c as isIconName } from '../names-bEzx4RQ8.js';
|
|
160
160
|
export { I as IconDrawing, a as IconSet, b as activeIconSet, i as iconSets, c as iconsVersion, r as registerIconSet, d as registerIcons, e as resolveIcon, s as setDefaultIconSet, f as setIconSet, g as subscribeIcons } from '../registry-5Oj4TUjn.js';
|
|
161
161
|
export { CORNERS, CORNERS_FOR_THEME, Corners, Theme, applyCorners, applyIconSet, applyThemePrefs, cornersFor, resolveCorners, resolveTheme, useTheme } from '../hooks/useTheme.js';
|
|
162
162
|
export { ShellPrefsAdapter, ShellPrefsProvider, useLocalStoragePrefs, useShellPrefs } from '../shell/ShellPrefs.js';
|
package/dist/ui/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import"../chunk-NOKZ54GD.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{CheckoutTemplate}from"../chunk-4MJA2SPJ.js";export{DashboardTemplate}from"../chunk-SOBGCIPF.js";export{DataTablePage}from"../chunk-ENDCV7B3.js";export{EmailTemplate}from"../chunk-LAMRQE2P.js";export{ErrorBoundary}from"../chunk-XCAO2F3H.js";export{ErrorPage}from"../chunk-ORIXCEKO.js";export{FormLayoutPage}from"../chunk-QEB2UTHO.js";export{GalleryTemplate}from"../chunk-EZUQ5NXE.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-VHPT7ZS5.js";export{ChatTemplate}from"../chunk-WS7XIJS6.js";export{TopNav}from"../chunk-XTV3CAV7.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-TGGUYAWA.js";export{Stepper}from"../chunk-CRILBBSU.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-NZQCDFDG.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-JSG2AKCG.js";export{SettingRow}from"../chunk-6V4INP7J.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-OUIE2N2Z.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-X2KMUHBB.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-XKJ7GEVA.js";export{PageHeader}from"../chunk-EN5NXWT6.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-WON5GBJY.js";export{ResizeHandle}from"../chunk-U32J7D4Q.js";export{SettingReset}from"../chunk-3PR7FLTZ.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-TXDBOSSB.js";export{MetricBar}from"../chunk-DQQKG46I.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-IMDGMUE3.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-2EVTN26H.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-CF7BMDU3.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{EditableGrid}from"../chunk-HLQVB7FG.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-MMQ6ETRD.js";export{GlobalSearch,openGlobalSearch}from"../chunk-D6OYQM4V.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{HelpCenter}from"../chunk-N4ZEB4UD.js";export{IconRail,IconRailButton}from"../chunk-AEJYSUVQ.js";import"../chunk-FQEALPZJ.js";export{ContainerFillChart}from"../chunk-PCTOL2FX.js";export{CountBadge}from"../chunk-CLTRQ7AQ.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-EQCFPRKJ.js";export{Avatar,AvatarGroup}from"../chunk-AFYLVV74.js";export{BudgetBar,budgetState}from"../chunk-UEISJFZH.js";export{Card,StatCard}from"../chunk-P3RXXWXN.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-7TZV6G2F.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-AWKJZSTO.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-XSJHN2GD.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-CCIGAU5Y.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-YG6Y5X7S.js";export{SplitButton_default as SplitButton}from"../chunk-HXZ5XPBS.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-TIGTIT3L.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-SRWZE3WA.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-4EZIWLJJ.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-OBJGUJIE.js";export{PositionInput}from"../chunk-Q5QS5MFX.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-H7BKSATJ.js";export{Slider,SliderGroup}from"../chunk-WWLKVGV7.js";export{LinkPicker,TextLinkField}from"../chunk-TNDRHHKN.js";export{SearchableSelect}from"../chunk-F7Z47OIF.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-IDV32UV7.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-G4PGEQOX.js";import"../chunk-QJLBBDX2.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-QVZKRROQ.js";export{ImageLightbox,lightboxKind}from"../chunk-4V73LGZG.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-5W2OEDUD.js";export{Breadcrumbs}from"../chunk-XYECIBVX.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-MS5APD3V.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-OPN4I565.js";import"../chunk-TMMNCXQT.js";export{DropdownMenu}from"../chunk-YYZ73H64.js";export{NativeSelect,Select_default as Select}from"../chunk-CUKDQPEN.js";import"../chunk-EO5RLFRX.js";import"../chunk-LJN77RG6.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-ILP7QVW5.js";export{MediaUsedInList}from"../chunk-B4HSNEBK.js";export{NumericKeypad}from"../chunk-MAFSELZK.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-5N5AAYQV.js";export{FilePicker_default as FilePicker}from"../chunk-SOJEQHZ2.js";export{FormErrorSummary}from"../chunk-SAP4YI2Y.js";export{IconPicker}from"../chunk-K7L3ZCPB.js";export{CornersInput}from"../chunk-SDATPJM2.js";export{DatePicker_default as DatePicker}from"../chunk-L2RS2UQM.js";export{DateRangePicker,toISODate}from"../chunk-NVFYLTJ6.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-SXNQHIBY.js";export{DisplayChips}from"../chunk-ZF2MNQXY.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-M5LR7ZZX.js";export{BORDER_LINE_STYLES,BorderInput,borderSides,borderStartEach}from"../chunk-HYDVHGVT.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-NZGNOMWX.js";export{Popover}from"../chunk-G4JTO5PB.js";export{InputNumber_default as InputNumber}from"../chunk-BE777IO7.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{BrandAssetEditor}from"../chunk-HJ2BDUO6.js";export{MediaUploadField}from"../chunk-RBEI4CKX.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-XQZL6JDD.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{Segmented}from"../chunk-5LCDCO46.js";import"../chunk-JDQGHQ2C.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-JH4ZCPHW.js";export{fromDateKey,toDateKey}from"../chunk-2HMNOLKX.js";export{StatTile}from"../chunk-JFV5CQN4.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-EDMDKQNO.js";export{TreemapChart}from"../chunk-UXPBVRSE.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-FEATDGFD.js";export{Meter}from"../chunk-OH5L6HYW.js";export{PieChart}from"../chunk-7AZAMDGG.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-6ACS4S4P.js";export{RadialBarChart}from"../chunk-JFH5HW2G.js";export{RangeChart}from"../chunk-HLVOHOBC.js";export{RankedBars}from"../chunk-SL77N7VT.js";export{SankeyChart}from"../chunk-NXVFY22L.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-KLBJ646Z.js";export{ChordChart}from"../chunk-YUECA3XB.js";import"../chunk-ZMRGHVKS.js";export{FunnelChart}from"../chunk-IHFZ7OXO.js";export{HeatmapChart}from"../chunk-XPTOKPUM.js";export{HistogramChart}from"../chunk-7RPYVQEV.js";export{ListLoadError}from"../chunk-3TKMH5VR.js";export{BoxPlotChart}from"../chunk-QLVJ5W4G.js";export{CandlestickChart}from"../chunk-7X4QNWA7.js";export{StepChain,StepChainItem}from"../chunk-RDYFZHT3.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-IX7QXMNJ.js";export{Divider}from"../chunk-DFOFEBYX.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-PJPK2ADX.js";export{ContextMenu,useContextMenu}from"../chunk-GD7ILVPF.js";export{Banner}from"../chunk-ZGOHRLXG.js";import"../chunk-BZUA5F33.js";export{Input_default as Input}from"../chunk-MAMWQCJ6.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-NRI26RYC.js";export{IconButton_default as IconButton}from"../chunk-FX6DBXXD.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-UG6RI525.js";export{TransferProgress}from"../chunk-TLWGOQI3.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-JTMEFXRL.js";export{SpecChart}from"../chunk-NYEMGKAE.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-4Q25UHWB.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{ChartFrame}from"../chunk-VAK5FQXH.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-4D66DUU5.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-3IUPYCW3.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ChartTooltip}from"../chunk-WZ5QSSUM.js";export{CartesianPlot}from"../chunk-QO5E33DH.js";import"../chunk-C764JODK.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{ChartBrush}from"../chunk-E6GDAV5R.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.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-QYL26AB4.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-XQMPLXGG.js";export{Dialog}from"../chunk-GLBLKHYA.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{ItemCount}from"../chunk-HS2E7DVI.js";import"../chunk-3DVNXNTF.js";import"../chunk-3J2PO3KW.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-7ELJQL7J.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ColoredBadge}from"../chunk-CNUHLJYD.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{VERSION}from"../chunk-RAAH4TQU.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-3VLG6LR3.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-EQZZ4V5X.js";export{Button_default as Button}from"../chunk-HXNMRJQ4.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-SQCUN2DX.js";export{Icon}from"../chunk-2UO47XB4.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-DOC52JBV.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Pagination}from"../chunk-LXL2UCUR.js";import"../chunk-S5SRXI4V.js";export{Tooltip}from"../chunk-Q3IR5SKD.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";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-F27JJHNJ.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{Kanban}from"../chunk-UABVKJK7.js";import"../chunk-D65T4H6J.js";export{ListFooter}from"../chunk-4ULRP4Y4.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-GDQJBQ5B.js";import"../chunk-C3QOHMR6.js";
|
|
2
|
+
import"../chunk-NOKZ54GD.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{CheckoutTemplate}from"../chunk-YJXS7BR5.js";export{DashboardTemplate}from"../chunk-S74LKSUB.js";export{DataTablePage}from"../chunk-RVRDDTEG.js";export{EmailTemplate}from"../chunk-MNNZGO2E.js";export{ErrorBoundary}from"../chunk-C6Y7B73Q.js";export{ErrorPage}from"../chunk-ORIXCEKO.js";export{FormLayoutPage}from"../chunk-JYIH2EBG.js";export{GalleryTemplate}from"../chunk-OORL6BIG.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-HV47GP2C.js";export{ChatTemplate}from"../chunk-RXCGE2AY.js";export{TopNav}from"../chunk-2VGQS6CW.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-TGGUYAWA.js";export{Stepper}from"../chunk-CRILBBSU.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-3NW5LD7D.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-JSG2AKCG.js";export{SettingRow}from"../chunk-6V4INP7J.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-XCHAU2UN.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-Y62TTKSY.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-FACWYKL6.js";export{PageHeader}from"../chunk-EN5NXWT6.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-NU5HN3FZ.js";export{ResizeHandle}from"../chunk-5QGBVTGS.js";export{SettingReset}from"../chunk-7VBXIIEC.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-YILGAEW3.js";export{MetricBar}from"../chunk-DQQKG46I.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-IMDGMUE3.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-K4JQ3FQI.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-SDDV3UCN.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{EditableGrid}from"../chunk-RBBIAIPH.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-N67QX3WW.js";export{GlobalSearch,openGlobalSearch}from"../chunk-5TDQPZDB.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{HelpCenter}from"../chunk-WYFMSL4Q.js";export{IconRail,IconRailButton}from"../chunk-5WYRAJ5F.js";import"../chunk-FQEALPZJ.js";export{ContainerFillChart}from"../chunk-PCTOL2FX.js";export{CountBadge}from"../chunk-CLTRQ7AQ.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-YSDPFDAG.js";export{Avatar,AvatarGroup}from"../chunk-AFYLVV74.js";export{BudgetBar,budgetState}from"../chunk-UEISJFZH.js";export{Card,StatCard}from"../chunk-P3RXXWXN.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-7TZV6G2F.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-AWKJZSTO.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-T23TIJ4P.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-QHPVAXHR.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-JNQKBN5M.js";export{SplitButton_default as SplitButton}from"../chunk-DESWIPOZ.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-I33SVQ7P.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-5TQLUPZD.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-4EZIWLJJ.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-OBJGUJIE.js";export{PositionInput}from"../chunk-FS6EOU4G.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-VDUXPMOQ.js";export{Slider,SliderGroup}from"../chunk-DGZAQXTW.js";export{LinkPicker,TextLinkField}from"../chunk-LAO5ZHQ6.js";export{SearchableSelect}from"../chunk-XYBI57KO.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-5HO53ZE7.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-RUGQO7YF.js";import"../chunk-LYHJHUQH.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-QVZKRROQ.js";export{ImageLightbox,lightboxKind}from"../chunk-VIQ6OME2.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-V6Y4OC6K.js";export{Breadcrumbs}from"../chunk-XYECIBVX.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-MS5APD3V.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-OPN4I565.js";import"../chunk-TMMNCXQT.js";export{DropdownMenu}from"../chunk-PN5FQVMB.js";export{NativeSelect,Select_default as Select}from"../chunk-SLU45G5J.js";import"../chunk-EO5RLFRX.js";import"../chunk-LJN77RG6.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-3UXXA2CS.js";export{MediaUsedInList}from"../chunk-UDKTAG57.js";export{NumericKeypad}from"../chunk-A42MKJA3.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-GISDIVFK.js";export{FilePicker_default as FilePicker}from"../chunk-AYDW63LV.js";export{FormErrorSummary}from"../chunk-SAP4YI2Y.js";export{IconPicker}from"../chunk-GEP4FROW.js";export{CornersInput}from"../chunk-OP5DOO3K.js";export{DatePicker_default as DatePicker}from"../chunk-77AQNJE2.js";export{DateRangePicker,toISODate}from"../chunk-QRYSL6QU.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-SXNQHIBY.js";export{DisplayChips}from"../chunk-VN4KSRZ5.js";export{slugify}from"../chunk-24AL3CDS.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,PAGE_MOTION_DURATIONS,PAGE_MOTION_EASING,PAGE_MOTION_STEPS,TYPE_SCALE,pageMotionMs}from"../chunk-DHKRXHJN.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-O6JJIR4H.js";export{BORDER_LINE_STYLES,BorderInput,borderSides,borderStartEach}from"../chunk-ZWMODDVE.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-GMOEYB4X.js";export{Popover}from"../chunk-7JGR7WPD.js";export{InputNumber_default as InputNumber}from"../chunk-5SIOCKCK.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{BrandAssetEditor}from"../chunk-XK42AQOJ.js";export{MediaUploadField}from"../chunk-FTF6JKD5.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-XQZL6JDD.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{Segmented}from"../chunk-3ELLBQPS.js";import"../chunk-JDQGHQ2C.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-JH4ZCPHW.js";export{fromDateKey,toDateKey}from"../chunk-2HMNOLKX.js";export{DataTable}from"../chunk-22RQC4EW.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Kanban}from"../chunk-54NMFQMW.js";export{ListFooter}from"../chunk-4ULRP4Y4.js";export{ListLoadError}from"../chunk-N6CS2FO2.js";export{Pagination}from"../chunk-LXL2UCUR.js";export{WaterfallChart}from"../chunk-NFB7PARJ.js";export{SankeyChart}from"../chunk-TLMFVEMC.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-DYNJ2H6R.js";export{StatTile}from"../chunk-JFV5CQN4.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-6JSXIEH2.js";export{TreemapChart}from"../chunk-MJGK6QTO.js";export{squarify}from"../chunk-46BYGPGD.js";export{HeatmapChart}from"../chunk-JIGFR7Z3.js";export{HistogramChart}from"../chunk-QDKAA3HR.js";export{Meter}from"../chunk-OH5L6HYW.js";export{PieChart}from"../chunk-VWIYC2NB.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-77MOYIQW.js";export{RadialBarChart}from"../chunk-ZQKA2XKH.js";export{RangeChart}from"../chunk-VQCSHJEF.js";export{RankedBars}from"../chunk-SL77N7VT.js";export{ChordChart}from"../chunk-67MQ5S32.js";import"../chunk-TKJBZIHT.js";export{FunnelChart}from"../chunk-2H6YNMBE.js";export{StepChain,StepChainItem}from"../chunk-RDYFZHT3.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-3PR5YMWZ.js";export{Divider}from"../chunk-DFOFEBYX.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-PJPK2ADX.js";export{ContextMenu,useContextMenu}from"../chunk-W3OWPBQL.js";export{Banner}from"../chunk-ZGOHRLXG.js";import"../chunk-4UKGVLFP.js";export{Input_default as Input}from"../chunk-MAMWQCJ6.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-4HBSQGRI.js";export{IconButton_default as IconButton}from"../chunk-PUF75SMJ.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-Z5A4EY2R.js";export{TransferProgress}from"../chunk-DHIQ46C5.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-JTMEFXRL.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-PW52RXPI.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-EJUNGVK2.js";export{ChartBrush}from"../chunk-E6GDAV5R.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-VAK5FQXH.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-UYRMW5MO.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-3IUPYCW3.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-QYL26AB4.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-PLK2WHZG.js";export{Dialog}from"../chunk-7INZ7O3A.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{ItemCount}from"../chunk-FOFZI62F.js";import"../chunk-3DVNXNTF.js";import"../chunk-ECJKIPWU.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-7ELJQL7J.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ColoredBadge}from"../chunk-EPY34L26.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{VERSION}from"../chunk-RMUSRDWV.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-4WEFGKJL.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-TXDA7TTP.js";export{Button_default as Button}from"../chunk-I4VIEGCX.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-34URULVW.js";export{Icon}from"../chunk-2UO47XB4.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-MVZRZTQP.js";export{Tooltip}from"../chunk-6XBWM453.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-O47HKK6E.js";export{CandlestickChart}from"../chunk-XLWMM53L.js";export{ChartTooltip}from"../chunk-G4GVLK44.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-F27JJHNJ.js";export{CartesianPlot}from"../chunk-QO5E33DH.js";import"../chunk-C764JODK.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-GDQJBQ5B.js";import"../chunk-C3QOHMR6.js";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{APP_VERSION,VERSION}from"./chunk-
|
|
1
|
+
export{APP_VERSION,VERSION}from"./chunk-RMUSRDWV.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-shell",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.20.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-EC527NE3.js";import{useWidgetSettings as n}from"./chunk-5VAIVRK6.js";import"./chunk-CY5N5OA3.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-QYL26AB4.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-2E2SUEEE.js";import"./chunk-XQMPLXGG.js";import"./chunk-GLBLKHYA.js";import"./chunk-KC3EX26K.js";import"./chunk-HS2E7DVI.js";import"./chunk-3DVNXNTF.js";import"./chunk-3J2PO3KW.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-UGTRSRIW.js";import"./chunk-CNUHLJYD.js";import"./chunk-CDAJKLGL.js";import"./chunk-3VLG6LR3.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EQZZ4V5X.js";import"./chunk-HXNMRJQ4.js";import"./chunk-UQYNPYF4.js";import"./chunk-SQCUN2DX.js";import{Icon as r}from"./chunk-2UO47XB4.js";import"./chunk-J75ZT2JQ.js";import"./chunk-S5SRXI4V.js";import"./chunk-Q3IR5SKD.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-F27JJHNJ.js";import"./chunk-TWVUQUUD.js";import"./chunk-D65T4H6J.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-GDQJBQ5B.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),[E,S]=c(()=>e(h)),[D,J]=c(!1),[Q,W]=c(E),w=i(null);n(l(()=>{W({...E}),J(!0)},[E]));const L=l(e=>{x(""),k(t=>N||"0"===t?(j(!1),"."===e?"0.":e):"."===e&&t.includes(".")?t:t+e)},[N]),T=l(()=>{k("0"),d(null),g(null),j(!1)},[]),U=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}},[]),X=l(e=>{const t=parseFloat(m);if(null!==p&&b&&!N){const e=U(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,U]),G=l(()=>{if(null===p||!b)return;const e=parseFloat(m),t=U(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,U]),R=l(()=>{k(e=>String(parseFloat(e)/100))},[]),A=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"?L(e.key):"."===e.key?L("."):"+"===e.key?X("+"):"-"===e.key?X("-"):"*"===e.key?X("×"):"/"===e.key?(e.preventDefault(),X("÷")):"Enter"===e.key||"="===e.key?("Enter"===e.key&&e.target instanceof Node&&w.current?.contains(e.target)&&e.preventDefault(),G()):"Escape"===e.key?T():"Backspace"===e.key?k(e=>e.length>1?e.slice(0,-1):"0"):"%"===e.key&&R())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[L,X,G,T,R]);const H="flex items-center justify-center rounded-lg text-sm font-medium transition-colors",V=`${H} bg-white border border-gray-200 text-gray-900 hover:bg-gray-50 active:bg-gray-100`,B=`${H} bg-blue-50 border border-blue-200 text-blue-700 hover:bg-blue-100 active:bg-blue-200`,M=`${H} bg-gray-100 border border-gray-200 text-gray-600 hover:bg-gray-200 active:bg-gray-300`,F=`${H} bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800`;/* @__PURE__ */
|
|
2
|
-
return s(a,{children:[
|
|
3
|
-
/* @__PURE__ */s("div",{ref:w,className:"flex flex-col h-full",style:{opacity:E.activeOpacity/100,backdropFilter:E.activeBlur>0?`blur(${E.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:T,className:M,children:"AC"}),
|
|
11
|
-
/* @__PURE__ */u("button",{onClick:A,className:M,children:"+/−"}),
|
|
12
|
-
/* @__PURE__ */u("button",{onClick:R,className:M,children:"%"}),
|
|
13
|
-
/* @__PURE__ */u("button",{onClick:()=>X("÷"),className:`${B} ${"÷"===b?"ring-2 ring-blue-400":""}`,children:"÷"}),
|
|
14
|
-
/* @__PURE__ */u("button",{onClick:()=>L("7"),className:V,children:"7"}),
|
|
15
|
-
/* @__PURE__ */u("button",{onClick:()=>L("8"),className:V,children:"8"}),
|
|
16
|
-
/* @__PURE__ */u("button",{onClick:()=>L("9"),className:V,children:"9"}),
|
|
17
|
-
/* @__PURE__ */u("button",{onClick:()=>X("×"),className:`${B} ${"×"===b?"ring-2 ring-blue-400":""}`,children:"×"}),
|
|
18
|
-
/* @__PURE__ */u("button",{onClick:()=>L("4"),className:V,children:"4"}),
|
|
19
|
-
/* @__PURE__ */u("button",{onClick:()=>L("5"),className:V,children:"5"}),
|
|
20
|
-
/* @__PURE__ */u("button",{onClick:()=>L("6"),className:V,children:"6"}),
|
|
21
|
-
/* @__PURE__ */u("button",{onClick:()=>X("-"),className:`${B} ${"-"===b?"ring-2 ring-blue-400":""}`,children:"−"}),
|
|
22
|
-
/* @__PURE__ */u("button",{onClick:()=>L("1"),className:V,children:"1"}),
|
|
23
|
-
/* @__PURE__ */u("button",{onClick:()=>L("2"),className:V,children:"2"}),
|
|
24
|
-
/* @__PURE__ */u("button",{onClick:()=>L("3"),className:V,children:"3"}),
|
|
25
|
-
/* @__PURE__ */u("button",{onClick:()=>X("+"),className:`${B} ${"+"===b?"ring-2 ring-blue-400":""}`,children:"+"}),
|
|
26
|
-
/* @__PURE__ */u("button",{onClick:()=>L("0"),className:`${V} col-span-2`,children:"0"}),
|
|
27
|
-
/* @__PURE__ */u("button",{onClick:()=>L("."),className:V,children:"."}),
|
|
28
|
-
/* @__PURE__ */u("button",{onClick:G,className:F,children:"="})]})]}),
|
|
29
|
-
/* @__PURE__ */u(t,{open:D,onClose:()=>J(!1),title:"Calculator Settings",appearance:Q,onAppearanceChange:W,onSave:()=>{S(Q),localStorage.setItem(h,JSON.stringify(Q)),J(!1)}})]})}export{m as default};
|
package/dist/Files-NRYZG4KY.js
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import{openPreviewFile as e}from"./chunk-EOWUUOVE.js";import{SidebarLayout as t}from"./chunk-OUIE2N2Z.js";import"./chunk-QWK6DRSN.js";import"./chunk-U32J7D4Q.js";import{Breadcrumbs as a}from"./chunk-XYECIBVX.js";import{formatBytes as n}from"./chunk-GEYM4WN3.js";import"./chunk-Y3JW2GW5.js";import"./chunk-36BRD5J3.js";import"./chunk-LF27WIN2.js";import{getFilesDemoTree as r}from"./chunk-U2RFKQVA.js";import{AboutApp as i}from"./chunk-5IPFQV34.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-E5QPXEKN.js";import"./chunk-ESL5TDNA.js";import"./chunk-VTVSMRFX.js";import{useWindowManager as f,WindowTitle as x}from"./chunk-5VAIVRK6.js";import"./chunk-CY5N5OA3.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-QYL26AB4.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-2E2SUEEE.js";import{confirm as g,prompt as k}from"./chunk-XQMPLXGG.js";import"./chunk-GLBLKHYA.js";import"./chunk-KC3EX26K.js";import{ItemCount as b}from"./chunk-HS2E7DVI.js";import"./chunk-3DVNXNTF.js";import"./chunk-3J2PO3KW.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import{toast_default as y}from"./chunk-7ELJQL7J.js";import"./chunk-UGTRSRIW.js";import"./chunk-CNUHLJYD.js";import"./chunk-CDAJKLGL.js";import"./chunk-RAAH4TQU.js";import"./chunk-3VLG6LR3.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EQZZ4V5X.js";import"./chunk-HXNMRJQ4.js";import"./chunk-UQYNPYF4.js";import"./chunk-SQCUN2DX.js";import{Icon as N}from"./chunk-2UO47XB4.js";import"./chunk-J75ZT2JQ.js";import{TH_ONE_LINE as w}from"./chunk-S5SRXI4V.js";import"./chunk-Q3IR5SKD.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-F27JJHNJ.js";import"./chunk-TWVUQUUD.js";import"./chunk-D65T4H6J.js";import{LoadingSpinner as v}from"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-GDQJBQ5B.js";import"./chunk-C3QOHMR6.js";import{useState as j,useEffect as $,useSyncExternalStore as C,useRef as D,useCallback as E}from"react";import{jsxs as L,jsx as R,Fragment as T}from"react/jsx-runtime";var U="undefined"!=typeof window&&window.__REACT_OS_SHELL_FILE_SERVER__||"http://localhost:4000",W={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 S(e,t){return"/"===e||""===e?"/"+t:e.replace(/\/$/,"")+"/"+t}function P(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 F(){const F=U.replace(/\/$/,""),I=null!==r(),[A,M]=j("/"),[V,J]=j([]),[O,Q]=j([]),[H,X]=j(null),[B,K]=j(!0),[G,z]=j(!1),[Y,Z]=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=E((e,t={})=>fetch(e,{...t,credentials:"include"}),[]),ue=E(async()=>{try{const e=await pe(`${F}/api/quota`);if(e.ok){const t=await e.json();Z({used:t.used,limit:t.limit})}}catch{}},[pe,F]),fe=E(async e=>{if(X(null),I){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 J(t),M(e),z(!1),K(!1),void("/"===e&&Q(t.filter(e=>"folder"===e.kind).map(e=>e.name)))}K(!0);try{const t=await pe(`${F}/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||[];J(n),M(a.path||e),z(!1),"/"===(a.path||e)&&Q(n.filter(e=>"folder"===e.kind).map(e=>e.name))}catch(e){z(!0)}finally{K(!1)}ue()},[pe,F,ue,I]),xe=E(async()=>{if(I)return ne([]),void K(!1);K(!0),X(null);try{const e=await pe(`${F}/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{K(!1)}ue()},[pe,F,ue,I]);$(()=>{"files"===ee?fe(A):"trash"===ee&&xe()},[A,ee]);const ge=async e=>{const t=S(A,e.name);try{const a=await pe(`${F}/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(`${F}/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)}},[]),G)/* @__PURE__ */
|
|
2
|
-
return L("div",{className:"flex flex-col h-full bg-white",children:[
|
|
3
|
-
/* @__PURE__ */R(x,{title:"Files - offline"}),
|
|
4
|
-
/* @__PURE__ */R("div",{className:"flex-1 flex items-center justify-center p-8 text-center",children:/* @__PURE__ */L("div",{className:"max-w-md",children:[
|
|
5
|
-
/* @__PURE__ */R(N,{name:"close-circle",className:"h-12 w-12 mx-auto text-gray-300 mb-3",strokeWidth:1.4}),
|
|
6
|
-
/* @__PURE__ */R("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__ */R("span",{className:"font-mono",children:F}),". Make sure the server is running — see ",
|
|
9
|
-
/* @__PURE__ */R("span",{className:"font-mono",children:"examples/file-server/README.md"}),"."]}),
|
|
10
|
-
/* @__PURE__ */R("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=Y&&Y.limit>0?Math.min(100,Math.round(Y.used/Y.limit*100)):0,we=Ne>90?"bg-red-500":Ne>75?"bg-amber-500":"bg-blue-500",ve=[{label:"My files",onClick:()=>M("/")},...ye.map((e,t)=>({label:e,onClick:()=>M("/"+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__ */R("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__ */R("path",{strokeLinecap:"round",strokeLinejoin:"round",d:e})}),Ce=/* @__PURE__ */L("nav",{className:"p-2",children:[
|
|
11
|
-
/* @__PURE__ */R("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"),M("/")},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"]}),O.map(e=>/* @__PURE__ */L("button",{onClick:()=>{te("files"),M("/"+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__ */R("span",{className:"truncate",children:e})]},e)),!I&&/* @__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(T,{children:[
|
|
14
|
-
/* @__PURE__ */R("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__ */R(h,{className:"h-4 w-4 shrink-0 text-amber-500"}),
|
|
16
|
-
/* @__PURE__ */R("span",{className:"truncate",children:e.name}),
|
|
17
|
-
/* @__PURE__ */R(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=>{I||"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(),I||"object"==typeof ee||e.dataTransfer.files?.length&&ke(e.dataTransfer.files)},children:[
|
|
19
|
-
/* @__PURE__ */R(x,{title:se?`Files - ${se.name}`:"Files"+("/"===A?"":" - "+A)}),
|
|
20
|
-
/* @__PURE__ */R(i,{app:"files"}),
|
|
21
|
-
/* @__PURE__ */R("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__ */R("div",{className:"flex-1 min-h-0",children:/* @__PURE__ */R(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(T,"files"===ee?{children:[
|
|
24
|
-
/* @__PURE__ */R("button",{onClick:()=>M(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__ */R(N,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
|
|
25
|
-
/* @__PURE__ */R("div",{className:"flex-1 min-w-0",children:/* @__PURE__ */R(a,{items:ve,maxItems:5})}),
|
|
26
|
-
/* @__PURE__ */R("button",{onClick:()=>fe(A),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Refresh",children:/* @__PURE__ */R(N,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})}),!I&&/* @__PURE__ */L(T,{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__ */R(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=S(A,e),a=await pe(`${F}/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__ */R(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__ */R(N,{name:"upload",className:"h-3.5 w-3.5",strokeWidth:1.8}),"Upload"]})]})]}:"trash"===ee?{children:[
|
|
33
|
-
/* @__PURE__ */R("button",{onClick:()=>te("files"),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Back to files",children:/* @__PURE__ */R(N,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
|
|
34
|
-
/* @__PURE__ */R("span",{className:"flex-1 text-gray-700 font-medium px-2",children:"Trash"}),
|
|
35
|
-
/* @__PURE__ */R("button",{onClick:xe,className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Refresh",children:/* @__PURE__ */R(N,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})}),
|
|
36
|
-
/* @__PURE__ */R("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(`${F}/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__ */R("button",{onClick:()=>te("files"),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-600",title:"Back to files",children:/* @__PURE__ */R(N,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
|
|
38
|
-
/* @__PURE__ */R(h,{className:"h-4 w-4 text-amber-500 ml-1"}),
|
|
39
|
-
/* @__PURE__ */R("span",{className:"flex-1 text-gray-700 font-medium px-1 truncate",children:se?.name??"Desktop folder"}),
|
|
40
|
-
/* @__PURE__ */R("span",{className:"text-2xs text-ink-faintest px-2",children:"Desktop shortcuts"})]}),Y&&/* @__PURE__ */L(T,{children:[
|
|
41
|
-
/* @__PURE__ */R("div",{className:"h-4 w-px bg-gray-300 mx-1"}),
|
|
42
|
-
/* @__PURE__ */L("div",{className:"flex items-center gap-2",title:`${n(Y.used)} of ${n(Y.limit)} used`,children:[
|
|
43
|
-
/* @__PURE__ */R("div",{className:"w-20 h-1.5 rounded-full bg-gray-200 overflow-hidden",children:/* @__PURE__ */R("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(Y.used)," / ",n(Y.limit)]})]})]})]}),
|
|
45
|
-
/* @__PURE__ */R("div",{className:"flex-1 overflow-auto",children:"object"==typeof ee?0===oe.length?/* @__PURE__ */R("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__ */R("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */L("tr",{children:[
|
|
47
|
-
/* @__PURE__ */R("th",{className:`${w} text-left font-medium px-3 h-8`,children:"Name"}),
|
|
48
|
-
/* @__PURE__ */R("th",{className:`${w} text-left font-medium px-3 h-8 w-28`,children:"Type"}),
|
|
49
|
-
/* @__PURE__ */R("th",{className:`${w} w-56`})]})}),
|
|
50
|
-
/* @__PURE__ */R("tbody",{children:oe.map(e=>{const t=`${e.entityType}|${e.entityId}`;/* @__PURE__ */
|
|
51
|
-
return L("tr",{onClick:()=>X(t),onDoubleClick:()=>he(e),className:"cursor-default border-b border-gray-100 "+(H===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__ */R(p,{item:e}),
|
|
54
|
-
/* @__PURE__ */R("span",{className:"truncate",title:e.label,children:e.label})]}),
|
|
55
|
-
/* @__PURE__ */R("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__ */R("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__ */R("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__ */R("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?B&&0===ae.length?/* @__PURE__ */R(v,{size:"sm",padding:"p-6",label:"Loading"}):0===ae.length?/* @__PURE__ */R("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__ */R("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */L("tr",{children:[
|
|
61
|
-
/* @__PURE__ */R("th",{className:`${w} text-left font-medium px-3 h-8`,children:"Name"}),
|
|
62
|
-
/* @__PURE__ */R("th",{className:`${w} text-left font-medium px-3 h-8`,children:"Original location"}),
|
|
63
|
-
/* @__PURE__ */R("th",{className:`${w} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
|
|
64
|
-
/* @__PURE__ */R("th",{className:`${w} text-right font-medium px-3 h-8 w-40`,children:"Deleted"}),
|
|
65
|
-
/* @__PURE__ */R("th",{className:`${w} w-44`})]})}),
|
|
66
|
-
/* @__PURE__ */R("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__ */R(N,{name:"folder",look:"solid",className:"h-4 w-4 text-amber-500 shrink-0"}):/* @__PURE__ */R(N,{name:"page",className:"h-4 w-4 text-ink-faintest shrink-0",strokeWidth:1.5}),
|
|
68
|
-
/* @__PURE__ */R("span",{className:"truncate",title:e.name,children:e.name})]}),
|
|
69
|
-
/* @__PURE__ */R("td",{className:"px-3 h-8 text-ink-faint text-xs font-mono truncate",title:e.originalPath,children:e.originalPath||"—"}),
|
|
70
|
-
/* @__PURE__ */R("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint",children:n(e.size)}),
|
|
71
|
-
/* @__PURE__ */R("td",{className:"px-3 h-8 text-right text-ink-faint tabular-nums",children:e.deletedAt?P(e.deletedAt):"—"}),
|
|
72
|
-
/* @__PURE__ */L("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:[
|
|
73
|
-
/* @__PURE__ */R("button",{onClick:()=>(async e=>{const t=await pe(`${F}/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__ */R("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(`${F}/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))})]}):B&&0===V.length?/* @__PURE__ */R(v,{size:"sm",padding:"p-6",label:"Loading"}):0===V.length?/* @__PURE__ */L("div",{className:"p-10 text-center text-sm text-gray-400",children:["Empty folder.",!I&&/* @__PURE__ */L(T,{children:[" Drop files here or click ",
|
|
75
|
-
/* @__PURE__ */R("span",{className:"font-medium",children:"Upload"}),"."]})]}):/* @__PURE__ */L("table",{className:"w-full text-sm",children:[
|
|
76
|
-
/* @__PURE__ */R("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */L("tr",{children:[
|
|
77
|
-
/* @__PURE__ */R("th",{className:`${w} text-left font-medium px-3 h-8`,children:"Name"}),
|
|
78
|
-
/* @__PURE__ */R("th",{className:`${w} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
|
|
79
|
-
/* @__PURE__ */R("th",{className:`${w} text-right font-medium px-3 h-8 w-40`,children:"Modified"}),
|
|
80
|
-
/* @__PURE__ */R("th",{className:`${w} w-32`})]})}),
|
|
81
|
-
/* @__PURE__ */R("tbody",{children:V.map(t=>/* @__PURE__ */L("tr",{onClick:()=>X(t.name),onDoubleClick:()=>{"folder"===t.kind?M(S(A,t.name)):(async t=>{if(I)return;const a=S(A,t.name),n=(t.name.split(".").pop()||"").toLowerCase(),r=W[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 "+(H===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__ */R(N,{name:"folder",look:"solid",className:"h-4 w-4 text-amber-500 shrink-0"}):/* @__PURE__ */R(N,{name:"page",className:"h-4 w-4 text-ink-faintest shrink-0",strokeWidth:1.5}),
|
|
83
|
-
/* @__PURE__ */R("span",{className:"truncate",title:t.name,children:t.name})]}),
|
|
84
|
-
/* @__PURE__ */R("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint",children:"folder"===t.kind?"—":n(t.size)}),
|
|
85
|
-
/* @__PURE__ */R("td",{className:"px-3 h-8 text-right text-ink-faint tabular-nums",children:P(t.modifiedAt)}),
|
|
86
|
-
/* @__PURE__ */R("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:!I&&/* @__PURE__ */L(T,{children:["file"===t.kind&&/* @__PURE__ */R("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__ */R("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=S(A,e.name),n=S(A,t),r=await pe(`${F}/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__ */R("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=S(A,e.name),a=await pe(`${F}/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__ */R("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__ */R("div",{className:"px-4 py-2 rounded-md bg-blue-600 text-white text-sm font-medium shadow-lg",children:"Drop to upload"})})]})}export{F as default};
|
package/dist/Sidebar-CB6KRPW2.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-ZTV2BA3P.js";import{ResizeHandle as o}from"./chunk-U32J7D4Q.js";import{openGlobalSearch as s}from"./chunk-D6OYQM4V.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-FX6DBXXD.js";import{RAIL_MENU_GAP as f,navSections as g,startMenuCategories as x,TAB_STRIP_H as y,RAIL_COLLAPSED_INSET as k,RAIL_W as v,RAIL_MAX_W as N,RAIL_MIN_W as j,navIcons as w,sectionIcons as C}from"./chunk-CY5N5OA3.js";import"./chunk-5A7MWTXX.js";import"./chunk-7QSDPSXP.js";import{PopupMenu as S,PopupMenuItem as L,PopupMenuDivider as z,PopupMenuLabel as $}from"./chunk-3VLG6LR3.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-UQYNPYF4.js";import"./chunk-SQCUN2DX.js";import{Icon as W}from"./chunk-2UO47XB4.js";import"./chunk-J75ZT2JQ.js";import"./chunk-Q3IR5SKD.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-F27JJHNJ.js";import"./chunk-TWVUQUUD.js";import"./chunk-D65T4H6J.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import{useShellStrings as A}from"./chunk-GDQJBQ5B.js";import"./chunk-C3QOHMR6.js";import{useMemo as D,useState as I,useRef as R,useEffect as H,isValidElement as Q,cloneElement as M}from"react";import{jsx as T,jsxs as B,Fragment as J}from"react/jsx-runtime";var K="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(" "),X="flex size-[18px] shrink-0 items-center justify-center [&>svg]:size-[18px]";function O({open:e,children:t}){const r=R(null);return H(()=>{r.current?.toggleAttribute("inert",!e)},[e]),/* @__PURE__ */T("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__ */T("div",{className:"min-h-0 overflow-hidden",children:t})})}function G({open:e}){/* @__PURE__ */
|
|
2
|
-
return T(W,{name:"chevron-down",className:"size-4 shrink-0 transition-transform "+(e?"rotate-180":""),strokeWidth:2,"aria-hidden":"true"})}function V({dir:e}){/* @__PURE__ */
|
|
3
|
-
return T(W,"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 T(W,{name:"search",className:e,strokeWidth:2,"aria-hidden":"true"})}var F=e=>.75+1.75*e+"rem";function Y({width:Y,collapsed:Z,onToggleCollapsed:E,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=w,sectionIcons:me=C,categories:he=x,productName:ue,productIcon:pe,tagline:be,adaptiveLogo:fe=!1,logoHasAlpha:ge=null,logoIsLight:xe=null}){const ye=A().layout,{hasAnyPerm:ke}=e(),ve=D(()=>c(ce,he,ke),[ce,he,ke]),[Ne,je]=I(()=>t(r(n))),we=D(()=>[...ve.topItems.filter(e=>d(e,ke).length>0).map(e=>`child:${e.to}`),...[...ve.erpSections,...ve.systemSections,...ve.virtualSections,...ve.footerSections].map(e=>e.label)],[ve,ke]),Ce=(e,t=we)=>je(r=>{const a=i(r,e,t);return l(n,JSON.stringify([...a])),a}),[Se,Le]=I(null),[ze,$e]=I(!1),We=R(null);H(()=>{Z||Le(null)},[Z]);const Ae=(e,t)=>{Le(null),e.onSelect?e.onSelect():te(e.to,!!t&&(e=>e.metaKey||e.ctrlKey||1===e.button)(t))},De=(e,t)=>{const r=t[e];/* @__PURE__ */
|
|
5
|
-
return T("span",{className:X,"aria-hidden":"true",children:r&&Q(r)?M(r,{className:"size-[18px]"}):r})},Ie=e=>e.filter(e=>d(e,ke).length>0).map(e=>`child:${e.to}`),Re=(e,t,r=we)=>{const n=d(e,ke),a=e.menuLabel??e.label;if(n.length>0){const i=`child:${e.to}`,l=Ne.has(i),o=!l&&u(n,re,ke);/* @__PURE__ */
|
|
6
|
-
return B("div",{children:[
|
|
7
|
-
/* @__PURE__ */B("button",{type:"button",onClick:()=>Ce(i,r),"aria-expanded":l,className:P(o,!1),style:t>0?{paddingLeft:F(t)}:void 0,children:[0===t&&De(e.to,de),
|
|
8
|
-
/* @__PURE__ */T("span",{className:"min-w-0 flex-1 truncate",children:a}),
|
|
9
|
-
/* @__PURE__ */T(G,{open:l})]}),
|
|
10
|
-
/* @__PURE__ */T(O,{open:l,children:/* @__PURE__ */T("div",{className:"space-y-0.5 pt-0.5",children:n.map(e=>Re(e,t+1,Ie(n)))})}),e.dividerAfter&&/* @__PURE__ */T("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:F(t)},"aria-hidden":"true"})]},e.to)}const i=e.to===re;/* @__PURE__ */
|
|
11
|
-
return B("div",{children:[
|
|
12
|
-
/* @__PURE__ */B("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:F(t)}:void 0,children:[0===t&&De(e.to,de),
|
|
13
|
-
/* @__PURE__ */T("span",{className:"min-w-0 flex-1 truncate",children:a})]}),e.dividerAfter&&/* @__PURE__ */T("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:F(t)},"aria-hidden":"true"})]},e.to)},He=(e,t)=>{const r=t?e.items:h(e,ke);if(0===r.length)return null;const n="icon"in e&&e.icon?/* @__PURE__ */T("span",{className:X,"aria-hidden":"true",children:e.icon}):De(e.label,me),a=e.menuLabel??e.label,i=u(r,re,ke),l="dividerAfter"in e&&e.dividerAfter;if(Z)/* @__PURE__ */
|
|
14
|
-
return B("div",{children:[
|
|
15
|
-
/* @__PURE__ */T("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__ */T("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.label);const o=Ne.has(e.label),s=`rosh-rail-${e.label.replace(/[^a-z0-9]+/gi,"-").toLowerCase()}`;/* @__PURE__ */
|
|
16
|
-
return B("div",{children:[
|
|
17
|
-
/* @__PURE__ */B("button",{type:"button",onClick:()=>Ce(e.label),"aria-expanded":o,"aria-controls":s,className:P(!o&&i,!1),children:[n,
|
|
18
|
-
/* @__PURE__ */T("span",{className:"min-w-0 flex-1 truncate",children:a}),
|
|
19
|
-
/* @__PURE__ */T(G,{open:o})]}),
|
|
20
|
-
/* @__PURE__ */T(O,{open:o,children:/* @__PURE__ */T("div",{id:s,role:"group","aria-label":a,className:"space-y-0.5 pt-0.5",children:r.map(e=>Re(e,1,Ie(r)))})}),l&&/* @__PURE__ */T("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.label)},Qe=ne?.first_name?`${ne.first_name} ${ne.last_name||""}`.trim():ae?.email||"",Me=(ne?.first_name?.charAt(0)||ae?.email?.charAt(0)||"?").toUpperCase(),Te=ne?.avatar_url?/* @__PURE__ */T("img",{src:ne.avatar_url,alt:"",className:"size-8 shrink-0 rounded-full object-cover"}):/* @__PURE__ */T("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-blue-600 text-xs font-semibold text-white",children:Me}),Be=ze?We.current?.getBoundingClientRect():void 0,Je=Z?"":"px-3",Ke=Z?{paddingInline:k}:void 0,Ue=`${Z?ye.expandSidebar:ye.collapseSidebar} (${K?"⌘":"Ctrl"} .)`,Pe=ee?{run:ee,label:ye.goHome,title:ye.goHome}:se?null:{run:E,label:Z?ye.expandSidebar:ye.collapseSidebar,title:Ue},Xe=/* @__PURE__ */B(J,{children:[pe&&/* @__PURE__ */T(p,{src:pe,alt:"",slot:"compact",surface:"light",adaptive:fe,hasAlpha:ge,isLight:xe,size:28,decorative:!0}),!Z&&/* @__PURE__ */B("span",{className:"min-w-0 text-left leading-tight",children:[
|
|
21
|
-
/* @__PURE__ */T("span",{className:"block truncate text-base font-bold tracking-wide text-gray-900",children:ue??"Apps"}),be&&/* @__PURE__ */T("span",{className:"block truncate text-2xs font-medium text-gray-500",children:be})]})]}),Oe=ve.erpSections.length>0||ve.systemSections.length>0||ve.virtualSections.length>0;/* @__PURE__ */
|
|
22
|
-
return B("aside",{"aria-label":ye.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:Y},children:[
|
|
23
|
-
/* @__PURE__ */B("div",{className:"flex shrink-0 items-center border-b border-gray-200 "+(Z?"justify-center":"justify-between gap-2 pl-4 pr-2"),style:{height:y},children:[Pe?/* @__PURE__ */T("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 "+(Z?"justify-center p-0.5":"-ml-1 p-1"),children:Xe}):/* @__PURE__ */T("span",{className:"flex min-w-0 items-center gap-2",children:Xe}),se?/* @__PURE__ */T(b,{onClick:se,"aria-label":ye.closeMenu,children:/* @__PURE__ */T(W,{name:"close",className:"size-[18px]",strokeWidth:1.5,"aria-hidden":"true"})}):!Z&&/* @__PURE__ */T("button",{type:"button",onClick:E,"aria-label":ye.collapseSidebar,title:`${ye.collapseSidebar} (${K?"⌘":"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__ */T(V,{dir:"left"})})]}),
|
|
24
|
-
/* @__PURE__ */T("div",{className:`shrink-0 pt-3 ${Je}`,style:Ke,children:Z?/* @__PURE__ */T("button",{type:"button",onClick:s,"aria-label":ye.search,title:`${ye.search} (${K?"⌘K":"Ctrl K"})`,className:P(!1,!0),children:/* @__PURE__ */T(_,{className:"size-[18px] shrink-0"})}):/* @__PURE__ */B("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__ */T(_,{className:"size-3.5 text-gray-500"}),
|
|
26
|
-
/* @__PURE__ */T("span",{className:"min-w-0 flex-1 truncate text-sm text-ink-faint",children:ye.search}),
|
|
27
|
-
/* @__PURE__ */T("kbd",{className:"rounded border border-line bg-gray-100 px-2 py-0.5 font-mono text-2xs font-semibold text-ink-faint",children:K?"⌘K":"Ctrl K"})]})}),
|
|
28
|
-
/* @__PURE__ */B("nav",{"aria-label":ye.navLabel,className:`min-h-0 flex-1 overflow-y-auto pb-4 pt-3 ${Je} ${Z?"space-y-1":"space-y-0.5"}`,style:Ke,children:[Z&&/* @__PURE__ */T("button",{type:"button",onClick:E,"aria-label":ye.expandSidebar,title:`${ye.expandSidebar} (${K?"⌘":"Ctrl"} .)`,className:`${P(!1,!0)} mb-3`,children:/* @__PURE__ */T(V,{dir:"right"})}),ve.topItems.map(e=>{if(!Z)return Re(e,0);const t=d(e,ke),r=e.to===re||u(t,re,ke),n=e.menuLabel??e.label;/* @__PURE__ */
|
|
29
|
-
return B("div",{children:[
|
|
30
|
-
/* @__PURE__ */T("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:De(e.to,de)}),e.dividerAfter&&/* @__PURE__ */T("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.to)}),ve.topItems.length>0&&Oe&&!ve.topItems[ve.topItems.length-1].dividerAfter&&/* @__PURE__ */T("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),ve.erpSections.map(e=>He(e,!1)),ve.systemSections.map(e=>He(e,!1)),ve.virtualSections.map(e=>He(e,!0)),ve.footerSections.length>0&&/* @__PURE__ */T("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),ve.footerSections.map(e=>He(e,!1))]}),
|
|
31
|
-
/* @__PURE__ */T("div",{className:`shrink-0 border-t border-gray-200 py-2 ${Je}`,style:Ke,children:/* @__PURE__ */B("button",{ref:We,type:"button",onClick:()=>$e(e=>!e),"aria-haspopup":"menu","aria-expanded":ze,"aria-label":Z?ye.accountMenu(Qe):void 0,className:"flex w-full items-center gap-3 rounded-md hover:bg-gray-100 "+(Z?"justify-center py-2":"px-2 py-2"),children:[Te,!Z&&/* @__PURE__ */B("span",{className:"min-w-0 flex-1 text-left",children:[
|
|
32
|
-
/* @__PURE__ */T("span",{className:"block truncate text-sm font-semibold text-ink-strong",children:Qe}),ae?.email&&Qe!==ae.email&&/* @__PURE__ */T("span",{className:"block truncate text-2xs text-ink-faint",children:ae.email})]})]})}),q&&!Z&&!se&&/* @__PURE__ */T(o,{side:"left",width:Y,onResize:q,min:j,max:N,defaultWidth:v,storageKey:a,label:ye.resizeSidebar}),ze&&Be&&/* @__PURE__ */B(S,{portal:!0,minWidth:224,onClose:()=>$e(!1),style:U(Y,Be,window.innerHeight),children:[Z&&/* @__PURE__ */B("div",{className:"border-b border-line px-3 py-3",children:[
|
|
33
|
-
/* @__PURE__ */T("p",{className:"truncate text-sm font-semibold text-gray-800",children:Qe}),ae?.email&&/* @__PURE__ */T("p",{className:"truncate text-xs text-gray-500",children:ae.email})]}),
|
|
34
|
-
/* @__PURE__ */B(L,{onClick:()=>{$e(!1),te("/profile",!1)},children:[
|
|
35
|
-
/* @__PURE__ */T(W,{name:"account",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ye.profile]}),ve.footerItems.map(e=>/* @__PURE__ */B(L,{onClick:()=>{$e(!1),Ae(e)},children:[
|
|
36
|
-
/* @__PURE__ */T("span",{className:"h-4 w-4 [&>svg]:size-4","aria-hidden":"true",children:de[e.to]}),e.menuLabel??e.label]},e.to)),oe&&/* @__PURE__ */B(L,{onClick:()=>{$e(!1),oe()},children:[
|
|
37
|
-
/* @__PURE__ */T(W,{name:"error",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ye.reportIssue]}),
|
|
38
|
-
/* @__PURE__ */T(z,{}),le&&/* @__PURE__ */B(J,{children:[
|
|
39
|
-
/* @__PURE__ */B(L,{onClick:()=>{$e(!1),le()},children:[
|
|
40
|
-
/* @__PURE__ */T(W,{name:"desktop",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ye.switchToDesktop]}),
|
|
41
|
-
/* @__PURE__ */T(z,{})]}),
|
|
42
|
-
/* @__PURE__ */B(L,{danger:!0,onClick:()=>{$e(!1),ie()},children:[
|
|
43
|
-
/* @__PURE__ */T(W,{name:"logout",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ye.signOut]})]}),Se&&Z&&/* @__PURE__ */T(S,{portal:!0,minWidth:220,onClose:()=>Le(null),style:{left:Y+f,top:Math.min(Se.top,window.innerHeight-48*Math.min(Se.items.length,10)-16)},children:m(Se.items,ke).map((e,t)=>/* @__PURE__ */B("div",{role:e.heading?"group":void 0,"aria-label":e.heading?e.heading.menuLabel??e.heading.label:void 0,children:[t>0&&/* @__PURE__ */T(z,{}),e.heading&&/* @__PURE__ */T($,{children:e.heading.menuLabel??e.heading.label}),e.items.map(e=>/* @__PURE__ */B(L,{onClick:()=>Ae(e),children:[De(e.to,de),
|
|
44
|
-
/* @__PURE__ */T("span",{className:e.to===re?"font-semibold":"",children:e.menuLabel??e.label})]},e.to))]},e.heading?.to??`run-${t}`))})]})}export{U as accountMenuPosition,Y as default};
|