@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
package/dist/api/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export { createElevasisQueryClient } from '../chunk-3QXJK5IY.js';
2
- export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-ND5TDV2J.js';
3
- import '../chunk-2RJMVWFJ.js';
1
+ export { createElevasisQueryClient } from '../chunk-YYX7OPZQ.js';
2
+ export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-57OZ3AEG.js';
3
+ import '../chunk-GEFWMU26.js';
4
4
  import '../chunk-KRWALB24.js';
5
5
  import '../chunk-DD3CCMCZ.js';
6
6
  import '../chunk-I2KLQ2HA.js';
@@ -2790,6 +2790,7 @@ type Database = {
2790
2790
  title: string | null;
2791
2791
  updated_at: string;
2792
2792
  user_id: string;
2793
+ visibility: string;
2793
2794
  };
2794
2795
  Insert: {
2795
2796
  content: string;
@@ -2804,6 +2805,7 @@ type Database = {
2804
2805
  title?: string | null;
2805
2806
  updated_at?: string;
2806
2807
  user_id: string;
2808
+ visibility?: string;
2807
2809
  };
2808
2810
  Update: {
2809
2811
  content?: string;
@@ -2818,6 +2820,7 @@ type Database = {
2818
2820
  title?: string | null;
2819
2821
  updated_at?: string;
2820
2822
  user_id?: string;
2823
+ visibility?: string;
2821
2824
  };
2822
2825
  Relationships: [
2823
2826
  {
@@ -3122,9 +3125,9 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3122
3125
  status: z$1.ZodEnum<{
3123
3126
  draft: "draft";
3124
3127
  archived: "archived";
3125
- closing: "closing";
3126
3128
  enriching: "enriching";
3127
3129
  launched: "launched";
3130
+ closing: "closing";
3128
3131
  }>;
3129
3132
  metadata: z$1.ZodObject<{
3130
3133
  buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -3163,10 +3166,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3163
3166
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3164
3167
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3165
3168
  text: "text";
3166
- count: "count";
3167
- json: "json";
3168
3169
  badge: "badge";
3169
3170
  datetime: "datetime";
3171
+ count: "count";
3172
+ json: "json";
3170
3173
  }>>;
3171
3174
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3172
3175
  }, z$1.core.$strip>>>;
@@ -3177,10 +3180,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3177
3180
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3178
3181
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3179
3182
  text: "text";
3180
- count: "count";
3181
- json: "json";
3182
3183
  badge: "badge";
3183
3184
  datetime: "datetime";
3185
+ count: "count";
3186
+ json: "json";
3184
3187
  }>>;
3185
3188
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3186
3189
  }, z$1.core.$strip>>>;
@@ -3230,6 +3233,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3230
3233
  enabled: z$1.ZodOptional<z$1.ZodBoolean>;
3231
3234
  order: z$1.ZodOptional<z$1.ZodNumber>;
3232
3235
  }, z$1.core.$strip>>>;
3236
+ dataMode: z$1.ZodOptional<z$1.ZodEnum<{
3237
+ mock: "mock";
3238
+ live: "live";
3239
+ }>>;
3233
3240
  }, z$1.core.$strip>;
3234
3241
  }, z$1.core.$strip>;
3235
3242
  type AcqListResponse = z$1.infer<typeof AcqListResponseSchema>;
@@ -3339,11 +3346,6 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3339
3346
  }, z$1.core.$strip>>;
3340
3347
  type OntologyScope = z$1.infer<typeof OntologyScopeSchema>;
3341
3348
 
3342
- /**
3343
- * Time range selector for dashboard metrics
3344
- */
3345
- type TimeRange = '1h' | '24h' | '7d' | '30d';
3346
-
3347
3349
  type JsonPrimitive = string | number | boolean | null;
3348
3350
  type JsonValue = JsonPrimitive | JsonValue[] | {
3349
3351
  [key: string]: JsonValue;
@@ -3392,9 +3394,9 @@ declare const SurfaceTypeSchema: z$1.ZodEnum<{
3392
3394
  dashboard: "dashboard";
3393
3395
  settings: "settings";
3394
3396
  graph: "graph";
3395
- list: "list";
3396
3397
  page: "page";
3397
3398
  detail: "detail";
3399
+ list: "list";
3398
3400
  }>;
3399
3401
  interface SidebarSurfaceNode {
3400
3402
  type: 'surface';
@@ -3597,7 +3599,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3597
3599
  lastModified: string;
3598
3600
  } | undefined;
3599
3601
  }>>;
3600
- branding: z$1.ZodObject<{
3602
+ branding: z$1.ZodDefault<z$1.ZodObject<{
3601
3603
  organizationName: z$1.ZodString;
3602
3604
  productName: z$1.ZodString;
3603
3605
  shortName: z$1.ZodString;
@@ -3606,7 +3608,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3606
3608
  light: z$1.ZodOptional<z$1.ZodString>;
3607
3609
  dark: z$1.ZodOptional<z$1.ZodString>;
3608
3610
  }, z$1.core.$strip>>;
3609
- }, z$1.core.$strip>;
3611
+ }, z$1.core.$strip>>;
3610
3612
  navigation: z$1.ZodDefault<z$1.ZodObject<{
3611
3613
  sidebar: z$1.ZodDefault<z$1.ZodObject<{
3612
3614
  primary: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
@@ -3827,8 +3829,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3827
3829
  description: z$1.ZodOptional<z$1.ZodString>;
3828
3830
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3829
3831
  status: z$1.ZodEnum<{
3830
- deprecated: "deprecated";
3831
3832
  active: "active";
3833
+ deprecated: "deprecated";
3832
3834
  archived: "archived";
3833
3835
  }>;
3834
3836
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -3846,12 +3848,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3846
3848
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3847
3849
  path: z$1.ZodString;
3848
3850
  role: z$1.ZodEnum<{
3849
- config: "config";
3850
3851
  entrypoint: "entrypoint";
3851
3852
  handler: "handler";
3852
3853
  schema: "schema";
3853
3854
  test: "test";
3854
3855
  docs: "docs";
3856
+ config: "config";
3855
3857
  }>;
3856
3858
  symbol: z$1.ZodOptional<z$1.ZodString>;
3857
3859
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -3862,10 +3864,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3862
3864
  label: z$1.ZodString;
3863
3865
  payloadSchema: z$1.ZodOptional<z$1.ZodString>;
3864
3866
  lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
3867
+ active: "active";
3865
3868
  deprecated: "deprecated";
3866
3869
  draft: "draft";
3867
3870
  beta: "beta";
3868
- active: "active";
3869
3871
  archived: "archived";
3870
3872
  }>>;
3871
3873
  }, z$1.core.$strip>>>;
@@ -3877,8 +3879,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3877
3879
  description: z$1.ZodOptional<z$1.ZodString>;
3878
3880
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3879
3881
  status: z$1.ZodEnum<{
3880
- deprecated: "deprecated";
3881
3882
  active: "active";
3883
+ deprecated: "deprecated";
3882
3884
  archived: "archived";
3883
3885
  }>;
3884
3886
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -3896,12 +3898,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3896
3898
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3897
3899
  path: z$1.ZodString;
3898
3900
  role: z$1.ZodEnum<{
3899
- config: "config";
3900
3901
  entrypoint: "entrypoint";
3901
3902
  handler: "handler";
3902
3903
  schema: "schema";
3903
3904
  test: "test";
3904
3905
  docs: "docs";
3906
+ config: "config";
3905
3907
  }>;
3906
3908
  symbol: z$1.ZodOptional<z$1.ZodString>;
3907
3909
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -3943,10 +3945,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3943
3945
  label: z$1.ZodString;
3944
3946
  payloadSchema: z$1.ZodOptional<z$1.ZodString>;
3945
3947
  lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
3948
+ active: "active";
3946
3949
  deprecated: "deprecated";
3947
3950
  draft: "draft";
3948
3951
  beta: "beta";
3949
- active: "active";
3950
3952
  archived: "archived";
3951
3953
  }>>;
3952
3954
  }, z$1.core.$strip>>>;
@@ -3958,8 +3960,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3958
3960
  description: z$1.ZodOptional<z$1.ZodString>;
3959
3961
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3960
3962
  status: z$1.ZodEnum<{
3961
- deprecated: "deprecated";
3962
3963
  active: "active";
3964
+ deprecated: "deprecated";
3963
3965
  archived: "archived";
3964
3966
  }>;
3965
3967
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -3977,12 +3979,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3977
3979
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3978
3980
  path: z$1.ZodString;
3979
3981
  role: z$1.ZodEnum<{
3980
- config: "config";
3981
3982
  entrypoint: "entrypoint";
3982
3983
  handler: "handler";
3983
3984
  schema: "schema";
3984
3985
  test: "test";
3985
3986
  docs: "docs";
3987
+ config: "config";
3986
3988
  }>;
3987
3989
  symbol: z$1.ZodOptional<z$1.ZodString>;
3988
3990
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -3997,8 +3999,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3997
3999
  description: z$1.ZodOptional<z$1.ZodString>;
3998
4000
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3999
4001
  status: z$1.ZodEnum<{
4000
- deprecated: "deprecated";
4001
4002
  active: "active";
4003
+ deprecated: "deprecated";
4002
4004
  archived: "archived";
4003
4005
  }>;
4004
4006
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -4016,12 +4018,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4016
4018
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4017
4019
  path: z$1.ZodString;
4018
4020
  role: z$1.ZodEnum<{
4019
- config: "config";
4020
4021
  entrypoint: "entrypoint";
4021
4022
  handler: "handler";
4022
4023
  schema: "schema";
4023
4024
  test: "test";
4024
4025
  docs: "docs";
4026
+ config: "config";
4025
4027
  }>;
4026
4028
  symbol: z$1.ZodOptional<z$1.ZodString>;
4027
4029
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -4135,10 +4137,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4135
4137
  }, z$1.core.$strip>], "kind">>>;
4136
4138
  knowledge: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
4137
4139
  lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4140
+ active: "active";
4138
4141
  deprecated: "deprecated";
4139
4142
  draft: "draft";
4140
4143
  beta: "beta";
4141
- active: "active";
4142
4144
  archived: "archived";
4143
4145
  }>>;
4144
4146
  }, z$1.core.$strip>>>>;
@@ -4216,10 +4218,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4216
4218
  roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4217
4219
  }, z$1.core.$strip>>;
4218
4220
  lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4221
+ active: "active";
4219
4222
  deprecated: "deprecated";
4220
4223
  draft: "draft";
4221
4224
  beta: "beta";
4222
- active: "active";
4223
4225
  archived: "archived";
4224
4226
  }>>;
4225
4227
  }, z$1.core.$strip>>>>;
@@ -4302,12 +4304,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4302
4304
  kind: z$1.ZodEnum<{
4303
4305
  knowledge: "knowledge";
4304
4306
  system: "system";
4307
+ resource: "resource";
4305
4308
  action: "action";
4306
4309
  ontology: "ontology";
4307
4310
  role: "role";
4308
- goal: "goal";
4309
- resource: "resource";
4310
4311
  stage: "stage";
4312
+ goal: "goal";
4311
4313
  "customer-segment": "customer-segment";
4312
4314
  offering: "offering";
4313
4315
  }>;
@@ -4317,7 +4319,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4317
4319
  nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
4318
4320
  }, z$1.core.$strip>]>, z$1.ZodTransform<{
4319
4321
  target: {
4320
- kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
4322
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
4321
4323
  id: string;
4322
4324
  };
4323
4325
  nodeId: string;
@@ -4325,7 +4327,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4325
4327
  nodeId: string;
4326
4328
  } | {
4327
4329
  target: {
4328
- kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
4330
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
4329
4331
  id: string;
4330
4332
  };
4331
4333
  }>>>>;
@@ -4336,6 +4338,11 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4336
4338
 
4337
4339
  type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
4338
4340
 
4341
+ /**
4342
+ * Time range selector for dashboard metrics
4343
+ */
4344
+ type TimeRange = '1h' | '24h' | '7d' | '30d';
4345
+
4339
4346
  interface ApiErrorDetails {
4340
4347
  method: string;
4341
4348
  statusCode: number;
@@ -4395,7 +4402,7 @@ type FieldPath<T> = T extends object ? {
4395
4402
  [K in keyof T & string]: T[K] extends ReadonlyArray<unknown> | unknown[] ? K : T[K] extends object | undefined ? K | `${K}.${FieldPath<NonNullable<T[K]>>}` : K;
4396
4403
  }[keyof T & string] : never;
4397
4404
  /** Discriminated string union of supported Mantine components. */
4398
- type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
4405
+ type StepConfigComponent = 'checkboxgroup' | 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
4399
4406
  /** Rendering hint for a single field within a section. */
4400
4407
  interface StepConfigFieldHint<T> {
4401
4408
  /** Typed dotted path into T — typo = TS error. */
package/dist/app/index.js CHANGED
@@ -1,30 +1,28 @@
1
- import { AppErrorBoundary } from '../chunk-SDXSB3HN.js';
2
- import { SidebarProvider, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer } from '../chunk-V6SZ4ECN.js';
3
- import '../chunk-N55DVMAG.js';
4
- import '../chunk-X4WBGKJQ.js';
5
- import '../chunk-IIMU5YAJ.js';
6
- import '../chunk-RYTEQBAO.js';
7
- import '../chunk-BZZCNLT6.js';
8
- import { ElevasisUIProvider } from '../chunk-BPQVTIUP.js';
9
- import '../chunk-RQA2EVN3.js';
10
- import '../chunk-3FV6HBXS.js';
11
- import '../chunk-WLOQ4IBG.js';
12
- import { SystemShell } from '../chunk-PLP3NYPL.js';
13
- import '../chunk-HRWLKKWM.js';
1
+ import { AppErrorBoundary, ElevasisSystemsProvider, useElevasisSystems, SystemShell, ElevasisUIProvider } from '../chunk-F6EFC2MJ.js';
2
+ import '../chunk-CXY7FMUM.js';
3
+ import '../chunk-SIQ3P4OR.js';
14
4
  import '../chunk-3KMDHCAR.js';
15
- import { ElevasisSystemsProvider, useElevasisSystems } from '../chunk-O6JXQ6UQ.js';
16
- import '../chunk-TKAYX2SP.js';
5
+ import '../chunk-AKW7KISS.js';
6
+ import '../chunk-WF7CONXF.js';
7
+ import '../chunk-ZTWA5H77.js';
8
+ import '../chunk-AUDNF2Q7.js';
9
+ import '../chunk-6M6OLGQY.js';
10
+ import '../chunk-BRXELOHC.js';
11
+ import { listAllSystems } from '../chunk-O2Q4VMRN.js';
12
+ import { SidebarProvider, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer } from '../chunk-LUYVRATI.js';
17
13
  import '../chunk-NYBEU5TE.js';
18
- import { listAllSystems } from '../chunk-DTFKWZ7A.js';
19
- import '../chunk-ND5TDV2J.js';
20
- import { TanStackRouterBridge, ScrollToTop } from '../chunk-2IFYDILW.js';
21
- import '../chunk-Q7DJKLEN.js';
22
- import '../chunk-VTXTZXAU.js';
23
- import '../chunk-E565XMTQ.js';
14
+ import '../chunk-WLOQ4IBG.js';
15
+ import '../chunk-57OZ3AEG.js';
24
16
  import '../chunk-JBWJ6WHZ.js';
17
+ import '../chunk-GX6XBRRF.js';
18
+ import '../chunk-R3VCBZDC.js';
25
19
  import '../chunk-DT3QYZVU.js';
20
+ import { TanStackRouterBridge, ScrollToTop } from '../chunk-2IFYDILW.js';
21
+ import '../chunk-Q7DJKLEN.js';
22
+ import '../chunk-HENXLGVD.js';
23
+ import '../chunk-7FPLLSHN.js';
26
24
  import '../chunk-RNP5R5I3.js';
27
- import '../chunk-2RJMVWFJ.js';
25
+ import '../chunk-GEFWMU26.js';
28
26
  import '../chunk-KRWALB24.js';
29
27
  import { useSessionCheck } from '../chunk-VKIZUUPM.js';
30
28
  import { useInitialization } from '../chunk-533DUEQY.js';
@@ -212,7 +210,11 @@ function AuthenticatedShellLayout({
212
210
  const projectedLinks = getSidebarLinks({ isPlatformAdmin, isDev });
213
211
  const visibleNavItems = sidebarLinks ? sidebarLinks(projectedLinks) : projectedLinks;
214
212
  const handleLogout = () => {
215
- signOutReturnTo ? signOut({ returnTo: signOutReturnTo }) : signOut();
213
+ if (signOutReturnTo) {
214
+ signOut({ returnTo: signOutReturnTo });
215
+ } else {
216
+ signOut();
217
+ }
216
218
  };
217
219
  return /* @__PURE__ */ jsxs(AppShellContainer, { children: [
218
220
  /* @__PURE__ */ jsx(
@@ -1,12 +1,10 @@
1
- export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-LAWLB6CT.js';
2
- import '../chunk-VNAZTCHA.js';
3
- import '../chunk-HRWLKKWM.js';
1
+ export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-SIQ3P4OR.js';
4
2
  import '../chunk-3KMDHCAR.js';
5
3
  import '../chunk-NYBEU5TE.js';
4
+ import '../chunk-DT3QYZVU.js';
6
5
  import '../chunk-2IFYDILW.js';
7
6
  import '../chunk-Q7DJKLEN.js';
8
- import '../chunk-DT3QYZVU.js';
9
- import '../chunk-2RJMVWFJ.js';
7
+ import '../chunk-GEFWMU26.js';
10
8
  import '../chunk-KRWALB24.js';
11
9
  import '../chunk-VKIZUUPM.js';
12
10
  import '../chunk-533DUEQY.js';
@@ -1,4 +1,4 @@
1
- import { APIClientError } from './chunk-2RJMVWFJ.js';
1
+ import { APIClientError } from './chunk-GEFWMU26.js';
2
2
  import { OrganizationContext } from './chunk-DD3CCMCZ.js';
3
3
  import { createContext, useContext, useMemo, useCallback } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -4,6 +4,19 @@ import dagre from '@dagrejs/dagre';
4
4
  import { IconCircleDot, IconLoader, IconAlertTriangle, IconX, IconCheck } from '@tabler/icons-react';
5
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
 
7
+ function useMergedExecution(fetchedExecution, streamingLogs) {
8
+ return useMemo(() => {
9
+ if (!fetchedExecution) return void 0;
10
+ if (!streamingLogs || streamingLogs.length === 0) return fetchedExecution;
11
+ const existingKeys = new Set(fetchedExecution.executionLogs.map((log) => `${log.timestamp}:${log.message}`));
12
+ const newLogs = streamingLogs.filter((log) => !existingKeys.has(`${log.timestamp}:${log.message}`));
13
+ if (newLogs.length === 0) return fetchedExecution;
14
+ return {
15
+ ...fetchedExecution,
16
+ executionLogs: [...fetchedExecution.executionLogs, ...newLogs].sort((a, b) => a.timestamp - b.timestamp)
17
+ };
18
+ }, [fetchedExecution, streamingLogs]);
19
+ }
7
20
  function useExecutionPath(executionLogs, workflowDefinition) {
8
21
  return useMemo(() => {
9
22
  if (!executionLogs || executionLogs.length === 0) {
@@ -805,4 +818,4 @@ function calculateBarPosition(startTime, endTime, executionStart, executionEnd)
805
818
  };
806
819
  }
807
820
 
808
- export { AGENT_CONSTANTS, CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout };
821
+ export { AGENT_CONSTANTS, CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout };
@@ -1,6 +1,6 @@
1
- import { PRESETS, getPreset, generateShades } from './chunk-3FV6HBXS.js';
1
+ import { PRESETS, getPreset, generateShades } from './chunk-WF7CONXF.js';
2
2
  import { Tooltip, Tree, Text, TagsInput, Tabs, Table, Stack, SimpleGrid, Select, Combobox, SegmentedControl, ScrollArea, Paper, Popover, Notification, MultiSelect, Modal, Menu, Input, HoverCard, Group, Grid, Flex, Drawer, Code, Divider, Card, Button, Accordion, createTheme } from '@mantine/core';
3
- import { createContext, useContext } from 'react';
3
+ import { createContext, useContext, useMemo } from 'react';
4
4
 
5
5
  // src/theme/cssVariables.ts
6
6
  var TOKEN_VAR_MAP = {
@@ -418,6 +418,8 @@ var componentThemes = {
418
418
  })
419
419
  // Pagination styles are in custom.css to support :not([data-active]) selector
420
420
  };
421
+
422
+ // src/theme/MantineThemeOverride.ts
421
423
  var mantineThemeOverride = createTheme({
422
424
  defaultRadius: "xs",
423
425
  fontFamily: 'Roboto, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
@@ -450,5 +452,39 @@ var PresetsProvider = PresetsContext.Provider;
450
452
  function usePresetsContext() {
451
453
  return useContext(PresetsContext);
452
454
  }
455
+ var BUILT_IN_NAMES = /* @__PURE__ */ new Set([
456
+ "default",
457
+ "tactical",
458
+ "regal",
459
+ "cyber-volt",
460
+ "aurora",
461
+ "rose-gold",
462
+ "midnight",
463
+ "titanium",
464
+ "obsidian",
465
+ "honey",
466
+ "abyss",
467
+ "canopy",
468
+ "slate",
469
+ "cyber-strike",
470
+ "cyber-chrome",
471
+ "cyber-void",
472
+ "quarry"
473
+ ]);
474
+ function titleCase(str) {
475
+ return str.replace(/(^|-)(\w)/g, (_, sep, char) => (sep ? " " : "") + char.toUpperCase());
476
+ }
477
+ function useAvailablePresets() {
478
+ const presetsMap = usePresetsContext();
479
+ return useMemo(() => {
480
+ return Object.entries(presetsMap).map(([key, preset]) => ({
481
+ value: key,
482
+ label: preset.label ?? titleCase(key),
483
+ description: preset.description ?? "",
484
+ colors: preset.colors ?? [preset.dark.primary, preset.dark.background, preset.light.background],
485
+ isCustom: !BUILT_IN_NAMES.has(key)
486
+ }));
487
+ }, [presetsMap]);
488
+ }
453
489
 
454
- export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, glassBase, mantineThemeOverride, usePresetsContext };
490
+ export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, glassBase, mantineThemeOverride, useAvailablePresets, usePresetsContext };