@dmitryvim/form-builder 0.2.8 → 0.2.10

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.
@@ -1,17 +0,0 @@
1
- import type { DisplayCondition } from "../types/index.js";
2
- /**
3
- * Get value from nested object path
4
- * Supports nested paths: "address.city"
5
- * Supports array indices: "items[0].name", "contacts[1].email"
6
- * @param data - Form data object
7
- * @param path - Dot notation path with optional array indices
8
- * @returns The value at the path, or undefined if not found
9
- */
10
- export declare function getValueByPath(data: any, path: string): any;
11
- /**
12
- * Evaluate a display condition against form data
13
- * @param condition - Display condition to evaluate
14
- * @param formData - Current form data
15
- * @returns true if condition is met (field should be displayed), false otherwise
16
- */
17
- export declare function evaluateDisplayCondition(condition: DisplayCondition, formData: Record<string, any>): boolean;