@elevasis/ui 2.34.0 → 2.35.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 (106) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +12 -12
  3. package/dist/app/index.js +25 -23
  4. package/dist/charts/index.js +3 -5
  5. package/dist/chunk-26HFM4MH.js +41449 -0
  6. package/dist/{chunk-DTFKWZ7A.js → chunk-4U3XAWCN.js} +502 -484
  7. package/dist/{chunk-ND5TDV2J.js → chunk-57OZ3AEG.js} +1 -1
  8. package/dist/{chunk-E4WQGJNS.js → chunk-7FPLLSHN.js} +14 -1
  9. package/dist/{chunk-RQA2EVN3.js → chunk-AKW7KISS.js} +39 -3
  10. package/dist/chunk-AUDNF2Q7.js +2050 -0
  11. package/dist/{chunk-TYRUKGGD.js → chunk-GX6XBRRF.js} +1 -2
  12. package/dist/{chunk-V6SZ4ECN.js → chunk-LUYVRATI.js} +257 -6
  13. package/dist/{chunk-X4WBGKJQ.js → chunk-R3VCBZDC.js} +50 -3
  14. package/dist/chunk-SIQ3P4OR.js +1764 -0
  15. package/dist/{chunk-RIAXZ6AH.js → chunk-VDOOGGBA.js} +1 -1
  16. package/dist/{chunk-3FV6HBXS.js → chunk-WF7CONXF.js} +23 -23
  17. package/dist/{chunk-3QXJK5IY.js → chunk-YYX7OPZQ.js} +1 -1
  18. package/dist/components/index.d.ts +69 -69
  19. package/dist/components/index.js +20 -2795
  20. package/dist/components/navigation/index.js +25 -5
  21. package/dist/execution/index.d.ts +9 -9
  22. package/dist/execution/index.js +1 -2
  23. package/dist/features/auth/index.js +23 -2
  24. package/dist/features/clients/index.js +20 -26
  25. package/dist/features/crm/index.js +20 -30
  26. package/dist/features/dashboard/index.d.ts +68 -68
  27. package/dist/features/dashboard/index.js +20 -28
  28. package/dist/features/delivery/index.js +20 -30
  29. package/dist/features/knowledge/index.js +25 -9
  30. package/dist/features/lead-gen/index.d.ts +9 -9
  31. package/dist/features/lead-gen/index.js +20 -31
  32. package/dist/features/monitoring/index.js +20 -30
  33. package/dist/features/monitoring/requests/index.js +20 -25
  34. package/dist/features/operations/index.d.ts +153 -153
  35. package/dist/features/operations/index.js +18 -37
  36. package/dist/features/seo/index.js +3 -4
  37. package/dist/features/settings/index.js +20 -27
  38. package/dist/graph/index.js +1 -1
  39. package/dist/hooks/delivery/index.js +30 -2
  40. package/dist/hooks/index.d.ts +85 -85
  41. package/dist/hooks/index.js +20 -21
  42. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +35 -35
  43. package/dist/hooks/published.d.ts +85 -85
  44. package/dist/hooks/published.js +20 -20
  45. package/dist/index.css +532 -532
  46. package/dist/index.d.ts +9256 -5803
  47. package/dist/index.js +22 -26
  48. package/dist/knowledge/index.d.ts +21 -21
  49. package/dist/knowledge/index.js +8 -15
  50. package/dist/layout/index.js +4 -10
  51. package/dist/organization/index.js +27 -1
  52. package/dist/provider/index.d.ts +47 -21
  53. package/dist/provider/index.js +20 -15
  54. package/dist/provider/published.d.ts +15 -16
  55. package/dist/provider/published.js +20 -11
  56. package/dist/test-utils/index.js +3 -3
  57. package/dist/theme/index.js +2 -3
  58. package/dist/theme/presets/index.d.ts +28 -3
  59. package/dist/theme/presets/index.js +1 -1
  60. package/dist/typeform/index.js +1 -2049
  61. package/dist/types/index.d.ts +68 -68
  62. package/dist/utils/index.d.ts +46 -46
  63. package/dist/utils/index.js +1 -1
  64. package/dist/zustand/index.d.ts +6 -6
  65. package/dist/zustand/index.js +0 -3
  66. package/package.json +5 -5
  67. package/dist/chunk-3AJVNMY5.js +0 -4769
  68. package/dist/chunk-3MEXPLWT.js +0 -265
  69. package/dist/chunk-3ZMAGTWF.js +0 -18
  70. package/dist/chunk-4O4MII5S.js +0 -4716
  71. package/dist/chunk-5EYJ2GIN.js +0 -122
  72. package/dist/chunk-7M2VOCYN.js +0 -1
  73. package/dist/chunk-BPQVTIUP.js +0 -105
  74. package/dist/chunk-BZZCNLT6.js +0 -12
  75. package/dist/chunk-CLDCYJQT.js +0 -1
  76. package/dist/chunk-E565XMTQ.js +0 -17
  77. package/dist/chunk-HRWLKKWM.js +0 -758
  78. package/dist/chunk-IGDYWFNE.js +0 -5198
  79. package/dist/chunk-IIMU5YAJ.js +0 -53
  80. package/dist/chunk-IVGI4GDL.js +0 -1593
  81. package/dist/chunk-JFL3GRD4.js +0 -39
  82. package/dist/chunk-LAWLB6CT.js +0 -951
  83. package/dist/chunk-LGKLC5MG.js +0 -44
  84. package/dist/chunk-LRWTWOGP.js +0 -1778
  85. package/dist/chunk-MP3GPBPX.js +0 -1874
  86. package/dist/chunk-N55DVMAG.js +0 -14
  87. package/dist/chunk-NLBQTDOW.js +0 -12051
  88. package/dist/chunk-O6JXQ6UQ.js +0 -468
  89. package/dist/chunk-OBBQ2JCM.js +0 -68
  90. package/dist/chunk-PDHTXPSF.js +0 -12
  91. package/dist/chunk-PLP3NYPL.js +0 -356
  92. package/dist/chunk-R2XR4FCV.js +0 -48
  93. package/dist/chunk-R66W5UDG.js +0 -26
  94. package/dist/chunk-RYTEQBAO.js +0 -37
  95. package/dist/chunk-SDXSB3HN.js +0 -425
  96. package/dist/chunk-TKAYX2SP.js +0 -204
  97. package/dist/chunk-TUMSNGTX.js +0 -35
  98. package/dist/chunk-VNAZTCHA.js +0 -65
  99. package/dist/chunk-VNFR57DF.js +0 -87
  100. package/dist/chunk-VTXTZXAU.js +0 -539
  101. package/dist/chunk-W73ZABT6.js +0 -85
  102. package/dist/chunk-WU4FNWCW.js +0 -2281
  103. package/dist/chunk-XZGSCABI.js +0 -383
  104. package/dist/chunk-YNWZIWJL.js +0 -1863
  105. /package/dist/{chunk-2RJMVWFJ.js → chunk-GEFWMU26.js} +0 -0
  106. /package/dist/{chunk-22UVE3RA.js → chunk-HENXLGVD.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { buildOrganizationGraph, projectOrganizationSurfaces, compileOrganizationOntology, SemanticIcon, getSortedSidebarEntries, parseOntologyId, getSystem, resolveSystemConfig } from './chunk-DTFKWZ7A.js';
1
+ import { buildOrganizationGraph, projectOrganizationSurfaces, compileOrganizationOntology, SemanticIcon, getSortedSidebarEntries, parseOntologyId, getSystem, resolveSystemConfig } from './chunk-4U3XAWCN.js';
2
2
  import { useMemo, useState, useRef, useEffect } from 'react';
3
3
  import { useTree, Text, Tree, UnstyledButton, Group, TextInput } from '@mantine/core';
4
4
  import { useClipboard } from '@mantine/hooks';
@@ -64,29 +64,6 @@ function generateShades(hex) {
64
64
  ];
65
65
  return targets.map((tl) => hslToHex(h, s, tl));
66
66
  }
67
- var THEME_PRESETS = [
68
- "default",
69
- "tactical",
70
- "regal",
71
- "cyber-volt",
72
- "aurora",
73
- "rose-gold",
74
- "midnight",
75
- "titanium",
76
- "canopy",
77
- "slate",
78
- "cyber-strike",
79
- "cyber-chrome",
80
- "cyber-void",
81
- "nirvana",
82
- "wave",
83
- "synapse",
84
- "cortex",
85
- "helios",
86
- "graphite",
87
- "quarry"
88
- ];
89
- var ThemePresetEnum = z.enum(THEME_PRESETS);
90
67
  var defaultPreset = {
91
68
  subtitleFontFamily: '"Inter", sans-serif',
92
69
  fontImports: ["https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"],
@@ -2305,6 +2282,29 @@ var quarryPreset = {
2305
2282
  };
2306
2283
 
2307
2284
  // src/theme/presets/index.ts
2285
+ var THEME_PRESETS = [
2286
+ "default",
2287
+ "tactical",
2288
+ "slate",
2289
+ "regal",
2290
+ "midnight",
2291
+ "aurora",
2292
+ "titanium",
2293
+ "rose-gold",
2294
+ "wave",
2295
+ "canopy",
2296
+ "quarry",
2297
+ "nirvana",
2298
+ "cortex",
2299
+ "synapse",
2300
+ "graphite",
2301
+ "helios",
2302
+ "cyber-void",
2303
+ "cyber-volt",
2304
+ "cyber-chrome",
2305
+ "cyber-strike"
2306
+ ];
2307
+ var ThemePresetEnum = z.enum(THEME_PRESETS);
2308
2308
  var PRESETS = {
2309
2309
  default: {
2310
2310
  ...defaultPreset,
@@ -1,4 +1,4 @@
1
- import { GC_TIME_LONG, STALE_TIME_DEFAULT } from './chunk-2RJMVWFJ.js';
1
+ import { GC_TIME_LONG, STALE_TIME_DEFAULT } from './chunk-GEFWMU26.js';
2
2
  import { QueryClient } from '@tanstack/react-query';
3
3
 
4
4
  function createElevasisQueryClient(options = {}) {
@@ -4052,6 +4052,74 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
4052
4052
  }, z.core.$strip>>;
4053
4053
  type OntologyScope = z.infer<typeof OntologyScopeSchema>;
4054
4054
 
4055
+ type JsonPrimitive = string | number | boolean | null;
4056
+ type JsonValue = JsonPrimitive | JsonValue[] | {
4057
+ [key: string]: JsonValue;
4058
+ };
4059
+ /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
4060
+ interface SystemEntry {
4061
+ id: string;
4062
+ label?: string;
4063
+ title?: string;
4064
+ description?: string;
4065
+ kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
4066
+ parentSystemId?: string;
4067
+ ui?: {
4068
+ path: string;
4069
+ surfaces: string[];
4070
+ icon?: string;
4071
+ order?: number;
4072
+ };
4073
+ lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
4074
+ responsibleRoleId?: string;
4075
+ governedByKnowledge?: string[];
4076
+ actions?: {
4077
+ actionId: string;
4078
+ intent: 'exposes' | 'consumes';
4079
+ invocation?: unknown;
4080
+ }[];
4081
+ policies?: string[];
4082
+ drivesGoals?: string[];
4083
+ /** @deprecated Use lifecycle. Accepted for one publish cycle. */
4084
+ status?: 'active' | 'deprecated' | 'archived';
4085
+ path?: string;
4086
+ icon?: string;
4087
+ color?: string;
4088
+ uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
4089
+ enabled?: boolean;
4090
+ devOnly?: boolean;
4091
+ requiresAdmin?: boolean;
4092
+ order: number;
4093
+ config?: Record<string, JsonValue>;
4094
+ ontology?: OntologyScope;
4095
+ systems?: Record<string, SystemEntry>;
4096
+ subsystems?: Record<string, SystemEntry>;
4097
+ }
4098
+
4099
+ declare const LinkSchema: z.ZodObject<{
4100
+ nodeId: z.ZodString;
4101
+ kind: z.ZodEnum<{
4102
+ links: "links";
4103
+ affects: "affects";
4104
+ effects: "effects";
4105
+ actions: "actions";
4106
+ reads: "reads";
4107
+ writes: "writes";
4108
+ emits: "emits";
4109
+ triggers: "triggers";
4110
+ uses: "uses";
4111
+ approval: "approval";
4112
+ contains: "contains";
4113
+ references: "references";
4114
+ maps_to: "maps_to";
4115
+ governs: "governs";
4116
+ originates_from: "originates_from";
4117
+ applies_to: "applies_to";
4118
+ uses_catalog: "uses_catalog";
4119
+ }>;
4120
+ }, z.core.$strip>;
4121
+ type Link = z.infer<typeof LinkSchema>;
4122
+
4055
4123
  declare const GetRecentActivityResponseSchema: z.ZodObject<{
4056
4124
  entries: z.ZodArray<z.ZodObject<{
4057
4125
  id: z.ZodString;
@@ -4346,50 +4414,6 @@ interface CostByModelResponse {
4346
4414
  */
4347
4415
  type AIResourceDefinition = SerializedWorkflowDefinition | SerializedAgentDefinition;
4348
4416
 
4349
- type JsonPrimitive = string | number | boolean | null;
4350
- type JsonValue = JsonPrimitive | JsonValue[] | {
4351
- [key: string]: JsonValue;
4352
- };
4353
- /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
4354
- interface SystemEntry {
4355
- id: string;
4356
- label?: string;
4357
- title?: string;
4358
- description?: string;
4359
- kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
4360
- parentSystemId?: string;
4361
- ui?: {
4362
- path: string;
4363
- surfaces: string[];
4364
- icon?: string;
4365
- order?: number;
4366
- };
4367
- lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
4368
- responsibleRoleId?: string;
4369
- governedByKnowledge?: string[];
4370
- actions?: {
4371
- actionId: string;
4372
- intent: 'exposes' | 'consumes';
4373
- invocation?: unknown;
4374
- }[];
4375
- policies?: string[];
4376
- drivesGoals?: string[];
4377
- /** @deprecated Use lifecycle. Accepted for one publish cycle. */
4378
- status?: 'active' | 'deprecated' | 'archived';
4379
- path?: string;
4380
- icon?: string;
4381
- color?: string;
4382
- uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
4383
- enabled?: boolean;
4384
- devOnly?: boolean;
4385
- requiresAdmin?: boolean;
4386
- order: number;
4387
- config?: Record<string, JsonValue>;
4388
- ontology?: OntologyScope;
4389
- systems?: Record<string, SystemEntry>;
4390
- subsystems?: Record<string, SystemEntry>;
4391
- }
4392
-
4393
4417
  /**
4394
4418
  * Resource Registry type definitions
4395
4419
  */
@@ -4439,30 +4463,6 @@ interface ResourceDefinition {
4439
4463
  archived?: boolean;
4440
4464
  }
4441
4465
 
4442
- declare const LinkSchema: z.ZodObject<{
4443
- nodeId: z.ZodString;
4444
- kind: z.ZodEnum<{
4445
- links: "links";
4446
- affects: "affects";
4447
- effects: "effects";
4448
- actions: "actions";
4449
- reads: "reads";
4450
- writes: "writes";
4451
- emits: "emits";
4452
- triggers: "triggers";
4453
- uses: "uses";
4454
- approval: "approval";
4455
- contains: "contains";
4456
- references: "references";
4457
- maps_to: "maps_to";
4458
- governs: "governs";
4459
- originates_from: "originates_from";
4460
- applies_to: "applies_to";
4461
- uses_catalog: "uses_catalog";
4462
- }>;
4463
- }, z.core.$strip>;
4464
- type Link = z.infer<typeof LinkSchema>;
4465
-
4466
4466
  declare const ResourceCategorySchema: z.ZodEnum<{
4467
4467
  diagnostic: "diagnostic";
4468
4468
  production: "production";
@@ -6980,7 +6980,7 @@ declare function LeadGenRouteShell({ title, caption, body, links }: {
6980
6980
  links?: LeadGenRouteLink[];
6981
6981
  }): react_jsx_runtime.JSX.Element;
6982
6982
  declare function getStatusColor(status: string | null): "green" | "red" | "gray";
6983
- declare function getEnrichmentColor(status: string): "green" | "yellow" | "red" | "gray";
6983
+ declare function getEnrichmentColor(status: string): "green" | "red" | "gray" | "yellow";
6984
6984
 
6985
6985
  declare function useDeleteLists(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
6986
6986