df-ae-forms-package 1.0.45 → 1.0.47

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
@@ -1008,6 +1008,22 @@ declare class ToastService {
1008
1008
  }
1009
1009
  declare const toastService: ToastService;
1010
1010
 
1011
+ /**
1012
+ * Configuration for PDF generation
1013
+ * IMPORTANT: The components array should contain the form components with their VALUES populated.
1014
+ * Each component should have:
1015
+ * - basic.value: The user-entered value (NOT just defaultValue)
1016
+ * - basic.label: The field label
1017
+ *
1018
+ * Example:
1019
+ * {
1020
+ * name: 'text-input',
1021
+ * basic: {
1022
+ * label: 'Name',
1023
+ * value: 'John Doe' // <-- This should be the ENTERED value, not defaultValue
1024
+ * }
1025
+ * }
1026
+ */
1011
1027
  interface GeneratePdfOptions {
1012
1028
  formTitle: string;
1013
1029
  formDescription?: string;