@inf-monkeys-tech/monkeys-design 1.0.44 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/workbench/index.d.mts +11 -1
- package/dist/components/workbench/index.d.ts +11 -1
- package/dist/components/workbench/index.js +199 -29
- package/dist/components/workbench/index.js.map +1 -1
- package/dist/components/workbench/index.mjs +199 -29
- package/dist/components/workbench/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +202 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +202 -32
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ export { M as MonkeysAgentWorkbenchMessages, a as MonkeysBuiltInLocaleId, b as M
|
|
|
7
7
|
export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, k as AgentWorkbenchSidebar, l as AgentWorkbenchSidebarClassNames, m as AgentWorkbenchSidebarIntent, n as AgentWorkbenchSidebarProps, o as AgentWorkbenchTaskDetails, p as AgentWorkbenchTaskDetailsClassNames, q as AgentWorkbenchTaskDetailsProps, r as AgentWorkbenchTerminalModel, s as AgentWorkbenchTool, t as AgentWorkbenchToolClassNames, u as AgentWorkbenchToolProps, v as createAgentWorkbenchActivityModel, w as createAgentWorkbenchDetailsModel } from './details-model-bc28e9593e3f.mjs';
|
|
8
8
|
export { LoginPage, LoginPageBackgroundConfig, LoginPageCalloutConfig, LoginPageCheckboxConfig, LoginPageExternalMethodConfig, LoginPageExternalPanelConfig, LoginPageFieldConfig, LoginPageLogoConfig, LoginPageLogoLocation, LoginPageMethodConfig, LoginPageProps } from './components/login/index.mjs';
|
|
9
9
|
export { AppHeader, AppHeaderLogo, AppHeaderProps, AppHeaderUser, AppLayout, AppLayoutProps, AppShellSidebar, AppShellSidebarClassNames, AppShellSidebarProps, AppSidebar, AppSidebarProps, HeadbarLayout, HeadbarLayoutMode, HeadbarMenuRadius, HeadbarNavPosition, HeaderTab, LayoutNavItem, NavButton, NavButtonProps, NavigationLayout, NavigationLayoutProps, NavigationMode, SidebarAccount, SidebarNavItem, UserAccountMenu, UserAccountMenuClassNames, UserAccountMenuItem, UserAccountMenuProps, UserAccountMenuRadius, UserAccountMenuSelectorConfig, UserAccountMenuSelectorOption, UserAccountMenuSide, UserAccountMenuTriggerVariant, UserAccountMenuUser, cn } from './components/layout/index.mjs';
|
|
10
|
-
export { InteractiveTable, InteractiveTableClassNames, InteractiveTableColumn, InteractiveTableColumnMenuLabels, InteractiveTableEditableTextCell, InteractiveTableEditableTextCellProps, InteractiveTableHeaderContext, InteractiveTableHeaderProps, InteractiveTableProps, InteractiveTableReadonlyCell, InteractiveTableReadonlyCellProps, InteractiveTableRenderContext, InteractiveTableRowState, InteractiveTableSelectCell, InteractiveTableSelectCellProps, InteractiveTableSelectOption, WorkbenchAssetGallery, WorkbenchAssetGalleryItem, WorkbenchAssetGalleryProps, WorkbenchCollection, WorkbenchCollectionActivationEvent, WorkbenchCollectionAppearanceConfig, WorkbenchCollectionCallbacks, WorkbenchCollectionClassNames, WorkbenchCollectionConfig, WorkbenchCollectionGroupContext, WorkbenchCollectionGroupingConfig, WorkbenchCollectionHoverEffect, WorkbenchCollectionItemConfig, WorkbenchCollectionItemContext, WorkbenchCollectionItemSize, WorkbenchCollectionItemSlotName, WorkbenchCollectionItemSlots, WorkbenchCollectionItemStatus, WorkbenchCollectionItemTitleConfig, WorkbenchCollectionKey, WorkbenchCollectionLabels, WorkbenchCollectionLayoutConfig, WorkbenchCollectionLayoutContext, WorkbenchCollectionLayoutMode, WorkbenchCollectionLayoutSnapshot, WorkbenchCollectionLoadingConfig, WorkbenchCollectionProps, WorkbenchCollectionResponsive, WorkbenchCollectionSelectionBehavior, WorkbenchCollectionSelectionConfig, WorkbenchCollectionSelectionMode, WorkbenchCollectionSlotContext, WorkbenchCollectionSlots, WorkbenchCollectionStateConfig, WorkbenchCollectionTitlePlacement, WorkbenchCollectionTitleVisibility, WorkbenchCollectionVirtualizationAdapter, WorkbenchCollectionVirtualizationConfig, WorkbenchCollectionVirtualizationRenderOptions, WorkbenchContentPane, WorkbenchContentPaneBodyProps, WorkbenchContentPaneClassNames, WorkbenchContentPaneProps, WorkbenchContentToolbar, WorkbenchContentToolbarClassNames, WorkbenchContentToolbarProps, WorkbenchContentToolbarViewModeOption, WorkbenchDetailSidebar, WorkbenchDetailSidebarBodyProps, WorkbenchDetailSidebarClassNames, WorkbenchDetailSidebarField, WorkbenchDetailSidebarProps, WorkbenchDetailSidebarRenderContext, WorkbenchDetailSidebarSection, WorkbenchEvidenceItem, WorkbenchEvidenceList, WorkbenchEvidenceListProps, WorkbenchGalleryCard, WorkbenchGalleryCardMetaContext, WorkbenchGalleryCardProps, WorkbenchGalleryCardRenderContext, WorkbenchGalleryColumn, WorkbenchGalleryLabels, WorkbenchGalleryRecordVisual, WorkbenchGallerySettingsButton, WorkbenchGallerySettingsButtonClassNames, WorkbenchGallerySettingsButtonProps, WorkbenchGallerySettingsLabels, WorkbenchGallerySettingsOption, WorkbenchGallerySettingsPanel, WorkbenchGallerySettingsPanelClassNames, WorkbenchGallerySettingsPanelProps, WorkbenchGallerySettingsValue, WorkbenchGalleryView, WorkbenchGalleryViewProps, WorkbenchJourneyItem, WorkbenchJourneyItemState, WorkbenchJourneyNavigation, WorkbenchJourneyNavigationProps, WorkbenchLaneClassNames, WorkbenchLaneColumn, WorkbenchLaneRenderCardContext, WorkbenchLaneView, WorkbenchLaneViewProps, WorkbenchMasonryItemSize, WorkbenchMasonryLayout, WorkbenchMasonryLayoutContext, WorkbenchMasonryLayoutProps, WorkbenchMetricGrid, WorkbenchMetricGridDensity, WorkbenchMetricGridProps, WorkbenchMetricGridVariant, WorkbenchMetricItem, WorkbenchRadarFilterChip, WorkbenchRadarInspectorSection, WorkbenchRadarLegendItem, WorkbenchRadarMatrix, WorkbenchRadarMatrixProps, WorkbenchRadarNavigation, WorkbenchRadarNavigationChild, WorkbenchRadarNavigationItem, WorkbenchRadarNavigationProps, WorkbenchRadarQuadrant, WorkbenchRadarWorkspace, WorkbenchRadarWorkspaceProps, WorkbenchRankedList, WorkbenchRankedListItem, WorkbenchRankedListMetric, WorkbenchRankedListProps, WorkbenchRelationshipEdge, WorkbenchRelationshipGraph, WorkbenchRelationshipGraphProps, WorkbenchRelationshipNode, WorkbenchResizableSidebar, WorkbenchResizableSidebarClassNames, WorkbenchResizableSidebarItem, WorkbenchResizableSidebarProps, WorkbenchResizableSidebarSection, WorkbenchScatterAxis, WorkbenchScatterPlot, WorkbenchScatterPlotProps, WorkbenchScatterPoint, WorkbenchScatterThresholds, WorkbenchSelectionTray, WorkbenchSelectionTrayItem, WorkbenchSelectionTrayProps, WorkbenchTableView, WorkbenchTableViewClassNames, WorkbenchTableViewColumn, WorkbenchTableViewHeaderContext, WorkbenchTableViewProps, WorkbenchTableViewRenderContext, WorkbenchVisualizationTone } from './components/workbench/index.mjs';
|
|
10
|
+
export { InteractiveTable, InteractiveTableClassNames, InteractiveTableColumn, InteractiveTableColumnMenuLabels, InteractiveTableEditableTextCell, InteractiveTableEditableTextCellProps, InteractiveTableHeaderContext, InteractiveTableHeaderProps, InteractiveTableProps, InteractiveTableReadonlyCell, InteractiveTableReadonlyCellProps, InteractiveTableRenderContext, InteractiveTableRowState, InteractiveTableSelectCell, InteractiveTableSelectCellProps, InteractiveTableSelectOption, WorkbenchAssetGallery, WorkbenchAssetGalleryItem, WorkbenchAssetGalleryProps, WorkbenchCollection, WorkbenchCollectionActivationEvent, WorkbenchCollectionAppearanceConfig, WorkbenchCollectionCallbacks, WorkbenchCollectionClassNames, WorkbenchCollectionConfig, WorkbenchCollectionGroupContext, WorkbenchCollectionGroupingConfig, WorkbenchCollectionHoverEffect, WorkbenchCollectionItemConfig, WorkbenchCollectionItemContext, WorkbenchCollectionItemSize, WorkbenchCollectionItemSlotName, WorkbenchCollectionItemSlots, WorkbenchCollectionItemStatus, WorkbenchCollectionItemTitleConfig, WorkbenchCollectionKey, WorkbenchCollectionLabels, WorkbenchCollectionLayoutConfig, WorkbenchCollectionLayoutContext, WorkbenchCollectionLayoutMode, WorkbenchCollectionLayoutSnapshot, WorkbenchCollectionLoadingConfig, WorkbenchCollectionLoadingVariant, WorkbenchCollectionProps, WorkbenchCollectionResponsive, WorkbenchCollectionSelectionBehavior, WorkbenchCollectionSelectionConfig, WorkbenchCollectionSelectionMode, WorkbenchCollectionSkeletonConfig, WorkbenchCollectionSlotContext, WorkbenchCollectionSlots, WorkbenchCollectionStateConfig, WorkbenchCollectionTitlePlacement, WorkbenchCollectionTitleVisibility, WorkbenchCollectionVirtualizationAdapter, WorkbenchCollectionVirtualizationConfig, WorkbenchCollectionVirtualizationRenderOptions, WorkbenchContentPane, WorkbenchContentPaneBodyProps, WorkbenchContentPaneClassNames, WorkbenchContentPaneProps, WorkbenchContentToolbar, WorkbenchContentToolbarClassNames, WorkbenchContentToolbarProps, WorkbenchContentToolbarViewModeOption, WorkbenchDetailSidebar, WorkbenchDetailSidebarBodyProps, WorkbenchDetailSidebarClassNames, WorkbenchDetailSidebarField, WorkbenchDetailSidebarProps, WorkbenchDetailSidebarRenderContext, WorkbenchDetailSidebarSection, WorkbenchEvidenceItem, WorkbenchEvidenceList, WorkbenchEvidenceListProps, WorkbenchGalleryCard, WorkbenchGalleryCardMetaContext, WorkbenchGalleryCardProps, WorkbenchGalleryCardRenderContext, WorkbenchGalleryColumn, WorkbenchGalleryLabels, WorkbenchGalleryRecordVisual, WorkbenchGallerySettingsButton, WorkbenchGallerySettingsButtonClassNames, WorkbenchGallerySettingsButtonProps, WorkbenchGallerySettingsLabels, WorkbenchGallerySettingsOption, WorkbenchGallerySettingsPanel, WorkbenchGallerySettingsPanelClassNames, WorkbenchGallerySettingsPanelProps, WorkbenchGallerySettingsValue, WorkbenchGalleryView, WorkbenchGalleryViewProps, WorkbenchJourneyItem, WorkbenchJourneyItemState, WorkbenchJourneyNavigation, WorkbenchJourneyNavigationProps, WorkbenchLaneClassNames, WorkbenchLaneColumn, WorkbenchLaneRenderCardContext, WorkbenchLaneView, WorkbenchLaneViewProps, WorkbenchMasonryItemSize, WorkbenchMasonryLayout, WorkbenchMasonryLayoutContext, WorkbenchMasonryLayoutProps, WorkbenchMetricGrid, WorkbenchMetricGridDensity, WorkbenchMetricGridProps, WorkbenchMetricGridVariant, WorkbenchMetricItem, WorkbenchRadarFilterChip, WorkbenchRadarInspectorSection, WorkbenchRadarLegendItem, WorkbenchRadarMatrix, WorkbenchRadarMatrixProps, WorkbenchRadarNavigation, WorkbenchRadarNavigationChild, WorkbenchRadarNavigationItem, WorkbenchRadarNavigationProps, WorkbenchRadarQuadrant, WorkbenchRadarWorkspace, WorkbenchRadarWorkspaceProps, WorkbenchRankedList, WorkbenchRankedListItem, WorkbenchRankedListMetric, WorkbenchRankedListProps, WorkbenchRelationshipEdge, WorkbenchRelationshipGraph, WorkbenchRelationshipGraphProps, WorkbenchRelationshipNode, WorkbenchResizableSidebar, WorkbenchResizableSidebarClassNames, WorkbenchResizableSidebarItem, WorkbenchResizableSidebarProps, WorkbenchResizableSidebarSection, WorkbenchScatterAxis, WorkbenchScatterPlot, WorkbenchScatterPlotProps, WorkbenchScatterPoint, WorkbenchScatterThresholds, WorkbenchSelectionTray, WorkbenchSelectionTrayItem, WorkbenchSelectionTrayProps, WorkbenchTableView, WorkbenchTableViewClassNames, WorkbenchTableViewColumn, WorkbenchTableViewHeaderContext, WorkbenchTableViewProps, WorkbenchTableViewRenderContext, WorkbenchVisualizationTone } from './components/workbench/index.mjs';
|
|
11
11
|
export { MonkeysToastApi, MonkeysToastProvider, MonkeysToastProviderProps, MonkeysToaster, MonkeysToasterProps, ToastInput, MonkeysToastProvider as ToastProvider, ToastVariant, MonkeysToaster as Toaster, extractToastMessage, resolveToastVariantForMessage, toast, useToastFeed, useToastOnValue } from './components/toast/index.mjs';
|
|
12
12
|
export { B as BaseAccordion, a as BaseAspectRatio, b as BaseAvatar, c as BaseBadge, d as BaseBreadcrumb, e as BaseButton, f as BaseCheckbox, g as BaseCode, h as BaseContainer, i as BaseContextMenu, j as BaseContextMenuCheckboxItem, k as BaseContextMenuContent, l as BaseContextMenuItem, m as BaseContextMenuLabel, n as BaseContextMenuRadioGroup, o as BaseContextMenuRadioItem, p as BaseContextMenuSeparator, q as BaseContextMenuSub, r as BaseContextMenuSubContent, s as BaseContextMenuSubTrigger, t as BaseContextMenuTrigger, u as BaseDescriptionList, v as BaseDialog, w as BaseDivider, x as BaseDropdownMenu, y as BaseEmptyState, z as BaseField, A as BaseFieldset, C as BaseGrid, D as BaseHeading, E as BaseInline, F as BaseInput, G as BaseInputGroup, H as BaseKbd, I as BaseLayout, J as BaseLayoutPane, K as BaseLayoutResizeHandle, L as BaseLayoutSplit, M as BaseLink, N as BaseList, O as BaseListFooter, P as BaseListItem, Q as BaseLoadingState, R as BaseMultiSelect, S as BaseNotice, T as BaseNumberInput, U as BasePagination, V as BasePanel, W as BasePasswordInput, X as BasePortal, Y as BaseProgress, Z as BaseRadioGroup, _ as BaseScrollArea, $ as BaseSectionHeader, a0 as BaseSegmentedControl, a1 as BaseSelect, a2 as BaseSkeleton, a3 as BaseSpinner, a4 as BaseStack, a5 as BaseSteps, a6 as BaseSwitch, a7 as BaseSystemState, a8 as BaseTable, a9 as BaseTableBody, aa as BaseTableCaption, ab as BaseTableCell, ac as BaseTableContainer, ad as BaseTableEmpty, ae as BaseTableFooter, af as BaseTableFooterBar, ag as BaseTableHead, ah as BaseTableHeader, ai as BaseTableLoading, aj as BaseTableRow, ak as BaseTabs, al as BaseText, am as BaseTextarea, an as BaseToolbar, ao as BaseTooltip, ap as BaseVisuallyHidden, aq as getBaseBadgeToneClassName, ar as getBaseButtonToneClassName, as as getBaseMenuItemToneClassName, at as getBaseNoticeToneClassName, au as resolveBaseAppearance } from './theme-860f405c9d2d.mjs';
|
|
13
13
|
export { B as BaseAccordionClassNames, a as BaseAccordionItem, b as BaseAccordionProps, c as BaseAppearance, d as BaseAspectRatioClassNames, e as BaseAspectRatioProps, f as BaseAvatarClassNames, g as BaseAvatarProps, h as BaseBackground, i as BaseBadgeClassNames, j as BaseBadgeProps, k as BaseBorder, l as BaseBreadcrumbClassNames, m as BaseBreadcrumbItem, n as BaseBreadcrumbProps, o as BaseButtonClassNames, p as BaseButtonProps, q as BaseCheckboxClassNames, r as BaseCheckboxProps, s as BaseCodeClassNames, t as BaseCodeDisplay, u as BaseCodeProps, v as BaseComponentState, w as BaseContainerClassNames, x as BaseContainerProps, y as BaseContextMenuCheckboxItemProps, z as BaseContextMenuClassNames, A as BaseContextMenuContentClassNames, C as BaseContextMenuContentProps, D as BaseContextMenuItemClassNames, E as BaseContextMenuItemProps, F as BaseContextMenuLabelProps, G as BaseContextMenuProps, H as BaseContextMenuRadioGroupProps, I as BaseContextMenuRadioItemProps, J as BaseContextMenuSeparatorProps, K as BaseContextMenuSubContentProps, L as BaseContextMenuSubProps, M as BaseContextMenuSubTriggerProps, N as BaseContextMenuTriggerProps, O as BaseControlClassNames, P as BaseControlSize, Q as BaseControlTone, R as BaseDensity, S as BaseDescriptionListClassNames, T as BaseDescriptionListItem, U as BaseDescriptionListProps, V as BaseDialogClassNames, W as BaseDialogProps, X as BaseDividerClassNames, Y as BaseDividerProps, Z as BaseDropdownMenuClassNames, _ as BaseDropdownMenuItem, $ as BaseDropdownMenuPlacement, a0 as BaseDropdownMenuProps, a1 as BaseEmptyStateProps, a2 as BaseFieldClassNames, a3 as BaseFieldControlProps, a4 as BaseFieldProps, a5 as BaseFieldValidate, a6 as BaseFieldValidationMode, a7 as BaseFieldValidationResult, a8 as BaseFieldsetClassNames, a9 as BaseFieldsetProps, aa as BaseGridClassNames, ab as BaseGridColumns, ac as BaseGridProps, ad as BaseHeadingClassNames, ae as BaseHeadingLevel, af as BaseHeadingProps, ag as BaseHeadingSize, ah as BaseInlineClassNames, ai as BaseInlineProps, aj as BaseInputGroupClassNames, ak as BaseInputGroupProps, al as BaseInputProps, am as BaseKbdClassNames, an as BaseKbdProps, ao as BaseLayoutAlign, ap as BaseLayoutClassNames, aq as BaseLayoutGap, ar as BaseLayoutJustify, as as BaseLayoutLength, at as BaseLayoutOrientation, au as BaseLayoutPaneClassNames, av as BaseLayoutPaneProps, aw as BaseLayoutPaneSurface, ax as BaseLayoutProps, ay as BaseLayoutResizeHandleClassNames, az as BaseLayoutResizeHandleProps, aA as BaseLayoutSize, aB as BaseLayoutSplitClassNames, aC as BaseLayoutSplitProps, aD as BaseLinkClassNames, aE as BaseLinkProps, aF as BaseListClassNames, aG as BaseListFooterClassNames, aH as BaseListFooterProps, aI as BaseListItemClassNames, aJ as BaseListItemProps, aK as BaseListMarker, aL as BaseListProps, aM as BaseListSpacing, aN as BaseLoadingStateProps, aO as BaseMultiSelectClassNames, aP as BaseMultiSelectOption, aQ as BaseMultiSelectProps, aR as BaseNoticeClassNames, aS as BaseNoticeProps, aT as BaseNumberInputChangeReason, aU as BaseNumberInputClassNames, aV as BaseNumberInputProps, aW as BaseNumberInputValueChangeDetails, aX as BasePaginationClassNames, aY as BasePaginationProps, aZ as BasePanelClassNames, a_ as BasePanelProps, a$ as BasePasswordInputClassNames, b0 as BasePasswordInputProps, b1 as BasePortalContainer, b2 as BasePortalProps, b3 as BaseProgressClassNames, b4 as BaseProgressProps, b5 as BaseRadioGroupClassNames, b6 as BaseRadioGroupProps, b7 as BaseRadioOption, b8 as BaseRadius, b9 as BaseResolvedTheme, ba as BaseScrollAreaAxis, bb as BaseScrollAreaClassNames, bc as BaseScrollAreaProps, bd as BaseSectionHeaderClassNames, be as BaseSectionHeaderProps, bf as BaseSegmentedControlClassNames, bg as BaseSegmentedControlOption, bh as BaseSegmentedControlProps, bi as BaseSelectOption, bj as BaseSelectProps, bk as BaseSkeletonClassNames, bl as BaseSkeletonProps, bm as BaseSpinnerClassNames, bn as BaseSpinnerProps, bo as BaseStackClassNames, bp as BaseStackProps, bq as BaseStateClassNames, br as BaseStepItem, bs as BaseStepStatus, bt as BaseStepsClassNames, bu as BaseStepsProps, bv as BaseStepsStatusLabels, bw as BaseSwitchClassNames, bx as BaseSwitchProps, by as BaseSystemStateKind, bz as BaseSystemStateProps, bA as BaseTableAlign, bB as BaseTableBodyProps, bC as BaseTableCaptionClassNames, bD as BaseTableCaptionProps, bE as BaseTableCellClassNames, bF as BaseTableCellProps, bG as BaseTableClassNames, bH as BaseTableColumnDefinition, bI as BaseTableColumnInteractionOptions, bJ as BaseTableColumnOrderChangeDetail, bK as BaseTableColumnSizeChangeDetail, bL as BaseTableColumnSizes, bM as BaseTableContainerClassNames, bN as BaseTableContainerProps, bO as BaseTableEmptyClassNames, bP as BaseTableEmptyProps, bQ as BaseTableFooterBarClassNames, bR as BaseTableFooterBarProps, bS as BaseTableFooterProps, bT as BaseTableHeadClassNames, bU as BaseTableHeadProps, bV as BaseTableHeaderProps, bW as BaseTableLayout, bX as BaseTableLoadingClassNames, bY as BaseTableLoadingProps, bZ as BaseTableProps, b_ as BaseTableRowClassNames, b$ as BaseTableRowProps, c0 as BaseTableSectionClassNames, c1 as BaseTableSortDirection, c2 as BaseTableVerticalAlign, c3 as BaseTabsClassNames, c4 as BaseTabsItem, c5 as BaseTabsProps, c6 as BaseTextClassNames, c7 as BaseTextProps, c8 as BaseTextareaProps, c9 as BaseThemePresetId, ca as BaseThemeSlots, cb as BaseThemeStyles, cc as BaseToolbarClassNames, cd as BaseToolbarProps, ce as BaseTooltipClassNames, cf as BaseTooltipPlacement, cg as BaseTooltipProps, ch as BaseTypographySize, ci as BaseTypographyTone, cj as BaseVariant, ck as BaseVisuallyHiddenClassNames, cl as BaseVisuallyHiddenProps } from './types-c6ec8b90925b.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { M as MonkeysAgentWorkbenchMessages, a as MonkeysBuiltInLocaleId, b as M
|
|
|
7
7
|
export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, k as AgentWorkbenchSidebar, l as AgentWorkbenchSidebarClassNames, m as AgentWorkbenchSidebarIntent, n as AgentWorkbenchSidebarProps, o as AgentWorkbenchTaskDetails, p as AgentWorkbenchTaskDetailsClassNames, q as AgentWorkbenchTaskDetailsProps, r as AgentWorkbenchTerminalModel, s as AgentWorkbenchTool, t as AgentWorkbenchToolClassNames, u as AgentWorkbenchToolProps, v as createAgentWorkbenchActivityModel, w as createAgentWorkbenchDetailsModel } from './details-model-bc28e9593e3f.js';
|
|
8
8
|
export { LoginPage, LoginPageBackgroundConfig, LoginPageCalloutConfig, LoginPageCheckboxConfig, LoginPageExternalMethodConfig, LoginPageExternalPanelConfig, LoginPageFieldConfig, LoginPageLogoConfig, LoginPageLogoLocation, LoginPageMethodConfig, LoginPageProps } from './components/login/index.js';
|
|
9
9
|
export { AppHeader, AppHeaderLogo, AppHeaderProps, AppHeaderUser, AppLayout, AppLayoutProps, AppShellSidebar, AppShellSidebarClassNames, AppShellSidebarProps, AppSidebar, AppSidebarProps, HeadbarLayout, HeadbarLayoutMode, HeadbarMenuRadius, HeadbarNavPosition, HeaderTab, LayoutNavItem, NavButton, NavButtonProps, NavigationLayout, NavigationLayoutProps, NavigationMode, SidebarAccount, SidebarNavItem, UserAccountMenu, UserAccountMenuClassNames, UserAccountMenuItem, UserAccountMenuProps, UserAccountMenuRadius, UserAccountMenuSelectorConfig, UserAccountMenuSelectorOption, UserAccountMenuSide, UserAccountMenuTriggerVariant, UserAccountMenuUser, cn } from './components/layout/index.js';
|
|
10
|
-
export { InteractiveTable, InteractiveTableClassNames, InteractiveTableColumn, InteractiveTableColumnMenuLabels, InteractiveTableEditableTextCell, InteractiveTableEditableTextCellProps, InteractiveTableHeaderContext, InteractiveTableHeaderProps, InteractiveTableProps, InteractiveTableReadonlyCell, InteractiveTableReadonlyCellProps, InteractiveTableRenderContext, InteractiveTableRowState, InteractiveTableSelectCell, InteractiveTableSelectCellProps, InteractiveTableSelectOption, WorkbenchAssetGallery, WorkbenchAssetGalleryItem, WorkbenchAssetGalleryProps, WorkbenchCollection, WorkbenchCollectionActivationEvent, WorkbenchCollectionAppearanceConfig, WorkbenchCollectionCallbacks, WorkbenchCollectionClassNames, WorkbenchCollectionConfig, WorkbenchCollectionGroupContext, WorkbenchCollectionGroupingConfig, WorkbenchCollectionHoverEffect, WorkbenchCollectionItemConfig, WorkbenchCollectionItemContext, WorkbenchCollectionItemSize, WorkbenchCollectionItemSlotName, WorkbenchCollectionItemSlots, WorkbenchCollectionItemStatus, WorkbenchCollectionItemTitleConfig, WorkbenchCollectionKey, WorkbenchCollectionLabels, WorkbenchCollectionLayoutConfig, WorkbenchCollectionLayoutContext, WorkbenchCollectionLayoutMode, WorkbenchCollectionLayoutSnapshot, WorkbenchCollectionLoadingConfig, WorkbenchCollectionProps, WorkbenchCollectionResponsive, WorkbenchCollectionSelectionBehavior, WorkbenchCollectionSelectionConfig, WorkbenchCollectionSelectionMode, WorkbenchCollectionSlotContext, WorkbenchCollectionSlots, WorkbenchCollectionStateConfig, WorkbenchCollectionTitlePlacement, WorkbenchCollectionTitleVisibility, WorkbenchCollectionVirtualizationAdapter, WorkbenchCollectionVirtualizationConfig, WorkbenchCollectionVirtualizationRenderOptions, WorkbenchContentPane, WorkbenchContentPaneBodyProps, WorkbenchContentPaneClassNames, WorkbenchContentPaneProps, WorkbenchContentToolbar, WorkbenchContentToolbarClassNames, WorkbenchContentToolbarProps, WorkbenchContentToolbarViewModeOption, WorkbenchDetailSidebar, WorkbenchDetailSidebarBodyProps, WorkbenchDetailSidebarClassNames, WorkbenchDetailSidebarField, WorkbenchDetailSidebarProps, WorkbenchDetailSidebarRenderContext, WorkbenchDetailSidebarSection, WorkbenchEvidenceItem, WorkbenchEvidenceList, WorkbenchEvidenceListProps, WorkbenchGalleryCard, WorkbenchGalleryCardMetaContext, WorkbenchGalleryCardProps, WorkbenchGalleryCardRenderContext, WorkbenchGalleryColumn, WorkbenchGalleryLabels, WorkbenchGalleryRecordVisual, WorkbenchGallerySettingsButton, WorkbenchGallerySettingsButtonClassNames, WorkbenchGallerySettingsButtonProps, WorkbenchGallerySettingsLabels, WorkbenchGallerySettingsOption, WorkbenchGallerySettingsPanel, WorkbenchGallerySettingsPanelClassNames, WorkbenchGallerySettingsPanelProps, WorkbenchGallerySettingsValue, WorkbenchGalleryView, WorkbenchGalleryViewProps, WorkbenchJourneyItem, WorkbenchJourneyItemState, WorkbenchJourneyNavigation, WorkbenchJourneyNavigationProps, WorkbenchLaneClassNames, WorkbenchLaneColumn, WorkbenchLaneRenderCardContext, WorkbenchLaneView, WorkbenchLaneViewProps, WorkbenchMasonryItemSize, WorkbenchMasonryLayout, WorkbenchMasonryLayoutContext, WorkbenchMasonryLayoutProps, WorkbenchMetricGrid, WorkbenchMetricGridDensity, WorkbenchMetricGridProps, WorkbenchMetricGridVariant, WorkbenchMetricItem, WorkbenchRadarFilterChip, WorkbenchRadarInspectorSection, WorkbenchRadarLegendItem, WorkbenchRadarMatrix, WorkbenchRadarMatrixProps, WorkbenchRadarNavigation, WorkbenchRadarNavigationChild, WorkbenchRadarNavigationItem, WorkbenchRadarNavigationProps, WorkbenchRadarQuadrant, WorkbenchRadarWorkspace, WorkbenchRadarWorkspaceProps, WorkbenchRankedList, WorkbenchRankedListItem, WorkbenchRankedListMetric, WorkbenchRankedListProps, WorkbenchRelationshipEdge, WorkbenchRelationshipGraph, WorkbenchRelationshipGraphProps, WorkbenchRelationshipNode, WorkbenchResizableSidebar, WorkbenchResizableSidebarClassNames, WorkbenchResizableSidebarItem, WorkbenchResizableSidebarProps, WorkbenchResizableSidebarSection, WorkbenchScatterAxis, WorkbenchScatterPlot, WorkbenchScatterPlotProps, WorkbenchScatterPoint, WorkbenchScatterThresholds, WorkbenchSelectionTray, WorkbenchSelectionTrayItem, WorkbenchSelectionTrayProps, WorkbenchTableView, WorkbenchTableViewClassNames, WorkbenchTableViewColumn, WorkbenchTableViewHeaderContext, WorkbenchTableViewProps, WorkbenchTableViewRenderContext, WorkbenchVisualizationTone } from './components/workbench/index.js';
|
|
10
|
+
export { InteractiveTable, InteractiveTableClassNames, InteractiveTableColumn, InteractiveTableColumnMenuLabels, InteractiveTableEditableTextCell, InteractiveTableEditableTextCellProps, InteractiveTableHeaderContext, InteractiveTableHeaderProps, InteractiveTableProps, InteractiveTableReadonlyCell, InteractiveTableReadonlyCellProps, InteractiveTableRenderContext, InteractiveTableRowState, InteractiveTableSelectCell, InteractiveTableSelectCellProps, InteractiveTableSelectOption, WorkbenchAssetGallery, WorkbenchAssetGalleryItem, WorkbenchAssetGalleryProps, WorkbenchCollection, WorkbenchCollectionActivationEvent, WorkbenchCollectionAppearanceConfig, WorkbenchCollectionCallbacks, WorkbenchCollectionClassNames, WorkbenchCollectionConfig, WorkbenchCollectionGroupContext, WorkbenchCollectionGroupingConfig, WorkbenchCollectionHoverEffect, WorkbenchCollectionItemConfig, WorkbenchCollectionItemContext, WorkbenchCollectionItemSize, WorkbenchCollectionItemSlotName, WorkbenchCollectionItemSlots, WorkbenchCollectionItemStatus, WorkbenchCollectionItemTitleConfig, WorkbenchCollectionKey, WorkbenchCollectionLabels, WorkbenchCollectionLayoutConfig, WorkbenchCollectionLayoutContext, WorkbenchCollectionLayoutMode, WorkbenchCollectionLayoutSnapshot, WorkbenchCollectionLoadingConfig, WorkbenchCollectionLoadingVariant, WorkbenchCollectionProps, WorkbenchCollectionResponsive, WorkbenchCollectionSelectionBehavior, WorkbenchCollectionSelectionConfig, WorkbenchCollectionSelectionMode, WorkbenchCollectionSkeletonConfig, WorkbenchCollectionSlotContext, WorkbenchCollectionSlots, WorkbenchCollectionStateConfig, WorkbenchCollectionTitlePlacement, WorkbenchCollectionTitleVisibility, WorkbenchCollectionVirtualizationAdapter, WorkbenchCollectionVirtualizationConfig, WorkbenchCollectionVirtualizationRenderOptions, WorkbenchContentPane, WorkbenchContentPaneBodyProps, WorkbenchContentPaneClassNames, WorkbenchContentPaneProps, WorkbenchContentToolbar, WorkbenchContentToolbarClassNames, WorkbenchContentToolbarProps, WorkbenchContentToolbarViewModeOption, WorkbenchDetailSidebar, WorkbenchDetailSidebarBodyProps, WorkbenchDetailSidebarClassNames, WorkbenchDetailSidebarField, WorkbenchDetailSidebarProps, WorkbenchDetailSidebarRenderContext, WorkbenchDetailSidebarSection, WorkbenchEvidenceItem, WorkbenchEvidenceList, WorkbenchEvidenceListProps, WorkbenchGalleryCard, WorkbenchGalleryCardMetaContext, WorkbenchGalleryCardProps, WorkbenchGalleryCardRenderContext, WorkbenchGalleryColumn, WorkbenchGalleryLabels, WorkbenchGalleryRecordVisual, WorkbenchGallerySettingsButton, WorkbenchGallerySettingsButtonClassNames, WorkbenchGallerySettingsButtonProps, WorkbenchGallerySettingsLabels, WorkbenchGallerySettingsOption, WorkbenchGallerySettingsPanel, WorkbenchGallerySettingsPanelClassNames, WorkbenchGallerySettingsPanelProps, WorkbenchGallerySettingsValue, WorkbenchGalleryView, WorkbenchGalleryViewProps, WorkbenchJourneyItem, WorkbenchJourneyItemState, WorkbenchJourneyNavigation, WorkbenchJourneyNavigationProps, WorkbenchLaneClassNames, WorkbenchLaneColumn, WorkbenchLaneRenderCardContext, WorkbenchLaneView, WorkbenchLaneViewProps, WorkbenchMasonryItemSize, WorkbenchMasonryLayout, WorkbenchMasonryLayoutContext, WorkbenchMasonryLayoutProps, WorkbenchMetricGrid, WorkbenchMetricGridDensity, WorkbenchMetricGridProps, WorkbenchMetricGridVariant, WorkbenchMetricItem, WorkbenchRadarFilterChip, WorkbenchRadarInspectorSection, WorkbenchRadarLegendItem, WorkbenchRadarMatrix, WorkbenchRadarMatrixProps, WorkbenchRadarNavigation, WorkbenchRadarNavigationChild, WorkbenchRadarNavigationItem, WorkbenchRadarNavigationProps, WorkbenchRadarQuadrant, WorkbenchRadarWorkspace, WorkbenchRadarWorkspaceProps, WorkbenchRankedList, WorkbenchRankedListItem, WorkbenchRankedListMetric, WorkbenchRankedListProps, WorkbenchRelationshipEdge, WorkbenchRelationshipGraph, WorkbenchRelationshipGraphProps, WorkbenchRelationshipNode, WorkbenchResizableSidebar, WorkbenchResizableSidebarClassNames, WorkbenchResizableSidebarItem, WorkbenchResizableSidebarProps, WorkbenchResizableSidebarSection, WorkbenchScatterAxis, WorkbenchScatterPlot, WorkbenchScatterPlotProps, WorkbenchScatterPoint, WorkbenchScatterThresholds, WorkbenchSelectionTray, WorkbenchSelectionTrayItem, WorkbenchSelectionTrayProps, WorkbenchTableView, WorkbenchTableViewClassNames, WorkbenchTableViewColumn, WorkbenchTableViewHeaderContext, WorkbenchTableViewProps, WorkbenchTableViewRenderContext, WorkbenchVisualizationTone } from './components/workbench/index.js';
|
|
11
11
|
export { MonkeysToastApi, MonkeysToastProvider, MonkeysToastProviderProps, MonkeysToaster, MonkeysToasterProps, ToastInput, MonkeysToastProvider as ToastProvider, ToastVariant, MonkeysToaster as Toaster, extractToastMessage, resolveToastVariantForMessage, toast, useToastFeed, useToastOnValue } from './components/toast/index.js';
|
|
12
12
|
export { B as BaseAccordion, a as BaseAspectRatio, b as BaseAvatar, c as BaseBadge, d as BaseBreadcrumb, e as BaseButton, f as BaseCheckbox, g as BaseCode, h as BaseContainer, i as BaseContextMenu, j as BaseContextMenuCheckboxItem, k as BaseContextMenuContent, l as BaseContextMenuItem, m as BaseContextMenuLabel, n as BaseContextMenuRadioGroup, o as BaseContextMenuRadioItem, p as BaseContextMenuSeparator, q as BaseContextMenuSub, r as BaseContextMenuSubContent, s as BaseContextMenuSubTrigger, t as BaseContextMenuTrigger, u as BaseDescriptionList, v as BaseDialog, w as BaseDivider, x as BaseDropdownMenu, y as BaseEmptyState, z as BaseField, A as BaseFieldset, C as BaseGrid, D as BaseHeading, E as BaseInline, F as BaseInput, G as BaseInputGroup, H as BaseKbd, I as BaseLayout, J as BaseLayoutPane, K as BaseLayoutResizeHandle, L as BaseLayoutSplit, M as BaseLink, N as BaseList, O as BaseListFooter, P as BaseListItem, Q as BaseLoadingState, R as BaseMultiSelect, S as BaseNotice, T as BaseNumberInput, U as BasePagination, V as BasePanel, W as BasePasswordInput, X as BasePortal, Y as BaseProgress, Z as BaseRadioGroup, _ as BaseScrollArea, $ as BaseSectionHeader, a0 as BaseSegmentedControl, a1 as BaseSelect, a2 as BaseSkeleton, a3 as BaseSpinner, a4 as BaseStack, a5 as BaseSteps, a6 as BaseSwitch, a7 as BaseSystemState, a8 as BaseTable, a9 as BaseTableBody, aa as BaseTableCaption, ab as BaseTableCell, ac as BaseTableContainer, ad as BaseTableEmpty, ae as BaseTableFooter, af as BaseTableFooterBar, ag as BaseTableHead, ah as BaseTableHeader, ai as BaseTableLoading, aj as BaseTableRow, ak as BaseTabs, al as BaseText, am as BaseTextarea, an as BaseToolbar, ao as BaseTooltip, ap as BaseVisuallyHidden, aq as getBaseBadgeToneClassName, ar as getBaseButtonToneClassName, as as getBaseMenuItemToneClassName, at as getBaseNoticeToneClassName, au as resolveBaseAppearance } from './theme-2d676ff768b3.js';
|
|
13
13
|
export { B as BaseAccordionClassNames, a as BaseAccordionItem, b as BaseAccordionProps, c as BaseAppearance, d as BaseAspectRatioClassNames, e as BaseAspectRatioProps, f as BaseAvatarClassNames, g as BaseAvatarProps, h as BaseBackground, i as BaseBadgeClassNames, j as BaseBadgeProps, k as BaseBorder, l as BaseBreadcrumbClassNames, m as BaseBreadcrumbItem, n as BaseBreadcrumbProps, o as BaseButtonClassNames, p as BaseButtonProps, q as BaseCheckboxClassNames, r as BaseCheckboxProps, s as BaseCodeClassNames, t as BaseCodeDisplay, u as BaseCodeProps, v as BaseComponentState, w as BaseContainerClassNames, x as BaseContainerProps, y as BaseContextMenuCheckboxItemProps, z as BaseContextMenuClassNames, A as BaseContextMenuContentClassNames, C as BaseContextMenuContentProps, D as BaseContextMenuItemClassNames, E as BaseContextMenuItemProps, F as BaseContextMenuLabelProps, G as BaseContextMenuProps, H as BaseContextMenuRadioGroupProps, I as BaseContextMenuRadioItemProps, J as BaseContextMenuSeparatorProps, K as BaseContextMenuSubContentProps, L as BaseContextMenuSubProps, M as BaseContextMenuSubTriggerProps, N as BaseContextMenuTriggerProps, O as BaseControlClassNames, P as BaseControlSize, Q as BaseControlTone, R as BaseDensity, S as BaseDescriptionListClassNames, T as BaseDescriptionListItem, U as BaseDescriptionListProps, V as BaseDialogClassNames, W as BaseDialogProps, X as BaseDividerClassNames, Y as BaseDividerProps, Z as BaseDropdownMenuClassNames, _ as BaseDropdownMenuItem, $ as BaseDropdownMenuPlacement, a0 as BaseDropdownMenuProps, a1 as BaseEmptyStateProps, a2 as BaseFieldClassNames, a3 as BaseFieldControlProps, a4 as BaseFieldProps, a5 as BaseFieldValidate, a6 as BaseFieldValidationMode, a7 as BaseFieldValidationResult, a8 as BaseFieldsetClassNames, a9 as BaseFieldsetProps, aa as BaseGridClassNames, ab as BaseGridColumns, ac as BaseGridProps, ad as BaseHeadingClassNames, ae as BaseHeadingLevel, af as BaseHeadingProps, ag as BaseHeadingSize, ah as BaseInlineClassNames, ai as BaseInlineProps, aj as BaseInputGroupClassNames, ak as BaseInputGroupProps, al as BaseInputProps, am as BaseKbdClassNames, an as BaseKbdProps, ao as BaseLayoutAlign, ap as BaseLayoutClassNames, aq as BaseLayoutGap, ar as BaseLayoutJustify, as as BaseLayoutLength, at as BaseLayoutOrientation, au as BaseLayoutPaneClassNames, av as BaseLayoutPaneProps, aw as BaseLayoutPaneSurface, ax as BaseLayoutProps, ay as BaseLayoutResizeHandleClassNames, az as BaseLayoutResizeHandleProps, aA as BaseLayoutSize, aB as BaseLayoutSplitClassNames, aC as BaseLayoutSplitProps, aD as BaseLinkClassNames, aE as BaseLinkProps, aF as BaseListClassNames, aG as BaseListFooterClassNames, aH as BaseListFooterProps, aI as BaseListItemClassNames, aJ as BaseListItemProps, aK as BaseListMarker, aL as BaseListProps, aM as BaseListSpacing, aN as BaseLoadingStateProps, aO as BaseMultiSelectClassNames, aP as BaseMultiSelectOption, aQ as BaseMultiSelectProps, aR as BaseNoticeClassNames, aS as BaseNoticeProps, aT as BaseNumberInputChangeReason, aU as BaseNumberInputClassNames, aV as BaseNumberInputProps, aW as BaseNumberInputValueChangeDetails, aX as BasePaginationClassNames, aY as BasePaginationProps, aZ as BasePanelClassNames, a_ as BasePanelProps, a$ as BasePasswordInputClassNames, b0 as BasePasswordInputProps, b1 as BasePortalContainer, b2 as BasePortalProps, b3 as BaseProgressClassNames, b4 as BaseProgressProps, b5 as BaseRadioGroupClassNames, b6 as BaseRadioGroupProps, b7 as BaseRadioOption, b8 as BaseRadius, b9 as BaseResolvedTheme, ba as BaseScrollAreaAxis, bb as BaseScrollAreaClassNames, bc as BaseScrollAreaProps, bd as BaseSectionHeaderClassNames, be as BaseSectionHeaderProps, bf as BaseSegmentedControlClassNames, bg as BaseSegmentedControlOption, bh as BaseSegmentedControlProps, bi as BaseSelectOption, bj as BaseSelectProps, bk as BaseSkeletonClassNames, bl as BaseSkeletonProps, bm as BaseSpinnerClassNames, bn as BaseSpinnerProps, bo as BaseStackClassNames, bp as BaseStackProps, bq as BaseStateClassNames, br as BaseStepItem, bs as BaseStepStatus, bt as BaseStepsClassNames, bu as BaseStepsProps, bv as BaseStepsStatusLabels, bw as BaseSwitchClassNames, bx as BaseSwitchProps, by as BaseSystemStateKind, bz as BaseSystemStateProps, bA as BaseTableAlign, bB as BaseTableBodyProps, bC as BaseTableCaptionClassNames, bD as BaseTableCaptionProps, bE as BaseTableCellClassNames, bF as BaseTableCellProps, bG as BaseTableClassNames, bH as BaseTableColumnDefinition, bI as BaseTableColumnInteractionOptions, bJ as BaseTableColumnOrderChangeDetail, bK as BaseTableColumnSizeChangeDetail, bL as BaseTableColumnSizes, bM as BaseTableContainerClassNames, bN as BaseTableContainerProps, bO as BaseTableEmptyClassNames, bP as BaseTableEmptyProps, bQ as BaseTableFooterBarClassNames, bR as BaseTableFooterBarProps, bS as BaseTableFooterProps, bT as BaseTableHeadClassNames, bU as BaseTableHeadProps, bV as BaseTableHeaderProps, bW as BaseTableLayout, bX as BaseTableLoadingClassNames, bY as BaseTableLoadingProps, bZ as BaseTableProps, b_ as BaseTableRowClassNames, b$ as BaseTableRowProps, c0 as BaseTableSectionClassNames, c1 as BaseTableSortDirection, c2 as BaseTableVerticalAlign, c3 as BaseTabsClassNames, c4 as BaseTabsItem, c5 as BaseTabsProps, c6 as BaseTextClassNames, c7 as BaseTextProps, c8 as BaseTextareaProps, c9 as BaseThemePresetId, ca as BaseThemeSlots, cb as BaseThemeStyles, cc as BaseToolbarClassNames, cd as BaseToolbarProps, ce as BaseTooltipClassNames, cf as BaseTooltipPlacement, cg as BaseTooltipProps, ch as BaseTypographySize, ci as BaseTypographyTone, cj as BaseVariant, ck as BaseVisuallyHiddenClassNames, cl as BaseVisuallyHiddenProps } from './types-c6ec8b90925b.js';
|
package/dist/index.js
CHANGED
|
@@ -22652,13 +22652,146 @@ function WorkbenchMasonryLayout({
|
|
|
22652
22652
|
}
|
|
22653
22653
|
);
|
|
22654
22654
|
}
|
|
22655
|
+
var DEFAULT_PROVISIONAL_CAPACITY = 12;
|
|
22656
|
+
var DEFAULT_GRID_ASPECT_RATIOS = [1];
|
|
22657
|
+
var DEFAULT_RAIL_ASPECT_RATIOS = [4 / 3];
|
|
22658
|
+
var DEFAULT_MASONRY_ASPECT_RATIOS = [1, 4 / 5, 3 / 2, 3 / 4, 5 / 4];
|
|
22659
|
+
var MIN_SKELETON_ASPECT_RATIO = 0.5;
|
|
22660
|
+
var MAX_SKELETON_ASPECT_RATIO = 2;
|
|
22661
|
+
var SKELETON_BACKGROUND_COLOR = "hsl(var(--monkeys-color-muted, var(--muted)))";
|
|
22662
|
+
function clamp4(value, min5, max5) {
|
|
22663
|
+
return Math.min(Math.max(value, min5), max5);
|
|
22664
|
+
}
|
|
22665
|
+
function normalizeCount(value, fallback, max5) {
|
|
22666
|
+
if (typeof value !== "number" || !Number.isFinite(value) || value <= 0) return fallback;
|
|
22667
|
+
return clamp4(Math.round(value), 1, max5);
|
|
22668
|
+
}
|
|
22669
|
+
function getDefaultAspectRatios(mode) {
|
|
22670
|
+
if (mode === "masonry" || mode === "dense") return DEFAULT_MASONRY_ASPECT_RATIOS;
|
|
22671
|
+
if (mode === "rail") return DEFAULT_RAIL_ASPECT_RATIOS;
|
|
22672
|
+
return DEFAULT_GRID_ASPECT_RATIOS;
|
|
22673
|
+
}
|
|
22674
|
+
function resolveAspectRatios(mode, values) {
|
|
22675
|
+
const normalized = values?.filter((value) => typeof value === "number" && Number.isFinite(value) && value > 0).map((value) => clamp4(value, MIN_SKELETON_ASPECT_RATIO, MAX_SKELETON_ASPECT_RATIO));
|
|
22676
|
+
return normalized?.length ? normalized : getDefaultAspectRatios(mode);
|
|
22677
|
+
}
|
|
22678
|
+
function resolveWorkbenchCollectionSkeletonCapacity(config) {
|
|
22679
|
+
return normalizeCount(config?.count, DEFAULT_PROVISIONAL_CAPACITY, 48);
|
|
22680
|
+
}
|
|
22681
|
+
function resolveWorkbenchCollectionLoadingVariant(value) {
|
|
22682
|
+
if (value === void 0) return "skeleton";
|
|
22683
|
+
if (value === "skeleton" || value === "spinner") return value;
|
|
22684
|
+
throw new TypeError('WorkbenchCollection loading.variant must be "skeleton" or "spinner".');
|
|
22685
|
+
}
|
|
22686
|
+
function resolveSkeletonCount({
|
|
22687
|
+
columnCount,
|
|
22688
|
+
config,
|
|
22689
|
+
phase
|
|
22690
|
+
}) {
|
|
22691
|
+
if (phase === "initial") {
|
|
22692
|
+
const fallback2 = clamp4(columnCount * 2, 6, 24);
|
|
22693
|
+
return normalizeCount(config?.count, fallback2, 48);
|
|
22694
|
+
}
|
|
22695
|
+
const fallback = clamp4(columnCount, 1, 12);
|
|
22696
|
+
return normalizeCount(config?.loadMoreCount, fallback, 24);
|
|
22697
|
+
}
|
|
22698
|
+
function getSkeletonHeight(columnWidth, aspectRatio) {
|
|
22699
|
+
return Math.max(1, columnWidth / aspectRatio);
|
|
22700
|
+
}
|
|
22701
|
+
function WorkbenchCollectionSkeleton({
|
|
22702
|
+
mode,
|
|
22703
|
+
phase,
|
|
22704
|
+
columnCount,
|
|
22705
|
+
columnWidth,
|
|
22706
|
+
cardWidth,
|
|
22707
|
+
gap,
|
|
22708
|
+
rowHeight,
|
|
22709
|
+
config,
|
|
22710
|
+
ariaLabel,
|
|
22711
|
+
className
|
|
22712
|
+
}) {
|
|
22713
|
+
const count = resolveSkeletonCount({ columnCount, config, phase });
|
|
22714
|
+
const aspectRatios = resolveAspectRatios(mode, config?.aspectRatios);
|
|
22715
|
+
const animated = config?.animated ?? true;
|
|
22716
|
+
const items = React2.useMemo(
|
|
22717
|
+
() => Array.from({ length: count }, (_, index) => ({
|
|
22718
|
+
aspectRatio: aspectRatios[index % aspectRatios.length],
|
|
22719
|
+
key: `${phase}-${index}`
|
|
22720
|
+
})),
|
|
22721
|
+
[aspectRatios, count, phase]
|
|
22722
|
+
);
|
|
22723
|
+
const renderSkeleton = (item, style) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22724
|
+
BaseSkeleton,
|
|
22725
|
+
{
|
|
22726
|
+
variant: "block",
|
|
22727
|
+
animated,
|
|
22728
|
+
className: "h-auto w-full",
|
|
22729
|
+
style: {
|
|
22730
|
+
backgroundColor: SKELETON_BACKGROUND_COLOR,
|
|
22731
|
+
...style ?? { aspectRatio: String(item.aspectRatio) }
|
|
22732
|
+
},
|
|
22733
|
+
"data-collection-skeleton-item": "",
|
|
22734
|
+
"data-skeleton-aspect-ratio": item.aspectRatio
|
|
22735
|
+
}
|
|
22736
|
+
);
|
|
22737
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22738
|
+
"div",
|
|
22739
|
+
{
|
|
22740
|
+
role: "status",
|
|
22741
|
+
"aria-label": ariaLabel,
|
|
22742
|
+
"aria-atomic": "true",
|
|
22743
|
+
"data-collection-loading": phase,
|
|
22744
|
+
"data-layout-mode": mode,
|
|
22745
|
+
className: "min-w-0",
|
|
22746
|
+
children: mode === "masonry" || mode === "dense" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
22747
|
+
WorkbenchMasonryLayout,
|
|
22748
|
+
{
|
|
22749
|
+
items,
|
|
22750
|
+
columnCount,
|
|
22751
|
+
columnWidth,
|
|
22752
|
+
gap,
|
|
22753
|
+
rowHeight,
|
|
22754
|
+
placementStrategy: mode === "dense" ? "dense" : "shortest",
|
|
22755
|
+
className,
|
|
22756
|
+
containerProps: { "aria-hidden": true },
|
|
22757
|
+
getItemKey: (item) => item.key,
|
|
22758
|
+
getItemSize: (item, layout) => ({
|
|
22759
|
+
height: getSkeletonHeight(layout.columnWidth, item.aspectRatio)
|
|
22760
|
+
}),
|
|
22761
|
+
renderItem: (item, layout) => renderSkeleton(item, {
|
|
22762
|
+
height: `${getSkeletonHeight(layout.columnWidth, item.aspectRatio)}px`
|
|
22763
|
+
})
|
|
22764
|
+
}
|
|
22765
|
+
) : mode === "rail" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
22766
|
+
"div",
|
|
22767
|
+
{
|
|
22768
|
+
"aria-hidden": "true",
|
|
22769
|
+
className: cn("grid min-w-0 grid-flow-col items-start overflow-x-auto", className),
|
|
22770
|
+
style: {
|
|
22771
|
+
gap,
|
|
22772
|
+
gridAutoColumns: typeof cardWidth === "number" ? `${cardWidth}px` : cardWidth ?? `${columnWidth}px`
|
|
22773
|
+
},
|
|
22774
|
+
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx("div", { children: renderSkeleton(item) }, item.key))
|
|
22775
|
+
}
|
|
22776
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
22777
|
+
"div",
|
|
22778
|
+
{
|
|
22779
|
+
"aria-hidden": "true",
|
|
22780
|
+
className: cn("grid min-w-0 items-start", className),
|
|
22781
|
+
style: { gap, gridTemplateColumns: `repeat(${columnCount}, minmax(0, 1fr))` },
|
|
22782
|
+
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx("div", { children: renderSkeleton(item) }, item.key))
|
|
22783
|
+
}
|
|
22784
|
+
)
|
|
22785
|
+
}
|
|
22786
|
+
);
|
|
22787
|
+
}
|
|
22655
22788
|
var DEFAULT_GAP_PX = 12;
|
|
22656
22789
|
var DEFAULT_ROW_HEIGHT_PX = 8;
|
|
22657
22790
|
var DEFAULT_CARD_WIDTH_PX = 280;
|
|
22658
22791
|
var BREAKPOINT_TABLET_PX = 640;
|
|
22659
22792
|
var BREAKPOINT_DESKTOP_PX = 1024;
|
|
22660
22793
|
var MAX_COLUMN_COUNT = 24;
|
|
22661
|
-
function
|
|
22794
|
+
function clamp5(value, min5, max5) {
|
|
22662
22795
|
return Math.min(Math.max(value, min5), max5);
|
|
22663
22796
|
}
|
|
22664
22797
|
function resolveRenderableSlot(slot, context) {
|
|
@@ -22682,7 +22815,7 @@ function resolveLengthToPixels2(value, fallback, node) {
|
|
|
22682
22815
|
}
|
|
22683
22816
|
function normalizeColumns(value) {
|
|
22684
22817
|
if (typeof value !== "number" || !Number.isFinite(value) || value <= 0) return void 0;
|
|
22685
|
-
return
|
|
22818
|
+
return clamp5(Math.round(value), 1, MAX_COLUMN_COUNT);
|
|
22686
22819
|
}
|
|
22687
22820
|
function resolveResponsiveColumns(columns, containerWidth) {
|
|
22688
22821
|
if (columns === "auto" || columns === void 0) return void 0;
|
|
@@ -22743,7 +22876,7 @@ function normalizeRowHeight(value) {
|
|
|
22743
22876
|
return typeof value === "number" && Number.isFinite(value) && value > 0 ? value : DEFAULT_ROW_HEIGHT_PX;
|
|
22744
22877
|
}
|
|
22745
22878
|
function normalizeThreshold(value) {
|
|
22746
|
-
return typeof value === "number" && Number.isFinite(value) ?
|
|
22879
|
+
return typeof value === "number" && Number.isFinite(value) ? clamp5(value, 0, 1) : 0;
|
|
22747
22880
|
}
|
|
22748
22881
|
function normalizeItemSize(size, aspectRatio, columnWidth) {
|
|
22749
22882
|
const normalizedAspectRatio = Number.isFinite(aspectRatio) && Number(aspectRatio) > 0 ? Number(aspectRatio) : void 0;
|
|
@@ -22803,7 +22936,7 @@ function warnOnDuplicateKeys(keys) {
|
|
|
22803
22936
|
}
|
|
22804
22937
|
function normalizeTitleMaxLines(value) {
|
|
22805
22938
|
if (!Number.isFinite(value) || Number(value) <= 0) return void 0;
|
|
22806
|
-
return
|
|
22939
|
+
return clamp5(Math.round(Number(value)), 1, 12);
|
|
22807
22940
|
}
|
|
22808
22941
|
function WorkbenchCollection({
|
|
22809
22942
|
items,
|
|
@@ -22853,6 +22986,12 @@ function WorkbenchCollection({
|
|
|
22853
22986
|
[normalizedItems]
|
|
22854
22987
|
);
|
|
22855
22988
|
const keysSignature = normalizedItems.map(({ stringKey }) => stringKey).join("");
|
|
22989
|
+
const state = config.state;
|
|
22990
|
+
const loading = state?.loading === true;
|
|
22991
|
+
const loadingMore = state?.loadingMore === true;
|
|
22992
|
+
const hasMore = state?.hasMore === true;
|
|
22993
|
+
const loadingVariant = resolveWorkbenchCollectionLoadingVariant(config.loading?.variant);
|
|
22994
|
+
const layoutItemCount = loading && normalizedItems.length === 0 && loadingVariant === "skeleton" ? resolveWorkbenchCollectionSkeletonCapacity(config.loading?.skeleton) : normalizedItems.length;
|
|
22856
22995
|
React2.useEffect(() => warnOnDuplicateKeys(keys), [keys, keysSignature]);
|
|
22857
22996
|
const selectionMode = config.selection?.mode ?? "none";
|
|
22858
22997
|
const controlledSelection = config.selection?.selectedKeys !== void 0;
|
|
@@ -22887,7 +23026,7 @@ function WorkbenchCollection({
|
|
|
22887
23026
|
}, [itemsNode]);
|
|
22888
23027
|
const columnCount = resolveColumnCount({
|
|
22889
23028
|
containerWidth,
|
|
22890
|
-
itemCount:
|
|
23029
|
+
itemCount: layoutItemCount,
|
|
22891
23030
|
gap,
|
|
22892
23031
|
columns: config.layout.columns,
|
|
22893
23032
|
maxColumns: config.layout.maxColumns,
|
|
@@ -22972,10 +23111,6 @@ function WorkbenchCollection({
|
|
|
22972
23111
|
owner.removeEventListener("scroll", saveScrollPosition);
|
|
22973
23112
|
};
|
|
22974
23113
|
}, [config.scrollRestorationKey, resolveScrollOwner]);
|
|
22975
|
-
const state = config.state;
|
|
22976
|
-
const loading = state?.loading === true;
|
|
22977
|
-
const loadingMore = state?.loadingMore === true;
|
|
22978
|
-
const hasMore = state?.hasMore === true;
|
|
22979
23114
|
const canLoadMore = typeof callbacks?.onLoadMore === "function";
|
|
22980
23115
|
const effectiveError = state?.error ?? virtualizationError;
|
|
22981
23116
|
React2.useEffect(() => {
|
|
@@ -23326,7 +23461,7 @@ function WorkbenchCollection({
|
|
|
23326
23461
|
},
|
|
23327
23462
|
children: group.items.map((entry) => {
|
|
23328
23463
|
const customSize = config.layout.getItemSize?.(entry.item, baseLayoutContext);
|
|
23329
|
-
const span =
|
|
23464
|
+
const span = clamp5(Math.round(Number(customSize?.columnSpan) || 1), 1, columnCount);
|
|
23330
23465
|
const aspectRatio = config.layout.getItemAspectRatio?.(entry.item, entry.index);
|
|
23331
23466
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23332
23467
|
"div",
|
|
@@ -23413,7 +23548,28 @@ function WorkbenchCollection({
|
|
|
23413
23548
|
title: labels.offline,
|
|
23414
23549
|
actions: statusStates.error?.showRetry !== false && callbacks?.onRetry ? /* @__PURE__ */ jsxRuntime.jsx(BaseButton, { size: "sm", label: labels.retry, onClick: callbacks.onRetry }) : void 0
|
|
23415
23550
|
}
|
|
23416
|
-
) : showInitialLoading ? hasRenderableNode(loadingSlot) ? loadingSlot : /* @__PURE__ */ jsxRuntime.jsx(BaseLoadingState, { title: labels.loading
|
|
23551
|
+
) : showInitialLoading ? hasRenderableNode(loadingSlot) ? loadingSlot : loadingVariant === "spinner" ? /* @__PURE__ */ jsxRuntime.jsx(BaseLoadingState, { title: labels.loading, variant: "spinner" }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
23552
|
+
"div",
|
|
23553
|
+
{
|
|
23554
|
+
ref: registerItemsNode,
|
|
23555
|
+
className: cn("min-w-0", classNames?.items),
|
|
23556
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23557
|
+
WorkbenchCollectionSkeleton,
|
|
23558
|
+
{
|
|
23559
|
+
mode,
|
|
23560
|
+
phase: "initial",
|
|
23561
|
+
columnCount,
|
|
23562
|
+
columnWidth,
|
|
23563
|
+
cardWidth: config.layout.cardWidth ?? config.layout.idealCardWidth,
|
|
23564
|
+
gap,
|
|
23565
|
+
rowHeight,
|
|
23566
|
+
config: config.loading?.skeleton,
|
|
23567
|
+
ariaLabel: labels.loading,
|
|
23568
|
+
className: classNames?.layout
|
|
23569
|
+
}
|
|
23570
|
+
)
|
|
23571
|
+
}
|
|
23572
|
+
) : showInitialError ? hasRenderableNode(errorSlot) ? errorSlot : /* @__PURE__ */ jsxRuntime.jsx(
|
|
23417
23573
|
BaseSystemState,
|
|
23418
23574
|
{
|
|
23419
23575
|
kind: "error",
|
|
@@ -23457,7 +23613,21 @@ function WorkbenchCollection({
|
|
|
23457
23613
|
actions: statusStates.error?.showRetry !== false && callbacks?.onRetry ? /* @__PURE__ */ jsxRuntime.jsx(BaseButton, { size: "sm", label: labels.retry, onClick: callbacks.onRetry }) : void 0
|
|
23458
23614
|
}
|
|
23459
23615
|
) }) : null,
|
|
23460
|
-
items.length > 0 && (hasMore || loadingMore) ? /* @__PURE__ */ jsxRuntime.jsx("div", { ref: loadMoreRef, className: classNames?.loadMore, "data-collection-load-more": "", children: hasRenderableNode(loadMoreSlot) ? loadMoreSlot : loadingMore ? /* @__PURE__ */ jsxRuntime.jsx(BaseLoadingState, { title: labels.loadingMore
|
|
23616
|
+
items.length > 0 && (hasMore || loadingMore) ? /* @__PURE__ */ jsxRuntime.jsx("div", { ref: loadMoreRef, className: classNames?.loadMore, "data-collection-load-more": "", children: hasRenderableNode(loadMoreSlot) ? loadMoreSlot : loadingMore ? loadingVariant === "spinner" ? /* @__PURE__ */ jsxRuntime.jsx(BaseLoadingState, { title: labels.loadingMore, variant: "spinner" }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
23617
|
+
WorkbenchCollectionSkeleton,
|
|
23618
|
+
{
|
|
23619
|
+
mode,
|
|
23620
|
+
phase: "load-more",
|
|
23621
|
+
columnCount,
|
|
23622
|
+
columnWidth,
|
|
23623
|
+
cardWidth: config.layout.cardWidth ?? config.layout.idealCardWidth,
|
|
23624
|
+
gap,
|
|
23625
|
+
rowHeight,
|
|
23626
|
+
config: config.loading?.skeleton,
|
|
23627
|
+
ariaLabel: labels.loadingMore,
|
|
23628
|
+
className: classNames?.layout
|
|
23629
|
+
}
|
|
23630
|
+
) : null }) : null,
|
|
23461
23631
|
hasRenderableNode(footer) ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames?.footer, children: footer }) : null
|
|
23462
23632
|
]
|
|
23463
23633
|
}
|
|
@@ -24328,7 +24498,7 @@ var getDomain = (values, min5, max5) => {
|
|
|
24328
24498
|
return lower < upper ? [lower, upper] : [upper, lower];
|
|
24329
24499
|
};
|
|
24330
24500
|
var scale = (value, domain, start, end) => start + (value - domain[0]) / (domain[1] - domain[0]) * (end - start);
|
|
24331
|
-
var
|
|
24501
|
+
var clamp6 = (value, min5, max5) => Math.min(max5, Math.max(min5, value));
|
|
24332
24502
|
var activatePoint = (event, point, onPointSelect) => {
|
|
24333
24503
|
if (!onPointSelect || event.key !== "Enter" && event.key !== " ") return;
|
|
24334
24504
|
event.preventDefault();
|
|
@@ -24410,9 +24580,9 @@ function WorkbenchScatterPlot({
|
|
|
24410
24580
|
xThreshold === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx(
|
|
24411
24581
|
"line",
|
|
24412
24582
|
{
|
|
24413
|
-
x1:
|
|
24583
|
+
x1: clamp6(xThreshold, plotLeft, plotRight),
|
|
24414
24584
|
y1: plotTop,
|
|
24415
|
-
x2:
|
|
24585
|
+
x2: clamp6(xThreshold, plotLeft, plotRight),
|
|
24416
24586
|
y2: plotBottom,
|
|
24417
24587
|
className: "stroke-muted-foreground/50",
|
|
24418
24588
|
strokeDasharray: "5 5"
|
|
@@ -24422,9 +24592,9 @@ function WorkbenchScatterPlot({
|
|
|
24422
24592
|
"line",
|
|
24423
24593
|
{
|
|
24424
24594
|
x1: plotLeft,
|
|
24425
|
-
y1:
|
|
24595
|
+
y1: clamp6(yThreshold, plotTop, plotBottom),
|
|
24426
24596
|
x2: plotRight,
|
|
24427
|
-
y2:
|
|
24597
|
+
y2: clamp6(yThreshold, plotTop, plotBottom),
|
|
24428
24598
|
className: "stroke-muted-foreground/50",
|
|
24429
24599
|
strokeDasharray: "5 5"
|
|
24430
24600
|
}
|
|
@@ -24451,17 +24621,17 @@ function WorkbenchScatterPlot({
|
|
|
24451
24621
|
}
|
|
24452
24622
|
),
|
|
24453
24623
|
validPoints.map((point) => {
|
|
24454
|
-
const x =
|
|
24624
|
+
const x = clamp6(
|
|
24455
24625
|
scale(point.x, xDomain, plotLeft, plotRight),
|
|
24456
24626
|
plotLeft,
|
|
24457
24627
|
plotRight
|
|
24458
24628
|
);
|
|
24459
|
-
const y =
|
|
24629
|
+
const y = clamp6(
|
|
24460
24630
|
scale(point.y, yDomain, plotBottom, plotTop),
|
|
24461
24631
|
plotTop,
|
|
24462
24632
|
plotBottom
|
|
24463
24633
|
);
|
|
24464
|
-
const radius = point.size === void 0 ? 9 :
|
|
24634
|
+
const radius = point.size === void 0 ? 9 : clamp6(scale(point.size, sizeDomain, 7, 18), 7, 18);
|
|
24465
24635
|
const selected = selectedPointId === point.id;
|
|
24466
24636
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
24467
24637
|
"g",
|
|
@@ -25001,7 +25171,7 @@ var getDomain2 = (values, min5, max5) => {
|
|
|
25001
25171
|
return lower < upper ? [lower, upper] : [upper, lower];
|
|
25002
25172
|
};
|
|
25003
25173
|
var scale2 = (value, domain, start, end) => start + (value - domain[0]) / (domain[1] - domain[0]) * (end - start);
|
|
25004
|
-
var
|
|
25174
|
+
var clamp7 = (value, min5, max5) => Math.min(max5, Math.max(min5, value));
|
|
25005
25175
|
var toneVariable = {
|
|
25006
25176
|
primary: "--radar-series-one",
|
|
25007
25177
|
secondary: "--radar-series-two",
|
|
@@ -25064,7 +25234,7 @@ function WorkbenchRadarMatrix({
|
|
|
25064
25234
|
const plotRight = width;
|
|
25065
25235
|
const plotTop = 0;
|
|
25066
25236
|
const plotBottom = height;
|
|
25067
|
-
const xThreshold =
|
|
25237
|
+
const xThreshold = clamp7(
|
|
25068
25238
|
scale2(
|
|
25069
25239
|
Number.isFinite(thresholds?.x) ? Number(thresholds?.x) : (xDomain[0] + xDomain[1]) / 2,
|
|
25070
25240
|
xDomain,
|
|
@@ -25074,7 +25244,7 @@ function WorkbenchRadarMatrix({
|
|
|
25074
25244
|
plotLeft,
|
|
25075
25245
|
plotRight
|
|
25076
25246
|
);
|
|
25077
|
-
const yThreshold =
|
|
25247
|
+
const yThreshold = clamp7(
|
|
25078
25248
|
scale2(
|
|
25079
25249
|
Number.isFinite(thresholds?.y) ? Number(thresholds?.y) : (yDomain[0] + yDomain[1]) / 2,
|
|
25080
25250
|
yDomain,
|
|
@@ -25182,13 +25352,13 @@ function WorkbenchRadarMatrix({
|
|
|
25182
25352
|
] }, quadrant.id);
|
|
25183
25353
|
}),
|
|
25184
25354
|
validPoints.map((point, index) => {
|
|
25185
|
-
const x =
|
|
25186
|
-
const y =
|
|
25355
|
+
const x = clamp7(scale2(point.x, xDomain, 40, width - 40), 40, width - 40);
|
|
25356
|
+
const y = clamp7(scale2(point.y, yDomain, height - 48, 54), 54, height - 48);
|
|
25187
25357
|
const tone = point.tone || (index % 2 === 0 ? "primary" : "accent");
|
|
25188
25358
|
const selected = selectedPointId === point.id;
|
|
25189
25359
|
const labelled = labelledPointIds.has(point.id);
|
|
25190
|
-
const radius = labelled ?
|
|
25191
|
-
const fontSize = labelled ?
|
|
25360
|
+
const radius = labelled ? clamp7(scale2(point.size ?? 1, sizeDomain, 5, 9), 5, 9) : 3.5;
|
|
25361
|
+
const fontSize = labelled ? clamp7(scale2(point.size ?? 1, sizeDomain, 14, 31), 14, 31) : 0;
|
|
25192
25362
|
const pointStyle = {
|
|
25193
25363
|
fill: toneColor(tone),
|
|
25194
25364
|
stroke: "hsl(var(--foreground) / 0.74)"
|
|
@@ -25290,8 +25460,8 @@ function WorkbenchRadarMatrix({
|
|
|
25290
25460
|
validPoints.map((point, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
25291
25461
|
"circle",
|
|
25292
25462
|
{
|
|
25293
|
-
cx:
|
|
25294
|
-
cy:
|
|
25463
|
+
cx: clamp7(scale2(point.x, xDomain, 40, width - 40), 40, width - 40),
|
|
25464
|
+
cy: clamp7(scale2(point.y, yDomain, height - 48, 54), 54, height - 48),
|
|
25295
25465
|
r: "8",
|
|
25296
25466
|
style: { fill: toneColor(point.tone || (index % 2 === 0 ? "primary" : "accent")) }
|
|
25297
25467
|
},
|
|
@@ -28647,7 +28817,7 @@ var DEFAULT_ZOOM_STEP = 1.18;
|
|
|
28647
28817
|
var DEFAULT_STAGE_PADDING = 16;
|
|
28648
28818
|
var MAX_SAFE_SCALE = 1e6;
|
|
28649
28819
|
var MIN_SAFE_SCALE = 1e-6;
|
|
28650
|
-
var
|
|
28820
|
+
var clamp8 = (value, min5, max5) => Math.min(max5, Math.max(min5, value));
|
|
28651
28821
|
var isNoDragTarget = (target) => target instanceof Element && Boolean(target.closest('[data-no-drag="true"]'));
|
|
28652
28822
|
function ResetIcon() {
|
|
28653
28823
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -28771,7 +28941,7 @@ function DataExplorerImagePreview({
|
|
|
28771
28941
|
availableWidth / size.width,
|
|
28772
28942
|
availableHeight / size.height
|
|
28773
28943
|
);
|
|
28774
|
-
const nextScale =
|
|
28944
|
+
const nextScale = clamp8(
|
|
28775
28945
|
fitScale,
|
|
28776
28946
|
normalizedMinScale,
|
|
28777
28947
|
normalizedMaxScale
|
|
@@ -28825,7 +28995,7 @@ function DataExplorerImagePreview({
|
|
|
28825
28995
|
if (!Number.isFinite(factor) || factor === 1) return;
|
|
28826
28996
|
if (!Number.isFinite(stageX) || !Number.isFinite(stageY)) return;
|
|
28827
28997
|
setView((current) => {
|
|
28828
|
-
const nextScale =
|
|
28998
|
+
const nextScale = clamp8(
|
|
28829
28999
|
current.scale * factor,
|
|
28830
29000
|
normalizedMinScale,
|
|
28831
29001
|
normalizedMaxScale
|