@elevasis/ui 2.35.0 → 2.37.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 (100) hide show
  1. package/dist/api/index.js +4 -3
  2. package/dist/app/index.css +0 -384
  3. package/dist/app/index.d.ts +45 -18
  4. package/dist/app/index.js +21 -21
  5. package/dist/auth/index.d.ts +91 -28
  6. package/dist/auth/index.js +5 -1
  7. package/dist/charts/index.js +9 -3
  8. package/dist/chunk-5CTJ7TW2.js +111 -0
  9. package/dist/chunk-5EYJ2GIN.js +122 -0
  10. package/dist/{chunk-VDOOGGBA.js → chunk-6NREL3KL.js} +2 -2
  11. package/dist/chunk-6ROXVZ3L.js +9 -0
  12. package/dist/{chunk-YYX7OPZQ.js → chunk-73EWE2EW.js} +1 -1
  13. package/dist/{chunk-SIQ3P4OR.js → chunk-7GQFIWP4.js} +8 -756
  14. package/dist/chunk-A7IG36LB.js +215 -0
  15. package/dist/chunk-CLDCYJQT.js +1 -0
  16. package/dist/{chunk-AKW7KISS.js → chunk-CWYQRM5T.js} +2 -38
  17. package/dist/{chunk-LUYVRATI.js → chunk-DA6I5VEY.js} +5 -213
  18. package/dist/chunk-I53EX4VU.js +734 -0
  19. package/dist/chunk-IIMU5YAJ.js +53 -0
  20. package/dist/{chunk-VKIZUUPM.js → chunk-JPVZRZ3X.js} +31 -14
  21. package/dist/chunk-JXVNHVK7.js +79 -0
  22. package/dist/chunk-JZ2WID2G.js +337 -0
  23. package/dist/chunk-LCJQ6OWC.js +348 -0
  24. package/dist/chunk-LNC6PZAE.js +85 -0
  25. package/dist/{chunk-4U3XAWCN.js → chunk-NWMPBG4U.js} +134 -495
  26. package/dist/chunk-NYNOMAAS.js +422 -0
  27. package/dist/chunk-S3KBYQTI.js +39 -0
  28. package/dist/chunk-S3XR4II4.js +30 -0
  29. package/dist/chunk-SHZT7ULK.js +425 -0
  30. package/dist/{chunk-26HFM4MH.js → chunk-T3NI7DOA.js} +2005 -4106
  31. package/dist/{chunk-GX6XBRRF.js → chunk-TYRUKGGD.js} +2 -1
  32. package/dist/{chunk-R3VCBZDC.js → chunk-X4WBGKJQ.js} +3 -50
  33. package/dist/{chunk-GEFWMU26.js → chunk-X66MVMZT.js} +1 -9
  34. package/dist/{chunk-57OZ3AEG.js → chunk-Y3JQBSKQ.js} +1 -1
  35. package/dist/components/index.d.ts +36 -46
  36. package/dist/components/index.js +33 -19
  37. package/dist/components/navigation/index.js +3 -31
  38. package/dist/execution/index.d.ts +2 -2
  39. package/dist/features/auth/index.d.ts +55 -99
  40. package/dist/features/auth/index.js +36 -99
  41. package/dist/features/clients/index.js +33 -19
  42. package/dist/features/crm/index.d.ts +23 -0
  43. package/dist/features/crm/index.js +33 -19
  44. package/dist/features/dashboard/index.d.ts +3 -3
  45. package/dist/features/dashboard/index.js +33 -19
  46. package/dist/features/delivery/index.d.ts +23 -0
  47. package/dist/features/delivery/index.js +33 -19
  48. package/dist/features/knowledge/index.js +6 -30
  49. package/dist/features/lead-gen/index.d.ts +1373 -48
  50. package/dist/features/lead-gen/index.js +33 -19
  51. package/dist/features/monitoring/index.js +33 -19
  52. package/dist/features/monitoring/requests/index.js +33 -19
  53. package/dist/features/notes/index.d.ts +72 -0
  54. package/dist/features/notes/index.js +621 -0
  55. package/dist/features/operations/index.d.ts +30 -30
  56. package/dist/features/operations/index.js +33 -19
  57. package/dist/features/right-panel-host/index.d.ts +214 -0
  58. package/dist/features/right-panel-host/index.js +640 -0
  59. package/dist/features/seo/index.js +3 -2
  60. package/dist/features/settings/index.d.ts +26 -35
  61. package/dist/features/settings/index.js +33 -19
  62. package/dist/hooks/access/index.d.ts +90 -0
  63. package/dist/hooks/access/index.js +10 -0
  64. package/dist/hooks/delivery/index.d.ts +23 -0
  65. package/dist/hooks/delivery/index.js +33 -19
  66. package/dist/hooks/index.d.ts +1816 -1855
  67. package/dist/hooks/index.js +33 -19
  68. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +13 -13
  69. package/dist/hooks/published.d.ts +1816 -1855
  70. package/dist/hooks/published.js +33 -19
  71. package/dist/hooks/user-notes/index.d.ts +57 -0
  72. package/dist/hooks/user-notes/index.js +3 -0
  73. package/dist/index.d.ts +290 -309
  74. package/dist/index.js +34 -20
  75. package/dist/initialization/index.d.ts +23 -19
  76. package/dist/knowledge/index.d.ts +21 -21
  77. package/dist/knowledge/index.js +12 -9
  78. package/dist/{knowledge-search-index-ORIJCEZX.js → knowledge-search-index-NBCTFIOH.js} +2 -2
  79. package/dist/layout/index.js +5 -3
  80. package/dist/organization/index.d.ts +0 -19
  81. package/dist/organization/index.js +33 -19
  82. package/dist/profile/index.d.ts +23 -0
  83. package/dist/provider/index.css +0 -384
  84. package/dist/provider/index.d.ts +45 -18
  85. package/dist/provider/index.js +15 -21
  86. package/dist/provider/published.css +0 -523
  87. package/dist/provider/published.d.ts +45 -18
  88. package/dist/provider/published.js +11 -21
  89. package/dist/sse/index.js +26 -5
  90. package/dist/supabase/index.d.ts +46 -0
  91. package/dist/test-utils/index.d.ts +2 -21
  92. package/dist/test-utils/index.js +5 -18
  93. package/dist/theme/index.js +2 -1
  94. package/dist/types/index.d.ts +86 -72
  95. package/dist/utils/index.d.ts +3 -3
  96. package/dist/utils/index.js +2 -1
  97. package/package.json +21 -5
  98. package/src/auth/README.md +6 -6
  99. package/dist/components/navigation/index.css +0 -649
  100. package/dist/features/knowledge/index.css +0 -649
@@ -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
  {
@@ -3081,6 +3084,12 @@ type Database = {
3081
3084
  Args: never;
3082
3085
  Returns: boolean;
3083
3086
  };
3087
+ current_user_shares_org_with: {
3088
+ Args: {
3089
+ other_user_id: string;
3090
+ };
3091
+ Returns: boolean;
3092
+ };
3084
3093
  current_user_supabase_id: {
3085
3094
  Args: never;
3086
3095
  Returns: string;
@@ -3120,6 +3129,20 @@ type Database = {
3120
3129
  Args: never;
3121
3130
  Returns: string;
3122
3131
  };
3132
+ has_org_access: {
3133
+ Args: {
3134
+ action?: string;
3135
+ org_id: string;
3136
+ system_path: string;
3137
+ };
3138
+ Returns: boolean;
3139
+ } | {
3140
+ Args: {
3141
+ action?: string;
3142
+ system_path: string;
3143
+ };
3144
+ Returns: boolean;
3145
+ };
3123
3146
  has_org_permission: {
3124
3147
  Args: {
3125
3148
  org_id: string;
@@ -3310,6 +3333,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3310
3333
  enabled: z$1.ZodOptional<z$1.ZodBoolean>;
3311
3334
  order: z$1.ZodOptional<z$1.ZodNumber>;
3312
3335
  }, z$1.core.$strip>>>;
3336
+ dataMode: z$1.ZodOptional<z$1.ZodEnum<{
3337
+ mock: "mock";
3338
+ live: "live";
3339
+ }>>;
3313
3340
  }, z$1.core.$strip>;
3314
3341
  }, z$1.core.$strip>;
3315
3342
  type AcqListResponse = z$1.infer<typeof AcqListResponseSchema>;
@@ -3468,9 +3495,9 @@ declare const SurfaceTypeSchema: z$1.ZodEnum<{
3468
3495
  dashboard: "dashboard";
3469
3496
  settings: "settings";
3470
3497
  graph: "graph";
3471
- list: "list";
3472
3498
  page: "page";
3473
3499
  detail: "detail";
3500
+ list: "list";
3474
3501
  }>;
3475
3502
  interface SidebarSurfaceNode {
3476
3503
  type: 'surface';
@@ -3903,8 +3930,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3903
3930
  description: z$1.ZodOptional<z$1.ZodString>;
3904
3931
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3905
3932
  status: z$1.ZodEnum<{
3906
- deprecated: "deprecated";
3907
3933
  active: "active";
3934
+ deprecated: "deprecated";
3908
3935
  archived: "archived";
3909
3936
  }>;
3910
3937
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -3922,12 +3949,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3922
3949
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3923
3950
  path: z$1.ZodString;
3924
3951
  role: z$1.ZodEnum<{
3925
- config: "config";
3926
3952
  entrypoint: "entrypoint";
3927
3953
  handler: "handler";
3928
3954
  schema: "schema";
3929
3955
  test: "test";
3930
3956
  docs: "docs";
3957
+ config: "config";
3931
3958
  }>;
3932
3959
  symbol: z$1.ZodOptional<z$1.ZodString>;
3933
3960
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -3938,10 +3965,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3938
3965
  label: z$1.ZodString;
3939
3966
  payloadSchema: z$1.ZodOptional<z$1.ZodString>;
3940
3967
  lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
3968
+ active: "active";
3941
3969
  deprecated: "deprecated";
3942
3970
  draft: "draft";
3943
3971
  beta: "beta";
3944
- active: "active";
3945
3972
  archived: "archived";
3946
3973
  }>>;
3947
3974
  }, z$1.core.$strip>>>;
@@ -3953,8 +3980,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3953
3980
  description: z$1.ZodOptional<z$1.ZodString>;
3954
3981
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3955
3982
  status: z$1.ZodEnum<{
3956
- deprecated: "deprecated";
3957
3983
  active: "active";
3984
+ deprecated: "deprecated";
3958
3985
  archived: "archived";
3959
3986
  }>;
3960
3987
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -3972,12 +3999,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3972
3999
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3973
4000
  path: z$1.ZodString;
3974
4001
  role: z$1.ZodEnum<{
3975
- config: "config";
3976
4002
  entrypoint: "entrypoint";
3977
4003
  handler: "handler";
3978
4004
  schema: "schema";
3979
4005
  test: "test";
3980
4006
  docs: "docs";
4007
+ config: "config";
3981
4008
  }>;
3982
4009
  symbol: z$1.ZodOptional<z$1.ZodString>;
3983
4010
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -4019,10 +4046,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4019
4046
  label: z$1.ZodString;
4020
4047
  payloadSchema: z$1.ZodOptional<z$1.ZodString>;
4021
4048
  lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
4049
+ active: "active";
4022
4050
  deprecated: "deprecated";
4023
4051
  draft: "draft";
4024
4052
  beta: "beta";
4025
- active: "active";
4026
4053
  archived: "archived";
4027
4054
  }>>;
4028
4055
  }, z$1.core.$strip>>>;
@@ -4034,8 +4061,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4034
4061
  description: z$1.ZodOptional<z$1.ZodString>;
4035
4062
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4036
4063
  status: z$1.ZodEnum<{
4037
- deprecated: "deprecated";
4038
4064
  active: "active";
4065
+ deprecated: "deprecated";
4039
4066
  archived: "archived";
4040
4067
  }>;
4041
4068
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -4053,12 +4080,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4053
4080
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4054
4081
  path: z$1.ZodString;
4055
4082
  role: z$1.ZodEnum<{
4056
- config: "config";
4057
4083
  entrypoint: "entrypoint";
4058
4084
  handler: "handler";
4059
4085
  schema: "schema";
4060
4086
  test: "test";
4061
4087
  docs: "docs";
4088
+ config: "config";
4062
4089
  }>;
4063
4090
  symbol: z$1.ZodOptional<z$1.ZodString>;
4064
4091
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -4073,8 +4100,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4073
4100
  description: z$1.ZodOptional<z$1.ZodString>;
4074
4101
  ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4075
4102
  status: z$1.ZodEnum<{
4076
- deprecated: "deprecated";
4077
4103
  active: "active";
4104
+ deprecated: "deprecated";
4078
4105
  archived: "archived";
4079
4106
  }>;
4080
4107
  ontology: z$1.ZodOptional<z$1.ZodObject<{
@@ -4092,12 +4119,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4092
4119
  codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4093
4120
  path: z$1.ZodString;
4094
4121
  role: z$1.ZodEnum<{
4095
- config: "config";
4096
4122
  entrypoint: "entrypoint";
4097
4123
  handler: "handler";
4098
4124
  schema: "schema";
4099
4125
  test: "test";
4100
4126
  docs: "docs";
4127
+ config: "config";
4101
4128
  }>;
4102
4129
  symbol: z$1.ZodOptional<z$1.ZodString>;
4103
4130
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -4211,10 +4238,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4211
4238
  }, z$1.core.$strip>], "kind">>>;
4212
4239
  knowledge: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
4213
4240
  lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4241
+ active: "active";
4214
4242
  deprecated: "deprecated";
4215
4243
  draft: "draft";
4216
4244
  beta: "beta";
4217
- active: "active";
4218
4245
  archived: "archived";
4219
4246
  }>>;
4220
4247
  }, z$1.core.$strip>>>>;
@@ -4292,10 +4319,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4292
4319
  roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4293
4320
  }, z$1.core.$strip>>;
4294
4321
  lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4322
+ active: "active";
4295
4323
  deprecated: "deprecated";
4296
4324
  draft: "draft";
4297
4325
  beta: "beta";
4298
- active: "active";
4299
4326
  archived: "archived";
4300
4327
  }>>;
4301
4328
  }, z$1.core.$strip>>>>;
@@ -4378,12 +4405,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4378
4405
  kind: z$1.ZodEnum<{
4379
4406
  knowledge: "knowledge";
4380
4407
  system: "system";
4408
+ resource: "resource";
4381
4409
  action: "action";
4382
4410
  ontology: "ontology";
4383
4411
  role: "role";
4384
- goal: "goal";
4385
- resource: "resource";
4386
4412
  stage: "stage";
4413
+ goal: "goal";
4387
4414
  "customer-segment": "customer-segment";
4388
4415
  offering: "offering";
4389
4416
  }>;
@@ -4393,7 +4420,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4393
4420
  nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
4394
4421
  }, z$1.core.$strip>]>, z$1.ZodTransform<{
4395
4422
  target: {
4396
- kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
4423
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
4397
4424
  id: string;
4398
4425
  };
4399
4426
  nodeId: string;
@@ -4401,7 +4428,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4401
4428
  nodeId: string;
4402
4429
  } | {
4403
4430
  target: {
4404
- kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
4431
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
4405
4432
  id: string;
4406
4433
  };
4407
4434
  }>>>>;
@@ -4428,7 +4455,7 @@ type FieldPath<T> = T extends object ? {
4428
4455
  [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
4456
  }[keyof T & string] : never;
4430
4457
  /** Discriminated string union of supported Mantine components. */
4431
- type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
4458
+ type StepConfigComponent = 'checkboxgroup' | 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
4432
4459
  /** Rendering hint for a single field within a section. */
4433
4460
  interface StepConfigFieldHint<T> {
4434
4461
  /** Typed dotted path into T — typo = TS error. */
@@ -1,33 +1,27 @@
1
- export { CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-26HFM4MH.js';
2
- import '../chunk-CXY7FMUM.js';
3
- import '../chunk-SIQ3P4OR.js';
4
- import '../chunk-3KMDHCAR.js';
5
- import '../chunk-AKW7KISS.js';
1
+ export { ElevasisUIProvider, createTestSystemsProvider, useResolvedOrganizationModel } from '../chunk-5CTJ7TW2.js';
2
+ import '../chunk-CWYQRM5T.js';
6
3
  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-4U3XAWCN.js';
12
- export { AppearanceProvider, useAppearance } from '../chunk-LUYVRATI.js';
13
- import '../chunk-NYBEU5TE.js';
14
4
  import '../chunk-WLOQ4IBG.js';
15
- import '../chunk-57OZ3AEG.js';
16
- import '../chunk-JBWJ6WHZ.js';
17
- import '../chunk-GX6XBRRF.js';
18
- import '../chunk-R3VCBZDC.js';
5
+ export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, SystemShell, useCrmActions, useListActions, useNotificationAdapter } from '../chunk-JZ2WID2G.js';
6
+ import '../chunk-I53EX4VU.js';
7
+ import '../chunk-3KMDHCAR.js';
8
+ import '../chunk-S3XR4II4.js';
9
+ export { AppearanceProvider, useAppearance } from '../chunk-A7IG36LB.js';
10
+ import '../chunk-NYBEU5TE.js';
11
+ import '../chunk-Y3JQBSKQ.js';
19
12
  import '../chunk-DT3QYZVU.js';
20
13
  import '../chunk-2IFYDILW.js';
21
14
  import '../chunk-Q7DJKLEN.js';
22
- import '../chunk-HENXLGVD.js';
23
- import '../chunk-7FPLLSHN.js';
24
- import '../chunk-RNP5R5I3.js';
25
- import '../chunk-GEFWMU26.js';
15
+ import '../chunk-X66MVMZT.js';
26
16
  import '../chunk-KRWALB24.js';
27
- import '../chunk-VKIZUUPM.js';
17
+ import '../chunk-JPVZRZ3X.js';
18
+ import '../chunk-LCJQ6OWC.js';
19
+ export { ElevasisSystemsProvider, useElevasisSystems, useOptionalElevasisSystems } from '../chunk-NYNOMAAS.js';
28
20
  import '../chunk-533DUEQY.js';
21
+ import '../chunk-NWMPBG4U.js';
29
22
  import '../chunk-DD3CCMCZ.js';
30
23
  import '../chunk-2Q2JQSQO.js';
24
+ import '../chunk-6ROXVZ3L.js';
31
25
  export { ElevasisServiceProvider, useElevasisServices } from '../chunk-KJ3QUBNU.js';
32
26
  import '../chunk-BRJ3QZ4E.js';
33
27
  import '../chunk-I2KLQ2HA.js';