@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.
- package/dist/{chunk-POFDRPDI.js → chunk-4PHPENKX.js} +3044 -1753
- package/dist/chunk-7M2VOCYN.js +1 -0
- package/dist/{chunk-PEDPD3PU.js → chunk-7PDDPNQS.js} +1 -1
- package/dist/{chunk-YIWLA2B6.js → chunk-C2OFFC7J.js} +0 -1
- package/dist/{chunk-ZB5PKIX5.js → chunk-CTWYIRKW.js} +1 -2
- package/dist/{chunk-FH5QGCXL.js → chunk-F5QSLYUB.js} +180 -7
- package/dist/{chunk-CC4WGHGG.js → chunk-KGEYEUR5.js} +1 -3
- package/dist/{chunk-MU5EZV3L.js → chunk-MGEC63TE.js} +5 -6
- package/dist/{chunk-SMJLS23U.js → chunk-NYMKWGKN.js} +18 -1
- package/dist/{chunk-X4BLH3JL.js → chunk-OFT2QK6B.js} +6 -7
- package/dist/{chunk-O4PMRC6J.js → chunk-OPT74SGF.js} +118 -111
- package/dist/{chunk-6RGNVHG3.js → chunk-UX3Q4YYN.js} +21 -13
- package/dist/{chunk-4GZ6VZWO.js → chunk-YCHZ4U5V.js} +10 -2
- package/dist/{chunk-PHRDZFJT.js → chunk-ZZ35VSNF.js} +1 -3
- package/dist/components/index.d.ts +134 -68
- package/dist/components/index.js +34 -25
- package/dist/features/auth/index.d.ts +3 -3
- package/dist/features/auth/index.js +9 -2
- package/dist/features/crm/index.d.ts +61 -5
- package/dist/features/crm/index.js +5 -5
- package/dist/features/dashboard/index.js +5 -5
- package/dist/features/delivery/index.d.ts +64 -4
- package/dist/features/delivery/index.js +5 -5
- package/dist/features/lead-gen/index.d.ts +61 -5
- package/dist/features/lead-gen/index.js +8 -8
- package/dist/features/monitoring/index.d.ts +20 -1
- package/dist/features/monitoring/index.js +6 -6
- package/dist/features/operations/index.d.ts +20 -1
- package/dist/features/operations/index.js +7 -7
- package/dist/features/seo/index.d.ts +20 -1
- package/dist/features/seo/index.js +1 -1
- package/dist/features/settings/index.d.ts +22 -2
- package/dist/features/settings/index.js +5 -5
- package/dist/hooks/index.d.ts +7735 -7719
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/published.d.ts +3495 -48
- package/dist/hooks/published.js +3 -3
- package/dist/index.d.ts +1188 -989
- package/dist/index.js +4 -4
- package/dist/initialization/index.d.ts +2 -1
- package/dist/layout/index.d.ts +60 -2
- package/dist/layout/index.js +1 -1
- package/dist/organization/index.d.ts +2 -1
- package/dist/provider/index.d.ts +203 -20
- package/dist/provider/index.js +2 -2
- package/dist/provider/published.d.ts +194 -19
- package/dist/provider/published.js +1 -1
- package/dist/types/index.d.ts +2 -1
- package/package.json +58 -86
- package/dist/chunk-DQJM7T2N.js +0 -1303
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-KFICYU6S.js';
|
|
2
|
-
import { useResourcesHealth } from './chunk-
|
|
2
|
+
import { useResourcesHealth } from './chunk-4PHPENKX.js';
|
|
3
3
|
import { getTimeRangeDates, formatBucketTime } from './chunk-LXHZYSMQ.js';
|
|
4
4
|
import { CardHeader, EmptyState } from './chunk-Y3D3WFJG.js';
|
|
5
5
|
import { Paper, Center, Loader, Group } from '@mantine/core';
|
|
@@ -2,8 +2,7 @@ import { ResourceHealthChart } from './chunk-LGKLC5MG.js';
|
|
|
2
2
|
import { useCyberColors, HeroStatsRow } from './chunk-KFICYU6S.js';
|
|
3
3
|
import { AppShellCenteredContainer, AppShellLoader } from './chunk-YEX4MQSY.js';
|
|
4
4
|
import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-XA34RETF.js';
|
|
5
|
-
import { useTimeRangeDates } from './chunk-
|
|
6
|
-
import { useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-POFDRPDI.js';
|
|
5
|
+
import { useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-4PHPENKX.js';
|
|
7
6
|
import { getTimeRangeDates } from './chunk-LXHZYSMQ.js';
|
|
8
7
|
import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-22UVE3RA.js';
|
|
9
8
|
import { glassBase } from './chunk-47YILFON.js';
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { ChatHeader, ChatSidebar } from './chunk-ROSMICXG.js';
|
|
2
2
|
import { SubshellLoader, CollapsibleSidebarGroup } from './chunk-IDACMRGQ.js';
|
|
3
|
-
import { ResourceHealthPanel } from './chunk-
|
|
3
|
+
import { ResourceHealthPanel } from './chunk-7PDDPNQS.js';
|
|
4
4
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
5
5
|
import { SubshellSidebarSection, SubshellNavItem } from './chunk-27COZ5AH.js';
|
|
6
6
|
import { CustomModal, ConfirmationModal } from './chunk-GBMNCNHX.js';
|
|
7
|
-
import { BaseNode, useGraphTheme, BaseEdge, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphBackground, GraphFitViewButton, GraphFitViewHandler } from './chunk-
|
|
7
|
+
import { BaseNode, useGraphTheme, BaseEdge, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphBackground, GraphFitViewButton, GraphFitViewHandler } from './chunk-CTWYIRKW.js';
|
|
8
8
|
import { useCyberColors, CyberDonut } from './chunk-KFICYU6S.js';
|
|
9
9
|
import { AppShellLoader } from './chunk-YEX4MQSY.js';
|
|
10
10
|
import { getResourceStatusColor, useMergedExecution, useTimelineData, useAgentIterationData, getStatusIcon } from './chunk-XA34RETF.js';
|
|
11
|
-
import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters, useCommandViewDomainFilters } from './chunk-
|
|
12
|
-
import { useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, usePaginationState, useResources, useRecentExecutionsByResource, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStats, useResourceExecutions, useCheckpointTasks, useCalibrationProjects, useCalibrationProject, useAllCalibrationProjects, useCommandViewStore, useCalibrationSSE, useCalibrationRunFull, useExecuteRun, useGradeRun, useCalibrationRuns, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, showApiErrorNotification, showSuccessNotification, calibrationKeys, useDeleteProject, useCreateProject, useBulkDeleteExecutions } from './chunk-POFDRPDI.js';
|
|
11
|
+
import { useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, useStatusFilter, useResourceSearch, useResourcesDomainFilters, usePaginationState, useResources, useRecentExecutionsByResource, filterByDomainFilters, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStats, useResourceExecutions, useCheckpointTasks, useCalibrationProjects, useCalibrationProject, useAllCalibrationProjects, useCommandViewStore, useCommandViewDomainFilters, useCalibrationSSE, useCalibrationRunFull, useExecuteRun, useGradeRun, useCalibrationRuns, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, showApiErrorNotification, showSuccessNotification, calibrationKeys, useDeleteProject, useCreateProject, useBulkDeleteExecutions } from './chunk-4PHPENKX.js';
|
|
13
12
|
import { useGraphHighlighting, calculateGraphHeight, Graph_module_css_default, GRAPH_CONSTANTS } from './chunk-22UVE3RA.js';
|
|
14
|
-
import { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-
|
|
13
|
+
import { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-OPT74SGF.js';
|
|
15
14
|
import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer } from './chunk-RX4UWZZR.js';
|
|
16
15
|
import { JsonViewer, CardHeader, PageTitleCaption, CollapsibleSection, TabCountBadge, ResourceCard, ContextViewer, EmptyState, APIErrorAlert } from './chunk-Y3D3WFJG.js';
|
|
17
16
|
import { StyledMarkdown } from './chunk-3KMDHCAR.js';
|
|
@@ -189,7 +188,7 @@ var OrganizationModelNavigationSchema = z.object({
|
|
|
189
188
|
});
|
|
190
189
|
|
|
191
190
|
// ../core/src/organization-model/schema.ts
|
|
192
|
-
var
|
|
191
|
+
var OrganizationModelSchemaBase = z.object({
|
|
193
192
|
version: z.literal(1).default(1),
|
|
194
193
|
domains: z.array(SemanticDomainSchema).default([]),
|
|
195
194
|
branding: OrganizationModelBrandingSchema,
|
|
@@ -200,6 +199,181 @@ var OrganizationModelSchema = z.object({
|
|
|
200
199
|
delivery: OrganizationModelDeliverySchema,
|
|
201
200
|
resourceMappings: z.array(ResourceMappingSchema).default([])
|
|
202
201
|
});
|
|
202
|
+
function addIssue(ctx, path, message) {
|
|
203
|
+
ctx.addIssue({
|
|
204
|
+
code: z.ZodIssueCode.custom,
|
|
205
|
+
path,
|
|
206
|
+
message
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
function collectIds(items, ctx, collectionPath, label) {
|
|
210
|
+
const itemsById = /* @__PURE__ */ new Map();
|
|
211
|
+
items.forEach((item, index) => {
|
|
212
|
+
if (itemsById.has(item.id)) {
|
|
213
|
+
addIssue(ctx, [...collectionPath, index, "id"], `${label} id "${item.id}" must be unique`);
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
itemsById.set(item.id, item);
|
|
217
|
+
});
|
|
218
|
+
return itemsById;
|
|
219
|
+
}
|
|
220
|
+
var OrganizationModelSchema = OrganizationModelSchemaBase.superRefine((model, ctx) => {
|
|
221
|
+
const domainsById = collectIds(model.domains, ctx, ["domains"], "Domain");
|
|
222
|
+
const surfacesById = collectIds(model.navigation.surfaces, ctx, ["navigation", "surfaces"], "Surface");
|
|
223
|
+
collectIds(model.navigation.groups, ctx, ["navigation", "groups"], "Navigation group");
|
|
224
|
+
collectIds(model.resourceMappings, ctx, ["resourceMappings"], "Resource mapping");
|
|
225
|
+
const resourceMappingsByResourceId = /* @__PURE__ */ new Map();
|
|
226
|
+
model.resourceMappings.forEach((resourceMapping, index) => {
|
|
227
|
+
if (resourceMappingsByResourceId.has(resourceMapping.resourceId)) {
|
|
228
|
+
addIssue(
|
|
229
|
+
ctx,
|
|
230
|
+
["resourceMappings", index, "resourceId"],
|
|
231
|
+
`Resource mapping resourceId "${resourceMapping.resourceId}" must be unique`
|
|
232
|
+
);
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
resourceMappingsByResourceId.set(resourceMapping.resourceId, resourceMapping);
|
|
236
|
+
});
|
|
237
|
+
if (model.navigation.defaultSurfaceId && !surfacesById.has(model.navigation.defaultSurfaceId)) {
|
|
238
|
+
addIssue(
|
|
239
|
+
ctx,
|
|
240
|
+
["navigation", "defaultSurfaceId"],
|
|
241
|
+
`Default surface "${model.navigation.defaultSurfaceId}" must reference a declared navigation surface`
|
|
242
|
+
);
|
|
243
|
+
}
|
|
244
|
+
model.navigation.groups.forEach((group, groupIndex) => {
|
|
245
|
+
group.surfaceIds.forEach((surfaceId, surfaceIndex) => {
|
|
246
|
+
if (!surfacesById.has(surfaceId)) {
|
|
247
|
+
addIssue(
|
|
248
|
+
ctx,
|
|
249
|
+
["navigation", "groups", groupIndex, "surfaceIds", surfaceIndex],
|
|
250
|
+
`Navigation group "${group.id}" references unknown surface "${surfaceId}"`
|
|
251
|
+
);
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
});
|
|
255
|
+
model.domains.forEach((domain, domainIndex) => {
|
|
256
|
+
domain.surfaceIds.forEach((surfaceId, surfaceIndex) => {
|
|
257
|
+
const surface = surfacesById.get(surfaceId);
|
|
258
|
+
if (!surface) {
|
|
259
|
+
addIssue(
|
|
260
|
+
ctx,
|
|
261
|
+
["domains", domainIndex, "surfaceIds", surfaceIndex],
|
|
262
|
+
`Domain "${domain.id}" references unknown surface "${surfaceId}"`
|
|
263
|
+
);
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
if (!surface.domainIds.includes(domain.id)) {
|
|
267
|
+
addIssue(
|
|
268
|
+
ctx,
|
|
269
|
+
["domains", domainIndex, "surfaceIds", surfaceIndex],
|
|
270
|
+
`Domain "${domain.id}" references surface "${surfaceId}" but that surface does not include domain "${domain.id}"`
|
|
271
|
+
);
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
domain.resourceIds.forEach((resourceId, resourceIndex) => {
|
|
275
|
+
const resourceMapping = resourceMappingsByResourceId.get(resourceId);
|
|
276
|
+
if (!resourceMapping) {
|
|
277
|
+
addIssue(
|
|
278
|
+
ctx,
|
|
279
|
+
["domains", domainIndex, "resourceIds", resourceIndex],
|
|
280
|
+
`Domain "${domain.id}" references unknown resource "${resourceId}"`
|
|
281
|
+
);
|
|
282
|
+
return;
|
|
283
|
+
}
|
|
284
|
+
if (!resourceMapping.domainIds.includes(domain.id)) {
|
|
285
|
+
addIssue(
|
|
286
|
+
ctx,
|
|
287
|
+
["domains", domainIndex, "resourceIds", resourceIndex],
|
|
288
|
+
`Domain "${domain.id}" references resource "${resourceId}" but that resource mapping does not include domain "${domain.id}"`
|
|
289
|
+
);
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
});
|
|
293
|
+
model.navigation.surfaces.forEach((surface, surfaceIndex) => {
|
|
294
|
+
if (surface.parentId && !surfacesById.has(surface.parentId)) {
|
|
295
|
+
addIssue(
|
|
296
|
+
ctx,
|
|
297
|
+
["navigation", "surfaces", surfaceIndex, "parentId"],
|
|
298
|
+
`Surface "${surface.id}" references unknown parent surface "${surface.parentId}"`
|
|
299
|
+
);
|
|
300
|
+
}
|
|
301
|
+
surface.domainIds.forEach((domainId, domainIndex) => {
|
|
302
|
+
const domain = domainsById.get(domainId);
|
|
303
|
+
if (!domain) {
|
|
304
|
+
addIssue(
|
|
305
|
+
ctx,
|
|
306
|
+
["navigation", "surfaces", surfaceIndex, "domainIds", domainIndex],
|
|
307
|
+
`Surface "${surface.id}" references unknown domain "${domainId}"`
|
|
308
|
+
);
|
|
309
|
+
return;
|
|
310
|
+
}
|
|
311
|
+
if (!domain.surfaceIds.includes(surface.id)) {
|
|
312
|
+
addIssue(
|
|
313
|
+
ctx,
|
|
314
|
+
["navigation", "surfaces", surfaceIndex, "domainIds", domainIndex],
|
|
315
|
+
`Surface "${surface.id}" references domain "${domainId}" but that domain does not include surface "${surface.id}"`
|
|
316
|
+
);
|
|
317
|
+
}
|
|
318
|
+
});
|
|
319
|
+
surface.resourceIds.forEach((resourceId, resourceIndex) => {
|
|
320
|
+
const resourceMapping = resourceMappingsByResourceId.get(resourceId);
|
|
321
|
+
if (!resourceMapping) {
|
|
322
|
+
addIssue(
|
|
323
|
+
ctx,
|
|
324
|
+
["navigation", "surfaces", surfaceIndex, "resourceIds", resourceIndex],
|
|
325
|
+
`Surface "${surface.id}" references unknown resource "${resourceId}"`
|
|
326
|
+
);
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
329
|
+
if (!resourceMapping.surfaceIds.includes(surface.id)) {
|
|
330
|
+
addIssue(
|
|
331
|
+
ctx,
|
|
332
|
+
["navigation", "surfaces", surfaceIndex, "resourceIds", resourceIndex],
|
|
333
|
+
`Surface "${surface.id}" references resource "${resourceId}" but that resource mapping does not include surface "${surface.id}"`
|
|
334
|
+
);
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
});
|
|
338
|
+
model.resourceMappings.forEach((resourceMapping, resourceIndex) => {
|
|
339
|
+
resourceMapping.domainIds.forEach((domainId, domainIndex) => {
|
|
340
|
+
const domain = domainsById.get(domainId);
|
|
341
|
+
if (!domain) {
|
|
342
|
+
addIssue(
|
|
343
|
+
ctx,
|
|
344
|
+
["resourceMappings", resourceIndex, "domainIds", domainIndex],
|
|
345
|
+
`Resource mapping "${resourceMapping.id}" references unknown domain "${domainId}"`
|
|
346
|
+
);
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
if (!domain.resourceIds.includes(resourceMapping.resourceId)) {
|
|
350
|
+
addIssue(
|
|
351
|
+
ctx,
|
|
352
|
+
["resourceMappings", resourceIndex, "domainIds", domainIndex],
|
|
353
|
+
`Resource mapping "${resourceMapping.id}" references domain "${domainId}" but that domain does not include resource "${resourceMapping.resourceId}"`
|
|
354
|
+
);
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
resourceMapping.surfaceIds.forEach((surfaceId, surfaceIndex) => {
|
|
358
|
+
const surface = surfacesById.get(surfaceId);
|
|
359
|
+
if (!surface) {
|
|
360
|
+
addIssue(
|
|
361
|
+
ctx,
|
|
362
|
+
["resourceMappings", resourceIndex, "surfaceIds", surfaceIndex],
|
|
363
|
+
`Resource mapping "${resourceMapping.id}" references unknown surface "${surfaceId}"`
|
|
364
|
+
);
|
|
365
|
+
return;
|
|
366
|
+
}
|
|
367
|
+
if (!surface.resourceIds.includes(resourceMapping.resourceId)) {
|
|
368
|
+
addIssue(
|
|
369
|
+
ctx,
|
|
370
|
+
["resourceMappings", resourceIndex, "surfaceIds", surfaceIndex],
|
|
371
|
+
`Resource mapping "${resourceMapping.id}" references surface "${surfaceId}" but that surface does not include resource "${resourceMapping.resourceId}"`
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
});
|
|
375
|
+
});
|
|
376
|
+
});
|
|
203
377
|
var OrganizationGraphNodeKindSchema = z.enum([
|
|
204
378
|
"organization",
|
|
205
379
|
"feature",
|
|
@@ -8987,7 +9161,6 @@ function CommandQueueShell({
|
|
|
8987
9161
|
}
|
|
8988
9162
|
var operationsManifest = {
|
|
8989
9163
|
key: "operations",
|
|
8990
|
-
label: "Operations",
|
|
8991
9164
|
accessFeatureKey: "operations",
|
|
8992
9165
|
domainIds: ["operations"],
|
|
8993
9166
|
capabilityIds: ["operations.organization-graph", "operations.command-view"],
|
|
@@ -2,8 +2,7 @@ import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
|
2
2
|
import { CustomModal } from './chunk-GBMNCNHX.js';
|
|
3
3
|
import { AppShellLoader } from './chunk-YEX4MQSY.js';
|
|
4
4
|
import { useAvailablePresets } from './chunk-VNUOQQNY.js';
|
|
5
|
-
import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from './chunk-
|
|
6
|
-
import { useResources, showErrorNotification } from './chunk-POFDRPDI.js';
|
|
5
|
+
import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useResources, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas, showErrorNotification } from './chunk-4PHPENKX.js';
|
|
7
6
|
import { ListSkeleton, EmptyState, PageTitleCaption, CardHeader, APIErrorAlert, StatCard } from './chunk-Y3D3WFJG.js';
|
|
8
7
|
import { formatDateTime, OAUTH_POPUP_CHECK_INTERVAL, OAUTH_FLOW_TIMEOUT } from './chunk-IOKL7BKE.js';
|
|
9
8
|
import { useInitialization } from './chunk-TUXTSEAF.js';
|
|
@@ -2004,7 +2003,6 @@ function OAuthIntegrationsCard({ apiUrl }) {
|
|
|
2004
2003
|
}
|
|
2005
2004
|
var settingsManifest = {
|
|
2006
2005
|
key: "settings",
|
|
2007
|
-
label: "Settings",
|
|
2008
2006
|
accessFeatureKey: "settings",
|
|
2009
2007
|
navEntry: {
|
|
2010
2008
|
label: "Settings",
|
|
@@ -3,14 +3,14 @@ import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
|
3
3
|
import { SubshellSidebarSection, SubshellNavItem } from './chunk-27COZ5AH.js';
|
|
4
4
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
5
5
|
import { CustomModal } from './chunk-GBMNCNHX.js';
|
|
6
|
-
import { useDealTasksDue, useDeals, useCreateDealTask, useDeleteDeal, useTableSort, sortData, usePaginationState, useTableSelection, useDealDetail } from './chunk-
|
|
6
|
+
import { useDealTasksDue, useDeals, useCreateDealTask, useDeleteDeal, useTableSort, sortData, usePaginationState, useTableSelection, useDealDetail } from './chunk-4PHPENKX.js';
|
|
7
7
|
import { SubshellContentContainer } from './chunk-RX4UWZZR.js';
|
|
8
8
|
import { CenteredErrorState, CardHeader, PageTitleCaption, EmptyState, ActivityTimeline } from './chunk-Y3D3WFJG.js';
|
|
9
9
|
import { PAGE_SIZE_DEFAULT, formatTimeAgo } from './chunk-IOKL7BKE.js';
|
|
10
10
|
import { useElevasisServices } from './chunk-QEPXAWE2.js';
|
|
11
11
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
12
12
|
import { Box, Stack, Group, Text, Badge, Center, Loader, UnstyledButton, Button, Modal, Select, TextInput, Textarea, Paper, Alert, SimpleGrid, Table, Checkbox, Pagination, Title, ActionIcon, Tabs, Card, Code, Divider, Anchor } from '@mantine/core';
|
|
13
|
-
import {
|
|
13
|
+
import { IconLayoutGrid, IconColumns, IconFileInvoice, IconAddressBook, IconTrophy, IconClockExclamation, IconUser, IconPlus, IconChecklist, IconAlertCircle, IconHistory, IconSearch, IconTargetArrow, IconAlertTriangle, IconArrowLeft, IconFileText, IconTrash, IconX, IconCheckbox, IconCalendar, IconMail, IconPhone, IconArrowRight, IconNote } from '@tabler/icons-react';
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
import { useState, useMemo, useEffect } from 'react';
|
|
16
16
|
import { useQuery, useQueryClient } from '@tanstack/react-query';
|
|
@@ -275,10 +275,10 @@ var CRM_ITEMS = [
|
|
|
275
275
|
{ label: "Pipeline", to: "/crm/pipeline", icon: IconColumns, exact: false },
|
|
276
276
|
{ label: "Deals", to: "/crm/deals", icon: IconFileInvoice, exact: false }
|
|
277
277
|
];
|
|
278
|
-
var CrmSidebarMiddle = () => {
|
|
278
|
+
var CrmSidebarMiddle = ({ items = CRM_ITEMS } = {}) => {
|
|
279
279
|
const { currentPath, navigate } = useRouterContext();
|
|
280
280
|
return /* @__PURE__ */ jsxs(Stack, { gap: 0, style: { flex: 1, overflowY: "auto" }, children: [
|
|
281
|
-
/* @__PURE__ */ jsx(Stack, { gap: 0, p: "sm", children:
|
|
281
|
+
/* @__PURE__ */ jsx(Stack, { gap: 0, p: "sm", children: items.map((item) => {
|
|
282
282
|
const isActive = item.exact ? currentPath === item.to || currentPath === `${item.to}/` : currentPath.startsWith(item.to);
|
|
283
283
|
return /* @__PURE__ */ jsx(
|
|
284
284
|
SubshellNavItem,
|
|
@@ -693,7 +693,6 @@ function CrmOverview({
|
|
|
693
693
|
}
|
|
694
694
|
var crmManifest = {
|
|
695
695
|
key: "crm",
|
|
696
|
-
label: "CRM",
|
|
697
696
|
accessFeatureKey: "acquisition",
|
|
698
697
|
domainIds: ["crm"],
|
|
699
698
|
capabilityIds: ["crm.pipeline.manage"],
|
|
@@ -1110,4 +1109,4 @@ function DealDetailPage({ dealId, renderActions, onDealLoaded }) {
|
|
|
1110
1109
|
] }) });
|
|
1111
1110
|
}
|
|
1112
1111
|
|
|
1113
|
-
export { ActivityFeedWidget, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, TasksDueWidget, crmManifest, formatDealStageLabel, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity };
|
|
1112
|
+
export { ActivityFeedWidget, CRM_ITEMS, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, TasksDueWidget, crmManifest, formatDealStageLabel, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SubshellNavItem } from './chunk-27COZ5AH.js';
|
|
1
2
|
import { NavigationButton } from './chunk-NYBEU5TE.js';
|
|
2
3
|
import { useAppearance } from './chunk-QJ2KCHKX.js';
|
|
3
4
|
import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding } from './chunk-DT3QYZVU.js';
|
|
@@ -957,6 +958,22 @@ var Sidebar = memo(function Sidebar2({
|
|
|
957
958
|
/* @__PURE__ */ jsx(SidebarBottomSection, { user, onLogout, onAccountClick })
|
|
958
959
|
] });
|
|
959
960
|
});
|
|
961
|
+
var SubshellNavList = ({ items }) => {
|
|
962
|
+
const { currentPath, navigate } = useRouterContext();
|
|
963
|
+
return /* @__PURE__ */ jsx(Fragment, { children: items.map((item) => {
|
|
964
|
+
const isActive = item.exact ? currentPath === item.to || currentPath === `${item.to}/` : currentPath.startsWith(item.to);
|
|
965
|
+
return /* @__PURE__ */ jsx(
|
|
966
|
+
SubshellNavItem,
|
|
967
|
+
{
|
|
968
|
+
icon: item.icon,
|
|
969
|
+
label: item.label,
|
|
970
|
+
isActive,
|
|
971
|
+
onClick: () => navigate(item.to)
|
|
972
|
+
},
|
|
973
|
+
item.to
|
|
974
|
+
);
|
|
975
|
+
}) });
|
|
976
|
+
};
|
|
960
977
|
|
|
961
978
|
// src/components/layout/sub-shell/constants.ts
|
|
962
979
|
var subsidebarWidth = 200;
|
|
@@ -1050,4 +1067,4 @@ var Topbar = ({ version, leftContent, children }) => {
|
|
|
1050
1067
|
] });
|
|
1051
1068
|
};
|
|
1052
1069
|
|
|
1053
|
-
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse };
|
|
1070
|
+
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, SubshellNavList, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ResourceExecuteDialog } from './chunk-
|
|
1
|
+
import { ResourceExecuteDialog } from './chunk-F5QSLYUB.js';
|
|
2
2
|
import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
|
|
3
3
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
4
4
|
import { SubshellSidebarSection, SubshellNavItem } from './chunk-27COZ5AH.js';
|
|
5
5
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
6
6
|
import { CustomModal } from './chunk-GBMNCNHX.js';
|
|
7
|
-
import { showApiErrorNotification, acquisitionListKeys, showSuccessNotification, useListsTelemetry, useLists, useCreateList, useTableSort, sortData, usePaginationState, useTableSelection, useList, useListProgress, useListExecutions, useResourceDefinition, useCompanies, useDeleteCompanies, useContacts, useDeleteContacts } from './chunk-
|
|
7
|
+
import { showApiErrorNotification, acquisitionListKeys, showSuccessNotification, useListsTelemetry, useLists, useCreateList, useTableSort, sortData, usePaginationState, useTableSelection, useList, useListProgress, useListExecutions, useResourceDefinition, useCompanies, useDeleteCompanies, useContacts, useDeleteContacts } from './chunk-4PHPENKX.js';
|
|
8
8
|
import { SubshellContentContainer } from './chunk-RX4UWZZR.js';
|
|
9
9
|
import { PageTitleCaption, CenteredErrorState, StatCard, EmptyState } from './chunk-Y3D3WFJG.js';
|
|
10
10
|
import { useElevasisServices } from './chunk-QEPXAWE2.js';
|
|
11
11
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
12
12
|
import { Stack, Paper, Text, Anchor, Group, Title, ActionIcon, Divider, Box, SimpleGrid, Badge, Card, Button, Center, Loader, Alert, Table, Progress, TextInput, Checkbox, Pagination, Textarea, Select, Code, Modal } from '@mantine/core';
|
|
13
|
-
import {
|
|
13
|
+
import { IconLayoutGrid, IconList, IconBuilding, IconAddressBook, IconMailCheck, IconTarget, IconExternalLink, IconX, IconAlertCircle, IconPlayerPlay, IconArrowRight, IconQuestionMark, IconChecklist, IconPlus, IconSearch, IconSparkles, IconAlertTriangle, IconArrowLeft, IconClockHour4, IconBuildingFactory2, IconUsers } from '@tabler/icons-react';
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
import { Link, useNavigate } from '@tanstack/react-router';
|
|
16
16
|
import { useQueryClient, useMutation } from '@tanstack/react-query';
|
|
@@ -26,9 +26,9 @@ var LEAD_GEN_ITEMS = [
|
|
|
26
26
|
{ label: "Contacts", to: "/lead-gen/contacts", icon: IconAddressBook, exact: false },
|
|
27
27
|
{ label: "Deliverability", to: "/lead-gen/deliverability", icon: IconMailCheck, exact: false }
|
|
28
28
|
];
|
|
29
|
-
var LeadGenSidebarMiddle = () => {
|
|
29
|
+
var LeadGenSidebarMiddle = ({ items = LEAD_GEN_ITEMS } = {}) => {
|
|
30
30
|
const { currentPath, navigate } = useRouterContext();
|
|
31
|
-
return /* @__PURE__ */ jsx(Stack, { gap: 0, style: { flex: 1, overflowY: "auto" }, children: /* @__PURE__ */ jsx(Stack, { gap: 0, p: "sm", children:
|
|
31
|
+
return /* @__PURE__ */ jsx(Stack, { gap: 0, style: { flex: 1, overflowY: "auto" }, children: /* @__PURE__ */ jsx(Stack, { gap: 0, p: "sm", children: items.map((item) => {
|
|
32
32
|
const isActive = item.exact ? currentPath === item.to || currentPath === `${item.to}/` : currentPath.startsWith(item.to);
|
|
33
33
|
return /* @__PURE__ */ jsx(
|
|
34
34
|
SubshellNavItem,
|
|
@@ -50,7 +50,6 @@ var LeadGenSidebar = () => {
|
|
|
50
50
|
};
|
|
51
51
|
var leadGenManifest = {
|
|
52
52
|
key: "lead-gen",
|
|
53
|
-
label: "Lead Gen",
|
|
54
53
|
accessFeatureKey: "acquisition",
|
|
55
54
|
domainIds: ["lead-gen"],
|
|
56
55
|
capabilityIds: ["leadgen.lists.manage"],
|
|
@@ -1841,4 +1840,4 @@ function LeadGenContactsPage() {
|
|
|
1841
1840
|
] }) });
|
|
1842
1841
|
}
|
|
1843
1842
|
|
|
1844
|
-
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 };
|
|
1843
|
+
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 };
|