@datatechsolutions/ui 2.11.18 → 2.11.20

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.
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk4X7ITYP2_js = require('../chunk-4X7ITYP2.js');
5
- require('../chunk-4XID6LOC.js');
4
+ var chunkGMGTX3TB_js = require('../chunk-GMGTX3TB.js');
5
+ require('../chunk-BSPRG6ZF.js');
6
6
  require('../chunk-S7KHTUHA.js');
7
7
  require('../chunk-UZ3CMNUJ.js');
8
8
  require('../chunk-P4YYEM4B.js');
@@ -13,7 +13,7 @@ require('../chunk-YXN2K77G.js');
13
13
 
14
14
  Object.defineProperty(exports, "Workspace", {
15
15
  enumerable: true,
16
- get: function () { return chunk4X7ITYP2_js.Workspace; }
16
+ get: function () { return chunkGMGTX3TB_js.Workspace; }
17
17
  });
18
18
  //# sourceMappingURL=workflow-canvas.js.map
19
19
  //# sourceMappingURL=workflow-canvas.js.map
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- export { Workspace } from '../chunk-LIYKHVLG.mjs';
3
- import '../chunk-46ZM5VJJ.mjs';
2
+ export { Workspace } from '../chunk-TZD35VFY.mjs';
3
+ import '../chunk-N5VHGPE7.mjs';
4
4
  import '../chunk-QWG2FMUN.mjs';
5
5
  import '../chunk-D2JF6C3E.mjs';
6
6
  import '../chunk-OZNTQROP.mjs';
@@ -2019,6 +2019,72 @@ function MetricCard({
2019
2019
  icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-10 w-10 items-center justify-center rounded-lg ${iconStyles[variant]}`, children: icon })
2020
2020
  ] }) });
2021
2021
  }
2022
+ function AgentAnalysisCard({ name, avatar, duration, output }) {
2023
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "liquid-surface rounded-xl p-3 transition-all duration-300", children: [
2024
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-1.5", children: [
2025
+ /* @__PURE__ */ jsxRuntime.jsx("img", { src: avatar, alt: "", className: "h-6 w-6 rounded-lg" }),
2026
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
2027
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[10px] font-semibold text-white", children: name }),
2028
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[8px] text-gray-500", children: duration })
2029
+ ] }),
2030
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CheckCircleIcon, { className: "h-3.5 w-3.5 text-emerald-400 shrink-0" })
2031
+ ] }),
2032
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[8px] text-gray-400 leading-relaxed", children: output })
2033
+ ] });
2034
+ }
2035
+ function RecommendationCard({ price, delta, confidence, margin, minMax }) {
2036
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "liquid-surface rounded-xl p-3.5", children: [
2037
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center gap-1.5 text-[11px] font-semibold text-gray-400", children: [
2038
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.RocketLaunchIcon, { className: "h-3.5 w-3.5 text-amber-500" }),
2039
+ "AI Recommendation"
2040
+ ] }),
2041
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 mb-2", children: [
2042
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xl font-bold text-emerald-400", children: price }),
2043
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-full bg-emerald-500/10 px-1.5 py-0.5 text-[9px] font-semibold text-emerald-400", children: delta })
2044
+ ] }),
2045
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5 mb-2.5", children: [
2046
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between text-[9px]", children: [
2047
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-gray-500", children: "Confidence" }),
2048
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-bold text-blue-400", children: confidence })
2049
+ ] }),
2050
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-1.5 rounded-full bg-white/5 overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full rounded-full bg-gradient-to-r from-blue-500 to-indigo-500", style: { width: confidence } }) }),
2051
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between text-[9px]", children: [
2052
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-gray-500", children: "Margin" }),
2053
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-bold text-purple-400", children: margin })
2054
+ ] })
2055
+ ] }),
2056
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 mb-2", children: [
2057
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "rounded-lg bg-emerald-600 px-2.5 py-1 text-[9px] font-semibold text-white", children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-1", children: [
2058
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.HandThumbUpIcon, { className: "h-2.5 w-2.5" }),
2059
+ " Approve"
2060
+ ] }) }),
2061
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "rounded-lg bg-gray-700 px-2.5 py-1 text-[9px] font-semibold text-gray-300", children: "Modify" })
2062
+ ] }),
2063
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-white/5 pt-1.5", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
2064
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.AdjustmentsHorizontalIcon, { className: "h-3 w-3 text-purple-400" }),
2065
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[8px] font-medium text-purple-300", children: [
2066
+ "2 rules \xB7 ",
2067
+ minMax
2068
+ ] })
2069
+ ] }) })
2070
+ ] });
2071
+ }
2072
+ function MarketPricesCard({ competitors }) {
2073
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "liquid-surface rounded-xl p-3.5", children: [
2074
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center gap-1.5 text-[10px] font-semibold text-gray-400", children: [
2075
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.TableCellsIcon, { className: "h-3 w-3 text-sky-500" }),
2076
+ "Market Prices"
2077
+ ] }),
2078
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1", children: competitors.map((competitor) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between text-[9px]", children: [
2079
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-gray-400 truncate mr-2", children: competitor.name }),
2080
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 shrink-0", children: [
2081
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-gray-500", children: competitor.distance }),
2082
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold text-white", children: competitor.price }),
2083
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: `font-semibold ${competitor.up ? "text-emerald-400" : "text-rose-400"}`, children: competitor.change })
2084
+ ] })
2085
+ ] }, competitor.name)) })
2086
+ ] });
2087
+ }
2022
2088
  function HeroSection({
2023
2089
  icon,
2024
2090
  label,
@@ -20059,6 +20125,7 @@ exports.AU_THEME_CONFIG = AU_THEME_CONFIG;
20059
20125
  exports.ActionMenu = ActionMenu;
20060
20126
  exports.ActionSheet = ActionSheet;
20061
20127
  exports.ActiveFilterChips = ActiveFilterChips;
20128
+ exports.AgentAnalysisCard = AgentAnalysisCard;
20062
20129
  exports.AnalysisSkeleton = AnalysisSkeleton;
20063
20130
  exports.AnimatedNumber = AnimatedNumber;
20064
20131
  exports.AnimatedTableRow = AnimatedTableRow;
@@ -20282,6 +20349,7 @@ exports.MX_THEME_CONFIG = MX_THEME_CONFIG;
20282
20349
  exports.ManagementPageLayout = ManagementPageLayout;
20283
20350
  exports.ManagementSurface = ManagementSurface;
20284
20351
  exports.MapZoomControls = MapZoomControls;
20352
+ exports.MarketPricesCard = MarketPricesCard;
20285
20353
  exports.MetricCard = MetricCard;
20286
20354
  exports.MonthPicker = MonthPicker;
20287
20355
  exports.MultiColumnPicker = MultiColumnPicker;
@@ -20369,6 +20437,7 @@ exports.PullToRefreshIndicator = PullToRefreshIndicator;
20369
20437
  exports.RadiantHeading = RadiantHeading;
20370
20438
  exports.RadiantStatCard = RadiantStatCard;
20371
20439
  exports.RadiantSubheading = RadiantSubheading;
20440
+ exports.RecommendationCard = RecommendationCard;
20372
20441
  exports.RegionFilterSkeleton = RegionFilterSkeleton;
20373
20442
  exports.RoleBadge = RoleBadge;
20374
20443
  exports.SE_THEME_CONFIG = SE_THEME_CONFIG;
@@ -20752,5 +20821,5 @@ exports.useGeoMapState = useGeoMapState;
20752
20821
  exports.useNotifications = useNotifications;
20753
20822
  exports.usePlatformShellStore = usePlatformShellStore;
20754
20823
  exports.usePullToRefresh = usePullToRefresh;
20755
- //# sourceMappingURL=chunk-4XID6LOC.js.map
20756
- //# sourceMappingURL=chunk-4XID6LOC.js.map
20824
+ //# sourceMappingURL=chunk-BSPRG6ZF.js.map
20825
+ //# sourceMappingURL=chunk-BSPRG6ZF.js.map