@elevasis/ui 2.30.0 → 2.32.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 (130) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/app/index.css +38 -0
  3. package/dist/app/index.d.ts +190 -9
  4. package/dist/app/index.js +7 -6
  5. package/dist/charts/index.js +4 -5
  6. package/dist/{chunk-HXZQWMKE.js → chunk-2RJMVWFJ.js} +1 -6
  7. package/dist/{chunk-4VQ2PXMI.js → chunk-3FV6HBXS.js} +4 -4
  8. package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
  9. package/dist/{chunk-JKTPRYGV.js → chunk-4MFNGNHF.js} +123 -192
  10. package/dist/{chunk-HYLERWRO.js → chunk-4QK76KIF.js} +7 -7
  11. package/dist/chunk-5FJJ72HU.js +13 -0
  12. package/dist/chunk-5J4PDX26.js +112 -0
  13. package/dist/{chunk-4SY6BTVZ.js → chunk-6DWD423K.js} +12 -9
  14. package/dist/{chunk-3GV5NHSS.js → chunk-7KZINJLP.js} +78 -232
  15. package/dist/{chunk-6WXDE5LZ.js → chunk-EPTHX4VZ.js} +1 -1
  16. package/dist/{chunk-6EFVZV6X.js → chunk-GCOQ3TBG.js} +243 -254
  17. package/dist/{chunk-LRZFLK2F.js → chunk-IQHU7O5Y.js} +4 -4
  18. package/dist/{chunk-X2SUMO3P.js → chunk-IZWTVFJ2.js} +16 -3
  19. package/dist/{chunk-IKQ42WHU.js → chunk-JFL3GRD4.js} +1 -1
  20. package/dist/{chunk-4FZYEEPK.js → chunk-LLRXA7D7.js} +5 -6
  21. package/dist/chunk-MOY4VOHF.js +347 -0
  22. package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
  23. package/dist/{chunk-7E3FUTND.js → chunk-ND5TDV2J.js} +1 -1
  24. package/dist/{chunk-WF227UBV.js → chunk-QQHOKTJA.js} +4 -4
  25. package/dist/{chunk-A7B7HLDF.js → chunk-QTI3KC7D.js} +5884 -515
  26. package/dist/chunk-QXCDKE2O.js +486 -0
  27. package/dist/chunk-R2XR4FCV.js +48 -0
  28. package/dist/chunk-R66W5UDG.js +26 -0
  29. package/dist/{chunk-T5Z7G2J2.js → chunk-RQA2EVN3.js} +6 -16
  30. package/dist/{chunk-SKXXT3E2.js → chunk-RQTWIXJ5.js} +4 -4
  31. package/dist/chunk-T35FWDAB.js +4342 -0
  32. package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
  33. package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
  34. package/dist/{chunk-JCGD4GM6.js → chunk-UROTM5OR.js} +14 -1
  35. package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
  36. package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
  37. package/dist/{chunk-SBCIB5TZ.js → chunk-VRNMNB3O.js} +6 -7
  38. package/dist/chunk-WQPX44YM.js +1626 -0
  39. package/dist/{chunk-T2PAD63Y.js → chunk-XZGSCABI.js} +1 -1
  40. package/dist/chunk-YLQEVSOR.js +299 -0
  41. package/dist/{chunk-P5WYW2GI.js → chunk-ZQOKIGZP.js} +152 -306
  42. package/dist/components/index.css +38 -0
  43. package/dist/components/index.d.ts +334 -38
  44. package/dist/components/index.js +42 -42
  45. package/dist/components/navigation/index.css +38 -0
  46. package/dist/components/navigation/index.js +3 -2
  47. package/dist/execution/index.d.ts +9 -3
  48. package/dist/features/auth/index.css +38 -0
  49. package/dist/features/auth/index.d.ts +212 -14
  50. package/dist/features/auth/index.js +41 -9
  51. package/dist/features/clients/index.css +649 -0
  52. package/dist/features/clients/index.d.ts +86 -0
  53. package/dist/features/clients/index.js +720 -0
  54. package/dist/features/crm/index.css +38 -0
  55. package/dist/features/crm/index.d.ts +228 -20
  56. package/dist/features/crm/index.js +20 -17
  57. package/dist/features/dashboard/index.css +38 -0
  58. package/dist/features/dashboard/index.d.ts +78 -3
  59. package/dist/features/dashboard/index.js +16 -16
  60. package/dist/features/delivery/index.css +38 -0
  61. package/dist/features/delivery/index.d.ts +201 -18
  62. package/dist/features/delivery/index.js +20 -18
  63. package/dist/features/knowledge/index.css +38 -0
  64. package/dist/features/knowledge/index.d.ts +20 -18
  65. package/dist/features/knowledge/index.js +116 -578
  66. package/dist/features/lead-gen/index.css +38 -0
  67. package/dist/features/lead-gen/index.d.ts +59 -51
  68. package/dist/features/lead-gen/index.js +20 -18
  69. package/dist/features/monitoring/index.css +38 -0
  70. package/dist/features/monitoring/index.d.ts +20 -18
  71. package/dist/features/monitoring/index.js +19 -18
  72. package/dist/features/monitoring/requests/index.css +38 -0
  73. package/dist/features/monitoring/requests/index.d.ts +21 -19
  74. package/dist/features/monitoring/requests/index.js +17 -15
  75. package/dist/features/operations/index.css +38 -0
  76. package/dist/features/operations/index.d.ts +945 -45
  77. package/dist/features/operations/index.js +24 -26
  78. package/dist/features/seo/index.d.ts +20 -18
  79. package/dist/features/seo/index.js +1 -1
  80. package/dist/features/settings/index.css +38 -0
  81. package/dist/features/settings/index.d.ts +201 -18
  82. package/dist/features/settings/index.js +18 -16
  83. package/dist/hooks/delivery/index.css +38 -0
  84. package/dist/hooks/delivery/index.d.ts +200 -0
  85. package/dist/hooks/delivery/index.js +2 -2
  86. package/dist/hooks/index.css +38 -0
  87. package/dist/hooks/index.d.ts +825 -47
  88. package/dist/hooks/index.js +14 -13
  89. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +194 -3
  90. package/dist/hooks/published.css +38 -0
  91. package/dist/hooks/published.d.ts +825 -47
  92. package/dist/hooks/published.js +14 -13
  93. package/dist/index.css +38 -0
  94. package/dist/index.d.ts +1506 -1212
  95. package/dist/index.js +15 -14
  96. package/dist/initialization/index.d.ts +181 -0
  97. package/dist/knowledge/index.d.ts +813 -1068
  98. package/dist/knowledge/index.js +7370 -2869
  99. package/dist/{chunk-CLUP5H3C.js → knowledge-search-index-5KYPO746.js} +441 -963
  100. package/dist/layout/index.d.ts +6 -0
  101. package/dist/layout/index.js +4 -5
  102. package/dist/organization/index.css +38 -0
  103. package/dist/profile/index.d.ts +181 -0
  104. package/dist/provider/index.css +38 -0
  105. package/dist/provider/index.d.ts +909 -1156
  106. package/dist/provider/index.js +11 -10
  107. package/dist/provider/published.css +38 -0
  108. package/dist/provider/published.d.ts +906 -1153
  109. package/dist/provider/published.js +7 -6
  110. package/dist/supabase/index.d.ts +349 -0
  111. package/dist/test-utils/index.d.ts +16 -9
  112. package/dist/test-utils/index.js +39 -32
  113. package/dist/test-utils/setup.js +1 -1
  114. package/dist/theme/index.js +3 -3
  115. package/dist/theme/presets/index.js +1 -1
  116. package/dist/types/index.d.ts +378 -5
  117. package/dist/utils/index.d.ts +78 -3
  118. package/dist/utils/index.js +1 -1
  119. package/dist/vite/index.js +2 -2
  120. package/dist/vite-plugin-knowledge/index.js +1 -1
  121. package/package.json +47 -37
  122. package/src/provider/README.md +5 -5
  123. package/dist/chunk-2DIYILF7.js +0 -413
  124. package/dist/chunk-3MDNBHVB.js +0 -3868
  125. package/dist/chunk-6IXOKUBC.js +0 -347
  126. package/dist/chunk-AKOD52HS.js +0 -739
  127. package/dist/chunk-ECNNI3NT.js +0 -6
  128. package/dist/chunk-JDNEWB5F.js +0 -10
  129. package/dist/chunk-NITGGYH2.js +0 -476
  130. package/dist/chunk-OAVTMITG.js +0 -13
@@ -150,6 +150,14 @@
150
150
  .mantine-Accordion-control:hover {
151
151
  background-color: var(--color-surface-hover);
152
152
  }
153
+ [data-mantine-color-scheme] .mantine-Accordion-root .mantine-Accordion-item {
154
+ --item-filled-color: var(--color-surface);
155
+ --item-border-color: var(--color-border);
156
+ }
157
+ [data-mantine-color-scheme] .mantine-Accordion-root[data-variant=separated] .mantine-Accordion-item[data-active] {
158
+ background-color: var(--color-surface);
159
+ border-color: var(--color-border);
160
+ }
153
161
  .mantine-Menu-item:hover:not([data-disabled]) {
154
162
  background-color: var(--color-surface-hover);
155
163
  }
@@ -215,6 +223,36 @@
215
223
  background-color: var(--color-primary);
216
224
  border-color: var(--color-primary);
217
225
  }
226
+ .mantine-Tree-node:focus-visible > [data-value] {
227
+ outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
228
+ outline-offset: 2px;
229
+ }
230
+ .mantine-Tree-label[data-hovered] {
231
+ background-color: var(--color-surface-hover);
232
+ border-color: var(--color-border);
233
+ }
234
+ .mantine-Tree-label[data-selected] {
235
+ background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
236
+ border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
237
+ color: var(--color-primary);
238
+ }
239
+ [data-knowledge-article] pre {
240
+ white-space: pre-wrap;
241
+ word-break: break-word;
242
+ overflow-x: auto;
243
+ max-width: 100%;
244
+ padding: var(--mantine-spacing-sm);
245
+ background-color: var(--color-surface);
246
+ border: 1px solid var(--color-border);
247
+ border-radius: var(--mantine-radius-sm);
248
+ }
249
+ [data-knowledge-article] pre code {
250
+ background: transparent;
251
+ border: none;
252
+ padding: 0;
253
+ white-space: inherit;
254
+ word-break: inherit;
255
+ }
218
256
  .recharts-surface:focus {
219
257
  outline: none;
220
258
  }
@@ -111,6 +111,7 @@ type Database = {
111
111
  batch_id: string | null;
112
112
  category: string | null;
113
113
  category_pain: string | null;
114
+ client_id: string | null;
114
115
  created_at: string;
115
116
  domain: string | null;
116
117
  enrichment_data: Json | null;
@@ -137,6 +138,7 @@ type Database = {
137
138
  batch_id?: string | null;
138
139
  category?: string | null;
139
140
  category_pain?: string | null;
141
+ client_id?: string | null;
140
142
  created_at?: string;
141
143
  domain?: string | null;
142
144
  enrichment_data?: Json | null;
@@ -163,6 +165,7 @@ type Database = {
163
165
  batch_id?: string | null;
164
166
  category?: string | null;
165
167
  category_pain?: string | null;
168
+ client_id?: string | null;
166
169
  created_at?: string;
167
170
  domain?: string | null;
168
171
  enrichment_data?: Json | null;
@@ -186,6 +189,13 @@ type Database = {
186
189
  website?: string | null;
187
190
  };
188
191
  Relationships: [
192
+ {
193
+ foreignKeyName: "acq_companies_client_id_fkey";
194
+ columns: ["client_id"];
195
+ isOneToOne: false;
196
+ referencedRelation: "clients";
197
+ referencedColumns: ["id"];
198
+ },
189
199
  {
190
200
  foreignKeyName: "acq_companies_organization_id_fkey";
191
201
  columns: ["organization_id"];
@@ -200,6 +210,7 @@ type Database = {
200
210
  batch_id: string | null;
201
211
  brochure_first_viewed_at: string | null;
202
212
  brochure_view_count: number;
213
+ client_id: string | null;
203
214
  company_id: string | null;
204
215
  created_at: string;
205
216
  email: string;
@@ -228,6 +239,7 @@ type Database = {
228
239
  batch_id?: string | null;
229
240
  brochure_first_viewed_at?: string | null;
230
241
  brochure_view_count?: number;
242
+ client_id?: string | null;
231
243
  company_id?: string | null;
232
244
  created_at?: string;
233
245
  email: string;
@@ -256,6 +268,7 @@ type Database = {
256
268
  batch_id?: string | null;
257
269
  brochure_first_viewed_at?: string | null;
258
270
  brochure_view_count?: number;
271
+ client_id?: string | null;
259
272
  company_id?: string | null;
260
273
  created_at?: string;
261
274
  email?: string;
@@ -281,6 +294,13 @@ type Database = {
281
294
  updated_at?: string;
282
295
  };
283
296
  Relationships: [
297
+ {
298
+ foreignKeyName: "acq_contacts_client_id_fkey";
299
+ columns: ["client_id"];
300
+ isOneToOne: false;
301
+ referencedRelation: "clients";
302
+ referencedColumns: ["id"];
303
+ },
284
304
  {
285
305
  foreignKeyName: "acq_contacts_company_id_fkey";
286
306
  columns: ["company_id"];
@@ -524,8 +544,10 @@ type Database = {
524
544
  acq_deals: {
525
545
  Row: {
526
546
  activity_log: Json;
547
+ client_id: string | null;
527
548
  closed_lost_at: string | null;
528
549
  closed_lost_reason: string | null;
550
+ company_id: string | null;
529
551
  contact_email: string;
530
552
  contact_id: string | null;
531
553
  created_at: string;
@@ -561,8 +583,10 @@ type Database = {
561
583
  };
562
584
  Insert: {
563
585
  activity_log?: Json;
586
+ client_id?: string | null;
564
587
  closed_lost_at?: string | null;
565
588
  closed_lost_reason?: string | null;
589
+ company_id?: string | null;
566
590
  contact_email: string;
567
591
  contact_id?: string | null;
568
592
  created_at?: string;
@@ -598,8 +622,10 @@ type Database = {
598
622
  };
599
623
  Update: {
600
624
  activity_log?: Json;
625
+ client_id?: string | null;
601
626
  closed_lost_at?: string | null;
602
627
  closed_lost_reason?: string | null;
628
+ company_id?: string | null;
603
629
  contact_email?: string;
604
630
  contact_id?: string | null;
605
631
  created_at?: string;
@@ -634,6 +660,20 @@ type Database = {
634
660
  updated_at?: string;
635
661
  };
636
662
  Relationships: [
663
+ {
664
+ foreignKeyName: "acq_deals_client_id_fkey";
665
+ columns: ["client_id"];
666
+ isOneToOne: false;
667
+ referencedRelation: "clients";
668
+ referencedColumns: ["id"];
669
+ },
670
+ {
671
+ foreignKeyName: "acq_deals_company_id_fkey";
672
+ columns: ["company_id"];
673
+ isOneToOne: false;
674
+ referencedRelation: "acq_companies";
675
+ referencedColumns: ["id"];
676
+ },
637
677
  {
638
678
  foreignKeyName: "acq_deals_contact_id_fkey";
639
679
  columns: ["contact_id"];
@@ -1251,6 +1291,77 @@ type Database = {
1251
1291
  }
1252
1292
  ];
1253
1293
  };
1294
+ clients: {
1295
+ Row: {
1296
+ converted_at: string | null;
1297
+ created_at: string;
1298
+ id: string;
1299
+ metadata: Json;
1300
+ name: string;
1301
+ organization_id: string;
1302
+ primary_company_id: string | null;
1303
+ primary_contact_id: string | null;
1304
+ source_deal_id: string | null;
1305
+ status: string;
1306
+ updated_at: string;
1307
+ };
1308
+ Insert: {
1309
+ converted_at?: string | null;
1310
+ created_at?: string;
1311
+ id?: string;
1312
+ metadata?: Json;
1313
+ name: string;
1314
+ organization_id: string;
1315
+ primary_company_id?: string | null;
1316
+ primary_contact_id?: string | null;
1317
+ source_deal_id?: string | null;
1318
+ status?: string;
1319
+ updated_at?: string;
1320
+ };
1321
+ Update: {
1322
+ converted_at?: string | null;
1323
+ created_at?: string;
1324
+ id?: string;
1325
+ metadata?: Json;
1326
+ name?: string;
1327
+ organization_id?: string;
1328
+ primary_company_id?: string | null;
1329
+ primary_contact_id?: string | null;
1330
+ source_deal_id?: string | null;
1331
+ status?: string;
1332
+ updated_at?: string;
1333
+ };
1334
+ Relationships: [
1335
+ {
1336
+ foreignKeyName: "clients_organization_id_fkey";
1337
+ columns: ["organization_id"];
1338
+ isOneToOne: false;
1339
+ referencedRelation: "organizations";
1340
+ referencedColumns: ["id"];
1341
+ },
1342
+ {
1343
+ foreignKeyName: "clients_primary_company_id_fkey";
1344
+ columns: ["primary_company_id"];
1345
+ isOneToOne: false;
1346
+ referencedRelation: "acq_companies";
1347
+ referencedColumns: ["id"];
1348
+ },
1349
+ {
1350
+ foreignKeyName: "clients_primary_contact_id_fkey";
1351
+ columns: ["primary_contact_id"];
1352
+ isOneToOne: false;
1353
+ referencedRelation: "acq_contacts";
1354
+ referencedColumns: ["id"];
1355
+ },
1356
+ {
1357
+ foreignKeyName: "clients_source_deal_id_fkey";
1358
+ columns: ["source_deal_id"];
1359
+ isOneToOne: false;
1360
+ referencedRelation: "acq_deals";
1361
+ referencedColumns: ["id"];
1362
+ }
1363
+ ];
1364
+ };
1254
1365
  command_queue: {
1255
1366
  Row: {
1256
1367
  action_payload: Json | null;
@@ -2220,6 +2331,7 @@ type Database = {
2220
2331
  Row: {
2221
2332
  actual_end_date: string | null;
2222
2333
  client_company_id: string | null;
2334
+ client_id: string | null;
2223
2335
  contract_value: number | null;
2224
2336
  created_at: string;
2225
2337
  deal_id: string | null;
@@ -2237,6 +2349,7 @@ type Database = {
2237
2349
  Insert: {
2238
2350
  actual_end_date?: string | null;
2239
2351
  client_company_id?: string | null;
2352
+ client_id?: string | null;
2240
2353
  contract_value?: number | null;
2241
2354
  created_at?: string;
2242
2355
  deal_id?: string | null;
@@ -2254,6 +2367,7 @@ type Database = {
2254
2367
  Update: {
2255
2368
  actual_end_date?: string | null;
2256
2369
  client_company_id?: string | null;
2370
+ client_id?: string | null;
2257
2371
  contract_value?: number | null;
2258
2372
  created_at?: string;
2259
2373
  deal_id?: string | null;
@@ -2290,6 +2404,13 @@ type Database = {
2290
2404
  referencedRelation: "acq_companies";
2291
2405
  referencedColumns: ["id"];
2292
2406
  },
2407
+ {
2408
+ foreignKeyName: "prj_projects_client_id_fkey";
2409
+ columns: ["client_id"];
2410
+ isOneToOne: false;
2411
+ referencedRelation: "clients";
2412
+ referencedColumns: ["id"];
2413
+ },
2293
2414
  {
2294
2415
  foreignKeyName: "prj_projects_deal_id_fkey";
2295
2416
  columns: ["deal_id"];
@@ -2694,6 +2815,66 @@ type Database = {
2694
2815
  }
2695
2816
  ];
2696
2817
  };
2818
+ user_notes: {
2819
+ Row: {
2820
+ content: string;
2821
+ created_at: string;
2822
+ created_by: string;
2823
+ id: string;
2824
+ metadata: Json;
2825
+ organization_id: string | null;
2826
+ pinned: boolean;
2827
+ priority: string;
2828
+ source: string | null;
2829
+ title: string | null;
2830
+ updated_at: string;
2831
+ user_id: string;
2832
+ };
2833
+ Insert: {
2834
+ content: string;
2835
+ created_at?: string;
2836
+ created_by?: string;
2837
+ id?: string;
2838
+ metadata?: Json;
2839
+ organization_id?: string | null;
2840
+ pinned?: boolean;
2841
+ priority?: string;
2842
+ source?: string | null;
2843
+ title?: string | null;
2844
+ updated_at?: string;
2845
+ user_id: string;
2846
+ };
2847
+ Update: {
2848
+ content?: string;
2849
+ created_at?: string;
2850
+ created_by?: string;
2851
+ id?: string;
2852
+ metadata?: Json;
2853
+ organization_id?: string | null;
2854
+ pinned?: boolean;
2855
+ priority?: string;
2856
+ source?: string | null;
2857
+ title?: string | null;
2858
+ updated_at?: string;
2859
+ user_id?: string;
2860
+ };
2861
+ Relationships: [
2862
+ {
2863
+ foreignKeyName: "user_notes_organization_id_fkey";
2864
+ columns: ["organization_id"];
2865
+ isOneToOne: false;
2866
+ referencedRelation: "organizations";
2867
+ referencedColumns: ["id"];
2868
+ },
2869
+ {
2870
+ foreignKeyName: "user_notes_user_id_fkey";
2871
+ columns: ["user_id"];
2872
+ isOneToOne: false;
2873
+ referencedRelation: "users";
2874
+ referencedColumns: ["id"];
2875
+ }
2876
+ ];
2877
+ };
2697
2878
  users: {
2698
2879
  Row: {
2699
2880
  config: Json;
@@ -3009,6 +3190,7 @@ type ResolvedCrmPriorityRuleConfig = CrmPriorityRuleConfig & {
3009
3190
  declare const DealDetailResponseSchema: z.ZodObject<{
3010
3191
  id: z.ZodString;
3011
3192
  organization_id: z.ZodString;
3193
+ client_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3012
3194
  contact_id: z.ZodNullable<z.ZodString>;
3013
3195
  contact_email: z.ZodString;
3014
3196
  pipeline_key: z.ZodString;
@@ -3093,6 +3275,25 @@ declare const DealDetailResponseSchema: z.ZodObject<{
3093
3275
  sentAt: z.ZodNullable<z.ZodString>;
3094
3276
  }, z.core.$strip>>;
3095
3277
  }, z.core.$strip>;
3278
+ lineage: z.ZodOptional<z.ZodObject<{
3279
+ list: z.ZodNullable<z.ZodObject<{
3280
+ id: z.ZodString;
3281
+ name: z.ZodString;
3282
+ status: z.ZodString;
3283
+ }, z.core.$strip>>;
3284
+ projects: z.ZodArray<z.ZodObject<{
3285
+ id: z.ZodString;
3286
+ name: z.ZodString;
3287
+ kind: z.ZodString;
3288
+ status: z.ZodString;
3289
+ updatedAt: z.ZodString;
3290
+ }, z.core.$strip>>;
3291
+ client: z.ZodNullable<z.ZodObject<{
3292
+ id: z.ZodString;
3293
+ name: z.ZodString;
3294
+ status: z.ZodString;
3295
+ }, z.core.$strip>>;
3296
+ }, z.core.$strip>>;
3096
3297
  }, z.core.$strip>;
3097
3298
  type DealDetailResponse = z.infer<typeof DealDetailResponseSchema>;
3098
3299
 
@@ -3288,35 +3489,37 @@ interface QuickCreateActionsProps {
3288
3489
  }
3289
3490
  declare function QuickCreateActions({ showSectionLabel }: QuickCreateActionsProps): react_jsx_runtime.JSX.Element;
3290
3491
 
3291
- type FeatureSidebarComponent = ComponentType;
3292
- type FeatureIconComponent = ComponentType<{
3492
+ type SystemSidebarComponent = ComponentType;
3493
+ type SystemIconComponent = ComponentType<{
3293
3494
  size?: number;
3294
3495
  stroke?: number;
3295
3496
  }>;
3296
- type FeatureSidebarWidthResolver = number | ((context: {
3497
+ type SystemSidebarWidthResolver = number | ((context: {
3297
3498
  currentPath: string;
3298
3499
  }) => number);
3299
- interface FeatureModule {
3300
- /** Unique stable identifier for this feature module. */
3500
+ interface SystemModule {
3501
+ /** Unique stable identifier for this UI system module. */
3301
3502
  key: string;
3302
- /** Organization Model feature id this module presents. */
3303
- featureId: string;
3304
- /** Capability identifiers contributed by this feature module. */
3503
+ /** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
3504
+ systemId?: string;
3505
+ /** Route prefixes owned by navigation-only app surfaces. */
3506
+ routePrefixes?: string[];
3507
+ /** Capability identifiers contributed by this system module. */
3305
3508
  capabilityIds?: string[];
3306
- /** Icon used when this feature node appears in shell navigation. */
3307
- icon?: FeatureIconComponent;
3308
- /** Sidebar component rendered when this feature's subtree route is active. */
3309
- sidebar?: FeatureSidebarComponent;
3509
+ /** Icon used when this system node appears in shell navigation. */
3510
+ icon?: SystemIconComponent;
3511
+ /** Sidebar component rendered when this system's subtree route is active. */
3512
+ sidebar?: SystemSidebarComponent;
3310
3513
  /** Optional shell sidebar width override. Defaults to 250px. */
3311
- sidebarWidth?: FeatureSidebarWidthResolver;
3312
- /** Operations-only bridge connecting this feature to the organization graph node. */
3313
- organizationGraph?: OrganizationGraphFeatureBridge;
3514
+ sidebarWidth?: SystemSidebarWidthResolver;
3515
+ /** Operations-only bridge connecting this system to the organization graph node. */
3516
+ organizationGraph?: OrganizationGraphSystemBridge;
3314
3517
  }
3315
- interface OrganizationGraphFeatureBridge {
3316
- featureId: string;
3518
+ interface OrganizationGraphSystemBridge {
3519
+ systemId?: string;
3317
3520
  }
3318
3521
 
3319
- declare const crmManifest: FeatureModule;
3522
+ declare const crmManifest: SystemModule;
3320
3523
 
3321
3524
  declare const DEAL_STAGE_COLORS: Record<string, string>;
3322
3525
  declare const DEAL_STAGE_OPTIONS: {
@@ -3349,6 +3552,11 @@ declare function CompanyDetailPage({ companyId }: CompanyDetailPageProps): react
3349
3552
 
3350
3553
  declare function CrmSettingsPage(): react_jsx_runtime.JSX.Element;
3351
3554
 
3555
+ interface ContactDetailPageProps {
3556
+ contactId: string;
3557
+ }
3558
+ declare function ContactDetailPage({ contactId }: ContactDetailPageProps): react_jsx_runtime.JSX.Element;
3559
+
3352
3560
  interface CrmPrioritySettingsResponse {
3353
3561
  override: CrmPriorityOverride | null;
3354
3562
  resolved: ResolvedCrmPriorityRuleConfig;
@@ -3373,5 +3581,5 @@ declare function useUpdateCrmPrioritySettings(): _tanstack_react_query.UseMutati
3373
3581
  }, unknown>;
3374
3582
  declare function useResetCrmPrioritySettings(): _tanstack_react_query.UseMutationResult<CrmPrioritySettingsResponse, Error, void, unknown>;
3375
3583
 
3376
- export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, ConversationThread, CrmOverview, CrmSettingsPage, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, crmManifest, crmPrioritySettingsKeys, formatDealStageLabel, useCrmPipelineSummary, useCrmPrioritySettings, useCrmQuickMetrics, useRecentCrmActivity, useResetCrmPrioritySettings, useUpdateCrmPrioritySettings };
3377
- export type { ActivityFeedWidgetProps, CompanyDetailPageProps, RecentActivityEntry as CrmActivityEntry, CrmActivityKind, CrmOverviewProps, CrmPrioritySettingsResponse, CrmQuickMetrics, CrmSidebarMiddleProps, MyTasksPanelProps, PipelineFunnelWidgetProps, PipelineStageSummary, QuickCreateActionsProps, SavedViewPreset, SavedViewsPanelProps };
3584
+ export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, ContactDetailPage, ConversationThread, CrmOverview, CrmSettingsPage, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, crmManifest, crmPrioritySettingsKeys, formatDealStageLabel, useCrmPipelineSummary, useCrmPrioritySettings, useCrmQuickMetrics, useRecentCrmActivity, useResetCrmPrioritySettings, useUpdateCrmPrioritySettings };
3585
+ export type { ActivityFeedWidgetProps, CompanyDetailPageProps, ContactDetailPageProps, RecentActivityEntry as CrmActivityEntry, CrmActivityKind, CrmOverviewProps, CrmPrioritySettingsResponse, CrmQuickMetrics, CrmSidebarMiddleProps, MyTasksPanelProps, PipelineFunnelWidgetProps, PipelineStageSummary, QuickCreateActionsProps, SavedViewPreset, SavedViewsPanelProps };
@@ -1,30 +1,33 @@
1
- export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, ConversationThread, CrmOverview, CrmSettingsPage, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, crmManifest, crmPrioritySettingsKeys, formatDealStageLabel, useCrmPipelineSummary, useCrmPrioritySettings, useCrmQuickMetrics, useRecentCrmActivity, useResetCrmPrioritySettings, useUpdateCrmPrioritySettings } from '../../chunk-P5WYW2GI.js';
2
- import '../../chunk-BZZCNLT6.js';
3
- import '../../chunk-TUMSNGTX.js';
1
+ export { ActivityFeedWidget, CompanyDetailPage, ContactDetailPage, ConversationThread, CrmOverview, CrmSettingsPage, CrmSidebar, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, crmManifest, crmPrioritySettingsKeys, formatDealStageLabel, useCrmPipelineSummary, useCrmPrioritySettings, useCrmQuickMetrics, useRecentCrmActivity, useResetCrmPrioritySettings, useUpdateCrmPrioritySettings } from '../../chunk-ZQOKIGZP.js';
2
+ export { CRM_ITEMS, CrmSidebarMiddle, MyTasksPanel, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel } from '../../chunk-MOY4VOHF.js';
3
+ import '../../chunk-VNFR57DF.js';
4
4
  import '../../chunk-X4WBGKJQ.js';
5
5
  import '../../chunk-IIMU5YAJ.js';
6
+ import '../../chunk-BZZCNLT6.js';
7
+ import '../../chunk-TUMSNGTX.js';
6
8
  import '../../chunk-PDHTXPSF.js';
7
- import '../../chunk-KVJ3LFH2.js';
9
+ import '../../chunk-R66W5UDG.js';
8
10
  import '../../chunk-7M2VOCYN.js';
9
- import '../../chunk-6EFVZV6X.js';
10
- import '../../chunk-6YT4IKJ7.js';
11
- import '../../chunk-T2PAD63Y.js';
11
+ import '../../chunk-GCOQ3TBG.js';
12
+ import '../../chunk-VNAZTCHA.js';
13
+ import '../../chunk-XZGSCABI.js';
12
14
  import '../../chunk-BRXELOHC.js';
13
15
  import '../../chunk-3ZMAGTWF.js';
14
- import '../../chunk-OAVTMITG.js';
15
- import '../../chunk-SKXXT3E2.js';
16
- import '../../chunk-T5Z7G2J2.js';
17
- import '../../chunk-4VQ2PXMI.js';
16
+ import '../../chunk-5FJJ72HU.js';
17
+ import '../../chunk-RQTWIXJ5.js';
18
+ import '../../chunk-RQA2EVN3.js';
19
+ import '../../chunk-3FV6HBXS.js';
18
20
  import '../../chunk-WLOQ4IBG.js';
19
- import '../../chunk-4SY6BTVZ.js';
20
- import '../../chunk-6WXDE5LZ.js';
21
+ import '../../chunk-6DWD423K.js';
22
+ import '../../chunk-EPTHX4VZ.js';
21
23
  import '../../chunk-3KMDHCAR.js';
22
- import '../../chunk-AKOD52HS.js';
24
+ import '../../chunk-YLQEVSOR.js';
23
25
  import '../../chunk-SZHARWKU.js';
24
- import '../../chunk-6IXOKUBC.js';
26
+ import '../../chunk-QXCDKE2O.js';
25
27
  import '../../chunk-TKAYX2SP.js';
26
28
  import '../../chunk-NYBEU5TE.js';
27
- import '../../chunk-7E3FUTND.js';
29
+ import '../../chunk-T35FWDAB.js';
30
+ import '../../chunk-ND5TDV2J.js';
28
31
  import '../../chunk-2IFYDILW.js';
29
32
  import '../../chunk-Q7DJKLEN.js';
30
33
  import '../../chunk-JA5ECJJB.js';
@@ -33,7 +36,7 @@ import '../../chunk-E565XMTQ.js';
33
36
  import '../../chunk-JBWJ6WHZ.js';
34
37
  import '../../chunk-DT3QYZVU.js';
35
38
  import '../../chunk-RNP5R5I3.js';
36
- import '../../chunk-HXZQWMKE.js';
39
+ import '../../chunk-2RJMVWFJ.js';
37
40
  import '../../chunk-KRWALB24.js';
38
41
  import '../../chunk-VKIZUUPM.js';
39
42
  import '../../chunk-533DUEQY.js';
@@ -150,6 +150,14 @@
150
150
  .mantine-Accordion-control:hover {
151
151
  background-color: var(--color-surface-hover);
152
152
  }
153
+ [data-mantine-color-scheme] .mantine-Accordion-root .mantine-Accordion-item {
154
+ --item-filled-color: var(--color-surface);
155
+ --item-border-color: var(--color-border);
156
+ }
157
+ [data-mantine-color-scheme] .mantine-Accordion-root[data-variant=separated] .mantine-Accordion-item[data-active] {
158
+ background-color: var(--color-surface);
159
+ border-color: var(--color-border);
160
+ }
153
161
  .mantine-Menu-item:hover:not([data-disabled]) {
154
162
  background-color: var(--color-surface-hover);
155
163
  }
@@ -215,6 +223,36 @@
215
223
  background-color: var(--color-primary);
216
224
  border-color: var(--color-primary);
217
225
  }
226
+ .mantine-Tree-node:focus-visible > [data-value] {
227
+ outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
228
+ outline-offset: 2px;
229
+ }
230
+ .mantine-Tree-label[data-hovered] {
231
+ background-color: var(--color-surface-hover);
232
+ border-color: var(--color-border);
233
+ }
234
+ .mantine-Tree-label[data-selected] {
235
+ background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
236
+ border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
237
+ color: var(--color-primary);
238
+ }
239
+ [data-knowledge-article] pre {
240
+ white-space: pre-wrap;
241
+ word-break: break-word;
242
+ overflow-x: auto;
243
+ max-width: 100%;
244
+ padding: var(--mantine-spacing-sm);
245
+ background-color: var(--color-surface);
246
+ border: 1px solid var(--color-border);
247
+ border-radius: var(--mantine-radius-sm);
248
+ }
249
+ [data-knowledge-article] pre code {
250
+ background: transparent;
251
+ border: none;
252
+ padding: 0;
253
+ white-space: inherit;
254
+ word-break: inherit;
255
+ }
218
256
  .recharts-surface:focus {
219
257
  outline: none;
220
258
  }