@datatechsolutions/ui 2.7.128 → 2.7.129
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/{chunk-RLFPACTM.mjs → chunk-B42HOCUU.mjs} +3 -3
- package/dist/{chunk-RLFPACTM.mjs.map → chunk-B42HOCUU.mjs.map} +1 -1
- package/dist/{chunk-ZRFEZ3RD.js → chunk-JLH7CRDF.js} +52 -52
- package/dist/{chunk-ZRFEZ3RD.js.map → chunk-JLH7CRDF.js.map} +1 -1
- package/dist/{chunk-IMLJ5FAZ.js → chunk-ORFU4L3V.js} +112 -1461
- package/dist/chunk-ORFU4L3V.js.map +1 -0
- package/dist/{chunk-RWNHZ7FV.mjs → chunk-XAXP6HE6.mjs} +84 -1397
- package/dist/chunk-XAXP6HE6.mjs.map +1 -0
- package/dist/index.d.mts +28 -307
- package/dist/index.d.ts +28 -307
- package/dist/index.js +325 -465
- package/dist/index.mjs +1 -1
- package/dist/workflow/index.js +119 -119
- package/dist/workflow/index.mjs +3 -3
- package/dist/workflow/workflow-canvas.js +3 -3
- package/dist/workflow/workflow-canvas.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-IMLJ5FAZ.js.map +0 -1
- package/dist/chunk-RWNHZ7FV.mjs.map +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkUZ3CMNUJ_js = require('./chunk-UZ3CMNUJ.js');
|
|
5
|
-
var
|
|
5
|
+
var Headless6 = require('@headlessui/react');
|
|
6
6
|
var clsx = require('clsx');
|
|
7
7
|
var React11 = require('react');
|
|
8
8
|
var framerMotion = require('framer-motion');
|
|
@@ -22,7 +22,6 @@ var Image = require('next/image');
|
|
|
22
22
|
var lucideReact = require('lucide-react');
|
|
23
23
|
var d3Geo = require('d3-geo');
|
|
24
24
|
var i18n = require('@datatechsolutions/shared-domain/i18n');
|
|
25
|
-
var ProgressPrimitive = require('@radix-ui/react-progress');
|
|
26
25
|
var TabsPrimitive = require('@radix-ui/react-tabs');
|
|
27
26
|
var zustand = require('zustand');
|
|
28
27
|
|
|
@@ -46,18 +45,17 @@ function _interopNamespace(e) {
|
|
|
46
45
|
return Object.freeze(n);
|
|
47
46
|
}
|
|
48
47
|
|
|
49
|
-
var
|
|
48
|
+
var Headless6__namespace = /*#__PURE__*/_interopNamespace(Headless6);
|
|
50
49
|
var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
51
50
|
var React11__namespace = /*#__PURE__*/_interopNamespace(React11);
|
|
52
51
|
var NextLink__default = /*#__PURE__*/_interopDefault(NextLink);
|
|
53
52
|
var HeroIcons__namespace = /*#__PURE__*/_interopNamespace(HeroIcons);
|
|
54
53
|
var Popover__namespace = /*#__PURE__*/_interopNamespace(Popover);
|
|
55
54
|
var Image__default = /*#__PURE__*/_interopDefault(Image);
|
|
56
|
-
var ProgressPrimitive__namespace = /*#__PURE__*/_interopNamespace(ProgressPrimitive);
|
|
57
55
|
var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
|
|
58
56
|
|
|
59
57
|
var Link = React11.forwardRef(function Link2(props, ref) {
|
|
60
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
58
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Headless6__namespace.DataInteractive, { children: /* @__PURE__ */ jsxRuntime.jsx(NextLink__default.default, { ...props, ref }) });
|
|
61
59
|
});
|
|
62
60
|
|
|
63
61
|
// src/lib/animations.ts
|
|
@@ -628,7 +626,7 @@ var Button = React11.forwardRef(function Button2({
|
|
|
628
626
|
onTapStart: handleTapStart,
|
|
629
627
|
className: clsx__default.default("inline-flex", fullWidth && "w-full"),
|
|
630
628
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
631
|
-
|
|
629
|
+
Headless6.Button,
|
|
632
630
|
{
|
|
633
631
|
...buttonProps,
|
|
634
632
|
disabled: isDisabled,
|
|
@@ -1227,9 +1225,9 @@ function Sheet({
|
|
|
1227
1225
|
}, [open, motionValue]);
|
|
1228
1226
|
const maxHeight = snapPoints[snapPoints.length - 1];
|
|
1229
1227
|
const rightSizeClass = size === "xl" ? "max-w-xl" : size === "lg" ? "max-w-lg" : "max-w-md";
|
|
1230
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1228
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Headless6.Transition, { show: open, as: React11.Fragment, children: /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { as: "div", className: "relative z-50", onClose, children: [
|
|
1231
1229
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1232
|
-
|
|
1230
|
+
Headless6.TransitionChild,
|
|
1233
1231
|
{
|
|
1234
1232
|
as: React11.Fragment,
|
|
1235
1233
|
enter: "ease-out duration-300",
|
|
@@ -1252,7 +1250,7 @@ function Sheet({
|
|
|
1252
1250
|
{
|
|
1253
1251
|
className: isRight ? "pointer-events-none fixed inset-y-0 right-0 flex w-screen max-w-full justify-end" : "pointer-events-none fixed inset-x-0 bottom-0 flex justify-center",
|
|
1254
1252
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1255
|
-
|
|
1253
|
+
Headless6.TransitionChild,
|
|
1256
1254
|
{
|
|
1257
1255
|
as: React11.Fragment,
|
|
1258
1256
|
enter: "transform transition ease-out duration-300",
|
|
@@ -1262,7 +1260,7 @@ function Sheet({
|
|
|
1262
1260
|
leaveFrom: isRight ? "translate-x-0" : "translate-y-0",
|
|
1263
1261
|
leaveTo: isRight ? "translate-x-full" : "translate-y-full",
|
|
1264
1262
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1265
|
-
|
|
1263
|
+
Headless6.DialogPanel,
|
|
1266
1264
|
{
|
|
1267
1265
|
as: framerMotion.motion.div,
|
|
1268
1266
|
ref: sheetRef,
|
|
@@ -1275,7 +1273,7 @@ function Sheet({
|
|
|
1275
1273
|
...!isRight ? { initial: { height: maxHeight } } : {},
|
|
1276
1274
|
children: [
|
|
1277
1275
|
showHandle && !isRight && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center pt-3 pb-2 cursor-grab active:cursor-grabbing", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-1 w-10 rounded-full bg-gray-400/50 dark:bg-gray-500/50" }) }),
|
|
1278
|
-
title && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1276
|
+
title && /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogTitle, { className: "px-6 py-3 text-lg font-semibold text-gray-900 dark:text-white border-b border-gray-200/50 dark:border-white/10", children: title }),
|
|
1279
1277
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1280
1278
|
"div",
|
|
1281
1279
|
{
|
|
@@ -2640,7 +2638,7 @@ var colorClasses2 = {
|
|
|
2640
2638
|
};
|
|
2641
2639
|
function CircleSpinner({ size, color, className, ariaLabel }) {
|
|
2642
2640
|
const config = sizeConfig[size];
|
|
2643
|
-
const
|
|
2641
|
+
const colors2 = colorClasses2[color];
|
|
2644
2642
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2645
2643
|
"div",
|
|
2646
2644
|
{
|
|
@@ -2648,8 +2646,8 @@ function CircleSpinner({ size, color, className, ariaLabel }) {
|
|
|
2648
2646
|
"rounded-full animate-spin",
|
|
2649
2647
|
config.size,
|
|
2650
2648
|
config.border,
|
|
2651
|
-
|
|
2652
|
-
|
|
2649
|
+
colors2.track,
|
|
2650
|
+
colors2.indicator,
|
|
2653
2651
|
className
|
|
2654
2652
|
),
|
|
2655
2653
|
role: "status",
|
|
@@ -2659,7 +2657,7 @@ function CircleSpinner({ size, color, className, ariaLabel }) {
|
|
|
2659
2657
|
}
|
|
2660
2658
|
function DotsSpinner({ size, color, className, ariaLabel }) {
|
|
2661
2659
|
const config = sizeConfig[size];
|
|
2662
|
-
const
|
|
2660
|
+
const colors2 = colorClasses2[color];
|
|
2663
2661
|
const dotVariants = {
|
|
2664
2662
|
initial: { scale: 0.8, opacity: 0.4 },
|
|
2665
2663
|
animate: { scale: 1, opacity: 1 }
|
|
@@ -2667,7 +2665,7 @@ function DotsSpinner({ size, color, className, ariaLabel }) {
|
|
|
2667
2665
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx("flex items-center gap-1", className), role: "status", "aria-label": ariaLabel, children: [0, 1, 2].map((index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2668
2666
|
framerMotion.motion.div,
|
|
2669
2667
|
{
|
|
2670
|
-
className: clsx.clsx("rounded-full",
|
|
2668
|
+
className: clsx.clsx("rounded-full", colors2.dot),
|
|
2671
2669
|
style: {
|
|
2672
2670
|
width: config.dotSize,
|
|
2673
2671
|
height: config.dotSize
|
|
@@ -2687,12 +2685,12 @@ function DotsSpinner({ size, color, className, ariaLabel }) {
|
|
|
2687
2685
|
}
|
|
2688
2686
|
function PulseSpinner({ size, color, className, ariaLabel }) {
|
|
2689
2687
|
const config = sizeConfig[size];
|
|
2690
|
-
const
|
|
2688
|
+
const colors2 = colorClasses2[color];
|
|
2691
2689
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx.clsx("relative", config.size, className), role: "status", "aria-label": ariaLabel, children: [
|
|
2692
2690
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2693
2691
|
framerMotion.motion.div,
|
|
2694
2692
|
{
|
|
2695
|
-
className: clsx.clsx("absolute inset-0 rounded-full",
|
|
2693
|
+
className: clsx.clsx("absolute inset-0 rounded-full", colors2.dot),
|
|
2696
2694
|
animate: {
|
|
2697
2695
|
scale: [1, 1.5, 1],
|
|
2698
2696
|
opacity: [0.7, 0, 0.7]
|
|
@@ -2704,7 +2702,7 @@ function PulseSpinner({ size, color, className, ariaLabel }) {
|
|
|
2704
2702
|
}
|
|
2705
2703
|
}
|
|
2706
2704
|
),
|
|
2707
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx("absolute inset-0 rounded-full",
|
|
2705
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx.clsx("absolute inset-0 rounded-full", colors2.dot) })
|
|
2708
2706
|
] });
|
|
2709
2707
|
}
|
|
2710
2708
|
function Spinner({
|
|
@@ -2935,10 +2933,10 @@ function TagBadge({
|
|
|
2935
2933
|
value,
|
|
2936
2934
|
size = "sm",
|
|
2937
2935
|
className = "",
|
|
2938
|
-
styles:
|
|
2936
|
+
styles: styles2 = {},
|
|
2939
2937
|
fallbackStyle = DEFAULT_FALLBACK_STYLE
|
|
2940
2938
|
}) {
|
|
2941
|
-
const style =
|
|
2939
|
+
const style = styles2[value] ?? fallbackStyle;
|
|
2942
2940
|
const sizeClass = SIZE_CLASSES[size];
|
|
2943
2941
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2944
2942
|
"span",
|
|
@@ -3016,7 +3014,7 @@ function SegmentedControl({
|
|
|
3016
3014
|
(seg) => typeof seg === "string" ? { value: seg, label: seg } : seg
|
|
3017
3015
|
);
|
|
3018
3016
|
const selectedIndex = normalizedSegments.findIndex((seg) => seg.value === value);
|
|
3019
|
-
const
|
|
3017
|
+
const styles2 = sizeStyles2[size];
|
|
3020
3018
|
React11.useEffect(() => {
|
|
3021
3019
|
if (containerRef.current && selectedIndex >= 0) {
|
|
3022
3020
|
const container = containerRef.current;
|
|
@@ -3044,7 +3042,7 @@ function SegmentedControl({
|
|
|
3044
3042
|
className: `
|
|
3045
3043
|
relative inline-flex items-center rounded-xl
|
|
3046
3044
|
bg-gray-100 dark:bg-gray-800
|
|
3047
|
-
${
|
|
3045
|
+
${styles2.container}
|
|
3048
3046
|
${fullWidth ? "w-full" : ""}
|
|
3049
3047
|
${disabled ? "opacity-50 pointer-events-none" : ""}
|
|
3050
3048
|
`,
|
|
@@ -3071,7 +3069,7 @@ function SegmentedControl({
|
|
|
3071
3069
|
className: `
|
|
3072
3070
|
relative z-10 flex items-center justify-center gap-1.5
|
|
3073
3071
|
font-medium rounded-lg transition-colors duration-150
|
|
3074
|
-
${
|
|
3072
|
+
${styles2.segment}
|
|
3075
3073
|
${fullWidth ? "flex-1" : ""}
|
|
3076
3074
|
${isSelected ? "text-gray-900 dark:text-white" : "text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300"}
|
|
3077
3075
|
`,
|
|
@@ -3130,7 +3128,7 @@ function PageIndicator({
|
|
|
3130
3128
|
}) {
|
|
3131
3129
|
const t = nextIntl.useTranslations("common");
|
|
3132
3130
|
const { dot, gap } = sizeConfig2[size];
|
|
3133
|
-
const
|
|
3131
|
+
const colors2 = variantConfig[variant];
|
|
3134
3132
|
const handleClick = (index) => {
|
|
3135
3133
|
if (onChange && index !== active) {
|
|
3136
3134
|
chunkUZ3CMNUJ_js.triggerHaptic("light");
|
|
@@ -3157,7 +3155,7 @@ function PageIndicator({
|
|
|
3157
3155
|
className: `
|
|
3158
3156
|
rounded-full transition-colors duration-200
|
|
3159
3157
|
${onChange ? "cursor-pointer" : "cursor-default"}
|
|
3160
|
-
${isActive ?
|
|
3158
|
+
${isActive ? colors2.active : colors2.inactive}
|
|
3161
3159
|
`,
|
|
3162
3160
|
style: {
|
|
3163
3161
|
width: dot,
|
|
@@ -3188,7 +3186,7 @@ function ExpandingPageIndicator({
|
|
|
3188
3186
|
activeWidth = 24
|
|
3189
3187
|
}) {
|
|
3190
3188
|
const t = nextIntl.useTranslations("common");
|
|
3191
|
-
const
|
|
3189
|
+
const colors2 = variantConfig[variant];
|
|
3192
3190
|
const handleClick = (index) => {
|
|
3193
3191
|
if (onChange && index !== active) {
|
|
3194
3192
|
chunkUZ3CMNUJ_js.triggerHaptic("light");
|
|
@@ -3214,7 +3212,7 @@ function ExpandingPageIndicator({
|
|
|
3214
3212
|
className: `
|
|
3215
3213
|
h-2 rounded-full transition-colors duration-200
|
|
3216
3214
|
${onChange ? "cursor-pointer" : "cursor-default"}
|
|
3217
|
-
${isActive ?
|
|
3215
|
+
${isActive ? colors2.active : colors2.inactive}
|
|
3218
3216
|
`,
|
|
3219
3217
|
animate: {
|
|
3220
3218
|
width: isActive ? activeWidth : 8,
|
|
@@ -4910,7 +4908,7 @@ function DynamicIslandNotification({
|
|
|
4910
4908
|
position = "right"
|
|
4911
4909
|
}) {
|
|
4912
4910
|
const [state, setState] = React11.useState("idle");
|
|
4913
|
-
const
|
|
4911
|
+
const styles2 = variantStyles[variant];
|
|
4914
4912
|
React11.useEffect(() => {
|
|
4915
4913
|
if (show) {
|
|
4916
4914
|
setState("expanded");
|
|
@@ -4935,12 +4933,12 @@ function DynamicIslandNotification({
|
|
|
4935
4933
|
position,
|
|
4936
4934
|
idleContent: (
|
|
4937
4935
|
// Idle: Colored icon pill
|
|
4938
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-6 w-6 rounded-full ${
|
|
4936
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-6 w-6 rounded-full ${styles2.iconBg} flex items-center justify-center`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 text-white", children: icon }) }) })
|
|
4939
4937
|
),
|
|
4940
4938
|
compactContent: (
|
|
4941
4939
|
// Compact: Colored icon + title + message preview
|
|
4942
4940
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 px-4 w-full", children: [
|
|
4943
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-8 w-8 rounded-full ${
|
|
4941
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-8 w-8 rounded-full ${styles2.iconBg} flex items-center justify-center shrink-0`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-5 w-5 text-white", children: icon }) }),
|
|
4944
4942
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
4945
4943
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-semibold truncate", children: title }),
|
|
4946
4944
|
message && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-gray-400 truncate", children: message })
|
|
@@ -4950,9 +4948,9 @@ function DynamicIslandNotification({
|
|
|
4950
4948
|
expandedContent: (
|
|
4951
4949
|
// Expanded: Full notification with colored icon background
|
|
4952
4950
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex items-center gap-4 px-5 w-full h-full`, children: [
|
|
4953
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-14 w-14 rounded-2xl ${
|
|
4951
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-14 w-14 rounded-2xl ${styles2.iconBg} flex items-center justify-center shrink-0 ${styles2.glow}`, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 text-white", children: icon }) }),
|
|
4954
4952
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
4955
|
-
appName && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-[11px] uppercase tracking-wide font-medium ${
|
|
4953
|
+
appName && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-[11px] uppercase tracking-wide font-medium ${styles2.accentColor}`, children: appName }),
|
|
4956
4954
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[15px] font-semibold leading-tight", children: title }),
|
|
4957
4955
|
message && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[13px] text-gray-400 mt-0.5 truncate", children: message })
|
|
4958
4956
|
] })
|
|
@@ -5414,9 +5412,9 @@ function GlassModal({
|
|
|
5414
5412
|
panelClassName = "rounded-[2rem]",
|
|
5415
5413
|
contentClassName = "fixed inset-0 flex items-center justify-center overflow-y-auto p-3 sm:p-5 lg:p-6"
|
|
5416
5414
|
}) {
|
|
5417
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5418
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5419
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: contentClassName, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5415
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { open, onClose, className: "relative z-50", children: [
|
|
5416
|
+
/* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/40 backdrop-blur-md dark:bg-black/50" }),
|
|
5417
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: contentClassName, children: /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogPanel, { className: panelClassName, children }) })
|
|
5420
5418
|
] });
|
|
5421
5419
|
}
|
|
5422
5420
|
function Text({ className, ...props }) {
|
|
@@ -5473,16 +5471,16 @@ function Dialog4({
|
|
|
5473
5471
|
children,
|
|
5474
5472
|
...props
|
|
5475
5473
|
}) {
|
|
5476
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5474
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Headless6__namespace.Dialog, { ...props, children: [
|
|
5477
5475
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5478
|
-
|
|
5476
|
+
Headless6__namespace.DialogBackdrop,
|
|
5479
5477
|
{
|
|
5480
5478
|
transition: true,
|
|
5481
5479
|
className: "fixed inset-0 flex w-screen justify-center overflow-y-auto bg-zinc-950/25 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-zinc-950/50"
|
|
5482
5480
|
}
|
|
5483
5481
|
),
|
|
5484
5482
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 w-screen overflow-y-auto pt-6 sm:pt-0", children: /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsx(
|
|
5485
|
-
|
|
5483
|
+
Headless6__namespace.DialogPanel,
|
|
5486
5484
|
{
|
|
5487
5485
|
transition: true,
|
|
5488
5486
|
className: clsx__default.default(
|
|
@@ -5501,7 +5499,7 @@ function DialogTitle3({
|
|
|
5501
5499
|
...props
|
|
5502
5500
|
}) {
|
|
5503
5501
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5504
|
-
|
|
5502
|
+
Headless6__namespace.DialogTitle,
|
|
5505
5503
|
{
|
|
5506
5504
|
...props,
|
|
5507
5505
|
className: clsx__default.default(
|
|
@@ -5516,7 +5514,7 @@ function DialogDescription({
|
|
|
5516
5514
|
...props
|
|
5517
5515
|
}) {
|
|
5518
5516
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5519
|
-
|
|
5517
|
+
Headless6__namespace.Description,
|
|
5520
5518
|
{
|
|
5521
5519
|
as: Text,
|
|
5522
5520
|
...props,
|
|
@@ -5853,9 +5851,9 @@ function CopyableId({ id, copyValue, label, className }) {
|
|
|
5853
5851
|
);
|
|
5854
5852
|
}
|
|
5855
5853
|
function CardActionMenu({ items }) {
|
|
5856
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5857
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5858
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5854
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Menu, { as: "div", className: "relative", children: [
|
|
5855
|
+
/* @__PURE__ */ jsxRuntime.jsx(Headless6.MenuButton, { className: "flex items-center rounded-full p-1 text-gray-400 transition-colors hover:text-gray-600 dark:hover:text-white", children: /* @__PURE__ */ jsxRuntime.jsx(solid.EllipsisVerticalIcon, { className: "h-5 w-5" }) }),
|
|
5856
|
+
/* @__PURE__ */ jsxRuntime.jsx(Headless6.MenuItems, { className: "absolute right-0 z-10 mt-2 w-40 origin-top-right rounded-lg bg-white shadow-lg ring-1 ring-black/5 focus:outline-hidden dark:bg-gray-800 dark:ring-white/10", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "py-1", children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(Headless6.MenuItem, { children: ({ active }) => {
|
|
5859
5857
|
const toneClass = item.tone === "danger" ? active ? "bg-gray-100 text-red-600 dark:bg-gray-700 dark:text-red-400" : "text-gray-700 dark:text-gray-200" : active ? "bg-gray-100 text-gray-900 dark:bg-gray-700 dark:text-white" : "text-gray-700 dark:text-gray-200";
|
|
5860
5858
|
return /* @__PURE__ */ jsxRuntime.jsxs("button", { onClick: item.onSelect, className: `flex w-full items-center px-4 py-2 text-sm ${toneClass}`, children: [
|
|
5861
5859
|
item.icon ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mr-3", children: item.icon }) : null,
|
|
@@ -5912,7 +5910,7 @@ function FormModal({
|
|
|
5912
5910
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5913
5911
|
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0", children: icon }),
|
|
5914
5912
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
5915
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5913
|
+
/* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogTitle, { className: "text-base sm:text-lg font-semibold text-gray-900 dark:text-white", children: title }),
|
|
5916
5914
|
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs sm:text-sm text-gray-500 dark:text-gray-400 mt-0.5", children: subtitle })
|
|
5917
5915
|
] })
|
|
5918
5916
|
] }),
|
|
@@ -5953,10 +5951,10 @@ function FormModal({
|
|
|
5953
5951
|
)
|
|
5954
5952
|
] }) }) })
|
|
5955
5953
|
] });
|
|
5956
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5954
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { open, onClose, className: "relative z-50", children: [
|
|
5957
5955
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 bg-black/50 backdrop-blur-sm" }),
|
|
5958
5956
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-4 sm:inset-6 lg:inset-10 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5959
|
-
|
|
5957
|
+
Headless6.DialogPanel,
|
|
5960
5958
|
{
|
|
5961
5959
|
className: `liquid-surface-strong w-full h-full ${MAX_WIDTH_CLASSES[maxWidth]} flex flex-col rounded-2xl overflow-hidden`,
|
|
5962
5960
|
children: onSubmit ? /* @__PURE__ */ jsxRuntime.jsx("form", { onSubmit: handleSubmit, className: "flex-1 flex flex-col overflow-hidden", children: content }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 flex flex-col overflow-hidden", children: content })
|
|
@@ -7310,9 +7308,9 @@ function SearchFilterToolbar({
|
|
|
7310
7308
|
),
|
|
7311
7309
|
actions
|
|
7312
7310
|
] }),
|
|
7313
|
-
!!children && onCloseFilters && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7311
|
+
!!children && onCloseFilters && /* @__PURE__ */ jsxRuntime.jsx(Headless6.Transition, { show: filtersOpen, as: React11.Fragment, children: /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { as: "div", className: "relative z-50", onClose: onCloseFilters, children: [
|
|
7314
7312
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7315
|
-
|
|
7313
|
+
Headless6.TransitionChild,
|
|
7316
7314
|
{
|
|
7317
7315
|
as: React11.Fragment,
|
|
7318
7316
|
enter: "ease-out duration-200",
|
|
@@ -7321,11 +7319,11 @@ function SearchFilterToolbar({
|
|
|
7321
7319
|
leave: "ease-in duration-150",
|
|
7322
7320
|
leaveFrom: "opacity-100",
|
|
7323
7321
|
leaveTo: "opacity-0",
|
|
7324
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7322
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/35 backdrop-blur-md" })
|
|
7325
7323
|
}
|
|
7326
7324
|
),
|
|
7327
7325
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 overflow-y-auto p-3 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex min-h-full max-w-2xl items-start justify-center pt-[8vh]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7328
|
-
|
|
7326
|
+
Headless6.TransitionChild,
|
|
7329
7327
|
{
|
|
7330
7328
|
as: React11.Fragment,
|
|
7331
7329
|
enter: "ease-out duration-250",
|
|
@@ -7334,7 +7332,7 @@ function SearchFilterToolbar({
|
|
|
7334
7332
|
leave: "ease-in duration-180",
|
|
7335
7333
|
leaveFrom: "opacity-100 scale-100",
|
|
7336
7334
|
leaveTo: "opacity-0 scale-95",
|
|
7337
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7335
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(Headless6.DialogPanel, { className: "liquid-surface-strong w-full overflow-hidden rounded-2xl", children: [
|
|
7338
7336
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-white/30 px-5 py-4 dark:border-white/10", children: [
|
|
7339
7337
|
resolvedFiltersContext ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center gap-2 text-slate-600 dark:text-white/70", children: [
|
|
7340
7338
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: resolvedFiltersContext.icon }),
|
|
@@ -8586,7 +8584,7 @@ var AvatarButton = React11.forwardRef(function AvatarButton2({
|
|
|
8586
8584
|
if (typeof props.href === "string") {
|
|
8587
8585
|
return /* @__PURE__ */ jsxRuntime.jsx(Link, { ...props, className: classes, ref, children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children: /* @__PURE__ */ jsxRuntime.jsx(Avatar, { src, square, initials, alt }) }) });
|
|
8588
8586
|
}
|
|
8589
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8587
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Headless6__namespace.Button, { ...props, className: classes, ref, children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children: /* @__PURE__ */ jsxRuntime.jsx(Avatar, { src, square, initials, alt }) }) });
|
|
8590
8588
|
});
|
|
8591
8589
|
var colors = {
|
|
8592
8590
|
red: "bg-red-500/15 text-red-700 group-data-hover:bg-red-500/25 dark:bg-red-500/10 dark:text-red-400 dark:group-data-hover:bg-red-500/20",
|
|
@@ -8634,7 +8632,7 @@ React11.forwardRef(function BadgeButton2({
|
|
|
8634
8632
|
if (typeof props.href === "string") {
|
|
8635
8633
|
return /* @__PURE__ */ jsxRuntime.jsx(Link, { ...props, className: classes, ref, children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { color, children }) }) });
|
|
8636
8634
|
}
|
|
8637
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8635
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Headless6__namespace.Button, { ...props, className: classes, ref, children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { color, children }) }) });
|
|
8638
8636
|
});
|
|
8639
8637
|
function Breadcrumb({ pages, actions, centerContent, dashboardPath = "/dashboard" }) {
|
|
8640
8638
|
const t = nextIntl.useTranslations("common");
|
|
@@ -8806,7 +8804,7 @@ function Divider({
|
|
|
8806
8804
|
);
|
|
8807
8805
|
}
|
|
8808
8806
|
function Dropdown(props) {
|
|
8809
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8807
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Headless6__namespace.Menu, { ...props });
|
|
8810
8808
|
}
|
|
8811
8809
|
function DynamicIslandConfirm({
|
|
8812
8810
|
open,
|
|
@@ -8826,9 +8824,9 @@ function DynamicIslandConfirm({
|
|
|
8826
8824
|
chunkUZ3CMNUJ_js.triggerHaptic("warning");
|
|
8827
8825
|
}
|
|
8828
8826
|
}, [open]);
|
|
8829
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8827
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { open, onClose, className: "relative z-[120]", children: [
|
|
8830
8828
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 bg-black/10 backdrop-blur-[2px]" }),
|
|
8831
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 flex items-start justify-center pt-3 px-4", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8829
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 flex items-start justify-center pt-3 px-4", children: /* @__PURE__ */ jsxRuntime.jsxs(Headless6.DialogPanel, { className: "w-full max-w-sm rounded-[28px] bg-black/95 p-3 text-white shadow-2xl", children: [
|
|
8832
8830
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 px-2 py-1", children: [
|
|
8833
8831
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-9 w-9 shrink-0 rounded-xl ${iconBackground} flex items-center justify-center`, children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.TrashIcon, { className: "h-5 w-5 text-white" }) }),
|
|
8834
8832
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
|
|
@@ -8868,9 +8866,9 @@ function FlyoutMenu({
|
|
|
8868
8866
|
maxWidthClassName = "max-w-4xl",
|
|
8869
8867
|
panelClassName
|
|
8870
8868
|
}) {
|
|
8871
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8872
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8873
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 flex items-start justify-center p-2 pt-[max(2.75rem,env(safe-area-inset-top))] sm:p-4 sm:pt-20", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8869
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { open, onClose, className: "relative z-50", children: [
|
|
8870
|
+
/* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/35 backdrop-blur-sm dark:bg-black/45" }),
|
|
8871
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 flex items-start justify-center p-2 pt-[max(2.75rem,env(safe-area-inset-top))] sm:p-4 sm:pt-20", children: /* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogPanel, { className: `w-screen ${maxWidthClassName} ${panelClassName ?? defaultPanelClassName}`, children: title ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4", children: [
|
|
8874
8872
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 flex items-center justify-center", children: title }),
|
|
8875
8873
|
children
|
|
8876
8874
|
] }) : children }) })
|
|
@@ -9077,9 +9075,9 @@ function LanguageSwitcher({
|
|
|
9077
9075
|
]
|
|
9078
9076
|
}
|
|
9079
9077
|
),
|
|
9080
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
9081
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9082
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 z-50 grid place-items-center p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
9078
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Headless6.Dialog, { className: "relative z-50", open, onClose: setOpen, children: [
|
|
9079
|
+
/* @__PURE__ */ jsxRuntime.jsx(Headless6.DialogBackdrop, { className: "fixed inset-0 bg-slate-900/35 backdrop-blur-sm" }),
|
|
9080
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 z-50 grid place-items-center p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(Headless6.DialogPanel, { className: "w-full max-w-md liquid-surface rounded-2xl border border-white/45 p-4 dark:border-white/12", children: [
|
|
9083
9081
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-sm font-semibold uppercase tracking-wide text-slate-600 dark:text-slate-300", children: changeLanguageLabel }),
|
|
9084
9082
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-4 gap-2", children: languages.map((language) => {
|
|
9085
9083
|
const selected = currentLocale === language.code;
|
|
@@ -9847,7 +9845,7 @@ function Fieldset2({
|
|
|
9847
9845
|
...props
|
|
9848
9846
|
}) {
|
|
9849
9847
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9850
|
-
|
|
9848
|
+
Headless6__namespace.Fieldset,
|
|
9851
9849
|
{
|
|
9852
9850
|
...props,
|
|
9853
9851
|
className: clsx__default.default(
|
|
@@ -9862,7 +9860,7 @@ function Legend2({
|
|
|
9862
9860
|
...props
|
|
9863
9861
|
}) {
|
|
9864
9862
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9865
|
-
|
|
9863
|
+
Headless6__namespace.Legend,
|
|
9866
9864
|
{
|
|
9867
9865
|
"data-slot": "legend",
|
|
9868
9866
|
...props,
|
|
@@ -9891,7 +9889,7 @@ function Field2({
|
|
|
9891
9889
|
...props
|
|
9892
9890
|
}) {
|
|
9893
9891
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9894
|
-
|
|
9892
|
+
Headless6__namespace.Field,
|
|
9895
9893
|
{
|
|
9896
9894
|
...props,
|
|
9897
9895
|
className: clsx__default.default(
|
|
@@ -9911,7 +9909,7 @@ function Label2({
|
|
|
9911
9909
|
...props
|
|
9912
9910
|
}) {
|
|
9913
9911
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9914
|
-
|
|
9912
|
+
Headless6__namespace.Label,
|
|
9915
9913
|
{
|
|
9916
9914
|
"data-slot": "label",
|
|
9917
9915
|
...props,
|
|
@@ -9927,7 +9925,7 @@ function Description4({
|
|
|
9927
9925
|
...props
|
|
9928
9926
|
}) {
|
|
9929
9927
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9930
|
-
|
|
9928
|
+
Headless6__namespace.Description,
|
|
9931
9929
|
{
|
|
9932
9930
|
"data-slot": "description",
|
|
9933
9931
|
...props,
|
|
@@ -9943,7 +9941,7 @@ function ErrorMessage({
|
|
|
9943
9941
|
...props
|
|
9944
9942
|
}) {
|
|
9945
9943
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9946
|
-
|
|
9944
|
+
Headless6__namespace.Description,
|
|
9947
9945
|
{
|
|
9948
9946
|
"data-slot": "error",
|
|
9949
9947
|
...props,
|
|
@@ -11488,14 +11486,14 @@ function UserAvatar({
|
|
|
11488
11486
|
const initial = user?.name?.[0]?.toUpperCase() || defaultUser[0];
|
|
11489
11487
|
const displayName = user?.name || defaultUser;
|
|
11490
11488
|
const email = user?.email || defaultEmail;
|
|
11491
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
11492
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
11489
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Headless6.Menu, { as: "div", className: `relative ${className}`, children: [
|
|
11490
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Headless6.MenuButton, { className: "relative flex max-w-xs items-center rounded-full focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white", children: [
|
|
11493
11491
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute -inset-1.5" }),
|
|
11494
11492
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: openMenu }),
|
|
11495
11493
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "size-8 rounded-full bg-indigo-500 flex items-center justify-center text-white font-medium", children: initial })
|
|
11496
11494
|
] }),
|
|
11497
11495
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
11498
|
-
|
|
11496
|
+
Headless6.MenuItems,
|
|
11499
11497
|
{
|
|
11500
11498
|
transition: true,
|
|
11501
11499
|
className: "absolute right-0 z-10 mt-2 w-48 origin-top-right rounded-md bg-white py-1 shadow-lg outline-1 outline-black/5 transition data-[closed]:scale-95 data-[closed]:opacity-0 data-[enter]:duration-100 data-[enter]:ease-out data-[leave]:duration-75 data-[leave]:ease-in dark:bg-gray-800 dark:shadow-none dark:-outline-offset-1 dark:outline-white/10",
|
|
@@ -11504,7 +11502,7 @@ function UserAvatar({
|
|
|
11504
11502
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white truncate", children: displayName }),
|
|
11505
11503
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 truncate", children: email })
|
|
11506
11504
|
] }),
|
|
11507
|
-
menuItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
11505
|
+
menuItems.map((item) => /* @__PURE__ */ jsxRuntime.jsx(Headless6.MenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11508
11506
|
"a",
|
|
11509
11507
|
{
|
|
11510
11508
|
href: item.href,
|
|
@@ -11721,11 +11719,11 @@ function GeoMapCanvasInner({
|
|
|
11721
11719
|
return `rgba(${r}, ${g}, ${b}, 0.25)`;
|
|
11722
11720
|
};
|
|
11723
11721
|
const lighterColors = React11.useMemo(() => {
|
|
11724
|
-
const
|
|
11722
|
+
const colors2 = /* @__PURE__ */ new Map();
|
|
11725
11723
|
regionColorMap.forEach((color, code) => {
|
|
11726
|
-
|
|
11724
|
+
colors2.set(code, getLighterColor(color));
|
|
11727
11725
|
});
|
|
11728
|
-
return
|
|
11726
|
+
return colors2;
|
|
11729
11727
|
}, [regionColorMap]);
|
|
11730
11728
|
const featureCollection = React11.useMemo(() => {
|
|
11731
11729
|
if (!geoData) return null;
|
|
@@ -12572,1249 +12570,6 @@ var getUsGradient = (state, direction) => getSubdivisionGradient("US", state, di
|
|
|
12572
12570
|
var getUsColors = (state) => getSubdivisionColors("US", state);
|
|
12573
12571
|
var getUsAccent = (state) => getSubdivisionAccent("US", state);
|
|
12574
12572
|
var isValidUsState = (state) => isValidSubdivision("US", state);
|
|
12575
|
-
var Link4 = React11.forwardRef(function Link5(props, ref) {
|
|
12576
|
-
return /* @__PURE__ */ jsxRuntime.jsx(NextLink__default.default, { ref, ...props });
|
|
12577
|
-
});
|
|
12578
|
-
var styles2 = {
|
|
12579
|
-
base: [
|
|
12580
|
-
"relative inline-flex items-center justify-center gap-x-2 rounded-xl text-sm font-semibold",
|
|
12581
|
-
"px-3.5 py-2.5 transition-all duration-200",
|
|
12582
|
-
"focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-indigo-400 dark:focus:ring-offset-slate-900",
|
|
12583
|
-
"disabled:opacity-50 disabled:pointer-events-none",
|
|
12584
|
-
"[&>svg]:size-4 [&>svg]:shrink-0"
|
|
12585
|
-
],
|
|
12586
|
-
solid: ["liquid-button-primary rounded-xl"],
|
|
12587
|
-
outline: [
|
|
12588
|
-
"liquid-button rounded-xl"
|
|
12589
|
-
],
|
|
12590
|
-
plain: [
|
|
12591
|
-
"border-transparent text-slate-700 hover:bg-white/30 dark:hover:bg-white/[0.08]",
|
|
12592
|
-
"dark:text-slate-300"
|
|
12593
|
-
],
|
|
12594
|
-
colors: {
|
|
12595
|
-
"dark/zinc": [
|
|
12596
|
-
"bg-slate-900/80 text-white backdrop-blur-xl border border-white/10 hover:bg-slate-800/80"
|
|
12597
|
-
],
|
|
12598
|
-
light: [
|
|
12599
|
-
"bg-white/60 text-slate-900 backdrop-blur-xl border border-white/30 hover:bg-white/80 dark:bg-white/10 dark:text-white dark:border-white/20 dark:hover:bg-white/20"
|
|
12600
|
-
],
|
|
12601
|
-
"dark/white": [
|
|
12602
|
-
"bg-slate-900/80 text-white backdrop-blur-xl border border-white/10 hover:bg-slate-800/80 dark:bg-white/90 dark:text-slate-900 dark:border-white/30 dark:hover:bg-white/80"
|
|
12603
|
-
],
|
|
12604
|
-
dark: [
|
|
12605
|
-
"bg-slate-900/80 text-white backdrop-blur-xl border border-white/10 hover:bg-slate-800/80"
|
|
12606
|
-
],
|
|
12607
|
-
white: [
|
|
12608
|
-
"bg-white/60 text-slate-900 backdrop-blur-xl border border-white/30 hover:bg-white/80"
|
|
12609
|
-
],
|
|
12610
|
-
zinc: [
|
|
12611
|
-
"bg-slate-600/80 text-white backdrop-blur-xl border border-white/10 hover:bg-slate-700/80"
|
|
12612
|
-
],
|
|
12613
|
-
indigo: [
|
|
12614
|
-
"bg-indigo-500/80 text-white backdrop-blur-xl border border-indigo-400/30 hover:bg-indigo-600/80"
|
|
12615
|
-
],
|
|
12616
|
-
cyan: [
|
|
12617
|
-
"bg-cyan-300/80 text-cyan-950 backdrop-blur-xl border border-cyan-200/30 hover:bg-cyan-400/80"
|
|
12618
|
-
],
|
|
12619
|
-
red: [
|
|
12620
|
-
"bg-red-600/80 text-white backdrop-blur-xl border border-red-500/30 hover:bg-red-700/80"
|
|
12621
|
-
],
|
|
12622
|
-
orange: [
|
|
12623
|
-
"bg-orange-500/80 text-white backdrop-blur-xl border border-orange-400/30 hover:bg-orange-600/80"
|
|
12624
|
-
],
|
|
12625
|
-
amber: [
|
|
12626
|
-
"bg-amber-400/80 text-amber-950 backdrop-blur-xl border border-amber-300/30 hover:bg-amber-500/80"
|
|
12627
|
-
],
|
|
12628
|
-
yellow: [
|
|
12629
|
-
"bg-yellow-300/80 text-yellow-950 backdrop-blur-xl border border-yellow-200/30 hover:bg-yellow-400/80"
|
|
12630
|
-
],
|
|
12631
|
-
lime: [
|
|
12632
|
-
"bg-lime-300/80 text-lime-950 backdrop-blur-xl border border-lime-200/30 hover:bg-lime-400/80"
|
|
12633
|
-
],
|
|
12634
|
-
green: [
|
|
12635
|
-
"bg-green-600/80 text-white backdrop-blur-xl border border-green-500/30 hover:bg-green-700/80"
|
|
12636
|
-
],
|
|
12637
|
-
emerald: [
|
|
12638
|
-
"bg-emerald-600/80 text-white backdrop-blur-xl border border-emerald-500/30 hover:bg-emerald-700/80"
|
|
12639
|
-
],
|
|
12640
|
-
teal: [
|
|
12641
|
-
"bg-teal-600/80 text-white backdrop-blur-xl border border-teal-500/30 hover:bg-teal-700/80"
|
|
12642
|
-
],
|
|
12643
|
-
sky: [
|
|
12644
|
-
"bg-sky-500/80 text-white backdrop-blur-xl border border-sky-400/30 hover:bg-sky-600/80"
|
|
12645
|
-
],
|
|
12646
|
-
blue: [
|
|
12647
|
-
"bg-blue-600/80 text-white backdrop-blur-xl border border-blue-500/30 hover:bg-blue-700/80"
|
|
12648
|
-
],
|
|
12649
|
-
brand: [
|
|
12650
|
-
"bg-brand-600/80 text-white backdrop-blur-xl border border-brand-500/30 hover:bg-brand-700/80"
|
|
12651
|
-
],
|
|
12652
|
-
accent: [
|
|
12653
|
-
"bg-accent/80 text-accent-foreground backdrop-blur-xl border border-accent/30 hover:bg-accent/70"
|
|
12654
|
-
],
|
|
12655
|
-
violet: [
|
|
12656
|
-
"bg-violet-500/80 text-white backdrop-blur-xl border border-violet-400/30 hover:bg-violet-600/80"
|
|
12657
|
-
],
|
|
12658
|
-
purple: [
|
|
12659
|
-
"bg-purple-500/80 text-white backdrop-blur-xl border border-purple-400/30 hover:bg-purple-600/80"
|
|
12660
|
-
],
|
|
12661
|
-
fuchsia: [
|
|
12662
|
-
"bg-fuchsia-500/80 text-white backdrop-blur-xl border border-fuchsia-400/30 hover:bg-fuchsia-600/80"
|
|
12663
|
-
],
|
|
12664
|
-
pink: [
|
|
12665
|
-
"bg-pink-500/80 text-white backdrop-blur-xl border border-pink-400/30 hover:bg-pink-600/80"
|
|
12666
|
-
],
|
|
12667
|
-
rose: [
|
|
12668
|
-
"bg-rose-500/80 text-white backdrop-blur-xl border border-rose-400/30 hover:bg-rose-600/80"
|
|
12669
|
-
]
|
|
12670
|
-
}
|
|
12671
|
-
};
|
|
12672
|
-
var Button6 = React11.forwardRef(function Button7({
|
|
12673
|
-
color,
|
|
12674
|
-
outline,
|
|
12675
|
-
plain,
|
|
12676
|
-
className,
|
|
12677
|
-
children,
|
|
12678
|
-
loading,
|
|
12679
|
-
"aria-label": ariaLabel,
|
|
12680
|
-
"aria-describedby": ariaDescribedBy,
|
|
12681
|
-
"aria-busy": ariaBusy,
|
|
12682
|
-
...props
|
|
12683
|
-
}, ref) {
|
|
12684
|
-
const classes = clsx__default.default(
|
|
12685
|
-
className,
|
|
12686
|
-
styles2.base,
|
|
12687
|
-
outline ? styles2.outline : plain ? styles2.plain : clsx__default.default(styles2.solid, styles2.colors[color ?? "brand"])
|
|
12688
|
-
);
|
|
12689
|
-
const accessibilityProps = {
|
|
12690
|
-
"aria-label": ariaLabel,
|
|
12691
|
-
"aria-describedby": ariaDescribedBy,
|
|
12692
|
-
"aria-busy": ariaBusy || loading,
|
|
12693
|
-
...loading && { disabled: true }
|
|
12694
|
-
};
|
|
12695
|
-
return "href" in props ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
12696
|
-
Link4,
|
|
12697
|
-
{
|
|
12698
|
-
...props,
|
|
12699
|
-
...accessibilityProps,
|
|
12700
|
-
className: classes,
|
|
12701
|
-
ref,
|
|
12702
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(TouchTarget2, { children: [
|
|
12703
|
-
loading && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12704
|
-
"span",
|
|
12705
|
-
{
|
|
12706
|
-
className: "animate-spin inline-block size-4 border-2 border-current border-t-transparent rounded-full mr-2",
|
|
12707
|
-
"aria-hidden": "true"
|
|
12708
|
-
}
|
|
12709
|
-
),
|
|
12710
|
-
children
|
|
12711
|
-
] })
|
|
12712
|
-
}
|
|
12713
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
12714
|
-
Headless11__namespace.Button,
|
|
12715
|
-
{
|
|
12716
|
-
...props,
|
|
12717
|
-
...accessibilityProps,
|
|
12718
|
-
className: classes,
|
|
12719
|
-
ref,
|
|
12720
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(TouchTarget2, { children: [
|
|
12721
|
-
loading && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12722
|
-
"span",
|
|
12723
|
-
{
|
|
12724
|
-
className: "animate-spin inline-block size-4 border-2 border-current border-t-transparent rounded-full mr-2",
|
|
12725
|
-
"aria-hidden": "true"
|
|
12726
|
-
}
|
|
12727
|
-
),
|
|
12728
|
-
children
|
|
12729
|
-
] })
|
|
12730
|
-
}
|
|
12731
|
-
);
|
|
12732
|
-
});
|
|
12733
|
-
function TouchTarget2({ children }) {
|
|
12734
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12735
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12736
|
-
"span",
|
|
12737
|
-
{
|
|
12738
|
-
className: "absolute top-1/2 left-1/2 size-[max(100%,2.75rem)] -translate-x-1/2 -translate-y-1/2 pointer-fine:hidden",
|
|
12739
|
-
"aria-hidden": "true"
|
|
12740
|
-
}
|
|
12741
|
-
),
|
|
12742
|
-
children
|
|
12743
|
-
] });
|
|
12744
|
-
}
|
|
12745
|
-
function InputGroup({
|
|
12746
|
-
children
|
|
12747
|
-
}) {
|
|
12748
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12749
|
-
"span",
|
|
12750
|
-
{
|
|
12751
|
-
"data-slot": "control",
|
|
12752
|
-
className: clsx__default.default(
|
|
12753
|
-
"relative isolate block",
|
|
12754
|
-
"has-[[data-slot=icon]:first-child]:[&_input]:pl-10 has-[[data-slot=icon]:last-child]:[&_input]:pr-10 sm:has-[[data-slot=icon]:first-child]:[&_input]:pl-8 sm:has-[[data-slot=icon]:last-child]:[&_input]:pr-8",
|
|
12755
|
-
"*:data-[slot=icon]:pointer-events-none *:data-[slot=icon]:absolute *:data-[slot=icon]:top-3 *:data-[slot=icon]:z-10 *:data-[slot=icon]:size-5 sm:*:data-[slot=icon]:top-2.5 sm:*:data-[slot=icon]:size-4",
|
|
12756
|
-
"[&>[data-slot=icon]:first-child]:left-3 sm:[&>[data-slot=icon]:first-child]:left-2.5 [&>[data-slot=icon]:last-child]:right-3 sm:[&>[data-slot=icon]:last-child]:right-2.5",
|
|
12757
|
-
"*:data-[slot=icon]:text-slate-500"
|
|
12758
|
-
),
|
|
12759
|
-
children
|
|
12760
|
-
}
|
|
12761
|
-
);
|
|
12762
|
-
}
|
|
12763
|
-
var dateTypes = ["date", "datetime-local", "month", "time", "week"];
|
|
12764
|
-
React11.forwardRef(function Input4({
|
|
12765
|
-
className,
|
|
12766
|
-
"aria-label": ariaLabel,
|
|
12767
|
-
"aria-describedby": ariaDescribedBy,
|
|
12768
|
-
"aria-invalid": ariaInvalid,
|
|
12769
|
-
"aria-required": ariaRequired,
|
|
12770
|
-
required,
|
|
12771
|
-
invalid,
|
|
12772
|
-
...props
|
|
12773
|
-
}, ref) {
|
|
12774
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12775
|
-
"span",
|
|
12776
|
-
{
|
|
12777
|
-
"data-slot": "control",
|
|
12778
|
-
className: clsx__default.default([
|
|
12779
|
-
className,
|
|
12780
|
-
// Basic layout
|
|
12781
|
-
"relative block w-full",
|
|
12782
|
-
// Focus ring
|
|
12783
|
-
"after:pointer-events-none after:absolute after:inset-0 after:rounded-xl after:ring-transparent after:ring-inset sm:focus-within:after:ring-2 sm:focus-within:after:ring-indigo-500",
|
|
12784
|
-
// Disabled state
|
|
12785
|
-
"has-data-disabled:opacity-50"
|
|
12786
|
-
]),
|
|
12787
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12788
|
-
Headless11__namespace.Input,
|
|
12789
|
-
{
|
|
12790
|
-
ref,
|
|
12791
|
-
...props,
|
|
12792
|
-
"aria-label": ariaLabel,
|
|
12793
|
-
"aria-describedby": ariaDescribedBy,
|
|
12794
|
-
"aria-invalid": ariaInvalid || invalid,
|
|
12795
|
-
"aria-required": ariaRequired || required,
|
|
12796
|
-
style: {
|
|
12797
|
-
...props.style,
|
|
12798
|
-
// Override autofill with CSS custom properties
|
|
12799
|
-
"--autofill-bg": "white",
|
|
12800
|
-
"--autofill-color": "black"
|
|
12801
|
-
},
|
|
12802
|
-
className: clsx__default.default([
|
|
12803
|
-
// Date classes
|
|
12804
|
-
props.type && dateTypes.includes(props.type) && [
|
|
12805
|
-
"[&::-webkit-datetime-edit-fields-wrapper]:p-0",
|
|
12806
|
-
"[&::-webkit-date-and-time-value]:min-h-[1.5em]",
|
|
12807
|
-
"[&::-webkit-datetime-edit]:inline-flex",
|
|
12808
|
-
"[&::-webkit-datetime-edit]:p-0",
|
|
12809
|
-
"[&::-webkit-datetime-edit-year-field]:p-0",
|
|
12810
|
-
"[&::-webkit-datetime-edit-month-field]:p-0",
|
|
12811
|
-
"[&::-webkit-datetime-edit-day-field]:p-0",
|
|
12812
|
-
"[&::-webkit-datetime-edit-hour-field]:p-0",
|
|
12813
|
-
"[&::-webkit-datetime-edit-minute-field]:p-0",
|
|
12814
|
-
"[&::-webkit-datetime-edit-second-field]:p-0",
|
|
12815
|
-
"[&::-webkit-datetime-edit-millisecond-field]:p-0",
|
|
12816
|
-
"[&::-webkit-datetime-edit-meridiem-field]:p-0"
|
|
12817
|
-
],
|
|
12818
|
-
// Basic layout
|
|
12819
|
-
"relative block w-full appearance-none rounded-xl px-3 py-2.5",
|
|
12820
|
-
// Typography
|
|
12821
|
-
"text-sm text-slate-900 dark:text-white placeholder:text-slate-400 dark:placeholder:text-slate-500",
|
|
12822
|
-
// Border
|
|
12823
|
-
"border border-white/50 data-hover:border-white/70 dark:border-white/10 dark:data-hover:border-white/20",
|
|
12824
|
-
// Background color — glass surface
|
|
12825
|
-
"liquid-surface",
|
|
12826
|
-
// Hide default focus styles
|
|
12827
|
-
"focus:outline-none",
|
|
12828
|
-
// Invalid state
|
|
12829
|
-
"data-invalid:border-red-500 data-invalid:data-hover:border-red-500 dark:data-invalid:border-red-500 dark:data-invalid:data-hover:border-red-500",
|
|
12830
|
-
// Disabled state
|
|
12831
|
-
"data-disabled:border-white/30 dark:data-disabled:border-white/15 dark:data-disabled:bg-white/2.5 dark:data-hover:data-disabled:border-white/15",
|
|
12832
|
-
// System icons
|
|
12833
|
-
"dark:scheme-dark",
|
|
12834
|
-
// Autofill override styles
|
|
12835
|
-
"[&:-webkit-autofill]:!shadow-[inset_0_0_0_1000px_white] [&:-webkit-autofill]:!text-black",
|
|
12836
|
-
"[&:-webkit-autofill:hover]:!shadow-[inset_0_0_0_1000px_white] [&:-webkit-autofill:hover]:!text-black",
|
|
12837
|
-
"[&:-webkit-autofill:focus]:!shadow-[inset_0_0_0_1000px_white] [&:-webkit-autofill:focus]:!text-black",
|
|
12838
|
-
"[&:-webkit-autofill:active]:!shadow-[inset_0_0_0_1000px_white] [&:-webkit-autofill:active]:!text-black",
|
|
12839
|
-
"dark:[&:-webkit-autofill]:!shadow-[inset_0_0_0_1000px_rgb(15,23,42)] dark:[&:-webkit-autofill]:!text-slate-200",
|
|
12840
|
-
"dark:[&:-webkit-autofill:hover]:!shadow-[inset_0_0_0_1000px_rgb(15,23,42)] dark:[&:-webkit-autofill:hover]:!text-slate-200",
|
|
12841
|
-
"dark:[&:-webkit-autofill:focus]:!shadow-[inset_0_0_0_1000px_rgb(15,23,42)] dark:[&:-webkit-autofill:focus]:!text-slate-200",
|
|
12842
|
-
"dark:[&:-webkit-autofill:active]:!shadow-[inset_0_0_0_1000px_rgb(15,23,42)] dark:[&:-webkit-autofill:active]:!text-slate-200"
|
|
12843
|
-
])
|
|
12844
|
-
}
|
|
12845
|
-
)
|
|
12846
|
-
}
|
|
12847
|
-
);
|
|
12848
|
-
});
|
|
12849
|
-
var SelectContent = ({ children }) => /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
12850
|
-
var SelectItem = ({
|
|
12851
|
-
children,
|
|
12852
|
-
value
|
|
12853
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx("option", { value, children });
|
|
12854
|
-
var SelectTrigger = ({
|
|
12855
|
-
children,
|
|
12856
|
-
className
|
|
12857
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx("div", { className, children });
|
|
12858
|
-
var SelectValue = ({ placeholder }) => /* @__PURE__ */ jsxRuntime.jsx("span", { children: placeholder });
|
|
12859
|
-
React11.forwardRef(function Select4({
|
|
12860
|
-
className,
|
|
12861
|
-
multiple,
|
|
12862
|
-
...props
|
|
12863
|
-
}, ref) {
|
|
12864
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12865
|
-
"span",
|
|
12866
|
-
{
|
|
12867
|
-
"data-slot": "control",
|
|
12868
|
-
className: clsx__default.default([
|
|
12869
|
-
className,
|
|
12870
|
-
// Basic layout
|
|
12871
|
-
"group relative block w-full",
|
|
12872
|
-
// Background color + shadow applied to inset pseudo element, so shadow blends with border in light mode
|
|
12873
|
-
"before:absolute before:inset-px before:rounded-lg before:bg-white before:shadow-sm",
|
|
12874
|
-
// Background color is moved to control and shadow is removed in dark mode so hide `before` pseudo
|
|
12875
|
-
"dark:before:hidden",
|
|
12876
|
-
// Focus ring
|
|
12877
|
-
"after:pointer-events-none after:absolute after:inset-0 after:rounded-lg after:ring-transparent after:ring-inset has-data-focus:after:ring-2 has-data-focus:after:ring-blue-500",
|
|
12878
|
-
// Disabled state
|
|
12879
|
-
"has-data-disabled:opacity-50 has-data-disabled:before:bg-zinc-950/5 has-data-disabled:before:shadow-none"
|
|
12880
|
-
]),
|
|
12881
|
-
children: [
|
|
12882
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12883
|
-
Headless11__namespace.Select,
|
|
12884
|
-
{
|
|
12885
|
-
ref,
|
|
12886
|
-
multiple,
|
|
12887
|
-
...props,
|
|
12888
|
-
className: clsx__default.default([
|
|
12889
|
-
// Basic layout
|
|
12890
|
-
"relative block w-full appearance-none rounded-lg py-2.5 sm:py-1.5",
|
|
12891
|
-
// Horizontal padding
|
|
12892
|
-
multiple ? "px-3.5 sm:px-3" : "pr-10 pl-3.5 sm:pr-9 sm:pl-3",
|
|
12893
|
-
// Options (multi-select)
|
|
12894
|
-
"[&_optgroup]:font-semibold",
|
|
12895
|
-
// Typography
|
|
12896
|
-
"text-base/6 text-zinc-950 dark:text-zinc-100 placeholder:text-zinc-500 dark:placeholder:text-zinc-400 sm:text-sm/6",
|
|
12897
|
-
// Border
|
|
12898
|
-
"border border-zinc-950/10 data-hover:border-zinc-950/20 dark:border-white/10 dark:data-hover:border-white/20",
|
|
12899
|
-
// Background color
|
|
12900
|
-
"bg-transparent dark:bg-white/5 dark:*:bg-zinc-800",
|
|
12901
|
-
// Hide default focus styles
|
|
12902
|
-
"focus:outline-none",
|
|
12903
|
-
// Invalid state
|
|
12904
|
-
"data-invalid:border-red-500 data-invalid:data-hover:border-red-500 dark:data-invalid:border-red-600 dark:data-invalid:data-hover:border-red-600",
|
|
12905
|
-
// Disabled state
|
|
12906
|
-
"data-disabled:border-zinc-950/20 data-disabled:opacity-100 dark:data-disabled:border-white/15 dark:data-disabled:bg-white/2.5 dark:data-hover:data-disabled:border-white/15"
|
|
12907
|
-
])
|
|
12908
|
-
}
|
|
12909
|
-
),
|
|
12910
|
-
!multiple && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12911
|
-
"svg",
|
|
12912
|
-
{
|
|
12913
|
-
className: "size-5 stroke-zinc-500 group-has-data-disabled:stroke-zinc-600 sm:size-4 dark:stroke-zinc-400 forced-colors:stroke-[CanvasText]",
|
|
12914
|
-
viewBox: "0 0 16 16",
|
|
12915
|
-
"aria-hidden": "true",
|
|
12916
|
-
fill: "none",
|
|
12917
|
-
children: [
|
|
12918
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12919
|
-
"path",
|
|
12920
|
-
{
|
|
12921
|
-
d: "M5.75 10.75L8 13L10.25 10.75",
|
|
12922
|
-
strokeWidth: 1.5,
|
|
12923
|
-
strokeLinecap: "round",
|
|
12924
|
-
strokeLinejoin: "round"
|
|
12925
|
-
}
|
|
12926
|
-
),
|
|
12927
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12928
|
-
"path",
|
|
12929
|
-
{
|
|
12930
|
-
d: "M10.25 5.25L8 3L5.75 5.25",
|
|
12931
|
-
strokeWidth: 1.5,
|
|
12932
|
-
strokeLinecap: "round",
|
|
12933
|
-
strokeLinejoin: "round"
|
|
12934
|
-
}
|
|
12935
|
-
)
|
|
12936
|
-
]
|
|
12937
|
-
}
|
|
12938
|
-
) })
|
|
12939
|
-
]
|
|
12940
|
-
}
|
|
12941
|
-
);
|
|
12942
|
-
});
|
|
12943
|
-
var Label3 = React11__namespace.default.forwardRef(
|
|
12944
|
-
({ children, className = "", required = false, ...props }, ref) => {
|
|
12945
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12946
|
-
"label",
|
|
12947
|
-
{
|
|
12948
|
-
ref,
|
|
12949
|
-
className: `block text-sm font-medium text-slate-800 dark:text-slate-200 ${className}`,
|
|
12950
|
-
...props,
|
|
12951
|
-
children: [
|
|
12952
|
-
children,
|
|
12953
|
-
required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-red-500 ml-1", children: "*" })
|
|
12954
|
-
]
|
|
12955
|
-
}
|
|
12956
|
-
);
|
|
12957
|
-
}
|
|
12958
|
-
);
|
|
12959
|
-
Label3.displayName = "Label";
|
|
12960
|
-
function SwitchGroup({
|
|
12961
|
-
className,
|
|
12962
|
-
...props
|
|
12963
|
-
}) {
|
|
12964
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12965
|
-
"div",
|
|
12966
|
-
{
|
|
12967
|
-
"data-slot": "control",
|
|
12968
|
-
...props,
|
|
12969
|
-
className: clsx__default.default(
|
|
12970
|
-
className,
|
|
12971
|
-
// Basic groups
|
|
12972
|
-
"space-y-3 **:data-[slot=label]:font-normal",
|
|
12973
|
-
// With descriptions
|
|
12974
|
-
"has-data-[slot=description]:space-y-6 has-data-[slot=description]:**:data-[slot=label]:font-medium"
|
|
12975
|
-
)
|
|
12976
|
-
}
|
|
12977
|
-
);
|
|
12978
|
-
}
|
|
12979
|
-
function SwitchField({
|
|
12980
|
-
className,
|
|
12981
|
-
...props
|
|
12982
|
-
}) {
|
|
12983
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12984
|
-
Headless11__namespace.Field,
|
|
12985
|
-
{
|
|
12986
|
-
"data-slot": "field",
|
|
12987
|
-
...props,
|
|
12988
|
-
className: clsx__default.default(
|
|
12989
|
-
className,
|
|
12990
|
-
// Base layout
|
|
12991
|
-
"grid grid-cols-[1fr_auto] gap-x-8 gap-y-1 sm:grid-cols-[1fr_auto]",
|
|
12992
|
-
// Control layout
|
|
12993
|
-
"*:data-[slot=control]:col-start-2 *:data-[slot=control]:self-start sm:*:data-[slot=control]:mt-0.5",
|
|
12994
|
-
// Label layout
|
|
12995
|
-
"*:data-[slot=label]:col-start-1 *:data-[slot=label]:row-start-1",
|
|
12996
|
-
// Description layout
|
|
12997
|
-
"*:data-[slot=description]:col-start-1 *:data-[slot=description]:row-start-2",
|
|
12998
|
-
// With description
|
|
12999
|
-
"has-data-[slot=description]:**:data-[slot=label]:font-medium"
|
|
13000
|
-
)
|
|
13001
|
-
}
|
|
13002
|
-
);
|
|
13003
|
-
}
|
|
13004
|
-
var colors2 = {
|
|
13005
|
-
"dark/zinc": [
|
|
13006
|
-
"[--switch-bg-ring:var(--color-zinc-950)]/90 [--switch-bg:var(--color-zinc-900)] dark:[--switch-bg-ring:transparent] dark:[--switch-bg:var(--color-white)]/25",
|
|
13007
|
-
"[--switch-ring:var(--color-zinc-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white] dark:[--switch-ring:var(--color-zinc-700)]/90"
|
|
13008
|
-
],
|
|
13009
|
-
"dark/white": [
|
|
13010
|
-
"[--switch-bg-ring:var(--color-zinc-950)]/90 [--switch-bg:var(--color-zinc-900)] dark:[--switch-bg-ring:transparent] dark:[--switch-bg:var(--color-white)]",
|
|
13011
|
-
"[--switch-ring:var(--color-zinc-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white] dark:[--switch-ring:transparent] dark:[--switch:var(--color-zinc-900)]"
|
|
13012
|
-
],
|
|
13013
|
-
dark: [
|
|
13014
|
-
"[--switch-bg-ring:var(--color-zinc-950)]/90 [--switch-bg:var(--color-zinc-900)] dark:[--switch-bg-ring:var(--color-white)]/15",
|
|
13015
|
-
"[--switch-ring:var(--color-zinc-950)]/90 [--switch-shadow:var(--color-black)]/10 [--switch:white]"
|
|
13016
|
-
],
|
|
13017
|
-
zinc: [
|
|
13018
|
-
"[--switch-bg-ring:var(--color-zinc-700)]/90 [--switch-bg:var(--color-zinc-600)] dark:[--switch-bg-ring:transparent]",
|
|
13019
|
-
"[--switch-shadow:var(--color-black)]/10 [--switch:white] [--switch-ring:var(--color-zinc-700)]/90"
|
|
13020
|
-
],
|
|
13021
|
-
white: [
|
|
13022
|
-
"[--switch-bg-ring:var(--color-black)]/15 [--switch-bg:white] dark:[--switch-bg-ring:transparent]",
|
|
13023
|
-
"[--switch-shadow:var(--color-black)]/10 [--switch-ring:transparent] [--switch:var(--color-zinc-950)]"
|
|
13024
|
-
],
|
|
13025
|
-
red: [
|
|
13026
|
-
"[--switch-bg-ring:var(--color-red-700)]/90 [--switch-bg:var(--color-red-600)] dark:[--switch-bg-ring:transparent]",
|
|
13027
|
-
"[--switch:white] [--switch-ring:var(--color-red-700)]/90 [--switch-shadow:var(--color-red-900)]/20"
|
|
13028
|
-
],
|
|
13029
|
-
orange: [
|
|
13030
|
-
"[--switch-bg-ring:var(--color-orange-600)]/90 [--switch-bg:var(--color-orange-500)] dark:[--switch-bg-ring:transparent]",
|
|
13031
|
-
"[--switch:white] [--switch-ring:var(--color-orange-600)]/90 [--switch-shadow:var(--color-orange-900)]/20"
|
|
13032
|
-
],
|
|
13033
|
-
amber: [
|
|
13034
|
-
"[--switch-bg-ring:var(--color-amber-500)]/80 [--switch-bg:var(--color-amber-400)] dark:[--switch-bg-ring:transparent]",
|
|
13035
|
-
"[--switch-ring:transparent] [--switch-shadow:transparent] [--switch:var(--color-amber-950)]"
|
|
13036
|
-
],
|
|
13037
|
-
yellow: [
|
|
13038
|
-
"[--switch-bg-ring:var(--color-yellow-400)]/80 [--switch-bg:var(--color-yellow-300)] dark:[--switch-bg-ring:transparent]",
|
|
13039
|
-
"[--switch-ring:transparent] [--switch-shadow:transparent] [--switch:var(--color-yellow-950)]"
|
|
13040
|
-
],
|
|
13041
|
-
lime: [
|
|
13042
|
-
"[--switch-bg-ring:var(--color-lime-400)]/80 [--switch-bg:var(--color-lime-300)] dark:[--switch-bg-ring:transparent]",
|
|
13043
|
-
"[--switch-ring:transparent] [--switch-shadow:transparent] [--switch:var(--color-lime-950)]"
|
|
13044
|
-
],
|
|
13045
|
-
green: [
|
|
13046
|
-
"[--switch-bg-ring:var(--color-green-700)]/90 [--switch-bg:var(--color-green-600)] dark:[--switch-bg-ring:transparent]",
|
|
13047
|
-
"[--switch:white] [--switch-ring:var(--color-green-700)]/90 [--switch-shadow:var(--color-green-900)]/20"
|
|
13048
|
-
],
|
|
13049
|
-
emerald: [
|
|
13050
|
-
"[--switch-bg-ring:var(--color-emerald-600)]/90 [--switch-bg:var(--color-emerald-500)] dark:[--switch-bg-ring:transparent]",
|
|
13051
|
-
"[--switch:white] [--switch-ring:var(--color-emerald-600)]/90 [--switch-shadow:var(--color-emerald-900)]/20"
|
|
13052
|
-
],
|
|
13053
|
-
teal: [
|
|
13054
|
-
"[--switch-bg-ring:var(--color-teal-700)]/90 [--switch-bg:var(--color-teal-600)] dark:[--switch-bg-ring:transparent]",
|
|
13055
|
-
"[--switch:white] [--switch-ring:var(--color-teal-700)]/90 [--switch-shadow:var(--color-teal-900)]/20"
|
|
13056
|
-
],
|
|
13057
|
-
cyan: [
|
|
13058
|
-
"[--switch-bg-ring:var(--color-cyan-400)]/80 [--switch-bg:var(--color-cyan-300)] dark:[--switch-bg-ring:transparent]",
|
|
13059
|
-
"[--switch-ring:transparent] [--switch-shadow:transparent] [--switch:var(--color-cyan-950)]"
|
|
13060
|
-
],
|
|
13061
|
-
sky: [
|
|
13062
|
-
"[--switch-bg-ring:var(--color-sky-600)]/80 [--switch-bg:var(--color-sky-500)] dark:[--switch-bg-ring:transparent]",
|
|
13063
|
-
"[--switch:white] [--switch-ring:var(--color-sky-600)]/80 [--switch-shadow:var(--color-sky-900)]/20"
|
|
13064
|
-
],
|
|
13065
|
-
blue: [
|
|
13066
|
-
"[--switch-bg-ring:var(--color-blue-700)]/90 [--switch-bg:var(--color-blue-600)] dark:[--switch-bg-ring:transparent]",
|
|
13067
|
-
"[--switch:white] [--switch-ring:var(--color-blue-700)]/90 [--switch-shadow:var(--color-blue-900)]/20"
|
|
13068
|
-
],
|
|
13069
|
-
indigo: [
|
|
13070
|
-
"[--switch-bg-ring:var(--color-indigo-600)]/90 [--switch-bg:var(--color-indigo-500)] dark:[--switch-bg-ring:transparent]",
|
|
13071
|
-
"[--switch:white] [--switch-ring:var(--color-indigo-600)]/90 [--switch-shadow:var(--color-indigo-900)]/20"
|
|
13072
|
-
],
|
|
13073
|
-
violet: [
|
|
13074
|
-
"[--switch-bg-ring:var(--color-violet-600)]/90 [--switch-bg:var(--color-violet-500)] dark:[--switch-bg-ring:transparent]",
|
|
13075
|
-
"[--switch:white] [--switch-ring:var(--color-violet-600)]/90 [--switch-shadow:var(--color-violet-900)]/20"
|
|
13076
|
-
],
|
|
13077
|
-
purple: [
|
|
13078
|
-
"[--switch-bg-ring:var(--color-purple-600)]/90 [--switch-bg:var(--color-purple-500)] dark:[--switch-bg-ring:transparent]",
|
|
13079
|
-
"[--switch:white] [--switch-ring:var(--color-purple-600)]/90 [--switch-shadow:var(--color-purple-900)]/20"
|
|
13080
|
-
],
|
|
13081
|
-
fuchsia: [
|
|
13082
|
-
"[--switch-bg-ring:var(--color-fuchsia-600)]/90 [--switch-bg:var(--color-fuchsia-500)] dark:[--switch-bg-ring:transparent]",
|
|
13083
|
-
"[--switch:white] [--switch-ring:var(--color-fuchsia-600)]/90 [--switch-shadow:var(--color-fuchsia-900)]/20"
|
|
13084
|
-
],
|
|
13085
|
-
pink: [
|
|
13086
|
-
"[--switch-bg-ring:var(--color-pink-600)]/90 [--switch-bg:var(--color-pink-500)] dark:[--switch-bg-ring:transparent]",
|
|
13087
|
-
"[--switch:white] [--switch-ring:var(--color-pink-600)]/90 [--switch-shadow:var(--color-pink-900)]/20"
|
|
13088
|
-
],
|
|
13089
|
-
rose: [
|
|
13090
|
-
"[--switch-bg-ring:var(--color-rose-600)]/90 [--switch-bg:var(--color-rose-500)] dark:[--switch-bg-ring:transparent]",
|
|
13091
|
-
"[--switch:white] [--switch-ring:var(--color-rose-600)]/90 [--switch-shadow:var(--color-rose-900)]/20"
|
|
13092
|
-
]
|
|
13093
|
-
};
|
|
13094
|
-
function Switch2({
|
|
13095
|
-
color = "dark/zinc",
|
|
13096
|
-
className,
|
|
13097
|
-
...props
|
|
13098
|
-
}) {
|
|
13099
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13100
|
-
Headless11__namespace.Switch,
|
|
13101
|
-
{
|
|
13102
|
-
"data-slot": "control",
|
|
13103
|
-
...props,
|
|
13104
|
-
className: clsx__default.default(
|
|
13105
|
-
className,
|
|
13106
|
-
// Base styles
|
|
13107
|
-
"group relative isolate inline-flex h-6 w-10 cursor-default rounded-full p-[3px] sm:h-5 sm:w-8",
|
|
13108
|
-
// Transitions
|
|
13109
|
-
"transition duration-0 ease-in-out data-changing:duration-200",
|
|
13110
|
-
// Outline and background color in forced-colors mode so switch is still visible
|
|
13111
|
-
"forced-colors:outline forced-colors:[--switch-bg:Highlight] dark:forced-colors:[--switch-bg:Highlight]",
|
|
13112
|
-
// Unchecked
|
|
13113
|
-
"bg-zinc-200 ring-1 ring-black/5 ring-inset dark:bg-white/5 dark:ring-white/15",
|
|
13114
|
-
// Checked
|
|
13115
|
-
"data-checked:bg-(--switch-bg) data-checked:ring-(--switch-bg-ring) dark:data-checked:bg-(--switch-bg) dark:data-checked:ring-(--switch-bg-ring)",
|
|
13116
|
-
// Focus
|
|
13117
|
-
"focus:not-data-focus:outline-hidden data-focus:outline-2 data-focus:outline-offset-2 data-focus:outline-blue-500",
|
|
13118
|
-
// Hover
|
|
13119
|
-
"data-hover:ring-black/15 data-hover:data-checked:ring-(--switch-bg-ring)",
|
|
13120
|
-
"dark:data-hover:ring-white/25 dark:data-hover:data-checked:ring-(--switch-bg-ring)",
|
|
13121
|
-
// Disabled
|
|
13122
|
-
"data-disabled:bg-zinc-200 data-disabled:opacity-50 data-disabled:data-checked:bg-zinc-200 data-disabled:data-checked:ring-black/5",
|
|
13123
|
-
"dark:data-disabled:bg-white/15 dark:data-disabled:data-checked:bg-white/15 dark:data-disabled:data-checked:ring-white/15",
|
|
13124
|
-
// Color specific styles
|
|
13125
|
-
colors2[color]
|
|
13126
|
-
),
|
|
13127
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13128
|
-
"span",
|
|
13129
|
-
{
|
|
13130
|
-
"aria-hidden": "true",
|
|
13131
|
-
className: clsx__default.default(
|
|
13132
|
-
// Basic layout
|
|
13133
|
-
"pointer-events-none relative inline-block size-4.5 rounded-full sm:size-3.5",
|
|
13134
|
-
// Transition
|
|
13135
|
-
"translate-x-0 transition duration-200 ease-in-out",
|
|
13136
|
-
// Invisible border so the switch is still visible in forced-colors mode
|
|
13137
|
-
"border border-transparent",
|
|
13138
|
-
// Unchecked
|
|
13139
|
-
"bg-white shadow-sm ring-1 ring-black/5",
|
|
13140
|
-
// Checked
|
|
13141
|
-
"group-data-checked:bg-(--switch) group-data-checked:shadow-(--switch-shadow) group-data-checked:ring-(--switch-ring)",
|
|
13142
|
-
"group-data-checked:translate-x-4 sm:group-data-checked:translate-x-3",
|
|
13143
|
-
// Disabled
|
|
13144
|
-
"group-data-checked:group-data-disabled:bg-white group-data-checked:group-data-disabled:shadow-sm group-data-checked:group-data-disabled:ring-black/5"
|
|
13145
|
-
)
|
|
13146
|
-
}
|
|
13147
|
-
)
|
|
13148
|
-
}
|
|
13149
|
-
);
|
|
13150
|
-
}
|
|
13151
|
-
function DropdownButton({
|
|
13152
|
-
as = Button6,
|
|
13153
|
-
...props
|
|
13154
|
-
}) {
|
|
13155
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Headless11__namespace.MenuButton, { as, ...props });
|
|
13156
|
-
}
|
|
13157
|
-
function DropdownMenu({
|
|
13158
|
-
anchor = "bottom",
|
|
13159
|
-
className,
|
|
13160
|
-
...props
|
|
13161
|
-
}) {
|
|
13162
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13163
|
-
Headless11__namespace.MenuItems,
|
|
13164
|
-
{
|
|
13165
|
-
...props,
|
|
13166
|
-
transition: true,
|
|
13167
|
-
anchor,
|
|
13168
|
-
className: clsx__default.default(
|
|
13169
|
-
className,
|
|
13170
|
-
// Anchor positioning
|
|
13171
|
-
"[--anchor-gap:--spacing(2)] [--anchor-padding:--spacing(1)] data-[anchor~=end]:[--anchor-offset:6px] data-[anchor~=start]:[--anchor-offset:-6px] sm:data-[anchor~=end]:[--anchor-offset:4px] sm:data-[anchor~=start]:[--anchor-offset:-4px]",
|
|
13172
|
-
// Base styles
|
|
13173
|
-
"isolate w-max rounded-xl p-1",
|
|
13174
|
-
// Invisible border that is only visible in `forced-colors` mode for accessibility purposes
|
|
13175
|
-
"outline outline-transparent focus:outline-hidden",
|
|
13176
|
-
// Handle scrolling when menu won't fit in viewport
|
|
13177
|
-
"overflow-y-auto",
|
|
13178
|
-
// Popover background
|
|
13179
|
-
"bg-white/75 backdrop-blur-xl dark:bg-zinc-800/75",
|
|
13180
|
-
// Shadows
|
|
13181
|
-
"shadow-lg ring-1 ring-zinc-950/10 dark:ring-white/10 dark:ring-inset",
|
|
13182
|
-
// Define grid at the menu level if subgrid is supported
|
|
13183
|
-
"supports-[grid-template-columns:subgrid]:grid supports-[grid-template-columns:subgrid]:grid-cols-[auto_1fr_1.5rem_0.5rem_auto]",
|
|
13184
|
-
// Transitions
|
|
13185
|
-
"transition data-leave:duration-100 data-leave:ease-in data-closed:data-leave:opacity-0"
|
|
13186
|
-
)
|
|
13187
|
-
}
|
|
13188
|
-
);
|
|
13189
|
-
}
|
|
13190
|
-
function DropdownItem({
|
|
13191
|
-
className,
|
|
13192
|
-
...props
|
|
13193
|
-
}) {
|
|
13194
|
-
const classes = clsx__default.default(
|
|
13195
|
-
className,
|
|
13196
|
-
// Base styles
|
|
13197
|
-
"group cursor-default rounded-lg px-3.5 py-2.5 focus:outline-hidden sm:px-3 sm:py-1.5",
|
|
13198
|
-
// Text styles
|
|
13199
|
-
"text-left text-base/6 text-zinc-950 sm:text-sm/6 dark:text-white forced-colors:text-[CanvasText]",
|
|
13200
|
-
// Focus
|
|
13201
|
-
"data-focus:bg-blue-500 data-focus:text-white",
|
|
13202
|
-
// Disabled state
|
|
13203
|
-
"data-disabled:opacity-50",
|
|
13204
|
-
// Forced colors mode
|
|
13205
|
-
"forced-color-adjust-none forced-colors:data-focus:bg-[Highlight] forced-colors:data-focus:text-[HighlightText] forced-colors:data-focus:*:data-[slot=icon]:text-[HighlightText]",
|
|
13206
|
-
// Use subgrid when available but fallback to an explicit grid layout if not
|
|
13207
|
-
"col-span-full grid grid-cols-[auto_1fr_1.5rem_0.5rem_auto] items-center supports-[grid-template-columns:subgrid]:grid-cols-subgrid",
|
|
13208
|
-
// Icons
|
|
13209
|
-
"*:data-[slot=icon]:col-start-1 *:data-[slot=icon]:row-start-1 *:data-[slot=icon]:mr-2.5 *:data-[slot=icon]:-ml-0.5 *:data-[slot=icon]:size-5 sm:*:data-[slot=icon]:mr-2 sm:*:data-[slot=icon]:size-4",
|
|
13210
|
-
"*:data-[slot=icon]:text-zinc-500 data-focus:*:data-[slot=icon]:text-white dark:*:data-[slot=icon]:text-zinc-400 dark:data-focus:*:data-[slot=icon]:text-white",
|
|
13211
|
-
// Avatar
|
|
13212
|
-
"*:data-[slot=avatar]:mr-2.5 *:data-[slot=avatar]:-ml-1 *:data-[slot=avatar]:size-6 sm:*:data-[slot=avatar]:mr-2 sm:*:data-[slot=avatar]:size-5"
|
|
13213
|
-
);
|
|
13214
|
-
return "href" in props ? /* @__PURE__ */ jsxRuntime.jsx(Headless11__namespace.MenuItem, { as: Link4, ...props, className: classes }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
13215
|
-
Headless11__namespace.MenuItem,
|
|
13216
|
-
{
|
|
13217
|
-
as: "button",
|
|
13218
|
-
type: "button",
|
|
13219
|
-
...props,
|
|
13220
|
-
className: classes
|
|
13221
|
-
}
|
|
13222
|
-
);
|
|
13223
|
-
}
|
|
13224
|
-
function DropdownHeader({
|
|
13225
|
-
className,
|
|
13226
|
-
...props
|
|
13227
|
-
}) {
|
|
13228
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13229
|
-
"div",
|
|
13230
|
-
{
|
|
13231
|
-
...props,
|
|
13232
|
-
className: clsx__default.default(className, "col-span-5 px-3.5 pt-2.5 pb-1 sm:px-3")
|
|
13233
|
-
}
|
|
13234
|
-
);
|
|
13235
|
-
}
|
|
13236
|
-
function DropdownSection({
|
|
13237
|
-
className,
|
|
13238
|
-
...props
|
|
13239
|
-
}) {
|
|
13240
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13241
|
-
Headless11__namespace.MenuSection,
|
|
13242
|
-
{
|
|
13243
|
-
...props,
|
|
13244
|
-
className: clsx__default.default(
|
|
13245
|
-
className,
|
|
13246
|
-
// Define grid at the section level instead of the item level if subgrid is supported
|
|
13247
|
-
"col-span-full supports-[grid-template-columns:subgrid]:grid supports-[grid-template-columns:subgrid]:grid-cols-[auto_1fr_1.5rem_0.5rem_auto]"
|
|
13248
|
-
)
|
|
13249
|
-
}
|
|
13250
|
-
);
|
|
13251
|
-
}
|
|
13252
|
-
function DropdownHeading({
|
|
13253
|
-
className,
|
|
13254
|
-
...props
|
|
13255
|
-
}) {
|
|
13256
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13257
|
-
Headless11__namespace.MenuHeading,
|
|
13258
|
-
{
|
|
13259
|
-
...props,
|
|
13260
|
-
className: clsx__default.default(
|
|
13261
|
-
className,
|
|
13262
|
-
"col-span-full grid grid-cols-[1fr_auto] gap-x-12 px-3.5 pt-2 pb-1 text-sm/5 font-medium text-zinc-500 sm:px-3 sm:text-xs/5 dark:text-zinc-400"
|
|
13263
|
-
)
|
|
13264
|
-
}
|
|
13265
|
-
);
|
|
13266
|
-
}
|
|
13267
|
-
function DropdownDivider({
|
|
13268
|
-
className,
|
|
13269
|
-
...props
|
|
13270
|
-
}) {
|
|
13271
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13272
|
-
Headless11__namespace.MenuSeparator,
|
|
13273
|
-
{
|
|
13274
|
-
...props,
|
|
13275
|
-
className: clsx__default.default(
|
|
13276
|
-
className,
|
|
13277
|
-
"col-span-full mx-3.5 my-1 h-px border-0 bg-zinc-950/5 sm:mx-3 dark:bg-white/10 forced-colors:bg-[CanvasText]"
|
|
13278
|
-
)
|
|
13279
|
-
}
|
|
13280
|
-
);
|
|
13281
|
-
}
|
|
13282
|
-
function DropdownLabel({
|
|
13283
|
-
className,
|
|
13284
|
-
...props
|
|
13285
|
-
}) {
|
|
13286
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13287
|
-
"div",
|
|
13288
|
-
{
|
|
13289
|
-
...props,
|
|
13290
|
-
"data-slot": "label",
|
|
13291
|
-
className: clsx__default.default(className, "col-start-2 row-start-1"),
|
|
13292
|
-
...props
|
|
13293
|
-
}
|
|
13294
|
-
);
|
|
13295
|
-
}
|
|
13296
|
-
function DropdownDescription({
|
|
13297
|
-
className,
|
|
13298
|
-
...props
|
|
13299
|
-
}) {
|
|
13300
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13301
|
-
Headless11__namespace.Description,
|
|
13302
|
-
{
|
|
13303
|
-
"data-slot": "description",
|
|
13304
|
-
...props,
|
|
13305
|
-
className: clsx__default.default(
|
|
13306
|
-
className,
|
|
13307
|
-
"col-span-2 col-start-2 row-start-2 text-sm/5 text-zinc-500 group-data-focus:text-white sm:text-xs/5 dark:text-zinc-400 forced-colors:group-data-focus:text-[HighlightText]"
|
|
13308
|
-
)
|
|
13309
|
-
}
|
|
13310
|
-
);
|
|
13311
|
-
}
|
|
13312
|
-
function DropdownShortcut({
|
|
13313
|
-
keys,
|
|
13314
|
-
className,
|
|
13315
|
-
...props
|
|
13316
|
-
}) {
|
|
13317
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13318
|
-
Headless11__namespace.Description,
|
|
13319
|
-
{
|
|
13320
|
-
as: "kbd",
|
|
13321
|
-
...props,
|
|
13322
|
-
className: clsx__default.default(
|
|
13323
|
-
className,
|
|
13324
|
-
"col-start-5 row-start-1 flex justify-self-end"
|
|
13325
|
-
),
|
|
13326
|
-
children: (Array.isArray(keys) ? keys : keys.split("")).map((char, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
13327
|
-
"kbd",
|
|
13328
|
-
{
|
|
13329
|
-
className: clsx__default.default([
|
|
13330
|
-
"min-w-[2ch] text-center font-sans text-zinc-400 capitalize group-data-focus:text-white forced-colors:group-data-focus:text-[HighlightText]",
|
|
13331
|
-
// Make sure key names that are longer than one character (like "Tab") have extra space
|
|
13332
|
-
index > 0 && char.length > 1 && "pl-1"
|
|
13333
|
-
]),
|
|
13334
|
-
children: char
|
|
13335
|
-
},
|
|
13336
|
-
index
|
|
13337
|
-
))
|
|
13338
|
-
}
|
|
13339
|
-
);
|
|
13340
|
-
}
|
|
13341
|
-
var Card2 = React11.memo(function Card3({
|
|
13342
|
-
children,
|
|
13343
|
-
className,
|
|
13344
|
-
padding = "md",
|
|
13345
|
-
variant = "default",
|
|
13346
|
-
hover = false,
|
|
13347
|
-
loading = false,
|
|
13348
|
-
onClick
|
|
13349
|
-
}) {
|
|
13350
|
-
const paddingClasses = {
|
|
13351
|
-
none: "",
|
|
13352
|
-
sm: "p-3 sm:p-4",
|
|
13353
|
-
md: "p-4 sm:p-6",
|
|
13354
|
-
lg: "p-6 sm:p-8"
|
|
13355
|
-
};
|
|
13356
|
-
const variantClasses2 = {
|
|
13357
|
-
default: "liquid-surface border border-white/30 dark:border-white/10",
|
|
13358
|
-
elevated: "liquid-surface-strong border border-white/30 dark:border-white/10",
|
|
13359
|
-
outlined: "bg-transparent border-2 border-white/30 dark:border-white/10 backdrop-blur-sm",
|
|
13360
|
-
flat: "liquid-surface"
|
|
13361
|
-
};
|
|
13362
|
-
const hoverClasses = hover || onClick ? "hover:shadow-md transition-shadow duration-200" : "";
|
|
13363
|
-
const clickableClasses = onClick ? "cursor-pointer" : "";
|
|
13364
|
-
const loadingClasses = loading ? "opacity-75 pointer-events-none" : "";
|
|
13365
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13366
|
-
"div",
|
|
13367
|
-
{
|
|
13368
|
-
role: onClick ? "button" : void 0,
|
|
13369
|
-
tabIndex: onClick ? 0 : void 0,
|
|
13370
|
-
className: clsx__default.default(
|
|
13371
|
-
"rounded-2xl",
|
|
13372
|
-
variantClasses2[variant],
|
|
13373
|
-
paddingClasses[padding],
|
|
13374
|
-
hoverClasses,
|
|
13375
|
-
clickableClasses,
|
|
13376
|
-
loadingClasses,
|
|
13377
|
-
className
|
|
13378
|
-
),
|
|
13379
|
-
onClick,
|
|
13380
|
-
onKeyDown: onClick ? (e) => {
|
|
13381
|
-
if (e.key === "Enter" || e.key === " ") {
|
|
13382
|
-
e.preventDefault();
|
|
13383
|
-
onClick();
|
|
13384
|
-
}
|
|
13385
|
-
} : void 0,
|
|
13386
|
-
children
|
|
13387
|
-
}
|
|
13388
|
-
);
|
|
13389
|
-
});
|
|
13390
|
-
var CardHeader2 = React11.memo(function CardHeader3({
|
|
13391
|
-
title,
|
|
13392
|
-
subtitle,
|
|
13393
|
-
actions,
|
|
13394
|
-
className,
|
|
13395
|
-
children
|
|
13396
|
-
}) {
|
|
13397
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx__default.default("mb-4", className), children: [
|
|
13398
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2", children: [
|
|
13399
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
13400
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-slate-900 dark:text-slate-100 truncate", children: title }),
|
|
13401
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-slate-600 dark:text-slate-400 line-clamp-2", children: subtitle })
|
|
13402
|
-
] }),
|
|
13403
|
-
actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 flex items-center gap-2", children: actions })
|
|
13404
|
-
] }),
|
|
13405
|
-
children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3", children })
|
|
13406
|
-
] });
|
|
13407
|
-
});
|
|
13408
|
-
var CardTitle2 = React11.memo(function CardTitle3({
|
|
13409
|
-
children,
|
|
13410
|
-
className
|
|
13411
|
-
}) {
|
|
13412
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13413
|
-
"h3",
|
|
13414
|
-
{
|
|
13415
|
-
className: clsx__default.default(
|
|
13416
|
-
"text-lg font-semibold text-slate-900 dark:text-slate-100",
|
|
13417
|
-
className
|
|
13418
|
-
),
|
|
13419
|
-
children
|
|
13420
|
-
}
|
|
13421
|
-
);
|
|
13422
|
-
});
|
|
13423
|
-
var CardDescription2 = React11.memo(function CardDescription3({
|
|
13424
|
-
children,
|
|
13425
|
-
className
|
|
13426
|
-
}) {
|
|
13427
|
-
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: clsx__default.default("text-sm text-slate-600 dark:text-slate-400", className), children });
|
|
13428
|
-
});
|
|
13429
|
-
var CardContent2 = React11.memo(function CardContent3({
|
|
13430
|
-
children,
|
|
13431
|
-
className
|
|
13432
|
-
}) {
|
|
13433
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx__default.default("text-slate-600 dark:text-slate-400", className), children });
|
|
13434
|
-
});
|
|
13435
|
-
var CardFooter2 = React11.memo(function CardFooter3({
|
|
13436
|
-
children,
|
|
13437
|
-
className,
|
|
13438
|
-
justify = "end"
|
|
13439
|
-
}) {
|
|
13440
|
-
const justifyClasses = {
|
|
13441
|
-
start: "justify-start",
|
|
13442
|
-
center: "justify-center",
|
|
13443
|
-
end: "justify-end",
|
|
13444
|
-
between: "justify-between"
|
|
13445
|
-
};
|
|
13446
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13447
|
-
"div",
|
|
13448
|
-
{
|
|
13449
|
-
className: clsx__default.default(
|
|
13450
|
-
"mt-4 pt-4 border-t border-white/30 dark:border-white/10 flex items-center gap-2",
|
|
13451
|
-
justifyClasses[justify],
|
|
13452
|
-
className
|
|
13453
|
-
),
|
|
13454
|
-
children
|
|
13455
|
-
}
|
|
13456
|
-
);
|
|
13457
|
-
});
|
|
13458
|
-
var StatCard2 = React11.memo(function StatCard3({
|
|
13459
|
-
title,
|
|
13460
|
-
value,
|
|
13461
|
-
subtitle,
|
|
13462
|
-
icon,
|
|
13463
|
-
trend,
|
|
13464
|
-
loading = false,
|
|
13465
|
-
className
|
|
13466
|
-
}) {
|
|
13467
|
-
const trendColors = {
|
|
13468
|
-
up: "text-green-600 dark:text-green-400",
|
|
13469
|
-
down: "text-red-600 dark:text-red-400",
|
|
13470
|
-
neutral: "text-slate-600 dark:text-slate-400"
|
|
13471
|
-
};
|
|
13472
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Card2, { variant: "elevated", hover: true, className, loading, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start", children: [
|
|
13473
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 mr-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-12 h-12 rounded-lg bg-white/20 dark:bg-white/[0.08] flex items-center justify-center", children: icon }) }),
|
|
13474
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
13475
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium text-slate-600 dark:text-slate-400 truncate", children: title }),
|
|
13476
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1 flex items-baseline", children: [
|
|
13477
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold text-slate-900 dark:text-slate-100", children: loading ? "..." : value }),
|
|
13478
|
-
trend && !loading && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13479
|
-
"div",
|
|
13480
|
-
{
|
|
13481
|
-
className: clsx__default.default(
|
|
13482
|
-
"ml-2 flex items-center text-sm",
|
|
13483
|
-
trendColors[trend.direction]
|
|
13484
|
-
),
|
|
13485
|
-
children: [
|
|
13486
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: trend.direction === "up" ? "\u2197" : trend.direction === "down" ? "\u2198" : "\u2192" }),
|
|
13487
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ml-1", children: [
|
|
13488
|
-
trend.value,
|
|
13489
|
-
"%"
|
|
13490
|
-
] })
|
|
13491
|
-
]
|
|
13492
|
-
}
|
|
13493
|
-
)
|
|
13494
|
-
] }),
|
|
13495
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-slate-600 dark:text-slate-400", children: subtitle }),
|
|
13496
|
-
trend && !loading && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-xs text-slate-500 dark:text-slate-500", children: trend.label })
|
|
13497
|
-
] })
|
|
13498
|
-
] }) });
|
|
13499
|
-
});
|
|
13500
|
-
var Progress = React11__namespace.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
13501
|
-
ProgressPrimitive__namespace.Root,
|
|
13502
|
-
{
|
|
13503
|
-
ref,
|
|
13504
|
-
className: clsx__default.default(
|
|
13505
|
-
"relative h-4 w-full overflow-hidden rounded-full bg-secondary",
|
|
13506
|
-
className
|
|
13507
|
-
),
|
|
13508
|
-
...props,
|
|
13509
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13510
|
-
ProgressPrimitive__namespace.Indicator,
|
|
13511
|
-
{
|
|
13512
|
-
className: "h-full w-full flex-1 bg-primary transition-all",
|
|
13513
|
-
style: { transform: `translateX(-${100 - (value || 0)}%)` }
|
|
13514
|
-
}
|
|
13515
|
-
)
|
|
13516
|
-
}
|
|
13517
|
-
));
|
|
13518
|
-
Progress.displayName = ProgressPrimitive__namespace.Root.displayName;
|
|
13519
|
-
function validatePasswordStrength(password) {
|
|
13520
|
-
return {
|
|
13521
|
-
minLength: password.length >= 8,
|
|
13522
|
-
hasUppercase: /[A-Z]/.test(password),
|
|
13523
|
-
hasLowercase: /[a-z]/.test(password),
|
|
13524
|
-
hasNumber: /\d/.test(password),
|
|
13525
|
-
hasSpecial: /[!@#$%^&*()_+\-=]/.test(password)
|
|
13526
|
-
};
|
|
13527
|
-
}
|
|
13528
|
-
function RequirementCheck({
|
|
13529
|
-
met,
|
|
13530
|
-
label
|
|
13531
|
-
}) {
|
|
13532
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex items-center gap-1.5 text-xs", children: [
|
|
13533
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13534
|
-
"span",
|
|
13535
|
-
{
|
|
13536
|
-
className: `flex-shrink-0 w-3.5 h-3.5 rounded-full flex items-center justify-center text-[10px] font-bold ${met ? "bg-emerald-500 text-white" : "bg-slate-200 dark:bg-slate-700 text-slate-400 dark:text-slate-500"}`,
|
|
13537
|
-
children: met ? "\u2713" : ""
|
|
13538
|
-
}
|
|
13539
|
-
),
|
|
13540
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13541
|
-
"span",
|
|
13542
|
-
{
|
|
13543
|
-
className: met ? "text-emerald-600 dark:text-emerald-400" : "text-slate-500 dark:text-slate-400",
|
|
13544
|
-
children: label
|
|
13545
|
-
}
|
|
13546
|
-
)
|
|
13547
|
-
] });
|
|
13548
|
-
}
|
|
13549
|
-
var PasswordInput2 = React11.forwardRef(
|
|
13550
|
-
function PasswordInput3({ className = "", variant = "default", showStrength = false, onChange, ...props }, ref) {
|
|
13551
|
-
const [showPassword, setShowPassword] = React11.useState(false);
|
|
13552
|
-
const [internalValue, setInternalValue] = React11.useState("");
|
|
13553
|
-
const t = nextIntl.useTranslations();
|
|
13554
|
-
const handleChange = (e) => {
|
|
13555
|
-
setInternalValue(e.target.value);
|
|
13556
|
-
onChange?.(e);
|
|
13557
|
-
};
|
|
13558
|
-
const strength = React11.useMemo(
|
|
13559
|
-
() => validatePasswordStrength(internalValue),
|
|
13560
|
-
[internalValue]
|
|
13561
|
-
);
|
|
13562
|
-
const metCount = React11.useMemo(() => {
|
|
13563
|
-
const checks = Object.values(strength);
|
|
13564
|
-
return checks.filter(Boolean).length;
|
|
13565
|
-
}, [strength]);
|
|
13566
|
-
const strengthLevel = React11.useMemo(() => {
|
|
13567
|
-
if (metCount <= 2) return "weak";
|
|
13568
|
-
if (metCount <= 4) return "medium";
|
|
13569
|
-
return "strong";
|
|
13570
|
-
}, [metCount]);
|
|
13571
|
-
const strengthBarColor = {
|
|
13572
|
-
weak: "bg-red-500",
|
|
13573
|
-
medium: "bg-amber-500",
|
|
13574
|
-
strong: "bg-emerald-500"
|
|
13575
|
-
}[strengthLevel];
|
|
13576
|
-
const strengthBarWidth = {
|
|
13577
|
-
weak: "w-1/3",
|
|
13578
|
-
medium: "w-2/3",
|
|
13579
|
-
strong: "w-full"
|
|
13580
|
-
}[strengthLevel];
|
|
13581
|
-
const baseInputClasses = variant === "apple" ? "w-full px-4 py-3 pr-12 text-[17px] bg-white/60 dark:bg-white/10 backdrop-blur-xl border border-white/30 dark:border-white/20 text-slate-900 dark:text-white placeholder-slate-400 dark:placeholder-slate-500 rounded-xl focus:outline-none focus:ring-2 focus:ring-indigo-500 transition-all" : "w-full px-4 py-3.5 pr-12 text-base rounded-xl border transition-all duration-300 bg-white/60 dark:bg-white/10 backdrop-blur-xl border-white/30 dark:border-white/20 text-slate-900 dark:text-white placeholder-slate-400 dark:placeholder-slate-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent";
|
|
13582
|
-
const buttonClasses = variant === "apple" ? "absolute top-1/2 -translate-y-1/2 right-3 p-1.5 hover:bg-white/30 dark:hover:bg-white/[0.08] rounded-lg transition-colors" : "absolute top-1/2 -translate-y-1/2 right-3 p-2 hover:bg-white/30 dark:hover:bg-white/[0.08] rounded-lg transition-all duration-200";
|
|
13583
|
-
const iconClasses = variant === "apple" ? "h-5 w-5 text-slate-400 dark:text-slate-400" : "h-5 w-5 text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200";
|
|
13584
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
13585
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
13586
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13587
|
-
"input",
|
|
13588
|
-
{
|
|
13589
|
-
ref,
|
|
13590
|
-
type: showPassword ? "text" : "password",
|
|
13591
|
-
className: `${baseInputClasses} ${className}`,
|
|
13592
|
-
onChange: handleChange,
|
|
13593
|
-
...props
|
|
13594
|
-
}
|
|
13595
|
-
),
|
|
13596
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13597
|
-
"button",
|
|
13598
|
-
{
|
|
13599
|
-
type: "button",
|
|
13600
|
-
onClick: () => setShowPassword(!showPassword),
|
|
13601
|
-
className: buttonClasses,
|
|
13602
|
-
"aria-label": showPassword ? t("aria.hidePassword") : t("aria.showPassword"),
|
|
13603
|
-
children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.EyeSlashIcon, { className: iconClasses }) : /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.EyeIcon, { className: iconClasses })
|
|
13604
|
-
}
|
|
13605
|
-
)
|
|
13606
|
-
] }),
|
|
13607
|
-
showStrength && internalValue.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 space-y-2", children: [
|
|
13608
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
13609
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 h-1.5 bg-slate-200 dark:bg-slate-700 rounded-full overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13610
|
-
"div",
|
|
13611
|
-
{
|
|
13612
|
-
className: `h-full rounded-full transition-all duration-300 ${strengthBarColor} ${strengthBarWidth}`
|
|
13613
|
-
}
|
|
13614
|
-
) }),
|
|
13615
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13616
|
-
"span",
|
|
13617
|
-
{
|
|
13618
|
-
className: `text-xs font-medium ${strengthLevel === "weak" ? "text-red-500" : strengthLevel === "medium" ? "text-amber-500" : "text-emerald-500"}`,
|
|
13619
|
-
children: t(`login.passwordStrength.${strengthLevel}`)
|
|
13620
|
-
}
|
|
13621
|
-
)
|
|
13622
|
-
] }),
|
|
13623
|
-
/* @__PURE__ */ jsxRuntime.jsxs("ul", { className: "space-y-1", children: [
|
|
13624
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13625
|
-
RequirementCheck,
|
|
13626
|
-
{
|
|
13627
|
-
met: strength.minLength,
|
|
13628
|
-
label: t("login.passwordRequirements.minLength")
|
|
13629
|
-
}
|
|
13630
|
-
),
|
|
13631
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13632
|
-
RequirementCheck,
|
|
13633
|
-
{
|
|
13634
|
-
met: strength.hasUppercase,
|
|
13635
|
-
label: t("login.passwordRequirements.uppercase")
|
|
13636
|
-
}
|
|
13637
|
-
),
|
|
13638
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13639
|
-
RequirementCheck,
|
|
13640
|
-
{
|
|
13641
|
-
met: strength.hasLowercase,
|
|
13642
|
-
label: t("login.passwordRequirements.lowercase")
|
|
13643
|
-
}
|
|
13644
|
-
),
|
|
13645
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13646
|
-
RequirementCheck,
|
|
13647
|
-
{
|
|
13648
|
-
met: strength.hasNumber,
|
|
13649
|
-
label: t("login.passwordRequirements.number")
|
|
13650
|
-
}
|
|
13651
|
-
),
|
|
13652
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13653
|
-
RequirementCheck,
|
|
13654
|
-
{
|
|
13655
|
-
met: strength.hasSpecial,
|
|
13656
|
-
label: t("login.passwordRequirements.special")
|
|
13657
|
-
}
|
|
13658
|
-
)
|
|
13659
|
-
] })
|
|
13660
|
-
] })
|
|
13661
|
-
] });
|
|
13662
|
-
}
|
|
13663
|
-
);
|
|
13664
|
-
var Tabs = TabsPrimitive__namespace.Root;
|
|
13665
|
-
var TabsList = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
13666
|
-
TabsPrimitive__namespace.List,
|
|
13667
|
-
{
|
|
13668
|
-
ref,
|
|
13669
|
-
className: clsx__default.default(
|
|
13670
|
-
"inline-flex h-9 items-center justify-center rounded-lg bg-muted/50 p-0.5 text-muted-foreground",
|
|
13671
|
-
className
|
|
13672
|
-
),
|
|
13673
|
-
...props
|
|
13674
|
-
}
|
|
13675
|
-
));
|
|
13676
|
-
TabsList.displayName = TabsPrimitive__namespace.List.displayName;
|
|
13677
|
-
var TabsTrigger = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
13678
|
-
TabsPrimitive__namespace.Trigger,
|
|
13679
|
-
{
|
|
13680
|
-
ref,
|
|
13681
|
-
className: clsx__default.default(
|
|
13682
|
-
"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",
|
|
13683
|
-
className
|
|
13684
|
-
),
|
|
13685
|
-
...props
|
|
13686
|
-
}
|
|
13687
|
-
));
|
|
13688
|
-
TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
|
|
13689
|
-
var TabsContent = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
13690
|
-
TabsPrimitive__namespace.Content,
|
|
13691
|
-
{
|
|
13692
|
-
ref,
|
|
13693
|
-
className: clsx__default.default(
|
|
13694
|
-
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
13695
|
-
className
|
|
13696
|
-
),
|
|
13697
|
-
...props
|
|
13698
|
-
}
|
|
13699
|
-
));
|
|
13700
|
-
TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
|
|
13701
|
-
var SliderInput = ({
|
|
13702
|
-
id,
|
|
13703
|
-
label,
|
|
13704
|
-
value,
|
|
13705
|
-
onChange,
|
|
13706
|
-
min,
|
|
13707
|
-
max,
|
|
13708
|
-
step,
|
|
13709
|
-
suffix = "",
|
|
13710
|
-
tooltip,
|
|
13711
|
-
formatDisplay,
|
|
13712
|
-
showValue = true
|
|
13713
|
-
}) => {
|
|
13714
|
-
const tAria = nextIntl.useTranslations("aria");
|
|
13715
|
-
const tCommon = nextIntl.useTranslations("common");
|
|
13716
|
-
const [showTooltip, setShowTooltip] = React11.useState(false);
|
|
13717
|
-
const safeValue = typeof value === "number" && !isNaN(value) ? value : min;
|
|
13718
|
-
const percentage = (safeValue - min) / (max - min) * 100;
|
|
13719
|
-
const displayValue = formatDisplay ? formatDisplay(safeValue) : safeValue.toFixed(step < 1 ? 2 : 0);
|
|
13720
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
13721
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
13722
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
13723
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13724
|
-
"label",
|
|
13725
|
-
{
|
|
13726
|
-
htmlFor: id,
|
|
13727
|
-
className: "text-sm font-medium text-zinc-700 dark:text-zinc-300",
|
|
13728
|
-
children: label
|
|
13729
|
-
}
|
|
13730
|
-
),
|
|
13731
|
-
tooltip && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
13732
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13733
|
-
"button",
|
|
13734
|
-
{
|
|
13735
|
-
type: "button",
|
|
13736
|
-
onMouseEnter: () => setShowTooltip(true),
|
|
13737
|
-
onMouseLeave: () => setShowTooltip(false),
|
|
13738
|
-
className: "w-4 h-4 rounded-full bg-zinc-200 dark:bg-zinc-700 text-zinc-600 dark:text-zinc-400 text-xs flex items-center justify-center hover:bg-zinc-300 dark:hover:bg-zinc-600 transition-colors",
|
|
13739
|
-
"aria-label": tAria("info"),
|
|
13740
|
-
children: "?"
|
|
13741
|
-
}
|
|
13742
|
-
),
|
|
13743
|
-
showTooltip && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute left-6 top-0 z-10 w-64 p-3 bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 text-xs rounded-lg shadow-lg", children: [
|
|
13744
|
-
tooltip,
|
|
13745
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-0 top-2 -translate-x-1 w-2 h-2 bg-zinc-900 dark:bg-zinc-100 rotate-45" })
|
|
13746
|
-
] })
|
|
13747
|
-
] })
|
|
13748
|
-
] }),
|
|
13749
|
-
showValue && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-semibold text-zinc-900 dark:text-zinc-100", children: [
|
|
13750
|
-
displayValue,
|
|
13751
|
-
suffix
|
|
13752
|
-
] })
|
|
13753
|
-
] }),
|
|
13754
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
13755
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 relative", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13756
|
-
"input",
|
|
13757
|
-
{
|
|
13758
|
-
id,
|
|
13759
|
-
type: "range",
|
|
13760
|
-
min,
|
|
13761
|
-
max,
|
|
13762
|
-
step,
|
|
13763
|
-
value: safeValue,
|
|
13764
|
-
onChange: (e) => onChange(Number(e.target.value)),
|
|
13765
|
-
className: "w-full h-2 bg-zinc-200 dark:bg-zinc-700 rounded-lg appearance-none cursor-pointer slider-thumb",
|
|
13766
|
-
"aria-label": label,
|
|
13767
|
-
style: {
|
|
13768
|
-
background: `linear-gradient(to right, rgb(59 130 246) 0%, rgb(59 130 246) ${percentage}%, rgb(228 228 231) ${percentage}%, rgb(228 228 231) 100%)`
|
|
13769
|
-
}
|
|
13770
|
-
}
|
|
13771
|
-
) }),
|
|
13772
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13773
|
-
"input",
|
|
13774
|
-
{
|
|
13775
|
-
type: "number",
|
|
13776
|
-
min,
|
|
13777
|
-
max,
|
|
13778
|
-
step,
|
|
13779
|
-
value: safeValue,
|
|
13780
|
-
onChange: (e) => onChange(Number(e.target.value)),
|
|
13781
|
-
className: "w-24 px-3 py-1.5 text-sm border border-zinc-300 dark:border-zinc-600 rounded-md bg-white dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 focus:ring-2 focus:ring-blue-500 focus:border-transparent",
|
|
13782
|
-
"aria-label": `${label} (${tCommon("number")})`
|
|
13783
|
-
}
|
|
13784
|
-
)
|
|
13785
|
-
] }),
|
|
13786
|
-
/* @__PURE__ */ jsxRuntime.jsx("style", { children: `
|
|
13787
|
-
.slider-thumb::-webkit-slider-thumb {
|
|
13788
|
-
appearance: none;
|
|
13789
|
-
width: 18px;
|
|
13790
|
-
height: 18px;
|
|
13791
|
-
border-radius: 50%;
|
|
13792
|
-
background: rgb(59 130 246);
|
|
13793
|
-
cursor: pointer;
|
|
13794
|
-
border: 2px solid white;
|
|
13795
|
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
13796
|
-
}
|
|
13797
|
-
|
|
13798
|
-
.slider-thumb::-moz-range-thumb {
|
|
13799
|
-
width: 18px;
|
|
13800
|
-
height: 18px;
|
|
13801
|
-
border-radius: 50%;
|
|
13802
|
-
background: rgb(59 130 246);
|
|
13803
|
-
cursor: pointer;
|
|
13804
|
-
border: 2px solid white;
|
|
13805
|
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
13806
|
-
}
|
|
13807
|
-
|
|
13808
|
-
.slider-thumb::-webkit-slider-thumb:hover {
|
|
13809
|
-
background: rgb(37 99 235);
|
|
13810
|
-
}
|
|
13811
|
-
|
|
13812
|
-
.slider-thumb::-moz-range-thumb:hover {
|
|
13813
|
-
background: rgb(37 99 235);
|
|
13814
|
-
}
|
|
13815
|
-
` })
|
|
13816
|
-
] });
|
|
13817
|
-
};
|
|
13818
12573
|
function DataPagination({
|
|
13819
12574
|
pagination,
|
|
13820
12575
|
onUpdate,
|
|
@@ -13917,50 +12672,6 @@ function getPageNumbers(currentPage, totalPages) {
|
|
|
13917
12672
|
}
|
|
13918
12673
|
return pages;
|
|
13919
12674
|
}
|
|
13920
|
-
var ContactCard = React11__namespace.default.memo(function ContactCard2({
|
|
13921
|
-
type,
|
|
13922
|
-
email,
|
|
13923
|
-
phone
|
|
13924
|
-
}) {
|
|
13925
|
-
const t = nextIntl.useTranslations("contact");
|
|
13926
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl bg-gray-50 p-10", children: [
|
|
13927
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base/7 font-semibold text-gray-900", children: t(type) }),
|
|
13928
|
-
/* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "mt-3 space-y-1 text-sm/6 text-gray-600", children: [
|
|
13929
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
13930
|
-
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "sr-only", children: "Email" }),
|
|
13931
|
-
/* @__PURE__ */ jsxRuntime.jsx("dd", { children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${email}`, className: "font-semibold text-blue-600", children: email }) })
|
|
13932
|
-
] }),
|
|
13933
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1", children: [
|
|
13934
|
-
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "sr-only", children: "Telefone" }),
|
|
13935
|
-
/* @__PURE__ */ jsxRuntime.jsx("dd", { children: phone })
|
|
13936
|
-
] })
|
|
13937
|
-
] })
|
|
13938
|
-
] });
|
|
13939
|
-
});
|
|
13940
|
-
var OfficeCard = React11__namespace.default.memo(function OfficeCard2({
|
|
13941
|
-
city,
|
|
13942
|
-
address,
|
|
13943
|
-
postalCode
|
|
13944
|
-
}) {
|
|
13945
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl bg-gray-50 p-10", children: [
|
|
13946
|
-
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base/7 font-semibold text-gray-900", children: city }),
|
|
13947
|
-
/* @__PURE__ */ jsxRuntime.jsxs("address", { className: "mt-3 space-y-1 text-sm/6 text-gray-600 not-italic", children: [
|
|
13948
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { children: address }),
|
|
13949
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { children: postalCode })
|
|
13950
|
-
] })
|
|
13951
|
-
] });
|
|
13952
|
-
});
|
|
13953
|
-
var ContactSection = React11__namespace.default.memo(
|
|
13954
|
-
function ContactSection2({ title, subtitle, children }) {
|
|
13955
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-10 py-16 lg:grid-cols-3", children: [
|
|
13956
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
13957
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-4xl font-semibold tracking-tight text-pretty text-gray-900", children: title }),
|
|
13958
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 text-base/7 text-gray-600", children: subtitle })
|
|
13959
|
-
] }),
|
|
13960
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8", children })
|
|
13961
|
-
] });
|
|
13962
|
-
}
|
|
13963
|
-
);
|
|
13964
12675
|
var PageHeader = React11.memo(function PageHeader2({
|
|
13965
12676
|
title,
|
|
13966
12677
|
subtitle,
|
|
@@ -14025,68 +12736,43 @@ var CardSectionHeader = React11.memo(function CardSectionHeader2({
|
|
|
14025
12736
|
children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2", children })
|
|
14026
12737
|
] });
|
|
14027
12738
|
});
|
|
14028
|
-
var
|
|
14029
|
-
|
|
14030
|
-
|
|
14031
|
-
|
|
14032
|
-
|
|
14033
|
-
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
const [showTooltip, setShowTooltip] = React11.useState(false);
|
|
14037
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14038
|
-
"div",
|
|
14039
|
-
{
|
|
14040
|
-
className: `liquid-surface rounded-2xl border border-white/30 dark:border-white/10 p-5 hover:bg-white/40 dark:hover:bg-white/[0.08] transition-colors ${className}`,
|
|
14041
|
-
children: [
|
|
14042
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between mb-3", children: [
|
|
14043
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-medium text-slate-500 dark:text-slate-400", children: title }),
|
|
14044
|
-
tooltip && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
14045
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14046
|
-
"button",
|
|
14047
|
-
{
|
|
14048
|
-
type: "button",
|
|
14049
|
-
onMouseEnter: () => setShowTooltip(true),
|
|
14050
|
-
onMouseLeave: () => setShowTooltip(false),
|
|
14051
|
-
className: "w-4 h-4 rounded-full bg-white/30 dark:bg-white/10 text-slate-600 dark:text-slate-400 text-xs flex items-center justify-center hover:bg-white/40 dark:hover:bg-white/[0.08] transition-colors",
|
|
14052
|
-
"aria-label": "Info",
|
|
14053
|
-
children: "?"
|
|
14054
|
-
}
|
|
14055
|
-
),
|
|
14056
|
-
showTooltip && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute right-0 top-6 z-10 w-64 p-3 liquid-surface-strong text-slate-900 dark:text-slate-100 text-xs rounded-lg", children: [
|
|
14057
|
-
tooltip,
|
|
14058
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute right-2 top-0 -translate-y-1 w-2 h-2 bg-white/60 dark:bg-white/20 rotate-45" })
|
|
14059
|
-
] })
|
|
14060
|
-
] })
|
|
14061
|
-
] }),
|
|
14062
|
-
children ? children : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14063
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-semibold text-slate-900 dark:text-slate-100 mb-1", children: value }),
|
|
14064
|
-
subtitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-slate-500 dark:text-slate-400", children: subtitle })
|
|
14065
|
-
] })
|
|
14066
|
-
]
|
|
14067
|
-
}
|
|
14068
|
-
);
|
|
14069
|
-
};
|
|
14070
|
-
var MetricTooltip = ({ text }) => {
|
|
14071
|
-
const [show, setShow] = React11.useState(false);
|
|
14072
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
14073
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14074
|
-
"button",
|
|
14075
|
-
{
|
|
14076
|
-
type: "button",
|
|
14077
|
-
onMouseEnter: () => setShow(true),
|
|
14078
|
-
onMouseLeave: () => setShow(false),
|
|
14079
|
-
className: "w-4 h-4 rounded-full bg-white/30 dark:bg-white/10 text-slate-600 dark:text-slate-400 text-xs flex items-center justify-center hover:bg-white/40 dark:hover:bg-white/[0.08] transition-colors",
|
|
14080
|
-
"aria-label": "Info",
|
|
14081
|
-
children: "?"
|
|
14082
|
-
}
|
|
12739
|
+
var Tabs = TabsPrimitive__namespace.Root;
|
|
12740
|
+
var TabsList = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
12741
|
+
TabsPrimitive__namespace.List,
|
|
12742
|
+
{
|
|
12743
|
+
ref,
|
|
12744
|
+
className: clsx__default.default(
|
|
12745
|
+
"inline-flex h-9 items-center justify-center rounded-lg bg-muted/50 p-0.5 text-muted-foreground",
|
|
12746
|
+
className
|
|
14083
12747
|
),
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
14088
|
-
|
|
14089
|
-
|
|
12748
|
+
...props
|
|
12749
|
+
}
|
|
12750
|
+
));
|
|
12751
|
+
TabsList.displayName = TabsPrimitive__namespace.List.displayName;
|
|
12752
|
+
var TabsTrigger = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
12753
|
+
TabsPrimitive__namespace.Trigger,
|
|
12754
|
+
{
|
|
12755
|
+
ref,
|
|
12756
|
+
className: clsx__default.default(
|
|
12757
|
+
"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",
|
|
12758
|
+
className
|
|
12759
|
+
),
|
|
12760
|
+
...props
|
|
12761
|
+
}
|
|
12762
|
+
));
|
|
12763
|
+
TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
|
|
12764
|
+
var TabsContent = React11__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
12765
|
+
TabsPrimitive__namespace.Content,
|
|
12766
|
+
{
|
|
12767
|
+
ref,
|
|
12768
|
+
className: clsx__default.default(
|
|
12769
|
+
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
12770
|
+
className
|
|
12771
|
+
),
|
|
12772
|
+
...props
|
|
12773
|
+
}
|
|
12774
|
+
));
|
|
12775
|
+
TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
|
|
14090
12776
|
|
|
14091
12777
|
// src/lib/navigation.ts
|
|
14092
12778
|
function buildDockActions(items, pathname, handlers, options = {}) {
|
|
@@ -14856,21 +13542,15 @@ exports.BrandedLoader = BrandedLoader;
|
|
|
14856
13542
|
exports.Breadcrumb = Breadcrumb;
|
|
14857
13543
|
exports.Button = Button;
|
|
14858
13544
|
exports.Card = Card;
|
|
14859
|
-
exports.Card2 = Card2;
|
|
14860
13545
|
exports.CardActionMenu = CardActionMenu;
|
|
14861
13546
|
exports.CardContent = CardContent;
|
|
14862
|
-
exports.CardContent2 = CardContent2;
|
|
14863
13547
|
exports.CardDescription = CardDescription;
|
|
14864
|
-
exports.CardDescription2 = CardDescription2;
|
|
14865
13548
|
exports.CardDivider = CardDivider;
|
|
14866
13549
|
exports.CardFooter = CardFooter;
|
|
14867
|
-
exports.CardFooter2 = CardFooter2;
|
|
14868
13550
|
exports.CardGridSkeleton = CardGridSkeleton;
|
|
14869
13551
|
exports.CardHeader = CardHeader;
|
|
14870
|
-
exports.CardHeader2 = CardHeader2;
|
|
14871
13552
|
exports.CardSectionHeader = CardSectionHeader;
|
|
14872
13553
|
exports.CardTitle = CardTitle;
|
|
14873
|
-
exports.CardTitle2 = CardTitle2;
|
|
14874
13554
|
exports.CategoryBadge = CategoryBadge;
|
|
14875
13555
|
exports.CategoryTab = CategoryTab;
|
|
14876
13556
|
exports.CategoryTabs = CategoryTabs;
|
|
@@ -14879,8 +13559,6 @@ exports.CircularRefreshIndicator = CircularRefreshIndicator;
|
|
|
14879
13559
|
exports.Code = Code;
|
|
14880
13560
|
exports.CollapsibleGroupedList = CollapsibleGroupedList;
|
|
14881
13561
|
exports.CompactSegmentedControl = CompactSegmentedControl;
|
|
14882
|
-
exports.ContactCard = ContactCard;
|
|
14883
|
-
exports.ContactSection = ContactSection;
|
|
14884
13562
|
exports.Container = Container;
|
|
14885
13563
|
exports.ContextMenu = ContextMenu;
|
|
14886
13564
|
exports.CookieConsent = CookieConsent;
|
|
@@ -14905,17 +13583,7 @@ exports.DockContainer = DockContainer;
|
|
|
14905
13583
|
exports.DockSkeleton = DockSkeleton;
|
|
14906
13584
|
exports.DotRefreshIndicator = DotRefreshIndicator;
|
|
14907
13585
|
exports.Dropdown = Dropdown;
|
|
14908
|
-
exports.DropdownButton = DropdownButton;
|
|
14909
|
-
exports.DropdownDescription = DropdownDescription;
|
|
14910
|
-
exports.DropdownDivider = DropdownDivider;
|
|
14911
|
-
exports.DropdownHeader = DropdownHeader;
|
|
14912
|
-
exports.DropdownHeading = DropdownHeading;
|
|
14913
|
-
exports.DropdownItem = DropdownItem;
|
|
14914
|
-
exports.DropdownLabel = DropdownLabel;
|
|
14915
|
-
exports.DropdownMenu = DropdownMenu;
|
|
14916
|
-
exports.DropdownSection = DropdownSection;
|
|
14917
13586
|
exports.DropdownSelect = DropdownSelect;
|
|
14918
|
-
exports.DropdownShortcut = DropdownShortcut;
|
|
14919
13587
|
exports.DynamicIsland = DynamicIsland;
|
|
14920
13588
|
exports.DynamicIslandConfirm = DynamicIslandConfirm;
|
|
14921
13589
|
exports.DynamicIslandNotification = DynamicIslandNotification;
|
|
@@ -14972,18 +13640,15 @@ exports.InfoPopover = InfoPopover;
|
|
|
14972
13640
|
exports.InlineForm = InlineForm;
|
|
14973
13641
|
exports.InlineSpinner = InlineSpinner;
|
|
14974
13642
|
exports.Input = Input;
|
|
14975
|
-
exports.InputGroup = InputGroup;
|
|
14976
13643
|
exports.InteractiveGeoMap = InteractiveGeoMap;
|
|
14977
13644
|
exports.ItemSummary = ItemSummary;
|
|
14978
13645
|
exports.KORI_ERP_LOADER = KORI_ERP_LOADER;
|
|
14979
13646
|
exports.Label = Label2;
|
|
14980
|
-
exports.Label2 = Label3;
|
|
14981
13647
|
exports.LabeledToggle = LabeledToggle;
|
|
14982
13648
|
exports.LanguageSwitcher = LanguageSwitcher;
|
|
14983
13649
|
exports.LaunchpadGrid = LaunchpadGrid;
|
|
14984
13650
|
exports.Lead = Lead;
|
|
14985
13651
|
exports.Legend = Legend2;
|
|
14986
|
-
exports.Link = Link4;
|
|
14987
13652
|
exports.LiquidFilterInput = LiquidFilterInput;
|
|
14988
13653
|
exports.ListCard = ListCard;
|
|
14989
13654
|
exports.ListCardItem = ListCardItem;
|
|
@@ -14993,8 +13658,6 @@ exports.ManagementPageLayout = ManagementPageLayout;
|
|
|
14993
13658
|
exports.ManagementSurface = ManagementSurface;
|
|
14994
13659
|
exports.MapZoomControls = MapZoomControls;
|
|
14995
13660
|
exports.MetricCard = MetricCard;
|
|
14996
|
-
exports.MetricCard2 = MetricCard2;
|
|
14997
|
-
exports.MetricTooltip = MetricTooltip;
|
|
14998
13661
|
exports.MonthPicker = MonthPicker;
|
|
14999
13662
|
exports.MultiColumnPicker = MultiColumnPicker;
|
|
15000
13663
|
exports.NavigationProgress = NavigationProgress;
|
|
@@ -15004,7 +13667,6 @@ exports.NotFoundPage = NotFoundPage;
|
|
|
15004
13667
|
exports.NotificationBadge = NotificationBadge;
|
|
15005
13668
|
exports.NotificationBellButton = NotificationBellButton;
|
|
15006
13669
|
exports.NotificationProvider = NotificationProvider;
|
|
15007
|
-
exports.OfficeCard = OfficeCard;
|
|
15008
13670
|
exports.OfflineState = OfflineState;
|
|
15009
13671
|
exports.OptionGrid = OptionGrid;
|
|
15010
13672
|
exports.OtpInput = OtpInput;
|
|
@@ -15016,7 +13678,6 @@ exports.PageLoadingState = PageLoadingState;
|
|
|
15016
13678
|
exports.PageSectionHeader = PageSectionHeader;
|
|
15017
13679
|
exports.Pagination = Pagination;
|
|
15018
13680
|
exports.PasswordInput = PasswordInput;
|
|
15019
|
-
exports.PasswordInput2 = PasswordInput2;
|
|
15020
13681
|
exports.PasswordStrengthMeter = PasswordStrengthMeter;
|
|
15021
13682
|
exports.Pill = Pill;
|
|
15022
13683
|
exports.PlatformShell = PlatformShell;
|
|
@@ -15026,7 +13687,6 @@ exports.PlusGridRow = PlusGridRow;
|
|
|
15026
13687
|
exports.PreferenceSection = PreferenceSection;
|
|
15027
13688
|
exports.PriceChangeBadge = PriceChangeBadge;
|
|
15028
13689
|
exports.ProfileIdentityCard = ProfileIdentityCard;
|
|
15029
|
-
exports.Progress = Progress;
|
|
15030
13690
|
exports.ProgressIndicator = ProgressIndicator;
|
|
15031
13691
|
exports.PullToRefreshContainer = PullToRefreshContainer;
|
|
15032
13692
|
exports.PullToRefreshIndicator = PullToRefreshIndicator;
|
|
@@ -15046,10 +13706,6 @@ exports.SectionHeader = SectionHeader;
|
|
|
15046
13706
|
exports.SectionHeaderSkeleton = SectionHeaderSkeleton;
|
|
15047
13707
|
exports.SegmentedControl = SegmentedControl;
|
|
15048
13708
|
exports.Select = Select;
|
|
15049
|
-
exports.SelectContent = SelectContent;
|
|
15050
|
-
exports.SelectItem = SelectItem;
|
|
15051
|
-
exports.SelectTrigger = SelectTrigger;
|
|
15052
|
-
exports.SelectValue = SelectValue;
|
|
15053
13709
|
exports.SelectableChipPicker = SelectableChipPicker;
|
|
15054
13710
|
exports.SelectableListPicker = SelectableListPicker;
|
|
15055
13711
|
exports.SelectableOptionsGrid = SelectableOptionsGrid;
|
|
@@ -15059,13 +13715,11 @@ exports.ServerErrorPage = ServerErrorPage;
|
|
|
15059
13715
|
exports.SettingsDialog = SettingsDialog;
|
|
15060
13716
|
exports.SettingsModal = SettingsModal;
|
|
15061
13717
|
exports.Sheet = Sheet;
|
|
15062
|
-
exports.SliderInput = SliderInput;
|
|
15063
13718
|
exports.SocialLoginButtons = SocialLoginButtons;
|
|
15064
13719
|
exports.SortableTableHeader = SortableTableHeader;
|
|
15065
13720
|
exports.Spinner = Spinner;
|
|
15066
13721
|
exports.Stat = Stat;
|
|
15067
13722
|
exports.StatCard = StatCard;
|
|
15068
|
-
exports.StatCard2 = StatCard2;
|
|
15069
13723
|
exports.StatCardSkeleton = StatCardSkeleton;
|
|
15070
13724
|
exports.StatusBadge = StatusBadge;
|
|
15071
13725
|
exports.StatusToggle = StatusToggle;
|
|
@@ -15075,9 +13729,6 @@ exports.StepTimeline = StepTimeline;
|
|
|
15075
13729
|
exports.Strong = Strong;
|
|
15076
13730
|
exports.Subheading = Subheading;
|
|
15077
13731
|
exports.SwipeableRow = SwipeableRow;
|
|
15078
|
-
exports.Switch = Switch2;
|
|
15079
|
-
exports.SwitchField = SwitchField;
|
|
15080
|
-
exports.SwitchGroup = SwitchGroup;
|
|
15081
13732
|
exports.Table = Table;
|
|
15082
13733
|
exports.TableBody = TableBody;
|
|
15083
13734
|
exports.TableCell = TableCell;
|
|
@@ -15183,5 +13834,5 @@ exports.useGeoMapState = useGeoMapState;
|
|
|
15183
13834
|
exports.useNotifications = useNotifications;
|
|
15184
13835
|
exports.usePlatformShellStore = usePlatformShellStore;
|
|
15185
13836
|
exports.usePullToRefresh = usePullToRefresh;
|
|
15186
|
-
//# sourceMappingURL=chunk-
|
|
15187
|
-
//# sourceMappingURL=chunk-
|
|
13837
|
+
//# sourceMappingURL=chunk-ORFU4L3V.js.map
|
|
13838
|
+
//# sourceMappingURL=chunk-ORFU4L3V.js.map
|