@capitaltg/vero 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +18 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +189 -129
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m, Fragment as Me, jsxs as T } from "react/jsx-runtime";
|
|
2
2
|
import * as u from "react";
|
|
3
|
-
import D, { forwardRef as Us, createElement as Ro, useId as Zt, useCallback as le, useState as be, useLayoutEffect as zs, useEffect as
|
|
3
|
+
import D, { forwardRef as Us, createElement as Ro, useId as Zt, useCallback as le, useState as be, useLayoutEffect as zs, useEffect as dt, useRef as Fe, useMemo as jt, createContext as Qf, useContext as Jf, memo as em } from "react";
|
|
4
4
|
import * as Dn from "react-dom";
|
|
5
5
|
import tm from "react-dom";
|
|
6
6
|
function js(e) {
|
|
@@ -236,7 +236,7 @@ function pm(e, ...t) {
|
|
|
236
236
|
const pe = (e) => {
|
|
237
237
|
const t = (n) => n[e] || [];
|
|
238
238
|
return t.isThemeGetter = !0, t;
|
|
239
|
-
}, Qs = /^\[(?:([a-z-]+):)?(.+)\]$/i, hm = /^\d+\/\d+$/, gm = /* @__PURE__ */ new Set(["px", "full", "screen"]), vm = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ym = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, bm = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, wm = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, xm = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, it = (e) => Kt(e) || gm.has(e) || hm.test(e),
|
|
239
|
+
}, Qs = /^\[(?:([a-z-]+):)?(.+)\]$/i, hm = /^\d+\/\d+$/, gm = /* @__PURE__ */ new Set(["px", "full", "screen"]), vm = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ym = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, bm = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, wm = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, xm = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, it = (e) => Kt(e) || gm.has(e) || hm.test(e), gt = (e) => nn(e, "length", km), Kt = (e) => !!e && !Number.isNaN(Number(e)), ao = (e) => nn(e, "number", Kt), mn = (e) => !!e && Number.isInteger(Number(e)), Cm = (e) => e.endsWith("%") && Kt(e.slice(0, -1)), re = (e) => Qs.test(e), vt = (e) => vm.test(e), Sm = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Nm = (e) => nn(e, Sm, Js), Em = (e) => nn(e, "position", Js), Mm = /* @__PURE__ */ new Set(["image", "url"]), Rm = (e) => nn(e, Mm, Dm), Pm = (e) => nn(e, "", Im), pn = () => !0, nn = (e, t, n) => {
|
|
240
240
|
const r = Qs.exec(e);
|
|
241
241
|
return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
|
|
242
242
|
}, km = (e) => (
|
|
@@ -245,17 +245,17 @@ const pe = (e) => {
|
|
|
245
245
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
246
246
|
ym.test(e) && !bm.test(e)
|
|
247
247
|
), Js = () => !1, Im = (e) => wm.test(e), Dm = (e) => xm.test(e), Om = () => {
|
|
248
|
-
const e = pe("colors"), t = pe("spacing"), n = pe("blur"), r = pe("brightness"), o = pe("borderColor"), a = pe("borderRadius"), i = pe("borderSpacing"), s = pe("borderWidth"), c = pe("contrast"), l = pe("grayscale"), d = pe("hueRotate"), f = pe("invert"), p = pe("gap"), h = pe("gradientColorStops"), y = pe("gradientColorStopPositions"), g = pe("inset"), v = pe("margin"), b = pe("opacity"), w = pe("padding"), x = pe("saturate"), S = pe("scale"), C = pe("sepia"), E = pe("skew"), N = pe("space"), M = pe("translate"), W = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], k = () => ["auto", re, t], I = () => [re, t], B = () => ["", it,
|
|
248
|
+
const e = pe("colors"), t = pe("spacing"), n = pe("blur"), r = pe("brightness"), o = pe("borderColor"), a = pe("borderRadius"), i = pe("borderSpacing"), s = pe("borderWidth"), c = pe("contrast"), l = pe("grayscale"), d = pe("hueRotate"), f = pe("invert"), p = pe("gap"), h = pe("gradientColorStops"), y = pe("gradientColorStopPositions"), g = pe("inset"), v = pe("margin"), b = pe("opacity"), w = pe("padding"), x = pe("saturate"), S = pe("scale"), C = pe("sepia"), E = pe("skew"), N = pe("space"), M = pe("translate"), W = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], k = () => ["auto", re, t], I = () => [re, t], B = () => ["", it, gt], V = () => ["auto", Kt, re], q = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], F = () => ["solid", "dashed", "dotted", "double", "none"], J = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], L = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], O = () => ["", "0", re], te = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], ee = () => [Kt, re];
|
|
249
249
|
return {
|
|
250
250
|
cacheSize: 500,
|
|
251
251
|
separator: ":",
|
|
252
252
|
theme: {
|
|
253
253
|
colors: [pn],
|
|
254
|
-
spacing: [it,
|
|
255
|
-
blur: ["none", "",
|
|
254
|
+
spacing: [it, gt],
|
|
255
|
+
blur: ["none", "", vt, re],
|
|
256
256
|
brightness: ee(),
|
|
257
257
|
borderColor: [e],
|
|
258
|
-
borderRadius: ["none", "", "full",
|
|
258
|
+
borderRadius: ["none", "", "full", vt, re],
|
|
259
259
|
borderSpacing: I(),
|
|
260
260
|
borderWidth: B(),
|
|
261
261
|
contrast: ee(),
|
|
@@ -264,7 +264,7 @@ const pe = (e) => {
|
|
|
264
264
|
invert: O(),
|
|
265
265
|
gap: I(),
|
|
266
266
|
gradientColorStops: [e],
|
|
267
|
-
gradientColorStopPositions: [Cm,
|
|
267
|
+
gradientColorStopPositions: [Cm, gt],
|
|
268
268
|
inset: k(),
|
|
269
269
|
margin: k(),
|
|
270
270
|
opacity: ee(),
|
|
@@ -295,7 +295,7 @@ const pe = (e) => {
|
|
|
295
295
|
* @see https://tailwindcss.com/docs/columns
|
|
296
296
|
*/
|
|
297
297
|
columns: [{
|
|
298
|
-
columns: [
|
|
298
|
+
columns: [vt]
|
|
299
299
|
}],
|
|
300
300
|
/**
|
|
301
301
|
* Break After
|
|
@@ -879,8 +879,8 @@ const pe = (e) => {
|
|
|
879
879
|
*/
|
|
880
880
|
"max-w": [{
|
|
881
881
|
"max-w": [re, t, "none", "full", "min", "max", "fit", "prose", {
|
|
882
|
-
screen: [
|
|
883
|
-
},
|
|
882
|
+
screen: [vt]
|
|
883
|
+
}, vt]
|
|
884
884
|
}],
|
|
885
885
|
/**
|
|
886
886
|
* Height
|
|
@@ -916,7 +916,7 @@ const pe = (e) => {
|
|
|
916
916
|
* @see https://tailwindcss.com/docs/font-size
|
|
917
917
|
*/
|
|
918
918
|
"font-size": [{
|
|
919
|
-
text: ["base",
|
|
919
|
+
text: ["base", vt, gt]
|
|
920
920
|
}],
|
|
921
921
|
/**
|
|
922
922
|
* Font Smoothing
|
|
@@ -1067,7 +1067,7 @@ const pe = (e) => {
|
|
|
1067
1067
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1068
1068
|
*/
|
|
1069
1069
|
"text-decoration-thickness": [{
|
|
1070
|
-
decoration: ["auto", "from-font", it,
|
|
1070
|
+
decoration: ["auto", "from-font", it, gt]
|
|
1071
1071
|
}],
|
|
1072
1072
|
/**
|
|
1073
1073
|
* Text Underline Offset
|
|
@@ -1563,7 +1563,7 @@ const pe = (e) => {
|
|
|
1563
1563
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1564
1564
|
*/
|
|
1565
1565
|
"outline-w": [{
|
|
1566
|
-
outline: [it,
|
|
1566
|
+
outline: [it, gt]
|
|
1567
1567
|
}],
|
|
1568
1568
|
/**
|
|
1569
1569
|
* Outline Color
|
|
@@ -1603,7 +1603,7 @@ const pe = (e) => {
|
|
|
1603
1603
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1604
1604
|
*/
|
|
1605
1605
|
"ring-offset-w": [{
|
|
1606
|
-
"ring-offset": [it,
|
|
1606
|
+
"ring-offset": [it, gt]
|
|
1607
1607
|
}],
|
|
1608
1608
|
/**
|
|
1609
1609
|
* Ring Offset Color
|
|
@@ -1618,7 +1618,7 @@ const pe = (e) => {
|
|
|
1618
1618
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1619
1619
|
*/
|
|
1620
1620
|
shadow: [{
|
|
1621
|
-
shadow: ["", "inner", "none",
|
|
1621
|
+
shadow: ["", "inner", "none", vt, Pm]
|
|
1622
1622
|
}],
|
|
1623
1623
|
/**
|
|
1624
1624
|
* Box Shadow Color
|
|
@@ -1683,7 +1683,7 @@ const pe = (e) => {
|
|
|
1683
1683
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1684
1684
|
*/
|
|
1685
1685
|
"drop-shadow": [{
|
|
1686
|
-
"drop-shadow": ["", "none",
|
|
1686
|
+
"drop-shadow": ["", "none", vt, re]
|
|
1687
1687
|
}],
|
|
1688
1688
|
/**
|
|
1689
1689
|
* Grayscale
|
|
@@ -2198,7 +2198,7 @@ const pe = (e) => {
|
|
|
2198
2198
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2199
2199
|
*/
|
|
2200
2200
|
"stroke-w": [{
|
|
2201
|
-
stroke: [it,
|
|
2201
|
+
stroke: [it, gt, ao]
|
|
2202
2202
|
}],
|
|
2203
2203
|
/**
|
|
2204
2204
|
* Stroke
|
|
@@ -3319,7 +3319,7 @@ aria-disabled:pointer-events-none aria-disabled:cursor-not-allowed aria-disabled
|
|
|
3319
3319
|
}, y) => {
|
|
3320
3320
|
const g = {
|
|
3321
3321
|
ref: y,
|
|
3322
|
-
className: P("space-y-2", e),
|
|
3322
|
+
className: P("vero-accordion", "space-y-2", e),
|
|
3323
3323
|
...h
|
|
3324
3324
|
}, v = {
|
|
3325
3325
|
items: r,
|
|
@@ -3458,7 +3458,7 @@ const Kp = Pe(
|
|
|
3458
3458
|
{
|
|
3459
3459
|
ref: d,
|
|
3460
3460
|
"aria-labelledby": r ? p : void 0,
|
|
3461
|
-
className: P(Kp({ variant: t, size: n }), e),
|
|
3461
|
+
className: P("vero-alert", Kp({ variant: t, size: n }), e),
|
|
3462
3462
|
role: "alert",
|
|
3463
3463
|
...l,
|
|
3464
3464
|
children: [
|
|
@@ -3641,7 +3641,7 @@ const ut = Pe(ce.button, {
|
|
|
3641
3641
|
l,
|
|
3642
3642
|
{
|
|
3643
3643
|
ref: c,
|
|
3644
|
-
className: P(ut({ variant: t, size: n }), e),
|
|
3644
|
+
className: P("vero-button", ut({ variant: t, size: n }), e),
|
|
3645
3645
|
...s,
|
|
3646
3646
|
...d,
|
|
3647
3647
|
children: i
|
|
@@ -3651,7 +3651,7 @@ const ut = Pe(ce.button, {
|
|
|
3651
3651
|
{
|
|
3652
3652
|
ref: c,
|
|
3653
3653
|
"aria-busy": a,
|
|
3654
|
-
className: P(ut({ variant: t, size: n }), "relative", e),
|
|
3654
|
+
className: P("vero-button", ut({ variant: t, size: n }), "relative", e),
|
|
3655
3655
|
...s,
|
|
3656
3656
|
...d,
|
|
3657
3657
|
children: a ? /* @__PURE__ */ T(Me, { children: [
|
|
@@ -3832,15 +3832,15 @@ var co = "focusScope.autoFocusOnMount", lo = "focusScope.autoFocusOnUnmount", us
|
|
|
3832
3832
|
let g = function(x) {
|
|
3833
3833
|
if (h.paused || !s) return;
|
|
3834
3834
|
const S = x.target;
|
|
3835
|
-
s.contains(S) ? f.current = S :
|
|
3835
|
+
s.contains(S) ? f.current = S : bt(f.current, { select: !0 });
|
|
3836
3836
|
}, v = function(x) {
|
|
3837
3837
|
if (h.paused || !s) return;
|
|
3838
3838
|
const S = x.relatedTarget;
|
|
3839
|
-
S !== null && (s.contains(S) ||
|
|
3839
|
+
S !== null && (s.contains(S) || bt(f.current, { select: !0 }));
|
|
3840
3840
|
}, b = function(x) {
|
|
3841
3841
|
if (document.activeElement === document.body)
|
|
3842
3842
|
for (const C of x)
|
|
3843
|
-
C.removedNodes.length > 0 &&
|
|
3843
|
+
C.removedNodes.length > 0 && bt(s);
|
|
3844
3844
|
};
|
|
3845
3845
|
document.addEventListener("focusin", g), document.addEventListener("focusout", v);
|
|
3846
3846
|
const w = new MutationObserver(b);
|
|
@@ -3854,12 +3854,12 @@ var co = "focusScope.autoFocusOnMount", lo = "focusScope.autoFocusOnUnmount", us
|
|
|
3854
3854
|
const g = document.activeElement;
|
|
3855
3855
|
if (!s.contains(g)) {
|
|
3856
3856
|
const b = new CustomEvent(co, us);
|
|
3857
|
-
s.addEventListener(co, l), s.dispatchEvent(b), b.defaultPrevented || (gh(xh(Mi(s)), { select: !0 }), document.activeElement === g &&
|
|
3857
|
+
s.addEventListener(co, l), s.dispatchEvent(b), b.defaultPrevented || (gh(xh(Mi(s)), { select: !0 }), document.activeElement === g && bt(s));
|
|
3858
3858
|
}
|
|
3859
3859
|
return () => {
|
|
3860
3860
|
s.removeEventListener(co, l), setTimeout(() => {
|
|
3861
3861
|
const b = new CustomEvent(lo, us);
|
|
3862
|
-
s.addEventListener(lo, d), s.dispatchEvent(b), b.defaultPrevented ||
|
|
3862
|
+
s.addEventListener(lo, d), s.dispatchEvent(b), b.defaultPrevented || bt(g ?? document.body, { select: !0 }), s.removeEventListener(lo, d), fs.remove(h);
|
|
3863
3863
|
}, 0);
|
|
3864
3864
|
};
|
|
3865
3865
|
}
|
|
@@ -3870,7 +3870,7 @@ var co = "focusScope.autoFocusOnMount", lo = "focusScope.autoFocusOnUnmount", us
|
|
|
3870
3870
|
const v = g.key === "Tab" && !g.altKey && !g.ctrlKey && !g.metaKey, b = document.activeElement;
|
|
3871
3871
|
if (v && b) {
|
|
3872
3872
|
const w = g.currentTarget, [x, S] = vh(w);
|
|
3873
|
-
x && S ? !g.shiftKey && b === S ? (g.preventDefault(), n &&
|
|
3873
|
+
x && S ? !g.shiftKey && b === S ? (g.preventDefault(), n && bt(x, { select: !0 })) : g.shiftKey && b === x && (g.preventDefault(), n && bt(S, { select: !0 })) : b === w && g.preventDefault();
|
|
3874
3874
|
}
|
|
3875
3875
|
},
|
|
3876
3876
|
[n, r, h.paused]
|
|
@@ -3881,7 +3881,7 @@ Tn.displayName = hh;
|
|
|
3881
3881
|
function gh(e, { select: t = !1 } = {}) {
|
|
3882
3882
|
const n = document.activeElement;
|
|
3883
3883
|
for (const r of e)
|
|
3884
|
-
if (
|
|
3884
|
+
if (bt(r, { select: t }), document.activeElement !== n) return;
|
|
3885
3885
|
}
|
|
3886
3886
|
function vh(e) {
|
|
3887
3887
|
const t = Mi(e), n = ds(t, e), r = ds(t.reverse(), e);
|
|
@@ -3913,7 +3913,7 @@ function yh(e, { upTo: t }) {
|
|
|
3913
3913
|
function bh(e) {
|
|
3914
3914
|
return e instanceof HTMLInputElement && "select" in e;
|
|
3915
3915
|
}
|
|
3916
|
-
function
|
|
3916
|
+
function bt(e, { select: t = !1 } = {}) {
|
|
3917
3917
|
if (e && e.focus) {
|
|
3918
3918
|
const n = document.activeElement;
|
|
3919
3919
|
e.focus({ preventScroll: !0 }), e !== n && bh(e) && t && e.select();
|
|
@@ -5065,6 +5065,7 @@ const kr = u.forwardRef(
|
|
|
5065
5065
|
{
|
|
5066
5066
|
ref: n,
|
|
5067
5067
|
className: P(
|
|
5068
|
+
"vero-command",
|
|
5068
5069
|
"flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
|
|
5069
5070
|
e
|
|
5070
5071
|
),
|
|
@@ -5156,6 +5157,7 @@ const Hg = u.forwardRef(({ className: e, children: t, zIndex: n, onOpenAutoFocus
|
|
|
5156
5157
|
{
|
|
5157
5158
|
ref: a,
|
|
5158
5159
|
className: P(
|
|
5160
|
+
"vero-dialog",
|
|
5159
5161
|
`fixed left-[50%] top-[50%] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%]
|
|
5160
5162
|
gap-4 border bg-background px-6 py-6 shadow-lg duration-200 data-[state=open]:animate-in
|
|
5161
5163
|
data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0
|
|
@@ -5279,10 +5281,10 @@ const Gg = ["top", "right", "bottom", "left"], St = Math.min, Ae = Math.max, fr
|
|
|
5279
5281
|
function _o(e, t, n) {
|
|
5280
5282
|
return Ae(e, St(t, n));
|
|
5281
5283
|
}
|
|
5282
|
-
function
|
|
5284
|
+
function ft(e, t) {
|
|
5283
5285
|
return typeof e == "function" ? e(t) : e;
|
|
5284
5286
|
}
|
|
5285
|
-
function
|
|
5287
|
+
function mt(e) {
|
|
5286
5288
|
return e.split("-")[0];
|
|
5287
5289
|
}
|
|
5288
5290
|
function on(e) {
|
|
@@ -5295,7 +5297,7 @@ function va(e) {
|
|
|
5295
5297
|
return e === "y" ? "height" : "width";
|
|
5296
5298
|
}
|
|
5297
5299
|
function Nt(e) {
|
|
5298
|
-
return ["top", "bottom"].includes(
|
|
5300
|
+
return ["top", "bottom"].includes(mt(e)) ? "y" : "x";
|
|
5299
5301
|
}
|
|
5300
5302
|
function ya(e) {
|
|
5301
5303
|
return ga(Nt(e));
|
|
@@ -5328,7 +5330,7 @@ function qg(e, t, n) {
|
|
|
5328
5330
|
}
|
|
5329
5331
|
function Xg(e, t, n, r) {
|
|
5330
5332
|
const o = on(e);
|
|
5331
|
-
let a = qg(
|
|
5333
|
+
let a = qg(mt(e), n === "start", r);
|
|
5332
5334
|
return o && (a = a.map((i) => i + "-" + o), t && (a = a.concat(a.map($o)))), a;
|
|
5333
5335
|
}
|
|
5334
5336
|
function mr(e) {
|
|
@@ -5374,7 +5376,7 @@ function xs(e, t, n) {
|
|
|
5374
5376
|
reference: r,
|
|
5375
5377
|
floating: o
|
|
5376
5378
|
} = e;
|
|
5377
|
-
const a = Nt(t), i = ya(t), s = va(i), c =
|
|
5379
|
+
const a = Nt(t), i = ya(t), s = va(i), c = mt(t), l = a === "y", d = r.x + r.width / 2 - o.width / 2, f = r.y + r.height / 2 - o.height / 2, p = r[s] / 2 - o[s] / 2;
|
|
5378
5380
|
let h;
|
|
5379
5381
|
switch (c) {
|
|
5380
5382
|
case "top":
|
|
@@ -5494,7 +5496,7 @@ async function Nn(e, t) {
|
|
|
5494
5496
|
elementContext: f = "floating",
|
|
5495
5497
|
altBoundary: p = !1,
|
|
5496
5498
|
padding: h = 0
|
|
5497
|
-
} =
|
|
5499
|
+
} = ft(t, e), y = mc(h), v = s[p ? f === "floating" ? "reference" : "floating" : f], b = pr(await a.getClippingRect({
|
|
5498
5500
|
element: (n = await (a.isElement == null ? void 0 : a.isElement(v))) == null || n ? v : v.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(s.floating)),
|
|
5499
5501
|
boundary: l,
|
|
5500
5502
|
rootBoundary: d,
|
|
@@ -5538,7 +5540,7 @@ const Jg = (e) => ({
|
|
|
5538
5540
|
} = t, {
|
|
5539
5541
|
element: l,
|
|
5540
5542
|
padding: d = 0
|
|
5541
|
-
} =
|
|
5543
|
+
} = ft(e, t) || {};
|
|
5542
5544
|
if (l == null)
|
|
5543
5545
|
return {};
|
|
5544
5546
|
const f = mc(d), p = {
|
|
@@ -5581,10 +5583,10 @@ const Jg = (e) => ({
|
|
|
5581
5583
|
fallbackAxisSideDirection: y = "none",
|
|
5582
5584
|
flipAlignment: g = !0,
|
|
5583
5585
|
...v
|
|
5584
|
-
} =
|
|
5586
|
+
} = ft(e, t);
|
|
5585
5587
|
if ((n = a.arrow) != null && n.alignmentOffset)
|
|
5586
5588
|
return {};
|
|
5587
|
-
const b =
|
|
5589
|
+
const b = mt(o), w = Nt(s), x = mt(s) === s, S = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), C = p || (x || !g ? [mr(s)] : Kg(s)), E = y !== "none";
|
|
5588
5590
|
!p && E && C.push(...Xg(s, g, y, S));
|
|
5589
5591
|
const N = [s, ...C], M = await Nn(t, v), W = [];
|
|
5590
5592
|
let $ = ((r = a.flip) == null ? void 0 : r.overflows) || [];
|
|
@@ -5661,7 +5663,7 @@ const tv = function(e) {
|
|
|
5661
5663
|
} = t, {
|
|
5662
5664
|
strategy: r = "referenceHidden",
|
|
5663
5665
|
...o
|
|
5664
|
-
} =
|
|
5666
|
+
} = ft(e, t);
|
|
5665
5667
|
switch (r) {
|
|
5666
5668
|
case "referenceHidden": {
|
|
5667
5669
|
const a = await Nn(t, {
|
|
@@ -5698,7 +5700,7 @@ async function nv(e, t) {
|
|
|
5698
5700
|
placement: n,
|
|
5699
5701
|
platform: r,
|
|
5700
5702
|
elements: o
|
|
5701
|
-
} = e, a = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), i =
|
|
5703
|
+
} = e, a = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), i = mt(n), s = on(n), c = Nt(n) === "y", l = ["left", "top"].includes(i) ? -1 : 1, d = a && c ? -1 : 1, f = ft(t, e);
|
|
5702
5704
|
let {
|
|
5703
5705
|
mainAxis: p,
|
|
5704
5706
|
crossAxis: h,
|
|
@@ -5767,10 +5769,10 @@ const rv = function(e) {
|
|
|
5767
5769
|
}
|
|
5768
5770
|
},
|
|
5769
5771
|
...c
|
|
5770
|
-
} =
|
|
5772
|
+
} = ft(e, t), l = {
|
|
5771
5773
|
x: n,
|
|
5772
5774
|
y: r
|
|
5773
|
-
}, d = await Nn(t, c), f = Nt(
|
|
5775
|
+
}, d = await Nn(t, c), f = Nt(mt(o)), p = ga(f);
|
|
5774
5776
|
let h = l[p], y = l[f];
|
|
5775
5777
|
if (a) {
|
|
5776
5778
|
const v = p === "y" ? "top" : "left", b = p === "y" ? "bottom" : "right", w = h + d[v], x = h - d[b];
|
|
@@ -5812,12 +5814,12 @@ const rv = function(e) {
|
|
|
5812
5814
|
offset: s = 0,
|
|
5813
5815
|
mainAxis: c = !0,
|
|
5814
5816
|
crossAxis: l = !0
|
|
5815
|
-
} =
|
|
5817
|
+
} = ft(e, t), d = {
|
|
5816
5818
|
x: n,
|
|
5817
5819
|
y: r
|
|
5818
5820
|
}, f = Nt(o), p = ga(f);
|
|
5819
5821
|
let h = d[p], y = d[f];
|
|
5820
|
-
const g =
|
|
5822
|
+
const g = ft(s, t), v = typeof g == "number" ? {
|
|
5821
5823
|
mainAxis: g,
|
|
5822
5824
|
crossAxis: 0
|
|
5823
5825
|
} : {
|
|
@@ -5831,7 +5833,7 @@ const rv = function(e) {
|
|
|
5831
5833
|
}
|
|
5832
5834
|
if (l) {
|
|
5833
5835
|
var b, w;
|
|
5834
|
-
const x = p === "y" ? "width" : "height", S = ["top", "left"].includes(
|
|
5836
|
+
const x = p === "y" ? "width" : "height", S = ["top", "left"].includes(mt(o)), C = a.reference[f] - a.floating[x] + (S && ((b = i.offset) == null ? void 0 : b[f]) || 0) + (S ? 0 : v.crossAxis), E = a.reference[f] + a.reference[x] + (S ? 0 : ((w = i.offset) == null ? void 0 : w[f]) || 0) - (S ? v.crossAxis : 0);
|
|
5835
5837
|
y < C ? y = C : y > E && (y = E);
|
|
5836
5838
|
}
|
|
5837
5839
|
return {
|
|
@@ -5855,7 +5857,7 @@ const rv = function(e) {
|
|
|
5855
5857
|
apply: c = () => {
|
|
5856
5858
|
},
|
|
5857
5859
|
...l
|
|
5858
|
-
} =
|
|
5860
|
+
} = ft(e, t), d = await Nn(t, l), f = mt(o), p = on(o), h = Nt(o) === "y", {
|
|
5859
5861
|
width: y,
|
|
5860
5862
|
height: g
|
|
5861
5863
|
} = a.floating;
|
|
@@ -6369,7 +6371,7 @@ const Nv = rv, Ev = ov, Mv = ev, Rv = sv, Pv = tv, Rs = Jg, kv = av, Iv = (e, t,
|
|
|
6369
6371
|
platform: a
|
|
6370
6372
|
});
|
|
6371
6373
|
};
|
|
6372
|
-
var lr = typeof document < "u" ? zs :
|
|
6374
|
+
var lr = typeof document < "u" ? zs : dt;
|
|
6373
6375
|
function hr(e, t) {
|
|
6374
6376
|
if (e === t)
|
|
6375
6377
|
return !0;
|
|
@@ -7013,7 +7015,7 @@ const Hn = qv, Vn = Xv, Jv = Qv, cn = u.forwardRef(({ className: e, align: t = "
|
|
|
7013
7015
|
{
|
|
7014
7016
|
ref: s,
|
|
7015
7017
|
align: t,
|
|
7016
|
-
className: P(ce.popover, e),
|
|
7018
|
+
className: P("vero-popover", ce.popover, e),
|
|
7017
7019
|
sideOffset: n,
|
|
7018
7020
|
style: { zIndex: c, ...i.style },
|
|
7019
7021
|
...i,
|
|
@@ -7052,9 +7054,9 @@ function ey({
|
|
|
7052
7054
|
...N
|
|
7053
7055
|
}, M) {
|
|
7054
7056
|
const [W, $] = be(!1), k = qe("dropdown", y), [I, B] = be(""), [V, q] = be(!1), [F, J] = be(!1), [L, O] = be([]), [te, ee] = be(!1), [R, Y] = be(void 0), U = Fe();
|
|
7055
|
-
|
|
7057
|
+
dt(() => () => {
|
|
7056
7058
|
U.current && clearTimeout(U.current);
|
|
7057
|
-
}, []),
|
|
7059
|
+
}, []), dt(() => {
|
|
7058
7060
|
n || Y(void 0);
|
|
7059
7061
|
}, [n]);
|
|
7060
7062
|
const H = le(
|
|
@@ -7106,12 +7108,13 @@ function ey({
|
|
|
7106
7108
|
"aria-expanded": W,
|
|
7107
7109
|
autoFocus: w,
|
|
7108
7110
|
className: P(
|
|
7111
|
+
"vero-autocomplete",
|
|
7109
7112
|
"w-full justify-between px-3",
|
|
7110
7113
|
!n && "text-muted-foreground",
|
|
7111
7114
|
c
|
|
7112
7115
|
),
|
|
7116
|
+
"data-component": "autocomplete",
|
|
7113
7117
|
isDisabled: g,
|
|
7114
|
-
role: "combobox",
|
|
7115
7118
|
variant: "input",
|
|
7116
7119
|
...N,
|
|
7117
7120
|
onKeyDown: (Q) => {
|
|
@@ -7204,14 +7207,30 @@ const xE = el, ty = Pe(
|
|
|
7204
7207
|
}
|
|
7205
7208
|
}
|
|
7206
7209
|
), ny = u.forwardRef(
|
|
7207
|
-
({ className: e, variant: t, ...n }, r) => /* @__PURE__ */ m(
|
|
7210
|
+
({ className: e, variant: t, ...n }, r) => /* @__PURE__ */ m(
|
|
7211
|
+
"div",
|
|
7212
|
+
{
|
|
7213
|
+
ref: r,
|
|
7214
|
+
className: P("vero-badge", ty({ variant: t, className: e })),
|
|
7215
|
+
...n
|
|
7216
|
+
}
|
|
7217
|
+
)
|
|
7208
7218
|
);
|
|
7209
7219
|
ny.displayName = "Badge";
|
|
7210
7220
|
const ry = u.forwardRef(
|
|
7211
|
-
({ items: e, separator: t = /* @__PURE__ */ m(sa, { className: "h-4 w-4" }), className: n, ...r }, o) => /* @__PURE__ */ m(
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7221
|
+
({ items: e, separator: t = /* @__PURE__ */ m(sa, { className: "h-4 w-4" }), className: n, ...r }, o) => /* @__PURE__ */ m(
|
|
7222
|
+
"nav",
|
|
7223
|
+
{
|
|
7224
|
+
ref: o,
|
|
7225
|
+
"aria-label": "Breadcrumb",
|
|
7226
|
+
className: P("vero-breadcrumbs", "flex", n),
|
|
7227
|
+
...r,
|
|
7228
|
+
children: /* @__PURE__ */ m("ol", { className: "flex flex-wrap items-center gap-1 pl-0", children: e.map((a, i) => /* @__PURE__ */ T("li", { className: "flex items-center gap-1", children: [
|
|
7229
|
+
a.href ? /* @__PURE__ */ m("a", { className: P(ce.link, ce.linkNoUnderline), href: a.href, children: a.label }) : /* @__PURE__ */ m("span", { "aria-current": "page", className: "font-medium text-foreground", children: a.label }),
|
|
7230
|
+
i < e.length - 1 ? /* @__PURE__ */ m("span", { className: "text-muted-foreground", children: t }) : null
|
|
7231
|
+
] }, i)) })
|
|
7232
|
+
}
|
|
7233
|
+
)
|
|
7215
7234
|
);
|
|
7216
7235
|
ry.displayName = "Breadcrumbs";
|
|
7217
7236
|
const bo = {}, yn = {};
|
|
@@ -7998,7 +8017,7 @@ function de(e, t) {
|
|
|
7998
8017
|
const n = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(t, "0");
|
|
7999
8018
|
return n + r;
|
|
8000
8019
|
}
|
|
8001
|
-
const
|
|
8020
|
+
const yt = {
|
|
8002
8021
|
// Year
|
|
8003
8022
|
y(e, t) {
|
|
8004
8023
|
const n = e.getFullYear(), r = n > 0 ? n : 1 - n;
|
|
@@ -8084,7 +8103,7 @@ const vt = {
|
|
|
8084
8103
|
const r = e.getFullYear(), o = r > 0 ? r : 1 - r;
|
|
8085
8104
|
return n.ordinalNumber(o, { unit: "year" });
|
|
8086
8105
|
}
|
|
8087
|
-
return
|
|
8106
|
+
return yt.y(e, t);
|
|
8088
8107
|
},
|
|
8089
8108
|
// Local week-numbering year
|
|
8090
8109
|
Y: function(e, t, n, r) {
|
|
@@ -8187,7 +8206,7 @@ const vt = {
|
|
|
8187
8206
|
switch (t) {
|
|
8188
8207
|
case "M":
|
|
8189
8208
|
case "MM":
|
|
8190
|
-
return
|
|
8209
|
+
return yt.M(e, t);
|
|
8191
8210
|
// 1st, 2nd, ..., 12th
|
|
8192
8211
|
case "Mo":
|
|
8193
8212
|
return n.ordinalNumber(r + 1, { unit: "month" });
|
|
@@ -8252,7 +8271,7 @@ const vt = {
|
|
|
8252
8271
|
},
|
|
8253
8272
|
// Day of the month
|
|
8254
8273
|
d: function(e, t, n) {
|
|
8255
|
-
return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) :
|
|
8274
|
+
return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : yt.d(e, t);
|
|
8256
8275
|
},
|
|
8257
8276
|
// Day of year
|
|
8258
8277
|
D: function(e, t, n) {
|
|
@@ -8498,11 +8517,11 @@ const vt = {
|
|
|
8498
8517
|
let r = e.getHours() % 12;
|
|
8499
8518
|
return r === 0 && (r = 12), n.ordinalNumber(r, { unit: "hour" });
|
|
8500
8519
|
}
|
|
8501
|
-
return
|
|
8520
|
+
return yt.h(e, t);
|
|
8502
8521
|
},
|
|
8503
8522
|
// Hour [0-23]
|
|
8504
8523
|
H: function(e, t, n) {
|
|
8505
|
-
return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) :
|
|
8524
|
+
return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : yt.H(e, t);
|
|
8506
8525
|
},
|
|
8507
8526
|
// Hour [0-11]
|
|
8508
8527
|
K: function(e, t, n) {
|
|
@@ -8516,15 +8535,15 @@ const vt = {
|
|
|
8516
8535
|
},
|
|
8517
8536
|
// Minute
|
|
8518
8537
|
m: function(e, t, n) {
|
|
8519
|
-
return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) :
|
|
8538
|
+
return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : yt.m(e, t);
|
|
8520
8539
|
},
|
|
8521
8540
|
// Second
|
|
8522
8541
|
s: function(e, t, n) {
|
|
8523
|
-
return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) :
|
|
8542
|
+
return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : yt.s(e, t);
|
|
8524
8543
|
},
|
|
8525
8544
|
// Fraction of second
|
|
8526
8545
|
S: function(e, t) {
|
|
8527
|
-
return
|
|
8546
|
+
return yt.S(e, t);
|
|
8528
8547
|
},
|
|
8529
8548
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
8530
8549
|
X: function(e, t, n) {
|
|
@@ -8788,7 +8807,7 @@ function kb(e, t) {
|
|
|
8788
8807
|
const n = pl(e, t), r = Pb(e, t);
|
|
8789
8808
|
return t.addDays(n, r * 7 - 1);
|
|
8790
8809
|
}
|
|
8791
|
-
class
|
|
8810
|
+
class pt {
|
|
8792
8811
|
/**
|
|
8793
8812
|
* Creates an instance of `DateLib`.
|
|
8794
8813
|
*
|
|
@@ -8941,7 +8960,7 @@ class mt {
|
|
|
8941
8960
|
return this.replaceDigits(t.toString());
|
|
8942
8961
|
}
|
|
8943
8962
|
}
|
|
8944
|
-
const at = new
|
|
8963
|
+
const at = new pt();
|
|
8945
8964
|
class hl {
|
|
8946
8965
|
constructor(t, n, r = at) {
|
|
8947
8966
|
this.date = t, this.displayMonth = n, this.outside = !!(n && !r.isSameMonth(t, n)), this.dateLib = r;
|
|
@@ -9251,11 +9270,11 @@ function lw() {
|
|
|
9251
9270
|
return e;
|
|
9252
9271
|
}
|
|
9253
9272
|
function Cl(e, t, n) {
|
|
9254
|
-
return (n ?? new
|
|
9273
|
+
return (n ?? new pt(t)).format(e, "LLLL y");
|
|
9255
9274
|
}
|
|
9256
9275
|
const uw = Cl;
|
|
9257
9276
|
function dw(e, t, n) {
|
|
9258
|
-
return (n ?? new
|
|
9277
|
+
return (n ?? new pt(t)).format(e, "d");
|
|
9259
9278
|
}
|
|
9260
9279
|
function fw(e, t = at) {
|
|
9261
9280
|
return t.format(e, "LLLL");
|
|
@@ -9267,7 +9286,7 @@ function pw() {
|
|
|
9267
9286
|
return "";
|
|
9268
9287
|
}
|
|
9269
9288
|
function hw(e, t, n) {
|
|
9270
|
-
return (n ?? new
|
|
9289
|
+
return (n ?? new pt(t)).format(e, "cccccc");
|
|
9271
9290
|
}
|
|
9272
9291
|
function Sl(e, t = at) {
|
|
9273
9292
|
return t.format(e, "yyyy");
|
|
@@ -9334,15 +9353,15 @@ function Cw(e, t, n, r) {
|
|
|
9334
9353
|
});
|
|
9335
9354
|
}
|
|
9336
9355
|
function Nl(e, t, n) {
|
|
9337
|
-
return (n ?? new
|
|
9356
|
+
return (n ?? new pt(t)).format(e, "LLLL y");
|
|
9338
9357
|
}
|
|
9339
9358
|
const Sw = Nl;
|
|
9340
9359
|
function Nw(e, t, n, r) {
|
|
9341
|
-
let o = (r ?? new
|
|
9360
|
+
let o = (r ?? new pt(n)).format(e, "PPPP");
|
|
9342
9361
|
return t != null && t.today && (o = `Today, ${o}`), o;
|
|
9343
9362
|
}
|
|
9344
9363
|
function El(e, t, n, r) {
|
|
9345
|
-
let o = (r ?? new
|
|
9364
|
+
let o = (r ?? new pt(n)).format(e, "PPPP");
|
|
9346
9365
|
return t.today && (o = `Today, ${o}`), t.selected && (o = `${o}, selected`), o;
|
|
9347
9366
|
}
|
|
9348
9367
|
const Ew = El;
|
|
@@ -9359,7 +9378,7 @@ function kw(e) {
|
|
|
9359
9378
|
return "Go to the Previous Month";
|
|
9360
9379
|
}
|
|
9361
9380
|
function Iw(e, t, n) {
|
|
9362
|
-
return (n ?? new
|
|
9381
|
+
return (n ?? new pt(t)).format(e, "cccc");
|
|
9363
9382
|
}
|
|
9364
9383
|
function Dw(e, t) {
|
|
9365
9384
|
return `Week ${e}`;
|
|
@@ -9541,7 +9560,7 @@ function jw(e, t) {
|
|
|
9541
9560
|
// initialMonth is always computed from props.month if provided
|
|
9542
9561
|
e.month ? i : void 0
|
|
9543
9562
|
);
|
|
9544
|
-
|
|
9563
|
+
dt(() => {
|
|
9545
9564
|
const E = Ls(e, t);
|
|
9546
9565
|
c(E);
|
|
9547
9566
|
}, [e.timeZone]);
|
|
@@ -9740,7 +9759,7 @@ function ox(e) {
|
|
|
9740
9759
|
const { components: n, formatters: r, labels: o, dateLib: a, locale: i, classNames: s } = jt(() => {
|
|
9741
9760
|
const oe = { ...ka, ...t.locale };
|
|
9742
9761
|
return {
|
|
9743
|
-
dateLib: new
|
|
9762
|
+
dateLib: new pt({
|
|
9744
9763
|
locale: oe,
|
|
9745
9764
|
weekStartsOn: t.broadcastCalendar ? 1 : t.weekStartsOn,
|
|
9746
9765
|
firstWeekContainsDate: t.firstWeekContainsDate,
|
|
@@ -9780,7 +9799,7 @@ function ox(e) {
|
|
|
9780
9799
|
}, [y, K]), Wf = le((oe, ge) => (me) => {
|
|
9781
9800
|
H(), p == null || p(oe.date, ge, me);
|
|
9782
9801
|
}, [H, p]), Bf = le((oe, ge) => (me) => {
|
|
9783
|
-
const
|
|
9802
|
+
const ht = {
|
|
9784
9803
|
ArrowLeft: ["day", t.dir === "rtl" ? "after" : "before"],
|
|
9785
9804
|
ArrowRight: ["day", t.dir === "rtl" ? "before" : "after"],
|
|
9786
9805
|
ArrowDown: ["week", "after"],
|
|
@@ -9790,9 +9809,9 @@ function ox(e) {
|
|
|
9790
9809
|
Home: ["startOfWeek", "before"],
|
|
9791
9810
|
End: ["endOfWeek", "after"]
|
|
9792
9811
|
};
|
|
9793
|
-
if (
|
|
9812
|
+
if (ht[me.key]) {
|
|
9794
9813
|
me.preventDefault(), me.stopPropagation();
|
|
9795
|
-
const [Ve, Zn] =
|
|
9814
|
+
const [Ve, Zn] = ht[me.key];
|
|
9796
9815
|
j(Ve, Zn);
|
|
9797
9816
|
}
|
|
9798
9817
|
g == null || g(oe.date, ge, me);
|
|
@@ -9801,11 +9820,11 @@ function ox(e) {
|
|
|
9801
9820
|
}, [v]), Vf = le((oe, ge) => (me) => {
|
|
9802
9821
|
b == null || b(oe.date, ge, me);
|
|
9803
9822
|
}, [b]), Yf = le((oe) => (ge) => {
|
|
9804
|
-
const me = Number(ge.target.value),
|
|
9805
|
-
te(
|
|
9823
|
+
const me = Number(ge.target.value), ht = a.setMonth(a.startOfMonth(oe), me);
|
|
9824
|
+
te(ht);
|
|
9806
9825
|
}, [a, te]), Gf = le((oe) => (ge) => {
|
|
9807
|
-
const me = Number(ge.target.value),
|
|
9808
|
-
te(
|
|
9826
|
+
const me = Number(ge.target.value), ht = a.setYear(a.startOfMonth(oe), me);
|
|
9827
|
+
te(ht);
|
|
9809
9828
|
}, [a, te]), { className: Uf, style: zf } = jt(() => ({
|
|
9810
9829
|
className: [s[z.Root], t.className].filter(Boolean).join(" "),
|
|
9811
9830
|
style: { ...C == null ? void 0 : C[z.Root], ...t.style }
|
|
@@ -9843,7 +9862,7 @@ function ox(e) {
|
|
|
9843
9862
|
{ className: s[z.Months], style: C == null ? void 0 : C[z.Months] },
|
|
9844
9863
|
!t.hideNavigation && !d && D.createElement(n.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: s[z.Nav], style: C == null ? void 0 : C[z.Nav], "aria-label": ie(), onPreviousClick: to, onNextClick: no, previousMonth: L, nextMonth: O }),
|
|
9845
9864
|
q.map((oe, ge) => {
|
|
9846
|
-
const me = bw(oe.date, F, J, r, a),
|
|
9865
|
+
const me = bw(oe.date, F, J, r, a), ht = Cw(F, J, r, a);
|
|
9847
9866
|
return D.createElement(
|
|
9848
9867
|
n.Month,
|
|
9849
9868
|
{ "data-animated-month": t.animate ? "true" : void 0, className: s[z.Month], style: C == null ? void 0 : C[z.Month], key: ge, displayIndex: ge, calendarMonth: oe },
|
|
@@ -9856,7 +9875,7 @@ function ox(e) {
|
|
|
9856
9875
|
n.DropdownNav,
|
|
9857
9876
|
{ className: s[z.Dropdowns], style: C == null ? void 0 : C[z.Dropdowns] },
|
|
9858
9877
|
c === "dropdown" || c === "dropdown-months" ? D.createElement(n.MonthsDropdown, { className: s[z.MonthsDropdown], "aria-label": Q(), classNames: s, components: n, disabled: !!t.disableNavigation, onChange: Yf(oe.date), options: me, style: C == null ? void 0 : C[z.Dropdown], value: a.getMonth(oe.date) }) : D.createElement("span", null, M(oe.date, a)),
|
|
9859
|
-
c === "dropdown" || c === "dropdown-years" ? D.createElement(n.YearsDropdown, { className: s[z.YearsDropdown], "aria-label": _f(a.options), classNames: s, components: n, disabled: !!t.disableNavigation, onChange: Gf(oe.date), options:
|
|
9878
|
+
c === "dropdown" || c === "dropdown-years" ? D.createElement(n.YearsDropdown, { className: s[z.YearsDropdown], "aria-label": _f(a.options), classNames: s, components: n, disabled: !!t.disableNavigation, onChange: Gf(oe.date), options: ht, style: C == null ? void 0 : C[z.Dropdown], value: a.getYear(oe.date) }) : D.createElement("span", null, I(oe.date, a)),
|
|
9860
9879
|
D.createElement("span", { role: "status", "aria-live": "polite", style: {
|
|
9861
9880
|
border: 0,
|
|
9862
9881
|
clip: "rect(0 0 0 0)",
|
|
@@ -9987,7 +10006,7 @@ function Da(e, t, n) {
|
|
|
9987
10006
|
}
|
|
9988
10007
|
const ix = () => Array.from({ length: 12 }, (e, t) => new Date(0, t).toLocaleString("en-US", { month: "long" })), cx = (e) => {
|
|
9989
10008
|
const { onSelect: t } = e, n = Fe(null);
|
|
9990
|
-
return
|
|
10009
|
+
return dt(() => {
|
|
9991
10010
|
n.current && n.current.focus();
|
|
9992
10011
|
}, []), /* @__PURE__ */ m(
|
|
9993
10012
|
"div",
|
|
@@ -10020,7 +10039,7 @@ const ix = () => Array.from({ length: 12 }, (e, t) => new Date(0, t).toLocaleStr
|
|
|
10020
10039
|
return a;
|
|
10021
10040
|
}, ux = (e) => {
|
|
10022
10041
|
const { onSelect: t, startMonth: n, endMonth: r } = e, o = Fe(null);
|
|
10023
|
-
return
|
|
10042
|
+
return dt(() => {
|
|
10024
10043
|
o.current && o.current.focus();
|
|
10025
10044
|
}, []), /* @__PURE__ */ m(
|
|
10026
10045
|
"div",
|
|
@@ -10107,7 +10126,7 @@ function Rl({ className: e, classNames: t, showOutsideDays: n = !0, ...r }) {
|
|
|
10107
10126
|
return /* @__PURE__ */ m(
|
|
10108
10127
|
ox,
|
|
10109
10128
|
{
|
|
10110
|
-
className: P("min-w-80 px-3 py-3", e),
|
|
10129
|
+
className: P("vero-calendar", "min-w-80 px-3 py-3", e),
|
|
10111
10130
|
classNames: {
|
|
10112
10131
|
months: "flex flex-col gap-4 sm:flex-row",
|
|
10113
10132
|
month: "w-full space-y-4",
|
|
@@ -10186,7 +10205,7 @@ var Hr = "Checkbox", [fx, CE] = we(Hr), [mx, px] = fx(Hr), Pl = u.forwardRef(
|
|
|
10186
10205
|
{
|
|
10187
10206
|
type: "button",
|
|
10188
10207
|
role: "checkbox",
|
|
10189
|
-
"aria-checked":
|
|
10208
|
+
"aria-checked": wt(b) ? "mixed" : b,
|
|
10190
10209
|
"aria-required": i,
|
|
10191
10210
|
"data-state": Ol(b),
|
|
10192
10211
|
"data-disabled": s ? "" : void 0,
|
|
@@ -10198,7 +10217,7 @@ var Hr = "Checkbox", [fx, CE] = we(Hr), [mx, px] = fx(Hr), Pl = u.forwardRef(
|
|
|
10198
10217
|
S.key === "Enter" && S.preventDefault();
|
|
10199
10218
|
}),
|
|
10200
10219
|
onClick: A(e.onClick, (S) => {
|
|
10201
|
-
w((C) =>
|
|
10220
|
+
w((C) => wt(C) ? !0 : !C), v && (g.current = S.isPropagationStopped(), g.current || S.stopPropagation());
|
|
10202
10221
|
})
|
|
10203
10222
|
}
|
|
10204
10223
|
),
|
|
@@ -10214,7 +10233,7 @@ var Hr = "Checkbox", [fx, CE] = we(Hr), [mx, px] = fx(Hr), Pl = u.forwardRef(
|
|
|
10214
10233
|
disabled: s,
|
|
10215
10234
|
form: d,
|
|
10216
10235
|
style: { transform: "translateX(-100%)" },
|
|
10217
|
-
defaultChecked:
|
|
10236
|
+
defaultChecked: wt(a) ? !1 : a
|
|
10218
10237
|
}
|
|
10219
10238
|
)
|
|
10220
10239
|
] });
|
|
@@ -10224,7 +10243,7 @@ Pl.displayName = Hr;
|
|
|
10224
10243
|
var kl = "CheckboxIndicator", Il = u.forwardRef(
|
|
10225
10244
|
(e, t) => {
|
|
10226
10245
|
const { __scopeCheckbox: n, forceMount: r, ...o } = e, a = px(kl, n);
|
|
10227
|
-
return /* @__PURE__ */ m(We, { present: r ||
|
|
10246
|
+
return /* @__PURE__ */ m(We, { present: r || wt(a.state) || a.state === !0, children: /* @__PURE__ */ m(
|
|
10228
10247
|
G.span,
|
|
10229
10248
|
{
|
|
10230
10249
|
"data-state": Ol(a.state),
|
|
@@ -10256,10 +10275,10 @@ var hx = "CheckboxBubbleInput", Dl = u.forwardRef(
|
|
|
10256
10275
|
).set;
|
|
10257
10276
|
if (l !== n && g) {
|
|
10258
10277
|
const v = new Event("click", { bubbles: r });
|
|
10259
|
-
p.indeterminate =
|
|
10278
|
+
p.indeterminate = wt(n), g.call(p, wt(n) ? !1 : n), p.dispatchEvent(v);
|
|
10260
10279
|
}
|
|
10261
10280
|
}, [l, n, r]);
|
|
10262
|
-
const f = u.useRef(
|
|
10281
|
+
const f = u.useRef(wt(n) ? !1 : n);
|
|
10263
10282
|
return /* @__PURE__ */ m(
|
|
10264
10283
|
G.input,
|
|
10265
10284
|
{
|
|
@@ -10282,11 +10301,11 @@ var hx = "CheckboxBubbleInput", Dl = u.forwardRef(
|
|
|
10282
10301
|
}
|
|
10283
10302
|
);
|
|
10284
10303
|
Dl.displayName = hx;
|
|
10285
|
-
function
|
|
10304
|
+
function wt(e) {
|
|
10286
10305
|
return e === "indeterminate";
|
|
10287
10306
|
}
|
|
10288
10307
|
function Ol(e) {
|
|
10289
|
-
return
|
|
10308
|
+
return wt(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
10290
10309
|
}
|
|
10291
10310
|
var Vr = Pl, gx = Il;
|
|
10292
10311
|
const Al = u.forwardRef(
|
|
@@ -10300,6 +10319,7 @@ const Al = u.forwardRef(
|
|
|
10300
10319
|
"div",
|
|
10301
10320
|
{
|
|
10302
10321
|
className: P(
|
|
10322
|
+
"vero-checkbox",
|
|
10303
10323
|
"relative",
|
|
10304
10324
|
r ? P(ce.button, ut({ variant: "primary" })) : P(ce.button, ut({ variant: "input" })),
|
|
10305
10325
|
o && "pointer-events-none cursor-not-allowed opacity-50",
|
|
@@ -10342,7 +10362,14 @@ var vx = "Label", Tl = u.forwardRef((e, t) => /* @__PURE__ */ m(
|
|
|
10342
10362
|
Tl.displayName = vx;
|
|
10343
10363
|
var _l = Tl;
|
|
10344
10364
|
const Tt = u.forwardRef(
|
|
10345
|
-
({ className: e, ...t }, n) => /* @__PURE__ */ m(
|
|
10365
|
+
({ className: e, ...t }, n) => /* @__PURE__ */ m(
|
|
10366
|
+
_l,
|
|
10367
|
+
{
|
|
10368
|
+
ref: n,
|
|
10369
|
+
className: P("vero-label", ce.text.label, e),
|
|
10370
|
+
...t
|
|
10371
|
+
}
|
|
10372
|
+
)
|
|
10346
10373
|
);
|
|
10347
10374
|
Tt.displayName = _l.displayName;
|
|
10348
10375
|
const $l = "peer h-5 w-5 shrink-0 rounded-sm border-2 border-gray-500 ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary-400 data-[state=checked]:bg-primary-400 data-[state=checked]:text-white", Fl = u.forwardRef(
|
|
@@ -10356,6 +10383,7 @@ const $l = "peer h-5 w-5 shrink-0 rounded-sm border-2 border-gray-500 ring-offse
|
|
|
10356
10383
|
"div",
|
|
10357
10384
|
{
|
|
10358
10385
|
className: P(
|
|
10386
|
+
"vero-checkbox",
|
|
10359
10387
|
"flex items-start gap-2",
|
|
10360
10388
|
o && "cursor-not-allowed opacity-50 [&>*]:cursor-not-allowed"
|
|
10361
10389
|
),
|
|
@@ -10421,6 +10449,7 @@ const Ll = u.forwardRef(
|
|
|
10421
10449
|
"div",
|
|
10422
10450
|
{
|
|
10423
10451
|
className: P(
|
|
10452
|
+
"vero-checkbox",
|
|
10424
10453
|
"relative rounded-lg border-2 border-muted bg-popover px-4 py-4",
|
|
10425
10454
|
r && "border-primary-400",
|
|
10426
10455
|
o ? "cursor-not-allowed opacity-50 [&_*]:cursor-not-allowed" : "cursor-pointer hover:bg-accent hover:text-accent-foreground",
|
|
@@ -10507,24 +10536,33 @@ const yx = u.forwardRef(
|
|
|
10507
10536
|
...l
|
|
10508
10537
|
}, d) => {
|
|
10509
10538
|
const f = ca({ variant: c, orientation: s, columns: o }), p = Zt(), h = a ?? p;
|
|
10510
|
-
return /* @__PURE__ */ m(
|
|
10511
|
-
|
|
10512
|
-
|
|
10513
|
-
|
|
10514
|
-
|
|
10515
|
-
|
|
10516
|
-
|
|
10517
|
-
|
|
10518
|
-
|
|
10519
|
-
|
|
10520
|
-
|
|
10521
|
-
|
|
10522
|
-
|
|
10523
|
-
|
|
10524
|
-
|
|
10525
|
-
|
|
10526
|
-
|
|
10527
|
-
|
|
10539
|
+
return /* @__PURE__ */ m(
|
|
10540
|
+
"div",
|
|
10541
|
+
{
|
|
10542
|
+
ref: d,
|
|
10543
|
+
className: P("vero-checkbox-group", f, r),
|
|
10544
|
+
id: a,
|
|
10545
|
+
...l,
|
|
10546
|
+
children: e.map((y) => {
|
|
10547
|
+
const g = y.inputId ?? `${h}-${y.id}`;
|
|
10548
|
+
return /* @__PURE__ */ m(
|
|
10549
|
+
Wl,
|
|
10550
|
+
{
|
|
10551
|
+
description: y.description,
|
|
10552
|
+
id: g,
|
|
10553
|
+
isChecked: t.includes(y.id),
|
|
10554
|
+
isDisabled: i || y.isDisabled,
|
|
10555
|
+
label: y.label,
|
|
10556
|
+
variant: c,
|
|
10557
|
+
onCheckedChange: (v) => {
|
|
10558
|
+
n(v ? [...t, y.id] : t.filter((b) => b !== y.id));
|
|
10559
|
+
}
|
|
10560
|
+
},
|
|
10561
|
+
y.id
|
|
10562
|
+
);
|
|
10563
|
+
})
|
|
10564
|
+
}
|
|
10565
|
+
);
|
|
10528
10566
|
}
|
|
10529
10567
|
);
|
|
10530
10568
|
yx.displayName = "CheckboxGroup";
|
|
@@ -10563,12 +10601,13 @@ const wx = D.forwardRef(
|
|
|
10563
10601
|
"aria-expanded": b,
|
|
10564
10602
|
autoFocus: y,
|
|
10565
10603
|
className: P(
|
|
10604
|
+
"vero-combobox",
|
|
10566
10605
|
"w-full justify-between px-3",
|
|
10567
10606
|
!t && "text-muted-foreground",
|
|
10568
10607
|
s
|
|
10569
10608
|
),
|
|
10609
|
+
"data-component": "combobox",
|
|
10570
10610
|
isDisabled: f,
|
|
10571
|
-
role: "combobox",
|
|
10572
10611
|
variant: "input",
|
|
10573
10612
|
...g,
|
|
10574
10613
|
children: [
|
|
@@ -10655,6 +10694,7 @@ const xx = D.forwardRef(
|
|
|
10655
10694
|
"aria-required": l,
|
|
10656
10695
|
autoFocus: d,
|
|
10657
10696
|
className: P(
|
|
10697
|
+
"vero-date-picker",
|
|
10658
10698
|
"w-full justify-start px-3 text-left font-normal",
|
|
10659
10699
|
!e && "text-muted-foreground",
|
|
10660
10700
|
a
|
|
@@ -10711,7 +10751,7 @@ const Cx = u.forwardRef(
|
|
|
10711
10751
|
if (v > b) return t({ from: b, to: v });
|
|
10712
10752
|
if (v.getTime() === b.getTime()) return t({ from: void 0, to: void 0 });
|
|
10713
10753
|
}, g = (v) => v.from ? v.to ? `${v.from.toISOString().split("T")[0]},${v.to.toISOString().split("T")[0]}` : v.from.toISOString().split("T")[0] : "";
|
|
10714
|
-
return /* @__PURE__ */ T("div", { className: P("grid gap-2", r), children: [
|
|
10754
|
+
return /* @__PURE__ */ T("div", { className: P("vero-date-range-picker", "grid gap-2", r), children: [
|
|
10715
10755
|
c || l ? /* @__PURE__ */ m("input", { name: c, required: l, type: "hidden", value: g(e) }) : null,
|
|
10716
10756
|
/* @__PURE__ */ T(Hn, { children: [
|
|
10717
10757
|
/* @__PURE__ */ m(Vn, { asChild: !0, children: /* @__PURE__ */ T(
|
|
@@ -11753,7 +11793,7 @@ const r0 = u.forwardRef(
|
|
|
11753
11793
|
nt,
|
|
11754
11794
|
{
|
|
11755
11795
|
ref: c,
|
|
11756
|
-
className: P("flex items-center gap-1", e),
|
|
11796
|
+
className: P("vero-dropdown-button", "flex items-center gap-1", e),
|
|
11757
11797
|
isDisabled: a,
|
|
11758
11798
|
variant: o,
|
|
11759
11799
|
...s,
|
|
@@ -11820,7 +11860,7 @@ const o0 = u.forwardRef(
|
|
|
11820
11860
|
"div",
|
|
11821
11861
|
{
|
|
11822
11862
|
ref: l,
|
|
11823
|
-
className: P("space-y-1", o),
|
|
11863
|
+
className: P("vero-form-item", "space-y-1", o),
|
|
11824
11864
|
...c,
|
|
11825
11865
|
"data-error": r ? "true" : void 0,
|
|
11826
11866
|
children: [
|
|
@@ -11844,12 +11884,16 @@ const o0 = u.forwardRef(
|
|
|
11844
11884
|
o0.displayName = "FormItem";
|
|
11845
11885
|
const a0 = D.forwardRef(
|
|
11846
11886
|
({ src: e, alt: t, fallback: n, isLazy: r = !0, shape: o = "square", className: a, onError: i, ...s }, c) => {
|
|
11847
|
-
const [l, d] = be(!1), [f, p] = be(!0)
|
|
11887
|
+
const [l, d] = be(!1), [f, p] = be(!0);
|
|
11888
|
+
dt(() => {
|
|
11889
|
+
d(!1), p(!0);
|
|
11890
|
+
}, [e]);
|
|
11891
|
+
const h = (v) => {
|
|
11848
11892
|
d(!0), i == null || i(v);
|
|
11849
11893
|
}, y = () => {
|
|
11850
11894
|
p(!1);
|
|
11851
11895
|
};
|
|
11852
|
-
return /* @__PURE__ */ T("div", { className: P("relative overflow-hidden", {
|
|
11896
|
+
return /* @__PURE__ */ T("div", { className: P("vero-image", "relative overflow-hidden", {
|
|
11853
11897
|
square: "",
|
|
11854
11898
|
rounded: "rounded-lg",
|
|
11855
11899
|
circle: "rounded-full"
|
|
@@ -11901,7 +11945,7 @@ const s0 = u.forwardRef(
|
|
|
11901
11945
|
"input",
|
|
11902
11946
|
{
|
|
11903
11947
|
ref: i,
|
|
11904
|
-
className: P(ce.input, e),
|
|
11948
|
+
className: P("vero-input", ce.input, e),
|
|
11905
11949
|
type: t,
|
|
11906
11950
|
onChange: c,
|
|
11907
11951
|
...a,
|
|
@@ -11933,7 +11977,7 @@ const i0 = D.forwardRef(
|
|
|
11933
11977
|
var I;
|
|
11934
11978
|
return ((I = e.find((B) => B.value === k)) == null ? void 0 : I.label) || k;
|
|
11935
11979
|
}), S = _e({ isDisabled: d }), C = Fe(null), E = Fe([]);
|
|
11936
|
-
|
|
11980
|
+
dt(() => {
|
|
11937
11981
|
h && C.current && C.current.focus();
|
|
11938
11982
|
}, [h]);
|
|
11939
11983
|
const N = le(
|
|
@@ -11999,12 +12043,14 @@ const i0 = D.forwardRef(
|
|
|
11999
12043
|
"aria-expanded": v,
|
|
12000
12044
|
"aria-haspopup": "listbox",
|
|
12001
12045
|
className: P(
|
|
12046
|
+
"vero-multi-select",
|
|
12002
12047
|
ce.button,
|
|
12003
12048
|
ut({ variant: "input" }),
|
|
12004
12049
|
ce.focusRing,
|
|
12005
12050
|
"flex h-auto min-h-[2.5rem] w-full items-stretch justify-between px-3 py-1.5",
|
|
12006
12051
|
i
|
|
12007
12052
|
),
|
|
12053
|
+
"data-component": "multi-select",
|
|
12008
12054
|
role: "button",
|
|
12009
12055
|
tabIndex: 0,
|
|
12010
12056
|
onClick: (k) => {
|
|
@@ -12460,6 +12506,7 @@ const Yu = u.forwardRef(
|
|
|
12460
12506
|
"div",
|
|
12461
12507
|
{
|
|
12462
12508
|
className: P(
|
|
12509
|
+
"vero-radio",
|
|
12463
12510
|
"relative",
|
|
12464
12511
|
ce.button,
|
|
12465
12512
|
ut({ variant: "input" }),
|
|
@@ -12503,6 +12550,7 @@ const Gu = "aspect-square h-5 w-5 rounded-full border-2 border-gray-500 text-pri
|
|
|
12503
12550
|
"div",
|
|
12504
12551
|
{
|
|
12505
12552
|
className: P(
|
|
12553
|
+
"vero-radio",
|
|
12506
12554
|
"flex items-start gap-2",
|
|
12507
12555
|
o && "cursor-not-allowed opacity-50 [&>*]:cursor-not-allowed"
|
|
12508
12556
|
),
|
|
@@ -12562,6 +12610,7 @@ const zu = u.forwardRef(
|
|
|
12562
12610
|
"div",
|
|
12563
12611
|
{
|
|
12564
12612
|
className: P(
|
|
12613
|
+
"vero-radio",
|
|
12565
12614
|
"group relative rounded-lg border-2 border-muted bg-popover px-4 py-4",
|
|
12566
12615
|
"has-[[data-state=checked]]:border-primary-400",
|
|
12567
12616
|
o ? "cursor-not-allowed opacity-50 [&_*]:cursor-not-allowed" : "cursor-pointer hover:bg-accent hover:text-accent-foreground",
|
|
@@ -12662,7 +12711,7 @@ const D0 = u.forwardRef(
|
|
|
12662
12711
|
k0,
|
|
12663
12712
|
{
|
|
12664
12713
|
ref: f,
|
|
12665
|
-
className: P(p, o),
|
|
12714
|
+
className: P("vero-radio-group", p, o),
|
|
12666
12715
|
id: i,
|
|
12667
12716
|
value: n,
|
|
12668
12717
|
onValueChange: r,
|
|
@@ -13578,6 +13627,7 @@ const kd = u.forwardRef(({ className: e, children: t, isDisabled: n = !1, hasVal
|
|
|
13578
13627
|
{
|
|
13579
13628
|
ref: a,
|
|
13580
13629
|
className: P(
|
|
13630
|
+
"vero-select",
|
|
13581
13631
|
ce.input,
|
|
13582
13632
|
ce.focusRing,
|
|
13583
13633
|
`min-w-0 items-center justify-between text-left [&>span]:min-w-0 [&>span]:flex-1
|
|
@@ -13915,6 +13965,7 @@ function ES({
|
|
|
13915
13965
|
ref: c,
|
|
13916
13966
|
"aria-label": "Step indicator",
|
|
13917
13967
|
className: P(
|
|
13968
|
+
"vero-step-indicator",
|
|
13918
13969
|
vS({ orientation: "horizontal" }),
|
|
13919
13970
|
e
|
|
13920
13971
|
),
|
|
@@ -14087,7 +14138,7 @@ const DS = `peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center round
|
|
|
14087
14138
|
...i
|
|
14088
14139
|
}, s) => {
|
|
14089
14140
|
const c = _e({ isDisabled: a }), l = Zt(), d = n ?? l;
|
|
14090
|
-
return Da("Switch", t, r), /* @__PURE__ */ T("div", { className: "flex items-center space-x-2", children: [
|
|
14141
|
+
return Da("Switch", t, r), /* @__PURE__ */ T("div", { className: P("vero-switch", "flex items-center space-x-2"), children: [
|
|
14091
14142
|
/* @__PURE__ */ m(
|
|
14092
14143
|
Bd,
|
|
14093
14144
|
{
|
|
@@ -14142,7 +14193,7 @@ const OS = D.forwardRef(
|
|
|
14142
14193
|
},
|
|
14143
14194
|
[n, t]
|
|
14144
14195
|
);
|
|
14145
|
-
return /* @__PURE__ */ m("div", { ref: c, className: P(l, r), ...s, children: e.map((f) => /* @__PURE__ */ m(
|
|
14196
|
+
return /* @__PURE__ */ m("div", { ref: c, className: P("vero-switch-group", l, r), ...s, children: e.map((f) => /* @__PURE__ */ m(
|
|
14146
14197
|
Hd,
|
|
14147
14198
|
{
|
|
14148
14199
|
id: f.id,
|
|
@@ -14638,7 +14689,15 @@ function of(e, t) {
|
|
|
14638
14689
|
}
|
|
14639
14690
|
var af = Xd, sf = Qd, cf = ef, lf = nf;
|
|
14640
14691
|
const rN = u.forwardRef(
|
|
14641
|
-
({ ...e }, t) => /* @__PURE__ */ m(
|
|
14692
|
+
({ ...e }, t) => /* @__PURE__ */ m(
|
|
14693
|
+
af,
|
|
14694
|
+
{
|
|
14695
|
+
ref: t,
|
|
14696
|
+
activationMode: "manual",
|
|
14697
|
+
...e,
|
|
14698
|
+
className: P("vero-tabs", e.className)
|
|
14699
|
+
}
|
|
14700
|
+
)
|
|
14642
14701
|
);
|
|
14643
14702
|
rN.displayName = af.displayName;
|
|
14644
14703
|
const oN = u.forwardRef(
|
|
@@ -14688,7 +14747,7 @@ sN.displayName = lf.displayName;
|
|
|
14688
14747
|
const iN = D.forwardRef(
|
|
14689
14748
|
({ className: e, isDisabled: t = !1, isGrowable: n = !1, ...r }, o) => {
|
|
14690
14749
|
const a = Fe(null), i = _e({ isDisabled: t });
|
|
14691
|
-
return
|
|
14750
|
+
return dt(() => {
|
|
14692
14751
|
if (n && a.current) {
|
|
14693
14752
|
const s = a.current, c = () => {
|
|
14694
14753
|
s.style.height = "auto", s.style.height = `${s.scrollHeight}px`;
|
|
@@ -14702,6 +14761,7 @@ const iN = D.forwardRef(
|
|
|
14702
14761
|
typeof o == "function" ? o(s) : o && (o.current = s), a.current = s;
|
|
14703
14762
|
},
|
|
14704
14763
|
className: P(
|
|
14764
|
+
"vero-textarea",
|
|
14705
14765
|
ce.input,
|
|
14706
14766
|
"min-h-[5rem]",
|
|
14707
14767
|
n && "resize-none overflow-hidden",
|
|
@@ -15568,7 +15628,7 @@ const iE = u.forwardRef(
|
|
|
15568
15628
|
{
|
|
15569
15629
|
ref: p,
|
|
15570
15630
|
align: r,
|
|
15571
|
-
className: P(ce.tooltip, i),
|
|
15631
|
+
className: P("vero-tooltip", ce.tooltip, i),
|
|
15572
15632
|
side: n,
|
|
15573
15633
|
sideOffset: o,
|
|
15574
15634
|
style: { zIndex: h, ...f.style },
|