@bigbinary/neeto-form-frontend 4.4.9 → 4.4.11

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.
Files changed (59) hide show
  1. package/README.md +2 -4
  2. package/app/javascript/src/translations/en.json +9 -1
  3. package/dist/.ready +1 -0
  4. package/dist/BuildForm.js +3127 -0
  5. package/dist/BuildForm.js.map +1 -0
  6. package/dist/ExternalForm.js +647 -0
  7. package/dist/ExternalForm.js.map +1 -0
  8. package/dist/NeetoFormProvider.js +11 -0
  9. package/dist/NeetoFormProvider.js.map +1 -0
  10. package/dist/Submission.js +2832 -0
  11. package/dist/Submission.js.map +1 -0
  12. package/dist/UrlBuilder.js +317 -0
  13. package/dist/UrlBuilder.js.map +1 -0
  14. package/dist/buildForm-CrOWLvLE.js +35 -0
  15. package/dist/buildForm-CrOWLvLE.js.map +1 -0
  16. package/dist/buildForm-DfMpfuSp.js +38 -0
  17. package/dist/buildForm-DfMpfuSp.js.map +1 -0
  18. package/dist/cjs/BuildForm.js +3148 -0
  19. package/dist/cjs/BuildForm.js.map +1 -0
  20. package/dist/cjs/ExternalForm.js +649 -0
  21. package/dist/cjs/ExternalForm.js.map +1 -0
  22. package/dist/cjs/NeetoFormProvider.js +13 -0
  23. package/dist/cjs/NeetoFormProvider.js.map +1 -0
  24. package/dist/cjs/Submission.js +2834 -0
  25. package/dist/cjs/Submission.js.map +1 -0
  26. package/dist/cjs/UrlBuilder.js +319 -0
  27. package/dist/cjs/UrlBuilder.js.map +1 -0
  28. package/dist/cjs/hooks.js +33 -0
  29. package/dist/cjs/hooks.js.map +1 -0
  30. package/dist/cjs/index.js +114 -0
  31. package/dist/cjs/index.js.map +1 -0
  32. package/dist/constants-Cj0XxE8a.js +494 -0
  33. package/dist/constants-Cj0XxE8a.js.map +1 -0
  34. package/dist/constants-D5JlvWws.js +513 -0
  35. package/dist/constants-D5JlvWws.js.map +1 -0
  36. package/dist/hooks.js +20 -0
  37. package/dist/hooks.js.map +1 -0
  38. package/dist/index-Beo6ztaM.js +51 -0
  39. package/dist/index-Beo6ztaM.js.map +1 -0
  40. package/dist/index-DhtQJpD_.js +43 -0
  41. package/dist/index-DhtQJpD_.js.map +1 -0
  42. package/dist/index.js +96 -0
  43. package/dist/index.js.map +1 -0
  44. package/dist/main.css +2 -0
  45. package/dist/main.css.map +1 -0
  46. package/dist/useFormSubmission-D3O7sDHp.js +24 -0
  47. package/dist/useFormSubmission-D3O7sDHp.js.map +1 -0
  48. package/dist/useFormSubmission-PLRMfzJ3.js +22 -0
  49. package/dist/useFormSubmission-PLRMfzJ3.js.map +1 -0
  50. package/dist/utils-H7u9B9Jq.js +2731 -0
  51. package/dist/utils-H7u9B9Jq.js.map +1 -0
  52. package/dist/utils-QSMxxdQN.js +2762 -0
  53. package/dist/utils-QSMxxdQN.js.map +1 -0
  54. package/dist/yup-B3JGBWm7.js +1029 -0
  55. package/dist/yup-B3JGBWm7.js.map +1 -0
  56. package/dist/yup-DfKhsn0t.js +1114 -0
  57. package/dist/yup-DfKhsn0t.js.map +1 -0
  58. package/package.json +8 -8
  59. package/types.d.ts +1 -0
package/README.md CHANGED
@@ -7,7 +7,7 @@ nano exports `@bigbinary/neeto-form-frontend` NPM package and
7
7
  See
8
8
  [this page](https://github.com/search?q=org%3Abigbinary+%22neeto-form-engine+%28%22&type=code)
9
9
  to find host applications using this nano. Changes made in the nano should be
10
- rolled out to all of them, especially migrations.
10
+ rolled out to all of them, especially migrations..
11
11
 
12
12
  # Contents
13
13
 
@@ -19,7 +19,7 @@ rolled out to all of them, especially migrations.
19
19
  - [Usage](#usage)
20
20
  2. [Instructions for Publishing](#instructions-for-publishing)
21
21
 
22
- # Development with Host Application
22
+ # Development with Host Application
23
23
 
24
24
  ## Engine
25
25
 
@@ -65,8 +65,6 @@ model. It also stores submissions.
65
65
  mount NeetoFormEngine::Engine, at: "/neeto_form"
66
66
  ```
67
67
 
68
- **NOTE: The mount point must be `/neeto_form` and cannot be changed to any
69
- other path.**
70
68
 
71
69
  6. Create file `neeto_form_engine.rb` under `config/initializers` to provide the
72
70
  `owner_class` information
@@ -144,7 +144,7 @@
144
144
  "questionType": "Question type",
145
145
  "hideQuestionHelpDescription": "When enabled, this question will not be visible in the created form. It can be used to track \"reference ids\" and UTM parameters.",
146
146
  "responseVisibleOnlyToHostHelpDescription": "When enabled, the response to this question will only be visible to the host",
147
- "readOnlyHelpDescription": "When enabled, the client will only be able to see the answer of this question, but will not be able to change the answer of this question. Since you are marking this question as \"read-only\" you should pre-fill the question with an answer.",
147
+ "readOnlyHelpDescription": "When enabled, the client will only be able to see the answer of this question, but will not be able to change the answer of this question. Since you are marking this question as \"read-only\". You should pre-fill the question with an answer.",
148
148
  "fitImagesHelpDescription": "When enabled, images zoom to fill the entire space (some edges may get cut off). When disabled, the complete image is shown (may have empty space around it).",
149
149
  "verifyHuman": "Verify that you are a human",
150
150
  "pictureChoiceSettings": "Picture choice settings",
@@ -154,6 +154,14 @@
154
154
  }
155
155
  }
156
156
  },
157
+ "textarea": {
158
+ "minimumWords": "Minimum number of words",
159
+ "minimumWordsHelpDescription": "User must type specified number of words otherwise user will not be able to submit the form.",
160
+ "minimumWordsError_one": "Minimum {{count}} word is required.",
161
+ "minimumWordsError_other": "Minimum {{count}} words are required.",
162
+ "minimumWordsMinError": "Minimum number of words must be 1 or higher.",
163
+ "minimumWordsMaxError": "Number of words can't be higher than 10,000."
164
+ },
157
165
  "opinionScale": {
158
166
  "showLabels": "Show labels",
159
167
  "leftLabel": "Left label",
package/dist/.ready ADDED
@@ -0,0 +1 @@
1
+ Built at 2026-03-26T11:40:05.395Z