@myparcel-dev/vue-form-builder 1.0.0-beta.44-pdk-compatible → 1.0.0-beta.44-pdk-compatible.1
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.
- package/dist/index.js +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -473,10 +473,9 @@ class We {
|
|
|
473
473
|
n(this, "getFieldMemoized", ge((t) => o(this.fields).find((r) => r.name === t) ?? null));
|
|
474
474
|
const { fields: r, ...i } = e;
|
|
475
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
476
|
const h = this.createFieldInstance(a, this);
|
|
478
|
-
o(this.fields).push(h)
|
|
479
|
-
}),
|
|
477
|
+
o(this.fields).push(h);
|
|
478
|
+
}), 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
479
|
}
|
|
481
480
|
async addElement(t, e, r = "after") {
|
|
482
481
|
await this.hooks.execute(c.BeforeAddElement, this, t);
|