@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
@@ -2885,6 +2885,7 @@ type Database = {
2885
2885
  title: string | null;
2886
2886
  updated_at: string;
2887
2887
  user_id: string;
2888
+ visibility: string;
2888
2889
  };
2889
2890
  Insert: {
2890
2891
  content: string;
@@ -2899,6 +2900,7 @@ type Database = {
2899
2900
  title?: string | null;
2900
2901
  updated_at?: string;
2901
2902
  user_id: string;
2903
+ visibility?: string;
2902
2904
  };
2903
2905
  Update: {
2904
2906
  content?: string;
@@ -2913,6 +2915,7 @@ type Database = {
2913
2915
  title?: string | null;
2914
2916
  updated_at?: string;
2915
2917
  user_id?: string;
2918
+ visibility?: string;
2916
2919
  };
2917
2920
  Relationships: [
2918
2921
  {
@@ -3202,9 +3205,9 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3202
3205
  status: z$1.ZodEnum<{
3203
3206
  draft: "draft";
3204
3207
  archived: "archived";
3205
- closing: "closing";
3206
3208
  enriching: "enriching";
3207
3209
  launched: "launched";
3210
+ closing: "closing";
3208
3211
  }>;
3209
3212
  metadata: z$1.ZodObject<{
3210
3213
  buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -3243,10 +3246,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3243
3246
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3244
3247
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3245
3248
  text: "text";
3246
- count: "count";
3247
- json: "json";
3248
3249
  badge: "badge";
3249
3250
  datetime: "datetime";
3251
+ count: "count";
3252
+ json: "json";
3250
3253
  }>>;
3251
3254
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3252
3255
  }, z$1.core.$strip>>>;
@@ -3257,10 +3260,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3257
3260
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3258
3261
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3259
3262
  text: "text";
3260
- count: "count";
3261
- json: "json";
3262
3263
  badge: "badge";
3263
3264
  datetime: "datetime";
3265
+ count: "count";
3266
+ json: "json";
3264
3267
  }>>;
3265
3268
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3266
3269
  }, z$1.core.$strip>>>;
@@ -3310,6 +3313,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3310
3313
  enabled: z$1.ZodOptional<z$1.ZodBoolean>;
3311
3314
  order: z$1.ZodOptional<z$1.ZodNumber>;
3312
3315
  }, z$1.core.$strip>>>;
3316
+ dataMode: z$1.ZodOptional<z$1.ZodEnum<{
3317
+ mock: "mock";
3318
+ live: "live";
3319
+ }>>;
3313
3320
  }, z$1.core.$strip>;
3314
3321
  }, z$1.core.$strip>;
3315
3322
  type AcqListResponse = z$1.infer<typeof AcqListResponseSchema>;
@@ -3419,11 +3426,6 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3419
3426
  }, z$1.core.$strip>>;
3420
3427
  type OntologyScope = z$1.infer<typeof OntologyScopeSchema>;
3421
3428
 
3422
- /**
3423
- * Time range selector for dashboard metrics
3424
- */
3425
- type TimeRange = '1h' | '24h' | '7d' | '30d';
3426
-
3427
3429
  type JsonPrimitive = string | number | boolean | null;
3428
3430
  type JsonValue = JsonPrimitive | JsonValue[] | {
3429
3431
  [key: string]: JsonValue;
@@ -3473,9 +3475,9 @@ declare const SurfaceTypeSchema: z$1.ZodEnum<{
3473
3475
  dashboard: "dashboard";
3474
3476
  settings: "settings";
3475
3477
  graph: "graph";
3476
- list: "list";
3477
3478
  page: "page";
3478
3479
  detail: "detail";
3480
+ list: "list";
3479
3481
  }>;
3480
3482
  interface SidebarSurfaceNode {
3481
3483
  type: 'surface';
@@ -3678,7 +3680,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3678
3680
  lastModified: string;
3679
3681
  } | undefined;
3680
3682
  }>>;
3681
- branding: z$1.ZodObject<{
3683
+ branding: z$1.ZodDefault<z$1.ZodObject<{
3682
3684
  organizationName: z$1.ZodString;
3683
3685
  productName: z$1.ZodString;
3684
3686
  shortName: z$1.ZodString;
@@ -3687,7 +3689,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3687
3689
  light: z$1.ZodOptional<z$1.ZodString>;
3688
3690
  dark: z$1.ZodOptional<z$1.ZodString>;
3689
3691
  }, z$1.core.$strip>>;
3690
- }, z$1.core.$strip>;
3692
+ }, z$1.core.$strip>>;
3691
3693
  navigation: z$1.ZodDefault<z$1.ZodObject<{
3692
3694
  sidebar: z$1.ZodDefault<z$1.ZodObject<{
3693
3695
  primary: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
@@ -3908,8 +3910,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3908
3910
  description: z$1.ZodOptional<z$1.ZodString>;
3909
3911
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3910
3912
  status: z$1.ZodEnum<{
3911
- deprecated: "deprecated";
3912
3913
  active: "active";
3914
+ deprecated: "deprecated";
3913
3915
  archived: "archived";
3914
3916
  }>;
3915
3917
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -3927,12 +3929,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3927
3929
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3928
3930
  path: z$1.ZodString;
3929
3931
  role: z$1.ZodEnum<{
3930
- config: "config";
3931
3932
  entrypoint: "entrypoint";
3932
3933
  handler: "handler";
3933
3934
  schema: "schema";
3934
3935
  test: "test";
3935
3936
  docs: "docs";
3937
+ config: "config";
3936
3938
  }>;
3937
3939
  symbol: z$1.ZodOptional<z$1.ZodString>;
3938
3940
  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>;
@@ -4024,10 +4026,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4024
4026
  label: z$1.ZodString;
4025
4027
  payloadSchema: z$1.ZodOptional<z$1.ZodString>;
4026
4028
  lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
4029
+ active: "active";
4027
4030
  deprecated: "deprecated";
4028
4031
  draft: "draft";
4029
4032
  beta: "beta";
4030
- active: "active";
4031
4033
  archived: "archived";
4032
4034
  }>>;
4033
4035
  }, z$1.core.$strip>>>;
@@ -4039,8 +4041,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4039
4041
  description: z$1.ZodOptional<z$1.ZodString>;
4040
4042
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4041
4043
  status: z$1.ZodEnum<{
4042
- deprecated: "deprecated";
4043
4044
  active: "active";
4045
+ deprecated: "deprecated";
4044
4046
  archived: "archived";
4045
4047
  }>;
4046
4048
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -4058,12 +4060,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4058
4060
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4059
4061
  path: z$1.ZodString;
4060
4062
  role: z$1.ZodEnum<{
4061
- config: "config";
4062
4063
  entrypoint: "entrypoint";
4063
4064
  handler: "handler";
4064
4065
  schema: "schema";
4065
4066
  test: "test";
4066
4067
  docs: "docs";
4068
+ config: "config";
4067
4069
  }>;
4068
4070
  symbol: z$1.ZodOptional<z$1.ZodString>;
4069
4071
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -4078,8 +4080,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4078
4080
  description: z$1.ZodOptional<z$1.ZodString>;
4079
4081
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4080
4082
  status: z$1.ZodEnum<{
4081
- deprecated: "deprecated";
4082
4083
  active: "active";
4084
+ deprecated: "deprecated";
4083
4085
  archived: "archived";
4084
4086
  }>;
4085
4087
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -4097,12 +4099,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4097
4099
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4098
4100
  path: z$1.ZodString;
4099
4101
  role: z$1.ZodEnum<{
4100
- config: "config";
4101
4102
  entrypoint: "entrypoint";
4102
4103
  handler: "handler";
4103
4104
  schema: "schema";
4104
4105
  test: "test";
4105
4106
  docs: "docs";
4107
+ config: "config";
4106
4108
  }>;
4107
4109
  symbol: z$1.ZodOptional<z$1.ZodString>;
4108
4110
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -4216,10 +4218,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4216
4218
  }, z$1.core.$strip>], "kind">>>;
4217
4219
  knowledge: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
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>>>>;
@@ -4297,10 +4299,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4297
4299
  roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4298
4300
  }, z$1.core.$strip>>;
4299
4301
  lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4302
+ active: "active";
4300
4303
  deprecated: "deprecated";
4301
4304
  draft: "draft";
4302
4305
  beta: "beta";
4303
- active: "active";
4304
4306
  archived: "archived";
4305
4307
  }>>;
4306
4308
  }, z$1.core.$strip>>>>;
@@ -4383,12 +4385,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4383
4385
  kind: z$1.ZodEnum<{
4384
4386
  knowledge: "knowledge";
4385
4387
  system: "system";
4388
+ resource: "resource";
4386
4389
  action: "action";
4387
4390
  ontology: "ontology";
4388
4391
  role: "role";
4389
- goal: "goal";
4390
- resource: "resource";
4391
4392
  stage: "stage";
4393
+ goal: "goal";
4392
4394
  "customer-segment": "customer-segment";
4393
4395
  offering: "offering";
4394
4396
  }>;
@@ -4398,7 +4400,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4398
4400
  nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
4399
4401
  }, z$1.core.$strip>]>, z$1.ZodTransform<{
4400
4402
  target: {
4401
- kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
4403
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
4402
4404
  id: string;
4403
4405
  };
4404
4406
  nodeId: string;
@@ -4406,7 +4408,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4406
4408
  nodeId: string;
4407
4409
  } | {
4408
4410
  target: {
4409
- kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
4411
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
4410
4412
  id: string;
4411
4413
  };
4412
4414
  }>>>>;
@@ -4418,6 +4420,11 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4418
4420
  type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
4419
4421
  type OrganizationModelSystemEntry = z$1.infer<typeof SystemEntrySchema>;
4420
4422
 
4423
+ /**
4424
+ * Time range selector for dashboard metrics
4425
+ */
4426
+ type TimeRange = '1h' | '24h' | '7d' | '30d';
4427
+
4421
4428
  /**
4422
4429
  * All valid dotted paths into T.
4423
4430
  * Arrays of primitives are treated as leaf (return K only).
@@ -4428,7 +4435,7 @@ type FieldPath<T> = T extends object ? {
4428
4435
  [K in keyof T & string]: T[K] extends ReadonlyArray<unknown> | unknown[] ? K : T[K] extends object | undefined ? K | `${K}.${FieldPath<NonNullable<T[K]>>}` : K;
4429
4436
  }[keyof T & string] : never;
4430
4437
  /** Discriminated string union of supported Mantine components. */
4431
- type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
4438
+ type StepConfigComponent = 'checkboxgroup' | 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
4432
4439
  /** Rendering hint for a single field within a section. */
4433
4440
  interface StepConfigFieldHint<T> {
4434
4441
  /** Typed dotted path into T — typo = TS error. */
@@ -4626,14 +4633,13 @@ interface ElevasisCoreProviderProps {
4626
4633
  injectStyles?: boolean;
4627
4634
  /**
4628
4635
  * CRM action definitions used by DealDetailPage.
4629
- * Defaults to DEFAULT_CRM_ACTIONS. Pass a custom array to override or extend
4630
- * the default action set for your organization's sales flow.
4636
+ * Defaults to an empty list. Pass a custom array to provide the CRM action set
4637
+ * for your organization's sales flow.
4631
4638
  *
4632
4639
  * @example
4633
4640
  * ```tsx
4634
- * import { DEFAULT_CRM_ACTIONS, type ActionDef } from '@elevasis/sdk'
4641
+ * import type { ActionDef } from '@elevasis/sdk'
4635
4642
  * const myActions: ActionDef[] = [
4636
- * ...DEFAULT_CRM_ACTIONS,
4637
4643
  * { key: 'send_quote', label: 'Send Quote',
4638
4644
  * isAvailableFor: d => d.stage_key === 'proposal',
4639
4645
  * workflowId: 'send-quote-workflow' },
@@ -4699,18 +4705,45 @@ interface ElevasisServiceProviderProps {
4699
4705
  */
4700
4706
  declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, crmActions, listActions, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
4701
4707
 
4708
+ /**
4709
+ * useResolvedOrganizationModel
4710
+ *
4711
+ * Returns the live organization model from ElevasisSystemsProvider, falling
4712
+ * back to a canonical empty model when the provider has not yet supplied one.
4713
+ *
4714
+ * Fallback uses `mergeDefaults: false` intentionally: the generic
4715
+ * DEFAULT_ORGANIZATION_MODEL has an empty `systems: {}` record (all
4716
+ * Elevasis-specific systems live in `@repo/elevasis-core`). With
4717
+ * `mergeDefaults: true` Zod would inject the generic fixture defaults,
4718
+ * producing a model that looks valid but contains none of the tenant's
4719
+ * semantic data. `mergeDefaults: false` yields a minimal schema-valid shell
4720
+ * that makes the missing-provider state explicit rather than silently hiding it.
4721
+ */
4722
+
4723
+ /**
4724
+ * Returns the live `OrganizationModel` from the nearest
4725
+ * `ElevasisSystemsProvider`. When the provider has not yet supplied a model
4726
+ * (e.g. during initial load), returns `EMPTY_CANONICAL_MODEL` -- a minimal
4727
+ * schema-valid shell resolved with `{ mergeDefaults: false }` so it never
4728
+ * silently injects the generic fixture Systems/knowledge.
4729
+ *
4730
+ * Use this hook instead of `organizationModel ?? resolveOrganizationModel()`
4731
+ * at call sites; it centralises the fallback decision and enforces the
4732
+ * `mergeDefaults: false` contract in one place.
4733
+ */
4734
+ declare function useResolvedOrganizationModel(): OrganizationModel;
4735
+
4702
4736
  /**
4703
4737
  * Provides the active CRM action definitions to deal action surfaces.
4704
4738
  *
4705
- * Defaults to DEFAULT_CRM_ACTIONS. External consumers can override via the
4739
+ * Defaults to an empty list. Consumers can provide CRM actions via the
4706
4740
  * `crmActions` prop on ElevasisCoreProvider / ElevasisUIProvider.
4707
4741
  *
4708
4742
  * @example External override
4709
4743
  * ```tsx
4710
- * import { DEFAULT_CRM_ACTIONS, type ActionDef } from '@elevasis/sdk'
4744
+ * import type { ActionDef } from '@elevasis/sdk'
4711
4745
  *
4712
4746
  * const myActions: ActionDef[] = [
4713
- * ...DEFAULT_CRM_ACTIONS,
4714
4747
  * { key: 'send_quote', label: 'Send Quote',
4715
4748
  * isAvailableFor: d => d.stage_key === 'proposal',
4716
4749
  * workflowId: 'send-quote-workflow' },
@@ -4725,7 +4758,7 @@ declare function CrmActionsProvider({ actions, children }: {
4725
4758
  }): react_jsx_runtime.JSX.Element;
4726
4759
  /**
4727
4760
  * Returns the active CRM ActionDef array for the current provider tree.
4728
- * Defaults to DEFAULT_CRM_ACTIONS if no CrmActionsProvider is mounted above.
4761
+ * Defaults to an empty list if no CrmActionsProvider is mounted above.
4729
4762
  */
4730
4763
  declare function useCrmActions(): ActionDef[];
4731
4764
 
@@ -4953,5 +4986,5 @@ declare function createTestSystemsProvider({ organizationModel, systems }?: Crea
4953
4986
  children: ReactNode;
4954
4987
  }) => react_jsx_runtime.JSX.Element;
4955
4988
 
4956
- export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisServices, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems };
4989
+ export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisServices, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel };
4957
4990
  export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestSystemsProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisSystemsContextValue, ElevasisSystemsProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, LeadGenStageKey, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphSystemBridge, PresetName, ResolvedShellModel, ResolvedShellRouteMatch, ResolvedShellSystem, ResolvedSystemAccess, ResolvedSystemModule, ResolvedSystemSemantics, ShellRouteMatchStatus, ShellRuntime, ShellSidebarLinkGroup, ShellSidebarLinkItem, ShellSidebarProjectionOptions, SystemIconComponent, SystemModule, SystemSidebarComponent, WithSchemes };
@@ -1,23 +1,28 @@
1
- export { ElevasisUIProvider, createTestSystemsProvider } from '../chunk-BPQVTIUP.js';
2
- import '../chunk-RQA2EVN3.js';
3
- import '../chunk-3FV6HBXS.js';
4
- import '../chunk-WLOQ4IBG.js';
5
- export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, SystemShell, useCrmActions, useListActions, useNotificationAdapter } from '../chunk-PLP3NYPL.js';
6
- import '../chunk-HRWLKKWM.js';
1
+ export { CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-F6EFC2MJ.js';
2
+ import '../chunk-CXY7FMUM.js';
3
+ import '../chunk-SIQ3P4OR.js';
7
4
  import '../chunk-3KMDHCAR.js';
8
- export { ElevasisSystemsProvider, useElevasisSystems, useOptionalElevasisSystems } from '../chunk-O6JXQ6UQ.js';
9
- 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';
10
13
  import '../chunk-NYBEU5TE.js';
11
- import '../chunk-DTFKWZ7A.js';
12
- import '../chunk-ND5TDV2J.js';
13
- import '../chunk-2IFYDILW.js';
14
- import '../chunk-Q7DJKLEN.js';
15
- import '../chunk-VTXTZXAU.js';
16
- export { AppearanceProvider, useAppearance } from '../chunk-E565XMTQ.js';
14
+ import '../chunk-WLOQ4IBG.js';
15
+ import '../chunk-57OZ3AEG.js';
17
16
  import '../chunk-JBWJ6WHZ.js';
17
+ import '../chunk-GX6XBRRF.js';
18
+ import '../chunk-R3VCBZDC.js';
18
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';
19
24
  import '../chunk-RNP5R5I3.js';
20
- import '../chunk-2RJMVWFJ.js';
25
+ import '../chunk-GEFWMU26.js';
21
26
  import '../chunk-KRWALB24.js';
22
27
  import '../chunk-VKIZUUPM.js';
23
28
  import '../chunk-533DUEQY.js';