@elevasis/ui 2.45.1 → 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 (50) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +2 -3
  3. package/dist/app/index.js +3 -3
  4. package/dist/auth/index.d.ts +6 -0
  5. package/dist/auth/index.js +3 -3
  6. package/dist/charts/index.js +3 -3
  7. package/dist/{chunk-XDEUR36B.js → chunk-CDZB24OR.js} +6 -11
  8. package/dist/{chunk-NVVAQNKE.js → chunk-OFLWSKSC.js} +1 -1
  9. package/dist/{chunk-UBTSEZJK.js → chunk-REPITZKU.js} +2504 -1819
  10. package/dist/{chunk-UECAFQKT.js → chunk-SOGPJFO6.js} +1 -1
  11. package/dist/components/index.d.ts +1 -2
  12. package/dist/components/index.js +3 -3
  13. package/dist/components/navigation/index.js +3 -3
  14. package/dist/features/auth/index.js +4 -4
  15. package/dist/features/clients/index.js +3 -3
  16. package/dist/features/crm/index.js +3 -3
  17. package/dist/features/dashboard/index.d.ts +1 -2
  18. package/dist/features/dashboard/index.js +3 -3
  19. package/dist/features/delivery/index.js +3 -3
  20. package/dist/features/knowledge/index.js +3 -3
  21. package/dist/features/lead-gen/index.d.ts +2 -3
  22. package/dist/features/lead-gen/index.js +3 -3
  23. package/dist/features/monitoring/index.js +3 -3
  24. package/dist/features/monitoring/requests/index.js +4 -4
  25. package/dist/features/operations/index.d.ts +2 -3
  26. package/dist/features/operations/index.js +3 -3
  27. package/dist/features/settings/index.js +3 -3
  28. package/dist/hooks/access/index.d.ts +6 -0
  29. package/dist/hooks/access/index.js +3 -3
  30. package/dist/hooks/delivery/index.js +3 -3
  31. package/dist/hooks/index.d.ts +7 -2
  32. package/dist/hooks/index.js +3 -3
  33. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +1 -2
  34. package/dist/hooks/published.d.ts +7 -2
  35. package/dist/hooks/published.js +3 -3
  36. package/dist/index.d.ts +8 -3
  37. package/dist/index.js +4 -4
  38. package/dist/knowledge/index.d.ts +3 -4
  39. package/dist/knowledge/index.js +286 -67
  40. package/dist/layout/index.js +3 -3
  41. package/dist/organization/index.js +3 -3
  42. package/dist/provider/index.d.ts +2 -3
  43. package/dist/provider/index.js +3 -3
  44. package/dist/provider/published.d.ts +2 -3
  45. package/dist/provider/published.js +3 -3
  46. package/dist/test-utils/index.js +3 -3
  47. package/dist/types/index.d.ts +1 -2
  48. package/dist/utils/index.d.ts +1 -2
  49. package/dist/utils/index.js +1 -1
  50. package/package.json +4 -4
package/dist/api/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export { createElevasisQueryClient } from '../chunk-UECAFQKT.js';
2
- export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-NVVAQNKE.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-XDEUR36B.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>;
@@ -3481,7 +3481,6 @@ interface SystemEntry {
3481
3481
  status?: 'active' | 'deprecated' | 'archived';
3482
3482
  path?: string;
3483
3483
  icon?: string;
3484
- color?: string;
3485
3484
  uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
3486
3485
  enabled?: boolean;
3487
3486
  devOnly?: boolean;
@@ -4064,7 +4063,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4064
4063
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4065
4064
  members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
4066
4065
  }, z$1.core.$loose>>>>;
4067
- 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<{
4068
4067
  id: z$1.ZodString;
4069
4068
  label: z$1.ZodOptional<z$1.ZodString>;
4070
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-UBTSEZJK.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-NVVAQNKE.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-XDEUR36B.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';
@@ -34,6 +34,7 @@ declare const AccessKeys: {
34
34
  readonly systemPath: "permission.roles";
35
35
  readonly action: "manage";
36
36
  };
37
+ /** @reserved Reserved for first-class secret administration routes and command surfaces. */
37
38
  readonly secretsManage: {
38
39
  readonly systemPath: "permission.secrets";
39
40
  readonly action: "manage";
@@ -42,6 +43,7 @@ declare const AccessKeys: {
42
43
  readonly systemPath: "permission.operations";
43
44
  readonly action: "view";
44
45
  };
46
+ /** @reserved Reserved for write-level operations administration beyond read-only monitoring. */
45
47
  readonly operationsManage: {
46
48
  readonly systemPath: "permission.operations";
47
49
  readonly action: "manage";
@@ -50,14 +52,17 @@ declare const AccessKeys: {
50
52
  readonly systemPath: "sales.lead-gen";
51
53
  readonly action: "manage";
52
54
  };
55
+ /** @reserved Reserved for acquisition administration once that permission namespace is wired. */
53
56
  readonly acquisitionManage: {
54
57
  readonly systemPath: "permission.acquisition";
55
58
  readonly action: "manage";
56
59
  };
60
+ /** @reserved Reserved for project administration permission catalog compatibility. */
57
61
  readonly projectsManage: {
58
62
  readonly systemPath: "permission.projects";
59
63
  readonly action: "manage";
60
64
  };
65
+ /** @reserved Reserved for client administration permission catalog compatibility. */
61
66
  readonly clientsManage: {
62
67
  readonly systemPath: "permission.clients";
63
68
  readonly action: "manage";
@@ -66,6 +71,7 @@ declare const AccessKeys: {
66
71
  readonly systemPath: "diagnostic.operations.overview";
67
72
  readonly action: "view";
68
73
  };
74
+ /** @reserved Reserved for a diagnostics surface that lists recent operations executions. */
69
75
  readonly operationsRecentExecutions: {
70
76
  readonly systemPath: "diagnostic.operations.recent-executions";
71
77
  readonly action: "view";
@@ -1,4 +1,4 @@
1
- export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-UBTSEZJK.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-NVVAQNKE.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-XDEUR36B.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-UBTSEZJK.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-NVVAQNKE.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-XDEUR36B.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) {
@@ -965,8 +962,6 @@ var SystemEntrySchema = z.object({
965
962
  path: PathSchema.optional(),
966
963
  /** @deprecated Use ui.icon. Kept for one-cycle Feature compatibility. */
967
964
  icon: IconNameSchema.optional(),
968
- /** @deprecated Feature color token, retained for one-cycle compatibility. */
969
- color: ColorTokenSchema.optional(),
970
965
  /** @deprecated UI placement hint, retained for one-cycle compatibility. */
971
966
  uiPosition: UiPositionSchema.optional(),
972
967
  /** @deprecated Use lifecycle. */
@@ -1,5 +1,5 @@
1
1
  import { OrganizationContext } from './chunk-DD3CCMCZ.js';
2
- import { APIClientError } from './chunk-XDEUR36B.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