@uurtech/jdf 0.1.21 → 0.1.23

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/jdfjs.d.cts CHANGED
@@ -157,8 +157,12 @@ declare class JDFViewer {
157
157
  */
158
158
  private handleFormChange;
159
159
  /**
160
- * Walk every page's elements and yield each form element with its
161
- * resolved name. Used by getFormValues / downloadJdf consumers.
160
+ * Walk every page's elements — recursing into container elements
161
+ * (collapsible / table cells / list items) and the doc + per-page
162
+ * header/footer trees — and yield each form element with its resolved
163
+ * name. Previously this only scanned top-level `page.elements`, so a
164
+ * field nested inside a collapsible section or placed in a header was
165
+ * silently dropped from getFormValues / downloadJdf.
162
166
  */
163
167
  private iterFormFields;
164
168
  toJSON(options?: {
package/dist/jdfjs.d.ts CHANGED
@@ -157,8 +157,12 @@ declare class JDFViewer {
157
157
  */
158
158
  private handleFormChange;
159
159
  /**
160
- * Walk every page's elements and yield each form element with its
161
- * resolved name. Used by getFormValues / downloadJdf consumers.
160
+ * Walk every page's elements — recursing into container elements
161
+ * (collapsible / table cells / list items) and the doc + per-page
162
+ * header/footer trees — and yield each form element with its resolved
163
+ * name. Previously this only scanned top-level `page.elements`, so a
164
+ * field nested inside a collapsible section or placed in a header was
165
+ * silently dropped from getFormValues / downloadJdf.
162
166
  */
163
167
  private iterFormFields;
164
168
  toJSON(options?: {