cft-builder 0.2.283 → 0.2.284

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.
@@ -33822,7 +33822,7 @@ const yN = (t) => (e) => {
33822
33822
  [i]
33823
33823
  ), ce = rt.useCallback(
33824
33824
  (ge, Ae) => Gee(ge, Ae)(i, r),
33825
- [i]
33825
+ [i, r]
33826
33826
  ), G = rt.useCallback(
33827
33827
  (ge, Ae) => Xee(
33828
33828
  ge,
@@ -33904,7 +33904,7 @@ const yN = (t) => (e) => {
33904
33904
  // FOR UPDATE USER SUBMIT FORM DATA,
33905
33905
  updateUserFormDataSubmit: H,
33906
33906
  removeUserDataFormSectionRepeatableData: G,
33907
- addUserDataFormSectionRepeatableData: ce,
33907
+ addUserDataFormRowRepeatableData: ce,
33908
33908
  onSetValuetoRepeatableData: ve,
33909
33909
  onSetValuetoPostDataHook: Ie,
33910
33910
  // For Creating Task
@@ -54389,7 +54389,7 @@ const ji = (t) => {
54389
54389
  repeatableFields: he
54390
54390
  }, A(ee);
54391
54391
  }
54392
- D(te), te !== null ? de.isValid = 1 : de.isValid = 0;
54392
+ D(te), console.log("value !== null country", te !== null), te !== null ? de.isValid = 1 : de.isValid = 0;
54393
54393
  }, ce = (de, te) => de ? /* @__PURE__ */ _("div", { className: "country-item flex", children: [
54394
54394
  /* @__PURE__ */ c(
54395
54395
  "img",
@@ -60056,7 +60056,7 @@ var u0e = function() {
60056
60056
  theme: i.theme,
60057
60057
  formats: i.formats
60058
60058
  };
60059
- u0e ? w(new Quill(d.current, P)) : import("./quill-C_Oa3WU3.js").then(function(z) {
60059
+ u0e ? w(new Quill(d.current, P)) : import("./quill-DqZPWoWp.js").then(function(z) {
60060
60060
  if (z && Se.isExist(d.current)) {
60061
60061
  var F;
60062
60062
  z.default ? F = new z.default(d.current, P) : F = new z(d.current, P), w(F);
@@ -119659,7 +119659,7 @@ const wxe = WB(mbe), Cxe = (t) => {
119659
119659
  ) });
119660
119660
  }, Zxe = {}, ewe = (t) => {
119661
119661
  var te, B, ee, se, he, _e, Oe, ge, Ae, Le, Te, U, pe;
119662
- const { data: e, path: n, pageIndex: r, sectionIndex: i, rowIndex: a, section: s, page: o } = t, l = Yn(null), { removeRow: u, addRow: d, cloneRow: f, formBuilderFormLayout: p, userSelectedLanguage: m, handleDrop: v } = nn(), { userTaskSubmitFormData: g, taskRegisterData: A, updateTaskRegisterData: x, updateTaskProgressValue: S, addUserDataFormSectionRepeatableData: C, removeUserDataFormSectionRepeatableData: T, task_status: w, TASK_PUBLISHED: E } = mr(), { isRenderView: D, isAdvanceView: R, isBuilderMode: N, renderType: k, isAdmin: P, emitSocketData: z, updateGlobalToast: F } = jt(), [q, $] = Pe(!1), [oe, Y] = Pe(!1), [{ isDragging: K }, ce] = Ui({
119662
+ const { data: e, path: n, pageIndex: r, sectionIndex: i, rowIndex: a, section: s, page: o } = t, l = Yn(null), { removeRow: u, addRow: d, cloneRow: f, formBuilderFormLayout: p, userSelectedLanguage: m, handleDrop: v } = nn(), { userTaskSubmitFormData: g, taskRegisterData: A, updateTaskRegisterData: x, updateTaskProgressValue: S, addUserDataFormRowRepeatableData: C, removeUserDataFormSectionRepeatableData: T, task_status: w, TASK_PUBLISHED: E } = mr(), { isRenderView: D, isAdvanceView: R, isBuilderMode: N, renderType: k, isAdmin: P, emitSocketData: z, updateGlobalToast: F } = jt(), [q, $] = Pe(!1), [oe, Y] = Pe(!1), [{ isDragging: K }, ce] = Ui({
119663
119663
  type: wo,
119664
119664
  item: {
119665
119665
  type: wo,
@@ -119810,7 +119810,7 @@ const wxe = WB(mbe), Cxe = (t) => {
119810
119810
  let fe = !0;
119811
119811
  e: for (const [, Ye] of e.children.entries()) {
119812
119812
  for (const [, nt] of Ye.children.entries())
119813
- if (console.log("field", nt), nt != null && nt.isPostField && ((Ce = nt == null ? void 0 : nt.attributes) != null && Ce.required) && nt.isValid !== SN) {
119813
+ if (nt != null && nt.isPostField && ((Ce = nt == null ? void 0 : nt.attributes) != null && Ce.required) && nt.isValid !== SN) {
119814
119814
  const it = {
119815
119815
  fieldId: nt.uuid,
119816
119816
  rowIndex: a
@@ -119820,7 +119820,7 @@ const wxe = WB(mbe), Cxe = (t) => {
119820
119820
  }
119821
119821
  fe = !0;
119822
119822
  }
119823
- console.log("repeatableRowIndex", Z), console.log("userFormSubmitData[repeatableRowIndex]?.repeatableFields", (De = le[Z]) == null ? void 0 : De.repeatableFields), fe && (ae == null ? void 0 : ae.length) === 0 && (alert("addToSectionRepeatableList" + (e == null ? void 0 : e.uuid)), C(
119823
+ console.log("userFormSubmitData before submit", le), console.log("repeatableRowIndex", Z), console.log("userFormSubmitData[repeatableRowIndex]?.repeatableFields", (De = le[Z]) == null ? void 0 : De.repeatableFields), fe && (ae == null ? void 0 : ae.length) === 0 && (alert("addToSectionRepeatableList" + (e == null ? void 0 : e.uuid)), C(
119824
119824
  e == null ? void 0 : e.uuid,
119825
119825
  (Me = le[Z]) == null ? void 0 : Me.repeatableFields
119826
119826
  ), Ht.emit("clearRepeatableFields", e == null ? void 0 : e.uuid), J(), F({
@@ -121172,7 +121172,7 @@ const wxe = WB(mbe), Cxe = (t) => {
121172
121172
  taskRegisterData: E,
121173
121173
  updateTaskRegisterData: D,
121174
121174
  updateTaskProgressValue: R,
121175
- addUserDataFormSectionRepeatableData: N,
121175
+ addUserDataFormRowRepeatableData: N,
121176
121176
  removeUserDataFormSectionRepeatableData: k,
121177
121177
  task_status: P,
121178
121178
  TASK_PUBLISHED: z
@@ -123186,7 +123186,7 @@ const wxe = WB(mbe), Cxe = (t) => {
123186
123186
  taskRegisterData: S,
123187
123187
  updateTaskRegisterData: C,
123188
123188
  updateTaskProgressValue: T,
123189
- addUserDataFormSectionRepeatableData: w,
123189
+ addUserDataFormRowRepeatableData: w,
123190
123190
  removeUserDataFormSectionRepeatableData: E,
123191
123191
  task_status: D,
123192
123192
  TASK_PUBLISHED: R
@@ -124106,7 +124106,7 @@ const wxe = WB(mbe), Cxe = (t) => {
124106
124106
  taskRegisterData: p,
124107
124107
  updateTaskRegisterData: m,
124108
124108
  updateTaskProgressValue: v,
124109
- addUserDataFormSectionRepeatableData: g,
124109
+ addUserDataFormRowRepeatableData: g,
124110
124110
  removeUserDataFormSectionRepeatableData: A,
124111
124111
  task_status: x,
124112
124112
  TASK_PUBLISHED: S
@@ -1,7 +1,7 @@
1
1
  var Bl = Object.defineProperty;
2
2
  var Ml = (n, t, e) => t in n ? Bl(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var T = (n, t, e) => Ml(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { d as ti, i as Rr, a as Hi, b as Dl, e as Br, M as Ul, 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 Pl, n as jl, o as Fi, p as Hl, q as $l, r as Fl, s as zl, t as ii, u as Kl, v as Gl, w as Ft, x as zi, y as xe } from "./main-BA1q3SQK.js";
4
+ import { d as ti, i as Rr, a as Hi, b as Dl, e as Br, M as Ul, 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 Pl, n as jl, o as Fi, p as Hl, q as $l, r as Fl, s as zl, t as ii, u as Kl, v as Gl, w as Ft, x as zi, y as xe } from "./main-Bz0f2Cra.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.283",
3
+ "version": "0.2.284",
4
4
  "type": "module",
5
5
  "types": "dist/types/index",
6
6
  "files": [