fansunited-management-components 1.16.0 → 1.17.0
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.es.js
CHANGED
|
@@ -46360,11 +46360,9 @@ const rn = /* @__PURE__ */ z.forwardRef(function(t, n) {
|
|
|
46360
46360
|
["link", "image", "video"],
|
|
46361
46361
|
["clean"]
|
|
46362
46362
|
]
|
|
46363
|
-
}, lg = ({ label: e, property: t, value: n, defaultValue: r, placeholder: i, description: a,
|
|
46364
|
-
const
|
|
46365
|
-
|
|
46366
|
-
}, u = (d, f, p, h) => {
|
|
46367
|
-
h.getText().trim() === "" ? l("") : l(d);
|
|
46363
|
+
}, lg = ({ label: e, property: t, value: n, defaultValue: r, placeholder: i, description: a, onChange: s }) => {
|
|
46364
|
+
const l = (c, u, d, f) => {
|
|
46365
|
+
f.getText().trim() === "" ? s("") : s(c);
|
|
46368
46366
|
};
|
|
46369
46367
|
return t === "description" ? /* @__PURE__ */ C.jsxs(
|
|
46370
46368
|
$t,
|
|
@@ -46379,7 +46377,7 @@ const rn = /* @__PURE__ */ z.forwardRef(function(t, n) {
|
|
|
46379
46377
|
{
|
|
46380
46378
|
value: n || r,
|
|
46381
46379
|
defaultValue: r,
|
|
46382
|
-
onChange:
|
|
46380
|
+
onChange: l,
|
|
46383
46381
|
modules: If,
|
|
46384
46382
|
placeholder: i,
|
|
46385
46383
|
className: "ql-container ql-toolbar"
|
|
@@ -46394,7 +46392,7 @@ const rn = /* @__PURE__ */ z.forwardRef(function(t, n) {
|
|
|
46394
46392
|
{
|
|
46395
46393
|
value: n || r,
|
|
46396
46394
|
defaultValue: r,
|
|
46397
|
-
onChange:
|
|
46395
|
+
onChange: l,
|
|
46398
46396
|
modules: If,
|
|
46399
46397
|
placeholder: i,
|
|
46400
46398
|
className: "ql-container ql-toolbar"
|
|
@@ -46412,7 +46410,7 @@ const rn = /* @__PURE__ */ z.forwardRef(function(t, n) {
|
|
|
46412
46410
|
{
|
|
46413
46411
|
value: n || r,
|
|
46414
46412
|
defaultValue: r,
|
|
46415
|
-
onChange:
|
|
46413
|
+
onChange: l,
|
|
46416
46414
|
modules: If,
|
|
46417
46415
|
placeholder: i
|
|
46418
46416
|
}
|
|
@@ -46421,25 +46419,14 @@ const rn = /* @__PURE__ */ z.forwardRef(function(t, n) {
|
|
|
46421
46419
|
);
|
|
46422
46420
|
}, RQ = (e) => {
|
|
46423
46421
|
const t = (n) => {
|
|
46424
|
-
n.persist(), e.
|
|
46422
|
+
n.persist(), e.onChange(n.target.value);
|
|
46425
46423
|
};
|
|
46426
46424
|
return /* @__PURE__ */ C.jsxs(sg, { defaultValue: 0, sx: { p: 0, bgcolor: "transparent" }, children: [
|
|
46427
46425
|
/* @__PURE__ */ C.jsxs(og, { sx: { borderRadius: 0 }, tabFlex: "auto", children: [
|
|
46428
46426
|
/* @__PURE__ */ C.jsx(Ei, { children: e.labels.richText }),
|
|
46429
46427
|
/* @__PURE__ */ C.jsx(Ei, { children: e.labels.plainText })
|
|
46430
46428
|
] }),
|
|
46431
|
-
/* @__PURE__ */ C.jsx(Ai, { value: 0, sx: { px: 0 }, children: /* @__PURE__ */ C.jsx(
|
|
46432
|
-
lg,
|
|
46433
|
-
{
|
|
46434
|
-
label: "",
|
|
46435
|
-
placeholder: "",
|
|
46436
|
-
defaultValue: e.defaultValue,
|
|
46437
|
-
property: "ad_content",
|
|
46438
|
-
setValue: e.setValue,
|
|
46439
|
-
onChange: () => {
|
|
46440
|
-
}
|
|
46441
|
-
}
|
|
46442
|
-
) }),
|
|
46429
|
+
/* @__PURE__ */ C.jsx(Ai, { value: 0, sx: { px: 0 }, children: /* @__PURE__ */ C.jsx(lg, { label: "", placeholder: "", defaultValue: e.defaultValue, property: "ad_content", onChange: e.onChange }) }),
|
|
46443
46430
|
/* @__PURE__ */ C.jsx(Ai, { value: 1, sx: { px: 0 }, children: /* @__PURE__ */ C.jsx(
|
|
46444
46431
|
CQ,
|
|
46445
46432
|
{
|
|
@@ -57046,8 +57033,8 @@ const bae = (e) => {
|
|
|
57046
57033
|
label: e.labels.description,
|
|
57047
57034
|
defaultValue: r,
|
|
57048
57035
|
placeholder: e.labels.winnersDescription,
|
|
57049
|
-
|
|
57050
|
-
|
|
57036
|
+
onChange: (I) => {
|
|
57037
|
+
i(I);
|
|
57051
57038
|
}
|
|
57052
57039
|
}
|
|
57053
57040
|
),
|