@elevasis/ui 2.9.1 → 2.10.1

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 (74) hide show
  1. package/dist/app/index.css +137 -0
  2. package/dist/app/index.d.ts +223 -0
  3. package/dist/app/index.js +95 -0
  4. package/dist/charts/index.js +3 -2
  5. package/dist/{chunk-NYMKWGKN.js → chunk-4BF74JVD.js} +110 -7
  6. package/dist/{chunk-47YILFON.js → chunk-6PNHW4X2.js} +159 -144
  7. package/dist/chunk-ADSSLKKP.js +10 -0
  8. package/dist/chunk-AEBKE4IX.js +13 -0
  9. package/dist/{chunk-C2OFFC7J.js → chunk-AL23U6C3.js} +3 -2
  10. package/dist/{chunk-27COZ5AH.js → chunk-CEWTOKE7.js} +3 -50
  11. package/dist/{chunk-AQQYVAFK.js → chunk-CLXMNMIS.js} +8 -7
  12. package/dist/{chunk-4PHPENKX.js → chunk-E3IFHX6A.js} +27 -377
  13. package/dist/{chunk-CYXZHBP4.js → chunk-F4TPY6YL.js} +14 -3
  14. package/dist/chunk-G2TDX3W6.js +5 -0
  15. package/dist/{chunk-CTWYIRKW.js → chunk-GJVGV7QZ.js} +24 -34
  16. package/dist/chunk-IIMU5YAJ.js +53 -0
  17. package/dist/{chunk-VNUOQQNY.js → chunk-KYOF6NYW.js} +2 -2
  18. package/dist/{chunk-W4VYXIN7.js → chunk-L4XXM55J.js} +3 -142
  19. package/dist/{chunk-YCHZ4U5V.js → chunk-LPSBID5V.js} +5 -13
  20. package/dist/{chunk-F5QSLYUB.js → chunk-LW5NKRI7.js} +1189 -1300
  21. package/dist/{chunk-KGEYEUR5.js → chunk-M6ZZ2FW5.js} +7 -6
  22. package/dist/{chunk-OPT74SGF.js → chunk-N5CLIRBS.js} +31 -176
  23. package/dist/chunk-R7WLWGPO.js +126 -0
  24. package/dist/{chunk-Y3D3WFJG.js → chunk-SQQGLGHW.js} +2 -11
  25. package/dist/{chunk-KFICYU6S.js → chunk-STZJ7SY5.js} +1 -1
  26. package/dist/chunk-SZHARWKU.js +15 -0
  27. package/dist/{chunk-7PDDPNQS.js → chunk-TSX4I3NW.js} +3 -3
  28. package/dist/chunk-V7XHGJQZ.js +145 -0
  29. package/dist/{chunk-UE5QQDCR.js → chunk-WHQXDETX.js} +5 -5
  30. package/dist/{chunk-4JPW5U5I.js → chunk-XB4NWSI3.js} +53 -54
  31. package/dist/{chunk-ZZ35VSNF.js → chunk-YQLE5HR5.js} +4 -4
  32. package/dist/components/index.d.ts +6 -253
  33. package/dist/components/index.js +31 -25
  34. package/dist/features/auth/index.d.ts +0 -107
  35. package/dist/features/auth/index.js +0 -1
  36. package/dist/features/crm/index.d.ts +3 -136
  37. package/dist/features/crm/index.js +14 -9
  38. package/dist/features/dashboard/index.js +13 -9
  39. package/dist/features/delivery/index.d.ts +3 -137
  40. package/dist/features/delivery/index.js +15 -9
  41. package/dist/features/lead-gen/index.d.ts +3 -29
  42. package/dist/features/lead-gen/index.js +20 -14
  43. package/dist/features/monitoring/index.d.ts +3 -30
  44. package/dist/features/monitoring/index.js +14 -10
  45. package/dist/features/operations/index.d.ts +18 -1324
  46. package/dist/features/operations/index.js +18 -13
  47. package/dist/features/seo/index.d.ts +3 -30
  48. package/dist/features/seo/index.js +3 -2
  49. package/dist/features/settings/index.d.ts +6 -146
  50. package/dist/features/settings/index.js +13 -9
  51. package/dist/hooks/index.d.ts +10 -1403
  52. package/dist/hooks/index.js +11 -7
  53. package/dist/hooks/published.d.ts +10 -1403
  54. package/dist/hooks/published.js +11 -7
  55. package/dist/index.d.ts +97 -1510
  56. package/dist/index.js +12 -8
  57. package/dist/initialization/index.d.ts +3 -117
  58. package/dist/layout/index.d.ts +12 -2
  59. package/dist/layout/index.js +5 -4
  60. package/dist/organization/index.d.ts +3 -10
  61. package/dist/organization/index.js +2 -1
  62. package/dist/profile/index.d.ts +0 -107
  63. package/dist/provider/index.d.ts +45 -65
  64. package/dist/provider/index.js +10 -6
  65. package/dist/provider/published.d.ts +45 -65
  66. package/dist/provider/published.js +6 -3
  67. package/dist/supabase/index.d.ts +0 -209
  68. package/dist/theme/index.d.ts +1 -1
  69. package/dist/theme/index.js +3 -3
  70. package/dist/typeform/index.js +10 -10
  71. package/dist/types/index.d.ts +68 -1738
  72. package/package.json +20 -4
  73. package/src/app/README.md +24 -0
  74. package/dist/chunk-IDACMRGQ.js +0 -115
@@ -1,31 +1,36 @@
1
- export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel, operationsManifest } from '../../chunk-F5QSLYUB.js';
1
+ export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel, operationsManifest } from '../../chunk-LW5NKRI7.js';
2
2
  import '../../chunk-ROSMICXG.js';
3
- import '../../chunk-IDACMRGQ.js';
4
- import '../../chunk-7PDDPNQS.js';
3
+ import '../../chunk-ADSSLKKP.js';
4
+ import '../../chunk-G2TDX3W6.js';
5
+ import '../../chunk-TSX4I3NW.js';
5
6
  import '../../chunk-BZZCNLT6.js';
6
- import '../../chunk-27COZ5AH.js';
7
+ import '../../chunk-IIMU5YAJ.js';
7
8
  import '../../chunk-GBMNCNHX.js';
8
- export { OperationsOverview } from '../../chunk-CTWYIRKW.js';
9
+ export { OperationsOverview } from '../../chunk-GJVGV7QZ.js';
9
10
  import '../../chunk-LGKLC5MG.js';
10
- import '../../chunk-KFICYU6S.js';
11
+ import '../../chunk-STZJ7SY5.js';
11
12
  import '../../chunk-YEX4MQSY.js';
12
13
  import '../../chunk-XA34RETF.js';
13
14
  import '../../chunk-7M2VOCYN.js';
14
- import '../../chunk-4PHPENKX.js';
15
+ import '../../chunk-E3IFHX6A.js';
15
16
  import '../../chunk-LXHZYSMQ.js';
16
17
  import '../../chunk-22UVE3RA.js';
17
- import '../../chunk-YCHZ4U5V.js';
18
- import '../../chunk-47YILFON.js';
19
- import '../../chunk-CYXZHBP4.js';
20
- import '../../chunk-OPT74SGF.js';
18
+ import '../../chunk-AEBKE4IX.js';
19
+ import '../../chunk-LPSBID5V.js';
20
+ import '../../chunk-6PNHW4X2.js';
21
+ import '../../chunk-F4TPY6YL.js';
22
+ import '../../chunk-N5CLIRBS.js';
21
23
  import '../../chunk-RX4UWZZR.js';
22
- import '../../chunk-Y3D3WFJG.js';
24
+ import '../../chunk-SQQGLGHW.js';
23
25
  import '../../chunk-3KMDHCAR.js';
24
26
  import '../../chunk-NYBEU5TE.js';
27
+ import '../../chunk-R7WLWGPO.js';
28
+ import '../../chunk-SZHARWKU.js';
25
29
  import '../../chunk-NVOCKXUQ.js';
26
30
  import '../../chunk-2IFYDILW.js';
27
31
  import '../../chunk-ELJIFLCB.js';
28
- import '../../chunk-W4VYXIN7.js';
32
+ import '../../chunk-L4XXM55J.js';
33
+ import '../../chunk-V7XHGJQZ.js';
29
34
  import '../../chunk-QJ2KCHKX.js';
30
35
  import '../../chunk-DT3QYZVU.js';
31
36
  import '../../chunk-SLVC5OJ2.js';
@@ -1,5 +1,4 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { z } from 'zod';
3
2
  import { ComponentType } from 'react';
4
3
 
5
4
  declare const SEOSidebar: () => react_jsx_runtime.JSX.Element;
@@ -8,27 +7,6 @@ declare const SEOSidebarTop: () => react_jsx_runtime.JSX.Element;
8
7
 
9
8
  declare const SEOSidebarMiddle: () => react_jsx_runtime.JSX.Element;
10
9
 
11
- declare const SemanticDomainSchema = DisplayMetadataSchema.extend({
12
- id: ModelIdSchema,
13
- entityIds: ReferenceIdsSchema,
14
- surfaceIds: ReferenceIdsSchema,
15
- resourceIds: ReferenceIdsSchema,
16
- capabilityIds: ReferenceIdsSchema
17
- })
18
-
19
- declare const FeatureKeySchema = z.enum([
20
- 'acquisition',
21
- 'delivery',
22
- 'operations',
23
- 'monitoring',
24
- 'settings',
25
- 'seo',
26
- 'calibration'
27
- ])
28
-
29
- type OrganizationModelFeatureKey = z.infer<typeof FeatureKeySchema>
30
- type OrganizationModelSemanticDomain = z.infer<typeof SemanticDomainSchema>
31
-
32
10
  interface FeatureNavLink {
33
11
  label: string;
34
12
  link: string;
@@ -47,15 +25,10 @@ interface FeatureNavEntry {
47
25
  }
48
26
  type FeatureSidebarComponent = ComponentType;
49
27
  interface FeatureModule {
50
- /** Unique stable identifier for this feature (e.g. `'crm'`, `'delivery'`). */
28
+ /** Unique stable identifier for this feature (e.g. `'crm'`, `'projects'`). */
51
29
  key: string;
52
- /** Feature key used for access-flag gating in the organization model. */
53
- accessFeatureKey: OrganizationModelFeatureKey;
54
- /**
55
- * Semantic domain identifiers contributed by this feature.
56
- * Merged with surface-derived domain IDs during resolution.
57
- */
58
- domainIds?: OrganizationModelSemanticDomain['id'][];
30
+ /** Feature ID used for access-flag gating — must match the `id` of a feature in the organization model. */
31
+ featureId: string;
59
32
  /**
60
33
  * Capability identifiers contributed by this feature.
61
34
  * Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
@@ -1,5 +1,6 @@
1
- export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../../chunk-C2OFFC7J.js';
2
- import '../../chunk-27COZ5AH.js';
1
+ export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../../chunk-AL23U6C3.js';
2
+ import '../../chunk-CEWTOKE7.js';
3
+ import '../../chunk-IIMU5YAJ.js';
3
4
  import '../../chunk-2IFYDILW.js';
4
5
  import '../../chunk-DT3QYZVU.js';
5
6
  import '../../chunk-Q7DJKLEN.js';
@@ -1114,113 +1114,6 @@ type Database = {
1114
1114
  }
1115
1115
  ];
1116
1116
  };
1117
- calibration_projects: {
1118
- Row: {
1119
- created_at: string | null;
1120
- description: string | null;
1121
- id: string;
1122
- name: string;
1123
- organization_id: string;
1124
- resource_id: string;
1125
- resource_type: string;
1126
- updated_at: string | null;
1127
- };
1128
- Insert: {
1129
- created_at?: string | null;
1130
- description?: string | null;
1131
- id?: string;
1132
- name: string;
1133
- organization_id: string;
1134
- resource_id: string;
1135
- resource_type: string;
1136
- updated_at?: string | null;
1137
- };
1138
- Update: {
1139
- created_at?: string | null;
1140
- description?: string | null;
1141
- id?: string;
1142
- name?: string;
1143
- organization_id?: string;
1144
- resource_id?: string;
1145
- resource_type?: string;
1146
- updated_at?: string | null;
1147
- };
1148
- Relationships: [
1149
- {
1150
- foreignKeyName: "calibration_projects_organization_id_fkey";
1151
- columns: ["organization_id"];
1152
- isOneToOne: false;
1153
- referencedRelation: "organizations";
1154
- referencedColumns: ["id"];
1155
- }
1156
- ];
1157
- };
1158
- calibration_runs: {
1159
- Row: {
1160
- completed_at: string | null;
1161
- config_variants: Json;
1162
- created_at: string | null;
1163
- description: string | null;
1164
- execution_mode: string;
1165
- grader_model: string | null;
1166
- grading_rubric: Json | null;
1167
- id: string;
1168
- name: string;
1169
- organization_id: string;
1170
- project_id: string;
1171
- results: Json;
1172
- status: string;
1173
- test_inputs: Json;
1174
- };
1175
- Insert: {
1176
- completed_at?: string | null;
1177
- config_variants: Json;
1178
- created_at?: string | null;
1179
- description?: string | null;
1180
- execution_mode?: string;
1181
- grader_model?: string | null;
1182
- grading_rubric?: Json | null;
1183
- id?: string;
1184
- name: string;
1185
- organization_id: string;
1186
- project_id: string;
1187
- results?: Json;
1188
- status?: string;
1189
- test_inputs: Json;
1190
- };
1191
- Update: {
1192
- completed_at?: string | null;
1193
- config_variants?: Json;
1194
- created_at?: string | null;
1195
- description?: string | null;
1196
- execution_mode?: string;
1197
- grader_model?: string | null;
1198
- grading_rubric?: Json | null;
1199
- id?: string;
1200
- name?: string;
1201
- organization_id?: string;
1202
- project_id?: string;
1203
- results?: Json;
1204
- status?: string;
1205
- test_inputs?: Json;
1206
- };
1207
- Relationships: [
1208
- {
1209
- foreignKeyName: "calibration_runs_organization_id_fkey";
1210
- columns: ["organization_id"];
1211
- isOneToOne: false;
1212
- referencedRelation: "organizations";
1213
- referencedColumns: ["id"];
1214
- },
1215
- {
1216
- foreignKeyName: "calibration_runs_project_id_fkey";
1217
- columns: ["project_id"];
1218
- isOneToOne: false;
1219
- referencedRelation: "calibration_projects";
1220
- referencedColumns: ["id"];
1221
- }
1222
- ];
1223
- };
1224
1117
  command_queue: {
1225
1118
  Row: {
1226
1119
  action_payload: Json | null;
@@ -2619,18 +2512,11 @@ type SupabaseUserProfile = Tables<'users'>;
2619
2512
  */
2620
2513
  /**
2621
2514
  * Per-user-per-org config (stored in org_memberships.config)
2622
- * Controls which features a specific member can access within their org
2623
- * Valid feature keys: operations, monitoring, acquisition, delivery, calibration, seo
2515
+ * Controls which features a specific member can access within their org.
2516
+ * Keys are feature IDs from the organization model (e.g. crm, lead-gen, projects, seo).
2624
2517
  */
2625
2518
  interface MembershipFeatureConfig {
2626
- features?: {
2627
- operations?: boolean;
2628
- monitoring?: boolean;
2629
- acquisition?: boolean;
2630
- delivery?: boolean;
2631
- calibration?: boolean;
2632
- seo?: boolean;
2633
- };
2519
+ features?: Record<string, boolean>;
2634
2520
  }
2635
2521
 
2636
2522
  /**
@@ -2811,27 +2697,6 @@ interface OAuthIntegrationsCardProps {
2811
2697
  }
2812
2698
  declare function OAuthIntegrationsCard({ apiUrl }: OAuthIntegrationsCardProps): react_jsx_runtime.JSX.Element;
2813
2699
 
2814
- declare const SemanticDomainSchema = DisplayMetadataSchema.extend({
2815
- id: ModelIdSchema,
2816
- entityIds: ReferenceIdsSchema,
2817
- surfaceIds: ReferenceIdsSchema,
2818
- resourceIds: ReferenceIdsSchema,
2819
- capabilityIds: ReferenceIdsSchema
2820
- })
2821
-
2822
- declare const FeatureKeySchema = z.enum([
2823
- 'acquisition',
2824
- 'delivery',
2825
- 'operations',
2826
- 'monitoring',
2827
- 'settings',
2828
- 'seo',
2829
- 'calibration'
2830
- ])
2831
-
2832
- type OrganizationModelFeatureKey = z.infer<typeof FeatureKeySchema>
2833
- type OrganizationModelSemanticDomain = z.infer<typeof SemanticDomainSchema>
2834
-
2835
2700
  interface FeatureNavLink {
2836
2701
  label: string;
2837
2702
  link: string;
@@ -2850,15 +2715,10 @@ interface FeatureNavEntry {
2850
2715
  }
2851
2716
  type FeatureSidebarComponent = ComponentType;
2852
2717
  interface FeatureModule {
2853
- /** Unique stable identifier for this feature (e.g. `'crm'`, `'delivery'`). */
2718
+ /** Unique stable identifier for this feature (e.g. `'crm'`, `'projects'`). */
2854
2719
  key: string;
2855
- /** Feature key used for access-flag gating in the organization model. */
2856
- accessFeatureKey: OrganizationModelFeatureKey;
2857
- /**
2858
- * Semantic domain identifiers contributed by this feature.
2859
- * Merged with surface-derived domain IDs during resolution.
2860
- */
2861
- domainIds?: OrganizationModelSemanticDomain['id'][];
2720
+ /** Feature ID used for access-flag gating — must match the `id` of a feature in the organization model. */
2721
+ featureId: string;
2862
2722
  /**
2863
2723
  * Capability identifiers contributed by this feature.
2864
2724
  * Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
@@ -1,24 +1,28 @@
1
- export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-KGEYEUR5.js';
1
+ export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-M6ZZ2FW5.js';
2
2
  import '../../chunk-PDHTXPSF.js';
3
3
  import '../../chunk-GBMNCNHX.js';
4
4
  import '../../chunk-YEX4MQSY.js';
5
- import '../../chunk-VNUOQQNY.js';
5
+ import '../../chunk-KYOF6NYW.js';
6
6
  import '../../chunk-7M2VOCYN.js';
7
- import '../../chunk-4PHPENKX.js';
7
+ import '../../chunk-E3IFHX6A.js';
8
8
  import '../../chunk-LXHZYSMQ.js';
9
9
  import '../../chunk-22UVE3RA.js';
10
- import '../../chunk-YCHZ4U5V.js';
11
- import '../../chunk-47YILFON.js';
12
- import '../../chunk-CYXZHBP4.js';
13
- import '../../chunk-OPT74SGF.js';
10
+ import '../../chunk-AEBKE4IX.js';
11
+ import '../../chunk-LPSBID5V.js';
12
+ import '../../chunk-6PNHW4X2.js';
13
+ import '../../chunk-F4TPY6YL.js';
14
+ import '../../chunk-N5CLIRBS.js';
14
15
  import '../../chunk-RX4UWZZR.js';
15
- import '../../chunk-Y3D3WFJG.js';
16
+ import '../../chunk-SQQGLGHW.js';
16
17
  import '../../chunk-3KMDHCAR.js';
17
18
  import '../../chunk-NYBEU5TE.js';
19
+ import '../../chunk-R7WLWGPO.js';
20
+ import '../../chunk-SZHARWKU.js';
18
21
  import '../../chunk-NVOCKXUQ.js';
19
22
  import '../../chunk-2IFYDILW.js';
20
23
  import '../../chunk-ELJIFLCB.js';
21
- import '../../chunk-W4VYXIN7.js';
24
+ import '../../chunk-L4XXM55J.js';
25
+ import '../../chunk-V7XHGJQZ.js';
22
26
  import '../../chunk-QJ2KCHKX.js';
23
27
  import '../../chunk-DT3QYZVU.js';
24
28
  import '../../chunk-SLVC5OJ2.js';