@bigbinary/neeto-form-frontend 4.4.32 → 4.4.33

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 (44) hide show
  1. package/app/javascript/src/translations/en.json +3 -0
  2. package/dist/.ready +1 -1
  3. package/dist/BuildForm.js +34 -4
  4. package/dist/BuildForm.js.map +1 -1
  5. package/dist/ExternalForm.js +2 -2
  6. package/dist/UrlBuilder.js +2 -2
  7. package/dist/cjs/BuildForm.js +34 -4
  8. package/dist/cjs/BuildForm.js.map +1 -1
  9. package/dist/cjs/ExternalForm.js +2 -2
  10. package/dist/cjs/UrlBuilder.js +2 -2
  11. package/dist/cjs/index.js +2 -2
  12. package/dist/cjs/{utils-BGOMnbfz.js → utils-Xnit8PUn.js} +2 -2
  13. package/dist/cjs/{utils-BGOMnbfz.js.map → utils-Xnit8PUn.js.map} +1 -1
  14. package/dist/cjs/v2/BuildForm.js +34 -4
  15. package/dist/cjs/v2/BuildForm.js.map +1 -1
  16. package/dist/cjs/v2/ExternalForm.js +2 -2
  17. package/dist/cjs/v2/UrlBuilder.js +2 -2
  18. package/dist/cjs/v2/index.js +2 -2
  19. package/dist/cjs/v2/{utils-Del875LZ.js → utils-DO12kVcq.js} +2 -2
  20. package/dist/cjs/v2/{utils-Del875LZ.js.map → utils-DO12kVcq.js.map} +1 -1
  21. package/dist/cjs/v2/{yup-7xdcVVow.js → yup-DH3aFnam.js} +5 -2
  22. package/dist/cjs/v2/yup-DH3aFnam.js.map +1 -0
  23. package/dist/cjs/{yup-ClZ8UAn4.js → yup-DZgfXVgs.js} +5 -2
  24. package/dist/cjs/yup-DZgfXVgs.js.map +1 -0
  25. package/dist/index.js +2 -2
  26. package/dist/{utils-DJxVM1eN.js → utils-Chj7ZOKi.js} +2 -2
  27. package/dist/{utils-DJxVM1eN.js.map → utils-Chj7ZOKi.js.map} +1 -1
  28. package/dist/v2/BuildForm.js +34 -4
  29. package/dist/v2/BuildForm.js.map +1 -1
  30. package/dist/v2/ExternalForm.js +2 -2
  31. package/dist/v2/UrlBuilder.js +2 -2
  32. package/dist/v2/index.js +2 -2
  33. package/dist/v2/{utils-DsxkYUMo.js → utils-CW12NXEG.js} +2 -2
  34. package/dist/v2/{utils-DsxkYUMo.js.map → utils-CW12NXEG.js.map} +1 -1
  35. package/dist/v2/{yup-Ddfa0GAg.js → yup-Cddsv0mm.js} +5 -2
  36. package/dist/v2/yup-Cddsv0mm.js.map +1 -0
  37. package/dist/{yup-5EabgWxl.js → yup-CwN-8JrO.js} +5 -2
  38. package/dist/yup-CwN-8JrO.js.map +1 -0
  39. package/package.json +3 -3
  40. package/types.d.ts +4 -0
  41. package/dist/cjs/v2/yup-7xdcVVow.js.map +0 -1
  42. package/dist/cjs/yup-ClZ8UAn4.js.map +0 -1
  43. package/dist/v2/yup-Ddfa0GAg.js.map +0 -1
  44. package/dist/yup-5EabgWxl.js.map +0 -1
@@ -18,9 +18,9 @@ import { I18nextProvider, useTranslation } from 'react-i18next';
18
18
  import { d as usePublicForm, g as useCreateSubmission, h as useUpdateSubmission, f as useSubmission, Q as QUERY_KEYS } from './useFormApi-B5a0zkAT.js';
19
19
  import { g as getComponentDisplayName } from './index-CUrkh_zd.js';
20
20
  import { jsx, jsxs } from 'react/jsx-runtime';
21
- import { c as clientI18nInstance, d as getWithExpiry, e as clearEmailVerificationDetails, F as FormikWrap, g as getFieldComponent, b as buildAutoCompleteAttribute, r as renderButtonsInOrder, m as mergeRefs, a as generateInitValues, f as generateFormResponse, h as clearLocalStorageValues } from './utils-DsxkYUMo.js';
21
+ import { c as clientI18nInstance, d as getWithExpiry, e as clearEmailVerificationDetails, F as FormikWrap, g as getFieldComponent, b as buildAutoCompleteAttribute, r as renderButtonsInOrder, m as mergeRefs, a as generateInitValues, f as generateFormResponse, h as clearLocalStorageValues } from './utils-CW12NXEG.js';
22
22
  import Close from '@bigbinary/neeto-icons/Close';
23
- import { i as isBlank, C as CALLOUT_POSITIONS, b as CALLOUT_STYLES, L as LAST_ELEMENTS_THRESHOLD, Q as QUESTION_KIND, p as parseServerError } from './yup-Ddfa0GAg.js';
23
+ import { i as isBlank, C as CALLOUT_POSITIONS, b as CALLOUT_STYLES, L as LAST_ELEMENTS_THRESHOLD, Q as QUESTION_KIND, p as parseServerError } from './yup-Cddsv0mm.js';
24
24
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
25
25
  import Check from '@bigbinary/neeto-icons/Check';
26
26
  import { withT } from '@bigbinary/neeto-commons-frontend/v2/react-utils';
@@ -9,9 +9,9 @@ import PageLoader from '@bigbinary/neeto-molecules/v2/PageLoader';
9
9
  import { mergeLeft, map, filter, pluck, isEmpty } from 'ramda';
10
10
  import { useTranslation } from 'react-i18next';
11
11
  import { d as usePublicForm } from './useFormApi-B5a0zkAT.js';
12
- import { F as FormikWrap, g as getFieldComponent, b as buildAutoCompleteAttribute, m as mergeRefs, a as generateInitValues } from './utils-DsxkYUMo.js';
12
+ import { F as FormikWrap, g as getFieldComponent, b as buildAutoCompleteAttribute, m as mergeRefs, a as generateInitValues } from './utils-CW12NXEG.js';
13
13
  import { parsePhoneNumber } from 'libphonenumber-js';
14
- import { Q as QUESTION_KIND, a as QUESTIONS_WITHOUT_FIELD_CODE } from './yup-Ddfa0GAg.js';
14
+ import { Q as QUESTION_KIND, a as QUESTIONS_WITHOUT_FIELD_CODE } from './yup-Cddsv0mm.js';
15
15
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
16
16
  import '@babel/runtime/helpers/toConsumableArray';
17
17
  import '@babel/runtime/helpers/objectWithoutProperties';
package/dist/v2/index.js CHANGED
@@ -11,7 +11,7 @@ import '@tanstack/react-query';
11
11
  import 'classnames';
12
12
  import '@bigbinary/neeto-cist';
13
13
  import 'ramda';
14
- import './yup-Ddfa0GAg.js';
14
+ import './yup-Cddsv0mm.js';
15
15
  import 'i18next';
16
16
  import 'react';
17
17
  import '@babel/runtime/helpers/toConsumableArray';
@@ -72,7 +72,7 @@ import '@bigbinary/neeto-icons/Warning';
72
72
  import '@bigbinary/neeto-molecules/v2/PageLoader';
73
73
  import './index-CUrkh_zd.js';
74
74
  import '@bigbinary/neeto-editor/utils';
75
- import './utils-DsxkYUMo.js';
75
+ import './utils-CW12NXEG.js';
76
76
  import '@bigbinary/neeto-commons-frontend/utils';
77
77
  import 'libphonenumber-js';
78
78
  import '@bigbinary/neeto-editor/v2/EditorContent';
@@ -2,7 +2,7 @@ import { useEffect, useState, useImperativeHandle, memo, Fragment as Fragment$1
2
2
  import { useFormikContext, useField, Field as Field$1, FastField } from 'formik';
3
3
  import { isPresent, findBy, isNotEmpty, filterBy, findById, isNotPresent, hyphenate, noop, toLabelAndValue, getRandomInt, randomPick, slugify, notEqualsDeep } from '@bigbinary/neeto-cist';
4
4
  import { dayjs, buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
5
- import { c as isFunction, d as isEmptyValues, Q as QUESTION_KIND, A as ADDRESS_FIELD_TYPES, S as SPOT_QUESTION_DEFAULT_VALUE, P as PARENTHESES_REGEX, R as RATING_VALUES, E as EMAIL_REGEX, e as SCHEMA_LESS_QUESTION_KINDS, f as SIX_DIGIT_NUMBER_REGEX, g as fieldWithFallback, h as ADDRESS_FIELD_WIDTHS, j as LABEL_FIELDS, k as generateArray, D as DEFAULT_CHOICE_QUESTION_ATTRIBUTES, l as RADIO_DESELECT_KEYS, m as RATING_OPTIONS, I as ICONS_MAP } from './yup-Ddfa0GAg.js';
5
+ import { c as isFunction, d as isEmptyValues, Q as QUESTION_KIND, A as ADDRESS_FIELD_TYPES, S as SPOT_QUESTION_DEFAULT_VALUE, P as PARENTHESES_REGEX, R as RATING_VALUES, E as EMAIL_REGEX, e as SCHEMA_LESS_QUESTION_KINDS, f as SIX_DIGIT_NUMBER_REGEX, g as fieldWithFallback, h as ADDRESS_FIELD_WIDTHS, j as LABEL_FIELDS, k as generateArray, D as DEFAULT_CHOICE_QUESTION_ATTRIBUTES, l as RADIO_DESELECT_KEYS, m as RATING_OPTIONS, I as ICONS_MAP } from './yup-Cddsv0mm.js';
6
6
  import { parsePhoneNumber } from 'libphonenumber-js';
7
7
  import { getFromLocalStorage, setToLocalStorage, removeFromLocalStorage, dayjs as dayjs$1, withEventTargetValue } from '@bigbinary/neeto-commons-frontend/v2/utils';
8
8
  import { pick, mergeRight, omit, isEmpty, max, when, is, last, includes, __, mergeLeft, isNil, clamp, prop, trim, map, zipObj, identity, pluck, values, pipe, dec, equals } from 'ramda';
@@ -2712,4 +2712,4 @@ var getVisibleOptions = function getVisibleOptions(options) {
2712
2712
  };
2713
2713
 
2714
2714
  export { FormikWrap as F, generateInitValues as a, buildAutoCompleteAttribute as b, clientI18nInstance$1 as c, getWithExpiry as d, clearEmailVerificationDetails as e, generateFormResponse as f, getFieldComponent as g, clearLocalStorageValues as h, mergeRefs as m, renderButtonsInOrder as r };
2715
- //# sourceMappingURL=utils-DsxkYUMo.js.map
2715
+ //# sourceMappingURL=utils-CW12NXEG.js.map