@elevasis/ui 2.67.0 → 2.69.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 (122) hide show
  1. package/dist/api/index.d.ts +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/app/index.d.ts +575 -370
  4. package/dist/app/index.js +17 -23
  5. package/dist/auth/index.css +149 -149
  6. package/dist/auth/index.d.ts +5 -0
  7. package/dist/auth/index.js +11 -13
  8. package/dist/charts/index.css +208 -208
  9. package/dist/charts/index.js +11 -13
  10. package/dist/{chunk-M535KHLW.js → chunk-26BTE3Z4.js} +1 -1
  11. package/dist/chunk-3KMDHCAR.js +52 -0
  12. package/dist/chunk-3MEXPLWT.js +265 -0
  13. package/dist/chunk-4JHLS234.js +39 -0
  14. package/dist/chunk-6PZFOHJK.js +1764 -0
  15. package/dist/chunk-7WJEPTE7.js +194 -0
  16. package/dist/chunk-AH52XQB7.js +1 -0
  17. package/dist/{chunk-UFTM5SZZ.js → chunk-AKANHRQ5.js} +9 -3
  18. package/dist/chunk-BZZCNLT6.js +12 -0
  19. package/dist/chunk-C75XWBYZ.js +383 -0
  20. package/dist/chunk-DLR4SDZW.js +51 -0
  21. package/dist/{chunk-4OEVLV66.js → chunk-FLECOYUS.js} +113 -148
  22. package/dist/chunk-IRV6KJPV.js +425 -0
  23. package/dist/chunk-IT7GTJCB.js +10 -0
  24. package/dist/chunk-LGKLC5MG.js +44 -0
  25. package/dist/chunk-MFLM7BVC.js +85 -0
  26. package/dist/chunk-MRVGQLWN.js +1595 -0
  27. package/dist/{chunk-4DV4ECMG.js → chunk-N7U24M2J.js} +4 -0
  28. package/dist/{chunk-I7BZVVVU.js → chunk-NM4A63KJ.js} +104 -415
  29. package/dist/chunk-NU3NBXHP.js +1194 -0
  30. package/dist/chunk-PDHTXPSF.js +12 -0
  31. package/dist/chunk-RW64UJWT.js +1934 -0
  32. package/dist/{chunk-JFBZ6XDW.js → chunk-SNZDFCOQ.js} +3 -49
  33. package/dist/chunk-TUMSNGTX.js +35 -0
  34. package/dist/chunk-UD657ICS.js +589 -0
  35. package/dist/{chunk-XNW3O6QW.js → chunk-VDX6DL7Z.js} +1 -1
  36. package/dist/chunk-WXHAHKKI.js +16411 -0
  37. package/dist/chunk-XAZR3T6Y.js +2162 -0
  38. package/dist/chunk-XQ3ILKYN.js +37 -0
  39. package/dist/chunk-YCRINA2D.js +67 -0
  40. package/dist/chunk-YGCMMOY4.js +1484 -0
  41. package/dist/chunk-YNRYIXUT.js +10945 -0
  42. package/dist/chunk-ZD6LM53O.js +4528 -0
  43. package/dist/chunk-ZPTEGGKU.js +631 -0
  44. package/dist/components/chat/index.js +2 -1
  45. package/dist/components/index.css +208 -208
  46. package/dist/components/index.d.ts +1634 -264
  47. package/dist/components/index.js +2774 -14
  48. package/dist/components/navigation/index.css +149 -149
  49. package/dist/components/navigation/index.js +12 -13
  50. package/dist/features/auth/index.css +149 -149
  51. package/dist/features/auth/index.d.ts +457 -167
  52. package/dist/features/auth/index.js +13 -14
  53. package/dist/features/clients/index.css +208 -208
  54. package/dist/features/clients/index.d.ts +39 -1
  55. package/dist/features/clients/index.js +16 -13
  56. package/dist/features/content/index.d.ts +1788 -0
  57. package/dist/features/content/index.js +2180 -0
  58. package/dist/features/crm/index.d.ts +1802 -231
  59. package/dist/features/crm/index.js +16 -13
  60. package/dist/features/dashboard/index.d.ts +1 -8
  61. package/dist/features/dashboard/index.js +17 -13
  62. package/dist/features/delivery/index.d.ts +457 -167
  63. package/dist/features/delivery/index.js +16 -13
  64. package/dist/features/knowledge/index.css +149 -149
  65. package/dist/features/knowledge/index.js +11 -13
  66. package/dist/features/lead-gen/index.d.ts +53 -104
  67. package/dist/features/lead-gen/index.js +17 -13
  68. package/dist/features/monitoring/index.js +16 -13
  69. package/dist/features/monitoring/requests/index.js +15 -20
  70. package/dist/features/operations/index.d.ts +1 -86
  71. package/dist/features/operations/index.js +22 -12
  72. package/dist/features/public-agent-chat/index.js +2 -1
  73. package/dist/features/seo/index.js +2 -1
  74. package/dist/features/settings/index.d.ts +457 -167
  75. package/dist/features/settings/index.js +15 -13
  76. package/dist/hooks/access/index.css +149 -149
  77. package/dist/hooks/access/index.d.ts +5 -0
  78. package/dist/hooks/access/index.js +11 -13
  79. package/dist/hooks/delivery/index.d.ts +457 -167
  80. package/dist/hooks/delivery/index.js +2 -23
  81. package/dist/hooks/index.d.ts +2203 -244
  82. package/dist/hooks/index.js +11 -13
  83. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +1 -8
  84. package/dist/hooks/published.d.ts +2203 -244
  85. package/dist/hooks/published.js +11 -13
  86. package/dist/initialization/index.d.ts +465 -169
  87. package/dist/knowledge/index.css +149 -149
  88. package/dist/knowledge/index.d.ts +5 -90
  89. package/dist/knowledge/index.js +3215 -3203
  90. package/dist/{knowledge-search-index-6EZNBNSR.js → knowledge-search-index-LP2WVSQX.js} +689 -695
  91. package/dist/layout/index.css +149 -149
  92. package/dist/layout/index.js +15 -13
  93. package/dist/organization/index.d.ts +10 -4
  94. package/dist/organization/index.js +1 -21
  95. package/dist/profile/index.d.ts +457 -167
  96. package/dist/provider/index.d.ts +576 -372
  97. package/dist/provider/index.js +11 -13
  98. package/dist/provider/published.css +149 -149
  99. package/dist/provider/published.d.ts +576 -372
  100. package/dist/provider/published.js +11 -13
  101. package/dist/supabase/index.d.ts +906 -347
  102. package/dist/test-utils/index.d.ts +15 -2
  103. package/dist/test-utils/index.js +41 -12
  104. package/dist/test-utils/setup-integration.js +1 -1
  105. package/dist/test-utils/setup.js +1 -1
  106. package/dist/theme/index.js +3 -2
  107. package/dist/theme/presets/index.js +1 -1
  108. package/dist/typeform/index.js +2049 -1
  109. package/dist/types/index.d.ts +477 -177
  110. package/dist/utils/index.d.ts +1 -8
  111. package/dist/utils/index.js +1 -1
  112. package/dist/vite/index.js +2 -2
  113. package/dist/vite-plugin-knowledge/index.js +1 -1
  114. package/package.json +7 -3
  115. package/src/features/README.md +28 -28
  116. package/dist/chunk-5TERYXOO.js +0 -51390
  117. package/dist/chunk-AUDNF2Q7.js +0 -2050
  118. package/dist/index.d.ts +0 -17888
  119. package/dist/index.js +0 -30
  120. package/dist/{chunk-GMXGDO3I.js → chunk-MISHPEJX.js} +1 -1
  121. package/dist/{chunk-RBGVNPA6.js → chunk-XQBURFKM.js} +0 -0
  122. package/dist/{index.css → features/content/index.css} +149 -149
@@ -1,29 +1,32 @@
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-5TERYXOO.js';
2
- import '../../chunk-4OEVLV66.js';
3
- import '../../chunk-RBGVNPA6.js';
4
- import '../../chunk-6ZAP3FOA.js';
5
- import '../../chunk-AUDNF2Q7.js';
6
- import '../../chunk-6M6OLGQY.js';
1
+ export { AllTasksPage, Checklist, CreateDeliveryEntityModal, DELIVERY_COMMUNICATION_ITEMS, DELIVERY_PROJECT_ITEMS, DELIVERY_WORK_ITEMS, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage } from '../../chunk-MRVGQLWN.js';
2
+ export { calculateProgress, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../../chunk-DLR4SDZW.js';
3
+ import '../../chunk-BZZCNLT6.js';
4
+ import '../../chunk-TUMSNGTX.js';
5
+ import '../../chunk-PDHTXPSF.js';
6
+ export { deliveryManifest } from '../../chunk-WXHAHKKI.js';
7
+ import '../../chunk-FLECOYUS.js';
8
+ import '../../chunk-XQBURFKM.js';
7
9
  import '../../chunk-MKH2KOAO.js';
8
- import '../../chunk-XNW3O6QW.js';
10
+ import '../../chunk-VDX6DL7Z.js';
9
11
  import '../../chunk-L7BZZ4SI.js';
10
- import '../../chunk-GMXGDO3I.js';
12
+ import '../../chunk-C75XWBYZ.js';
13
+ import '../../chunk-MISHPEJX.js';
11
14
  import '../../chunk-62GVNH5U.js';
12
15
  import '../../chunk-P45GQ3ZW.js';
13
- import '../../chunk-DD3CCMCZ.js';
14
16
  import '../../chunk-M7WWRZ5Z.js';
15
- import '../../chunk-JFBZ6XDW.js';
17
+ import '../../chunk-3KMDHCAR.js';
16
18
  import '../../chunk-2IFYDILW.js';
17
- import '../../chunk-Q7DJKLEN.js';
18
- import '../../chunk-HENXLGVD.js';
19
19
  import '../../chunk-BLXJEIQS.js';
20
+ import '../../chunk-UD657ICS.js';
21
+ import '../../chunk-DD3CCMCZ.js';
20
22
  import '../../chunk-RNP5R5I3.js';
21
23
  import '../../chunk-RT4KRGZT.js';
22
- import '../../chunk-I7BZVVVU.js';
24
+ import '../../chunk-NM4A63KJ.js';
23
25
  import '../../chunk-Y6I3IC45.js';
24
26
  import '../../chunk-6SSQGWK7.js';
25
27
  import '../../chunk-BI5VDO2K.js';
26
28
  import '../../chunk-MQZE7SUI.js';
27
29
  import '../../chunk-TVTSASST.js';
28
30
  import '../../chunk-BRJ3QZ4E.js';
31
+ import '../../chunk-Q7DJKLEN.js';
29
32
  import '../../chunk-I2KLQ2HA.js';
@@ -125,155 +125,6 @@
125
125
  }
126
126
  }
127
127
 
128
- /* src/theme/custom.css */
129
- .mantine-Button-root[data-variant=default] {
130
- background-color: var(--color-surface);
131
- backdrop-filter: var(--glass-blur);
132
- -webkit-backdrop-filter: var(--glass-blur);
133
- border: 1px solid var(--color-border);
134
- color: var(--color-text);
135
- }
136
- .mantine-Button-root[data-variant=default]:hover {
137
- background-color: var(--color-surface-hover);
138
- }
139
- .lead-gen-build-action-button:disabled,
140
- .lead-gen-build-action-button[data-disabled] {
141
- background-color: var(--surface-primary-muted) !important;
142
- border-color: var(--border-primary-subtle) !important;
143
- color: color-mix(in srgb, var(--color-text-subtle) 88%, var(--color-text-dimmed) 12%) !important;
144
- opacity: 0.78;
145
- }
146
- .lead-gen-build-action-button:disabled:hover,
147
- .lead-gen-build-action-button[data-disabled]:hover {
148
- background-color: var(--surface-primary-muted) !important;
149
- }
150
- .mantine-Accordion-control:hover {
151
- background-color: var(--color-surface-hover);
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
- }
161
- .mantine-Menu-item:hover:not([data-disabled]) {
162
- background-color: var(--color-surface-hover);
163
- }
164
- .mantine-Select-option:hover,
165
- .mantine-MultiSelect-option:hover,
166
- .mantine-TagsInput-option:hover,
167
- .mantine-Combobox-option:hover {
168
- background-color: var(--surface-primary-muted) !important;
169
- }
170
- .mantine-Select-option[data-combobox-selected],
171
- .mantine-MultiSelect-option[data-combobox-selected],
172
- .mantine-TagsInput-option[data-combobox-selected],
173
- .mantine-Combobox-option[data-combobox-selected] {
174
- background-color: var(--surface-primary-subtle) !important;
175
- color: var(--color-text);
176
- }
177
- [data-mantine-color-scheme] .mantine-Tabs-root {
178
- --tab-border-color: var(--color-border);
179
- --tab-hover-color: var(--color-surface-hover);
180
- --tabs-radius: var(--mantine-radius-xs);
181
- }
182
- [data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab {
183
- color: var(--color-text);
184
- }
185
- [data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab:hover {
186
- background-color: var(--color-surface-hover);
187
- }
188
- [data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab[data-active] {
189
- background-color: var(--color-surface-hover);
190
- border-color: var(--color-primary);
191
- color: var(--color-text);
192
- }
193
- .mantine-Pagination-control:not([data-active]) {
194
- background: var(--color-surface);
195
- }
196
- ::-webkit-scrollbar {
197
- width: 5px;
198
- height: 5px;
199
- }
200
- ::-webkit-scrollbar-track {
201
- background: transparent;
202
- }
203
- ::-webkit-scrollbar-thumb {
204
- background: color-mix(in srgb, var(--color-text-subtle) 50%, var(--color-border));
205
- border-radius: 4px;
206
- }
207
- ::-webkit-scrollbar-thumb:hover {
208
- background: var(--color-text-subtle);
209
- }
210
- [data-mantine-color-scheme] .mantine-Checkbox-input:not(:disabled):not(:checked):not([data-indeterminate]) {
211
- background-color: var(--color-surface);
212
- border-color: var(--color-border);
213
- }
214
- [data-mantine-color-scheme] .mantine-Checkbox-input:checked,
215
- [data-mantine-color-scheme] .mantine-Checkbox-input[data-indeterminate] {
216
- background-color: var(--color-primary);
217
- border-color: var(--color-primary);
218
- }
219
- .mantine-Switch-root:has(input:not(:checked)) .mantine-Switch-track {
220
- background-color: var(--color-surface-hover);
221
- border-color: var(--color-border);
222
- }
223
- .mantine-Timeline-root {
224
- --tl-color: var(--color-primary);
225
- }
226
- .mantine-Timeline-item {
227
- --item-border-color: var(--color-border);
228
- }
229
- .mantine-Timeline-itemBullet {
230
- border-color: var(--color-border);
231
- }
232
- .mantine-Timeline-itemBullet:where([data-with-child]) {
233
- background-color: var(--color-primary);
234
- border-color: var(--color-primary);
235
- }
236
- .mantine-Tree-node:focus-visible > [data-value] {
237
- outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
238
- outline-offset: 2px;
239
- }
240
- .mantine-Tree-label[data-hovered] {
241
- background-color: var(--color-surface-hover);
242
- border-color: var(--color-border);
243
- }
244
- .mantine-Tree-label[data-selected] {
245
- background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
246
- border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
247
- color: var(--color-primary);
248
- }
249
- [data-knowledge-article] pre {
250
- white-space: pre-wrap;
251
- word-break: break-word;
252
- overflow-x: auto;
253
- max-width: 100%;
254
- padding: var(--mantine-spacing-sm);
255
- background-color: var(--color-surface);
256
- border: 1px solid var(--color-border);
257
- border-radius: var(--mantine-radius-sm);
258
- }
259
- [data-knowledge-article] pre code {
260
- background: transparent;
261
- border: none;
262
- padding: 0;
263
- white-space: inherit;
264
- word-break: inherit;
265
- }
266
- .recharts-surface:focus {
267
- outline: none;
268
- }
269
- .hide-scrollbar {
270
- scrollbar-width: none;
271
- -ms-overflow-style: none;
272
- }
273
- .hide-scrollbar::-webkit-scrollbar {
274
- display: none;
275
- }
276
-
277
128
  /* src/graph/Graph.globals.css */
278
129
  .elevasis-graph-root .react-flow__node.selected,
279
130
  .elevasis-graph-root .react-flow__node:focus,
@@ -657,3 +508,152 @@
657
508
  transform: none;
658
509
  }
659
510
  }
511
+
512
+ /* src/theme/custom.css */
513
+ .mantine-Button-root[data-variant=default] {
514
+ background-color: var(--color-surface);
515
+ backdrop-filter: var(--glass-blur);
516
+ -webkit-backdrop-filter: var(--glass-blur);
517
+ border: 1px solid var(--color-border);
518
+ color: var(--color-text);
519
+ }
520
+ .mantine-Button-root[data-variant=default]:hover {
521
+ background-color: var(--color-surface-hover);
522
+ }
523
+ .lead-gen-build-action-button:disabled,
524
+ .lead-gen-build-action-button[data-disabled] {
525
+ background-color: var(--surface-primary-muted) !important;
526
+ border-color: var(--border-primary-subtle) !important;
527
+ color: color-mix(in srgb, var(--color-text-subtle) 88%, var(--color-text-dimmed) 12%) !important;
528
+ opacity: 0.78;
529
+ }
530
+ .lead-gen-build-action-button:disabled:hover,
531
+ .lead-gen-build-action-button[data-disabled]:hover {
532
+ background-color: var(--surface-primary-muted) !important;
533
+ }
534
+ .mantine-Accordion-control:hover {
535
+ background-color: var(--color-surface-hover);
536
+ }
537
+ [data-mantine-color-scheme] .mantine-Accordion-root .mantine-Accordion-item {
538
+ --item-filled-color: var(--color-surface);
539
+ --item-border-color: var(--color-border);
540
+ }
541
+ [data-mantine-color-scheme] .mantine-Accordion-root[data-variant=separated] .mantine-Accordion-item[data-active] {
542
+ background-color: var(--color-surface);
543
+ border-color: var(--color-border);
544
+ }
545
+ .mantine-Menu-item:hover:not([data-disabled]) {
546
+ background-color: var(--color-surface-hover);
547
+ }
548
+ .mantine-Select-option:hover,
549
+ .mantine-MultiSelect-option:hover,
550
+ .mantine-TagsInput-option:hover,
551
+ .mantine-Combobox-option:hover {
552
+ background-color: var(--surface-primary-muted) !important;
553
+ }
554
+ .mantine-Select-option[data-combobox-selected],
555
+ .mantine-MultiSelect-option[data-combobox-selected],
556
+ .mantine-TagsInput-option[data-combobox-selected],
557
+ .mantine-Combobox-option[data-combobox-selected] {
558
+ background-color: var(--surface-primary-subtle) !important;
559
+ color: var(--color-text);
560
+ }
561
+ [data-mantine-color-scheme] .mantine-Tabs-root {
562
+ --tab-border-color: var(--color-border);
563
+ --tab-hover-color: var(--color-surface-hover);
564
+ --tabs-radius: var(--mantine-radius-xs);
565
+ }
566
+ [data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab {
567
+ color: var(--color-text);
568
+ }
569
+ [data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab:hover {
570
+ background-color: var(--color-surface-hover);
571
+ }
572
+ [data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab[data-active] {
573
+ background-color: var(--color-surface-hover);
574
+ border-color: var(--color-primary);
575
+ color: var(--color-text);
576
+ }
577
+ .mantine-Pagination-control:not([data-active]) {
578
+ background: var(--color-surface);
579
+ }
580
+ ::-webkit-scrollbar {
581
+ width: 5px;
582
+ height: 5px;
583
+ }
584
+ ::-webkit-scrollbar-track {
585
+ background: transparent;
586
+ }
587
+ ::-webkit-scrollbar-thumb {
588
+ background: color-mix(in srgb, var(--color-text-subtle) 50%, var(--color-border));
589
+ border-radius: 4px;
590
+ }
591
+ ::-webkit-scrollbar-thumb:hover {
592
+ background: var(--color-text-subtle);
593
+ }
594
+ [data-mantine-color-scheme] .mantine-Checkbox-input:not(:disabled):not(:checked):not([data-indeterminate]) {
595
+ background-color: var(--color-surface);
596
+ border-color: var(--color-border);
597
+ }
598
+ [data-mantine-color-scheme] .mantine-Checkbox-input:checked,
599
+ [data-mantine-color-scheme] .mantine-Checkbox-input[data-indeterminate] {
600
+ background-color: var(--color-primary);
601
+ border-color: var(--color-primary);
602
+ }
603
+ .mantine-Switch-root:has(input:not(:checked)) .mantine-Switch-track {
604
+ background-color: var(--color-surface-hover);
605
+ border-color: var(--color-border);
606
+ }
607
+ .mantine-Timeline-root {
608
+ --tl-color: var(--color-primary);
609
+ }
610
+ .mantine-Timeline-item {
611
+ --item-border-color: var(--color-border);
612
+ }
613
+ .mantine-Timeline-itemBullet {
614
+ border-color: var(--color-border);
615
+ }
616
+ .mantine-Timeline-itemBullet:where([data-with-child]) {
617
+ background-color: var(--color-primary);
618
+ border-color: var(--color-primary);
619
+ }
620
+ .mantine-Tree-node:focus-visible > [data-value] {
621
+ outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
622
+ outline-offset: 2px;
623
+ }
624
+ .mantine-Tree-label[data-hovered] {
625
+ background-color: var(--color-surface-hover);
626
+ border-color: var(--color-border);
627
+ }
628
+ .mantine-Tree-label[data-selected] {
629
+ background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
630
+ border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
631
+ color: var(--color-primary);
632
+ }
633
+ [data-knowledge-article] pre {
634
+ white-space: pre-wrap;
635
+ word-break: break-word;
636
+ overflow-x: auto;
637
+ max-width: 100%;
638
+ padding: var(--mantine-spacing-sm);
639
+ background-color: var(--color-surface);
640
+ border: 1px solid var(--color-border);
641
+ border-radius: var(--mantine-radius-sm);
642
+ }
643
+ [data-knowledge-article] pre code {
644
+ background: transparent;
645
+ border: none;
646
+ padding: 0;
647
+ white-space: inherit;
648
+ word-break: inherit;
649
+ }
650
+ .recharts-surface:focus {
651
+ outline: none;
652
+ }
653
+ .hide-scrollbar {
654
+ scrollbar-width: none;
655
+ -ms-overflow-style: none;
656
+ }
657
+ .hide-scrollbar::-webkit-scrollbar {
658
+ display: none;
659
+ }
@@ -1,29 +1,27 @@
1
- export { knowledgeManifest } from '../../chunk-5TERYXOO.js';
2
- import '../../chunk-4OEVLV66.js';
3
- import '../../chunk-RBGVNPA6.js';
4
- import '../../chunk-6ZAP3FOA.js';
5
- import '../../chunk-AUDNF2Q7.js';
6
- import '../../chunk-6M6OLGQY.js';
1
+ export { knowledgeManifest } from '../../chunk-WXHAHKKI.js';
2
+ import '../../chunk-FLECOYUS.js';
3
+ import '../../chunk-XQBURFKM.js';
7
4
  import '../../chunk-MKH2KOAO.js';
8
- import '../../chunk-XNW3O6QW.js';
5
+ import '../../chunk-VDX6DL7Z.js';
9
6
  import '../../chunk-L7BZZ4SI.js';
10
- import '../../chunk-GMXGDO3I.js';
7
+ import '../../chunk-C75XWBYZ.js';
8
+ import '../../chunk-MISHPEJX.js';
11
9
  import '../../chunk-62GVNH5U.js';
12
10
  import '../../chunk-P45GQ3ZW.js';
13
- import '../../chunk-DD3CCMCZ.js';
14
11
  import '../../chunk-M7WWRZ5Z.js';
15
- import '../../chunk-JFBZ6XDW.js';
12
+ import '../../chunk-3KMDHCAR.js';
16
13
  import '../../chunk-2IFYDILW.js';
17
- import '../../chunk-Q7DJKLEN.js';
18
- import '../../chunk-HENXLGVD.js';
19
14
  import '../../chunk-BLXJEIQS.js';
15
+ import '../../chunk-UD657ICS.js';
16
+ import '../../chunk-DD3CCMCZ.js';
20
17
  import '../../chunk-RNP5R5I3.js';
21
18
  import '../../chunk-RT4KRGZT.js';
22
- import '../../chunk-I7BZVVVU.js';
19
+ import '../../chunk-NM4A63KJ.js';
23
20
  import '../../chunk-Y6I3IC45.js';
24
21
  import '../../chunk-6SSQGWK7.js';
25
22
  import '../../chunk-BI5VDO2K.js';
26
23
  import '../../chunk-MQZE7SUI.js';
27
24
  import '../../chunk-TVTSASST.js';
28
25
  import '../../chunk-BRJ3QZ4E.js';
26
+ import '../../chunk-Q7DJKLEN.js';
29
27
  import '../../chunk-I2KLQ2HA.js';
@@ -647,6 +647,7 @@ declare const AcqArtifactOwnerKindSchema: z$1.ZodEnum<{
647
647
  company: "company";
648
648
  contact: "contact";
649
649
  list: "list";
650
+ organization: "organization";
650
651
  deal: "deal";
651
652
  list_member: "list_member";
652
653
  }>;
@@ -794,8 +795,7 @@ declare const SystemApiInterfaceSchema: z$1.ZodObject<{
794
795
  resourceIds: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
795
796
  readinessContract: z$1.ZodOptional<z$1.ZodObject<{
796
797
  requiredObjects: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
797
- requiredCatalogs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
798
- requiredKinds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
798
+ requiredCatalogs: z$1.ZodArray<z$1.ZodString>;
799
799
  }, z$1.core.$strict>>;
800
800
  }, z$1.core.$strict>;
801
801
  type JsonPrimitive = string | number | boolean | null;
@@ -814,7 +814,6 @@ interface SystemEntry {
814
814
  path: string;
815
815
  surfaces: string[];
816
816
  icon?: string;
817
- order?: number;
818
817
  };
819
818
  lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
820
819
  responsibleRoleId?: string;
@@ -824,17 +823,12 @@ interface SystemEntry {
824
823
  intent: 'exposes' | 'consumes';
825
824
  invocation?: unknown;
826
825
  }[];
827
- policies?: string[];
828
826
  drivesGoals?: string[];
829
827
  apiInterface?: z$1.infer<typeof SystemApiInterfaceSchema>;
830
- /** @deprecated Use lifecycle. Accepted for one publish cycle. */
831
- status?: 'active' | 'deprecated' | 'archived';
832
828
  path?: string;
833
829
  icon?: string;
834
830
  uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
835
831
  enabled?: boolean;
836
- devOnly?: boolean;
837
- requiresAdmin?: boolean;
838
832
  order: number;
839
833
  config?: Record<string, JsonValue>;
840
834
  ontology?: OntologyScope;
@@ -877,6 +871,45 @@ interface SidebarGroupNode {
877
871
  }
878
872
  type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
879
873
 
874
+ /**
875
+ * Registration surface for the generic readiness engine (`./engine`).
876
+ *
877
+ * This module owns two independent extension points so `./engine` never has
878
+ * to import anything from `business/**`:
879
+ *
880
+ * - `registerBuiltInReadinessProfile` — a profile id (e.g. `sales.lead-gen.api`)
881
+ * maps to structural validation logic plus an optional model-preparation
882
+ * hook run before ontology compilation (e.g. injecting a derived catalog).
883
+ * This is the ONE readiness-profile registry (`_builtInProfileValidators`
884
+ * below) — `../domains/systems`'s `isBuiltInReadinessProfile` /
885
+ * `lookupReadinessProfile` read it directly via `getBuiltInReadinessProfile`
886
+ * rather than mirroring registrations into a second map, so a profile id
887
+ * can never read as built-in without an actual registered validator.
888
+ * - `registerReadinessInterfaceMarker` — a `(systemPath, interfaceKey)` pair
889
+ * maps to a synthesized interface marker for interfaces that are not
890
+ * authored on `system.apiInterface` (e.g. the lead-gen/CRM handoff bridge,
891
+ * which is derived from scoped resources rather than declared directly).
892
+ *
893
+ * `business/acquisition/ontology-validation.ts` calls both at module load to
894
+ * register its three built-in profiles. Both registries are module-level
895
+ * mutable maps with no reset function. Reachable by a tenant via the
896
+ * `./organization-model/readiness` subpath (see `./index`).
897
+ */
898
+
899
+ type SystemInterfaceReadinessIssueFamily = 'SYSTEM_INTERFACE_MISSING' | 'SYSTEM_INTERFACE_DISABLED' | 'SYSTEM_INTERFACE_INVALID' | 'SYSTEM_INTERFACE_NOT_READY' | 'SYSTEM_BRIDGE_NOT_READY'
900
+ /**
901
+ * The deployed OM snapshot hash does not match the canonical source hash.
902
+ * Redeploy with `pnpm operations:deploy` to refresh the snapshot.
903
+ */
904
+ | 'STALE_OM_SNAPSHOT';
905
+ interface SystemInterfaceReadinessIssue {
906
+ family: SystemInterfaceReadinessIssueFamily;
907
+ code: string;
908
+ path?: string;
909
+ ref?: string;
910
+ message: string;
911
+ }
912
+
880
913
  declare const OrganizationModelSchema: z$1.ZodObject<{
881
914
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
882
915
  snapshotHash: z$1.ZodOptional<z$1.ZodString>;
@@ -933,10 +966,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
933
966
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
934
967
  lastModified: z$1.ZodString;
935
968
  }, z$1.core.$strip>>;
936
- policies: z$1.ZodOptional<z$1.ZodObject<{
937
- version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
938
- lastModified: z$1.ZodString;
939
- }, z$1.core.$strip>>;
940
969
  knowledge: z$1.ZodOptional<z$1.ZodObject<{
941
970
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
942
971
  lastModified: z$1.ZodString;
@@ -994,10 +1023,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
994
1023
  version: 1;
995
1024
  lastModified: string;
996
1025
  };
997
- policies: {
998
- version: 1;
999
- lastModified: string;
1000
- };
1001
1026
  knowledge: {
1002
1027
  version: 1;
1003
1028
  lastModified: string;
@@ -1055,10 +1080,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
1055
1080
  version: 1;
1056
1081
  lastModified: string;
1057
1082
  } | undefined;
1058
- policies?: {
1059
- version: 1;
1060
- lastModified: string;
1061
- } | undefined;
1062
1083
  knowledge?: {
1063
1084
  version: 1;
1064
1085
  lastModified: string;
@@ -1652,9 +1673,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
1652
1673
  }, z$1.core.$strip>, z$1.ZodObject<{
1653
1674
  kind: z$1.ZodLiteral<"ontology">;
1654
1675
  id: z$1.ZodString;
1655
- }, z$1.core.$strip>, z$1.ZodObject<{
1656
- kind: z$1.ZodLiteral<"policy">;
1657
- id: z$1.ZodString;
1658
1676
  }, z$1.core.$strip>, z$1.ZodObject<{
1659
1677
  kind: z$1.ZodLiteral<"role">;
1660
1678
  id: z$1.ZodString;
@@ -1682,9 +1700,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
1682
1700
  }, z$1.core.$strip>, z$1.ZodObject<{
1683
1701
  kind: z$1.ZodLiteral<"ontology">;
1684
1702
  id: z$1.ZodString;
1685
- }, z$1.core.$strip>, z$1.ZodObject<{
1686
- kind: z$1.ZodLiteral<"policy">;
1687
- id: z$1.ZodString;
1688
1703
  }, z$1.core.$strip>, z$1.ZodObject<{
1689
1704
  kind: z$1.ZodLiteral<"role">;
1690
1705
  id: z$1.ZodString;
@@ -1766,66 +1781,6 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
1766
1781
  label: z$1.ZodOptional<z$1.ZodString>;
1767
1782
  }, z$1.core.$strip>>>;
1768
1783
  }, z$1.core.$strip>>>>;
1769
- policies: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1770
- id: z$1.ZodString;
1771
- order: z$1.ZodNumber;
1772
- label: z$1.ZodString;
1773
- description: z$1.ZodOptional<z$1.ZodString>;
1774
- trigger: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
1775
- kind: z$1.ZodLiteral<"event">;
1776
- eventId: z$1.ZodString;
1777
- }, z$1.core.$strip>, z$1.ZodObject<{
1778
- kind: z$1.ZodLiteral<"action-invocation">;
1779
- actionId: z$1.ZodString;
1780
- }, z$1.core.$strip>, z$1.ZodObject<{
1781
- kind: z$1.ZodLiteral<"schedule">;
1782
- cron: z$1.ZodString;
1783
- }, z$1.core.$strip>, z$1.ZodObject<{
1784
- kind: z$1.ZodLiteral<"manual">;
1785
- }, z$1.core.$strip>], "kind">;
1786
- predicate: z$1.ZodDefault<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
1787
- kind: z$1.ZodLiteral<"always">;
1788
- }, z$1.core.$strip>, z$1.ZodObject<{
1789
- kind: z$1.ZodLiteral<"expression">;
1790
- expression: z$1.ZodString;
1791
- }, z$1.core.$strip>, z$1.ZodObject<{
1792
- kind: z$1.ZodLiteral<"threshold">;
1793
- metric: z$1.ZodString;
1794
- operator: z$1.ZodEnum<{
1795
- lt: "lt";
1796
- lte: "lte";
1797
- eq: "eq";
1798
- gte: "gte";
1799
- gt: "gt";
1800
- }>;
1801
- value: z$1.ZodNumber;
1802
- }, z$1.core.$strip>], "kind">>;
1803
- actions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
1804
- kind: z$1.ZodLiteral<"require-approval">;
1805
- roleId: z$1.ZodOptional<z$1.ZodString>;
1806
- }, z$1.core.$strip>, z$1.ZodObject<{
1807
- kind: z$1.ZodLiteral<"invoke-action">;
1808
- actionId: z$1.ZodString;
1809
- }, z$1.core.$strip>, z$1.ZodObject<{
1810
- kind: z$1.ZodLiteral<"notify-role">;
1811
- roleId: z$1.ZodString;
1812
- }, z$1.core.$strip>, z$1.ZodObject<{
1813
- kind: z$1.ZodLiteral<"block">;
1814
- }, z$1.core.$strip>], "kind">>;
1815
- appliesTo: z$1.ZodDefault<z$1.ZodObject<{
1816
- systemIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
1817
- actionIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
1818
- resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
1819
- roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
1820
- }, z$1.core.$strip>>;
1821
- lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
1822
- active: "active";
1823
- deprecated: "deprecated";
1824
- draft: "draft";
1825
- beta: "beta";
1826
- archived: "archived";
1827
- }>>;
1828
- }, z$1.core.$strip>>>>;
1829
1784
  knowledge: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1830
1785
  id: z$1.ZodString;
1831
1786
  kind: z$1.ZodEnum<{
@@ -1947,19 +1902,6 @@ declare const LEAD_GEN_API_INTERFACE: {
1947
1902
  readonly interfaceKey: "api";
1948
1903
  readonly readinessProfile: "sales.lead-gen.api";
1949
1904
  };
1950
- type SystemInterfaceReadinessIssueFamily = 'SYSTEM_INTERFACE_MISSING' | 'SYSTEM_INTERFACE_DISABLED' | 'SYSTEM_INTERFACE_INVALID' | 'SYSTEM_INTERFACE_NOT_READY' | 'SYSTEM_BRIDGE_NOT_READY'
1951
- /**
1952
- * The deployed OM snapshot hash does not match the canonical source hash.
1953
- * Redeploy with `pnpm operations:deploy` to refresh the snapshot.
1954
- */
1955
- | 'STALE_OM_SNAPSHOT';
1956
- interface SystemInterfaceReadinessIssue {
1957
- family: SystemInterfaceReadinessIssueFamily;
1958
- code: string;
1959
- path?: string;
1960
- ref?: string;
1961
- message: string;
1962
- }
1963
1905
 
1964
1906
  type SystemSidebarComponent = ComponentType;
1965
1907
  type SystemIconComponent = ComponentType<{
@@ -2524,7 +2466,7 @@ declare function useDeleteContacts(): _tanstack_react_query.UseMutationResult<vo
2524
2466
 
2525
2467
  declare const leadGenArtifactKeys: {
2526
2468
  all: readonly ["lead-gen-artifacts"];
2527
- list: (organizationId: WorkOsOrgId | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", WorkOsOrgId | null, "company" | "contact" | "list" | "deal" | "list_member", string];
2469
+ list: (organizationId: WorkOsOrgId | null, ownerKind: AcqArtifactOwnerKind, ownerId: string | null | undefined) => readonly ["lead-gen-artifacts", WorkOsOrgId | null, "company" | "contact" | "list" | "organization" | "deal" | "list_member", string | null | undefined];
2528
2470
  };
2529
2471
  interface UseArtifactsParams {
2530
2472
  ownerKind: AcqArtifactOwnerKind;
@@ -2535,12 +2477,15 @@ declare function useArtifacts({ ownerKind, ownerId }: UseArtifactsParams): _tans
2535
2477
  id: string;
2536
2478
  organizationId: string;
2537
2479
  ownerKind: string;
2538
- ownerId: string;
2480
+ ownerId: string | null;
2539
2481
  kind: string;
2482
+ pipelineId: string | null;
2540
2483
  content: Record<string, unknown>;
2541
2484
  sourceExecutionId: string | null;
2542
2485
  createdBy: string | null;
2543
2486
  createdAt: string;
2487
+ updatedAt: string;
2488
+ isActive: boolean;
2544
2489
  version: number;
2545
2490
  }[];
2546
2491
  }, Error>;
@@ -2548,19 +2493,23 @@ declare function useCreateArtifact(): _tanstack_react_query.UseMutationResult<{
2548
2493
  id: string;
2549
2494
  organizationId: string;
2550
2495
  ownerKind: string;
2551
- ownerId: string;
2496
+ ownerId: string | null;
2552
2497
  kind: string;
2498
+ pipelineId: string | null;
2553
2499
  content: Record<string, unknown>;
2554
2500
  sourceExecutionId: string | null;
2555
2501
  createdBy: string | null;
2556
2502
  createdAt: string;
2503
+ updatedAt: string;
2504
+ isActive: boolean;
2557
2505
  version: number;
2558
2506
  }, Error, {
2559
- ownerKind: "company" | "contact" | "list" | "deal" | "list_member";
2560
- ownerId: string;
2507
+ ownerKind: "company" | "contact" | "list" | "organization" | "deal" | "list_member";
2561
2508
  kind: string;
2562
2509
  content: Record<string, unknown>;
2510
+ ownerId?: string | null | undefined;
2563
2511
  sourceExecutionId?: string | undefined;
2512
+ pipelineId?: string | null | undefined;
2564
2513
  }, unknown>;
2565
2514
 
2566
2515
  declare const leadGenListMemberKeys: {