@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
@@ -1,44 +1,42 @@
1
- export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, ExecuteWorkflowModal, ExecutionPanel, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel, operationsManifest } from '../../chunk-A7B7HLDF.js';
1
+ export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, ExecuteWorkflowModal, ExecutionPanel, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } from '../../chunk-QTI3KC7D.js';
2
2
  import '../../chunk-CXY7FMUM.js';
3
- export { CommandViewSidebarContent } from '../../chunk-3MDNBHVB.js';
4
3
  import '../../chunk-ZTWA5H77.js';
5
- import '../../chunk-JDNEWB5F.js';
6
- import '../../chunk-JCGD4GM6.js';
7
- import '../../chunk-XQQEKWTL.js';
8
- export { DashboardOperationsOverview, OperationsOverview } from '../../chunk-4FZYEEPK.js';
9
- import '../../chunk-ECNNI3NT.js';
10
- import '../../chunk-NITGGYH2.js';
4
+ import '../../chunk-5J4PDX26.js';
5
+ import '../../chunk-N55DVMAG.js';
6
+ import '../../chunk-UROTM5OR.js';
7
+ export { DashboardOperationsOverview, OperationsOverview } from '../../chunk-LLRXA7D7.js';
11
8
  import '../../chunk-3MEXPLWT.js';
12
- import '../../chunk-LRZFLK2F.js';
9
+ import '../../chunk-IQHU7O5Y.js';
13
10
  import '../../chunk-LGKLC5MG.js';
14
- import '../../chunk-2DIYILF7.js';
15
- import '../../chunk-CW3UNAF2.js';
11
+ import '../../chunk-4DYOXEH6.js';
12
+ import '../../chunk-VNFR57DF.js';
13
+ import '../../chunk-IIMU5YAJ.js';
16
14
  import '../../chunk-RYTEQBAO.js';
17
15
  import '../../chunk-BZZCNLT6.js';
18
- import '../../chunk-IIMU5YAJ.js';
19
- import '../../chunk-KVJ3LFH2.js';
16
+ import '../../chunk-R66W5UDG.js';
20
17
  import '../../chunk-22UVE3RA.js';
21
18
  import '../../chunk-E4WQGJNS.js';
22
19
  import '../../chunk-7M2VOCYN.js';
23
- import '../../chunk-6EFVZV6X.js';
24
- import '../../chunk-6YT4IKJ7.js';
25
- import '../../chunk-T2PAD63Y.js';
20
+ import '../../chunk-GCOQ3TBG.js';
21
+ import '../../chunk-VNAZTCHA.js';
22
+ import '../../chunk-XZGSCABI.js';
26
23
  import '../../chunk-BRXELOHC.js';
27
24
  import '../../chunk-3ZMAGTWF.js';
28
- import '../../chunk-OAVTMITG.js';
29
- import '../../chunk-SKXXT3E2.js';
30
- import '../../chunk-T5Z7G2J2.js';
31
- import '../../chunk-4VQ2PXMI.js';
25
+ import '../../chunk-5FJJ72HU.js';
26
+ import '../../chunk-RQTWIXJ5.js';
27
+ import '../../chunk-RQA2EVN3.js';
28
+ import '../../chunk-3FV6HBXS.js';
32
29
  import '../../chunk-WLOQ4IBG.js';
33
- import '../../chunk-4SY6BTVZ.js';
34
- import '../../chunk-6WXDE5LZ.js';
30
+ import '../../chunk-6DWD423K.js';
31
+ import '../../chunk-EPTHX4VZ.js';
35
32
  import '../../chunk-3KMDHCAR.js';
36
- import '../../chunk-AKOD52HS.js';
33
+ import '../../chunk-YLQEVSOR.js';
37
34
  import '../../chunk-SZHARWKU.js';
38
- import '../../chunk-6IXOKUBC.js';
35
+ import '../../chunk-QXCDKE2O.js';
39
36
  import '../../chunk-TKAYX2SP.js';
40
37
  import '../../chunk-NYBEU5TE.js';
41
- import '../../chunk-7E3FUTND.js';
38
+ import '../../chunk-T35FWDAB.js';
39
+ import '../../chunk-ND5TDV2J.js';
42
40
  import '../../chunk-2IFYDILW.js';
43
41
  import '../../chunk-Q7DJKLEN.js';
44
42
  import '../../chunk-JA5ECJJB.js';
@@ -47,7 +45,7 @@ import '../../chunk-E565XMTQ.js';
47
45
  import '../../chunk-JBWJ6WHZ.js';
48
46
  import '../../chunk-DT3QYZVU.js';
49
47
  import '../../chunk-RNP5R5I3.js';
50
- import '../../chunk-HXZQWMKE.js';
48
+ import '../../chunk-2RJMVWFJ.js';
51
49
  import '../../chunk-KRWALB24.js';
52
50
  import '../../chunk-VKIZUUPM.js';
53
51
  import '../../chunk-533DUEQY.js';
@@ -7,34 +7,36 @@ declare const SEOSidebarTop: () => react_jsx_runtime.JSX.Element;
7
7
 
8
8
  declare const SEOSidebarMiddle: () => react_jsx_runtime.JSX.Element;
9
9
 
10
- type FeatureSidebarComponent = ComponentType;
11
- type FeatureIconComponent = ComponentType<{
10
+ type SystemSidebarComponent = ComponentType;
11
+ type SystemIconComponent = ComponentType<{
12
12
  size?: number;
13
13
  stroke?: number;
14
14
  }>;
15
- type FeatureSidebarWidthResolver = number | ((context: {
15
+ type SystemSidebarWidthResolver = number | ((context: {
16
16
  currentPath: string;
17
17
  }) => number);
18
- interface FeatureModule {
19
- /** Unique stable identifier for this feature module. */
18
+ interface SystemModule {
19
+ /** Unique stable identifier for this UI system module. */
20
20
  key: string;
21
- /** Organization Model feature id this module presents. */
22
- featureId: string;
23
- /** Capability identifiers contributed by this feature module. */
21
+ /** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
22
+ systemId?: string;
23
+ /** Route prefixes owned by navigation-only app surfaces. */
24
+ routePrefixes?: string[];
25
+ /** Capability identifiers contributed by this system module. */
24
26
  capabilityIds?: string[];
25
- /** Icon used when this feature node appears in shell navigation. */
26
- icon?: FeatureIconComponent;
27
- /** Sidebar component rendered when this feature's subtree route is active. */
28
- sidebar?: FeatureSidebarComponent;
27
+ /** Icon used when this system node appears in shell navigation. */
28
+ icon?: SystemIconComponent;
29
+ /** Sidebar component rendered when this system's subtree route is active. */
30
+ sidebar?: SystemSidebarComponent;
29
31
  /** Optional shell sidebar width override. Defaults to 250px. */
30
- sidebarWidth?: FeatureSidebarWidthResolver;
31
- /** Operations-only bridge connecting this feature to the organization graph node. */
32
- organizationGraph?: OrganizationGraphFeatureBridge;
32
+ sidebarWidth?: SystemSidebarWidthResolver;
33
+ /** Operations-only bridge connecting this system to the organization graph node. */
34
+ organizationGraph?: OrganizationGraphSystemBridge;
33
35
  }
34
- interface OrganizationGraphFeatureBridge {
35
- featureId: string;
36
+ interface OrganizationGraphSystemBridge {
37
+ systemId?: string;
36
38
  }
37
39
 
38
- declare const seoManifest: FeatureModule;
40
+ declare const seoManifest: SystemModule;
39
41
 
40
42
  export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest };
@@ -1,4 +1,4 @@
1
- export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../../chunk-DWK2QIAK.js';
1
+ export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../../chunk-TYRUKGGD.js';
2
2
  import '../../chunk-X4WBGKJQ.js';
3
3
  import '../../chunk-IIMU5YAJ.js';
4
4
  import '../../chunk-2IFYDILW.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
  }
@@ -63,6 +63,7 @@ type Database = {
63
63
  batch_id: string | null;
64
64
  category: string | null;
65
65
  category_pain: string | null;
66
+ client_id: string | null;
66
67
  created_at: string;
67
68
  domain: string | null;
68
69
  enrichment_data: Json | null;
@@ -89,6 +90,7 @@ type Database = {
89
90
  batch_id?: string | null;
90
91
  category?: string | null;
91
92
  category_pain?: string | null;
93
+ client_id?: string | null;
92
94
  created_at?: string;
93
95
  domain?: string | null;
94
96
  enrichment_data?: Json | null;
@@ -115,6 +117,7 @@ type Database = {
115
117
  batch_id?: string | null;
116
118
  category?: string | null;
117
119
  category_pain?: string | null;
120
+ client_id?: string | null;
118
121
  created_at?: string;
119
122
  domain?: string | null;
120
123
  enrichment_data?: Json | null;
@@ -138,6 +141,13 @@ type Database = {
138
141
  website?: string | null;
139
142
  };
140
143
  Relationships: [
144
+ {
145
+ foreignKeyName: "acq_companies_client_id_fkey";
146
+ columns: ["client_id"];
147
+ isOneToOne: false;
148
+ referencedRelation: "clients";
149
+ referencedColumns: ["id"];
150
+ },
141
151
  {
142
152
  foreignKeyName: "acq_companies_organization_id_fkey";
143
153
  columns: ["organization_id"];
@@ -152,6 +162,7 @@ type Database = {
152
162
  batch_id: string | null;
153
163
  brochure_first_viewed_at: string | null;
154
164
  brochure_view_count: number;
165
+ client_id: string | null;
155
166
  company_id: string | null;
156
167
  created_at: string;
157
168
  email: string;
@@ -180,6 +191,7 @@ type Database = {
180
191
  batch_id?: string | null;
181
192
  brochure_first_viewed_at?: string | null;
182
193
  brochure_view_count?: number;
194
+ client_id?: string | null;
183
195
  company_id?: string | null;
184
196
  created_at?: string;
185
197
  email: string;
@@ -208,6 +220,7 @@ type Database = {
208
220
  batch_id?: string | null;
209
221
  brochure_first_viewed_at?: string | null;
210
222
  brochure_view_count?: number;
223
+ client_id?: string | null;
211
224
  company_id?: string | null;
212
225
  created_at?: string;
213
226
  email?: string;
@@ -233,6 +246,13 @@ type Database = {
233
246
  updated_at?: string;
234
247
  };
235
248
  Relationships: [
249
+ {
250
+ foreignKeyName: "acq_contacts_client_id_fkey";
251
+ columns: ["client_id"];
252
+ isOneToOne: false;
253
+ referencedRelation: "clients";
254
+ referencedColumns: ["id"];
255
+ },
236
256
  {
237
257
  foreignKeyName: "acq_contacts_company_id_fkey";
238
258
  columns: ["company_id"];
@@ -476,8 +496,10 @@ type Database = {
476
496
  acq_deals: {
477
497
  Row: {
478
498
  activity_log: Json;
499
+ client_id: string | null;
479
500
  closed_lost_at: string | null;
480
501
  closed_lost_reason: string | null;
502
+ company_id: string | null;
481
503
  contact_email: string;
482
504
  contact_id: string | null;
483
505
  created_at: string;
@@ -513,8 +535,10 @@ type Database = {
513
535
  };
514
536
  Insert: {
515
537
  activity_log?: Json;
538
+ client_id?: string | null;
516
539
  closed_lost_at?: string | null;
517
540
  closed_lost_reason?: string | null;
541
+ company_id?: string | null;
518
542
  contact_email: string;
519
543
  contact_id?: string | null;
520
544
  created_at?: string;
@@ -550,8 +574,10 @@ type Database = {
550
574
  };
551
575
  Update: {
552
576
  activity_log?: Json;
577
+ client_id?: string | null;
553
578
  closed_lost_at?: string | null;
554
579
  closed_lost_reason?: string | null;
580
+ company_id?: string | null;
555
581
  contact_email?: string;
556
582
  contact_id?: string | null;
557
583
  created_at?: string;
@@ -586,6 +612,20 @@ type Database = {
586
612
  updated_at?: string;
587
613
  };
588
614
  Relationships: [
615
+ {
616
+ foreignKeyName: "acq_deals_client_id_fkey";
617
+ columns: ["client_id"];
618
+ isOneToOne: false;
619
+ referencedRelation: "clients";
620
+ referencedColumns: ["id"];
621
+ },
622
+ {
623
+ foreignKeyName: "acq_deals_company_id_fkey";
624
+ columns: ["company_id"];
625
+ isOneToOne: false;
626
+ referencedRelation: "acq_companies";
627
+ referencedColumns: ["id"];
628
+ },
589
629
  {
590
630
  foreignKeyName: "acq_deals_contact_id_fkey";
591
631
  columns: ["contact_id"];
@@ -1203,6 +1243,77 @@ type Database = {
1203
1243
  }
1204
1244
  ];
1205
1245
  };
1246
+ clients: {
1247
+ Row: {
1248
+ converted_at: string | null;
1249
+ created_at: string;
1250
+ id: string;
1251
+ metadata: Json;
1252
+ name: string;
1253
+ organization_id: string;
1254
+ primary_company_id: string | null;
1255
+ primary_contact_id: string | null;
1256
+ source_deal_id: string | null;
1257
+ status: string;
1258
+ updated_at: string;
1259
+ };
1260
+ Insert: {
1261
+ converted_at?: string | null;
1262
+ created_at?: string;
1263
+ id?: string;
1264
+ metadata?: Json;
1265
+ name: string;
1266
+ organization_id: string;
1267
+ primary_company_id?: string | null;
1268
+ primary_contact_id?: string | null;
1269
+ source_deal_id?: string | null;
1270
+ status?: string;
1271
+ updated_at?: string;
1272
+ };
1273
+ Update: {
1274
+ converted_at?: string | null;
1275
+ created_at?: string;
1276
+ id?: string;
1277
+ metadata?: Json;
1278
+ name?: string;
1279
+ organization_id?: string;
1280
+ primary_company_id?: string | null;
1281
+ primary_contact_id?: string | null;
1282
+ source_deal_id?: string | null;
1283
+ status?: string;
1284
+ updated_at?: string;
1285
+ };
1286
+ Relationships: [
1287
+ {
1288
+ foreignKeyName: "clients_organization_id_fkey";
1289
+ columns: ["organization_id"];
1290
+ isOneToOne: false;
1291
+ referencedRelation: "organizations";
1292
+ referencedColumns: ["id"];
1293
+ },
1294
+ {
1295
+ foreignKeyName: "clients_primary_company_id_fkey";
1296
+ columns: ["primary_company_id"];
1297
+ isOneToOne: false;
1298
+ referencedRelation: "acq_companies";
1299
+ referencedColumns: ["id"];
1300
+ },
1301
+ {
1302
+ foreignKeyName: "clients_primary_contact_id_fkey";
1303
+ columns: ["primary_contact_id"];
1304
+ isOneToOne: false;
1305
+ referencedRelation: "acq_contacts";
1306
+ referencedColumns: ["id"];
1307
+ },
1308
+ {
1309
+ foreignKeyName: "clients_source_deal_id_fkey";
1310
+ columns: ["source_deal_id"];
1311
+ isOneToOne: false;
1312
+ referencedRelation: "acq_deals";
1313
+ referencedColumns: ["id"];
1314
+ }
1315
+ ];
1316
+ };
1206
1317
  command_queue: {
1207
1318
  Row: {
1208
1319
  action_payload: Json | null;
@@ -2172,6 +2283,7 @@ type Database = {
2172
2283
  Row: {
2173
2284
  actual_end_date: string | null;
2174
2285
  client_company_id: string | null;
2286
+ client_id: string | null;
2175
2287
  contract_value: number | null;
2176
2288
  created_at: string;
2177
2289
  deal_id: string | null;
@@ -2189,6 +2301,7 @@ type Database = {
2189
2301
  Insert: {
2190
2302
  actual_end_date?: string | null;
2191
2303
  client_company_id?: string | null;
2304
+ client_id?: string | null;
2192
2305
  contract_value?: number | null;
2193
2306
  created_at?: string;
2194
2307
  deal_id?: string | null;
@@ -2206,6 +2319,7 @@ type Database = {
2206
2319
  Update: {
2207
2320
  actual_end_date?: string | null;
2208
2321
  client_company_id?: string | null;
2322
+ client_id?: string | null;
2209
2323
  contract_value?: number | null;
2210
2324
  created_at?: string;
2211
2325
  deal_id?: string | null;
@@ -2242,6 +2356,13 @@ type Database = {
2242
2356
  referencedRelation: "acq_companies";
2243
2357
  referencedColumns: ["id"];
2244
2358
  },
2359
+ {
2360
+ foreignKeyName: "prj_projects_client_id_fkey";
2361
+ columns: ["client_id"];
2362
+ isOneToOne: false;
2363
+ referencedRelation: "clients";
2364
+ referencedColumns: ["id"];
2365
+ },
2245
2366
  {
2246
2367
  foreignKeyName: "prj_projects_deal_id_fkey";
2247
2368
  columns: ["deal_id"];
@@ -2646,6 +2767,66 @@ type Database = {
2646
2767
  }
2647
2768
  ];
2648
2769
  };
2770
+ user_notes: {
2771
+ Row: {
2772
+ content: string;
2773
+ created_at: string;
2774
+ created_by: string;
2775
+ id: string;
2776
+ metadata: Json;
2777
+ organization_id: string | null;
2778
+ pinned: boolean;
2779
+ priority: string;
2780
+ source: string | null;
2781
+ title: string | null;
2782
+ updated_at: string;
2783
+ user_id: string;
2784
+ };
2785
+ Insert: {
2786
+ content: string;
2787
+ created_at?: string;
2788
+ created_by?: string;
2789
+ id?: string;
2790
+ metadata?: Json;
2791
+ organization_id?: string | null;
2792
+ pinned?: boolean;
2793
+ priority?: string;
2794
+ source?: string | null;
2795
+ title?: string | null;
2796
+ updated_at?: string;
2797
+ user_id: string;
2798
+ };
2799
+ Update: {
2800
+ content?: string;
2801
+ created_at?: string;
2802
+ created_by?: string;
2803
+ id?: string;
2804
+ metadata?: Json;
2805
+ organization_id?: string | null;
2806
+ pinned?: boolean;
2807
+ priority?: string;
2808
+ source?: string | null;
2809
+ title?: string | null;
2810
+ updated_at?: string;
2811
+ user_id?: string;
2812
+ };
2813
+ Relationships: [
2814
+ {
2815
+ foreignKeyName: "user_notes_organization_id_fkey";
2816
+ columns: ["organization_id"];
2817
+ isOneToOne: false;
2818
+ referencedRelation: "organizations";
2819
+ referencedColumns: ["id"];
2820
+ },
2821
+ {
2822
+ foreignKeyName: "user_notes_user_id_fkey";
2823
+ columns: ["user_id"];
2824
+ isOneToOne: false;
2825
+ referencedRelation: "users";
2826
+ referencedColumns: ["id"];
2827
+ }
2828
+ ];
2829
+ };
2649
2830
  users: {
2650
2831
  Row: {
2651
2832
  config: Json;
@@ -3128,35 +3309,37 @@ interface OAuthIntegrationsCardProps {
3128
3309
  }
3129
3310
  declare function OAuthIntegrationsCard({ apiUrl }: OAuthIntegrationsCardProps): react_jsx_runtime.JSX.Element;
3130
3311
 
3131
- type FeatureSidebarComponent = ComponentType;
3132
- type FeatureIconComponent = ComponentType<{
3312
+ type SystemSidebarComponent = ComponentType;
3313
+ type SystemIconComponent = ComponentType<{
3133
3314
  size?: number;
3134
3315
  stroke?: number;
3135
3316
  }>;
3136
- type FeatureSidebarWidthResolver = number | ((context: {
3317
+ type SystemSidebarWidthResolver = number | ((context: {
3137
3318
  currentPath: string;
3138
3319
  }) => number);
3139
- interface FeatureModule {
3140
- /** Unique stable identifier for this feature module. */
3320
+ interface SystemModule {
3321
+ /** Unique stable identifier for this UI system module. */
3141
3322
  key: string;
3142
- /** Organization Model feature id this module presents. */
3143
- featureId: string;
3144
- /** Capability identifiers contributed by this feature module. */
3323
+ /** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
3324
+ systemId?: string;
3325
+ /** Route prefixes owned by navigation-only app surfaces. */
3326
+ routePrefixes?: string[];
3327
+ /** Capability identifiers contributed by this system module. */
3145
3328
  capabilityIds?: string[];
3146
- /** Icon used when this feature node appears in shell navigation. */
3147
- icon?: FeatureIconComponent;
3148
- /** Sidebar component rendered when this feature's subtree route is active. */
3149
- sidebar?: FeatureSidebarComponent;
3329
+ /** Icon used when this system node appears in shell navigation. */
3330
+ icon?: SystemIconComponent;
3331
+ /** Sidebar component rendered when this system's subtree route is active. */
3332
+ sidebar?: SystemSidebarComponent;
3150
3333
  /** Optional shell sidebar width override. Defaults to 250px. */
3151
- sidebarWidth?: FeatureSidebarWidthResolver;
3152
- /** Operations-only bridge connecting this feature to the organization graph node. */
3153
- organizationGraph?: OrganizationGraphFeatureBridge;
3334
+ sidebarWidth?: SystemSidebarWidthResolver;
3335
+ /** Operations-only bridge connecting this system to the organization graph node. */
3336
+ organizationGraph?: OrganizationGraphSystemBridge;
3154
3337
  }
3155
- interface OrganizationGraphFeatureBridge {
3156
- featureId: string;
3338
+ interface OrganizationGraphSystemBridge {
3339
+ systemId?: string;
3157
3340
  }
3158
3341
 
3159
- declare const settingsManifest: FeatureModule;
3342
+ declare const settingsManifest: SystemModule;
3160
3343
 
3161
3344
  export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest };
3162
3345
  export type { AccountSettingsProps, AccountSettingsUser, AppearanceSettingsProps, CreateWebhookEndpointModalProps, EditCredentialModalProps, EditWebhookEndpointModalProps, MemberAccessModalProps, MemberAccessTab, MemberConfigModalProps, OAuthIntegrationsCardProps, OrgMembersListProps, OrganizationSettingsMembership, OrganizationSettingsProps, OrganizationSettingsUser, WebhookEndpointListProps, WebhookEndpointSettingsProps };
@@ -1,28 +1,30 @@
1
- export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-HYLERWRO.js';
1
+ export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-4QK76KIF.js';
2
+ import '../../chunk-VNFR57DF.js';
2
3
  import '../../chunk-RYTEQBAO.js';
3
4
  import '../../chunk-PDHTXPSF.js';
4
- import '../../chunk-KVJ3LFH2.js';
5
- import '../../chunk-IKQ42WHU.js';
5
+ import '../../chunk-R66W5UDG.js';
6
+ import '../../chunk-JFL3GRD4.js';
6
7
  import '../../chunk-7M2VOCYN.js';
7
- import '../../chunk-6EFVZV6X.js';
8
- import '../../chunk-6YT4IKJ7.js';
9
- import '../../chunk-T2PAD63Y.js';
8
+ import '../../chunk-GCOQ3TBG.js';
9
+ import '../../chunk-VNAZTCHA.js';
10
+ import '../../chunk-XZGSCABI.js';
10
11
  import '../../chunk-BRXELOHC.js';
11
12
  import '../../chunk-3ZMAGTWF.js';
12
- import '../../chunk-OAVTMITG.js';
13
- import '../../chunk-SKXXT3E2.js';
14
- import '../../chunk-T5Z7G2J2.js';
15
- import '../../chunk-4VQ2PXMI.js';
13
+ import '../../chunk-5FJJ72HU.js';
14
+ import '../../chunk-RQTWIXJ5.js';
15
+ import '../../chunk-RQA2EVN3.js';
16
+ import '../../chunk-3FV6HBXS.js';
16
17
  import '../../chunk-WLOQ4IBG.js';
17
- import '../../chunk-4SY6BTVZ.js';
18
- import '../../chunk-6WXDE5LZ.js';
18
+ import '../../chunk-6DWD423K.js';
19
+ import '../../chunk-EPTHX4VZ.js';
19
20
  import '../../chunk-3KMDHCAR.js';
20
- import '../../chunk-AKOD52HS.js';
21
+ import '../../chunk-YLQEVSOR.js';
21
22
  import '../../chunk-SZHARWKU.js';
22
- import '../../chunk-6IXOKUBC.js';
23
+ import '../../chunk-QXCDKE2O.js';
23
24
  import '../../chunk-TKAYX2SP.js';
24
25
  import '../../chunk-NYBEU5TE.js';
25
- import '../../chunk-7E3FUTND.js';
26
+ import '../../chunk-T35FWDAB.js';
27
+ import '../../chunk-ND5TDV2J.js';
26
28
  import '../../chunk-2IFYDILW.js';
27
29
  import '../../chunk-Q7DJKLEN.js';
28
30
  import '../../chunk-JA5ECJJB.js';
@@ -31,7 +33,7 @@ import '../../chunk-E565XMTQ.js';
31
33
  import '../../chunk-JBWJ6WHZ.js';
32
34
  import '../../chunk-DT3QYZVU.js';
33
35
  import '../../chunk-RNP5R5I3.js';
34
- import '../../chunk-HXZQWMKE.js';
36
+ import '../../chunk-2RJMVWFJ.js';
35
37
  import '../../chunk-KRWALB24.js';
36
38
  import '../../chunk-VKIZUUPM.js';
37
39
  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
  }