@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
package/dist/api/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../chunk-XCYKC6OZ.js';
|
|
2
|
-
export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-7E3FUTND.js';
|
|
3
|
+
import '../chunk-HXZQWMKE.js';
|
|
4
4
|
import '../chunk-KRWALB24.js';
|
|
5
5
|
import '../chunk-DD3CCMCZ.js';
|
|
6
6
|
import '../chunk-I2KLQ2HA.js';
|
package/dist/app/index.d.ts
CHANGED
|
@@ -2942,11 +2942,65 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
2942
2942
|
export: "export";
|
|
2943
2943
|
}>>;
|
|
2944
2944
|
stageKey: z$1.ZodString;
|
|
2945
|
+
recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2946
|
+
company: "company";
|
|
2947
|
+
contact: "contact";
|
|
2948
|
+
}>>;
|
|
2949
|
+
recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
2950
|
+
recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
2945
2951
|
dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
2946
2952
|
dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
|
|
2947
2953
|
capabilityKey: z$1.ZodString;
|
|
2948
2954
|
defaultBatchSize: z$1.ZodNumber;
|
|
2949
2955
|
maxBatchSize: z$1.ZodNumber;
|
|
2956
|
+
recordColumns: z$1.ZodOptional<z$1.ZodObject<{
|
|
2957
|
+
company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
2958
|
+
key: z$1.ZodString;
|
|
2959
|
+
label: z$1.ZodString;
|
|
2960
|
+
path: z$1.ZodString;
|
|
2961
|
+
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
2962
|
+
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2963
|
+
text: "text";
|
|
2964
|
+
badge: "badge";
|
|
2965
|
+
datetime: "datetime";
|
|
2966
|
+
count: "count";
|
|
2967
|
+
json: "json";
|
|
2968
|
+
}>>;
|
|
2969
|
+
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
2970
|
+
}, z$1.core.$strip>>>;
|
|
2971
|
+
contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
2972
|
+
key: z$1.ZodString;
|
|
2973
|
+
label: z$1.ZodString;
|
|
2974
|
+
path: z$1.ZodString;
|
|
2975
|
+
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
2976
|
+
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2977
|
+
text: "text";
|
|
2978
|
+
badge: "badge";
|
|
2979
|
+
datetime: "datetime";
|
|
2980
|
+
count: "count";
|
|
2981
|
+
json: "json";
|
|
2982
|
+
}>>;
|
|
2983
|
+
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
2984
|
+
}, z$1.core.$strip>>>;
|
|
2985
|
+
}, z$1.core.$strip>>;
|
|
2986
|
+
credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
2987
|
+
key: z$1.ZodString;
|
|
2988
|
+
provider: z$1.ZodString;
|
|
2989
|
+
credentialType: z$1.ZodEnum<{
|
|
2990
|
+
"api-key": "api-key";
|
|
2991
|
+
"api-key-secret": "api-key-secret";
|
|
2992
|
+
oauth: "oauth";
|
|
2993
|
+
"webhook-secret": "webhook-secret";
|
|
2994
|
+
}>;
|
|
2995
|
+
label: z$1.ZodString;
|
|
2996
|
+
required: z$1.ZodBoolean;
|
|
2997
|
+
selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2998
|
+
single: "single";
|
|
2999
|
+
multiple: "multiple";
|
|
3000
|
+
}>>;
|
|
3001
|
+
inputPath: z$1.ZodString;
|
|
3002
|
+
verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
3003
|
+
}, z$1.core.$strip>>>;
|
|
2950
3004
|
}, z$1.core.$strip>>;
|
|
2951
3005
|
}, z$1.core.$strip>>;
|
|
2952
3006
|
}, z$1.core.$catchall<z$1.ZodUnknown>>;
|
package/dist/app/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ElevasisUIProvider } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
import { ElevasisUIProvider } from '../chunk-SKXXT3E2.js';
|
|
2
|
+
import '../chunk-T5Z7G2J2.js';
|
|
3
|
+
import '../chunk-4VQ2PXMI.js';
|
|
4
4
|
import '../chunk-WLOQ4IBG.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-AKOD52HS.js';
|
|
6
6
|
import '../chunk-SZHARWKU.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-7E3FUTND.js';
|
|
8
|
+
import '../chunk-HUJCU55S.js';
|
|
9
9
|
import '../chunk-E565XMTQ.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-HXZQWMKE.js';
|
|
11
11
|
import '../chunk-KRWALB24.js';
|
|
12
|
-
import { useInitialization } from '../chunk-
|
|
12
|
+
import { useInitialization } from '../chunk-533DUEQY.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
|
-
import '../chunk-
|
|
15
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-2Q2JQSQO.js';
|
|
15
|
+
import '../chunk-KJ3QUBNU.js';
|
|
16
16
|
import '../chunk-BRJ3QZ4E.js';
|
|
17
17
|
import '../chunk-I2KLQ2HA.js';
|
|
18
18
|
import { useCallback, useEffect } from 'react';
|
package/dist/auth/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-VKIZUUPM.js';
|
|
2
|
+
import '../chunk-533DUEQY.js';
|
|
3
3
|
import '../chunk-DD3CCMCZ.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-2Q2JQSQO.js';
|
|
5
|
+
import '../chunk-KJ3QUBNU.js';
|
|
6
6
|
export { AuthProvider, useAuthContext } from '../chunk-BRJ3QZ4E.js';
|
|
7
7
|
import '../chunk-I2KLQ2HA.js';
|
package/dist/charts/index.d.ts
CHANGED
|
@@ -327,8 +327,9 @@ interface CombinedTrendChartProps {
|
|
|
327
327
|
timeRange: TimeRange;
|
|
328
328
|
/** Optional navigation action rendered in the header (e.g., a Link button). */
|
|
329
329
|
navigationAction?: ReactNode;
|
|
330
|
+
compact?: boolean;
|
|
330
331
|
}
|
|
331
|
-
declare function CombinedTrendChart({ healthData, errorData: _errorData, isLoading, error, timeRange, navigationAction }: CombinedTrendChartProps): react_jsx_runtime.JSX.Element;
|
|
332
|
+
declare function CombinedTrendChart({ healthData, errorData: _errorData, isLoading, error, timeRange, navigationAction, compact }: CombinedTrendChartProps): react_jsx_runtime.JSX.Element;
|
|
332
333
|
|
|
333
334
|
export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors };
|
|
334
335
|
export type { ActivityTrendChartProps, ChartFrameProps, CombinedTrendChartProps, CostTrendChartProps, CyberAreaChartProps, CyberColors, CyberDonutProps, CyberDonutSegment, CyberSeries, HeroStatsRowProps };
|
package/dist/charts/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, HeroStatsRow } from '../chunk-
|
|
1
|
+
export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, HeroStatsRow } from '../chunk-2DIYILF7.js';
|
|
2
2
|
export { CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, getSeriesColor, useCyberColors } from '../chunk-CW3UNAF2.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-6YT4IKJ7.js';
|
|
4
|
+
import '../chunk-6WXDE5LZ.js';
|
|
5
5
|
import '../chunk-3KMDHCAR.js';
|
|
6
6
|
import '../chunk-SZHARWKU.js';
|
|
7
7
|
import '../chunk-NYBEU5TE.js';
|
|
8
8
|
import '../chunk-2IFYDILW.js';
|
|
9
9
|
import '../chunk-Q7DJKLEN.js';
|
|
10
10
|
import '../chunk-DT3QYZVU.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-HXZQWMKE.js';
|
|
12
12
|
import '../chunk-KRWALB24.js';
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-VKIZUUPM.js';
|
|
14
|
+
import '../chunk-533DUEQY.js';
|
|
15
15
|
import '../chunk-DD3CCMCZ.js';
|
|
16
|
-
import '../chunk-
|
|
17
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-2Q2JQSQO.js';
|
|
17
|
+
import '../chunk-KJ3QUBNU.js';
|
|
18
18
|
import '../chunk-BRJ3QZ4E.js';
|
|
19
19
|
import '../chunk-I2KLQ2HA.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CyberAreaChart, useCyberColors, CyberLegendItem } from './chunk-CW3UNAF2.js';
|
|
2
|
-
import { useErrorTrends } from './chunk-
|
|
3
|
-
import { CardHeader, CenteredErrorState, TrendIndicator, EmptyState, StatCard } from './chunk-
|
|
4
|
-
import { getTimeRangeLabel, getTimeRangeDates, formatBucketTime } from './chunk-
|
|
2
|
+
import { useErrorTrends } from './chunk-6YT4IKJ7.js';
|
|
3
|
+
import { CardHeader, CenteredErrorState, TrendIndicator, EmptyState, StatCard } from './chunk-6WXDE5LZ.js';
|
|
4
|
+
import { getTimeRangeLabel, getTimeRangeDates, formatBucketTime } from './chunk-HXZQWMKE.js';
|
|
5
5
|
import { useRef, useState, useLayoutEffect, useEffect, useMemo, useCallback } from 'react';
|
|
6
6
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
7
|
import { Center, Loader, Paper, Button, Group, Text, NumberFormatter, Badge, Space, Tooltip, SimpleGrid, Alert, SegmentedControl, Box } from '@mantine/core';
|
|
@@ -302,7 +302,8 @@ function CombinedTrendChart({
|
|
|
302
302
|
isLoading,
|
|
303
303
|
error,
|
|
304
304
|
timeRange,
|
|
305
|
-
navigationAction
|
|
305
|
+
navigationAction,
|
|
306
|
+
compact = false
|
|
306
307
|
}) {
|
|
307
308
|
const [activeTab, setActiveTab] = useState("success");
|
|
308
309
|
const colors = useCyberColors();
|
|
@@ -363,7 +364,7 @@ function CombinedTrendChart({
|
|
|
363
364
|
] })
|
|
364
365
|
}
|
|
365
366
|
),
|
|
366
|
-
activeTab === "success" && /* @__PURE__ */ jsxs(Box, { style: { height: 280 }, children: [
|
|
367
|
+
activeTab === "success" && /* @__PURE__ */ jsxs(Box, { style: { height: compact ? 180 : 280 }, children: [
|
|
367
368
|
/* @__PURE__ */ jsxs(Group, { gap: "lg", justify: "center", mb: "xs", h: 24, align: "center", children: [
|
|
368
369
|
/* @__PURE__ */ jsx(CyberLegendItem, { color: colors.green, label: "Success Count" }),
|
|
369
370
|
/* @__PURE__ */ jsx(CyberLegendItem, { color: colors.red, label: "Error Count" })
|
|
@@ -376,14 +377,14 @@ function CombinedTrendChart({
|
|
|
376
377
|
{ dataKey: "Error Count", color: "red" },
|
|
377
378
|
{ dataKey: "Success Count", color: "green", animationDuration: 1400 }
|
|
378
379
|
],
|
|
379
|
-
height: 250,
|
|
380
|
+
height: compact ? 150 : 250,
|
|
380
381
|
yAxisLabel: "Count",
|
|
381
382
|
baselineColor: "green",
|
|
382
383
|
xTickFormatter
|
|
383
384
|
}
|
|
384
385
|
)
|
|
385
386
|
] }),
|
|
386
|
-
activeTab === "throughput" && /* @__PURE__ */ jsxs(Box, { style: { height: 280 }, children: [
|
|
387
|
+
activeTab === "throughput" && /* @__PURE__ */ jsxs(Box, { style: { height: compact ? 180 : 280 }, children: [
|
|
387
388
|
/* @__PURE__ */ jsxs(Group, { gap: "lg", justify: "center", mb: "xs", h: 24, align: "center", children: [
|
|
388
389
|
/* @__PURE__ */ jsxs(Group, { gap: 6, children: [
|
|
389
390
|
/* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, style: { color: colors.blue, fontVariantNumeric: "tabular-nums" }, children: totalExecutions.toLocaleString() }),
|
|
@@ -401,7 +402,7 @@ function CombinedTrendChart({
|
|
|
401
402
|
{
|
|
402
403
|
data: throughputData,
|
|
403
404
|
series: [{ dataKey: "Executions", color: "blue" }],
|
|
404
|
-
height: 250,
|
|
405
|
+
height: compact ? 150 : 250,
|
|
405
406
|
xTickFormatter
|
|
406
407
|
}
|
|
407
408
|
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElevasisServiceContext } from './chunk-
|
|
1
|
+
import { ElevasisServiceContext } from './chunk-KJ3QUBNU.js';
|
|
2
2
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
3
3
|
import { createContext, useContext, useState, useEffect, createElement } from 'react';
|
|
4
4
|
|