@elevasis/ui 2.6.0 → 2.8.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 (50) hide show
  1. package/dist/{chunk-POFDRPDI.js → chunk-4PHPENKX.js} +3044 -1753
  2. package/dist/chunk-7M2VOCYN.js +1 -0
  3. package/dist/{chunk-PEDPD3PU.js → chunk-7PDDPNQS.js} +1 -1
  4. package/dist/{chunk-YIWLA2B6.js → chunk-C2OFFC7J.js} +0 -1
  5. package/dist/{chunk-ZB5PKIX5.js → chunk-CTWYIRKW.js} +1 -2
  6. package/dist/{chunk-FH5QGCXL.js → chunk-F5QSLYUB.js} +180 -7
  7. package/dist/{chunk-CC4WGHGG.js → chunk-KGEYEUR5.js} +1 -3
  8. package/dist/{chunk-MU5EZV3L.js → chunk-MGEC63TE.js} +5 -6
  9. package/dist/{chunk-SMJLS23U.js → chunk-NYMKWGKN.js} +18 -1
  10. package/dist/{chunk-X4BLH3JL.js → chunk-OFT2QK6B.js} +6 -7
  11. package/dist/{chunk-O4PMRC6J.js → chunk-OPT74SGF.js} +118 -111
  12. package/dist/{chunk-6RGNVHG3.js → chunk-UX3Q4YYN.js} +21 -13
  13. package/dist/{chunk-4GZ6VZWO.js → chunk-YCHZ4U5V.js} +10 -2
  14. package/dist/{chunk-PHRDZFJT.js → chunk-ZZ35VSNF.js} +1 -3
  15. package/dist/components/index.d.ts +134 -68
  16. package/dist/components/index.js +34 -25
  17. package/dist/features/auth/index.d.ts +3 -3
  18. package/dist/features/auth/index.js +9 -2
  19. package/dist/features/crm/index.d.ts +61 -5
  20. package/dist/features/crm/index.js +5 -5
  21. package/dist/features/dashboard/index.js +5 -5
  22. package/dist/features/delivery/index.d.ts +64 -4
  23. package/dist/features/delivery/index.js +5 -5
  24. package/dist/features/lead-gen/index.d.ts +61 -5
  25. package/dist/features/lead-gen/index.js +8 -8
  26. package/dist/features/monitoring/index.d.ts +20 -1
  27. package/dist/features/monitoring/index.js +6 -6
  28. package/dist/features/operations/index.d.ts +20 -1
  29. package/dist/features/operations/index.js +7 -7
  30. package/dist/features/seo/index.d.ts +20 -1
  31. package/dist/features/seo/index.js +1 -1
  32. package/dist/features/settings/index.d.ts +22 -2
  33. package/dist/features/settings/index.js +5 -5
  34. package/dist/hooks/index.d.ts +7735 -7719
  35. package/dist/hooks/index.js +4 -4
  36. package/dist/hooks/published.d.ts +3495 -48
  37. package/dist/hooks/published.js +3 -3
  38. package/dist/index.d.ts +1188 -989
  39. package/dist/index.js +4 -4
  40. package/dist/initialization/index.d.ts +2 -1
  41. package/dist/layout/index.d.ts +60 -2
  42. package/dist/layout/index.js +1 -1
  43. package/dist/organization/index.d.ts +2 -1
  44. package/dist/provider/index.d.ts +203 -20
  45. package/dist/provider/index.js +2 -2
  46. package/dist/provider/published.d.ts +194 -19
  47. package/dist/provider/published.js +1 -1
  48. package/dist/types/index.d.ts +2 -1
  49. package/package.json +58 -86
  50. package/dist/chunk-DQJM7T2N.js +0 -1303
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { z } from 'zod';
3
2
  import { ComponentType } from 'react';
3
+ import { z } from 'zod';
4
4
 
5
5
  interface HealthStatusCardProps {
6
6
  status: string;
@@ -2584,11 +2584,52 @@ declare const ProjectsSidebar: () => react_jsx_runtime.JSX.Element;
2584
2584
 
2585
2585
  declare const ProjectsSidebarTop: () => react_jsx_runtime.JSX.Element;
2586
2586
 
2587
+ /**
2588
+ * Shared nav-item shape used by feature sidebar middle components.
2589
+ *
2590
+ * Matches the subset of {@link SubshellNavItemProps} that the existing
2591
+ * hardcoded item arrays use. Consumers import this type alongside the
2592
+ * exported item arrays (e.g. `CRM_ITEMS`) to type their custom arrays.
2593
+ *
2594
+ * @example
2595
+ * import { NavItem, CRM_ITEMS } from '@elevasis/ui/features/crm'
2596
+ *
2597
+ * const customItems: NavItem[] = [
2598
+ * ...CRM_ITEMS,
2599
+ * { label: 'Reports', to: '/crm/reports', icon: IconFileText, exact: false },
2600
+ * ]
2601
+ */
2602
+ interface NavItem {
2603
+ /** Display label for the nav entry. */
2604
+ label: string;
2605
+ /** Route path the item links to. */
2606
+ to: string;
2607
+ /** Tabler icon component (or any component accepting `size` + `style`). */
2608
+ icon: ComponentType<{
2609
+ size?: number;
2610
+ style?: React.CSSProperties;
2611
+ }>;
2612
+ /**
2613
+ * When `true`, the item is only active when the path matches exactly.
2614
+ * When `false`, it is active for any path that starts with `to`.
2615
+ */
2616
+ exact: boolean;
2617
+ }
2618
+
2619
+ declare const DELIVERY_PROJECT_ITEMS: NavItem[];
2620
+ declare const DELIVERY_WORK_ITEMS: NavItem[];
2621
+ declare const DELIVERY_COMMUNICATION_ITEMS: NavItem[];
2587
2622
  interface ProjectsSidebarMiddleProps {
2588
2623
  currentPath?: string;
2589
2624
  onNavigate?: (to: string) => void;
2625
+ /** Override the project section items. Defaults to {@link DELIVERY_PROJECT_ITEMS}. */
2626
+ projectItems?: NavItem[];
2627
+ /** Override the work section items. Defaults to {@link DELIVERY_WORK_ITEMS}. */
2628
+ workItems?: NavItem[];
2629
+ /** Override the communication section items. Defaults to {@link DELIVERY_COMMUNICATION_ITEMS}. */
2630
+ communicationItems?: NavItem[];
2590
2631
  }
2591
- declare const ProjectsSidebarMiddle: ({ currentPath, onNavigate }?: ProjectsSidebarMiddleProps) => react_jsx_runtime.JSX.Element;
2632
+ declare const ProjectsSidebarMiddle: ({ currentPath, onNavigate, projectItems, workItems, communicationItems }?: ProjectsSidebarMiddleProps) => react_jsx_runtime.JSX.Element;
2592
2633
 
2593
2634
  declare const SemanticDomainSchema = DisplayMetadataSchema.extend({
2594
2635
  id: ModelIdSchema,
@@ -2629,14 +2670,33 @@ interface FeatureNavEntry {
2629
2670
  }
2630
2671
  type FeatureSidebarComponent = ComponentType;
2631
2672
  interface FeatureModule {
2673
+ /** Unique stable identifier for this feature (e.g. `'crm'`, `'delivery'`). */
2632
2674
  key: string;
2633
- label?: string;
2675
+ /** Feature key used for access-flag gating in the organization model. */
2634
2676
  accessFeatureKey: OrganizationModelFeatureKey;
2677
+ /**
2678
+ * Semantic domain identifiers contributed by this feature.
2679
+ * Merged with surface-derived domain IDs during resolution.
2680
+ */
2635
2681
  domainIds?: OrganizationModelSemanticDomain['id'][];
2682
+ /**
2683
+ * Capability identifiers contributed by this feature.
2684
+ * Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
2685
+ * Not queried at runtime — kept for semantic graph completeness so that
2686
+ * capability membership is fully represented in the resolved model even when
2687
+ * a surface does not declare it directly.
2688
+ */
2636
2689
  capabilityIds?: string[];
2690
+ /** Top-level navigation entry rendered in the app shell when this feature is enabled. */
2637
2691
  navEntry?: FeatureNavEntry;
2692
+ /** Sidebar component rendered when a matching subshell route is active. */
2638
2693
  sidebar?: FeatureSidebarComponent;
2694
+ /** Route path prefixes that activate this feature's sidebar and subshell context. */
2639
2695
  subshellRoutes?: string[];
2696
+ /**
2697
+ * Operations-only bridge surface connecting this feature to the organization graph.
2698
+ * Ignored by all other features. Only one manifest in the registry should set this.
2699
+ */
2640
2700
  organizationGraph?: OrganizationGraphFeatureBridge;
2641
2701
  }
2642
2702
  interface OrganizationGraphFeatureBridge {
@@ -2669,5 +2729,5 @@ declare const noteTypeColors: Record<string, string>;
2669
2729
  declare function formatStatusLabel(status: string): string;
2670
2730
  declare function calculateProgress(completed: number, total: number): number;
2671
2731
 
2672
- export { AllTasksPage, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, calculateProgress, deliveryManifest, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors };
2732
+ export { AllTasksPage, 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 };
2673
2733
  export type { ProjectsSidebarMiddleProps };
@@ -1,17 +1,17 @@
1
- export { AllTasksPage, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, calculateProgress, deliveryManifest, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../../chunk-6RGNVHG3.js';
1
+ export { AllTasksPage, 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-UX3Q4YYN.js';
2
2
  import '../../chunk-TUMSNGTX.js';
3
3
  import '../../chunk-BZZCNLT6.js';
4
4
  import '../../chunk-27COZ5AH.js';
5
5
  import '../../chunk-PDHTXPSF.js';
6
6
  import '../../chunk-GBMNCNHX.js';
7
- import '../../chunk-DQJM7T2N.js';
8
- import '../../chunk-POFDRPDI.js';
7
+ import '../../chunk-7M2VOCYN.js';
8
+ import '../../chunk-4PHPENKX.js';
9
9
  import '../../chunk-LXHZYSMQ.js';
10
10
  import '../../chunk-22UVE3RA.js';
11
- import '../../chunk-4GZ6VZWO.js';
11
+ import '../../chunk-YCHZ4U5V.js';
12
12
  import '../../chunk-47YILFON.js';
13
13
  import '../../chunk-CYXZHBP4.js';
14
- import '../../chunk-O4PMRC6J.js';
14
+ import '../../chunk-OPT74SGF.js';
15
15
  import '../../chunk-RX4UWZZR.js';
16
16
  import '../../chunk-Y3D3WFJG.js';
17
17
  import '../../chunk-3KMDHCAR.js';
@@ -1,13 +1,50 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { z } from 'zod';
3
2
  import { ComponentType, ReactNode } from 'react';
3
+ import { z } from 'zod';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
 
6
6
  declare const LeadGenSidebar: () => react_jsx_runtime.JSX.Element;
7
7
 
8
8
  declare const LeadGenSidebarTop: () => react_jsx_runtime.JSX.Element;
9
9
 
10
- declare const LeadGenSidebarMiddle: () => react_jsx_runtime.JSX.Element;
10
+ /**
11
+ * Shared nav-item shape used by feature sidebar middle components.
12
+ *
13
+ * Matches the subset of {@link SubshellNavItemProps} that the existing
14
+ * hardcoded item arrays use. Consumers import this type alongside the
15
+ * exported item arrays (e.g. `CRM_ITEMS`) to type their custom arrays.
16
+ *
17
+ * @example
18
+ * import { NavItem, CRM_ITEMS } from '@elevasis/ui/features/crm'
19
+ *
20
+ * const customItems: NavItem[] = [
21
+ * ...CRM_ITEMS,
22
+ * { label: 'Reports', to: '/crm/reports', icon: IconFileText, exact: false },
23
+ * ]
24
+ */
25
+ interface NavItem {
26
+ /** Display label for the nav entry. */
27
+ label: string;
28
+ /** Route path the item links to. */
29
+ to: string;
30
+ /** Tabler icon component (or any component accepting `size` + `style`). */
31
+ icon: ComponentType<{
32
+ size?: number;
33
+ style?: React.CSSProperties;
34
+ }>;
35
+ /**
36
+ * When `true`, the item is only active when the path matches exactly.
37
+ * When `false`, it is active for any path that starts with `to`.
38
+ */
39
+ exact: boolean;
40
+ }
41
+
42
+ declare const LEAD_GEN_ITEMS: NavItem[];
43
+ interface LeadGenSidebarMiddleProps {
44
+ /** Override the default nav items. Defaults to {@link LEAD_GEN_ITEMS}. */
45
+ items?: NavItem[];
46
+ }
47
+ declare const LeadGenSidebarMiddle: ({ items }?: LeadGenSidebarMiddleProps) => react_jsx_runtime.JSX.Element;
11
48
 
12
49
  /**
13
50
  * Full ListConfig shape. `qualification` is required; everything else optional.
@@ -182,14 +219,33 @@ interface FeatureNavEntry {
182
219
  }
183
220
  type FeatureSidebarComponent = ComponentType;
184
221
  interface FeatureModule {
222
+ /** Unique stable identifier for this feature (e.g. `'crm'`, `'delivery'`). */
185
223
  key: string;
186
- label?: string;
224
+ /** Feature key used for access-flag gating in the organization model. */
187
225
  accessFeatureKey: OrganizationModelFeatureKey;
226
+ /**
227
+ * Semantic domain identifiers contributed by this feature.
228
+ * Merged with surface-derived domain IDs during resolution.
229
+ */
188
230
  domainIds?: OrganizationModelSemanticDomain['id'][];
231
+ /**
232
+ * Capability identifiers contributed by this feature.
233
+ * Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
234
+ * Not queried at runtime — kept for semantic graph completeness so that
235
+ * capability membership is fully represented in the resolved model even when
236
+ * a surface does not declare it directly.
237
+ */
189
238
  capabilityIds?: string[];
239
+ /** Top-level navigation entry rendered in the app shell when this feature is enabled. */
190
240
  navEntry?: FeatureNavEntry;
241
+ /** Sidebar component rendered when a matching subshell route is active. */
191
242
  sidebar?: FeatureSidebarComponent;
243
+ /** Route path prefixes that activate this feature's sidebar and subshell context. */
192
244
  subshellRoutes?: string[];
245
+ /**
246
+ * Operations-only bridge surface connecting this feature to the organization graph.
247
+ * Ignored by all other features. Only one manifest in the registry should set this.
248
+ */
193
249
  organizationGraph?: OrganizationGraphFeatureBridge;
194
250
  }
195
251
  interface OrganizationGraphFeatureBridge {
@@ -471,5 +527,5 @@ declare function LeadGenCompaniesPage(): react_jsx_runtime.JSX.Element;
471
527
 
472
528
  declare function LeadGenContactsPage(): react_jsx_runtime.JSX.Element;
473
529
 
474
- export { CompanyDetailModal, ContactDetailModal, LEAD_GEN_ROUTE_LINKS, LIST_TEMPLATE_OPTIONS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenDeliverabilityPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, buildListConfig, companyKeys, contactKeys, formatDate, getEnrichmentColor, getEnrichmentStatus, getStatusColor, leadGenManifest, useCompanies, useCompany, useContact, useContacts, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useUpdateCompany, useUpdateContact };
475
- export type { AcqCompanyWithCount, AcqContactWithCompany, LeadGenCompanyListItem, LeadGenContactListItem, LeadGenListTemplateValue, LeadGenRouteLink };
530
+ export { CompanyDetailModal, ContactDetailModal, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LIST_TEMPLATE_OPTIONS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenDeliverabilityPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, buildListConfig, companyKeys, contactKeys, formatDate, getEnrichmentColor, getEnrichmentStatus, getStatusColor, leadGenManifest, useCompanies, useCompany, useContact, useContacts, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useUpdateCompany, useUpdateContact };
531
+ export type { AcqCompanyWithCount, AcqContactWithCompany, LeadGenCompanyListItem, LeadGenContactListItem, LeadGenListTemplateValue, LeadGenRouteLink, LeadGenSidebarMiddleProps };
@@ -1,26 +1,26 @@
1
- export { CompanyDetailModal, ContactDetailModal, LEAD_GEN_ROUTE_LINKS, LIST_TEMPLATE_OPTIONS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenDeliverabilityPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, buildListConfig, formatDate, getEnrichmentColor, getEnrichmentStatus, getStatusColor, leadGenManifest, useDeleteLists } from '../../chunk-X4BLH3JL.js';
2
- import '../../chunk-FH5QGCXL.js';
1
+ export { CompanyDetailModal, ContactDetailModal, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LIST_TEMPLATE_OPTIONS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenDeliverabilityPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, buildListConfig, formatDate, getEnrichmentColor, getEnrichmentStatus, getStatusColor, leadGenManifest, useDeleteLists } from '../../chunk-OFT2QK6B.js';
2
+ import '../../chunk-F5QSLYUB.js';
3
3
  import '../../chunk-ROSMICXG.js';
4
4
  import '../../chunk-IDACMRGQ.js';
5
- import '../../chunk-PEDPD3PU.js';
5
+ import '../../chunk-7PDDPNQS.js';
6
6
  import '../../chunk-TUMSNGTX.js';
7
7
  import '../../chunk-BZZCNLT6.js';
8
8
  import '../../chunk-27COZ5AH.js';
9
9
  import '../../chunk-PDHTXPSF.js';
10
10
  import '../../chunk-GBMNCNHX.js';
11
- import '../../chunk-ZB5PKIX5.js';
11
+ import '../../chunk-CTWYIRKW.js';
12
12
  import '../../chunk-LGKLC5MG.js';
13
13
  import '../../chunk-KFICYU6S.js';
14
14
  import '../../chunk-YEX4MQSY.js';
15
15
  import '../../chunk-XA34RETF.js';
16
- import '../../chunk-DQJM7T2N.js';
17
- export { companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, useCompanies, useCompany, useContact, useContacts, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useUpdateCompany, useUpdateContact } from '../../chunk-POFDRPDI.js';
16
+ import '../../chunk-7M2VOCYN.js';
17
+ export { companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, useCompanies, useCompany, useContact, useContacts, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useUpdateCompany, useUpdateContact } from '../../chunk-4PHPENKX.js';
18
18
  import '../../chunk-LXHZYSMQ.js';
19
19
  import '../../chunk-22UVE3RA.js';
20
- import '../../chunk-4GZ6VZWO.js';
20
+ import '../../chunk-YCHZ4U5V.js';
21
21
  import '../../chunk-47YILFON.js';
22
22
  import '../../chunk-CYXZHBP4.js';
23
- import '../../chunk-O4PMRC6J.js';
23
+ import '../../chunk-OPT74SGF.js';
24
24
  import '../../chunk-RX4UWZZR.js';
25
25
  import '../../chunk-Y3D3WFJG.js';
26
26
  import '../../chunk-3KMDHCAR.js';
@@ -158,14 +158,33 @@ interface FeatureNavEntry {
158
158
  }
159
159
  type FeatureSidebarComponent = ComponentType;
160
160
  interface FeatureModule {
161
+ /** Unique stable identifier for this feature (e.g. `'crm'`, `'delivery'`). */
161
162
  key: string;
162
- label?: string;
163
+ /** Feature key used for access-flag gating in the organization model. */
163
164
  accessFeatureKey: OrganizationModelFeatureKey;
165
+ /**
166
+ * Semantic domain identifiers contributed by this feature.
167
+ * Merged with surface-derived domain IDs during resolution.
168
+ */
164
169
  domainIds?: OrganizationModelSemanticDomain['id'][];
170
+ /**
171
+ * Capability identifiers contributed by this feature.
172
+ * Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
173
+ * Not queried at runtime — kept for semantic graph completeness so that
174
+ * capability membership is fully represented in the resolved model even when
175
+ * a surface does not declare it directly.
176
+ */
165
177
  capabilityIds?: string[];
178
+ /** Top-level navigation entry rendered in the app shell when this feature is enabled. */
166
179
  navEntry?: FeatureNavEntry;
180
+ /** Sidebar component rendered when a matching subshell route is active. */
167
181
  sidebar?: FeatureSidebarComponent;
182
+ /** Route path prefixes that activate this feature's sidebar and subshell context. */
168
183
  subshellRoutes?: string[];
184
+ /**
185
+ * Operations-only bridge surface connecting this feature to the organization graph.
186
+ * Ignored by all other features. Only one manifest in the registry should set this.
187
+ */
169
188
  organizationGraph?: OrganizationGraphFeatureBridge;
170
189
  }
171
190
  interface OrganizationGraphFeatureBridge {
@@ -1,19 +1,19 @@
1
- export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-PHRDZFJT.js';
2
- import '../../chunk-PEDPD3PU.js';
1
+ export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-ZZ35VSNF.js';
2
+ import '../../chunk-7PDDPNQS.js';
3
3
  import '../../chunk-PDHTXPSF.js';
4
4
  import '../../chunk-GBMNCNHX.js';
5
5
  import '../../chunk-LGKLC5MG.js';
6
6
  import '../../chunk-KFICYU6S.js';
7
7
  import '../../chunk-YEX4MQSY.js';
8
8
  import '../../chunk-XA34RETF.js';
9
- import '../../chunk-DQJM7T2N.js';
10
- import '../../chunk-POFDRPDI.js';
9
+ import '../../chunk-7M2VOCYN.js';
10
+ import '../../chunk-4PHPENKX.js';
11
11
  import '../../chunk-LXHZYSMQ.js';
12
12
  import '../../chunk-22UVE3RA.js';
13
- import '../../chunk-4GZ6VZWO.js';
13
+ import '../../chunk-YCHZ4U5V.js';
14
14
  import '../../chunk-47YILFON.js';
15
15
  import '../../chunk-CYXZHBP4.js';
16
- import '../../chunk-O4PMRC6J.js';
16
+ import '../../chunk-OPT74SGF.js';
17
17
  import '../../chunk-RX4UWZZR.js';
18
18
  import '../../chunk-Y3D3WFJG.js';
19
19
  import '../../chunk-3KMDHCAR.js';
@@ -1765,14 +1765,33 @@ interface FeatureNavEntry {
1765
1765
  }
1766
1766
  type FeatureSidebarComponent = ComponentType;
1767
1767
  interface FeatureModule {
1768
+ /** Unique stable identifier for this feature (e.g. `'crm'`, `'delivery'`). */
1768
1769
  key: string;
1769
- label?: string;
1770
+ /** Feature key used for access-flag gating in the organization model. */
1770
1771
  accessFeatureKey: OrganizationModelFeatureKey;
1772
+ /**
1773
+ * Semantic domain identifiers contributed by this feature.
1774
+ * Merged with surface-derived domain IDs during resolution.
1775
+ */
1771
1776
  domainIds?: OrganizationModelSemanticDomain['id'][];
1777
+ /**
1778
+ * Capability identifiers contributed by this feature.
1779
+ * Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
1780
+ * Not queried at runtime — kept for semantic graph completeness so that
1781
+ * capability membership is fully represented in the resolved model even when
1782
+ * a surface does not declare it directly.
1783
+ */
1772
1784
  capabilityIds?: string[];
1785
+ /** Top-level navigation entry rendered in the app shell when this feature is enabled. */
1773
1786
  navEntry?: FeatureNavEntry;
1787
+ /** Sidebar component rendered when a matching subshell route is active. */
1774
1788
  sidebar?: FeatureSidebarComponent;
1789
+ /** Route path prefixes that activate this feature's sidebar and subshell context. */
1775
1790
  subshellRoutes?: string[];
1791
+ /**
1792
+ * Operations-only bridge surface connecting this feature to the organization graph.
1793
+ * Ignored by all other features. Only one manifest in the registry should set this.
1794
+ */
1776
1795
  organizationGraph?: OrganizationGraphFeatureBridge;
1777
1796
  }
1778
1797
  interface OrganizationGraphFeatureBridge {
@@ -1,23 +1,23 @@
1
- export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel, operationsManifest } from '../../chunk-FH5QGCXL.js';
1
+ export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel, operationsManifest } from '../../chunk-F5QSLYUB.js';
2
2
  import '../../chunk-ROSMICXG.js';
3
3
  import '../../chunk-IDACMRGQ.js';
4
- import '../../chunk-PEDPD3PU.js';
4
+ import '../../chunk-7PDDPNQS.js';
5
5
  import '../../chunk-BZZCNLT6.js';
6
6
  import '../../chunk-27COZ5AH.js';
7
7
  import '../../chunk-GBMNCNHX.js';
8
- export { OperationsOverview } from '../../chunk-ZB5PKIX5.js';
8
+ export { OperationsOverview } from '../../chunk-CTWYIRKW.js';
9
9
  import '../../chunk-LGKLC5MG.js';
10
10
  import '../../chunk-KFICYU6S.js';
11
11
  import '../../chunk-YEX4MQSY.js';
12
12
  import '../../chunk-XA34RETF.js';
13
- import '../../chunk-DQJM7T2N.js';
14
- import '../../chunk-POFDRPDI.js';
13
+ import '../../chunk-7M2VOCYN.js';
14
+ import '../../chunk-4PHPENKX.js';
15
15
  import '../../chunk-LXHZYSMQ.js';
16
16
  import '../../chunk-22UVE3RA.js';
17
- import '../../chunk-4GZ6VZWO.js';
17
+ import '../../chunk-YCHZ4U5V.js';
18
18
  import '../../chunk-47YILFON.js';
19
19
  import '../../chunk-CYXZHBP4.js';
20
- import '../../chunk-O4PMRC6J.js';
20
+ import '../../chunk-OPT74SGF.js';
21
21
  import '../../chunk-RX4UWZZR.js';
22
22
  import '../../chunk-Y3D3WFJG.js';
23
23
  import '../../chunk-3KMDHCAR.js';
@@ -47,14 +47,33 @@ interface FeatureNavEntry {
47
47
  }
48
48
  type FeatureSidebarComponent = ComponentType;
49
49
  interface FeatureModule {
50
+ /** Unique stable identifier for this feature (e.g. `'crm'`, `'delivery'`). */
50
51
  key: string;
51
- label?: string;
52
+ /** Feature key used for access-flag gating in the organization model. */
52
53
  accessFeatureKey: OrganizationModelFeatureKey;
54
+ /**
55
+ * Semantic domain identifiers contributed by this feature.
56
+ * Merged with surface-derived domain IDs during resolution.
57
+ */
53
58
  domainIds?: OrganizationModelSemanticDomain['id'][];
59
+ /**
60
+ * Capability identifiers contributed by this feature.
61
+ * Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
62
+ * Not queried at runtime — kept for semantic graph completeness so that
63
+ * capability membership is fully represented in the resolved model even when
64
+ * a surface does not declare it directly.
65
+ */
54
66
  capabilityIds?: string[];
67
+ /** Top-level navigation entry rendered in the app shell when this feature is enabled. */
55
68
  navEntry?: FeatureNavEntry;
69
+ /** Sidebar component rendered when a matching subshell route is active. */
56
70
  sidebar?: FeatureSidebarComponent;
71
+ /** Route path prefixes that activate this feature's sidebar and subshell context. */
57
72
  subshellRoutes?: string[];
73
+ /**
74
+ * Operations-only bridge surface connecting this feature to the organization graph.
75
+ * Ignored by all other features. Only one manifest in the registry should set this.
76
+ */
58
77
  organizationGraph?: OrganizationGraphFeatureBridge;
59
78
  }
60
79
  interface OrganizationGraphFeatureBridge {
@@ -1,4 +1,4 @@
1
- export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../../chunk-YIWLA2B6.js';
1
+ export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../../chunk-C2OFFC7J.js';
2
2
  import '../../chunk-27COZ5AH.js';
3
3
  import '../../chunk-2IFYDILW.js';
4
4
  import '../../chunk-DT3QYZVU.js';
@@ -2620,13 +2620,14 @@ type SupabaseUserProfile = Tables<'users'>;
2620
2620
  /**
2621
2621
  * Per-user-per-org config (stored in org_memberships.config)
2622
2622
  * Controls which features a specific member can access within their org
2623
- * Valid feature keys: operations, monitoring, acquisition, calibration, seo
2623
+ * Valid feature keys: operations, monitoring, acquisition, delivery, calibration, seo
2624
2624
  */
2625
2625
  interface MembershipFeatureConfig {
2626
2626
  features?: {
2627
2627
  operations?: boolean;
2628
2628
  monitoring?: boolean;
2629
2629
  acquisition?: boolean;
2630
+ delivery?: boolean;
2630
2631
  calibration?: boolean;
2631
2632
  seo?: boolean;
2632
2633
  };
@@ -2849,14 +2850,33 @@ interface FeatureNavEntry {
2849
2850
  }
2850
2851
  type FeatureSidebarComponent = ComponentType;
2851
2852
  interface FeatureModule {
2853
+ /** Unique stable identifier for this feature (e.g. `'crm'`, `'delivery'`). */
2852
2854
  key: string;
2853
- label?: string;
2855
+ /** Feature key used for access-flag gating in the organization model. */
2854
2856
  accessFeatureKey: OrganizationModelFeatureKey;
2857
+ /**
2858
+ * Semantic domain identifiers contributed by this feature.
2859
+ * Merged with surface-derived domain IDs during resolution.
2860
+ */
2855
2861
  domainIds?: OrganizationModelSemanticDomain['id'][];
2862
+ /**
2863
+ * Capability identifiers contributed by this feature.
2864
+ * Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
2865
+ * Not queried at runtime — kept for semantic graph completeness so that
2866
+ * capability membership is fully represented in the resolved model even when
2867
+ * a surface does not declare it directly.
2868
+ */
2856
2869
  capabilityIds?: string[];
2870
+ /** Top-level navigation entry rendered in the app shell when this feature is enabled. */
2857
2871
  navEntry?: FeatureNavEntry;
2872
+ /** Sidebar component rendered when a matching subshell route is active. */
2858
2873
  sidebar?: FeatureSidebarComponent;
2874
+ /** Route path prefixes that activate this feature's sidebar and subshell context. */
2859
2875
  subshellRoutes?: string[];
2876
+ /**
2877
+ * Operations-only bridge surface connecting this feature to the organization graph.
2878
+ * Ignored by all other features. Only one manifest in the registry should set this.
2879
+ */
2860
2880
  organizationGraph?: OrganizationGraphFeatureBridge;
2861
2881
  }
2862
2882
  interface OrganizationGraphFeatureBridge {
@@ -1,16 +1,16 @@
1
- export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-CC4WGHGG.js';
1
+ export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-KGEYEUR5.js';
2
2
  import '../../chunk-PDHTXPSF.js';
3
3
  import '../../chunk-GBMNCNHX.js';
4
4
  import '../../chunk-YEX4MQSY.js';
5
5
  import '../../chunk-VNUOQQNY.js';
6
- import '../../chunk-DQJM7T2N.js';
7
- import '../../chunk-POFDRPDI.js';
6
+ import '../../chunk-7M2VOCYN.js';
7
+ import '../../chunk-4PHPENKX.js';
8
8
  import '../../chunk-LXHZYSMQ.js';
9
9
  import '../../chunk-22UVE3RA.js';
10
- import '../../chunk-4GZ6VZWO.js';
10
+ import '../../chunk-YCHZ4U5V.js';
11
11
  import '../../chunk-47YILFON.js';
12
12
  import '../../chunk-CYXZHBP4.js';
13
- import '../../chunk-O4PMRC6J.js';
13
+ import '../../chunk-OPT74SGF.js';
14
14
  import '../../chunk-RX4UWZZR.js';
15
15
  import '../../chunk-Y3D3WFJG.js';
16
16
  import '../../chunk-3KMDHCAR.js';