efficient-shell 11.5.0 → 11.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/{Browser-URFWAJYZ.js → Browser-FIRNNCSC.js} +17 -17
- package/dist/Calculator-ELI5Z3XW.js +29 -0
- package/dist/{CurrencyConverter-CUIFL32O.js → CurrencyConverter-LU7QXMOI.js} +11 -11
- package/dist/{Documents-Y62EQJWN.js → Documents-CE7YKNJM.js} +24 -24
- package/dist/Files-ARRIIZZ6.js +88 -0
- package/dist/{Notepad-LYK7OAGU.js → Notepad-HNED2SWM.js} +10 -10
- package/dist/PdfViewer-ZRDIG2L2.js +1 -0
- package/dist/{PomodoroTimer-IMNUQQAC.js → PomodoroTimer-ZJ432VPC.js} +43 -43
- package/dist/{Preview-ZKPVPYYL.js → Preview-OGSYTTKC.js} +32 -32
- package/dist/Sidebar-ETWHTFNP.js +44 -0
- package/dist/Spreadsheet-4HZR2TUV.js +75 -0
- package/dist/{Stock-S6URCQBQ.js → Stock-4BOTUHWE.js} +3 -3
- package/dist/{Weather-SM5ZQUE2.js → Weather-NDUOK3P3.js} +18 -18
- package/dist/{WorldClock-I26FGYJO.js → WorldClock-FH6NFTOM.js} +4 -4
- package/dist/ai/index.js +62 -62
- 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/borderLineStyles-C-W0uSzL.d.ts +12 -0
- package/dist/brand.css +1 -1
- package/dist/charts/BoxPlotChart.js +1 -1
- package/dist/charts/CandlestickChart.js +1 -1
- package/dist/charts/CartesianPlot.js +1 -1
- package/dist/charts/ChartBrush.js +1 -1
- package/dist/charts/ChartFrame.js +1 -1
- package/dist/charts/ChartSkeleton.js +1 -1
- package/dist/charts/ChordChart.js +1 -1
- package/dist/charts/ColumnChart.js +1 -1
- package/dist/charts/FunnelChart.js +1 -1
- package/dist/charts/HeatmapChart.js +1 -1
- package/dist/charts/HistogramChart.js +1 -1
- package/dist/charts/Meter.js +1 -1
- package/dist/charts/PieChart.js +1 -1
- package/dist/charts/RadarChart.js +1 -1
- package/dist/charts/RadialBarChart.js +1 -1
- package/dist/charts/RangeChart.js +1 -1
- package/dist/charts/RankedBars.js +1 -1
- package/dist/charts/SankeyChart.js +1 -1
- package/dist/charts/ScatterChart.js +1 -1
- package/dist/charts/SpecChart.js +1 -1
- package/dist/charts/StatTile.js +1 -1
- package/dist/charts/SunburstChart.js +1 -1
- package/dist/charts/TimeSeriesChart.js +1 -1
- package/dist/charts/TreemapChart.js +1 -1
- package/dist/charts/WaterfallChart.js +1 -1
- package/dist/{chunk-QOI4GQVH.js → chunk-276JUQXK.js} +1 -1
- package/dist/{chunk-G66SG6JN.js → chunk-2CPYXRR2.js} +8 -8
- package/dist/{chunk-SXNQHIBY.js → chunk-2JTG3U5L.js} +1 -1
- package/dist/{chunk-HNUKXGYP.js → chunk-2UTCGWMZ.js} +4 -4
- package/dist/chunk-2V3LKX7G.js +6 -0
- package/dist/{chunk-LCSMBVMU.js → chunk-37JAU3U7.js} +1 -1
- package/dist/{chunk-MCAPJSB6.js → chunk-4L4GQW7P.js} +1 -1
- package/dist/chunk-4LQRLYB4.js +22 -0
- package/dist/{chunk-4EZIWLJJ.js → chunk-4UKPDURO.js} +1 -1
- package/dist/{chunk-SDDV3UCN.js → chunk-4VF66WBB.js} +12 -12
- package/dist/chunk-5CPRZ27M.js +28 -0
- package/dist/{chunk-XBHXGBJR.js → chunk-5DZN6ZDE.js} +9 -9
- package/dist/{chunk-AIJ6OR6X.js → chunk-5MGNT7XM.js} +2 -2
- package/dist/chunk-5XVXYBIQ.js +8 -0
- package/dist/{chunk-EOWUUOVE.js → chunk-7N4P6LGD.js} +1 -1
- package/dist/{chunk-YQOVUH5W.js → chunk-7QRKZOXR.js} +8 -8
- package/dist/{chunk-7TZV6G2F.js → chunk-A2SP4IZV.js} +1 -1
- package/dist/chunk-A4FCXZSY.js +8 -0
- package/dist/{chunk-JFV5CQN4.js → chunk-A65PRSKV.js} +4 -4
- package/dist/chunk-ABKCC7VB.js +9 -0
- package/dist/chunk-ABKFALDE.js +8 -0
- package/dist/{chunk-F56UUBKG.js → chunk-AFROFSDW.js} +1 -1
- package/dist/chunk-AJ6HMM4P.js +20 -0
- package/dist/{chunk-A6FR2D46.js → chunk-ALMBY7QO.js} +5 -5
- package/dist/{chunk-ILY4DU3D.js → chunk-B4D23ZLJ.js} +1 -1
- package/dist/{chunk-UNQ54QOF.js → chunk-BAT5B2LE.js} +1 -1
- package/dist/{chunk-36PJGT4W.js → chunk-BXTSBORU.js} +1 -1
- package/dist/{chunk-WDQEUNGE.js → chunk-CFFT5OCV.js} +1 -1
- package/dist/{chunk-2N64TKI5.js → chunk-D2BXHFYK.js} +1 -1
- package/dist/chunk-DGA4SO27.js +3 -0
- package/dist/{chunk-4DDL6NXB.js → chunk-DH2DKQKS.js} +1 -1
- package/dist/{chunk-VAK5FQXH.js → chunk-DWR6RVX5.js} +4 -4
- package/dist/{chunk-HAYGUFNM.js → chunk-DXFG4H4V.js} +1 -1
- package/dist/{chunk-4TYIYL56.js → chunk-E2LRAOCL.js} +10 -10
- package/dist/{chunk-MS5APD3V.js → chunk-ED6HJBCO.js} +1 -1
- package/dist/{chunk-C764JODK.js → chunk-EMUZJMR3.js} +1 -1
- package/dist/{chunk-XCAUDTCC.js → chunk-EOYGTVNS.js} +2 -2
- package/dist/{chunk-7JVGF555.js → chunk-EP5BHBZQ.js} +1 -1
- package/dist/chunk-FBACFP4U.js +4 -0
- package/dist/{chunk-JFBL4PR3.js → chunk-FNMF42DQ.js} +2 -2
- package/dist/{chunk-ORIXCEKO.js → chunk-FOHOSUK3.js} +1 -1
- package/dist/{chunk-ECJKIPWU.js → chunk-FRNSCVPN.js} +1 -1
- package/dist/{chunk-4BCFBF3C.js → chunk-FSRHVB4A.js} +7 -7
- package/dist/{chunk-YQFGRYEF.js → chunk-FTGA5IPI.js} +14 -14
- package/dist/chunk-G2BZ7NCM.js +19 -0
- package/dist/{chunk-AWGJIDBR.js → chunk-GNWK77U7.js} +1 -1
- package/dist/{chunk-OPN4I565.js → chunk-GPCTDEXQ.js} +1 -1
- package/dist/{chunk-QRU55BUS.js → chunk-GV5VNWPG.js} +2 -2
- package/dist/{chunk-JSG2AKCG.js → chunk-H5YD72OP.js} +1 -1
- package/dist/{chunk-RDYFZHT3.js → chunk-HBS4HYQM.js} +1 -1
- package/dist/{chunk-DVYIBJ3S.js → chunk-HRXQCHKI.js} +2 -2
- package/dist/chunk-HTTICQBP.js +27 -0
- package/dist/{chunk-LJN77RG6.js → chunk-HWFBNYNI.js} +1 -1
- package/dist/chunk-HYNUJY6W.js +13 -0
- package/dist/{chunk-T6BGS26U.js → chunk-HYXDKY2L.js} +1 -1
- package/dist/{chunk-E3EJWNNK.js → chunk-IAUEISDQ.js} +7 -7
- package/dist/{chunk-OBJGUJIE.js → chunk-IDRAW6MT.js} +2 -2
- package/dist/chunk-IEHTZR5M.js +7 -0
- package/dist/chunk-IH2KC3NQ.js +5 -0
- package/dist/{chunk-BUO7XCYR.js → chunk-IKKQ4P4R.js} +12 -12
- package/dist/{chunk-MDYJVXWD.js → chunk-IW2QNPDG.js} +2 -2
- package/dist/{chunk-SX3SG522.js → chunk-IXSSBGRD.js} +9 -9
- package/dist/{chunk-54NMFQMW.js → chunk-JADBOQ7S.js} +5 -5
- package/dist/{chunk-ZGOHRLXG.js → chunk-JGVKGEIV.js} +1 -1
- package/dist/{chunk-XYECIBVX.js → chunk-JJHPPTM6.js} +1 -1
- package/dist/{chunk-TMMNCXQT.js → chunk-KMSK6QQB.js} +1 -1
- package/dist/{chunk-OEPYQUXZ.js → chunk-KPFYXVCO.js} +9 -9
- package/dist/{chunk-4RGMRXYH.js → chunk-KZ6JVHFI.js} +1 -1
- package/dist/{chunk-4ULRP4Y4.js → chunk-L3RLB37Y.js} +1 -1
- package/dist/{chunk-H5NIW2KS.js → chunk-L433UT5E.js} +1 -1
- package/dist/{chunk-V6Y4OC6K.js → chunk-LCHU3ZG4.js} +8 -8
- package/dist/{chunk-VHF3CJVO.js → chunk-LLNWE7DR.js} +30 -30
- package/dist/{chunk-D5HGRACW.js → chunk-LNGLJA6K.js} +1 -1
- package/dist/{chunk-QVZKRROQ.js → chunk-LPTN55KO.js} +1 -1
- package/dist/chunk-LVHQJ5TW.js +9 -0
- package/dist/{chunk-AFYLVV74.js → chunk-LZJCULO7.js} +1 -1
- package/dist/{chunk-E6GDAV5R.js → chunk-MFDOGLFO.js} +3 -3
- package/dist/{chunk-P7H2DXJB.js → chunk-MG4IUKVP.js} +10 -10
- package/dist/{chunk-AFG34RBV.js → chunk-MOL2ND6G.js} +6 -6
- package/dist/{chunk-U44DVPGB.js → chunk-MQHUVZWM.js} +1 -1
- package/dist/{chunk-7ELJQL7J.js → chunk-MWKLLAJT.js} +1 -1
- package/dist/chunk-N3OJ47VK.js +1 -0
- package/dist/chunk-N7645DNN.js +6 -0
- package/dist/{chunk-TFSLPAGB.js → chunk-NFNDXE5O.js} +3 -3
- package/dist/{chunk-5XFBZ7C3.js → chunk-NGUXPP5Q.js} +54 -54
- package/dist/chunk-NOMWJTN2.js +1 -0
- package/dist/{chunk-QYL26AB4.js → chunk-NSYCJTHE.js} +1 -1
- package/dist/{chunk-4EBJO7ER.js → chunk-NTKNM25F.js} +9 -9
- package/dist/{chunk-IMDGMUE3.js → chunk-O4OFURPC.js} +1 -1
- package/dist/{chunk-5H4SWQGM.js → chunk-OE77XFOV.js} +1 -1
- package/dist/{chunk-WLYYC3AP.js → chunk-ONIL7WXO.js} +1 -1
- package/dist/{chunk-2E2SUEEE.js → chunk-OQG3XO4Y.js} +1 -1
- package/dist/{chunk-TDAI4J27.js → chunk-OS2KE6QG.js} +4 -4
- package/dist/{chunk-NZ34BQKH.js → chunk-OUXSI6X4.js} +1 -1
- package/dist/{chunk-CLTRQ7AQ.js → chunk-OYTRB237.js} +1 -1
- package/dist/{chunk-KXU4ORKE.js → chunk-OZEPYQ7E.js} +1 -1
- package/dist/{chunk-DZOJQURG.js → chunk-P7NO3NGC.js} +10 -10
- package/dist/{chunk-BMXTPJ7T.js → chunk-PAC4LK2N.js} +5 -5
- package/dist/{chunk-UEISJFZH.js → chunk-PBMAMVSE.js} +5 -5
- package/dist/{chunk-O3MBPAWZ.js → chunk-PC44XTGN.js} +1 -1
- package/dist/{chunk-7LU3H72S.js → chunk-PEVWAJUR.js} +6 -6
- package/dist/{chunk-RNBS6QGP.js → chunk-PMKR2BF2.js} +21 -21
- package/dist/{chunk-JH4ZCPHW.js → chunk-PR42NIDL.js} +10 -10
- package/dist/{chunk-6IOFNPR6.js → chunk-PTWKG635.js} +3 -3
- package/dist/{chunk-DIEH76MB.js → chunk-QIEAZN6Z.js} +1 -1
- package/dist/{chunk-DQQKG46I.js → chunk-QIVIQUKB.js} +7 -7
- package/dist/{chunk-PLC656AN.js → chunk-QL5E3MU3.js} +1 -1
- package/dist/chunk-QRZBLNOQ.js +4 -0
- package/dist/{chunk-6KGIHI6X.js → chunk-QVAOSKFO.js} +10 -10
- package/dist/{chunk-2UO47XB4.js → chunk-R64OZ6TC.js} +26 -12
- package/dist/{chunk-JTMEFXRL.js → chunk-RDTKMSEK.js} +1 -1
- package/dist/{chunk-IPO4LHSB.js → chunk-RKL47W7I.js} +6 -6
- package/dist/{chunk-QALPUJR2.js → chunk-RPTOAKLB.js} +1 -1
- package/dist/{chunk-3BFZVVAT.js → chunk-RQ6TC6RM.js} +1 -1
- package/dist/{chunk-4P3324KU.js → chunk-RSJLN3EG.js} +1 -1
- package/dist/{chunk-SAP4YI2Y.js → chunk-SDAX6BXF.js} +1 -1
- package/dist/{chunk-OA54HARK.js → chunk-SIA3W7VE.js} +6 -6
- package/dist/{chunk-DWAA4YZV.js → chunk-SJQKEIS7.js} +3 -3
- package/dist/{chunk-OH5L6HYW.js → chunk-SXBOODCJ.js} +4 -4
- package/dist/{chunk-3IUPYCW3.js → chunk-SZTIP6T7.js} +1 -1
- package/dist/{chunk-KYBXJL6A.js → chunk-T2ZFXPQV.js} +21 -21
- package/dist/{chunk-VX6TKEEK.js → chunk-TKE3EF2U.js} +1 -1
- package/dist/{chunk-XQZL6JDD.js → chunk-TURECNEK.js} +4 -4
- package/dist/{chunk-AWKJZSTO.js → chunk-U6IJL4Q5.js} +1 -1
- package/dist/{chunk-7FW2BQTV.js → chunk-U7T2ONAY.js} +1 -1
- package/dist/chunk-UGOSZLCD.js +14 -0
- package/dist/{chunk-HNVSVTNC.js → chunk-UIN2LUCZ.js} +14 -14
- package/dist/{chunk-55AEZX6K.js → chunk-UZ7TKJRO.js} +1 -1
- package/dist/{chunk-BBXFIBXB.js → chunk-V6LPIDZ6.js} +1 -1
- package/dist/chunk-VNTJ7QO5.js +1 -0
- package/dist/{chunk-SL77N7VT.js → chunk-VTXCCFJ4.js} +3 -3
- package/dist/{chunk-PSR6SXCC.js → chunk-WB6E6CSH.js} +13 -13
- package/dist/{chunk-CRILBBSU.js → chunk-WDZUPDNC.js} +1 -1
- package/dist/{chunk-6M5O2P64.js → chunk-WMS2DCRV.js} +9 -9
- package/dist/chunk-WQGBYFS3.js +8 -0
- package/dist/{chunk-PCTOL2FX.js → chunk-WTTXLWMK.js} +8 -8
- package/dist/{chunk-WPCNJ4UL.js → chunk-WYSNMIZN.js} +1 -1
- package/dist/{chunk-Z44JWU75.js → chunk-WZMZ3N5B.js} +2 -2
- package/dist/chunk-Y2LWUBXX.js +2 -0
- package/dist/{chunk-OKHKY3ZZ.js → chunk-YGCVMPIU.js} +1 -1
- package/dist/{chunk-NRALUW6P.js → chunk-YIFRSPUM.js} +10 -10
- package/dist/{chunk-EN5NXWT6.js → chunk-YKEB576T.js} +1 -1
- package/dist/{chunk-COF33H6J.js → chunk-YM4XIO4K.js} +5 -5
- package/dist/chunk-YMBNVMFU.js +11 -0
- package/dist/{chunk-2PGR2276.js → chunk-YY5TUQS4.js} +3 -3
- package/dist/{chunk-LXL2UCUR.js → chunk-Z32K3LIJ.js} +1 -1
- package/dist/{chunk-P3RXXWXN.js → chunk-ZDDYTXPK.js} +6 -6
- package/dist/{chunk-V2J2AHDW.js → chunk-ZGQ6H2PU.js} +4 -4
- package/dist/{chunk-NU5HN3FZ.js → chunk-ZM2NOLT6.js} +12 -12
- package/dist/chunk-ZQJTLJUF.js +2 -0
- package/dist/chunk-ZVEDA462.js +3 -0
- package/dist/{chunk-TGGUYAWA.js → chunk-ZWLOVJWN.js} +1 -1
- package/dist/data/DataTable.js +1 -1
- package/dist/data/EntityList.js +1 -1
- package/dist/data/Kanban.js +1 -1
- package/dist/data/ListFooter.js +1 -1
- package/dist/data/ListLoadError.js +1 -1
- package/dist/data/Pagination.js +1 -1
- package/dist/data/ResizableTable.js +1 -1
- package/dist/file-intake/index.js +1 -1
- package/dist/format/index.d.ts +1 -0
- package/dist/format/index.js +1 -1
- package/dist/forms/BorderInput.d.ts +3 -3
- 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.d.ts +12 -1
- package/dist/forms/IconPicker.js +1 -1
- package/dist/forms/ImageFocusPoint.js +1 -1
- package/dist/forms/Input.js +1 -1
- package/dist/forms/InputNumber.js +1 -1
- package/dist/forms/LinkPicker.d.ts +22 -0
- package/dist/forms/LinkPicker.js +1 -1
- package/dist/forms/MediaLibrary.js +1 -1
- package/dist/forms/MediaUploadField.js +1 -1
- package/dist/forms/MediaUploadGrid.js +1 -1
- package/dist/forms/MediaUsedInList.js +1 -1
- package/dist/forms/NumericKeypad.js +1 -1
- package/dist/forms/PositionInput.js +1 -1
- package/dist/forms/RenameField.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/mediaLibraryMenu.js +1 -1
- package/dist/forms/mediaMoveItems.js +1 -1
- package/dist/forms/textAlign.js +1 -1
- package/dist/forms/useFileIntake.js +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +509 -509
- package/dist/locales/zh-Hans.js +1 -1
- package/dist/map/index.js +3 -3
- package/dist/markdown/index.js +1 -1
- package/dist/page-tabs/index.js +5 -5
- package/dist/pdf/index.js +1 -1
- package/dist/shell/Accordion.js +1 -1
- package/dist/shell/AppUpdateBanner.js +1 -1
- package/dist/shell/Avatar.js +1 -1
- package/dist/shell/Banner.js +1 -1
- package/dist/shell/Breadcrumbs.js +1 -1
- package/dist/shell/BudgetBar.js +1 -1
- package/dist/shell/Card.js +1 -1
- package/dist/shell/ColoredBadge.js +1 -1
- package/dist/shell/ConfirmDialog.js +1 -1
- package/dist/shell/ContainerFillChart.js +1 -1
- package/dist/shell/ContextMenu.js +1 -1
- package/dist/shell/CountBadge.js +1 -1
- package/dist/shell/Dialog.js +1 -1
- package/dist/shell/Drawer.js +1 -1
- package/dist/shell/DropdownMenu.js +1 -1
- package/dist/shell/EditableGrid.js +1 -1
- package/dist/shell/EmptyState.js +1 -1
- package/dist/shell/GlobalSearch.js +1 -1
- package/dist/shell/HelpCenter.js +1 -1
- package/dist/shell/IconRail.js +1 -1
- package/dist/shell/ImageLightbox.js +1 -1
- package/dist/shell/ItemCount.js +1 -1
- package/dist/shell/LanguageSelect.js +1 -1
- package/dist/shell/Markdown.js +1 -1
- package/dist/shell/MetricBar.js +1 -1
- package/dist/shell/MetricBarLegend.js +1 -1
- package/dist/shell/MilestoneTimeline.js +1 -1
- package/dist/shell/PageHeader.js +1 -1
- package/dist/shell/PopupMenu.js +1 -1
- package/dist/shell/ProductionTimeline.js +1 -1
- package/dist/shell/ResizeHandle.js +1 -1
- package/dist/shell/Result.js +1 -1
- package/dist/shell/SearchableSelect.js +1 -1
- package/dist/shell/SettingReset.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/discardGuard.js +1 -1
- package/dist/shell/language.js +1 -1
- package/dist/shell/strings.d.ts +129 -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 +2 -1
- package/dist/ui/index.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-OJSMHQKW.js +0 -29
- package/dist/Files-NXY7XRZD.js +0 -88
- package/dist/PdfViewer-Y3SAVADX.js +0 -1
- package/dist/Sidebar-BCTWRG7P.js +0 -44
- package/dist/Spreadsheet-BPW2TLVQ.js +0 -37
- package/dist/chunk-3XZFWR6T.js +0 -13
- package/dist/chunk-4P57TIFK.js +0 -2
- package/dist/chunk-5PDHKH2A.js +0 -3
- package/dist/chunk-77AQNJE2.js +0 -9
- package/dist/chunk-7INZ7O3A.js +0 -5
- package/dist/chunk-CH3JQUDW.js +0 -8
- package/dist/chunk-DOF56HTO.js +0 -6
- package/dist/chunk-EVX7AZII.js +0 -9
- package/dist/chunk-EXLHFM3V.js +0 -6
- package/dist/chunk-GBATZZX7.js +0 -1
- package/dist/chunk-GDQJBQ5B.js +0 -1
- package/dist/chunk-K4JQ3FQI.js +0 -2
- package/dist/chunk-LDZQJLMC.js +0 -3
- package/dist/chunk-M66ACZXQ.js +0 -5
- package/dist/chunk-MHPFBVDD.js +0 -8
- package/dist/chunk-NWC6YCIJ.js +0 -11
- package/dist/chunk-NZISMTQE.js +0 -7
- package/dist/chunk-PLK2WHZG.js +0 -27
- package/dist/chunk-QO5E33DH.js +0 -8
- package/dist/chunk-RBZKV3ED.js +0 -14
- package/dist/chunk-TNJ2VCH4.js +0 -8
- package/dist/chunk-VX4COEWP.js +0 -4
- package/dist/chunk-WOAMPTZI.js +0 -20
- package/dist/chunk-XFH64VIG.js +0 -19
- package/dist/chunk-XKGEI6NL.js +0 -28
- package/dist/chunk-XXL5RLNM.js +0 -22
|
@@ -1 +1 @@
|
|
|
1
|
-
export{BoxPlotChart as default}from"../chunk-
|
|
1
|
+
export{BoxPlotChart as default}from"../chunk-BXTSBORU.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-WQGBYFS3.js";import"../chunk-EMUZJMR3.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{CandlestickChart as default}from"../chunk-
|
|
1
|
+
export{CandlestickChart as default}from"../chunk-HRXQCHKI.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-WQGBYFS3.js";import"../chunk-EMUZJMR3.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{CartesianPlot as default}from"../chunk-
|
|
2
|
+
export{CartesianPlot as default}from"../chunk-WQGBYFS3.js";import"../chunk-EMUZJMR3.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ChartBrush as default}from"../chunk-
|
|
2
|
+
export{ChartBrush as default}from"../chunk-MFDOGLFO.js";import"../chunk-TZFACUMR.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ChartFrame as default}from"../chunk-
|
|
1
|
+
export{ChartFrame as default}from"../chunk-DWR6RVX5.js";import"../chunk-SZTIP6T7.js";import"../chunk-CNYAHYE6.js";import"../chunk-TZFACUMR.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ChartSkeleton as default}from"../chunk-
|
|
2
|
+
export{ChartSkeleton as default}from"../chunk-SZTIP6T7.js";import"../chunk-TZFACUMR.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ChordChart as default,foldChord}from"../chunk-
|
|
2
|
+
export{ChordChart as default,foldChord}from"../chunk-5XVXYBIQ.js";import"../chunk-5PP435FL.js";import"../chunk-VFC6QUEN.js";import"../chunk-CNYAHYE6.js";import"../chunk-WGLHB6WE.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{ColumnChart as default}from"../chunk-
|
|
2
|
+
export{ColumnChart as default}from"../chunk-PAC4LK2N.js";import"../chunk-465RRWBY.js";import"../chunk-SZTIP6T7.js";import"../chunk-CNYAHYE6.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-WQGBYFS3.js";import"../chunk-EMUZJMR3.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{FunnelChart as default}from"../chunk-
|
|
2
|
+
export{FunnelChart as default}from"../chunk-WB6E6CSH.js";import"../chunk-CNYAHYE6.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{HeatmapChart as default}from"../chunk-
|
|
2
|
+
export{HeatmapChart as default}from"../chunk-YMBNVMFU.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{HistogramChart as default}from"../chunk-
|
|
1
|
+
export{HistogramChart as default}from"../chunk-ZQJTLJUF.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-WQGBYFS3.js";import"../chunk-EMUZJMR3.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
package/dist/charts/Meter.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Meter as default}from"../chunk-
|
|
1
|
+
export{Meter as default}from"../chunk-SXBOODCJ.js";import"../chunk-TZFACUMR.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
package/dist/charts/PieChart.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{PieChart as default}from"../chunk-
|
|
2
|
+
export{PieChart as default}from"../chunk-2CPYXRR2.js";import"../chunk-VFC6QUEN.js";import"../chunk-465RRWBY.js";import"../chunk-CNYAHYE6.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{RADAR_SERIES_CAP,RadarChart as default}from"../chunk-
|
|
2
|
+
export{RADAR_SERIES_CAP,RadarChart as default}from"../chunk-NTKNM25F.js";import"../chunk-5PP435FL.js";import"../chunk-VFC6QUEN.js";import"../chunk-465RRWBY.js";import"../chunk-CNYAHYE6.js";import"../chunk-WGLHB6WE.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-2JWPNR2U.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{RadialBarChart as default}from"../chunk-
|
|
2
|
+
export{RadialBarChart as default}from"../chunk-7QRKZOXR.js";import"../chunk-VFC6QUEN.js";import"../chunk-465RRWBY.js";import"../chunk-CNYAHYE6.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-2JWPNR2U.js";import"../chunk-TZFACUMR.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{RangeChart as default}from"../chunk-
|
|
1
|
+
export{RangeChart as default}from"../chunk-ALMBY7QO.js";import"../chunk-VFC6QUEN.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-WQGBYFS3.js";import"../chunk-EMUZJMR3.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{RankedBars as default}from"../chunk-
|
|
1
|
+
export{RankedBars as default}from"../chunk-VTXCCFJ4.js";import"../chunk-465RRWBY.js";import"../chunk-CNYAHYE6.js";import"../chunk-TZFACUMR.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{SankeyChart as default}from"../chunk-
|
|
2
|
+
export{SankeyChart as default}from"../chunk-FSRHVB4A.js";import"../chunk-5PP435FL.js";import"../chunk-VFC6QUEN.js";import"../chunk-CNYAHYE6.js";import"../chunk-WGLHB6WE.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{SCATTER_SERIES_CAP,ScatterChart as default}from"../chunk-
|
|
2
|
+
export{SCATTER_SERIES_CAP,ScatterChart as default}from"../chunk-A4FCXZSY.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
package/dist/charts/SpecChart.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{SpecChart as default}from"../chunk-
|
|
1
|
+
export{SpecChart as default}from"../chunk-4L4GQW7P.js";import"../chunk-GEYM4WN3.js";import"../chunk-Y3JW2GW5.js";import"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";import"../chunk-4LQRLYB4.js";import"../chunk-MFDOGLFO.js";import"../chunk-CK2YOGUS.js";import"../chunk-DWR6RVX5.js";import"../chunk-VFC6QUEN.js";import"../chunk-PAC4LK2N.js";import"../chunk-465RRWBY.js";import"../chunk-SZTIP6T7.js";import"../chunk-CNYAHYE6.js";import"../chunk-WGLHB6WE.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-WQGBYFS3.js";import"../chunk-EMUZJMR3.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
package/dist/charts/StatTile.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{StatTile as default}from"../chunk-
|
|
1
|
+
export{StatTile as default}from"../chunk-A65PRSKV.js";import"../chunk-CKCDGSTC.js";import"../chunk-TZFACUMR.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{SunburstChart as default}from"../chunk-
|
|
2
|
+
export{SunburstChart as default}from"../chunk-FBACFP4U.js";import"../chunk-5PP435FL.js";import"../chunk-VFC6QUEN.js";import"../chunk-CNYAHYE6.js";import"../chunk-WGLHB6WE.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{TimeSeriesChart as default}from"../chunk-
|
|
2
|
+
export{TimeSeriesChart as default}from"../chunk-4LQRLYB4.js";import"../chunk-MFDOGLFO.js";import"../chunk-CK2YOGUS.js";import"../chunk-VFC6QUEN.js";import"../chunk-465RRWBY.js";import"../chunk-SZTIP6T7.js";import"../chunk-CNYAHYE6.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-EMUZJMR3.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{TreemapChart as default}from"../chunk-
|
|
2
|
+
export{TreemapChart as default}from"../chunk-PEVWAJUR.js";import"../chunk-46BYGPGD.js";import"../chunk-5PP435FL.js";import"../chunk-CNYAHYE6.js";import"../chunk-WGLHB6WE.js";import"../chunk-NJN5IKWO.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{WaterfallChart as default}from"../chunk-
|
|
1
|
+
export{WaterfallChart as default}from"../chunk-37JAU3U7.js";import"../chunk-36VIGB6J.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-WQGBYFS3.js";import"../chunk-EMUZJMR3.js";import"../chunk-2JWPNR2U.js";import"../chunk-MAFUXCPZ.js";import"../chunk-TZFACUMR.js";import"../chunk-TWVUQUUD.js";import"../chunk-VNTJ7QO5.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{isSafeLinkHref as e}from"./chunk-Q5Z3KHT2.js";import{Button_default as t}from"./chunk-EOVXFXVV.js";import{Icon as n}from"./chunk-
|
|
1
|
+
import{isSafeLinkHref as e}from"./chunk-Q5Z3KHT2.js";import{Button_default as t}from"./chunk-EOVXFXVV.js";import{Icon as n}from"./chunk-R64OZ6TC.js";import{useShellStrings as r}from"./chunk-VNTJ7QO5.js";import{createContext as l,useContext as s}from"react";import{jsx as a,jsxs as i}from"react/jsx-runtime";var c=/!\[([^\]]*)\]\(([^)]+)\)|\[([^\]]+)\]\(([^)]+)\)|\*\*([^*]+)\*\*|`([^`]+)`|\*([^*]+)\*/g,o=l(void 0);function d({href:t,children:n}){const r=s(o),l=(t=>e(t.trim()))(t)?t:void 0;/* @__PURE__ */
|
|
2
2
|
return a("a",{href:l,target:"_blank",rel:"noreferrer",className:"text-blue-600 hover:underline",onClick:l&&r?e=>{(e=>!(0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey))(e)&&r(l)&&e.preventDefault()}:void 0,children:n})}function u(e){const t=[];let n,r=0,l=0;const s=new RegExp(c.source,"g");for(;null!==(n=s.exec(e));)n.index>r&&t.push(e.slice(r,n.index)),void 0!==n[1]?t.push(
|
|
3
3
|
/* @__PURE__ */i("span",{className:"text-gray-400",children:["[",n[1],"]"]},l++)):void 0!==n[3]?t.push(
|
|
4
4
|
/* @__PURE__ */a(d,{href:n[4],children:n[3]},l++)):void 0!==n[5]?t.push(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import{arcPath as e}from"./chunk-VFC6QUEN.js";import{MOTION as t,stagger as l}from"./chunk-465RRWBY.js";import{useHighlight as a}from"./chunk-CNYAHYE6.js";import{ChartTooltip as r}from"./chunk-36VIGB6J.js";import{angleScale as n}from"./chunk-2JWPNR2U.js";import{usePlotWidth as o}from"./chunk-MAFUXCPZ.js";import{CHART_INK as s,resolveSeriesColor as i}from"./chunk-TZFACUMR.js";import{useShellStrings as h,useShellLocale as c}from"./chunk-
|
|
1
|
+
import{arcPath as e}from"./chunk-VFC6QUEN.js";import{MOTION as t,stagger as l}from"./chunk-465RRWBY.js";import{useHighlight as a}from"./chunk-CNYAHYE6.js";import{ChartTooltip as r}from"./chunk-36VIGB6J.js";import{angleScale as n}from"./chunk-2JWPNR2U.js";import{usePlotWidth as o}from"./chunk-MAFUXCPZ.js";import{CHART_INK as s,resolveSeriesColor as i}from"./chunk-TZFACUMR.js";import{useShellStrings as h,useShellLocale as c}from"./chunk-VNTJ7QO5.js";import{formatPercent as m,formatPlain as u}from"./chunk-C3QOHMR6.js";import{useId as d,useState as f,useRef as y}from"react";import{jsx as p,jsxs as g}from"react/jsx-runtime";function x({segments:x,variant:v="pie",size:k=280,innerRadius:M,padAngle:b=.012,maxSegments:N=6,otherLabel:I,formatValue:$,centerLabel:j,animate:w=!0,labels:F="none",labelMinShare:P=.04,className:S,emptyLabel:A}){const C=h().charts,R=c(),T=$??(e=>u(e,R)),V=I??C.other,W=A??C.nothingToBreakDown,z=d(),[E,_]=f(null),{highlighted:B}=a(),L=y(null),O=o(L,Number.POSITIVE_INFINITY),U=x.map((e,t)=>({...e,slot:t})).filter(e=>e.value>0);if(0===U.length)/* @__PURE__ */return p("p",{className:`text-sm text-gray-500 ${S??""}`,children:W});const Y=[...U].sort((e,t)=>t.value-e.value),J=Y.slice(0,N),Q=Y.slice(N),H=Q.length>0?[...J,{key:"__other__",label:V,value:Q.reduce((e,t)=>e+t.value,0),slot:-1,color:s.muted}]:J,Z=e=>i(e.slot,e.color,e.tone),q=H.reduce((e,t)=>e+t.value,0),D=Math.ceil(.62*Math.max(...H.map(e=>String(e.label).length),4)*11)+24,G="outside"===F&&O>=120+2*D,X=G?D:0,K=G?Math.max(120,Math.min(k,O-2*X)):k,ee=K+2*X,te=X+K/2,le=K/2,ae=K/2-12,re=M??("ring"===v?.58*ae:0),ne=n(H.length,b),oe=Math.max(...H.map(e=>e.value)),se=e=>re+(ae-re)*Math.sqrt(Math.max(0,e)/oe);let ie=-Math.PI/2;const he=(()=>{if(!G)return[];let e=-Math.PI/2;const t=H.map((t,l)=>{const a="rose"===v?n(H.length,b).step:t.value/q*Math.PI*2,r="rose"===v?n(H.length,b).center(l):e+a/2;e+=a;const o="rose"===v?se(t.value):ae;return{key:t.key,label:t.label,share:t.value/q,right:Math.cos(r)>=0,anchor:[te+o*Math.cos(r),le+o*Math.sin(r)],y:le+(o+14)*Math.sin(r),index:l}}).filter(e=>e.share>=P),l=Math.max(1,Math.floor((K-11-13)/26)+1),a=/* @__PURE__ */new Set;for(const e of[!0,!1]){const r=t.filter(t=>t.right===e).sort((e,t)=>t.share-e.share).slice(0,l).sort((e,t)=>e.y-t.y);for(let e=1;e<r.length;e+=1)r[e].y-r[e-1].y<26&&(r[e].y=r[e-1].y+26);for(let e=r.length-1;e>=0;e-=1){const t=e===r.length-1?K-13:r[e+1].y-26;r[e].y=Math.min(r[e].y,t)}r.forEach((e,t)=>{e.y=Math.max(e.y,0===t?11:r[t-1].y+26),a.add(e.key)})}return t.filter(e=>a.has(e.key))})(),ce=(e,t)=>null!==E?E!==e:null!==B&&B!==t,me=null!==E?H[E]:void 0;/* @__PURE__ */
|
|
2
2
|
return g("div",{className:`relative ${S??""}`,ref:L,children:[
|
|
3
|
-
/* @__PURE__ */g("svg",{width:"100%",height:K,viewBox:`0 0 ${ee} ${K}`,role:"img","aria-labelledby":
|
|
4
|
-
/* @__PURE__ */p("title",{id:
|
|
5
|
-
return p("path",{d:e(te,le,re,c,o,h),fill:n,fillOpacity:ce(r,a.key)?.4:1,stroke:s.surface,strokeWidth:1,className:w?t.sweep:void 0,style:w?l(r,55):void 0,onMouseEnter:()=>
|
|
3
|
+
/* @__PURE__ */g("svg",{width:"100%",height:K,viewBox:`0 0 ${ee} ${K}`,role:"img","aria-labelledby":z,onMouseLeave:()=>_(null),children:[
|
|
4
|
+
/* @__PURE__ */p("title",{id:z,children:C.breakdown(T(q),H.length)}),H.map((a,r)=>{const n=Z(a),o="rose"===v?ne(r):ie,i="rose"===v?ne.step:a.value/q*Math.PI*2-b;"rose"!==v&&(ie+=a.value/q*Math.PI*2);const h=o+Math.max(.001,i),c="rose"===v?se(a.value):ae;/* @__PURE__ */
|
|
5
|
+
return p("path",{d:e(te,le,re,c,o,h),fill:n,fillOpacity:ce(r,a.key)?.4:1,stroke:s.surface,strokeWidth:1,className:w?t.sweep:void 0,style:w?l(r,55):void 0,onMouseEnter:()=>_(r)},a.key)}),he.map(e=>{const t=e.right?ee-6:6,l=e.right?te+ae+14:te-ae-14;/* @__PURE__ */
|
|
6
6
|
return g("g",{children:[
|
|
7
7
|
/* @__PURE__ */p("polyline",{points:`${e.anchor[0].toFixed(1)},${e.anchor[1].toFixed(1)} ${l},${e.y.toFixed(1)} ${t},${e.y.toFixed(1)}`,fill:"none",stroke:s.grid,strokeWidth:1}),
|
|
8
8
|
/* @__PURE__ */p("text",{x:t,y:e.y-2,fontSize:11,fill:s.label,textAnchor:e.right?"end":"start",children:e.label}),
|
|
9
|
-
/* @__PURE__ */p("text",{x:t,y:e.y+10,fontSize:11,fontWeight:600,fill:s.label,textAnchor:e.right?"end":"start",style:{fontVariantNumeric:"tabular-nums"},children:m(100*e.share,1,
|
|
10
|
-
/* @__PURE__ */p("ul",{className:"m-0 mt-3 grid gap-1 p-0",style:{gridTemplateColumns:"repeat(auto-fit,minmax(140px,1fr))"},children:
|
|
11
|
-
/* @__PURE__ */p("span",{className:"h-2.5 w-2.5 shrink-0 rounded-sm",style:{backgroundColor:
|
|
9
|
+
/* @__PURE__ */p("text",{x:t,y:e.y+10,fontSize:11,fontWeight:600,fill:s.label,textAnchor:e.right?"end":"start",style:{fontVariantNumeric:"tabular-nums"},children:m(100*e.share,1,R)})]},`lbl-${e.key}`)}),j&&re>0&&/* @__PURE__ */p("text",{x:te,y:le+5,textAnchor:"middle",fontSize:16,fontWeight:600,fill:s.label,children:j})]}),me&&null!==E&&/* @__PURE__ */p("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */p(r,{title:me.label,rows:[{key:"value",label:C.value,color:Z(me),value:T(me.value)},{key:"share",label:C.share,color:s.muted,value:m(me.value/q*100,1,R)}]})}),
|
|
10
|
+
/* @__PURE__ */p("ul",{className:"m-0 mt-3 grid gap-1 p-0",style:{gridTemplateColumns:"repeat(auto-fit,minmax(140px,1fr))"},children:H.map((e,t)=>/* @__PURE__ */g("li",{className:"flex list-none items-center gap-2 text-xs text-gray-600",children:[
|
|
11
|
+
/* @__PURE__ */p("span",{className:"h-2.5 w-2.5 shrink-0 rounded-sm",style:{backgroundColor:Z(e)}}),
|
|
12
12
|
/* @__PURE__ */p("span",{className:"flex-1 truncate",children:e.label}),
|
|
13
|
-
/* @__PURE__ */p("span",{className:"tabular-nums text-gray-800",children:m(e.value/
|
|
13
|
+
/* @__PURE__ */p("span",{className:"tabular-nums text-gray-800",children:m(e.value/q*100,1,R)})]},e.key))})]})}export{x as PieChart};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{fromDateKey as t,toDateKey as e}from"./chunk-2HMNOLKX.js";import{inputClasses as n}from"./chunk-AYZY3YNC.js";import{pad2 as r}from"./chunk-LF27WIN2.js";import{useShellLocale as i}from"./chunk-
|
|
1
|
+
import{fromDateKey as t,toDateKey as e}from"./chunk-2HMNOLKX.js";import{inputClasses as n}from"./chunk-AYZY3YNC.js";import{pad2 as r}from"./chunk-LF27WIN2.js";import{useShellLocale as i}from"./chunk-VNTJ7QO5.js";import{forwardRef as a}from"react";import{jsx as o}from"react/jsx-runtime";var m=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2})?$/;function s(t){return null==t||""===t?"":t instanceof Date?Number.isNaN(t.getTime())?"":`${e(n=t)}T${r(n.getHours())}:${r(n.getMinutes())}`:m.test(t)?t:"";var n}var u=a(function({value:e,onChange:r,min:a,max:u,invalid:l,size:c,className:d="",...f},p){const v=i();/* @__PURE__ */
|
|
2
2
|
return o("input",{ref:p,type:"datetime-local",lang:v,"aria-invalid":l||void 0,value:s(e),min:s(a)||void 0,max:s(u)||void 0,onChange:e=>r?.(function(e){if(!m.test(e))return null;const[n,r]=e.split("T"),i=t(n),[a,o,s=0]=r.split(":").map(Number);return!i||a>23||o>59||s>59?null:(i.setHours(a,o,s),i)}(e.target.value)),className:n({invalid:l,size:c,className:d}),...f})});export{u as DateTimePicker_default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{DropdownMenu as e}from"./chunk-
|
|
1
|
+
import{DropdownMenu as e}from"./chunk-IEHTZR5M.js";import{IconButton_default as r}from"./chunk-LE5LWALR.js";import{inputClasses as n,PLACEHOLDER_INK as t}from"./chunk-AYZY3YNC.js";import{iconButtonClasses as i}from"./chunk-UQYNPYF4.js";import{Tooltip as a}from"./chunk-NJN5IKWO.js";import{forwardRef as s}from"react";import{jsx as o,jsxs as l}from"react/jsx-runtime";var c={sm:"sm",md:"sm",lg:"md",touch:"touch-sm"},m={sm:"pr-8",md:"pr-8",lg:"pr-10",touch:"pr-12"};function p({children:e}){/* @__PURE__ */
|
|
2
2
|
return o("span",{className:"absolute right-1 top-1/2 flex -translate-y-1/2 items-center gap-1",children:e})}function d({action:e,size:r="md"}){/* @__PURE__ */
|
|
3
|
-
return o(h,{action:e,size:c[r]})}var u=["","pr-8","pr-16"];function h({action:
|
|
4
|
-
return o(a,{content:s,describe:!1,children:m?/* @__PURE__ */o(e,{"aria-label":s,trigger:l,items:m,triggerClassName:i({size:
|
|
5
|
-
/* @__PURE__ */o("input",{ref:f,"aria-invalid":e||void 0,readOnly:u,className:
|
|
3
|
+
return o(h,{action:e,size:c[r]})}var u=["","pr-8","pr-16"];function h({action:n,size:t}){const{label:s,icon:l,onClick:c,menu:m}=n;/* @__PURE__ */
|
|
4
|
+
return o(a,{content:s,describe:!1,children:m?/* @__PURE__ */o(e,{"aria-label":s,trigger:l,items:m,triggerClassName:i({size:t})}):/* @__PURE__ */o(r,{"aria-label":s,size:t,onClick:c,children:l})})}var f=s(function({invalid:e,leftIcon:r,rightAdornment:i,endAction:a,size:s,className:c="",readOnly:u,...h},f){const N=s??"md",g=`${r?"pl-10":""} ${a?m[N]:i?"pr-10":""}`.trim(),v=
|
|
5
|
+
/* @__PURE__ */o("input",{ref:f,"aria-invalid":e||void 0,readOnly:u,className:n({invalid:e,size:s,readOnly:u,className:[g,c].filter(Boolean).join(" ")}),...h});return r||i||a?/* @__PURE__ */l("div",{className:"relative",children:[r&&/* @__PURE__ */o("span",{className:`pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 ${t}`,children:r}),v,a?/* @__PURE__ */o(p,{children:/* @__PURE__ */o(d,{action:a,size:N})}):i&&/* @__PURE__ */o("span",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400",children:i})]}):v});export{u as END_ACTIONS_PAD,c as INPUT_END_ACTION_SIZE,d as InputEndActionButton,p as InputEndActionSlot,f as Input_default};
|
|
@@ -0,0 +1,6 @@
|
|
|
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-GV5VNWPG.js";import{Tooltip as i}from"./chunk-NJN5IKWO.js";import{useShellStrings as l}from"./chunk-VNTJ7QO5.js";import{useId as a,useRef as s,useState as c,useEffect as u,Fragment as d}from"react";import{jsxs as h,jsx as f}from"react/jsx-runtime";var m=(e,t,r)=>Math.min(r,Math.max(t,e)),p=e=>e.reduce((e,t)=>e+t,0),v=(e,t)=>e.length===t.length&&e.every((e,r)=>e===t[r]);var g,b="w-0.5",y=`${b} group-hover/widths:w-1 group-focus-visible/widths:w-1`;var w=["text-blue-700","text-gray-600"];function x({count:x,value:$,onChange:k,label:N,"aria-labelledby":C,readOnly:P=!1,disabled:M=!1,className:j=""}){const R=l().widths,z=a(),O=m(Math.round(x)||1,1,n),A=e($,O),B=A??[...t[O]??[]],K=[...B,100-p(B)],S=P||M,T=s(null),D=s({onChange:k,shown:B,locked:S,n:O,stored:A});D.current={onChange:k,shown:B,locked:S,n:O,stored:A};const E=t=>{const{onChange:r,shown:n,locked:o,n:i}=D.current;if(o)return!1;const l=e(t,i);return!(!l||v(l,n))&&(r(l),!0)},G=(e,t,n)=>{const o=e[t]+e[t+1],i=[...e];i[t]=m(Math.round(n),r,o-r),i[t+1]=o-i[t],E(i.slice(0,-1))&&(ne.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(),G(K,e,i))},V=s(null),[W,H]=c(null),J=()=>{V.current=null,H(null),document.body.style.removeProperty("cursor"),document.body.style.removeProperty("user-select")};u(()=>J,[]);const L=e=>t=>{if(0!==t.button||S)return;t.preventDefault();const r=T.current?.getBoundingClientRect().width??0;r<=0||(V.current={i:e,x:t.clientX,width:r,from:K,moved:!1,pointer:t.pointerId},H(e),t.currentTarget.setPointerCapture?.(t.pointerId),document.body.style.cursor="col-resize",document.body.style.userSelect="none")},F=e=>{const t=V.current;if(!t)return;if(0===e.buttons)return void J();const r=e.clientX-t.x;if(!t.moved){if(Math.abs(r)<3)return;t.moved=!0}G(t.from,t.i,t.from[t.i]+r/t.width*100)},U=e=>{const t=V.current;t&&(e.currentTarget.hasPointerCapture?.(t.pointer)&&e.currentTarget.releasePointerCapture(t.pointer),J())},X=(e,t)=>{const{shown:n}=D.current,o=function(e,t,n){const o=e.length,i=[...e];if(o<2)return i;const l=m(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-p(n)],e,t);return E(o.slice(0,-1))?o:null},[q,Q]=c(0);u(()=>{const e=T.current;if(!e||"undefined"==typeof ResizeObserver)return;const t=new ResizeObserver(()=>Q(e.getBoundingClientRect().width));return t.observe(e),()=>t.disconnect()},[]);const Y=s(null),[Z,_]=c(null),[ee,te]=c([]),re=(e,t)=>_(r=>t?e:r===e?null:r),ne=s(null),oe=(e,t)=>{const r=ne.current;if(!r||r.column!==e||r.share!==t)return!1;const{onChange:n,locked:o,stored:i}=D.current;var l,a;return o||(l=i,a=r.stored,void 0===l||void 0===a?l===a:v(l,a))||n(r.stored),!0},ie=K.join(",");u(()=>{const e=null===Z?[]: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===g&&(g=document.createElement("canvas").getContext("2d")),!g)return[];const o=g;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]:[]})}(Y.current,Z);te(t=>v(t,e)?t:e)},[Z,ie,q]);const le=R.hint(O,r),ae=K.slice(0,-1).map((e,t)=>p(K.slice(0,t+1)));/* @__PURE__ */
|
|
2
|
+
return h("div",{role:"group","aria-label":C?void 0:N,"aria-labelledby":C,"aria-describedby":O>1?z:void 0,className:`flex w-full min-w-0 flex-col gap-2 ${M?"opacity-60":""} ${j}`.trim(),children:[
|
|
3
|
+
/* @__PURE__ */h("div",{ref:Y,"data-widths-bar":"",className:"relative h-8",children:[
|
|
4
|
+
/* @__PURE__ */f("div",{ref:T,"data-widths-track":"",className:"flex h-full w-full overflow-hidden rounded-(--radius-control) bg-surface",children:K.map((e,t)=>/* @__PURE__ */f("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 ${w[t%2]} ${t%2==0?"bg-accent-tint":""}`,children:1===O&&/* @__PURE__ */f("span",{"data-widths-label":"",children:`${e}%`})},t))}),
|
|
5
|
+
/* @__PURE__ */f("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 rounded-(--radius-control) border border-line-strong"}),O>1&&K.map((e,t)=>/* @__PURE__ */h(d,{children:[(()=>{const n=Z===t,l=p(K.slice(0,t)),a=n?`max(${e}%, 40px)`:`${e}%`;/* @__PURE__ */
|
|
6
|
+
return f("div",{"data-widths-tip":"",className:"absolute inset-y-0 "+(n?"z-20":""),style:{left:`clamp(0px, calc(${l+e/2}% - ${a} / 2), calc(100% - ${a}))`,width:a},children:/* @__PURE__ */f(i,{content:le,delay:600,describe:!1,className:"absolute inset-0",children:/* @__PURE__ */f(o,{appearance:"bare",value:e,display:()=>(e=>q>0&&q*e/100<36?String(e):`${e}%`)(e),suffix:"%",min:r,max:100-(O-1)*r,step:1,shiftStep:10,precision:0,allowEmpty:!1,reportWhileTyping:!1,readOnly:P,disabled:M,"aria-label":R.column(t+1),"aria-describedby":z,"data-widths-label":"",onChange:e=>{null===e||oe(t,e)||X(t,e)},onRevert:e=>((e,t)=>{D.current.locked||null===t||oe(e,t)||X(e,t)})(t,e),onFocus:()=>{ne.current={column:t,share:e,stored:D.current.stored},re(t,!0)},onBlur:()=>re(t,!1),className:`absolute inset-0 text-xs font-medium ${w[t%2]} ${ee.includes(t)&&!n?"opacity-0":""}`})})})})(),t<O-1&&/* @__PURE__ */f("div",{className:"absolute inset-y-0 z-10 w-3 -translate-x-1/2",style:{left:`${ae[t]}%`},children:/* @__PURE__ */f(i,{content:R.dragHint,delay:600,className:"relative flex h-full w-full",children:/* @__PURE__ */f("div",{role:"separator",tabIndex:M?-1:0,"aria-orientation":"vertical","aria-label":R.divider(t+1,t+2),"aria-valuenow":K[t],"aria-valuemin":r,"aria-valuemax":K[t]+K[t+1]-r,"aria-valuetext":R.dividerValue(t+1,K[t],t+2,K[t+1]),"aria-disabled":S||void 0,onKeyDown:S?void 0:I(t),onPointerDown:L(t),onPointerMove:F,onPointerUp:U,onPointerCancel:U,onLostPointerCapture:()=>{V.current&&J()},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)] "+(S?"cursor-default":"cursor-col-resize"),children:/* @__PURE__ */f("span",{"aria-hidden":"true","data-widths-line":"",className:"h-full rounded-full "+(S?`${b} bg-gray-300`:`bg-accent-fill transition-[width,background-color] duration-(--motion-fast) group-hover/widths:bg-blue-700 ${W===t?"w-1":y}`)})})})})]},t))]}),O>1&&/* @__PURE__ */f("span",{id:z,className:"sr-only",children:le})]})}export{x as WidthsBar};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ChartTooltip as t}from"./chunk-36VIGB6J.js";import{CartesianPlot as a}from"./chunk-
|
|
1
|
+
import{ChartTooltip as t}from"./chunk-36VIGB6J.js";import{CartesianPlot as a}from"./chunk-WQGBYFS3.js";import{CHART_INK as e,STATUS_VARS as l}from"./chunk-TZFACUMR.js";import{useShellStrings as o,useShellLocale as r}from"./chunk-VNTJ7QO5.js";import{formatPlain as n}from"./chunk-C3QOHMR6.js";import{jsx as i,jsxs as s}from"react/jsx-runtime";function c({steps:c,height:u=240,width:m,formatValue:h,yAxisLabel:f,className:p,emptyLabel:d,radius:b=3,connectors:g=!0}){const v=o().charts,x=r(),y=h??(t=>n(t,x));let k=0;const M=c.map(t=>{if(t.total){const a={from:0,to:k,value:k,total:!0};return{...t,...a}}const a=k;return k+=t.value,{...t,from:a,to:k,value:t.value,total:!1}}),j=M.flatMap(t=>[t.from,t.to]);/* @__PURE__ */
|
|
2
2
|
return i(a,{labels:c.map(t=>t.label),values:j,height:u,width:m,formatValue:y,yAxisLabel:f,className:p,emptyLabel:d,bandPadding:.36,ariaLabel:v.waterfall(c.length,y(M[0]?.from??0),y(k)),tooltip:a=>{const e=M[a],o=e?.total?l.neutral:e.value>=0?l.good:l.critical;/* @__PURE__ */
|
|
3
3
|
return i(t,{title:e?.label,rows:[{key:"step",color:o,label:e?.total?v.balance:e.value>=0?v.increase:v.decrease,value:e?.total?y(e.to):`${e.value>=0?"+":"−"}${y(Math.abs(e.value))}`},...e?.total?[]:[{key:"running",label:v.runningTotal,color:l.neutral,value:y(e.to)}]]})},children:({x:t,y:a,active:o})=>/* @__PURE__ */s("g",{children:[g&&M.slice(0,-1).map((l,o)=>
|
|
4
4
|
/* @__PURE__ */i("line",{x1:t.end(o),y1:a(l.to),x2:t(o+1),y2:a(l.to),stroke:e.grid,strokeWidth:1,shapeRendering:"crispEdges"},`c${o}`)),M.map((e,r)=>{const n=e.total?l.neutral:e.value>=0?l.good:l.critical,s=Math.min(a(e.from),a(e.to)),c=Math.max(1,Math.abs(a(e.to)-a(e.from)));/* @__PURE__ */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{formatMoney as e}from"./chunk-GEYM4WN3.js";import{EMPTY_VALUE as r}from"./chunk-36BRD5J3.js";import{TimeSeriesChart as t}from"./chunk-
|
|
1
|
+
import{formatMoney as e}from"./chunk-GEYM4WN3.js";import{EMPTY_VALUE as r}from"./chunk-36BRD5J3.js";import{TimeSeriesChart as t}from"./chunk-4LQRLYB4.js";import{ChartFrame as a}from"./chunk-DWR6RVX5.js";import{ColumnChart as l}from"./chunk-PAC4LK2N.js";import{TH_ONE_LINE as s}from"./chunk-WGLHB6WE.js";import{jsxs as o,jsx as i}from"react/jsx-runtime";function n({spec:n,height:c=200,width:m,animate:d=!0,className:h}){const u=function(r){if(r.currency)return t=>e(t,r.currency);const t=r.unit?` ${r.unit}`:"";return e=>`${e.toLocaleString("en-US",{maximumFractionDigits:2})}${t}`}(n),p=n.currency?r=>e(r,n.currency,{whole:!0}):u,b=n.series.map((e,r)=>({key:`s${r}`,label:e.name,data:e.values})),y=n.title??n.series.map(e=>e.name).join(", "),f=/* @__PURE__ */o("table",{className:"w-full border-collapse text-sm",children:[
|
|
2
2
|
/* @__PURE__ */i("thead",{children:/* @__PURE__ */o("tr",{children:[
|
|
3
3
|
/* @__PURE__ */i("td",{className:"border-b border-gray-200"}),n.series.map((e,r)=>/* @__PURE__ */i("th",{scope:"col",className:`${s} border-b border-gray-200 px-2 py-1 text-right font-semibold text-gray-700`,children:e.name},r))]})}),
|
|
4
4
|
/* @__PURE__ */i("tbody",{children:n.x.map((e,t)=>/* @__PURE__ */o("tr",{children:[
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import{ChartBrush as t}from"./chunk-MFDOGLFO.js";import{ChartDot as e}from"./chunk-CK2YOGUS.js";import{stepPath as a,curvePath as r,areaBetween as o,areaFrom as l}from"./chunk-VFC6QUEN.js";import{ChartDefs as n,MOTION as i,stagger as s,fillFor as c,dashFor as d,maskId as m}from"./chunk-465RRWBY.js";import{ChartSkeleton as h}from"./chunk-SZTIP6T7.js";import{useHighlight as u,highlightOpacity as f}from"./chunk-CNYAHYE6.js";import{ChartTooltip as p}from"./chunk-36VIGB6J.js";import{useDragZoom as g,DragBand as y,ChartZoomSummary as k,tooltipBesideBand as x}from"./chunk-EMUZJMR3.js";import{pairedAxes as v,niceAxis as b,niceMax as M,linearScale as N,axisGutter as w,bandScale as j,ladderScale as $}from"./chunk-2JWPNR2U.js";import{usePlotWidth as V}from"./chunk-MAFUXCPZ.js";import{resolveSeriesColor as z,CHART_INK as A,STATUS_VARS as L}from"./chunk-TZFACUMR.js";import{registerModalEscapeInterceptor as R}from"./chunk-TWVUQUUD.js";import{useShellStrings as S,useShellLocale as E}from"./chunk-VNTJ7QO5.js";import{formatPercent as T,formatPlain as W}from"./chunk-C3QOHMR6.js";import{useRef as C,useState as D,useId as U,useEffect as I}from"react";import{jsx as O,jsxs as P}from"react/jsx-runtime";var F=12,B=16,J=26,Q=52,Y=t=>"number"==typeof t&&Number.isFinite(t);function Z({series:Z,labels:G,height:H=200,stacked:K=!1,stackMode:X="value",levels:q,curve:_="linear",tension:tt=0,max:et,yTickCount:at=4,formatValue:rt,formatTooltipValue:ot,tooltipLabels:lt,yAxisLabel:nt,referenceLines:it,labelEndpoints:st=!1,dots:ct,dotVariant:dt="border",pulse:mt=!1,brush:ht=!1,range:ut,onRangeChange:ft,zoomable:pt=!0,columnStrip:gt,onSelect:yt,loading:kt=!1,animate:xt=!0,reveal:vt="left-to-right",fillVariant:bt="gradient",gridStyle:Mt="solid",width:Nt,className:wt,emptyLabel:jt}){const $t=S().charts,Vt=E(),zt=rt??(t=>W(t,Vt)),At=ot??zt,Lt=jt??$t.noData,Rt=C(null),St=V(Rt),Et=Nt??St,[Tt,Wt]=D(null),[Ct,Dt]=D(null),{highlighted:Ut}=u(),It=U(),Ot=ut??Ct,Pt=g(ht&&Ot?Ot[1]-Ot[0]+1:G.length,pt);if(I(()=>{if(null!==Tt)return R(t=>"Escape"===t.key&&(Wt(null),!0))},[Tt]),kt)/* @__PURE__ */
|
|
2
|
+
return O("div",{className:wt,ref:Rt,children:/* @__PURE__ */O(h,{height:H,width:Nt??St})});const Ft=G,Bt=ut??Ct??[0,Math.max(0,Ft.length-1)],[Jt,Qt]=Bt,Yt=t=>Pt.slice(ht?t.slice(Jt,Qt+1):t),Zt=lt?Yt(lt):void 0,Gt=Z.map((t,e)=>({...t,slot:e})).filter(t=>t.data.some(Y)).map(t=>({...t,data:Yt(t.data),pointTones:t.pointTones?Yt(t.pointTones):void 0})),Ht=t=>(ht?Jt:0)+(Pt.view?.[0]??0)+t;if(G=Yt(Ft),0===Gt.length||0===G.length)/* @__PURE__ */
|
|
3
|
+
return O("div",{className:wt,ref:Rt,children:/* @__PURE__ */O("p",{className:"flex items-center justify-center text-sm text-gray-500",style:{height:H},children:Lt})});const Kt=G.map((t,e)=>Gt.reduce((t,a)=>t+(Y(a.data[e])?a.data[e]:0),0)),Xt=(t,e)=>Kt[e]>0?t/Kt[e]:null,qt=[];if(K){let t=G.map(()=>0);for(const e of Gt)t=t.map((t,a)=>t+(Y(e.data[a])?e.data[a]:0)),qt.push("percent"===X?t.map((t,e)=>Xt(t,e)):[...t])}const _t=!!q&&q.length>0,te=t=>"right"===t.axis,ee=!K&&!_t&&void 0===et&&Gt.some(te)&&Gt.some(t=>!te(t)),ae=gt&&!K?gt:null,re=t=>!!ae&&"column"===t.mode,oe=(ee?Gt.filter(t=>!te(t)):Gt).filter(t=>!re(t)),le=ee?Gt.filter(te).flatMap(t=>t.data.filter(Y)):[],ne=K?(qt.at(-1)??[]).filter(Y):oe.flatMap(t=>t.data.filter(Y)),ie=ee?v([Math.min(0,...ne),Math.max(0,...ne)],[Math.min(0,...le),Math.max(0,...le)],{intervals:at+1,integerLeft:ne.every(Number.isInteger),integerRight:le.every(Number.isInteger)}):null,se=ie?ie.left:K&&"percent"===X||_t||void 0!==et?null:b(K?0:Math.min(0,...ne),Math.max(0,...ne),{intervals:at+1,integer:ne.every(Number.isInteger)}),ce=se?se.lo:0,de=K&&"percent"===X?1:se?se.hi:et??M(Math.max(...ne,0)),me=K&&"percent"===X?t=>T(Math.round(100*t),0,Vt):zt,he=_t?q:se?se.ticks:N([ce,de],{from:0,to:1}).ticks(at+1),ue=w(he.map(me),Q),fe=ie?w(ie.right.ticks.map(zt),B):B,pe={left:ue,right:Math.max(ue+1,Et-fe),top:F,bottom:H-J},ge=j(G.length,{from:pe.left,to:pe.right}),ye=_t?$(q,{from:pe.bottom,to:pe.top}):null,ke=N([ce,de],{from:pe.bottom,to:pe.top}),xe=ke(Math.max(ce,0)),ve=t=>ye?ye(t):ke(t),be=Gt.filter(re),Me=Math.max(0,...G.map((t,e)=>be.reduce((t,a)=>t+Math.max(0,Y(a.data[e])?a.data[e]:0),0))),Ne=t=>xe-(Me>0?t/Me:0)*(pe.bottom-pe.top)*(ae??0),we=ie?N([ie.right.lo,ie.right.hi],{from:pe.bottom,to:pe.top}):null,je=t=>we&&te(t)?we:ve,$e=ye?ye.levels.map(t=>({value:t,y:ye(t)})):he.map(t=>({value:t,y:ke(t)})),Ve=t=>e=>{e.preventDefault(),Wt(e=>{const a=(e??0)+t;return Math.min(G.length-1,Math.max(0,a))})},ze=Math.max(1,Math.ceil(G.length/Math.max(1,Math.floor(Et/96))));/* @__PURE__ */
|
|
4
|
+
return P("div",{className:`relative ${wt??""}`,ref:Rt,children:[
|
|
5
|
+
/* @__PURE__ */P("svg",{width:"100%",height:H,viewBox:`0 0 ${Et} ${H}`,role:"img","aria-label":$t.overIntervals(Gt.map(t=>t.label),G.length),tabIndex:0,className:"rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-deep)]",onMouseLeave:()=>Wt(null),onBlur:()=>Wt(null),style:pt?{userSelect:"none",touchAction:"pan-y"}:void 0,onKeyDown:t=>{if(yt&&null!==Tt&&("Enter"===t.key||" "===t.key))return t.preventDefault(),void yt(Ht(Tt));"ArrowRight"===t.key&&Ve(1)(t),"ArrowLeft"===t.key&&Ve(-1)(t)},children:[
|
|
6
|
+
/* @__PURE__ */O("defs",{children:/* @__PURE__ */O("clipPath",{id:It,children:/* @__PURE__ */O("rect",{x:pe.left,y:pe.top,width:pe.right-pe.left,height:pe.bottom-pe.top})})}),
|
|
7
|
+
/* @__PURE__ */O(n,{id:It,fills:Gt.map((t,e)=>({color:z(t.slot,t.color,t.tone),variant:t.fillVariant??bt})),fadeFrom:K?.42:.3,reveal:!!xt&&vt}),$e.map(t=>/* @__PURE__ */O("line",{x1:pe.left,y1:t.y,x2:pe.right,y2:t.y,stroke:A.grid,strokeWidth:1,shapeRendering:"crispEdges",strokeDasharray:"dashed"===Mt?"3 3":void 0},`grid-${t.value}`)),
|
|
8
|
+
/* @__PURE__ */O("line",{x1:pe.left,y1:xe,x2:pe.right,y2:xe,stroke:A.axis,strokeWidth:1,shapeRendering:"crispEdges"}),$e.map(t=>/* @__PURE__ */O("text",{x:pe.left-8,y:t.y+4,textAnchor:"end","data-axis-tick":"true",fontSize:11,fill:A.label,style:{fontVariantNumeric:"tabular-nums"},children:me(t.value)},`ytick-${t.value}`)),ie&&$e.map((t,e)=>/* @__PURE__ */O("text",{x:pe.right+8,y:t.y+4,textAnchor:"start","data-axis-tick":"true",fontSize:11,fill:A.label,style:{fontVariantNumeric:"tabular-nums"},children:zt(ie.right.ticks[e])},`ytick-r-${t.value}`)),nt&&/* @__PURE__ */O("text",{x:12,y:(pe.top+pe.bottom)/2,transform:`rotate(-90 12 ${(pe.top+pe.bottom)/2})`,textAnchor:"middle",fontSize:11,fill:A.label,children:nt}),
|
|
9
|
+
/* @__PURE__ */O("g",{clipPath:`url(#${It})`,mask:xt&&vt?`url(#${m(It)})`:void 0,children:Gt.map((t,e)=>{const n=z(t.slot,t.color,t.tone),m=t.mode??(K?"area":"line"),h=f(t.key,Ut);if("step"===m){const e=G.map((e,a)=>({start:ge(a),end:ge.end(a),value:t.data[a]})).filter(t=>Y(t.value)).map(e=>({start:e.start,end:e.end,y:je(t)(e.value)}));/* @__PURE__ */
|
|
10
|
+
return O("path",{d:a(e),fill:"none",stroke:n,strokeWidth:2.5,strokeLinecap:"butt",strokeLinejoin:"miter",opacity:h??void 0,className:"rosh-viz-mark"},t.key)}const u=G.map((a,r)=>{const o=K?qt[e]?.[r]:t.data[r];return Y(o)?[ge.center(r),je(t)(o)]:null}).filter(t=>null!==t);if(0===u.length)return null;if("column"===m){const a=Math.max(1,.62*ge.bandwidth),r="solid"===t.fillVariant,o=je(t);return re(t)?/* @__PURE__ */O("g",{opacity:h??void 0,className:"rosh-viz-mark",children:G.map((o,l)=>{const i=t.data[l];if(!Y(i)||i<=0)return null;const s=((t,e)=>be.slice(0,be.findIndex(e=>e.key===Gt[t]?.key)).reduce((t,a)=>t+Math.max(0,Y(a.data[e])?a.data[e]:0),0))(e,l),c=Ne(s+i),d=Ne(s)-(s>0?1:0);/* @__PURE__ */
|
|
11
|
+
return O("rect",{x:ge.center(l)-a/2,y:c,width:a,height:Math.max(0,d-c),rx:2,fill:t.pointTones?.[l]?L[t.pointTones[l]]:n,fillOpacity:r?1:.55},l)})},t.key):/* @__PURE__ */O("g",{opacity:h??void 0,className:"rosh-viz-mark",children:G.map((l,c)=>{const d=K?qt[e]?.[c]:t.data[c];if(!Y(d))return null;const m=o(d);/* @__PURE__ */
|
|
12
|
+
return O("rect",{x:ge.center(c)-a/2,y:Math.min(m,xe),width:a,height:Math.abs(xe-m),rx:2,fill:n,fillOpacity:r?1:.35,className:xt?i.rise:void 0,style:xt?s(c,26):void 0},c)})},t.key)}const p=r(u,_,tt),g=K&&e>0?G.map((t,a)=>[ge.center(a),ve(qt[e-1]?.[a]??0)-2]):null,y=g?o(p,g):l(p,u,xe);/* @__PURE__ */
|
|
13
|
+
return P("g",{opacity:h??void 0,className:"rosh-viz-mark",children:[("area"===m||K)&&
|
|
14
|
+
/* @__PURE__ */O("path",{d:y,fill:c(It,e,t.fillVariant??bt,n),stroke:"none"}),
|
|
15
|
+
/* @__PURE__ */O("path",{d:p,fill:"none",stroke:n,strokeWidth:2,strokeLinejoin:"round",strokeLinecap:"round",strokeDasharray:d(t.stroke??(t.forecast?"animated-dashed":"solid")),className:xt&&("animated-dashed"===t.stroke||t.forecast&&!t.stroke)?i.march:void 0})]},t.key)})}),it?.map((t,e)=>{const a=t.color??L[t.tone??"critical"],r=ve(t.value);/* @__PURE__ */
|
|
16
|
+
return P("g",{children:[
|
|
17
|
+
/* @__PURE__ */O("line",{x1:pe.left,y1:r,x2:pe.right,y2:r,stroke:a,strokeWidth:1,strokeDasharray:"5 4"}),t.label&&/* @__PURE__ */O("text",{x:pe.right-4,y:r-5,textAnchor:"end",fontSize:11,fontWeight:600,fill:a,children:t.label})]},`rule-${e}`)}),"none"!==(ct??(st?"last":"none"))&&Gt.map((t,a)=>{if("column"===t.mode)return null;const r=ct??(st?"last":"none"),o=z(t.slot,t.color,t.tone),l=[...t.data].map(Y).lastIndexOf(!0),n="all"===r?G.map((t,e)=>e).filter(e=>Y(K?qt[a]?.[e]:t.data[e])):l>=0?[l]:[];/* @__PURE__ */
|
|
18
|
+
return P("g",{children:[n.map(r=>{const n=K?qt[a]?.[r]:t.data[r];return Y(n)?/* @__PURE__ */O(e,{cx:ge.center(r),cy:je(t)(n),color:o,variant:dt,pulse:mt&&r===l,title:`${G[r]}: ${t.label} ${zt(n)}`},r):null}),st&&l>=0&&Y(K?qt[a]?.[l]:t.data[l])&&/* @__PURE__ */O("text",{x:ge.center(l)-10,y:je(t)(K?qt[a]?.[l]:t.data[l])-9,textAnchor:"end",fontSize:12,fontWeight:600,fill:A.label,style:{fontVariantNumeric:"tabular-nums"},children:zt(K?qt[a]?.[l]:t.data[l])})]},`dots-${t.key}`)}),G.map((t,e)=>e%ze===0?/* @__PURE__ */O("text",{x:ge.center(e),y:H-8,textAnchor:"middle",fontSize:11,fill:A.label,style:{fontVariantNumeric:"tabular-nums"},children:t},`xtick-${e}`):null),null!==Tt&&/* @__PURE__ */O("line",{x1:ge.center(Tt),y1:pe.top,x2:ge.center(Tt),y2:pe.bottom,stroke:A.axis,strokeWidth:1}),ae&&Me>0&&
|
|
19
|
+
/* @__PURE__ */P("g",{pointerEvents:"none","data-column-strip":"true",children:[
|
|
20
|
+
/* @__PURE__ */O("line",{x1:pe.left,y1:Ne(Me),x2:pe.right,y2:Ne(Me),stroke:A.grid,strokeWidth:1,strokeDasharray:"2 3",shapeRendering:"crispEdges"}),
|
|
21
|
+
/* @__PURE__ */O("text",{x:pe.left+4,y:Ne(Me)-4,fontSize:11,fill:A.label,style:{fontVariantNumeric:"tabular-nums"},children:zt(Me)})]}),Pt.drag&&/* @__PURE__ */O(y,{x0:ge(Pt.drag[0]),x1:ge(Pt.drag[1])+ge.bandwidth,top:pe.top,bottom:pe.bottom}),G.map((t,e)=>/* @__PURE__ */O("rect",{x:ge(e),y:pe.top,width:Math.max(1,ge.bandwidth),height:pe.bottom-pe.top,fill:"transparent",onMouseEnter:()=>Wt(e),onPointerDown:()=>Pt.press(e),onPointerEnter:()=>Pt.over(e),onPointerUp:Pt.release,onClick:yt?()=>yt(Ht(e)):void 0,style:yt?{cursor:"pointer"}:void 0},`hit-${e}`))]}),Pt.view&&/* @__PURE__ */O(k,{from:Zt?.[0]??G[0],to:Zt?.at(-1)??G[G.length-1],count:G.length,total:K&&"percent"!==X?At(Kt.reduce((t,e)=>t+e,0)):ae?At(be.reduce((t,e)=>t+e.data.filter(Y).reduce((t,e)=>t+e,0),0)):void 0,rows:(ae?be:Gt).filter(t=>t.data.some(Y)).map(t=>{const e=t.data.filter(Y),a=z(t.slot,t.color,t.tone);if(0===e.length)return{key:t.key,label:t.label,color:a,value:"—"};const r=e.reduce((t,e)=>t+e,0),o=K||"column"===t.mode?At(r):$t.zoomLevel(At(r/e.length),At(Math.max(...e)));return{key:t.key,label:t.label,color:a,value:o}}),onClear:Pt.clear}),ht&&Ft.length>2&&/* @__PURE__ */O(t,{className:"mt-1",labels:Ft,width:Et,data:Z[0]?.data??[],range:Bt,onRangeChange:t=>{ft?ft(t):Dt(t)}}),null!==Tt&&
|
|
22
|
+
/* @__PURE__ */O("div",{className:"pointer-events-none absolute top-2 z-10",style:x(ge.center(Tt),ge.bandwidth,Et),children:/* @__PURE__ */O(p,{title:Zt?.[Tt]??G[Tt],rows:Gt.map((t,e)=>({key:t.key,label:t.label,color:z(t.slot,t.color,t.tone),value:Y(t.data[Tt])?K&&"percent"===X?`${T(100*(Xt(t.data[Tt],Tt)??0),1,Vt)} · ${At(t.data[Tt])}`:At(t.data[Tt]):void 0})),footnote:K&&"percent"===X?$t.inBucket(At(Kt[Tt])):void 0})})]})}export{Z as TimeSeriesChart};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Icon as e}from"./chunk-
|
|
1
|
+
import{Icon as e}from"./chunk-R64OZ6TC.js";import{DEFAULT_SHELL_STRINGS as t}from"./chunk-VNTJ7QO5.js";import{jsx as r}from"react/jsx-runtime";var n=["left","center","right","justify"],a={left:"align-left",center:"align-center",right:"align-right",justify:"align-justify"};function i(t){switch(t){case"left":/* @__PURE__ */
|
|
2
2
|
return r(e,{name:"align-left"});case"center":/* @__PURE__ */
|
|
3
3
|
return r(e,{name:"align-center"});case"right":/* @__PURE__ */
|
|
4
4
|
return r(e,{name:"align-right"});case"justify":/* @__PURE__ */
|