@myparcel-dev/vue-form-builder 1.0.0-beta.44-pdk.1 → 1.0.0-beta.44-pdk-compatible

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -472,11 +472,11 @@ class We {
472
472
  n(this, "values");
473
473
  n(this, "getFieldMemoized", ge((t) => o(this.fields).find((r) => r.name === t) ?? null));
474
474
  const { fields: r, ...i } = e;
475
- console.log("[VFB DEBUG] Form constructor called:", t), console.log("[VFB DEBUG] fields from config:", r), console.log("[VFB DEBUG] fields length:", r == null ? void 0 : r.length), e.hookNames = [...ee, ...e.hookNames ?? []], this.hooks = Z(e), this.on = this.hooks.register.bind(this.hooks), this.off = this.hooks.unregister.bind(this.hooks), this.name = t, this.config = i, this.values = $({}), y(this.config.field.wrapper), y(this.config.fieldDefaults.wrapper), console.log("[VFB DEBUG] About to iterate fields, count:", r == null ? void 0 : r.length), r.forEach((a, u) => {
476
- console.log("[VFB DEBUG] Processing field", u, a);
475
+ e.hookNames = [...ee, ...e.hookNames ?? []], this.hooks = Z(e), this.on = this.hooks.register.bind(this.hooks), this.off = this.hooks.unregister.bind(this.hooks), this.name = t, this.config = i, this.values = $({}), y(this.config.field.wrapper), y(this.config.fieldDefaults.wrapper), r.forEach((a, u) => {
476
+ ;
477
477
  const h = this.createFieldInstance(a, this);
478
- console.log("[VFB DEBUG] Created instance:", h), o(this.fields).push(h), console.log("[VFB DEBUG] this.fields now has", o(this.fields).length, "items");
479
- }), console.log("[VFB DEBUG] After loop, this.fields:", o(this.fields)), this.interactiveFields = b(() => o(this.fields).filter((a) => p(a, "ref"))), this.isDirty = b(() => o(this.interactiveFields).some((a) => o(a.isDirty))), this.stable.value = !0;
478
+ o(this.fields).push(h), .length, "items");
479
+ }), ), this.interactiveFields = b(() => o(this.fields).filter((a) => p(a, "ref"))), this.isDirty = b(() => o(this.interactiveFields).some((a) => o(a.isDirty))), this.stable.value = !0;
480
480
  }
481
481
  async addElement(t, e, r = "after") {
482
482
  await this.hooks.execute(c.BeforeAddElement, this, t);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myparcel-dev/vue-form-builder",
3
- "version": "1.0.0-beta.44-pdk.1",
3
+ "version": "1.0.0-beta.44-pdk-compatible",
4
4
  "keywords": [
5
5
  "vue",
6
6
  "form-builder",