cft-builder 0.1.21 → 0.1.23
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.
|
@@ -61931,7 +61931,7 @@ var che = function() {
|
|
|
61931
61931
|
theme: i.theme,
|
|
61932
61932
|
formats: i.formats
|
|
61933
61933
|
};
|
|
61934
|
-
che ? C(new Quill(d.current, M)) : import("./quill-
|
|
61934
|
+
che ? C(new Quill(d.current, M)) : import("./quill-CKL8iKvR.js").then(function(z) {
|
|
61935
61935
|
if (z && Te.isExist(d.current)) {
|
|
61936
61936
|
var k;
|
|
61937
61937
|
z.default ? k = new z.default(d.current, M) : k = new z(d.current, M), C(k);
|
|
@@ -129522,100 +129522,103 @@ const MEe = () => /* @__PURE__ */ c(IEe, {}), REe = (t) => {
|
|
|
129522
129522
|
] })
|
|
129523
129523
|
] });
|
|
129524
129524
|
}, LEe = () => {
|
|
129525
|
-
const { renderType: t } = nn(), e = 4,
|
|
129526
|
-
|
|
129527
|
-
|
|
129528
|
-
|
|
129529
|
-
|
|
129530
|
-
|
|
129531
|
-
|
|
129525
|
+
const { renderType: t } = nn(), [e, n] = Ne(0), r = 4, i = 0, a = 1, s = 2, o = 5;
|
|
129526
|
+
gn(() => (l(), () => {
|
|
129527
|
+
}), [t]);
|
|
129528
|
+
const l = () => {
|
|
129529
|
+
const u = t;
|
|
129530
|
+
let d = 0;
|
|
129531
|
+
u === cf ? d = r : u === b3 ? d = o : u === v3 || u === _6 || u === lf ? d = s : u === y1 || u === Gh ? d = a : u === k0 && (d = i), console.log("Selected Tab Index:", d), n(d);
|
|
129532
|
+
};
|
|
129533
|
+
return /* @__PURE__ */ c(Ie, { children: /* @__PURE__ */ I(Na, { activeIndex: e, scrollable: !0, children: [
|
|
129534
|
+
t === k0 && /* @__PURE__ */ c(rr, { header: "Survey", children: GJ.map((u, d) => /* @__PURE__ */ c(
|
|
129532
129535
|
Wr,
|
|
129533
129536
|
{
|
|
129534
|
-
header:
|
|
129537
|
+
header: u == null ? void 0 : u.label,
|
|
129535
129538
|
toggleable: !0,
|
|
129536
129539
|
style: { marginBottom: 10 },
|
|
129537
|
-
children: /* @__PURE__ */ c("div", { className: "grid", children:
|
|
129540
|
+
children: /* @__PURE__ */ c("div", { className: "grid", children: u == null ? void 0 : u.items.map((f, p) => /* @__PURE__ */ c(
|
|
129538
129541
|
"div",
|
|
129539
129542
|
{
|
|
129540
129543
|
className: "xl:col-6 lg:col-12 md:col-12 sm:col-12",
|
|
129541
129544
|
children: /* @__PURE__ */ c(
|
|
129542
129545
|
D0,
|
|
129543
129546
|
{
|
|
129544
|
-
data:
|
|
129547
|
+
data: f
|
|
129545
129548
|
},
|
|
129546
|
-
|
|
129549
|
+
f.uuid
|
|
129547
129550
|
)
|
|
129548
129551
|
},
|
|
129549
|
-
"form_elements_" +
|
|
129552
|
+
"form_elements_" + p
|
|
129550
129553
|
)) })
|
|
129551
129554
|
},
|
|
129552
|
-
`pannel-tab-${
|
|
129555
|
+
`pannel-tab-${d}`
|
|
129553
129556
|
)) }),
|
|
129554
|
-
(t === y1 || t === Gh) && /* @__PURE__ */ c(rr, { header: "Form", children: KJ.map((
|
|
129557
|
+
(t === y1 || t === Gh) && /* @__PURE__ */ c(rr, { header: "Form", children: KJ.map((u, d) => (
|
|
129555
129558
|
// Temporary solution to fix linters. Need to ask meer
|
|
129556
129559
|
/* @__PURE__ */ c(
|
|
129557
129560
|
Wr,
|
|
129558
129561
|
{
|
|
129559
|
-
header:
|
|
129562
|
+
header: u == null ? void 0 : u.label,
|
|
129560
129563
|
toggleable: !0,
|
|
129561
129564
|
style: { marginBottom: 10 },
|
|
129562
|
-
children: /* @__PURE__ */ c("div", { className: "grid", children:
|
|
129565
|
+
children: /* @__PURE__ */ c("div", { className: "grid", children: u == null ? void 0 : u.items.map((f, p) => /* @__PURE__ */ c(
|
|
129563
129566
|
"div",
|
|
129564
129567
|
{
|
|
129565
129568
|
className: "xl:col-6 lg:col-12 md:col-12 sm:col-12",
|
|
129566
129569
|
children: /* @__PURE__ */ c(
|
|
129567
129570
|
D0,
|
|
129568
129571
|
{
|
|
129569
|
-
data:
|
|
129572
|
+
data: f
|
|
129570
129573
|
},
|
|
129571
|
-
|
|
129574
|
+
f.uuid
|
|
129572
129575
|
)
|
|
129573
129576
|
},
|
|
129574
|
-
"form_elements_" +
|
|
129577
|
+
"form_elements_" + p
|
|
129575
129578
|
)) })
|
|
129576
129579
|
},
|
|
129577
|
-
`pannel-tab-${
|
|
129580
|
+
`pannel-tab-${d}`
|
|
129578
129581
|
)
|
|
129579
129582
|
)) }),
|
|
129580
|
-
(t === v3 || t === _6 || t === lf) && /* @__PURE__ */ c(rr, { header: "Layout", children: UK.map((
|
|
129583
|
+
(t === v3 || t === _6 || t === lf) && /* @__PURE__ */ c(rr, { header: "Layout", children: UK.map((u, d) => /* @__PURE__ */ c(
|
|
129581
129584
|
Wr,
|
|
129582
129585
|
{
|
|
129583
|
-
header:
|
|
129586
|
+
header: u == null ? void 0 : u.label,
|
|
129584
129587
|
toggleable: !0,
|
|
129585
129588
|
style: { marginBottom: 10 },
|
|
129586
|
-
children: /* @__PURE__ */ c("div", { className: "grid", children:
|
|
129589
|
+
children: /* @__PURE__ */ c("div", { className: "grid", children: u == null ? void 0 : u.items.map((f, p) => /* @__PURE__ */ c("div", { className: "col-6", children: /* @__PURE__ */ c(
|
|
129587
129590
|
D0,
|
|
129588
129591
|
{
|
|
129589
|
-
data:
|
|
129592
|
+
data: f
|
|
129590
129593
|
},
|
|
129591
|
-
|
|
129592
|
-
) }, "form_elements_" +
|
|
129594
|
+
f.uuid
|
|
129595
|
+
) }, "form_elements_" + p)) })
|
|
129593
129596
|
},
|
|
129594
|
-
`pannel-tab-${
|
|
129597
|
+
`pannel-tab-${d}`
|
|
129595
129598
|
)) }),
|
|
129596
|
-
(t === k0 || t === y1 || t === Gh) && /* @__PURE__ */ c(rr, { header: "Layout", children: XJ.map((
|
|
129599
|
+
(t === k0 || t === y1 || t === Gh) && /* @__PURE__ */ c(rr, { header: "Layout", children: XJ.map((u, d) => /* @__PURE__ */ c(
|
|
129597
129600
|
Wr,
|
|
129598
129601
|
{
|
|
129599
|
-
header:
|
|
129602
|
+
header: u == null ? void 0 : u.label,
|
|
129600
129603
|
toggleable: !0,
|
|
129601
129604
|
style: { marginBottom: 10 },
|
|
129602
|
-
children: /* @__PURE__ */ c("div", { className: "grid", children:
|
|
129605
|
+
children: /* @__PURE__ */ c("div", { className: "grid", children: u == null ? void 0 : u.items.map((f, p) => /* @__PURE__ */ c("div", { className: "col-6", children: /* @__PURE__ */ c(
|
|
129603
129606
|
D0,
|
|
129604
129607
|
{
|
|
129605
|
-
data:
|
|
129608
|
+
data: f
|
|
129606
129609
|
},
|
|
129607
|
-
|
|
129608
|
-
) }, "form_elements_" +
|
|
129610
|
+
f.uuid
|
|
129611
|
+
) }, "form_elements_" + p)) })
|
|
129609
129612
|
},
|
|
129610
|
-
`pannel-tab-${
|
|
129613
|
+
`pannel-tab-${d}`
|
|
129611
129614
|
)) }),
|
|
129612
129615
|
t === cf && /* @__PURE__ */ c(rr, { header: "Question Bank", children: /* @__PURE__ */ I("div", { className: "grid", children: [
|
|
129613
|
-
/* @__PURE__ */ c("div", { className: "col-12", children: $K.map((
|
|
129616
|
+
/* @__PURE__ */ c("div", { className: "col-12", children: $K.map((u, d) => /* @__PURE__ */ c(
|
|
129614
129617
|
"div",
|
|
129615
129618
|
{
|
|
129616
129619
|
className: "grid",
|
|
129617
|
-
children:
|
|
129618
|
-
const
|
|
129620
|
+
children: u == null ? void 0 : u.items.map((f, p) => {
|
|
129621
|
+
const g = Tt.cloneDeep(f);
|
|
129619
129622
|
return /* @__PURE__ */ c(
|
|
129620
129623
|
"div",
|
|
129621
129624
|
{
|
|
@@ -129623,16 +129626,16 @@ const MEe = () => /* @__PURE__ */ c(IEe, {}), REe = (t) => {
|
|
|
129623
129626
|
children: /* @__PURE__ */ c(
|
|
129624
129627
|
D0,
|
|
129625
129628
|
{
|
|
129626
|
-
data:
|
|
129629
|
+
data: g
|
|
129627
129630
|
},
|
|
129628
|
-
|
|
129631
|
+
f.uuid
|
|
129629
129632
|
)
|
|
129630
129633
|
},
|
|
129631
|
-
"form_elements_" +
|
|
129634
|
+
"form_elements_" + p
|
|
129632
129635
|
);
|
|
129633
129636
|
})
|
|
129634
129637
|
},
|
|
129635
|
-
`new-quiz-${
|
|
129638
|
+
`new-quiz-${d}`
|
|
129636
129639
|
)) }),
|
|
129637
129640
|
/* @__PURE__ */ c("div", { className: "col-12 ", children: /* @__PURE__ */ I("div", { className: "p-inputgroup", children: [
|
|
129638
129641
|
/* @__PURE__ */ c(pn, { placeholder: "Keyword" }),
|
|
@@ -129645,21 +129648,21 @@ const MEe = () => /* @__PURE__ */ c(IEe, {}), REe = (t) => {
|
|
|
129645
129648
|
)
|
|
129646
129649
|
] }) })
|
|
129647
129650
|
] }) }),
|
|
129648
|
-
t === b3 && /* @__PURE__ */ c(rr, { header: "Training", children: WJ.map((
|
|
129651
|
+
t === b3 && /* @__PURE__ */ c(rr, { header: "Training", children: WJ.map((u, d) => /* @__PURE__ */ c(
|
|
129649
129652
|
Wr,
|
|
129650
129653
|
{
|
|
129651
|
-
header:
|
|
129654
|
+
header: u == null ? void 0 : u.label,
|
|
129652
129655
|
toggleable: !0,
|
|
129653
129656
|
style: { marginBottom: 10 },
|
|
129654
|
-
children: /* @__PURE__ */ c("div", { className: "grid", children:
|
|
129657
|
+
children: /* @__PURE__ */ c("div", { className: "grid", children: u == null ? void 0 : u.items.map((f, p) => /* @__PURE__ */ c("div", { className: "col-6", children: /* @__PURE__ */ c(
|
|
129655
129658
|
D0,
|
|
129656
129659
|
{
|
|
129657
|
-
data:
|
|
129660
|
+
data: f
|
|
129658
129661
|
},
|
|
129659
|
-
|
|
129660
|
-
) }, "form_elements_" +
|
|
129662
|
+
f.uuid
|
|
129663
|
+
) }, "form_elements_" + p)) })
|
|
129661
129664
|
},
|
|
129662
|
-
`pannel-tab-${
|
|
129665
|
+
`pannel-tab-${d}`
|
|
129663
129666
|
)) }),
|
|
129664
129667
|
(t === k0 || t === y1 || t === Gh) && /* @__PURE__ */ I(rr, { header: "Custom", children: [
|
|
129665
129668
|
/* @__PURE__ */ c("h6", { children: "Custom Sections" }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ml = Object.defineProperty;
|
|
2
2
|
var Dl = (n, t, e) => t in n ? Ml(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
3
|
var T = (n, t, e) => (Dl(n, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
-
import { d as ti, i as Rr, a as Hi, b as Ul, e as Br, M as Pl, 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 jl, n as Hl, o as Fi, p as $l, q as Fl, r as zl, s as Kl, t as ii, u as Gl, v as Vl, w as Ft, x as zi, y as xe } from "./main-
|
|
4
|
+
import { d as ti, i as Rr, a as Hi, b as Ul, e as Br, M as Pl, 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 jl, n as Hl, o as Fi, p as $l, q as Fl, r as zl, s as Kl, t as ii, u as Gl, v as Vl, w as Ft, x as zi, y as xe } from "./main-BiIfpGy6.js";
|
|
5
5
|
function Ki(n) {
|
|
6
6
|
return n;
|
|
7
7
|
}
|