@datatechsolutions/ui 3.6.1 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astrlabe/graph-node.js +8 -5
- package/dist/astrlabe/graph-node.mjs +4 -1
- package/dist/astrlabe/index.js +115 -114
- package/dist/astrlabe/index.mjs +7 -6
- package/dist/astrlabe/workflow-canvas.js +7 -6
- package/dist/astrlabe/workflow-canvas.mjs +6 -5
- package/dist/{chunk-3Z66NXEB.mjs → chunk-2OPBUVTQ.mjs} +3 -3
- package/dist/{chunk-3Z66NXEB.mjs.map → chunk-2OPBUVTQ.mjs.map} +1 -1
- package/dist/{chunk-4JDJRGAB.mjs → chunk-34XRH2FX.mjs} +5 -4
- package/dist/chunk-34XRH2FX.mjs.map +1 -0
- package/dist/{chunk-KEWRLEYV.js → chunk-3JZGRXSG.js} +4 -4
- package/dist/{chunk-KEWRLEYV.js.map → chunk-3JZGRXSG.js.map} +1 -1
- package/dist/{chunk-JQYDJ75Q.mjs → chunk-3VYD7QL2.mjs} +3 -3
- package/dist/{chunk-JQYDJ75Q.mjs.map → chunk-3VYD7QL2.mjs.map} +1 -1
- package/dist/{chunk-MRRFDIUQ.mjs → chunk-4JRMXHPU.mjs} +5 -4
- package/dist/chunk-4JRMXHPU.mjs.map +1 -0
- package/dist/{chunk-4OFG6POC.mjs → chunk-5LCWQKGQ.mjs} +207 -1128
- package/dist/chunk-5LCWQKGQ.mjs.map +1 -0
- package/dist/{chunk-W5YCZOXO.js → chunk-7YK4WXHO.js} +79 -78
- package/dist/chunk-7YK4WXHO.js.map +1 -0
- package/dist/{chunk-YOJIPZ72.js → chunk-BBLBSDPN.js} +9 -9
- package/dist/{chunk-YOJIPZ72.js.map → chunk-BBLBSDPN.js.map} +1 -1
- package/dist/chunk-BHOT22QL.js +998 -0
- package/dist/chunk-BHOT22QL.js.map +1 -0
- package/dist/{chunk-MQNXKBFP.mjs → chunk-C4AJWDFB.mjs} +7 -6
- package/dist/chunk-C4AJWDFB.mjs.map +1 -0
- package/dist/{chunk-UOABOFKO.mjs → chunk-CBFK4W4C.mjs} +3 -3
- package/dist/{chunk-UOABOFKO.mjs.map → chunk-CBFK4W4C.mjs.map} +1 -1
- package/dist/{chunk-P5F257N3.js → chunk-CVZXZK2X.js} +35 -34
- package/dist/chunk-CVZXZK2X.js.map +1 -0
- package/dist/{chunk-IHHGT3LP.mjs → chunk-CYAAL3BY.mjs} +6 -5
- package/dist/chunk-CYAAL3BY.mjs.map +1 -0
- package/dist/{chunk-LVK7VXW7.js → chunk-DMPBNWJB.js} +37 -36
- package/dist/chunk-DMPBNWJB.js.map +1 -0
- package/dist/{chunk-ESLKQJQS.mjs → chunk-DXLATMGD.mjs} +6 -5
- package/dist/chunk-DXLATMGD.mjs.map +1 -0
- package/dist/{chunk-P4YYEM4B.js → chunk-EZQ2D47U.js} +7 -10
- package/dist/chunk-EZQ2D47U.js.map +1 -0
- package/dist/{chunk-6ZMTJSQF.js → chunk-FUHNEP3Y.js} +164 -163
- package/dist/chunk-FUHNEP3Y.js.map +1 -0
- package/dist/{chunk-YTE6WCBX.js → chunk-JHN2OUWG.js} +64 -63
- package/dist/chunk-JHN2OUWG.js.map +1 -0
- package/dist/{chunk-AMYQSPQC.js → chunk-JLECJI7S.js} +18 -17
- package/dist/chunk-JLECJI7S.js.map +1 -0
- package/dist/{chunk-DRORQGN2.js → chunk-KMNWPC64.js} +40 -39
- package/dist/chunk-KMNWPC64.js.map +1 -0
- package/dist/{chunk-VUAGVZJM.mjs → chunk-NJ6HH4QP.mjs} +6 -5
- package/dist/chunk-NJ6HH4QP.mjs.map +1 -0
- package/dist/{chunk-OZNTQROP.mjs → chunk-PLTLRL2V.mjs} +7 -10
- package/dist/chunk-PLTLRL2V.mjs.map +1 -0
- package/dist/{chunk-5ZAZ2C7A.mjs → chunk-PMMP76MV.mjs} +7 -6
- package/dist/chunk-PMMP76MV.mjs.map +1 -0
- package/dist/{chunk-NJZIE4EH.js → chunk-QF6WL7XU.js} +6 -5
- package/dist/chunk-QF6WL7XU.js.map +1 -0
- package/dist/{chunk-QRNFTG6A.js → chunk-QGLGQXJE.js} +4 -4
- package/dist/{chunk-QRNFTG6A.js.map → chunk-QGLGQXJE.js.map} +1 -1
- package/dist/{chunk-GCYYGSHU.js → chunk-R4EKPXX3.js} +564 -1525
- package/dist/chunk-R4EKPXX3.js.map +1 -0
- package/dist/{chunk-SQZGQOKU.js → chunk-RWYG7QHP.js} +119 -132
- package/dist/chunk-RWYG7QHP.js.map +1 -0
- package/dist/{chunk-WBEZATIB.js → chunk-RZ3NDH5S.js} +13 -13
- package/dist/{chunk-WBEZATIB.js.map → chunk-RZ3NDH5S.js.map} +1 -1
- package/dist/{chunk-HGWVJ3VB.mjs → chunk-SJVKID3E.mjs} +4 -3
- package/dist/chunk-SJVKID3E.mjs.map +1 -0
- package/dist/{chunk-7LILNZMR.mjs → chunk-TJEZL72T.mjs} +4 -3
- package/dist/chunk-TJEZL72T.mjs.map +1 -0
- package/dist/{chunk-MUOTTGCX.js → chunk-UDYEUTJC.js} +31 -30
- package/dist/chunk-UDYEUTJC.js.map +1 -0
- package/dist/{chunk-UGJZ3M4Q.js → chunk-VDLMWOQM.js} +55 -54
- package/dist/chunk-VDLMWOQM.js.map +1 -0
- package/dist/{chunk-KDFBN2L2.mjs → chunk-VZIUQE7B.mjs} +24 -37
- package/dist/chunk-VZIUQE7B.mjs.map +1 -0
- package/dist/chunk-WR55H7DH.mjs +934 -0
- package/dist/chunk-WR55H7DH.mjs.map +1 -0
- package/dist/{chunk-ZYVDDSAC.mjs → chunk-YRXDETBK.mjs} +6 -6
- package/dist/{chunk-ZYVDDSAC.mjs.map → chunk-YRXDETBK.mjs.map} +1 -1
- package/dist/{chunk-VDLAZR7S.mjs → chunk-ZYRL3WER.mjs} +5 -4
- package/dist/chunk-ZYRL3WER.mjs.map +1 -0
- package/dist/index.js +826 -825
- package/dist/index.mjs +4 -3
- package/dist/platform/admin/index.js +13 -12
- package/dist/platform/admin/index.mjs +7 -6
- package/dist/platform/agents-workspace.js +10 -9
- package/dist/platform/agents-workspace.mjs +9 -8
- package/dist/platform/app-shell.js +6 -5
- package/dist/platform/app-shell.mjs +5 -4
- package/dist/platform/auth/index.js +30 -29
- package/dist/platform/auth/index.mjs +7 -6
- package/dist/platform/billing/index.js +6 -5
- package/dist/platform/billing/index.mjs +5 -4
- package/dist/platform/impersonation/index.js +6 -5
- package/dist/platform/impersonation/index.mjs +5 -4
- package/dist/platform/index.d.mts +1 -1
- package/dist/platform/index.d.ts +1 -1
- package/dist/platform/index.js +87 -93
- package/dist/platform/index.js.map +1 -1
- package/dist/platform/index.mjs +23 -29
- package/dist/platform/index.mjs.map +1 -1
- package/dist/platform/pages/index.d.mts +86 -1
- package/dist/platform/pages/index.d.ts +86 -1
- package/dist/platform/pages/index.js +868 -209
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +670 -12
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +10 -9
- package/dist/platform/settings/index.mjs +9 -8
- package/dist/platform/workflow-canvas-shell.js +8 -7
- package/dist/platform/workflow-canvas-shell.mjs +7 -6
- package/package.json +1 -1
- package/dist/chunk-4JDJRGAB.mjs.map +0 -1
- package/dist/chunk-4OFG6POC.mjs.map +0 -1
- package/dist/chunk-5ZAZ2C7A.mjs.map +0 -1
- package/dist/chunk-6ZMTJSQF.js.map +0 -1
- package/dist/chunk-7LILNZMR.mjs.map +0 -1
- package/dist/chunk-AMYQSPQC.js.map +0 -1
- package/dist/chunk-DRORQGN2.js.map +0 -1
- package/dist/chunk-ESLKQJQS.mjs.map +0 -1
- package/dist/chunk-GCYYGSHU.js.map +0 -1
- package/dist/chunk-HGWVJ3VB.mjs.map +0 -1
- package/dist/chunk-IHHGT3LP.mjs.map +0 -1
- package/dist/chunk-KDFBN2L2.mjs.map +0 -1
- package/dist/chunk-LVK7VXW7.js.map +0 -1
- package/dist/chunk-MQNXKBFP.mjs.map +0 -1
- package/dist/chunk-MRRFDIUQ.mjs.map +0 -1
- package/dist/chunk-MUOTTGCX.js.map +0 -1
- package/dist/chunk-NJZIE4EH.js.map +0 -1
- package/dist/chunk-OZNTQROP.mjs.map +0 -1
- package/dist/chunk-P4YYEM4B.js.map +0 -1
- package/dist/chunk-P5F257N3.js.map +0 -1
- package/dist/chunk-SQZGQOKU.js.map +0 -1
- package/dist/chunk-UGJZ3M4Q.js.map +0 -1
- package/dist/chunk-VDLAZR7S.mjs.map +0 -1
- package/dist/chunk-VUAGVZJM.mjs.map +0 -1
- package/dist/chunk-W5YCZOXO.js.map +0 -1
- package/dist/chunk-YTE6WCBX.js.map +0 -1
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { triggerHaptic } from './chunk-D2JF6C3E.mjs';
|
|
3
2
|
import { useTranslations, useLocale } from './chunk-7VJ7CMMT.mjs';
|
|
4
|
-
import { useLink, useRouter, usePathname } from './chunk-QWG2FMUN.mjs';
|
|
5
3
|
import { subscribeToRunEvents, submitApproval } from './chunk-RHRJXK5R.mjs';
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import * as
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
4
|
+
import { Link, TouchTarget, getTransition, springPresets, Button } from './chunk-WR55H7DH.mjs';
|
|
5
|
+
import { triggerHaptic } from './chunk-D2JF6C3E.mjs';
|
|
6
|
+
import { useRouter, usePathname } from './chunk-QWG2FMUN.mjs';
|
|
7
|
+
import * as React9 from 'react';
|
|
8
|
+
import React9__default, { forwardRef, useId, useState, useCallback, createContext, memo, useRef, useEffect, Fragment, useMemo, useContext, Children, isValidElement, Suspense } from 'react';
|
|
9
|
+
import { useReducedMotion, motion, AnimatePresence, useMotionValue, useTransform, animate, useInView, useSpring } from 'framer-motion';
|
|
13
10
|
import * as HeroIcons from '@heroicons/react/24/outline';
|
|
14
11
|
import { PlusIcon, MinusIcon, 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, ClipboardDocumentCheckIcon, ClipboardDocumentIcon, CalendarDaysIcon, ChevronLeftIcon as ChevronLeftIcon$1, ChevronRightIcon as ChevronRightIcon$1, CheckIcon as CheckIcon$2, FunnelIcon, CameraIcon, ArrowUpTrayIcon, BeakerIcon, GlobeAltIcon, WrenchScrewdriverIcon, EyeDropperIcon, MoonIcon as MoonIcon$1, SunIcon as SunIcon$1, UserCircleIcon, ArrowRightOnRectangleIcon, LanguageIcon, Squares2X2Icon, PlusCircleIcon, XCircleIcon, LockClosedIcon, UserIcon } from '@heroicons/react/24/outline';
|
|
12
|
+
import { jsxs, jsx, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
15
13
|
import { ChevronDownIcon, CheckCircleIcon, EyeSlashIcon, EyeIcon, XMarkIcon, CheckIcon, ChevronLeftIcon, ChevronRightIcon, ClipboardDocumentIcon as ClipboardDocumentIcon$1, ArrowDownTrayIcon } from '@heroicons/react/20/solid';
|
|
14
|
+
import * as Headless3 from '@headlessui/react';
|
|
15
|
+
import { Transition, Dialog, TransitionChild, DialogPanel, DialogTitle, DialogBackdrop } from '@headlessui/react';
|
|
16
16
|
import { CheckIcon as CheckIcon$1 } from '@heroicons/react/24/solid';
|
|
17
17
|
import * as Popover from '@radix-ui/react-popover';
|
|
18
|
+
import clsx4, { clsx } from 'clsx';
|
|
18
19
|
import { createPortal } from 'react-dom';
|
|
19
20
|
import { startOfDay, startOfMonth, endOfMonth, eachDayOfInterval, getDay, subMonths, addMonths, isAfter, format, isSameDay, isSameMonth, parse } from 'date-fns';
|
|
20
21
|
import { fr, es, enUS, ptBR } from 'date-fns/locale';
|
|
@@ -26,795 +27,6 @@ import { useTranslations as useTranslations$1 } from 'next-intl';
|
|
|
26
27
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
27
28
|
import { create } from 'zustand';
|
|
28
29
|
|
|
29
|
-
var Link = forwardRef(function Link2(props, ref) {
|
|
30
|
-
const RouterLink = useLink();
|
|
31
|
-
return /* @__PURE__ */ jsx(Headless5.DataInteractive, { children: /* @__PURE__ */ jsx(RouterLink, { ...props, ref }) });
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
// src/lib/motion-tokens.ts
|
|
35
|
-
var duration = {
|
|
36
|
-
/** 90ms — micro feedback: toggle thumb, hover tint, focus ring */
|
|
37
|
-
xs: 90,
|
|
38
|
-
/** 150ms — button press, popover open, chip toggle */
|
|
39
|
-
sm: 150,
|
|
40
|
-
/** 240ms — card hover, drawer slide, tab switch */
|
|
41
|
-
md: 240,
|
|
42
|
-
/** 360ms — page transitions, modal enter/exit */
|
|
43
|
-
lg: 360
|
|
44
|
-
};
|
|
45
|
-
var durationSeconds = {
|
|
46
|
-
xs: duration.xs / 1e3,
|
|
47
|
-
sm: duration.sm / 1e3,
|
|
48
|
-
md: duration.md / 1e3,
|
|
49
|
-
lg: duration.lg / 1e3
|
|
50
|
-
};
|
|
51
|
-
var ease = {
|
|
52
|
-
/** Default product curve — symmetric, balanced */
|
|
53
|
-
standard: [0.4, 0, 0.2, 1],
|
|
54
|
-
/** Entering elements — slow start, fast finish */
|
|
55
|
-
emphasized: [0.2, 0, 0, 1],
|
|
56
|
-
/** Arrivals — fast in, slow settle */
|
|
57
|
-
decelerate: [0, 0, 0.2, 1],
|
|
58
|
-
/** Departures — fast out, sharp end */
|
|
59
|
-
accelerate: [0.4, 0, 1, 1],
|
|
60
|
-
/** iOS HIG-canonical curve — slightly slower decay than `standard` */
|
|
61
|
-
ios: [0.25, 0.46, 0.45, 0.94]
|
|
62
|
-
};
|
|
63
|
-
var easeCss = {
|
|
64
|
-
standard: `cubic-bezier(${ease.standard.join(", ")})`,
|
|
65
|
-
emphasized: `cubic-bezier(${ease.emphasized.join(", ")})`,
|
|
66
|
-
decelerate: `cubic-bezier(${ease.decelerate.join(", ")})`,
|
|
67
|
-
accelerate: `cubic-bezier(${ease.accelerate.join(", ")})`,
|
|
68
|
-
ios: `cubic-bezier(${ease.ios.join(", ")})`
|
|
69
|
-
};
|
|
70
|
-
var spring = {
|
|
71
|
-
/** Snap — fast, no overshoot. Buttons, micro-interactions. */
|
|
72
|
-
snap: { type: "spring", stiffness: 500, damping: 38 },
|
|
73
|
-
/** Smooth — balanced, no overshoot. Default for cards/transitions. */
|
|
74
|
-
smooth: { type: "spring", stiffness: 300, damping: 30 },
|
|
75
|
-
/** Bounce — playful overshoot. Icons, success confirmations. */
|
|
76
|
-
bounce: { type: "spring", stiffness: 400, damping: 22 },
|
|
77
|
-
/** Gentle — soft and slow. Modals, large surface entry. */
|
|
78
|
-
gentle: { type: "spring", stiffness: 200, damping: 22 },
|
|
79
|
-
/** Sheet — iOS sheet presentation (with mass). Drawers. */
|
|
80
|
-
sheet: { type: "spring", stiffness: 350, damping: 30, mass: 0.8 }
|
|
81
|
-
};
|
|
82
|
-
var motionTokens = {
|
|
83
|
-
duration,
|
|
84
|
-
durationSeconds,
|
|
85
|
-
ease,
|
|
86
|
-
easeCss,
|
|
87
|
-
spring
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
// src/lib/animations.ts
|
|
91
|
-
function prefersReducedMotion() {
|
|
92
|
-
if (typeof window === "undefined") return false;
|
|
93
|
-
return window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
94
|
-
}
|
|
95
|
-
function getTransition(transition) {
|
|
96
|
-
if (prefersReducedMotion()) {
|
|
97
|
-
return { duration: 0 };
|
|
98
|
-
}
|
|
99
|
-
return transition;
|
|
100
|
-
}
|
|
101
|
-
function getVariants(variants) {
|
|
102
|
-
if (prefersReducedMotion()) {
|
|
103
|
-
const reducedVariants = {};
|
|
104
|
-
for (const key in variants) {
|
|
105
|
-
reducedVariants[key] = {
|
|
106
|
-
...variants[key],
|
|
107
|
-
transition: { duration: 0 }
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
return reducedVariants;
|
|
111
|
-
}
|
|
112
|
-
return variants;
|
|
113
|
-
}
|
|
114
|
-
var springPresets = {
|
|
115
|
-
default: spring.smooth,
|
|
116
|
-
bouncy: spring.bounce,
|
|
117
|
-
stiff: spring.snap,
|
|
118
|
-
gentle: spring.gentle,
|
|
119
|
-
sheet: spring.sheet,
|
|
120
|
-
/** Quick spring - very fast, good for micro-interactions */
|
|
121
|
-
quick: { type: "spring", stiffness: 600, damping: 40 }
|
|
122
|
-
};
|
|
123
|
-
var springPresetsReduced = {
|
|
124
|
-
default: prefersReducedMotion() ? { duration: 0 } : springPresets.default,
|
|
125
|
-
bouncy: prefersReducedMotion() ? { duration: 0 } : springPresets.bouncy,
|
|
126
|
-
stiff: prefersReducedMotion() ? { duration: 0 } : springPresets.stiff,
|
|
127
|
-
gentle: prefersReducedMotion() ? { duration: 0 } : springPresets.gentle,
|
|
128
|
-
sheet: prefersReducedMotion() ? { duration: 0 } : springPresets.sheet,
|
|
129
|
-
quick: prefersReducedMotion() ? { duration: 0 } : springPresets.quick
|
|
130
|
-
};
|
|
131
|
-
var buttonPress = {
|
|
132
|
-
idle: { scale: 1 },
|
|
133
|
-
pressed: { scale: 0.97 },
|
|
134
|
-
hover: { scale: 1.02 }
|
|
135
|
-
};
|
|
136
|
-
var buttonTap = {
|
|
137
|
-
scale: 0.97,
|
|
138
|
-
transition: springPresets.stiff
|
|
139
|
-
};
|
|
140
|
-
var buttonPressReduced = {
|
|
141
|
-
idle: { opacity: 1 },
|
|
142
|
-
pressed: { opacity: 0.7 },
|
|
143
|
-
hover: { opacity: 0.9 }
|
|
144
|
-
};
|
|
145
|
-
var cardHover = {
|
|
146
|
-
idle: {
|
|
147
|
-
y: 0,
|
|
148
|
-
boxShadow: "0 4px 6px -1px rgb(0 0 0 / 0.1)"
|
|
149
|
-
},
|
|
150
|
-
hover: {
|
|
151
|
-
y: -4,
|
|
152
|
-
boxShadow: "0 20px 25px -5px rgb(0 0 0 / 0.1)"
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
|
-
var cardPress = {
|
|
156
|
-
idle: { scale: 1 },
|
|
157
|
-
pressed: { scale: 0.98 }
|
|
158
|
-
};
|
|
159
|
-
var cardHoverReduced = {
|
|
160
|
-
idle: { opacity: 1 },
|
|
161
|
-
hover: { opacity: 0.95 }
|
|
162
|
-
};
|
|
163
|
-
var slideUp = {
|
|
164
|
-
hidden: { y: "100%", opacity: 0 },
|
|
165
|
-
visible: { y: 0, opacity: 1 },
|
|
166
|
-
exit: { y: "100%", opacity: 0 }
|
|
167
|
-
};
|
|
168
|
-
var slideRight = {
|
|
169
|
-
hidden: { x: "100%", opacity: 0 },
|
|
170
|
-
visible: { x: 0, opacity: 1 },
|
|
171
|
-
exit: { x: "100%", opacity: 0 }
|
|
172
|
-
};
|
|
173
|
-
var slideDown = {
|
|
174
|
-
hidden: { y: "-100%", opacity: 0 },
|
|
175
|
-
visible: { y: 0, opacity: 1 },
|
|
176
|
-
exit: { y: "-100%", opacity: 0 }
|
|
177
|
-
};
|
|
178
|
-
var fadeScale = {
|
|
179
|
-
hidden: { opacity: 0, scale: 0.95 },
|
|
180
|
-
visible: { opacity: 1, scale: 1 },
|
|
181
|
-
exit: { opacity: 0, scale: 0.95 }
|
|
182
|
-
};
|
|
183
|
-
var fadeOnly = {
|
|
184
|
-
hidden: { opacity: 0 },
|
|
185
|
-
visible: { opacity: 1 },
|
|
186
|
-
exit: { opacity: 0 }
|
|
187
|
-
};
|
|
188
|
-
var notificationBanner = {
|
|
189
|
-
hidden: { y: -100, opacity: 0, scale: 0.9 },
|
|
190
|
-
visible: {
|
|
191
|
-
y: 0,
|
|
192
|
-
opacity: 1,
|
|
193
|
-
scale: 1,
|
|
194
|
-
transition: springPresets.bouncy
|
|
195
|
-
},
|
|
196
|
-
exit: {
|
|
197
|
-
y: -100,
|
|
198
|
-
opacity: 0,
|
|
199
|
-
scale: 0.9,
|
|
200
|
-
transition: { duration: 0.2 }
|
|
201
|
-
}
|
|
202
|
-
};
|
|
203
|
-
var notificationBannerReduced = {
|
|
204
|
-
hidden: { opacity: 0 },
|
|
205
|
-
visible: { opacity: 1, transition: { duration: 0.15 } },
|
|
206
|
-
exit: { opacity: 0, transition: { duration: 0.1 } }
|
|
207
|
-
};
|
|
208
|
-
var listItem = {
|
|
209
|
-
hidden: { opacity: 0, x: -20 },
|
|
210
|
-
visible: (i) => ({
|
|
211
|
-
opacity: 1,
|
|
212
|
-
x: 0,
|
|
213
|
-
transition: {
|
|
214
|
-
delay: i * 0.05,
|
|
215
|
-
...springPresets.default
|
|
216
|
-
}
|
|
217
|
-
})
|
|
218
|
-
};
|
|
219
|
-
var staggerContainer = {
|
|
220
|
-
hidden: { opacity: 0 },
|
|
221
|
-
visible: {
|
|
222
|
-
opacity: 1,
|
|
223
|
-
transition: {
|
|
224
|
-
staggerChildren: 0.05
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
};
|
|
228
|
-
var listItemReduced = {
|
|
229
|
-
hidden: { opacity: 0 },
|
|
230
|
-
visible: { opacity: 1, transition: { duration: 0.15 } }
|
|
231
|
-
};
|
|
232
|
-
var swipeActionThreshold = 80;
|
|
233
|
-
var swipeConstraints = {
|
|
234
|
-
left: -120,
|
|
235
|
-
right: 0
|
|
236
|
-
};
|
|
237
|
-
var pageControlDot = {
|
|
238
|
-
inactive: { width: 8, backgroundColor: "rgb(156 163 175)" },
|
|
239
|
-
active: { width: 24, backgroundColor: "rgb(59 130 246)" }
|
|
240
|
-
};
|
|
241
|
-
var iosColors = {
|
|
242
|
-
// Primary colors
|
|
243
|
-
blue: "#007AFF",
|
|
244
|
-
green: "#34C759",
|
|
245
|
-
red: "#FF3B30",
|
|
246
|
-
orange: "#FF9500",
|
|
247
|
-
yellow: "#FFCC00",
|
|
248
|
-
purple: "#AF52DE",
|
|
249
|
-
pink: "#FF2D55",
|
|
250
|
-
teal: "#5AC8FA",
|
|
251
|
-
indigo: "#5856D6",
|
|
252
|
-
mint: "#00C7BE",
|
|
253
|
-
cyan: "#32ADE6",
|
|
254
|
-
brown: "#A2845E",
|
|
255
|
-
// Grays
|
|
256
|
-
gray: "#8E8E93",
|
|
257
|
-
gray2: "#AEAEB2",
|
|
258
|
-
gray3: "#C7C7CC",
|
|
259
|
-
gray4: "#D1D1D6",
|
|
260
|
-
gray5: "#E5E5EA",
|
|
261
|
-
gray6: "#F2F2F7",
|
|
262
|
-
// Dark mode variants
|
|
263
|
-
dark: {
|
|
264
|
-
blue: "#0A84FF",
|
|
265
|
-
green: "#30D158",
|
|
266
|
-
red: "#FF453A",
|
|
267
|
-
orange: "#FF9F0A",
|
|
268
|
-
yellow: "#FFD60A",
|
|
269
|
-
purple: "#BF5AF2",
|
|
270
|
-
pink: "#FF375F",
|
|
271
|
-
teal: "#64D2FF",
|
|
272
|
-
indigo: "#5E5CE6",
|
|
273
|
-
mint: "#66D4CF",
|
|
274
|
-
cyan: "#5AC8FA",
|
|
275
|
-
brown: "#AC8E68"
|
|
276
|
-
}
|
|
277
|
-
};
|
|
278
|
-
var durations = {
|
|
279
|
-
instant: 0,
|
|
280
|
-
fast: duration.sm / 1e3,
|
|
281
|
-
normal: duration.md / 1e3,
|
|
282
|
-
slow: duration.lg / 1e3,
|
|
283
|
-
verySlow: 0.5
|
|
284
|
-
};
|
|
285
|
-
var durationsReduced = {
|
|
286
|
-
instant: 0,
|
|
287
|
-
fast: prefersReducedMotion() ? 0 : 0.15,
|
|
288
|
-
normal: prefersReducedMotion() ? 0 : 0.25,
|
|
289
|
-
slow: prefersReducedMotion() ? 0 : 0.35,
|
|
290
|
-
verySlow: prefersReducedMotion() ? 0 : 0.5
|
|
291
|
-
};
|
|
292
|
-
var easings = {
|
|
293
|
-
default: [0.25, 0.1, 0.25, 1],
|
|
294
|
-
out: ease.decelerate,
|
|
295
|
-
in: ease.accelerate,
|
|
296
|
-
inOut: ease.standard,
|
|
297
|
-
ios: ease.ios
|
|
298
|
-
};
|
|
299
|
-
function createMotionProps(animatedProps, reducedProps = {}) {
|
|
300
|
-
if (prefersReducedMotion()) {
|
|
301
|
-
return { ...animatedProps, ...reducedProps, transition: { duration: 0 } };
|
|
302
|
-
}
|
|
303
|
-
return animatedProps;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
// src/components/button-styles.ts
|
|
307
|
-
var iosColors2 = {
|
|
308
|
-
// Glassy iOS blue — neutral glass at rest, fills blue on hover
|
|
309
|
-
"ios-glass-blue": [
|
|
310
|
-
"liquid-button-primary text-slate-900 [--btn-bg:transparent] [--btn-border:transparent] [--btn-hover-overlay:transparent]",
|
|
311
|
-
"dark:text-white dark:[--btn-bg:transparent] dark:[--btn-border:transparent]",
|
|
312
|
-
"[--btn-icon:var(--color-slate-600)] dark:[--btn-icon:var(--color-white)]/70"
|
|
313
|
-
],
|
|
314
|
-
// Glassy iOS red — neutral glass at rest, fills red on hover
|
|
315
|
-
"ios-glass-red": [
|
|
316
|
-
"liquid-button liquid-button-red text-slate-900 [--btn-bg:transparent] [--btn-border:transparent] [--btn-hover-overlay:transparent]",
|
|
317
|
-
"dark:text-white dark:[--btn-bg:transparent] dark:[--btn-border:transparent]",
|
|
318
|
-
"[--btn-icon:var(--color-slate-600)] dark:[--btn-icon:var(--color-white)]/70"
|
|
319
|
-
],
|
|
320
|
-
// Glassy iOS green — neutral glass at rest, fills green on hover
|
|
321
|
-
"ios-glass-green": [
|
|
322
|
-
"liquid-button liquid-button-green text-slate-900 [--btn-bg:transparent] [--btn-border:transparent] [--btn-hover-overlay:transparent]",
|
|
323
|
-
"dark:text-white dark:[--btn-bg:transparent] dark:[--btn-border:transparent]",
|
|
324
|
-
"[--btn-icon:var(--color-slate-600)] dark:[--btn-icon:var(--color-white)]/70"
|
|
325
|
-
],
|
|
326
|
-
// Primary iOS blue
|
|
327
|
-
"ios-blue": [
|
|
328
|
-
"text-white [--btn-bg:#007AFF] [--btn-border:#0066DD] [--btn-hover-overlay:var(--color-white)]/10",
|
|
329
|
-
"dark:[--btn-bg:#0A84FF] dark:[--btn-border:#007AFF]",
|
|
330
|
-
"[--btn-icon:var(--color-white)]/80"
|
|
331
|
-
],
|
|
332
|
-
// Destructive iOS red
|
|
333
|
-
"ios-red": [
|
|
334
|
-
"text-white [--btn-bg:#FF3B30] [--btn-border:#E6352B] [--btn-hover-overlay:var(--color-white)]/10",
|
|
335
|
-
"dark:[--btn-bg:#FF453A] dark:[--btn-border:#FF3B30]",
|
|
336
|
-
"[--btn-icon:var(--color-white)]/80"
|
|
337
|
-
],
|
|
338
|
-
// iOS green (success/confirm)
|
|
339
|
-
"ios-green": [
|
|
340
|
-
"text-white [--btn-bg:#34C759] [--btn-border:#2DB350] [--btn-hover-overlay:var(--color-white)]/10",
|
|
341
|
-
"dark:[--btn-bg:#30D158] dark:[--btn-border:#34C759]",
|
|
342
|
-
"[--btn-icon:var(--color-white)]/80"
|
|
343
|
-
],
|
|
344
|
-
// iOS orange (warning)
|
|
345
|
-
"ios-orange": [
|
|
346
|
-
"text-white [--btn-bg:#FF9500] [--btn-border:#E68600] [--btn-hover-overlay:var(--color-white)]/10",
|
|
347
|
-
"dark:[--btn-bg:#FF9F0A] dark:[--btn-border:#FF9500]",
|
|
348
|
-
"[--btn-icon:var(--color-white)]/80"
|
|
349
|
-
],
|
|
350
|
-
// iOS purple
|
|
351
|
-
"ios-purple": [
|
|
352
|
-
"text-white [--btn-bg:#AF52DE] [--btn-border:#9B48C7] [--btn-hover-overlay:var(--color-white)]/10",
|
|
353
|
-
"dark:[--btn-bg:#BF5AF2] dark:[--btn-border:#AF52DE]",
|
|
354
|
-
"[--btn-icon:var(--color-white)]/80"
|
|
355
|
-
],
|
|
356
|
-
// iOS teal
|
|
357
|
-
"ios-teal": [
|
|
358
|
-
"text-white [--btn-bg:#5AC8FA] [--btn-border:#4AB8E8] [--btn-hover-overlay:var(--color-white)]/10",
|
|
359
|
-
"dark:[--btn-bg:#64D2FF] dark:[--btn-border:#5AC8FA]",
|
|
360
|
-
"[--btn-icon:var(--color-white)]/80"
|
|
361
|
-
]
|
|
362
|
-
};
|
|
363
|
-
var sizeStyles = {
|
|
364
|
-
xs: "px-2 py-1 text-xs rounded-md",
|
|
365
|
-
sm: "px-3 py-1.5 text-sm rounded-lg",
|
|
366
|
-
md: "",
|
|
367
|
-
// Default size from base styles
|
|
368
|
-
lg: "px-5 py-3 text-base rounded-xl",
|
|
369
|
-
xl: "px-6 py-4 text-lg rounded-xl"
|
|
370
|
-
};
|
|
371
|
-
var pillStyles = "rounded-full";
|
|
372
|
-
var styles = {
|
|
373
|
-
base: [
|
|
374
|
-
// Base
|
|
375
|
-
"relative isolate inline-flex items-center justify-center gap-x-2 rounded-lg border text-base/6 font-semibold",
|
|
376
|
-
// Sizing
|
|
377
|
-
"px-[calc(--spacing(3.5)-1px)] py-[calc(--spacing(2.5)-1px)] sm:px-[calc(--spacing(3)-1px)] sm:py-[calc(--spacing(1.5)-1px)] sm:text-sm/6",
|
|
378
|
-
// Focus
|
|
379
|
-
"focus:not-data-focus:outline-hidden data-focus:outline-2 data-focus:outline-offset-2 data-focus:outline-blue-500",
|
|
380
|
-
// Disabled
|
|
381
|
-
"data-disabled:opacity-50",
|
|
382
|
-
// Icon
|
|
383
|
-
"*:data-[slot=icon]:-mx-0.5 *:data-[slot=icon]:my-0.5 *:data-[slot=icon]:size-5 *:data-[slot=icon]:shrink-0 *:data-[slot=icon]:self-center *:data-[slot=icon]:text-(--btn-icon) sm:*:data-[slot=icon]:my-1 sm:*:data-[slot=icon]:size-4 forced-colors:[--btn-icon:ButtonText] forced-colors:data-hover:[--btn-icon:ButtonText]"
|
|
384
|
-
],
|
|
385
|
-
solid: [
|
|
386
|
-
// Optical border, implemented as the button background to avoid corner artifacts
|
|
387
|
-
"border-transparent bg-(--btn-border)",
|
|
388
|
-
// Dark mode: border is rendered on `after` so background is set to button background
|
|
389
|
-
"dark:bg-(--btn-bg)",
|
|
390
|
-
// Button background, implemented as foreground layer to stack on top of pseudo-border layer
|
|
391
|
-
"before:absolute before:inset-0 before:-z-10 before:rounded-[calc(var(--radius-lg)-1px)] before:bg-(--btn-bg)",
|
|
392
|
-
// Drop shadow, applied to the inset `before` layer so it blends with the border
|
|
393
|
-
"before:shadow-xs",
|
|
394
|
-
// Background color is moved to control and shadow is removed in dark mode so hide `before` pseudo
|
|
395
|
-
"dark:before:hidden",
|
|
396
|
-
// Dark mode: Subtle white outline is applied using a border
|
|
397
|
-
"dark:border-white/5",
|
|
398
|
-
// Shim/overlay, inset to match button foreground and used for hover state + highlight shadow
|
|
399
|
-
"after:absolute after:inset-0 after:-z-10 after:rounded-[calc(var(--radius-lg)-1px)]",
|
|
400
|
-
// Inner highlight shadow
|
|
401
|
-
"after:shadow-[inset_0_1px_--theme(--color-white/15%)]",
|
|
402
|
-
// White overlay on hover
|
|
403
|
-
"data-active:after:bg-(--btn-hover-overlay) data-hover:after:bg-(--btn-hover-overlay)",
|
|
404
|
-
// Dark mode: `after` layer expands to cover entire button
|
|
405
|
-
"dark:after:-inset-px dark:after:rounded-lg",
|
|
406
|
-
// Disabled
|
|
407
|
-
"data-disabled:before:shadow-none data-disabled:after:shadow-none"
|
|
408
|
-
],
|
|
409
|
-
outline: [
|
|
410
|
-
// Liquid glass secondary button
|
|
411
|
-
"liquid-button text-slate-900 !border-white/55",
|
|
412
|
-
// Dark mode
|
|
413
|
-
"dark:text-white dark:!border-white/18",
|
|
414
|
-
// Icon
|
|
415
|
-
"[--btn-icon:var(--color-zinc-500)] data-active:[--btn-icon:var(--color-zinc-700)] data-hover:[--btn-icon:var(--color-zinc-700)] dark:data-active:[--btn-icon:var(--color-zinc-400)] dark:data-hover:[--btn-icon:var(--color-zinc-400)]"
|
|
416
|
-
],
|
|
417
|
-
plain: [
|
|
418
|
-
// Base
|
|
419
|
-
"border-transparent text-zinc-950 data-active:bg-zinc-950/5 data-hover:bg-zinc-950/5",
|
|
420
|
-
// Dark mode
|
|
421
|
-
"dark:text-white dark:data-active:bg-white/10 dark:data-hover:bg-white/10",
|
|
422
|
-
// Icon
|
|
423
|
-
"[--btn-icon:var(--color-zinc-500)] data-active:[--btn-icon:var(--color-zinc-700)] data-hover:[--btn-icon:var(--color-zinc-700)] dark:[--btn-icon:var(--color-zinc-500)] dark:data-active:[--btn-icon:var(--color-zinc-400)] dark:data-hover:[--btn-icon:var(--color-zinc-400)]"
|
|
424
|
-
],
|
|
425
|
-
gradient: [
|
|
426
|
-
// Same crystal-illuminated mechanic as ios-glass-blue/red/green:
|
|
427
|
-
// neutral glass at rest, fills with translucent indigo→purple
|
|
428
|
-
// gradient on hover. The actual rest/hover styling — including
|
|
429
|
-
// the text-color flip from slate-900 → white — lives in the
|
|
430
|
-
// `.liquid-button-gradient` CSS class in liquid-glass.css so the
|
|
431
|
-
// whole transition is keyed off `:hover` (works without JS).
|
|
432
|
-
"liquid-button-gradient border-transparent",
|
|
433
|
-
// Disabled
|
|
434
|
-
"data-disabled:opacity-50 data-disabled:saturate-50",
|
|
435
|
-
// Icon tint flips with text via inherit (currentColor)
|
|
436
|
-
"[--btn-icon:currentColor]"
|
|
437
|
-
],
|
|
438
|
-
colors: {
|
|
439
|
-
"dark/zinc": [
|
|
440
|
-
"text-white [--btn-bg:var(--color-zinc-900)] [--btn-border:var(--color-zinc-950)]/90 [--btn-hover-overlay:var(--color-white)]/10",
|
|
441
|
-
"dark:text-white dark:[--btn-bg:var(--color-zinc-600)] dark:[--btn-hover-overlay:var(--color-white)]/5",
|
|
442
|
-
"[--btn-icon:var(--color-zinc-400)] data-active:[--btn-icon:var(--color-zinc-300)] data-hover:[--btn-icon:var(--color-zinc-300)]"
|
|
443
|
-
],
|
|
444
|
-
light: [
|
|
445
|
-
"text-zinc-950 [--btn-bg:white] [--btn-border:var(--color-zinc-950)]/10 [--btn-hover-overlay:var(--color-zinc-950)]/2.5 data-active:[--btn-border:var(--color-zinc-950)]/15 data-hover:[--btn-border:var(--color-zinc-950)]/15",
|
|
446
|
-
"dark:text-white dark:[--btn-hover-overlay:var(--color-white)]/5 dark:[--btn-bg:var(--color-zinc-800)]",
|
|
447
|
-
"[--btn-icon:var(--color-zinc-500)] data-active:[--btn-icon:var(--color-zinc-700)] data-hover:[--btn-icon:var(--color-zinc-700)] dark:[--btn-icon:var(--color-zinc-500)] dark:data-active:[--btn-icon:var(--color-zinc-400)] dark:data-hover:[--btn-icon:var(--color-zinc-400)]"
|
|
448
|
-
],
|
|
449
|
-
"dark/white": [
|
|
450
|
-
"text-white [--btn-bg:var(--color-zinc-900)] [--btn-border:var(--color-zinc-950)]/90 [--btn-hover-overlay:var(--color-white)]/10",
|
|
451
|
-
"dark:text-zinc-950 dark:[--btn-bg:white] dark:[--btn-hover-overlay:var(--color-zinc-950)]/5",
|
|
452
|
-
"[--btn-icon:var(--color-zinc-400)] data-active:[--btn-icon:var(--color-zinc-300)] data-hover:[--btn-icon:var(--color-zinc-300)] dark:[--btn-icon:var(--color-zinc-500)] dark:data-active:[--btn-icon:var(--color-zinc-400)] dark:data-hover:[--btn-icon:var(--color-zinc-400)]"
|
|
453
|
-
],
|
|
454
|
-
dark: [
|
|
455
|
-
"text-white [--btn-bg:var(--color-zinc-900)] [--btn-border:var(--color-zinc-950)]/90 [--btn-hover-overlay:var(--color-white)]/10",
|
|
456
|
-
"dark:[--btn-hover-overlay:var(--color-white)]/5 dark:[--btn-bg:var(--color-zinc-800)]",
|
|
457
|
-
"[--btn-icon:var(--color-zinc-400)] data-active:[--btn-icon:var(--color-zinc-300)] data-hover:[--btn-icon:var(--color-zinc-300)]"
|
|
458
|
-
],
|
|
459
|
-
white: [
|
|
460
|
-
"text-zinc-950 [--btn-bg:white] [--btn-border:var(--color-zinc-950)]/10 [--btn-hover-overlay:var(--color-zinc-950)]/2.5 data-active:[--btn-border:var(--color-zinc-950)]/15 data-hover:[--btn-border:var(--color-zinc-950)]/15",
|
|
461
|
-
"dark:[--btn-hover-overlay:var(--color-zinc-950)]/5",
|
|
462
|
-
"[--btn-icon:var(--color-zinc-400)] data-active:[--btn-icon:var(--color-zinc-500)] data-hover:[--btn-icon:var(--color-zinc-500)]"
|
|
463
|
-
],
|
|
464
|
-
zinc: [
|
|
465
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-zinc-600)] [--btn-border:var(--color-zinc-700)]/90",
|
|
466
|
-
"dark:[--btn-hover-overlay:var(--color-white)]/5",
|
|
467
|
-
"[--btn-icon:var(--color-zinc-400)] data-active:[--btn-icon:var(--color-zinc-300)] data-hover:[--btn-icon:var(--color-zinc-300)]"
|
|
468
|
-
],
|
|
469
|
-
indigo: [
|
|
470
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-indigo-500)] [--btn-border:var(--color-indigo-600)]/90",
|
|
471
|
-
"[--btn-icon:var(--color-indigo-300)] data-active:[--btn-icon:var(--color-indigo-200)] data-hover:[--btn-icon:var(--color-indigo-200)]"
|
|
472
|
-
],
|
|
473
|
-
cyan: [
|
|
474
|
-
"text-cyan-950 [--btn-bg:var(--color-cyan-300)] [--btn-border:var(--color-cyan-400)]/80 [--btn-hover-overlay:var(--color-white)]/25",
|
|
475
|
-
"[--btn-icon:var(--color-cyan-500)]"
|
|
476
|
-
],
|
|
477
|
-
red: [
|
|
478
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-red-600)] [--btn-border:var(--color-red-700)]/90",
|
|
479
|
-
"[--btn-icon:var(--color-red-300)] data-active:[--btn-icon:var(--color-red-200)] data-hover:[--btn-icon:var(--color-red-200)]"
|
|
480
|
-
],
|
|
481
|
-
orange: [
|
|
482
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-orange-500)] [--btn-border:var(--color-orange-600)]/90",
|
|
483
|
-
"[--btn-icon:var(--color-orange-300)] data-active:[--btn-icon:var(--color-orange-200)] data-hover:[--btn-icon:var(--color-orange-200)]"
|
|
484
|
-
],
|
|
485
|
-
amber: [
|
|
486
|
-
"text-amber-950 [--btn-hover-overlay:var(--color-white)]/25 [--btn-bg:var(--color-amber-400)] [--btn-border:var(--color-amber-500)]/80",
|
|
487
|
-
"[--btn-icon:var(--color-amber-600)]"
|
|
488
|
-
],
|
|
489
|
-
yellow: [
|
|
490
|
-
"text-yellow-950 [--btn-hover-overlay:var(--color-white)]/25 [--btn-bg:var(--color-yellow-300)] [--btn-border:var(--color-yellow-400)]/80",
|
|
491
|
-
"[--btn-icon:var(--color-yellow-600)] data-active:[--btn-icon:var(--color-yellow-700)] data-hover:[--btn-icon:var(--color-yellow-700)]"
|
|
492
|
-
],
|
|
493
|
-
lime: [
|
|
494
|
-
"text-lime-950 [--btn-hover-overlay:var(--color-white)]/25 [--btn-bg:var(--color-lime-300)] [--btn-border:var(--color-lime-400)]/80",
|
|
495
|
-
"[--btn-icon:var(--color-lime-600)] data-active:[--btn-icon:var(--color-lime-700)] data-hover:[--btn-icon:var(--color-lime-700)]"
|
|
496
|
-
],
|
|
497
|
-
green: [
|
|
498
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-green-600)] [--btn-border:var(--color-green-700)]/90",
|
|
499
|
-
"[--btn-icon:var(--color-white)]/60 data-active:[--btn-icon:var(--color-white)]/80 data-hover:[--btn-icon:var(--color-white)]/80"
|
|
500
|
-
],
|
|
501
|
-
emerald: [
|
|
502
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-emerald-600)] [--btn-border:var(--color-emerald-700)]/90",
|
|
503
|
-
"[--btn-icon:var(--color-white)]/60 data-active:[--btn-icon:var(--color-white)]/80 data-hover:[--btn-icon:var(--color-white)]/80"
|
|
504
|
-
],
|
|
505
|
-
teal: [
|
|
506
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-teal-600)] [--btn-border:var(--color-teal-700)]/90",
|
|
507
|
-
"[--btn-icon:var(--color-white)]/60 data-active:[--btn-icon:var(--color-white)]/80 data-hover:[--btn-icon:var(--color-white)]/80"
|
|
508
|
-
],
|
|
509
|
-
sky: [
|
|
510
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-sky-500)] [--btn-border:var(--color-sky-600)]/80",
|
|
511
|
-
"[--btn-icon:var(--color-white)]/60 data-active:[--btn-icon:var(--color-white)]/80 data-hover:[--btn-icon:var(--color-white)]/80"
|
|
512
|
-
],
|
|
513
|
-
blue: [
|
|
514
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-blue-600)] [--btn-border:var(--color-blue-700)]/90",
|
|
515
|
-
"[--btn-icon:var(--color-blue-400)] data-active:[--btn-icon:var(--color-blue-300)] data-hover:[--btn-icon:var(--color-blue-300)]"
|
|
516
|
-
],
|
|
517
|
-
violet: [
|
|
518
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-violet-500)] [--btn-border:var(--color-violet-600)]/90",
|
|
519
|
-
"[--btn-icon:var(--color-violet-300)] data-active:[--btn-icon:var(--color-violet-200)] data-hover:[--btn-icon:var(--color-violet-200)]"
|
|
520
|
-
],
|
|
521
|
-
purple: [
|
|
522
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-purple-500)] [--btn-border:var(--color-purple-600)]/90",
|
|
523
|
-
"[--btn-icon:var(--color-purple-300)] data-active:[--btn-icon:var(--color-purple-200)] data-hover:[--btn-icon:var(--color-purple-200)]"
|
|
524
|
-
],
|
|
525
|
-
fuchsia: [
|
|
526
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-fuchsia-500)] [--btn-border:var(--color-fuchsia-600)]/90",
|
|
527
|
-
"[--btn-icon:var(--color-fuchsia-300)] data-active:[--btn-icon:var(--color-fuchsia-200)] data-hover:[--btn-icon:var(--color-fuchsia-200)]"
|
|
528
|
-
],
|
|
529
|
-
pink: [
|
|
530
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-pink-500)] [--btn-border:var(--color-pink-600)]/90",
|
|
531
|
-
"[--btn-icon:var(--color-pink-300)] data-active:[--btn-icon:var(--color-pink-200)] data-hover:[--btn-icon:var(--color-pink-200)]"
|
|
532
|
-
],
|
|
533
|
-
rose: [
|
|
534
|
-
"text-white [--btn-hover-overlay:var(--color-white)]/10 [--btn-bg:var(--color-rose-500)] [--btn-border:var(--color-rose-600)]/90",
|
|
535
|
-
"[--btn-icon:var(--color-rose-300)] data-active:[--btn-icon:var(--color-rose-200)] data-hover:[--btn-icon:var(--color-rose-200)]"
|
|
536
|
-
]
|
|
537
|
-
}
|
|
538
|
-
};
|
|
539
|
-
var fabSizes = {
|
|
540
|
-
sm: "h-12 w-12",
|
|
541
|
-
md: "h-14 w-14",
|
|
542
|
-
lg: "h-16 w-16"
|
|
543
|
-
};
|
|
544
|
-
var fabIconSizes = {
|
|
545
|
-
sm: "h-5 w-5",
|
|
546
|
-
md: "h-6 w-6",
|
|
547
|
-
lg: "h-7 w-7"
|
|
548
|
-
};
|
|
549
|
-
var fabPositions = {
|
|
550
|
-
"bottom-right": "fixed bottom-6 right-6",
|
|
551
|
-
"bottom-left": "fixed bottom-6 left-6",
|
|
552
|
-
"bottom-center": "fixed bottom-6 left-1/2 -translate-x-1/2"
|
|
553
|
-
};
|
|
554
|
-
var fabColors = {
|
|
555
|
-
"ios-blue": "text-white bg-[#007AFF]/85 dark:bg-[#0A84FF]/80 backdrop-blur-xl border border-white/30 dark:border-white/15 shadow-[inset_0_1px_2px_rgba(255,255,255,0.5),0_12px_32px_-8px_rgba(0,122,255,0.5)] hover:bg-[#007AFF] dark:hover:bg-[#0A84FF] hover:shadow-[inset_0_1px_2px_rgba(255,255,255,0.55),0_16px_40px_-8px_rgba(0,122,255,0.65),0_0_24px_-4px_rgba(0,122,255,0.4)]",
|
|
556
|
-
"ios-green": "text-white bg-[#34C759]/85 dark:bg-[#30D158]/80 backdrop-blur-xl border border-white/30 dark:border-white/15 shadow-[inset_0_1px_2px_rgba(255,255,255,0.5),0_12px_32px_-8px_rgba(52,199,89,0.5)] hover:bg-[#34C759] dark:hover:bg-[#30D158] hover:shadow-[inset_0_1px_2px_rgba(255,255,255,0.55),0_16px_40px_-8px_rgba(52,199,89,0.65),0_0_24px_-4px_rgba(52,199,89,0.4)]",
|
|
557
|
-
"ios-red": "text-white bg-[#FF3B30]/85 dark:bg-[#FF453A]/80 backdrop-blur-xl border border-white/30 dark:border-white/15 shadow-[inset_0_1px_2px_rgba(255,255,255,0.5),0_12px_32px_-8px_rgba(255,59,48,0.5)] hover:bg-[#FF3B30] dark:hover:bg-[#FF453A] hover:shadow-[inset_0_1px_2px_rgba(255,255,255,0.55),0_16px_40px_-8px_rgba(255,59,48,0.65),0_0_24px_-4px_rgba(255,59,48,0.4)]",
|
|
558
|
-
"ios-purple": "text-white bg-[#AF52DE]/85 dark:bg-[#BF5AF2]/80 backdrop-blur-xl border border-white/30 dark:border-white/15 shadow-[inset_0_1px_2px_rgba(255,255,255,0.5),0_12px_32px_-8px_rgba(175,82,222,0.5)] hover:bg-[#AF52DE] dark:hover:bg-[#BF5AF2] hover:shadow-[inset_0_1px_2px_rgba(255,255,255,0.55),0_16px_40px_-8px_rgba(175,82,222,0.65),0_0_24px_-4px_rgba(175,82,222,0.4)]",
|
|
559
|
-
"ios-orange": "text-white bg-[#FF9500]/85 dark:bg-[#FF9F0A]/80 backdrop-blur-xl border border-white/30 dark:border-white/15 shadow-[inset_0_1px_2px_rgba(255,255,255,0.5),0_12px_32px_-8px_rgba(255,149,0,0.5)] hover:bg-[#FF9500] dark:hover:bg-[#FF9F0A] hover:shadow-[inset_0_1px_2px_rgba(255,255,255,0.55),0_16px_40px_-8px_rgba(255,149,0,0.65),0_0_24px_-4px_rgba(255,149,0,0.4)]"
|
|
560
|
-
};
|
|
561
|
-
var iconButtonSizes = {
|
|
562
|
-
sm: "h-8 w-8",
|
|
563
|
-
md: "h-10 w-10",
|
|
564
|
-
lg: "h-12 w-12"
|
|
565
|
-
};
|
|
566
|
-
var iconSizes = {
|
|
567
|
-
sm: "h-4 w-4",
|
|
568
|
-
md: "h-5 w-5",
|
|
569
|
-
lg: "h-6 w-6"
|
|
570
|
-
};
|
|
571
|
-
var Button = forwardRef(function Button2({
|
|
572
|
-
color,
|
|
573
|
-
outline,
|
|
574
|
-
plain,
|
|
575
|
-
gradient,
|
|
576
|
-
className,
|
|
577
|
-
children,
|
|
578
|
-
pill,
|
|
579
|
-
size = "md",
|
|
580
|
-
loading,
|
|
581
|
-
loadingText,
|
|
582
|
-
fullWidth,
|
|
583
|
-
destructive,
|
|
584
|
-
disabled,
|
|
585
|
-
...props
|
|
586
|
-
}, ref) {
|
|
587
|
-
const finalColor = destructive ? "ios-red" : color;
|
|
588
|
-
const isIosColor = finalColor && finalColor in iosColors2;
|
|
589
|
-
const colorStyles2 = isIosColor ? iosColors2[finalColor] : styles.colors[finalColor] ?? styles.colors["dark/zinc"];
|
|
590
|
-
let classes = clsx(
|
|
591
|
-
className,
|
|
592
|
-
styles.base,
|
|
593
|
-
gradient ? styles.gradient : outline ? styles.outline : plain ? styles.plain : clsx(styles.solid, colorStyles2),
|
|
594
|
-
pill && pillStyles,
|
|
595
|
-
size !== "md" && sizeStyles[size],
|
|
596
|
-
fullWidth && "w-full",
|
|
597
|
-
loading && "pointer-events-none"
|
|
598
|
-
);
|
|
599
|
-
const handleTapStart = () => {
|
|
600
|
-
if (!loading && !disabled) {
|
|
601
|
-
triggerHaptic(destructive ? "medium" : "light");
|
|
602
|
-
}
|
|
603
|
-
};
|
|
604
|
-
const isDisabled = disabled || loading;
|
|
605
|
-
const buttonContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
606
|
-
/* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: loading && /* @__PURE__ */ jsx(
|
|
607
|
-
motion.span,
|
|
608
|
-
{
|
|
609
|
-
initial: { opacity: 0, width: 0 },
|
|
610
|
-
animate: { opacity: 1, width: "auto" },
|
|
611
|
-
exit: { opacity: 0, width: 0 },
|
|
612
|
-
transition: getTransition(springPresets.stiff),
|
|
613
|
-
className: "inline-flex items-center",
|
|
614
|
-
children: /* @__PURE__ */ jsx(LoadingSpinner, { className: "mr-2" })
|
|
615
|
-
}
|
|
616
|
-
) }),
|
|
617
|
-
/* @__PURE__ */ jsx("span", { className: clsx("inline-flex items-center gap-x-2", loading && "opacity-70"), children: loading && loadingText ? loadingText : children })
|
|
618
|
-
] });
|
|
619
|
-
const linkProps = props;
|
|
620
|
-
const buttonProps = props;
|
|
621
|
-
const isLink = typeof props.href === "string";
|
|
622
|
-
return isLink ? /* @__PURE__ */ jsx(
|
|
623
|
-
motion.div,
|
|
624
|
-
{
|
|
625
|
-
whileTap: !isDisabled ? { scale: 0.97 } : void 0,
|
|
626
|
-
transition: getTransition(springPresets.stiff),
|
|
627
|
-
onTapStart: handleTapStart,
|
|
628
|
-
className: clsx("inline-flex", fullWidth && "w-full"),
|
|
629
|
-
children: /* @__PURE__ */ jsx(
|
|
630
|
-
Link,
|
|
631
|
-
{
|
|
632
|
-
...linkProps,
|
|
633
|
-
className: classes,
|
|
634
|
-
ref,
|
|
635
|
-
children: /* @__PURE__ */ jsx(TouchTarget, { children: buttonContent })
|
|
636
|
-
}
|
|
637
|
-
)
|
|
638
|
-
}
|
|
639
|
-
) : /* @__PURE__ */ jsx(
|
|
640
|
-
motion.div,
|
|
641
|
-
{
|
|
642
|
-
whileTap: !isDisabled ? { scale: 0.97 } : void 0,
|
|
643
|
-
transition: getTransition(springPresets.stiff),
|
|
644
|
-
onTapStart: handleTapStart,
|
|
645
|
-
className: clsx("inline-flex", fullWidth && "w-full"),
|
|
646
|
-
children: /* @__PURE__ */ jsx(
|
|
647
|
-
Button$1,
|
|
648
|
-
{
|
|
649
|
-
...buttonProps,
|
|
650
|
-
disabled: isDisabled,
|
|
651
|
-
className: clsx(classes, "cursor-default"),
|
|
652
|
-
ref,
|
|
653
|
-
children: /* @__PURE__ */ jsx(TouchTarget, { children: buttonContent })
|
|
654
|
-
}
|
|
655
|
-
)
|
|
656
|
-
}
|
|
657
|
-
);
|
|
658
|
-
});
|
|
659
|
-
function TouchTarget({ children }) {
|
|
660
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
661
|
-
/* @__PURE__ */ jsx(
|
|
662
|
-
"span",
|
|
663
|
-
{
|
|
664
|
-
className: "absolute top-1/2 left-1/2 size-[max(100%,2.75rem)] -translate-x-1/2 -translate-y-1/2 pointer-fine:hidden",
|
|
665
|
-
"aria-hidden": "true"
|
|
666
|
-
}
|
|
667
|
-
),
|
|
668
|
-
children
|
|
669
|
-
] });
|
|
670
|
-
}
|
|
671
|
-
function LoadingSpinner({ className }) {
|
|
672
|
-
return /* @__PURE__ */ jsxs(
|
|
673
|
-
"svg",
|
|
674
|
-
{
|
|
675
|
-
className: clsx("h-4 w-4 animate-spin motion-reduce:animate-none", className),
|
|
676
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
677
|
-
fill: "none",
|
|
678
|
-
viewBox: "0 0 24 24",
|
|
679
|
-
children: [
|
|
680
|
-
/* @__PURE__ */ jsx(
|
|
681
|
-
"circle",
|
|
682
|
-
{
|
|
683
|
-
className: "opacity-25",
|
|
684
|
-
cx: "12",
|
|
685
|
-
cy: "12",
|
|
686
|
-
r: "10",
|
|
687
|
-
stroke: "currentColor",
|
|
688
|
-
strokeWidth: "4"
|
|
689
|
-
}
|
|
690
|
-
),
|
|
691
|
-
/* @__PURE__ */ jsx(
|
|
692
|
-
"path",
|
|
693
|
-
{
|
|
694
|
-
className: "opacity-75",
|
|
695
|
-
fill: "currentColor",
|
|
696
|
-
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
697
|
-
}
|
|
698
|
-
)
|
|
699
|
-
]
|
|
700
|
-
}
|
|
701
|
-
);
|
|
702
|
-
}
|
|
703
|
-
function FloatingActionButton({
|
|
704
|
-
icon,
|
|
705
|
-
label,
|
|
706
|
-
color = "ios-blue",
|
|
707
|
-
size = "md",
|
|
708
|
-
position = "bottom-right",
|
|
709
|
-
onClick,
|
|
710
|
-
loading,
|
|
711
|
-
className,
|
|
712
|
-
extended
|
|
713
|
-
}) {
|
|
714
|
-
const handleClick = () => {
|
|
715
|
-
if (!loading) {
|
|
716
|
-
triggerHaptic("medium");
|
|
717
|
-
onClick?.();
|
|
718
|
-
}
|
|
719
|
-
};
|
|
720
|
-
return /* @__PURE__ */ jsxs(
|
|
721
|
-
motion.button,
|
|
722
|
-
{
|
|
723
|
-
onClick: handleClick,
|
|
724
|
-
disabled: loading,
|
|
725
|
-
initial: { scale: 0, opacity: 0 },
|
|
726
|
-
animate: { scale: 1, opacity: 1 },
|
|
727
|
-
exit: { scale: 0, opacity: 0 },
|
|
728
|
-
whileHover: { scale: 1.05 },
|
|
729
|
-
whileTap: { scale: 0.95 },
|
|
730
|
-
transition: getTransition(springPresets.bouncy),
|
|
731
|
-
className: clsx(
|
|
732
|
-
fabPositions[position],
|
|
733
|
-
extended ? "px-5 h-14 rounded-full" : clsx(fabSizes[size], "rounded-full"),
|
|
734
|
-
fabColors[color],
|
|
735
|
-
"flex items-center justify-center gap-2",
|
|
736
|
-
"shadow-lg hover:shadow-xl",
|
|
737
|
-
"focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-indigo-500/70",
|
|
738
|
-
"z-50",
|
|
739
|
-
loading && "opacity-70 cursor-not-allowed",
|
|
740
|
-
className
|
|
741
|
-
),
|
|
742
|
-
"aria-label": label,
|
|
743
|
-
children: [
|
|
744
|
-
loading ? /* @__PURE__ */ jsx(LoadingSpinner, { className: fabIconSizes[size] }) : /* @__PURE__ */ jsx("span", { className: fabIconSizes[size], children: icon }),
|
|
745
|
-
extended && label && /* @__PURE__ */ jsx("span", { className: "font-semibold text-base", children: label })
|
|
746
|
-
]
|
|
747
|
-
}
|
|
748
|
-
);
|
|
749
|
-
}
|
|
750
|
-
function IconButton({
|
|
751
|
-
icon,
|
|
752
|
-
label,
|
|
753
|
-
color = "ios-blue",
|
|
754
|
-
size = "md",
|
|
755
|
-
variant = "ghost",
|
|
756
|
-
onClick,
|
|
757
|
-
disabled,
|
|
758
|
-
loading,
|
|
759
|
-
className,
|
|
760
|
-
destructive
|
|
761
|
-
}) {
|
|
762
|
-
const finalColor = destructive ? "ios-red" : color;
|
|
763
|
-
const isIosColor = finalColor in iosColors2;
|
|
764
|
-
const handleClick = () => {
|
|
765
|
-
if (!disabled && !loading) {
|
|
766
|
-
triggerHaptic(destructive ? "medium" : "light");
|
|
767
|
-
onClick?.();
|
|
768
|
-
}
|
|
769
|
-
};
|
|
770
|
-
const variantStyles2 = {
|
|
771
|
-
solid: clsx(
|
|
772
|
-
"text-white",
|
|
773
|
-
isIosColor && finalColor === "ios-blue" && "bg-[#007AFF] dark:bg-[#0A84FF]",
|
|
774
|
-
isIosColor && finalColor === "ios-red" && "bg-[#FF3B30] dark:bg-[#FF453A]",
|
|
775
|
-
isIosColor && finalColor === "ios-green" && "bg-[#34C759] dark:bg-[#30D158]",
|
|
776
|
-
isIosColor && finalColor === "ios-orange" && "bg-[#FF9500] dark:bg-[#FF9F0A]",
|
|
777
|
-
isIosColor && finalColor === "ios-purple" && "bg-[#AF52DE] dark:bg-[#BF5AF2]"
|
|
778
|
-
),
|
|
779
|
-
ghost: clsx(
|
|
780
|
-
"bg-transparent hover:bg-white/40 dark:hover:bg-white/[0.08]",
|
|
781
|
-
isIosColor && finalColor === "ios-blue" && "text-[#007AFF] dark:text-[#0A84FF]",
|
|
782
|
-
isIosColor && finalColor === "ios-red" && "text-[#FF3B30] dark:text-[#FF453A]",
|
|
783
|
-
isIosColor && finalColor === "ios-green" && "text-[#34C759] dark:text-[#30D158]",
|
|
784
|
-
isIosColor && finalColor === "ios-orange" && "text-[#FF9500] dark:text-[#FF9F0A]",
|
|
785
|
-
isIosColor && finalColor === "ios-purple" && "text-[#AF52DE] dark:text-[#BF5AF2]",
|
|
786
|
-
!isIosColor && "text-slate-700 dark:text-slate-300"
|
|
787
|
-
),
|
|
788
|
-
outline: clsx(
|
|
789
|
-
"bg-transparent border",
|
|
790
|
-
isIosColor && finalColor === "ios-blue" && "border-[#007AFF] text-[#007AFF] dark:border-[#0A84FF] dark:text-[#0A84FF]",
|
|
791
|
-
isIosColor && finalColor === "ios-red" && "border-[#FF3B30] text-[#FF3B30] dark:border-[#FF453A] dark:text-[#FF453A]",
|
|
792
|
-
isIosColor && finalColor === "ios-green" && "border-[#34C759] text-[#34C759] dark:border-[#30D158] dark:text-[#30D158]",
|
|
793
|
-
isIosColor && finalColor === "ios-orange" && "border-[#FF9500] text-[#FF9500] dark:border-[#FF9F0A] dark:text-[#FF9F0A]",
|
|
794
|
-
isIosColor && finalColor === "ios-purple" && "border-[#AF52DE] text-[#AF52DE] dark:border-[#BF5AF2] dark:text-[#BF5AF2]"
|
|
795
|
-
)
|
|
796
|
-
};
|
|
797
|
-
return /* @__PURE__ */ jsx(
|
|
798
|
-
motion.button,
|
|
799
|
-
{
|
|
800
|
-
onClick: handleClick,
|
|
801
|
-
disabled: disabled || loading,
|
|
802
|
-
whileTap: { scale: 0.9 },
|
|
803
|
-
transition: getTransition(springPresets.stiff),
|
|
804
|
-
className: clsx(
|
|
805
|
-
iconButtonSizes[size],
|
|
806
|
-
"rounded-full flex items-center justify-center",
|
|
807
|
-
"focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-indigo-500/70",
|
|
808
|
-
"transition-colors",
|
|
809
|
-
variantStyles2[variant],
|
|
810
|
-
(disabled || loading) && "opacity-50 cursor-not-allowed",
|
|
811
|
-
className
|
|
812
|
-
),
|
|
813
|
-
"aria-label": label,
|
|
814
|
-
children: loading ? /* @__PURE__ */ jsx(LoadingSpinner, { className: iconSizes[size] }) : /* @__PURE__ */ jsx("span", { className: iconSizes[size], children: icon })
|
|
815
|
-
}
|
|
816
|
-
);
|
|
817
|
-
}
|
|
818
30
|
var ICON_SIZE_CLASSES = {
|
|
819
31
|
sm: "h-9 w-9",
|
|
820
32
|
md: "h-10 w-10",
|
|
@@ -1085,7 +297,7 @@ function ListCardItem({
|
|
|
1085
297
|
className = "",
|
|
1086
298
|
...props
|
|
1087
299
|
}) {
|
|
1088
|
-
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
300
|
+
const content = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1089
301
|
leading && /* @__PURE__ */ jsx("div", { className: "shrink-0", children: leading }),
|
|
1090
302
|
/* @__PURE__ */ jsx("div", { className: "flex-1 min-w-0", children }),
|
|
1091
303
|
trailing && /* @__PURE__ */ jsx("div", { className: "shrink-0", children: trailing })
|
|
@@ -1431,11 +643,11 @@ function Sheet({
|
|
|
1431
643
|
}, [open, motionValue]);
|
|
1432
644
|
const maxHeight = snapPoints[snapPoints.length - 1];
|
|
1433
645
|
const rightSizeClass = size === "xl" ? "max-w-xl" : size === "lg" ? "max-w-lg" : "max-w-md";
|
|
1434
|
-
return /* @__PURE__ */ jsx(Transition, { show: open, as: Fragment
|
|
646
|
+
return /* @__PURE__ */ jsx(Transition, { show: open, as: Fragment, children: /* @__PURE__ */ jsxs(Dialog, { as: "div", className: "relative z-50", onClose, children: [
|
|
1435
647
|
/* @__PURE__ */ jsx(
|
|
1436
648
|
TransitionChild,
|
|
1437
649
|
{
|
|
1438
|
-
as: Fragment
|
|
650
|
+
as: Fragment,
|
|
1439
651
|
enter: "ease-out duration-300",
|
|
1440
652
|
enterFrom: "opacity-0",
|
|
1441
653
|
enterTo: "opacity-100",
|
|
@@ -1458,7 +670,7 @@ function Sheet({
|
|
|
1458
670
|
children: /* @__PURE__ */ jsx(
|
|
1459
671
|
TransitionChild,
|
|
1460
672
|
{
|
|
1461
|
-
as: Fragment
|
|
673
|
+
as: Fragment,
|
|
1462
674
|
enter: "transform transition ease-out duration-300",
|
|
1463
675
|
enterFrom: isRight ? "translate-x-full" : "translate-y-full",
|
|
1464
676
|
enterTo: isRight ? "translate-x-0" : "translate-y-0",
|
|
@@ -1881,7 +1093,7 @@ function DropdownSelect({
|
|
|
1881
1093
|
]
|
|
1882
1094
|
}
|
|
1883
1095
|
),
|
|
1884
|
-
/* @__PURE__ */ jsx(AnimatePresence, { children: isOpen && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1096
|
+
/* @__PURE__ */ jsx(AnimatePresence, { children: isOpen && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1885
1097
|
/* @__PURE__ */ jsx(
|
|
1886
1098
|
"div",
|
|
1887
1099
|
{
|
|
@@ -2430,7 +1642,7 @@ function getTestIdFromTitle(title) {
|
|
|
2430
1642
|
function StatusBadgeInternal({ status }) {
|
|
2431
1643
|
const tCommon = useTranslations("common");
|
|
2432
1644
|
if (typeof status !== "boolean") {
|
|
2433
|
-
return /* @__PURE__ */ jsx(Fragment, { children: status });
|
|
1645
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children: status });
|
|
2434
1646
|
}
|
|
2435
1647
|
return /* @__PURE__ */ jsxs(
|
|
2436
1648
|
"span",
|
|
@@ -2798,7 +2010,7 @@ function DashboardSectionRenderer({
|
|
|
2798
2010
|
case "note":
|
|
2799
2011
|
return /* @__PURE__ */ jsx(NoteSection, { data: section.data });
|
|
2800
2012
|
case "input_request":
|
|
2801
|
-
return renderInputRequest ? /* @__PURE__ */ jsx(Fragment, { children: renderInputRequest(section.data) }) : /* @__PURE__ */ jsx(InputRequestReadOnly, { data: section.data });
|
|
2013
|
+
return renderInputRequest ? /* @__PURE__ */ jsx(Fragment$1, { children: renderInputRequest(section.data) }) : /* @__PURE__ */ jsx(InputRequestReadOnly, { data: section.data });
|
|
2802
2014
|
default:
|
|
2803
2015
|
return /* @__PURE__ */ jsx(NoteSection, { data: { body: JSON.stringify(section, null, 2), tone: "info" } });
|
|
2804
2016
|
}
|
|
@@ -4327,16 +3539,16 @@ var colorClasses2 = {
|
|
|
4327
3539
|
};
|
|
4328
3540
|
function CircleSpinner({ size, color, className, ariaLabel }) {
|
|
4329
3541
|
const config = sizeConfig[size];
|
|
4330
|
-
const
|
|
3542
|
+
const colors2 = colorClasses2[color];
|
|
4331
3543
|
return /* @__PURE__ */ jsx(
|
|
4332
3544
|
"div",
|
|
4333
3545
|
{
|
|
4334
|
-
className: clsx
|
|
3546
|
+
className: clsx(
|
|
4335
3547
|
"rounded-full animate-spin motion-reduce:animate-none",
|
|
4336
3548
|
config.size,
|
|
4337
3549
|
config.border,
|
|
4338
|
-
|
|
4339
|
-
|
|
3550
|
+
colors2.track,
|
|
3551
|
+
colors2.indicator,
|
|
4340
3552
|
className
|
|
4341
3553
|
),
|
|
4342
3554
|
role: "status",
|
|
@@ -4346,16 +3558,16 @@ function CircleSpinner({ size, color, className, ariaLabel }) {
|
|
|
4346
3558
|
}
|
|
4347
3559
|
function DotsSpinner({ size, color, className, ariaLabel }) {
|
|
4348
3560
|
const config = sizeConfig[size];
|
|
4349
|
-
const
|
|
3561
|
+
const colors2 = colorClasses2[color];
|
|
4350
3562
|
const prefersReducedMotion2 = useReducedMotion();
|
|
4351
3563
|
const dotVariants = {
|
|
4352
3564
|
initial: { scale: 0.8, opacity: 0.4 },
|
|
4353
3565
|
animate: prefersReducedMotion2 ? { scale: 1, opacity: 1 } : { scale: 1, opacity: 1 }
|
|
4354
3566
|
};
|
|
4355
|
-
return /* @__PURE__ */ jsx("div", { className: clsx
|
|
3567
|
+
return /* @__PURE__ */ jsx("div", { className: clsx("flex items-center gap-1", className), role: "status", "aria-label": ariaLabel, children: [0, 1, 2].map((index) => /* @__PURE__ */ jsx(
|
|
4356
3568
|
motion.div,
|
|
4357
3569
|
{
|
|
4358
|
-
className: clsx
|
|
3570
|
+
className: clsx("rounded-full", colors2.dot),
|
|
4359
3571
|
style: {
|
|
4360
3572
|
width: config.dotSize,
|
|
4361
3573
|
height: config.dotSize
|
|
@@ -4375,13 +3587,13 @@ function DotsSpinner({ size, color, className, ariaLabel }) {
|
|
|
4375
3587
|
}
|
|
4376
3588
|
function PulseSpinner({ size, color, className, ariaLabel }) {
|
|
4377
3589
|
const config = sizeConfig[size];
|
|
4378
|
-
const
|
|
3590
|
+
const colors2 = colorClasses2[color];
|
|
4379
3591
|
const prefersReducedMotion2 = useReducedMotion();
|
|
4380
|
-
return /* @__PURE__ */ jsxs("div", { className: clsx
|
|
3592
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx("relative", config.size, className), role: "status", "aria-label": ariaLabel, children: [
|
|
4381
3593
|
/* @__PURE__ */ jsx(
|
|
4382
3594
|
motion.div,
|
|
4383
3595
|
{
|
|
4384
|
-
className: clsx
|
|
3596
|
+
className: clsx("absolute inset-0 rounded-full", colors2.dot),
|
|
4385
3597
|
animate: prefersReducedMotion2 ? {} : {
|
|
4386
3598
|
scale: [1, 1.5, 1],
|
|
4387
3599
|
opacity: [0.7, 0, 0.7]
|
|
@@ -4393,7 +3605,7 @@ function PulseSpinner({ size, color, className, ariaLabel }) {
|
|
|
4393
3605
|
}
|
|
4394
3606
|
}
|
|
4395
3607
|
),
|
|
4396
|
-
/* @__PURE__ */ jsx("div", { className: clsx
|
|
3608
|
+
/* @__PURE__ */ jsx("div", { className: clsx("absolute inset-0 rounded-full", colors2.dot) })
|
|
4397
3609
|
] });
|
|
4398
3610
|
}
|
|
4399
3611
|
function Spinner({
|
|
@@ -4434,7 +3646,7 @@ function LoadingOverlay({ show, message, blur = true }) {
|
|
|
4434
3646
|
initial: { opacity: 0 },
|
|
4435
3647
|
animate: { opacity: 1 },
|
|
4436
3648
|
exit: { opacity: 0 },
|
|
4437
|
-
className: clsx
|
|
3649
|
+
className: clsx(
|
|
4438
3650
|
"fixed inset-0 z-50 flex flex-col items-center justify-center",
|
|
4439
3651
|
"bg-white/80 dark:bg-slate-900/80",
|
|
4440
3652
|
blur && "backdrop-blur-sm"
|
|
@@ -4480,12 +3692,12 @@ function GrowthIndicator({
|
|
|
4480
3692
|
if (isNeutral && !showValue) {
|
|
4481
3693
|
return null;
|
|
4482
3694
|
}
|
|
4483
|
-
return /* @__PURE__ */ jsxs("span", { className: clsx
|
|
3695
|
+
return /* @__PURE__ */ jsxs("span", { className: clsx("inline-flex items-center gap-0.5", colorClasses3, className), children: [
|
|
4484
3696
|
!isNeutral && /* @__PURE__ */ jsx(Icon, { className: iconClass }),
|
|
4485
3697
|
showValue && /* @__PURE__ */ jsx("span", { className: textClass, children: formattedValue })
|
|
4486
3698
|
] });
|
|
4487
3699
|
}
|
|
4488
|
-
var
|
|
3700
|
+
var sizeStyles = {
|
|
4489
3701
|
sm: {
|
|
4490
3702
|
container: "h-8 p-0.5 text-xs",
|
|
4491
3703
|
segment: "px-3 py-1"
|
|
@@ -4513,7 +3725,7 @@ function SegmentedControl({
|
|
|
4513
3725
|
(seg) => typeof seg === "string" ? { value: seg, label: seg } : seg
|
|
4514
3726
|
);
|
|
4515
3727
|
const selectedIndex = normalizedSegments.findIndex((seg) => seg.value === value);
|
|
4516
|
-
const
|
|
3728
|
+
const styles = sizeStyles[size];
|
|
4517
3729
|
useEffect(() => {
|
|
4518
3730
|
if (containerRef.current && selectedIndex >= 0) {
|
|
4519
3731
|
const container = containerRef.current;
|
|
@@ -4573,7 +3785,7 @@ function SegmentedControl({
|
|
|
4573
3785
|
className: `
|
|
4574
3786
|
liquid-surface relative inline-flex items-center rounded-xl
|
|
4575
3787
|
focus-within:ring-2 focus-within:ring-indigo-500/70 focus-within:ring-offset-1
|
|
4576
|
-
${
|
|
3788
|
+
${styles.container}
|
|
4577
3789
|
${fullWidth ? "w-full" : ""}
|
|
4578
3790
|
${disabled ? "opacity-50 pointer-events-none" : ""}
|
|
4579
3791
|
`,
|
|
@@ -4612,7 +3824,7 @@ function SegmentedControl({
|
|
|
4612
3824
|
relative z-10 flex items-center justify-center gap-1.5
|
|
4613
3825
|
font-semibold rounded-lg transition-colors duration-150
|
|
4614
3826
|
focus:outline-none
|
|
4615
|
-
${
|
|
3827
|
+
${styles.segment}
|
|
4616
3828
|
${fullWidth ? "flex-1" : ""}
|
|
4617
3829
|
${isSelected ? "text-slate-950 dark:text-white" : "text-slate-700 dark:text-slate-300 hover:text-slate-900 dark:hover:text-white"}
|
|
4618
3830
|
`,
|
|
@@ -4671,7 +3883,7 @@ function PageIndicator({
|
|
|
4671
3883
|
}) {
|
|
4672
3884
|
const t = useTranslations("common");
|
|
4673
3885
|
const { dot, gap } = sizeConfig2[size];
|
|
4674
|
-
const
|
|
3886
|
+
const colors2 = variantConfig[variant];
|
|
4675
3887
|
const handleClick = (index) => {
|
|
4676
3888
|
if (onChange && index !== active) {
|
|
4677
3889
|
triggerHaptic("light");
|
|
@@ -4698,7 +3910,7 @@ function PageIndicator({
|
|
|
4698
3910
|
className: `
|
|
4699
3911
|
rounded-full transition-colors duration-200
|
|
4700
3912
|
${onChange ? "cursor-pointer" : "cursor-default"}
|
|
4701
|
-
${isActive ?
|
|
3913
|
+
${isActive ? colors2.active : colors2.inactive}
|
|
4702
3914
|
`,
|
|
4703
3915
|
style: {
|
|
4704
3916
|
width: dot,
|
|
@@ -4729,7 +3941,7 @@ function ExpandingPageIndicator({
|
|
|
4729
3941
|
activeWidth = 24
|
|
4730
3942
|
}) {
|
|
4731
3943
|
const t = useTranslations("common");
|
|
4732
|
-
const
|
|
3944
|
+
const colors2 = variantConfig[variant];
|
|
4733
3945
|
const handleClick = (index) => {
|
|
4734
3946
|
if (onChange && index !== active) {
|
|
4735
3947
|
triggerHaptic("light");
|
|
@@ -4755,7 +3967,7 @@ function ExpandingPageIndicator({
|
|
|
4755
3967
|
className: `
|
|
4756
3968
|
h-2 rounded-full transition-colors duration-200
|
|
4757
3969
|
${onChange ? "cursor-pointer" : "cursor-default"}
|
|
4758
|
-
${isActive ?
|
|
3970
|
+
${isActive ? colors2.active : colors2.inactive}
|
|
4759
3971
|
`,
|
|
4760
3972
|
animate: {
|
|
4761
3973
|
width: isActive ? activeWidth : 8,
|
|
@@ -4859,7 +4071,7 @@ function SafeArea({
|
|
|
4859
4071
|
return /* @__PURE__ */ jsx(
|
|
4860
4072
|
"div",
|
|
4861
4073
|
{
|
|
4862
|
-
className: clsx
|
|
4074
|
+
className: clsx(flex && "flex flex-col", className),
|
|
4863
4075
|
style: paddingStyles,
|
|
4864
4076
|
children
|
|
4865
4077
|
}
|
|
@@ -4872,7 +4084,7 @@ function SafeAreaView({
|
|
|
4872
4084
|
return /* @__PURE__ */ jsx(
|
|
4873
4085
|
"div",
|
|
4874
4086
|
{
|
|
4875
|
-
className: clsx
|
|
4087
|
+
className: clsx("min-h-screen flex flex-col", className),
|
|
4876
4088
|
style: {
|
|
4877
4089
|
paddingTop: "env(safe-area-inset-top, 0px)",
|
|
4878
4090
|
paddingBottom: "env(safe-area-inset-bottom, 0px)",
|
|
@@ -4905,7 +4117,7 @@ function BottomSafeArea({
|
|
|
4905
4117
|
return /* @__PURE__ */ jsx(
|
|
4906
4118
|
"div",
|
|
4907
4119
|
{
|
|
4908
|
-
className: clsx
|
|
4120
|
+
className: clsx(
|
|
4909
4121
|
"fixed bottom-0 inset-x-0 z-40",
|
|
4910
4122
|
blur && "bg-white/80 dark:bg-gray-900/80 backdrop-blur-xl border-t border-gray-200/50 dark:border-gray-700/50",
|
|
4911
4123
|
className
|
|
@@ -5464,7 +4676,7 @@ function EdgeSwipeProvider({
|
|
|
5464
4676
|
onBack
|
|
5465
4677
|
}) {
|
|
5466
4678
|
useEdgeSwipeEffect({ enabled, onBack });
|
|
5467
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4679
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
5468
4680
|
/* @__PURE__ */ jsx(EdgeSwipeIndicator, { enabled }),
|
|
5469
4681
|
children
|
|
5470
4682
|
] });
|
|
@@ -5545,10 +4757,10 @@ function Table({
|
|
|
5545
4757
|
children,
|
|
5546
4758
|
...props
|
|
5547
4759
|
}) {
|
|
5548
|
-
return /* @__PURE__ */ jsx(TableContext.Provider, { value: { bleed, dense, grid, striped, loading, emptyState }, children: /* @__PURE__ */ jsx("div", { className: "flow-root", children: /* @__PURE__ */ jsx("div", { ...props, className:
|
|
4760
|
+
return /* @__PURE__ */ jsx(TableContext.Provider, { value: { bleed, dense, grid, striped, loading, emptyState }, children: /* @__PURE__ */ jsx("div", { className: "flow-root", children: /* @__PURE__ */ jsx("div", { ...props, className: clsx4(className, "-mx-(--gutter) overflow-x-auto whitespace-nowrap"), children: /* @__PURE__ */ jsx("div", { className: clsx4("inline-block min-w-full align-middle", !bleed && "sm:px-(--gutter)"), children: /* @__PURE__ */ jsx("table", { className: "min-w-full text-left text-sm/6 text-slate-950 dark:text-white", children }) }) }) }) });
|
|
5549
4761
|
}
|
|
5550
4762
|
function TableHead({ className, ...props }) {
|
|
5551
|
-
return /* @__PURE__ */ jsx("thead", { ...props, className:
|
|
4763
|
+
return /* @__PURE__ */ jsx("thead", { ...props, className: clsx4(className, "text-slate-600 dark:text-slate-300") });
|
|
5552
4764
|
}
|
|
5553
4765
|
function TableBody(props) {
|
|
5554
4766
|
return /* @__PURE__ */ jsx("tbody", { ...props });
|
|
@@ -5570,7 +4782,7 @@ function TableRow({
|
|
|
5570
4782
|
"tr",
|
|
5571
4783
|
{
|
|
5572
4784
|
...props,
|
|
5573
|
-
className:
|
|
4785
|
+
className: clsx4(
|
|
5574
4786
|
className,
|
|
5575
4787
|
href && "has-[[data-row-link][data-focus]]:outline-2 has-[[data-row-link][data-focus]]:-outline-offset-2 has-[[data-row-link][data-focus]]:outline-indigo-500/70 dark:focus-within:bg-white/2.5",
|
|
5576
4788
|
striped && "even:bg-slate-950/2.5 dark:even:bg-white/2.5",
|
|
@@ -5587,7 +4799,7 @@ function TableHeader({ className, scope, ...props }) {
|
|
|
5587
4799
|
{
|
|
5588
4800
|
scope: scope ?? "col",
|
|
5589
4801
|
...props,
|
|
5590
|
-
className:
|
|
4802
|
+
className: clsx4(
|
|
5591
4803
|
className,
|
|
5592
4804
|
"border-b border-b-white/20 dark:border-b-white/10 px-4 py-2 font-medium first:pl-(--gutter,--spacing(2)) last:pr-(--gutter,--spacing(2))",
|
|
5593
4805
|
grid && "border-l border-l-white/20 first:border-l-0 dark:border-l-white/10",
|
|
@@ -5605,7 +4817,7 @@ function TableCell({ className, children, ...props }) {
|
|
|
5605
4817
|
{
|
|
5606
4818
|
ref: href ? setCellRef : void 0,
|
|
5607
4819
|
...props,
|
|
5608
|
-
className:
|
|
4820
|
+
className: clsx4(
|
|
5609
4821
|
className,
|
|
5610
4822
|
"relative px-4 first:pl-(--gutter,--spacing(2)) last:pr-(--gutter,--spacing(2))",
|
|
5611
4823
|
!striped && "border-b border-white/20 dark:border-white/[0.08]",
|
|
@@ -5657,7 +4869,7 @@ function SortableTableHeader({
|
|
|
5657
4869
|
{
|
|
5658
4870
|
...props,
|
|
5659
4871
|
onClick: handleSort,
|
|
5660
|
-
className:
|
|
4872
|
+
className: clsx4(
|
|
5661
4873
|
className,
|
|
5662
4874
|
"border-b border-b-white/20 dark:border-b-white/10 px-4 py-2 font-medium first:pl-(--gutter,--spacing(2)) last:pr-(--gutter,--spacing(2))",
|
|
5663
4875
|
grid && "border-l border-l-white/20 first:border-l-0 dark:border-l-white/10",
|
|
@@ -5689,7 +4901,7 @@ function TableSkeletonRow({
|
|
|
5689
4901
|
return /* @__PURE__ */ jsx("tr", { className, children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ jsx(
|
|
5690
4902
|
"td",
|
|
5691
4903
|
{
|
|
5692
|
-
className:
|
|
4904
|
+
className: clsx4(
|
|
5693
4905
|
"px-4 first:pl-(--gutter,--spacing(2)) last:pr-(--gutter,--spacing(2))",
|
|
5694
4906
|
"border-b border-white/20 dark:border-white/[0.08]",
|
|
5695
4907
|
dense ? "py-2.5" : "py-4"
|
|
@@ -5697,7 +4909,7 @@ function TableSkeletonRow({
|
|
|
5697
4909
|
children: /* @__PURE__ */ jsx(
|
|
5698
4910
|
"div",
|
|
5699
4911
|
{
|
|
5700
|
-
className:
|
|
4912
|
+
className: clsx4(
|
|
5701
4913
|
"h-4 rounded bg-slate-200 dark:bg-slate-700 animate-pulse motion-reduce:animate-none",
|
|
5702
4914
|
i === 0 ? "w-32" : i === columns - 1 ? "w-16" : "w-24"
|
|
5703
4915
|
)
|
|
@@ -5759,7 +4971,7 @@ function AnimatedTableRow({
|
|
|
5759
4971
|
delay: index * 0.03
|
|
5760
4972
|
},
|
|
5761
4973
|
...restProps,
|
|
5762
|
-
className:
|
|
4974
|
+
className: clsx4(
|
|
5763
4975
|
className,
|
|
5764
4976
|
href && "has-[[data-row-link][data-focus]]:outline-2 has-[[data-row-link][data-focus]]:-outline-offset-2 has-[[data-row-link][data-focus]]:outline-indigo-500/70 dark:focus-within:bg-white/2.5",
|
|
5765
4977
|
striped && "even:bg-slate-950/2.5 dark:even:bg-white/2.5",
|
|
@@ -5788,7 +5000,7 @@ function SelectableTableRow({
|
|
|
5788
5000
|
"tr",
|
|
5789
5001
|
{
|
|
5790
5002
|
...props,
|
|
5791
|
-
className:
|
|
5003
|
+
className: clsx4(
|
|
5792
5004
|
className,
|
|
5793
5005
|
href && "has-[[data-row-link][data-focus]]:outline-2 has-[[data-row-link][data-focus]]:-outline-offset-2 has-[[data-row-link][data-focus]]:outline-indigo-500/70 dark:focus-within:bg-white/2.5",
|
|
5794
5006
|
striped && "even:bg-slate-950/2.5 dark:even:bg-white/2.5",
|
|
@@ -5800,7 +5012,7 @@ function SelectableTableRow({
|
|
|
5800
5012
|
/* @__PURE__ */ jsx(
|
|
5801
5013
|
"td",
|
|
5802
5014
|
{
|
|
5803
|
-
className:
|
|
5015
|
+
className: clsx4(
|
|
5804
5016
|
"px-4 first:pl-(--gutter,--spacing(2))",
|
|
5805
5017
|
"border-b border-white/20 dark:border-white/[0.08]",
|
|
5806
5018
|
dense ? "py-2.5" : "py-4"
|
|
@@ -5815,7 +5027,7 @@ function SelectableTableRow({
|
|
|
5815
5027
|
onClick: handleSelect,
|
|
5816
5028
|
whileTap: { scale: 0.9 },
|
|
5817
5029
|
transition: getTransition(springPresets.stiff),
|
|
5818
|
-
className:
|
|
5030
|
+
className: clsx4(
|
|
5819
5031
|
"h-5 w-5 rounded-full border-2 flex items-center justify-center transition-colors",
|
|
5820
5032
|
selected ? "bg-[#007AFF] dark:bg-[#0A84FF] border-[#007AFF] dark:border-[#0A84FF]" : "border-slate-300 dark:border-slate-600"
|
|
5821
5033
|
),
|
|
@@ -6326,7 +5538,7 @@ function DynamicIslandNotification({
|
|
|
6326
5538
|
position = "right"
|
|
6327
5539
|
}) {
|
|
6328
5540
|
const [state, setState] = useState("idle");
|
|
6329
|
-
const
|
|
5541
|
+
const styles = variantStyles[variant];
|
|
6330
5542
|
useEffect(() => {
|
|
6331
5543
|
if (show) {
|
|
6332
5544
|
setState("expanded");
|
|
@@ -6351,12 +5563,12 @@ function DynamicIslandNotification({
|
|
|
6351
5563
|
position,
|
|
6352
5564
|
idleContent: (
|
|
6353
5565
|
// Idle: Colored icon pill
|
|
6354
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center", children: icon && /* @__PURE__ */ jsx("div", { className: `h-6 w-6 rounded-full ${
|
|
5566
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center", children: icon && /* @__PURE__ */ jsx("div", { className: `h-6 w-6 rounded-full ${styles.iconBg} flex items-center justify-center`, children: /* @__PURE__ */ jsx("div", { className: "h-4 w-4 text-white", children: icon }) }) })
|
|
6355
5567
|
),
|
|
6356
5568
|
compactContent: (
|
|
6357
5569
|
// Compact: Colored icon + title + message preview
|
|
6358
5570
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 px-4 w-full", children: [
|
|
6359
|
-
icon && /* @__PURE__ */ jsx("div", { className: `h-8 w-8 rounded-full ${
|
|
5571
|
+
icon && /* @__PURE__ */ jsx("div", { className: `h-8 w-8 rounded-full ${styles.iconBg} flex items-center justify-center shrink-0`, children: /* @__PURE__ */ jsx("div", { className: "h-5 w-5 text-white", children: icon }) }),
|
|
6360
5572
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
6361
5573
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-semibold truncate", children: title }),
|
|
6362
5574
|
message && /* @__PURE__ */ jsx("p", { className: "text-xs text-gray-500 truncate", children: message })
|
|
@@ -6366,9 +5578,9 @@ function DynamicIslandNotification({
|
|
|
6366
5578
|
expandedContent: (
|
|
6367
5579
|
// Expanded: Full notification with colored icon background
|
|
6368
5580
|
/* @__PURE__ */ jsxs("div", { className: `flex items-center gap-4 px-5 w-full h-full`, children: [
|
|
6369
|
-
icon && /* @__PURE__ */ jsx("div", { className: `h-14 w-14 rounded-2xl ${
|
|
5581
|
+
icon && /* @__PURE__ */ jsx("div", { className: `h-14 w-14 rounded-2xl ${styles.iconBg} flex items-center justify-center shrink-0 ${styles.glow}`, children: /* @__PURE__ */ jsx("div", { className: "h-8 w-8 text-white", children: icon }) }),
|
|
6370
5582
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
6371
|
-
appName && /* @__PURE__ */ jsx("p", { className: `text-[11px] uppercase tracking-wide font-medium ${
|
|
5583
|
+
appName && /* @__PURE__ */ jsx("p", { className: `text-[11px] uppercase tracking-wide font-medium ${styles.accentColor}`, children: appName }),
|
|
6372
5584
|
/* @__PURE__ */ jsx("p", { className: "text-[15px] font-semibold leading-tight", children: title }),
|
|
6373
5585
|
message && /* @__PURE__ */ jsx("p", { className: "text-[13px] text-gray-500 mt-0.5 truncate", children: message })
|
|
6374
5586
|
] })
|
|
@@ -6517,7 +5729,7 @@ function NotificationDrawer({
|
|
|
6517
5729
|
onClear
|
|
6518
5730
|
}) {
|
|
6519
5731
|
const t = useTranslations("notifications");
|
|
6520
|
-
return /* @__PURE__ */ jsx(AnimatePresence, { children: open ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5732
|
+
return /* @__PURE__ */ jsx(AnimatePresence, { children: open ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
6521
5733
|
/* @__PURE__ */ jsx(
|
|
6522
5734
|
motion.div,
|
|
6523
5735
|
{
|
|
@@ -6615,13 +5827,13 @@ var CONTAINER_STYLES = {
|
|
|
6615
5827
|
glass: "bg-white/70 dark:bg-gray-800/70 backdrop-blur-xl border border-white/20 dark:border-gray-700/50 shadow-lg shadow-black/5",
|
|
6616
5828
|
minimal: "rounded-lg"
|
|
6617
5829
|
};
|
|
6618
|
-
var Container =
|
|
5830
|
+
var Container = React9__default.forwardRef(
|
|
6619
5831
|
({ variant = "card", className, children, ...props }, ref) => {
|
|
6620
5832
|
return /* @__PURE__ */ jsx(
|
|
6621
5833
|
"div",
|
|
6622
5834
|
{
|
|
6623
5835
|
ref,
|
|
6624
|
-
className:
|
|
5836
|
+
className: clsx4(CONTAINER_STYLES[variant], className),
|
|
6625
5837
|
...props,
|
|
6626
5838
|
children
|
|
6627
5839
|
}
|
|
@@ -6629,9 +5841,9 @@ var Container = React12__default.forwardRef(
|
|
|
6629
5841
|
}
|
|
6630
5842
|
);
|
|
6631
5843
|
Container.displayName = "Container";
|
|
6632
|
-
var FormField =
|
|
5844
|
+
var FormField = React9__default.forwardRef(
|
|
6633
5845
|
({ label, error, required, helperText, children, htmlFor, className, ...props }, ref) => {
|
|
6634
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
5846
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx4("space-y-1.5", className), ...props, children: [
|
|
6635
5847
|
label && /* @__PURE__ */ jsxs(
|
|
6636
5848
|
"label",
|
|
6637
5849
|
{
|
|
@@ -6650,9 +5862,9 @@ var FormField = React12__default.forwardRef(
|
|
|
6650
5862
|
}
|
|
6651
5863
|
);
|
|
6652
5864
|
FormField.displayName = "FormField";
|
|
6653
|
-
var FormSection =
|
|
5865
|
+
var FormSection = React9__default.forwardRef(
|
|
6654
5866
|
({ title, description, children, className, ...props }, ref) => {
|
|
6655
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
5867
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx4("space-y-4", className), ...props, children: [
|
|
6656
5868
|
(title || description) && /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
6657
5869
|
title && /* @__PURE__ */ jsx("h3", { className: "text-base font-semibold text-gray-900 dark:text-white", children: title }),
|
|
6658
5870
|
description && /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: description })
|
|
@@ -6674,7 +5886,7 @@ var SPACING_STYLES = {
|
|
|
6674
5886
|
card: "p-4",
|
|
6675
5887
|
highlighted: "p-4"
|
|
6676
5888
|
};
|
|
6677
|
-
var ListItem =
|
|
5889
|
+
var ListItem = React9__default.forwardRef(
|
|
6678
5890
|
({
|
|
6679
5891
|
icon,
|
|
6680
5892
|
title,
|
|
@@ -6689,7 +5901,7 @@ var ListItem = React12__default.forwardRef(
|
|
|
6689
5901
|
"div",
|
|
6690
5902
|
{
|
|
6691
5903
|
ref,
|
|
6692
|
-
className:
|
|
5904
|
+
className: clsx4(
|
|
6693
5905
|
"flex items-start justify-between gap-4 rounded-lg transition-all duration-200",
|
|
6694
5906
|
CONTAINER_STYLES2[variant],
|
|
6695
5907
|
SPACING_STYLES[variant],
|
|
@@ -6711,7 +5923,7 @@ var ListItem = React12__default.forwardRef(
|
|
|
6711
5923
|
{
|
|
6712
5924
|
onClick: action.onClick,
|
|
6713
5925
|
disabled: action.disabled,
|
|
6714
|
-
className:
|
|
5926
|
+
className: clsx4(
|
|
6715
5927
|
"px-3 py-1.5 rounded-lg text-xs font-medium transition-colors duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-indigo-500/70 dark:ring-offset-gray-900",
|
|
6716
5928
|
action.variant === "danger" ? "text-red-700 dark:text-red-300 hover:bg-red-500/15 dark:hover:bg-red-500/20 disabled:opacity-50" : "text-indigo-700 dark:text-indigo-300 hover:bg-indigo-500/15 dark:hover:bg-indigo-500/20 disabled:opacity-50"
|
|
6717
5929
|
),
|
|
@@ -6753,11 +5965,11 @@ var IDENTITY_TYPE = /* @__PURE__ */ Symbol("GlassModal.Identity");
|
|
|
6753
5965
|
var SIDEBAR_FOOTER_TYPE = /* @__PURE__ */ Symbol("GlassModal.SidebarFooter");
|
|
6754
5966
|
var FOOTER_TYPE = /* @__PURE__ */ Symbol("GlassModal.Footer");
|
|
6755
5967
|
function Section({ children }) {
|
|
6756
|
-
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
5968
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children });
|
|
6757
5969
|
}
|
|
6758
5970
|
Section.__type = SECTION_TYPE;
|
|
6759
5971
|
function Group({ children }) {
|
|
6760
|
-
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
5972
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children });
|
|
6761
5973
|
}
|
|
6762
5974
|
Group.__type = GROUP_TYPE;
|
|
6763
5975
|
function Identity(_props) {
|
|
@@ -6765,7 +5977,7 @@ function Identity(_props) {
|
|
|
6765
5977
|
}
|
|
6766
5978
|
Identity.__type = IDENTITY_TYPE;
|
|
6767
5979
|
function SidebarFooterSlot({ children }) {
|
|
6768
|
-
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
5980
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children });
|
|
6769
5981
|
}
|
|
6770
5982
|
SidebarFooterSlot.__type = SIDEBAR_FOOTER_TYPE;
|
|
6771
5983
|
function Sidebar(_props) {
|
|
@@ -6773,7 +5985,7 @@ function Sidebar(_props) {
|
|
|
6773
5985
|
}
|
|
6774
5986
|
Sidebar.__type = SIDEBAR_TYPE;
|
|
6775
5987
|
function FooterSlot({ children }) {
|
|
6776
|
-
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
5988
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children });
|
|
6777
5989
|
}
|
|
6778
5990
|
FooterSlot.__type = FOOTER_TYPE;
|
|
6779
5991
|
function isSlotType(child, type) {
|
|
@@ -7087,7 +6299,7 @@ function GlassModal({
|
|
|
7087
6299
|
) }) })
|
|
7088
6300
|
] });
|
|
7089
6301
|
}
|
|
7090
|
-
const inner = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6302
|
+
const inner = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
7091
6303
|
gradient && /* @__PURE__ */ jsx(AccentBar, { gradient }),
|
|
7092
6304
|
/* @__PURE__ */ jsxs("div", { className: "relative px-5 pb-4 pt-5 sm:px-8 sm:pt-6", children: [
|
|
7093
6305
|
/* @__PURE__ */ jsx(CloseBtn, { onClick: onClose, label: closeLabel }),
|
|
@@ -7123,7 +6335,7 @@ function Text({ className, ...props }) {
|
|
|
7123
6335
|
{
|
|
7124
6336
|
"data-slot": "text",
|
|
7125
6337
|
...props,
|
|
7126
|
-
className:
|
|
6338
|
+
className: clsx4(className, "text-base/6 text-zinc-500 sm:text-sm/6 dark:text-zinc-400")
|
|
7127
6339
|
}
|
|
7128
6340
|
);
|
|
7129
6341
|
}
|
|
@@ -7132,7 +6344,7 @@ function TextLink({ className, ...props }) {
|
|
|
7132
6344
|
Link,
|
|
7133
6345
|
{
|
|
7134
6346
|
...props,
|
|
7135
|
-
className:
|
|
6347
|
+
className: clsx4(
|
|
7136
6348
|
className,
|
|
7137
6349
|
"text-zinc-950 underline decoration-zinc-950/50 data-hover:decoration-zinc-950 dark:text-white dark:decoration-white/50 dark:data-hover:decoration-white"
|
|
7138
6350
|
)
|
|
@@ -7140,14 +6352,14 @@ function TextLink({ className, ...props }) {
|
|
|
7140
6352
|
);
|
|
7141
6353
|
}
|
|
7142
6354
|
function Strong({ className, ...props }) {
|
|
7143
|
-
return /* @__PURE__ */ jsx("strong", { ...props, className:
|
|
6355
|
+
return /* @__PURE__ */ jsx("strong", { ...props, className: clsx4(className, "font-medium text-zinc-950 dark:text-white") });
|
|
7144
6356
|
}
|
|
7145
6357
|
function Code({ className, ...props }) {
|
|
7146
6358
|
return /* @__PURE__ */ jsx(
|
|
7147
6359
|
"code",
|
|
7148
6360
|
{
|
|
7149
6361
|
...props,
|
|
7150
|
-
className:
|
|
6362
|
+
className: clsx4(
|
|
7151
6363
|
className,
|
|
7152
6364
|
"rounded-xs border border-zinc-950/10 bg-zinc-950/2.5 px-0.5 text-sm font-medium text-zinc-950 sm:text-[0.8125rem] dark:border-white/20 dark:bg-white/5 dark:text-white"
|
|
7153
6365
|
)
|
|
@@ -7171,19 +6383,19 @@ function Dialog4({
|
|
|
7171
6383
|
children,
|
|
7172
6384
|
...props
|
|
7173
6385
|
}) {
|
|
7174
|
-
return /* @__PURE__ */ jsxs(
|
|
6386
|
+
return /* @__PURE__ */ jsxs(Headless3.Dialog, { ...props, children: [
|
|
7175
6387
|
/* @__PURE__ */ jsx(
|
|
7176
|
-
|
|
6388
|
+
Headless3.DialogBackdrop,
|
|
7177
6389
|
{
|
|
7178
6390
|
transition: true,
|
|
7179
6391
|
className: "fixed inset-0 flex w-screen justify-center overflow-y-auto bg-slate-950/25 backdrop-blur-sm px-2 py-2 transition duration-100 focus:outline-0 data-closed:opacity-0 data-enter:ease-out data-leave:ease-in sm:px-6 sm:py-8 lg:px-8 lg:py-16 dark:bg-slate-950/50"
|
|
7180
6392
|
}
|
|
7181
6393
|
),
|
|
7182
6394
|
/* @__PURE__ */ jsx("div", { className: "fixed inset-0 w-screen overflow-y-auto pt-6 sm:pt-0", children: /* @__PURE__ */ jsx("div", { className: "grid min-h-full grid-rows-[1fr_auto] justify-items-center sm:grid-rows-[1fr_auto_3fr] sm:p-4", children: /* @__PURE__ */ jsx(
|
|
7183
|
-
|
|
6395
|
+
Headless3.DialogPanel,
|
|
7184
6396
|
{
|
|
7185
6397
|
transition: true,
|
|
7186
|
-
className:
|
|
6398
|
+
className: clsx4(
|
|
7187
6399
|
className,
|
|
7188
6400
|
sizes2[size],
|
|
7189
6401
|
"row-start-2 w-full min-w-0 rounded-t-3xl bg-white/80 backdrop-blur-2xl p-(--gutter) shadow-lg ring-1 ring-white/30 [--gutter:--spacing(8)] sm:mb-auto sm:rounded-2xl dark:bg-slate-900/80 dark:ring-white/10 forced-colors:outline",
|
|
@@ -7199,10 +6411,10 @@ function DialogTitle3({
|
|
|
7199
6411
|
...props
|
|
7200
6412
|
}) {
|
|
7201
6413
|
return /* @__PURE__ */ jsx(
|
|
7202
|
-
|
|
6414
|
+
Headless3.DialogTitle,
|
|
7203
6415
|
{
|
|
7204
6416
|
...props,
|
|
7205
|
-
className:
|
|
6417
|
+
className: clsx4(
|
|
7206
6418
|
className,
|
|
7207
6419
|
"text-lg/6 font-semibold text-balance text-slate-950 sm:text-base/6 dark:text-white"
|
|
7208
6420
|
)
|
|
@@ -7214,11 +6426,11 @@ function DialogDescription({
|
|
|
7214
6426
|
...props
|
|
7215
6427
|
}) {
|
|
7216
6428
|
return /* @__PURE__ */ jsx(
|
|
7217
|
-
|
|
6429
|
+
Headless3.Description,
|
|
7218
6430
|
{
|
|
7219
6431
|
as: Text,
|
|
7220
6432
|
...props,
|
|
7221
|
-
className:
|
|
6433
|
+
className: clsx4(className, "mt-2 text-pretty")
|
|
7222
6434
|
}
|
|
7223
6435
|
);
|
|
7224
6436
|
}
|
|
@@ -7226,7 +6438,7 @@ function DialogBody({
|
|
|
7226
6438
|
className,
|
|
7227
6439
|
...props
|
|
7228
6440
|
}) {
|
|
7229
|
-
return /* @__PURE__ */ jsx("div", { ...props, className:
|
|
6441
|
+
return /* @__PURE__ */ jsx("div", { ...props, className: clsx4(className, "mt-6") });
|
|
7230
6442
|
}
|
|
7231
6443
|
function DialogActions({
|
|
7232
6444
|
className,
|
|
@@ -7236,7 +6448,7 @@ function DialogActions({
|
|
|
7236
6448
|
"div",
|
|
7237
6449
|
{
|
|
7238
6450
|
...props,
|
|
7239
|
-
className:
|
|
6451
|
+
className: clsx4(
|
|
7240
6452
|
className,
|
|
7241
6453
|
"mt-8 flex flex-col-reverse items-center justify-end gap-3 *:w-full sm:flex-row sm:*:w-auto"
|
|
7242
6454
|
)
|
|
@@ -7351,10 +6563,10 @@ function CopyableId({ id, copyValue, label, className }) {
|
|
|
7351
6563
|
onKeyDown: (e) => e.key === "Enter" && handleCopy(e),
|
|
7352
6564
|
title: `${t("common.copy")}: ${id}`,
|
|
7353
6565
|
className: `inline-flex items-center gap-1.5 px-3 py-1 text-xs font-medium rounded-full transition-all duration-200 cursor-pointer hover:opacity-80 ${copied ? "bg-emerald-500/20 text-emerald-600 dark:text-emerald-400" : className ?? DEFAULT_COPYABLE_CLASSNAME}`,
|
|
7354
|
-
children: copied ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6566
|
+
children: copied ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
7355
6567
|
/* @__PURE__ */ jsx(ClipboardDocumentCheckIcon, { className: "h-3 w-3" }),
|
|
7356
6568
|
/* @__PURE__ */ jsx("span", { children: t("common.copied") })
|
|
7357
|
-
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6569
|
+
] }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
7358
6570
|
label && /* @__PURE__ */ jsxs("span", { className: "opacity-70", children: [
|
|
7359
6571
|
label,
|
|
7360
6572
|
":"
|
|
@@ -7550,7 +6762,7 @@ function DatePicker({
|
|
|
7550
6762
|
sideOffset: 8,
|
|
7551
6763
|
align: "start",
|
|
7552
6764
|
children: [
|
|
7553
|
-
viewMode === "days" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6765
|
+
viewMode === "days" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
7554
6766
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between mb-3", children: [
|
|
7555
6767
|
/* @__PURE__ */ jsx(
|
|
7556
6768
|
"button",
|
|
@@ -7630,7 +6842,7 @@ function DatePicker({
|
|
|
7630
6842
|
children: t("today")
|
|
7631
6843
|
}
|
|
7632
6844
|
) })
|
|
7633
|
-
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6845
|
+
] }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
7634
6846
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between mb-3", children: [
|
|
7635
6847
|
/* @__PURE__ */ jsx(
|
|
7636
6848
|
"button",
|
|
@@ -8051,7 +7263,7 @@ function FormPriceInput({
|
|
|
8051
7263
|
const errorId = `${inputId}-error`;
|
|
8052
7264
|
const hintId = `${inputId}-hint`;
|
|
8053
7265
|
const describedBy = error ? errorId : hint ? hintId : void 0;
|
|
8054
|
-
const
|
|
7266
|
+
const sizes3 = priceSizeConfig[priceSize ?? defaultPriceSize(inputSize)];
|
|
8055
7267
|
return /* @__PURE__ */ jsxs("div", { "data-testid": label ? `field-${label.toLowerCase().replace(/\s+/g, "-")}` : "form-field", children: [
|
|
8056
7268
|
label ? /* @__PURE__ */ jsxs("label", { htmlFor: inputId, className: `mb-1.5 block font-medium text-slate-700 dark:text-slate-300 ${labelClasses[inputSize]}`, children: [
|
|
8057
7269
|
label,
|
|
@@ -8061,7 +7273,7 @@ function FormPriceInput({
|
|
|
8061
7273
|
/* @__PURE__ */ jsx(
|
|
8062
7274
|
"span",
|
|
8063
7275
|
{
|
|
8064
|
-
className: `absolute top-1/2 -translate-y-1/2 text-gray-400 dark:text-gray-500 pointer-events-none select-none ${
|
|
7276
|
+
className: `absolute top-1/2 -translate-y-1/2 text-gray-400 dark:text-gray-500 pointer-events-none select-none ${sizes3.symbol}`,
|
|
8065
7277
|
"aria-hidden": "true",
|
|
8066
7278
|
children: currencySymbol
|
|
8067
7279
|
}
|
|
@@ -8082,7 +7294,7 @@ function FormPriceInput({
|
|
|
8082
7294
|
"aria-invalid": error ? true : false,
|
|
8083
7295
|
"aria-describedby": describedBy,
|
|
8084
7296
|
"aria-label": label ? `${label} in ${currencySymbol}` : void 0,
|
|
8085
|
-
className: `w-full bg-transparent tabular-nums ${
|
|
7297
|
+
className: `w-full bg-transparent tabular-nums ${sizes3.input} ${sizes3.padding} text-gray-900 placeholder:text-slate-500 focus:outline-none dark:text-white dark:placeholder:text-gray-500 ${colorClass ?? ""} ${className}`
|
|
8086
7298
|
}
|
|
8087
7299
|
)
|
|
8088
7300
|
] }) }),
|
|
@@ -8126,27 +7338,27 @@ function FormSelect({
|
|
|
8126
7338
|
/* @__PURE__ */ jsx(FieldMeta, { hint, error, errorId, hintId })
|
|
8127
7339
|
] });
|
|
8128
7340
|
}
|
|
8129
|
-
var Form =
|
|
7341
|
+
var Form = React9__default.forwardRef(
|
|
8130
7342
|
({ children, className, ...props }, ref) => {
|
|
8131
|
-
return /* @__PURE__ */ jsx("form", { ref, className:
|
|
7343
|
+
return /* @__PURE__ */ jsx("form", { ref, className: clsx4(className), ...props, children });
|
|
8132
7344
|
}
|
|
8133
7345
|
);
|
|
8134
7346
|
Form.displayName = "Form";
|
|
8135
|
-
var FormGrid =
|
|
7347
|
+
var FormGrid = React9__default.forwardRef(
|
|
8136
7348
|
({ children, className, ...props }, ref) => {
|
|
8137
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
7349
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx4("platform-form-grid", className), ...props, children });
|
|
8138
7350
|
}
|
|
8139
7351
|
);
|
|
8140
7352
|
FormGrid.displayName = "FormGrid";
|
|
8141
|
-
var InlineForm =
|
|
7353
|
+
var InlineForm = React9__default.forwardRef(
|
|
8142
7354
|
({ children, className, ...props }, ref) => {
|
|
8143
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
7355
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx4("platform-inline-form", className), ...props, children });
|
|
8144
7356
|
}
|
|
8145
7357
|
);
|
|
8146
7358
|
InlineForm.displayName = "InlineForm";
|
|
8147
|
-
var FormActionsRow =
|
|
7359
|
+
var FormActionsRow = React9__default.forwardRef(
|
|
8148
7360
|
({ children, className, ...props }, ref) => {
|
|
8149
|
-
return /* @__PURE__ */ jsx("div", { ref, className:
|
|
7361
|
+
return /* @__PURE__ */ jsx("div", { ref, className: clsx4("platform-form-actions", className), ...props, children });
|
|
8150
7362
|
}
|
|
8151
7363
|
);
|
|
8152
7364
|
FormActionsRow.displayName = "FormActionsRow";
|
|
@@ -8158,7 +7370,7 @@ function FormActions({
|
|
|
8158
7370
|
saveDisabled = false,
|
|
8159
7371
|
className
|
|
8160
7372
|
}) {
|
|
8161
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
7373
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx4("flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", className), children: [
|
|
8162
7374
|
/* @__PURE__ */ jsx(Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
|
|
8163
7375
|
/* @__PURE__ */ jsx(Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
|
|
8164
7376
|
] });
|
|
@@ -8283,7 +7495,7 @@ function BaseForm({
|
|
|
8283
7495
|
};
|
|
8284
7496
|
const iconBoxClass = iconClassName ?? ICON_COLOR_CLASSES[iconColor];
|
|
8285
7497
|
return /* @__PURE__ */ jsxs("form", { onSubmit: handleSubmit, className: className ?? "space-y-5", children: [
|
|
8286
|
-
showHeader && title && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7498
|
+
showHeader && title && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
8287
7499
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
8288
7500
|
icon && /* @__PURE__ */ jsx(
|
|
8289
7501
|
"div",
|
|
@@ -8659,7 +7871,7 @@ function SearchFilterToolbar({
|
|
|
8659
7871
|
icon: filtersHeaderIcon ?? /* @__PURE__ */ jsx(FunnelIcon, { className: "h-3.5 w-3.5" }),
|
|
8660
7872
|
label
|
|
8661
7873
|
};
|
|
8662
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7874
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
8663
7875
|
/* @__PURE__ */ jsxs("div", { role: "search", "data-testid": "search-toolbar", className: "flex items-center gap-3", children: [
|
|
8664
7876
|
/* @__PURE__ */ jsxs("div", { className: "liquid-surface flex flex-1 items-center gap-2 flex-wrap min-h-12 rounded-xl px-3.5 py-1.5 transition-colors duration-200 focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-indigo-500/70 dark:focus-within:ring-offset-gray-900", children: [
|
|
8665
7877
|
/* @__PURE__ */ jsx(MagnifyingGlassIcon, { className: "h-5 w-5 shrink-0 text-slate-400 dark:text-slate-500" }),
|
|
@@ -8693,11 +7905,11 @@ function SearchFilterToolbar({
|
|
|
8693
7905
|
),
|
|
8694
7906
|
actions
|
|
8695
7907
|
] }),
|
|
8696
|
-
!!children && onCloseFilters && /* @__PURE__ */ jsx(Transition, { show: filtersOpen, as: Fragment
|
|
7908
|
+
!!children && onCloseFilters && /* @__PURE__ */ jsx(Transition, { show: filtersOpen, as: Fragment, children: /* @__PURE__ */ jsxs(Dialog, { as: "div", className: "relative z-50", onClose: onCloseFilters, children: [
|
|
8697
7909
|
/* @__PURE__ */ jsx(
|
|
8698
7910
|
TransitionChild,
|
|
8699
7911
|
{
|
|
8700
|
-
as: Fragment
|
|
7912
|
+
as: Fragment,
|
|
8701
7913
|
enter: "ease-out duration-200",
|
|
8702
7914
|
enterFrom: "opacity-0",
|
|
8703
7915
|
enterTo: "opacity-100",
|
|
@@ -8710,7 +7922,7 @@ function SearchFilterToolbar({
|
|
|
8710
7922
|
/* @__PURE__ */ jsx("div", { className: "fixed inset-0 overflow-y-auto p-3 sm:p-6", children: /* @__PURE__ */ jsx("div", { className: "mx-auto flex min-h-full max-w-2xl items-start justify-center pt-[8vh]", children: /* @__PURE__ */ jsx(
|
|
8711
7923
|
TransitionChild,
|
|
8712
7924
|
{
|
|
8713
|
-
as: Fragment
|
|
7925
|
+
as: Fragment,
|
|
8714
7926
|
enter: "ease-out duration-250",
|
|
8715
7927
|
enterFrom: "opacity-0 scale-95",
|
|
8716
7928
|
enterTo: "opacity-100 scale-100",
|
|
@@ -9200,9 +8412,9 @@ function LaunchpadGrid({
|
|
|
9200
8412
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-4 gap-6 sm:gap-8 lg:grid-cols-5 xl:grid-cols-6 justify-items-center", children: allGroupedItems.map(renderTile) })
|
|
9201
8413
|
) : (
|
|
9202
8414
|
/* Split grid — page items + divider + action items */
|
|
9203
|
-
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8415
|
+
/* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
9204
8416
|
/* @__PURE__ */ jsx("div", { className: "flex flex-wrap justify-center gap-7 lg:gap-8", children: groupedPageItems.map(renderTile) }),
|
|
9205
|
-
groupedActionItems.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8417
|
+
groupedActionItems.length > 0 && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
9206
8418
|
/* @__PURE__ */ jsxs("div", { className: "my-6", children: [
|
|
9207
8419
|
/* @__PURE__ */ jsx("div", { className: "h-px w-full bg-slate-300/75 dark:bg-white/20" }),
|
|
9208
8420
|
/* @__PURE__ */ jsx("p", { className: "mt-2 text-center text-xs font-medium uppercase tracking-wide text-gray-500 dark:text-gray-400", children: actionsLabel })
|
|
@@ -9812,14 +9024,14 @@ function PageLoadingState({ label, compact = false }) {
|
|
|
9812
9024
|
return /* @__PURE__ */ jsx(
|
|
9813
9025
|
"div",
|
|
9814
9026
|
{
|
|
9815
|
-
className:
|
|
9027
|
+
className: clsx4(
|
|
9816
9028
|
"flex w-full items-center justify-center",
|
|
9817
9029
|
compact ? "py-6" : "min-h-[calc(100dvh-9rem)] py-0"
|
|
9818
9030
|
),
|
|
9819
9031
|
children: /* @__PURE__ */ jsxs(
|
|
9820
9032
|
"div",
|
|
9821
9033
|
{
|
|
9822
|
-
className:
|
|
9034
|
+
className: clsx4(
|
|
9823
9035
|
"liquid-surface relative overflow-hidden rounded-2xl",
|
|
9824
9036
|
compact ? "px-6 py-5" : "px-10 py-8"
|
|
9825
9037
|
),
|
|
@@ -9845,7 +9057,7 @@ function AppShell({
|
|
|
9845
9057
|
sessionGuard,
|
|
9846
9058
|
loadingLabel = "Loading..."
|
|
9847
9059
|
}) {
|
|
9848
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9060
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
9849
9061
|
sessionGuard,
|
|
9850
9062
|
initializers,
|
|
9851
9063
|
/* @__PURE__ */ jsx(NavigationProgress, {}),
|
|
@@ -9885,7 +9097,7 @@ function Avatar({
|
|
|
9885
9097
|
"data-slot": "avatar",
|
|
9886
9098
|
...props,
|
|
9887
9099
|
style: toneCfg ? { "--avatar-glow": toneCfg.glow } : void 0,
|
|
9888
|
-
className:
|
|
9100
|
+
className: clsx4(
|
|
9889
9101
|
className,
|
|
9890
9102
|
"liquid-avatar transition-colors duration-200",
|
|
9891
9103
|
// Tone tint at rest + intensified fill on hover ("cristal
|
|
@@ -9926,7 +9138,7 @@ var AvatarButton = forwardRef(function AvatarButton2({
|
|
|
9926
9138
|
className,
|
|
9927
9139
|
...props
|
|
9928
9140
|
}, ref) {
|
|
9929
|
-
let classes =
|
|
9141
|
+
let classes = clsx4(
|
|
9930
9142
|
className,
|
|
9931
9143
|
"liquid-avatar-interactive relative inline-grid",
|
|
9932
9144
|
square ? "rounded-[20%]" : "rounded-full",
|
|
@@ -9935,7 +9147,7 @@ var AvatarButton = forwardRef(function AvatarButton2({
|
|
|
9935
9147
|
if (typeof props.href === "string") {
|
|
9936
9148
|
return /* @__PURE__ */ jsx(Link, { ...props, className: classes, ref, children: /* @__PURE__ */ jsx(TouchTarget, { children: /* @__PURE__ */ jsx(Avatar, { src, square, initials, alt, tone }) }) });
|
|
9937
9149
|
}
|
|
9938
|
-
return /* @__PURE__ */ jsx(
|
|
9150
|
+
return /* @__PURE__ */ jsx(Headless3.Button, { ...props, className: classes, ref, children: /* @__PURE__ */ jsx(TouchTarget, { children: /* @__PURE__ */ jsx(Avatar, { src, square, initials, alt, tone }) }) });
|
|
9939
9151
|
});
|
|
9940
9152
|
function ImageUpload({
|
|
9941
9153
|
src,
|
|
@@ -10029,137 +9241,6 @@ function ImageUpload({
|
|
|
10029
9241
|
hint && !error && /* @__PURE__ */ jsx("p", { className: "text-xs text-slate-500 dark:text-slate-400", children: hint })
|
|
10030
9242
|
] });
|
|
10031
9243
|
}
|
|
10032
|
-
var colors = {
|
|
10033
|
-
red: "bg-red-500/15 text-red-700 group-data-hover:bg-red-500/25 dark:bg-red-500/10 dark:text-red-300 dark:group-data-hover:bg-red-500/20",
|
|
10034
|
-
orange: "bg-orange-500/15 text-orange-700 group-data-hover:bg-orange-500/25 dark:bg-orange-500/10 dark:text-orange-300 dark:group-data-hover:bg-orange-500/20",
|
|
10035
|
-
amber: "bg-amber-400/20 text-amber-800 group-data-hover:bg-amber-400/30 dark:bg-amber-400/10 dark:text-amber-300 dark:group-data-hover:bg-amber-400/15",
|
|
10036
|
-
yellow: "bg-yellow-400/20 text-yellow-800 group-data-hover:bg-yellow-400/30 dark:bg-yellow-400/10 dark:text-yellow-200 dark:group-data-hover:bg-yellow-400/15",
|
|
10037
|
-
lime: "bg-lime-400/20 text-lime-800 group-data-hover:bg-lime-400/30 dark:bg-lime-400/10 dark:text-lime-200 dark:group-data-hover:bg-lime-400/15",
|
|
10038
|
-
green: "bg-green-500/15 text-green-700 group-data-hover:bg-green-500/25 dark:bg-green-500/10 dark:text-green-300 dark:group-data-hover:bg-green-500/20",
|
|
10039
|
-
emerald: "bg-emerald-500/15 text-emerald-700 group-data-hover:bg-emerald-500/25 dark:bg-emerald-500/10 dark:text-emerald-300 dark:group-data-hover:bg-emerald-500/20",
|
|
10040
|
-
teal: "bg-teal-500/15 text-teal-700 group-data-hover:bg-teal-500/25 dark:bg-teal-500/10 dark:text-teal-300 dark:group-data-hover:bg-teal-500/20",
|
|
10041
|
-
cyan: "bg-cyan-400/20 text-cyan-800 group-data-hover:bg-cyan-400/30 dark:bg-cyan-400/10 dark:text-cyan-200 dark:group-data-hover:bg-cyan-400/15",
|
|
10042
|
-
sky: "bg-sky-500/15 text-sky-700 group-data-hover:bg-sky-500/25 dark:bg-sky-500/10 dark:text-sky-300 dark:group-data-hover:bg-sky-500/20",
|
|
10043
|
-
blue: "bg-blue-500/15 text-blue-700 group-data-hover:bg-blue-500/25 dark:text-blue-300 dark:group-data-hover:bg-blue-500/25",
|
|
10044
|
-
indigo: "bg-indigo-500/15 text-indigo-700 group-data-hover:bg-indigo-500/25 dark:text-indigo-300 dark:group-data-hover:bg-indigo-500/20",
|
|
10045
|
-
violet: "bg-violet-500/15 text-violet-700 group-data-hover:bg-violet-500/25 dark:text-violet-300 dark:group-data-hover:bg-violet-500/20",
|
|
10046
|
-
purple: "bg-purple-500/15 text-purple-700 group-data-hover:bg-purple-500/25 dark:text-purple-300 dark:group-data-hover:bg-purple-500/20",
|
|
10047
|
-
fuchsia: "bg-fuchsia-400/20 text-fuchsia-700 group-data-hover:bg-fuchsia-400/30 dark:bg-fuchsia-400/10 dark:text-fuchsia-300 dark:group-data-hover:bg-fuchsia-400/20",
|
|
10048
|
-
pink: "bg-pink-400/20 text-pink-700 group-data-hover:bg-pink-400/30 dark:bg-pink-400/10 dark:text-pink-300 dark:group-data-hover:bg-pink-400/20",
|
|
10049
|
-
rose: "bg-rose-400/20 text-rose-700 group-data-hover:bg-rose-400/30 dark:bg-rose-400/10 dark:text-rose-300 dark:group-data-hover:bg-rose-400/20",
|
|
10050
|
-
zinc: "bg-slate-500/15 text-slate-700 group-data-hover:bg-slate-500/25 dark:bg-white/5 dark:text-slate-200 dark:group-data-hover:bg-white/10"
|
|
10051
|
-
};
|
|
10052
|
-
var sizes3 = {
|
|
10053
|
-
xs: { container: "px-2 py-0.5 text-[11px] gap-1", icon: "h-3 w-3", remove: "h-3 w-3 -mr-0.5" },
|
|
10054
|
-
sm: { container: "px-2.5 py-0.5 text-xs gap-1.5", icon: "h-3.5 w-3.5", remove: "h-3.5 w-3.5 -mr-1" },
|
|
10055
|
-
md: { container: "px-3 py-1 text-sm gap-1.5", icon: "h-4 w-4", remove: "h-4 w-4 -mr-1" },
|
|
10056
|
-
lg: { container: "px-3.5 py-1.5 text-sm gap-2", icon: "h-4 w-4", remove: "h-4 w-4 -mr-1" }
|
|
10057
|
-
};
|
|
10058
|
-
var CRYSTAL_STYLE2 = {
|
|
10059
|
-
backdropFilter: "blur(12px) saturate(1.5)",
|
|
10060
|
-
WebkitBackdropFilter: "blur(12px) saturate(1.5)",
|
|
10061
|
-
boxShadow: "inset 0 1px 1.5px rgba(255,255,255,0.45), 0 1px 3px -1px rgba(15,23,42,0.12)"
|
|
10062
|
-
};
|
|
10063
|
-
function Badge({
|
|
10064
|
-
color = "zinc",
|
|
10065
|
-
size = "sm",
|
|
10066
|
-
icon,
|
|
10067
|
-
removable = false,
|
|
10068
|
-
onRemove,
|
|
10069
|
-
removeLabel = "Remove",
|
|
10070
|
-
onClick,
|
|
10071
|
-
live = false,
|
|
10072
|
-
className,
|
|
10073
|
-
children,
|
|
10074
|
-
...props
|
|
10075
|
-
}) {
|
|
10076
|
-
const sz = sizes3[size];
|
|
10077
|
-
const base = clsx(
|
|
10078
|
-
"inline-flex items-center rounded-full border font-semibold forced-colors:outline",
|
|
10079
|
-
"border-current/20",
|
|
10080
|
-
// hair-line border in the badge's own hue
|
|
10081
|
-
sz.container,
|
|
10082
|
-
colors[color],
|
|
10083
|
-
className
|
|
10084
|
-
);
|
|
10085
|
-
const liveProps = live ? { role: "status", "aria-live": "polite" } : {};
|
|
10086
|
-
if (onClick) {
|
|
10087
|
-
return /* @__PURE__ */ jsxs(
|
|
10088
|
-
"button",
|
|
10089
|
-
{
|
|
10090
|
-
type: "button",
|
|
10091
|
-
"data-testid": "badge",
|
|
10092
|
-
onClick,
|
|
10093
|
-
style: CRYSTAL_STYLE2,
|
|
10094
|
-
...liveProps,
|
|
10095
|
-
className: clsx(
|
|
10096
|
-
base,
|
|
10097
|
-
"cursor-pointer transition-colors",
|
|
10098
|
-
"focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500/70 focus-visible:ring-offset-1"
|
|
10099
|
-
),
|
|
10100
|
-
children: [
|
|
10101
|
-
icon && /* @__PURE__ */ jsx("span", { className: clsx("shrink-0", sz.icon), "aria-hidden": true, children: icon }),
|
|
10102
|
-
children
|
|
10103
|
-
]
|
|
10104
|
-
}
|
|
10105
|
-
);
|
|
10106
|
-
}
|
|
10107
|
-
if (removable) {
|
|
10108
|
-
return /* @__PURE__ */ jsxs(
|
|
10109
|
-
"span",
|
|
10110
|
-
{
|
|
10111
|
-
"data-testid": "badge",
|
|
10112
|
-
...props,
|
|
10113
|
-
...liveProps,
|
|
10114
|
-
style: CRYSTAL_STYLE2,
|
|
10115
|
-
className: clsx(base, "pr-1"),
|
|
10116
|
-
children: [
|
|
10117
|
-
icon && /* @__PURE__ */ jsx("span", { className: clsx("shrink-0", sz.icon), "aria-hidden": true, children: icon }),
|
|
10118
|
-
children,
|
|
10119
|
-
/* @__PURE__ */ jsx(
|
|
10120
|
-
"button",
|
|
10121
|
-
{
|
|
10122
|
-
type: "button",
|
|
10123
|
-
"aria-label": removeLabel,
|
|
10124
|
-
onClick: (event) => {
|
|
10125
|
-
event.stopPropagation();
|
|
10126
|
-
onRemove?.();
|
|
10127
|
-
},
|
|
10128
|
-
className: clsx(
|
|
10129
|
-
"ml-0.5 inline-flex shrink-0 cursor-pointer items-center justify-center rounded-full",
|
|
10130
|
-
"opacity-70 hover:opacity-100 transition-opacity",
|
|
10131
|
-
"focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500/70"
|
|
10132
|
-
),
|
|
10133
|
-
children: /* @__PURE__ */ jsx(XMarkIcon, { className: sz.remove })
|
|
10134
|
-
}
|
|
10135
|
-
)
|
|
10136
|
-
]
|
|
10137
|
-
}
|
|
10138
|
-
);
|
|
10139
|
-
}
|
|
10140
|
-
return /* @__PURE__ */ jsxs("span", { "data-testid": "badge", ...props, ...liveProps, style: CRYSTAL_STYLE2, className: base, children: [
|
|
10141
|
-
icon && /* @__PURE__ */ jsx("span", { className: clsx("shrink-0", sz.icon), "aria-hidden": true, children: icon }),
|
|
10142
|
-
children
|
|
10143
|
-
] });
|
|
10144
|
-
}
|
|
10145
|
-
forwardRef(function BadgeButton2({
|
|
10146
|
-
color = "zinc",
|
|
10147
|
-
size = "sm",
|
|
10148
|
-
icon,
|
|
10149
|
-
className,
|
|
10150
|
-
children,
|
|
10151
|
-
...props
|
|
10152
|
-
}, ref) {
|
|
10153
|
-
let classes = clsx(
|
|
10154
|
-
className,
|
|
10155
|
-
"group relative inline-flex rounded-full",
|
|
10156
|
-
"focus:not-data-focus:outline-hidden data-focus:outline-2 data-focus:outline-offset-2 data-focus:outline-indigo-500/70"
|
|
10157
|
-
);
|
|
10158
|
-
if (typeof props.href === "string") {
|
|
10159
|
-
return /* @__PURE__ */ jsx(Link, { ...props, className: classes, ref, children: /* @__PURE__ */ jsx(TouchTarget, { children: /* @__PURE__ */ jsx(Badge, { color, size, icon, children }) }) });
|
|
10160
|
-
}
|
|
10161
|
-
return /* @__PURE__ */ jsx(Headless5.Button, { ...props, className: classes, ref, children: /* @__PURE__ */ jsx(TouchTarget, { children: /* @__PURE__ */ jsx(Badge, { color, size, icon, children }) }) });
|
|
10162
|
-
});
|
|
10163
9244
|
function Breadcrumb({ pages, actions, centerContent, dashboardPath = "/dashboard" }) {
|
|
10164
9245
|
const t = useTranslations("common");
|
|
10165
9246
|
const currentPage = pages.find((page) => page.current) || pages[pages.length - 1];
|
|
@@ -10222,7 +9303,7 @@ function CreateActionButton({
|
|
|
10222
9303
|
if (mode === "mobile") {
|
|
10223
9304
|
return /* @__PURE__ */ jsx("div", { className: "fixed right-4 bottom-[calc(env(safe-area-inset-bottom)+1rem)] z-[80] md:hidden", children: buttonContent });
|
|
10224
9305
|
}
|
|
10225
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9306
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
10226
9307
|
/* @__PURE__ */ jsx("div", { className: "hidden md:flex md:items-center md:justify-end", children: buttonContent }),
|
|
10227
9308
|
/* @__PURE__ */ jsx("div", { className: "fixed right-4 bottom-[calc(env(safe-area-inset-bottom)+1rem)] z-[80] md:hidden", children: buttonContent })
|
|
10228
9309
|
] });
|
|
@@ -10323,7 +9404,7 @@ function Divider({
|
|
|
10323
9404
|
{
|
|
10324
9405
|
role: "presentation",
|
|
10325
9406
|
...props,
|
|
10326
|
-
className:
|
|
9407
|
+
className: clsx4(
|
|
10327
9408
|
className,
|
|
10328
9409
|
"w-full border-t",
|
|
10329
9410
|
soft && "border-zinc-950/5 dark:border-white/5",
|
|
@@ -10438,7 +9519,7 @@ function FlyoutQuickActions({
|
|
|
10438
9519
|
onClose?.();
|
|
10439
9520
|
action();
|
|
10440
9521
|
};
|
|
10441
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9522
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
10442
9523
|
/* @__PURE__ */ jsx("div", { className: "mx-3 my-3 h-px bg-gradient-to-r from-transparent via-gray-200/80 to-transparent dark:via-white/10" }),
|
|
10443
9524
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-1.5 sm:gap-2 px-1", children: [
|
|
10444
9525
|
onNotifications ? /* @__PURE__ */ jsxs(
|
|
@@ -10504,7 +9585,7 @@ function FlyoutNavGrid({
|
|
|
10504
9585
|
) : items,
|
|
10505
9586
|
[items, normalizedQuery]
|
|
10506
9587
|
);
|
|
10507
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9588
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
10508
9589
|
showSearch && /* @__PURE__ */ jsx("div", { className: "mb-2 sm:mb-3", children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
10509
9590
|
/* @__PURE__ */ jsx(MagnifyingGlassIcon, { className: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400 dark:text-slate-500" }),
|
|
10510
9591
|
/* @__PURE__ */ jsx(
|
|
@@ -10562,7 +9643,7 @@ function Heading({ className, level = 1, ...props }) {
|
|
|
10562
9643
|
Element,
|
|
10563
9644
|
{
|
|
10564
9645
|
...props,
|
|
10565
|
-
className:
|
|
9646
|
+
className: clsx4(className, "text-2xl/8 font-semibold text-zinc-950 sm:text-xl/8 dark:text-white")
|
|
10566
9647
|
}
|
|
10567
9648
|
);
|
|
10568
9649
|
}
|
|
@@ -10572,7 +9653,7 @@ function Subheading({ className, level = 2, ...props }) {
|
|
|
10572
9653
|
Element,
|
|
10573
9654
|
{
|
|
10574
9655
|
...props,
|
|
10575
|
-
className:
|
|
9656
|
+
className: clsx4(className, "text-base/7 font-semibold text-zinc-950 sm:text-sm/6 dark:text-white")
|
|
10576
9657
|
}
|
|
10577
9658
|
);
|
|
10578
9659
|
}
|
|
@@ -10588,7 +9669,7 @@ function LanguageSwitcher({
|
|
|
10588
9669
|
setOpen(false);
|
|
10589
9670
|
};
|
|
10590
9671
|
const currentLanguage = languages.find((language) => language.code === currentLocale) ?? languages[0];
|
|
10591
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9672
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
10592
9673
|
/* @__PURE__ */ jsxs(
|
|
10593
9674
|
"button",
|
|
10594
9675
|
{
|
|
@@ -10703,23 +9784,23 @@ function MonthPicker({
|
|
|
10703
9784
|
const locale = useLocale();
|
|
10704
9785
|
const t = useTranslations("common");
|
|
10705
9786
|
const dateFnsLocale = dateFnsLocales2[locale] || ptBR;
|
|
10706
|
-
const months =
|
|
9787
|
+
const months = React9.useMemo(() => getLocalizedMonths(dateFnsLocale), [dateFnsLocale]);
|
|
10707
9788
|
const defaultPlaceholder = t("selectMonth");
|
|
10708
|
-
const [open, setOpen] =
|
|
10709
|
-
const availableYears =
|
|
9789
|
+
const [open, setOpen] = React9.useState(false);
|
|
9790
|
+
const availableYears = React9.useMemo(() => {
|
|
10710
9791
|
const years = new Set(availableMonths.map((m) => parseInt(m.split("-")[0])));
|
|
10711
9792
|
return Array.from(years).sort((a, b) => b - a);
|
|
10712
9793
|
}, [availableMonths]);
|
|
10713
|
-
const [viewYear, setViewYear] =
|
|
9794
|
+
const [viewYear, setViewYear] = React9.useState(() => {
|
|
10714
9795
|
if (value) return parseInt(value.split("-")[0]);
|
|
10715
9796
|
if (availableYears.length > 0) return availableYears[0];
|
|
10716
9797
|
return (/* @__PURE__ */ new Date()).getFullYear();
|
|
10717
9798
|
});
|
|
10718
|
-
const isMonthAvailable =
|
|
9799
|
+
const isMonthAvailable = React9.useCallback((year, monthIndex) => {
|
|
10719
9800
|
const monthStr = `${year}-${String(monthIndex + 1).padStart(2, "0")}`;
|
|
10720
9801
|
return availableMonths.includes(monthStr);
|
|
10721
9802
|
}, [availableMonths]);
|
|
10722
|
-
const displayValue =
|
|
9803
|
+
const displayValue = React9.useMemo(() => {
|
|
10723
9804
|
if (!value) return placeholder || defaultPlaceholder;
|
|
10724
9805
|
try {
|
|
10725
9806
|
const date = parse(value, "yyyy-MM", /* @__PURE__ */ new Date());
|
|
@@ -10741,7 +9822,7 @@ function MonthPicker({
|
|
|
10741
9822
|
{
|
|
10742
9823
|
type: "button",
|
|
10743
9824
|
className: `${noBorder ? "flex items-center justify-center gap-2 text-sm bg-transparent px-4 h-full min-h-[52px] text-slate-900 dark:text-white hover:bg-white/30 dark:hover:bg-white/[0.06] focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500/70 focus-visible:ring-offset-1 transition-all duration-200 active:scale-[0.985]" : "liquid-surface flex items-center justify-center gap-2 text-sm rounded-xl px-4 h-[52px] text-slate-900 dark:text-white hover:bg-white/30 dark:hover:bg-white/[0.06] focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500/70 focus-visible:ring-offset-1 transition-all duration-200 active:scale-[0.985]"} ${triggerClassName}`.trim(),
|
|
10744
|
-
children: triggerContent ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9825
|
+
children: triggerContent ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
10745
9826
|
/* @__PURE__ */ jsx(CalendarIcon, { className: "h-4 w-4 text-indigo-500" }),
|
|
10746
9827
|
/* @__PURE__ */ jsx("span", { className: "capitalize whitespace-nowrap", children: displayValue })
|
|
10747
9828
|
] })
|
|
@@ -11135,7 +10216,7 @@ function BrandedLoader({
|
|
|
11135
10216
|
return /* @__PURE__ */ jsx(
|
|
11136
10217
|
"div",
|
|
11137
10218
|
{
|
|
11138
|
-
className:
|
|
10219
|
+
className: clsx4(
|
|
11139
10220
|
"flex items-center justify-center",
|
|
11140
10221
|
compact ? "w-full py-8" : "fixed inset-0 z-[9999] h-dvh w-dvw bg-gray-50 dark:bg-[#0b1120]",
|
|
11141
10222
|
className
|
|
@@ -11145,7 +10226,7 @@ function BrandedLoader({
|
|
|
11145
10226
|
/* @__PURE__ */ jsx(
|
|
11146
10227
|
"div",
|
|
11147
10228
|
{
|
|
11148
|
-
className:
|
|
10229
|
+
className: clsx4(
|
|
11149
10230
|
"absolute -inset-3 animate-ping motion-reduce:animate-none rounded-3xl opacity-20",
|
|
11150
10231
|
`bg-gradient-to-br ${gradient}`
|
|
11151
10232
|
),
|
|
@@ -11155,7 +10236,7 @@ function BrandedLoader({
|
|
|
11155
10236
|
/* @__PURE__ */ jsx(
|
|
11156
10237
|
"div",
|
|
11157
10238
|
{
|
|
11158
|
-
className:
|
|
10239
|
+
className: clsx4(
|
|
11159
10240
|
"absolute -inset-1.5 rounded-[22px] ring-2",
|
|
11160
10241
|
accentRing,
|
|
11161
10242
|
"animate-pulse motion-reduce:animate-none"
|
|
@@ -11171,7 +10252,7 @@ function BrandedLoader({
|
|
|
11171
10252
|
/* @__PURE__ */ jsxs(
|
|
11172
10253
|
"div",
|
|
11173
10254
|
{
|
|
11174
|
-
className:
|
|
10255
|
+
className: clsx4(
|
|
11175
10256
|
"relative flex h-24 w-24 items-center justify-center rounded-[20px]",
|
|
11176
10257
|
`bg-gradient-to-br ${gradient}`,
|
|
11177
10258
|
"shadow-lg shadow-black/20"
|
|
@@ -11187,7 +10268,7 @@ function BrandedLoader({
|
|
|
11187
10268
|
/* @__PURE__ */ jsx(
|
|
11188
10269
|
"h2",
|
|
11189
10270
|
{
|
|
11190
|
-
className:
|
|
10271
|
+
className: clsx4(
|
|
11191
10272
|
"bg-clip-text text-xl font-bold tracking-tight text-transparent",
|
|
11192
10273
|
`bg-gradient-to-r ${gradient}`
|
|
11193
10274
|
),
|
|
@@ -11198,7 +10279,7 @@ function BrandedLoader({
|
|
|
11198
10279
|
/* @__PURE__ */ jsx("div", { className: "flex gap-1", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsx(
|
|
11199
10280
|
"div",
|
|
11200
10281
|
{
|
|
11201
|
-
className:
|
|
10282
|
+
className: clsx4(
|
|
11202
10283
|
"h-1.5 w-1.5 rounded-full",
|
|
11203
10284
|
`bg-gradient-to-br ${gradient}`,
|
|
11204
10285
|
"animate-bounce motion-reduce:animate-none"
|
|
@@ -11213,7 +10294,7 @@ function BrandedLoader({
|
|
|
11213
10294
|
/* @__PURE__ */ jsx("div", { className: "flex gap-1.5", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsx(
|
|
11214
10295
|
"div",
|
|
11215
10296
|
{
|
|
11216
|
-
className:
|
|
10297
|
+
className: clsx4(
|
|
11217
10298
|
"h-2 w-2 rounded-full",
|
|
11218
10299
|
`bg-gradient-to-br ${gradient}`,
|
|
11219
10300
|
"animate-bounce motion-reduce:animate-none"
|
|
@@ -11241,11 +10322,11 @@ function AppLogo({
|
|
|
11241
10322
|
wordmark
|
|
11242
10323
|
}) {
|
|
11243
10324
|
const s = SIZES[size];
|
|
11244
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
10325
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx4("inline-flex items-center", s.gap, className), children: [
|
|
11245
10326
|
/* @__PURE__ */ jsxs(
|
|
11246
10327
|
"div",
|
|
11247
10328
|
{
|
|
11248
|
-
className:
|
|
10329
|
+
className: clsx4(
|
|
11249
10330
|
"relative flex flex-none items-center justify-center",
|
|
11250
10331
|
s.container,
|
|
11251
10332
|
`bg-gradient-to-br ${gradient}`,
|
|
@@ -11253,14 +10334,14 @@ function AppLogo({
|
|
|
11253
10334
|
),
|
|
11254
10335
|
children: [
|
|
11255
10336
|
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 rounded-[inherit] bg-[linear-gradient(145deg,rgba(255,255,255,0.35)_0%,rgba(255,255,255,0.08)_45%,rgba(255,255,255,0)_100%)]" }),
|
|
11256
|
-
/* @__PURE__ */ jsx(Icon, { className:
|
|
10337
|
+
/* @__PURE__ */ jsx(Icon, { className: clsx4("relative text-white", s.icon) })
|
|
11257
10338
|
]
|
|
11258
10339
|
}
|
|
11259
10340
|
),
|
|
11260
10341
|
wordmark ?? /* @__PURE__ */ jsx(
|
|
11261
10342
|
"span",
|
|
11262
10343
|
{
|
|
11263
|
-
className:
|
|
10344
|
+
className: clsx4(
|
|
11264
10345
|
"font-bold tracking-tight bg-clip-text text-transparent whitespace-nowrap",
|
|
11265
10346
|
`bg-gradient-to-r ${gradient}`,
|
|
11266
10347
|
s.text
|
|
@@ -11394,10 +10475,10 @@ function Fieldset2({
|
|
|
11394
10475
|
...props
|
|
11395
10476
|
}) {
|
|
11396
10477
|
return /* @__PURE__ */ jsx(
|
|
11397
|
-
|
|
10478
|
+
Headless3.Fieldset,
|
|
11398
10479
|
{
|
|
11399
10480
|
...props,
|
|
11400
|
-
className:
|
|
10481
|
+
className: clsx4(
|
|
11401
10482
|
className,
|
|
11402
10483
|
"*:data-[slot=text]:mt-1 [&>*+[data-slot=control]]:mt-6"
|
|
11403
10484
|
)
|
|
@@ -11409,11 +10490,11 @@ function Legend2({
|
|
|
11409
10490
|
...props
|
|
11410
10491
|
}) {
|
|
11411
10492
|
return /* @__PURE__ */ jsx(
|
|
11412
|
-
|
|
10493
|
+
Headless3.Legend,
|
|
11413
10494
|
{
|
|
11414
10495
|
"data-slot": "legend",
|
|
11415
10496
|
...props,
|
|
11416
|
-
className:
|
|
10497
|
+
className: clsx4(
|
|
11417
10498
|
className,
|
|
11418
10499
|
"text-base/6 font-semibold text-zinc-950 data-disabled:opacity-50 sm:text-sm/6 dark:text-white"
|
|
11419
10500
|
)
|
|
@@ -11429,7 +10510,7 @@ function FieldGroup({
|
|
|
11429
10510
|
{
|
|
11430
10511
|
"data-slot": "control",
|
|
11431
10512
|
...props,
|
|
11432
|
-
className:
|
|
10513
|
+
className: clsx4(className, "space-y-8")
|
|
11433
10514
|
}
|
|
11434
10515
|
);
|
|
11435
10516
|
}
|
|
@@ -11438,10 +10519,10 @@ function Field2({
|
|
|
11438
10519
|
...props
|
|
11439
10520
|
}) {
|
|
11440
10521
|
return /* @__PURE__ */ jsx(
|
|
11441
|
-
|
|
10522
|
+
Headless3.Field,
|
|
11442
10523
|
{
|
|
11443
10524
|
...props,
|
|
11444
|
-
className:
|
|
10525
|
+
className: clsx4(
|
|
11445
10526
|
className,
|
|
11446
10527
|
"[&>[data-slot=label]+[data-slot=control]]:mt-3",
|
|
11447
10528
|
"[&>[data-slot=label]+[data-slot=description]]:mt-1",
|
|
@@ -11458,11 +10539,11 @@ function Label2({
|
|
|
11458
10539
|
...props
|
|
11459
10540
|
}) {
|
|
11460
10541
|
return /* @__PURE__ */ jsx(
|
|
11461
|
-
|
|
10542
|
+
Headless3.Label,
|
|
11462
10543
|
{
|
|
11463
10544
|
"data-slot": "label",
|
|
11464
10545
|
...props,
|
|
11465
|
-
className:
|
|
10546
|
+
className: clsx4(
|
|
11466
10547
|
className,
|
|
11467
10548
|
"text-base/6 text-zinc-950 select-none data-disabled:opacity-50 sm:text-sm/6 dark:text-white"
|
|
11468
10549
|
)
|
|
@@ -11474,11 +10555,11 @@ function Description3({
|
|
|
11474
10555
|
...props
|
|
11475
10556
|
}) {
|
|
11476
10557
|
return /* @__PURE__ */ jsx(
|
|
11477
|
-
|
|
10558
|
+
Headless3.Description,
|
|
11478
10559
|
{
|
|
11479
10560
|
"data-slot": "description",
|
|
11480
10561
|
...props,
|
|
11481
|
-
className:
|
|
10562
|
+
className: clsx4(
|
|
11482
10563
|
className,
|
|
11483
10564
|
"text-base/6 text-zinc-500 data-disabled:opacity-50 sm:text-sm/6 dark:text-zinc-400"
|
|
11484
10565
|
)
|
|
@@ -11490,22 +10571,22 @@ function ErrorMessage({
|
|
|
11490
10571
|
...props
|
|
11491
10572
|
}) {
|
|
11492
10573
|
return /* @__PURE__ */ jsx(
|
|
11493
|
-
|
|
10574
|
+
Headless3.Description,
|
|
11494
10575
|
{
|
|
11495
10576
|
"data-slot": "error",
|
|
11496
10577
|
...props,
|
|
11497
|
-
className:
|
|
10578
|
+
className: clsx4(
|
|
11498
10579
|
className,
|
|
11499
10580
|
"text-base/6 text-red-600 data-disabled:opacity-50 sm:text-sm/6 dark:text-red-500"
|
|
11500
10581
|
)
|
|
11501
10582
|
}
|
|
11502
10583
|
);
|
|
11503
10584
|
}
|
|
11504
|
-
var Textarea =
|
|
10585
|
+
var Textarea = React9.forwardRef(({ className, ...props }, ref) => {
|
|
11505
10586
|
return /* @__PURE__ */ jsx(
|
|
11506
10587
|
"textarea",
|
|
11507
10588
|
{
|
|
11508
|
-
className:
|
|
10589
|
+
className: clsx4(
|
|
11509
10590
|
"liquid-surface flex min-h-[80px] w-full rounded-xl px-3 py-2.5 text-sm",
|
|
11510
10591
|
"text-slate-900 dark:text-white outline-none",
|
|
11511
10592
|
"placeholder:text-slate-500 dark:placeholder:text-slate-400",
|
|
@@ -12646,7 +11727,7 @@ function RadiantHeading({
|
|
|
12646
11727
|
Element,
|
|
12647
11728
|
{
|
|
12648
11729
|
...props,
|
|
12649
|
-
className: clsx
|
|
11730
|
+
className: clsx(
|
|
12650
11731
|
className,
|
|
12651
11732
|
"text-4xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-5xl lg:text-6xl"
|
|
12652
11733
|
)
|
|
@@ -12663,7 +11744,7 @@ function RadiantSubheading({
|
|
|
12663
11744
|
Element,
|
|
12664
11745
|
{
|
|
12665
11746
|
...props,
|
|
12666
|
-
className: clsx
|
|
11747
|
+
className: clsx(
|
|
12667
11748
|
className,
|
|
12668
11749
|
"font-semibold text-blue-600 dark:text-blue-400 uppercase tracking-wider text-sm mb-4"
|
|
12669
11750
|
)
|
|
@@ -12677,7 +11758,7 @@ function Lead({
|
|
|
12677
11758
|
return /* @__PURE__ */ jsx(
|
|
12678
11759
|
"p",
|
|
12679
11760
|
{
|
|
12680
|
-
className: clsx
|
|
11761
|
+
className: clsx(className, "text-xl text-gray-600 dark:text-gray-400 leading-relaxed"),
|
|
12681
11762
|
...props
|
|
12682
11763
|
}
|
|
12683
11764
|
);
|
|
@@ -12706,7 +11787,7 @@ function Gradient({
|
|
|
12706
11787
|
"div",
|
|
12707
11788
|
{
|
|
12708
11789
|
...props,
|
|
12709
|
-
className: clsx
|
|
11790
|
+
className: clsx(
|
|
12710
11791
|
className,
|
|
12711
11792
|
"bg-gradient-to-r from-blue-400 via-purple-400 to-pink-400 dark:from-blue-600 dark:via-purple-600 dark:to-pink-600"
|
|
12712
11793
|
)
|
|
@@ -12718,7 +11799,7 @@ function GradientBackground() {
|
|
|
12718
11799
|
/* @__PURE__ */ jsx(
|
|
12719
11800
|
"div",
|
|
12720
11801
|
{
|
|
12721
|
-
className: clsx
|
|
11802
|
+
className: clsx(
|
|
12722
11803
|
"absolute -top-40 -right-40 h-80 w-80",
|
|
12723
11804
|
"bg-gradient-to-br from-blue-400 to-transparent",
|
|
12724
11805
|
"rounded-full blur-3xl opacity-20 dark:opacity-10"
|
|
@@ -12728,7 +11809,7 @@ function GradientBackground() {
|
|
|
12728
11809
|
/* @__PURE__ */ jsx(
|
|
12729
11810
|
"div",
|
|
12730
11811
|
{
|
|
12731
|
-
className: clsx
|
|
11812
|
+
className: clsx(
|
|
12732
11813
|
"absolute -bottom-40 -left-40 h-80 w-80",
|
|
12733
11814
|
"bg-gradient-to-tr from-purple-400 to-transparent",
|
|
12734
11815
|
"rounded-full blur-3xl opacity-20 dark:opacity-10"
|
|
@@ -12752,7 +11833,7 @@ function BentoCard({
|
|
|
12752
11833
|
initial: "idle",
|
|
12753
11834
|
whileHover: "active",
|
|
12754
11835
|
variants: { idle: {}, active: {} },
|
|
12755
|
-
className: clsx
|
|
11836
|
+
className: clsx(
|
|
12756
11837
|
className,
|
|
12757
11838
|
"group relative flex flex-col overflow-hidden rounded-2xl",
|
|
12758
11839
|
"bg-white dark:bg-gray-800 shadow-lg hover:shadow-xl transition-shadow",
|
|
@@ -12777,7 +11858,7 @@ function PlusGrid({
|
|
|
12777
11858
|
className = "",
|
|
12778
11859
|
children
|
|
12779
11860
|
}) {
|
|
12780
|
-
return /* @__PURE__ */ jsx("div", { className: clsx
|
|
11861
|
+
return /* @__PURE__ */ jsx("div", { className: clsx(className, "space-y-px"), children });
|
|
12781
11862
|
}
|
|
12782
11863
|
function PlusGridRow({
|
|
12783
11864
|
className = "",
|
|
@@ -12786,7 +11867,7 @@ function PlusGridRow({
|
|
|
12786
11867
|
return /* @__PURE__ */ jsx(
|
|
12787
11868
|
"div",
|
|
12788
11869
|
{
|
|
12789
|
-
className: clsx
|
|
11870
|
+
className: clsx(
|
|
12790
11871
|
className,
|
|
12791
11872
|
"group/row relative isolate grid gap-px"
|
|
12792
11873
|
),
|
|
@@ -12798,7 +11879,7 @@ function PlusGridItem({
|
|
|
12798
11879
|
className = "",
|
|
12799
11880
|
children
|
|
12800
11881
|
}) {
|
|
12801
|
-
return /* @__PURE__ */ jsx("div", { className: clsx
|
|
11882
|
+
return /* @__PURE__ */ jsx("div", { className: clsx(className, "group/item relative"), children });
|
|
12802
11883
|
}
|
|
12803
11884
|
function RadiantStatCard({
|
|
12804
11885
|
value,
|
|
@@ -12811,7 +11892,7 @@ function RadiantStatCard({
|
|
|
12811
11892
|
initial: { opacity: 0, y: 20 },
|
|
12812
11893
|
whileInView: { opacity: 1, y: 0 },
|
|
12813
11894
|
transition: { duration: 0.5 },
|
|
12814
|
-
className: clsx
|
|
11895
|
+
className: clsx(
|
|
12815
11896
|
"group relative rounded-2xl overflow-hidden p-8 sm:p-12",
|
|
12816
11897
|
`bg-gradient-to-br ${gradient}`,
|
|
12817
11898
|
"shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105"
|
|
@@ -12840,7 +11921,7 @@ function FeatureCard({
|
|
|
12840
11921
|
transition: { duration: 0.5 },
|
|
12841
11922
|
className: "group relative rounded-2xl overflow-hidden bg-white dark:bg-gray-800 p-8 shadow-md hover:shadow-xl transition-all duration-300 border border-gray-200 dark:border-gray-700",
|
|
12842
11923
|
children: [
|
|
12843
|
-
/* @__PURE__ */ jsx("div", { className: clsx
|
|
11924
|
+
/* @__PURE__ */ jsx("div", { className: clsx(
|
|
12844
11925
|
"inline-flex rounded-xl p-3 mb-6",
|
|
12845
11926
|
`bg-gradient-to-br ${gradient}`
|
|
12846
11927
|
), children: /* @__PURE__ */ jsx(Icon, { className: "h-6 w-6 text-white" }) }),
|
|
@@ -12935,10 +12016,10 @@ function OptionGrid({
|
|
|
12935
12016
|
disabled: isLoading,
|
|
12936
12017
|
onClick: () => onSelect(option.code),
|
|
12937
12018
|
className: `rounded-lg px-${isVertical ? "2" : "3"} py-2 ${isVertical ? "text-center" : "text-left"} text-${isVertical ? "xs" : "sm"} transition-colors ${isSelected ? "liquid-surface liquid-surface-active liquid-glass-indigo text-indigo-700 dark:text-indigo-300" : "liquid-surface hover:shadow-md text-gray-700 dark:text-gray-300"} ${isLoading ? "opacity-50 cursor-not-allowed" : ""}`,
|
|
12938
|
-
children: isVertical ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12019
|
+
children: isVertical ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
12939
12020
|
/* @__PURE__ */ jsx("span", { className: "block text-lg mb-0.5", children: option.flag }),
|
|
12940
12021
|
option.label
|
|
12941
|
-
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12022
|
+
] }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
12942
12023
|
/* @__PURE__ */ jsx("span", { className: "mr-2", children: option.flag }),
|
|
12943
12024
|
option.label
|
|
12944
12025
|
] })
|
|
@@ -13197,11 +12278,11 @@ function GeoMapCanvasInner({
|
|
|
13197
12278
|
return `rgba(${r}, ${g}, ${b}, 0.15)`;
|
|
13198
12279
|
};
|
|
13199
12280
|
const lighterColors = useMemo(() => {
|
|
13200
|
-
const
|
|
12281
|
+
const colors2 = /* @__PURE__ */ new Map();
|
|
13201
12282
|
regionColorMap.forEach((color, code) => {
|
|
13202
|
-
|
|
12283
|
+
colors2.set(code, getLighterColor(color));
|
|
13203
12284
|
});
|
|
13204
|
-
return
|
|
12285
|
+
return colors2;
|
|
13205
12286
|
}, [regionColorMap]);
|
|
13206
12287
|
const featureCollection = useMemo(() => {
|
|
13207
12288
|
if (!geoData) return null;
|
|
@@ -13433,8 +12514,8 @@ function GeoMapCanvasInner({
|
|
|
13433
12514
|
}
|
|
13434
12515
|
);
|
|
13435
12516
|
}
|
|
13436
|
-
var GeoMapCanvas =
|
|
13437
|
-
var MapZoomControls =
|
|
12517
|
+
var GeoMapCanvas = React9__default.forwardRef(GeoMapCanvasInner);
|
|
12518
|
+
var MapZoomControls = React9__default.forwardRef(
|
|
13438
12519
|
({ zoom, minZoom, maxZoom, onZoomIn, onZoomOut, labels }, ref) => {
|
|
13439
12520
|
return /* @__PURE__ */ jsxs(
|
|
13440
12521
|
"div",
|
|
@@ -13589,9 +12670,9 @@ function InteractiveGeoMapInner({
|
|
|
13589
12670
|
}
|
|
13590
12671
|
);
|
|
13591
12672
|
}
|
|
13592
|
-
var InteractiveGeoMap =
|
|
12673
|
+
var InteractiveGeoMap = React9__default.forwardRef(InteractiveGeoMapInner);
|
|
13593
12674
|
var DEFAULT_LEGEND_COLOR = "#6366f1";
|
|
13594
|
-
var GeoMapLegend =
|
|
12675
|
+
var GeoMapLegend = React9__default.forwardRef(
|
|
13595
12676
|
({ items, colorMap, getFlagUrl, getLabel, labels, maxItems = 5 }, ref) => {
|
|
13596
12677
|
return /* @__PURE__ */ jsxs(
|
|
13597
12678
|
"div",
|
|
@@ -19783,13 +18864,13 @@ var PageHeader = memo(function PageHeader2({
|
|
|
19783
18864
|
className,
|
|
19784
18865
|
children
|
|
19785
18866
|
}) {
|
|
19786
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
18867
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx4("mb-6 sm:mb-8", className), children: [
|
|
19787
18868
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4", children: [
|
|
19788
18869
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
19789
18870
|
/* @__PURE__ */ jsx(
|
|
19790
18871
|
"h1",
|
|
19791
18872
|
{
|
|
19792
|
-
className:
|
|
18873
|
+
className: clsx4(
|
|
19793
18874
|
"font-bold text-slate-900 dark:text-slate-100 truncate",
|
|
19794
18875
|
size === "large" ? "text-3xl" : "text-2xl"
|
|
19795
18876
|
),
|
|
@@ -19810,7 +18891,7 @@ var PageSectionHeader = memo(function PageSectionHeader2({
|
|
|
19810
18891
|
className,
|
|
19811
18892
|
children
|
|
19812
18893
|
}) {
|
|
19813
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
18894
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx4("mb-4", className), children: [
|
|
19814
18895
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3", children: [
|
|
19815
18896
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
19816
18897
|
/* @__PURE__ */ jsx("h2", { className: "text-lg sm:text-xl font-semibold text-slate-900 dark:text-slate-100", children: title }),
|
|
@@ -19828,7 +18909,7 @@ var CardSectionHeader = memo(function CardSectionHeader2({
|
|
|
19828
18909
|
className,
|
|
19829
18910
|
children
|
|
19830
18911
|
}) {
|
|
19831
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
18912
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx4("mb-3", className), children: [
|
|
19832
18913
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2", children: [
|
|
19833
18914
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
19834
18915
|
/* @__PURE__ */ jsx("h3", { className: "text-base sm:text-lg font-medium text-slate-900 dark:text-slate-100", children: title }),
|
|
@@ -19840,11 +18921,11 @@ var CardSectionHeader = memo(function CardSectionHeader2({
|
|
|
19840
18921
|
] });
|
|
19841
18922
|
});
|
|
19842
18923
|
var Tabs = TabsPrimitive.Root;
|
|
19843
|
-
var TabsList =
|
|
18924
|
+
var TabsList = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
19844
18925
|
TabsPrimitive.List,
|
|
19845
18926
|
{
|
|
19846
18927
|
ref,
|
|
19847
|
-
className:
|
|
18928
|
+
className: clsx4(
|
|
19848
18929
|
"inline-flex h-9 items-center justify-center rounded-lg bg-muted/50 p-0.5 text-muted-foreground",
|
|
19849
18930
|
className
|
|
19850
18931
|
),
|
|
@@ -19852,11 +18933,11 @@ var TabsList = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
19852
18933
|
}
|
|
19853
18934
|
));
|
|
19854
18935
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
19855
|
-
var TabsTrigger =
|
|
18936
|
+
var TabsTrigger = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
19856
18937
|
TabsPrimitive.Trigger,
|
|
19857
18938
|
{
|
|
19858
18939
|
ref,
|
|
19859
|
-
className:
|
|
18940
|
+
className: clsx4(
|
|
19860
18941
|
"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
19861
18942
|
className
|
|
19862
18943
|
),
|
|
@@ -19864,11 +18945,11 @@ var TabsTrigger = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
19864
18945
|
}
|
|
19865
18946
|
));
|
|
19866
18947
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
19867
|
-
var TabsContent =
|
|
18948
|
+
var TabsContent = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
19868
18949
|
TabsPrimitive.Content,
|
|
19869
18950
|
{
|
|
19870
18951
|
ref,
|
|
19871
|
-
className:
|
|
18952
|
+
className: clsx4(
|
|
19872
18953
|
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
19873
18954
|
className
|
|
19874
18955
|
),
|
|
@@ -19876,7 +18957,7 @@ var TabsContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
19876
18957
|
}
|
|
19877
18958
|
));
|
|
19878
18959
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
19879
|
-
var ContactCard =
|
|
18960
|
+
var ContactCard = React9__default.memo(function ContactCard2({
|
|
19880
18961
|
type,
|
|
19881
18962
|
email,
|
|
19882
18963
|
phone
|
|
@@ -19896,7 +18977,7 @@ var ContactCard = React12__default.memo(function ContactCard2({
|
|
|
19896
18977
|
] })
|
|
19897
18978
|
] });
|
|
19898
18979
|
});
|
|
19899
|
-
var OfficeCard =
|
|
18980
|
+
var OfficeCard = React9__default.memo(function OfficeCard2({
|
|
19900
18981
|
city,
|
|
19901
18982
|
address,
|
|
19902
18983
|
postalCode
|
|
@@ -19909,7 +18990,7 @@ var OfficeCard = React12__default.memo(function OfficeCard2({
|
|
|
19909
18990
|
] })
|
|
19910
18991
|
] });
|
|
19911
18992
|
});
|
|
19912
|
-
var ContactSection =
|
|
18993
|
+
var ContactSection = React9__default.memo(
|
|
19913
18994
|
function ContactSection2({ title, subtitle, children }) {
|
|
19914
18995
|
return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-10 py-16 lg:grid-cols-3", children: [
|
|
19915
18996
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -19920,11 +19001,11 @@ var ContactSection = React12__default.memo(
|
|
|
19920
19001
|
] });
|
|
19921
19002
|
}
|
|
19922
19003
|
);
|
|
19923
|
-
var Progress =
|
|
19004
|
+
var Progress = React9.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
19924
19005
|
ProgressPrimitive.Root,
|
|
19925
19006
|
{
|
|
19926
19007
|
ref,
|
|
19927
|
-
className:
|
|
19008
|
+
className: clsx4(
|
|
19928
19009
|
"relative h-4 w-full overflow-hidden rounded-full bg-secondary",
|
|
19929
19010
|
className
|
|
19930
19011
|
),
|
|
@@ -19939,7 +19020,7 @@ var Progress = React12.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
19939
19020
|
}
|
|
19940
19021
|
));
|
|
19941
19022
|
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
19942
|
-
var
|
|
19023
|
+
var colors = {
|
|
19943
19024
|
"dark/zinc": [
|
|
19944
19025
|
"[--switch-bg-ring:var(--color-slate-950)]/90 [--switch-bg:var(--color-slate-900)] dark:[--switch-bg-ring:transparent] dark:[--switch-bg:var(--color-white)]/25",
|
|
19945
19026
|
"[--switch-ring:var(--color-slate-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white] dark:[--switch-ring:var(--color-slate-700)]/90"
|
|
@@ -20035,11 +19116,11 @@ function Switch2({
|
|
|
20035
19116
|
...props
|
|
20036
19117
|
}) {
|
|
20037
19118
|
return /* @__PURE__ */ jsx(
|
|
20038
|
-
|
|
19119
|
+
Headless3.Switch,
|
|
20039
19120
|
{
|
|
20040
19121
|
"data-slot": "control",
|
|
20041
19122
|
...props,
|
|
20042
|
-
className:
|
|
19123
|
+
className: clsx4(
|
|
20043
19124
|
className,
|
|
20044
19125
|
// Base styles
|
|
20045
19126
|
"group relative isolate inline-flex h-6 w-10 cursor-default rounded-full p-[3px] sm:h-5 sm:w-8",
|
|
@@ -20060,13 +19141,13 @@ function Switch2({
|
|
|
20060
19141
|
"data-disabled:bg-slate-200 data-disabled:opacity-50 data-disabled:data-checked:bg-slate-200 data-disabled:data-checked:ring-black/5",
|
|
20061
19142
|
"dark:data-disabled:bg-white/15 dark:data-disabled:data-checked:bg-white/15 dark:data-disabled:data-checked:ring-white/15",
|
|
20062
19143
|
// Color specific styles
|
|
20063
|
-
|
|
19144
|
+
colors[color]
|
|
20064
19145
|
),
|
|
20065
19146
|
children: /* @__PURE__ */ jsx(
|
|
20066
19147
|
"span",
|
|
20067
19148
|
{
|
|
20068
19149
|
"aria-hidden": "true",
|
|
20069
|
-
className:
|
|
19150
|
+
className: clsx4(
|
|
20070
19151
|
// Basic layout
|
|
20071
19152
|
"pointer-events-none relative inline-block size-4.5 rounded-full sm:size-3.5",
|
|
20072
19153
|
// Transition
|
|
@@ -20294,7 +19375,7 @@ function AppNavigation({
|
|
|
20294
19375
|
},
|
|
20295
19376
|
[onFlyoutClose, onNavigate]
|
|
20296
19377
|
);
|
|
20297
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
19378
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
20298
19379
|
dockEnabled && /* @__PURE__ */ jsx(
|
|
20299
19380
|
DockContainer,
|
|
20300
19381
|
{
|
|
@@ -20658,7 +19739,7 @@ function PlatformShell({
|
|
|
20658
19739
|
{
|
|
20659
19740
|
pages: breadcrumbPages,
|
|
20660
19741
|
dashboardPath,
|
|
20661
|
-
centerContent: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
19742
|
+
centerContent: /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
20662
19743
|
/* @__PURE__ */ jsxs(
|
|
20663
19744
|
"button",
|
|
20664
19745
|
{
|
|
@@ -20747,12 +19828,10 @@ function PlatformShell({
|
|
|
20747
19828
|
) })
|
|
20748
19829
|
] })
|
|
20749
19830
|
) : (
|
|
20750
|
-
/* Non-dashboard:
|
|
20751
|
-
|
|
20752
|
-
|
|
20753
|
-
|
|
20754
|
-
the card look broken at >1500px. */
|
|
20755
|
-
/* @__PURE__ */ jsx("div", { className: "px-4 py-6 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsx("div", { className: "mx-auto w-full max-w-7xl", children: /* @__PURE__ */ jsx(
|
|
19831
|
+
/* Non-dashboard: padded content, full-width. Pages own their
|
|
19832
|
+
own max-width if they need one (the workflow canvas, for
|
|
19833
|
+
example, needs 100vw — so we don't cap here at the shell). */
|
|
19834
|
+
/* @__PURE__ */ jsx("div", { className: "px-4 py-6 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsx("div", { className: "w-full", children: /* @__PURE__ */ jsx(
|
|
20756
19835
|
Suspense,
|
|
20757
19836
|
{
|
|
20758
19837
|
fallback: /* @__PURE__ */ jsx(
|
|
@@ -20910,6 +19989,6 @@ function useSocialProviders() {
|
|
|
20910
19989
|
return useContext(UiSocialProvidersContext);
|
|
20911
19990
|
}
|
|
20912
19991
|
|
|
20913
|
-
export { 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, 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, 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, CardContent, CardDescription, CardDivider, CardFooter, CardGridSkeleton, CardHeader, CardSectionHeader, CardTitle, CategoryBadge, CategoryTab, CategoryTabs, ChartRenderer, ChipPicker, CircularRefreshIndicator, Code, CollapsibleGroupedList, CompactSegmentedControl, ContactCard, ContactSection, Container, ContextMenu, CookieConsent, CopyableId, CreateActionButton, DE_THEME_CONFIG, DashboardView, DataPagination, DatePicker, DeleteSwipeAction, Description3 as Description, DetailsPopover, DevModeBanner, Dialog4 as Dialog, DialogActions, DialogBody, DialogDescription, DialogTitle3 as DialogTitle, Divider, Dock, DockContainer, DockSkeleton, DotRefreshIndicator, 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, ErrorMessage, ErrorState, ExpandableHistoryList, ExpandingPageIndicator, FRANCE_ACCENT_MAP, FRANCE_MACRO_REGIONS, FRANCE_MAP_CENTER, FRANCE_REGION_COORDINATES, FRANCE_REGION_PALETTES, FR_THEME_CONFIG, FavoriteSwipeAction, FeatureCard, FeedItemCard, Field2 as Field, FieldGroup, Fieldset2 as Fieldset, FilterSectionHeader, FilterTileButton, FloatingActionButton, FlyoutMenu, FlyoutNavGrid, FlyoutQuickActions, ForceTouchMenu, Form, FormActions, FormActionsRow, FormCheckbox, FormField, FormGrid, FormInput, FormPriceInput, FormSection, FormSelect, FormTextarea, FormToggle, GB_THEME_CONFIG, GERMANY_ACCENT_MAP, GERMANY_MACRO_REGIONS, GERMANY_MAP_CENTER, GERMANY_STATE_COORDINATES, GERMANY_STATE_PALETTES, GeoMapCanvas, GeoMapLegend, GlassModal, Gradient, GradientBackground, GrowthIndicator, Heading, HeroBlock, 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, InfoPopover, InlineForm, InlineSpinner, Input, InputRequestForm, InteractiveGeoMap, 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, 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, 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, PlatformShell, PlusGrid, PlusGridItem, PlusGridRow, PreferenceSection, PriceChangeBadge, ProfileIdentityCard, Progress, ProgressIndicator, PullToRefreshContainer, PullToRefreshIndicator, RadiantHeading, RadiantStatCard, RadiantSubheading, RecommendationCard, RegionFilterSkeleton, 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, SearchBar, SearchFilterToolbar, SearchInput, SectionCard, SectionHeader, SectionHeaderSkeleton, SegmentedControl, Select, SelectableTableRow, SelectionCard, ServerErrorPage, SettingsModal, Sheet, SkipToContent, SocialLoginButtons, SortableTableHeader, Spinner, StatCard, StatCardSkeleton, StatusBadge, StatusToggle, StepFormPage, StepNavigationButtons, StepTimeline, StreamingDashboard, 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, 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, UiAuthProvider, UiPrefsProvider, WINDSOCK_LOADER, WIRE_LOADER, WheelPicker, WindsockIcon, ZA_THEME_CONFIG, buildDockActions, buildFlyoutNavItems, buildLaunchpadItems, buttonPress, buttonPressReduced, buttonTap, cardHover, cardHoverReduced, cardPress, computeDomain, computeSeries, createMotionProps, duration, durationSeconds, durations, durationsReduced, ease, easeCss, easings, fadeOnly, fadeScale, filterByPermission, 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, 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, listItem, listItemReduced, motionTokens, notificationBanner, notificationBannerReduced, pageControlDot, prefersReducedMotion, registerCountry, registerSubdivisionTheme, resolveGlassAccentRgb, selectIsAuthenticated, selectShowShellChrome, selectUserInitial, selectUserName, shimmerClass, shimmerWhiteClass, slideDown, slideRight, slideUp, spring, springPresets, springPresetsReduced, staggerContainer, swipeActionThreshold, swipeConstraints, useAuth, useGeoMapState, useImpersonation, useNotifications, usePlatformPreferences, usePlatformShellStore, usePullToRefresh, useSocialProviders, validateDashboardSpec, xScale, yScale };
|
|
20914
|
-
//# sourceMappingURL=chunk-
|
|
20915
|
-
//# sourceMappingURL=chunk-
|
|
19992
|
+
export { 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, 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, BaseForm, BentoCard, BooleanFlagsPicker, BottomSafeArea, BrandFilterSkeleton, BrandedLoader, Breadcrumb, 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, CardContent, CardDescription, CardDivider, CardFooter, CardGridSkeleton, CardHeader, CardSectionHeader, CardTitle, CategoryBadge, CategoryTab, CategoryTabs, ChartRenderer, ChipPicker, CircularRefreshIndicator, Code, CollapsibleGroupedList, CompactSegmentedControl, ContactCard, ContactSection, Container, ContextMenu, CookieConsent, CopyableId, CreateActionButton, DE_THEME_CONFIG, DashboardView, DataPagination, DatePicker, DeleteSwipeAction, Description3 as Description, DetailsPopover, DevModeBanner, Dialog4 as Dialog, DialogActions, DialogBody, DialogDescription, DialogTitle3 as DialogTitle, Divider, Dock, DockContainer, DockSkeleton, DotRefreshIndicator, 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, ErrorMessage, ErrorState, ExpandableHistoryList, ExpandingPageIndicator, FRANCE_ACCENT_MAP, FRANCE_MACRO_REGIONS, FRANCE_MAP_CENTER, FRANCE_REGION_COORDINATES, FRANCE_REGION_PALETTES, FR_THEME_CONFIG, FavoriteSwipeAction, FeatureCard, FeedItemCard, Field2 as Field, FieldGroup, Fieldset2 as Fieldset, FilterSectionHeader, FilterTileButton, FlyoutMenu, FlyoutNavGrid, FlyoutQuickActions, ForceTouchMenu, Form, FormActions, FormActionsRow, FormCheckbox, FormField, FormGrid, FormInput, FormPriceInput, FormSection, FormSelect, FormTextarea, FormToggle, GB_THEME_CONFIG, GERMANY_ACCENT_MAP, GERMANY_MACRO_REGIONS, GERMANY_MAP_CENTER, GERMANY_STATE_COORDINATES, GERMANY_STATE_PALETTES, GeoMapCanvas, GeoMapLegend, GlassModal, Gradient, GradientBackground, GrowthIndicator, Heading, HeroBlock, 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, ImageUpload, InfoPopover, InlineForm, InlineSpinner, Input, InputRequestForm, InteractiveGeoMap, 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, 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, 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, PlatformShell, PlusGrid, PlusGridItem, PlusGridRow, PreferenceSection, PriceChangeBadge, ProfileIdentityCard, Progress, ProgressIndicator, PullToRefreshContainer, PullToRefreshIndicator, RadiantHeading, RadiantStatCard, RadiantSubheading, RecommendationCard, RegionFilterSkeleton, 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, SearchBar, SearchFilterToolbar, SearchInput, SectionCard, SectionHeader, SectionHeaderSkeleton, SegmentedControl, Select, SelectableTableRow, SelectionCard, ServerErrorPage, SettingsModal, Sheet, SkipToContent, SocialLoginButtons, SortableTableHeader, Spinner, StatCard, StatCardSkeleton, StatusBadge, StatusToggle, StepFormPage, StepNavigationButtons, StepTimeline, StreamingDashboard, 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, Text, TextLink, Textarea, ThemeSwitch, ThemeToggle, ThemeToggleCompact, TimePicker, ToggleSwitch, 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, UiAuthProvider, UiPrefsProvider, WINDSOCK_LOADER, WIRE_LOADER, WheelPicker, WindsockIcon, ZA_THEME_CONFIG, buildDockActions, buildFlyoutNavItems, buildLaunchpadItems, computeDomain, computeSeries, filterByPermission, 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, getTurkeyAccent, getTurkeyColors, getTurkeyFlagUrl, getTurkeyGradient, getTurkeyHexColor, getTurkeyPalette, getUKAccent, getUKColors, getUKFlagUrl, getUKGradient, getUKHexColor, getUKPalette, getUsAccent, getUsColors, getUsFlagUrl, getUsGradient, getUsHexColor, getUsPalette, 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, registerCountry, registerSubdivisionTheme, resolveGlassAccentRgb, selectIsAuthenticated, selectShowShellChrome, selectUserInitial, selectUserName, shimmerClass, shimmerWhiteClass, useAuth, useGeoMapState, useImpersonation, useNotifications, usePlatformPreferences, usePlatformShellStore, usePullToRefresh, useSocialProviders, validateDashboardSpec, xScale, yScale };
|
|
19993
|
+
//# sourceMappingURL=chunk-5LCWQKGQ.mjs.map
|
|
19994
|
+
//# sourceMappingURL=chunk-5LCWQKGQ.mjs.map
|