@elevasis/ui 2.30.0 → 2.32.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 (130) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/app/index.css +38 -0
  3. package/dist/app/index.d.ts +190 -9
  4. package/dist/app/index.js +7 -6
  5. package/dist/charts/index.js +4 -5
  6. package/dist/{chunk-HXZQWMKE.js → chunk-2RJMVWFJ.js} +1 -6
  7. package/dist/{chunk-4VQ2PXMI.js → chunk-3FV6HBXS.js} +4 -4
  8. package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
  9. package/dist/{chunk-JKTPRYGV.js → chunk-4MFNGNHF.js} +123 -192
  10. package/dist/{chunk-HYLERWRO.js → chunk-4QK76KIF.js} +7 -7
  11. package/dist/chunk-5FJJ72HU.js +13 -0
  12. package/dist/chunk-5J4PDX26.js +112 -0
  13. package/dist/{chunk-4SY6BTVZ.js → chunk-6DWD423K.js} +12 -9
  14. package/dist/{chunk-3GV5NHSS.js → chunk-7KZINJLP.js} +78 -232
  15. package/dist/{chunk-6WXDE5LZ.js → chunk-EPTHX4VZ.js} +1 -1
  16. package/dist/{chunk-6EFVZV6X.js → chunk-GCOQ3TBG.js} +243 -254
  17. package/dist/{chunk-LRZFLK2F.js → chunk-IQHU7O5Y.js} +4 -4
  18. package/dist/{chunk-X2SUMO3P.js → chunk-IZWTVFJ2.js} +16 -3
  19. package/dist/{chunk-IKQ42WHU.js → chunk-JFL3GRD4.js} +1 -1
  20. package/dist/{chunk-4FZYEEPK.js → chunk-LLRXA7D7.js} +5 -6
  21. package/dist/chunk-MOY4VOHF.js +347 -0
  22. package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
  23. package/dist/{chunk-7E3FUTND.js → chunk-ND5TDV2J.js} +1 -1
  24. package/dist/{chunk-WF227UBV.js → chunk-QQHOKTJA.js} +4 -4
  25. package/dist/{chunk-A7B7HLDF.js → chunk-QTI3KC7D.js} +5884 -515
  26. package/dist/chunk-QXCDKE2O.js +486 -0
  27. package/dist/chunk-R2XR4FCV.js +48 -0
  28. package/dist/chunk-R66W5UDG.js +26 -0
  29. package/dist/{chunk-T5Z7G2J2.js → chunk-RQA2EVN3.js} +6 -16
  30. package/dist/{chunk-SKXXT3E2.js → chunk-RQTWIXJ5.js} +4 -4
  31. package/dist/chunk-T35FWDAB.js +4342 -0
  32. package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
  33. package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
  34. package/dist/{chunk-JCGD4GM6.js → chunk-UROTM5OR.js} +14 -1
  35. package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
  36. package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
  37. package/dist/{chunk-SBCIB5TZ.js → chunk-VRNMNB3O.js} +6 -7
  38. package/dist/chunk-WQPX44YM.js +1626 -0
  39. package/dist/{chunk-T2PAD63Y.js → chunk-XZGSCABI.js} +1 -1
  40. package/dist/chunk-YLQEVSOR.js +299 -0
  41. package/dist/{chunk-P5WYW2GI.js → chunk-ZQOKIGZP.js} +152 -306
  42. package/dist/components/index.css +38 -0
  43. package/dist/components/index.d.ts +334 -38
  44. package/dist/components/index.js +42 -42
  45. package/dist/components/navigation/index.css +38 -0
  46. package/dist/components/navigation/index.js +3 -2
  47. package/dist/execution/index.d.ts +9 -3
  48. package/dist/features/auth/index.css +38 -0
  49. package/dist/features/auth/index.d.ts +212 -14
  50. package/dist/features/auth/index.js +41 -9
  51. package/dist/features/clients/index.css +649 -0
  52. package/dist/features/clients/index.d.ts +86 -0
  53. package/dist/features/clients/index.js +720 -0
  54. package/dist/features/crm/index.css +38 -0
  55. package/dist/features/crm/index.d.ts +228 -20
  56. package/dist/features/crm/index.js +20 -17
  57. package/dist/features/dashboard/index.css +38 -0
  58. package/dist/features/dashboard/index.d.ts +78 -3
  59. package/dist/features/dashboard/index.js +16 -16
  60. package/dist/features/delivery/index.css +38 -0
  61. package/dist/features/delivery/index.d.ts +201 -18
  62. package/dist/features/delivery/index.js +20 -18
  63. package/dist/features/knowledge/index.css +38 -0
  64. package/dist/features/knowledge/index.d.ts +20 -18
  65. package/dist/features/knowledge/index.js +116 -578
  66. package/dist/features/lead-gen/index.css +38 -0
  67. package/dist/features/lead-gen/index.d.ts +59 -51
  68. package/dist/features/lead-gen/index.js +20 -18
  69. package/dist/features/monitoring/index.css +38 -0
  70. package/dist/features/monitoring/index.d.ts +20 -18
  71. package/dist/features/monitoring/index.js +19 -18
  72. package/dist/features/monitoring/requests/index.css +38 -0
  73. package/dist/features/monitoring/requests/index.d.ts +21 -19
  74. package/dist/features/monitoring/requests/index.js +17 -15
  75. package/dist/features/operations/index.css +38 -0
  76. package/dist/features/operations/index.d.ts +945 -45
  77. package/dist/features/operations/index.js +24 -26
  78. package/dist/features/seo/index.d.ts +20 -18
  79. package/dist/features/seo/index.js +1 -1
  80. package/dist/features/settings/index.css +38 -0
  81. package/dist/features/settings/index.d.ts +201 -18
  82. package/dist/features/settings/index.js +18 -16
  83. package/dist/hooks/delivery/index.css +38 -0
  84. package/dist/hooks/delivery/index.d.ts +200 -0
  85. package/dist/hooks/delivery/index.js +2 -2
  86. package/dist/hooks/index.css +38 -0
  87. package/dist/hooks/index.d.ts +825 -47
  88. package/dist/hooks/index.js +14 -13
  89. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +194 -3
  90. package/dist/hooks/published.css +38 -0
  91. package/dist/hooks/published.d.ts +825 -47
  92. package/dist/hooks/published.js +14 -13
  93. package/dist/index.css +38 -0
  94. package/dist/index.d.ts +1506 -1212
  95. package/dist/index.js +15 -14
  96. package/dist/initialization/index.d.ts +181 -0
  97. package/dist/knowledge/index.d.ts +813 -1068
  98. package/dist/knowledge/index.js +7370 -2869
  99. package/dist/{chunk-CLUP5H3C.js → knowledge-search-index-5KYPO746.js} +441 -963
  100. package/dist/layout/index.d.ts +6 -0
  101. package/dist/layout/index.js +4 -5
  102. package/dist/organization/index.css +38 -0
  103. package/dist/profile/index.d.ts +181 -0
  104. package/dist/provider/index.css +38 -0
  105. package/dist/provider/index.d.ts +909 -1156
  106. package/dist/provider/index.js +11 -10
  107. package/dist/provider/published.css +38 -0
  108. package/dist/provider/published.d.ts +906 -1153
  109. package/dist/provider/published.js +7 -6
  110. package/dist/supabase/index.d.ts +349 -0
  111. package/dist/test-utils/index.d.ts +16 -9
  112. package/dist/test-utils/index.js +39 -32
  113. package/dist/test-utils/setup.js +1 -1
  114. package/dist/theme/index.js +3 -3
  115. package/dist/theme/presets/index.js +1 -1
  116. package/dist/types/index.d.ts +378 -5
  117. package/dist/utils/index.d.ts +78 -3
  118. package/dist/utils/index.js +1 -1
  119. package/dist/vite/index.js +2 -2
  120. package/dist/vite-plugin-knowledge/index.js +1 -1
  121. package/package.json +47 -37
  122. package/src/provider/README.md +5 -5
  123. package/dist/chunk-2DIYILF7.js +0 -413
  124. package/dist/chunk-3MDNBHVB.js +0 -3868
  125. package/dist/chunk-6IXOKUBC.js +0 -347
  126. package/dist/chunk-AKOD52HS.js +0 -739
  127. package/dist/chunk-ECNNI3NT.js +0 -6
  128. package/dist/chunk-JDNEWB5F.js +0 -10
  129. package/dist/chunk-NITGGYH2.js +0 -476
  130. package/dist/chunk-OAVTMITG.js +0 -13
@@ -39,7 +39,7 @@ var SEOSidebar = () => {
39
39
  // src/features/seo/manifest.ts
40
40
  var seoManifest = {
41
41
  key: "seo",
42
- featureId: "seo",
42
+ systemId: "seo",
43
43
  sidebar: SEOSidebar
44
44
  };
45
45
 
@@ -25,11 +25,11 @@ function detectLayout(viteRoot) {
25
25
  return {
26
26
  mode: "monorepo",
27
27
  projectRoot,
28
- omSourcePath: resolve(projectRoot, "packages/elevasis-core/src/organization-model.ts"),
28
+ omSourcePath: resolve(projectRoot, "packages/elevasis-core/src/organization-model/index.ts"),
29
29
  // monorepo mode does not consume mdxNodesDir; field kept for type uniformity
30
30
  mdxNodesDir: resolve(projectRoot, "packages/elevasis-core/knowledge-nodes-unused"),
31
31
  generatedDir: resolve(projectRoot, "packages/ui/src/knowledge/_generated"),
32
- watchPaths: [resolve(projectRoot, "packages/elevasis-core/src/organization-model.ts")]
32
+ watchPaths: [resolve(projectRoot, "packages/elevasis-core/src/organization-model")]
33
33
  };
34
34
  }
35
35
  const parent = resolve(dir, "..");
@@ -1,8 +1,14 @@
1
- import { IconMail, IconSend, IconFileText, IconClock, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconArchive, IconShieldLock, IconSettings, IconBrain, IconChartBar, IconTool, IconBriefcase, IconLayoutGrid, IconTargetArrow, IconBuildingStore, IconCalendar, IconDashboard, IconInfoCircle, IconDatabase, IconGitBranch, IconTopologyStar3, IconUsers, IconUser, IconPlug, IconBook } from '@tabler/icons-react';
1
+ import { IconMail, IconSend, IconFileText, IconClock, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconArchive, IconShieldLock, IconSettings, IconBrain, IconChartBar, IconTool, IconBriefcase, IconLayoutGrid, IconTargetArrow, IconBuildingStore, IconCalendar, IconDashboard, IconInfoCircle, IconDatabase, IconGitBranch, IconTopologyStar3, IconActivity, IconUsers, IconUser, IconPlug, IconBook, IconApps, IconBuilding, IconBolt } from '@tabler/icons-react';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
 
4
4
  // src/icons/registry.tsx
5
5
  var DEFAULT_SEMANTIC_ICON_REGISTRY = {
6
+ "om.quick-access": IconBolt,
7
+ "om.profile": IconBuilding,
8
+ "om.business-model": IconBriefcase,
9
+ "om.systems": IconApps,
10
+ "om.graph": IconTopologyStar3,
11
+ "om.governance-wiring": IconShieldLock,
6
12
  "nav.dashboard": IconDashboard,
7
13
  "nav.calendar": IconCalendar,
8
14
  "nav.sales": IconChartBar,
@@ -17,6 +23,7 @@ var DEFAULT_SEMANTIC_ICON_REGISTRY = {
17
23
  "nav.archive": IconArchive,
18
24
  "feature.dashboard": IconDashboard,
19
25
  "feature.calendar": IconCalendar,
26
+ "feature.business": IconBuildingStore,
20
27
  "feature.sales": IconChartBar,
21
28
  "feature.crm": IconBuildingStore,
22
29
  "feature.finance": IconChartBar,
@@ -39,6 +46,9 @@ var DEFAULT_SEMANTIC_ICON_REGISTRY = {
39
46
  "resource.database": IconDatabase,
40
47
  "resource.user": IconUser,
41
48
  "resource.team": IconUsers,
49
+ "entity.record": IconDatabase,
50
+ "event.lifecycle": IconActivity,
51
+ "policy.governance": IconShieldLock,
42
52
  "integration.gmail": IconMail,
43
53
  "integration.google-sheets": IconDatabase,
44
54
  "integration.attio": IconBuildingStore,
@@ -106,6 +116,9 @@ var FALLBACK_TOKEN_BY_KIND = {
106
116
  resource: "resource.workflow",
107
117
  integration: "resource.integration",
108
118
  action: "action.view",
119
+ entity: "entity.record",
120
+ event: "event.lifecycle",
121
+ policy: "policy.governance",
109
122
  status: "status.info",
110
123
  nav: "nav.dashboard",
111
124
  unknown: "status.info"
@@ -28,6 +28,21 @@ var observabilityKeys = {
28
28
  businessImpact: (organizationId, timeRange) => [...observabilityKeys.all, "business-impact", organizationId, timeRange],
29
29
  // Resources health batch
30
30
  resourcesHealth: (organizationId, resources, startDate, endDate, granularity) => [...observabilityKeys.all, "resources-health", organizationId, resources, startDate, endDate, granularity],
31
+ // System-scoped health from direct/descendant resource descriptors
32
+ systemHealth: (organizationId, systemPath, timeRange, includeDescendants, descendantMode, resourceSet, startDate, endDate, directResources, descendantResources) => [
33
+ ...observabilityKeys.all,
34
+ "system-health",
35
+ organizationId,
36
+ systemPath,
37
+ timeRange,
38
+ includeDescendants,
39
+ descendantMode,
40
+ resourceSet,
41
+ startDate,
42
+ endDate,
43
+ directResources,
44
+ descendantResources
45
+ ],
31
46
  // Unresolved errors dashboard teaser
32
47
  unresolvedErrors: (organizationId, startDate, endDate) => [...observabilityKeys.all, "unresolved-errors", organizationId, startDate, endDate],
33
48
  // Recent executions grouped by resource (dashboard widget)
@@ -1,28 +1,8 @@
1
- import { Modal, Center, Space, Text, Button, Title, TextInput } from '@mantine/core';
2
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
1
+ import { CustomModal } from './chunk-R66W5UDG.js';
3
2
  import { cloneElement } from 'react';
3
+ import { Center, Space, Text, Button, Title, TextInput } from '@mantine/core';
4
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
4
5
 
5
- // src/components/modal/CustomModal.tsx
6
- var FULL_SIZE = "80%";
7
- var CustomModal = ({ children, opened, onClose, loading, style, size }) => {
8
- const canClose = loading === true ? false : true;
9
- const resolvedSize = size === "full" ? FULL_SIZE : size;
10
- return /* @__PURE__ */ jsx(
11
- Modal,
12
- {
13
- opened,
14
- onClose,
15
- padding: "xs",
16
- withCloseButton: false,
17
- closeOnClickOutside: canClose,
18
- closeOnEscape: canClose,
19
- centered: true,
20
- style,
21
- size: resolvedSize,
22
- children
23
- }
24
- );
25
- };
26
6
  var ConfirmationModal = ({
27
7
  opened,
28
8
  onClose,
@@ -104,4 +84,4 @@ var ConfirmationInputModal = ({
104
84
  ] });
105
85
  };
106
86
 
107
- export { ConfirmationInputModal, ConfirmationModal, CustomModal };
87
+ export { ConfirmationInputModal, ConfirmationModal };
@@ -1,13 +1,12 @@
1
- import { CostTrendChart, ActivityTrendChart } from './chunk-2DIYILF7.js';
2
- import { CyberAreaChart } from './chunk-CW3UNAF2.js';
1
+ import { CyberAreaChart, CostTrendChart, ActivityTrendChart } from './chunk-4DYOXEH6.js';
3
2
  import { AppShellLoader } from './chunk-RYTEQBAO.js';
4
3
  import { FilterBar } from './chunk-PDHTXPSF.js';
5
- import { CustomModal } from './chunk-KVJ3LFH2.js';
4
+ import { CustomModal } from './chunk-R66W5UDG.js';
6
5
  import { formatDuration } from './chunk-E4WQGJNS.js';
7
- import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useTimeRangeDates, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead } from './chunk-6EFVZV6X.js';
8
- import { CenteredErrorState, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, EmptyState, PageTitleCaption, JsonViewer } from './chunk-6WXDE5LZ.js';
6
+ import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useTimeRangeDates, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead } from './chunk-GCOQ3TBG.js';
7
+ import { CenteredErrorState, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, EmptyState, PageTitleCaption, JsonViewer } from './chunk-EPTHX4VZ.js';
9
8
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
10
- import { formatBucketTime, PAGE_SIZE_DEFAULT, getTimeRangeDates } from './chunk-HXZQWMKE.js';
9
+ import { formatBucketTime, PAGE_SIZE_DEFAULT, getTimeRangeDates } from './chunk-2RJMVWFJ.js';
11
10
  import { useState, useMemo, useCallback } from 'react';
12
11
  import { Table, Text, Badge, Tooltip, Card, Group, Select, SegmentedControl, Button, TextInput, Stack, Paper, Center, Loader, ActionIcon, NumberFormatter, Box, Alert, Switch, Pagination, UnstyledButton, Title, Divider, Code, CopyButton, Accordion } from '@mantine/core';
13
12
  import { IconActivity, IconFilterOff, IconCircleCheck, IconThumbDown, IconThumbUp, IconClock, IconCircleX, IconSearch, IconArrowUpRight, IconAlertTriangle, IconAlertCircle, IconExternalLink, IconChartPie, IconHeartbeat, IconDownload, IconCpu, IconTrendingUp, IconChartBar, IconCash, IconInfoCircle, IconExclamationCircle, IconBug, IconChecks, IconCircle, IconCircleFilled, IconCheck, IconCopy, IconCircleDashed, IconArrowUp, IconArrowDown, IconFileOff, IconRobot, IconKey, IconUser } from '@tabler/icons-react';
@@ -1772,7 +1771,7 @@ function NotificationCenter({ pageSize = 20 }) {
1772
1771
  }
1773
1772
  var monitoringManifest = {
1774
1773
  key: "monitoring",
1775
- featureId: "monitoring",
1774
+ routePrefixes: ["/monitoring"],
1776
1775
  icon: IconActivity
1777
1776
  };
1778
1777