@inf-monkeys-tech/monkeys-design 1.0.54 → 1.0.56
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/agent-workbench/index.d.mts +2 -2
- package/dist/components/agent-workbench/index.d.ts +2 -2
- package/dist/components/agent-workbench/index.js +43 -8
- package/dist/components/agent-workbench/index.js.map +1 -1
- package/dist/components/agent-workbench/index.mjs +43 -9
- package/dist/components/agent-workbench/index.mjs.map +1 -1
- package/dist/{details-model-2eb132663bb1.d.mts → details-model-765193fe43be.d.mts} +15 -2
- package/dist/{details-model-2eb132663bb1.d.ts → details-model-765193fe43be.d.ts} +15 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +42 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +42 -8
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { AgentWorkbenchNavigationViewModel, AgentWorkbenchSessionItem, AgentSessionViewModel, AgentSessionEvent, AgentSessionCapabilities } from '@inf-monkeys-tech/monkeys';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
3
|
+
import { ReactNode, ReactEventHandler } from 'react';
|
|
4
4
|
type AgentWorkbenchSidebarIntent = {
|
|
5
5
|
type: 'change-search';
|
|
6
6
|
query: string;
|
|
@@ -62,11 +62,23 @@ interface AgentWorkbenchExploreItem {
|
|
|
62
62
|
id: string;
|
|
63
63
|
title: string;
|
|
64
64
|
imageUrl?: string;
|
|
65
|
+
subtitle?: string;
|
|
66
|
+
mediaVariant?: AgentWorkbenchExploreMediaVariant;
|
|
67
|
+
mediaTreatment?: AgentWorkbenchExploreMediaTreatment;
|
|
68
|
+
}
|
|
69
|
+
type AgentWorkbenchExploreMediaVariant = "cover-with-label" | "cover" | "logo";
|
|
70
|
+
type AgentWorkbenchExploreMediaTreatment = "invert" | "monochrome-light" | "preserve";
|
|
71
|
+
interface AgentWorkbenchExploreCardMediaProps {
|
|
72
|
+
item: AgentWorkbenchExploreItem;
|
|
73
|
+
src?: string;
|
|
74
|
+
className?: string;
|
|
75
|
+
onError?: ReactEventHandler<HTMLImageElement>;
|
|
65
76
|
}
|
|
66
77
|
interface AgentWorkbenchExploreGroup {
|
|
67
78
|
id: string;
|
|
68
79
|
label: string;
|
|
69
80
|
items: AgentWorkbenchExploreItem[];
|
|
81
|
+
itemAspectRatio?: number;
|
|
70
82
|
}
|
|
71
83
|
interface AgentWorkbenchExploreSidebarLabels {
|
|
72
84
|
navigation: string;
|
|
@@ -105,6 +117,7 @@ interface AgentWorkbenchExploreSidebarProps {
|
|
|
105
117
|
renderItemMedia?: (item: AgentWorkbenchExploreItem, group: AgentWorkbenchExploreGroup) => ReactNode;
|
|
106
118
|
onIntent?: (intent: AgentWorkbenchExploreSidebarIntent) => void;
|
|
107
119
|
}
|
|
120
|
+
declare function AgentWorkbenchExploreCardMedia({ item, src, className, onError, }: AgentWorkbenchExploreCardMediaProps): null | react_jsx_runtime.JSX.Element;
|
|
108
121
|
declare function AgentWorkbenchExploreSidebar({ sessions, groups, labels, selectedSessionId, searchQuery, loading, showDraftSession, defaultGroupId, className, renderItemMedia, onIntent, }: AgentWorkbenchExploreSidebarProps): react_jsx_runtime.JSX.Element;
|
|
109
122
|
interface AgentWorkbenchApprovalIntent {
|
|
110
123
|
approvalId: string;
|
|
@@ -246,4 +259,4 @@ interface AgentWorkbenchDetailsModel {
|
|
|
246
259
|
};
|
|
247
260
|
}
|
|
248
261
|
declare function createAgentWorkbenchDetailsModel(viewModel: AgentSessionViewModel): AgentWorkbenchDetailsModel;
|
|
249
|
-
export { AgentWorkbenchActivity as A, type AgentWorkbenchToolProps as B, createAgentWorkbenchActivityModel as C, createAgentWorkbenchDetailsModel as D, type AgentWorkbenchActivityClassNames as a, type AgentWorkbenchActivityModel as b, type AgentWorkbenchActivityProps as c, type AgentWorkbenchApprovalIntent as d, type AgentWorkbenchArtifactIntent as e, type AgentWorkbenchDetailsIntent as f, type AgentWorkbenchDetailsModel as g, type AgentWorkbenchDetailsState as h, type AgentWorkbenchDetailsTab as i, type AgentWorkbenchEventOf as j, type AgentWorkbenchExploreGroup as k, type AgentWorkbenchExploreItem as l, AgentWorkbenchExploreSidebar as m, type AgentWorkbenchExploreSidebarIntent as n, type AgentWorkbenchExploreSidebarLabels as o, type AgentWorkbenchExploreSidebarProps as p, AgentWorkbenchSidebar as q, type AgentWorkbenchSidebarClassNames as r, type AgentWorkbenchSidebarIntent as s, type AgentWorkbenchSidebarProps as t, AgentWorkbenchTaskDetails as u, type AgentWorkbenchTaskDetailsClassNames as v, type AgentWorkbenchTaskDetailsProps as w, type AgentWorkbenchTerminalModel as x, AgentWorkbenchTool as y, type AgentWorkbenchToolClassNames as z };
|
|
262
|
+
export { AgentWorkbenchActivity as A, type AgentWorkbenchToolProps as B, createAgentWorkbenchActivityModel as C, createAgentWorkbenchDetailsModel as D, AgentWorkbenchExploreCardMedia as E, type AgentWorkbenchExploreCardMediaProps as F, type AgentWorkbenchExploreMediaTreatment as G, type AgentWorkbenchExploreMediaVariant as H, type AgentWorkbenchActivityClassNames as a, type AgentWorkbenchActivityModel as b, type AgentWorkbenchActivityProps as c, type AgentWorkbenchApprovalIntent as d, type AgentWorkbenchArtifactIntent as e, type AgentWorkbenchDetailsIntent as f, type AgentWorkbenchDetailsModel as g, type AgentWorkbenchDetailsState as h, type AgentWorkbenchDetailsTab as i, type AgentWorkbenchEventOf as j, type AgentWorkbenchExploreGroup as k, type AgentWorkbenchExploreItem as l, AgentWorkbenchExploreSidebar as m, type AgentWorkbenchExploreSidebarIntent as n, type AgentWorkbenchExploreSidebarLabels as o, type AgentWorkbenchExploreSidebarProps as p, AgentWorkbenchSidebar as q, type AgentWorkbenchSidebarClassNames as r, type AgentWorkbenchSidebarIntent as s, type AgentWorkbenchSidebarProps as t, AgentWorkbenchTaskDetails as u, type AgentWorkbenchTaskDetailsClassNames as v, type AgentWorkbenchTaskDetailsProps as w, type AgentWorkbenchTerminalModel as x, AgentWorkbenchTool as y, type AgentWorkbenchToolClassNames as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { AgentWorkbenchNavigationViewModel, AgentWorkbenchSessionItem, AgentSessionViewModel, AgentSessionEvent, AgentSessionCapabilities } from '@inf-monkeys-tech/monkeys';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
3
|
+
import { ReactNode, ReactEventHandler } from 'react';
|
|
4
4
|
type AgentWorkbenchSidebarIntent = {
|
|
5
5
|
type: 'change-search';
|
|
6
6
|
query: string;
|
|
@@ -62,11 +62,23 @@ interface AgentWorkbenchExploreItem {
|
|
|
62
62
|
id: string;
|
|
63
63
|
title: string;
|
|
64
64
|
imageUrl?: string;
|
|
65
|
+
subtitle?: string;
|
|
66
|
+
mediaVariant?: AgentWorkbenchExploreMediaVariant;
|
|
67
|
+
mediaTreatment?: AgentWorkbenchExploreMediaTreatment;
|
|
68
|
+
}
|
|
69
|
+
type AgentWorkbenchExploreMediaVariant = "cover-with-label" | "cover" | "logo";
|
|
70
|
+
type AgentWorkbenchExploreMediaTreatment = "invert" | "monochrome-light" | "preserve";
|
|
71
|
+
interface AgentWorkbenchExploreCardMediaProps {
|
|
72
|
+
item: AgentWorkbenchExploreItem;
|
|
73
|
+
src?: string;
|
|
74
|
+
className?: string;
|
|
75
|
+
onError?: ReactEventHandler<HTMLImageElement>;
|
|
65
76
|
}
|
|
66
77
|
interface AgentWorkbenchExploreGroup {
|
|
67
78
|
id: string;
|
|
68
79
|
label: string;
|
|
69
80
|
items: AgentWorkbenchExploreItem[];
|
|
81
|
+
itemAspectRatio?: number;
|
|
70
82
|
}
|
|
71
83
|
interface AgentWorkbenchExploreSidebarLabels {
|
|
72
84
|
navigation: string;
|
|
@@ -105,6 +117,7 @@ interface AgentWorkbenchExploreSidebarProps {
|
|
|
105
117
|
renderItemMedia?: (item: AgentWorkbenchExploreItem, group: AgentWorkbenchExploreGroup) => ReactNode;
|
|
106
118
|
onIntent?: (intent: AgentWorkbenchExploreSidebarIntent) => void;
|
|
107
119
|
}
|
|
120
|
+
declare function AgentWorkbenchExploreCardMedia({ item, src, className, onError, }: AgentWorkbenchExploreCardMediaProps): null | react_jsx_runtime.JSX.Element;
|
|
108
121
|
declare function AgentWorkbenchExploreSidebar({ sessions, groups, labels, selectedSessionId, searchQuery, loading, showDraftSession, defaultGroupId, className, renderItemMedia, onIntent, }: AgentWorkbenchExploreSidebarProps): react_jsx_runtime.JSX.Element;
|
|
109
122
|
interface AgentWorkbenchApprovalIntent {
|
|
110
123
|
approvalId: string;
|
|
@@ -246,4 +259,4 @@ interface AgentWorkbenchDetailsModel {
|
|
|
246
259
|
};
|
|
247
260
|
}
|
|
248
261
|
declare function createAgentWorkbenchDetailsModel(viewModel: AgentSessionViewModel): AgentWorkbenchDetailsModel;
|
|
249
|
-
export { AgentWorkbenchActivity as A, type AgentWorkbenchToolProps as B, createAgentWorkbenchActivityModel as C, createAgentWorkbenchDetailsModel as D, type AgentWorkbenchActivityClassNames as a, type AgentWorkbenchActivityModel as b, type AgentWorkbenchActivityProps as c, type AgentWorkbenchApprovalIntent as d, type AgentWorkbenchArtifactIntent as e, type AgentWorkbenchDetailsIntent as f, type AgentWorkbenchDetailsModel as g, type AgentWorkbenchDetailsState as h, type AgentWorkbenchDetailsTab as i, type AgentWorkbenchEventOf as j, type AgentWorkbenchExploreGroup as k, type AgentWorkbenchExploreItem as l, AgentWorkbenchExploreSidebar as m, type AgentWorkbenchExploreSidebarIntent as n, type AgentWorkbenchExploreSidebarLabels as o, type AgentWorkbenchExploreSidebarProps as p, AgentWorkbenchSidebar as q, type AgentWorkbenchSidebarClassNames as r, type AgentWorkbenchSidebarIntent as s, type AgentWorkbenchSidebarProps as t, AgentWorkbenchTaskDetails as u, type AgentWorkbenchTaskDetailsClassNames as v, type AgentWorkbenchTaskDetailsProps as w, type AgentWorkbenchTerminalModel as x, AgentWorkbenchTool as y, type AgentWorkbenchToolClassNames as z };
|
|
262
|
+
export { AgentWorkbenchActivity as A, type AgentWorkbenchToolProps as B, createAgentWorkbenchActivityModel as C, createAgentWorkbenchDetailsModel as D, AgentWorkbenchExploreCardMedia as E, type AgentWorkbenchExploreCardMediaProps as F, type AgentWorkbenchExploreMediaTreatment as G, type AgentWorkbenchExploreMediaVariant as H, type AgentWorkbenchActivityClassNames as a, type AgentWorkbenchActivityModel as b, type AgentWorkbenchActivityProps as c, type AgentWorkbenchApprovalIntent as d, type AgentWorkbenchArtifactIntent as e, type AgentWorkbenchDetailsIntent as f, type AgentWorkbenchDetailsModel as g, type AgentWorkbenchDetailsState as h, type AgentWorkbenchDetailsTab as i, type AgentWorkbenchEventOf as j, type AgentWorkbenchExploreGroup as k, type AgentWorkbenchExploreItem as l, AgentWorkbenchExploreSidebar as m, type AgentWorkbenchExploreSidebarIntent as n, type AgentWorkbenchExploreSidebarLabels as o, type AgentWorkbenchExploreSidebarProps as p, AgentWorkbenchSidebar as q, type AgentWorkbenchSidebarClassNames as r, type AgentWorkbenchSidebarIntent as s, type AgentWorkbenchSidebarProps as t, AgentWorkbenchTaskDetails as u, type AgentWorkbenchTaskDetailsClassNames as v, type AgentWorkbenchTaskDetailsProps as w, type AgentWorkbenchTerminalModel as x, AgentWorkbenchTool as y, type AgentWorkbenchToolClassNames as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ export { ThemeToken, ThemeTokens } from '@inf-monkeys-tech/monkeys/contracts';
|
|
|
4
4
|
export { MonkeysComponentAttributes, MonkeysDirection, MonkeysEmptyStateVariant, MonkeysEnvironment, MonkeysListFooterAlignment, MonkeysListFooterConfig, MonkeysListFooterPaginationMode, MonkeysLoadingStateVariant, MonkeysPortalContainer, MonkeysPortalOptions, MonkeysProvider, MonkeysProviderAppearance, MonkeysProviderProps, MonkeysStatusStateDensity, MonkeysStatusStatesConfig, useMonkeysBaseAppearance, useMonkeysComponentAttributes, useMonkeysDataExplorerAppearance, useMonkeysDirection, useMonkeysEnvironment, useMonkeysListFooter, useMonkeysLocale, useMonkeysLocaleMessages, useMonkeysPortalOptions, useMonkeysResolvedTheme, useMonkeysStatusStates } from './provider/index.mjs';
|
|
5
5
|
export { defaultMonkeysLocale, enUS, mergeMonkeysLocaleMessages, resolveMonkeysLocale, zhCN } from './locale/index.mjs';
|
|
6
6
|
export { M as MonkeysAgentWorkbenchMessages, a as MonkeysBuiltInLocaleId, b as MonkeysDataExplorerMessages, c as MonkeysDialogMessages, d as MonkeysDropdownMenuMessages, e as MonkeysLayoutMessages, f as MonkeysLoadingMessages, g as MonkeysLocale, h as MonkeysLocaleInput, i as MonkeysLocaleMessages, j as MonkeysLocaleMessagesOverride, k as MonkeysMultiSelectMessages, l as MonkeysNumberInputMessages, m as MonkeysPaginationMessages, n as MonkeysPasswordInputMessages, o as MonkeysResolvedLocale, p as MonkeysStepsMessages, q as MonkeysTableMessages, r as MonkeysToastMessages, s as MonkeysToolbarMessages, t as MonkeysWorkbenchMessages } from './types-15efbcf88674.mjs';
|
|
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 AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchSidebar, r as AgentWorkbenchSidebarClassNames, s as AgentWorkbenchSidebarIntent, t as AgentWorkbenchSidebarProps, u as AgentWorkbenchTaskDetails, v as AgentWorkbenchTaskDetailsClassNames, w as AgentWorkbenchTaskDetailsProps, x as AgentWorkbenchTerminalModel, y as AgentWorkbenchTool, z as AgentWorkbenchToolClassNames, B as AgentWorkbenchToolProps, C as createAgentWorkbenchActivityModel, D as createAgentWorkbenchDetailsModel } from './details-model-
|
|
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 AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchSidebar, r as AgentWorkbenchSidebarClassNames, s as AgentWorkbenchSidebarIntent, t as AgentWorkbenchSidebarProps, u as AgentWorkbenchTaskDetails, v as AgentWorkbenchTaskDetailsClassNames, w as AgentWorkbenchTaskDetailsProps, x as AgentWorkbenchTerminalModel, y as AgentWorkbenchTool, z as AgentWorkbenchToolClassNames, B as AgentWorkbenchToolProps, C as createAgentWorkbenchActivityModel, D as createAgentWorkbenchDetailsModel } from './details-model-765193fe43be.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
10
|
export { I as InteractiveTable, a as InteractiveTableClassNames, b as InteractiveTableColumn, c as InteractiveTableColumnMenuLabels, d as InteractiveTableEditableTextCell, e as InteractiveTableEditableTextCellProps, f as InteractiveTableHeaderContext, g as InteractiveTableHeaderProps, h as InteractiveTableProps, i as InteractiveTableReadonlyCell, j as InteractiveTableReadonlyCellProps, k as InteractiveTableRenderContext, l as InteractiveTableRowState, m as InteractiveTableSelectCell, n as InteractiveTableSelectCellProps, o as InteractiveTableSelectOption, W as WorkbenchAssetGallery, p as WorkbenchAssetGalleryItem, q as WorkbenchAssetGalleryProps, r as WorkbenchCollection, s as WorkbenchCollectionActivationEvent, t as WorkbenchCollectionAppearanceConfig, u as WorkbenchCollectionCallbacks, v as WorkbenchCollectionClassNames, w as WorkbenchCollectionConfig, x as WorkbenchCollectionGroupContext, y as WorkbenchCollectionGroupingConfig, z as WorkbenchCollectionHoverEffect, A as WorkbenchCollectionItemConfig, B as WorkbenchCollectionItemContext, C as WorkbenchCollectionItemSize, D as WorkbenchCollectionItemSlotName, E as WorkbenchCollectionItemSlots, F as WorkbenchCollectionItemStatus, G as WorkbenchCollectionItemTitleConfig, H as WorkbenchCollectionKey, J as WorkbenchCollectionLabels, K as WorkbenchCollectionLayoutConfig, L as WorkbenchCollectionLayoutContext, M as WorkbenchCollectionLayoutMode, N as WorkbenchCollectionLayoutSnapshot, O as WorkbenchCollectionLoadingConfig, P as WorkbenchCollectionLoadingVariant, Q as WorkbenchCollectionProps, R as WorkbenchCollectionResponsive, S as WorkbenchCollectionSelectionBehavior, T as WorkbenchCollectionSelectionConfig, U as WorkbenchCollectionSelectionMode, V as WorkbenchCollectionSkeletonConfig, X as WorkbenchCollectionSlotContext, Y as WorkbenchCollectionSlots, Z as WorkbenchCollectionStateConfig, _ as WorkbenchCollectionTitlePlacement, $ as WorkbenchCollectionTitleVisibility, a0 as WorkbenchCollectionVirtualizationAdapter, a1 as WorkbenchCollectionVirtualizationConfig, a2 as WorkbenchCollectionVirtualizationRenderOptions, a3 as WorkbenchContentPane, a4 as WorkbenchContentPaneBodyProps, a5 as WorkbenchContentPaneClassNames, a6 as WorkbenchContentPaneProps, a7 as WorkbenchContentToolbar, a8 as WorkbenchContentToolbarClassNames, a9 as WorkbenchContentToolbarProps, aa as WorkbenchContentToolbarViewModeOption, ab as WorkbenchDetailSidebar, ac as WorkbenchDetailSidebarBodyProps, ad as WorkbenchDetailSidebarClassNames, ae as WorkbenchDetailSidebarField, af as WorkbenchDetailSidebarProps, ag as WorkbenchDetailSidebarRenderContext, ah as WorkbenchDetailSidebarSection, ai as WorkbenchEvidenceItem, aj as WorkbenchEvidenceList, ak as WorkbenchEvidenceListProps, al as WorkbenchGalleryCard, am as WorkbenchGalleryCardMetaContext, an as WorkbenchGalleryCardProps, ao as WorkbenchGalleryCardRenderContext, ap as WorkbenchGalleryColumn, aq as WorkbenchGalleryLabels, ar as WorkbenchGalleryRecordVisual, as as WorkbenchGallerySettingsButton, at as WorkbenchGallerySettingsButtonClassNames, au as WorkbenchGallerySettingsButtonProps, av as WorkbenchGallerySettingsLabels, aw as WorkbenchGallerySettingsOption, ax as WorkbenchGallerySettingsPanel, ay as WorkbenchGallerySettingsPanelClassNames, az as WorkbenchGallerySettingsPanelProps, aA as WorkbenchGallerySettingsValue, aB as WorkbenchGalleryView, aC as WorkbenchGalleryViewProps, aD as WorkbenchJourneyItem, aE as WorkbenchJourneyItemState, aF as WorkbenchJourneyNavigation, aG as WorkbenchJourneyNavigationProps, aH as WorkbenchLaneClassNames, aI as WorkbenchLaneColumn, aJ as WorkbenchLaneRenderCardContext, aK as WorkbenchLaneView, aL as WorkbenchLaneViewProps, aM as WorkbenchMasonryItemSize, aN as WorkbenchMasonryLayout, aO as WorkbenchMasonryLayoutContext, aP as WorkbenchMasonryLayoutProps, aQ as WorkbenchMetricGrid, aR as WorkbenchMetricGridDensity, aS as WorkbenchMetricGridProps, aT as WorkbenchMetricGridVariant, aU as WorkbenchMetricItem, aV as WorkbenchRadarFilterChip, aW as WorkbenchRadarInspectorSection, aX as WorkbenchRadarLegendItem, aY as WorkbenchRadarMatrix, aZ as WorkbenchRadarMatrixProps, a_ as WorkbenchRadarNavigation, a$ as WorkbenchRadarNavigationChild, b0 as WorkbenchRadarNavigationItem, b1 as WorkbenchRadarNavigationProps, b2 as WorkbenchRadarQuadrant, b3 as WorkbenchRadarWorkspace, b4 as WorkbenchRadarWorkspaceProps, b5 as WorkbenchRankedList, b6 as WorkbenchRankedListItem, b7 as WorkbenchRankedListMetric, b8 as WorkbenchRankedListProps, b9 as WorkbenchRelationshipEdge, ba as WorkbenchRelationshipGraph, bb as WorkbenchRelationshipGraphProps, bc as WorkbenchRelationshipNode, bd as WorkbenchResizableSidebar, be as WorkbenchResizableSidebarClassNames, bf as WorkbenchResizableSidebarItem, bg as WorkbenchResizableSidebarProps, bh as WorkbenchResizableSidebarSection, bi as WorkbenchScatterAxis, bj as WorkbenchScatterPlot, bk as WorkbenchScatterPlotProps, bl as WorkbenchScatterPoint, bm as WorkbenchScatterThresholds, bn as WorkbenchSelectionTray, bo as WorkbenchSelectionTrayItem, bp as WorkbenchSelectionTrayProps, bq as WorkbenchTableView, br as WorkbenchTableViewClassNames, bs as WorkbenchTableViewColumn, bt as WorkbenchTableViewHeaderContext, bu as WorkbenchTableViewProps, bv as WorkbenchTableViewRenderContext, bw as WorkbenchVisualizationTone } from './WorkbenchRadarMatrix-3b2384181e2d.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { ThemeToken, ThemeTokens } from '@inf-monkeys-tech/monkeys/contracts';
|
|
|
4
4
|
export { MonkeysComponentAttributes, MonkeysDirection, MonkeysEmptyStateVariant, MonkeysEnvironment, MonkeysListFooterAlignment, MonkeysListFooterConfig, MonkeysListFooterPaginationMode, MonkeysLoadingStateVariant, MonkeysPortalContainer, MonkeysPortalOptions, MonkeysProvider, MonkeysProviderAppearance, MonkeysProviderProps, MonkeysStatusStateDensity, MonkeysStatusStatesConfig, useMonkeysBaseAppearance, useMonkeysComponentAttributes, useMonkeysDataExplorerAppearance, useMonkeysDirection, useMonkeysEnvironment, useMonkeysListFooter, useMonkeysLocale, useMonkeysLocaleMessages, useMonkeysPortalOptions, useMonkeysResolvedTheme, useMonkeysStatusStates } from './provider/index.js';
|
|
5
5
|
export { defaultMonkeysLocale, enUS, mergeMonkeysLocaleMessages, resolveMonkeysLocale, zhCN } from './locale/index.js';
|
|
6
6
|
export { M as MonkeysAgentWorkbenchMessages, a as MonkeysBuiltInLocaleId, b as MonkeysDataExplorerMessages, c as MonkeysDialogMessages, d as MonkeysDropdownMenuMessages, e as MonkeysLayoutMessages, f as MonkeysLoadingMessages, g as MonkeysLocale, h as MonkeysLocaleInput, i as MonkeysLocaleMessages, j as MonkeysLocaleMessagesOverride, k as MonkeysMultiSelectMessages, l as MonkeysNumberInputMessages, m as MonkeysPaginationMessages, n as MonkeysPasswordInputMessages, o as MonkeysResolvedLocale, p as MonkeysStepsMessages, q as MonkeysTableMessages, r as MonkeysToastMessages, s as MonkeysToolbarMessages, t as MonkeysWorkbenchMessages } from './types-15efbcf88674.js';
|
|
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 AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchSidebar, r as AgentWorkbenchSidebarClassNames, s as AgentWorkbenchSidebarIntent, t as AgentWorkbenchSidebarProps, u as AgentWorkbenchTaskDetails, v as AgentWorkbenchTaskDetailsClassNames, w as AgentWorkbenchTaskDetailsProps, x as AgentWorkbenchTerminalModel, y as AgentWorkbenchTool, z as AgentWorkbenchToolClassNames, B as AgentWorkbenchToolProps, C as createAgentWorkbenchActivityModel, D as createAgentWorkbenchDetailsModel } from './details-model-
|
|
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 AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchSidebar, r as AgentWorkbenchSidebarClassNames, s as AgentWorkbenchSidebarIntent, t as AgentWorkbenchSidebarProps, u as AgentWorkbenchTaskDetails, v as AgentWorkbenchTaskDetailsClassNames, w as AgentWorkbenchTaskDetailsProps, x as AgentWorkbenchTerminalModel, y as AgentWorkbenchTool, z as AgentWorkbenchToolClassNames, B as AgentWorkbenchToolProps, C as createAgentWorkbenchActivityModel, D as createAgentWorkbenchDetailsModel } from './details-model-765193fe43be.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
10
|
export { I as InteractiveTable, a as InteractiveTableClassNames, b as InteractiveTableColumn, c as InteractiveTableColumnMenuLabels, d as InteractiveTableEditableTextCell, e as InteractiveTableEditableTextCellProps, f as InteractiveTableHeaderContext, g as InteractiveTableHeaderProps, h as InteractiveTableProps, i as InteractiveTableReadonlyCell, j as InteractiveTableReadonlyCellProps, k as InteractiveTableRenderContext, l as InteractiveTableRowState, m as InteractiveTableSelectCell, n as InteractiveTableSelectCellProps, o as InteractiveTableSelectOption, W as WorkbenchAssetGallery, p as WorkbenchAssetGalleryItem, q as WorkbenchAssetGalleryProps, r as WorkbenchCollection, s as WorkbenchCollectionActivationEvent, t as WorkbenchCollectionAppearanceConfig, u as WorkbenchCollectionCallbacks, v as WorkbenchCollectionClassNames, w as WorkbenchCollectionConfig, x as WorkbenchCollectionGroupContext, y as WorkbenchCollectionGroupingConfig, z as WorkbenchCollectionHoverEffect, A as WorkbenchCollectionItemConfig, B as WorkbenchCollectionItemContext, C as WorkbenchCollectionItemSize, D as WorkbenchCollectionItemSlotName, E as WorkbenchCollectionItemSlots, F as WorkbenchCollectionItemStatus, G as WorkbenchCollectionItemTitleConfig, H as WorkbenchCollectionKey, J as WorkbenchCollectionLabels, K as WorkbenchCollectionLayoutConfig, L as WorkbenchCollectionLayoutContext, M as WorkbenchCollectionLayoutMode, N as WorkbenchCollectionLayoutSnapshot, O as WorkbenchCollectionLoadingConfig, P as WorkbenchCollectionLoadingVariant, Q as WorkbenchCollectionProps, R as WorkbenchCollectionResponsive, S as WorkbenchCollectionSelectionBehavior, T as WorkbenchCollectionSelectionConfig, U as WorkbenchCollectionSelectionMode, V as WorkbenchCollectionSkeletonConfig, X as WorkbenchCollectionSlotContext, Y as WorkbenchCollectionSlots, Z as WorkbenchCollectionStateConfig, _ as WorkbenchCollectionTitlePlacement, $ as WorkbenchCollectionTitleVisibility, a0 as WorkbenchCollectionVirtualizationAdapter, a1 as WorkbenchCollectionVirtualizationConfig, a2 as WorkbenchCollectionVirtualizationRenderOptions, a3 as WorkbenchContentPane, a4 as WorkbenchContentPaneBodyProps, a5 as WorkbenchContentPaneClassNames, a6 as WorkbenchContentPaneProps, a7 as WorkbenchContentToolbar, a8 as WorkbenchContentToolbarClassNames, a9 as WorkbenchContentToolbarProps, aa as WorkbenchContentToolbarViewModeOption, ab as WorkbenchDetailSidebar, ac as WorkbenchDetailSidebarBodyProps, ad as WorkbenchDetailSidebarClassNames, ae as WorkbenchDetailSidebarField, af as WorkbenchDetailSidebarProps, ag as WorkbenchDetailSidebarRenderContext, ah as WorkbenchDetailSidebarSection, ai as WorkbenchEvidenceItem, aj as WorkbenchEvidenceList, ak as WorkbenchEvidenceListProps, al as WorkbenchGalleryCard, am as WorkbenchGalleryCardMetaContext, an as WorkbenchGalleryCardProps, ao as WorkbenchGalleryCardRenderContext, ap as WorkbenchGalleryColumn, aq as WorkbenchGalleryLabels, ar as WorkbenchGalleryRecordVisual, as as WorkbenchGallerySettingsButton, at as WorkbenchGallerySettingsButtonClassNames, au as WorkbenchGallerySettingsButtonProps, av as WorkbenchGallerySettingsLabels, aw as WorkbenchGallerySettingsOption, ax as WorkbenchGallerySettingsPanel, ay as WorkbenchGallerySettingsPanelClassNames, az as WorkbenchGallerySettingsPanelProps, aA as WorkbenchGallerySettingsValue, aB as WorkbenchGalleryView, aC as WorkbenchGalleryViewProps, aD as WorkbenchJourneyItem, aE as WorkbenchJourneyItemState, aF as WorkbenchJourneyNavigation, aG as WorkbenchJourneyNavigationProps, aH as WorkbenchLaneClassNames, aI as WorkbenchLaneColumn, aJ as WorkbenchLaneRenderCardContext, aK as WorkbenchLaneView, aL as WorkbenchLaneViewProps, aM as WorkbenchMasonryItemSize, aN as WorkbenchMasonryLayout, aO as WorkbenchMasonryLayoutContext, aP as WorkbenchMasonryLayoutProps, aQ as WorkbenchMetricGrid, aR as WorkbenchMetricGridDensity, aS as WorkbenchMetricGridProps, aT as WorkbenchMetricGridVariant, aU as WorkbenchMetricItem, aV as WorkbenchRadarFilterChip, aW as WorkbenchRadarInspectorSection, aX as WorkbenchRadarLegendItem, aY as WorkbenchRadarMatrix, aZ as WorkbenchRadarMatrixProps, a_ as WorkbenchRadarNavigation, a$ as WorkbenchRadarNavigationChild, b0 as WorkbenchRadarNavigationItem, b1 as WorkbenchRadarNavigationProps, b2 as WorkbenchRadarQuadrant, b3 as WorkbenchRadarWorkspace, b4 as WorkbenchRadarWorkspaceProps, b5 as WorkbenchRankedList, b6 as WorkbenchRankedListItem, b7 as WorkbenchRankedListMetric, b8 as WorkbenchRankedListProps, b9 as WorkbenchRelationshipEdge, ba as WorkbenchRelationshipGraph, bb as WorkbenchRelationshipGraphProps, bc as WorkbenchRelationshipNode, bd as WorkbenchResizableSidebar, be as WorkbenchResizableSidebarClassNames, bf as WorkbenchResizableSidebarItem, bg as WorkbenchResizableSidebarProps, bh as WorkbenchResizableSidebarSection, bi as WorkbenchScatterAxis, bj as WorkbenchScatterPlot, bk as WorkbenchScatterPlotProps, bl as WorkbenchScatterPoint, bm as WorkbenchScatterThresholds, bn as WorkbenchSelectionTray, bo as WorkbenchSelectionTrayItem, bp as WorkbenchSelectionTrayProps, bq as WorkbenchTableView, br as WorkbenchTableViewClassNames, bs as WorkbenchTableViewColumn, bt as WorkbenchTableViewHeaderContext, bu as WorkbenchTableViewProps, bv as WorkbenchTableViewRenderContext, bw as WorkbenchVisualizationTone } from './WorkbenchRadarMatrix-3f0daea32926.js';
|
package/dist/index.js
CHANGED
|
@@ -18283,6 +18283,46 @@ function AgentWorkbenchSidebar({
|
|
|
18283
18283
|
}
|
|
18284
18284
|
) });
|
|
18285
18285
|
}
|
|
18286
|
+
function AgentWorkbenchExploreCardMedia({
|
|
18287
|
+
item,
|
|
18288
|
+
src = item.imageUrl,
|
|
18289
|
+
className,
|
|
18290
|
+
onError
|
|
18291
|
+
}) {
|
|
18292
|
+
if (!src) return null;
|
|
18293
|
+
const variant = item.mediaVariant ?? "cover";
|
|
18294
|
+
const isLogo = variant === "logo";
|
|
18295
|
+
const showLabel = variant === "cover-with-label";
|
|
18296
|
+
const treatmentClass = item.mediaTreatment === "monochrome-light" ? "brightness-0 invert" : item.mediaTreatment === "invert" ? "invert" : "";
|
|
18297
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
18298
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18299
|
+
"span",
|
|
18300
|
+
{
|
|
18301
|
+
className: cn2(
|
|
18302
|
+
isLogo ? "flex size-full items-center justify-center bg-[var(--monkeys-color-card-dark)] p-5" : "block size-full",
|
|
18303
|
+
className
|
|
18304
|
+
),
|
|
18305
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18306
|
+
"img",
|
|
18307
|
+
{
|
|
18308
|
+
src,
|
|
18309
|
+
alt: "",
|
|
18310
|
+
className: cn2(
|
|
18311
|
+
"transition-transform duration-300 group-hover:scale-[1.03]",
|
|
18312
|
+
isLogo ? "max-h-full max-w-full object-contain" : "size-full object-cover",
|
|
18313
|
+
treatmentClass
|
|
18314
|
+
),
|
|
18315
|
+
onError
|
|
18316
|
+
}
|
|
18317
|
+
)
|
|
18318
|
+
}
|
|
18319
|
+
),
|
|
18320
|
+
showLabel ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "pointer-events-none absolute inset-x-0 bottom-0 bg-gradient-to-t from-black/80 via-black/30 to-transparent px-3 pb-2.5 pt-8 text-white", children: [
|
|
18321
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "block text-base font-semibold leading-tight", children: item.title }),
|
|
18322
|
+
item.subtitle ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mt-0.5 block text-[11px] leading-tight text-white/75", children: item.subtitle }) : null
|
|
18323
|
+
] }) : null
|
|
18324
|
+
] });
|
|
18325
|
+
}
|
|
18286
18326
|
function AgentWorkbenchExploreSidebar({
|
|
18287
18327
|
sessions,
|
|
18288
18328
|
groups,
|
|
@@ -18416,19 +18456,13 @@ function AgentWorkbenchExploreSidebar({
|
|
|
18416
18456
|
type: "button",
|
|
18417
18457
|
"aria-label": item.title,
|
|
18418
18458
|
className: "group relative aspect-[1.27] overflow-hidden rounded-xl border border-white/15 bg-card text-left transition hover:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary",
|
|
18459
|
+
style: Number.isFinite(activeGroup.itemAspectRatio) && Number(activeGroup.itemAspectRatio) > 0 ? { aspectRatio: activeGroup.itemAspectRatio } : void 0,
|
|
18419
18460
|
onClick: () => onIntent?.({
|
|
18420
18461
|
type: "select-item",
|
|
18421
18462
|
groupId: activeGroup.id,
|
|
18422
18463
|
item
|
|
18423
18464
|
}),
|
|
18424
|
-
children: renderItemMedia?.(item, activeGroup) ??
|
|
18425
|
-
"img",
|
|
18426
|
-
{
|
|
18427
|
-
src: item.imageUrl,
|
|
18428
|
-
alt: "",
|
|
18429
|
-
className: "size-full object-cover transition-transform duration-300 group-hover:scale-[1.03]"
|
|
18430
|
-
}
|
|
18431
|
-
) : null)
|
|
18465
|
+
children: renderItemMedia?.(item, activeGroup) ?? /* @__PURE__ */ jsxRuntime.jsx(AgentWorkbenchExploreCardMedia, { item })
|
|
18432
18466
|
},
|
|
18433
18467
|
item.id
|
|
18434
18468
|
)) })
|