@inf-monkeys-tech/monkeys-design 1.0.109 → 1.0.111

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/index.mjs CHANGED
@@ -30745,6 +30745,142 @@ function WorkbenchCollectionSkeleton({
30745
30745
  }
30746
30746
  );
30747
30747
  }
30748
+ function setsEqual(left, right) {
30749
+ if (left.size !== right.size) return false;
30750
+ for (const value of left) {
30751
+ if (!right.has(value)) return false;
30752
+ }
30753
+ return true;
30754
+ }
30755
+ function getComparableKey(key) {
30756
+ return String(key);
30757
+ }
30758
+ function getDefaultBehavior(mode) {
30759
+ return mode === "multiple" ? "toggle" : "replace";
30760
+ }
30761
+ function useWorkbenchCollectionSelection({
30762
+ items,
30763
+ getItemKey,
30764
+ mode = "none",
30765
+ behavior,
30766
+ selectedKeys: controlledSelectedKeys,
30767
+ defaultSelectedKeys,
30768
+ isItemDisabled,
30769
+ onSelectionChange
30770
+ }) {
30771
+ const controlled = controlledSelectedKeys !== void 0;
30772
+ const [internalSelectedKeys, setInternalSelectedKeys] = useState(
30773
+ () => new Set(defaultSelectedKeys ?? [])
30774
+ );
30775
+ const anchorKeyRef = useRef(null);
30776
+ const onSelectionChangeRef = useRef(onSelectionChange);
30777
+ onSelectionChangeRef.current = onSelectionChange;
30778
+ const normalizedItems = useMemo(() => {
30779
+ const seenKeys = /* @__PURE__ */ new Map();
30780
+ return items.map((item, index) => {
30781
+ const key = getItemKey(item, index);
30782
+ const comparableKey = getComparableKey(key);
30783
+ const duplicateIndex = seenKeys.get(comparableKey);
30784
+ if (duplicateIndex !== void 0) {
30785
+ throw new TypeError(
30786
+ `useWorkbenchCollectionSelection received duplicate item key "${comparableKey}" at indices ${duplicateIndex} and ${index}.`
30787
+ );
30788
+ }
30789
+ seenKeys.set(comparableKey, index);
30790
+ return { item, index, key };
30791
+ });
30792
+ }, [getItemKey, items]);
30793
+ const itemByKey = useMemo(() => {
30794
+ const entries = /* @__PURE__ */ new Map();
30795
+ normalizedItems.forEach((entry) => entries.set(entry.key, entry));
30796
+ return entries;
30797
+ }, [normalizedItems]);
30798
+ const selectedKeys = useMemo(
30799
+ () => mode === "none" ? /* @__PURE__ */ new Set() : controlled ? new Set(controlledSelectedKeys ?? []) : internalSelectedKeys,
30800
+ [controlled, controlledSelectedKeys, internalSelectedKeys, mode]
30801
+ );
30802
+ const selectedKeysRef = useRef(selectedKeys);
30803
+ selectedKeysRef.current = selectedKeys;
30804
+ const resetAnchor = useCallback(() => {
30805
+ anchorKeyRef.current = null;
30806
+ }, []);
30807
+ useEffect(() => {
30808
+ if (controlled) return;
30809
+ const availableKeys = new Set(normalizedItems.map(({ key }) => key));
30810
+ setInternalSelectedKeys((previous) => {
30811
+ const next = new Set(Array.from(previous).filter((key) => availableKeys.has(key)));
30812
+ if (setsEqual(previous, next)) return previous;
30813
+ selectedKeysRef.current = next;
30814
+ return next;
30815
+ });
30816
+ }, [controlled, normalizedItems]);
30817
+ useEffect(() => {
30818
+ const anchorKey = anchorKeyRef.current;
30819
+ if (mode !== "multiple" || selectedKeys.size === 0 || anchorKey === null) {
30820
+ resetAnchor();
30821
+ return;
30822
+ }
30823
+ const anchor = itemByKey.get(anchorKey);
30824
+ if (!anchor || isItemDisabled?.(anchor.item, anchor.index)) resetAnchor();
30825
+ }, [isItemDisabled, itemByKey, mode, resetAnchor, selectedKeys.size]);
30826
+ const selectKey = useCallback((key, intent = {}) => {
30827
+ if (mode === "none") return;
30828
+ const entry = itemByKey.get(key);
30829
+ if (!entry || isItemDisabled?.(entry.item, entry.index)) return;
30830
+ const current = new Set(selectedKeysRef.current);
30831
+ const configuredBehavior = behavior ?? getDefaultBehavior(mode);
30832
+ let effectiveBehavior = intent.shiftKey && mode === "multiple" ? "range" : intent.behavior ?? configuredBehavior;
30833
+ if (mode === "single") {
30834
+ effectiveBehavior = effectiveBehavior === "toggle" ? "toggle" : "replace";
30835
+ }
30836
+ const anchor = anchorKeyRef.current === null ? void 0 : itemByKey.get(anchorKeyRef.current);
30837
+ const hasValidAnchor = Boolean(
30838
+ anchor && !isItemDisabled?.(anchor.item, anchor.index)
30839
+ );
30840
+ if (mode === "multiple" && effectiveBehavior === "range" && !hasValidAnchor) {
30841
+ effectiveBehavior = configuredBehavior === "range" ? "toggle" : configuredBehavior;
30842
+ }
30843
+ const next = /* @__PURE__ */ new Set();
30844
+ if (mode === "single") {
30845
+ if (!(effectiveBehavior === "toggle" && current.has(entry.key))) next.add(entry.key);
30846
+ } else if (effectiveBehavior === "range" && anchor) {
30847
+ current.forEach((selectedKey) => next.add(selectedKey));
30848
+ const start = Math.min(anchor.index, entry.index);
30849
+ const end = Math.max(anchor.index, entry.index);
30850
+ normalizedItems.slice(start, end + 1).forEach((candidate) => {
30851
+ if (!isItemDisabled?.(candidate.item, candidate.index)) next.add(candidate.key);
30852
+ });
30853
+ } else if (effectiveBehavior === "replace") {
30854
+ next.add(entry.key);
30855
+ } else {
30856
+ current.forEach((selectedKey) => next.add(selectedKey));
30857
+ if (next.has(entry.key)) next.delete(entry.key);
30858
+ else next.add(entry.key);
30859
+ }
30860
+ anchorKeyRef.current = mode === "multiple" ? entry.key : null;
30861
+ if (!controlled) {
30862
+ selectedKeysRef.current = next;
30863
+ setInternalSelectedKeys(next);
30864
+ }
30865
+ onSelectionChangeRef.current?.(next, {
30866
+ item: entry.item,
30867
+ index: entry.index,
30868
+ key: entry.key,
30869
+ behavior: effectiveBehavior
30870
+ });
30871
+ }, [behavior, controlled, isItemDisabled, itemByKey, mode, normalizedItems]);
30872
+ const isSelected = useCallback(
30873
+ (key) => selectedKeys.has(key),
30874
+ [selectedKeys]
30875
+ );
30876
+ return {
30877
+ mode,
30878
+ selectedKeys,
30879
+ isSelected,
30880
+ selectKey,
30881
+ resetAnchor
30882
+ };
30883
+ }
30748
30884
  var DEFAULT_GAP_PX = 12;
30749
30885
  var DEFAULT_ROW_HEIGHT_PX = 8;
30750
30886
  var DEFAULT_CARD_WIDTH_PX = 280;
@@ -30868,13 +31004,6 @@ function getParentScrollOwner(node) {
30868
31004
  }
30869
31005
  return null;
30870
31006
  }
30871
- function setsEqual(left, right) {
30872
- if (left.size !== right.size) return false;
30873
- for (const value of left) {
30874
- if (!right.has(value)) return false;
30875
- }
30876
- return true;
30877
- }
30878
31007
  function isInteractiveEventTarget(target, currentTarget) {
30879
31008
  if (typeof Element === "undefined" || !(target instanceof Element) || target === currentTarget) return false;
30880
31009
  const control = target.closest(
@@ -30882,19 +31011,6 @@ function isInteractiveEventTarget(target, currentTarget) {
30882
31011
  );
30883
31012
  return Boolean(control && currentTarget.contains(control));
30884
31013
  }
30885
- function warnOnDuplicateKeys(keys) {
30886
- if (typeof process !== "undefined" && process.env?.NODE_ENV === "production") return;
30887
- const seen = /* @__PURE__ */ new Set();
30888
- const duplicates = /* @__PURE__ */ new Set();
30889
- keys.forEach((key) => {
30890
- const stringKey = String(key);
30891
- if (seen.has(stringKey)) duplicates.add(stringKey);
30892
- seen.add(stringKey);
30893
- });
30894
- if (duplicates.size) {
30895
- console.warn(`WorkbenchCollection received duplicate item keys: ${Array.from(duplicates).join(", ")}`);
30896
- }
30897
- }
30898
31014
  function normalizeTitleMaxLines(value) {
30899
31015
  if (!Number.isFinite(value) || Number(value) <= 0) return void 0;
30900
31016
  return clamp7(Math.round(Number(value)), 1, 12);
@@ -30917,7 +31033,6 @@ function WorkbenchCollection({
30917
31033
  const rootRef = useRef(null);
30918
31034
  const itemsRef = useRef(null);
30919
31035
  const loadMoreRef = useRef(null);
30920
- const lastSelectedIndexRef = useRef(null);
30921
31036
  const loadMoreRequestPendingRef = useRef(false);
30922
31037
  const loadMoreIntersectionActiveRef = useRef(false);
30923
31038
  const loadMoreIntersectionConsumedRef = useRef(false);
@@ -30926,9 +31041,6 @@ function WorkbenchCollection({
30926
31041
  const layoutReadyRef = useRef(false);
30927
31042
  const [containerWidth, setContainerWidth] = useState(0);
30928
31043
  const [itemsNode, setItemsNode] = useState(null);
30929
- const [internalSelectedKeys, setInternalSelectedKeys] = useState(
30930
- () => new Set(config.selection?.defaultSelectedKeys ?? [])
30931
- );
30932
31044
  const callbacksRef = useRef(callbacks);
30933
31045
  callbacksRef.current = callbacks;
30934
31046
  const registerItemsNode = useCallback((node) => {
@@ -30946,10 +31058,6 @@ function WorkbenchCollection({
30946
31058
  const key = getItemKey(item, index);
30947
31059
  return { item, index, key, stringKey: String(key) };
30948
31060
  }), [getItemKey, items]);
30949
- const keys = useMemo(
30950
- () => normalizedItems.map(({ key }) => key),
30951
- [normalizedItems]
30952
- );
30953
31061
  const keysSignature = normalizedItems.map(({ stringKey }) => stringKey).join("");
30954
31062
  const state = config.state;
30955
31063
  const loading = state?.loading === true;
@@ -30957,21 +31065,32 @@ function WorkbenchCollection({
30957
31065
  const hasMore = state?.hasMore === true;
30958
31066
  const loadingVariant = resolveWorkbenchCollectionLoadingVariant(config.loading?.variant);
30959
31067
  const layoutItemCount = loading && normalizedItems.length === 0 && loadingVariant === "skeleton" ? resolveWorkbenchCollectionSkeletonCapacity(config.loading?.skeleton) : normalizedItems.length;
30960
- useEffect(() => warnOnDuplicateKeys(keys), [keys, keysSignature]);
30961
31068
  const selectionMode = config.selection?.mode ?? "none";
30962
- const controlledSelection = config.selection?.selectedKeys !== void 0;
30963
- const selectedKeys = useMemo(
30964
- () => selectionMode === "none" ? /* @__PURE__ */ new Set() : controlledSelection ? new Set(config.selection?.selectedKeys ?? []) : internalSelectedKeys,
30965
- [config.selection?.selectedKeys, controlledSelection, internalSelectedKeys, selectionMode]
31069
+ const isSelectionItemDisabled = useCallback(
31070
+ (entry) => config.selection?.isItemDisabled?.(entry.item, entry.index) ?? false,
31071
+ [config.selection?.isItemDisabled]
30966
31072
  );
30967
- useEffect(() => {
30968
- if (controlledSelection) return;
30969
- const availableKeys = new Set(keys);
30970
- setInternalSelectedKeys((previous) => {
30971
- const next = new Set(Array.from(previous).filter((key) => availableKeys.has(key)));
30972
- return setsEqual(previous, next) ? previous : next;
31073
+ const getSelectionItemKey = useCallback(
31074
+ (entry) => entry.key,
31075
+ []
31076
+ );
31077
+ const handleSelectionChange = useCallback((next, details) => {
31078
+ callbacksRef.current?.onSelectionChange?.(next, {
31079
+ item: details.item.item,
31080
+ key: details.key,
31081
+ behavior: details.behavior
30973
31082
  });
30974
- }, [controlledSelection, keys, keysSignature]);
31083
+ }, []);
31084
+ const { selectedKeys, selectKey } = useWorkbenchCollectionSelection({
31085
+ items: normalizedItems,
31086
+ getItemKey: getSelectionItemKey,
31087
+ mode: selectionMode,
31088
+ behavior: config.selection?.behavior,
31089
+ selectedKeys: config.selection?.selectedKeys,
31090
+ defaultSelectedKeys: config.selection?.defaultSelectedKeys,
31091
+ isItemDisabled: isSelectionItemDisabled,
31092
+ onSelectionChange: handleSelectionChange
31093
+ });
30975
31094
  useEffect(() => {
30976
31095
  const node = itemsNode;
30977
31096
  if (!node) return void 0;
@@ -31209,30 +31328,6 @@ function WorkbenchCollection({
31209
31328
  });
31210
31329
  return Array.from(grouped.values());
31211
31330
  }, [config.grouping, normalizedItems]);
31212
- const setSelection = useCallback((entry, behavior = config.selection?.behavior ?? (selectionMode === "multiple" ? "toggle" : "replace")) => {
31213
- if (selectionMode === "none" || config.selection?.isItemDisabled?.(entry.item, entry.index)) return;
31214
- const current = new Set(selectedKeys);
31215
- const next = /* @__PURE__ */ new Set();
31216
- if (selectionMode === "single") {
31217
- if (!(behavior === "toggle" && current.has(entry.key))) next.add(entry.key);
31218
- } else if (behavior === "range" && lastSelectedIndexRef.current !== null) {
31219
- current.forEach((key) => next.add(key));
31220
- const start = Math.min(lastSelectedIndexRef.current, entry.index);
31221
- const end = Math.max(lastSelectedIndexRef.current, entry.index);
31222
- normalizedItems.slice(start, end + 1).forEach((candidate) => {
31223
- if (!config.selection?.isItemDisabled?.(candidate.item, candidate.index)) next.add(candidate.key);
31224
- });
31225
- } else if (behavior === "replace") {
31226
- next.add(entry.key);
31227
- } else {
31228
- current.forEach((key) => next.add(key));
31229
- if (next.has(entry.key)) next.delete(entry.key);
31230
- else next.add(entry.key);
31231
- }
31232
- lastSelectedIndexRef.current = entry.index;
31233
- if (!controlledSelection) setInternalSelectedKeys(next);
31234
- callbacks?.onSelectionChange?.(next, { item: entry.item, key: entry.key, behavior });
31235
- }, [callbacks, config.selection, controlledSelection, normalizedItems, selectedKeys, selectionMode]);
31236
31331
  const createItemContext = useCallback((entry, layout) => {
31237
31332
  const disabled = config.selection?.isItemDisabled?.(entry.item, entry.index) ?? false;
31238
31333
  const context = {
@@ -31244,7 +31339,11 @@ function WorkbenchCollection({
31244
31339
  selected: selectedKeys.has(entry.key),
31245
31340
  selectionMode,
31246
31341
  layout,
31247
- select: (behavior) => setSelection(entry, behavior),
31342
+ select: (behavior) => selectKey(entry.key, { behavior }),
31343
+ selectFromEvent: (event, behavior) => selectKey(entry.key, {
31344
+ behavior,
31345
+ shiftKey: event.shiftKey
31346
+ }),
31248
31347
  preview: () => callbacks?.onItemPreview?.(entry.item, context),
31249
31348
  detail: () => callbacks?.onItemDetail?.(entry.item, context),
31250
31349
  renderSlot: (name) => {
@@ -31254,12 +31353,12 @@ function WorkbenchCollection({
31254
31353
  notifyMediaError: (error) => callbacks?.onMediaError?.(entry.item, context, error)
31255
31354
  };
31256
31355
  return context;
31257
- }, [callbacks, config.getItemStatus, config.selection, selectedKeys, selectionMode, setSelection, slots?.item]);
31356
+ }, [callbacks, config.getItemStatus, config.selection, selectedKeys, selectKey, selectionMode, slots?.item]);
31258
31357
  const getItemInteractionProps = useCallback((entry, context) => {
31259
31358
  const handleKeyboard = (event) => {
31260
31359
  if (event.target !== event.currentTarget || event.key !== "Enter" && event.key !== " ") return;
31261
31360
  event.preventDefault();
31262
- if (selectionMode !== "none") context.select(event.shiftKey ? "range" : void 0);
31361
+ if (selectionMode !== "none") context.selectFromEvent(event);
31263
31362
  else callbacks?.onItemClick?.(entry.item, context, event);
31264
31363
  };
31265
31364
  return {
@@ -31288,7 +31387,7 @@ function WorkbenchCollection({
31288
31387
  ),
31289
31388
  onClick: (event) => {
31290
31389
  if (isInteractiveEventTarget(event.target, event.currentTarget)) return;
31291
- if (selectionMode !== "none") context.select(event.shiftKey ? "range" : void 0);
31390
+ if (selectionMode !== "none") context.selectFromEvent(event);
31292
31391
  callbacks?.onItemClick?.(entry.item, context, event);
31293
31392
  },
31294
31393
  onDoubleClick: (event) => {
@@ -34695,6 +34794,6 @@ function useDarkMode() {
34695
34794
  return { mode, setMode, resolvedMode };
34696
34795
  }
34697
34796
 
34698
- export { AGENT_WORKBENCH_SHELL_BREAKPOINTS, AgentWorkbenchActivity, AgentWorkbenchExploreSidebar, AgentWorkbenchQuickStart, AgentWorkbenchShell, AgentWorkbenchSidebar, AgentWorkbenchSidebarContainer, AgentWorkbenchTaskDetails, AgentWorkbenchTool, AppHeader, AppLayout, AppShellSidebar, AppSidebar, ApplicationHandoffLink, BaseAccordion, BaseAspectRatio, BaseAvatar, BaseBadge, BaseBreadcrumb, BaseButton, BaseCheckbox, BaseCode, BaseContainer, BaseContextMenu, BaseContextMenuCheckboxItem, BaseContextMenuContent, BaseContextMenuItem, BaseContextMenuLabel, BaseContextMenuRadioGroup, BaseContextMenuRadioItem, BaseContextMenuSeparator, BaseContextMenuSub, BaseContextMenuSubContent, BaseContextMenuSubTrigger, BaseContextMenuTrigger, BaseDescriptionList, BaseDialog, BaseDivider, BaseDropdownMenu, BaseEmptyState, BaseField, BaseFieldset, BaseGrid, BaseHeading, BaseInline, BaseInput, BaseInputGroup, BaseKbd, BaseLayout, BaseLayoutPane, BaseLayoutResizeHandle, BaseLayoutSplit, BaseLink, BaseList, BaseListFooter, BaseListItem, BaseLoadingState, BaseMultiSelect, BaseNotice, BaseNumberInput, BasePagination, BasePanel, BasePasswordInput, BasePortal, BaseProgress, BaseRadioGroup, BaseScrollArea, BaseSectionHeader, BaseSegmentedControl, BaseSelect, BaseSkeleton, BaseSpinner, BaseStack, BaseSteps, BaseSwitch, BaseSystemState, BaseTable, BaseTableBody, BaseTableCaption, BaseTableCell, BaseTableContainer, BaseTableEmpty, BaseTableFooter, BaseTableFooterBar, BaseTableHead, BaseTableHeader, BaseTableLoading, BaseTableRow, BaseTabs, BaseText, BaseTextarea, BaseToolbar, BaseTooltip, BaseVisuallyHidden, DarkModeSelector, DarkModeSubMenu, DataExplorerActionBar, DataExplorerButton, DataExplorerCheckbox, DataExplorerCollectionFooter, DataExplorerDetailField, DataExplorerDetailSection, DataExplorerDetailShell, DataExplorerDisplayActionMenu, DataExplorerDisplayCard, DataExplorerDisplayCollectionView, DataExplorerDisplayListItem, DataExplorerDisplayMedia, DataExplorerFilterBar, DataExplorerImagePreview, DataExplorerMediaPreview, DataExplorerPage, DataExplorerRecordCard, DataExplorerRecordPicker, DataExplorerSelect, DataExplorerToolbarActions, DataExplorerToolbarShell, DataExplorerTree, DataExplorerTreeShell, DataExplorerUploadSurface, DataExplorerView, DataExplorerViewCollection, DataExplorerViewItem, DataExplorerViewItemShell, DataExplorerViewShell, DataExplorerViewTree, I18nSelector, InteractiveTable, InteractiveTableEditableTextCell, InteractiveTableReadonlyCell, InteractiveTableSelectCell, LoginPage, MonkeysProvider, MonkeysToastProvider, MonkeysToaster, NavButton, NavigationLayout, NavigationSidebar, OverlayNodeHost, RenderNodeHost, MonkeysToastProvider as ToastProvider, MonkeysToaster as Toaster, UnifiedDropdown, UserAccountMenu, WorkbenchAssetGallery, WorkbenchCollection, WorkbenchContentPane, WorkbenchContentToolbar, WorkbenchDetailSidebar, WorkbenchEvidenceList, WorkbenchGalleryCard, WorkbenchGallerySettingsButton, WorkbenchGallerySettingsPanel, WorkbenchGalleryView, WorkbenchJourneyNavigation, WorkbenchLaneView, WorkbenchMasonryLayout, WorkbenchMetricGrid, WorkbenchRadarFilterChip, WorkbenchRadarFilterRow, WorkbenchRadarInspectorSection, WorkbenchRadarMatrix, WorkbenchRadarNavigation, WorkbenchRadarWorkspace, WorkbenchRankedList, WorkbenchRelationshipGraph, WorkbenchResizableSidebar, WorkbenchScatterPlot, WorkbenchSelectionTray, WorkbenchTableView, applyThemeTokens, browserOverlayHistoryAdapter, buildOverlayUrl, calculateHue, calculateLightness, calculateSaturation, cn2 as cn, compileThemeTokens, createAgentWorkbenchActivityModel, createAgentWorkbenchDetailsModel, createSolidColorScale, defaultMonkeysLocale, enUS, extractToastMessage, genTailwindTheme, getBaseBadgeToneClassName, getBaseButtonToneClassName, getBaseMenuItemToneClassName, getBaseNoticeToneClassName, getDataExplorerActionToneClassName, getDataExplorerMenuItemToneClassName, getOverlayPresentationClassNames, getOverlayZIndex, getRenderNodeDataAttributes, getThemeTokenCssValue, isOverlayUrlActive, markDarkColor, mergeMonkeysLocaleMessages, resolveAgentWorkbenchShellLayout, resolveBaseAppearance, resolveDataExplorerAppearance, resolveMonkeysLocale, resolveRenderNodePolicyState, resolveToastVariantForMessage, sessionRenderNodeScrollRestoration, setTailwindTheme, toast, useDarkMode, useMonkeysBaseAppearance, useMonkeysComponentAttributes, useMonkeysDataExplorerAppearance, useMonkeysDirection, useMonkeysEnvironment, useMonkeysListFooter, useMonkeysLocale, useMonkeysLocaleMessages, useMonkeysPortalOptions, useMonkeysResolvedTheme, useMonkeysStatusStates, useToastFeed, useToastOnValue, zhCN };
34797
+ export { AGENT_WORKBENCH_SHELL_BREAKPOINTS, AgentWorkbenchActivity, AgentWorkbenchExploreSidebar, AgentWorkbenchQuickStart, AgentWorkbenchShell, AgentWorkbenchSidebar, AgentWorkbenchSidebarContainer, AgentWorkbenchTaskDetails, AgentWorkbenchTool, AppHeader, AppLayout, AppShellSidebar, AppSidebar, ApplicationHandoffLink, BaseAccordion, BaseAspectRatio, BaseAvatar, BaseBadge, BaseBreadcrumb, BaseButton, BaseCheckbox, BaseCode, BaseContainer, BaseContextMenu, BaseContextMenuCheckboxItem, BaseContextMenuContent, BaseContextMenuItem, BaseContextMenuLabel, BaseContextMenuRadioGroup, BaseContextMenuRadioItem, BaseContextMenuSeparator, BaseContextMenuSub, BaseContextMenuSubContent, BaseContextMenuSubTrigger, BaseContextMenuTrigger, BaseDescriptionList, BaseDialog, BaseDivider, BaseDropdownMenu, BaseEmptyState, BaseField, BaseFieldset, BaseGrid, BaseHeading, BaseInline, BaseInput, BaseInputGroup, BaseKbd, BaseLayout, BaseLayoutPane, BaseLayoutResizeHandle, BaseLayoutSplit, BaseLink, BaseList, BaseListFooter, BaseListItem, BaseLoadingState, BaseMultiSelect, BaseNotice, BaseNumberInput, BasePagination, BasePanel, BasePasswordInput, BasePortal, BaseProgress, BaseRadioGroup, BaseScrollArea, BaseSectionHeader, BaseSegmentedControl, BaseSelect, BaseSkeleton, BaseSpinner, BaseStack, BaseSteps, BaseSwitch, BaseSystemState, BaseTable, BaseTableBody, BaseTableCaption, BaseTableCell, BaseTableContainer, BaseTableEmpty, BaseTableFooter, BaseTableFooterBar, BaseTableHead, BaseTableHeader, BaseTableLoading, BaseTableRow, BaseTabs, BaseText, BaseTextarea, BaseToolbar, BaseTooltip, BaseVisuallyHidden, DarkModeSelector, DarkModeSubMenu, DataExplorerActionBar, DataExplorerButton, DataExplorerCheckbox, DataExplorerCollectionFooter, DataExplorerDetailField, DataExplorerDetailSection, DataExplorerDetailShell, DataExplorerDisplayActionMenu, DataExplorerDisplayCard, DataExplorerDisplayCollectionView, DataExplorerDisplayListItem, DataExplorerDisplayMedia, DataExplorerFilterBar, DataExplorerImagePreview, DataExplorerMediaPreview, DataExplorerPage, DataExplorerRecordCard, DataExplorerRecordPicker, DataExplorerSelect, DataExplorerToolbarActions, DataExplorerToolbarShell, DataExplorerTree, DataExplorerTreeShell, DataExplorerUploadSurface, DataExplorerView, DataExplorerViewCollection, DataExplorerViewItem, DataExplorerViewItemShell, DataExplorerViewShell, DataExplorerViewTree, I18nSelector, InteractiveTable, InteractiveTableEditableTextCell, InteractiveTableReadonlyCell, InteractiveTableSelectCell, LoginPage, MonkeysProvider, MonkeysToastProvider, MonkeysToaster, NavButton, NavigationLayout, NavigationSidebar, OverlayNodeHost, RenderNodeHost, MonkeysToastProvider as ToastProvider, MonkeysToaster as Toaster, UnifiedDropdown, UserAccountMenu, WorkbenchAssetGallery, WorkbenchCollection, WorkbenchContentPane, WorkbenchContentToolbar, WorkbenchDetailSidebar, WorkbenchEvidenceList, WorkbenchGalleryCard, WorkbenchGallerySettingsButton, WorkbenchGallerySettingsPanel, WorkbenchGalleryView, WorkbenchJourneyNavigation, WorkbenchLaneView, WorkbenchMasonryLayout, WorkbenchMetricGrid, WorkbenchRadarFilterChip, WorkbenchRadarFilterRow, WorkbenchRadarInspectorSection, WorkbenchRadarMatrix, WorkbenchRadarNavigation, WorkbenchRadarWorkspace, WorkbenchRankedList, WorkbenchRelationshipGraph, WorkbenchResizableSidebar, WorkbenchScatterPlot, WorkbenchSelectionTray, WorkbenchTableView, applyThemeTokens, browserOverlayHistoryAdapter, buildOverlayUrl, calculateHue, calculateLightness, calculateSaturation, cn2 as cn, compileThemeTokens, createAgentWorkbenchActivityModel, createAgentWorkbenchDetailsModel, createSolidColorScale, defaultMonkeysLocale, enUS, extractToastMessage, genTailwindTheme, getBaseBadgeToneClassName, getBaseButtonToneClassName, getBaseMenuItemToneClassName, getBaseNoticeToneClassName, getDataExplorerActionToneClassName, getDataExplorerMenuItemToneClassName, getOverlayPresentationClassNames, getOverlayZIndex, getRenderNodeDataAttributes, getThemeTokenCssValue, isOverlayUrlActive, markDarkColor, mergeMonkeysLocaleMessages, resolveAgentWorkbenchShellLayout, resolveBaseAppearance, resolveDataExplorerAppearance, resolveMonkeysLocale, resolveRenderNodePolicyState, resolveToastVariantForMessage, sessionRenderNodeScrollRestoration, setTailwindTheme, toast, useDarkMode, useMonkeysBaseAppearance, useMonkeysComponentAttributes, useMonkeysDataExplorerAppearance, useMonkeysDirection, useMonkeysEnvironment, useMonkeysListFooter, useMonkeysLocale, useMonkeysLocaleMessages, useMonkeysPortalOptions, useMonkeysResolvedTheme, useMonkeysStatusStates, useToastFeed, useToastOnValue, useWorkbenchCollectionSelection, zhCN };
34699
34798
  //# sourceMappingURL=index.mjs.map
34700
34799
  //# sourceMappingURL=index.mjs.map