@dynamicforms/vue-forms 0.16.0 → 0.16.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.d.ts CHANGED
@@ -710,6 +710,25 @@ export declare abstract class FieldBase<T = any, X extends object = {}> {
710
710
  * different list whatever the items compare as - so the commit announces it without composing a comparison.
711
711
  */
712
712
  protected propagateValueChanged(force?: boolean): void;
713
+ /**
714
+ * The last step of a construction: it runs inside the transaction the construction is, with the parameters
715
+ * applied and the value in place, before the element records what it was built as.
716
+ *
717
+ * A subclass overrides it to complete what the element was built with. What it writes here is part of the
718
+ * construction rather than a change of it: the element announces no ValueChangedAction, and what the hook
719
+ * leaves is what its eager actions and its validators run over, once. An element whose parameters named no
720
+ * `originalValue` is baselined on the value the hook left and so starts unchanged; one that named a baseline is
721
+ * measured against it, as any element is. A `Field` writes
722
+ * `_value`, which reaches the slot on an element built `enabled: false` as well - the value setter, which a
723
+ * disabled field refuses, states a change, and this is not one.
724
+ *
725
+ * A container completes itself through its members, and a member carries a construction of its own: the write
726
+ * reaches it as any later one would, so the member announces it and reports itself changed. A member that is to
727
+ * start unchanged is baselined here as well - `this.fields.x.originalValue = this.fields.x.value`.
728
+ *
729
+ * `params` is the parameter object the constructor received, where it received one.
730
+ */
731
+ protected constructed(params?: object): void;
713
732
  /**
714
733
  * Re-reads the value that the next ValueChangedAction will report as the one it replaces. A leaf records what
715
734
  * it announced at every announcement, so its copy is always current and there is nothing to re-read; a
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dynamicforms/vue-forms",
3
3
  "private": false,
4
- "version": "0.16.0",
4
+ "version": "0.16.1",
5
5
  "type": "module",
6
6
  "description": "A lightweight Vue.js library for form state management with built-in validation, conditional logic, nested structures, and a rich event system. UI-agnostic and TypeScript-first.",
7
7
  "author": "Jure Erzno\u017enik",