@vantageos/mosaic-blocks 0.5.35-alpha → 0.5.37-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -8
- package/dist/index.cjs +828 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +415 -11
- package/dist/index.d.ts +415 -11
- package/dist/index.js +809 -41
- package/dist/index.js.map +1 -1
- package/dist/styles.css +18 -0
- package/package.json +20 -7
- package/r/mosaic-accordion.json +1 -2
- package/r/mosaic-activity-feed.json +16 -0
- package/r/mosaic-adaptive-grid.json +18 -0
- package/r/mosaic-adaptive-modal.json +18 -0
- package/r/mosaic-adaptive-navigation.json +18 -0
- package/r/mosaic-add-memory-form.json +25 -0
- package/r/mosaic-admin-only-guard.json +18 -0
- package/r/mosaic-agent-builder-modal.json +23 -0
- package/r/mosaic-agent-card.json +16 -0
- package/r/mosaic-agent-chat.json +26 -0
- package/r/mosaic-agent-composer.json +28 -0
- package/r/mosaic-agent-editor.json +25 -0
- package/r/mosaic-agent-list.json +21 -0
- package/r/mosaic-agent-preview.json +21 -0
- package/r/mosaic-alert-dialog.json +23 -0
- package/r/mosaic-animated-list.json +16 -0
- package/r/mosaic-api-key-panel.json +21 -0
- package/r/mosaic-app-sidebar.json +18 -0
- package/r/mosaic-approval-prompt.json +21 -0
- package/r/mosaic-artifact-canvas-adapter.json +26 -0
- package/r/mosaic-artifact-chart.json +18 -0
- package/r/mosaic-artifact-checklist.json +18 -0
- package/r/mosaic-artifact-data-table.json +18 -0
- package/r/mosaic-artifact-document.json +16 -0
- package/r/mosaic-artifact-library.json +18 -0
- package/r/mosaic-artifact-save-as-memory-form.json +24 -0
- package/r/mosaic-artifact-version-history.json +16 -0
- package/r/mosaic-avatar.json +18 -0
- package/r/mosaic-badge.json +23 -0
- package/r/mosaic-blurred-orb.json +16 -0
- package/r/mosaic-button.json +24 -0
- package/r/mosaic-callout.json +23 -0
- package/r/mosaic-card.json +16 -0
- package/r/mosaic-chat-composer.json +21 -0
- package/r/mosaic-chat-message.json +23 -0
- package/r/mosaic-chat-sidebar.json +21 -0
- package/r/mosaic-chat-thread.json +21 -0
- package/r/mosaic-checkbox.json +18 -0
- package/r/mosaic-clerk-org-switcher.json +18 -0
- package/r/mosaic-clerk-webhook-handler.json +18 -0
- package/r/mosaic-collapsible.json +18 -0
- package/r/mosaic-combobox.json +18 -0
- package/r/mosaic-counter.json +16 -0
- package/r/mosaic-dashboard-content.json +18 -0
- package/r/mosaic-dashboard-header.json +18 -0
- package/r/mosaic-dashboard-layout.json +20 -0
- package/r/mosaic-data-table.json +16 -0
- package/r/mosaic-delete-confirmation-dialog.json +18 -0
- package/r/mosaic-device-provider.json +16 -0
- package/r/mosaic-document-table.json +52 -0
- package/r/mosaic-document-upload.json +21 -0
- package/r/mosaic-drawer.json +23 -0
- package/r/mosaic-dropdown-menu.json +18 -0
- package/r/mosaic-edit-memory-dialog.json +27 -0
- package/r/mosaic-edit-session-dialog.json +25 -0
- package/r/mosaic-editable-cell.json +23 -0
- package/r/mosaic-empty-state.json +16 -0
- package/r/mosaic-falling-pattern.json +16 -0
- package/r/mosaic-feature-3col.json +16 -0
- package/r/mosaic-feature-centered-media.json +16 -0
- package/r/mosaic-field.json +18 -0
- package/r/mosaic-filter-bar.json +18 -0
- package/r/mosaic-filter-sidebar.json +18 -0
- package/r/mosaic-footer-simple.json +16 -0
- package/r/mosaic-grille-registre.json +53 -0
- package/r/mosaic-hero-split.json +16 -0
- package/r/mosaic-input-group.json +16 -0
- package/r/mosaic-input.json +18 -0
- package/r/mosaic-integrations-badge.json +16 -0
- package/r/mosaic-kanban-board.json +21 -0
- package/r/mosaic-logos-grid.json +16 -0
- package/r/mosaic-main-nav.json +18 -0
- package/r/mosaic-markdown.json +21 -0
- package/r/mosaic-marketplace-card.json +24 -0
- package/r/mosaic-marketplace-list.json +20 -0
- package/r/mosaic-match-input.json +23 -0
- package/r/mosaic-memory-card.json +21 -0
- package/r/mosaic-memory-dashboard.json +23 -0
- package/r/mosaic-memory-grid.json +21 -0
- package/r/mosaic-memory-list.json +21 -0
- package/r/mosaic-memory-search.json +23 -0
- package/r/mosaic-mention-input.json +23 -0
- package/r/mosaic-message-card.json +16 -0
- package/r/mosaic-message-list.json +19 -0
- package/r/mosaic-message-search.json +18 -0
- package/r/mosaic-model-selector.json +23 -0
- package/r/mosaic-module-card.json +16 -0
- package/r/mosaic-module-library.json +18 -0
- package/r/mosaic-multi-tenant-provider.json +19 -0
- package/r/mosaic-navbar.json +16 -0
- package/r/mosaic-org-context-display.json +18 -0
- package/r/mosaic-org-panel.json +19 -0
- package/r/mosaic-org-profile-page.json +18 -0
- package/r/mosaic-org-switcher.json +16 -0
- package/r/mosaic-pdf-viewer.json +23 -0
- package/r/mosaic-popover.json +23 -0
- package/r/mosaic-preferences-panel.json +18 -0
- package/r/mosaic-pricing-card.json +16 -0
- package/r/mosaic-profile-panel.json +18 -0
- package/r/mosaic-progress.json +18 -0
- package/r/mosaic-quick-action-card.json +16 -0
- package/r/mosaic-quick-actions-menu.json +18 -0
- package/r/mosaic-quick-agent-selector.json +19 -0
- package/r/mosaic-radio-group.json +18 -0
- package/r/mosaic-reply-input.json +21 -0
- package/r/mosaic-resizable-split-pane.json +23 -0
- package/r/mosaic-save-chat-as-memory-form.json +25 -0
- package/r/mosaic-save-template-modal.json +27 -0
- package/r/mosaic-scroll-area.json +18 -0
- package/r/mosaic-select.json +18 -0
- package/r/mosaic-selector-modal.json +18 -0
- package/r/mosaic-separator.json +18 -0
- package/r/mosaic-session-card.json +24 -0
- package/r/mosaic-session-list.json +21 -0
- package/r/mosaic-sign-in-layout.json +18 -0
- package/r/mosaic-sign-up-layout.json +18 -0
- package/r/mosaic-skeleton.json +23 -0
- package/r/mosaic-slider.json +18 -0
- package/r/mosaic-stats-grid.json +16 -0
- package/r/mosaic-step-pipeline.json +21 -0
- package/r/mosaic-switch.json +18 -0
- package/r/mosaic-tabs.json +18 -0
- package/r/mosaic-tag-input.json +23 -0
- package/r/mosaic-template-agent-card.json +21 -0
- package/r/mosaic-template-category-chips.json +21 -0
- package/r/mosaic-template-gallery.json +20 -0
- package/r/mosaic-template-list.json +21 -0
- package/r/mosaic-template-management-panel.json +25 -0
- package/r/mosaic-testimonials-grid.json +16 -0
- package/r/mosaic-textarea.json +16 -0
- package/r/mosaic-theme-provider.json +18 -0
- package/r/mosaic-theme-toggle.json +16 -0
- package/r/mosaic-thread-indicator.json +21 -0
- package/r/mosaic-thread-view.json +21 -0
- package/r/mosaic-toast.json +28 -0
- package/r/mosaic-tool-toggle-list.json +23 -0
- package/r/mosaic-tooltip.json +18 -0
- package/r/mosaic-url-scraper.json +21 -0
- package/r/mosaic-user-button.json +18 -0
- package/r/use-effective-workspace-id.json +18 -0
- package/registry.json +77 -130
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
import { Button } from '@base-ui/react/button';
|
|
3
4
|
import { VariantProps } from 'class-variance-authority';
|
|
4
5
|
import { b as buttonVariants, s as skeletonVariants, a as badgeVariants } from './badge-variants-SYXNq4VQ.js';
|
|
@@ -21,9 +22,11 @@ import { Combobox } from '@base-ui/react/combobox';
|
|
|
21
22
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
22
23
|
import { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
23
24
|
import { BarChart, Bar, LineChart, Line, PieChart, Pie, Cell, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts';
|
|
25
|
+
import * as ag_grid_community from 'ag-grid-community';
|
|
26
|
+
import { ColDef, Theme as Theme$1, GridReadyEvent, CellValueChangedEvent, RowClassParams, RowStyle, CellClickedEvent, GridSizeChangedEvent, SizeColumnsToFitGridStrategy } from 'ag-grid-community';
|
|
24
27
|
export { Tooltip } from '@base-ui/react/tooltip';
|
|
25
28
|
|
|
26
|
-
declare const version = "0.5.
|
|
29
|
+
declare const version = "0.5.37-alpha";
|
|
27
30
|
|
|
28
31
|
/**
|
|
29
32
|
* Placeholder component — infra scaffold only.
|
|
@@ -2328,6 +2331,12 @@ interface MosaicAdaptiveNavigationProps {
|
|
|
2328
2331
|
completeStatusLabel: string;
|
|
2329
2332
|
/** Status caption shown when a step is not yet complete. Required, no default. */
|
|
2330
2333
|
inProgressStatusLabel: string;
|
|
2334
|
+
/**
|
|
2335
|
+
* Visible duration badge text for an item that carries `duration`. Receives
|
|
2336
|
+
* the raw value in seconds; the host owns the unit word and formatting.
|
|
2337
|
+
* Required, no default.
|
|
2338
|
+
*/
|
|
2339
|
+
formatDuration: (seconds: number) => string;
|
|
2331
2340
|
className?: string;
|
|
2332
2341
|
ref?: React.Ref<HTMLDivElement>;
|
|
2333
2342
|
}
|
|
@@ -2351,7 +2360,7 @@ interface MosaicAdaptiveNavigationProps {
|
|
|
2351
2360
|
* tabNavAriaLabel={t('AdaptiveNavigation.aria.tab')}
|
|
2352
2361
|
* />
|
|
2353
2362
|
*/
|
|
2354
|
-
declare function MosaicAdaptiveNavigation({ items, activeItem, onItemChange, expandedItems, onToggleExpanded, stepNavAriaLabel, tabNavAriaLabel, completeStatusLabel, inProgressStatusLabel, className, ref, }: MosaicAdaptiveNavigationProps): React.JSX.Element;
|
|
2363
|
+
declare function MosaicAdaptiveNavigation({ items, activeItem, onItemChange, expandedItems, onToggleExpanded, stepNavAriaLabel, tabNavAriaLabel, completeStatusLabel, inProgressStatusLabel, formatDuration, className, ref, }: MosaicAdaptiveNavigationProps): React.JSX.Element;
|
|
2355
2364
|
declare namespace MosaicAdaptiveNavigation {
|
|
2356
2365
|
var displayName: string;
|
|
2357
2366
|
}
|
|
@@ -2731,6 +2740,12 @@ interface MosaicActivityFeedProps {
|
|
|
2731
2740
|
* the language (e.g. `t('ActivityFeed.empty')`). No default, no fallback.
|
|
2732
2741
|
*/
|
|
2733
2742
|
emptyMessage: string;
|
|
2743
|
+
/**
|
|
2744
|
+
* Visible message-count text on an activity that carries `messages`.
|
|
2745
|
+
* Receives the count; the host owns the unit word and word order.
|
|
2746
|
+
* Required, no default.
|
|
2747
|
+
*/
|
|
2748
|
+
formatMessageCount: (count: number) => string;
|
|
2734
2749
|
/**
|
|
2735
2750
|
* Map of activity.type → icon ReactNode.
|
|
2736
2751
|
* Default: generic clock icon for all types.
|
|
@@ -2746,6 +2761,8 @@ interface MosaicActivityFeedProps {
|
|
|
2746
2761
|
}
|
|
2747
2762
|
interface MosaicActivityItemProps {
|
|
2748
2763
|
activity: MosaicActivity;
|
|
2764
|
+
/** Visible message-count text. Receives the count; host owns the unit word. Required, no default. */
|
|
2765
|
+
formatMessageCount: (count: number) => string;
|
|
2749
2766
|
icon?: React.ReactNode;
|
|
2750
2767
|
className?: string;
|
|
2751
2768
|
}
|
|
@@ -2753,7 +2770,7 @@ interface MosaicActivityItemProps {
|
|
|
2753
2770
|
* MosaicActivityItem — single row in the activity feed.
|
|
2754
2771
|
* Can be used standalone outside MosaicActivityFeed.
|
|
2755
2772
|
*/
|
|
2756
|
-
declare function MosaicActivityItem({ activity, icon, className }: MosaicActivityItemProps): React.JSX.Element;
|
|
2773
|
+
declare function MosaicActivityItem({ activity, formatMessageCount, icon, className, }: MosaicActivityItemProps): React.JSX.Element;
|
|
2757
2774
|
declare namespace MosaicActivityItem {
|
|
2758
2775
|
var displayName: string;
|
|
2759
2776
|
}
|
|
@@ -2772,7 +2789,7 @@ declare namespace MosaicActivityItem {
|
|
|
2772
2789
|
* ]}
|
|
2773
2790
|
* />
|
|
2774
2791
|
*/
|
|
2775
|
-
declare function MosaicActivityFeed({ activities, heading, viewAllHref, viewAllLabel, emptyMessage, iconMap, renderLink, className, ref, }: MosaicActivityFeedProps): React.JSX.Element;
|
|
2792
|
+
declare function MosaicActivityFeed({ activities, heading, viewAllHref, viewAllLabel, emptyMessage, formatMessageCount, iconMap, renderLink, className, ref, }: MosaicActivityFeedProps): React.JSX.Element;
|
|
2776
2793
|
declare namespace MosaicActivityFeed {
|
|
2777
2794
|
var displayName: string;
|
|
2778
2795
|
}
|
|
@@ -2861,6 +2878,12 @@ interface MosaicAgentComposerProps {
|
|
|
2861
2878
|
changeModuleLabel: (label: string) => string;
|
|
2862
2879
|
/** Fallback name shown in the preview when `agentName` is empty. Required, no default. */
|
|
2863
2880
|
unnamedAgentLabel: string;
|
|
2881
|
+
/**
|
|
2882
|
+
* Visible context-window text under the selected model (e.g. "128,000
|
|
2883
|
+
* context"). Receives the raw token count; the host owns number formatting,
|
|
2884
|
+
* the unit word and word order. Required, no default.
|
|
2885
|
+
*/
|
|
2886
|
+
formatContextWindow: (tokens: number) => string;
|
|
2864
2887
|
}
|
|
2865
2888
|
interface MosaicAgentComposerDesktopProps extends MosaicAgentComposerProps {
|
|
2866
2889
|
/**
|
|
@@ -2885,7 +2908,7 @@ interface MosaicAgentComposerDesktopProps extends MosaicAgentComposerProps {
|
|
|
2885
2908
|
* Share the same props contract with MosaicAgentComposerMobile.
|
|
2886
2909
|
* Use MosaicAgentComposer orchestrator to select the right variant automatically.
|
|
2887
2910
|
*/
|
|
2888
|
-
declare function MosaicAgentComposerDesktop({ agentName, onAgentNameChange, customInstructions, onCustomInstructionsChange, selectedRole, selectedPersona, selectedFramework, selectedModel, onSelectRole, onSelectPersona, onSelectFramework, onSelectModel, onRemoveRole, onRemovePersona, onRemoveFramework, onSave, onCancel, canSave, isEditMode, labels, agentNameLabel, agentNamePlaceholder, instructionsPlaceholder, modelDescriptionLabel, recommendedBadgeLabel, livePreviewHeading, livePreviewSubheading, previewConfigLabel, customInstructionsPreviewLabel, selectAllModulesLabel, unnamedAgentLabel, roleSublabel, personaSublabel, frameworkSublabel, editModuleAriaLabel, removeModuleAriaLabel, selectModuleAriaLabel, changeModuleLabel, previewRequires, }: MosaicAgentComposerDesktopProps): React.JSX.Element;
|
|
2911
|
+
declare function MosaicAgentComposerDesktop({ agentName, onAgentNameChange, customInstructions, onCustomInstructionsChange, selectedRole, selectedPersona, selectedFramework, selectedModel, onSelectRole, onSelectPersona, onSelectFramework, onSelectModel, onRemoveRole, onRemovePersona, onRemoveFramework, onSave, onCancel, canSave, isEditMode, labels, agentNameLabel, agentNamePlaceholder, instructionsPlaceholder, modelDescriptionLabel, recommendedBadgeLabel, livePreviewHeading, livePreviewSubheading, previewConfigLabel, customInstructionsPreviewLabel, selectAllModulesLabel, unnamedAgentLabel, formatContextWindow, roleSublabel, personaSublabel, frameworkSublabel, editModuleAriaLabel, removeModuleAriaLabel, selectModuleAriaLabel, changeModuleLabel, previewRequires, }: MosaicAgentComposerDesktopProps): React.JSX.Element;
|
|
2889
2912
|
declare namespace MosaicAgentComposerDesktop {
|
|
2890
2913
|
var displayName: string;
|
|
2891
2914
|
}
|
|
@@ -2935,7 +2958,7 @@ interface MosaicAgentComposerMobileProps extends MosaicAgentComposerProps {
|
|
|
2935
2958
|
* Shares the same props contract as MosaicAgentComposerDesktop (plus isLoading).
|
|
2936
2959
|
* Use MosaicAgentComposer orchestrator to select the right variant automatically.
|
|
2937
2960
|
*/
|
|
2938
|
-
declare function MosaicAgentComposerMobile({ agentName, onAgentNameChange, customInstructions, onCustomInstructionsChange, selectedRole, selectedPersona, selectedFramework, selectedModel, onSelectRole, onSelectPersona, onSelectFramework, onSelectModel, onRemoveRole, onRemovePersona, onRemoveFramework, onSave, onCancel, canSave, isEditMode, isLoading, labels, agentNameLabel, agentNamePlaceholder, instructionsPlaceholder, recommendedBadgeLabel, requiredLabel, goBackAriaLabel, savingLabel, creatingLabel, optionalInstructionsHelp, editModuleAriaLabel, removeModuleAriaLabel, selectModuleAriaLabel, changeModuleLabel, }: MosaicAgentComposerMobileProps): React.JSX.Element;
|
|
2961
|
+
declare function MosaicAgentComposerMobile({ agentName, onAgentNameChange, customInstructions, onCustomInstructionsChange, selectedRole, selectedPersona, selectedFramework, selectedModel, onSelectRole, onSelectPersona, onSelectFramework, onSelectModel, onRemoveRole, onRemovePersona, onRemoveFramework, onSave, onCancel, canSave, isEditMode, isLoading, labels, agentNameLabel, agentNamePlaceholder, instructionsPlaceholder, recommendedBadgeLabel, requiredLabel, goBackAriaLabel, savingLabel, creatingLabel, optionalInstructionsHelp, editModuleAriaLabel, removeModuleAriaLabel, selectModuleAriaLabel, changeModuleLabel, formatContextWindow, }: MosaicAgentComposerMobileProps): React.JSX.Element;
|
|
2939
2962
|
declare namespace MosaicAgentComposerMobile {
|
|
2940
2963
|
var displayName: string;
|
|
2941
2964
|
}
|
|
@@ -4697,8 +4720,12 @@ interface MosaicTemplateCardProps {
|
|
|
4697
4720
|
previewLabel: string;
|
|
4698
4721
|
/** Label for the duplicate action button. Required, no default. */
|
|
4699
4722
|
duplicateLabel: string;
|
|
4723
|
+
/** Badge text for the agent count. Receives the count; host owns the unit word. Required, no default. */
|
|
4724
|
+
formatAgentCount: (count: number) => string;
|
|
4725
|
+
/** Badge text for the usage count. Receives the count; host owns the unit word. Required, no default. */
|
|
4726
|
+
formatUsageCount: (count: number) => string;
|
|
4700
4727
|
}
|
|
4701
|
-
declare function MosaicTemplateCard({ template, isSelected, onSelect, onPreview, onDuplicate, showActions, compact, previewLabel, duplicateLabel, }: MosaicTemplateCardProps): React.JSX.Element;
|
|
4728
|
+
declare function MosaicTemplateCard({ template, isSelected, onSelect, onPreview, onDuplicate, showActions, compact, previewLabel, duplicateLabel, formatAgentCount, formatUsageCount, }: MosaicTemplateCardProps): React.JSX.Element;
|
|
4702
4729
|
declare namespace MosaicTemplateCard {
|
|
4703
4730
|
var displayName: string;
|
|
4704
4731
|
}
|
|
@@ -4779,6 +4806,10 @@ interface MosaicTemplateGalleryProps {
|
|
|
4779
4806
|
/** Required host-owned strings forwarded to every MosaicTemplateCard. */
|
|
4780
4807
|
previewLabel: string;
|
|
4781
4808
|
duplicateLabel: string;
|
|
4809
|
+
/** Forwarded to every MosaicTemplateCard — required, no default. */
|
|
4810
|
+
formatAgentCount: (count: number) => string;
|
|
4811
|
+
/** Forwarded to every MosaicTemplateCard — required, no default. */
|
|
4812
|
+
formatUsageCount: (count: number) => string;
|
|
4782
4813
|
className?: string;
|
|
4783
4814
|
}
|
|
4784
4815
|
declare function MosaicTemplateGallery(props: MosaicTemplateGalleryProps): React.JSX.Element;
|
|
@@ -5012,11 +5043,13 @@ declare namespace MosaicOrgRoleBadge {
|
|
|
5012
5043
|
}
|
|
5013
5044
|
interface MosaicMultiOrgIndicatorProps {
|
|
5014
5045
|
orgCount: number;
|
|
5046
|
+
/** Visible org-count text. Receives the count; host owns the unit word. Required, no default. */
|
|
5047
|
+
formatOrgCount: (count: number) => string;
|
|
5015
5048
|
currentOrgName?: string;
|
|
5016
5049
|
onSwitchOrg?: () => void;
|
|
5017
5050
|
className?: string;
|
|
5018
5051
|
}
|
|
5019
|
-
declare function MosaicMultiOrgIndicator({ orgCount, currentOrgName, onSwitchOrg, className, }: MosaicMultiOrgIndicatorProps): React.JSX.Element | null;
|
|
5052
|
+
declare function MosaicMultiOrgIndicator({ orgCount, formatOrgCount, currentOrgName, onSwitchOrg, className, }: MosaicMultiOrgIndicatorProps): React.JSX.Element | null;
|
|
5020
5053
|
declare namespace MosaicMultiOrgIndicator {
|
|
5021
5054
|
var displayName: string;
|
|
5022
5055
|
}
|
|
@@ -6027,7 +6060,8 @@ declare namespace MosaicMultiTenantProvider {
|
|
|
6027
6060
|
*
|
|
6028
6061
|
* Handles: organization.created, organizationMembership.created,
|
|
6029
6062
|
* organizationMembership.deleted events and routes them through
|
|
6030
|
-
*
|
|
6063
|
+
* your callbacks (this handler imports nothing from cloud-identity; any sync to
|
|
6064
|
+
* Convex happens inside the callbacks you provide).
|
|
6031
6065
|
*
|
|
6032
6066
|
* Usage: import and call in your Next.js App Router API route:
|
|
6033
6067
|
*
|
|
@@ -11481,7 +11515,7 @@ interface MosaicAdminOnlyGuardBaseProps {
|
|
|
11481
11515
|
* See `MosaicOrgContextDisplaySwitchProps` for the same repo-wide pattern.
|
|
11482
11516
|
*/
|
|
11483
11517
|
type MosaicAdminOnlyGuardExitProps = {
|
|
11484
|
-
/** Invoked by the exit button
|
|
11518
|
+
/** Invoked only by the exit button's click on the denied state. Never called automatically — not on mount, not when permissions finish loading; the host owns navigation. */
|
|
11485
11519
|
onExit: () => void;
|
|
11486
11520
|
/** Visible label on the exit button (e.g. "Back to Dashboard"). Required — the button renders whenever `onExit` is provided. */
|
|
11487
11521
|
exitLabel: string;
|
|
@@ -11497,4 +11531,374 @@ declare namespace MosaicAdminOnlyGuard {
|
|
|
11497
11531
|
var displayName: string;
|
|
11498
11532
|
}
|
|
11499
11533
|
|
|
11500
|
-
export { type AiSdkArtifactEntry, type AiSdkArtifactsSource, type ArtifactCanvasSource, type ArtifactType, type Breakpoint, type DeviceContextValue, type Feature3ColItem, type FeatureItem, type FooterColumn, type FooterLink, type HeroCta, type LogoItem, type McpToolResult, type McpToolResultMeta, type McpUiSource, MosaicAccordion, MosaicAccordionItem, type MosaicAccordionItemProps, MosaicAccordionPanel, type MosaicAccordionPanelProps, type MosaicAccordionProps, MosaicAccordionTrigger, type MosaicAccordionTriggerProps, type MosaicActionAccent, type MosaicActivity, MosaicActivityFeed, type MosaicActivityFeedProps, MosaicActivityItem, type MosaicActivityItemProps, type MosaicActivityStatus, MosaicAdaptiveGrid, type MosaicAdaptiveGridProps, MosaicAdaptiveModal, type MosaicAdaptiveModalProps, MosaicAdaptiveNavigation, type MosaicAdaptiveNavigationProps, MosaicAddMemoryForm, type MosaicAddMemoryFormProps, MosaicAdminOnlyGuard, type MosaicAdminOnlyGuardBaseProps, type MosaicAdminOnlyGuardExitProps, type MosaicAdminOnlyGuardProps, MosaicAgentBuilderModal, type MosaicAgentBuilderModalProps, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentChat, type MosaicAgentChatApprovalLabels, type MosaicAgentChatApprovalRequest, type MosaicAgentChatApprovalResponsePayload, type MosaicAgentChatMessage, type MosaicAgentChatMessagePart, type MosaicAgentChatProps, type MosaicAgentChatState, type MosaicAgentChatToolPart, type MosaicAgentChatToolPartState, MosaicAgentComposer, MosaicAgentComposerDesktop, type MosaicAgentComposerDesktopProps, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentEditor, type MosaicAgentEditorProps, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentPreview, type MosaicAgentPreviewAttribute, type MosaicAgentPreviewDetailedProps, type MosaicAgentPreviewProps, type MosaicAgentPreviewSummaryProps, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAlertDialog, MosaicAlertDialogAction, type MosaicAlertDialogActionProps, MosaicAlertDialogCancel, type MosaicAlertDialogCancelProps, MosaicAlertDialogContent, type MosaicAlertDialogContentProps, MosaicAlertDialogDescription, type MosaicAlertDialogDescriptionProps, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, type MosaicAlertDialogOverlayProps, MosaicAlertDialogPortal, MosaicAlertDialogTitle, type MosaicAlertDialogTitleProps, MosaicAlertDialogTrigger, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicApiKeyPanel, type MosaicApiKeyPanelProps, type MosaicApiKeyPanelProvider, type MosaicApiKeyPanelState, MosaicAppSidebar, type MosaicAppSidebarProps, MosaicApprovalPrompt, type MosaicApprovalPromptProps, type MosaicApprovalPromptState, MosaicArtifactCanvasAdapter, type MosaicArtifactCanvasAdapterLabels, type MosaicArtifactCanvasAdapterProps, MosaicArtifactChart, type MosaicArtifactChartConfig, type MosaicArtifactChartData, type MosaicArtifactChartLabels, type MosaicArtifactChartProps, type MosaicArtifactChartType, MosaicArtifactChecklist, type MosaicArtifactChecklistData, type MosaicArtifactChecklistItem, type MosaicArtifactChecklistLabels, type MosaicArtifactChecklistPriority, type MosaicArtifactChecklistProps, MosaicArtifactDataTable, type MosaicArtifactDataTableColumn, type MosaicArtifactDataTableData, type MosaicArtifactDataTableLabels, type MosaicArtifactDataTableProps, MosaicArtifactDocument, type MosaicArtifactDocumentData, type MosaicArtifactDocumentLabels, type MosaicArtifactDocumentProps, type MosaicArtifactDocumentSection, MosaicArtifactLibrary, type MosaicArtifactLibraryItem, type MosaicArtifactLibraryProps, type MosaicArtifactSaveAsMemoryArtifact, type MosaicArtifactSaveAsMemoryArtifactType, MosaicArtifactSaveAsMemoryForm, type MosaicArtifactSaveAsMemoryFormProps, type MosaicArtifactSaveAsMemoryScopeOption, MosaicArtifactVersionHistory, type MosaicArtifactVersionHistoryBaseProps, type MosaicArtifactVersionHistoryProps, type MosaicArtifactVersionHistoryRestoreProps, type MosaicArtifactVersionHistoryVersion, MosaicAvatar, type MosaicAvatarProps, MosaicBadge, type MosaicBadgeProps, MosaicBlurredOrb, type MosaicBlurredOrbProps, type MosaicBreadcrumb, MosaicButton, type MosaicButtonProps, MosaicCallout, type MosaicCalloutProps, MosaicCard, MosaicCardContent, type MosaicCardContentProps, MosaicCardDescription, type MosaicCardDescriptionProps, MosaicCardFooter, type MosaicCardFooterProps, MosaicCardHeader, type MosaicCardHeaderProps, type MosaicCardProps, MosaicCardTitle, type MosaicCardTitleProps, MosaicChatComposer, type MosaicChatComposerProps, type MosaicChatComposerState, MosaicChatMessage, type MosaicChatMessageAttachmentPart, type MosaicChatMessagePart, type MosaicChatMessageProps, type MosaicChatMessageReasoningPart, type MosaicChatMessageSenderRole, type MosaicChatMessageTextPart, type MosaicChatMessageToolPart, type MosaicChatMessageToolState, type MosaicChatMessageToolStatusLabels, MosaicChatSidebar, type MosaicChatSidebarProps, MosaicChatThread, type MosaicChatThreadProps, MosaicCheckbox, type MosaicCheckboxProps, type MosaicClerkMembership, MosaicClerkOrgSwitcher, type MosaicClerkOrgSwitcherProps, type MosaicClerkOrganization, MosaicClerkWebhookHandler, type MosaicClerkWebhookHandlerOptions, MosaicCollapsible, MosaicCollapsiblePanel, type MosaicCollapsiblePanelProps, type MosaicCollapsibleProps, MosaicCollapsibleTrigger, type MosaicCollapsibleTriggerProps, MosaicCombobox, type MosaicComboboxItem, type MosaicComboboxProps, type MosaicComposerModel, type MosaicComposerModule, MosaicCounter, type MosaicCounterProps, MosaicCreateOrgDialog, type MosaicCreateOrgDialogProps, MosaicDashboardContent, type MosaicDashboardContentProps, MosaicDashboardHeader, type MosaicDashboardHeaderProps, MosaicDashboardLayout, type MosaicDashboardLayoutProps, type MosaicDashboardView, MosaicDataTable, type MosaicDataTableColumn, type MosaicDataTablePagination, type MosaicDataTableProps, MosaicDeleteConfirmationDialog, type MosaicDeleteConfirmationDialogProps, MosaicDeviceProvider, type MosaicDeviceProviderProps, MosaicDocumentUpload, type MosaicDocumentUploadFile, type MosaicDocumentUploadFileStatus, type MosaicDocumentUploadProps, MosaicDrawer, type MosaicDrawerProps, MosaicDropdownMenu, type MosaicDropdownMenuItem, type MosaicDropdownMenuProps, MosaicEditMemoryDialog, type MosaicEditMemoryDialogProps, MosaicEditSessionDialog, type MosaicEditSessionDialogProps, MosaicEditableCell, type MosaicEditableCellProps, MosaicEmptyState, type MosaicEmptyStateProps, MosaicFallingPattern, type MosaicFallingPatternProps, MosaicFeature3Col, type MosaicFeature3ColProps, MosaicFeatureCenteredMedia, type MosaicFeatureCenteredMediaProps, MosaicField, MosaicFieldControl, type MosaicFieldControlProps, MosaicFieldDescription, type MosaicFieldDescriptionProps, MosaicFieldError, type MosaicFieldErrorProps, MosaicFieldLabel, type MosaicFieldLabelProps, type MosaicFieldProps, MosaicFilterBar, type MosaicFilterBarProps, type MosaicFilterOption, MosaicFilterSidebar, type MosaicFilterSidebarProps, MosaicFooterSimple, type MosaicFooterSimpleProps, MosaicHeroSplit, type MosaicHeroSplitProps, MosaicInput, MosaicInputGroup, type MosaicInputGroupProps, type MosaicInputProps, MosaicIntegrationsBadge, type MosaicIntegrationsBadgeProps, MosaicInviteMemberDialog, type MosaicInviteMemberDialogProps, MosaicKanbanBoard, type MosaicKanbanBoardProps, MosaicKanbanColumn, type MosaicKanbanColumnProps, MosaicLogosGrid, type MosaicLogosGridProps, MosaicMainNav, type MosaicMainNavProps, MosaicMarkdown, type MosaicMarkdownProps, MosaicMarketplaceCard, type MosaicMarketplaceCardProps, type MosaicMarketplaceItem, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, type MosaicMarketplaceListProps, MosaicMatchInput, type MosaicMatchInputProps, type MosaicMatchInputState, type MosaicMatchInputStateLabels, MosaicMemberList, type MosaicMemberListProps, MosaicMemoryCard, type MosaicMemoryCardProps, MosaicMemoryDashboard, type MosaicMemoryDashboardProps, type MosaicMemoryDashboardStat, type MosaicMemoryDashboardViewMode, type MosaicMemoryData, MosaicMemoryGrid, type MosaicMemoryGridProps, MosaicMemoryList, type MosaicMemoryListProps, type MosaicMemoryScope, MosaicMemorySearch, type MosaicMemorySearchFilter, type MosaicMemorySearchProps, type MosaicMemorySource, MosaicMentionInput, type MosaicMentionInputProps, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, MosaicMessageSearch, type MosaicMessageSearchProps, type MosaicMessageSender, type MosaicMessageSenderType, type MosaicModelOption, MosaicModelSelector, type MosaicModelSelectorProps, MosaicModuleCard, type MosaicModuleCardProps, type MosaicModuleData, MosaicModuleForm, type MosaicModuleFormField, type MosaicModuleFormProps, type MosaicModuleItem, MosaicModuleLibrary, type MosaicModuleLibraryProps, type MosaicModuleType, MosaicMultiOrgIndicator, type MosaicMultiOrgIndicatorProps, MosaicMultiTenantProvider, type MosaicMultiTenantProviderProps, type MosaicNavItem, MosaicNavbar, type MosaicNavbarProps, type MosaicNavigationItem, type MosaicOrg, MosaicOrgContextDisplay, type MosaicOrgContextDisplayBaseProps, type MosaicOrgContextDisplayProps, type MosaicOrgContextDisplaySwitchProps, type MosaicOrgContextInfo, type MosaicOrgInfo, type MosaicOrgMember, MosaicOrgPanel, type MosaicOrgPanelProps, type MosaicOrgPanelTab, MosaicOrgProfilePage, type MosaicOrgProfilePageProps, type MosaicOrgRole, MosaicOrgRoleBadge, type MosaicOrgRoleBadgeProps, type MosaicOrgStats, MosaicOrgSwitcher, type MosaicOrgSwitcherProps, MosaicPdfViewer, type MosaicPdfViewerProps, MosaicPopover, type MosaicPopoverProps, type MosaicSelectItem as MosaicPrefSelectItem, type MosaicPreference, type MosaicPreferenceGroup, MosaicPreferencesPanel, type MosaicPreferencesPanelProps, MosaicPricingCard, type MosaicPricingCardProps, type MosaicProfileField, MosaicProfilePanel, type MosaicProfilePanelProps, MosaicProgress, type MosaicProgressProps, type MosaicQuickAction$1 as MosaicQuickAction, MosaicQuickActionCard, type MosaicQuickActionCardProps, MosaicQuickActionsMenu, type MosaicQuickAction as MosaicQuickActionsMenuItem, type MosaicQuickActionsMenuProps, type MosaicQuickAgent, MosaicQuickAgentSelector, type MosaicQuickAgentSelectorProps, MosaicQuickStartPanel, type MosaicQuickStartPanelProps, MosaicRadioGroup, MosaicRadioGroupItem, type MosaicRadioGroupItemProps, type MosaicRadioGroupProps, MosaicReplyInput, type MosaicReplyInputProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, MosaicSaveChatAsMemoryForm, type MosaicSaveChatAsMemoryFormProps, MosaicSaveTemplateModal, type MosaicSaveTemplateModalProps, type MosaicScenario, MosaicScrollArea, type MosaicScrollAreaProps, MosaicSelect, type MosaicSelectItem$1 as MosaicSelectItem, type MosaicSelectProps, type MosaicSelectorCategory, type MosaicSelectorItem, MosaicSelectorModal, type MosaicSelectorModalProps, MosaicSeparator, type MosaicSeparatorProps, MosaicSessionCard, type MosaicSessionCardInteractionProps, type MosaicSessionCardProps, type MosaicSessionCardVariantProps, type MosaicSessionData, MosaicSessionList, type MosaicSessionListLayout, type MosaicSessionListProps, type MosaicSessionStatus, type MosaicSidebarFooterStatus, type MosaicSidebarNavItem, type MosaicSidebarQuickAction, type MosaicSidebarRecentItem, MosaicSignInLayout, type MosaicSignInLayoutProps, MosaicSignUpLayout, type MosaicSignUpLayoutProps, MosaicSkeleton, type MosaicSkeletonProps, MosaicSlider, type MosaicSliderProps, type MosaicStatItem, MosaicStatsGrid, type MosaicStatsGridProps, type MosaicStep, MosaicStepPipeline, type MosaicStepPipelineDotsProps, type MosaicStepPipelineProps, type MosaicStepPipelineSegmentsProps, type MosaicStepStatus, MosaicSwitch, type MosaicSwitchProps, MosaicTabs, MosaicTabsList, type MosaicTabsListProps, MosaicTabsPanel, type MosaicTabsPanelProps, type MosaicTabsProps, MosaicTabsTrigger, type MosaicTabsTriggerProps, MosaicTagInput, type MosaicTagInputProps, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateAgentCard, type MosaicTemplateAgentCardProps, type MosaicTemplateAgentData, MosaicTemplateCard, type MosaicTemplateCardProps, type MosaicTemplateCategory, MosaicTemplateCategoryChips, type MosaicTemplateCategoryChipsProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, MosaicTemplateList, type MosaicTemplateListProps, type MosaicTemplateManagementItem, MosaicTemplateManagementPanel, type MosaicTemplateManagementPanelProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, MosaicThreadIndicator, type MosaicThreadIndicatorProps, type MosaicThreadIndicatorReplyStatus, MosaicThreadView, type MosaicThreadViewMessage, type MosaicThreadViewProps, MosaicToast, type MosaicToastProps, MosaicToastProvider, type MosaicToastProviderPosition, type MosaicToastProviderProps, type MosaicToastVariant, MosaicToolToggleList, type MosaicToolToggleListApprovalLevel, type MosaicToolToggleListProps, type MosaicToolToggleListSection, type MosaicToolToggleListTool, MosaicTooltip, MosaicTooltipContent, type MosaicTooltipContentProps, type MosaicTooltipProps, MosaicTooltipProvider, type MosaicTooltipProviderProps, MosaicTooltipRoot, type MosaicTooltipRootProps, MosaicTooltipTrigger, type MosaicTooltipTriggerProps, MosaicUrlScraper, type MosaicUrlScraperContent, type MosaicUrlScraperProps, type MosaicUrlScraperState, MosaicUserButton, type MosaicUserButtonProps, type MosaicWorkspaceContext, type NavCta, type NavLink, type NormalizedArtifact, type OrbPosition, type Orientation, Placeholder, type PricingCta, type SocialLink, type StatItem, type TestimonialItem, type Theme, addMemoryFormButtonVariants, addMemoryFormErrorVariants, addMemoryFormFieldVariants, addMemoryFormFooterVariants, addMemoryFormRootVariants, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, artifactSaveAsMemoryFormButtonVariants, artifactSaveAsMemoryFormErrorVariants, artifactSaveAsMemoryFormFieldVariants, artifactSaveAsMemoryFormFooterVariants, artifactSaveAsMemoryFormLearningVariants, artifactSaveAsMemoryFormPreviewVariants, artifactSaveAsMemoryFormRootVariants, badgeVariants, buttonVariants, calloutVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, chatSidebarThreadVariants, drawerBackdropVariants, drawerPopupVariants, editMemoryDialogBackdropVariants, editMemoryDialogErrorVariants, editMemoryDialogFieldVariants, editMemoryDialogPopupVariants, editSessionDialogBodyVariants, editSessionDialogButtonVariants, editSessionDialogErrorVariants, editSessionDialogFieldVariants, editSessionDialogFooterVariants, editableCellVariants, marketplaceCardVariants, matchStateVariants, memoryDashboardViewToggleButtonVariants, memoryGridVariants, memoryListItemVariants, memoryListVariants, memorySearchFilterChipVariants, mentionInputFieldVariants, mentionListItemVariants, mentionListVariants, normalizeArtifact, normalizeFromAiSdkArtifacts, normalizeFromMcpToolResult, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, popoverPopupVariants, replyInputActionButtonVariants, replyInputContextVariants, replyInputRootVariants, replyInputTextareaVariants, saveChatAsMemoryFormButtonVariants, saveChatAsMemoryFormErrorVariants, saveChatAsMemoryFormFieldVariants, saveChatAsMemoryFormFooterVariants, saveChatAsMemoryFormRootVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, sessionCardVariants, sessionListItemVariants, sessionListVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, templateManagementRowVariants, threadIndicatorCountVariants, threadIndicatorRootVariants, threadViewEmptyVariants, threadViewRepliesVariants, threadViewReplyVariants, threadViewRootMessageVariants, threadViewRootVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|
|
11534
|
+
/**
|
|
11535
|
+
* The tabs of a document-review panel, named by ROLE (never by a business noun).
|
|
11536
|
+
*
|
|
11537
|
+
* - "compare" document and fields side by side — the INITIAL tab.
|
|
11538
|
+
* - "document" the document alone.
|
|
11539
|
+
* - "row" the row's fields alone.
|
|
11540
|
+
*/
|
|
11541
|
+
type ReviewPanelTab = "compare" | "document" | "row";
|
|
11542
|
+
declare const REVIEW_PANEL_TABS: readonly ReviewPanelTab[];
|
|
11543
|
+
/** A panel opens on Compare: reading the document and editing the fields at once is the point. */
|
|
11544
|
+
declare const INITIAL_REVIEW_PANEL_TAB: ReviewPanelTab;
|
|
11545
|
+
|
|
11546
|
+
type NavDirection = "prev" | "next";
|
|
11547
|
+
declare function isEditableTarget(target: EventTarget | null): boolean;
|
|
11548
|
+
/** Neighbour row id, or null at either end or when the current id is not listed. */
|
|
11549
|
+
declare function neighbourRowId(orderedRowIds: readonly string[], currentRowId: string, direction: NavDirection): string | null;
|
|
11550
|
+
|
|
11551
|
+
/**
|
|
11552
|
+
* Generic column model. Ships no field name and no label of its own: ids, labels
|
|
11553
|
+
* and accessors all come from the host.
|
|
11554
|
+
*/
|
|
11555
|
+
type FieldValue = string | number | boolean | null;
|
|
11556
|
+
interface ReviewColumn<T> {
|
|
11557
|
+
/** Stable column id. */
|
|
11558
|
+
id: string;
|
|
11559
|
+
/** Host-supplied label (the host owns the language). */
|
|
11560
|
+
label: string;
|
|
11561
|
+
/** Whether the column is shown before the user changes anything. */
|
|
11562
|
+
defaultVisible: boolean;
|
|
11563
|
+
/** Reads this column's value from a row. */
|
|
11564
|
+
accessor: (row: T) => FieldValue;
|
|
11565
|
+
/** False for derived columns that must never be typed by hand. Defaults to true. */
|
|
11566
|
+
editable?: boolean;
|
|
11567
|
+
}
|
|
11568
|
+
/** Explicit visibility per column id; an absent id falls back to `defaultVisible`. */
|
|
11569
|
+
type ColumnVisibility = Readonly<Record<string, boolean>>;
|
|
11570
|
+
declare function initialColumnVisibility<T>(columns: readonly ReviewColumn<T>[]): ColumnVisibility;
|
|
11571
|
+
declare function toggleColumnVisibility<T>(columns: readonly ReviewColumn<T>[], visibility: ColumnVisibility, id: string): ColumnVisibility;
|
|
11572
|
+
/** Columns to show, in column order. An unknown id in `visibility` throws, naming it. */
|
|
11573
|
+
declare function visibleColumns<T>(columns: readonly ReviewColumn<T>[], visibility: ColumnVisibility): ReviewColumn<T>[];
|
|
11574
|
+
|
|
11575
|
+
/**
|
|
11576
|
+
* The write path of a field correction: validate, write, and on failure hand back
|
|
11577
|
+
* the row from BEFORE.
|
|
11578
|
+
*
|
|
11579
|
+
* A failed write must never leave the screen showing a value the store does not
|
|
11580
|
+
* hold. The function is pure with respect to its input: it never mutates the row,
|
|
11581
|
+
* it returns a new one, so the caller replaces what it displays with what comes
|
|
11582
|
+
* back and has no decision to take.
|
|
11583
|
+
*
|
|
11584
|
+
* Provenance: the ORIGINAL value is kept (the first one, across successive
|
|
11585
|
+
* corrections), next to the corrected value, who made it, when, and the host's
|
|
11586
|
+
* provenance tag.
|
|
11587
|
+
*/
|
|
11588
|
+
|
|
11589
|
+
interface CorrectionRecord {
|
|
11590
|
+
original: FieldValue;
|
|
11591
|
+
corrected: FieldValue;
|
|
11592
|
+
by: string;
|
|
11593
|
+
/** ISO-8601 instant. */
|
|
11594
|
+
at: string;
|
|
11595
|
+
provenance: string;
|
|
11596
|
+
}
|
|
11597
|
+
interface ReviewRow {
|
|
11598
|
+
id: string;
|
|
11599
|
+
values: Readonly<Record<string, FieldValue>>;
|
|
11600
|
+
corrections?: Readonly<Record<string, CorrectionRecord>>;
|
|
11601
|
+
}
|
|
11602
|
+
/** What the correction UI hands to the host, and what the host passes on to the writer. */
|
|
11603
|
+
interface FieldCorrectionRequest {
|
|
11604
|
+
rowId: string;
|
|
11605
|
+
field: string;
|
|
11606
|
+
/** The user's raw input. */
|
|
11607
|
+
input: string;
|
|
11608
|
+
by: string;
|
|
11609
|
+
provenance: string;
|
|
11610
|
+
}
|
|
11611
|
+
/**
|
|
11612
|
+
* `value` is the value as the store re-read it. It is OPTIONAL on purpose: a store
|
|
11613
|
+
* that does not echo it yields an unconfirmed result, never a silent success.
|
|
11614
|
+
* Presence is what counts (`"value" in response`): `null` confirms an erasure.
|
|
11615
|
+
*/
|
|
11616
|
+
type FieldWriteResponse = {
|
|
11617
|
+
ok: true;
|
|
11618
|
+
value?: FieldValue;
|
|
11619
|
+
} | {
|
|
11620
|
+
ok: false;
|
|
11621
|
+
message: string;
|
|
11622
|
+
};
|
|
11623
|
+
type FieldValidation = {
|
|
11624
|
+
ok: true;
|
|
11625
|
+
value: FieldValue;
|
|
11626
|
+
} | {
|
|
11627
|
+
ok: false;
|
|
11628
|
+
message: string;
|
|
11629
|
+
};
|
|
11630
|
+
type FieldValidator = (field: string, input: string, row: ReviewRow) => FieldValidation;
|
|
11631
|
+
interface ApplyFieldCorrectionArgs extends Omit<FieldCorrectionRequest, "rowId"> {
|
|
11632
|
+
row: ReviewRow;
|
|
11633
|
+
write: (request: FieldCorrectionRequest) => Promise<FieldWriteResponse>;
|
|
11634
|
+
/** Defaults to accepting the raw input as the value. */
|
|
11635
|
+
validate?: FieldValidator;
|
|
11636
|
+
/** Injectable clock, ISO-8601. Defaults to the current instant. */
|
|
11637
|
+
now?: () => string;
|
|
11638
|
+
}
|
|
11639
|
+
type FieldCorrectionResult = {
|
|
11640
|
+
ok: true;
|
|
11641
|
+
row: ReviewRow;
|
|
11642
|
+
confirmed: boolean;
|
|
11643
|
+
} | {
|
|
11644
|
+
ok: false;
|
|
11645
|
+
row: ReviewRow;
|
|
11646
|
+
message: string;
|
|
11647
|
+
};
|
|
11648
|
+
declare function applyFieldCorrection(args: ApplyFieldCorrectionArgs): Promise<FieldCorrectionResult>;
|
|
11649
|
+
/** Three outcomes, never two: "uncertain" is a write that succeeded but was not read back. */
|
|
11650
|
+
declare function correctionOutcome(result: FieldCorrectionResult): "ok" | "uncertain" | "failed";
|
|
11651
|
+
|
|
11652
|
+
interface MosaicDocumentTableRowContext {
|
|
11653
|
+
rowId: string;
|
|
11654
|
+
/** Row ids in display order — what prev/next navigation walks. */
|
|
11655
|
+
orderedRowIds: string[];
|
|
11656
|
+
/** Select another row (the panel stays open on it). */
|
|
11657
|
+
selectRow: (rowId: string) => void;
|
|
11658
|
+
/** Close the panel. */
|
|
11659
|
+
closeRow: () => void;
|
|
11660
|
+
}
|
|
11661
|
+
interface MosaicDocumentTableProps<T> {
|
|
11662
|
+
columns: ReviewColumn<T>[];
|
|
11663
|
+
rows: T[];
|
|
11664
|
+
getRowId: (row: T) => string;
|
|
11665
|
+
/** Overrides the model's `defaultVisible` per column id. */
|
|
11666
|
+
columnVisibility?: ColumnVisibility;
|
|
11667
|
+
/** Controlled selection. Omit for internal state. */
|
|
11668
|
+
selectedRowId?: string | null;
|
|
11669
|
+
onSelectedRowChange?: (rowId: string | null) => void;
|
|
11670
|
+
/** Rendered for the selected row. */
|
|
11671
|
+
renderPanel?: (row: T, context: MosaicDocumentTableRowContext) => React.ReactNode;
|
|
11672
|
+
/** Required — the host owns the language. */
|
|
11673
|
+
emptyMessage: string;
|
|
11674
|
+
className?: string;
|
|
11675
|
+
}
|
|
11676
|
+
declare function MosaicDocumentTable<T>({ columns, rows, getRowId, columnVisibility, selectedRowId: controlledSelectedRowId, onSelectedRowChange, renderPanel, emptyMessage, className, }: MosaicDocumentTableProps<T>): React.JSX.Element;
|
|
11677
|
+
declare namespace MosaicDocumentTable {
|
|
11678
|
+
var displayName: string;
|
|
11679
|
+
}
|
|
11680
|
+
|
|
11681
|
+
interface MosaicDocumentCriteriaPanelLabels {
|
|
11682
|
+
tabCompare: string;
|
|
11683
|
+
tabDocument: string;
|
|
11684
|
+
tabRow: string;
|
|
11685
|
+
previous: string;
|
|
11686
|
+
next: string;
|
|
11687
|
+
documentLoading: string;
|
|
11688
|
+
documentError: string;
|
|
11689
|
+
collapse: string;
|
|
11690
|
+
resize: string;
|
|
11691
|
+
/** Accessible name of a field's editor, from its column label. */
|
|
11692
|
+
editField: (columnLabel: string) => string;
|
|
11693
|
+
}
|
|
11694
|
+
interface MosaicDocumentCriteriaPanelProps<T> {
|
|
11695
|
+
row: T;
|
|
11696
|
+
rowId: string;
|
|
11697
|
+
/** The column model; the fields shown are its visible columns. */
|
|
11698
|
+
columns: ReviewColumn<T>[];
|
|
11699
|
+
/** Overrides the model's `defaultVisible` per column id. */
|
|
11700
|
+
columnVisibility?: ColumnVisibility;
|
|
11701
|
+
documentUrl: string;
|
|
11702
|
+
/** Row ids in display order. */
|
|
11703
|
+
orderedRowIds: readonly string[];
|
|
11704
|
+
onNavigate: (rowId: string) => void;
|
|
11705
|
+
/** Receives the correction request, with actor and provenance. */
|
|
11706
|
+
onCorrect: (request: FieldCorrectionRequest) => unknown;
|
|
11707
|
+
/** Who is correcting. */
|
|
11708
|
+
actor: string;
|
|
11709
|
+
/** Provenance tag recorded with every correction made from this panel. */
|
|
11710
|
+
correctionProvenance: string;
|
|
11711
|
+
/** Provenance label shown next to a field (source name, corrected by…), or null for none. */
|
|
11712
|
+
provenanceLabel: (row: T, column: ReviewColumn<T>) => string | null;
|
|
11713
|
+
labels: MosaicDocumentCriteriaPanelLabels;
|
|
11714
|
+
/** Defaults to Compare. */
|
|
11715
|
+
defaultTab?: ReviewPanelTab;
|
|
11716
|
+
className?: string;
|
|
11717
|
+
}
|
|
11718
|
+
declare function MosaicDocumentCriteriaPanel<T>({ row, rowId, columns, columnVisibility, documentUrl, orderedRowIds, onNavigate, onCorrect, actor, correctionProvenance, provenanceLabel, labels, defaultTab, className, }: MosaicDocumentCriteriaPanelProps<T>): React.JSX.Element;
|
|
11719
|
+
declare namespace MosaicDocumentCriteriaPanel {
|
|
11720
|
+
var displayName: string;
|
|
11721
|
+
}
|
|
11722
|
+
|
|
11723
|
+
interface GrilleRegistreProps<T> {
|
|
11724
|
+
lignes: readonly T[];
|
|
11725
|
+
columnDefs: readonly ColDef<T>[];
|
|
11726
|
+
/** Stable row identity: a correction after a sort reaches its row. */
|
|
11727
|
+
getRowId: (ligne: T) => string;
|
|
11728
|
+
/** Global search, applied by the grid across every visible column. */
|
|
11729
|
+
filtreGlobal?: string;
|
|
11730
|
+
/** AG Grid theme; defaults to `registreGridTheme` (HeroUI variables). */
|
|
11731
|
+
theme?: Theme$1;
|
|
11732
|
+
onGridReady?: (e: GridReadyEvent<T>) => void;
|
|
11733
|
+
/** Fired when a grid cell has just been validated (in-grid edit). */
|
|
11734
|
+
onCelluleEditee?: (e: CellValueChangedEvent<T>) => void;
|
|
11735
|
+
/** Per-row style, e.g. the selected-row highlight. */
|
|
11736
|
+
getRowStyle?: (p: RowClassParams<T>) => RowStyle | undefined;
|
|
11737
|
+
/** ms before a cell tooltip shows; set when columns carry tooltips. */
|
|
11738
|
+
tooltipShowDelay?: number;
|
|
11739
|
+
/** false lets a cell take keyboard focus (needed for in-grid edit). */
|
|
11740
|
+
suppressCellFocus?: boolean;
|
|
11741
|
+
/** A cell click, e.g. to open a row's detail panel. */
|
|
11742
|
+
onCellClicked?: (e: CellClickedEvent<T>) => void;
|
|
11743
|
+
/** Fixed row height; set when a cell carries a tall control (a row action). */
|
|
11744
|
+
rowHeight?: number;
|
|
11745
|
+
/** AG Grid layout; `"autoHeight"` grows the grid to its rows (no inner scroll). */
|
|
11746
|
+
domLayout?: "normal" | "autoHeight" | "print";
|
|
11747
|
+
/** Refit columns on a size change — `refitColumns` on an autoHeight grid. */
|
|
11748
|
+
onGridSizeChanged?: (e: GridSizeChangedEvent<T>) => void;
|
|
11749
|
+
}
|
|
11750
|
+
declare function GrilleRegistre<T>({ lignes, columnDefs, getRowId, filtreGlobal, theme, onGridReady, onCelluleEditee, getRowStyle, tooltipShowDelay, suppressCellFocus, onCellClicked, rowHeight, domLayout, onGridSizeChanged, }: GrilleRegistreProps<T>): React.JSX.Element;
|
|
11751
|
+
|
|
11752
|
+
interface PanneauRegistreShellLabels {
|
|
11753
|
+
/** Accessible name of the left-edge resize handle. */
|
|
11754
|
+
resizeHandle: string;
|
|
11755
|
+
/** Accessible name of the close trigger. */
|
|
11756
|
+
close: string;
|
|
11757
|
+
previousRow: string;
|
|
11758
|
+
nextRow: string;
|
|
11759
|
+
}
|
|
11760
|
+
interface PanneauRegistreShellProps {
|
|
11761
|
+
open: boolean;
|
|
11762
|
+
onOpenChange: (open: boolean) => void;
|
|
11763
|
+
labels: PanneauRegistreShellLabels;
|
|
11764
|
+
/** The dialog's accessible name. */
|
|
11765
|
+
ariaLabel?: string;
|
|
11766
|
+
/** The header line naming the row in words. */
|
|
11767
|
+
contexte: string;
|
|
11768
|
+
/** Optional header controls (e.g. a compare toggle), left of the close trigger. */
|
|
11769
|
+
headerActions?: ReactNode;
|
|
11770
|
+
/** When set, overrides the resizable width for the duration (e.g. a compare mode). */
|
|
11771
|
+
forceWidthRatio?: number | null;
|
|
11772
|
+
onPrev: () => void;
|
|
11773
|
+
onNext: () => void;
|
|
11774
|
+
prevDisabled: boolean;
|
|
11775
|
+
nextDisabled: boolean;
|
|
11776
|
+
/** The panel body. The mounting screen puts the ROW'S FIELDS FIRST here. */
|
|
11777
|
+
children: ReactNode;
|
|
11778
|
+
}
|
|
11779
|
+
declare function PanneauRegistreShell({ open, onOpenChange, labels, ariaLabel, contexte, headerActions, forceWidthRatio, onPrev, onNext, prevDisabled, nextDisabled, children, }: PanneauRegistreShellProps): React.JSX.Element;
|
|
11780
|
+
|
|
11781
|
+
/**
|
|
11782
|
+
* The column/field declaration a registry screen supplies. It is DATA, never a
|
|
11783
|
+
* code branch: the grid, the column chooser and the per-field edit all read it,
|
|
11784
|
+
* so a new registry screen declares its columns without touching a component.
|
|
11785
|
+
*/
|
|
11786
|
+
type TypeColonneRegistre = "texte" | "nombre" | "entier" | "montant";
|
|
11787
|
+
interface ColonneRegistre {
|
|
11788
|
+
/** The key of the field on the row (technical identity). */
|
|
11789
|
+
champ: string;
|
|
11790
|
+
/** The source column letter, shown in the chooser and the panel. */
|
|
11791
|
+
lettre: string;
|
|
11792
|
+
/** The displayed label. */
|
|
11793
|
+
libelle: string;
|
|
11794
|
+
/** Drives formatting: the panel renders a number per this type. */
|
|
11795
|
+
type: TypeColonneRegistre;
|
|
11796
|
+
/** true = pencil + edit; false = the host's « computed » label. */
|
|
11797
|
+
editable: boolean;
|
|
11798
|
+
/** Optional closed set of a choice field, rendered as a menu. */
|
|
11799
|
+
valeurs?: readonly string[];
|
|
11800
|
+
/** Optional minimum width hint for the grid column. */
|
|
11801
|
+
largeurMin?: number;
|
|
11802
|
+
}
|
|
11803
|
+
/** The columns a chooser offers: only identity and label are needed. */
|
|
11804
|
+
interface ColonneChoisie {
|
|
11805
|
+
champ: string;
|
|
11806
|
+
lettre: string;
|
|
11807
|
+
libelle: string;
|
|
11808
|
+
}
|
|
11809
|
+
/** Which columns the user wants to see. true = visible; an absent field reads as visible. */
|
|
11810
|
+
type EtatVisibilite = Readonly<Record<string, boolean>>;
|
|
11811
|
+
declare function estVisible(etat: EtatVisibilite, champ: string): boolean;
|
|
11812
|
+
|
|
11813
|
+
interface ChoixColonnesLabels {
|
|
11814
|
+
/** The trigger's text, given the number of hidden columns (derived each render). */
|
|
11815
|
+
columnsButton: (hiddenCount: number) => string;
|
|
11816
|
+
/** Accessible name of the checkbox group. */
|
|
11817
|
+
columnsGroupAriaLabel: string;
|
|
11818
|
+
}
|
|
11819
|
+
interface ChoixColonnesProps {
|
|
11820
|
+
colonnes: readonly ColonneChoisie[];
|
|
11821
|
+
visibilite: EtatVisibilite;
|
|
11822
|
+
onBasculer: (champ: string) => void;
|
|
11823
|
+
labels: ChoixColonnesLabels;
|
|
11824
|
+
/** Display transform of a column label (casing); identity when omitted. */
|
|
11825
|
+
formatLibelle?: (libelle: string) => string;
|
|
11826
|
+
/** For layout tests only: render the chooser already open. */
|
|
11827
|
+
ouvertParDefaut?: boolean;
|
|
11828
|
+
}
|
|
11829
|
+
declare function ChoixColonnes({ colonnes, visibilite, onBasculer, labels, formatLibelle, ouvertParDefaut, }: ChoixColonnesProps): React.JSX.Element;
|
|
11830
|
+
|
|
11831
|
+
interface RegistreEcranLabels extends ChoixColonnesLabels {
|
|
11832
|
+
searchPlaceholder: string;
|
|
11833
|
+
searchAriaLabel: string;
|
|
11834
|
+
enterFullscreen: string;
|
|
11835
|
+
exitFullscreen: string;
|
|
11836
|
+
}
|
|
11837
|
+
interface RegistreEcranProps {
|
|
11838
|
+
/** Section landmark label. */
|
|
11839
|
+
ariaLabel: string;
|
|
11840
|
+
labels: RegistreEcranLabels;
|
|
11841
|
+
/** The columns the chooser offers. */
|
|
11842
|
+
colonnes: readonly ColonneChoisie[];
|
|
11843
|
+
visibilite: EtatVisibilite;
|
|
11844
|
+
onBasculerColonne: (champ: string) => void;
|
|
11845
|
+
/** Display transform of a column label in the chooser; identity when omitted. */
|
|
11846
|
+
formatLibelleColonne?: (libelle: string) => string;
|
|
11847
|
+
/** Global search text, owned by the host. */
|
|
11848
|
+
filtreGlobal: string;
|
|
11849
|
+
onFiltreGlobalChange: (valeur: string) => void;
|
|
11850
|
+
/** Rendered at the start of the toolbar (e.g. a period selector). */
|
|
11851
|
+
avantRecherche?: ReactNode;
|
|
11852
|
+
/** Rendered after the chooser, before the fullscreen toggle (e.g. « add »). */
|
|
11853
|
+
actionsToolbar?: ReactNode;
|
|
11854
|
+
/** The data region: the screen's loading / empty / error states and grid. */
|
|
11855
|
+
children: ReactNode;
|
|
11856
|
+
}
|
|
11857
|
+
declare function RegistreEcran({ ariaLabel, labels, colonnes, visibilite, onBasculerColonne, formatLibelleColonne, filtreGlobal, onFiltreGlobalChange, avantRecherche, actionsToolbar, children, }: RegistreEcranProps): React.JSX.Element;
|
|
11858
|
+
|
|
11859
|
+
/** The correction trace a row carries per field. */
|
|
11860
|
+
interface CorrectionChamp {
|
|
11861
|
+
par: string;
|
|
11862
|
+
leMs: number;
|
|
11863
|
+
valeurAvant: string | number | null;
|
|
11864
|
+
}
|
|
11865
|
+
interface RegistreLigneDetailLabels {
|
|
11866
|
+
/** Accessible name of a field's pencil button. */
|
|
11867
|
+
edit: (libelle: string) => string;
|
|
11868
|
+
/** Accessible name of a field's editor input. */
|
|
11869
|
+
fieldInput: (colonne: ColonneRegistre) => string;
|
|
11870
|
+
/** Shown on a non-editable field. */
|
|
11871
|
+
computed: string;
|
|
11872
|
+
save: string;
|
|
11873
|
+
cancel: string;
|
|
11874
|
+
/** The correction line of a corrected field (the host formats the date and an empty value). */
|
|
11875
|
+
correction: (correction: CorrectionChamp) => string;
|
|
11876
|
+
}
|
|
11877
|
+
interface RegistreLigneDetailProps {
|
|
11878
|
+
colonnes: readonly ColonneRegistre[];
|
|
11879
|
+
/** The row, read generically by field key. */
|
|
11880
|
+
ligne: Readonly<Record<string, string | number | null>>;
|
|
11881
|
+
/** Per-field correction trace, keyed by `champ`. */
|
|
11882
|
+
corrections?: Readonly<Record<string, CorrectionChamp | undefined>>;
|
|
11883
|
+
labels: RegistreLigneDetailLabels;
|
|
11884
|
+
/** Renders a `montant` field. */
|
|
11885
|
+
formatMontant: (value: number) => string;
|
|
11886
|
+
/** Renders a `nombre` or `entier` field. */
|
|
11887
|
+
formatNombre: (value: number) => string;
|
|
11888
|
+
/** The decimal separator a number is edited with. */
|
|
11889
|
+
decimalSeparator: string;
|
|
11890
|
+
onSaveField: (champ: string, saisie: string) => Promise<boolean>;
|
|
11891
|
+
}
|
|
11892
|
+
declare function RegistreLigneDetail({ colonnes, ligne, corrections, labels, formatMontant, formatNombre, decimalSeparator, onSaveField, }: RegistreLigneDetailProps): React.JSX.Element;
|
|
11893
|
+
|
|
11894
|
+
declare const registreGridTheme: ag_grid_community.Theme<ag_grid_community.ThemeDefaultParams>;
|
|
11895
|
+
/** Columns fill the grid's width instead of leaving a blank strip on the right. */
|
|
11896
|
+
declare const fitGridWidthStrategy: SizeColumnsToFitGridStrategy;
|
|
11897
|
+
/** fitGridWidth sizes once; refit whenever the grid's width changes (pass to `onGridSizeChanged`). */
|
|
11898
|
+
declare function refitColumns(e: {
|
|
11899
|
+
api: {
|
|
11900
|
+
sizeColumnsToFit: () => void;
|
|
11901
|
+
};
|
|
11902
|
+
}): void;
|
|
11903
|
+
|
|
11904
|
+
export { type AiSdkArtifactEntry, type AiSdkArtifactsSource, type ApplyFieldCorrectionArgs, type ArtifactCanvasSource, type ArtifactType, type Breakpoint, ChoixColonnes, type ChoixColonnesLabels, type ChoixColonnesProps, type ColonneChoisie, type ColonneRegistre, type ColumnVisibility, type CorrectionChamp, type CorrectionRecord, type DeviceContextValue, type EtatVisibilite, type Feature3ColItem, type FeatureItem, type FieldCorrectionRequest, type FieldCorrectionResult, type FieldValidation, type FieldValidator, type FieldValue, type FieldWriteResponse, type FooterColumn, type FooterLink, GrilleRegistre, type GrilleRegistreProps, type HeroCta, INITIAL_REVIEW_PANEL_TAB, type LogoItem, type McpToolResult, type McpToolResultMeta, type McpUiSource, MosaicAccordion, MosaicAccordionItem, type MosaicAccordionItemProps, MosaicAccordionPanel, type MosaicAccordionPanelProps, type MosaicAccordionProps, MosaicAccordionTrigger, type MosaicAccordionTriggerProps, type MosaicActionAccent, type MosaicActivity, MosaicActivityFeed, type MosaicActivityFeedProps, MosaicActivityItem, type MosaicActivityItemProps, type MosaicActivityStatus, MosaicAdaptiveGrid, type MosaicAdaptiveGridProps, MosaicAdaptiveModal, type MosaicAdaptiveModalProps, MosaicAdaptiveNavigation, type MosaicAdaptiveNavigationProps, MosaicAddMemoryForm, type MosaicAddMemoryFormProps, MosaicAdminOnlyGuard, type MosaicAdminOnlyGuardBaseProps, type MosaicAdminOnlyGuardExitProps, type MosaicAdminOnlyGuardProps, MosaicAgentBuilderModal, type MosaicAgentBuilderModalProps, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentChat, type MosaicAgentChatApprovalLabels, type MosaicAgentChatApprovalRequest, type MosaicAgentChatApprovalResponsePayload, type MosaicAgentChatMessage, type MosaicAgentChatMessagePart, type MosaicAgentChatProps, type MosaicAgentChatState, type MosaicAgentChatToolPart, type MosaicAgentChatToolPartState, MosaicAgentComposer, MosaicAgentComposerDesktop, type MosaicAgentComposerDesktopProps, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentEditor, type MosaicAgentEditorProps, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentPreview, type MosaicAgentPreviewAttribute, type MosaicAgentPreviewDetailedProps, type MosaicAgentPreviewProps, type MosaicAgentPreviewSummaryProps, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAlertDialog, MosaicAlertDialogAction, type MosaicAlertDialogActionProps, MosaicAlertDialogCancel, type MosaicAlertDialogCancelProps, MosaicAlertDialogContent, type MosaicAlertDialogContentProps, MosaicAlertDialogDescription, type MosaicAlertDialogDescriptionProps, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, type MosaicAlertDialogOverlayProps, MosaicAlertDialogPortal, MosaicAlertDialogTitle, type MosaicAlertDialogTitleProps, MosaicAlertDialogTrigger, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicApiKeyPanel, type MosaicApiKeyPanelProps, type MosaicApiKeyPanelProvider, type MosaicApiKeyPanelState, MosaicAppSidebar, type MosaicAppSidebarProps, MosaicApprovalPrompt, type MosaicApprovalPromptProps, type MosaicApprovalPromptState, MosaicArtifactCanvasAdapter, type MosaicArtifactCanvasAdapterLabels, type MosaicArtifactCanvasAdapterProps, MosaicArtifactChart, type MosaicArtifactChartConfig, type MosaicArtifactChartData, type MosaicArtifactChartLabels, type MosaicArtifactChartProps, type MosaicArtifactChartType, MosaicArtifactChecklist, type MosaicArtifactChecklistData, type MosaicArtifactChecklistItem, type MosaicArtifactChecklistLabels, type MosaicArtifactChecklistPriority, type MosaicArtifactChecklistProps, MosaicArtifactDataTable, type MosaicArtifactDataTableColumn, type MosaicArtifactDataTableData, type MosaicArtifactDataTableLabels, type MosaicArtifactDataTableProps, MosaicArtifactDocument, type MosaicArtifactDocumentData, type MosaicArtifactDocumentLabels, type MosaicArtifactDocumentProps, type MosaicArtifactDocumentSection, MosaicArtifactLibrary, type MosaicArtifactLibraryItem, type MosaicArtifactLibraryProps, type MosaicArtifactSaveAsMemoryArtifact, type MosaicArtifactSaveAsMemoryArtifactType, MosaicArtifactSaveAsMemoryForm, type MosaicArtifactSaveAsMemoryFormProps, type MosaicArtifactSaveAsMemoryScopeOption, MosaicArtifactVersionHistory, type MosaicArtifactVersionHistoryBaseProps, type MosaicArtifactVersionHistoryProps, type MosaicArtifactVersionHistoryRestoreProps, type MosaicArtifactVersionHistoryVersion, MosaicAvatar, type MosaicAvatarProps, MosaicBadge, type MosaicBadgeProps, MosaicBlurredOrb, type MosaicBlurredOrbProps, type MosaicBreadcrumb, MosaicButton, type MosaicButtonProps, MosaicCallout, type MosaicCalloutProps, MosaicCard, MosaicCardContent, type MosaicCardContentProps, MosaicCardDescription, type MosaicCardDescriptionProps, MosaicCardFooter, type MosaicCardFooterProps, MosaicCardHeader, type MosaicCardHeaderProps, type MosaicCardProps, MosaicCardTitle, type MosaicCardTitleProps, MosaicChatComposer, type MosaicChatComposerProps, type MosaicChatComposerState, MosaicChatMessage, type MosaicChatMessageAttachmentPart, type MosaicChatMessagePart, type MosaicChatMessageProps, type MosaicChatMessageReasoningPart, type MosaicChatMessageSenderRole, type MosaicChatMessageTextPart, type MosaicChatMessageToolPart, type MosaicChatMessageToolState, type MosaicChatMessageToolStatusLabels, MosaicChatSidebar, type MosaicChatSidebarProps, MosaicChatThread, type MosaicChatThreadProps, MosaicCheckbox, type MosaicCheckboxProps, type MosaicClerkMembership, MosaicClerkOrgSwitcher, type MosaicClerkOrgSwitcherProps, type MosaicClerkOrganization, MosaicClerkWebhookHandler, type MosaicClerkWebhookHandlerOptions, MosaicCollapsible, MosaicCollapsiblePanel, type MosaicCollapsiblePanelProps, type MosaicCollapsibleProps, MosaicCollapsibleTrigger, type MosaicCollapsibleTriggerProps, MosaicCombobox, type MosaicComboboxItem, type MosaicComboboxProps, type MosaicComposerModel, type MosaicComposerModule, MosaicCounter, type MosaicCounterProps, MosaicCreateOrgDialog, type MosaicCreateOrgDialogProps, MosaicDashboardContent, type MosaicDashboardContentProps, MosaicDashboardHeader, type MosaicDashboardHeaderProps, MosaicDashboardLayout, type MosaicDashboardLayoutProps, type MosaicDashboardView, MosaicDataTable, type MosaicDataTableColumn, type MosaicDataTablePagination, type MosaicDataTableProps, MosaicDeleteConfirmationDialog, type MosaicDeleteConfirmationDialogProps, MosaicDeviceProvider, type MosaicDeviceProviderProps, MosaicDocumentCriteriaPanel, type MosaicDocumentCriteriaPanelLabels, type MosaicDocumentCriteriaPanelProps, MosaicDocumentTable, type MosaicDocumentTableProps, type MosaicDocumentTableRowContext, MosaicDocumentUpload, type MosaicDocumentUploadFile, type MosaicDocumentUploadFileStatus, type MosaicDocumentUploadProps, MosaicDrawer, type MosaicDrawerProps, MosaicDropdownMenu, type MosaicDropdownMenuItem, type MosaicDropdownMenuProps, MosaicEditMemoryDialog, type MosaicEditMemoryDialogProps, MosaicEditSessionDialog, type MosaicEditSessionDialogProps, MosaicEditableCell, type MosaicEditableCellProps, MosaicEmptyState, type MosaicEmptyStateProps, MosaicFallingPattern, type MosaicFallingPatternProps, MosaicFeature3Col, type MosaicFeature3ColProps, MosaicFeatureCenteredMedia, type MosaicFeatureCenteredMediaProps, MosaicField, MosaicFieldControl, type MosaicFieldControlProps, MosaicFieldDescription, type MosaicFieldDescriptionProps, MosaicFieldError, type MosaicFieldErrorProps, MosaicFieldLabel, type MosaicFieldLabelProps, type MosaicFieldProps, MosaicFilterBar, type MosaicFilterBarProps, type MosaicFilterOption, MosaicFilterSidebar, type MosaicFilterSidebarProps, MosaicFooterSimple, type MosaicFooterSimpleProps, MosaicHeroSplit, type MosaicHeroSplitProps, MosaicInput, MosaicInputGroup, type MosaicInputGroupProps, type MosaicInputProps, MosaicIntegrationsBadge, type MosaicIntegrationsBadgeProps, MosaicInviteMemberDialog, type MosaicInviteMemberDialogProps, MosaicKanbanBoard, type MosaicKanbanBoardProps, MosaicKanbanColumn, type MosaicKanbanColumnProps, MosaicLogosGrid, type MosaicLogosGridProps, MosaicMainNav, type MosaicMainNavProps, MosaicMarkdown, type MosaicMarkdownProps, MosaicMarketplaceCard, type MosaicMarketplaceCardProps, type MosaicMarketplaceItem, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, type MosaicMarketplaceListProps, MosaicMatchInput, type MosaicMatchInputProps, type MosaicMatchInputState, type MosaicMatchInputStateLabels, MosaicMemberList, type MosaicMemberListProps, MosaicMemoryCard, type MosaicMemoryCardProps, MosaicMemoryDashboard, type MosaicMemoryDashboardProps, type MosaicMemoryDashboardStat, type MosaicMemoryDashboardViewMode, type MosaicMemoryData, MosaicMemoryGrid, type MosaicMemoryGridProps, MosaicMemoryList, type MosaicMemoryListProps, type MosaicMemoryScope, MosaicMemorySearch, type MosaicMemorySearchFilter, type MosaicMemorySearchProps, type MosaicMemorySource, MosaicMentionInput, type MosaicMentionInputProps, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, MosaicMessageSearch, type MosaicMessageSearchProps, type MosaicMessageSender, type MosaicMessageSenderType, type MosaicModelOption, MosaicModelSelector, type MosaicModelSelectorProps, MosaicModuleCard, type MosaicModuleCardProps, type MosaicModuleData, MosaicModuleForm, type MosaicModuleFormField, type MosaicModuleFormProps, type MosaicModuleItem, MosaicModuleLibrary, type MosaicModuleLibraryProps, type MosaicModuleType, MosaicMultiOrgIndicator, type MosaicMultiOrgIndicatorProps, MosaicMultiTenantProvider, type MosaicMultiTenantProviderProps, type MosaicNavItem, MosaicNavbar, type MosaicNavbarProps, type MosaicNavigationItem, type MosaicOrg, MosaicOrgContextDisplay, type MosaicOrgContextDisplayBaseProps, type MosaicOrgContextDisplayProps, type MosaicOrgContextDisplaySwitchProps, type MosaicOrgContextInfo, type MosaicOrgInfo, type MosaicOrgMember, MosaicOrgPanel, type MosaicOrgPanelProps, type MosaicOrgPanelTab, MosaicOrgProfilePage, type MosaicOrgProfilePageProps, type MosaicOrgRole, MosaicOrgRoleBadge, type MosaicOrgRoleBadgeProps, type MosaicOrgStats, MosaicOrgSwitcher, type MosaicOrgSwitcherProps, MosaicPdfViewer, type MosaicPdfViewerProps, MosaicPopover, type MosaicPopoverProps, type MosaicSelectItem as MosaicPrefSelectItem, type MosaicPreference, type MosaicPreferenceGroup, MosaicPreferencesPanel, type MosaicPreferencesPanelProps, MosaicPricingCard, type MosaicPricingCardProps, type MosaicProfileField, MosaicProfilePanel, type MosaicProfilePanelProps, MosaicProgress, type MosaicProgressProps, type MosaicQuickAction$1 as MosaicQuickAction, MosaicQuickActionCard, type MosaicQuickActionCardProps, MosaicQuickActionsMenu, type MosaicQuickAction as MosaicQuickActionsMenuItem, type MosaicQuickActionsMenuProps, type MosaicQuickAgent, MosaicQuickAgentSelector, type MosaicQuickAgentSelectorProps, MosaicQuickStartPanel, type MosaicQuickStartPanelProps, MosaicRadioGroup, MosaicRadioGroupItem, type MosaicRadioGroupItemProps, type MosaicRadioGroupProps, MosaicReplyInput, type MosaicReplyInputProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, MosaicSaveChatAsMemoryForm, type MosaicSaveChatAsMemoryFormProps, MosaicSaveTemplateModal, type MosaicSaveTemplateModalProps, type MosaicScenario, MosaicScrollArea, type MosaicScrollAreaProps, MosaicSelect, type MosaicSelectItem$1 as MosaicSelectItem, type MosaicSelectProps, type MosaicSelectorCategory, type MosaicSelectorItem, MosaicSelectorModal, type MosaicSelectorModalProps, MosaicSeparator, type MosaicSeparatorProps, MosaicSessionCard, type MosaicSessionCardInteractionProps, type MosaicSessionCardProps, type MosaicSessionCardVariantProps, type MosaicSessionData, MosaicSessionList, type MosaicSessionListLayout, type MosaicSessionListProps, type MosaicSessionStatus, type MosaicSidebarFooterStatus, type MosaicSidebarNavItem, type MosaicSidebarQuickAction, type MosaicSidebarRecentItem, MosaicSignInLayout, type MosaicSignInLayoutProps, MosaicSignUpLayout, type MosaicSignUpLayoutProps, MosaicSkeleton, type MosaicSkeletonProps, MosaicSlider, type MosaicSliderProps, type MosaicStatItem, MosaicStatsGrid, type MosaicStatsGridProps, type MosaicStep, MosaicStepPipeline, type MosaicStepPipelineDotsProps, type MosaicStepPipelineProps, type MosaicStepPipelineSegmentsProps, type MosaicStepStatus, MosaicSwitch, type MosaicSwitchProps, MosaicTabs, MosaicTabsList, type MosaicTabsListProps, MosaicTabsPanel, type MosaicTabsPanelProps, type MosaicTabsProps, MosaicTabsTrigger, type MosaicTabsTriggerProps, MosaicTagInput, type MosaicTagInputProps, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateAgentCard, type MosaicTemplateAgentCardProps, type MosaicTemplateAgentData, MosaicTemplateCard, type MosaicTemplateCardProps, type MosaicTemplateCategory, MosaicTemplateCategoryChips, type MosaicTemplateCategoryChipsProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, MosaicTemplateList, type MosaicTemplateListProps, type MosaicTemplateManagementItem, MosaicTemplateManagementPanel, type MosaicTemplateManagementPanelProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, MosaicThreadIndicator, type MosaicThreadIndicatorProps, type MosaicThreadIndicatorReplyStatus, MosaicThreadView, type MosaicThreadViewMessage, type MosaicThreadViewProps, MosaicToast, type MosaicToastProps, MosaicToastProvider, type MosaicToastProviderPosition, type MosaicToastProviderProps, type MosaicToastVariant, MosaicToolToggleList, type MosaicToolToggleListApprovalLevel, type MosaicToolToggleListProps, type MosaicToolToggleListSection, type MosaicToolToggleListTool, MosaicTooltip, MosaicTooltipContent, type MosaicTooltipContentProps, type MosaicTooltipProps, MosaicTooltipProvider, type MosaicTooltipProviderProps, MosaicTooltipRoot, type MosaicTooltipRootProps, MosaicTooltipTrigger, type MosaicTooltipTriggerProps, MosaicUrlScraper, type MosaicUrlScraperContent, type MosaicUrlScraperProps, type MosaicUrlScraperState, MosaicUserButton, type MosaicUserButtonProps, type MosaicWorkspaceContext, type NavCta, type NavDirection, type NavLink, type NormalizedArtifact, type OrbPosition, type Orientation, PanneauRegistreShell, type PanneauRegistreShellLabels, type PanneauRegistreShellProps, Placeholder, type PricingCta, REVIEW_PANEL_TABS, RegistreEcran, type RegistreEcranLabels, type RegistreEcranProps, RegistreLigneDetail, type RegistreLigneDetailLabels, type RegistreLigneDetailProps, type ReviewColumn, type ReviewPanelTab, type ReviewRow, type SocialLink, type StatItem, type TestimonialItem, type Theme, type TypeColonneRegistre, addMemoryFormButtonVariants, addMemoryFormErrorVariants, addMemoryFormFieldVariants, addMemoryFormFooterVariants, addMemoryFormRootVariants, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, applyFieldCorrection, artifactSaveAsMemoryFormButtonVariants, artifactSaveAsMemoryFormErrorVariants, artifactSaveAsMemoryFormFieldVariants, artifactSaveAsMemoryFormFooterVariants, artifactSaveAsMemoryFormLearningVariants, artifactSaveAsMemoryFormPreviewVariants, artifactSaveAsMemoryFormRootVariants, badgeVariants, buttonVariants, calloutVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, chatSidebarThreadVariants, correctionOutcome, drawerBackdropVariants, drawerPopupVariants, editMemoryDialogBackdropVariants, editMemoryDialogErrorVariants, editMemoryDialogFieldVariants, editMemoryDialogPopupVariants, editSessionDialogBodyVariants, editSessionDialogButtonVariants, editSessionDialogErrorVariants, editSessionDialogFieldVariants, editSessionDialogFooterVariants, editableCellVariants, estVisible, fitGridWidthStrategy, initialColumnVisibility, isEditableTarget, marketplaceCardVariants, matchStateVariants, memoryDashboardViewToggleButtonVariants, memoryGridVariants, memoryListItemVariants, memoryListVariants, memorySearchFilterChipVariants, mentionInputFieldVariants, mentionListItemVariants, mentionListVariants, neighbourRowId, normalizeArtifact, normalizeFromAiSdkArtifacts, normalizeFromMcpToolResult, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, popoverPopupVariants, refitColumns, registreGridTheme, replyInputActionButtonVariants, replyInputContextVariants, replyInputRootVariants, replyInputTextareaVariants, saveChatAsMemoryFormButtonVariants, saveChatAsMemoryFormErrorVariants, saveChatAsMemoryFormFieldVariants, saveChatAsMemoryFormFooterVariants, saveChatAsMemoryFormRootVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, sessionCardVariants, sessionListItemVariants, sessionListVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, templateManagementRowVariants, threadIndicatorCountVariants, threadIndicatorRootVariants, threadViewEmptyVariants, threadViewRepliesVariants, threadViewReplyVariants, threadViewRootMessageVariants, threadViewRootVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toggleColumnVisibility, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version, visibleColumns };
|