@blocklet/list 0.16.17 → 0.16.19

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.
Files changed (2) hide show
  1. package/lib/index.es.js +154 -149
  2. package/package.json +4 -4
package/lib/index.es.js CHANGED
@@ -2,67 +2,67 @@ import { jsx as t, jsxs as h, Fragment as M } from "react/jsx-runtime";
2
2
  import { styled as X, useTheme as ye } from "@arcblock/ux/lib/Theme";
3
3
  import Je from "@mui/material/styles/createTheme";
4
4
  import et from "@mui/material/styles/ThemeProvider";
5
- import { omitBy as le, orderBy as tt, isEmpty as rt, merge as ot } from "lodash-es";
5
+ import { pick as tt, omitBy as le, orderBy as rt, isEmpty as ot, merge as nt } from "lodash-es";
6
6
  import { ErrorFallback as xe } from "@arcblock/ux/lib/ErrorBoundary";
7
7
  import x from "@mui/material/Box";
8
8
  import F from "@mui/material/Stack";
9
- import { ErrorBoundary as nt } from "react-error-boundary";
10
- import it from "@iconify-icons/tabler/compass";
9
+ import { ErrorBoundary as it } from "react-error-boundary";
10
+ import lt from "@iconify-icons/tabler/compass";
11
11
  import { Icon as K } from "@iconify/react";
12
12
  import we from "@mui/icons-material/Close";
13
13
  import b from "@mui/material/Typography";
14
- import { createContext as Le, useState as E, useMemo as j, useContext as Oe, useCallback as me, useEffect as H, forwardRef as lt, useRef as fe, memo as at } from "react";
14
+ import { createContext as Le, useState as E, useMemo as j, useContext as Oe, useCallback as me, useEffect as H, forwardRef as at, useRef as fe, memo as st } from "react";
15
15
  import { createAxios as _e } from "@blocklet/js-sdk";
16
- import { useRequest as re, useDebounceFn as Me, useInfiniteScroll as st, useReactive as ct } from "ahooks";
16
+ import { useRequest as re, useDebounceFn as Me, useInfiniteScroll as ct, useReactive as dt } from "ahooks";
17
17
  import "color";
18
- import { parseURL as dt, parseQuery as ut, parseFilename as ht, stringifyParsedURL as pt, withQuery as be, joinURL as Se } from "ufo";
18
+ import { parseURL as ut, parseQuery as ht, parseFilename as pt, stringifyParsedURL as mt, withQuery as be, joinURL as Se } from "ufo";
19
19
  import Ie from "flat";
20
20
  import oe from "@mui/material/Button";
21
- import mt from "@mui/material/styles/useTheme";
21
+ import ft from "@mui/material/styles/useTheme";
22
22
  import $ from "@mui/material/useMediaQuery";
23
- import ft from "@mui/material/Drawer";
23
+ import gt from "@mui/material/Drawer";
24
24
  import ze from "@mui/material/Checkbox";
25
- import Ne from "@mui/material/FormControlLabel";
26
- import gt from "@mui/icons-material/Check";
27
- import yt from "@mui/icons-material/KeyboardArrowDown";
28
- import xt from "@mui/material/ClickAwayListener";
29
- import wt from "@mui/material/Grow";
30
- import De from "@mui/material/MenuItem";
25
+ import De from "@mui/material/FormControlLabel";
26
+ import yt from "@mui/icons-material/Check";
27
+ import xt from "@mui/icons-material/KeyboardArrowDown";
28
+ import wt from "@mui/material/ClickAwayListener";
29
+ import bt from "@mui/material/Grow";
30
+ import Ne from "@mui/material/MenuItem";
31
31
  import We from "@mui/material/MenuList";
32
- import bt from "@mui/material/Paper";
33
- import kt from "@mui/material/Popper";
34
- import vt from "@mui/material/SvgIcon";
32
+ import kt from "@mui/material/Paper";
33
+ import vt from "@mui/material/Popper";
34
+ import Ct from "@mui/material/SvgIcon";
35
35
  import ne from "@mui/material/CircularProgress";
36
36
  import $e from "@arcblock/ux/lib/Avatar";
37
- import Ct from "@iconify-icons/tabler/cloud-download";
38
- import St from "@mui/icons-material/ChevronLeft";
39
- import It from "@mui/icons-material/ChevronRight";
37
+ import St from "@iconify-icons/tabler/cloud-download";
38
+ import It from "@mui/icons-material/ChevronLeft";
39
+ import Bt from "@mui/icons-material/ChevronRight";
40
40
  import O from "@mui/material/Skeleton";
41
- import Bt from "react-image-gallery";
41
+ import Rt from "react-image-gallery";
42
42
  import "react-image-gallery/styles/css/image-gallery.css";
43
43
  import Be from "@mui/material/Grid";
44
- import Rt from "react-infinite-scroll-hook";
45
- import Tt from "@iconify-icons/tabler/square";
46
- import Pt from "@iconify-icons/tabler/square-check-filled";
44
+ import Tt from "react-infinite-scroll-hook";
45
+ import Pt from "@iconify-icons/tabler/square";
46
+ import At from "@iconify-icons/tabler/square-check-filled";
47
47
  import Re from "@mui/material/Chip";
48
48
  import ee from "@mui/icons-material/Search";
49
- import At from "@mui/material/Autocomplete";
50
- import Et from "@mui/material/Dialog";
49
+ import Et from "@mui/material/Autocomplete";
50
+ import Ft from "@mui/material/Dialog";
51
51
  import je from "@mui/material/OutlinedInput";
52
- import Ft from "@mui/material/TextField";
53
- import { useHotkeys as Lt } from "react-hotkeys-hook";
52
+ import Lt from "@mui/material/TextField";
53
+ import { useHotkeys as Ot } from "react-hotkeys-hook";
54
54
  import Te from "@mui/material/InputAdornment";
55
- import Ot from "@arcblock/ux/lib/Empty";
56
- import _t from "json-stable-stringify";
57
- import Mt from "@mui/icons-material/Menu";
58
- import { Card as zt, Box as ae, Skeleton as L } from "@mui/material";
55
+ import _t from "@arcblock/ux/lib/Empty";
56
+ import Mt from "json-stable-stringify";
57
+ import zt from "@mui/icons-material/Menu";
58
+ import { Card as Dt, Box as ae, Skeleton as L } from "@mui/material";
59
59
  import Nt from "@arcblock/ux/lib/Img";
60
60
  const He = Le({
61
61
  open: !1,
62
62
  toggleOpen: (e) => {
63
63
  }
64
64
  });
65
- function Dt({ children: e }) {
65
+ function Wt({ children: e }) {
66
66
  const [r, o] = E(!1), n = (s) => {
67
67
  o(s ?? !s);
68
68
  }, l = j(() => ({ open: r, toggleOpen: n }), [r]);
@@ -85,15 +85,20 @@ const P = {
85
85
  explorePath: "/api/blocklets/explore",
86
86
  exploreDidsPath: "/api/blocklets/dids",
87
87
  cacheSize: 100
88
- }, Wt = (e) => re(
88
+ }, $t = (e) => re(
89
89
  async () => {
90
90
  const { data: r } = await e.get(P.categoriesPath);
91
91
  return Array.isArray(r) ? r : [];
92
92
  },
93
93
  { manual: !0 }
94
94
  );
95
- function $t(e, r) {
96
- const o = {
95
+ function jt(e, r) {
96
+ const o = e.menu ? {
97
+ sortBy: "popularity",
98
+ sortDirection: "desc",
99
+ showResources: "true",
100
+ ...tt(e, ["sortBy", "sortDirection", "showResources"])
101
+ } : {
97
102
  sortBy: "popularity",
98
103
  sortDirection: "desc",
99
104
  showResources: "true",
@@ -146,7 +151,7 @@ function $t(e, r) {
146
151
  }
147
152
  };
148
153
  }
149
- const jt = (e, r, o) => e && r || !o, Ue = (e) => [
154
+ const Ht = (e, r, o) => e && r || !o, Ue = (e) => [
150
155
  {
151
156
  name: e("sort.popularity"),
152
157
  value: "popularity"
@@ -161,9 +166,9 @@ const jt = (e, r, o) => e && r || !o, Ue = (e) => [
161
166
  // },
162
167
  ], Ve = (e, r, o) => {
163
168
  var d, y;
164
- const n = dt(e), l = ut(n.search);
165
- if ((d = ht(e, { strict: !0 })) == null ? void 0 : d.endsWith(".gif"))
166
- return l.imageFilter ? pt({ ...n, search: "" }) : e;
169
+ const n = ut(e), l = ht(n.search);
170
+ if ((d = pt(e, { strict: !0 })) == null ? void 0 : d.endsWith(".gif"))
171
+ return l.imageFilter ? mt({ ...n, search: "" }) : e;
167
172
  if (l.imageFilter)
168
173
  return e;
169
174
  const a = o || ((y = window.blocklet) == null ? void 0 : y.version), { w: i, h: u } = typeof r == "object" ? { w: r.w, h: r.h } : { w: r, h: r };
@@ -171,13 +176,13 @@ const jt = (e, r, o) => e && r || !o, Ue = (e) => [
171
176
  ...i || u ? { imageFilter: "resize", w: i, h: u } : {},
172
177
  v: a
173
178
  });
174
- }, Ht = (e) => [
179
+ }, Ut = (e) => [
175
180
  { name: e("blocklet.free"), value: "free" },
176
181
  { name: e("blocklet.payment"), value: "payment" }
177
- ], Ut = (e = [], r = "en") => e.map((o) => ({ name: o.locales[r] || o.locales.en, value: o._id })), Vt = (e, r) => (
182
+ ], Vt = (e = [], r = "en") => e.map((o) => ({ name: o.locales[r] || o.locales.en, value: o._id })), qt = (e, r) => (
178
183
  // eslint-disable-next-line no-prototype-builtins
179
184
  e == null ? void 0 : e.replace(/{(\w*)}/g, (o, n) => r.hasOwnProperty(n) ? r[n] : "")
180
- ), qt = () => window.innerWidth <= 600, Gt = {
185
+ ), Gt = () => window.innerWidth <= 600, Kt = {
181
186
  common: {
182
187
  title: "Blocklet Store",
183
188
  searchStore: "Search Blocklet",
@@ -228,7 +233,7 @@ const jt = (e, r, o) => e && r || !o, Ue = (e) => [
228
233
  autocomplete: {
229
234
  expandResult: 'View all search results for "{name}"'
230
235
  }
231
- }, Kt = {
236
+ }, Xt = {
232
237
  common: {
233
238
  title: "Blocklet 商店",
234
239
  searchStore: "搜索 Blocklet",
@@ -280,14 +285,14 @@ const jt = (e, r, o) => e && r || !o, Ue = (e) => [
280
285
  expandResult: "查看 “{name}” 的所有搜索结果"
281
286
  }
282
287
  }, se = {
283
- en: Ie(Gt),
284
- zh: Ie(Kt)
288
+ en: Ie(Kt),
289
+ zh: Ie(Xt)
285
290
  }, qe = (e, r) => {
286
291
  const o = {};
287
292
  return e && (o["x-blocklet-server-version"] = e), r && (o["x-blocklet-store-version"] = r), o;
288
- }, Xt = (e) => (r, o) => {
293
+ }, Qt = (e) => (r, o) => {
289
294
  const n = se[e] ? se[e][r] : se.en[r];
290
- return Vt(n, o) || r;
295
+ return qt(n, o) || r;
291
296
  }, Ge = {
292
297
  errors: {
293
298
  fetchCategoriesError: null
@@ -342,8 +347,8 @@ const jt = (e, r, o) => e && r || !o, Ue = (e) => [
342
347
  handlePage: () => {
343
348
  }
344
349
  }
345
- }, Ke = Le(Ge), { Provider: Qt, Consumer: To } = Ke;
346
- function Yt(e) {
350
+ }, Ke = Le(Ge), { Provider: Yt, Consumer: Po } = Ke;
351
+ function Zt(e) {
347
352
  const {
348
353
  locale: r = "zh",
349
354
  filters: o = {},
@@ -366,15 +371,15 @@ function Yt(e) {
366
371
  },
367
372
  endpoint: v,
368
373
  blockletRender: w
369
- } = e, A = qe(n, S), T = j(() => _e({ baseURL: v, headers: A }), [v]), z = $t(o, { onFilterChange: l, emptyCategory: !i.showExplore, onSearchSelect: p }), [U, N] = E(""), {
370
- data: D = [],
374
+ } = e, A = qe(n, S), T = j(() => _e({ baseURL: v, headers: A }), [v]), z = jt(o, { onFilterChange: l, emptyCategory: !i.showExplore, onSearchSelect: p }), [U, D] = E(""), {
375
+ data: N = [],
371
376
  error: Q,
372
377
  loading: ie,
373
378
  run: V
374
- } = Wt(T), q = j(() => {
375
- const I = tt(D, [(W) => W.name], ["asc"]), _ = I.findIndex((W) => W.name === "All" || W.locales.en === "All");
379
+ } = $t(T), q = j(() => {
380
+ const I = rt(N, [(W) => W.name], ["asc"]), _ = I.findIndex((W) => W.name === "All" || W.locales.en === "All");
376
381
  return _ > -1 ? [{ ...I[_], _id: "All" }, ...I.slice(0, _), ...I.slice(_ + 1)] : I;
377
- }, [D]), G = me(Xt(r), [r]), Y = j(() => Ut(q, r), [q, r]), c = Ht(G), C = {
382
+ }, [N]), G = me(Qt(r), [r]), Y = j(() => Vt(q, r), [q, r]), c = Ut(G), C = {
378
383
  search: z,
379
384
  errors: { fetchCategoriesError: Q },
380
385
  loadings: {
@@ -408,17 +413,17 @@ function Yt(e) {
408
413
  onFilterChange: l,
409
414
  getCategoryLocale: (I) => {
410
415
  if (!I) return null;
411
- const _ = D.find((W) => W._id === I || W.locales.en === "All");
416
+ const _ = N.find((W) => W._id === I || W.locales.en === "All");
412
417
  return _ ? _.locales[r] || _.locales.en : null;
413
418
  },
414
419
  get developerName() {
415
420
  return U;
416
421
  },
417
- updateDeveloperName: N
422
+ updateDeveloperName: D
418
423
  };
419
424
  return H(() => {
420
425
  setTimeout(V, m || 0);
421
- }, [v, V, m]), /* @__PURE__ */ t(Qt, { value: C, children: B });
426
+ }, [v, V, m]), /* @__PURE__ */ t(Yt, { value: C, children: B });
422
427
  }
423
428
  function R() {
424
429
  const e = Oe(Ke);
@@ -465,23 +470,23 @@ function ve({
465
470
  xl: l,
466
471
  exact: s
467
472
  }) {
468
- const a = mt(), i = $(a.breakpoints.down("sm")), u = $(a.breakpoints.between("sm", "md")), d = $(a.breakpoints.between("md", "lg")), y = $(a.breakpoints.between("lg", "xl"));
473
+ const a = ft(), i = $(a.breakpoints.down("sm")), u = $(a.breakpoints.between("sm", "md")), d = $(a.breakpoints.between("md", "lg")), y = $(a.breakpoints.between("lg", "xl"));
469
474
  if (s)
470
475
  return i ? e || null : u ? r || null : d ? o || null : y ? n || null : l || null;
471
476
  let m = e;
472
477
  return i || (m = Z(r, m), u) || (m = Z(o, m), d) || (m = Z(n, m), y) ? m : Z(l, m);
473
478
  }
474
- function Zt({ children: e }) {
479
+ function Jt({ children: e }) {
475
480
  const { open: r, toggleOpen: o } = ke();
476
481
  return /* @__PURE__ */ t(
477
482
  ve,
478
483
  {
479
- xs: /* @__PURE__ */ t(ft, { open: r, onClose: () => o(!1), children: e }),
484
+ xs: /* @__PURE__ */ t(gt, { open: r, onClose: () => o(!1), children: e }),
480
485
  md: /* @__PURE__ */ t(x, { children: e })
481
486
  }
482
487
  );
483
488
  }
484
- const Jt = lt(({ loading: e, disabled: r, ...o }, n) => /* @__PURE__ */ t(
489
+ const er = at(({ loading: e, disabled: r, ...o }, n) => /* @__PURE__ */ t(
485
490
  oe,
486
491
  {
487
492
  ref: n,
@@ -511,29 +516,29 @@ function Qe({ value: e, options: r, onChange: o, placeholder: n, ...l }) {
511
516
  }
512
517
  return /* @__PURE__ */ h(M, { children: [
513
518
  /* @__PURE__ */ h(
514
- er,
519
+ tr,
515
520
  {
516
521
  ref: s,
517
522
  onClick: k,
518
523
  variant: "outlined",
519
524
  size: "medium",
520
- className: ["my-select__selector", rt(d) ? "" : "my-select__selector--active"].join(" "),
525
+ className: ["my-select__selector", ot(d) ? "" : "my-select__selector--active"].join(" "),
521
526
  sx: { minWidth: "auto", color: "text.primary", borderRadius: "8px" },
522
527
  ...l,
523
528
  children: [
524
529
  ((S = r.find((p) => p.value === d)) == null ? void 0 : S.name) || n,
525
- /* @__PURE__ */ t(vt, { className: "my-select__arrowdown", component: yt, sx: { width: 18, height: 18 } })
530
+ /* @__PURE__ */ t(Ct, { className: "my-select__arrowdown", component: xt, sx: { width: 18, height: 18 } })
526
531
  ]
527
532
  }
528
533
  ),
529
- /* @__PURE__ */ t(kt, { open: i, anchorEl: s.current, transition: !0, sx: { zIndex: "9999" }, children: ({ TransitionProps: p, placement: v }) => /* @__PURE__ */ t(
530
- wt,
534
+ /* @__PURE__ */ t(vt, { open: i, anchorEl: s.current, transition: !0, sx: { zIndex: "9999" }, children: ({ TransitionProps: p, placement: v }) => /* @__PURE__ */ t(
535
+ bt,
531
536
  {
532
537
  ...p,
533
538
  style: { transformOrigin: v === "bottom" ? "center top" : "center bottom" },
534
- children: /* @__PURE__ */ t(bt, { children: /* @__PURE__ */ t(xt, { onClickAway: f, children: /* @__PURE__ */ t(tr, { autoFocusItem: i, onMouseEnter: k, onMouseLeave: f, children: r.map((w) => /* @__PURE__ */ h(De, { onClick: () => g(w), sx: { fontSize: 14 }, children: [
539
+ children: /* @__PURE__ */ t(kt, { children: /* @__PURE__ */ t(wt, { onClickAway: f, children: /* @__PURE__ */ t(rr, { autoFocusItem: i, onMouseEnter: k, onMouseLeave: f, children: r.map((w) => /* @__PURE__ */ h(Ne, { onClick: () => g(w), sx: { fontSize: 14 }, children: [
535
540
  /* @__PURE__ */ t(
536
- gt,
541
+ yt,
537
542
  {
538
543
  sx: { mr: 1, fontSize: 16, visibility: B(w.value) ? "visible" : "hidden" }
539
544
  }
@@ -544,7 +549,7 @@ function Qe({ value: e, options: r, onChange: o, placeholder: n, ...l }) {
544
549
  ) })
545
550
  ] });
546
551
  }
547
- const er = X(Jt)`
552
+ const tr = X(er)`
548
553
  border: 1px solid #f0f0f0;
549
554
  padding: 6px 8px 6px 12px;
550
555
  font-weight: ${(e) => e.theme.typography.fontWeightRegular};
@@ -572,7 +577,7 @@ const er = X(Jt)`
572
577
  margin-right: 3px;
573
578
  }
574
579
  }
575
- `, tr = X(We)`
580
+ `, rr = X(We)`
576
581
  .my-select__option__icon {
577
582
  color: transparent;
578
583
  font-size: 14px;
@@ -601,7 +606,7 @@ function Ye() {
601
606
  justifyContent: "space-between",
602
607
  children: [
603
608
  /* @__PURE__ */ t(
604
- Ne,
609
+ De,
605
610
  {
606
611
  control: /* @__PURE__ */ t(
607
612
  ze,
@@ -628,13 +633,13 @@ function Ye() {
628
633
  }
629
634
  );
630
635
  }
631
- function rr({ menus: e }) {
636
+ function or({ menus: e }) {
632
637
  const { selectedCategory: r, search: o, t: n, categoryOptions: l, loadings: s, layout: a, baseSearch: i } = R(), { filters: u, handleActiveMenu: d, handleCategory: y, cleanFilter: m } = o, { toggleOpen: f } = ke();
633
638
  H(() => {
634
639
  f(!1);
635
640
  }, [Object.values(u).join("")]);
636
- const k = jt(i, a.showSearch, u.keyword);
637
- return a.showCategory ? /* @__PURE__ */ h(Zt, { children: [
641
+ const k = Ht(i, a.showSearch, u.keyword);
642
+ return a.showCategory ? /* @__PURE__ */ h(Jt, { children: [
638
643
  /* @__PURE__ */ t(
639
644
  ve,
640
645
  {
@@ -669,7 +674,7 @@ function rr({ menus: e }) {
669
674
  children: k ? /* @__PURE__ */ h(M, { children: [
670
675
  a.showExplore && /* @__PURE__ */ h(x, { mb: 3, pb: 3, borderBottom: 1, borderColor: "divider", children: [
671
676
  /* @__PURE__ */ h(x, { display: "flex", alignItems: "center", gap: 1, children: [
672
- /* @__PURE__ */ t(K, { icon: it, width: 20, height: 20 }),
677
+ /* @__PURE__ */ t(K, { icon: lt, width: 20, height: 20 }),
673
678
  /* @__PURE__ */ t(
674
679
  b,
675
680
  {
@@ -739,7 +744,7 @@ function Ce() {
739
744
  }
740
745
  };
741
746
  }
742
- const Ze = at(function(r) {
747
+ const Ze = st(function(r) {
743
748
  return /* @__PURE__ */ t(x, { height: 60, display: "flex", alignItems: "center", justifyContent: "center", ...r, children: /* @__PURE__ */ t(ne, {}) });
744
749
  });
745
750
  function Pe({
@@ -762,8 +767,8 @@ function Pe({
762
767
  )
763
768
  ] });
764
769
  }
765
- const or = 16 / 9, ce = 292, ge = 189, te = 336;
766
- function nr() {
770
+ const nr = 16 / 9, ce = 292, ge = 189, te = 336;
771
+ function ir() {
767
772
  var B, S;
768
773
  const { t: e, search: r } = R(), { get: o } = Ce(), n = ye(), l = $(n.breakpoints.down("md")), s = ((S = (B = window.blocklet) == null ? void 0 : B.preferences) == null ? void 0 : S.homeBanner) || [], {
769
774
  data: a = [],
@@ -809,7 +814,7 @@ function nr() {
809
814
  /* @__PURE__ */ t(O, { variant: "rounded", height: 30, width: 100 })
810
815
  ] })
811
816
  ] }) : /* @__PURE__ */ t(
812
- Bt,
817
+ Rt,
813
818
  {
814
819
  showNav: !0,
815
820
  autoPlay: !0,
@@ -820,13 +825,13 @@ function nr() {
820
825
  showBullets: !1,
821
826
  showThumbnails: !1,
822
827
  showFullscreenButton: !1,
823
- renderLeftNav: (p) => /* @__PURE__ */ t(x, { onClick: p, sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(St, { sx: { ...d, left: 5 } }) }),
824
- renderRightNav: (p) => /* @__PURE__ */ t(x, { onClick: p, sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(It, { sx: { ...d, right: 5 } }) }),
828
+ renderLeftNav: (p) => /* @__PURE__ */ t(x, { onClick: p, sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(It, { sx: { ...d, left: 5 } }) }),
829
+ renderRightNav: (p) => /* @__PURE__ */ t(x, { onClick: p, sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ t(Bt, { sx: { ...d, right: 5 } }) }),
825
830
  items: s.map((p, v) => ({
826
831
  original: p.did,
827
832
  renderItem: () => {
828
833
  var z;
829
- const w = a[v] || {}, A = p.cover || lr(p.did, (z = w.screenshots) == null ? void 0 : z[0]), T = Ve(A, n.breakpoints.values.md * 2);
834
+ const w = a[v] || {}, A = p.cover || ar(p.did, (z = w.screenshots) == null ? void 0 : z[0]), T = Ve(A, n.breakpoints.values.md * 2);
830
835
  return /* @__PURE__ */ h(
831
836
  F,
832
837
  {
@@ -875,7 +880,7 @@ function nr() {
875
880
  )
876
881
  ] }) : null;
877
882
  function y(p) {
878
- return /* @__PURE__ */ t(x, { borderRadius: 2, overflow: "hidden", position: "relative", width: { xs: "100%", md: te }, children: /* @__PURE__ */ t(ar, { url: p }) });
883
+ return /* @__PURE__ */ t(x, { borderRadius: 2, overflow: "hidden", position: "relative", width: { xs: "100%", md: te }, children: /* @__PURE__ */ t(sr, { url: p }) });
879
884
  }
880
885
  function m(p) {
881
886
  return /* @__PURE__ */ t(b, { variant: "h2", width: "100%", children: p });
@@ -908,7 +913,7 @@ function nr() {
908
913
  const { did: w, owner: A, stats: T } = p;
909
914
  return /* @__PURE__ */ h(x, { display: "flex", alignItems: "center", gap: 2, color: "text.secondary", children: [
910
915
  /* @__PURE__ */ t(Pe, { icon: /* @__PURE__ */ t($e, { src: A.avatar, did: w, size: 20, variant: "circle" }), children: A.fullName }),
911
- /* @__PURE__ */ t(Pe, { icon: /* @__PURE__ */ t(K, { icon: Ct }), title: `${T.downloads + v}`, children: ir(T.downloads + v) })
916
+ /* @__PURE__ */ t(Pe, { icon: /* @__PURE__ */ t(K, { icon: St }), title: `${T.downloads + v}`, children: lr(T.downloads + v) })
912
917
  ] });
913
918
  }
914
919
  function g(p) {
@@ -931,8 +936,8 @@ function nr() {
931
936
  );
932
937
  }
933
938
  }
934
- const ir = (e) => Number.isNaN(e) ? 0 : e < 1e3 ? e : e < 1e6 ? `${(e / 1e3).toFixed(1)}k` : e < 1e9 ? `${(e / 1e6).toFixed(1)}m` : `${(e / 1e9).toFixed(1)}b`, lr = (e, r) => e && r ? `/assets/${e}/screenshots/${r}` : "";
935
- function ar({ url: e }) {
939
+ const lr = (e) => Number.isNaN(e) ? 0 : e < 1e3 ? e : e < 1e6 ? `${(e / 1e3).toFixed(1)}k` : e < 1e9 ? `${(e / 1e6).toFixed(1)}m` : `${(e / 1e9).toFixed(1)}b`, ar = (e, r) => e && r ? `/assets/${e}/screenshots/${r}` : "";
940
+ function sr({ url: e }) {
936
941
  const [r, o] = E(!0);
937
942
  return /* @__PURE__ */ h(M, { children: [
938
943
  r && /* @__PURE__ */ t(
@@ -957,21 +962,21 @@ function ar({ url: e }) {
957
962
  borderRadius: 2,
958
963
  border: 1,
959
964
  borderColor: "divider",
960
- sx: { objectFit: "container", cursor: "pointer", aspectRatio: or },
965
+ sx: { objectFit: "container", cursor: "pointer", aspectRatio: nr },
961
966
  onLoad: () => o(!1),
962
967
  onError: () => o(!1)
963
968
  }
964
969
  )
965
970
  ] });
966
971
  }
967
- function sr({ title: e, blocklets: r }) {
972
+ function cr({ title: e, blocklets: r }) {
968
973
  const { blockletRender: o, serverVersion: n } = R();
969
974
  return /* @__PURE__ */ h(x, { mt: 3, children: [
970
975
  /* @__PURE__ */ t(b, { component: "h3", variant: "h3", sx: { mb: 2 }, children: e }),
971
976
  /* @__PURE__ */ t(Be, { container: !0, spacing: 2, children: r.map((l) => /* @__PURE__ */ t(Be, { item: !0, xs: 12, md: 6, p: "2px", "data-blocklet-did": l.did, children: /* @__PURE__ */ t(x, { padding: "1px", children: o({ blocklet: l, blocklets: r, serverVersion: n }) }) }, l.did)) })
972
977
  ] });
973
978
  }
974
- function cr() {
979
+ function dr() {
975
980
  const { get: e } = Ce(), { t: r } = R(), {
976
981
  data: o = [],
977
982
  error: n,
@@ -981,17 +986,17 @@ function cr() {
981
986
  return Array.isArray(s) ? s : [];
982
987
  });
983
988
  return n ? /* @__PURE__ */ t(xe, { error: new Error(`Failed to fetch blocklets from ${P.explorePath}`) }) : l ? /* @__PURE__ */ t(Ze, { mt: 15 }) : /* @__PURE__ */ h(M, { children: [
984
- /* @__PURE__ */ t(nr, {}),
989
+ /* @__PURE__ */ t(ir, {}),
985
990
  o.map(
986
991
  (s) => {
987
992
  var a;
988
- return ((a = s.blocklets) == null ? void 0 : a.length) > 0 ? /* @__PURE__ */ t(sr, { title: r(`explore.${s.type}`), blocklets: s.blocklets }, s.type) : null;
993
+ return ((a = s.blocklets) == null ? void 0 : a.length) > 0 ? /* @__PURE__ */ t(cr, { title: r(`explore.${s.type}`), blocklets: s.blocklets }, s.type) : null;
989
994
  }
990
995
  )
991
996
  ] });
992
997
  }
993
998
  const de = "__FREE_TEXT__", Ae = "__NO_RESULT__", ue = 40;
994
- function dr({
999
+ function ur({
995
1000
  endpoint: e,
996
1001
  t: r,
997
1002
  locale: o,
@@ -1018,7 +1023,7 @@ function dr({
1018
1023
  );
1019
1024
  H(() => {
1020
1025
  p(!0), T(n.keyword), f(n.keyword || "");
1021
- }, [n.keyword, T]), Lt(
1026
+ }, [n.keyword, T]), Ot(
1022
1027
  "ctrl + k, command + k",
1023
1028
  (c) => {
1024
1029
  var C, I;
@@ -1027,9 +1032,9 @@ function dr({
1027
1032
  { enableOnTags: ["INPUT"] }
1028
1033
  );
1029
1034
  const z = Me((c) => T(c), { wait: 300 }), U = { name: de, title: m, did: "" };
1030
- let N = [];
1031
- return m && (S ? N = [U] : A != null && A.length ? N = [U, ...A] : N = [{ name: Ae, title: r("blocklet.noResults"), did: "" }]), /* @__PURE__ */ h(M, { children: [
1032
- /* @__PURE__ */ h(Et, { fullScreen: !0, open: k, sx: { display: { md: "none" } }, children: [
1035
+ let D = [];
1036
+ return m && (S ? D = [U] : A != null && A.length ? D = [U, ...A] : D = [{ name: Ae, title: r("blocklet.noResults"), did: "" }]), /* @__PURE__ */ h(M, { children: [
1037
+ /* @__PURE__ */ h(Ft, { fullScreen: !0, open: k, sx: { display: { md: "none" } }, children: [
1033
1038
  /* @__PURE__ */ h(x, { p: 2, pb: 0, display: "flex", alignItems: "center", gap: 2, children: [
1034
1039
  /* @__PURE__ */ t(
1035
1040
  je,
@@ -1053,7 +1058,7 @@ function dr({
1053
1058
  placeholder: v,
1054
1059
  className: "bl-autocomplete-input",
1055
1060
  value: m,
1056
- onChange: (c) => D(c.target.value),
1061
+ onChange: (c) => N(c.target.value),
1057
1062
  startAdornment: G(k),
1058
1063
  endAdornment: Y()
1059
1064
  }
@@ -1069,7 +1074,7 @@ function dr({
1069
1074
  }
1070
1075
  )
1071
1076
  ] }),
1072
- /* @__PURE__ */ t(We, { sx: { p: 0.5 }, children: N.map((c) => V(c)) })
1077
+ /* @__PURE__ */ t(We, { sx: { p: 0.5 }, children: D.map((c) => V(c)) })
1073
1078
  ] }),
1074
1079
  /* @__PURE__ */ t(
1075
1080
  ee,
@@ -1079,7 +1084,7 @@ function dr({
1079
1084
  }
1080
1085
  ),
1081
1086
  /* @__PURE__ */ t(
1082
- At,
1087
+ Et,
1083
1088
  {
1084
1089
  ref: i,
1085
1090
  open: !!m && d,
@@ -1093,7 +1098,7 @@ function dr({
1093
1098
  },
1094
1099
  disableClearable: !0,
1095
1100
  inputValue: m,
1096
- onInputChange: (c, C) => D(C),
1101
+ onInputChange: (c, C) => N(C),
1097
1102
  isOptionEqualToValue: (c, C) => c.name === C.name,
1098
1103
  getOptionLabel: (c) => c.title,
1099
1104
  getOptionKey: (c) => c.name,
@@ -1111,7 +1116,7 @@ function dr({
1111
1116
  }
1112
1117
  },
1113
1118
  renderInput: (c) => /* @__PURE__ */ t(
1114
- Ft,
1119
+ Lt,
1115
1120
  {
1116
1121
  ...c,
1117
1122
  InputProps: {
@@ -1127,7 +1132,7 @@ function dr({
1127
1132
  ),
1128
1133
  filterOptions: (c) => c,
1129
1134
  ...a,
1130
- options: N,
1135
+ options: D,
1131
1136
  renderOption: (c, C) => V(C),
1132
1137
  value: U,
1133
1138
  sx: [
@@ -1149,11 +1154,11 @@ function dr({
1149
1154
  }
1150
1155
  )
1151
1156
  ] });
1152
- function D(c) {
1157
+ function N(c) {
1153
1158
  p(!0), f(c), u.current = !1, z.run(c);
1154
1159
  }
1155
1160
  function Q() {
1156
- g(!1), f(""), D(""), l("");
1161
+ g(!1), f(""), N(""), l("");
1157
1162
  }
1158
1163
  function ie(c) {
1159
1164
  c != null && c.did ? (g(!1), u.current = !0, f(""), s(c)) : c.name === de && (g(!1), l(m));
@@ -1161,7 +1166,7 @@ function dr({
1161
1166
  function V(c) {
1162
1167
  var C, I;
1163
1168
  return /* @__PURE__ */ h(
1164
- De,
1169
+ Ne,
1165
1170
  {
1166
1171
  sx: { display: "flex", alignItems: "center", gap: 1, p: 1.5, borderRadius: "8px" },
1167
1172
  onClick: () => ie(c),
@@ -1202,7 +1207,7 @@ function dr({
1202
1207
  return m ? /* @__PURE__ */ t(x, { sx: { display: "flex", alignItems: "center", color: "text.lighter" }, children: /* @__PURE__ */ t(we, { sx: { fontSize: 20, cursor: "pointer" }, onClick: () => Q() }) }) : null;
1203
1208
  }
1204
1209
  }
1205
- function ur({ placeholder: e = "Type to search...", ...r }) {
1210
+ function hr({ placeholder: e = "Type to search...", ...r }) {
1206
1211
  const { search: o } = R(), { filters: n, handleKeyword: l } = o, [s, a] = E(n.keyword || ""), i = Me(l, { wait: 300 }), u = (y) => {
1207
1212
  const { value: m } = y.target;
1208
1213
  a(m), i.run(m);
@@ -1212,23 +1217,23 @@ function ur({ placeholder: e = "Type to search...", ...r }) {
1212
1217
  return H(() => {
1213
1218
  a(n.keyword || "");
1214
1219
  }, [n.keyword]), /* @__PURE__ */ t(
1215
- hr,
1220
+ pr,
1216
1221
  {
1217
1222
  inputProps: {
1218
1223
  "data-cy": "search-blocklet"
1219
1224
  },
1220
- startAdornment: /* @__PURE__ */ t(Te, { position: "start", children: /* @__PURE__ */ t(pr, {}) }),
1225
+ startAdornment: /* @__PURE__ */ t(Te, { position: "start", children: /* @__PURE__ */ t(mr, {}) }),
1221
1226
  onChange: u,
1222
1227
  placeholder: e,
1223
1228
  value: s,
1224
1229
  title: e,
1225
1230
  "data-cy": "search",
1226
- endAdornment: s && /* @__PURE__ */ t(Te, { position: "end", children: /* @__PURE__ */ t(mr, { "data-cy": "search-delete", onClick: d }) }),
1231
+ endAdornment: s && /* @__PURE__ */ t(Te, { position: "end", children: /* @__PURE__ */ t(fr, { "data-cy": "search-delete", onClick: d }) }),
1227
1232
  ...r
1228
1233
  }
1229
1234
  );
1230
1235
  }
1231
- const hr = X(je)`
1236
+ const pr = X(je)`
1232
1237
  background-color: ${(e) => e.theme.palette.grey[50]};
1233
1238
  font-size: 14px;
1234
1239
  border-radius: 6px;
@@ -1245,18 +1250,18 @@ const hr = X(je)`
1245
1250
  color: transparent;
1246
1251
  }
1247
1252
  }
1248
- `, pr = X(ee)`
1253
+ `, mr = X(ee)`
1249
1254
  color: ${(e) => e.theme.palette.grey[500]};
1250
1255
  font-size: 28px;
1251
1256
  @media (max-width: ${(e) => e.theme.breakpoints.values.md}px) {
1252
1257
  font-size: 24px;
1253
1258
  }
1254
- `, mr = X(we)`
1259
+ `, fr = X(we)`
1255
1260
  color: ${(e) => e.theme.palette.grey[500]};
1256
1261
  font-size: 16px;
1257
1262
  cursor: pointer;
1258
1263
  `;
1259
- function fr() {
1264
+ function gr() {
1260
1265
  const { search: e, t: r, endpoint: o, locale: n, getCategoryLocale: l, developerName: s, showResourcesSwitch: a, layout: i, baseSearch: u } = R(), { filters: d, handleSort: y, handlePrice: m, handleDeveloper: f, handleSwitchShowResources: k, cleanFilter: g } = e, B = Ue(r);
1261
1266
  return /* @__PURE__ */ h(
1262
1267
  F,
@@ -1282,8 +1287,8 @@ function fr() {
1282
1287
  justifyContent: { xs: "space-between", md: "flex-end" },
1283
1288
  gap: 2,
1284
1289
  children: [
1285
- i.showSearch ? /* @__PURE__ */ t(x, { flex: 1, children: u ? /* @__PURE__ */ t(ur, {}) : /* @__PURE__ */ t(
1286
- dr,
1290
+ i.showSearch ? /* @__PURE__ */ t(x, { flex: 1, children: u ? /* @__PURE__ */ t(hr, {}) : /* @__PURE__ */ t(
1291
+ ur,
1287
1292
  {
1288
1293
  locale: n,
1289
1294
  endpoint: o,
@@ -1353,7 +1358,7 @@ function Ee({
1353
1358
  label: o
1354
1359
  }) {
1355
1360
  return /* @__PURE__ */ t(
1356
- Ne,
1361
+ De,
1357
1362
  {
1358
1363
  sx: { m: 0, p: 0 },
1359
1364
  className: "check-button",
@@ -1361,8 +1366,8 @@ function Ee({
1361
1366
  ze,
1362
1367
  {
1363
1368
  checked: e,
1364
- icon: /* @__PURE__ */ t(K, { style: { padding: 0 }, icon: Tt }),
1365
- checkedIcon: /* @__PURE__ */ t(K, { style: { padding: 0, color: "#3478E2" }, icon: Pt }),
1369
+ icon: /* @__PURE__ */ t(K, { style: { padding: 0 }, icon: Pt }),
1370
+ checkedIcon: /* @__PURE__ */ t(K, { style: { padding: 0, color: "#3478E2" }, icon: At }),
1366
1371
  size: "large",
1367
1372
  sx: { p: 0, mr: 1 },
1368
1373
  onChange: (n) => r(n.target.checked)
@@ -1374,7 +1379,7 @@ function Ee({
1374
1379
  }
1375
1380
  function J({ children: e }) {
1376
1381
  return /* @__PURE__ */ h(x, { display: "flex", mt: 2, flexDirection: "column", alignItems: "center", justifyContent: "center", color: "text.lighter", children: [
1377
- /* @__PURE__ */ t(Ot, {}),
1382
+ /* @__PURE__ */ t(_t, {}),
1378
1383
  e
1379
1384
  ] });
1380
1385
  }
@@ -1405,7 +1410,7 @@ function pe({
1405
1410
  ] })
1406
1411
  ] });
1407
1412
  }
1408
- function gr() {
1413
+ function yr() {
1409
1414
  const { t: e, search: r, getCategoryLocale: o, selectedCategory: n } = R(), { filters: l } = r, s = !!n || !!l.price;
1410
1415
  if (l.keyword && s)
1411
1416
  return /* @__PURE__ */ h(J, { children: [
@@ -1447,7 +1452,7 @@ function gr() {
1447
1452
  }
1448
1453
  return /* @__PURE__ */ t(J, { children: /* @__PURE__ */ t(Fe, {}) });
1449
1454
  }
1450
- const yr = (e, r, o, n) => st(
1455
+ const xr = (e, r, o, n) => ct(
1451
1456
  async (l) => {
1452
1457
  l || (o.currentPage = o.defaultCurrentPage);
1453
1458
  const { currentPage: s, pageSize: a } = o, i = {
@@ -1463,17 +1468,17 @@ const yr = (e, r, o, n) => st(
1463
1468
  },
1464
1469
  {
1465
1470
  isNoMore: (l) => l ? l.page * l.pageSize >= l.total : !1,
1466
- reloadDeps: [e, _t(r)],
1471
+ reloadDeps: [e, Mt(r)],
1467
1472
  onError: n
1468
1473
  }
1469
1474
  );
1470
- function xr() {
1475
+ function wr() {
1471
1476
  var m;
1472
- const { storeApi: e, search: r, extraFilter: o, errors: n, updateDeveloperName: l } = R(), { filters: s } = r, a = ct({
1477
+ const { storeApi: e, search: r, extraFilter: o, errors: n, updateDeveloperName: l } = R(), { filters: s } = r, a = dt({
1473
1478
  currentPage: P.currentPage,
1474
- pageSize: qt() ? P.mobilePageSize : P.pageSize,
1479
+ pageSize: Gt() ? P.mobilePageSize : P.pageSize,
1475
1480
  defaultCurrentPage: P.defaultCurrentPage
1476
- }), [i, u] = E(null), d = yr(e, s, a, u), y = j(
1481
+ }), [i, u] = E(null), d = xr(e, s, a, u), y = j(
1477
1482
  () => {
1478
1483
  var f, k;
1479
1484
  return o ? o(((f = d.data) == null ? void 0 : f.list) || []) : ((k = d.data) == null ? void 0 : k.list) || [];
@@ -1499,8 +1504,8 @@ function xr() {
1499
1504
  }
1500
1505
  };
1501
1506
  }
1502
- function wr() {
1503
- const { t: e, search: r, endpoint: o, blockletRender: n, serverVersion: l, minItemWidth: s, layout: a, baseSearch: i } = R(), { filters: u } = r, { blocklets: d, errors: y, loadMore: m, loadings: f, hasNextPage: k, total: g } = xr(), [B] = Rt({
1507
+ function br() {
1508
+ const { t: e, search: r, endpoint: o, blockletRender: n, serverVersion: l, minItemWidth: s, layout: a, baseSearch: i } = R(), { filters: u } = r, { blocklets: d, errors: y, loadMore: m, loadings: f, hasNextPage: k, total: g } = wr(), [B] = Tt({
1504
1509
  loading: f.fetchBlockletsLoading || f.loadingMore,
1505
1510
  hasNextPage: k,
1506
1511
  onLoadMore: m
@@ -1511,7 +1516,7 @@ function wr() {
1511
1516
  }
1512
1517
  const S = i && a.showSearch || !u.keyword;
1513
1518
  return /* @__PURE__ */ h(M, { children: [
1514
- S ? /* @__PURE__ */ t(fr, {}) : /* @__PURE__ */ h(M, { children: [
1519
+ S ? /* @__PURE__ */ t(gr, {}) : /* @__PURE__ */ h(M, { children: [
1515
1520
  /* @__PURE__ */ t(ve, { xs: /* @__PURE__ */ t(Ye, {}), md: null }),
1516
1521
  v()
1517
1522
  ] }),
@@ -1529,7 +1534,7 @@ function wr() {
1529
1534
  gap: 2,
1530
1535
  children: d.map((w) => /* @__PURE__ */ t(x, { "data-blocklet-did": w.did, sx: { minWidth: s }, children: n({ blocklet: w, blocklets: d, serverVersion: l }) }, w.did))
1531
1536
  }
1532
- ) : /* @__PURE__ */ t(gr, {});
1537
+ ) : /* @__PURE__ */ t(yr, {});
1533
1538
  }
1534
1539
  function v() {
1535
1540
  return /* @__PURE__ */ h(
@@ -1549,7 +1554,7 @@ function wr() {
1549
1554
  );
1550
1555
  }
1551
1556
  }
1552
- function br() {
1557
+ function kr() {
1553
1558
  const { t: e, selectedCategory: r, getCategoryLocale: o } = R(), { toggleOpen: n } = ke();
1554
1559
  return /* @__PURE__ */ h(
1555
1560
  b,
@@ -1561,28 +1566,28 @@ function br() {
1561
1566
  py: 2,
1562
1567
  fontWeight: "fontWeightMedium",
1563
1568
  children: [
1564
- /* @__PURE__ */ t(Xe, { onClick: () => n(!0), children: /* @__PURE__ */ t(Mt, {}) }),
1569
+ /* @__PURE__ */ t(Xe, { onClick: () => n(!0), children: /* @__PURE__ */ t(zt, {}) }),
1565
1570
  o(r) || e("common.category")
1566
1571
  ]
1567
1572
  }
1568
1573
  );
1569
1574
  }
1570
- function kr({ menus: e, children: r }) {
1575
+ function vr({ menus: e, children: r }) {
1571
1576
  var i;
1572
1577
  const { search: o, layout: n } = R(), { filters: l } = o, s = l.category || l.keyword || l.price, a = (i = e == null ? void 0 : e.find((u) => u.key === l.menu)) == null ? void 0 : i.key;
1573
- return /* @__PURE__ */ t(Dt, { children: /* @__PURE__ */ h(nt, { FallbackComponent: xe, children: [
1574
- /* @__PURE__ */ t(br, {}),
1578
+ return /* @__PURE__ */ t(Wt, { children: /* @__PURE__ */ h(it, { FallbackComponent: xe, children: [
1579
+ /* @__PURE__ */ t(kr, {}),
1575
1580
  /* @__PURE__ */ h(x, { display: "flex", height: "100%", className: "list-container", pt: { xs: 0, md: 5 }, children: [
1576
- /* @__PURE__ */ t(rr, { menus: e }),
1581
+ /* @__PURE__ */ t(or, { menus: e }),
1577
1582
  /* @__PURE__ */ h(F, { height: "100%", position: "relative", flex: 1, overflow: "visible", children: [
1578
1583
  a && (r == null ? void 0 : r(a)),
1579
- !a && (n.showExplore && !s ? /* @__PURE__ */ t(cr, {}) : /* @__PURE__ */ t(wr, {}))
1584
+ !a && (n.showExplore && !s ? /* @__PURE__ */ t(dr, {}) : /* @__PURE__ */ t(br, {}))
1580
1585
  ] })
1581
1586
  ] })
1582
1587
  ] }) });
1583
1588
  }
1584
- function Po(e) {
1585
- return /* @__PURE__ */ h(zt, { variant: "outlined", ...e, sx: { maxWidth: 400, borderRadius: "8px", p: { xs: 2, md: 3 }, ...e.sx }, children: [
1589
+ function Ao(e) {
1590
+ return /* @__PURE__ */ h(Dt, { variant: "outlined", ...e, sx: { maxWidth: 400, borderRadius: "8px", p: { xs: 2, md: 3 }, ...e.sx }, children: [
1586
1591
  /* @__PURE__ */ h(ae, { display: "flex", alignItems: "center", gap: 2, pb: 1, children: [
1587
1592
  /* @__PURE__ */ h(ae, { display: "flex", alignItems: "center", gap: 2, flex: 1, children: [
1588
1593
  /* @__PURE__ */ t(L, { variant: "rounded", width: 48, height: 48 }),
@@ -1600,12 +1605,12 @@ function Po(e) {
1600
1605
  ] })
1601
1606
  ] });
1602
1607
  }
1603
- function Ao({ showSkeleton: e, ...r }) {
1608
+ function Eo({ showSkeleton: e, ...r }) {
1604
1609
  return e ? /* @__PURE__ */ t(O, { variant: "rectangular", width: r.width, height: r.height }) : /* @__PURE__ */ t(Nt, { ...r });
1605
1610
  }
1606
- function Eo(e) {
1611
+ function Fo(e) {
1607
1612
  const { menus: r, children: o, ...n } = e, l = ye(), s = Je(
1608
- ot({
1613
+ nt({
1609
1614
  ...l,
1610
1615
  typography: {
1611
1616
  h1: {
@@ -1633,12 +1638,12 @@ function Eo(e) {
1633
1638
  }
1634
1639
  })
1635
1640
  );
1636
- return /* @__PURE__ */ t(et, { theme: s, children: /* @__PURE__ */ t(Yt, { ...n, children: /* @__PURE__ */ t(kr, { menus: r, children: o }) }) });
1641
+ return /* @__PURE__ */ t(et, { theme: s, children: /* @__PURE__ */ t(Zt, { ...n, children: /* @__PURE__ */ t(vr, { menus: r, children: o }) }) });
1637
1642
  }
1638
1643
  export {
1639
- dr as Autocomplete,
1640
- Po as CardSkeleton,
1641
- Ao as Image,
1642
- Eo as default,
1643
- $t as useSearch
1644
+ ur as Autocomplete,
1645
+ Ao as CardSkeleton,
1646
+ Eo as Image,
1647
+ Fo as default,
1648
+ jt as useSearch
1644
1649
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/list",
3
- "version": "0.16.17",
3
+ "version": "0.16.19",
4
4
  "description": "Common ux components of blocklet",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -52,8 +52,8 @@
52
52
  "react-dom": ">=18.2.0"
53
53
  },
54
54
  "dependencies": {
55
- "@blocklet/js-sdk": "^1.16.37",
56
- "@blocklet/util": "0.16.17",
55
+ "@blocklet/js-sdk": "^1.16.38",
56
+ "@blocklet/util": "0.16.19",
57
57
  "@emotion/react": "^11.10.0",
58
58
  "@emotion/styled": "^11.10.0",
59
59
  "@iconify-icons/tabler": "^1.2.95",
@@ -91,5 +91,5 @@
91
91
  "prettier": "^3.3.2",
92
92
  "vite": "^5.4.10"
93
93
  },
94
- "gitHead": "516ee3bca87e8512c79f04b08c27da3633f3aee5"
94
+ "gitHead": "4e266f3509e1bacfabf1e103ef4038f4281e8d7b"
95
95
  }