@manta-eu/react 0.1.5 → 0.1.7
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 +1 -0
- package/dist/components/chat/chat-input/index.d.ts +1 -1
- package/dist/components/chat/chat-input/index.d.ts.map +1 -1
- package/dist/components/chat/chat-input/index.js +4 -5
- package/dist/components/chat-view/Chat.js +13 -3
- package/dist/components/embedded-chat/index.d.ts.map +1 -1
- package/dist/components/embedded-chat/index.js +2 -1
- package/dist/components/layouts/Sidebar.d.ts.map +1 -1
- package/dist/components/layouts/Sidebar.js +15 -2
- package/dist/components/layouts/StatusScreen.d.ts.map +1 -1
- package/dist/components/layouts/StatusScreen.js +3 -1
- package/dist/components/sidebar/nav-menu.d.ts +2 -0
- package/dist/components/sidebar/nav-menu.d.ts.map +1 -1
- package/dist/components/sidebar/nav-menu.js +11 -6
- package/dist/components/table/index.d.ts +26 -0
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/components/table/index.js +31 -1
- package/dist/components/thinking/manta-swim.d.ts.map +1 -1
- package/dist/components/thinking/manta-swim.js +3 -1
- package/dist/explain-fact/DatalogCode.d.ts.map +1 -1
- package/dist/explain-fact/DatalogCode.js +7 -2
- package/dist/explain-fact/FactValue.js +3 -3
- package/dist/explain-fact/proof-tree/ProofTreeFormulaFooter.d.ts.map +1 -1
- package/dist/explain-fact/proof-tree/ProofTreeFormulaFooter.js +2 -1
- package/dist/globals.css +10 -102
- package/dist/graph/createNodeRouter.d.ts.map +1 -1
- package/dist/graph/createNodeRouter.js +3 -0
- package/dist/graph/nodes/BrandFacetRuleView.d.ts.map +1 -1
- package/dist/graph/nodes/BrandFacetRuleView.js +6 -4
- package/dist/graph/nodes/BrandFontFamilyView.d.ts +3 -0
- package/dist/graph/nodes/BrandFontFamilyView.d.ts.map +1 -0
- package/dist/graph/nodes/BrandFontFamilyView.js +56 -0
- package/dist/graph/nodes/BrandFontUploadButton.d.ts +6 -0
- package/dist/graph/nodes/BrandFontUploadButton.d.ts.map +1 -0
- package/dist/graph/nodes/BrandFontUploadButton.js +65 -0
- package/dist/graph/nodes/BrandGuidelinesView.d.ts.map +1 -1
- package/dist/graph/nodes/BrandGuidelinesView.js +2 -6
- package/dist/graph/nodes/brand-font.d.ts +12 -0
- package/dist/graph/nodes/brand-font.d.ts.map +1 -0
- package/dist/graph/nodes/brand-font.js +12 -0
- package/dist/graph/nodes/brand-shared.d.ts +3 -2
- package/dist/graph/nodes/brand-shared.d.ts.map +1 -1
- package/dist/graph/nodes/brand-shared.js +3 -2
- package/dist/hooks/use-connection-problems.d.ts +15 -0
- package/dist/hooks/use-connection-problems.d.ts.map +1 -0
- package/dist/hooks/use-connection-problems.js +9 -0
- package/dist/hooks/use-font-face.d.ts +3 -0
- package/dist/hooks/use-font-face.d.ts.map +1 -0
- package/dist/hooks/use-font-face.js +33 -0
- package/dist/hooks/use-graph-refresh-after-turn.d.ts +2 -0
- package/dist/hooks/use-graph-refresh-after-turn.d.ts.map +1 -0
- package/dist/hooks/use-graph-refresh-after-turn.js +12 -0
- package/dist/hooks/useAuth.d.ts +1 -0
- package/dist/hooks/useAuth.d.ts.map +1 -1
- package/dist/hooks/useAuth.js +32 -9
- package/dist/hooks/useValidateActionPlan.d.ts.map +1 -1
- package/dist/lib/activity-changeset.d.ts.map +1 -1
- package/dist/lib/activity-changeset.js +6 -3
- package/dist/lib/chat-types.d.ts +2 -0
- package/dist/lib/chat-types.d.ts.map +1 -1
- package/dist/lib/datastore-route-table.d.ts +1 -0
- package/dist/lib/datastore-route-table.d.ts.map +1 -1
- package/dist/lib/datastore-route-table.js +2 -0
- package/dist/lib/tool-icons.d.ts.map +1 -1
- package/dist/lib/tool-icons.js +2 -5
- package/dist/providers/ActiveChatProvider.d.ts.map +1 -1
- package/dist/providers/ActiveChatProvider.js +2 -0
- package/dist/providers/AssistantIconProvider.d.ts +11 -0
- package/dist/providers/AssistantIconProvider.d.ts.map +1 -0
- package/dist/providers/AssistantIconProvider.js +10 -0
- package/dist/providers/KnowledgeGraphStateContext.d.ts +0 -1
- package/dist/providers/KnowledgeGraphStateContext.d.ts.map +1 -1
- package/dist/providers/KnowledgeGraphStateProvider.d.ts.map +1 -1
- package/dist/providers/KnowledgeGraphStateProvider.js +8 -19
- package/dist/providers/index.d.ts +1 -0
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +1 -0
- package/dist/routes/activity/change-display.js +1 -1
- package/dist/routes/chat/index.d.ts +2 -0
- package/dist/routes/chat/index.d.ts.map +1 -1
- package/dist/routes/chat/index.js +3 -2
- package/dist/routes/data-explorer/components/record-detail/ActionFormDialog.d.ts.map +1 -1
- package/dist/routes/data-explorer/components/record-detail/ActionFormDialog.js +23 -9
- package/dist/routes/data-explorer/components/record-detail/action-properties.d.ts +2 -4
- package/dist/routes/data-explorer/components/record-detail/action-properties.d.ts.map +1 -1
- package/dist/routes/data-explorer/components/record-detail/action-properties.js +8 -50
- package/dist/routes/integrations/catalog-shape.d.ts +6 -2
- package/dist/routes/integrations/catalog-shape.d.ts.map +1 -1
- package/dist/routes/integrations/components/AddIntegrationModal.d.ts.map +1 -1
- package/dist/routes/integrations/components/AddIntegrationModal.js +1 -1
- package/dist/routes/integrations/components/connect-forms/types.d.ts +1 -0
- package/dist/routes/integrations/components/connect-forms/types.d.ts.map +1 -1
- package/dist/routes/integrations/connection-view.d.ts +4 -1
- package/dist/routes/integrations/connection-view.d.ts.map +1 -1
- package/dist/routes/integrations/connection-view.js +55 -12
- package/dist/routes/integrations/types.d.ts +25 -4
- package/dist/routes/integrations/types.d.ts.map +1 -1
- package/dist/routes/integrations/types.js +10 -0
- package/dist/shacl/shacl-form-types.d.ts +2 -3
- package/dist/shacl/shacl-form-types.d.ts.map +1 -1
- package/dist/shared/graph-derived-queries.d.ts +5 -0
- package/dist/shared/graph-derived-queries.d.ts.map +1 -0
- package/dist/shared/graph-derived-queries.js +28 -0
- package/package.json +15 -13
- package/dist/components/ai-elements/chain-of-thought.d.ts +0 -30
- package/dist/components/ai-elements/chain-of-thought.d.ts.map +0 -1
- package/dist/components/ai-elements/chain-of-thought.js +0 -57
- package/dist/components/context-menu.d.ts +0 -29
- package/dist/components/context-menu.d.ts.map +0 -1
- package/dist/components/context-menu.js +0 -67
- package/dist/components/hover-card.d.ts +0 -6
- package/dist/components/hover-card.d.ts.map +0 -1
- package/dist/components/hover-card.js +0 -15
- package/dist/components/layouts/ChatHistoryItem.d.ts +0 -9
- package/dist/components/layouts/ChatHistoryItem.d.ts.map +0 -1
- package/dist/components/layouts/ChatHistoryItem.js +0 -7
- package/dist/components/layouts/SectionHeader.d.ts +0 -8
- package/dist/components/layouts/SectionHeader.d.ts.map +0 -1
- package/dist/components/layouts/SectionHeader.js +0 -6
- package/dist/components/orbit-site/Block.d.ts +0 -8
- package/dist/components/orbit-site/Block.d.ts.map +0 -1
- package/dist/components/orbit-site/Block.js +0 -7
- package/dist/components/orbit-site/Inset.d.ts +0 -7
- package/dist/components/orbit-site/Inset.d.ts.map +0 -1
- package/dist/components/orbit-site/Inset.js +0 -6
- package/dist/components/orbit-site/Section.d.ts +0 -7
- package/dist/components/orbit-site/Section.d.ts.map +0 -1
- package/dist/components/orbit-site/Section.js +0 -6
- package/dist/components/orbit-site/ThemeSelector.d.ts +0 -3
- package/dist/components/orbit-site/ThemeSelector.d.ts.map +0 -1
- package/dist/components/orbit-site/ThemeSelector.js +0 -42
- package/dist/components/planning/SampleChanges.d.ts +0 -9
- package/dist/components/planning/SampleChanges.d.ts.map +0 -1
- package/dist/components/planning/SampleChanges.js +0 -117
- package/dist/components/tool-invocation-card/index.d.ts +0 -8
- package/dist/components/tool-invocation-card/index.d.ts.map +0 -1
- package/dist/components/tool-invocation-card/index.js +0 -7
- package/dist/lib/schema-fields.d.ts +0 -2
- package/dist/lib/schema-fields.d.ts.map +0 -1
- package/dist/lib/schema-fields.js +0 -3
- package/dist/routes/memories/components/ConflictTimeoutFooter.d.ts +0 -7
- package/dist/routes/memories/components/ConflictTimeoutFooter.d.ts.map +0 -1
- package/dist/routes/memories/components/ConflictTimeoutFooter.js +0 -6
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Root, Trigger, Group, Portal, Sub, RadioGroup, SubTrigger, Content, SubContent, Item, CheckboxItem, Label, Separator, ItemIndicator, RadioItem, } from "@radix-ui/react-context-menu";
|
|
4
|
-
import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";
|
|
5
|
-
import { forwardRef, useState } from "react";
|
|
6
|
-
import { cn } from "../lib/utils.js";
|
|
7
|
-
export function ContextMenu(props) {
|
|
8
|
-
const [menuKey, setMenuKey] = useState(0);
|
|
9
|
-
return (_jsx(Root, { "data-slot": "context-menu", onOpenChange: (open) => {
|
|
10
|
-
// Call original onOpenChange if provided
|
|
11
|
-
props.onOpenChange?.(open);
|
|
12
|
-
// When menu closes, prepare for next repositioning
|
|
13
|
-
if (!open) {
|
|
14
|
-
setMenuKey((prev) => prev + 1);
|
|
15
|
-
}
|
|
16
|
-
}, ...props }, menuKey));
|
|
17
|
-
}
|
|
18
|
-
export function ContextMenuTrigger(props) {
|
|
19
|
-
const { className, ...rest } = props;
|
|
20
|
-
return _jsx(Trigger, { className: cn("touch-manipulation", className), "data-slot": "context-menu-trigger", ...rest });
|
|
21
|
-
}
|
|
22
|
-
export function ContextMenuGroup(props) {
|
|
23
|
-
return _jsx(Group, { "data-slot": "context-menu-group", ...props });
|
|
24
|
-
}
|
|
25
|
-
export function ContextMenuPortal(props) {
|
|
26
|
-
return _jsx(Portal, { "data-slot": "context-menu-portal", ...props });
|
|
27
|
-
}
|
|
28
|
-
export function ContextMenuSub(props) {
|
|
29
|
-
return _jsx(Sub, { "data-slot": "context-menu-sub", ...props });
|
|
30
|
-
}
|
|
31
|
-
export function ContextMenuRadioGroup(props) {
|
|
32
|
-
return _jsx(RadioGroup, { "data-slot": "context-menu-radio-group", ...props });
|
|
33
|
-
}
|
|
34
|
-
export function ContextMenuSubTrigger(props) {
|
|
35
|
-
const { className, inset, children, ...otherProps } = props;
|
|
36
|
-
return (_jsxs(SubTrigger, { className: cn("flex cursor-default touch-manipulation select-none items-center", "rounded-radius px-2 py-1.5 typography-small outline-hidden", "focus:bg-accent focus:text-accent-foreground", "data-[state=open]:bg-accent data-inset:pl-8 data-[state=open]:text-accent-foreground", "[&_svg:not([class*='size-'])]:size-4", "[&_svg:not([class*='text-'])]:text-muted-foreground", "[&_svg]:pointer-events-none [&_svg]:shrink-0", className), "data-inset": inset, "data-slot": "context-menu-sub-trigger", ...otherProps, children: [children, _jsx(ChevronRightIcon, { "aria-hidden": "true", className: "ml-auto" })] }));
|
|
37
|
-
}
|
|
38
|
-
export const ContextMenuSubContent = forwardRef(function ContextMenuSubContent({ className, ...props }, ref) {
|
|
39
|
-
return (_jsx(SubContent, { className: cn("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95", "data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2", "data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", "z-50 min-w-32 touch-manipulation overflow-hidden", "origin-(--radix-context-menu-content-transform-origin)", "rounded-radius border bg-card p-1 text-default-foreground shadow-lg", "data-[state=closed]:animate-out data-[state=open]:animate-in motion-reduce:animate-none", className), "data-slot": "context-menu-sub-content", ref: ref, ...props }));
|
|
40
|
-
});
|
|
41
|
-
export const ContextMenuContent = forwardRef(function ContextMenuContent({ className, ...props }, ref) {
|
|
42
|
-
return (_jsx(Portal, { children: _jsx(Content, { className: cn("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95", "data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2", "data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", "z-50 min-w-32 touch-manipulation overflow-y-auto overflow-x-hidden", "max-h-(--radix-context-menu-content-available-height)", "origin-(--radix-context-menu-content-transform-origin)", "overscroll-contain rounded-radius border bg-card p-1 text-default-foreground shadow-md", "data-[state=closed]:animate-out data-[state=open]:animate-in motion-reduce:animate-none", className), "data-slot": "context-menu-content", ref: ref, ...props }) }));
|
|
43
|
-
});
|
|
44
|
-
export function ContextMenuItem(props) {
|
|
45
|
-
const { className, inset, variant = "default", ...otherProps } = props;
|
|
46
|
-
return (_jsx(Item, { "aria-disabled": otherProps.disabled ? true : undefined, className: cn("relative flex cursor-default touch-manipulation select-none items-center gap-2", "rounded-radius px-2 py-1.5 typography-small outline-hidden", "focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-inset:pl-8", "data-[variant=destructive]:text-error-foreground data-disabled:opacity-50", "data-[variant=destructive]:focus:bg-error data-[variant=destructive]:focus:text-error-foreground", "[&_svg:not([class*='size-'])]:size-4", "[&_svg:not([class*='text-'])]:text-muted-foreground", "[&_svg]:pointer-events-none [&_svg]:shrink-0", "data-[variant=destructive]:*:[svg]:text-error-foreground!", className), "data-inset": inset, "data-slot": "context-menu-item", "data-variant": variant, ...otherProps }));
|
|
47
|
-
}
|
|
48
|
-
export function ContextMenuCheckboxItem(props) {
|
|
49
|
-
const { className, children, checked, ...otherProps } = props;
|
|
50
|
-
return (_jsxs(CheckboxItem, { "aria-disabled": otherProps.disabled ? true : undefined, checked: checked, className: cn("relative flex cursor-default touch-manipulation select-none items-center gap-2", "rounded-radius py-1.5 pr-2 pl-8 typography-small outline-hidden focus:bg-accent focus:text-accent-foreground", "data-disabled:pointer-events-none data-disabled:opacity-50", "[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", className), "data-slot": "context-menu-checkbox-item", ...otherProps, children: [_jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: _jsx(ItemIndicator, { children: _jsx(CheckIcon, { "aria-hidden": "true", className: "size-4" }) }) }), children] }));
|
|
51
|
-
}
|
|
52
|
-
export function ContextMenuRadioItem(props) {
|
|
53
|
-
const { className, children, ...otherProps } = props;
|
|
54
|
-
return (_jsxs(RadioItem, { "aria-disabled": otherProps.disabled ? true : undefined, className: cn("relative flex cursor-default touch-manipulation select-none items-center gap-2", "rounded-radius py-1.5 pr-2 pl-8 typography-small outline-hidden focus:bg-accent focus:text-accent-foreground", "data-disabled:pointer-events-none data-disabled:opacity-50", "[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", className), "data-slot": "context-menu-radio-item", ...otherProps, children: [_jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: _jsx(ItemIndicator, { children: _jsx(CircleIcon, { "aria-hidden": "true", className: "size-2 fill-current" }) }) }), children] }));
|
|
55
|
-
}
|
|
56
|
-
export function ContextMenuLabel(props) {
|
|
57
|
-
const { className, inset, ...otherProps } = props;
|
|
58
|
-
return (_jsx(Label, { className: cn("px-2 py-1.5 typography-small-medium text-default-foreground data-inset:pl-8", className), "data-inset": inset, "data-slot": "context-menu-label", ...otherProps }));
|
|
59
|
-
}
|
|
60
|
-
export function ContextMenuSeparator(props) {
|
|
61
|
-
const { className, ...otherProps } = props;
|
|
62
|
-
return (_jsx(Separator, { className: cn("-mx-1 my-1 h-px bg-muted-border", className), "data-slot": "context-menu-separator", ...otherProps }));
|
|
63
|
-
}
|
|
64
|
-
export function ContextMenuShortcut(props) {
|
|
65
|
-
const { className, ...otherProps } = props;
|
|
66
|
-
return (_jsx("span", { className: cn("ml-auto typography-tiny text-muted-foreground tracking-widest", className), "data-slot": "context-menu-shortcut", ...otherProps }));
|
|
67
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Root, Trigger, Content } from "@radix-ui/react-hover-card";
|
|
2
|
-
import type { ComponentProps } from "react";
|
|
3
|
-
export declare function HoverCard(props: ComponentProps<typeof Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare function HoverCardTrigger(props: ComponentProps<typeof Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare function HoverCardContent(props: ComponentProps<typeof Content>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
//# sourceMappingURL=hover-card.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hover-card.d.ts","sourceRoot":"","sources":["../../src/components/hover-card.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAU,MAAM,4BAA4B,CAAC;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,2CAE3D;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,OAAO,CAAC,2CAUrE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,OAAO,CAAC,2CAiBrE"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { Root, Trigger, Content, Portal } from "@radix-ui/react-hover-card";
|
|
4
|
-
import { cn } from "../lib/utils.js";
|
|
5
|
-
export function HoverCard(props) {
|
|
6
|
-
return _jsx(Root, { "data-slot": "hover-card", ...props });
|
|
7
|
-
}
|
|
8
|
-
export function HoverCardTrigger(props) {
|
|
9
|
-
const { className, ...otherProps } = props;
|
|
10
|
-
return (_jsx(Trigger, { className: cn("touch-manipulation", className), "data-slot": "hover-card-trigger", type: "button", ...otherProps }));
|
|
11
|
-
}
|
|
12
|
-
export function HoverCardContent(props) {
|
|
13
|
-
const { className, align = "center", sideOffset = 4, ...otherProps } = props;
|
|
14
|
-
return (_jsx(Portal, { "data-slot": "hover-card-portal", children: _jsx(Content, { align: align, className: cn("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) touch-manipulation rounded-md border bg-card p-4 text-default-foreground shadow-md outline-hidden data-[state=closed]:animate-out data-[state=open]:animate-in motion-reduce:animate-none", className), "data-slot": "hover-card-content", sideOffset: sideOffset, ...otherProps }) }));
|
|
15
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type ChatHistoryItemProps = {
|
|
2
|
-
title: string;
|
|
3
|
-
timestamp: string;
|
|
4
|
-
isActive?: boolean;
|
|
5
|
-
onClick?: () => void;
|
|
6
|
-
};
|
|
7
|
-
export declare function ChatHistoryItem(props: ChatHistoryItemProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=ChatHistoryItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatHistoryItem.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/ChatHistoryItem.tsx"],"names":[],"mappings":"AAGA,KAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAwB1D"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { MessageCircle } from "lucide-react";
|
|
3
|
-
import { cn } from "#lib/utils";
|
|
4
|
-
export function ChatHistoryItem(props) {
|
|
5
|
-
const { title, timestamp, isActive = false, onClick } = props;
|
|
6
|
-
return (_jsx("li", { children: _jsxs("button", { type: "button", onClick: onClick, className: cn("flex w-full cursor-pointer items-center gap-3 rounded-sm px-3 py-2 typography-small text-left transition-colors", "hover:bg-secondary", isActive && "bg-accent-foreground/10 text-background"), children: [_jsx(MessageCircle, { size: 20, className: "shrink-0" }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "truncate typography-small-medium", title: title, children: title }), _jsx("div", { className: "truncate typography-tiny text-muted-foreground", children: timestamp })] })] }) }));
|
|
7
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
type SectionHeaderProps = {
|
|
3
|
-
action?: ReactNode;
|
|
4
|
-
title: string;
|
|
5
|
-
};
|
|
6
|
-
export declare function SectionHeader(props: SectionHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=SectionHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/SectionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,KAAK,kBAAkB,GAAG;IACxB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAStD"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "#lib/utils";
|
|
3
|
-
export function SectionHeader(props) {
|
|
4
|
-
const { title, action } = props;
|
|
5
|
-
return (_jsxs("div", { className: cn("mb-2 flex items-center px-2", action ? "justify-between gap-2" : "justify-start"), children: [_jsx("span", { className: "typography-tiny text-muted-foreground uppercase", children: title }), action ? _jsx("div", { className: "shrink-0", children: action }) : null] }));
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../src/components/orbit-site/Block.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,KAAK,UAAU,GAAG;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,2CAmB/B;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "#lib/utils";
|
|
3
|
-
function Block(props) {
|
|
4
|
-
const { children, title } = props;
|
|
5
|
-
return (_jsxs(_Fragment, { children: [title && (_jsx("header", { children: _jsx("h2", { className: "mt-10 mb-4 typography-large-header", children: title }) })), _jsx("div", { className: cn("flex aspect-video w-full items-center justify-center gap-4 rounded-lg border p-10 transition-colors", "border-default-border bg-background"), children: children })] }));
|
|
6
|
-
}
|
|
7
|
-
export default Block;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Inset.d.ts","sourceRoot":"","sources":["../../../src/components/orbit-site/Inset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,2CAG/B;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/components/orbit-site/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,iBAAS,OAAO,CAAC,KAAK,EAAE,YAAY,2CAGnC;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeSelector.d.ts","sourceRoot":"","sources":["../../../src/components/orbit-site/ThemeSelector.tsx"],"names":[],"mappings":"AAgCA,iBAAS,aAAa,4CAyCrB;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { SunMoon, Sun, Moon } from "lucide-react";
|
|
3
|
-
import { useEffect, useState } from "react";
|
|
4
|
-
import { match } from "ts-pattern";
|
|
5
|
-
import { cn } from "#lib/utils";
|
|
6
|
-
import { useTheme } from "#providers/ThemeProvider";
|
|
7
|
-
function describeTheme(theme) {
|
|
8
|
-
return match(theme)
|
|
9
|
-
.with("light", () => ({
|
|
10
|
-
icon: _jsx(Sun, { className: "size-5" }),
|
|
11
|
-
label: "Light mode (click for Dark)",
|
|
12
|
-
next: "dark",
|
|
13
|
-
}))
|
|
14
|
-
.with("dark", () => ({
|
|
15
|
-
icon: _jsx(Moon, { className: "size-5" }),
|
|
16
|
-
label: "Dark mode (click for System)",
|
|
17
|
-
next: "system",
|
|
18
|
-
}))
|
|
19
|
-
.with("system", () => ({
|
|
20
|
-
icon: _jsx(SunMoon, { className: "size-5" }),
|
|
21
|
-
label: "System theme (click for Light)",
|
|
22
|
-
next: "light",
|
|
23
|
-
}))
|
|
24
|
-
.exhaustive();
|
|
25
|
-
}
|
|
26
|
-
function ThemeSelector() {
|
|
27
|
-
const { theme, setTheme } = useTheme();
|
|
28
|
-
const [mounted, setMounted] = useState(false);
|
|
29
|
-
// Prevent hydration mismatch
|
|
30
|
-
useEffect(() => {
|
|
31
|
-
setMounted(true);
|
|
32
|
-
}, []);
|
|
33
|
-
if (!mounted) {
|
|
34
|
-
return (_jsx("button", { "aria-label": "Toggle theme", className: "flex size-8 cursor-pointer items-center justify-center rounded-md transition-colors", type: "button", children: _jsx("span", { className: "sr-only", children: "Loading theme selector\u2026" }) }));
|
|
35
|
-
}
|
|
36
|
-
const { icon, label, next } = describeTheme(theme);
|
|
37
|
-
function cycleTheme() {
|
|
38
|
-
setTheme(next);
|
|
39
|
-
}
|
|
40
|
-
return (_jsx("button", { "aria-label": label, className: cn("flex size-8 cursor-pointer items-center justify-center rounded-md transition-colors", "hover:bg-background/60"), onClick: cycleTheme, title: label, type: "button", children: icon }));
|
|
41
|
-
}
|
|
42
|
-
export default ThemeSelector;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type SampleChangesProps = {
|
|
2
|
-
planGraphIri: string;
|
|
3
|
-
typeIri: string;
|
|
4
|
-
typeName: string;
|
|
5
|
-
limit?: number;
|
|
6
|
-
};
|
|
7
|
-
export declare function SampleChanges(props: SampleChangesProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=SampleChanges.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SampleChanges.d.ts","sourceRoot":"","sources":["../../../src/components/planning/SampleChanges.tsx"],"names":[],"mappings":"AA2BA,KAAK,kBAAkB,GAAG;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CA6CtD"}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useExplainRdFoxFactQuery } from "@manta-eu/client";
|
|
3
|
-
import { iriLocalName } from "@manta-eu/client/shared/rdf-namespaces";
|
|
4
|
-
import { isPresent } from "@manta-eu/lib/present";
|
|
5
|
-
import { HelpCircle } from "lucide-react";
|
|
6
|
-
import { useState } from "react";
|
|
7
|
-
import { Badge } from "#components/badge/index";
|
|
8
|
-
import { Button } from "#components/button/index";
|
|
9
|
-
import { Loader } from "#components/loader/index";
|
|
10
|
-
import { Popover, PopoverContent, PopoverTrigger } from "#components/popover/index";
|
|
11
|
-
import { Skeleton } from "#components/skeleton/index";
|
|
12
|
-
import { useActionPlanSamples } from "#ldo-ui";
|
|
13
|
-
import { useMantaClient } from "#providers/MantaClientProvider";
|
|
14
|
-
function formatSampleLabel(sample) {
|
|
15
|
-
return sample.label || sample.subject;
|
|
16
|
-
}
|
|
17
|
-
function getSampleDescription(sample, typeName) {
|
|
18
|
-
if (sample.description) {
|
|
19
|
-
return sample.description;
|
|
20
|
-
}
|
|
21
|
-
// Generate a helpful description based on type and operation
|
|
22
|
-
const operation = sample.operation === "ADDED" ? "New" : "Updated";
|
|
23
|
-
return `${operation} ${typeName.toLowerCase()}`;
|
|
24
|
-
}
|
|
25
|
-
export function SampleChanges(props) {
|
|
26
|
-
const { planGraphIri, typeIri, typeName, limit = 3 } = props;
|
|
27
|
-
const { data, isLoading, error } = useActionPlanSamples({
|
|
28
|
-
planGraphIri,
|
|
29
|
-
typeIri,
|
|
30
|
-
limit,
|
|
31
|
-
});
|
|
32
|
-
if (isLoading) {
|
|
33
|
-
return _jsx(SampleChangesLoading, {});
|
|
34
|
-
}
|
|
35
|
-
if (error || data?.error) {
|
|
36
|
-
const errorMessage = error instanceof Error ? error.message : (data?.error ?? "Unknown error");
|
|
37
|
-
return _jsxs("div", { className: "typography-small text-muted-foreground", children: ["Failed to load sample changes: ", errorMessage] });
|
|
38
|
-
}
|
|
39
|
-
const samples = data?.samples ?? [];
|
|
40
|
-
if (!isPresent(samples)) {
|
|
41
|
-
return _jsxs("div", { className: "typography-small text-muted-foreground", children: ["No sample changes available for ", typeName] });
|
|
42
|
-
}
|
|
43
|
-
return (_jsxs("div", { className: "space-y-3 overflow-hidden", children: [_jsxs("div", { className: "flex items-center justify-between gap-2", children: [_jsx("div", { className: "typography-small-medium text-default-foreground flex-shrink-0", children: "Sample Changes" }), _jsxs("div", { className: "typography-tiny text-muted-foreground bg-muted px-2 py-1 rounded-md flex-shrink-0", children: [samples.length, " samples shown"] })] }), _jsx("div", { className: "space-y-2 overflow-hidden", children: samples.map((sample, index) => (_jsx(SampleChangeItem, { sample: sample, typeIri: typeIri, typeName: typeName, planGraphIri: planGraphIri }, `${sample.subject}-${index}`))) })] }));
|
|
44
|
-
}
|
|
45
|
-
function SampleChangesLoading() {
|
|
46
|
-
return (_jsxs("div", { className: "space-y-3", children: [_jsx(Skeleton, { className: "h-4 w-32" }), _jsx("div", { className: "space-y-2", children: Array.from({ length: 3 }).map((_, i) => (_jsxs("div", { className: "flex items-center justify-between rounded-lg border border-muted-border p-3", children: [_jsxs("div", { className: "space-y-1", children: [_jsx(Skeleton, { className: "h-4 w-24" }), _jsx(Skeleton, { className: "h-3 w-16" })] }), _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Skeleton, { className: "h-5 w-12" }), _jsx(Skeleton, { className: "size-6 rounded-full" })] })] }, i))) })] }));
|
|
47
|
-
}
|
|
48
|
-
function SampleChangeItem(props) {
|
|
49
|
-
const { sample, typeName, planGraphIri } = props;
|
|
50
|
-
const [showAllProperties, setShowAllProperties] = useState(false);
|
|
51
|
-
const formattedLabel = formatSampleLabel(sample);
|
|
52
|
-
const description = getSampleDescription(sample, typeName);
|
|
53
|
-
return (_jsxs("div", { className: "flex flex-col gap-3 rounded-lg border border-muted-border p-3 bg-card/50 overflow-hidden", children: [_jsxs("div", { className: "flex items-start justify-between gap-3", children: [_jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("div", { className: "typography-small-medium text-default-foreground break-words", children: formattedLabel }), _jsx("div", { className: "typography-tiny text-muted-foreground mt-1 break-words", children: description })] }), _jsx("div", { className: "flex items-center gap-2 shrink-0", children: _jsx(OperationBadge, { operation: sample.operation }) })] }), (() => {
|
|
54
|
-
const changes = sample.properties.filter((p) => p.changeType === "ADDED" || p.changeType === "UPDATED");
|
|
55
|
-
const unchanged = sample.properties.filter((p) => p.changeType === "UNCHANGED");
|
|
56
|
-
return (_jsxs("div", { className: "space-y-3", children: [isPresent(changes) && (_jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "typography-tiny text-muted-foreground uppercase tracking-wide", children: "Changes" }), _jsx("div", { className: "space-y-1", children: changes.map((property, index) => (_jsx(PropertyChangeItem, { property: property, subject: sample.subject, planGraphIri: planGraphIri }, `change-${property.predicate}-${index}`))) })] })), isPresent(unchanged) && (_jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "typography-tiny text-muted-foreground uppercase tracking-wide", children: "Current" }), _jsxs("div", { className: "space-y-1", children: [(showAllProperties ? unchanged : unchanged.slice(0, 3)).map((property, index) => (_jsx(PropertyChangeItem, { property: property, subject: sample.subject, planGraphIri: planGraphIri }, `unchanged-${property.predicate}-${index}`))), unchanged.length > 3 && (_jsx(Button, { variant: "ghost", size: "sm", className: "h-auto p-1 typography-tiny text-muted-foreground hover:text-default-foreground", onClick: () => setShowAllProperties(!showAllProperties), children: showAllProperties ? "Show less" : `+ ${unchanged.length - 3} more properties` }))] })] })), !isPresent(changes) && !isPresent(unchanged) && (_jsx("div", { className: "typography-tiny text-muted-foreground italic", children: "No changes found" }))] }));
|
|
57
|
-
})()] }));
|
|
58
|
-
}
|
|
59
|
-
function titleize(text) {
|
|
60
|
-
return text
|
|
61
|
-
.replace(/([a-z])([A-Z])/g, "$1 $2")
|
|
62
|
-
.replace(/_/g, " ")
|
|
63
|
-
.replace(/\b\w/g, (char) => char.toUpperCase());
|
|
64
|
-
}
|
|
65
|
-
function PropertyChangeItem(props) {
|
|
66
|
-
const { property, subject, planGraphIri } = props;
|
|
67
|
-
const rawPredicateDisplay = property.predicateLabel || iriLocalName(property.predicate);
|
|
68
|
-
const predicateDisplay = titleize(rawPredicateDisplay);
|
|
69
|
-
const propertyObject = property.object.includes(" ")
|
|
70
|
-
? property.object
|
|
71
|
-
: property.object.split(/[#/_]/).pop() || property.object;
|
|
72
|
-
const objectDisplay = property.objectLabel || propertyObject;
|
|
73
|
-
// UPDATED: Show before → after for properties that changed
|
|
74
|
-
if (property.changeType === "UPDATED") {
|
|
75
|
-
const beforeDisplay = property.beforeObjectLabel ||
|
|
76
|
-
(property.beforeObject ? iriLocalName(property.beforeObject) : property.beforeObject);
|
|
77
|
-
return (_jsx("div", { className: "bg-warning border border-warning-foreground px-2 py-1 rounded typography-tiny break-words", children: _jsxs("div", { className: "flex items-center gap-2 flex-wrap", children: [_jsx("span", { className: "typography-small-medium text-warning-foreground flex-shrink-0", children: predicateDisplay }), _jsxs("div", { className: "flex items-center gap-1 min-w-0 flex-1", children: [_jsx("span", { className: "text-warning-foreground break-all min-w-0", children: beforeDisplay }), _jsx("span", { className: "text-warning-foreground flex-shrink-0", children: "\u2192" }), _jsx("span", { className: "text-warning-foreground typography-small-medium break-all min-w-0", children: objectDisplay })] }), _jsx(PropertyExplainButton, { subject: subject, predicate: property.predicate, object: property.object, planGraphIri: planGraphIri, label: `${predicateDisplay}: ${beforeDisplay} → ${objectDisplay}` })] }) }));
|
|
78
|
-
}
|
|
79
|
-
// ADDED: Show → new_value for new properties
|
|
80
|
-
if (property.changeType === "ADDED") {
|
|
81
|
-
return (_jsx("div", { className: "bg-success border border-success-foreground px-2 py-1 rounded typography-tiny break-words", children: _jsxs("div", { className: "flex items-center gap-2 flex-wrap", children: [_jsx("span", { className: "typography-small-medium text-success-foreground flex-shrink-0", children: predicateDisplay }), _jsxs("div", { className: "flex items-center gap-1 min-w-0 flex-1", children: [_jsx("span", { className: "text-success-foreground flex-shrink-0", children: "\u2192" }), _jsx("span", { className: "text-success-foreground typography-small-medium break-all min-w-0", children: objectDisplay })] }), _jsx(PropertyExplainButton, { subject: subject, predicate: property.predicate, object: property.object, planGraphIri: planGraphIri, label: `${predicateDisplay}: ${objectDisplay}` })] }) }));
|
|
82
|
-
}
|
|
83
|
-
// UNCHANGED: Show just the value for unchanged properties
|
|
84
|
-
return (_jsx("div", { className: "bg-muted/30 px-2 py-1 rounded typography-tiny break-words", children: _jsxs("div", { className: "flex items-center gap-2 flex-wrap", children: [_jsx("span", { className: "typography-small-medium text-muted-foreground flex-shrink-0", children: predicateDisplay }), _jsx("span", { className: "text-default-foreground break-all min-w-0 flex-1", children: objectDisplay })] }) }));
|
|
85
|
-
}
|
|
86
|
-
function OperationBadge(props) {
|
|
87
|
-
const { operation } = props;
|
|
88
|
-
if (operation === "ADDED") {
|
|
89
|
-
return _jsx(Badge, { className: "bg-success text-success-foreground border-success-foreground", children: "New" });
|
|
90
|
-
}
|
|
91
|
-
return _jsx(Badge, { className: "bg-warning text-warning-foreground border-warning-foreground", children: "Updated" });
|
|
92
|
-
}
|
|
93
|
-
function PropertyExplainButton(props) {
|
|
94
|
-
const { subject, predicate, object, planGraphIri, label } = props;
|
|
95
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
96
|
-
return (_jsxs(Popover, { open: isOpen, onOpenChange: setIsOpen, children: [_jsx(PopoverTrigger, { asChild: true, children: _jsx(Button, { variant: "ghost", size: "xs", iconOnly: true, icon: HelpCircle, className: "text-muted-foreground hover:text-default-foreground flex-shrink-0", title: "Explain why this change exists", "aria-label": "Explain why this change exists" }) }), _jsx(PopoverContent, { className: "w-96", align: "end", children: _jsx(PropertyExplanationContent, { subject: subject, predicate: predicate, object: object, planGraphIri: planGraphIri, label: label }) })] }));
|
|
97
|
-
}
|
|
98
|
-
function PropertyExplanationContent(props) {
|
|
99
|
-
const { subject, predicate, object, planGraphIri, label } = props;
|
|
100
|
-
const { mantaClient } = useMantaClient();
|
|
101
|
-
const { data, isLoading, error } = useExplainRdFoxFactQuery(mantaClient, {
|
|
102
|
-
subject,
|
|
103
|
-
predicate,
|
|
104
|
-
object,
|
|
105
|
-
summarize: true,
|
|
106
|
-
namedGraph: planGraphIri,
|
|
107
|
-
});
|
|
108
|
-
if (isLoading) {
|
|
109
|
-
return (_jsx("div", { className: "space-y-3", children: _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Loader, { className: "size-4" }), _jsx("span", { className: "typography-small", children: "Generating explanation..." })] }) }));
|
|
110
|
-
}
|
|
111
|
-
if (error || data?.explainRDFoxFact.error) {
|
|
112
|
-
const errorMessage = error?.message ?? data?.explainRDFoxFact.error ?? "Unknown error";
|
|
113
|
-
return (_jsxs("div", { className: "space-y-2", children: [_jsxs("h4", { className: "typography-small-semibold", children: ["Explanation for ", label] }), _jsxs("p", { className: "typography-small text-error-foreground", children: ["Failed to load explanation: ", errorMessage] })] }));
|
|
114
|
-
}
|
|
115
|
-
const explanation = data?.explainRDFoxFact;
|
|
116
|
-
return (_jsxs("div", { className: "space-y-3", children: [_jsx("h4", { className: "typography-small-semibold", children: "Why this exists" }), explanation?.summary ? (_jsx("p", { className: "typography-small text-default-foreground leading-relaxed", children: explanation.summary })) : (_jsx("p", { className: "typography-small text-muted-foreground", children: "No explanation available." }))] }));
|
|
117
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { ToolActions } from "./ToolActions.js";
|
|
2
|
-
export { ToolArgumentsDisplay } from "./ToolArgumentsDisplay.js";
|
|
3
|
-
export { ToolHeader } from "./ToolHeader.js";
|
|
4
|
-
export { ToolInvocationCard } from "./ToolInvocationCard.js";
|
|
5
|
-
export { ToolLoadingState } from "./ToolLoadingState.js";
|
|
6
|
-
export { ToolResultDisplay } from "./ToolResultDisplay.js";
|
|
7
|
-
export * from "./types.js";
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tool-invocation-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,SAAS,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { ToolActions } from "./ToolActions.js";
|
|
2
|
-
export { ToolArgumentsDisplay } from "./ToolArgumentsDisplay.js";
|
|
3
|
-
export { ToolHeader } from "./ToolHeader.js";
|
|
4
|
-
export { ToolInvocationCard } from "./ToolInvocationCard.js";
|
|
5
|
-
export { ToolLoadingState } from "./ToolLoadingState.js";
|
|
6
|
-
export { ToolResultDisplay } from "./ToolResultDisplay.js";
|
|
7
|
-
export * from "./types.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema-fields.d.ts","sourceRoot":"","sources":["../../src/lib/schema-fields.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAE3D"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type ConflictTimeoutFooterProps = {
|
|
2
|
-
onCancel: () => void;
|
|
3
|
-
onConfirm: () => void;
|
|
4
|
-
isSaving: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare function ConflictTimeoutFooter(props: ConflictTimeoutFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
//# sourceMappingURL=ConflictTimeoutFooter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConflictTimeoutFooter.d.ts","sourceRoot":"","sources":["../../../../src/routes/memories/components/ConflictTimeoutFooter.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,2CAatE"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from "#components/button/index";
|
|
3
|
-
export function ConflictTimeoutFooter(props) {
|
|
4
|
-
const { onCancel, onConfirm, isSaving } = props;
|
|
5
|
-
return (_jsxs(_Fragment, { children: [_jsx("p", { className: "typography-small text-muted-foreground mr-auto", children: "Conflict check timed out. Save without checking?" }), _jsx(Button, { variant: "tertiary", onClick: onCancel, disabled: isSaving, children: "Cancel" }), _jsx(Button, { onClick: onConfirm, disabled: isSaving, children: isSaving ? "Saving…" : "Save anyway" })] }));
|
|
6
|
-
}
|