@vantageos/mosaic-blocks 0.5.35-alpha → 0.5.36-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 +9 -8
- package/dist/index.cjs +338 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +231 -11
- package/dist/index.d.ts +231 -11
- package/dist/index.js +328 -41
- package/dist/index.js.map +1 -1
- package/dist/styles.css +18 -0
- package/package.json +12 -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-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 +35 -130
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ import { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
|
29
29
|
import { Popover } from '@base-ui/react/popover';
|
|
30
30
|
|
|
31
31
|
// src/version.ts
|
|
32
|
-
var version = "0.5.
|
|
32
|
+
var version = "0.5.36-alpha";
|
|
33
33
|
function Placeholder({ label = "mosaic-blocks placeholder" }) {
|
|
34
34
|
return /* @__PURE__ */ jsx("div", { "data-mosaic-block": "placeholder", children: label });
|
|
35
35
|
}
|
|
@@ -2849,6 +2849,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2849
2849
|
tabNavAriaLabel,
|
|
2850
2850
|
completeStatusLabel,
|
|
2851
2851
|
inProgressStatusLabel,
|
|
2852
|
+
formatDuration,
|
|
2852
2853
|
className,
|
|
2853
2854
|
ref
|
|
2854
2855
|
}) {
|
|
@@ -2891,10 +2892,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2891
2892
|
] })
|
|
2892
2893
|
] }),
|
|
2893
2894
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 shrink-0", children: [
|
|
2894
|
-
item.duration !== void 0 && /* @__PURE__ */
|
|
2895
|
-
item.duration,
|
|
2896
|
-
"s"
|
|
2897
|
-
] }),
|
|
2895
|
+
item.duration !== void 0 && /* @__PURE__ */ jsx("span", { className: "rounded bg-primary px-2 py-0.5 text-xs text-primary-foreground", children: formatDuration(item.duration) }),
|
|
2898
2896
|
/* @__PURE__ */ jsx(ChevronDownIcon2, { rotated: isExpanded })
|
|
2899
2897
|
] })
|
|
2900
2898
|
]
|
|
@@ -2946,17 +2944,14 @@ function MosaicAdaptiveNavigation({
|
|
|
2946
2944
|
}
|
|
2947
2945
|
),
|
|
2948
2946
|
/* @__PURE__ */ jsx("span", { className: "hidden sm:inline", children: item.title }),
|
|
2949
|
-
item.duration !== void 0 && /* @__PURE__ */
|
|
2947
|
+
item.duration !== void 0 && /* @__PURE__ */ jsx(
|
|
2950
2948
|
"span",
|
|
2951
2949
|
{
|
|
2952
2950
|
className: cn40(
|
|
2953
2951
|
"rounded px-1 py-0.5 text-xs",
|
|
2954
2952
|
isActive ? "bg-primary-foreground/20" : "bg-muted"
|
|
2955
2953
|
),
|
|
2956
|
-
children:
|
|
2957
|
-
item.duration,
|
|
2958
|
-
"s"
|
|
2959
|
-
]
|
|
2954
|
+
children: formatDuration(item.duration)
|
|
2960
2955
|
}
|
|
2961
2956
|
)
|
|
2962
2957
|
]
|
|
@@ -3716,7 +3711,12 @@ function ArrowRightIcon() {
|
|
|
3716
3711
|
}
|
|
3717
3712
|
);
|
|
3718
3713
|
}
|
|
3719
|
-
function MosaicActivityItem({
|
|
3714
|
+
function MosaicActivityItem({
|
|
3715
|
+
activity,
|
|
3716
|
+
formatMessageCount,
|
|
3717
|
+
icon,
|
|
3718
|
+
className
|
|
3719
|
+
}) {
|
|
3720
3720
|
return /* @__PURE__ */ jsxs(
|
|
3721
3721
|
"div",
|
|
3722
3722
|
{
|
|
@@ -3744,10 +3744,7 @@ function MosaicActivityItem({ activity, icon, className }) {
|
|
|
3744
3744
|
label
|
|
3745
3745
|
);
|
|
3746
3746
|
}) }),
|
|
3747
|
-
activity.messages !== void 0 && /* @__PURE__ */
|
|
3748
|
-
activity.messages,
|
|
3749
|
-
" messages"
|
|
3750
|
-
] })
|
|
3747
|
+
activity.messages !== void 0 && /* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground", children: formatMessageCount(activity.messages) })
|
|
3751
3748
|
] }),
|
|
3752
3749
|
activity.excerpt && /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-muted-foreground line-clamp-1", children: activity.excerpt })
|
|
3753
3750
|
] }),
|
|
@@ -3776,6 +3773,7 @@ function MosaicActivityFeed({
|
|
|
3776
3773
|
viewAllHref,
|
|
3777
3774
|
viewAllLabel,
|
|
3778
3775
|
emptyMessage,
|
|
3776
|
+
formatMessageCount,
|
|
3779
3777
|
iconMap,
|
|
3780
3778
|
renderLink,
|
|
3781
3779
|
className,
|
|
@@ -3815,7 +3813,14 @@ function MosaicActivityFeed({
|
|
|
3815
3813
|
{
|
|
3816
3814
|
className: "mosaic-activity-row",
|
|
3817
3815
|
style: { animationDelay: `${idx * 80}ms` },
|
|
3818
|
-
children: /* @__PURE__ */ jsx(
|
|
3816
|
+
children: /* @__PURE__ */ jsx(
|
|
3817
|
+
MosaicActivityItem,
|
|
3818
|
+
{
|
|
3819
|
+
activity,
|
|
3820
|
+
formatMessageCount,
|
|
3821
|
+
icon: iconMap?.[activity.type]
|
|
3822
|
+
}
|
|
3823
|
+
)
|
|
3819
3824
|
},
|
|
3820
3825
|
activity.id
|
|
3821
3826
|
)) })
|
|
@@ -4010,6 +4015,7 @@ function MosaicAgentComposerDesktop({
|
|
|
4010
4015
|
customInstructionsPreviewLabel,
|
|
4011
4016
|
selectAllModulesLabel,
|
|
4012
4017
|
unnamedAgentLabel,
|
|
4018
|
+
formatContextWindow,
|
|
4013
4019
|
roleSublabel,
|
|
4014
4020
|
personaSublabel,
|
|
4015
4021
|
frameworkSublabel,
|
|
@@ -4115,7 +4121,7 @@ function MosaicAgentComposerDesktop({
|
|
|
4115
4121
|
] }),
|
|
4116
4122
|
selectedModel.provider && /* @__PURE__ */ jsx("p", { className: "text-xs capitalize text-muted-foreground", children: selectedModel.provider }),
|
|
4117
4123
|
(selectedModel.contextWindow || selectedModel.pricingLabel) && /* @__PURE__ */ jsxs("p", { className: "text-xs text-muted-foreground", children: [
|
|
4118
|
-
selectedModel.contextWindow &&
|
|
4124
|
+
selectedModel.contextWindow && formatContextWindow(selectedModel.contextWindow),
|
|
4119
4125
|
selectedModel.contextWindow && selectedModel.pricingLabel && " \u2022 ",
|
|
4120
4126
|
selectedModel.pricingLabel
|
|
4121
4127
|
] })
|
|
@@ -4481,7 +4487,8 @@ function MosaicAgentComposerMobile({
|
|
|
4481
4487
|
editModuleAriaLabel,
|
|
4482
4488
|
removeModuleAriaLabel,
|
|
4483
4489
|
selectModuleAriaLabel,
|
|
4484
|
-
changeModuleLabel
|
|
4490
|
+
changeModuleLabel,
|
|
4491
|
+
formatContextWindow
|
|
4485
4492
|
}) {
|
|
4486
4493
|
const L = labels;
|
|
4487
4494
|
const instructionsId = React30.useId();
|
|
@@ -4595,7 +4602,7 @@ function MosaicAgentComposerMobile({
|
|
|
4595
4602
|
] }),
|
|
4596
4603
|
selectedModel.provider && /* @__PURE__ */ jsx("p", { className: "text-xs capitalize text-muted-foreground", children: selectedModel.provider }),
|
|
4597
4604
|
(selectedModel.contextWindow || selectedModel.pricingLabel) && /* @__PURE__ */ jsxs("p", { className: "text-xs text-muted-foreground", children: [
|
|
4598
|
-
selectedModel.contextWindow &&
|
|
4605
|
+
selectedModel.contextWindow && formatContextWindow(selectedModel.contextWindow),
|
|
4599
4606
|
selectedModel.contextWindow && selectedModel.pricingLabel && " \u2022 ",
|
|
4600
4607
|
selectedModel.pricingLabel
|
|
4601
4608
|
] })
|
|
@@ -9099,7 +9106,9 @@ function MosaicTemplateCard({
|
|
|
9099
9106
|
showActions = false,
|
|
9100
9107
|
compact = false,
|
|
9101
9108
|
previewLabel,
|
|
9102
|
-
duplicateLabel
|
|
9109
|
+
duplicateLabel,
|
|
9110
|
+
formatAgentCount,
|
|
9111
|
+
formatUsageCount
|
|
9103
9112
|
}) {
|
|
9104
9113
|
const isPopular = (template.metadata?.usageCount ?? 0) > 10;
|
|
9105
9114
|
const isTrending = (template.metadata?.usageCount ?? 0) > 5;
|
|
@@ -9130,14 +9139,8 @@ function MosaicTemplateCard({
|
|
|
9130
9139
|
] }),
|
|
9131
9140
|
/* @__PURE__ */ jsxs("div", { className: "mt-2 flex flex-wrap items-center gap-1.5", children: [
|
|
9132
9141
|
/* @__PURE__ */ jsx("span", { className: "rounded-md bg-secondary px-2 py-0.5 text-xs text-secondary-foreground", children: template.category }),
|
|
9133
|
-
template.agents && template.agents.length > 0 && /* @__PURE__ */
|
|
9134
|
-
|
|
9135
|
-
" agents"
|
|
9136
|
-
] }),
|
|
9137
|
-
(template.metadata?.usageCount ?? 0) > 0 && /* @__PURE__ */ jsxs("span", { className: "rounded-md border border-border px-2 py-0.5 text-xs text-muted-foreground", children: [
|
|
9138
|
-
template.metadata?.usageCount,
|
|
9139
|
-
" uses"
|
|
9140
|
-
] }),
|
|
9142
|
+
template.agents && template.agents.length > 0 && /* @__PURE__ */ jsx("span", { className: "rounded-md border border-border px-2 py-0.5 text-xs text-muted-foreground", children: formatAgentCount(template.agents.length) }),
|
|
9143
|
+
(template.metadata?.usageCount ?? 0) > 0 && /* @__PURE__ */ jsx("span", { className: "rounded-md border border-border px-2 py-0.5 text-xs text-muted-foreground", children: formatUsageCount(template.metadata?.usageCount ?? 0) }),
|
|
9141
9144
|
tags.slice(0, compact ? 1 : 2).map((tag) => /* @__PURE__ */ jsxs(
|
|
9142
9145
|
"span",
|
|
9143
9146
|
{
|
|
@@ -9401,6 +9404,8 @@ function TemplateGalleryContent({
|
|
|
9401
9404
|
expandSidebarAriaLabel,
|
|
9402
9405
|
previewLabel,
|
|
9403
9406
|
duplicateLabel,
|
|
9407
|
+
formatAgentCount,
|
|
9408
|
+
formatUsageCount,
|
|
9404
9409
|
isMobile
|
|
9405
9410
|
}) {
|
|
9406
9411
|
const [query, setQuery] = React30.useState("");
|
|
@@ -9477,6 +9482,8 @@ function TemplateGalleryContent({
|
|
|
9477
9482
|
showActions,
|
|
9478
9483
|
previewLabel,
|
|
9479
9484
|
duplicateLabel,
|
|
9485
|
+
formatAgentCount,
|
|
9486
|
+
formatUsageCount,
|
|
9480
9487
|
compact: true
|
|
9481
9488
|
},
|
|
9482
9489
|
template.id
|
|
@@ -9526,7 +9533,9 @@ function TemplateGalleryContent({
|
|
|
9526
9533
|
onDuplicate: onDuplicateTemplate,
|
|
9527
9534
|
showActions,
|
|
9528
9535
|
previewLabel,
|
|
9529
|
-
duplicateLabel
|
|
9536
|
+
duplicateLabel,
|
|
9537
|
+
formatAgentCount,
|
|
9538
|
+
formatUsageCount
|
|
9530
9539
|
},
|
|
9531
9540
|
template.id
|
|
9532
9541
|
)) }),
|
|
@@ -10116,6 +10125,7 @@ function MosaicOrgRoleBadge({
|
|
|
10116
10125
|
MosaicOrgRoleBadge.displayName = "MosaicOrgRoleBadge";
|
|
10117
10126
|
function MosaicMultiOrgIndicator({
|
|
10118
10127
|
orgCount,
|
|
10128
|
+
formatOrgCount,
|
|
10119
10129
|
currentOrgName,
|
|
10120
10130
|
onSwitchOrg,
|
|
10121
10131
|
className
|
|
@@ -10152,14 +10162,10 @@ function MosaicMultiOrgIndicator({
|
|
|
10152
10162
|
]
|
|
10153
10163
|
}
|
|
10154
10164
|
),
|
|
10155
|
-
orgCount
|
|
10156
|
-
" orgs"
|
|
10165
|
+
formatOrgCount(orgCount)
|
|
10157
10166
|
]
|
|
10158
10167
|
}
|
|
10159
|
-
) : /* @__PURE__ */
|
|
10160
|
-
orgCount,
|
|
10161
|
-
" orgs"
|
|
10162
|
-
] }),
|
|
10168
|
+
) : /* @__PURE__ */ jsx("span", { className: "inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-1 text-xs font-medium text-secondary-foreground", children: formatOrgCount(orgCount) }),
|
|
10163
10169
|
currentOrgName && /* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground", children: currentOrgName })
|
|
10164
10170
|
] });
|
|
10165
10171
|
}
|
|
@@ -17387,11 +17393,11 @@ function cn120(...classes) {
|
|
|
17387
17393
|
return classes.filter(Boolean).join(" ");
|
|
17388
17394
|
}
|
|
17389
17395
|
var CHART_COLORS = [
|
|
17390
|
-
"var(--color-chart-1
|
|
17391
|
-
"var(--color-chart-2
|
|
17392
|
-
"var(--color-chart-3
|
|
17393
|
-
"var(--color-chart-4
|
|
17394
|
-
"var(--color-chart-5
|
|
17396
|
+
"var(--color-chart-1)",
|
|
17397
|
+
"var(--color-chart-2)",
|
|
17398
|
+
"var(--color-chart-3)",
|
|
17399
|
+
"var(--color-chart-4)",
|
|
17400
|
+
"var(--color-chart-5)"
|
|
17395
17401
|
];
|
|
17396
17402
|
function seriesKeys(rows, xAxisKey) {
|
|
17397
17403
|
return Object.keys(rows[0] ?? {}).filter((key) => key !== xAxisKey);
|
|
@@ -18200,6 +18206,287 @@ function MosaicAdminOnlyGuard(props) {
|
|
|
18200
18206
|
}
|
|
18201
18207
|
MosaicAdminOnlyGuard.displayName = "MosaicAdminOnlyGuard";
|
|
18202
18208
|
|
|
18203
|
-
|
|
18209
|
+
// src/components/document-review/panel-tab.ts
|
|
18210
|
+
var REVIEW_PANEL_TABS = ["compare", "document", "row"];
|
|
18211
|
+
var INITIAL_REVIEW_PANEL_TAB = "compare";
|
|
18212
|
+
|
|
18213
|
+
// src/components/document-review/row-navigation.ts
|
|
18214
|
+
function isEditableTarget(target) {
|
|
18215
|
+
return target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement || target instanceof HTMLSelectElement || target instanceof HTMLElement && target.isContentEditable === true;
|
|
18216
|
+
}
|
|
18217
|
+
function neighbourRowId(orderedRowIds, currentRowId, direction) {
|
|
18218
|
+
const index = orderedRowIds.indexOf(currentRowId);
|
|
18219
|
+
if (index === -1) return null;
|
|
18220
|
+
const neighbourIndex = index + (direction === "next" ? 1 : -1);
|
|
18221
|
+
if (neighbourIndex < 0 || neighbourIndex >= orderedRowIds.length) return null;
|
|
18222
|
+
return orderedRowIds[neighbourIndex] ?? null;
|
|
18223
|
+
}
|
|
18224
|
+
|
|
18225
|
+
// src/components/document-review/column-model.ts
|
|
18226
|
+
var COLUMN_MODEL_ERRORS = {
|
|
18227
|
+
// allow-hardcoded-word: developer-facing invariant error, never rendered to an end user
|
|
18228
|
+
unknownColumn: (id) => `document-review: visibility names unknown column "${id}"`
|
|
18229
|
+
};
|
|
18230
|
+
function assertKnown(columns, ids) {
|
|
18231
|
+
const known = new Set(columns.map((c) => c.id));
|
|
18232
|
+
for (const id of ids) {
|
|
18233
|
+
if (!known.has(id)) {
|
|
18234
|
+
throw new Error(COLUMN_MODEL_ERRORS.unknownColumn(id));
|
|
18235
|
+
}
|
|
18236
|
+
}
|
|
18237
|
+
}
|
|
18238
|
+
function initialColumnVisibility(columns) {
|
|
18239
|
+
return Object.fromEntries(columns.map((c) => [c.id, c.defaultVisible]));
|
|
18240
|
+
}
|
|
18241
|
+
function toggleColumnVisibility(columns, visibility, id) {
|
|
18242
|
+
assertKnown(columns, [id]);
|
|
18243
|
+
const column = columns.find((c) => c.id === id);
|
|
18244
|
+
const current = visibility[id] ?? column.defaultVisible;
|
|
18245
|
+
return { ...visibility, [id]: !current };
|
|
18246
|
+
}
|
|
18247
|
+
function visibleColumns(columns, visibility) {
|
|
18248
|
+
assertKnown(columns, Object.keys(visibility));
|
|
18249
|
+
return columns.filter((c) => visibility[c.id] ?? c.defaultVisible);
|
|
18250
|
+
}
|
|
18251
|
+
|
|
18252
|
+
// src/components/document-review/field-correction.ts
|
|
18253
|
+
async function applyFieldCorrection(args) {
|
|
18254
|
+
const { row, field, input, by, provenance, write, validate, now } = args;
|
|
18255
|
+
const checked = validate ? validate(field, input, row) : { ok: true, value: input };
|
|
18256
|
+
if (!checked.ok) return { ok: false, row, message: checked.message };
|
|
18257
|
+
let response;
|
|
18258
|
+
try {
|
|
18259
|
+
response = await write({ rowId: row.id, field, input, by, provenance });
|
|
18260
|
+
} catch (e) {
|
|
18261
|
+
return { ok: false, row, message: e instanceof Error ? e.message : String(e) };
|
|
18262
|
+
}
|
|
18263
|
+
if (!response.ok) return { ok: false, row, message: response.message };
|
|
18264
|
+
const confirmed = "value" in response;
|
|
18265
|
+
const corrected = confirmed ? response.value ?? null : checked.value;
|
|
18266
|
+
const original = row.corrections?.[field]?.original ?? row.values[field] ?? null;
|
|
18267
|
+
const record = {
|
|
18268
|
+
original,
|
|
18269
|
+
corrected,
|
|
18270
|
+
by,
|
|
18271
|
+
at: now ? now() : (/* @__PURE__ */ new Date()).toISOString(),
|
|
18272
|
+
provenance
|
|
18273
|
+
};
|
|
18274
|
+
return {
|
|
18275
|
+
ok: true,
|
|
18276
|
+
confirmed,
|
|
18277
|
+
row: {
|
|
18278
|
+
...row,
|
|
18279
|
+
values: { ...row.values, [field]: corrected },
|
|
18280
|
+
corrections: { ...row.corrections, [field]: record }
|
|
18281
|
+
}
|
|
18282
|
+
};
|
|
18283
|
+
}
|
|
18284
|
+
function correctionOutcome(result) {
|
|
18285
|
+
if (!result.ok) return "failed";
|
|
18286
|
+
return result.confirmed ? "ok" : "uncertain";
|
|
18287
|
+
}
|
|
18288
|
+
function MosaicDocumentTable({
|
|
18289
|
+
columns,
|
|
18290
|
+
rows,
|
|
18291
|
+
getRowId,
|
|
18292
|
+
columnVisibility,
|
|
18293
|
+
selectedRowId: controlledSelectedRowId,
|
|
18294
|
+
onSelectedRowChange,
|
|
18295
|
+
renderPanel,
|
|
18296
|
+
emptyMessage,
|
|
18297
|
+
className
|
|
18298
|
+
}) {
|
|
18299
|
+
const [internalSelectedRowId, setInternalSelectedRowId] = useState(null);
|
|
18300
|
+
const isControlled = controlledSelectedRowId !== void 0;
|
|
18301
|
+
const selectedRowId = isControlled ? controlledSelectedRowId : internalSelectedRowId;
|
|
18302
|
+
function select(rowId) {
|
|
18303
|
+
if (!isControlled) setInternalSelectedRowId(rowId);
|
|
18304
|
+
onSelectedRowChange?.(rowId);
|
|
18305
|
+
}
|
|
18306
|
+
const shown = visibleColumns(columns, columnVisibility ?? initialColumnVisibility(columns));
|
|
18307
|
+
const tableColumns = shown.map((column, columnIndex) => ({
|
|
18308
|
+
key: column.id,
|
|
18309
|
+
header: column.label,
|
|
18310
|
+
render: (row) => {
|
|
18311
|
+
const value = column.accessor(row);
|
|
18312
|
+
const text = value === null ? "" : String(value);
|
|
18313
|
+
if (columnIndex !== 0) return text;
|
|
18314
|
+
const isSelected = getRowId(row) === selectedRowId;
|
|
18315
|
+
return /* @__PURE__ */ jsx(
|
|
18316
|
+
"button",
|
|
18317
|
+
{
|
|
18318
|
+
type: "button",
|
|
18319
|
+
"data-slot": "document-table-open",
|
|
18320
|
+
"aria-current": isSelected ? "true" : void 0,
|
|
18321
|
+
"data-selected": isSelected ? "true" : void 0,
|
|
18322
|
+
className: "text-left underline-offset-2 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
18323
|
+
children: text
|
|
18324
|
+
}
|
|
18325
|
+
);
|
|
18326
|
+
}
|
|
18327
|
+
}));
|
|
18328
|
+
function handleClick(event) {
|
|
18329
|
+
const tr = event.target.closest("tr[data-slot='data-table-row']");
|
|
18330
|
+
if (!(tr instanceof HTMLTableRowElement)) return;
|
|
18331
|
+
const row = rows[tr.sectionRowIndex];
|
|
18332
|
+
if (row !== void 0) select(getRowId(row));
|
|
18333
|
+
}
|
|
18334
|
+
const orderedRowIds = rows.map(getRowId);
|
|
18335
|
+
const selectedRow = selectedRowId === null ? void 0 : rows.find((row) => getRowId(row) === selectedRowId);
|
|
18336
|
+
return (
|
|
18337
|
+
// biome-ignore lint/a11y/useKeyWithClickEvents: keyboard path is the first column's real <button>; this only resolves mouse clicks on other cells to their row
|
|
18338
|
+
/* @__PURE__ */ jsxs("div", { "data-slot": "document-table", className, onClick: handleClick, children: [
|
|
18339
|
+
/* @__PURE__ */ jsx(
|
|
18340
|
+
MosaicDataTable,
|
|
18341
|
+
{
|
|
18342
|
+
columns: tableColumns,
|
|
18343
|
+
rows,
|
|
18344
|
+
getRowKey: (row) => getRowId(row),
|
|
18345
|
+
sortable: false,
|
|
18346
|
+
emptyMessage
|
|
18347
|
+
}
|
|
18348
|
+
),
|
|
18349
|
+
selectedRow !== void 0 && renderPanel ? renderPanel(selectedRow, {
|
|
18350
|
+
rowId: getRowId(selectedRow),
|
|
18351
|
+
orderedRowIds,
|
|
18352
|
+
selectRow: (rowId) => select(rowId),
|
|
18353
|
+
closeRow: () => select(null)
|
|
18354
|
+
}) : null
|
|
18355
|
+
] })
|
|
18356
|
+
);
|
|
18357
|
+
}
|
|
18358
|
+
MosaicDocumentTable.displayName = "MosaicDocumentTable";
|
|
18359
|
+
function MosaicDocumentCriteriaPanel({
|
|
18360
|
+
row,
|
|
18361
|
+
rowId,
|
|
18362
|
+
columns,
|
|
18363
|
+
columnVisibility,
|
|
18364
|
+
documentUrl,
|
|
18365
|
+
orderedRowIds,
|
|
18366
|
+
onNavigate,
|
|
18367
|
+
onCorrect,
|
|
18368
|
+
actor,
|
|
18369
|
+
correctionProvenance,
|
|
18370
|
+
provenanceLabel,
|
|
18371
|
+
labels,
|
|
18372
|
+
defaultTab = INITIAL_REVIEW_PANEL_TAB,
|
|
18373
|
+
className
|
|
18374
|
+
}) {
|
|
18375
|
+
const [tab, setTab] = useState(defaultTab);
|
|
18376
|
+
const [sideWidth, setSideWidth] = useState(45);
|
|
18377
|
+
const [isSideCollapsed, setIsSideCollapsed] = useState(false);
|
|
18378
|
+
const previousId = neighbourRowId(orderedRowIds, rowId, "prev");
|
|
18379
|
+
const nextId = neighbourRowId(orderedRowIds, rowId, "next");
|
|
18380
|
+
const tabLabel = {
|
|
18381
|
+
compare: labels.tabCompare,
|
|
18382
|
+
document: labels.tabDocument,
|
|
18383
|
+
row: labels.tabRow
|
|
18384
|
+
};
|
|
18385
|
+
const document_ = /* @__PURE__ */ jsx(
|
|
18386
|
+
MosaicPdfViewer,
|
|
18387
|
+
{
|
|
18388
|
+
fileUrl: documentUrl,
|
|
18389
|
+
loadingLabel: labels.documentLoading,
|
|
18390
|
+
errorLabel: labels.documentError
|
|
18391
|
+
}
|
|
18392
|
+
);
|
|
18393
|
+
const fields = /* @__PURE__ */ jsx("dl", { "data-slot": "document-criteria-fields", className: "flex flex-col gap-3 p-3", children: visibleColumns(columns, columnVisibility ?? initialColumnVisibility(columns)).map(
|
|
18394
|
+
(column) => {
|
|
18395
|
+
const value = column.accessor(row);
|
|
18396
|
+
const provenance = provenanceLabel(row, column);
|
|
18397
|
+
return /* @__PURE__ */ jsxs(
|
|
18398
|
+
"div",
|
|
18399
|
+
{
|
|
18400
|
+
"data-slot": "document-criteria-field",
|
|
18401
|
+
className: "flex flex-col gap-1",
|
|
18402
|
+
children: [
|
|
18403
|
+
/* @__PURE__ */ jsx("dt", { className: "text-xs font-medium text-muted-foreground", children: column.label }),
|
|
18404
|
+
/* @__PURE__ */ jsxs("dd", { className: "m-0 flex flex-col gap-1", children: [
|
|
18405
|
+
/* @__PURE__ */ jsx(
|
|
18406
|
+
MosaicEditableCell,
|
|
18407
|
+
{
|
|
18408
|
+
value: value === null ? "" : String(value),
|
|
18409
|
+
disabled: column.editable === false,
|
|
18410
|
+
editAriaLabel: labels.editField(column.label),
|
|
18411
|
+
onCommit: (input) => {
|
|
18412
|
+
onCorrect({
|
|
18413
|
+
rowId,
|
|
18414
|
+
field: column.id,
|
|
18415
|
+
input,
|
|
18416
|
+
by: actor,
|
|
18417
|
+
provenance: correctionProvenance
|
|
18418
|
+
});
|
|
18419
|
+
}
|
|
18420
|
+
}
|
|
18421
|
+
),
|
|
18422
|
+
provenance ? /* @__PURE__ */ jsx(
|
|
18423
|
+
"span",
|
|
18424
|
+
{
|
|
18425
|
+
"data-slot": "document-criteria-provenance",
|
|
18426
|
+
className: "text-xs text-muted-foreground",
|
|
18427
|
+
children: provenance
|
|
18428
|
+
}
|
|
18429
|
+
) : null
|
|
18430
|
+
] })
|
|
18431
|
+
]
|
|
18432
|
+
},
|
|
18433
|
+
column.id
|
|
18434
|
+
);
|
|
18435
|
+
}
|
|
18436
|
+
) });
|
|
18437
|
+
return /* @__PURE__ */ jsx(
|
|
18438
|
+
"section",
|
|
18439
|
+
{
|
|
18440
|
+
"data-slot": "document-criteria-panel",
|
|
18441
|
+
"data-row-id": rowId,
|
|
18442
|
+
className: ["flex flex-col gap-2 rounded-md border border-border p-2", className].filter(Boolean).join(" "),
|
|
18443
|
+
children: /* @__PURE__ */ jsxs(MosaicTabs, { value: tab, onValueChange: (next) => setTab(next), children: [
|
|
18444
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
18445
|
+
/* @__PURE__ */ jsx(MosaicTabsList, { children: REVIEW_PANEL_TABS.map((value) => /* @__PURE__ */ jsx(MosaicTabsTrigger, { value, children: tabLabel[value] }, value)) }),
|
|
18446
|
+
/* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
|
|
18447
|
+
/* @__PURE__ */ jsx(
|
|
18448
|
+
"button",
|
|
18449
|
+
{
|
|
18450
|
+
type: "button",
|
|
18451
|
+
disabled: previousId === null,
|
|
18452
|
+
onClick: () => previousId !== null && onNavigate(previousId),
|
|
18453
|
+
className: "rounded-md border border-border px-3 py-1 text-sm disabled:opacity-50",
|
|
18454
|
+
children: labels.previous
|
|
18455
|
+
}
|
|
18456
|
+
),
|
|
18457
|
+
/* @__PURE__ */ jsx(
|
|
18458
|
+
"button",
|
|
18459
|
+
{
|
|
18460
|
+
type: "button",
|
|
18461
|
+
disabled: nextId === null,
|
|
18462
|
+
onClick: () => nextId !== null && onNavigate(nextId),
|
|
18463
|
+
className: "rounded-md border border-border px-3 py-1 text-sm disabled:opacity-50",
|
|
18464
|
+
children: labels.next
|
|
18465
|
+
}
|
|
18466
|
+
)
|
|
18467
|
+
] })
|
|
18468
|
+
] }),
|
|
18469
|
+
/* @__PURE__ */ jsx(MosaicTabsPanel, { value: "compare", children: /* @__PURE__ */ jsx(
|
|
18470
|
+
MosaicResizableSplitPane,
|
|
18471
|
+
{
|
|
18472
|
+
main: document_,
|
|
18473
|
+
side: fields,
|
|
18474
|
+
sideWidth,
|
|
18475
|
+
onSideWidthChange: setSideWidth,
|
|
18476
|
+
isSideCollapsed,
|
|
18477
|
+
onToggleSideCollapsed: () => setIsSideCollapsed((c) => !c),
|
|
18478
|
+
collapseButtonAriaLabel: labels.collapse,
|
|
18479
|
+
resizeHandleAriaLabel: labels.resize
|
|
18480
|
+
}
|
|
18481
|
+
) }),
|
|
18482
|
+
/* @__PURE__ */ jsx(MosaicTabsPanel, { value: "document", children: document_ }),
|
|
18483
|
+
/* @__PURE__ */ jsx(MosaicTabsPanel, { value: "row", children: fields })
|
|
18484
|
+
] })
|
|
18485
|
+
}
|
|
18486
|
+
);
|
|
18487
|
+
}
|
|
18488
|
+
MosaicDocumentCriteriaPanel.displayName = "MosaicDocumentCriteriaPanel";
|
|
18489
|
+
|
|
18490
|
+
export { INITIAL_REVIEW_PANEL_TAB, MosaicAccordion, MosaicAccordionItem, MosaicAccordionPanel, MosaicAccordionTrigger, MosaicActivityFeed, MosaicActivityItem, MosaicAdaptiveGrid, MosaicAdaptiveModal, MosaicAdaptiveNavigation, MosaicAddMemoryForm, MosaicAdminOnlyGuard, MosaicAgentBuilderModal, MosaicAgentCard, MosaicAgentChat, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, MosaicAgentEditor, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, MosaicAgentPreview, MosaicAgentTeamPreview, MosaicAlertDialog, MosaicAlertDialogAction, MosaicAlertDialogCancel, MosaicAlertDialogContent, MosaicAlertDialogDescription, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, MosaicAlertDialogPortal, MosaicAlertDialogTitle, MosaicAlertDialogTrigger, MosaicAnimatedList, MosaicApiKeyPanel, MosaicAppSidebar, MosaicApprovalPrompt, MosaicArtifactCanvasAdapter, MosaicArtifactChart, MosaicArtifactChecklist, MosaicArtifactDataTable, MosaicArtifactDocument, MosaicArtifactLibrary, MosaicArtifactSaveAsMemoryForm, MosaicArtifactVersionHistory, MosaicAvatar, MosaicBadge, MosaicBlurredOrb, MosaicButton, MosaicCallout, MosaicCard, MosaicCardContent, MosaicCardDescription, MosaicCardFooter, MosaicCardHeader, MosaicCardTitle, MosaicChatComposer, MosaicChatMessage, MosaicChatSidebar, MosaicChatThread, MosaicCheckbox, MosaicClerkOrgSwitcher, MosaicClerkWebhookHandler, MosaicCollapsible, MosaicCollapsiblePanel, MosaicCollapsibleTrigger, MosaicCombobox, MosaicCounter, MosaicCreateOrgDialog, MosaicDashboardContent, MosaicDashboardHeader, MosaicDashboardLayout, MosaicDataTable, MosaicDeleteConfirmationDialog, MosaicDeviceProvider, MosaicDocumentCriteriaPanel, MosaicDocumentTable, MosaicDocumentUpload, MosaicDrawer, MosaicDropdownMenu, MosaicEditMemoryDialog, MosaicEditSessionDialog, MosaicEditableCell, MosaicEmptyState, MosaicFallingPattern, MosaicFeature3Col, MosaicFeatureCenteredMedia, MosaicField, MosaicFieldControl, MosaicFieldDescription, MosaicFieldError, MosaicFieldLabel, MosaicFilterBar, MosaicFilterSidebar, MosaicFooterSimple, MosaicHeroSplit, MosaicInput, MosaicInputGroup, MosaicIntegrationsBadge, MosaicInviteMemberDialog, MosaicKanbanBoard, MosaicKanbanColumn, MosaicLogosGrid, MosaicMainNav, MosaicMarkdown, MosaicMarketplaceCard, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, MosaicMatchInput, MosaicMemberList, MosaicMemoryCard, MosaicMemoryDashboard, MosaicMemoryGrid, MosaicMemoryList, MosaicMemorySearch, MosaicMentionInput, MosaicMessageCard, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, MosaicMessageSearch, MosaicModelSelector, MosaicModuleCard, MosaicModuleForm, MosaicModuleLibrary, MosaicMultiOrgIndicator, MosaicMultiTenantProvider, MosaicNavbar, MosaicOrgContextDisplay, MosaicOrgPanel, MosaicOrgProfilePage, MosaicOrgRoleBadge, MosaicOrgSwitcher, MosaicPdfViewer, MosaicPopover, MosaicPreferencesPanel, MosaicPricingCard, MosaicProfilePanel, MosaicProgress, MosaicQuickActionCard, MosaicQuickActionsMenu, MosaicQuickAgentSelector, MosaicQuickStartPanel, MosaicRadioGroup, MosaicRadioGroupItem, MosaicReplyInput, MosaicResizableSplitPane, MosaicSaveChatAsMemoryForm, MosaicSaveTemplateModal, MosaicScrollArea, MosaicSelect, MosaicSelectorModal, MosaicSeparator, MosaicSessionCard, MosaicSessionList, MosaicSignInLayout, MosaicSignUpLayout, MosaicSkeleton, MosaicSlider, MosaicStatsGrid, MosaicStepPipeline, MosaicSwitch, MosaicTabs, MosaicTabsList, MosaicTabsPanel, MosaicTabsTrigger, MosaicTagInput, MosaicTemplateAgentCard, MosaicTemplateCard, MosaicTemplateCategoryChips, MosaicTemplateGallery, MosaicTemplateList, MosaicTemplateManagementPanel, MosaicTemplatePreview, MosaicTestimonialsGrid, MosaicTextarea, MosaicThemeProvider, MosaicThemeToggle, MosaicThreadIndicator, MosaicThreadView, MosaicToast, MosaicToastProvider, MosaicToolToggleList, MosaicTooltip, MosaicTooltipContent, MosaicTooltipProvider, MosaicTooltipRoot, MosaicTooltipTrigger, MosaicUrlScraper, MosaicUserButton, Placeholder, REVIEW_PANEL_TABS, 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, initialColumnVisibility, isEditableTarget, marketplaceCardVariants, matchStateVariants, memoryDashboardViewToggleButtonVariants, memoryGridVariants, memoryListItemVariants, memoryListVariants, memorySearchFilterChipVariants, mentionInputFieldVariants, mentionListItemVariants, mentionListVariants, neighbourRowId, 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, toggleColumnVisibility, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version, visibleColumns };
|
|
18204
18491
|
//# sourceMappingURL=index.js.map
|
|
18205
18492
|
//# sourceMappingURL=index.js.map
|