@elevasis/ui 2.11.0 → 2.13.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.
- package/dist/app/index.js +5 -5
- package/dist/{chunk-23PZ57GB.js → chunk-2CGYLRTX.js} +1 -1
- package/dist/{chunk-DJBORKTR.js → chunk-5IBTTMWX.js} +3 -3
- package/dist/{chunk-BLQLWIOW.js → chunk-67BKMKFG.js} +9 -9
- package/dist/{chunk-KDAOCM66.js → chunk-6RWMRQN5.js} +1 -1
- package/dist/{chunk-BDENEI4Q.js → chunk-6WPKE7C3.js} +135 -90
- package/dist/{chunk-L34DFR2K.js → chunk-BSW5MUAQ.js} +4 -4
- package/dist/{chunk-V7XHGJQZ.js → chunk-FL67C3WY.js} +6 -1
- package/dist/{chunk-DOFVHWAP.js → chunk-FT27I4S7.js} +82 -2
- package/dist/{chunk-AQDBRRZD.js → chunk-H333SX3N.js} +1 -1
- package/dist/{chunk-YEX4MQSY.js → chunk-M25JL54Z.js} +3 -3
- package/dist/{chunk-TNOIOBYI.js → chunk-NLFAEJDH.js} +2 -2
- package/dist/{chunk-BSCTPKXM.js → chunk-PCK553L4.js} +8 -3
- package/dist/{chunk-24UMQV5B.js → chunk-R73EHHPN.js} +143 -78
- package/dist/{chunk-XYSMBMAR.js → chunk-T7R5P5JJ.js} +3 -3
- package/dist/{chunk-F4TPY6YL.js → chunk-WLOQ4IBG.js} +9 -3
- package/dist/{chunk-R7WLWGPO.js → chunk-ZB5GAV7J.js} +1 -1
- package/dist/components/index.d.ts +178 -0
- package/dist/components/index.js +19 -19
- package/dist/features/auth/index.d.ts +88 -0
- package/dist/features/auth/index.js +2 -2
- package/dist/features/crm/index.d.ts +90 -0
- package/dist/features/crm/index.js +7 -7
- package/dist/features/dashboard/index.js +8 -8
- package/dist/features/delivery/index.d.ts +135 -26
- package/dist/features/delivery/index.js +7 -7
- package/dist/features/lead-gen/index.js +11 -11
- package/dist/features/monitoring/index.js +9 -9
- package/dist/features/monitoring/requests/index.d.ts +125 -0
- package/dist/features/operations/index.js +10 -10
- package/dist/features/settings/index.d.ts +88 -0
- package/dist/features/settings/index.js +9 -9
- package/dist/hooks/index.d.ts +318 -3
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/published.d.ts +318 -3
- package/dist/hooks/published.js +6 -6
- package/dist/index.d.ts +318 -3
- package/dist/index.js +7 -7
- package/dist/initialization/index.d.ts +88 -0
- package/dist/layout/index.d.ts +9 -2
- package/dist/layout/index.js +2 -2
- package/dist/organization/index.js +1 -1
- package/dist/profile/index.d.ts +88 -0
- package/dist/provider/index.js +5 -5
- package/dist/provider/published.js +2 -2
- package/dist/supabase/index.d.ts +172 -0
- package/dist/theme/index.js +3 -3
- package/dist/types/index.d.ts +89 -1
- package/package.json +7 -3
|
@@ -1,30 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, ComponentType } from 'react';
|
|
3
3
|
|
|
4
|
-
interface CreateDeliveryEntityModalProps {
|
|
5
|
-
opened: boolean;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
projectId: string;
|
|
8
|
-
entityType: 'task' | 'milestone';
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Single modal for creating a task or milestone, discriminated by `entityType`.
|
|
12
|
-
* Shared form shell: name + description + (task only) type + optional milestone_id.
|
|
13
|
-
* On success the modal closes; cache invalidation is handled by the mutation hooks.
|
|
14
|
-
*/
|
|
15
|
-
declare function CreateDeliveryEntityModal({ opened, onClose, projectId, entityType }: CreateDeliveryEntityModalProps): react_jsx_runtime.JSX.Element;
|
|
16
|
-
|
|
17
|
-
interface HealthStatusCardProps {
|
|
18
|
-
status: string;
|
|
19
|
-
milestoneCount: number;
|
|
20
|
-
completedMilestones: number;
|
|
21
|
-
taskCount: number;
|
|
22
|
-
completedTasks: number;
|
|
23
|
-
startDate: string | null;
|
|
24
|
-
targetEndDate: string | null;
|
|
25
|
-
}
|
|
26
|
-
declare function HealthStatusCard({ status, milestoneCount, completedMilestones, taskCount, completedTasks, startDate, targetEndDate }: HealthStatusCardProps): react_jsx_runtime.JSX.Element;
|
|
27
|
-
|
|
28
4
|
type Json =
|
|
29
5
|
| string
|
|
30
6
|
| number
|
|
@@ -2101,6 +2077,94 @@ type Database = {
|
|
|
2101
2077
|
},
|
|
2102
2078
|
]
|
|
2103
2079
|
}
|
|
2080
|
+
reported_requests: {
|
|
2081
|
+
Row: {
|
|
2082
|
+
affected_page: string | null
|
|
2083
|
+
category: string
|
|
2084
|
+
context: Json | null
|
|
2085
|
+
created_at: string
|
|
2086
|
+
description: string
|
|
2087
|
+
evidence: Json | null
|
|
2088
|
+
id: string
|
|
2089
|
+
organization_id: string
|
|
2090
|
+
project_id: string | null
|
|
2091
|
+
reported_at: string
|
|
2092
|
+
reporter_id: string | null
|
|
2093
|
+
resolved_at: string | null
|
|
2094
|
+
severity: string
|
|
2095
|
+
source: string
|
|
2096
|
+
status: string
|
|
2097
|
+
task_id: string | null
|
|
2098
|
+
title: string
|
|
2099
|
+
type: string
|
|
2100
|
+
updated_at: string
|
|
2101
|
+
}
|
|
2102
|
+
Insert: {
|
|
2103
|
+
affected_page?: string | null
|
|
2104
|
+
category: string
|
|
2105
|
+
context?: Json | null
|
|
2106
|
+
created_at?: string
|
|
2107
|
+
description: string
|
|
2108
|
+
evidence?: Json | null
|
|
2109
|
+
id?: string
|
|
2110
|
+
organization_id: string
|
|
2111
|
+
project_id?: string | null
|
|
2112
|
+
reported_at?: string
|
|
2113
|
+
reporter_id?: string | null
|
|
2114
|
+
resolved_at?: string | null
|
|
2115
|
+
severity: string
|
|
2116
|
+
source: string
|
|
2117
|
+
status?: string
|
|
2118
|
+
task_id?: string | null
|
|
2119
|
+
title: string
|
|
2120
|
+
type: string
|
|
2121
|
+
updated_at?: string
|
|
2122
|
+
}
|
|
2123
|
+
Update: {
|
|
2124
|
+
affected_page?: string | null
|
|
2125
|
+
category?: string
|
|
2126
|
+
context?: Json | null
|
|
2127
|
+
created_at?: string
|
|
2128
|
+
description?: string
|
|
2129
|
+
evidence?: Json | null
|
|
2130
|
+
id?: string
|
|
2131
|
+
organization_id?: string
|
|
2132
|
+
project_id?: string | null
|
|
2133
|
+
reported_at?: string
|
|
2134
|
+
reporter_id?: string | null
|
|
2135
|
+
resolved_at?: string | null
|
|
2136
|
+
severity?: string
|
|
2137
|
+
source?: string
|
|
2138
|
+
status?: string
|
|
2139
|
+
task_id?: string | null
|
|
2140
|
+
title?: string
|
|
2141
|
+
type?: string
|
|
2142
|
+
updated_at?: string
|
|
2143
|
+
}
|
|
2144
|
+
Relationships: [
|
|
2145
|
+
{
|
|
2146
|
+
foreignKeyName: "reported_requests_organization_id_fkey"
|
|
2147
|
+
columns: ["organization_id"]
|
|
2148
|
+
isOneToOne: false
|
|
2149
|
+
referencedRelation: "organizations"
|
|
2150
|
+
referencedColumns: ["id"]
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
foreignKeyName: "reported_requests_project_id_fkey"
|
|
2154
|
+
columns: ["project_id"]
|
|
2155
|
+
isOneToOne: false
|
|
2156
|
+
referencedRelation: "prj_projects"
|
|
2157
|
+
referencedColumns: ["id"]
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
foreignKeyName: "reported_requests_task_id_fkey"
|
|
2161
|
+
columns: ["task_id"]
|
|
2162
|
+
isOneToOne: false
|
|
2163
|
+
referencedRelation: "prj_tasks"
|
|
2164
|
+
referencedColumns: ["id"]
|
|
2165
|
+
},
|
|
2166
|
+
]
|
|
2167
|
+
}
|
|
2104
2168
|
session_messages: {
|
|
2105
2169
|
Row: {
|
|
2106
2170
|
created_at: string | null
|
|
@@ -2474,6 +2538,51 @@ type MilestoneRow = Database['public']['Tables']['prj_milestones']['Row']
|
|
|
2474
2538
|
|
|
2475
2539
|
type TaskRow = Database['public']['Tables']['prj_tasks']['Row']
|
|
2476
2540
|
|
|
2541
|
+
// Checklist item stored in prj_milestones.checklist JSONB column
|
|
2542
|
+
interface ChecklistItem {
|
|
2543
|
+
id: string
|
|
2544
|
+
label: string
|
|
2545
|
+
completed: boolean
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
interface ChecklistProps {
|
|
2549
|
+
items: ChecklistItem[];
|
|
2550
|
+
onToggle: (itemId: string) => void;
|
|
2551
|
+
onAdd: (label: string) => void;
|
|
2552
|
+
onRemove: (itemId: string) => void;
|
|
2553
|
+
}
|
|
2554
|
+
/**
|
|
2555
|
+
* Reusable checklist component for milestones and tasks.
|
|
2556
|
+
*
|
|
2557
|
+
* Renders a list of checklist items with toggle, add, and remove capabilities.
|
|
2558
|
+
* All mutation logic (auto-complete, status updates) is the parent's responsibility.
|
|
2559
|
+
*/
|
|
2560
|
+
declare function Checklist({ items, onToggle, onAdd, onRemove }: ChecklistProps): react_jsx_runtime.JSX.Element;
|
|
2561
|
+
|
|
2562
|
+
interface CreateDeliveryEntityModalProps {
|
|
2563
|
+
opened: boolean;
|
|
2564
|
+
onClose: () => void;
|
|
2565
|
+
projectId: string;
|
|
2566
|
+
entityType: 'task' | 'milestone';
|
|
2567
|
+
}
|
|
2568
|
+
/**
|
|
2569
|
+
* Single modal for creating a task or milestone, discriminated by `entityType`.
|
|
2570
|
+
* Shared form shell: name + description + (task only) type + optional milestone_id.
|
|
2571
|
+
* On success the modal closes; cache invalidation is handled by the mutation hooks.
|
|
2572
|
+
*/
|
|
2573
|
+
declare function CreateDeliveryEntityModal({ opened, onClose, projectId, entityType }: CreateDeliveryEntityModalProps): react_jsx_runtime.JSX.Element;
|
|
2574
|
+
|
|
2575
|
+
interface HealthStatusCardProps {
|
|
2576
|
+
status: string;
|
|
2577
|
+
milestoneCount: number;
|
|
2578
|
+
completedMilestones: number;
|
|
2579
|
+
taskCount: number;
|
|
2580
|
+
completedTasks: number;
|
|
2581
|
+
startDate: string | null;
|
|
2582
|
+
targetEndDate: string | null;
|
|
2583
|
+
}
|
|
2584
|
+
declare function HealthStatusCard({ status, milestoneCount, completedMilestones, taskCount, completedTasks, startDate, targetEndDate }: HealthStatusCardProps): react_jsx_runtime.JSX.Element;
|
|
2585
|
+
|
|
2477
2586
|
interface MilestoneTimelineProps {
|
|
2478
2587
|
milestones: MilestoneRow[];
|
|
2479
2588
|
tasks: TaskRow[];
|
|
@@ -2612,5 +2721,5 @@ declare const noteTypeColors: Record<string, string>;
|
|
|
2612
2721
|
declare function formatStatusLabel(status: string): string;
|
|
2613
2722
|
declare function calculateProgress(completed: number, total: number): number;
|
|
2614
2723
|
|
|
2615
|
-
export { AllTasksPage, 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 };
|
|
2616
|
-
export type { ProjectsSidebarMiddleProps };
|
|
2724
|
+
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 };
|
|
2725
|
+
export type { ChecklistProps, ProjectsSidebarMiddleProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AllTasksPage, 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-
|
|
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-6WPKE7C3.js';
|
|
2
2
|
import '../../chunk-G2TDX3W6.js';
|
|
3
3
|
import '../../chunk-TUMSNGTX.js';
|
|
4
4
|
import '../../chunk-BZZCNLT6.js';
|
|
@@ -7,27 +7,27 @@ import '../../chunk-IIMU5YAJ.js';
|
|
|
7
7
|
import '../../chunk-PDHTXPSF.js';
|
|
8
8
|
import '../../chunk-GBMNCNHX.js';
|
|
9
9
|
import '../../chunk-7M2VOCYN.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-FT27I4S7.js';
|
|
11
11
|
import '../../chunk-LXHZYSMQ.js';
|
|
12
12
|
import '../../chunk-BRXELOHC.js';
|
|
13
13
|
import '../../chunk-22UVE3RA.js';
|
|
14
14
|
import '../../chunk-3ZMAGTWF.js';
|
|
15
15
|
import '../../chunk-DKQQK3WX.js';
|
|
16
|
-
import '../../chunk-
|
|
17
|
-
import '../../chunk-
|
|
18
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-5IBTTMWX.js';
|
|
17
|
+
import '../../chunk-R73EHHPN.js';
|
|
18
|
+
import '../../chunk-WLOQ4IBG.js';
|
|
19
19
|
import '../../chunk-C7BX547M.js';
|
|
20
20
|
import '../../chunk-RX4UWZZR.js';
|
|
21
21
|
import '../../chunk-SQQGLGHW.js';
|
|
22
22
|
import '../../chunk-3KMDHCAR.js';
|
|
23
23
|
import '../../chunk-NYBEU5TE.js';
|
|
24
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-ZB5GAV7J.js';
|
|
25
25
|
import '../../chunk-SZHARWKU.js';
|
|
26
26
|
import '../../chunk-NVOCKXUQ.js';
|
|
27
27
|
import '../../chunk-2IFYDILW.js';
|
|
28
28
|
import '../../chunk-ELJIFLCB.js';
|
|
29
29
|
import '../../chunk-L4XXM55J.js';
|
|
30
|
-
import '../../chunk-
|
|
30
|
+
import '../../chunk-FL67C3WY.js';
|
|
31
31
|
import '../../chunk-QJ2KCHKX.js';
|
|
32
32
|
import '../../chunk-DT3QYZVU.js';
|
|
33
33
|
import '../../chunk-SLVC5OJ2.js';
|
|
@@ -1,42 +1,42 @@
|
|
|
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-
|
|
2
|
-
import '../../chunk-
|
|
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-NLFAEJDH.js';
|
|
2
|
+
import '../../chunk-BSW5MUAQ.js';
|
|
3
3
|
import '../../chunk-ROSMICXG.js';
|
|
4
4
|
import '../../chunk-ADSSLKKP.js';
|
|
5
5
|
import '../../chunk-G2TDX3W6.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-2CGYLRTX.js';
|
|
7
7
|
import '../../chunk-TUMSNGTX.js';
|
|
8
8
|
import '../../chunk-BZZCNLT6.js';
|
|
9
9
|
import '../../chunk-CEWTOKE7.js';
|
|
10
10
|
import '../../chunk-IIMU5YAJ.js';
|
|
11
11
|
import '../../chunk-PDHTXPSF.js';
|
|
12
12
|
import '../../chunk-GBMNCNHX.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-67BKMKFG.js';
|
|
14
14
|
import '../../chunk-LGKLC5MG.js';
|
|
15
15
|
import '../../chunk-STZJ7SY5.js';
|
|
16
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-M25JL54Z.js';
|
|
17
17
|
import '../../chunk-GHIPBT5V.js';
|
|
18
18
|
import '../../chunk-7M2VOCYN.js';
|
|
19
|
-
export { companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, useCompanies, useCompany, useContact, useContacts, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useUpdateCompany, useUpdateContact } from '../../chunk-
|
|
19
|
+
export { companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, useCompanies, useCompany, useContact, useContacts, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useUpdateCompany, useUpdateContact } from '../../chunk-FT27I4S7.js';
|
|
20
20
|
import '../../chunk-LXHZYSMQ.js';
|
|
21
21
|
import '../../chunk-BRXELOHC.js';
|
|
22
22
|
import '../../chunk-22UVE3RA.js';
|
|
23
23
|
import '../../chunk-3ZMAGTWF.js';
|
|
24
24
|
import '../../chunk-DKQQK3WX.js';
|
|
25
|
-
import '../../chunk-
|
|
26
|
-
import '../../chunk-
|
|
27
|
-
import '../../chunk-
|
|
25
|
+
import '../../chunk-5IBTTMWX.js';
|
|
26
|
+
import '../../chunk-R73EHHPN.js';
|
|
27
|
+
import '../../chunk-WLOQ4IBG.js';
|
|
28
28
|
import '../../chunk-C7BX547M.js';
|
|
29
29
|
import '../../chunk-RX4UWZZR.js';
|
|
30
30
|
import '../../chunk-SQQGLGHW.js';
|
|
31
31
|
import '../../chunk-3KMDHCAR.js';
|
|
32
32
|
import '../../chunk-NYBEU5TE.js';
|
|
33
|
-
import '../../chunk-
|
|
33
|
+
import '../../chunk-ZB5GAV7J.js';
|
|
34
34
|
import '../../chunk-SZHARWKU.js';
|
|
35
35
|
import '../../chunk-NVOCKXUQ.js';
|
|
36
36
|
import '../../chunk-2IFYDILW.js';
|
|
37
37
|
import '../../chunk-ELJIFLCB.js';
|
|
38
38
|
import '../../chunk-L4XXM55J.js';
|
|
39
|
-
import '../../chunk-
|
|
39
|
+
import '../../chunk-FL67C3WY.js';
|
|
40
40
|
import '../../chunk-QJ2KCHKX.js';
|
|
41
41
|
import '../../chunk-DT3QYZVU.js';
|
|
42
42
|
import '../../chunk-SLVC5OJ2.js';
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-PCK553L4.js';
|
|
2
|
+
import '../../chunk-2CGYLRTX.js';
|
|
3
3
|
import '../../chunk-PDHTXPSF.js';
|
|
4
4
|
import '../../chunk-GBMNCNHX.js';
|
|
5
5
|
import '../../chunk-LGKLC5MG.js';
|
|
6
6
|
import '../../chunk-STZJ7SY5.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-M25JL54Z.js';
|
|
8
8
|
import '../../chunk-GHIPBT5V.js';
|
|
9
9
|
import '../../chunk-7M2VOCYN.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-FT27I4S7.js';
|
|
11
11
|
import '../../chunk-LXHZYSMQ.js';
|
|
12
12
|
import '../../chunk-BRXELOHC.js';
|
|
13
13
|
import '../../chunk-22UVE3RA.js';
|
|
14
14
|
import '../../chunk-3ZMAGTWF.js';
|
|
15
15
|
import '../../chunk-DKQQK3WX.js';
|
|
16
|
-
import '../../chunk-
|
|
17
|
-
import '../../chunk-
|
|
18
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-5IBTTMWX.js';
|
|
17
|
+
import '../../chunk-R73EHHPN.js';
|
|
18
|
+
import '../../chunk-WLOQ4IBG.js';
|
|
19
19
|
import '../../chunk-C7BX547M.js';
|
|
20
20
|
import '../../chunk-RX4UWZZR.js';
|
|
21
21
|
import '../../chunk-SQQGLGHW.js';
|
|
22
22
|
import '../../chunk-3KMDHCAR.js';
|
|
23
23
|
import '../../chunk-NYBEU5TE.js';
|
|
24
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-ZB5GAV7J.js';
|
|
25
25
|
import '../../chunk-SZHARWKU.js';
|
|
26
26
|
import '../../chunk-NVOCKXUQ.js';
|
|
27
27
|
import '../../chunk-2IFYDILW.js';
|
|
28
28
|
import '../../chunk-ELJIFLCB.js';
|
|
29
29
|
import '../../chunk-L4XXM55J.js';
|
|
30
|
-
import '../../chunk-
|
|
30
|
+
import '../../chunk-FL67C3WY.js';
|
|
31
31
|
import '../../chunk-QJ2KCHKX.js';
|
|
32
32
|
import '../../chunk-DT3QYZVU.js';
|
|
33
33
|
import '../../chunk-SLVC5OJ2.js';
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
interface FeatureNavLink {
|
|
6
|
+
label: string;
|
|
7
|
+
link: string;
|
|
8
|
+
featureKey?: string;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
links?: FeatureNavLink[];
|
|
11
|
+
}
|
|
12
|
+
interface FeatureNavEntry {
|
|
13
|
+
label: string;
|
|
14
|
+
icon: ComponentType;
|
|
15
|
+
link?: string;
|
|
16
|
+
featureKey?: string;
|
|
17
|
+
requiresAdmin?: boolean;
|
|
18
|
+
dataOnboardingTourId?: string;
|
|
19
|
+
links?: FeatureNavLink[];
|
|
20
|
+
}
|
|
21
|
+
type FeatureSidebarComponent = ComponentType;
|
|
22
|
+
interface FeatureModule {
|
|
23
|
+
/** Unique stable identifier for this feature (e.g. `'crm'`, `'projects'`). */
|
|
24
|
+
key: string;
|
|
25
|
+
/** Feature ID used for access-flag gating — must match the `id` of a feature in the organization model. */
|
|
26
|
+
featureId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Capability identifiers contributed by this feature.
|
|
29
|
+
* Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
|
|
30
|
+
* Not queried at runtime — kept for semantic graph completeness so that
|
|
31
|
+
* capability membership is fully represented in the resolved model even when
|
|
32
|
+
* a surface does not declare it directly.
|
|
33
|
+
*/
|
|
34
|
+
capabilityIds?: string[];
|
|
35
|
+
/** Top-level navigation entry rendered in the app shell when this feature is enabled. */
|
|
36
|
+
navEntry?: FeatureNavEntry;
|
|
37
|
+
/** Sidebar component rendered when a matching subshell route is active. */
|
|
38
|
+
sidebar?: FeatureSidebarComponent;
|
|
39
|
+
/** Route path prefixes that activate this feature's sidebar and subshell context. */
|
|
40
|
+
subshellRoutes?: string[];
|
|
41
|
+
/**
|
|
42
|
+
* Operations-only bridge surface connecting this feature to the organization graph.
|
|
43
|
+
* Ignored by all other features. Only one manifest in the registry should set this.
|
|
44
|
+
*/
|
|
45
|
+
organizationGraph?: OrganizationGraphFeatureBridge;
|
|
46
|
+
}
|
|
47
|
+
interface OrganizationGraphFeatureBridge {
|
|
48
|
+
surfaceId: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
declare const submittedRequestsManifest: FeatureModule;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Request Reporting API Schemas
|
|
55
|
+
*
|
|
56
|
+
* Request/response validation for /api/requests and /api/external/requests surfaces.
|
|
57
|
+
* Used by both the API (routes.ts, external-routes.ts) and the CLI.
|
|
58
|
+
*
|
|
59
|
+
* Table mapping:
|
|
60
|
+
* reported_requests -> RequestSchemas
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
// ---------------------------------------------------------------------------
|
|
64
|
+
// Enum literals (must match DB CHECK constraints exactly)
|
|
65
|
+
// ---------------------------------------------------------------------------
|
|
66
|
+
|
|
67
|
+
declare const RequestSeverityEnum = z.enum(['critical', 'warning', 'info'])
|
|
68
|
+
declare const RequestStatusEnum = z.enum(['open', 'investigating', 'resolved', 'wont_fix'])
|
|
69
|
+
declare const RequestSourceEnum = z.enum(['agent', 'cli', 'api', 'webhook', 'user', 'external'])
|
|
70
|
+
declare const RequestTypeEnum = z.enum(['bug', 'feature', 'question', 'other'])
|
|
71
|
+
|
|
72
|
+
// ---------------------------------------------------------------------------
|
|
73
|
+
// Inferred types
|
|
74
|
+
// ---------------------------------------------------------------------------
|
|
75
|
+
|
|
76
|
+
type RequestSeverity = z.infer<typeof RequestSeverityEnum>
|
|
77
|
+
type RequestStatus = z.infer<typeof RequestStatusEnum>
|
|
78
|
+
type RequestSource = z.infer<typeof RequestSourceEnum>
|
|
79
|
+
type RequestType = z.infer<typeof RequestTypeEnum>
|
|
80
|
+
|
|
81
|
+
interface RequestsListPageProps {
|
|
82
|
+
type?: RequestType;
|
|
83
|
+
severity?: RequestSeverity;
|
|
84
|
+
status?: RequestStatus;
|
|
85
|
+
source?: RequestSource;
|
|
86
|
+
onNavigateToRequest?: (id: string) => void;
|
|
87
|
+
}
|
|
88
|
+
declare function RequestsListPage({ type: typeProp, severity: severityProp, status: statusProp, source: sourceProp, onNavigateToRequest }: RequestsListPageProps): react_jsx_runtime.JSX.Element;
|
|
89
|
+
|
|
90
|
+
interface RequestsDetailPageProps {
|
|
91
|
+
requestId: string;
|
|
92
|
+
onNavigateBack?: () => void;
|
|
93
|
+
}
|
|
94
|
+
declare function RequestsDetailPage({ requestId, onNavigateBack }: RequestsDetailPageProps): react_jsx_runtime.JSX.Element;
|
|
95
|
+
|
|
96
|
+
interface RequestTypeBadgeProps {
|
|
97
|
+
type: RequestType;
|
|
98
|
+
}
|
|
99
|
+
declare function RequestTypeBadge({ type }: RequestTypeBadgeProps): react_jsx_runtime.JSX.Element;
|
|
100
|
+
|
|
101
|
+
interface SeverityBadgeProps {
|
|
102
|
+
severity: RequestSeverity;
|
|
103
|
+
}
|
|
104
|
+
declare function SeverityBadge({ severity }: SeverityBadgeProps): react_jsx_runtime.JSX.Element;
|
|
105
|
+
|
|
106
|
+
interface StatusBadgeProps {
|
|
107
|
+
status: RequestStatus;
|
|
108
|
+
}
|
|
109
|
+
declare function StatusBadge({ status }: StatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
110
|
+
|
|
111
|
+
interface StatusTransitionMenuProps {
|
|
112
|
+
currentStatus: RequestStatus;
|
|
113
|
+
onTransition: (newStatus: RequestStatus) => void;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* StatusTransitionMenu — Mantine Menu for triaging request status.
|
|
117
|
+
*
|
|
118
|
+
* Visually disables transitions that are not valid from the current status.
|
|
119
|
+
* Selecting "Won't Fix" opens a confirmation modal before calling onTransition.
|
|
120
|
+
* No mutation logic lives here — the parent wires useUpdateRequestStatus.
|
|
121
|
+
*/
|
|
122
|
+
declare function StatusTransitionMenu({ currentStatus, onTransition }: StatusTransitionMenuProps): react_jsx_runtime.JSX.Element;
|
|
123
|
+
|
|
124
|
+
export { RequestTypeBadge, RequestsDetailPage, RequestsListPage, SeverityBadge, StatusBadge, StatusTransitionMenu, submittedRequestsManifest };
|
|
125
|
+
export type { StatusTransitionMenuProps };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export { AgentExecutionPanel, AgentSessionGroup, 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-
|
|
1
|
+
export { AgentExecutionPanel, AgentSessionGroup, 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-BSW5MUAQ.js';
|
|
2
2
|
import '../../chunk-ROSMICXG.js';
|
|
3
3
|
import '../../chunk-ADSSLKKP.js';
|
|
4
4
|
import '../../chunk-G2TDX3W6.js';
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-2CGYLRTX.js';
|
|
6
6
|
import '../../chunk-BZZCNLT6.js';
|
|
7
7
|
import '../../chunk-IIMU5YAJ.js';
|
|
8
8
|
import '../../chunk-GBMNCNHX.js';
|
|
9
|
-
export { OperationsOverview } from '../../chunk-
|
|
9
|
+
export { OperationsOverview } from '../../chunk-67BKMKFG.js';
|
|
10
10
|
import '../../chunk-LGKLC5MG.js';
|
|
11
11
|
import '../../chunk-STZJ7SY5.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-M25JL54Z.js';
|
|
13
13
|
import '../../chunk-GHIPBT5V.js';
|
|
14
14
|
import '../../chunk-7M2VOCYN.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-FT27I4S7.js';
|
|
16
16
|
import '../../chunk-LXHZYSMQ.js';
|
|
17
17
|
import '../../chunk-BRXELOHC.js';
|
|
18
18
|
import '../../chunk-22UVE3RA.js';
|
|
19
19
|
import '../../chunk-3ZMAGTWF.js';
|
|
20
20
|
import '../../chunk-DKQQK3WX.js';
|
|
21
|
-
import '../../chunk-
|
|
22
|
-
import '../../chunk-
|
|
23
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-5IBTTMWX.js';
|
|
22
|
+
import '../../chunk-R73EHHPN.js';
|
|
23
|
+
import '../../chunk-WLOQ4IBG.js';
|
|
24
24
|
import '../../chunk-C7BX547M.js';
|
|
25
25
|
import '../../chunk-RX4UWZZR.js';
|
|
26
26
|
import '../../chunk-SQQGLGHW.js';
|
|
27
27
|
import '../../chunk-3KMDHCAR.js';
|
|
28
28
|
import '../../chunk-NYBEU5TE.js';
|
|
29
|
-
import '../../chunk-
|
|
29
|
+
import '../../chunk-ZB5GAV7J.js';
|
|
30
30
|
import '../../chunk-SZHARWKU.js';
|
|
31
31
|
import '../../chunk-NVOCKXUQ.js';
|
|
32
32
|
import '../../chunk-2IFYDILW.js';
|
|
33
33
|
import '../../chunk-ELJIFLCB.js';
|
|
34
34
|
import '../../chunk-L4XXM55J.js';
|
|
35
|
-
import '../../chunk-
|
|
35
|
+
import '../../chunk-FL67C3WY.js';
|
|
36
36
|
import '../../chunk-QJ2KCHKX.js';
|
|
37
37
|
import '../../chunk-DT3QYZVU.js';
|
|
38
38
|
import '../../chunk-SLVC5OJ2.js';
|
|
@@ -2071,6 +2071,94 @@ type Database = {
|
|
|
2071
2071
|
}
|
|
2072
2072
|
];
|
|
2073
2073
|
};
|
|
2074
|
+
reported_requests: {
|
|
2075
|
+
Row: {
|
|
2076
|
+
affected_page: string | null;
|
|
2077
|
+
category: string;
|
|
2078
|
+
context: Json | null;
|
|
2079
|
+
created_at: string;
|
|
2080
|
+
description: string;
|
|
2081
|
+
evidence: Json | null;
|
|
2082
|
+
id: string;
|
|
2083
|
+
organization_id: string;
|
|
2084
|
+
project_id: string | null;
|
|
2085
|
+
reported_at: string;
|
|
2086
|
+
reporter_id: string | null;
|
|
2087
|
+
resolved_at: string | null;
|
|
2088
|
+
severity: string;
|
|
2089
|
+
source: string;
|
|
2090
|
+
status: string;
|
|
2091
|
+
task_id: string | null;
|
|
2092
|
+
title: string;
|
|
2093
|
+
type: string;
|
|
2094
|
+
updated_at: string;
|
|
2095
|
+
};
|
|
2096
|
+
Insert: {
|
|
2097
|
+
affected_page?: string | null;
|
|
2098
|
+
category: string;
|
|
2099
|
+
context?: Json | null;
|
|
2100
|
+
created_at?: string;
|
|
2101
|
+
description: string;
|
|
2102
|
+
evidence?: Json | null;
|
|
2103
|
+
id?: string;
|
|
2104
|
+
organization_id: string;
|
|
2105
|
+
project_id?: string | null;
|
|
2106
|
+
reported_at?: string;
|
|
2107
|
+
reporter_id?: string | null;
|
|
2108
|
+
resolved_at?: string | null;
|
|
2109
|
+
severity: string;
|
|
2110
|
+
source: string;
|
|
2111
|
+
status?: string;
|
|
2112
|
+
task_id?: string | null;
|
|
2113
|
+
title: string;
|
|
2114
|
+
type: string;
|
|
2115
|
+
updated_at?: string;
|
|
2116
|
+
};
|
|
2117
|
+
Update: {
|
|
2118
|
+
affected_page?: string | null;
|
|
2119
|
+
category?: string;
|
|
2120
|
+
context?: Json | null;
|
|
2121
|
+
created_at?: string;
|
|
2122
|
+
description?: string;
|
|
2123
|
+
evidence?: Json | null;
|
|
2124
|
+
id?: string;
|
|
2125
|
+
organization_id?: string;
|
|
2126
|
+
project_id?: string | null;
|
|
2127
|
+
reported_at?: string;
|
|
2128
|
+
reporter_id?: string | null;
|
|
2129
|
+
resolved_at?: string | null;
|
|
2130
|
+
severity?: string;
|
|
2131
|
+
source?: string;
|
|
2132
|
+
status?: string;
|
|
2133
|
+
task_id?: string | null;
|
|
2134
|
+
title?: string;
|
|
2135
|
+
type?: string;
|
|
2136
|
+
updated_at?: string;
|
|
2137
|
+
};
|
|
2138
|
+
Relationships: [
|
|
2139
|
+
{
|
|
2140
|
+
foreignKeyName: "reported_requests_organization_id_fkey";
|
|
2141
|
+
columns: ["organization_id"];
|
|
2142
|
+
isOneToOne: false;
|
|
2143
|
+
referencedRelation: "organizations";
|
|
2144
|
+
referencedColumns: ["id"];
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
foreignKeyName: "reported_requests_project_id_fkey";
|
|
2148
|
+
columns: ["project_id"];
|
|
2149
|
+
isOneToOne: false;
|
|
2150
|
+
referencedRelation: "prj_projects";
|
|
2151
|
+
referencedColumns: ["id"];
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
foreignKeyName: "reported_requests_task_id_fkey";
|
|
2155
|
+
columns: ["task_id"];
|
|
2156
|
+
isOneToOne: false;
|
|
2157
|
+
referencedRelation: "prj_tasks";
|
|
2158
|
+
referencedColumns: ["id"];
|
|
2159
|
+
}
|
|
2160
|
+
];
|
|
2161
|
+
};
|
|
2074
2162
|
session_messages: {
|
|
2075
2163
|
Row: {
|
|
2076
2164
|
created_at: string | null;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-
|
|
1
|
+
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-T7R5P5JJ.js';
|
|
2
2
|
import '../../chunk-PDHTXPSF.js';
|
|
3
3
|
import '../../chunk-GBMNCNHX.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-M25JL54Z.js';
|
|
5
|
+
import '../../chunk-6RWMRQN5.js';
|
|
6
6
|
import '../../chunk-7M2VOCYN.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-FT27I4S7.js';
|
|
8
8
|
import '../../chunk-LXHZYSMQ.js';
|
|
9
9
|
import '../../chunk-BRXELOHC.js';
|
|
10
10
|
import '../../chunk-22UVE3RA.js';
|
|
11
11
|
import '../../chunk-3ZMAGTWF.js';
|
|
12
12
|
import '../../chunk-DKQQK3WX.js';
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-5IBTTMWX.js';
|
|
14
|
+
import '../../chunk-R73EHHPN.js';
|
|
15
|
+
import '../../chunk-WLOQ4IBG.js';
|
|
16
16
|
import '../../chunk-C7BX547M.js';
|
|
17
17
|
import '../../chunk-RX4UWZZR.js';
|
|
18
18
|
import '../../chunk-SQQGLGHW.js';
|
|
19
19
|
import '../../chunk-3KMDHCAR.js';
|
|
20
20
|
import '../../chunk-NYBEU5TE.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-ZB5GAV7J.js';
|
|
22
22
|
import '../../chunk-SZHARWKU.js';
|
|
23
23
|
import '../../chunk-NVOCKXUQ.js';
|
|
24
24
|
import '../../chunk-2IFYDILW.js';
|
|
25
25
|
import '../../chunk-ELJIFLCB.js';
|
|
26
26
|
import '../../chunk-L4XXM55J.js';
|
|
27
|
-
import '../../chunk-
|
|
27
|
+
import '../../chunk-FL67C3WY.js';
|
|
28
28
|
import '../../chunk-QJ2KCHKX.js';
|
|
29
29
|
import '../../chunk-DT3QYZVU.js';
|
|
30
30
|
import '../../chunk-SLVC5OJ2.js';
|