efficient-shell 12.27.0 → 12.30.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 +38 -0
- package/dist/{Browser-6YRO47YI.js → Browser-FQHXHI3R.js} +18 -18
- package/dist/Calculator-XCRU5K4O.js +29 -0
- package/dist/{CurrencyConverter-G5IYUCN7.js → CurrencyConverter-EHIQIFJK.js} +9 -9
- package/dist/{Files-K7H7WHRS.js → Files-LTUUGPAM.js} +85 -85
- package/dist/{Notepad-EHISTRGJ.js → Notepad-JPAXNEFR.js} +9 -9
- package/dist/PdfViewer-J55QKFNS.js +1 -0
- package/dist/{PomodoroTimer-SFTPXEDV.js → PomodoroTimer-IVDZBBUN.js} +10 -10
- package/dist/{Preview-L4RT7TBC.js → Preview-KRK4XT2B.js} +35 -35
- package/dist/Sidebar-FCXIPW5K.js +44 -0
- package/dist/{Stock-YCPMLYPR.js → Stock-OBS2LPX4.js} +7 -7
- package/dist/{Weather-TLFNIPDG.js → Weather-I4TJBIEN.js} +17 -17
- package/dist/{WorldClock-66IRFS2W.js → WorldClock-YU2ZPVSA.js} +6 -6
- package/dist/ai/index.d.ts +155 -6
- package/dist/ai/index.js +109 -91
- package/dist/ai.css +1 -1
- package/dist/apps/ImageAnnotator.js +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/bin/media-host-check.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/charts/BoxPlotChart.js +1 -1
- package/dist/charts/CandlestickChart.js +1 -1
- package/dist/charts/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/FlowChart.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-W2663E4S.js → chunk-23CZSU3H.js} +3 -3
- package/dist/{chunk-DK5SXOXJ.js → chunk-2DCATU5B.js} +1 -1
- package/dist/{chunk-RF3ZFTAU.js → chunk-2IEKMFVL.js} +1 -1
- package/dist/{chunk-676TKVDM.js → chunk-2N6WWL7Y.js} +1 -1
- package/dist/{chunk-KBI3T6UC.js → chunk-36MM4YRK.js} +9 -9
- package/dist/{chunk-3J3FBYIZ.js → chunk-37EYKPR6.js} +1 -1
- package/dist/{chunk-63TCQAGE.js → chunk-3B3QIHF7.js} +5 -5
- package/dist/chunk-3DSGJIC7.js +7 -0
- package/dist/{chunk-CCK2UWQ5.js → chunk-3HLV6BEC.js} +12 -12
- package/dist/{chunk-X34ZBXIU.js → chunk-3N4XJS43.js} +3 -3
- package/dist/{chunk-232YPI2L.js → chunk-3R2TMLKH.js} +5 -5
- package/dist/{chunk-YW3UKSON.js → chunk-3ZC53F4T.js} +3 -3
- package/dist/{chunk-OLCRYT3N.js → chunk-42GNFUAP.js} +12 -12
- package/dist/{chunk-7LTU5TJD.js → chunk-4EFIUJ7X.js} +1 -1
- package/dist/{chunk-VQ4X3OBR.js → chunk-4FUQK2LK.js} +1 -1
- package/dist/{chunk-QPSJYSET.js → chunk-4MCI7UHQ.js} +5 -5
- package/dist/chunk-4SEPQN2N.js +12 -0
- package/dist/{chunk-GEVNBBM7.js → chunk-4WW3SNL6.js} +1 -1
- package/dist/{chunk-TUPPFC74.js → chunk-4YCWO2GZ.js} +7 -7
- package/dist/{chunk-SSNTJ3M4.js → chunk-5O5QMMMG.js} +8 -8
- package/dist/{chunk-N32LNPPP.js → chunk-5RLJAXDR.js} +7 -7
- package/dist/{chunk-3YBXA72C.js → chunk-5X3Z45SL.js} +1 -1
- package/dist/{chunk-FD6DJRD4.js → chunk-5XYRFK7D.js} +1 -1
- package/dist/{chunk-3JL4TCA7.js → chunk-5ZS3VOJH.js} +1 -1
- package/dist/chunk-64ZDYUE7.js +27 -0
- package/dist/{chunk-XHZVUO6F.js → chunk-67JLD6AU.js} +5 -5
- package/dist/{chunk-OM6VWUAZ.js → chunk-6EETON2U.js} +1 -1
- package/dist/{chunk-4PIQG2ZK.js → chunk-6EXWWPAW.js} +1 -1
- package/dist/{chunk-N3R6N7LG.js → chunk-6UB6YY3H.js} +1 -1
- package/dist/{chunk-ZGWXSHVM.js → chunk-77BK2IAJ.js} +1 -1
- package/dist/chunk-7DTWIWFO.js +6 -0
- package/dist/chunk-7IGWU6DK.js +8 -0
- package/dist/{chunk-DCCYUCBM.js → chunk-7NO4IENQ.js} +1 -1
- package/dist/{chunk-YI6SYUAK.js → chunk-AIGLJYQ5.js} +1 -1
- package/dist/chunk-AJVL6LXI.js +22 -0
- package/dist/{chunk-34TQBJ7I.js → chunk-ANGNTN36.js} +1 -1
- package/dist/chunk-ASDYAASN.js +3 -0
- package/dist/{chunk-KZRZYLN7.js → chunk-AYCWVVJ3.js} +35 -35
- package/dist/{chunk-VLMBXPRM.js → chunk-B27XRZ47.js} +1 -1
- package/dist/{chunk-JN5NUZ6D.js → chunk-BEB3AGSY.js} +1 -1
- package/dist/{chunk-4ZRGMK7Y.js → chunk-CBBU74QT.js} +1 -1
- package/dist/chunk-CHV7U5UV.js +9 -0
- package/dist/{chunk-5WK56FA3.js → chunk-CIOPLPZW.js} +1 -1
- package/dist/{chunk-B4GRHE44.js → chunk-CVEVPB3O.js} +3 -3
- package/dist/chunk-CXXMSYA6.js +1 -0
- package/dist/{chunk-RY7JCGLI.js → chunk-DHRCI7KE.js} +1 -1
- package/dist/{chunk-Y523KUQC.js → chunk-DOKA65JI.js} +1 -1
- package/dist/{chunk-XKNKRKHH.js → chunk-E7RMS776.js} +14 -14
- package/dist/chunk-EWSOX4WP.js +28 -0
- package/dist/{chunk-BZHP645G.js → chunk-FEWWCWKV.js} +9 -9
- package/dist/{chunk-SR4W2SYQ.js → chunk-FIXZT5TZ.js} +7 -7
- package/dist/{chunk-6GWYFUME.js → chunk-FM34DWV7.js} +6 -6
- package/dist/{chunk-VP2GI3UP.js → chunk-FPYOZOUY.js} +8 -8
- package/dist/{chunk-QZCLHKCI.js → chunk-FSORYU5C.js} +12 -12
- package/dist/{chunk-FQ4IRBMA.js → chunk-FYGPJPU7.js} +1 -1
- package/dist/{chunk-KP2JYXEU.js → chunk-GANZLRMW.js} +9 -9
- package/dist/{chunk-WBGJ4XB7.js → chunk-GBPGZFBS.js} +4 -4
- package/dist/chunk-GKX3C3JE.js +13 -0
- package/dist/{chunk-QMSINDXL.js → chunk-GL4NELAT.js} +1 -1
- package/dist/{chunk-DGHSCKOE.js → chunk-GN3AHAVY.js} +4 -4
- package/dist/{chunk-THLXDI76.js → chunk-GOAFMGUI.js} +10 -10
- package/dist/{chunk-7ZJRBFHA.js → chunk-HC3BZPWX.js} +1 -1
- package/dist/{chunk-JSHMIMAJ.js → chunk-HCDG7EUR.js} +1 -1
- package/dist/{chunk-GUHCKMC7.js → chunk-HE2I6KWY.js} +2 -2
- package/dist/chunk-HJECGV6W.js +5 -0
- package/dist/{chunk-TYQ2JL4J.js → chunk-HOXXEF52.js} +1 -1
- package/dist/{chunk-3CKYFCX4.js → chunk-HRNT4UDG.js} +17 -17
- package/dist/{chunk-WPG3ZHYT.js → chunk-HU24RSAE.js} +1 -1
- package/dist/{chunk-I7JU4IU3.js → chunk-I6V4DMNR.js} +2 -2
- package/dist/{chunk-EEB5XPWP.js → chunk-IBPULOGJ.js} +2 -2
- package/dist/{chunk-RZ2DWX4N.js → chunk-ILSE5F5F.js} +5 -5
- package/dist/{chunk-KAKJ7ENS.js → chunk-IOIY54KO.js} +2 -2
- package/dist/{chunk-NUPK6CUV.js → chunk-IQTURGC4.js} +1 -1
- package/dist/{chunk-XZXFUZIK.js → chunk-ISVODSRP.js} +6 -3
- package/dist/{chunk-VBLCYL4L.js → chunk-JA5WM66L.js} +1 -1
- package/dist/{chunk-H6WXTJOT.js → chunk-JGZEZHMP.js} +1 -1
- package/dist/{chunk-CBVKGAZH.js → chunk-JOANOIVK.js} +1 -1
- package/dist/{chunk-24Y5JHIR.js → chunk-JTRQ7HAS.js} +1 -1
- package/dist/{chunk-GLRRX4AL.js → chunk-K5YT5PMJ.js} +1 -1
- package/dist/{chunk-CEIIQRK5.js → chunk-K6LO6QI5.js} +6 -6
- package/dist/chunk-KHFPF534.js +8 -0
- package/dist/{chunk-JGRDG7CB.js → chunk-KKYNDLOC.js} +6 -6
- package/dist/{chunk-4IHYWLWE.js → chunk-KLG6RYYC.js} +5 -5
- package/dist/{chunk-7K3FYCRZ.js → chunk-KNNFNOX7.js} +9 -9
- package/dist/chunk-KPFP2I2S.js +8 -0
- package/dist/{chunk-JZBLOIL7.js → chunk-KPPKPGQI.js} +1 -1
- package/dist/{chunk-SY66VJAI.js → chunk-KTO427N3.js} +1 -1
- package/dist/{chunk-XHSMDUEW.js → chunk-LBLWN3SH.js} +3 -3
- package/dist/chunk-LHATGPIE.js +19 -0
- package/dist/{chunk-T2TZBTSM.js → chunk-LQD54ZL5.js} +1 -1
- package/dist/{chunk-4ZLFAXOC.js → chunk-M2GF44WC.js} +12 -12
- package/dist/{chunk-AQCUGTOR.js → chunk-MFZ4YMXE.js} +6 -6
- package/dist/{chunk-VFHKD7TQ.js → chunk-MHVWUYEN.js} +1 -1
- package/dist/chunk-MKPZIEQP.js +23 -0
- package/dist/{chunk-KZHVKSNF.js → chunk-MRVW6F5E.js} +1 -1
- package/dist/chunk-MUSNAMWH.js +1 -0
- package/dist/{chunk-VEQ45GAH.js → chunk-MVBDE4AX.js} +1 -1
- package/dist/{chunk-3E3LR2PM.js → chunk-MYJ3HQYG.js} +12 -12
- package/dist/{chunk-JFGJJNT2.js → chunk-N2BWOHNM.js} +6 -6
- package/dist/{chunk-ILDPJ26Y.js → chunk-N2FX4O3H.js} +1 -1
- package/dist/{chunk-N2445WHJ.js → chunk-NJ6WZHXC.js} +5 -5
- package/dist/{chunk-YRY64DQV.js → chunk-NLQLVXMJ.js} +1 -1
- package/dist/{chunk-Z3CTYK3U.js → chunk-NSNM4QIV.js} +5 -5
- package/dist/{chunk-PLPMCE44.js → chunk-O3SCB4QZ.js} +8 -8
- package/dist/{chunk-UR2ECNBB.js → chunk-OMSIXLK4.js} +1 -1
- package/dist/{chunk-74JMBOQH.js → chunk-P4NWDRHS.js} +26 -26
- package/dist/{chunk-DMEP2SCP.js → chunk-PAVOVX3D.js} +3 -3
- package/dist/{chunk-LIWBCIRZ.js → chunk-PBZ3UQMS.js} +4 -4
- package/dist/chunk-PRWA4AAC.js +11 -0
- package/dist/{chunk-6RK6R3RY.js → chunk-PT4GMPUB.js} +1 -1
- package/dist/{chunk-MWTCGJAI.js → chunk-Q4BJW37U.js} +1 -1
- package/dist/{chunk-WNOXHJVT.js → chunk-QB7TIWHT.js} +5 -5
- package/dist/{chunk-YO26RV3H.js → chunk-QF4FYOVE.js} +1 -1
- package/dist/{chunk-DJXXY23A.js → chunk-QHWD3G7T.js} +2 -2
- package/dist/{chunk-GEZM6ARD.js → chunk-QIPO4EVJ.js} +1 -1
- package/dist/{chunk-6FZ5JTBY.js → chunk-QMBMK6PP.js} +2 -2
- package/dist/{chunk-TOVEZAIM.js → chunk-QOYKBINM.js} +1 -1
- package/dist/{chunk-WXZZGHET.js → chunk-QT34GMZR.js} +1 -1
- package/dist/chunk-QV5A7NFQ.js +11 -0
- package/dist/chunk-RJG67VRP.js +15 -0
- package/dist/{chunk-LBKKKZ4M.js → chunk-RMUOUMV2.js} +2 -2
- package/dist/{chunk-CALBDO7B.js → chunk-RPXRMTOU.js} +1 -1
- package/dist/chunk-RVD6HJUJ.js +4 -0
- package/dist/{chunk-CJHYOHMU.js → chunk-SAAXAAAH.js} +1 -1
- package/dist/chunk-TIYRBJSB.js +7 -0
- package/dist/{chunk-4BKJ6A5H.js → chunk-TJ5ZX5HP.js} +10 -10
- package/dist/chunk-TN3W72FC.js +8 -0
- package/dist/{chunk-2DYVVHZA.js → chunk-U22563X2.js} +1 -1
- package/dist/{chunk-QADNVFV5.js → chunk-U45APXV3.js} +1 -1
- package/dist/{chunk-OOWPLQD5.js → chunk-UEADX2GV.js} +2 -2
- package/dist/chunk-UK2D2CSB.js +14 -0
- package/dist/{chunk-Z66QBDNU.js → chunk-UOHHIEH4.js} +1 -1
- package/dist/{chunk-MEN4B6NP.js → chunk-UQNKFMJR.js} +12 -12
- package/dist/{chunk-FTMCNC66.js → chunk-UZFFSZFI.js} +1 -1
- package/dist/{chunk-SE6IQZYW.js → chunk-V64XY7L4.js} +9 -9
- package/dist/{chunk-75H4BWNC.js → chunk-VEF3STCH.js} +1 -1
- package/dist/chunk-VLI2ED22.js +7 -0
- package/dist/{chunk-V4XR4MOS.js → chunk-VREZFFRE.js} +1 -1
- package/dist/chunk-VY5NO4TS.js +2 -0
- package/dist/{chunk-QG37GJP2.js → chunk-WBAWJIVM.js} +4 -4
- package/dist/{chunk-CMJD5URC.js → chunk-WCJR2GNH.js} +18 -18
- package/dist/{chunk-Y7KDCC6E.js → chunk-WM37FXRK.js} +1 -1
- package/dist/{chunk-4LOHQ4QB.js → chunk-X27K2NCU.js} +5 -5
- package/dist/{chunk-L543DFHF.js → chunk-X5RFTIHV.js} +1 -1
- package/dist/chunk-XJTZU7UH.js +4 -0
- package/dist/{chunk-RBS3AWE7.js → chunk-XK3VYRLR.js} +1 -1
- package/dist/{chunk-FJVZ2W55.js → chunk-XMAOLCQV.js} +1 -1
- package/dist/{chunk-GC4N4UQM.js → chunk-XXRUDMD5.js} +5 -5
- package/dist/{chunk-34EBBZFK.js → chunk-Y6H5C6A4.js} +1 -1
- package/dist/{chunk-LPPJNZQ6.js → chunk-YGKQMENL.js} +1 -1
- package/dist/{chunk-NOGSS432.js → chunk-YNE5YC6E.js} +1 -1
- package/dist/chunk-YS3CF7GL.js +2 -0
- package/dist/{chunk-R62JKPYY.js → chunk-Z2Z653OO.js} +1 -1
- package/dist/{chunk-G2Y5I5OR.js → chunk-ZSVBEJ4G.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/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/Input.js +1 -1
- package/dist/forms/InputNumber.js +1 -1
- package/dist/forms/LinkPicker.js +1 -1
- package/dist/forms/MediaLibrary.js +1 -1
- package/dist/forms/MediaUploadField.js +1 -1
- package/dist/forms/MediaUploadGrid.js +1 -1
- package/dist/forms/MediaUsedInList.js +1 -1
- package/dist/forms/NumericKeypad.js +1 -1
- package/dist/forms/PositionInput.js +1 -1
- package/dist/forms/RenameField.js +1 -1
- package/dist/forms/Select.js +1 -1
- package/dist/forms/SidesInput.d.ts +13 -2
- 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/UnitMenu.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/hooks/useTheme.d.ts +1 -1
- package/dist/icons/efficient-glyphs.js +1 -1
- package/dist/icons/efficient-looks.js +1 -1
- package/dist/icons/efficient.js +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/icons/looks/map.js +1 -1
- package/dist/icons/payment.js +1 -1
- package/dist/icons/sets.js +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +506 -506
- package/dist/locales/zh-Hans.js +1 -1
- package/dist/map/index.js +5 -5
- package/dist/markdown/index.js +1 -1
- package/dist/model-viewer/index.d.ts +123 -0
- package/dist/model-viewer/index.js +7 -0
- 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 +10 -0
- package/dist/shell/strings.js +1 -1
- package/dist/shell/toast.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/templates/AuthScreen.js +1 -1
- package/dist/templates/ChatTemplate.js +1 -1
- package/dist/templates/CheckoutTemplate.js +1 -1
- package/dist/templates/DashboardTemplate.js +1 -1
- package/dist/templates/DataTablePage.js +1 -1
- package/dist/templates/EmailTemplate.js +1 -1
- package/dist/templates/ErrorBoundary.d.ts +1 -1
- package/dist/templates/ErrorBoundary.js +1 -1
- package/dist/templates/ErrorPage.js +1 -1
- package/dist/templates/FormLayoutPage.js +1 -1
- package/dist/templates/GalleryTemplate.js +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +12 -1
- package/dist/Calculator-LSDVIJVQ.js +0 -29
- package/dist/PdfViewer-UY5SRC63.js +0 -1
- package/dist/Sidebar-BKNCPUOE.js +0 -44
- package/dist/chunk-436PJFHC.js +0 -11
- package/dist/chunk-4Y33Y4OX.js +0 -8
- package/dist/chunk-574SLTKO.js +0 -8
- package/dist/chunk-A4PFVMQ2.js +0 -7
- package/dist/chunk-BHHFVIAD.js +0 -2
- package/dist/chunk-BM2QIV64.js +0 -23
- package/dist/chunk-D2WJAF62.js +0 -4
- package/dist/chunk-DG2TGWXI.js +0 -15
- package/dist/chunk-DRMIQ3YE.js +0 -1
- package/dist/chunk-ENFXDIIZ.js +0 -8
- package/dist/chunk-FI6IJTAJ.js +0 -14
- package/dist/chunk-FVKXDF2Q.js +0 -12
- package/dist/chunk-HMT3MES3.js +0 -27
- package/dist/chunk-INADSWOF.js +0 -28
- package/dist/chunk-LCEQIFPK.js +0 -3
- package/dist/chunk-OM42AUMS.js +0 -4
- package/dist/chunk-OQ6TECLX.js +0 -6
- package/dist/chunk-SFULX4E3.js +0 -7
- package/dist/chunk-T7D73HT7.js +0 -11
- package/dist/chunk-TM4CRQ3W.js +0 -19
- package/dist/chunk-TU2L7NW3.js +0 -7
- package/dist/chunk-UP4HLGMZ.js +0 -9
- package/dist/chunk-VABHQDN5.js +0 -1
- package/dist/chunk-VDYF3WPJ.js +0 -2
- package/dist/chunk-XQWHKXLS.js +0 -22
- package/dist/chunk-YIUWX2IU.js +0 -8
- package/dist/chunk-YX2OOGV7.js +0 -4
- package/dist/chunk-ZQ24H5UO.js +0 -13
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{GalleryTemplate as default}from"../chunk-
|
|
2
|
+
export{GalleryTemplate as default}from"../chunk-6EXWWPAW.js";import"../chunk-I5EVMLPB.js";import"../chunk-FQEALPZJ.js";import"../chunk-K6LO6QI5.js";import"../chunk-EFKJLUYP.js";import"../chunk-JMGDGNM7.js";import"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";import"../chunk-R2VKEMZH.js";import"../chunk-G67CJAQ2.js";import"../chunk-SOZCWT6I.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-HCDG7EUR.js";import"../chunk-C3QOHMR6.js";
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export { MAX_FRACTION_DIGITS, appendKey, backspace } from '../forms/keypadInput.
|
|
|
41
41
|
export { default as TileButton, TileButtonProps, TileSize } from '../forms/TileButton.js';
|
|
42
42
|
export { default as Segmented, SegmentedOption, SegmentedProps, SegmentedSize } from '../forms/Segmented.js';
|
|
43
43
|
export { default as IconPicker, IconPickerOption, IconPickerProps } from '../forms/IconPicker.js';
|
|
44
|
-
export { Side, SidesEachToggle, SidesGlyphs, default as SidesInput, SidesInputProps, SidesValue, sidesStartEach } from '../forms/SidesInput.js';
|
|
44
|
+
export { Side, SideDisplay, SidesEachToggle, SidesGlyphs, default as SidesInput, SidesInputProps, SidesValue, sidesStartEach } from '../forms/SidesInput.js';
|
|
45
45
|
export { UnitChoice, default as UnitMenu, UnitMenuProps } from '../forms/UnitMenu.js';
|
|
46
46
|
export { PositionAxis, default as PositionInput, PositionInputProps, PositionValue } from '../forms/PositionInput.js';
|
|
47
47
|
export { default as BorderInput, BorderInputProps, BorderValue, borderSides, borderStartEach } from '../forms/BorderInput.js';
|
package/dist/ui/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import"../chunk-GMHMWDXU.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{DashboardTemplate}from"../chunk-NUPK6CUV.js";export{DataTablePage}from"../chunk-34EBBZFK.js";export{EmailTemplate}from"../chunk-FD6DJRD4.js";export{ErrorBoundary}from"../chunk-VFHKD7TQ.js";export{ErrorPage}from"../chunk-75H4BWNC.js";export{FormLayoutPage}from"../chunk-YRY64DQV.js";export{GalleryTemplate}from"../chunk-4PIQG2ZK.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-L543DFHF.js";export{ChatTemplate}from"../chunk-676TKVDM.js";export{CheckoutTemplate}from"../chunk-JN5NUZ6D.js";export{TopNav}from"../chunk-ILDPJ26Y.js";export{Statistic}from"../chunk-Z66QBDNU.js";export{Stepper}from"../chunk-SY66VJAI.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-I5EVMLPB.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-ZGWXSHVM.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-JGRDG7CB.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-B4GRHE44.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-6GWYFUME.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-4ZLFAXOC.js";export{ResizeHandle}from"../chunk-OOWPLQD5.js";export{SettingReset}from"../chunk-I7JU4IU3.js";export{SettingRow}from"../chunk-4BKJ6A5H.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-4ZRGMK7Y.js";export{MetricBar}from"../chunk-7K3FYCRZ.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-YO26RV3H.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-BHHFVIAD.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-CMJD5URC.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{PageHeader}from"../chunk-RY7JCGLI.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-7KWYVQMX.js";export{GlobalSearch,openGlobalSearch}from"../chunk-N2445WHJ.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-HGOWQO63.js";export{HelpCenter}from"../chunk-SSNTJ3M4.js";export{IconRail,IconRailButton}from"../chunk-CBVKGAZH.js";import"../chunk-FQEALPZJ.js";export{CountBadge}from"../chunk-OM6VWUAZ.js";export{EditableGrid}from"../chunk-SE6IQZYW.js";export{BudgetBar,budgetState}from"../chunk-4LOHQ4QB.js";export{Card,StatCard}from"../chunk-CEIIQRK5.js";export{ContainerFillChart}from"../chunk-SR4W2SYQ.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-7ZJRBFHA.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-W2663E4S.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-3J3FBYIZ.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-HNBMBC77.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{WidthsBar}from"../chunk-XHZVUO6F.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{Snippet}from"../chunk-QPSJYSET.js";export{SplitButton_default as SplitButton}from"../chunk-LCEQIFPK.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-YIUWX2IU.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-OQ6TECLX.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-Y523KUQC.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-VBLCYL4L.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-OM42AUMS.js";export{Slider,SliderGroup}from"../chunk-63TCQAGE.js";export{LinkPicker,TextLinkField}from"../chunk-TUPPFC74.js";export{SearchableSelect}from"../chunk-ZQ24H5UO.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-INADSWOF.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-OLCRYT3N.js";import"../chunk-RF3ZFTAU.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-T2TZBTSM.js";export{ImageLightbox,lightboxKind}from"../chunk-436PJFHC.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-UP4HLGMZ.js";export{Breadcrumbs}from"../chunk-QMSINDXL.js";export{mediaLibraryMenu}from"../chunk-VQ4X3OBR.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-NOGSS432.js";export{RenameField}from"../chunk-GEZM6ARD.js";export{NativeSelect,Select_default as Select}from"../chunk-TM4CRQ3W.js";import"../chunk-EO5RLFRX.js";import"../chunk-GLRRX4AL.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-PLPMCE44.js";export{MediaUsedInList}from"../chunk-FQ4IRBMA.js";export{NumericKeypad}from"../chunk-TYQ2JL4J.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-GCTJIZTJ.js";export{PositionInput}from"../chunk-G2Y5I5OR.js";export{FormErrorSummary}from"../chunk-QADNVFV5.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{CornersInput}from"../chunk-WBGJ4XB7.js";export{DatePicker_default as DatePicker}from"../chunk-N32LNPPP.js";export{DateRangePicker,toISODate}from"../chunk-BM2QIV64.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-VEQ45GAH.js";export{DisplayChips}from"../chunk-3JL4TCA7.js";export{FilePicker_default as FilePicker}from"../chunk-KBI3T6UC.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{AlignmentGrid}from"../chunk-3DWVSQIJ.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-YW3UKSON.js";export{IconPicker}from"../chunk-X34ZBXIU.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-MEN4B6NP.js";export{Popover}from"../chunk-64RHGJXK.js";export{InputNumber_default as InputNumber}from"../chunk-LBKKKZ4M.js";export{UnitMenu}from"../chunk-TOVEZAIM.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{BrandAssetEditor}from"../chunk-AQCUGTOR.js";export{MediaUploadField}from"../chunk-BZHP645G.js";export{Segmented}from"../chunk-HNIIDDLJ.js";import"../chunk-EFKJLUYP.js";export{ImageFocusPoint}from"../chunk-232YPI2L.js";export{FormField}from"../chunk-6KBDNYRW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-CCK2UWQ5.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-ZSEB7XW4.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{fromDateKey,toDateKey}from"../chunk-2HMNOLKX.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{Kanban}from"../chunk-JFGJJNT2.js";export{useSort}from"../chunk-E6FDUFPH.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-XKNKRKHH.js";export{Pagination}from"../chunk-WPG3ZHYT.js";export{EntityList}from"../chunk-KP2JYXEU.js";import"../chunk-Y7KDCC6E.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{ListFooter}from"../chunk-XHSMDUEW.js";export{ListLoadError}from"../chunk-YI6SYUAK.js";export{ResizableTable}from"../chunk-3E3LR2PM.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-UKBXQXDZ.js";import"../chunk-ULJQYXHB.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{TreemapChart}from"../chunk-A4PFVMQ2.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-DGHSCKOE.js";export{RangeChart}from"../chunk-4IHYWLWE.js";export{RankedBars}from"../chunk-RZ2DWX4N.js";export{SankeyChart}from"../chunk-WNOXHJVT.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-4Y33Y4OX.js";export{StatTile}from"../chunk-GEVNBBM7.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-YX2OOGV7.js";export{FunnelChart}from"../chunk-FI6IJTAJ.js";export{HeatmapChart}from"../chunk-T7D73HT7.js";export{HistogramChart}from"../chunk-VDYF3WPJ.js";export{Meter}from"../chunk-LIWBCIRZ.js";export{PieChart}from"../chunk-VP2GI3UP.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-DG2TGWXI.js";export{RadialBarChart}from"../chunk-FVKXDF2Q.js";export{ChordChart}from"../chunk-574SLTKO.js";import"../chunk-HY6CBG4M.js";export{StepChain,StepChainItem}from"../chunk-R62JKPYY.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-LPPJNZQ6.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Avatar,AvatarGroup}from"../chunk-24Y5JHIR.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Z5TE3MEG.js";export{ContextMenu,useContextMenu}from"../chunk-6FZ5JTBY.js";export{Banner}from"../chunk-N3R6N7LG.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-Z3CTYK3U.js";export{Input_default as Input}from"../chunk-6RK6R3RY.js";export{DropdownMenu}from"../chunk-SFULX4E3.js";import"../chunk-FTMCNC66.js";export{IconButton_default as IconButton}from"../chunk-SV5RRBVA.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-VLMBXPRM.js";export{TransferProgress}from"../chunk-FJVZ2W55.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-V4XR4MOS.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-EEB5XPWP.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-GEYM4WN3.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-Y3JW2GW5.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-XQWHKXLS.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-DCCYUCBM.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{ChartBrush}from"../chunk-TU2L7NW3.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-RBS3AWE7.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-GC4N4UQM.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-WXZZGHET.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ImageAnnotator_default as ImageAnnotator}from"../chunk-74JMBOQH.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-DK5SXOXJ.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-ZDMZM7HD.js";import"../chunk-5A7MWTXX.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-HMT3MES3.js";export{Dialog}from"../chunk-D2WJAF62.js";import"../chunk-EIFNESXS.js";export{ItemCount}from"../chunk-MWTCGJAI.js";import"../chunk-RIG5FEVS.js";import"../chunk-5WK56FA3.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{ColoredBadge}from"../chunk-CJHYOHMU.js";import"../chunk-JZBLOIL7.js";import"../chunk-F3ZOO23R.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{VERSION}from"../chunk-VABHQDN5.js";export{useFocusTrap,useScrollLock}from"../chunk-DWGYC7OD.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-JMGDGNM7.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-THLXDI76.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";export{Icon}from"../chunk-XZXFUZIK.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-G67CJAQ2.js";export{Tooltip}from"../chunk-SOZCWT6I.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-3YBXA72C.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{BoxPlotChart}from"../chunk-KAKJ7ENS.js";export{CandlestickChart}from"../chunk-GUHCKMC7.js";export{CartesianPlot}from"../chunk-ENFXDIIZ.js";import"../chunk-2DYVVHZA.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{ChartTooltip}from"../chunk-WDQI3FV6.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-JSHMIMAJ.js";import"../chunk-C3QOHMR6.js";
|
|
2
|
+
import"../chunk-GMHMWDXU.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{CheckoutTemplate}from"../chunk-BEB3AGSY.js";export{DashboardTemplate}from"../chunk-IQTURGC4.js";export{DataTablePage}from"../chunk-Y6H5C6A4.js";export{EmailTemplate}from"../chunk-5XYRFK7D.js";export{ErrorBoundary}from"../chunk-MHVWUYEN.js";export{ErrorPage}from"../chunk-VEF3STCH.js";export{FormLayoutPage}from"../chunk-NLQLVXMJ.js";export{GalleryTemplate}from"../chunk-6EXWWPAW.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-X5RFTIHV.js";export{ChatTemplate}from"../chunk-2N6WWL7Y.js";export{TopNav}from"../chunk-N2FX4O3H.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-UOHHIEH4.js";export{Stepper}from"../chunk-KTO427N3.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-I5EVMLPB.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-77BK2IAJ.js";export{SettingRow}from"../chunk-TJ5ZX5HP.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-KKYNDLOC.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-CVEVPB3O.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-FM34DWV7.js";export{PageHeader}from"../chunk-DHRCI7KE.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-M2GF44WC.js";export{ResizeHandle}from"../chunk-UEADX2GV.js";export{SettingReset}from"../chunk-I6V4DMNR.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-CBBU74QT.js";export{MetricBar}from"../chunk-KNNFNOX7.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-QF4FYOVE.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-VY5NO4TS.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-WCJR2GNH.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{EditableGrid}from"../chunk-V64XY7L4.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-7KWYVQMX.js";export{GlobalSearch,openGlobalSearch}from"../chunk-NJ6WZHXC.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-HGOWQO63.js";export{HelpCenter}from"../chunk-5O5QMMMG.js";export{IconRail,IconRailButton}from"../chunk-JOANOIVK.js";import"../chunk-FQEALPZJ.js";export{ContainerFillChart}from"../chunk-FIXZT5TZ.js";export{CountBadge}from"../chunk-6EETON2U.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-37EYKPR6.js";export{BudgetBar,budgetState}from"../chunk-X27K2NCU.js";export{Card,StatCard}from"../chunk-K6LO6QI5.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-HC3BZPWX.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-23CZSU3H.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-HNBMBC77.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{WidthsBar}from"../chunk-67JLD6AU.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{Snippet}from"../chunk-4MCI7UHQ.js";export{SplitButton_default as SplitButton}from"../chunk-ASDYAASN.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-KHFPF534.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-7DTWIWFO.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-DOKA65JI.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-JA5WM66L.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-HJECGV6W.js";export{Slider,SliderGroup}from"../chunk-3B3QIHF7.js";export{LinkPicker,TextLinkField}from"../chunk-4YCWO2GZ.js";export{SearchableSelect}from"../chunk-GKX3C3JE.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-EWSOX4WP.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-42GNFUAP.js";import"../chunk-2IEKMFVL.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-LQD54ZL5.js";export{ImageLightbox,lightboxKind}from"../chunk-QV5A7NFQ.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-CHV7U5UV.js";export{Breadcrumbs}from"../chunk-GL4NELAT.js";export{mediaLibraryMenu}from"../chunk-4FUQK2LK.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-YNE5YC6E.js";export{RenameField}from"../chunk-QIPO4EVJ.js";export{NativeSelect,Select_default as Select}from"../chunk-LHATGPIE.js";import"../chunk-EO5RLFRX.js";import"../chunk-K5YT5PMJ.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-O3SCB4QZ.js";export{MediaUsedInList}from"../chunk-FYGPJPU7.js";export{NumericKeypad}from"../chunk-HOXXEF52.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-GCTJIZTJ.js";export{PositionInput}from"../chunk-ZSVBEJ4G.js";export{FormErrorSummary}from"../chunk-U45APXV3.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{CornersInput}from"../chunk-GBPGZFBS.js";export{DatePicker_default as DatePicker}from"../chunk-5RLJAXDR.js";export{DateRangePicker,toISODate}from"../chunk-MKPZIEQP.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-MVBDE4AX.js";export{DisplayChips}from"../chunk-5ZS3VOJH.js";export{FilePicker_default as FilePicker}from"../chunk-36MM4YRK.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{AlignmentGrid}from"../chunk-3DWVSQIJ.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-3ZC53F4T.js";export{IconPicker}from"../chunk-3N4XJS43.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-UQNKFMJR.js";export{Popover}from"../chunk-64RHGJXK.js";export{InputNumber_default as InputNumber}from"../chunk-RMUOUMV2.js";export{UnitMenu}from"../chunk-QOYKBINM.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{BrandAssetEditor}from"../chunk-MFZ4YMXE.js";export{MediaUploadField}from"../chunk-FEWWCWKV.js";export{Segmented}from"../chunk-HNIIDDLJ.js";import"../chunk-EFKJLUYP.js";export{ImageFocusPoint}from"../chunk-3R2TMLKH.js";export{FormField}from"../chunk-6KBDNYRW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-3HLV6BEC.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-ZSEB7XW4.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{fromDateKey,toDateKey}from"../chunk-2HMNOLKX.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{Kanban}from"../chunk-N2BWOHNM.js";export{useSort}from"../chunk-E6FDUFPH.js";export{DataTable}from"../chunk-E7RMS776.js";export{Pagination}from"../chunk-HU24RSAE.js";export{EntityList}from"../chunk-GANZLRMW.js";import"../chunk-WM37FXRK.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{ListFooter}from"../chunk-LBLWN3SH.js";export{ListLoadError}from"../chunk-AIGLJYQ5.js";export{ResizableTable}from"../chunk-MYJ3HQYG.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-UKBXQXDZ.js";import"../chunk-ULJQYXHB.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{SunburstChart}from"../chunk-XJTZU7UH.js";export{TreemapChart}from"../chunk-VLI2ED22.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-GN3AHAVY.js";export{RadialBarChart}from"../chunk-4SEPQN2N.js";export{RangeChart}from"../chunk-KLG6RYYC.js";export{RankedBars}from"../chunk-ILSE5F5F.js";export{SankeyChart}from"../chunk-QB7TIWHT.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-TN3W72FC.js";export{StatTile}from"../chunk-4WW3SNL6.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{FunnelChart}from"../chunk-UK2D2CSB.js";export{HeatmapChart}from"../chunk-PRWA4AAC.js";export{HistogramChart}from"../chunk-YS3CF7GL.js";export{Meter}from"../chunk-PBZ3UQMS.js";export{PieChart}from"../chunk-FPYOZOUY.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-RJG67VRP.js";export{CandlestickChart}from"../chunk-HE2I6KWY.js";export{ChordChart}from"../chunk-KPFP2I2S.js";import"../chunk-HY6CBG4M.js";export{StepChain,StepChainItem}from"../chunk-Z2Z653OO.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-YGKQMENL.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Avatar,AvatarGroup}from"../chunk-JTRQ7HAS.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Z5TE3MEG.js";export{ContextMenu,useContextMenu}from"../chunk-QMBMK6PP.js";export{Banner}from"../chunk-6UB6YY3H.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-NSNM4QIV.js";export{Input_default as Input}from"../chunk-PT4GMPUB.js";export{DropdownMenu}from"../chunk-3DSGJIC7.js";import"../chunk-UZFFSZFI.js";export{IconButton_default as IconButton}from"../chunk-SV5RRBVA.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-B27XRZ47.js";export{TransferProgress}from"../chunk-XMAOLCQV.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-VREZFFRE.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-IBPULOGJ.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-GEYM4WN3.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-Y3JW2GW5.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-AJVL6LXI.js";export{ColumnChart}from"../chunk-XXRUDMD5.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-7NO4IENQ.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartBrush}from"../chunk-TIYRBJSB.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-XK3VYRLR.js";export{ChartSkeleton}from"../chunk-QT34GMZR.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ImageAnnotator_default as ImageAnnotator}from"../chunk-P4NWDRHS.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-2DCATU5B.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-ZDMZM7HD.js";import"../chunk-5A7MWTXX.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-64ZDYUE7.js";export{Dialog}from"../chunk-RVD6HJUJ.js";import"../chunk-EIFNESXS.js";export{ItemCount}from"../chunk-Q4BJW37U.js";import"../chunk-RIG5FEVS.js";import"../chunk-CIOPLPZW.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{ColoredBadge}from"../chunk-SAAXAAAH.js";import"../chunk-KPPKPGQI.js";import"../chunk-F3ZOO23R.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{VERSION}from"../chunk-CXXMSYA6.js";export{useFocusTrap,useScrollLock}from"../chunk-DWGYC7OD.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-JMGDGNM7.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-GOAFMGUI.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-EVYD6UFQ.js";import"../chunk-M5K4AX4E.js";export{Icon}from"../chunk-ISVODSRP.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-G67CJAQ2.js";export{Tooltip}from"../chunk-SOZCWT6I.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-5X3Z45SL.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{BoxPlotChart}from"../chunk-IOIY54KO.js";export{CartesianPlot}from"../chunk-7IGWU6DK.js";import"../chunk-U22563X2.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{ChartTooltip}from"../chunk-WDQI3FV6.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-HCDG7EUR.js";import"../chunk-C3QOHMR6.js";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{APP_VERSION,VERSION}from"./chunk-
|
|
1
|
+
export{APP_VERSION,VERSION}from"./chunk-CXXMSYA6.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-shell",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.30.0",
|
|
4
4
|
"description": "Desktop-style React UI shell — windows, taskbar, start menu, sticky notes, frosted glass theming, and bundled apps.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Efficient Pty Ltd",
|
|
@@ -59,6 +59,11 @@
|
|
|
59
59
|
"import": "./dist/map/index.js",
|
|
60
60
|
"default": "./dist/map/index.js"
|
|
61
61
|
},
|
|
62
|
+
"./model-viewer": {
|
|
63
|
+
"types": "./dist/model-viewer/index.d.ts",
|
|
64
|
+
"import": "./dist/model-viewer/index.js",
|
|
65
|
+
"default": "./dist/model-viewer/index.js"
|
|
66
|
+
},
|
|
62
67
|
"./map/worker-route": {
|
|
63
68
|
"types": "./dist/map-worker-route.d.ts",
|
|
64
69
|
"import": "./dist/map-worker-route.js",
|
|
@@ -176,6 +181,7 @@
|
|
|
176
181
|
],
|
|
177
182
|
"peerDependencies": {
|
|
178
183
|
"@ai-sdk/react": ">=4",
|
|
184
|
+
"@google/model-viewer": "^4.4.0",
|
|
179
185
|
"@headlessui/react": ">=2",
|
|
180
186
|
"@tanstack/react-query": ">=5",
|
|
181
187
|
"ai": ">=7",
|
|
@@ -198,6 +204,7 @@
|
|
|
198
204
|
},
|
|
199
205
|
"devDependencies": {
|
|
200
206
|
"@ai-sdk/react": "^4.0.143",
|
|
207
|
+
"@google/model-viewer": "4.4.0",
|
|
201
208
|
"@headlessui/react": "^2.2.10",
|
|
202
209
|
"@phosphor-icons/core": "2.1.1",
|
|
203
210
|
"@tabler/icons": "3.48.0",
|
|
@@ -231,6 +238,7 @@
|
|
|
231
238
|
"remark-gfm": "^4.0.1",
|
|
232
239
|
"tailwindcss": "^4.2.4",
|
|
233
240
|
"terser": "^5.51.2",
|
|
241
|
+
"three": "0.183.2",
|
|
234
242
|
"tsup": "^8.0.0",
|
|
235
243
|
"typescript": "^5.3.0",
|
|
236
244
|
"web-vitals": "6.2.3"
|
|
@@ -265,6 +273,9 @@
|
|
|
265
273
|
"@ai-sdk/react": {
|
|
266
274
|
"optional": true
|
|
267
275
|
},
|
|
276
|
+
"@google/model-viewer": {
|
|
277
|
+
"optional": true
|
|
278
|
+
},
|
|
268
279
|
"@headlessui/react": {
|
|
269
280
|
"optional": true
|
|
270
281
|
},
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-H6WXTJOT.js";import{useWidgetSettings as n}from"./chunk-KZRZYLN7.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-DK5SXOXJ.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-UR2ECNBB.js";import"./chunk-HMT3MES3.js";import"./chunk-D2WJAF62.js";import"./chunk-EIFNESXS.js";import"./chunk-MWTCGJAI.js";import"./chunk-RIG5FEVS.js";import"./chunk-5WK56FA3.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-CJHYOHMU.js";import"./chunk-JZBLOIL7.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import"./chunk-KC3EX26K.js";import"./chunk-DWGYC7OD.js";import"./chunk-JMGDGNM7.js";import"./chunk-THLXDI76.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EVYD6UFQ.js";import"./chunk-M5K4AX4E.js";import{Icon as r}from"./chunk-XZXFUZIK.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-G67CJAQ2.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-JSHMIMAJ.js";import"./chunk-C3QOHMR6.js";import{useState as c,useRef as i,useCallback as o,useEffect as s}from"react";import{jsxs as l,Fragment as a,jsx as u}from"react/jsx-runtime";var h="calc_appearance";function m(){const[m,k]=c("0"),[p,d]=c(null),[b,g]=c(null),[j,N]=c(!1),[y,x]=c(""),[C,f]=c([]),[v,$]=c(!1),[E,T]=c(()=>e(h)),[J,S]=c(!1),[W,D]=c(E),M=i(null);n(o(()=>{D({...E}),S(!0)},[E]));const F=o(e=>{x(""),k(t=>j||"0"===t?(N(!1),"."===e?"0.":e):"."===e&&t.includes(".")?t:t+e)},[j]),X=o(()=>{k("0"),d(null),g(null),N(!1)},[]),A=o((e,t,n)=>{switch(n){case"+":return e+t;case"-":return e-t;case"×":return e*t;case"÷":return 0===t?0:e/t;default:return t}},[]),w=o(e=>{const t=parseFloat(m);if(null!==p&&b&&!j){const e=A(p,t,b);k(String(e)),d(e),f(n=>[`${p} ${b} ${t} = ${e}`,...n].slice(0,20))}else d(t);g(e),N(!0)},[m,p,b,j,A]),H=o(()=>{if(null===p||!b)return;const e=parseFloat(m),t=A(p,e,b),n=`${p} ${b} ${e} =`;f(e=>[`${n} ${t}`,...e].slice(0,20)),x(n),k(String(t)),d(null),g(null),N(!0)},[m,p,b,A]),U=o(()=>{k(e=>String(parseFloat(e)/100))},[]),Z=o(()=>{k(e=>e.startsWith("-")?e.slice(1):"0"===e?e:"-"+e)},[]);s(()=>{const e=e=>{const t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t&&(e.key>="0"&&e.key<="9"?F(e.key):"."===e.key?F("."):"+"===e.key?w("+"):"-"===e.key?w("-"):"*"===e.key?w("×"):"/"===e.key?(e.preventDefault(),w("÷")):"Enter"===e.key||"="===e.key?("Enter"===e.key&&e.target instanceof Node&&M.current?.contains(e.target)&&e.preventDefault(),H()):"Escape"===e.key?X():"Backspace"===e.key?k(e=>e.length>1?e.slice(0,-1):"0"):"%"===e.key&&U())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[F,w,H,X,U]);const G="flex items-center justify-center rounded-lg text-sm font-medium transition-colors",K=`${G} bg-white border border-gray-200 text-gray-900 hover:bg-gray-50 active:bg-gray-100`,L=`${G} bg-blue-50 border border-blue-200 text-blue-700 hover:bg-blue-100 active:bg-blue-200`,O=`${G} bg-gray-100 border border-gray-200 text-gray-600 hover:bg-gray-200 active:bg-gray-300`,R=`${G} bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800`;/* @__PURE__ */
|
|
2
|
-
return l(a,{children:[
|
|
3
|
-
/* @__PURE__ */l("div",{ref:M,className:"flex flex-col h-full",style:{opacity:E.activeOpacity/100,backdropFilter:E.activeBlur>0?`blur(${E.activeBlur}px)`:void 0},children:[
|
|
4
|
-
/* @__PURE__ */l("div",{className:"bg-slate-200 rounded-t-lg px-4 py-2 group/display relative flex flex-col justify-end min-h-[120px] border-b border-slate-300",children:[
|
|
5
|
-
/* @__PURE__ */u("div",{className:"flex flex-col justify-end flex-1 overflow-hidden",children:C.slice(0,3).reverse().map((e,t)=>/* @__PURE__ */u("div",{className:"text-2xs text-slate-400 text-right font-mono truncate",children:e},t))}),(y||b&&null!==p)&&/* @__PURE__ */u("div",{className:"text-base text-slate-600 text-right font-mono",children:y||`${p} ${b} ${j?"":m}`}),
|
|
6
|
-
/* @__PURE__ */l("div",{className:"flex items-center gap-2",children:[
|
|
7
|
-
/* @__PURE__ */u("button",{onClick:()=>{navigator.clipboard.writeText(m),$(!0),setTimeout(()=>$(!1),1200)},title:"Copy result",className:"shrink-0 text-slate-300 hover:text-slate-500 transition-colors opacity-0 group-hover/display:opacity-100",children:/* @__PURE__ */u(r,v?{name:"check",className:"h-5 w-5 text-green-500",strokeWidth:2}:{name:"copy",className:"h-5 w-5",strokeWidth:2})}),
|
|
8
|
-
/* @__PURE__ */u("div",{className:"text-right text-4xl font-mono font-bold text-slate-800 truncate flex-1",children:(e=>{const t=parseFloat(e);return isNaN(t)||e.endsWith(".")||e.endsWith(".0")||Math.abs(t)<1e15&&e.length<16?e:t.toExponential(6)})(m)})]})]}),
|
|
9
|
-
/* @__PURE__ */l("div",{className:"grid grid-cols-4 grid-rows-5 gap-2 flex-1 min-h-0 p-2",children:[
|
|
10
|
-
/* @__PURE__ */u("button",{onClick:X,className:O,children:"AC"}),
|
|
11
|
-
/* @__PURE__ */u("button",{onClick:Z,className:O,children:"+/−"}),
|
|
12
|
-
/* @__PURE__ */u("button",{onClick:U,className:O,children:"%"}),
|
|
13
|
-
/* @__PURE__ */u("button",{onClick:()=>w("÷"),className:`${L} ${"÷"===b?"ring-2 ring-blue-400":""}`,children:"÷"}),
|
|
14
|
-
/* @__PURE__ */u("button",{onClick:()=>F("7"),className:K,children:"7"}),
|
|
15
|
-
/* @__PURE__ */u("button",{onClick:()=>F("8"),className:K,children:"8"}),
|
|
16
|
-
/* @__PURE__ */u("button",{onClick:()=>F("9"),className:K,children:"9"}),
|
|
17
|
-
/* @__PURE__ */u("button",{onClick:()=>w("×"),className:`${L} ${"×"===b?"ring-2 ring-blue-400":""}`,children:"×"}),
|
|
18
|
-
/* @__PURE__ */u("button",{onClick:()=>F("4"),className:K,children:"4"}),
|
|
19
|
-
/* @__PURE__ */u("button",{onClick:()=>F("5"),className:K,children:"5"}),
|
|
20
|
-
/* @__PURE__ */u("button",{onClick:()=>F("6"),className:K,children:"6"}),
|
|
21
|
-
/* @__PURE__ */u("button",{onClick:()=>w("-"),className:`${L} ${"-"===b?"ring-2 ring-blue-400":""}`,children:"−"}),
|
|
22
|
-
/* @__PURE__ */u("button",{onClick:()=>F("1"),className:K,children:"1"}),
|
|
23
|
-
/* @__PURE__ */u("button",{onClick:()=>F("2"),className:K,children:"2"}),
|
|
24
|
-
/* @__PURE__ */u("button",{onClick:()=>F("3"),className:K,children:"3"}),
|
|
25
|
-
/* @__PURE__ */u("button",{onClick:()=>w("+"),className:`${L} ${"+"===b?"ring-2 ring-blue-400":""}`,children:"+"}),
|
|
26
|
-
/* @__PURE__ */u("button",{onClick:()=>F("0"),className:`${K} col-span-2`,children:"0"}),
|
|
27
|
-
/* @__PURE__ */u("button",{onClick:()=>F("."),className:K,children:"."}),
|
|
28
|
-
/* @__PURE__ */u("button",{onClick:H,className:R,children:"="})]})]}),
|
|
29
|
-
/* @__PURE__ */u(t,{open:J,onClose:()=>S(!1),title:"Calculator Settings",appearance:W,onAppearanceChange:D,onSave:()=>{T(W),localStorage.setItem(h,JSON.stringify(W)),S(!1)}})]})}export{m as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{PdfViewer as default,fitScale,pdfWasmParams}from"./chunk-QZCLHKCI.js";import"./chunk-XZXFUZIK.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-3YBXA72C.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-JSHMIMAJ.js";import"./chunk-C3QOHMR6.js";
|
package/dist/Sidebar-BKNCPUOE.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import{useAuth as e,parseOpenSections as t,readStored as r,RAIL_OPEN_SECTIONS_KEY as n,RAIL_WIDTH_KEY as i,toggleOpenSection as a,writeStored as o}from"./chunk-U6LKNGC6.js";import{ResizeHandle as l}from"./chunk-OOWPLQD5.js";import{openGlobalSearch as s}from"./chunk-N2445WHJ.js";import{partitionNav as c,visibleNavChildren as d,visibleSectionItems as m,rowsContainRoute as u}from"./chunk-HGOWQO63.js";import{BrandMark as h}from"./chunk-MI67DI3H.js";import{IconButton_default as p}from"./chunk-SV5RRBVA.js";import{RAIL_MENU_GAP as b,navSections as f,startMenuCategories as g,RAIL_W as x,TAB_STRIP_H as k,RAIL_COLLAPSED_INSET as y,RAIL_MAX_W as v,RAIL_MIN_W as N,navIcons as w,sectionIcons as j}from"./chunk-4LXCCZDM.js";import"./chunk-5A7MWTXX.js";import"./chunk-7QSDPSXP.js";import"./chunk-2QY5BJLA.js";import{PopupMenu as C,PopupMenuItem as S,PopupMenuDivider as L}from"./chunk-THLXDI76.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-M5K4AX4E.js";import{Icon as $}from"./chunk-XZXFUZIK.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import{useShellStrings as W}from"./chunk-JSHMIMAJ.js";import"./chunk-C3QOHMR6.js";import{useMemo as z,useState as A,useRef as I,useEffect as T,isValidElement as H,cloneElement as K}from"react";import{jsx as M,jsxs as D,Fragment as R}from"react/jsx-runtime";var J="undefined"!=typeof navigator&&/Mac|iPhone|iPad/.test(navigator.platform),O=150,P=250;function Q(e,t,r){const n=Math.max(8,r-t.bottom);return{left:e+b,bottom:n,maxHeight:r-n-8,overflowY:"auto"}}var X=(e,t)=>["flex h-(--row-height-menu) w-full items-center gap-3 rounded-md px-3 text-left text-sm font-medium transition-colors",t?"justify-center px-0":"",e?"bg-gray-100 text-gray-900":"text-gray-600 hover:bg-gray-100 hover:text-gray-900"].join(" "),U="flex size-8 shrink-0 items-center justify-center rounded-md text-gray-500 transition-colors hover:bg-gray-100 hover:text-gray-900",B="flex size-[18px] shrink-0 items-center justify-center [&>svg]:size-[18px]";function E({open:e,children:t}){const r=I(null);return T(()=>{r.current?.toggleAttribute("inert",!e)},[e]),/* @__PURE__ */M("div",{ref:r,className:"grid transition-[grid-template-rows,opacity] duration-200 ease-out motion-reduce:transition-none",style:{gridTemplateRows:e?"1fr":"0fr",opacity:e?1:0},"aria-hidden":!e,"data-fold":e?"open":"closed",children:/* @__PURE__ */M("div",{className:"min-h-0 overflow-hidden",children:t})})}function Z({open:e}){/* @__PURE__ */
|
|
2
|
-
return M($,{name:"chevron-down",className:"size-4 shrink-0 transition-transform "+(e?"rotate-180":""),strokeWidth:2,"aria-hidden":"true"})}function F({dir:e}){/* @__PURE__ */
|
|
3
|
-
return M($,"left"===e?{name:"chevron-double-left",className:"size-[18px] shrink-0",strokeWidth:1.5,"aria-hidden":"true"}:{name:"chevron-double-right",className:"size-[18px] shrink-0",strokeWidth:1.5,"aria-hidden":"true"})}function Y({className:e}){/* @__PURE__ */
|
|
4
|
-
return M($,{name:"search",className:e,strokeWidth:2,"aria-hidden":"true"})}var _=e=>.75+1.75*e+"rem";function G({width:b,openWidth:O=x,collapsed:P,onToggleCollapsed:G,onResize:V,onHome:q,onOpen:ee,activeRoute:te,profile:re,user:ne,onLogout:ie,onSwitchToDesktop:ae,onReportBug:oe,onClose:le,navSections:se=f,navIcons:ce=w,sectionIcons:de=j,categories:me=g,productName:ue,productIcon:he,tagline:pe,adaptiveLogo:be=!1,logoHasAlpha:fe=null,logoIsLight:ge=null}){const xe=W().layout,{hasAnyPerm:ke}=e(),ye=z(()=>c(se,me,ke),[se,me,ke]),[ve,Ne]=A(()=>t(r(n))),we=z(()=>[...ye.topItems.filter(e=>d(e,ke).length>0).map(e=>`child:${e.to}`),...[...ye.erpSections,...ye.systemSections,...ye.virtualSections,...ye.footerSections].map(e=>e.label)],[ye,ke]),je=(e,t=we)=>Ne(r=>{const i=a(r,e,t);return o(n,JSON.stringify([...i])),i}),[Ce,Se]=A(!1),Le=I(null),$e=P&&!le,[We,ze]=A(!1),Ae=I("pointer"),Ie=I(void 0),Te=I(!1),He=I(null),Ke=()=>{clearTimeout(Ie.current),Ie.current=void 0},Me=e=>{Ke(),Ae.current=e,ze(!0)},De=()=>{Ke(),ze(!1)};T(()=>{Ke(),ze(!1)},[P]),T(()=>()=>Ke(),[]),T(()=>{if(!We)return;const e=e=>{const t=e.target;t&&(He.current?.contains(t)||t.closest?.('[role="menu"]'))||(Ke(),ze(!1))};return document.addEventListener("pointerdown",e,!0),()=>document.removeEventListener("pointerdown",e,!0)},[We]);const Re=P&&!We,Je=P&&We?O:b,Oe=(e,t)=>{De(),e.onSelect?e.onSelect():ee(e.to,!!t&&(e=>e.metaKey||e.ctrlKey||1===e.button)(t))},Pe=(e,t)=>{const r=t[e];/* @__PURE__ */
|
|
5
|
-
return M("span",{className:B,"aria-hidden":"true",children:r&&H(r)?K(r,{className:"size-[18px]"}):r})},Qe=e=>e.filter(e=>d(e,ke).length>0).map(e=>`child:${e.to}`),Xe=(e,t,r=we)=>{const n=d(e,ke),i=e.menuLabel??e.label;if(n.length>0){const a=`child:${e.to}`,o=ve.has(a),l=!o&&u(n,te,ke);/* @__PURE__ */
|
|
6
|
-
return D("div",{children:[
|
|
7
|
-
/* @__PURE__ */D("button",{type:"button",onClick:()=>je(a,r),"aria-expanded":o,className:X(l,!1),style:t>0?{paddingLeft:_(t)}:void 0,children:[0===t&&Pe(e.to,ce),
|
|
8
|
-
/* @__PURE__ */M("span",{className:"min-w-0 flex-1 truncate",children:i}),
|
|
9
|
-
/* @__PURE__ */M(Z,{open:o})]}),
|
|
10
|
-
/* @__PURE__ */M(E,{open:o,children:/* @__PURE__ */M("div",{className:"space-y-0.5 pt-0.5",children:n.map(e=>Xe(e,t+1,Qe(n)))})}),e.dividerAfter&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:_(t)},"aria-hidden":"true"})]},e.to)}const a=e.to===te;/* @__PURE__ */
|
|
11
|
-
return D("div",{children:[
|
|
12
|
-
/* @__PURE__ */D("button",{type:"button",onClick:t=>Oe(e,t),onAuxClick:t=>{1===t.button&&Oe(e,t)},"aria-current":a?"page":void 0,className:X(a,!1),style:t>0?{paddingLeft:_(t)}:void 0,children:[0===t&&Pe(e.to,ce),
|
|
13
|
-
/* @__PURE__ */M("span",{className:"min-w-0 flex-1 truncate",children:i})]}),e.dividerAfter&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:_(t)},"aria-hidden":"true"})]},e.to)},Ue=(e,t)=>{const r=t?e.items:m(e,ke);if(0===r.length)return null;const n="icon"in e&&e.icon?/* @__PURE__ */M("span",{className:B,"aria-hidden":"true",children:e.icon}):Pe(e.label,de),i=e.menuLabel??e.label,a=u(r,te,ke),o="dividerAfter"in e&&e.dividerAfter;if(Re)/* @__PURE__ */
|
|
14
|
-
return D("div",{children:[
|
|
15
|
-
/* @__PURE__ */M("button",{type:"button",title:i,"aria-label":i,"aria-expanded":!1,onClick:()=>{ve.has(e.label)||je(e.label),Me("tap")},className:X(a,!0),children:n}),o&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.label);const l=ve.has(e.label),s=`rosh-rail-${e.label.replace(/[^a-z0-9]+/gi,"-").toLowerCase()}`;/* @__PURE__ */
|
|
16
|
-
return D("div",{children:[
|
|
17
|
-
/* @__PURE__ */D("button",{type:"button",onClick:()=>je(e.label),"aria-expanded":l,"aria-controls":s,className:X(!l&&a,!1),children:[n,
|
|
18
|
-
/* @__PURE__ */M("span",{className:"min-w-0 flex-1 truncate",children:i}),
|
|
19
|
-
/* @__PURE__ */M(Z,{open:l})]}),
|
|
20
|
-
/* @__PURE__ */M(E,{open:l,children:/* @__PURE__ */M("div",{id:s,role:"group","aria-label":i,className:"space-y-0.5 pt-0.5",children:r.map(e=>Xe(e,1,Qe(r)))})}),o&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.label)},Be=re?.first_name?`${re.first_name} ${re.last_name||""}`.trim():ne?.email||"",Ee=(re?.first_name?.charAt(0)||ne?.email?.charAt(0)||"?").toUpperCase(),Ze=re?.avatar_url?/* @__PURE__ */M("img",{src:re.avatar_url,alt:"",className:"size-8 shrink-0 rounded-full object-cover"}):/* @__PURE__ */M("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-blue-600 text-xs font-semibold text-white",children:Ee}),Fe=Ce?Le.current?.getBoundingClientRect():void 0,Ye=Re?"":"px-3",_e=Re?{paddingInline:y}:void 0,Ge=`${P?xe.expandSidebar:xe.collapseSidebar} (${J?"⌘":"Ctrl"} .)`,Ve=q?{run:q,label:xe.goHome,title:xe.goHome}:le?null:{run:G,label:P?xe.expandSidebar:xe.collapseSidebar,title:Ge},qe=/* @__PURE__ */D(R,{children:[he&&/* @__PURE__ */M(h,{src:he,alt:"",slot:"compact",surface:"light",adaptive:be,hasAlpha:fe,isLight:ge,size:28,decorative:!0}),!Re&&/* @__PURE__ */D("span",{className:"min-w-0 text-left leading-tight",children:[
|
|
21
|
-
/* @__PURE__ */M("span",{className:"block truncate text-base font-bold tracking-wide text-gray-900",children:ue??"Apps"}),pe&&/* @__PURE__ */M("span",{className:"block truncate text-2xs font-medium text-gray-500",children:pe})]})]}),et=ye.erpSections.length>0||ye.systemSections.length>0||ye.virtualSections.length>0;/* @__PURE__ */
|
|
22
|
-
return D("aside",{ref:He,"aria-label":xe.navLabel,"data-rail-peek":We?"":void 0,className:`fixed left-0 top-0 z-(--z-sidebar) flex h-dvh flex-col border-r border-line bg-surface text-ink-strong ${P?"overflow-hidden transition-[width] duration-150 ease-out motion-reduce:transition-none":""} ${We?"rounded-r-(--radius-panel)":""}`,style:{width:Je,boxShadow:We?"var(--elevation-popup)":void 0},onPointerEnter:e=>{"touch"!==e.pointerType&&(Te.current=!0,$e&&(We?Ke():(Ke(),Ie.current=setTimeout(()=>Me("pointer"),150))))},onPointerLeave:e=>{"touch"!==e.pointerType&&(Te.current=!1,$e&&(Ke(),We&&!Ce&&"pointer"===Ae.current&&(Ie.current=setTimeout(De,250))))},onFocus:e=>{$e&&!We&&(e=>{try{return e.matches(":focus-visible")}catch{return!1}})(e.target)&&Me("focus")},onBlur:e=>{if(!We||"focus"!==Ae.current)return;const t=e.relatedTarget;t&&He.current?.contains(t)||Ce||Te.current||De()},onKeyDown:e=>{"Escape"===e.key&&We&&De()},children:[
|
|
23
|
-
/* @__PURE__ */D("div",{className:"flex shrink-0 items-center border-b border-gray-200 "+(Re?"justify-center":"justify-between gap-2 pl-4 pr-2"),style:{height:k},children:[Ve?/* @__PURE__ */M("button",{type:"button",onClick:Ve.run,"aria-label":Ve.label,title:Ve.title,className:"flex min-w-0 items-center gap-2 rounded-md transition-colors hover:bg-gray-100 "+(Re?"justify-center p-0.5":"-ml-1 p-1"),children:qe}):/* @__PURE__ */M("span",{className:"flex min-w-0 items-center gap-2",children:qe}),le?/* @__PURE__ */M(p,{onClick:le,"aria-label":xe.closeMenu,children:/* @__PURE__ */M($,{name:"close",className:"size-[18px]",strokeWidth:1.5,"aria-hidden":"true"})}):P?We&&
|
|
24
|
-
/* @__PURE__ */M("button",{type:"button",onClick:()=>{De(),G()},"aria-label":xe.keepSidebarOpen,title:`${xe.keepSidebarOpen} (${J?"⌘":"Ctrl"} .)`,className:U,children:/* @__PURE__ */M(F,{dir:"right"})}):/* @__PURE__ */M("button",{type:"button",onClick:G,"aria-label":xe.collapseSidebar,title:`${xe.collapseSidebar} (${J?"⌘":"Ctrl"} .)`,className:U,children:/* @__PURE__ */M(F,{dir:"left"})})]}),
|
|
25
|
-
/* @__PURE__ */M("div",{className:`shrink-0 pt-3 ${Ye}`,style:_e,children:Re?/* @__PURE__ */M("button",{type:"button",onClick:s,"aria-label":xe.search,title:`${xe.search} (${J?"⌘K":"Ctrl K"})`,className:X(!1,!0),children:/* @__PURE__ */M(Y,{className:"size-[18px] shrink-0"})}):/* @__PURE__ */D("button",{type:"button",onClick:s,className:"flex h-(--row-height-menu) w-full items-center gap-2 rounded-md border border-line bg-surface px-3 text-left transition-colors hover:bg-gray-100",children:[
|
|
26
|
-
/* @__PURE__ */M(Y,{className:"size-3.5 text-gray-500"}),
|
|
27
|
-
/* @__PURE__ */M("span",{className:"min-w-0 flex-1 truncate text-sm text-ink-faint",children:xe.search}),
|
|
28
|
-
/* @__PURE__ */M("kbd",{className:"rounded border border-line bg-gray-100 px-2 py-0.5 font-mono text-2xs font-semibold text-ink-faint",children:J?"⌘K":"Ctrl K"})]})}),
|
|
29
|
-
/* @__PURE__ */D("nav",{"aria-label":xe.navLabel,className:`min-h-0 flex-1 overflow-y-auto pb-4 pt-3 ${Ye} ${Re?"space-y-1":"space-y-0.5"}`,style:_e,children:[Re&&/* @__PURE__ */M("button",{type:"button",onClick:G,"aria-label":xe.expandSidebar,title:`${xe.expandSidebar} (${J?"⌘":"Ctrl"} .)`,className:`${X(!1,!0)} mb-3`,children:/* @__PURE__ */M(F,{dir:"right"})}),ye.topItems.map(e=>{if(!Re)return Xe(e,0);const t=d(e,ke),r=e.to===te||u(t,te,ke),n=e.menuLabel??e.label;/* @__PURE__ */
|
|
30
|
-
return D("div",{children:[
|
|
31
|
-
/* @__PURE__ */M("button",{type:"button",title:n,"aria-label":n,onClick:r=>{if(0===t.length)return void Oe(e,r);const n=`child:${e.to}`;ve.has(n)||je(n),Me("tap")},className:X(r,!0),children:Pe(e.to,ce)}),e.dividerAfter&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.to)}),ye.topItems.length>0&&et&&!ye.topItems[ye.topItems.length-1].dividerAfter&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),ye.erpSections.map(e=>Ue(e,!1)),ye.systemSections.map(e=>Ue(e,!1)),ye.virtualSections.map(e=>Ue(e,!0)),ye.footerSections.length>0&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),ye.footerSections.map(e=>Ue(e,!1))]}),
|
|
32
|
-
/* @__PURE__ */M("div",{className:`shrink-0 border-t border-gray-200 py-2 ${Ye}`,style:_e,children:/* @__PURE__ */D("button",{ref:Le,type:"button",onClick:()=>Se(e=>!e),"aria-haspopup":"menu","aria-expanded":Ce,"aria-label":Re?xe.accountMenu(Be):void 0,className:"flex w-full items-center gap-3 rounded-md hover:bg-gray-100 "+(Re?"justify-center py-2":"px-2 py-2"),children:[Ze,!Re&&/* @__PURE__ */D("span",{className:"min-w-0 flex-1 text-left",children:[
|
|
33
|
-
/* @__PURE__ */M("span",{className:"block truncate text-sm font-semibold text-ink-strong",children:Be}),ne?.email&&Be!==ne.email&&/* @__PURE__ */M("span",{className:"block truncate text-2xs text-ink-faint",children:ne.email})]})]})}),V&&!P&&!le&&/* @__PURE__ */M(l,{side:"left",width:b,onResize:V,min:N,max:v,defaultWidth:x,storageKey:i,label:xe.resizeSidebar}),Ce&&Fe&&/* @__PURE__ */D(C,{portal:!0,minWidth:224,onClose:()=>{Se(!1),We&&"pointer"===Ae.current&&!Te.current&&De()},style:Q(Je,Fe,window.innerHeight),children:[Re&&/* @__PURE__ */D("div",{className:"border-b border-line px-3 py-3",children:[
|
|
34
|
-
/* @__PURE__ */M("p",{className:"truncate text-sm font-semibold text-gray-800",children:Be}),ne?.email&&/* @__PURE__ */M("p",{className:"truncate text-xs text-gray-500",children:ne.email})]}),
|
|
35
|
-
/* @__PURE__ */D(S,{onClick:()=>{Se(!1),De(),ee("/profile",!1)},children:[
|
|
36
|
-
/* @__PURE__ */M($,{name:"account",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),xe.profile]}),ye.footerItems.map(e=>/* @__PURE__ */D(S,{onClick:()=>{Se(!1),Oe(e)},children:[
|
|
37
|
-
/* @__PURE__ */M("span",{className:"h-4 w-4 [&>svg]:size-4","aria-hidden":"true",children:ce[e.to]}),e.menuLabel??e.label]},e.to)),oe&&/* @__PURE__ */D(S,{onClick:()=>{Se(!1),De(),oe()},children:[
|
|
38
|
-
/* @__PURE__ */M($,{name:"error",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),xe.reportIssue]}),
|
|
39
|
-
/* @__PURE__ */M(L,{}),ae&&/* @__PURE__ */D(R,{children:[
|
|
40
|
-
/* @__PURE__ */D(S,{onClick:()=>{Se(!1),De(),ae()},children:[
|
|
41
|
-
/* @__PURE__ */M($,{name:"desktop",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),xe.switchToDesktop]}),
|
|
42
|
-
/* @__PURE__ */M(L,{})]}),
|
|
43
|
-
/* @__PURE__ */D(S,{danger:!0,onClick:()=>{Se(!1),De(),ie()},children:[
|
|
44
|
-
/* @__PURE__ */M($,{name:"logout",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),xe.signOut]})]})]})}export{P as RAIL_PEEK_CLOSE_MS,O as RAIL_PEEK_OPEN_MS,Q as accountMenuPosition,G as default};
|
package/dist/chunk-436PJFHC.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import{LIGHTBOX_PICTURE_FIT as e,ZoomableImage as t}from"./chunk-CGUMJZUB.js";import{isVideoUrl as r,mediaFileName as n}from"./chunk-VLMBXPRM.js";import{dialogA11y as o}from"./chunk-VWGWZY7A.js";import{useDismissPopupsOnOpen as a}from"./chunk-7QSDPSXP.js";import{useFocusTrap as l,useScrollLock as i}from"./chunk-DWGYC7OD.js";import{Button_default as c}from"./chunk-EVYD6UFQ.js";import{Icon as s}from"./chunk-XZXFUZIK.js";import{Z_LAYERS as m}from"./chunk-62LW225J.js";import{useHydrated as u}from"./chunk-D65T4H6J.js";import{buttonClasses as d}from"./chunk-UQYNPYF4.js";import{registerModalEscapeInterceptor as f}from"./chunk-TWVUQUUD.js";import{useShellStrings as h}from"./chunk-JSHMIMAJ.js";import{useRef as p,useState as x,useCallback as b,useEffect as k}from"react";import{createPortal as g}from"react-dom";import{jsx as v,jsxs as w,Fragment as N}from"react/jsx-runtime";var y=/\.(pdf|docx?|xlsx?|pptx?|csv|txt|zip|rar|7z|dwg|dxf|stp|step|igs|iges)(?:[?#]|$)/i;function j(e){return e.kind?e.kind:r(e.url)?"video":y.test(e.url)?"file":"image"}var C="flex items-center justify-center rounded-full bg-black/60 text-on-accent hover:bg-black/80 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",U=e=>e.stopPropagation();function D({images:r,startIndex:y=0,onClose:D,onIndexChange:F,onOpenFile:I}){const M=h().lightbox,$=u(),z=p(null),A=p(null),[J,L]=x(y),P=r.length,W=$&&P>0,Y=b(e=>{if(P<2)return;const t=((J+e)%P+P)%P;L(t),F?.(t)},[J,P,F]);if(a(W),l(z,W,A),i(W),k(()=>{if(W)return f(()=>(D(),!0),()=>z.current)},[W,D]),k(()=>{if(!W)return;const e=e=>{"ArrowLeft"!==e.key&&"ArrowRight"!==e.key||e.target?.closest?.("video")||(e.preventDefault(),Y("ArrowRight"===e.key?1:-1))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[W,Y]),!W)return null;const Q=r[Math.min(J,P-1)],V=j(Q),X=Q.caption||n(Q.url);let Z;return Z="video"===V?/* @__PURE__ */v("video",{src:Q.url,controls:!0,playsInline:!0,"aria-label":X,onClick:U,className:`${e} rounded-lg bg-black`}):"file"===V?/* @__PURE__ */w("div",{onClick:U,className:"flex max-w-[calc(100vw-144px)] flex-col items-center gap-3 rounded-lg bg-surface px-10 py-8 text-center text-ink-faint",children:[
|
|
2
|
-
/* @__PURE__ */v(s,{name:"document","aria-hidden":"true",className:"h-10 w-10"}),
|
|
3
|
-
/* @__PURE__ */v("span",{className:"max-w-[60ch] break-all text-sm font-medium text-ink",children:X}),I?/* @__PURE__ */v(c,{size:"sm",onClick:()=>I(Q),children:M.openFile}):/* @__PURE__ */v("a",{href:Q.url,target:"_blank",rel:"noopener noreferrer",className:d({size:"sm"}),children:M.openFile})]}):/* @__PURE__ */v(t,{src:Q.url,alt:X,className:`${e} object-contain`,frameClassName:"rounded-lg"}),g(
|
|
4
|
-
/* @__PURE__ */w("div",{ref:z,...o({role:"dialog",modal:!0,label:M.label}),"data-lightbox-backdrop":"",className:"fixed inset-0 flex items-center justify-center bg-black/80",style:{zIndex:m.overlay},onClick:D,children:[Z,
|
|
5
|
-
/* @__PURE__ */w("div",{className:"absolute right-4 top-4 flex items-center gap-2",onClick:U,children:[
|
|
6
|
-
/* @__PURE__ */v("span",{className:"rounded bg-black/60 px-2 py-1 text-xs text-on-accent tabular-nums",children:M.counter(J+1,P)}),
|
|
7
|
-
/* @__PURE__ */v("button",{ref:A,type:"button",onClick:D,"aria-label":M.close,className:`${C} h-8 w-8`,children:/* @__PURE__ */v(s,{name:"close","aria-hidden":"true",className:"h-4 w-4"})})]}),P>1&&/* @__PURE__ */w(N,{children:[
|
|
8
|
-
/* @__PURE__ */v("button",{type:"button",onClick:e=>{U(e),Y(-1)},"aria-label":M.previous,className:`${C} absolute left-4 top-1/2 h-10 w-10 -translate-y-1/2`,children:/* @__PURE__ */v(s,{name:"chevron-left","aria-hidden":"true",className:"h-5 w-5"})}),
|
|
9
|
-
/* @__PURE__ */v("button",{type:"button",onClick:e=>{U(e),Y(1)},"aria-label":M.next,className:`${C} absolute right-4 top-1/2 h-10 w-10 -translate-y-1/2`,children:/* @__PURE__ */v(s,{name:"chevron-right","aria-hidden":"true",className:"h-5 w-5"})})]}),
|
|
10
|
-
/* @__PURE__ */w("div",{className:"absolute inset-x-18 bottom-4 flex items-center justify-center gap-3",onClick:U,children:[
|
|
11
|
-
/* @__PURE__ */v("span",{className:"min-w-0 break-words text-center text-sm text-on-accent/85",children:X}),"file"!==V&&/* @__PURE__ */v("a",{href:Q.url,target:"_blank",rel:"noopener noreferrer",className:"flex-none text-xs font-medium text-on-accent/70 underline decoration-on-accent/30 underline-offset-2 hover:text-on-accent",children:M.openOriginal})]})]}),document.body)}export{D as ImageLightbox,j as lightboxKind};
|
package/dist/chunk-4Y33Y4OX.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{usePlotWidth as e}from"./chunk-MAFUXCPZ.js";import{axisGutter as t,radiusScale as i,niceMax as l,logScale as r,linearScale as o}from"./chunk-2JWPNR2U.js";import{ChartTooltip as n}from"./chunk-WDQI3FV6.js";import{CHART_INK as a,resolveSeriesColorWithin as s}from"./chunk-TZFACUMR.js";import{registerModalEscapeInterceptor as c}from"./chunk-TWVUQUUD.js";import{useShellStrings as m,useShellLocale as h}from"./chunk-JSHMIMAJ.js";import{formatPlain as f}from"./chunk-C3QOHMR6.js";import{useRef as u,useId as p,useState as d,useEffect as x}from"react";import{jsx as y,jsxs as g}from"react/jsx-runtime";var b=3;function k({series:b,height:k=260,width:v,xLabel:M,yLabel:A,formatX:z,formatY:$,xDomain:j,yDomain:w,xScale:N="linear",yScale:R="linear",radiusRange:S=[4,22],className:D,emptyLabel:U}){const L=m().charts,W=h(),I=z??(e=>f(e,W)),P=$??(e=>f(e,W)),V=U??L.noObservations,C=u(null),E=e(C),F=v??E,J=p(),[O,Q]=d(null);x(()=>{if(null!==O)return c(e=>"Escape"===e.key&&(Q(null),!0))},[O]);const B=(e,t)=>!t||e>=Math.min(t[0],t[1])&&e<=Math.max(t[0],t[1]),H=b.map((e,t)=>({...e,slot:t})).filter(e=>e.points.length>0),T=j||w?H.map(e=>({...e,points:e.points.filter(e=>B(e.x,j)&&B(e.y,w))})).filter(e=>e.points.length>0):H,X=H.reduce((e,t)=>e+t.points.length,0)-T.reduce((e,t)=>e+t.points.length,0);if(0===T.length)/* @__PURE__ */
|
|
2
|
-
return y("div",{className:D,ref:C,children:/* @__PURE__ */y("p",{className:"flex items-center justify-center text-sm text-gray-500",style:{height:k},children:V})});const Z=T.flatMap(e=>e.points),K=Z.some(e=>null!=e.size),Y=14,q=20,G=34,_=52,ee=(e,t,i,n)=>{const a=e.filter(e=>e>0),s="log"===i?a.length>0?Math.min(...a):0:Math.min(0,...e),c=t??[s,l(Math.max(...e))];return"log"===i?r(c,n):o(c,n)},te=ee(Z.map(e=>e.y),w,R,{from:k-G,to:Y}),ie=t(te.ticks(5).map(P),_),le=Math.max(ie+1,F-q),re=ee(Z.map(e=>e.x),j,N,{from:ie,to:le}),oe=i([0,Math.max(...Z.map(e=>e.size??1))],{from:S[0],to:S[1]}),ne=O?T[O.s]:void 0,ae=O&&ne?ne.points[O.i]:void 0,se=T.flatMap((e,t)=>e.points.map((e,i)=>({s:t,i:i})));/* @__PURE__ */
|
|
3
|
-
return g("div",{className:`relative ${D??""}`,ref:C,children:[
|
|
4
|
-
/* @__PURE__ */g("svg",{width:"100%",height:k,viewBox:`0 0 ${F} ${k}`,role:"img","aria-label":L.scatter(T.map(e=>e.label),A??L.yAxis,M??L.xAxis)+(X>0?`. ${L.outsideRange(X)}`:""),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:e=>{if("ArrowRight"!==e.key&&"ArrowLeft"!==e.key)return;e.preventDefault();const t="ArrowRight"===e.key?1:-1,i=O?se.findIndex(e=>e.s===O.s&&e.i===O.i):0;Q(se[Math.min(se.length-1,Math.max(0,i+t))])},children:[
|
|
5
|
-
/* @__PURE__ */y("defs",{children:/* @__PURE__ */y("clipPath",{id:J,children:/* @__PURE__ */y("rect",{x:ie-S[1],y:Y-S[1],width:le-ie+2*S[1],height:k-G-Y+2*S[1]})})}),te.ticks(5).map(e=>/* @__PURE__ */g("g",{children:[
|
|
6
|
-
/* @__PURE__ */y("line",{x1:ie,y1:te(e),x2:le,y2:te(e),stroke:a.grid,strokeWidth:1,shapeRendering:"crispEdges"}),
|
|
7
|
-
/* @__PURE__ */y("text",{x:ie-8,y:te(e)+4,textAnchor:"end",fontSize:11,fill:a.label,style:{fontVariantNumeric:"tabular-nums"},children:P(e)})]},`y${e}`)),re.ticks(5).map(e=>/* @__PURE__ */y("text",{x:re(e),y:k-12,textAnchor:"middle",fontSize:11,fill:a.label,style:{fontVariantNumeric:"tabular-nums"},children:I(e)},`x${e}`)),M&&/* @__PURE__ */y("text",{x:(ie+le)/2,y:k-.5,textAnchor:"middle",fontSize:11,fill:a.label,children:M}),A&&/* @__PURE__ */y("text",{x:12,y:k/2,transform:`rotate(-90 12 ${k/2})`,textAnchor:"middle",fontSize:11,fill:a.label,children:A}),
|
|
8
|
-
/* @__PURE__ */y("g",{clipPath:`url(#${J})`,children:T.map((e,t)=>{const i=s(e.slot,3,e.color,e.tone);return e.points.map((l,r)=>/* @__PURE__ */y("circle",{cx:re(l.x),cy:te(l.y),r:K?oe(l.size??0):S[0]+1,fill:i,fillOpacity:O&&O.s!==t?.25:.62,stroke:a.surface,strokeWidth:2,onMouseEnter:()=>Q({s:t,i:r})},`${e.key}-${r}`))})})]}),O&&ne&&ae&&/* @__PURE__ */y("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */y(n,{title:ae.label??ne.label,rows:[{key:"x",label:M??L.xAxis,color:s(ne.slot,3,ne.color,ne.tone),value:I(ae.x)},{key:"y",label:A??L.yAxis,color:s(ne.slot,3,ne.color,ne.tone),value:P(ae.y)},...null!=ae.size?[{key:"size",label:L.size,color:a.muted,value:f(ae.size,W)}]:[]],footnote:ae.label?ne.label:void 0})})]})}export{b as SCATTER_SERIES_CAP,k as ScatterChart};
|
package/dist/chunk-574SLTKO.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{AccessibleTable as t}from"./chunk-HY6CBG4M.js";import{arcPath as e}from"./chunk-VFC6QUEN.js";import{useHighlight as o}from"./chunk-CNYAHYE6.js";import{ChartTooltip as n}from"./chunk-WDQI3FV6.js";import{CHART_INK as r,resolveSeriesColor as a}from"./chunk-TZFACUMR.js";import{useShellStrings as l,useShellLocale as i}from"./chunk-JSHMIMAJ.js";import{formatPlain as s}from"./chunk-C3QOHMR6.js";import{useState as c}from"react";import{jsx as d,jsxs as m}from"react/jsx-runtime";function h(t,e,o,n){const r=(t,o)=>{const n=e[t]?.[o];return"number"==typeof n&&Number.isFinite(n)?n:0},a=t.map((e,o)=>t.reduce((t,e,n)=>t+r(o,n)+r(n,o),0)),l=Math.max(2,o),i=t.length>l,s=i?t.map((t,e)=>e).sort((t,e)=>a[e]-a[t]).slice(0,l-1).sort((t,e)=>t-e):t.map((t,e)=>e),c=new Map(s.map((t,e)=>[t,e])),d=i?s.length:-1,m=i?[...s.map(e=>t[e]),n]:[...t],h=m.map(()=>m.map(()=>0));let u=0;t.forEach((e,o)=>t.forEach((t,e)=>{const n=c.get(o)??d,a=c.get(e)??d;n!==d||a!==d?h[n][a]+=r(o,e):u+=r(o,e)}));const f=m.map((t,e)=>m.reduce((t,o,n)=>t+h[e][n]+h[n][e],0));return d>=0&&(f[d]+=u),{labels:m,matrix:h,totals:f,otherIndex:d,foldedCount:i?t.length-s.length:0}}function u({labels:u,matrix:f,size:p=340,maxNodes:x=8,padAngle:g=.04,arcWidth:b=12,formatValue:M,className:k,emptyLabel:v}){const $=l().charts,w=i(),N=M??(t=>s(t,w)),j=v??$.noFlows,[y,F]=c(null),{highlighted:C}=o(),E=h(u,f,x,$.other),{labels:I,matrix:A,otherIndex:z,foldedCount:H}=E,Q=(t,e)=>A[t]?.[e]??0,L=t=>t===z?r.muted:a(t),O=E.totals,V=I.map((t,e)=>e).sort((t,e)=>O[e]-O[t]),W=V.reduce((t,e)=>t+O[e],0);if(W<=0)/* @__PURE__ */return d("p",{className:`text-sm text-gray-500 ${k??""}`,children:j});const Y=p/2,B=p/2,J=p/2-44,P=J-b,R=g*V.length,S=/* @__PURE__ */new Map;let T=-Math.PI/2;V.forEach((t,e)=>{const o=O[t]/W*(2*Math.PI-R);S.set(t,{start:T,end:T+o,slot:e}),T+=o+g});const U=/* @__PURE__ */new Map,D=[];for(const t of V)for(const e of V){const o=Q(t,e);if(o<=0)continue;const n=S.get(t),r=o/Math.max(1,O[t])*(n.end-n.start),a=U.get(t)??0;U.set(t,a+r),D.push({from:t,to:e,value:o,a:n.start+a+r/2,b:S.get(e).start+(S.get(e).end-S.get(e).start)/2})}const G=(t,e)=>[Y+e*Math.cos(t),B+e*Math.sin(t)],Z="arc"===y?.kind?y.index:void 0,q="ribbon"===y?.kind?D[y.index]:void 0;/* @__PURE__ */
|
|
2
|
-
return m("div",{className:`relative ${k??""}`,children:[
|
|
3
|
-
/* @__PURE__ */m("svg",{width:"100%",height:p,viewBox:`0 0 ${p} ${p}`,role:"img","aria-label":$.chord(V.length),onMouseLeave:()=>F(null),children:[D.map((t,e)=>{const[o,n]=G(t.a,P),[r,a]=G(t.b,P),l=L(t.from),i=((t,e)=>y?"ribbon"===y.kind?y.index===e:y.index===t.from||y.index===t.to:null!==C?I[t.from]===C||I[t.to]===C:null)(t,e);/* @__PURE__ */
|
|
4
|
-
return d("path",{d:`M${o},${n} Q${Y},${B} ${r},${a}`,fill:"none",stroke:l,strokeWidth:Math.max(1,t.value/W*p*.9),strokeOpacity:null===i||i?.34:.07,strokeLinecap:"round",onMouseEnter:()=>F({kind:"ribbon",index:e})},`${I[t.from]}→${I[t.to]}`)}),V.map(t=>{const o=S.get(t),n=(o.start+o.end)/2,[a,l]=G(n,J+16),i=(t=>y?"arc"===y.kind?y.index===t:D[y.index].from===t||D[y.index].to===t:null!==C?I[t]===C:null)(t);/* @__PURE__ */
|
|
5
|
-
return m("g",{onMouseEnter:()=>F({kind:"arc",index:t}),children:[
|
|
6
|
-
/* @__PURE__ */d("path",{d:e(Y,B,P,J,o.start,o.end),fill:L(t),fillOpacity:null===i||i?1:.45}),
|
|
7
|
-
/* @__PURE__ */d("text",{x:a,y:l+4,fontSize:11,fill:r.label,textAnchor:Math.cos(n)>.15?"start":Math.cos(n)<-.15?"end":"middle",children:I[t]})]},t)})]}),H>0&&/* @__PURE__ */d("p",{className:"mt-1 text-xs text-ink-faint",children:$.chordFolded(H)}),void 0!==Z&&/* @__PURE__ */d("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */d(n,{title:I[Z],rows:[{key:"total",label:$.totalFlow,color:L(Z),value:N(O[Z])}]})}),q&&/* @__PURE__ */d("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */d(n,{title:`${I[q.from]} → ${I[q.to]}`,rows:[{key:"value",label:$.flow,color:L(q.from),value:N(q.value)}]})}),
|
|
8
|
-
/* @__PURE__ */d(t,{caption:$.chord(V.length),head:[$.tableFrom,$.tableTo,$.value],rows:D.map(t=>[I[t.from],I[t.to],N(t.value)])})]})}export{u as ChordChart,h as foldChord};
|
package/dist/chunk-A4PFVMQ2.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{squarify as e}from"./chunk-46BYGPGD.js";import{AccessibleTable as t}from"./chunk-HY6CBG4M.js";import{useHighlight as l}from"./chunk-CNYAHYE6.js";import{usePlotWidth as a}from"./chunk-MAFUXCPZ.js";import{ChartTooltip as r}from"./chunk-WDQI3FV6.js";import{resolveSeriesColor as i,CHART_INK as o}from"./chunk-TZFACUMR.js";import{useShellStrings as n,useShellLocale as m}from"./chunk-JSHMIMAJ.js";import{formatPlain as h}from"./chunk-C3QOHMR6.js";import{useRef as c,useState as u}from"react";import{jsx as s,jsxs as f}from"react/jsx-runtime";function p({items:p,height:d=320,width:v,gap:x=2,radius:g=3,formatValue:y,color:k,className:b,emptyLabel:M}){const j=n().charts,w=m(),N=y??(e=>h(e,w)),$=M??j.nothingToBreakDown,C=c(null),A=a(C),B=v??A,[F,H]=u(null),{highlighted:Y}=l(),z=e(p,B,d);if(0===z.length)/* @__PURE__ */
|
|
2
|
-
return s("div",{className:b,ref:C,children:/* @__PURE__ */s("p",{className:"py-8 text-center text-sm text-gray-500",children:$})});const D=k??i(0),G=Math.max(...z.map(e=>e.value),1),I=e=>34+e/G*62,S=e=>`color-mix(in oklab, ${D} ${I(e).toFixed(0)}%, ${o.surface})`,V=e=>I(e)>=55?o.surface:o.label,E=F??Y,J=F?z.find(e=>e.key===F):void 0;/* @__PURE__ */
|
|
3
|
-
return f("div",{className:`relative ${b??""}`,ref:C,children:[
|
|
4
|
-
/* @__PURE__ */s("svg",{width:"100%",height:d,viewBox:`0 0 ${B} ${d}`,role:"img","aria-label":j.treemap(p.length),onMouseLeave:()=>H(null),children:z.map(e=>{const t=Math.max(0,e.width-x),l=Math.max(0,e.height-x),a=t>6.2*e.label.length+12&&l>30,r=a&&l>44;/* @__PURE__ */
|
|
5
|
-
return f("g",{opacity:E&&E!==e.key?.55:1,onMouseEnter:()=>H(e.key),children:[
|
|
6
|
-
/* @__PURE__ */s("rect",{x:e.x+x/2,y:e.y+x/2,width:t,height:l,rx:g,fill:S(e.value)}),a&&/* @__PURE__ */s("text",{x:e.x+x/2+8,y:e.y+x/2+18,fontSize:12,fontWeight:600,fill:V(e.value),children:e.label}),r&&/* @__PURE__ */s("text",{x:e.x+x/2+8,y:e.y+x/2+34,fontSize:11,fill:V(e.value),fillOpacity:.85,style:{fontVariantNumeric:"tabular-nums"},children:N(e.value)})]},e.key)})}),J&&/* @__PURE__ */s("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */s(r,{title:J.label,rows:[{key:"value",label:j.value,color:S(J.value),value:N(J.value)}]})}),
|
|
7
|
-
/* @__PURE__ */s(t,{caption:j.treemap(p.length),head:[j.tableItem,j.value],rows:z.map(e=>[e.label,N(e.value)])})]})}export{p as TreemapChart};
|
package/dist/chunk-BHHFVIAD.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{TimelineCard as e}from"./chunk-S4Z657L6.js";import{TimelineTrack as n,TimelineMilestoneIcon as s}from"./chunk-CMJD5URC.js";import{toDayMs as i,fmtSliderDate as t,DAY_MS as a}from"./chunk-7TC3LJQM.js";import{useBrowserValueOnce as l}from"./chunk-D65T4H6J.js";import{useShellStrings as o,useShellLocale as r}from"./chunk-JSHMIMAJ.js";import{jsx as h}from"react/jsx-runtime";function m({title:m,heading:d,subject:c,milestones:p,summary:u,endDate:g,phaseLabels:k,variant:v="card",edgeCaptions:f,highlightKeys:M=null,onHoverChange:y}){const b=l(Date.now,null),j=[],C=[],x=o().timeline,J=r();for(const e of p){const n=i(e.date??null);null===n?C.push({key:e.key,label:e.label,kind:e.kind}):j.push({...e,ms:n})}j.sort((e,n)=>e.ms-n.ms);const D=i(g??null);let H,L,w=!0;0===j.length?(L=D??b??0,H=L-30*a,w=null!==D||null!==b):(H=j[0].ms,L=D??j[j.length-1].ms,L-H<a&&(L=H+a));const N=j.length>0?Math.max(0,Math.round((L-H)/a)):0,O=u??(N>0?x.duration(N):void 0),K=[j.length>0?x.started(t(j[0].ms,J)):void 0,O,C.length>0?x.reached(j.length,p.length):void 0],S=j.map(e=>{return{key:e.key,ms:e.ms,kind:e.kind,label:e.label,detail:e.detail,preview:e.preview,glyph:e.glyph,onClick:e.onClick,onOpen:e.onOpen,priority:(n=e.kind,"dfm"===n?1:0),caption:e.caption,provisional:e.provisional};var n}),T={};for(const e of j)e.phase&&(T[e.phase]=T[e.phase]||[]).push(e.ms);const A=Object.entries(T).filter(([,e])=>e.length>=2).map(([e,n])=>({key:e,label:k?.[e]??e,minMs:Math.min(...n),maxMs:Math.max(...n)})),I="rail"===v,Q=w&&/* @__PURE__ */h("div",{className:"select-none",children:/* @__PURE__ */h(n,{axis:I?"spread":"compressed",labels:I?"none":"lanes",items:S,pending:C,phases:A,startMs:H,endMs:L,todayMs:b??void 0,edgeCaptions:f,highlightKeys:M,onHoverChange:y,ariaLabel:x.milestones(m)})});/* @__PURE__ */
|
|
2
|
-
return h("div",I?{className:"shrink-0","data-timeline-variant":"rail",children:Q}:{className:"shrink-0",children:/* @__PURE__ */h(e,{icon:/* @__PURE__ */h(s,{}),heading:d??m,subject:c,meta:K,children:Q})})}export{m as MilestoneTimeline};
|
package/dist/chunk-BM2QIV64.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import{Calendar as e}from"./chunk-CCK2UWQ5.js";import{toDateKey as t,fromDateKey as r,toMonthKey as n}from"./chunk-2HMNOLKX.js";import{END_ACTIONS_PAD as a,InputEndActionSlot as o,InputEndActionButton as l}from"./chunk-6RK6R3RY.js";import{FILTER_ON as i,FILTER_ON_INK as s,FILTER_OFF as c}from"./chunk-AYZY3YNC.js";import{calendarNames as d}from"./chunk-Y3JW2GW5.js";import{pad2 as m}from"./chunk-LF27WIN2.js";import{Icon as u}from"./chunk-XZXFUZIK.js";import{onOverlayOpen as h}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as p}from"./chunk-62LW225J.js";import{useDropdownPosition as f}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as g}from"./chunk-D65T4H6J.js";import{buttonClasses as b}from"./chunk-UQYNPYF4.js";import{glassStyle as x}from"./chunk-5FYDNH4Y.js";import{useShellStrings as v,useShellLocale as y}from"./chunk-JSHMIMAJ.js";import{useState as w,useRef as k,useId as N,useEffect as C}from"react";import{createPortal as M}from"react-dom";import{jsxs as W,Fragment as j,jsx as D}from"react/jsx-runtime";var $=["last2Weeks","lastMonth","last3Months","last6Months","last12Months"],Y=t;function F(e,r){const n=r.getFullYear(),a=r.getMonth(),o=new Date(n,a,r.getDate()),l=new Date(n,a,0),i=e=>new Date(n,a-e,1);switch(e){case"last2Weeks":return{from:t(new Date(n,a,r.getDate()-14)),to:t(o)};case"lastMonth":return{from:t(i(1)),to:t(l)};case"last3Months":return{from:t(i(3)),to:t(l)};case"last6Months":return{from:t(i(6)),to:t(l)};case"last12Months":return{from:t(i(12)),to:t(l)}}}function S(e,t,r){const a=n(e);return t&&a<t.slice(0,7)?t.slice(0,7):r&&a>r.slice(0,7)?r.slice(0,7):a}function H(e){const t=r(e);return t?`${m(t.getDate())}/${m(t.getMonth()+1)}/${t.getFullYear()}`:e}var O=/* @__PURE__ */new Map;function L({from:t,to:n,onChange:m,formatDisplay:Y,clearable:L,required:R=!1,name:J,id:U,"aria-labelledby":B,"aria-label":I,weekStartsOn:T,placeholder:A,fullWidth:E=!1,min:G,max:K,disabled:Z=!1,allowOpenEnd:q=!1}){const X=v().dateRange,P=y(),Q=Y??(P?function(e){let t=O.get(e);t||(t=new Intl.DateTimeFormat(e,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:"UTC",calendar:"gregory"}),O.set(e,t));const n=t;return e=>{const t=r(e);return t?n.format(new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()))):e}}(P):H),z=A??X.placeholder,V=L??!R,[_,ee]=w(!1),[te,re]=w(t),[ne,ae]=w(n),[oe,le]=w(null),[ie,se]=w("from"),ce=k(null),de=k(null),me=k(null),ue=N(),he=N(),pe=N(),[fe,ge]=w(!1),be=f(ce,_,{preferredMaxWidth:520,preferredMaxHeight:fe?720:560,popupRef:me}),xe=k(null),ve=k(null),[ye,we]=w(!0);g(()=>{const e=ve.current;if(!_||!fe||!e)return;const t=getComputedStyle(e).gridTemplateColumns.split(" ").filter(Boolean).length||1,r=parseFloat(getComputedStyle(e).columnGap)||0,n=(e.clientWidth-r*(t-1))/t,a=Math.max(...Array.from(e.querySelectorAll("[data-preset-measure]"),e=>e.offsetWidth))+24+2<=n+.5;a!==ye&&we(a)});const ke=k(null);g(()=>{const e=me.current;if(!_||!be||!e)return;const t=getComputedStyle(e),r=be.maxWidth-(e.offsetWidth-e.clientWidth)-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight);if(fe)null!==ke.current&&ke.current<=r&&ge(!1);else{const e=xe.current?.offsetWidth??0;if(0===e)return;ke.current=e,e>r+.5&&ge(!0)}});const[Ne,Ce]=w(!1);g(()=>{const e=!!U&&(de.current?.labels?.length??0)>0;e!==Ne&&Ce(e)});const Me=!!I||!!B||Ne,We=/* @__PURE__ */new Date,[je,De]=w(()=>t?t.slice(0,7):S(We,G,K)),$e=$.filter(e=>((e,t,r)=>(!t||e.from>=t)&&(!r||e.to<=r))(F(e,We),G,K)),Ye=e=>e?Q(e):"";C(()=>{if(!_)return;const e=e=>{const t=e.target;ce.current?.contains(t)||me.current?.contains(t)||ee(!1)};document.addEventListener("mousedown",e);const t=h(()=>ee(!1));return()=>{document.removeEventListener("mousedown",e),t()}},[_]),C(()=>{Z&&ee(!1)},[Z]);const Fe=()=>{m("",""),ee(!1)},Se=V&&!Z&&Boolean(t||n),He=t&&n?`${Ye(t)} — ${Ye(n)}`:t?X.fromOnly(Ye(t)):n?X.toOnly(Ye(n)):"",Oe=d(P),Le=e=>{const t=r(e);return t?Oe.longDate(t.getFullYear(),t.getMonth(),t.getDate()):e},Re=t&&n?X.range(Le(t),Le(n)):t?X.fromOnly(Le(t)):n?X.toOnly(Le(n)):z,Je=e=>fe?"h-8 w-full min-w-0 truncate rounded-(--radius-control) border px-3 text-sm transition-colors "+(oe===e?"border-blue-300 bg-accent-tint text-blue-700 font-medium":"border-line text-ink hover:bg-row-hover"):"h-8 text-left px-3 text-sm rounded-(--radius-control) transition-colors "+(oe===e?"bg-accent-tint text-blue-700 font-medium":"text-ink hover:bg-row-hover"),Ue=/* @__PURE__ */W(j,{children:[$e.map(e=>/* @__PURE__ */D("button",{type:"button",onClick:()=>(e=>{if("Custom"===e)return;const t=F(e,We);re(t.from),ae(t.to),le(e),De(t.from.slice(0,7))})(e),className:Je(e),"aria-label":fe?X[e]:void 0,children:fe?ye?X[e]:X[`${e}Short`]:X[e]},e)),
|
|
2
|
-
/* @__PURE__ */D("button",{type:"button",onClick:()=>le("Custom"),className:Je("Custom"),children:X.custom})]}),Be=(e,t)=>q?/* @__PURE__ */D("button",{type:"button","data-range-end":e,"aria-pressed":ie===e,onClick:()=>se(e),className:"flex items-center gap-2 whitespace-nowrap rounded rosh-focus-ring",children:t}):/* @__PURE__ */D("div",{className:"flex items-center gap-2 whitespace-nowrap",children:t}),Ie=e=>q&&ie===e?" ring-1 ring-blue-400":"",Te=
|
|
3
|
-
/* @__PURE__ */D(e,{mode:"range",min:G,max:K,value:te||null,endValue:ne||null,month:je,onMonthChange:De,onSelect:e=>{le("Custom"),q?"from"===ie?(ne&&e>ne?(re(ne),ae(e)):re(e),se("to")):te&&e<te?(ae(te),re(e)):ae(e):!te||te&&ne?(re(e),ae("")):e<te?(ae(te),re(e)):ae(e)},weekStartsOn:T,"aria-label":X.dialog});/* @__PURE__ */
|
|
4
|
-
return W("div",{className:"relative"+(E?" w-full":""),ref:ce,children:[
|
|
5
|
-
/* @__PURE__ */W("div",{className:`relative ${E?"flex w-full":"inline-flex"} h-8 items-center gap-2 border rounded-lg px-3 ${Se?a[1]:""} text-sm focus-within:border-blue-500 has-focus-visible:ring-1 has-focus-visible:ring-[color:var(--rosh-focus-ring-deep)] ${t||n?`${i} ${s}`:c}${Z?" cursor-not-allowed opacity-60":""}`,children:[
|
|
6
|
-
/* @__PURE__ */W("button",{ref:de,type:"button",onClick:()=>{Z||(re(t),ae(n),le(null),se(t&&!n?"to":"from"),De(t?t.slice(0,7):S(We,G,K)),ee(!0))},"aria-haspopup":"dialog","aria-expanded":_,id:U,disabled:Z||void 0,"aria-label":I,"aria-labelledby":B,"aria-describedby":[Me?he:void 0,R?pe:void 0].filter(Boolean).join(" ")||void 0,"aria-controls":_?ue:void 0,className:"inline-flex items-center gap-2 rosh-focus-ring"+(E?" min-w-0 flex-1 justify-start":""),children:[
|
|
7
|
-
/* @__PURE__ */D(u,{name:"date",className:"w-4 h-4 shrink-0",strokeWidth:"2","aria-hidden":"true"}),
|
|
8
|
-
/* @__PURE__ */D("span",{className:"truncate",children:He||z})]}),Se&&/* @__PURE__ */D(o,{children:/* @__PURE__ */D(l,{action:{label:X.clearRange,icon:/* @__PURE__ */D(u,{name:"close"}),onClick:Fe}})})]}),Me&&/* @__PURE__ */D("span",{id:he,className:"sr-only",children:Re}),R&&/* @__PURE__ */D("span",{id:pe,className:"sr-only",children:X.required}),J&&/* @__PURE__ */W(j,{children:[
|
|
9
|
-
/* @__PURE__ */D("input",{type:"hidden",name:J.from,value:t,disabled:Z||void 0}),
|
|
10
|
-
/* @__PURE__ */D("input",{type:"hidden",name:J.to,value:n,disabled:Z||void 0})]}),_&&M(
|
|
11
|
-
/* @__PURE__ */W("div",{ref:me,id:ue,role:"dialog","aria-label":X.dialog,"data-layout":fe?"stacked":"side",className:"fixed rounded-(--radius-popup) p-4",style:{zIndex:p.popup,left:be?.left,right:be?.right,top:be?.top,bottom:be?.bottom,width:fe&&be?be.maxWidth:"max-content",maxWidth:be?.maxWidth,maxHeight:be?.maxHeight,overflowY:"auto",visibility:be?void 0:"hidden",...x()},children:[
|
|
12
|
-
/* @__PURE__ */W("div",{className:fe?"mb-3 flex flex-wrap items-center gap-x-4 gap-y-2":"flex items-center gap-3 mb-3",children:[Be("from",/* @__PURE__ */W(j,{children:[
|
|
13
|
-
/* @__PURE__ */D("span",{className:"text-xs font-medium text-gray-500",children:X.from}),
|
|
14
|
-
/* @__PURE__ */D("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${te?"border-blue-300 bg-accent-tint text-blue-700":"border-line bg-surface-sunken text-ink-faintest"}${Ie("from")}`,children:te?Ye(te):X.start})]})),!fe&&/* @__PURE__ */D("span",{className:"text-gray-300",children:"—"}),Be("to",/* @__PURE__ */W(j,{children:[
|
|
15
|
-
/* @__PURE__ */D("span",{className:"text-xs font-medium text-gray-500",children:X.to}),
|
|
16
|
-
/* @__PURE__ */D("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${ne?"border-blue-300 bg-accent-tint text-blue-700":"border-line bg-surface-sunken text-ink-faintest"}${Ie("to")}`,children:ne?Ye(ne):X.end})]}))]}),fe?/* @__PURE__ */W(j,{children:[$e.length>0&&/* @__PURE__ */W("div",{className:"mb-3 @container",children:[!ye&&/* @__PURE__ */D("p",{"aria-hidden":"true",className:"mb-1 text-xs font-medium text-ink-faint",children:X.lastHeading}),
|
|
17
|
-
/* @__PURE__ */W("div",{ref:ve,className:"relative grid grid-cols-2 gap-2 @min-[320px]:grid-cols-3",children:[Ue,$e.map(e=>/* @__PURE__ */D("span",{"data-preset-measure":"","aria-hidden":"true",className:"invisible absolute left-0 top-0 whitespace-nowrap text-sm",children:X[e]},e))]})]}),
|
|
18
|
-
/* @__PURE__ */D("div",{className:"w-full",children:Te})]}):
|
|
19
|
-
/* @__PURE__ */W("div",{ref:xe,className:"flex w-max gap-4",children:[
|
|
20
|
-
/* @__PURE__ */D("div",{className:"w-64",children:Te}),$e.length>0&&/* @__PURE__ */D("div",{className:"border-l border-gray-200 pl-4 flex flex-col gap-1 min-w-[130px]",children:Ue})]}),
|
|
21
|
-
/* @__PURE__ */W("div",{className:"flex flex-wrap justify-end gap-2 mt-4 pt-3 border-t border-gray-200",children:[V&&/* @__PURE__ */D("button",{type:"button",onClick:Fe,className:b({variant:"ghost"}),children:X.clear}),
|
|
22
|
-
/* @__PURE__ */D("button",{type:"button",onClick:()=>ee(!1),className:b({variant:"secondary"}),children:X.cancel}),
|
|
23
|
-
/* @__PURE__ */D("button",{type:"button",onClick:()=>{m(te,ne),ee(!1)},disabled:q?!te&&!ne:!te||!ne,className:b({variant:"primary"}),children:X.apply})]})]}),document.body)]})}export{L as DateRangePicker,F as presetRange,Y as toISODate};
|
package/dist/chunk-D2WJAF62.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{useOverlayTarget as e,usePopupAnchor as r,usePanelPosition as i,usePopupLevel as t,usePopupLevelBindings as a,windowScrimStyle as o,OverlayLayerProvider as l,scrimHasCorners as n,popupLayerStyle as s}from"./chunk-RIG5FEVS.js";import{useDiscardGuard as d}from"./chunk-5WK56FA3.js";import{dialogA11y as c}from"./chunk-VWGWZY7A.js";import{useDismissPopupsOnOpen as m}from"./chunk-7QSDPSXP.js";import{useFocusTrap as u,useScrollLock as p}from"./chunk-DWGYC7OD.js";import{Icon as f}from"./chunk-XZXFUZIK.js";import{useHydrated as h}from"./chunk-D65T4H6J.js";import{registerModalEscapeInterceptor as v}from"./chunk-TWVUQUUD.js";import{useShellStrings as x}from"./chunk-JSHMIMAJ.js";import{useRef as b,useId as y,useState as g,useEffect as k}from"react";import{createPortal as w}from"react-dom";import{jsxs as j,Fragment as N,jsx as $}from"react/jsx-runtime";var C="bg-black/30 backdrop-blur-sm",W={sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-4xl","2xl":"max-w-6xl"};function D({open:D,onClose:F,title:I,description:S,role:U="dialog",children:A,footer:G,blocking:J=!1,size:T="md",aside:V=!1,dirty:X=!1,initialFocus:Z,"aria-label":E,"aria-labelledby":H,"aria-describedby":K,className:M=""}){const P=b(null),Q=y(),Y=y(),z=!J,B=y(),L=x().dialog,O=e(h()),[R,q]=g(null),_=d({open:D,dirty:X,onClose:F,title:I,layer:R}),ee=b(null),re=r(D&&null!==O,ee),ie=i(re,P),te=t(D&&null!==O,ee),ae=a(te,R),oe=o(te),le=null!==te.host;if(m(D),u(P,D&&null!==O,Z,ae),p(D),k(()=>{if(D)return v(()=>!ae.current?.(document.activeElement)&&(J||_(),!0),()=>P.current)},[D,J,_,ae]),!D||!O)return null;/* @__PURE__ */
|
|
2
|
-
return j(N,{children:[/* @__PURE__ */$("span",{ref:ee,hidden:!0,"data-popup-anchor":""}),w(
|
|
3
|
-
/* @__PURE__ */$(l,{value:R,children:/* @__PURE__ */j("div",{ref:q,className:"fixed inset-0"+(V?" pointer-events-none opacity-0":le?" pointer-events-none":""),style:s(te),role:"presentation","data-overlay-layer":"","data-aside":V?"":void 0,children:[!le&&/* @__PURE__ */$("div",{className:`fixed inset-0 ${C}`,"aria-hidden":"true","data-popup-scrim":"system"}),oe&&/* @__PURE__ */$("div",{className:`fixed ${C}${V?"":" pointer-events-auto"}${n(te)?" rounded-(--radius-window)":""}`,style:oe,onClick:J?void 0:_,"aria-hidden":"true","data-popup-scrim":"window"}),
|
|
4
|
-
/* @__PURE__ */$("div",{className:re?"fixed inset-0":"fixed inset-0 flex items-center justify-center p-4",onClick:J||le?void 0:e=>{e.target===e.currentTarget&&_()},children:/* @__PURE__ */j("div",{ref:P,"data-popup-panel":"",style:re?{left:ie?.left??0,top:ie?.top??0,visibility:ie?void 0:"hidden"}:void 0,...c({role:U,modal:!0,titleId:I?B:void 0,labelledBy:H,label:E}),"aria-describedby":K??(S?Y:A?Q:void 0),className:`${re?"absolute max-h-[calc(100%-2rem)] w-[calc(100%-2rem)]":"relative max-h-full w-full"} ${W[T]} overflow-y-auto overscroll-contain rounded-(--radius-card) bg-white p-6 shadow-xl${le&&!V?" pointer-events-auto":""} ${M}`.trim(),children:[I&&/* @__PURE__ */$("h2",{id:B,className:(z?"pr-8 ":"")+"text-base font-semibold text-gray-900",children:I}),S&&/* @__PURE__ */$("p",{id:Y,className:((I?"mt-1":z?"pr-8":"")+" text-sm text-gray-500").trim(),children:S}),A&&/* @__PURE__ */$("div",{id:Q,className:"mt-2 text-sm text-gray-600",children:A}),G&&/* @__PURE__ */$("div",{className:"mt-6 flex flex-wrap justify-end gap-3",children:G}),z&&/* @__PURE__ */$("button",{type:"button",onClick:_,"aria-label":L.close,className:"absolute right-3 top-3 rounded-(--radius-control) p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",children:/* @__PURE__ */$(f,{name:"close",className:"h-5 w-5",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true"})})]})})]})}),O)]})}export{D as Dialog};
|
package/dist/chunk-DG2TGWXI.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{AccessibleTable as e}from"./chunk-HY6CBG4M.js";import{polygonPoints as t}from"./chunk-VFC6QUEN.js";import{ChartDefs as r,maskId as l}from"./chunk-465RRWBY.js";import{useHighlight as a}from"./chunk-CNYAHYE6.js";import{angleScale as o}from"./chunk-2JWPNR2U.js";import{ChartTooltip as n}from"./chunk-WDQI3FV6.js";import{CHART_INK as i,resolveSeriesColorWithin as s}from"./chunk-TZFACUMR.js";import{useShellStrings as m,useShellLocale as c}from"./chunk-JSHMIMAJ.js";import{formatPlain as h}from"./chunk-C3QOHMR6.js";import{useId as p,useState as u}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";var k=3,g=e=>`${e.map(([e,t],r)=>`${0===r?"M":"L"}${e.toFixed(2)},${t.toFixed(2)}`).join(" ")} Z`;function x({axes:k,series:x,size:y=300,mode:b="area",grid:M="polygon",rings:v=4,formatValue:N,animate:j=!0,className:$,emptyLabel:C}){const W=m().charts,F=c(),w=N??(e=>h(e,F)),A=C??W.nothingToCompare,R=p(),[H,L]=u(null),{highlighted:Y}=a(),z=x;if(k.length<3||0===z.length)/* @__PURE__ */
|
|
2
|
-
return d("p",{className:`text-sm text-gray-500 ${$??""}`,children:A});const B=y/2,E=y/2,J=y/2-46,Q=o(k.length),S=k.map((e,t)=>null!=e.max&&Number.isFinite(e.max)&&e.max>0?e.max:Math.max(1,...z.map(e=>e.values[t]??0).filter(Number.isFinite))),T=(e,t)=>{const r=Math.max(0,Math.min(1,t/S[e])),l=Q.center(e)-Q.step/2;return[B+J*r*Math.cos(l),E+J*r*Math.sin(l)]},U=(e,t)=>null!==H?H!==e:null!==Y&&Y!==t,V=null!==H?z[H]:void 0;/* @__PURE__ */
|
|
3
|
-
return f("div",{className:`relative ${$??""}`,children:[
|
|
4
|
-
/* @__PURE__ */f("svg",{width:"100%",height:y,viewBox:`0 0 ${y} ${y}`,role:"img","aria-labelledby":R,onMouseLeave:()=>L(null),children:[
|
|
5
|
-
/* @__PURE__ */d("title",{id:R,children:W.acrossMeasures(z.map(e=>e.label),k.length)}),Array.from({length:v},(e,r)=>{const l=J*(r+1)/v;return"circle"===M?/* @__PURE__ */d("circle",{cx:B,cy:E,r:l,fill:"none",stroke:i.grid,strokeWidth:1},r):/* @__PURE__ */d("path",{d:g(t(B,E,l,k.length)),fill:"none",stroke:i.grid,strokeWidth:1},r)}),k.map((e,t)=>{const[r,l]=T(t,S[t]);/* @__PURE__ */
|
|
6
|
-
return f("g",{children:[
|
|
7
|
-
/* @__PURE__ */d("line",{x1:B,y1:E,x2:r,y2:l,stroke:i.grid,strokeWidth:1}),
|
|
8
|
-
/* @__PURE__ */d("text",{x:B+(J+18)*Math.cos(Q.center(t)-Q.step/2),y:E+(J+18)*Math.sin(Q.center(t)-Q.step/2)+4,textAnchor:"middle",fontSize:11,fill:i.label,children:e.label})]},e.key)}),
|
|
9
|
-
/* @__PURE__ */d(r,{id:R,reveal:!!j&&"center-out"}),z.map((e,t)=>{const r=s(t,3,e.color,e.tone),a=k.map((t,r)=>T(r,e.values[r]??0));/* @__PURE__ */
|
|
10
|
-
return f("g",{opacity:U(t,e.key)?.3:1,onMouseEnter:()=>L(t),mask:j?`url(#${l(R)})`:void 0,children:["area"===b&&/* @__PURE__ */d("path",{d:g(a),fill:r,fillOpacity:.18,stroke:"none"}),
|
|
11
|
-
/* @__PURE__ */d("path",{d:g(a),fill:"none",stroke:r,strokeWidth:2,strokeLinejoin:"round"}),a.map(([e,t],l)=>/* @__PURE__ */d("circle",{cx:e,cy:t,r:3.5,fill:r,stroke:i.surface,strokeWidth:1.5},l))]},e.key)})]}),V&&/* @__PURE__ */d("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */d(n,{title:V.label,rows:k.map((e,t)=>({key:e.key,label:e.label,color:s(H,3,V.color,V.tone),value:w(V.values[t]??0)}))})}),
|
|
12
|
-
/* @__PURE__ */d("ul",{className:"m-0 mt-3 grid gap-1 p-0",style:{gridTemplateColumns:"repeat(auto-fit,minmax(140px,1fr))"},children:z.map((e,t)=>/* @__PURE__ */f("li",{className:"flex list-none items-center gap-2 text-xs text-gray-600",children:[
|
|
13
|
-
/* @__PURE__ */d("span",{className:"h-2.5 w-2.5 shrink-0 rounded-sm",style:{backgroundColor:s(t,3,e.color,e.tone)}}),
|
|
14
|
-
/* @__PURE__ */d("span",{className:"flex-1 truncate",children:e.label})]},e.key))}),
|
|
15
|
-
/* @__PURE__ */d(e,{caption:W.acrossMeasures(z.map(e=>e.label),k.length),head:[W.tableSeries,...k.map(e=>e.label)],rows:z.map(e=>[e.label,...k.map((t,r)=>w(e.values[r]??0))])})]})}export{k as RADAR_SERIES_CAP,x as RadarChart};
|