@elevasis/ui 2.30.0 → 2.31.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 (109) hide show
  1. package/dist/{CoreAuthKitInner-QC62UHTZ.js → CoreAuthKitInner-KSEGSB67.js} +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/app/index.d.ts +122 -1
  4. package/dist/app/index.js +7 -7
  5. package/dist/auth/context.js +1 -1
  6. package/dist/auth/index.js +1 -1
  7. package/dist/charts/index.js +4 -4
  8. package/dist/{chunk-T5Z7G2J2.js → chunk-3BAPR3KA.js} +1 -1
  9. package/dist/{chunk-4VQ2PXMI.js → chunk-3FV6HBXS.js} +4 -4
  10. package/dist/{chunk-2DIYILF7.js → chunk-542WPQU2.js} +2 -2
  11. package/dist/{chunk-SBCIB5TZ.js → chunk-5LJAEZMA.js} +5 -5
  12. package/dist/{chunk-T2PAD63Y.js → chunk-7HMCB26R.js} +1 -1
  13. package/dist/chunk-7KC4P3AU.js +357 -0
  14. package/dist/{chunk-AKOD52HS.js → chunk-CQZ3DNQY.js} +4 -3
  15. package/dist/{chunk-I2KLQ2HA.js → chunk-DZTG5IAC.js} +7 -1
  16. package/dist/{chunk-JCGD4GM6.js → chunk-GRDLB6LM.js} +1 -0
  17. package/dist/{chunk-JKTPRYGV.js → chunk-HQGF4ATG.js} +9 -55
  18. package/dist/{chunk-SKXXT3E2.js → chunk-HYNYEBHM.js} +4 -4
  19. package/dist/{chunk-6EFVZV6X.js → chunk-JKSUN5GN.js} +718 -64
  20. package/dist/{chunk-LRZFLK2F.js → chunk-L2NVFLXU.js} +3 -3
  21. package/dist/{chunk-6WXDE5LZ.js → chunk-L3BVJWML.js} +1 -1
  22. package/dist/{chunk-3MDNBHVB.js → chunk-MVFCLZSK.js} +690 -221
  23. package/dist/{chunk-HYLERWRO.js → chunk-ND42LPY4.js} +6 -6
  24. package/dist/{chunk-CLUP5H3C.js → chunk-O2QOPJI5.js} +360 -126
  25. package/dist/{chunk-X2SUMO3P.js → chunk-P55BJZZW.js} +2 -1
  26. package/dist/{chunk-4FZYEEPK.js → chunk-Q6OYNEGR.js} +5 -5
  27. package/dist/{chunk-4SY6BTVZ.js → chunk-QDEETKYT.js} +4 -1
  28. package/dist/{chunk-IKQ42WHU.js → chunk-QHEWXU7I.js} +1 -1
  29. package/dist/chunk-R2XR4FCV.js +48 -0
  30. package/dist/chunk-R66W5UDG.js +26 -0
  31. package/dist/{chunk-3GV5NHSS.js → chunk-SHQXMW4F.js} +39 -211
  32. package/dist/{chunk-A7B7HLDF.js → chunk-T3IPHEYJ.js} +1889 -301
  33. package/dist/{chunk-7E3FUTND.js → chunk-TOIXUWR6.js} +1 -1
  34. package/dist/{chunk-NITGGYH2.js → chunk-TVRQ6AQI.js} +1 -1
  35. package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
  36. package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
  37. package/dist/{chunk-P5WYW2GI.js → chunk-Y4FWCG7Y.js} +150 -305
  38. package/dist/components/chat/index.js +1 -1
  39. package/dist/components/index.d.ts +205 -11
  40. package/dist/components/index.js +38 -35
  41. package/dist/components/navigation/index.js +1 -1
  42. package/dist/execution/index.d.ts +2 -1
  43. package/dist/execution/index.js +1 -1
  44. package/dist/features/auth/index.d.ts +121 -0
  45. package/dist/features/auth/index.js +1 -1
  46. package/dist/features/clients/index.css +611 -0
  47. package/dist/features/clients/index.d.ts +86 -0
  48. package/dist/features/clients/index.js +719 -0
  49. package/dist/features/crm/index.d.ts +148 -2
  50. package/dist/features/crm/index.js +18 -16
  51. package/dist/features/dashboard/index.d.ts +36 -1
  52. package/dist/features/dashboard/index.js +14 -14
  53. package/dist/features/delivery/index.d.ts +121 -0
  54. package/dist/features/delivery/index.js +18 -16
  55. package/dist/features/knowledge/index.js +43 -20
  56. package/dist/features/lead-gen/index.d.ts +17 -11
  57. package/dist/features/lead-gen/index.js +19 -17
  58. package/dist/features/monitoring/index.js +17 -16
  59. package/dist/features/monitoring/requests/index.js +14 -13
  60. package/dist/features/operations/index.d.ts +38 -2
  61. package/dist/features/operations/index.js +22 -21
  62. package/dist/features/seo/index.js +1 -1
  63. package/dist/features/settings/index.d.ts +121 -0
  64. package/dist/features/settings/index.js +16 -15
  65. package/dist/graph/index.js +1 -1
  66. package/dist/hooks/delivery/index.d.ts +140 -0
  67. package/dist/hooks/delivery/index.js +3 -3
  68. package/dist/hooks/index.d.ts +583 -19
  69. package/dist/hooks/index.js +12 -12
  70. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +82 -1
  71. package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
  72. package/dist/hooks/published.d.ts +583 -19
  73. package/dist/hooks/published.js +12 -12
  74. package/dist/index.d.ts +680 -21
  75. package/dist/index.js +13 -13
  76. package/dist/initialization/index.d.ts +121 -0
  77. package/dist/initialization/index.js +1 -1
  78. package/dist/knowledge/index.d.ts +97 -1
  79. package/dist/knowledge/index.js +1692 -1039
  80. package/dist/layout/index.d.ts +6 -0
  81. package/dist/layout/index.js +4 -4
  82. package/dist/organization/index.js +1 -1
  83. package/dist/profile/index.d.ts +121 -0
  84. package/dist/profile/index.js +1 -1
  85. package/dist/provider/ElevasisServiceContext.js +1 -1
  86. package/dist/provider/index.d.ts +218 -2
  87. package/dist/provider/index.js +10 -10
  88. package/dist/provider/published.d.ts +218 -2
  89. package/dist/provider/published.js +7 -7
  90. package/dist/router/context.js +1 -1
  91. package/dist/router/index.js +1 -1
  92. package/dist/sse/index.js +1 -1
  93. package/dist/supabase/index.d.ts +232 -0
  94. package/dist/supabase/index.js +1 -1
  95. package/dist/test-utils/index.js +3 -3
  96. package/dist/test-utils/setup-integration.js +1 -1
  97. package/dist/test-utils/setup.js +2 -2
  98. package/dist/theme/index.js +4 -4
  99. package/dist/theme/presets/index.js +2 -2
  100. package/dist/typeform/index.js +1 -1
  101. package/dist/typeform/schemas.js +1 -1
  102. package/dist/types/index.d.ts +204 -1
  103. package/dist/utils/index.d.ts +36 -1
  104. package/dist/utils/index.js +2 -2
  105. package/dist/vite/index.js +3 -3
  106. package/dist/vite-plugin-knowledge/index.js +2 -2
  107. package/dist/zustand/index.js +1 -1
  108. package/package.json +13 -4
  109. /package/dist/{chunk-HXZQWMKE.js → chunk-XQHZBA65.js} +0 -0
@@ -62,6 +62,7 @@ type Database = {
62
62
  batch_id: string | null;
63
63
  category: string | null;
64
64
  category_pain: string | null;
65
+ client_id: string | null;
65
66
  created_at: string;
66
67
  domain: string | null;
67
68
  enrichment_data: Json | null;
@@ -88,6 +89,7 @@ type Database = {
88
89
  batch_id?: string | null;
89
90
  category?: string | null;
90
91
  category_pain?: string | null;
92
+ client_id?: string | null;
91
93
  created_at?: string;
92
94
  domain?: string | null;
93
95
  enrichment_data?: Json | null;
@@ -114,6 +116,7 @@ type Database = {
114
116
  batch_id?: string | null;
115
117
  category?: string | null;
116
118
  category_pain?: string | null;
119
+ client_id?: string | null;
117
120
  created_at?: string;
118
121
  domain?: string | null;
119
122
  enrichment_data?: Json | null;
@@ -137,6 +140,13 @@ type Database = {
137
140
  website?: string | null;
138
141
  };
139
142
  Relationships: [
143
+ {
144
+ foreignKeyName: "acq_companies_client_id_fkey";
145
+ columns: ["client_id"];
146
+ isOneToOne: false;
147
+ referencedRelation: "clients";
148
+ referencedColumns: ["id"];
149
+ },
140
150
  {
141
151
  foreignKeyName: "acq_companies_organization_id_fkey";
142
152
  columns: ["organization_id"];
@@ -151,6 +161,7 @@ type Database = {
151
161
  batch_id: string | null;
152
162
  brochure_first_viewed_at: string | null;
153
163
  brochure_view_count: number;
164
+ client_id: string | null;
154
165
  company_id: string | null;
155
166
  created_at: string;
156
167
  email: string;
@@ -179,6 +190,7 @@ type Database = {
179
190
  batch_id?: string | null;
180
191
  brochure_first_viewed_at?: string | null;
181
192
  brochure_view_count?: number;
193
+ client_id?: string | null;
182
194
  company_id?: string | null;
183
195
  created_at?: string;
184
196
  email: string;
@@ -207,6 +219,7 @@ type Database = {
207
219
  batch_id?: string | null;
208
220
  brochure_first_viewed_at?: string | null;
209
221
  brochure_view_count?: number;
222
+ client_id?: string | null;
210
223
  company_id?: string | null;
211
224
  created_at?: string;
212
225
  email?: string;
@@ -232,6 +245,13 @@ type Database = {
232
245
  updated_at?: string;
233
246
  };
234
247
  Relationships: [
248
+ {
249
+ foreignKeyName: "acq_contacts_client_id_fkey";
250
+ columns: ["client_id"];
251
+ isOneToOne: false;
252
+ referencedRelation: "clients";
253
+ referencedColumns: ["id"];
254
+ },
235
255
  {
236
256
  foreignKeyName: "acq_contacts_company_id_fkey";
237
257
  columns: ["company_id"];
@@ -475,8 +495,10 @@ type Database = {
475
495
  acq_deals: {
476
496
  Row: {
477
497
  activity_log: Json;
498
+ client_id: string | null;
478
499
  closed_lost_at: string | null;
479
500
  closed_lost_reason: string | null;
501
+ company_id: string | null;
480
502
  contact_email: string;
481
503
  contact_id: string | null;
482
504
  created_at: string;
@@ -512,8 +534,10 @@ type Database = {
512
534
  };
513
535
  Insert: {
514
536
  activity_log?: Json;
537
+ client_id?: string | null;
515
538
  closed_lost_at?: string | null;
516
539
  closed_lost_reason?: string | null;
540
+ company_id?: string | null;
517
541
  contact_email: string;
518
542
  contact_id?: string | null;
519
543
  created_at?: string;
@@ -549,8 +573,10 @@ type Database = {
549
573
  };
550
574
  Update: {
551
575
  activity_log?: Json;
576
+ client_id?: string | null;
552
577
  closed_lost_at?: string | null;
553
578
  closed_lost_reason?: string | null;
579
+ company_id?: string | null;
554
580
  contact_email?: string;
555
581
  contact_id?: string | null;
556
582
  created_at?: string;
@@ -585,6 +611,20 @@ type Database = {
585
611
  updated_at?: string;
586
612
  };
587
613
  Relationships: [
614
+ {
615
+ foreignKeyName: "acq_deals_client_id_fkey";
616
+ columns: ["client_id"];
617
+ isOneToOne: false;
618
+ referencedRelation: "clients";
619
+ referencedColumns: ["id"];
620
+ },
621
+ {
622
+ foreignKeyName: "acq_deals_company_id_fkey";
623
+ columns: ["company_id"];
624
+ isOneToOne: false;
625
+ referencedRelation: "acq_companies";
626
+ referencedColumns: ["id"];
627
+ },
588
628
  {
589
629
  foreignKeyName: "acq_deals_contact_id_fkey";
590
630
  columns: ["contact_id"];
@@ -1202,6 +1242,77 @@ type Database = {
1202
1242
  }
1203
1243
  ];
1204
1244
  };
1245
+ clients: {
1246
+ Row: {
1247
+ converted_at: string | null;
1248
+ created_at: string;
1249
+ id: string;
1250
+ metadata: Json;
1251
+ name: string;
1252
+ organization_id: string;
1253
+ primary_company_id: string | null;
1254
+ primary_contact_id: string | null;
1255
+ source_deal_id: string | null;
1256
+ status: string;
1257
+ updated_at: string;
1258
+ };
1259
+ Insert: {
1260
+ converted_at?: string | null;
1261
+ created_at?: string;
1262
+ id?: string;
1263
+ metadata?: Json;
1264
+ name: string;
1265
+ organization_id: string;
1266
+ primary_company_id?: string | null;
1267
+ primary_contact_id?: string | null;
1268
+ source_deal_id?: string | null;
1269
+ status?: string;
1270
+ updated_at?: string;
1271
+ };
1272
+ Update: {
1273
+ converted_at?: string | null;
1274
+ created_at?: string;
1275
+ id?: string;
1276
+ metadata?: Json;
1277
+ name?: string;
1278
+ organization_id?: string;
1279
+ primary_company_id?: string | null;
1280
+ primary_contact_id?: string | null;
1281
+ source_deal_id?: string | null;
1282
+ status?: string;
1283
+ updated_at?: string;
1284
+ };
1285
+ Relationships: [
1286
+ {
1287
+ foreignKeyName: "clients_organization_id_fkey";
1288
+ columns: ["organization_id"];
1289
+ isOneToOne: false;
1290
+ referencedRelation: "organizations";
1291
+ referencedColumns: ["id"];
1292
+ },
1293
+ {
1294
+ foreignKeyName: "clients_primary_company_id_fkey";
1295
+ columns: ["primary_company_id"];
1296
+ isOneToOne: false;
1297
+ referencedRelation: "acq_companies";
1298
+ referencedColumns: ["id"];
1299
+ },
1300
+ {
1301
+ foreignKeyName: "clients_primary_contact_id_fkey";
1302
+ columns: ["primary_contact_id"];
1303
+ isOneToOne: false;
1304
+ referencedRelation: "acq_contacts";
1305
+ referencedColumns: ["id"];
1306
+ },
1307
+ {
1308
+ foreignKeyName: "clients_source_deal_id_fkey";
1309
+ columns: ["source_deal_id"];
1310
+ isOneToOne: false;
1311
+ referencedRelation: "acq_deals";
1312
+ referencedColumns: ["id"];
1313
+ }
1314
+ ];
1315
+ };
1205
1316
  command_queue: {
1206
1317
  Row: {
1207
1318
  action_payload: Json | null;
@@ -2171,6 +2282,7 @@ type Database = {
2171
2282
  Row: {
2172
2283
  actual_end_date: string | null;
2173
2284
  client_company_id: string | null;
2285
+ client_id: string | null;
2174
2286
  contract_value: number | null;
2175
2287
  created_at: string;
2176
2288
  deal_id: string | null;
@@ -2188,6 +2300,7 @@ type Database = {
2188
2300
  Insert: {
2189
2301
  actual_end_date?: string | null;
2190
2302
  client_company_id?: string | null;
2303
+ client_id?: string | null;
2191
2304
  contract_value?: number | null;
2192
2305
  created_at?: string;
2193
2306
  deal_id?: string | null;
@@ -2205,6 +2318,7 @@ type Database = {
2205
2318
  Update: {
2206
2319
  actual_end_date?: string | null;
2207
2320
  client_company_id?: string | null;
2321
+ client_id?: string | null;
2208
2322
  contract_value?: number | null;
2209
2323
  created_at?: string;
2210
2324
  deal_id?: string | null;
@@ -2241,6 +2355,13 @@ type Database = {
2241
2355
  referencedRelation: "acq_companies";
2242
2356
  referencedColumns: ["id"];
2243
2357
  },
2358
+ {
2359
+ foreignKeyName: "prj_projects_client_id_fkey";
2360
+ columns: ["client_id"];
2361
+ isOneToOne: false;
2362
+ referencedRelation: "clients";
2363
+ referencedColumns: ["id"];
2364
+ },
2244
2365
  {
2245
2366
  foreignKeyName: "prj_projects_deal_id_fkey";
2246
2367
  columns: ["deal_id"];
@@ -1,31 +1,33 @@
1
- export { AllTasksPage, Checklist, CreateDeliveryEntityModal, DELIVERY_COMMUNICATION_ITEMS, DELIVERY_PROJECT_ITEMS, DELIVERY_WORK_ITEMS, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, calculateProgress, deliveryManifest, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../../chunk-JKTPRYGV.js';
1
+ export { AllTasksPage, Checklist, CreateDeliveryEntityModal, DELIVERY_COMMUNICATION_ITEMS, DELIVERY_PROJECT_ITEMS, DELIVERY_WORK_ITEMS, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, deliveryManifest } from '../../chunk-HQGF4ATG.js';
2
2
  import '../../chunk-ECNNI3NT.js';
3
- import '../../chunk-BZZCNLT6.js';
4
- import '../../chunk-TUMSNGTX.js';
3
+ import '../../chunk-VNFR57DF.js';
5
4
  import '../../chunk-X4WBGKJQ.js';
6
5
  import '../../chunk-IIMU5YAJ.js';
6
+ export { calculateProgress, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../../chunk-R2XR4FCV.js';
7
+ import '../../chunk-BZZCNLT6.js';
8
+ import '../../chunk-TUMSNGTX.js';
7
9
  import '../../chunk-PDHTXPSF.js';
8
- import '../../chunk-KVJ3LFH2.js';
10
+ import '../../chunk-R66W5UDG.js';
9
11
  import '../../chunk-7M2VOCYN.js';
10
- import '../../chunk-6EFVZV6X.js';
12
+ import '../../chunk-JKSUN5GN.js';
11
13
  import '../../chunk-6YT4IKJ7.js';
12
- import '../../chunk-T2PAD63Y.js';
14
+ import '../../chunk-7HMCB26R.js';
13
15
  import '../../chunk-BRXELOHC.js';
14
16
  import '../../chunk-3ZMAGTWF.js';
15
17
  import '../../chunk-OAVTMITG.js';
16
- import '../../chunk-SKXXT3E2.js';
17
- import '../../chunk-T5Z7G2J2.js';
18
- import '../../chunk-4VQ2PXMI.js';
18
+ import '../../chunk-HYNYEBHM.js';
19
+ import '../../chunk-3BAPR3KA.js';
20
+ import '../../chunk-3FV6HBXS.js';
19
21
  import '../../chunk-WLOQ4IBG.js';
20
- import '../../chunk-4SY6BTVZ.js';
21
- import '../../chunk-6WXDE5LZ.js';
22
+ import '../../chunk-QDEETKYT.js';
23
+ import '../../chunk-6IXOKUBC.js';
24
+ import '../../chunk-L3BVJWML.js';
22
25
  import '../../chunk-3KMDHCAR.js';
23
- import '../../chunk-AKOD52HS.js';
26
+ import '../../chunk-CQZ3DNQY.js';
24
27
  import '../../chunk-SZHARWKU.js';
25
- import '../../chunk-6IXOKUBC.js';
26
28
  import '../../chunk-TKAYX2SP.js';
27
29
  import '../../chunk-NYBEU5TE.js';
28
- import '../../chunk-7E3FUTND.js';
30
+ import '../../chunk-TOIXUWR6.js';
29
31
  import '../../chunk-2IFYDILW.js';
30
32
  import '../../chunk-Q7DJKLEN.js';
31
33
  import '../../chunk-JA5ECJJB.js';
@@ -34,7 +36,7 @@ import '../../chunk-E565XMTQ.js';
34
36
  import '../../chunk-JBWJ6WHZ.js';
35
37
  import '../../chunk-DT3QYZVU.js';
36
38
  import '../../chunk-RNP5R5I3.js';
37
- import '../../chunk-HXZQWMKE.js';
39
+ import '../../chunk-XQHZBA65.js';
38
40
  import '../../chunk-KRWALB24.js';
39
41
  import '../../chunk-VKIZUUPM.js';
40
42
  import '../../chunk-533DUEQY.js';
@@ -42,4 +44,4 @@ import '../../chunk-DD3CCMCZ.js';
42
44
  import '../../chunk-2Q2JQSQO.js';
43
45
  import '../../chunk-KJ3QUBNU.js';
44
46
  import '../../chunk-BRJ3QZ4E.js';
45
- import '../../chunk-I2KLQ2HA.js';
47
+ import '../../chunk-DZTG5IAC.js';
@@ -1,32 +1,32 @@
1
- import { KnowledgeSearchBar, KnowledgeTree, getKnowledgeIconToken, byKind } from '../../chunk-CLUP5H3C.js';
2
- import { CommandViewSidebarContent, OrganizationModelSchema, buildOrganizationGraph, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_STATUSES, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_IDENTITY, DEFAULT_ORGANIZATION_MODEL_PROJECTS, DEFAULT_ORGANIZATION_MODEL_BRANDING } from '../../chunk-3MDNBHVB.js';
1
+ import { KnowledgeSearchBar, KnowledgeTree, getKnowledgeIconToken, byKind } from '../../chunk-O2QOPJI5.js';
2
+ import { CommandViewSidebarContent, OrganizationModelSchema, buildOrganizationGraph, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_STATUSES, DEFAULT_ORGANIZATION_MODEL_RESOURCES, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_IDENTITY, DEFAULT_ORGANIZATION_MODEL_PROJECTS, DEFAULT_ORGANIZATION_MODEL_BRANDING } from '../../chunk-MVFCLZSK.js';
3
3
  import '../../chunk-ZTWA5H77.js';
4
- import { SemanticIcon } from '../../chunk-JCGD4GM6.js';
4
+ import { SemanticIcon } from '../../chunk-GRDLB6LM.js';
5
5
  import '../../chunk-XQQEKWTL.js';
6
6
  import { KNOWLEDGE_FEATURE_ID } from '../../chunk-ECNNI3NT.js';
7
- import { DEFAULT_ORGANIZATION_MODEL_PROSPECTING } from '../../chunk-NITGGYH2.js';
7
+ import { DEFAULT_ORGANIZATION_MODEL_PROSPECTING } from '../../chunk-TVRQ6AQI.js';
8
8
  import '../../chunk-CW3UNAF2.js';
9
9
  import { SubshellSidebarSection } from '../../chunk-IIMU5YAJ.js';
10
10
  import '../../chunk-7M2VOCYN.js';
11
- import '../../chunk-6EFVZV6X.js';
11
+ import '../../chunk-JKSUN5GN.js';
12
12
  import '../../chunk-6YT4IKJ7.js';
13
- import '../../chunk-T2PAD63Y.js';
13
+ import '../../chunk-7HMCB26R.js';
14
14
  import '../../chunk-BRXELOHC.js';
15
15
  import '../../chunk-3ZMAGTWF.js';
16
16
  import '../../chunk-OAVTMITG.js';
17
- import '../../chunk-SKXXT3E2.js';
18
- import '../../chunk-T5Z7G2J2.js';
19
- import '../../chunk-4VQ2PXMI.js';
17
+ import '../../chunk-HYNYEBHM.js';
18
+ import '../../chunk-3BAPR3KA.js';
19
+ import '../../chunk-3FV6HBXS.js';
20
20
  import '../../chunk-WLOQ4IBG.js';
21
- import '../../chunk-4SY6BTVZ.js';
22
- import '../../chunk-6WXDE5LZ.js';
21
+ import '../../chunk-QDEETKYT.js';
22
+ import { useElevasisFeatures } from '../../chunk-6IXOKUBC.js';
23
+ import '../../chunk-L3BVJWML.js';
23
24
  import '../../chunk-3KMDHCAR.js';
24
- import { DEFAULT_ORGANIZATION_MODEL_SALES } from '../../chunk-AKOD52HS.js';
25
+ import { DEFAULT_ORGANIZATION_MODEL_SALES } from '../../chunk-CQZ3DNQY.js';
25
26
  import '../../chunk-SZHARWKU.js';
26
- import { useElevasisFeatures } from '../../chunk-6IXOKUBC.js';
27
27
  import '../../chunk-TKAYX2SP.js';
28
28
  import '../../chunk-NYBEU5TE.js';
29
- import '../../chunk-7E3FUTND.js';
29
+ import '../../chunk-TOIXUWR6.js';
30
30
  import '../../chunk-2IFYDILW.js';
31
31
  import { useRouterContext } from '../../chunk-Q7DJKLEN.js';
32
32
  import '../../chunk-JA5ECJJB.js';
@@ -35,7 +35,7 @@ import '../../chunk-E565XMTQ.js';
35
35
  import '../../chunk-JBWJ6WHZ.js';
36
36
  import '../../chunk-DT3QYZVU.js';
37
37
  import '../../chunk-RNP5R5I3.js';
38
- import '../../chunk-HXZQWMKE.js';
38
+ import '../../chunk-XQHZBA65.js';
39
39
  import '../../chunk-KRWALB24.js';
40
40
  import '../../chunk-VKIZUUPM.js';
41
41
  import '../../chunk-533DUEQY.js';
@@ -43,7 +43,7 @@ import '../../chunk-DD3CCMCZ.js';
43
43
  import '../../chunk-2Q2JQSQO.js';
44
44
  import '../../chunk-KJ3QUBNU.js';
45
45
  import '../../chunk-BRJ3QZ4E.js';
46
- import '../../chunk-I2KLQ2HA.js';
46
+ import '../../chunk-DZTG5IAC.js';
47
47
  import { IconBrain, IconCheck, IconCopy } from '@tabler/icons-react';
48
48
  import { Stack, Box, SegmentedControl, Text, UnstyledButton, Group, Badge } from '@mantine/core';
49
49
  import { useClipboard } from '@mantine/hooks';
@@ -88,6 +88,15 @@ var DEFAULT_ORGANIZATION_MODEL = {
88
88
  color: "green",
89
89
  icon: "feature.finance"
90
90
  },
91
+ {
92
+ id: "business",
93
+ label: "Business",
94
+ description: "Revenue, client relationships, and project delivery",
95
+ enabled: true,
96
+ color: "blue",
97
+ icon: "feature.business",
98
+ uiPosition: "sidebar-primary"
99
+ },
91
100
  {
92
101
  id: "sales",
93
102
  label: "Sales",
@@ -95,7 +104,7 @@ var DEFAULT_ORGANIZATION_MODEL = {
95
104
  enabled: true,
96
105
  color: "blue",
97
106
  icon: "feature.sales",
98
- uiPosition: "sidebar-primary"
107
+ path: "/sales"
99
108
  },
100
109
  {
101
110
  id: "sales.crm",
@@ -122,8 +131,16 @@ var DEFAULT_ORGANIZATION_MODEL = {
122
131
  enabled: true,
123
132
  color: "orange",
124
133
  icon: "feature.projects",
125
- path: "/projects",
126
- uiPosition: "sidebar-primary"
134
+ path: "/projects"
135
+ },
136
+ {
137
+ id: "clients",
138
+ label: "Clients",
139
+ description: "Client relationships, accounts, and business context",
140
+ enabled: true,
141
+ color: "orange",
142
+ icon: "feature.projects",
143
+ path: "/business/clients"
127
144
  },
128
145
  {
129
146
  id: "operations",
@@ -368,6 +385,8 @@ var DEFAULT_ORGANIZATION_MODEL = {
368
385
  offerings: DEFAULT_ORGANIZATION_MODEL_OFFERINGS,
369
386
  roles: DEFAULT_ORGANIZATION_MODEL_ROLES,
370
387
  goals: DEFAULT_ORGANIZATION_MODEL_GOALS,
388
+ systems: DEFAULT_ORGANIZATION_MODEL_SYSTEMS,
389
+ resources: DEFAULT_ORGANIZATION_MODEL_RESOURCES,
371
390
  statuses: DEFAULT_ORGANIZATION_MODEL_STATUSES,
372
391
  operations: DEFAULT_ORGANIZATION_MODEL_OPERATIONS,
373
392
  knowledge: DEFAULT_ORGANIZATION_MODEL_KNOWLEDGE
@@ -725,7 +744,11 @@ var knowledgeManifest = {
725
744
  featureId: KNOWLEDGE_FEATURE_ID,
726
745
  icon: IconBrain,
727
746
  sidebar: KnowledgeSidebar,
728
- sidebarWidth: ({ currentPath }) => currentPath.startsWith("/knowledge") ? knowledgeSidebarWidth : defaultSidebarWidth
747
+ sidebarWidth: ({ currentPath }) => {
748
+ if (currentPath.startsWith("/knowledge/command-view")) return 0;
749
+ if (currentPath.startsWith("/knowledge")) return knowledgeSidebarWidth;
750
+ return defaultSidebarWidth;
751
+ }
729
752
  };
730
753
 
731
754
  export { knowledgeManifest };
@@ -100,10 +100,10 @@ type TransitionItemRequest = z$1.infer<typeof TransitionItemRequestSchema>;
100
100
  */
101
101
  declare const ListStatusSchema: z$1.ZodEnum<{
102
102
  closing: "closing";
103
+ archived: "archived";
103
104
  draft: "draft";
104
105
  enriching: "enriching";
105
106
  launched: "launched";
106
- archived: "archived";
107
107
  }>;
108
108
  /**
109
109
  * Single list as returned by /api/acquisition/lists/:id etc.
@@ -118,10 +118,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
118
118
  instantlyCampaignId: z$1.ZodNullable<z$1.ZodString>;
119
119
  status: z$1.ZodEnum<{
120
120
  closing: "closing";
121
+ archived: "archived";
121
122
  draft: "draft";
122
123
  enriching: "enriching";
123
124
  launched: "launched";
124
- archived: "archived";
125
125
  }>;
126
126
  metadata: z$1.ZodObject<{
127
127
  buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -303,6 +303,7 @@ declare const ListContactsQuerySchema: z$1.ZodObject<{
303
303
  declare const AcqCompanyResponseSchema: z$1.ZodObject<{
304
304
  id: z$1.ZodString;
305
305
  organizationId: z$1.ZodString;
306
+ clientId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
306
307
  name: z$1.ZodString;
307
308
  domain: z$1.ZodNullable<z$1.ZodString>;
308
309
  linkedinUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -339,6 +340,7 @@ declare const AcqCompanyResponseSchema: z$1.ZodObject<{
339
340
  declare const AcqContactResponseSchema: z$1.ZodObject<{
340
341
  id: z$1.ZodString;
341
342
  organizationId: z$1.ZodString;
343
+ clientId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
342
344
  companyId: z$1.ZodNullable<z$1.ZodString>;
343
345
  email: z$1.ZodString;
344
346
  emailValid: z$1.ZodNullable<z$1.ZodEnum<{
@@ -487,14 +489,6 @@ declare function getEnrichmentColor(status: string): "yellow" | "green" | "red"
487
489
  declare function getEnrichmentStatus(enrichmentData: Record<string, unknown> | null | undefined): "pending" | "failed" | "complete";
488
490
  type LeadGenCompanyListItem = AcqCompanyResponse;
489
491
  type LeadGenContactListItem = AcqContactResponse;
490
- declare function CompanyDetailModal({ company, onClose }: {
491
- company: LeadGenCompanyListItem | null;
492
- onClose: () => void;
493
- }): react_jsx_runtime.JSX.Element;
494
- declare function ContactDetailModal({ contact, onClose }: {
495
- contact: LeadGenContactListItem | null;
496
- onClose: () => void;
497
- }): react_jsx_runtime.JSX.Element;
498
492
 
499
493
  type AcqCompanyWithCount = AcqCompanyResponse;
500
494
  interface AcqCompanyFacetsResponse {
@@ -549,6 +543,7 @@ declare function useCompanies(filters?: Partial<ListCompaniesQuery>): _tanstack_
549
543
  verticalResearch: string | null;
550
544
  createdAt: string;
551
545
  updatedAt: string;
546
+ clientId?: string | null | undefined;
552
547
  pipelineStatus?: unknown;
553
548
  }[];
554
549
  total: number;
@@ -583,6 +578,7 @@ declare function useCompany(companyId: string): _tanstack_react_query.UseQueryRe
583
578
  verticalResearch: string | null;
584
579
  createdAt: string;
585
580
  updatedAt: string;
581
+ clientId?: string | null | undefined;
586
582
  pipelineStatus?: unknown;
587
583
  } | null, Error>;
588
584
  declare function useCreateCompany(): _tanstack_react_query.UseMutationResult<{
@@ -612,9 +608,11 @@ declare function useCreateCompany(): _tanstack_react_query.UseMutationResult<{
612
608
  verticalResearch: string | null;
613
609
  createdAt: string;
614
610
  updatedAt: string;
611
+ clientId?: string | null | undefined;
615
612
  pipelineStatus?: unknown;
616
613
  }, Error, {
617
614
  name: string;
615
+ clientId?: string | null | undefined;
618
616
  domain?: string | undefined;
619
617
  linkedinUrl?: string | undefined;
620
618
  website?: string | undefined;
@@ -655,9 +653,11 @@ declare function useUpdateCompany(companyId: string): _tanstack_react_query.UseM
655
653
  verticalResearch: string | null;
656
654
  createdAt: string;
657
655
  updatedAt: string;
656
+ clientId?: string | null | undefined;
658
657
  pipelineStatus?: unknown;
659
658
  }, Error, {
660
659
  name?: string | undefined;
660
+ clientId?: string | null | undefined;
661
661
  domain?: string | undefined;
662
662
  linkedinUrl?: string | undefined;
663
663
  website?: string | undefined;
@@ -722,6 +722,7 @@ declare function useContacts(filters?: Partial<ListContactsQuery>): _tanstack_re
722
722
  status: "active" | "invalid";
723
723
  createdAt: string;
724
724
  updatedAt: string;
725
+ clientId?: string | null | undefined;
725
726
  pipelineStatus?: unknown;
726
727
  company?: {
727
728
  id: string;
@@ -764,6 +765,7 @@ declare function useContact(contactId: string): _tanstack_react_query.UseQueryRe
764
765
  status: "active" | "invalid";
765
766
  createdAt: string;
766
767
  updatedAt: string;
768
+ clientId?: string | null | undefined;
767
769
  pipelineStatus?: unknown;
768
770
  company?: {
769
771
  id: string;
@@ -802,6 +804,7 @@ declare function useCreateContact(): _tanstack_react_query.UseMutationResult<{
802
804
  status: "active" | "invalid";
803
805
  createdAt: string;
804
806
  updatedAt: string;
807
+ clientId?: string | null | undefined;
805
808
  pipelineStatus?: unknown;
806
809
  company?: {
807
810
  id: string;
@@ -815,6 +818,7 @@ declare function useCreateContact(): _tanstack_react_query.UseMutationResult<{
815
818
  } | null | undefined;
816
819
  }, Error, {
817
820
  email: string;
821
+ clientId?: string | null | undefined;
818
822
  companyId?: string | undefined;
819
823
  firstName?: string | undefined;
820
824
  lastName?: string | undefined;
@@ -851,6 +855,7 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
851
855
  status: "active" | "invalid";
852
856
  createdAt: string;
853
857
  updatedAt: string;
858
+ clientId?: string | null | undefined;
854
859
  pipelineStatus?: unknown;
855
860
  company?: {
856
861
  id: string;
@@ -864,6 +869,7 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
864
869
  } | null | undefined;
865
870
  }, Error, {
866
871
  companyId?: string | undefined;
872
+ clientId?: string | null | undefined;
867
873
  emailValid?: "VALID" | "INVALID" | "RISKY" | "UNKNOWN" | undefined;
868
874
  firstName?: string | undefined;
869
875
  lastName?: string | undefined;
@@ -1248,5 +1254,5 @@ declare function getStepActionLabel(kind: ListBuildActionKind | 'none'): "Retry
1248
1254
  declare function deriveBusinessProgress(list: AcqListResponse, progress: ListProgress, actions?: ListBuilderRegistry, executions?: ListExecutionSummaryInput[]): ListProgress;
1249
1255
  declare function resolveBuildState(list: AcqListResponse, progress: ListProgress, actions: ListBuilderRegistry): BuildResolution;
1250
1256
 
1251
- export { CompanyDetailModal, ContactDetailModal, EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, RunWorkflowModal, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByCapability, formatDate, getEnrichmentColor, getEnrichmentStatus, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus };
1257
+ export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, RunWorkflowModal, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByCapability, formatDate, getEnrichmentColor, getEnrichmentStatus, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus };
1252
1258
  export type { AcqCompanyWithCount, AcqContactWithCompany, BuildResolution, BuildStepPrimaryEntity, BuildStepState, LeadGenCapabilityKey, LeadGenCompanyListItem, LeadGenContactListItem, LeadGenRouteLink, LeadGenSidebarMiddleProps, LeadGenStageKey, ListActionDefinition, ListActionFormContext, ListActionSelectionMode, ListBuildActionKind, ListBuildRecommendedAction, ListBuildStepStatus, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, MvpBuildStepDefinition, StatefulItem, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UseArtifactsParams };
@@ -1,32 +1,34 @@
1
- export { CompanyDetailModal, ContactDetailModal, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, RunWorkflowModal, deriveBusinessProgress, formatDate, getEnrichmentColor, getEnrichmentStatus, getStateKeyColor, getStatusColor, getStepActionLabel, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useDeleteLists } from '../../chunk-3GV5NHSS.js';
2
- import '../../chunk-NITGGYH2.js';
1
+ export { LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarTop, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, RunWorkflowModal, deriveBusinessProgress, formatDate, getEnrichmentColor, getEnrichmentStatus, getStateKeyColor, getStatusColor, getStepActionLabel, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useDeleteLists } from '../../chunk-SHQXMW4F.js';
2
+ export { LEAD_GEN_ITEMS, LeadGenSidebarMiddle } from '../../chunk-7KC4P3AU.js';
3
+ import '../../chunk-TVRQ6AQI.js';
3
4
  import '../../chunk-3MEXPLWT.js';
4
- import '../../chunk-BZZCNLT6.js';
5
- import '../../chunk-TUMSNGTX.js';
5
+ import '../../chunk-VNFR57DF.js';
6
6
  import '../../chunk-X4WBGKJQ.js';
7
7
  import '../../chunk-IIMU5YAJ.js';
8
+ import '../../chunk-BZZCNLT6.js';
9
+ import '../../chunk-TUMSNGTX.js';
8
10
  import '../../chunk-PDHTXPSF.js';
9
- import '../../chunk-KVJ3LFH2.js';
11
+ import '../../chunk-R66W5UDG.js';
10
12
  import '../../chunk-7M2VOCYN.js';
11
- export { companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeriveActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus } from '../../chunk-6EFVZV6X.js';
13
+ export { companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeriveActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus } from '../../chunk-JKSUN5GN.js';
12
14
  import '../../chunk-6YT4IKJ7.js';
13
- import '../../chunk-T2PAD63Y.js';
15
+ import '../../chunk-7HMCB26R.js';
14
16
  import '../../chunk-BRXELOHC.js';
15
17
  import '../../chunk-3ZMAGTWF.js';
16
18
  import '../../chunk-OAVTMITG.js';
17
- import '../../chunk-SKXXT3E2.js';
18
- import '../../chunk-T5Z7G2J2.js';
19
- import '../../chunk-4VQ2PXMI.js';
19
+ import '../../chunk-HYNYEBHM.js';
20
+ import '../../chunk-3BAPR3KA.js';
21
+ import '../../chunk-3FV6HBXS.js';
20
22
  import '../../chunk-WLOQ4IBG.js';
21
- import '../../chunk-4SY6BTVZ.js';
22
- import '../../chunk-6WXDE5LZ.js';
23
+ import '../../chunk-QDEETKYT.js';
24
+ import '../../chunk-6IXOKUBC.js';
25
+ import '../../chunk-L3BVJWML.js';
23
26
  import '../../chunk-3KMDHCAR.js';
24
- export { EMPTY_LIST_ACTIONS, ListActionsProvider, findListActionByCapability, getListActionWorkflowId, useListActions } from '../../chunk-AKOD52HS.js';
27
+ export { EMPTY_LIST_ACTIONS, ListActionsProvider, findListActionByCapability, getListActionWorkflowId, useListActions } from '../../chunk-CQZ3DNQY.js';
25
28
  import '../../chunk-SZHARWKU.js';
26
- import '../../chunk-6IXOKUBC.js';
27
29
  import '../../chunk-TKAYX2SP.js';
28
30
  import '../../chunk-NYBEU5TE.js';
29
- import '../../chunk-7E3FUTND.js';
31
+ import '../../chunk-TOIXUWR6.js';
30
32
  import '../../chunk-2IFYDILW.js';
31
33
  import '../../chunk-Q7DJKLEN.js';
32
34
  import '../../chunk-JA5ECJJB.js';
@@ -35,7 +37,7 @@ import '../../chunk-E565XMTQ.js';
35
37
  import '../../chunk-JBWJ6WHZ.js';
36
38
  import '../../chunk-DT3QYZVU.js';
37
39
  import '../../chunk-RNP5R5I3.js';
38
- import '../../chunk-HXZQWMKE.js';
40
+ import '../../chunk-XQHZBA65.js';
39
41
  import '../../chunk-KRWALB24.js';
40
42
  import '../../chunk-VKIZUUPM.js';
41
43
  import '../../chunk-533DUEQY.js';
@@ -43,4 +45,4 @@ import '../../chunk-DD3CCMCZ.js';
43
45
  import '../../chunk-2Q2JQSQO.js';
44
46
  import '../../chunk-KJ3QUBNU.js';
45
47
  import '../../chunk-BRJ3QZ4E.js';
46
- import '../../chunk-I2KLQ2HA.js';
48
+ import '../../chunk-DZTG5IAC.js';