@elevasis/ui 2.29.0 → 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.
Files changed (73) hide show
  1. package/dist/app/index.d.ts +54 -0
  2. package/dist/app/index.js +8 -8
  3. package/dist/auth/index.js +4 -4
  4. package/dist/charts/index.d.ts +2 -1
  5. package/dist/charts/index.js +6 -6
  6. package/dist/{chunk-SZWXQHKO.js → chunk-2DIYILF7.js} +7 -6
  7. package/dist/{chunk-XTVZFT7U.js → chunk-2Q2JQSQO.js} +1 -1
  8. package/dist/{chunk-65RQE3XF.js → chunk-3GV5NHSS.js} +1051 -208
  9. package/dist/{chunk-3DUOPXOJ.js → chunk-3MDNBHVB.js} +4 -4
  10. package/dist/{chunk-QNL7UI5G.js → chunk-4FZYEEPK.js} +4 -4
  11. package/dist/{chunk-Y3YJKKEB.js → chunk-4SY6BTVZ.js} +1 -1
  12. package/dist/{chunk-HLFFKKT3.js → chunk-4VQ2PXMI.js} +14 -14
  13. package/dist/{chunk-WKJ47GIW.js → chunk-533DUEQY.js} +1 -1
  14. package/dist/{chunk-HNFQCOD2.js → chunk-6EFVZV6X.js} +392 -309
  15. package/dist/{chunk-V3HUIZJX.js → chunk-6IXOKUBC.js} +1 -1
  16. package/dist/{chunk-VKMNWHTL.js → chunk-6YT4IKJ7.js} +3 -3
  17. package/dist/{chunk-AK5E6ILJ.js → chunk-A7B7HLDF.js} +8 -8
  18. package/dist/{chunk-OWESKPTJ.js → chunk-AKOD52HS.js} +26 -8
  19. package/dist/{chunk-ROSMICXG.js → chunk-CXY7FMUM.js} +35 -20
  20. package/dist/{chunk-HOIT677G.js → chunk-HUJCU55S.js} +1 -1
  21. package/dist/{chunk-A7R2URMV.js → chunk-HYLERWRO.js} +41 -7
  22. package/dist/{chunk-XBMCDGHA.js → chunk-IKQ42WHU.js} +1 -1
  23. package/dist/{chunk-GESXCQWY.js → chunk-JA5ECJJB.js} +1 -1
  24. package/dist/{chunk-KU7ZDWQ7.js → chunk-JBWJ6WHZ.js} +1 -1
  25. package/dist/{chunk-FGDUK74A.js → chunk-JKTPRYGV.js} +3 -3
  26. package/dist/{chunk-5WWZXCS5.js → chunk-KJ3QUBNU.js} +9 -2
  27. package/dist/{chunk-OHGNCWJP.js → chunk-LRZFLK2F.js} +1 -1
  28. package/dist/{chunk-FFDAE2QI.js → chunk-NITGGYH2.js} +172 -26
  29. package/dist/{chunk-VMJVQAFZ.js → chunk-OAVTMITG.js} +1 -1
  30. package/dist/{chunk-6NHCE7JM.js → chunk-P5WYW2GI.js} +12 -12
  31. package/dist/{chunk-5CW2HXQA.js → chunk-SBCIB5TZ.js} +4 -25
  32. package/dist/{chunk-OIMPGKDB.js → chunk-SKXXT3E2.js} +3 -3
  33. package/dist/{chunk-CEHUFNAL.js → chunk-T2PAD63Y.js} +11 -11
  34. package/dist/{chunk-LH4GPYDX.js → chunk-T5Z7G2J2.js} +19 -3
  35. package/dist/{chunk-WFTNY755.js → chunk-VKIZUUPM.js} +1 -1
  36. package/dist/{chunk-S66IQSSR.js → chunk-WF227UBV.js} +1 -1
  37. package/dist/components/chat/index.d.ts +2 -1
  38. package/dist/components/chat/index.js +1 -1
  39. package/dist/components/index.js +37 -37
  40. package/dist/components/navigation/index.js +8 -8
  41. package/dist/features/auth/index.js +5 -5
  42. package/dist/features/crm/index.js +18 -18
  43. package/dist/features/dashboard/index.js +19 -19
  44. package/dist/features/delivery/index.js +18 -18
  45. package/dist/features/knowledge/index.js +19 -19
  46. package/dist/features/lead-gen/index.d.ts +99 -1
  47. package/dist/features/lead-gen/index.js +19 -19
  48. package/dist/features/monitoring/index.js +20 -20
  49. package/dist/features/monitoring/requests/index.js +17 -17
  50. package/dist/features/operations/index.js +24 -24
  51. package/dist/features/settings/index.js +19 -19
  52. package/dist/hooks/delivery/index.js +2 -2
  53. package/dist/hooks/index.d.ts +263 -4
  54. package/dist/hooks/index.js +17 -17
  55. package/dist/hooks/published.d.ts +263 -4
  56. package/dist/hooks/published.js +17 -17
  57. package/dist/index.d.ts +378 -8
  58. package/dist/index.js +18 -18
  59. package/dist/initialization/index.js +4 -4
  60. package/dist/knowledge/index.d.ts +54 -0
  61. package/dist/organization/index.js +4 -4
  62. package/dist/profile/index.js +2 -2
  63. package/dist/provider/ElevasisServiceContext.d.ts +11 -5
  64. package/dist/provider/ElevasisServiceContext.js +1 -1
  65. package/dist/provider/index.d.ts +119 -5
  66. package/dist/provider/index.js +14 -14
  67. package/dist/provider/published.d.ts +119 -5
  68. package/dist/provider/published.js +10 -10
  69. package/dist/test-utils/index.d.ts +3 -0
  70. package/dist/test-utils/index.js +28 -4
  71. package/dist/theme/index.js +3 -3
  72. package/dist/theme/presets/index.js +1 -1
  73. package/package.json +5 -5
@@ -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-OIMPGKDB.js';
2
- import '../chunk-LH4GPYDX.js';
3
- import '../chunk-HLFFKKT3.js';
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-OWESKPTJ.js';
5
+ import '../chunk-AKOD52HS.js';
6
6
  import '../chunk-SZHARWKU.js';
7
7
  import '../chunk-7E3FUTND.js';
8
- import '../chunk-HOIT677G.js';
8
+ import '../chunk-HUJCU55S.js';
9
9
  import '../chunk-E565XMTQ.js';
10
10
  import '../chunk-HXZQWMKE.js';
11
11
  import '../chunk-KRWALB24.js';
12
- import { useInitialization } from '../chunk-WKJ47GIW.js';
12
+ import { useInitialization } from '../chunk-533DUEQY.js';
13
13
  import '../chunk-DD3CCMCZ.js';
14
- import '../chunk-XTVZFT7U.js';
15
- import '../chunk-5WWZXCS5.js';
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';
@@ -1,7 +1,7 @@
1
- export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-WFTNY755.js';
2
- import '../chunk-WKJ47GIW.js';
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-XTVZFT7U.js';
5
- import '../chunk-5WWZXCS5.js';
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';
@@ -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 };
@@ -1,6 +1,6 @@
1
- export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, HeroStatsRow } from '../chunk-SZWXQHKO.js';
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-VKMNWHTL.js';
3
+ import '../chunk-6YT4IKJ7.js';
4
4
  import '../chunk-6WXDE5LZ.js';
5
5
  import '../chunk-3KMDHCAR.js';
6
6
  import '../chunk-SZHARWKU.js';
@@ -10,10 +10,10 @@ import '../chunk-Q7DJKLEN.js';
10
10
  import '../chunk-DT3QYZVU.js';
11
11
  import '../chunk-HXZQWMKE.js';
12
12
  import '../chunk-KRWALB24.js';
13
- import '../chunk-WFTNY755.js';
14
- import '../chunk-WKJ47GIW.js';
13
+ import '../chunk-VKIZUUPM.js';
14
+ import '../chunk-533DUEQY.js';
15
15
  import '../chunk-DD3CCMCZ.js';
16
- import '../chunk-XTVZFT7U.js';
17
- import '../chunk-5WWZXCS5.js';
16
+ import '../chunk-2Q2JQSQO.js';
17
+ import '../chunk-KJ3QUBNU.js';
18
18
  import '../chunk-BRJ3QZ4E.js';
19
19
  import '../chunk-I2KLQ2HA.js';
@@ -1,5 +1,5 @@
1
1
  import { CyberAreaChart, useCyberColors, CyberLegendItem } from './chunk-CW3UNAF2.js';
2
- import { useErrorTrends } from './chunk-VKMNWHTL.js';
2
+ import { useErrorTrends } from './chunk-6YT4IKJ7.js';
3
3
  import { CardHeader, CenteredErrorState, TrendIndicator, EmptyState, StatCard } from './chunk-6WXDE5LZ.js';
4
4
  import { getTimeRangeLabel, getTimeRangeDates, formatBucketTime } from './chunk-HXZQWMKE.js';
5
5
  import { useRef, useState, useLayoutEffect, useEffect, useMemo, useCallback } from 'react';
@@ -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-5WWZXCS5.js';
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