@bigbinary/neeto-form-frontend 3.12.0 → 3.12.2

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 (38) hide show
  1. package/README.md +2 -0
  2. package/app/javascript/src/translations/en.json +2 -2
  3. package/dist/BuildForm.js +1 -2
  4. package/dist/BuildForm.js.map +1 -1
  5. package/dist/ExternalForm.js +2 -3
  6. package/dist/ExternalForm.js.map +1 -1
  7. package/dist/Submission.js +170 -155
  8. package/dist/Submission.js.map +1 -1
  9. package/dist/UrlBuilder.js +2 -3
  10. package/dist/UrlBuilder.js.map +1 -1
  11. package/dist/cjs/BuildForm.js +3 -4
  12. package/dist/cjs/BuildForm.js.map +1 -1
  13. package/dist/cjs/ExternalForm.js +2 -3
  14. package/dist/cjs/ExternalForm.js.map +1 -1
  15. package/dist/cjs/Submission.js +168 -153
  16. package/dist/cjs/Submission.js.map +1 -1
  17. package/dist/cjs/UrlBuilder.js +12 -13
  18. package/dist/cjs/UrlBuilder.js.map +1 -1
  19. package/dist/cjs/index.js +2 -4
  20. package/dist/cjs/index.js.map +1 -1
  21. package/dist/{constants-DdGn1rF4.js → constants-Cg0HQXNC.js} +335 -4
  22. package/dist/constants-Cg0HQXNC.js.map +1 -0
  23. package/dist/{constants-CIKOBOUZ.js → constants-DojODK3U.js} +363 -8
  24. package/dist/constants-DojODK3U.js.map +1 -0
  25. package/dist/index.js +2 -4
  26. package/dist/index.js.map +1 -1
  27. package/dist/{utils-DbT-aQHP.js → utils-CWpYc-_S.js} +2 -3
  28. package/dist/{utils-DbT-aQHP.js.map → utils-CWpYc-_S.js.map} +1 -1
  29. package/dist/{utils-F-H352VB.js → utils-DE2Rc41X.js} +6 -7
  30. package/dist/{utils-F-H352VB.js.map → utils-DE2Rc41X.js.map} +1 -1
  31. package/package.json +5 -5
  32. package/types.d.ts +1 -1
  33. package/dist/constants-Byuu9IoS.js +0 -339
  34. package/dist/constants-Byuu9IoS.js.map +0 -1
  35. package/dist/constants-CIKOBOUZ.js.map +0 -1
  36. package/dist/constants-CN0KQk0z.js +0 -369
  37. package/dist/constants-CN0KQk0z.js.map +0 -1
  38. package/dist/constants-DdGn1rF4.js.map +0 -1
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  The `neeto-form-nano` allows us to build forms within neeto applications. This nano exports `@bigbinary/neeto-form-frontend` NPM package and `neeto-form-engine` Rails engine.
4
4
 
5
+ See [this page](https://github.com/search?q=org%3Abigbinary+%22neeto-form-engine+%28%22&type=code) to find host applications using this nano. Changes made in the nano should be rolled out to all of them, especially migrations.
6
+
5
7
  # Contents
6
8
  1. [Development with Host Application](#development-with-host-application)
7
9
  - [Engine](#engine)
@@ -60,7 +60,7 @@
60
60
  "domain": "Domain",
61
61
  "domains": "Domains",
62
62
  "viewHelpArticle": "View help article",
63
- "splitAsFirstAndLastNames": "Split as \"First name\" and \"Last name\""
63
+ "splitAsFirstAndLastNames": "Split into \"First name\" and \"Last name\""
64
64
  },
65
65
  "fields": {
66
66
  "mcf": "Multiple choice",
@@ -198,7 +198,7 @@
198
198
  "blacklistedDomains": {
199
199
  "label": "Accept only business emails",
200
200
  "description": "Emails having the following domains will be rejected.",
201
- "popoverDescription": "Enter domains that should be restricted. Emails with these domains will not be accepted."
201
+ "popoverDescription": "Lets you block free email domains like Gmail, Outlook and Yahoo, so only professional emails can book meetings with you."
202
202
  },
203
203
  "helpText": "Press space, tab or enter key after adding a domain.",
204
204
  "removeInvalidDomains": "Click here to remove invalid domains.",
package/dist/BuildForm.js CHANGED
@@ -8,8 +8,7 @@ import { showThumbsUpToastr, withEventTargetValue, hyphenize } from '@bigbinary/
8
8
  import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
9
9
  import { equals, path, curry, assoc, prop, dissoc, when, includes, isEmpty, reject, keys, pick, omit, evolve, map, modify, without, mergeLeft, isNil, pipe, filter, isNotNil, uniq, join, pluck, test, difference, split, last, __, concat, F } from 'ramda';
10
10
  import { i as useDeleteQuestion, Q as QUESTION_TYPES, j as useFetchQuestions, k as useCreateQuestion, l as useUpdateQuestion, C as CAPTCHA_TYPES, m as useReorderQuestions, h as QUERY_KEYS } from './constants-LQk7jxH9.js';
11
- import { Q as QUESTION_KIND } from './constants-Byuu9IoS.js';
12
- import { b as buildDisplayLabel, I as INDEPENDENT_LABELS_MAP, i as isElementOverflowing, D as Drag, S as SELECTABLE_KINDS, c as isAutoGeneratedQuestion, d as isRichTextQuestion, N as NON_BASIC_LATIN_CHARACTERS_REGEX, R as RESERVED_FIELD_CODES, L as LABEL_FIELDS, e as isDefaultLanguage, f as buildDisabledAddButtonTooltipProps, h as buildAddQuestionButtonProps, v as validateEditorContent, F as FIELD_CODES_REJECT_CHARS_REGEX, j as isImmutableField, Q as QUESTIONS_WITHOUT_FIELD_CODE, k as NON_HIDEABLE_FIELDS, l as NON_READ_ONLY_FIELDS, m as RICH_TEXT_QUESTIONS, n as FILE_TYPES_MAP, o as FILE_GROUPS, M as MINIMUM_OPTIONS, p as RATING_OPTIONS, q as STAR_RATING_MIN_VALUE_OPTIONS, r as STAR_RATING_MAX_VALUE_OPTIONS, s as STAR_RATING_ICONS_MAP, t as QUESTION_ACTIONS, u as QUESTION_KINDS, w as getActiveQuestionKindDetails, x as DEFAULT_AVAILABLE_LANGUAGES, y as QUESTIONS_INITIAL_VALUE, z as buildReorderPayload, A as MANDATORY_KINDS } from './constants-DdGn1rF4.js';
11
+ import { d as buildDisplayLabel, e as INDEPENDENT_LABELS_MAP, i as isElementOverflowing, D as Drag, f as SELECTABLE_KINDS, h as isAutoGeneratedQuestion, j as isRichTextQuestion, N as NON_BASIC_LATIN_CHARACTERS_REGEX, k as RESERVED_FIELD_CODES, L as LABEL_FIELDS, l as isDefaultLanguage, m as buildDisabledAddButtonTooltipProps, n as buildAddQuestionButtonProps, v as validateEditorContent, F as FIELD_CODES_REJECT_CHARS_REGEX, o as isImmutableField, Q as QUESTIONS_WITHOUT_FIELD_CODE, p as NON_HIDEABLE_FIELDS, q as NON_READ_ONLY_FIELDS, r as RICH_TEXT_QUESTIONS, s as FILE_TYPES_MAP, t as FILE_GROUPS, M as MINIMUM_OPTIONS, u as RATING_OPTIONS, w as STAR_RATING_MIN_VALUE_OPTIONS, x as STAR_RATING_MAX_VALUE_OPTIONS, y as STAR_RATING_ICONS_MAP, z as QUESTION_ACTIONS, A as QUESTION_KINDS, a as QUESTION_KIND, B as getActiveQuestionKindDetails, G as DEFAULT_AVAILABLE_LANGUAGES, H as QUESTIONS_INITIAL_VALUE, J as buildReorderPayload, K as MANDATORY_KINDS } from './constants-Cg0HQXNC.js';
13
12
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
14
13
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
15
14
  import { Droppable, Draggable, DragDropContext } from '@hello-pangea/dnd';