@mintjamsinc/ichigojs 0.1.64 → 0.1.65

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.
@@ -71,6 +71,11 @@ export declare class VBindDirective implements VDirective {
71
71
  * Gets the original expression string from the directive.
72
72
  */
73
73
  get expression(): string | undefined;
74
+ /**
75
+ * Evaluates the bound expression and returns the current value.
76
+ * Returns undefined when no evaluator is available (e.g., empty expression).
77
+ */
78
+ evaluate(): any;
74
79
  /**
75
80
  * @inheritdoc
76
81
  */
@@ -37,6 +37,15 @@ export declare class VDirectiveManager {
37
37
  * If no such directive exists, this returns undefined.
38
38
  */
39
39
  get keyDirective(): VBindDirective | undefined;
40
+ /**
41
+ * Finds a VBindDirective that binds the given attribute name (e.g. "value",
42
+ * "true-value", "false-value"). Returns undefined if no matching v-bind
43
+ * directive is registered on this node.
44
+ *
45
+ * Used by directives such as v-model that need to read the typed value of a
46
+ * sibling v-bind without depending on the attribute order in the source HTML.
47
+ */
48
+ findBindDirective(attrName: string): VBindDirective | undefined;
40
49
  /**
41
50
  * Gets the VBindDirective for options specific to the given directive name.
42
51
  * Searches in order: `:options.{directive}` -> `:options`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintjamsinc/ichigojs",
3
- "version": "0.1.64",
3
+ "version": "0.1.65",
4
4
  "description": "ichigo.js - Simple and intuitive reactive framework. Lightweight, fast, and user-friendly virtual DOM library",
5
5
  "main": "./dist/ichigo.cjs",
6
6
  "module": "./dist/ichigo.esm.js",