react-lib-tools 0.0.48 → 0.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CommonQuestionsRoute-B4bBnTyv.cjs → CommonQuestionsRoute-CYFQd82m.cjs} +2 -2
- package/dist/{CommonQuestionsRoute-B4bBnTyv.cjs.map → CommonQuestionsRoute-CYFQd82m.cjs.map} +1 -1
- package/dist/{CommonQuestionsRoute-Batfohax.js → CommonQuestionsRoute-DPuzl4w2.js} +2 -2
- package/dist/{CommonQuestionsRoute-Batfohax.js.map → CommonQuestionsRoute-DPuzl4w2.js.map} +1 -1
- package/dist/{GettingStartedRoute-eV1Gvnp5.cjs → GettingStartedRoute-CMnctjek.cjs} +2 -2
- package/dist/{GettingStartedRoute-eV1Gvnp5.cjs.map → GettingStartedRoute-CMnctjek.cjs.map} +1 -1
- package/dist/{GettingStartedRoute-CRNXqZFq.js → GettingStartedRoute-DFV91A80.js} +2 -2
- package/dist/{GettingStartedRoute-CRNXqZFq.js.map → GettingStartedRoute-DFV91A80.js.map} +1 -1
- package/dist/{PageNotFound-qGDSWCcK.js → PageNotFound-5aNFXzpv.js} +2 -2
- package/dist/{PageNotFound-qGDSWCcK.js.map → PageNotFound-5aNFXzpv.js.map} +1 -1
- package/dist/{PageNotFound-DdwZ_HlO.cjs → PageNotFound-BMpN0g8H.cjs} +2 -2
- package/dist/{PageNotFound-DdwZ_HlO.cjs.map → PageNotFound-BMpN0g8H.cjs.map} +1 -1
- package/dist/{SupportRoute-BI1UlEjB.js → SupportRoute-C_dJql71.js} +2 -2
- package/dist/{SupportRoute-BI1UlEjB.js.map → SupportRoute-C_dJql71.js.map} +1 -1
- package/dist/{SupportRoute-C4AyaiIN.cjs → SupportRoute-FbQdFnDI.cjs} +2 -2
- package/dist/{SupportRoute-C4AyaiIN.cjs.map → SupportRoute-FbQdFnDI.cjs.map} +1 -1
- package/dist/{VersionsRoute-DSiHKAu2.cjs → VersionsRoute-BaS73066.cjs} +2 -2
- package/dist/{VersionsRoute-DSiHKAu2.cjs.map → VersionsRoute-BaS73066.cjs.map} +1 -1
- package/dist/{VersionsRoute-DFEViErJ.js → VersionsRoute-DuEBaSI5.js} +2 -2
- package/dist/{VersionsRoute-DFEViErJ.js.map → VersionsRoute-DuEBaSI5.js.map} +1 -1
- package/dist/{index-r-XtNIqq.cjs → index-QXhMBEzr.cjs} +2 -2
- package/dist/index-QXhMBEzr.cjs.map +1 -0
- package/dist/{index-glKzZg5t.js → index-VNirkA-O.js} +89 -101
- package/dist/index-VNirkA-O.js.map +1 -0
- package/dist/react-lib-tools.cjs +1 -1
- package/dist/react-lib-tools.js +1 -1
- package/package.json +1 -2
- package/scripts/compile-search-index.ts +5 -19
- package/scripts/utils/search/crawlPage.ts +28 -28
- package/dist/fuse-BvOe6mNx.js +0 -1023
- package/dist/fuse-BvOe6mNx.js.map +0 -1
- package/dist/fuse-CM2wbN_z.cjs +0 -2
- package/dist/fuse-CM2wbN_z.cjs.map +0 -1
- package/dist/index-glKzZg5t.js.map +0 -1
- package/dist/index-r-XtNIqq.cjs.map +0 -1
- package/scripts/utils/search/stopWords.ts +0 -129
- package/scripts/utils/search/types.ts +0 -6
|
@@ -9868,11 +9868,11 @@ function mg() {
|
|
|
9868
9868
|
}, [n, e, t]), null;
|
|
9869
9869
|
}
|
|
9870
9870
|
const pg = {
|
|
9871
|
-
"*": Mt(() => import("./PageNotFound-
|
|
9872
|
-
"/": Mt(() => import("./GettingStartedRoute-
|
|
9873
|
-
"/common-questions": Mt(() => import("./CommonQuestionsRoute-
|
|
9874
|
-
"/support": Mt(() => import("./SupportRoute-
|
|
9875
|
-
"/versions": Mt(() => import("./VersionsRoute-
|
|
9871
|
+
"*": Mt(() => import("./PageNotFound-5aNFXzpv.js")),
|
|
9872
|
+
"/": Mt(() => import("./GettingStartedRoute-DFV91A80.js")),
|
|
9873
|
+
"/common-questions": Mt(() => import("./CommonQuestionsRoute-DPuzl4w2.js")),
|
|
9874
|
+
"/support": Mt(() => import("./SupportRoute-C_dJql71.js")),
|
|
9875
|
+
"/versions": Mt(() => import("./VersionsRoute-DuEBaSI5.js"))
|
|
9876
9876
|
};
|
|
9877
9877
|
function hg(e, t = 250) {
|
|
9878
9878
|
const [n, r] = J(e);
|
|
@@ -9891,46 +9891,18 @@ function hg(e, t = 250) {
|
|
|
9891
9891
|
}
|
|
9892
9892
|
let wr;
|
|
9893
9893
|
function gg() {
|
|
9894
|
-
return wr === void 0 && (wr =
|
|
9895
|
-
|
|
9896
|
-
|
|
9897
|
-
fetch("/generated/search-records.json").then(
|
|
9898
|
-
(t) => t.json()
|
|
9899
|
-
),
|
|
9900
|
-
fetch("/generated/search-index.json").then(
|
|
9901
|
-
(t) => t.json()
|
|
9902
|
-
)
|
|
9903
|
-
]).then(([t, n, r]) => {
|
|
9904
|
-
const o = new t(
|
|
9905
|
-
n,
|
|
9906
|
-
{
|
|
9907
|
-
distance: 1e3,
|
|
9908
|
-
ignoreLocation: !0,
|
|
9909
|
-
includeMatches: !1,
|
|
9910
|
-
isCaseSensitive: !1,
|
|
9911
|
-
keys: [
|
|
9912
|
-
{ name: "title", weight: 5 },
|
|
9913
|
-
{ name: "section", weight: 1 },
|
|
9914
|
-
{ name: "text", weight: 1 }
|
|
9915
|
-
],
|
|
9916
|
-
minMatchCharLength: 2,
|
|
9917
|
-
threshold: 0.1,
|
|
9918
|
-
useExtendedSearch: !0
|
|
9919
|
-
},
|
|
9920
|
-
t.parseIndex(r)
|
|
9921
|
-
);
|
|
9922
|
-
e(o);
|
|
9923
|
-
});
|
|
9924
|
-
})), wr;
|
|
9894
|
+
return wr === void 0 && (wr = fetch("/generated/site-map.json").then(
|
|
9895
|
+
(e) => e.json()
|
|
9896
|
+
)), wr;
|
|
9925
9897
|
}
|
|
9926
9898
|
function Ti(e, t, n) {
|
|
9927
9899
|
const { maxLength: r = 250, leading: o = 0 } = n ?? {};
|
|
9928
|
-
if (t = t.toLowerCase(), r && e.length > r) {
|
|
9900
|
+
if (t = t.trim().toLowerCase(), r && e.length > r) {
|
|
9929
9901
|
const c = e.toLowerCase().indexOf(t), u = Math.max(0, c - o), f = Math.min(e.length, u + r);
|
|
9930
9902
|
e = e.substring(u, f), u > 0 && (e = "…" + e);
|
|
9931
9903
|
}
|
|
9932
9904
|
let i = e;
|
|
9933
|
-
t && t.split(
|
|
9905
|
+
t && t.split(/\s+/).forEach((c) => {
|
|
9934
9906
|
i = i.replaceAll(
|
|
9935
9907
|
new RegExp(`(${c})`, "gi"),
|
|
9936
9908
|
"├$1┤"
|
|
@@ -9967,27 +9939,25 @@ function bg(e) {
|
|
|
9967
9939
|
}
|
|
9968
9940
|
function wg({
|
|
9969
9941
|
isActive: e,
|
|
9970
|
-
result:
|
|
9971
|
-
|
|
9972
|
-
},
|
|
9973
|
-
searchTextDeferred: i
|
|
9942
|
+
result: t,
|
|
9943
|
+
searchTextDeferred: n
|
|
9974
9944
|
}) {
|
|
9975
|
-
const
|
|
9976
|
-
() => Ti(
|
|
9977
|
-
[
|
|
9978
|
-
),
|
|
9979
|
-
() =>
|
|
9945
|
+
const r = U(null), o = ce(
|
|
9946
|
+
() => Ti(t.title, n),
|
|
9947
|
+
[n, t.title]
|
|
9948
|
+
), i = ce(
|
|
9949
|
+
() => t.text ? Ti(t.text, n, {
|
|
9980
9950
|
maxLength: 150,
|
|
9981
9951
|
leading: 25
|
|
9982
9952
|
}) : "",
|
|
9983
|
-
[
|
|
9953
|
+
[n, t.text]
|
|
9984
9954
|
);
|
|
9985
9955
|
return re(() => {
|
|
9986
|
-
e &&
|
|
9956
|
+
e && r.current?.scrollIntoView({
|
|
9987
9957
|
behavior: "smooth",
|
|
9988
9958
|
block: "nearest"
|
|
9989
9959
|
});
|
|
9990
|
-
}, [e]), /* @__PURE__ */ R("li", { ref:
|
|
9960
|
+
}, [e]), /* @__PURE__ */ R("li", { ref: r, children: /* @__PURE__ */ Y(
|
|
9991
9961
|
Gn,
|
|
9992
9962
|
{
|
|
9993
9963
|
className: fe(
|
|
@@ -9998,28 +9968,46 @@ function wg({
|
|
|
9998
9968
|
}
|
|
9999
9969
|
),
|
|
10000
9970
|
"data-active-search-result": e || void 0,
|
|
10001
|
-
to: t,
|
|
9971
|
+
to: t.path,
|
|
10002
9972
|
children: [
|
|
10003
9973
|
/* @__PURE__ */ Y("div", { className: "grow-1 shrink-1 overflow-auto flex flex-col gap-1", children: [
|
|
10004
9974
|
/* @__PURE__ */ Y("div", { className: "grow text-lg truncate text-white", children: [
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
9975
|
+
t.section,
|
|
9976
|
+
t.section && " ",
|
|
9977
|
+
o
|
|
10008
9978
|
] }),
|
|
10009
|
-
|
|
9979
|
+
i && /* @__PURE__ */ R("div", { className: "text-sm truncate pb-1", children: i })
|
|
10010
9980
|
] }),
|
|
10011
9981
|
/* @__PURE__ */ R(jr, { className: "h-4 w-4 shrink-0" })
|
|
10012
9982
|
]
|
|
10013
9983
|
}
|
|
10014
9984
|
) });
|
|
10015
9985
|
}
|
|
10016
|
-
function yg({
|
|
9986
|
+
function yg(e, t) {
|
|
9987
|
+
const n = t.toLowerCase().split(" ").filter(Boolean).map((o) => new RegExp(o, "ig"));
|
|
9988
|
+
if (n.length === 0)
|
|
9989
|
+
return e;
|
|
9990
|
+
const r = [];
|
|
9991
|
+
return e.forEach((o) => {
|
|
9992
|
+
let i = 0;
|
|
9993
|
+
n.forEach((l) => {
|
|
9994
|
+
const a = o.title.match(l);
|
|
9995
|
+
a && (i += a.length * 5);
|
|
9996
|
+
const s = o.text.match(l);
|
|
9997
|
+
s && (i += s.length);
|
|
9998
|
+
const c = o.section?.match(l);
|
|
9999
|
+
c && (i += c.length);
|
|
10000
|
+
}), i > 0 && r.push({
|
|
10001
|
+
page: o,
|
|
10002
|
+
score: i
|
|
10003
|
+
});
|
|
10004
|
+
}), r.sort((o, i) => i.score - o.score).map((o) => o.page);
|
|
10005
|
+
}
|
|
10006
|
+
function xg({
|
|
10017
10007
|
inputRef: e,
|
|
10018
10008
|
searchTextDeferred: t
|
|
10019
10009
|
}) {
|
|
10020
|
-
const n = es(gg()), [r, o] = J(0), i = ce(() => t ? n.
|
|
10021
|
-
limit: 10
|
|
10022
|
-
}) : [], [n, t]);
|
|
10010
|
+
const n = es(gg()), [r, o] = J(0), i = ce(() => t ? yg(n, t).slice(0, 10) : [], [t, n]);
|
|
10023
10011
|
return re(() => {
|
|
10024
10012
|
if (e) {
|
|
10025
10013
|
const l = (a) => {
|
|
@@ -10064,7 +10052,7 @@ function yg({
|
|
|
10064
10052
|
))
|
|
10065
10053
|
] });
|
|
10066
10054
|
}
|
|
10067
|
-
function
|
|
10055
|
+
function Eg() {
|
|
10068
10056
|
const { isSiteSearchVisible: e, setIsSiteSearchVisible: t } = On(), [n, r] = J(null), [o, i] = J(""), l = hg(o);
|
|
10069
10057
|
return re(() => {
|
|
10070
10058
|
if (!e) {
|
|
@@ -10124,7 +10112,7 @@ function xg() {
|
|
|
10124
10112
|
}
|
|
10125
10113
|
),
|
|
10126
10114
|
l && /* @__PURE__ */ R(
|
|
10127
|
-
|
|
10115
|
+
xg,
|
|
10128
10116
|
{
|
|
10129
10117
|
inputRef: n,
|
|
10130
10118
|
searchTextDeferred: l
|
|
@@ -10135,15 +10123,15 @@ function xg() {
|
|
|
10135
10123
|
}
|
|
10136
10124
|
) : null;
|
|
10137
10125
|
}
|
|
10138
|
-
const
|
|
10139
|
-
function
|
|
10126
|
+
const Rg = typeof navigator < "u" && navigator.userAgent.indexOf("Win") >= 0 ? "^K" : "⌘K";
|
|
10127
|
+
function Hg({
|
|
10140
10128
|
enableSiteSearch: e,
|
|
10141
10129
|
navLinks: t,
|
|
10142
10130
|
routes: n,
|
|
10143
10131
|
...r
|
|
10144
10132
|
}) {
|
|
10145
10133
|
return /* @__PURE__ */ R(Wa, { ...r, children: /* @__PURE__ */ R(
|
|
10146
|
-
|
|
10134
|
+
$g,
|
|
10147
10135
|
{
|
|
10148
10136
|
enableSiteSearch: e,
|
|
10149
10137
|
navLinks: t,
|
|
@@ -10151,7 +10139,7 @@ function Bg({
|
|
|
10151
10139
|
}
|
|
10152
10140
|
) });
|
|
10153
10141
|
}
|
|
10154
|
-
function
|
|
10142
|
+
function $g({
|
|
10155
10143
|
enableSiteSearch: e,
|
|
10156
10144
|
navLinks: t,
|
|
10157
10145
|
routes: n
|
|
@@ -10200,7 +10188,7 @@ function Rg({
|
|
|
10200
10188
|
title: "Site search",
|
|
10201
10189
|
children: /* @__PURE__ */ Y("div", { className: "h-8 flex items-center justify-center gap-1 px-2 rounded-full text-sm bg-black/40 hover:bg-black/60 transition-colors!", children: [
|
|
10202
10190
|
/* @__PURE__ */ R(Ai, { className: "w-4 h-4" }),
|
|
10203
|
-
|
|
10191
|
+
Rg
|
|
10204
10192
|
] })
|
|
10205
10193
|
}
|
|
10206
10194
|
),
|
|
@@ -10287,10 +10275,10 @@ function Rg({
|
|
|
10287
10275
|
)
|
|
10288
10276
|
] })
|
|
10289
10277
|
] }),
|
|
10290
|
-
e && /* @__PURE__ */ R(
|
|
10278
|
+
e && /* @__PURE__ */ R(Eg, {})
|
|
10291
10279
|
] });
|
|
10292
10280
|
}
|
|
10293
|
-
function
|
|
10281
|
+
function Vg({
|
|
10294
10282
|
children: e,
|
|
10295
10283
|
className: t,
|
|
10296
10284
|
...n
|
|
@@ -10304,8 +10292,8 @@ function Hg({
|
|
|
10304
10292
|
}
|
|
10305
10293
|
) });
|
|
10306
10294
|
}
|
|
10307
|
-
const
|
|
10308
|
-
function
|
|
10295
|
+
const Sg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "m424-424-86-86q-11-11-28-11t-28 11q-11 11-11 28t11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28q-11-11-28-11t-28 11L424-424ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" })), Cg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M320-440h320q17 0 28.5-11.5T680-480q0-17-11.5-28.5T640-520H320q-17 0-28.5 11.5T280-480q0 17 11.5 28.5T320-440ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" })), kg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" }));
|
|
10296
|
+
function jg({
|
|
10309
10297
|
checked: e,
|
|
10310
10298
|
children: t,
|
|
10311
10299
|
className: n,
|
|
@@ -10314,7 +10302,7 @@ function Vg({
|
|
|
10314
10302
|
...i
|
|
10315
10303
|
}) {
|
|
10316
10304
|
let l, a;
|
|
10317
|
-
return r ? (l =
|
|
10305
|
+
return r ? (l = Cg, a = "fill-white") : e ? (l = Sg, a = "fill-blue-600") : (l = kg, a = "fill-slate-600"), /* @__PURE__ */ Y(
|
|
10318
10306
|
"label",
|
|
10319
10307
|
{
|
|
10320
10308
|
className: `cursor-pointer rounded-lg flex flex-row items-center outline-none group ${n}`,
|
|
@@ -10398,7 +10386,7 @@ function Ua({
|
|
|
10398
10386
|
/* @__PURE__ */ R("title", { children: e ? `${e}: ${n}` : n })
|
|
10399
10387
|
] });
|
|
10400
10388
|
}
|
|
10401
|
-
function
|
|
10389
|
+
function Pg({
|
|
10402
10390
|
method: e
|
|
10403
10391
|
}) {
|
|
10404
10392
|
return /* @__PURE__ */ Y(Rt, { children: [
|
|
@@ -10409,7 +10397,7 @@ function kg({
|
|
|
10409
10397
|
] })
|
|
10410
10398
|
] });
|
|
10411
10399
|
}
|
|
10412
|
-
function
|
|
10400
|
+
function Wg({
|
|
10413
10401
|
json: e,
|
|
10414
10402
|
section: t
|
|
10415
10403
|
}) {
|
|
@@ -10423,10 +10411,10 @@ function jg({
|
|
|
10423
10411
|
}
|
|
10424
10412
|
),
|
|
10425
10413
|
/* @__PURE__ */ R(qn, { sections: e.description }),
|
|
10426
|
-
/* @__PURE__ */ R(Pe, { direction: "column", children: /* @__PURE__ */ R("dl", { className: "flex flex-col gap-2", children: e.methods.map((n, r) => /* @__PURE__ */ R(
|
|
10414
|
+
/* @__PURE__ */ R(Pe, { direction: "column", children: /* @__PURE__ */ R("dl", { className: "flex flex-col gap-2", children: e.methods.map((n, r) => /* @__PURE__ */ R(Pg, { method: n }, r)) }) })
|
|
10427
10415
|
] });
|
|
10428
10416
|
}
|
|
10429
|
-
function
|
|
10417
|
+
function zg({
|
|
10430
10418
|
children: e,
|
|
10431
10419
|
className: t,
|
|
10432
10420
|
onChange: n,
|
|
@@ -10447,7 +10435,7 @@ function Wg({
|
|
|
10447
10435
|
}
|
|
10448
10436
|
);
|
|
10449
10437
|
}
|
|
10450
|
-
function
|
|
10438
|
+
function Ug() {
|
|
10451
10439
|
return /* @__PURE__ */ Y(Pe, { align: "center", className: "text-slate-300", direction: "row", gap: 2, children: [
|
|
10452
10440
|
/* @__PURE__ */ R(ns, { className: "size-4 animate-spin" }),
|
|
10453
10441
|
"Loading..."
|
|
@@ -10473,7 +10461,7 @@ function Ga({
|
|
|
10473
10461
|
}
|
|
10474
10462
|
);
|
|
10475
10463
|
}
|
|
10476
|
-
function
|
|
10464
|
+
function Gg({
|
|
10477
10465
|
children: e,
|
|
10478
10466
|
className: t,
|
|
10479
10467
|
path: n
|
|
@@ -10494,7 +10482,7 @@ function Ug({
|
|
|
10494
10482
|
}
|
|
10495
10483
|
) });
|
|
10496
10484
|
}
|
|
10497
|
-
function
|
|
10485
|
+
function Kg({
|
|
10498
10486
|
children: e,
|
|
10499
10487
|
label: t
|
|
10500
10488
|
}) {
|
|
@@ -10507,13 +10495,13 @@ function Gg({
|
|
|
10507
10495
|
/* @__PURE__ */ R(Oa, { className: "pl-4", children: e })
|
|
10508
10496
|
] });
|
|
10509
10497
|
}
|
|
10510
|
-
function
|
|
10498
|
+
function Tg(e) {
|
|
10511
10499
|
const t = [], n = [];
|
|
10512
10500
|
return Object.values(e.props).forEach((r) => {
|
|
10513
10501
|
r.required ? n.push(r) : t.push(r);
|
|
10514
10502
|
}), t.sort((r, o) => r.name.localeCompare(o.name)), n.sort((r, o) => r.name.localeCompare(o.name)), { optionalProps: t, requiredProps: n };
|
|
10515
10503
|
}
|
|
10516
|
-
function
|
|
10504
|
+
function Og({ prop: e }) {
|
|
10517
10505
|
return /* @__PURE__ */ Y(Rt, { children: [
|
|
10518
10506
|
/* @__PURE__ */ R("dt", { className: "mt-6 pl-8 indent-[-1rem]", children: /* @__PURE__ */ R(
|
|
10519
10507
|
za,
|
|
@@ -10531,15 +10519,15 @@ function Oi({
|
|
|
10531
10519
|
}) {
|
|
10532
10520
|
return t.length === 0 ? null : /* @__PURE__ */ Y(Pe, { direction: "column", children: [
|
|
10533
10521
|
/* @__PURE__ */ R("div", { className: "text-lg font-bold", children: e }),
|
|
10534
|
-
/* @__PURE__ */ R("dl", { children: t.map((n) => /* @__PURE__ */ R(
|
|
10522
|
+
/* @__PURE__ */ R("dl", { children: t.map((n) => /* @__PURE__ */ R(Og, { prop: n }, n.name)) })
|
|
10535
10523
|
] });
|
|
10536
10524
|
}
|
|
10537
|
-
function
|
|
10525
|
+
function qg({
|
|
10538
10526
|
json: e,
|
|
10539
10527
|
section: t
|
|
10540
10528
|
}) {
|
|
10541
10529
|
const { optionalProps: n, requiredProps: r } = ce(
|
|
10542
|
-
() =>
|
|
10530
|
+
() => Tg(e),
|
|
10543
10531
|
[e]
|
|
10544
10532
|
);
|
|
10545
10533
|
return /* @__PURE__ */ Y(Pe, { direction: "column", gap: 4, children: [
|
|
@@ -10556,8 +10544,8 @@ function Kg({
|
|
|
10556
10544
|
/* @__PURE__ */ R(Oi, { header: "Optional props", props: n })
|
|
10557
10545
|
] });
|
|
10558
10546
|
}
|
|
10559
|
-
const
|
|
10560
|
-
function
|
|
10547
|
+
const Lg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "m424-408-86-86q-11-11-28-11t-28 11q-11 11-11 28t11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28q-11-11-28-11t-28 11L424-408Zm56 328q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z" })), Ag = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z" }));
|
|
10548
|
+
function Yg({
|
|
10561
10549
|
checked: e,
|
|
10562
10550
|
children: t,
|
|
10563
10551
|
className: n,
|
|
@@ -10567,7 +10555,7 @@ function qg({
|
|
|
10567
10555
|
...l
|
|
10568
10556
|
}) {
|
|
10569
10557
|
let a, s;
|
|
10570
|
-
return e ? (a =
|
|
10558
|
+
return e ? (a = Lg, s = "fill-blue-600") : (a = Ag, s = "fill-slate-600"), /* @__PURE__ */ Y(
|
|
10571
10559
|
"label",
|
|
10572
10560
|
{
|
|
10573
10561
|
className: `cursor-pointer rounded-full flex flex-row items-center outline-none group ${n}`,
|
|
@@ -10596,7 +10584,7 @@ function qg({
|
|
|
10596
10584
|
}
|
|
10597
10585
|
);
|
|
10598
10586
|
}
|
|
10599
|
-
function
|
|
10587
|
+
function Xg({
|
|
10600
10588
|
className: e,
|
|
10601
10589
|
defaultValue: t,
|
|
10602
10590
|
onChange: n,
|
|
@@ -10645,7 +10633,7 @@ function Yg({
|
|
|
10645
10633
|
) })
|
|
10646
10634
|
] }) });
|
|
10647
10635
|
}
|
|
10648
|
-
function
|
|
10636
|
+
function Zg(e, t) {
|
|
10649
10637
|
switch (e) {
|
|
10650
10638
|
case "danger":
|
|
10651
10639
|
return t ? "bg-red-950 text-red-300 [&_svg]:text-red-500" : "bg-black/10 bg-border border-2 border-red-500 text-white [&_svg]:text-red-500 [&_a]:text-red-400!";
|
|
@@ -10660,32 +10648,32 @@ function Xg(e, t) {
|
|
|
10660
10648
|
}
|
|
10661
10649
|
}
|
|
10662
10650
|
export {
|
|
10663
|
-
|
|
10651
|
+
Hg as A,
|
|
10664
10652
|
Pe as B,
|
|
10665
10653
|
ml as C,
|
|
10666
10654
|
qn as D,
|
|
10667
10655
|
ja as E,
|
|
10668
10656
|
Ua as H,
|
|
10669
|
-
|
|
10657
|
+
Wg as I,
|
|
10670
10658
|
Gn as L,
|
|
10671
|
-
|
|
10672
|
-
|
|
10659
|
+
Gg as N,
|
|
10660
|
+
Yg as R,
|
|
10673
10661
|
Gc as S,
|
|
10674
10662
|
Va as T,
|
|
10675
|
-
|
|
10663
|
+
Vg as a,
|
|
10676
10664
|
Ph as b,
|
|
10677
|
-
|
|
10665
|
+
jg as c,
|
|
10678
10666
|
za as d,
|
|
10679
10667
|
_a as e,
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10668
|
+
zg as f,
|
|
10669
|
+
Ug as g,
|
|
10670
|
+
Kg as h,
|
|
10671
|
+
qg as i,
|
|
10684
10672
|
Oi as j,
|
|
10685
|
-
|
|
10673
|
+
Xg as k,
|
|
10686
10674
|
Kc as l,
|
|
10687
10675
|
fe as m,
|
|
10688
|
-
|
|
10676
|
+
Zg as n,
|
|
10689
10677
|
On as u
|
|
10690
10678
|
};
|
|
10691
|
-
//# sourceMappingURL=index-
|
|
10679
|
+
//# sourceMappingURL=index-VNirkA-O.js.map
|