cft-builder 0.2.143 → 0.2.145
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.
|
@@ -58647,7 +58647,7 @@ var yde = function() {
|
|
|
58647
58647
|
theme: i.theme,
|
|
58648
58648
|
formats: i.formats
|
|
58649
58649
|
};
|
|
58650
|
-
yde ? A(new Quill(d.current, M)) : import("./quill-
|
|
58650
|
+
yde ? A(new Quill(d.current, M)) : import("./quill-D9cRDNMi.js").then(function(q) {
|
|
58651
58651
|
if (q && Ee.isExist(d.current)) {
|
|
58652
58652
|
var k;
|
|
58653
58653
|
q.default ? k = new q.default(d.current, M) : k = new q(d.current, M), A(k);
|
|
@@ -63346,7 +63346,7 @@ const rM = (t) => {
|
|
|
63346
63346
|
/* @__PURE__ */ c(
|
|
63347
63347
|
"div",
|
|
63348
63348
|
{
|
|
63349
|
-
className: `field ${e ? " " : "
|
|
63349
|
+
className: `field ${e ? " " : " py-3 px-4 builder-element-wrapper "}${(r == null ? void 0 : r.isFluid) === !0 && " p-fluid"}`,
|
|
63350
63350
|
children: /* @__PURE__ */ c("div", { className: "grid", children: /* @__PURE__ */ E("div", { className: "col-12 p-fluid", children: [
|
|
63351
63351
|
((q = r == null ? void 0 : r.questionTextImage) == null ? void 0 : q[l == null ? void 0 : l.type]) && ((k = r == null ? void 0 : r.questionTextImage) == null ? void 0 : k[l == null ? void 0 : l.type]) !== "" && /* @__PURE__ */ c("div", { className: "text-center assessment_image_container", children: /* @__PURE__ */ c(
|
|
63352
63352
|
d,
|
|
@@ -102122,7 +102122,7 @@ const w$ = (t) => {
|
|
|
102122
102122
|
/* @__PURE__ */ E(
|
|
102123
102123
|
"div",
|
|
102124
102124
|
{
|
|
102125
|
-
className: `field ${e ? " " : "
|
|
102125
|
+
className: `field ${e ? " " : " py-3 px-4 builder-element-wrapper "}${(i == null ? void 0 : i.isFluid) === !0 && " p-fluid"}`,
|
|
102126
102126
|
children: [
|
|
102127
102127
|
/* @__PURE__ */ c("div", { className: "grid", children: /* @__PURE__ */ E("div", { className: "col-12 ", children: [
|
|
102128
102128
|
(i == null ? void 0 : i.showHeaderText) && /* @__PURE__ */ c("h6", { children: (U = i == null ? void 0 : i.headerText) == null ? void 0 : U[v == null ? void 0 : v.type] }),
|
|
@@ -117577,7 +117577,7 @@ const KSe = HU(Bwe), XSe = (t) => {
|
|
|
117577
117577
|
/* @__PURE__ */ E(
|
|
117578
117578
|
"div",
|
|
117579
117579
|
{
|
|
117580
|
-
className: `field ${a ? " " : "
|
|
117580
|
+
className: `field ${a ? " " : " py-3 px-4 builder-element-wrapper "}${(e == null ? void 0 : e.isFluid) === !0 && " p-fluid"}`,
|
|
117581
117581
|
children: [
|
|
117582
117582
|
/* @__PURE__ */ E(
|
|
117583
117583
|
"div",
|
|
@@ -118295,7 +118295,7 @@ const KSe = HU(Bwe), XSe = (t) => {
|
|
|
118295
118295
|
}), [N]);
|
|
118296
118296
|
const ve = /* @__PURE__ */ E("div", { onMouseOver: B, onMouseOut: H, children: [
|
|
118297
118297
|
!d && !p && q && /* @__PURE__ */ c(Br, { handleFieldSettingsSidebar: te, ...t }),
|
|
118298
|
-
/* @__PURE__ */ E("div", { className: `field ${p ? " " : "
|
|
118298
|
+
/* @__PURE__ */ E("div", { className: `field ${p ? " " : " py-3 px-4 builder-element-wrapper "}${(v == null ? void 0 : v.isFluid) === !0 && " p-fluid"}`, children: [
|
|
118299
118299
|
/* @__PURE__ */ c("div", { className: "grid", children: /* @__PURE__ */ E("div", { className: `col-12 ${!p && "p-fluid"}`, children: [
|
|
118300
118300
|
(v == null ? void 0 : v.showHeaderText) && /* @__PURE__ */ c("h6", { children: (ee = v == null ? void 0 : v.headerText) == null ? void 0 : ee[l == null ? void 0 : l.type] }),
|
|
118301
118301
|
(v == null ? void 0 : v.showLabel) && /* @__PURE__ */ E(
|
|
@@ -119608,7 +119608,7 @@ const KSe = HU(Bwe), XSe = (t) => {
|
|
|
119608
119608
|
return /* @__PURE__ */ E(
|
|
119609
119609
|
"div",
|
|
119610
119610
|
{
|
|
119611
|
-
className: `field ${n ? " " : "
|
|
119611
|
+
className: `field ${n ? " " : " py-3 px-4 builder-element-wrapper "}${(e == null ? void 0 : e.isFluid) === !0 && " p-fluid"}`,
|
|
119612
119612
|
children: [
|
|
119613
119613
|
" ",
|
|
119614
119614
|
/* @__PURE__ */ c("div", { className: "grid", children: /* @__PURE__ */ E("div", { className: "col-12 p-fluid", children: [
|
|
@@ -121020,7 +121020,7 @@ const KSe = HU(Bwe), XSe = (t) => {
|
|
|
121020
121020
|
/* @__PURE__ */ E(
|
|
121021
121021
|
"div",
|
|
121022
121022
|
{
|
|
121023
|
-
className: `field ${i ? " " : "
|
|
121023
|
+
className: `field ${i ? " " : " py-3 px-4 builder-element-wrapper "}${(o == null ? void 0 : o.isFluid) === !0 && " p-fluid"}`,
|
|
121024
121024
|
children: [
|
|
121025
121025
|
/* @__PURE__ */ c("div", { className: "grid", children: /* @__PURE__ */ E("div", { className: a ? "col-6 " : "col-12 p-fluid", children: [
|
|
121026
121026
|
(o == null ? void 0 : o.showHeaderText) && /* @__PURE__ */ c("h6", { children: (B = o == null ? void 0 : o.headerText) == null ? void 0 : B[n == null ? void 0 : n.type] }),
|
|
@@ -123004,7 +123004,7 @@ const KSe = HU(Bwe), XSe = (t) => {
|
|
|
123004
123004
|
"div",
|
|
123005
123005
|
{
|
|
123006
123006
|
style: { overflowX: "auto" },
|
|
123007
|
-
className: `${a
|
|
123007
|
+
className: `${!a || !i && "draggable page-css p-3 pb-4"}`,
|
|
123008
123008
|
"data-image-src": e == null ? void 0 : e.bgImage,
|
|
123009
123009
|
"data-bg-color": `#${e == null ? void 0 : e.bgColor}`,
|
|
123010
123010
|
children: i === !1 ? /* @__PURE__ */ c(Te, { children: s ? /* @__PURE__ */ E(Te, { children: [
|
|
@@ -124317,7 +124317,7 @@ const KSe = HU(Bwe), XSe = (t) => {
|
|
|
124317
124317
|
"div",
|
|
124318
124318
|
{
|
|
124319
124319
|
style: { overflowX: "auto" },
|
|
124320
|
-
className: `${n
|
|
124320
|
+
className: `${!n || !r && "draggable page-css p-3 pb-4"}`,
|
|
124321
124321
|
"data-image-src": a == null ? void 0 : a.bgImage,
|
|
124322
124322
|
"data-bg-color": `#${a == null ? void 0 : a.bgColor}`,
|
|
124323
124323
|
children: r === !1 ? /* @__PURE__ */ E(Te, { children: [
|
|
@@ -124876,7 +124876,7 @@ const KSe = HU(Bwe), XSe = (t) => {
|
|
|
124876
124876
|
"div",
|
|
124877
124877
|
{
|
|
124878
124878
|
style: { overflowX: "auto" },
|
|
124879
|
-
className: `${a
|
|
124879
|
+
className: `${!a || !i && "draggable page-css p-3 pb-4"}`,
|
|
124880
124880
|
"data-image-src": e == null ? void 0 : e.bgImage,
|
|
124881
124881
|
"data-bg-color": `#${e == null ? void 0 : e.bgColor}`,
|
|
124882
124882
|
children: /* @__PURE__ */ c("div", { className: "pdf flex justify-content-center", children: i === !1 ? /* @__PURE__ */ c(
|
|
@@ -126180,7 +126180,7 @@ const KSe = HU(Bwe), XSe = (t) => {
|
|
|
126180
126180
|
"div",
|
|
126181
126181
|
{
|
|
126182
126182
|
style: { overflowX: "auto" },
|
|
126183
|
-
className: `${a
|
|
126183
|
+
className: `${!a || !s && "draggable page-css p-3 pb-4"}`,
|
|
126184
126184
|
"data-image-src": e == null ? void 0 : e.bgImage,
|
|
126185
126185
|
"data-bg-color": `#${e == null ? void 0 : e.bgColor}`,
|
|
126186
126186
|
children: s === !1 ? /* @__PURE__ */ c(Te, { children: i ? /* @__PURE__ */ E(Te, { children: [
|
|
@@ -126810,7 +126810,7 @@ const KSe = HU(Bwe), XSe = (t) => {
|
|
|
126810
126810
|
"div",
|
|
126811
126811
|
{
|
|
126812
126812
|
style: { overflowX: "auto" },
|
|
126813
|
-
className: `${e
|
|
126813
|
+
className: `${!e || !n && "draggable page-css p-3 pb-4"}`,
|
|
126814
126814
|
"data-image-src": r == null ? void 0 : r.bgImage,
|
|
126815
126815
|
"data-bg-color": `#${r == null ? void 0 : r.bgColor}`,
|
|
126816
126816
|
children: n ? /* @__PURE__ */ c(Te, {}) : /* @__PURE__ */ c("div", { className: "p-1", children: r.children.map((u, d) => {
|
|
@@ -129015,7 +129015,7 @@ const NEe = () => {
|
|
|
129015
129015
|
data: e,
|
|
129016
129016
|
path: n,
|
|
129017
129017
|
pageIndex: r
|
|
129018
|
-
} = t, { isRenderView: i } = Kt(),
|
|
129018
|
+
} = t, { isRenderView: i, isPreview: a } = Kt(), s = Yn(null), [{}, o] = zi({
|
|
129019
129019
|
type: qi,
|
|
129020
129020
|
item: {
|
|
129021
129021
|
type: qi,
|
|
@@ -129023,33 +129023,33 @@ const NEe = () => {
|
|
|
129023
129023
|
children: e.children,
|
|
129024
129024
|
path: n
|
|
129025
129025
|
},
|
|
129026
|
-
collect: (
|
|
129027
|
-
isDragging:
|
|
129026
|
+
collect: (u) => ({
|
|
129027
|
+
isDragging: u.isDragging()
|
|
129028
129028
|
})
|
|
129029
129029
|
});
|
|
129030
|
-
s
|
|
129031
|
-
const
|
|
129030
|
+
o(s);
|
|
129031
|
+
const l = (u, d, f, p) => /* @__PURE__ */ c(
|
|
129032
129032
|
LEe,
|
|
129033
129033
|
{
|
|
129034
|
-
data:
|
|
129035
|
-
section:
|
|
129036
|
-
path:
|
|
129034
|
+
data: u,
|
|
129035
|
+
section: u,
|
|
129036
|
+
path: d,
|
|
129037
129037
|
page: e,
|
|
129038
|
-
pageIndex:
|
|
129039
|
-
sectionIndex:
|
|
129038
|
+
pageIndex: f,
|
|
129039
|
+
sectionIndex: p
|
|
129040
129040
|
},
|
|
129041
|
-
`section_${
|
|
129041
|
+
`section_${f}_${p}`
|
|
129042
129042
|
);
|
|
129043
129043
|
return /* @__PURE__ */ c(
|
|
129044
129044
|
"div",
|
|
129045
129045
|
{
|
|
129046
129046
|
style: { overflowX: "auto" },
|
|
129047
|
-
className: `${i
|
|
129047
|
+
className: `${!i || !a && "draggable page-css p-3 pb-4"}`,
|
|
129048
129048
|
"data-image-src": e == null ? void 0 : e.bgImage,
|
|
129049
129049
|
"data-bg-color": `#${e == null ? void 0 : e.bgColor}`,
|
|
129050
|
-
children: /* @__PURE__ */ c("div", { className: "", children: e.children.map((
|
|
129051
|
-
const
|
|
129052
|
-
return /* @__PURE__ */ c(rt.Fragment, { children:
|
|
129050
|
+
children: /* @__PURE__ */ c("div", { className: "", children: e.children.map((u, d) => {
|
|
129051
|
+
const f = `${n}-${d}`;
|
|
129052
|
+
return /* @__PURE__ */ c(rt.Fragment, { children: l(u, f, r, d) }, `section-${d}-${u.uuid}`);
|
|
129053
129053
|
}) })
|
|
129054
129054
|
}
|
|
129055
129055
|
);
|
|
@@ -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-BiD9UxJK.js";
|
|
5
5
|
function Ki(n) {
|
|
6
6
|
return n;
|
|
7
7
|
}
|