@homlista-devs/ui 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design-system.cjs.js +13 -8
- package/dist/design-system.cjs.js.map +1 -1
- package/dist/design-system.es.js +1116 -1048
- package/dist/design-system.es.js.map +1 -1
- package/dist/index.css +19 -4
- package/package.json +1 -1
package/dist/design-system.es.js
CHANGED
|
@@ -1,161 +1,161 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { useUnit as
|
|
5
|
-
import { createEvent as
|
|
6
|
-
function Fe(e,
|
|
1
|
+
import { jsx as n, jsxs as f, Fragment as be } from "react/jsx-runtime";
|
|
2
|
+
import * as k from "react";
|
|
3
|
+
import ze, { useEffect as ve, forwardRef as qe, createElement as Se, useState as ce, useMemo as we, useCallback as Ve, useContext as wt } from "react";
|
|
4
|
+
import { useUnit as kt } from "effector-react";
|
|
5
|
+
import { createEvent as Re, createStore as Nt } from "effector";
|
|
6
|
+
function Fe(e, t) {
|
|
7
7
|
if (typeof e == "function")
|
|
8
|
-
return e(
|
|
9
|
-
e != null && (e.current =
|
|
8
|
+
return e(t);
|
|
9
|
+
e != null && (e.current = t);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
return (
|
|
13
|
-
let
|
|
14
|
-
const o = e.map((
|
|
15
|
-
const s = Fe(
|
|
16
|
-
return !
|
|
11
|
+
function Ct(...e) {
|
|
12
|
+
return (t) => {
|
|
13
|
+
let r = !1;
|
|
14
|
+
const o = e.map((a) => {
|
|
15
|
+
const s = Fe(a, t);
|
|
16
|
+
return !r && typeof s == "function" && (r = !0), s;
|
|
17
17
|
});
|
|
18
|
-
if (
|
|
18
|
+
if (r)
|
|
19
19
|
return () => {
|
|
20
|
-
for (let
|
|
21
|
-
const s = o[
|
|
22
|
-
typeof s == "function" ? s() : Fe(e[
|
|
20
|
+
for (let a = 0; a < o.length; a++) {
|
|
21
|
+
const s = o[a];
|
|
22
|
+
typeof s == "function" ? s() : Fe(e[a], null);
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
// @__NO_SIDE_EFFECTS__
|
|
28
|
-
function
|
|
29
|
-
const
|
|
30
|
-
const { children: s, ...l } = o, i =
|
|
28
|
+
function Mt(e) {
|
|
29
|
+
const t = /* @__PURE__ */ Pt(e), r = k.forwardRef((o, a) => {
|
|
30
|
+
const { children: s, ...l } = o, i = k.Children.toArray(s), c = i.find(It);
|
|
31
31
|
if (c) {
|
|
32
|
-
const d = c.props.children, m = i.map((u) => u === c ?
|
|
33
|
-
return /* @__PURE__ */
|
|
32
|
+
const d = c.props.children, m = i.map((u) => u === c ? k.Children.count(d) > 1 ? k.Children.only(null) : k.isValidElement(d) ? d.props.children : null : u);
|
|
33
|
+
return /* @__PURE__ */ n(t, { ...l, ref: a, children: k.isValidElement(d) ? k.cloneElement(d, void 0, m) : null });
|
|
34
34
|
}
|
|
35
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ n(t, { ...l, ref: a, children: s });
|
|
36
36
|
});
|
|
37
|
-
return
|
|
37
|
+
return r.displayName = `${e}.Slot`, r;
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var St = /* @__PURE__ */ Mt("Slot");
|
|
40
40
|
// @__NO_SIDE_EFFECTS__
|
|
41
|
-
function
|
|
42
|
-
const
|
|
43
|
-
const { children:
|
|
44
|
-
if (
|
|
45
|
-
const l =
|
|
46
|
-
return
|
|
41
|
+
function Pt(e) {
|
|
42
|
+
const t = k.forwardRef((r, o) => {
|
|
43
|
+
const { children: a, ...s } = r;
|
|
44
|
+
if (k.isValidElement(a)) {
|
|
45
|
+
const l = Rt(a), i = zt(s, a.props);
|
|
46
|
+
return a.type !== k.Fragment && (i.ref = o ? Ct(o, l) : l), k.cloneElement(a, i);
|
|
47
47
|
}
|
|
48
|
-
return
|
|
48
|
+
return k.Children.count(a) > 1 ? k.Children.only(null) : null;
|
|
49
49
|
});
|
|
50
|
-
return
|
|
50
|
+
return t.displayName = `${e}.SlotClone`, t;
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
function
|
|
54
|
-
return
|
|
52
|
+
var Et = Symbol("radix.slottable");
|
|
53
|
+
function It(e) {
|
|
54
|
+
return k.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Et;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
const
|
|
58
|
-
for (const o in
|
|
59
|
-
const
|
|
60
|
-
/^on[A-Z]/.test(o) ?
|
|
56
|
+
function zt(e, t) {
|
|
57
|
+
const r = { ...t };
|
|
58
|
+
for (const o in t) {
|
|
59
|
+
const a = e[o], s = t[o];
|
|
60
|
+
/^on[A-Z]/.test(o) ? a && s ? r[o] = (...i) => {
|
|
61
61
|
const c = s(...i);
|
|
62
|
-
return
|
|
63
|
-
} :
|
|
62
|
+
return a(...i), c;
|
|
63
|
+
} : a && (r[o] = a) : o === "style" ? r[o] = { ...a, ...s } : o === "className" && (r[o] = [a, s].filter(Boolean).join(" "));
|
|
64
64
|
}
|
|
65
|
-
return { ...e, ...
|
|
65
|
+
return { ...e, ...r };
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
let
|
|
69
|
-
return
|
|
67
|
+
function Rt(e) {
|
|
68
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
69
|
+
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
70
70
|
}
|
|
71
71
|
function Xe(e) {
|
|
72
|
-
var
|
|
72
|
+
var t, r, o = "";
|
|
73
73
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
74
74
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
75
|
-
var
|
|
76
|
-
for (
|
|
77
|
-
} else for (
|
|
75
|
+
var a = e.length;
|
|
76
|
+
for (t = 0; t < a; t++) e[t] && (r = Xe(e[t])) && (o && (o += " "), o += r);
|
|
77
|
+
} else for (r in e) e[r] && (o && (o += " "), o += r);
|
|
78
78
|
return o;
|
|
79
79
|
}
|
|
80
80
|
function Ze() {
|
|
81
|
-
for (var e,
|
|
81
|
+
for (var e, t, r = 0, o = "", a = arguments.length; r < a; r++) (e = arguments[r]) && (t = Xe(e)) && (o && (o += " "), o += t);
|
|
82
82
|
return o;
|
|
83
83
|
}
|
|
84
|
-
const
|
|
85
|
-
const
|
|
86
|
-
conflictingClassGroups:
|
|
84
|
+
const Ae = "-", At = (e) => {
|
|
85
|
+
const t = Tt(e), {
|
|
86
|
+
conflictingClassGroups: r,
|
|
87
87
|
conflictingClassGroupModifiers: o
|
|
88
88
|
} = e;
|
|
89
89
|
return {
|
|
90
90
|
getClassGroupId: (l) => {
|
|
91
|
-
const i = l.split(
|
|
92
|
-
return i[0] === "" && i.length !== 1 && i.shift(), Ke(i,
|
|
91
|
+
const i = l.split(Ae);
|
|
92
|
+
return i[0] === "" && i.length !== 1 && i.shift(), Ke(i, t) || Lt(l);
|
|
93
93
|
},
|
|
94
94
|
getConflictingClassGroupIds: (l, i) => {
|
|
95
|
-
const c =
|
|
95
|
+
const c = r[l] || [];
|
|
96
96
|
return i && o[l] ? [...c, ...o[l]] : c;
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
|
-
}, Ke = (e,
|
|
99
|
+
}, Ke = (e, t) => {
|
|
100
100
|
if (e.length === 0)
|
|
101
|
-
return
|
|
102
|
-
const
|
|
103
|
-
if (
|
|
104
|
-
return
|
|
105
|
-
if (
|
|
101
|
+
return t.classGroupId;
|
|
102
|
+
const r = e[0], o = t.nextPart.get(r), a = o ? Ke(e.slice(1), o) : void 0;
|
|
103
|
+
if (a)
|
|
104
|
+
return a;
|
|
105
|
+
if (t.validators.length === 0)
|
|
106
106
|
return;
|
|
107
|
-
const s = e.join(
|
|
108
|
-
return
|
|
107
|
+
const s = e.join(Ae);
|
|
108
|
+
return t.validators.find(({
|
|
109
109
|
validator: l
|
|
110
110
|
}) => l(s))?.classGroupId;
|
|
111
|
-
}, _e = /^\[(.+)\]$/,
|
|
111
|
+
}, _e = /^\[(.+)\]$/, Lt = (e) => {
|
|
112
112
|
if (_e.test(e)) {
|
|
113
|
-
const
|
|
114
|
-
if (
|
|
115
|
-
return "arbitrary.." +
|
|
113
|
+
const t = _e.exec(e)[1], r = t?.substring(0, t.indexOf(":"));
|
|
114
|
+
if (r)
|
|
115
|
+
return "arbitrary.." + r;
|
|
116
116
|
}
|
|
117
|
-
},
|
|
117
|
+
}, Tt = (e) => {
|
|
118
118
|
const {
|
|
119
|
-
theme:
|
|
120
|
-
classGroups:
|
|
119
|
+
theme: t,
|
|
120
|
+
classGroups: r
|
|
121
121
|
} = e, o = {
|
|
122
122
|
nextPart: /* @__PURE__ */ new Map(),
|
|
123
123
|
validators: []
|
|
124
124
|
};
|
|
125
|
-
for (const
|
|
126
|
-
|
|
125
|
+
for (const a in r)
|
|
126
|
+
Pe(r[a], o, a, t);
|
|
127
127
|
return o;
|
|
128
|
-
},
|
|
129
|
-
e.forEach((
|
|
130
|
-
if (typeof
|
|
131
|
-
const s =
|
|
132
|
-
s.classGroupId =
|
|
128
|
+
}, Pe = (e, t, r, o) => {
|
|
129
|
+
e.forEach((a) => {
|
|
130
|
+
if (typeof a == "string") {
|
|
131
|
+
const s = a === "" ? t : De(t, a);
|
|
132
|
+
s.classGroupId = r;
|
|
133
133
|
return;
|
|
134
134
|
}
|
|
135
|
-
if (typeof
|
|
136
|
-
if (
|
|
137
|
-
|
|
135
|
+
if (typeof a == "function") {
|
|
136
|
+
if (jt(a)) {
|
|
137
|
+
Pe(a(o), t, r, o);
|
|
138
138
|
return;
|
|
139
139
|
}
|
|
140
|
-
|
|
141
|
-
validator:
|
|
142
|
-
classGroupId:
|
|
140
|
+
t.validators.push({
|
|
141
|
+
validator: a,
|
|
142
|
+
classGroupId: r
|
|
143
143
|
});
|
|
144
144
|
return;
|
|
145
145
|
}
|
|
146
|
-
Object.entries(
|
|
147
|
-
|
|
146
|
+
Object.entries(a).forEach(([s, l]) => {
|
|
147
|
+
Pe(l, De(t, s), r, o);
|
|
148
148
|
});
|
|
149
149
|
});
|
|
150
|
-
}, De = (e,
|
|
151
|
-
let
|
|
152
|
-
return
|
|
153
|
-
|
|
150
|
+
}, De = (e, t) => {
|
|
151
|
+
let r = e;
|
|
152
|
+
return t.split(Ae).forEach((o) => {
|
|
153
|
+
r.nextPart.has(o) || r.nextPart.set(o, {
|
|
154
154
|
nextPart: /* @__PURE__ */ new Map(),
|
|
155
155
|
validators: []
|
|
156
|
-
}),
|
|
157
|
-
}),
|
|
158
|
-
},
|
|
156
|
+
}), r = r.nextPart.get(o);
|
|
157
|
+
}), r;
|
|
158
|
+
}, jt = (e) => e.isThemeGetter, $t = (e) => {
|
|
159
159
|
if (e < 1)
|
|
160
160
|
return {
|
|
161
161
|
get: () => {
|
|
@@ -163,45 +163,45 @@ const Ie = "-", zr = (e) => {
|
|
|
163
163
|
set: () => {
|
|
164
164
|
}
|
|
165
165
|
};
|
|
166
|
-
let
|
|
167
|
-
const
|
|
168
|
-
|
|
166
|
+
let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
167
|
+
const a = (s, l) => {
|
|
168
|
+
r.set(s, l), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
|
|
169
169
|
};
|
|
170
170
|
return {
|
|
171
171
|
get(s) {
|
|
172
|
-
let l =
|
|
172
|
+
let l = r.get(s);
|
|
173
173
|
if (l !== void 0)
|
|
174
174
|
return l;
|
|
175
175
|
if ((l = o.get(s)) !== void 0)
|
|
176
|
-
return
|
|
176
|
+
return a(s, l), l;
|
|
177
177
|
},
|
|
178
178
|
set(s, l) {
|
|
179
|
-
|
|
179
|
+
r.has(s) ? r.set(s, l) : a(s, l);
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
|
-
},
|
|
182
|
+
}, Ee = "!", Ie = ":", Vt = Ie.length, Ft = (e) => {
|
|
183
183
|
const {
|
|
184
|
-
prefix:
|
|
185
|
-
experimentalParseClassName:
|
|
184
|
+
prefix: t,
|
|
185
|
+
experimentalParseClassName: r
|
|
186
186
|
} = e;
|
|
187
|
-
let o = (
|
|
187
|
+
let o = (a) => {
|
|
188
188
|
const s = [];
|
|
189
189
|
let l = 0, i = 0, c = 0, d;
|
|
190
|
-
for (let
|
|
191
|
-
let
|
|
190
|
+
for (let w = 0; w < a.length; w++) {
|
|
191
|
+
let N = a[w];
|
|
192
192
|
if (l === 0 && i === 0) {
|
|
193
|
-
if (
|
|
194
|
-
s.push(
|
|
193
|
+
if (N === Ie) {
|
|
194
|
+
s.push(a.slice(c, w)), c = w + Vt;
|
|
195
195
|
continue;
|
|
196
196
|
}
|
|
197
|
-
if (
|
|
198
|
-
d =
|
|
197
|
+
if (N === "/") {
|
|
198
|
+
d = w;
|
|
199
199
|
continue;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
|
|
202
|
+
N === "[" ? l++ : N === "]" ? l-- : N === "(" ? i++ : N === ")" && i--;
|
|
203
203
|
}
|
|
204
|
-
const m = s.length === 0 ?
|
|
204
|
+
const m = s.length === 0 ? a : a.substring(c), u = _t(m), b = u !== m, M = d && d > c ? d - c : void 0;
|
|
205
205
|
return {
|
|
206
206
|
modifiers: s,
|
|
207
207
|
hasImportantModifier: b,
|
|
@@ -209,9 +209,9 @@ const Ie = "-", zr = (e) => {
|
|
|
209
209
|
maybePostfixModifierPosition: M
|
|
210
210
|
};
|
|
211
211
|
};
|
|
212
|
-
if (
|
|
213
|
-
const
|
|
214
|
-
o = (l) => l.startsWith(
|
|
212
|
+
if (t) {
|
|
213
|
+
const a = t + Ie, s = o;
|
|
214
|
+
o = (l) => l.startsWith(a) ? s(l.substring(a.length)) : {
|
|
215
215
|
isExternal: !0,
|
|
216
216
|
modifiers: [],
|
|
217
217
|
hasImportantModifier: !1,
|
|
@@ -219,122 +219,122 @@ const Ie = "-", zr = (e) => {
|
|
|
219
219
|
maybePostfixModifierPosition: void 0
|
|
220
220
|
};
|
|
221
221
|
}
|
|
222
|
-
if (
|
|
223
|
-
const
|
|
224
|
-
o = (s) =>
|
|
222
|
+
if (r) {
|
|
223
|
+
const a = o;
|
|
224
|
+
o = (s) => r({
|
|
225
225
|
className: s,
|
|
226
|
-
parseClassName:
|
|
226
|
+
parseClassName: a
|
|
227
227
|
});
|
|
228
228
|
}
|
|
229
229
|
return o;
|
|
230
|
-
},
|
|
231
|
-
const
|
|
230
|
+
}, _t = (e) => e.endsWith(Ee) ? e.substring(0, e.length - 1) : e.startsWith(Ee) ? e.substring(1) : e, Dt = (e) => {
|
|
231
|
+
const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
|
|
232
232
|
return (o) => {
|
|
233
233
|
if (o.length <= 1)
|
|
234
234
|
return o;
|
|
235
|
-
const
|
|
235
|
+
const a = [];
|
|
236
236
|
let s = [];
|
|
237
237
|
return o.forEach((l) => {
|
|
238
|
-
l[0] === "[" ||
|
|
239
|
-
}),
|
|
238
|
+
l[0] === "[" || t[l] ? (a.push(...s.sort(), l), s = []) : s.push(l);
|
|
239
|
+
}), a.push(...s.sort()), a;
|
|
240
240
|
};
|
|
241
|
-
},
|
|
242
|
-
cache:
|
|
243
|
-
parseClassName:
|
|
244
|
-
sortModifiers:
|
|
245
|
-
...
|
|
246
|
-
}),
|
|
241
|
+
}, Gt = (e) => ({
|
|
242
|
+
cache: $t(e.cacheSize),
|
|
243
|
+
parseClassName: Ft(e),
|
|
244
|
+
sortModifiers: Dt(e),
|
|
245
|
+
...At(e)
|
|
246
|
+
}), Wt = /\s+/, Bt = (e, t) => {
|
|
247
247
|
const {
|
|
248
|
-
parseClassName:
|
|
248
|
+
parseClassName: r,
|
|
249
249
|
getClassGroupId: o,
|
|
250
|
-
getConflictingClassGroupIds:
|
|
250
|
+
getConflictingClassGroupIds: a,
|
|
251
251
|
sortModifiers: s
|
|
252
|
-
} =
|
|
252
|
+
} = t, l = [], i = e.trim().split(Wt);
|
|
253
253
|
let c = "";
|
|
254
254
|
for (let d = i.length - 1; d >= 0; d -= 1) {
|
|
255
255
|
const m = i[d], {
|
|
256
256
|
isExternal: u,
|
|
257
257
|
modifiers: b,
|
|
258
258
|
hasImportantModifier: M,
|
|
259
|
-
baseClassName:
|
|
260
|
-
maybePostfixModifierPosition:
|
|
261
|
-
} =
|
|
259
|
+
baseClassName: w,
|
|
260
|
+
maybePostfixModifierPosition: N
|
|
261
|
+
} = r(m);
|
|
262
262
|
if (u) {
|
|
263
263
|
c = m + (c.length > 0 ? " " + c : c);
|
|
264
264
|
continue;
|
|
265
265
|
}
|
|
266
|
-
let E = !!
|
|
267
|
-
if (!
|
|
266
|
+
let E = !!N, v = o(E ? w.substring(0, N) : w);
|
|
267
|
+
if (!v) {
|
|
268
268
|
if (!E) {
|
|
269
269
|
c = m + (c.length > 0 ? " " + c : c);
|
|
270
270
|
continue;
|
|
271
271
|
}
|
|
272
|
-
if (
|
|
272
|
+
if (v = o(w), !v) {
|
|
273
273
|
c = m + (c.length > 0 ? " " + c : c);
|
|
274
274
|
continue;
|
|
275
275
|
}
|
|
276
276
|
E = !1;
|
|
277
277
|
}
|
|
278
|
-
const
|
|
278
|
+
const R = s(b).join(":"), L = M ? R + Ee : R, P = L + v;
|
|
279
279
|
if (l.includes(P))
|
|
280
280
|
continue;
|
|
281
281
|
l.push(P);
|
|
282
|
-
const S =
|
|
283
|
-
for (let
|
|
284
|
-
const
|
|
285
|
-
l.push(L +
|
|
282
|
+
const S = a(v, E);
|
|
283
|
+
for (let F = 0; F < S.length; ++F) {
|
|
284
|
+
const A = S[F];
|
|
285
|
+
l.push(L + A);
|
|
286
286
|
}
|
|
287
287
|
c = m + (c.length > 0 ? " " + c : c);
|
|
288
288
|
}
|
|
289
289
|
return c;
|
|
290
290
|
};
|
|
291
|
-
function
|
|
292
|
-
let e = 0,
|
|
291
|
+
function Ot() {
|
|
292
|
+
let e = 0, t, r, o = "";
|
|
293
293
|
for (; e < arguments.length; )
|
|
294
|
-
(
|
|
294
|
+
(t = arguments[e++]) && (r = Qe(t)) && (o && (o += " "), o += r);
|
|
295
295
|
return o;
|
|
296
296
|
}
|
|
297
297
|
const Qe = (e) => {
|
|
298
298
|
if (typeof e == "string")
|
|
299
299
|
return e;
|
|
300
|
-
let
|
|
300
|
+
let t, r = "";
|
|
301
301
|
for (let o = 0; o < e.length; o++)
|
|
302
|
-
e[o] && (
|
|
303
|
-
return
|
|
302
|
+
e[o] && (t = Qe(e[o])) && (r && (r += " "), r += t);
|
|
303
|
+
return r;
|
|
304
304
|
};
|
|
305
|
-
function
|
|
306
|
-
let
|
|
305
|
+
function Ht(e, ...t) {
|
|
306
|
+
let r, o, a, s = l;
|
|
307
307
|
function l(c) {
|
|
308
|
-
const d =
|
|
309
|
-
return
|
|
308
|
+
const d = t.reduce((m, u) => u(m), e());
|
|
309
|
+
return r = Gt(d), o = r.cache.get, a = r.cache.set, s = i, i(c);
|
|
310
310
|
}
|
|
311
311
|
function i(c) {
|
|
312
312
|
const d = o(c);
|
|
313
313
|
if (d)
|
|
314
314
|
return d;
|
|
315
|
-
const m =
|
|
316
|
-
return
|
|
315
|
+
const m = Bt(c, r);
|
|
316
|
+
return a(c, m), m;
|
|
317
317
|
}
|
|
318
318
|
return function() {
|
|
319
|
-
return s(
|
|
319
|
+
return s(Ot.apply(null, arguments));
|
|
320
320
|
};
|
|
321
321
|
}
|
|
322
|
-
const
|
|
323
|
-
const
|
|
324
|
-
return
|
|
325
|
-
}, Je = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
322
|
+
const T = (e) => {
|
|
323
|
+
const t = (r) => r[e] || [];
|
|
324
|
+
return t.isThemeGetter = !0, t;
|
|
325
|
+
}, Je = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ut = /^\d+\/\d+$/, qt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xt = /\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$/, Zt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Kt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, oe = (e) => Ut.test(e), C = (e) => !!e && !Number.isNaN(Number(e)), Z = (e) => !!e && Number.isInteger(Number(e)), ke = (e) => e.endsWith("%") && C(e.slice(0, -1)), U = (e) => qt.test(e), Jt = () => !0, Yt = (e) => (
|
|
326
326
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
327
327
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
328
328
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
329
|
-
|
|
330
|
-
),
|
|
329
|
+
Xt.test(e) && !Zt.test(e)
|
|
330
|
+
), et = () => !1, er = (e) => Kt.test(e), tr = (e) => Qt.test(e), rr = (e) => !p(e) && !g(e), or = (e) => ae(e, ot, et), p = (e) => Je.test(e), J = (e) => ae(e, nt, Yt), Ne = (e) => ae(e, lr, C), Ge = (e) => ae(e, tt, et), nr = (e) => ae(e, rt, tr), pe = (e) => ae(e, at, er), g = (e) => Ye.test(e), ie = (e) => se(e, nt), ar = (e) => se(e, cr), We = (e) => se(e, tt), sr = (e) => se(e, ot), ir = (e) => se(e, rt), ge = (e) => se(e, at, !0), ae = (e, t, r) => {
|
|
331
331
|
const o = Je.exec(e);
|
|
332
|
-
return o ? o[1] ?
|
|
333
|
-
},
|
|
332
|
+
return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
|
|
333
|
+
}, se = (e, t, r = !1) => {
|
|
334
334
|
const o = Ye.exec(e);
|
|
335
|
-
return o ? o[1] ?
|
|
336
|
-
},
|
|
337
|
-
const e =
|
|
335
|
+
return o ? o[1] ? t(o[1]) : r : !1;
|
|
336
|
+
}, tt = (e) => e === "position" || e === "percentage", rt = (e) => e === "image" || e === "url", ot = (e) => e === "length" || e === "size" || e === "bg-size", nt = (e) => e === "length", lr = (e) => e === "number", cr = (e) => e === "family-name", at = (e) => e === "shadow", dr = () => {
|
|
337
|
+
const e = T("color"), t = T("font"), r = T("text"), o = T("font-weight"), a = T("tracking"), s = T("leading"), l = T("breakpoint"), i = T("container"), c = T("spacing"), d = T("radius"), m = T("shadow"), u = T("inset-shadow"), b = T("text-shadow"), M = T("drop-shadow"), w = T("blur"), N = T("perspective"), E = T("aspect"), v = T("ease"), R = T("animate"), L = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], P = () => [
|
|
338
338
|
"center",
|
|
339
339
|
"top",
|
|
340
340
|
"bottom",
|
|
@@ -352,15 +352,15 @@ const $ = (e) => {
|
|
|
352
352
|
"bottom-left",
|
|
353
353
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
354
354
|
"left-bottom"
|
|
355
|
-
], S = () => [...P(), g, p],
|
|
356
|
-
span: ["full",
|
|
357
|
-
},
|
|
355
|
+
], S = () => [...P(), g, p], F = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], y = () => [g, p, c], D = () => [oe, "full", "auto", ...y()], q = () => [Z, "none", "subgrid", g, p], te = () => ["auto", {
|
|
356
|
+
span: ["full", Z, g, p]
|
|
357
|
+
}, Z, g, p], X = () => [Z, "auto", g, p], re = () => ["auto", "min", "max", "fr", g, p], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], $ = () => ["auto", ...y()], W = () => [oe, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...y()], x = () => [e, g, p], I = () => [...P(), We, Ge, {
|
|
358
358
|
position: [g, p]
|
|
359
|
-
}],
|
|
359
|
+
}], V = () => ["no-repeat", {
|
|
360
360
|
repeat: ["", "x", "y", "space", "round"]
|
|
361
|
-
}],
|
|
361
|
+
}], H = () => ["auto", "cover", "contain", sr, or, {
|
|
362
362
|
size: [g, p]
|
|
363
|
-
}],
|
|
363
|
+
}], xe = () => [ke, ie, J], _ = () => [
|
|
364
364
|
// Deprecated since Tailwind CSS v4.0.0
|
|
365
365
|
"",
|
|
366
366
|
"none",
|
|
@@ -368,35 +368,35 @@ const $ = (e) => {
|
|
|
368
368
|
d,
|
|
369
369
|
g,
|
|
370
370
|
p
|
|
371
|
-
],
|
|
371
|
+
], G = () => ["", C, ie, J], de = () => ["solid", "dashed", "dotted", "double"], je = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], j = () => [C, ke, We, Ge], $e = () => [
|
|
372
372
|
// Deprecated since Tailwind CSS v4.0.0
|
|
373
373
|
"",
|
|
374
374
|
"none",
|
|
375
|
-
|
|
375
|
+
w,
|
|
376
376
|
g,
|
|
377
377
|
p
|
|
378
|
-
],
|
|
378
|
+
], ue = () => ["none", C, g, p], me = () => ["none", C, g, p], ye = () => [C, g, p], fe = () => [oe, "full", ...y()];
|
|
379
379
|
return {
|
|
380
380
|
cacheSize: 500,
|
|
381
381
|
theme: {
|
|
382
382
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
383
383
|
aspect: ["video"],
|
|
384
|
-
blur: [
|
|
385
|
-
breakpoint: [
|
|
386
|
-
color: [
|
|
387
|
-
container: [
|
|
388
|
-
"drop-shadow": [
|
|
384
|
+
blur: [U],
|
|
385
|
+
breakpoint: [U],
|
|
386
|
+
color: [Jt],
|
|
387
|
+
container: [U],
|
|
388
|
+
"drop-shadow": [U],
|
|
389
389
|
ease: ["in", "out", "in-out"],
|
|
390
|
-
font: [
|
|
390
|
+
font: [rr],
|
|
391
391
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
392
|
-
"inset-shadow": [
|
|
392
|
+
"inset-shadow": [U],
|
|
393
393
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
394
394
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
395
|
-
radius: [
|
|
396
|
-
shadow: [
|
|
397
|
-
spacing: ["px",
|
|
398
|
-
text: [
|
|
399
|
-
"text-shadow": [
|
|
395
|
+
radius: [U],
|
|
396
|
+
shadow: [U],
|
|
397
|
+
spacing: ["px", C],
|
|
398
|
+
text: [U],
|
|
399
|
+
"text-shadow": [U],
|
|
400
400
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
401
401
|
},
|
|
402
402
|
classGroups: {
|
|
@@ -408,7 +408,7 @@ const $ = (e) => {
|
|
|
408
408
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
409
409
|
*/
|
|
410
410
|
aspect: [{
|
|
411
|
-
aspect: ["auto", "square",
|
|
411
|
+
aspect: ["auto", "square", oe, p, g, E]
|
|
412
412
|
}],
|
|
413
413
|
/**
|
|
414
414
|
* Container
|
|
@@ -421,7 +421,7 @@ const $ = (e) => {
|
|
|
421
421
|
* @see https://tailwindcss.com/docs/columns
|
|
422
422
|
*/
|
|
423
423
|
columns: [{
|
|
424
|
-
columns: [
|
|
424
|
+
columns: [C, p, g, i]
|
|
425
425
|
}],
|
|
426
426
|
/**
|
|
427
427
|
* Break After
|
|
@@ -506,42 +506,42 @@ const $ = (e) => {
|
|
|
506
506
|
* @see https://tailwindcss.com/docs/overflow
|
|
507
507
|
*/
|
|
508
508
|
overflow: [{
|
|
509
|
-
overflow:
|
|
509
|
+
overflow: F()
|
|
510
510
|
}],
|
|
511
511
|
/**
|
|
512
512
|
* Overflow X
|
|
513
513
|
* @see https://tailwindcss.com/docs/overflow
|
|
514
514
|
*/
|
|
515
515
|
"overflow-x": [{
|
|
516
|
-
"overflow-x":
|
|
516
|
+
"overflow-x": F()
|
|
517
517
|
}],
|
|
518
518
|
/**
|
|
519
519
|
* Overflow Y
|
|
520
520
|
* @see https://tailwindcss.com/docs/overflow
|
|
521
521
|
*/
|
|
522
522
|
"overflow-y": [{
|
|
523
|
-
"overflow-y":
|
|
523
|
+
"overflow-y": F()
|
|
524
524
|
}],
|
|
525
525
|
/**
|
|
526
526
|
* Overscroll Behavior
|
|
527
527
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
528
528
|
*/
|
|
529
529
|
overscroll: [{
|
|
530
|
-
overscroll:
|
|
530
|
+
overscroll: A()
|
|
531
531
|
}],
|
|
532
532
|
/**
|
|
533
533
|
* Overscroll Behavior X
|
|
534
534
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
535
535
|
*/
|
|
536
536
|
"overscroll-x": [{
|
|
537
|
-
"overscroll-x":
|
|
537
|
+
"overscroll-x": A()
|
|
538
538
|
}],
|
|
539
539
|
/**
|
|
540
540
|
* Overscroll Behavior Y
|
|
541
541
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
542
542
|
*/
|
|
543
543
|
"overscroll-y": [{
|
|
544
|
-
"overscroll-y":
|
|
544
|
+
"overscroll-y": A()
|
|
545
545
|
}],
|
|
546
546
|
/**
|
|
547
547
|
* Position
|
|
@@ -553,63 +553,63 @@ const $ = (e) => {
|
|
|
553
553
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
554
554
|
*/
|
|
555
555
|
inset: [{
|
|
556
|
-
inset:
|
|
556
|
+
inset: D()
|
|
557
557
|
}],
|
|
558
558
|
/**
|
|
559
559
|
* Right / Left
|
|
560
560
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
561
561
|
*/
|
|
562
562
|
"inset-x": [{
|
|
563
|
-
"inset-x":
|
|
563
|
+
"inset-x": D()
|
|
564
564
|
}],
|
|
565
565
|
/**
|
|
566
566
|
* Top / Bottom
|
|
567
567
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
568
568
|
*/
|
|
569
569
|
"inset-y": [{
|
|
570
|
-
"inset-y":
|
|
570
|
+
"inset-y": D()
|
|
571
571
|
}],
|
|
572
572
|
/**
|
|
573
573
|
* Start
|
|
574
574
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
575
575
|
*/
|
|
576
576
|
start: [{
|
|
577
|
-
start:
|
|
577
|
+
start: D()
|
|
578
578
|
}],
|
|
579
579
|
/**
|
|
580
580
|
* End
|
|
581
581
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
582
582
|
*/
|
|
583
583
|
end: [{
|
|
584
|
-
end:
|
|
584
|
+
end: D()
|
|
585
585
|
}],
|
|
586
586
|
/**
|
|
587
587
|
* Top
|
|
588
588
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
589
589
|
*/
|
|
590
590
|
top: [{
|
|
591
|
-
top:
|
|
591
|
+
top: D()
|
|
592
592
|
}],
|
|
593
593
|
/**
|
|
594
594
|
* Right
|
|
595
595
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
596
596
|
*/
|
|
597
597
|
right: [{
|
|
598
|
-
right:
|
|
598
|
+
right: D()
|
|
599
599
|
}],
|
|
600
600
|
/**
|
|
601
601
|
* Bottom
|
|
602
602
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
603
603
|
*/
|
|
604
604
|
bottom: [{
|
|
605
|
-
bottom:
|
|
605
|
+
bottom: D()
|
|
606
606
|
}],
|
|
607
607
|
/**
|
|
608
608
|
* Left
|
|
609
609
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
610
610
|
*/
|
|
611
611
|
left: [{
|
|
612
|
-
left:
|
|
612
|
+
left: D()
|
|
613
613
|
}],
|
|
614
614
|
/**
|
|
615
615
|
* Visibility
|
|
@@ -621,7 +621,7 @@ const $ = (e) => {
|
|
|
621
621
|
* @see https://tailwindcss.com/docs/z-index
|
|
622
622
|
*/
|
|
623
623
|
z: [{
|
|
624
|
-
z: [
|
|
624
|
+
z: [Z, "auto", g, p]
|
|
625
625
|
}],
|
|
626
626
|
// ------------------------
|
|
627
627
|
// --- Flexbox and Grid ---
|
|
@@ -631,7 +631,7 @@ const $ = (e) => {
|
|
|
631
631
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
632
632
|
*/
|
|
633
633
|
basis: [{
|
|
634
|
-
basis: [
|
|
634
|
+
basis: [oe, "full", "auto", i, ...y()]
|
|
635
635
|
}],
|
|
636
636
|
/**
|
|
637
637
|
* Flex Direction
|
|
@@ -652,84 +652,84 @@ const $ = (e) => {
|
|
|
652
652
|
* @see https://tailwindcss.com/docs/flex
|
|
653
653
|
*/
|
|
654
654
|
flex: [{
|
|
655
|
-
flex: [
|
|
655
|
+
flex: [C, oe, "auto", "initial", "none", p]
|
|
656
656
|
}],
|
|
657
657
|
/**
|
|
658
658
|
* Flex Grow
|
|
659
659
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
660
660
|
*/
|
|
661
661
|
grow: [{
|
|
662
|
-
grow: ["",
|
|
662
|
+
grow: ["", C, g, p]
|
|
663
663
|
}],
|
|
664
664
|
/**
|
|
665
665
|
* Flex Shrink
|
|
666
666
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
667
667
|
*/
|
|
668
668
|
shrink: [{
|
|
669
|
-
shrink: ["",
|
|
669
|
+
shrink: ["", C, g, p]
|
|
670
670
|
}],
|
|
671
671
|
/**
|
|
672
672
|
* Order
|
|
673
673
|
* @see https://tailwindcss.com/docs/order
|
|
674
674
|
*/
|
|
675
675
|
order: [{
|
|
676
|
-
order: [
|
|
676
|
+
order: [Z, "first", "last", "none", g, p]
|
|
677
677
|
}],
|
|
678
678
|
/**
|
|
679
679
|
* Grid Template Columns
|
|
680
680
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
681
681
|
*/
|
|
682
682
|
"grid-cols": [{
|
|
683
|
-
"grid-cols":
|
|
683
|
+
"grid-cols": q()
|
|
684
684
|
}],
|
|
685
685
|
/**
|
|
686
686
|
* Grid Column Start / End
|
|
687
687
|
* @see https://tailwindcss.com/docs/grid-column
|
|
688
688
|
*/
|
|
689
689
|
"col-start-end": [{
|
|
690
|
-
col:
|
|
690
|
+
col: te()
|
|
691
691
|
}],
|
|
692
692
|
/**
|
|
693
693
|
* Grid Column Start
|
|
694
694
|
* @see https://tailwindcss.com/docs/grid-column
|
|
695
695
|
*/
|
|
696
696
|
"col-start": [{
|
|
697
|
-
"col-start":
|
|
697
|
+
"col-start": X()
|
|
698
698
|
}],
|
|
699
699
|
/**
|
|
700
700
|
* Grid Column End
|
|
701
701
|
* @see https://tailwindcss.com/docs/grid-column
|
|
702
702
|
*/
|
|
703
703
|
"col-end": [{
|
|
704
|
-
"col-end":
|
|
704
|
+
"col-end": X()
|
|
705
705
|
}],
|
|
706
706
|
/**
|
|
707
707
|
* Grid Template Rows
|
|
708
708
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
709
709
|
*/
|
|
710
710
|
"grid-rows": [{
|
|
711
|
-
"grid-rows":
|
|
711
|
+
"grid-rows": q()
|
|
712
712
|
}],
|
|
713
713
|
/**
|
|
714
714
|
* Grid Row Start / End
|
|
715
715
|
* @see https://tailwindcss.com/docs/grid-row
|
|
716
716
|
*/
|
|
717
717
|
"row-start-end": [{
|
|
718
|
-
row:
|
|
718
|
+
row: te()
|
|
719
719
|
}],
|
|
720
720
|
/**
|
|
721
721
|
* Grid Row Start
|
|
722
722
|
* @see https://tailwindcss.com/docs/grid-row
|
|
723
723
|
*/
|
|
724
724
|
"row-start": [{
|
|
725
|
-
"row-start":
|
|
725
|
+
"row-start": X()
|
|
726
726
|
}],
|
|
727
727
|
/**
|
|
728
728
|
* Grid Row End
|
|
729
729
|
* @see https://tailwindcss.com/docs/grid-row
|
|
730
730
|
*/
|
|
731
731
|
"row-end": [{
|
|
732
|
-
"row-end":
|
|
732
|
+
"row-end": X()
|
|
733
733
|
}],
|
|
734
734
|
/**
|
|
735
735
|
* Grid Auto Flow
|
|
@@ -743,14 +743,14 @@ const $ = (e) => {
|
|
|
743
743
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
744
744
|
*/
|
|
745
745
|
"auto-cols": [{
|
|
746
|
-
"auto-cols":
|
|
746
|
+
"auto-cols": re()
|
|
747
747
|
}],
|
|
748
748
|
/**
|
|
749
749
|
* Grid Auto Rows
|
|
750
750
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
751
751
|
*/
|
|
752
752
|
"auto-rows": [{
|
|
753
|
-
"auto-rows":
|
|
753
|
+
"auto-rows": re()
|
|
754
754
|
}],
|
|
755
755
|
/**
|
|
756
756
|
* Gap
|
|
@@ -778,35 +778,35 @@ const $ = (e) => {
|
|
|
778
778
|
* @see https://tailwindcss.com/docs/justify-content
|
|
779
779
|
*/
|
|
780
780
|
"justify-content": [{
|
|
781
|
-
justify: [...
|
|
781
|
+
justify: [...Q(), "normal"]
|
|
782
782
|
}],
|
|
783
783
|
/**
|
|
784
784
|
* Justify Items
|
|
785
785
|
* @see https://tailwindcss.com/docs/justify-items
|
|
786
786
|
*/
|
|
787
787
|
"justify-items": [{
|
|
788
|
-
"justify-items": [...
|
|
788
|
+
"justify-items": [...O(), "normal"]
|
|
789
789
|
}],
|
|
790
790
|
/**
|
|
791
791
|
* Justify Self
|
|
792
792
|
* @see https://tailwindcss.com/docs/justify-self
|
|
793
793
|
*/
|
|
794
794
|
"justify-self": [{
|
|
795
|
-
"justify-self": ["auto", ...
|
|
795
|
+
"justify-self": ["auto", ...O()]
|
|
796
796
|
}],
|
|
797
797
|
/**
|
|
798
798
|
* Align Content
|
|
799
799
|
* @see https://tailwindcss.com/docs/align-content
|
|
800
800
|
*/
|
|
801
801
|
"align-content": [{
|
|
802
|
-
content: ["normal", ...
|
|
802
|
+
content: ["normal", ...Q()]
|
|
803
803
|
}],
|
|
804
804
|
/**
|
|
805
805
|
* Align Items
|
|
806
806
|
* @see https://tailwindcss.com/docs/align-items
|
|
807
807
|
*/
|
|
808
808
|
"align-items": [{
|
|
809
|
-
items: [...
|
|
809
|
+
items: [...O(), {
|
|
810
810
|
baseline: ["", "last"]
|
|
811
811
|
}]
|
|
812
812
|
}],
|
|
@@ -815,7 +815,7 @@ const $ = (e) => {
|
|
|
815
815
|
* @see https://tailwindcss.com/docs/align-self
|
|
816
816
|
*/
|
|
817
817
|
"align-self": [{
|
|
818
|
-
self: ["auto", ...
|
|
818
|
+
self: ["auto", ...O(), {
|
|
819
819
|
baseline: ["", "last"]
|
|
820
820
|
}]
|
|
821
821
|
}],
|
|
@@ -824,21 +824,21 @@ const $ = (e) => {
|
|
|
824
824
|
* @see https://tailwindcss.com/docs/place-content
|
|
825
825
|
*/
|
|
826
826
|
"place-content": [{
|
|
827
|
-
"place-content":
|
|
827
|
+
"place-content": Q()
|
|
828
828
|
}],
|
|
829
829
|
/**
|
|
830
830
|
* Place Items
|
|
831
831
|
* @see https://tailwindcss.com/docs/place-items
|
|
832
832
|
*/
|
|
833
833
|
"place-items": [{
|
|
834
|
-
"place-items": [...
|
|
834
|
+
"place-items": [...O(), "baseline"]
|
|
835
835
|
}],
|
|
836
836
|
/**
|
|
837
837
|
* Place Self
|
|
838
838
|
* @see https://tailwindcss.com/docs/place-self
|
|
839
839
|
*/
|
|
840
840
|
"place-self": [{
|
|
841
|
-
"place-self": ["auto", ...
|
|
841
|
+
"place-self": ["auto", ...O()]
|
|
842
842
|
}],
|
|
843
843
|
// Spacing
|
|
844
844
|
/**
|
|
@@ -909,63 +909,63 @@ const $ = (e) => {
|
|
|
909
909
|
* @see https://tailwindcss.com/docs/margin
|
|
910
910
|
*/
|
|
911
911
|
m: [{
|
|
912
|
-
m:
|
|
912
|
+
m: $()
|
|
913
913
|
}],
|
|
914
914
|
/**
|
|
915
915
|
* Margin X
|
|
916
916
|
* @see https://tailwindcss.com/docs/margin
|
|
917
917
|
*/
|
|
918
918
|
mx: [{
|
|
919
|
-
mx:
|
|
919
|
+
mx: $()
|
|
920
920
|
}],
|
|
921
921
|
/**
|
|
922
922
|
* Margin Y
|
|
923
923
|
* @see https://tailwindcss.com/docs/margin
|
|
924
924
|
*/
|
|
925
925
|
my: [{
|
|
926
|
-
my:
|
|
926
|
+
my: $()
|
|
927
927
|
}],
|
|
928
928
|
/**
|
|
929
929
|
* Margin Start
|
|
930
930
|
* @see https://tailwindcss.com/docs/margin
|
|
931
931
|
*/
|
|
932
932
|
ms: [{
|
|
933
|
-
ms:
|
|
933
|
+
ms: $()
|
|
934
934
|
}],
|
|
935
935
|
/**
|
|
936
936
|
* Margin End
|
|
937
937
|
* @see https://tailwindcss.com/docs/margin
|
|
938
938
|
*/
|
|
939
939
|
me: [{
|
|
940
|
-
me:
|
|
940
|
+
me: $()
|
|
941
941
|
}],
|
|
942
942
|
/**
|
|
943
943
|
* Margin Top
|
|
944
944
|
* @see https://tailwindcss.com/docs/margin
|
|
945
945
|
*/
|
|
946
946
|
mt: [{
|
|
947
|
-
mt:
|
|
947
|
+
mt: $()
|
|
948
948
|
}],
|
|
949
949
|
/**
|
|
950
950
|
* Margin Right
|
|
951
951
|
* @see https://tailwindcss.com/docs/margin
|
|
952
952
|
*/
|
|
953
953
|
mr: [{
|
|
954
|
-
mr:
|
|
954
|
+
mr: $()
|
|
955
955
|
}],
|
|
956
956
|
/**
|
|
957
957
|
* Margin Bottom
|
|
958
958
|
* @see https://tailwindcss.com/docs/margin
|
|
959
959
|
*/
|
|
960
960
|
mb: [{
|
|
961
|
-
mb:
|
|
961
|
+
mb: $()
|
|
962
962
|
}],
|
|
963
963
|
/**
|
|
964
964
|
* Margin Left
|
|
965
965
|
* @see https://tailwindcss.com/docs/margin
|
|
966
966
|
*/
|
|
967
967
|
ml: [{
|
|
968
|
-
ml:
|
|
968
|
+
ml: $()
|
|
969
969
|
}],
|
|
970
970
|
/**
|
|
971
971
|
* Space Between X
|
|
@@ -999,14 +999,14 @@ const $ = (e) => {
|
|
|
999
999
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1000
1000
|
*/
|
|
1001
1001
|
size: [{
|
|
1002
|
-
size:
|
|
1002
|
+
size: W()
|
|
1003
1003
|
}],
|
|
1004
1004
|
/**
|
|
1005
1005
|
* Width
|
|
1006
1006
|
* @see https://tailwindcss.com/docs/width
|
|
1007
1007
|
*/
|
|
1008
1008
|
w: [{
|
|
1009
|
-
w: [i, "screen", ...
|
|
1009
|
+
w: [i, "screen", ...W()]
|
|
1010
1010
|
}],
|
|
1011
1011
|
/**
|
|
1012
1012
|
* Min-Width
|
|
@@ -1018,7 +1018,7 @@ const $ = (e) => {
|
|
|
1018
1018
|
"screen",
|
|
1019
1019
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1020
1020
|
"none",
|
|
1021
|
-
...
|
|
1021
|
+
...W()
|
|
1022
1022
|
]
|
|
1023
1023
|
}],
|
|
1024
1024
|
/**
|
|
@@ -1036,7 +1036,7 @@ const $ = (e) => {
|
|
|
1036
1036
|
{
|
|
1037
1037
|
screen: [l]
|
|
1038
1038
|
},
|
|
1039
|
-
...
|
|
1039
|
+
...W()
|
|
1040
1040
|
]
|
|
1041
1041
|
}],
|
|
1042
1042
|
/**
|
|
@@ -1044,21 +1044,21 @@ const $ = (e) => {
|
|
|
1044
1044
|
* @see https://tailwindcss.com/docs/height
|
|
1045
1045
|
*/
|
|
1046
1046
|
h: [{
|
|
1047
|
-
h: ["screen", "lh", ...
|
|
1047
|
+
h: ["screen", "lh", ...W()]
|
|
1048
1048
|
}],
|
|
1049
1049
|
/**
|
|
1050
1050
|
* Min-Height
|
|
1051
1051
|
* @see https://tailwindcss.com/docs/min-height
|
|
1052
1052
|
*/
|
|
1053
1053
|
"min-h": [{
|
|
1054
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1054
|
+
"min-h": ["screen", "lh", "none", ...W()]
|
|
1055
1055
|
}],
|
|
1056
1056
|
/**
|
|
1057
1057
|
* Max-Height
|
|
1058
1058
|
* @see https://tailwindcss.com/docs/max-height
|
|
1059
1059
|
*/
|
|
1060
1060
|
"max-h": [{
|
|
1061
|
-
"max-h": ["screen", "lh", ...
|
|
1061
|
+
"max-h": ["screen", "lh", ...W()]
|
|
1062
1062
|
}],
|
|
1063
1063
|
// ------------------
|
|
1064
1064
|
// --- Typography ---
|
|
@@ -1068,7 +1068,7 @@ const $ = (e) => {
|
|
|
1068
1068
|
* @see https://tailwindcss.com/docs/font-size
|
|
1069
1069
|
*/
|
|
1070
1070
|
"font-size": [{
|
|
1071
|
-
text: ["base",
|
|
1071
|
+
text: ["base", r, ie, J]
|
|
1072
1072
|
}],
|
|
1073
1073
|
/**
|
|
1074
1074
|
* Font Smoothing
|
|
@@ -1085,21 +1085,21 @@ const $ = (e) => {
|
|
|
1085
1085
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1086
1086
|
*/
|
|
1087
1087
|
"font-weight": [{
|
|
1088
|
-
font: [o, g,
|
|
1088
|
+
font: [o, g, Ne]
|
|
1089
1089
|
}],
|
|
1090
1090
|
/**
|
|
1091
1091
|
* Font Stretch
|
|
1092
1092
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1093
1093
|
*/
|
|
1094
1094
|
"font-stretch": [{
|
|
1095
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1095
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ke, p]
|
|
1096
1096
|
}],
|
|
1097
1097
|
/**
|
|
1098
1098
|
* Font Family
|
|
1099
1099
|
* @see https://tailwindcss.com/docs/font-family
|
|
1100
1100
|
*/
|
|
1101
1101
|
"font-family": [{
|
|
1102
|
-
font: [
|
|
1102
|
+
font: [ar, p, t]
|
|
1103
1103
|
}],
|
|
1104
1104
|
/**
|
|
1105
1105
|
* Font Variant Numeric
|
|
@@ -1136,14 +1136,14 @@ const $ = (e) => {
|
|
|
1136
1136
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1137
1137
|
*/
|
|
1138
1138
|
tracking: [{
|
|
1139
|
-
tracking: [
|
|
1139
|
+
tracking: [a, g, p]
|
|
1140
1140
|
}],
|
|
1141
1141
|
/**
|
|
1142
1142
|
* Line Clamp
|
|
1143
1143
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1144
1144
|
*/
|
|
1145
1145
|
"line-clamp": [{
|
|
1146
|
-
"line-clamp": [
|
|
1146
|
+
"line-clamp": [C, "none", g, Ne]
|
|
1147
1147
|
}],
|
|
1148
1148
|
/**
|
|
1149
1149
|
* Line Height
|
|
@@ -1209,14 +1209,14 @@ const $ = (e) => {
|
|
|
1209
1209
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1210
1210
|
*/
|
|
1211
1211
|
"text-decoration-style": [{
|
|
1212
|
-
decoration: [...
|
|
1212
|
+
decoration: [...de(), "wavy"]
|
|
1213
1213
|
}],
|
|
1214
1214
|
/**
|
|
1215
1215
|
* Text Decoration Thickness
|
|
1216
1216
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1217
1217
|
*/
|
|
1218
1218
|
"text-decoration-thickness": [{
|
|
1219
|
-
decoration: [
|
|
1219
|
+
decoration: [C, "from-font", "auto", g, J]
|
|
1220
1220
|
}],
|
|
1221
1221
|
/**
|
|
1222
1222
|
* Text Decoration Color
|
|
@@ -1230,7 +1230,7 @@ const $ = (e) => {
|
|
|
1230
1230
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1231
1231
|
*/
|
|
1232
1232
|
"underline-offset": [{
|
|
1233
|
-
"underline-offset": [
|
|
1233
|
+
"underline-offset": [C, "auto", g, p]
|
|
1234
1234
|
}],
|
|
1235
1235
|
/**
|
|
1236
1236
|
* Text Transform
|
|
@@ -1327,21 +1327,21 @@ const $ = (e) => {
|
|
|
1327
1327
|
* @see https://tailwindcss.com/docs/background-position
|
|
1328
1328
|
*/
|
|
1329
1329
|
"bg-position": [{
|
|
1330
|
-
bg:
|
|
1330
|
+
bg: I()
|
|
1331
1331
|
}],
|
|
1332
1332
|
/**
|
|
1333
1333
|
* Background Repeat
|
|
1334
1334
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1335
1335
|
*/
|
|
1336
1336
|
"bg-repeat": [{
|
|
1337
|
-
bg:
|
|
1337
|
+
bg: V()
|
|
1338
1338
|
}],
|
|
1339
1339
|
/**
|
|
1340
1340
|
* Background Size
|
|
1341
1341
|
* @see https://tailwindcss.com/docs/background-size
|
|
1342
1342
|
*/
|
|
1343
1343
|
"bg-size": [{
|
|
1344
|
-
bg:
|
|
1344
|
+
bg: H()
|
|
1345
1345
|
}],
|
|
1346
1346
|
/**
|
|
1347
1347
|
* Background Image
|
|
@@ -1351,10 +1351,10 @@ const $ = (e) => {
|
|
|
1351
1351
|
bg: ["none", {
|
|
1352
1352
|
linear: [{
|
|
1353
1353
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1354
|
-
},
|
|
1354
|
+
}, Z, g, p],
|
|
1355
1355
|
radial: ["", g, p],
|
|
1356
|
-
conic: [
|
|
1357
|
-
},
|
|
1356
|
+
conic: [Z, g, p]
|
|
1357
|
+
}, ir, nr]
|
|
1358
1358
|
}],
|
|
1359
1359
|
/**
|
|
1360
1360
|
* Background Color
|
|
@@ -1368,21 +1368,21 @@ const $ = (e) => {
|
|
|
1368
1368
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1369
1369
|
*/
|
|
1370
1370
|
"gradient-from-pos": [{
|
|
1371
|
-
from:
|
|
1371
|
+
from: xe()
|
|
1372
1372
|
}],
|
|
1373
1373
|
/**
|
|
1374
1374
|
* Gradient Color Stops Via Position
|
|
1375
1375
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1376
1376
|
*/
|
|
1377
1377
|
"gradient-via-pos": [{
|
|
1378
|
-
via:
|
|
1378
|
+
via: xe()
|
|
1379
1379
|
}],
|
|
1380
1380
|
/**
|
|
1381
1381
|
* Gradient Color Stops To Position
|
|
1382
1382
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1383
1383
|
*/
|
|
1384
1384
|
"gradient-to-pos": [{
|
|
1385
|
-
to:
|
|
1385
|
+
to: xe()
|
|
1386
1386
|
}],
|
|
1387
1387
|
/**
|
|
1388
1388
|
* Gradient Color Stops From
|
|
@@ -1413,175 +1413,175 @@ const $ = (e) => {
|
|
|
1413
1413
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1414
1414
|
*/
|
|
1415
1415
|
rounded: [{
|
|
1416
|
-
rounded:
|
|
1416
|
+
rounded: _()
|
|
1417
1417
|
}],
|
|
1418
1418
|
/**
|
|
1419
1419
|
* Border Radius Start
|
|
1420
1420
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1421
1421
|
*/
|
|
1422
1422
|
"rounded-s": [{
|
|
1423
|
-
"rounded-s":
|
|
1423
|
+
"rounded-s": _()
|
|
1424
1424
|
}],
|
|
1425
1425
|
/**
|
|
1426
1426
|
* Border Radius End
|
|
1427
1427
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1428
1428
|
*/
|
|
1429
1429
|
"rounded-e": [{
|
|
1430
|
-
"rounded-e":
|
|
1430
|
+
"rounded-e": _()
|
|
1431
1431
|
}],
|
|
1432
1432
|
/**
|
|
1433
1433
|
* Border Radius Top
|
|
1434
1434
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1435
1435
|
*/
|
|
1436
1436
|
"rounded-t": [{
|
|
1437
|
-
"rounded-t":
|
|
1437
|
+
"rounded-t": _()
|
|
1438
1438
|
}],
|
|
1439
1439
|
/**
|
|
1440
1440
|
* Border Radius Right
|
|
1441
1441
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1442
1442
|
*/
|
|
1443
1443
|
"rounded-r": [{
|
|
1444
|
-
"rounded-r":
|
|
1444
|
+
"rounded-r": _()
|
|
1445
1445
|
}],
|
|
1446
1446
|
/**
|
|
1447
1447
|
* Border Radius Bottom
|
|
1448
1448
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1449
1449
|
*/
|
|
1450
1450
|
"rounded-b": [{
|
|
1451
|
-
"rounded-b":
|
|
1451
|
+
"rounded-b": _()
|
|
1452
1452
|
}],
|
|
1453
1453
|
/**
|
|
1454
1454
|
* Border Radius Left
|
|
1455
1455
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1456
1456
|
*/
|
|
1457
1457
|
"rounded-l": [{
|
|
1458
|
-
"rounded-l":
|
|
1458
|
+
"rounded-l": _()
|
|
1459
1459
|
}],
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Border Radius Start Start
|
|
1462
1462
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1463
1463
|
*/
|
|
1464
1464
|
"rounded-ss": [{
|
|
1465
|
-
"rounded-ss":
|
|
1465
|
+
"rounded-ss": _()
|
|
1466
1466
|
}],
|
|
1467
1467
|
/**
|
|
1468
1468
|
* Border Radius Start End
|
|
1469
1469
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1470
1470
|
*/
|
|
1471
1471
|
"rounded-se": [{
|
|
1472
|
-
"rounded-se":
|
|
1472
|
+
"rounded-se": _()
|
|
1473
1473
|
}],
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Border Radius End End
|
|
1476
1476
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1477
1477
|
*/
|
|
1478
1478
|
"rounded-ee": [{
|
|
1479
|
-
"rounded-ee":
|
|
1479
|
+
"rounded-ee": _()
|
|
1480
1480
|
}],
|
|
1481
1481
|
/**
|
|
1482
1482
|
* Border Radius End Start
|
|
1483
1483
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1484
1484
|
*/
|
|
1485
1485
|
"rounded-es": [{
|
|
1486
|
-
"rounded-es":
|
|
1486
|
+
"rounded-es": _()
|
|
1487
1487
|
}],
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Border Radius Top Left
|
|
1490
1490
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1491
1491
|
*/
|
|
1492
1492
|
"rounded-tl": [{
|
|
1493
|
-
"rounded-tl":
|
|
1493
|
+
"rounded-tl": _()
|
|
1494
1494
|
}],
|
|
1495
1495
|
/**
|
|
1496
1496
|
* Border Radius Top Right
|
|
1497
1497
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1498
1498
|
*/
|
|
1499
1499
|
"rounded-tr": [{
|
|
1500
|
-
"rounded-tr":
|
|
1500
|
+
"rounded-tr": _()
|
|
1501
1501
|
}],
|
|
1502
1502
|
/**
|
|
1503
1503
|
* Border Radius Bottom Right
|
|
1504
1504
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1505
1505
|
*/
|
|
1506
1506
|
"rounded-br": [{
|
|
1507
|
-
"rounded-br":
|
|
1507
|
+
"rounded-br": _()
|
|
1508
1508
|
}],
|
|
1509
1509
|
/**
|
|
1510
1510
|
* Border Radius Bottom Left
|
|
1511
1511
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1512
1512
|
*/
|
|
1513
1513
|
"rounded-bl": [{
|
|
1514
|
-
"rounded-bl":
|
|
1514
|
+
"rounded-bl": _()
|
|
1515
1515
|
}],
|
|
1516
1516
|
/**
|
|
1517
1517
|
* Border Width
|
|
1518
1518
|
* @see https://tailwindcss.com/docs/border-width
|
|
1519
1519
|
*/
|
|
1520
1520
|
"border-w": [{
|
|
1521
|
-
border:
|
|
1521
|
+
border: G()
|
|
1522
1522
|
}],
|
|
1523
1523
|
/**
|
|
1524
1524
|
* Border Width X
|
|
1525
1525
|
* @see https://tailwindcss.com/docs/border-width
|
|
1526
1526
|
*/
|
|
1527
1527
|
"border-w-x": [{
|
|
1528
|
-
"border-x":
|
|
1528
|
+
"border-x": G()
|
|
1529
1529
|
}],
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Border Width Y
|
|
1532
1532
|
* @see https://tailwindcss.com/docs/border-width
|
|
1533
1533
|
*/
|
|
1534
1534
|
"border-w-y": [{
|
|
1535
|
-
"border-y":
|
|
1535
|
+
"border-y": G()
|
|
1536
1536
|
}],
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Border Width Start
|
|
1539
1539
|
* @see https://tailwindcss.com/docs/border-width
|
|
1540
1540
|
*/
|
|
1541
1541
|
"border-w-s": [{
|
|
1542
|
-
"border-s":
|
|
1542
|
+
"border-s": G()
|
|
1543
1543
|
}],
|
|
1544
1544
|
/**
|
|
1545
1545
|
* Border Width End
|
|
1546
1546
|
* @see https://tailwindcss.com/docs/border-width
|
|
1547
1547
|
*/
|
|
1548
1548
|
"border-w-e": [{
|
|
1549
|
-
"border-e":
|
|
1549
|
+
"border-e": G()
|
|
1550
1550
|
}],
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Border Width Top
|
|
1553
1553
|
* @see https://tailwindcss.com/docs/border-width
|
|
1554
1554
|
*/
|
|
1555
1555
|
"border-w-t": [{
|
|
1556
|
-
"border-t":
|
|
1556
|
+
"border-t": G()
|
|
1557
1557
|
}],
|
|
1558
1558
|
/**
|
|
1559
1559
|
* Border Width Right
|
|
1560
1560
|
* @see https://tailwindcss.com/docs/border-width
|
|
1561
1561
|
*/
|
|
1562
1562
|
"border-w-r": [{
|
|
1563
|
-
"border-r":
|
|
1563
|
+
"border-r": G()
|
|
1564
1564
|
}],
|
|
1565
1565
|
/**
|
|
1566
1566
|
* Border Width Bottom
|
|
1567
1567
|
* @see https://tailwindcss.com/docs/border-width
|
|
1568
1568
|
*/
|
|
1569
1569
|
"border-w-b": [{
|
|
1570
|
-
"border-b":
|
|
1570
|
+
"border-b": G()
|
|
1571
1571
|
}],
|
|
1572
1572
|
/**
|
|
1573
1573
|
* Border Width Left
|
|
1574
1574
|
* @see https://tailwindcss.com/docs/border-width
|
|
1575
1575
|
*/
|
|
1576
1576
|
"border-w-l": [{
|
|
1577
|
-
"border-l":
|
|
1577
|
+
"border-l": G()
|
|
1578
1578
|
}],
|
|
1579
1579
|
/**
|
|
1580
1580
|
* Divide Width X
|
|
1581
1581
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1582
1582
|
*/
|
|
1583
1583
|
"divide-x": [{
|
|
1584
|
-
"divide-x":
|
|
1584
|
+
"divide-x": G()
|
|
1585
1585
|
}],
|
|
1586
1586
|
/**
|
|
1587
1587
|
* Divide Width X Reverse
|
|
@@ -1593,7 +1593,7 @@ const $ = (e) => {
|
|
|
1593
1593
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1594
1594
|
*/
|
|
1595
1595
|
"divide-y": [{
|
|
1596
|
-
"divide-y":
|
|
1596
|
+
"divide-y": G()
|
|
1597
1597
|
}],
|
|
1598
1598
|
/**
|
|
1599
1599
|
* Divide Width Y Reverse
|
|
@@ -1605,14 +1605,14 @@ const $ = (e) => {
|
|
|
1605
1605
|
* @see https://tailwindcss.com/docs/border-style
|
|
1606
1606
|
*/
|
|
1607
1607
|
"border-style": [{
|
|
1608
|
-
border: [...
|
|
1608
|
+
border: [...de(), "hidden", "none"]
|
|
1609
1609
|
}],
|
|
1610
1610
|
/**
|
|
1611
1611
|
* Divide Style
|
|
1612
1612
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1613
1613
|
*/
|
|
1614
1614
|
"divide-style": [{
|
|
1615
|
-
divide: [...
|
|
1615
|
+
divide: [...de(), "hidden", "none"]
|
|
1616
1616
|
}],
|
|
1617
1617
|
/**
|
|
1618
1618
|
* Border Color
|
|
@@ -1689,21 +1689,21 @@ const $ = (e) => {
|
|
|
1689
1689
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1690
1690
|
*/
|
|
1691
1691
|
"outline-style": [{
|
|
1692
|
-
outline: [...
|
|
1692
|
+
outline: [...de(), "none", "hidden"]
|
|
1693
1693
|
}],
|
|
1694
1694
|
/**
|
|
1695
1695
|
* Outline Offset
|
|
1696
1696
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1697
1697
|
*/
|
|
1698
1698
|
"outline-offset": [{
|
|
1699
|
-
"outline-offset": [
|
|
1699
|
+
"outline-offset": [C, g, p]
|
|
1700
1700
|
}],
|
|
1701
1701
|
/**
|
|
1702
1702
|
* Outline Width
|
|
1703
1703
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1704
1704
|
*/
|
|
1705
1705
|
"outline-w": [{
|
|
1706
|
-
outline: ["",
|
|
1706
|
+
outline: ["", C, ie, J]
|
|
1707
1707
|
}],
|
|
1708
1708
|
/**
|
|
1709
1709
|
* Outline Color
|
|
@@ -1725,8 +1725,8 @@ const $ = (e) => {
|
|
|
1725
1725
|
"",
|
|
1726
1726
|
"none",
|
|
1727
1727
|
m,
|
|
1728
|
-
|
|
1729
|
-
|
|
1728
|
+
ge,
|
|
1729
|
+
pe
|
|
1730
1730
|
]
|
|
1731
1731
|
}],
|
|
1732
1732
|
/**
|
|
@@ -1741,7 +1741,7 @@ const $ = (e) => {
|
|
|
1741
1741
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1742
1742
|
*/
|
|
1743
1743
|
"inset-shadow": [{
|
|
1744
|
-
"inset-shadow": ["none", u,
|
|
1744
|
+
"inset-shadow": ["none", u, ge, pe]
|
|
1745
1745
|
}],
|
|
1746
1746
|
/**
|
|
1747
1747
|
* Inset Box Shadow Color
|
|
@@ -1755,7 +1755,7 @@ const $ = (e) => {
|
|
|
1755
1755
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1756
1756
|
*/
|
|
1757
1757
|
"ring-w": [{
|
|
1758
|
-
ring:
|
|
1758
|
+
ring: G()
|
|
1759
1759
|
}],
|
|
1760
1760
|
/**
|
|
1761
1761
|
* Ring Width Inset
|
|
@@ -1778,7 +1778,7 @@ const $ = (e) => {
|
|
|
1778
1778
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1779
1779
|
*/
|
|
1780
1780
|
"ring-offset-w": [{
|
|
1781
|
-
"ring-offset": [
|
|
1781
|
+
"ring-offset": [C, J]
|
|
1782
1782
|
}],
|
|
1783
1783
|
/**
|
|
1784
1784
|
* Ring Offset Color
|
|
@@ -1794,7 +1794,7 @@ const $ = (e) => {
|
|
|
1794
1794
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1795
1795
|
*/
|
|
1796
1796
|
"inset-ring-w": [{
|
|
1797
|
-
"inset-ring":
|
|
1797
|
+
"inset-ring": G()
|
|
1798
1798
|
}],
|
|
1799
1799
|
/**
|
|
1800
1800
|
* Inset Ring Color
|
|
@@ -1808,7 +1808,7 @@ const $ = (e) => {
|
|
|
1808
1808
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1809
1809
|
*/
|
|
1810
1810
|
"text-shadow": [{
|
|
1811
|
-
"text-shadow": ["none", b,
|
|
1811
|
+
"text-shadow": ["none", b, ge, pe]
|
|
1812
1812
|
}],
|
|
1813
1813
|
/**
|
|
1814
1814
|
* Text Shadow Color
|
|
@@ -1822,21 +1822,21 @@ const $ = (e) => {
|
|
|
1822
1822
|
* @see https://tailwindcss.com/docs/opacity
|
|
1823
1823
|
*/
|
|
1824
1824
|
opacity: [{
|
|
1825
|
-
opacity: [
|
|
1825
|
+
opacity: [C, g, p]
|
|
1826
1826
|
}],
|
|
1827
1827
|
/**
|
|
1828
1828
|
* Mix Blend Mode
|
|
1829
1829
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1830
1830
|
*/
|
|
1831
1831
|
"mix-blend": [{
|
|
1832
|
-
"mix-blend": [
|
|
1832
|
+
"mix-blend": [...je(), "plus-darker", "plus-lighter"]
|
|
1833
1833
|
}],
|
|
1834
1834
|
/**
|
|
1835
1835
|
* Background Blend Mode
|
|
1836
1836
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1837
1837
|
*/
|
|
1838
1838
|
"bg-blend": [{
|
|
1839
|
-
"bg-blend":
|
|
1839
|
+
"bg-blend": je()
|
|
1840
1840
|
}],
|
|
1841
1841
|
/**
|
|
1842
1842
|
* Mask Clip
|
|
@@ -1857,7 +1857,7 @@ const $ = (e) => {
|
|
|
1857
1857
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1858
1858
|
*/
|
|
1859
1859
|
"mask-image-linear-pos": [{
|
|
1860
|
-
"mask-linear": [
|
|
1860
|
+
"mask-linear": [C]
|
|
1861
1861
|
}],
|
|
1862
1862
|
"mask-image-linear-from-pos": [{
|
|
1863
1863
|
"mask-linear-from": j()
|
|
@@ -1971,7 +1971,7 @@ const $ = (e) => {
|
|
|
1971
1971
|
"mask-radial-at": P()
|
|
1972
1972
|
}],
|
|
1973
1973
|
"mask-image-conic-pos": [{
|
|
1974
|
-
"mask-conic": [
|
|
1974
|
+
"mask-conic": [C]
|
|
1975
1975
|
}],
|
|
1976
1976
|
"mask-image-conic-from-pos": [{
|
|
1977
1977
|
"mask-conic-from": j()
|
|
@@ -2004,21 +2004,21 @@ const $ = (e) => {
|
|
|
2004
2004
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2005
2005
|
*/
|
|
2006
2006
|
"mask-position": [{
|
|
2007
|
-
mask:
|
|
2007
|
+
mask: I()
|
|
2008
2008
|
}],
|
|
2009
2009
|
/**
|
|
2010
2010
|
* Mask Repeat
|
|
2011
2011
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2012
2012
|
*/
|
|
2013
2013
|
"mask-repeat": [{
|
|
2014
|
-
mask:
|
|
2014
|
+
mask: V()
|
|
2015
2015
|
}],
|
|
2016
2016
|
/**
|
|
2017
2017
|
* Mask Size
|
|
2018
2018
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2019
2019
|
*/
|
|
2020
2020
|
"mask-size": [{
|
|
2021
|
-
mask:
|
|
2021
|
+
mask: H()
|
|
2022
2022
|
}],
|
|
2023
2023
|
/**
|
|
2024
2024
|
* Mask Type
|
|
@@ -2055,21 +2055,21 @@ const $ = (e) => {
|
|
|
2055
2055
|
* @see https://tailwindcss.com/docs/blur
|
|
2056
2056
|
*/
|
|
2057
2057
|
blur: [{
|
|
2058
|
-
blur:
|
|
2058
|
+
blur: $e()
|
|
2059
2059
|
}],
|
|
2060
2060
|
/**
|
|
2061
2061
|
* Brightness
|
|
2062
2062
|
* @see https://tailwindcss.com/docs/brightness
|
|
2063
2063
|
*/
|
|
2064
2064
|
brightness: [{
|
|
2065
|
-
brightness: [
|
|
2065
|
+
brightness: [C, g, p]
|
|
2066
2066
|
}],
|
|
2067
2067
|
/**
|
|
2068
2068
|
* Contrast
|
|
2069
2069
|
* @see https://tailwindcss.com/docs/contrast
|
|
2070
2070
|
*/
|
|
2071
2071
|
contrast: [{
|
|
2072
|
-
contrast: [
|
|
2072
|
+
contrast: [C, g, p]
|
|
2073
2073
|
}],
|
|
2074
2074
|
/**
|
|
2075
2075
|
* Drop Shadow
|
|
@@ -2081,8 +2081,8 @@ const $ = (e) => {
|
|
|
2081
2081
|
"",
|
|
2082
2082
|
"none",
|
|
2083
2083
|
M,
|
|
2084
|
-
|
|
2085
|
-
|
|
2084
|
+
ge,
|
|
2085
|
+
pe
|
|
2086
2086
|
]
|
|
2087
2087
|
}],
|
|
2088
2088
|
/**
|
|
@@ -2097,35 +2097,35 @@ const $ = (e) => {
|
|
|
2097
2097
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2098
2098
|
*/
|
|
2099
2099
|
grayscale: [{
|
|
2100
|
-
grayscale: ["",
|
|
2100
|
+
grayscale: ["", C, g, p]
|
|
2101
2101
|
}],
|
|
2102
2102
|
/**
|
|
2103
2103
|
* Hue Rotate
|
|
2104
2104
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2105
2105
|
*/
|
|
2106
2106
|
"hue-rotate": [{
|
|
2107
|
-
"hue-rotate": [
|
|
2107
|
+
"hue-rotate": [C, g, p]
|
|
2108
2108
|
}],
|
|
2109
2109
|
/**
|
|
2110
2110
|
* Invert
|
|
2111
2111
|
* @see https://tailwindcss.com/docs/invert
|
|
2112
2112
|
*/
|
|
2113
2113
|
invert: [{
|
|
2114
|
-
invert: ["",
|
|
2114
|
+
invert: ["", C, g, p]
|
|
2115
2115
|
}],
|
|
2116
2116
|
/**
|
|
2117
2117
|
* Saturate
|
|
2118
2118
|
* @see https://tailwindcss.com/docs/saturate
|
|
2119
2119
|
*/
|
|
2120
2120
|
saturate: [{
|
|
2121
|
-
saturate: [
|
|
2121
|
+
saturate: [C, g, p]
|
|
2122
2122
|
}],
|
|
2123
2123
|
/**
|
|
2124
2124
|
* Sepia
|
|
2125
2125
|
* @see https://tailwindcss.com/docs/sepia
|
|
2126
2126
|
*/
|
|
2127
2127
|
sepia: [{
|
|
2128
|
-
sepia: ["",
|
|
2128
|
+
sepia: ["", C, g, p]
|
|
2129
2129
|
}],
|
|
2130
2130
|
/**
|
|
2131
2131
|
* Backdrop Filter
|
|
@@ -2145,63 +2145,63 @@ const $ = (e) => {
|
|
|
2145
2145
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2146
2146
|
*/
|
|
2147
2147
|
"backdrop-blur": [{
|
|
2148
|
-
"backdrop-blur":
|
|
2148
|
+
"backdrop-blur": $e()
|
|
2149
2149
|
}],
|
|
2150
2150
|
/**
|
|
2151
2151
|
* Backdrop Brightness
|
|
2152
2152
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2153
2153
|
*/
|
|
2154
2154
|
"backdrop-brightness": [{
|
|
2155
|
-
"backdrop-brightness": [
|
|
2155
|
+
"backdrop-brightness": [C, g, p]
|
|
2156
2156
|
}],
|
|
2157
2157
|
/**
|
|
2158
2158
|
* Backdrop Contrast
|
|
2159
2159
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2160
2160
|
*/
|
|
2161
2161
|
"backdrop-contrast": [{
|
|
2162
|
-
"backdrop-contrast": [
|
|
2162
|
+
"backdrop-contrast": [C, g, p]
|
|
2163
2163
|
}],
|
|
2164
2164
|
/**
|
|
2165
2165
|
* Backdrop Grayscale
|
|
2166
2166
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2167
2167
|
*/
|
|
2168
2168
|
"backdrop-grayscale": [{
|
|
2169
|
-
"backdrop-grayscale": ["",
|
|
2169
|
+
"backdrop-grayscale": ["", C, g, p]
|
|
2170
2170
|
}],
|
|
2171
2171
|
/**
|
|
2172
2172
|
* Backdrop Hue Rotate
|
|
2173
2173
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2174
2174
|
*/
|
|
2175
2175
|
"backdrop-hue-rotate": [{
|
|
2176
|
-
"backdrop-hue-rotate": [
|
|
2176
|
+
"backdrop-hue-rotate": [C, g, p]
|
|
2177
2177
|
}],
|
|
2178
2178
|
/**
|
|
2179
2179
|
* Backdrop Invert
|
|
2180
2180
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2181
2181
|
*/
|
|
2182
2182
|
"backdrop-invert": [{
|
|
2183
|
-
"backdrop-invert": ["",
|
|
2183
|
+
"backdrop-invert": ["", C, g, p]
|
|
2184
2184
|
}],
|
|
2185
2185
|
/**
|
|
2186
2186
|
* Backdrop Opacity
|
|
2187
2187
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2188
2188
|
*/
|
|
2189
2189
|
"backdrop-opacity": [{
|
|
2190
|
-
"backdrop-opacity": [
|
|
2190
|
+
"backdrop-opacity": [C, g, p]
|
|
2191
2191
|
}],
|
|
2192
2192
|
/**
|
|
2193
2193
|
* Backdrop Saturate
|
|
2194
2194
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2195
2195
|
*/
|
|
2196
2196
|
"backdrop-saturate": [{
|
|
2197
|
-
"backdrop-saturate": [
|
|
2197
|
+
"backdrop-saturate": [C, g, p]
|
|
2198
2198
|
}],
|
|
2199
2199
|
/**
|
|
2200
2200
|
* Backdrop Sepia
|
|
2201
2201
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2202
2202
|
*/
|
|
2203
2203
|
"backdrop-sepia": [{
|
|
2204
|
-
"backdrop-sepia": ["",
|
|
2204
|
+
"backdrop-sepia": ["", C, g, p]
|
|
2205
2205
|
}],
|
|
2206
2206
|
// --------------
|
|
2207
2207
|
// --- Tables ---
|
|
@@ -2270,28 +2270,28 @@ const $ = (e) => {
|
|
|
2270
2270
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2271
2271
|
*/
|
|
2272
2272
|
duration: [{
|
|
2273
|
-
duration: [
|
|
2273
|
+
duration: [C, "initial", g, p]
|
|
2274
2274
|
}],
|
|
2275
2275
|
/**
|
|
2276
2276
|
* Transition Timing Function
|
|
2277
2277
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2278
2278
|
*/
|
|
2279
2279
|
ease: [{
|
|
2280
|
-
ease: ["linear", "initial",
|
|
2280
|
+
ease: ["linear", "initial", v, g, p]
|
|
2281
2281
|
}],
|
|
2282
2282
|
/**
|
|
2283
2283
|
* Transition Delay
|
|
2284
2284
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2285
2285
|
*/
|
|
2286
2286
|
delay: [{
|
|
2287
|
-
delay: [
|
|
2287
|
+
delay: [C, g, p]
|
|
2288
2288
|
}],
|
|
2289
2289
|
/**
|
|
2290
2290
|
* Animation
|
|
2291
2291
|
* @see https://tailwindcss.com/docs/animation
|
|
2292
2292
|
*/
|
|
2293
2293
|
animate: [{
|
|
2294
|
-
animate: ["none",
|
|
2294
|
+
animate: ["none", R, g, p]
|
|
2295
2295
|
}],
|
|
2296
2296
|
// ------------------
|
|
2297
2297
|
// --- Transforms ---
|
|
@@ -2308,7 +2308,7 @@ const $ = (e) => {
|
|
|
2308
2308
|
* @see https://tailwindcss.com/docs/perspective
|
|
2309
2309
|
*/
|
|
2310
2310
|
perspective: [{
|
|
2311
|
-
perspective: [
|
|
2311
|
+
perspective: [N, g, p]
|
|
2312
2312
|
}],
|
|
2313
2313
|
/**
|
|
2314
2314
|
* Perspective Origin
|
|
@@ -2322,56 +2322,56 @@ const $ = (e) => {
|
|
|
2322
2322
|
* @see https://tailwindcss.com/docs/rotate
|
|
2323
2323
|
*/
|
|
2324
2324
|
rotate: [{
|
|
2325
|
-
rotate:
|
|
2325
|
+
rotate: ue()
|
|
2326
2326
|
}],
|
|
2327
2327
|
/**
|
|
2328
2328
|
* Rotate X
|
|
2329
2329
|
* @see https://tailwindcss.com/docs/rotate
|
|
2330
2330
|
*/
|
|
2331
2331
|
"rotate-x": [{
|
|
2332
|
-
"rotate-x":
|
|
2332
|
+
"rotate-x": ue()
|
|
2333
2333
|
}],
|
|
2334
2334
|
/**
|
|
2335
2335
|
* Rotate Y
|
|
2336
2336
|
* @see https://tailwindcss.com/docs/rotate
|
|
2337
2337
|
*/
|
|
2338
2338
|
"rotate-y": [{
|
|
2339
|
-
"rotate-y":
|
|
2339
|
+
"rotate-y": ue()
|
|
2340
2340
|
}],
|
|
2341
2341
|
/**
|
|
2342
2342
|
* Rotate Z
|
|
2343
2343
|
* @see https://tailwindcss.com/docs/rotate
|
|
2344
2344
|
*/
|
|
2345
2345
|
"rotate-z": [{
|
|
2346
|
-
"rotate-z":
|
|
2346
|
+
"rotate-z": ue()
|
|
2347
2347
|
}],
|
|
2348
2348
|
/**
|
|
2349
2349
|
* Scale
|
|
2350
2350
|
* @see https://tailwindcss.com/docs/scale
|
|
2351
2351
|
*/
|
|
2352
2352
|
scale: [{
|
|
2353
|
-
scale:
|
|
2353
|
+
scale: me()
|
|
2354
2354
|
}],
|
|
2355
2355
|
/**
|
|
2356
2356
|
* Scale X
|
|
2357
2357
|
* @see https://tailwindcss.com/docs/scale
|
|
2358
2358
|
*/
|
|
2359
2359
|
"scale-x": [{
|
|
2360
|
-
"scale-x":
|
|
2360
|
+
"scale-x": me()
|
|
2361
2361
|
}],
|
|
2362
2362
|
/**
|
|
2363
2363
|
* Scale Y
|
|
2364
2364
|
* @see https://tailwindcss.com/docs/scale
|
|
2365
2365
|
*/
|
|
2366
2366
|
"scale-y": [{
|
|
2367
|
-
"scale-y":
|
|
2367
|
+
"scale-y": me()
|
|
2368
2368
|
}],
|
|
2369
2369
|
/**
|
|
2370
2370
|
* Scale Z
|
|
2371
2371
|
* @see https://tailwindcss.com/docs/scale
|
|
2372
2372
|
*/
|
|
2373
2373
|
"scale-z": [{
|
|
2374
|
-
"scale-z":
|
|
2374
|
+
"scale-z": me()
|
|
2375
2375
|
}],
|
|
2376
2376
|
/**
|
|
2377
2377
|
* Scale 3D
|
|
@@ -2383,21 +2383,21 @@ const $ = (e) => {
|
|
|
2383
2383
|
* @see https://tailwindcss.com/docs/skew
|
|
2384
2384
|
*/
|
|
2385
2385
|
skew: [{
|
|
2386
|
-
skew:
|
|
2386
|
+
skew: ye()
|
|
2387
2387
|
}],
|
|
2388
2388
|
/**
|
|
2389
2389
|
* Skew X
|
|
2390
2390
|
* @see https://tailwindcss.com/docs/skew
|
|
2391
2391
|
*/
|
|
2392
2392
|
"skew-x": [{
|
|
2393
|
-
"skew-x":
|
|
2393
|
+
"skew-x": ye()
|
|
2394
2394
|
}],
|
|
2395
2395
|
/**
|
|
2396
2396
|
* Skew Y
|
|
2397
2397
|
* @see https://tailwindcss.com/docs/skew
|
|
2398
2398
|
*/
|
|
2399
2399
|
"skew-y": [{
|
|
2400
|
-
"skew-y":
|
|
2400
|
+
"skew-y": ye()
|
|
2401
2401
|
}],
|
|
2402
2402
|
/**
|
|
2403
2403
|
* Transform
|
|
@@ -2425,28 +2425,28 @@ const $ = (e) => {
|
|
|
2425
2425
|
* @see https://tailwindcss.com/docs/translate
|
|
2426
2426
|
*/
|
|
2427
2427
|
translate: [{
|
|
2428
|
-
translate:
|
|
2428
|
+
translate: fe()
|
|
2429
2429
|
}],
|
|
2430
2430
|
/**
|
|
2431
2431
|
* Translate X
|
|
2432
2432
|
* @see https://tailwindcss.com/docs/translate
|
|
2433
2433
|
*/
|
|
2434
2434
|
"translate-x": [{
|
|
2435
|
-
"translate-x":
|
|
2435
|
+
"translate-x": fe()
|
|
2436
2436
|
}],
|
|
2437
2437
|
/**
|
|
2438
2438
|
* Translate Y
|
|
2439
2439
|
* @see https://tailwindcss.com/docs/translate
|
|
2440
2440
|
*/
|
|
2441
2441
|
"translate-y": [{
|
|
2442
|
-
"translate-y":
|
|
2442
|
+
"translate-y": fe()
|
|
2443
2443
|
}],
|
|
2444
2444
|
/**
|
|
2445
2445
|
* Translate Z
|
|
2446
2446
|
* @see https://tailwindcss.com/docs/translate
|
|
2447
2447
|
*/
|
|
2448
2448
|
"translate-z": [{
|
|
2449
|
-
"translate-z":
|
|
2449
|
+
"translate-z": fe()
|
|
2450
2450
|
}],
|
|
2451
2451
|
/**
|
|
2452
2452
|
* Translate None
|
|
@@ -2728,7 +2728,7 @@ const $ = (e) => {
|
|
|
2728
2728
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2729
2729
|
*/
|
|
2730
2730
|
"stroke-w": [{
|
|
2731
|
-
stroke: [
|
|
2731
|
+
stroke: [C, ie, J, Ne]
|
|
2732
2732
|
}],
|
|
2733
2733
|
/**
|
|
2734
2734
|
* Stroke
|
|
@@ -2803,40 +2803,40 @@ const $ = (e) => {
|
|
|
2803
2803
|
},
|
|
2804
2804
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2805
2805
|
};
|
|
2806
|
-
},
|
|
2806
|
+
}, ur = /* @__PURE__ */ Ht(dr);
|
|
2807
2807
|
function h(...e) {
|
|
2808
|
-
return
|
|
2808
|
+
return ur(Ze(e));
|
|
2809
2809
|
}
|
|
2810
|
-
const Be = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ze,
|
|
2810
|
+
const Be = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ze, K = (e, t) => (r) => {
|
|
2811
2811
|
var o;
|
|
2812
|
-
if (
|
|
2813
|
-
const { variants:
|
|
2814
|
-
const m =
|
|
2812
|
+
if (t?.variants == null) return Oe(e, r?.class, r?.className);
|
|
2813
|
+
const { variants: a, defaultVariants: s } = t, l = Object.keys(a).map((d) => {
|
|
2814
|
+
const m = r?.[d], u = s?.[d];
|
|
2815
2815
|
if (m === null) return null;
|
|
2816
2816
|
const b = Be(m) || Be(u);
|
|
2817
|
-
return
|
|
2818
|
-
}), i =
|
|
2817
|
+
return a[d][b];
|
|
2818
|
+
}), i = r && Object.entries(r).reduce((d, m) => {
|
|
2819
2819
|
let [u, b] = m;
|
|
2820
2820
|
return b === void 0 || (d[u] = b), d;
|
|
2821
|
-
}, {}), c =
|
|
2821
|
+
}, {}), c = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, m) => {
|
|
2822
2822
|
let { class: u, className: b, ...M } = m;
|
|
2823
|
-
return Object.entries(M).every((
|
|
2824
|
-
let [
|
|
2823
|
+
return Object.entries(M).every((w) => {
|
|
2824
|
+
let [N, E] = w;
|
|
2825
2825
|
return Array.isArray(E) ? E.includes({
|
|
2826
2826
|
...s,
|
|
2827
2827
|
...i
|
|
2828
|
-
}[
|
|
2828
|
+
}[N]) : {
|
|
2829
2829
|
...s,
|
|
2830
2830
|
...i
|
|
2831
|
-
}[
|
|
2831
|
+
}[N] === E;
|
|
2832
2832
|
}) ? [
|
|
2833
2833
|
...d,
|
|
2834
2834
|
u,
|
|
2835
2835
|
b
|
|
2836
2836
|
] : d;
|
|
2837
2837
|
}, []);
|
|
2838
|
-
return Oe(e, l, c,
|
|
2839
|
-
},
|
|
2838
|
+
return Oe(e, l, c, r?.class, r?.className);
|
|
2839
|
+
}, mr = K(
|
|
2840
2840
|
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
2841
2841
|
{
|
|
2842
2842
|
variants: {
|
|
@@ -2860,21 +2860,21 @@ const Be = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = Ze, X
|
|
|
2860
2860
|
size: "default"
|
|
2861
2861
|
}
|
|
2862
2862
|
}
|
|
2863
|
-
),
|
|
2864
|
-
({ className: e, variant:
|
|
2865
|
-
o ?
|
|
2863
|
+
), Y = k.forwardRef(
|
|
2864
|
+
({ className: e, variant: t, size: r, asChild: o = !1, disabled: a, ...s }, l) => /* @__PURE__ */ n(
|
|
2865
|
+
o ? St : "button",
|
|
2866
2866
|
{
|
|
2867
|
-
className: h(
|
|
2867
|
+
className: h(mr({ variant: t, size: r, className: e })),
|
|
2868
2868
|
ref: l,
|
|
2869
2869
|
type: s.type || "button",
|
|
2870
|
-
disabled:
|
|
2871
|
-
"aria-disabled":
|
|
2870
|
+
disabled: a,
|
|
2871
|
+
"aria-disabled": a ? "true" : void 0,
|
|
2872
2872
|
...s
|
|
2873
2873
|
}
|
|
2874
2874
|
)
|
|
2875
2875
|
);
|
|
2876
|
-
|
|
2877
|
-
const
|
|
2876
|
+
Y.displayName = "Button";
|
|
2877
|
+
const fr = (e) => {
|
|
2878
2878
|
switch (e) {
|
|
2879
2879
|
case "h1":
|
|
2880
2880
|
return "text-4xl font-bold leading-tight tracking-tight";
|
|
@@ -2901,7 +2901,7 @@ const ft = (e) => {
|
|
|
2901
2901
|
default:
|
|
2902
2902
|
return "text-base font-normal leading-normal";
|
|
2903
2903
|
}
|
|
2904
|
-
},
|
|
2904
|
+
}, pr = (e) => {
|
|
2905
2905
|
switch (e) {
|
|
2906
2906
|
case "primary":
|
|
2907
2907
|
return "text-foreground";
|
|
@@ -2918,7 +2918,7 @@ const ft = (e) => {
|
|
|
2918
2918
|
default:
|
|
2919
2919
|
return "text-foreground";
|
|
2920
2920
|
}
|
|
2921
|
-
},
|
|
2921
|
+
}, gr = (e) => {
|
|
2922
2922
|
switch (e) {
|
|
2923
2923
|
case "light":
|
|
2924
2924
|
return "font-light";
|
|
@@ -2933,7 +2933,7 @@ const ft = (e) => {
|
|
|
2933
2933
|
default:
|
|
2934
2934
|
return "";
|
|
2935
2935
|
}
|
|
2936
|
-
},
|
|
2936
|
+
}, hr = (e) => {
|
|
2937
2937
|
switch (e) {
|
|
2938
2938
|
case "left":
|
|
2939
2939
|
return "text-left";
|
|
@@ -2946,29 +2946,29 @@ const ft = (e) => {
|
|
|
2946
2946
|
default:
|
|
2947
2947
|
return "text-left";
|
|
2948
2948
|
}
|
|
2949
|
-
},
|
|
2949
|
+
}, z = ({
|
|
2950
2950
|
variant: e = "body",
|
|
2951
|
-
color:
|
|
2952
|
-
weight:
|
|
2951
|
+
color: t = "primary",
|
|
2952
|
+
weight: r,
|
|
2953
2953
|
align: o = "left",
|
|
2954
|
-
truncate:
|
|
2954
|
+
truncate: a = !1,
|
|
2955
2955
|
children: s,
|
|
2956
2956
|
className: l,
|
|
2957
2957
|
as: i,
|
|
2958
2958
|
...c
|
|
2959
2959
|
}) => {
|
|
2960
|
-
const d = i ||
|
|
2960
|
+
const d = i || br(e), m = h(
|
|
2961
2961
|
"m-0",
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2962
|
+
fr(e),
|
|
2963
|
+
pr(t),
|
|
2964
|
+
gr(r),
|
|
2965
|
+
hr(o),
|
|
2966
|
+
a && "truncate",
|
|
2967
2967
|
l
|
|
2968
2968
|
);
|
|
2969
|
-
return /* @__PURE__ */
|
|
2969
|
+
return /* @__PURE__ */ n(d, { className: m, ...c, children: s });
|
|
2970
2970
|
};
|
|
2971
|
-
function
|
|
2971
|
+
function br(e) {
|
|
2972
2972
|
switch (e) {
|
|
2973
2973
|
case "h1":
|
|
2974
2974
|
return "h1";
|
|
@@ -2986,7 +2986,7 @@ function bt(e) {
|
|
|
2986
2986
|
return "p";
|
|
2987
2987
|
}
|
|
2988
2988
|
}
|
|
2989
|
-
const
|
|
2989
|
+
const xr = (e) => {
|
|
2990
2990
|
switch (e) {
|
|
2991
2991
|
case "sm":
|
|
2992
2992
|
return "p-4";
|
|
@@ -2997,7 +2997,7 @@ const xt = (e) => {
|
|
|
2997
2997
|
default:
|
|
2998
2998
|
return "p-0";
|
|
2999
2999
|
}
|
|
3000
|
-
},
|
|
3000
|
+
}, yr = (e) => {
|
|
3001
3001
|
switch (e) {
|
|
3002
3002
|
case "sm":
|
|
3003
3003
|
return "shadow-sm";
|
|
@@ -3008,7 +3008,7 @@ const xt = (e) => {
|
|
|
3008
3008
|
default:
|
|
3009
3009
|
return "shadow-none";
|
|
3010
3010
|
}
|
|
3011
|
-
},
|
|
3011
|
+
}, vr = (e) => {
|
|
3012
3012
|
switch (e) {
|
|
3013
3013
|
case "sm":
|
|
3014
3014
|
return "rounded-sm";
|
|
@@ -3019,37 +3019,37 @@ const xt = (e) => {
|
|
|
3019
3019
|
default:
|
|
3020
3020
|
return "rounded-none";
|
|
3021
3021
|
}
|
|
3022
|
-
},
|
|
3022
|
+
}, st = ({
|
|
3023
3023
|
children: e,
|
|
3024
|
-
title:
|
|
3025
|
-
subtitle:
|
|
3024
|
+
title: t,
|
|
3025
|
+
subtitle: r,
|
|
3026
3026
|
className: o,
|
|
3027
|
-
padding:
|
|
3027
|
+
padding: a = "md",
|
|
3028
3028
|
shadow: s = "md",
|
|
3029
3029
|
borderRadius: l = "md",
|
|
3030
3030
|
onClick: i
|
|
3031
3031
|
}) => {
|
|
3032
3032
|
const c = !!i, d = h(
|
|
3033
3033
|
"bg-card",
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3034
|
+
xr(a),
|
|
3035
|
+
yr(s),
|
|
3036
|
+
vr(l),
|
|
3037
3037
|
"transition-all duration-200 ease-in-out",
|
|
3038
3038
|
c && "cursor-pointer hover:-translate-y-0.5 hover:shadow-lg active:translate-y-0",
|
|
3039
3039
|
o
|
|
3040
3040
|
);
|
|
3041
3041
|
return /* @__PURE__ */ f("div", { className: d, onClick: i, children: [
|
|
3042
|
-
(
|
|
3043
|
-
|
|
3044
|
-
|
|
3042
|
+
(t || r) && /* @__PURE__ */ f("div", { className: "mb-4", children: [
|
|
3043
|
+
t && /* @__PURE__ */ n("div", { className: "mb-2", children: /* @__PURE__ */ n(z, { variant: "h3", children: t }) }),
|
|
3044
|
+
r && /* @__PURE__ */ n("div", { className: "text-muted-foreground", children: /* @__PURE__ */ n(z, { variant: "body-sm", color: "muted", children: r }) })
|
|
3045
3045
|
] }),
|
|
3046
|
-
/* @__PURE__ */
|
|
3046
|
+
/* @__PURE__ */ n("div", { className: "flex-1", children: e })
|
|
3047
3047
|
] });
|
|
3048
|
-
},
|
|
3048
|
+
}, wr = ({
|
|
3049
3049
|
children: e
|
|
3050
|
-
}) => /* @__PURE__ */
|
|
3051
|
-
Footer:
|
|
3052
|
-
}),
|
|
3050
|
+
}) => /* @__PURE__ */ n("div", { className: "mt-4 pt-4 border-t border-border", children: e }), zo = Object.assign(st, {
|
|
3051
|
+
Footer: wr
|
|
3052
|
+
}), kr = (e) => {
|
|
3053
3053
|
switch (e) {
|
|
3054
3054
|
case "sm":
|
|
3055
3055
|
return "max-w-md";
|
|
@@ -3062,100 +3062,100 @@ const xt = (e) => {
|
|
|
3062
3062
|
default:
|
|
3063
3063
|
return "max-w-2xl";
|
|
3064
3064
|
}
|
|
3065
|
-
},
|
|
3065
|
+
}, Nr = ({
|
|
3066
3066
|
isOpen: e,
|
|
3067
|
-
onClose:
|
|
3068
|
-
title:
|
|
3067
|
+
onClose: t,
|
|
3068
|
+
title: r,
|
|
3069
3069
|
children: o,
|
|
3070
|
-
size:
|
|
3070
|
+
size: a = "md",
|
|
3071
3071
|
showCloseButton: s = !0,
|
|
3072
3072
|
closeOnOverlayClick: l = !0,
|
|
3073
3073
|
closeOnEscape: i = !0
|
|
3074
3074
|
}) => {
|
|
3075
|
-
const c =
|
|
3076
|
-
if (
|
|
3075
|
+
const c = ze.useRef(null);
|
|
3076
|
+
if (ve(() => {
|
|
3077
3077
|
if (!e || !i) return;
|
|
3078
|
-
const
|
|
3079
|
-
|
|
3078
|
+
const w = (N) => {
|
|
3079
|
+
N.key === "Escape" && t();
|
|
3080
3080
|
};
|
|
3081
|
-
return document.addEventListener("keydown",
|
|
3082
|
-
}, [e, i,
|
|
3081
|
+
return document.addEventListener("keydown", w), () => document.removeEventListener("keydown", w);
|
|
3082
|
+
}, [e, i, t]), ve(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
|
|
3083
3083
|
document.body.style.overflow = "unset";
|
|
3084
|
-
}), [e]),
|
|
3084
|
+
}), [e]), ve(() => {
|
|
3085
3085
|
e && c.current && c.current.focus();
|
|
3086
3086
|
}, [e]), !e) return null;
|
|
3087
3087
|
const d = h(
|
|
3088
3088
|
"fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4"
|
|
3089
3089
|
), m = h(
|
|
3090
3090
|
"bg-card rounded-lg shadow-xl w-full max-h-[90vh] overflow-hidden flex flex-col",
|
|
3091
|
-
|
|
3091
|
+
kr(a)
|
|
3092
3092
|
), u = h(
|
|
3093
3093
|
"p-6 border-b border-border flex items-center justify-between"
|
|
3094
3094
|
), b = h("p-6 overflow-y-auto flex-1"), M = h(
|
|
3095
3095
|
"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"
|
|
3096
3096
|
);
|
|
3097
|
-
return /* @__PURE__ */
|
|
3097
|
+
return /* @__PURE__ */ n(
|
|
3098
3098
|
"div",
|
|
3099
3099
|
{
|
|
3100
3100
|
className: d,
|
|
3101
|
-
onClick: l ?
|
|
3101
|
+
onClick: l ? t : void 0,
|
|
3102
3102
|
children: /* @__PURE__ */ f(
|
|
3103
3103
|
"div",
|
|
3104
3104
|
{
|
|
3105
3105
|
ref: c,
|
|
3106
3106
|
className: m,
|
|
3107
|
-
onClick: (
|
|
3107
|
+
onClick: (w) => w.stopPropagation(),
|
|
3108
3108
|
tabIndex: -1,
|
|
3109
3109
|
role: "dialog",
|
|
3110
3110
|
"aria-modal": "true",
|
|
3111
|
-
"aria-labelledby":
|
|
3111
|
+
"aria-labelledby": r ? "modal-title" : void 0,
|
|
3112
3112
|
children: [
|
|
3113
|
-
(
|
|
3114
|
-
|
|
3115
|
-
s && /* @__PURE__ */
|
|
3113
|
+
(r || s) && /* @__PURE__ */ f("div", { className: u, children: [
|
|
3114
|
+
r && /* @__PURE__ */ n(z, { variant: "h3", className: "text-foreground", children: r }),
|
|
3115
|
+
s && /* @__PURE__ */ n(
|
|
3116
3116
|
"button",
|
|
3117
3117
|
{
|
|
3118
|
-
onClick:
|
|
3118
|
+
onClick: t,
|
|
3119
3119
|
"aria-label": "Close modal",
|
|
3120
3120
|
className: M,
|
|
3121
3121
|
children: "×"
|
|
3122
3122
|
}
|
|
3123
3123
|
)
|
|
3124
3124
|
] }),
|
|
3125
|
-
/* @__PURE__ */
|
|
3125
|
+
/* @__PURE__ */ n("div", { className: b, children: o })
|
|
3126
3126
|
]
|
|
3127
3127
|
}
|
|
3128
3128
|
)
|
|
3129
3129
|
}
|
|
3130
3130
|
);
|
|
3131
|
-
},
|
|
3131
|
+
}, Cr = ({
|
|
3132
3132
|
children: e,
|
|
3133
|
-
actions:
|
|
3134
|
-
...
|
|
3135
|
-
}) => /* @__PURE__ */ f(
|
|
3136
|
-
/* @__PURE__ */
|
|
3137
|
-
|
|
3138
|
-
] }),
|
|
3133
|
+
actions: t,
|
|
3134
|
+
...r
|
|
3135
|
+
}) => /* @__PURE__ */ f(Nr, { ...r, children: [
|
|
3136
|
+
/* @__PURE__ */ n("div", { className: "p-6 overflow-y-auto flex-1", children: e }),
|
|
3137
|
+
t && /* @__PURE__ */ n("div", { className: "p-6 border-t border-border flex justify-end gap-3", children: t })
|
|
3138
|
+
] }), Ro = ({
|
|
3139
3139
|
isOpen: e,
|
|
3140
|
-
onClose:
|
|
3141
|
-
onConfirm:
|
|
3140
|
+
onClose: t,
|
|
3141
|
+
onConfirm: r,
|
|
3142
3142
|
title: o,
|
|
3143
|
-
message:
|
|
3143
|
+
message: a,
|
|
3144
3144
|
confirmText: s = "Confirm",
|
|
3145
3145
|
cancelText: l = "Cancel"
|
|
3146
|
-
}) => /* @__PURE__ */
|
|
3147
|
-
|
|
3146
|
+
}) => /* @__PURE__ */ n(
|
|
3147
|
+
Cr,
|
|
3148
3148
|
{
|
|
3149
3149
|
isOpen: e,
|
|
3150
|
-
onClose:
|
|
3150
|
+
onClose: t,
|
|
3151
3151
|
title: o,
|
|
3152
|
-
actions: /* @__PURE__ */ f(
|
|
3153
|
-
/* @__PURE__ */
|
|
3154
|
-
/* @__PURE__ */
|
|
3152
|
+
actions: /* @__PURE__ */ f(be, { children: [
|
|
3153
|
+
/* @__PURE__ */ n(Y, { variant: "secondary", onClick: t, children: l }),
|
|
3154
|
+
/* @__PURE__ */ n(Y, { variant: "default", onClick: r, children: s })
|
|
3155
3155
|
] }),
|
|
3156
|
-
children: /* @__PURE__ */
|
|
3156
|
+
children: /* @__PURE__ */ n(z, { children: a })
|
|
3157
3157
|
}
|
|
3158
|
-
),
|
|
3158
|
+
), Mr = K(
|
|
3159
3159
|
[
|
|
3160
3160
|
// Base styles
|
|
3161
3161
|
"flex w-full rounded-md border bg-background px-3 py-2",
|
|
@@ -3183,7 +3183,7 @@ const xt = (e) => {
|
|
|
3183
3183
|
inputSize: "default"
|
|
3184
3184
|
}
|
|
3185
3185
|
}
|
|
3186
|
-
),
|
|
3186
|
+
), Sr = K(
|
|
3187
3187
|
["block text-sm font-medium mb-1.5", "transition-colors"],
|
|
3188
3188
|
{
|
|
3189
3189
|
variants: {
|
|
@@ -3202,7 +3202,7 @@ const xt = (e) => {
|
|
|
3202
3202
|
required: !1
|
|
3203
3203
|
}
|
|
3204
3204
|
}
|
|
3205
|
-
),
|
|
3205
|
+
), Pr = K("mt-1.5 text-sm", {
|
|
3206
3206
|
variants: {
|
|
3207
3207
|
variant: {
|
|
3208
3208
|
default: "text-muted-foreground",
|
|
@@ -3213,13 +3213,13 @@ const xt = (e) => {
|
|
|
3213
3213
|
defaultVariants: {
|
|
3214
3214
|
variant: "default"
|
|
3215
3215
|
}
|
|
3216
|
-
}),
|
|
3216
|
+
}), ne = k.forwardRef(
|
|
3217
3217
|
({
|
|
3218
3218
|
className: e,
|
|
3219
|
-
containerClassName:
|
|
3220
|
-
labelClassName:
|
|
3219
|
+
containerClassName: t,
|
|
3220
|
+
labelClassName: r,
|
|
3221
3221
|
variant: o,
|
|
3222
|
-
inputSize:
|
|
3222
|
+
inputSize: a,
|
|
3223
3223
|
label: s,
|
|
3224
3224
|
helperText: l,
|
|
3225
3225
|
error: i,
|
|
@@ -3229,44 +3229,44 @@ const xt = (e) => {
|
|
|
3229
3229
|
id: u,
|
|
3230
3230
|
...b
|
|
3231
3231
|
}, M) => {
|
|
3232
|
-
const
|
|
3233
|
-
return /* @__PURE__ */ f("div", { className: h("w-full",
|
|
3234
|
-
s && /* @__PURE__ */
|
|
3232
|
+
const w = k.useId(), N = u || w, E = `${N}-helper`, v = `${N}-error`, R = i ? "error" : o, L = i || l;
|
|
3233
|
+
return /* @__PURE__ */ f("div", { className: h("w-full", t), children: [
|
|
3234
|
+
s && /* @__PURE__ */ n(
|
|
3235
3235
|
"label",
|
|
3236
3236
|
{
|
|
3237
|
-
htmlFor:
|
|
3237
|
+
htmlFor: N,
|
|
3238
3238
|
className: h(
|
|
3239
|
-
|
|
3240
|
-
|
|
3239
|
+
Sr({ variant: R, required: c }),
|
|
3240
|
+
r
|
|
3241
3241
|
),
|
|
3242
3242
|
children: s
|
|
3243
3243
|
}
|
|
3244
3244
|
),
|
|
3245
3245
|
/* @__PURE__ */ f("div", { className: "relative", children: [
|
|
3246
|
-
d && /* @__PURE__ */
|
|
3247
|
-
/* @__PURE__ */
|
|
3246
|
+
d && /* @__PURE__ */ n("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: d }),
|
|
3247
|
+
/* @__PURE__ */ n(
|
|
3248
3248
|
"input",
|
|
3249
3249
|
{
|
|
3250
|
-
id:
|
|
3250
|
+
id: N,
|
|
3251
3251
|
ref: M,
|
|
3252
3252
|
className: h(
|
|
3253
|
-
|
|
3253
|
+
Mr({ variant: R, inputSize: a }),
|
|
3254
3254
|
d && "pl-10",
|
|
3255
3255
|
m && "pr-10",
|
|
3256
3256
|
e
|
|
3257
3257
|
),
|
|
3258
3258
|
"aria-invalid": i ? "true" : "false",
|
|
3259
|
-
"aria-describedby": L ? i ?
|
|
3259
|
+
"aria-describedby": L ? i ? v : E : void 0,
|
|
3260
3260
|
...b
|
|
3261
3261
|
}
|
|
3262
3262
|
),
|
|
3263
|
-
m && /* @__PURE__ */
|
|
3263
|
+
m && /* @__PURE__ */ n("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: m })
|
|
3264
3264
|
] }),
|
|
3265
|
-
L && /* @__PURE__ */
|
|
3265
|
+
L && /* @__PURE__ */ n(
|
|
3266
3266
|
"p",
|
|
3267
3267
|
{
|
|
3268
|
-
id: i ?
|
|
3269
|
-
className:
|
|
3268
|
+
id: i ? v : E,
|
|
3269
|
+
className: Pr({ variant: R }),
|
|
3270
3270
|
role: i ? "alert" : void 0,
|
|
3271
3271
|
children: L
|
|
3272
3272
|
}
|
|
@@ -3274,22 +3274,22 @@ const xt = (e) => {
|
|
|
3274
3274
|
] });
|
|
3275
3275
|
}
|
|
3276
3276
|
);
|
|
3277
|
-
|
|
3277
|
+
ne.displayName = "Input";
|
|
3278
3278
|
/**
|
|
3279
3279
|
* @license lucide-react v0.547.0 - ISC
|
|
3280
3280
|
*
|
|
3281
3281
|
* This source code is licensed under the ISC license.
|
|
3282
3282
|
* See the LICENSE file in the root directory of this source tree.
|
|
3283
3283
|
*/
|
|
3284
|
-
const
|
|
3284
|
+
const Er = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Ir = (e) => e.replace(
|
|
3285
3285
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
3286
|
-
(
|
|
3286
|
+
(t, r, o) => o ? o.toUpperCase() : r.toLowerCase()
|
|
3287
3287
|
), He = (e) => {
|
|
3288
|
-
const
|
|
3289
|
-
return
|
|
3290
|
-
},
|
|
3291
|
-
for (const
|
|
3292
|
-
if (
|
|
3288
|
+
const t = Ir(e);
|
|
3289
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
3290
|
+
}, it = (...e) => e.filter((t, r, o) => !!t && t.trim() !== "" && o.indexOf(t) === r).join(" ").trim(), zr = (e) => {
|
|
3291
|
+
for (const t in e)
|
|
3292
|
+
if (t.startsWith("aria-") || t === "role" || t === "title")
|
|
3293
3293
|
return !0;
|
|
3294
3294
|
};
|
|
3295
3295
|
/**
|
|
@@ -3298,7 +3298,7 @@ const Et = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), It = (
|
|
|
3298
3298
|
* This source code is licensed under the ISC license.
|
|
3299
3299
|
* See the LICENSE file in the root directory of this source tree.
|
|
3300
3300
|
*/
|
|
3301
|
-
var
|
|
3301
|
+
var Rr = {
|
|
3302
3302
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3303
3303
|
width: 24,
|
|
3304
3304
|
height: 24,
|
|
@@ -3315,31 +3315,31 @@ var At = {
|
|
|
3315
3315
|
* This source code is licensed under the ISC license.
|
|
3316
3316
|
* See the LICENSE file in the root directory of this source tree.
|
|
3317
3317
|
*/
|
|
3318
|
-
const
|
|
3318
|
+
const Ar = qe(
|
|
3319
3319
|
({
|
|
3320
3320
|
color: e = "currentColor",
|
|
3321
|
-
size:
|
|
3322
|
-
strokeWidth:
|
|
3321
|
+
size: t = 24,
|
|
3322
|
+
strokeWidth: r = 2,
|
|
3323
3323
|
absoluteStrokeWidth: o,
|
|
3324
|
-
className:
|
|
3324
|
+
className: a = "",
|
|
3325
3325
|
children: s,
|
|
3326
3326
|
iconNode: l,
|
|
3327
3327
|
...i
|
|
3328
|
-
}, c) =>
|
|
3328
|
+
}, c) => Se(
|
|
3329
3329
|
"svg",
|
|
3330
3330
|
{
|
|
3331
3331
|
ref: c,
|
|
3332
|
-
...
|
|
3333
|
-
width:
|
|
3334
|
-
height:
|
|
3332
|
+
...Rr,
|
|
3333
|
+
width: t,
|
|
3334
|
+
height: t,
|
|
3335
3335
|
stroke: e,
|
|
3336
|
-
strokeWidth: o ? Number(
|
|
3337
|
-
className:
|
|
3338
|
-
...!s && !
|
|
3336
|
+
strokeWidth: o ? Number(r) * 24 / Number(t) : r,
|
|
3337
|
+
className: it("lucide", a),
|
|
3338
|
+
...!s && !zr(i) && { "aria-hidden": "true" },
|
|
3339
3339
|
...i
|
|
3340
3340
|
},
|
|
3341
3341
|
[
|
|
3342
|
-
...l.map(([d, m]) =>
|
|
3342
|
+
...l.map(([d, m]) => Se(d, m)),
|
|
3343
3343
|
...Array.isArray(s) ? s : [s]
|
|
3344
3344
|
]
|
|
3345
3345
|
)
|
|
@@ -3350,20 +3350,20 @@ const zt = qe(
|
|
|
3350
3350
|
* This source code is licensed under the ISC license.
|
|
3351
3351
|
* See the LICENSE file in the root directory of this source tree.
|
|
3352
3352
|
*/
|
|
3353
|
-
const
|
|
3354
|
-
const
|
|
3355
|
-
({ className: o, ...
|
|
3353
|
+
const B = (e, t) => {
|
|
3354
|
+
const r = qe(
|
|
3355
|
+
({ className: o, ...a }, s) => Se(Ar, {
|
|
3356
3356
|
ref: s,
|
|
3357
|
-
iconNode:
|
|
3358
|
-
className:
|
|
3359
|
-
`lucide-${
|
|
3357
|
+
iconNode: t,
|
|
3358
|
+
className: it(
|
|
3359
|
+
`lucide-${Er(He(e))}`,
|
|
3360
3360
|
`lucide-${e}`,
|
|
3361
3361
|
o
|
|
3362
3362
|
),
|
|
3363
|
-
...
|
|
3363
|
+
...a
|
|
3364
3364
|
})
|
|
3365
3365
|
);
|
|
3366
|
-
return
|
|
3366
|
+
return r.displayName = He(e), r;
|
|
3367
3367
|
};
|
|
3368
3368
|
/**
|
|
3369
3369
|
* @license lucide-react v0.547.0 - ISC
|
|
@@ -3371,7 +3371,7 @@ const W = (e, r) => {
|
|
|
3371
3371
|
* This source code is licensed under the ISC license.
|
|
3372
3372
|
* See the LICENSE file in the root directory of this source tree.
|
|
3373
3373
|
*/
|
|
3374
|
-
const
|
|
3374
|
+
const Lr = [
|
|
3375
3375
|
["path", { d: "M10 4 8 6", key: "1rru8s" }],
|
|
3376
3376
|
["path", { d: "M17 19v2", key: "ts1sot" }],
|
|
3377
3377
|
["path", { d: "M2 12h20", key: "9i4pu4" }],
|
|
@@ -3383,26 +3383,26 @@ const Lt = [
|
|
|
3383
3383
|
key: "14ym8i"
|
|
3384
3384
|
}
|
|
3385
3385
|
]
|
|
3386
|
-
],
|
|
3386
|
+
], Tr = B("bath", Lr);
|
|
3387
3387
|
/**
|
|
3388
3388
|
* @license lucide-react v0.547.0 - ISC
|
|
3389
3389
|
*
|
|
3390
3390
|
* This source code is licensed under the ISC license.
|
|
3391
3391
|
* See the LICENSE file in the root directory of this source tree.
|
|
3392
3392
|
*/
|
|
3393
|
-
const
|
|
3393
|
+
const jr = [
|
|
3394
3394
|
["path", { d: "M2 4v16", key: "vw9hq8" }],
|
|
3395
3395
|
["path", { d: "M2 8h18a2 2 0 0 1 2 2v10", key: "1dgv2r" }],
|
|
3396
3396
|
["path", { d: "M2 17h20", key: "18nfp3" }],
|
|
3397
3397
|
["path", { d: "M6 8v9", key: "1yriud" }]
|
|
3398
|
-
],
|
|
3398
|
+
], $r = B("bed", jr);
|
|
3399
3399
|
/**
|
|
3400
3400
|
* @license lucide-react v0.547.0 - ISC
|
|
3401
3401
|
*
|
|
3402
3402
|
* This source code is licensed under the ISC license.
|
|
3403
3403
|
* See the LICENSE file in the root directory of this source tree.
|
|
3404
3404
|
*/
|
|
3405
|
-
const
|
|
3405
|
+
const Vr = [
|
|
3406
3406
|
[
|
|
3407
3407
|
"path",
|
|
3408
3408
|
{
|
|
@@ -3413,48 +3413,48 @@ const Vt = [
|
|
|
3413
3413
|
["circle", { cx: "7", cy: "17", r: "2", key: "u2ysq9" }],
|
|
3414
3414
|
["path", { d: "M9 17h6", key: "r8uit2" }],
|
|
3415
3415
|
["circle", { cx: "17", cy: "17", r: "2", key: "axvx0g" }]
|
|
3416
|
-
],
|
|
3416
|
+
], Fr = B("car", Vr);
|
|
3417
3417
|
/**
|
|
3418
3418
|
* @license lucide-react v0.547.0 - ISC
|
|
3419
3419
|
*
|
|
3420
3420
|
* This source code is licensed under the ISC license.
|
|
3421
3421
|
* See the LICENSE file in the root directory of this source tree.
|
|
3422
3422
|
*/
|
|
3423
|
-
const
|
|
3423
|
+
const _r = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Dr = B("chevron-down", _r);
|
|
3424
3424
|
/**
|
|
3425
3425
|
* @license lucide-react v0.547.0 - ISC
|
|
3426
3426
|
*
|
|
3427
3427
|
* This source code is licensed under the ISC license.
|
|
3428
3428
|
* See the LICENSE file in the root directory of this source tree.
|
|
3429
3429
|
*/
|
|
3430
|
-
const
|
|
3430
|
+
const Gr = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Wr = B("chevron-left", Gr);
|
|
3431
3431
|
/**
|
|
3432
3432
|
* @license lucide-react v0.547.0 - ISC
|
|
3433
3433
|
*
|
|
3434
3434
|
* This source code is licensed under the ISC license.
|
|
3435
3435
|
* See the LICENSE file in the root directory of this source tree.
|
|
3436
3436
|
*/
|
|
3437
|
-
const
|
|
3437
|
+
const Br = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Or = B("chevron-right", Br);
|
|
3438
3438
|
/**
|
|
3439
3439
|
* @license lucide-react v0.547.0 - ISC
|
|
3440
3440
|
*
|
|
3441
3441
|
* This source code is licensed under the ISC license.
|
|
3442
3442
|
* See the LICENSE file in the root directory of this source tree.
|
|
3443
3443
|
*/
|
|
3444
|
-
const
|
|
3444
|
+
const Hr = [
|
|
3445
3445
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
3446
3446
|
["path", { d: "M3 9h18", key: "1pudct" }],
|
|
3447
3447
|
["path", { d: "M3 15h18", key: "5xshup" }],
|
|
3448
3448
|
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
3449
3449
|
["path", { d: "M15 3v18", key: "14nvp0" }]
|
|
3450
|
-
],
|
|
3450
|
+
], Ur = B("grid-3x3", Hr);
|
|
3451
3451
|
/**
|
|
3452
3452
|
* @license lucide-react v0.547.0 - ISC
|
|
3453
3453
|
*
|
|
3454
3454
|
* This source code is licensed under the ISC license.
|
|
3455
3455
|
* See the LICENSE file in the root directory of this source tree.
|
|
3456
3456
|
*/
|
|
3457
|
-
const
|
|
3457
|
+
const qr = [
|
|
3458
3458
|
[
|
|
3459
3459
|
"path",
|
|
3460
3460
|
{
|
|
@@ -3462,29 +3462,45 @@ const qt = [
|
|
|
3462
3462
|
key: "mvr1a0"
|
|
3463
3463
|
}
|
|
3464
3464
|
]
|
|
3465
|
-
],
|
|
3465
|
+
], Xr = B("heart", qr);
|
|
3466
|
+
/**
|
|
3467
|
+
* @license lucide-react v0.547.0 - ISC
|
|
3468
|
+
*
|
|
3469
|
+
* This source code is licensed under the ISC license.
|
|
3470
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3471
|
+
*/
|
|
3472
|
+
const Zr = [
|
|
3473
|
+
[
|
|
3474
|
+
"path",
|
|
3475
|
+
{
|
|
3476
|
+
d: "M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",
|
|
3477
|
+
key: "1r0f0z"
|
|
3478
|
+
}
|
|
3479
|
+
],
|
|
3480
|
+
["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
|
|
3481
|
+
], Kr = B("map-pin", Zr);
|
|
3466
3482
|
/**
|
|
3467
3483
|
* @license lucide-react v0.547.0 - ISC
|
|
3468
3484
|
*
|
|
3469
3485
|
* This source code is licensed under the ISC license.
|
|
3470
3486
|
* See the LICENSE file in the root directory of this source tree.
|
|
3471
3487
|
*/
|
|
3472
|
-
const
|
|
3488
|
+
const Qr = [
|
|
3473
3489
|
["path", { d: "M8 3H5a2 2 0 0 0-2 2v3", key: "1dcmit" }],
|
|
3474
3490
|
["path", { d: "M21 8V5a2 2 0 0 0-2-2h-3", key: "1e4gt3" }],
|
|
3475
3491
|
["path", { d: "M3 16v3a2 2 0 0 0 2 2h3", key: "wsl5sc" }],
|
|
3476
3492
|
["path", { d: "M16 21h3a2 2 0 0 0 2-2v-3", key: "18trek" }]
|
|
3477
|
-
],
|
|
3493
|
+
], Jr = B("maximize", Qr);
|
|
3478
3494
|
/**
|
|
3479
3495
|
* @license lucide-react v0.547.0 - ISC
|
|
3480
3496
|
*
|
|
3481
3497
|
* This source code is licensed under the ISC license.
|
|
3482
3498
|
* See the LICENSE file in the root directory of this source tree.
|
|
3483
3499
|
*/
|
|
3484
|
-
const
|
|
3500
|
+
const Yr = [
|
|
3485
3501
|
["path", { d: "M16 7h6v6", key: "box55l" }],
|
|
3486
3502
|
["path", { d: "m22 7-8.5 8.5-5-5L2 17", key: "1t1m79" }]
|
|
3487
|
-
],
|
|
3503
|
+
], eo = B("trending-up", Yr), to = K(
|
|
3488
3504
|
[
|
|
3489
3505
|
// Base styles
|
|
3490
3506
|
"flex w-full rounded-md border bg-background px-3 py-2",
|
|
@@ -3511,7 +3527,7 @@ const Qt = [
|
|
|
3511
3527
|
selectSize: "default"
|
|
3512
3528
|
}
|
|
3513
3529
|
}
|
|
3514
|
-
),
|
|
3530
|
+
), ro = K(
|
|
3515
3531
|
["block text-sm font-medium mb-1.5", "transition-colors"],
|
|
3516
3532
|
{
|
|
3517
3533
|
variants: {
|
|
@@ -3530,7 +3546,7 @@ const Qt = [
|
|
|
3530
3546
|
required: !1
|
|
3531
3547
|
}
|
|
3532
3548
|
}
|
|
3533
|
-
),
|
|
3549
|
+
), oo = K("mt-1.5 text-sm", {
|
|
3534
3550
|
variants: {
|
|
3535
3551
|
variant: {
|
|
3536
3552
|
default: "text-muted-foreground",
|
|
@@ -3541,13 +3557,13 @@ const Qt = [
|
|
|
3541
3557
|
defaultVariants: {
|
|
3542
3558
|
variant: "default"
|
|
3543
3559
|
}
|
|
3544
|
-
}),
|
|
3560
|
+
}), lt = k.forwardRef(
|
|
3545
3561
|
({
|
|
3546
3562
|
className: e,
|
|
3547
|
-
containerClassName:
|
|
3548
|
-
labelClassName:
|
|
3563
|
+
containerClassName: t,
|
|
3564
|
+
labelClassName: r,
|
|
3549
3565
|
variant: o,
|
|
3550
|
-
selectSize:
|
|
3566
|
+
selectSize: a,
|
|
3551
3567
|
label: s,
|
|
3552
3568
|
helperText: l,
|
|
3553
3569
|
error: i,
|
|
@@ -3557,15 +3573,15 @@ const Qt = [
|
|
|
3557
3573
|
id: u,
|
|
3558
3574
|
...b
|
|
3559
3575
|
}, M) => {
|
|
3560
|
-
const
|
|
3561
|
-
return /* @__PURE__ */ f("div", { className: h("w-full",
|
|
3562
|
-
s && /* @__PURE__ */
|
|
3576
|
+
const w = k.useId(), N = u || w, E = `${N}-helper`, v = `${N}-error`, R = i ? "error" : o, L = i || l;
|
|
3577
|
+
return /* @__PURE__ */ f("div", { className: h("w-full", t), children: [
|
|
3578
|
+
s && /* @__PURE__ */ n(
|
|
3563
3579
|
"label",
|
|
3564
3580
|
{
|
|
3565
|
-
htmlFor:
|
|
3581
|
+
htmlFor: N,
|
|
3566
3582
|
className: h(
|
|
3567
|
-
|
|
3568
|
-
|
|
3583
|
+
ro({ variant: R, required: c }),
|
|
3584
|
+
r
|
|
3569
3585
|
),
|
|
3570
3586
|
children: s
|
|
3571
3587
|
}
|
|
@@ -3574,20 +3590,20 @@ const Qt = [
|
|
|
3574
3590
|
/* @__PURE__ */ f(
|
|
3575
3591
|
"select",
|
|
3576
3592
|
{
|
|
3577
|
-
id:
|
|
3593
|
+
id: N,
|
|
3578
3594
|
ref: M,
|
|
3579
3595
|
className: h(
|
|
3580
|
-
|
|
3596
|
+
to({ variant: R, selectSize: a }),
|
|
3581
3597
|
"pr-10",
|
|
3582
3598
|
// Space for chevron icon
|
|
3583
3599
|
e
|
|
3584
3600
|
),
|
|
3585
3601
|
"aria-invalid": i ? "true" : "false",
|
|
3586
|
-
"aria-describedby": L ? i ?
|
|
3602
|
+
"aria-describedby": L ? i ? v : E : void 0,
|
|
3587
3603
|
...b,
|
|
3588
3604
|
children: [
|
|
3589
|
-
m && /* @__PURE__ */
|
|
3590
|
-
d.map((P) => /* @__PURE__ */
|
|
3605
|
+
m && /* @__PURE__ */ n("option", { value: "", disabled: !0, children: m }),
|
|
3606
|
+
d.map((P) => /* @__PURE__ */ n(
|
|
3591
3607
|
"option",
|
|
3592
3608
|
{
|
|
3593
3609
|
value: P.value,
|
|
@@ -3599,13 +3615,13 @@ const Qt = [
|
|
|
3599
3615
|
]
|
|
3600
3616
|
}
|
|
3601
3617
|
),
|
|
3602
|
-
/* @__PURE__ */
|
|
3618
|
+
/* @__PURE__ */ n("div", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ n(Dr, { className: "h-4 w-4" }) })
|
|
3603
3619
|
] }),
|
|
3604
|
-
L && /* @__PURE__ */
|
|
3620
|
+
L && /* @__PURE__ */ n(
|
|
3605
3621
|
"p",
|
|
3606
3622
|
{
|
|
3607
|
-
id: i ?
|
|
3608
|
-
className:
|
|
3623
|
+
id: i ? v : E,
|
|
3624
|
+
className: oo({ variant: R }),
|
|
3609
3625
|
role: i ? "alert" : void 0,
|
|
3610
3626
|
children: L
|
|
3611
3627
|
}
|
|
@@ -3613,36 +3629,36 @@ const Qt = [
|
|
|
3613
3629
|
] });
|
|
3614
3630
|
}
|
|
3615
3631
|
);
|
|
3616
|
-
|
|
3617
|
-
function
|
|
3618
|
-
const l = (e - 90) * Math.PI / 180, i = (
|
|
3632
|
+
lt.displayName = "Select";
|
|
3633
|
+
function no(e, t, r, o, a, s) {
|
|
3634
|
+
const l = (e - 90) * Math.PI / 180, i = (t - 90) * Math.PI / 180, c = a + r * Math.cos(l), d = s + r * Math.sin(l), m = a + r * Math.cos(i), u = s + r * Math.sin(i), b = a + o * Math.cos(i), M = s + o * Math.sin(i), w = a + o * Math.cos(l), N = s + o * Math.sin(l), E = t - e > 180 ? 1 : 0;
|
|
3619
3635
|
return [
|
|
3620
3636
|
`M ${c} ${d}`,
|
|
3621
3637
|
// Move to start point on outer arc
|
|
3622
|
-
`A ${
|
|
3638
|
+
`A ${r} ${r} 0 ${E} 1 ${m} ${u}`,
|
|
3623
3639
|
// Outer arc
|
|
3624
3640
|
`L ${b} ${M}`,
|
|
3625
3641
|
// Line to inner arc
|
|
3626
|
-
`A ${o} ${o} 0 ${E} 0 ${
|
|
3642
|
+
`A ${o} ${o} 0 ${E} 0 ${w} ${N}`,
|
|
3627
3643
|
// Inner arc (reverse)
|
|
3628
3644
|
"Z"
|
|
3629
3645
|
// Close path
|
|
3630
3646
|
].join(" ");
|
|
3631
3647
|
}
|
|
3632
|
-
function
|
|
3648
|
+
function ao(e, t, r, o, a) {
|
|
3633
3649
|
const s = e.reduce((c, d) => c + d.value, 0);
|
|
3634
3650
|
if (s === 0)
|
|
3635
3651
|
return [];
|
|
3636
3652
|
let l = 0;
|
|
3637
3653
|
const i = [];
|
|
3638
3654
|
return e.forEach((c) => {
|
|
3639
|
-
const d = c.value / s * 360, m = l, u = l + d, b =
|
|
3655
|
+
const d = c.value / s * 360, m = l, u = l + d, b = no(
|
|
3640
3656
|
m,
|
|
3641
3657
|
u,
|
|
3642
|
-
r,
|
|
3643
3658
|
t,
|
|
3659
|
+
r,
|
|
3644
3660
|
o,
|
|
3645
|
-
|
|
3661
|
+
a
|
|
3646
3662
|
);
|
|
3647
3663
|
i.push({
|
|
3648
3664
|
path: b,
|
|
@@ -3650,25 +3666,25 @@ function oo(e, r, t, o, n) {
|
|
|
3650
3666
|
}), l = u;
|
|
3651
3667
|
}), i;
|
|
3652
3668
|
}
|
|
3653
|
-
const
|
|
3669
|
+
const ct = k.forwardRef(
|
|
3654
3670
|
({
|
|
3655
3671
|
segments: e,
|
|
3656
|
-
size:
|
|
3657
|
-
innerRadiusRatio:
|
|
3672
|
+
size: t = 300,
|
|
3673
|
+
innerRadiusRatio: r = 0.6,
|
|
3658
3674
|
centerContent: o,
|
|
3659
|
-
showLegend:
|
|
3675
|
+
showLegend: a = !1,
|
|
3660
3676
|
legendPosition: s = "bottom",
|
|
3661
3677
|
className: l,
|
|
3662
3678
|
onSegmentClick: i,
|
|
3663
3679
|
onSegmentHover: c
|
|
3664
3680
|
}, d) => {
|
|
3665
|
-
const [m, u] =
|
|
3681
|
+
const [m, u] = k.useState(null), b = t / 2, M = t / 2, w = 2, N = t / 2 - w, E = N * r, v = ao(
|
|
3666
3682
|
e,
|
|
3667
|
-
|
|
3683
|
+
N,
|
|
3668
3684
|
E,
|
|
3669
3685
|
b,
|
|
3670
3686
|
M
|
|
3671
|
-
),
|
|
3687
|
+
), R = (P) => {
|
|
3672
3688
|
u(P), c?.(P);
|
|
3673
3689
|
}, L = s === "left" || s === "right";
|
|
3674
3690
|
return /* @__PURE__ */ f(
|
|
@@ -3687,27 +3703,27 @@ const cr = w.forwardRef(
|
|
|
3687
3703
|
"div",
|
|
3688
3704
|
{
|
|
3689
3705
|
className: "relative inline-block",
|
|
3690
|
-
style: { width:
|
|
3706
|
+
style: { width: t, height: t },
|
|
3691
3707
|
children: [
|
|
3692
|
-
/* @__PURE__ */
|
|
3708
|
+
/* @__PURE__ */ n("svg", { width: t, height: t, viewBox: `0 0 ${t} ${t}`, children: v.map(({ path: P, segment: S }, F) => /* @__PURE__ */ n(
|
|
3693
3709
|
"path",
|
|
3694
3710
|
{
|
|
3695
3711
|
d: P,
|
|
3696
3712
|
fill: S.color,
|
|
3697
3713
|
stroke: "white",
|
|
3698
|
-
strokeWidth:
|
|
3714
|
+
strokeWidth: w,
|
|
3699
3715
|
className: h(
|
|
3700
3716
|
"transition-opacity duration-200",
|
|
3701
3717
|
m && m !== S && "opacity-50",
|
|
3702
3718
|
i && "cursor-pointer"
|
|
3703
3719
|
),
|
|
3704
|
-
onMouseEnter: () =>
|
|
3705
|
-
onMouseLeave: () =>
|
|
3720
|
+
onMouseEnter: () => R(S),
|
|
3721
|
+
onMouseLeave: () => R(null),
|
|
3706
3722
|
onClick: () => i?.(S)
|
|
3707
3723
|
},
|
|
3708
|
-
`${S.label}-${
|
|
3724
|
+
`${S.label}-${F}`
|
|
3709
3725
|
)) }),
|
|
3710
|
-
o && /* @__PURE__ */
|
|
3726
|
+
o && /* @__PURE__ */ n(
|
|
3711
3727
|
"div",
|
|
3712
3728
|
{
|
|
3713
3729
|
className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-center",
|
|
@@ -3718,7 +3734,7 @@ const cr = w.forwardRef(
|
|
|
3718
3734
|
]
|
|
3719
3735
|
}
|
|
3720
3736
|
),
|
|
3721
|
-
|
|
3737
|
+
a && /* @__PURE__ */ n(
|
|
3722
3738
|
"div",
|
|
3723
3739
|
{
|
|
3724
3740
|
className: h(
|
|
@@ -3733,18 +3749,18 @@ const cr = w.forwardRef(
|
|
|
3733
3749
|
m && m !== P && "opacity-50",
|
|
3734
3750
|
i && "cursor-pointer"
|
|
3735
3751
|
),
|
|
3736
|
-
onMouseEnter: () =>
|
|
3737
|
-
onMouseLeave: () =>
|
|
3752
|
+
onMouseEnter: () => R(P),
|
|
3753
|
+
onMouseLeave: () => R(null),
|
|
3738
3754
|
onClick: () => i?.(P),
|
|
3739
3755
|
children: [
|
|
3740
|
-
/* @__PURE__ */
|
|
3756
|
+
/* @__PURE__ */ n(
|
|
3741
3757
|
"div",
|
|
3742
3758
|
{
|
|
3743
3759
|
className: "h-3 w-3 rounded-sm flex-shrink-0",
|
|
3744
3760
|
style: { backgroundColor: P.color }
|
|
3745
3761
|
}
|
|
3746
3762
|
),
|
|
3747
|
-
/* @__PURE__ */
|
|
3763
|
+
/* @__PURE__ */ n("span", { className: "text-muted-foreground", children: P.label })
|
|
3748
3764
|
]
|
|
3749
3765
|
},
|
|
3750
3766
|
`${P.label}-${S}`
|
|
@@ -3756,45 +3772,45 @@ const cr = w.forwardRef(
|
|
|
3756
3772
|
);
|
|
3757
3773
|
}
|
|
3758
3774
|
);
|
|
3759
|
-
|
|
3760
|
-
function
|
|
3761
|
-
return !
|
|
3775
|
+
ct.displayName = "DonutChart";
|
|
3776
|
+
function so(e, t) {
|
|
3777
|
+
return !t || t === "all" ? e : e.filter((r) => r.categoryId === t);
|
|
3762
3778
|
}
|
|
3763
|
-
function
|
|
3764
|
-
const
|
|
3765
|
-
return
|
|
3779
|
+
function io(e, t) {
|
|
3780
|
+
const r = [...e];
|
|
3781
|
+
return r.sort((o, a) => {
|
|
3766
3782
|
let s = "", l = "";
|
|
3767
|
-
return
|
|
3768
|
-
}),
|
|
3783
|
+
return t.column === "title" ? (s = o.title.toLowerCase(), l = a.title.toLowerCase()) : t.column === "metric" && (s = Ue(o.metricValue), l = Ue(a.metricValue)), s < l ? t.direction === "asc" ? -1 : 1 : s > l ? t.direction === "asc" ? 1 : -1 : 0;
|
|
3784
|
+
}), r;
|
|
3769
3785
|
}
|
|
3770
3786
|
function Ue(e) {
|
|
3771
3787
|
if (!e) return 0;
|
|
3772
|
-
const
|
|
3773
|
-
return
|
|
3788
|
+
const t = e.match(/[\d.]+/);
|
|
3789
|
+
return t ? parseFloat(t[0]) : 0;
|
|
3774
3790
|
}
|
|
3775
|
-
function
|
|
3776
|
-
return
|
|
3791
|
+
function lo(e, t) {
|
|
3792
|
+
return t === "all" ? e.length : e.filter((r) => r.categoryId === t).length;
|
|
3777
3793
|
}
|
|
3778
|
-
function
|
|
3794
|
+
function Ao(e, t, r = {}) {
|
|
3779
3795
|
const {
|
|
3780
3796
|
initialCategory: o = null,
|
|
3781
|
-
initialSort:
|
|
3797
|
+
initialSort: a = null,
|
|
3782
3798
|
enableSearch: s = !1
|
|
3783
|
-
} =
|
|
3799
|
+
} = r, [l, i] = ce(
|
|
3784
3800
|
o
|
|
3785
|
-
), [c, d] =
|
|
3801
|
+
), [c, d] = ce(a), [m, u] = ce(""), b = we(() => so(e, l), [e, l]), M = we(() => {
|
|
3786
3802
|
if (!s || !m.trim())
|
|
3787
3803
|
return b;
|
|
3788
|
-
const
|
|
3804
|
+
const v = m.toLowerCase();
|
|
3789
3805
|
return b.filter(
|
|
3790
|
-
(
|
|
3806
|
+
(R) => R.title.toLowerCase().includes(v) || R.subtitle?.toLowerCase().includes(v)
|
|
3791
3807
|
);
|
|
3792
|
-
}, [b, m, s]),
|
|
3793
|
-
(
|
|
3808
|
+
}, [b, m, s]), w = we(() => c ? io(M, c) : M, [M, c]), N = Ve(
|
|
3809
|
+
(v) => lo(e, v),
|
|
3794
3810
|
[e]
|
|
3795
3811
|
), E = Ve(() => {
|
|
3796
|
-
i(o), d(
|
|
3797
|
-
}, [o,
|
|
3812
|
+
i(o), d(a), u("");
|
|
3813
|
+
}, [o, a]);
|
|
3798
3814
|
return {
|
|
3799
3815
|
activeCategory: l,
|
|
3800
3816
|
setActiveCategory: i,
|
|
@@ -3802,12 +3818,12 @@ function Ro(e, r, t = {}) {
|
|
|
3802
3818
|
setSort: d,
|
|
3803
3819
|
searchQuery: m,
|
|
3804
3820
|
setSearchQuery: u,
|
|
3805
|
-
filteredEntities:
|
|
3806
|
-
getCategoryCount:
|
|
3821
|
+
filteredEntities: w,
|
|
3822
|
+
getCategoryCount: N,
|
|
3807
3823
|
resetFilters: E
|
|
3808
3824
|
};
|
|
3809
3825
|
}
|
|
3810
|
-
const
|
|
3826
|
+
const co = K(
|
|
3811
3827
|
"inline-flex items-center justify-center whitespace-nowrap rounded-full text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
3812
3828
|
{
|
|
3813
3829
|
variants: {
|
|
@@ -3829,13 +3845,13 @@ const io = X(
|
|
|
3829
3845
|
size: "default"
|
|
3830
3846
|
}
|
|
3831
3847
|
}
|
|
3832
|
-
),
|
|
3848
|
+
), Le = k.forwardRef(
|
|
3833
3849
|
({
|
|
3834
3850
|
className: e,
|
|
3835
|
-
variant:
|
|
3836
|
-
size:
|
|
3851
|
+
variant: t,
|
|
3852
|
+
size: r,
|
|
3837
3853
|
icon: o,
|
|
3838
|
-
selected:
|
|
3854
|
+
selected: a,
|
|
3839
3855
|
dismissible: s,
|
|
3840
3856
|
onDismiss: l,
|
|
3841
3857
|
children: i,
|
|
@@ -3845,16 +3861,16 @@ const io = X(
|
|
|
3845
3861
|
"button",
|
|
3846
3862
|
{
|
|
3847
3863
|
type: "button",
|
|
3848
|
-
className: h(
|
|
3864
|
+
className: h(co({ variant: a ? "selected" : t, size: r, className: e })),
|
|
3849
3865
|
ref: m,
|
|
3850
3866
|
disabled: c,
|
|
3851
3867
|
"aria-disabled": c ? "true" : void 0,
|
|
3852
|
-
"aria-pressed":
|
|
3868
|
+
"aria-pressed": a ? "true" : "false",
|
|
3853
3869
|
...d,
|
|
3854
3870
|
children: [
|
|
3855
|
-
o && /* @__PURE__ */
|
|
3856
|
-
/* @__PURE__ */
|
|
3857
|
-
s && l && /* @__PURE__ */
|
|
3871
|
+
o && /* @__PURE__ */ n("span", { className: "mr-1.5 inline-flex items-center", "aria-hidden": "true", children: o }),
|
|
3872
|
+
/* @__PURE__ */ n("span", { children: i }),
|
|
3873
|
+
s && l && /* @__PURE__ */ n(
|
|
3858
3874
|
"button",
|
|
3859
3875
|
{
|
|
3860
3876
|
type: "button",
|
|
@@ -3870,16 +3886,16 @@ const io = X(
|
|
|
3870
3886
|
}
|
|
3871
3887
|
)
|
|
3872
3888
|
);
|
|
3873
|
-
|
|
3874
|
-
const
|
|
3889
|
+
Le.displayName = "Chip";
|
|
3890
|
+
const dt = k.forwardRef(
|
|
3875
3891
|
({
|
|
3876
3892
|
categories: e,
|
|
3877
|
-
activeCategory:
|
|
3878
|
-
onCategoryChange:
|
|
3893
|
+
activeCategory: t,
|
|
3894
|
+
onCategoryChange: r,
|
|
3879
3895
|
showCount: o,
|
|
3880
|
-
getCategoryCount:
|
|
3896
|
+
getCategoryCount: a,
|
|
3881
3897
|
className: s
|
|
3882
|
-
}, l) => /* @__PURE__ */
|
|
3898
|
+
}, l) => /* @__PURE__ */ n(
|
|
3883
3899
|
"div",
|
|
3884
3900
|
{
|
|
3885
3901
|
ref: l,
|
|
@@ -3890,17 +3906,17 @@ const dr = w.forwardRef(
|
|
|
3890
3906
|
s
|
|
3891
3907
|
),
|
|
3892
3908
|
children: e.map((i) => {
|
|
3893
|
-
const c =
|
|
3909
|
+
const c = t === i.id, d = o && a ? a(i.id) : void 0;
|
|
3894
3910
|
return /* @__PURE__ */ f(
|
|
3895
|
-
|
|
3911
|
+
Le,
|
|
3896
3912
|
{
|
|
3897
3913
|
role: "tab",
|
|
3898
3914
|
"aria-selected": c,
|
|
3899
3915
|
"aria-controls": `entities-panel-${i.id}`,
|
|
3900
3916
|
selected: c,
|
|
3901
3917
|
variant: c ? "selected" : "outline",
|
|
3902
|
-
icon: typeof i.icon == "string" ? i.icon : i.icon ?
|
|
3903
|
-
onClick: () =>
|
|
3918
|
+
icon: typeof i.icon == "string" ? i.icon : i.icon ? k.createElement(i.icon) : void 0,
|
|
3919
|
+
onClick: () => r(c ? null : i.id),
|
|
3904
3920
|
children: [
|
|
3905
3921
|
i.label,
|
|
3906
3922
|
d !== void 0 && /* @__PURE__ */ f("span", { className: "ml-1.5 opacity-70", children: [
|
|
@@ -3916,9 +3932,11 @@ const dr = w.forwardRef(
|
|
|
3916
3932
|
}
|
|
3917
3933
|
)
|
|
3918
3934
|
);
|
|
3919
|
-
|
|
3920
|
-
const
|
|
3921
|
-
|
|
3935
|
+
dt.displayName = "CategoryChips";
|
|
3936
|
+
const uo = (e, t) => {
|
|
3937
|
+
if (t)
|
|
3938
|
+
return "text-accent";
|
|
3939
|
+
switch (e.variant || mo(e.type)) {
|
|
3922
3940
|
case "primary":
|
|
3923
3941
|
return "bg-primary text-primary-foreground";
|
|
3924
3942
|
case "secondary":
|
|
@@ -3934,7 +3952,7 @@ const lo = (e) => {
|
|
|
3934
3952
|
default:
|
|
3935
3953
|
return "bg-secondary text-secondary-foreground";
|
|
3936
3954
|
}
|
|
3937
|
-
},
|
|
3955
|
+
}, mo = (e) => {
|
|
3938
3956
|
switch (e) {
|
|
3939
3957
|
case "Venta":
|
|
3940
3958
|
return "primary";
|
|
@@ -3947,169 +3965,219 @@ const lo = (e) => {
|
|
|
3947
3965
|
default:
|
|
3948
3966
|
return "secondary";
|
|
3949
3967
|
}
|
|
3950
|
-
},
|
|
3968
|
+
}, Lo = ({
|
|
3951
3969
|
property: e,
|
|
3952
|
-
className:
|
|
3953
|
-
onLike:
|
|
3970
|
+
className: t,
|
|
3971
|
+
onLike: r,
|
|
3954
3972
|
onImageClick: o,
|
|
3955
|
-
showLikeButton:
|
|
3956
|
-
showNavigation: s = !0
|
|
3973
|
+
showLikeButton: a = !0,
|
|
3974
|
+
showNavigation: s = !0,
|
|
3975
|
+
variant: l = "default",
|
|
3976
|
+
badgeColors: i
|
|
3957
3977
|
}) => {
|
|
3958
|
-
const [
|
|
3959
|
-
|
|
3960
|
-
(
|
|
3978
|
+
const [c, d] = ce(0), [m, u] = ce(!1), b = () => {
|
|
3979
|
+
d(
|
|
3980
|
+
(I) => I === e.images.length - 1 ? 0 : I + 1
|
|
3961
3981
|
);
|
|
3962
|
-
},
|
|
3963
|
-
|
|
3964
|
-
(
|
|
3982
|
+
}, M = () => {
|
|
3983
|
+
d(
|
|
3984
|
+
(I) => I === 0 ? e.images.length - 1 : I - 1
|
|
3965
3985
|
);
|
|
3966
|
-
},
|
|
3967
|
-
|
|
3968
|
-
const
|
|
3969
|
-
|
|
3970
|
-
},
|
|
3971
|
-
|
|
3972
|
-
},
|
|
3973
|
-
"relative overflow-hidden bg-card
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
),
|
|
3978
|
-
"
|
|
3986
|
+
}, w = (I) => {
|
|
3987
|
+
I.preventDefault(), I.stopPropagation();
|
|
3988
|
+
const V = !m;
|
|
3989
|
+
u(V), r?.(e.id, V);
|
|
3990
|
+
}, N = (I) => {
|
|
3991
|
+
I.preventDefault(), I.stopPropagation(), o?.(c, e.id);
|
|
3992
|
+
}, E = (I, V) => !I || !V ? "Price not available" : `$${I.toLocaleString()} ${V}`, v = l === "compact", R = h(
|
|
3993
|
+
"relative overflow-hidden bg-card shadow-md transition-all duration-300 ease-out cursor-pointer",
|
|
3994
|
+
v ? "rounded-xl hover:shadow-lg" : "rounded-2xl hover:-translate-y-1 hover:shadow-xl",
|
|
3995
|
+
v && "border px-4",
|
|
3996
|
+
t
|
|
3997
|
+
), L = h(
|
|
3998
|
+
"relative overflow-hidden",
|
|
3999
|
+
v && "rounded-xl px-4 shadow-md bg-primary-foreground"
|
|
3979
4000
|
), P = h(
|
|
3980
|
-
"
|
|
4001
|
+
"w-full h-full object-cover",
|
|
4002
|
+
!v && "transition-transform duration-300 hover:scale-105"
|
|
3981
4003
|
), S = h(
|
|
4004
|
+
"absolute z-10 flex flex-wrap gap-2",
|
|
4005
|
+
v ? "top-3 left-3" : "top-4 left-4"
|
|
4006
|
+
), F = h(
|
|
4007
|
+
"text-xs font-semibold",
|
|
4008
|
+
v ? "rounded-full px-3 py-1" : "px-2 py-1 rounded-lg font-medium uppercase tracking-wide"
|
|
4009
|
+
), A = h(
|
|
4010
|
+
"absolute z-10 rounded-full cursor-pointer transition-all duration-200",
|
|
4011
|
+
v ? "top-3 right-3 p-1 shadow-md" : "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 hover:bg-background hover:scale-105"
|
|
4012
|
+
), y = h(
|
|
3982
4013
|
"absolute top-1/2 -translate-y-1/2 z-10 bg-background/90 backdrop-blur-sm border border-border/20 text-foreground w-10 h-10 rounded-full p-0 flex items-center justify-center cursor-pointer transition-all duration-200 hover:bg-background hover:scale-105"
|
|
3983
|
-
),
|
|
4014
|
+
), D = h(
|
|
3984
4015
|
"absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-1 z-10"
|
|
3985
|
-
),
|
|
4016
|
+
), q = h(
|
|
3986
4017
|
"w-2 h-2 rounded-full border-none cursor-pointer transition-all duration-200 hover:scale-120"
|
|
3987
|
-
),
|
|
3988
|
-
"
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
4018
|
+
), te = h(v ? "p-2" : "p-6"), X = h(
|
|
4019
|
+
"font-semibold text-foreground mb-2 line-clamp-2 leading-tight",
|
|
4020
|
+
v ? "text-base" : "text-lg font-bold"
|
|
4021
|
+
), re = h(
|
|
4022
|
+
"font-bold text-primary mb-2",
|
|
4023
|
+
v ? "text-lg" : "text-xl"
|
|
4024
|
+
), Q = h(
|
|
4025
|
+
"text-muted-foreground mb-4",
|
|
4026
|
+
v ? "text-sm flex items-center gap-1" : "text-base"
|
|
4027
|
+
), O = h(
|
|
4028
|
+
"flex items-center mb-4",
|
|
4029
|
+
v ? "justify-between mt-3" : "gap-4"
|
|
4030
|
+
), $ = h(
|
|
4031
|
+
"flex items-center gap-1 text-muted-foreground",
|
|
4032
|
+
"text-sm"
|
|
4033
|
+
), W = h(
|
|
4034
|
+
"text-sm text-muted-foreground line-clamp-2",
|
|
4035
|
+
v && "mt-2"
|
|
4036
|
+
), x = /* @__PURE__ */ f("div", { className: R, children: [
|
|
4037
|
+
/* @__PURE__ */ f("div", { className: h(L, v ? "h-52" : "aspect-[4/3]"), children: [
|
|
4038
|
+
v ? /* @__PURE__ */ n("div", { className: "text-foreground flex h-52 w-full items-center justify-center rounded-xl text-sm", children: "Imagen no disponible" }) : /* @__PURE__ */ n(
|
|
3994
4039
|
"img",
|
|
3995
4040
|
{
|
|
3996
|
-
src: e.images[
|
|
4041
|
+
src: e.images[c],
|
|
3997
4042
|
alt: e.title,
|
|
3998
|
-
className:
|
|
3999
|
-
onClick: o ?
|
|
4043
|
+
className: P,
|
|
4044
|
+
onClick: o ? N : void 0
|
|
4000
4045
|
}
|
|
4001
4046
|
),
|
|
4002
|
-
/* @__PURE__ */
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4047
|
+
/* @__PURE__ */ n("div", { className: S, children: e.transactionTypes.map((I, V) => {
|
|
4048
|
+
const H = i?.[I.type];
|
|
4049
|
+
return /* @__PURE__ */ n(
|
|
4050
|
+
"span",
|
|
4051
|
+
{
|
|
4052
|
+
className: h(
|
|
4053
|
+
F,
|
|
4054
|
+
uo(I, H)
|
|
4055
|
+
),
|
|
4056
|
+
style: H ? { backgroundColor: H } : void 0,
|
|
4057
|
+
children: I.type
|
|
4058
|
+
},
|
|
4059
|
+
V
|
|
4060
|
+
);
|
|
4061
|
+
}) }),
|
|
4062
|
+
a && /* @__PURE__ */ n(
|
|
4014
4063
|
"button",
|
|
4015
4064
|
{
|
|
4016
|
-
onClick:
|
|
4017
|
-
className:
|
|
4018
|
-
"aria-label":
|
|
4019
|
-
children: /* @__PURE__ */
|
|
4020
|
-
|
|
4065
|
+
onClick: w,
|
|
4066
|
+
className: A,
|
|
4067
|
+
"aria-label": m ? "Unlike property" : "Like property",
|
|
4068
|
+
children: v ? /* @__PURE__ */ n(
|
|
4069
|
+
"svg",
|
|
4070
|
+
{
|
|
4071
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4072
|
+
fill: m ? "red" : "none",
|
|
4073
|
+
viewBox: "0 0 24 24",
|
|
4074
|
+
strokeWidth: 2,
|
|
4075
|
+
stroke: m ? "red" : "currentColor",
|
|
4076
|
+
className: "h-5 w-5",
|
|
4077
|
+
children: /* @__PURE__ */ n(
|
|
4078
|
+
"path",
|
|
4079
|
+
{
|
|
4080
|
+
strokeLinecap: "round",
|
|
4081
|
+
strokeLinejoin: "round",
|
|
4082
|
+
d: "M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733C11.285 4.876 9.623 3.75 7.688 3.75 5.099 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12z"
|
|
4083
|
+
}
|
|
4084
|
+
)
|
|
4085
|
+
}
|
|
4086
|
+
) : /* @__PURE__ */ n(
|
|
4087
|
+
Xr,
|
|
4021
4088
|
{
|
|
4022
4089
|
size: 20,
|
|
4023
|
-
fill:
|
|
4024
|
-
className:
|
|
4090
|
+
fill: m ? "currentColor" : "none",
|
|
4091
|
+
className: m ? "text-destructive" : ""
|
|
4025
4092
|
}
|
|
4026
4093
|
)
|
|
4027
4094
|
}
|
|
4028
4095
|
),
|
|
4029
|
-
s && e.images.length > 1 && /* @__PURE__ */ f(
|
|
4030
|
-
/* @__PURE__ */
|
|
4031
|
-
|
|
4096
|
+
!v && s && e.images.length > 1 && /* @__PURE__ */ f(be, { children: [
|
|
4097
|
+
/* @__PURE__ */ n(
|
|
4098
|
+
Y,
|
|
4032
4099
|
{
|
|
4033
|
-
onClick: (
|
|
4034
|
-
|
|
4100
|
+
onClick: (I) => {
|
|
4101
|
+
I.preventDefault(), I.stopPropagation(), M();
|
|
4035
4102
|
},
|
|
4036
|
-
className: h(
|
|
4103
|
+
className: h(y, "left-4"),
|
|
4037
4104
|
"aria-label": "Previous image",
|
|
4038
|
-
children: /* @__PURE__ */
|
|
4105
|
+
children: /* @__PURE__ */ n(Wr, { size: 20 })
|
|
4039
4106
|
}
|
|
4040
4107
|
),
|
|
4041
|
-
/* @__PURE__ */
|
|
4042
|
-
|
|
4108
|
+
/* @__PURE__ */ n(
|
|
4109
|
+
Y,
|
|
4043
4110
|
{
|
|
4044
|
-
onClick: (
|
|
4045
|
-
|
|
4111
|
+
onClick: (I) => {
|
|
4112
|
+
I.preventDefault(), I.stopPropagation(), b();
|
|
4046
4113
|
},
|
|
4047
|
-
className: h(
|
|
4114
|
+
className: h(y, "right-4"),
|
|
4048
4115
|
"aria-label": "Next image",
|
|
4049
|
-
children: /* @__PURE__ */
|
|
4116
|
+
children: /* @__PURE__ */ n(Or, { size: 20 })
|
|
4050
4117
|
}
|
|
4051
4118
|
),
|
|
4052
|
-
/* @__PURE__ */
|
|
4119
|
+
/* @__PURE__ */ n("div", { className: D, children: e.images.map((I, V) => /* @__PURE__ */ n(
|
|
4053
4120
|
"button",
|
|
4054
4121
|
{
|
|
4055
4122
|
className: h(
|
|
4056
|
-
|
|
4057
|
-
|
|
4123
|
+
q,
|
|
4124
|
+
V === c ? "bg-background" : "bg-background/50"
|
|
4058
4125
|
),
|
|
4059
|
-
onClick: (
|
|
4060
|
-
|
|
4126
|
+
onClick: (H) => {
|
|
4127
|
+
H.preventDefault(), H.stopPropagation(), d(V);
|
|
4061
4128
|
},
|
|
4062
|
-
"aria-label": `Go to image ${
|
|
4063
|
-
"aria-current":
|
|
4129
|
+
"aria-label": `Go to image ${V + 1}`,
|
|
4130
|
+
"aria-current": V === c
|
|
4064
4131
|
},
|
|
4065
|
-
|
|
4132
|
+
V
|
|
4066
4133
|
)) })
|
|
4067
4134
|
] })
|
|
4068
4135
|
] }),
|
|
4069
|
-
/* @__PURE__ */ f("div", { className:
|
|
4070
|
-
/* @__PURE__ */
|
|
4071
|
-
/* @__PURE__ */
|
|
4072
|
-
/* @__PURE__ */ f("p", { className:
|
|
4136
|
+
/* @__PURE__ */ f("div", { className: te, children: [
|
|
4137
|
+
/* @__PURE__ */ n("h3", { className: X, children: e.title }),
|
|
4138
|
+
/* @__PURE__ */ n("p", { className: re, children: E(e.price?.amount, e.price?.currency) }),
|
|
4139
|
+
/* @__PURE__ */ f("p", { className: Q, children: [
|
|
4140
|
+
v && /* @__PURE__ */ n(Kr, { size: 14 }),
|
|
4073
4141
|
e.location.city,
|
|
4074
4142
|
", ",
|
|
4075
4143
|
e.location.state
|
|
4076
4144
|
] }),
|
|
4077
|
-
/* @__PURE__ */ f("div", { className:
|
|
4078
|
-
/* @__PURE__ */ f("div", { className:
|
|
4079
|
-
/* @__PURE__ */
|
|
4080
|
-
/* @__PURE__ */
|
|
4145
|
+
/* @__PURE__ */ f("div", { className: O, children: [
|
|
4146
|
+
/* @__PURE__ */ f("div", { className: $, children: [
|
|
4147
|
+
/* @__PURE__ */ n($r, { size: 16 }),
|
|
4148
|
+
/* @__PURE__ */ n("span", { children: e.features.bedrooms })
|
|
4081
4149
|
] }),
|
|
4082
|
-
/* @__PURE__ */ f("div", { className:
|
|
4083
|
-
/* @__PURE__ */
|
|
4084
|
-
/* @__PURE__ */
|
|
4150
|
+
/* @__PURE__ */ f("div", { className: $, children: [
|
|
4151
|
+
/* @__PURE__ */ n(Tr, { size: 16 }),
|
|
4152
|
+
/* @__PURE__ */ n("span", { children: e.features.bathrooms })
|
|
4085
4153
|
] }),
|
|
4086
|
-
/* @__PURE__ */ f("div", { className:
|
|
4087
|
-
/* @__PURE__ */
|
|
4088
|
-
/* @__PURE__ */
|
|
4154
|
+
/* @__PURE__ */ f("div", { className: $, children: [
|
|
4155
|
+
/* @__PURE__ */ n(Fr, { size: 16 }),
|
|
4156
|
+
/* @__PURE__ */ n("span", { children: e.features.parking })
|
|
4089
4157
|
] }),
|
|
4090
|
-
/* @__PURE__ */ f("div", { className:
|
|
4091
|
-
/* @__PURE__ */
|
|
4158
|
+
/* @__PURE__ */ f("div", { className: $, children: [
|
|
4159
|
+
/* @__PURE__ */ n(Jr, { size: 16 }),
|
|
4092
4160
|
/* @__PURE__ */ f("span", { children: [
|
|
4093
4161
|
e.features.area,
|
|
4094
4162
|
" m²"
|
|
4095
4163
|
] })
|
|
4096
4164
|
] })
|
|
4097
4165
|
] }),
|
|
4098
|
-
e.amenities.length > 0 && /* @__PURE__ */
|
|
4166
|
+
e.amenities.length > 0 && /* @__PURE__ */ n("p", { className: W, children: e.amenities.join(", ") })
|
|
4099
4167
|
] })
|
|
4100
4168
|
] });
|
|
4101
|
-
return e.href ? /* @__PURE__ */
|
|
4102
|
-
},
|
|
4169
|
+
return e.href ? /* @__PURE__ */ n("a", { href: e.href, className: "no-underline text-inherit", children: x }) : x;
|
|
4170
|
+
}, fo = ze.forwardRef(
|
|
4103
4171
|
({
|
|
4104
4172
|
images: e,
|
|
4105
|
-
transactionType:
|
|
4106
|
-
totalPhotos:
|
|
4173
|
+
transactionType: t,
|
|
4174
|
+
totalPhotos: r,
|
|
4107
4175
|
onViewAllClick: o,
|
|
4108
|
-
onImageClick:
|
|
4176
|
+
onImageClick: a,
|
|
4109
4177
|
className: s
|
|
4110
4178
|
}, l) => {
|
|
4111
4179
|
const i = e.slice(0, 5), c = (d) => {
|
|
4112
|
-
|
|
4180
|
+
a?.(d);
|
|
4113
4181
|
};
|
|
4114
4182
|
return /* @__PURE__ */ f(
|
|
4115
4183
|
"div",
|
|
@@ -4117,8 +4185,8 @@ const lo = (e) => {
|
|
|
4117
4185
|
ref: l,
|
|
4118
4186
|
className: h("w-full h-full grid grid-cols-2 gap-2", s),
|
|
4119
4187
|
children: [
|
|
4120
|
-
/* @__PURE__ */
|
|
4121
|
-
/* @__PURE__ */
|
|
4188
|
+
/* @__PURE__ */ n("div", { className: "relative col-span-1 row-span-2 rounded-2xl overflow-hidden group cursor-pointer", children: i[0] ? /* @__PURE__ */ f(be, { children: [
|
|
4189
|
+
/* @__PURE__ */ n(
|
|
4122
4190
|
"img",
|
|
4123
4191
|
{
|
|
4124
4192
|
src: i[0],
|
|
@@ -4127,9 +4195,9 @@ const lo = (e) => {
|
|
|
4127
4195
|
onClick: () => c(0)
|
|
4128
4196
|
}
|
|
4129
4197
|
),
|
|
4130
|
-
|
|
4131
|
-
] }) : /* @__PURE__ */
|
|
4132
|
-
/* @__PURE__ */
|
|
4198
|
+
t && /* @__PURE__ */ n("div", { className: "absolute top-4 left-4 bg-white rounded-full px-4 py-2 shadow-md", children: /* @__PURE__ */ n("span", { className: "text-sm font-medium text-foreground", children: t }) })
|
|
4199
|
+
] }) : /* @__PURE__ */ n("div", { className: "w-full h-full bg-muted flex items-center justify-center", children: /* @__PURE__ */ n("span", { className: "text-muted-foreground", children: "No image" }) }) }),
|
|
4200
|
+
/* @__PURE__ */ n("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: i[1] ? /* @__PURE__ */ n(
|
|
4133
4201
|
"img",
|
|
4134
4202
|
{
|
|
4135
4203
|
src: i[1],
|
|
@@ -4137,8 +4205,8 @@ const lo = (e) => {
|
|
|
4137
4205
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
4138
4206
|
onClick: () => c(1)
|
|
4139
4207
|
}
|
|
4140
|
-
) : /* @__PURE__ */
|
|
4141
|
-
/* @__PURE__ */
|
|
4208
|
+
) : /* @__PURE__ */ n("div", { className: "w-full h-full bg-muted" }) }),
|
|
4209
|
+
/* @__PURE__ */ n("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: i[2] ? /* @__PURE__ */ n(
|
|
4142
4210
|
"img",
|
|
4143
4211
|
{
|
|
4144
4212
|
src: i[2],
|
|
@@ -4146,8 +4214,8 @@ const lo = (e) => {
|
|
|
4146
4214
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
4147
4215
|
onClick: () => c(2)
|
|
4148
4216
|
}
|
|
4149
|
-
) : /* @__PURE__ */
|
|
4150
|
-
/* @__PURE__ */
|
|
4217
|
+
) : /* @__PURE__ */ n("div", { className: "w-full h-full bg-muted" }) }),
|
|
4218
|
+
/* @__PURE__ */ n("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: i[3] ? /* @__PURE__ */ n(
|
|
4151
4219
|
"img",
|
|
4152
4220
|
{
|
|
4153
4221
|
src: i[3],
|
|
@@ -4155,9 +4223,9 @@ const lo = (e) => {
|
|
|
4155
4223
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
4156
4224
|
onClick: () => c(3)
|
|
4157
4225
|
}
|
|
4158
|
-
) : /* @__PURE__ */
|
|
4159
|
-
/* @__PURE__ */
|
|
4160
|
-
/* @__PURE__ */
|
|
4226
|
+
) : /* @__PURE__ */ n("div", { className: "w-full h-full bg-muted" }) }),
|
|
4227
|
+
/* @__PURE__ */ n("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: i[4] ? /* @__PURE__ */ f(be, { children: [
|
|
4228
|
+
/* @__PURE__ */ n(
|
|
4161
4229
|
"img",
|
|
4162
4230
|
{
|
|
4163
4231
|
src: i[4],
|
|
@@ -4166,7 +4234,7 @@ const lo = (e) => {
|
|
|
4166
4234
|
onClick: () => c(4)
|
|
4167
4235
|
}
|
|
4168
4236
|
),
|
|
4169
|
-
|
|
4237
|
+
r && r > 5 && /* @__PURE__ */ n("div", { className: "absolute bottom-4 right-4", children: /* @__PURE__ */ f(
|
|
4170
4238
|
"button",
|
|
4171
4239
|
{
|
|
4172
4240
|
onClick: (d) => {
|
|
@@ -4174,38 +4242,38 @@ const lo = (e) => {
|
|
|
4174
4242
|
},
|
|
4175
4243
|
className: "flex items-center gap-2 bg-white rounded-full px-4 py-2 shadow-md hover:shadow-lg transition-all duration-200 hover:scale-105",
|
|
4176
4244
|
children: [
|
|
4177
|
-
/* @__PURE__ */
|
|
4245
|
+
/* @__PURE__ */ n(Ur, { className: "w-4 h-4 text-foreground" }),
|
|
4178
4246
|
/* @__PURE__ */ f("span", { className: "text-sm font-medium text-foreground", children: [
|
|
4179
4247
|
"Ver las ",
|
|
4180
|
-
|
|
4248
|
+
r,
|
|
4181
4249
|
" fotos"
|
|
4182
4250
|
] })
|
|
4183
4251
|
]
|
|
4184
4252
|
}
|
|
4185
4253
|
) })
|
|
4186
|
-
] }) : /* @__PURE__ */
|
|
4254
|
+
] }) : /* @__PURE__ */ n("div", { className: "w-full h-full bg-muted" }) })
|
|
4187
4255
|
]
|
|
4188
4256
|
}
|
|
4189
4257
|
);
|
|
4190
4258
|
}
|
|
4191
4259
|
);
|
|
4192
|
-
|
|
4193
|
-
const
|
|
4194
|
-
/* @__PURE__ */
|
|
4195
|
-
|
|
4260
|
+
fo.displayName = "PropertyGallery";
|
|
4261
|
+
const ut = k.forwardRef(({ title: e, description: t, className: r }, o) => /* @__PURE__ */ f("div", { ref: o, className: h("space-y-1.5", r), children: [
|
|
4262
|
+
/* @__PURE__ */ n(z, { variant: "h2", className: "font-bold", children: e }),
|
|
4263
|
+
t && /* @__PURE__ */ n(z, { variant: "body", className: "text-muted-foreground", children: t })
|
|
4196
4264
|
] }));
|
|
4197
|
-
|
|
4198
|
-
const
|
|
4265
|
+
ut.displayName = "EntityDirectoryHeader";
|
|
4266
|
+
const mt = k.forwardRef(
|
|
4199
4267
|
({
|
|
4200
4268
|
entity: e,
|
|
4201
|
-
categories:
|
|
4202
|
-
showIcon:
|
|
4269
|
+
categories: t,
|
|
4270
|
+
showIcon: r = !0,
|
|
4203
4271
|
showCategoryBadge: o = !0,
|
|
4204
|
-
showMetric:
|
|
4272
|
+
showMetric: a = !0,
|
|
4205
4273
|
compact: s = !1,
|
|
4206
4274
|
className: l
|
|
4207
4275
|
}, i) => {
|
|
4208
|
-
const c =
|
|
4276
|
+
const c = t?.find((b) => b.id === e.categoryId), d = !!e.onClick, m = () => {
|
|
4209
4277
|
e.onClick && !e.disabled && e.onClick();
|
|
4210
4278
|
}, u = (b) => {
|
|
4211
4279
|
d && (b.key === "Enter" || b.key === " ") && (b.preventDefault(), m());
|
|
@@ -4227,7 +4295,7 @@ const mr = w.forwardRef(
|
|
|
4227
4295
|
l
|
|
4228
4296
|
),
|
|
4229
4297
|
children: [
|
|
4230
|
-
|
|
4298
|
+
r && /* @__PURE__ */ n(
|
|
4231
4299
|
"div",
|
|
4232
4300
|
{
|
|
4233
4301
|
className: h(
|
|
@@ -4235,20 +4303,20 @@ const mr = w.forwardRef(
|
|
|
4235
4303
|
s ? "w-8 h-8 text-lg" : "w-10 h-10 text-xl"
|
|
4236
4304
|
),
|
|
4237
4305
|
"aria-hidden": "true",
|
|
4238
|
-
children: typeof e.icon == "string" ? /* @__PURE__ */
|
|
4306
|
+
children: typeof e.icon == "string" ? /* @__PURE__ */ n("span", { children: e.icon }) : e.icon ? k.createElement(e.icon) : /* @__PURE__ */ n("span", { className: "text-muted-foreground", children: "•" })
|
|
4239
4307
|
}
|
|
4240
4308
|
),
|
|
4241
4309
|
/* @__PURE__ */ f("div", { className: "flex-1 min-w-0", children: [
|
|
4242
|
-
/* @__PURE__ */
|
|
4243
|
-
|
|
4310
|
+
/* @__PURE__ */ n(
|
|
4311
|
+
z,
|
|
4244
4312
|
{
|
|
4245
4313
|
variant: s ? "body-sm" : "body",
|
|
4246
4314
|
className: "font-semibold truncate",
|
|
4247
4315
|
children: e.title
|
|
4248
4316
|
}
|
|
4249
4317
|
),
|
|
4250
|
-
e.subtitle && /* @__PURE__ */
|
|
4251
|
-
|
|
4318
|
+
e.subtitle && /* @__PURE__ */ n(
|
|
4319
|
+
z,
|
|
4252
4320
|
{
|
|
4253
4321
|
variant: s ? "caption" : "body-sm",
|
|
4254
4322
|
className: "text-muted-foreground truncate",
|
|
@@ -4256,8 +4324,8 @@ const mr = w.forwardRef(
|
|
|
4256
4324
|
}
|
|
4257
4325
|
)
|
|
4258
4326
|
] }),
|
|
4259
|
-
o && c && /* @__PURE__ */
|
|
4260
|
-
|
|
4327
|
+
o && c && /* @__PURE__ */ n(
|
|
4328
|
+
Le,
|
|
4261
4329
|
{
|
|
4262
4330
|
variant: "secondary",
|
|
4263
4331
|
size: s ? "sm" : "default",
|
|
@@ -4266,27 +4334,27 @@ const mr = w.forwardRef(
|
|
|
4266
4334
|
children: c.label
|
|
4267
4335
|
}
|
|
4268
4336
|
),
|
|
4269
|
-
|
|
4270
|
-
/* @__PURE__ */
|
|
4271
|
-
|
|
4337
|
+
a && e.metricValue && /* @__PURE__ */ f("div", { className: "flex-shrink-0 text-right min-w-[4rem]", children: [
|
|
4338
|
+
/* @__PURE__ */ n(
|
|
4339
|
+
z,
|
|
4272
4340
|
{
|
|
4273
4341
|
variant: s ? "body-sm" : "body",
|
|
4274
4342
|
className: "font-medium",
|
|
4275
4343
|
children: e.metricValue
|
|
4276
4344
|
}
|
|
4277
4345
|
),
|
|
4278
|
-
e.metricLabel && /* @__PURE__ */
|
|
4346
|
+
e.metricLabel && /* @__PURE__ */ n(z, { variant: "caption", className: "text-muted-foreground", children: e.metricLabel })
|
|
4279
4347
|
] })
|
|
4280
4348
|
]
|
|
4281
4349
|
}
|
|
4282
4350
|
);
|
|
4283
4351
|
}
|
|
4284
4352
|
);
|
|
4285
|
-
|
|
4286
|
-
const
|
|
4353
|
+
mt.displayName = "EntityDirectoryListItem";
|
|
4354
|
+
const ft = k.forwardRef(({ columns: e, showIcon: t, sort: r, onSortChange: o, compact: a, className: s }, l) => {
|
|
4287
4355
|
const i = (u) => {
|
|
4288
4356
|
if (!o) return;
|
|
4289
|
-
const b =
|
|
4357
|
+
const b = r?.column === u && r?.direction === "asc" ? "desc" : "asc";
|
|
4290
4358
|
o({
|
|
4291
4359
|
column: u,
|
|
4292
4360
|
direction: b
|
|
@@ -4295,7 +4363,7 @@ const fr = w.forwardRef(({ columns: e, showIcon: r, sort: t, onSortChange: o, co
|
|
|
4295
4363
|
i(u);
|
|
4296
4364
|
}, d = (u, b) => {
|
|
4297
4365
|
(u.key === "Enter" || u.key === " ") && (u.preventDefault(), i(b));
|
|
4298
|
-
}, m = (u) => u !== "title" && u !== "metric" ? null : !
|
|
4366
|
+
}, m = (u) => u !== "title" && u !== "metric" ? null : !r || r.column !== u ? /* @__PURE__ */ n("span", { className: "ml-1 text-muted-foreground opacity-50", "aria-hidden": "true", children: "⇅" }) : /* @__PURE__ */ n("span", { className: "ml-1", "aria-hidden": "true", children: r.direction === "asc" ? "↑" : "↓" });
|
|
4299
4367
|
return /* @__PURE__ */ f(
|
|
4300
4368
|
"div",
|
|
4301
4369
|
{
|
|
@@ -4303,18 +4371,18 @@ const fr = w.forwardRef(({ columns: e, showIcon: r, sort: t, onSortChange: o, co
|
|
|
4303
4371
|
role: "row",
|
|
4304
4372
|
className: h(
|
|
4305
4373
|
"flex items-center gap-4 bg-background border-b border-border font-medium text-sm text-muted-foreground",
|
|
4306
|
-
|
|
4374
|
+
a ? "px-3 py-2" : "px-4 py-3",
|
|
4307
4375
|
s
|
|
4308
4376
|
),
|
|
4309
4377
|
children: [
|
|
4310
|
-
|
|
4378
|
+
t && /* @__PURE__ */ n("div", { className: a ? "w-8" : "w-10" }),
|
|
4311
4379
|
e.map((u) => {
|
|
4312
|
-
const b = u.sortable && (u.key === "title" || u.key === "metric"), M =
|
|
4380
|
+
const b = u.sortable && (u.key === "title" || u.key === "metric"), M = r?.column === u.key;
|
|
4313
4381
|
return /* @__PURE__ */ f(
|
|
4314
4382
|
"div",
|
|
4315
4383
|
{
|
|
4316
4384
|
role: "columnheader",
|
|
4317
|
-
"aria-sort": M ?
|
|
4385
|
+
"aria-sort": M ? r?.direction === "asc" ? "ascending" : "descending" : void 0,
|
|
4318
4386
|
className: h(
|
|
4319
4387
|
u.key === "title" && "flex-1",
|
|
4320
4388
|
u.key === "category" && "w-40",
|
|
@@ -4327,7 +4395,7 @@ const fr = w.forwardRef(({ columns: e, showIcon: r, sort: t, onSortChange: o, co
|
|
|
4327
4395
|
style: u.width ? { width: u.width } : void 0,
|
|
4328
4396
|
onClick: b && (u.key === "title" || u.key === "metric") ? () => c(u.key) : void 0,
|
|
4329
4397
|
tabIndex: b ? 0 : void 0,
|
|
4330
|
-
onKeyDown: b && (u.key === "title" || u.key === "metric") ? (
|
|
4398
|
+
onKeyDown: b && (u.key === "title" || u.key === "metric") ? (w) => d(w, u.key) : void 0,
|
|
4331
4399
|
children: [
|
|
4332
4400
|
u.label,
|
|
4333
4401
|
b && m(u.key)
|
|
@@ -4340,14 +4408,14 @@ const fr = w.forwardRef(({ columns: e, showIcon: r, sort: t, onSortChange: o, co
|
|
|
4340
4408
|
}
|
|
4341
4409
|
);
|
|
4342
4410
|
});
|
|
4343
|
-
|
|
4344
|
-
const
|
|
4411
|
+
ft.displayName = "EntityDirectoryTableHeader";
|
|
4412
|
+
const pt = k.forwardRef(
|
|
4345
4413
|
({
|
|
4346
4414
|
entities: e,
|
|
4347
|
-
categories:
|
|
4348
|
-
showIcons:
|
|
4415
|
+
categories: t,
|
|
4416
|
+
showIcons: r = !0,
|
|
4349
4417
|
showCategoryBadges: o = !0,
|
|
4350
|
-
showMetric:
|
|
4418
|
+
showMetric: a = !0,
|
|
4351
4419
|
metricLabel: s,
|
|
4352
4420
|
sortable: l = !1,
|
|
4353
4421
|
sort: i,
|
|
@@ -4363,7 +4431,7 @@ const pr = w.forwardRef(
|
|
|
4363
4431
|
sortable: l
|
|
4364
4432
|
},
|
|
4365
4433
|
...o ? [{ key: "category", label: "Categoría", sortable: !1 }] : [],
|
|
4366
|
-
...
|
|
4434
|
+
...a && s ? [
|
|
4367
4435
|
{
|
|
4368
4436
|
key: "metric",
|
|
4369
4437
|
label: s,
|
|
@@ -4380,28 +4448,28 @@ const pr = w.forwardRef(
|
|
|
4380
4448
|
"aria-label": "Entity directory",
|
|
4381
4449
|
className: h("border border-border rounded-lg overflow-hidden", u),
|
|
4382
4450
|
children: [
|
|
4383
|
-
/* @__PURE__ */
|
|
4384
|
-
|
|
4451
|
+
/* @__PURE__ */ n(
|
|
4452
|
+
ft,
|
|
4385
4453
|
{
|
|
4386
4454
|
columns: M,
|
|
4387
|
-
showIcon:
|
|
4455
|
+
showIcon: r,
|
|
4388
4456
|
sort: i,
|
|
4389
4457
|
onSortChange: c,
|
|
4390
4458
|
compact: d
|
|
4391
4459
|
}
|
|
4392
4460
|
),
|
|
4393
|
-
/* @__PURE__ */
|
|
4394
|
-
(
|
|
4395
|
-
|
|
4461
|
+
/* @__PURE__ */ n("div", { role: "rowgroup", children: e.map(
|
|
4462
|
+
(w) => m ? /* @__PURE__ */ n(k.Fragment, { children: m(w) }, w.id) : /* @__PURE__ */ n(
|
|
4463
|
+
mt,
|
|
4396
4464
|
{
|
|
4397
|
-
entity:
|
|
4398
|
-
categories:
|
|
4399
|
-
showIcon:
|
|
4465
|
+
entity: w,
|
|
4466
|
+
categories: t,
|
|
4467
|
+
showIcon: r,
|
|
4400
4468
|
showCategoryBadge: o,
|
|
4401
|
-
showMetric:
|
|
4469
|
+
showMetric: a,
|
|
4402
4470
|
compact: d
|
|
4403
4471
|
},
|
|
4404
|
-
|
|
4472
|
+
w.id
|
|
4405
4473
|
)
|
|
4406
4474
|
) })
|
|
4407
4475
|
]
|
|
@@ -4409,11 +4477,11 @@ const pr = w.forwardRef(
|
|
|
4409
4477
|
);
|
|
4410
4478
|
}
|
|
4411
4479
|
);
|
|
4412
|
-
|
|
4413
|
-
const
|
|
4480
|
+
pt.displayName = "EntityDirectoryList";
|
|
4481
|
+
const gt = k.forwardRef(({ message: e = "No entities found", icon: t, action: r, className: o }, a) => /* @__PURE__ */ f(
|
|
4414
4482
|
"div",
|
|
4415
4483
|
{
|
|
4416
|
-
ref:
|
|
4484
|
+
ref: a,
|
|
4417
4485
|
role: "status",
|
|
4418
4486
|
"aria-live": "polite",
|
|
4419
4487
|
className: h(
|
|
@@ -4421,15 +4489,15 @@ const gr = w.forwardRef(({ message: e = "No entities found", icon: r, action: t,
|
|
|
4421
4489
|
o
|
|
4422
4490
|
),
|
|
4423
4491
|
children: [
|
|
4424
|
-
|
|
4425
|
-
/* @__PURE__ */
|
|
4426
|
-
|
|
4492
|
+
t && /* @__PURE__ */ n("div", { className: "mb-4 text-4xl opacity-50", "aria-hidden": "true", children: t }),
|
|
4493
|
+
/* @__PURE__ */ n(z, { variant: "body-lg", className: "text-muted-foreground mb-4", children: e }),
|
|
4494
|
+
r && /* @__PURE__ */ n(Y, { variant: "outline", onClick: r.onClick, children: r.label })
|
|
4427
4495
|
]
|
|
4428
4496
|
}
|
|
4429
4497
|
));
|
|
4430
|
-
|
|
4431
|
-
const
|
|
4432
|
-
const
|
|
4498
|
+
gt.displayName = "EntityDirectoryEmptyState";
|
|
4499
|
+
const ht = k.forwardRef(({ error: e, onRetry: t, className: r }, o) => {
|
|
4500
|
+
const a = typeof e == "string" ? e : e.message;
|
|
4433
4501
|
return /* @__PURE__ */ f(
|
|
4434
4502
|
"div",
|
|
4435
4503
|
{
|
|
@@ -4438,50 +4506,50 @@ const hr = w.forwardRef(({ error: e, onRetry: r, className: t }, o) => {
|
|
|
4438
4506
|
"aria-live": "assertive",
|
|
4439
4507
|
className: h(
|
|
4440
4508
|
"flex flex-col items-center justify-center py-12 px-4 text-center",
|
|
4441
|
-
|
|
4509
|
+
r
|
|
4442
4510
|
),
|
|
4443
4511
|
children: [
|
|
4444
|
-
/* @__PURE__ */
|
|
4445
|
-
/* @__PURE__ */
|
|
4446
|
-
/* @__PURE__ */
|
|
4447
|
-
|
|
4512
|
+
/* @__PURE__ */ n("div", { className: "mb-4 text-4xl", "aria-hidden": "true", children: "⚠️" }),
|
|
4513
|
+
/* @__PURE__ */ n(z, { variant: "body-lg", className: "text-destructive mb-2 font-semibold", children: "Error" }),
|
|
4514
|
+
/* @__PURE__ */ n(z, { variant: "body", className: "text-muted-foreground mb-4", children: a }),
|
|
4515
|
+
t && /* @__PURE__ */ n(Y, { variant: "outline", onClick: t, children: "Try Again" })
|
|
4448
4516
|
]
|
|
4449
4517
|
}
|
|
4450
4518
|
);
|
|
4451
4519
|
});
|
|
4452
|
-
|
|
4453
|
-
const
|
|
4520
|
+
ht.displayName = "EntityDirectoryErrorState";
|
|
4521
|
+
const bt = k.forwardRef(({ rows: e = 5, className: t }, r) => /* @__PURE__ */ f(
|
|
4454
4522
|
"div",
|
|
4455
4523
|
{
|
|
4456
|
-
ref:
|
|
4524
|
+
ref: r,
|
|
4457
4525
|
role: "status",
|
|
4458
4526
|
"aria-live": "polite",
|
|
4459
4527
|
"aria-label": "Loading entities",
|
|
4460
|
-
className: h("space-y-3",
|
|
4528
|
+
className: h("space-y-3", t),
|
|
4461
4529
|
children: [
|
|
4462
|
-
Array.from({ length: e }).map((o,
|
|
4530
|
+
Array.from({ length: e }).map((o, a) => /* @__PURE__ */ f(
|
|
4463
4531
|
"div",
|
|
4464
4532
|
{
|
|
4465
4533
|
className: "flex items-center gap-4 p-4 border border-border rounded-lg animate-pulse",
|
|
4466
4534
|
children: [
|
|
4467
|
-
/* @__PURE__ */
|
|
4535
|
+
/* @__PURE__ */ n("div", { className: "w-10 h-10 bg-muted rounded-full flex-shrink-0" }),
|
|
4468
4536
|
/* @__PURE__ */ f("div", { className: "flex-1 space-y-2", children: [
|
|
4469
|
-
/* @__PURE__ */
|
|
4470
|
-
/* @__PURE__ */
|
|
4537
|
+
/* @__PURE__ */ n("div", { className: "h-4 bg-muted rounded w-1/3" }),
|
|
4538
|
+
/* @__PURE__ */ n("div", { className: "h-3 bg-muted rounded w-1/2" })
|
|
4471
4539
|
] }),
|
|
4472
|
-
/* @__PURE__ */
|
|
4473
|
-
/* @__PURE__ */
|
|
4540
|
+
/* @__PURE__ */ n("div", { className: "h-6 bg-muted rounded-full w-24 flex-shrink-0" }),
|
|
4541
|
+
/* @__PURE__ */ n("div", { className: "h-4 bg-muted rounded w-16 flex-shrink-0" })
|
|
4474
4542
|
]
|
|
4475
4543
|
},
|
|
4476
|
-
|
|
4544
|
+
a
|
|
4477
4545
|
)),
|
|
4478
|
-
/* @__PURE__ */
|
|
4546
|
+
/* @__PURE__ */ n("span", { className: "sr-only", children: "Loading..." })
|
|
4479
4547
|
]
|
|
4480
4548
|
}
|
|
4481
4549
|
));
|
|
4482
|
-
|
|
4483
|
-
const
|
|
4484
|
-
/* @__PURE__ */
|
|
4550
|
+
bt.displayName = "EntityDirectoryLoadingState";
|
|
4551
|
+
const xt = k.forwardRef(({ value: e, onChange: t, placeholder: r = "Search entities...", className: o }, a) => /* @__PURE__ */ f("div", { className: h("relative", o), children: [
|
|
4552
|
+
/* @__PURE__ */ n("div", { className: "absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none", children: /* @__PURE__ */ n(
|
|
4485
4553
|
"svg",
|
|
4486
4554
|
{
|
|
4487
4555
|
className: "w-4 h-4 text-muted-foreground",
|
|
@@ -4489,7 +4557,7 @@ const xr = w.forwardRef(({ value: e, onChange: r, placeholder: t = "Search entit
|
|
|
4489
4557
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4490
4558
|
fill: "none",
|
|
4491
4559
|
viewBox: "0 0 20 20",
|
|
4492
|
-
children: /* @__PURE__ */
|
|
4560
|
+
children: /* @__PURE__ */ n(
|
|
4493
4561
|
"path",
|
|
4494
4562
|
{
|
|
4495
4563
|
stroke: "currentColor",
|
|
@@ -4501,14 +4569,14 @@ const xr = w.forwardRef(({ value: e, onChange: r, placeholder: t = "Search entit
|
|
|
4501
4569
|
)
|
|
4502
4570
|
}
|
|
4503
4571
|
) }),
|
|
4504
|
-
/* @__PURE__ */
|
|
4572
|
+
/* @__PURE__ */ n(
|
|
4505
4573
|
"input",
|
|
4506
4574
|
{
|
|
4507
|
-
ref:
|
|
4575
|
+
ref: a,
|
|
4508
4576
|
type: "search",
|
|
4509
4577
|
value: e,
|
|
4510
|
-
onChange: (s) =>
|
|
4511
|
-
placeholder:
|
|
4578
|
+
onChange: (s) => t(s.target.value),
|
|
4579
|
+
placeholder: r,
|
|
4512
4580
|
className: h(
|
|
4513
4581
|
"block w-full pl-10 pr-3 py-2 border border-input rounded-md",
|
|
4514
4582
|
"bg-background text-foreground placeholder:text-muted-foreground",
|
|
@@ -4518,21 +4586,21 @@ const xr = w.forwardRef(({ value: e, onChange: r, placeholder: t = "Search entit
|
|
|
4518
4586
|
"aria-label": "Search entities"
|
|
4519
4587
|
}
|
|
4520
4588
|
),
|
|
4521
|
-
e && /* @__PURE__ */
|
|
4589
|
+
e && /* @__PURE__ */ n(
|
|
4522
4590
|
"button",
|
|
4523
4591
|
{
|
|
4524
4592
|
type: "button",
|
|
4525
|
-
onClick: () =>
|
|
4593
|
+
onClick: () => t(""),
|
|
4526
4594
|
className: "absolute inset-y-0 right-0 flex items-center pr-3 text-muted-foreground hover:text-foreground",
|
|
4527
4595
|
"aria-label": "Clear search",
|
|
4528
|
-
children: /* @__PURE__ */
|
|
4596
|
+
children: /* @__PURE__ */ n(
|
|
4529
4597
|
"svg",
|
|
4530
4598
|
{
|
|
4531
4599
|
className: "w-4 h-4",
|
|
4532
4600
|
fill: "none",
|
|
4533
4601
|
stroke: "currentColor",
|
|
4534
4602
|
viewBox: "0 0 24 24",
|
|
4535
|
-
children: /* @__PURE__ */
|
|
4603
|
+
children: /* @__PURE__ */ n(
|
|
4536
4604
|
"path",
|
|
4537
4605
|
{
|
|
4538
4606
|
strokeLinecap: "round",
|
|
@@ -4546,14 +4614,14 @@ const xr = w.forwardRef(({ value: e, onChange: r, placeholder: t = "Search entit
|
|
|
4546
4614
|
}
|
|
4547
4615
|
)
|
|
4548
4616
|
] }));
|
|
4549
|
-
|
|
4550
|
-
const
|
|
4617
|
+
xt.displayName = "EntityDirectorySearchFilter";
|
|
4618
|
+
const po = k.forwardRef(
|
|
4551
4619
|
({
|
|
4552
4620
|
entities: e,
|
|
4553
|
-
categories:
|
|
4554
|
-
title:
|
|
4621
|
+
categories: t,
|
|
4622
|
+
title: r,
|
|
4555
4623
|
description: o,
|
|
4556
|
-
activeCategory:
|
|
4624
|
+
activeCategory: a,
|
|
4557
4625
|
onCategoryChange: s,
|
|
4558
4626
|
showCategoryCount: l,
|
|
4559
4627
|
getCategoryCount: i,
|
|
@@ -4563,67 +4631,67 @@ const mo = w.forwardRef(
|
|
|
4563
4631
|
searchPlaceholder: u,
|
|
4564
4632
|
sortable: b = !1,
|
|
4565
4633
|
sort: M,
|
|
4566
|
-
onSortChange:
|
|
4567
|
-
showIcons:
|
|
4634
|
+
onSortChange: w,
|
|
4635
|
+
showIcons: N = !0,
|
|
4568
4636
|
showCategoryBadges: E = !0,
|
|
4569
|
-
showMetric:
|
|
4570
|
-
metricLabel:
|
|
4637
|
+
showMetric: v = !0,
|
|
4638
|
+
metricLabel: R,
|
|
4571
4639
|
compact: L = !1,
|
|
4572
4640
|
loading: P = !1,
|
|
4573
4641
|
error: S,
|
|
4574
|
-
emptyMessage:
|
|
4575
|
-
onRetry:
|
|
4642
|
+
emptyMessage: F,
|
|
4643
|
+
onRetry: A,
|
|
4576
4644
|
emptyState: y,
|
|
4577
|
-
errorState:
|
|
4578
|
-
loadingState:
|
|
4579
|
-
renderItem:
|
|
4580
|
-
className:
|
|
4581
|
-
style:
|
|
4582
|
-
},
|
|
4583
|
-
const
|
|
4645
|
+
errorState: D,
|
|
4646
|
+
loadingState: q,
|
|
4647
|
+
renderItem: te,
|
|
4648
|
+
className: X,
|
|
4649
|
+
style: re
|
|
4650
|
+
}, Q) => {
|
|
4651
|
+
const O = t && t.length > 0, $ = !P && !S && e.length === 0, W = !P && !!S;
|
|
4584
4652
|
return /* @__PURE__ */ f(
|
|
4585
4653
|
"div",
|
|
4586
4654
|
{
|
|
4587
|
-
ref:
|
|
4588
|
-
className: h("space-y-6",
|
|
4589
|
-
style:
|
|
4655
|
+
ref: Q,
|
|
4656
|
+
className: h("space-y-6", X),
|
|
4657
|
+
style: re,
|
|
4590
4658
|
children: [
|
|
4591
|
-
/* @__PURE__ */
|
|
4592
|
-
|
|
4593
|
-
|
|
4659
|
+
/* @__PURE__ */ n(ut, { title: r, description: o }),
|
|
4660
|
+
O && s && /* @__PURE__ */ n(
|
|
4661
|
+
dt,
|
|
4594
4662
|
{
|
|
4595
|
-
categories:
|
|
4596
|
-
activeCategory:
|
|
4663
|
+
categories: t,
|
|
4664
|
+
activeCategory: a,
|
|
4597
4665
|
onCategoryChange: s,
|
|
4598
4666
|
showCount: l,
|
|
4599
4667
|
getCategoryCount: i
|
|
4600
4668
|
}
|
|
4601
4669
|
),
|
|
4602
|
-
c && m && /* @__PURE__ */
|
|
4603
|
-
|
|
4670
|
+
c && m && /* @__PURE__ */ n(
|
|
4671
|
+
xt,
|
|
4604
4672
|
{
|
|
4605
4673
|
value: d,
|
|
4606
4674
|
onChange: m,
|
|
4607
4675
|
placeholder: u
|
|
4608
4676
|
}
|
|
4609
4677
|
),
|
|
4610
|
-
P && (
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
!P && !
|
|
4614
|
-
|
|
4678
|
+
P && (q || /* @__PURE__ */ n(bt, {})),
|
|
4679
|
+
W && (D || /* @__PURE__ */ n(ht, { error: S, onRetry: A })),
|
|
4680
|
+
$ && (y || /* @__PURE__ */ n(gt, { message: F })),
|
|
4681
|
+
!P && !W && !$ && /* @__PURE__ */ n(
|
|
4682
|
+
pt,
|
|
4615
4683
|
{
|
|
4616
4684
|
entities: e,
|
|
4617
|
-
categories:
|
|
4618
|
-
showIcons:
|
|
4685
|
+
categories: t,
|
|
4686
|
+
showIcons: N,
|
|
4619
4687
|
showCategoryBadges: E,
|
|
4620
|
-
showMetric:
|
|
4621
|
-
metricLabel:
|
|
4688
|
+
showMetric: v,
|
|
4689
|
+
metricLabel: R,
|
|
4622
4690
|
sortable: b,
|
|
4623
4691
|
sort: M,
|
|
4624
|
-
onSortChange:
|
|
4692
|
+
onSortChange: w,
|
|
4625
4693
|
compact: L,
|
|
4626
|
-
renderItem:
|
|
4694
|
+
renderItem: te
|
|
4627
4695
|
}
|
|
4628
4696
|
)
|
|
4629
4697
|
]
|
|
@@ -4631,22 +4699,22 @@ const mo = w.forwardRef(
|
|
|
4631
4699
|
);
|
|
4632
4700
|
}
|
|
4633
4701
|
);
|
|
4634
|
-
|
|
4635
|
-
function
|
|
4702
|
+
po.displayName = "EntityDirectory";
|
|
4703
|
+
function go(e) {
|
|
4636
4704
|
const {
|
|
4637
|
-
propertyPrice:
|
|
4638
|
-
downPayment:
|
|
4705
|
+
propertyPrice: t,
|
|
4706
|
+
downPayment: r,
|
|
4639
4707
|
loanTerm: o,
|
|
4640
|
-
interestRate:
|
|
4708
|
+
interestRate: a,
|
|
4641
4709
|
propertyTax: s = 0,
|
|
4642
4710
|
hoaFees: l = 0
|
|
4643
|
-
} = e, i =
|
|
4711
|
+
} = e, i = t - r, c = a / 100 / 12, d = o * 12;
|
|
4644
4712
|
let m;
|
|
4645
4713
|
if (c === 0)
|
|
4646
4714
|
m = i / d;
|
|
4647
4715
|
else {
|
|
4648
|
-
const
|
|
4649
|
-
m = i * (c *
|
|
4716
|
+
const w = Math.pow(1 + c, d);
|
|
4717
|
+
m = i * (c * w) / (w - 1);
|
|
4650
4718
|
}
|
|
4651
4719
|
const u = m * d, b = u - i, M = m + s + l;
|
|
4652
4720
|
return {
|
|
@@ -4662,148 +4730,148 @@ function fo(e) {
|
|
|
4662
4730
|
}
|
|
4663
4731
|
};
|
|
4664
4732
|
}
|
|
4665
|
-
function
|
|
4733
|
+
function le(e, t = "MXN") {
|
|
4666
4734
|
return new Intl.NumberFormat("es-MX", {
|
|
4667
4735
|
style: "currency",
|
|
4668
|
-
currency:
|
|
4736
|
+
currency: t,
|
|
4669
4737
|
minimumFractionDigits: 0,
|
|
4670
4738
|
maximumFractionDigits: 0
|
|
4671
4739
|
}).format(e);
|
|
4672
4740
|
}
|
|
4673
|
-
function
|
|
4674
|
-
return `${e.toFixed(
|
|
4741
|
+
function To(e, t = 3) {
|
|
4742
|
+
return `${e.toFixed(t)} %`;
|
|
4675
4743
|
}
|
|
4676
|
-
function
|
|
4677
|
-
const
|
|
4678
|
-
return (!e.propertyPrice || e.propertyPrice <= 0) && (
|
|
4679
|
-
isValid: Object.keys(
|
|
4680
|
-
errors:
|
|
4744
|
+
function jo(e) {
|
|
4745
|
+
const t = {};
|
|
4746
|
+
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"), {
|
|
4747
|
+
isValid: Object.keys(t).length === 0,
|
|
4748
|
+
errors: t
|
|
4681
4749
|
};
|
|
4682
4750
|
}
|
|
4683
|
-
const
|
|
4751
|
+
const yt = [
|
|
4684
4752
|
{ value: "15-years", label: "15 años fijos", years: 15 },
|
|
4685
4753
|
{ value: "20-years", label: "20 años fijos", years: 20 },
|
|
4686
4754
|
{ value: "30-years", label: "30 años fijos", years: 30 },
|
|
4687
4755
|
{ value: "40-years", label: "40 años fijos", years: 40 }
|
|
4688
|
-
],
|
|
4756
|
+
], ho = yt.map(
|
|
4689
4757
|
(e) => ({
|
|
4690
4758
|
value: e.value,
|
|
4691
4759
|
label: e.label
|
|
4692
4760
|
})
|
|
4693
|
-
),
|
|
4761
|
+
), he = {
|
|
4694
4762
|
propertyPrice: 2e7,
|
|
4695
4763
|
downPayment: 2e5,
|
|
4696
4764
|
loanProgram: "30-years",
|
|
4697
4765
|
interestRate: 6.5
|
|
4698
|
-
},
|
|
4766
|
+
}, Ce = {
|
|
4699
4767
|
principalAndInterest: "#0a2540",
|
|
4700
4768
|
// Dark blue/navy
|
|
4701
4769
|
propertyTax: "#4da6c7",
|
|
4702
4770
|
// Light blue
|
|
4703
4771
|
hoaFees: "#7fc9e3"
|
|
4704
4772
|
// Very light blue
|
|
4705
|
-
},
|
|
4773
|
+
}, bo = k.forwardRef(
|
|
4706
4774
|
({
|
|
4707
|
-
initialPropertyPrice: e =
|
|
4708
|
-
initialDownPayment:
|
|
4709
|
-
initialLoanProgram:
|
|
4710
|
-
initialInterestRate: o =
|
|
4711
|
-
showPropertyTax:
|
|
4775
|
+
initialPropertyPrice: e = he.propertyPrice,
|
|
4776
|
+
initialDownPayment: t = he.downPayment,
|
|
4777
|
+
initialLoanProgram: r = he.loanProgram,
|
|
4778
|
+
initialInterestRate: o = he.interestRate,
|
|
4779
|
+
showPropertyTax: a = !1,
|
|
4712
4780
|
showHoaFees: s = !1,
|
|
4713
4781
|
className: l,
|
|
4714
4782
|
onCalculationChange: i
|
|
4715
4783
|
}, c) => {
|
|
4716
|
-
const [d, m] =
|
|
4717
|
-
const y =
|
|
4718
|
-
(
|
|
4784
|
+
const [d, m] = k.useState(e), [u, b] = k.useState(t), [M, w] = k.useState(r), [N, E] = k.useState(o), [v, R] = k.useState(0), [L, P] = k.useState(0), S = k.useMemo(() => {
|
|
4785
|
+
const y = yt.find(
|
|
4786
|
+
(q) => q.value === M
|
|
4719
4787
|
)?.years || 30;
|
|
4720
|
-
return
|
|
4788
|
+
return go({
|
|
4721
4789
|
propertyPrice: d,
|
|
4722
4790
|
downPayment: u,
|
|
4723
4791
|
loanTerm: y,
|
|
4724
|
-
interestRate:
|
|
4725
|
-
propertyTax:
|
|
4792
|
+
interestRate: N,
|
|
4793
|
+
propertyTax: a ? v : void 0,
|
|
4726
4794
|
hoaFees: s ? L : void 0
|
|
4727
4795
|
});
|
|
4728
4796
|
}, [
|
|
4729
4797
|
d,
|
|
4730
4798
|
u,
|
|
4731
4799
|
M,
|
|
4732
|
-
|
|
4733
|
-
|
|
4800
|
+
N,
|
|
4801
|
+
v,
|
|
4734
4802
|
L,
|
|
4735
|
-
|
|
4803
|
+
a,
|
|
4736
4804
|
s
|
|
4737
4805
|
]);
|
|
4738
|
-
|
|
4806
|
+
k.useEffect(() => {
|
|
4739
4807
|
i?.(S);
|
|
4740
4808
|
}, [S, i]);
|
|
4741
|
-
const
|
|
4742
|
-
const
|
|
4809
|
+
const F = k.useMemo(() => {
|
|
4810
|
+
const A = [
|
|
4743
4811
|
{
|
|
4744
4812
|
label: "Principal e Intereses",
|
|
4745
4813
|
value: S.breakdown.principalAndInterest,
|
|
4746
|
-
color:
|
|
4814
|
+
color: Ce.principalAndInterest
|
|
4747
4815
|
}
|
|
4748
4816
|
];
|
|
4749
|
-
return
|
|
4817
|
+
return a && S.breakdown.propertyTax > 0 && A.push({
|
|
4750
4818
|
label: "Impuesto Predial",
|
|
4751
4819
|
value: S.breakdown.propertyTax,
|
|
4752
|
-
color:
|
|
4753
|
-
}), s && S.breakdown.hoaFees > 0 &&
|
|
4820
|
+
color: Ce.propertyTax
|
|
4821
|
+
}), s && S.breakdown.hoaFees > 0 && A.push({
|
|
4754
4822
|
label: "Cuota HOA",
|
|
4755
4823
|
value: S.breakdown.hoaFees,
|
|
4756
|
-
color:
|
|
4757
|
-
}),
|
|
4758
|
-
}, [S,
|
|
4759
|
-
return /* @__PURE__ */
|
|
4824
|
+
color: Ce.hoaFees
|
|
4825
|
+
}), A;
|
|
4826
|
+
}, [S, a, s]);
|
|
4827
|
+
return /* @__PURE__ */ n("div", { ref: c, className: h("w-full", l), children: /* @__PURE__ */ n(st, { padding: "lg", className: "w-full", children: /* @__PURE__ */ f("div", { className: "space-y-6", children: [
|
|
4760
4828
|
/* @__PURE__ */ f("div", { children: [
|
|
4761
|
-
/* @__PURE__ */
|
|
4762
|
-
/* @__PURE__ */
|
|
4829
|
+
/* @__PURE__ */ n(z, { variant: "h2", className: "mb-2", children: "Calculadora de Hipotecas" }),
|
|
4830
|
+
/* @__PURE__ */ n(z, { 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." })
|
|
4763
4831
|
] }),
|
|
4764
4832
|
/* @__PURE__ */ f("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-8", children: [
|
|
4765
4833
|
/* @__PURE__ */ f("div", { className: "space-y-4", children: [
|
|
4766
|
-
/* @__PURE__ */
|
|
4767
|
-
|
|
4834
|
+
/* @__PURE__ */ n(
|
|
4835
|
+
ne,
|
|
4768
4836
|
{
|
|
4769
4837
|
label: "Precio de la propiedad",
|
|
4770
4838
|
type: "number",
|
|
4771
4839
|
value: d,
|
|
4772
|
-
onChange: (
|
|
4840
|
+
onChange: (A) => m(Number(A.target.value)),
|
|
4773
4841
|
suffix: "MXN",
|
|
4774
4842
|
min: 0,
|
|
4775
4843
|
step: 1e4
|
|
4776
4844
|
}
|
|
4777
4845
|
),
|
|
4778
|
-
/* @__PURE__ */
|
|
4779
|
-
|
|
4846
|
+
/* @__PURE__ */ n(
|
|
4847
|
+
ne,
|
|
4780
4848
|
{
|
|
4781
4849
|
label: "Enganche",
|
|
4782
4850
|
type: "number",
|
|
4783
4851
|
value: u,
|
|
4784
|
-
onChange: (
|
|
4852
|
+
onChange: (A) => b(Number(A.target.value)),
|
|
4785
4853
|
suffix: "MXN",
|
|
4786
4854
|
min: 0,
|
|
4787
4855
|
step: 1e4
|
|
4788
4856
|
}
|
|
4789
4857
|
),
|
|
4790
4858
|
/* @__PURE__ */ f("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
4791
|
-
/* @__PURE__ */
|
|
4792
|
-
|
|
4859
|
+
/* @__PURE__ */ n(
|
|
4860
|
+
lt,
|
|
4793
4861
|
{
|
|
4794
4862
|
label: "Programa de préstamos",
|
|
4795
4863
|
value: M,
|
|
4796
|
-
onChange: (
|
|
4797
|
-
options:
|
|
4864
|
+
onChange: (A) => w(A.target.value),
|
|
4865
|
+
options: ho
|
|
4798
4866
|
}
|
|
4799
4867
|
),
|
|
4800
|
-
/* @__PURE__ */
|
|
4801
|
-
|
|
4868
|
+
/* @__PURE__ */ n(
|
|
4869
|
+
ne,
|
|
4802
4870
|
{
|
|
4803
4871
|
label: "Tasa de interés",
|
|
4804
4872
|
type: "number",
|
|
4805
|
-
value:
|
|
4806
|
-
onChange: (
|
|
4873
|
+
value: N,
|
|
4874
|
+
onChange: (A) => E(Number(A.target.value)),
|
|
4807
4875
|
suffix: "%",
|
|
4808
4876
|
min: 0,
|
|
4809
4877
|
max: 100,
|
|
@@ -4811,25 +4879,25 @@ const yr = [
|
|
|
4811
4879
|
}
|
|
4812
4880
|
)
|
|
4813
4881
|
] }),
|
|
4814
|
-
|
|
4815
|
-
|
|
4882
|
+
a && /* @__PURE__ */ n(
|
|
4883
|
+
ne,
|
|
4816
4884
|
{
|
|
4817
4885
|
label: "Impuesto predial mensual",
|
|
4818
4886
|
type: "number",
|
|
4819
|
-
value:
|
|
4820
|
-
onChange: (
|
|
4887
|
+
value: v,
|
|
4888
|
+
onChange: (A) => R(Number(A.target.value)),
|
|
4821
4889
|
suffix: "MXN",
|
|
4822
4890
|
min: 0,
|
|
4823
4891
|
step: 100
|
|
4824
4892
|
}
|
|
4825
4893
|
),
|
|
4826
|
-
s && /* @__PURE__ */
|
|
4827
|
-
|
|
4894
|
+
s && /* @__PURE__ */ n(
|
|
4895
|
+
ne,
|
|
4828
4896
|
{
|
|
4829
4897
|
label: "Cuota HOA mensual",
|
|
4830
4898
|
type: "number",
|
|
4831
4899
|
value: L,
|
|
4832
|
-
onChange: (
|
|
4900
|
+
onChange: (A) => P(Number(A.target.value)),
|
|
4833
4901
|
suffix: "MXN",
|
|
4834
4902
|
min: 0,
|
|
4835
4903
|
step: 100
|
|
@@ -4837,15 +4905,15 @@ const yr = [
|
|
|
4837
4905
|
)
|
|
4838
4906
|
] }),
|
|
4839
4907
|
/* @__PURE__ */ f("div", { className: "flex flex-col items-center justify-center", children: [
|
|
4840
|
-
/* @__PURE__ */
|
|
4841
|
-
|
|
4908
|
+
/* @__PURE__ */ n(
|
|
4909
|
+
ct,
|
|
4842
4910
|
{
|
|
4843
|
-
segments:
|
|
4911
|
+
segments: F,
|
|
4844
4912
|
size: 320,
|
|
4845
4913
|
innerRadiusRatio: 0.65,
|
|
4846
4914
|
centerContent: /* @__PURE__ */ f("div", { className: "text-center", children: [
|
|
4847
|
-
/* @__PURE__ */
|
|
4848
|
-
/* @__PURE__ */
|
|
4915
|
+
/* @__PURE__ */ n(z, { variant: "h1", className: "font-bold mb-1", children: le(S.totalMonthlyPayment) }),
|
|
4916
|
+
/* @__PURE__ */ n(z, { variant: "body-sm", color: "secondary", children: "Tu Pago" })
|
|
4849
4917
|
] }),
|
|
4850
4918
|
showLegend: !0,
|
|
4851
4919
|
legendPosition: "bottom"
|
|
@@ -4853,36 +4921,36 @@ const yr = [
|
|
|
4853
4921
|
),
|
|
4854
4922
|
/* @__PURE__ */ f("div", { className: "mt-6 text-center space-y-1", children: [
|
|
4855
4923
|
/* @__PURE__ */ f("div", { className: "flex items-center justify-center gap-2 text-sm text-success", children: [
|
|
4856
|
-
/* @__PURE__ */
|
|
4857
|
-
/* @__PURE__ */
|
|
4924
|
+
/* @__PURE__ */ n(eo, { className: "h-4 w-4" }),
|
|
4925
|
+
/* @__PURE__ */ n("span", { className: "font-medium", children: "Trending up by 5.2% this month" })
|
|
4858
4926
|
] }),
|
|
4859
|
-
/* @__PURE__ */
|
|
4927
|
+
/* @__PURE__ */ n(z, { variant: "caption", color: "secondary", children: "Showing total visitors for the last 6 months" })
|
|
4860
4928
|
] })
|
|
4861
4929
|
] })
|
|
4862
4930
|
] }),
|
|
4863
4931
|
/* @__PURE__ */ f("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-4 pt-4 border-t", children: [
|
|
4864
4932
|
/* @__PURE__ */ f("div", { children: [
|
|
4865
|
-
/* @__PURE__ */
|
|
4866
|
-
/* @__PURE__ */
|
|
4933
|
+
/* @__PURE__ */ n(z, { variant: "caption", color: "secondary", className: "mb-1", children: "Monto del préstamo" }),
|
|
4934
|
+
/* @__PURE__ */ n(z, { variant: "body", weight: "semibold", children: le(S.loanPrincipal) })
|
|
4867
4935
|
] }),
|
|
4868
4936
|
/* @__PURE__ */ f("div", { children: [
|
|
4869
|
-
/* @__PURE__ */
|
|
4870
|
-
/* @__PURE__ */
|
|
4937
|
+
/* @__PURE__ */ n(z, { variant: "caption", color: "secondary", className: "mb-1", children: "Pago mensual" }),
|
|
4938
|
+
/* @__PURE__ */ n(z, { variant: "body", weight: "semibold", children: le(S.monthlyPayment) })
|
|
4871
4939
|
] }),
|
|
4872
4940
|
/* @__PURE__ */ f("div", { children: [
|
|
4873
|
-
/* @__PURE__ */
|
|
4874
|
-
/* @__PURE__ */
|
|
4941
|
+
/* @__PURE__ */ n(z, { variant: "caption", color: "secondary", className: "mb-1", children: "Interés total" }),
|
|
4942
|
+
/* @__PURE__ */ n(z, { variant: "body", weight: "semibold", children: le(S.totalInterest) })
|
|
4875
4943
|
] }),
|
|
4876
4944
|
/* @__PURE__ */ f("div", { children: [
|
|
4877
|
-
/* @__PURE__ */
|
|
4878
|
-
/* @__PURE__ */
|
|
4945
|
+
/* @__PURE__ */ n(z, { variant: "caption", color: "secondary", className: "mb-1", children: "Total a pagar" }),
|
|
4946
|
+
/* @__PURE__ */ n(z, { variant: "body", weight: "semibold", children: le(S.totalAmount) })
|
|
4879
4947
|
] })
|
|
4880
4948
|
] })
|
|
4881
4949
|
] }) }) });
|
|
4882
4950
|
}
|
|
4883
4951
|
);
|
|
4884
|
-
|
|
4885
|
-
const
|
|
4952
|
+
bo.displayName = "MortgageCalculator";
|
|
4953
|
+
const xo = (e) => {
|
|
4886
4954
|
switch (e) {
|
|
4887
4955
|
case "sm":
|
|
4888
4956
|
return "p-4";
|
|
@@ -4893,32 +4961,32 @@ const ho = (e) => {
|
|
|
4893
4961
|
default:
|
|
4894
4962
|
return "p-0";
|
|
4895
4963
|
}
|
|
4896
|
-
},
|
|
4964
|
+
}, Te = ({
|
|
4897
4965
|
children: e,
|
|
4898
|
-
header:
|
|
4899
|
-
sidebar:
|
|
4966
|
+
header: t,
|
|
4967
|
+
sidebar: r,
|
|
4900
4968
|
footer: o,
|
|
4901
|
-
padding:
|
|
4969
|
+
padding: a = "md"
|
|
4902
4970
|
}) => {
|
|
4903
4971
|
const s = h("min-h-screen flex flex-col"), l = h("bg-card border-b border-border z-10"), i = h("flex flex-1"), c = h("w-70 bg-card border-r border-border p-6"), d = h("flex-1 flex flex-col"), m = h(
|
|
4904
4972
|
"flex-1 mx-auto w-full max-w-7xl",
|
|
4905
|
-
|
|
4973
|
+
xo(a)
|
|
4906
4974
|
);
|
|
4907
4975
|
return /* @__PURE__ */ f("div", { className: s, children: [
|
|
4908
|
-
|
|
4976
|
+
t && /* @__PURE__ */ n("header", { className: l, children: t }),
|
|
4909
4977
|
/* @__PURE__ */ f("div", { className: i, children: [
|
|
4910
|
-
|
|
4911
|
-
/* @__PURE__ */
|
|
4978
|
+
r && /* @__PURE__ */ n("aside", { className: c, children: r }),
|
|
4979
|
+
/* @__PURE__ */ n("div", { className: d, children: /* @__PURE__ */ n("main", { className: m, children: e }) })
|
|
4912
4980
|
] }),
|
|
4913
|
-
o && /* @__PURE__ */
|
|
4981
|
+
o && /* @__PURE__ */ n("footer", { className: "bg-card border-t border-border mt-auto", children: o })
|
|
4914
4982
|
] });
|
|
4915
|
-
},
|
|
4983
|
+
}, $o = ({ children: e, header: t, sidebar: r }) => /* @__PURE__ */ n(Te, { header: t, sidebar: r, padding: "lg", children: /* @__PURE__ */ n("div", { className: "max-w-screen-2xl", children: e }) }), Vo = ({ children: e, title: t, subtitle: r }) => /* @__PURE__ */ n(Te, { padding: "lg", children: /* @__PURE__ */ f("div", { className: "max-w-md mx-auto", children: [
|
|
4916
4984
|
/* @__PURE__ */ f("div", { className: "text-center mb-8", children: [
|
|
4917
|
-
|
|
4918
|
-
|
|
4985
|
+
t && /* @__PURE__ */ n(z, { variant: "h2", className: "mb-2", children: t }),
|
|
4986
|
+
r && /* @__PURE__ */ n(z, { variant: "body", color: "muted", children: r })
|
|
4919
4987
|
] }),
|
|
4920
4988
|
e
|
|
4921
|
-
] }) }),
|
|
4989
|
+
] }) }), Fo = ({ children: e, header: t, footer: r }) => /* @__PURE__ */ n(Te, { header: t, footer: r, padding: "none", children: e }), yo = {
|
|
4922
4990
|
name: "light",
|
|
4923
4991
|
colors: {
|
|
4924
4992
|
primary: "#007bff",
|
|
@@ -4984,7 +5052,7 @@ const ho = (e) => {
|
|
|
4984
5052
|
large: "0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.10)",
|
|
4985
5053
|
xl: "0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05)"
|
|
4986
5054
|
}
|
|
4987
|
-
},
|
|
5055
|
+
}, vo = {
|
|
4988
5056
|
name: "dark",
|
|
4989
5057
|
colors: {
|
|
4990
5058
|
primary: "#0d6efd",
|
|
@@ -5050,7 +5118,7 @@ const ho = (e) => {
|
|
|
5050
5118
|
large: "0 10px 20px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.3)",
|
|
5051
5119
|
xl: "0 15px 25px rgba(0, 0, 0, 0.4), 0 5px 10px rgba(0, 0, 0, 0.3)"
|
|
5052
5120
|
}
|
|
5053
|
-
},
|
|
5121
|
+
}, wo = {
|
|
5054
5122
|
name: "corporate",
|
|
5055
5123
|
colors: {
|
|
5056
5124
|
primary: "#1a365d",
|
|
@@ -5116,7 +5184,7 @@ const ho = (e) => {
|
|
|
5116
5184
|
large: "0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05)",
|
|
5117
5185
|
xl: "0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04)"
|
|
5118
5186
|
}
|
|
5119
|
-
},
|
|
5187
|
+
}, ko = {
|
|
5120
5188
|
name: "minimal",
|
|
5121
5189
|
colors: {
|
|
5122
5190
|
primary: "#000000",
|
|
@@ -5182,27 +5250,27 @@ const ho = (e) => {
|
|
|
5182
5250
|
large: "none",
|
|
5183
5251
|
xl: "none"
|
|
5184
5252
|
}
|
|
5185
|
-
},
|
|
5186
|
-
light:
|
|
5187
|
-
dark:
|
|
5188
|
-
corporate:
|
|
5189
|
-
minimal:
|
|
5190
|
-
},
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
const
|
|
5196
|
-
const e =
|
|
5253
|
+
}, Me = {
|
|
5254
|
+
light: yo,
|
|
5255
|
+
dark: vo,
|
|
5256
|
+
corporate: wo,
|
|
5257
|
+
minimal: ko
|
|
5258
|
+
}, No = Re(), Co = Re(), Mo = Re(), ee = Nt(Me.light).on(No, (e, t) => Me[t] || e).on(Co, (e, t) => t).on(Mo, () => Me.light), _o = ee.map((e) => e.name), Do = ee.map((e) => e.colors);
|
|
5259
|
+
ee.map((e) => e.shapes);
|
|
5260
|
+
ee.map((e) => e.typography);
|
|
5261
|
+
ee.map((e) => e.spacing);
|
|
5262
|
+
ee.map((e) => e.shadows);
|
|
5263
|
+
const vt = ze.createContext(null), Go = () => {
|
|
5264
|
+
const e = wt(vt);
|
|
5197
5265
|
if (!e)
|
|
5198
5266
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
5199
5267
|
return e;
|
|
5200
|
-
},
|
|
5201
|
-
const
|
|
5202
|
-
theme:
|
|
5268
|
+
}, Wo = ({ children: e }) => {
|
|
5269
|
+
const r = {
|
|
5270
|
+
theme: kt(ee)
|
|
5203
5271
|
};
|
|
5204
|
-
return /* @__PURE__ */
|
|
5205
|
-
},
|
|
5272
|
+
return /* @__PURE__ */ n(vt.Provider, { value: r, children: e });
|
|
5273
|
+
}, Bo = {
|
|
5206
5274
|
// Spacing scale (in rem)
|
|
5207
5275
|
spacing: {
|
|
5208
5276
|
xs: "0.25rem",
|
|
@@ -5297,7 +5365,7 @@ const vr = Pe.createContext(null), _o = () => {
|
|
|
5297
5365
|
out: "ease-out",
|
|
5298
5366
|
inOut: "ease-in-out"
|
|
5299
5367
|
}
|
|
5300
|
-
},
|
|
5368
|
+
}, Oo = {
|
|
5301
5369
|
button: {
|
|
5302
5370
|
size: {
|
|
5303
5371
|
sm: "h-9 px-3 text-sm",
|
|
@@ -5328,22 +5396,22 @@ const vr = Pe.createContext(null), _o = () => {
|
|
|
5328
5396
|
outlined: "bg-card text-card-foreground border-2"
|
|
5329
5397
|
}
|
|
5330
5398
|
}
|
|
5331
|
-
},
|
|
5399
|
+
}, Ho = {
|
|
5332
5400
|
sm: "640px",
|
|
5333
5401
|
md: "768px",
|
|
5334
5402
|
lg: "1024px",
|
|
5335
5403
|
xl: "1280px",
|
|
5336
5404
|
"2xl": "1536px"
|
|
5337
|
-
},
|
|
5405
|
+
}, Uo = {
|
|
5338
5406
|
/**
|
|
5339
5407
|
* Get a color value with opacity support
|
|
5340
5408
|
*/
|
|
5341
|
-
withOpacity: (e,
|
|
5409
|
+
withOpacity: (e, t) => t !== void 0 ? `hsl(var(${e}) / ${t})` : `hsl(var(${e}))`,
|
|
5342
5410
|
/**
|
|
5343
5411
|
* Get a color from the design system palette
|
|
5344
5412
|
*/
|
|
5345
5413
|
get: (e) => `hsl(var(--${e}))`
|
|
5346
|
-
},
|
|
5414
|
+
}, qo = {
|
|
5347
5415
|
/**
|
|
5348
5416
|
* Generate a unique ID for form elements and their labels
|
|
5349
5417
|
*/
|
|
@@ -5362,7 +5430,7 @@ const vr = Pe.createContext(null), _o = () => {
|
|
|
5362
5430
|
only: "absolute w-px h-px p-0 -m-px overflow-hidden whitespace-nowrap border-0",
|
|
5363
5431
|
not: "not-sr-only"
|
|
5364
5432
|
}
|
|
5365
|
-
},
|
|
5433
|
+
}, Xo = {
|
|
5366
5434
|
icon: {
|
|
5367
5435
|
xs: "w-3 h-3",
|
|
5368
5436
|
sm: "w-4 h-4",
|
|
@@ -5377,7 +5445,7 @@ const vr = Pe.createContext(null), _o = () => {
|
|
|
5377
5445
|
lg: "w-12 h-12",
|
|
5378
5446
|
xl: "w-16 h-16"
|
|
5379
5447
|
}
|
|
5380
|
-
},
|
|
5448
|
+
}, Zo = {
|
|
5381
5449
|
/**
|
|
5382
5450
|
* Fade animations
|
|
5383
5451
|
*/
|
|
@@ -5401,7 +5469,7 @@ const vr = Pe.createContext(null), _o = () => {
|
|
|
5401
5469
|
in: "animate-in scale-in duration-200",
|
|
5402
5470
|
out: "animate-out scale-out duration-200"
|
|
5403
5471
|
}
|
|
5404
|
-
},
|
|
5472
|
+
}, Ko = {
|
|
5405
5473
|
/**
|
|
5406
5474
|
* Container utilities
|
|
5407
5475
|
*/
|
|
@@ -5435,7 +5503,7 @@ const vr = Pe.createContext(null), _o = () => {
|
|
|
5435
5503
|
col: "flex flex-col",
|
|
5436
5504
|
colCenter: "flex flex-col items-center justify-center"
|
|
5437
5505
|
}
|
|
5438
|
-
},
|
|
5506
|
+
}, Qo = {
|
|
5439
5507
|
/**
|
|
5440
5508
|
* Check if dark mode is active
|
|
5441
5509
|
*/
|
|
@@ -5452,90 +5520,90 @@ const vr = Pe.createContext(null), _o = () => {
|
|
|
5452
5520
|
set: (e) => {
|
|
5453
5521
|
typeof window > "u" || document.documentElement.classList.toggle("dark", e === "dark");
|
|
5454
5522
|
}
|
|
5455
|
-
},
|
|
5523
|
+
}, Jo = {
|
|
5456
5524
|
/**
|
|
5457
5525
|
* Debounce function for performance optimization
|
|
5458
5526
|
*/
|
|
5459
|
-
debounce: (e,
|
|
5460
|
-
let
|
|
5527
|
+
debounce: (e, t) => {
|
|
5528
|
+
let r;
|
|
5461
5529
|
return (...o) => {
|
|
5462
|
-
clearTimeout(
|
|
5530
|
+
clearTimeout(r), r = setTimeout(() => e(...o), t);
|
|
5463
5531
|
};
|
|
5464
5532
|
},
|
|
5465
5533
|
/**
|
|
5466
5534
|
* Throttle function for performance optimization
|
|
5467
5535
|
*/
|
|
5468
|
-
throttle: (e,
|
|
5469
|
-
let
|
|
5536
|
+
throttle: (e, t) => {
|
|
5537
|
+
let r;
|
|
5470
5538
|
return (...o) => {
|
|
5471
|
-
|
|
5539
|
+
r || (e(...o), r = !0, setTimeout(() => r = !1, t));
|
|
5472
5540
|
};
|
|
5473
5541
|
}
|
|
5474
|
-
},
|
|
5542
|
+
}, Yo = ({ href: e, children: t }) => /* @__PURE__ */ n(
|
|
5475
5543
|
"a",
|
|
5476
5544
|
{
|
|
5477
5545
|
href: e,
|
|
5478
5546
|
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",
|
|
5479
|
-
children:
|
|
5547
|
+
children: t
|
|
5480
5548
|
}
|
|
5481
5549
|
);
|
|
5482
5550
|
export {
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5551
|
+
ee as $theme,
|
|
5552
|
+
Do as $themeColors,
|
|
5553
|
+
_o as $themeName,
|
|
5554
|
+
Vo as AuthLayout,
|
|
5555
|
+
Y as Button,
|
|
5556
|
+
st as Card,
|
|
5557
|
+
dt as CategoryChips,
|
|
5558
|
+
Le as Chip,
|
|
5559
|
+
zo as CompoundCard,
|
|
5560
|
+
Ro as ConfirmModal,
|
|
5561
|
+
$o as DashboardLayout,
|
|
5562
|
+
ct as DonutChart,
|
|
5563
|
+
po as EntityDirectory,
|
|
5564
|
+
ne as Input,
|
|
5565
|
+
Fo as MarketingLayout,
|
|
5566
|
+
Nr as Modal,
|
|
5567
|
+
Cr as ModalWithActions,
|
|
5568
|
+
bo as MortgageCalculator,
|
|
5569
|
+
Te as PageLayout,
|
|
5570
|
+
Lo as PropertyCard,
|
|
5571
|
+
fo as PropertyGallery,
|
|
5572
|
+
lt as Select,
|
|
5573
|
+
Yo as SkipLink,
|
|
5574
|
+
z as Text,
|
|
5575
|
+
Wo as ThemeProvider,
|
|
5576
|
+
qo as a11y,
|
|
5577
|
+
qo as accessibilityUtils,
|
|
5578
|
+
Zo as animationUtils,
|
|
5579
|
+
Zo as animations,
|
|
5580
|
+
Ho as breakpoints,
|
|
5581
|
+
go as calculateMortgage,
|
|
5514
5582
|
h as cn,
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5583
|
+
Uo as colorUtils,
|
|
5584
|
+
Uo as colors,
|
|
5585
|
+
Xo as componentSizes,
|
|
5586
|
+
Oo as componentVariants,
|
|
5587
|
+
lo as countEntitiesByCategory,
|
|
5588
|
+
Bo as designSystem,
|
|
5589
|
+
so as filterEntitiesByCategory,
|
|
5590
|
+
le as formatCurrency,
|
|
5591
|
+
To as formatPercentage,
|
|
5592
|
+
Ko as layout,
|
|
5593
|
+
Ko as layoutUtils,
|
|
5594
|
+
Jo as performance,
|
|
5595
|
+
Jo as performanceUtils,
|
|
5596
|
+
Mo as resetTheme,
|
|
5597
|
+
Ho as responsiveBreakpoints,
|
|
5598
|
+
Co as setCustomTheme,
|
|
5599
|
+
No as setTheme,
|
|
5600
|
+
Xo as sizes,
|
|
5601
|
+
io as sortEntities,
|
|
5602
|
+
Qo as theme,
|
|
5603
|
+
Qo as themeUtils,
|
|
5604
|
+
Ao as useEntityFilter,
|
|
5605
|
+
Go as useTheme,
|
|
5606
|
+
jo as validateMortgageInput,
|
|
5607
|
+
Oo as variants
|
|
5540
5608
|
};
|
|
5541
5609
|
//# sourceMappingURL=design-system.es.js.map
|