cft-builder 0.2.61 → 0.2.63
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.
|
@@ -32538,13 +32538,13 @@ class Kte {
|
|
|
32538
32538
|
}
|
|
32539
32539
|
const yf = function(e, n, r) {
|
|
32540
32540
|
return new Kte(e, n, r);
|
|
32541
|
-
}, Sk = fh(void 0), Xte = ({ children: t, option: e, saveFormBuilderSchema: n, templateSchema: r, onChange: i }) => {
|
|
32542
|
-
const
|
|
32541
|
+
}, Sk = fh(void 0), Xte = ({ children: t, option: e, saveFormBuilderSchema: n, templateSchema: r, onChange: i, isHTML5BackendDisabled: a = !1 }) => {
|
|
32542
|
+
const s = { ...g7, ...r }, [o, l] = LO(MZ, s);
|
|
32543
32543
|
gn(() => {
|
|
32544
|
-
n && n(
|
|
32545
|
-
}, [
|
|
32546
|
-
const { isPreview:
|
|
32547
|
-
return /* @__PURE__ */ c(Sk.Provider, { value: { media:
|
|
32544
|
+
n && n(o);
|
|
32545
|
+
}, [o]);
|
|
32546
|
+
const { isPreview: u, isAdmin: d, isRenderView: f, renderType: p, isAdvanceView: g, globalAlignment: v = "ltr", emitSocketData: m, media: x, reusableComponent: C, saveFormProgress: E, showSettings: S } = e;
|
|
32547
|
+
return /* @__PURE__ */ c(Sk.Provider, { value: { media: x, isPreview: u, isAdmin: d, isRenderView: f, renderType: p, isAdvanceView: g, globalAlignment: v, emitSocketData: m, reusableComponent: C, state: o, dispatch: l, onChange: i, saveFormProgress: E, showSettings: S }, children: a ? /* @__PURE__ */ c(Ce, { children: t }) : /* @__PURE__ */ c(bf, { backend: yf, children: t }) });
|
|
32548
32548
|
}, Tk = () => i1(Sk), Gte = (t, e, n) => {
|
|
32549
32549
|
const r = Array.from(t), [i] = r.splice(e, 1);
|
|
32550
32550
|
return r.splice(n, 0, i), r;
|
|
@@ -33503,19 +33503,19 @@ const Lk = (t) => (e) => {
|
|
|
33503
33503
|
return { ...t, ...e.payLoad };
|
|
33504
33504
|
}
|
|
33505
33505
|
return t;
|
|
33506
|
-
}, Bk = fh(void 0), zEe = ({ option: t, taskOptions: e, saveFormBuilderSchema: n, templateSchema: r, taskValue: i, children: a }) => {
|
|
33507
|
-
const [
|
|
33508
|
-
progressMaxValue:
|
|
33509
|
-
progressValue:
|
|
33510
|
-
registerData:
|
|
33511
|
-
...
|
|
33506
|
+
}, Bk = fh(void 0), zEe = ({ option: t, taskOptions: e, saveFormBuilderSchema: n, templateSchema: r, taskValue: i, children: a, isHTML5BackendDisabled: s = !1 }) => {
|
|
33507
|
+
const [o, l] = LO(Sne, { ...w7, ...i }), {
|
|
33508
|
+
progressMaxValue: u = 0,
|
|
33509
|
+
progressValue: d = 0,
|
|
33510
|
+
registerData: f = null,
|
|
33511
|
+
...p
|
|
33512
33512
|
} = i || {};
|
|
33513
33513
|
return gn(() => {
|
|
33514
|
-
|
|
33514
|
+
l({
|
|
33515
33515
|
type: Ok,
|
|
33516
|
-
payLoad:
|
|
33516
|
+
payLoad: p
|
|
33517
33517
|
});
|
|
33518
|
-
}, [i]), /* @__PURE__ */ c(Bk.Provider, { value: { taskOptions: e, state:
|
|
33518
|
+
}, [i]), /* @__PURE__ */ c(Bk.Provider, { value: { taskOptions: e, state: o, dispatch: l }, children: /* @__PURE__ */ c(Xte, { isHTML5BackendDisabled: s, option: t, saveFormBuilderSchema: n, templateSchema: r, onChange: () => {
|
|
33519
33519
|
}, children: a }) });
|
|
33520
33520
|
}, Tne = () => i1(Bk), hr = () => {
|
|
33521
33521
|
var ye, Z, B, ee, W, ce, Ie, Te;
|
|
@@ -58129,7 +58129,7 @@ var Uue = function() {
|
|
|
58129
58129
|
theme: i.theme,
|
|
58130
58130
|
formats: i.formats
|
|
58131
58131
|
};
|
|
58132
|
-
Uue ? A(new Quill(d.current, V)) : import("./quill-
|
|
58132
|
+
Uue ? A(new Quill(d.current, V)) : import("./quill-DSe-30l5.js").then(function(q) {
|
|
58133
58133
|
if (q && Se.isExist(d.current)) {
|
|
58134
58134
|
var P;
|
|
58135
58135
|
q.default ? P = new q.default(d.current, V) : P = new q(d.current, V), A(P);
|
|
@@ -119998,6 +119998,7 @@ const fSe = RU(axe), hSe = (t) => {
|
|
|
119998
119998
|
) }) : /* @__PURE__ */ c(
|
|
119999
119999
|
FO,
|
|
120000
120000
|
{
|
|
120001
|
+
isAdmin: !1,
|
|
120001
120002
|
...t,
|
|
120002
120003
|
field: d,
|
|
120003
120004
|
isPreview: o,
|
|
@@ -120011,8 +120012,7 @@ const fSe = RU(axe), hSe = (t) => {
|
|
|
120011
120012
|
actionBodyTemplate: J,
|
|
120012
120013
|
isFocus: _,
|
|
120013
120014
|
inputValue: S,
|
|
120014
|
-
handleFieldSettingsSidebar: _e
|
|
120015
|
-
isAdmin: l
|
|
120015
|
+
handleFieldSettingsSidebar: _e
|
|
120016
120016
|
}
|
|
120017
120017
|
)
|
|
120018
120018
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Bl = Object.defineProperty;
|
|
2
2
|
var Ml = (n, t, e) => t in n ? Bl(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
3
|
var T = (n, t, e) => Ml(n, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { d as ti, i as Rr, a as Hi, b as Dl, e as Br, M as Ul, S as ei, U as si, g as ni, c as ri, f as fr, h as zs, j as $i, k as Vs, l as dr, m as Pl, n as jl, o as Fi, p as Hl, q as $l, r as Fl, s as zl, t as ii, u as Kl, v as Gl, w as Ft, x as zi, y as xe } from "./main-
|
|
4
|
+
import { d as ti, i as Rr, a as Hi, b as Dl, e as Br, M as Ul, S as ei, U as si, g as ni, c as ri, f as fr, h as zs, j as $i, k as Vs, l as dr, m as Pl, n as jl, o as Fi, p as Hl, q as $l, r as Fl, s as zl, t as ii, u as Kl, v as Gl, w as Ft, x as zi, y as xe } from "./main-DmTwdvcQ.js";
|
|
5
5
|
function Ki(n) {
|
|
6
6
|
return n;
|
|
7
7
|
}
|