cft-builder 0.1.39 → 0.1.40

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.
@@ -32910,11 +32910,7 @@ class Wte {
32910
32910
  const z0 = function(e, n, r) {
32911
32911
  return new Wte(e, n, r);
32912
32912
  }, gP = Lf(void 0), Qte = ({ children: t, option: e, templateSchema: n, onChange: r }) => {
32913
- const i = { ...P7, ...n }, [a, s] = TO(VZ, i);
32914
- vn(() => {
32915
- console.log("Update FormBuilderProvider here to check how many time it updates -- commented");
32916
- }, [n]);
32917
- const { isPreview: o, isAdmin: l, isRenderView: u, renderType: d, isAdvanceView: f, globalAlignment: p = "ltr", emitSocketData: g, media: m, reusableComponent: v, saveFormProgress: A } = e;
32913
+ const i = { ...P7, ...n }, [a, s] = TO(VZ, i), { isPreview: o, isAdmin: l, isRenderView: u, renderType: d, isAdvanceView: f, globalAlignment: p = "ltr", emitSocketData: g, media: m, reusableComponent: v, saveFormProgress: A } = e;
32918
32914
  return /* @__PURE__ */ c(gP.Provider, { value: { media: m, isPreview: o, isAdmin: l, isRenderView: u, renderType: d, isAdvanceView: f, globalAlignment: p, emitSocketData: g, reusableComponent: v, state: a, dispatch: s, onChange: r, saveFormProgress: A }, children: /* @__PURE__ */ c(q0, { backend: z0, children: t }) });
32919
32915
  }, vP = () => $d(gP), Jte = (t, e, n) => {
32920
32916
  const r = Array.from(t), [i] = r.splice(e, 1);
@@ -61797,7 +61793,7 @@ var che = function() {
61797
61793
  theme: i.theme,
61798
61794
  formats: i.formats
61799
61795
  };
61800
- che ? C(new Quill(d.current, M)) : import("./quill-RgMEvxVU.js").then(function(z) {
61796
+ che ? C(new Quill(d.current, M)) : import("./quill-DyEKl_Py.js").then(function(z) {
61801
61797
  if (z && Ee.isExist(d.current)) {
61802
61798
  var k;
61803
61799
  z.default ? k = new z.default(d.current, M) : k = new z(d.current, M), C(k);
@@ -127096,7 +127092,8 @@ const SCe = DU(vxe), CCe = (t) => {
127096
127092
  borderStyle: "solid",
127097
127093
  position: "relative"
127098
127094
  } : ((w = n.answersText) == null ? void 0 : w[r == null ? void 0 : r.type]) === f ? {
127099
- backgroundColor: "#0F8BFD"
127095
+ backgroundColor: "#0F8BFD",
127096
+ color: "#fff"
127100
127097
  } : {},
127101
127098
  children: [
127102
127099
  /* @__PURE__ */ c(
@@ -128735,6 +128732,23 @@ const sEe = (t) => {
128735
128732
  children: /* @__PURE__ */ c("p", { className: "text-center", children: l })
128736
128733
  }
128737
128734
  ),
128735
+ /* @__PURE__ */ c(
128736
+ jP,
128737
+ {
128738
+ closable: !1,
128739
+ closeOnEscape: !1,
128740
+ visible: m,
128741
+ onHide: () => v(!1),
128742
+ message: /* @__PURE__ */ c(
128743
+ P2,
128744
+ {
128745
+ date: Date.now() + 15e3,
128746
+ renderer: ne
128747
+ }
128748
+ ),
128749
+ footer: ye
128750
+ }
128751
+ ),
128738
128752
  k || fe || ce ? /* @__PURE__ */ c("div", { className: "w-full", children: /* @__PURE__ */ c(Te, {}) }) : /* @__PURE__ */ I(Ce, { children: [
128739
128753
  (((Z = N == null ? void 0 : N.formType) == null ? void 0 : Z.key) === Wy || ((H = N == null ? void 0 : N.formType) == null ? void 0 : H.key) === "survey") && /* @__PURE__ */ c(Ce, { children: /* @__PURE__ */ I("div", { className: `px-0 ${s === !1 ? "builder_container" : ""}`, children: [
128740
128754
  /* @__PURE__ */ I("div", { className: "flex justify-content-center mb-2 align-items-center", children: [
@@ -128815,23 +128829,6 @@ const sEe = (t) => {
128815
128829
  ),
128816
128830
  ((K = N == null ? void 0 : N.formType) == null ? void 0 : K.key) === "exam" && /* @__PURE__ */ I("div", { children: [
128817
128831
  S === !1 && /* @__PURE__ */ c("div", { className: "surface-section px-4 py-5 md:px-6 lg:px-8 scroll-height-150", children: /* @__PURE__ */ c("div", { className: "grid", children: /* @__PURE__ */ c("div", { className: "col-6 col-offset-3", children: /* @__PURE__ */ I("div", { className: "text-center", children: [
128818
- /* @__PURE__ */ c(
128819
- jP,
128820
- {
128821
- closable: !1,
128822
- closeOnEscape: !1,
128823
- visible: m,
128824
- onHide: () => v(!1),
128825
- message: /* @__PURE__ */ c(
128826
- P2,
128827
- {
128828
- date: Date.now() + 15e3,
128829
- renderer: ne
128830
- }
128831
- ),
128832
- footer: ye
128833
- }
128834
- ),
128835
128832
  /* @__PURE__ */ I("div", { children: [
128836
128833
  /* @__PURE__ */ c("h3", { children: (ae = L == null ? void 0 : L.assessment) == null ? void 0 : ae.assessment_title }),
128837
128834
  /* @__PURE__ */ I("div", { className: "card", children: [
@@ -128932,7 +128929,7 @@ const sEe = (t) => {
128932
128929
  children: /* @__PURE__ */ c(
128933
128930
  OU,
128934
128931
  {
128935
- setVisible: v,
128932
+ setShowStartDiaglog: v,
128936
128933
  setQuizStart: x,
128937
128934
  onOpenQuiz: be,
128938
128935
  quizData: A,
@@ -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-DgyDEhdc.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-UxmO8WLD.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.39",
3
+ "version": "0.1.40",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"