@homlista-devs/ui 2.0.0 → 2.0.2
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/design-system.cjs.js +17 -22
- package/dist/design-system.cjs.js.map +1 -1
- package/dist/design-system.es.js +808 -826
- package/dist/design-system.es.js.map +1 -1
- package/dist/index.css +58 -58
- package/dist/precompiled.css +58 -58
- package/dist/types/widgets/header/model/types.d.ts +4 -0
- package/dist/types/widgets/header/model/types.d.ts.map +1 -1
- package/dist/types/widgets/header/ui/header.d.ts.map +1 -1
- package/dist/types/widgets/property-gallery/ui/property-gallery.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/design-system.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as r, jsxs as p, Fragment as
|
|
1
|
+
import { jsx as r, jsxs as p, Fragment as oe } from "react/jsx-runtime";
|
|
2
2
|
import * as N from "react";
|
|
3
|
-
import
|
|
3
|
+
import D, { useState as re, useMemo as Se, useCallback as Ge, useEffect as ve, forwardRef as Ce, createElement as Ie, useContext as Et } from "react";
|
|
4
4
|
import { createPortal as It } from "react-dom";
|
|
5
|
-
import { createEvent as $e, createStore as
|
|
6
|
-
import { useUnit as
|
|
7
|
-
function
|
|
5
|
+
import { createEvent as $e, createStore as Rt } from "effector";
|
|
6
|
+
import { useUnit as jt } from "effector-react";
|
|
7
|
+
function At(e, t) {
|
|
8
8
|
return !t || t === "all" ? e : e.filter((o) => o.categoryId === t);
|
|
9
9
|
}
|
|
10
10
|
function Lt(e, t) {
|
|
@@ -35,13 +35,13 @@ function Ot(e) {
|
|
|
35
35
|
if (c === 0)
|
|
36
36
|
u = i / m;
|
|
37
37
|
else {
|
|
38
|
-
const
|
|
39
|
-
u = i * (c *
|
|
38
|
+
const h = Math.pow(1 + c, m);
|
|
39
|
+
u = i * (c * h) / (h - 1);
|
|
40
40
|
}
|
|
41
|
-
const d = u * m, g = d - i,
|
|
41
|
+
const d = u * m, g = d - i, T = u + s + l;
|
|
42
42
|
return {
|
|
43
43
|
monthlyPayment: Math.round(u * 100) / 100,
|
|
44
|
-
totalMonthlyPayment: Math.round(
|
|
44
|
+
totalMonthlyPayment: Math.round(T * 100) / 100,
|
|
45
45
|
totalAmount: Math.round(d * 100) / 100,
|
|
46
46
|
totalInterest: Math.round(g * 100) / 100,
|
|
47
47
|
loanPrincipal: Math.round(i * 100) / 100,
|
|
@@ -60,10 +60,10 @@ function ue(e, t = "MXN") {
|
|
|
60
60
|
maximumFractionDigits: 0
|
|
61
61
|
}).format(e);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function na(e, t = 3) {
|
|
64
64
|
return `${e.toFixed(t)} %`;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function sa(e) {
|
|
67
67
|
const t = {};
|
|
68
68
|
return (!e.propertyPrice || e.propertyPrice <= 0) && (t.propertyPrice = "El precio de la propiedad debe ser mayor a 0"), (!e.downPayment || e.downPayment < 0) && (t.downPayment = "El enganche debe ser mayor o igual a 0"), e.propertyPrice && e.downPayment && e.downPayment >= e.propertyPrice && (t.downPayment = "El enganche debe ser menor al precio de la propiedad"), (!e.loanTerm || e.loanTerm <= 0) && (t.loanTerm = "El plazo del préstamo debe ser mayor a 0"), (e.interestRate === void 0 || e.interestRate < 0) && (t.interestRate = "La tasa de interés debe ser mayor o igual a 0"), {
|
|
69
69
|
isValid: Object.keys(t).length === 0,
|
|
@@ -95,16 +95,16 @@ const Ue = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, qe = at, Y
|
|
|
95
95
|
let [d, g] = u;
|
|
96
96
|
return g === void 0 || (m[d] = g), m;
|
|
97
97
|
}, {}), c = t == null || (a = t.compoundVariants) === null || a === void 0 ? void 0 : a.reduce((m, u) => {
|
|
98
|
-
let { class: d, className: g, ...
|
|
99
|
-
return Object.entries(
|
|
100
|
-
let [w,
|
|
101
|
-
return Array.isArray(
|
|
98
|
+
let { class: d, className: g, ...T } = u;
|
|
99
|
+
return Object.entries(T).every((h) => {
|
|
100
|
+
let [w, v] = h;
|
|
101
|
+
return Array.isArray(v) ? v.includes({
|
|
102
102
|
...s,
|
|
103
103
|
...i
|
|
104
104
|
}[w]) : {
|
|
105
105
|
...s,
|
|
106
106
|
...i
|
|
107
|
-
}[w] ===
|
|
107
|
+
}[w] === v;
|
|
108
108
|
}) ? [
|
|
109
109
|
...m,
|
|
110
110
|
d,
|
|
@@ -244,9 +244,9 @@ const Oe = "-", qt = (e) => {
|
|
|
244
244
|
validators: []
|
|
245
245
|
};
|
|
246
246
|
for (const n in o)
|
|
247
|
-
|
|
247
|
+
Re(o[n], a, n, t);
|
|
248
248
|
return a;
|
|
249
|
-
},
|
|
249
|
+
}, Re = (e, t, o, a) => {
|
|
250
250
|
e.forEach((n) => {
|
|
251
251
|
if (typeof n == "string") {
|
|
252
252
|
const s = n === "" ? t : Ze(t, n);
|
|
@@ -255,7 +255,7 @@ const Oe = "-", qt = (e) => {
|
|
|
255
255
|
}
|
|
256
256
|
if (typeof n == "function") {
|
|
257
257
|
if (Zt(n)) {
|
|
258
|
-
|
|
258
|
+
Re(n(a), t, o, a);
|
|
259
259
|
return;
|
|
260
260
|
}
|
|
261
261
|
t.validators.push({
|
|
@@ -265,7 +265,7 @@ const Oe = "-", qt = (e) => {
|
|
|
265
265
|
return;
|
|
266
266
|
}
|
|
267
267
|
Object.entries(n).forEach(([s, l]) => {
|
|
268
|
-
|
|
268
|
+
Re(l, Ze(t, s), o, a);
|
|
269
269
|
});
|
|
270
270
|
});
|
|
271
271
|
}, Ze = (e, t) => {
|
|
@@ -300,7 +300,7 @@ const Oe = "-", qt = (e) => {
|
|
|
300
300
|
o.has(s) ? o.set(s, l) : n(s, l);
|
|
301
301
|
}
|
|
302
302
|
};
|
|
303
|
-
},
|
|
303
|
+
}, je = "!", Ae = ":", Qt = Ae.length, Yt = (e) => {
|
|
304
304
|
const {
|
|
305
305
|
prefix: t,
|
|
306
306
|
experimentalParseClassName: o
|
|
@@ -308,30 +308,30 @@ const Oe = "-", qt = (e) => {
|
|
|
308
308
|
let a = (n) => {
|
|
309
309
|
const s = [];
|
|
310
310
|
let l = 0, i = 0, c = 0, m;
|
|
311
|
-
for (let
|
|
312
|
-
let w = n[
|
|
311
|
+
for (let h = 0; h < n.length; h++) {
|
|
312
|
+
let w = n[h];
|
|
313
313
|
if (l === 0 && i === 0) {
|
|
314
|
-
if (w ===
|
|
315
|
-
s.push(n.slice(c,
|
|
314
|
+
if (w === Ae) {
|
|
315
|
+
s.push(n.slice(c, h)), c = h + Qt;
|
|
316
316
|
continue;
|
|
317
317
|
}
|
|
318
318
|
if (w === "/") {
|
|
319
|
-
m =
|
|
319
|
+
m = h;
|
|
320
320
|
continue;
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
w === "[" ? l++ : w === "]" ? l-- : w === "(" ? i++ : w === ")" && i--;
|
|
324
324
|
}
|
|
325
|
-
const u = s.length === 0 ? n : n.substring(c), d = er(u), g = d !== u,
|
|
325
|
+
const u = s.length === 0 ? n : n.substring(c), d = er(u), g = d !== u, T = m && m > c ? m - c : void 0;
|
|
326
326
|
return {
|
|
327
327
|
modifiers: s,
|
|
328
328
|
hasImportantModifier: g,
|
|
329
329
|
baseClassName: d,
|
|
330
|
-
maybePostfixModifierPosition:
|
|
330
|
+
maybePostfixModifierPosition: T
|
|
331
331
|
};
|
|
332
332
|
};
|
|
333
333
|
if (t) {
|
|
334
|
-
const n = t +
|
|
334
|
+
const n = t + Ae, s = a;
|
|
335
335
|
a = (l) => l.startsWith(n) ? s(l.substring(n.length)) : {
|
|
336
336
|
isExternal: !0,
|
|
337
337
|
modifiers: [],
|
|
@@ -348,7 +348,7 @@ const Oe = "-", qt = (e) => {
|
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
350
|
return a;
|
|
351
|
-
}, er = (e) => e.endsWith(
|
|
351
|
+
}, er = (e) => e.endsWith(je) ? e.substring(0, e.length - 1) : e.startsWith(je) ? e.substring(1) : e, tr = (e) => {
|
|
352
352
|
const t = Object.fromEntries(e.orderSensitiveModifiers.map((a) => [a, !0]));
|
|
353
353
|
return (a) => {
|
|
354
354
|
if (a.length <= 1)
|
|
@@ -376,34 +376,34 @@ const Oe = "-", qt = (e) => {
|
|
|
376
376
|
const u = i[m], {
|
|
377
377
|
isExternal: d,
|
|
378
378
|
modifiers: g,
|
|
379
|
-
hasImportantModifier:
|
|
380
|
-
baseClassName:
|
|
379
|
+
hasImportantModifier: T,
|
|
380
|
+
baseClassName: h,
|
|
381
381
|
maybePostfixModifierPosition: w
|
|
382
382
|
} = o(u);
|
|
383
383
|
if (d) {
|
|
384
384
|
c = u + (c.length > 0 ? " " + c : c);
|
|
385
385
|
continue;
|
|
386
386
|
}
|
|
387
|
-
let
|
|
388
|
-
if (!
|
|
389
|
-
if (!
|
|
387
|
+
let v = !!w, y = a(v ? h.substring(0, w) : h);
|
|
388
|
+
if (!y) {
|
|
389
|
+
if (!v) {
|
|
390
390
|
c = u + (c.length > 0 ? " " + c : c);
|
|
391
391
|
continue;
|
|
392
392
|
}
|
|
393
|
-
if (
|
|
393
|
+
if (y = a(h), !y) {
|
|
394
394
|
c = u + (c.length > 0 ? " " + c : c);
|
|
395
395
|
continue;
|
|
396
396
|
}
|
|
397
|
-
|
|
397
|
+
v = !1;
|
|
398
398
|
}
|
|
399
|
-
const E = s(g).join(":"), S =
|
|
400
|
-
if (l.includes(
|
|
399
|
+
const E = s(g).join(":"), S = T ? E + je : E, P = S + y;
|
|
400
|
+
if (l.includes(P))
|
|
401
401
|
continue;
|
|
402
|
-
l.push(
|
|
403
|
-
const
|
|
404
|
-
for (let
|
|
405
|
-
const
|
|
406
|
-
l.push(S +
|
|
402
|
+
l.push(P);
|
|
403
|
+
const C = n(y, v);
|
|
404
|
+
for (let A = 0; A < C.length; ++A) {
|
|
405
|
+
const I = C[A];
|
|
406
|
+
l.push(S + I);
|
|
407
407
|
}
|
|
408
408
|
c = u + (c.length > 0 ? " " + c : c);
|
|
409
409
|
}
|
|
@@ -443,19 +443,19 @@ function sr(e, ...t) {
|
|
|
443
443
|
const $ = (e) => {
|
|
444
444
|
const t = (o) => o[e] || [];
|
|
445
445
|
return t.isThemeGetter = !0, t;
|
|
446
|
-
}, lt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, it = /^\((?:(\w[\w-]*):)?(.+)\)$/i, lr = /^\d+\/\d+$/, ir = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, cr = /\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$/, dr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, mr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ur = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, se = (e) => lr.test(e),
|
|
446
|
+
}, lt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, it = /^\((?:(\w[\w-]*):)?(.+)\)$/i, lr = /^\d+\/\d+$/, ir = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, cr = /\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$/, dr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, mr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ur = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, se = (e) => lr.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), J = (e) => !!e && Number.isInteger(Number(e)), Te = (e) => e.endsWith("%") && z(e.slice(0, -1)), X = (e) => ir.test(e), pr = () => !0, fr = (e) => (
|
|
447
447
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
448
448
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
449
449
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
450
450
|
cr.test(e) && !dr.test(e)
|
|
451
|
-
), ct = () => !1, hr = (e) => mr.test(e), gr = (e) => ur.test(e), br = (e) => !
|
|
451
|
+
), ct = () => !1, hr = (e) => mr.test(e), gr = (e) => ur.test(e), br = (e) => !b(e) && !x(e), xr = (e) => ce(e, ut, ct), b = (e) => lt.test(e), te = (e) => ce(e, pt, fr), Pe = (e) => ce(e, Nr, z), Je = (e) => ce(e, dt, ct), yr = (e) => ce(e, mt, gr), we = (e) => ce(e, ft, hr), x = (e) => it.test(e), pe = (e) => de(e, pt), vr = (e) => de(e, Cr), Qe = (e) => de(e, dt), wr = (e) => de(e, ut), kr = (e) => de(e, mt), ke = (e) => de(e, ft, !0), ce = (e, t, o) => {
|
|
452
452
|
const a = lt.exec(e);
|
|
453
453
|
return a ? a[1] ? t(a[1]) : o(a[2]) : !1;
|
|
454
454
|
}, de = (e, t, o = !1) => {
|
|
455
455
|
const a = it.exec(e);
|
|
456
456
|
return a ? a[1] ? t(a[1]) : o : !1;
|
|
457
457
|
}, dt = (e) => e === "position" || e === "percentage", mt = (e) => e === "image" || e === "url", ut = (e) => e === "length" || e === "size" || e === "bg-size", pt = (e) => e === "length", Nr = (e) => e === "number", Cr = (e) => e === "family-name", ft = (e) => e === "shadow", Mr = () => {
|
|
458
|
-
const e = $("color"), t = $("font"), o = $("text"), a = $("font-weight"), n = $("tracking"), s = $("leading"), l = $("breakpoint"), i = $("container"), c = $("spacing"), m = $("radius"), u = $("shadow"), d = $("inset-shadow"), g = $("text-shadow"),
|
|
458
|
+
const e = $("color"), t = $("font"), o = $("text"), a = $("font-weight"), n = $("tracking"), s = $("leading"), l = $("breakpoint"), i = $("container"), c = $("spacing"), m = $("radius"), u = $("shadow"), d = $("inset-shadow"), g = $("text-shadow"), T = $("drop-shadow"), h = $("blur"), w = $("perspective"), v = $("aspect"), y = $("ease"), E = $("animate"), S = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], P = () => [
|
|
459
459
|
"center",
|
|
460
460
|
"top",
|
|
461
461
|
"bottom",
|
|
@@ -473,51 +473,51 @@ const $ = (e) => {
|
|
|
473
473
|
"bottom-left",
|
|
474
474
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
475
475
|
"left-bottom"
|
|
476
|
-
],
|
|
477
|
-
span: ["full",
|
|
478
|
-
},
|
|
479
|
-
position: [
|
|
476
|
+
], C = () => [...P(), x, b], A = () => ["auto", "hidden", "clip", "visible", "scroll"], I = () => ["auto", "contain", "none"], k = () => [x, b, c], R = () => [se, "full", "auto", ...k()], G = () => [J, "none", "subgrid", x, b], K = () => ["auto", {
|
|
477
|
+
span: ["full", J, x, b]
|
|
478
|
+
}, J, x, b], Z = () => [J, "auto", x, b], ne = () => ["auto", "min", "max", "fr", x, b], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...k()], q = () => [se, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], M = () => [e, x, b], he = () => [...P(), Qe, Je, {
|
|
479
|
+
position: [x, b]
|
|
480
480
|
}], me = () => ["no-repeat", {
|
|
481
481
|
repeat: ["", "x", "y", "space", "round"]
|
|
482
482
|
}], V = () => ["auto", "cover", "contain", wr, xr, {
|
|
483
|
-
size: [
|
|
484
|
-
}], F = () => [Te, pe, te],
|
|
483
|
+
size: [x, b]
|
|
484
|
+
}], F = () => [Te, pe, te], L = () => [
|
|
485
485
|
// Deprecated since Tailwind CSS v4.0.0
|
|
486
486
|
"",
|
|
487
487
|
"none",
|
|
488
488
|
"full",
|
|
489
489
|
m,
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
],
|
|
490
|
+
x,
|
|
491
|
+
b
|
|
492
|
+
], U = () => ["", z, pe, te], ge = () => ["solid", "dashed", "dotted", "double"], Be = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], O = () => [z, Te, Qe, Je], He = () => [
|
|
493
493
|
// Deprecated since Tailwind CSS v4.0.0
|
|
494
494
|
"",
|
|
495
495
|
"none",
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
], be = () => ["none",
|
|
496
|
+
h,
|
|
497
|
+
x,
|
|
498
|
+
b
|
|
499
|
+
], be = () => ["none", z, x, b], xe = () => ["none", z, x, b], Me = () => [z, x, b], ye = () => [se, "full", ...k()];
|
|
500
500
|
return {
|
|
501
501
|
cacheSize: 500,
|
|
502
502
|
theme: {
|
|
503
503
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
504
504
|
aspect: ["video"],
|
|
505
|
-
blur: [
|
|
506
|
-
breakpoint: [
|
|
505
|
+
blur: [X],
|
|
506
|
+
breakpoint: [X],
|
|
507
507
|
color: [pr],
|
|
508
|
-
container: [
|
|
509
|
-
"drop-shadow": [
|
|
508
|
+
container: [X],
|
|
509
|
+
"drop-shadow": [X],
|
|
510
510
|
ease: ["in", "out", "in-out"],
|
|
511
511
|
font: [br],
|
|
512
512
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
513
|
-
"inset-shadow": [
|
|
513
|
+
"inset-shadow": [X],
|
|
514
514
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
515
515
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
516
|
-
radius: [
|
|
517
|
-
shadow: [
|
|
518
|
-
spacing: ["px",
|
|
519
|
-
text: [
|
|
520
|
-
"text-shadow": [
|
|
516
|
+
radius: [X],
|
|
517
|
+
shadow: [X],
|
|
518
|
+
spacing: ["px", z],
|
|
519
|
+
text: [X],
|
|
520
|
+
"text-shadow": [X],
|
|
521
521
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
522
522
|
},
|
|
523
523
|
classGroups: {
|
|
@@ -529,7 +529,7 @@ const $ = (e) => {
|
|
|
529
529
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
530
530
|
*/
|
|
531
531
|
aspect: [{
|
|
532
|
-
aspect: ["auto", "square", se,
|
|
532
|
+
aspect: ["auto", "square", se, b, x, v]
|
|
533
533
|
}],
|
|
534
534
|
/**
|
|
535
535
|
* Container
|
|
@@ -542,7 +542,7 @@ const $ = (e) => {
|
|
|
542
542
|
* @see https://tailwindcss.com/docs/columns
|
|
543
543
|
*/
|
|
544
544
|
columns: [{
|
|
545
|
-
columns: [
|
|
545
|
+
columns: [z, b, x, i]
|
|
546
546
|
}],
|
|
547
547
|
/**
|
|
548
548
|
* Break After
|
|
@@ -620,49 +620,49 @@ const $ = (e) => {
|
|
|
620
620
|
* @see https://tailwindcss.com/docs/object-position
|
|
621
621
|
*/
|
|
622
622
|
"object-position": [{
|
|
623
|
-
object:
|
|
623
|
+
object: C()
|
|
624
624
|
}],
|
|
625
625
|
/**
|
|
626
626
|
* Overflow
|
|
627
627
|
* @see https://tailwindcss.com/docs/overflow
|
|
628
628
|
*/
|
|
629
629
|
overflow: [{
|
|
630
|
-
overflow:
|
|
630
|
+
overflow: A()
|
|
631
631
|
}],
|
|
632
632
|
/**
|
|
633
633
|
* Overflow X
|
|
634
634
|
* @see https://tailwindcss.com/docs/overflow
|
|
635
635
|
*/
|
|
636
636
|
"overflow-x": [{
|
|
637
|
-
"overflow-x":
|
|
637
|
+
"overflow-x": A()
|
|
638
638
|
}],
|
|
639
639
|
/**
|
|
640
640
|
* Overflow Y
|
|
641
641
|
* @see https://tailwindcss.com/docs/overflow
|
|
642
642
|
*/
|
|
643
643
|
"overflow-y": [{
|
|
644
|
-
"overflow-y":
|
|
644
|
+
"overflow-y": A()
|
|
645
645
|
}],
|
|
646
646
|
/**
|
|
647
647
|
* Overscroll Behavior
|
|
648
648
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
649
649
|
*/
|
|
650
650
|
overscroll: [{
|
|
651
|
-
overscroll:
|
|
651
|
+
overscroll: I()
|
|
652
652
|
}],
|
|
653
653
|
/**
|
|
654
654
|
* Overscroll Behavior X
|
|
655
655
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
656
656
|
*/
|
|
657
657
|
"overscroll-x": [{
|
|
658
|
-
"overscroll-x":
|
|
658
|
+
"overscroll-x": I()
|
|
659
659
|
}],
|
|
660
660
|
/**
|
|
661
661
|
* Overscroll Behavior Y
|
|
662
662
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
663
663
|
*/
|
|
664
664
|
"overscroll-y": [{
|
|
665
|
-
"overscroll-y":
|
|
665
|
+
"overscroll-y": I()
|
|
666
666
|
}],
|
|
667
667
|
/**
|
|
668
668
|
* Position
|
|
@@ -674,63 +674,63 @@ const $ = (e) => {
|
|
|
674
674
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
675
675
|
*/
|
|
676
676
|
inset: [{
|
|
677
|
-
inset:
|
|
677
|
+
inset: R()
|
|
678
678
|
}],
|
|
679
679
|
/**
|
|
680
680
|
* Right / Left
|
|
681
681
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
682
682
|
*/
|
|
683
683
|
"inset-x": [{
|
|
684
|
-
"inset-x":
|
|
684
|
+
"inset-x": R()
|
|
685
685
|
}],
|
|
686
686
|
/**
|
|
687
687
|
* Top / Bottom
|
|
688
688
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
689
689
|
*/
|
|
690
690
|
"inset-y": [{
|
|
691
|
-
"inset-y":
|
|
691
|
+
"inset-y": R()
|
|
692
692
|
}],
|
|
693
693
|
/**
|
|
694
694
|
* Start
|
|
695
695
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
696
696
|
*/
|
|
697
697
|
start: [{
|
|
698
|
-
start:
|
|
698
|
+
start: R()
|
|
699
699
|
}],
|
|
700
700
|
/**
|
|
701
701
|
* End
|
|
702
702
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
703
703
|
*/
|
|
704
704
|
end: [{
|
|
705
|
-
end:
|
|
705
|
+
end: R()
|
|
706
706
|
}],
|
|
707
707
|
/**
|
|
708
708
|
* Top
|
|
709
709
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
710
710
|
*/
|
|
711
711
|
top: [{
|
|
712
|
-
top:
|
|
712
|
+
top: R()
|
|
713
713
|
}],
|
|
714
714
|
/**
|
|
715
715
|
* Right
|
|
716
716
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
717
717
|
*/
|
|
718
718
|
right: [{
|
|
719
|
-
right:
|
|
719
|
+
right: R()
|
|
720
720
|
}],
|
|
721
721
|
/**
|
|
722
722
|
* Bottom
|
|
723
723
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
724
724
|
*/
|
|
725
725
|
bottom: [{
|
|
726
|
-
bottom:
|
|
726
|
+
bottom: R()
|
|
727
727
|
}],
|
|
728
728
|
/**
|
|
729
729
|
* Left
|
|
730
730
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
731
731
|
*/
|
|
732
732
|
left: [{
|
|
733
|
-
left:
|
|
733
|
+
left: R()
|
|
734
734
|
}],
|
|
735
735
|
/**
|
|
736
736
|
* Visibility
|
|
@@ -742,7 +742,7 @@ const $ = (e) => {
|
|
|
742
742
|
* @see https://tailwindcss.com/docs/z-index
|
|
743
743
|
*/
|
|
744
744
|
z: [{
|
|
745
|
-
z: [
|
|
745
|
+
z: [J, "auto", x, b]
|
|
746
746
|
}],
|
|
747
747
|
// ------------------------
|
|
748
748
|
// --- Flexbox and Grid ---
|
|
@@ -773,84 +773,84 @@ const $ = (e) => {
|
|
|
773
773
|
* @see https://tailwindcss.com/docs/flex
|
|
774
774
|
*/
|
|
775
775
|
flex: [{
|
|
776
|
-
flex: [
|
|
776
|
+
flex: [z, se, "auto", "initial", "none", b]
|
|
777
777
|
}],
|
|
778
778
|
/**
|
|
779
779
|
* Flex Grow
|
|
780
780
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
781
781
|
*/
|
|
782
782
|
grow: [{
|
|
783
|
-
grow: ["",
|
|
783
|
+
grow: ["", z, x, b]
|
|
784
784
|
}],
|
|
785
785
|
/**
|
|
786
786
|
* Flex Shrink
|
|
787
787
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
788
788
|
*/
|
|
789
789
|
shrink: [{
|
|
790
|
-
shrink: ["",
|
|
790
|
+
shrink: ["", z, x, b]
|
|
791
791
|
}],
|
|
792
792
|
/**
|
|
793
793
|
* Order
|
|
794
794
|
* @see https://tailwindcss.com/docs/order
|
|
795
795
|
*/
|
|
796
796
|
order: [{
|
|
797
|
-
order: [
|
|
797
|
+
order: [J, "first", "last", "none", x, b]
|
|
798
798
|
}],
|
|
799
799
|
/**
|
|
800
800
|
* Grid Template Columns
|
|
801
801
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
802
802
|
*/
|
|
803
803
|
"grid-cols": [{
|
|
804
|
-
"grid-cols":
|
|
804
|
+
"grid-cols": G()
|
|
805
805
|
}],
|
|
806
806
|
/**
|
|
807
807
|
* Grid Column Start / End
|
|
808
808
|
* @see https://tailwindcss.com/docs/grid-column
|
|
809
809
|
*/
|
|
810
810
|
"col-start-end": [{
|
|
811
|
-
col:
|
|
811
|
+
col: K()
|
|
812
812
|
}],
|
|
813
813
|
/**
|
|
814
814
|
* Grid Column Start
|
|
815
815
|
* @see https://tailwindcss.com/docs/grid-column
|
|
816
816
|
*/
|
|
817
817
|
"col-start": [{
|
|
818
|
-
"col-start":
|
|
818
|
+
"col-start": Z()
|
|
819
819
|
}],
|
|
820
820
|
/**
|
|
821
821
|
* Grid Column End
|
|
822
822
|
* @see https://tailwindcss.com/docs/grid-column
|
|
823
823
|
*/
|
|
824
824
|
"col-end": [{
|
|
825
|
-
"col-end":
|
|
825
|
+
"col-end": Z()
|
|
826
826
|
}],
|
|
827
827
|
/**
|
|
828
828
|
* Grid Template Rows
|
|
829
829
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
830
830
|
*/
|
|
831
831
|
"grid-rows": [{
|
|
832
|
-
"grid-rows":
|
|
832
|
+
"grid-rows": G()
|
|
833
833
|
}],
|
|
834
834
|
/**
|
|
835
835
|
* Grid Row Start / End
|
|
836
836
|
* @see https://tailwindcss.com/docs/grid-row
|
|
837
837
|
*/
|
|
838
838
|
"row-start-end": [{
|
|
839
|
-
row:
|
|
839
|
+
row: K()
|
|
840
840
|
}],
|
|
841
841
|
/**
|
|
842
842
|
* Grid Row Start
|
|
843
843
|
* @see https://tailwindcss.com/docs/grid-row
|
|
844
844
|
*/
|
|
845
845
|
"row-start": [{
|
|
846
|
-
"row-start":
|
|
846
|
+
"row-start": Z()
|
|
847
847
|
}],
|
|
848
848
|
/**
|
|
849
849
|
* Grid Row End
|
|
850
850
|
* @see https://tailwindcss.com/docs/grid-row
|
|
851
851
|
*/
|
|
852
852
|
"row-end": [{
|
|
853
|
-
"row-end":
|
|
853
|
+
"row-end": Z()
|
|
854
854
|
}],
|
|
855
855
|
/**
|
|
856
856
|
* Grid Auto Flow
|
|
@@ -906,14 +906,14 @@ const $ = (e) => {
|
|
|
906
906
|
* @see https://tailwindcss.com/docs/justify-items
|
|
907
907
|
*/
|
|
908
908
|
"justify-items": [{
|
|
909
|
-
"justify-items": [...
|
|
909
|
+
"justify-items": [...W(), "normal"]
|
|
910
910
|
}],
|
|
911
911
|
/**
|
|
912
912
|
* Justify Self
|
|
913
913
|
* @see https://tailwindcss.com/docs/justify-self
|
|
914
914
|
*/
|
|
915
915
|
"justify-self": [{
|
|
916
|
-
"justify-self": ["auto", ...
|
|
916
|
+
"justify-self": ["auto", ...W()]
|
|
917
917
|
}],
|
|
918
918
|
/**
|
|
919
919
|
* Align Content
|
|
@@ -927,7 +927,7 @@ const $ = (e) => {
|
|
|
927
927
|
* @see https://tailwindcss.com/docs/align-items
|
|
928
928
|
*/
|
|
929
929
|
"align-items": [{
|
|
930
|
-
items: [...
|
|
930
|
+
items: [...W(), {
|
|
931
931
|
baseline: ["", "last"]
|
|
932
932
|
}]
|
|
933
933
|
}],
|
|
@@ -936,7 +936,7 @@ const $ = (e) => {
|
|
|
936
936
|
* @see https://tailwindcss.com/docs/align-self
|
|
937
937
|
*/
|
|
938
938
|
"align-self": [{
|
|
939
|
-
self: ["auto", ...
|
|
939
|
+
self: ["auto", ...W(), {
|
|
940
940
|
baseline: ["", "last"]
|
|
941
941
|
}]
|
|
942
942
|
}],
|
|
@@ -952,14 +952,14 @@ const $ = (e) => {
|
|
|
952
952
|
* @see https://tailwindcss.com/docs/place-items
|
|
953
953
|
*/
|
|
954
954
|
"place-items": [{
|
|
955
|
-
"place-items": [...
|
|
955
|
+
"place-items": [...W(), "baseline"]
|
|
956
956
|
}],
|
|
957
957
|
/**
|
|
958
958
|
* Place Self
|
|
959
959
|
* @see https://tailwindcss.com/docs/place-self
|
|
960
960
|
*/
|
|
961
961
|
"place-self": [{
|
|
962
|
-
"place-self": ["auto", ...
|
|
962
|
+
"place-self": ["auto", ...W()]
|
|
963
963
|
}],
|
|
964
964
|
// Spacing
|
|
965
965
|
/**
|
|
@@ -1120,14 +1120,14 @@ const $ = (e) => {
|
|
|
1120
1120
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1121
1121
|
*/
|
|
1122
1122
|
size: [{
|
|
1123
|
-
size:
|
|
1123
|
+
size: q()
|
|
1124
1124
|
}],
|
|
1125
1125
|
/**
|
|
1126
1126
|
* Width
|
|
1127
1127
|
* @see https://tailwindcss.com/docs/width
|
|
1128
1128
|
*/
|
|
1129
1129
|
w: [{
|
|
1130
|
-
w: [i, "screen", ...
|
|
1130
|
+
w: [i, "screen", ...q()]
|
|
1131
1131
|
}],
|
|
1132
1132
|
/**
|
|
1133
1133
|
* Min-Width
|
|
@@ -1139,7 +1139,7 @@ const $ = (e) => {
|
|
|
1139
1139
|
"screen",
|
|
1140
1140
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1141
1141
|
"none",
|
|
1142
|
-
...
|
|
1142
|
+
...q()
|
|
1143
1143
|
]
|
|
1144
1144
|
}],
|
|
1145
1145
|
/**
|
|
@@ -1157,7 +1157,7 @@ const $ = (e) => {
|
|
|
1157
1157
|
{
|
|
1158
1158
|
screen: [l]
|
|
1159
1159
|
},
|
|
1160
|
-
...
|
|
1160
|
+
...q()
|
|
1161
1161
|
]
|
|
1162
1162
|
}],
|
|
1163
1163
|
/**
|
|
@@ -1165,21 +1165,21 @@ const $ = (e) => {
|
|
|
1165
1165
|
* @see https://tailwindcss.com/docs/height
|
|
1166
1166
|
*/
|
|
1167
1167
|
h: [{
|
|
1168
|
-
h: ["screen", "lh", ...
|
|
1168
|
+
h: ["screen", "lh", ...q()]
|
|
1169
1169
|
}],
|
|
1170
1170
|
/**
|
|
1171
1171
|
* Min-Height
|
|
1172
1172
|
* @see https://tailwindcss.com/docs/min-height
|
|
1173
1173
|
*/
|
|
1174
1174
|
"min-h": [{
|
|
1175
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1175
|
+
"min-h": ["screen", "lh", "none", ...q()]
|
|
1176
1176
|
}],
|
|
1177
1177
|
/**
|
|
1178
1178
|
* Max-Height
|
|
1179
1179
|
* @see https://tailwindcss.com/docs/max-height
|
|
1180
1180
|
*/
|
|
1181
1181
|
"max-h": [{
|
|
1182
|
-
"max-h": ["screen", "lh", ...
|
|
1182
|
+
"max-h": ["screen", "lh", ...q()]
|
|
1183
1183
|
}],
|
|
1184
1184
|
// ------------------
|
|
1185
1185
|
// --- Typography ---
|
|
@@ -1206,21 +1206,21 @@ const $ = (e) => {
|
|
|
1206
1206
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1207
1207
|
*/
|
|
1208
1208
|
"font-weight": [{
|
|
1209
|
-
font: [a,
|
|
1209
|
+
font: [a, x, Pe]
|
|
1210
1210
|
}],
|
|
1211
1211
|
/**
|
|
1212
1212
|
* Font Stretch
|
|
1213
1213
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1214
1214
|
*/
|
|
1215
1215
|
"font-stretch": [{
|
|
1216
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Te,
|
|
1216
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Te, b]
|
|
1217
1217
|
}],
|
|
1218
1218
|
/**
|
|
1219
1219
|
* Font Family
|
|
1220
1220
|
* @see https://tailwindcss.com/docs/font-family
|
|
1221
1221
|
*/
|
|
1222
1222
|
"font-family": [{
|
|
1223
|
-
font: [vr,
|
|
1223
|
+
font: [vr, b, t]
|
|
1224
1224
|
}],
|
|
1225
1225
|
/**
|
|
1226
1226
|
* Font Variant Numeric
|
|
@@ -1257,14 +1257,14 @@ const $ = (e) => {
|
|
|
1257
1257
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1258
1258
|
*/
|
|
1259
1259
|
tracking: [{
|
|
1260
|
-
tracking: [n,
|
|
1260
|
+
tracking: [n, x, b]
|
|
1261
1261
|
}],
|
|
1262
1262
|
/**
|
|
1263
1263
|
* Line Clamp
|
|
1264
1264
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1265
1265
|
*/
|
|
1266
1266
|
"line-clamp": [{
|
|
1267
|
-
"line-clamp": [
|
|
1267
|
+
"line-clamp": [z, "none", x, Pe]
|
|
1268
1268
|
}],
|
|
1269
1269
|
/**
|
|
1270
1270
|
* Line Height
|
|
@@ -1282,7 +1282,7 @@ const $ = (e) => {
|
|
|
1282
1282
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1283
1283
|
*/
|
|
1284
1284
|
"list-image": [{
|
|
1285
|
-
"list-image": ["none",
|
|
1285
|
+
"list-image": ["none", x, b]
|
|
1286
1286
|
}],
|
|
1287
1287
|
/**
|
|
1288
1288
|
* List Style Position
|
|
@@ -1296,7 +1296,7 @@ const $ = (e) => {
|
|
|
1296
1296
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1297
1297
|
*/
|
|
1298
1298
|
"list-style-type": [{
|
|
1299
|
-
list: ["disc", "decimal", "none",
|
|
1299
|
+
list: ["disc", "decimal", "none", x, b]
|
|
1300
1300
|
}],
|
|
1301
1301
|
/**
|
|
1302
1302
|
* Text Alignment
|
|
@@ -1311,14 +1311,14 @@ const $ = (e) => {
|
|
|
1311
1311
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1312
1312
|
*/
|
|
1313
1313
|
"placeholder-color": [{
|
|
1314
|
-
placeholder:
|
|
1314
|
+
placeholder: M()
|
|
1315
1315
|
}],
|
|
1316
1316
|
/**
|
|
1317
1317
|
* Text Color
|
|
1318
1318
|
* @see https://tailwindcss.com/docs/text-color
|
|
1319
1319
|
*/
|
|
1320
1320
|
"text-color": [{
|
|
1321
|
-
text:
|
|
1321
|
+
text: M()
|
|
1322
1322
|
}],
|
|
1323
1323
|
/**
|
|
1324
1324
|
* Text Decoration
|
|
@@ -1337,21 +1337,21 @@ const $ = (e) => {
|
|
|
1337
1337
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1338
1338
|
*/
|
|
1339
1339
|
"text-decoration-thickness": [{
|
|
1340
|
-
decoration: [
|
|
1340
|
+
decoration: [z, "from-font", "auto", x, te]
|
|
1341
1341
|
}],
|
|
1342
1342
|
/**
|
|
1343
1343
|
* Text Decoration Color
|
|
1344
1344
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1345
1345
|
*/
|
|
1346
1346
|
"text-decoration-color": [{
|
|
1347
|
-
decoration:
|
|
1347
|
+
decoration: M()
|
|
1348
1348
|
}],
|
|
1349
1349
|
/**
|
|
1350
1350
|
* Text Underline Offset
|
|
1351
1351
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1352
1352
|
*/
|
|
1353
1353
|
"underline-offset": [{
|
|
1354
|
-
"underline-offset": [
|
|
1354
|
+
"underline-offset": [z, "auto", x, b]
|
|
1355
1355
|
}],
|
|
1356
1356
|
/**
|
|
1357
1357
|
* Text Transform
|
|
@@ -1382,7 +1382,7 @@ const $ = (e) => {
|
|
|
1382
1382
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1383
1383
|
*/
|
|
1384
1384
|
"vertical-align": [{
|
|
1385
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1385
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", x, b]
|
|
1386
1386
|
}],
|
|
1387
1387
|
/**
|
|
1388
1388
|
* Whitespace
|
|
@@ -1417,7 +1417,7 @@ const $ = (e) => {
|
|
|
1417
1417
|
* @see https://tailwindcss.com/docs/content
|
|
1418
1418
|
*/
|
|
1419
1419
|
content: [{
|
|
1420
|
-
content: ["none",
|
|
1420
|
+
content: ["none", x, b]
|
|
1421
1421
|
}],
|
|
1422
1422
|
// -------------------
|
|
1423
1423
|
// --- Backgrounds ---
|
|
@@ -1472,9 +1472,9 @@ const $ = (e) => {
|
|
|
1472
1472
|
bg: ["none", {
|
|
1473
1473
|
linear: [{
|
|
1474
1474
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1475
|
-
},
|
|
1476
|
-
radial: ["",
|
|
1477
|
-
conic: [
|
|
1475
|
+
}, J, x, b],
|
|
1476
|
+
radial: ["", x, b],
|
|
1477
|
+
conic: [J, x, b]
|
|
1478
1478
|
}, kr, yr]
|
|
1479
1479
|
}],
|
|
1480
1480
|
/**
|
|
@@ -1482,7 +1482,7 @@ const $ = (e) => {
|
|
|
1482
1482
|
* @see https://tailwindcss.com/docs/background-color
|
|
1483
1483
|
*/
|
|
1484
1484
|
"bg-color": [{
|
|
1485
|
-
bg:
|
|
1485
|
+
bg: M()
|
|
1486
1486
|
}],
|
|
1487
1487
|
/**
|
|
1488
1488
|
* Gradient Color Stops From Position
|
|
@@ -1510,21 +1510,21 @@ const $ = (e) => {
|
|
|
1510
1510
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1511
1511
|
*/
|
|
1512
1512
|
"gradient-from": [{
|
|
1513
|
-
from:
|
|
1513
|
+
from: M()
|
|
1514
1514
|
}],
|
|
1515
1515
|
/**
|
|
1516
1516
|
* Gradient Color Stops Via
|
|
1517
1517
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1518
1518
|
*/
|
|
1519
1519
|
"gradient-via": [{
|
|
1520
|
-
via:
|
|
1520
|
+
via: M()
|
|
1521
1521
|
}],
|
|
1522
1522
|
/**
|
|
1523
1523
|
* Gradient Color Stops To
|
|
1524
1524
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1525
1525
|
*/
|
|
1526
1526
|
"gradient-to": [{
|
|
1527
|
-
to:
|
|
1527
|
+
to: M()
|
|
1528
1528
|
}],
|
|
1529
1529
|
// ---------------
|
|
1530
1530
|
// --- Borders ---
|
|
@@ -1534,175 +1534,175 @@ const $ = (e) => {
|
|
|
1534
1534
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1535
1535
|
*/
|
|
1536
1536
|
rounded: [{
|
|
1537
|
-
rounded:
|
|
1537
|
+
rounded: L()
|
|
1538
1538
|
}],
|
|
1539
1539
|
/**
|
|
1540
1540
|
* Border Radius Start
|
|
1541
1541
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1542
1542
|
*/
|
|
1543
1543
|
"rounded-s": [{
|
|
1544
|
-
"rounded-s":
|
|
1544
|
+
"rounded-s": L()
|
|
1545
1545
|
}],
|
|
1546
1546
|
/**
|
|
1547
1547
|
* Border Radius End
|
|
1548
1548
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1549
1549
|
*/
|
|
1550
1550
|
"rounded-e": [{
|
|
1551
|
-
"rounded-e":
|
|
1551
|
+
"rounded-e": L()
|
|
1552
1552
|
}],
|
|
1553
1553
|
/**
|
|
1554
1554
|
* Border Radius Top
|
|
1555
1555
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1556
1556
|
*/
|
|
1557
1557
|
"rounded-t": [{
|
|
1558
|
-
"rounded-t":
|
|
1558
|
+
"rounded-t": L()
|
|
1559
1559
|
}],
|
|
1560
1560
|
/**
|
|
1561
1561
|
* Border Radius Right
|
|
1562
1562
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1563
1563
|
*/
|
|
1564
1564
|
"rounded-r": [{
|
|
1565
|
-
"rounded-r":
|
|
1565
|
+
"rounded-r": L()
|
|
1566
1566
|
}],
|
|
1567
1567
|
/**
|
|
1568
1568
|
* Border Radius Bottom
|
|
1569
1569
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1570
1570
|
*/
|
|
1571
1571
|
"rounded-b": [{
|
|
1572
|
-
"rounded-b":
|
|
1572
|
+
"rounded-b": L()
|
|
1573
1573
|
}],
|
|
1574
1574
|
/**
|
|
1575
1575
|
* Border Radius Left
|
|
1576
1576
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1577
1577
|
*/
|
|
1578
1578
|
"rounded-l": [{
|
|
1579
|
-
"rounded-l":
|
|
1579
|
+
"rounded-l": L()
|
|
1580
1580
|
}],
|
|
1581
1581
|
/**
|
|
1582
1582
|
* Border Radius Start Start
|
|
1583
1583
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1584
1584
|
*/
|
|
1585
1585
|
"rounded-ss": [{
|
|
1586
|
-
"rounded-ss":
|
|
1586
|
+
"rounded-ss": L()
|
|
1587
1587
|
}],
|
|
1588
1588
|
/**
|
|
1589
1589
|
* Border Radius Start End
|
|
1590
1590
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1591
1591
|
*/
|
|
1592
1592
|
"rounded-se": [{
|
|
1593
|
-
"rounded-se":
|
|
1593
|
+
"rounded-se": L()
|
|
1594
1594
|
}],
|
|
1595
1595
|
/**
|
|
1596
1596
|
* Border Radius End End
|
|
1597
1597
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1598
1598
|
*/
|
|
1599
1599
|
"rounded-ee": [{
|
|
1600
|
-
"rounded-ee":
|
|
1600
|
+
"rounded-ee": L()
|
|
1601
1601
|
}],
|
|
1602
1602
|
/**
|
|
1603
1603
|
* Border Radius End Start
|
|
1604
1604
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1605
1605
|
*/
|
|
1606
1606
|
"rounded-es": [{
|
|
1607
|
-
"rounded-es":
|
|
1607
|
+
"rounded-es": L()
|
|
1608
1608
|
}],
|
|
1609
1609
|
/**
|
|
1610
1610
|
* Border Radius Top Left
|
|
1611
1611
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1612
1612
|
*/
|
|
1613
1613
|
"rounded-tl": [{
|
|
1614
|
-
"rounded-tl":
|
|
1614
|
+
"rounded-tl": L()
|
|
1615
1615
|
}],
|
|
1616
1616
|
/**
|
|
1617
1617
|
* Border Radius Top Right
|
|
1618
1618
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1619
1619
|
*/
|
|
1620
1620
|
"rounded-tr": [{
|
|
1621
|
-
"rounded-tr":
|
|
1621
|
+
"rounded-tr": L()
|
|
1622
1622
|
}],
|
|
1623
1623
|
/**
|
|
1624
1624
|
* Border Radius Bottom Right
|
|
1625
1625
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1626
1626
|
*/
|
|
1627
1627
|
"rounded-br": [{
|
|
1628
|
-
"rounded-br":
|
|
1628
|
+
"rounded-br": L()
|
|
1629
1629
|
}],
|
|
1630
1630
|
/**
|
|
1631
1631
|
* Border Radius Bottom Left
|
|
1632
1632
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1633
1633
|
*/
|
|
1634
1634
|
"rounded-bl": [{
|
|
1635
|
-
"rounded-bl":
|
|
1635
|
+
"rounded-bl": L()
|
|
1636
1636
|
}],
|
|
1637
1637
|
/**
|
|
1638
1638
|
* Border Width
|
|
1639
1639
|
* @see https://tailwindcss.com/docs/border-width
|
|
1640
1640
|
*/
|
|
1641
1641
|
"border-w": [{
|
|
1642
|
-
border:
|
|
1642
|
+
border: U()
|
|
1643
1643
|
}],
|
|
1644
1644
|
/**
|
|
1645
1645
|
* Border Width X
|
|
1646
1646
|
* @see https://tailwindcss.com/docs/border-width
|
|
1647
1647
|
*/
|
|
1648
1648
|
"border-w-x": [{
|
|
1649
|
-
"border-x":
|
|
1649
|
+
"border-x": U()
|
|
1650
1650
|
}],
|
|
1651
1651
|
/**
|
|
1652
1652
|
* Border Width Y
|
|
1653
1653
|
* @see https://tailwindcss.com/docs/border-width
|
|
1654
1654
|
*/
|
|
1655
1655
|
"border-w-y": [{
|
|
1656
|
-
"border-y":
|
|
1656
|
+
"border-y": U()
|
|
1657
1657
|
}],
|
|
1658
1658
|
/**
|
|
1659
1659
|
* Border Width Start
|
|
1660
1660
|
* @see https://tailwindcss.com/docs/border-width
|
|
1661
1661
|
*/
|
|
1662
1662
|
"border-w-s": [{
|
|
1663
|
-
"border-s":
|
|
1663
|
+
"border-s": U()
|
|
1664
1664
|
}],
|
|
1665
1665
|
/**
|
|
1666
1666
|
* Border Width End
|
|
1667
1667
|
* @see https://tailwindcss.com/docs/border-width
|
|
1668
1668
|
*/
|
|
1669
1669
|
"border-w-e": [{
|
|
1670
|
-
"border-e":
|
|
1670
|
+
"border-e": U()
|
|
1671
1671
|
}],
|
|
1672
1672
|
/**
|
|
1673
1673
|
* Border Width Top
|
|
1674
1674
|
* @see https://tailwindcss.com/docs/border-width
|
|
1675
1675
|
*/
|
|
1676
1676
|
"border-w-t": [{
|
|
1677
|
-
"border-t":
|
|
1677
|
+
"border-t": U()
|
|
1678
1678
|
}],
|
|
1679
1679
|
/**
|
|
1680
1680
|
* Border Width Right
|
|
1681
1681
|
* @see https://tailwindcss.com/docs/border-width
|
|
1682
1682
|
*/
|
|
1683
1683
|
"border-w-r": [{
|
|
1684
|
-
"border-r":
|
|
1684
|
+
"border-r": U()
|
|
1685
1685
|
}],
|
|
1686
1686
|
/**
|
|
1687
1687
|
* Border Width Bottom
|
|
1688
1688
|
* @see https://tailwindcss.com/docs/border-width
|
|
1689
1689
|
*/
|
|
1690
1690
|
"border-w-b": [{
|
|
1691
|
-
"border-b":
|
|
1691
|
+
"border-b": U()
|
|
1692
1692
|
}],
|
|
1693
1693
|
/**
|
|
1694
1694
|
* Border Width Left
|
|
1695
1695
|
* @see https://tailwindcss.com/docs/border-width
|
|
1696
1696
|
*/
|
|
1697
1697
|
"border-w-l": [{
|
|
1698
|
-
"border-l":
|
|
1698
|
+
"border-l": U()
|
|
1699
1699
|
}],
|
|
1700
1700
|
/**
|
|
1701
1701
|
* Divide Width X
|
|
1702
1702
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1703
1703
|
*/
|
|
1704
1704
|
"divide-x": [{
|
|
1705
|
-
"divide-x":
|
|
1705
|
+
"divide-x": U()
|
|
1706
1706
|
}],
|
|
1707
1707
|
/**
|
|
1708
1708
|
* Divide Width X Reverse
|
|
@@ -1714,7 +1714,7 @@ const $ = (e) => {
|
|
|
1714
1714
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1715
1715
|
*/
|
|
1716
1716
|
"divide-y": [{
|
|
1717
|
-
"divide-y":
|
|
1717
|
+
"divide-y": U()
|
|
1718
1718
|
}],
|
|
1719
1719
|
/**
|
|
1720
1720
|
* Divide Width Y Reverse
|
|
@@ -1740,70 +1740,70 @@ const $ = (e) => {
|
|
|
1740
1740
|
* @see https://tailwindcss.com/docs/border-color
|
|
1741
1741
|
*/
|
|
1742
1742
|
"border-color": [{
|
|
1743
|
-
border:
|
|
1743
|
+
border: M()
|
|
1744
1744
|
}],
|
|
1745
1745
|
/**
|
|
1746
1746
|
* Border Color X
|
|
1747
1747
|
* @see https://tailwindcss.com/docs/border-color
|
|
1748
1748
|
*/
|
|
1749
1749
|
"border-color-x": [{
|
|
1750
|
-
"border-x":
|
|
1750
|
+
"border-x": M()
|
|
1751
1751
|
}],
|
|
1752
1752
|
/**
|
|
1753
1753
|
* Border Color Y
|
|
1754
1754
|
* @see https://tailwindcss.com/docs/border-color
|
|
1755
1755
|
*/
|
|
1756
1756
|
"border-color-y": [{
|
|
1757
|
-
"border-y":
|
|
1757
|
+
"border-y": M()
|
|
1758
1758
|
}],
|
|
1759
1759
|
/**
|
|
1760
1760
|
* Border Color S
|
|
1761
1761
|
* @see https://tailwindcss.com/docs/border-color
|
|
1762
1762
|
*/
|
|
1763
1763
|
"border-color-s": [{
|
|
1764
|
-
"border-s":
|
|
1764
|
+
"border-s": M()
|
|
1765
1765
|
}],
|
|
1766
1766
|
/**
|
|
1767
1767
|
* Border Color E
|
|
1768
1768
|
* @see https://tailwindcss.com/docs/border-color
|
|
1769
1769
|
*/
|
|
1770
1770
|
"border-color-e": [{
|
|
1771
|
-
"border-e":
|
|
1771
|
+
"border-e": M()
|
|
1772
1772
|
}],
|
|
1773
1773
|
/**
|
|
1774
1774
|
* Border Color Top
|
|
1775
1775
|
* @see https://tailwindcss.com/docs/border-color
|
|
1776
1776
|
*/
|
|
1777
1777
|
"border-color-t": [{
|
|
1778
|
-
"border-t":
|
|
1778
|
+
"border-t": M()
|
|
1779
1779
|
}],
|
|
1780
1780
|
/**
|
|
1781
1781
|
* Border Color Right
|
|
1782
1782
|
* @see https://tailwindcss.com/docs/border-color
|
|
1783
1783
|
*/
|
|
1784
1784
|
"border-color-r": [{
|
|
1785
|
-
"border-r":
|
|
1785
|
+
"border-r": M()
|
|
1786
1786
|
}],
|
|
1787
1787
|
/**
|
|
1788
1788
|
* Border Color Bottom
|
|
1789
1789
|
* @see https://tailwindcss.com/docs/border-color
|
|
1790
1790
|
*/
|
|
1791
1791
|
"border-color-b": [{
|
|
1792
|
-
"border-b":
|
|
1792
|
+
"border-b": M()
|
|
1793
1793
|
}],
|
|
1794
1794
|
/**
|
|
1795
1795
|
* Border Color Left
|
|
1796
1796
|
* @see https://tailwindcss.com/docs/border-color
|
|
1797
1797
|
*/
|
|
1798
1798
|
"border-color-l": [{
|
|
1799
|
-
"border-l":
|
|
1799
|
+
"border-l": M()
|
|
1800
1800
|
}],
|
|
1801
1801
|
/**
|
|
1802
1802
|
* Divide Color
|
|
1803
1803
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1804
1804
|
*/
|
|
1805
1805
|
"divide-color": [{
|
|
1806
|
-
divide:
|
|
1806
|
+
divide: M()
|
|
1807
1807
|
}],
|
|
1808
1808
|
/**
|
|
1809
1809
|
* Outline Style
|
|
@@ -1817,21 +1817,21 @@ const $ = (e) => {
|
|
|
1817
1817
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1818
1818
|
*/
|
|
1819
1819
|
"outline-offset": [{
|
|
1820
|
-
"outline-offset": [
|
|
1820
|
+
"outline-offset": [z, x, b]
|
|
1821
1821
|
}],
|
|
1822
1822
|
/**
|
|
1823
1823
|
* Outline Width
|
|
1824
1824
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1825
1825
|
*/
|
|
1826
1826
|
"outline-w": [{
|
|
1827
|
-
outline: ["",
|
|
1827
|
+
outline: ["", z, pe, te]
|
|
1828
1828
|
}],
|
|
1829
1829
|
/**
|
|
1830
1830
|
* Outline Color
|
|
1831
1831
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1832
1832
|
*/
|
|
1833
1833
|
"outline-color": [{
|
|
1834
|
-
outline:
|
|
1834
|
+
outline: M()
|
|
1835
1835
|
}],
|
|
1836
1836
|
// ---------------
|
|
1837
1837
|
// --- Effects ---
|
|
@@ -1855,7 +1855,7 @@ const $ = (e) => {
|
|
|
1855
1855
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1856
1856
|
*/
|
|
1857
1857
|
"shadow-color": [{
|
|
1858
|
-
shadow:
|
|
1858
|
+
shadow: M()
|
|
1859
1859
|
}],
|
|
1860
1860
|
/**
|
|
1861
1861
|
* Inset Box Shadow
|
|
@@ -1869,14 +1869,14 @@ const $ = (e) => {
|
|
|
1869
1869
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1870
1870
|
*/
|
|
1871
1871
|
"inset-shadow-color": [{
|
|
1872
|
-
"inset-shadow":
|
|
1872
|
+
"inset-shadow": M()
|
|
1873
1873
|
}],
|
|
1874
1874
|
/**
|
|
1875
1875
|
* Ring Width
|
|
1876
1876
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1877
1877
|
*/
|
|
1878
1878
|
"ring-w": [{
|
|
1879
|
-
ring:
|
|
1879
|
+
ring: U()
|
|
1880
1880
|
}],
|
|
1881
1881
|
/**
|
|
1882
1882
|
* Ring Width Inset
|
|
@@ -1890,7 +1890,7 @@ const $ = (e) => {
|
|
|
1890
1890
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1891
1891
|
*/
|
|
1892
1892
|
"ring-color": [{
|
|
1893
|
-
ring:
|
|
1893
|
+
ring: M()
|
|
1894
1894
|
}],
|
|
1895
1895
|
/**
|
|
1896
1896
|
* Ring Offset Width
|
|
@@ -1899,7 +1899,7 @@ const $ = (e) => {
|
|
|
1899
1899
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1900
1900
|
*/
|
|
1901
1901
|
"ring-offset-w": [{
|
|
1902
|
-
"ring-offset": [
|
|
1902
|
+
"ring-offset": [z, te]
|
|
1903
1903
|
}],
|
|
1904
1904
|
/**
|
|
1905
1905
|
* Ring Offset Color
|
|
@@ -1908,21 +1908,21 @@ const $ = (e) => {
|
|
|
1908
1908
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1909
1909
|
*/
|
|
1910
1910
|
"ring-offset-color": [{
|
|
1911
|
-
"ring-offset":
|
|
1911
|
+
"ring-offset": M()
|
|
1912
1912
|
}],
|
|
1913
1913
|
/**
|
|
1914
1914
|
* Inset Ring Width
|
|
1915
1915
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1916
1916
|
*/
|
|
1917
1917
|
"inset-ring-w": [{
|
|
1918
|
-
"inset-ring":
|
|
1918
|
+
"inset-ring": U()
|
|
1919
1919
|
}],
|
|
1920
1920
|
/**
|
|
1921
1921
|
* Inset Ring Color
|
|
1922
1922
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
1923
1923
|
*/
|
|
1924
1924
|
"inset-ring-color": [{
|
|
1925
|
-
"inset-ring":
|
|
1925
|
+
"inset-ring": M()
|
|
1926
1926
|
}],
|
|
1927
1927
|
/**
|
|
1928
1928
|
* Text Shadow
|
|
@@ -1936,14 +1936,14 @@ const $ = (e) => {
|
|
|
1936
1936
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
1937
1937
|
*/
|
|
1938
1938
|
"text-shadow-color": [{
|
|
1939
|
-
"text-shadow":
|
|
1939
|
+
"text-shadow": M()
|
|
1940
1940
|
}],
|
|
1941
1941
|
/**
|
|
1942
1942
|
* Opacity
|
|
1943
1943
|
* @see https://tailwindcss.com/docs/opacity
|
|
1944
1944
|
*/
|
|
1945
1945
|
opacity: [{
|
|
1946
|
-
opacity: [
|
|
1946
|
+
opacity: [z, x, b]
|
|
1947
1947
|
}],
|
|
1948
1948
|
/**
|
|
1949
1949
|
* Mix Blend Mode
|
|
@@ -1978,7 +1978,7 @@ const $ = (e) => {
|
|
|
1978
1978
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1979
1979
|
*/
|
|
1980
1980
|
"mask-image-linear-pos": [{
|
|
1981
|
-
"mask-linear": [
|
|
1981
|
+
"mask-linear": [z]
|
|
1982
1982
|
}],
|
|
1983
1983
|
"mask-image-linear-from-pos": [{
|
|
1984
1984
|
"mask-linear-from": O()
|
|
@@ -1987,10 +1987,10 @@ const $ = (e) => {
|
|
|
1987
1987
|
"mask-linear-to": O()
|
|
1988
1988
|
}],
|
|
1989
1989
|
"mask-image-linear-from-color": [{
|
|
1990
|
-
"mask-linear-from":
|
|
1990
|
+
"mask-linear-from": M()
|
|
1991
1991
|
}],
|
|
1992
1992
|
"mask-image-linear-to-color": [{
|
|
1993
|
-
"mask-linear-to":
|
|
1993
|
+
"mask-linear-to": M()
|
|
1994
1994
|
}],
|
|
1995
1995
|
"mask-image-t-from-pos": [{
|
|
1996
1996
|
"mask-t-from": O()
|
|
@@ -1999,10 +1999,10 @@ const $ = (e) => {
|
|
|
1999
1999
|
"mask-t-to": O()
|
|
2000
2000
|
}],
|
|
2001
2001
|
"mask-image-t-from-color": [{
|
|
2002
|
-
"mask-t-from":
|
|
2002
|
+
"mask-t-from": M()
|
|
2003
2003
|
}],
|
|
2004
2004
|
"mask-image-t-to-color": [{
|
|
2005
|
-
"mask-t-to":
|
|
2005
|
+
"mask-t-to": M()
|
|
2006
2006
|
}],
|
|
2007
2007
|
"mask-image-r-from-pos": [{
|
|
2008
2008
|
"mask-r-from": O()
|
|
@@ -2011,10 +2011,10 @@ const $ = (e) => {
|
|
|
2011
2011
|
"mask-r-to": O()
|
|
2012
2012
|
}],
|
|
2013
2013
|
"mask-image-r-from-color": [{
|
|
2014
|
-
"mask-r-from":
|
|
2014
|
+
"mask-r-from": M()
|
|
2015
2015
|
}],
|
|
2016
2016
|
"mask-image-r-to-color": [{
|
|
2017
|
-
"mask-r-to":
|
|
2017
|
+
"mask-r-to": M()
|
|
2018
2018
|
}],
|
|
2019
2019
|
"mask-image-b-from-pos": [{
|
|
2020
2020
|
"mask-b-from": O()
|
|
@@ -2023,10 +2023,10 @@ const $ = (e) => {
|
|
|
2023
2023
|
"mask-b-to": O()
|
|
2024
2024
|
}],
|
|
2025
2025
|
"mask-image-b-from-color": [{
|
|
2026
|
-
"mask-b-from":
|
|
2026
|
+
"mask-b-from": M()
|
|
2027
2027
|
}],
|
|
2028
2028
|
"mask-image-b-to-color": [{
|
|
2029
|
-
"mask-b-to":
|
|
2029
|
+
"mask-b-to": M()
|
|
2030
2030
|
}],
|
|
2031
2031
|
"mask-image-l-from-pos": [{
|
|
2032
2032
|
"mask-l-from": O()
|
|
@@ -2035,10 +2035,10 @@ const $ = (e) => {
|
|
|
2035
2035
|
"mask-l-to": O()
|
|
2036
2036
|
}],
|
|
2037
2037
|
"mask-image-l-from-color": [{
|
|
2038
|
-
"mask-l-from":
|
|
2038
|
+
"mask-l-from": M()
|
|
2039
2039
|
}],
|
|
2040
2040
|
"mask-image-l-to-color": [{
|
|
2041
|
-
"mask-l-to":
|
|
2041
|
+
"mask-l-to": M()
|
|
2042
2042
|
}],
|
|
2043
2043
|
"mask-image-x-from-pos": [{
|
|
2044
2044
|
"mask-x-from": O()
|
|
@@ -2047,10 +2047,10 @@ const $ = (e) => {
|
|
|
2047
2047
|
"mask-x-to": O()
|
|
2048
2048
|
}],
|
|
2049
2049
|
"mask-image-x-from-color": [{
|
|
2050
|
-
"mask-x-from":
|
|
2050
|
+
"mask-x-from": M()
|
|
2051
2051
|
}],
|
|
2052
2052
|
"mask-image-x-to-color": [{
|
|
2053
|
-
"mask-x-to":
|
|
2053
|
+
"mask-x-to": M()
|
|
2054
2054
|
}],
|
|
2055
2055
|
"mask-image-y-from-pos": [{
|
|
2056
2056
|
"mask-y-from": O()
|
|
@@ -2059,13 +2059,13 @@ const $ = (e) => {
|
|
|
2059
2059
|
"mask-y-to": O()
|
|
2060
2060
|
}],
|
|
2061
2061
|
"mask-image-y-from-color": [{
|
|
2062
|
-
"mask-y-from":
|
|
2062
|
+
"mask-y-from": M()
|
|
2063
2063
|
}],
|
|
2064
2064
|
"mask-image-y-to-color": [{
|
|
2065
|
-
"mask-y-to":
|
|
2065
|
+
"mask-y-to": M()
|
|
2066
2066
|
}],
|
|
2067
2067
|
"mask-image-radial": [{
|
|
2068
|
-
"mask-radial": [
|
|
2068
|
+
"mask-radial": [x, b]
|
|
2069
2069
|
}],
|
|
2070
2070
|
"mask-image-radial-from-pos": [{
|
|
2071
2071
|
"mask-radial-from": O()
|
|
@@ -2074,10 +2074,10 @@ const $ = (e) => {
|
|
|
2074
2074
|
"mask-radial-to": O()
|
|
2075
2075
|
}],
|
|
2076
2076
|
"mask-image-radial-from-color": [{
|
|
2077
|
-
"mask-radial-from":
|
|
2077
|
+
"mask-radial-from": M()
|
|
2078
2078
|
}],
|
|
2079
2079
|
"mask-image-radial-to-color": [{
|
|
2080
|
-
"mask-radial-to":
|
|
2080
|
+
"mask-radial-to": M()
|
|
2081
2081
|
}],
|
|
2082
2082
|
"mask-image-radial-shape": [{
|
|
2083
2083
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2089,10 +2089,10 @@ const $ = (e) => {
|
|
|
2089
2089
|
}]
|
|
2090
2090
|
}],
|
|
2091
2091
|
"mask-image-radial-pos": [{
|
|
2092
|
-
"mask-radial-at":
|
|
2092
|
+
"mask-radial-at": P()
|
|
2093
2093
|
}],
|
|
2094
2094
|
"mask-image-conic-pos": [{
|
|
2095
|
-
"mask-conic": [
|
|
2095
|
+
"mask-conic": [z]
|
|
2096
2096
|
}],
|
|
2097
2097
|
"mask-image-conic-from-pos": [{
|
|
2098
2098
|
"mask-conic-from": O()
|
|
@@ -2101,10 +2101,10 @@ const $ = (e) => {
|
|
|
2101
2101
|
"mask-conic-to": O()
|
|
2102
2102
|
}],
|
|
2103
2103
|
"mask-image-conic-from-color": [{
|
|
2104
|
-
"mask-conic-from":
|
|
2104
|
+
"mask-conic-from": M()
|
|
2105
2105
|
}],
|
|
2106
2106
|
"mask-image-conic-to-color": [{
|
|
2107
|
-
"mask-conic-to":
|
|
2107
|
+
"mask-conic-to": M()
|
|
2108
2108
|
}],
|
|
2109
2109
|
/**
|
|
2110
2110
|
* Mask Mode
|
|
@@ -2153,7 +2153,7 @@ const $ = (e) => {
|
|
|
2153
2153
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2154
2154
|
*/
|
|
2155
2155
|
"mask-image": [{
|
|
2156
|
-
mask: ["none",
|
|
2156
|
+
mask: ["none", x, b]
|
|
2157
2157
|
}],
|
|
2158
2158
|
// ---------------
|
|
2159
2159
|
// --- Filters ---
|
|
@@ -2167,8 +2167,8 @@ const $ = (e) => {
|
|
|
2167
2167
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2168
2168
|
"",
|
|
2169
2169
|
"none",
|
|
2170
|
-
|
|
2171
|
-
|
|
2170
|
+
x,
|
|
2171
|
+
b
|
|
2172
2172
|
]
|
|
2173
2173
|
}],
|
|
2174
2174
|
/**
|
|
@@ -2183,14 +2183,14 @@ const $ = (e) => {
|
|
|
2183
2183
|
* @see https://tailwindcss.com/docs/brightness
|
|
2184
2184
|
*/
|
|
2185
2185
|
brightness: [{
|
|
2186
|
-
brightness: [
|
|
2186
|
+
brightness: [z, x, b]
|
|
2187
2187
|
}],
|
|
2188
2188
|
/**
|
|
2189
2189
|
* Contrast
|
|
2190
2190
|
* @see https://tailwindcss.com/docs/contrast
|
|
2191
2191
|
*/
|
|
2192
2192
|
contrast: [{
|
|
2193
|
-
contrast: [
|
|
2193
|
+
contrast: [z, x, b]
|
|
2194
2194
|
}],
|
|
2195
2195
|
/**
|
|
2196
2196
|
* Drop Shadow
|
|
@@ -2201,7 +2201,7 @@ const $ = (e) => {
|
|
|
2201
2201
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2202
2202
|
"",
|
|
2203
2203
|
"none",
|
|
2204
|
-
|
|
2204
|
+
T,
|
|
2205
2205
|
ke,
|
|
2206
2206
|
we
|
|
2207
2207
|
]
|
|
@@ -2211,42 +2211,42 @@ const $ = (e) => {
|
|
|
2211
2211
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2212
2212
|
*/
|
|
2213
2213
|
"drop-shadow-color": [{
|
|
2214
|
-
"drop-shadow":
|
|
2214
|
+
"drop-shadow": M()
|
|
2215
2215
|
}],
|
|
2216
2216
|
/**
|
|
2217
2217
|
* Grayscale
|
|
2218
2218
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2219
2219
|
*/
|
|
2220
2220
|
grayscale: [{
|
|
2221
|
-
grayscale: ["",
|
|
2221
|
+
grayscale: ["", z, x, b]
|
|
2222
2222
|
}],
|
|
2223
2223
|
/**
|
|
2224
2224
|
* Hue Rotate
|
|
2225
2225
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2226
2226
|
*/
|
|
2227
2227
|
"hue-rotate": [{
|
|
2228
|
-
"hue-rotate": [
|
|
2228
|
+
"hue-rotate": [z, x, b]
|
|
2229
2229
|
}],
|
|
2230
2230
|
/**
|
|
2231
2231
|
* Invert
|
|
2232
2232
|
* @see https://tailwindcss.com/docs/invert
|
|
2233
2233
|
*/
|
|
2234
2234
|
invert: [{
|
|
2235
|
-
invert: ["",
|
|
2235
|
+
invert: ["", z, x, b]
|
|
2236
2236
|
}],
|
|
2237
2237
|
/**
|
|
2238
2238
|
* Saturate
|
|
2239
2239
|
* @see https://tailwindcss.com/docs/saturate
|
|
2240
2240
|
*/
|
|
2241
2241
|
saturate: [{
|
|
2242
|
-
saturate: [
|
|
2242
|
+
saturate: [z, x, b]
|
|
2243
2243
|
}],
|
|
2244
2244
|
/**
|
|
2245
2245
|
* Sepia
|
|
2246
2246
|
* @see https://tailwindcss.com/docs/sepia
|
|
2247
2247
|
*/
|
|
2248
2248
|
sepia: [{
|
|
2249
|
-
sepia: ["",
|
|
2249
|
+
sepia: ["", z, x, b]
|
|
2250
2250
|
}],
|
|
2251
2251
|
/**
|
|
2252
2252
|
* Backdrop Filter
|
|
@@ -2257,8 +2257,8 @@ const $ = (e) => {
|
|
|
2257
2257
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2258
2258
|
"",
|
|
2259
2259
|
"none",
|
|
2260
|
-
|
|
2261
|
-
|
|
2260
|
+
x,
|
|
2261
|
+
b
|
|
2262
2262
|
]
|
|
2263
2263
|
}],
|
|
2264
2264
|
/**
|
|
@@ -2273,56 +2273,56 @@ const $ = (e) => {
|
|
|
2273
2273
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2274
2274
|
*/
|
|
2275
2275
|
"backdrop-brightness": [{
|
|
2276
|
-
"backdrop-brightness": [
|
|
2276
|
+
"backdrop-brightness": [z, x, b]
|
|
2277
2277
|
}],
|
|
2278
2278
|
/**
|
|
2279
2279
|
* Backdrop Contrast
|
|
2280
2280
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2281
2281
|
*/
|
|
2282
2282
|
"backdrop-contrast": [{
|
|
2283
|
-
"backdrop-contrast": [
|
|
2283
|
+
"backdrop-contrast": [z, x, b]
|
|
2284
2284
|
}],
|
|
2285
2285
|
/**
|
|
2286
2286
|
* Backdrop Grayscale
|
|
2287
2287
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2288
2288
|
*/
|
|
2289
2289
|
"backdrop-grayscale": [{
|
|
2290
|
-
"backdrop-grayscale": ["",
|
|
2290
|
+
"backdrop-grayscale": ["", z, x, b]
|
|
2291
2291
|
}],
|
|
2292
2292
|
/**
|
|
2293
2293
|
* Backdrop Hue Rotate
|
|
2294
2294
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2295
2295
|
*/
|
|
2296
2296
|
"backdrop-hue-rotate": [{
|
|
2297
|
-
"backdrop-hue-rotate": [
|
|
2297
|
+
"backdrop-hue-rotate": [z, x, b]
|
|
2298
2298
|
}],
|
|
2299
2299
|
/**
|
|
2300
2300
|
* Backdrop Invert
|
|
2301
2301
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2302
2302
|
*/
|
|
2303
2303
|
"backdrop-invert": [{
|
|
2304
|
-
"backdrop-invert": ["",
|
|
2304
|
+
"backdrop-invert": ["", z, x, b]
|
|
2305
2305
|
}],
|
|
2306
2306
|
/**
|
|
2307
2307
|
* Backdrop Opacity
|
|
2308
2308
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2309
2309
|
*/
|
|
2310
2310
|
"backdrop-opacity": [{
|
|
2311
|
-
"backdrop-opacity": [
|
|
2311
|
+
"backdrop-opacity": [z, x, b]
|
|
2312
2312
|
}],
|
|
2313
2313
|
/**
|
|
2314
2314
|
* Backdrop Saturate
|
|
2315
2315
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2316
2316
|
*/
|
|
2317
2317
|
"backdrop-saturate": [{
|
|
2318
|
-
"backdrop-saturate": [
|
|
2318
|
+
"backdrop-saturate": [z, x, b]
|
|
2319
2319
|
}],
|
|
2320
2320
|
/**
|
|
2321
2321
|
* Backdrop Sepia
|
|
2322
2322
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2323
2323
|
*/
|
|
2324
2324
|
"backdrop-sepia": [{
|
|
2325
|
-
"backdrop-sepia": ["",
|
|
2325
|
+
"backdrop-sepia": ["", z, x, b]
|
|
2326
2326
|
}],
|
|
2327
2327
|
// --------------
|
|
2328
2328
|
// --- Tables ---
|
|
@@ -2377,7 +2377,7 @@ const $ = (e) => {
|
|
|
2377
2377
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2378
2378
|
*/
|
|
2379
2379
|
transition: [{
|
|
2380
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2380
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", x, b]
|
|
2381
2381
|
}],
|
|
2382
2382
|
/**
|
|
2383
2383
|
* Transition Behavior
|
|
@@ -2391,28 +2391,28 @@ const $ = (e) => {
|
|
|
2391
2391
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2392
2392
|
*/
|
|
2393
2393
|
duration: [{
|
|
2394
|
-
duration: [
|
|
2394
|
+
duration: [z, "initial", x, b]
|
|
2395
2395
|
}],
|
|
2396
2396
|
/**
|
|
2397
2397
|
* Transition Timing Function
|
|
2398
2398
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2399
2399
|
*/
|
|
2400
2400
|
ease: [{
|
|
2401
|
-
ease: ["linear", "initial",
|
|
2401
|
+
ease: ["linear", "initial", y, x, b]
|
|
2402
2402
|
}],
|
|
2403
2403
|
/**
|
|
2404
2404
|
* Transition Delay
|
|
2405
2405
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2406
2406
|
*/
|
|
2407
2407
|
delay: [{
|
|
2408
|
-
delay: [
|
|
2408
|
+
delay: [z, x, b]
|
|
2409
2409
|
}],
|
|
2410
2410
|
/**
|
|
2411
2411
|
* Animation
|
|
2412
2412
|
* @see https://tailwindcss.com/docs/animation
|
|
2413
2413
|
*/
|
|
2414
2414
|
animate: [{
|
|
2415
|
-
animate: ["none", E,
|
|
2415
|
+
animate: ["none", E, x, b]
|
|
2416
2416
|
}],
|
|
2417
2417
|
// ------------------
|
|
2418
2418
|
// --- Transforms ---
|
|
@@ -2429,14 +2429,14 @@ const $ = (e) => {
|
|
|
2429
2429
|
* @see https://tailwindcss.com/docs/perspective
|
|
2430
2430
|
*/
|
|
2431
2431
|
perspective: [{
|
|
2432
|
-
perspective: [w,
|
|
2432
|
+
perspective: [w, x, b]
|
|
2433
2433
|
}],
|
|
2434
2434
|
/**
|
|
2435
2435
|
* Perspective Origin
|
|
2436
2436
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2437
2437
|
*/
|
|
2438
2438
|
"perspective-origin": [{
|
|
2439
|
-
"perspective-origin":
|
|
2439
|
+
"perspective-origin": C()
|
|
2440
2440
|
}],
|
|
2441
2441
|
/**
|
|
2442
2442
|
* Rotate
|
|
@@ -2525,14 +2525,14 @@ const $ = (e) => {
|
|
|
2525
2525
|
* @see https://tailwindcss.com/docs/transform
|
|
2526
2526
|
*/
|
|
2527
2527
|
transform: [{
|
|
2528
|
-
transform: [
|
|
2528
|
+
transform: [x, b, "", "none", "gpu", "cpu"]
|
|
2529
2529
|
}],
|
|
2530
2530
|
/**
|
|
2531
2531
|
* Transform Origin
|
|
2532
2532
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2533
2533
|
*/
|
|
2534
2534
|
"transform-origin": [{
|
|
2535
|
-
origin:
|
|
2535
|
+
origin: C()
|
|
2536
2536
|
}],
|
|
2537
2537
|
/**
|
|
2538
2538
|
* Transform Style
|
|
@@ -2582,7 +2582,7 @@ const $ = (e) => {
|
|
|
2582
2582
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2583
2583
|
*/
|
|
2584
2584
|
accent: [{
|
|
2585
|
-
accent:
|
|
2585
|
+
accent: M()
|
|
2586
2586
|
}],
|
|
2587
2587
|
/**
|
|
2588
2588
|
* Appearance
|
|
@@ -2596,7 +2596,7 @@ const $ = (e) => {
|
|
|
2596
2596
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2597
2597
|
*/
|
|
2598
2598
|
"caret-color": [{
|
|
2599
|
-
caret:
|
|
2599
|
+
caret: M()
|
|
2600
2600
|
}],
|
|
2601
2601
|
/**
|
|
2602
2602
|
* Color Scheme
|
|
@@ -2610,7 +2610,7 @@ const $ = (e) => {
|
|
|
2610
2610
|
* @see https://tailwindcss.com/docs/cursor
|
|
2611
2611
|
*/
|
|
2612
2612
|
cursor: [{
|
|
2613
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
2613
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", x, b]
|
|
2614
2614
|
}],
|
|
2615
2615
|
/**
|
|
2616
2616
|
* Field Sizing
|
|
@@ -2832,7 +2832,7 @@ const $ = (e) => {
|
|
|
2832
2832
|
* @see https://tailwindcss.com/docs/will-change
|
|
2833
2833
|
*/
|
|
2834
2834
|
"will-change": [{
|
|
2835
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2835
|
+
"will-change": ["auto", "scroll", "contents", "transform", x, b]
|
|
2836
2836
|
}],
|
|
2837
2837
|
// -----------
|
|
2838
2838
|
// --- SVG ---
|
|
@@ -2842,21 +2842,21 @@ const $ = (e) => {
|
|
|
2842
2842
|
* @see https://tailwindcss.com/docs/fill
|
|
2843
2843
|
*/
|
|
2844
2844
|
fill: [{
|
|
2845
|
-
fill: ["none", ...
|
|
2845
|
+
fill: ["none", ...M()]
|
|
2846
2846
|
}],
|
|
2847
2847
|
/**
|
|
2848
2848
|
* Stroke Width
|
|
2849
2849
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2850
2850
|
*/
|
|
2851
2851
|
"stroke-w": [{
|
|
2852
|
-
stroke: [
|
|
2852
|
+
stroke: [z, pe, te, Pe]
|
|
2853
2853
|
}],
|
|
2854
2854
|
/**
|
|
2855
2855
|
* Stroke
|
|
2856
2856
|
* @see https://tailwindcss.com/docs/stroke
|
|
2857
2857
|
*/
|
|
2858
2858
|
stroke: [{
|
|
2859
|
-
stroke: ["none", ...
|
|
2859
|
+
stroke: ["none", ...M()]
|
|
2860
2860
|
}],
|
|
2861
2861
|
// ---------------------
|
|
2862
2862
|
// --- Accessibility ---
|
|
@@ -3014,7 +3014,7 @@ const Tr = (e) => {
|
|
|
3014
3014
|
default:
|
|
3015
3015
|
return "text-left";
|
|
3016
3016
|
}
|
|
3017
|
-
},
|
|
3017
|
+
}, j = ({
|
|
3018
3018
|
variant: e = "body",
|
|
3019
3019
|
color: t = "primary",
|
|
3020
3020
|
weight: o,
|
|
@@ -3054,7 +3054,7 @@ function Ir(e) {
|
|
|
3054
3054
|
return "p";
|
|
3055
3055
|
}
|
|
3056
3056
|
}
|
|
3057
|
-
const
|
|
3057
|
+
const Rr = (e) => {
|
|
3058
3058
|
switch (e) {
|
|
3059
3059
|
case "sm":
|
|
3060
3060
|
return "p-4";
|
|
@@ -3065,7 +3065,7 @@ const Ar = (e) => {
|
|
|
3065
3065
|
default:
|
|
3066
3066
|
return "p-0";
|
|
3067
3067
|
}
|
|
3068
|
-
},
|
|
3068
|
+
}, jr = (e) => {
|
|
3069
3069
|
switch (e) {
|
|
3070
3070
|
case "sm":
|
|
3071
3071
|
return "shadow-sm";
|
|
@@ -3076,7 +3076,7 @@ const Ar = (e) => {
|
|
|
3076
3076
|
default:
|
|
3077
3077
|
return "shadow-none";
|
|
3078
3078
|
}
|
|
3079
|
-
},
|
|
3079
|
+
}, Ar = (e) => {
|
|
3080
3080
|
switch (e) {
|
|
3081
3081
|
case "sm":
|
|
3082
3082
|
return "rounded-sm";
|
|
@@ -3099,35 +3099,35 @@ const Ar = (e) => {
|
|
|
3099
3099
|
}) => {
|
|
3100
3100
|
const c = !!i, m = f(
|
|
3101
3101
|
"bg-card",
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3102
|
+
Rr(n),
|
|
3103
|
+
jr(s),
|
|
3104
|
+
Ar(l),
|
|
3105
3105
|
"transition-all duration-200 ease-in-out",
|
|
3106
3106
|
c && "cursor-pointer hover:-translate-y-0.5 hover:shadow-lg active:translate-y-0",
|
|
3107
3107
|
a
|
|
3108
3108
|
);
|
|
3109
3109
|
return /* @__PURE__ */ p("div", { className: m, onClick: i, children: [
|
|
3110
3110
|
(t || o) && /* @__PURE__ */ p("div", { className: "mb-4", children: [
|
|
3111
|
-
t && /* @__PURE__ */ r("div", { className: "mb-2", children: /* @__PURE__ */ r(
|
|
3112
|
-
o && /* @__PURE__ */ r("div", { className: "text-muted-foreground", children: /* @__PURE__ */ r(
|
|
3111
|
+
t && /* @__PURE__ */ r("div", { className: "mb-2", children: /* @__PURE__ */ r(j, { variant: "h3", children: t }) }),
|
|
3112
|
+
o && /* @__PURE__ */ r("div", { className: "text-muted-foreground", children: /* @__PURE__ */ r(j, { variant: "body-sm", color: "muted", children: o }) })
|
|
3113
3113
|
] }),
|
|
3114
3114
|
/* @__PURE__ */ r("div", { className: "flex-1", children: e })
|
|
3115
3115
|
] });
|
|
3116
3116
|
}, Lr = ({
|
|
3117
3117
|
children: e
|
|
3118
|
-
}) => /* @__PURE__ */ r("div", { className: "mt-4 pt-4 border-t border-border", children: e }),
|
|
3118
|
+
}) => /* @__PURE__ */ r("div", { className: "mt-4 pt-4 border-t border-border", children: e }), la = Object.assign(ht, {
|
|
3119
3119
|
Footer: Lr
|
|
3120
3120
|
});
|
|
3121
3121
|
function $r(e, t, o, a, n, s) {
|
|
3122
|
-
const l = (e - 90) * Math.PI / 180, i = (t - 90) * Math.PI / 180, c = n + o * Math.cos(l), m = s + o * Math.sin(l), u = n + o * Math.cos(i), d = s + o * Math.sin(i), g = n + a * Math.cos(i),
|
|
3122
|
+
const l = (e - 90) * Math.PI / 180, i = (t - 90) * Math.PI / 180, c = n + o * Math.cos(l), m = s + o * Math.sin(l), u = n + o * Math.cos(i), d = s + o * Math.sin(i), g = n + a * Math.cos(i), T = s + a * Math.sin(i), h = n + a * Math.cos(l), w = s + a * Math.sin(l), v = t - e > 180 ? 1 : 0;
|
|
3123
3123
|
return [
|
|
3124
3124
|
`M ${c} ${m}`,
|
|
3125
3125
|
// Move to start point on outer arc
|
|
3126
|
-
`A ${o} ${o} 0 ${
|
|
3126
|
+
`A ${o} ${o} 0 ${v} 1 ${u} ${d}`,
|
|
3127
3127
|
// Outer arc
|
|
3128
|
-
`L ${g} ${
|
|
3128
|
+
`L ${g} ${T}`,
|
|
3129
3129
|
// Line to inner arc
|
|
3130
|
-
`A ${a} ${a} 0 ${
|
|
3130
|
+
`A ${a} ${a} 0 ${v} 0 ${h} ${w}`,
|
|
3131
3131
|
// Inner arc (reverse)
|
|
3132
3132
|
"Z"
|
|
3133
3133
|
// Close path
|
|
@@ -3166,14 +3166,14 @@ const gt = N.forwardRef(
|
|
|
3166
3166
|
onSegmentClick: i,
|
|
3167
3167
|
onSegmentHover: c
|
|
3168
3168
|
}, m) => {
|
|
3169
|
-
const [u, d] = N.useState(null), g = t / 2,
|
|
3169
|
+
const [u, d] = N.useState(null), g = t / 2, T = t / 2, h = 2, w = t / 2 - h, v = w * o, y = Or(
|
|
3170
3170
|
e,
|
|
3171
3171
|
w,
|
|
3172
|
-
|
|
3172
|
+
v,
|
|
3173
3173
|
g,
|
|
3174
|
-
|
|
3175
|
-
), E = (
|
|
3176
|
-
d(
|
|
3174
|
+
T
|
|
3175
|
+
), E = (P) => {
|
|
3176
|
+
d(P), c?.(P);
|
|
3177
3177
|
}, S = s === "left" || s === "right";
|
|
3178
3178
|
return /* @__PURE__ */ p(
|
|
3179
3179
|
"div",
|
|
@@ -3193,29 +3193,29 @@ const gt = N.forwardRef(
|
|
|
3193
3193
|
className: "relative inline-block",
|
|
3194
3194
|
style: { width: t, height: t },
|
|
3195
3195
|
children: [
|
|
3196
|
-
/* @__PURE__ */ r("svg", { width: t, height: t, viewBox: `0 0 ${t} ${t}`, children:
|
|
3196
|
+
/* @__PURE__ */ r("svg", { width: t, height: t, viewBox: `0 0 ${t} ${t}`, children: y.map(({ path: P, segment: C }, A) => /* @__PURE__ */ r(
|
|
3197
3197
|
"path",
|
|
3198
3198
|
{
|
|
3199
|
-
d:
|
|
3200
|
-
fill:
|
|
3199
|
+
d: P,
|
|
3200
|
+
fill: C.color,
|
|
3201
3201
|
stroke: "white",
|
|
3202
|
-
strokeWidth:
|
|
3202
|
+
strokeWidth: h,
|
|
3203
3203
|
className: f(
|
|
3204
3204
|
"transition-opacity duration-200",
|
|
3205
|
-
u && u !==
|
|
3205
|
+
u && u !== C && "opacity-50",
|
|
3206
3206
|
i && "cursor-pointer"
|
|
3207
3207
|
),
|
|
3208
|
-
onMouseEnter: () => E(
|
|
3208
|
+
onMouseEnter: () => E(C),
|
|
3209
3209
|
onMouseLeave: () => E(null),
|
|
3210
|
-
onClick: () => i?.(
|
|
3210
|
+
onClick: () => i?.(C)
|
|
3211
3211
|
},
|
|
3212
|
-
`${
|
|
3212
|
+
`${C.label}-${A}`
|
|
3213
3213
|
)) }),
|
|
3214
3214
|
a && /* @__PURE__ */ r(
|
|
3215
3215
|
"div",
|
|
3216
3216
|
{
|
|
3217
3217
|
className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-center",
|
|
3218
|
-
style: { maxWidth:
|
|
3218
|
+
style: { maxWidth: v * 1.8 },
|
|
3219
3219
|
children: a
|
|
3220
3220
|
}
|
|
3221
3221
|
)
|
|
@@ -3229,29 +3229,29 @@ const gt = N.forwardRef(
|
|
|
3229
3229
|
"flex gap-2",
|
|
3230
3230
|
S ? "flex-col" : "flex-row flex-wrap justify-center"
|
|
3231
3231
|
),
|
|
3232
|
-
children: e.map((
|
|
3232
|
+
children: e.map((P, C) => /* @__PURE__ */ p(
|
|
3233
3233
|
"div",
|
|
3234
3234
|
{
|
|
3235
3235
|
className: f(
|
|
3236
3236
|
"flex items-center gap-2 text-sm transition-opacity duration-200",
|
|
3237
|
-
u && u !==
|
|
3237
|
+
u && u !== P && "opacity-50",
|
|
3238
3238
|
i && "cursor-pointer"
|
|
3239
3239
|
),
|
|
3240
|
-
onMouseEnter: () => E(
|
|
3240
|
+
onMouseEnter: () => E(P),
|
|
3241
3241
|
onMouseLeave: () => E(null),
|
|
3242
|
-
onClick: () => i?.(
|
|
3242
|
+
onClick: () => i?.(P),
|
|
3243
3243
|
children: [
|
|
3244
3244
|
/* @__PURE__ */ r(
|
|
3245
3245
|
"div",
|
|
3246
3246
|
{
|
|
3247
3247
|
className: "h-3 w-3 rounded-sm flex-shrink-0",
|
|
3248
|
-
style: { backgroundColor:
|
|
3248
|
+
style: { backgroundColor: P.color }
|
|
3249
3249
|
}
|
|
3250
3250
|
),
|
|
3251
|
-
/* @__PURE__ */ r("span", { className: "text-muted-foreground", children:
|
|
3251
|
+
/* @__PURE__ */ r("span", { className: "text-muted-foreground", children: P.label })
|
|
3252
3252
|
]
|
|
3253
3253
|
},
|
|
3254
|
-
`${
|
|
3254
|
+
`${P.label}-${C}`
|
|
3255
3255
|
))
|
|
3256
3256
|
}
|
|
3257
3257
|
)
|
|
@@ -3261,24 +3261,24 @@ const gt = N.forwardRef(
|
|
|
3261
3261
|
}
|
|
3262
3262
|
);
|
|
3263
3263
|
gt.displayName = "DonutChart";
|
|
3264
|
-
function
|
|
3264
|
+
function ia(e, t, o = {}) {
|
|
3265
3265
|
const {
|
|
3266
3266
|
initialCategory: a = null,
|
|
3267
3267
|
initialSort: n = null,
|
|
3268
3268
|
enableSearch: s = !1
|
|
3269
3269
|
} = o, [l, i] = re(
|
|
3270
3270
|
a
|
|
3271
|
-
), [c, m] = re(n), [u, d] = re(""), g = Se(() =>
|
|
3271
|
+
), [c, m] = re(n), [u, d] = re(""), g = Se(() => At(e, l), [e, l]), T = Se(() => {
|
|
3272
3272
|
if (!s || !u.trim())
|
|
3273
3273
|
return g;
|
|
3274
|
-
const
|
|
3274
|
+
const y = u.toLowerCase();
|
|
3275
3275
|
return g.filter(
|
|
3276
|
-
(E) => E.title.toLowerCase().includes(
|
|
3276
|
+
(E) => E.title.toLowerCase().includes(y) || E.subtitle?.toLowerCase().includes(y)
|
|
3277
3277
|
);
|
|
3278
|
-
}, [g, u, s]),
|
|
3279
|
-
(
|
|
3278
|
+
}, [g, u, s]), h = Se(() => c ? Lt(T, c) : T, [T, c]), w = Ge(
|
|
3279
|
+
(y) => $t(e, y),
|
|
3280
3280
|
[e]
|
|
3281
|
-
),
|
|
3281
|
+
), v = Ge(() => {
|
|
3282
3282
|
i(a), m(n), d("");
|
|
3283
3283
|
}, [a, n]);
|
|
3284
3284
|
return {
|
|
@@ -3288,9 +3288,9 @@ function da(e, t, o = {}) {
|
|
|
3288
3288
|
setSort: m,
|
|
3289
3289
|
searchQuery: u,
|
|
3290
3290
|
setSearchQuery: d,
|
|
3291
|
-
filteredEntities:
|
|
3291
|
+
filteredEntities: h,
|
|
3292
3292
|
getCategoryCount: w,
|
|
3293
|
-
resetFilters:
|
|
3293
|
+
resetFilters: v
|
|
3294
3294
|
};
|
|
3295
3295
|
}
|
|
3296
3296
|
const _r = Y(
|
|
@@ -3475,8 +3475,8 @@ const Fr = Y(
|
|
|
3475
3475
|
suffix: u,
|
|
3476
3476
|
id: d,
|
|
3477
3477
|
...g
|
|
3478
|
-
},
|
|
3479
|
-
const
|
|
3478
|
+
}, T) => {
|
|
3479
|
+
const h = N.useId(), w = d || h, v = `${w}-helper`, y = `${w}-error`, E = i ? "error" : a, S = i || l;
|
|
3480
3480
|
return /* @__PURE__ */ p("div", { className: f("w-full", t), children: [
|
|
3481
3481
|
s && /* @__PURE__ */ r(
|
|
3482
3482
|
"label",
|
|
@@ -3495,7 +3495,7 @@ const Fr = Y(
|
|
|
3495
3495
|
"input",
|
|
3496
3496
|
{
|
|
3497
3497
|
id: w,
|
|
3498
|
-
ref:
|
|
3498
|
+
ref: T,
|
|
3499
3499
|
className: f(
|
|
3500
3500
|
Fr({ variant: E, inputSize: n }),
|
|
3501
3501
|
m && "pl-10",
|
|
@@ -3503,7 +3503,7 @@ const Fr = Y(
|
|
|
3503
3503
|
e
|
|
3504
3504
|
),
|
|
3505
3505
|
"aria-invalid": i ? "true" : "false",
|
|
3506
|
-
"aria-describedby": S ? i ?
|
|
3506
|
+
"aria-describedby": S ? i ? y : v : void 0,
|
|
3507
3507
|
...g
|
|
3508
3508
|
}
|
|
3509
3509
|
),
|
|
@@ -3512,7 +3512,7 @@ const Fr = Y(
|
|
|
3512
3512
|
S && /* @__PURE__ */ r(
|
|
3513
3513
|
"p",
|
|
3514
3514
|
{
|
|
3515
|
-
id: i ?
|
|
3515
|
+
id: i ? y : v,
|
|
3516
3516
|
className: Dr({ variant: E }),
|
|
3517
3517
|
role: i ? "alert" : void 0,
|
|
3518
3518
|
children: S
|
|
@@ -3546,13 +3546,13 @@ const Br = (e) => {
|
|
|
3546
3546
|
closeOnOverlayClick: l = !0,
|
|
3547
3547
|
closeOnEscape: i = !0
|
|
3548
3548
|
}) => {
|
|
3549
|
-
const c =
|
|
3549
|
+
const c = D.useRef(null), m = D.useId(), u = D.useRef(null);
|
|
3550
3550
|
if (ve(() => {
|
|
3551
3551
|
if (!e || !i) return;
|
|
3552
|
-
const
|
|
3553
|
-
|
|
3552
|
+
const v = (y) => {
|
|
3553
|
+
y.key === "Escape" && t();
|
|
3554
3554
|
};
|
|
3555
|
-
return document.addEventListener("keydown",
|
|
3555
|
+
return document.addEventListener("keydown", v), () => document.removeEventListener("keydown", v);
|
|
3556
3556
|
}, [e, i, t]), ve(() => {
|
|
3557
3557
|
if (e)
|
|
3558
3558
|
return fe === 0 && (Ye = document.body.style.overflow), fe += 1, document.body.style.overflow = "hidden", () => {
|
|
@@ -3565,31 +3565,31 @@ const Br = (e) => {
|
|
|
3565
3565
|
};
|
|
3566
3566
|
}, [e]), ve(() => {
|
|
3567
3567
|
if (!e || !c.current) return;
|
|
3568
|
-
const
|
|
3568
|
+
const v = [
|
|
3569
3569
|
"a[href]",
|
|
3570
3570
|
"button:not([disabled])",
|
|
3571
3571
|
"input:not([disabled])",
|
|
3572
3572
|
"select:not([disabled])",
|
|
3573
3573
|
"textarea:not([disabled])",
|
|
3574
3574
|
'[tabindex]:not([tabindex="-1"])'
|
|
3575
|
-
].join(", "),
|
|
3575
|
+
].join(", "), y = (S) => {
|
|
3576
3576
|
if (S.key !== "Tab" || !c.current) return;
|
|
3577
|
-
const
|
|
3578
|
-
c.current.querySelectorAll(
|
|
3577
|
+
const P = Array.from(
|
|
3578
|
+
c.current.querySelectorAll(v)
|
|
3579
3579
|
);
|
|
3580
|
-
if (
|
|
3580
|
+
if (P.length === 0) {
|
|
3581
3581
|
S.preventDefault(), c.current.focus();
|
|
3582
3582
|
return;
|
|
3583
3583
|
}
|
|
3584
|
-
const
|
|
3585
|
-
if (S.shiftKey && document.activeElement ===
|
|
3586
|
-
S.preventDefault(),
|
|
3584
|
+
const C = P[0], A = P[P.length - 1];
|
|
3585
|
+
if (S.shiftKey && document.activeElement === C) {
|
|
3586
|
+
S.preventDefault(), A.focus();
|
|
3587
3587
|
return;
|
|
3588
3588
|
}
|
|
3589
|
-
!S.shiftKey && document.activeElement ===
|
|
3589
|
+
!S.shiftKey && document.activeElement === A && (S.preventDefault(), C.focus());
|
|
3590
3590
|
}, E = c.current;
|
|
3591
|
-
return E.addEventListener("keydown",
|
|
3592
|
-
E.removeEventListener("keydown",
|
|
3591
|
+
return E.addEventListener("keydown", y), () => {
|
|
3592
|
+
E.removeEventListener("keydown", y);
|
|
3593
3593
|
};
|
|
3594
3594
|
}, [e]), !e || typeof document > "u") return null;
|
|
3595
3595
|
const d = f(
|
|
@@ -3597,9 +3597,9 @@ const Br = (e) => {
|
|
|
3597
3597
|
), g = f(
|
|
3598
3598
|
"bg-card rounded-lg shadow-xl w-full max-h-[90vh] overflow-hidden flex flex-col",
|
|
3599
3599
|
Br(n)
|
|
3600
|
-
),
|
|
3600
|
+
), T = f(
|
|
3601
3601
|
"p-6 border-b border-border flex items-center justify-between"
|
|
3602
|
-
),
|
|
3602
|
+
), h = f("p-6 overflow-y-auto flex-1 min-h-0"), w = f(
|
|
3603
3603
|
"bg-none border-none text-xl cursor-pointer text-muted-foreground p-1 rounded-sm flex items-center justify-center hover:bg-accent hover:text-accent-foreground focus:outline-2 focus:outline-primary focus:outline-offset-2"
|
|
3604
3604
|
);
|
|
3605
3605
|
return It(
|
|
@@ -3613,14 +3613,14 @@ const Br = (e) => {
|
|
|
3613
3613
|
{
|
|
3614
3614
|
ref: c,
|
|
3615
3615
|
className: g,
|
|
3616
|
-
onClick: (
|
|
3616
|
+
onClick: (v) => v.stopPropagation(),
|
|
3617
3617
|
tabIndex: -1,
|
|
3618
3618
|
role: "dialog",
|
|
3619
3619
|
"aria-modal": "true",
|
|
3620
3620
|
"aria-labelledby": o ? m : void 0,
|
|
3621
3621
|
children: [
|
|
3622
|
-
(o || s) && /* @__PURE__ */ p("div", { className:
|
|
3623
|
-
o && /* @__PURE__ */ r("div", { id: m, children: /* @__PURE__ */ r(
|
|
3622
|
+
(o || s) && /* @__PURE__ */ p("div", { className: T, children: [
|
|
3623
|
+
o && /* @__PURE__ */ r("div", { id: m, children: /* @__PURE__ */ r(j, { variant: "h3", className: "text-foreground", children: o }) }),
|
|
3624
3624
|
s && /* @__PURE__ */ r(
|
|
3625
3625
|
"button",
|
|
3626
3626
|
{
|
|
@@ -3632,7 +3632,7 @@ const Br = (e) => {
|
|
|
3632
3632
|
}
|
|
3633
3633
|
)
|
|
3634
3634
|
] }),
|
|
3635
|
-
/* @__PURE__ */ r("div", { className:
|
|
3635
|
+
/* @__PURE__ */ r("div", { className: h, children: a })
|
|
3636
3636
|
]
|
|
3637
3637
|
}
|
|
3638
3638
|
)
|
|
@@ -3647,7 +3647,7 @@ const Br = (e) => {
|
|
|
3647
3647
|
}) => /* @__PURE__ */ p(xt, { ...o, children: [
|
|
3648
3648
|
/* @__PURE__ */ r("div", { className: "p-6 overflow-y-auto flex-1", children: e }),
|
|
3649
3649
|
t && /* @__PURE__ */ r("div", { className: "p-6 border-t border-border flex justify-end gap-3", children: t })
|
|
3650
|
-
] }),
|
|
3650
|
+
] }), ca = ({
|
|
3651
3651
|
isOpen: e,
|
|
3652
3652
|
onClose: t,
|
|
3653
3653
|
onConfirm: o,
|
|
@@ -3661,11 +3661,11 @@ const Br = (e) => {
|
|
|
3661
3661
|
isOpen: e,
|
|
3662
3662
|
onClose: t,
|
|
3663
3663
|
title: a,
|
|
3664
|
-
actions: /* @__PURE__ */ p(
|
|
3664
|
+
actions: /* @__PURE__ */ p(oe, { children: [
|
|
3665
3665
|
/* @__PURE__ */ r(Q, { variant: "secondary", onClick: t, children: l }),
|
|
3666
3666
|
/* @__PURE__ */ r(Q, { variant: "default", onClick: o, children: s })
|
|
3667
3667
|
] }),
|
|
3668
|
-
children: /* @__PURE__ */ r(
|
|
3668
|
+
children: /* @__PURE__ */ r(j, { children: n })
|
|
3669
3669
|
}
|
|
3670
3670
|
), Gr = Y(
|
|
3671
3671
|
[
|
|
@@ -3800,7 +3800,7 @@ const Jr = Ce(
|
|
|
3800
3800
|
* This source code is licensed under the ISC license.
|
|
3801
3801
|
* See the LICENSE file in the root directory of this source tree.
|
|
3802
3802
|
*/
|
|
3803
|
-
const
|
|
3803
|
+
const H = (e, t) => {
|
|
3804
3804
|
const o = Ce(
|
|
3805
3805
|
({ className: a, ...n }, s) => Ie(Jr, {
|
|
3806
3806
|
ref: s,
|
|
@@ -3833,7 +3833,7 @@ const Qr = [
|
|
|
3833
3833
|
key: "14ym8i"
|
|
3834
3834
|
}
|
|
3835
3835
|
]
|
|
3836
|
-
], Yr =
|
|
3836
|
+
], Yr = H("bath", Qr);
|
|
3837
3837
|
/**
|
|
3838
3838
|
* @license lucide-react v0.547.0 - ISC
|
|
3839
3839
|
*
|
|
@@ -3845,7 +3845,7 @@ const eo = [
|
|
|
3845
3845
|
["path", { d: "M2 8h18a2 2 0 0 1 2 2v10", key: "1dgv2r" }],
|
|
3846
3846
|
["path", { d: "M2 17h20", key: "18nfp3" }],
|
|
3847
3847
|
["path", { d: "M6 8v9", key: "1yriud" }]
|
|
3848
|
-
], to =
|
|
3848
|
+
], to = H("bed", eo);
|
|
3849
3849
|
/**
|
|
3850
3850
|
* @license lucide-react v0.547.0 - ISC
|
|
3851
3851
|
*
|
|
@@ -3863,28 +3863,28 @@ const ro = [
|
|
|
3863
3863
|
["circle", { cx: "7", cy: "17", r: "2", key: "u2ysq9" }],
|
|
3864
3864
|
["path", { d: "M9 17h6", key: "r8uit2" }],
|
|
3865
3865
|
["circle", { cx: "17", cy: "17", r: "2", key: "axvx0g" }]
|
|
3866
|
-
], oo =
|
|
3866
|
+
], oo = H("car", ro);
|
|
3867
3867
|
/**
|
|
3868
3868
|
* @license lucide-react v0.547.0 - ISC
|
|
3869
3869
|
*
|
|
3870
3870
|
* This source code is licensed under the ISC license.
|
|
3871
3871
|
* See the LICENSE file in the root directory of this source tree.
|
|
3872
3872
|
*/
|
|
3873
|
-
const ao = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], no =
|
|
3873
|
+
const ao = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], no = H("chevron-down", ao);
|
|
3874
3874
|
/**
|
|
3875
3875
|
* @license lucide-react v0.547.0 - ISC
|
|
3876
3876
|
*
|
|
3877
3877
|
* This source code is licensed under the ISC license.
|
|
3878
3878
|
* See the LICENSE file in the root directory of this source tree.
|
|
3879
3879
|
*/
|
|
3880
|
-
const so = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], lo =
|
|
3880
|
+
const so = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], lo = H("chevron-left", so);
|
|
3881
3881
|
/**
|
|
3882
3882
|
* @license lucide-react v0.547.0 - ISC
|
|
3883
3883
|
*
|
|
3884
3884
|
* This source code is licensed under the ISC license.
|
|
3885
3885
|
* See the LICENSE file in the root directory of this source tree.
|
|
3886
3886
|
*/
|
|
3887
|
-
const io = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], co =
|
|
3887
|
+
const io = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], co = H("chevron-right", io);
|
|
3888
3888
|
/**
|
|
3889
3889
|
* @license lucide-react v0.547.0 - ISC
|
|
3890
3890
|
*
|
|
@@ -3892,19 +3892,6 @@ const io = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], co = D("chevron-ri
|
|
|
3892
3892
|
* See the LICENSE file in the root directory of this source tree.
|
|
3893
3893
|
*/
|
|
3894
3894
|
const mo = [
|
|
3895
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
3896
|
-
["path", { d: "M3 9h18", key: "1pudct" }],
|
|
3897
|
-
["path", { d: "M3 15h18", key: "5xshup" }],
|
|
3898
|
-
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
3899
|
-
["path", { d: "M15 3v18", key: "14nvp0" }]
|
|
3900
|
-
], uo = D("grid-3x3", mo);
|
|
3901
|
-
/**
|
|
3902
|
-
* @license lucide-react v0.547.0 - ISC
|
|
3903
|
-
*
|
|
3904
|
-
* This source code is licensed under the ISC license.
|
|
3905
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
3906
|
-
*/
|
|
3907
|
-
const po = [
|
|
3908
3895
|
[
|
|
3909
3896
|
"path",
|
|
3910
3897
|
{
|
|
@@ -3912,14 +3899,14 @@ const po = [
|
|
|
3912
3899
|
key: "mvr1a0"
|
|
3913
3900
|
}
|
|
3914
3901
|
]
|
|
3915
|
-
],
|
|
3902
|
+
], uo = H("heart", mo);
|
|
3916
3903
|
/**
|
|
3917
3904
|
* @license lucide-react v0.547.0 - ISC
|
|
3918
3905
|
*
|
|
3919
3906
|
* This source code is licensed under the ISC license.
|
|
3920
3907
|
* See the LICENSE file in the root directory of this source tree.
|
|
3921
3908
|
*/
|
|
3922
|
-
const
|
|
3909
|
+
const po = [
|
|
3923
3910
|
["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
|
|
3924
3911
|
[
|
|
3925
3912
|
"path",
|
|
@@ -3928,14 +3915,14 @@ const ho = [
|
|
|
3928
3915
|
key: "r6nss1"
|
|
3929
3916
|
}
|
|
3930
3917
|
]
|
|
3931
|
-
],
|
|
3918
|
+
], fo = H("house", po);
|
|
3932
3919
|
/**
|
|
3933
3920
|
* @license lucide-react v0.547.0 - ISC
|
|
3934
3921
|
*
|
|
3935
3922
|
* This source code is licensed under the ISC license.
|
|
3936
3923
|
* See the LICENSE file in the root directory of this source tree.
|
|
3937
3924
|
*/
|
|
3938
|
-
const
|
|
3925
|
+
const ho = [
|
|
3939
3926
|
[
|
|
3940
3927
|
"path",
|
|
3941
3928
|
{
|
|
@@ -3944,60 +3931,60 @@ const bo = [
|
|
|
3944
3931
|
}
|
|
3945
3932
|
],
|
|
3946
3933
|
["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
|
|
3947
|
-
],
|
|
3934
|
+
], go = H("map-pin", ho);
|
|
3948
3935
|
/**
|
|
3949
3936
|
* @license lucide-react v0.547.0 - ISC
|
|
3950
3937
|
*
|
|
3951
3938
|
* This source code is licensed under the ISC license.
|
|
3952
3939
|
* See the LICENSE file in the root directory of this source tree.
|
|
3953
3940
|
*/
|
|
3954
|
-
const
|
|
3941
|
+
const bo = [
|
|
3955
3942
|
["path", { d: "M8 3H5a2 2 0 0 0-2 2v3", key: "1dcmit" }],
|
|
3956
3943
|
["path", { d: "M21 8V5a2 2 0 0 0-2-2h-3", key: "1e4gt3" }],
|
|
3957
3944
|
["path", { d: "M3 16v3a2 2 0 0 0 2 2h3", key: "wsl5sc" }],
|
|
3958
3945
|
["path", { d: "M16 21h3a2 2 0 0 0 2-2v-3", key: "18trek" }]
|
|
3959
|
-
],
|
|
3946
|
+
], xo = H("maximize", bo);
|
|
3960
3947
|
/**
|
|
3961
3948
|
* @license lucide-react v0.547.0 - ISC
|
|
3962
3949
|
*
|
|
3963
3950
|
* This source code is licensed under the ISC license.
|
|
3964
3951
|
* See the LICENSE file in the root directory of this source tree.
|
|
3965
3952
|
*/
|
|
3966
|
-
const
|
|
3953
|
+
const yo = [
|
|
3967
3954
|
["path", { d: "M4 5h16", key: "1tepv9" }],
|
|
3968
3955
|
["path", { d: "M4 12h16", key: "1lakjw" }],
|
|
3969
3956
|
["path", { d: "M4 19h16", key: "1djgab" }]
|
|
3970
|
-
],
|
|
3957
|
+
], vo = H("menu", yo);
|
|
3971
3958
|
/**
|
|
3972
3959
|
* @license lucide-react v0.547.0 - ISC
|
|
3973
3960
|
*
|
|
3974
3961
|
* This source code is licensed under the ISC license.
|
|
3975
3962
|
* See the LICENSE file in the root directory of this source tree.
|
|
3976
3963
|
*/
|
|
3977
|
-
const
|
|
3964
|
+
const wo = [
|
|
3978
3965
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
3979
3966
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
3980
|
-
], Le =
|
|
3967
|
+
], Le = H("search", wo);
|
|
3981
3968
|
/**
|
|
3982
3969
|
* @license lucide-react v0.547.0 - ISC
|
|
3983
3970
|
*
|
|
3984
3971
|
* This source code is licensed under the ISC license.
|
|
3985
3972
|
* See the LICENSE file in the root directory of this source tree.
|
|
3986
3973
|
*/
|
|
3987
|
-
const
|
|
3974
|
+
const ko = [
|
|
3988
3975
|
["path", { d: "M16 7h6v6", key: "box55l" }],
|
|
3989
3976
|
["path", { d: "m22 7-8.5 8.5-5-5L2 17", key: "1t1m79" }]
|
|
3990
|
-
],
|
|
3977
|
+
], No = H("trending-up", ko);
|
|
3991
3978
|
/**
|
|
3992
3979
|
* @license lucide-react v0.547.0 - ISC
|
|
3993
3980
|
*
|
|
3994
3981
|
* This source code is licensed under the ISC license.
|
|
3995
3982
|
* See the LICENSE file in the root directory of this source tree.
|
|
3996
3983
|
*/
|
|
3997
|
-
const
|
|
3984
|
+
const Co = [
|
|
3998
3985
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
3999
3986
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
4000
|
-
], tt =
|
|
3987
|
+
], tt = H("x", Co), Fe = N.forwardRef(
|
|
4001
3988
|
({
|
|
4002
3989
|
className: e,
|
|
4003
3990
|
containerClassName: t,
|
|
@@ -4012,8 +3999,8 @@ const So = [
|
|
|
4012
3999
|
placeholder: u,
|
|
4013
4000
|
id: d,
|
|
4014
4001
|
...g
|
|
4015
|
-
},
|
|
4016
|
-
const
|
|
4002
|
+
}, T) => {
|
|
4003
|
+
const h = N.useId(), w = d || h, v = `${w}-helper`, y = `${w}-error`, E = i ? "error" : a, S = i || l;
|
|
4017
4004
|
return /* @__PURE__ */ p("div", { className: f("w-full", t), children: [
|
|
4018
4005
|
s && /* @__PURE__ */ r(
|
|
4019
4006
|
"label",
|
|
@@ -4031,7 +4018,7 @@ const So = [
|
|
|
4031
4018
|
"select",
|
|
4032
4019
|
{
|
|
4033
4020
|
id: w,
|
|
4034
|
-
ref:
|
|
4021
|
+
ref: T,
|
|
4035
4022
|
className: f(
|
|
4036
4023
|
Gr({ variant: E, selectSize: n }),
|
|
4037
4024
|
"pr-10",
|
|
@@ -4039,18 +4026,18 @@ const So = [
|
|
|
4039
4026
|
e
|
|
4040
4027
|
),
|
|
4041
4028
|
"aria-invalid": i ? "true" : "false",
|
|
4042
|
-
"aria-describedby": S ? i ?
|
|
4029
|
+
"aria-describedby": S ? i ? y : v : void 0,
|
|
4043
4030
|
...g,
|
|
4044
4031
|
children: [
|
|
4045
4032
|
u && /* @__PURE__ */ r("option", { value: "", disabled: !0, children: u }),
|
|
4046
|
-
m.map((
|
|
4033
|
+
m.map((P) => /* @__PURE__ */ r(
|
|
4047
4034
|
"option",
|
|
4048
4035
|
{
|
|
4049
|
-
value:
|
|
4050
|
-
disabled:
|
|
4051
|
-
children:
|
|
4036
|
+
value: P.value,
|
|
4037
|
+
disabled: P.disabled,
|
|
4038
|
+
children: P.label
|
|
4052
4039
|
},
|
|
4053
|
-
|
|
4040
|
+
P.value
|
|
4054
4041
|
))
|
|
4055
4042
|
]
|
|
4056
4043
|
}
|
|
@@ -4060,7 +4047,7 @@ const So = [
|
|
|
4060
4047
|
S && /* @__PURE__ */ r(
|
|
4061
4048
|
"p",
|
|
4062
4049
|
{
|
|
4063
|
-
id: i ?
|
|
4050
|
+
id: i ? y : v,
|
|
4064
4051
|
className: Ur({ variant: E }),
|
|
4065
4052
|
role: i ? "alert" : void 0,
|
|
4066
4053
|
children: S
|
|
@@ -4070,7 +4057,7 @@ const So = [
|
|
|
4070
4057
|
}
|
|
4071
4058
|
);
|
|
4072
4059
|
Fe.displayName = "Select";
|
|
4073
|
-
const
|
|
4060
|
+
const Mo = (e) => {
|
|
4074
4061
|
switch (e) {
|
|
4075
4062
|
case "sm":
|
|
4076
4063
|
return "p-4";
|
|
@@ -4090,7 +4077,7 @@ const To = (e) => {
|
|
|
4090
4077
|
}) => {
|
|
4091
4078
|
const s = f("min-h-screen flex flex-col"), l = f("bg-card border-b border-border z-10"), i = f("flex flex-1"), c = f("w-70 bg-card border-r border-border p-6"), m = f("flex-1 flex flex-col"), u = f(
|
|
4092
4079
|
"flex-1 mx-auto w-full max-w-7xl",
|
|
4093
|
-
|
|
4080
|
+
Mo(n)
|
|
4094
4081
|
);
|
|
4095
4082
|
return /* @__PURE__ */ p("div", { className: s, children: [
|
|
4096
4083
|
t && /* @__PURE__ */ r("header", { className: l, children: t }),
|
|
@@ -4100,13 +4087,13 @@ const To = (e) => {
|
|
|
4100
4087
|
] }),
|
|
4101
4088
|
a && /* @__PURE__ */ r("footer", { className: "bg-card border-t border-border mt-auto", children: a })
|
|
4102
4089
|
] });
|
|
4103
|
-
},
|
|
4090
|
+
}, da = ({ children: e, header: t, sidebar: o }) => /* @__PURE__ */ r(Ve, { header: t, sidebar: o, padding: "lg", children: /* @__PURE__ */ r("div", { className: "max-w-screen-2xl", children: e }) }), ma = ({ children: e, title: t, subtitle: o }) => /* @__PURE__ */ r(Ve, { padding: "lg", children: /* @__PURE__ */ p("div", { className: "max-w-md mx-auto", children: [
|
|
4104
4091
|
/* @__PURE__ */ p("div", { className: "text-center mb-8", children: [
|
|
4105
|
-
t && /* @__PURE__ */ r(
|
|
4106
|
-
o && /* @__PURE__ */ r(
|
|
4092
|
+
t && /* @__PURE__ */ r(j, { variant: "h2", className: "mb-2", children: t }),
|
|
4093
|
+
o && /* @__PURE__ */ r(j, { variant: "body", color: "muted", children: o })
|
|
4107
4094
|
] }),
|
|
4108
4095
|
e
|
|
4109
|
-
] }) }),
|
|
4096
|
+
] }) }), ua = ({ children: e, header: t, footer: o }) => /* @__PURE__ */ r(Ve, { header: t, footer: o, padding: "none", children: e }), vt = N.forwardRef(({ message: e = "No entities found", icon: t, action: o, className: a }, n) => /* @__PURE__ */ p(
|
|
4110
4097
|
"div",
|
|
4111
4098
|
{
|
|
4112
4099
|
ref: n,
|
|
@@ -4118,7 +4105,7 @@ const To = (e) => {
|
|
|
4118
4105
|
),
|
|
4119
4106
|
children: [
|
|
4120
4107
|
t && /* @__PURE__ */ r("div", { className: "mb-4 text-4xl opacity-50", "aria-hidden": "true", children: t }),
|
|
4121
|
-
/* @__PURE__ */ r(
|
|
4108
|
+
/* @__PURE__ */ r(j, { variant: "body-lg", className: "text-muted-foreground mb-4", children: e }),
|
|
4122
4109
|
o && /* @__PURE__ */ r(Q, { variant: "outline", onClick: o.onClick, children: o.label })
|
|
4123
4110
|
]
|
|
4124
4111
|
}
|
|
@@ -4138,8 +4125,8 @@ const wt = N.forwardRef(({ error: e, onRetry: t, className: o }, a) => {
|
|
|
4138
4125
|
),
|
|
4139
4126
|
children: [
|
|
4140
4127
|
/* @__PURE__ */ r("div", { className: "mb-4 text-4xl", "aria-hidden": "true", children: "⚠️" }),
|
|
4141
|
-
/* @__PURE__ */ r(
|
|
4142
|
-
/* @__PURE__ */ r(
|
|
4128
|
+
/* @__PURE__ */ r(j, { variant: "body-lg", className: "text-destructive mb-2 font-semibold", children: "Error" }),
|
|
4129
|
+
/* @__PURE__ */ r(j, { variant: "body", className: "text-muted-foreground mb-4", children: n }),
|
|
4143
4130
|
t && /* @__PURE__ */ r(Q, { variant: "outline", onClick: t, children: "Try Again" })
|
|
4144
4131
|
]
|
|
4145
4132
|
}
|
|
@@ -4147,8 +4134,8 @@ const wt = N.forwardRef(({ error: e, onRetry: t, className: o }, a) => {
|
|
|
4147
4134
|
});
|
|
4148
4135
|
wt.displayName = "EntityDirectoryErrorState";
|
|
4149
4136
|
const kt = N.forwardRef(({ title: e, description: t, className: o }, a) => /* @__PURE__ */ p("div", { ref: a, className: f("space-y-1.5", o), children: [
|
|
4150
|
-
/* @__PURE__ */ r(
|
|
4151
|
-
t && /* @__PURE__ */ r(
|
|
4137
|
+
/* @__PURE__ */ r(j, { variant: "h2", className: "font-bold", children: e }),
|
|
4138
|
+
t && /* @__PURE__ */ r(j, { variant: "body", className: "text-muted-foreground", children: t })
|
|
4152
4139
|
] }));
|
|
4153
4140
|
kt.displayName = "EntityDirectoryHeader";
|
|
4154
4141
|
const Nt = N.forwardRef(
|
|
@@ -4196,7 +4183,7 @@ const Nt = N.forwardRef(
|
|
|
4196
4183
|
),
|
|
4197
4184
|
/* @__PURE__ */ p("div", { className: "flex-1 min-w-0", children: [
|
|
4198
4185
|
/* @__PURE__ */ r(
|
|
4199
|
-
|
|
4186
|
+
j,
|
|
4200
4187
|
{
|
|
4201
4188
|
variant: s ? "body-sm" : "body",
|
|
4202
4189
|
className: "font-semibold truncate",
|
|
@@ -4204,7 +4191,7 @@ const Nt = N.forwardRef(
|
|
|
4204
4191
|
}
|
|
4205
4192
|
),
|
|
4206
4193
|
e.subtitle && /* @__PURE__ */ r(
|
|
4207
|
-
|
|
4194
|
+
j,
|
|
4208
4195
|
{
|
|
4209
4196
|
variant: s ? "caption" : "body-sm",
|
|
4210
4197
|
className: "text-muted-foreground truncate",
|
|
@@ -4224,14 +4211,14 @@ const Nt = N.forwardRef(
|
|
|
4224
4211
|
),
|
|
4225
4212
|
n && e.metricValue && /* @__PURE__ */ p("div", { className: "flex-shrink-0 text-right min-w-[4rem]", children: [
|
|
4226
4213
|
/* @__PURE__ */ r(
|
|
4227
|
-
|
|
4214
|
+
j,
|
|
4228
4215
|
{
|
|
4229
4216
|
variant: s ? "body-sm" : "body",
|
|
4230
4217
|
className: "font-medium",
|
|
4231
4218
|
children: e.metricValue
|
|
4232
4219
|
}
|
|
4233
4220
|
),
|
|
4234
|
-
e.metricLabel && /* @__PURE__ */ r(
|
|
4221
|
+
e.metricLabel && /* @__PURE__ */ r(j, { variant: "caption", className: "text-muted-foreground", children: e.metricLabel })
|
|
4235
4222
|
] })
|
|
4236
4223
|
]
|
|
4237
4224
|
}
|
|
@@ -4272,12 +4259,12 @@ const Ct = N.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, co
|
|
|
4272
4259
|
children: [
|
|
4273
4260
|
t && /* @__PURE__ */ r("div", { className: n ? "w-8" : "w-10" }),
|
|
4274
4261
|
e.map((d) => {
|
|
4275
|
-
const g = d.sortable && (d.key === "title" || d.key === "metric"),
|
|
4262
|
+
const g = d.sortable && (d.key === "title" || d.key === "metric"), T = o?.column === d.key;
|
|
4276
4263
|
return /* @__PURE__ */ p(
|
|
4277
4264
|
"div",
|
|
4278
4265
|
{
|
|
4279
4266
|
role: "columnheader",
|
|
4280
|
-
"aria-sort":
|
|
4267
|
+
"aria-sort": T ? o?.direction === "asc" ? "ascending" : "descending" : void 0,
|
|
4281
4268
|
className: f(
|
|
4282
4269
|
d.key === "title" && "flex-1",
|
|
4283
4270
|
d.key === "category" && "w-40",
|
|
@@ -4285,12 +4272,12 @@ const Ct = N.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, co
|
|
|
4285
4272
|
d.align === "center" && "text-center",
|
|
4286
4273
|
d.align === "right" && "text-right",
|
|
4287
4274
|
g && "cursor-pointer hover:text-foreground transition-colors select-none",
|
|
4288
|
-
|
|
4275
|
+
T && "text-foreground"
|
|
4289
4276
|
),
|
|
4290
4277
|
style: d.width ? { width: d.width } : void 0,
|
|
4291
4278
|
onClick: g && (d.key === "title" || d.key === "metric") ? () => c(d.key) : void 0,
|
|
4292
4279
|
tabIndex: g ? 0 : void 0,
|
|
4293
|
-
onKeyDown: g && (d.key === "title" || d.key === "metric") ? (
|
|
4280
|
+
onKeyDown: g && (d.key === "title" || d.key === "metric") ? (h) => m(h, d.key) : void 0,
|
|
4294
4281
|
children: [
|
|
4295
4282
|
d.label,
|
|
4296
4283
|
g && u(d.key)
|
|
@@ -4319,7 +4306,7 @@ const Mt = N.forwardRef(
|
|
|
4319
4306
|
renderItem: u,
|
|
4320
4307
|
className: d
|
|
4321
4308
|
}, g) => {
|
|
4322
|
-
const
|
|
4309
|
+
const T = [
|
|
4323
4310
|
{
|
|
4324
4311
|
key: "title",
|
|
4325
4312
|
label: s ? "Nombre" : "Name",
|
|
@@ -4349,7 +4336,7 @@ const Mt = N.forwardRef(
|
|
|
4349
4336
|
/* @__PURE__ */ r(
|
|
4350
4337
|
Ct,
|
|
4351
4338
|
{
|
|
4352
|
-
columns:
|
|
4339
|
+
columns: T,
|
|
4353
4340
|
showIcon: o,
|
|
4354
4341
|
sort: i,
|
|
4355
4342
|
onSortChange: c,
|
|
@@ -4357,17 +4344,17 @@ const Mt = N.forwardRef(
|
|
|
4357
4344
|
}
|
|
4358
4345
|
),
|
|
4359
4346
|
/* @__PURE__ */ r("div", { role: "rowgroup", children: e.map(
|
|
4360
|
-
(
|
|
4347
|
+
(h) => u ? /* @__PURE__ */ r(N.Fragment, { children: u(h) }, h.id) : /* @__PURE__ */ r(
|
|
4361
4348
|
Nt,
|
|
4362
4349
|
{
|
|
4363
|
-
entity:
|
|
4350
|
+
entity: h,
|
|
4364
4351
|
categories: t,
|
|
4365
4352
|
showIcon: o,
|
|
4366
4353
|
showCategoryBadge: a,
|
|
4367
4354
|
showMetric: n,
|
|
4368
4355
|
compact: m
|
|
4369
4356
|
},
|
|
4370
|
-
|
|
4357
|
+
h.id
|
|
4371
4358
|
)
|
|
4372
4359
|
) })
|
|
4373
4360
|
]
|
|
@@ -4473,7 +4460,7 @@ const Tt = N.forwardRef(({ value: e, onChange: t, placeholder: o = "Search entit
|
|
|
4473
4460
|
)
|
|
4474
4461
|
] }));
|
|
4475
4462
|
Tt.displayName = "EntityDirectorySearchFilter";
|
|
4476
|
-
const
|
|
4463
|
+
const So = N.forwardRef(
|
|
4477
4464
|
({
|
|
4478
4465
|
entities: e,
|
|
4479
4466
|
categories: t,
|
|
@@ -4488,28 +4475,28 @@ const Po = N.forwardRef(
|
|
|
4488
4475
|
onSearchChange: u,
|
|
4489
4476
|
searchPlaceholder: d,
|
|
4490
4477
|
sortable: g = !1,
|
|
4491
|
-
sort:
|
|
4492
|
-
onSortChange:
|
|
4478
|
+
sort: T,
|
|
4479
|
+
onSortChange: h,
|
|
4493
4480
|
showIcons: w = !0,
|
|
4494
|
-
showCategoryBadges:
|
|
4495
|
-
showMetric:
|
|
4481
|
+
showCategoryBadges: v = !0,
|
|
4482
|
+
showMetric: y = !0,
|
|
4496
4483
|
metricLabel: E,
|
|
4497
4484
|
compact: S = !1,
|
|
4498
|
-
loading:
|
|
4499
|
-
error:
|
|
4500
|
-
emptyMessage:
|
|
4501
|
-
onRetry:
|
|
4485
|
+
loading: P = !1,
|
|
4486
|
+
error: C,
|
|
4487
|
+
emptyMessage: A,
|
|
4488
|
+
onRetry: I,
|
|
4502
4489
|
emptyState: k,
|
|
4503
|
-
errorState:
|
|
4504
|
-
loadingState:
|
|
4505
|
-
renderItem:
|
|
4506
|
-
className:
|
|
4490
|
+
errorState: R,
|
|
4491
|
+
loadingState: G,
|
|
4492
|
+
renderItem: K,
|
|
4493
|
+
className: Z,
|
|
4507
4494
|
style: ne
|
|
4508
4495
|
}, ee) => {
|
|
4509
|
-
const
|
|
4510
|
-
return /* @__PURE__ */ p("div", { ref: ee, className: f("space-y-6",
|
|
4496
|
+
const W = t && t.length > 0, B = !P && !C && e.length === 0, q = !P && !!C;
|
|
4497
|
+
return /* @__PURE__ */ p("div", { ref: ee, className: f("space-y-6", Z), style: ne, children: [
|
|
4511
4498
|
/* @__PURE__ */ r(kt, { title: o, description: a }),
|
|
4512
|
-
|
|
4499
|
+
W && s && /* @__PURE__ */ r(
|
|
4513
4500
|
bt,
|
|
4514
4501
|
{
|
|
4515
4502
|
categories: t,
|
|
@@ -4527,30 +4514,30 @@ const Po = N.forwardRef(
|
|
|
4527
4514
|
placeholder: d
|
|
4528
4515
|
}
|
|
4529
4516
|
),
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
B && (k || /* @__PURE__ */ r(vt, { message:
|
|
4533
|
-
!
|
|
4517
|
+
P && (G || /* @__PURE__ */ r(St, {})),
|
|
4518
|
+
q && (R || /* @__PURE__ */ r(wt, { error: C, onRetry: I })),
|
|
4519
|
+
B && (k || /* @__PURE__ */ r(vt, { message: A })),
|
|
4520
|
+
!P && !q && !B && /* @__PURE__ */ r(
|
|
4534
4521
|
Mt,
|
|
4535
4522
|
{
|
|
4536
4523
|
entities: e,
|
|
4537
4524
|
categories: t,
|
|
4538
4525
|
showIcons: w,
|
|
4539
|
-
showCategoryBadges:
|
|
4540
|
-
showMetric:
|
|
4526
|
+
showCategoryBadges: v,
|
|
4527
|
+
showMetric: y,
|
|
4541
4528
|
metricLabel: E,
|
|
4542
4529
|
sortable: g,
|
|
4543
|
-
sort:
|
|
4544
|
-
onSortChange:
|
|
4530
|
+
sort: T,
|
|
4531
|
+
onSortChange: h,
|
|
4545
4532
|
compact: S,
|
|
4546
|
-
renderItem:
|
|
4533
|
+
renderItem: K
|
|
4547
4534
|
}
|
|
4548
4535
|
)
|
|
4549
4536
|
] });
|
|
4550
4537
|
}
|
|
4551
4538
|
);
|
|
4552
|
-
|
|
4553
|
-
function
|
|
4539
|
+
So.displayName = "EntityDirectory";
|
|
4540
|
+
function To(e) {
|
|
4554
4541
|
return {
|
|
4555
4542
|
variant: e.variant || "minimal",
|
|
4556
4543
|
logo: e.logo,
|
|
@@ -4559,155 +4546,174 @@ function zo(e) {
|
|
|
4559
4546
|
showMobileMenu: e.showMobileMenu ?? !0
|
|
4560
4547
|
};
|
|
4561
4548
|
}
|
|
4562
|
-
const
|
|
4549
|
+
const Po = Ce(
|
|
4563
4550
|
({
|
|
4564
4551
|
variant: e,
|
|
4565
4552
|
logo: t,
|
|
4566
4553
|
navigationItems: o,
|
|
4567
4554
|
loginButtonText: a,
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4555
|
+
rightActions: n,
|
|
4556
|
+
showMobileMenu: s,
|
|
4557
|
+
className: l,
|
|
4558
|
+
logoClassName: i,
|
|
4559
|
+
navigationClassName: c,
|
|
4560
|
+
navigationItemClassName: m,
|
|
4561
|
+
loginButtonClassName: u,
|
|
4562
|
+
rightActionsClassName: d,
|
|
4563
|
+
mobileMenuButtonClassName: g,
|
|
4564
|
+
renderNavLink: T,
|
|
4565
|
+
id: h,
|
|
4566
|
+
"aria-label": w
|
|
4567
|
+
}, v) => {
|
|
4568
|
+
const [y, E] = re(!1), S = To({
|
|
4580
4569
|
variant: e,
|
|
4581
4570
|
logo: t,
|
|
4582
4571
|
navigationItems: o,
|
|
4583
4572
|
loginButtonText: a,
|
|
4584
|
-
showMobileMenu:
|
|
4585
|
-
}),
|
|
4586
|
-
item:
|
|
4587
|
-
className:
|
|
4588
|
-
onClick:
|
|
4589
|
-
}) =>
|
|
4590
|
-
item:
|
|
4591
|
-
children:
|
|
4592
|
-
className:
|
|
4593
|
-
onClick:
|
|
4594
|
-
}) : /* @__PURE__ */ r("a", { href:
|
|
4595
|
-
return /* @__PURE__ */ p(
|
|
4573
|
+
showMobileMenu: s
|
|
4574
|
+
}), P = S.variant === "modern", C = S.variant === "luxury", A = C && S.showMobileMenu, I = y ? A ? "Close navigation panel" : "Close menu" : A ? "Open navigation panel" : "Open menu", k = ({
|
|
4575
|
+
item: R,
|
|
4576
|
+
className: G,
|
|
4577
|
+
onClick: K
|
|
4578
|
+
}) => T ? T({
|
|
4579
|
+
item: R,
|
|
4580
|
+
children: R.label,
|
|
4581
|
+
className: G,
|
|
4582
|
+
onClick: K
|
|
4583
|
+
}) : /* @__PURE__ */ r("a", { href: R.href, className: G, onClick: K, children: R.label });
|
|
4584
|
+
return /* @__PURE__ */ p(oe, { children: [
|
|
4596
4585
|
/* @__PURE__ */ p(
|
|
4597
4586
|
"header",
|
|
4598
4587
|
{
|
|
4599
|
-
ref:
|
|
4600
|
-
id:
|
|
4588
|
+
ref: v,
|
|
4589
|
+
id: h,
|
|
4601
4590
|
role: "banner",
|
|
4602
|
-
"aria-label":
|
|
4591
|
+
"aria-label": w || "Site header",
|
|
4603
4592
|
className: f(
|
|
4604
|
-
"flex items-center
|
|
4593
|
+
"relative flex w-full items-center gap-3 md:gap-4",
|
|
4605
4594
|
// Luxury: wide horizontal rhythm from Figma, Modern/Minimal: compact padding
|
|
4606
|
-
|
|
4607
|
-
|
|
4595
|
+
C ? "px-16 py-2" : "px-6 py-1",
|
|
4596
|
+
l
|
|
4608
4597
|
),
|
|
4609
4598
|
children: [
|
|
4610
|
-
|
|
4599
|
+
S.logo && /* @__PURE__ */ r(
|
|
4611
4600
|
"div",
|
|
4612
4601
|
{
|
|
4613
4602
|
className: f(
|
|
4614
|
-
"
|
|
4603
|
+
"min-w-0 max-w-[65%] shrink text-ellipsis overflow-hidden text-nowrap md:max-w-[28%] md:basis-auto",
|
|
4615
4604
|
// Keep modern logos legible even when clients upload white assets
|
|
4616
|
-
|
|
4605
|
+
P && "[&_img]:brightness-0 [&_img]:saturate-0 [&_svg]:brightness-0 [&_svg]:saturate-0"
|
|
4617
4606
|
),
|
|
4618
|
-
children: typeof
|
|
4607
|
+
children: typeof S.logo == "string" ? /* @__PURE__ */ r(
|
|
4619
4608
|
"p",
|
|
4620
4609
|
{
|
|
4621
4610
|
className: f(
|
|
4622
4611
|
"leading-normal",
|
|
4623
4612
|
// Luxury: Tenor Sans serif mark, Modern/Minimal: bold sans mark
|
|
4624
|
-
|
|
4613
|
+
C ? "font-heading text-xl font-normal uppercase tracking-[0.04em]" : "font-black tracking-wider text-xl",
|
|
4625
4614
|
// Keep modern text logos strictly black for legibility
|
|
4626
|
-
|
|
4627
|
-
|
|
4615
|
+
P ? "text-black" : "text-white",
|
|
4616
|
+
i
|
|
4628
4617
|
),
|
|
4629
|
-
children:
|
|
4618
|
+
children: S.logo
|
|
4630
4619
|
}
|
|
4631
|
-
) :
|
|
4620
|
+
) : S.logo
|
|
4632
4621
|
}
|
|
4633
4622
|
),
|
|
4634
|
-
|
|
4623
|
+
S.navigationItems.length > 0 && /* @__PURE__ */ r("div", { className: "hidden min-w-0 flex-1 items-center justify-center px-2 lg:flex", children: /* @__PURE__ */ r(
|
|
4635
4624
|
"nav",
|
|
4636
4625
|
{
|
|
4637
4626
|
className: f(
|
|
4638
|
-
"
|
|
4627
|
+
"flex min-w-0 max-w-full items-center overflow-x-auto whitespace-nowrap",
|
|
4639
4628
|
// Luxury: plain links with separators, Modern: transparent row, Minimal: pill navigation
|
|
4640
|
-
|
|
4641
|
-
|
|
4629
|
+
C ? "gap-4" : P ? "gap-4 bg-transparent border-0 shadow-none" : "gap-4 px-6 py-2 bg-white border border-gray-200 rounded-full shadow-sm",
|
|
4630
|
+
c
|
|
4642
4631
|
),
|
|
4643
4632
|
"aria-label": "Main navigation",
|
|
4644
|
-
children:
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
children: /* @__PURE__ */ r("div", { className: "h-0 w-6 rotate-90", children: /* @__PURE__ */ r(
|
|
4633
|
+
children: S.navigationItems.map((R, G) => /* @__PURE__ */ p(
|
|
4634
|
+
"div",
|
|
4635
|
+
{
|
|
4636
|
+
className: "flex shrink-0 items-center gap-4",
|
|
4637
|
+
children: [
|
|
4638
|
+
G > 0 && /* @__PURE__ */ r(
|
|
4651
4639
|
"div",
|
|
4652
4640
|
{
|
|
4653
|
-
className:
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4641
|
+
className: "flex items-center justify-center h-6 w-0",
|
|
4642
|
+
"aria-hidden": "true",
|
|
4643
|
+
children: /* @__PURE__ */ r("div", { className: "h-0 w-6 rotate-90", children: /* @__PURE__ */ r(
|
|
4644
|
+
"div",
|
|
4645
|
+
{
|
|
4646
|
+
className: f(
|
|
4647
|
+
"h-px w-full",
|
|
4648
|
+
C ? "bg-white" : "bg-gray-200"
|
|
4649
|
+
)
|
|
4650
|
+
}
|
|
4651
|
+
) })
|
|
4657
4652
|
}
|
|
4658
|
-
)
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
}
|
|
4668
|
-
|
|
4653
|
+
),
|
|
4654
|
+
k({
|
|
4655
|
+
item: R,
|
|
4656
|
+
className: f(
|
|
4657
|
+
C ? "font-body text-sm font-normal uppercase tracking-[0.05em] leading-5 text-white hover:text-white/80 transition-colors" : "text-gray-900 text-sm font-medium leading-5 hover:text-black transition-colors text-ellipsis overflow-hidden text-nowrap",
|
|
4658
|
+
m
|
|
4659
|
+
)
|
|
4660
|
+
})
|
|
4661
|
+
]
|
|
4662
|
+
},
|
|
4663
|
+
R.id
|
|
4664
|
+
))
|
|
4669
4665
|
}
|
|
4670
|
-
),
|
|
4671
|
-
/* @__PURE__ */ p("div", { className:
|
|
4666
|
+
) }),
|
|
4667
|
+
/* @__PURE__ */ p("div", { className: "ml-auto flex shrink-0 items-center gap-2 md:gap-3 lg:gap-4", children: [
|
|
4672
4668
|
/* @__PURE__ */ r(
|
|
4673
4669
|
"button",
|
|
4674
4670
|
{
|
|
4675
4671
|
type: "button",
|
|
4676
4672
|
className: f(
|
|
4677
|
-
"hidden
|
|
4673
|
+
"hidden shrink-0 whitespace-nowrap lg:flex items-center justify-center px-4 py-2 text-sm font-medium leading-5 transition-colors",
|
|
4678
4674
|
// Luxury: white outlined button, Modern: dark rectangular CTA, Minimal: white pill
|
|
4679
|
-
|
|
4680
|
-
|
|
4675
|
+
C ? "font-body h-9 bg-white text-zinc-900 border border-zinc-200 rounded-none hover:bg-zinc-100" : P ? "h-10 bg-zinc-900 text-white border-0 rounded-md hover:bg-zinc-800" : "h-9 bg-white border border-gray-200 text-zinc-900 rounded-full hover:bg-zinc-200",
|
|
4676
|
+
u
|
|
4681
4677
|
),
|
|
4682
|
-
children:
|
|
4678
|
+
children: S.loginButtonText
|
|
4683
4679
|
}
|
|
4684
4680
|
),
|
|
4685
|
-
|
|
4681
|
+
n && /* @__PURE__ */ r(
|
|
4682
|
+
"div",
|
|
4683
|
+
{
|
|
4684
|
+
className: f(
|
|
4685
|
+
"hidden shrink-0 items-center gap-2 lg:flex",
|
|
4686
|
+
d
|
|
4687
|
+
),
|
|
4688
|
+
children: n
|
|
4689
|
+
}
|
|
4690
|
+
),
|
|
4691
|
+
S.showMobileMenu && /* @__PURE__ */ r(
|
|
4686
4692
|
"button",
|
|
4687
4693
|
{
|
|
4688
4694
|
type: "button",
|
|
4689
|
-
onClick: () =>
|
|
4690
|
-
"aria-label":
|
|
4691
|
-
"aria-expanded":
|
|
4695
|
+
onClick: () => E(!y),
|
|
4696
|
+
"aria-label": I,
|
|
4697
|
+
"aria-expanded": y,
|
|
4692
4698
|
className: f(
|
|
4693
|
-
"flex
|
|
4694
|
-
|
|
4695
|
-
|
|
4699
|
+
"flex lg:hidden items-center justify-center px-3 py-2 bg-white transition-colors",
|
|
4700
|
+
C ? "border border-zinc-200 text-zinc-900 hover:bg-zinc-100" : P ? "rounded-xl border border-zinc-200 hover:bg-gray-50" : "rounded-full hover:bg-gray-50",
|
|
4701
|
+
g
|
|
4696
4702
|
),
|
|
4697
|
-
children:
|
|
4703
|
+
children: y ? /* @__PURE__ */ r(
|
|
4698
4704
|
tt,
|
|
4699
4705
|
{
|
|
4700
4706
|
className: f(
|
|
4701
4707
|
"text-gray-900",
|
|
4702
|
-
|
|
4708
|
+
C ? "h-[15px] w-[15px]" : "h-4 w-4"
|
|
4703
4709
|
)
|
|
4704
4710
|
}
|
|
4705
4711
|
) : /* @__PURE__ */ r(
|
|
4706
|
-
|
|
4712
|
+
vo,
|
|
4707
4713
|
{
|
|
4708
4714
|
className: f(
|
|
4709
4715
|
"text-gray-900",
|
|
4710
|
-
|
|
4716
|
+
C ? "h-[15px] w-[15px]" : "h-4 w-4"
|
|
4711
4717
|
)
|
|
4712
4718
|
}
|
|
4713
4719
|
)
|
|
@@ -4717,10 +4723,10 @@ const Eo = Ce(
|
|
|
4717
4723
|
]
|
|
4718
4724
|
}
|
|
4719
4725
|
),
|
|
4720
|
-
|
|
4726
|
+
y && S.showMobileMenu && /* @__PURE__ */ p(
|
|
4721
4727
|
"div",
|
|
4722
4728
|
{
|
|
4723
|
-
className: "fixed inset-0 z-40
|
|
4729
|
+
className: "fixed inset-0 z-40 lg:hidden",
|
|
4724
4730
|
role: "dialog",
|
|
4725
4731
|
"aria-modal": "true",
|
|
4726
4732
|
"aria-label": "Mobile menu",
|
|
@@ -4729,7 +4735,7 @@ const Eo = Ce(
|
|
|
4729
4735
|
"div",
|
|
4730
4736
|
{
|
|
4731
4737
|
className: "fixed inset-0 bg-black/50",
|
|
4732
|
-
onClick: () =>
|
|
4738
|
+
onClick: () => E(!1),
|
|
4733
4739
|
"aria-hidden": "true"
|
|
4734
4740
|
}
|
|
4735
4741
|
),
|
|
@@ -4738,24 +4744,24 @@ const Eo = Ce(
|
|
|
4738
4744
|
"button",
|
|
4739
4745
|
{
|
|
4740
4746
|
type: "button",
|
|
4741
|
-
onClick: () =>
|
|
4747
|
+
onClick: () => E(!1),
|
|
4742
4748
|
"aria-label": "Close menu",
|
|
4743
4749
|
className: "flex h-10 w-10 items-center justify-center rounded-full bg-zinc-100 text-zinc-900 hover:bg-zinc-200",
|
|
4744
4750
|
children: /* @__PURE__ */ r(tt, { className: "h-5 w-5" })
|
|
4745
4751
|
}
|
|
4746
4752
|
) }),
|
|
4747
4753
|
/* @__PURE__ */ r("nav", { className: "flex-1 overflow-y-auto px-6 py-4", children: /* @__PURE__ */ p("div", { className: "flex flex-col gap-4", children: [
|
|
4748
|
-
|
|
4749
|
-
item:
|
|
4754
|
+
S.navigationItems.map((R) => /* @__PURE__ */ r("div", { children: k({
|
|
4755
|
+
item: R,
|
|
4750
4756
|
className: "block text-base font-medium text-zinc-900 hover:text-zinc-600 transition-colors py-2",
|
|
4751
|
-
onClick: () =>
|
|
4752
|
-
}) },
|
|
4757
|
+
onClick: () => E(!1)
|
|
4758
|
+
}) }, R.id)),
|
|
4753
4759
|
/* @__PURE__ */ r("div", { className: "mt-4 pt-4 border-t border-zinc-200", children: /* @__PURE__ */ r(
|
|
4754
4760
|
"button",
|
|
4755
4761
|
{
|
|
4756
4762
|
type: "button",
|
|
4757
4763
|
className: "w-full h-12 flex items-center justify-center rounded-full bg-zinc-100 text-zinc-900 font-semibold",
|
|
4758
|
-
children:
|
|
4764
|
+
children: S.loginButtonText
|
|
4759
4765
|
}
|
|
4760
4766
|
) })
|
|
4761
4767
|
] }) })
|
|
@@ -4766,13 +4772,13 @@ const Eo = Ce(
|
|
|
4766
4772
|
] });
|
|
4767
4773
|
}
|
|
4768
4774
|
);
|
|
4769
|
-
|
|
4770
|
-
const
|
|
4775
|
+
Po.displayName = "Header";
|
|
4776
|
+
const zo = (e) => ({
|
|
4771
4777
|
content: e.content,
|
|
4772
4778
|
theme: e.theme || {},
|
|
4773
4779
|
variant: e.variant || "modern",
|
|
4774
4780
|
layout: e.layout || "centered"
|
|
4775
|
-
}),
|
|
4781
|
+
}), Eo = {
|
|
4776
4782
|
center: "object-center",
|
|
4777
4783
|
top: "object-top",
|
|
4778
4784
|
bottom: "object-bottom",
|
|
@@ -4782,7 +4788,7 @@ const Io = (e) => ({
|
|
|
4782
4788
|
"left-bottom": "object-left-bottom",
|
|
4783
4789
|
"right-top": "object-right-top",
|
|
4784
4790
|
"right-bottom": "object-right-bottom"
|
|
4785
|
-
},
|
|
4791
|
+
}, Io = Ce(
|
|
4786
4792
|
({
|
|
4787
4793
|
content: e,
|
|
4788
4794
|
theme: t,
|
|
@@ -4795,12 +4801,12 @@ const Io = (e) => ({
|
|
|
4795
4801
|
id: c,
|
|
4796
4802
|
"aria-label": m
|
|
4797
4803
|
}, u) => {
|
|
4798
|
-
const d =
|
|
4804
|
+
const d = zo({
|
|
4799
4805
|
content: e,
|
|
4800
4806
|
theme: t,
|
|
4801
4807
|
variant: o,
|
|
4802
4808
|
layout: a
|
|
4803
|
-
}), g = d.variant === "modern",
|
|
4809
|
+
}), g = d.variant === "modern", T = d.variant === "modern" || d.variant === "luxury";
|
|
4804
4810
|
return /* @__PURE__ */ r(
|
|
4805
4811
|
"section",
|
|
4806
4812
|
{
|
|
@@ -4824,7 +4830,7 @@ const Io = (e) => ({
|
|
|
4824
4830
|
"text-white"
|
|
4825
4831
|
),
|
|
4826
4832
|
children: [
|
|
4827
|
-
d.theme.backgroundImage && /* @__PURE__ */ p(
|
|
4833
|
+
d.theme.backgroundImage && /* @__PURE__ */ p(oe, { children: [
|
|
4828
4834
|
/* @__PURE__ */ r("div", { className: "absolute inset-0 z-0", children: /* @__PURE__ */ r(
|
|
4829
4835
|
"img",
|
|
4830
4836
|
{
|
|
@@ -4832,7 +4838,7 @@ const Io = (e) => ({
|
|
|
4832
4838
|
alt: "",
|
|
4833
4839
|
className: f(
|
|
4834
4840
|
"h-full w-full object-cover",
|
|
4835
|
-
d.theme.backgroundPosition &&
|
|
4841
|
+
d.theme.backgroundPosition && Eo[d.theme.backgroundPosition] || "object-center"
|
|
4836
4842
|
),
|
|
4837
4843
|
loading: "eager",
|
|
4838
4844
|
decoding: "async"
|
|
@@ -4841,21 +4847,21 @@ const Io = (e) => ({
|
|
|
4841
4847
|
/* @__PURE__ */ r("div", { className: "absolute inset-0 z-[1] bg-gradient-to-b from-black/40 via-black/40 via-[68.25%] to-transparent" })
|
|
4842
4848
|
] }),
|
|
4843
4849
|
l && /* @__PURE__ */ r("div", { className: "relative z-10", children: l }),
|
|
4844
|
-
/* @__PURE__ */ r("div", { className: "relative z-10 flex flex-col items-center justify-center px-4 py-12 lg:
|
|
4850
|
+
/* @__PURE__ */ r("div", { className: "relative z-10 flex flex-1 flex-col items-center justify-center px-4 py-12 lg:py-24", children: /* @__PURE__ */ p("div", { className: "w-full max-w-6xl text-center", children: [
|
|
4845
4851
|
d.variant === "minimal" && s && /* @__PURE__ */ r("div", { className: "mb-8 flex items-center justify-center", children: s }),
|
|
4846
|
-
d.content.title && /* @__PURE__ */ p("div", { className: "mb-16 space-y-8", children: [
|
|
4852
|
+
d.content.title && /* @__PURE__ */ p("div", { className: "mb-8 space-y-4 lg:mb-16 lg:space-y-8", children: [
|
|
4847
4853
|
/* @__PURE__ */ r("h1", { className: "text-4xl font-bold tracking-wide text-white sm:text-5xl lg:text-6xl", children: d.content.title }),
|
|
4848
4854
|
d.content.subtitle && /* @__PURE__ */ r("p", { className: "mt-4 text-xl text-white/90 sm:text-2xl", children: d.content.subtitle })
|
|
4849
4855
|
] }),
|
|
4850
|
-
d.variant === "minimal" && d.content.metrics && d.content.metrics.length > 0 && /* @__PURE__ */ r("div", { className: "mb-16", children: /* @__PURE__ */ r("div", { className: "mx-auto grid max-w-4xl grid-cols-1 gap-8 md:grid-cols-3", children: d.content.metrics.map((
|
|
4851
|
-
/* @__PURE__ */ r("div", { className: "mb-2 text-3xl font-bold text-white md:text-4xl", children:
|
|
4852
|
-
/* @__PURE__ */ r("div", { className: "text-sm text-white/80 md:text-base", children:
|
|
4856
|
+
d.variant === "minimal" && d.content.metrics && d.content.metrics.length > 0 && /* @__PURE__ */ r("div", { className: "mb-16", children: /* @__PURE__ */ r("div", { className: "mx-auto grid max-w-4xl grid-cols-1 gap-8 md:grid-cols-3", children: d.content.metrics.map((h, w) => /* @__PURE__ */ p("div", { className: "text-center", children: [
|
|
4857
|
+
/* @__PURE__ */ r("div", { className: "mb-2 text-3xl font-bold text-white md:text-4xl", children: h.value }),
|
|
4858
|
+
/* @__PURE__ */ r("div", { className: "text-sm text-white/80 md:text-base", children: h.label })
|
|
4853
4859
|
] }, w)) }) }),
|
|
4854
4860
|
n && /* @__PURE__ */ r("div", { className: "relative z-20 mx-auto w-full max-w-4xl", children: n })
|
|
4855
4861
|
] }) }),
|
|
4856
|
-
|
|
4857
|
-
/* @__PURE__ */ r("div", { className: "text-xl font-semibold leading-tight md:text-2xl", children:
|
|
4858
|
-
/* @__PURE__ */ r("div", { className: "text-xs leading-tight text-zinc-600 md:text-sm", children:
|
|
4862
|
+
T && d.content.metrics && d.content.metrics.length > 0 && /* @__PURE__ */ r("div", { className: "absolute bottom-0 right-0 z-10 hidden md:block", children: /* @__PURE__ */ r("div", { className: "flex h-20 w-full max-w-4xl items-center gap-6 rounded-tl-2xl bg-white px-8 py-4 text-zinc-900 md:h-24 md:gap-12 md:px-12 md:py-6", children: d.content.metrics.map((h, w) => /* @__PURE__ */ p("div", { className: "flex flex-col", children: [
|
|
4863
|
+
/* @__PURE__ */ r("div", { className: "text-xl font-semibold leading-tight md:text-2xl", children: h.value }),
|
|
4864
|
+
/* @__PURE__ */ r("div", { className: "text-xs leading-tight text-zinc-600 md:text-sm", children: h.label })
|
|
4859
4865
|
] }, w)) }) }),
|
|
4860
4866
|
d.variant === "minimal" && /* @__PURE__ */ r("div", { className: "relative z-10 pb-8", children: /* @__PURE__ */ r("div", { className: "flex justify-center", children: /* @__PURE__ */ r(
|
|
4861
4867
|
"div",
|
|
@@ -4871,13 +4877,13 @@ const Io = (e) => ({
|
|
|
4871
4877
|
);
|
|
4872
4878
|
}
|
|
4873
4879
|
);
|
|
4874
|
-
|
|
4880
|
+
Io.displayName = "HeroBanner";
|
|
4875
4881
|
const Pt = [
|
|
4876
4882
|
{ value: "15-years", label: "15 años fijos", years: 15 },
|
|
4877
4883
|
{ value: "20-years", label: "20 años fijos", years: 20 },
|
|
4878
4884
|
{ value: "30-years", label: "30 años fijos", years: 30 },
|
|
4879
4885
|
{ value: "40-years", label: "40 años fijos", years: 40 }
|
|
4880
|
-
],
|
|
4886
|
+
], Ro = Pt.map(
|
|
4881
4887
|
(e) => ({
|
|
4882
4888
|
value: e.value,
|
|
4883
4889
|
label: e.label
|
|
@@ -4894,7 +4900,7 @@ const Pt = [
|
|
|
4894
4900
|
// Light blue
|
|
4895
4901
|
hoaFees: "#7fc9e3"
|
|
4896
4902
|
// Very light blue
|
|
4897
|
-
},
|
|
4903
|
+
}, jo = N.forwardRef(
|
|
4898
4904
|
({
|
|
4899
4905
|
initialPropertyPrice: e = Ne.propertyPrice,
|
|
4900
4906
|
initialDownPayment: t = Ne.downPayment,
|
|
@@ -4905,53 +4911,53 @@ const Pt = [
|
|
|
4905
4911
|
className: l,
|
|
4906
4912
|
onCalculationChange: i
|
|
4907
4913
|
}, c) => {
|
|
4908
|
-
const [m, u] = N.useState(e), [d, g] = N.useState(t), [
|
|
4914
|
+
const [m, u] = N.useState(e), [d, g] = N.useState(t), [T, h] = N.useState(o), [w, v] = N.useState(a), [y, E] = N.useState(0), [S, P] = N.useState(0), C = N.useMemo(() => {
|
|
4909
4915
|
const k = Pt.find(
|
|
4910
|
-
(
|
|
4916
|
+
(G) => G.value === T
|
|
4911
4917
|
)?.years || 30;
|
|
4912
4918
|
return Ot({
|
|
4913
4919
|
propertyPrice: m,
|
|
4914
4920
|
downPayment: d,
|
|
4915
4921
|
loanTerm: k,
|
|
4916
4922
|
interestRate: w,
|
|
4917
|
-
propertyTax: n ?
|
|
4923
|
+
propertyTax: n ? y : void 0,
|
|
4918
4924
|
hoaFees: s ? S : void 0
|
|
4919
4925
|
});
|
|
4920
4926
|
}, [
|
|
4921
4927
|
m,
|
|
4922
4928
|
d,
|
|
4923
|
-
|
|
4929
|
+
T,
|
|
4924
4930
|
w,
|
|
4925
|
-
|
|
4931
|
+
y,
|
|
4926
4932
|
S,
|
|
4927
4933
|
n,
|
|
4928
4934
|
s
|
|
4929
4935
|
]);
|
|
4930
4936
|
N.useEffect(() => {
|
|
4931
|
-
i?.(
|
|
4932
|
-
}, [
|
|
4933
|
-
const
|
|
4934
|
-
const
|
|
4937
|
+
i?.(C);
|
|
4938
|
+
}, [C, i]);
|
|
4939
|
+
const A = N.useMemo(() => {
|
|
4940
|
+
const I = [
|
|
4935
4941
|
{
|
|
4936
4942
|
label: "Principal e Intereses",
|
|
4937
|
-
value:
|
|
4943
|
+
value: C.breakdown.principalAndInterest,
|
|
4938
4944
|
color: ze.principalAndInterest
|
|
4939
4945
|
}
|
|
4940
4946
|
];
|
|
4941
|
-
return n &&
|
|
4947
|
+
return n && C.breakdown.propertyTax > 0 && I.push({
|
|
4942
4948
|
label: "Impuesto Predial",
|
|
4943
|
-
value:
|
|
4949
|
+
value: C.breakdown.propertyTax,
|
|
4944
4950
|
color: ze.propertyTax
|
|
4945
|
-
}), s &&
|
|
4951
|
+
}), s && C.breakdown.hoaFees > 0 && I.push({
|
|
4946
4952
|
label: "Cuota HOA",
|
|
4947
|
-
value:
|
|
4953
|
+
value: C.breakdown.hoaFees,
|
|
4948
4954
|
color: ze.hoaFees
|
|
4949
|
-
}),
|
|
4950
|
-
}, [
|
|
4955
|
+
}), I;
|
|
4956
|
+
}, [C, n, s]);
|
|
4951
4957
|
return /* @__PURE__ */ r("div", { ref: c, className: f("w-full", l), children: /* @__PURE__ */ r(ht, { padding: "lg", className: "w-full", children: /* @__PURE__ */ p("div", { className: "space-y-6", children: [
|
|
4952
4958
|
/* @__PURE__ */ p("div", { children: [
|
|
4953
|
-
/* @__PURE__ */ r(
|
|
4954
|
-
/* @__PURE__ */ r(
|
|
4959
|
+
/* @__PURE__ */ r(j, { variant: "h2", className: "mb-2", children: "Calculadora de Hipotecas" }),
|
|
4960
|
+
/* @__PURE__ */ r(j, { variant: "body", color: "secondary", className: "max-w-2xl", children: "Calcule el pago mensual de su hipoteca, incluyendo capital e intereses, impuestos prediales y cuota de la asociación de propietarios. Ajuste los valores para obtener una tasa más precisa." })
|
|
4955
4961
|
] }),
|
|
4956
4962
|
/* @__PURE__ */ p("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-8", children: [
|
|
4957
4963
|
/* @__PURE__ */ p("div", { className: "space-y-4", children: [
|
|
@@ -4961,7 +4967,7 @@ const Pt = [
|
|
|
4961
4967
|
label: "Precio de la propiedad",
|
|
4962
4968
|
type: "number",
|
|
4963
4969
|
value: m,
|
|
4964
|
-
onChange: (
|
|
4970
|
+
onChange: (I) => u(Number(I.target.value)),
|
|
4965
4971
|
suffix: "MXN",
|
|
4966
4972
|
min: 0,
|
|
4967
4973
|
step: 1e4
|
|
@@ -4973,7 +4979,7 @@ const Pt = [
|
|
|
4973
4979
|
label: "Enganche",
|
|
4974
4980
|
type: "number",
|
|
4975
4981
|
value: d,
|
|
4976
|
-
onChange: (
|
|
4982
|
+
onChange: (I) => g(Number(I.target.value)),
|
|
4977
4983
|
suffix: "MXN",
|
|
4978
4984
|
min: 0,
|
|
4979
4985
|
step: 1e4
|
|
@@ -4984,9 +4990,9 @@ const Pt = [
|
|
|
4984
4990
|
Fe,
|
|
4985
4991
|
{
|
|
4986
4992
|
label: "Programa de préstamos",
|
|
4987
|
-
value:
|
|
4988
|
-
onChange: (
|
|
4989
|
-
options:
|
|
4993
|
+
value: T,
|
|
4994
|
+
onChange: (I) => h(I.target.value),
|
|
4995
|
+
options: Ro
|
|
4990
4996
|
}
|
|
4991
4997
|
),
|
|
4992
4998
|
/* @__PURE__ */ r(
|
|
@@ -4995,7 +5001,7 @@ const Pt = [
|
|
|
4995
5001
|
label: "Tasa de interés",
|
|
4996
5002
|
type: "number",
|
|
4997
5003
|
value: w,
|
|
4998
|
-
onChange: (
|
|
5004
|
+
onChange: (I) => v(Number(I.target.value)),
|
|
4999
5005
|
suffix: "%",
|
|
5000
5006
|
min: 0,
|
|
5001
5007
|
max: 100,
|
|
@@ -5008,8 +5014,8 @@ const Pt = [
|
|
|
5008
5014
|
{
|
|
5009
5015
|
label: "Impuesto predial mensual",
|
|
5010
5016
|
type: "number",
|
|
5011
|
-
value:
|
|
5012
|
-
onChange: (
|
|
5017
|
+
value: y,
|
|
5018
|
+
onChange: (I) => E(Number(I.target.value)),
|
|
5013
5019
|
suffix: "MXN",
|
|
5014
5020
|
min: 0,
|
|
5015
5021
|
step: 100
|
|
@@ -5021,7 +5027,7 @@ const Pt = [
|
|
|
5021
5027
|
label: "Cuota HOA mensual",
|
|
5022
5028
|
type: "number",
|
|
5023
5029
|
value: S,
|
|
5024
|
-
onChange: (
|
|
5030
|
+
onChange: (I) => P(Number(I.target.value)),
|
|
5025
5031
|
suffix: "MXN",
|
|
5026
5032
|
min: 0,
|
|
5027
5033
|
step: 100
|
|
@@ -5032,12 +5038,12 @@ const Pt = [
|
|
|
5032
5038
|
/* @__PURE__ */ r(
|
|
5033
5039
|
gt,
|
|
5034
5040
|
{
|
|
5035
|
-
segments:
|
|
5041
|
+
segments: A,
|
|
5036
5042
|
size: 320,
|
|
5037
5043
|
innerRadiusRatio: 0.65,
|
|
5038
5044
|
centerContent: /* @__PURE__ */ p("div", { className: "text-center", children: [
|
|
5039
|
-
/* @__PURE__ */ r(
|
|
5040
|
-
/* @__PURE__ */ r(
|
|
5045
|
+
/* @__PURE__ */ r(j, { variant: "h1", className: "font-bold mb-1", children: ue(C.totalMonthlyPayment) }),
|
|
5046
|
+
/* @__PURE__ */ r(j, { variant: "body-sm", color: "secondary", children: "Tu Pago" })
|
|
5041
5047
|
] }),
|
|
5042
5048
|
showLegend: !0,
|
|
5043
5049
|
legendPosition: "bottom"
|
|
@@ -5045,36 +5051,36 @@ const Pt = [
|
|
|
5045
5051
|
),
|
|
5046
5052
|
/* @__PURE__ */ p("div", { className: "mt-6 text-center space-y-1", children: [
|
|
5047
5053
|
/* @__PURE__ */ p("div", { className: "flex items-center justify-center gap-2 text-sm text-success", children: [
|
|
5048
|
-
/* @__PURE__ */ r(
|
|
5054
|
+
/* @__PURE__ */ r(No, { className: "h-4 w-4" }),
|
|
5049
5055
|
/* @__PURE__ */ r("span", { className: "font-medium", children: "Trending up by 5.2% this month" })
|
|
5050
5056
|
] }),
|
|
5051
|
-
/* @__PURE__ */ r(
|
|
5057
|
+
/* @__PURE__ */ r(j, { variant: "caption", color: "secondary", children: "Showing total visitors for the last 6 months" })
|
|
5052
5058
|
] })
|
|
5053
5059
|
] })
|
|
5054
5060
|
] }),
|
|
5055
5061
|
/* @__PURE__ */ p("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-4 pt-4 border-t", children: [
|
|
5056
5062
|
/* @__PURE__ */ p("div", { children: [
|
|
5057
|
-
/* @__PURE__ */ r(
|
|
5058
|
-
/* @__PURE__ */ r(
|
|
5063
|
+
/* @__PURE__ */ r(j, { variant: "caption", color: "secondary", className: "mb-1", children: "Monto del préstamo" }),
|
|
5064
|
+
/* @__PURE__ */ r(j, { variant: "body", weight: "semibold", children: ue(C.loanPrincipal) })
|
|
5059
5065
|
] }),
|
|
5060
5066
|
/* @__PURE__ */ p("div", { children: [
|
|
5061
|
-
/* @__PURE__ */ r(
|
|
5062
|
-
/* @__PURE__ */ r(
|
|
5067
|
+
/* @__PURE__ */ r(j, { variant: "caption", color: "secondary", className: "mb-1", children: "Pago mensual" }),
|
|
5068
|
+
/* @__PURE__ */ r(j, { variant: "body", weight: "semibold", children: ue(C.monthlyPayment) })
|
|
5063
5069
|
] }),
|
|
5064
5070
|
/* @__PURE__ */ p("div", { children: [
|
|
5065
|
-
/* @__PURE__ */ r(
|
|
5066
|
-
/* @__PURE__ */ r(
|
|
5071
|
+
/* @__PURE__ */ r(j, { variant: "caption", color: "secondary", className: "mb-1", children: "Interés total" }),
|
|
5072
|
+
/* @__PURE__ */ r(j, { variant: "body", weight: "semibold", children: ue(C.totalInterest) })
|
|
5067
5073
|
] }),
|
|
5068
5074
|
/* @__PURE__ */ p("div", { children: [
|
|
5069
|
-
/* @__PURE__ */ r(
|
|
5070
|
-
/* @__PURE__ */ r(
|
|
5075
|
+
/* @__PURE__ */ r(j, { variant: "caption", color: "secondary", className: "mb-1", children: "Total a pagar" }),
|
|
5076
|
+
/* @__PURE__ */ r(j, { variant: "body", weight: "semibold", children: ue(C.totalAmount) })
|
|
5071
5077
|
] })
|
|
5072
5078
|
] })
|
|
5073
5079
|
] }) }) });
|
|
5074
5080
|
}
|
|
5075
5081
|
);
|
|
5076
|
-
|
|
5077
|
-
const
|
|
5082
|
+
jo.displayName = "MortgageCalculator";
|
|
5083
|
+
const Ao = (e, t, o) => {
|
|
5078
5084
|
if (t)
|
|
5079
5085
|
return "text-white";
|
|
5080
5086
|
if (o)
|
|
@@ -5090,7 +5096,7 @@ const $o = (e, t, o) => {
|
|
|
5090
5096
|
default:
|
|
5091
5097
|
return "bg-stone-950 text-white";
|
|
5092
5098
|
}
|
|
5093
|
-
switch (e.variant ||
|
|
5099
|
+
switch (e.variant || Lo(e.type)) {
|
|
5094
5100
|
case "primary":
|
|
5095
5101
|
return "bg-primary text-primary-foreground";
|
|
5096
5102
|
case "secondary":
|
|
@@ -5106,7 +5112,7 @@ const $o = (e, t, o) => {
|
|
|
5106
5112
|
default:
|
|
5107
5113
|
return "bg-secondary text-secondary-foreground";
|
|
5108
5114
|
}
|
|
5109
|
-
},
|
|
5115
|
+
}, Lo = (e) => {
|
|
5110
5116
|
switch (e) {
|
|
5111
5117
|
case "Venta":
|
|
5112
5118
|
return "primary";
|
|
@@ -5119,7 +5125,7 @@ const $o = (e, t, o) => {
|
|
|
5119
5125
|
default:
|
|
5120
5126
|
return "secondary";
|
|
5121
5127
|
}
|
|
5122
|
-
},
|
|
5128
|
+
}, pa = ({
|
|
5123
5129
|
property: e,
|
|
5124
5130
|
className: t,
|
|
5125
5131
|
onLike: o,
|
|
@@ -5128,58 +5134,58 @@ const $o = (e, t, o) => {
|
|
|
5128
5134
|
variant: s = "default",
|
|
5129
5135
|
badgeColors: l
|
|
5130
5136
|
}) => {
|
|
5131
|
-
const [i, c] = re(0), [m, u] = re(!1), [d, g] = re(!1),
|
|
5137
|
+
const [i, c] = re(0), [m, u] = re(!1), [d, g] = re(!1), T = (V) => {
|
|
5132
5138
|
V.preventDefault(), V.stopPropagation();
|
|
5133
5139
|
const F = !m;
|
|
5134
5140
|
u(F), o?.(e.id, F);
|
|
5135
|
-
},
|
|
5141
|
+
}, h = (V) => {
|
|
5136
5142
|
V.preventDefault(), V.stopPropagation(), a?.(i, e.id);
|
|
5137
|
-
}, w = (V, F) => !V || !F ? "Price not available" : `$${V.toLocaleString()} ${F}`,
|
|
5143
|
+
}, w = (V, F) => !V || !F ? "Price not available" : `$${V.toLocaleString()} ${F}`, v = s === "compact", y = s === "minimal", E = f(
|
|
5138
5144
|
"relative overflow-hidden bg-card transition-all duration-300 ease-out cursor-pointer",
|
|
5139
|
-
|
|
5145
|
+
v ? "rounded-xl hover:shadow-lg border px-4 shadow-md" : y ? "rounded-2xl w-[454px] flex flex-col gap-4" : "rounded-2xl hover:-translate-y-1 hover:shadow-xl shadow-md",
|
|
5140
5146
|
t
|
|
5141
5147
|
), S = f(
|
|
5142
5148
|
"relative overflow-hidden",
|
|
5143
|
-
|
|
5144
|
-
), T = f(
|
|
5145
|
-
"w-full h-full object-cover",
|
|
5146
|
-
x ? "" : h ? "rounded-2xl" : "transition-transform duration-300 hover:scale-105"
|
|
5149
|
+
v ? "rounded-xl px-4 shadow-md" : y ? "rounded-2xl" : ""
|
|
5147
5150
|
), P = f(
|
|
5151
|
+
"w-full h-full object-cover",
|
|
5152
|
+
v ? "" : y ? "rounded-2xl" : "transition-transform duration-300 hover:scale-105"
|
|
5153
|
+
), C = f(
|
|
5148
5154
|
"absolute z-10 flex flex-wrap gap-2",
|
|
5149
|
-
|
|
5150
|
-
),
|
|
5155
|
+
v ? "top-3 left-3" : "top-4 left-4"
|
|
5156
|
+
), A = f(
|
|
5151
5157
|
"font-semibold",
|
|
5152
|
-
|
|
5153
|
-
),
|
|
5158
|
+
v ? "rounded-full px-3 py-1 text-xs" : y ? "rounded-full px-3 h-7 flex items-center justify-center text-base" : "px-2 py-1 rounded-lg font-medium uppercase tracking-wide text-xs"
|
|
5159
|
+
), I = f(
|
|
5154
5160
|
"absolute z-10 cursor-pointer transition-all duration-200",
|
|
5155
|
-
|
|
5161
|
+
v ? "top-3 right-3 p-1 shadow-md rounded-full" : y ? "top-4 right-4 w-7 h-7 flex items-center justify-center hover:scale-105" : "top-4 right-4 bg-background/90 backdrop-blur-sm border border-border/20 text-foreground w-10 h-10 flex items-center justify-center rounded-full hover:bg-background hover:scale-105"
|
|
5156
5162
|
), k = f(
|
|
5157
5163
|
"absolute left-1/2 -translate-x-1/2 flex z-10",
|
|
5158
|
-
|
|
5159
|
-
),
|
|
5164
|
+
y ? "bottom-4 gap-2 p-4" : "bottom-4 gap-1"
|
|
5165
|
+
), R = f(
|
|
5160
5166
|
"w-2 h-2 rounded-full border-none cursor-pointer transition-all duration-200 hover:scale-120"
|
|
5167
|
+
), G = f(
|
|
5168
|
+
v ? "p-2" : y ? "flex flex-col gap-2" : "p-6"
|
|
5161
5169
|
), K = f(
|
|
5162
|
-
x ? "p-2" : h ? "flex flex-col gap-2" : "p-6"
|
|
5163
|
-
), ae = f(
|
|
5164
5170
|
"font-semibold text-foreground line-clamp-2 leading-tight",
|
|
5165
|
-
|
|
5166
|
-
),
|
|
5171
|
+
v ? "text-base mb-2" : y ? "text-base" : "text-lg font-bold mb-2"
|
|
5172
|
+
), Z = f(
|
|
5167
5173
|
"font-bold",
|
|
5168
|
-
|
|
5174
|
+
v ? "text-lg text-primary mb-2" : y ? "text-lg text-foreground" : "text-xl text-primary mb-2"
|
|
5169
5175
|
), ne = f(
|
|
5170
5176
|
"text-muted-foreground",
|
|
5171
|
-
|
|
5177
|
+
v ? "text-sm flex items-center gap-1 mb-4" : y ? "text-base" : "text-base mb-4"
|
|
5172
5178
|
), ee = f(
|
|
5173
5179
|
"flex items-center",
|
|
5174
|
-
|
|
5175
|
-
),
|
|
5180
|
+
v ? "justify-between mt-3 mb-4" : y ? "gap-3" : "gap-4 mb-4"
|
|
5181
|
+
), W = f(
|
|
5176
5182
|
"flex items-center gap-1 text-muted-foreground",
|
|
5177
5183
|
"text-sm"
|
|
5178
5184
|
), B = f(
|
|
5179
5185
|
"text-sm text-muted-foreground line-clamp-2",
|
|
5180
|
-
|
|
5181
|
-
),
|
|
5182
|
-
/* @__PURE__ */ r("div", { className: "rounded-full bg-primary/10 p-6", children: /* @__PURE__ */ r(
|
|
5186
|
+
v ? "mt-2" : ""
|
|
5187
|
+
), M = !(e.images && e.images.length > 0) || d, he = () => /* @__PURE__ */ p("div", { className: "w-full h-full bg-gradient-to-br from-primary/10 via-primary/5 to-secondary/10 flex flex-col items-center justify-center gap-3", children: [
|
|
5188
|
+
/* @__PURE__ */ r("div", { className: "rounded-full bg-primary/10 p-6", children: /* @__PURE__ */ r(fo, { size: v ? 32 : 48, className: "text-primary/40" }) }),
|
|
5183
5189
|
/* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground", children: "No image available" })
|
|
5184
5190
|
] }), me = /* @__PURE__ */ p("div", { className: E, children: [
|
|
5185
5191
|
/* @__PURE__ */ p(
|
|
@@ -5187,36 +5193,36 @@ const $o = (e, t, o) => {
|
|
|
5187
5193
|
{
|
|
5188
5194
|
className: f(
|
|
5189
5195
|
S,
|
|
5190
|
-
|
|
5196
|
+
v ? "h-52" : y ? "h-[481px]" : "aspect-[4/3]"
|
|
5191
5197
|
),
|
|
5192
5198
|
children: [
|
|
5193
|
-
|
|
5199
|
+
M ? /* @__PURE__ */ r(he, {}) : /* @__PURE__ */ p("div", { className: "relative w-full h-full", "aria-hidden": "true", children: [
|
|
5194
5200
|
/* @__PURE__ */ r(
|
|
5195
5201
|
"img",
|
|
5196
5202
|
{
|
|
5197
5203
|
src: e.images[i],
|
|
5198
5204
|
alt: e.title,
|
|
5199
|
-
className:
|
|
5200
|
-
onClick: a ?
|
|
5205
|
+
className: P,
|
|
5206
|
+
onClick: a ? h : void 0,
|
|
5201
5207
|
onError: () => g(!0)
|
|
5202
5208
|
}
|
|
5203
5209
|
),
|
|
5204
5210
|
/* @__PURE__ */ r("div", { className: "absolute inset-0 bg-gradient-to-b from-transparent to-black/40 pointer-events-none rounded-2xl" })
|
|
5205
5211
|
] }),
|
|
5206
|
-
/* @__PURE__ */ r("div", { className:
|
|
5207
|
-
const
|
|
5212
|
+
/* @__PURE__ */ r("div", { className: C, children: e.transactionTypes.map((V, F) => {
|
|
5213
|
+
const L = l?.[V.type];
|
|
5208
5214
|
return /* @__PURE__ */ r(
|
|
5209
5215
|
"span",
|
|
5210
5216
|
{
|
|
5211
5217
|
className: f(
|
|
5212
|
-
|
|
5213
|
-
|
|
5218
|
+
A,
|
|
5219
|
+
Ao(
|
|
5214
5220
|
V,
|
|
5215
|
-
|
|
5216
|
-
|
|
5221
|
+
L,
|
|
5222
|
+
y
|
|
5217
5223
|
)
|
|
5218
5224
|
),
|
|
5219
|
-
style:
|
|
5225
|
+
style: L ? { backgroundColor: L } : void 0,
|
|
5220
5226
|
children: V.type
|
|
5221
5227
|
},
|
|
5222
5228
|
F
|
|
@@ -5225,10 +5231,10 @@ const $o = (e, t, o) => {
|
|
|
5225
5231
|
n && /* @__PURE__ */ r(
|
|
5226
5232
|
"button",
|
|
5227
5233
|
{
|
|
5228
|
-
onClick:
|
|
5229
|
-
className:
|
|
5234
|
+
onClick: T,
|
|
5235
|
+
className: I,
|
|
5230
5236
|
"aria-label": m ? "Unlike property" : "Like property",
|
|
5231
|
-
children:
|
|
5237
|
+
children: v ? /* @__PURE__ */ r(
|
|
5232
5238
|
"svg",
|
|
5233
5239
|
{
|
|
5234
5240
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5247,25 +5253,25 @@ const $o = (e, t, o) => {
|
|
|
5247
5253
|
)
|
|
5248
5254
|
}
|
|
5249
5255
|
) : /* @__PURE__ */ r(
|
|
5250
|
-
|
|
5256
|
+
uo,
|
|
5251
5257
|
{
|
|
5252
5258
|
size: 20,
|
|
5253
5259
|
fill: m ? "currentColor" : "none",
|
|
5254
|
-
className:
|
|
5255
|
-
strokeWidth:
|
|
5260
|
+
className: y ? "text-white" : m ? "text-destructive" : "",
|
|
5261
|
+
strokeWidth: y ? 1.5 : 2
|
|
5256
5262
|
}
|
|
5257
5263
|
)
|
|
5258
5264
|
}
|
|
5259
5265
|
),
|
|
5260
|
-
!
|
|
5266
|
+
!v && !M && e.images.length > 1 && /* @__PURE__ */ r("div", { className: k, children: e.images.map((V, F) => /* @__PURE__ */ r(
|
|
5261
5267
|
"button",
|
|
5262
5268
|
{
|
|
5263
5269
|
className: f(
|
|
5264
|
-
|
|
5270
|
+
R,
|
|
5265
5271
|
F === i ? "bg-white" : "bg-white/50"
|
|
5266
5272
|
),
|
|
5267
|
-
onClick: (
|
|
5268
|
-
|
|
5273
|
+
onClick: (L) => {
|
|
5274
|
+
L.preventDefault(), L.stopPropagation(), c(F);
|
|
5269
5275
|
},
|
|
5270
5276
|
"aria-label": `Go to image ${F + 1}`,
|
|
5271
5277
|
"aria-current": F === i
|
|
@@ -5275,30 +5281,30 @@ const $o = (e, t, o) => {
|
|
|
5275
5281
|
]
|
|
5276
5282
|
}
|
|
5277
5283
|
),
|
|
5278
|
-
/* @__PURE__ */ p("div", { className:
|
|
5279
|
-
/* @__PURE__ */ r("h3", { className:
|
|
5280
|
-
/* @__PURE__ */ r("p", { className:
|
|
5284
|
+
/* @__PURE__ */ p("div", { className: G, children: [
|
|
5285
|
+
/* @__PURE__ */ r("h3", { className: K, children: e.title }),
|
|
5286
|
+
/* @__PURE__ */ r("p", { className: Z, children: w(e.price?.amount, e.price?.currency) }),
|
|
5281
5287
|
/* @__PURE__ */ p("p", { className: ne, children: [
|
|
5282
|
-
|
|
5288
|
+
v && /* @__PURE__ */ r(go, { size: 14 }),
|
|
5283
5289
|
e.location.city,
|
|
5284
5290
|
", ",
|
|
5285
5291
|
e.location.state
|
|
5286
5292
|
] }),
|
|
5287
5293
|
/* @__PURE__ */ p("div", { className: ee, children: [
|
|
5288
|
-
/* @__PURE__ */ p("div", { className:
|
|
5289
|
-
/* @__PURE__ */ r(to, { size:
|
|
5294
|
+
/* @__PURE__ */ p("div", { className: W, children: [
|
|
5295
|
+
/* @__PURE__ */ r(to, { size: y ? 20 : 16 }),
|
|
5290
5296
|
/* @__PURE__ */ r("span", { children: e.features.bedrooms })
|
|
5291
5297
|
] }),
|
|
5292
|
-
/* @__PURE__ */ p("div", { className:
|
|
5293
|
-
/* @__PURE__ */ r(Yr, { size:
|
|
5298
|
+
/* @__PURE__ */ p("div", { className: W, children: [
|
|
5299
|
+
/* @__PURE__ */ r(Yr, { size: y ? 20 : 16 }),
|
|
5294
5300
|
/* @__PURE__ */ r("span", { children: e.features.bathrooms })
|
|
5295
5301
|
] }),
|
|
5296
|
-
/* @__PURE__ */ p("div", { className:
|
|
5297
|
-
/* @__PURE__ */ r(oo, { size:
|
|
5302
|
+
/* @__PURE__ */ p("div", { className: W, children: [
|
|
5303
|
+
/* @__PURE__ */ r(oo, { size: y ? 20 : 16 }),
|
|
5298
5304
|
/* @__PURE__ */ r("span", { children: e.features.parking })
|
|
5299
5305
|
] }),
|
|
5300
|
-
/* @__PURE__ */ p("div", { className:
|
|
5301
|
-
/* @__PURE__ */ r(
|
|
5306
|
+
/* @__PURE__ */ p("div", { className: W, children: [
|
|
5307
|
+
/* @__PURE__ */ r(xo, { size: y ? 20 : 16 }),
|
|
5302
5308
|
/* @__PURE__ */ p("span", { children: [
|
|
5303
5309
|
e.features.area,
|
|
5304
5310
|
" m²"
|
|
@@ -5309,37 +5315,37 @@ const $o = (e, t, o) => {
|
|
|
5309
5315
|
] })
|
|
5310
5316
|
] });
|
|
5311
5317
|
return e.href ? /* @__PURE__ */ r("a", { href: e.href, className: "no-underline text-inherit", children: me }) : me;
|
|
5312
|
-
},
|
|
5318
|
+
}, $o = ({
|
|
5313
5319
|
images: e,
|
|
5314
5320
|
onViewAllClick: t,
|
|
5315
5321
|
onImageClick: o
|
|
5316
5322
|
}) => {
|
|
5317
|
-
const [a, n] =
|
|
5318
|
-
(
|
|
5319
|
-
o?.(
|
|
5323
|
+
const [a, n] = D.useState(!1), [s, l] = D.useState(0), i = e.length, c = D.useCallback(
|
|
5324
|
+
(h) => {
|
|
5325
|
+
o?.(h), i !== 0 && (l(h), n(!0));
|
|
5320
5326
|
},
|
|
5321
5327
|
[o, i]
|
|
5322
|
-
), m =
|
|
5328
|
+
), m = D.useCallback(() => {
|
|
5323
5329
|
t?.(), i !== 0 && (l(0), n(!0));
|
|
5324
|
-
}, [t, i]), u =
|
|
5330
|
+
}, [t, i]), u = D.useCallback(() => {
|
|
5325
5331
|
n(!1);
|
|
5326
|
-
}, []), d =
|
|
5332
|
+
}, []), d = D.useCallback(() => {
|
|
5327
5333
|
i <= 1 || l(
|
|
5328
|
-
(
|
|
5334
|
+
(h) => h === 0 ? i - 1 : h - 1
|
|
5329
5335
|
);
|
|
5330
|
-
}, [i]), g =
|
|
5336
|
+
}, [i]), g = D.useCallback(() => {
|
|
5331
5337
|
i <= 1 || l(
|
|
5332
|
-
(
|
|
5338
|
+
(h) => h === i - 1 ? 0 : h + 1
|
|
5333
5339
|
);
|
|
5334
|
-
}, [i]),
|
|
5335
|
-
l(
|
|
5340
|
+
}, [i]), T = D.useCallback((h) => {
|
|
5341
|
+
l(h);
|
|
5336
5342
|
}, []);
|
|
5337
|
-
return
|
|
5343
|
+
return D.useEffect(() => {
|
|
5338
5344
|
if (!a) return;
|
|
5339
|
-
const
|
|
5345
|
+
const h = (w) => {
|
|
5340
5346
|
w.key === "ArrowLeft" && (w.preventDefault(), d()), w.key === "ArrowRight" && (w.preventDefault(), g());
|
|
5341
5347
|
};
|
|
5342
|
-
return document.addEventListener("keydown",
|
|
5348
|
+
return document.addEventListener("keydown", h), () => document.removeEventListener("keydown", h);
|
|
5343
5349
|
}, [g, d, a]), {
|
|
5344
5350
|
isModalOpen: a,
|
|
5345
5351
|
activeImageIndex: s,
|
|
@@ -5349,9 +5355,9 @@ const $o = (e, t, o) => {
|
|
|
5349
5355
|
handleCloseModal: u,
|
|
5350
5356
|
handlePreviousImage: d,
|
|
5351
5357
|
handleNextImage: g,
|
|
5352
|
-
handleSelectImage:
|
|
5358
|
+
handleSelectImage: T
|
|
5353
5359
|
};
|
|
5354
|
-
},
|
|
5360
|
+
}, Oo = ({
|
|
5355
5361
|
images: e,
|
|
5356
5362
|
isOpen: t,
|
|
5357
5363
|
activeImageIndex: o,
|
|
@@ -5378,7 +5384,7 @@ const $o = (e, t, o) => {
|
|
|
5378
5384
|
className: "w-full max-h-[70vh] object-contain mx-auto"
|
|
5379
5385
|
}
|
|
5380
5386
|
),
|
|
5381
|
-
i > 1 && /* @__PURE__ */ p(
|
|
5387
|
+
i > 1 && /* @__PURE__ */ p(oe, { children: [
|
|
5382
5388
|
/* @__PURE__ */ r(
|
|
5383
5389
|
"button",
|
|
5384
5390
|
{
|
|
@@ -5426,48 +5432,44 @@ const $o = (e, t, o) => {
|
|
|
5426
5432
|
] }) : /* @__PURE__ */ r("div", { className: "w-full bg-muted flex items-center justify-center rounded-2xl p-8", children: /* @__PURE__ */ r("span", { className: "text-muted-foreground", children: "No image" }) })
|
|
5427
5433
|
}
|
|
5428
5434
|
);
|
|
5429
|
-
},
|
|
5430
|
-
({
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
}, l) => {
|
|
5438
|
-
const {
|
|
5435
|
+
}, _o = D.forwardRef(
|
|
5436
|
+
({ images: e, transactionType: t, onViewAllClick: o, onImageClick: a, className: n }, s) => {
|
|
5437
|
+
const l = D.useMemo(
|
|
5438
|
+
() => e.filter(
|
|
5439
|
+
(w) => typeof w == "string" && w.trim().length > 0
|
|
5440
|
+
).slice(0, 5),
|
|
5441
|
+
[e]
|
|
5442
|
+
), {
|
|
5439
5443
|
activeImageIndex: i,
|
|
5440
5444
|
isModalOpen: c,
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
}), x = o ?? m, h = e.slice(0, 5);
|
|
5453
|
-
return /* @__PURE__ */ p(J, { children: [
|
|
5445
|
+
handlePreviewImageClick: m,
|
|
5446
|
+
handleCloseModal: u,
|
|
5447
|
+
handlePreviousImage: d,
|
|
5448
|
+
handleNextImage: g,
|
|
5449
|
+
handleSelectImage: T
|
|
5450
|
+
} = $o({
|
|
5451
|
+
images: l,
|
|
5452
|
+
onImageClick: a,
|
|
5453
|
+
onViewAllClick: o
|
|
5454
|
+
}), h = l;
|
|
5455
|
+
return /* @__PURE__ */ p(oe, { children: [
|
|
5454
5456
|
/* @__PURE__ */ p(
|
|
5455
5457
|
"div",
|
|
5456
5458
|
{
|
|
5457
|
-
ref:
|
|
5459
|
+
ref: s,
|
|
5458
5460
|
className: f(
|
|
5459
5461
|
"w-full h-[340px] sm:h-[460px] md:h-[560px] grid grid-cols-2 gap-2 auto-rows-fr",
|
|
5460
|
-
|
|
5462
|
+
n
|
|
5461
5463
|
),
|
|
5462
5464
|
children: [
|
|
5463
|
-
/* @__PURE__ */ r("div", { className: "relative col-span-2 sm:col-span-1 sm:row-span-2 rounded-2xl overflow-hidden group cursor-pointer", children: h[0] ? /* @__PURE__ */ p(
|
|
5465
|
+
/* @__PURE__ */ r("div", { className: "relative col-span-2 sm:col-span-1 sm:row-span-2 rounded-2xl overflow-hidden group cursor-pointer", children: h[0] ? /* @__PURE__ */ p(oe, { children: [
|
|
5464
5466
|
/* @__PURE__ */ r(
|
|
5465
5467
|
"img",
|
|
5466
5468
|
{
|
|
5467
5469
|
src: h[0],
|
|
5468
5470
|
alt: "Property main view",
|
|
5469
5471
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
5470
|
-
onClick: () =>
|
|
5472
|
+
onClick: () => m(0)
|
|
5471
5473
|
}
|
|
5472
5474
|
),
|
|
5473
5475
|
t && /* @__PURE__ */ r("div", { className: "absolute top-4 left-4 bg-white rounded-full px-4 py-2 shadow-md", children: /* @__PURE__ */ r("span", { className: "text-sm font-medium text-foreground", children: t }) })
|
|
@@ -5478,7 +5480,7 @@ const $o = (e, t, o) => {
|
|
|
5478
5480
|
src: h[1],
|
|
5479
5481
|
alt: "Property view 2",
|
|
5480
5482
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
5481
|
-
onClick: () =>
|
|
5483
|
+
onClick: () => m(1)
|
|
5482
5484
|
}
|
|
5483
5485
|
) : /* @__PURE__ */ r("div", { className: "w-full h-full bg-muted" }) }),
|
|
5484
5486
|
/* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: h[2] ? /* @__PURE__ */ r(
|
|
@@ -5487,7 +5489,7 @@ const $o = (e, t, o) => {
|
|
|
5487
5489
|
src: h[2],
|
|
5488
5490
|
alt: "Property view 3",
|
|
5489
5491
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
5490
|
-
onClick: () =>
|
|
5492
|
+
onClick: () => m(2)
|
|
5491
5493
|
}
|
|
5492
5494
|
) : /* @__PURE__ */ r("div", { className: "w-full h-full bg-muted" }) }),
|
|
5493
5495
|
/* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: h[3] ? /* @__PURE__ */ r(
|
|
@@ -5496,58 +5498,38 @@ const $o = (e, t, o) => {
|
|
|
5496
5498
|
src: h[3],
|
|
5497
5499
|
alt: "Property view 4",
|
|
5498
5500
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
5499
|
-
onClick: () =>
|
|
5501
|
+
onClick: () => m(3)
|
|
5500
5502
|
}
|
|
5501
5503
|
) : /* @__PURE__ */ r("div", { className: "w-full h-full bg-muted" }) }),
|
|
5502
|
-
/* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: h[4] ? /* @__PURE__ */
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
),
|
|
5512
|
-
x > 5 && /* @__PURE__ */ r("div", { className: "absolute bottom-3 right-3 sm:bottom-4 sm:right-4", children: /* @__PURE__ */ p(
|
|
5513
|
-
"button",
|
|
5514
|
-
{
|
|
5515
|
-
type: "button",
|
|
5516
|
-
onClick: (E) => {
|
|
5517
|
-
E.stopPropagation(), d();
|
|
5518
|
-
},
|
|
5519
|
-
className: "flex items-center gap-2 bg-white rounded-full px-3 py-2 sm:px-4 shadow-md hover:shadow-lg transition-all duration-200 hover:scale-105",
|
|
5520
|
-
children: [
|
|
5521
|
-
/* @__PURE__ */ r(uo, { className: "w-4 h-4 text-foreground" }),
|
|
5522
|
-
/* @__PURE__ */ p("span", { className: "text-xs sm:text-sm font-medium text-foreground", children: [
|
|
5523
|
-
"Ver las ",
|
|
5524
|
-
x,
|
|
5525
|
-
" fotos"
|
|
5526
|
-
] })
|
|
5527
|
-
]
|
|
5528
|
-
}
|
|
5529
|
-
) })
|
|
5530
|
-
] }) : /* @__PURE__ */ r("div", { className: "w-full h-full bg-muted" }) })
|
|
5504
|
+
/* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: h[4] ? /* @__PURE__ */ r(
|
|
5505
|
+
"img",
|
|
5506
|
+
{
|
|
5507
|
+
src: h[4],
|
|
5508
|
+
alt: "Property view 5",
|
|
5509
|
+
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
5510
|
+
onClick: () => m(4)
|
|
5511
|
+
}
|
|
5512
|
+
) : /* @__PURE__ */ r("div", { className: "w-full h-full bg-muted" }) })
|
|
5531
5513
|
]
|
|
5532
5514
|
}
|
|
5533
5515
|
),
|
|
5534
5516
|
/* @__PURE__ */ r(
|
|
5535
|
-
|
|
5517
|
+
Oo,
|
|
5536
5518
|
{
|
|
5537
|
-
images:
|
|
5519
|
+
images: l,
|
|
5538
5520
|
isOpen: c,
|
|
5539
5521
|
activeImageIndex: i,
|
|
5540
|
-
onClose:
|
|
5541
|
-
onPrevious:
|
|
5542
|
-
onNext:
|
|
5543
|
-
onSelectImage:
|
|
5522
|
+
onClose: u,
|
|
5523
|
+
onPrevious: d,
|
|
5524
|
+
onNext: g,
|
|
5525
|
+
onSelectImage: T
|
|
5544
5526
|
}
|
|
5545
5527
|
)
|
|
5546
5528
|
] });
|
|
5547
5529
|
}
|
|
5548
5530
|
);
|
|
5549
|
-
|
|
5550
|
-
function
|
|
5531
|
+
_o.displayName = "PropertyGallery";
|
|
5532
|
+
function Fo({
|
|
5551
5533
|
onSubmit: e,
|
|
5552
5534
|
defaultValues: t,
|
|
5553
5535
|
propertyTypeOptions: o,
|
|
@@ -5648,7 +5630,7 @@ const De = ({
|
|
|
5648
5630
|
onChange: i
|
|
5649
5631
|
}
|
|
5650
5632
|
) }) });
|
|
5651
|
-
},
|
|
5633
|
+
}, Vo = ({
|
|
5652
5634
|
formData: e,
|
|
5653
5635
|
options: t,
|
|
5654
5636
|
onFieldChange: o,
|
|
@@ -5713,7 +5695,7 @@ const De = ({
|
|
|
5713
5695
|
children: s
|
|
5714
5696
|
}
|
|
5715
5697
|
)
|
|
5716
|
-
] }) }),
|
|
5698
|
+
] }) }), Do = ({
|
|
5717
5699
|
formData: e,
|
|
5718
5700
|
options: t,
|
|
5719
5701
|
onFieldChange: o,
|
|
@@ -5760,7 +5742,7 @@ const De = ({
|
|
|
5760
5742
|
/* @__PURE__ */ r(De, { variant: "mobile", isSubmitting: a })
|
|
5761
5743
|
] })
|
|
5762
5744
|
}
|
|
5763
|
-
), ie = ({ className: e }) => /* @__PURE__ */ r("div", { className: f("w-px self-stretch bg-gray-300 mx-6", e) }),
|
|
5745
|
+
), ie = ({ className: e }) => /* @__PURE__ */ r("div", { className: f("w-px self-stretch bg-gray-300 mx-6", e) }), Bo = ({
|
|
5764
5746
|
formData: e,
|
|
5765
5747
|
options: t,
|
|
5766
5748
|
onFieldChange: o,
|
|
@@ -5817,7 +5799,7 @@ const De = ({
|
|
|
5817
5799
|
) })
|
|
5818
5800
|
] })
|
|
5819
5801
|
}
|
|
5820
|
-
),
|
|
5802
|
+
), Ho = ({
|
|
5821
5803
|
formData: e,
|
|
5822
5804
|
options: t,
|
|
5823
5805
|
onFieldChange: o,
|
|
@@ -5871,7 +5853,7 @@ const De = ({
|
|
|
5871
5853
|
) })
|
|
5872
5854
|
] })
|
|
5873
5855
|
}
|
|
5874
|
-
),
|
|
5856
|
+
), Go = ({
|
|
5875
5857
|
formData: e,
|
|
5876
5858
|
options: t,
|
|
5877
5859
|
onFieldChange: o,
|
|
@@ -5917,7 +5899,7 @@ const De = ({
|
|
|
5917
5899
|
/* @__PURE__ */ r(De, { variant: "mobile", isSubmitting: a })
|
|
5918
5900
|
] })
|
|
5919
5901
|
}
|
|
5920
|
-
),
|
|
5902
|
+
), Wo = ({
|
|
5921
5903
|
formData: e,
|
|
5922
5904
|
options: t,
|
|
5923
5905
|
onFieldChange: o,
|
|
@@ -5976,12 +5958,12 @@ const De = ({
|
|
|
5976
5958
|
] })
|
|
5977
5959
|
}
|
|
5978
5960
|
), rt = {
|
|
5979
|
-
minimal:
|
|
5980
|
-
modern:
|
|
5981
|
-
luxury:
|
|
5982
|
-
compact:
|
|
5983
|
-
card:
|
|
5984
|
-
},
|
|
5961
|
+
minimal: Ho,
|
|
5962
|
+
modern: Wo,
|
|
5963
|
+
luxury: Bo,
|
|
5964
|
+
compact: Do,
|
|
5965
|
+
card: Vo
|
|
5966
|
+
}, Uo = ({
|
|
5985
5967
|
onSubmit: e,
|
|
5986
5968
|
defaultValues: t,
|
|
5987
5969
|
className: o,
|
|
@@ -5991,80 +5973,80 @@ const De = ({
|
|
|
5991
5973
|
locationOptions: l,
|
|
5992
5974
|
buttonLabel: i
|
|
5993
5975
|
}) => {
|
|
5994
|
-
const [c, m] = N.useState(!1), [u, d] = N.useState(null), g =
|
|
5976
|
+
const [c, m] = N.useState(!1), [u, d] = N.useState(null), g = Fo({
|
|
5995
5977
|
onSubmit: e,
|
|
5996
5978
|
defaultValues: t,
|
|
5997
5979
|
propertyTypeOptions: n,
|
|
5998
5980
|
transactionTypeOptions: s,
|
|
5999
5981
|
locationOptions: l
|
|
6000
5982
|
}), {
|
|
6001
|
-
formData:
|
|
6002
|
-
setFormData:
|
|
5983
|
+
formData: T,
|
|
5984
|
+
setFormData: h,
|
|
6003
5985
|
handleSubmit: w,
|
|
6004
|
-
propertyTypeOptions:
|
|
6005
|
-
transactionTypeOptions:
|
|
5986
|
+
propertyTypeOptions: v,
|
|
5987
|
+
transactionTypeOptions: y,
|
|
6006
5988
|
locationOptions: E
|
|
6007
5989
|
} = g, S = N.useCallback(
|
|
6008
|
-
async (
|
|
6009
|
-
|
|
5990
|
+
async (I) => {
|
|
5991
|
+
I.preventDefault(), d(null), m(!0);
|
|
6010
5992
|
try {
|
|
6011
|
-
await w(
|
|
5993
|
+
await w(I);
|
|
6012
5994
|
} catch (k) {
|
|
6013
|
-
const
|
|
6014
|
-
d(
|
|
5995
|
+
const R = k instanceof Error ? k.message : "Search failed. Please try again.";
|
|
5996
|
+
d(R), console.error("Search error:", k);
|
|
6015
5997
|
} finally {
|
|
6016
5998
|
m(!1);
|
|
6017
5999
|
}
|
|
6018
6000
|
},
|
|
6019
6001
|
[w]
|
|
6020
|
-
),
|
|
6021
|
-
(
|
|
6022
|
-
d(null),
|
|
6002
|
+
), P = N.useCallback(
|
|
6003
|
+
(I) => (k) => {
|
|
6004
|
+
d(null), h((R) => ({ ...R, [I]: k }));
|
|
6023
6005
|
},
|
|
6024
|
-
[
|
|
6025
|
-
),
|
|
6006
|
+
[h]
|
|
6007
|
+
), C = N.useMemo(
|
|
6026
6008
|
() => ({
|
|
6027
|
-
propertyTypeOptions:
|
|
6028
|
-
transactionTypeOptions:
|
|
6009
|
+
propertyTypeOptions: v,
|
|
6010
|
+
transactionTypeOptions: y,
|
|
6029
6011
|
locationOptions: E
|
|
6030
6012
|
}),
|
|
6031
|
-
[
|
|
6032
|
-
),
|
|
6033
|
-
return /* @__PURE__ */ p(
|
|
6013
|
+
[v, y, E]
|
|
6014
|
+
), A = rt[a] || rt.minimal;
|
|
6015
|
+
return /* @__PURE__ */ p(oe, { children: [
|
|
6034
6016
|
/* @__PURE__ */ r(
|
|
6035
|
-
|
|
6017
|
+
A,
|
|
6036
6018
|
{
|
|
6037
|
-
formData:
|
|
6038
|
-
options:
|
|
6019
|
+
formData: T,
|
|
6020
|
+
options: C,
|
|
6039
6021
|
isSubmitting: c,
|
|
6040
6022
|
error: u,
|
|
6041
6023
|
className: o,
|
|
6042
|
-
onFieldChange:
|
|
6024
|
+
onFieldChange: P,
|
|
6043
6025
|
onSubmit: S,
|
|
6044
6026
|
...(a === "modern" || a === "luxury") && { buttonLabel: i }
|
|
6045
6027
|
}
|
|
6046
6028
|
),
|
|
6047
6029
|
a === "minimal" && /* @__PURE__ */ r(
|
|
6048
|
-
|
|
6030
|
+
Go,
|
|
6049
6031
|
{
|
|
6050
|
-
formData:
|
|
6051
|
-
options:
|
|
6032
|
+
formData: T,
|
|
6033
|
+
options: C,
|
|
6052
6034
|
isSubmitting: c,
|
|
6053
|
-
onFieldChange:
|
|
6035
|
+
onFieldChange: P,
|
|
6054
6036
|
onSubmit: S
|
|
6055
6037
|
}
|
|
6056
6038
|
)
|
|
6057
6039
|
] });
|
|
6058
6040
|
};
|
|
6059
|
-
|
|
6060
|
-
const
|
|
6041
|
+
Uo.displayName = "SearchFeature";
|
|
6042
|
+
const fa = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
6061
6043
|
"a",
|
|
6062
6044
|
{
|
|
6063
6045
|
href: e,
|
|
6064
6046
|
className: "sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:bg-primary focus:text-white focus:rounded",
|
|
6065
6047
|
children: t
|
|
6066
6048
|
}
|
|
6067
|
-
),
|
|
6049
|
+
), ha = {
|
|
6068
6050
|
// Spacing scale (in rem)
|
|
6069
6051
|
spacing: {
|
|
6070
6052
|
xs: "0.25rem",
|
|
@@ -6159,7 +6141,7 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6159
6141
|
out: "ease-out",
|
|
6160
6142
|
inOut: "ease-in-out"
|
|
6161
6143
|
}
|
|
6162
|
-
},
|
|
6144
|
+
}, ga = {
|
|
6163
6145
|
button: {
|
|
6164
6146
|
size: {
|
|
6165
6147
|
sm: "h-9 px-3 text-sm",
|
|
@@ -6190,13 +6172,13 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6190
6172
|
outlined: "bg-card text-card-foreground border-2"
|
|
6191
6173
|
}
|
|
6192
6174
|
}
|
|
6193
|
-
},
|
|
6175
|
+
}, ba = {
|
|
6194
6176
|
sm: "640px",
|
|
6195
6177
|
md: "768px",
|
|
6196
6178
|
lg: "1024px",
|
|
6197
6179
|
xl: "1280px",
|
|
6198
6180
|
"2xl": "1536px"
|
|
6199
|
-
},
|
|
6181
|
+
}, xa = {
|
|
6200
6182
|
/**
|
|
6201
6183
|
* Get a color value with opacity support
|
|
6202
6184
|
*/
|
|
@@ -6205,7 +6187,7 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6205
6187
|
* Get a color from the design system palette
|
|
6206
6188
|
*/
|
|
6207
6189
|
get: (e) => `hsl(var(--${e}))`
|
|
6208
|
-
},
|
|
6190
|
+
}, ya = {
|
|
6209
6191
|
/**
|
|
6210
6192
|
* Generate a unique ID for form elements and their labels
|
|
6211
6193
|
*/
|
|
@@ -6224,7 +6206,7 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6224
6206
|
only: "absolute w-px h-px p-0 -m-px overflow-hidden whitespace-nowrap border-0",
|
|
6225
6207
|
not: "not-sr-only"
|
|
6226
6208
|
}
|
|
6227
|
-
},
|
|
6209
|
+
}, va = {
|
|
6228
6210
|
icon: {
|
|
6229
6211
|
xs: "w-3 h-3",
|
|
6230
6212
|
sm: "w-4 h-4",
|
|
@@ -6239,7 +6221,7 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6239
6221
|
lg: "w-12 h-12",
|
|
6240
6222
|
xl: "w-16 h-16"
|
|
6241
6223
|
}
|
|
6242
|
-
},
|
|
6224
|
+
}, wa = {
|
|
6243
6225
|
/**
|
|
6244
6226
|
* Fade animations
|
|
6245
6227
|
*/
|
|
@@ -6263,7 +6245,7 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6263
6245
|
in: "animate-in scale-in duration-200",
|
|
6264
6246
|
out: "animate-out scale-out duration-200"
|
|
6265
6247
|
}
|
|
6266
|
-
},
|
|
6248
|
+
}, ka = {
|
|
6267
6249
|
/**
|
|
6268
6250
|
* Container utilities
|
|
6269
6251
|
*/
|
|
@@ -6297,7 +6279,7 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6297
6279
|
col: "flex flex-col",
|
|
6298
6280
|
colCenter: "flex flex-col items-center justify-center"
|
|
6299
6281
|
}
|
|
6300
|
-
},
|
|
6282
|
+
}, Na = {
|
|
6301
6283
|
/**
|
|
6302
6284
|
* Check if dark mode is active
|
|
6303
6285
|
*/
|
|
@@ -6314,7 +6296,7 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6314
6296
|
set: (e) => {
|
|
6315
6297
|
typeof window > "u" || document.documentElement.classList.toggle("dark", e === "dark");
|
|
6316
6298
|
}
|
|
6317
|
-
},
|
|
6299
|
+
}, Ca = {
|
|
6318
6300
|
/**
|
|
6319
6301
|
* Debounce function for performance optimization
|
|
6320
6302
|
*/
|
|
@@ -6333,12 +6315,12 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6333
6315
|
o || (e(...a), o = !0, setTimeout(() => o = !1, t));
|
|
6334
6316
|
};
|
|
6335
6317
|
}
|
|
6336
|
-
}, zt =
|
|
6318
|
+
}, zt = D.createContext(null), Ma = () => {
|
|
6337
6319
|
const e = Et(zt);
|
|
6338
6320
|
if (!e)
|
|
6339
6321
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
6340
6322
|
return e;
|
|
6341
|
-
},
|
|
6323
|
+
}, qo = {
|
|
6342
6324
|
name: "light",
|
|
6343
6325
|
colors: {
|
|
6344
6326
|
primary: "#007bff",
|
|
@@ -6404,7 +6386,7 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6404
6386
|
large: "0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.10)",
|
|
6405
6387
|
xl: "0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05)"
|
|
6406
6388
|
}
|
|
6407
|
-
},
|
|
6389
|
+
}, Ko = {
|
|
6408
6390
|
name: "dark",
|
|
6409
6391
|
colors: {
|
|
6410
6392
|
primary: "#0d6efd",
|
|
@@ -6470,7 +6452,7 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6470
6452
|
large: "0 10px 20px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.3)",
|
|
6471
6453
|
xl: "0 15px 25px rgba(0, 0, 0, 0.4), 0 5px 10px rgba(0, 0, 0, 0.3)"
|
|
6472
6454
|
}
|
|
6473
|
-
},
|
|
6455
|
+
}, Xo = {
|
|
6474
6456
|
name: "corporate",
|
|
6475
6457
|
colors: {
|
|
6476
6458
|
primary: "#1a365d",
|
|
@@ -6536,7 +6518,7 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6536
6518
|
large: "0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05)",
|
|
6537
6519
|
xl: "0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04)"
|
|
6538
6520
|
}
|
|
6539
|
-
},
|
|
6521
|
+
}, Zo = {
|
|
6540
6522
|
name: "minimal",
|
|
6541
6523
|
colors: {
|
|
6542
6524
|
primary: "#000000",
|
|
@@ -6603,81 +6585,81 @@ const ga = ({ href: e, children: t }) => /* @__PURE__ */ r(
|
|
|
6603
6585
|
xl: "none"
|
|
6604
6586
|
}
|
|
6605
6587
|
}, Ee = {
|
|
6606
|
-
light:
|
|
6607
|
-
dark:
|
|
6608
|
-
corporate:
|
|
6609
|
-
minimal:
|
|
6610
|
-
},
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
const
|
|
6588
|
+
light: qo,
|
|
6589
|
+
dark: Ko,
|
|
6590
|
+
corporate: Xo,
|
|
6591
|
+
minimal: Zo
|
|
6592
|
+
}, Jo = $e(), Qo = $e(), Yo = $e(), ae = Rt(Ee.light).on(Jo, (e, t) => Ee[t] || e).on(Qo, (e, t) => t).on(Yo, () => Ee.light), Sa = ae.map((e) => e.name), Ta = ae.map((e) => e.colors);
|
|
6593
|
+
ae.map((e) => e.shapes);
|
|
6594
|
+
ae.map((e) => e.typography);
|
|
6595
|
+
ae.map((e) => e.spacing);
|
|
6596
|
+
ae.map((e) => e.shadows);
|
|
6597
|
+
const Pa = ({ children: e }) => {
|
|
6616
6598
|
const o = {
|
|
6617
|
-
theme:
|
|
6599
|
+
theme: jt(ae)
|
|
6618
6600
|
};
|
|
6619
6601
|
return /* @__PURE__ */ r(zt.Provider, { value: o, children: e });
|
|
6620
6602
|
};
|
|
6621
6603
|
export {
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6604
|
+
ae as $theme,
|
|
6605
|
+
Ta as $themeColors,
|
|
6606
|
+
Sa as $themeName,
|
|
6607
|
+
ma as AuthLayout,
|
|
6626
6608
|
Q as Button,
|
|
6627
6609
|
ht as Card,
|
|
6628
6610
|
bt as CategoryChips,
|
|
6629
6611
|
_e as Chip,
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6612
|
+
la as CompoundCard,
|
|
6613
|
+
ca as ConfirmModal,
|
|
6614
|
+
da as DashboardLayout,
|
|
6633
6615
|
gt as DonutChart,
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6616
|
+
So as EntityDirectory,
|
|
6617
|
+
Po as Header,
|
|
6618
|
+
Io as HeroBanner,
|
|
6637
6619
|
le as Input,
|
|
6638
|
-
|
|
6620
|
+
ua as MarketingLayout,
|
|
6639
6621
|
xt as Modal,
|
|
6640
6622
|
Hr as ModalWithActions,
|
|
6641
|
-
|
|
6623
|
+
jo as MortgageCalculator,
|
|
6642
6624
|
Ve as PageLayout,
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6625
|
+
pa as PropertyCard,
|
|
6626
|
+
_o as PropertyGallery,
|
|
6627
|
+
Uo as SearchFeature,
|
|
6646
6628
|
Fe as Select,
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6629
|
+
fa as SkipLink,
|
|
6630
|
+
j as Text,
|
|
6631
|
+
Pa as ThemeProvider,
|
|
6632
|
+
ya as a11y,
|
|
6633
|
+
ya as accessibilityUtils,
|
|
6634
|
+
wa as animationUtils,
|
|
6635
|
+
wa as animations,
|
|
6636
|
+
ba as breakpoints,
|
|
6655
6637
|
Ot as calculateMortgage,
|
|
6656
6638
|
f as cn,
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6639
|
+
xa as colorUtils,
|
|
6640
|
+
xa as colors,
|
|
6641
|
+
va as componentSizes,
|
|
6642
|
+
ga as componentVariants,
|
|
6661
6643
|
$t as countEntitiesByCategory,
|
|
6662
|
-
|
|
6663
|
-
|
|
6644
|
+
ha as designSystem,
|
|
6645
|
+
At as filterEntitiesByCategory,
|
|
6664
6646
|
ue as formatCurrency,
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6647
|
+
na as formatPercentage,
|
|
6648
|
+
ka as layout,
|
|
6649
|
+
ka as layoutUtils,
|
|
6650
|
+
Ca as performance,
|
|
6651
|
+
Ca as performanceUtils,
|
|
6652
|
+
Yo as resetTheme,
|
|
6653
|
+
ba as responsiveBreakpoints,
|
|
6654
|
+
Qo as setCustomTheme,
|
|
6655
|
+
Jo as setTheme,
|
|
6656
|
+
va as sizes,
|
|
6675
6657
|
Lt as sortEntities,
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6658
|
+
Na as theme,
|
|
6659
|
+
Na as themeUtils,
|
|
6660
|
+
ia as useEntityFilter,
|
|
6661
|
+
Ma as useTheme,
|
|
6662
|
+
sa as validateMortgageInput,
|
|
6663
|
+
ga as variants
|
|
6682
6664
|
};
|
|
6683
6665
|
//# sourceMappingURL=design-system.es.js.map
|