@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/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @vantageos/mosaic-blocks
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@vantageos/mosaic-blocks)
|
|
4
|
-
[](docs/CONTRIBUTING.md#delivering-a-pr-with-actions-off)
|
|
5
5
|
[](LICENSE)
|
|
6
6
|
|
|
7
7
|
**Production-ready composed UI blocks for VantageOS products.** Built on React 19 + Tailwind v4 + `@base-ui/react`. Ships mobile-first, multi-tenant auth, OKLCH theming, and full bilingual (FR+EN) out of the box.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
## 1. Hero & Positioning
|
|
12
12
|
|
|
13
|
-
`@vantageos/mosaic-blocks` is the **React composed-block layer** of the VantageOS Mosaic design system. It provides
|
|
13
|
+
`@vantageos/mosaic-blocks` is the **React composed-block layer** of the VantageOS Mosaic design system. It provides 192 opinionated, fully-typed UI components that integrate natively with:
|
|
14
14
|
|
|
15
15
|
- **Clerk** — auth sign-in/up flows, org switcher, RBAC, webhook sync
|
|
16
16
|
- **Convex** — real-time data binding ready
|
|
@@ -54,7 +54,7 @@ pnpm add @vantageos/mosaic-blocks
|
|
|
54
54
|
| `tailwindcss` | `^4.3.1` | Always |
|
|
55
55
|
| `@base-ui/react` | `^1.5.0` | Auto-installed (direct dep) |
|
|
56
56
|
| `@clerk/nextjs` | `^7` | Using any auth component |
|
|
57
|
-
| `@vantageos/cloud-identity` | `>=0.
|
|
57
|
+
| `@vantageos/cloud-identity` | `>=0.6.0` | `MosaicMultiTenantProvider` |
|
|
58
58
|
| `svix` | `^1.0.0` | `MosaicClerkWebhookHandler` only |
|
|
59
59
|
|
|
60
60
|
```bash
|
|
@@ -169,7 +169,7 @@ For OKLCH design tokens, pair with `@vantageos/mosaic-tokens` — see [Section 1
|
|
|
169
169
|
|
|
170
170
|
## 6. Component Catalogue Summary
|
|
171
171
|
|
|
172
|
-
|
|
172
|
+
192 exported `Mosaic*` components across 9 sections (314 total named exports including hooks, variant helpers, and unprefixed aliases such as `Tooltip`/`Accordion`). This count is enforced by `src/__tests__/readme-matches-exports.test.ts` — it fails CI if this README drifts from `src/index.ts` again. Full reference: [docs/components-catalog.md](docs/components-catalog.md).
|
|
173
173
|
|
|
174
174
|
> There is **no "Debate" section**. No `Mosaic*` debate component (room/timer/participant) is exported by this package — despite the "absorbed from anydebate" origin story below, the debate UI was never ported. If you need debate-room UI, it does not exist here yet.
|
|
175
175
|
|
|
@@ -365,6 +365,7 @@ export default function DashboardPage() {
|
|
|
365
365
|
heading="Recent activity"
|
|
366
366
|
viewAllLabel="View all"
|
|
367
367
|
emptyMessage="No activity yet"
|
|
368
|
+
formatMessageCount={(count) => `${count} messages`}
|
|
368
369
|
/>
|
|
369
370
|
</div>
|
|
370
371
|
</MosaicDashboardLayout>
|
|
@@ -470,7 +471,7 @@ This package follows [Semantic Versioning](https://semver.org/). While in alpha
|
|
|
470
471
|
|
|
471
472
|
| Version | Status | Notes |
|
|
472
473
|
|---|---|---|
|
|
473
|
-
| `0.5.17-alpha` | Current |
|
|
474
|
+
| `0.5.17-alpha` | Current | 192 exported `Mosaic*` components — adds `MosaicResizableSplitPane` (presentational resizable two-pane content layout: drag or arrow-key resize, host-controlled width and collapsed state; forms a pair with `MosaicPdfViewer` for side-by-side document preview + edit panel) — superseded row below kept for history |
|
|
474
475
|
| `0.5.16-alpha` | Historical | 136 exported `Mosaic*` components — adds `MosaicPdfViewer` (presentational inline PDF preview via the browser's native PDF renderer: host-controlled page navigation + zoom, local loading/error status, no PDF library, no network call by the component itself) — superseded by the Current row above |
|
|
475
476
|
| `0.5.15-alpha` | Historical | 135 exported `Mosaic*` components — adds `MosaicToast` + `MosaicToastProvider` (presentational ephemeral notification: 4 variants, optional `durationMs` auto-dismiss, host-controlled action node; provider positions the stack top-right/top-center/bottom-right/bottom-center) — superseded by the Current row above |
|
|
476
477
|
| `0.5.14-alpha` | Historical | 133 exported `Mosaic*` components — no new component: adds `scripts/docs-counts.mjs`, a generator that derives every README.md / docs/components-catalog.md component/export count from `src/index.ts` (`pnpm docs:counts` writes, `pnpm docs:counts --check` verifies without writing, wired into CI's Gates job) — closes the class of defect where a count goes stale only AFTER two branches compose, invisible to any per-branch CI run — superseded by the Current row above |
|
|
@@ -503,12 +504,12 @@ Quick summary:
|
|
|
503
504
|
1. Fork and clone the repo
|
|
504
505
|
2. `pnpm install` at repo root
|
|
505
506
|
3. `pnpm build` — compiles the package
|
|
506
|
-
4. `pnpm test` — runs vitest suite (557+ tests; exact count grows with every PR,
|
|
507
|
+
4. `pnpm test` — runs vitest suite (557+ tests; exact count grows with every PR, run `pnpm test` for the live count)
|
|
507
508
|
5. `pnpm lint` — biome check
|
|
508
509
|
6. `pnpm storybook` — component sandbox at localhost:6006
|
|
509
|
-
7.
|
|
510
|
+
7. Run `pnpm gate:local` (it runs every step of `.github/workflows/ci.yml` locally and prints an `N run / M total` summary), then open a PR with that summary line in the body
|
|
510
511
|
|
|
511
|
-
|
|
512
|
+
GitHub Actions is off on this repository: a PR is gated by the author's `pnpm gate:local` run plus the reviewer's fresh-clone rerun (see [docs/CONTRIBUTING.md](docs/CONTRIBUTING.md#delivering-a-pr-with-actions-off)), never by a CI status. See [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for system design and [docs/adr/](docs/adr/) for architecture decisions.
|
|
512
513
|
|
|
513
514
|
---
|
|
514
515
|
|
package/dist/index.cjs
CHANGED
|
@@ -48,7 +48,7 @@ function _interopNamespace(e) {
|
|
|
48
48
|
var React30__namespace = /*#__PURE__*/_interopNamespace(React30);
|
|
49
49
|
|
|
50
50
|
// src/version.ts
|
|
51
|
-
var version = "0.5.
|
|
51
|
+
var version = "0.5.36-alpha";
|
|
52
52
|
function Placeholder({ label = "mosaic-blocks placeholder" }) {
|
|
53
53
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-mosaic-block": "placeholder", children: label });
|
|
54
54
|
}
|
|
@@ -2868,6 +2868,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2868
2868
|
tabNavAriaLabel,
|
|
2869
2869
|
completeStatusLabel,
|
|
2870
2870
|
inProgressStatusLabel,
|
|
2871
|
+
formatDuration,
|
|
2871
2872
|
className,
|
|
2872
2873
|
ref
|
|
2873
2874
|
}) {
|
|
@@ -2910,10 +2911,7 @@ function MosaicAdaptiveNavigation({
|
|
|
2910
2911
|
] })
|
|
2911
2912
|
] }),
|
|
2912
2913
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 shrink-0", children: [
|
|
2913
|
-
item.duration !== void 0 && /* @__PURE__ */ jsxRuntime.
|
|
2914
|
-
item.duration,
|
|
2915
|
-
"s"
|
|
2916
|
-
] }),
|
|
2914
|
+
item.duration !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded bg-primary px-2 py-0.5 text-xs text-primary-foreground", children: formatDuration(item.duration) }),
|
|
2917
2915
|
/* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon2, { rotated: isExpanded })
|
|
2918
2916
|
] })
|
|
2919
2917
|
]
|
|
@@ -2965,17 +2963,14 @@ function MosaicAdaptiveNavigation({
|
|
|
2965
2963
|
}
|
|
2966
2964
|
),
|
|
2967
2965
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:inline", children: item.title }),
|
|
2968
|
-
item.duration !== void 0 && /* @__PURE__ */ jsxRuntime.
|
|
2966
|
+
item.duration !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2969
2967
|
"span",
|
|
2970
2968
|
{
|
|
2971
2969
|
className: cn40(
|
|
2972
2970
|
"rounded px-1 py-0.5 text-xs",
|
|
2973
2971
|
isActive ? "bg-primary-foreground/20" : "bg-muted"
|
|
2974
2972
|
),
|
|
2975
|
-
children:
|
|
2976
|
-
item.duration,
|
|
2977
|
-
"s"
|
|
2978
|
-
]
|
|
2973
|
+
children: formatDuration(item.duration)
|
|
2979
2974
|
}
|
|
2980
2975
|
)
|
|
2981
2976
|
]
|
|
@@ -3735,7 +3730,12 @@ function ArrowRightIcon() {
|
|
|
3735
3730
|
}
|
|
3736
3731
|
);
|
|
3737
3732
|
}
|
|
3738
|
-
function MosaicActivityItem({
|
|
3733
|
+
function MosaicActivityItem({
|
|
3734
|
+
activity,
|
|
3735
|
+
formatMessageCount,
|
|
3736
|
+
icon,
|
|
3737
|
+
className
|
|
3738
|
+
}) {
|
|
3739
3739
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3740
3740
|
"div",
|
|
3741
3741
|
{
|
|
@@ -3763,10 +3763,7 @@ function MosaicActivityItem({ activity, icon, className }) {
|
|
|
3763
3763
|
label
|
|
3764
3764
|
);
|
|
3765
3765
|
}) }),
|
|
3766
|
-
activity.messages !== void 0 && /* @__PURE__ */ jsxRuntime.
|
|
3767
|
-
activity.messages,
|
|
3768
|
-
" messages"
|
|
3769
|
-
] })
|
|
3766
|
+
activity.messages !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground", children: formatMessageCount(activity.messages) })
|
|
3770
3767
|
] }),
|
|
3771
3768
|
activity.excerpt && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs text-muted-foreground line-clamp-1", children: activity.excerpt })
|
|
3772
3769
|
] }),
|
|
@@ -3795,6 +3792,7 @@ function MosaicActivityFeed({
|
|
|
3795
3792
|
viewAllHref,
|
|
3796
3793
|
viewAllLabel,
|
|
3797
3794
|
emptyMessage,
|
|
3795
|
+
formatMessageCount,
|
|
3798
3796
|
iconMap,
|
|
3799
3797
|
renderLink,
|
|
3800
3798
|
className,
|
|
@@ -3834,7 +3832,14 @@ function MosaicActivityFeed({
|
|
|
3834
3832
|
{
|
|
3835
3833
|
className: "mosaic-activity-row",
|
|
3836
3834
|
style: { animationDelay: `${idx * 80}ms` },
|
|
3837
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3835
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3836
|
+
MosaicActivityItem,
|
|
3837
|
+
{
|
|
3838
|
+
activity,
|
|
3839
|
+
formatMessageCount,
|
|
3840
|
+
icon: iconMap?.[activity.type]
|
|
3841
|
+
}
|
|
3842
|
+
)
|
|
3838
3843
|
},
|
|
3839
3844
|
activity.id
|
|
3840
3845
|
)) })
|
|
@@ -4029,6 +4034,7 @@ function MosaicAgentComposerDesktop({
|
|
|
4029
4034
|
customInstructionsPreviewLabel,
|
|
4030
4035
|
selectAllModulesLabel,
|
|
4031
4036
|
unnamedAgentLabel,
|
|
4037
|
+
formatContextWindow,
|
|
4032
4038
|
roleSublabel,
|
|
4033
4039
|
personaSublabel,
|
|
4034
4040
|
frameworkSublabel,
|
|
@@ -4134,7 +4140,7 @@ function MosaicAgentComposerDesktop({
|
|
|
4134
4140
|
] }),
|
|
4135
4141
|
selectedModel.provider && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs capitalize text-muted-foreground", children: selectedModel.provider }),
|
|
4136
4142
|
(selectedModel.contextWindow || selectedModel.pricingLabel) && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-xs text-muted-foreground", children: [
|
|
4137
|
-
selectedModel.contextWindow &&
|
|
4143
|
+
selectedModel.contextWindow && formatContextWindow(selectedModel.contextWindow),
|
|
4138
4144
|
selectedModel.contextWindow && selectedModel.pricingLabel && " \u2022 ",
|
|
4139
4145
|
selectedModel.pricingLabel
|
|
4140
4146
|
] })
|
|
@@ -4500,7 +4506,8 @@ function MosaicAgentComposerMobile({
|
|
|
4500
4506
|
editModuleAriaLabel,
|
|
4501
4507
|
removeModuleAriaLabel,
|
|
4502
4508
|
selectModuleAriaLabel,
|
|
4503
|
-
changeModuleLabel
|
|
4509
|
+
changeModuleLabel,
|
|
4510
|
+
formatContextWindow
|
|
4504
4511
|
}) {
|
|
4505
4512
|
const L = labels;
|
|
4506
4513
|
const instructionsId = React30__namespace.useId();
|
|
@@ -4614,7 +4621,7 @@ function MosaicAgentComposerMobile({
|
|
|
4614
4621
|
] }),
|
|
4615
4622
|
selectedModel.provider && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs capitalize text-muted-foreground", children: selectedModel.provider }),
|
|
4616
4623
|
(selectedModel.contextWindow || selectedModel.pricingLabel) && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-xs text-muted-foreground", children: [
|
|
4617
|
-
selectedModel.contextWindow &&
|
|
4624
|
+
selectedModel.contextWindow && formatContextWindow(selectedModel.contextWindow),
|
|
4618
4625
|
selectedModel.contextWindow && selectedModel.pricingLabel && " \u2022 ",
|
|
4619
4626
|
selectedModel.pricingLabel
|
|
4620
4627
|
] })
|
|
@@ -9118,7 +9125,9 @@ function MosaicTemplateCard({
|
|
|
9118
9125
|
showActions = false,
|
|
9119
9126
|
compact = false,
|
|
9120
9127
|
previewLabel,
|
|
9121
|
-
duplicateLabel
|
|
9128
|
+
duplicateLabel,
|
|
9129
|
+
formatAgentCount,
|
|
9130
|
+
formatUsageCount
|
|
9122
9131
|
}) {
|
|
9123
9132
|
const isPopular = (template.metadata?.usageCount ?? 0) > 10;
|
|
9124
9133
|
const isTrending = (template.metadata?.usageCount ?? 0) > 5;
|
|
@@ -9149,14 +9158,8 @@ function MosaicTemplateCard({
|
|
|
9149
9158
|
] }),
|
|
9150
9159
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 flex flex-wrap items-center gap-1.5", children: [
|
|
9151
9160
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-md bg-secondary px-2 py-0.5 text-xs text-secondary-foreground", children: template.category }),
|
|
9152
|
-
template.agents && template.agents.length > 0 && /* @__PURE__ */ jsxRuntime.
|
|
9153
|
-
|
|
9154
|
-
" agents"
|
|
9155
|
-
] }),
|
|
9156
|
-
(template.metadata?.usageCount ?? 0) > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "rounded-md border border-border px-2 py-0.5 text-xs text-muted-foreground", children: [
|
|
9157
|
-
template.metadata?.usageCount,
|
|
9158
|
-
" uses"
|
|
9159
|
-
] }),
|
|
9161
|
+
template.agents && template.agents.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-md border border-border px-2 py-0.5 text-xs text-muted-foreground", children: formatAgentCount(template.agents.length) }),
|
|
9162
|
+
(template.metadata?.usageCount ?? 0) > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-md border border-border px-2 py-0.5 text-xs text-muted-foreground", children: formatUsageCount(template.metadata?.usageCount ?? 0) }),
|
|
9160
9163
|
tags.slice(0, compact ? 1 : 2).map((tag) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
9161
9164
|
"span",
|
|
9162
9165
|
{
|
|
@@ -9420,6 +9423,8 @@ function TemplateGalleryContent({
|
|
|
9420
9423
|
expandSidebarAriaLabel,
|
|
9421
9424
|
previewLabel,
|
|
9422
9425
|
duplicateLabel,
|
|
9426
|
+
formatAgentCount,
|
|
9427
|
+
formatUsageCount,
|
|
9423
9428
|
isMobile
|
|
9424
9429
|
}) {
|
|
9425
9430
|
const [query, setQuery] = React30__namespace.useState("");
|
|
@@ -9496,6 +9501,8 @@ function TemplateGalleryContent({
|
|
|
9496
9501
|
showActions,
|
|
9497
9502
|
previewLabel,
|
|
9498
9503
|
duplicateLabel,
|
|
9504
|
+
formatAgentCount,
|
|
9505
|
+
formatUsageCount,
|
|
9499
9506
|
compact: true
|
|
9500
9507
|
},
|
|
9501
9508
|
template.id
|
|
@@ -9545,7 +9552,9 @@ function TemplateGalleryContent({
|
|
|
9545
9552
|
onDuplicate: onDuplicateTemplate,
|
|
9546
9553
|
showActions,
|
|
9547
9554
|
previewLabel,
|
|
9548
|
-
duplicateLabel
|
|
9555
|
+
duplicateLabel,
|
|
9556
|
+
formatAgentCount,
|
|
9557
|
+
formatUsageCount
|
|
9549
9558
|
},
|
|
9550
9559
|
template.id
|
|
9551
9560
|
)) }),
|
|
@@ -10135,6 +10144,7 @@ function MosaicOrgRoleBadge({
|
|
|
10135
10144
|
MosaicOrgRoleBadge.displayName = "MosaicOrgRoleBadge";
|
|
10136
10145
|
function MosaicMultiOrgIndicator({
|
|
10137
10146
|
orgCount,
|
|
10147
|
+
formatOrgCount,
|
|
10138
10148
|
currentOrgName,
|
|
10139
10149
|
onSwitchOrg,
|
|
10140
10150
|
className
|
|
@@ -10171,14 +10181,10 @@ function MosaicMultiOrgIndicator({
|
|
|
10171
10181
|
]
|
|
10172
10182
|
}
|
|
10173
10183
|
),
|
|
10174
|
-
orgCount
|
|
10175
|
-
" orgs"
|
|
10184
|
+
formatOrgCount(orgCount)
|
|
10176
10185
|
]
|
|
10177
10186
|
}
|
|
10178
|
-
) : /* @__PURE__ */ jsxRuntime.
|
|
10179
|
-
orgCount,
|
|
10180
|
-
" orgs"
|
|
10181
|
-
] }),
|
|
10187
|
+
) : /* @__PURE__ */ jsxRuntime.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) }),
|
|
10182
10188
|
currentOrgName && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground", children: currentOrgName })
|
|
10183
10189
|
] });
|
|
10184
10190
|
}
|
|
@@ -17406,11 +17412,11 @@ function cn120(...classes) {
|
|
|
17406
17412
|
return classes.filter(Boolean).join(" ");
|
|
17407
17413
|
}
|
|
17408
17414
|
var CHART_COLORS = [
|
|
17409
|
-
"var(--color-chart-1
|
|
17410
|
-
"var(--color-chart-2
|
|
17411
|
-
"var(--color-chart-3
|
|
17412
|
-
"var(--color-chart-4
|
|
17413
|
-
"var(--color-chart-5
|
|
17415
|
+
"var(--color-chart-1)",
|
|
17416
|
+
"var(--color-chart-2)",
|
|
17417
|
+
"var(--color-chart-3)",
|
|
17418
|
+
"var(--color-chart-4)",
|
|
17419
|
+
"var(--color-chart-5)"
|
|
17414
17420
|
];
|
|
17415
17421
|
function seriesKeys(rows, xAxisKey) {
|
|
17416
17422
|
return Object.keys(rows[0] ?? {}).filter((key) => key !== xAxisKey);
|
|
@@ -18219,6 +18225,287 @@ function MosaicAdminOnlyGuard(props) {
|
|
|
18219
18225
|
}
|
|
18220
18226
|
MosaicAdminOnlyGuard.displayName = "MosaicAdminOnlyGuard";
|
|
18221
18227
|
|
|
18228
|
+
// src/components/document-review/panel-tab.ts
|
|
18229
|
+
var REVIEW_PANEL_TABS = ["compare", "document", "row"];
|
|
18230
|
+
var INITIAL_REVIEW_PANEL_TAB = "compare";
|
|
18231
|
+
|
|
18232
|
+
// src/components/document-review/row-navigation.ts
|
|
18233
|
+
function isEditableTarget(target) {
|
|
18234
|
+
return target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement || target instanceof HTMLSelectElement || target instanceof HTMLElement && target.isContentEditable === true;
|
|
18235
|
+
}
|
|
18236
|
+
function neighbourRowId(orderedRowIds, currentRowId, direction) {
|
|
18237
|
+
const index = orderedRowIds.indexOf(currentRowId);
|
|
18238
|
+
if (index === -1) return null;
|
|
18239
|
+
const neighbourIndex = index + (direction === "next" ? 1 : -1);
|
|
18240
|
+
if (neighbourIndex < 0 || neighbourIndex >= orderedRowIds.length) return null;
|
|
18241
|
+
return orderedRowIds[neighbourIndex] ?? null;
|
|
18242
|
+
}
|
|
18243
|
+
|
|
18244
|
+
// src/components/document-review/column-model.ts
|
|
18245
|
+
var COLUMN_MODEL_ERRORS = {
|
|
18246
|
+
// allow-hardcoded-word: developer-facing invariant error, never rendered to an end user
|
|
18247
|
+
unknownColumn: (id) => `document-review: visibility names unknown column "${id}"`
|
|
18248
|
+
};
|
|
18249
|
+
function assertKnown(columns, ids) {
|
|
18250
|
+
const known = new Set(columns.map((c) => c.id));
|
|
18251
|
+
for (const id of ids) {
|
|
18252
|
+
if (!known.has(id)) {
|
|
18253
|
+
throw new Error(COLUMN_MODEL_ERRORS.unknownColumn(id));
|
|
18254
|
+
}
|
|
18255
|
+
}
|
|
18256
|
+
}
|
|
18257
|
+
function initialColumnVisibility(columns) {
|
|
18258
|
+
return Object.fromEntries(columns.map((c) => [c.id, c.defaultVisible]));
|
|
18259
|
+
}
|
|
18260
|
+
function toggleColumnVisibility(columns, visibility, id) {
|
|
18261
|
+
assertKnown(columns, [id]);
|
|
18262
|
+
const column = columns.find((c) => c.id === id);
|
|
18263
|
+
const current = visibility[id] ?? column.defaultVisible;
|
|
18264
|
+
return { ...visibility, [id]: !current };
|
|
18265
|
+
}
|
|
18266
|
+
function visibleColumns(columns, visibility) {
|
|
18267
|
+
assertKnown(columns, Object.keys(visibility));
|
|
18268
|
+
return columns.filter((c) => visibility[c.id] ?? c.defaultVisible);
|
|
18269
|
+
}
|
|
18270
|
+
|
|
18271
|
+
// src/components/document-review/field-correction.ts
|
|
18272
|
+
async function applyFieldCorrection(args) {
|
|
18273
|
+
const { row, field, input, by, provenance, write, validate, now } = args;
|
|
18274
|
+
const checked = validate ? validate(field, input, row) : { ok: true, value: input };
|
|
18275
|
+
if (!checked.ok) return { ok: false, row, message: checked.message };
|
|
18276
|
+
let response;
|
|
18277
|
+
try {
|
|
18278
|
+
response = await write({ rowId: row.id, field, input, by, provenance });
|
|
18279
|
+
} catch (e) {
|
|
18280
|
+
return { ok: false, row, message: e instanceof Error ? e.message : String(e) };
|
|
18281
|
+
}
|
|
18282
|
+
if (!response.ok) return { ok: false, row, message: response.message };
|
|
18283
|
+
const confirmed = "value" in response;
|
|
18284
|
+
const corrected = confirmed ? response.value ?? null : checked.value;
|
|
18285
|
+
const original = row.corrections?.[field]?.original ?? row.values[field] ?? null;
|
|
18286
|
+
const record = {
|
|
18287
|
+
original,
|
|
18288
|
+
corrected,
|
|
18289
|
+
by,
|
|
18290
|
+
at: now ? now() : (/* @__PURE__ */ new Date()).toISOString(),
|
|
18291
|
+
provenance
|
|
18292
|
+
};
|
|
18293
|
+
return {
|
|
18294
|
+
ok: true,
|
|
18295
|
+
confirmed,
|
|
18296
|
+
row: {
|
|
18297
|
+
...row,
|
|
18298
|
+
values: { ...row.values, [field]: corrected },
|
|
18299
|
+
corrections: { ...row.corrections, [field]: record }
|
|
18300
|
+
}
|
|
18301
|
+
};
|
|
18302
|
+
}
|
|
18303
|
+
function correctionOutcome(result) {
|
|
18304
|
+
if (!result.ok) return "failed";
|
|
18305
|
+
return result.confirmed ? "ok" : "uncertain";
|
|
18306
|
+
}
|
|
18307
|
+
function MosaicDocumentTable({
|
|
18308
|
+
columns,
|
|
18309
|
+
rows,
|
|
18310
|
+
getRowId,
|
|
18311
|
+
columnVisibility,
|
|
18312
|
+
selectedRowId: controlledSelectedRowId,
|
|
18313
|
+
onSelectedRowChange,
|
|
18314
|
+
renderPanel,
|
|
18315
|
+
emptyMessage,
|
|
18316
|
+
className
|
|
18317
|
+
}) {
|
|
18318
|
+
const [internalSelectedRowId, setInternalSelectedRowId] = React30.useState(null);
|
|
18319
|
+
const isControlled = controlledSelectedRowId !== void 0;
|
|
18320
|
+
const selectedRowId = isControlled ? controlledSelectedRowId : internalSelectedRowId;
|
|
18321
|
+
function select(rowId) {
|
|
18322
|
+
if (!isControlled) setInternalSelectedRowId(rowId);
|
|
18323
|
+
onSelectedRowChange?.(rowId);
|
|
18324
|
+
}
|
|
18325
|
+
const shown = visibleColumns(columns, columnVisibility ?? initialColumnVisibility(columns));
|
|
18326
|
+
const tableColumns = shown.map((column, columnIndex) => ({
|
|
18327
|
+
key: column.id,
|
|
18328
|
+
header: column.label,
|
|
18329
|
+
render: (row) => {
|
|
18330
|
+
const value = column.accessor(row);
|
|
18331
|
+
const text = value === null ? "" : String(value);
|
|
18332
|
+
if (columnIndex !== 0) return text;
|
|
18333
|
+
const isSelected = getRowId(row) === selectedRowId;
|
|
18334
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18335
|
+
"button",
|
|
18336
|
+
{
|
|
18337
|
+
type: "button",
|
|
18338
|
+
"data-slot": "document-table-open",
|
|
18339
|
+
"aria-current": isSelected ? "true" : void 0,
|
|
18340
|
+
"data-selected": isSelected ? "true" : void 0,
|
|
18341
|
+
className: "text-left underline-offset-2 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
18342
|
+
children: text
|
|
18343
|
+
}
|
|
18344
|
+
);
|
|
18345
|
+
}
|
|
18346
|
+
}));
|
|
18347
|
+
function handleClick(event) {
|
|
18348
|
+
const tr = event.target.closest("tr[data-slot='data-table-row']");
|
|
18349
|
+
if (!(tr instanceof HTMLTableRowElement)) return;
|
|
18350
|
+
const row = rows[tr.sectionRowIndex];
|
|
18351
|
+
if (row !== void 0) select(getRowId(row));
|
|
18352
|
+
}
|
|
18353
|
+
const orderedRowIds = rows.map(getRowId);
|
|
18354
|
+
const selectedRow = selectedRowId === null ? void 0 : rows.find((row) => getRowId(row) === selectedRowId);
|
|
18355
|
+
return (
|
|
18356
|
+
// 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
|
|
18357
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "document-table", className, onClick: handleClick, children: [
|
|
18358
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18359
|
+
MosaicDataTable,
|
|
18360
|
+
{
|
|
18361
|
+
columns: tableColumns,
|
|
18362
|
+
rows,
|
|
18363
|
+
getRowKey: (row) => getRowId(row),
|
|
18364
|
+
sortable: false,
|
|
18365
|
+
emptyMessage
|
|
18366
|
+
}
|
|
18367
|
+
),
|
|
18368
|
+
selectedRow !== void 0 && renderPanel ? renderPanel(selectedRow, {
|
|
18369
|
+
rowId: getRowId(selectedRow),
|
|
18370
|
+
orderedRowIds,
|
|
18371
|
+
selectRow: (rowId) => select(rowId),
|
|
18372
|
+
closeRow: () => select(null)
|
|
18373
|
+
}) : null
|
|
18374
|
+
] })
|
|
18375
|
+
);
|
|
18376
|
+
}
|
|
18377
|
+
MosaicDocumentTable.displayName = "MosaicDocumentTable";
|
|
18378
|
+
function MosaicDocumentCriteriaPanel({
|
|
18379
|
+
row,
|
|
18380
|
+
rowId,
|
|
18381
|
+
columns,
|
|
18382
|
+
columnVisibility,
|
|
18383
|
+
documentUrl,
|
|
18384
|
+
orderedRowIds,
|
|
18385
|
+
onNavigate,
|
|
18386
|
+
onCorrect,
|
|
18387
|
+
actor,
|
|
18388
|
+
correctionProvenance,
|
|
18389
|
+
provenanceLabel,
|
|
18390
|
+
labels,
|
|
18391
|
+
defaultTab = INITIAL_REVIEW_PANEL_TAB,
|
|
18392
|
+
className
|
|
18393
|
+
}) {
|
|
18394
|
+
const [tab, setTab] = React30.useState(defaultTab);
|
|
18395
|
+
const [sideWidth, setSideWidth] = React30.useState(45);
|
|
18396
|
+
const [isSideCollapsed, setIsSideCollapsed] = React30.useState(false);
|
|
18397
|
+
const previousId = neighbourRowId(orderedRowIds, rowId, "prev");
|
|
18398
|
+
const nextId = neighbourRowId(orderedRowIds, rowId, "next");
|
|
18399
|
+
const tabLabel = {
|
|
18400
|
+
compare: labels.tabCompare,
|
|
18401
|
+
document: labels.tabDocument,
|
|
18402
|
+
row: labels.tabRow
|
|
18403
|
+
};
|
|
18404
|
+
const document_ = /* @__PURE__ */ jsxRuntime.jsx(
|
|
18405
|
+
MosaicPdfViewer,
|
|
18406
|
+
{
|
|
18407
|
+
fileUrl: documentUrl,
|
|
18408
|
+
loadingLabel: labels.documentLoading,
|
|
18409
|
+
errorLabel: labels.documentError
|
|
18410
|
+
}
|
|
18411
|
+
);
|
|
18412
|
+
const fields = /* @__PURE__ */ jsxRuntime.jsx("dl", { "data-slot": "document-criteria-fields", className: "flex flex-col gap-3 p-3", children: visibleColumns(columns, columnVisibility ?? initialColumnVisibility(columns)).map(
|
|
18413
|
+
(column) => {
|
|
18414
|
+
const value = column.accessor(row);
|
|
18415
|
+
const provenance = provenanceLabel(row, column);
|
|
18416
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18417
|
+
"div",
|
|
18418
|
+
{
|
|
18419
|
+
"data-slot": "document-criteria-field",
|
|
18420
|
+
className: "flex flex-col gap-1",
|
|
18421
|
+
children: [
|
|
18422
|
+
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-xs font-medium text-muted-foreground", children: column.label }),
|
|
18423
|
+
/* @__PURE__ */ jsxRuntime.jsxs("dd", { className: "m-0 flex flex-col gap-1", children: [
|
|
18424
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18425
|
+
MosaicEditableCell,
|
|
18426
|
+
{
|
|
18427
|
+
value: value === null ? "" : String(value),
|
|
18428
|
+
disabled: column.editable === false,
|
|
18429
|
+
editAriaLabel: labels.editField(column.label),
|
|
18430
|
+
onCommit: (input) => {
|
|
18431
|
+
onCorrect({
|
|
18432
|
+
rowId,
|
|
18433
|
+
field: column.id,
|
|
18434
|
+
input,
|
|
18435
|
+
by: actor,
|
|
18436
|
+
provenance: correctionProvenance
|
|
18437
|
+
});
|
|
18438
|
+
}
|
|
18439
|
+
}
|
|
18440
|
+
),
|
|
18441
|
+
provenance ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
18442
|
+
"span",
|
|
18443
|
+
{
|
|
18444
|
+
"data-slot": "document-criteria-provenance",
|
|
18445
|
+
className: "text-xs text-muted-foreground",
|
|
18446
|
+
children: provenance
|
|
18447
|
+
}
|
|
18448
|
+
) : null
|
|
18449
|
+
] })
|
|
18450
|
+
]
|
|
18451
|
+
},
|
|
18452
|
+
column.id
|
|
18453
|
+
);
|
|
18454
|
+
}
|
|
18455
|
+
) });
|
|
18456
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18457
|
+
"section",
|
|
18458
|
+
{
|
|
18459
|
+
"data-slot": "document-criteria-panel",
|
|
18460
|
+
"data-row-id": rowId,
|
|
18461
|
+
className: ["flex flex-col gap-2 rounded-md border border-border p-2", className].filter(Boolean).join(" "),
|
|
18462
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(MosaicTabs, { value: tab, onValueChange: (next) => setTab(next), children: [
|
|
18463
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
18464
|
+
/* @__PURE__ */ jsxRuntime.jsx(MosaicTabsList, { children: REVIEW_PANEL_TABS.map((value) => /* @__PURE__ */ jsxRuntime.jsx(MosaicTabsTrigger, { value, children: tabLabel[value] }, value)) }),
|
|
18465
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2", children: [
|
|
18466
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18467
|
+
"button",
|
|
18468
|
+
{
|
|
18469
|
+
type: "button",
|
|
18470
|
+
disabled: previousId === null,
|
|
18471
|
+
onClick: () => previousId !== null && onNavigate(previousId),
|
|
18472
|
+
className: "rounded-md border border-border px-3 py-1 text-sm disabled:opacity-50",
|
|
18473
|
+
children: labels.previous
|
|
18474
|
+
}
|
|
18475
|
+
),
|
|
18476
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18477
|
+
"button",
|
|
18478
|
+
{
|
|
18479
|
+
type: "button",
|
|
18480
|
+
disabled: nextId === null,
|
|
18481
|
+
onClick: () => nextId !== null && onNavigate(nextId),
|
|
18482
|
+
className: "rounded-md border border-border px-3 py-1 text-sm disabled:opacity-50",
|
|
18483
|
+
children: labels.next
|
|
18484
|
+
}
|
|
18485
|
+
)
|
|
18486
|
+
] })
|
|
18487
|
+
] }),
|
|
18488
|
+
/* @__PURE__ */ jsxRuntime.jsx(MosaicTabsPanel, { value: "compare", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18489
|
+
MosaicResizableSplitPane,
|
|
18490
|
+
{
|
|
18491
|
+
main: document_,
|
|
18492
|
+
side: fields,
|
|
18493
|
+
sideWidth,
|
|
18494
|
+
onSideWidthChange: setSideWidth,
|
|
18495
|
+
isSideCollapsed,
|
|
18496
|
+
onToggleSideCollapsed: () => setIsSideCollapsed((c) => !c),
|
|
18497
|
+
collapseButtonAriaLabel: labels.collapse,
|
|
18498
|
+
resizeHandleAriaLabel: labels.resize
|
|
18499
|
+
}
|
|
18500
|
+
) }),
|
|
18501
|
+
/* @__PURE__ */ jsxRuntime.jsx(MosaicTabsPanel, { value: "document", children: document_ }),
|
|
18502
|
+
/* @__PURE__ */ jsxRuntime.jsx(MosaicTabsPanel, { value: "row", children: fields })
|
|
18503
|
+
] })
|
|
18504
|
+
}
|
|
18505
|
+
);
|
|
18506
|
+
}
|
|
18507
|
+
MosaicDocumentCriteriaPanel.displayName = "MosaicDocumentCriteriaPanel";
|
|
18508
|
+
|
|
18222
18509
|
Object.defineProperty(exports, "Accordion", {
|
|
18223
18510
|
enumerable: true,
|
|
18224
18511
|
get: function () { return accordion.Accordion; }
|
|
@@ -18227,6 +18514,7 @@ Object.defineProperty(exports, "Tooltip", {
|
|
|
18227
18514
|
enumerable: true,
|
|
18228
18515
|
get: function () { return tooltip.Tooltip; }
|
|
18229
18516
|
});
|
|
18517
|
+
exports.INITIAL_REVIEW_PANEL_TAB = INITIAL_REVIEW_PANEL_TAB;
|
|
18230
18518
|
exports.MosaicAccordion = MosaicAccordion;
|
|
18231
18519
|
exports.MosaicAccordionItem = MosaicAccordionItem;
|
|
18232
18520
|
exports.MosaicAccordionPanel = MosaicAccordionPanel;
|
|
@@ -18303,6 +18591,8 @@ exports.MosaicDashboardLayout = MosaicDashboardLayout;
|
|
|
18303
18591
|
exports.MosaicDataTable = MosaicDataTable;
|
|
18304
18592
|
exports.MosaicDeleteConfirmationDialog = MosaicDeleteConfirmationDialog;
|
|
18305
18593
|
exports.MosaicDeviceProvider = MosaicDeviceProvider;
|
|
18594
|
+
exports.MosaicDocumentCriteriaPanel = MosaicDocumentCriteriaPanel;
|
|
18595
|
+
exports.MosaicDocumentTable = MosaicDocumentTable;
|
|
18306
18596
|
exports.MosaicDocumentUpload = MosaicDocumentUpload;
|
|
18307
18597
|
exports.MosaicDrawer = MosaicDrawer;
|
|
18308
18598
|
exports.MosaicDropdownMenu = MosaicDropdownMenu;
|
|
@@ -18418,6 +18708,7 @@ exports.MosaicTooltipTrigger = MosaicTooltipTrigger;
|
|
|
18418
18708
|
exports.MosaicUrlScraper = MosaicUrlScraper;
|
|
18419
18709
|
exports.MosaicUserButton = MosaicUserButton;
|
|
18420
18710
|
exports.Placeholder = Placeholder;
|
|
18711
|
+
exports.REVIEW_PANEL_TABS = REVIEW_PANEL_TABS;
|
|
18421
18712
|
exports.addMemoryFormButtonVariants = addMemoryFormButtonVariants;
|
|
18422
18713
|
exports.addMemoryFormErrorVariants = addMemoryFormErrorVariants;
|
|
18423
18714
|
exports.addMemoryFormFieldVariants = addMemoryFormFieldVariants;
|
|
@@ -18430,6 +18721,7 @@ exports.agentEditorVariants = agentEditorVariants;
|
|
|
18430
18721
|
exports.agentPreviewVariants = agentPreviewVariants;
|
|
18431
18722
|
exports.alertDialogContentVariants = alertDialogContentVariants;
|
|
18432
18723
|
exports.alertDialogOverlayVariants = alertDialogOverlayVariants;
|
|
18724
|
+
exports.applyFieldCorrection = applyFieldCorrection;
|
|
18433
18725
|
exports.artifactSaveAsMemoryFormButtonVariants = artifactSaveAsMemoryFormButtonVariants;
|
|
18434
18726
|
exports.artifactSaveAsMemoryFormErrorVariants = artifactSaveAsMemoryFormErrorVariants;
|
|
18435
18727
|
exports.artifactSaveAsMemoryFormFieldVariants = artifactSaveAsMemoryFormFieldVariants;
|
|
@@ -18444,6 +18736,7 @@ exports.chatMessageBubbleVariants = chatMessageBubbleVariants;
|
|
|
18444
18736
|
exports.chatMessageContainerVariants = chatMessageContainerVariants;
|
|
18445
18737
|
exports.chatMessageToolStatusVariants = chatMessageToolStatusVariants;
|
|
18446
18738
|
exports.chatSidebarThreadVariants = chatSidebarThreadVariants;
|
|
18739
|
+
exports.correctionOutcome = correctionOutcome;
|
|
18447
18740
|
exports.drawerBackdropVariants = drawerBackdropVariants;
|
|
18448
18741
|
exports.drawerPopupVariants = drawerPopupVariants;
|
|
18449
18742
|
exports.editMemoryDialogBackdropVariants = editMemoryDialogBackdropVariants;
|
|
@@ -18456,6 +18749,8 @@ exports.editSessionDialogErrorVariants = editSessionDialogErrorVariants;
|
|
|
18456
18749
|
exports.editSessionDialogFieldVariants = editSessionDialogFieldVariants;
|
|
18457
18750
|
exports.editSessionDialogFooterVariants = editSessionDialogFooterVariants;
|
|
18458
18751
|
exports.editableCellVariants = editableCellVariants;
|
|
18752
|
+
exports.initialColumnVisibility = initialColumnVisibility;
|
|
18753
|
+
exports.isEditableTarget = isEditableTarget;
|
|
18459
18754
|
exports.marketplaceCardVariants = marketplaceCardVariants;
|
|
18460
18755
|
exports.matchStateVariants = matchStateVariants;
|
|
18461
18756
|
exports.memoryDashboardViewToggleButtonVariants = memoryDashboardViewToggleButtonVariants;
|
|
@@ -18466,6 +18761,7 @@ exports.memorySearchFilterChipVariants = memorySearchFilterChipVariants;
|
|
|
18466
18761
|
exports.mentionInputFieldVariants = mentionInputFieldVariants;
|
|
18467
18762
|
exports.mentionListItemVariants = mentionListItemVariants;
|
|
18468
18763
|
exports.mentionListVariants = mentionListVariants;
|
|
18764
|
+
exports.neighbourRowId = neighbourRowId;
|
|
18469
18765
|
exports.normalizeArtifact = normalizeArtifact;
|
|
18470
18766
|
exports.normalizeFromAiSdkArtifacts = normalizeFromAiSdkArtifacts;
|
|
18471
18767
|
exports.normalizeFromMcpToolResult = normalizeFromMcpToolResult;
|
|
@@ -18515,6 +18811,7 @@ exports.toastCardVariants = toastCardVariants;
|
|
|
18515
18811
|
exports.toastDismissButtonVariants = toastDismissButtonVariants;
|
|
18516
18812
|
exports.toastProviderPositionVariants = toastProviderPositionVariants;
|
|
18517
18813
|
exports.toastTitleVariants = toastTitleVariants;
|
|
18814
|
+
exports.toggleColumnVisibility = toggleColumnVisibility;
|
|
18518
18815
|
exports.toolToggleListRowVariants = toolToggleListRowVariants;
|
|
18519
18816
|
exports.toolToggleListSectionVariants = toolToggleListSectionVariants;
|
|
18520
18817
|
exports.useBreakpoint = useBreakpoint;
|
|
@@ -18528,5 +18825,6 @@ exports.useMosaicWorkspace = useMosaicWorkspace;
|
|
|
18528
18825
|
exports.useOrientation = useOrientation;
|
|
18529
18826
|
exports.useViewport = useViewport;
|
|
18530
18827
|
exports.version = version;
|
|
18828
|
+
exports.visibleColumns = visibleColumns;
|
|
18531
18829
|
//# sourceMappingURL=index.cjs.map
|
|
18532
18830
|
//# sourceMappingURL=index.cjs.map
|