@elevasis/ui 2.18.0 → 2.20.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/{CoreAuthKitInner-I32JCNE7.js → CoreAuthKitInner-QC62UHTZ.js} +1 -0
- package/dist/api/index.js +3 -2
- package/dist/app/index.js +6 -5
- package/dist/auth/context.js +1 -0
- package/dist/auth/index.js +1 -0
- package/dist/charts/index.js +4 -3
- package/dist/{chunk-LT33DSMO.js → chunk-2CFOFSSG.js} +4 -4
- package/dist/chunk-3JCMO7SD.js +14 -0
- package/dist/chunk-7XKCG5CT.js +125 -0
- package/dist/{chunk-SQPM2QDH.js → chunk-BHR7IV72.js} +3 -2
- package/dist/{chunk-DDZMBNTY.js → chunk-CTTY6FUT.js} +2 -2
- package/dist/chunk-DRQPEMJI.js +42 -0
- package/dist/{chunk-EY322HXF.js → chunk-FMFX4K6E.js} +19 -6
- package/dist/{chunk-UA36WILN.js → chunk-GP3AFJYG.js} +145 -211
- package/dist/{chunk-P6TC4K7I.js → chunk-GTYUP7MB.js} +4 -4
- package/dist/chunk-HJ4CJIWN.js +38 -0
- package/dist/chunk-I2KLQ2HA.js +19 -0
- package/dist/{chunk-B6FIIEFO.js → chunk-JR5WNTLA.js} +128 -117
- package/dist/{chunk-A2AZY5SF.js → chunk-LR5CRY5A.js} +1 -1
- package/dist/{chunk-GRGRBWIO.js → chunk-M7W7CGPL.js} +1 -1
- package/dist/{chunk-SS2UVUSG.js → chunk-MZFJWCPH.js} +73 -121
- package/dist/{chunk-P3TFNFZS.js → chunk-OUYH2SBS.js} +3 -3
- package/dist/{chunk-66VY5EMV.js → chunk-PJVG3ISO.js} +5 -5
- package/dist/{chunk-I3LQGLUC.js → chunk-Q4QJOSVS.js} +1 -1
- package/dist/{chunk-R73EHHPN.js → chunk-Q5HC6ENG.js} +18 -2
- package/dist/{chunk-VDM6DQES.js → chunk-R7OJCNL3.js} +1 -1
- package/dist/{chunk-6RWMRQN5.js → chunk-TIIPYB2Z.js} +1 -1
- package/dist/{chunk-34NQLV2W.js → chunk-TO7QXDBX.js} +3 -3
- package/dist/{chunk-WP3IYOVJ.js → chunk-YP6T426C.js} +107 -56
- package/dist/{chunk-FM6LSZ45.js → chunk-ZE2KQSHL.js} +4 -4
- package/dist/components/chat/index.js +1 -0
- package/dist/components/index.d.ts +218 -2808
- package/dist/components/index.js +26 -25
- package/dist/components/navigation/index.js +1 -0
- package/dist/execution/index.js +1 -0
- package/dist/features/auth/index.js +1 -0
- package/dist/features/crm/index.d.ts +54 -53
- package/dist/features/crm/index.js +12 -11
- package/dist/features/dashboard/index.js +13 -12
- package/dist/features/delivery/index.d.ts +2642 -2605
- package/dist/features/delivery/index.js +12 -11
- package/dist/features/lead-gen/index.js +12 -22
- package/dist/features/monitoring/index.js +14 -13
- package/dist/features/monitoring/requests/index.d.ts +38 -27
- package/dist/features/monitoring/requests/index.js +213 -106
- package/dist/features/operations/index.d.ts +8 -26
- package/dist/features/operations/index.js +16 -15
- package/dist/features/seo/index.js +1 -0
- package/dist/features/settings/index.d.ts +36 -37
- package/dist/features/settings/index.js +13 -12
- package/dist/graph/index.js +1 -0
- package/dist/hooks/delivery/index.d.ts +2712 -2699
- package/dist/hooks/delivery/index.js +3 -2
- package/dist/hooks/index.d.ts +1674 -4617
- package/dist/hooks/index.js +11 -10
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -0
- package/dist/hooks/published.d.ts +1674 -4617
- package/dist/hooks/published.js +11 -10
- package/dist/index.d.ts +773 -3635
- package/dist/index.js +12 -11
- package/dist/initialization/index.js +1 -0
- package/dist/layout/index.d.ts +14 -2
- package/dist/layout/index.js +2 -1
- package/dist/organization/index.js +1 -0
- package/dist/profile/index.js +1 -0
- package/dist/provider/ElevasisServiceContext.js +1 -0
- package/dist/provider/index.d.ts +320 -249
- package/dist/provider/index.js +9 -8
- package/dist/provider/published.d.ts +320 -249
- package/dist/provider/published.js +6 -5
- package/dist/router/context.js +1 -0
- package/dist/router/index.js +1 -0
- package/dist/sse/index.d.ts +1 -6
- package/dist/sse/index.js +1 -1
- package/dist/supabase/index.js +1 -0
- package/dist/test-utils/index.d.ts +117 -0
- package/dist/test-utils/index.js +136 -0
- package/dist/test-utils/setup-integration.d.ts +2 -0
- package/dist/test-utils/setup-integration.js +26 -0
- package/dist/test-utils/setup.d.ts +2 -0
- package/dist/test-utils/setup.js +47 -0
- package/dist/theme/index.js +3 -2
- package/dist/typeform/index.js +1 -0
- package/dist/typeform/schemas.js +1 -0
- package/dist/types/index.d.ts +1604 -2489
- package/dist/utils/index.d.ts +32 -1
- package/dist/utils/index.js +2 -1
- package/dist/zustand/index.d.ts +4 -8
- package/dist/zustand/index.js +2 -0
- package/package.json +33 -5
- package/src/test-utils/README.md +5 -0
- package/dist/chunk-ADSSLKKP.js +0 -10
- /package/dist/{chunk-GCBWGGI6.js → chunk-OD7GWIZS.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { AppShellLoader } from './chunk-M25JL54Z.js';
|
|
2
2
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
3
3
|
import { CustomModal } from './chunk-GBMNCNHX.js';
|
|
4
|
-
import { useAvailablePresets } from './chunk-
|
|
5
|
-
import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useResources, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from './chunk-
|
|
6
|
-
import { showErrorNotification } from './chunk-
|
|
7
|
-
import { ListSkeleton, EmptyState, PageTitleCaption, CardHeader, APIErrorAlert, StatCard } from './chunk-
|
|
8
|
-
import { formatDateTime, OAUTH_POPUP_CHECK_INTERVAL, OAUTH_FLOW_TIMEOUT } from './chunk-
|
|
4
|
+
import { useAvailablePresets } from './chunk-TIIPYB2Z.js';
|
|
5
|
+
import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useResources, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from './chunk-FMFX4K6E.js';
|
|
6
|
+
import { showErrorNotification } from './chunk-M7W7CGPL.js';
|
|
7
|
+
import { ListSkeleton, EmptyState, PageTitleCaption, CardHeader, APIErrorAlert, StatCard } from './chunk-BHR7IV72.js';
|
|
8
|
+
import { formatDateTime, OAUTH_POPUP_CHECK_INTERVAL, OAUTH_FLOW_TIMEOUT } from './chunk-OD7GWIZS.js';
|
|
9
9
|
import { useInitialization } from './chunk-DK2HVHCY.js';
|
|
10
10
|
import { useElevasisServices } from './chunk-IRW7JMQ4.js';
|
|
11
|
-
import { Table, Group, Text, Tooltip, ActionIcon, Stack, Title, Button, Select, TextInput, Alert, PasswordInput, Anchor, Paper, Card, Switch, Badge, Center, Loader, Box, Code, CopyButton, ThemeIcon,
|
|
12
|
-
import { IconSettings, IconKey, IconCalendar, IconPencil, IconTrash, IconAlertTriangle, IconInfoCircle, IconExclamationMark, IconPlus, IconAlertCircle, IconUsers, IconSearch, IconBuilding, IconWebhook, IconCheck, IconCopy, IconUser, IconMail, IconRefresh, IconPalette,
|
|
11
|
+
import { Table, Group, Text, Tooltip, ActionIcon, Stack, Title, Button, Select, TextInput, Alert, PasswordInput, Anchor, Paper, Card, Switch, Badge, Center, Loader, Box, Code, CopyButton, ThemeIcon, SimpleGrid, UnstyledButton, Divider, Textarea } from '@mantine/core';
|
|
12
|
+
import { IconSettings, IconKey, IconCalendar, IconPencil, IconTrash, IconAlertTriangle, IconInfoCircle, IconExclamationMark, IconPlus, IconAlertCircle, IconUsers, IconSearch, IconBuilding, IconWebhook, IconCheck, IconCopy, IconUser, IconMail, IconRefresh, IconPalette, IconEye, IconSparkles, IconTrendingUp, IconClock, IconPlayerPause, IconPlayerPlay, IconActivity, IconBrandDropbox, IconBrandGoogleDrive, IconPlug, IconEdit, IconUserX, IconUserCheck } from '@tabler/icons-react';
|
|
13
13
|
import { z } from 'zod';
|
|
14
14
|
import { useState, useEffect, useRef, useMemo, useCallback } from 'react';
|
|
15
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -403,7 +403,7 @@ function CredentialSettings({ oauthSection }) {
|
|
|
403
403
|
console.log("Credential created:", result);
|
|
404
404
|
setShowCreateModal(false);
|
|
405
405
|
};
|
|
406
|
-
return /* @__PURE__ */ jsxs(
|
|
406
|
+
return /* @__PURE__ */ jsxs(Stack, { children: [
|
|
407
407
|
/* @__PURE__ */ jsx(
|
|
408
408
|
PageTitleCaption,
|
|
409
409
|
{
|
|
@@ -746,7 +746,7 @@ function AccountSettings({
|
|
|
746
746
|
}
|
|
747
747
|
});
|
|
748
748
|
const { data: memberships = [], isLoading, error } = useUserMemberships(user?.id || "");
|
|
749
|
-
return /* @__PURE__ */ jsxs(
|
|
749
|
+
return /* @__PURE__ */ jsxs(Stack, { children: [
|
|
750
750
|
/* @__PURE__ */ jsx(PageTitleCaption, { title: "Account Settings", caption: "Manage your account and organization memberships" }),
|
|
751
751
|
user && /* @__PURE__ */ jsx(Paper, { withBorder: true, children: /* @__PURE__ */ jsxs(Stack, { gap: "md", children: [
|
|
752
752
|
/* @__PURE__ */ jsxs(Group, { gap: "sm", children: [
|
|
@@ -801,14 +801,7 @@ function AccountSettings({
|
|
|
801
801
|
)
|
|
802
802
|
] })
|
|
803
803
|
] }) }),
|
|
804
|
-
/* @__PURE__ */ jsx(
|
|
805
|
-
OrganizationMembershipsList,
|
|
806
|
-
{
|
|
807
|
-
memberships,
|
|
808
|
-
loading: isLoading,
|
|
809
|
-
error
|
|
810
|
-
}
|
|
811
|
-
),
|
|
804
|
+
/* @__PURE__ */ jsx(OrganizationMembershipsList, { memberships, loading: isLoading, error }),
|
|
812
805
|
error && /* @__PURE__ */ jsxs(Alert, { icon: /* @__PURE__ */ jsx(IconAlertCircle, { size: 16 }), title: "Error", color: "red", children: [
|
|
813
806
|
"Failed to load organization memberships: ",
|
|
814
807
|
error.message
|
|
@@ -864,17 +857,11 @@ function useUpdateThemePreference() {
|
|
|
864
857
|
);
|
|
865
858
|
return { updateTheme };
|
|
866
859
|
}
|
|
867
|
-
var COLOR_SCHEMES = [
|
|
868
|
-
{ value: "light", label: "Light", icon: /* @__PURE__ */ jsx(IconSun, { size: 16 }) },
|
|
869
|
-
{ value: "dark", label: "Dark", icon: /* @__PURE__ */ jsx(IconMoon, { size: 16 }) },
|
|
870
|
-
{ value: "auto", label: "System", icon: /* @__PURE__ */ jsx(IconDeviceDesktop, { size: 16 }) }
|
|
871
|
-
];
|
|
872
860
|
function AppearanceSettings({ initialTheme, onThemeChange }) {
|
|
873
861
|
const preset = useInternalThemeStore((s) => s.preset);
|
|
874
862
|
const colorScheme = useInternalThemeStore((s) => s.colorScheme);
|
|
875
863
|
const setInternalTheme = useInternalThemeStore((s) => s.setTheme);
|
|
876
864
|
const { updateTheme } = useUpdateThemePreference();
|
|
877
|
-
const { setColorScheme: setMantineColorScheme } = useMantineColorScheme();
|
|
878
865
|
const availablePresets = useAvailablePresets();
|
|
879
866
|
const [modalOpen, setModalOpen] = useState(false);
|
|
880
867
|
const hydratedRef = useRef(false);
|
|
@@ -887,103 +874,62 @@ function AppearanceSettings({ initialTheme, onThemeChange }) {
|
|
|
887
874
|
onThemeChange?.({ preset, colorScheme });
|
|
888
875
|
}, [preset, colorScheme]);
|
|
889
876
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
890
|
-
/* @__PURE__ */
|
|
891
|
-
|
|
892
|
-
/* @__PURE__ */
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
icon: /* @__PURE__ */ jsx(IconPalette, { size: 18 }),
|
|
896
|
-
title: "Theme",
|
|
897
|
-
subtitle: "Choose a color palette for the command center"
|
|
898
|
-
}
|
|
899
|
-
),
|
|
900
|
-
/* @__PURE__ */ jsx(Stack, { gap: "md", children: /* @__PURE__ */ jsx(SimpleGrid, { cols: { base: 2, sm: 3, md: 4 }, children: availablePresets.map((p) => {
|
|
901
|
-
const isActive = p.value === preset;
|
|
902
|
-
return /* @__PURE__ */ jsx(
|
|
903
|
-
UnstyledButton,
|
|
877
|
+
/* @__PURE__ */ jsxs(Stack, { children: [
|
|
878
|
+
/* @__PURE__ */ jsx(PageTitleCaption, { title: "Appearance", caption: "Customize how the command center looks" }),
|
|
879
|
+
/* @__PURE__ */ jsxs(Paper, { withBorder: true, children: [
|
|
880
|
+
/* @__PURE__ */ jsx(
|
|
881
|
+
CardHeader,
|
|
904
882
|
{
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
883
|
+
icon: /* @__PURE__ */ jsx(IconPalette, { size: 18 }),
|
|
884
|
+
title: "Theme",
|
|
885
|
+
subtitle: "Choose a color palette for the command center"
|
|
886
|
+
}
|
|
887
|
+
),
|
|
888
|
+
/* @__PURE__ */ jsx(Stack, { gap: "md", children: /* @__PURE__ */ jsx(SimpleGrid, { cols: { base: 2, sm: 3, md: 4 }, children: availablePresets.map((p) => {
|
|
889
|
+
const isActive = p.value === preset;
|
|
890
|
+
return /* @__PURE__ */ jsx(
|
|
891
|
+
UnstyledButton,
|
|
892
|
+
{
|
|
893
|
+
onClick: () => {
|
|
894
|
+
if (!isActive) {
|
|
895
|
+
updateTheme({ preset: p.value, colorScheme });
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
children: /* @__PURE__ */ jsx(
|
|
899
|
+
Card,
|
|
900
|
+
{
|
|
901
|
+
style: {
|
|
902
|
+
cursor: "pointer",
|
|
903
|
+
border: isActive ? "var(--active-border)" : "1px solid var(--color-border)",
|
|
904
|
+
backgroundColor: isActive ? "var(--active-background)" : "var(--color-surface)",
|
|
905
|
+
transition: `all var(--duration-fast) var(--easing)`
|
|
906
|
+
},
|
|
907
|
+
children: /* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
|
|
908
|
+
/* @__PURE__ */ jsxs(Group, { justify: "space-between", align: "center", children: [
|
|
909
|
+
/* @__PURE__ */ jsx(Text, { fw: 600, size: "sm", children: p.label }),
|
|
910
|
+
/* @__PURE__ */ jsx(
|
|
911
|
+
"div",
|
|
912
|
+
{
|
|
913
|
+
style: {
|
|
914
|
+
width: 14,
|
|
915
|
+
height: 14,
|
|
916
|
+
borderRadius: "50%",
|
|
917
|
+
backgroundColor: p.colors[0],
|
|
918
|
+
border: "1px solid var(--color-border)",
|
|
919
|
+
flexShrink: 0
|
|
920
|
+
}
|
|
932
921
|
}
|
|
933
|
-
|
|
934
|
-
)
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
)
|
|
940
|
-
},
|
|
941
|
-
p.value
|
|
942
|
-
);
|
|
943
|
-
}) }) })
|
|
944
|
-
] }),
|
|
945
|
-
/* @__PURE__ */ jsxs(Paper, { withBorder: true, children: [
|
|
946
|
-
/* @__PURE__ */ jsx(
|
|
947
|
-
CardHeader,
|
|
948
|
-
{
|
|
949
|
-
icon: /* @__PURE__ */ jsx(IconSun, { size: 18 }),
|
|
950
|
-
title: "Color Scheme",
|
|
951
|
-
subtitle: "Light, dark, or match your system preference"
|
|
952
|
-
}
|
|
953
|
-
),
|
|
954
|
-
/* @__PURE__ */ jsx(Stack, { gap: "md", children: /* @__PURE__ */ jsx(SimpleGrid, { cols: 3, children: COLOR_SCHEMES.map((s) => {
|
|
955
|
-
const isActive = s.value === colorScheme;
|
|
956
|
-
return /* @__PURE__ */ jsx(
|
|
957
|
-
UnstyledButton,
|
|
958
|
-
{
|
|
959
|
-
onClick: () => {
|
|
960
|
-
if (!isActive) {
|
|
961
|
-
setMantineColorScheme(s.value);
|
|
962
|
-
updateTheme({ preset, colorScheme: s.value });
|
|
963
|
-
}
|
|
922
|
+
)
|
|
923
|
+
] }),
|
|
924
|
+
/* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: p.description })
|
|
925
|
+
] })
|
|
926
|
+
}
|
|
927
|
+
)
|
|
964
928
|
},
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
padding: "md",
|
|
970
|
-
style: {
|
|
971
|
-
cursor: "pointer",
|
|
972
|
-
border: isActive ? "var(--active-border)" : "1px solid var(--color-border)",
|
|
973
|
-
backgroundColor: isActive ? "var(--active-background)" : "var(--color-surface)",
|
|
974
|
-
transition: `all var(--duration-fast) var(--easing)`
|
|
975
|
-
},
|
|
976
|
-
children: /* @__PURE__ */ jsxs(Group, { gap: 6, justify: "center", wrap: "nowrap", children: [
|
|
977
|
-
s.icon,
|
|
978
|
-
/* @__PURE__ */ jsx(Text, { fw: 600, size: "sm", children: s.label }),
|
|
979
|
-
isActive && /* @__PURE__ */ jsx(IconCheck, { size: 14, color: "var(--color-primary)", style: { flexShrink: 0 } })
|
|
980
|
-
] })
|
|
981
|
-
}
|
|
982
|
-
)
|
|
983
|
-
},
|
|
984
|
-
s.value
|
|
985
|
-
);
|
|
986
|
-
}) }) })
|
|
929
|
+
p.value
|
|
930
|
+
);
|
|
931
|
+
}) }) })
|
|
932
|
+
] })
|
|
987
933
|
] }),
|
|
988
934
|
/* @__PURE__ */ jsxs(Paper, { withBorder: true, children: [
|
|
989
935
|
/* @__PURE__ */ jsx(
|
|
@@ -1651,7 +1597,7 @@ function OrgMembersList({ orgId }) {
|
|
|
1651
1597
|
] });
|
|
1652
1598
|
}
|
|
1653
1599
|
function OrganizationSettings({ user, currentMembership, isOrgAdmin }) {
|
|
1654
|
-
return /* @__PURE__ */ jsxs(
|
|
1600
|
+
return /* @__PURE__ */ jsxs(Stack, { children: [
|
|
1655
1601
|
/* @__PURE__ */ jsx(PageTitleCaption, { title: "Organization Settings", caption: "Manage your current organization" }),
|
|
1656
1602
|
currentMembership?.organization && /* @__PURE__ */ jsx(Paper, { withBorder: true, children: /* @__PURE__ */ jsxs(Stack, { gap: "md", children: [
|
|
1657
1603
|
/* @__PURE__ */ jsxs(Group, { gap: "sm", children: [
|
|
@@ -1701,9 +1647,15 @@ function OrganizationSettings({ user, currentMembership, isOrgAdmin }) {
|
|
|
1701
1647
|
] })
|
|
1702
1648
|
] })
|
|
1703
1649
|
] }) }),
|
|
1704
|
-
isOrgAdmin && currentMembership?.organization && /* @__PURE__ */ jsx(Paper, { withBorder: true, children: /* @__PURE__ */ jsxs(Stack, {
|
|
1705
|
-
/* @__PURE__ */ jsx(
|
|
1706
|
-
|
|
1650
|
+
isOrgAdmin && currentMembership?.organization && /* @__PURE__ */ jsx(Paper, { withBorder: true, children: /* @__PURE__ */ jsxs(Stack, { children: [
|
|
1651
|
+
/* @__PURE__ */ jsx(
|
|
1652
|
+
CardHeader,
|
|
1653
|
+
{
|
|
1654
|
+
icon: /* @__PURE__ */ jsx(IconUsers, { size: 18 }),
|
|
1655
|
+
title: "Manage Members",
|
|
1656
|
+
subtitle: "Configure feature access for organization members."
|
|
1657
|
+
}
|
|
1658
|
+
),
|
|
1707
1659
|
/* @__PURE__ */ jsx(OrgMembersList, { orgId: currentMembership.organization.id })
|
|
1708
1660
|
] }) })
|
|
1709
1661
|
] });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ApiClientProvider, useApiClient } from './chunk-
|
|
1
|
+
import { ApiClientProvider, useApiClient } from './chunk-R7OJCNL3.js';
|
|
2
2
|
import { OrganizationProvider } from './chunk-6IA2OMAE.js';
|
|
3
|
-
import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-
|
|
3
|
+
import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-OD7GWIZS.js';
|
|
4
4
|
import { InitializationProvider } from './chunk-DK2HVHCY.js';
|
|
5
5
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
6
6
|
import { ProfileProvider } from './chunk-QHSW4WHM.js';
|
|
@@ -37,7 +37,7 @@ function NotificationProvider({ adapter, children }) {
|
|
|
37
37
|
function useNotificationAdapter() {
|
|
38
38
|
return useContext(NotificationContext);
|
|
39
39
|
}
|
|
40
|
-
var LazyCoreAuthKitInner = lazy(() => import('./CoreAuthKitInner-
|
|
40
|
+
var LazyCoreAuthKitInner = lazy(() => import('./CoreAuthKitInner-QC62UHTZ.js').then((m) => ({ default: m.CoreAuthKitInner })));
|
|
41
41
|
var defaultQueryClient = null;
|
|
42
42
|
function getDefaultQueryClient() {
|
|
43
43
|
if (!defaultQueryClient) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ResourceHealthChart } from './chunk-LGKLC5MG.js';
|
|
2
|
-
import { useCyberColors, HeroStatsRow } from './chunk-
|
|
2
|
+
import { useCyberColors, HeroStatsRow } from './chunk-CTTY6FUT.js';
|
|
3
3
|
import { AppShellCenteredContainer, AppShellLoader } from './chunk-M25JL54Z.js';
|
|
4
4
|
import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-E4WQGJNS.js';
|
|
5
|
-
import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-
|
|
5
|
+
import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-FMFX4K6E.js';
|
|
6
6
|
import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-22UVE3RA.js';
|
|
7
|
-
import { glassBase } from './chunk-
|
|
8
|
-
import { GlowDot, CardHeader, EmptyState, PageTitleCaption, TabCountBadge } from './chunk-
|
|
9
|
-
import { formatTimeAgo, getTimeRangeDates, formatRelativeTime } from './chunk-
|
|
7
|
+
import { glassBase } from './chunk-Q5HC6ENG.js';
|
|
8
|
+
import { GlowDot, CardHeader, EmptyState, PageTitleCaption, TabCountBadge } from './chunk-BHR7IV72.js';
|
|
9
|
+
import { formatTimeAgo, getTimeRangeDates, formatRelativeTime } from './chunk-OD7GWIZS.js';
|
|
10
10
|
import { ResourceStatusColors } from './chunk-KRWALB24.js';
|
|
11
11
|
import { useInitialization } from './chunk-DK2HVHCY.js';
|
|
12
12
|
import { memo, useMemo, useEffect, useState, useCallback, Fragment } from 'react';
|
|
@@ -473,8 +473,11 @@ var STYLE = `
|
|
|
473
473
|
position: absolute;
|
|
474
474
|
width: 200vmax;
|
|
475
475
|
height: 200vmax;
|
|
476
|
-
|
|
477
|
-
|
|
476
|
+
/* Pin rotation center to (50vw, -25vh) so the origin stays at the
|
|
477
|
+
top-center of the viewport across all aspect ratios, matching the
|
|
478
|
+
origin-glow radial gradient at "50% -25%". */
|
|
479
|
+
top: calc(-25vh - 100vmax);
|
|
480
|
+
left: calc(50vw - 100vmax);
|
|
478
481
|
animation: chrome-rotate 180s linear infinite;
|
|
479
482
|
will-change: transform;
|
|
480
483
|
}
|
|
@@ -485,6 +488,10 @@ var STYLE = `
|
|
|
485
488
|
width: var(--chrome-beam-width, 200vmax);
|
|
486
489
|
margin-left: calc(var(--chrome-beam-width, 200vmax) / -2);
|
|
487
490
|
height: var(--chrome-beam-height, 32vmax);
|
|
491
|
+
/* Without this, the beam's vertical center is offset by half its height
|
|
492
|
+
from the wrapper center, so when the wrapper rotates the beam
|
|
493
|
+
convergence point orbits instead of staying pinned. */
|
|
494
|
+
margin-top: calc(var(--chrome-beam-height, 32vmax) / -2);
|
|
488
495
|
filter: blur(55px);
|
|
489
496
|
transform-origin: center;
|
|
490
497
|
opacity: calc(var(--chrome-beam-opacity, 0.1) * var(--chrome-beam-intensity, 1));
|
|
@@ -2617,6 +2624,15 @@ var componentThemes = {
|
|
|
2617
2624
|
padding: "xs"
|
|
2618
2625
|
},
|
|
2619
2626
|
styles: {
|
|
2627
|
+
header: {
|
|
2628
|
+
backgroundColor: "transparent"
|
|
2629
|
+
},
|
|
2630
|
+
title: {
|
|
2631
|
+
fontFamily: "var(--font-sans, var(--mantine-font-family))",
|
|
2632
|
+
fontSize: "var(--mantine-font-size-xl)",
|
|
2633
|
+
fontWeight: 600,
|
|
2634
|
+
color: "var(--color-text)"
|
|
2635
|
+
},
|
|
2620
2636
|
content: {
|
|
2621
2637
|
backgroundColor: "var(--color-elevated, var(--color-background))",
|
|
2622
2638
|
...glassBase
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIClientError } from './chunk-
|
|
1
|
+
import { APIClientError } from './chunk-OD7GWIZS.js';
|
|
2
2
|
import { OrganizationContext } from './chunk-DD3CCMCZ.js';
|
|
3
3
|
import { createContext, useContext, useMemo, useCallback } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-
|
|
1
|
+
import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-Q5HC6ENG.js';
|
|
2
2
|
import { AppBackground } from './chunk-WLOQ4IBG.js';
|
|
3
|
-
import { ElevasisCoreProvider } from './chunk-
|
|
3
|
+
import { ElevasisCoreProvider } from './chunk-OUYH2SBS.js';
|
|
4
4
|
import { ElevasisLoader } from './chunk-SZHARWKU.js';
|
|
5
5
|
import { AppearanceProvider } from './chunk-QJ2KCHKX.js';
|
|
6
|
-
import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-
|
|
6
|
+
import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-OD7GWIZS.js';
|
|
7
7
|
import { useMemo, useEffect } from 'react';
|
|
8
8
|
import { Loader, mergeThemeOverrides, MantineProvider } from '@mantine/core';
|
|
9
9
|
import '@mantine/core/styles.css';
|