efficient-shell 9.14.0 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/README.md +15 -19
  2. package/dist/{Browser-42NYVAPR.js → Browser-RFLTFP7Y.js} +13 -13
  3. package/dist/Calculator-DV2R65OS.js +29 -0
  4. package/dist/{CurrencyConverter-OIXAMDP7.js → CurrencyConverter-ELSCNMUT.js} +6 -6
  5. package/dist/{Documents-V2OKP6JZ.js → Documents-HKTTXLSR.js} +3 -3
  6. package/dist/{Files-OAMTKHYK.js → Files-ZSYGKZOV.js} +88 -88
  7. package/dist/{Notepad-3LG227K2.js → Notepad-63Q3JSCV.js} +9 -9
  8. package/dist/{PomodoroTimer-AYGPGA6Q.js → PomodoroTimer-XHNZGBDR.js} +2 -2
  9. package/dist/{Preview-BBQWQ4DG.js → Preview-PLCASIZA.js} +41 -41
  10. package/dist/Sidebar-QFT5WPK4.js +44 -0
  11. package/dist/{Spreadsheet-MS5FU7ET.js → Spreadsheet-Y7TJIBI5.js} +14 -14
  12. package/dist/{Stock-GSQNTV7E.js → Stock-KLYWTMMD.js} +2 -2
  13. package/dist/{Weather-5XLO2GLO.js → Weather-CT2IZHEW.js} +14 -14
  14. package/dist/{WorldClock-CG3NF4GA.js → WorldClock-EJCUVIUW.js} +4 -4
  15. package/dist/ai/index.js +35 -35
  16. package/dist/apps/index.js +1 -1
  17. package/dist/bin/media-host-check.js +1 -1
  18. package/dist/bin/ui-check.js +1 -1
  19. package/dist/brand.css +1 -1
  20. package/dist/chunk-2NMW66P5.js +1 -0
  21. package/dist/{chunk-EXJZUNNW.js → chunk-5CH2RGL6.js} +21 -21
  22. package/dist/{chunk-UX5L3MOB.js → chunk-6I6VSUKY.js} +4 -4
  23. package/dist/chunk-7YU27U3Y.js +19 -0
  24. package/dist/{chunk-MRUJRFIX.js → chunk-AJ3R5QPD.js} +5 -5
  25. package/dist/{chunk-KTKMM2XW.js → chunk-B7KD3DGY.js} +1 -1
  26. package/dist/{chunk-GXGBBMGV.js → chunk-BFVL2VTS.js} +1 -1
  27. package/dist/{chunk-QO35WRYA.js → chunk-BXEKX4TB.js} +17 -17
  28. package/dist/{chunk-VXP5L6DI.js → chunk-D2WGDTWN.js} +1 -1
  29. package/dist/{chunk-B4DR72FR.js → chunk-DVOQCAC2.js} +1 -1
  30. package/dist/{chunk-M33225G6.js → chunk-ED3QFXBC.js} +1 -1
  31. package/dist/{chunk-O25B75XX.js → chunk-EGAV5LSX.js} +1 -1
  32. package/dist/{chunk-HAFB45DT.js → chunk-FPGRKHUW.js} +7 -7
  33. package/dist/{chunk-A4HA7EXR.js → chunk-FRINAJU7.js} +1 -1
  34. package/dist/chunk-GBLMVFDW.js +5 -0
  35. package/dist/{chunk-VVVWVOG7.js → chunk-GQMS5657.js} +1 -1
  36. package/dist/chunk-GY67Y5SN.js +10 -0
  37. package/dist/{chunk-PKHZTFBK.js → chunk-HKAQXFUR.js} +1 -1
  38. package/dist/chunk-IEAFSVXC.js +1 -0
  39. package/dist/{chunk-NU2YQSOP.js → chunk-IQWIYZB5.js} +2 -2
  40. package/dist/{chunk-2TQ6BLSN.js → chunk-IU5KBQEQ.js} +6 -6
  41. package/dist/{chunk-PF5CKD4C.js → chunk-JHZV4TN6.js} +2 -2
  42. package/dist/chunk-LR77AS3N.js +15 -0
  43. package/dist/{chunk-BWIX3YIH.js → chunk-M3R4C3A6.js} +2 -2
  44. package/dist/chunk-MKEYXKZA.js +4 -0
  45. package/dist/{chunk-SVQJZF66.js → chunk-O33CUGOI.js} +5 -5
  46. package/dist/chunk-PA37I5ZX.js +3 -0
  47. package/dist/chunk-POCQ7ZL4.js +3 -0
  48. package/dist/chunk-PVR4KU7H.js +7 -0
  49. package/dist/{chunk-IKQVK3I3.js → chunk-QTQQKQGQ.js} +3 -3
  50. package/dist/{chunk-TIUFFVP5.js → chunk-RBXSU25O.js} +3 -3
  51. package/dist/{chunk-76IDLFXI.js → chunk-SGTZJMZ6.js} +1 -1
  52. package/dist/{chunk-D46AP6U5.js → chunk-T5V2GJ4D.js} +4 -4
  53. package/dist/{chunk-M5YG57UP.js → chunk-UFXE363L.js} +1 -1
  54. package/dist/chunk-UTQG344L.js +15 -0
  55. package/dist/{chunk-C45OKLRM.js → chunk-UZ43AT4O.js} +4 -4
  56. package/dist/{chunk-JWX7QRGE.js → chunk-XS4HFUTW.js} +1 -1
  57. package/dist/{chunk-M7H3OCIL.js → chunk-ZBTDMQUI.js} +11 -11
  58. package/dist/data/ListLoadError.js +1 -1
  59. package/dist/format/index.js +1 -1
  60. package/dist/forms/BorderInput.js +1 -1
  61. package/dist/forms/BrandAssetEditor.js +1 -1
  62. package/dist/forms/ColorPicker.js +1 -1
  63. package/dist/forms/ComposerAttachments.js +1 -1
  64. package/dist/forms/CornersInput.js +1 -1
  65. package/dist/forms/DisplayChips.js +1 -1
  66. package/dist/forms/IconPicker.js +1 -1
  67. package/dist/forms/InputNumber.js +1 -1
  68. package/dist/forms/LinkPicker.js +1 -1
  69. package/dist/forms/MediaLibrary.js +1 -1
  70. package/dist/forms/MediaUploadField.js +1 -1
  71. package/dist/forms/MediaUsedInList.js +1 -1
  72. package/dist/forms/PositionInput.js +1 -1
  73. package/dist/forms/Select.d.ts +0 -6
  74. package/dist/forms/Select.js +1 -1
  75. package/dist/forms/SidesInput.js +1 -1
  76. package/dist/forms/Slider.js +1 -1
  77. package/dist/forms/Snippet.js +1 -1
  78. package/dist/forms/SplitButton.js +1 -1
  79. package/dist/forms/Switch.js +1 -1
  80. package/dist/forms/TextToolbar.js +1 -1
  81. package/dist/forms/WidthsBar.js +1 -1
  82. package/dist/forms/settingRowContext.d.ts +1 -3
  83. package/dist/forms/settingRowContext.js +1 -1
  84. package/dist/icons/index.js +1 -1
  85. package/dist/index.d.ts +1 -1
  86. package/dist/index.js +136 -136
  87. package/dist/map/index.js +1 -1
  88. package/dist/page-tabs/index.js +5 -5
  89. package/dist/shell/Accordion.d.ts +22 -12
  90. package/dist/shell/Accordion.js +1 -1
  91. package/dist/shell/AppUpdateBanner.js +1 -1
  92. package/dist/shell/ContextMenu.js +1 -1
  93. package/dist/shell/DropdownMenu.js +1 -1
  94. package/dist/shell/HelpCenter.js +1 -1
  95. package/dist/shell/ImageLightbox.js +1 -1
  96. package/dist/shell/LanguageSelect.js +1 -1
  97. package/dist/shell/Markdown.js +1 -1
  98. package/dist/shell/PopupMenu.js +1 -1
  99. package/dist/shell/SearchableSelect.js +1 -1
  100. package/dist/shell/SettingReset.d.ts +23 -5
  101. package/dist/shell/SettingReset.js +1 -1
  102. package/dist/shell/SettingRow.d.ts +9 -14
  103. package/dist/shell/SettingRow.js +1 -1
  104. package/dist/shell/TopNav.js +1 -1
  105. package/dist/telemetry/index.js +1 -1
  106. package/dist/templates/ChatTemplate.js +1 -1
  107. package/dist/templates/CheckoutTemplate.js +1 -1
  108. package/dist/templates/DataTablePage.js +1 -1
  109. package/dist/templates/EmailTemplate.js +1 -1
  110. package/dist/templates/FormLayoutPage.js +1 -1
  111. package/dist/ui/index.d.ts +1 -1
  112. package/dist/ui/index.js +1 -1
  113. package/dist/ui.css +247 -32
  114. package/dist/version.js +1 -1
  115. package/package.json +1 -1
  116. package/dist/Calculator-PCTFUS5O.js +0 -29
  117. package/dist/Sidebar-RHGWTAPS.js +0 -44
  118. package/dist/chunk-6TCJOVFX.js +0 -3
  119. package/dist/chunk-A7CCSRPB.js +0 -12
  120. package/dist/chunk-AVAYZK3Z.js +0 -3
  121. package/dist/chunk-BGNJQMAZ.js +0 -1
  122. package/dist/chunk-KJXF5WAJ.js +0 -5
  123. package/dist/chunk-L65BESIE.js +0 -1
  124. package/dist/chunk-ME4VRJMK.js +0 -16
  125. package/dist/chunk-MNIULUQY.js +0 -14
  126. package/dist/chunk-NFJDLIRM.js +0 -5
  127. package/dist/chunk-UXPZQID4.js +0 -20
  128. package/dist/chunk-VVZE27M4.js +0 -7
package/dist/ui/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- import"../chunk-DSIDJYH7.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{DataTablePage}from"../chunk-76IDLFXI.js";export{EmailTemplate}from"../chunk-3AZBI76O.js";export{ErrorBoundary}from"../chunk-2OE5VVBE.js";export{ErrorPage}from"../chunk-ZG2HMC7S.js";export{FormLayoutPage}from"../chunk-A4HA7EXR.js";export{GalleryTemplate}from"../chunk-R5EJJ6HC.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-WUMHSI4U.js";export{ChatTemplate}from"../chunk-E7WY4GZ3.js";export{CheckoutTemplate}from"../chunk-VVVWVOG7.js";export{DashboardTemplate}from"../chunk-ZREDCRTL.js";export{TopNav}from"../chunk-O25B75XX.js";export{Statistic}from"../chunk-JB3WKDD7.js";export{Stepper}from"../chunk-Q7HN6T3H.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-A6RB4PIX.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-DKQWFQAV.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-PUIQFTCO.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-F24QTMTY.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-MPALY3CL.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-6YQPLI5M.js";export{ResizeHandle}from"../chunk-RBIGSJ2J.js";export{SettingReset}from"../chunk-KJXF5WAJ.js";export{SettingRow}from"../chunk-MNIULUQY.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-VXP5L6DI.js";export{MetricBar}from"../chunk-J53OQCKC.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-JJP54OT4.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-SKETTGCJ.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-YL6LLHJA.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-YDEIXM2A.js";export{PageHeader}from"../chunk-ZPCADTM5.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-EIUCHQI2.js";export{GlobalSearch,openGlobalSearch}from"../chunk-JKZJVQIB.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{HelpCenter}from"../chunk-QRJRGP2K.js";export{IconRail,IconRailButton}from"../chunk-BDAKGS7O.js";import"../chunk-FQEALPZJ.js";export{EditableGrid}from"../chunk-53KQSCMG.js";export{Avatar,AvatarGroup}from"../chunk-5VTRKWKO.js";export{BudgetBar,budgetState}from"../chunk-RPMWF42S.js";export{Card,StatCard}from"../chunk-CBGKLHPB.js";export{ContainerFillChart}from"../chunk-UB5TLWZN.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-MVQMAIZM.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-A7CCSRPB.js";export{CountBadge}from"../chunk-MZ26SYFY.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-GRBBQ3VF.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-QTV3Y3UT.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{TagInput}from"../chunk-NDKQDIWN.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-AEJNFA2K.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-ELUTQZGP.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-U5DMF2TX.js";export{WidthsBar}from"../chunk-SVQJZF66.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-M5YG57UP.js";export{Slider,SliderGroup}from"../chunk-NFJDLIRM.js";export{Snippet}from"../chunk-KAVFW5CU.js";export{SplitButton_default as SplitButton}from"../chunk-AVAYZK3Z.js";export{Switch_default as Switch}from"../chunk-BWIX3YIH.js";export{NumericKeypad}from"../chunk-SWO4VPOB.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-2YLG32JY.js";export{PositionInput}from"../chunk-GXGBBMGV.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{IconPicker}from"../chunk-XILZGSMX.js";export{LinkPicker,TextLinkField}from"../chunk-C45OKLRM.js";export{SearchableSelect}from"../chunk-RYS3URDC.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-EXJZUNNW.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-ZMVCN4OA.js";import"../chunk-YJSX6JAC.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-FTWWJHFX.js";export{ImageLightbox,lightboxKind}from"../chunk-XSJJPACH.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-VG5NGCMQ.js";export{Breadcrumbs}from"../chunk-GKZUAT3K.js";export{mediaLibraryMenu}from"../chunk-YFUMK2E7.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-B7AHMB3U.js";import"../chunk-VC42SDAC.js";export{DropdownMenu}from"../chunk-VVZE27M4.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-C6MV6IAX.js";export{MediaUsedInList}from"../chunk-TXMAWCR7.js";export{NativeSelect,Select_default as Select}from"../chunk-UXPZQID4.js";import"../chunk-EO5RLFRX.js";import"../chunk-5F7HMNCX.js";export{CornersInput}from"../chunk-UX5L3MOB.js";export{DatePicker_default as DatePicker}from"../chunk-X6TJR6M2.js";export{DateRangePicker,toISODate}from"../chunk-VSAI5TH7.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-HI6IE5HI.js";export{DisplayChips}from"../chunk-D46AP6U5.js";export{FilePicker_default as FilePicker}from"../chunk-GQK3U2IO.js";export{FormErrorSummary}from"../chunk-CL7SBEBQ.js";export{BORDER_LINE_STYLES,BorderInput,borderSides,borderStartEach}from"../chunk-IKQVK3I3.js";export{BrandAssetEditor}from"../chunk-2TQ6BLSN.js";export{MediaUploadField}from"../chunk-TIUFFVP5.js";export{ImageFocusPoint}from"../chunk-QSW3YHPK.js";export{FormField}from"../chunk-6KBDNYRW.js";export{Segmented}from"../chunk-CKPVXDKX.js";import"../chunk-JDQGHQ2C.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar,fromKey as fromDateKey,toKey as toDateKey}from"../chunk-D7X2HMMA.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-ME4VRJMK.js";export{Popover}from"../chunk-7JGR7WPD.js";export{InputNumber_default as InputNumber}from"../chunk-6TCJOVFX.js";export{useInSettingRow,useSettingAuto,useSettingRowName}from"../chunk-L65BESIE.js";export{slugify}from"../chunk-24AL3CDS.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{AlignmentGrid}from"../chunk-M554OMPA.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-ZF545DXX.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Kanban}from"../chunk-Q3MNSM7W.js";export{ListFooter}from"../chunk-43T5JGFB.js";export{ListLoadError}from"../chunk-PUCPFBYO.js";export{Pagination}from"../chunk-IWJRSC7M.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-HJPCHES5.js";export{StatTile}from"../chunk-6L2UAAGT.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-KE5U4KKG.js";export{TreemapChart}from"../chunk-W244OMOU.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-7KDGW6BR.js";export{HistogramChart}from"../chunk-LPUGK2MC.js";export{Meter}from"../chunk-4WZRNPIG.js";export{PieChart}from"../chunk-GKK7DR2H.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-AG2OLB3E.js";export{RadialBarChart}from"../chunk-IGEFUHYE.js";export{RangeChart}from"../chunk-PKIDVVAE.js";export{RankedBars}from"../chunk-ZCV377AG.js";export{SankeyChart}from"../chunk-YVTKTWZX.js";export{ChordChart}from"../chunk-QMUAY24U.js";import"../chunk-TBPHW42V.js";export{FunnelChart}from"../chunk-VO3ZB7C6.js";export{HeatmapChart}from"../chunk-LKW3YAZN.js";export{StepChain,StepChainItem}from"../chunk-RBD7SB6M.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-DPDRFLBY.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-PJPK2ADX.js";export{ContextMenu,useContextMenu}from"../chunk-NU2YQSOP.js";export{Banner}from"../chunk-66JYKX4T.js";import"../chunk-JWX7QRGE.js";export{Input_default as Input}from"../chunk-MAMWQCJ6.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-MRUJRFIX.js";export{mediaFileName}from"../chunk-7BDZZANS.js";export{TransferProgress}from"../chunk-EQN65XOO.js";export{IconButton_default as IconButton}from"../chunk-RUTUVS4H.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-P6LB3I3D.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-GNU3U2TP.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-X2S2XDZI.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-5OTS2G3M.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";export{TimeSeriesChart}from"../chunk-XOKANFQD.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-IWEL2ZCV.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-WFANOFHG.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-BMQCUHSD.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-EGEWU776.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-ZDMZM7HD.js";import"../chunk-5A7MWTXX.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-4E4GWE4L.js";export{Dialog}from"../chunk-R2QDO7NY.js";export{ItemCount}from"../chunk-GMRZX2ET.js";import"../chunk-4AJRHTTB.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-OQW42DOR.js";export{ColoredBadge}from"../chunk-DXHLUB36.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{VERSION}from"../chunk-BGNJQMAZ.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-HAFB45DT.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";import"../chunk-URHGHXDN.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-LNARMEEZ.js";export{Button_default as Button}from"../chunk-NHH2MXFU.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";export{Icon}from"../chunk-FSPFV4MI.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";import"../chunk-HL6JSDN3.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-OZAAIE4E.js";export{Tooltip}from"../chunk-BCDG4N6L.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{BoxPlotChart}from"../chunk-DL6QIWVR.js";export{CandlestickChart}from"../chunk-ZOBLEXIU.js";export{ChartTooltip}from"../chunk-TLRCTNUF.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-DTJRIWFR.js";export{CartesianPlot}from"../chunk-25STFYV3.js";import"../chunk-7VCAMNCH.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{ChartBrush}from"../chunk-RQNZ2PVW.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-X2PZMXDP.js";import"../chunk-C3QOHMR6.js";
2
+ import"../chunk-DSIDJYH7.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{EmailTemplate}from"../chunk-3AZBI76O.js";export{ErrorBoundary}from"../chunk-2OE5VVBE.js";export{ErrorPage}from"../chunk-ZG2HMC7S.js";export{FormLayoutPage}from"../chunk-FRINAJU7.js";export{GalleryTemplate}from"../chunk-R5EJJ6HC.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-WUMHSI4U.js";export{ChatTemplate}from"../chunk-E7WY4GZ3.js";export{CheckoutTemplate}from"../chunk-GQMS5657.js";export{DashboardTemplate}from"../chunk-ZREDCRTL.js";export{DataTablePage}from"../chunk-SGTZJMZ6.js";export{TopNav}from"../chunk-EGAV5LSX.js";export{Statistic}from"../chunk-JB3WKDD7.js";export{Stepper}from"../chunk-Q7HN6T3H.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-A6RB4PIX.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-DKQWFQAV.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-PUIQFTCO.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-F24QTMTY.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-MPALY3CL.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-6YQPLI5M.js";export{ResizeHandle}from"../chunk-RBIGSJ2J.js";export{SettingReset}from"../chunk-GBLMVFDW.js";export{SettingRow}from"../chunk-LR77AS3N.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-D2WGDTWN.js";export{MetricBar}from"../chunk-J53OQCKC.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-JJP54OT4.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-SKETTGCJ.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-YL6LLHJA.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-YDEIXM2A.js";export{PageHeader}from"../chunk-ZPCADTM5.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-EIUCHQI2.js";export{GlobalSearch,openGlobalSearch}from"../chunk-JKZJVQIB.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{HelpCenter}from"../chunk-QRJRGP2K.js";export{IconRail,IconRailButton}from"../chunk-BDAKGS7O.js";import"../chunk-FQEALPZJ.js";export{CountBadge}from"../chunk-MZ26SYFY.js";export{EditableGrid}from"../chunk-53KQSCMG.js";export{Avatar,AvatarGroup}from"../chunk-5VTRKWKO.js";export{BudgetBar,budgetState}from"../chunk-RPMWF42S.js";export{Card,StatCard}from"../chunk-CBGKLHPB.js";export{ContainerFillChart}from"../chunk-UB5TLWZN.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-MVQMAIZM.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-GY67Y5SN.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-GRBBQ3VF.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-QTV3Y3UT.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{WidthsBar}from"../chunk-O33CUGOI.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{Snippet}from"../chunk-KAVFW5CU.js";export{SplitButton_default as SplitButton}from"../chunk-POCQ7ZL4.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-NDKQDIWN.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-AEJNFA2K.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-ELUTQZGP.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-U5DMF2TX.js";export{PositionInput}from"../chunk-BFVL2VTS.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-UFXE363L.js";export{Slider,SliderGroup}from"../chunk-MKEYXKZA.js";export{LinkPicker,TextLinkField}from"../chunk-UZ43AT4O.js";export{SearchableSelect}from"../chunk-RYS3URDC.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-5CH2RGL6.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-ZMVCN4OA.js";import"../chunk-YJSX6JAC.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{EmptyState}from"../chunk-FTWWJHFX.js";export{ImageLightbox,lightboxKind}from"../chunk-XSJJPACH.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-VG5NGCMQ.js";export{Breadcrumbs}from"../chunk-GKZUAT3K.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{mediaLibraryMenu}from"../chunk-YFUMK2E7.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-B7AHMB3U.js";import"../chunk-VC42SDAC.js";export{DropdownMenu}from"../chunk-PVR4KU7H.js";export{NativeSelect,Select_default as Select}from"../chunk-7YU27U3Y.js";import"../chunk-EO5RLFRX.js";import"../chunk-5F7HMNCX.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-C6MV6IAX.js";export{MediaUsedInList}from"../chunk-TXMAWCR7.js";export{NumericKeypad}from"../chunk-SWO4VPOB.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-2YLG32JY.js";export{FilePicker_default as FilePicker}from"../chunk-GQK3U2IO.js";export{FormErrorSummary}from"../chunk-CL7SBEBQ.js";export{IconPicker}from"../chunk-XILZGSMX.js";export{CornersInput}from"../chunk-6I6VSUKY.js";export{DatePicker_default as DatePicker}from"../chunk-X6TJR6M2.js";export{DateRangePicker,toISODate}from"../chunk-VSAI5TH7.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-HI6IE5HI.js";export{DisplayChips}from"../chunk-T5V2GJ4D.js";export{slugify}from"../chunk-24AL3CDS.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{AlignmentGrid}from"../chunk-M554OMPA.js";export{BORDER_LINE_STYLES,BorderInput,borderSides,borderStartEach}from"../chunk-QTQQKQGQ.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-UTQG344L.js";export{Popover}from"../chunk-7JGR7WPD.js";export{InputNumber_default as InputNumber}from"../chunk-PA37I5ZX.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{BrandAssetEditor}from"../chunk-IU5KBQEQ.js";export{MediaUploadField}from"../chunk-RBXSU25O.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-QSW3YHPK.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{Segmented}from"../chunk-CKPVXDKX.js";import"../chunk-JDQGHQ2C.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar,fromKey as fromDateKey,toKey as toDateKey}from"../chunk-D7X2HMMA.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-ZF545DXX.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Kanban}from"../chunk-Q3MNSM7W.js";export{ListFooter}from"../chunk-43T5JGFB.js";export{ListLoadError}from"../chunk-PUCPFBYO.js";export{Pagination}from"../chunk-IWJRSC7M.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-HJPCHES5.js";export{StatTile}from"../chunk-6L2UAAGT.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-KE5U4KKG.js";export{TreemapChart}from"../chunk-W244OMOU.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-7KDGW6BR.js";export{HistogramChart}from"../chunk-LPUGK2MC.js";export{Meter}from"../chunk-4WZRNPIG.js";export{PieChart}from"../chunk-GKK7DR2H.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-AG2OLB3E.js";export{RadialBarChart}from"../chunk-IGEFUHYE.js";export{RangeChart}from"../chunk-PKIDVVAE.js";export{RankedBars}from"../chunk-ZCV377AG.js";export{SankeyChart}from"../chunk-YVTKTWZX.js";export{ChordChart}from"../chunk-QMUAY24U.js";import"../chunk-TBPHW42V.js";export{FunnelChart}from"../chunk-VO3ZB7C6.js";export{HeatmapChart}from"../chunk-LKW3YAZN.js";export{StepChain,StepChainItem}from"../chunk-RBD7SB6M.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-DPDRFLBY.js";export{Divider}from"../chunk-DFOFEBYX.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-PJPK2ADX.js";export{ContextMenu,useContextMenu}from"../chunk-IQWIYZB5.js";export{Banner}from"../chunk-66JYKX4T.js";import"../chunk-XS4HFUTW.js";export{Input_default as Input}from"../chunk-MAMWQCJ6.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-AJ3R5QPD.js";export{IconButton_default as IconButton}from"../chunk-RUTUVS4H.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-7BDZZANS.js";export{TransferProgress}from"../chunk-EQN65XOO.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-P6LB3I3D.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-GNU3U2TP.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-X2S2XDZI.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-5OTS2G3M.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";export{TimeSeriesChart}from"../chunk-XOKANFQD.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-IWEL2ZCV.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-WFANOFHG.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-BMQCUHSD.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-EGEWU776.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-ZDMZM7HD.js";import"../chunk-5A7MWTXX.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-4E4GWE4L.js";export{Dialog}from"../chunk-R2QDO7NY.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{ItemCount}from"../chunk-GMRZX2ET.js";import"../chunk-4AJRHTTB.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-OQW42DOR.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ColoredBadge}from"../chunk-DXHLUB36.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{VERSION}from"../chunk-IEAFSVXC.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-FPGRKHUW.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-LNARMEEZ.js";export{Button_default as Button}from"../chunk-NHH2MXFU.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-HL6JSDN3.js";export{Icon}from"../chunk-FSPFV4MI.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";import"../chunk-OZAAIE4E.js";export{Tooltip}from"../chunk-BCDG4N6L.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{BoxPlotChart}from"../chunk-DL6QIWVR.js";export{CandlestickChart}from"../chunk-ZOBLEXIU.js";export{ChartTooltip}from"../chunk-TLRCTNUF.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-DTJRIWFR.js";export{CartesianPlot}from"../chunk-25STFYV3.js";import"../chunk-7VCAMNCH.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{ChartBrush}from"../chunk-RQNZ2PVW.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-X2PZMXDP.js";import"../chunk-C3QOHMR6.js";
package/dist/ui.css CHANGED
@@ -638,38 +638,253 @@ html.rosh-reduce-transparency *::after {
638
638
  --color-identity-8: var(--identity-8);
639
639
  }
640
640
 
641
- /* ── The compact settings row (owner 2026-10-17, R2) ───────────────────────
642
- * One rule for every row in an editor-panel group, not one per row:
643
- * - every number box straight in a compact SettingRow's value slot is ONE
644
- * width, 80px, with a unit or without; one with no unit keeps the unit's
645
- * room empty (the same 40px right padding a unit gets), so its number sits
646
- * where every other box's number sits;
647
- * - a slider's box is that same 80px box;
648
- * - a row's NAME never wraps and never shrinks under its own width: when
649
- * name + control do not fit, the control drops to the next line, and the
650
- * end group (value + reset slot) still ends on the group's one line;
651
- * - a SLIDER row gives the slider every pixel from the end of the name to
652
- * its box; the track keeps at least 96px (Slider's own minimum), so when
653
- * that does not fit the slider drops under the name at full width. */
654
- [data-setting-row="compact"] [data-setting-value] > [data-number-box],
655
- [data-setting-row="compact"] [data-setting-value] > input[data-number-input] { width: 5rem; }
656
- [data-setting-row="compact"] [data-setting-value] > input[data-number-input] { padding-right: 2.5rem; }
657
- [data-setting-row="compact"] [data-setting-value] [data-slider-box] { width: 5rem; }
658
- [data-setting-row="compact"] [data-setting-name] { min-width: min-content; }
659
- /* The end group never runs past the row: on its own line it is the row's
660
- * width, and a control that still does not fit wraps inside (the slider's box
661
- * goes under its track) rather than being cut. */
662
- [data-setting-row="compact"] [data-setting-end] { max-width: 100%; }
663
- [data-setting-row="compact"] [data-setting-value] { min-width: 0; }
664
- [data-setting-row="compact"]:has([data-setting-value] [data-slider]) [data-setting-name] { flex: 0 0 auto; }
665
- /* 96 track + 8 gap + 80 box + 4 gap + 24 reset slot = 212px. */
666
- [data-setting-row="compact"]:has([data-setting-value] [data-slider]) [data-setting-end] { flex: 1 1 0%; min-width: min(100%, 13.25rem); }
667
- [data-setting-row="compact"]:has([data-setting-value] [data-slider]) [data-setting-value] { flex: 1 1 auto; min-width: 0; }
668
- [data-setting-row="compact"]:has([data-setting-value] [data-slider]) [data-setting-value] > [data-slider] { width: 100%; }
669
-
670
- /* ── The fold band (owner 2026-10-17, R2: Accordion's `band` tier) ─────────
671
- * Lewis's fold sign option F: a group band is one grey step darker than the
672
- * panel, and one step further on hover. It reads the BASE tier, not the
641
+ /* ── The editor's settings parts (B2 plan C, option 1, Lewis 2026-10-26) ─────
642
+ * "Keep the easel look; put it in the shell": the compact `SettingRow`,
643
+ * `SettingReset` and the `Accordion` band draw what efficient-easel's
644
+ * `SettingsField`, `SettingsDefaultReset` and `SettingsGroup` drew, and these
645
+ * rules are easel's, moved here whole, on the shell's own tokens. The class
646
+ * names stay easel's (`es-…`): hosts style and select against them. ONE look
647
+ * for a group band in the editors and in the portals (option 1).
648
+ *
649
+ * What an editor's panel adds is its LAYOUT, and that stays with it: the band
650
+ * bleeding to the panel edge, its own side inset, the air above a band, and
651
+ * the rhythm between its rows. */
652
+
653
+ /* A group: a heading round its button, then its body. The heading draws
654
+ nothing (WAI-ARIA APG accordion pattern); a host's `h3 { … }` never reaches
655
+ the band. */
656
+ .es-group-title {
657
+ display: block;
658
+ margin: 0;
659
+ padding: 0;
660
+ border: 0;
661
+ font: inherit;
662
+ letter-spacing: inherit;
663
+ text-transform: inherit;
664
+ color: inherit;
665
+ }
666
+
667
+ /* The band: square, 32 tall (Lewis 2026-10-23: the full-bleed band was too
668
+ tall, one step under the 36 menu row), the title 12 / 600. The 4 above and
669
+ below keep the words and a 16px icon inside 32. No margin of its own: the
670
+ air above a band is its host's. */
671
+ .es-group-head {
672
+ box-sizing: border-box;
673
+ width: 100%;
674
+ display: flex;
675
+ align-items: center;
676
+ gap: var(--space-8);
677
+ border: 0;
678
+ text-align: left;
679
+ font: inherit;
680
+ font-size: var(--text-xs, 12px);
681
+ font-weight: 600;
682
+ color: var(--ink-strongest);
683
+ background: var(--surface-raised);
684
+ border-radius: 0;
685
+ min-height: var(--control-height-md, 32px);
686
+ padding: var(--space-4) var(--space-16);
687
+ }
688
+
689
+ button.es-group-head {
690
+ cursor: pointer;
691
+ transition: background 0.12s;
692
+ }
693
+
694
+ /* One grey step darker on hover. (In easel the light hover was the band's own
695
+ grey, so a press showed nothing; dark keeps its step.) */
696
+ button.es-group-head:hover { background: var(--rosh-fold-band); }
697
+ :is([data-theme="dark"], .dark) button.es-group-head:hover { background: var(--surface); }
698
+
699
+ button.es-group-head:disabled { cursor: not-allowed; opacity: 0.5; }
700
+
701
+ .es-group-icon {
702
+ width: 16px;
703
+ height: 16px;
704
+ flex: none;
705
+ display: inline-flex;
706
+ align-items: center;
707
+ justify-content: center;
708
+ }
709
+
710
+ /* How many settings in a folded group are changed: a folded group never hides
711
+ a change. */
712
+ .es-group-count {
713
+ min-width: 16px;
714
+ height: 16px;
715
+ padding: 0 var(--space-4);
716
+ border-radius: 999px;
717
+ background: var(--accent-600, var(--submit-bg));
718
+ color: var(--status-on-solid);
719
+ font-size: var(--text-2xs, 11px);
720
+ font-weight: 700;
721
+ display: inline-flex;
722
+ align-items: center;
723
+ justify-content: center;
724
+ }
725
+
726
+ /* The sign is drawn from aria-expanded, so the open state has ONE home. */
727
+ .es-group-sign {
728
+ margin-left: auto;
729
+ width: 16px;
730
+ text-align: center;
731
+ color: var(--ink-faint);
732
+ font-size: var(--text-sm, 14px);
733
+ line-height: 1;
734
+ flex: none;
735
+ }
736
+ [aria-expanded='true'] > .es-group-sign::before { content: '−'; }
737
+ [aria-expanded='false'] > .es-group-sign::before { content: '+'; }
738
+
739
+ /* THE GAP UNDER A BAND IS THE BAND'S (Lewis 2026-10-26: "should the title and
740
+ the content under it not have a gap?"): 32 above and 32 below its body,
741
+ whatever it holds. Margins, so the first setting row's own top margin and
742
+ the air a host puts above the next band fold into them: one 32px rhythm. */
743
+ .es-group-body {
744
+ margin-block: var(--space-32);
745
+ padding-inline: var(--space-16);
746
+ }
747
+ .es-group-body[hidden] { display: none; }
748
+ .es-group-body > :first-child,
749
+ .es-group-body > :first-child > .es-field:first-child { margin-top: 0; }
750
+
751
+ /* The quiet tier, one rung under the band: no ground and no rule, it
752
+ separates itself by case and colour. Flush with the rows it heads. */
753
+ .es-group-sub {
754
+ box-sizing: border-box;
755
+ font-size: var(--text-2xs, 11px);
756
+ font-weight: 600;
757
+ letter-spacing: 0.07em;
758
+ text-transform: uppercase;
759
+ color: var(--ink-faint);
760
+ }
761
+ button.es-group-sub {
762
+ display: flex;
763
+ align-items: center;
764
+ width: 100%;
765
+ padding: 0;
766
+ border: 0;
767
+ background: none;
768
+ text-align: left;
769
+ cursor: pointer;
770
+ }
771
+
772
+ /* One setting: a name line, then its control. The panel it sits in spaces
773
+ its rows (efficient-easel's panel rhythm: the air between two settings and
774
+ between a name and its own control, on tokens a host can read). */
775
+ .es-field-head {
776
+ display: flex;
777
+ align-items: center;
778
+ gap: var(--space-8);
779
+ min-height: 16px;
780
+ }
781
+
782
+ .es-field-name {
783
+ display: inline-flex;
784
+ align-items: center;
785
+ gap: var(--space-8);
786
+ min-width: 0;
787
+ }
788
+
789
+ .es-field-icon {
790
+ width: 16px;
791
+ height: 16px;
792
+ flex: none;
793
+ color: var(--ink-faint);
794
+ display: inline-flex;
795
+ align-items: center;
796
+ justify-content: center;
797
+ }
798
+ .es-field-icon svg { width: 16px; height: 16px; }
799
+
800
+ .es-field-label {
801
+ font-size: var(--text-2xs, 11px);
802
+ font-weight: 500;
803
+ color: var(--ink-faint);
804
+ }
805
+
806
+ /* A changed setting's name takes the accent's words — also when a host drew
807
+ the Reset part inside a component of its own and did not pass `changed`. */
808
+ .es-field.is-changed .es-field-label,
809
+ .es-field:has(> .es-field-head > .es-default-reset.is-changed) > .es-field-head .es-field-label,
810
+ .es-field:has(> .es-field-head > span > .es-default-reset.is-changed) > .es-field-head .es-field-label {
811
+ color: color-mix(in srgb, var(--accent-600, var(--submit-bg)) 65%, var(--ink-strongest));
812
+ }
813
+
814
+ /* The value's word. 16px tall like the head, so a row is one height whether
815
+ its value is drawn or not (a press on Reset, which empties it, moved every
816
+ row below by 1.5px when it took the host's line height). */
817
+ .es-field-value {
818
+ margin-left: auto;
819
+ font-size: var(--text-xs, 12px);
820
+ line-height: 16px;
821
+ color: var(--ink-strongest);
822
+ font-variant-numeric: tabular-nums;
823
+ }
824
+
825
+ .es-field-ctl {
826
+ display: flex;
827
+ align-items: center;
828
+ gap: var(--space-8);
829
+ min-width: 0;
830
+ }
831
+
832
+ /* The hint sits FLUSH LEFT, on the row's icon edge (Lewis 2026-10-06). */
833
+ .es-field-hint {
834
+ margin: var(--space-8) 0 0;
835
+ font-size: var(--text-2xs, 11px);
836
+ line-height: 1.45;
837
+ color: var(--ink-faint);
838
+ }
839
+
840
+ /* Whatever a host puts at the end of the name line — the Reset part (or the
841
+ Tooltip round it), a switch, an `Each side` toggle — sits at the row's right
842
+ end; a drawn value already took the free space and the action follows it. */
843
+ .es-field-name + :not(.es-field-value) { margin-left: auto; }
844
+
845
+ /* The grey value is the "Default" word (option E): a row whose Reset slot is
846
+ empty draws its value grey; it takes the text's ink once changed. */
847
+ .es-field:has(> .es-field-head > span.es-default-reset) .es-field-value { color: var(--ink-faint); }
848
+ .es-field-value + .es-default-reset,
849
+ .es-field-value + span:has(> .es-default-reset) { margin-left: calc(-1 * var(--space-4)); }
850
+
851
+ /* The Reset part: ONE fixed 22px slot in both states, so every row's end lines
852
+ up whether it can be reset or not (option E, final 2026-10-07). */
853
+ .es-default-reset {
854
+ appearance: none;
855
+ -webkit-appearance: none;
856
+ box-sizing: border-box;
857
+ flex: none;
858
+ display: inline-flex;
859
+ align-items: center;
860
+ justify-content: center;
861
+ width: 22px;
862
+ height: 22px;
863
+ margin: 0;
864
+ padding: 0;
865
+ border: 0;
866
+ border-radius: var(--radius-md);
867
+ background: transparent;
868
+ color: var(--ink-faint);
869
+ }
870
+ .es-default-reset svg { display: block; width: 15px; height: 15px; }
871
+ .es-default-reset.is-changed {
872
+ color: color-mix(in srgb, var(--accent-600, var(--submit-bg)) 65%, var(--ink-strongest));
873
+ cursor: pointer;
874
+ }
875
+ .es-default-reset.is-changed:hover { background: var(--surface-raised); }
876
+ .es-default-reset.is-changed:disabled { color: var(--ink-faintest); background: transparent; cursor: default; }
877
+ .es-default-reset.is-pressable { cursor: pointer; }
878
+ .es-default-reset.is-pressable:hover { background: var(--surface-raised); color: var(--ink); }
879
+ .es-default-reset.is-pressable:disabled { color: var(--ink-faintest); background: transparent; cursor: default; }
880
+ .es-default-reset:focus-visible:not(.rosh-host-focus *) {
881
+ outline: 2px solid var(--rosh-focus-ring);
882
+ outline-offset: 1px;
883
+ }
884
+
885
+ /* ── The fold band step (owner 2026-10-17, R2) ──────────────────────────────
886
+ * One grey step darker than the panel, and one step further: since B2 plan C
887
+ * the group band's hover (`button.es-group-head:hover`, above). It reads the BASE tier, not the
673
888
  * roles: an accent theme tints the roles, and its tint must not reach the
674
889
  * band; a host's own base does. */
675
890
  :root {
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export{APP_VERSION,VERSION}from"./chunk-BGNJQMAZ.js";
1
+ export{APP_VERSION,VERSION}from"./chunk-IEAFSVXC.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efficient-shell",
3
- "version": "9.14.0",
3
+ "version": "10.0.0",
4
4
  "description": "Desktop-style React UI shell — windows, taskbar, start menu, sticky notes, frosted glass theming, and bundled apps.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Efficient Pty Ltd",
@@ -1,29 +0,0 @@
1
- import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-M33225G6.js";import{useWidgetSettings as n}from"./chunk-M7H3OCIL.js";import"./chunk-CY5N5OA3.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-EGEWU776.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-NDEIZUMG.js";import"./chunk-4E4GWE4L.js";import"./chunk-R2QDO7NY.js";import"./chunk-GMRZX2ET.js";import"./chunk-4AJRHTTB.js";import"./chunk-VWGWZY7A.js";import"./chunk-PKXQDCNR.js";import"./chunk-DXHLUB36.js";import"./chunk-UGTRSRIW.js";import"./chunk-CDAJKLGL.js";import"./chunk-KC3EX26K.js";import"./chunk-HAFB45DT.js";import"./chunk-5QFPTDQF.js";import"./chunk-URHGHXDN.js";import"./chunk-LNARMEEZ.js";import"./chunk-NHH2MXFU.js";import"./chunk-UQYNPYF4.js";import{Icon as r}from"./chunk-FSPFV4MI.js";import"./chunk-J75ZT2JQ.js";import"./chunk-HL6JSDN3.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-OZAAIE4E.js";import"./chunk-BCDG4N6L.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-DTJRIWFR.js";import"./chunk-TWVUQUUD.js";import"./chunk-X2PZMXDP.js";import"./chunk-C3QOHMR6.js";import{useState as c,useRef as i,useCallback as l,useEffect as o}from"react";import{jsxs as s,Fragment as a,jsx as u}from"react/jsx-runtime";var h="calc_appearance";function m(){const[m,k]=c("0"),[p,d]=c(null),[b,g]=c(null),[N,j]=c(!1),[y,x]=c(""),[f,C]=c([]),[v,$]=c(!1),[E,D]=c(()=>e(h)),[T,M]=c(!1),[W,R]=c(E),w=i(null);n(l(()=>{R({...E}),M(!0)},[E]));const A=l(e=>{x(""),k(t=>N||"0"===t?(j(!1),"."===e?"0.":e):"."===e&&t.includes(".")?t:t+e)},[N]),G=l(()=>{k("0"),d(null),g(null),j(!1)},[]),H=l((e,t,n)=>{switch(n){case"+":return e+t;case"-":return e-t;case"×":return e*t;case"÷":return 0===t?0:e/t;default:return t}},[]),U=l(e=>{const t=parseFloat(m);if(null!==p&&b&&!N){const e=H(p,t,b);k(String(e)),d(e),C(n=>[`${p} ${b} ${t} = ${e}`,...n].slice(0,20))}else d(t);g(e),j(!0)},[m,p,b,N,H]),F=l(()=>{if(null===p||!b)return;const e=parseFloat(m),t=H(p,e,b),n=`${p} ${b} ${e} =`;C(e=>[`${n} ${t}`,...e].slice(0,20)),x(n),k(String(t)),d(null),g(null),j(!0)},[m,p,b,H]),L=l(()=>{k(e=>String(parseFloat(e)/100))},[]),J=l(()=>{k(e=>e.startsWith("-")?e.slice(1):"0"===e?e:"-"+e)},[]);o(()=>{const e=e=>{const t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t&&(e.key>="0"&&e.key<="9"?A(e.key):"."===e.key?A("."):"+"===e.key?U("+"):"-"===e.key?U("-"):"*"===e.key?U("×"):"/"===e.key?(e.preventDefault(),U("÷")):"Enter"===e.key||"="===e.key?("Enter"===e.key&&e.target instanceof Node&&w.current?.contains(e.target)&&e.preventDefault(),F()):"Escape"===e.key?G():"Backspace"===e.key?k(e=>e.length>1?e.slice(0,-1):"0"):"%"===e.key&&L())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[A,U,F,G,L]);const S="flex items-center justify-center rounded-lg text-sm font-medium transition-colors",X=`${S} bg-white border border-gray-200 text-gray-900 hover:bg-gray-50 active:bg-gray-100`,Z=`${S} bg-blue-50 border border-blue-200 text-blue-700 hover:bg-blue-100 active:bg-blue-200`,B=`${S} bg-gray-100 border border-gray-200 text-gray-600 hover:bg-gray-200 active:bg-gray-300`,I=`${S} bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800`;/* @__PURE__ */
2
- return s(a,{children:[
3
- /* @__PURE__ */s("div",{ref:w,className:"flex flex-col h-full",style:{opacity:E.activeOpacity/100,backdropFilter:E.activeBlur>0?`blur(${E.activeBlur}px)`:void 0},children:[
4
- /* @__PURE__ */s("div",{className:"bg-slate-200 rounded-t-lg px-4 py-2 group/display relative flex flex-col justify-end min-h-[120px] border-b border-slate-300",children:[
5
- /* @__PURE__ */u("div",{className:"flex flex-col justify-end flex-1 overflow-hidden",children:f.slice(0,3).reverse().map((e,t)=>/* @__PURE__ */u("div",{className:"text-2xs text-slate-400 text-right font-mono truncate",children:e},t))}),(y||b&&null!==p)&&/* @__PURE__ */u("div",{className:"text-base text-slate-600 text-right font-mono",children:y||`${p} ${b} ${N?"":m}`}),
6
- /* @__PURE__ */s("div",{className:"flex items-center gap-2",children:[
7
- /* @__PURE__ */u("button",{onClick:()=>{navigator.clipboard.writeText(m),$(!0),setTimeout(()=>$(!1),1200)},title:"Copy result",className:"shrink-0 text-slate-300 hover:text-slate-500 transition-colors opacity-0 group-hover/display:opacity-100",children:/* @__PURE__ */u(r,v?{name:"check",className:"h-5 w-5 text-green-500",strokeWidth:2}:{name:"copy",className:"h-5 w-5",strokeWidth:2})}),
8
- /* @__PURE__ */u("div",{className:"text-right text-4xl font-mono font-bold text-slate-800 truncate flex-1",children:(e=>{const t=parseFloat(e);return isNaN(t)||e.endsWith(".")||e.endsWith(".0")||Math.abs(t)<1e15&&e.length<16?e:t.toExponential(6)})(m)})]})]}),
9
- /* @__PURE__ */s("div",{className:"grid grid-cols-4 grid-rows-5 gap-2 flex-1 min-h-0 p-2",children:[
10
- /* @__PURE__ */u("button",{onClick:G,className:B,children:"AC"}),
11
- /* @__PURE__ */u("button",{onClick:J,className:B,children:"+/−"}),
12
- /* @__PURE__ */u("button",{onClick:L,className:B,children:"%"}),
13
- /* @__PURE__ */u("button",{onClick:()=>U("÷"),className:`${Z} ${"÷"===b?"ring-2 ring-blue-400":""}`,children:"÷"}),
14
- /* @__PURE__ */u("button",{onClick:()=>A("7"),className:X,children:"7"}),
15
- /* @__PURE__ */u("button",{onClick:()=>A("8"),className:X,children:"8"}),
16
- /* @__PURE__ */u("button",{onClick:()=>A("9"),className:X,children:"9"}),
17
- /* @__PURE__ */u("button",{onClick:()=>U("×"),className:`${Z} ${"×"===b?"ring-2 ring-blue-400":""}`,children:"×"}),
18
- /* @__PURE__ */u("button",{onClick:()=>A("4"),className:X,children:"4"}),
19
- /* @__PURE__ */u("button",{onClick:()=>A("5"),className:X,children:"5"}),
20
- /* @__PURE__ */u("button",{onClick:()=>A("6"),className:X,children:"6"}),
21
- /* @__PURE__ */u("button",{onClick:()=>U("-"),className:`${Z} ${"-"===b?"ring-2 ring-blue-400":""}`,children:"−"}),
22
- /* @__PURE__ */u("button",{onClick:()=>A("1"),className:X,children:"1"}),
23
- /* @__PURE__ */u("button",{onClick:()=>A("2"),className:X,children:"2"}),
24
- /* @__PURE__ */u("button",{onClick:()=>A("3"),className:X,children:"3"}),
25
- /* @__PURE__ */u("button",{onClick:()=>U("+"),className:`${Z} ${"+"===b?"ring-2 ring-blue-400":""}`,children:"+"}),
26
- /* @__PURE__ */u("button",{onClick:()=>A("0"),className:`${X} col-span-2`,children:"0"}),
27
- /* @__PURE__ */u("button",{onClick:()=>A("."),className:X,children:"."}),
28
- /* @__PURE__ */u("button",{onClick:F,className:I,children:"="})]})]}),
29
- /* @__PURE__ */u(t,{open:T,onClose:()=>M(!1),title:"Calculator Settings",appearance:W,onAppearanceChange:R,onSave:()=>{D(W),localStorage.setItem(h,JSON.stringify(W)),M(!1)}})]})}export{m as default};
@@ -1,44 +0,0 @@
1
- import{useAuth as e,parseOpenSections as t,readStored as r,RAIL_OPEN_SECTIONS_KEY as n,RAIL_WIDTH_KEY as a,toggleOpenSection as i,writeStored as l}from"./chunk-ZTV2BA3P.js";import{ResizeHandle as o}from"./chunk-RBIGSJ2J.js";import{openGlobalSearch as s}from"./chunk-JKZJVQIB.js";import{partitionNav as c,visibleNavChildren as d,flyoutGroups as m,visibleSectionItems as h,rowsContainRoute as u}from"./chunk-WGRS6QBT.js";import{BrandMark as p}from"./chunk-MI67DI3H.js";import{IconButton_default as b}from"./chunk-RUTUVS4H.js";import{RAIL_MENU_GAP as f,navSections as g,startMenuCategories as x,TAB_STRIP_H as y,RAIL_COLLAPSED_INSET as k,RAIL_W as v,RAIL_MAX_W as N,RAIL_MIN_W as j,navIcons as w,sectionIcons as C}from"./chunk-CY5N5OA3.js";import"./chunk-5A7MWTXX.js";import"./chunk-PKXQDCNR.js";import{PopupMenu as S,PopupMenuItem as L,PopupMenuDivider as z,PopupMenuLabel as $}from"./chunk-HAFB45DT.js";import"./chunk-5QFPTDQF.js";import"./chunk-URHGHXDN.js";import"./chunk-UQYNPYF4.js";import{Icon as W}from"./chunk-FSPFV4MI.js";import"./chunk-J75ZT2JQ.js";import"./chunk-HL6JSDN3.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-BCDG4N6L.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-DTJRIWFR.js";import"./chunk-TWVUQUUD.js";import{useShellStrings as A}from"./chunk-X2PZMXDP.js";import"./chunk-C3QOHMR6.js";import{useMemo as I,useState as R,useRef as H,useEffect as T,isValidElement as M,cloneElement as D}from"react";import{jsx as J,jsxs as B,Fragment as K}from"react/jsx-runtime";var P="undefined"!=typeof navigator&&/Mac|iPhone|iPad/.test(navigator.platform);function Q(e,t,r){const n=Math.max(8,r-t.bottom);return{left:e+f,bottom:n,maxHeight:r-n-8,overflowY:"auto"}}var U=(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(" "),F="flex size-[18px] shrink-0 items-center justify-center [&>svg]:size-[18px]";function V({open:e,children:t}){const r=H(null);return T(()=>{r.current?.toggleAttribute("inert",!e)},[e]),/* @__PURE__ */J("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__ */J("div",{className:"min-h-0 overflow-hidden",children:t})})}function G({open:e}){/* @__PURE__ */
2
- return J(W,{name:"chevron-down",className:"size-4 shrink-0 transition-transform "+(e?"rotate-180":""),strokeWidth:2,"aria-hidden":"true"})}function X({dir:e}){/* @__PURE__ */
3
- return J(W,"left"===e?{name:"chevron-double-left",className:"size-[18px] shrink-0",strokeWidth:1.5,"aria-hidden":"true"}:{name:"chevron-double-right",className:"size-[18px] shrink-0",strokeWidth:1.5,"aria-hidden":"true"})}function Z({className:e}){/* @__PURE__ */
4
- return J(W,{name:"search",className:e,strokeWidth:2,"aria-hidden":"true"})}var _=e=>.75+1.75*e+"rem";function O({width:O,collapsed:Y,onToggleCollapsed:E,onResize:q,onHome:ee,onOpen:te,activeRoute:re,profile:ne,user:ae,onLogout:ie,onSwitchToDesktop:le,onReportBug:oe,onClose:se,navSections:ce=g,navIcons:de=w,sectionIcons:me=C,categories:he=x,productName:ue,productIcon:pe,tagline:be,adaptiveLogo:fe=!1,logoHasAlpha:ge=null,logoIsLight:xe=null}){const ye=A().layout,{hasAnyPerm:ke}=e(),ve=I(()=>c(ce,he,ke),[ce,he,ke]),[Ne,je]=R(()=>t(r(n))),we=I(()=>[...ve.topItems.filter(e=>d(e,ke).length>0).map(e=>`child:${e.to}`),...[...ve.erpSections,...ve.systemSections,...ve.virtualSections,...ve.footerSections].map(e=>e.label)],[ve,ke]),Ce=(e,t=we)=>je(r=>{const a=i(r,e,t);return l(n,JSON.stringify([...a])),a}),[Se,Le]=R(null),[ze,$e]=R(!1),We=H(null);T(()=>{Y||Le(null)},[Y]);const Ae=(e,t)=>{Le(null),e.onSelect?e.onSelect():te(e.to,!!t&&(e=>e.metaKey||e.ctrlKey||1===e.button)(t))},Ie=(e,t)=>{const r=t[e];/* @__PURE__ */
5
- return J("span",{className:F,"aria-hidden":"true",children:r&&M(r)?D(r,{className:"size-[18px]"}):r})},Re=e=>e.filter(e=>d(e,ke).length>0).map(e=>`child:${e.to}`),He=(e,t,r=we)=>{const n=d(e,ke),a=e.menuLabel??e.label;if(n.length>0){const i=`child:${e.to}`,l=Ne.has(i),o=!l&&u(n,re,ke);/* @__PURE__ */
6
- return B("div",{children:[
7
- /* @__PURE__ */B("button",{type:"button",onClick:()=>Ce(i,r),"aria-expanded":l,className:U(o,!1),style:t>0?{paddingLeft:_(t)}:void 0,children:[0===t&&Ie(e.to,de),
8
- /* @__PURE__ */J("span",{className:"min-w-0 flex-1 truncate",children:a}),
9
- /* @__PURE__ */J(G,{open:l})]}),
10
- /* @__PURE__ */J(V,{open:l,children:/* @__PURE__ */J("div",{className:"space-y-0.5 pt-0.5",children:n.map(e=>He(e,t+1,Re(n)))})}),e.dividerAfter&&/* @__PURE__ */J("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:_(t)},"aria-hidden":"true"})]},e.to)}const i=e.to===re;/* @__PURE__ */
11
- return B("div",{children:[
12
- /* @__PURE__ */B("button",{type:"button",onClick:t=>Ae(e,t),onAuxClick:t=>{1===t.button&&Ae(e,t)},"aria-current":i?"page":void 0,className:U(i,!1),style:t>0?{paddingLeft:_(t)}:void 0,children:[0===t&&Ie(e.to,de),
13
- /* @__PURE__ */J("span",{className:"min-w-0 flex-1 truncate",children:a})]}),e.dividerAfter&&/* @__PURE__ */J("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:_(t)},"aria-hidden":"true"})]},e.to)},Te=(e,t)=>{const r=t?e.items:h(e,ke);if(0===r.length)return null;const n="icon"in e&&e.icon?/* @__PURE__ */J("span",{className:F,"aria-hidden":"true",children:e.icon}):Ie(e.label,me),a=e.menuLabel??e.label,i=u(r,re,ke),l="dividerAfter"in e&&e.dividerAfter;if(Y)/* @__PURE__ */
14
- return B("div",{children:[
15
- /* @__PURE__ */J("button",{type:"button",title:a,"aria-label":a,"aria-haspopup":"menu","aria-expanded":Se?.label===e.label,onClick:t=>{const n=t.currentTarget.getBoundingClientRect();Le(t=>t?.label===e.label?null:{label:e.label,items:r,top:n.top})},className:U(i||Se?.label===e.label,!0),children:n}),l&&/* @__PURE__ */J("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.label);const o=Ne.has(e.label),s=`rosh-rail-${e.label.replace(/[^a-z0-9]+/gi,"-").toLowerCase()}`;/* @__PURE__ */
16
- return B("div",{children:[
17
- /* @__PURE__ */B("button",{type:"button",onClick:()=>Ce(e.label),"aria-expanded":o,"aria-controls":s,className:U(!o&&i,!1),children:[n,
18
- /* @__PURE__ */J("span",{className:"min-w-0 flex-1 truncate",children:a}),
19
- /* @__PURE__ */J(G,{open:o})]}),
20
- /* @__PURE__ */J(V,{open:o,children:/* @__PURE__ */J("div",{id:s,role:"group","aria-label":a,className:"space-y-0.5 pt-0.5",children:r.map(e=>He(e,1,Re(r)))})}),l&&/* @__PURE__ */J("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.label)},Me=ne?.first_name?`${ne.first_name} ${ne.last_name||""}`.trim():ae?.email||"",De=(ne?.first_name?.charAt(0)||ae?.email?.charAt(0)||"?").toUpperCase(),Je=ne?.avatar_url?/* @__PURE__ */J("img",{src:ne.avatar_url,alt:"",className:"size-8 shrink-0 rounded-full object-cover"}):/* @__PURE__ */J("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-blue-600 text-xs font-semibold text-white",children:De}),Be=ze?We.current?.getBoundingClientRect():void 0,Ke=Y?"":"px-3",Pe=Y?{paddingInline:k}:void 0,Qe=`${Y?ye.expandSidebar:ye.collapseSidebar} (${P?"⌘":"Ctrl"} .)`,Ue=ee?{run:ee,label:ye.goHome,title:ye.goHome}:se?null:{run:E,label:Y?ye.expandSidebar:ye.collapseSidebar,title:Qe},Fe=/* @__PURE__ */B(K,{children:[pe&&/* @__PURE__ */J(p,{src:pe,alt:"",slot:"compact",surface:"light",adaptive:fe,hasAlpha:ge,isLight:xe,size:28,decorative:!0}),!Y&&/* @__PURE__ */B("span",{className:"min-w-0 text-left leading-tight",children:[
21
- /* @__PURE__ */J("span",{className:"block truncate text-base font-bold tracking-wide text-gray-900",children:ue??"Apps"}),be&&/* @__PURE__ */J("span",{className:"block truncate text-2xs font-medium text-gray-500",children:be})]})]}),Ve=ve.erpSections.length>0||ve.systemSections.length>0||ve.virtualSections.length>0;/* @__PURE__ */
22
- return B("aside",{"aria-label":ye.navLabel,className:"fixed left-0 top-0 z-(--z-sidebar) flex h-dvh flex-col border-r border-line bg-surface text-ink-strong",style:{width:O},children:[
23
- /* @__PURE__ */B("div",{className:"flex shrink-0 items-center border-b border-gray-200 "+(Y?"justify-center":"justify-between gap-2 pl-4 pr-2"),style:{height:y},children:[Ue?/* @__PURE__ */J("button",{type:"button",onClick:Ue.run,"aria-label":Ue.label,title:Ue.title,className:"flex min-w-0 items-center gap-2 rounded-md transition-colors hover:bg-gray-100 "+(Y?"justify-center p-0.5":"-ml-1 p-1"),children:Fe}):/* @__PURE__ */J("span",{className:"flex min-w-0 items-center gap-2",children:Fe}),se?/* @__PURE__ */J(b,{onClick:se,"aria-label":ye.closeMenu,children:/* @__PURE__ */J(W,{name:"close",className:"size-[18px]",strokeWidth:1.5,"aria-hidden":"true"})}):!Y&&/* @__PURE__ */J("button",{type:"button",onClick:E,"aria-label":ye.collapseSidebar,title:`${ye.collapseSidebar} (${P?"⌘":"Ctrl"} .)`,className:"flex size-8 shrink-0 items-center justify-center rounded-md text-gray-500 transition-colors hover:bg-gray-100 hover:text-gray-900",children:/* @__PURE__ */J(X,{dir:"left"})})]}),
24
- /* @__PURE__ */J("div",{className:`shrink-0 pt-3 ${Ke}`,style:Pe,children:Y?/* @__PURE__ */J("button",{type:"button",onClick:s,"aria-label":ye.search,title:`${ye.search} (${P?"⌘K":"Ctrl K"})`,className:U(!1,!0),children:/* @__PURE__ */J(Z,{className:"size-[18px] shrink-0"})}):/* @__PURE__ */B("button",{type:"button",onClick:s,className:"flex h-(--row-height-menu) w-full items-center gap-2 rounded-md border border-line bg-surface px-3 text-left transition-colors hover:bg-gray-100",children:[
25
- /* @__PURE__ */J(Z,{className:"size-3.5 text-gray-500"}),
26
- /* @__PURE__ */J("span",{className:"min-w-0 flex-1 truncate text-sm text-ink-faint",children:ye.search}),
27
- /* @__PURE__ */J("kbd",{className:"rounded border border-line bg-gray-100 px-2 py-0.5 font-mono text-2xs font-semibold text-ink-faint",children:P?"⌘K":"Ctrl K"})]})}),
28
- /* @__PURE__ */B("nav",{"aria-label":ye.navLabel,className:`min-h-0 flex-1 overflow-y-auto pb-4 pt-3 ${Ke} ${Y?"space-y-1":"space-y-0.5"}`,style:Pe,children:[Y&&/* @__PURE__ */J("button",{type:"button",onClick:E,"aria-label":ye.expandSidebar,title:`${ye.expandSidebar} (${P?"⌘":"Ctrl"} .)`,className:`${U(!1,!0)} mb-3`,children:/* @__PURE__ */J(X,{dir:"right"})}),ve.topItems.map(e=>{if(!Y)return He(e,0);const t=d(e,ke),r=e.to===re||u(t,re,ke),n=e.menuLabel??e.label;/* @__PURE__ */
29
- return B("div",{children:[
30
- /* @__PURE__ */J("button",{type:"button",title:n,"aria-label":n,onClick:r=>{if(0===t.length)return void Ae(e,r);const n=r.currentTarget.getBoundingClientRect();Le(r=>r?.label===e.to?null:{label:e.to,items:t,top:n.top})},className:U(r,!0),children:Ie(e.to,de)}),e.dividerAfter&&/* @__PURE__ */J("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.to)}),ve.topItems.length>0&&Ve&&!ve.topItems[ve.topItems.length-1].dividerAfter&&/* @__PURE__ */J("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),ve.erpSections.map(e=>Te(e,!1)),ve.systemSections.map(e=>Te(e,!1)),ve.virtualSections.map(e=>Te(e,!0)),ve.footerSections.length>0&&/* @__PURE__ */J("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),ve.footerSections.map(e=>Te(e,!1))]}),
31
- /* @__PURE__ */J("div",{className:`shrink-0 border-t border-gray-200 py-2 ${Ke}`,style:Pe,children:/* @__PURE__ */B("button",{ref:We,type:"button",onClick:()=>$e(e=>!e),"aria-haspopup":"menu","aria-expanded":ze,"aria-label":Y?ye.accountMenu(Me):void 0,className:"flex w-full items-center gap-3 rounded-md hover:bg-gray-100 "+(Y?"justify-center py-2":"px-2 py-2"),children:[Je,!Y&&/* @__PURE__ */B("span",{className:"min-w-0 flex-1 text-left",children:[
32
- /* @__PURE__ */J("span",{className:"block truncate text-sm font-semibold text-ink-strong",children:Me}),ae?.email&&Me!==ae.email&&/* @__PURE__ */J("span",{className:"block truncate text-2xs text-ink-faint",children:ae.email})]})]})}),q&&!Y&&!se&&/* @__PURE__ */J(o,{side:"left",width:O,onResize:q,min:j,max:N,defaultWidth:v,storageKey:a,label:ye.resizeSidebar}),ze&&Be&&/* @__PURE__ */B(S,{portal:!0,minWidth:224,onClose:()=>$e(!1),style:Q(O,Be,window.innerHeight),children:[Y&&/* @__PURE__ */B("div",{className:"border-b border-line px-3 py-3",children:[
33
- /* @__PURE__ */J("p",{className:"truncate text-sm font-semibold text-gray-800",children:Me}),ae?.email&&/* @__PURE__ */J("p",{className:"truncate text-xs text-gray-500",children:ae.email})]}),
34
- /* @__PURE__ */B(L,{onClick:()=>{$e(!1),te("/profile",!1)},children:[
35
- /* @__PURE__ */J(W,{name:"account",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ye.profile]}),ve.footerItems.map(e=>/* @__PURE__ */B(L,{onClick:()=>{$e(!1),Ae(e)},children:[
36
- /* @__PURE__ */J("span",{className:"h-4 w-4 [&>svg]:size-4","aria-hidden":"true",children:de[e.to]}),e.menuLabel??e.label]},e.to)),oe&&/* @__PURE__ */B(L,{onClick:()=>{$e(!1),oe()},children:[
37
- /* @__PURE__ */J(W,{name:"error",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ye.reportIssue]}),
38
- /* @__PURE__ */J(z,{}),le&&/* @__PURE__ */B(K,{children:[
39
- /* @__PURE__ */B(L,{onClick:()=>{$e(!1),le()},children:[
40
- /* @__PURE__ */J(W,{name:"desktop",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ye.switchToDesktop]}),
41
- /* @__PURE__ */J(z,{})]}),
42
- /* @__PURE__ */B(L,{danger:!0,onClick:()=>{$e(!1),ie()},children:[
43
- /* @__PURE__ */J(W,{name:"logout",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ye.signOut]})]}),Se&&Y&&/* @__PURE__ */J(S,{portal:!0,minWidth:220,onClose:()=>Le(null),style:{left:O+f,top:Math.min(Se.top,window.innerHeight-48*Math.min(Se.items.length,10)-16)},children:m(Se.items,ke).map((e,t)=>/* @__PURE__ */B("div",{role:e.heading?"group":void 0,"aria-label":e.heading?e.heading.menuLabel??e.heading.label:void 0,children:[t>0&&/* @__PURE__ */J(z,{}),e.heading&&/* @__PURE__ */J($,{children:e.heading.menuLabel??e.heading.label}),e.items.map(e=>/* @__PURE__ */B(L,{onClick:()=>Ae(e),children:[Ie(e.to,de),
44
- /* @__PURE__ */J("span",{className:e.to===re?"font-semibold":"",children:e.menuLabel??e.label})]},e.to))]},e.heading?.to??`run-${t}`))})]})}export{Q as accountMenuPosition,O as default};
@@ -1,3 +0,0 @@
1
- import{useSettingAuto as e,useInSettingRow as t}from"./chunk-L65BESIE.js";import{inputClasses as r}from"./chunk-AYZY3YNC.js";import{IconButton_default as n}from"./chunk-RUTUVS4H.js";import{Icon as i}from"./chunk-FSPFV4MI.js";import{registerModalEscapeInterceptor as o}from"./chunk-TWVUQUUD.js";import{useShellStrings as a}from"./chunk-X2PZMXDP.js";import{forwardRef as l,useId as c,useState as u,useRef as s,useCallback as d,useEffect as p}from"react";import{jsx as m,jsxs as f,Fragment as b}from"react/jsx-runtime";function v(e){const t=String(e),r=/e-(\d+)$/.exec(t);return r?Number(r[1]):t.split(".")[1]?.length??0}var h=(e,t)=>null==e?"":null!=t?e.toFixed(t):String(e);function y({dir:e,compact:t,label:r,disabled:o,onStep:a}){const l=s(a);l.current=a;const c=s({}),u=d(()=>{const e=c.current;void 0!==e.wait&&clearTimeout(e.wait),void 0!==e.every&&clearInterval(e.every),e.off?.(),c.current={}},[]);p(()=>u,[u]),p(()=>{o&&u()},[o,u]);const f=/* @__PURE__ */m(i,{name:e>0?"chevron-up":"chevron-down","aria-hidden":"true",focusable:"false",className:t?"h-2.5 w-2.5":"h-3.5 w-3.5",strokeWidth:t?2.6:2}),b={tabIndex:-1,"aria-label":r,disabled:o,onPointerDown:e=>{if(0!==e.button||o)return;e.preventDefault(),u();const t=e.shiftKey;l.current(t);const r=e.currentTarget.ownerDocument.defaultView??window;r.addEventListener("pointerup",u),c.current={off:()=>r.removeEventListener("pointerup",u),wait:setTimeout(()=>{c.current.every=setInterval(()=>l.current(t),60)},400)}},onPointerLeave:u,onPointerCancel:u,onClick:e=>{0===e.detail&&l.current(e.shiftKey)}};return t?/* @__PURE__ */m("button",{type:"button",...b,className:"flex min-h-0 flex-1 items-center justify-center text-gray-500 transition-colors hover:bg-gray-100 hover:text-gray-900 disabled:cursor-not-allowed disabled:opacity-40",children:f}):/* @__PURE__ */m(n,{size:"sm",...b,children:f})}var g=l(function({value:n,onChange:i,min:l,max:g,precision:x,step:w,shiftStep:k,disabled:E,readOnly:N,invalid:j,placeholder:D,size:S,prefix:F,suffix:P,id:U,name:B,className:C="",onBlur:M,onFocus:K,steppers:L,stepFrom:T,snap:W=!1,allowEmpty:I=!0,appearance:O="box",display:V,reportWhileTyping:$=!0,onRevert:Y,"aria-label":z,"aria-labelledby":A,"aria-describedby":X,auto:R,...Z},H){const Q="bare"===O,q=e(),G=R??q,J=c(),_="string"==typeof P&&""!==P.trim()?P.trim():void 0,ee=e=>function(e,t){let r=e.trim();if(t&&r.endsWith(t)&&(r=r.slice(0,-t.length).trim()),r=r.replace(",","."),""===r||"-"===r||"."===r||"-."===r)return null;const n=Number(r);return Number.isFinite(n)?n:null}(e,_),te=Object.fromEntries(Object.entries(Z).filter(([e])=>e.startsWith("data-"))),re=a(),[ne,ie]=u(()=>h(n,x)),oe=s(ne);oe.current=ne;const ae=s(null),le=d(e=>{ae.current=e,"function"==typeof H?H(e):H&&(H.current=e)},[H]),ce=s(n),ue=s(n);ue.current=n;const se=Boolean(E||N),de=t(),pe=L??(!!de&&"compact"),me="compact"===pe;p(()=>{ee(oe.current)!==n&&ie(h(n,x))},[n,x]);const fe=e=>{if(se)return;let t=(ee(oe.current)??T??(D?ee(D):null)??0)+e;null!=l&&t<l&&(t=l),null!=g&&t>g&&(t=g);const r=x??String(w??1).split(".")[1]?.length??0;t=Number(t.toFixed(r));const n=h(t,x);oe.current=n,ie(n),i(t),we()},be=s(fe);be.current=fe;const ve=s({unit:w??1,big:k??10*(w??1),locked:se});ve.current={unit:w??1,big:k??10*(w??1),locked:se},p(()=>{const e=ae.current;if(!e)return;const t=t=>{const{unit:r,big:n,locked:i}=ve.current;if(i||e.ownerDocument.activeElement!==e)return;const o=t.deltaY||t.deltaX;o&&(t.preventDefault(),be.current((o<0?1:-1)*(t.shiftKey?n:r)))};return e.addEventListener("wheel",t,{passive:!1}),()=>e.removeEventListener("wheel",t)},[]);const[he,ye]=u(!1),[ge,xe]=u(0),we=()=>{Q&&xe(e=>e+1)};p(()=>{Q&&he&&document.activeElement===ae.current&&ae.current?.select()},[Q,he,ge]);const ke=s(!1);p(()=>{if(he&&!se)return o(e=>{if("Escape"!==e.key||document.activeElement!==ae.current)return!1;const t=ce.current;if(ee(oe.current)===t)return!1;const r=h(t,x);return oe.current=r,ie(r),ue.current!==t&&(Y??i)(t),we(),!0})},[he,se,x,i,Y]);const Ee=()=>{const e=ee(oe.current);if(null==e){if(!I){const e=h(ue.current,x);return oe.current=e,ie(e),ue.current}return oe.current="",ie(""),null!==ue.current&&i(null),null}let t=e;const r=x??(W?Math.max(v(w??1),v(l??0)):void 0);W&&(t=function(e,t,r){const n=(e-r)/t;return r+Math.round(n+1e-9*Math.sign(e))*t}(t,w??1,l??0)),null!=l&&t<l&&(t=l),null!=g&&t>g&&(t=g),null!=r&&(t=Number(t.toFixed(r)));const n=h(t,x);return oe.current=n,ie(n),t===e&&t===ue.current||i(t),t},Ne=/* @__PURE__ */m("input",{ref:le,id:U,"data-number-input":"",name:B,type:"text",inputMode:0===x?"numeric":"decimal",value:!he&&V?V(n):ne,disabled:E,readOnly:N,placeholder:D,step:w,role:"spinbutton","aria-valuenow":n??void 0,"aria-valuemin":l,"aria-valuemax":g,"aria-valuetext":null==n?D||void 0:`${h(n,x)}${Q&&_?_:""}`,"aria-describedby":[X,G?J:void 0].filter(Boolean).join(" ")||void 0,"data-appearance":Q?"bare":void 0,...te,autoComplete:Q?"off":void 0,spellCheck:!Q&&void 0,"aria-invalid":j||void 0,"aria-label":z,"aria-labelledby":A,onChange:e=>(e=>{if(N)return;const t=_&&e.trimEnd().endsWith(_)?e.trimEnd().slice(0,-_.length).trimEnd():e;if(""!==t&&!/^-?\d*[.,]?\d*$/.test(t))return;if(ie(e),!$)return;const r=ee(e);(null!==r||I)&&i(r)})(e.target.value),onKeyDown:e=>{if("Enter"===e.key&&!se)return ce.current=Ee(),void we();const t=w??1,r=k??10*t,n="ArrowUp"===e.key?e.shiftKey?r:t:"ArrowDown"===e.key?-(e.shiftKey?r:t):"PageUp"===e.key?10*t:"PageDown"===e.key?10*-t:null;null===n||se||(e.preventDefault(),fe(n))},onFocus:()=>{ce.current=ue.current,ye(!0),ke.current=!0,K?.()},onMouseUp:Q?e=>{ke.current&&(ke.current=!1,e.preventDefault())}:void 0,onBlur:()=>{ye(!1),ke.current=!1,Ee(),M?.()},className:Q?["block min-w-0 m-0 rounded-(--radius-control) border-0 p-0 text-center tabular-nums","rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",he?"bg-surface":"bg-transparent",se?"cursor-default":"cursor-text",C].filter(Boolean).join(" "):r({invalid:j,size:S,readOnly:N,auto:G,className:[F?"pl-6":"",me?P?"pr-10":"pr-6":pe?P?"pr-24":"pr-16":P?"pr-10":"","text-left tabular-nums",C].filter(Boolean).join(" ")})}),je=G?/* @__PURE__ */m("span",{id:J,hidden:!0,children:re.settingView.auto}):null;if(Q||!F&&!P&&!pe)return je?/* @__PURE__ */f(b,{children:[Ne,je]}):Ne;const De=ee(ne);/* @__PURE__ */
2
- return f("div",{className:"relative","data-number-box":"",children:[F&&/* @__PURE__ */m("span",{className:"pointer-events-none absolute left-2 top-1/2 -translate-y-1/2 text-sm text-ink-faint",children:F}),Ne,je,P&&/* @__PURE__ */m("span",{className:`pointer-events-none absolute ${me?"right-6":pe?"right-16":"right-3"} top-1/2 -translate-y-1/2 text-xs text-ink-faint`,children:P}),pe&&(()=>{const e=/* @__PURE__ */m(y,{dir:-1,compact:me,label:re.number.decrease,disabled:se||null!=l&&null!=De&&De<=l,onStep:e=>be.current(-(e?k??10*(w??1):w??1))}),t=/* @__PURE__ */m(y,{dir:1,compact:me,label:re.number.increase,disabled:se||null!=g&&null!=De&&De>=g,onStep:e=>be.current(e?k??10*(w??1):w??1)});/* @__PURE__ */
3
- return f("span",me?{"data-steppers":"compact",className:"absolute inset-y-px right-px flex w-4 flex-col overflow-hidden rounded-r-(--radius-control)",children:[t,e]}:{className:"absolute right-1 top-1/2 flex -translate-y-1/2 items-center gap-0.5",children:[e,t]})})()]})});export{g as InputNumber_default};
@@ -1,12 +0,0 @@
1
- import{CountBadge as e}from"./chunk-MZ26SYFY.js";import{Icon as n}from"./chunk-FSPFV4MI.js";import{useShellStrings as i,useShellLocale as t}from"./chunk-X2PZMXDP.js";import{formatPlain as r}from"./chunk-C3QOHMR6.js";import{useState as a,useId as o}from"react";import{jsx as s,jsxs as c,Fragment as l}from"react/jsx-runtime";var d="px-4 @max-[260px]/acc:px-3",h={band:{head:`${d} py-3 bg-(--rosh-fold-band)`,press:"hover:bg-(--rosh-fold-band-hover)",title:"text-base font-semibold text-(--ink-strongest)",chev:"text-(--ink-strongest)",body:`${d} pb-2`},row:{head:`${d} py-2`,press:"hover:bg-row-hover",title:"text-sm font-medium text-(--ink-strong)",chev:"text-(--ink-strong)",body:`${d} pb-2`}},m=e=>[...e].map(e=>/[A-Za-z0-9_-]/.test(e)?e:`-u${e.codePointAt(0).toString(16)}-`).join(""),u="m-0 p-0 border-0 [font:inherit] [letter-spacing:inherit] [text-transform:inherit]";function f({items:d,defaultOpenIds:f=[],openIds:p,onOpenChange:b,allowMultiple:v=!1,level:x=3,tier:$="band",className:g=""}){const N=h[$],y=i(),k=t(),[w,j]=a(f),M=o(),P=`h${x}`,C=p??w;/* @__PURE__ */
2
- return s("div",{"data-accordion":$,className:`@container/acc flex flex-col ${"band"===$?"gap-0.5":""} ${g}`.trim(),children:d.map(i=>{const t=C.includes(i.id),a=`${M}-${m(i.id)}-head`,o=`${M}-${m(i.id)}-panel`;/* @__PURE__ */
3
- return c("div",{children:[
4
- /* @__PURE__ */s(P,{className:u,children:/* @__PURE__ */c("button",{type:"button",id:a,disabled:i.disabled,"aria-expanded":t,"aria-controls":t?o:void 0,onClick:()=>(e=>{const n=C.includes(e)?C.filter(n=>n!==e):v?[...C,e]:[e];void 0===p&&j(n),b?.(n)})(i.id),className:`flex w-full items-center gap-2 text-left transition-colors duration-(--motion-fast) disabled:cursor-not-allowed disabled:opacity-50 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[color:var(--rosh-focus-ring-solid)] ${N.head} ${N.press}`,children:[null!=i.icon&&/* @__PURE__ */s("span",{"aria-hidden":"true",className:`inline-flex h-4 w-4 shrink-0 items-center justify-center ${N.chev}`,children:i.icon}),
5
- /* @__PURE__ */s("span",{className:`min-w-0 flex-1 ${N.title}`,children:i.title}),"number"==typeof i.count&&i.count>0&&
6
- /* @__PURE__ */c(l,{children:[
7
- /* @__PURE__ */s("span",{"aria-hidden":"true",className:"inline-flex",children:/* @__PURE__ */s(e,{count:i.count,tone:"accent"})}),
8
- /* @__PURE__ */s("span",{className:"sr-only",children:y.accordion.changed(r(i.count,k))})]}),
9
- /* @__PURE__ */s("span",{"data-fold-chevron":"","aria-hidden":"true",className:"inline-flex h-6 w-6 shrink-0 items-center justify-center",children:/* @__PURE__ */s(n,{name:"chevron-right","aria-hidden":"true",strokeWidth:"2",className:`h-4 w-4 transition-transform duration-(--motion-base) motion-reduce:transition-none ${N.chev} ${t?"rotate-90":""}`})})]})}),t&&/* @__PURE__ */s("div",{id:o,role:"region","aria-labelledby":a,className:N.body,children:i.content})]},i.id)})})}function p({title:e,icon:n,tier:i="band",level:t=3,id:r,className:a=""}){const o=h[i],l=`h${t}`;/* @__PURE__ */
10
- return s("div",{"data-accordion-heading":i,className:`@container/acc ${a}`.trim(),children:/* @__PURE__ */c(l,{id:r,className:`${u} flex items-center gap-2 ${o.head}`,children:[null!=n&&/* @__PURE__ */s("span",{"aria-hidden":"true",className:`inline-flex h-4 w-4 shrink-0 items-center justify-center ${o.chev}`,children:n}),
11
- /* @__PURE__ */s("span",{className:`min-w-0 flex-1 ${o.title}`,children:e})]})})}function b({children:e,className:n=""}){/* @__PURE__ */
12
- return s("div",{className:`@container/acc ${n}`.trim(),children:/* @__PURE__ */s("div",{"data-accordion-body":"",className:d,children:e})})}export{f as Accordion,b as AccordionBody,p as AccordionHeading,m as accordionIdOf};
@@ -1,3 +0,0 @@
1
- import{DropdownMenu as e}from"./chunk-VVZE27M4.js";import{Button_default as i}from"./chunk-NHH2MXFU.js";import{iconButtonClasses as n}from"./chunk-UQYNPYF4.js";import{Icon as r}from"./chunk-FSPFV4MI.js";import{Tooltip as a}from"./chunk-BCDG4N6L.js";import{forwardRef as l,useId as o}from"react";import{jsxs as s,jsx as t}from"react/jsx-runtime";var d="relative focus-visible:z-10",m={secondary:"border-l-0",primary:"border-l border-white/30",warning:"border-l border-white/30"},c=l(function({children:l,onClick:c,type:b="button",items:h,menuLabel:u,variant:f="primary",size:p="md",loading:v=!1,leftIcon:k,disabled:N=!1,disabledReason:g,tooltip:w,menuDisabled:x=!1,menuDisabledReason:j,onMenuOpenChange:y,menuFooter:C,menuFooterLabel:F,align:M="end",side:z="bottom",menuMinWidth:L,linkAs:W,block:D=!1,className:I=""},R){const V=N&&(null!=g&&""!==g&&!1!==g)&&!v,$=x&&null!=j&&""!==j&&!1!==j,A=o(),B=/* @__PURE__ */t(i,{ref:R,type:b,variant:f,size:p,loading:v,leftIcon:k,block:D,disabled:N&&!V,"aria-disabled":!!V||void 0,disabledReason:V?g:void 0,onClick:c,className:`rounded-r-none ${d}`,children:l}),H=D?"relative flex min-w-0 flex-1":"relative inline-flex",O=p.startsWith("touch")?"h-5 w-5":"h-4 w-4";/* @__PURE__ */
2
- return s("div",{className:[D?"flex w-full":"inline-flex","items-stretch",I].filter(Boolean).join(" "),children:[null==w||""===w||V?B:/* @__PURE__ */t(a,{content:w,className:H,children:B}),
3
- /* @__PURE__ */t(a,{content:$?j:u,describe:!1,className:"relative inline-flex shrink-0",children:/* @__PURE__ */t(e,{"aria-label":u,"aria-describedby":$?A:void 0,items:h,align:M,side:z,minWidth:L,linkAs:W,disabled:x&&!$,"aria-disabled":$,onOpenChange:y,footer:C,footerLabel:F,triggerClassName:n({variant:f,size:p,className:`rounded-l-none ${m[f]} ${d}`}),trigger:/* @__PURE__ */t(r,{name:"chevron-down",className:O,strokeWidth:2,"aria-hidden":"true"})})}),$&&/* @__PURE__ */t("span",{id:A,className:"sr-only",children:j})]})});export{c as SplitButton_default};
@@ -1 +0,0 @@
1
- var r="9.14.0",a=r;export{a as APP_VERSION,r as VERSION};
@@ -1,5 +0,0 @@
1
- import{IconButton_default as e}from"./chunk-RUTUVS4H.js";import{Icon as t}from"./chunk-FSPFV4MI.js";import{Tooltip as r}from"./chunk-BCDG4N6L.js";import{useShellStrings as o}from"./chunk-X2PZMXDP.js";import{useId as i}from"react";import{jsxs as n,jsx as a}from"react/jsx-runtime";var s=['input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", ");function d({label:d,onReset:l,view:c="desktop",detail:b,disabled:m}){const f=o().settingView,u=i(),p="desktop"===c,h=p?f.resetName(d):f.inheritName(d),k=b?f.backTo(b):p?f.backToDefault:f.backToAuto;
2
- /* @__PURE__ */
3
- return n(r,{content:f.tip(h,k),describe:!1,children:[
4
- /* @__PURE__ */a(e,{size:"sm","aria-label":h,"aria-describedby":u,disabled:m,className:"relative before:absolute before:-top-2.5 before:-bottom-2.5 before:-left-1 before:-right-4",onClick:e=>{l(),function(e){const t=e.currentTarget,r=t.closest("[data-setting-reset]")??t;let o=r.parentElement;for(let e=0;o&&e<4;e+=1,o=o.parentElement){const e=[...o.querySelectorAll(s)].find(e=>!r.contains(e)&&!e.closest('[aria-hidden="true"]'));if(e)return void e.focus()}}(e)},children:/* @__PURE__ */a(t,{name:"revert",size:16,"aria-hidden":"true"})}),
5
- /* @__PURE__ */a("span",{id:u,hidden:!0,children:k})]})}export{d as SettingReset};
@@ -1 +0,0 @@
1
- import{createContext as r,useContext as n}from"react";var t=r(!1);function o(){return n(t)}var u=r(!1);function e(){return n(u)}var i=r(void 0);function a(){return n(i)}export{t as InSettingRowContext,u as SettingAutoContext,i as SettingRowNameContext,o as useInSettingRow,e as useSettingAuto,a as useSettingRowName};