@elevasis/ui 2.45.2 → 2.46.0
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/dist/api/index.js +3 -3
- package/dist/app/index.d.ts +2 -2
- package/dist/app/index.js +3 -3
- package/dist/auth/index.js +3 -3
- package/dist/charts/index.js +3 -3
- package/dist/{chunk-HQPJ6TGV.js → chunk-CDZB24OR.js} +6 -9
- package/dist/{chunk-L4RIHGPO.js → chunk-OFLWSKSC.js} +1 -1
- package/dist/{chunk-FLQKWUSH.js → chunk-REPITZKU.js} +452 -37
- package/dist/{chunk-SDUMVYGI.js → chunk-SOGPJFO6.js} +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +3 -3
- package/dist/components/navigation/index.js +3 -3
- package/dist/features/auth/index.js +4 -4
- package/dist/features/clients/index.js +3 -3
- package/dist/features/crm/index.js +3 -3
- package/dist/features/dashboard/index.d.ts +1 -1
- package/dist/features/dashboard/index.js +3 -3
- package/dist/features/delivery/index.js +3 -3
- package/dist/features/knowledge/index.js +3 -3
- package/dist/features/lead-gen/index.d.ts +2 -2
- package/dist/features/lead-gen/index.js +3 -3
- package/dist/features/monitoring/index.js +3 -3
- package/dist/features/monitoring/requests/index.js +4 -4
- package/dist/features/operations/index.d.ts +2 -2
- package/dist/features/operations/index.js +3 -3
- package/dist/features/settings/index.js +3 -3
- package/dist/hooks/access/index.js +3 -3
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +3 -3
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +1 -1
- package/dist/hooks/published.d.ts +1 -1
- package/dist/hooks/published.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/knowledge/index.d.ts +3 -3
- package/dist/knowledge/index.js +282 -59
- package/dist/layout/index.js +3 -3
- package/dist/organization/index.js +3 -3
- package/dist/provider/index.d.ts +2 -2
- package/dist/provider/index.js +3 -3
- package/dist/provider/published.d.ts +2 -2
- package/dist/provider/published.js +3 -3
- package/dist/test-utils/index.js +3 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +3 -3
package/dist/knowledge/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SemanticIcon, getKnowledgeIconToken, PageContainer, getKnowledgeGraphNodeCommand, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, SurfaceDefinitionSchema, RoleSchema, PolicySchema, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-
|
|
2
|
-
export { KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, SemanticIcon, extendSemanticIconRegistry, findOmTreeGroup, getKnowledgeIconToken, getSemanticIconComponent, getSharedOrganizationGraph, resolveSemanticIconComponent } from '../chunk-
|
|
1
|
+
import { getConceptDefinition, normaliseConceptKey, SemanticIcon, getKnowledgeIconToken, PageContainer, getKnowledgeGraphNodeCommand, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, SurfaceDefinitionSchema, RoleSchema, PolicySchema, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-REPITZKU.js';
|
|
2
|
+
export { KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, SemanticIcon, extendSemanticIconRegistry, findOmTreeGroup, getKnowledgeIconToken, getSemanticIconComponent, getSharedOrganizationGraph, resolveSemanticIconComponent } from '../chunk-REPITZKU.js';
|
|
3
3
|
import { usePresetsContext } from '../chunk-NZ2F5RQ4.js';
|
|
4
4
|
import '../chunk-OJJK27GC.js';
|
|
5
5
|
import '../chunk-AUDNF2Q7.js';
|
|
@@ -10,7 +10,7 @@ import '../chunk-SJHM4WDG.js';
|
|
|
10
10
|
import '../chunk-ZTWA5H77.js';
|
|
11
11
|
import '../chunk-S3XR4II4.js';
|
|
12
12
|
import '../chunk-6DO4PE3O.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-OFLWSKSC.js';
|
|
14
14
|
import '../chunk-DD3CCMCZ.js';
|
|
15
15
|
import '../chunk-GMXGDO3I.js';
|
|
16
16
|
import '../chunk-2IFYDILW.js';
|
|
@@ -19,7 +19,7 @@ import '../chunk-HENXLGVD.js';
|
|
|
19
19
|
import '../chunk-7FPLLSHN.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../chunk-W2SFTXMT.js';
|
|
22
|
-
import { getSystem, SystemEntrySchema, EntitySchema, ActionSchema, OntologyIdSchema, ontologyGraphNodeId, compileOrganizationOntology, parseOntologyId } from '../chunk-
|
|
22
|
+
import { getSystem, SystemEntrySchema, EntitySchema, ActionSchema, OntologyIdSchema, ontologyGraphNodeId, compileOrganizationOntology, parseOntologyId } from '../chunk-CDZB24OR.js';
|
|
23
23
|
import '../chunk-KRWALB24.js';
|
|
24
24
|
import '../chunk-2FTX4WO2.js';
|
|
25
25
|
import '../chunk-MQZE7SUI.js';
|
|
@@ -27,7 +27,7 @@ import '../chunk-TVTSASST.js';
|
|
|
27
27
|
import '../chunk-BRJ3QZ4E.js';
|
|
28
28
|
import '../chunk-I2KLQ2HA.js';
|
|
29
29
|
import { createContext, Children, isValidElement, cloneElement, useMemo, useContext, useRef, useState, useEffect } from 'react';
|
|
30
|
-
import { Card, Text, SimpleGrid, Group, Stack, Alert, Tabs, Box, Table, CopyButton, Tooltip, ActionIcon, Title, Badge, Divider, Button, Paper, TableOfContents, ThemeIcon, UnstyledButton, List, Code, Progress, Loader } from '@mantine/core';
|
|
30
|
+
import { Card, Text, SimpleGrid, Group, Stack, Alert, Tabs, Box, Table, CopyButton, Tooltip, ActionIcon, Title, Badge, Divider, Button, Paper, TableOfContents, ThemeIcon, UnstyledButton, List, Code, Progress, Loader, Spoiler } from '@mantine/core';
|
|
31
31
|
import { IconBook, IconCheck, IconCopy, IconExternalLink, IconCircleX, IconAlertTriangle, IconInfoCircle } from '@tabler/icons-react';
|
|
32
32
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
33
33
|
import { Highlight, themes } from 'prism-react-renderer';
|
|
@@ -6897,6 +6897,19 @@ function useKnowledgeAllowlist() {
|
|
|
6897
6897
|
}
|
|
6898
6898
|
return ctx;
|
|
6899
6899
|
}
|
|
6900
|
+
function ConceptTooltip({ conceptKey, variant = "chip", children }) {
|
|
6901
|
+
const definition = getConceptDefinition(conceptKey);
|
|
6902
|
+
if (!definition) {
|
|
6903
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
6904
|
+
}
|
|
6905
|
+
if (variant === "label") {
|
|
6906
|
+
return /* @__PURE__ */ jsxs(Group, { gap: 4, wrap: "nowrap", align: "center", style: { display: "inline-flex" }, children: [
|
|
6907
|
+
children,
|
|
6908
|
+
/* @__PURE__ */ jsx(Tooltip, { label: definition.description, withArrow: true, multiline: true, maw: 260, children: /* @__PURE__ */ jsx(IconInfoCircle, { size: 12, style: { color: "var(--color-text-subtle)", cursor: "help", flexShrink: 0 } }) })
|
|
6909
|
+
] });
|
|
6910
|
+
}
|
|
6911
|
+
return /* @__PURE__ */ jsx(Tooltip, { label: definition.description, withArrow: true, multiline: true, maw: 260, children: /* @__PURE__ */ jsx("span", { style: { cursor: "help", display: "inline-flex", width: "fit-content" }, children }) });
|
|
6912
|
+
}
|
|
6900
6913
|
var KIND_CHIP_TONE_STYLES = {
|
|
6901
6914
|
subtle: {
|
|
6902
6915
|
backgroundColor: "var(--color-surface-hover)",
|
|
@@ -6915,7 +6928,7 @@ var KIND_CHIP_TONE_STYLES = {
|
|
|
6915
6928
|
}
|
|
6916
6929
|
};
|
|
6917
6930
|
function KindChip({ kind, tone = "subtle", style, ...spanProps }) {
|
|
6918
|
-
|
|
6931
|
+
const chip = /* @__PURE__ */ jsx(
|
|
6919
6932
|
"span",
|
|
6920
6933
|
{
|
|
6921
6934
|
...spanProps,
|
|
@@ -6942,6 +6955,9 @@ function KindChip({ kind, tone = "subtle", style, ...spanProps }) {
|
|
|
6942
6955
|
children: kind
|
|
6943
6956
|
}
|
|
6944
6957
|
);
|
|
6958
|
+
const hasDefinition = Boolean(getConceptDefinition(normaliseConceptKey(kind)));
|
|
6959
|
+
if (!hasDefinition) return chip;
|
|
6960
|
+
return /* @__PURE__ */ jsx(ConceptTooltip, { conceptKey: kind, variant: "chip", children: chip });
|
|
6945
6961
|
}
|
|
6946
6962
|
function NodeHeader({
|
|
6947
6963
|
title,
|
|
@@ -6996,7 +7012,7 @@ function EdgeChip({ id, onClick }) {
|
|
|
6996
7012
|
}
|
|
6997
7013
|
function EdgeGroup({ label, ids, onNavigateToNode }) {
|
|
6998
7014
|
return /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
6999
|
-
/* @__PURE__ */ jsx(Text, { size: "xs", fw: 500, style: { color: "var(--color-text-subtle)" }, children: label }),
|
|
7015
|
+
/* @__PURE__ */ jsx(Text, { component: "span", size: "xs", fw: 500, style: { color: "var(--color-text-subtle)", display: "block" }, children: /* @__PURE__ */ jsx(ConceptTooltip, { conceptKey: label, variant: "label", children: label }) }),
|
|
7000
7016
|
ids.map((id) => /* @__PURE__ */ jsx(EdgeChip, { id, onClick: onNavigateToNode ? () => onNavigateToNode(id) : void 0 }, id))
|
|
7001
7017
|
] });
|
|
7002
7018
|
}
|
|
@@ -7789,7 +7805,7 @@ function SystemDescribeView({
|
|
|
7789
7805
|
const ontologyObjectIds = getPrimaryOntologyNodeIds(systemSourceId, organizationModel, "ontology-objects") ?? getContainedOntologyNodeIds(node, graph, "object");
|
|
7790
7806
|
const ontologyActionIds = getPrimaryOntologyNodeIds(systemSourceId, organizationModel, "ontology-actions") ?? getContainedOntologyNodeIds(node, graph, "action");
|
|
7791
7807
|
const ontologyCatalogIds = getPrimaryOntologyNodeIds(systemSourceId, organizationModel, "ontology-catalogs") ?? getContainedOntologyNodeIds(node, graph, "catalog");
|
|
7792
|
-
const
|
|
7808
|
+
const ontologyEndpointIds = getPrimaryOntologyNodeIds(systemSourceId, organizationModel, "ontology-endpoints") ?? getContainedOntologyNodeIds(node, graph, "endpoint");
|
|
7793
7809
|
const uiIcon = system?.ui?.icon ?? system?.icon;
|
|
7794
7810
|
const uiPath = system?.ui?.path ?? system?.path;
|
|
7795
7811
|
const uiSurfaces = system?.ui?.surfaces;
|
|
@@ -7906,11 +7922,11 @@ function SystemDescribeView({
|
|
|
7906
7922
|
onNavigateToNode
|
|
7907
7923
|
}
|
|
7908
7924
|
),
|
|
7909
|
-
|
|
7925
|
+
ontologyEndpointIds.length > 0 && /* @__PURE__ */ jsx(
|
|
7910
7926
|
EdgeGroup,
|
|
7911
7927
|
{
|
|
7912
|
-
label: `Ontology
|
|
7913
|
-
ids:
|
|
7928
|
+
label: `Ontology endpoints (${ontologyEndpointIds.length})`,
|
|
7929
|
+
ids: ontologyEndpointIds,
|
|
7914
7930
|
onNavigateToNode
|
|
7915
7931
|
}
|
|
7916
7932
|
),
|
|
@@ -8897,6 +8913,19 @@ function formatValue(value) {
|
|
|
8897
8913
|
}
|
|
8898
8914
|
return JSON.stringify(value, null, 2);
|
|
8899
8915
|
}
|
|
8916
|
+
function RecordSection({ title, record }) {
|
|
8917
|
+
if (!record) return null;
|
|
8918
|
+
const entries = Object.entries(record).filter(([, value]) => value !== void 0 && value !== null && value !== "");
|
|
8919
|
+
if (entries.length === 0) return null;
|
|
8920
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8921
|
+
/* @__PURE__ */ jsx(Divider, {}),
|
|
8922
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "dimmed", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: title }),
|
|
8923
|
+
/* @__PURE__ */ jsx(Stack, { gap: "xs", children: entries.map(([key, value]) => /* @__PURE__ */ jsxs("div", { style: { display: "flex", gap: 8 }, children: [
|
|
8924
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, c: "dimmed", style: { minWidth: 140, flexShrink: 0 }, children: key }),
|
|
8925
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", style: { flex: 1, whiteSpace: "pre-wrap", wordBreak: "break-word" }, children: formatValue(value) })
|
|
8926
|
+
] }, key)) })
|
|
8927
|
+
] });
|
|
8928
|
+
}
|
|
8900
8929
|
function AdditionalProperties({ domain, knownKeys }) {
|
|
8901
8930
|
const knownSet = new Set(knownKeys);
|
|
8902
8931
|
const extras = Object.entries(domain).filter(
|
|
@@ -9076,10 +9105,158 @@ function ThemeSwatchRow({ tokens }) {
|
|
|
9076
9105
|
/* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", ta: "center", children: label })
|
|
9077
9106
|
] }, label)) });
|
|
9078
9107
|
}
|
|
9108
|
+
var IDENTITY_KNOWN_KEYS = [
|
|
9109
|
+
"organizationName",
|
|
9110
|
+
"shortName",
|
|
9111
|
+
"clientBrief",
|
|
9112
|
+
"geographicFocus",
|
|
9113
|
+
"timeZone"
|
|
9114
|
+
];
|
|
9115
|
+
var BRANDING_KNOWN_KEYS2 = ["voice", "tagline", "values", "palette", "typography"];
|
|
9116
|
+
var PROMPTS_KNOWN_KEYS = ["defaultContext"];
|
|
9079
9117
|
function formatLabel(value) {
|
|
9080
9118
|
return value.split(/[-_]/).filter(Boolean).map((part) => part.charAt(0).toUpperCase() + part.slice(1)).join(" ");
|
|
9081
9119
|
}
|
|
9082
|
-
function
|
|
9120
|
+
function ClientDetail({ client, onNavigateToNode }) {
|
|
9121
|
+
const identity = client.identity;
|
|
9122
|
+
const branding = client.branding;
|
|
9123
|
+
const prompts = client.prompts;
|
|
9124
|
+
const links = client.links;
|
|
9125
|
+
const brandingRecord = branding;
|
|
9126
|
+
const palette = brandingRecord["palette"];
|
|
9127
|
+
const typography = brandingRecord["typography"];
|
|
9128
|
+
const hasBrandingSection = branding.tagline || branding.voice || branding.values && branding.values.length > 0 || palette || typography;
|
|
9129
|
+
const hasLinksSection = links.projectIds && links.projectIds.length > 0 || links.primaryCompanyId || links.primaryContactId || links.sourceDealId;
|
|
9130
|
+
return /* @__PURE__ */ jsxs(Stack, { p: "md", gap: "md", children: [
|
|
9131
|
+
/* @__PURE__ */ jsx(
|
|
9132
|
+
KnowledgePageHeader,
|
|
9133
|
+
{
|
|
9134
|
+
title: client.name,
|
|
9135
|
+
kind: "Client",
|
|
9136
|
+
tone: "subtle",
|
|
9137
|
+
copyCommand: getKnowledgeDomainFolderCommand("clients")
|
|
9138
|
+
}
|
|
9139
|
+
),
|
|
9140
|
+
/* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "wrap", children: [
|
|
9141
|
+
/* @__PURE__ */ jsx(Badge, { variant: "light", size: "sm", children: formatLabel(client.status) }),
|
|
9142
|
+
client.source ? /* @__PURE__ */ jsx(Badge, { variant: "outline", size: "sm", children: formatLabel(client.source) }) : null,
|
|
9143
|
+
/* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: client.slug })
|
|
9144
|
+
] }),
|
|
9145
|
+
/* @__PURE__ */ jsx(Divider, {}),
|
|
9146
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "dimmed", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: "Identity" }),
|
|
9147
|
+
/* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
|
|
9148
|
+
identity.organizationName ? /* @__PURE__ */ jsx(FieldRow, { label: "Organization", value: identity.organizationName }) : null,
|
|
9149
|
+
identity.shortName ? /* @__PURE__ */ jsx(FieldRow, { label: "Short Name", value: identity.shortName }) : null,
|
|
9150
|
+
identity.geographicFocus && identity.geographicFocus.length > 0 ? /* @__PURE__ */ jsx(FieldRow, { label: "Geographic Focus", value: identity.geographicFocus.join(", ") }) : null,
|
|
9151
|
+
identity.timeZone && identity.timeZone !== "UTC" ? /* @__PURE__ */ jsx(FieldRow, { label: "Time Zone", value: identity.timeZone }) : null,
|
|
9152
|
+
identity.clientBrief ? /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
9153
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, c: "dimmed", children: "Brief" }),
|
|
9154
|
+
/* @__PURE__ */ jsx(Card, { withBorder: true, padding: "sm", style: { background: "var(--color-surface)" }, children: /* @__PURE__ */ jsx(Text, { size: "sm", style: { whiteSpace: "pre-wrap", lineHeight: 1.6 }, children: identity.clientBrief }) })
|
|
9155
|
+
] }) : null
|
|
9156
|
+
] }),
|
|
9157
|
+
/* @__PURE__ */ jsx(AdditionalProperties, { domain: identity, knownKeys: IDENTITY_KNOWN_KEYS }),
|
|
9158
|
+
hasBrandingSection ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9159
|
+
/* @__PURE__ */ jsx(Divider, {}),
|
|
9160
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "dimmed", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: "Branding" }),
|
|
9161
|
+
/* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
|
|
9162
|
+
branding.tagline ? /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
9163
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, c: "dimmed", children: "Tagline" }),
|
|
9164
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", children: branding.tagline })
|
|
9165
|
+
] }) : null,
|
|
9166
|
+
branding.voice ? /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
9167
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, c: "dimmed", children: "Voice" }),
|
|
9168
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", children: branding.voice })
|
|
9169
|
+
] }) : null,
|
|
9170
|
+
branding.values && branding.values.length > 0 ? /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
9171
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, c: "dimmed", children: "Values" }),
|
|
9172
|
+
/* @__PURE__ */ jsx(Group, { gap: "xs", wrap: "wrap", children: branding.values.map((v) => /* @__PURE__ */ jsx(Badge, { variant: "light", size: "sm", children: v }, v)) })
|
|
9173
|
+
] }) : null,
|
|
9174
|
+
palette ? /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
9175
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, c: "dimmed", children: "Palette" }),
|
|
9176
|
+
/* @__PURE__ */ jsx(PaletteSwatches, { palette })
|
|
9177
|
+
] }) : null,
|
|
9178
|
+
typography ? /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
9179
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, c: "dimmed", children: "Typography" }),
|
|
9180
|
+
/* @__PURE__ */ jsx(TypographyRows, { typography })
|
|
9181
|
+
] }) : null
|
|
9182
|
+
] }),
|
|
9183
|
+
/* @__PURE__ */ jsx(AdditionalProperties, { domain: brandingRecord, knownKeys: BRANDING_KNOWN_KEYS2 })
|
|
9184
|
+
] }) : null,
|
|
9185
|
+
prompts.defaultContext ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9186
|
+
/* @__PURE__ */ jsx(Divider, {}),
|
|
9187
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "dimmed", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: "Prompts" }),
|
|
9188
|
+
/* @__PURE__ */ jsx(Spoiler, { maxHeight: 200, showLabel: "Show more", hideLabel: "Show less", children: /* @__PURE__ */ jsx(Text, { size: "sm", style: { whiteSpace: "pre-wrap", lineHeight: 1.6 }, children: prompts.defaultContext }) }),
|
|
9189
|
+
/* @__PURE__ */ jsx(AdditionalProperties, { domain: prompts, knownKeys: PROMPTS_KNOWN_KEYS })
|
|
9190
|
+
] }) : null,
|
|
9191
|
+
hasLinksSection ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9192
|
+
/* @__PURE__ */ jsx(Divider, {}),
|
|
9193
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "dimmed", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: "Links" }),
|
|
9194
|
+
/* @__PURE__ */ jsxs(Stack, { gap: "sm", children: [
|
|
9195
|
+
links.projectIds && links.projectIds.length > 0 ? /* @__PURE__ */ jsx(
|
|
9196
|
+
EdgeGroup,
|
|
9197
|
+
{
|
|
9198
|
+
label: `Project IDs (${links.projectIds.length})`,
|
|
9199
|
+
ids: links.projectIds,
|
|
9200
|
+
onNavigateToNode
|
|
9201
|
+
}
|
|
9202
|
+
) : null,
|
|
9203
|
+
links.primaryCompanyId ? /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
9204
|
+
/* @__PURE__ */ jsx(Text, { size: "xs", fw: 500, style: { color: "var(--color-text-subtle)" }, children: "Primary Company" }),
|
|
9205
|
+
/* @__PURE__ */ jsx(
|
|
9206
|
+
EdgeChip,
|
|
9207
|
+
{
|
|
9208
|
+
id: links.primaryCompanyId,
|
|
9209
|
+
onClick: onNavigateToNode ? () => onNavigateToNode(links.primaryCompanyId) : void 0
|
|
9210
|
+
}
|
|
9211
|
+
)
|
|
9212
|
+
] }) : null,
|
|
9213
|
+
links.primaryContactId ? /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
9214
|
+
/* @__PURE__ */ jsx(Text, { size: "xs", fw: 500, style: { color: "var(--color-text-subtle)" }, children: "Primary Contact" }),
|
|
9215
|
+
/* @__PURE__ */ jsx(
|
|
9216
|
+
EdgeChip,
|
|
9217
|
+
{
|
|
9218
|
+
id: links.primaryContactId,
|
|
9219
|
+
onClick: onNavigateToNode ? () => onNavigateToNode(links.primaryContactId) : void 0
|
|
9220
|
+
}
|
|
9221
|
+
)
|
|
9222
|
+
] }) : null,
|
|
9223
|
+
links.sourceDealId ? /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
9224
|
+
/* @__PURE__ */ jsx(Text, { size: "xs", fw: 500, style: { color: "var(--color-text-subtle)" }, children: "Source Deal" }),
|
|
9225
|
+
/* @__PURE__ */ jsx(
|
|
9226
|
+
EdgeChip,
|
|
9227
|
+
{
|
|
9228
|
+
id: links.sourceDealId,
|
|
9229
|
+
onClick: onNavigateToNode ? () => onNavigateToNode(links.sourceDealId) : void 0
|
|
9230
|
+
}
|
|
9231
|
+
)
|
|
9232
|
+
] }) : null
|
|
9233
|
+
] })
|
|
9234
|
+
] }) : null,
|
|
9235
|
+
/* @__PURE__ */ jsx(RecordSection, { title: "Config", record: client.config }),
|
|
9236
|
+
/* @__PURE__ */ jsx(RecordSection, { title: "Custom Values", record: client.customValues })
|
|
9237
|
+
] });
|
|
9238
|
+
}
|
|
9239
|
+
function ClientSummaryCard({ client }) {
|
|
9240
|
+
return /* @__PURE__ */ jsx(Card, { withBorder: true, padding: "md", style: { background: "var(--color-surface)" }, children: /* @__PURE__ */ jsxs(Stack, { gap: "sm", children: [
|
|
9241
|
+
/* @__PURE__ */ jsxs(Group, { gap: "xs", justify: "space-between", wrap: "nowrap", children: [
|
|
9242
|
+
/* @__PURE__ */ jsxs(Stack, { gap: 2, style: { minWidth: 0 }, children: [
|
|
9243
|
+
/* @__PURE__ */ jsx(Text, { fw: 600, size: "sm", lineClamp: 1, children: client.name }),
|
|
9244
|
+
/* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", lineClamp: 1, children: client.slug })
|
|
9245
|
+
] }),
|
|
9246
|
+
/* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "nowrap", style: { flexShrink: 0 }, children: [
|
|
9247
|
+
/* @__PURE__ */ jsx(Badge, { variant: "light", size: "sm", children: formatLabel(client.status) }),
|
|
9248
|
+
client.source ? /* @__PURE__ */ jsx(Badge, { variant: "outline", size: "sm", children: formatLabel(client.source) }) : null
|
|
9249
|
+
] })
|
|
9250
|
+
] }),
|
|
9251
|
+
client.identity.clientBrief ? /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: client.identity.clientBrief }) : null,
|
|
9252
|
+
/* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "wrap", children: [
|
|
9253
|
+
client.workspace.kind ? /* @__PURE__ */ jsx(Badge, { variant: "light", color: "gray", size: "sm", children: formatLabel(client.workspace.kind) }) : null,
|
|
9254
|
+
client.workspace.owner ? /* @__PURE__ */ jsx(Badge, { variant: "light", color: "gray", size: "sm", children: formatLabel(client.workspace.owner) }) : null,
|
|
9255
|
+
client.workspace.projectId ? /* @__PURE__ */ jsx(Badge, { variant: "light", color: "gray", size: "sm", children: client.workspace.projectId }) : null
|
|
9256
|
+
] })
|
|
9257
|
+
] }) }, client.id);
|
|
9258
|
+
}
|
|
9259
|
+
function ClientsPanel({ model, filterToItemId, onNavigateToNode }) {
|
|
9083
9260
|
const clients = Object.values(model.clients).filter((client) => !filterToItemId || client.id === filterToItemId).sort((left, right) => left.slug.localeCompare(right.slug));
|
|
9084
9261
|
if (clients.length === 0) {
|
|
9085
9262
|
return /* @__PURE__ */ jsxs(Stack, { p: "md", gap: "sm", children: [
|
|
@@ -9095,6 +9272,9 @@ function ClientsPanel({ model, filterToItemId }) {
|
|
|
9095
9272
|
/* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: filterToItemId ? "Client profile not found." : "No client profiles defined yet." })
|
|
9096
9273
|
] });
|
|
9097
9274
|
}
|
|
9275
|
+
if (filterToItemId) {
|
|
9276
|
+
return /* @__PURE__ */ jsx(ClientDetail, { client: clients[0], onNavigateToNode });
|
|
9277
|
+
}
|
|
9098
9278
|
return /* @__PURE__ */ jsxs(Stack, { p: "md", gap: "md", children: [
|
|
9099
9279
|
/* @__PURE__ */ jsx(
|
|
9100
9280
|
KnowledgePageHeader,
|
|
@@ -9112,26 +9292,43 @@ function ClientsPanel({ model, filterToItemId }) {
|
|
|
9112
9292
|
" defined."
|
|
9113
9293
|
] }),
|
|
9114
9294
|
/* @__PURE__ */ jsx(Divider, {}),
|
|
9115
|
-
/* @__PURE__ */ jsx(Stack, { gap: "md", children: clients.map((client) => /* @__PURE__ */ jsx(
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
9121
|
-
|
|
9122
|
-
/* @__PURE__ */ jsx(Badge, { variant: "light", size: "sm", children: formatLabel(client.status) }),
|
|
9123
|
-
client.source ? /* @__PURE__ */ jsx(Badge, { variant: "outline", size: "sm", children: formatLabel(client.source) }) : null
|
|
9124
|
-
] })
|
|
9125
|
-
] }),
|
|
9126
|
-
client.identity.clientBrief ? /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: client.identity.clientBrief }) : null,
|
|
9127
|
-
/* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "wrap", children: [
|
|
9128
|
-
client.workspace.kind ? /* @__PURE__ */ jsx(Badge, { variant: "light", color: "gray", size: "sm", children: formatLabel(client.workspace.kind) }) : null,
|
|
9129
|
-
client.workspace.owner ? /* @__PURE__ */ jsx(Badge, { variant: "light", color: "gray", size: "sm", children: formatLabel(client.workspace.owner) }) : null,
|
|
9130
|
-
client.workspace.projectId ? /* @__PURE__ */ jsx(Badge, { variant: "light", color: "gray", size: "sm", children: client.workspace.projectId }) : null
|
|
9131
|
-
] })
|
|
9132
|
-
] }) }, client.id)) })
|
|
9295
|
+
/* @__PURE__ */ jsx(Stack, { gap: "md", children: clients.map((client) => /* @__PURE__ */ jsx(ClientSummaryCard, { client }, client.id)) })
|
|
9296
|
+
] });
|
|
9297
|
+
}
|
|
9298
|
+
function FieldRow({ label, value }) {
|
|
9299
|
+
return /* @__PURE__ */ jsxs("div", { style: { display: "flex", gap: 8 }, children: [
|
|
9300
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, c: "dimmed", style: { minWidth: 140, flexShrink: 0 }, children: label }),
|
|
9301
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", children: value })
|
|
9133
9302
|
] });
|
|
9134
9303
|
}
|
|
9304
|
+
function PaletteSwatches({ palette }) {
|
|
9305
|
+
const entries = Object.entries(palette).filter(([, v]) => typeof v === "string" && v.trim().length > 0);
|
|
9306
|
+
if (entries.length === 0) return null;
|
|
9307
|
+
return /* @__PURE__ */ jsx(Group, { gap: "sm", wrap: "wrap", children: entries.map(([name, color]) => /* @__PURE__ */ jsxs(Stack, { gap: 4, align: "center", style: { minWidth: 56 }, children: [
|
|
9308
|
+
/* @__PURE__ */ jsx(
|
|
9309
|
+
"div",
|
|
9310
|
+
{
|
|
9311
|
+
style: {
|
|
9312
|
+
width: 32,
|
|
9313
|
+
height: 32,
|
|
9314
|
+
borderRadius: 6,
|
|
9315
|
+
backgroundColor: color,
|
|
9316
|
+
border: "1px solid var(--color-border, rgba(0,0,0,0.12))"
|
|
9317
|
+
},
|
|
9318
|
+
title: color
|
|
9319
|
+
}
|
|
9320
|
+
),
|
|
9321
|
+
/* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", ta: "center", children: name })
|
|
9322
|
+
] }, name)) });
|
|
9323
|
+
}
|
|
9324
|
+
function TypographyRows({ typography }) {
|
|
9325
|
+
const entries = Object.entries(typography).filter(([, v]) => typeof v === "string" && v.trim().length > 0);
|
|
9326
|
+
if (entries.length === 0) return null;
|
|
9327
|
+
return /* @__PURE__ */ jsx(Stack, { gap: "xs", children: entries.map(([name, fontValue]) => /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
|
|
9328
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, c: "dimmed", style: { minWidth: 140 }, children: name }),
|
|
9329
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", style: { fontFamily: fontValue }, children: fontValue })
|
|
9330
|
+
] }, name)) });
|
|
9331
|
+
}
|
|
9135
9332
|
function CustomersPanel({ model, filterToItemId }) {
|
|
9136
9333
|
const customers = model.customers;
|
|
9137
9334
|
const segments = Object.values(customers).filter((segment) => !filterToItemId || segment.id === filterToItemId).sort((a, b) => a.order - b.order);
|
|
@@ -9276,7 +9473,7 @@ function GoalsPanel({ model, filterToItemId }) {
|
|
|
9276
9473
|
] });
|
|
9277
9474
|
}
|
|
9278
9475
|
var DAYS_OF_WEEK = ["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"];
|
|
9279
|
-
var
|
|
9476
|
+
var IDENTITY_KNOWN_KEYS2 = [
|
|
9280
9477
|
"organizationName",
|
|
9281
9478
|
"productName",
|
|
9282
9479
|
"shortName",
|
|
@@ -9295,7 +9492,7 @@ var IDENTITY_KNOWN_KEYS = [
|
|
|
9295
9492
|
function capitalize(s) {
|
|
9296
9493
|
return s.charAt(0).toUpperCase() + s.slice(1);
|
|
9297
9494
|
}
|
|
9298
|
-
function
|
|
9495
|
+
function FieldRow2({ label, value }) {
|
|
9299
9496
|
return /* @__PURE__ */ jsxs("div", { style: { display: "flex", gap: 8 }, children: [
|
|
9300
9497
|
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, c: "dimmed", style: { minWidth: 140, flexShrink: 0 }, children: label }),
|
|
9301
9498
|
/* @__PURE__ */ jsx(Text, { size: "sm", children: value })
|
|
@@ -9321,7 +9518,7 @@ function IdentityPanel({ model }) {
|
|
|
9321
9518
|
}
|
|
9322
9519
|
),
|
|
9323
9520
|
/* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: "No identity configured." }),
|
|
9324
|
-
/* @__PURE__ */ jsx(AdditionalProperties, { domain: identity, knownKeys:
|
|
9521
|
+
/* @__PURE__ */ jsx(AdditionalProperties, { domain: identity, knownKeys: IDENTITY_KNOWN_KEYS2 })
|
|
9325
9522
|
] });
|
|
9326
9523
|
}
|
|
9327
9524
|
const businessHoursRows = DAYS_OF_WEEK.map((day) => {
|
|
@@ -9343,10 +9540,10 @@ function IdentityPanel({ model }) {
|
|
|
9343
9540
|
(organizationName || productName || shortName || description) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9344
9541
|
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "dimmed", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: "Naming" }),
|
|
9345
9542
|
/* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
|
|
9346
|
-
organizationName && /* @__PURE__ */ jsx(
|
|
9347
|
-
productName && /* @__PURE__ */ jsx(
|
|
9348
|
-
shortName && /* @__PURE__ */ jsx(
|
|
9349
|
-
description && /* @__PURE__ */ jsx(
|
|
9543
|
+
organizationName && /* @__PURE__ */ jsx(FieldRow2, { label: "Organization Name", value: organizationName }),
|
|
9544
|
+
productName && /* @__PURE__ */ jsx(FieldRow2, { label: "Product Name", value: productName }),
|
|
9545
|
+
shortName && /* @__PURE__ */ jsx(FieldRow2, { label: "Short Name", value: shortName }),
|
|
9546
|
+
description && /* @__PURE__ */ jsx(FieldRow2, { label: "Description", value: description })
|
|
9350
9547
|
] })
|
|
9351
9548
|
] }),
|
|
9352
9549
|
/* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
|
|
@@ -9363,12 +9560,12 @@ function IdentityPanel({ model }) {
|
|
|
9363
9560
|
/* @__PURE__ */ jsx(Divider, {}),
|
|
9364
9561
|
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "dimmed", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: "Legal & Operational" }),
|
|
9365
9562
|
/* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
|
|
9366
|
-
identity.legalName && /* @__PURE__ */ jsx(
|
|
9367
|
-
identity.entityType && /* @__PURE__ */ jsx(
|
|
9368
|
-
identity.jurisdiction && /* @__PURE__ */ jsx(
|
|
9369
|
-
identity.industryCategory && /* @__PURE__ */ jsx(
|
|
9370
|
-
identity.geographicFocus && /* @__PURE__ */ jsx(
|
|
9371
|
-
identity.timeZone && /* @__PURE__ */ jsx(
|
|
9563
|
+
identity.legalName && /* @__PURE__ */ jsx(FieldRow2, { label: "Legal Name", value: identity.legalName }),
|
|
9564
|
+
identity.entityType && /* @__PURE__ */ jsx(FieldRow2, { label: "Entity Type", value: identity.entityType }),
|
|
9565
|
+
identity.jurisdiction && /* @__PURE__ */ jsx(FieldRow2, { label: "Jurisdiction", value: identity.jurisdiction }),
|
|
9566
|
+
identity.industryCategory && /* @__PURE__ */ jsx(FieldRow2, { label: "Industry", value: identity.industryCategory }),
|
|
9567
|
+
identity.geographicFocus && /* @__PURE__ */ jsx(FieldRow2, { label: "Geographic Focus", value: identity.geographicFocus }),
|
|
9568
|
+
identity.timeZone && /* @__PURE__ */ jsx(FieldRow2, { label: "Timezone", value: identity.timeZone })
|
|
9372
9569
|
] })
|
|
9373
9570
|
] }),
|
|
9374
9571
|
hasBusinessHours && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -9392,7 +9589,7 @@ function IdentityPanel({ model }) {
|
|
|
9392
9589
|
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "dimmed", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: "Client Brief" }),
|
|
9393
9590
|
/* @__PURE__ */ jsx(Card, { withBorder: true, padding: "sm", style: { background: "var(--color-surface)" }, children: /* @__PURE__ */ jsx(Text, { size: "sm", style: { whiteSpace: "pre-wrap", lineHeight: 1.6 }, children: identity.clientBrief }) })
|
|
9394
9591
|
] }),
|
|
9395
|
-
/* @__PURE__ */ jsx(AdditionalProperties, { domain: identity, knownKeys:
|
|
9592
|
+
/* @__PURE__ */ jsx(AdditionalProperties, { domain: identity, knownKeys: IDENTITY_KNOWN_KEYS2 })
|
|
9396
9593
|
] });
|
|
9397
9594
|
}
|
|
9398
9595
|
var SURFACE_TYPE_COLORS = {
|
|
@@ -9969,16 +10166,14 @@ var SOURCE_COLORS = {
|
|
|
9969
10166
|
function formatSource(source) {
|
|
9970
10167
|
return source === "legacy-bridge" ? "legacy bridge" : source;
|
|
9971
10168
|
}
|
|
9972
|
-
function OntologyStats({
|
|
9973
|
-
projection
|
|
9974
|
-
}) {
|
|
10169
|
+
function OntologyStats({ projection }) {
|
|
9975
10170
|
const primaryStats = [
|
|
9976
10171
|
"ontology-objects",
|
|
9977
10172
|
"ontology-links",
|
|
9978
10173
|
"ontology-actions",
|
|
9979
10174
|
"ontology-catalogs",
|
|
9980
10175
|
"ontology-events",
|
|
9981
|
-
"ontology-
|
|
10176
|
+
"ontology-endpoints"
|
|
9982
10177
|
];
|
|
9983
10178
|
const optionalStats = [
|
|
9984
10179
|
"ontology-interfaces",
|
|
@@ -10118,7 +10313,7 @@ function DomainPanel({
|
|
|
10118
10313
|
case "ontology-value-types":
|
|
10119
10314
|
case "ontology-properties":
|
|
10120
10315
|
case "ontology-groups":
|
|
10121
|
-
case "ontology-
|
|
10316
|
+
case "ontology-endpoints":
|
|
10122
10317
|
case "ontology-resources":
|
|
10123
10318
|
return /* @__PURE__ */ jsx(OntologyPanel, { model, domainKey, filterToItemId });
|
|
10124
10319
|
default:
|
|
@@ -10139,7 +10334,10 @@ function childSummary(child) {
|
|
|
10139
10334
|
const count = child.children?.length ?? 0;
|
|
10140
10335
|
return count > 0 ? `${count} child${count === 1 ? "" : "ren"}` : "No child nodes";
|
|
10141
10336
|
}
|
|
10142
|
-
function GroupOverviewPanel({
|
|
10337
|
+
function GroupOverviewPanel({
|
|
10338
|
+
node,
|
|
10339
|
+
onNavigateToNode
|
|
10340
|
+
}) {
|
|
10143
10341
|
const children = node.children ?? [];
|
|
10144
10342
|
const copyCommand = node.value ? getKnowledgeTreeFolderCommand(node.value) : void 0;
|
|
10145
10343
|
return /* @__PURE__ */ jsxs(Stack, { p: "md", gap: "md", children: [
|
|
@@ -10154,13 +10352,38 @@ function GroupOverviewPanel({ node }) {
|
|
|
10154
10352
|
}
|
|
10155
10353
|
),
|
|
10156
10354
|
/* @__PURE__ */ jsx(Divider, {}),
|
|
10157
|
-
children.length === 0 ? /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: "No child branches available." }) : /* @__PURE__ */ jsx(Stack, { gap: "sm", children: children.map((child) =>
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
|
|
10355
|
+
children.length === 0 ? /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: "No child branches available." }) : /* @__PURE__ */ jsx(Stack, { gap: "sm", children: children.map((child) => {
|
|
10356
|
+
const routeId = child.value;
|
|
10357
|
+
const navigable = Boolean(routeId && onNavigateToNode);
|
|
10358
|
+
const cardKey = routeId ?? child.id ?? `${child.nodeType}:${child.label}`;
|
|
10359
|
+
const cardBody = /* @__PURE__ */ jsxs(Group, { justify: "space-between", align: "start", gap: "md", wrap: "nowrap", children: [
|
|
10360
|
+
/* @__PURE__ */ jsxs(Stack, { gap: 4, style: { minWidth: 0 }, children: [
|
|
10361
|
+
/* @__PURE__ */ jsx(Text, { fw: 650, size: "sm", lineClamp: 1, children: child.label }),
|
|
10362
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", lineClamp: 2, children: childSummary(child) })
|
|
10363
|
+
] }),
|
|
10364
|
+
/* @__PURE__ */ jsx(Badge, { variant: "light", color: "gray", style: { flexShrink: 0 }, children: child.nodeType })
|
|
10365
|
+
] });
|
|
10366
|
+
if (navigable) {
|
|
10367
|
+
return /* @__PURE__ */ jsx(
|
|
10368
|
+
UnstyledButton,
|
|
10369
|
+
{
|
|
10370
|
+
role: "button",
|
|
10371
|
+
tabIndex: 0,
|
|
10372
|
+
onClick: () => onNavigateToNode(routeId),
|
|
10373
|
+
onKeyDown: (e) => {
|
|
10374
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
10375
|
+
e.preventDefault();
|
|
10376
|
+
onNavigateToNode(routeId);
|
|
10377
|
+
}
|
|
10378
|
+
},
|
|
10379
|
+
style: { cursor: "pointer", width: "100%", textAlign: "left", display: "block" },
|
|
10380
|
+
children: /* @__PURE__ */ jsx(Card, { withBorder: true, padding: "md", children: cardBody })
|
|
10381
|
+
},
|
|
10382
|
+
cardKey
|
|
10383
|
+
);
|
|
10384
|
+
}
|
|
10385
|
+
return /* @__PURE__ */ jsx(Card, { withBorder: true, padding: "md", children: cardBody }, cardKey);
|
|
10386
|
+
}) })
|
|
10164
10387
|
] });
|
|
10165
10388
|
}
|
|
10166
10389
|
function OntologyDescribeView({
|
|
@@ -10213,7 +10436,7 @@ function OntologyDescribeView({
|
|
|
10213
10436
|
}
|
|
10214
10437
|
function renderTreeSelection(node, organizationModel, onNavigateToNode) {
|
|
10215
10438
|
if (node.nodeType === "group") {
|
|
10216
|
-
return /* @__PURE__ */ jsx(GroupOverviewPanel, { node });
|
|
10439
|
+
return /* @__PURE__ */ jsx(GroupOverviewPanel, { node, onNavigateToNode });
|
|
10217
10440
|
}
|
|
10218
10441
|
if ((node.nodeType === "domain-collection" || node.nodeType === "domain") && node.domainKey) {
|
|
10219
10442
|
return /* @__PURE__ */ jsx(DomainPanel, { domainKey: node.domainKey, model: organizationModel, onNavigateToNode });
|
|
@@ -10803,7 +11026,7 @@ function DomainPanelDispatcher({
|
|
|
10803
11026
|
case "ontology-value-types":
|
|
10804
11027
|
case "ontology-properties":
|
|
10805
11028
|
case "ontology-groups":
|
|
10806
|
-
case "ontology-
|
|
11029
|
+
case "ontology-endpoints":
|
|
10807
11030
|
case "ontology-resources":
|
|
10808
11031
|
return /* @__PURE__ */ jsx(DomainPanelFrame, { children: /* @__PURE__ */ jsx(OntologyPanel, { model, domainKey, filterToItemId }) });
|
|
10809
11032
|
default:
|
package/dist/layout/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, PageContainer, Sidebar, SidebarContext, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, Topbar, TopbarActions, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-
|
|
1
|
+
export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, PageContainer, Sidebar, SidebarContext, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, Topbar, TopbarActions, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-REPITZKU.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
export { AmbientBloomGrid, AppBackground, CyberBackground, FilmGrain, FloatingMotes, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-AUDNF2Q7.js';
|
|
@@ -9,7 +9,7 @@ import '../chunk-SJHM4WDG.js';
|
|
|
9
9
|
import '../chunk-ZTWA5H77.js';
|
|
10
10
|
import '../chunk-S3XR4II4.js';
|
|
11
11
|
import '../chunk-6DO4PE3O.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-OFLWSKSC.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
export { SubshellNavItem, SubshellSidebarSection, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, subshellNavItemIconSize, topbarHeight } from '../chunk-GMXGDO3I.js';
|
|
15
15
|
import '../chunk-2IFYDILW.js';
|
|
@@ -18,7 +18,7 @@ import '../chunk-HENXLGVD.js';
|
|
|
18
18
|
import '../chunk-7FPLLSHN.js';
|
|
19
19
|
import '../chunk-RNP5R5I3.js';
|
|
20
20
|
import '../chunk-W2SFTXMT.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-CDZB24OR.js';
|
|
22
22
|
import '../chunk-KRWALB24.js';
|
|
23
23
|
import '../chunk-2FTX4WO2.js';
|
|
24
24
|
import '../chunk-MQZE7SUI.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-
|
|
1
|
+
export { OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-REPITZKU.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-AUDNF2Q7.js';
|
|
@@ -9,7 +9,7 @@ import '../chunk-SJHM4WDG.js';
|
|
|
9
9
|
import '../chunk-ZTWA5H77.js';
|
|
10
10
|
import '../chunk-S3XR4II4.js';
|
|
11
11
|
import '../chunk-6DO4PE3O.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-OFLWSKSC.js';
|
|
13
13
|
export { OrganizationContext, useOrganization } from '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-GMXGDO3I.js';
|
|
15
15
|
import '../chunk-2IFYDILW.js';
|
|
@@ -18,7 +18,7 @@ import '../chunk-HENXLGVD.js';
|
|
|
18
18
|
import '../chunk-7FPLLSHN.js';
|
|
19
19
|
import '../chunk-RNP5R5I3.js';
|
|
20
20
|
import '../chunk-W2SFTXMT.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-CDZB24OR.js';
|
|
22
22
|
import '../chunk-KRWALB24.js';
|
|
23
23
|
import '../chunk-2FTX4WO2.js';
|
|
24
24
|
import '../chunk-MQZE7SUI.js';
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -3508,7 +3508,7 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
|
|
|
3508
3508
|
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3509
3509
|
members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
|
|
3510
3510
|
}, z$1.core.$loose>>>>;
|
|
3511
|
-
|
|
3511
|
+
endpoints: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
3512
3512
|
id: z$1.ZodString;
|
|
3513
3513
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
3514
3514
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -4150,7 +4150,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4150
4150
|
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4151
4151
|
members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
|
|
4152
4152
|
}, z$1.core.$loose>>>>;
|
|
4153
|
-
|
|
4153
|
+
endpoints: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
4154
4154
|
id: z$1.ZodString;
|
|
4155
4155
|
label: z$1.ZodOptional<z$1.ZodString>;
|
|
4156
4156
|
description: z$1.ZodOptional<z$1.ZodString>;
|
package/dist/provider/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-
|
|
1
|
+
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-REPITZKU.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-AUDNF2Q7.js';
|
|
@@ -9,7 +9,7 @@ import '../chunk-SJHM4WDG.js';
|
|
|
9
9
|
import '../chunk-ZTWA5H77.js';
|
|
10
10
|
import '../chunk-S3XR4II4.js';
|
|
11
11
|
import '../chunk-6DO4PE3O.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-OFLWSKSC.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-GMXGDO3I.js';
|
|
15
15
|
import '../chunk-2IFYDILW.js';
|
|
@@ -18,7 +18,7 @@ import '../chunk-HENXLGVD.js';
|
|
|
18
18
|
import '../chunk-7FPLLSHN.js';
|
|
19
19
|
import '../chunk-RNP5R5I3.js';
|
|
20
20
|
import '../chunk-W2SFTXMT.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-CDZB24OR.js';
|
|
22
22
|
import '../chunk-KRWALB24.js';
|
|
23
23
|
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-2FTX4WO2.js';
|
|
24
24
|
import '../chunk-MQZE7SUI.js';
|