@vantageos/mosaic-blocks 0.5.36-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 +3 -1
- package/dist/index.cjs +491 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +186 -2
- package/dist/index.d.ts +186 -2
- package/dist/index.js +483 -2
- package/dist/index.js.map +1 -1
- package/package.json +9 -1
- package/r/mosaic-adaptive-grid.json +1 -1
- package/r/mosaic-adaptive-modal.json +1 -1
- package/r/mosaic-adaptive-navigation.json +1 -1
- package/r/mosaic-add-memory-form.json +3 -3
- package/r/mosaic-admin-only-guard.json +1 -1
- package/r/mosaic-agent-chat.json +4 -4
- package/r/mosaic-agent-composer.json +1 -1
- package/r/mosaic-agent-editor.json +3 -3
- package/r/mosaic-agent-list.json +4 -4
- package/r/mosaic-app-sidebar.json +1 -1
- package/r/mosaic-artifact-checklist.json +1 -1
- package/r/mosaic-artifact-data-table.json +1 -1
- package/r/mosaic-artifact-library.json +1 -1
- package/r/mosaic-artifact-save-as-memory-form.json +2 -2
- package/r/mosaic-chat-message.json +1 -1
- package/r/mosaic-dashboard-content.json +1 -1
- package/r/mosaic-dashboard-header.json +1 -1
- package/r/mosaic-dashboard-layout.json +3 -3
- package/r/mosaic-document-table.json +5 -5
- package/r/mosaic-edit-memory-dialog.json +3 -3
- package/r/mosaic-edit-session-dialog.json +3 -3
- package/r/mosaic-editable-cell.json +1 -1
- package/r/mosaic-filter-bar.json +1 -1
- package/r/mosaic-filter-sidebar.json +1 -1
- package/r/mosaic-grille-registre.json +53 -0
- package/r/mosaic-main-nav.json +1 -1
- package/r/mosaic-marketplace-card.json +2 -2
- package/r/mosaic-marketplace-list.json +3 -3
- package/r/mosaic-match-input.json +1 -1
- package/r/mosaic-memory-dashboard.json +1 -1
- package/r/mosaic-memory-search.json +1 -1
- package/r/mosaic-mention-input.json +1 -1
- package/r/mosaic-message-list.json +2 -2
- package/r/mosaic-message-search.json +1 -1
- package/r/mosaic-module-library.json +1 -1
- package/r/mosaic-org-context-display.json +1 -1
- package/r/mosaic-org-panel.json +2 -2
- package/r/mosaic-preferences-panel.json +1 -1
- package/r/mosaic-profile-panel.json +1 -1
- package/r/mosaic-quick-actions-menu.json +1 -1
- package/r/mosaic-quick-agent-selector.json +2 -2
- package/r/mosaic-save-chat-as-memory-form.json +3 -3
- package/r/mosaic-save-template-modal.json +5 -5
- package/r/mosaic-selector-modal.json +1 -1
- package/r/mosaic-session-card.json +2 -2
- package/r/mosaic-template-gallery.json +3 -3
- package/r/mosaic-template-management-panel.json +3 -3
- package/r/use-effective-workspace-id.json +1 -1
- package/registry.json +42 -0
package/dist/index.js
CHANGED
|
@@ -27,9 +27,13 @@ import { Menu } from '@base-ui/react/menu';
|
|
|
27
27
|
import { Dialog } from '@base-ui/react/dialog';
|
|
28
28
|
import { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
29
29
|
import { Popover } from '@base-ui/react/popover';
|
|
30
|
+
import { themeQuartz, ModuleRegistry, AllCommunityModule } from 'ag-grid-community';
|
|
31
|
+
import { AgGridReact } from 'ag-grid-react';
|
|
32
|
+
import { Drawer, Button as Button$1, Popover as Popover$1, Checkbox as Checkbox$1, Toolbar, SearchField } from '@heroui/react';
|
|
33
|
+
import { ChevronUp, ChevronDown, Minimize2, Maximize2, Pencil } from 'lucide-react';
|
|
30
34
|
|
|
31
35
|
// src/version.ts
|
|
32
|
-
var version = "0.5.
|
|
36
|
+
var version = "0.5.37-alpha";
|
|
33
37
|
function Placeholder({ label = "mosaic-blocks placeholder" }) {
|
|
34
38
|
return /* @__PURE__ */ jsx("div", { "data-mosaic-block": "placeholder", children: label });
|
|
35
39
|
}
|
|
@@ -18486,7 +18490,484 @@ function MosaicDocumentCriteriaPanel({
|
|
|
18486
18490
|
);
|
|
18487
18491
|
}
|
|
18488
18492
|
MosaicDocumentCriteriaPanel.displayName = "MosaicDocumentCriteriaPanel";
|
|
18493
|
+
var registreGridTheme = themeQuartz.withParams({
|
|
18494
|
+
accentColor: "var(--accent)",
|
|
18495
|
+
backgroundColor: "var(--surface)",
|
|
18496
|
+
foregroundColor: "var(--foreground)",
|
|
18497
|
+
textColor: "var(--foreground)",
|
|
18498
|
+
borderColor: "var(--border)",
|
|
18499
|
+
headerBackgroundColor: "var(--surface-secondary)",
|
|
18500
|
+
headerTextColor: "var(--surface-secondary-foreground)",
|
|
18501
|
+
headerFontWeight: 600,
|
|
18502
|
+
fontFamily: "var(--font-sans)",
|
|
18503
|
+
fontSize: 14,
|
|
18504
|
+
headerFontSize: 13,
|
|
18505
|
+
rowHeight: 40,
|
|
18506
|
+
headerHeight: 44,
|
|
18507
|
+
spacing: 8,
|
|
18508
|
+
wrapperBorderRadius: 8,
|
|
18509
|
+
rowHoverColor: "var(--surface-hover)"
|
|
18510
|
+
// No `selectedRowBackgroundColor`: the grid does not use the native AG Grid row
|
|
18511
|
+
// selection. A host highlights its selected row through `getRowStyle`.
|
|
18512
|
+
});
|
|
18513
|
+
var fitGridWidthStrategy = {
|
|
18514
|
+
type: "fitGridWidth"
|
|
18515
|
+
};
|
|
18516
|
+
function refitColumns(e) {
|
|
18517
|
+
e.api.sizeColumnsToFit();
|
|
18518
|
+
}
|
|
18519
|
+
var modulesRegistered = false;
|
|
18520
|
+
function ensureModules() {
|
|
18521
|
+
if (modulesRegistered) return;
|
|
18522
|
+
ModuleRegistry.registerModules([AllCommunityModule]);
|
|
18523
|
+
modulesRegistered = true;
|
|
18524
|
+
}
|
|
18525
|
+
var DEFAUTS = {
|
|
18526
|
+
resizable: true,
|
|
18527
|
+
sortable: true,
|
|
18528
|
+
filter: true,
|
|
18529
|
+
floatingFilter: true
|
|
18530
|
+
};
|
|
18531
|
+
function GrilleRegistre({
|
|
18532
|
+
lignes,
|
|
18533
|
+
columnDefs,
|
|
18534
|
+
getRowId,
|
|
18535
|
+
filtreGlobal,
|
|
18536
|
+
theme = registreGridTheme,
|
|
18537
|
+
onGridReady,
|
|
18538
|
+
onCelluleEditee,
|
|
18539
|
+
getRowStyle,
|
|
18540
|
+
tooltipShowDelay,
|
|
18541
|
+
suppressCellFocus,
|
|
18542
|
+
onCellClicked,
|
|
18543
|
+
rowHeight,
|
|
18544
|
+
domLayout,
|
|
18545
|
+
onGridSizeChanged
|
|
18546
|
+
}) {
|
|
18547
|
+
ensureModules();
|
|
18548
|
+
return /* @__PURE__ */ jsx("div", { className: "isolate h-full min-h-0 w-full", children: /* @__PURE__ */ jsx(
|
|
18549
|
+
AgGridReact,
|
|
18550
|
+
{
|
|
18551
|
+
theme,
|
|
18552
|
+
autoSizeStrategy: fitGridWidthStrategy,
|
|
18553
|
+
rowData: lignes,
|
|
18554
|
+
columnDefs,
|
|
18555
|
+
defaultColDef: DEFAUTS,
|
|
18556
|
+
quickFilterText: filtreGlobal,
|
|
18557
|
+
getRowId: (p) => getRowId(p.data),
|
|
18558
|
+
onGridReady,
|
|
18559
|
+
onCellValueChanged: onCelluleEditee,
|
|
18560
|
+
onCellClicked,
|
|
18561
|
+
getRowStyle,
|
|
18562
|
+
tooltipShowDelay,
|
|
18563
|
+
suppressCellFocus,
|
|
18564
|
+
rowHeight,
|
|
18565
|
+
domLayout,
|
|
18566
|
+
onGridSizeChanged,
|
|
18567
|
+
animateRows: true
|
|
18568
|
+
}
|
|
18569
|
+
) });
|
|
18570
|
+
}
|
|
18571
|
+
var DEFAULT_WIDTH_RATIO = 0.45;
|
|
18572
|
+
var MIN_WIDTH_PX = 360;
|
|
18573
|
+
var MAX_WIDTH_RATIO = 0.9;
|
|
18574
|
+
var CSS_RULES = {
|
|
18575
|
+
// allow-hardcoded-word: a CSS rule (the scoped width variable), not user-facing text
|
|
18576
|
+
width: (px) => `.panneau-registre-shell { --panneau-registre-width: ${px}px; }`
|
|
18577
|
+
};
|
|
18578
|
+
function PanneauRegistreShell({
|
|
18579
|
+
open,
|
|
18580
|
+
onOpenChange,
|
|
18581
|
+
labels,
|
|
18582
|
+
ariaLabel,
|
|
18583
|
+
contexte,
|
|
18584
|
+
headerActions,
|
|
18585
|
+
forceWidthRatio = null,
|
|
18586
|
+
onPrev,
|
|
18587
|
+
onNext,
|
|
18588
|
+
prevDisabled,
|
|
18589
|
+
nextDisabled,
|
|
18590
|
+
children
|
|
18591
|
+
}) {
|
|
18592
|
+
const [widthPx, setWidthPx] = useState(null);
|
|
18593
|
+
const dragStart = useRef(null);
|
|
18594
|
+
useEffect(() => {
|
|
18595
|
+
if (widthPx !== null || typeof window === "undefined") return;
|
|
18596
|
+
setWidthPx(Math.round(window.innerWidth * DEFAULT_WIDTH_RATIO));
|
|
18597
|
+
}, [widthPx]);
|
|
18598
|
+
const onPointerMove = useCallback((e) => {
|
|
18599
|
+
const drag = dragStart.current;
|
|
18600
|
+
if (!drag) return;
|
|
18601
|
+
const dx = drag.x - e.clientX;
|
|
18602
|
+
const maxWidth = window.innerWidth * MAX_WIDTH_RATIO;
|
|
18603
|
+
setWidthPx(Math.min(maxWidth, Math.max(MIN_WIDTH_PX, drag.width + dx)));
|
|
18604
|
+
}, []);
|
|
18605
|
+
const onPointerUp = useCallback(() => {
|
|
18606
|
+
dragStart.current = null;
|
|
18607
|
+
window.removeEventListener("pointermove", onPointerMove);
|
|
18608
|
+
window.removeEventListener("pointerup", onPointerUp);
|
|
18609
|
+
}, [onPointerMove]);
|
|
18610
|
+
const onHandlePointerDown = useCallback(
|
|
18611
|
+
(e) => {
|
|
18612
|
+
dragStart.current = {
|
|
18613
|
+
x: e.clientX,
|
|
18614
|
+
width: widthPx ?? Math.round(window.innerWidth * DEFAULT_WIDTH_RATIO)
|
|
18615
|
+
};
|
|
18616
|
+
window.addEventListener("pointermove", onPointerMove);
|
|
18617
|
+
window.addEventListener("pointerup", onPointerUp);
|
|
18618
|
+
},
|
|
18619
|
+
[widthPx, onPointerMove, onPointerUp]
|
|
18620
|
+
);
|
|
18621
|
+
useEffect(() => () => onPointerUp(), [onPointerUp]);
|
|
18622
|
+
useEffect(() => {
|
|
18623
|
+
if (!open) return;
|
|
18624
|
+
function onKeyDown(e) {
|
|
18625
|
+
if (isEditableTarget(e.target)) return;
|
|
18626
|
+
if (e.key === "ArrowUp" && !prevDisabled) {
|
|
18627
|
+
e.preventDefault();
|
|
18628
|
+
onPrev();
|
|
18629
|
+
} else if (e.key === "ArrowDown" && !nextDisabled) {
|
|
18630
|
+
e.preventDefault();
|
|
18631
|
+
onNext();
|
|
18632
|
+
}
|
|
18633
|
+
}
|
|
18634
|
+
window.addEventListener("keydown", onKeyDown, true);
|
|
18635
|
+
return () => window.removeEventListener("keydown", onKeyDown, true);
|
|
18636
|
+
}, [open, prevDisabled, nextDisabled, onPrev, onNext]);
|
|
18637
|
+
const resolvedWidth = forceWidthRatio !== null && typeof window !== "undefined" ? Math.round(window.innerWidth * forceWidthRatio) : widthPx ?? MIN_WIDTH_PX;
|
|
18638
|
+
const widthRule = CSS_RULES.width(resolvedWidth);
|
|
18639
|
+
return /* @__PURE__ */ jsx(Drawer, { isOpen: open, onOpenChange, children: /* @__PURE__ */ jsx(Drawer.Backdrop, { children: /* @__PURE__ */ jsxs(Drawer.Content, { placement: "right", children: [
|
|
18640
|
+
/* @__PURE__ */ jsx("style", { children: widthRule }),
|
|
18641
|
+
/* @__PURE__ */ jsxs(
|
|
18642
|
+
Drawer.Dialog,
|
|
18643
|
+
{
|
|
18644
|
+
"aria-label": ariaLabel,
|
|
18645
|
+
className: "panneau-registre-shell relative flex h-full w-full! flex-col overflow-hidden sm:w-[var(--panneau-registre-width)]! sm:min-w-[360px]! sm:max-w-[90vw]!",
|
|
18646
|
+
children: [
|
|
18647
|
+
/* @__PURE__ */ jsx(
|
|
18648
|
+
"button",
|
|
18649
|
+
{
|
|
18650
|
+
type: "button",
|
|
18651
|
+
"aria-label": labels.resizeHandle,
|
|
18652
|
+
className: "absolute inset-y-0 left-0 hidden w-1.5 cursor-col-resize touch-none bg-transparent hover:bg-border sm:block",
|
|
18653
|
+
onPointerDown: onHandlePointerDown
|
|
18654
|
+
}
|
|
18655
|
+
),
|
|
18656
|
+
/* @__PURE__ */ jsxs(Drawer.Header, { className: "flex shrink-0 flex-row items-center justify-between gap-3", children: [
|
|
18657
|
+
/* @__PURE__ */ jsx("p", { className: "min-w-0 truncate text-sm text-muted-foreground", children: contexte }),
|
|
18658
|
+
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 flex-row items-center gap-2", children: [
|
|
18659
|
+
headerActions,
|
|
18660
|
+
/* @__PURE__ */ jsx(Drawer.CloseTrigger, { "aria-label": labels.close })
|
|
18661
|
+
] })
|
|
18662
|
+
] }),
|
|
18663
|
+
children,
|
|
18664
|
+
/* @__PURE__ */ jsxs(Drawer.Footer, { className: "flex shrink-0 flex-row items-center justify-end gap-2", children: [
|
|
18665
|
+
/* @__PURE__ */ jsx(
|
|
18666
|
+
Button$1,
|
|
18667
|
+
{
|
|
18668
|
+
variant: "outline",
|
|
18669
|
+
size: "sm",
|
|
18670
|
+
isIconOnly: true,
|
|
18671
|
+
"aria-label": labels.previousRow,
|
|
18672
|
+
isDisabled: prevDisabled,
|
|
18673
|
+
onPress: onPrev,
|
|
18674
|
+
children: /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
18675
|
+
}
|
|
18676
|
+
),
|
|
18677
|
+
/* @__PURE__ */ jsx(
|
|
18678
|
+
Button$1,
|
|
18679
|
+
{
|
|
18680
|
+
variant: "outline",
|
|
18681
|
+
size: "sm",
|
|
18682
|
+
isIconOnly: true,
|
|
18683
|
+
"aria-label": labels.nextRow,
|
|
18684
|
+
isDisabled: nextDisabled,
|
|
18685
|
+
onPress: onNext,
|
|
18686
|
+
children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
18687
|
+
}
|
|
18688
|
+
)
|
|
18689
|
+
] })
|
|
18690
|
+
]
|
|
18691
|
+
}
|
|
18692
|
+
)
|
|
18693
|
+
] }) }) });
|
|
18694
|
+
}
|
|
18695
|
+
|
|
18696
|
+
// src/components/registre/colonnes.ts
|
|
18697
|
+
function estVisible(etat, champ) {
|
|
18698
|
+
return etat[champ] !== false;
|
|
18699
|
+
}
|
|
18700
|
+
var OPTION_CLASS = "flex cursor-pointer items-center gap-2 rounded px-2 py-1.5 text-sm hover:bg-default";
|
|
18701
|
+
function ChoixColonnes({
|
|
18702
|
+
colonnes,
|
|
18703
|
+
visibilite,
|
|
18704
|
+
onBasculer,
|
|
18705
|
+
labels,
|
|
18706
|
+
formatLibelle = (libelle) => libelle,
|
|
18707
|
+
ouvertParDefaut = false
|
|
18708
|
+
}) {
|
|
18709
|
+
const [ouvert, setOuvert] = useState(ouvertParDefaut);
|
|
18710
|
+
const nbMasquees = colonnes.filter((c) => !estVisible(visibilite, c.champ)).length;
|
|
18711
|
+
return /* @__PURE__ */ jsxs(Popover$1, { isOpen: ouvert, onOpenChange: setOuvert, children: [
|
|
18712
|
+
/* @__PURE__ */ jsx(Button$1, { variant: "outline", size: "sm", children: labels.columnsButton(nbMasquees) }),
|
|
18713
|
+
/* @__PURE__ */ jsx(Popover$1.Content, { placement: "bottom", children: /* @__PURE__ */ jsx(Popover$1.Dialog, { children: /* @__PURE__ */ jsx(
|
|
18714
|
+
"fieldset",
|
|
18715
|
+
{
|
|
18716
|
+
"aria-label": labels.columnsGroupAriaLabel,
|
|
18717
|
+
className: "z-50 max-h-[60vh] w-72 overflow-y-auto border-0 p-1",
|
|
18718
|
+
children: colonnes.map((c) => /* @__PURE__ */ jsx(
|
|
18719
|
+
Checkbox$1,
|
|
18720
|
+
{
|
|
18721
|
+
isSelected: estVisible(visibilite, c.champ),
|
|
18722
|
+
onChange: () => onBasculer(c.champ),
|
|
18723
|
+
children: /* @__PURE__ */ jsxs(Checkbox$1.Content, { className: OPTION_CLASS, children: [
|
|
18724
|
+
/* @__PURE__ */ jsx(Checkbox$1.Control, { children: /* @__PURE__ */ jsx(Checkbox$1.Indicator, {}) }),
|
|
18725
|
+
/* @__PURE__ */ jsx("span", { className: "w-4 tabular-nums text-muted-foreground", children: c.lettre }),
|
|
18726
|
+
/* @__PURE__ */ jsx("span", { children: formatLibelle(c.libelle) })
|
|
18727
|
+
] })
|
|
18728
|
+
},
|
|
18729
|
+
c.champ
|
|
18730
|
+
))
|
|
18731
|
+
}
|
|
18732
|
+
) }) })
|
|
18733
|
+
] });
|
|
18734
|
+
}
|
|
18735
|
+
var CSS_SELECTORS = {
|
|
18736
|
+
// allow-hardcoded-word: a CSS attribute selector (HeroUI data-slot names), not user-facing text
|
|
18737
|
+
openOverlay: "[data-slot=select-popover], [data-slot=popover-dialog]"
|
|
18738
|
+
};
|
|
18739
|
+
function RegistreEcran({
|
|
18740
|
+
ariaLabel,
|
|
18741
|
+
labels,
|
|
18742
|
+
colonnes,
|
|
18743
|
+
visibilite,
|
|
18744
|
+
onBasculerColonne,
|
|
18745
|
+
formatLibelleColonne,
|
|
18746
|
+
filtreGlobal,
|
|
18747
|
+
onFiltreGlobalChange,
|
|
18748
|
+
avantRecherche,
|
|
18749
|
+
actionsToolbar,
|
|
18750
|
+
children
|
|
18751
|
+
}) {
|
|
18752
|
+
const [fullScreen, setFullScreen] = useState(false);
|
|
18753
|
+
useEffect(() => {
|
|
18754
|
+
if (!fullScreen) return;
|
|
18755
|
+
const onKeyDown = (e) => {
|
|
18756
|
+
if (document.querySelector(CSS_SELECTORS.openOverlay)) return;
|
|
18757
|
+
if (e.key === "Escape") setFullScreen(false);
|
|
18758
|
+
};
|
|
18759
|
+
const previousOverflow = document.body.style.overflow;
|
|
18760
|
+
document.body.style.overflow = "hidden";
|
|
18761
|
+
window.addEventListener("keydown", onKeyDown);
|
|
18762
|
+
return () => {
|
|
18763
|
+
window.removeEventListener("keydown", onKeyDown);
|
|
18764
|
+
document.body.style.overflow = previousOverflow;
|
|
18765
|
+
};
|
|
18766
|
+
}, [fullScreen]);
|
|
18767
|
+
return /* @__PURE__ */ jsxs(
|
|
18768
|
+
"section",
|
|
18769
|
+
{
|
|
18770
|
+
"aria-label": ariaLabel,
|
|
18771
|
+
"data-fullscreen": fullScreen ? "true" : void 0,
|
|
18772
|
+
className: fullScreen ? "fixed inset-0 z-40 flex flex-col gap-4 bg-background p-4" : (
|
|
18773
|
+
// Phones let the page scroll so content above cannot squeeze the grid to nothing.
|
|
18774
|
+
"flex min-h-[70vh] flex-1 flex-col gap-4 sm:min-h-0"
|
|
18775
|
+
),
|
|
18776
|
+
children: [
|
|
18777
|
+
/* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsxs(Toolbar, { className: "flex flex-wrap items-center gap-2", children: [
|
|
18778
|
+
avantRecherche,
|
|
18779
|
+
/* @__PURE__ */ jsx(
|
|
18780
|
+
SearchField,
|
|
18781
|
+
{
|
|
18782
|
+
value: filtreGlobal,
|
|
18783
|
+
onChange: onFiltreGlobalChange,
|
|
18784
|
+
"aria-label": labels.searchAriaLabel,
|
|
18785
|
+
className: "w-full sm:w-auto",
|
|
18786
|
+
children: /* @__PURE__ */ jsxs(SearchField.Group, { className: "h-10 min-w-64", children: [
|
|
18787
|
+
/* @__PURE__ */ jsx(SearchField.SearchIcon, {}),
|
|
18788
|
+
/* @__PURE__ */ jsx(
|
|
18789
|
+
SearchField.Input,
|
|
18790
|
+
{
|
|
18791
|
+
placeholder: labels.searchPlaceholder,
|
|
18792
|
+
className: "text-base sm:text-sm"
|
|
18793
|
+
}
|
|
18794
|
+
),
|
|
18795
|
+
/* @__PURE__ */ jsx(SearchField.ClearButton, {})
|
|
18796
|
+
] })
|
|
18797
|
+
}
|
|
18798
|
+
),
|
|
18799
|
+
/* @__PURE__ */ jsx(
|
|
18800
|
+
ChoixColonnes,
|
|
18801
|
+
{
|
|
18802
|
+
colonnes,
|
|
18803
|
+
visibilite,
|
|
18804
|
+
onBasculer: onBasculerColonne,
|
|
18805
|
+
labels,
|
|
18806
|
+
formatLibelle: formatLibelleColonne
|
|
18807
|
+
}
|
|
18808
|
+
),
|
|
18809
|
+
actionsToolbar,
|
|
18810
|
+
/* @__PURE__ */ jsxs(
|
|
18811
|
+
Button$1,
|
|
18812
|
+
{
|
|
18813
|
+
variant: "outline",
|
|
18814
|
+
size: "sm",
|
|
18815
|
+
"aria-pressed": fullScreen,
|
|
18816
|
+
onPress: () => setFullScreen((f) => !f),
|
|
18817
|
+
children: [
|
|
18818
|
+
fullScreen ? /* @__PURE__ */ jsx(Minimize2, { "aria-hidden": true, className: "size-4" }) : /* @__PURE__ */ jsx(Maximize2, { "aria-hidden": true, className: "size-4" }),
|
|
18819
|
+
fullScreen ? labels.exitFullscreen : labels.enterFullscreen
|
|
18820
|
+
]
|
|
18821
|
+
}
|
|
18822
|
+
)
|
|
18823
|
+
] }) }),
|
|
18824
|
+
children
|
|
18825
|
+
]
|
|
18826
|
+
}
|
|
18827
|
+
);
|
|
18828
|
+
}
|
|
18829
|
+
function editValue(value, decimalSeparator) {
|
|
18830
|
+
if (value == null) return "";
|
|
18831
|
+
return typeof value === "number" ? String(value).replace(".", decimalSeparator) : value;
|
|
18832
|
+
}
|
|
18833
|
+
function FieldEditor({
|
|
18834
|
+
col,
|
|
18835
|
+
initial,
|
|
18836
|
+
labels,
|
|
18837
|
+
onSave,
|
|
18838
|
+
onCancel
|
|
18839
|
+
}) {
|
|
18840
|
+
const [draft, setDraft] = useState(initial);
|
|
18841
|
+
const [saving, setSaving] = useState(false);
|
|
18842
|
+
const inputId = `registre-field-${col.champ}`;
|
|
18843
|
+
const label = labels.fieldInput(col);
|
|
18844
|
+
async function submit(e) {
|
|
18845
|
+
e.preventDefault();
|
|
18846
|
+
setSaving(true);
|
|
18847
|
+
await onSave(draft);
|
|
18848
|
+
setSaving(false);
|
|
18849
|
+
}
|
|
18850
|
+
function onKeyDown(e) {
|
|
18851
|
+
if (e.key === "Escape") {
|
|
18852
|
+
e.stopPropagation();
|
|
18853
|
+
onCancel();
|
|
18854
|
+
}
|
|
18855
|
+
}
|
|
18856
|
+
const inputClass = "h-8 min-w-0 flex-1 rounded-md border border-border bg-background px-2 text-base sm:text-sm";
|
|
18857
|
+
return /* @__PURE__ */ jsxs("form", { onSubmit: submit, onKeyDown, className: "flex flex-wrap items-center gap-2", children: [
|
|
18858
|
+
col.valeurs ? /* @__PURE__ */ jsxs(
|
|
18859
|
+
"select",
|
|
18860
|
+
{
|
|
18861
|
+
id: inputId,
|
|
18862
|
+
"aria-label": label,
|
|
18863
|
+
value: draft,
|
|
18864
|
+
onChange: (e) => setDraft(e.target.value),
|
|
18865
|
+
className: inputClass,
|
|
18866
|
+
children: [
|
|
18867
|
+
/* @__PURE__ */ jsx("option", { value: "", children: "\u2014" }),
|
|
18868
|
+
col.valeurs.map((v) => /* @__PURE__ */ jsx("option", { value: v, children: v }, v))
|
|
18869
|
+
]
|
|
18870
|
+
}
|
|
18871
|
+
) : /* @__PURE__ */ jsx(
|
|
18872
|
+
"input",
|
|
18873
|
+
{
|
|
18874
|
+
id: inputId,
|
|
18875
|
+
"aria-label": label,
|
|
18876
|
+
value: draft,
|
|
18877
|
+
onChange: (e) => setDraft(e.target.value),
|
|
18878
|
+
autoFocus: true,
|
|
18879
|
+
className: inputClass
|
|
18880
|
+
}
|
|
18881
|
+
),
|
|
18882
|
+
/* @__PURE__ */ jsx(
|
|
18883
|
+
"button",
|
|
18884
|
+
{
|
|
18885
|
+
type: "submit",
|
|
18886
|
+
disabled: saving,
|
|
18887
|
+
className: "h-8 rounded-md bg-primary px-3 text-sm text-primary-foreground disabled:opacity-50",
|
|
18888
|
+
children: labels.save
|
|
18889
|
+
}
|
|
18890
|
+
),
|
|
18891
|
+
/* @__PURE__ */ jsx(
|
|
18892
|
+
"button",
|
|
18893
|
+
{
|
|
18894
|
+
type: "button",
|
|
18895
|
+
onClick: onCancel,
|
|
18896
|
+
className: "h-8 rounded-md border border-border px-3 text-sm",
|
|
18897
|
+
children: labels.cancel
|
|
18898
|
+
}
|
|
18899
|
+
)
|
|
18900
|
+
] });
|
|
18901
|
+
}
|
|
18902
|
+
var PENCIL_CLASS = "inline-flex size-7 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-default hover:text-foreground";
|
|
18903
|
+
function RegistreLigneDetail({
|
|
18904
|
+
colonnes,
|
|
18905
|
+
ligne,
|
|
18906
|
+
corrections,
|
|
18907
|
+
labels,
|
|
18908
|
+
formatMontant,
|
|
18909
|
+
formatNombre,
|
|
18910
|
+
decimalSeparator,
|
|
18911
|
+
onSaveField
|
|
18912
|
+
}) {
|
|
18913
|
+
const [editing, setEditing] = useState(null);
|
|
18914
|
+
function displayValue(col, value) {
|
|
18915
|
+
if (value == null || value === "") return "";
|
|
18916
|
+
if (col.type === "montant") return formatMontant(Number(value));
|
|
18917
|
+
if (col.type === "nombre" || col.type === "entier") return formatNombre(Number(value));
|
|
18918
|
+
return String(value);
|
|
18919
|
+
}
|
|
18920
|
+
return /* @__PURE__ */ jsx("dl", { className: "divide-y divide-border rounded-md border border-border", children: colonnes.map((col) => {
|
|
18921
|
+
const value = ligne[col.champ] ?? null;
|
|
18922
|
+
const correction = corrections?.[col.champ];
|
|
18923
|
+
return /* @__PURE__ */ jsxs(
|
|
18924
|
+
"div",
|
|
18925
|
+
{
|
|
18926
|
+
"data-field": col.champ,
|
|
18927
|
+
className: `grid gap-1 px-3 py-2 sm:grid-cols-[11rem_1fr] sm:gap-3 ${correction ? "bg-amber-50 dark:bg-amber-950/30" : ""}`,
|
|
18928
|
+
children: [
|
|
18929
|
+
/* @__PURE__ */ jsxs("dt", { className: "text-muted-foreground", children: [
|
|
18930
|
+
col.libelle,
|
|
18931
|
+
" ",
|
|
18932
|
+
/* @__PURE__ */ jsxs("span", { className: "text-xs", children: [
|
|
18933
|
+
"\xB7 ",
|
|
18934
|
+
col.lettre
|
|
18935
|
+
] })
|
|
18936
|
+
] }),
|
|
18937
|
+
/* @__PURE__ */ jsxs("dd", { className: "flex min-w-0 flex-col gap-1", children: [
|
|
18938
|
+
editing === col.champ ? /* @__PURE__ */ jsx(
|
|
18939
|
+
FieldEditor,
|
|
18940
|
+
{
|
|
18941
|
+
col,
|
|
18942
|
+
initial: editValue(value, decimalSeparator),
|
|
18943
|
+
labels,
|
|
18944
|
+
onCancel: () => setEditing(null),
|
|
18945
|
+
onSave: async (saisie) => {
|
|
18946
|
+
if (await onSaveField(col.champ, saisie)) setEditing(null);
|
|
18947
|
+
}
|
|
18948
|
+
}
|
|
18949
|
+
) : /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
18950
|
+
/* @__PURE__ */ jsx("span", { className: "min-w-0 break-words tabular-nums", children: displayValue(col, value) }),
|
|
18951
|
+
col.editable ? /* @__PURE__ */ jsx(
|
|
18952
|
+
"button",
|
|
18953
|
+
{
|
|
18954
|
+
type: "button",
|
|
18955
|
+
"aria-label": labels.edit(col.libelle),
|
|
18956
|
+
onClick: () => setEditing(col.champ),
|
|
18957
|
+
className: PENCIL_CLASS,
|
|
18958
|
+
children: /* @__PURE__ */ jsx(Pencil, { className: "size-3.5", "aria-hidden": "true" })
|
|
18959
|
+
}
|
|
18960
|
+
) : /* @__PURE__ */ jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: labels.computed })
|
|
18961
|
+
] }),
|
|
18962
|
+
correction && /* @__PURE__ */ jsx("p", { className: "text-xs text-amber-800 dark:text-amber-300", children: labels.correction(correction) })
|
|
18963
|
+
] })
|
|
18964
|
+
]
|
|
18965
|
+
},
|
|
18966
|
+
col.champ
|
|
18967
|
+
);
|
|
18968
|
+
}) });
|
|
18969
|
+
}
|
|
18489
18970
|
|
|
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 };
|
|
18971
|
+
export { ChoixColonnes, GrilleRegistre, 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, PanneauRegistreShell, Placeholder, REVIEW_PANEL_TABS, RegistreEcran, RegistreLigneDetail, 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 };
|
|
18491
18972
|
//# sourceMappingURL=index.js.map
|
|
18492
18973
|
//# sourceMappingURL=index.js.map
|