droplinked-editor-configs 1.8.8 → 1.8.9

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.
@@ -61722,7 +61722,7 @@ function vY(e, t, r) {
61722
61722
  function xLe() {
61723
61723
  const { states: { shop: e } } = Bn(), { data: t, isFetching: r } = gY({
61724
61724
  queryKey: "shop-blogs",
61725
- queryFn: () => Dj(e.name),
61725
+ queryFn: () => Dj(e.url),
61726
61726
  select(l) {
61727
61727
  return {
61728
61728
  featured: l.data.featured,
@@ -61737,8 +61737,8 @@ function xLe() {
61737
61737
  hasNextPage: s,
61738
61738
  isFetching: a
61739
61739
  } = vY({
61740
- queryKey: ["more-to-discover-blogs", e.name],
61741
- queryFn: ({ pageParam: l = 1 }) => Dj(`${e.name}?page=${l}&limit=10`),
61740
+ queryKey: ["more-to-discover-blogs", e.url],
61741
+ queryFn: ({ pageParam: l = 1 }) => Dj(`${e.url}?page=${l}&limit=10`),
61742
61742
  getNextPageParam: (l) => {
61743
61743
  const c = l.data.moreToDiscover;
61744
61744
  return c.hasNextPage ? c.nextPage : void 0;
@@ -61782,7 +61782,7 @@ function CLe() {
61782
61782
  }
61783
61783
  const kLe = () => {
61784
61784
  const { states: { shop: e } } = Bn();
61785
- return { shopName: e.name };
61785
+ return { shopName: e.url };
61786
61786
  };
61787
61787
  function dd() {
61788
61788
  const { handleNavigate: e } = CLe(), { shopName: t } = kLe(), n = window.location.pathname.includes("paylink"), o = (a) => n ? `/paylink/${a}` : cX ? `/${a}` : `/${t}/${a}`;
@@ -62747,7 +62747,7 @@ function y$e(e) {
62747
62747
  return g$e({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeMiterlimit: "10", strokeWidth: "48", d: "M88 152h336M88 256h336M88 360h336" } }] })(e);
62748
62748
  }
62749
62749
  function b$e({ iconColor: e, linkManagement: t, ProfileDropdownWrapper: r }) {
62750
- const { isOpen: n, onOpen: o, onClose: i } = Lu(), { states: { user: s, shop: { name: a } } } = Bn(), { id: l } = s?.[a]?.user || {}, { shopDesign: { backgroundBody: c } } = st(), [u] = g0("(min-width: 768px)"), { defineMultiStyleConfig: d } = kt(JI.keys), f = d({
62750
+ const { isOpen: n, onOpen: o, onClose: i } = Lu(), { states: { user: s, shop: { url: a } } } = Bn(), { id: l } = s?.[a]?.user || {}, { shopDesign: { backgroundBody: c } } = st(), [u] = g0("(min-width: 768px)"), { defineMultiStyleConfig: d } = kt(JI.keys), f = d({
62751
62751
  baseStyle: {
62752
62752
  dialogContainer: { zIndex: 99 }
62753
62753
  }
@@ -65354,7 +65354,7 @@ const RNe = ({ shopName: e }) => G1.get(`/shops/v2/public/name/${e}`), ANe = (e)
65354
65354
  function jNe() {
65355
65355
  const { states: { shop: e } } = Bn();
65356
65356
  return gY({
65357
- queryFn: () => ANe(e.name),
65357
+ queryFn: () => ANe(e.url),
65358
65358
  refetchOnWindowFocus: !1
65359
65359
  });
65360
65360
  }
@@ -67639,7 +67639,7 @@ const VVe = (e) => {
67639
67639
  return G1.get(`/product-v2/public/shop/${e.shopName}?${t}`).then((r) => r.data);
67640
67640
  };
67641
67641
  function zVe(e) {
67642
- const { states: { shop: { name: t, currency: { conversionRateToUSD: r } } } } = Bn(), n = qr((c) => c.appliedProductQuery), { minPrice: o, maxPrice: i } = n, s = o ? o / r : void 0, a = i ? i / r : void 0, l = e ? Math.min(e, 4) : 15;
67642
+ const { states: { shop: { url: t, currency: { conversionRateToUSD: r } } } } = Bn(), n = qr((c) => c.appliedProductQuery), { minPrice: o, maxPrice: i } = n, s = o ? o / r : void 0, a = i ? i / r : void 0, l = e ? Math.min(e, 4) : 15;
67643
67643
  return vY({
67644
67644
  queryKey: ["PRODUCTS", t, n, e],
67645
67645
  queryFn: ({ pageParam: c = 1 }) => VVe({
@@ -68415,7 +68415,7 @@ function uze({
68415
68415
  ) }) });
68416
68416
  }
68417
68417
  function dze({ socialChannels: e, imagePlaceholder: t, logo: r }) {
68418
- const { states: { shop: { description: n } } } = Bn();
68418
+ const { states: { shop: { name: n } } } = Bn();
68419
68419
  return /* @__PURE__ */ p.jsx("section", { className: "relative z-10", children: /* @__PURE__ */ p.jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ p.jsxs(Nn, { mini: !1, children: [
68420
68420
  /* @__PURE__ */ p.jsx(uze, { logo: r?.image || "", imagePlaceholder: t }),
68421
68421
  /* @__PURE__ */ p.jsxs("div", { className: "ml-4 sm:ml-0 flex w-full flex-col gap-4 md:ml-40 mt-16 md:mt-2 md:flex-row sm:justify-between", children: [