@elevasis/ui 2.24.0 → 2.25.1
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.css +11 -0
- package/dist/app/index.d.ts +457 -357
- package/dist/app/index.js +8 -7
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.js +7 -7
- package/dist/{chunk-DDZOHLHB.js → chunk-26HQMR7S.js} +1 -1
- package/dist/{chunk-4NWNS7TX.js → chunk-3AHEHVJ6.js} +3 -3
- package/dist/{chunk-LJWV4TWV.js → chunk-4ZFBVND2.js} +2 -2
- package/dist/{chunk-FUEXGRFR.js → chunk-7LJUTTXU.js} +5 -5
- package/dist/{chunk-KCJ6VATY.js → chunk-AZQY7AJR.js} +13 -24
- package/dist/{chunk-BIWHHWCJ.js → chunk-DWK2QIAK.js} +2 -1
- package/dist/{chunk-ZDKQNQ4X.js → chunk-GESXCQWY.js} +1 -1
- package/dist/{chunk-Z6FAH4XV.js → chunk-HKBEURCV.js} +1 -1
- package/dist/{chunk-HC2KV6BU.js → chunk-HOIT677G.js} +1 -1
- package/dist/chunk-IS53MXE4.js +230 -0
- package/dist/{chunk-MTR6AN2C.js → chunk-IX7LWINC.js} +6 -5
- package/dist/{chunk-AXXTN44Z.js → chunk-IYIZYMIE.js} +2 -2
- package/dist/{chunk-VGNAV3TH.js → chunk-JDQSCEEF.js} +1237 -642
- package/dist/chunk-JMI7L7Y7.js +524 -0
- package/dist/{chunk-TSSKOQBX.js → chunk-KMAXFJPH.js} +2 -2
- package/dist/{chunk-HQ7M6PBW.js → chunk-KU7ZDWQ7.js} +1 -1
- package/dist/{chunk-YBZT7MJR.js → chunk-L4RT57WU.js} +7 -7
- package/dist/{chunk-2WZ635SS.js → chunk-MU4VPAMR.js} +2 -2
- package/dist/{chunk-3JCMO7SD.js → chunk-N55DVMAG.js} +1 -1
- package/dist/{chunk-EIOJNUPL.js → chunk-PNLJIPV5.js} +1 -1
- package/dist/{chunk-6Z3G4U2R.js → chunk-Q5BEODAT.js} +3 -2
- package/dist/{chunk-M2HWJY6O.js → chunk-QB2CC4VH.js} +2045 -243
- package/dist/{chunk-QULLZ5PE.js → chunk-RSG2O3HF.js} +893 -642
- package/dist/{chunk-M25JL54Z.js → chunk-RYTEQBAO.js} +1 -1
- package/dist/{chunk-XUYBOO32.js → chunk-U36X6NZM.js} +15 -7
- package/dist/{chunk-QSTH6T77.js → chunk-VKMNWHTL.js} +1 -1
- package/dist/{chunk-KLFIJDTD.js → chunk-VOVZLL23.js} +4 -4
- package/dist/{chunk-SLH2QLKV.js → chunk-WFTNY755.js} +1 -1
- package/dist/{chunk-DK2HVHCY.js → chunk-WKJ47GIW.js} +1 -1
- package/dist/chunk-X4WBGKJQ.js +138 -0
- package/dist/{chunk-QHSW4WHM.js → chunk-XTVZFT7U.js} +1 -1
- package/dist/components/index.css +11 -0
- package/dist/components/index.d.ts +478 -386
- package/dist/components/index.js +138 -267
- package/dist/components/navigation/index.css +11 -0
- package/dist/components/navigation/index.js +8 -8
- package/dist/features/auth/index.css +11 -0
- package/dist/features/auth/index.d.ts +369 -363
- package/dist/features/auth/index.js +7 -7
- package/dist/features/crm/index.css +11 -0
- package/dist/features/crm/index.d.ts +551 -360
- package/dist/features/crm/index.js +19 -19
- package/dist/features/dashboard/index.css +11 -0
- package/dist/features/dashboard/index.js +20 -20
- package/dist/features/delivery/index.css +11 -0
- package/dist/features/delivery/index.d.ts +363 -357
- package/dist/features/delivery/index.js +19 -19
- package/dist/features/lead-gen/index.css +11 -0
- package/dist/features/lead-gen/index.d.ts +174 -4
- package/dist/features/lead-gen/index.js +20 -20
- package/dist/features/monitoring/index.css +11 -0
- package/dist/features/monitoring/index.js +21 -21
- package/dist/features/monitoring/requests/index.css +11 -0
- package/dist/features/monitoring/requests/index.js +17 -17
- package/dist/features/operations/index.css +11 -0
- package/dist/features/operations/index.js +24 -24
- package/dist/features/seo/index.js +2 -2
- package/dist/features/settings/index.css +11 -0
- package/dist/features/settings/index.d.ts +369 -363
- package/dist/features/settings/index.js +19 -19
- package/dist/hooks/delivery/index.css +11 -0
- package/dist/hooks/delivery/index.d.ts +363 -357
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.css +11 -0
- package/dist/hooks/index.d.ts +769 -401
- package/dist/hooks/index.js +17 -17
- package/dist/hooks/published.css +11 -0
- package/dist/hooks/published.d.ts +769 -401
- package/dist/hooks/published.js +17 -17
- package/dist/index.css +11 -0
- package/dist/index.d.ts +885 -383
- package/dist/index.js +17 -17
- package/dist/initialization/index.d.ts +369 -363
- package/dist/initialization/index.js +4 -4
- package/dist/layout/index.d.ts +6 -0
- package/dist/layout/index.js +5 -5
- package/dist/organization/index.css +11 -0
- package/dist/organization/index.js +4 -4
- package/dist/profile/index.d.ts +369 -363
- package/dist/profile/index.js +2 -2
- package/dist/provider/ElevasisServiceContext.d.ts +1 -0
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.css +11 -0
- package/dist/provider/index.d.ts +503 -362
- package/dist/provider/index.js +14 -14
- package/dist/provider/published.css +11 -0
- package/dist/provider/published.d.ts +494 -359
- package/dist/provider/published.js +12 -12
- package/dist/supabase/index.d.ts +369 -357
- package/dist/test-utils/index.js +1 -1
- package/dist/typeform/index.js +49 -20
- package/dist/types/index.d.ts +382 -363
- package/package.json +2 -2
- package/dist/chunk-CEWTOKE7.js +0 -109
- package/dist/chunk-OWHQ65EQ.js +0 -211
- package/dist/chunk-UDJE54WN.js +0 -209
- /package/dist/{chunk-IRW7JMQ4.js → chunk-5WWZXCS5.js} +0 -0
- /package/dist/{chunk-QJ2KCHKX.js → chunk-E565XMTQ.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useAppearance } from './chunk-
|
|
1
|
+
import { useAppearance } from './chunk-E565XMTQ.js';
|
|
2
2
|
import { topbarHeight } from './chunk-DT3QYZVU.js';
|
|
3
3
|
import { Stack, Title, Button } from '@mantine/core';
|
|
4
4
|
import { IconAlertCircle } from '@tabler/icons-react';
|
|
@@ -638,18 +638,26 @@ function catalogItemToResourceDefinition(item) {
|
|
|
638
638
|
status: item.status
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
|
-
function CardHeader({
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
641
|
+
function CardHeader({
|
|
642
|
+
icon,
|
|
643
|
+
title,
|
|
644
|
+
subtitle,
|
|
645
|
+
rightSection,
|
|
646
|
+
titleOrder = 3,
|
|
647
|
+
iconColor,
|
|
648
|
+
mb = "md"
|
|
649
|
+
}) {
|
|
650
|
+
const wrappedIcon = icon ? /* @__PURE__ */ jsx(ThemeIcon, { size: "md", variant: "light", color: iconColor, children: icon }) : null;
|
|
651
|
+
return /* @__PURE__ */ jsxs(Group, { justify: "space-between", mb, gap: "md", align: "flex-start", wrap: "nowrap", children: [
|
|
652
|
+
subtitle ? /* @__PURE__ */ jsxs(Box, { style: { minWidth: 0 }, children: [
|
|
645
653
|
/* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
|
|
646
654
|
wrappedIcon,
|
|
647
|
-
/* @__PURE__ */ jsx(Title, { order:
|
|
655
|
+
/* @__PURE__ */ jsx(Title, { order: titleOrder, style: { overflowWrap: "anywhere" }, children: title })
|
|
648
656
|
] }),
|
|
649
|
-
/* @__PURE__ */ jsx(Text, { size: "sm", mt: 2, style: { color: "var(--color-text-dimmed)" }, children: subtitle })
|
|
657
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", mt: 2, style: { color: "var(--color-text-dimmed)", overflowWrap: "anywhere" }, children: subtitle })
|
|
650
658
|
] }) : /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
|
|
651
659
|
wrappedIcon,
|
|
652
|
-
/* @__PURE__ */ jsx(Title, { order:
|
|
660
|
+
/* @__PURE__ */ jsx(Title, { order: titleOrder, style: { overflowWrap: "anywhere" }, children: title })
|
|
653
661
|
] }),
|
|
654
662
|
rightSection
|
|
655
663
|
] });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { CyberAreaChart, CostTrendChart, ActivityTrendChart } from './chunk-
|
|
2
|
-
import { AppShellLoader } from './chunk-
|
|
1
|
+
import { CyberAreaChart, CostTrendChart, ActivityTrendChart } from './chunk-KMAXFJPH.js';
|
|
2
|
+
import { AppShellLoader } from './chunk-RYTEQBAO.js';
|
|
3
3
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
4
4
|
import { CustomModal } from './chunk-KVJ3LFH2.js';
|
|
5
5
|
import { formatDuration } from './chunk-E4WQGJNS.js';
|
|
6
|
-
import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useTimeRangeDates, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from './chunk-
|
|
7
|
-
import { CenteredErrorState, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, EmptyState, PageTitleCaption, JsonViewer } from './chunk-
|
|
6
|
+
import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useTimeRangeDates, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from './chunk-RSG2O3HF.js';
|
|
7
|
+
import { CenteredErrorState, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, EmptyState, PageTitleCaption, JsonViewer } from './chunk-U36X6NZM.js';
|
|
8
8
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
9
9
|
import { formatBucketTime, PAGE_SIZE_DEFAULT, getTimeRangeDates } from './chunk-SGXXJE52.js';
|
|
10
10
|
import { useState, useMemo, useCallback } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useInitialization } from './chunk-
|
|
1
|
+
import { useInitialization } from './chunk-WKJ47GIW.js';
|
|
2
2
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
3
3
|
import { useRef, useCallback, useEffect } from 'react';
|
|
4
4
|
import { useQueryClient } from '@tanstack/react-query';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
2
|
-
import { useProfile } from './chunk-
|
|
2
|
+
import { useProfile } from './chunk-XTVZFT7U.js';
|
|
3
3
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
4
4
|
import { createContext, useContext, useMemo, useCallback, createElement } from 'react';
|
|
5
5
|
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { subshellNavItemIconSize } from './chunk-DT3QYZVU.js';
|
|
2
|
+
import { UnstyledButton, Stack, Group, Text } from '@mantine/core';
|
|
3
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var activeColor = "var(--color-primary)";
|
|
6
|
+
var defaultColor = "var(--color-text-subtle)";
|
|
7
|
+
var hoverColor = "var(--color-text)";
|
|
8
|
+
var activeBg = `color-mix(in srgb, ${activeColor} 10%, transparent)`;
|
|
9
|
+
var SubshellNavItem = ({
|
|
10
|
+
icon: Icon,
|
|
11
|
+
label,
|
|
12
|
+
isActive = false,
|
|
13
|
+
onClick,
|
|
14
|
+
description,
|
|
15
|
+
badge,
|
|
16
|
+
disabled = false,
|
|
17
|
+
href
|
|
18
|
+
}) => {
|
|
19
|
+
const handleAnchorClick = disabled ? void 0 : (event) => {
|
|
20
|
+
if (event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || event.button !== 0) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
event.preventDefault();
|
|
24
|
+
onClick();
|
|
25
|
+
};
|
|
26
|
+
const sharedStyle = {
|
|
27
|
+
width: "100%",
|
|
28
|
+
padding: "var(--mantine-spacing-xs)",
|
|
29
|
+
backgroundColor: isActive ? activeBg : "transparent",
|
|
30
|
+
borderRadius: "var(--mantine-radius-default)",
|
|
31
|
+
transition: `all var(--duration-fast) var(--easing)`,
|
|
32
|
+
cursor: disabled ? "not-allowed" : "pointer",
|
|
33
|
+
opacity: disabled ? 0.5 : 1,
|
|
34
|
+
color: "inherit",
|
|
35
|
+
textDecoration: "none",
|
|
36
|
+
display: "block"
|
|
37
|
+
};
|
|
38
|
+
const handleMouseEnter = (e) => {
|
|
39
|
+
if (!isActive && !disabled) {
|
|
40
|
+
e.currentTarget.style.backgroundColor = "var(--color-surface-hover)";
|
|
41
|
+
const textElements = e.currentTarget.querySelectorAll("[data-text-element]");
|
|
42
|
+
textElements.forEach((el) => {
|
|
43
|
+
el.style.color = hoverColor;
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
const handleMouseLeave = (e) => {
|
|
48
|
+
if (!isActive && !disabled) {
|
|
49
|
+
e.currentTarget.style.backgroundColor = "transparent";
|
|
50
|
+
const textElements = e.currentTarget.querySelectorAll("[data-text-element]");
|
|
51
|
+
textElements.forEach((el) => {
|
|
52
|
+
el.style.color = defaultColor;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
const inner = /* @__PURE__ */ jsxs(Stack, { gap: 2, children: [
|
|
57
|
+
/* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "nowrap", children: [
|
|
58
|
+
/* @__PURE__ */ jsx(
|
|
59
|
+
Icon,
|
|
60
|
+
{
|
|
61
|
+
size: subshellNavItemIconSize,
|
|
62
|
+
style: {
|
|
63
|
+
flexShrink: 0,
|
|
64
|
+
opacity: isActive ? 1 : 0.6,
|
|
65
|
+
color: isActive ? activeColor : defaultColor
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
),
|
|
69
|
+
/* @__PURE__ */ jsx(
|
|
70
|
+
Text,
|
|
71
|
+
{
|
|
72
|
+
size: "sm",
|
|
73
|
+
fw: isActive ? 600 : 400,
|
|
74
|
+
style: {
|
|
75
|
+
overflow: "hidden",
|
|
76
|
+
textOverflow: "ellipsis",
|
|
77
|
+
whiteSpace: "nowrap",
|
|
78
|
+
flex: 1,
|
|
79
|
+
fontFamily: "var(--elevasis-font-family-subtitle)",
|
|
80
|
+
color: isActive ? activeColor : defaultColor,
|
|
81
|
+
transition: `color var(--duration-fast) var(--easing)`
|
|
82
|
+
},
|
|
83
|
+
"data-text-element": true,
|
|
84
|
+
children: label
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
badge && /* @__PURE__ */ jsx("div", { style: { flexShrink: 0 }, children: badge })
|
|
88
|
+
] }),
|
|
89
|
+
description && /* @__PURE__ */ jsx(
|
|
90
|
+
Text,
|
|
91
|
+
{
|
|
92
|
+
size: "xs",
|
|
93
|
+
c: "dimmed",
|
|
94
|
+
style: {
|
|
95
|
+
paddingLeft: "22px",
|
|
96
|
+
lineHeight: 1.2,
|
|
97
|
+
color: isActive ? activeColor : defaultColor,
|
|
98
|
+
opacity: isActive ? 0.8 : 0.6,
|
|
99
|
+
transition: `all var(--duration-fast) var(--easing)`,
|
|
100
|
+
display: "-webkit-box",
|
|
101
|
+
WebkitLineClamp: 2,
|
|
102
|
+
WebkitBoxOrient: "vertical",
|
|
103
|
+
overflow: "hidden",
|
|
104
|
+
textOverflow: "ellipsis"
|
|
105
|
+
},
|
|
106
|
+
"data-text-element": true,
|
|
107
|
+
children: description
|
|
108
|
+
}
|
|
109
|
+
)
|
|
110
|
+
] });
|
|
111
|
+
if (href) {
|
|
112
|
+
return /* @__PURE__ */ jsx(
|
|
113
|
+
UnstyledButton,
|
|
114
|
+
{
|
|
115
|
+
component: "a",
|
|
116
|
+
href,
|
|
117
|
+
onClick: handleAnchorClick,
|
|
118
|
+
style: sharedStyle,
|
|
119
|
+
onMouseEnter: handleMouseEnter,
|
|
120
|
+
onMouseLeave: handleMouseLeave,
|
|
121
|
+
children: inner
|
|
122
|
+
}
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
return /* @__PURE__ */ jsx(
|
|
126
|
+
UnstyledButton,
|
|
127
|
+
{
|
|
128
|
+
onClick: disabled ? void 0 : onClick,
|
|
129
|
+
disabled,
|
|
130
|
+
style: sharedStyle,
|
|
131
|
+
onMouseEnter: handleMouseEnter,
|
|
132
|
+
onMouseLeave: handleMouseLeave,
|
|
133
|
+
children: inner
|
|
134
|
+
}
|
|
135
|
+
);
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export { SubshellNavItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElevasisServiceContext } from './chunk-
|
|
1
|
+
import { ElevasisServiceContext } from './chunk-5WWZXCS5.js';
|
|
2
2
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
3
3
|
import { createContext, useContext, useState, useEffect, createElement } from 'react';
|
|
4
4
|
|
|
@@ -520,6 +520,17 @@
|
|
|
520
520
|
.mantine-Button-root[data-variant=default]:hover {
|
|
521
521
|
background-color: var(--color-surface-hover);
|
|
522
522
|
}
|
|
523
|
+
.lead-gen-build-action-button:disabled,
|
|
524
|
+
.lead-gen-build-action-button[data-disabled] {
|
|
525
|
+
background-color: color-mix(in srgb, var(--mantine-color-gray-8) 48%, var(--color-surface) 52%) !important;
|
|
526
|
+
border-color: color-mix(in srgb, var(--mantine-color-gray-8) 58%, var(--color-surface) 42%) !important;
|
|
527
|
+
color: color-mix(in srgb, var(--color-text-subtle) 88%, var(--color-text-dimmed) 12%) !important;
|
|
528
|
+
opacity: 0.78;
|
|
529
|
+
}
|
|
530
|
+
.lead-gen-build-action-button:disabled:hover,
|
|
531
|
+
.lead-gen-build-action-button[data-disabled]:hover {
|
|
532
|
+
background-color: color-mix(in srgb, var(--mantine-color-gray-8) 48%, var(--color-surface) 52%) !important;
|
|
533
|
+
}
|
|
523
534
|
.mantine-Accordion-control:hover {
|
|
524
535
|
background-color: var(--color-surface-hover);
|
|
525
536
|
}
|