efficient-shell 8.17.0 → 8.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +69 -6
- package/dist/{Browser-GZXTAL7Z.js → Browser-EE7TUWTN.js} +14 -14
- package/dist/Calculator-YTIRFXXR.js +29 -0
- package/dist/{CurrencyConverter-XK6SETYS.js → CurrencyConverter-NDMWLX7M.js} +8 -8
- package/dist/{Documents-GXYD4UD2.js → Documents-XSDBD4T7.js} +19 -19
- package/dist/Files-B5HKRQN3.js +87 -0
- package/dist/{Notepad-L4TKPWZ7.js → Notepad-2SXHFPFX.js} +10 -10
- package/dist/PdfViewer-456B27TB.js +1 -0
- package/dist/{PomodoroTimer-D37Y6TE7.js → PomodoroTimer-L72X22QZ.js} +58 -58
- package/dist/{Preview-MPDXIVGC.js → Preview-DJHBCRKW.js} +47 -47
- package/dist/Sidebar-YCSGGCLW.js +43 -0
- package/dist/{Spreadsheet-JBPWIBDY.js → Spreadsheet-VHFYYFLK.js} +13 -13
- package/dist/{Stock-ZUTJX6S6.js → Stock-C3DDF3V3.js} +7 -7
- package/dist/{Weather-4GPPPHK5.js → Weather-2XG5AIW2.js} +19 -19
- package/dist/{WorldClock-TW36BP7G.js → WorldClock-2MU5CFUN.js} +6 -6
- package/dist/ai/index.js +15 -15
- package/dist/apps/index.js +1 -1
- package/dist/bin/media-host-check.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/charts/BoxPlotChart.js +1 -1
- package/dist/charts/CandlestickChart.js +1 -1
- package/dist/charts/CartesianPlot.js +1 -1
- package/dist/charts/ChartBrush.js +1 -1
- package/dist/charts/ChartFrame.js +1 -1
- package/dist/charts/ChartSkeleton.js +1 -1
- package/dist/charts/ChordChart.js +1 -1
- package/dist/charts/ColumnChart.js +1 -1
- package/dist/charts/FunnelChart.js +1 -1
- package/dist/charts/HeatmapChart.js +1 -1
- package/dist/charts/HistogramChart.js +1 -1
- package/dist/charts/Meter.js +1 -1
- package/dist/charts/PieChart.js +1 -1
- package/dist/charts/RadarChart.js +1 -1
- package/dist/charts/RadialBarChart.js +1 -1
- package/dist/charts/RangeChart.js +1 -1
- package/dist/charts/RankedBars.js +1 -1
- package/dist/charts/SankeyChart.js +1 -1
- package/dist/charts/ScatterChart.js +1 -1
- package/dist/charts/StatTile.js +1 -1
- package/dist/charts/SunburstChart.js +1 -1
- package/dist/charts/TimeSeriesChart.js +1 -1
- package/dist/charts/TreemapChart.js +1 -1
- package/dist/charts/WaterfallChart.js +1 -1
- package/dist/{chunk-KIGGG3LT.js → chunk-2MMEGCYI.js} +1 -1
- package/dist/{chunk-WAMBQNDN.js → chunk-2QYQDCJE.js} +14 -14
- package/dist/{chunk-T6L6HQI5.js → chunk-2RKTVTJJ.js} +1 -1
- package/dist/{chunk-42U4LJT7.js → chunk-2VFRVO3N.js} +26 -26
- package/dist/{chunk-B4LK7WL6.js → chunk-2YZ3ITNG.js} +2 -2
- package/dist/{chunk-CP6Q24MP.js → chunk-2ZIVFBJN.js} +8 -8
- package/dist/{chunk-LJSJFS2M.js → chunk-37DRDM4D.js} +12 -12
- package/dist/{chunk-2VLQECPC.js → chunk-3NU2B2WM.js} +9 -9
- package/dist/{chunk-QV2GME3Y.js → chunk-3XLDWJDG.js} +6 -6
- package/dist/{chunk-VJPJNCB4.js → chunk-42BBJJDP.js} +2 -1
- package/dist/{chunk-TWWJLFTD.js → chunk-4JCNWUVZ.js} +4 -4
- package/dist/{chunk-7UBV5MPQ.js → chunk-4NB3WHWK.js} +1 -1
- package/dist/{chunk-O6TKI4F5.js → chunk-4S724CEA.js} +1 -1
- package/dist/{chunk-S2ONNZVX.js → chunk-56CQPUIJ.js} +15 -15
- package/dist/{chunk-CASSD64W.js → chunk-5N6VSOZV.js} +5 -5
- package/dist/chunk-5QFPTDQF.js +1 -0
- package/dist/{chunk-UL4WB3VH.js → chunk-5WYCXSUM.js} +1 -1
- package/dist/{chunk-NIULZZAI.js → chunk-6EAVTBKE.js} +1 -1
- package/dist/{chunk-XF2NZVXW.js → chunk-6JLZMVVE.js} +6 -6
- package/dist/{chunk-RECXXFYW.js → chunk-6MN2JR25.js} +8 -8
- package/dist/{chunk-SDIGC5NU.js → chunk-73FD77RD.js} +1 -1
- package/dist/{chunk-QP2S2K2Y.js → chunk-7GCBMTP2.js} +3 -3
- package/dist/{chunk-PRR2GXBV.js → chunk-7NOU275V.js} +2 -2
- package/dist/{chunk-IJMV4F2Q.js → chunk-A3MOA3T7.js} +1 -1
- package/dist/{chunk-OS57C5J7.js → chunk-A3R6DKQ5.js} +1 -1
- package/dist/{chunk-KLAZTKN2.js → chunk-AAYACT5T.js} +4 -4
- package/dist/{chunk-Y3XH4HJQ.js → chunk-ABD34D3N.js} +3 -3
- package/dist/chunk-AG3ALTVD.js +20 -0
- package/dist/{chunk-LI7D6SMK.js → chunk-APMBWBD7.js} +1 -1
- package/dist/{chunk-UWHGJTAL.js → chunk-B6BE4WSP.js} +6 -6
- package/dist/chunk-BE4APEUI.js +2 -0
- package/dist/{chunk-OU3ITBK5.js → chunk-BG5BCF64.js} +6 -6
- package/dist/{chunk-ENSA3NAS.js → chunk-BJGD2ZWK.js} +1 -1
- package/dist/{chunk-O3WSAR62.js → chunk-BVDGHZ4H.js} +1 -1
- package/dist/{chunk-7KYFOYC7.js → chunk-CG4KTWP4.js} +5 -5
- package/dist/chunk-CGY5RNAF.js +3 -0
- package/dist/chunk-CKDFXYYY.js +8 -0
- package/dist/{chunk-XTPDXB4X.js → chunk-DBBUHXRT.js} +1 -1
- package/dist/{chunk-XKCEVZZB.js → chunk-DGTP6BGV.js} +1 -1
- package/dist/{chunk-CTB634WT.js → chunk-DQEST7MN.js} +1 -1
- package/dist/{chunk-QIEMOYTG.js → chunk-DTJQHW3Q.js} +1 -1
- package/dist/chunk-EA37JL6P.js +3 -0
- package/dist/{chunk-PSOHSTXL.js → chunk-EFUQ4KAH.js} +1 -1
- package/dist/{chunk-SWSN3HZX.js → chunk-EO2XHSIK.js} +2 -2
- package/dist/{chunk-HEJTHEXN.js → chunk-EOPPYQIT.js} +1 -1
- package/dist/chunk-EUFALBK3.js +1 -0
- package/dist/{chunk-76YDO3KA.js → chunk-F2HM7SV4.js} +1 -1
- package/dist/{chunk-GATOVTJT.js → chunk-FJ72DO6A.js} +1 -1
- package/dist/{chunk-KSYNJTVA.js → chunk-FJUFQXDS.js} +20 -20
- package/dist/chunk-FNQJO3HZ.js +11 -0
- package/dist/{chunk-EDYCBXWD.js → chunk-FTQ5DH5U.js} +7 -7
- package/dist/chunk-GTRUBA2R.js +1 -0
- package/dist/chunk-GVKFLNRP.js +12 -0
- package/dist/{chunk-YYUICWSB.js → chunk-GVYJYXVH.js} +7 -7
- package/dist/{chunk-PDPBIDHF.js → chunk-HBBTB6RW.js} +1 -1
- package/dist/{chunk-2LKH6JM5.js → chunk-HIDOSOI4.js} +1 -1
- package/dist/{chunk-MH4EUGAB.js → chunk-HKAWQF7O.js} +7 -7
- package/dist/{chunk-HEM6NC23.js → chunk-HKTU536H.js} +1 -1
- package/dist/{chunk-4B7ZRWDA.js → chunk-HMA4ZSCS.js} +1 -1
- package/dist/{chunk-IH2DJOTW.js → chunk-HNFLUVVM.js} +10 -10
- package/dist/{chunk-S3RTAWEU.js → chunk-HQIUFRWO.js} +13 -13
- package/dist/{chunk-BMBQ3IX3.js → chunk-HQNR4JQG.js} +1 -1
- package/dist/{chunk-5BLAPU7W.js → chunk-I5T3A4KI.js} +1 -1
- package/dist/chunk-IC72MGON.js +1 -0
- package/dist/{chunk-WKSVUJZA.js → chunk-JBMGI5YX.js} +3 -3
- package/dist/{chunk-SNDYD76W.js → chunk-JLDGZFNY.js} +10 -10
- package/dist/chunk-JSOO4O5K.js +10 -0
- package/dist/chunk-JSVYN6D6.js +3 -0
- package/dist/{chunk-4AFNDOPF.js → chunk-K2DUF2AR.js} +1 -1
- package/dist/{chunk-BGVN7HOZ.js → chunk-K5UPORAA.js} +2 -2
- package/dist/{chunk-KBHC4VLA.js → chunk-KAELFRN4.js} +1 -1
- package/dist/{chunk-HPQ56MKK.js → chunk-KH6GERFP.js} +1 -1
- package/dist/{chunk-ION2GBY3.js → chunk-KIYO4U4T.js} +12 -12
- package/dist/{chunk-YO52QEKT.js → chunk-KW4VUPJV.js} +9 -9
- package/dist/chunk-LACL4MAR.js +1 -0
- package/dist/{chunk-2DGTGJYJ.js → chunk-LAHK4WVH.js} +7 -7
- package/dist/{chunk-4EIGXW4U.js → chunk-LDHYCVMV.js} +1 -1
- package/dist/{chunk-EKFIRCNP.js → chunk-LJVLMM3Q.js} +8 -8
- package/dist/{chunk-RQARJHDB.js → chunk-LWGNNVDA.js} +1 -1
- package/dist/{chunk-ZEDYXP2J.js → chunk-MKTO2FHK.js} +1 -1
- package/dist/chunk-MNQ6EPAR.js +9 -0
- package/dist/{chunk-VAACOJ2H.js → chunk-MPN267PR.js} +1 -1
- package/dist/{chunk-DVFMCVI5.js → chunk-MVYOBV4I.js} +2 -2
- package/dist/{chunk-2M5JD52X.js → chunk-MWGVFDEV.js} +2 -2
- package/dist/{chunk-PK4ZY4GZ.js → chunk-NADUURUA.js} +3 -3
- package/dist/{chunk-EDEQRSJC.js → chunk-NQ46AZ3D.js} +1 -1
- package/dist/{chunk-EVKBV6IV.js → chunk-NU55QIUV.js} +1 -1
- package/dist/{chunk-5GHLKEJQ.js → chunk-O5PJELY7.js} +1 -1
- package/dist/chunk-OLFYNMTD.js +1 -0
- package/dist/{chunk-CD6PGAYP.js → chunk-P5ILG2DA.js} +1 -1
- package/dist/{chunk-OHHJF547.js → chunk-P5QRK7WD.js} +1 -1
- package/dist/{chunk-PG665FWX.js → chunk-PEEVPAIJ.js} +9 -9
- package/dist/{chunk-E4YSP5RD.js → chunk-Q6BY4BME.js} +2 -2
- package/dist/{chunk-LC52BB6N.js → chunk-QAR4NYW6.js} +1 -1
- package/dist/{chunk-35DHYR37.js → chunk-QCP4F6EF.js} +1 -1
- package/dist/{chunk-T2VNNW6Z.js → chunk-QMLG5XKP.js} +7 -7
- package/dist/chunk-QSVKEONU.js +2 -0
- package/dist/{chunk-TUT6SGH2.js → chunk-QSW26NAH.js} +1 -1
- package/dist/{chunk-UWNL4FO2.js → chunk-QTK5NV7L.js} +1 -1
- package/dist/{chunk-6AKXEUZA.js → chunk-QTNPOMXM.js} +5 -5
- package/dist/chunk-QYGBWH5J.js +15 -0
- package/dist/{chunk-MV7WC6SL.js → chunk-R6WJ2NTT.js} +45 -45
- package/dist/{chunk-C4D4L2E5.js → chunk-RPY7FBYY.js} +1 -1
- package/dist/{chunk-SEFPZXO5.js → chunk-S2PKTGHB.js} +6 -6
- package/dist/{chunk-HHXP34PV.js → chunk-SACUPX6L.js} +4 -4
- package/dist/{chunk-LT2MMSHH.js → chunk-SGVIMTN6.js} +16 -16
- package/dist/{chunk-PMJMPYLQ.js → chunk-SLC3KT7F.js} +4 -4
- package/dist/{chunk-LR2X6MKB.js → chunk-SS7BG7BS.js} +1 -1
- package/dist/{chunk-RD5UPROC.js → chunk-TDAFCJY7.js} +6 -6
- package/dist/{chunk-HXXUMKTV.js → chunk-TF3E5J3Y.js} +1 -1
- package/dist/chunk-TQP3L4OC.js +7 -0
- package/dist/{chunk-TLZVEW34.js → chunk-TSOK3QNK.js} +4 -4
- package/dist/chunk-U5KIRPLV.js +2 -0
- package/dist/chunk-U5YJREQJ.js +14 -0
- package/dist/{chunk-QQVLFDX6.js → chunk-UB6TIA2R.js} +4 -4
- package/dist/{chunk-QGU24ERZ.js → chunk-UJULZQM2.js} +1 -1
- package/dist/{chunk-XZLBPVRH.js → chunk-UNDHDLWB.js} +1 -1
- package/dist/chunk-UPHXYWL6.js +15 -0
- package/dist/{chunk-7KZ65FSA.js → chunk-USE4HNZ2.js} +1 -1
- package/dist/{chunk-7IHH5CDD.js → chunk-V5GDA4I6.js} +3 -3
- package/dist/{chunk-JIJOXLDJ.js → chunk-V7NVQ3Z7.js} +1 -1
- package/dist/{chunk-GLVEL6AQ.js → chunk-VKLVHULL.js} +9 -9
- package/dist/chunk-VLKDWKVR.js +1 -0
- package/dist/chunk-VSQSBY2P.js +5 -0
- package/dist/chunk-W4YNYZDQ.js +6 -0
- package/dist/{chunk-TYEXEETI.js → chunk-WDIFRAQM.js} +5 -5
- package/dist/chunk-WEJFTUS7.js +9 -0
- package/dist/{chunk-65HOBHY7.js → chunk-WOHOIJRZ.js} +3 -3
- package/dist/{chunk-AGPQEI3I.js → chunk-WVSLFX37.js} +7 -7
- package/dist/{chunk-BUDBBIKN.js → chunk-WVWIRII2.js} +9 -9
- package/dist/chunk-XDG2RWUO.js +2 -0
- package/dist/{chunk-EPGKTANF.js → chunk-XW56UIDQ.js} +6 -6
- package/dist/{chunk-VANXHWGP.js → chunk-Y67ILJVG.js} +1 -1
- package/dist/{chunk-PEELLEPP.js → chunk-YFY2LSWZ.js} +6 -6
- package/dist/{chunk-FARRGETL.js → chunk-YGITR6I5.js} +1 -1
- package/dist/chunk-YULJ7F6Z.js +19 -0
- package/dist/{chunk-PRXPLEVZ.js → chunk-Z3ZIVVKE.js} +1 -1
- package/dist/{chunk-R6XC7X63.js → chunk-Z7PS4QUO.js} +6 -6
- package/dist/{chunk-PPSIMRJM.js → chunk-ZGCLFQS5.js} +7 -7
- package/dist/{chunk-JHXYW542.js → chunk-ZQGPJZY4.js} +3 -3
- package/dist/{chunk-YT32RSS6.js → chunk-ZVK74ERI.js} +1 -1
- package/dist/{chunk-6EJ7G234.js → chunk-ZVY4J3PU.js} +7 -7
- package/dist/chunk-ZWQRFYE6.js +11 -0
- package/dist/{chunk-2OTCFJCU.js → chunk-ZXI4CWTI.js} +1 -1
- package/dist/data/DataTable.js +1 -1
- package/dist/data/Kanban.js +1 -1
- package/dist/data/ListFooter.js +1 -1
- package/dist/data/ListLoadError.js +1 -1
- package/dist/data/Pagination.js +1 -1
- package/dist/file-intake/index.js +1 -1
- package/dist/forms/BorderInput.js +1 -1
- package/dist/forms/BrandAssetEditor.js +1 -1
- package/dist/forms/Calendar.js +1 -1
- package/dist/forms/ColorPicker.js +1 -1
- package/dist/forms/ComposerAttachments.js +1 -1
- package/dist/forms/CornersInput.js +1 -1
- package/dist/forms/DatePicker.js +1 -1
- package/dist/forms/DateRangePicker.js +1 -1
- package/dist/forms/DateTimePicker.js +1 -1
- package/dist/forms/DisplayChips.js +1 -1
- package/dist/forms/FilePicker.js +1 -1
- package/dist/forms/FormErrorSummary.js +1 -1
- package/dist/forms/IconPicker.js +1 -1
- package/dist/forms/ImageFocusPoint.js +1 -1
- package/dist/forms/InputNumber.js +1 -1
- package/dist/forms/LinkPicker.js +1 -1
- package/dist/forms/MediaUploadField.js +1 -1
- package/dist/forms/MediaUploadGrid.js +1 -1
- package/dist/forms/MediaUsedInList.d.ts +24 -0
- package/dist/forms/MediaUsedInList.js +2 -0
- package/dist/forms/NumericKeypad.js +1 -1
- package/dist/forms/PositionInput.js +1 -1
- package/dist/forms/Select.js +1 -1
- package/dist/forms/SidesInput.js +1 -1
- package/dist/forms/Slider.js +1 -1
- package/dist/forms/Snippet.js +1 -1
- package/dist/forms/SplitButton.js +1 -1
- package/dist/forms/TagInput.js +1 -1
- package/dist/forms/TextToolbar.js +1 -1
- package/dist/forms/TimePicker.js +1 -1
- package/dist/forms/WidthsBar.js +1 -1
- package/dist/forms/mediaMoveItems.d.ts +31 -0
- package/dist/forms/mediaMoveItems.js +2 -0
- package/dist/forms/useFileIntake.js +1 -1
- package/dist/hooks/useGridSelection.d.ts +70 -0
- package/dist/hooks/useGridSelection.js +2 -0
- package/dist/hooks/useMarquee.d.ts +68 -0
- package/dist/hooks/useMarquee.js +2 -0
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +20 -3
- package/dist/index.js +695 -694
- package/dist/locales/zh-Hans.js +1 -1
- package/dist/map/index.js +4 -4
- package/dist/markdown/index.js +1 -1
- package/dist/page-tabs/index.js +5 -5
- package/dist/pdf/index.js +1 -1
- package/dist/shell/Accordion.js +1 -1
- package/dist/shell/AppUpdateBanner.js +1 -1
- package/dist/shell/Avatar.js +1 -1
- package/dist/shell/Banner.js +1 -1
- package/dist/shell/Breadcrumbs.js +1 -1
- package/dist/shell/BudgetBar.js +1 -1
- package/dist/shell/Card.js +1 -1
- package/dist/shell/ColoredBadge.js +1 -1
- package/dist/shell/ConfirmDialog.js +1 -1
- package/dist/shell/ContainerFillChart.js +1 -1
- package/dist/shell/ContextMenu.d.ts +12 -4
- package/dist/shell/ContextMenu.js +1 -1
- package/dist/shell/CountBadge.js +1 -1
- package/dist/shell/Dialog.js +1 -1
- package/dist/shell/Drawer.js +1 -1
- package/dist/shell/DropdownMenu.d.ts +18 -2
- package/dist/shell/DropdownMenu.js +1 -1
- package/dist/shell/EditableGrid.js +1 -1
- package/dist/shell/EmptyState.js +1 -1
- package/dist/shell/GlobalSearch.js +1 -1
- package/dist/shell/HelpCenter.js +1 -1
- package/dist/shell/IconRail.js +1 -1
- package/dist/shell/ImageLightbox.d.ts +32 -0
- package/dist/shell/ImageLightbox.js +2 -0
- package/dist/shell/LanguageSelect.js +1 -1
- package/dist/shell/Markdown.js +1 -1
- package/dist/shell/MarqueeBox.d.ts +17 -0
- package/dist/shell/MarqueeBox.js +1 -0
- package/dist/shell/MetricBar.js +1 -1
- package/dist/shell/MetricBarLegend.js +1 -1
- package/dist/shell/MilestoneTimeline.js +1 -1
- package/dist/shell/PageHeader.js +1 -1
- package/dist/shell/PopupMenu.d.ts +9 -1
- package/dist/shell/PopupMenu.js +1 -1
- package/dist/shell/ProductionTimeline.js +1 -1
- package/dist/shell/ResizeHandle.js +1 -1
- package/dist/shell/Result.js +1 -1
- package/dist/shell/SearchableSelect.js +1 -1
- package/dist/shell/SettingReset.js +1 -1
- package/dist/shell/SettingRow.js +1 -1
- package/dist/shell/SidebarLayout.js +1 -1
- package/dist/shell/SidebarNav.js +1 -1
- package/dist/shell/SortableList.js +1 -1
- package/dist/shell/Statistic.js +1 -1
- package/dist/shell/StepChain.js +1 -1
- package/dist/shell/Stepper.js +1 -1
- package/dist/shell/TimeAgo.js +1 -1
- package/dist/shell/TimelineTrack.js +1 -1
- package/dist/shell/TopNav.js +1 -1
- package/dist/shell/TransferProgress.js +1 -1
- package/dist/shell/Tree.js +1 -1
- package/dist/shell/ZoomableImage.d.ts +49 -0
- package/dist/shell/ZoomableImage.js +2 -0
- package/dist/shell/contextMenuTarget.d.ts +30 -4
- package/dist/shell/contextMenuTarget.js +1 -1
- package/dist/shell/language.js +1 -1
- package/dist/shell/strings.d.ts +23 -0
- package/dist/shell/strings.js +1 -1
- package/dist/shell/toast.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/templates/AuthScreen.js +1 -1
- package/dist/templates/ChatTemplate.js +1 -1
- package/dist/templates/CheckoutTemplate.js +1 -1
- package/dist/templates/DashboardTemplate.js +1 -1
- package/dist/templates/DataTablePage.js +1 -1
- package/dist/templates/EmailTemplate.js +1 -1
- package/dist/templates/ErrorBoundary.js +1 -1
- package/dist/templates/ErrorPage.js +1 -1
- package/dist/templates/FormLayoutPage.js +1 -1
- package/dist/templates/GalleryTemplate.js +1 -1
- package/dist/ui/index.d.ts +10 -2
- package/dist/ui/index.js +1 -1
- package/dist/utils/edgeScroll.d.ts +25 -0
- package/dist/utils/edgeScroll.js +1 -0
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-TYZWIYJW.js +0 -29
- package/dist/Files-OYZXQMRA.js +0 -87
- package/dist/PdfViewer-Q7IS273H.js +0 -1
- package/dist/Sidebar-F4LYK5XP.js +0 -43
- package/dist/chunk-26DGOAPH.js +0 -14
- package/dist/chunk-3S52QOEP.js +0 -20
- package/dist/chunk-62LFDQGF.js +0 -15
- package/dist/chunk-6TWRV44R.js +0 -15
- package/dist/chunk-7GU3LUMW.js +0 -11
- package/dist/chunk-7IF3RZF3.js +0 -15
- package/dist/chunk-7UEFFCQV.js +0 -12
- package/dist/chunk-ARC3R4I2.js +0 -3
- package/dist/chunk-B3LWYJS7.js +0 -2
- package/dist/chunk-GLCKZI3N.js +0 -1
- package/dist/chunk-GZCAFWWB.js +0 -1
- package/dist/chunk-LPYFS4RV.js +0 -19
- package/dist/chunk-OVNRVFWS.js +0 -1
- package/dist/chunk-R6N26ITY.js +0 -5
- package/dist/chunk-RKWGWBET.js +0 -9
- package/dist/chunk-TB3AK6XF.js +0 -2
- package/dist/chunk-XMGXVMVS.js +0 -6
- package/dist/chunk-Y4NIZQNT.js +0 -8
- package/dist/chunk-YEY6YPTM.js +0 -2
- package/dist/chunk-ZOGEAYWJ.js +0 -9
- /package/dist/{chunk-4MNNVSHD.js → chunk-PCGZS6S4.js} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{ImageFocusPoint as e}from"./chunk-SLC3KT7F.js";import{FormField as a}from"./chunk-MVQBVPWP.js";import{isVideoUrl as i,mediaPromptLine as t,mediaFileName as r,FilenameBadge as o,BusyOverlay as n,UploadGlyph as l,dropzoneClass as s,zoneFocusClass as c}from"./chunk-APMBWBD7.js";import{TransferProgress as d}from"./chunk-YGITR6I5.js";import{Segmented as u}from"./chunk-CHNYSP6K.js";import{useFileIntake as m,FileIntakeAlert as h}from"./chunk-MPN267PR.js";import{Icon as p}from"./chunk-42BBJJDP.js";import{useShellStrings as b}from"./chunk-GTRUBA2R.js";import{useState as g,useRef as v,useEffect as f,useId as y}from"react";import{jsxs as k,jsx as j,Fragment as x}from"react/jsx-runtime";var N=["flex h-8 items-center justify-center rounded-(--radius-control) text-(--status-on-solid)","not-disabled:hover:bg-white/10 disabled:cursor-not-allowed disabled:opacity-60","rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]"].join(" ");function w({value:w,onChange:L,onPick:R,onFile:P,label:C,hint:F,error:U,required:B,className:$,accept:z="image/*",maxSizeBytes:O,fit:H="cover",height:I=112,placeholder:S,cta:q,acceptHint:A,showFilename:K=!0,allowReplace:M=!0,allowRemove:T=!0,replaceLabel:V,removeLabel:W,busy:D=!1,busyLabel:G,choosingLabel:J,pickFailedLabel:Y,progress:_,disabled:Q=!1,kind:E,onKindChange:X,focus:Z,onFocusChange:ee,focusLabel:ae}){const ie=b().media,te=q??ie.cta,re=E??(/video/.test(z)&&!/image/.test(z)?"video":"image"),oe="string"==typeof W&&W?W:ie.remove,[ne,le]=g(!1),[se,ce]=g(!1),de=v(!0);f(()=>()=>{de.current=!1},[]);const ue=D||ne,me=ne&&!D?J??ie.choosing:G??ie.uploading,he=U??(se?Y??ie.pickFailed:void 0),pe=e=>{if(!R)return;ce(!1);const a=R(e);a&&"function"==typeof a.then&&(le(!0),a.then(e=>{de.current&&(le(!1),"string"==typeof e&&e&&L(e))},()=>{de.current&&(le(!1),ce(!0))}))},be=y(),ge=v(null),[ve,fe]=g(null);f(()=>()=>{ge.current&&URL.revokeObjectURL(ge.current)},[]);const ye=Q||ue,ke=!!w&&(i(w,z)||w===ve),je=S??t(z,ie),xe=V??(ke||"video"===re?ie.changeVideo:ie.changeImage),Ne=e=>{R?pe(e):P?P(e):(e=>{ge.current&&URL.revokeObjectURL(ge.current);const a=URL.createObjectURL(e);ge.current=a,fe(e.type.startsWith("video/")?a:null),L(a)})(e)},we=m({accept:z,maxSizeBytes:O,acceptHint:A,multiple:!1,disabled:ye,onAccept:([e])=>Ne(e)}),{dragOver:Le}=we,Re=()=>{ye||(R?pe():we.open())},Pe=w?r(w):"",Ce=!ke&&!!ee,Fe=Q||!M&&!T?null:/* @__PURE__ */k("div",{"data-media-bar":"",className:["absolute inset-x-0 bottom-0 flex items-center gap-1 p-1 text-(--status-on-solid)","opacity-0 transition-opacity duration-(--motion-fast)","group-hover/media:opacity-100 group-focus-within/media:opacity-100 [@media(hover:none)]:opacity-100"].join(" "),style:{background:"var(--rosh-media-scrim-button)"},children:[M&&/* @__PURE__ */k("button",{id:Ce?void 0:be,type:"button","aria-labelledby":`${be}-change`,onClick:()=>Re(),disabled:ue,className:`min-w-0 flex-1 gap-1 px-2 text-sm font-medium ${N}`,children:[
|
|
2
|
+
/* @__PURE__ */j(p,{name:"swap","aria-hidden":"true",className:"h-4 w-4 shrink-0"}),
|
|
3
|
+
/* @__PURE__ */j("span",{id:`${be}-change`,className:"truncate",children:xe})]}),T&&/* @__PURE__ */j("button",{type:"button","aria-label":oe,onClick:()=>{ge.current&&(URL.revokeObjectURL(ge.current),ge.current=null),fe(null),L("")},disabled:ue,className:`ml-auto w-8 shrink-0 ${N}`,children:/* @__PURE__ */j(p,{name:"trash","aria-hidden":"true",className:"h-4 w-4"})})]}),Ue=/* @__PURE__ */k("div",{...we.zoneProps,"data-media-frame":"",className:["group/media relative overflow-hidden rounded-(--radius-control) border transition-colors",Ce?"":"bg-gray-100",Le?"border-blue-500":"border-gray-200"].join(" "),style:Ce?void 0:{height:I},children:[Ce?
|
|
4
|
+
/* @__PURE__ */j(e,{value:Z??"",onChange:e=>ee?.(e),label:ae??ie.focus,image:w,hint:null,id:be,disabled:ye,className:"[&_[data-image-focus-picture]]:rounded-none [&_[data-image-focus-picture]]:border-0"}):ke?/* @__PURE__ */j("video",{src:w??void 0,muted:!0,playsInline:!0,preload:"metadata","aria-label":Pe||void 0,className:"h-full w-full",style:{objectFit:H}}):/* @__PURE__ */j("img",{src:w??void 0,alt:Pe,className:"h-full w-full",style:{objectFit:H,objectPosition:Z||void 0}}),K&&w&&/* @__PURE__ */j(o,{children:Pe}),Fe,ue&&/* @__PURE__ */j(n,{label:me,progress:_,rounded:"rounded-md"})]}),Be=/* @__PURE__ */j("button",{type:"button",id:be,onClick:()=>Re(),disabled:ye,"aria-label":"string"==typeof je?je:ie.upload,"aria-busy":ue||void 0,"aria-invalid":!!he||void 0,"aria-required":B||void 0,"aria-describedby":he?`${be}-error`:F?`${be}-hint`:void 0,...we.zoneProps,className:s(Le,ye,c(ye)),style:{minHeight:I},children:ue?/* @__PURE__ */j(d,{state:"busy",verb:me,pct:_}):/* @__PURE__ */k(x,{children:[
|
|
5
|
+
/* @__PURE__ */j("span",{className:"text-gray-400",children:/* @__PURE__ */j(l,{})}),
|
|
6
|
+
/* @__PURE__ */j("span",{className:"px-3 text-xs text-gray-500",children:je}),
|
|
7
|
+
/* @__PURE__ */j("span",{className:"text-sm font-medium text-blue-600",children:te}),A&&/* @__PURE__ */j("span",{className:"text-xs text-gray-400",children:A})]})});/* @__PURE__ */
|
|
8
|
+
return k(a,{label:C,htmlFor:be,hint:F,error:he,required:B,className:$,children:[X&&/* @__PURE__ */j("div",{"data-media-kind":"",className:"mb-2",children:/* @__PURE__ */j(u,{value:re,onChange:e=>X(e),options:[{value:"image",label:ie.image,icon:/* @__PURE__ */j(p,{name:"image","aria-hidden":"true",className:"h-4 w-4"}),disabled:ye},{value:"video",label:ie.video,icon:/* @__PURE__ */j(p,{name:"play","aria-hidden":"true",className:"h-4 w-4"}),disabled:ye}],block:!0,size:"md",label:"string"==typeof C&&C?C:ie.upload})}),w?Ue:Be,!R&&/* @__PURE__ */j("input",{...we.inputProps}),
|
|
9
|
+
/* @__PURE__ */j(h,{rejections:we.rejections})]})}export{w as MediaUploadField};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{DropdownMenu as e}from"./chunk-
|
|
2
|
-
return s("div",{className:[J?"flex w-full":"inline-flex","items-stretch",R].filter(Boolean).join(" "),children:[null==w||""===w||
|
|
3
|
-
/* @__PURE__ */t(a,{content
|
|
1
|
+
import{DropdownMenu as e}from"./chunk-TQP3L4OC.js";import{Button_default as i}from"./chunk-UDD7GB4F.js";import{iconButtonClasses as n}from"./chunk-K7U4RWXJ.js";import{Icon as r}from"./chunk-42BBJJDP.js";import{Tooltip as a}from"./chunk-2LXTJXWC.js";import{forwardRef as l,useId as o}from"react";import{jsxs as s,jsx as t}from"react/jsx-runtime";var d="relative focus-visible:z-10",m={secondary:"border-l-0",primary:"border-l border-white/30",warning:"border-l border-white/30"},c=l(function({children:l,onClick:c,type:b="button",items:h,menuLabel:u,variant:f="primary",size:p="md",loading:v=!1,leftIcon:k,disabled:g=!1,disabledReason:N,tooltip:w,menuDisabled:x=!1,menuDisabledReason:j,onMenuOpenChange:y,menuFooter:C,menuFooterLabel:W,align:D="end",side:L="bottom",menuMinWidth:z,linkAs:B,block:J=!1,className:R=""},F){const O=g&&(null!=N&&""!==N&&!1!==N)&&!v,X=x&&null!=j&&""!==j&&!1!==j,$=o(),A=/* @__PURE__ */t(i,{ref:F,type:b,variant:f,size:p,loading:v,leftIcon:k,block:J,disabled:g&&!O,"aria-disabled":!!O||void 0,disabledReason:O?N:void 0,onClick:c,className:`rounded-r-none ${d}`,children:l}),I=J?"relative flex min-w-0 flex-1":"relative inline-flex",M=p.startsWith("touch")?"h-5 w-5":"h-4 w-4";/* @__PURE__ */
|
|
2
|
+
return s("div",{className:[J?"flex w-full":"inline-flex","items-stretch",R].filter(Boolean).join(" "),children:[null==w||""===w||O?A:/* @__PURE__ */t(a,{content:w,className:I,children:A}),
|
|
3
|
+
/* @__PURE__ */t(a,{content:X?j:u,describe:!1,className:"relative inline-flex shrink-0",children:/* @__PURE__ */t(e,{"aria-label":u,"aria-describedby":X?$:void 0,items:h,align:D,side:L,minWidth:z,linkAs:B,disabled:x&&!X,"aria-disabled":X,onOpenChange:y,footer:C,footerLabel:W,triggerClassName:n({variant:f,size:p,className:`rounded-l-none ${m[f]} ${d}`}),trigger:/* @__PURE__ */t(r,{name:"chevron-down",className:M,strokeWidth:2,"aria-hidden":"true"})})}),X&&/* @__PURE__ */t("span",{id:$,className:"sr-only",children:j})]})});export{c as SplitButton_default};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{resolveColumnShares as e,COLUMN_SHARES_EQUAL as t,COLUMN_SHARE_MIN as r,COLUMN_COUNT_MAX as n}from"./chunk-PLGJOHEG.js";import{InputNumber_default as o}from"./chunk-
|
|
2
|
-
return f("div",{role:"group","aria-label":P?void 0:N,"aria-labelledby":P,"aria-describedby":D>1?
|
|
1
|
+
import{resolveColumnShares as e,COLUMN_SHARES_EQUAL as t,COLUMN_SHARE_MIN as r,COLUMN_COUNT_MAX as n}from"./chunk-PLGJOHEG.js";import{InputNumber_default as o}from"./chunk-EO2XHSIK.js";import{Button_default as i}from"./chunk-UDD7GB4F.js";import{Tooltip as l}from"./chunk-2LXTJXWC.js";import{useShellStrings as a}from"./chunk-GTRUBA2R.js";import{useId as s,useRef as c,useState as d,useEffect as u,Fragment as h}from"react";import{jsxs as f,jsx as m}from"react/jsx-runtime";var p=(e,t,r)=>Math.min(r,Math.max(t,e)),v=e=>e.reduce((e,t)=>e+t,0),g=(e,t)=>e.length===t.length&&e.every((e,r)=>e===t[r]);var y,b="w-0.5",w=`${b} group-hover/widths:w-1 group-focus-visible/widths:w-1`;var x=["text-blue-700","text-gray-600"];function k({count:k,value:$,onChange:C,label:N,"aria-labelledby":P,readOnly:j=!1,disabled:R=!1,footer:M=!0,className:z=""}){const B=a().widths,A=s(),D=p(Math.round(k)||1,1,n),S=e($,D),T=S??[...t[D]??[]],K=[...T,100-v(T)],O=j||R,E=c(null),X=c({onChange:C,shown:T,locked:O,n:D,stored:S});X.current={onChange:C,shown:T,locked:O,n:D,stored:S};const G=t=>{const{onChange:r,shown:n,locked:o,n:i}=X.current;if(o)return!1;const l=e(t,i);return!(!l||g(l,n))&&(r(l),!0)},H=(e,t,n)=>{const o=e[t]+e[t+1],i=[...e];i[t]=p(Math.round(n),r,o-r),i[t+1]=o-i[t],G(i.slice(0,-1))&&(ie.current=null)},I=e=>t=>{if(t.altKey||t.ctrlKey||t.metaKey)return;const n=t.shiftKey?10:1,o=K[e]+K[e+1],i="ArrowRight"===t.key?K[e]+n:"ArrowLeft"===t.key?K[e]-n:"PageUp"===t.key?K[e]+10:"PageDown"===t.key?K[e]-10:"Home"===t.key?r:"End"===t.key?o-r:null;null!==i&&(t.preventDefault(),H(K,e,i))},L=c(null),[U,F]=d(null),W=()=>{L.current=null,F(null),document.body.style.removeProperty("cursor"),document.body.style.removeProperty("user-select")};u(()=>W,[]);const J=e=>t=>{if(0!==t.button||O)return;t.preventDefault();const r=E.current?.getBoundingClientRect().width??0;r<=0||(L.current={i:e,x:t.clientX,width:r,from:K,moved:!1,pointer:t.pointerId},F(e),t.currentTarget.setPointerCapture?.(t.pointerId),document.body.style.cursor="col-resize",document.body.style.userSelect="none")},q=e=>{const t=L.current;if(!t)return;if(0===e.buttons)return void W();const r=e.clientX-t.x;if(!t.moved){if(Math.abs(r)<3)return;t.moved=!0}H(t.from,t.i,t.from[t.i]+r/t.width*100)},V=e=>{const t=L.current;t&&(e.currentTarget.hasPointerCapture?.(t.pointer)&&e.currentTarget.releasePointerCapture(t.pointer),W())},Q=(e,t)=>{const{shown:n}=X.current,o=function(e,t,n){const o=e.length,i=[...e];if(o<2)return i;const l=p(Math.round(n),r,100-(o-1)*r);let a=l-i[t];i[t]=l;const s=[...Array.from({length:o-1-t},(e,r)=>t+1+r),...Array.from({length:t},(e,r)=>t-1-r)];if(a<0)return i[s[0]]-=a,i;for(const e of s){if(a<=0)break;const t=Math.min(a,i[e]-r);i[e]-=t,a-=t}return i}([...n,100-v(n)],e,t);return G(o.slice(0,-1))?o:null},[Y,Z]=d(0);u(()=>{const e=E.current;if(!e||"undefined"==typeof ResizeObserver)return;const t=new ResizeObserver(()=>Z(e.getBoundingClientRect().width));return t.observe(e),()=>t.disconnect()},[]);const _=c(null),[ee,te]=d(null),[re,ne]=d([]),oe=(e,t)=>te(r=>t?e:r===e?null:r),ie=c(null),le=(e,t)=>{const r=ie.current;if(!r||r.column!==e||r.share!==t)return!1;const{onChange:n,locked:o,stored:i}=X.current;var l,a;return o||(l=i,a=r.stored,void 0===l||void 0===a?l===a:g(l,a))||n(r.stored),!0},ae=K.join(",");u(()=>{const e=null===ee?[]:function(e,t){if(!e)return[];const r=Array.from(e.querySelectorAll("input[data-widths-label]")),n=r[t]?.getBoundingClientRect();if(!n||0===n.width)return[];if(void 0===y&&(y=document.createElement("canvas").getContext("2d")),!y)return[];const o=y;return r.flatMap((e,r)=>{if(r===t)return[];const i=e.getBoundingClientRect(),l=getComputedStyle(e);o.font=`${l.fontWeight} ${l.fontSize} ${l.fontFamily}`;const a=o.measureText(e.value).width/2,s=(i.left+i.right)/2;return s+a>n.left&&s-a<n.right?[r]:[]})}(_.current,ee);ne(t=>g(t,e)?t:e)},[ee,ae,Y]);const se=K.slice(0,-1).map((e,t)=>v(K.slice(0,t+1)));/* @__PURE__ */
|
|
2
|
+
return f("div",{role:"group","aria-label":P?void 0:N,"aria-labelledby":P,"aria-describedby":D>1?A:void 0,className:`flex w-full min-w-0 flex-col gap-2 ${R?"opacity-60":""} ${z}`.trim(),children:[
|
|
3
3
|
/* @__PURE__ */f("div",{ref:_,"data-widths-bar":"",className:"relative h-8",children:[
|
|
4
|
-
/* @__PURE__ */m("div",{ref:
|
|
5
|
-
/* @__PURE__ */m("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 rounded-(--radius-control) border border-gray-300"}),D>1&&
|
|
6
|
-
return m("div",{className:"absolute inset-y-0 "+(n?"z-20":""),style:{left:`clamp(0px, calc(${i+e/2}% - ${l} / 2), calc(100% - ${l}))`,width:l},children:/* @__PURE__ */m(o,{appearance:"bare",value:e,display:()=>(e=>
|
|
7
|
-
/* @__PURE__ */m("span",{id:
|
|
8
|
-
/* @__PURE__ */m(i,{variant:"secondary",size:"sm",disabled:
|
|
4
|
+
/* @__PURE__ */m("div",{ref:E,"data-widths-track":"",className:"flex h-full w-full overflow-hidden rounded-(--radius-control) bg-white",children:K.map((e,t)=>/* @__PURE__ */m("div",{"data-widths-segment":"",style:{flexBasis:`${e}%`},className:`flex min-w-0 shrink-0 grow-0 items-center justify-center overflow-hidden whitespace-nowrap text-xs font-medium tabular-nums ${x[t%2]} ${t%2==0?"bg-blue-50":""}`,children:1===D&&/* @__PURE__ */m("span",{"data-widths-label":"",children:`${e}%`})},t))}),
|
|
5
|
+
/* @__PURE__ */m("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 rounded-(--radius-control) border border-gray-300"}),D>1&&K.map((e,t)=>/* @__PURE__ */f(h,{children:[(()=>{const n=ee===t,i=v(K.slice(0,t)),l=n?`max(${e}%, 40px)`:`${e}%`;/* @__PURE__ */
|
|
6
|
+
return m("div",{className:"absolute inset-y-0 "+(n?"z-20":""),style:{left:`clamp(0px, calc(${i+e/2}% - ${l} / 2), calc(100% - ${l}))`,width:l},children:/* @__PURE__ */m(o,{appearance:"bare",value:e,display:()=>(e=>Y>0&&Y*e/100<36?String(e):`${e}%`)(e),suffix:"%",min:r,max:100-(D-1)*r,step:1,shiftStep:10,precision:0,allowEmpty:!1,reportWhileTyping:!1,readOnly:j,disabled:R,"aria-label":B.column(t+1),"aria-describedby":A,"data-widths-label":"",onChange:e=>{null===e||le(t,e)||Q(t,e)},onRevert:e=>((e,t)=>{X.current.locked||null===t||le(e,t)||Q(e,t)})(t,e),onFocus:()=>{ie.current={column:t,share:e,stored:X.current.stored},oe(t,!0)},onBlur:()=>oe(t,!1),className:`absolute inset-0 text-xs font-medium ${x[t%2]} ${re.includes(t)&&!n?"opacity-0":""}`})})})(),t<D-1&&/* @__PURE__ */m("div",{className:"absolute inset-y-0 z-10 w-3 -translate-x-1/2",style:{left:`${se[t]}%`},children:/* @__PURE__ */m(l,{content:B.dragHint,delay:600,className:"relative flex h-full w-full",children:/* @__PURE__ */m("div",{role:"separator",tabIndex:R?-1:0,"aria-orientation":"vertical","aria-label":B.divider(t+1,t+2),"aria-valuenow":K[t],"aria-valuemin":r,"aria-valuemax":K[t]+K[t+1]-r,"aria-valuetext":B.dividerValue(t+1,K[t],t+2,K[t+1]),"aria-disabled":O||void 0,onKeyDown:O?void 0:I(t),onPointerDown:J(t),onPointerMove:q,onPointerUp:V,onPointerCancel:V,onLostPointerCapture:()=>{L.current&&W()},className:"group/widths flex h-full w-full touch-none justify-center rounded-(--radius-control) rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)] "+(O?"cursor-default":"cursor-col-resize"),children:/* @__PURE__ */m("span",{"aria-hidden":"true","data-widths-line":"",className:"h-full rounded-full "+(O?`${b} bg-gray-300`:`bg-blue-600 transition-[width,background-color] duration-(--motion-fast) group-hover/widths:bg-blue-700 ${U===t?"w-1":w}`)})})})})]},t))]}),D>1&&!M&&/* @__PURE__ */m("span",{id:A,className:"sr-only",children:B.hint(D,r)}),D>1&&M&&/* @__PURE__ */m("div",{"data-widths-footer":"",className:"@container",children:/* @__PURE__ */f("div",{className:"flex items-center justify-between gap-2 @max-[264px]:flex-col @max-[264px]:items-end",children:[
|
|
7
|
+
/* @__PURE__ */m("span",{id:A,"data-widths-hint":"",className:"text-2xs leading-tight text-gray-500 @max-[264px]:self-stretch",children:B.hint(D,r)}),
|
|
8
|
+
/* @__PURE__ */m(i,{variant:"secondary",size:"sm",disabled:O,onClick:()=>{O||void 0===$||C(void 0)},className:"shrink-0",children:B.reset})]})})]})}export{k as WidthsBar};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{CountBadge as e}from"./chunk-
|
|
1
|
+
import{CountBadge as e}from"./chunk-A3MOA3T7.js";import{SettingAutoContext as t,InSettingRowContext as a}from"./chunk-E4Z5OXBI.js";import{isShown as i}from"./chunk-HCP7WOAL.js";import{useShellStrings as n}from"./chunk-GTRUBA2R.js";import{jsx as s,jsxs as r}from"react/jsx-runtime";var l={default:{pad:"p-4",gap:"gap-4",text:"text-sm",bodyTop:"mt-4",bodyPad:"pt-3"},compact:{pad:"py-2",gap:"gap-2",text:"text-sm",bodyTop:"mt-2",bodyPad:"pt-2"}};function d({label:d,icon:c,action:m,value:o,readout:p,description:h,children:x,controlId:u,unknownText:g="—",quiet:f=!1,size:v="default",viewState:y,divider:N=!0,showWhen:w,values:b,context:$,className:j=""}){const k=n();if(!i(w,b,$))return null;const P=l[v],T=void 0!==o||void 0===x&&null==m,A=null==o||""===o,B=f?"text-gray-500":"text-gray-800",O=A?"text-gray-400":f?"text-gray-500":"text-gray-900",I=null!=p&&!1!==p,R=`${P.text} font-medium ${B}${"compact"===v?" whitespace-nowrap":""}`,V=u?/* @__PURE__ */s("label",{htmlFor:u,className:R,children:d}):/* @__PURE__ */s("span",{className:R,children:d}),W="auto"===y?/* @__PURE__ */s("span",{"data-setting-auto":"","aria-hidden":"true",className:"shrink-0 rounded-sm border border-gray-200 px-1 text-2xs font-normal leading-4 text-gray-500",children:k.settingView.auto}):"edited"===y?/* @__PURE__ */r("span",{"data-setting-edited":"",className:"inline-flex shrink-0 items-center",children:[
|
|
2
2
|
/* @__PURE__ */s("span",{"aria-hidden":"true",className:"inline-flex",children:/* @__PURE__ */s(e,{dot:!0,tone:"accent"})}),
|
|
3
|
-
/* @__PURE__ */s("span",{className:"sr-only",children:k.settingView.edited})]}):null,q=/* @__PURE__ */s(t.Provider,{value:"auto"===y,children:
|
|
4
|
-
return r("div",
|
|
3
|
+
/* @__PURE__ */s("span",{className:"sr-only",children:k.settingView.edited})]}):null,q=/* @__PURE__ */s(t.Provider,{value:"auto"===y,children:A?g:o}),z=[N?"border-t border-gray-100 first:border-t-0":"",P.pad,j].filter(Boolean).join(" "),C=null!=x&&!1!==x&&/* @__PURE__ */s("div",{className:`${P.bodyTop} border-t border-gray-100 ${P.bodyPad}`,children:x});/* @__PURE__ */
|
|
4
|
+
return r("div",I?{className:z,"data-setting-row":"compact"===v?v:void 0,children:[
|
|
5
5
|
/* @__PURE__ */r("div",{"data-setting-line":"",className:"flex flex-wrap items-center justify-between gap-x-2 gap-y-2",children:[
|
|
6
|
-
/* @__PURE__ */s("div",{"data-setting-name":"compact"===v?"":void 0,className:"flex-1 basis-0",children:/* @__PURE__ */r("div",{className:`flex min-w-0 items-center gap-2 ${
|
|
6
|
+
/* @__PURE__ */s("div",{"data-setting-name":"compact"===v?"":void 0,className:"flex-1 basis-0",children:/* @__PURE__ */r("div",{className:`flex min-w-0 items-center gap-2 ${B}`,children:[null!=c&&/* @__PURE__ */s("span",{"aria-hidden":"true",className:"inline-flex h-4 w-4 shrink-0 items-center justify-center",children:c}),V,W]})}),
|
|
7
7
|
/* @__PURE__ */r("div",{"data-setting-end":"",className:"ml-auto flex shrink-0 items-center gap-1",children:[
|
|
8
|
-
/* @__PURE__ */s("span",{"data-setting-readout":"",className:`whitespace-nowrap ${P.text} ${f?"text-gray-500":"text-gray-900"}`,children:p}),("compact"===v||null!=m)&&/* @__PURE__ */s("span",{"data-setting-reset":"",className:"inline-flex h-6 w-6 shrink-0 items-center justify-center",children:m})]})]}),h&&/* @__PURE__ */s("p",{className:"mt-0.5 text-xs text-gray-500",children:h}),void 0!==o&&/* @__PURE__ */s("div",{"data-setting-value":"",className:`mt-2 flex justify-end ${P.text} ${
|
|
8
|
+
/* @__PURE__ */s("span",{"data-setting-readout":"",className:`whitespace-nowrap ${P.text} ${f?"text-gray-500":"text-gray-900"}`,children:p}),("compact"===v||null!=m)&&/* @__PURE__ */s("span",{"data-setting-reset":"",className:"inline-flex h-6 w-6 shrink-0 items-center justify-center",children:m})]})]}),h&&/* @__PURE__ */s("p",{className:"mt-0.5 text-xs text-gray-500",children:h}),void 0!==o&&/* @__PURE__ */s("div",{"data-setting-value":"",className:`mt-2 flex justify-end ${P.text} ${O}`,children:/* @__PURE__ */s(a.Provider,{value:"compact"===v,children:q})}),C]}:{className:z,"data-setting-row":"compact"===v?v:void 0,children:[
|
|
9
9
|
/* @__PURE__ */r("div",{className:"compact"===v?"flex flex-wrap items-center justify-between gap-x-2 gap-y-2":`flex items-center justify-between ${P.gap}`,children:[
|
|
10
10
|
/* @__PURE__ */r("div",{"data-setting-name":"compact"===v?"":void 0,className:"compact"===v?"flex-1 basis-0":"min-w-0 flex-1",children:[null!=c?
|
|
11
|
-
/* @__PURE__ */r("div",{className:`flex min-w-0 items-center gap-2 ${
|
|
12
|
-
/* @__PURE__ */s("span",{"aria-hidden":"true",className:"inline-flex h-4 w-4 shrink-0 items-center justify-center",children:c}),
|
|
13
|
-
/* @__PURE__ */r("div",{"data-setting-end":"",className:"ml-auto flex shrink-0 items-center gap-1",children:[
|
|
14
|
-
/* @__PURE__ */s("span",{"data-setting-reset":"",className:"inline-flex h-6 w-6 shrink-0 items-center justify-center",children:m})]}):null!=m?/* @__PURE__ */r("div",{className:"ml-auto flex shrink-0 items-center gap-1",children:[
|
|
11
|
+
/* @__PURE__ */r("div",{className:`flex min-w-0 items-center gap-2 ${B}`,children:[
|
|
12
|
+
/* @__PURE__ */s("span",{"aria-hidden":"true",className:"inline-flex h-4 w-4 shrink-0 items-center justify-center",children:c}),V,W]}):W?/* @__PURE__ */r("div",{className:"flex min-w-0 items-center gap-2",children:[V,W]}):V,h&&/* @__PURE__ */s("p",{className:"mt-0.5 text-xs text-gray-500",children:h})]}),"compact"===v?
|
|
13
|
+
/* @__PURE__ */r("div",{"data-setting-end":"",className:"ml-auto flex shrink-0 items-center gap-1",children:[T&&/* @__PURE__ */s("div",{"data-setting-value":"",className:`flex items-center justify-end ${P.text} ${O}`,children:/* @__PURE__ */s(a.Provider,{value:!0,children:q})}),
|
|
14
|
+
/* @__PURE__ */s("span",{"data-setting-reset":"",className:"inline-flex h-6 w-6 shrink-0 items-center justify-center",children:m})]}):null!=m?/* @__PURE__ */r("div",{className:"ml-auto flex shrink-0 items-center gap-1",children:[T&&/* @__PURE__ */s("div",{className:`${P.text} ${O}`,children:q}),m]}):T&&/* @__PURE__ */s("div",{className:`shrink-0 ${P.text} ${O}`,children:q})]}),C]})}export{d as SettingRow};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{renderMenuEntries as e,menuStatusIds as t}from"./chunk-JSOO4O5K.js";import{PopupMenu as n,MenuSemanticsContext as r}from"./chunk-UPHXYWL6.js";import{leavesContextMenuAlone as o}from"./chunk-5QFPTDQF.js";import{placeAtPoint as i,popupBounds as l}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as c}from"./chunk-D65T4H6J.js";import{registerModalEscapeInterceptor as u}from"./chunk-TWVUQUUD.js";import{useRef as s,useId as a,useState as d,useEffect as m,useCallback as f}from"react";import{jsx as p,jsxs as v}from"react/jsx-runtime";function h(e){return e?[...e.querySelectorAll("button:not([disabled]), a[href]")].filter(e=>!e.closest("[data-popup-submenu-panel]")):[]}function w({at:o,onClose:w,items:y,linkAs:g,children:k,owner:E,"aria-label":b,minWidth:x=180,className:H="",autoFocus:L=!0}){const D=s(null),S=a(),[j,A]=d(null),U=s(w);U.current=w,c(()=>{const e=D.current?.closest("[data-popup-menu-tree]");if(!e)return;const t={width:e.offsetWidth,height:e.offsetHeight},n=i({point:o,menu:t,bounds:l(E??null)});A(e=>e&&e.left===n.left&&e.top===n.top&&e.maxHeight===n.maxHeight?e:{left:n.left,top:n.top,maxHeight:n.maxHeight,scroll:t.height>n.maxHeight})},[o.x,o.y,E]);const C=s(null),W=s(!1);m(()=>(C.current=document.activeElement,()=>{const e=document.activeElement;e&&e!==document.body&&!D.current?.contains(e)||C.current?.focus?.({preventScroll:!0})}),[]),m(()=>{j&&!W.current&&L&&(W.current=!0,h(D.current)[0]?.focus({preventScroll:!0}))},[j,L]),m(()=>{if(L)return;const e=e=>{if(D.current?.contains(document.activeElement))return;const t=h(D.current),n="ArrowDown"===e.key||"Home"===e.key?t[0]:"ArrowUp"===e.key||"End"===e.key?t[t.length-1]:void 0;n&&(e.preventDefault(),n.focus({preventScroll:!0}))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[L]),m(()=>u(e=>"Escape"===e.key&&(U.current(),!0),()=>D.current),[]),m(()=>{const e=()=>U.current();return window.addEventListener("resize",e),window.addEventListener("blur",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("blur",e),window.removeEventListener("scroll",e,!0)}},[]);const O=f(e=>{if(e.target.closest("[data-popup-submenu-panel]"))return;if("Tab"===e.key)return e.preventDefault(),void U.current();const t=h(D.current);if(0===t.length)return;const n=t.indexOf(document.activeElement),r="ArrowDown"===e.key?(n+1)%t.length:"ArrowUp"===e.key?n<=0?t.length-1:n-1:"Home"===e.key?0:"End"===e.key?t.length-1:-1;r<0||(e.preventDefault(),t[r].focus())},[]),T=j?{left:j.left,top:j.top,maxHeight:j.maxHeight,...j.scroll?{overflowY:"auto"}:{}}:{left:o.x,top:o.y,visibility:"hidden"};/* @__PURE__ */
|
|
2
|
+
return p(n,{portal:!0,minWidth:x,style:T,onClose:w,className:H,children:/* @__PURE__ */p(r.Provider,{value:!0,children:/* @__PURE__ */v("div",{ref:D,id:S,role:"menu","aria-label":b,"aria-describedby":y?t(y,S):void 0,"data-context-menu":"",onKeyDown:O,children:[y&&e(y,{menuId:S,choose:e=>{e.disabled||(U.current(),e.onSelect())},toggle:e=>{e.disabled||e.onSelect()},followLink:()=>U.current(),linkAs:g}),k]})})})}function y(){const[e,t]=d(null),n=f(()=>t(null),[]),r=f((e,n)=>{const r="nativeEvent"in e?e.nativeEvent:e;if(o(r))return!1;e.preventDefault();const i=e.target instanceof Element?e.target:null;let{clientX:l,clientY:c}=e;if(0===l&&0===c&&i){const e=i.getBoundingClientRect();l=e.left,c=e.bottom}return t({x:l,y:c,data:n,owner:i}),!0},[]),i=f(e=>{r(e,void 0)},[r]);return{open:r,onContextMenu:i,close:n,state:e,props:{at:{x:e?.x??0,y:e?.y??0},owner:e?.owner??null,onClose:n}}}export{w as ContextMenu,y as useContextMenu};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{MediaUploadField as e}from"./chunk-
|
|
2
|
-
return n("section",{"aria-label":
|
|
1
|
+
import{MediaUploadField as e}from"./chunk-WEJFTUS7.js";import{BrandMark as r}from"./chunk-MI67DI3H.js";import{Button_default as a}from"./chunk-UDD7GB4F.js";import{useShellStrings as t}from"./chunk-GTRUBA2R.js";import{useRef as i,useState as l,useEffect as s}from"react";import{jsxs as n,jsx as c}from"react/jsx-runtime";function d({committedUrl:d,committedHasAlpha:o=null,committedIsLight:m=null,fallbackUrl:g,fallbackHasAlpha:h=null,fallbackIsLight:u=null,subjectName:b,assetName:p,onSave:x,onRemove:f,accept:v="image/png,image/x-icon,image/vnd.microsoft.icon,.ico,image/svg+xml,image/jpeg,image/webp",acceptHint:y="PNG · ICO · SVG · JPG · WEBP",maxBytes:N=5242880,previews:w=[],disabled:k=!1}){const j=i(null),[L,U]=l(null),[R,F]=l(""),[A,B]=l(""),[C,G]=l(!1),[H,I]=l(!1),E=function(e){return e.trim().toLocaleLowerCase().split(/\s+/).at(-1)||"image"}(p),O=t().brandAsset,S=R||d||g||"",D=L?null:d?o:h,P=L?null:d?m:u;s(()=>()=>{j.current&&URL.revokeObjectURL(j.current)},[]);const $=()=>{j.current&&(URL.revokeObjectURL(j.current),j.current=null)};/* @__PURE__ */
|
|
2
|
+
return n("section",{"aria-label":O.region(p,b),className:"grid gap-4 lg:grid-cols-2",children:[
|
|
3
3
|
/* @__PURE__ */n("div",{className:"rounded-lg border border-gray-200 bg-white p-4",children:[
|
|
4
|
-
/* @__PURE__ */c(e,{value:S,onChange:()=>{},onFile:e=>{if(k)return
|
|
4
|
+
/* @__PURE__ */c(e,{value:S,onChange:()=>{},onFile:e=>{if(k)return;$();const r=URL.createObjectURL(e);j.current=r,U(e),F(r),B("")},label:p,hint:A||O.usedFor(b),error:A||void 0,accept:v,acceptHint:y,maxSizeBytes:N,fit:"contain",height:180,allowRemove:!1,busy:C||H,disabled:k}),
|
|
5
5
|
/* @__PURE__ */n("div",{className:"mt-3 flex flex-wrap gap-2",children:[
|
|
6
|
-
/* @__PURE__ */c(a,{onClick:async()=>{if(L&&!k&&!
|
|
7
|
-
/* @__PURE__ */c("h3",{className:"text-sm font-semibold text-gray-900",children:
|
|
8
|
-
/* @__PURE__ */c("div",{className:"mt-3 grid gap-3",children:w.map(e=>{const a=/* @__PURE__ */c(r,{src:S,alt:
|
|
6
|
+
/* @__PURE__ */c(a,{onClick:async()=>{if(L&&!k&&!C){G(!0),B("");try{await x(L),$(),U(null),F("")}catch(e){B(e instanceof Error?e.message:O.saveFailed(E,p))}finally{G(!1)}}},disabled:!L||k,loading:C,children:O.save(E,p)}),(L||d)&&/* @__PURE__ */c(a,{variant:"ghost-danger",onClick:async()=>{if(!k&&!H){if(L)return $(),U(null),F(""),void B("");if(d){I(!0),B("");try{await f()}catch(e){B(e instanceof Error?e.message:O.removeFailed(E,p))}finally{I(!1)}}}},disabled:k,loading:H,children:L?O.discard:O.remove(E,p)})]})]}),w.length>0&&/* @__PURE__ */n("div",{className:"rounded-lg border border-gray-200 bg-white p-4","aria-label":O.previews(p),children:[
|
|
7
|
+
/* @__PURE__ */c("h3",{className:"text-sm font-semibold text-gray-900",children:O.preview}),
|
|
8
|
+
/* @__PURE__ */c("div",{className:"mt-3 grid gap-3",children:w.map(e=>{const a=/* @__PURE__ */c(r,{src:S,alt:O.alt(b,p),slot:e.slot,surface:e.surface,adaptive:!0,hasAlpha:D,isLight:P,size:"browser-tab"===e.kind?16:void 0});/* @__PURE__ */
|
|
9
9
|
return n("div",{"data-brand-preview":!0,className:"dark"===e.surface?"text-white":"text-gray-900",children:[
|
|
10
10
|
/* @__PURE__ */c("div",{className:"mb-2 text-xs font-medium text-gray-500",children:e.label}),"browser-tab"===e.kind?/* @__PURE__ */n("div",{className:"flex items-end gap-1 border-b border-gray-200",children:[
|
|
11
11
|
/* @__PURE__ */n("div",{className:"flex max-w-[220px] items-center gap-2 rounded-t-lg border border-b-0 border-gray-200 bg-white px-3 py-2",children:[a,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Breadcrumbs as e}from"./chunk-
|
|
1
|
+
import{Breadcrumbs as e}from"./chunk-DBBUHXRT.js";import{jsxs as t,jsx as s}from"react/jsx-runtime";function i({title:i,description:r,subtitle:c,actions:a,children:n,icon:l,breadcrumbs:m}){const d=r??c,h=a??n;/* @__PURE__ */
|
|
2
2
|
return t("div",{className:"mb-6",children:[m&&m.length>0&&/* @__PURE__ */s(e,{items:m,className:"mb-3"}),
|
|
3
3
|
/* @__PURE__ */t("div",{className:"flex items-start justify-between gap-4",children:[
|
|
4
4
|
/* @__PURE__ */t("div",{children:[
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{SidebarBarContext as e,SidebarSheetContext as l}from"./chunk-QWK6DRSN.js";import{readStoredWidth as r,ResizeHandle as t}from"./chunk-
|
|
2
|
-
/* @__PURE__ */f("div",{className:`flex h-full flex-col ${
|
|
3
|
-
/* @__PURE__ */p(t,{side:m,width:
|
|
4
|
-
return f("div",
|
|
5
|
-
/* @__PURE__ */p(g,{phone:
|
|
6
|
-
/* @__PURE__ */p(v,{phone:
|
|
1
|
+
import{SidebarBarContext as e,SidebarSheetContext as l}from"./chunk-QWK6DRSN.js";import{readStoredWidth as r,ResizeHandle as t}from"./chunk-7NOU275V.js";import{useIsPhone as a}from"./chunk-UGTRSRIW.js";import{Icon as n}from"./chunk-42BBJJDP.js";import{useBrowserState as o}from"./chunk-D65T4H6J.js";import{useShellStrings as i}from"./chunk-GTRUBA2R.js";import{useState as s,useRef as c,useReducer as d,useMemo as h,Fragment as u,useEffect as m}from"react";import{jsxs as f,jsx as p}from"react/jsx-runtime";var b=(e,l,r)=>Math.min(Math.max(e,l),r);function x({sidebar:e,sidebarTop:l,sidebarBottom:n,children:u,side:m="left",storageKey:x,defaultWidth:N=256,minWidth:w=180,maxWidth:k=480,className:y="",sidebarClassName:j=("right"===m?"border-l border-gray-200 bg-gray-50":"border-r border-gray-200 bg-gray-50"),contentClassName:z="bg-white"}){const C="right"===m,D=i().sidebar,O=a(),P=function(){const[e,l]=s(!1),r=c(null),t=c(/* @__PURE__ */new Map),[,a]=d(e=>e+1,0),n=h(()=>({report(e,l,r){const n={label:l,el:r};return t.current.set(e,n),a(),()=>{t.current.get(e)===n&&(t.current.delete(e),a())}}}),[]);return{api:n,open:e,setOpen:l,current:()=>[...t.current.values()].sort((e,l)=>e.el&&l.el&&e.el.compareDocumentPosition(l.el)&Node.DOCUMENT_POSITION_PRECEDING?1:-1).map(e=>e.label()),trigger:r}}(),[R,W]=o(()=>(x?r(x,w,k):null)??b(N,w,k),b(N,w,k)),T=null!=l||null!=n,E=/* @__PURE__ */f("div",{className:"relative flex h-full shrink-0 flex-col",style:{width:R},children:[
|
|
2
|
+
/* @__PURE__ */f("div",{className:`flex h-full flex-col ${T?"overflow-hidden":"overflow-y-auto"} ${j}`,children:[null!=l&&/* @__PURE__ */p("div",{className:"flex shrink-0 flex-col gap-2 px-2 pt-3 pb-2",children:l}),T?/* @__PURE__ */p("div",{className:"min-h-0 flex-1 overflow-y-auto",children:e}):e,null!=n&&/* @__PURE__ */p("div",{className:"mt-auto flex shrink-0 flex-col gap-2 border-t border-gray-200 px-2 py-3",children:n})]}),
|
|
3
|
+
/* @__PURE__ */p(t,{side:m,width:R,onResize:W,min:w,max:k,defaultWidth:b(N,w,k),storageKey:x,hint:D.resize})]}),I=/* @__PURE__ */p("div",{className:`flex min-w-0 flex-1 flex-col ${z}`,children:u});/* @__PURE__ */
|
|
4
|
+
return f("div",O?{className:`relative flex h-full w-full flex-col overflow-hidden ${y}`,children:[
|
|
5
|
+
/* @__PURE__ */p(g,{phone:P,top:l,fallback:D.sections}),I,
|
|
6
|
+
/* @__PURE__ */p(v,{phone:P,bottom:n,label:D.sections,closeLabel:D.closeSections,children:e})]}:{className:`flex h-full w-full overflow-hidden ${y}`,children:[C?null:E,I,C?E:null]})}function g({phone:l,top:r,fallback:t}){const a=l.current();/* @__PURE__ */
|
|
7
7
|
return f("div",{"data-sidebar-section-bar":!0,className:"flex h-11 shrink-0 items-center gap-2 border-b border-gray-200 bg-white px-3",children:[
|
|
8
8
|
/* @__PURE__ */f("button",{ref:l.trigger,type:"button","aria-haspopup":"dialog","aria-expanded":l.open,onClick:()=>l.setOpen(!0),className:"flex h-8 min-w-0 flex-1 items-center gap-1 text-left text-sm font-semibold text-gray-900",children:[
|
|
9
9
|
/* @__PURE__ */p("span",{className:"min-w-0 truncate",children:0===a.length?t:a.map((e,l)=>/* @__PURE__ */f(u,{children:[l>0&&" · ",e]},l))}),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{GROUP_COLORS as e}from"./chunk-5SULG7D5.js";import{SpinnerRing as r}from"./chunk-Q5MD3VY6.js";import{Tooltip as n}from"./chunk-2LXTJXWC.js";import{useShellStrings as l}from"./chunk-
|
|
1
|
+
import{GROUP_COLORS as e}from"./chunk-5SULG7D5.js";import{SpinnerRing as r}from"./chunk-Q5MD3VY6.js";import{Tooltip as n}from"./chunk-2LXTJXWC.js";import{useShellStrings as l}from"./chunk-GTRUBA2R.js";import{jsx as t,jsxs as i,Fragment as a}from"react/jsx-runtime";var s="inline-flex items-center gap-1 whitespace-nowrap rounded-md border border-current/20 py-0.5 pl-2 pr-1 text-2xs font-medium";function o({label:e,glyph:r,onClick:l}){/* @__PURE__ */
|
|
2
2
|
return t(n,{content:e,describe:!1,children:/* @__PURE__ */t("button",{type:"button",onClick:l,"aria-label":e,className:"flex h-4 w-4 items-center justify-center rounded-full leading-none hover:bg-current/10 rosh-focus-ring focus-visible:ring-2",children:/* @__PURE__ */t("span",{"aria-hidden":"true",children:r})})})}function c({state:n,label:c,verb:u,subject:m,pct:p,onCancel:d,onRetry:h,onDismiss:f,className:b=""}){const g=l().transfer;if("idle"===n)return null==c?null:/* @__PURE__ */t("span",{className:`${s} ${e.neutral} pr-2 ${b}`.trim(),children:c});if("error"===n)/* @__PURE__ */
|
|
3
3
|
return i("span",{role:"status",className:`${s} ${e.danger} ${b}`.trim(),children:[
|
|
4
4
|
/* @__PURE__ */t("span",{children:g.error}),h&&/* @__PURE__ */t(o,{label:g.retry,glyph:"↻",onClick:h}),f&&/* @__PURE__ */t(o,{label:g.dismiss,glyph:"×",onClick:f})]});const y=u??g.uploading,$=null==p||Number.isNaN(p)?null:Math.max(0,Math.min(100,Math.round(p))),k="string"==typeof y?g.cancelVerb(y.toLowerCase()):g.cancel,N=e=>[e,m,null==$?"":`${$}%`].filter(Boolean).join(" ");/* @__PURE__ */
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import{ChartBrush as t}from"./chunk-4JCNWUVZ.js";import{ChartDot as e}from"./chunk-CK2YOGUS.js";import{stepPath as a,curvePath as r,areaBetween as l,areaFrom as n}from"./chunk-VFC6QUEN.js";import{ChartDefs as i,MOTION as o,stagger as s,fillFor as c,dashFor as h,maskId as m}from"./chunk-465RRWBY.js";import{ChartSkeleton as d}from"./chunk-NU55QIUV.js";import{useHighlight as u,highlightOpacity as f}from"./chunk-CNYAHYE6.js";import{ChartTooltip as p}from"./chunk-P5BOTIJU.js";import{tooltipBesideBand as g}from"./chunk-MG7A3R75.js";import{pairedAxes as k,niceAxis as y,niceMax as x,linearScale as v,axisGutter as b,bandScale as M,ladderScale as N}from"./chunk-2JWPNR2U.js";import{usePlotWidth as j}from"./chunk-MAFUXCPZ.js";import{resolveSeriesColor as $,CHART_INK as w,STATUS_VARS as V}from"./chunk-TZFACUMR.js";import{registerModalEscapeInterceptor as A}from"./chunk-TWVUQUUD.js";import{useShellStrings as R,useShellLocale as U}from"./chunk-GTRUBA2R.js";import{formatPercent as W,formatPlain as L}from"./chunk-C3QOHMR6.js";import{useRef as z,useState as C,useId as I,useEffect as S}from"react";import{jsx as D,jsxs as E}from"react/jsx-runtime";var B=12,T=16,F=26,O=52,P=t=>"number"==typeof t&&Number.isFinite(t);function Q({series:Q,labels:Y,height:G=200,stacked:J=!1,stackMode:Z="value",levels:H,curve:K="linear",tension:X=0,max:q,yTickCount:_=4,formatValue:tt,formatTooltipValue:et,tooltipLabels:at,yAxisLabel:rt,referenceLines:lt,labelEndpoints:nt=!1,dots:it,dotVariant:ot="border",pulse:st=!1,brush:ct=!1,range:ht,onRangeChange:mt,loading:dt=!1,animate:ut=!0,reveal:ft="left-to-right",fillVariant:pt="gradient",gridStyle:gt="solid",width:kt,className:yt,emptyLabel:xt}){const vt=R().charts,bt=U(),Mt=tt??(t=>L(t,bt)),Nt=et??Mt,jt=xt??vt.noData,$t=z(null),wt=j($t),Vt=kt??wt,[At,Rt]=C(null),[Ut,Wt]=C(null),{highlighted:Lt}=u(),zt=I();if(S(()=>{if(null!==At)return A(t=>"Escape"===t.key&&(Rt(null),!0))},[At]),dt)/* @__PURE__ */
|
|
2
|
+
return D("div",{className:yt,ref:$t,children:/* @__PURE__ */D(d,{height:G,width:kt??wt})});const Ct=Y,It=ht??Ut??[0,Math.max(0,Ct.length-1)],[St,Dt]=It,Et=t=>ct?t.slice(St,Dt+1):t,Bt=Q.map((t,e)=>({...t,slot:e})).filter(t=>t.data.some(P)).map(t=>({...t,data:Et(t.data)}));if(Y=Et(Ct),0===Bt.length||0===Y.length)/* @__PURE__ */
|
|
3
|
+
return D("div",{className:yt,ref:$t,children:/* @__PURE__ */D("p",{className:"flex items-center justify-center text-sm text-gray-500",style:{height:G},children:jt})});const Tt=Y.map((t,e)=>Bt.reduce((t,a)=>t+(P(a.data[e])?a.data[e]:0),0)),Ft=(t,e)=>Tt[e]>0?t/Tt[e]:null,Ot=[];if(J){let t=Y.map(()=>0);for(const e of Bt)t=t.map((t,a)=>t+(P(e.data[a])?e.data[a]:0)),Ot.push("percent"===Z?t.map((t,e)=>Ft(t,e)):[...t])}const Pt=!!H&&H.length>0,Qt=t=>"right"===t.axis,Yt=!J&&!Pt&&void 0===q&&Bt.some(Qt)&&Bt.some(t=>!Qt(t)),Gt=Yt?Bt.filter(t=>!Qt(t)):Bt,Jt=Yt?Bt.filter(Qt).flatMap(t=>t.data.filter(P)):[],Zt=J?(Ot.at(-1)??[]).filter(P):Gt.flatMap(t=>t.data.filter(P)),Ht=Yt?k([Math.min(0,...Zt),Math.max(0,...Zt)],[Math.min(0,...Jt),Math.max(0,...Jt)],{intervals:_+1,integerLeft:Zt.every(Number.isInteger),integerRight:Jt.every(Number.isInteger)}):null,Kt=Ht?Ht.left:J&&"percent"===Z||Pt||void 0!==q?null:y(J?0:Math.min(0,...Zt),Math.max(0,...Zt),{intervals:_+1,integer:Zt.every(Number.isInteger)}),Xt=Kt?Kt.lo:0,qt=J&&"percent"===Z?1:Kt?Kt.hi:q??x(Math.max(...Zt,0)),_t=J&&"percent"===Z?t=>W(Math.round(100*t),0,bt):Mt,te=Pt?H:Kt?Kt.ticks:v([Xt,qt],{from:0,to:1}).ticks(_+1),ee=b(te.map(_t),O),ae=Ht?b(Ht.right.ticks.map(Mt),T):T,re={left:ee,right:Math.max(ee+1,Vt-ae),top:B,bottom:G-F},le=M(Y.length,{from:re.left,to:re.right}),ne=Pt?N(H,{from:re.bottom,to:re.top}):null,ie=v([Xt,qt],{from:re.bottom,to:re.top}),oe=ie(Math.max(Xt,0)),se=t=>ne?ne(t):ie(t),ce=Ht?v([Ht.right.lo,Ht.right.hi],{from:re.bottom,to:re.top}):null,he=t=>ce&&Qt(t)?ce:se,me=ne?ne.levels.map(t=>({value:t,y:ne(t)})):te.map(t=>({value:t,y:ie(t)})),de=t=>e=>{e.preventDefault(),Rt(e=>{const a=(e??0)+t;return Math.min(Y.length-1,Math.max(0,a))})},ue=Math.max(1,Math.ceil(Y.length/Math.max(1,Math.floor(Vt/96))));/* @__PURE__ */
|
|
4
|
+
return E("div",{className:`relative ${yt??""}`,ref:$t,children:[
|
|
5
|
+
/* @__PURE__ */E("svg",{width:"100%",height:G,viewBox:`0 0 ${Vt} ${G}`,role:"img","aria-label":vt.overIntervals(Bt.map(t=>t.label),Y.length),tabIndex:0,className:"rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-deep)]",onMouseLeave:()=>Rt(null),onBlur:()=>Rt(null),onKeyDown:t=>{"ArrowRight"===t.key&&de(1)(t),"ArrowLeft"===t.key&&de(-1)(t)},children:[
|
|
6
|
+
/* @__PURE__ */D("defs",{children:/* @__PURE__ */D("clipPath",{id:zt,children:/* @__PURE__ */D("rect",{x:re.left,y:re.top,width:re.right-re.left,height:re.bottom-re.top})})}),
|
|
7
|
+
/* @__PURE__ */D(i,{id:zt,fills:Bt.map((t,e)=>({color:$(t.slot,t.color,t.tone),variant:t.fillVariant??pt})),fadeFrom:J?.42:.3,reveal:!!ut&&ft}),me.map(t=>/* @__PURE__ */D("line",{x1:re.left,y1:t.y,x2:re.right,y2:t.y,stroke:w.grid,strokeWidth:1,shapeRendering:"crispEdges",strokeDasharray:"dashed"===gt?"3 3":void 0},`grid-${t.value}`)),
|
|
8
|
+
/* @__PURE__ */D("line",{x1:re.left,y1:oe,x2:re.right,y2:oe,stroke:w.axis,strokeWidth:1,shapeRendering:"crispEdges"}),me.map(t=>/* @__PURE__ */D("text",{x:re.left-8,y:t.y+4,textAnchor:"end","data-axis-tick":"true",fontSize:11,fill:w.label,style:{fontVariantNumeric:"tabular-nums"},children:_t(t.value)},`ytick-${t.value}`)),Ht&&me.map((t,e)=>/* @__PURE__ */D("text",{x:re.right+8,y:t.y+4,textAnchor:"start","data-axis-tick":"true",fontSize:11,fill:w.label,style:{fontVariantNumeric:"tabular-nums"},children:Mt(Ht.right.ticks[e])},`ytick-r-${t.value}`)),rt&&/* @__PURE__ */D("text",{x:12,y:(re.top+re.bottom)/2,transform:`rotate(-90 12 ${(re.top+re.bottom)/2})`,textAnchor:"middle",fontSize:11,fill:w.label,children:rt}),
|
|
9
|
+
/* @__PURE__ */D("g",{clipPath:`url(#${zt})`,mask:ut&&ft?`url(#${m(zt)})`:void 0,children:Bt.map((t,e)=>{const i=$(t.slot,t.color,t.tone),m=t.mode??(J?"area":"line"),d=f(t.key,Lt);if("step"===m){const e=Y.map((e,a)=>({start:le(a),end:le.end(a),value:t.data[a]})).filter(t=>P(t.value)).map(e=>({start:e.start,end:e.end,y:he(t)(e.value)}));/* @__PURE__ */
|
|
10
|
+
return D("path",{d:a(e),fill:"none",stroke:i,strokeWidth:2.5,strokeLinecap:"butt",strokeLinejoin:"miter",opacity:d??void 0,className:"rosh-viz-mark"},t.key)}const u=Y.map((a,r)=>{const l=J?Ot[e]?.[r]:t.data[r];return P(l)?[le.center(r),he(t)(l)]:null}).filter(t=>null!==t);if(0===u.length)return null;if("column"===m){const a=Math.max(1,.62*le.bandwidth),r="solid"===t.fillVariant,l=he(t);/* @__PURE__ */
|
|
11
|
+
return D("g",{opacity:d??void 0,className:"rosh-viz-mark",children:Y.map((n,c)=>{const h=J?Ot[e]?.[c]:t.data[c];if(!P(h))return null;const m=l(h);/* @__PURE__ */
|
|
12
|
+
return D("rect",{x:le.center(c)-a/2,y:Math.min(m,oe),width:a,height:Math.abs(oe-m),rx:2,fill:i,fillOpacity:r?1:.35,className:ut?o.rise:void 0,style:ut?s(c,26):void 0},c)})},t.key)}const p=r(u,K,X),g=J&&e>0?Y.map((t,a)=>[le.center(a),se(Ot[e-1]?.[a]??0)-2]):null,k=g?l(p,g):n(p,u,oe);/* @__PURE__ */
|
|
13
|
+
return E("g",{opacity:d??void 0,className:"rosh-viz-mark",children:[("area"===m||J)&&
|
|
14
|
+
/* @__PURE__ */D("path",{d:k,fill:c(zt,e,t.fillVariant??pt,i),stroke:"none"}),
|
|
15
|
+
/* @__PURE__ */D("path",{d:p,fill:"none",stroke:i,strokeWidth:2,strokeLinejoin:"round",strokeLinecap:"round",strokeDasharray:h(t.stroke??(t.forecast?"animated-dashed":"solid")),className:ut&&("animated-dashed"===t.stroke||t.forecast&&!t.stroke)?o.march:void 0})]},t.key)})}),lt?.map((t,e)=>{const a=t.color??V[t.tone??"critical"],r=se(t.value);/* @__PURE__ */
|
|
16
|
+
return E("g",{children:[
|
|
17
|
+
/* @__PURE__ */D("line",{x1:re.left,y1:r,x2:re.right,y2:r,stroke:a,strokeWidth:1,strokeDasharray:"5 4"}),t.label&&/* @__PURE__ */D("text",{x:re.right-4,y:r-5,textAnchor:"end",fontSize:11,fontWeight:600,fill:a,children:t.label})]},`rule-${e}`)}),"none"!==(it??(nt?"last":"none"))&&Bt.map((t,a)=>{if("column"===t.mode)return null;const r=it??(nt?"last":"none"),l=$(t.slot,t.color,t.tone),n=[...t.data].map(P).lastIndexOf(!0),i="all"===r?Y.map((t,e)=>e).filter(e=>P(J?Ot[a]?.[e]:t.data[e])):n>=0?[n]:[];/* @__PURE__ */
|
|
18
|
+
return E("g",{children:[i.map(r=>{const i=J?Ot[a]?.[r]:t.data[r];return P(i)?/* @__PURE__ */D(e,{cx:le.center(r),cy:he(t)(i),color:l,variant:ot,pulse:st&&r===n,title:`${Y[r]}: ${t.label} ${Mt(i)}`},r):null}),nt&&n>=0&&P(J?Ot[a]?.[n]:t.data[n])&&/* @__PURE__ */D("text",{x:le.center(n)-10,y:he(t)(J?Ot[a]?.[n]:t.data[n])-9,textAnchor:"end",fontSize:12,fontWeight:600,fill:w.label,style:{fontVariantNumeric:"tabular-nums"},children:Mt(J?Ot[a]?.[n]:t.data[n])})]},`dots-${t.key}`)}),Y.map((t,e)=>e%ue===0?/* @__PURE__ */D("text",{x:le.center(e),y:G-8,textAnchor:"middle",fontSize:11,fill:w.label,style:{fontVariantNumeric:"tabular-nums"},children:t},`xtick-${e}`):null),null!==At&&/* @__PURE__ */D("line",{x1:le.center(At),y1:re.top,x2:le.center(At),y2:re.bottom,stroke:w.axis,strokeWidth:1}),Y.map((t,e)=>/* @__PURE__ */D("rect",{x:le(e),y:re.top,width:Math.max(1,le.bandwidth),height:re.bottom-re.top,fill:"transparent",onMouseEnter:()=>Rt(e)},`hit-${e}`))]}),ct&&Ct.length>2&&/* @__PURE__ */D(t,{className:"mt-1",labels:Ct,width:Vt,data:Q[0]?.data??[],range:It,onRangeChange:t=>{mt?mt(t):Wt(t)}}),null!==At&&
|
|
19
|
+
/* @__PURE__ */D("div",{className:"pointer-events-none absolute top-2 z-10",style:g(le.center(At),le.bandwidth,Vt),children:/* @__PURE__ */D(p,{title:at?.[At]??Y[At],rows:Bt.map((t,e)=>({key:t.key,label:t.label,color:$(t.slot,t.color,t.tone),value:P(t.data[At])?J&&"percent"===Z?`${W(100*(Ft(t.data[At],At)??0),1,bt)} · ${Nt(t.data[At])}`:Nt(t.data[At]):void 0})),footnote:J&&"percent"===Z?vt.inBucket(Nt(Tt[At])):void 0})})]})}export{Q as TimeSeriesChart};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{SidebarLayout as e}from"./chunk-
|
|
1
|
+
import{SidebarLayout as e}from"./chunk-YFY2LSWZ.js";import{Avatar as r}from"./chunk-5WYCXSUM.js";import{Button_default as t}from"./chunk-UDD7GB4F.js";import{useState as a}from"react";import{jsx as i,jsxs as l}from"react/jsx-runtime";var s=[{id:"inbox",label:"Inbox",count:12},{id:"starred",label:"Starred",count:3},{id:"sent",label:"Sent"},{id:"drafts",label:"Drafts",count:1},{id:"archive",label:"Archive"},{id:"trash",label:"Trash"}],n=[{id:1,from:"Marco Reyes",subject:"Q3 roadmap review",preview:"Sharing the deck ahead of Thursday — let me know what you think before the review.",time:"9:14",unread:!0},{id:2,from:"Priya Patel",subject:"Design handoff",preview:"The Figma file is ready for engineering. I exported every icon at 1x and 2x.",time:"8:02",unread:!0},{id:3,from:"GitHub",subject:"[acme/web] PR #482 merged",preview:"Your pull request was merged into main by the release bot after all checks passed.",time:"Yest"},{id:4,from:"Sara Lind",subject:"Lunch Friday?",preview:"A few of us are heading to the new place on 5th at noon if you want to join.",time:"Yest"}];function d(){const[d,c]=a(1),o=n.find(e=>e.id===d)??n[0];/* @__PURE__ */
|
|
2
2
|
return i("div",{className:"h-full",children:/* @__PURE__ */i(e,{side:"left",defaultWidth:200,sidebar:/* @__PURE__ */l("div",{className:"flex h-full flex-col p-2",children:[
|
|
3
3
|
/* @__PURE__ */i(t,{block:!0,className:"mb-2",children:"Compose"}),s.map((e,r)=>/* @__PURE__ */l("button",{className:"flex items-center justify-between rounded-md px-3 py-2 text-left text-sm "+(0===r?"bg-blue-50 font-medium text-blue-700":"text-gray-700 hover:bg-gray-100"),children:[
|
|
4
4
|
/* @__PURE__ */i("span",{children:e.label}),null!=e.count&&/* @__PURE__ */i("span",{className:"text-xs text-gray-400",children:e.count})]},e.id))]}),children:/* @__PURE__ */l("div",{className:"flex h-full",children:[
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{FormField as e}from"./chunk-MVQBVPWP.js";import{zoneFocusClass as r,mediaPromptLine as t,UploadGlyph as a,dropzoneClass as o,BusyOverlay as n,isVideoUrl as l,mediaFileName as i,FilenameBadge as s}from"./chunk-
|
|
1
|
+
import{FormField as e}from"./chunk-MVQBVPWP.js";import{zoneFocusClass as r,mediaPromptLine as t,UploadGlyph as a,dropzoneClass as o,BusyOverlay as n,isVideoUrl as l,mediaFileName as i,FilenameBadge as s}from"./chunk-APMBWBD7.js";import{useFileIntake as d,FileIntakeAlert as c}from"./chunk-MPN267PR.js";import{Icon as u}from"./chunk-42BBJJDP.js";import{useShellStrings as p}from"./chunk-GTRUBA2R.js";import{useId as m,useState as g,useRef as f}from"react";import{jsxs as h,jsx as b}from"react/jsx-runtime";var v=/* @__PURE__ */b(u,{name:"close",strokeWidth:2,strokeLinecap:"round","aria-hidden":"true",className:"h-3 w-3"});function y({items:u,onPick:y,onFiles:x,onRemove:D,onReorder:k,dragType:w,dropType:N,onDropData:j,label:P,hint:A,error:T,required:B,className:L,accept:F="image/*",maxSizeBytes:R,maxFiles:S,fit:$="cover",thumbSize:z=96,placeholder:C,cta:M,acceptHint:O,showCover:E=!1,coverLabel:H,busy:I=!1,busyLabel:W,progress:q,disabled:J=!1,readOnly:U=!1}){const V=p().media,G=M??V.cta,K=H??V.cover,Q=W??V.uploading,X=m(),[Y,Z]=g(null),_=J||I,ee=!(!y&&!x||_||U),re=!!D&&!_&&!U,te=!!k&&!_&&!U,ae=!!w&&!J&&!te,oe=!(!N||!j||_||U),ne=r(_),le=C??t(F,V),ie=d({accept:F,maxSizeBytes:R,maxFiles:S,acceptHint:O,multiple:!0,disabled:!ee,currentCount:u.length,onAccept:e=>{if(x)x(e);else for(const r of e)y(r)}}),[se,de]=g(!1),ce=f(0),ue=e=>oe&&Array.from(e.dataTransfer?.types??[]).includes(N),pe=ie.zoneProps,me={onDragEnter:e=>{if(!ue(e))return pe.onDragEnter?.(e);e.preventDefault(),ce.current+=1,de(!0)},onDragOver:e=>{if(!ue(e))return pe.onDragOver?.(e);e.preventDefault(),e.dataTransfer.dropEffect="link",se||de(!0)},onDragLeave:e=>{if(!ue(e))return pe.onDragLeave?.(e);ce.current=Math.max(0,ce.current-1),0===ce.current&&de(!1)},onDrop:e=>{if(!ue(e))return pe.onDrop?.(e);e.preventDefault(),ce.current=0,de(!1);const r=e.dataTransfer.getData(N);r&&j(r)}},ge=ie.dragOver||se,fe=()=>{ee&&(y?y():ie.open())},he={width:z,height:z},be=ee&&/* @__PURE__ */h("button",{type:"button",onClick:()=>fe(),"aria-label":V.addMedia,className:`flex shrink-0 flex-col items-center justify-center gap-1 rounded-md border-2 border-dashed border-gray-300 bg-gray-50 text-gray-400 transition-colors hover:bg-gray-100 hover:text-gray-500 ${ne}`,style:he,children:[
|
|
2
2
|
/* @__PURE__ */b(a,{className:"h-5 w-5"}),
|
|
3
|
-
/* @__PURE__ */b("span",{className:"text-xs font-medium text-gray-500",children:
|
|
3
|
+
/* @__PURE__ */b("span",{className:"text-xs font-medium text-gray-500",children:V.add})]}),ve=ee?/* @__PURE__ */h("button",{type:"button",onClick:()=>fe(),"aria-label":"string"==typeof le?le:V.upload,className:o(ge,!1,ne),style:{minHeight:z+32},children:[
|
|
4
4
|
/* @__PURE__ */b("span",{className:"text-gray-400",children:/* @__PURE__ */b(a,{})}),
|
|
5
5
|
/* @__PURE__ */b("span",{className:"px-3 text-xs text-gray-500",children:le}),
|
|
6
|
-
/* @__PURE__ */b("span",{className:"text-sm font-medium text-blue-600",children:
|
|
7
|
-
return h(e,{label:
|
|
8
|
-
/* @__PURE__ */h("div",{id:X,role:"group","aria-labelledby":
|
|
9
|
-
return h("div",{draggable:te||ae&&!!e.dragData||void 0,onDragStart:te?e=>{e.dataTransfer.effectAllowed="move",e.dataTransfer.setData("text/plain",String(r)),Z(r)}:ae&&e.dragData?r=>{r.dataTransfer.effectAllowed="link",r.dataTransfer.setData(
|
|
6
|
+
/* @__PURE__ */b("span",{className:"text-sm font-medium text-blue-600",children:G}),O&&/* @__PURE__ */b("span",{className:"text-xs text-gray-400",children:O})]}):/* @__PURE__ */b("div",{className:"flex w-full items-center justify-center rounded-lg border border-gray-200 bg-gray-50 px-3 text-xs text-gray-400",style:{minHeight:z+32},children:/* @__PURE__ */b("span",{className:I?"invisible":void 0,children:V.empty})});/* @__PURE__ */
|
|
7
|
+
return h(e,{label:P,labelId:P?`${X}-label`:void 0,htmlFor:X,hint:A,error:T,required:B,className:L,children:[
|
|
8
|
+
/* @__PURE__ */h("div",{id:X,role:"group","aria-labelledby":P?`${X}-label`:void 0,"aria-describedby":T?`${X}-error`:A?`${X}-hint`:void 0,"aria-busy":I||void 0,...ie.zoneProps,...oe?me:{},className:"relative rounded-lg transition-colors",style:{..._?{opacity:.6}:{},...ge?{boxShadow:"0 0 0 2px var(--rosh-drop-ring)"}:{}},children:[0===u.length?ve:/* @__PURE__ */h("div",{className:"flex flex-wrap gap-2",children:[u.map((e,r)=>{const t=e.kind?"video"===e.kind:l(e.url,F),a=i(e.url),o=E&&(e.cover??0===r);/* @__PURE__ */
|
|
9
|
+
return h("div",{draggable:te||ae&&!!e.dragData||void 0,onDragStart:te?e=>{e.dataTransfer.effectAllowed="move",e.dataTransfer.setData("text/plain",String(r)),Z(r)}:ae&&e.dragData?r=>{r.dataTransfer.effectAllowed="link",r.dataTransfer.setData(w,e.dragData)}:void 0,onDragEnd:te?()=>Z(null):void 0,onDragOver:te?e=>{null!=Y&&(e.preventDefault(),e.stopPropagation())}:void 0,onDrop:te?e=>{null!=Y&&(e.preventDefault(),e.stopPropagation(),Y!==r&&k(Y,r),Z(null))}:void 0,tabIndex:te?0:void 0,"aria-label":te?V.reorder(a,r+1,u.length):void 0,onKeyDown:te?e=>{"ArrowLeft"===e.key||"ArrowUp"===e.key?r>0&&(e.preventDefault(),k(r,r-1)):"ArrowRight"!==e.key&&"ArrowDown"!==e.key||r<u.length-1&&(e.preventDefault(),k(r,r+1))}:void 0,className:["relative shrink-0 overflow-hidden rounded-md border border-gray-200 bg-gray-100",ne,Y===r?"opacity-50":""].join(" "),style:{...he,cursor:te?"move":void 0},children:[t?/* @__PURE__ */b("video",{src:e.url,muted:!0,playsInline:!0,preload:"metadata","aria-label":a,className:"h-full w-full",style:{objectFit:$}}):/* @__PURE__ */b("img",{src:e.url,alt:a,className:"h-full w-full",style:{objectFit:$}}),o&&/* @__PURE__ */b("span",{className:"absolute left-1 top-1 rounded bg-blue-600 px-2 py-0.5 text-xs font-medium text-white",children:K}),!o&&null!=e.mark&&/* @__PURE__ */b("span",{className:"absolute left-1 top-1 inline-flex items-center gap-1 rounded px-2 py-0.5 text-xs font-medium text-white",style:{background:"var(--rosh-media-scrim)"},children:e.mark}),null!=e.caption&&/* @__PURE__ */b(s,{children:e.caption}),re&&/* @__PURE__ */b("button",{type:"button",onClick:()=>D(e.id),"aria-label":e.removeLabel??V.removeItem(a),className:`absolute right-1 top-1 flex h-5 w-5 items-center justify-center rounded-full text-white ${ne}`,style:{background:"var(--rosh-media-scrim-button)"},children:v})]},e.id)}),be]}),I&&/* @__PURE__ */b(n,{label:Q,progress:q})]}),!y&&x&&/* @__PURE__ */b("input",{...ie.inputProps}),
|
|
10
10
|
/* @__PURE__ */b(c,{rejections:ie.rejections})]})}export{y as MediaUploadGrid};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{tooltipBesideBand as t}from"./chunk-MG7A3R75.js";import{niceAxis as e,niceMax as i,linearScale as r,axisGutter as n,bandScale as l}from"./chunk-2JWPNR2U.js";import{usePlotWidth as o}from"./chunk-MAFUXCPZ.js";import{CHART_INK as a}from"./chunk-TZFACUMR.js";import{registerModalEscapeInterceptor as h}from"./chunk-TWVUQUUD.js";import{useShellStrings as s,useShellLocale as c}from"./chunk-
|
|
2
|
-
return g("div",{className:
|
|
3
|
-
return p("div",{className:`relative ${
|
|
4
|
-
/* @__PURE__ */p("svg",{width:"100%",height:b,viewBox:`0 0 ${B} ${b}`,role:"img","aria-label":
|
|
1
|
+
import{tooltipBesideBand as t}from"./chunk-MG7A3R75.js";import{niceAxis as e,niceMax as i,linearScale as r,axisGutter as n,bandScale as l}from"./chunk-2JWPNR2U.js";import{usePlotWidth as o}from"./chunk-MAFUXCPZ.js";import{CHART_INK as a}from"./chunk-TZFACUMR.js";import{registerModalEscapeInterceptor as h}from"./chunk-TWVUQUUD.js";import{useShellStrings as s,useShellLocale as c}from"./chunk-GTRUBA2R.js";import{formatPlain as m}from"./chunk-C3QOHMR6.js";import{useRef as d,useState as u,useId as f,useEffect as x}from"react";import{jsx as g,jsxs as p}from"react/jsx-runtime";function y({labels:y,values:v,height:b=220,width:k,bandPadding:M=.24,min:w,max:A,yTickCount:N=4,formatValue:R,yAxisLabel:$,xTickAnchor:j="center",children:U,overlay:E,tooltip:z,onSelect:C,ariaLabel:D,className:L,emptyLabel:P}){const T=s().charts,F=c(),I=R??(t=>m(t,F)),S=P??T.noData,V=d(null),W=o(V),B=k??W,[G,Q]=u(null),Z=f();if(x(()=>{if(null!==G)return h(t=>"Escape"===t.key&&(Q(null),!0))},[G]),0===y.length||!v.some(Number.isFinite))/* @__PURE__ */
|
|
2
|
+
return g("div",{className:L,ref:V,children:/* @__PURE__ */g("p",{className:"flex items-center justify-center text-sm text-gray-500",style:{height:b},children:S})});const H=v.filter(Number.isFinite),J=H.every(Number.isInteger),K=void 0===w&&void 0===A?e(Math.min(0,...H),Math.max(0,...H),{intervals:N+1,integer:J}):null,O=void 0!==w&&void 0===A?e(w,Math.max(w,...H),{intervals:N+1,integer:J,zero:!1}):null,X=K?K.lo:w??Math.min(0,...H),q=K?K.hi:O?O.hi:A??i(Math.max(...H,0)),Y=K?K.ticks:O?[X,...O.ticks.filter(t=>t>X)]:r([X,q],{from:0,to:1}).ticks(N+1),_={top:12,right:16,bottom:26,left:n(Y.map(I),48)+($?10:0)},tt=_.left,et=Math.max(tt+1,B-_.right),it=_.top,rt=b-_.bottom,nt=r([X,q],{from:rt,to:it}),lt=l(y.length,{from:tt,to:et},M),ot=(et-tt)/Math.max(1,y.length),at=ot>=48,ht=at?1:Math.max(1,Math.ceil(y.length/Math.max(1,Math.floor(B/84)))),st=Math.max(2,Math.floor((ot-6)/6.6)),ct=t=>at&&t.length>st?`${t.slice(0,st-1).trimEnd()}…`:t;/* @__PURE__ */
|
|
3
|
+
return p("div",{className:`relative ${L??""}`,ref:V,children:[
|
|
4
|
+
/* @__PURE__ */p("svg",{width:"100%",height:b,viewBox:`0 0 ${B} ${b}`,role:"img","aria-label":D,tabIndex:0,className:"rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-deep)]",onMouseLeave:()=>Q(null),onBlur:()=>Q(null),onKeyDown:t=>{if(C&&null!==G&&("Enter"===t.key||" "===t.key))return t.preventDefault(),void C(G);if("ArrowRight"!==t.key&&"ArrowLeft"!==t.key)return;t.preventDefault();const e="ArrowRight"===t.key?1:-1;Q(t=>Math.min(y.length-1,Math.max(0,(t??0)+e)))},children:[
|
|
5
5
|
/* @__PURE__ */g("defs",{children:/* @__PURE__ */g("clipPath",{id:Z,children:/* @__PURE__ */g("rect",{x:tt,y:it,width:et-tt,height:rt-it})})}),Y.map(t=>/* @__PURE__ */g("line",{x1:tt,y1:nt(t),x2:et,y2:nt(t),stroke:a.grid,strokeWidth:1,shapeRendering:"crispEdges"},`g${t}`)),
|
|
6
|
-
/* @__PURE__ */g("line",{x1:tt,y1:nt(Math.max(X,0)),x2:et,y2:nt(Math.max(X,0)),stroke:a.axis,strokeWidth:1,shapeRendering:"crispEdges"}),Y.map(t=>/* @__PURE__ */g("text",{x:tt-8,y:nt(t)+4,textAnchor:"end",fontSize:11,fill:a.label,style:{fontVariantNumeric:"tabular-nums"},children:
|
|
7
|
-
/* @__PURE__ */g("g",{clipPath:`url(#${Z})`,children:
|
|
8
|
-
/* @__PURE__ */g("div",{className:"pointer-events-none absolute top-2 z-10",style:t(lt.center(
|
|
6
|
+
/* @__PURE__ */g("line",{x1:tt,y1:nt(Math.max(X,0)),x2:et,y2:nt(Math.max(X,0)),stroke:a.axis,strokeWidth:1,shapeRendering:"crispEdges"}),Y.map(t=>/* @__PURE__ */g("text",{x:tt-8,y:nt(t)+4,textAnchor:"end",fontSize:11,fill:a.label,style:{fontVariantNumeric:"tabular-nums"},children:I(t)},`t${t}`)),$&&/* @__PURE__ */g("text",{x:14,y:(it+rt)/2,transform:`rotate(-90 14 ${(it+rt)/2})`,textAnchor:"middle",fontSize:11,fill:a.label,children:$}),
|
|
7
|
+
/* @__PURE__ */g("g",{clipPath:`url(#${Z})`,children:U({x:lt,y:nt,left:tt,right:et,top:it,bottom:rt,width:B,height:b,clipId:Z,active:G})}),E?.({x:lt,y:nt,left:tt,right:et,top:it,bottom:rt,width:B,height:b,clipId:Z,active:G}),y.map((t,e)=>e%ht===0?/* @__PURE__ */g("text",{x:"start"===j?lt(e):lt.center(e),y:b-8,textAnchor:"middle",fontSize:11,fill:a.label,style:{fontVariantNumeric:"tabular-nums"},children:ct(t)},`x${e}`):null),y.map((t,e)=>/* @__PURE__ */g("rect",{x:lt.center(e)-(et-tt)/y.length/2,y:it,width:(et-tt)/y.length,height:rt-it,fill:"transparent",onMouseEnter:()=>Q(e),onClick:C?()=>C(e):void 0,style:C?{cursor:"pointer"}:void 0},`h${e}`))]}),z&&null!==G&&
|
|
8
|
+
/* @__PURE__ */g("div",{className:"pointer-events-none absolute top-2 z-10",style:t(lt.center(G),lt.bandwidth,B),children:z(G)})]})}export{y as CartesianPlot};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{useWindowMenuItem as e,Modal as t}from"./chunk-
|
|
2
|
-
return p(t,{open:!0,onClose:()=>
|
|
1
|
+
import{useWindowMenuItem as e,Modal as t}from"./chunk-R6WJ2NTT.js";import{navIcons as r}from"./chunk-TPDOOCFS.js";import{VERSION as s}from"./chunk-EUFALBK3.js";import{Icon as o}from"./chunk-42BBJJDP.js";import{DEFAULT_SHELL_STRINGS as n,useShellStrings as i,splitAround as a}from"./chunk-GTRUBA2R.js";import{useState as m,useCallback as c,isValidElement as l,cloneElement as d}from"react";import{jsx as p,jsxs as h}from"react/jsx-runtime";var u=n.aboutApp,f={spreadsheet:{name:"Spreadsheets",version:"1.1.3",route:"/spreadsheet",description:u.spreadsheet},notepad:{name:"Notepad",version:"1.0.2",route:"/notepad",description:u.notepad},documents:{name:"Documents",version:"1.1.1",route:"/documents",description:u.documents},preview:{name:"Preview",version:"1.4.3",route:"/preview",description:u.preview},files:{name:"Files",version:"1.1.3",route:"/files",description:u.files},browser:{name:"Browser",version:"1.0.2",route:"/browser",description:u.browser}},x=/* @__PURE__ */p(o,{name:"info",className:"h-4 w-4",strokeWidth:1.5}),v=/* @__PURE__ */p(o,{name:"window",className:"h-9 w-9",strokeWidth:1.5});function w({app:o}){const n=f[o],[u,w]=m(!1),N=c(()=>w(!0),[]),g=i().aboutApp,b=g.title(n.name);if(e(b,N,x),!u)return null;const y=r[n.route],k=l(y)?d(y,{className:"h-9 w-9"}):v,[j,B]=a(g.partOf);/* @__PURE__ */
|
|
2
|
+
return p(t,{open:!0,onClose:()=>w(!1),title:b,size:"sm",compact:!0,bodyScroll:!1,autoHeight:!0,dimensions:[320,320],children:/* @__PURE__ */h("div",{className:"flex flex-col items-center text-center px-5 pt-5 pb-4",children:[
|
|
3
3
|
/* @__PURE__ */p("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-gray-100 text-gray-600 shrink-0",children:k}),
|
|
4
4
|
/* @__PURE__ */p("h2",{className:"mt-3 text-lg font-bold text-gray-900",children:n.name}),
|
|
5
5
|
/* @__PURE__ */p("p",{className:"text-2xs font-mono text-gray-400",children:g.version(n.version)}),
|
|
6
6
|
/* @__PURE__ */p("p",{className:"mt-2 text-xs text-gray-500 leading-relaxed",children:g[o]}),
|
|
7
7
|
/* @__PURE__ */h("div",{className:"mt-4 pt-3 border-t border-gray-200 w-full",children:[
|
|
8
8
|
/* @__PURE__ */h("p",{className:"text-2xs text-gray-500",children:[j,
|
|
9
|
-
/* @__PURE__ */p("span",{className:"font-medium text-gray-700",children:"efficient-shell"}),
|
|
9
|
+
/* @__PURE__ */p("span",{className:"font-medium text-gray-700",children:"efficient-shell"}),B]}),s&&/* @__PURE__ */p("p",{className:"mt-0.5 text-2xs font-mono text-gray-400",children:g.shellVersion(s)})]})]})})}export{w as AboutApp,f as BUILTIN_APP_INFO};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{TICK_INK as e}from"./chunk-URBCGEXG.js";import{useShellStrings as n}from"./chunk-
|
|
1
|
+
import{TICK_INK as e}from"./chunk-URBCGEXG.js";import{useShellStrings as n}from"./chunk-GTRUBA2R.js";import{jsxs as r,jsx as i}from"react/jsx-runtime";function a({ink:e}){/* @__PURE__ */
|
|
2
2
|
return i("span",{"aria-hidden":"true",className:`h-3 w-0.5 shrink-0 rounded-[1px] ${e}`})}function t({link:t,className:l=""}){const c=n().meter;/* @__PURE__ */
|
|
3
3
|
return r("div",{className:`flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-gray-500 ${l}`.trim(),children:[
|
|
4
4
|
/* @__PURE__ */r("span",{className:"inline-flex items-center gap-1",children:[
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{FormField as e}from"./chunk-MVQBVPWP.js";import{dropzoneClass as t,zoneFocusClass as a,CloseGlyph as r}from"./chunk-
|
|
2
|
-
return o(e,{label:g,htmlFor:
|
|
3
|
-
/* @__PURE__ */o("button",{ref:
|
|
1
|
+
import{FormField as e}from"./chunk-MVQBVPWP.js";import{dropzoneClass as t,zoneFocusClass as a,CloseGlyph as r}from"./chunk-APMBWBD7.js";import{useFileIntake as n,humanSize as i,FileIntakeAlert as s}from"./chunk-MPN267PR.js";import{useShellStrings as l}from"./chunk-GTRUBA2R.js";import{forwardRef as c,useId as m}from"react";import{jsxs as o,jsx as d}from"react/jsx-runtime";var p=c(function({files:c,onChange:p,accept:u,acceptHint:h,multiple:x=!0,maxSizeBytes:b,maxFiles:f,disabled:y=!1,label:g,hint:N,error:j,required:k,className:v=""},P){const B=m(),M=l().files,$=n({accept:u,acceptHint:h,maxSizeBytes:b,maxFiles:f,multiple:x,disabled:y,currentCount:c.length,onAccept:e=>p(x?[...c,...e]:e.slice(0,1))}),z=j?`${B}-error`:N?`${B}-hint`:void 0;/* @__PURE__ */
|
|
2
|
+
return o(e,{label:g,htmlFor:B,hint:N,error:j,required:k,className:v,children:[
|
|
3
|
+
/* @__PURE__ */o("button",{ref:P,type:"button",id:B,disabled:y,onClick:$.open,"aria-invalid":!!j||void 0,"aria-required":k||void 0,"aria-describedby":z,...$.zoneProps,className:t($.dragOver,y,a(y),"px-4 py-6"),children:[
|
|
4
4
|
/* @__PURE__ */o("span",{children:[
|
|
5
|
-
/* @__PURE__ */d("span",{className:"text-sm font-medium text-blue-600",children:x?
|
|
6
|
-
/* @__PURE__ */d("span",{className:"text-sm text-gray-500",children:` ${x?
|
|
5
|
+
/* @__PURE__ */d("span",{className:"text-sm font-medium text-blue-600",children:x?M.chooseMany:M.chooseOne}),
|
|
6
|
+
/* @__PURE__ */d("span",{className:"text-sm text-gray-500",children:` ${x?M.dragMany:M.dragOne}`})]}),h&&/* @__PURE__ */d("span",{className:"text-xs text-gray-400",children:h})]}),
|
|
7
7
|
/* @__PURE__ */d("input",{...$.inputProps}),c.length>0&&/* @__PURE__ */d("ul",{className:"mt-2 flex flex-col gap-1",children:c.map((e,t)=>/* @__PURE__ */o("li",{className:"flex items-center justify-between gap-3 rounded-md bg-gray-50 px-3 py-2",children:[
|
|
8
8
|
/* @__PURE__ */d("span",{className:"min-w-0 flex-1 truncate text-sm text-gray-800",title:e.name,children:e.name}),
|
|
9
|
-
/* @__PURE__ */d("span",{className:"shrink-0 text-xs tabular-nums text-gray-500",children:i(e.size,
|
|
10
|
-
/* @__PURE__ */d("button",{type:"button",disabled:y,onClick:()=>{$.clearRejections(),p(c.filter((e,a)=>a!==t))},"aria-label":
|
|
9
|
+
/* @__PURE__ */d("span",{className:"shrink-0 text-xs tabular-nums text-gray-500",children:i(e.size,M)}),
|
|
10
|
+
/* @__PURE__ */d("button",{type:"button",disabled:y,onClick:()=>{$.clearRejections(),p(c.filter((e,a)=>a!==t))},"aria-label":M.remove(e.name),className:"shrink-0 text-gray-400 hover:text-gray-600",children:/* @__PURE__ */d(r,{})})]},`${e.name}-${t}`))}),
|
|
11
11
|
/* @__PURE__ */d(s,{rejections:$.rejections})]})});export{p as FilePicker_default};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{ChartTooltip as e}from"./chunk-P5BOTIJU.js";import{usePlotWidth as t}from"./chunk-MAFUXCPZ.js";import{resolveSeriesColor as l,CHART_INK as r}from"./chunk-TZFACUMR.js";import{registerModalEscapeInterceptor as n}from"./chunk-TWVUQUUD.js";import{useShellStrings as i,useShellLocale as a}from"./chunk-GTRUBA2R.js";import{formatPlain as o}from"./chunk-C3QOHMR6.js";import{useRef as h,useId as c,useState as s,useEffect as m}from"react";import{jsx as f,jsxs as u}from"react/jsx-runtime";function x({rows:x,columns:d,cells:p,height:M,width:g,color:y,max:v,formatValue:$,label:b,className:k,emptyLabel:w,cellGap:A=2,cellRadius:N=2}){const U=i().charts,j=a(),R=$??(e=>o(e,j)),z=b??U.intensity,C=w??U.noActivity,B=h(null),D=t(B),F=g??D,S=c(),[T,G]=s(null);if(m(()=>{if(null!==T)return n(e=>"Escape"===e.key&&(G(null),!0))},[T]),0===x.length||0===d.length)/* @__PURE__ */
|
|
2
|
+
return f("div",{className:k,ref:B,children:/* @__PURE__ */f("p",{className:"py-8 text-center text-sm text-gray-500",children:C})});const L=y??l(0),V=v??Math.max(1,...p.flat().filter(Number.isFinite)),E=96,I=26*x.length,O=M??I+26+26,P=Math.max(2,(Math.max(97,F)-E)/d.length),Q=e=>{const t=V>0?Math.max(0,Math.min(1,e/V)):0;return`color-mix(in oklab, ${L} ${(8+92*t).toFixed(1)}%, ${r.surface})`};/* @__PURE__ */
|
|
3
|
+
return u("div",{className:`relative ${k??""}`,ref:B,children:[
|
|
4
|
+
/* @__PURE__ */u("svg",{width:"100%",height:O,viewBox:`0 0 ${F} ${O}`,role:"img","aria-label":U.heatmap(z,x.length,d.length),tabIndex:0,className:"rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-deep)]",onMouseLeave:()=>G(null),onBlur:()=>G(null),onKeyDown:e=>{const t="ArrowDown"===e.key?1:"ArrowUp"===e.key?-1:0,l="ArrowRight"===e.key?1:"ArrowLeft"===e.key?-1:0;0===t&&0===l||(e.preventDefault(),G(e=>({r:Math.min(x.length-1,Math.max(0,(e?.r??0)+t)),c:Math.min(d.length-1,Math.max(0,(e?.c??0)+l))})))},children:[
|
|
5
|
+
/* @__PURE__ */f("defs",{children:/* @__PURE__ */u("linearGradient",{id:S,x1:"0",x2:"1",children:[
|
|
6
|
+
/* @__PURE__ */f("stop",{offset:"0",stopColor:Q(0)}),
|
|
7
|
+
/* @__PURE__ */f("stop",{offset:"1",stopColor:Q(V)})]})}),x.map((e,t)=>/* @__PURE__ */f("text",{x:86,y:26*t+13+4,textAnchor:"end",fontSize:11,fill:r.label,children:e},`r${t}`)),x.map((e,t)=>d.map((l,r)=>{const n=p[t]?.[r]??0,i=T&&(T.r!==t||T.c!==r);/* @__PURE__ */
|
|
8
|
+
return f("rect",{x:E+r*P+A/2,y:26*t+A/2,width:Math.max(1,P-A),height:26-A,rx:N,fill:Q(n),opacity:i?.55:1,onMouseEnter:()=>G({r:t,c:r}),children:/* @__PURE__ */f("title",{children:`${e} · ${l}: ${R(n)}`})},`${t}-${r}`)})),d.map((e,t)=>t%Math.max(1,Math.ceil(d.length/Math.max(1,Math.floor((F-E)/56))))===0?/* @__PURE__ */f("text",{x:E+t*P+P/2,y:I+15,textAnchor:"middle",fontSize:11,fill:r.label,children:e},`c${t}`):null),
|
|
9
|
+
/* @__PURE__ */f("rect",{x:E,y:I+26,width:Math.min(180,Math.max(40,F-E)),height:8,rx:4,fill:`url(#${S})`}),
|
|
10
|
+
/* @__PURE__ */f("text",{x:E,y:I+48,fontSize:11,fill:r.label,children:"0"}),
|
|
11
|
+
/* @__PURE__ */f("text",{x:E+Math.min(180,Math.max(40,F-E)),y:I+48,textAnchor:"end",fontSize:11,fill:r.label,style:{fontVariantNumeric:"tabular-nums"},children:R(V)})]}),T&&/* @__PURE__ */f("div",{className:"pointer-events-none absolute top-1 right-1 z-10",children:/* @__PURE__ */f(e,{title:`${x[T.r]} · ${d[T.c]}`,rows:[{key:"v",label:z,color:L,value:null==p[T.r]?.[T.c]?void 0:R(p[T.r][T.c])}]})})]})}export{x as HeatmapChart};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Modal as e}from"./chunk-
|
|
1
|
+
import{Modal as e}from"./chunk-R6WJ2NTT.js";import{keepsNativeMenu as a}from"./chunk-5QFPTDQF.js";import{jsx as i,jsxs as n}from"react/jsx-runtime";var t={activeOpacity:70,inactiveOpacity:50,activeBlur:0,inactiveBlur:0};function r(e){try{const a=JSON.parse(localStorage.getItem(e)||"");return null!=a.blur&&null==a.activeBlur&&(a.activeBlur=a.blur,a.inactiveBlur=a.blur,delete a.blur),{...t,...a}}catch{return t}}function l({open:t,onClose:r,title:l,appearance:c,onAppearanceChange:s,onSave:d,children:o}){if(!t)return null;const u="w-full h-1.5 rounded-full appearance-none bg-gray-200 cursor-pointer accent-blue-500",p="flex items-center justify-between text-xs text-gray-500";/* @__PURE__ */
|
|
2
2
|
return i("div",{onPointerDown:e=>e.stopPropagation(),onContextMenu:e=>{e.stopPropagation(),a(e.target)||e.preventDefault()},children:/* @__PURE__ */i(e,{open:t,onClose:r,title:l,size:"sm",children:/* @__PURE__ */n("div",{className:"space-y-4",children:[o,
|
|
3
3
|
/* @__PURE__ */n("div",{children:[
|
|
4
4
|
/* @__PURE__ */i("h3",{className:"text-sm font-semibold text-gray-700 mb-3",children:"Appearance"}),
|
package/dist/data/DataTable.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{DataTable as default}from"../chunk-
|
|
2
|
+
export{DataTable as default}from"../chunk-56CQPUIJ.js";import"../chunk-CGZBDI6C.js";import"../chunk-DGTP6BGV.js";import"../chunk-7T3COEQK.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-2LXTJXWC.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-GTRUBA2R.js";import"../chunk-C3QOHMR6.js";
|
package/dist/data/Kanban.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{Kanban as default}from"../chunk-
|
|
2
|
+
export{Kanban as default}from"../chunk-WDIFRAQM.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-D65T4H6J.js";import"../chunk-GTRUBA2R.js";import"../chunk-C3QOHMR6.js";
|
package/dist/data/ListFooter.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ListFooter as default}from"../chunk-
|
|
2
|
+
export{ListFooter as default}from"../chunk-BJGD2ZWK.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-GTRUBA2R.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ListLoadError as default}from"../chunk-
|
|
1
|
+
export{ListLoadError as default}from"../chunk-4NB3WHWK.js";import"../chunk-UDD7GB4F.js";import"../chunk-K7U4RWXJ.js";import"../chunk-4TL3MRRE.js";import"../chunk-42BBJJDP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-2LXTJXWC.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-GTRUBA2R.js";import"../chunk-C3QOHMR6.js";
|
package/dist/data/Pagination.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Pagination as default}from"../chunk-
|
|
1
|
+
export{Pagination as default}from"../chunk-DGTP6BGV.js";import"../chunk-GTRUBA2R.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-
|
|
2
|
+
export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-MPN267PR.js";import"../chunk-GTRUBA2R.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{BORDER_LINE_STYLES,borderSides,borderStartEach,BorderInput as default}from"../chunk-
|
|
2
|
+
export{BORDER_LINE_STYLES,borderSides,borderStartEach,BorderInput as default}from"../chunk-MVYOBV4I.js";import"../chunk-CHNYSP6K.js";import"../chunk-4G5VLI7E.js";import"../chunk-KIYO4U4T.js";import"../chunk-H245LLX4.js";import"../chunk-RNBM5JZI.js";import"../chunk-EO2XHSIK.js";import"../chunk-E4Z5OXBI.js";import"../chunk-HMZLRXLA.js";import"../chunk-JFSYWEHD.js";import"../chunk-CDAJKLGL.js";import"../chunk-K7U4RWXJ.js";import"../chunk-4TL3MRRE.js";import"../chunk-42BBJJDP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-2LXTJXWC.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-GTRUBA2R.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{BrandAssetEditor as default}from"../chunk-
|
|
2
|
+
export{BrandAssetEditor as default}from"../chunk-XW56UIDQ.js";import"../chunk-WEJFTUS7.js";import"../chunk-SLC3KT7F.js";import"../chunk-MVQBVPWP.js";import"../chunk-APMBWBD7.js";import"../chunk-YGITR6I5.js";import"../chunk-CHNYSP6K.js";import"../chunk-4G5VLI7E.js";import"../chunk-MI67DI3H.js";import"../chunk-MPN267PR.js";import"../chunk-25RR3GQW.js";import"../chunk-5SULG7D5.js";import"../chunk-7T3COEQK.js";import"../chunk-UDD7GB4F.js";import"../chunk-K7U4RWXJ.js";import"../chunk-4TL3MRRE.js";import"../chunk-42BBJJDP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-2LXTJXWC.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-GTRUBA2R.js";import"../chunk-C3QOHMR6.js";
|
package/dist/forms/Calendar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{Calendar as default,fromKey,toKey}from"../chunk-
|
|
2
|
+
export{Calendar as default,fromKey,toKey}from"../chunk-JLDGZFNY.js";import"../chunk-5OTS2G3M.js";import"../chunk-36BRD5J3.js";import"../chunk-42BBJJDP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-D65T4H6J.js";import"../chunk-GTRUBA2R.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ColorPickerPanel,ColorSwatch,HexInput,NO_COLOR_FILL,clampOpacity,colorFill,colorSwatchClasses,ColorPicker as default,stepHue,stepOpacity,stepSquare}from"../chunk-
|
|
2
|
+
export{ColorPickerPanel,ColorSwatch,HexInput,NO_COLOR_FILL,clampOpacity,colorFill,colorSwatchClasses,ColorPicker as default,stepHue,stepOpacity,stepSquare}from"../chunk-KIYO4U4T.js";import"../chunk-H245LLX4.js";import"../chunk-RNBM5JZI.js";import"../chunk-EO2XHSIK.js";import"../chunk-E4Z5OXBI.js";import"../chunk-HMZLRXLA.js";import"../chunk-JFSYWEHD.js";import"../chunk-CDAJKLGL.js";import"../chunk-K7U4RWXJ.js";import"../chunk-4TL3MRRE.js";import"../chunk-42BBJJDP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-2LXTJXWC.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-GTRUBA2R.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{AttachButton,AttachmentDropZone,AttachmentList,PaperclipGlyph,ComposerAttachments as default}from"../chunk-
|
|
2
|
+
export{AttachButton,AttachmentDropZone,AttachmentList,PaperclipGlyph,ComposerAttachments as default}from"../chunk-LDHYCVMV.js";import"../chunk-APMBWBD7.js";import"../chunk-YGITR6I5.js";import"../chunk-MPN267PR.js";import"../chunk-HMZLRXLA.js";import"../chunk-5SULG7D5.js";import"../chunk-7T3COEQK.js";import"../chunk-UDD7GB4F.js";import"../chunk-K7U4RWXJ.js";import"../chunk-4TL3MRRE.js";import"../chunk-42BBJJDP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-2LXTJXWC.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-GTRUBA2R.js";import"../chunk-C3QOHMR6.js";
|