@goodhood-web/nebenan-base 4.13.0-development.11 → 4.13.0-development.12
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/index.js +1 -1
- package/index.mjs +19 -18
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -79097,53 +79097,54 @@ const lse = ({
|
|
|
79097
79097
|
}) => {
|
|
79098
79098
|
const [o, s] = _(
|
|
79099
79099
|
void 0
|
|
79100
|
-
), [l, c] = _(), [u, f] = _([]), d = ci(), h = (
|
|
79101
|
-
const
|
|
79102
|
-
|
|
79100
|
+
), [l, c] = _(), [u, f] = _([]), d = ci(), h = (k) => {
|
|
79101
|
+
const y = u.find(({ value: S }) => S === k);
|
|
79102
|
+
y && (y.value && d("click", {
|
|
79103
79103
|
main: [
|
|
79104
|
-
new dr({ name: "marketplace_post_payment_selection", value:
|
|
79104
|
+
new dr({ name: "marketplace_post_payment_selection", value: y.slug })
|
|
79105
79105
|
]
|
|
79106
|
-
}), s(
|
|
79106
|
+
}), s(y), i == null || i({ id: y.id, pill: y.pill, value: y.value }), l && v());
|
|
79107
79107
|
};
|
|
79108
79108
|
ee(() => {
|
|
79109
79109
|
m();
|
|
79110
79110
|
}, []);
|
|
79111
79111
|
const m = async () => {
|
|
79112
|
-
const
|
|
79113
|
-
if (!
|
|
79114
|
-
const
|
|
79115
|
-
|
|
79112
|
+
const k = await wS(a);
|
|
79113
|
+
if (!k) return;
|
|
79114
|
+
const y = Rle(
|
|
79115
|
+
k,
|
|
79116
79116
|
n,
|
|
79117
79117
|
a
|
|
79118
|
-
),
|
|
79119
|
-
|
|
79118
|
+
), S = y.find(({ isDefault: C }) => C);
|
|
79119
|
+
S && (s(S), !n && (S != null && S.info) && c(S == null ? void 0 : S.info)), f(y);
|
|
79120
79120
|
}, v = () => {
|
|
79121
79121
|
c(void 0), r == null || r();
|
|
79122
|
-
}, g = u.map(({ info:
|
|
79122
|
+
}, g = u.map(({ info: k }) => k).filter(Boolean), b = u.filter(({ value: k }) => k);
|
|
79123
79123
|
return /* @__PURE__ */ R(Se, { children: [
|
|
79124
79124
|
!e && /* @__PURE__ */ p(
|
|
79125
79125
|
ik,
|
|
79126
79126
|
{
|
|
79127
79127
|
value: t.value || (o == null ? void 0 : o.value),
|
|
79128
|
-
onChange: (
|
|
79128
|
+
onChange: (k) => h(k),
|
|
79129
79129
|
className: D0.root,
|
|
79130
|
-
|
|
79130
|
+
allowToggleOff: !0,
|
|
79131
|
+
children: b.map(({ info: k, ...y }) => /* @__PURE__ */ p(
|
|
79131
79132
|
zT,
|
|
79132
79133
|
{
|
|
79133
79134
|
size: "small",
|
|
79134
|
-
infoIcon:
|
|
79135
|
+
infoIcon: k && /* @__PURE__ */ p(
|
|
79135
79136
|
Te,
|
|
79136
79137
|
{
|
|
79137
79138
|
icon: "info",
|
|
79138
79139
|
size: "medium",
|
|
79139
79140
|
variant: "none",
|
|
79140
79141
|
defaultSize: !0,
|
|
79141
|
-
onClick: () =>
|
|
79142
|
+
onClick: () => k && c({ ...k })
|
|
79142
79143
|
}
|
|
79143
79144
|
),
|
|
79144
|
-
...
|
|
79145
|
+
...y
|
|
79145
79146
|
},
|
|
79146
|
-
|
|
79147
|
+
y.id
|
|
79147
79148
|
))
|
|
79148
79149
|
}
|
|
79149
79150
|
),
|