@elevasis/ui 2.32.0 → 2.33.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.
Files changed (82) hide show
  1. package/dist/app/index.js +3 -3
  2. package/dist/{chunk-GCOQ3TBG.js → chunk-2GMF5IRF.js} +2 -2
  3. package/dist/{chunk-4MFNGNHF.js → chunk-52NLZN6Z.js} +2 -2
  4. package/dist/{chunk-5FJJ72HU.js → chunk-AHCKOU2M.js} +1 -1
  5. package/dist/chunk-CLDCYJQT.js +1 -0
  6. package/dist/chunk-DWXDNT7P.js +145 -0
  7. package/dist/{chunk-5J4PDX26.js → chunk-E4T2N7P7.js} +14 -2
  8. package/dist/{chunk-RQTWIXJ5.js → chunk-E7C4XEWH.js} +1 -1
  9. package/dist/{chunk-6DWD423K.js → chunk-FFPHJBJC.js} +1 -1
  10. package/dist/{chunk-T35FWDAB.js → chunk-GNRMB6DC.js} +940 -156
  11. package/dist/{chunk-LLRXA7D7.js → chunk-IUKFNASA.js} +1 -1
  12. package/dist/{chunk-QTI3KC7D.js → chunk-JHT5JIJ3.js} +106 -43
  13. package/dist/{chunk-IQHU7O5Y.js → chunk-MHLZ4F4N.js} +1 -1
  14. package/dist/{chunk-VRNMNB3O.js → chunk-NOIRGGW2.js} +1 -1
  15. package/dist/{chunk-MOY4VOHF.js → chunk-QNOVUCSV.js} +1 -1
  16. package/dist/{chunk-4QK76KIF.js → chunk-TKF5S4XP.js} +1 -1
  17. package/dist/{chunk-ZQOKIGZP.js → chunk-UVFOURXR.js} +4 -4
  18. package/dist/{chunk-YLQEVSOR.js → chunk-UW7IV2Y3.js} +202 -54
  19. package/dist/{chunk-IZWTVFJ2.js → chunk-V6SZ4ECN.js} +6 -3
  20. package/dist/{chunk-QQHOKTJA.js → chunk-XG57WXOL.js} +39 -2
  21. package/dist/{chunk-7KZINJLP.js → chunk-XOFSMJLF.js} +4 -4
  22. package/dist/{chunk-WQPX44YM.js → chunk-YAQ25UNM.js} +668 -168
  23. package/dist/{chunk-QXCDKE2O.js → chunk-ZGTDKH3P.js} +9 -28
  24. package/dist/components/index.d.ts +111 -2
  25. package/dist/components/index.js +24 -23
  26. package/dist/components/navigation/index.js +4 -3
  27. package/dist/execution/index.d.ts +5 -1
  28. package/dist/features/clients/index.js +8 -7
  29. package/dist/features/crm/index.js +10 -9
  30. package/dist/features/dashboard/index.d.ts +110 -1
  31. package/dist/features/dashboard/index.js +9 -8
  32. package/dist/features/delivery/index.js +9 -8
  33. package/dist/features/knowledge/index.js +8 -18
  34. package/dist/features/lead-gen/index.js +10 -9
  35. package/dist/features/monitoring/index.js +10 -9
  36. package/dist/features/monitoring/requests/index.d.ts +2 -2
  37. package/dist/features/monitoring/requests/index.js +8 -7
  38. package/dist/features/operations/index.d.ts +442 -73
  39. package/dist/features/operations/index.js +13 -12
  40. package/dist/features/settings/index.js +9 -8
  41. package/dist/hooks/index.d.ts +192 -3
  42. package/dist/hooks/index.js +8 -7
  43. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +190 -1
  44. package/dist/hooks/published.d.ts +192 -3
  45. package/dist/hooks/published.js +8 -7
  46. package/dist/index.d.ts +444 -75
  47. package/dist/index.js +8 -7
  48. package/dist/knowledge/index.d.ts +490 -214
  49. package/dist/knowledge/index.js +1179 -687
  50. package/dist/knowledge-search-index-P7PR626V.js +1514 -0
  51. package/dist/layout/index.js +1 -1
  52. package/dist/provider/index.d.ts +357 -72
  53. package/dist/provider/index.js +7 -6
  54. package/dist/provider/published.d.ts +357 -72
  55. package/dist/provider/published.js +5 -4
  56. package/dist/types/index.d.ts +190 -1
  57. package/dist/utils/index.d.ts +110 -1
  58. package/package.json +39 -39
  59. package/src/README.md +29 -29
  60. package/src/api/README.md +18 -18
  61. package/src/app/README.md +24 -24
  62. package/src/auth/README.md +18 -18
  63. package/src/components/README.md +24 -24
  64. package/src/execution/README.md +16 -16
  65. package/src/features/README.md +28 -28
  66. package/src/graph/README.md +16 -16
  67. package/src/hooks/README.md +23 -23
  68. package/src/initialization/README.md +19 -19
  69. package/src/knowledge/README.md +31 -31
  70. package/src/organization/README.md +18 -18
  71. package/src/profile/README.md +19 -19
  72. package/src/provider/README.md +32 -32
  73. package/src/router/README.md +18 -18
  74. package/src/sse/README.md +13 -13
  75. package/src/test-utils/README.md +7 -7
  76. package/src/theme/README.md +23 -23
  77. package/src/theme/presets/README.md +19 -19
  78. package/src/types/README.md +16 -16
  79. package/src/utils/README.md +18 -18
  80. package/src/zustand/README.md +18 -18
  81. package/dist/chunk-UROTM5OR.js +0 -172
  82. package/dist/knowledge-search-index-5KYPO746.js +0 -1479
package/dist/app/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { ElevasisUIProvider } from '../chunk-RQTWIXJ5.js';
1
+ import { ElevasisUIProvider } from '../chunk-E7C4XEWH.js';
2
2
  import '../chunk-RQA2EVN3.js';
3
3
  import '../chunk-3FV6HBXS.js';
4
4
  import '../chunk-WLOQ4IBG.js';
5
- import '../chunk-YLQEVSOR.js';
5
+ import '../chunk-UW7IV2Y3.js';
6
6
  import '../chunk-SZHARWKU.js';
7
- import '../chunk-T35FWDAB.js';
7
+ import '../chunk-GNRMB6DC.js';
8
8
  import '../chunk-ND5TDV2J.js';
9
9
  import '../chunk-HUJCU55S.js';
10
10
  import '../chunk-E565XMTQ.js';
@@ -1,8 +1,8 @@
1
1
  import { observabilityKeys } from './chunk-VNAZTCHA.js';
2
2
  import { showApiErrorNotification, showSuccessNotification, projectKeys, noteKeys, taskKeys, milestoneKeys } from './chunk-XZGSCABI.js';
3
3
  import { useSupabase } from './chunk-BRXELOHC.js';
4
- import { useNotificationAdapter, deriveActions } from './chunk-YLQEVSOR.js';
5
- import { useOptionalElevasisSystems } from './chunk-QXCDKE2O.js';
4
+ import { useNotificationAdapter, deriveActions } from './chunk-UW7IV2Y3.js';
5
+ import { useOptionalElevasisSystems } from './chunk-ZGTDKH3P.js';
6
6
  import { HTTP_HEADERS } from './chunk-ND5TDV2J.js';
7
7
  import { ResourceTypeSchema, NonEmptyStringSchema, OriginResourceTypeSchema, UuidSchema, CredentialNameSchema, STALE_TIME_DEFAULT, REFETCH_INTERVAL_DASHBOARD, STALE_TIME_MONITORING, getTimeRangeDates, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, STALE_TIME_ADMIN, APIClientError, GC_TIME_MEDIUM, GC_TIME_SHORT } from './chunk-2RJMVWFJ.js';
8
8
  import { useStableAccessToken } from './chunk-VKIZUUPM.js';
@@ -5,11 +5,11 @@ import { PageContainer } from './chunk-BZZCNLT6.js';
5
5
  import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
6
6
  import { FilterBar } from './chunk-PDHTXPSF.js';
7
7
  import { CustomModal } from './chunk-R66W5UDG.js';
8
- import { useProjectRealtime, useTableSort, sortData, usePaginationState, useTableSelection, useProjectActivities } from './chunk-GCOQ3TBG.js';
8
+ import { useProjectRealtime, useTableSort, sortData, usePaginationState, useTableSelection, useProjectActivities } from './chunk-2GMF5IRF.js';
9
9
  import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useProject, useProjectNotes, useUpdateMilestone, useCreateNote, showApiErrorNotification, projectKeys } from './chunk-XZGSCABI.js';
10
10
  import { StatusBadge, EmptyState, PageTitleCaption, CenteredErrorState, StatCard, CardHeader } from './chunk-EPTHX4VZ.js';
11
11
  import { SubshellContentContainer } from './chunk-TKAYX2SP.js';
12
- import { PROJECTS_VIEW_ACTION_ID } from './chunk-T35FWDAB.js';
12
+ import { PROJECTS_VIEW_ACTION_ID } from './chunk-GNRMB6DC.js';
13
13
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
14
14
  import { PAGE_SIZE_DEFAULT, formatTimeAgo, formatDate, formatRelativeTime } from './chunk-2RJMVWFJ.js';
15
15
  import { useElevasisServices } from './chunk-KJ3QUBNU.js';
@@ -1,4 +1,4 @@
1
- import { ElevasisSystemsProvider } from './chunk-QXCDKE2O.js';
1
+ import { ElevasisSystemsProvider } from './chunk-ZGTDKH3P.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
 
4
4
  function createTestSystemsProvider({
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,145 @@
1
+ import { IconMail, IconSend, IconFileText, IconClock, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconShieldLock, IconActivity, IconTopologyStar3, IconApps, IconBriefcase, IconBuilding, IconBolt, IconSearch, IconChartBar, IconUsers, IconInfoCircle, IconDatabase, IconGitBranch, IconDashboard, IconBuildingStore, IconUser, IconPlug, IconBrain, IconTargetArrow, IconBook, IconLayoutGrid, IconArchive, IconSettings, IconTool, IconCalendar } from '@tabler/icons-react';
2
+ import { jsx } from 'react/jsx-runtime';
3
+
4
+ // src/icons/registry.tsx
5
+ var DEFAULT_SEMANTIC_ICON_REGISTRY = {
6
+ // Navigation / app areas
7
+ dashboard: IconDashboard,
8
+ calendar: IconCalendar,
9
+ sales: IconChartBar,
10
+ crm: IconBuildingStore,
11
+ "lead-gen": IconTargetArrow,
12
+ projects: IconBriefcase,
13
+ operations: IconTool,
14
+ monitoring: IconChartBar,
15
+ knowledge: IconBrain,
16
+ settings: IconSettings,
17
+ admin: IconShieldLock,
18
+ archive: IconArchive,
19
+ business: IconBuildingStore,
20
+ finance: IconChartBar,
21
+ platform: IconLayoutGrid,
22
+ seo: IconSearch,
23
+ // Knowledge kinds
24
+ playbook: IconBook,
25
+ strategy: IconTargetArrow,
26
+ reference: IconFileText,
27
+ // Resource kinds
28
+ agent: IconBrain,
29
+ workflow: IconGitBranch,
30
+ integration: IconPlug,
31
+ database: IconDatabase,
32
+ user: IconUser,
33
+ team: IconUsers,
34
+ // Integration specifics
35
+ gmail: IconMail,
36
+ "google-sheets": IconDatabase,
37
+ attio: IconBuildingStore,
38
+ // Surface / UI views
39
+ overview: IconDashboard,
40
+ "command-view": IconTopologyStar3,
41
+ "command-queue": IconSend,
42
+ pipeline: IconGitBranch,
43
+ lists: IconFileText,
44
+ resources: IconDatabase,
45
+ // Actions
46
+ approve: IconCheck,
47
+ reject: IconX,
48
+ retry: IconRefresh,
49
+ edit: IconEdit,
50
+ view: IconEye,
51
+ launch: IconRocket,
52
+ message: IconMessageCircle,
53
+ escalate: IconAlertTriangle,
54
+ promote: IconArrowUp,
55
+ submit: IconSend,
56
+ email: IconMail,
57
+ // Status
58
+ success: IconCheck,
59
+ error: IconX,
60
+ warning: IconAlertTriangle,
61
+ info: IconInfoCircle,
62
+ pending: IconClock,
63
+ // OM / UI group icons
64
+ bolt: IconBolt,
65
+ building: IconBuilding,
66
+ briefcase: IconBriefcase,
67
+ apps: IconApps,
68
+ graph: IconTopologyStar3,
69
+ shield: IconShieldLock,
70
+ users: IconUsers,
71
+ "chart-bar": IconChartBar,
72
+ search: IconSearch,
73
+ // UI-only om.* group tokens (not in the core enum — kept for registry lookup
74
+ // by components that reference them directly via extendSemanticIconRegistry)
75
+ "om.quick-access": IconBolt,
76
+ "om.profile": IconBuilding,
77
+ "om.business-model": IconBriefcase,
78
+ "om.systems": IconApps,
79
+ "om.graph": IconTopologyStar3,
80
+ "om.governance-wiring": IconShieldLock,
81
+ // Graph node-kind fallback tokens (used internally by knowledge-tree helpers)
82
+ "entity.record": IconActivity,
83
+ "event.lifecycle": IconActivity,
84
+ "policy.governance": IconShieldLock,
85
+ // Compatibility aliases for existing command queue payloads.
86
+ IconCheck,
87
+ IconX,
88
+ IconRefresh,
89
+ IconAlertTriangle,
90
+ IconEdit,
91
+ IconEye,
92
+ IconRocket,
93
+ IconMessageCircle,
94
+ IconArrowUp,
95
+ IconClock,
96
+ IconFileText,
97
+ IconSend,
98
+ IconMail
99
+ };
100
+ var semanticIconRegistry = { ...DEFAULT_SEMANTIC_ICON_REGISTRY };
101
+ function extendSemanticIconRegistry(overrides) {
102
+ semanticIconRegistry = { ...semanticIconRegistry, ...overrides };
103
+ }
104
+ function getSemanticIconComponent(token, fallbackToken) {
105
+ const icon = resolveSemanticIconComponent(token);
106
+ if (icon) return icon;
107
+ if (fallbackToken && semanticIconRegistry[fallbackToken]) return semanticIconRegistry[fallbackToken];
108
+ return IconInfoCircle;
109
+ }
110
+ function resolveSemanticIconComponent(token) {
111
+ if (!token) return null;
112
+ return semanticIconRegistry[token] ?? null;
113
+ }
114
+ function SemanticIcon({
115
+ token,
116
+ fallbackToken,
117
+ size = 16,
118
+ stroke = 1.8,
119
+ className,
120
+ style,
121
+ "aria-hidden": ariaHidden = true
122
+ }) {
123
+ const Icon = getSemanticIconComponent(token, fallbackToken);
124
+ return /* @__PURE__ */ jsx(
125
+ "span",
126
+ {
127
+ className,
128
+ "aria-hidden": ariaHidden,
129
+ style: {
130
+ display: "inline-flex",
131
+ alignItems: "center",
132
+ justifyContent: "center",
133
+ width: size,
134
+ height: size,
135
+ minWidth: size,
136
+ color: "currentColor",
137
+ flexShrink: 0,
138
+ ...style
139
+ },
140
+ children: /* @__PURE__ */ jsx(Icon, { size, stroke })
141
+ }
142
+ );
143
+ }
144
+
145
+ export { SemanticIcon, extendSemanticIconRegistry, getSemanticIconComponent, resolveSemanticIconComponent };
@@ -15,6 +15,7 @@ var ORGANIZATION_GRAPH_NODE_KIND_ORDER = [
15
15
  "goal",
16
16
  "surface",
17
17
  "navigation-group",
18
+ "ontology",
18
19
  "content-node"
19
20
  ];
20
21
  var ORGANIZATION_GRAPH_NODE_KIND_LABELS = {
@@ -33,6 +34,7 @@ var ORGANIZATION_GRAPH_NODE_KIND_LABELS = {
33
34
  goal: "Goal",
34
35
  surface: "Surface",
35
36
  "navigation-group": "Navigation group",
37
+ ontology: "Ontology",
36
38
  "content-node": "Content node"
37
39
  };
38
40
  var ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS = {
@@ -51,6 +53,7 @@ var ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS = {
51
53
  goal: "Goal",
52
54
  surface: "Surface",
53
55
  "navigation-group": "Navigation group",
56
+ ontology: "Ontology record",
54
57
  "content-node": "Content node"
55
58
  };
56
59
  var ORGANIZATION_GRAPH_NODE_KIND_MEANINGS = {
@@ -69,6 +72,7 @@ var ORGANIZATION_GRAPH_NODE_KIND_MEANINGS = {
69
72
  goal: "A strategic or operational objective that guides priorities and measures progress.",
70
73
  surface: "A navigation surface (page or view) that is exposed through the platform shell.",
71
74
  "navigation-group": "A logical grouping of navigation surfaces within the platform shell.",
75
+ ontology: "A compiled ontology record such as an object, action, catalog, value type, surface, or resource binding.",
72
76
  "content-node": "A system-scoped content node authored in system.content (schema, config, or tenant-defined kind)."
73
77
  };
74
78
  var ORGANIZATION_GRAPH_EDGE_KIND_LABELS = {
@@ -83,7 +87,11 @@ var ORGANIZATION_GRAPH_EDGE_KIND_LABELS = {
83
87
  originates_from: "Originates from",
84
88
  triggers: "Triggers",
85
89
  applies_to: "Applies to",
86
- effects: "Effects"
90
+ effects: "Effects",
91
+ implements: "Implements",
92
+ reads: "Reads",
93
+ writes: "Writes",
94
+ uses_catalog: "Uses catalog"
87
95
  };
88
96
  var ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS = {
89
97
  contains: "A hierarchy or ownership link inside the shared graph.",
@@ -97,7 +105,11 @@ var ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS = {
97
105
  originates_from: "The source is derived from or owned by the target origin.",
98
106
  triggers: "The source can start or activate the target.",
99
107
  applies_to: "A policy or rule targets the node it applies to.",
100
- effects: "A policy or event produces the target effect."
108
+ effects: "A policy or event produces the target effect.",
109
+ implements: "The source implements or realizes the target ontology contract.",
110
+ reads: "The source reads data described by the target ontology record.",
111
+ writes: "The source writes data described by the target ontology record.",
112
+ uses_catalog: "The source uses the target ontology catalog."
101
113
  };
102
114
  var DEFAULT_ORGANIZATION_GRAPH_FILTERS = {
103
115
  search: "",
@@ -1,7 +1,7 @@
1
1
  import { mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-RQA2EVN3.js';
2
2
  import { PRESETS, getPreset, generateShades } from './chunk-3FV6HBXS.js';
3
3
  import { AppBackground } from './chunk-WLOQ4IBG.js';
4
- import { ElevasisCoreProvider } from './chunk-YLQEVSOR.js';
4
+ import { ElevasisCoreProvider } from './chunk-UW7IV2Y3.js';
5
5
  import { ElevasisLoader } from './chunk-SZHARWKU.js';
6
6
  import { AppearanceProvider } from './chunk-E565XMTQ.js';
7
7
  import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-2RJMVWFJ.js';
@@ -1,5 +1,5 @@
1
1
  import { FeatureUnavailableState } from './chunk-EPTHX4VZ.js';
2
- import { useElevasisSystems } from './chunk-QXCDKE2O.js';
2
+ import { useElevasisSystems } from './chunk-ZGTDKH3P.js';
3
3
  import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer } from './chunk-TKAYX2SP.js';
4
4
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
5
5
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';