@instantdb/components 0.22.89-experimental.drewh-allow-react-19.20279083263.1 → 0.22.89-experimental.drewh-require-app-and-admin.20279445710.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7,13 +7,13 @@ import He from "copy-to-clipboard";
7
7
  import { twMerge as pa } from "tailwind-merge";
8
8
  import * as le from "@radix-ui/react-select";
9
9
  import { ChevronDownIcon as Nt, ChevronRightIcon as ga, ArrowUturnLeftIcon as ha, ArrowPathIcon as fa, ClockIcon as ir, ArrowUpIcon as ma, ArrowDownIcon as ba, ArrowsUpDownIcon as wa, Cog6ToothIcon as va, XMarkIcon as lr, PencilSquareIcon as ya, ArrowUpOnSquareIcon as ka, TrashIcon as xa, ExclamationTriangleIcon as Sa, CheckIcon as Na, ChevronUpIcon as Ea, InformationCircleIcon as Ca } from "@heroicons/react/24/outline";
10
- import sr, { useMemo as se, useState as C, useEffect as H, useRef as X, useCallback as at, useSyncExternalStore as Ia, useLayoutEffect as vt, Component as dr, createContext as cr, useContext as lt, useId as ur, createElement as Aa, Fragment as Ra } from "react";
11
- import { createPortal as Ta } from "react-dom";
10
+ import sr, { useMemo as se, useState as C, useEffect as H, useRef as X, useCallback as at, useSyncExternalStore as Ia, useLayoutEffect as vt, Component as dr, createContext as cr, useContext as lt, useId as ur, createElement as Aa, Fragment as Ta } from "react";
11
+ import { createPortal as Ra } from "react-dom";
12
12
  import * as Ge from "@radix-ui/react-dialog";
13
13
  import { ArrowLeftIcon as Pt, PlusIcon as Oa, ArrowRightIcon as _a, Table as Da, FileDown as La, CurlyBraces as Fa, ArrowRightFromLine as $a, XIcon as za } from "lucide-react";
14
14
  import ja from "json5";
15
15
  import { Combobox as pr, ComboboxInput as gr, ComboboxOptions as hr, ComboboxOption as fr, useClose as We, Popover as Ma, PopoverButton as Ba, PopoverPanel as Ua } from "@headlessui/react";
16
- import * as Te from "@radix-ui/react-dropdown-menu";
16
+ import * as Re from "@radix-ui/react-dropdown-menu";
17
17
  import * as qt from "@radix-ui/react-toggle-group";
18
18
  import { ArrowLeftIcon as st, PencilSquareIcon as Pa, TrashIcon as nt, PlusIcon as mr, ArrowUturnLeftIcon as Ve, ArrowPathIcon as qa, InformationCircleIcon as Ga, Cog8ToothIcon as Ha, ChevronLeftIcon as Wa, Bars3Icon as Va, XMarkIcon as Ya, EyeSlashIcon as br, EyeIcon as wr, ClipboardDocumentIcon as Et, CheckCircleIcon as Ka } from "@heroicons/react/24/solid";
19
19
  import vr from "react-copy-to-clipboard";
@@ -399,11 +399,11 @@ function An({
399
399
  )
400
400
  ] });
401
401
  }
402
- const Rn = [
402
+ const Tn = [
403
403
  // Exclude computed fields
404
404
  ["$files", "url"]
405
405
  ], Kt = [":", ">", "<"];
406
- function Tn(e) {
406
+ function Rn(e) {
407
407
  let t = 0, a, n;
408
408
  const o = [];
409
409
  let i = -1;
@@ -442,7 +442,7 @@ function On({
442
442
  }) {
443
443
  if (!e.trim())
444
444
  return [];
445
- const n = Tn(e), o = n.flatMap(
445
+ const n = Rn(e), o = n.flatMap(
446
446
  (i) => {
447
447
  const l = t[i.field];
448
448
  if (!l || !i.value)
@@ -543,7 +543,7 @@ function Dn({
543
543
  }, 80),
544
544
  [l, g, i]
545
545
  ), p = n.indexOf(":") !== -1 ? vn(n.split(" ")) : n, f = (t || []).flatMap((s) => {
546
- const m = Rn.some(
546
+ const m = Tn.some(
547
547
  ([v, k]) => v === s.namespace && k === s.name
548
548
  );
549
549
  if (s.type === "ref" || m)
@@ -1131,7 +1131,7 @@ async function Kn({
1131
1131
  })
1132
1132
  })).json()).job;
1133
1133
  }
1134
- function Rr(e, t, a, n) {
1134
+ function Tr(e, t, a, n) {
1135
1135
  let o = !1, i = !1, l = 20, g = null;
1136
1136
  const c = (f) => {
1137
1137
  if (f !== g)
@@ -1215,7 +1215,7 @@ const Xn = ({
1215
1215
  }
1216
1216
  )).json();
1217
1217
  f((L) => ({ ...L, [k]: P.job })), c((L) => ({ ...L, [k]: void 0 })), b(!1);
1218
- const B = Rr(
1218
+ const B = Tr(
1219
1219
  t,
1220
1220
  P.job.id,
1221
1221
  l,
@@ -1474,7 +1474,7 @@ function Jn({
1474
1474
  })
1475
1475
  }
1476
1476
  ) : p.type === "delete" ? /* @__PURE__ */ r(
1477
- Tr,
1477
+ Rr,
1478
1478
  {
1479
1479
  name: t.name,
1480
1480
  type: "namespace",
@@ -1496,7 +1496,7 @@ function Jn({
1496
1496
  ) : null
1497
1497
  ] });
1498
1498
  }
1499
- function Tr({
1499
+ function Rr({
1500
1500
  name: e,
1501
1501
  type: t,
1502
1502
  onClose: a,
@@ -1548,7 +1548,7 @@ function eo({
1548
1548
  reverseAttrName: G,
1549
1549
  namespaceName: t.name,
1550
1550
  reverseNamespaceName: P?.name
1551
- }), T = v === "blob" ? L : S.isValidLink;
1551
+ }), R = v === "blob" ? L : S.isValidLink;
1552
1552
  H(() => {
1553
1553
  if (v !== "ref" || !P) return;
1554
1554
  const A = P.name === t.name;
@@ -1733,7 +1733,7 @@ function eo({
1733
1733
  label: "Create attribute",
1734
1734
  submitLabel: "Creating attribute...",
1735
1735
  errorMessage: "Failed to create attribute",
1736
- disabled: !T,
1736
+ disabled: !R,
1737
1737
  className: "border-gray-500 disabled:opacity-20",
1738
1738
  onClick: I
1739
1739
  }
@@ -2168,7 +2168,7 @@ async function ao({
2168
2168
  n
2169
2169
  );
2170
2170
  o(c);
2171
- const p = Rr(e, c.id, n, l);
2171
+ const p = Tr(e, c.id, n, l);
2172
2172
  i.current = p.stop;
2173
2173
  const f = await p.start((d, u) => {
2174
2174
  u && ie(`Error while marking ${g} as required.`), d && o(d);
@@ -2529,7 +2529,7 @@ function co({
2529
2529
  null
2530
2530
  ), Y = X(null), z = We();
2531
2531
  H(() => () => Y.current?.(), [Y]);
2532
- const j = s === "one-one" || s === "one-many", S = s === "one-one" || s === "many-one", T = _r({
2532
+ const j = s === "one-one" || s === "one-many", S = s === "one-one" || s === "many-one", R = _r({
2533
2533
  attrName: p,
2534
2534
  reverseAttrName: d,
2535
2535
  namespaceName: t.linkConfig.forward.namespace,
@@ -2593,7 +2593,7 @@ function co({
2593
2593
  }, 500), a();
2594
2594
  }
2595
2595
  return g.type === "delete" ? /* @__PURE__ */ r(
2596
- Tr,
2596
+ Rr,
2597
2597
  {
2598
2598
  onConfirm: D,
2599
2599
  onClose: a,
@@ -2703,7 +2703,7 @@ function co({
2703
2703
  /* @__PURE__ */ r(
2704
2704
  ve,
2705
2705
  {
2706
- disabled: n.attr.disabled || !T.isValidLink,
2706
+ disabled: n.attr.disabled || !R.isValidLink,
2707
2707
  type: "submit",
2708
2708
  label: "Update relationship",
2709
2709
  submitLabel: "Updating relationship...",
@@ -2712,7 +2712,7 @@ function co({
2712
2712
  title: n.attr.message
2713
2713
  }
2714
2714
  ),
2715
- T.shouldShowSelfLinkNameError ? /* @__PURE__ */ r("span", { className: "text-red-500", children: "Self-links must have different attribute names." }) : null
2715
+ R.shouldShowSelfLinkNameError ? /* @__PURE__ */ r("span", { className: "text-red-500", children: "Self-links must have different attribute names." }) : null
2716
2716
  ] })
2717
2717
  ] })
2718
2718
  ] });
@@ -3105,11 +3105,11 @@ function rr({
3105
3105
  for (const S of t.attrs)
3106
3106
  S.name !== "id" && (yo(t, S) && l.push(S), S.type === "ref" && g.push(S));
3107
3107
  const c = l.reduce(
3108
- (S, T) => {
3109
- const I = a[T.name], A = fo(T, I), D = o === "add" ? T.isRequired ? wt[A] : null : I;
3108
+ (S, R) => {
3109
+ const I = a[R.name], A = fo(R, I), D = o === "add" ? R.isRequired ? wt[A] : null : I;
3110
3110
  return {
3111
3111
  ...S,
3112
- [T.name]: {
3112
+ [R.name]: {
3113
3113
  type: A,
3114
3114
  value: D,
3115
3115
  error: null
@@ -3121,57 +3121,57 @@ function rr({
3121
3121
  ...c,
3122
3122
  ...o === "add" ? { id: { type: "string", value: Pe() } } : {}
3123
3123
  }), [d, u] = C({}), [s, m] = C({}), [b, w] = C(
3124
- l.reduce((S, T) => ({
3124
+ l.reduce((S, R) => ({
3125
3125
  ...S,
3126
- [T.name]: o === "edit" ? a[T.name] === null || a[T.name] === void 0 : p[T.name].value === null
3126
+ [R.name]: o === "edit" ? a[R.name] === null || a[R.name] === void 0 : p[R.name].value === null
3127
3127
  }), {})
3128
3128
  ), v = Object.values(p).some((S) => !!S.error), [k, x] = C(!1), _ = () => {
3129
3129
  u({}), f({ ...c }), w(
3130
- l.reduce((T, I) => ({
3131
- ...T,
3130
+ l.reduce((R, I) => ({
3131
+ ...R,
3132
3132
  [I.name]: o === "edit" ? a[I.name] === null || a[I.name] === void 0 : !1
3133
3133
  }), {})
3134
3134
  );
3135
3135
  const S = {};
3136
- l.forEach((T) => {
3137
- c[T.name]?.type === "json" && a[T.name] !== void 0 && (S[T.name] = a[T.name] === null ? "null" : JSON.stringify(a[T.name], null, 2));
3136
+ l.forEach((R) => {
3137
+ c[R.name]?.type === "json" && a[R.name] !== void 0 && (S[R.name] = a[R.name] === null ? "null" : JSON.stringify(a[R.name], null, 2));
3138
3138
  }), m(S), x(!1);
3139
- }, P = (S, T) => {
3139
+ }, P = (S, R) => {
3140
3140
  f((I) => {
3141
3141
  const A = I[S]?.value;
3142
3142
  return {
3143
3143
  ...I,
3144
- [S]: { type: T, value: er(A, T) }
3144
+ [S]: { type: R, value: er(A, R) }
3145
3145
  };
3146
3146
  });
3147
- }, B = (S, T, I) => {
3148
- const A = I ? I(T) : null;
3147
+ }, B = (S, R, I) => {
3148
+ const A = I ? I(R) : null;
3149
3149
  f((D) => {
3150
3150
  const F = D[S]?.type || "string";
3151
3151
  return {
3152
3152
  ...D,
3153
3153
  [S]: {
3154
3154
  type: F,
3155
- value: er(T, F),
3155
+ value: er(R, F),
3156
3156
  error: A
3157
3157
  }
3158
3158
  };
3159
3159
  });
3160
- }, L = (S, T) => {
3161
- m((I) => ({ ...I, [S]: T })), f((I) => {
3160
+ }, L = (S, R) => {
3161
+ m((I) => ({ ...I, [S]: R })), f((I) => {
3162
3162
  const A = I[S] || {};
3163
- return T === "" ? {
3163
+ return R === "" ? {
3164
3164
  ...I,
3165
3165
  [S]: { type: "json", value: void 0, error: "Invalid JSON" }
3166
3166
  } : {
3167
3167
  ...I,
3168
- [S]: go(T) ? { type: "json", value: JSON.parse(T), error: null } : { ...A, type: "json", error: "Invalid JSON" }
3168
+ [S]: go(R) ? { type: "json", value: JSON.parse(R), error: null } : { ...A, type: "json", error: "Invalid JSON" }
3169
3169
  };
3170
3170
  });
3171
- }, q = (S, T) => {
3172
- w((A) => ({ ...A, [S]: T }));
3171
+ }, q = (S, R) => {
3172
+ w((A) => ({ ...A, [S]: R }));
3173
3173
  const I = p[S]?.type || "string";
3174
- T ? (f((A) => ({
3174
+ R ? (f((A) => ({
3175
3175
  ...A,
3176
3176
  [S]: {
3177
3177
  type: I,
@@ -3188,25 +3188,25 @@ function rr({
3188
3188
  error: null
3189
3189
  }
3190
3190
  })), I === "json" && m((A) => ({ ...A, [S]: "{}" })));
3191
- }, G = (S, T) => {
3191
+ }, G = (S, R) => {
3192
3192
  u((I) => {
3193
- if (a[S.name]?.find((Q) => Q.id === T))
3193
+ if (a[S.name]?.find((Q) => Q.id === R))
3194
3194
  return {
3195
3195
  ...I,
3196
3196
  [S.name]: {
3197
3197
  ...I[S.name] || {},
3198
- [T]: { action: "unlink", item: null }
3198
+ [R]: { action: "unlink", item: null }
3199
3199
  }
3200
3200
  };
3201
- const { [T]: D, ...F } = I[S.name] || {};
3201
+ const { [R]: D, ...F } = I[S.name] || {};
3202
3202
  return {
3203
3203
  ...I,
3204
3204
  [S.name]: F
3205
3205
  };
3206
3206
  });
3207
- }, Y = (S, T) => {
3207
+ }, Y = (S, R) => {
3208
3208
  u((I) => {
3209
- const A = T.id, D = I[S.name]?.[A];
3209
+ const A = R.id, D = I[S.name]?.[A];
3210
3210
  if (D && D.action === "unlink") {
3211
3211
  if (S.cardinality === "one") {
3212
3212
  const { [S.name]: te, ...W } = I;
@@ -3223,7 +3223,7 @@ function rr({
3223
3223
  return {
3224
3224
  ...I,
3225
3225
  [S.name]: {
3226
- [A]: { action: "link", item: T },
3226
+ [A]: { action: "link", item: R },
3227
3227
  [F.id]: { action: "unlink", item: null }
3228
3228
  }
3229
3229
  };
@@ -3232,14 +3232,14 @@ function rr({
3232
3232
  ...I,
3233
3233
  [S.name]: {
3234
3234
  ...I[S.name] || {},
3235
- [A]: { action: "link", item: T }
3235
+ [A]: { action: "link", item: R }
3236
3236
  }
3237
3237
  };
3238
3238
  });
3239
3239
  }, z = (S) => {
3240
3240
  requestAnimationFrame(() => {
3241
- const T = document.querySelector(`[tabindex="${S}"]`);
3242
- T && T instanceof HTMLElement && T.focus();
3241
+ const R = document.querySelector(`[tabindex="${S}"]`);
3242
+ R && R instanceof HTMLElement && R.focus();
3243
3243
  });
3244
3244
  }, j = async () => {
3245
3245
  if (v) {
@@ -3248,10 +3248,10 @@ function rr({
3248
3248
  }
3249
3249
  const S = Object.fromEntries(
3250
3250
  Object.entries(p).map(([I, { value: A }]) => [I, A])
3251
- ), T = a.id || S.id || Pe();
3251
+ ), R = a.id || S.id || Pe();
3252
3252
  delete S.id;
3253
3253
  try {
3254
- let I = tn[t.name][T];
3254
+ let I = tn[t.name][R];
3255
3255
  const A = [], D = [];
3256
3256
  for (const [F, Q] of Object.entries(d))
3257
3257
  for (const [te, { action: W }] of Object.entries(Q))
@@ -3280,7 +3280,7 @@ function rr({
3280
3280
  ] }) : /* @__PURE__ */ r(M, { children: t.name }) }),
3281
3281
  /* @__PURE__ */ h("div", { className: "mt-4 flex flex-col gap-4", children: [
3282
3282
  o === "add" ? /* @__PURE__ */ h("div", { className: "flex flex-col gap-1", children: [
3283
- /* @__PURE__ */ r("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ r(Re, { className: "font-mono", children: /* @__PURE__ */ h("div", { className: "flex gap-1", children: [
3283
+ /* @__PURE__ */ r("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ r(Te, { className: "font-mono", children: /* @__PURE__ */ h("div", { className: "flex gap-1", children: [
3284
3284
  "id",
3285
3285
  " ",
3286
3286
  /* @__PURE__ */ r(
@@ -3305,14 +3305,14 @@ function rr({
3305
3305
  " ",
3306
3306
  p.id?.error && k && /* @__PURE__ */ r("span", { className: "text-sm font-medium text-red-500", children: p.id.error })
3307
3307
  ] }, "id") : null,
3308
- l.map((S, T) => {
3309
- const I = T + 1, { type: A, value: D, error: F } = p[S.name] || {
3308
+ l.map((S, R) => {
3309
+ const I = R + 1, { type: A, value: D, error: F } = p[S.name] || {
3310
3310
  type: "string",
3311
3311
  value: wt.string
3312
3312
  }, Q = s[S.name] || (D !== null ? JSON.stringify(D, null, 2) : "null"), te = b[S.name];
3313
3313
  return /* @__PURE__ */ h("div", { className: "flex flex-col gap-1", children: [
3314
3314
  /* @__PURE__ */ h("div", { className: "flex items-center justify-between", children: [
3315
- /* @__PURE__ */ r(Re, { className: "font-mono", children: S.name }),
3315
+ /* @__PURE__ */ r(Te, { className: "font-mono", children: S.name }),
3316
3316
  /* @__PURE__ */ h("div", { className: "flex items-center gap-2", children: [
3317
3317
  /* @__PURE__ */ r("div", { className: "flex items-center", children: !S.isRequired && /* @__PURE__ */ r(
3318
3318
  ee,
@@ -3407,11 +3407,11 @@ function rr({
3407
3407
  ] })
3408
3408
  ] }, S.name);
3409
3409
  }),
3410
- g.map((S, T) => {
3410
+ g.map((S, R) => {
3411
3411
  const I = S.isForward ? S.linkConfig.reverse.nsMap : S.linkConfig.forward.nsMap;
3412
3412
  return I ? /* @__PURE__ */ h("div", { className: "flex flex-col gap-1", children: [
3413
3413
  /* @__PURE__ */ h("div", { className: "flex items-center justify-between", children: [
3414
- /* @__PURE__ */ r(Re, { className: "font-mono", children: S.name }),
3414
+ /* @__PURE__ */ r(Te, { className: "font-mono", children: S.name }),
3415
3415
  /* @__PURE__ */ h("span", { className: "rounded-sm px-2 py-0.5 text-sm", children: [
3416
3416
  "Link to ",
3417
3417
  /* @__PURE__ */ r("code", { children: I.name })
@@ -3507,15 +3507,15 @@ const Eo = ({ db: e, namespaces: t }) => {
3507
3507
  (E) => E.id === i.namespace
3508
3508
  ), [g, c] = C(50), [p, f] = C([]), [d, u] = C(!1), [s, m] = C(""), [b, w] = C(!1), [v, k] = C(null), [x, _] = C(null), [P, B] = C(!1);
3509
3509
  X(null);
3510
- const L = X(null), [q, G] = C({}), Y = X(null), z = l?.name?.startsWith("$") ?? !1, j = l?.name ?? "", S = z && !["$users", "$files"].includes(j), T = q[j] || 0, I = i?.sortAttr || "serverCreatedAt", A = i?.sortAsc ?? !0, D = (E, N) => {
3511
- const R = ae.options.data.map((pe) => pe.id), $ = R.indexOf(E), U = R.indexOf(L.current), [K, J] = [
3510
+ const L = X(null), [q, G] = C({}), Y = X(null), z = l?.name?.startsWith("$") ?? !1, j = l?.name ?? "", S = z && !["$users", "$files"].includes(j), R = q[j] || 0, I = i?.sortAttr || "serverCreatedAt", A = i?.sortAsc ?? !0, D = (E, N) => {
3511
+ const T = ae.options.data.map((pe) => pe.id), $ = T.indexOf(E), U = T.indexOf(L.current), [K, J] = [
3512
3512
  Math.min($, U),
3513
3513
  Math.max($, U)
3514
3514
  ];
3515
3515
  Ce((pe) => {
3516
3516
  const ze = { ...pe };
3517
3517
  for (let Ae = K; Ae <= J; Ae++) {
3518
- const et = R[Ae];
3518
+ const et = T[Ae];
3519
3519
  N ? ze[et] = !0 : delete ze[et];
3520
3520
  }
3521
3521
  return ze;
@@ -3526,14 +3526,14 @@ const Eo = ({ db: e, namespaces: t }) => {
3526
3526
  i?.where,
3527
3527
  i?.filters || F,
3528
3528
  g,
3529
- T,
3529
+ R,
3530
3530
  I,
3531
3531
  A
3532
3532
  ), re = te.data?.[l?.name ?? ""] ?? ko;
3533
3533
  function ye(E, N) {
3534
- return E.filter((R) => N[R.id]);
3534
+ return E.filter((T) => N[T.id]);
3535
3535
  }
3536
- const ce = W ? Math.ceil(W / g) : 1, Z = T / g + 1, [ke, Kr] = Un("localDates", !1), Xr = async () => {
3536
+ const ce = W ? Math.ceil(W / g) : 1, Z = R / g + 1, [ke, Kr] = Un("localDates", !1), Xr = async () => {
3537
3537
  try {
3538
3538
  if (u(!0), p.length === 0)
3539
3539
  return;
@@ -3560,11 +3560,11 @@ const Eo = ({ db: e, namespaces: t }) => {
3560
3560
  }, Ut = (E, N = 200) => {
3561
3561
  if (!l)
3562
3562
  return;
3563
- const R = {};
3563
+ const T = {};
3564
3564
  l?.attrs.forEach(($) => {
3565
- R[$.id + $.name] = ae.getColumn($.id + $.name)?.getSize() || 0;
3565
+ T[$.id + $.name] = ae.getColumn($.id + $.name)?.getSize() || 0;
3566
3566
  }), ae.setColumnSizing({
3567
- ...R,
3567
+ ...T,
3568
3568
  [E]: N
3569
3569
  });
3570
3570
  }, De = se(() => {
@@ -3584,12 +3584,12 @@ const Eo = ({ db: e, namespaces: t }) => {
3584
3584
  pointerEvents: "auto"
3585
3585
  },
3586
3586
  checked: N.getIsAllRowsSelected(),
3587
- onChange: (R) => {
3588
- R ? (N.toggleAllRowsSelected(), re.length > 0 && (L.current = re[0].id)) : (Ce({}), L.current = null);
3587
+ onChange: (T) => {
3588
+ T ? (N.toggleAllRowsSelected(), re.length > 0 && (L.current = re[0].id)) : (Ce({}), L.current = null);
3589
3589
  }
3590
3590
  }
3591
3591
  ),
3592
- cell: ({ row: N, column: R }) => /* @__PURE__ */ h("div", { className: "flex h-1 justify-around gap-2", children: [
3592
+ cell: ({ row: N, column: T }) => /* @__PURE__ */ h("div", { className: "flex h-1 justify-around gap-2", children: [
3593
3593
  /* @__PURE__ */ r(
3594
3594
  ee,
3595
3595
  {
@@ -3618,7 +3618,7 @@ const Eo = ({ db: e, namespaces: t }) => {
3618
3618
  header: N.name,
3619
3619
  enableSorting: !0,
3620
3620
  enableResizing: !0,
3621
- accessorFn: (R) => R[N.name],
3621
+ accessorFn: (T) => T[N.name],
3622
3622
  meta: {
3623
3623
  sortable: N.sortable || N.name === "id",
3624
3624
  copyable: !0,
@@ -3626,11 +3626,11 @@ const Eo = ({ db: e, namespaces: t }) => {
3626
3626
  attr: N,
3627
3627
  disablePadding: N.namespace === "$files" && N.name === "url"
3628
3628
  },
3629
- cell: (R) => {
3630
- if (R.row.original[N.name] === null || R.row.original[N.name] === void 0)
3629
+ cell: (T) => {
3630
+ if (T.row.original[N.name] === null || T.row.original[N.name] === void 0)
3631
3631
  return /* @__PURE__ */ r("div", { className: "h-1", children: "-" });
3632
3632
  if (N.type === "ref") {
3633
- const $ = R.row.original[N.name].length;
3633
+ const $ = T.row.original[N.name].length;
3634
3634
  return /* @__PURE__ */ h(
3635
3635
  "div",
3636
3636
  {
@@ -3652,21 +3652,21 @@ const Eo = ({ db: e, namespaces: t }) => {
3652
3652
  "a",
3653
3653
  {
3654
3654
  className: "h-full w-full pl-2 align-middle text-xs font-bold underline hover:text-black dark:hover:text-white",
3655
- href: R.row.original.url,
3655
+ href: T.row.original.url,
3656
3656
  target: "_blank",
3657
3657
  children: "View File"
3658
3658
  }
3659
3659
  );
3660
3660
  if (N.name === "size")
3661
- return Pn(R.row.original[N.name]);
3661
+ return Pn(T.row.original[N.name]);
3662
3662
  }
3663
3663
  if (N.checkedDataType === "boolean")
3664
- return R.row.original[N.name] ? "true" : "false";
3664
+ return T.row.original[N.name] ? "true" : "false";
3665
3665
  if (N.checkedDataType === "date") {
3666
- const $ = Qa(R.row.original[N.name]);
3667
- return ke && $?.toLocaleString() || R.row.original[N.name];
3666
+ const $ = Qa(T.row.original[N.name]);
3667
+ return ke && $?.toLocaleString() || T.row.original[N.name];
3668
3668
  }
3669
- return Ne(R.row.original[N.name]) ? /* @__PURE__ */ r(Io, { data: R.row.original[N.name] }) : R.row.original[N.name];
3669
+ return Ne(T.row.original[N.name]) ? /* @__PURE__ */ r(Io, { data: T.row.original[N.name] }) : T.row.original[N.name];
3670
3670
  }
3671
3671
  });
3672
3672
  }), E;
@@ -3677,10 +3677,10 @@ const Eo = ({ db: e, namespaces: t }) => {
3677
3677
  [K]: J
3678
3678
  } : U,
3679
3679
  {}
3680
- ), N = _e.current?.clientWidth || -1, R = Object.values(E).reduce(
3680
+ ), N = _e.current?.clientWidth || -1, T = Object.values(E).reduce(
3681
3681
  (U, K) => U + K,
3682
3682
  0
3683
- ), $ = N - 52 - R;
3683
+ ), $ = N - 52 - T;
3684
3684
  if ($ > 0) {
3685
3685
  const U = Object.keys(E).length, K = $ / U;
3686
3686
  Object.keys(E).forEach((J) => {
@@ -3704,7 +3704,7 @@ const Eo = ({ db: e, namespaces: t }) => {
3704
3704
  Je(JSON.parse(E));
3705
3705
  else {
3706
3706
  const N = l.attrs.map(
3707
- (R) => R.id + R.name
3707
+ (T) => T.id + T.name
3708
3708
  );
3709
3709
  Je(["select-col", ...N]);
3710
3710
  }
@@ -3746,18 +3746,18 @@ const Eo = ({ db: e, namespaces: t }) => {
3746
3746
  $.key === "Shift" && ft(!0);
3747
3747
  }, N = ($) => {
3748
3748
  $.key === "Shift" && ft(!1);
3749
- }, R = () => {
3749
+ }, T = () => {
3750
3750
  ft(!1);
3751
3751
  };
3752
- return window.addEventListener("keydown", E), window.addEventListener("keyup", N), window.addEventListener("blur", R), () => {
3753
- window.removeEventListener("keydown", E), window.removeEventListener("keyup", N), window.removeEventListener("blur-sm", R);
3752
+ return window.addEventListener("keydown", E), window.addEventListener("keyup", N), window.addEventListener("blur", T), () => {
3753
+ window.removeEventListener("keydown", E), window.removeEventListener("keyup", N), window.removeEventListener("blur-sm", T);
3754
3754
  };
3755
3755
  }, []);
3756
3756
  const [aa, $e] = C(!1);
3757
3757
  function na(E) {
3758
- const { active: N, over: R } = E;
3759
- N && R && N.id !== R.id && N.id !== "select-col" && R.id !== "select-col" && Je(($) => {
3760
- const U = $.indexOf(N.id), K = $.indexOf(R.id);
3758
+ const { active: N, over: T } = E;
3759
+ N && T && N.id !== T.id && N.id !== "select-col" && T.id !== "select-col" && Je(($) => {
3760
+ const U = $.indexOf(N.id), K = $.indexOf(T.id);
3761
3761
  return fn($, U, K);
3762
3762
  });
3763
3763
  }
@@ -3782,11 +3782,11 @@ const Eo = ({ db: e, namespaces: t }) => {
3782
3782
  jt(da);
3783
3783
  };
3784
3784
  N(), E.addEventListener("scroll", N);
3785
- const R = new ResizeObserver(N);
3786
- R.observe(E);
3785
+ const T = new ResizeObserver(N);
3786
+ T.observe(E);
3787
3787
  const $ = E.firstElementChild;
3788
- return $ && R.observe($), window.addEventListener("resize", N), () => {
3789
- E.removeEventListener("scroll", N), R.disconnect(), window.removeEventListener("resize", N);
3788
+ return $ && T.observe($), window.addEventListener("resize", N), () => {
3789
+ E.removeEventListener("scroll", N), T.disconnect(), window.removeEventListener("resize", N);
3790
3790
  };
3791
3791
  }, [l, Lt]);
3792
3792
  const oa = an(
@@ -3811,10 +3811,10 @@ const Eo = ({ db: e, namespaces: t }) => {
3811
3811
  l?.attrs.forEach((U) => {
3812
3812
  N[U.id + U.name] = la(U.name);
3813
3813
  });
3814
- const R = Object.values(N).reduce(
3814
+ const T = Object.values(N).reduce(
3815
3815
  (U, K) => U + K,
3816
3816
  0
3817
- ), $ = E - 52 - R;
3817
+ ), $ = E - 52 - T;
3818
3818
  if ($ > 0) {
3819
3819
  const U = Object.keys(N).length, K = $ / U;
3820
3820
  Object.keys(N).forEach((J) => {
@@ -3870,7 +3870,7 @@ const Eo = ({ db: e, namespaces: t }) => {
3870
3870
  try {
3871
3871
  if (l.name === "$files") {
3872
3872
  const E = re.filter((N) => N.id in xe).map((N) => N.path);
3873
- await Ro(
3873
+ await To(
3874
3874
  o.adminToken,
3875
3875
  o.appId,
3876
3876
  E,
@@ -3989,14 +3989,14 @@ const Eo = ({ db: e, namespaces: t }) => {
3989
3989
  i?.filters?.length ? /* @__PURE__ */ r(
3990
3990
  "span",
3991
3991
  {
3992
- title: i.filters.map(([E, N, R]) => `${E} ${N} ${R}`).join(" || "),
3993
- children: i.filters.map(([E, N, R], $) => /* @__PURE__ */ h("span", { children: [
3992
+ title: i.filters.map(([E, N, T]) => `${E} ${N} ${T}`).join(" || "),
3993
+ children: i.filters.map(([E, N, T], $) => /* @__PURE__ */ h("span", { children: [
3994
3994
  /* @__PURE__ */ h("em", { className: "rounded-xs border bg-white px-1 dark:border-neutral-700 dark:bg-neutral-800 dark:text-white", children: [
3995
3995
  E,
3996
3996
  " ",
3997
3997
  N,
3998
3998
  " ",
3999
- R
3999
+ T
4000
4000
  ] }),
4001
4001
  i?.filters?.length && $ < i.filters.length - 1 ? " || " : null
4002
4002
  ] }, E))
@@ -4100,8 +4100,8 @@ const Eo = ({ db: e, namespaces: t }) => {
4100
4100
  onChange: (E) => {
4101
4101
  if (!E) return;
4102
4102
  const N = parseInt(E.value, 10);
4103
- c(N), n.push((R) => ({
4104
- ...R,
4103
+ c(N), n.push((T) => ({
4104
+ ...T,
4105
4105
  limit: N
4106
4106
  }));
4107
4107
  },
@@ -4131,7 +4131,7 @@ const Eo = ({ db: e, namespaces: t }) => {
4131
4131
  onClick: () => {
4132
4132
  G({
4133
4133
  ...q,
4134
- [l.name]: Math.max(0, T - g)
4134
+ [l.name]: Math.max(0, R - g)
4135
4135
  }), n.push((E) => ({
4136
4136
  ...E,
4137
4137
  page: Math.max(1, Z - 1)
@@ -4149,13 +4149,13 @@ const Eo = ({ db: e, namespaces: t }) => {
4149
4149
  }
4150
4150
  ),
4151
4151
  /* @__PURE__ */ r("div", { className: "flex items-center space-x-1 overflow-hidden", children: [...new Array(ce)].map((E, N) => {
4152
- const R = N + 1;
4153
- return ce > 6 && R !== 1 && R !== ce && R !== Z && R !== Z - 1 && R !== Z + 1 ? R === Z - 2 || R === Z + 2 ? /* @__PURE__ */ r("div", { children: "..." }, R) : null : /* @__PURE__ */ r(
4152
+ const T = N + 1;
4153
+ return ce > 6 && T !== 1 && T !== ce && T !== Z && T !== Z - 1 && T !== Z + 1 ? T === Z - 2 || T === Z + 2 ? /* @__PURE__ */ r("div", { children: "..." }, T) : null : /* @__PURE__ */ r(
4154
4154
  "button",
4155
4155
  {
4156
4156
  className: O(
4157
4157
  "rounded-md px-3 py-1 text-neutral-600 dark:text-neutral-300",
4158
- R === Z ? "bg-neutral-200 dark:bg-neutral-700" : "hover:bg-neutral-100 dark:hover:bg-neutral-800"
4158
+ T === Z ? "bg-neutral-200 dark:bg-neutral-700" : "hover:bg-neutral-100 dark:hover:bg-neutral-800"
4159
4159
  ),
4160
4160
  onClick: () => {
4161
4161
  G({
@@ -4163,13 +4163,13 @@ const Eo = ({ db: e, namespaces: t }) => {
4163
4163
  [l.name]: N * g
4164
4164
  }), n.push(($) => ({
4165
4165
  ...$,
4166
- page: R
4166
+ page: T
4167
4167
  }));
4168
4168
  },
4169
- disabled: R === Z,
4170
- children: R
4169
+ disabled: T === Z,
4170
+ children: T
4171
4171
  },
4172
- R
4172
+ T
4173
4173
  );
4174
4174
  }) }),
4175
4175
  /* @__PURE__ */ r(
@@ -4180,7 +4180,7 @@ const Eo = ({ db: e, namespaces: t }) => {
4180
4180
  onClick: () => {
4181
4181
  G({
4182
4182
  ...q,
4183
- [l.name]: T + g
4183
+ [l.name]: R + g
4184
4184
  }), n.push((E) => ({
4185
4185
  ...E,
4186
4186
  page: Math.min(ce, Z + 1)
@@ -4375,13 +4375,13 @@ const Eo = ({ db: e, namespaces: t }) => {
4375
4375
  {
4376
4376
  items: Le,
4377
4377
  strategy: Wt,
4378
- children: E.headers.map((N, R) => /* @__PURE__ */ r(
4378
+ children: E.headers.map((N, T) => /* @__PURE__ */ r(
4379
4379
  Hn,
4380
4380
  {
4381
4381
  header: N,
4382
4382
  table: ae,
4383
4383
  headerGroup: E,
4384
- index: R,
4384
+ index: T,
4385
4385
  setMinViableColWidth: Zr,
4386
4386
  onSort: ($, U, K) => {
4387
4387
  n.push((J) => ({
@@ -4457,7 +4457,7 @@ async function Ao(e, t, a, n, o) {
4457
4457
  body: a
4458
4458
  });
4459
4459
  }
4460
- async function Ro(e, t, a, n) {
4460
+ async function To(e, t, a, n) {
4461
4461
  const { data: o } = await Lr(
4462
4462
  `${n}/dash/apps/${t}/storage/files/delete`,
4463
4463
  {
@@ -4471,7 +4471,7 @@ async function Ro(e, t, a, n) {
4471
4471
  );
4472
4472
  return o;
4473
4473
  }
4474
- function To(e, t) {
4474
+ function Ro(e, t) {
4475
4475
  const a = (n) => {
4476
4476
  e.current && n.target instanceof HTMLElement && !e.current.contains(n.target) && t();
4477
4477
  };
@@ -4486,7 +4486,7 @@ const Oo = ({
4486
4486
  const a = de(), n = it(), o = it(), i = e.find(
4487
4487
  (f) => f.id === a.explorerState?.namespace
4488
4488
  ), [l, g] = C(!1), c = X(null);
4489
- To(c, () => {
4489
+ Ro(c, () => {
4490
4490
  g(!1);
4491
4491
  }), H(() => {
4492
4492
  !i && e.length > 0 && a.setExplorerState({ namespace: e[0].id });
@@ -4687,7 +4687,12 @@ const At = cr({ props: null, history: { push: () => {
4687
4687
  e,
4688
4688
  t,
4689
4689
  a
4690
- ), { explorerState: o, setExplorerState: i } = n, [l, g] = C([]), c = at(
4690
+ );
4691
+ if (!n.adminToken)
4692
+ throw new Error("adminToken is required for explorer");
4693
+ if (!n.appId)
4694
+ throw new Error("appId is required for explorer");
4695
+ const { explorerState: o, setExplorerState: i } = n, [l, g] = C([]), c = at(
4691
4696
  (w, v = !1) => {
4692
4697
  g((k) => !v && o ? [...k, o] : k), i(w);
4693
4698
  },
@@ -4725,16 +4730,16 @@ const At = cr({ props: null, history: { push: () => {
4725
4730
  [n, c, p, l]
4726
4731
  ), b = n.useShadowDOM ? Fo : sr.Fragment;
4727
4732
  return /* @__PURE__ */ r(At.Provider, { value: m, children: /* @__PURE__ */ r(b, { children: /* @__PURE__ */ r(Do, { children: /* @__PURE__ */ r(Oo, { db: f, namespaces: s.namespaces || [] }) }) }) });
4728
- }, Rt = cr({
4733
+ }, Tt = cr({
4729
4734
  shadowRoot: null,
4730
4735
  container: null,
4731
4736
  darkMode: !1
4732
4737
  });
4733
4738
  function ct() {
4734
- return lt(Rt).container;
4739
+ return lt(Tt).container;
4735
4740
  }
4736
4741
  function ut() {
4737
- return lt(Rt).darkMode;
4742
+ return lt(Tt).darkMode;
4738
4743
  }
4739
4744
  const Fo = ({ children: e }) => {
4740
4745
  const t = X(null), a = X(null), [n, o] = C(null), l = de().darkMode;
@@ -4760,7 +4765,7 @@ const Fo = ({ children: e }) => {
4760
4765
  }),
4761
4766
  [n, l]
4762
4767
  );
4763
- return /* @__PURE__ */ r("div", { ref: t, style: { height: "100%" }, className: O("h-full"), children: /* @__PURE__ */ r(Rt.Provider, { value: g, children: n ? Ta(e, n) : null }) });
4768
+ return /* @__PURE__ */ r("div", { ref: t, style: { height: "100%" }, className: O("h-full"), children: /* @__PURE__ */ r(Tt.Provider, { value: g, children: n ? Ra(e, n) : null }) });
4764
4769
  };
4765
4770
  function $o({
4766
4771
  ...e
@@ -5347,7 +5352,7 @@ var xt = function() {
5347
5352
  if (u.length > d.length)
5348
5353
  return;
5349
5354
  if (!(S instanceof o)) {
5350
- var T = 1, I;
5355
+ var R = 1, I;
5351
5356
  if (L) {
5352
5357
  if (I = i(Y, j, d, B), !I || I.index >= d.length)
5353
5358
  break;
@@ -5357,16 +5362,16 @@ var xt = function() {
5357
5362
  if (D -= z.value.length, j = D, z.value instanceof o)
5358
5363
  continue;
5359
5364
  for (var F = z; F !== u.tail && (D < A || typeof F.value == "string"); F = F.next)
5360
- T++, D += F.value.length;
5361
- T--, S = d.slice(j, D), I.index -= j;
5365
+ R++, D += F.value.length;
5366
+ R--, S = d.slice(j, D), I.index -= j;
5362
5367
  } else if (I = i(Y, 0, S, B), !I)
5363
5368
  continue;
5364
5369
  var Q = I.index, te = I[0], W = S.slice(0, Q), re = S.slice(Q + te.length), ye = j + S.length;
5365
5370
  w && ye > w.reach && (w.reach = ye);
5366
5371
  var ce = z.prev;
5367
- W && (ce = c(u, ce, W), j += W.length), p(u, ce, T);
5372
+ W && (ce = c(u, ce, W), j += W.length), p(u, ce, R);
5368
5373
  var Z = new o(v, P ? n.tokenize(te, P) : te, q, te);
5369
- if (z = c(u, ce, Z), re && c(u, z, re), T > 1) {
5374
+ if (z = c(u, ce, Z), re && c(u, z, re), R > 1) {
5370
5375
  var ke = {
5371
5376
  cause: v + "," + x,
5372
5377
  reach: ye
@@ -6869,8 +6874,8 @@ y.languages.sql = {
6869
6874
  ), j = z.indexOf(Y);
6870
6875
  if (j !== -1) {
6871
6876
  ++v;
6872
- var S = z.substring(0, j), T = p(k[Y]), I = z.substring(j + Y.length), A = [];
6873
- if (S && A.push(S), A.push(T), I) {
6877
+ var S = z.substring(0, j), R = p(k[Y]), I = z.substring(j + Y.length), A = [];
6878
+ if (S && A.push(S), A.push(R), I) {
6874
6879
  var D = [I];
6875
6880
  B(D), A.push.apply(A, D);
6876
6881
  }
@@ -8145,7 +8150,7 @@ const Qo = {
8145
8150
  style: { color: "#b4637a" }
8146
8151
  }
8147
8152
  ]
8148
- }, Jo = ue("div", "flex flex-col gap-2"), ei = ue("div", "flex flex-col gap-2 md:flex-row"), pt = ue("div", "prose dark:text-neutral-400"), ti = ue("div", "text-2xl font-bold"), ri = ue("div", "text-xl font-bold"), ai = ue("div", "text-lg"), ni = ue("div", "text-md font-bold"), oi = ue("div", "text-sm text-gray-400"), Re = ue(
8153
+ }, Jo = ue("div", "flex flex-col gap-2"), ei = ue("div", "flex flex-col gap-2 md:flex-row"), pt = ue("div", "prose dark:text-neutral-400"), ti = ue("div", "text-2xl font-bold"), ri = ue("div", "text-xl font-bold"), ai = ue("div", "text-lg"), ni = ue("div", "text-md font-bold"), oi = ue("div", "text-sm text-gray-400"), Te = ue(
8149
8154
  "div",
8150
8155
  "text-sm font-bold dark:text-neutral-400 text-gray-700"
8151
8156
  ), ii = ({ size: e = "mini" }) => /* @__PURE__ */ r("img", { src: "/img/icon/logo-512.svg", className: {
@@ -8235,7 +8240,7 @@ function Ee({
8235
8240
  return H(() => {
8236
8241
  a && b.current?.focus();
8237
8242
  }, []), /* @__PURE__ */ h("label", { className: "flex flex-col gap-1", children: [
8238
- l ? /* @__PURE__ */ r(Re, { children: l }) : null,
8243
+ l ? /* @__PURE__ */ r(Te, { children: l }) : null,
8239
8244
  /* @__PURE__ */ r(
8240
8245
  "input",
8241
8246
  {
@@ -8287,7 +8292,7 @@ function li({
8287
8292
  return H(() => {
8288
8293
  t && m.current?.focus();
8289
8294
  }, []), /* @__PURE__ */ h("label", { className: "flex flex-col gap-2", children: [
8290
- i ? /* @__PURE__ */ r(Re, { children: i }) : null,
8295
+ i ? /* @__PURE__ */ r(Te, { children: i }) : null,
8291
8296
  /* @__PURE__ */ r(
8292
8297
  "textarea",
8293
8298
  {
@@ -8672,7 +8677,7 @@ function ve({
8672
8677
  }
8673
8678
  );
8674
8679
  }
8675
- function Tt(e) {
8680
+ function Rt(e) {
8676
8681
  return e.length === 36 && e.indexOf("-") === 8 ? e.replaceAll(/[^-]/g, "*") : e.replaceAll(/./g, "*");
8677
8682
  }
8678
8683
  function ci({
@@ -8720,7 +8725,7 @@ function ci({
8720
8725
  const s = window.getSelection();
8721
8726
  (!s || s.toString().length === 0) && (window.navigator.clipboard.writeText(e), d(!0), setTimeout(() => d(!1), 1e3));
8722
8727
  },
8723
- children: o || g ? Tt(e) : e
8728
+ children: o || g ? Rt(e) : e
8724
8729
  }
8725
8730
  ) }),
8726
8731
  /* @__PURE__ */ r(Ze, { side: "bottom", children: "Copied!" })
@@ -8786,7 +8791,7 @@ function ui({
8786
8791
  const w = window.getSelection();
8787
8792
  (!w || w.toString().length === 0) && (window.navigator.clipboard.writeText(e), d(!0), setTimeout(() => d(!1), 1e3), g?.());
8788
8793
  },
8789
- children: o || c ? Tt(e) : e
8794
+ children: o || c ? Rt(e) : e
8790
8795
  }
8791
8796
  ) }),
8792
8797
  /* @__PURE__ */ r(Ze, { side: "bottom", children: "Copied!" })
@@ -9008,12 +9013,12 @@ function Ze({
9008
9013
  function qr({
9009
9014
  ...e
9010
9015
  }) {
9011
- return /* @__PURE__ */ r(Te.Root, { ...e });
9016
+ return /* @__PURE__ */ r(Re.Root, { ...e });
9012
9017
  }
9013
9018
  function Gr({
9014
9019
  ...e
9015
9020
  }) {
9016
- return /* @__PURE__ */ r(Te.Trigger, { ...e });
9021
+ return /* @__PURE__ */ r(Re.Trigger, { ...e });
9017
9022
  }
9018
9023
  function Hr({
9019
9024
  className: e,
@@ -9021,8 +9026,8 @@ function Hr({
9021
9026
  ...a
9022
9027
  }) {
9023
9028
  const n = ct(), o = ut();
9024
- return /* @__PURE__ */ r(Te.Portal, { container: n, children: /* @__PURE__ */ r(
9025
- Te.Content,
9029
+ return /* @__PURE__ */ r(Re.Portal, { container: n, children: /* @__PURE__ */ r(
9030
+ Re.Content,
9026
9031
  {
9027
9032
  sideOffset: t,
9028
9033
  className: O(
@@ -9039,7 +9044,7 @@ function Ue({
9039
9044
  ...t
9040
9045
  }) {
9041
9046
  return /* @__PURE__ */ r(
9042
- Te.Item,
9047
+ Re.Item,
9043
9048
  {
9044
9049
  className: O(
9045
9050
  "relative flex cursor-pointer items-center rounded-sm px-2 py-1.5 text-sm transition-colors outline-none select-none focus:bg-neutral-100 focus:text-neutral-900 data-disabled:pointer-events-none data-disabled:opacity-50 dark:focus:bg-neutral-700 dark:focus:text-neutral-50",
@@ -9054,7 +9059,7 @@ function Wr({
9054
9059
  ...t
9055
9060
  }) {
9056
9061
  return /* @__PURE__ */ r(
9057
- Te.Separator,
9062
+ Re.Separator,
9058
9063
  {
9059
9064
  className: O(
9060
9065
  "-mx-1 my-1 h-px bg-neutral-100 dark:bg-neutral-700",
@@ -9198,7 +9203,7 @@ function Dt({
9198
9203
  ]
9199
9204
  }
9200
9205
  ) }) : null,
9201
- /* @__PURE__ */ r("code", { children: f.map((u, s) => /* @__PURE__ */ h(Ra, { children: [
9206
+ /* @__PURE__ */ r("code", { children: f.map((u, s) => /* @__PURE__ */ h(Ta, { children: [
9202
9207
  u.filter((m) => !m.empty).map((m, b) => {
9203
9208
  const { key: w, ...v } = d({ token: m });
9204
9209
  return /* @__PURE__ */ r("span", { ...v }, w || b);
@@ -9266,7 +9271,7 @@ const Gi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9266
9271
  IconButton: gt,
9267
9272
  InfoTip: Ot,
9268
9273
  JSONEditor: hi,
9269
- Label: Re,
9274
+ Label: Te,
9270
9275
  LogoIcon: ii,
9271
9276
  ProgressButton: Ur,
9272
9277
  ScreenHeading: ti,
@@ -9286,7 +9291,7 @@ const Gi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9286
9291
  TooltipProvider: Pr,
9287
9292
  TooltipTrigger: Xe,
9288
9293
  cn: O,
9289
- redactedValue: Tt,
9294
+ redactedValue: Rt,
9290
9295
  toast: St,
9291
9296
  twel: ue,
9292
9297
  useDialog: it
@@ -9320,7 +9325,7 @@ export {
9320
9325
  gt as IconButton,
9321
9326
  Ot as InfoTip,
9322
9327
  hi as JSONEditor,
9323
- Re as Label,
9328
+ Te as Label,
9324
9329
  ii as LogoIcon,
9325
9330
  Ur as ProgressButton,
9326
9331
  ti as ScreenHeading,
@@ -9341,7 +9346,7 @@ export {
9341
9346
  Pr as TooltipProvider,
9342
9347
  Xe as TooltipTrigger,
9343
9348
  O as cn,
9344
- Tt as redactedValue,
9349
+ Rt as redactedValue,
9345
9350
  Yi as toast,
9346
9351
  ue as twel,
9347
9352
  Gi as ui,