@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.
Files changed (48) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +2 -2
  3. package/dist/app/index.js +3 -3
  4. package/dist/auth/index.js +3 -3
  5. package/dist/charts/index.js +3 -3
  6. package/dist/{chunk-HQPJ6TGV.js → chunk-CDZB24OR.js} +6 -9
  7. package/dist/{chunk-L4RIHGPO.js → chunk-OFLWSKSC.js} +1 -1
  8. package/dist/{chunk-FLQKWUSH.js → chunk-REPITZKU.js} +452 -37
  9. package/dist/{chunk-SDUMVYGI.js → chunk-SOGPJFO6.js} +1 -1
  10. package/dist/components/index.d.ts +1 -1
  11. package/dist/components/index.js +3 -3
  12. package/dist/components/navigation/index.js +3 -3
  13. package/dist/features/auth/index.js +4 -4
  14. package/dist/features/clients/index.js +3 -3
  15. package/dist/features/crm/index.js +3 -3
  16. package/dist/features/dashboard/index.d.ts +1 -1
  17. package/dist/features/dashboard/index.js +3 -3
  18. package/dist/features/delivery/index.js +3 -3
  19. package/dist/features/knowledge/index.js +3 -3
  20. package/dist/features/lead-gen/index.d.ts +2 -2
  21. package/dist/features/lead-gen/index.js +3 -3
  22. package/dist/features/monitoring/index.js +3 -3
  23. package/dist/features/monitoring/requests/index.js +4 -4
  24. package/dist/features/operations/index.d.ts +2 -2
  25. package/dist/features/operations/index.js +3 -3
  26. package/dist/features/settings/index.js +3 -3
  27. package/dist/hooks/access/index.js +3 -3
  28. package/dist/hooks/delivery/index.js +3 -3
  29. package/dist/hooks/index.d.ts +1 -1
  30. package/dist/hooks/index.js +3 -3
  31. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +1 -1
  32. package/dist/hooks/published.d.ts +1 -1
  33. package/dist/hooks/published.js +3 -3
  34. package/dist/index.d.ts +2 -2
  35. package/dist/index.js +4 -4
  36. package/dist/knowledge/index.d.ts +3 -3
  37. package/dist/knowledge/index.js +282 -59
  38. package/dist/layout/index.js +3 -3
  39. package/dist/organization/index.js +3 -3
  40. package/dist/provider/index.d.ts +2 -2
  41. package/dist/provider/index.js +3 -3
  42. package/dist/provider/published.d.ts +2 -2
  43. package/dist/provider/published.js +3 -3
  44. package/dist/test-utils/index.js +3 -3
  45. package/dist/types/index.d.ts +1 -1
  46. package/dist/utils/index.d.ts +1 -1
  47. package/dist/utils/index.js +1 -1
  48. package/package.json +3 -3
package/dist/api/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export { createElevasisQueryClient } from '../chunk-SDUMVYGI.js';
2
- export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-L4RIHGPO.js';
1
+ export { createElevasisQueryClient } from '../chunk-SOGPJFO6.js';
2
+ export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-OFLWSKSC.js';
3
3
  import '../chunk-DD3CCMCZ.js';
4
- import '../chunk-HQPJ6TGV.js';
4
+ import '../chunk-CDZB24OR.js';
5
5
  import '../chunk-KRWALB24.js';
6
6
  import '../chunk-TVTSASST.js';
7
7
  import '../chunk-I2KLQ2HA.js';
@@ -3422,7 +3422,7 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3422
3422
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3423
3423
  members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3424
3424
  }, z$1.core.$loose>>>>;
3425
- surfaces: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3425
+ endpoints: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3426
3426
  id: z$1.ZodString;
3427
3427
  label: z$1.ZodOptional<z$1.ZodString>;
3428
3428
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -4063,7 +4063,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4063
4063
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4064
4064
  members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
4065
4065
  }, z$1.core.$loose>>>>;
4066
- surfaces: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4066
+ endpoints: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4067
4067
  id: z$1.ZodString;
4068
4068
  label: z$1.ZodOptional<z$1.ZodString>;
4069
4069
  description: z$1.ZodOptional<z$1.ZodString>;
package/dist/app/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { useSessionCheck, AppErrorBoundary, SidebarProvider, ElevasisSystemsProvider, useElevasisSystems, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer, SystemShell, ElevasisUIProvider } from '../chunk-FLQKWUSH.js';
1
+ import { useSessionCheck, AppErrorBoundary, SidebarProvider, ElevasisSystemsProvider, useElevasisSystems, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer, SystemShell, ElevasisUIProvider } 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 { useInitialization } from '../chunk-6DO4PE3O.js';
12
- import '../chunk-L4RIHGPO.js';
12
+ import '../chunk-OFLWSKSC.js';
13
13
  import '../chunk-DD3CCMCZ.js';
14
14
  import '../chunk-GMXGDO3I.js';
15
15
  import { TanStackRouterBridge, ScrollToTop } from '../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 { listAllSystems } from '../chunk-HQPJ6TGV.js';
21
+ import { listAllSystems } from '../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 { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-FLQKWUSH.js';
1
+ export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } 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-L4RIHGPO.js';
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-HQPJ6TGV.js';
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 { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-FLQKWUSH.js';
1
+ export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } 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-L4RIHGPO.js';
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-HQPJ6TGV.js';
21
+ import '../chunk-CDZB24OR.js';
22
22
  import '../chunk-KRWALB24.js';
23
23
  import '../chunk-2FTX4WO2.js';
24
24
  import '../chunk-MQZE7SUI.js';
@@ -516,16 +516,13 @@ var OntologyKindSchema = z.enum([
516
516
  "value-type",
517
517
  "property",
518
518
  "group",
519
- "surface"
519
+ "endpoint"
520
520
  ]);
521
521
  var SYSTEM_PATH_PATTERN = "[a-z0-9][a-z0-9-]*(?:\\.[a-z0-9][a-z0-9-]*)*";
522
522
  var LOCAL_ID_PATTERN = "[a-z0-9][a-z0-9._-]*";
523
523
  var ONTOLOGY_ID_PATTERN = `^(global|${SYSTEM_PATH_PATTERN}):(${OntologyKindSchema.options.join("|")})\\/(${LOCAL_ID_PATTERN})$`;
524
524
  var ONTOLOGY_ID_REGEX = new RegExp(ONTOLOGY_ID_PATTERN);
525
- var OntologyIdSchema = z.string().trim().min(1).max(300).regex(
526
- ONTOLOGY_ID_REGEX,
527
- "Ontology IDs must use <system-path>:<kind>/<local-id> or global:<kind>/<local-id>"
528
- );
525
+ var OntologyIdSchema = z.string().trim().min(1).max(300).regex(ONTOLOGY_ID_REGEX, "Ontology IDs must use <system-path>:<kind>/<local-id> or global:<kind>/<local-id>");
529
526
  function parseOntologyId(id) {
530
527
  const normalized = OntologyIdSchema.parse(id);
531
528
  const match = ONTOLOGY_ID_REGEX.exec(normalized);
@@ -588,7 +585,7 @@ var OntologySharedPropertySchema = OntologyRecordBaseSchema.extend({
588
585
  var OntologyGroupSchema = OntologyRecordBaseSchema.extend({
589
586
  members: OntologyReferenceListSchema
590
587
  });
591
- var OntologySurfaceTypeSchema = OntologyRecordBaseSchema.extend({
588
+ var OntologyEndpointTypeSchema = OntologyRecordBaseSchema.extend({
592
589
  route: z.string().trim().min(1).max(500).optional()
593
590
  });
594
591
  var OntologyScopeSchema = z.object({
@@ -601,7 +598,7 @@ var OntologyScopeSchema = z.object({
601
598
  valueTypes: z.record(OntologyIdSchema, OntologyValueTypeSchema).default({}).optional(),
602
599
  sharedProperties: z.record(OntologyIdSchema, OntologySharedPropertySchema).default({}).optional(),
603
600
  groups: z.record(OntologyIdSchema, OntologyGroupSchema).default({}).optional(),
604
- surfaces: z.record(OntologyIdSchema, OntologySurfaceTypeSchema).default({}).optional()
601
+ endpoints: z.record(OntologyIdSchema, OntologyEndpointTypeSchema).default({}).optional()
605
602
  }).default({});
606
603
  var DEFAULT_ONTOLOGY_SCOPE = {
607
604
  valueTypes: {
@@ -637,7 +634,7 @@ var SCOPE_KIND = {
637
634
  valueTypes: "value-type",
638
635
  sharedProperties: "property",
639
636
  groups: "group",
640
- surfaces: "surface"
637
+ endpoints: "endpoint"
641
638
  };
642
639
  var SCOPE_KEYS = Object.keys(SCOPE_KIND);
643
640
  function ontologyGraphNodeId(id) {
@@ -673,7 +670,7 @@ function createEmptyIndex() {
673
670
  valueTypes: {},
674
671
  sharedProperties: {},
675
672
  groups: {},
676
- surfaces: {}
673
+ endpoints: {}
677
674
  };
678
675
  }
679
676
  function sortResolvedOntologyIndex(index) {
@@ -1,5 +1,5 @@
1
1
  import { OrganizationContext } from './chunk-DD3CCMCZ.js';
2
- import { APIClientError } from './chunk-HQPJ6TGV.js';
2
+ import { APIClientError } from './chunk-CDZB24OR.js';
3
3
  import { createContext, useContext, useMemo, useCallback } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5