@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
@@ -2884,6 +2884,7 @@ type Database = {
2884
2884
  title: string | null;
2885
2885
  updated_at: string;
2886
2886
  user_id: string;
2887
+ visibility: string;
2887
2888
  };
2888
2889
  Insert: {
2889
2890
  content: string;
@@ -2898,6 +2899,7 @@ type Database = {
2898
2899
  title?: string | null;
2899
2900
  updated_at?: string;
2900
2901
  user_id: string;
2902
+ visibility?: string;
2901
2903
  };
2902
2904
  Update: {
2903
2905
  content?: string;
@@ -2912,6 +2914,7 @@ type Database = {
2912
2914
  title?: string | null;
2913
2915
  updated_at?: string;
2914
2916
  user_id?: string;
2917
+ visibility?: string;
2915
2918
  };
2916
2919
  Relationships: [
2917
2920
  {
@@ -3201,9 +3204,9 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3201
3204
  status: z$1.ZodEnum<{
3202
3205
  draft: "draft";
3203
3206
  archived: "archived";
3204
- closing: "closing";
3205
3207
  enriching: "enriching";
3206
3208
  launched: "launched";
3209
+ closing: "closing";
3207
3210
  }>;
3208
3211
  metadata: z$1.ZodObject<{
3209
3212
  buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -3242,10 +3245,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3242
3245
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3243
3246
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3244
3247
  text: "text";
3245
- count: "count";
3246
- json: "json";
3247
3248
  badge: "badge";
3248
3249
  datetime: "datetime";
3250
+ count: "count";
3251
+ json: "json";
3249
3252
  }>>;
3250
3253
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3251
3254
  }, z$1.core.$strip>>>;
@@ -3256,10 +3259,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3256
3259
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3257
3260
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3258
3261
  text: "text";
3259
- count: "count";
3260
- json: "json";
3261
3262
  badge: "badge";
3262
3263
  datetime: "datetime";
3264
+ count: "count";
3265
+ json: "json";
3263
3266
  }>>;
3264
3267
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3265
3268
  }, z$1.core.$strip>>>;
@@ -3309,6 +3312,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3309
3312
  enabled: z$1.ZodOptional<z$1.ZodBoolean>;
3310
3313
  order: z$1.ZodOptional<z$1.ZodNumber>;
3311
3314
  }, z$1.core.$strip>>>;
3315
+ dataMode: z$1.ZodOptional<z$1.ZodEnum<{
3316
+ mock: "mock";
3317
+ live: "live";
3318
+ }>>;
3312
3319
  }, z$1.core.$strip>;
3313
3320
  }, z$1.core.$strip>;
3314
3321
  type AcqListResponse = z$1.infer<typeof AcqListResponseSchema>;
@@ -3418,11 +3425,6 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3418
3425
  }, z$1.core.$strip>>;
3419
3426
  type OntologyScope = z$1.infer<typeof OntologyScopeSchema>;
3420
3427
 
3421
- /**
3422
- * Time range selector for dashboard metrics
3423
- */
3424
- type TimeRange = '1h' | '24h' | '7d' | '30d';
3425
-
3426
3428
  type JsonPrimitive = string | number | boolean | null;
3427
3429
  type JsonValue = JsonPrimitive | JsonValue[] | {
3428
3430
  [key: string]: JsonValue;
@@ -3472,9 +3474,9 @@ declare const SurfaceTypeSchema: z$1.ZodEnum<{
3472
3474
  dashboard: "dashboard";
3473
3475
  settings: "settings";
3474
3476
  graph: "graph";
3475
- list: "list";
3476
3477
  page: "page";
3477
3478
  detail: "detail";
3479
+ list: "list";
3478
3480
  }>;
3479
3481
  interface SidebarSurfaceNode {
3480
3482
  type: 'surface';
@@ -3677,7 +3679,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3677
3679
  lastModified: string;
3678
3680
  } | undefined;
3679
3681
  }>>;
3680
- branding: z$1.ZodObject<{
3682
+ branding: z$1.ZodDefault<z$1.ZodObject<{
3681
3683
  organizationName: z$1.ZodString;
3682
3684
  productName: z$1.ZodString;
3683
3685
  shortName: z$1.ZodString;
@@ -3686,7 +3688,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3686
3688
  light: z$1.ZodOptional<z$1.ZodString>;
3687
3689
  dark: z$1.ZodOptional<z$1.ZodString>;
3688
3690
  }, z$1.core.$strip>>;
3689
- }, z$1.core.$strip>;
3691
+ }, z$1.core.$strip>>;
3690
3692
  navigation: z$1.ZodDefault<z$1.ZodObject<{
3691
3693
  sidebar: z$1.ZodDefault<z$1.ZodObject<{
3692
3694
  primary: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
@@ -3907,8 +3909,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3907
3909
  description: z$1.ZodOptional<z$1.ZodString>;
3908
3910
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3909
3911
  status: z$1.ZodEnum<{
3910
- deprecated: "deprecated";
3911
3912
  active: "active";
3913
+ deprecated: "deprecated";
3912
3914
  archived: "archived";
3913
3915
  }>;
3914
3916
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -3926,12 +3928,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3926
3928
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3927
3929
  path: z$1.ZodString;
3928
3930
  role: z$1.ZodEnum<{
3929
- config: "config";
3930
3931
  entrypoint: "entrypoint";
3931
3932
  handler: "handler";
3932
3933
  schema: "schema";
3933
3934
  test: "test";
3934
3935
  docs: "docs";
3936
+ config: "config";
3935
3937
  }>;
3936
3938
  symbol: z$1.ZodOptional<z$1.ZodString>;
3937
3939
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -3942,10 +3944,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3942
3944
  label: z$1.ZodString;
3943
3945
  payloadSchema: z$1.ZodOptional<z$1.ZodString>;
3944
3946
  lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
3947
+ active: "active";
3945
3948
  deprecated: "deprecated";
3946
3949
  draft: "draft";
3947
3950
  beta: "beta";
3948
- active: "active";
3949
3951
  archived: "archived";
3950
3952
  }>>;
3951
3953
  }, z$1.core.$strip>>>;
@@ -3957,8 +3959,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3957
3959
  description: z$1.ZodOptional<z$1.ZodString>;
3958
3960
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3959
3961
  status: z$1.ZodEnum<{
3960
- deprecated: "deprecated";
3961
3962
  active: "active";
3963
+ deprecated: "deprecated";
3962
3964
  archived: "archived";
3963
3965
  }>;
3964
3966
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -3976,12 +3978,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3976
3978
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3977
3979
  path: z$1.ZodString;
3978
3980
  role: z$1.ZodEnum<{
3979
- config: "config";
3980
3981
  entrypoint: "entrypoint";
3981
3982
  handler: "handler";
3982
3983
  schema: "schema";
3983
3984
  test: "test";
3984
3985
  docs: "docs";
3986
+ config: "config";
3985
3987
  }>;
3986
3988
  symbol: z$1.ZodOptional<z$1.ZodString>;
3987
3989
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -4023,10 +4025,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4023
4025
  label: z$1.ZodString;
4024
4026
  payloadSchema: z$1.ZodOptional<z$1.ZodString>;
4025
4027
  lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
4028
+ active: "active";
4026
4029
  deprecated: "deprecated";
4027
4030
  draft: "draft";
4028
4031
  beta: "beta";
4029
- active: "active";
4030
4032
  archived: "archived";
4031
4033
  }>>;
4032
4034
  }, z$1.core.$strip>>>;
@@ -4038,8 +4040,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4038
4040
  description: z$1.ZodOptional<z$1.ZodString>;
4039
4041
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4040
4042
  status: z$1.ZodEnum<{
4041
- deprecated: "deprecated";
4042
4043
  active: "active";
4044
+ deprecated: "deprecated";
4043
4045
  archived: "archived";
4044
4046
  }>;
4045
4047
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -4057,12 +4059,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4057
4059
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4058
4060
  path: z$1.ZodString;
4059
4061
  role: z$1.ZodEnum<{
4060
- config: "config";
4061
4062
  entrypoint: "entrypoint";
4062
4063
  handler: "handler";
4063
4064
  schema: "schema";
4064
4065
  test: "test";
4065
4066
  docs: "docs";
4067
+ config: "config";
4066
4068
  }>;
4067
4069
  symbol: z$1.ZodOptional<z$1.ZodString>;
4068
4070
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -4077,8 +4079,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4077
4079
  description: z$1.ZodOptional<z$1.ZodString>;
4078
4080
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4079
4081
  status: z$1.ZodEnum<{
4080
- deprecated: "deprecated";
4081
4082
  active: "active";
4083
+ deprecated: "deprecated";
4082
4084
  archived: "archived";
4083
4085
  }>;
4084
4086
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -4096,12 +4098,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4096
4098
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4097
4099
  path: z$1.ZodString;
4098
4100
  role: z$1.ZodEnum<{
4099
- config: "config";
4100
4101
  entrypoint: "entrypoint";
4101
4102
  handler: "handler";
4102
4103
  schema: "schema";
4103
4104
  test: "test";
4104
4105
  docs: "docs";
4106
+ config: "config";
4105
4107
  }>;
4106
4108
  symbol: z$1.ZodOptional<z$1.ZodString>;
4107
4109
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -4215,10 +4217,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4215
4217
  }, z$1.core.$strip>], "kind">>>;
4216
4218
  knowledge: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
4217
4219
  lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4220
+ active: "active";
4218
4221
  deprecated: "deprecated";
4219
4222
  draft: "draft";
4220
4223
  beta: "beta";
4221
- active: "active";
4222
4224
  archived: "archived";
4223
4225
  }>>;
4224
4226
  }, z$1.core.$strip>>>>;
@@ -4296,10 +4298,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4296
4298
  roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4297
4299
  }, z$1.core.$strip>>;
4298
4300
  lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4301
+ active: "active";
4299
4302
  deprecated: "deprecated";
4300
4303
  draft: "draft";
4301
4304
  beta: "beta";
4302
- active: "active";
4303
4305
  archived: "archived";
4304
4306
  }>>;
4305
4307
  }, z$1.core.$strip>>>>;
@@ -4382,12 +4384,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4382
4384
  kind: z$1.ZodEnum<{
4383
4385
  knowledge: "knowledge";
4384
4386
  system: "system";
4387
+ resource: "resource";
4385
4388
  action: "action";
4386
4389
  ontology: "ontology";
4387
4390
  role: "role";
4388
- goal: "goal";
4389
- resource: "resource";
4390
4391
  stage: "stage";
4392
+ goal: "goal";
4391
4393
  "customer-segment": "customer-segment";
4392
4394
  offering: "offering";
4393
4395
  }>;
@@ -4397,7 +4399,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4397
4399
  nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
4398
4400
  }, z$1.core.$strip>]>, z$1.ZodTransform<{
4399
4401
  target: {
4400
- kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
4402
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
4401
4403
  id: string;
4402
4404
  };
4403
4405
  nodeId: string;
@@ -4405,7 +4407,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4405
4407
  nodeId: string;
4406
4408
  } | {
4407
4409
  target: {
4408
- kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
4410
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
4409
4411
  id: string;
4410
4412
  };
4411
4413
  }>>>>;
@@ -4417,6 +4419,11 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4417
4419
  type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
4418
4420
  type OrganizationModelSystemEntry = z$1.infer<typeof SystemEntrySchema>;
4419
4421
 
4422
+ /**
4423
+ * Time range selector for dashboard metrics
4424
+ */
4425
+ type TimeRange = '1h' | '24h' | '7d' | '30d';
4426
+
4420
4427
  /**
4421
4428
  * All valid dotted paths into T.
4422
4429
  * Arrays of primitives are treated as leaf (return K only).
@@ -4427,7 +4434,7 @@ type FieldPath<T> = T extends object ? {
4427
4434
  [K in keyof T & string]: T[K] extends ReadonlyArray<unknown> | unknown[] ? K : T[K] extends object | undefined ? K | `${K}.${FieldPath<NonNullable<T[K]>>}` : K;
4428
4435
  }[keyof T & string] : never;
4429
4436
  /** Discriminated string union of supported Mantine components. */
4430
- type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
4437
+ type StepConfigComponent = 'checkboxgroup' | 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
4431
4438
  /** Rendering hint for a single field within a section. */
4432
4439
  interface StepConfigFieldHint<T> {
4433
4440
  /** Typed dotted path into T — typo = TS error. */
@@ -4619,14 +4626,13 @@ interface ElevasisCoreProviderProps {
4619
4626
  injectStyles?: boolean;
4620
4627
  /**
4621
4628
  * CRM action definitions used by DealDetailPage.
4622
- * Defaults to DEFAULT_CRM_ACTIONS. Pass a custom array to override or extend
4623
- * the default action set for your organization's sales flow.
4629
+ * Defaults to an empty list. Pass a custom array to provide the CRM action set
4630
+ * for your organization's sales flow.
4624
4631
  *
4625
4632
  * @example
4626
4633
  * ```tsx
4627
- * import { DEFAULT_CRM_ACTIONS, type ActionDef } from '@elevasis/sdk'
4634
+ * import type { ActionDef } from '@elevasis/sdk'
4628
4635
  * const myActions: ActionDef[] = [
4629
- * ...DEFAULT_CRM_ACTIONS,
4630
4636
  * { key: 'send_quote', label: 'Send Quote',
4631
4637
  * isAvailableFor: d => d.stage_key === 'proposal',
4632
4638
  * workflowId: 'send-quote-workflow' },
@@ -1,19 +1,28 @@
1
- export { ElevasisCoreProvider, NotificationProvider, SystemShell, useNotificationAdapter } from '../chunk-PLP3NYPL.js';
2
- import '../chunk-HRWLKKWM.js';
1
+ export { ElevasisCoreProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems } from '../chunk-F6EFC2MJ.js';
2
+ import '../chunk-CXY7FMUM.js';
3
+ import '../chunk-SIQ3P4OR.js';
3
4
  import '../chunk-3KMDHCAR.js';
4
- export { ElevasisSystemsProvider, useElevasisSystems, useOptionalElevasisSystems } from '../chunk-O6JXQ6UQ.js';
5
- 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 '../chunk-O2Q4VMRN.js';
12
+ export { AppearanceProvider, useAppearance } from '../chunk-LUYVRATI.js';
6
13
  import '../chunk-NYBEU5TE.js';
7
- import '../chunk-DTFKWZ7A.js';
8
- import '../chunk-ND5TDV2J.js';
9
- import '../chunk-2IFYDILW.js';
10
- import '../chunk-Q7DJKLEN.js';
11
- import '../chunk-VTXTZXAU.js';
12
- export { AppearanceProvider, useAppearance } from '../chunk-E565XMTQ.js';
14
+ import '../chunk-WLOQ4IBG.js';
15
+ import '../chunk-57OZ3AEG.js';
13
16
  import '../chunk-JBWJ6WHZ.js';
17
+ import '../chunk-GX6XBRRF.js';
18
+ import '../chunk-R3VCBZDC.js';
14
19
  import '../chunk-DT3QYZVU.js';
20
+ import '../chunk-2IFYDILW.js';
21
+ import '../chunk-Q7DJKLEN.js';
22
+ import '../chunk-HENXLGVD.js';
23
+ import '../chunk-7FPLLSHN.js';
15
24
  import '../chunk-RNP5R5I3.js';
16
- import '../chunk-2RJMVWFJ.js';
25
+ import '../chunk-GEFWMU26.js';
17
26
  import '../chunk-KRWALB24.js';
18
27
  import '../chunk-VKIZUUPM.js';
19
28
  import '../chunk-533DUEQY.js';
package/dist/sse/index.js CHANGED
@@ -119,17 +119,38 @@ var SSEConnectionManager = class {
119
119
  clearTimeout(existing.closeTimeout);
120
120
  existing.closeTimeout = void 0;
121
121
  }
122
- existing.subscribers.add(subscriberId);
122
+ existing.subscribers.set(subscriberId, options);
123
+ if (existing.lastOpenResponse) {
124
+ void options.onopen?.(existing.lastOpenResponse);
125
+ }
123
126
  } else {
124
127
  const controller = new AbortController();
125
- this.connections.set(key, {
128
+ const subscribers = /* @__PURE__ */ new Map();
129
+ subscribers.set(subscriberId, options);
130
+ const connection = {
126
131
  controller,
127
- subscribers: /* @__PURE__ */ new Set([subscriberId]),
132
+ subscribers,
128
133
  url: options.url
129
- });
134
+ };
135
+ this.connections.set(key, connection);
130
136
  fetchEventSourceWithTokenRefresh({
131
137
  ...options,
132
- signal: controller.signal
138
+ signal: controller.signal,
139
+ async onopen(response) {
140
+ connection.lastOpenResponse = response;
141
+ await Promise.all(
142
+ Array.from(connection.subscribers.values()).map((subscriberOptions) => subscriberOptions.onopen?.(response))
143
+ );
144
+ },
145
+ onmessage(event) {
146
+ connection.subscribers.forEach((subscriberOptions) => subscriberOptions.onmessage?.(event));
147
+ },
148
+ onerror(error) {
149
+ connection.subscribers.forEach((subscriberOptions) => subscriberOptions.onerror?.(error));
150
+ },
151
+ onclose() {
152
+ connection.subscribers.forEach((subscriberOptions) => subscriberOptions.onclose?.());
153
+ }
133
154
  });
134
155
  }
135
156
  return () => this.unsubscribe(key, subscriberId);
@@ -2782,6 +2782,7 @@ type Database = {
2782
2782
  title: string | null;
2783
2783
  updated_at: string;
2784
2784
  user_id: string;
2785
+ visibility: string;
2785
2786
  };
2786
2787
  Insert: {
2787
2788
  content: string;
@@ -2796,6 +2797,7 @@ type Database = {
2796
2797
  title?: string | null;
2797
2798
  updated_at?: string;
2798
2799
  user_id: string;
2800
+ visibility?: string;
2799
2801
  };
2800
2802
  Update: {
2801
2803
  content?: string;
@@ -2810,6 +2812,7 @@ type Database = {
2810
2812
  title?: string | null;
2811
2813
  updated_at?: string;
2812
2814
  user_id?: string;
2815
+ visibility?: string;
2813
2816
  };
2814
2817
  Relationships: [
2815
2818
  {
@@ -5727,6 +5730,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
5727
5730
  title: string | null;
5728
5731
  updated_at: string;
5729
5732
  user_id: string;
5733
+ visibility: string;
5730
5734
  };
5731
5735
  Insert: {
5732
5736
  content: string;
@@ -5741,6 +5745,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
5741
5745
  title?: string | null;
5742
5746
  updated_at?: string;
5743
5747
  user_id: string;
5748
+ visibility?: string;
5744
5749
  };
5745
5750
  Update: {
5746
5751
  content?: string;
@@ -5755,6 +5760,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
5755
5760
  title?: string | null;
5756
5761
  updated_at?: string;
5757
5762
  user_id?: string;
5763
+ visibility?: string;
5758
5764
  };
5759
5765
  Relationships: [{
5760
5766
  foreignKeyName: "user_notes_organization_id_fkey";
@@ -2,9 +2,9 @@ import { server, handlers } from '../chunk-7XKCG5CT.js';
2
2
  export { handlers, server } from '../chunk-7XKCG5CT.js';
3
3
  import { mockWorkOSUser, mockUseAuth, mockUnauthenticatedUser, mockAuthenticatedUser, mockAuthLoading, createMockUseAuth } from '../chunk-DRQPEMJI.js';
4
4
  export { createMockUseAuth, mockAuthLoading, mockAuthenticatedUser, mockUnauthenticatedUser, mockUseAuth, mockWorkOSUser } from '../chunk-DRQPEMJI.js';
5
- import '../chunk-3QXJK5IY.js';
6
- import { ApiClientProvider } from '../chunk-ND5TDV2J.js';
7
- import '../chunk-2RJMVWFJ.js';
5
+ import '../chunk-YYX7OPZQ.js';
6
+ import { ApiClientProvider } from '../chunk-57OZ3AEG.js';
7
+ import '../chunk-GEFWMU26.js';
8
8
  import '../chunk-KRWALB24.js';
9
9
  import '../chunk-DD3CCMCZ.js';
10
10
  import { ElevasisServiceProvider } from '../chunk-KJ3QUBNU.js';
@@ -1,5 +1,4 @@
1
- export { useAvailablePresets } from '../chunk-JFL3GRD4.js';
2
- export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride, usePresetsContext } from '../chunk-RQA2EVN3.js';
3
- export { generateShades, getPreset, PRESETS as presets } from '../chunk-3FV6HBXS.js';
1
+ export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride, useAvailablePresets, usePresetsContext } from '../chunk-AKW7KISS.js';
2
+ export { generateShades, getPreset, PRESETS as presets } from '../chunk-WF7CONXF.js';
4
3
  import '../chunk-WLOQ4IBG.js';
5
4
  import '../chunk-I2KLQ2HA.js';
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- export { THEME_PRESETS, ThemePresetEnum, ThemePresetName } from '@repo/core/auth';
2
+ import { z } from 'zod';
3
3
 
4
4
  /**
5
5
  * Theme token overrides. Each key maps 1:1 to a CSS variable.
@@ -88,10 +88,35 @@ type ColorShadesTuple = [string, string, string, string, string, string, string,
88
88
  */
89
89
  declare function generateShades(hex: string): ColorShadesTuple;
90
90
 
91
+ declare const THEME_PRESETS: readonly ["default", "tactical", "slate", "regal", "midnight", "aurora", "titanium", "rose-gold", "wave", "canopy", "quarry", "nirvana", "cortex", "synapse", "graphite", "helios", "cyber-void", "cyber-volt", "cyber-chrome", "cyber-strike"];
92
+ type ThemePresetName = (typeof THEME_PRESETS)[number];
93
+ declare const ThemePresetEnum: z.ZodEnum<{
94
+ default: "default";
95
+ tactical: "tactical";
96
+ regal: "regal";
97
+ "cyber-volt": "cyber-volt";
98
+ aurora: "aurora";
99
+ "rose-gold": "rose-gold";
100
+ midnight: "midnight";
101
+ titanium: "titanium";
102
+ canopy: "canopy";
103
+ slate: "slate";
104
+ "cyber-strike": "cyber-strike";
105
+ "cyber-chrome": "cyber-chrome";
106
+ "cyber-void": "cyber-void";
107
+ nirvana: "nirvana";
108
+ wave: "wave";
109
+ synapse: "synapse";
110
+ cortex: "cortex";
111
+ helios: "helios";
112
+ graphite: "graphite";
113
+ quarry: "quarry";
114
+ }>;
115
+
91
116
  declare const PRESETS: Record<PresetName, ThemePreset>;
92
117
 
93
118
  /** Look up a preset by name. Falls back to default preset for unknown names. */
94
119
  declare function getPreset(name: PresetName | (string & {}), presetsMap?: Record<string, ThemePreset>): ThemePreset;
95
120
 
96
- export { generateShades, getPreset, PRESETS as presets };
97
- export type { FrameworkThemeOverrides, PresetName, ThemePreset };
121
+ export { THEME_PRESETS, ThemePresetEnum, generateShades, getPreset, PRESETS as presets };
122
+ export type { FrameworkThemeOverrides, PresetName, ThemePreset, ThemePresetName };
@@ -1,3 +1,3 @@
1
- export { THEME_PRESETS, ThemePresetEnum, generateShades, getPreset, PRESETS as presets } from '../../chunk-3FV6HBXS.js';
1
+ export { THEME_PRESETS, ThemePresetEnum, generateShades, getPreset, PRESETS as presets } from '../../chunk-WF7CONXF.js';
2
2
  import '../../chunk-WLOQ4IBG.js';
3
3
  import '../../chunk-I2KLQ2HA.js';