cft-builder 0.1.95 → 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-C33BaM0i.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);
@@ -126416,8 +126416,8 @@ const oCe = CU(txe), lCe = (t) => {
126416
126416
  ) }, `exam-page-${r}`);
126417
126417
  }) }) });
126418
126418
  }, g3 = () => {
126419
- const { renderType: t } = Zt();
126420
- switch (t) {
126419
+ const { renderType: t, isAdvanceView: e } = Zt();
126420
+ switch (console.log("Render Builder isAdvanceView", e), t) {
126421
126421
  case b1:
126422
126422
  return /* @__PURE__ */ c(HCe, {});
126423
126423
  case P0:
@@ -130115,7 +130115,7 @@ const BEe = () => /* @__PURE__ */ c(NEe, {}), $Ee = (t) => {
130115
130115
  return /* @__PURE__ */ c(Se, { children: /* @__PURE__ */ E(Oa, { activeIndex: (() => {
130116
130116
  const o = t;
130117
130117
  let l = 0;
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), 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;
130119
130119
  })(), scrollable: !0, children: [
130120
130120
  t === P0 && /* @__PURE__ */ c(rr, { header: "Survey", children: WJ.map((o, l) => /* @__PURE__ */ c(
130121
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-xO_4g5k-.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.95",
3
+ "version": "0.1.96",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"