cft-builder 0.1.94 → 0.1.96

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.
@@ -32915,7 +32915,7 @@ const z0 = function(e, n, r) {
32915
32915
  n && n(s);
32916
32916
  }, [s]);
32917
32917
  const { isPreview: l, isAdmin: u, isRenderView: d, renderType: f, isAdvanceView: p, globalAlignment: g = "ltr", emitSocketData: m, media: v, reusableComponent: A, saveFormProgress: w, showSettings: T } = e;
32918
- return /* @__PURE__ */ c(bP.Provider, { value: { media: v, isPreview: l, isAdmin: u, isRenderView: d, renderType: f, isAdvanceView: p, globalAlignment: g, emitSocketData: m, reusableComponent: A, state: s, dispatch: o, onChange: i, saveFormProgress: w, showSettings: T }, children: /* @__PURE__ */ c(q0, { backend: z0, children: t }) });
32918
+ return console.log("FormBuilderProvider", p), /* @__PURE__ */ c(bP.Provider, { value: { media: v, isPreview: l, isAdmin: u, isRenderView: d, renderType: f, isAdvanceView: p, globalAlignment: g, emitSocketData: m, reusableComponent: A, state: s, dispatch: o, onChange: i, saveFormProgress: w, showSettings: T }, children: /* @__PURE__ */ c(q0, { backend: z0, children: t }) });
32919
32919
  }, yP = () => $d(bP), ene = (t, e, n) => {
32920
32920
  const r = Array.from(t), [i] = r.splice(e, 1);
32921
32921
  return r.splice(n, 0, i), r;
@@ -58564,7 +58564,7 @@ var Kue = function() {
58564
58564
  theme: i.theme,
58565
58565
  formats: i.formats
58566
58566
  };
58567
- Kue ? S(new Quill(d.current, P)) : import("./quill-s_7BjTX6.js").then(function(q) {
58567
+ Kue ? S(new Quill(d.current, P)) : import("./quill-CD53lMi6.js").then(function(q) {
58568
58568
  if (q && Ee.isExist(d.current)) {
58569
58569
  var M;
58570
58570
  q.default ? M = new q.default(d.current, P) : M = new q(d.current, P), S(M);
@@ -100690,7 +100690,7 @@ const ZV = (t) => {
100690
100690
  }
100691
100691
  ),
100692
100692
  /* @__PURE__ */ E("div", { className: "mt-3", children: [
100693
- n !== u && q === null && !x ? /* @__PURE__ */ c(
100693
+ n !== u && q === null && !x && /* @__PURE__ */ c(
100694
100694
  jN,
100695
100695
  {
100696
100696
  backgroundColor: Y(),
@@ -100706,7 +100706,8 @@ const ZV = (t) => {
100706
100706
  }
100707
100707
  },
100708
100708
  p == null ? void 0 : p.uuid
100709
- ) : /* @__PURE__ */ c("p", { children: "Not signed" }),
100709
+ ),
100710
+ n === u && q == null && /* @__PURE__ */ c("p", { children: "Not signed" }),
100710
100711
  n === u && q !== null && /* @__PURE__ */ c(
100711
100712
  "img",
100712
100713
  {
@@ -126415,8 +126416,8 @@ const oCe = CU(txe), lCe = (t) => {
126415
126416
  ) }, `exam-page-${r}`);
126416
126417
  }) }) });
126417
126418
  }, g3 = () => {
126418
- const { renderType: t } = Zt();
126419
- switch (t) {
126419
+ const { renderType: t, isAdvanceView: e } = Zt();
126420
+ switch (console.log("Render Builder isAdvanceView", e), t) {
126420
126421
  case b1:
126421
126422
  return /* @__PURE__ */ c(HCe, {});
126422
126423
  case P0:
@@ -130114,7 +130115,7 @@ const BEe = () => /* @__PURE__ */ c(NEe, {}), $Ee = (t) => {
130114
130115
  return /* @__PURE__ */ c(Se, { children: /* @__PURE__ */ E(Oa, { activeIndex: (() => {
130115
130116
  const o = t;
130116
130117
  let l = 0;
130117
- return o === lf ? l = e : o === x3 ? l = a : o === A3 || o === k6 || o === of ? l = i : o === b1 || o === Xh ? l = r : o === P0 && (l = n), console.log("Selected Tab Index:", l), l;
130118
+ return o === lf ? l = e : o === x3 ? l = a : o === A3 || o === k6 || o === of ? l = i : o === b1 || o === Xh ? l = r : o === P0 && (l = n), l;
130118
130119
  })(), scrollable: !0, children: [
130119
130120
  t === P0 && /* @__PURE__ */ c(rr, { header: "Survey", children: WJ.map((o, l) => /* @__PURE__ */ c(
130120
130121
  Yr,
@@ -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-DR8Nrek4.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-FYlbEQUY.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.1.94",
3
+ "version": "0.1.96",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"