@elevasis/ui 2.28.1 → 2.30.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/api/index.js +2 -2
- package/dist/app/index.d.ts +54 -0
- package/dist/app/index.js +10 -10
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.d.ts +2 -1
- package/dist/charts/index.js +8 -8
- package/dist/{chunk-HNN3QALL.js → chunk-2DIYILF7.js} +9 -8
- package/dist/{chunk-XTVZFT7U.js → chunk-2Q2JQSQO.js} +1 -1
- package/dist/{chunk-UOHOKDKL.js → chunk-3GV5NHSS.js} +1052 -209
- package/dist/{chunk-PBNIW7KV.js → chunk-3MDNBHVB.js} +140 -9
- package/dist/{chunk-K4Q5QUHZ.js → chunk-4FZYEEPK.js} +6 -6
- package/dist/{chunk-MJMFIWEB.js → chunk-4SY6BTVZ.js} +2 -2
- package/dist/{chunk-HLFFKKT3.js → chunk-4VQ2PXMI.js} +14 -14
- package/dist/{chunk-WKJ47GIW.js → chunk-533DUEQY.js} +1 -1
- package/dist/{chunk-N63RKL3L.js → chunk-6EFVZV6X.js} +394 -311
- package/dist/{chunk-V3HUIZJX.js → chunk-6IXOKUBC.js} +1 -1
- package/dist/{chunk-GJXAAYZ3.js → chunk-6WXDE5LZ.js} +1 -1
- package/dist/{chunk-VKMNWHTL.js → chunk-6YT4IKJ7.js} +3 -3
- package/dist/{chunk-ZPXV5KI3.js → chunk-7E3FUTND.js} +1 -1
- package/dist/{chunk-YNYGUVGW.js → chunk-A7B7HLDF.js} +11 -10
- package/dist/{chunk-NU5FNTOB.js → chunk-AKOD52HS.js} +84 -15
- package/dist/{chunk-CT5IR4ZA.js → chunk-CLUP5H3C.js} +6 -9
- package/dist/{chunk-MYEOTM7D.js → chunk-CN2HC4D4.js} +5 -1
- package/dist/{chunk-ROSMICXG.js → chunk-CXY7FMUM.js} +35 -20
- package/dist/{chunk-HOIT677G.js → chunk-HUJCU55S.js} +1 -1
- package/dist/{chunk-SRNIHB7Y.js → chunk-HXZQWMKE.js} +1 -2
- package/dist/{chunk-M6OJ43NL.js → chunk-HYLERWRO.js} +99 -30
- package/dist/{chunk-XBMCDGHA.js → chunk-IKQ42WHU.js} +1 -1
- package/dist/{chunk-GESXCQWY.js → chunk-JA5ECJJB.js} +1 -1
- package/dist/{chunk-KU7ZDWQ7.js → chunk-JBWJ6WHZ.js} +1 -1
- package/dist/{chunk-MCRKFDKB.js → chunk-JKTPRYGV.js} +5 -5
- package/dist/{chunk-5WWZXCS5.js → chunk-KJ3QUBNU.js} +9 -2
- package/dist/{chunk-3HCTCMAS.js → chunk-LRZFLK2F.js} +3 -3
- package/dist/chunk-NITGGYH2.js +476 -0
- package/dist/{chunk-VMJVQAFZ.js → chunk-OAVTMITG.js} +1 -1
- package/dist/{chunk-TVJROM2V.js → chunk-P5WYW2GI.js} +58 -37
- package/dist/{chunk-5R27NFOI.js → chunk-SBCIB5TZ.js} +6 -27
- package/dist/{chunk-AYSO5A3R.js → chunk-SKXXT3E2.js} +4 -4
- package/dist/{chunk-MZCDRBSI.js → chunk-T2PAD63Y.js} +12 -12
- package/dist/{chunk-LH4GPYDX.js → chunk-T5Z7G2J2.js} +19 -3
- package/dist/{chunk-WFTNY755.js → chunk-VKIZUUPM.js} +1 -1
- package/dist/{chunk-S66IQSSR.js → chunk-WF227UBV.js} +1 -1
- package/dist/components/chat/index.d.ts +2 -1
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.js +42 -42
- package/dist/components/navigation/index.js +8 -8
- package/dist/features/auth/index.js +5 -5
- package/dist/features/crm/index.js +21 -21
- package/dist/features/dashboard/index.js +22 -22
- package/dist/features/delivery/index.js +21 -21
- package/dist/features/knowledge/index.js +45 -31
- package/dist/features/lead-gen/index.d.ts +116 -2
- package/dist/features/lead-gen/index.js +22 -22
- package/dist/features/monitoring/index.js +23 -23
- package/dist/features/monitoring/requests/index.js +20 -20
- package/dist/features/operations/index.js +27 -27
- package/dist/features/settings/index.js +22 -22
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.d.ts +263 -4
- package/dist/hooks/index.js +20 -20
- package/dist/hooks/published.d.ts +263 -4
- package/dist/hooks/published.js +20 -20
- package/dist/index.d.ts +378 -10
- package/dist/index.js +21 -21
- package/dist/initialization/index.js +4 -4
- package/dist/knowledge/index.d.ts +55 -1
- package/dist/knowledge/index.js +102 -2
- package/dist/organization/index.js +4 -4
- package/dist/profile/index.js +2 -2
- package/dist/provider/ElevasisServiceContext.d.ts +11 -5
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.d.ts +119 -5
- package/dist/provider/index.js +17 -17
- package/dist/provider/published.d.ts +119 -5
- package/dist/provider/published.js +13 -13
- package/dist/test-utils/index.d.ts +3 -0
- package/dist/test-utils/index.js +30 -6
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/utils/index.d.ts +1 -3
- package/dist/utils/index.js +1 -1
- package/dist/vite/index.js +2 -2
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-JS7VBTC4.js +0 -250
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SemanticIcon } from './chunk-JCGD4GM6.js';
|
|
2
2
|
import { SubshellSidebarLoader } from './chunk-XQQEKWTL.js';
|
|
3
|
-
import { OrganizationModelProspectingSchema } from './chunk-
|
|
3
|
+
import { OrganizationModelProspectingSchema, CAPABILITY_REGISTRY } from './chunk-NITGGYH2.js';
|
|
4
4
|
import { useCyberColors, CyberDonut } from './chunk-CW3UNAF2.js';
|
|
5
5
|
import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
|
|
6
|
-
import { collectResourceFilterFacets, useCommandViewStore, useCommandViewData, useCommandViewStats, usePaginationState, useResourceExecutions, useCheckpointTasks } from './chunk-
|
|
7
|
-
import { EmptyState, APIErrorAlert } from './chunk-
|
|
8
|
-
import { LabelSchema, ColorTokenSchema, IconNameSchema, PathSchema, DescriptionSchema, DisplayMetadataSchema, ModelIdSchema, ReferenceIdsSchema, OrganizationModelSalesSchema } from './chunk-
|
|
9
|
-
import { useElevasisFeatures } from './chunk-
|
|
10
|
-
import { getNodeId } from './chunk-
|
|
6
|
+
import { collectResourceFilterFacets, useCommandViewStore, useCommandViewData, useCommandViewStats, usePaginationState, useResourceExecutions, useCheckpointTasks } from './chunk-6EFVZV6X.js';
|
|
7
|
+
import { EmptyState, APIErrorAlert } from './chunk-6WXDE5LZ.js';
|
|
8
|
+
import { LabelSchema, ColorTokenSchema, IconNameSchema, PathSchema, DescriptionSchema, DisplayMetadataSchema, ModelIdSchema, ReferenceIdsSchema, OrganizationModelSalesSchema } from './chunk-AKOD52HS.js';
|
|
9
|
+
import { useElevasisFeatures } from './chunk-6IXOKUBC.js';
|
|
10
|
+
import { getNodeId } from './chunk-HXZQWMKE.js';
|
|
11
11
|
import { useRef, useEffect, useMemo } from 'react';
|
|
12
12
|
import { Paper, Stack, Group, Text, Button, Badge, SimpleGrid, Divider, Select, NumberInput, MultiSelect, Switch, Card, Checkbox, UnstyledButton, useMantineTheme, Box, Title, Space, Center, Loader, Pagination, TextInput, SegmentedControl } from '@mantine/core';
|
|
13
13
|
import { IconShare2, IconTopologyStar3, IconRefresh, IconCircleX, IconCircleCheck, IconCircleDashed, IconSitemap, IconExternalLink, IconSearch } from '@tabler/icons-react';
|
|
@@ -587,8 +587,12 @@ var LEGACY_FEATURE_ALIASES = /* @__PURE__ */ new Map([
|
|
|
587
587
|
function hasFeature(featuresById, featureId) {
|
|
588
588
|
return featuresById.has(featureId) || featuresById.has(LEGACY_FEATURE_ALIASES.get(featureId) ?? "");
|
|
589
589
|
}
|
|
590
|
+
function defaultFeaturePathFor(id) {
|
|
591
|
+
return `/${id.replaceAll(".", "/")}`;
|
|
592
|
+
}
|
|
590
593
|
var OrganizationModelSchema = OrganizationModelSchemaBase.superRefine((model, ctx) => {
|
|
591
594
|
const featuresById = collectIds(model.features, ctx, ["features"], "Feature");
|
|
595
|
+
const featureIdsByEffectivePath = /* @__PURE__ */ new Map();
|
|
592
596
|
model.features.forEach((feature, featureIndex) => {
|
|
593
597
|
const segments = feature.id.split(".");
|
|
594
598
|
if (segments.length > 1) {
|
|
@@ -604,6 +608,20 @@ var OrganizationModelSchema = OrganizationModelSchemaBase.superRefine((model, ct
|
|
|
604
608
|
const hasChildren = model.features.some(
|
|
605
609
|
(candidate) => candidate.id.startsWith(`${feature.id}.`) && candidate.id !== feature.id
|
|
606
610
|
);
|
|
611
|
+
const contributesRoutePath = feature.path !== void 0 || !hasChildren;
|
|
612
|
+
if (contributesRoutePath) {
|
|
613
|
+
const effectivePath = feature.path ?? defaultFeaturePathFor(feature.id);
|
|
614
|
+
const existingFeatureId = featureIdsByEffectivePath.get(effectivePath);
|
|
615
|
+
if (existingFeatureId !== void 0) {
|
|
616
|
+
addIssue(
|
|
617
|
+
ctx,
|
|
618
|
+
["features", featureIndex, feature.path === void 0 ? "id" : "path"],
|
|
619
|
+
`Feature "${feature.id}" effective path "${effectivePath}" duplicates feature "${existingFeatureId}"`
|
|
620
|
+
);
|
|
621
|
+
} else {
|
|
622
|
+
featureIdsByEffectivePath.set(effectivePath, feature.id);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
607
625
|
if (hasChildren && feature.enabled) {
|
|
608
626
|
const hasEnabledDescendant = model.features.some(
|
|
609
627
|
(candidate) => candidate.id.startsWith(`${feature.id}.`) && candidate.enabled
|
|
@@ -617,6 +635,43 @@ var OrganizationModelSchema = OrganizationModelSchemaBase.superRefine((model, ct
|
|
|
617
635
|
}
|
|
618
636
|
}
|
|
619
637
|
});
|
|
638
|
+
const surfacesById = collectIds(model.navigation.surfaces, ctx, ["navigation", "surfaces"], "Navigation surface");
|
|
639
|
+
if (model.navigation.defaultSurfaceId !== void 0 && !surfacesById.has(model.navigation.defaultSurfaceId)) {
|
|
640
|
+
addIssue(
|
|
641
|
+
ctx,
|
|
642
|
+
["navigation", "defaultSurfaceId"],
|
|
643
|
+
`Navigation defaultSurfaceId references unknown surface "${model.navigation.defaultSurfaceId}"`
|
|
644
|
+
);
|
|
645
|
+
}
|
|
646
|
+
model.navigation.groups.forEach((group, groupIndex) => {
|
|
647
|
+
group.surfaceIds.forEach((surfaceId, surfaceIndex) => {
|
|
648
|
+
if (!surfacesById.has(surfaceId)) {
|
|
649
|
+
addIssue(
|
|
650
|
+
ctx,
|
|
651
|
+
["navigation", "groups", groupIndex, "surfaceIds", surfaceIndex],
|
|
652
|
+
`Navigation group "${group.id}" references unknown surface "${surfaceId}"`
|
|
653
|
+
);
|
|
654
|
+
}
|
|
655
|
+
});
|
|
656
|
+
});
|
|
657
|
+
model.navigation.surfaces.forEach((surface, surfaceIndex) => {
|
|
658
|
+
if (surface.featureId !== void 0 && !hasFeature(featuresById, surface.featureId)) {
|
|
659
|
+
addIssue(
|
|
660
|
+
ctx,
|
|
661
|
+
["navigation", "surfaces", surfaceIndex, "featureId"],
|
|
662
|
+
`Navigation surface "${surface.id}" references unknown feature "${surface.featureId}"`
|
|
663
|
+
);
|
|
664
|
+
}
|
|
665
|
+
surface.featureIds.forEach((featureId, featureIndex) => {
|
|
666
|
+
if (!hasFeature(featuresById, featureId)) {
|
|
667
|
+
addIssue(
|
|
668
|
+
ctx,
|
|
669
|
+
["navigation", "surfaces", surfaceIndex, "featureIds", featureIndex],
|
|
670
|
+
`Navigation surface "${surface.id}" references unknown feature "${featureId}"`
|
|
671
|
+
);
|
|
672
|
+
}
|
|
673
|
+
});
|
|
674
|
+
});
|
|
620
675
|
const segmentsById = new Map(model.customers.segments.map((seg) => [seg.id, seg]));
|
|
621
676
|
model.offerings.products.forEach((product, productIndex) => {
|
|
622
677
|
product.targetSegmentIds.forEach((segmentId, segmentIndex) => {
|
|
@@ -664,6 +719,7 @@ var OrganizationGraphNodeKindSchema = z.enum([
|
|
|
664
719
|
"surface",
|
|
665
720
|
"entity",
|
|
666
721
|
"capability",
|
|
722
|
+
"stage",
|
|
667
723
|
"resource",
|
|
668
724
|
"knowledge"
|
|
669
725
|
]);
|
|
@@ -845,6 +901,75 @@ function buildOrganizationGraph(input) {
|
|
|
845
901
|
});
|
|
846
902
|
}
|
|
847
903
|
}
|
|
904
|
+
const allStages = [
|
|
905
|
+
...organizationModel.prospecting.companyStages,
|
|
906
|
+
...organizationModel.prospecting.contactStages
|
|
907
|
+
].sort((a, b) => a.order - b.order || a.id.localeCompare(b.id));
|
|
908
|
+
for (const stage of allStages) {
|
|
909
|
+
const id = nodeId("stage", stage.id);
|
|
910
|
+
pushUniqueNode(nodes, nodeIds, {
|
|
911
|
+
id,
|
|
912
|
+
kind: "stage",
|
|
913
|
+
label: stage.label,
|
|
914
|
+
sourceId: stage.id,
|
|
915
|
+
...stage.description ? { description: stage.description } : {},
|
|
916
|
+
...stage.icon ? { icon: stage.icon } : {}
|
|
917
|
+
});
|
|
918
|
+
pushUniqueEdge(edges, edgeIds, {
|
|
919
|
+
id: edgeId("contains", organizationNode.id, id),
|
|
920
|
+
kind: "contains",
|
|
921
|
+
sourceId: organizationNode.id,
|
|
922
|
+
targetId: id
|
|
923
|
+
});
|
|
924
|
+
}
|
|
925
|
+
for (const cap of [...CAPABILITY_REGISTRY].sort((a, b) => a.id.localeCompare(b.id))) {
|
|
926
|
+
const id = nodeId("capability", cap.id);
|
|
927
|
+
pushUniqueNode(nodes, nodeIds, {
|
|
928
|
+
id,
|
|
929
|
+
kind: "capability",
|
|
930
|
+
label: cap.label,
|
|
931
|
+
sourceId: cap.id,
|
|
932
|
+
description: cap.description
|
|
933
|
+
});
|
|
934
|
+
pushUniqueEdge(edges, edgeIds, {
|
|
935
|
+
id: edgeId("contains", organizationNode.id, id),
|
|
936
|
+
kind: "contains",
|
|
937
|
+
sourceId: organizationNode.id,
|
|
938
|
+
targetId: id
|
|
939
|
+
});
|
|
940
|
+
const resourceNode = ensureResourceNode(nodes, nodeIds, resourceNodesById, cap.resourceId);
|
|
941
|
+
pushUniqueEdge(edges, edgeIds, {
|
|
942
|
+
id: edgeId("maps_to", id, resourceNode.id),
|
|
943
|
+
kind: "maps_to",
|
|
944
|
+
sourceId: id,
|
|
945
|
+
targetId: resourceNode.id
|
|
946
|
+
});
|
|
947
|
+
}
|
|
948
|
+
for (const template of [...organizationModel.prospecting.buildTemplates].sort((a, b) => a.id.localeCompare(b.id))) {
|
|
949
|
+
const stepById = new Map(template.steps.map((s) => [s.id, s]));
|
|
950
|
+
for (const step of [...template.steps].sort((a, b) => a.id.localeCompare(b.id))) {
|
|
951
|
+
const stageNodeId = nodeId("stage", step.stageKey);
|
|
952
|
+
const capNodeId = nodeId("capability", step.capabilityKey);
|
|
953
|
+
pushUniqueEdge(edges, edgeIds, {
|
|
954
|
+
id: edgeId("uses", stageNodeId, capNodeId, step.id),
|
|
955
|
+
kind: "uses",
|
|
956
|
+
sourceId: stageNodeId,
|
|
957
|
+
targetId: capNodeId
|
|
958
|
+
});
|
|
959
|
+
for (const depId of step.dependsOn ?? []) {
|
|
960
|
+
const depStep = stepById.get(depId);
|
|
961
|
+
if (depStep) {
|
|
962
|
+
const depStageNodeId = nodeId("stage", depStep.stageKey);
|
|
963
|
+
pushUniqueEdge(edges, edgeIds, {
|
|
964
|
+
id: edgeId("references", stageNodeId, depStageNodeId, step.id),
|
|
965
|
+
kind: "references",
|
|
966
|
+
sourceId: stageNodeId,
|
|
967
|
+
targetId: depStageNodeId
|
|
968
|
+
});
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
}
|
|
848
973
|
if (commandViewData) {
|
|
849
974
|
const commandViewResources = collectCommandViewResources(commandViewData).sort(
|
|
850
975
|
(a, b) => a.resourceId.localeCompare(b.resourceId)
|
|
@@ -908,6 +1033,7 @@ var NODE_KIND_LABELS = {
|
|
|
908
1033
|
surface: "Surface",
|
|
909
1034
|
entity: "Entity",
|
|
910
1035
|
capability: "Capability",
|
|
1036
|
+
stage: "Stage",
|
|
911
1037
|
resource: "Resource",
|
|
912
1038
|
knowledge: "Knowledge"
|
|
913
1039
|
};
|
|
@@ -917,6 +1043,7 @@ var NODE_KIND_MEANINGS = {
|
|
|
917
1043
|
surface: "A user-facing or operational surface that exposes feature behavior in the model.",
|
|
918
1044
|
entity: "A shared business concept that can be referenced by surfaces, resources, or capabilities.",
|
|
919
1045
|
capability: "A reusable capability that can be attached to a feature or surface.",
|
|
1046
|
+
stage: "A lifecycle stage that records progress for an entity through a build pipeline.",
|
|
920
1047
|
resource: "A concrete command-view or mapped resource that bridges execution topology into the model.",
|
|
921
1048
|
knowledge: "An operational knowledge node that documents a process, strategy, or runbook in the org model."
|
|
922
1049
|
};
|
|
@@ -1576,6 +1703,7 @@ var ORGANIZATION_GRAPH_NODE_KIND_ORDER = [
|
|
|
1576
1703
|
"surface",
|
|
1577
1704
|
"entity",
|
|
1578
1705
|
"capability",
|
|
1706
|
+
"stage",
|
|
1579
1707
|
"resource",
|
|
1580
1708
|
"knowledge"
|
|
1581
1709
|
];
|
|
@@ -1585,6 +1713,7 @@ var ORGANIZATION_GRAPH_NODE_KIND_LABELS = {
|
|
|
1585
1713
|
surface: "Surface",
|
|
1586
1714
|
entity: "Entity",
|
|
1587
1715
|
capability: "Capability",
|
|
1716
|
+
stage: "Stage",
|
|
1588
1717
|
resource: "Resource",
|
|
1589
1718
|
knowledge: "Knowledge"
|
|
1590
1719
|
};
|
|
@@ -2480,15 +2609,17 @@ var NODE_KIND_ORDER = {
|
|
|
2480
2609
|
feature: 1,
|
|
2481
2610
|
surface: 2,
|
|
2482
2611
|
capability: 3,
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2612
|
+
stage: 4,
|
|
2613
|
+
entity: 5,
|
|
2614
|
+
resource: 6,
|
|
2615
|
+
knowledge: 7
|
|
2486
2616
|
};
|
|
2487
2617
|
var NODE_KIND_LABEL = {
|
|
2488
2618
|
organization: "Organization",
|
|
2489
2619
|
feature: "Feature",
|
|
2490
2620
|
surface: "Surface",
|
|
2491
2621
|
capability: "Capability",
|
|
2622
|
+
stage: "Stage",
|
|
2492
2623
|
entity: "Entity",
|
|
2493
2624
|
resource: "Resource",
|
|
2494
2625
|
knowledge: "Knowledge"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ZodFormRenderer } from './chunk-3MEXPLWT.js';
|
|
2
2
|
import { ResourceHealthChart } from './chunk-LGKLC5MG.js';
|
|
3
|
-
import { HeroStatsRow } from './chunk-
|
|
3
|
+
import { HeroStatsRow } from './chunk-2DIYILF7.js';
|
|
4
4
|
import { useCyberColors } from './chunk-CW3UNAF2.js';
|
|
5
5
|
import { AppShellCenteredContainer, AppShellLoader } from './chunk-RYTEQBAO.js';
|
|
6
6
|
import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-22UVE3RA.js';
|
|
7
7
|
import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-E4WQGJNS.js';
|
|
8
|
-
import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-
|
|
9
|
-
import { glassBase } from './chunk-
|
|
10
|
-
import { GlowDot, CardHeader, EmptyState, PageTitleCaption, TabCountBadge } from './chunk-
|
|
11
|
-
import { formatTimeAgo, getTimeRangeDates, formatRelativeTime } from './chunk-
|
|
8
|
+
import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-6EFVZV6X.js';
|
|
9
|
+
import { glassBase } from './chunk-T5Z7G2J2.js';
|
|
10
|
+
import { GlowDot, CardHeader, EmptyState, PageTitleCaption, TabCountBadge } from './chunk-6WXDE5LZ.js';
|
|
11
|
+
import { formatTimeAgo, getTimeRangeDates, formatRelativeTime } from './chunk-HXZQWMKE.js';
|
|
12
12
|
import { ResourceStatusColors } from './chunk-KRWALB24.js';
|
|
13
|
-
import { useInitialization } from './chunk-
|
|
13
|
+
import { useInitialization } from './chunk-533DUEQY.js';
|
|
14
14
|
import { memo, useMemo, useEffect, useState, useCallback, Fragment } from 'react';
|
|
15
15
|
import { Paper, Stack, Text, Group, Badge, Box, useComputedColorScheme, Card, ActionIcon, Loader, SegmentedControl, Button, Modal, Center, SimpleGrid, Title, Tabs, Grid, ThemeIcon } from '@mantine/core';
|
|
16
16
|
import { jsxs, jsx, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FeatureUnavailableState } from './chunk-
|
|
2
|
-
import { useElevasisFeatures } from './chunk-
|
|
1
|
+
import { FeatureUnavailableState } from './chunk-6WXDE5LZ.js';
|
|
2
|
+
import { useElevasisFeatures } from './chunk-6IXOKUBC.js';
|
|
3
3
|
import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer } from './chunk-TKAYX2SP.js';
|
|
4
4
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
5
5
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
@@ -127,7 +127,7 @@ var defaultPreset = {
|
|
|
127
127
|
background: "#040404",
|
|
128
128
|
surface: "rgba(16, 16, 18, 0.52)",
|
|
129
129
|
surfaceHover: "rgba(24, 24, 26, 0.56)",
|
|
130
|
-
elevatedSurface: "rgba(22, 22, 24, 0.
|
|
130
|
+
elevatedSurface: "rgba(22, 22, 24, 0.8)",
|
|
131
131
|
text: "#ffffff",
|
|
132
132
|
textDimmed: "#c1c2c5",
|
|
133
133
|
textSubtle: "#ABABAB",
|
|
@@ -188,7 +188,7 @@ var tacticalPreset = {
|
|
|
188
188
|
background: "#020203",
|
|
189
189
|
surface: "rgba(18, 19, 21, 0.2)",
|
|
190
190
|
surfaceHover: "rgba(32, 33, 36, 0.5)",
|
|
191
|
-
elevatedSurface: "rgba(
|
|
191
|
+
elevatedSurface: "rgba(12, 15, 21, 0.7)",
|
|
192
192
|
text: "#EFF1F4",
|
|
193
193
|
textDimmed: "#B0B8C4",
|
|
194
194
|
textSubtle: "#A5AEC0",
|
|
@@ -327,9 +327,9 @@ var cyberVoltPreset = {
|
|
|
327
327
|
primary: "#00A8BD",
|
|
328
328
|
primaryContrast: "#001418",
|
|
329
329
|
background: "#040607",
|
|
330
|
-
surface: "rgba(0,
|
|
330
|
+
surface: "rgba(0, 65, 85, 0.03)",
|
|
331
331
|
surfaceHover: "rgba(0, 229, 255, 0.06)",
|
|
332
|
-
elevatedSurface: "rgba(
|
|
332
|
+
elevatedSurface: "rgba(10, 18, 24, 0.7)",
|
|
333
333
|
text: "#E0F7FA",
|
|
334
334
|
textDimmed: "#80DEEA",
|
|
335
335
|
textSubtle: "#82BEC8",
|
|
@@ -337,7 +337,7 @@ var cyberVoltPreset = {
|
|
|
337
337
|
error: "#FF1744",
|
|
338
338
|
warning: "#FF9100",
|
|
339
339
|
success: "#00E676",
|
|
340
|
-
glassBackground: "rgba(
|
|
340
|
+
glassBackground: "rgba(14, 23, 29, 0.32)",
|
|
341
341
|
glassBlur: "blur(14px) saturate(180%)",
|
|
342
342
|
shadow: "0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3), 0 16px 36px -14px rgba(0, 0, 0, 0.4)",
|
|
343
343
|
cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(0, 229, 255, 0.06), 0 4px 4px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.45), 0 14px 28px -10px rgba(0, 0, 0, 0.45), 0 14px 28px -18px rgba(0, 0, 0, 0.25)",
|
|
@@ -716,7 +716,7 @@ var auroraPreset = {
|
|
|
716
716
|
background: "#080E0D",
|
|
717
717
|
surface: "rgba(18, 28, 24, 0)",
|
|
718
718
|
surfaceHover: "rgba(0, 168, 138, 0.10)",
|
|
719
|
-
elevatedSurface: "rgba(19, 26, 24, 0.
|
|
719
|
+
elevatedSurface: "rgba(19, 26, 24, 0.7)",
|
|
720
720
|
text: "#E0F2F1",
|
|
721
721
|
textDimmed: "#8ED4CC",
|
|
722
722
|
textSubtle: "#78C0B8",
|
|
@@ -1243,7 +1243,7 @@ var cyberStrikePreset = {
|
|
|
1243
1243
|
primary: "#D41840",
|
|
1244
1244
|
primaryContrast: "#ffffff",
|
|
1245
1245
|
background: "#060303",
|
|
1246
|
-
surface: "rgba(
|
|
1246
|
+
surface: "rgba(85, 20, 30, 0.06)",
|
|
1247
1247
|
surfaceHover: "rgba(212, 24, 64, 0.06)",
|
|
1248
1248
|
elevatedSurface: "rgba(16, 12, 12, 0.82)",
|
|
1249
1249
|
text: "#FAE0E4",
|
|
@@ -1253,7 +1253,7 @@ var cyberStrikePreset = {
|
|
|
1253
1253
|
error: "#D41840",
|
|
1254
1254
|
warning: "#FF9100",
|
|
1255
1255
|
success: "#00E676",
|
|
1256
|
-
glassBackground: "rgba(
|
|
1256
|
+
glassBackground: "rgba(21, 19, 19, 0.36)",
|
|
1257
1257
|
glassBlur: "blur(16px) saturate(190%)",
|
|
1258
1258
|
shadow: "0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 24px -8px rgba(0, 0, 0, 0.5), 0 20px 48px -16px rgba(0, 0, 0, 0.4)",
|
|
1259
1259
|
cardShadow: "inset 0 1px 0 rgba(230, 200, 210, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 4px 6px rgba(0, 0, 0, 0.45), 0 10px 24px -10px rgba(0, 0, 0, .6), 0 20px 20px -16px rgba(0, 0, 0, 0.25)",
|
|
@@ -1328,7 +1328,7 @@ var cyberChromePreset = {
|
|
|
1328
1328
|
error: "#FF1744",
|
|
1329
1329
|
warning: "#FF9100",
|
|
1330
1330
|
success: "#00E676",
|
|
1331
|
-
glassBackground: "rgba(
|
|
1331
|
+
glassBackground: "rgba(22, 26, 32, 0.32)",
|
|
1332
1332
|
glassBlur: "blur(12px) saturate(185%)",
|
|
1333
1333
|
shadow: "0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3), 0 16px 36px -14px rgba(0, 0, 0, 0.4)",
|
|
1334
1334
|
cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(122, 142, 166, 0.04), 0 1px 2px rgba(0, 0, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.45), 0 14px 20px -10px rgba(0, 0, 0, 0.45), 0 24px 28px -18px rgba(0, 0, 0, 0.25)",
|
|
@@ -1398,9 +1398,9 @@ var cyberVoidPreset = {
|
|
|
1398
1398
|
primary: "#2468E0",
|
|
1399
1399
|
primaryContrast: "#ffffff",
|
|
1400
1400
|
background: "#040608",
|
|
1401
|
-
surface: "rgba(30, 55,
|
|
1401
|
+
surface: "rgba(30, 55, 135, 0.04)",
|
|
1402
1402
|
surfaceHover: "rgba(36, 104, 224, 0.08)",
|
|
1403
|
-
elevatedSurface: "rgba(16, 19,
|
|
1403
|
+
elevatedSurface: "rgba(16, 19, 26, 0.7)",
|
|
1404
1404
|
text: "#E0EAFA",
|
|
1405
1405
|
textDimmed: "#99BBEE",
|
|
1406
1406
|
textSubtle: "#98B8D4",
|
|
@@ -1408,7 +1408,7 @@ var cyberVoidPreset = {
|
|
|
1408
1408
|
error: "#FF1744",
|
|
1409
1409
|
warning: "#FF9100",
|
|
1410
1410
|
success: "#00E676",
|
|
1411
|
-
glassBackground: "rgba(19, 21,
|
|
1411
|
+
glassBackground: "rgba(19, 21, 25, 0.34)",
|
|
1412
1412
|
glassBlur: "blur(14px) saturate(180%)",
|
|
1413
1413
|
shadow: "0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3), 0 16px 36px -14px rgba(0, 0, 0, 0.4)",
|
|
1414
1414
|
cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(36, 104, 224, 0.06), 0 4px 4px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.45), 0 14px 28px -10px rgba(0, 0, 0, 0.5), 0 24px 20px -16px rgba(0, 0, 0, 0.2)",
|
|
@@ -1546,7 +1546,7 @@ var wavePreset = {
|
|
|
1546
1546
|
background: "#030507",
|
|
1547
1547
|
surface: "rgba(19, 23, 33, 0)",
|
|
1548
1548
|
surfaceHover: "rgba(74, 144, 232, 0.10)",
|
|
1549
|
-
elevatedSurface: "rgba(16, 19, 22, 0.
|
|
1549
|
+
elevatedSurface: "rgba(16, 19, 22, 0.7)",
|
|
1550
1550
|
text: "#f1f5f9",
|
|
1551
1551
|
textDimmed: "#cbd5e1",
|
|
1552
1552
|
textSubtle: "#a0aec2",
|
|
@@ -1869,7 +1869,7 @@ var synapsePreset = {
|
|
|
1869
1869
|
background: "#333333",
|
|
1870
1870
|
surface: "rgba(10, 16, 20, 0)",
|
|
1871
1871
|
surfaceHover: "rgba(34, 211, 238, 0.06)",
|
|
1872
|
-
elevatedSurface: "rgba(
|
|
1872
|
+
elevatedSurface: "rgba(13, 25, 30, 0.78)",
|
|
1873
1873
|
text: "#ECFEFF",
|
|
1874
1874
|
textDimmed: "#A5F3FC",
|
|
1875
1875
|
textSubtle: "#84B8C5",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
2
|
-
import { useProfile } from './chunk-
|
|
2
|
+
import { useProfile } from './chunk-2Q2JQSQO.js';
|
|
3
3
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
4
4
|
import { createContext, useContext, useMemo, useCallback, createElement } from 'react';
|
|
5
5
|
|