@manta-eu/react 0.1.4 → 0.1.6
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 +4 -8
- package/dist/components/audience-phase-badge/index.d.ts +1 -1
- package/dist/components/audience-phase-badge/index.d.ts.map +1 -1
- package/dist/components/audience-phase-badge/index.js +3 -0
- package/dist/components/authenticated-chat/index.d.ts.map +1 -1
- package/dist/components/authenticated-chat/index.js +0 -5
- 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.d.ts +6 -0
- package/dist/components/chat-view/Chat.d.ts.map +1 -1
- package/dist/components/chat-view/Chat.js +18 -8
- package/dist/components/chat-view/ChatHeaders.d.ts.map +1 -1
- package/dist/components/chat-view/ChatHeaders.js +3 -2
- package/dist/components/embedded-chat/EmbeddedDatastorePicker.d.ts +1 -0
- package/dist/components/embedded-chat/EmbeddedDatastorePicker.d.ts.map +1 -1
- package/dist/components/embedded-chat/EmbeddedDatastorePicker.js +9 -3
- package/dist/components/embedded-chat/index.d.ts.map +1 -1
- package/dist/components/embedded-chat/index.js +1 -8
- package/dist/components/layouts/Sidebar.d.ts.map +1 -1
- package/dist/components/layouts/Sidebar.js +25 -5
- package/dist/components/planning/ActioningView.d.ts.map +1 -1
- package/dist/components/planning/ActioningView.js +11 -6
- package/dist/components/planning/ExecutionSectionItem.d.ts +2 -3
- package/dist/components/planning/ExecutionSectionItem.d.ts.map +1 -1
- package/dist/components/planning/ExecutionSectionItem.js +3 -6
- package/dist/components/planning/ExecutionSections.d.ts +2 -3
- package/dist/components/planning/ExecutionSections.d.ts.map +1 -1
- package/dist/components/planning/ExecutionSections.js +2 -2
- package/dist/components/planning/ManualActionCard.d.ts +3 -4
- package/dist/components/planning/ManualActionCard.d.ts.map +1 -1
- package/dist/components/planning/ManualActionCard.js +24 -6
- package/dist/components/rdf-insights/CampaignChannelMix.js +1 -1
- package/dist/components/rdf-insights/CampaignGrid.d.ts.map +1 -1
- package/dist/components/rdf-insights/CampaignGrid.js +2 -2
- package/dist/components/rdf-insights/DailyPerformance.js +2 -2
- package/dist/components/rdf-insights/KpiDashboard.d.ts +2 -2
- package/dist/components/rdf-insights/KpiDashboard.d.ts.map +1 -1
- package/dist/components/rdf-insights/KpiDashboard.js +33 -53
- package/dist/components/rdf-insights/MetaDailyInsights.js +2 -2
- package/dist/components/rdf-insights/ProductCard.d.ts.map +1 -1
- package/dist/components/rdf-insights/ProductCard.js +1 -1
- package/dist/components/rdf-insights/ProductVariantsTable.js +1 -1
- package/dist/components/rdf-insights/useExtractedInsights.d.ts +1 -1
- package/dist/components/rdf-insights/useExtractedInsights.js +3 -3
- 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/datastore-picker/datastore-picker-rows.d.ts +1 -0
- package/dist/datastore-picker/datastore-picker-rows.d.ts.map +1 -1
- package/dist/datastore-picker/datastore-picker-rows.js +6 -2
- 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/GoogleCampaignView.js +2 -2
- 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-action-plans-list.js +1 -1
- 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/use-manual-actions.d.ts +11 -1
- package/dist/hooks/use-manual-actions.d.ts.map +1 -1
- package/dist/hooks/use-manual-actions.js +47 -100
- package/dist/hooks/useAuth.d.ts +6 -1
- package/dist/hooks/useAuth.d.ts.map +1 -1
- package/dist/hooks/useAuth.js +36 -9
- package/dist/hooks/useValidateActionPlan.d.ts.map +1 -1
- package/dist/ldo-ui.d.ts +1 -1
- package/dist/ldo-ui.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/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/manual-actions.js +1 -1
- package/dist/lib/rdf/index.d.ts +4 -2
- package/dist/lib/rdf/index.d.ts.map +1 -1
- package/dist/lib/rdf/index.js +48 -18
- package/dist/lib/rdf/insights.d.ts +6 -1
- package/dist/lib/rdf/insights.d.ts.map +1 -1
- package/dist/lib/rdf/insights.js +15 -3
- package/dist/lib/rdf/types.d.ts +21 -8
- package/dist/lib/rdf/types.d.ts.map +1 -1
- package/dist/lib/tool-icons.d.ts.map +1 -1
- package/dist/lib/tool-icons.js +1 -5
- package/dist/providers/ActiveChatProvider.d.ts.map +1 -1
- package/dist/providers/ActiveChatProvider.js +2 -0
- package/dist/providers/AuthContext.d.ts +1 -1
- package/dist/providers/AuthContext.d.ts.map +1 -1
- 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 +4 -1
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +2 -1
- package/dist/routes/activity/change-display.js +1 -1
- 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/datastores/components/DatastoreFormDialog.d.ts +4 -2
- package/dist/routes/datastores/components/DatastoreFormDialog.d.ts.map +1 -1
- package/dist/routes/datastores/components/DatastoreFormDialog.js +7 -4
- package/dist/routes/datastores/components/DatastoresToolbar.d.ts +3 -1
- package/dist/routes/datastores/components/DatastoresToolbar.d.ts.map +1 -1
- package/dist/routes/datastores/components/DatastoresToolbar.js +18 -5
- package/dist/routes/datastores/components/LinkUnlinkedDatastoreDialog.d.ts.map +1 -1
- package/dist/routes/datastores/components/LinkUnlinkedDatastoreDialog.js +6 -2
- package/dist/routes/datastores/components/ProvisionDatastoreDialog.d.ts +7 -0
- package/dist/routes/datastores/components/ProvisionDatastoreDialog.d.ts.map +1 -0
- package/dist/routes/datastores/components/ProvisionDatastoreDialog.js +10 -0
- package/dist/routes/datastores/flatten.d.ts +4 -0
- package/dist/routes/datastores/flatten.d.ts.map +1 -1
- package/dist/routes/datastores/flatten.js +11 -0
- package/dist/routes/datastores/hooks/useDatastoreColumns.d.ts +4 -1
- package/dist/routes/datastores/hooks/useDatastoreColumns.d.ts.map +1 -1
- package/dist/routes/datastores/hooks/useDatastoreColumns.js +6 -2
- package/dist/routes/datastores/hooks/useTenantOrganizationCheck.d.ts +3 -0
- package/dist/routes/datastores/hooks/useTenantOrganizationCheck.d.ts.map +1 -0
- package/dist/routes/datastores/hooks/useTenantOrganizationCheck.js +21 -0
- package/dist/routes/datastores/index.d.ts.map +1 -1
- package/dist/routes/datastores/index.js +44 -6
- package/dist/routes/datastores/link-provider.d.ts +11 -0
- package/dist/routes/datastores/link-provider.d.ts.map +1 -0
- package/dist/routes/datastores/link-provider.js +34 -0
- 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 +39 -6
- package/dist/routes/integrations/types.d.ts +3 -0
- package/dist/routes/integrations/types.d.ts.map +1 -1
- package/dist/routes/memories/components/ChangeScopeDialog.d.ts +1 -1
- package/dist/routes/memories/components/ChangeScopeDialog.d.ts.map +1 -1
- package/dist/routes/memories/components/ChangeScopeDialog.js +3 -3
- package/dist/routes/memories/components/EmptyStates.d.ts +1 -2
- package/dist/routes/memories/components/EmptyStates.d.ts.map +1 -1
- package/dist/routes/memories/components/EmptyStates.js +2 -2
- package/dist/routes/memories/components/MemoriesPanel.d.ts +1 -1
- package/dist/routes/memories/components/MemoriesPanel.d.ts.map +1 -1
- package/dist/routes/memories/components/MemoriesPanel.js +9 -9
- package/dist/routes/memories/components/MemoryActions.d.ts +1 -1
- package/dist/routes/memories/components/MemoryActions.d.ts.map +1 -1
- package/dist/routes/memories/components/MemoryActions.js +4 -4
- package/dist/routes/memories/components/MemoryFields.d.ts +1 -1
- package/dist/routes/memories/components/MemoryFields.d.ts.map +1 -1
- package/dist/routes/memories/components/MemoryFields.js +2 -2
- package/dist/routes/memories/components/MemoryFormDialog.d.ts +1 -1
- package/dist/routes/memories/components/MemoryFormDialog.d.ts.map +1 -1
- package/dist/routes/memories/components/MemoryFormDialog.js +2 -2
- package/dist/routes/memories/components/TeamPicker.d.ts +1 -1
- package/dist/routes/memories/components/TeamPicker.d.ts.map +1 -1
- package/dist/routes/memories/components/TeamPicker.js +2 -2
- package/dist/routes/memories/hooks/useMemoryColumns.d.ts +1 -1
- package/dist/routes/memories/hooks/useMemoryColumns.d.ts.map +1 -1
- package/dist/routes/memories/hooks/useMemoryColumns.js +3 -3
- package/dist/routes/memories/index.d.ts.map +1 -1
- package/dist/routes/memories/index.js +21 -21
- 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 +8 -10
- 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,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
|
-
}
|