cft-builder 0.2.8 → 0.2.9

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.
@@ -58585,7 +58585,7 @@ var Kue = function() {
58585
58585
  theme: i.theme,
58586
58586
  formats: i.formats
58587
58587
  };
58588
- Kue ? C(new Quill(d.current, P)) : import("./quill-KIR-RPkv.js").then(function(U) {
58588
+ Kue ? C(new Quill(d.current, P)) : import("./quill-DLlnaIHe.js").then(function(U) {
58589
58589
  if (U && Ee.isExist(d.current)) {
58590
58590
  var M;
58591
58591
  U.default ? M = new U.default(d.current, P) : M = new U(d.current, P), C(M);
@@ -127385,15 +127385,18 @@ const VTe = ({
127385
127385
  (w) => /* @__PURE__ */ c(g, { mediaId: w }),
127386
127386
  [e == null ? void 0 : e.media_file_id]
127387
127387
  );
127388
- return /* @__PURE__ */ c("div", { children: (e == null ? void 0 : e.isExternalSource) === !1 && (e == null ? void 0 : e.media_file_id) !== void 0 && (e == null ? void 0 : e.media_file_id) !== null ? /* @__PURE__ */ c(Te, { children: m(e == null ? void 0 : e.media_file_id) }) : /* @__PURE__ */ c(Te, { children: /* @__PURE__ */ c(
127389
- ZV,
127390
- {
127391
- options: n,
127392
- onReady: u,
127393
- currentItem: e
127394
- },
127395
- e == null ? void 0 : e.uuid
127396
- ) }) });
127388
+ return /* @__PURE__ */ E("div", { children: [
127389
+ "dsadas",
127390
+ (e == null ? void 0 : e.isExternalSource) === !1 && (e == null ? void 0 : e.media_file_id) !== void 0 && (e == null ? void 0 : e.media_file_id) !== null ? /* @__PURE__ */ c(Te, { children: m(e == null ? void 0 : e.media_file_id) }) : /* @__PURE__ */ c(Te, { children: /* @__PURE__ */ c(
127391
+ ZV,
127392
+ {
127393
+ options: n,
127394
+ onReady: u,
127395
+ currentItem: e
127396
+ },
127397
+ e == null ? void 0 : e.uuid
127398
+ ) })
127399
+ ] });
127397
127400
  }, rv = (t) => {
127398
127401
  var D, I, O, V, R, P;
127399
127402
  const { sections: e, showInfoPanel: n, updateTrainingProgress: r } = t, {
@@ -127441,7 +127444,7 @@ const VTe = ({
127441
127444
  break;
127442
127445
  }
127443
127446
  }, C = (U) => {
127444
- switch (U == null ? void 0 : U.componentType) {
127447
+ switch (console.log("currentItem", U == null ? void 0 : U.componentType), U == null ? void 0 : U.componentType) {
127445
127448
  case "video":
127446
127449
  return /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(
127447
127450
  zTe,
@@ -127542,20 +127545,20 @@ rv.propTypes = {
127542
127545
  updateTrainingProgress: gn.func
127543
127546
  };
127544
127547
  const HTe = () => {
127545
- var r;
127546
- const { formBuilderFormLayout: t } = nn(), { isPreview: e } = Yt(), n = (i, a, s) => /* @__PURE__ */ c(
127548
+ var r, i;
127549
+ const { formBuilderFormLayout: t } = nn(), { isPreview: e } = Yt(), n = (a, s, o) => /* @__PURE__ */ c(
127547
127550
  CTe,
127548
127551
  {
127549
- data: i,
127550
- path: a,
127551
- pageIndex: s
127552
+ data: a,
127553
+ path: s,
127554
+ pageIndex: o
127552
127555
  },
127553
- `page-${i.uuid}`
127556
+ `page-${a.uuid}`
127554
127557
  );
127555
- return e ? /* @__PURE__ */ c(rv, { sections: ((r = t == null ? void 0 : t[0]) == null ? void 0 : r.children) || [], showInfoPanel: !1, updateTrainingProgress: () => {
127556
- } }) : /* @__PURE__ */ c(Te, { children: /* @__PURE__ */ c("div", { className: "page", children: (t == null ? void 0 : t.length) && t.map((i, a) => {
127557
- const s = `${a}`;
127558
- return /* @__PURE__ */ c("div", { children: n(i, s, a) }, `exam-page-${a}`);
127558
+ return e ? (console.log("pages[0]?.children", (r = t[0]) == null ? void 0 : r.children), /* @__PURE__ */ c(rv, { sections: ((i = t[0]) == null ? void 0 : i.children) || [], showInfoPanel: !1, updateTrainingProgress: () => {
127559
+ } })) : /* @__PURE__ */ c(Te, { children: /* @__PURE__ */ c("div", { className: "page", children: (t == null ? void 0 : t.length) && t.map((a, s) => {
127560
+ const o = `${s}`;
127561
+ return /* @__PURE__ */ c("div", { children: n(a, o, s) }, `exam-page-${s}`);
127559
127562
  }) }) });
127560
127563
  }, YTe = (t) => {
127561
127564
  var D, I, O, V, R;
@@ -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-CaXng2HH.js";
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-Bnu1HlHE.js";
5
5
  function Ki(n) {
6
6
  return n;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cft-builder",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"