cft-builder 0.1.23 → 0.1.24
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-Dl2AkSmR.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,103 +129522,100 @@ const MEe = () => /* @__PURE__ */ c(IEe, {}), REe = (t) => {
|
|
|
129522
129522
|
] })
|
|
129523
129523
|
] });
|
|
129524
129524
|
}, LEe = () => {
|
|
129525
|
-
const { renderType: t } = nn(),
|
|
129526
|
-
|
|
129527
|
-
|
|
129528
|
-
|
|
129529
|
-
|
|
129530
|
-
|
|
129531
|
-
|
|
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(
|
|
129525
|
+
const { renderType: t } = nn(), e = 4, n = 0, r = 1, i = 2, a = 5;
|
|
129526
|
+
return /* @__PURE__ */ c(Ie, { children: /* @__PURE__ */ I(Na, { activeIndex: (() => {
|
|
129527
|
+
const o = t;
|
|
129528
|
+
let l = 0;
|
|
129529
|
+
return o === cf ? l = e : o === b3 ? l = a : o === v3 || o === _6 || o === lf ? l = i : o === y1 || o === Gh ? l = r : o === k0 && (l = n), console.log("Selected Tab Index:", l), l;
|
|
129530
|
+
})(), scrollable: !0, children: [
|
|
129531
|
+
t === k0 && /* @__PURE__ */ c(rr, { header: "Survey", children: GJ.map((o, l) => /* @__PURE__ */ c(
|
|
129535
129532
|
Wr,
|
|
129536
129533
|
{
|
|
129537
|
-
header:
|
|
129534
|
+
header: o == null ? void 0 : o.label,
|
|
129538
129535
|
toggleable: !0,
|
|
129539
129536
|
style: { marginBottom: 10 },
|
|
129540
|
-
children: /* @__PURE__ */ c("div", { className: "grid", children:
|
|
129537
|
+
children: /* @__PURE__ */ c("div", { className: "grid", children: o == null ? void 0 : o.items.map((u, d) => /* @__PURE__ */ c(
|
|
129541
129538
|
"div",
|
|
129542
129539
|
{
|
|
129543
129540
|
className: "xl:col-6 lg:col-12 md:col-12 sm:col-12",
|
|
129544
129541
|
children: /* @__PURE__ */ c(
|
|
129545
129542
|
D0,
|
|
129546
129543
|
{
|
|
129547
|
-
data:
|
|
129544
|
+
data: u
|
|
129548
129545
|
},
|
|
129549
|
-
|
|
129546
|
+
u.uuid
|
|
129550
129547
|
)
|
|
129551
129548
|
},
|
|
129552
|
-
"form_elements_" +
|
|
129549
|
+
"form_elements_" + d
|
|
129553
129550
|
)) })
|
|
129554
129551
|
},
|
|
129555
|
-
`pannel-tab-${
|
|
129552
|
+
`pannel-tab-${l}`
|
|
129556
129553
|
)) }),
|
|
129557
|
-
(t === y1 || t === Gh) && /* @__PURE__ */ c(rr, { header: "Form", children: KJ.map((
|
|
129554
|
+
(t === y1 || t === Gh) && /* @__PURE__ */ c(rr, { header: "Form", children: KJ.map((o, l) => (
|
|
129558
129555
|
// Temporary solution to fix linters. Need to ask meer
|
|
129559
129556
|
/* @__PURE__ */ c(
|
|
129560
129557
|
Wr,
|
|
129561
129558
|
{
|
|
129562
|
-
header:
|
|
129559
|
+
header: o == null ? void 0 : o.label,
|
|
129563
129560
|
toggleable: !0,
|
|
129564
129561
|
style: { marginBottom: 10 },
|
|
129565
|
-
children: /* @__PURE__ */ c("div", { className: "grid", children:
|
|
129562
|
+
children: /* @__PURE__ */ c("div", { className: "grid", children: o == null ? void 0 : o.items.map((u, d) => /* @__PURE__ */ c(
|
|
129566
129563
|
"div",
|
|
129567
129564
|
{
|
|
129568
129565
|
className: "xl:col-6 lg:col-12 md:col-12 sm:col-12",
|
|
129569
129566
|
children: /* @__PURE__ */ c(
|
|
129570
129567
|
D0,
|
|
129571
129568
|
{
|
|
129572
|
-
data:
|
|
129569
|
+
data: u
|
|
129573
129570
|
},
|
|
129574
|
-
|
|
129571
|
+
u.uuid
|
|
129575
129572
|
)
|
|
129576
129573
|
},
|
|
129577
|
-
"form_elements_" +
|
|
129574
|
+
"form_elements_" + d
|
|
129578
129575
|
)) })
|
|
129579
129576
|
},
|
|
129580
|
-
`pannel-tab-${
|
|
129577
|
+
`pannel-tab-${l}`
|
|
129581
129578
|
)
|
|
129582
129579
|
)) }),
|
|
129583
|
-
(t === v3 || t === _6 || t === lf) && /* @__PURE__ */ c(rr, { header: "Layout", children: UK.map((
|
|
129580
|
+
(t === v3 || t === _6 || t === lf) && /* @__PURE__ */ c(rr, { header: "Layout", children: UK.map((o, l) => /* @__PURE__ */ c(
|
|
129584
129581
|
Wr,
|
|
129585
129582
|
{
|
|
129586
|
-
header:
|
|
129583
|
+
header: o == null ? void 0 : o.label,
|
|
129587
129584
|
toggleable: !0,
|
|
129588
129585
|
style: { marginBottom: 10 },
|
|
129589
|
-
children: /* @__PURE__ */ c("div", { className: "grid", children:
|
|
129586
|
+
children: /* @__PURE__ */ c("div", { className: "grid", children: o == null ? void 0 : o.items.map((u, d) => /* @__PURE__ */ c("div", { className: "col-6", children: /* @__PURE__ */ c(
|
|
129590
129587
|
D0,
|
|
129591
129588
|
{
|
|
129592
|
-
data:
|
|
129589
|
+
data: u
|
|
129593
129590
|
},
|
|
129594
|
-
|
|
129595
|
-
) }, "form_elements_" +
|
|
129591
|
+
u.uuid
|
|
129592
|
+
) }, "form_elements_" + d)) })
|
|
129596
129593
|
},
|
|
129597
|
-
`pannel-tab-${
|
|
129594
|
+
`pannel-tab-${l}`
|
|
129598
129595
|
)) }),
|
|
129599
|
-
(t === k0 || t === y1 || t === Gh) && /* @__PURE__ */ c(rr, { header: "Layout", children: XJ.map((
|
|
129596
|
+
(t === k0 || t === y1 || t === Gh) && /* @__PURE__ */ c(rr, { header: "Layout", children: XJ.map((o, l) => /* @__PURE__ */ c(
|
|
129600
129597
|
Wr,
|
|
129601
129598
|
{
|
|
129602
|
-
header:
|
|
129599
|
+
header: o == null ? void 0 : o.label,
|
|
129603
129600
|
toggleable: !0,
|
|
129604
129601
|
style: { marginBottom: 10 },
|
|
129605
|
-
children: /* @__PURE__ */ c("div", { className: "grid", children:
|
|
129602
|
+
children: /* @__PURE__ */ c("div", { className: "grid", children: o == null ? void 0 : o.items.map((u, d) => /* @__PURE__ */ c("div", { className: "col-6", children: /* @__PURE__ */ c(
|
|
129606
129603
|
D0,
|
|
129607
129604
|
{
|
|
129608
|
-
data:
|
|
129605
|
+
data: u
|
|
129609
129606
|
},
|
|
129610
|
-
|
|
129611
|
-
) }, "form_elements_" +
|
|
129607
|
+
u.uuid
|
|
129608
|
+
) }, "form_elements_" + d)) })
|
|
129612
129609
|
},
|
|
129613
|
-
`pannel-tab-${
|
|
129610
|
+
`pannel-tab-${l}`
|
|
129614
129611
|
)) }),
|
|
129615
129612
|
t === cf && /* @__PURE__ */ c(rr, { header: "Question Bank", children: /* @__PURE__ */ I("div", { className: "grid", children: [
|
|
129616
|
-
/* @__PURE__ */ c("div", { className: "col-12", children: $K.map((
|
|
129613
|
+
/* @__PURE__ */ c("div", { className: "col-12", children: $K.map((o, l) => /* @__PURE__ */ c(
|
|
129617
129614
|
"div",
|
|
129618
129615
|
{
|
|
129619
129616
|
className: "grid",
|
|
129620
|
-
children:
|
|
129621
|
-
const
|
|
129617
|
+
children: o == null ? void 0 : o.items.map((u, d) => {
|
|
129618
|
+
const f = Tt.cloneDeep(u);
|
|
129622
129619
|
return /* @__PURE__ */ c(
|
|
129623
129620
|
"div",
|
|
129624
129621
|
{
|
|
@@ -129626,16 +129623,16 @@ const MEe = () => /* @__PURE__ */ c(IEe, {}), REe = (t) => {
|
|
|
129626
129623
|
children: /* @__PURE__ */ c(
|
|
129627
129624
|
D0,
|
|
129628
129625
|
{
|
|
129629
|
-
data:
|
|
129626
|
+
data: f
|
|
129630
129627
|
},
|
|
129631
|
-
|
|
129628
|
+
u.uuid
|
|
129632
129629
|
)
|
|
129633
129630
|
},
|
|
129634
|
-
"form_elements_" +
|
|
129631
|
+
"form_elements_" + d
|
|
129635
129632
|
);
|
|
129636
129633
|
})
|
|
129637
129634
|
},
|
|
129638
|
-
`new-quiz-${
|
|
129635
|
+
`new-quiz-${l}`
|
|
129639
129636
|
)) }),
|
|
129640
129637
|
/* @__PURE__ */ c("div", { className: "col-12 ", children: /* @__PURE__ */ I("div", { className: "p-inputgroup", children: [
|
|
129641
129638
|
/* @__PURE__ */ c(pn, { placeholder: "Keyword" }),
|
|
@@ -129648,21 +129645,21 @@ const MEe = () => /* @__PURE__ */ c(IEe, {}), REe = (t) => {
|
|
|
129648
129645
|
)
|
|
129649
129646
|
] }) })
|
|
129650
129647
|
] }) }),
|
|
129651
|
-
t === b3 && /* @__PURE__ */ c(rr, { header: "Training", children: WJ.map((
|
|
129648
|
+
t === b3 && /* @__PURE__ */ c(rr, { header: "Training", children: WJ.map((o, l) => /* @__PURE__ */ c(
|
|
129652
129649
|
Wr,
|
|
129653
129650
|
{
|
|
129654
|
-
header:
|
|
129651
|
+
header: o == null ? void 0 : o.label,
|
|
129655
129652
|
toggleable: !0,
|
|
129656
129653
|
style: { marginBottom: 10 },
|
|
129657
|
-
children: /* @__PURE__ */ c("div", { className: "grid", children:
|
|
129654
|
+
children: /* @__PURE__ */ c("div", { className: "grid", children: o == null ? void 0 : o.items.map((u, d) => /* @__PURE__ */ c("div", { className: "col-6", children: /* @__PURE__ */ c(
|
|
129658
129655
|
D0,
|
|
129659
129656
|
{
|
|
129660
|
-
data:
|
|
129657
|
+
data: u
|
|
129661
129658
|
},
|
|
129662
|
-
|
|
129663
|
-
) }, "form_elements_" +
|
|
129659
|
+
u.uuid
|
|
129660
|
+
) }, "form_elements_" + d)) })
|
|
129664
129661
|
},
|
|
129665
|
-
`pannel-tab-${
|
|
129662
|
+
`pannel-tab-${l}`
|
|
129666
129663
|
)) }),
|
|
129667
129664
|
(t === k0 || t === y1 || t === Gh) && /* @__PURE__ */ I(rr, { header: "Custom", children: [
|
|
129668
129665
|
/* @__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-DXQhvDlW.js";
|
|
5
5
|
function Ki(n) {
|
|
6
6
|
return n;
|
|
7
7
|
}
|