droplinked-editor-configs 1.9.6 → 1.9.7
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.
|
@@ -67495,7 +67495,7 @@ function _ze({ product: e, isHovered: t, isEditing: r }) {
|
|
|
67495
67495
|
}, y = (b) => (x) => {
|
|
67496
67496
|
x.stopPropagation(), m.current?.moveToIdx(b);
|
|
67497
67497
|
};
|
|
67498
|
-
return r
|
|
67498
|
+
return r ? /* @__PURE__ */ p.jsxs("div", { className: "relative overflow-hidden rounded-lg aspect-square cursor-pointer", children: [
|
|
67499
67499
|
/* @__PURE__ */ p.jsx(
|
|
67500
67500
|
"img",
|
|
67501
67501
|
{
|
|
@@ -69509,17 +69509,36 @@ const bHe = {
|
|
|
69509
69509
|
}
|
|
69510
69510
|
});
|
|
69511
69511
|
function wHe() {
|
|
69512
|
-
const {
|
|
69513
|
-
|
|
69514
|
-
|
|
69515
|
-
|
|
69516
|
-
|
|
69517
|
-
|
|
69518
|
-
|
|
69519
|
-
|
|
69520
|
-
|
|
69512
|
+
const {
|
|
69513
|
+
methods: { updateState: e }
|
|
69514
|
+
} = qn(), [t, r] = de(!1), n = oe(
|
|
69515
|
+
async (i) => {
|
|
69516
|
+
r(!0);
|
|
69517
|
+
try {
|
|
69518
|
+
const { data: s } = await CBe({ shopName: i }), a = {
|
|
69519
|
+
...s,
|
|
69520
|
+
data: {
|
|
69521
|
+
...s.data,
|
|
69522
|
+
currency: s?.data?.currency || {
|
|
69523
|
+
conversionRateToUSD: 1,
|
|
69524
|
+
symbol: "$",
|
|
69525
|
+
abbreviation: "USD"
|
|
69526
|
+
},
|
|
69527
|
+
template_options: xHe(s?.data?.template_options)
|
|
69528
|
+
}
|
|
69529
|
+
};
|
|
69530
|
+
return e({ state: "shop", value: mZ(a?.data) }), s?.data;
|
|
69531
|
+
} finally {
|
|
69532
|
+
r(!1);
|
|
69533
|
+
}
|
|
69534
|
+
},
|
|
69535
|
+
[e]
|
|
69536
|
+
);
|
|
69521
69537
|
return {
|
|
69522
|
-
clear: oe(
|
|
69538
|
+
clear: oe(
|
|
69539
|
+
async () => e({ state: "shop", value: null }),
|
|
69540
|
+
[e]
|
|
69541
|
+
),
|
|
69523
69542
|
get: n,
|
|
69524
69543
|
loading: t
|
|
69525
69544
|
};
|