kku-ui 0.2.2 → 0.2.4
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/README.md +1 -1
- package/lib/es/index.d.ts +1 -0
- package/lib/es/index.js +470 -462
- package/lib/es/index.js.br +0 -0
- package/lib/es/index.js.gz +0 -0
- package/lib/fonts/pretendard/Pretendard-Bold.woff2 +0 -0
- package/lib/fonts/pretendard/Pretendard-Medium.woff2 +0 -0
- package/lib/fonts/pretendard/Pretendard-Regular.woff2 +0 -0
- package/lib/index.css +1 -1
- package/lib/useEscapeKey-BH1YNl0p.js +158 -0
- package/lib/useEscapeKey-BH1YNl0p.js.br +0 -0
- package/lib/useEscapeKey-BH1YNl0p.js.gz +0 -0
- package/package.json +4 -10
package/lib/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Ln from "react";
|
|
2
|
-
import ua, { createContext as
|
|
2
|
+
import ua, { createContext as wt, useContext as tt, memo as I, useCallback as S, useRef as J, useState as at, useMemo as b, useEffect as Tt, Children as At, isValidElement as yt, forwardRef as Z, useLayoutEffect as da, useId as Yt, useInsertionEffect as Wi, Fragment as $i, createElement as ha, Component as fa, useImperativeHandle as pt, cloneElement as _e } from "react";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import { u as pa, a as Tn, b as ma, c as ga, d as Mn, e as Ui } from "../useEscapeKey-BH1YNl0p.js";
|
|
5
5
|
import { createPortal as Sn } from "react-dom";
|
|
@@ -103,11 +103,11 @@ function xa() {
|
|
|
103
103
|
}
|
|
104
104
|
if (E) {
|
|
105
105
|
E = console;
|
|
106
|
-
var
|
|
107
|
-
return
|
|
106
|
+
var F = E.error, V = typeof Symbol == "function" && Symbol.toStringTag && g[Symbol.toStringTag] || g.constructor.name || "Object";
|
|
107
|
+
return F.call(
|
|
108
108
|
E,
|
|
109
109
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
110
|
-
|
|
110
|
+
V
|
|
111
111
|
), e(g);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -130,38 +130,38 @@ function xa() {
|
|
|
130
130
|
return Error("react-stack-top-frame");
|
|
131
131
|
}
|
|
132
132
|
function o(g) {
|
|
133
|
-
if (
|
|
133
|
+
if (K.call(g, "key")) {
|
|
134
134
|
var E = Object.getOwnPropertyDescriptor(g, "key").get;
|
|
135
135
|
if (E && E.isReactWarning) return !1;
|
|
136
136
|
}
|
|
137
137
|
return g.key !== void 0;
|
|
138
138
|
}
|
|
139
139
|
function a(g, E) {
|
|
140
|
-
function
|
|
140
|
+
function F() {
|
|
141
141
|
D || (D = !0, console.error(
|
|
142
142
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
143
143
|
E
|
|
144
144
|
));
|
|
145
145
|
}
|
|
146
|
-
|
|
147
|
-
get:
|
|
146
|
+
F.isReactWarning = !0, Object.defineProperty(g, "key", {
|
|
147
|
+
get: F,
|
|
148
148
|
configurable: !0
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
function c() {
|
|
152
152
|
var g = t(this.type);
|
|
153
|
-
return
|
|
153
|
+
return O[g] || (O[g] = !0, console.error(
|
|
154
154
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
155
155
|
)), g = this.props.ref, g !== void 0 ? g : null;
|
|
156
156
|
}
|
|
157
|
-
function u(g, E,
|
|
158
|
-
return
|
|
157
|
+
function u(g, E, F, V, it, nt, kt, jt) {
|
|
158
|
+
return F = nt.ref, g = {
|
|
159
159
|
$$typeof: p,
|
|
160
160
|
type: g,
|
|
161
161
|
key: E,
|
|
162
|
-
props:
|
|
162
|
+
props: nt,
|
|
163
163
|
_owner: it
|
|
164
|
-
}, (
|
|
164
|
+
}, (F !== void 0 ? F : null) !== null ? Object.defineProperty(g, "ref", {
|
|
165
165
|
enumerable: !1,
|
|
166
166
|
get: c
|
|
167
167
|
}) : Object.defineProperty(g, "ref", { enumerable: !1, value: null }), g._store = {}, Object.defineProperty(g._store, "validated", {
|
|
@@ -178,7 +178,7 @@ function xa() {
|
|
|
178
178
|
configurable: !1,
|
|
179
179
|
enumerable: !1,
|
|
180
180
|
writable: !0,
|
|
181
|
-
value:
|
|
181
|
+
value: kt
|
|
182
182
|
}), Object.defineProperty(g, "_debugTask", {
|
|
183
183
|
configurable: !1,
|
|
184
184
|
enumerable: !1,
|
|
@@ -186,60 +186,60 @@ function xa() {
|
|
|
186
186
|
value: jt
|
|
187
187
|
}), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
|
|
188
188
|
}
|
|
189
|
-
function d(g, E,
|
|
190
|
-
var
|
|
191
|
-
if (
|
|
192
|
-
if (
|
|
193
|
-
if (R(
|
|
194
|
-
for (
|
|
195
|
-
h(
|
|
196
|
-
Object.freeze && Object.freeze(
|
|
189
|
+
function d(g, E, F, V, it, nt, kt, jt) {
|
|
190
|
+
var X = E.children;
|
|
191
|
+
if (X !== void 0)
|
|
192
|
+
if (V)
|
|
193
|
+
if (R(X)) {
|
|
194
|
+
for (V = 0; V < X.length; V++)
|
|
195
|
+
h(X[V]);
|
|
196
|
+
Object.freeze && Object.freeze(X);
|
|
197
197
|
} else
|
|
198
198
|
console.error(
|
|
199
199
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
200
200
|
);
|
|
201
|
-
else h(
|
|
202
|
-
if (
|
|
203
|
-
|
|
201
|
+
else h(X);
|
|
202
|
+
if (K.call(E, "key")) {
|
|
203
|
+
X = t(g);
|
|
204
204
|
var bt = Object.keys(E).filter(function(We) {
|
|
205
205
|
return We !== "key";
|
|
206
206
|
});
|
|
207
|
-
|
|
207
|
+
V = 0 < bt.length ? "{key: someKey, " + bt.join(": ..., ") + ": ...}" : "{key: someKey}", lt[X + V] || (bt = 0 < bt.length ? "{" + bt.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
208
208
|
`A props object containing a "key" prop is being spread into JSX:
|
|
209
209
|
let props = %s;
|
|
210
210
|
<%s {...props} />
|
|
211
211
|
React keys must be passed directly to JSX without using spread:
|
|
212
212
|
let props = %s;
|
|
213
213
|
<%s key={someKey} {...props} />`,
|
|
214
|
-
|
|
215
|
-
|
|
214
|
+
V,
|
|
215
|
+
X,
|
|
216
216
|
bt,
|
|
217
|
-
|
|
218
|
-
),
|
|
217
|
+
X
|
|
218
|
+
), lt[X + V] = !0);
|
|
219
219
|
}
|
|
220
|
-
if (
|
|
221
|
-
|
|
220
|
+
if (X = null, F !== void 0 && (n(F), X = "" + F), o(E) && (n(E.key), X = "" + E.key), "key" in E) {
|
|
221
|
+
F = {};
|
|
222
222
|
for (var te in E)
|
|
223
|
-
te !== "key" && (
|
|
224
|
-
} else
|
|
225
|
-
return
|
|
226
|
-
|
|
223
|
+
te !== "key" && (F[te] = E[te]);
|
|
224
|
+
} else F = E;
|
|
225
|
+
return X && a(
|
|
226
|
+
F,
|
|
227
227
|
typeof g == "function" ? g.displayName || g.name || "Unknown" : g
|
|
228
228
|
), u(
|
|
229
229
|
g,
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
X,
|
|
231
|
+
nt,
|
|
232
232
|
it,
|
|
233
233
|
i(),
|
|
234
|
-
|
|
235
|
-
|
|
234
|
+
F,
|
|
235
|
+
kt,
|
|
236
236
|
jt
|
|
237
237
|
);
|
|
238
238
|
}
|
|
239
239
|
function h(g) {
|
|
240
240
|
typeof g == "object" && g !== null && g.$$typeof === p && g._store && (g._store.validated = 1);
|
|
241
241
|
}
|
|
242
|
-
var f = ua, p = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), v = Symbol.for("react.context"), T = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), _ = Symbol.for("react.activity"), N = Symbol.for("react.client.reference"), B = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
242
|
+
var f = ua, p = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), v = Symbol.for("react.context"), T = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), _ = Symbol.for("react.activity"), N = Symbol.for("react.client.reference"), B = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, K = Object.prototype.hasOwnProperty, R = Array.isArray, G = console.createTask ? console.createTask : function() {
|
|
243
243
|
return null;
|
|
244
244
|
};
|
|
245
245
|
f = {
|
|
@@ -247,33 +247,33 @@ React keys must be passed directly to JSX without using spread:
|
|
|
247
247
|
return g();
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
|
-
var D,
|
|
250
|
+
var D, O = {}, z = f["react-stack-bottom-frame"].bind(
|
|
251
251
|
f,
|
|
252
252
|
r
|
|
253
|
-
)(), Y = G(s(r)),
|
|
254
|
-
ne.Fragment = y, ne.jsx = function(g, E,
|
|
255
|
-
var
|
|
253
|
+
)(), Y = G(s(r)), lt = {};
|
|
254
|
+
ne.Fragment = y, ne.jsx = function(g, E, F, V, it) {
|
|
255
|
+
var nt = 1e4 > B.recentlyCreatedOwnerStacks++;
|
|
256
256
|
return d(
|
|
257
257
|
g,
|
|
258
258
|
E,
|
|
259
|
-
|
|
259
|
+
F,
|
|
260
260
|
!1,
|
|
261
|
-
|
|
261
|
+
V,
|
|
262
262
|
it,
|
|
263
|
-
|
|
264
|
-
|
|
263
|
+
nt ? Error("react-stack-top-frame") : z,
|
|
264
|
+
nt ? G(s(g)) : Y
|
|
265
265
|
);
|
|
266
|
-
}, ne.jsxs = function(g, E,
|
|
267
|
-
var
|
|
266
|
+
}, ne.jsxs = function(g, E, F, V, it) {
|
|
267
|
+
var nt = 1e4 > B.recentlyCreatedOwnerStacks++;
|
|
268
268
|
return d(
|
|
269
269
|
g,
|
|
270
270
|
E,
|
|
271
|
-
|
|
271
|
+
F,
|
|
272
272
|
!0,
|
|
273
|
-
|
|
273
|
+
V,
|
|
274
274
|
it,
|
|
275
|
-
|
|
276
|
-
|
|
275
|
+
nt ? Error("react-stack-top-frame") : z,
|
|
276
|
+
nt ? G(s(g)) : Y
|
|
277
277
|
);
|
|
278
278
|
};
|
|
279
279
|
}()), ne;
|
|
@@ -283,8 +283,8 @@ function va() {
|
|
|
283
283
|
return Ls || (Ls = 1, process.env.NODE_ENV === "production" ? we.exports = ya() : we.exports = xa()), we.exports;
|
|
284
284
|
}
|
|
285
285
|
var l = va();
|
|
286
|
-
const Hi =
|
|
287
|
-
const t =
|
|
286
|
+
const Hi = wt(void 0), Zi = () => {
|
|
287
|
+
const t = tt(Hi);
|
|
288
288
|
if (t === void 0)
|
|
289
289
|
throw new Error("useAccordionContext는 AccordionProvider 내에서 사용되어야 합니다.");
|
|
290
290
|
return t;
|
|
@@ -310,11 +310,11 @@ const Hi = kt(void 0), Zi = () => {
|
|
|
310
310
|
children: typeof e == "function" ? e({ isOpen: r }) : e
|
|
311
311
|
}
|
|
312
312
|
);
|
|
313
|
-
}, Pn =
|
|
313
|
+
}, Pn = I(Gi);
|
|
314
314
|
Pn.displayName = "Accordion.Summary";
|
|
315
315
|
Gi.displayName = "Accordion.Summary";
|
|
316
316
|
const Yi = (t) => {
|
|
317
|
-
const { children: e, style: n, ...s } = t, { isOpen: i, summaryId: r } = Zi(), o =
|
|
317
|
+
const { children: e, style: n, ...s } = t, { isOpen: i, summaryId: r } = Zi(), o = J(null), [a, c] = at("auto"), u = b(() => ({
|
|
318
318
|
...n,
|
|
319
319
|
overflow: "hidden",
|
|
320
320
|
maxHeight: i ? a : 0
|
|
@@ -341,21 +341,21 @@ const Yi = (t) => {
|
|
|
341
341
|
children: typeof e == "function" ? e({ isOpen: i }) : e
|
|
342
342
|
}
|
|
343
343
|
);
|
|
344
|
-
}, An =
|
|
344
|
+
}, An = I(Yi);
|
|
345
345
|
An.displayName = "Accordion.Content";
|
|
346
346
|
Yi.displayName = "Accordion.Content";
|
|
347
347
|
const Xi = (t) => {
|
|
348
|
-
const { defaultOpen: e, children: n, ...s } = t, [i, r] =
|
|
348
|
+
const { defaultOpen: e, children: n, ...s } = t, [i, r] = at(!!e), o = J(null), a = pa("accordion-"), c = b(() => ({ isOpen: i, setIsOpen: r, root: o, summaryId: a }), [i]), { SummaryElement: u, ContentElement: d } = b(() => {
|
|
349
349
|
let h = null, f = null;
|
|
350
350
|
return At.forEach(n, (p) => {
|
|
351
|
-
|
|
351
|
+
yt(p) && (p?.type === Pn && (h = p), p?.type === An && (f = p));
|
|
352
352
|
}), { SummaryElement: h, ContentElement: f };
|
|
353
353
|
}, [n]);
|
|
354
354
|
return /* @__PURE__ */ l.jsx("details", { ref: o, ...s, open: !0, "data-open": String(i), children: /* @__PURE__ */ l.jsxs(Hi.Provider, { value: c, children: [
|
|
355
355
|
u,
|
|
356
356
|
d
|
|
357
357
|
] }) });
|
|
358
|
-
}, $t =
|
|
358
|
+
}, $t = I(Xi);
|
|
359
359
|
Xi.displayName = "Accordion";
|
|
360
360
|
$t.displayName = "Accordion";
|
|
361
361
|
$t.Summary = Pn;
|
|
@@ -381,7 +381,7 @@ const qi = Z((t, e) => {
|
|
|
381
381
|
}
|
|
382
382
|
)
|
|
383
383
|
);
|
|
384
|
-
}), Ji =
|
|
384
|
+
}), Ji = I(qi);
|
|
385
385
|
qi.displayName = "Button";
|
|
386
386
|
Ji.displayName = "Button";
|
|
387
387
|
const Vn = Z(
|
|
@@ -389,7 +389,7 @@ const Vn = Z(
|
|
|
389
389
|
const i = t || "ul";
|
|
390
390
|
return /* @__PURE__ */ l.jsx(i, { ref: s, role: "menu", ...n, children: e });
|
|
391
391
|
}
|
|
392
|
-
), Ca =
|
|
392
|
+
), Ca = I(Vn);
|
|
393
393
|
Vn.displayName = "Menu";
|
|
394
394
|
Ca.displayName = "Menu";
|
|
395
395
|
const Qi = Z(
|
|
@@ -397,7 +397,7 @@ const Qi = Z(
|
|
|
397
397
|
const { as: n, children: s, disabled: i, tabIndex: r, ...o } = t, a = n || "li", c = b(() => i ? void 0 : r ?? 0, [i, r]);
|
|
398
398
|
return /* @__PURE__ */ l.jsx(a, { ref: e, as: n, role: "menuitem", "aria-disabled": i, tabIndex: c, ...o, children: s });
|
|
399
399
|
}
|
|
400
|
-
), to =
|
|
400
|
+
), to = I(Qi);
|
|
401
401
|
Qi.displayName = "MenuItem";
|
|
402
402
|
to.displayName = "MenuItem";
|
|
403
403
|
const eo = Z((t, e) => {
|
|
@@ -429,20 +429,20 @@ const eo = Z((t, e) => {
|
|
|
429
429
|
);
|
|
430
430
|
});
|
|
431
431
|
eo.displayName = "Switch";
|
|
432
|
-
const no =
|
|
432
|
+
const no = I(eo);
|
|
433
433
|
no.displayName = "Switch";
|
|
434
434
|
const so = Z((t, e) => {
|
|
435
435
|
const { label: n, disabled: s, ...i } = t, r = b(() => n || void 0, [n]);
|
|
436
436
|
return /* @__PURE__ */ l.jsx("input", { ref: e, ...i, disabled: s, "aria-label": r, "aria-disabled": s });
|
|
437
|
-
}), io =
|
|
437
|
+
}), io = I(so);
|
|
438
438
|
so.displayName = "TextField";
|
|
439
439
|
io.displayName = "TextField";
|
|
440
|
-
const Rn =
|
|
440
|
+
const Rn = wt({});
|
|
441
441
|
function Dn(t) {
|
|
442
|
-
const e =
|
|
442
|
+
const e = J(null);
|
|
443
443
|
return e.current === null && (e.current = t()), e.current;
|
|
444
444
|
}
|
|
445
|
-
const En = typeof window < "u", oo = En ? da : Tt, Ne = /* @__PURE__ */
|
|
445
|
+
const En = typeof window < "u", oo = En ? da : Tt, Ne = /* @__PURE__ */ wt(null);
|
|
446
446
|
function _n(t, e) {
|
|
447
447
|
t.indexOf(e) === -1 && t.push(e);
|
|
448
448
|
}
|
|
@@ -450,17 +450,17 @@ function Nn(t, e) {
|
|
|
450
450
|
const n = t.indexOf(e);
|
|
451
451
|
n > -1 && t.splice(n, 1);
|
|
452
452
|
}
|
|
453
|
-
const
|
|
453
|
+
const xt = (t, e, n) => n > e ? e : n < t ? t : n;
|
|
454
454
|
let Xt = () => {
|
|
455
|
-
},
|
|
455
|
+
}, vt = () => {
|
|
456
456
|
};
|
|
457
457
|
process.env.NODE_ENV !== "production" && (Xt = (t, e) => {
|
|
458
458
|
!t && typeof console < "u" && console.warn(e);
|
|
459
|
-
},
|
|
459
|
+
}, vt = (t, e) => {
|
|
460
460
|
if (!t)
|
|
461
461
|
throw new Error(e);
|
|
462
462
|
});
|
|
463
|
-
const
|
|
463
|
+
const Ct = {}, ro = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);
|
|
464
464
|
function ao(t) {
|
|
465
465
|
return typeof t == "object" && t !== null;
|
|
466
466
|
}
|
|
@@ -499,7 +499,7 @@ class In {
|
|
|
499
499
|
this.subscriptions.length = 0;
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
const ft = /* @__NO_SIDE_EFFECTS__ */ (t) => t * 1e3,
|
|
502
|
+
const ft = /* @__NO_SIDE_EFFECTS__ */ (t) => t * 1e3, mt = /* @__NO_SIDE_EFFECTS__ */ (t) => t / 1e3;
|
|
503
503
|
function co(t, e) {
|
|
504
504
|
return e ? t * (1e3 / e) : 0;
|
|
505
505
|
}
|
|
@@ -535,11 +535,11 @@ const ho = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, fo
|
|
|
535
535
|
anticipate: go
|
|
536
536
|
}, Sa = (t) => typeof t == "string", Ss = (t) => {
|
|
537
537
|
if (Co(t)) {
|
|
538
|
-
|
|
538
|
+
vt(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
|
|
539
539
|
const [e, n, s, i] = t;
|
|
540
540
|
return ye(e, n, s, i);
|
|
541
541
|
} else if (Sa(t))
|
|
542
|
-
return
|
|
542
|
+
return vt(Ms[t] !== void 0, `Invalid easing type '${t}'`), Ms[t];
|
|
543
543
|
return t;
|
|
544
544
|
}, ke = [
|
|
545
545
|
"setup",
|
|
@@ -607,8 +607,8 @@ function wo(t, e) {
|
|
|
607
607
|
timestamp: 0,
|
|
608
608
|
isProcessing: !1
|
|
609
609
|
}, r = () => n = !0, o = ke.reduce((v, T) => (v[T] = Pa(r, e ? T : void 0), v), {}), { setup: a, read: c, resolveKeyframes: u, preUpdate: d, update: h, preRender: f, render: p, postRender: m } = o, y = () => {
|
|
610
|
-
const v =
|
|
611
|
-
n = !1,
|
|
610
|
+
const v = Ct.useManualTiming ? i.timestamp : performance.now();
|
|
611
|
+
n = !1, Ct.useManualTiming || (i.delta = s ? 1e3 / 60 : Math.max(Math.min(v - i.timestamp, Aa), 1)), i.timestamp = v, i.isProcessing = !0, a.process(i), c.process(i), u.process(i), d.process(i), h.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && e && (s = !1, t(y));
|
|
612
612
|
}, w = () => {
|
|
613
613
|
n = !0, s = !0, i.isProcessing || t(y);
|
|
614
614
|
};
|
|
@@ -620,13 +620,13 @@ function wo(t, e) {
|
|
|
620
620
|
o[ke[T]].cancel(v);
|
|
621
621
|
}, state: i, steps: o };
|
|
622
622
|
}
|
|
623
|
-
const { schedule:
|
|
623
|
+
const { schedule: W, cancel: St, state: et, steps: Ue } = /* @__PURE__ */ wo(typeof requestAnimationFrame < "u" ? requestAnimationFrame : dt, !0);
|
|
624
624
|
let Te;
|
|
625
625
|
function Va() {
|
|
626
626
|
Te = void 0;
|
|
627
627
|
}
|
|
628
|
-
const
|
|
629
|
-
now: () => (Te === void 0 &&
|
|
628
|
+
const rt = {
|
|
629
|
+
now: () => (Te === void 0 && rt.set(et.isProcessing || Ct.useManualTiming ? et.timestamp : performance.now()), Te),
|
|
630
630
|
set: (t) => {
|
|
631
631
|
Te = t, queueMicrotask(Va);
|
|
632
632
|
}
|
|
@@ -636,7 +636,7 @@ const ot = {
|
|
|
636
636
|
transform: (t) => t
|
|
637
637
|
}, ue = {
|
|
638
638
|
...qt,
|
|
639
|
-
transform: (t) =>
|
|
639
|
+
transform: (t) => xt(0, 1, t)
|
|
640
640
|
}, je = {
|
|
641
641
|
...qt,
|
|
642
642
|
default: 1
|
|
@@ -654,7 +654,7 @@ const _a = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
|
|
|
654
654
|
[n]: parseFloat(o),
|
|
655
655
|
alpha: a !== void 0 ? parseFloat(a) : 1
|
|
656
656
|
};
|
|
657
|
-
}, Na = (t) =>
|
|
657
|
+
}, Na = (t) => xt(0, 255, t), He = {
|
|
658
658
|
...qt,
|
|
659
659
|
transform: (t) => Math.round(Na(t))
|
|
660
660
|
}, Et = {
|
|
@@ -679,21 +679,21 @@ const on = {
|
|
|
679
679
|
test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1,
|
|
680
680
|
parse: parseFloat,
|
|
681
681
|
transform: (e) => `${e}${t}`
|
|
682
|
-
}), Lt = /* @__PURE__ */ xe("deg"),
|
|
683
|
-
...
|
|
684
|
-
parse: (t) =>
|
|
685
|
-
transform: (t) =>
|
|
682
|
+
}), Lt = /* @__PURE__ */ xe("deg"), gt = /* @__PURE__ */ xe("%"), A = /* @__PURE__ */ xe("px"), Ia = /* @__PURE__ */ xe("vh"), Oa = /* @__PURE__ */ xe("vw"), As = {
|
|
683
|
+
...gt,
|
|
684
|
+
parse: (t) => gt.parse(t) / 100,
|
|
685
|
+
transform: (t) => gt.transform(t * 100)
|
|
686
686
|
}, It = {
|
|
687
687
|
test: /* @__PURE__ */ Un("hsl", "hue"),
|
|
688
688
|
parse: /* @__PURE__ */ jo("hue", "saturation", "lightness"),
|
|
689
|
-
transform: ({ hue: t, saturation: e, lightness: n, alpha: s = 1 }) => "hsla(" + Math.round(t) + ", " +
|
|
690
|
-
},
|
|
689
|
+
transform: ({ hue: t, saturation: e, lightness: n, alpha: s = 1 }) => "hsla(" + Math.round(t) + ", " + gt.transform(oe(e)) + ", " + gt.transform(oe(n)) + ", " + oe(ue.transform(s)) + ")"
|
|
690
|
+
}, Q = {
|
|
691
691
|
test: (t) => Et.test(t) || on.test(t) || It.test(t),
|
|
692
692
|
parse: (t) => Et.test(t) ? Et.parse(t) : It.test(t) ? It.parse(t) : on.parse(t),
|
|
693
693
|
transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? Et.transform(t) : It.transform(t),
|
|
694
694
|
getAnimatableNone: (t) => {
|
|
695
|
-
const e =
|
|
696
|
-
return e.alpha = 0,
|
|
695
|
+
const e = Q.parse(t);
|
|
696
|
+
return e.alpha = 0, Q.transform(e);
|
|
697
697
|
}
|
|
698
698
|
}, Fa = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
|
|
699
699
|
function za(t) {
|
|
@@ -707,7 +707,7 @@ function de(t) {
|
|
|
707
707
|
var: []
|
|
708
708
|
}, i = [];
|
|
709
709
|
let r = 0;
|
|
710
|
-
const a = e.replace($a, (c) => (
|
|
710
|
+
const a = e.replace($a, (c) => (Q.test(c) ? (s.color.push(r), i.push(Lo), n.push(Q.parse(c))) : c.startsWith(Wa) ? (s.var.push(r), i.push(Ka), n.push(c)) : (s.number.push(r), i.push(bo), n.push(parseFloat(c))), ++r, Vs)).split(Vs);
|
|
711
711
|
return { values: n, split: a, indexes: s, types: i };
|
|
712
712
|
}
|
|
713
713
|
function To(t) {
|
|
@@ -720,12 +720,12 @@ function Mo(t) {
|
|
|
720
720
|
for (let o = 0; o < s; o++)
|
|
721
721
|
if (r += e[o], i[o] !== void 0) {
|
|
722
722
|
const a = n[o];
|
|
723
|
-
a === bo ? r += oe(i[o]) : a === Lo ? r +=
|
|
723
|
+
a === bo ? r += oe(i[o]) : a === Lo ? r += Q.transform(i[o]) : r += i[o];
|
|
724
724
|
}
|
|
725
725
|
return r;
|
|
726
726
|
};
|
|
727
727
|
}
|
|
728
|
-
const Ua = (t) => typeof t == "number" ? 0 :
|
|
728
|
+
const Ua = (t) => typeof t == "number" ? 0 : Q.test(t) ? Q.getAnimatableNone(t) : t;
|
|
729
729
|
function Ha(t) {
|
|
730
730
|
const e = To(t);
|
|
731
731
|
return Mo(t)(e.map(Ua));
|
|
@@ -783,7 +783,7 @@ function qa(t, e) {
|
|
|
783
783
|
return (n) => H(t, e, n);
|
|
784
784
|
}
|
|
785
785
|
function Hn(t) {
|
|
786
|
-
return typeof t == "number" ? qa : typeof t == "string" ? Wn(t) ? Ae :
|
|
786
|
+
return typeof t == "number" ? qa : typeof t == "string" ? Wn(t) ? Ae : Q.test(t) ? Ds : t1 : Array.isArray(t) ? So : typeof t == "object" ? Q.test(t) ? Ds : Ja : Ae;
|
|
787
787
|
}
|
|
788
788
|
function So(t, e) {
|
|
789
789
|
const n = [...t], s = n.length, i = t.map((r, o) => Hn(r)(r, e[o]));
|
|
@@ -821,13 +821,13 @@ function Po(t, e, n) {
|
|
|
821
821
|
const e1 = (t) => {
|
|
822
822
|
const e = ({ timestamp: n }) => t(n);
|
|
823
823
|
return {
|
|
824
|
-
start: (n = !0) =>
|
|
824
|
+
start: (n = !0) => W.update(e, n),
|
|
825
825
|
stop: () => St(e),
|
|
826
826
|
/**
|
|
827
827
|
* If we're processing this frame we can use the
|
|
828
828
|
* framelocked timestamp to keep things in sync.
|
|
829
829
|
*/
|
|
830
|
-
now: () => et.isProcessing ? et.timestamp :
|
|
830
|
+
now: () => et.isProcessing ? et.timestamp : rt.now()
|
|
831
831
|
};
|
|
832
832
|
}, Ao = (t, e, n = 10) => {
|
|
833
833
|
let s = "";
|
|
@@ -849,7 +849,7 @@ function n1(t, e = 100, n) {
|
|
|
849
849
|
return {
|
|
850
850
|
type: "keyframes",
|
|
851
851
|
ease: (r) => s.next(i * r).value / e,
|
|
852
|
-
duration: /* @__PURE__ */
|
|
852
|
+
duration: /* @__PURE__ */ mt(i)
|
|
853
853
|
};
|
|
854
854
|
}
|
|
855
855
|
const s1 = 5;
|
|
@@ -890,7 +890,7 @@ function i1({ duration: t = U.duration, bounce: e = U.bounce, velocity: n = U.ve
|
|
|
890
890
|
let i, r;
|
|
891
891
|
Xt(t <= /* @__PURE__ */ ft(U.maxDuration), "Spring duration must be 10 seconds or less");
|
|
892
892
|
let o = 1 - e;
|
|
893
|
-
o =
|
|
893
|
+
o = xt(U.minDamping, U.maxDamping, o), t = xt(U.minDuration, U.maxDuration, /* @__PURE__ */ mt(t)), o < 1 ? (i = (u) => {
|
|
894
894
|
const d = u * o, h = d * t, f = d - n, p = an(u, o), m = Math.exp(-h);
|
|
895
895
|
return Ye - f / p * m;
|
|
896
896
|
}, r = (u) => {
|
|
@@ -944,7 +944,7 @@ function c1(t) {
|
|
|
944
944
|
};
|
|
945
945
|
if (!Es(t, l1) && Es(t, a1))
|
|
946
946
|
if (t.visualDuration) {
|
|
947
|
-
const n = t.visualDuration, s = 2 * Math.PI / (n * 1.2), i = s * s, r = 2 *
|
|
947
|
+
const n = t.visualDuration, s = 2 * Math.PI / (n * 1.2), i = s * s, r = 2 * xt(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(i);
|
|
948
948
|
e = {
|
|
949
949
|
...e,
|
|
950
950
|
mass: U.mass,
|
|
@@ -970,8 +970,8 @@ function Re(t = U.visualDuration, e = U.bounce) {
|
|
|
970
970
|
let { restSpeed: s, restDelta: i } = n;
|
|
971
971
|
const r = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: r }, { stiffness: c, damping: u, mass: d, duration: h, velocity: f, isResolvedFromDuration: p } = c1({
|
|
972
972
|
...n,
|
|
973
|
-
velocity: -/* @__PURE__ */
|
|
974
|
-
}), m = f || 0, y = u / (2 * Math.sqrt(c * d)), w = o - r, C = /* @__PURE__ */
|
|
973
|
+
velocity: -/* @__PURE__ */ mt(n.velocity || 0)
|
|
974
|
+
}), m = f || 0, y = u / (2 * Math.sqrt(c * d)), w = o - r, C = /* @__PURE__ */ mt(Math.sqrt(c / d)), x = Math.abs(w) < 5;
|
|
975
975
|
s || (s = x ? U.restSpeed.granular : U.restSpeed.default), i || (i = x ? U.restDelta.granular : U.restDelta.default);
|
|
976
976
|
let v;
|
|
977
977
|
if (y < 1) {
|
|
@@ -1049,7 +1049,7 @@ function ln({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: s = 3
|
|
|
1049
1049
|
};
|
|
1050
1050
|
}
|
|
1051
1051
|
function u1(t, e, n) {
|
|
1052
|
-
const s = [], i = n ||
|
|
1052
|
+
const s = [], i = n || Ct.mix || Po, r = t.length - 1;
|
|
1053
1053
|
for (let o = 0; o < r; o++) {
|
|
1054
1054
|
let a = i(t[o], t[o + 1]);
|
|
1055
1055
|
if (e) {
|
|
@@ -1062,7 +1062,7 @@ function u1(t, e, n) {
|
|
|
1062
1062
|
}
|
|
1063
1063
|
function d1(t, e, { clamp: n = !0, ease: s, mixer: i } = {}) {
|
|
1064
1064
|
const r = t.length;
|
|
1065
|
-
if (
|
|
1065
|
+
if (vt(r === e.length, "Both input and output ranges must be the same length"), r === 1)
|
|
1066
1066
|
return () => e[0];
|
|
1067
1067
|
if (r === 2 && e[0] === e[1])
|
|
1068
1068
|
return () => e[1];
|
|
@@ -1078,7 +1078,7 @@ function d1(t, e, { clamp: n = !0, ease: s, mixer: i } = {}) {
|
|
|
1078
1078
|
const f = /* @__PURE__ */ ce(t[h], t[h + 1], d);
|
|
1079
1079
|
return a[h](f);
|
|
1080
1080
|
};
|
|
1081
|
-
return n ? (d) => u(
|
|
1081
|
+
return n ? (d) => u(xt(t[0], t[r - 1], d)) : u;
|
|
1082
1082
|
}
|
|
1083
1083
|
function h1(t, e) {
|
|
1084
1084
|
const n = t[t.length - 1];
|
|
@@ -1158,7 +1158,7 @@ class Xn extends Yn {
|
|
|
1158
1158
|
constructor(e) {
|
|
1159
1159
|
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => {
|
|
1160
1160
|
const { motionValue: n } = this.options;
|
|
1161
|
-
n && n.updatedAt !==
|
|
1161
|
+
n && n.updatedAt !== rt.now() && this.tick(rt.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
|
|
1162
1162
|
}, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
|
|
1163
1163
|
}
|
|
1164
1164
|
initAnimation() {
|
|
@@ -1167,7 +1167,7 @@ class Xn extends Yn {
|
|
|
1167
1167
|
const { type: n = Ot, repeat: s = 0, repeatDelay: i = 0, repeatType: r, velocity: o = 0 } = e;
|
|
1168
1168
|
let { keyframes: a } = e;
|
|
1169
1169
|
const c = n || Ot;
|
|
1170
|
-
process.env.NODE_ENV !== "production" && c !== Ot &&
|
|
1170
|
+
process.env.NODE_ENV !== "production" && c !== Ot && vt(a.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`), c !== Ot && typeof a[0] != "number" && (this.mixKeyframes = ge(x1, Po(a[0], a[1])), a = [0, 100]);
|
|
1171
1171
|
const u = c({ ...e, keyframes: a });
|
|
1172
1172
|
r === "mirror" && (this.mirroredGenerator = c({
|
|
1173
1173
|
...e,
|
|
@@ -1193,7 +1193,7 @@ class Xn extends Yn {
|
|
|
1193
1193
|
if (h) {
|
|
1194
1194
|
const j = Math.min(this.currentTime, i) / a;
|
|
1195
1195
|
let _ = Math.floor(j), N = j % 1;
|
|
1196
|
-
!N && j >= 1 && (N = 1), N === 1 && _--, _ = Math.min(_, h + 1), !!(_ % 2) && (f === "reverse" ? (N = 1 - N, p && (N -= p / a)) : f === "mirror" && (T = o)), v =
|
|
1196
|
+
!N && j >= 1 && (N = 1), N === 1 && _--, _ = Math.min(_, h + 1), !!(_ % 2) && (f === "reverse" ? (N = 1 - N, p && (N -= p / a)) : f === "mirror" && (T = o)), v = xt(0, 1, N) * a;
|
|
1197
1197
|
}
|
|
1198
1198
|
const k = x ? { done: !1, value: d[0] } : T.next(v);
|
|
1199
1199
|
r && (k.value = r(k.value));
|
|
@@ -1211,10 +1211,10 @@ class Xn extends Yn {
|
|
|
1211
1211
|
return this.finished.then(e, n);
|
|
1212
1212
|
}
|
|
1213
1213
|
get duration() {
|
|
1214
|
-
return /* @__PURE__ */
|
|
1214
|
+
return /* @__PURE__ */ mt(this.calculatedDuration);
|
|
1215
1215
|
}
|
|
1216
1216
|
get time() {
|
|
1217
|
-
return /* @__PURE__ */
|
|
1217
|
+
return /* @__PURE__ */ mt(this.currentTime);
|
|
1218
1218
|
}
|
|
1219
1219
|
set time(e) {
|
|
1220
1220
|
e = /* @__PURE__ */ ft(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver?.start(!1);
|
|
@@ -1223,9 +1223,9 @@ class Xn extends Yn {
|
|
|
1223
1223
|
return this.playbackSpeed;
|
|
1224
1224
|
}
|
|
1225
1225
|
set speed(e) {
|
|
1226
|
-
this.updateTime(
|
|
1226
|
+
this.updateTime(rt.now());
|
|
1227
1227
|
const n = this.playbackSpeed !== e;
|
|
1228
|
-
this.playbackSpeed = e, n && (this.time = /* @__PURE__ */
|
|
1228
|
+
this.playbackSpeed = e, n && (this.time = /* @__PURE__ */ mt(this.currentTime));
|
|
1229
1229
|
}
|
|
1230
1230
|
play() {
|
|
1231
1231
|
if (this.isStopped)
|
|
@@ -1236,7 +1236,7 @@ class Xn extends Yn {
|
|
|
1236
1236
|
this.state === "finished" ? (this.updateFinished(), this.startTime = s) : this.holdTime !== null ? this.startTime = s - this.holdTime : this.startTime || (this.startTime = n ?? s), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
|
|
1237
1237
|
}
|
|
1238
1238
|
pause() {
|
|
1239
|
-
this.state = "paused", this.updateTime(
|
|
1239
|
+
this.state = "paused", this.updateTime(rt.now()), this.holdTime = this.currentTime;
|
|
1240
1240
|
}
|
|
1241
1241
|
complete() {
|
|
1242
1242
|
this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
|
|
@@ -1342,7 +1342,7 @@ const Jt = [
|
|
|
1342
1342
|
"skew",
|
|
1343
1343
|
"skewX",
|
|
1344
1344
|
"skewY"
|
|
1345
|
-
], Qt = new Set(Jt), Is = (t) => t === qt || t ===
|
|
1345
|
+
], Qt = new Set(Jt), Is = (t) => t === qt || t === A, b1 = /* @__PURE__ */ new Set(["x", "y", "z"]), L1 = Jt.filter((t) => !b1.has(t));
|
|
1346
1346
|
function T1(t) {
|
|
1347
1347
|
const e = [];
|
|
1348
1348
|
return L1.forEach((n) => {
|
|
@@ -1397,7 +1397,7 @@ class qn {
|
|
|
1397
1397
|
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = n, this.name = s, this.motionValue = i, this.element = r, this.isAsync = o;
|
|
1398
1398
|
}
|
|
1399
1399
|
scheduleResolve() {
|
|
1400
|
-
this.state = "scheduled", this.isAsync ? (Bt.add(this), fn || (fn = !0,
|
|
1400
|
+
this.state = "scheduled", this.isAsync ? (Bt.add(this), fn || (fn = !0, W.read(Eo), W.resolveKeyframes(Do))) : (this.readKeyframes(), this.complete());
|
|
1401
1401
|
}
|
|
1402
1402
|
readKeyframes() {
|
|
1403
1403
|
const { unresolvedKeyframes: e, name: n, element: s, motionValue: i } = this;
|
|
@@ -1490,7 +1490,7 @@ class _1 extends Yn {
|
|
|
1490
1490
|
if (super(), this.finishedTime = null, this.isStopped = !1, !e)
|
|
1491
1491
|
return;
|
|
1492
1492
|
const { element: n, name: s, keyframes: i, pseudoElement: r, allowFlatten: o = !1, finalKeyframe: a, onComplete: c } = e;
|
|
1493
|
-
this.isPseudoElement = !!r, this.allowFlatten = o, this.options = e,
|
|
1493
|
+
this.isPseudoElement = !!r, this.allowFlatten = o, this.options = e, vt(typeof e.type != "string", `animateMini doesn't support "type" as a string. Did you mean to import { spring } from "motion"?`);
|
|
1494
1494
|
const u = E1(e);
|
|
1495
1495
|
this.animation = D1(n, s, i, u, r), u.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
|
|
1496
1496
|
if (this.finishedTime = this.time, !r) {
|
|
@@ -1539,10 +1539,10 @@ class _1 extends Yn {
|
|
|
1539
1539
|
}
|
|
1540
1540
|
get duration() {
|
|
1541
1541
|
const e = this.animation.effect?.getComputedTiming?.().duration || 0;
|
|
1542
|
-
return /* @__PURE__ */
|
|
1542
|
+
return /* @__PURE__ */ mt(Number(e));
|
|
1543
1543
|
}
|
|
1544
1544
|
get time() {
|
|
1545
|
-
return /* @__PURE__ */
|
|
1545
|
+
return /* @__PURE__ */ mt(Number(this.animation.currentTime) || 0);
|
|
1546
1546
|
}
|
|
1547
1547
|
set time(e) {
|
|
1548
1548
|
this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ ft(e);
|
|
@@ -1659,7 +1659,7 @@ class U1 extends Yn {
|
|
|
1659
1659
|
constructor({ autoplay: e = !0, delay: n = 0, type: s = "keyframes", repeat: i = 0, repeatDelay: r = 0, repeatType: o = "loop", keyframes: a, name: c, motionValue: u, element: d, ...h }) {
|
|
1660
1660
|
super(), this.stop = () => {
|
|
1661
1661
|
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
|
|
1662
|
-
}, this.createdAt =
|
|
1662
|
+
}, this.createdAt = rt.now();
|
|
1663
1663
|
const f = {
|
|
1664
1664
|
autoplay: e,
|
|
1665
1665
|
delay: n,
|
|
@@ -1677,7 +1677,7 @@ class U1 extends Yn {
|
|
|
1677
1677
|
onKeyframesResolved(e, n, s, i) {
|
|
1678
1678
|
this.keyframeResolver = void 0;
|
|
1679
1679
|
const { name: r, type: o, velocity: a, delay: c, isHandoff: u, onUpdate: d } = s;
|
|
1680
|
-
this.resolvedAt =
|
|
1680
|
+
this.resolvedAt = rt.now(), F1(e, r, o, a) || ((Ct.instantAnimations || !c) && d?.(Gn(e, s, n)), e[0] = e[e.length - 1], s.duration = 0, s.repeat = 0);
|
|
1681
1681
|
const f = {
|
|
1682
1682
|
startTime: i ? this.resolvedAt ? this.resolvedAt - this.createdAt > $1 ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
|
|
1683
1683
|
finalKeyframe: n,
|
|
@@ -1749,7 +1749,7 @@ function Z1(t) {
|
|
|
1749
1749
|
}
|
|
1750
1750
|
const G1 = 4;
|
|
1751
1751
|
function Oo(t, e, n = 1) {
|
|
1752
|
-
|
|
1752
|
+
vt(n <= G1, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);
|
|
1753
1753
|
const [s, i] = Z1(t);
|
|
1754
1754
|
if (!s)
|
|
1755
1755
|
return;
|
|
@@ -1774,7 +1774,7 @@ const Fo = /* @__PURE__ */ new Set([
|
|
|
1774
1774
|
]), Y1 = {
|
|
1775
1775
|
test: (t) => t === "auto",
|
|
1776
1776
|
parse: (t) => t
|
|
1777
|
-
}, zo = (t) => (e) => e.test(t), Ko = [qt,
|
|
1777
|
+
}, zo = (t) => (e) => e.test(t), Ko = [qt, A, gt, Lt, Oa, Ia, Y1], Ks = (t) => Ko.find(zo(t));
|
|
1778
1778
|
function X1(t) {
|
|
1779
1779
|
return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || lo(t) : !0;
|
|
1780
1780
|
}
|
|
@@ -1811,55 +1811,55 @@ const Q1 = /\b([a-z-]*)\(.*?\)/gu, gn = {
|
|
|
1811
1811
|
skew: Lt,
|
|
1812
1812
|
skewX: Lt,
|
|
1813
1813
|
skewY: Lt,
|
|
1814
|
-
distance:
|
|
1815
|
-
translateX:
|
|
1816
|
-
translateY:
|
|
1817
|
-
translateZ:
|
|
1818
|
-
x:
|
|
1819
|
-
y:
|
|
1820
|
-
z:
|
|
1821
|
-
perspective:
|
|
1822
|
-
transformPerspective:
|
|
1814
|
+
distance: A,
|
|
1815
|
+
translateX: A,
|
|
1816
|
+
translateY: A,
|
|
1817
|
+
translateZ: A,
|
|
1818
|
+
x: A,
|
|
1819
|
+
y: A,
|
|
1820
|
+
z: A,
|
|
1821
|
+
perspective: A,
|
|
1822
|
+
transformPerspective: A,
|
|
1823
1823
|
opacity: ue,
|
|
1824
1824
|
originX: As,
|
|
1825
1825
|
originY: As,
|
|
1826
|
-
originZ:
|
|
1826
|
+
originZ: A
|
|
1827
1827
|
}, ts = {
|
|
1828
1828
|
// Border props
|
|
1829
|
-
borderWidth:
|
|
1830
|
-
borderTopWidth:
|
|
1831
|
-
borderRightWidth:
|
|
1832
|
-
borderBottomWidth:
|
|
1833
|
-
borderLeftWidth:
|
|
1834
|
-
borderRadius:
|
|
1835
|
-
radius:
|
|
1836
|
-
borderTopLeftRadius:
|
|
1837
|
-
borderTopRightRadius:
|
|
1838
|
-
borderBottomRightRadius:
|
|
1839
|
-
borderBottomLeftRadius:
|
|
1829
|
+
borderWidth: A,
|
|
1830
|
+
borderTopWidth: A,
|
|
1831
|
+
borderRightWidth: A,
|
|
1832
|
+
borderBottomWidth: A,
|
|
1833
|
+
borderLeftWidth: A,
|
|
1834
|
+
borderRadius: A,
|
|
1835
|
+
radius: A,
|
|
1836
|
+
borderTopLeftRadius: A,
|
|
1837
|
+
borderTopRightRadius: A,
|
|
1838
|
+
borderBottomRightRadius: A,
|
|
1839
|
+
borderBottomLeftRadius: A,
|
|
1840
1840
|
// Positioning props
|
|
1841
|
-
width:
|
|
1842
|
-
maxWidth:
|
|
1843
|
-
height:
|
|
1844
|
-
maxHeight:
|
|
1845
|
-
top:
|
|
1846
|
-
right:
|
|
1847
|
-
bottom:
|
|
1848
|
-
left:
|
|
1841
|
+
width: A,
|
|
1842
|
+
maxWidth: A,
|
|
1843
|
+
height: A,
|
|
1844
|
+
maxHeight: A,
|
|
1845
|
+
top: A,
|
|
1846
|
+
right: A,
|
|
1847
|
+
bottom: A,
|
|
1848
|
+
left: A,
|
|
1849
1849
|
// Spacing props
|
|
1850
|
-
padding:
|
|
1851
|
-
paddingTop:
|
|
1852
|
-
paddingRight:
|
|
1853
|
-
paddingBottom:
|
|
1854
|
-
paddingLeft:
|
|
1855
|
-
margin:
|
|
1856
|
-
marginTop:
|
|
1857
|
-
marginRight:
|
|
1858
|
-
marginBottom:
|
|
1859
|
-
marginLeft:
|
|
1850
|
+
padding: A,
|
|
1851
|
+
paddingTop: A,
|
|
1852
|
+
paddingRight: A,
|
|
1853
|
+
paddingBottom: A,
|
|
1854
|
+
paddingLeft: A,
|
|
1855
|
+
margin: A,
|
|
1856
|
+
marginTop: A,
|
|
1857
|
+
marginRight: A,
|
|
1858
|
+
marginBottom: A,
|
|
1859
|
+
marginLeft: A,
|
|
1860
1860
|
// Misc
|
|
1861
|
-
backgroundPositionX:
|
|
1862
|
-
backgroundPositionY:
|
|
1861
|
+
backgroundPositionX: A,
|
|
1862
|
+
backgroundPositionY: A,
|
|
1863
1863
|
...tl,
|
|
1864
1864
|
zIndex: Ws,
|
|
1865
1865
|
// SVG
|
|
@@ -1869,17 +1869,17 @@ const Q1 = /\b([a-z-]*)\(.*?\)/gu, gn = {
|
|
|
1869
1869
|
}, el = {
|
|
1870
1870
|
...ts,
|
|
1871
1871
|
// Color props
|
|
1872
|
-
color:
|
|
1873
|
-
backgroundColor:
|
|
1874
|
-
outlineColor:
|
|
1875
|
-
fill:
|
|
1876
|
-
stroke:
|
|
1872
|
+
color: Q,
|
|
1873
|
+
backgroundColor: Q,
|
|
1874
|
+
outlineColor: Q,
|
|
1875
|
+
fill: Q,
|
|
1876
|
+
stroke: Q,
|
|
1877
1877
|
// Border props
|
|
1878
|
-
borderColor:
|
|
1879
|
-
borderTopColor:
|
|
1880
|
-
borderRightColor:
|
|
1881
|
-
borderBottomColor:
|
|
1882
|
-
borderLeftColor:
|
|
1878
|
+
borderColor: Q,
|
|
1879
|
+
borderTopColor: Q,
|
|
1880
|
+
borderRightColor: Q,
|
|
1881
|
+
borderBottomColor: Q,
|
|
1882
|
+
borderLeftColor: Q,
|
|
1883
1883
|
filter: gn,
|
|
1884
1884
|
WebkitFilter: gn
|
|
1885
1885
|
}, Wo = (t) => el[t];
|
|
@@ -1971,7 +1971,7 @@ class al {
|
|
|
1971
1971
|
*/
|
|
1972
1972
|
constructor(e, n = {}) {
|
|
1973
1973
|
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (s, i = !0) => {
|
|
1974
|
-
const r =
|
|
1974
|
+
const r = rt.now();
|
|
1975
1975
|
if (this.updatedAt !== r && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(s), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents))
|
|
1976
1976
|
for (const o of this.dependents)
|
|
1977
1977
|
o.dirty();
|
|
@@ -1979,7 +1979,7 @@ class al {
|
|
|
1979
1979
|
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = n.owner;
|
|
1980
1980
|
}
|
|
1981
1981
|
setCurrent(e) {
|
|
1982
|
-
this.current = e, this.updatedAt =
|
|
1982
|
+
this.current = e, this.updatedAt = rt.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = rl(this.current));
|
|
1983
1983
|
}
|
|
1984
1984
|
setPrevFrameValue(e = this.current) {
|
|
1985
1985
|
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
|
|
@@ -2031,7 +2031,7 @@ class al {
|
|
|
2031
2031
|
this.events[e] || (this.events[e] = new In());
|
|
2032
2032
|
const s = this.events[e].add(n);
|
|
2033
2033
|
return e === "change" ? () => {
|
|
2034
|
-
s(),
|
|
2034
|
+
s(), W.read(() => {
|
|
2035
2035
|
this.events.change.getSize() || this.stop();
|
|
2036
2036
|
});
|
|
2037
2037
|
} : s;
|
|
@@ -2107,7 +2107,7 @@ class al {
|
|
|
2107
2107
|
* @public
|
|
2108
2108
|
*/
|
|
2109
2109
|
getVelocity() {
|
|
2110
|
-
const e =
|
|
2110
|
+
const e = rt.now();
|
|
2111
2111
|
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > $s)
|
|
2112
2112
|
return 0;
|
|
2113
2113
|
const n = Math.min(this.updatedAt - this.prevUpdatedAt, $s);
|
|
@@ -2268,7 +2268,7 @@ function Yo(t) {
|
|
|
2268
2268
|
function pl(t) {
|
|
2269
2269
|
return Yo(t) && t.tagName === "svg";
|
|
2270
2270
|
}
|
|
2271
|
-
const
|
|
2271
|
+
const st = (t) => !!(t && t.getVelocity), ml = [...Ko, Q, Pt], gl = (t) => ml.find(zo(t)), ss = wt({
|
|
2272
2272
|
transformPagePoint: (t) => t,
|
|
2273
2273
|
isStatic: !1,
|
|
2274
2274
|
reducedMotion: "never"
|
|
@@ -2292,13 +2292,13 @@ class yl extends Ln.Component {
|
|
|
2292
2292
|
}
|
|
2293
2293
|
}
|
|
2294
2294
|
function xl({ children: t, isPresent: e, anchorX: n, root: s }) {
|
|
2295
|
-
const i = Yt(), r =
|
|
2295
|
+
const i = Yt(), r = J(null), o = J({
|
|
2296
2296
|
width: 0,
|
|
2297
2297
|
height: 0,
|
|
2298
2298
|
top: 0,
|
|
2299
2299
|
left: 0,
|
|
2300
2300
|
right: 0
|
|
2301
|
-
}), { nonce: a } =
|
|
2301
|
+
}), { nonce: a } = tt(ss);
|
|
2302
2302
|
return Wi(() => {
|
|
2303
2303
|
const { width: c, height: u, top: d, left: h, right: f } = o.current;
|
|
2304
2304
|
if (e || !r.current || !c || !u)
|
|
@@ -2347,7 +2347,7 @@ function Cl() {
|
|
|
2347
2347
|
return /* @__PURE__ */ new Map();
|
|
2348
2348
|
}
|
|
2349
2349
|
function Xo(t = !0) {
|
|
2350
|
-
const e =
|
|
2350
|
+
const e = tt(Ne);
|
|
2351
2351
|
if (e === null)
|
|
2352
2352
|
return [!0, null];
|
|
2353
2353
|
const { isPresent: n, onExitComplete: s, register: i } = e, r = Yt();
|
|
@@ -2362,11 +2362,11 @@ const be = (t) => t.key || "";
|
|
|
2362
2362
|
function Gs(t) {
|
|
2363
2363
|
const e = [];
|
|
2364
2364
|
return At.forEach(t, (n) => {
|
|
2365
|
-
|
|
2365
|
+
yt(n) && e.push(n);
|
|
2366
2366
|
}), e;
|
|
2367
2367
|
}
|
|
2368
2368
|
const wl = ({ children: t, custom: e, initial: n = !0, onExitComplete: s, presenceAffectsLayout: i = !0, mode: r = "sync", propagate: o = !1, anchorX: a = "left", root: c }) => {
|
|
2369
|
-
const [u, d] = Xo(o), h = b(() => Gs(t), [t]), f = o && !u ? [] : h.map(be), p =
|
|
2369
|
+
const [u, d] = Xo(o), h = b(() => Gs(t), [t]), f = o && !u ? [] : h.map(be), p = J(!0), m = J(h), y = Dn(() => /* @__PURE__ */ new Map()), [w, C] = at(h), [x, v] = at(h);
|
|
2370
2370
|
oo(() => {
|
|
2371
2371
|
p.current = !1, m.current = h;
|
|
2372
2372
|
for (let L = 0; L < x.length; L++) {
|
|
@@ -2384,7 +2384,7 @@ const wl = ({ children: t, custom: e, initial: n = !0, onExitComplete: s, presen
|
|
|
2384
2384
|
return r === "wait" && T.length && (L = T), v(Gs(L)), C(h), null;
|
|
2385
2385
|
}
|
|
2386
2386
|
process.env.NODE_ENV !== "production" && r === "wait" && x.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
2387
|
-
const { forceRender: k } =
|
|
2387
|
+
const { forceRender: k } = tt(Rn);
|
|
2388
2388
|
return l.jsx(l.Fragment, { children: x.map((L) => {
|
|
2389
2389
|
const M = be(L), j = o && !u ? !1 : h === x || f.includes(M), _ = () => {
|
|
2390
2390
|
if (y.has(M))
|
|
@@ -2398,7 +2398,7 @@ const wl = ({ children: t, custom: e, initial: n = !0, onExitComplete: s, presen
|
|
|
2398
2398
|
};
|
|
2399
2399
|
return l.jsx(vl, { isPresent: j, initial: !p.current || n ? void 0 : !1, custom: e, presenceAffectsLayout: i, mode: r, root: c, onExitComplete: j ? void 0 : _, anchorX: a, children: L }, M);
|
|
2400
2400
|
}) });
|
|
2401
|
-
}, qo =
|
|
2401
|
+
}, qo = wt({ strict: !1 }), Ys = {
|
|
2402
2402
|
animation: [
|
|
2403
2403
|
"animate",
|
|
2404
2404
|
"variants",
|
|
@@ -2492,7 +2492,7 @@ function Tl(t) {
|
|
|
2492
2492
|
get: (s, i) => i === "create" ? t : (e.has(i) || e.set(i, t(i)), e.get(i))
|
|
2493
2493
|
});
|
|
2494
2494
|
}
|
|
2495
|
-
const Be = /* @__PURE__ */
|
|
2495
|
+
const Be = /* @__PURE__ */ wt({});
|
|
2496
2496
|
function Ie(t) {
|
|
2497
2497
|
return t !== null && typeof t == "object" && typeof t.start == "function";
|
|
2498
2498
|
}
|
|
@@ -2525,7 +2525,7 @@ function Ml(t, e) {
|
|
|
2525
2525
|
return t.inherit !== !1 ? e : {};
|
|
2526
2526
|
}
|
|
2527
2527
|
function Sl(t) {
|
|
2528
|
-
const { initial: e, animate: n } = Ml(t,
|
|
2528
|
+
const { initial: e, animate: n } = Ml(t, tt(Be));
|
|
2529
2529
|
return b(() => ({ initial: e, animate: n }), [Xs(e), Xs(n)]);
|
|
2530
2530
|
}
|
|
2531
2531
|
function Xs(t) {
|
|
@@ -2548,9 +2548,9 @@ function Al(t, e, n) {
|
|
|
2548
2548
|
[e]
|
|
2549
2549
|
);
|
|
2550
2550
|
}
|
|
2551
|
-
const rs = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Vl = "framerAppearId", tr = "data-" + rs(Vl), er =
|
|
2551
|
+
const rs = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Vl = "framerAppearId", tr = "data-" + rs(Vl), er = wt({});
|
|
2552
2552
|
function Rl(t, e, n, s, i) {
|
|
2553
|
-
const { visualElement: r } =
|
|
2553
|
+
const { visualElement: r } = tt(Be), o = tt(qo), a = tt(Ne), c = tt(ss).reducedMotion, u = J(null);
|
|
2554
2554
|
s = s || o.renderer, !u.current && s && (u.current = s(t, {
|
|
2555
2555
|
visualState: e,
|
|
2556
2556
|
parent: r,
|
|
@@ -2559,13 +2559,13 @@ function Rl(t, e, n, s, i) {
|
|
|
2559
2559
|
blockInitialAnimation: a ? a.initial === !1 : !1,
|
|
2560
2560
|
reducedMotionConfig: c
|
|
2561
2561
|
}));
|
|
2562
|
-
const d = u.current, h =
|
|
2562
|
+
const d = u.current, h = tt(er);
|
|
2563
2563
|
d && !d.projection && i && (d.type === "html" || d.type === "svg") && Dl(u.current, n, i, h);
|
|
2564
|
-
const f =
|
|
2564
|
+
const f = J(!1);
|
|
2565
2565
|
Wi(() => {
|
|
2566
2566
|
d && f.current && d.update(n, a);
|
|
2567
2567
|
});
|
|
2568
|
-
const p = n[tr], m =
|
|
2568
|
+
const p = n[tr], m = J(!!p && !window.MotionHandoffIsComplete?.(p) && window.MotionHasOptimisedAnimation?.(p));
|
|
2569
2569
|
return oo(() => {
|
|
2570
2570
|
d && (f.current = !0, window.MotionIsMounted = !0, d.updateFeatures(), es.render(d.render), m.current && d.animationState && d.animationState.animateChanges());
|
|
2571
2571
|
}), Tt(() => {
|
|
@@ -2604,7 +2604,7 @@ function El({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVis
|
|
|
2604
2604
|
function r(a, c) {
|
|
2605
2605
|
let u;
|
|
2606
2606
|
const d = {
|
|
2607
|
-
...
|
|
2607
|
+
...tt(ss),
|
|
2608
2608
|
...a,
|
|
2609
2609
|
layoutId: _l(a)
|
|
2610
2610
|
}, { isStatic: h } = d, f = Sl(a), p = s(a, h);
|
|
@@ -2620,14 +2620,14 @@ function El({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVis
|
|
|
2620
2620
|
return o[Pl] = i, o;
|
|
2621
2621
|
}
|
|
2622
2622
|
function _l({ layoutId: t }) {
|
|
2623
|
-
const e =
|
|
2623
|
+
const e = tt(Rn).id;
|
|
2624
2624
|
return e && t !== void 0 ? e + "-" + t : t;
|
|
2625
2625
|
}
|
|
2626
2626
|
function Nl(t, e) {
|
|
2627
|
-
const n =
|
|
2627
|
+
const n = tt(qo).strict;
|
|
2628
2628
|
if (process.env.NODE_ENV !== "production" && e && n) {
|
|
2629
2629
|
const s = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
|
|
2630
|
-
t.ignoreStrict ? Xt(!1, s) :
|
|
2630
|
+
t.ignoreStrict ? Xt(!1, s) : vt(!1, s);
|
|
2631
2631
|
}
|
|
2632
2632
|
}
|
|
2633
2633
|
function Bl(t) {
|
|
@@ -2702,7 +2702,7 @@ const ls = () => ({
|
|
|
2702
2702
|
});
|
|
2703
2703
|
function ir(t, e, n) {
|
|
2704
2704
|
for (const s in e)
|
|
2705
|
-
!
|
|
2705
|
+
!st(e[s]) && !sr(s, n) && (t[s] = e[s]);
|
|
2706
2706
|
}
|
|
2707
2707
|
function Kl({ transformTemplate: t }, e) {
|
|
2708
2708
|
return b(() => {
|
|
@@ -2728,8 +2728,8 @@ const Ul = {
|
|
|
2728
2728
|
function Zl(t, e, n = 1, s = 0, i = !0) {
|
|
2729
2729
|
t.pathLength = 1;
|
|
2730
2730
|
const r = i ? Ul : Hl;
|
|
2731
|
-
t[r.offset] =
|
|
2732
|
-
const o =
|
|
2731
|
+
t[r.offset] = A.transform(-s);
|
|
2732
|
+
const o = A.transform(e), a = A.transform(n);
|
|
2733
2733
|
t[r.array] = `${o} ${a}`;
|
|
2734
2734
|
}
|
|
2735
2735
|
function or(t, {
|
|
@@ -2817,7 +2817,7 @@ function cs(t) {
|
|
|
2817
2817
|
}
|
|
2818
2818
|
function Xl(t = !1) {
|
|
2819
2819
|
return (n, s, i, { latestValues: r }, o) => {
|
|
2820
|
-
const c = (cs(n) ? Gl : $l)(s, r, o, n), u = Ll(s, typeof n == "string", t), d = n !== $i ? { ...u, ...c, ref: i } : {}, { children: h } = s, f = b(() =>
|
|
2820
|
+
const c = (cs(n) ? Gl : $l)(s, r, o, n), u = Ll(s, typeof n == "string", t), d = n !== $i ? { ...u, ...c, ref: i } : {}, { children: h } = s, f = b(() => st(h) ? h.get() : h, [h]);
|
|
2821
2821
|
return ha(n, {
|
|
2822
2822
|
...d,
|
|
2823
2823
|
children: f
|
|
@@ -2842,7 +2842,7 @@ function us(t, e, n, s) {
|
|
|
2842
2842
|
return e;
|
|
2843
2843
|
}
|
|
2844
2844
|
function Se(t) {
|
|
2845
|
-
return
|
|
2845
|
+
return st(t) ? t.get() : t;
|
|
2846
2846
|
}
|
|
2847
2847
|
function ql({ scrapeMotionValuesFromProps: t, createRenderState: e }, n, s, i) {
|
|
2848
2848
|
return {
|
|
@@ -2851,7 +2851,7 @@ function ql({ scrapeMotionValuesFromProps: t, createRenderState: e }, n, s, i) {
|
|
|
2851
2851
|
};
|
|
2852
2852
|
}
|
|
2853
2853
|
const lr = (t) => (e, n) => {
|
|
2854
|
-
const s =
|
|
2854
|
+
const s = tt(Be), i = tt(Ne), r = () => ql(t, e, s, i);
|
|
2855
2855
|
return n ? r() : Dn(r);
|
|
2856
2856
|
};
|
|
2857
2857
|
function Jl(t, e, n, s) {
|
|
@@ -2888,7 +2888,7 @@ function Jl(t, e, n, s) {
|
|
|
2888
2888
|
function ds(t, e, n) {
|
|
2889
2889
|
const { style: s } = t, i = {};
|
|
2890
2890
|
for (const r in s)
|
|
2891
|
-
(
|
|
2891
|
+
(st(s[r]) || e.style && st(e.style[r]) || sr(r, t) || n?.getValue(r)?.liveStyle !== void 0) && (i[r] = s[r]);
|
|
2892
2892
|
return i;
|
|
2893
2893
|
}
|
|
2894
2894
|
const Ql = {
|
|
@@ -2900,7 +2900,7 @@ const Ql = {
|
|
|
2900
2900
|
function cr(t, e, n) {
|
|
2901
2901
|
const s = ds(t, e, n);
|
|
2902
2902
|
for (const i in t)
|
|
2903
|
-
if (
|
|
2903
|
+
if (st(t[i]) || st(e[i])) {
|
|
2904
2904
|
const r = Jt.indexOf(i) !== -1 ? "attr" + i.charAt(0).toUpperCase() + i.substring(1) : i;
|
|
2905
2905
|
s[r] = t[i];
|
|
2906
2906
|
}
|
|
@@ -2945,14 +2945,14 @@ function ic(t, e) {
|
|
|
2945
2945
|
}
|
|
2946
2946
|
}
|
|
2947
2947
|
function oc(t) {
|
|
2948
|
-
return !!(
|
|
2948
|
+
return !!(st(t) && t.add);
|
|
2949
2949
|
}
|
|
2950
2950
|
function xn(t, e) {
|
|
2951
2951
|
const n = t.getValue("willChange");
|
|
2952
2952
|
if (oc(n))
|
|
2953
2953
|
return n.add(e);
|
|
2954
|
-
if (!n &&
|
|
2955
|
-
const s = new
|
|
2954
|
+
if (!n && Ct.WillChange) {
|
|
2955
|
+
const s = new Ct.WillChange("auto");
|
|
2956
2956
|
t.addValue("willChange", s), s.add(e);
|
|
2957
2957
|
}
|
|
2958
2958
|
}
|
|
@@ -3007,10 +3007,10 @@ const hs = (t, e, n, s = {}, i, r) => (o) => {
|
|
|
3007
3007
|
};
|
|
3008
3008
|
fc(a) || Object.assign(d, hc(t, d)), d.duration && (d.duration = /* @__PURE__ */ ft(d.duration)), d.repeatDelay && (d.repeatDelay = /* @__PURE__ */ ft(d.repeatDelay)), d.from !== void 0 && (d.keyframes[0] = d.from);
|
|
3009
3009
|
let h = !1;
|
|
3010
|
-
if ((d.type === !1 || d.duration === 0 && !d.repeatDelay) && (d.duration = 0, d.delay === 0 && (h = !0)), (
|
|
3010
|
+
if ((d.type === !1 || d.duration === 0 && !d.repeatDelay) && (d.duration = 0, d.delay === 0 && (h = !0)), (Ct.instantAnimations || Ct.skipAnimations) && (h = !0, d.duration = 0, d.delay = 0), d.allowFlatten = !a.type && !a.ease, h && !r && e.get() !== void 0) {
|
|
3011
3011
|
const f = ac(d.keyframes, a);
|
|
3012
3012
|
if (f !== void 0) {
|
|
3013
|
-
|
|
3013
|
+
W.update(() => {
|
|
3014
3014
|
d.onUpdate(f), d.onComplete();
|
|
3015
3015
|
});
|
|
3016
3016
|
return;
|
|
@@ -3040,7 +3040,7 @@ function dr(t, e, { delay: n = 0, transitionOverride: s, type: i } = {}) {
|
|
|
3040
3040
|
if (window.MotionHandoffAnimation) {
|
|
3041
3041
|
const C = ur(t);
|
|
3042
3042
|
if (C) {
|
|
3043
|
-
const x = window.MotionHandoffAnimation(C, d,
|
|
3043
|
+
const x = window.MotionHandoffAnimation(C, d, W);
|
|
3044
3044
|
x !== null && (p.startTime = x, y = !0);
|
|
3045
3045
|
}
|
|
3046
3046
|
}
|
|
@@ -3049,7 +3049,7 @@ function dr(t, e, { delay: n = 0, transitionOverride: s, type: i } = {}) {
|
|
|
3049
3049
|
w && c.push(w);
|
|
3050
3050
|
}
|
|
3051
3051
|
return o && Promise.all(c).then(() => {
|
|
3052
|
-
|
|
3052
|
+
W.update(() => {
|
|
3053
3053
|
o && ic(t, o);
|
|
3054
3054
|
});
|
|
3055
3055
|
}), c;
|
|
@@ -3161,8 +3161,8 @@ function kc(t) {
|
|
|
3161
3161
|
const N = Array.isArray(v) ? v : [v];
|
|
3162
3162
|
let B = N.reduce(i(C), {});
|
|
3163
3163
|
k === !1 && (B = {});
|
|
3164
|
-
const { prevResolvedValues:
|
|
3165
|
-
...
|
|
3164
|
+
const { prevResolvedValues: K = {} } = x, R = {
|
|
3165
|
+
...K,
|
|
3166
3166
|
...B
|
|
3167
3167
|
}, G = (z) => {
|
|
3168
3168
|
j = !0, f.has(z) && (_ = !0, f.delete(z)), x.needsAnimating[z] = !0;
|
|
@@ -3170,11 +3170,11 @@ function kc(t) {
|
|
|
3170
3170
|
Y && (Y.liveStyle = !1);
|
|
3171
3171
|
};
|
|
3172
3172
|
for (const z in R) {
|
|
3173
|
-
const Y = B[z],
|
|
3173
|
+
const Y = B[z], lt = K[z];
|
|
3174
3174
|
if (p.hasOwnProperty(z))
|
|
3175
3175
|
continue;
|
|
3176
3176
|
let g = !1;
|
|
3177
|
-
yn(Y) && yn(
|
|
3177
|
+
yn(Y) && yn(lt) ? g = !hr(Y, lt) : g = Y !== lt, g ? Y != null ? G(z) : f.add(z) : Y !== void 0 && f.has(z) ? G(z) : x.protectedKeys[z] = !0;
|
|
3178
3178
|
}
|
|
3179
3179
|
x.prevProp = v, x.prevResolvedValues = B, x.isActive && (p = { ...p, ...B }), s && t.blockInitialAnimation && (j = !1), j && (!(L && M) || _) && h.push(...N.map((z) => ({
|
|
3180
3180
|
animation: z,
|
|
@@ -3337,26 +3337,26 @@ function Ac(t, e) {
|
|
|
3337
3337
|
};
|
|
3338
3338
|
}
|
|
3339
3339
|
const mr = 1e-4, Vc = 1 - mr, Rc = 1 + mr, gr = 0.01, Dc = 0 - gr, Ec = 0 + gr;
|
|
3340
|
-
function
|
|
3340
|
+
function ot(t) {
|
|
3341
3341
|
return t.max - t.min;
|
|
3342
3342
|
}
|
|
3343
3343
|
function _c(t, e, n) {
|
|
3344
3344
|
return Math.abs(t - e) <= n;
|
|
3345
3345
|
}
|
|
3346
3346
|
function Qs(t, e, n, s = 0.5) {
|
|
3347
|
-
t.origin = s, t.originPoint = H(e.min, e.max, t.origin), t.scale =
|
|
3347
|
+
t.origin = s, t.originPoint = H(e.min, e.max, t.origin), t.scale = ot(n) / ot(e), t.translate = H(n.min, n.max, t.origin) - t.originPoint, (t.scale >= Vc && t.scale <= Rc || isNaN(t.scale)) && (t.scale = 1), (t.translate >= Dc && t.translate <= Ec || isNaN(t.translate)) && (t.translate = 0);
|
|
3348
3348
|
}
|
|
3349
3349
|
function ae(t, e, n, s) {
|
|
3350
3350
|
Qs(t.x, e.x, n.x, s ? s.originX : void 0), Qs(t.y, e.y, n.y, s ? s.originY : void 0);
|
|
3351
3351
|
}
|
|
3352
3352
|
function ti(t, e, n) {
|
|
3353
|
-
t.min = n.min + e.min, t.max = t.min +
|
|
3353
|
+
t.min = n.min + e.min, t.max = t.min + ot(e);
|
|
3354
3354
|
}
|
|
3355
3355
|
function Nc(t, e, n) {
|
|
3356
3356
|
ti(t.x, e.x, n.x), ti(t.y, e.y, n.y);
|
|
3357
3357
|
}
|
|
3358
3358
|
function ei(t, e, n) {
|
|
3359
|
-
t.min = e.min - n.min, t.max = t.min +
|
|
3359
|
+
t.min = e.min - n.min, t.max = t.min + ot(e);
|
|
3360
3360
|
}
|
|
3361
3361
|
function le(t, e, n) {
|
|
3362
3362
|
ei(t.x, e.x, n.x), ei(t.y, e.y, n.y);
|
|
@@ -3369,7 +3369,7 @@ const ni = () => ({
|
|
|
3369
3369
|
}), zt = () => ({
|
|
3370
3370
|
x: ni(),
|
|
3371
3371
|
y: ni()
|
|
3372
|
-
}), si = () => ({ min: 0, max: 0 }),
|
|
3372
|
+
}), si = () => ({ min: 0, max: 0 }), q = () => ({
|
|
3373
3373
|
x: si(),
|
|
3374
3374
|
y: si()
|
|
3375
3375
|
});
|
|
@@ -3456,7 +3456,7 @@ class wr {
|
|
|
3456
3456
|
const { onStart: C, onMove: x } = this.handlers;
|
|
3457
3457
|
p || (C && C(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), x && x(this.lastMoveEvent, f);
|
|
3458
3458
|
}, this.handlePointerMove = (f, p) => {
|
|
3459
|
-
this.lastMoveEvent = f, this.lastMoveEventInfo = Je(p, this.transformPagePoint),
|
|
3459
|
+
this.lastMoveEvent = f, this.lastMoveEventInfo = Je(p, this.transformPagePoint), W.update(this.updatePoint, !0);
|
|
3460
3460
|
}, this.handlePointerUp = (f, p) => {
|
|
3461
3461
|
this.end();
|
|
3462
3462
|
const { onEnd: m, onSessionEnd: y, resumeAnimation: w } = this.handlers;
|
|
@@ -3508,7 +3508,7 @@ function zc(t, e) {
|
|
|
3508
3508
|
n--;
|
|
3509
3509
|
if (!s)
|
|
3510
3510
|
return { x: 0, y: 0 };
|
|
3511
|
-
const r = /* @__PURE__ */
|
|
3511
|
+
const r = /* @__PURE__ */ mt(i.timestamp - s.timestamp);
|
|
3512
3512
|
if (r === 0)
|
|
3513
3513
|
return { x: 0, y: 0 };
|
|
3514
3514
|
const o = {
|
|
@@ -3544,8 +3544,8 @@ function $c(t, e) {
|
|
|
3544
3544
|
}
|
|
3545
3545
|
function Uc(t, e) {
|
|
3546
3546
|
let n = 0.5;
|
|
3547
|
-
const s =
|
|
3548
|
-
return i > s ? n = /* @__PURE__ */ ce(e.min, e.max - s, t.min) : s > i && (n = /* @__PURE__ */ ce(t.min, t.max - i, e.min)),
|
|
3547
|
+
const s = ot(t), i = ot(e);
|
|
3548
|
+
return i > s ? n = /* @__PURE__ */ ce(e.min, e.max - s, t.min) : s > i && (n = /* @__PURE__ */ ce(t.min, t.max - i, e.min)), xt(0, 1, n);
|
|
3549
3549
|
}
|
|
3550
3550
|
function Hc(t, e) {
|
|
3551
3551
|
const n = {};
|
|
@@ -3570,7 +3570,7 @@ function pi(t, e) {
|
|
|
3570
3570
|
const Gc = /* @__PURE__ */ new WeakMap();
|
|
3571
3571
|
class Yc {
|
|
3572
3572
|
constructor(e) {
|
|
3573
|
-
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic =
|
|
3573
|
+
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = q(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
|
|
3574
3574
|
}
|
|
3575
3575
|
start(e, { snapToCursor: n = !1, distanceThreshold: s } = {}) {
|
|
3576
3576
|
const { presenceContext: i } = this.visualElement;
|
|
@@ -3585,15 +3585,15 @@ class Yc {
|
|
|
3585
3585
|
return;
|
|
3586
3586
|
this.latestPointerEvent = h, this.latestPanInfo = f, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), ut((C) => {
|
|
3587
3587
|
let x = this.getAxisMotionValue(C).get() || 0;
|
|
3588
|
-
if (
|
|
3588
|
+
if (gt.test(x)) {
|
|
3589
3589
|
const { projection: v } = this.visualElement;
|
|
3590
3590
|
if (v && v.layout) {
|
|
3591
3591
|
const T = v.layout.layoutBox[C];
|
|
3592
|
-
T && (x =
|
|
3592
|
+
T && (x = ot(T) * (parseFloat(x) / 100));
|
|
3593
3593
|
}
|
|
3594
3594
|
}
|
|
3595
3595
|
this.originPoint[C] = x;
|
|
3596
|
-
}), y &&
|
|
3596
|
+
}), y && W.postRender(() => y(h, f)), xn(this.visualElement, "transform");
|
|
3597
3597
|
const { animationState: w } = this.visualElement;
|
|
3598
3598
|
w && w.setActive("whileDrag", !0);
|
|
3599
3599
|
}, a = (h, f) => {
|
|
@@ -3633,7 +3633,7 @@ class Yc {
|
|
|
3633
3633
|
const { velocity: o } = i;
|
|
3634
3634
|
this.startAnimation(o);
|
|
3635
3635
|
const { onDragEnd: a } = this.getProps();
|
|
3636
|
-
a &&
|
|
3636
|
+
a && W.postRender(() => a(s, i));
|
|
3637
3637
|
}
|
|
3638
3638
|
/**
|
|
3639
3639
|
* @internal
|
|
@@ -3664,7 +3664,7 @@ class Yc {
|
|
|
3664
3664
|
if (!e || !Ft(e))
|
|
3665
3665
|
return !1;
|
|
3666
3666
|
const s = e.current;
|
|
3667
|
-
|
|
3667
|
+
vt(s !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");
|
|
3668
3668
|
const { projection: i } = this.visualElement;
|
|
3669
3669
|
if (!i || !i.layout)
|
|
3670
3670
|
return !1;
|
|
@@ -3771,7 +3771,7 @@ class Yc {
|
|
|
3771
3771
|
const { dragConstraints: c } = this.getProps();
|
|
3772
3772
|
Ft(c) && c.current && (this.constraints = this.resolveRefConstraints());
|
|
3773
3773
|
}, { projection: i } = this.visualElement, r = i.addEventListener("measure", s);
|
|
3774
|
-
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()),
|
|
3774
|
+
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), W.read(s);
|
|
3775
3775
|
const o = me(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: c, hasLayoutChanged: u }) => {
|
|
3776
3776
|
this.isDragging && u && (ut((d) => {
|
|
3777
3777
|
const h = this.getAxisMotionValue(d);
|
|
@@ -3815,7 +3815,7 @@ class qc extends Vt {
|
|
|
3815
3815
|
}
|
|
3816
3816
|
}
|
|
3817
3817
|
const mi = (t) => (e, n) => {
|
|
3818
|
-
t &&
|
|
3818
|
+
t && W.postRender(() => t(e, n));
|
|
3819
3819
|
};
|
|
3820
3820
|
class Jc extends Vt {
|
|
3821
3821
|
constructor() {
|
|
@@ -3834,7 +3834,7 @@ class Jc extends Vt {
|
|
|
3834
3834
|
onStart: mi(n),
|
|
3835
3835
|
onMove: s,
|
|
3836
3836
|
onEnd: (r, o) => {
|
|
3837
|
-
delete this.session, i &&
|
|
3837
|
+
delete this.session, i && W.postRender(() => i(r, o));
|
|
3838
3838
|
}
|
|
3839
3839
|
};
|
|
3840
3840
|
}
|
|
@@ -3868,7 +3868,7 @@ const se = {
|
|
|
3868
3868
|
if (!e.target)
|
|
3869
3869
|
return t;
|
|
3870
3870
|
if (typeof t == "string")
|
|
3871
|
-
if (
|
|
3871
|
+
if (A.test(t))
|
|
3872
3872
|
t = parseFloat(t);
|
|
3873
3873
|
else
|
|
3874
3874
|
return t;
|
|
@@ -3904,7 +3904,7 @@ class t0 extends fa {
|
|
|
3904
3904
|
}
|
|
3905
3905
|
getSnapshotBeforeUpdate(e) {
|
|
3906
3906
|
const { layoutDependency: n, visualElement: s, drag: i, isPresent: r } = this.props, { projection: o } = s;
|
|
3907
|
-
return o && (o.isPresent = r, yi = !0, i || e.layoutDependency !== n || n === void 0 || e.isPresent !== r ? o.willUpdate() : this.safeToRemove(), e.isPresent !== r && (r ? o.promote() : o.relegate() ||
|
|
3907
|
+
return o && (o.isPresent = r, yi = !0, i || e.layoutDependency !== n || n === void 0 || e.isPresent !== r ? o.willUpdate() : this.safeToRemove(), e.isPresent !== r && (r ? o.promote() : o.relegate() || W.postRender(() => {
|
|
3908
3908
|
const a = o.getStack();
|
|
3909
3909
|
(!a || !a.members.length) && this.safeToRemove();
|
|
3910
3910
|
}))), null;
|
|
@@ -3928,8 +3928,8 @@ class t0 extends fa {
|
|
|
3928
3928
|
}
|
|
3929
3929
|
}
|
|
3930
3930
|
function jr(t) {
|
|
3931
|
-
const [e, n] = Xo(), s =
|
|
3932
|
-
return l.jsx(t0, { ...t, layoutGroup: s, switchLayoutGroup:
|
|
3931
|
+
const [e, n] = Xo(), s = tt(Rn);
|
|
3932
|
+
return l.jsx(t0, { ...t, layoutGroup: s, switchLayoutGroup: tt(er), isPresent: e, safeToRemove: n });
|
|
3933
3933
|
}
|
|
3934
3934
|
const e0 = {
|
|
3935
3935
|
borderRadius: {
|
|
@@ -3948,7 +3948,7 @@ const e0 = {
|
|
|
3948
3948
|
boxShadow: Qc
|
|
3949
3949
|
};
|
|
3950
3950
|
function n0(t, e, n) {
|
|
3951
|
-
const s =
|
|
3951
|
+
const s = st(t) ? t : Zt(t);
|
|
3952
3952
|
return s.start(hs("", s, e, n)), s.animation;
|
|
3953
3953
|
}
|
|
3954
3954
|
const s0 = (t, e) => t.depth - e.depth;
|
|
@@ -3967,13 +3967,13 @@ class i0 {
|
|
|
3967
3967
|
}
|
|
3968
3968
|
}
|
|
3969
3969
|
function o0(t, e) {
|
|
3970
|
-
const n =
|
|
3970
|
+
const n = rt.now(), s = ({ timestamp: i }) => {
|
|
3971
3971
|
const r = i - n;
|
|
3972
3972
|
r >= e && (St(s), t(r - e));
|
|
3973
3973
|
};
|
|
3974
|
-
return
|
|
3974
|
+
return W.setup(s, !0), () => St(s);
|
|
3975
3975
|
}
|
|
3976
|
-
const br = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], r0 = br.length, xi = (t) => typeof t == "string" ? parseFloat(t) : t, vi = (t) => typeof t == "number" ||
|
|
3976
|
+
const br = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], r0 = br.length, xi = (t) => typeof t == "string" ? parseFloat(t) : t, vi = (t) => typeof t == "number" || A.test(t);
|
|
3977
3977
|
function a0(t, e, n, s, i, r) {
|
|
3978
3978
|
i ? (t.opacity = H(0, n.opacity ?? 1, l0(s)), t.opacityExit = H(e.opacity ?? 1, 0, c0(s))) : r && (t.opacity = H(e.opacity ?? 1, n.opacity ?? 1, s));
|
|
3979
3979
|
for (let o = 0; o < r0; o++) {
|
|
@@ -3981,7 +3981,7 @@ function a0(t, e, n, s, i, r) {
|
|
|
3981
3981
|
let c = Ci(e, a), u = Ci(n, a);
|
|
3982
3982
|
if (c === void 0 && u === void 0)
|
|
3983
3983
|
continue;
|
|
3984
|
-
c || (c = 0), u || (u = 0), c === 0 || u === 0 || vi(c) === vi(u) ? (t[a] = Math.max(H(xi(c), xi(u), s), 0), (
|
|
3984
|
+
c || (c = 0), u || (u = 0), c === 0 || u === 0 || vi(c) === vi(u) ? (t[a] = Math.max(H(xi(c), xi(u), s), 0), (gt.test(u) || gt.test(c)) && (t[a] += "%")) : t[a] = u;
|
|
3985
3985
|
}
|
|
3986
3986
|
(e.rotate || n.rotate) && (t.rotate = H(e.rotate || 0, n.rotate || 0, s));
|
|
3987
3987
|
}
|
|
@@ -4005,7 +4005,7 @@ function ji(t, e, n, s, i) {
|
|
|
4005
4005
|
return t -= e, t = Ee(t, 1 / n, s), i !== void 0 && (t = Ee(t, 1 / i, s)), t;
|
|
4006
4006
|
}
|
|
4007
4007
|
function u0(t, e = 0, n = 1, s = 0.5, i, r = t, o = t) {
|
|
4008
|
-
if (
|
|
4008
|
+
if (gt.test(e) && (e = parseFloat(e), e = H(o.min, o.max, e / 100) - o.min), typeof e != "number")
|
|
4009
4009
|
return;
|
|
4010
4010
|
let a = H(r.min, r.max, s);
|
|
4011
4011
|
t === r && (a -= e), t.min = ji(t.min, e, n, a, i), t.max = ji(t.max, e, n, a, i);
|
|
@@ -4036,7 +4036,7 @@ function Mr(t, e) {
|
|
|
4036
4036
|
return Si(t.x, e.x) && Si(t.y, e.y);
|
|
4037
4037
|
}
|
|
4038
4038
|
function Pi(t) {
|
|
4039
|
-
return
|
|
4039
|
+
return ot(t.x) / ot(t.y);
|
|
4040
4040
|
}
|
|
4041
4041
|
function Ai(t, e) {
|
|
4042
4042
|
return t.translate === e.translate && t.scale === e.scale && t.originPoint === e.originPoint;
|
|
@@ -4120,7 +4120,7 @@ function Sr(t) {
|
|
|
4120
4120
|
const n = ur(e);
|
|
4121
4121
|
if (window.MotionHasOptimisedAnimation(n, "transform")) {
|
|
4122
4122
|
const { layout: i, layoutId: r } = t.options;
|
|
4123
|
-
window.MotionCancelOptimisedAnimation(n, "transform",
|
|
4123
|
+
window.MotionCancelOptimisedAnimation(n, "transform", W, !(i || r));
|
|
4124
4124
|
}
|
|
4125
4125
|
const { parent: s } = t;
|
|
4126
4126
|
s && !s.hasCheckedOptimisedAppear && Sr(s);
|
|
@@ -4158,7 +4158,7 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4158
4158
|
if (u && !u.current && u.mount(o), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (c || a) && (this.isLayoutDirty = !0), t) {
|
|
4159
4159
|
let d, h = 0;
|
|
4160
4160
|
const f = () => this.root.updateBlockedByResize = !1;
|
|
4161
|
-
|
|
4161
|
+
W.read(() => {
|
|
4162
4162
|
h = window.innerWidth;
|
|
4163
4163
|
}), t(o, () => {
|
|
4164
4164
|
const p = window.innerWidth;
|
|
@@ -4238,8 +4238,8 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4238
4238
|
return;
|
|
4239
4239
|
}
|
|
4240
4240
|
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(j0), this.nodes.forEach(x0), this.nodes.forEach(v0)) : this.nodes.forEach(Ri), this.clearAllSnapshots();
|
|
4241
|
-
const a =
|
|
4242
|
-
et.delta =
|
|
4241
|
+
const a = rt.now();
|
|
4242
|
+
et.delta = xt(0, 1e3 / 60, a - et.timestamp), et.timestamp = a, et.isProcessing = !0, Ue.update.process(et), Ue.preRender.process(et), Ue.render.process(et), et.isProcessing = !1;
|
|
4243
4243
|
}
|
|
4244
4244
|
didUpdate() {
|
|
4245
4245
|
this.updateScheduled || (this.updateScheduled = !0, es.read(this.scheduleUpdate));
|
|
@@ -4248,10 +4248,10 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4248
4248
|
this.nodes.forEach(k0), this.sharedNodes.forEach(M0);
|
|
4249
4249
|
}
|
|
4250
4250
|
scheduleUpdateProjection() {
|
|
4251
|
-
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0,
|
|
4251
|
+
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, W.preRender(this.updateProjection, !1, !0));
|
|
4252
4252
|
}
|
|
4253
4253
|
scheduleCheckAfterUnmount() {
|
|
4254
|
-
|
|
4254
|
+
W.postRender(() => {
|
|
4255
4255
|
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
|
|
4256
4256
|
});
|
|
4257
4257
|
}
|
|
@@ -4259,7 +4259,7 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4259
4259
|
* Update measurements
|
|
4260
4260
|
*/
|
|
4261
4261
|
updateSnapshot() {
|
|
4262
|
-
this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !
|
|
4262
|
+
this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !ot(this.snapshot.measuredBox.x) && !ot(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
|
|
4263
4263
|
}
|
|
4264
4264
|
updateLayout() {
|
|
4265
4265
|
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty))
|
|
@@ -4268,7 +4268,7 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4268
4268
|
for (let c = 0; c < this.path.length; c++)
|
|
4269
4269
|
this.path[c].updateScroll();
|
|
4270
4270
|
const o = this.layout;
|
|
4271
|
-
this.layout = this.measure(!1), this.layoutCorrected =
|
|
4271
|
+
this.layout = this.measure(!1), this.layoutCorrected = q(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
|
|
4272
4272
|
const { visualElement: a } = this.options;
|
|
4273
4273
|
a && a.notify("LayoutMeasure", this.layout.layoutBox, o ? o.layoutBox : void 0);
|
|
4274
4274
|
}
|
|
@@ -4305,7 +4305,7 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4305
4305
|
measurePageBox() {
|
|
4306
4306
|
const { visualElement: o } = this.options;
|
|
4307
4307
|
if (!o)
|
|
4308
|
-
return
|
|
4308
|
+
return q();
|
|
4309
4309
|
const a = o.measureViewportBox();
|
|
4310
4310
|
if (!(this.scroll?.wasRoot || this.path.some(R0))) {
|
|
4311
4311
|
const { scroll: u } = this.root;
|
|
@@ -4314,7 +4314,7 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4314
4314
|
return a;
|
|
4315
4315
|
}
|
|
4316
4316
|
removeElementScroll(o) {
|
|
4317
|
-
const a =
|
|
4317
|
+
const a = q();
|
|
4318
4318
|
if (ct(a, o), this.scroll?.wasRoot)
|
|
4319
4319
|
return a;
|
|
4320
4320
|
for (let c = 0; c < this.path.length; c++) {
|
|
@@ -4324,7 +4324,7 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4324
4324
|
return a;
|
|
4325
4325
|
}
|
|
4326
4326
|
applyTransform(o, a = !1) {
|
|
4327
|
-
const c =
|
|
4327
|
+
const c = q();
|
|
4328
4328
|
ct(c, o);
|
|
4329
4329
|
for (let u = 0; u < this.path.length; u++) {
|
|
4330
4330
|
const d = this.path[u];
|
|
@@ -4336,14 +4336,14 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4336
4336
|
return Dt(this.latestValues) && Wt(c, this.latestValues), c;
|
|
4337
4337
|
}
|
|
4338
4338
|
removeTransform(o) {
|
|
4339
|
-
const a =
|
|
4339
|
+
const a = q();
|
|
4340
4340
|
ct(a, o);
|
|
4341
4341
|
for (let c = 0; c < this.path.length; c++) {
|
|
4342
4342
|
const u = this.path[c];
|
|
4343
4343
|
if (!u.instance || !Dt(u.latestValues))
|
|
4344
4344
|
continue;
|
|
4345
4345
|
Cn(u.latestValues) && u.updateSnapshot();
|
|
4346
|
-
const d =
|
|
4346
|
+
const d = q(), h = u.measurePageBox();
|
|
4347
4347
|
ct(d, h), Li(a, u.latestValues, u.snapshot ? u.snapshot.layoutBox : void 0, d);
|
|
4348
4348
|
}
|
|
4349
4349
|
return Dt(this.latestValues) && Li(a, this.latestValues), a;
|
|
@@ -4374,12 +4374,12 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4374
4374
|
if (!(!this.layout || !(d || h))) {
|
|
4375
4375
|
if (this.resolvedRelativeTargetAt = et.timestamp, !this.targetDelta && !this.relativeTarget) {
|
|
4376
4376
|
const f = this.getClosestProjectingParent();
|
|
4377
|
-
f && f.layout && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget =
|
|
4377
|
+
f && f.layout && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget = q(), this.relativeTargetOrigin = q(), le(this.relativeTargetOrigin, this.layout.layoutBox, f.layout.layoutBox), ct(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
4378
4378
|
}
|
|
4379
|
-
if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target =
|
|
4379
|
+
if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = q(), this.targetWithTransforms = q()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Nc(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : ct(this.target, this.layout.layoutBox), xr(this.target, this.targetDelta)) : ct(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
|
|
4380
4380
|
this.attemptToResolveRelativeTarget = !1;
|
|
4381
4381
|
const f = this.getClosestProjectingParent();
|
|
4382
|
-
f && !!f.resumingFrom == !!this.resumingFrom && !f.options.layoutScroll && f.target && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget =
|
|
4382
|
+
f && !!f.resumingFrom == !!this.resumingFrom && !f.options.layoutScroll && f.target && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget = q(), this.relativeTargetOrigin = q(), le(this.relativeTargetOrigin, this.target, f.target), ct(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
4383
4383
|
}
|
|
4384
4384
|
}
|
|
4385
4385
|
}
|
|
@@ -4400,7 +4400,7 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4400
4400
|
return;
|
|
4401
4401
|
ct(this.layoutCorrected, this.layout.layoutBox);
|
|
4402
4402
|
const h = this.treeScale.x, f = this.treeScale.y;
|
|
4403
|
-
Bc(this.layoutCorrected, this.treeScale, this.path, a), o.layout && !o.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (o.target = o.layout.layoutBox, o.targetWithTransforms =
|
|
4403
|
+
Bc(this.layoutCorrected, this.treeScale, this.path, a), o.layout && !o.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (o.target = o.layout.layoutBox, o.targetWithTransforms = q());
|
|
4404
4404
|
const { target: p } = o;
|
|
4405
4405
|
if (!p) {
|
|
4406
4406
|
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
|
@@ -4427,16 +4427,16 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4427
4427
|
setAnimationOrigin(o, a = !1) {
|
|
4428
4428
|
const c = this.snapshot, u = c ? c.latestValues : {}, d = { ...this.latestValues }, h = zt();
|
|
4429
4429
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
|
|
4430
|
-
const f =
|
|
4430
|
+
const f = q(), p = c ? c.source : void 0, m = this.layout ? this.layout.source : void 0, y = p !== m, w = this.getStack(), C = !w || w.members.length <= 1, x = !!(y && !C && this.options.crossfade === !0 && !this.path.some(P0));
|
|
4431
4431
|
this.animationProgress = 0;
|
|
4432
4432
|
let v;
|
|
4433
4433
|
this.mixTargetDelta = (T) => {
|
|
4434
4434
|
const k = T / 1e3;
|
|
4435
|
-
Ei(h.x, o.x, k), Ei(h.y, o.y, k), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (le(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), S0(this.relativeTarget, this.relativeTargetOrigin, f, k), v && f0(this.relativeTarget, v) && (this.isProjectionDirty = !1), v || (v =
|
|
4435
|
+
Ei(h.x, o.x, k), Ei(h.y, o.y, k), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (le(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), S0(this.relativeTarget, this.relativeTargetOrigin, f, k), v && f0(this.relativeTarget, v) && (this.isProjectionDirty = !1), v || (v = q()), ct(v, this.relativeTarget)), y && (this.animationValues = d, a0(d, u, this.latestValues, k, x, C)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = k;
|
|
4436
4436
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
4437
4437
|
}
|
|
4438
4438
|
startAnimation(o) {
|
|
4439
|
-
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation && (St(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation =
|
|
4439
|
+
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation && (St(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = W.update(() => {
|
|
4440
4440
|
Pe.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = Zt(0)), this.currentAnimation = n0(this.motionValue, [0, 1e3], {
|
|
4441
4441
|
...o,
|
|
4442
4442
|
velocity: 0,
|
|
@@ -4465,10 +4465,10 @@ function Pr({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
4465
4465
|
let { targetWithTransforms: a, target: c, layout: u, latestValues: d } = o;
|
|
4466
4466
|
if (!(!a || !c || !u)) {
|
|
4467
4467
|
if (this !== o && this.layout && u && Ar(this.options.animationType, this.layout.layoutBox, u.layoutBox)) {
|
|
4468
|
-
c = this.target ||
|
|
4469
|
-
const h =
|
|
4468
|
+
c = this.target || q();
|
|
4469
|
+
const h = ot(this.layout.layoutBox.x);
|
|
4470
4470
|
c.x.min = o.target.x.min, c.x.max = c.x.min + h;
|
|
4471
|
-
const f =
|
|
4471
|
+
const f = ot(this.layout.layoutBox.y);
|
|
4472
4472
|
c.y.min = o.target.y.min, c.y.max = c.y.min + f;
|
|
4473
4473
|
}
|
|
4474
4474
|
ct(a, c), Wt(a, d), ae(this.projectionDeltaWithTransform, this.layoutCorrected, a, d);
|
|
@@ -4578,10 +4578,10 @@ function v0(t) {
|
|
|
4578
4578
|
if (t.isLead() && t.layout && e && t.hasListeners("didUpdate")) {
|
|
4579
4579
|
const { layoutBox: n, measuredBox: s } = t.layout, { animationType: i } = t.options, r = e.source !== t.layout.source;
|
|
4580
4580
|
i === "size" ? ut((d) => {
|
|
4581
|
-
const h = r ? e.measuredBox[d] : e.layoutBox[d], f =
|
|
4581
|
+
const h = r ? e.measuredBox[d] : e.layoutBox[d], f = ot(h);
|
|
4582
4582
|
h.min = n[d].min, h.max = h.min + f;
|
|
4583
4583
|
}) : Ar(i, e.layoutBox, n) && ut((d) => {
|
|
4584
|
-
const h = r ? e.measuredBox[d] : e.layoutBox[d], f =
|
|
4584
|
+
const h = r ? e.measuredBox[d] : e.layoutBox[d], f = ot(n[d]);
|
|
4585
4585
|
h.max = h.min + f, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[d].max = t.relativeTarget[d].min + f);
|
|
4586
4586
|
});
|
|
4587
4587
|
const o = zt();
|
|
@@ -4595,9 +4595,9 @@ function v0(t) {
|
|
|
4595
4595
|
if (d && !d.resumeFrom) {
|
|
4596
4596
|
const { snapshot: h, layout: f } = d;
|
|
4597
4597
|
if (h && f) {
|
|
4598
|
-
const p =
|
|
4598
|
+
const p = q();
|
|
4599
4599
|
le(p, e.layoutBox, h.layoutBox);
|
|
4600
|
-
const m =
|
|
4600
|
+
const m = q();
|
|
4601
4601
|
le(m, n, f.layoutBox), Mr(p, m) || (u = !0), d.options.layoutRoot && (t.relativeTarget = m, t.relativeTargetOrigin = p, t.relativeParent = d);
|
|
4602
4602
|
}
|
|
4603
4603
|
}
|
|
@@ -4717,7 +4717,7 @@ function Oi(t, e, n) {
|
|
|
4717
4717
|
const { props: s } = t;
|
|
4718
4718
|
t.animationState && s.whileHover && t.animationState.setActive("whileHover", n === "Start");
|
|
4719
4719
|
const i = "onHover" + n, r = s[i];
|
|
4720
|
-
r &&
|
|
4720
|
+
r && W.postRender(() => r(e, ve(e)));
|
|
4721
4721
|
}
|
|
4722
4722
|
class _0 extends Vt {
|
|
4723
4723
|
mount() {
|
|
@@ -4755,7 +4755,7 @@ function Fi(t, e, n) {
|
|
|
4755
4755
|
return;
|
|
4756
4756
|
t.animationState && s.whileTap && t.animationState.setActive("whileTap", n === "Start");
|
|
4757
4757
|
const i = "onTap" + (n === "End" ? "" : n), r = s[i];
|
|
4758
|
-
r &&
|
|
4758
|
+
r && W.postRender(() => r(e, ve(e)));
|
|
4759
4759
|
}
|
|
4760
4760
|
class B0 extends Vt {
|
|
4761
4761
|
mount() {
|
|
@@ -4853,9 +4853,9 @@ const G0 = /* @__PURE__ */ new WeakMap();
|
|
|
4853
4853
|
function Y0(t, e, n) {
|
|
4854
4854
|
for (const s in e) {
|
|
4855
4855
|
const i = e[s], r = n[s];
|
|
4856
|
-
if (
|
|
4856
|
+
if (st(i))
|
|
4857
4857
|
t.addValue(s, i);
|
|
4858
|
-
else if (
|
|
4858
|
+
else if (st(r))
|
|
4859
4859
|
t.addValue(s, Zt(i, { owner: t }));
|
|
4860
4860
|
else if (r !== i)
|
|
4861
4861
|
if (t.hasValue(s)) {
|
|
@@ -4894,15 +4894,15 @@ class X0 {
|
|
|
4894
4894
|
this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = qn, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
|
|
4895
4895
|
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
|
|
4896
4896
|
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
|
|
4897
|
-
const f =
|
|
4898
|
-
this.renderScheduledAt < f && (this.renderScheduledAt = f,
|
|
4897
|
+
const f = rt.now();
|
|
4898
|
+
this.renderScheduledAt < f && (this.renderScheduledAt = f, W.render(this.render, !1, !0));
|
|
4899
4899
|
};
|
|
4900
4900
|
const { latestValues: c, renderState: u } = o;
|
|
4901
4901
|
this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = n.initial ? { ...c } : {}, this.renderState = u, this.parent = e, this.props = n, this.presenceContext = s, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = i, this.options = a, this.blockInitialAnimation = !!r, this.isControllingVariants = Oe(n), this.isVariantNode = Qo(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
|
|
4902
4902
|
const { willChange: d, ...h } = this.scrapeMotionValuesFromProps(n, {}, this);
|
|
4903
4903
|
for (const f in h) {
|
|
4904
4904
|
const p = h[f];
|
|
4905
|
-
c[f] !== void 0 &&
|
|
4905
|
+
c[f] !== void 0 && st(p) && p.set(c[f], !1);
|
|
4906
4906
|
}
|
|
4907
4907
|
}
|
|
4908
4908
|
mount(e) {
|
|
@@ -4923,7 +4923,7 @@ class X0 {
|
|
|
4923
4923
|
const s = Qt.has(e);
|
|
4924
4924
|
s && this.onBindTransform && this.onBindTransform();
|
|
4925
4925
|
const i = n.on("change", (a) => {
|
|
4926
|
-
this.latestValues[e] = a, this.props.onUpdate &&
|
|
4926
|
+
this.latestValues[e] = a, this.props.onUpdate && W.preRender(this.notifyUpdate), s && this.projection && (this.projection.isTransformDirty = !0);
|
|
4927
4927
|
}), r = n.on("renderRequest", this.scheduleRender);
|
|
4928
4928
|
let o;
|
|
4929
4929
|
window.MotionCheckAppearSync && (o = window.MotionCheckAppearSync(this, e, n)), this.valueSubscriptions.set(e, () => {
|
|
@@ -4955,7 +4955,7 @@ class X0 {
|
|
|
4955
4955
|
* removed with a re-render to work.
|
|
4956
4956
|
*/
|
|
4957
4957
|
measureViewportBox() {
|
|
4958
|
-
return this.current ? this.measureInstanceViewportBox(this.current, this.props) :
|
|
4958
|
+
return this.current ? this.measureInstanceViewportBox(this.current, this.props) : q();
|
|
4959
4959
|
}
|
|
4960
4960
|
getStaticValue(e) {
|
|
4961
4961
|
return this.latestValues[e];
|
|
@@ -5040,7 +5040,7 @@ class X0 {
|
|
|
5040
5040
|
*/
|
|
5041
5041
|
readValue(e, n) {
|
|
5042
5042
|
let s = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
|
|
5043
|
-
return s != null && (typeof s == "string" && (ro(s) || lo(s)) ? s = parseFloat(s) : !gl(s) && Pt.test(n) && (s = $o(e, n)), this.setBaseTarget(e,
|
|
5043
|
+
return s != null && (typeof s == "string" && (ro(s) || lo(s)) ? s = parseFloat(s) : !gl(s) && Pt.test(n) && (s = $o(e, n)), this.setBaseTarget(e, st(s) ? s.get() : s)), st(s) ? s.get() : s;
|
|
5044
5044
|
}
|
|
5045
5045
|
/**
|
|
5046
5046
|
* Set the base target to later animate back to. This is currently
|
|
@@ -5063,7 +5063,7 @@ class X0 {
|
|
|
5063
5063
|
if (n && s !== void 0)
|
|
5064
5064
|
return s;
|
|
5065
5065
|
const i = this.getBaseTargetFromProps(this.props, e);
|
|
5066
|
-
return i !== void 0 && !
|
|
5066
|
+
return i !== void 0 && !st(i) ? i : this.initialValues[e] !== void 0 && s === void 0 ? void 0 : this.baseTarget[e];
|
|
5067
5067
|
}
|
|
5068
5068
|
on(e, n) {
|
|
5069
5069
|
return this.events[e] || (this.events[e] = new In()), this.events[e].add(n);
|
|
@@ -5088,7 +5088,7 @@ class Dr extends X0 {
|
|
|
5088
5088
|
handleChildMotionValue() {
|
|
5089
5089
|
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
|
|
5090
5090
|
const { children: e } = this.props;
|
|
5091
|
-
|
|
5091
|
+
st(e) && (this.childSubscription = e.on("change", (n) => {
|
|
5092
5092
|
this.current && (this.current.textContent = `${n}`);
|
|
5093
5093
|
}));
|
|
5094
5094
|
}
|
|
@@ -5159,7 +5159,7 @@ function Q0(t, e, n, s) {
|
|
|
5159
5159
|
}
|
|
5160
5160
|
class t2 extends Dr {
|
|
5161
5161
|
constructor() {
|
|
5162
|
-
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox =
|
|
5162
|
+
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = q;
|
|
5163
5163
|
}
|
|
5164
5164
|
getBaseTargetFromProps(e, n) {
|
|
5165
5165
|
return e[n];
|
|
@@ -5194,7 +5194,7 @@ const e2 = (t, e) => cs(t) ? new t2(e) : new J0(e, {
|
|
|
5194
5194
|
}, e2), s2 = /* @__PURE__ */ Tl(n2), i2 = (t, e) => {
|
|
5195
5195
|
const { isOpen: n, as: s = "div", children: i, ...r } = t, o = s2[s];
|
|
5196
5196
|
return /* @__PURE__ */ l.jsx(wl, { children: n && /* @__PURE__ */ l.jsx(o, { ref: e, ...r, children: i }) });
|
|
5197
|
-
}, o2 = Z(i2), Fe =
|
|
5197
|
+
}, o2 = Z(i2), Fe = I(o2);
|
|
5198
5198
|
Fe.displayName = "CTransition";
|
|
5199
5199
|
const Nr = Z((t, e) => {
|
|
5200
5200
|
const {
|
|
@@ -5216,7 +5216,7 @@ const Nr = Z((t, e) => {
|
|
|
5216
5216
|
onKeyDown: C,
|
|
5217
5217
|
onKeyUp: x,
|
|
5218
5218
|
...v
|
|
5219
|
-
} = t, T =
|
|
5219
|
+
} = t, T = J(null), k = Tn(T), L = b(() => c === "plain", [c]);
|
|
5220
5220
|
pt(e, () => ({
|
|
5221
5221
|
focus() {
|
|
5222
5222
|
T.current?.focus();
|
|
@@ -5237,7 +5237,7 @@ const Nr = Z((t, e) => {
|
|
|
5237
5237
|
m?.(D), !r && !L && k?.register(D);
|
|
5238
5238
|
}, [k, L, m]), B = S((D) => {
|
|
5239
5239
|
w?.(D), L || k.remove();
|
|
5240
|
-
}, [k, L, w]),
|
|
5240
|
+
}, [k, L, w]), K = S((D) => {
|
|
5241
5241
|
if (y?.(D), !T?.current)
|
|
5242
5242
|
throw Error("Invalid rootRef.");
|
|
5243
5243
|
L || k.remove();
|
|
@@ -5257,14 +5257,14 @@ const Nr = Z((t, e) => {
|
|
|
5257
5257
|
style: j,
|
|
5258
5258
|
disabled: r,
|
|
5259
5259
|
onMouseDown: N,
|
|
5260
|
-
onMouseLeave:
|
|
5260
|
+
onMouseLeave: K,
|
|
5261
5261
|
onClick: _,
|
|
5262
5262
|
onMouseUp: B,
|
|
5263
5263
|
onKeyDown: R,
|
|
5264
5264
|
onKeyUp: G
|
|
5265
5265
|
}
|
|
5266
5266
|
);
|
|
5267
|
-
}), fs =
|
|
5267
|
+
}), fs = I(Nr);
|
|
5268
5268
|
Nr.displayName = "KButton";
|
|
5269
5269
|
fs.displayName = "KButton";
|
|
5270
5270
|
const b2 = ["outlined", "solid", "primary", "subtle", "plain"], Br = (t) => {
|
|
@@ -5274,18 +5274,18 @@ const b2 = ["outlined", "solid", "primary", "subtle", "plain"], Br = (t) => {
|
|
|
5274
5274
|
}, [e]), o = b(() => {
|
|
5275
5275
|
const a = [];
|
|
5276
5276
|
return At.forEach(s, (c, u) => {
|
|
5277
|
-
if (
|
|
5277
|
+
if (yt(c) && c.type === fs) {
|
|
5278
5278
|
const d = c;
|
|
5279
5279
|
a.push(_e(d, { ...d.props, variant: n, key: c.key ?? `k-button--${u}}` }));
|
|
5280
5280
|
}
|
|
5281
5281
|
}), a;
|
|
5282
5282
|
}, [s, n]);
|
|
5283
5283
|
return /* @__PURE__ */ l.jsx("div", { ...i, className: r, role: "group", children: o });
|
|
5284
|
-
}, r2 =
|
|
5284
|
+
}, r2 = I(Br);
|
|
5285
5285
|
r2.displayName = "KButtonGroup";
|
|
5286
5286
|
Br.displayName = "KButtonGroup";
|
|
5287
5287
|
const Ir = ({ multiple: t, className: e, variant: n = "outlined", children: s, ...i }) => {
|
|
5288
|
-
const [r, o] =
|
|
5288
|
+
const [r, o] = at(null), [a, c] = at([]), u = b(() => {
|
|
5289
5289
|
const p = ["k-toggle-button"];
|
|
5290
5290
|
return e && p.push(e), p.join(" ");
|
|
5291
5291
|
}, [e]), d = S(
|
|
@@ -5297,7 +5297,7 @@ const Ir = ({ multiple: t, className: e, variant: n = "outlined", children: s, .
|
|
|
5297
5297
|
(p) => t ? a.includes(p) : r === p,
|
|
5298
5298
|
[t, r, a]
|
|
5299
5299
|
), f = b(() => At.toArray(s).map((p, m) => {
|
|
5300
|
-
if (!
|
|
5300
|
+
if (!yt(p) || p.type !== fs) return null;
|
|
5301
5301
|
const y = h(m), w = p, C = (v) => {
|
|
5302
5302
|
d(m), w.props.onClick?.(v);
|
|
5303
5303
|
}, x = (v) => {
|
|
@@ -5315,15 +5315,15 @@ const Ir = ({ multiple: t, className: e, variant: n = "outlined", children: s, .
|
|
|
5315
5315
|
return /* @__PURE__ */ l.jsx("div", { ...i, className: u, role: "group", children: f });
|
|
5316
5316
|
};
|
|
5317
5317
|
Ir.displayName = "KToggleButton";
|
|
5318
|
-
const L2 =
|
|
5319
|
-
const { className: n, value: s, disabled: i, size: r = "medium", ...o } = t, a =
|
|
5318
|
+
const L2 = I(Ir), Or = Z((t, e) => {
|
|
5319
|
+
const { className: n, value: s, disabled: i, size: r = "medium", ...o } = t, a = J(null), c = b(() => {
|
|
5320
5320
|
const u = ["k-switch", `k-switch--${s ? "on" : "off"}`];
|
|
5321
5321
|
return n && u.push(n), r && u.push(`k-switch--${r}`), i && u.push("k-switch--disabled"), u.join(" ");
|
|
5322
5322
|
}, [s, n, r, i]);
|
|
5323
5323
|
return pt(e, () => ({
|
|
5324
5324
|
toggle: () => a.current?.click()
|
|
5325
5325
|
})), /* @__PURE__ */ l.jsx(no, { ref: a, ...o, value: s, className: c, disabled: i, children: /* @__PURE__ */ l.jsx("span", { className: "k-switch__toggle" }) });
|
|
5326
|
-
}), a2 =
|
|
5326
|
+
}), a2 = I(Or);
|
|
5327
5327
|
Or.displayName = "KSwitch";
|
|
5328
5328
|
a2.displayName = "KSwitch";
|
|
5329
5329
|
const Fr = (t) => {
|
|
@@ -5338,7 +5338,7 @@ const Fr = (t) => {
|
|
|
5338
5338
|
] }),
|
|
5339
5339
|
/* @__PURE__ */ l.jsx($t.Content, { className: "k-accordion__content", children: /* @__PURE__ */ l.jsx("div", { className: "k-accordion__content__container", children: i }) })
|
|
5340
5340
|
] });
|
|
5341
|
-
}, l2 =
|
|
5341
|
+
}, l2 = I(Fr);
|
|
5342
5342
|
l2.displayName = "KAccordion";
|
|
5343
5343
|
Fr.displayName = "KAccordion";
|
|
5344
5344
|
const zr = Z((t, e) => {
|
|
@@ -5359,26 +5359,26 @@ const zr = Z((t, e) => {
|
|
|
5359
5359
|
onKeyDown: y,
|
|
5360
5360
|
onKeyUp: w,
|
|
5361
5361
|
...C
|
|
5362
|
-
} = t, x =
|
|
5362
|
+
} = t, x = J(null), v = Tn(x);
|
|
5363
5363
|
pt(e, () => x.current, []);
|
|
5364
5364
|
const T = b(() => {
|
|
5365
|
-
const
|
|
5366
|
-
return s &&
|
|
5367
|
-
}, [s, r]), k = b(() => ({ ...i }), [i]), L = S((
|
|
5368
|
-
d || h?.(
|
|
5369
|
-
}, [d, h]), M = S((
|
|
5370
|
-
f?.(
|
|
5371
|
-
}, [v, f]), j = S((
|
|
5372
|
-
m?.(
|
|
5373
|
-
}, [v, m]), _ = S((
|
|
5374
|
-
p?.(
|
|
5375
|
-
}, [v, p]), N = S((
|
|
5376
|
-
y?.(
|
|
5365
|
+
const O = ["k-menu-item", `k-menu-item--${r}`];
|
|
5366
|
+
return s && O.push(s), d && O.push("k-menu-item--disabled"), O.join(" ");
|
|
5367
|
+
}, [s, r]), k = b(() => ({ ...i }), [i]), L = S((O) => {
|
|
5368
|
+
d || h?.(O);
|
|
5369
|
+
}, [d, h]), M = S((O) => {
|
|
5370
|
+
f?.(O), d || v?.register(O);
|
|
5371
|
+
}, [v, f]), j = S((O) => {
|
|
5372
|
+
m?.(O), v.remove();
|
|
5373
|
+
}, [v, m]), _ = S((O) => {
|
|
5374
|
+
p?.(O), v.remove();
|
|
5375
|
+
}, [v, p]), N = S((O) => {
|
|
5376
|
+
y?.(O), v?.register(O), Mt(O, () => {
|
|
5377
5377
|
h?.();
|
|
5378
5378
|
});
|
|
5379
|
-
}, [v, y]), B = S((
|
|
5380
|
-
w?.(
|
|
5381
|
-
}, [v, w]),
|
|
5379
|
+
}, [v, y]), B = S((O) => {
|
|
5380
|
+
w?.(O), Mt(O, () => v.remove());
|
|
5381
|
+
}, [v, w]), K = b(() => o ? /* @__PURE__ */ l.jsx("span", { className: "k-menu-item__left-content", children: o }) : null, [o]), R = b(() => /* @__PURE__ */ l.jsx("div", { className: "k-menu-item__label", children: a }), [a]), G = b(() => c ? /* @__PURE__ */ l.jsx("span", { className: "k-menu-item__right-content", children: c }) : null, [c]), D = b(() => u ? /* @__PURE__ */ l.jsx("span", { className: "k-menu-item__shortcut", children: u }) : null, [u]);
|
|
5382
5382
|
return /* @__PURE__ */ l.jsxs(
|
|
5383
5383
|
to,
|
|
5384
5384
|
{
|
|
@@ -5395,18 +5395,18 @@ const zr = Z((t, e) => {
|
|
|
5395
5395
|
onKeyDown: N,
|
|
5396
5396
|
onKeyUp: B,
|
|
5397
5397
|
children: [
|
|
5398
|
-
|
|
5398
|
+
K,
|
|
5399
5399
|
R,
|
|
5400
5400
|
D,
|
|
5401
5401
|
G
|
|
5402
5402
|
]
|
|
5403
5403
|
}
|
|
5404
5404
|
);
|
|
5405
|
-
}), ze =
|
|
5405
|
+
}), ze = I(zr);
|
|
5406
5406
|
ze.displayName = "KMenu.Item";
|
|
5407
5407
|
zr.displayName = "KMenu.Item";
|
|
5408
5408
|
const Kr = Z((t, e) => {
|
|
5409
|
-
const { selected: n, className: s, label: i, ...r } = t, o =
|
|
5409
|
+
const { selected: n, className: s, label: i, ...r } = t, o = J(null);
|
|
5410
5410
|
pt(e, () => o.current, []);
|
|
5411
5411
|
const a = b(() => {
|
|
5412
5412
|
const u = ["k-menu-item-selectable"];
|
|
@@ -5423,18 +5423,18 @@ const Kr = Z((t, e) => {
|
|
|
5423
5423
|
leftContent: c
|
|
5424
5424
|
}
|
|
5425
5425
|
);
|
|
5426
|
-
}), ps =
|
|
5426
|
+
}), ps = I(Kr);
|
|
5427
5427
|
ps.displayName = "KMenu.ItemSelectable";
|
|
5428
5428
|
Kr.displayName = "KMenu.ItemSelectable";
|
|
5429
5429
|
const Wr = Z((t, e) => {
|
|
5430
|
-
const { children: n, className: s, ...i } = t, r =
|
|
5430
|
+
const { children: n, className: s, ...i } = t, r = J(null);
|
|
5431
5431
|
pt(e, () => r.current, []);
|
|
5432
5432
|
const o = b(() => {
|
|
5433
5433
|
const a = ["k-menu-item-divider"];
|
|
5434
5434
|
return s && a.push(s), a.join(" ");
|
|
5435
5435
|
}, [s]);
|
|
5436
5436
|
return /* @__PURE__ */ l.jsx("li", { ref: r, ...i, className: o, role: "separator", "aria-orientation": "horizontal" });
|
|
5437
|
-
}), ms =
|
|
5437
|
+
}), ms = I(Wr);
|
|
5438
5438
|
ms.displayName = "KMenu.ItemDivider";
|
|
5439
5439
|
Wr.displayName = "KMenu.ItemDivider";
|
|
5440
5440
|
const $r = Z((t, e) => {
|
|
@@ -5444,23 +5444,23 @@ const $r = Z((t, e) => {
|
|
|
5444
5444
|
}, [s, o]), u = b(() => ({ ...i, width: r }), [i, r]), d = b(() => {
|
|
5445
5445
|
const h = [];
|
|
5446
5446
|
return At.forEach(n, (f, p) => {
|
|
5447
|
-
if (
|
|
5447
|
+
if (yt(f) && (f.type === ze || f.type === ps || f.type === ms)) {
|
|
5448
5448
|
const m = f;
|
|
5449
5449
|
h.push(_e(m, { ...m.props, size: o, key: f.key ?? `k-menu-item-${p}` }));
|
|
5450
5450
|
}
|
|
5451
5451
|
}), h;
|
|
5452
5452
|
}, [n, o]);
|
|
5453
5453
|
return /* @__PURE__ */ l.jsx(Vn, { ...a, as: "ul", ref: e, className: c, style: u, children: d });
|
|
5454
|
-
}), Ur =
|
|
5454
|
+
}), Ur = I($r);
|
|
5455
5455
|
Ur.displayName = "KMenu";
|
|
5456
5456
|
$r.displayName = "KMenu";
|
|
5457
5457
|
const Ut = Ur;
|
|
5458
5458
|
Ut.Item = ze;
|
|
5459
5459
|
Ut.ItemSelectable = ps;
|
|
5460
5460
|
Ut.ItemDivider = ms;
|
|
5461
|
-
const Hr =
|
|
5461
|
+
const Hr = wt(null);
|
|
5462
5462
|
function Zr() {
|
|
5463
|
-
const t =
|
|
5463
|
+
const t = tt(Hr);
|
|
5464
5464
|
if (!t) throw new Error("KDropdown must be used within <KDropdown>");
|
|
5465
5465
|
return t;
|
|
5466
5466
|
}
|
|
@@ -5497,7 +5497,7 @@ const Gr = Z((t, e) => {
|
|
|
5497
5497
|
u?.(R), y === "hover" && !r && C();
|
|
5498
5498
|
}, [u, y, r]), B = S((R) => {
|
|
5499
5499
|
d?.(R), y === "hover" && x();
|
|
5500
|
-
}, [d, y]),
|
|
5500
|
+
}, [d, y]), K = b(() => At.map(n, (R) => yt(R) ? _e(R, { tabIndex: -1 }) : R), [n]);
|
|
5501
5501
|
return ma(m, x, p), // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex,jsx-a11y/no-static-element-interactions
|
|
5502
5502
|
/* @__PURE__ */ l.jsx(
|
|
5503
5503
|
"div",
|
|
@@ -5517,10 +5517,10 @@ const Gr = Z((t, e) => {
|
|
|
5517
5517
|
onMouseLeave: j,
|
|
5518
5518
|
onFocus: N,
|
|
5519
5519
|
onBlur: B,
|
|
5520
|
-
children:
|
|
5520
|
+
children: K
|
|
5521
5521
|
}
|
|
5522
5522
|
);
|
|
5523
|
-
}), gs =
|
|
5523
|
+
}), gs = I(Gr);
|
|
5524
5524
|
gs.displayName = "Dropdown.Trigger";
|
|
5525
5525
|
Gr.displayName = "Dropdown.Trigger";
|
|
5526
5526
|
const c2 = 240, Yr = Z((t, e) => {
|
|
@@ -5549,20 +5549,20 @@ const c2 = 240, Yr = Z((t, e) => {
|
|
|
5549
5549
|
gap: f
|
|
5550
5550
|
}), B = Mn(m);
|
|
5551
5551
|
Ui(L), pt(e, () => v.current);
|
|
5552
|
-
const
|
|
5552
|
+
const K = b(() => {
|
|
5553
5553
|
const g = ["k-dropdown__content"];
|
|
5554
5554
|
return n && g.push(n), g.join(" ");
|
|
5555
5555
|
}, [n]), R = b(() => ({ ...s, position: "fixed", top: _, left: N, zIndex: y }), [s, _, N, y]), G = S((g) => {
|
|
5556
5556
|
r?.(g), h && L();
|
|
5557
5557
|
}, [r, h]), D = S((g) => {
|
|
5558
5558
|
o?.(g), j === "hover" && k();
|
|
5559
|
-
}, [j, o]),
|
|
5559
|
+
}, [j, o]), O = S((g) => {
|
|
5560
5560
|
a?.(g), j === "hover" && L();
|
|
5561
5561
|
}, [j, a]), z = S((g) => {
|
|
5562
5562
|
Mt(g, L), g.key === "Tab" && g.shiftKey && M(g);
|
|
5563
5563
|
}, [d]), Y = S((g) => {
|
|
5564
5564
|
c?.(g), j === "hover" && k();
|
|
5565
|
-
}, [c, j]),
|
|
5565
|
+
}, [c, j]), lt = S((g) => {
|
|
5566
5566
|
u?.(g), j === "hover" && L();
|
|
5567
5567
|
}, [u, j]);
|
|
5568
5568
|
if (Tt(() => {
|
|
@@ -5574,13 +5574,13 @@ const c2 = 240, Yr = Z((t, e) => {
|
|
|
5574
5574
|
{
|
|
5575
5575
|
ref: v,
|
|
5576
5576
|
...w,
|
|
5577
|
-
className:
|
|
5577
|
+
className: K,
|
|
5578
5578
|
style: R,
|
|
5579
5579
|
onClick: G,
|
|
5580
5580
|
onMouseEnter: D,
|
|
5581
|
-
onMouseLeave:
|
|
5581
|
+
onMouseLeave: O,
|
|
5582
5582
|
onFocus: Y,
|
|
5583
|
-
onBlur:
|
|
5583
|
+
onBlur: lt,
|
|
5584
5584
|
onKeyDown: z,
|
|
5585
5585
|
children: /* @__PURE__ */ l.jsx(
|
|
5586
5586
|
Fe,
|
|
@@ -5597,7 +5597,7 @@ const c2 = 240, Yr = Z((t, e) => {
|
|
|
5597
5597
|
),
|
|
5598
5598
|
B
|
|
5599
5599
|
);
|
|
5600
|
-
}), ys =
|
|
5600
|
+
}), ys = I(Yr);
|
|
5601
5601
|
ys.displayName = "Dropdown.Content";
|
|
5602
5602
|
Yr.displayName = "Dropdown.Content";
|
|
5603
5603
|
const Xr = Z((t, e) => {
|
|
@@ -5610,7 +5610,7 @@ const Xr = Z((t, e) => {
|
|
|
5610
5610
|
onDropdownOpen: a,
|
|
5611
5611
|
onDropdownClose: c,
|
|
5612
5612
|
...u
|
|
5613
|
-
} = t, d = n || "div", [h, f] =
|
|
5613
|
+
} = t, d = n || "div", [h, f] = at(!1), p = J(null), m = J(null), y = `k-dropdown-${Yt()}`, w = b(() => {
|
|
5614
5614
|
const j = ["k-dropdown"];
|
|
5615
5615
|
return o && j.push(o), j.join(" ");
|
|
5616
5616
|
}, [o]), C = S(() => {
|
|
@@ -5624,9 +5624,9 @@ const Xr = Z((t, e) => {
|
|
|
5624
5624
|
}));
|
|
5625
5625
|
const { Trigger: v, Content: T } = b(() => {
|
|
5626
5626
|
const j = At.toArray(r), _ = j.find(
|
|
5627
|
-
(B) =>
|
|
5627
|
+
(B) => yt(B) && B.type === gs
|
|
5628
5628
|
), N = j.find(
|
|
5629
|
-
(B) =>
|
|
5629
|
+
(B) => yt(B) && B.type === ys
|
|
5630
5630
|
);
|
|
5631
5631
|
return { Trigger: _, Content: N };
|
|
5632
5632
|
}, [r]), k = S(() => {
|
|
@@ -5658,7 +5658,7 @@ const Xr = Z((t, e) => {
|
|
|
5658
5658
|
v,
|
|
5659
5659
|
T
|
|
5660
5660
|
] }) });
|
|
5661
|
-
}), Ht =
|
|
5661
|
+
}), Ht = I(Xr);
|
|
5662
5662
|
Ht.displayName = "Dropdown";
|
|
5663
5663
|
Xr.displayName = "Dropdown";
|
|
5664
5664
|
Ht.Trigger = gs;
|
|
@@ -5692,11 +5692,11 @@ const T2 = [
|
|
|
5692
5692
|
"aria-hidden": "true"
|
|
5693
5693
|
}
|
|
5694
5694
|
);
|
|
5695
|
-
}, u2 =
|
|
5695
|
+
}, u2 = I(qr);
|
|
5696
5696
|
u2.displayName = "KSkeleton";
|
|
5697
5697
|
qr.displayName = "KSkeleton";
|
|
5698
|
-
const Jr =
|
|
5699
|
-
const t =
|
|
5698
|
+
const Jr = wt(null), d2 = () => {
|
|
5699
|
+
const t = tt(Jr);
|
|
5700
5700
|
if (!t) throw new Error("useModal must be used within a ModalProvider");
|
|
5701
5701
|
return t;
|
|
5702
5702
|
}, h2 = {
|
|
@@ -5728,7 +5728,7 @@ const Jr = kt(null), d2 = () => {
|
|
|
5728
5728
|
return Tt(() => {
|
|
5729
5729
|
c();
|
|
5730
5730
|
}, [n, s]), /* @__PURE__ */ l.jsx("div", { ref: e, ...r, className: a, children: n ?? s });
|
|
5731
|
-
}), xs =
|
|
5731
|
+
}), xs = I(Qr);
|
|
5732
5732
|
xs.displayName = "KModalHeader";
|
|
5733
5733
|
Qr.displayName = "KModalHeader";
|
|
5734
5734
|
const ta = Z((t, e) => {
|
|
@@ -5740,7 +5740,7 @@ const ta = Z((t, e) => {
|
|
|
5740
5740
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
|
|
5741
5741
|
/* @__PURE__ */ l.jsx("div", { ref: e, ...i, className: r, tabIndex: 0, children: n })
|
|
5742
5742
|
);
|
|
5743
|
-
}), vs =
|
|
5743
|
+
}), vs = I(ta);
|
|
5744
5744
|
vs.displayName = "KModalContent";
|
|
5745
5745
|
ta.displayName = "KModalContent";
|
|
5746
5746
|
const ea = Z((t, e) => {
|
|
@@ -5749,7 +5749,7 @@ const ea = Z((t, e) => {
|
|
|
5749
5749
|
return s && a.push(s), a.join(" ");
|
|
5750
5750
|
}, [s]);
|
|
5751
5751
|
return /* @__PURE__ */ l.jsx("div", { ref: e, ...r, className: o, children: n });
|
|
5752
|
-
}), Cs =
|
|
5752
|
+
}), Cs = I(ea);
|
|
5753
5753
|
Cs.displayName = "KModalFooter";
|
|
5754
5754
|
ea.displayName = "KModalFooter";
|
|
5755
5755
|
const na = (t) => {
|
|
@@ -5769,21 +5769,21 @@ const na = (t) => {
|
|
|
5769
5769
|
escClosable: p = !1,
|
|
5770
5770
|
children: m,
|
|
5771
5771
|
container: y
|
|
5772
|
-
} = t, w = Mn(y), [C, x] =
|
|
5772
|
+
} = t, w = Mn(y), [C, x] = at(null), v = b(() => h2[u], [u]);
|
|
5773
5773
|
if (r === void 0 && typeof o != "function")
|
|
5774
5774
|
throw new Error('You must provide at least one of "setIsOpen" or "onClose".');
|
|
5775
5775
|
const T = b(() => ({ ...c, width: n, height: s }), [c, n, s]), k = b(() => {
|
|
5776
|
-
const
|
|
5777
|
-
return e &&
|
|
5776
|
+
const K = ["k-modal", `k-modal--${i}`];
|
|
5777
|
+
return e && K.push("k-modal--open"), e || K.push("k-modal--close"), a && K.push(a), K.join(" ");
|
|
5778
5778
|
}, [e, i, a]), L = S(() => {
|
|
5779
5779
|
o?.(), r?.(!1);
|
|
5780
5780
|
}, [o, r]), M = S(() => {
|
|
5781
5781
|
f && L();
|
|
5782
5782
|
}, [f, L]), { modalHeader: j, modalContent: _, modalFooter: N } = b(() => {
|
|
5783
|
-
let
|
|
5783
|
+
let K = null, R = null, G = null;
|
|
5784
5784
|
return At.forEach(m, (D) => {
|
|
5785
|
-
|
|
5786
|
-
}), { modalHeader:
|
|
5785
|
+
yt(D) && (D.type === xs && (K = D), D.type === vs && (R = D), D.type === Cs && (G = D));
|
|
5786
|
+
}), { modalHeader: K, modalContent: R, modalFooter: G };
|
|
5787
5787
|
}, [m]), B = b(() => ({
|
|
5788
5788
|
isOpen: e,
|
|
5789
5789
|
title: C,
|
|
@@ -5814,7 +5814,7 @@ const na = (t) => {
|
|
|
5814
5814
|
),
|
|
5815
5815
|
d && /* @__PURE__ */ l.jsx(ia, { isOpen: e, onClick: M, opacity: h })
|
|
5816
5816
|
] }) : null;
|
|
5817
|
-
}, Ke =
|
|
5817
|
+
}, Ke = I(na);
|
|
5818
5818
|
Ke.displayName = "KModal";
|
|
5819
5819
|
na.displayName = "KModal";
|
|
5820
5820
|
Ke.Header = xs;
|
|
@@ -5866,7 +5866,7 @@ const M2 = ["medium", "small", "large"], Ki = {
|
|
|
5866
5866
|
] }) }),
|
|
5867
5867
|
f
|
|
5868
5868
|
) : null;
|
|
5869
|
-
}, ia =
|
|
5869
|
+
}, ia = I(sa);
|
|
5870
5870
|
ia.displayName = "KBackdrop";
|
|
5871
5871
|
sa.displayName = "KBackdrop";
|
|
5872
5872
|
const oa = Z((t, e) => {
|
|
@@ -5904,11 +5904,11 @@ const oa = Z((t, e) => {
|
|
|
5904
5904
|
) })
|
|
5905
5905
|
}
|
|
5906
5906
|
);
|
|
5907
|
-
}), f2 =
|
|
5907
|
+
}), f2 = I(oa);
|
|
5908
5908
|
oa.displayName = "KSpinner";
|
|
5909
5909
|
f2.displayName = "KSpinner";
|
|
5910
|
-
const
|
|
5911
|
-
close: (t =
|
|
5910
|
+
const P = "currentColor", p2 = {
|
|
5911
|
+
close: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 12 12", xmlns: "http://www.w3.org/2000/svg", fill: t, children: [
|
|
5912
5912
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
5913
5913
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5914
5914
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -5918,7 +5918,7 @@ const A = "currentColor", p2 = {
|
|
|
5918
5918
|
}
|
|
5919
5919
|
) })
|
|
5920
5920
|
] }),
|
|
5921
|
-
arrow_up: (t =
|
|
5921
|
+
arrow_up: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5922
5922
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
5923
5923
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5924
5924
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -5932,7 +5932,7 @@ const A = "currentColor", p2 = {
|
|
|
5932
5932
|
}
|
|
5933
5933
|
) })
|
|
5934
5934
|
] }),
|
|
5935
|
-
arrow_down: (t =
|
|
5935
|
+
arrow_down: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5936
5936
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
5937
5937
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5938
5938
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -5946,7 +5946,7 @@ const A = "currentColor", p2 = {
|
|
|
5946
5946
|
}
|
|
5947
5947
|
) })
|
|
5948
5948
|
] }),
|
|
5949
|
-
arrow_right: (t =
|
|
5949
|
+
arrow_right: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5950
5950
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
5951
5951
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5952
5952
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -5960,7 +5960,7 @@ const A = "currentColor", p2 = {
|
|
|
5960
5960
|
}
|
|
5961
5961
|
) })
|
|
5962
5962
|
] }),
|
|
5963
|
-
arrow_left: (t =
|
|
5963
|
+
arrow_left: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5964
5964
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
5965
5965
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5966
5966
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -5974,7 +5974,7 @@ const A = "currentColor", p2 = {
|
|
|
5974
5974
|
}
|
|
5975
5975
|
) })
|
|
5976
5976
|
] }),
|
|
5977
|
-
arrow_up_right: (t =
|
|
5977
|
+
arrow_up_right: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5978
5978
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
5979
5979
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5980
5980
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -5988,7 +5988,7 @@ const A = "currentColor", p2 = {
|
|
|
5988
5988
|
}
|
|
5989
5989
|
) })
|
|
5990
5990
|
] }),
|
|
5991
|
-
arrow_up_left: (t =
|
|
5991
|
+
arrow_up_left: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5992
5992
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
5993
5993
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
5994
5994
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6002,7 +6002,7 @@ const A = "currentColor", p2 = {
|
|
|
6002
6002
|
}
|
|
6003
6003
|
) })
|
|
6004
6004
|
] }),
|
|
6005
|
-
arrow_down_right: (t =
|
|
6005
|
+
arrow_down_right: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6006
6006
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6007
6007
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6008
6008
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6016,7 +6016,7 @@ const A = "currentColor", p2 = {
|
|
|
6016
6016
|
}
|
|
6017
6017
|
) })
|
|
6018
6018
|
] }),
|
|
6019
|
-
arrow_down_left: (t =
|
|
6019
|
+
arrow_down_left: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6020
6020
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6021
6021
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6022
6022
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6030,7 +6030,7 @@ const A = "currentColor", p2 = {
|
|
|
6030
6030
|
}
|
|
6031
6031
|
) })
|
|
6032
6032
|
] }),
|
|
6033
|
-
keyboard_arrow_down: (t =
|
|
6033
|
+
keyboard_arrow_down: (t = P) => /* @__PURE__ */ l.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", children: [
|
|
6034
6034
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6035
6035
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6036
6036
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6044,7 +6044,7 @@ const A = "currentColor", p2 = {
|
|
|
6044
6044
|
}
|
|
6045
6045
|
) })
|
|
6046
6046
|
] }),
|
|
6047
|
-
checkbox_unchecked: (t =
|
|
6047
|
+
checkbox_unchecked: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6048
6048
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6049
6049
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6050
6050
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx("g", { stroke: "none", strokeWidth: "1", fillRule: "evenodd", children: /* @__PURE__ */ l.jsx("g", { fillRule: "nonzero", children: /* @__PURE__ */ l.jsx(
|
|
@@ -6055,7 +6055,7 @@ const A = "currentColor", p2 = {
|
|
|
6055
6055
|
}
|
|
6056
6056
|
) }) }) })
|
|
6057
6057
|
] }),
|
|
6058
|
-
checkbox_checked: (t =
|
|
6058
|
+
checkbox_checked: (t = P) => /* @__PURE__ */ l.jsxs("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6059
6059
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6060
6060
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6061
6061
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx("g", { stroke: "none", strokeWidth: "1", fillRule: "evenodd", children: /* @__PURE__ */ l.jsx("g", { fillRule: "nonzero", children: /* @__PURE__ */ l.jsx(
|
|
@@ -6066,7 +6066,7 @@ const A = "currentColor", p2 = {
|
|
|
6066
6066
|
}
|
|
6067
6067
|
) }) }) })
|
|
6068
6068
|
] }),
|
|
6069
|
-
visibility: (t =
|
|
6069
|
+
visibility: (t = P) => /* @__PURE__ */ l.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: [
|
|
6070
6070
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6071
6071
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6072
6072
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6077,7 +6077,7 @@ const A = "currentColor", p2 = {
|
|
|
6077
6077
|
}
|
|
6078
6078
|
) })
|
|
6079
6079
|
] }),
|
|
6080
|
-
visibility_off: (t =
|
|
6080
|
+
visibility_off: (t = P) => /* @__PURE__ */ l.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: [
|
|
6081
6081
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6082
6082
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6083
6083
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6088,7 +6088,7 @@ const A = "currentColor", p2 = {
|
|
|
6088
6088
|
}
|
|
6089
6089
|
) })
|
|
6090
6090
|
] }),
|
|
6091
|
-
radio_unchecked: (t =
|
|
6091
|
+
radio_unchecked: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6092
6092
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6093
6093
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6094
6094
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6101,7 +6101,7 @@ const A = "currentColor", p2 = {
|
|
|
6101
6101
|
}
|
|
6102
6102
|
) })
|
|
6103
6103
|
] }),
|
|
6104
|
-
drag: (t =
|
|
6104
|
+
drag: (t = P) => /* @__PURE__ */ l.jsxs("svg", { fill: "none", viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6105
6105
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6106
6106
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6107
6107
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6113,7 +6113,7 @@ const A = "currentColor", p2 = {
|
|
|
6113
6113
|
}
|
|
6114
6114
|
) })
|
|
6115
6115
|
] }),
|
|
6116
|
-
page: (t =
|
|
6116
|
+
page: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6117
6117
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6118
6118
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6119
6119
|
/* @__PURE__ */ l.jsxs("g", { children: [
|
|
@@ -6170,7 +6170,7 @@ const A = "currentColor", p2 = {
|
|
|
6170
6170
|
)
|
|
6171
6171
|
] })
|
|
6172
6172
|
] }),
|
|
6173
|
-
search: (t =
|
|
6173
|
+
search: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6174
6174
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6175
6175
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6176
6176
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6183,7 +6183,7 @@ const A = "currentColor", p2 = {
|
|
|
6183
6183
|
}
|
|
6184
6184
|
) })
|
|
6185
6185
|
] }),
|
|
6186
|
-
book: (t =
|
|
6186
|
+
book: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6187
6187
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6188
6188
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6189
6189
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6197,7 +6197,7 @@ const A = "currentColor", p2 = {
|
|
|
6197
6197
|
}
|
|
6198
6198
|
) })
|
|
6199
6199
|
] }),
|
|
6200
|
-
github: (t =
|
|
6200
|
+
github: (t = P) => /* @__PURE__ */ l.jsx(
|
|
6201
6201
|
"svg",
|
|
6202
6202
|
{
|
|
6203
6203
|
width: "100%",
|
|
@@ -6273,7 +6273,7 @@ const A = "currentColor", p2 = {
|
|
|
6273
6273
|
] })
|
|
6274
6274
|
}
|
|
6275
6275
|
),
|
|
6276
|
-
gmail: (t =
|
|
6276
|
+
gmail: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6277
6277
|
"svg",
|
|
6278
6278
|
{
|
|
6279
6279
|
width: "100%",
|
|
@@ -6373,7 +6373,7 @@ const A = "currentColor", p2 = {
|
|
|
6373
6373
|
}
|
|
6374
6374
|
) }) })
|
|
6375
6375
|
] }),
|
|
6376
|
-
vue: (t =
|
|
6376
|
+
vue: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: t, children: [
|
|
6377
6377
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6378
6378
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6379
6379
|
/* @__PURE__ */ l.jsxs("g", { children: [
|
|
@@ -6382,7 +6382,7 @@ const A = "currentColor", p2 = {
|
|
|
6382
6382
|
/* @__PURE__ */ l.jsx("path", { d: "M7.53,3.925,16,18.485l8.4-14.56H19.22L16,9.525l-3.29-5.6Z", fill: "#35495e" })
|
|
6383
6383
|
] })
|
|
6384
6384
|
] }),
|
|
6385
|
-
notion: (t =
|
|
6385
|
+
notion: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", fill: t, children: [
|
|
6386
6386
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6387
6387
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6388
6388
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6392,7 +6392,7 @@ const A = "currentColor", p2 = {
|
|
|
6392
6392
|
}
|
|
6393
6393
|
) })
|
|
6394
6394
|
] }),
|
|
6395
|
-
code: (t =
|
|
6395
|
+
code: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 64 64", xmlns: "http://www.w3.org/2000/svg", fill: t, children: [
|
|
6396
6396
|
/* @__PURE__ */ l.jsx("circle", { fill: "currentColor", cx: "32", cy: "32", r: "32" }),
|
|
6397
6397
|
/* @__PURE__ */ l.jsx(
|
|
6398
6398
|
"path",
|
|
@@ -6437,7 +6437,7 @@ const A = "currentColor", p2 = {
|
|
|
6437
6437
|
}
|
|
6438
6438
|
)
|
|
6439
6439
|
] }),
|
|
6440
|
-
dev: (t =
|
|
6440
|
+
dev: (t = P) => /* @__PURE__ */ l.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", fill: t, children: [
|
|
6441
6441
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6442
6442
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6443
6443
|
/* @__PURE__ */ l.jsxs("g", { children: [
|
|
@@ -6451,7 +6451,7 @@ const A = "currentColor", p2 = {
|
|
|
6451
6451
|
)
|
|
6452
6452
|
] })
|
|
6453
6453
|
] }),
|
|
6454
|
-
algorithm: (t =
|
|
6454
|
+
algorithm: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6455
6455
|
"svg",
|
|
6456
6456
|
{
|
|
6457
6457
|
viewBox: "0 0 64 64",
|
|
@@ -6482,7 +6482,7 @@ const A = "currentColor", p2 = {
|
|
|
6482
6482
|
]
|
|
6483
6483
|
}
|
|
6484
6484
|
),
|
|
6485
|
-
paste: (t =
|
|
6485
|
+
paste: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6486
6486
|
"svg",
|
|
6487
6487
|
{
|
|
6488
6488
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6500,7 +6500,7 @@ const A = "currentColor", p2 = {
|
|
|
6500
6500
|
]
|
|
6501
6501
|
}
|
|
6502
6502
|
),
|
|
6503
|
-
block: (t =
|
|
6503
|
+
block: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6504
6504
|
"svg",
|
|
6505
6505
|
{
|
|
6506
6506
|
fill: t,
|
|
@@ -6522,7 +6522,7 @@ const A = "currentColor", p2 = {
|
|
|
6522
6522
|
]
|
|
6523
6523
|
}
|
|
6524
6524
|
),
|
|
6525
|
-
dashboard: (t =
|
|
6525
|
+
dashboard: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6526
6526
|
"svg",
|
|
6527
6527
|
{
|
|
6528
6528
|
fill: t,
|
|
@@ -6552,7 +6552,7 @@ const A = "currentColor", p2 = {
|
|
|
6552
6552
|
]
|
|
6553
6553
|
}
|
|
6554
6554
|
),
|
|
6555
|
-
setting: (t =
|
|
6555
|
+
setting: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6556
6556
|
"svg",
|
|
6557
6557
|
{
|
|
6558
6558
|
width: "100%",
|
|
@@ -6575,7 +6575,7 @@ const A = "currentColor", p2 = {
|
|
|
6575
6575
|
]
|
|
6576
6576
|
}
|
|
6577
6577
|
),
|
|
6578
|
-
premium: (t =
|
|
6578
|
+
premium: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6579
6579
|
"svg",
|
|
6580
6580
|
{
|
|
6581
6581
|
fill: t,
|
|
@@ -6604,7 +6604,7 @@ const A = "currentColor", p2 = {
|
|
|
6604
6604
|
]
|
|
6605
6605
|
}
|
|
6606
6606
|
),
|
|
6607
|
-
exchange: (t =
|
|
6607
|
+
exchange: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6608
6608
|
"svg",
|
|
6609
6609
|
{
|
|
6610
6610
|
width: "100%",
|
|
@@ -6650,7 +6650,7 @@ const A = "currentColor", p2 = {
|
|
|
6650
6650
|
}
|
|
6651
6651
|
)
|
|
6652
6652
|
] }),
|
|
6653
|
-
triangleUp: (t =
|
|
6653
|
+
triangleUp: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6654
6654
|
"svg",
|
|
6655
6655
|
{
|
|
6656
6656
|
fill: t,
|
|
@@ -6671,7 +6671,7 @@ const A = "currentColor", p2 = {
|
|
|
6671
6671
|
]
|
|
6672
6672
|
}
|
|
6673
6673
|
),
|
|
6674
|
-
triangleDown: (t =
|
|
6674
|
+
triangleDown: (t = P) => /* @__PURE__ */ l.jsx(
|
|
6675
6675
|
"svg",
|
|
6676
6676
|
{
|
|
6677
6677
|
fill: t,
|
|
@@ -6684,7 +6684,7 @@ const A = "currentColor", p2 = {
|
|
|
6684
6684
|
c0,0.6,0.4,1,1,1h18c0.2,0,0.3,0,0.5-0.1C22,20.4,22.1,19.8,21.9,19.3z` }) })
|
|
6685
6685
|
}
|
|
6686
6686
|
),
|
|
6687
|
-
blockRemaining: (t =
|
|
6687
|
+
blockRemaining: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6688
6688
|
"svg",
|
|
6689
6689
|
{
|
|
6690
6690
|
fill: t,
|
|
@@ -6704,7 +6704,7 @@ const A = "currentColor", p2 = {
|
|
|
6704
6704
|
]
|
|
6705
6705
|
}
|
|
6706
6706
|
),
|
|
6707
|
-
star: (t =
|
|
6707
|
+
star: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6708
6708
|
"svg",
|
|
6709
6709
|
{
|
|
6710
6710
|
fill: t,
|
|
@@ -6729,7 +6729,7 @@ const A = "currentColor", p2 = {
|
|
|
6729
6729
|
]
|
|
6730
6730
|
}
|
|
6731
6731
|
),
|
|
6732
|
-
currency: (t =
|
|
6732
|
+
currency: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6733
6733
|
"svg",
|
|
6734
6734
|
{
|
|
6735
6735
|
fill: t,
|
|
@@ -6752,7 +6752,7 @@ const A = "currentColor", p2 = {
|
|
|
6752
6752
|
]
|
|
6753
6753
|
}
|
|
6754
6754
|
),
|
|
6755
|
-
stack: (t =
|
|
6755
|
+
stack: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6756
6756
|
"svg",
|
|
6757
6757
|
{
|
|
6758
6758
|
fill: t,
|
|
@@ -6772,7 +6772,7 @@ const A = "currentColor", p2 = {
|
|
|
6772
6772
|
]
|
|
6773
6773
|
}
|
|
6774
6774
|
),
|
|
6775
|
-
data: (t =
|
|
6775
|
+
data: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6776
6776
|
"svg",
|
|
6777
6777
|
{
|
|
6778
6778
|
fill: t,
|
|
@@ -6795,7 +6795,7 @@ const A = "currentColor", p2 = {
|
|
|
6795
6795
|
]
|
|
6796
6796
|
}
|
|
6797
6797
|
),
|
|
6798
|
-
miner: (t =
|
|
6798
|
+
miner: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6799
6799
|
"svg",
|
|
6800
6800
|
{
|
|
6801
6801
|
fill: t,
|
|
@@ -6826,7 +6826,7 @@ const A = "currentColor", p2 = {
|
|
|
6826
6826
|
]
|
|
6827
6827
|
}
|
|
6828
6828
|
),
|
|
6829
|
-
confirm: (t =
|
|
6829
|
+
confirm: (t = P) => /* @__PURE__ */ l.jsx(
|
|
6830
6830
|
"svg",
|
|
6831
6831
|
{
|
|
6832
6832
|
fill: "none",
|
|
@@ -6846,7 +6846,7 @@ const A = "currentColor", p2 = {
|
|
|
6846
6846
|
)
|
|
6847
6847
|
}
|
|
6848
6848
|
),
|
|
6849
|
-
open: (t =
|
|
6849
|
+
open: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6850
6850
|
"svg",
|
|
6851
6851
|
{
|
|
6852
6852
|
fill: "none",
|
|
@@ -6870,7 +6870,7 @@ const A = "currentColor", p2 = {
|
|
|
6870
6870
|
]
|
|
6871
6871
|
}
|
|
6872
6872
|
),
|
|
6873
|
-
won: (t =
|
|
6873
|
+
won: (t = P) => /* @__PURE__ */ l.jsxs("svg", { width: "100%", height: "100%", xmlns: "http://www.w3.org/2000/svg", viewBox: "-5.12 -5.12 74.24 74.24", fill: t, children: [
|
|
6874
6874
|
/* @__PURE__ */ l.jsx(
|
|
6875
6875
|
"path",
|
|
6876
6876
|
{
|
|
@@ -6894,7 +6894,7 @@ const A = "currentColor", p2 = {
|
|
|
6894
6894
|
/* @__PURE__ */ l.jsx("line", { fill: "none", stroke: t, strokeWidth: "4.608", strokeMiterlimit: "10", x1: "13", y1: "30", x2: "51", y2: "30" }),
|
|
6895
6895
|
/* @__PURE__ */ l.jsx("line", { fill: "none", stroke: t, strokeWidth: "4.608", strokeMiterlimit: "10", x1: "13", y1: "36", x2: "51", y2: "36" })
|
|
6896
6896
|
] }),
|
|
6897
|
-
dollar: (t =
|
|
6897
|
+
dollar: (t = P) => /* @__PURE__ */ l.jsxs("svg", { viewBox: "-0.48 -0.48 24.96 24.96", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6898
6898
|
/* @__PURE__ */ l.jsx("circle", { cx: "12", cy: "12", r: "10", stroke: t, strokeWidth: "1.632" }),
|
|
6899
6899
|
/* @__PURE__ */ l.jsx("path", { d: "M12 6V18", stroke: t, strokeWidth: "1.632", strokeLinecap: "round" }),
|
|
6900
6900
|
/* @__PURE__ */ l.jsx(
|
|
@@ -6907,7 +6907,7 @@ const A = "currentColor", p2 = {
|
|
|
6907
6907
|
}
|
|
6908
6908
|
)
|
|
6909
6909
|
] }),
|
|
6910
|
-
app: (t =
|
|
6910
|
+
app: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6911
6911
|
"svg",
|
|
6912
6912
|
{
|
|
6913
6913
|
fill: t,
|
|
@@ -6927,7 +6927,7 @@ const A = "currentColor", p2 = {
|
|
|
6927
6927
|
]
|
|
6928
6928
|
}
|
|
6929
6929
|
),
|
|
6930
|
-
disconnect: (t =
|
|
6930
|
+
disconnect: (t = P) => /* @__PURE__ */ l.jsxs("svg", { fill: t, width: "100%", height: "100%", viewBox: "0 0 56 56", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6931
6931
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6932
6932
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6933
6933
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx(
|
|
@@ -6937,7 +6937,7 @@ const A = "currentColor", p2 = {
|
|
|
6937
6937
|
}
|
|
6938
6938
|
) })
|
|
6939
6939
|
] }),
|
|
6940
|
-
refresh: (t =
|
|
6940
|
+
refresh: (t = P) => /* @__PURE__ */ l.jsxs(
|
|
6941
6941
|
"svg",
|
|
6942
6942
|
{
|
|
6943
6943
|
fill: t,
|
|
@@ -6960,7 +6960,7 @@ const A = "currentColor", p2 = {
|
|
|
6960
6960
|
]
|
|
6961
6961
|
}
|
|
6962
6962
|
),
|
|
6963
|
-
check: (t =
|
|
6963
|
+
check: (t = P) => /* @__PURE__ */ l.jsxs("svg", { fill: t, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6964
6964
|
/* @__PURE__ */ l.jsx("g", { strokeWidth: "0" }),
|
|
6965
6965
|
/* @__PURE__ */ l.jsx("g", { strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6966
6966
|
/* @__PURE__ */ l.jsx("g", { children: /* @__PURE__ */ l.jsx("path", { d: "M5 16.577l2.194-2.195 5.486 5.484L24.804 7.743 27 9.937l-14.32 14.32z" }) })
|
|
@@ -6969,7 +6969,7 @@ const A = "currentColor", p2 = {
|
|
|
6969
6969
|
const n = p2[t](e);
|
|
6970
6970
|
return n || null;
|
|
6971
6971
|
}, ra = Z(({ ...t }, e) => {
|
|
6972
|
-
const { id: n, className: s, style: i } = { ...t }, { icon: r, size: o = "medium", onClick: a } = { ...t }, { color: c, disabled: u } = { ...t }, d =
|
|
6972
|
+
const { id: n, className: s, style: i } = { ...t }, { icon: r, size: o = "medium", onClick: a } = { ...t }, { color: c, disabled: u } = { ...t }, d = J(null), h = `k-icon-${Yt()}`, f = b(() => a ? 0 : void 0, [a]);
|
|
6973
6973
|
if (!r)
|
|
6974
6974
|
throw Error("Error: icon is required and must be provided.");
|
|
6975
6975
|
pt(e, () => ({
|
|
@@ -7011,7 +7011,7 @@ const A = "currentColor", p2 = {
|
|
|
7011
7011
|
}
|
|
7012
7012
|
)
|
|
7013
7013
|
);
|
|
7014
|
-
}), Ce =
|
|
7014
|
+
}), Ce = I(ra);
|
|
7015
7015
|
Ce.displayName = "KIcon";
|
|
7016
7016
|
ra.displayName = "KIcon";
|
|
7017
7017
|
const g2 = ["xsmall", "small", "medium", "large", "xlarge"], S2 = Object.values(g2), aa = Z((t, e) => {
|
|
@@ -7030,43 +7030,43 @@ const g2 = ["xsmall", "small", "medium", "large", "xlarge"], S2 = Object.values(
|
|
|
7030
7030
|
disabled: p,
|
|
7031
7031
|
onChange: m,
|
|
7032
7032
|
...y
|
|
7033
|
-
} = t, w = b(() => o.find((
|
|
7034
|
-
const
|
|
7035
|
-
return n &&
|
|
7036
|
-
}, [n, f, M, p]),
|
|
7037
|
-
const
|
|
7038
|
-
return C &&
|
|
7039
|
-
}, [C]), R = S(() => {
|
|
7040
|
-
const
|
|
7041
|
-
L(
|
|
7042
|
-
}, []), G = S(() => {
|
|
7043
|
-
x(!0);
|
|
7033
|
+
} = t, w = b(() => o.find((it) => it.value === r)?.label || null, [r, o]), [C, x] = at(!1), v = J(null), T = J(null), [k, L] = at("auto"), [M, j] = at(null), _ = b(() => M ? -16 : 4, [M]), N = Tn(v), B = b(() => {
|
|
7034
|
+
const V = ["k-select"];
|
|
7035
|
+
return n && V.push(n), f && V.push(`k-select--${f}`), p && V.push("k-select--disabled"), M && V.push("k-select--error"), V.join(" ");
|
|
7036
|
+
}, [n, f, M, p]), K = b(() => {
|
|
7037
|
+
const V = ["k-select__fieldset__container__icon"];
|
|
7038
|
+
return C && V.push("k-select__fieldset__container__icon--open"), V.join(" ");
|
|
7039
|
+
}, [C]), R = b(() => !f || f === "medium" ? "medium" : "small", [f]), G = S(() => {
|
|
7040
|
+
const V = v.current?.getBoundingClientRect().width;
|
|
7041
|
+
L(V ? V + 2 : "auto");
|
|
7044
7042
|
}, []), D = S(() => {
|
|
7043
|
+
x(!0);
|
|
7044
|
+
}, []), O = S(() => {
|
|
7045
7045
|
x(!1);
|
|
7046
|
-
}, []),
|
|
7046
|
+
}, []), z = S(async (V) => {
|
|
7047
7047
|
if (!s)
|
|
7048
7048
|
return console.warn("not found rules."), !0;
|
|
7049
|
-
const
|
|
7050
|
-
for (let
|
|
7051
|
-
const
|
|
7052
|
-
if (
|
|
7053
|
-
return j(
|
|
7049
|
+
const it = V ?? r;
|
|
7050
|
+
for (let nt = 0; nt < s.length; nt++) {
|
|
7051
|
+
const jt = await (await s[nt])(it?.toString()), X = typeof jt == "string" ? jt : null;
|
|
7052
|
+
if (X)
|
|
7053
|
+
return j(X), !1;
|
|
7054
7054
|
}
|
|
7055
7055
|
return j(null), !0;
|
|
7056
|
-
}, [s, r]),
|
|
7057
|
-
m(
|
|
7058
|
-
}, [m, i,
|
|
7059
|
-
p || N?.register(
|
|
7060
|
-
}, [p]), at = S(() => {
|
|
7061
|
-
p || N.remove();
|
|
7056
|
+
}, [s, r]), Y = S((V) => {
|
|
7057
|
+
m(V), i && z(V);
|
|
7058
|
+
}, [m, i, z]), lt = S((V) => {
|
|
7059
|
+
p || N?.register(V);
|
|
7062
7060
|
}, [p]), g = S(() => {
|
|
7063
7061
|
p || N.remove();
|
|
7064
|
-
}, [p]), E =
|
|
7065
|
-
|
|
7066
|
-
|
|
7062
|
+
}, [p]), E = S(() => {
|
|
7063
|
+
p || N.remove();
|
|
7064
|
+
}, [p]), F = b(() => {
|
|
7065
|
+
const V = ["k-select__fieldset__legend"];
|
|
7066
|
+
return a && V.push("k-select__fieldset__legend--show"), V.join(" ");
|
|
7067
7067
|
}, [a]);
|
|
7068
7068
|
return Tt(() => {
|
|
7069
|
-
|
|
7069
|
+
G();
|
|
7070
7070
|
}, [f]), pt(e, () => ({
|
|
7071
7071
|
onOpen: () => {
|
|
7072
7072
|
T.current?.onOpen();
|
|
@@ -7074,7 +7074,7 @@ const g2 = ["xsmall", "small", "medium", "large", "xlarge"], S2 = Object.values(
|
|
|
7074
7074
|
onClose: () => {
|
|
7075
7075
|
T.current?.onClose();
|
|
7076
7076
|
},
|
|
7077
|
-
onValidate: () =>
|
|
7077
|
+
onValidate: () => z()
|
|
7078
7078
|
})), /* @__PURE__ */ l.jsxs(
|
|
7079
7079
|
Ht,
|
|
7080
7080
|
{
|
|
@@ -7082,12 +7082,13 @@ const g2 = ["xsmall", "small", "medium", "large", "xlarge"], S2 = Object.values(
|
|
|
7082
7082
|
trigger: "click",
|
|
7083
7083
|
position: "bottom-start",
|
|
7084
7084
|
...y,
|
|
7085
|
-
onDropdownOpen:
|
|
7086
|
-
onDropdownClose:
|
|
7085
|
+
onDropdownOpen: D,
|
|
7086
|
+
onDropdownClose: O,
|
|
7087
|
+
"aria-disabled": p,
|
|
7087
7088
|
children: [
|
|
7088
7089
|
/* @__PURE__ */ l.jsxs(Ht.Trigger, { className: "k-select__trigger", disabled: p, children: [
|
|
7089
7090
|
/* @__PURE__ */ l.jsxs("fieldset", { className: "k-select__fieldset", style: { width: h }, children: [
|
|
7090
|
-
/* @__PURE__ */ l.jsxs("legend", { className:
|
|
7091
|
+
/* @__PURE__ */ l.jsxs("legend", { className: F, children: [
|
|
7091
7092
|
a,
|
|
7092
7093
|
a && c && /* @__PURE__ */ l.jsx("span", { className: "k-select__fieldset__legend__required", children: "*" })
|
|
7093
7094
|
] }),
|
|
@@ -7096,13 +7097,13 @@ const g2 = ["xsmall", "small", "medium", "large", "xlarge"], S2 = Object.values(
|
|
|
7096
7097
|
{
|
|
7097
7098
|
ref: v,
|
|
7098
7099
|
className: "k-select__fieldset__container",
|
|
7099
|
-
onMouseDown:
|
|
7100
|
-
onMouseUp:
|
|
7101
|
-
onMouseLeave:
|
|
7100
|
+
onMouseDown: lt,
|
|
7101
|
+
onMouseUp: g,
|
|
7102
|
+
onMouseLeave: E,
|
|
7102
7103
|
children: [
|
|
7103
7104
|
w && /* @__PURE__ */ l.jsx("span", { className: "k-select__fieldset__container__value", children: w }),
|
|
7104
7105
|
r === void 0 && d && /* @__PURE__ */ l.jsx("span", { className: "k-select__fieldset__container__placeholder", children: d }),
|
|
7105
|
-
/* @__PURE__ */ l.jsx(Ce, { className:
|
|
7106
|
+
/* @__PURE__ */ l.jsx(Ce, { className: K, icon: "keyboard_arrow_down", size: R })
|
|
7106
7107
|
]
|
|
7107
7108
|
}
|
|
7108
7109
|
)
|
|
@@ -7110,23 +7111,23 @@ const g2 = ["xsmall", "small", "medium", "large", "xlarge"], S2 = Object.values(
|
|
|
7110
7111
|
M && /* @__PURE__ */ l.jsx("div", { className: "k-select__fieldset__message", children: M })
|
|
7111
7112
|
] }),
|
|
7112
7113
|
/* @__PURE__ */ l.jsx(Ht.Content, { className: "k-select__content", gap: _, children: /* @__PURE__ */ l.jsxs(Ut, { width: k, size: "medium", className: `k-select__content__menu k-select__content__menu--${f}`, children: [
|
|
7113
|
-
o.map((
|
|
7114
|
+
o.map((V) => /* @__PURE__ */ l.jsx(
|
|
7114
7115
|
Ut.ItemSelectable,
|
|
7115
7116
|
{
|
|
7116
|
-
label:
|
|
7117
|
-
selected: r ===
|
|
7117
|
+
label: V.label,
|
|
7118
|
+
selected: r === V.value,
|
|
7118
7119
|
onClick: () => {
|
|
7119
|
-
|
|
7120
|
+
Y(V.value);
|
|
7120
7121
|
}
|
|
7121
7122
|
},
|
|
7122
|
-
|
|
7123
|
+
V.value
|
|
7123
7124
|
)),
|
|
7124
7125
|
o.length === 0 && /* @__PURE__ */ l.jsx(Ut.Item, { label: u })
|
|
7125
7126
|
] }) })
|
|
7126
7127
|
]
|
|
7127
7128
|
}
|
|
7128
7129
|
);
|
|
7129
|
-
}), y2 =
|
|
7130
|
+
}), y2 = I(aa);
|
|
7130
7131
|
aa.displayName = "KSelect";
|
|
7131
7132
|
y2.displayName = "KSelect";
|
|
7132
7133
|
const la = Z((t, e) => {
|
|
@@ -7156,26 +7157,26 @@ const la = Z((t, e) => {
|
|
|
7156
7157
|
className: _,
|
|
7157
7158
|
rules: N,
|
|
7158
7159
|
validateOnChange: B,
|
|
7159
|
-
...
|
|
7160
|
-
} = t, R =
|
|
7160
|
+
...K
|
|
7161
|
+
} = t, R = J(null), [G, D] = at(!1), [O, z] = at(!1), [Y, lt] = at(null), g = b(() => r === "password", [r]), E = b(() => r === "password" && O ? "text" : r, [r, O]), F = b(() => {
|
|
7161
7162
|
const $ = ["k-text-field", `k-text-field--${j}`];
|
|
7162
7163
|
return _ && $.push(_), c && $.push("k-text-field--disabled"), G && $.push("k-text-field--focus"), u && $.push("k-text-field--readOnly"), r === "password" && $.push("k-text-field--password"), typeof Y == "string" && $.push("k-text-field--error"), $.join(" ");
|
|
7163
|
-
}, [_, c, u, r, Y, j, G]),
|
|
7164
|
+
}, [_, c, u, r, Y, j, G]), V = b(() => {
|
|
7164
7165
|
const $ = ["k-text-field__fieldset__legend__label"];
|
|
7165
7166
|
return k && $.push("k-text-field__fieldset__legend__label--show"), $.join(" ");
|
|
7166
|
-
}, [k]), it = b(() => ({ ...M, width: L }), [M, L]),
|
|
7167
|
+
}, [k]), it = b(() => ({ ...M, width: L }), [M, L]), nt = b(() => ({ textAlign: h }), [h]), kt = S(async ($) => {
|
|
7167
7168
|
if (!N)
|
|
7168
7169
|
return console.warn("not found rules."), !0;
|
|
7169
7170
|
const ca = $ ?? i;
|
|
7170
7171
|
for (let $e = 0; $e < N.length; $e++) {
|
|
7171
7172
|
const ws = await (await N[$e])(ca), ks = typeof ws == "string" ? ws : null;
|
|
7172
7173
|
if (ks)
|
|
7173
|
-
return
|
|
7174
|
+
return lt(ks), !1;
|
|
7174
7175
|
}
|
|
7175
|
-
return
|
|
7176
|
+
return lt(null), !0;
|
|
7176
7177
|
}, [N, i]), jt = S(($) => {
|
|
7177
|
-
f?.($.target.value), B &&
|
|
7178
|
-
}, [f,
|
|
7178
|
+
f?.($.target.value), B && kt($.target.value);
|
|
7179
|
+
}, [f, kt, B]), X = S(($) => {
|
|
7179
7180
|
D(!0), p?.($);
|
|
7180
7181
|
}, [p]), bt = S(($) => {
|
|
7181
7182
|
D(!1), m?.($);
|
|
@@ -7188,10 +7189,10 @@ const la = Z((t, e) => {
|
|
|
7188
7189
|
value: i,
|
|
7189
7190
|
focus: () => R.current?.focus(),
|
|
7190
7191
|
blur: () => R.current?.blur(),
|
|
7191
|
-
onValidate: () =>
|
|
7192
|
-
})), /* @__PURE__ */ l.jsxs("div", { className:
|
|
7192
|
+
onValidate: () => kt()
|
|
7193
|
+
})), /* @__PURE__ */ l.jsxs("div", { className: F, children: [
|
|
7193
7194
|
/* @__PURE__ */ l.jsxs("fieldset", { className: "k-text-field__fieldset", style: it, children: [
|
|
7194
|
-
/* @__PURE__ */ l.jsx("legend", { className: "k-text-field__fieldset__legend", children: /* @__PURE__ */ l.jsxs("label", { htmlFor: s, className:
|
|
7195
|
+
/* @__PURE__ */ l.jsx("legend", { className: "k-text-field__fieldset__legend", children: /* @__PURE__ */ l.jsxs("label", { htmlFor: s, className: V, children: [
|
|
7195
7196
|
k,
|
|
7196
7197
|
k && d && /* @__PURE__ */ l.jsx("span", { className: "k-text-field__fieldset__legend__label__required", children: "*" })
|
|
7197
7198
|
] }) }),
|
|
@@ -7211,14 +7212,14 @@ const la = Z((t, e) => {
|
|
|
7211
7212
|
placeholder: o,
|
|
7212
7213
|
maxLength: a,
|
|
7213
7214
|
onChange: jt,
|
|
7214
|
-
onFocus:
|
|
7215
|
+
onFocus: X,
|
|
7215
7216
|
onBlur: bt,
|
|
7216
7217
|
onKeyDown: te,
|
|
7217
7218
|
autoComplete: x,
|
|
7218
7219
|
autoCorrect: C,
|
|
7219
7220
|
autoCapitalize: w,
|
|
7220
|
-
style:
|
|
7221
|
-
...
|
|
7221
|
+
style: nt,
|
|
7222
|
+
...K
|
|
7222
7223
|
}
|
|
7223
7224
|
),
|
|
7224
7225
|
g && /* @__PURE__ */ l.jsx(
|
|
@@ -7238,9 +7239,11 @@ const la = Z((t, e) => {
|
|
|
7238
7239
|
] });
|
|
7239
7240
|
});
|
|
7240
7241
|
la.displayName = "KTextField";
|
|
7241
|
-
const P2 =
|
|
7242
|
+
const P2 = I(la);
|
|
7242
7243
|
export {
|
|
7244
|
+
$t as Accordion,
|
|
7243
7245
|
b2 as BUTTON_VARIANTS,
|
|
7246
|
+
Ji as Button,
|
|
7244
7247
|
g2 as ICON_SIZES,
|
|
7245
7248
|
l2 as KAccordion,
|
|
7246
7249
|
ia as KBackdrop,
|
|
@@ -7258,5 +7261,10 @@ export {
|
|
|
7258
7261
|
a2 as KSwitch,
|
|
7259
7262
|
P2 as KTextField,
|
|
7260
7263
|
L2 as KToggleButton,
|
|
7261
|
-
T2 as K_DROPDOWN_POSITIONS
|
|
7264
|
+
T2 as K_DROPDOWN_POSITIONS,
|
|
7265
|
+
Vn as Menu,
|
|
7266
|
+
to as MenuItem,
|
|
7267
|
+
no as Switch,
|
|
7268
|
+
io as TextField,
|
|
7269
|
+
Fe as Transition
|
|
7262
7270
|
};
|