@unvired/turboforms-embed-sdk 2.0.54 → 2.0.56

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
@@ -8,11 +8,31 @@ export interface loadFormOptions {
8
8
  mode?: "pdf" | "readOnly" | "form" | "render" | "print" | string;
9
9
  platform?: "android" | "web" | "ios" | string;
10
10
  permission?: "writemultiple" | "writesingle" | "read" | string;
11
- language?: string;
11
+ /**
12
+ * You can specify any language code here as long as you provide the corresponding translations.
13
+ * i18n standard codes are recommended (e.g., 'en' for English, 'kn' for Kannada, 'fr' for French).
14
+ * There is no limit to how many languages you can use, as long as translations are provided.
15
+ */
16
+ language?: "en" | "kn" | "hi" | "es" | "fr" | "de" | "it" | string;
12
17
  privateExternal?: string | boolean;
13
18
  title?: string;
14
19
 
15
- translations?: any;
20
+ /**
21
+ * An object containing translation mappings.
22
+ * You can add an unlimited number of languages here.
23
+ * Example:
24
+ * ```json
25
+ * {
26
+ * "en": {
27
+ * "Submit": "Submit"
28
+ * },
29
+ * "fr": {
30
+ * "Submit": "Soumettre"
31
+ * }
32
+ * }
33
+ * ```
34
+ */
35
+ translations?: Record<string, Record<string, string>>;
16
36
  themeData?: any;
17
37
  userData?: any;
18
38
  controlData?: any;