@datatechsolutions/ui 2.11.89 → 2.11.90

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 (101) hide show
  1. package/dist/astrlabe/index.js +106 -106
  2. package/dist/astrlabe/index.mjs +3 -3
  3. package/dist/astrlabe/workflow-canvas.js +3 -3
  4. package/dist/astrlabe/workflow-canvas.mjs +2 -2
  5. package/dist/{chunk-K26RY4EQ.js → chunk-5EBDOY4M.js} +26 -26
  6. package/dist/{chunk-K26RY4EQ.js.map → chunk-5EBDOY4M.js.map} +1 -1
  7. package/dist/{chunk-TLDVFFAK.mjs → chunk-5NOWS6T3.mjs} +3 -3
  8. package/dist/{chunk-TLDVFFAK.mjs.map → chunk-5NOWS6T3.mjs.map} +1 -1
  9. package/dist/{chunk-X2KCCQPL.js → chunk-64DLD6FB.js} +55 -55
  10. package/dist/{chunk-X2KCCQPL.js.map → chunk-64DLD6FB.js.map} +1 -1
  11. package/dist/{chunk-NAQ32ZPG.mjs → chunk-76XIV6VV.mjs} +6 -6
  12. package/dist/{chunk-NAQ32ZPG.mjs.map → chunk-76XIV6VV.mjs.map} +1 -1
  13. package/dist/{chunk-URDQSUW6.js → chunk-7GDDBF6E.js} +39 -39
  14. package/dist/{chunk-URDQSUW6.js.map → chunk-7GDDBF6E.js.map} +1 -1
  15. package/dist/{chunk-3YVQXDKJ.js → chunk-APXM5GFL.js} +4 -4
  16. package/dist/{chunk-3YVQXDKJ.js.map → chunk-APXM5GFL.js.map} +1 -1
  17. package/dist/{chunk-TZ62G5WM.js → chunk-B3DI2QUM.js} +84 -66
  18. package/dist/chunk-B3DI2QUM.js.map +1 -0
  19. package/dist/{chunk-G7DZU3NM.mjs → chunk-CM5C4M4F.mjs} +3 -3
  20. package/dist/{chunk-G7DZU3NM.mjs.map → chunk-CM5C4M4F.mjs.map} +1 -1
  21. package/dist/{chunk-MXFEU7A6.js → chunk-DIKLHCEM.js} +4 -4
  22. package/dist/{chunk-MXFEU7A6.js.map → chunk-DIKLHCEM.js.map} +1 -1
  23. package/dist/{chunk-ZHHRWC27.js → chunk-FDK3PUTV.js} +135 -148
  24. package/dist/chunk-FDK3PUTV.js.map +1 -0
  25. package/dist/{chunk-XOZMUCMF.mjs → chunk-FS6SU7RE.mjs} +3 -3
  26. package/dist/{chunk-XOZMUCMF.mjs.map → chunk-FS6SU7RE.mjs.map} +1 -1
  27. package/dist/{chunk-UUHV5KHF.js → chunk-FXLGNKP4.js} +33 -33
  28. package/dist/{chunk-UUHV5KHF.js.map → chunk-FXLGNKP4.js.map} +1 -1
  29. package/dist/{chunk-TOEMSC4P.mjs → chunk-IL5RSF2U.mjs} +6 -6
  30. package/dist/{chunk-TOEMSC4P.mjs.map → chunk-IL5RSF2U.mjs.map} +1 -1
  31. package/dist/{chunk-GEUGFYLO.mjs → chunk-K6FX26BG.mjs} +3 -3
  32. package/dist/{chunk-GEUGFYLO.mjs.map → chunk-K6FX26BG.mjs.map} +1 -1
  33. package/dist/{chunk-2URBM4LA.js → chunk-M7PKDVKA.js} +6 -6
  34. package/dist/{chunk-2URBM4LA.js.map → chunk-M7PKDVKA.js.map} +1 -1
  35. package/dist/{chunk-SUHNSUMH.mjs → chunk-MJOYUX2C.mjs} +4 -4
  36. package/dist/{chunk-SUHNSUMH.mjs.map → chunk-MJOYUX2C.mjs.map} +1 -1
  37. package/dist/{chunk-HK6J6HQP.mjs → chunk-MR3BLQAU.mjs} +11 -24
  38. package/dist/chunk-MR3BLQAU.mjs.map +1 -0
  39. package/dist/{chunk-SAYVWIMJ.js → chunk-MWZQF2D5.js} +4 -4
  40. package/dist/{chunk-SAYVWIMJ.js.map → chunk-MWZQF2D5.js.map} +1 -1
  41. package/dist/{chunk-RV555OEO.mjs → chunk-ODEUUB2T.mjs} +4 -4
  42. package/dist/{chunk-RV555OEO.mjs.map → chunk-ODEUUB2T.mjs.map} +1 -1
  43. package/dist/{chunk-UVEPTYZC.js → chunk-QHTA2ISY.js} +12 -12
  44. package/dist/{chunk-UVEPTYZC.js.map → chunk-QHTA2ISY.js.map} +1 -1
  45. package/dist/{chunk-JUTOBBBI.mjs → chunk-QYH6WLKE.mjs} +4 -4
  46. package/dist/{chunk-JUTOBBBI.mjs.map → chunk-QYH6WLKE.mjs.map} +1 -1
  47. package/dist/{chunk-LBALE4JX.js → chunk-R5D6LLDF.js} +67 -67
  48. package/dist/{chunk-LBALE4JX.js.map → chunk-R5D6LLDF.js.map} +1 -1
  49. package/dist/{chunk-5HXDJBVX.mjs → chunk-RTQOGG4T.mjs} +4 -4
  50. package/dist/{chunk-5HXDJBVX.mjs.map → chunk-RTQOGG4T.mjs.map} +1 -1
  51. package/dist/{chunk-ZJQ5RLGK.mjs → chunk-S3JHPXOX.mjs} +539 -307
  52. package/dist/chunk-S3JHPXOX.mjs.map +1 -0
  53. package/dist/{chunk-D4TESEYK.mjs → chunk-T3S6KZN3.mjs} +24 -7
  54. package/dist/chunk-T3S6KZN3.mjs.map +1 -0
  55. package/dist/{chunk-NBCOVUQP.mjs → chunk-TLTYLDX4.mjs} +3 -3
  56. package/dist/{chunk-NBCOVUQP.mjs.map → chunk-TLTYLDX4.mjs.map} +1 -1
  57. package/dist/{chunk-Q2MG7S2E.js → chunk-ULWVYDDG.js} +15 -15
  58. package/dist/{chunk-Q2MG7S2E.js.map → chunk-ULWVYDDG.js.map} +1 -1
  59. package/dist/{chunk-4667D2ZT.mjs → chunk-UZ3FGGUP.mjs} +3 -3
  60. package/dist/{chunk-4667D2ZT.mjs.map → chunk-UZ3FGGUP.mjs.map} +1 -1
  61. package/dist/{chunk-SV4SMITM.js → chunk-WAOCUWO3.js} +36 -36
  62. package/dist/{chunk-SV4SMITM.js.map → chunk-WAOCUWO3.js.map} +1 -1
  63. package/dist/{chunk-ZARCUQA6.js → chunk-WETG7OO3.js} +53 -53
  64. package/dist/{chunk-ZARCUQA6.js.map → chunk-WETG7OO3.js.map} +1 -1
  65. package/dist/{chunk-KNXAOJAK.js → chunk-ZBX2QSNH.js} +532 -300
  66. package/dist/chunk-ZBX2QSNH.js.map +1 -0
  67. package/dist/{chunk-F4TOOARV.mjs → chunk-ZV5ZRT6E.mjs} +3 -3
  68. package/dist/{chunk-F4TOOARV.mjs.map → chunk-ZV5ZRT6E.mjs.map} +1 -1
  69. package/dist/index.d.mts +154 -0
  70. package/dist/index.d.ts +154 -0
  71. package/dist/index.js +744 -744
  72. package/dist/index.mjs +1 -1
  73. package/dist/platform/admin/index.js +10 -10
  74. package/dist/platform/admin/index.mjs +4 -4
  75. package/dist/platform/agents-workspace.js +6 -6
  76. package/dist/platform/agents-workspace.mjs +5 -5
  77. package/dist/platform/app-shell.js +3 -3
  78. package/dist/platform/app-shell.mjs +2 -2
  79. package/dist/platform/auth/index.js +27 -27
  80. package/dist/platform/auth/index.mjs +4 -4
  81. package/dist/platform/billing/index.js +3 -3
  82. package/dist/platform/billing/index.mjs +2 -2
  83. package/dist/platform/impersonation/index.js +3 -3
  84. package/dist/platform/impersonation/index.mjs +2 -2
  85. package/dist/platform/index.d.mts +1 -1
  86. package/dist/platform/index.d.ts +1 -1
  87. package/dist/platform/index.js +91 -91
  88. package/dist/platform/index.mjs +18 -18
  89. package/dist/platform/pages/index.js +195 -195
  90. package/dist/platform/pages/index.mjs +7 -7
  91. package/dist/platform/settings/index.js +7 -7
  92. package/dist/platform/settings/index.mjs +6 -6
  93. package/dist/platform/workflow-canvas-shell.js +4 -4
  94. package/dist/platform/workflow-canvas-shell.mjs +3 -3
  95. package/package.json +1 -1
  96. package/dist/chunk-D4TESEYK.mjs.map +0 -1
  97. package/dist/chunk-HK6J6HQP.mjs.map +0 -1
  98. package/dist/chunk-KNXAOJAK.js.map +0 -1
  99. package/dist/chunk-TZ62G5WM.js.map +0 -1
  100. package/dist/chunk-ZHHRWC27.js.map +0 -1
  101. package/dist/chunk-ZJQ5RLGK.mjs.map +0 -1
@@ -10,13 +10,13 @@ import React12__default, { forwardRef, useId, useState, useCallback, createConte
10
10
  import { AnimatePresence, motion, useReducedMotion, useMotionValue, useTransform, animate, useInView, useSpring } from 'framer-motion';
11
11
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
12
12
  import { ChevronDownIcon, CheckCircleIcon, EyeSlashIcon, EyeIcon, XMarkIcon, CheckIcon, ChevronLeftIcon, ChevronRightIcon, EllipsisVerticalIcon, ClipboardDocumentIcon as ClipboardDocumentIcon$1, ArrowDownTrayIcon } from '@heroicons/react/20/solid';
13
+ import { CheckIcon as CheckIcon$1 } from '@heroicons/react/24/solid';
13
14
  import * as HeroIcons from '@heroicons/react/24/outline';
14
- import { PlusIcon, MinusIcon, ShoppingCartIcon, BanknotesIcon, MegaphoneIcon, CubeIcon, UsersIcon, DocumentTextIcon, ShieldCheckIcon, CheckCircleIcon as CheckCircleIcon$1, RocketLaunchIcon, HandThumbUpIcon, AdjustmentsHorizontalIcon, TableCellsIcon, MapIcon, XMarkIcon as XMarkIcon$1, ClockIcon, BuildingStorefrontIcon, MagnifyingGlassIcon, InformationCircleIcon, ArrowTrendingUpIcon, ArrowTrendingDownIcon, ChevronUpIcon, ChevronDownIcon as ChevronDownIcon$1, ChevronUpDownIcon, DocumentMagnifyingGlassIcon, ShieldExclamationIcon, ServerStackIcon, WifiIcon, ExclamationTriangleIcon, ArrowPathIcon, FolderOpenIcon, BellIcon, TrashIcon, ExclamationCircleIcon, CheckIcon as CheckIcon$1, ClipboardDocumentCheckIcon, ClipboardDocumentIcon, CalendarDaysIcon, ChevronLeftIcon as ChevronLeftIcon$1, ChevronRightIcon as ChevronRightIcon$1, FunnelIcon, CameraIcon, ArrowUpTrayIcon, BeakerIcon, GlobeAltIcon, WrenchScrewdriverIcon, EyeDropperIcon, MoonIcon as MoonIcon$1, SunIcon as SunIcon$1, UserCircleIcon, ArrowRightOnRectangleIcon, LanguageIcon, PlayIcon, StopIcon, SparklesIcon, CpuChipIcon, XCircleIcon, LockClosedIcon, EnvelopeIcon, ChatBubbleLeftIcon, TrophyIcon, CogIcon, ChartBarIcon, HomeIcon, Cog6ToothIcon, UserIcon, BoltIcon, Squares2X2Icon, PlusCircleIcon, CloudIcon, NewspaperIcon, CommandLineIcon, RectangleStackIcon, CodeBracketIcon, CircleStackIcon } from '@heroicons/react/24/outline';
15
+ import { PlusIcon, MinusIcon, ShoppingCartIcon, BanknotesIcon, MegaphoneIcon, CubeIcon, UsersIcon, DocumentTextIcon, ShieldCheckIcon, CheckCircleIcon as CheckCircleIcon$1, RocketLaunchIcon, HandThumbUpIcon, AdjustmentsHorizontalIcon, TableCellsIcon, MapIcon, XMarkIcon as XMarkIcon$1, ClockIcon, BuildingStorefrontIcon, MagnifyingGlassIcon, InformationCircleIcon, ArrowTrendingUpIcon, ArrowTrendingDownIcon, ChevronUpIcon, ChevronDownIcon as ChevronDownIcon$1, ChevronUpDownIcon, DocumentMagnifyingGlassIcon, ShieldExclamationIcon, ServerStackIcon, WifiIcon, ExclamationTriangleIcon, ArrowPathIcon, FolderOpenIcon, BellIcon, TrashIcon, ExclamationCircleIcon, CheckIcon as CheckIcon$2, ClipboardDocumentCheckIcon, ClipboardDocumentIcon, CalendarDaysIcon, ChevronLeftIcon as ChevronLeftIcon$1, ChevronRightIcon as ChevronRightIcon$1, FunnelIcon, CameraIcon, ArrowUpTrayIcon, BeakerIcon, GlobeAltIcon, WrenchScrewdriverIcon, EyeDropperIcon, MoonIcon as MoonIcon$1, SunIcon as SunIcon$1, UserCircleIcon, ArrowRightOnRectangleIcon, LanguageIcon, PlayIcon, StopIcon, SparklesIcon, CpuChipIcon, XCircleIcon, LockClosedIcon, EnvelopeIcon, ChatBubbleLeftIcon, TrophyIcon, CogIcon, ChartBarIcon, HomeIcon, Cog6ToothIcon, UserIcon, BoltIcon, Squares2X2Icon, PlusCircleIcon, CloudIcon, NewspaperIcon, CommandLineIcon, RectangleStackIcon, CodeBracketIcon, CircleStackIcon } from '@heroicons/react/24/outline';
15
16
  import * as Popover from '@radix-ui/react-popover';
16
17
  import { createPortal } from 'react-dom';
17
18
  import { startOfDay, startOfMonth, endOfMonth, eachDayOfInterval, getDay, subMonths, addMonths, isAfter, format, isSameDay, isSameMonth, parse } from 'date-fns';
18
19
  import { fr, es, enUS, ptBR } from 'date-fns/locale';
19
- import { CheckIcon as CheckIcon$2 } from '@heroicons/react/24/solid';
20
20
  import { ProgressBar, ProgressBarProvider } from 'react-transition-progress';
21
21
  import { CalendarIcon, ChevronLeftIcon as ChevronLeftIcon$2, ChevronRightIcon as ChevronRightIcon$2 } from 'lucide-react';
22
22
  import { geoAlbersUsa, geoMercator, geoPath } from 'd3-geo';
@@ -2221,6 +2221,287 @@ function renderBars(series, seriesIndex, seriesCount, count, domain, width, heig
2221
2221
  );
2222
2222
  }) }, series.name);
2223
2223
  }
2224
+ function ItemSummary({
2225
+ icon,
2226
+ title,
2227
+ subtitle,
2228
+ metadata,
2229
+ iconContainerClassName = "flex size-10 flex-shrink-0 items-center justify-center rounded-lg bg-indigo-100 dark:bg-indigo-900/30",
2230
+ titleClassName = "truncate text-sm font-semibold text-gray-900 dark:text-white",
2231
+ subtitleClassName = "truncate text-xs text-gray-500 dark:text-gray-400",
2232
+ metadataContainerClassName = "mt-2 flex flex-wrap gap-3",
2233
+ metadataLabelClassName = "text-xs text-gray-500 dark:text-gray-400",
2234
+ metadataValueClassName = "text-xs font-medium text-gray-900 dark:text-white"
2235
+ }) {
2236
+ return /* @__PURE__ */ jsxs("div", { className: "flex flex-1 min-w-0 items-start gap-3", children: [
2237
+ icon ? /* @__PURE__ */ jsx("div", { className: iconContainerClassName, children: icon }) : null,
2238
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
2239
+ /* @__PURE__ */ jsx("div", { className: titleClassName, children: title }),
2240
+ subtitle ? /* @__PURE__ */ jsx("div", { className: subtitleClassName, children: subtitle }) : null,
2241
+ metadata && metadata.length > 0 ? /* @__PURE__ */ jsx("div", { className: metadataContainerClassName, children: metadata.map((metadataItem, index) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
2242
+ /* @__PURE__ */ jsx("span", { className: metadataLabelClassName, children: metadataItem.label }),
2243
+ /* @__PURE__ */ jsx("span", { className: metadataValueClassName, children: metadataItem.value })
2244
+ ] }, index)) }) : null
2245
+ ] })
2246
+ ] });
2247
+ }
2248
+ function isPlainTextTitle(title) {
2249
+ return typeof title === "string" || typeof title === "number";
2250
+ }
2251
+ function getTestIdFromTitle(title) {
2252
+ if (isPlainTextTitle(title)) {
2253
+ return `entity-card-${String(title).toLowerCase().replace(/\s+/g, "-")}`;
2254
+ }
2255
+ return "entity-card";
2256
+ }
2257
+ function StatusBadgeInternal({ status }) {
2258
+ const tCommon = useTranslations("common");
2259
+ if (typeof status !== "boolean") {
2260
+ return /* @__PURE__ */ jsx(Fragment, { children: status });
2261
+ }
2262
+ return /* @__PURE__ */ jsx(
2263
+ "span",
2264
+ {
2265
+ className: `shrink-0 rounded-full px-2 py-0.5 text-xs font-medium ${status ? "bg-green-100 text-green-700 dark:bg-green-900/30 dark:text-green-300" : "bg-white/40 text-slate-500 dark:bg-white/[0.08] dark:text-slate-400"}`,
2266
+ children: status ? tCommon("active") : tCommon("inactive")
2267
+ }
2268
+ );
2269
+ }
2270
+ function EntityCard({
2271
+ icon,
2272
+ title,
2273
+ subtitle,
2274
+ status,
2275
+ accentGradient,
2276
+ children,
2277
+ footer,
2278
+ onClick,
2279
+ className = "",
2280
+ dragProps
2281
+ }) {
2282
+ const isInteractive = Boolean(onClick);
2283
+ const plainTextTitle = isPlainTextTitle(title) ? String(title) : void 0;
2284
+ const handleKeyDown = useCallback(
2285
+ (event) => {
2286
+ if (onClick && (event.key === "Enter" || event.key === " ")) {
2287
+ event.preventDefault();
2288
+ onClick();
2289
+ }
2290
+ },
2291
+ [onClick]
2292
+ );
2293
+ return /* @__PURE__ */ jsxs(
2294
+ Card,
2295
+ {
2296
+ role: isInteractive ? "article" : "listitem",
2297
+ "aria-label": isInteractive ? plainTextTitle : void 0,
2298
+ "data-testid": getTestIdFromTitle(title),
2299
+ tabIndex: isInteractive ? 0 : void 0,
2300
+ onKeyDown: isInteractive ? handleKeyDown : void 0,
2301
+ className: `group overflow-hidden transition-all duration-200 hover:-translate-y-0.5 hover:shadow-md ${isInteractive ? "cursor-pointer" : ""} ${className}`,
2302
+ onPress: onClick,
2303
+ pressable: isInteractive,
2304
+ ...dragProps,
2305
+ children: [
2306
+ accentGradient && /* @__PURE__ */ jsx("div", { className: `h-1.5 w-full bg-gradient-to-r ${accentGradient}` }),
2307
+ /* @__PURE__ */ jsxs("div", { className: "p-4", children: [
2308
+ /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-3", children: [
2309
+ /* @__PURE__ */ jsx("div", { "data-testid": "entity-card-title", children: /* @__PURE__ */ jsx(
2310
+ ItemSummary,
2311
+ {
2312
+ icon,
2313
+ title,
2314
+ subtitle: subtitle ? /* @__PURE__ */ jsx("span", { "data-testid": "entity-card-subtitle", children: subtitle }) : void 0,
2315
+ iconContainerClassName: "shrink-0",
2316
+ titleClassName: isPlainTextTitle(title) ? "truncate font-semibold text-slate-900 dark:text-white" : "font-semibold text-slate-900 dark:text-white",
2317
+ subtitleClassName: "mt-0.5 text-xs text-slate-500 dark:text-slate-400"
2318
+ }
2319
+ ) }),
2320
+ status !== void 0 && /* @__PURE__ */ jsx(StatusBadgeInternal, { status })
2321
+ ] }),
2322
+ children && /* @__PURE__ */ jsx("div", { className: "mt-3", children }),
2323
+ footer && /* @__PURE__ */ jsx("div", { className: "mt-3 border-t border-white/30 pt-3 dark:border-white/10 flex gap-2 justify-end opacity-0 transition-opacity duration-200 group-hover:opacity-100 group-focus-within:opacity-100", children: footer })
2324
+ ] })
2325
+ ]
2326
+ }
2327
+ );
2328
+ }
2329
+ var TONE_STYLES = {
2330
+ error: { container: "border-red-500/30 bg-red-500/20 text-red-600 dark:text-red-400", dot: "bg-red-500" },
2331
+ warning: { container: "border-amber-500/30 bg-amber-500/20 text-amber-600 dark:text-amber-400", dot: "bg-amber-500" },
2332
+ info: { container: "border-blue-500/30 bg-blue-500/20 text-blue-600 dark:text-blue-400", dot: "bg-blue-500" },
2333
+ neutral: { container: "border-slate-500/30 bg-slate-500/20 text-slate-600 dark:text-slate-400", dot: "bg-slate-500" },
2334
+ success: { container: "border-emerald-500/30 bg-emerald-500/20 text-emerald-600 dark:text-emerald-400", dot: "bg-emerald-500" }
2335
+ };
2336
+ var LEGACY_STATUS_STYLES = {
2337
+ pending: "border-yellow-200 bg-yellow-50 text-yellow-700 dark:border-yellow-700/30 dark:bg-yellow-900/20 dark:text-yellow-400",
2338
+ approved: "border-green-200 bg-green-50 text-green-700 dark:border-green-700/30 dark:bg-green-900/20 dark:text-green-400",
2339
+ rejected: "border-red-200 bg-red-50 text-red-700 dark:border-red-700/30 dark:bg-red-900/20 dark:text-red-400",
2340
+ active: "border-emerald-200 bg-emerald-50 text-emerald-700 dark:border-emerald-700/30 dark:bg-emerald-900/20 dark:text-emerald-400",
2341
+ inactive: "border-white/30 dark:border-white/10 bg-slate-500/10 text-slate-700 dark:bg-slate-900/20 dark:text-slate-400",
2342
+ processing: "border-blue-200 bg-blue-50 text-blue-700 dark:border-blue-700/30 dark:bg-blue-900/20 dark:text-blue-400",
2343
+ error: "border-red-200 bg-red-50 text-red-700 dark:border-red-700/30 dark:bg-red-900/20 dark:text-red-400",
2344
+ success: "border-green-200 bg-green-50 text-green-700 dark:border-green-700/30 dark:bg-green-900/20 dark:text-green-400"
2345
+ };
2346
+ var LEGACY_DOT_STYLES = {
2347
+ pending: "bg-yellow-500",
2348
+ approved: "bg-green-500",
2349
+ rejected: "bg-red-500",
2350
+ active: "bg-emerald-500",
2351
+ inactive: "bg-slate-500",
2352
+ processing: "bg-blue-500",
2353
+ error: "bg-red-500",
2354
+ success: "bg-green-500"
2355
+ };
2356
+ var SIZE_STYLES = {
2357
+ sm: "px-2 py-0.5 text-xs",
2358
+ md: "px-2.5 py-1 text-xs"
2359
+ };
2360
+ var DEFAULT_LEGACY_STYLE = "border-white/30 dark:border-white/10 bg-slate-500/10 text-slate-700 dark:bg-slate-900/20 dark:text-slate-400";
2361
+ var StatusBadge = forwardRef(function StatusBadge2({ status, label, size = "md", className = "", ...props }, ref) {
2362
+ if ("statusConfig" in props && props.statusConfig) {
2363
+ const configuredStatus = props.statusConfig[status];
2364
+ if (!configuredStatus) {
2365
+ return null;
2366
+ }
2367
+ const toneStyle = TONE_STYLES[configuredStatus.tone ?? "neutral"];
2368
+ const IconComponent = configuredStatus.icon;
2369
+ const resolvedLabel2 = label ?? configuredStatus.label;
2370
+ return /* @__PURE__ */ jsxs(
2371
+ "div",
2372
+ {
2373
+ ref,
2374
+ role: "status",
2375
+ "aria-label": `Status: ${status}`,
2376
+ "data-testid": `status-badge-${status}`,
2377
+ className: `inline-flex items-center gap-1.5 rounded-full border font-semibold backdrop-blur-sm ${SIZE_STYLES[size]} ${toneStyle.container} ${className}`,
2378
+ children: [
2379
+ IconComponent ? /* @__PURE__ */ jsx(IconComponent, { className: `h-3 w-3 ${configuredStatus.animateIcon ? "animate-spin motion-reduce:animate-none" : ""}` }) : /* @__PURE__ */ jsx("span", { className: `h-2 w-2 rounded-full ${toneStyle.dot}` }),
2380
+ resolvedLabel2
2381
+ ]
2382
+ }
2383
+ );
2384
+ }
2385
+ const legacyStyle = LEGACY_STATUS_STYLES[status] ?? DEFAULT_LEGACY_STYLE;
2386
+ const legacyDot = LEGACY_DOT_STYLES[status] ?? "bg-slate-500";
2387
+ const resolvedLabel = label ?? status;
2388
+ return /* @__PURE__ */ jsxs(
2389
+ "div",
2390
+ {
2391
+ ref,
2392
+ role: "status",
2393
+ "aria-label": `Status: ${status}`,
2394
+ "data-testid": `status-badge-${status}`,
2395
+ className: `inline-flex items-center gap-1.5 rounded-full border font-semibold ${SIZE_STYLES[size]} ${legacyStyle} ${className}`,
2396
+ children: [
2397
+ /* @__PURE__ */ jsx("span", { className: `h-2 w-2 rounded-full ${legacyDot}` }),
2398
+ resolvedLabel
2399
+ ]
2400
+ }
2401
+ );
2402
+ });
2403
+ function classNames(...classes) {
2404
+ return classes.filter(Boolean).join(" ");
2405
+ }
2406
+ function StepTimeline({
2407
+ steps,
2408
+ progressLabel,
2409
+ onStepClick,
2410
+ renderCompleteContent
2411
+ }) {
2412
+ return /* @__PURE__ */ jsx("div", { className: "lg:border-t lg:border-b lg:border-gray-200 dark:lg:border-white/15", children: /* @__PURE__ */ jsx("nav", { "aria-label": progressLabel, className: "mx-auto max-w-7xl px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsx(
2413
+ "ol",
2414
+ {
2415
+ role: "list",
2416
+ className: "overflow-hidden rounded-md lg:flex lg:rounded-none lg:border-r lg:border-l lg:border-gray-200 dark:lg:border-white/15",
2417
+ children: steps.map((step2, stepIndex) => /* @__PURE__ */ jsx("li", { className: "relative overflow-hidden lg:flex-1", children: /* @__PURE__ */ jsxs(
2418
+ "button",
2419
+ {
2420
+ type: "button",
2421
+ onClick: () => onStepClick?.(stepIndex),
2422
+ disabled: step2.status === "upcoming",
2423
+ className: classNames(
2424
+ step2.status === "upcoming" ? "cursor-not-allowed" : "cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800",
2425
+ stepIndex === 0 ? "rounded-t-md border-b-0" : "",
2426
+ stepIndex === steps.length - 1 ? "rounded-b-md border-t-0" : "",
2427
+ "w-full overflow-hidden border border-gray-200 text-left transition-colors lg:border-0 dark:border-white/15"
2428
+ ),
2429
+ children: [
2430
+ step2.status === "complete" ? /* @__PURE__ */ jsxs("div", { className: "group", children: [
2431
+ /* @__PURE__ */ jsx(
2432
+ "span",
2433
+ {
2434
+ "aria-hidden": "true",
2435
+ className: "absolute top-0 left-0 h-full w-1 bg-transparent group-hover:bg-gray-200 lg:top-auto lg:bottom-0 lg:h-1 lg:w-full dark:group-hover:bg-white/20"
2436
+ }
2437
+ ),
2438
+ renderCompleteContent ? renderCompleteContent(step2) : /* @__PURE__ */ jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
2439
+ /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx("span", { className: "flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 dark:bg-blue-500", children: /* @__PURE__ */ jsx(CheckIcon$1, { "aria-hidden": "true", className: "h-5 w-5 text-white" }) }) }),
2440
+ /* @__PURE__ */ jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
2441
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-900 dark:text-white", children: step2.name }),
2442
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
2443
+ ] })
2444
+ ] })
2445
+ ] }) : step2.status === "current" ? /* @__PURE__ */ jsxs("div", { "aria-current": "step", children: [
2446
+ /* @__PURE__ */ jsx(
2447
+ "span",
2448
+ {
2449
+ "aria-hidden": "true",
2450
+ className: "absolute top-0 left-0 h-full w-1 bg-blue-600 lg:top-auto lg:bottom-0 lg:h-1 lg:w-full dark:bg-blue-500"
2451
+ }
2452
+ ),
2453
+ /* @__PURE__ */ jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
2454
+ /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-blue-600 dark:border-blue-500", children: /* @__PURE__ */ jsx("span", { className: "text-blue-600 dark:text-blue-400", children: step2.id }) }) }),
2455
+ /* @__PURE__ */ jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
2456
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-blue-600 dark:text-blue-400", children: step2.name }),
2457
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
2458
+ ] })
2459
+ ] })
2460
+ ] }) : /* @__PURE__ */ jsxs("div", { className: "group", children: [
2461
+ /* @__PURE__ */ jsx(
2462
+ "span",
2463
+ {
2464
+ "aria-hidden": "true",
2465
+ className: "absolute top-0 left-0 h-full w-1 bg-transparent group-hover:bg-gray-200 lg:top-auto lg:bottom-0 lg:h-1 lg:w-full dark:group-hover:bg-white/20"
2466
+ }
2467
+ ),
2468
+ /* @__PURE__ */ jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
2469
+ /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-gray-300 dark:border-white/15", children: /* @__PURE__ */ jsx("span", { className: "text-gray-500 dark:text-gray-400", children: step2.id }) }) }),
2470
+ /* @__PURE__ */ jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
2471
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.name }),
2472
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
2473
+ ] })
2474
+ ] })
2475
+ ] }),
2476
+ stepIndex !== 0 ? /* @__PURE__ */ jsx("div", { "aria-hidden": "true", className: "absolute inset-0 top-0 left-0 hidden w-3 lg:block", children: /* @__PURE__ */ jsx(
2477
+ "svg",
2478
+ {
2479
+ fill: "none",
2480
+ viewBox: "0 0 12 82",
2481
+ preserveAspectRatio: "none",
2482
+ className: "h-full w-full text-gray-200 dark:text-white/15",
2483
+ children: /* @__PURE__ */ jsx("path", { d: "M0.5 0V31L10.5 41L0.5 51V82", stroke: "currentColor", vectorEffect: "non-scaling-stroke" })
2484
+ }
2485
+ ) }) : null
2486
+ ]
2487
+ }
2488
+ ) }, step2.id))
2489
+ }
2490
+ ) }) });
2491
+ }
2492
+ function AgentAnalysisCard({ name, avatar, duration, output }) {
2493
+ return /* @__PURE__ */ jsxs("div", { className: "liquid-surface rounded-xl p-3 transition-all duration-300", children: [
2494
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 mb-1.5", children: [
2495
+ /* @__PURE__ */ jsx("img", { src: avatar, alt: "", className: "h-6 w-6 rounded-lg" }),
2496
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
2497
+ /* @__PURE__ */ jsx("div", { className: "text-[10px] font-semibold text-white", children: name }),
2498
+ /* @__PURE__ */ jsx("div", { className: "text-[8px] text-gray-500", children: duration })
2499
+ ] }),
2500
+ /* @__PURE__ */ jsx(CheckCircleIcon$1, { className: "h-3.5 w-3.5 text-emerald-400 shrink-0" })
2501
+ ] }),
2502
+ /* @__PURE__ */ jsx("p", { className: "text-[8px] text-gray-400 leading-relaxed", children: output })
2503
+ ] });
2504
+ }
2224
2505
  function DashboardView({ spec, className }) {
2225
2506
  const layout = spec.layout ?? "grid";
2226
2507
  const hasCharts = (spec.charts?.length ?? 0) > 0;
@@ -2253,6 +2534,13 @@ function DashboardView({ spec, className }) {
2253
2534
  /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-indigo-700 dark:text-indigo-300", children: "Recommendation" }),
2254
2535
  /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-indigo-900 dark:text-indigo-100", children: spec.recommendation })
2255
2536
  ] }),
2537
+ spec.sections && spec.sections.length > 0 && /* @__PURE__ */ jsx("div", { className: "space-y-4", children: spec.sections.map((section, index) => /* @__PURE__ */ jsx(
2538
+ DashboardSectionRenderer,
2539
+ {
2540
+ section
2541
+ },
2542
+ `${section.type}-${index}`
2543
+ )) }),
2256
2544
  spec.meta && Object.keys(spec.meta).length > 0 && /* @__PURE__ */ jsx("footer", { className: "flex flex-wrap gap-4 text-[10px] text-slate-400 dark:text-slate-500", children: Object.entries(spec.meta).map(([key, value]) => /* @__PURE__ */ jsxs("span", { children: [
2257
2545
  /* @__PURE__ */ jsx("span", { className: "font-semibold uppercase tracking-wide", children: key }),
2258
2546
  ": ",
@@ -2320,6 +2608,230 @@ function formatNumber(value) {
2320
2608
  if (Math.abs(value) >= 1e3) return new Intl.NumberFormat("en-US").format(Math.round(value));
2321
2609
  return value.toFixed(Math.abs(value) < 10 ? 2 : 1);
2322
2610
  }
2611
+ function DashboardSectionRenderer({ section }) {
2612
+ switch (section.type) {
2613
+ case "entity":
2614
+ return /* @__PURE__ */ jsx(EntitySection, { data: section.data });
2615
+ case "narrative":
2616
+ return /* @__PURE__ */ jsx(NarrativeSection, { data: section.data });
2617
+ case "lifecycle":
2618
+ return /* @__PURE__ */ jsx(LifecycleSection, { data: section.data });
2619
+ case "receipt":
2620
+ return /* @__PURE__ */ jsx(ReceiptSection, { data: section.data });
2621
+ case "approval":
2622
+ return /* @__PURE__ */ jsx(ApprovalSection, { data: section.data });
2623
+ case "fiscal":
2624
+ return /* @__PURE__ */ jsx(FiscalSection, { data: section.data });
2625
+ case "feed":
2626
+ return /* @__PURE__ */ jsx(FeedSection, { data: section.data });
2627
+ case "score":
2628
+ return /* @__PURE__ */ jsx(ScoreSection, { data: section.data });
2629
+ case "note":
2630
+ return /* @__PURE__ */ jsx(NoteSection, { data: section.data });
2631
+ default:
2632
+ return /* @__PURE__ */ jsx(NoteSection, { data: { body: JSON.stringify(section, null, 2), tone: "info" } });
2633
+ }
2634
+ }
2635
+ function EntitySection({ data }) {
2636
+ const statusKey = data.status?.tone === "success" ? "success" : data.status?.tone === "danger" ? "error" : data.status?.tone === "warning" ? "pending" : data.status?.tone === "info" ? "processing" : "active";
2637
+ return /* @__PURE__ */ jsx(
2638
+ EntityCard,
2639
+ {
2640
+ title: data.title,
2641
+ subtitle: data.subtitle,
2642
+ status: data.status ? /* @__PURE__ */ jsx(StatusBadge, { status: statusKey, label: data.status.label }) : void 0,
2643
+ children: data.fields && data.fields.length > 0 && /* @__PURE__ */ jsx(
2644
+ ItemSummary,
2645
+ {
2646
+ title: "",
2647
+ metadata: data.fields.map((f) => ({ label: f.label, value: String(f.value) }))
2648
+ }
2649
+ )
2650
+ }
2651
+ );
2652
+ }
2653
+ function NarrativeSection({ data }) {
2654
+ if (data.agent) {
2655
+ return /* @__PURE__ */ jsx(
2656
+ AgentAnalysisCard,
2657
+ {
2658
+ name: data.agent.name,
2659
+ avatar: data.agent.avatarUrl ?? "",
2660
+ duration: data.durationMs !== void 0 ? `${(data.durationMs / 1e3).toFixed(1)}s` : "",
2661
+ output: data.body
2662
+ }
2663
+ );
2664
+ }
2665
+ return /* @__PURE__ */ jsxs("section", { className: "rounded-xl border border-zinc-950/10 bg-white p-4 dark:border-white/10 dark:bg-zinc-900", children: [
2666
+ data.title && /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-slate-900 dark:text-slate-100", children: data.title }),
2667
+ /* @__PURE__ */ jsx("p", { className: "mt-1 whitespace-pre-line text-sm leading-relaxed text-slate-700 dark:text-slate-300", children: data.body })
2668
+ ] });
2669
+ }
2670
+ function LifecycleSection({ data }) {
2671
+ return /* @__PURE__ */ jsxs("section", { className: "rounded-xl border border-zinc-950/10 bg-white p-4 dark:border-white/10 dark:bg-zinc-900", children: [
2672
+ data.title && /* @__PURE__ */ jsx("h3", { className: "mb-3 text-sm font-semibold text-slate-900 dark:text-slate-100", children: data.title }),
2673
+ /* @__PURE__ */ jsx(
2674
+ StepTimeline,
2675
+ {
2676
+ steps: data.steps,
2677
+ progressLabel: data.progressLabel ?? data.title ?? "Progress"
2678
+ }
2679
+ )
2680
+ ] });
2681
+ }
2682
+ function ReceiptSection({ data }) {
2683
+ const currency = data.currency ?? "BRL";
2684
+ const fmt = (v) => typeof v === "number" ? new Intl.NumberFormat("pt-BR", { style: "currency", currency }).format(v) : v;
2685
+ return /* @__PURE__ */ jsxs("section", { className: "rounded-xl border border-zinc-950/10 bg-white dark:border-white/10 dark:bg-zinc-900", children: [
2686
+ data.title && /* @__PURE__ */ jsx("h3", { className: "border-b border-zinc-950/10 px-5 py-3 text-sm font-semibold text-slate-900 dark:border-white/10 dark:text-slate-100", children: data.title }),
2687
+ /* @__PURE__ */ jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxs("table", { className: "min-w-full divide-y divide-zinc-200 text-sm dark:divide-zinc-700", children: [
2688
+ /* @__PURE__ */ jsx("thead", { className: "bg-zinc-50 dark:bg-zinc-800/50", children: /* @__PURE__ */ jsxs("tr", { children: [
2689
+ /* @__PURE__ */ jsx("th", { className: "px-4 py-2 text-left text-xs font-medium uppercase tracking-wide text-slate-500 dark:text-slate-400", children: "Item" }),
2690
+ /* @__PURE__ */ jsx("th", { className: "px-4 py-2 text-right text-xs font-medium uppercase tracking-wide text-slate-500 dark:text-slate-400", children: "Qtd" }),
2691
+ /* @__PURE__ */ jsx("th", { className: "px-4 py-2 text-right text-xs font-medium uppercase tracking-wide text-slate-500 dark:text-slate-400", children: "Unit." }),
2692
+ /* @__PURE__ */ jsx("th", { className: "px-4 py-2 text-right text-xs font-medium uppercase tracking-wide text-slate-500 dark:text-slate-400", children: "Total" })
2693
+ ] }) }),
2694
+ /* @__PURE__ */ jsx("tbody", { className: "divide-y divide-zinc-100 dark:divide-zinc-800", children: data.items.map((item, i) => /* @__PURE__ */ jsxs("tr", { children: [
2695
+ /* @__PURE__ */ jsx("td", { className: "px-4 py-2 text-left text-slate-700 dark:text-slate-300", children: item.description }),
2696
+ /* @__PURE__ */ jsx("td", { className: "px-4 py-2 text-right text-slate-700 dark:text-slate-300", children: item.quantity }),
2697
+ /* @__PURE__ */ jsx("td", { className: "px-4 py-2 text-right text-slate-700 dark:text-slate-300", children: fmt(item.unitPrice) }),
2698
+ /* @__PURE__ */ jsx("td", { className: "px-4 py-2 text-right font-medium text-slate-900 dark:text-slate-100", children: fmt(item.total) })
2699
+ ] }, i)) }),
2700
+ /* @__PURE__ */ jsxs("tfoot", { className: "border-t border-zinc-200 dark:border-zinc-700", children: [
2701
+ data.subtotal !== void 0 && /* @__PURE__ */ jsxs("tr", { children: [
2702
+ /* @__PURE__ */ jsx("td", { colSpan: 3, className: "px-4 py-1.5 text-right text-xs text-slate-500", children: "Subtotal" }),
2703
+ /* @__PURE__ */ jsx("td", { className: "px-4 py-1.5 text-right text-xs text-slate-700 dark:text-slate-300", children: fmt(data.subtotal) })
2704
+ ] }),
2705
+ data.tax !== void 0 && /* @__PURE__ */ jsxs("tr", { children: [
2706
+ /* @__PURE__ */ jsx("td", { colSpan: 3, className: "px-4 py-1.5 text-right text-xs text-slate-500", children: "Tributos" }),
2707
+ /* @__PURE__ */ jsx("td", { className: "px-4 py-1.5 text-right text-xs text-slate-700 dark:text-slate-300", children: fmt(data.tax) })
2708
+ ] }),
2709
+ /* @__PURE__ */ jsxs("tr", { children: [
2710
+ /* @__PURE__ */ jsx("td", { colSpan: 3, className: "px-4 py-2 text-right text-sm font-semibold text-slate-900 dark:text-slate-100", children: "Total" }),
2711
+ /* @__PURE__ */ jsx("td", { className: "px-4 py-2 text-right text-sm font-semibold text-slate-900 dark:text-slate-100", children: fmt(data.total) })
2712
+ ] })
2713
+ ] })
2714
+ ] }) })
2715
+ ] });
2716
+ }
2717
+ function ApprovalSection({ data }) {
2718
+ const tone = data.decision === "approved" ? "success" : data.decision === "rejected" ? "danger" : "warning";
2719
+ const accentClasses = TONE_BLOCK[tone];
2720
+ return /* @__PURE__ */ jsx("section", { className: `rounded-xl border p-4 ${accentClasses}`, children: /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-3", children: [
2721
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
2722
+ data.prompt && /* @__PURE__ */ jsx("p", { className: "text-xs text-slate-500 dark:text-slate-400", children: data.prompt }),
2723
+ /* @__PURE__ */ jsxs("p", { className: "mt-1 text-sm font-semibold capitalize text-slate-900 dark:text-slate-100", children: [
2724
+ data.decision,
2725
+ data.by?.name && /* @__PURE__ */ jsxs("span", { className: "font-normal text-slate-500 dark:text-slate-400", children: [
2726
+ " ",
2727
+ "\u2014 ",
2728
+ data.by.name
2729
+ ] })
2730
+ ] }),
2731
+ data.reason && /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-slate-700 dark:text-slate-300", children: data.reason })
2732
+ ] }),
2733
+ data.at && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-[10px] uppercase tracking-wide text-slate-500 dark:text-slate-400", children: formatTimestamp(data.at) })
2734
+ ] }) });
2735
+ }
2736
+ function FiscalSection({ data }) {
2737
+ const env = data.environment ?? "homologation";
2738
+ const envLabel = env === "production" ? "Produ\xE7\xE3o (SEFAZ)" : "Homologa\xE7\xE3o (sandbox)";
2739
+ return /* @__PURE__ */ jsxs("section", { className: "rounded-xl border border-emerald-500/20 bg-emerald-500/5 p-4 dark:border-emerald-400/30 dark:bg-emerald-500/10", children: [
2740
+ /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-emerald-800 dark:text-emerald-200", children: "NF-e emitida" }),
2741
+ /* @__PURE__ */ jsxs("dl", { className: "mt-2 grid grid-cols-1 gap-x-4 gap-y-1 text-xs sm:grid-cols-2", children: [
2742
+ data.number && /* @__PURE__ */ jsxs("div", { children: [
2743
+ /* @__PURE__ */ jsx("dt", { className: "text-emerald-700/70 dark:text-emerald-300/70", children: "N\xFAmero" }),
2744
+ /* @__PURE__ */ jsx("dd", { className: "font-medium text-emerald-900 dark:text-emerald-100", children: data.number })
2745
+ ] }),
2746
+ data.accessKey && /* @__PURE__ */ jsxs("div", { className: "sm:col-span-2", children: [
2747
+ /* @__PURE__ */ jsx("dt", { className: "text-emerald-700/70 dark:text-emerald-300/70", children: "Chave de acesso" }),
2748
+ /* @__PURE__ */ jsx("dd", { className: "break-all font-mono text-[11px] text-emerald-900 dark:text-emerald-100", children: data.accessKey })
2749
+ ] }),
2750
+ /* @__PURE__ */ jsxs("div", { children: [
2751
+ /* @__PURE__ */ jsx("dt", { className: "text-emerald-700/70 dark:text-emerald-300/70", children: "Ambiente" }),
2752
+ /* @__PURE__ */ jsx("dd", { className: "font-medium text-emerald-900 dark:text-emerald-100", children: envLabel })
2753
+ ] }),
2754
+ data.statusUrl && /* @__PURE__ */ jsxs("div", { className: "sm:col-span-2", children: [
2755
+ /* @__PURE__ */ jsx("dt", { className: "text-emerald-700/70 dark:text-emerald-300/70", children: "Status" }),
2756
+ /* @__PURE__ */ jsx("dd", { children: /* @__PURE__ */ jsx(
2757
+ "a",
2758
+ {
2759
+ href: data.statusUrl,
2760
+ target: "_blank",
2761
+ rel: "noreferrer",
2762
+ className: "text-emerald-900 underline hover:text-emerald-700 dark:text-emerald-100",
2763
+ children: data.statusUrl
2764
+ }
2765
+ ) })
2766
+ ] })
2767
+ ] })
2768
+ ] });
2769
+ }
2770
+ function FeedSection({ data }) {
2771
+ return /* @__PURE__ */ jsxs("section", { className: "rounded-xl border border-zinc-950/10 bg-white p-4 dark:border-white/10 dark:bg-zinc-900", children: [
2772
+ data.title && /* @__PURE__ */ jsx("h3", { className: "mb-2 text-sm font-semibold text-slate-900 dark:text-slate-100", children: data.title }),
2773
+ /* @__PURE__ */ jsx("ul", { className: "space-y-2", children: data.items.map((item, index) => /* @__PURE__ */ jsx(
2774
+ "li",
2775
+ {
2776
+ className: `rounded-lg border px-3 py-2 ${TONE_BLOCK[item.tone ?? "default"]}`,
2777
+ children: /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-3", children: [
2778
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
2779
+ /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-slate-900 dark:text-slate-100", children: item.title }),
2780
+ item.description && /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs text-slate-600 dark:text-slate-400", children: item.description })
2781
+ ] }),
2782
+ item.timestamp && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-[10px] uppercase tracking-wide text-slate-500 dark:text-slate-400", children: formatTimestamp(item.timestamp) })
2783
+ ] })
2784
+ },
2785
+ index
2786
+ )) })
2787
+ ] });
2788
+ }
2789
+ function ScoreSection({ data }) {
2790
+ const tone = data.score >= 70 ? "success" : data.score >= 40 ? "warning" : "danger";
2791
+ const variant = tone;
2792
+ return /* @__PURE__ */ jsx("section", { className: "rounded-xl border border-zinc-950/10 bg-white p-4 dark:border-white/10 dark:bg-zinc-900", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-3", children: [
2793
+ /* @__PURE__ */ jsx(
2794
+ MetricCard,
2795
+ {
2796
+ title: data.label,
2797
+ value: `${Math.round(data.score)}`,
2798
+ variant
2799
+ }
2800
+ ),
2801
+ /* @__PURE__ */ jsxs("div", { className: "sm:col-span-2", children: [
2802
+ data.qualification && /* @__PURE__ */ jsx("p", { className: "text-sm font-medium capitalize text-slate-900 dark:text-slate-100", children: data.qualification }),
2803
+ data.reasoning && /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs leading-relaxed text-slate-600 dark:text-slate-400", children: data.reasoning })
2804
+ ] })
2805
+ ] }) });
2806
+ }
2807
+ function NoteSection({ data }) {
2808
+ const accentClasses = TONE_BLOCK[data.tone ?? "default"];
2809
+ return /* @__PURE__ */ jsxs("section", { className: `rounded-xl border p-4 ${accentClasses}`, children: [
2810
+ data.title && /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-slate-900 dark:text-slate-100", children: data.title }),
2811
+ /* @__PURE__ */ jsx("p", { className: "mt-1 whitespace-pre-line text-sm text-slate-700 dark:text-slate-300", children: data.body })
2812
+ ] });
2813
+ }
2814
+ var TONE_BLOCK = {
2815
+ default: "border-zinc-950/10 bg-white dark:border-white/10 dark:bg-zinc-900",
2816
+ info: "border-sky-500/20 bg-sky-500/5 dark:border-sky-400/30 dark:bg-sky-500/10",
2817
+ success: "border-emerald-500/20 bg-emerald-500/5 dark:border-emerald-400/30 dark:bg-emerald-500/10",
2818
+ warning: "border-amber-500/20 bg-amber-500/5 dark:border-amber-400/30 dark:bg-amber-500/10",
2819
+ danger: "border-rose-500/20 bg-rose-500/5 dark:border-rose-400/30 dark:bg-rose-500/10"
2820
+ };
2821
+ function formatTimestamp(iso) {
2822
+ try {
2823
+ const dt = new Date(iso);
2824
+ if (Number.isNaN(dt.getTime())) return iso;
2825
+ return dt.toLocaleString("pt-BR", {
2826
+ day: "2-digit",
2827
+ month: "2-digit",
2828
+ hour: "2-digit",
2829
+ minute: "2-digit"
2830
+ });
2831
+ } catch {
2832
+ return iso;
2833
+ }
2834
+ }
2323
2835
 
2324
2836
  // src/types/dashboard-spec.ts
2325
2837
  function validateDashboardSpec(spec) {
@@ -2328,8 +2840,9 @@ function validateDashboardSpec(spec) {
2328
2840
  const hasKpis = (spec.kpis?.length ?? 0) > 0;
2329
2841
  const hasTable = (spec.table?.rows.length ?? 0) > 0;
2330
2842
  const hasRecommendation = Boolean(spec.recommendation?.trim());
2331
- if (!hasCharts && !hasKpis && !hasTable && !hasRecommendation) {
2332
- issues.push({ kind: "empty", message: "Dashboard has no content (no charts, KPIs, table, or recommendation)." });
2843
+ const hasSections = (spec.sections?.length ?? 0) > 0;
2844
+ if (!hasCharts && !hasKpis && !hasTable && !hasRecommendation && !hasSections) {
2845
+ issues.push({ kind: "empty", message: "Dashboard has no content (no charts, KPIs, table, recommendation, or sections)." });
2333
2846
  }
2334
2847
  spec.charts?.forEach((chart, chartIndex) => {
2335
2848
  if (chart.series.length === 0) {
@@ -2358,19 +2871,6 @@ function validateDashboardSpec(spec) {
2358
2871
  }
2359
2872
  return issues;
2360
2873
  }
2361
- function AgentAnalysisCard({ name, avatar, duration, output }) {
2362
- return /* @__PURE__ */ jsxs("div", { className: "liquid-surface rounded-xl p-3 transition-all duration-300", children: [
2363
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 mb-1.5", children: [
2364
- /* @__PURE__ */ jsx("img", { src: avatar, alt: "", className: "h-6 w-6 rounded-lg" }),
2365
- /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
2366
- /* @__PURE__ */ jsx("div", { className: "text-[10px] font-semibold text-white", children: name }),
2367
- /* @__PURE__ */ jsx("div", { className: "text-[8px] text-gray-500", children: duration })
2368
- ] }),
2369
- /* @__PURE__ */ jsx(CheckCircleIcon$1, { className: "h-3.5 w-3.5 text-emerald-400 shrink-0" })
2370
- ] }),
2371
- /* @__PURE__ */ jsx("p", { className: "text-[8px] text-gray-400 leading-relaxed", children: output })
2372
- ] });
2373
- }
2374
2874
  function RecommendationCard({ price, delta, confidence, margin, minMax }) {
2375
2875
  return /* @__PURE__ */ jsxs("div", { className: "liquid-surface rounded-xl p-3.5", children: [
2376
2876
  /* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center gap-1.5 text-[11px] font-semibold text-gray-400", children: [
@@ -3750,7 +4250,7 @@ function ProgressIndicator({
3750
4250
  stiffness: 500,
3751
4251
  damping: 30
3752
4252
  },
3753
- children: showNumbers && (isCompleted ? /* @__PURE__ */ jsx(CheckIcon2, { className: "w-4 h-4" }) : index + 1)
4253
+ children: showNumbers && (isCompleted ? /* @__PURE__ */ jsx(CheckIcon3, { className: "w-4 h-4" }) : index + 1)
3754
4254
  }
3755
4255
  ),
3756
4256
  index < steps - 1 && /* @__PURE__ */ jsx(
@@ -3765,7 +4265,7 @@ function ProgressIndicator({
3765
4265
  ] }, index);
3766
4266
  }) });
3767
4267
  }
3768
- function CheckIcon2({ className }) {
4268
+ function CheckIcon3({ className }) {
3769
4269
  return /* @__PURE__ */ jsx(
3770
4270
  "svg",
3771
4271
  {
@@ -5722,43 +6222,19 @@ var FormField = React12__default.forwardRef(
5722
6222
  ] });
5723
6223
  }
5724
6224
  );
5725
- FormField.displayName = "FormField";
5726
- var FormSection = React12__default.forwardRef(
5727
- ({ title, description, children, className, ...props }, ref) => {
5728
- return /* @__PURE__ */ jsxs("div", { ref, className: clsx("space-y-4", className), ...props, children: [
5729
- (title || description) && /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
5730
- title && /* @__PURE__ */ jsx("h3", { className: "text-base font-semibold text-gray-900 dark:text-white", children: title }),
5731
- description && /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: description })
5732
- ] }),
5733
- /* @__PURE__ */ jsx("div", { className: "space-y-4", children })
5734
- ] });
5735
- }
5736
- );
5737
- FormSection.displayName = "FormSection";
5738
- function ItemSummary({
5739
- icon,
5740
- title,
5741
- subtitle,
5742
- metadata,
5743
- iconContainerClassName = "flex size-10 flex-shrink-0 items-center justify-center rounded-lg bg-indigo-100 dark:bg-indigo-900/30",
5744
- titleClassName = "truncate text-sm font-semibold text-gray-900 dark:text-white",
5745
- subtitleClassName = "truncate text-xs text-gray-500 dark:text-gray-400",
5746
- metadataContainerClassName = "mt-2 flex flex-wrap gap-3",
5747
- metadataLabelClassName = "text-xs text-gray-500 dark:text-gray-400",
5748
- metadataValueClassName = "text-xs font-medium text-gray-900 dark:text-white"
5749
- }) {
5750
- return /* @__PURE__ */ jsxs("div", { className: "flex flex-1 min-w-0 items-start gap-3", children: [
5751
- icon ? /* @__PURE__ */ jsx("div", { className: iconContainerClassName, children: icon }) : null,
5752
- /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
5753
- /* @__PURE__ */ jsx("div", { className: titleClassName, children: title }),
5754
- subtitle ? /* @__PURE__ */ jsx("div", { className: subtitleClassName, children: subtitle }) : null,
5755
- metadata && metadata.length > 0 ? /* @__PURE__ */ jsx("div", { className: metadataContainerClassName, children: metadata.map((metadataItem, index) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
5756
- /* @__PURE__ */ jsx("span", { className: metadataLabelClassName, children: metadataItem.label }),
5757
- /* @__PURE__ */ jsx("span", { className: metadataValueClassName, children: metadataItem.value })
5758
- ] }, index)) }) : null
5759
- ] })
5760
- ] });
5761
- }
6225
+ FormField.displayName = "FormField";
6226
+ var FormSection = React12__default.forwardRef(
6227
+ ({ title, description, children, className, ...props }, ref) => {
6228
+ return /* @__PURE__ */ jsxs("div", { ref, className: clsx("space-y-4", className), ...props, children: [
6229
+ (title || description) && /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
6230
+ title && /* @__PURE__ */ jsx("h3", { className: "text-base font-semibold text-gray-900 dark:text-white", children: title }),
6231
+ description && /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: description })
6232
+ ] }),
6233
+ /* @__PURE__ */ jsx("div", { className: "space-y-4", children })
6234
+ ] });
6235
+ }
6236
+ );
6237
+ FormSection.displayName = "FormSection";
5762
6238
  var CONTAINER_STYLES2 = {
5763
6239
  default: "bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",
5764
6240
  compact: "bg-transparent",
@@ -5822,80 +6298,6 @@ var ListItem = React12__default.forwardRef(
5822
6298
  }
5823
6299
  );
5824
6300
  ListItem.displayName = "ListItem";
5825
- var TONE_STYLES = {
5826
- error: { container: "border-red-500/30 bg-red-500/20 text-red-600 dark:text-red-400", dot: "bg-red-500" },
5827
- warning: { container: "border-amber-500/30 bg-amber-500/20 text-amber-600 dark:text-amber-400", dot: "bg-amber-500" },
5828
- info: { container: "border-blue-500/30 bg-blue-500/20 text-blue-600 dark:text-blue-400", dot: "bg-blue-500" },
5829
- neutral: { container: "border-slate-500/30 bg-slate-500/20 text-slate-600 dark:text-slate-400", dot: "bg-slate-500" },
5830
- success: { container: "border-emerald-500/30 bg-emerald-500/20 text-emerald-600 dark:text-emerald-400", dot: "bg-emerald-500" }
5831
- };
5832
- var LEGACY_STATUS_STYLES = {
5833
- pending: "border-yellow-200 bg-yellow-50 text-yellow-700 dark:border-yellow-700/30 dark:bg-yellow-900/20 dark:text-yellow-400",
5834
- approved: "border-green-200 bg-green-50 text-green-700 dark:border-green-700/30 dark:bg-green-900/20 dark:text-green-400",
5835
- rejected: "border-red-200 bg-red-50 text-red-700 dark:border-red-700/30 dark:bg-red-900/20 dark:text-red-400",
5836
- active: "border-emerald-200 bg-emerald-50 text-emerald-700 dark:border-emerald-700/30 dark:bg-emerald-900/20 dark:text-emerald-400",
5837
- inactive: "border-white/30 dark:border-white/10 bg-slate-500/10 text-slate-700 dark:bg-slate-900/20 dark:text-slate-400",
5838
- processing: "border-blue-200 bg-blue-50 text-blue-700 dark:border-blue-700/30 dark:bg-blue-900/20 dark:text-blue-400",
5839
- error: "border-red-200 bg-red-50 text-red-700 dark:border-red-700/30 dark:bg-red-900/20 dark:text-red-400",
5840
- success: "border-green-200 bg-green-50 text-green-700 dark:border-green-700/30 dark:bg-green-900/20 dark:text-green-400"
5841
- };
5842
- var LEGACY_DOT_STYLES = {
5843
- pending: "bg-yellow-500",
5844
- approved: "bg-green-500",
5845
- rejected: "bg-red-500",
5846
- active: "bg-emerald-500",
5847
- inactive: "bg-slate-500",
5848
- processing: "bg-blue-500",
5849
- error: "bg-red-500",
5850
- success: "bg-green-500"
5851
- };
5852
- var SIZE_STYLES = {
5853
- sm: "px-2 py-0.5 text-xs",
5854
- md: "px-2.5 py-1 text-xs"
5855
- };
5856
- var DEFAULT_LEGACY_STYLE = "border-white/30 dark:border-white/10 bg-slate-500/10 text-slate-700 dark:bg-slate-900/20 dark:text-slate-400";
5857
- var StatusBadge = forwardRef(function StatusBadge2({ status, label, size = "md", className = "", ...props }, ref) {
5858
- if ("statusConfig" in props && props.statusConfig) {
5859
- const configuredStatus = props.statusConfig[status];
5860
- if (!configuredStatus) {
5861
- return null;
5862
- }
5863
- const toneStyle = TONE_STYLES[configuredStatus.tone ?? "neutral"];
5864
- const IconComponent = configuredStatus.icon;
5865
- const resolvedLabel2 = label ?? configuredStatus.label;
5866
- return /* @__PURE__ */ jsxs(
5867
- "div",
5868
- {
5869
- ref,
5870
- role: "status",
5871
- "aria-label": `Status: ${status}`,
5872
- "data-testid": `status-badge-${status}`,
5873
- className: `inline-flex items-center gap-1.5 rounded-full border font-semibold backdrop-blur-sm ${SIZE_STYLES[size]} ${toneStyle.container} ${className}`,
5874
- children: [
5875
- IconComponent ? /* @__PURE__ */ jsx(IconComponent, { className: `h-3 w-3 ${configuredStatus.animateIcon ? "animate-spin motion-reduce:animate-none" : ""}` }) : /* @__PURE__ */ jsx("span", { className: `h-2 w-2 rounded-full ${toneStyle.dot}` }),
5876
- resolvedLabel2
5877
- ]
5878
- }
5879
- );
5880
- }
5881
- const legacyStyle = LEGACY_STATUS_STYLES[status] ?? DEFAULT_LEGACY_STYLE;
5882
- const legacyDot = LEGACY_DOT_STYLES[status] ?? "bg-slate-500";
5883
- const resolvedLabel = label ?? status;
5884
- return /* @__PURE__ */ jsxs(
5885
- "div",
5886
- {
5887
- ref,
5888
- role: "status",
5889
- "aria-label": `Status: ${status}`,
5890
- "data-testid": `status-badge-${status}`,
5891
- className: `inline-flex items-center gap-1.5 rounded-full border font-semibold ${SIZE_STYLES[size]} ${legacyStyle} ${className}`,
5892
- children: [
5893
- /* @__PURE__ */ jsx("span", { className: `h-2 w-2 rounded-full ${legacyDot}` }),
5894
- resolvedLabel
5895
- ]
5896
- }
5897
- );
5898
- });
5899
6301
  function ProfileIdentityCard({
5900
6302
  displayName,
5901
6303
  profileInitial,
@@ -6508,7 +6910,7 @@ function SelectableListPicker({
6508
6910
  "div",
6509
6911
  {
6510
6912
  className: `flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full ${isSelected ? "bg-blue-500 text-white" : "border-2 border-gray-300 dark:border-gray-500"}`,
6511
- children: isSelected ? /* @__PURE__ */ jsx(CheckIcon$1, { className: "h-3 w-3" }) : null
6913
+ children: isSelected ? /* @__PURE__ */ jsx(CheckIcon$2, { className: "h-3 w-3" }) : null
6512
6914
  }
6513
6915
  )
6514
6916
  ]
@@ -6664,7 +7066,7 @@ function SelectableChipPicker({
6664
7066
  "div",
6665
7067
  {
6666
7068
  className: `flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full ${isSelected ? "bg-blue-500 text-white" : "border border-gray-300 dark:border-gray-500"}`,
6667
- children: isSelected ? /* @__PURE__ */ jsx(CheckIcon$1, { className: "h-2.5 w-2.5" }) : null
7069
+ children: isSelected ? /* @__PURE__ */ jsx(CheckIcon$2, { className: "h-2.5 w-2.5" }) : null
6668
7070
  }
6669
7071
  )
6670
7072
  ]
@@ -7238,7 +7640,7 @@ function TimePicker({
7238
7640
  ${isFuture ? "bg-gray-200 dark:bg-gray-700 text-gray-400 dark:text-gray-500 cursor-not-allowed" : "bg-indigo-500 text-white hover:bg-indigo-600 active:bg-indigo-700"}
7239
7641
  `,
7240
7642
  children: [
7241
- /* @__PURE__ */ jsx(CheckIcon$1, { className: "h-4 w-4" }),
7643
+ /* @__PURE__ */ jsx(CheckIcon$2, { className: "h-4 w-4" }),
7242
7644
  t("confirm")
7243
7645
  ]
7244
7646
  }
@@ -7249,95 +7651,6 @@ function TimePicker({
7249
7651
  ) })
7250
7652
  ] });
7251
7653
  }
7252
- function classNames(...classes) {
7253
- return classes.filter(Boolean).join(" ");
7254
- }
7255
- function StepTimeline({
7256
- steps,
7257
- progressLabel,
7258
- onStepClick,
7259
- renderCompleteContent
7260
- }) {
7261
- return /* @__PURE__ */ jsx("div", { className: "lg:border-t lg:border-b lg:border-gray-200 dark:lg:border-white/15", children: /* @__PURE__ */ jsx("nav", { "aria-label": progressLabel, className: "mx-auto max-w-7xl px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsx(
7262
- "ol",
7263
- {
7264
- role: "list",
7265
- className: "overflow-hidden rounded-md lg:flex lg:rounded-none lg:border-r lg:border-l lg:border-gray-200 dark:lg:border-white/15",
7266
- children: steps.map((step2, stepIndex) => /* @__PURE__ */ jsx("li", { className: "relative overflow-hidden lg:flex-1", children: /* @__PURE__ */ jsxs(
7267
- "button",
7268
- {
7269
- type: "button",
7270
- onClick: () => onStepClick?.(stepIndex),
7271
- disabled: step2.status === "upcoming",
7272
- className: classNames(
7273
- step2.status === "upcoming" ? "cursor-not-allowed" : "cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800",
7274
- stepIndex === 0 ? "rounded-t-md border-b-0" : "",
7275
- stepIndex === steps.length - 1 ? "rounded-b-md border-t-0" : "",
7276
- "w-full overflow-hidden border border-gray-200 text-left transition-colors lg:border-0 dark:border-white/15"
7277
- ),
7278
- children: [
7279
- step2.status === "complete" ? /* @__PURE__ */ jsxs("div", { className: "group", children: [
7280
- /* @__PURE__ */ jsx(
7281
- "span",
7282
- {
7283
- "aria-hidden": "true",
7284
- className: "absolute top-0 left-0 h-full w-1 bg-transparent group-hover:bg-gray-200 lg:top-auto lg:bottom-0 lg:h-1 lg:w-full dark:group-hover:bg-white/20"
7285
- }
7286
- ),
7287
- renderCompleteContent ? renderCompleteContent(step2) : /* @__PURE__ */ jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
7288
- /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx("span", { className: "flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 dark:bg-blue-500", children: /* @__PURE__ */ jsx(CheckIcon$2, { "aria-hidden": "true", className: "h-5 w-5 text-white" }) }) }),
7289
- /* @__PURE__ */ jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
7290
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-900 dark:text-white", children: step2.name }),
7291
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
7292
- ] })
7293
- ] })
7294
- ] }) : step2.status === "current" ? /* @__PURE__ */ jsxs("div", { "aria-current": "step", children: [
7295
- /* @__PURE__ */ jsx(
7296
- "span",
7297
- {
7298
- "aria-hidden": "true",
7299
- className: "absolute top-0 left-0 h-full w-1 bg-blue-600 lg:top-auto lg:bottom-0 lg:h-1 lg:w-full dark:bg-blue-500"
7300
- }
7301
- ),
7302
- /* @__PURE__ */ jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
7303
- /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-blue-600 dark:border-blue-500", children: /* @__PURE__ */ jsx("span", { className: "text-blue-600 dark:text-blue-400", children: step2.id }) }) }),
7304
- /* @__PURE__ */ jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
7305
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-blue-600 dark:text-blue-400", children: step2.name }),
7306
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
7307
- ] })
7308
- ] })
7309
- ] }) : /* @__PURE__ */ jsxs("div", { className: "group", children: [
7310
- /* @__PURE__ */ jsx(
7311
- "span",
7312
- {
7313
- "aria-hidden": "true",
7314
- className: "absolute top-0 left-0 h-full w-1 bg-transparent group-hover:bg-gray-200 lg:top-auto lg:bottom-0 lg:h-1 lg:w-full dark:group-hover:bg-white/20"
7315
- }
7316
- ),
7317
- /* @__PURE__ */ jsxs("span", { className: classNames(stepIndex !== 0 ? "lg:pl-9" : "", "flex items-start px-6 py-5 text-sm font-medium"), children: [
7318
- /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx("span", { className: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-gray-300 dark:border-white/15", children: /* @__PURE__ */ jsx("span", { className: "text-gray-500 dark:text-gray-400", children: step2.id }) }) }),
7319
- /* @__PURE__ */ jsxs("span", { className: "mt-0.5 ml-4 flex min-w-0 flex-col", children: [
7320
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.name }),
7321
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: step2.description })
7322
- ] })
7323
- ] })
7324
- ] }),
7325
- stepIndex !== 0 ? /* @__PURE__ */ jsx("div", { "aria-hidden": "true", className: "absolute inset-0 top-0 left-0 hidden w-3 lg:block", children: /* @__PURE__ */ jsx(
7326
- "svg",
7327
- {
7328
- fill: "none",
7329
- viewBox: "0 0 12 82",
7330
- preserveAspectRatio: "none",
7331
- className: "h-full w-full text-gray-200 dark:text-white/15",
7332
- children: /* @__PURE__ */ jsx("path", { d: "M0.5 0V31L10.5 41L0.5 51V82", stroke: "currentColor", vectorEffect: "non-scaling-stroke" })
7333
- }
7334
- ) }) : null
7335
- ]
7336
- }
7337
- ) }, step2.id))
7338
- }
7339
- ) }) });
7340
- }
7341
7654
  function PageHeading({ breadcrumbs, title, subtitle, icon, meta, actions }) {
7342
7655
  const t = useTranslations("common");
7343
7656
  return /* @__PURE__ */ jsxs("div", { className: "mb-6 lg:flex lg:items-start lg:justify-between", children: [
@@ -7680,7 +7993,7 @@ function FormCheckbox({ checked, onChange, label, description, disabled = false
7680
7993
  "span",
7681
7994
  {
7682
7995
  className: `mt-0.5 inline-flex h-4 w-4 items-center justify-center rounded border text-white ${checked ? "border-blue-500 bg-blue-500" : "border-gray-300 bg-transparent dark:border-gray-600"}`,
7683
- children: checked ? /* @__PURE__ */ jsx(CheckIcon$2, { className: "h-3 w-3" }) : null
7996
+ children: checked ? /* @__PURE__ */ jsx(CheckIcon$1, { className: "h-3 w-3" }) : null
7684
7997
  }
7685
7998
  ),
7686
7999
  /* @__PURE__ */ jsxs("span", { className: "min-w-0", children: [
@@ -7991,7 +8304,7 @@ function StepFormPage({
7991
8304
  disabled: !isClickable && !isCurrent,
7992
8305
  className: `flex items-center gap-2 rounded-full px-3 py-1.5 text-xs font-medium transition-all duration-200 ${isCurrent ? "bg-blue-500/15 text-blue-700 shadow-sm backdrop-blur-sm dark:bg-blue-500/25 dark:text-blue-300" : isCompleted ? "bg-emerald-500/10 text-emerald-700 cursor-pointer hover:bg-emerald-500/20 backdrop-blur-sm dark:bg-emerald-500/20 dark:text-emerald-300" : "bg-slate-500/8 text-slate-400 dark:bg-white/5 dark:text-white/30"}`,
7993
8306
  children: [
7994
- /* @__PURE__ */ jsx("span", { className: `flex h-5 w-5 items-center justify-center rounded-full text-[10px] font-bold ${isCurrent ? "bg-blue-500 text-white" : isCompleted ? "bg-emerald-500 text-white" : "bg-slate-200 text-slate-400 dark:bg-white/10 dark:text-white/30"}`, children: isCompleted ? /* @__PURE__ */ jsx(CheckIcon$1, { className: "h-3 w-3" }) : index + 1 }),
8307
+ /* @__PURE__ */ jsx("span", { className: `flex h-5 w-5 items-center justify-center rounded-full text-[10px] font-bold ${isCurrent ? "bg-blue-500 text-white" : isCompleted ? "bg-emerald-500 text-white" : "bg-slate-200 text-slate-400 dark:bg-white/10 dark:text-white/30"}`, children: isCompleted ? /* @__PURE__ */ jsx(CheckIcon$2, { className: "h-3 w-3" }) : index + 1 }),
7995
8308
  /* @__PURE__ */ jsx("span", { className: "hidden sm:inline", children: step2.title })
7996
8309
  ]
7997
8310
  }
@@ -8201,87 +8514,6 @@ function SearchFilterToolbar({
8201
8514
  ] }) })
8202
8515
  ] });
8203
8516
  }
8204
- function isPlainTextTitle(title) {
8205
- return typeof title === "string" || typeof title === "number";
8206
- }
8207
- function getTestIdFromTitle(title) {
8208
- if (isPlainTextTitle(title)) {
8209
- return `entity-card-${String(title).toLowerCase().replace(/\s+/g, "-")}`;
8210
- }
8211
- return "entity-card";
8212
- }
8213
- function StatusBadgeInternal({ status }) {
8214
- const tCommon = useTranslations("common");
8215
- if (typeof status !== "boolean") {
8216
- return /* @__PURE__ */ jsx(Fragment, { children: status });
8217
- }
8218
- return /* @__PURE__ */ jsx(
8219
- "span",
8220
- {
8221
- className: `shrink-0 rounded-full px-2 py-0.5 text-xs font-medium ${status ? "bg-green-100 text-green-700 dark:bg-green-900/30 dark:text-green-300" : "bg-white/40 text-slate-500 dark:bg-white/[0.08] dark:text-slate-400"}`,
8222
- children: status ? tCommon("active") : tCommon("inactive")
8223
- }
8224
- );
8225
- }
8226
- function EntityCard({
8227
- icon,
8228
- title,
8229
- subtitle,
8230
- status,
8231
- accentGradient,
8232
- children,
8233
- footer,
8234
- onClick,
8235
- className = "",
8236
- dragProps
8237
- }) {
8238
- const isInteractive = Boolean(onClick);
8239
- const plainTextTitle = isPlainTextTitle(title) ? String(title) : void 0;
8240
- const handleKeyDown = useCallback(
8241
- (event) => {
8242
- if (onClick && (event.key === "Enter" || event.key === " ")) {
8243
- event.preventDefault();
8244
- onClick();
8245
- }
8246
- },
8247
- [onClick]
8248
- );
8249
- return /* @__PURE__ */ jsxs(
8250
- Card,
8251
- {
8252
- role: isInteractive ? "article" : "listitem",
8253
- "aria-label": isInteractive ? plainTextTitle : void 0,
8254
- "data-testid": getTestIdFromTitle(title),
8255
- tabIndex: isInteractive ? 0 : void 0,
8256
- onKeyDown: isInteractive ? handleKeyDown : void 0,
8257
- className: `group overflow-hidden transition-all duration-200 hover:-translate-y-0.5 hover:shadow-md ${isInteractive ? "cursor-pointer" : ""} ${className}`,
8258
- onPress: onClick,
8259
- pressable: isInteractive,
8260
- ...dragProps,
8261
- children: [
8262
- accentGradient && /* @__PURE__ */ jsx("div", { className: `h-1.5 w-full bg-gradient-to-r ${accentGradient}` }),
8263
- /* @__PURE__ */ jsxs("div", { className: "p-4", children: [
8264
- /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-3", children: [
8265
- /* @__PURE__ */ jsx("div", { "data-testid": "entity-card-title", children: /* @__PURE__ */ jsx(
8266
- ItemSummary,
8267
- {
8268
- icon,
8269
- title,
8270
- subtitle: subtitle ? /* @__PURE__ */ jsx("span", { "data-testid": "entity-card-subtitle", children: subtitle }) : void 0,
8271
- iconContainerClassName: "shrink-0",
8272
- titleClassName: isPlainTextTitle(title) ? "truncate font-semibold text-slate-900 dark:text-white" : "font-semibold text-slate-900 dark:text-white",
8273
- subtitleClassName: "mt-0.5 text-xs text-slate-500 dark:text-slate-400"
8274
- }
8275
- ) }),
8276
- status !== void 0 && /* @__PURE__ */ jsx(StatusBadgeInternal, { status })
8277
- ] }),
8278
- children && /* @__PURE__ */ jsx("div", { className: "mt-3", children }),
8279
- footer && /* @__PURE__ */ jsx("div", { className: "mt-3 border-t border-white/30 pt-3 dark:border-white/10 flex gap-2 justify-end opacity-0 transition-opacity duration-200 group-hover:opacity-100 group-focus-within:opacity-100", children: footer })
8280
- ] })
8281
- ]
8282
- }
8283
- );
8284
- }
8285
8517
  var COLOR_MAP = {
8286
8518
  blue: {
8287
8519
  activeGradient: "bg-gradient-to-br from-blue-500 to-blue-600 ring-2 ring-blue-500 shadow-lg",
@@ -24809,5 +25041,5 @@ function SkipToContent({
24809
25041
  }
24810
25042
 
24811
25043
  export { AIOrchestratorDemo, ARGENTINA_ACCENT_MAP, ARGENTINA_MACRO_REGIONS, ARGENTINA_MAP_CENTER, ARGENTINA_PROVINCE_COORDINATES, ARGENTINA_PROVINCE_PALETTES, AR_THEME_CONFIG, AUSTRALIA_ACCENT_MAP, AUSTRALIA_MACRO_REGIONS, AUSTRALIA_MAP_CENTER, AUSTRALIA_STATE_COORDINATES, AUSTRALIA_STATE_PALETTES, AU_THEME_CONFIG, ActionMenu, ActionSheet, ActiveFilterChips, AgentAnalysisCard, AnalysisSkeleton, AnimatedNumber, AnimatedTableRow, AppLogo, AppNavigation, AppShell, ArchiveSwipeAction, AuthLayout, Avatar, AvatarButton, BRAZIL_ACCENT_MAP, BRAZIL_MACRO_REGIONS, BRAZIL_MAP_CENTER, BRAZIL_STATE_COORDINATES, BRAZIL_STATE_PALETTES, BR_THEME_CONFIG, BackupCodeGrid, BadRequestPage, Badge, BaseForm, BentoCard, BentoFeatureGrid, BooleanFlagsPicker, BottomSafeArea, BrandFilterSkeleton, BrandedLoader, Breadcrumb, Button, CANADA_ACCENT_MAP, CANADA_MACRO_REGIONS, CANADA_MAP_CENTER, CANADA_PROVINCE_COORDINATES, CANADA_PROVINCE_PALETTES, CA_THEME_CONFIG, CHILE_ACCENT_MAP, CHILE_MACRO_REGIONS, CHILE_MAP_CENTER, CHILE_REGION_COORDINATES, CHILE_REGION_PALETTES, CL_THEME_CONFIG, COLOMBIA_ACCENT_MAP, COLOMBIA_DEPARTMENT_COORDINATES, COLOMBIA_DEPARTMENT_PALETTES, COLOMBIA_MACRO_REGIONS, COLOMBIA_MAP_CENTER, CO_THEME_CONFIG, Card, CardActionMenu, CardContent, CardDescription, CardDivider, CardFooter, CardGridSkeleton, CardHeader, CardSectionHeader, CardTitle, CategoryBadge, CategoryTab, CategoryTabs, ChartRenderer, ChipPicker, CircularRefreshIndicator, Code, CollapsibleGroupedList, CompactSegmentedControl, ContactCard, ContactSection, Container, ContextMenu, CookieConsent, CopyableId, CountPill, CreateActionButton, CustomerAnalyticsDemo, DE_THEME_CONFIG, DashboardDemo, DashboardDemoLayout, DashboardProgressShell, DashboardView, DataPagination, DatePicker, DeleteSwipeAction, DepartmentAssistantDemo, DepartmentWorkflowDemo, Description4 as Description, DetailsPopover, DevModeBanner, Dialog4 as Dialog, DialogActions, DialogBody, DialogDescription, DialogTitle3 as DialogTitle, Divider, Dock, DockContainer, DockSkeleton, DotRefreshIndicator, Dropdown, DropdownButton, DropdownDivider, DropdownItem, DropdownLabel, DropdownMenu, DropdownSelect, DynamicIsland, DynamicIslandConfirm, DynamicIslandNotification, EGYPT_ACCENT_MAP, EGYPT_GOVERNORATE_COORDINATES, EGYPT_GOVERNORATE_PALETTES, EGYPT_MACRO_REGIONS, EGYPT_MAP_CENTER, EG_THEME_CONFIG, ES_THEME_CONFIG, EdgeSwipeIndicator, EdgeSwipeProvider, EditSwipeAction, EmptyState, EntityCard, EntityDrawer, ErrorMessage, ErrorState, ExpandableHistoryList, ExpandingPageIndicator, FRANCE_ACCENT_MAP, FRANCE_MACRO_REGIONS, FRANCE_MAP_CENTER, FRANCE_REGION_COORDINATES, FRANCE_REGION_PALETTES, FR_THEME_CONFIG, FUEL_PRICE_LOADER, FavoriteSwipeAction, FeatureCard, FeedItemCard, Field2 as Field, FieldGroup, Fieldset2 as Fieldset, FilterBadge, FilterPill, FilterSectionHeader, FilterTileButton, FinancialDemo, FloatingActionButton, FlyoutMenu, FlyoutNavGrid, FlyoutQuickActions, ForceTouchMenu, Form, FormActions, FormActionsRow, FormCheckbox, FormField, FormGrid, FormInput, FormPriceInput, FormSection, FormSelect, FormTextarea, FormToggle, FuelPipelineDemo, GB_THEME_CONFIG, GERMANY_ACCENT_MAP, GERMANY_MACRO_REGIONS, GERMANY_MAP_CENTER, GERMANY_STATE_COORDINATES, GERMANY_STATE_PALETTES, GeoMapCanvas, GeoMapLegend, GlassModal, Gradient, GradientBackground, GrowthIndicator, HRRecruitmentDemo, Heading, HeroPanel, HeroSection, ID_THEME_CONFIG, INDIA_ACCENT_MAP, INDIA_MACRO_REGIONS, INDIA_MAP_CENTER, INDIA_STATE_COORDINATES, INDIA_STATE_PALETTES, INDONESIA_ACCENT_MAP, INDONESIA_MACRO_REGIONS, INDONESIA_MAP_CENTER, INDONESIA_PROVINCE_COORDINATES, INDONESIA_PROVINCE_PALETTES, IN_THEME_CONFIG, ITALY_ACCENT_MAP, ITALY_MACRO_REGIONS, ITALY_MAP_CENTER, ITALY_REGION_COORDINATES, ITALY_REGION_PALETTES, IT_THEME_CONFIG, IconButton, ImageUpload, IncidentPipelineDemo, InfoPopover, InlineForm, InlineSpinner, Input, InteractiveGeoMap, InventoryDemo, ItemSummary, JAPAN_ACCENT_MAP, JAPAN_MACRO_REGIONS, JAPAN_MAP_CENTER, JAPAN_PREFECTURE_COORDINATES, JAPAN_PREFECTURE_PALETTES, JP_THEME_CONFIG, KORI_ERP_LOADER, KR_THEME_CONFIG, LGPDComplianceDemo, LOCALE_FLAGS, Label2 as Label, LabeledToggle, LanguageSwitcher, LaunchpadGrid, Lead, Legend2 as Legend, LiquidFilterInput, ListCard, ListCardItem, ListItem, LoadingOverlay, MEXICO_ACCENT_MAP, MEXICO_MACRO_REGIONS, MEXICO_MAP_CENTER, MEXICO_STATE_COORDINATES, MEXICO_STATE_PALETTES, MX_THEME_CONFIG, ManagementPageLayout, ManagementSurface, MapZoomControls, MarketPricesCard, MarketingDemo, MetricCard, MonthPicker, MultiColumnPicker, NETHERLANDS_ACCENT_MAP, NETHERLANDS_MACRO_REGIONS, NETHERLANDS_MAP_CENTER, NETHERLANDS_PROVINCE_COORDINATES, NETHERLANDS_PROVINCE_PALETTES, NEW_ZEALAND_ACCENT_MAP, NEW_ZEALAND_MACRO_REGIONS, NEW_ZEALAND_MAP_CENTER, NEW_ZEALAND_REGION_COORDINATES, NEW_ZEALAND_REGION_PALETTES, NG_THEME_CONFIG, NIGERIA_ACCENT_MAP, NIGERIA_MACRO_REGIONS, NIGERIA_MAP_CENTER, NIGERIA_STATE_COORDINATES, NIGERIA_STATE_PALETTES, NL_THEME_CONFIG, NORWAY_ACCENT_MAP, NORWAY_COUNTY_COORDINATES, NORWAY_COUNTY_PALETTES, NORWAY_MACRO_REGIONS, NORWAY_MAP_CENTER, NO_THEME_CONFIG, NZ_THEME_CONFIG, NavigationProgress, NoDataState, NoResultsState, NotFoundPage, NotificationBadge, NotificationBellButton, NotificationProvider, OfficeCard, OfflineState, OptionGrid, OtpInput, PERU_ACCENT_MAP, PERU_DEPARTMENT_COORDINATES, PERU_DEPARTMENT_PALETTES, PERU_MACRO_REGIONS, PERU_MAP_CENTER, PE_THEME_CONFIG, PHILIPPINES_ACCENT_MAP, PHILIPPINES_MACRO_REGIONS, PHILIPPINES_MAP_CENTER, PHILIPPINES_PROVINCE_COORDINATES, PHILIPPINES_PROVINCE_PALETTES, PH_THEME_CONFIG, PL_THEME_CONFIG, POLAND_ACCENT_MAP, POLAND_MACRO_REGIONS, POLAND_MAP_CENTER, POLAND_VOIVODESHIP_COORDINATES, POLAND_VOIVODESHIP_PALETTES, PORTUGAL_ACCENT_MAP, PORTUGAL_DISTRICT_COORDINATES, PORTUGAL_DISTRICT_PALETTES, PORTUGAL_MACRO_REGIONS, PORTUGAL_MAP_CENTER, PT_THEME_CONFIG, PageEmptyState, PageErrorState, PageHeader, PageHeading, PageIndicator, PageLoadingState, PageSectionHeader, Pagination, PasswordInput, PasswordStrengthMeter, Pill, PlatformShell, PlusGrid, PlusGridItem, PlusGridRow, PreferenceSection, PriceChangeBadge, ProfileIdentityCard, Progress, ProgressIndicator, PullToRefreshContainer, PullToRefreshIndicator, RadiantHeading, RadiantStatCard, RadiantSubheading, RecommendationCard, RegionFilterSkeleton, RoleBadge, SE_THEME_CONFIG, SOUTH_AFRICA_ACCENT_MAP, SOUTH_AFRICA_MACRO_REGIONS, SOUTH_AFRICA_MAP_CENTER, SOUTH_AFRICA_PROVINCE_COORDINATES, SOUTH_AFRICA_PROVINCE_PALETTES, SOUTH_KOREA_ACCENT_MAP, SOUTH_KOREA_MACRO_REGIONS, SOUTH_KOREA_MAP_CENTER, SOUTH_KOREA_PROVINCE_COORDINATES, SOUTH_KOREA_PROVINCE_PALETTES, SPAIN_ACCENT_MAP, SPAIN_MACRO_REGIONS, SPAIN_MAP_CENTER, SPAIN_PROVINCE_COORDINATES, SPAIN_PROVINCE_PALETTES, SWEDEN_ACCENT_MAP, SWEDEN_COUNTY_COORDINATES, SWEDEN_COUNTY_PALETTES, SWEDEN_MACRO_REGIONS, SWEDEN_MAP_CENTER, SafeArea, SafeAreaSpacer, SafeAreaView, SalesDemo, SearchBar, SearchFilterToolbar, SearchInput, SectionCard, SectionHeader, SectionHeaderSkeleton, SegmentedControl, Select, SelectableChipPicker, SelectableListPicker, SelectableOptionsGrid, SelectableTableRow, SelectionCard, ServerErrorPage, SettingsModal, Sheet, SkipToContent, SocialLoginButtons, SortableTableHeader, Spinner, Stat, StatCard, StatCardSkeleton, StatusBadge, StatusToggle, StepFormPage, StepNavigationButtons, StepTimeline, Strong, Subheading, SwipeableRow, Switch2 as Switch, THAILAND_ACCENT_MAP, THAILAND_MACRO_REGIONS, THAILAND_MAP_CENTER, THAILAND_PROVINCE_COORDINATES, THAILAND_PROVINCE_PALETTES, TH_THEME_CONFIG, TR_THEME_CONFIG, TURKEY_ACCENT_MAP, TURKEY_MACRO_REGIONS, TURKEY_MAP_CENTER, TURKEY_PROVINCE_COORDINATES, TURKEY_PROVINCE_PALETTES, Table, TableBody, TableCell, TableEmptyState, TableHead, TableHeader, TableRow, TableSkeleton, TableSkeletonRow, Tabs, TabsContent, TabsList, TabsTrigger, TagBadge, Text, TextLink, Textarea, ThemeSwitch, ThemeToggle, ThemeToggleCompact, TimePicker, ToggleSwitch, TouchTarget, UK_ACCENT_MAP, UK_MACRO_REGIONS, UK_MAP_CENTER, UK_NATION_COORDINATES, UK_NATION_PALETTES, US_ACCENT_MAP, US_MACRO_REGIONS, US_MAP_CENTER, US_STATE_COORDINATES, US_STATE_PALETTES, US_THEME_CONFIG, UserAvatar, UserMobileInfo, WINDSOCK_LOADER, WIRE_LOADER, WheelPicker, WindsockIcon, ZA_THEME_CONFIG, buildDockActions, buildFlyoutNavItems, buildLaunchpadItems, buttonPress, buttonPressReduced, buttonTap, cardHover, cardHoverReduced, cardPress, computeDomain, computeSeries, createMotionProps, customerAnalyticsWorkflow, durations, durationsReduced, easings, fadeOnly, fadeScale, filterByPermission, financialWorkflow, formatAddress, formatCurrency, formatCurrency2, formatDate, formatPercentage, getAllCountries, getArgentinaAccent, getArgentinaColors, getArgentinaFlagUrl, getArgentinaGradient, getArgentinaHexColor, getArgentinaPalette, getAustraliaAccent, getAustraliaColors, getAustraliaFlagUrl, getAustraliaGradient, getAustraliaHexColor, getAustraliaPalette, getBrazilAccent, getBrazilColors, getBrazilFlagUrl, getBrazilGradient, getBrazilHexColor, getBrazilPalette, getCanadaAccent, getCanadaColors, getCanadaFlagUrl, getCanadaGradient, getCanadaHexColor, getCanadaPalette, getChileAccent, getChileColors, getChileFlagUrl, getChileGradient, getChileHexColor, getChilePalette, getColombiaAccent, getColombiaColors, getColombiaFlagUrl, getColombiaGradient, getColombiaHexColor, getColombiaPalette, getCountryConfig, getEgyptAccent, getEgyptColors, getEgyptFlagUrl, getEgyptGradient, getEgyptHexColor, getEgyptPalette, getFranceAccent, getFranceColors, getFranceFlagUrl, getFranceGradient, getFranceHexColor, getFrancePalette, getGermanyAccent, getGermanyColors, getGermanyFlagUrl, getGermanyGradient, getGermanyHexColor, getGermanyPalette, getIndiaAccent, getIndiaColors, getIndiaFlagUrl, getIndiaGradient, getIndiaHexColor, getIndiaPalette, getIndonesiaAccent, getIndonesiaColors, getIndonesiaFlagUrl, getIndonesiaGradient, getIndonesiaHexColor, getIndonesiaPalette, getItalyAccent, getItalyColors, getItalyFlagUrl, getItalyGradient, getItalyHexColor, getItalyPalette, getJapanAccent, getJapanColors, getJapanFlagUrl, getJapanGradient, getJapanHexColor, getJapanPalette, getMexicoAccent, getMexicoColors, getMexicoFlagUrl, getMexicoGradient, getMexicoHexColor, getMexicoPalette, getNetherlandsAccent, getNetherlandsColors, getNetherlandsFlagUrl, getNetherlandsGradient, getNetherlandsHexColor, getNetherlandsPalette, getNewZealandAccent, getNewZealandColors, getNewZealandFlagUrl, getNewZealandGradient, getNewZealandHexColor, getNewZealandPalette, getNigeriaAccent, getNigeriaColors, getNigeriaFlagUrl, getNigeriaGradient, getNigeriaHexColor, getNigeriaPalette, getNorwayAccent, getNorwayColors, getNorwayFlagUrl, getNorwayGradient, getNorwayHexColor, getNorwayPalette, getPeruAccent, getPeruColors, getPeruFlagUrl, getPeruGradient, getPeruHexColor, getPeruPalette, getPhilippinesAccent, getPhilippinesColors, getPhilippinesFlagUrl, getPhilippinesGradient, getPhilippinesHexColor, getPhilippinesPalette, getPolandAccent, getPolandColors, getPolandFlagUrl, getPolandGradient, getPolandHexColor, getPolandPalette, getPortugalAccent, getPortugalColors, getPortugalFlagUrl, getPortugalGradient, getPortugalHexColor, getPortugalPalette, getSouthAfricaAccent, getSouthAfricaColors, getSouthAfricaFlagUrl, getSouthAfricaGradient, getSouthAfricaHexColor, getSouthAfricaPalette, getSouthKoreaAccent, getSouthKoreaColors, getSouthKoreaFlagUrl, getSouthKoreaGradient, getSouthKoreaHexColor, getSouthKoreaPalette, getSpainAccent, getSpainColors, getSpainFlagUrl, getSpainGradient, getSpainHexColor, getSpainPalette, getStatusColor, getSubdivisionAccent, getSubdivisionColors, getSubdivisionFlagUrl, getSubdivisionGradient, getSubdivisionHexColor, getSubdivisionPalette, getSwedenAccent, getSwedenColors, getSwedenFlagUrl, getSwedenGradient, getSwedenHexColor, getSwedenPalette, getThailandAccent, getThailandColors, getThailandFlagUrl, getThailandGradient, getThailandHexColor, getThailandPalette, getTransition, getTurkeyAccent, getTurkeyColors, getTurkeyFlagUrl, getTurkeyGradient, getTurkeyHexColor, getTurkeyPalette, getUKAccent, getUKColors, getUKFlagUrl, getUKGradient, getUKHexColor, getUKPalette, getUsAccent, getUsColors, getUsFlagUrl, getUsGradient, getUsHexColor, getUsPalette, getVariants, hrWorkflow, inventoryWorkflow, iosColors, isValidArgentinaProvince, isValidAustraliaState, isValidBrazilState, isValidCanadaProvince, isValidChileRegion, isValidColombiaDepartment, isValidEgyptGovernorate, isValidFranceRegion, isValidGermanyState, isValidIndiaState, isValidIndonesiaProvince, isValidItalyRegion, isValidJapanPrefecture, isValidMexicoState, isValidNetherlandsProvince, isValidNewZealandRegion, isValidNigeriaState, isValidNorwayCounty, isValidPeruDepartment, isValidPhilippinesProvince, isValidPolandVoivodeship, isValidPortugalDistrict, isValidSouthAfricaProvince, isValidSouthKoreaProvince, isValidSpainProvince, isValidSubdivision, isValidSwedenCounty, isValidThailandProvince, isValidTurkeyProvince, isValidUKNation, isValidUsState, koriAssistantTheme, koriDepartmentFlows, lgpdWorkflow, listItem, listItemReduced, logisticsWorkflow, manufacturingWorkflow, marketingWorkflow, notificationBanner, notificationBannerReduced, pageControlDot, payrollWorkflow, prefersReducedMotion, registerCountry, registerSubdivisionTheme, resolveGlassAccentRgb, salesWorkflow, selectIsAuthenticated, selectShowShellChrome, selectUserInitial, selectUserName, shimmerClass, shimmerWhiteClass, slideDown, slideRight, slideUp, springPresets, springPresetsReduced, staggerContainer, supportWorkflow, swipeActionThreshold, swipeConstraints, useGeoMapState, useNotifications, usePlatformShellStore, usePullToRefresh, validateDashboardSpec, xScale, yScale };
24812
- //# sourceMappingURL=chunk-ZJQ5RLGK.mjs.map
24813
- //# sourceMappingURL=chunk-ZJQ5RLGK.mjs.map
25044
+ //# sourceMappingURL=chunk-S3JHPXOX.mjs.map
25045
+ //# sourceMappingURL=chunk-S3JHPXOX.mjs.map