@elevasis/ui 2.34.0 → 2.36.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 (116) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +37 -30
  3. package/dist/app/index.js +25 -23
  4. package/dist/charts/index.js +3 -5
  5. package/dist/{chunk-ND5TDV2J.js → chunk-57OZ3AEG.js} +1 -1
  6. package/dist/{chunk-E4WQGJNS.js → chunk-7FPLLSHN.js} +14 -1
  7. package/dist/{chunk-RQA2EVN3.js → chunk-AKW7KISS.js} +39 -3
  8. package/dist/chunk-AUDNF2Q7.js +2050 -0
  9. package/dist/chunk-F6EFC2MJ.js +41101 -0
  10. package/dist/{chunk-TYRUKGGD.js → chunk-GX6XBRRF.js} +1 -2
  11. package/dist/{chunk-RIAXZ6AH.js → chunk-K4UZU3TU.js} +2 -2
  12. package/dist/{chunk-V6SZ4ECN.js → chunk-LUYVRATI.js} +257 -6
  13. package/dist/{chunk-DTFKWZ7A.js → chunk-O2Q4VMRN.js} +589 -932
  14. package/dist/{chunk-X4WBGKJQ.js → chunk-R3VCBZDC.js} +50 -3
  15. package/dist/chunk-SIQ3P4OR.js +1764 -0
  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 +74 -71
  19. package/dist/components/index.js +20 -2795
  20. package/dist/components/navigation/index.js +25 -5
  21. package/dist/execution/index.d.ts +11 -11
  22. package/dist/execution/index.js +1 -2
  23. package/dist/features/auth/index.d.ts +3 -0
  24. package/dist/features/auth/index.js +23 -2
  25. package/dist/features/clients/index.js +20 -26
  26. package/dist/features/crm/index.d.ts +3 -0
  27. package/dist/features/crm/index.js +20 -30
  28. package/dist/features/dashboard/index.d.ts +69 -69
  29. package/dist/features/dashboard/index.js +20 -28
  30. package/dist/features/delivery/index.d.ts +3 -0
  31. package/dist/features/delivery/index.js +20 -30
  32. package/dist/features/knowledge/index.js +25 -9
  33. package/dist/features/lead-gen/index.d.ts +295 -57
  34. package/dist/features/lead-gen/index.js +20 -31
  35. package/dist/features/monitoring/index.js +20 -30
  36. package/dist/features/monitoring/requests/index.js +20 -25
  37. package/dist/features/operations/index.d.ts +183 -183
  38. package/dist/features/operations/index.js +18 -37
  39. package/dist/features/seo/index.js +3 -4
  40. package/dist/features/settings/index.d.ts +3 -0
  41. package/dist/features/settings/index.js +20 -27
  42. package/dist/graph/index.js +1 -1
  43. package/dist/hooks/delivery/index.d.ts +3 -0
  44. package/dist/hooks/delivery/index.js +30 -2
  45. package/dist/hooks/index.d.ts +112 -99
  46. package/dist/hooks/index.js +20 -21
  47. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +46 -46
  48. package/dist/hooks/published.d.ts +112 -99
  49. package/dist/hooks/published.js +20 -20
  50. package/dist/index.css +532 -532
  51. package/dist/index.d.ts +9385 -5915
  52. package/dist/index.js +22 -26
  53. package/dist/initialization/index.d.ts +3 -0
  54. package/dist/knowledge/index.d.ts +42 -42
  55. package/dist/knowledge/index.js +10 -17
  56. package/dist/{knowledge-search-index-ORIJCEZX.js → knowledge-search-index-NBCTFIOH.js} +2 -2
  57. package/dist/layout/index.js +4 -10
  58. package/dist/organization/index.js +27 -1
  59. package/dist/profile/index.d.ts +3 -0
  60. package/dist/provider/index.d.ts +72 -39
  61. package/dist/provider/index.js +20 -15
  62. package/dist/provider/published.d.ts +40 -34
  63. package/dist/provider/published.js +20 -11
  64. package/dist/sse/index.js +26 -5
  65. package/dist/supabase/index.d.ts +6 -0
  66. package/dist/test-utils/index.js +3 -3
  67. package/dist/theme/index.js +2 -3
  68. package/dist/theme/presets/index.d.ts +28 -3
  69. package/dist/theme/presets/index.js +1 -1
  70. package/dist/typeform/index.js +1 -2049
  71. package/dist/types/index.d.ts +82 -79
  72. package/dist/utils/index.d.ts +47 -47
  73. package/dist/utils/index.js +1 -1
  74. package/dist/zustand/index.d.ts +6 -6
  75. package/dist/zustand/index.js +0 -3
  76. package/package.json +5 -5
  77. package/dist/chunk-3AJVNMY5.js +0 -4769
  78. package/dist/chunk-3MEXPLWT.js +0 -265
  79. package/dist/chunk-3ZMAGTWF.js +0 -18
  80. package/dist/chunk-4O4MII5S.js +0 -4716
  81. package/dist/chunk-5EYJ2GIN.js +0 -122
  82. package/dist/chunk-7M2VOCYN.js +0 -1
  83. package/dist/chunk-BPQVTIUP.js +0 -105
  84. package/dist/chunk-BZZCNLT6.js +0 -12
  85. package/dist/chunk-CLDCYJQT.js +0 -1
  86. package/dist/chunk-E565XMTQ.js +0 -17
  87. package/dist/chunk-HRWLKKWM.js +0 -758
  88. package/dist/chunk-IGDYWFNE.js +0 -5198
  89. package/dist/chunk-IIMU5YAJ.js +0 -53
  90. package/dist/chunk-IVGI4GDL.js +0 -1593
  91. package/dist/chunk-JFL3GRD4.js +0 -39
  92. package/dist/chunk-LAWLB6CT.js +0 -951
  93. package/dist/chunk-LGKLC5MG.js +0 -44
  94. package/dist/chunk-LRWTWOGP.js +0 -1778
  95. package/dist/chunk-MP3GPBPX.js +0 -1874
  96. package/dist/chunk-N55DVMAG.js +0 -14
  97. package/dist/chunk-NLBQTDOW.js +0 -12051
  98. package/dist/chunk-O6JXQ6UQ.js +0 -468
  99. package/dist/chunk-OBBQ2JCM.js +0 -68
  100. package/dist/chunk-PDHTXPSF.js +0 -12
  101. package/dist/chunk-PLP3NYPL.js +0 -356
  102. package/dist/chunk-R2XR4FCV.js +0 -48
  103. package/dist/chunk-R66W5UDG.js +0 -26
  104. package/dist/chunk-RYTEQBAO.js +0 -37
  105. package/dist/chunk-SDXSB3HN.js +0 -425
  106. package/dist/chunk-TKAYX2SP.js +0 -204
  107. package/dist/chunk-TUMSNGTX.js +0 -35
  108. package/dist/chunk-VNAZTCHA.js +0 -65
  109. package/dist/chunk-VNFR57DF.js +0 -87
  110. package/dist/chunk-VTXTZXAU.js +0 -539
  111. package/dist/chunk-W73ZABT6.js +0 -85
  112. package/dist/chunk-WU4FNWCW.js +0 -2281
  113. package/dist/chunk-XZGSCABI.js +0 -383
  114. package/dist/chunk-YNWZIWJL.js +0 -1863
  115. /package/dist/{chunk-2RJMVWFJ.js → chunk-GEFWMU26.js} +0 -0
  116. /package/dist/{chunk-22UVE3RA.js → chunk-HENXLGVD.js} +0 -0
@@ -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 = {}) {
@@ -317,8 +317,8 @@ interface SerializedWorkflowDefinition {
317
317
  }
318
318
 
319
319
  declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
320
- deprecated: "deprecated";
321
320
  active: "active";
321
+ deprecated: "deprecated";
322
322
  archived: "archived";
323
323
  }>;
324
324
  type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
@@ -3222,6 +3222,7 @@ type Database = {
3222
3222
  title: string | null;
3223
3223
  updated_at: string;
3224
3224
  user_id: string;
3225
+ visibility: string;
3225
3226
  };
3226
3227
  Insert: {
3227
3228
  content: string;
@@ -3236,6 +3237,7 @@ type Database = {
3236
3237
  title?: string | null;
3237
3238
  updated_at?: string;
3238
3239
  user_id: string;
3240
+ visibility?: string;
3239
3241
  };
3240
3242
  Update: {
3241
3243
  content?: string;
@@ -3250,6 +3252,7 @@ type Database = {
3250
3252
  title?: string | null;
3251
3253
  updated_at?: string;
3252
3254
  user_id?: string;
3255
+ visibility?: string;
3253
3256
  };
3254
3257
  Relationships: [
3255
3258
  {
@@ -4052,6 +4055,74 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
4052
4055
  }, z.core.$strip>>;
4053
4056
  type OntologyScope = z.infer<typeof OntologyScopeSchema>;
4054
4057
 
4058
+ type JsonPrimitive = string | number | boolean | null;
4059
+ type JsonValue = JsonPrimitive | JsonValue[] | {
4060
+ [key: string]: JsonValue;
4061
+ };
4062
+ /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
4063
+ interface SystemEntry {
4064
+ id: string;
4065
+ label?: string;
4066
+ title?: string;
4067
+ description?: string;
4068
+ kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
4069
+ parentSystemId?: string;
4070
+ ui?: {
4071
+ path: string;
4072
+ surfaces: string[];
4073
+ icon?: string;
4074
+ order?: number;
4075
+ };
4076
+ lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
4077
+ responsibleRoleId?: string;
4078
+ governedByKnowledge?: string[];
4079
+ actions?: {
4080
+ actionId: string;
4081
+ intent: 'exposes' | 'consumes';
4082
+ invocation?: unknown;
4083
+ }[];
4084
+ policies?: string[];
4085
+ drivesGoals?: string[];
4086
+ /** @deprecated Use lifecycle. Accepted for one publish cycle. */
4087
+ status?: 'active' | 'deprecated' | 'archived';
4088
+ path?: string;
4089
+ icon?: string;
4090
+ color?: string;
4091
+ uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
4092
+ enabled?: boolean;
4093
+ devOnly?: boolean;
4094
+ requiresAdmin?: boolean;
4095
+ order: number;
4096
+ config?: Record<string, JsonValue>;
4097
+ ontology?: OntologyScope;
4098
+ systems?: Record<string, SystemEntry>;
4099
+ subsystems?: Record<string, SystemEntry>;
4100
+ }
4101
+
4102
+ declare const LinkSchema: z.ZodObject<{
4103
+ nodeId: z.ZodString;
4104
+ kind: z.ZodEnum<{
4105
+ affects: "affects";
4106
+ actions: "actions";
4107
+ effects: "effects";
4108
+ links: "links";
4109
+ reads: "reads";
4110
+ writes: "writes";
4111
+ emits: "emits";
4112
+ triggers: "triggers";
4113
+ uses: "uses";
4114
+ approval: "approval";
4115
+ contains: "contains";
4116
+ references: "references";
4117
+ maps_to: "maps_to";
4118
+ governs: "governs";
4119
+ originates_from: "originates_from";
4120
+ applies_to: "applies_to";
4121
+ uses_catalog: "uses_catalog";
4122
+ }>;
4123
+ }, z.core.$strip>;
4124
+ type Link = z.infer<typeof LinkSchema>;
4125
+
4055
4126
  declare const GetRecentActivityResponseSchema: z.ZodObject<{
4056
4127
  entries: z.ZodArray<z.ZodObject<{
4057
4128
  id: z.ZodString;
@@ -4346,50 +4417,6 @@ interface CostByModelResponse {
4346
4417
  */
4347
4418
  type AIResourceDefinition = SerializedWorkflowDefinition | SerializedAgentDefinition;
4348
4419
 
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
4420
  /**
4394
4421
  * Resource Registry type definitions
4395
4422
  */
@@ -4439,30 +4466,6 @@ interface ResourceDefinition {
4439
4466
  archived?: boolean;
4440
4467
  }
4441
4468
 
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
4469
  declare const ResourceCategorySchema: z.ZodEnum<{
4467
4470
  diagnostic: "diagnostic";
4468
4471
  production: "production";
@@ -5236,7 +5239,7 @@ type FieldPath<T> = T extends object ? {
5236
5239
  [K in keyof T & string]: T[K] extends ReadonlyArray<unknown> | unknown[] ? K : T[K] extends object | undefined ? K | `${K}.${FieldPath<NonNullable<T[K]>>}` : K;
5237
5240
  }[keyof T & string] : never;
5238
5241
  /** Discriminated string union of supported Mantine components. */
5239
- type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
5242
+ type StepConfigComponent = 'checkboxgroup' | 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
5240
5243
  /** Rendering hint for a single field within a section. */
5241
5244
  interface StepConfigFieldHint<T> {
5242
5245
  /** Typed dotted path into T — typo = TS error. */
@@ -6980,7 +6983,7 @@ declare function LeadGenRouteShell({ title, caption, body, links }: {
6980
6983
  links?: LeadGenRouteLink[];
6981
6984
  }): react_jsx_runtime.JSX.Element;
6982
6985
  declare function getStatusColor(status: string | null): "green" | "red" | "gray";
6983
- declare function getEnrichmentColor(status: string): "green" | "yellow" | "red" | "gray";
6986
+ declare function getEnrichmentColor(status: string): "green" | "red" | "gray" | "yellow";
6984
6987
 
6985
6988
  declare function useDeleteLists(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
6986
6989