@datatechsolutions/ui 2.11.19 → 2.11.21

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,5 +1,5 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
- export { j as Workspace, h as WorkspaceProps } from '../workflow-canvas-Dfj5MOAY.mjs';
3
+ export { j as Workspace, h as WorkspaceProps } from '../workflow-canvas-Mlbo6q5K.mjs';
4
4
  import '@xyflow/react';
5
5
  import './contracts.mjs';
@@ -1,5 +1,5 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
- export { j as Workspace, h as WorkspaceProps } from '../workflow-canvas-CEfOHTzN.js';
3
+ export { j as Workspace, h as WorkspaceProps } from '../workflow-canvas-Dn7U7P92.js';
4
4
  import '@xyflow/react';
5
5
  import './contracts.js';
@@ -1,19 +1,19 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk4X7ITYP2_js = require('../chunk-4X7ITYP2.js');
5
- require('../chunk-4XID6LOC.js');
6
- require('../chunk-S7KHTUHA.js');
4
+ var chunkE6ALKSGA_js = require('../chunk-E6ALKSGA.js');
5
+ require('../chunk-6N5UGKD7.js');
7
6
  require('../chunk-UZ3CMNUJ.js');
7
+ require('../chunk-YXN2K77G.js');
8
+ require('../chunk-S7KHTUHA.js');
8
9
  require('../chunk-P4YYEM4B.js');
9
10
  require('../chunk-PWBWP5FJ.js');
10
- require('../chunk-YXN2K77G.js');
11
11
 
12
12
 
13
13
 
14
14
  Object.defineProperty(exports, "Workspace", {
15
15
  enumerable: true,
16
- get: function () { return chunk4X7ITYP2_js.Workspace; }
16
+ get: function () { return chunkE6ALKSGA_js.Workspace; }
17
17
  });
18
18
  //# sourceMappingURL=workflow-canvas.js.map
19
19
  //# sourceMappingURL=workflow-canvas.js.map
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- export { Workspace } from '../chunk-LIYKHVLG.mjs';
3
- import '../chunk-46ZM5VJJ.mjs';
4
- import '../chunk-QWG2FMUN.mjs';
2
+ export { Workspace } from '../chunk-Z3U6JAA7.mjs';
3
+ import '../chunk-XKLU32S3.mjs';
5
4
  import '../chunk-D2JF6C3E.mjs';
5
+ import '../chunk-7VJ7CMMT.mjs';
6
+ import '../chunk-QWG2FMUN.mjs';
6
7
  import '../chunk-OZNTQROP.mjs';
7
8
  import '../chunk-TLPPVL3W.mjs';
8
- import '../chunk-7VJ7CMMT.mjs';
9
9
  //# sourceMappingURL=workflow-canvas.mjs.map
10
10
  //# sourceMappingURL=workflow-canvas.mjs.map
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkS7KHTUHA_js = require('./chunk-S7KHTUHA.js');
5
4
  var chunkUZ3CMNUJ_js = require('./chunk-UZ3CMNUJ.js');
6
5
  var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
6
+ var chunkS7KHTUHA_js = require('./chunk-S7KHTUHA.js');
7
7
  var Headless6 = require('@headlessui/react');
8
8
  var clsx = require('clsx');
9
9
  var React12 = require('react');
@@ -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,
@@ -10210,6 +10276,9 @@ function SettingsDialog({
10210
10276
  onClose,
10211
10277
  title,
10212
10278
  subtitle,
10279
+ gradient,
10280
+ icon,
10281
+ label,
10213
10282
  sections,
10214
10283
  activeSectionId,
10215
10284
  onSectionChange,
@@ -10238,14 +10307,18 @@ function SettingsDialog({
10238
10307
  contentClassName: "fixed inset-0 flex items-center justify-center overflow-y-auto p-2 sm:p-4 lg:p-6",
10239
10308
  panelClassName: "w-full max-w-[90vw] xl:max-w-[1400px] overflow-hidden rounded-[2rem] liquid-surface-strong shadow-[0_40px_100px_-30px_rgba(0,0,0,0.55)]",
10240
10309
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex h-[min(94vh,920px)] flex-col lg:flex-row", children: [
10241
- /* @__PURE__ */ jsxRuntime.jsxs("aside", { className: "relative flex w-full shrink-0 flex-col border-b border-white/25 bg-gradient-to-b from-white/40 via-white/20 to-white/10 p-5 dark:border-white/8 dark:from-white/[0.06] dark:via-white/[0.03] dark:to-transparent lg:w-80 lg:border-b-0 lg:border-r lg:border-white/20 lg:dark:border-white/8", children: [
10242
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-x-5 top-0 h-px bg-gradient-to-r from-transparent via-white/70 to-transparent dark:via-white/12" }),
10243
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-5 pr-12", children: [
10244
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[11px] font-semibold uppercase tracking-[0.22em] text-slate-500 dark:text-slate-400", children: "Settings" }),
10245
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "mt-2 text-2xl font-semibold text-slate-950 dark:text-white", children: title }),
10246
- subtitle ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-slate-600 dark:text-slate-400", children: subtitle }) : null
10310
+ /* @__PURE__ */ jsxRuntime.jsxs("aside", { className: "relative flex w-full shrink-0 flex-col border-b border-white/25 bg-gradient-to-b from-white/40 via-white/20 to-white/10 dark:border-white/8 dark:from-white/[0.06] dark:via-white/[0.03] dark:to-transparent lg:w-80 lg:border-b-0 lg:border-r lg:border-white/20 lg:dark:border-white/8", children: [
10311
+ gradient ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-1.5 w-full rounded-t-[2rem] bg-gradient-to-r ${gradient} lg:rounded-tr-none` }) : null,
10312
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-x-5 top-0 h-px bg-gradient-to-r from-transparent via-white/70 to-transparent dark:via-white/12", style: gradient ? { top: "6px" } : void 0 }),
10313
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-5 p-5 pb-0 pr-12", children: [
10314
+ icon || label ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center gap-3", children: [
10315
+ icon ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-10 w-10 items-center justify-center rounded-xl shadow-lg ${gradient ? `bg-gradient-to-br ${gradient}` : "bg-gradient-to-br from-slate-500 to-gray-600"}`, children: icon }) : null,
10316
+ label ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[11px] font-semibold uppercase tracking-[0.22em] text-slate-500 dark:text-slate-400", children: label }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[11px] font-semibold uppercase tracking-[0.22em] text-slate-500 dark:text-slate-400", children: "Settings" })
10317
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-1 text-[11px] font-semibold uppercase tracking-[0.22em] text-slate-500 dark:text-slate-400", children: "Settings" }),
10318
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-2xl font-semibold text-slate-950 dark:text-white", children: title }),
10319
+ subtitle ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1.5 text-sm text-slate-600 dark:text-slate-400", children: subtitle }) : null
10247
10320
  ] }),
10248
- identity ? /* @__PURE__ */ jsxRuntime.jsx(
10321
+ identity ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-5", children: /* @__PURE__ */ jsxRuntime.jsx(
10249
10322
  ProfileIdentityCard,
10250
10323
  {
10251
10324
  displayName: identity.displayName,
@@ -10255,8 +10328,8 @@ function SettingsDialog({
10255
10328
  role: identity.role,
10256
10329
  showEmail: identity.showEmail ?? true
10257
10330
  }
10258
- ) : null,
10259
- /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "mt-5 flex-1 space-y-6 overflow-y-auto pr-1", "aria-label": title, children: sectionGroups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
10331
+ ) }) : null,
10332
+ /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "mt-5 flex-1 space-y-6 overflow-y-auto px-5 pr-4", "aria-label": title, children: sectionGroups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
10260
10333
  group.label ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-2 px-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-slate-500 dark:text-slate-500", children: group.label }) : null,
10261
10334
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1.5", children: group.sections.map((section) => {
10262
10335
  const Icon = section.icon;
@@ -10279,7 +10352,7 @@ function SettingsDialog({
10279
10352
  );
10280
10353
  }) })
10281
10354
  ] }, group.label ?? group.sections.map((section) => section.id).join("-"))) }),
10282
- sidebarFooter ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4", children: sidebarFooter }) : null
10355
+ sidebarFooter ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4 px-5", children: sidebarFooter }) : null
10283
10356
  ] }),
10284
10357
  /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "relative flex min-h-0 flex-1 flex-col", children: [
10285
10358
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-x-6 top-0 h-px bg-gradient-to-r from-transparent via-white/50 to-transparent dark:via-white/10" }),
@@ -20059,6 +20132,7 @@ exports.AU_THEME_CONFIG = AU_THEME_CONFIG;
20059
20132
  exports.ActionMenu = ActionMenu;
20060
20133
  exports.ActionSheet = ActionSheet;
20061
20134
  exports.ActiveFilterChips = ActiveFilterChips;
20135
+ exports.AgentAnalysisCard = AgentAnalysisCard;
20062
20136
  exports.AnalysisSkeleton = AnalysisSkeleton;
20063
20137
  exports.AnimatedNumber = AnimatedNumber;
20064
20138
  exports.AnimatedTableRow = AnimatedTableRow;
@@ -20282,6 +20356,7 @@ exports.MX_THEME_CONFIG = MX_THEME_CONFIG;
20282
20356
  exports.ManagementPageLayout = ManagementPageLayout;
20283
20357
  exports.ManagementSurface = ManagementSurface;
20284
20358
  exports.MapZoomControls = MapZoomControls;
20359
+ exports.MarketPricesCard = MarketPricesCard;
20285
20360
  exports.MetricCard = MetricCard;
20286
20361
  exports.MonthPicker = MonthPicker;
20287
20362
  exports.MultiColumnPicker = MultiColumnPicker;
@@ -20369,6 +20444,7 @@ exports.PullToRefreshIndicator = PullToRefreshIndicator;
20369
20444
  exports.RadiantHeading = RadiantHeading;
20370
20445
  exports.RadiantStatCard = RadiantStatCard;
20371
20446
  exports.RadiantSubheading = RadiantSubheading;
20447
+ exports.RecommendationCard = RecommendationCard;
20372
20448
  exports.RegionFilterSkeleton = RegionFilterSkeleton;
20373
20449
  exports.RoleBadge = RoleBadge;
20374
20450
  exports.SE_THEME_CONFIG = SE_THEME_CONFIG;
@@ -20752,5 +20828,5 @@ exports.useGeoMapState = useGeoMapState;
20752
20828
  exports.useNotifications = useNotifications;
20753
20829
  exports.usePlatformShellStore = usePlatformShellStore;
20754
20830
  exports.usePullToRefresh = usePullToRefresh;
20755
- //# sourceMappingURL=chunk-4XID6LOC.js.map
20756
- //# sourceMappingURL=chunk-4XID6LOC.js.map
20831
+ //# sourceMappingURL=chunk-6N5UGKD7.js.map
20832
+ //# sourceMappingURL=chunk-6N5UGKD7.js.map