@bigbinary/neeto-form-frontend 4.4.30 → 4.4.31
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/.ready +1 -1
- package/dist/BuildForm.js +2 -5
- package/dist/BuildForm.js.map +1 -1
- package/dist/ExternalForm.js +2 -2
- package/dist/UrlBuilder.js +2 -2
- package/dist/cjs/BuildForm.js +2 -5
- package/dist/cjs/BuildForm.js.map +1 -1
- package/dist/cjs/ExternalForm.js +2 -2
- package/dist/cjs/UrlBuilder.js +2 -2
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/{utils-Chpa3WfV.js → utils-BGOMnbfz.js} +22 -28
- package/dist/cjs/utils-BGOMnbfz.js.map +1 -0
- package/dist/cjs/v2/BuildForm.js +2 -2
- package/dist/cjs/v2/ExternalForm.js +3 -3
- package/dist/cjs/v2/Submission.js +1 -1
- package/dist/cjs/v2/UrlBuilder.js +3 -3
- package/dist/cjs/v2/{constants-8Qh_klGy.js → constants-DIy-d-Pb.js} +1 -2
- package/dist/cjs/v2/constants-DIy-d-Pb.js.map +1 -0
- package/dist/cjs/v2/index.js +3 -3
- package/dist/cjs/v2/{utils-D9M66-fW.js → utils-HcpqL79u.js} +60 -107
- package/dist/cjs/v2/utils-HcpqL79u.js.map +1 -0
- package/dist/cjs/v2/{yup-D0709IcB.js → yup-x0_gSePS.js} +3 -17
- package/dist/cjs/v2/yup-x0_gSePS.js.map +1 -0
- package/dist/cjs/{yup-D6N80GBs.js → yup-ClZ8UAn4.js} +2 -3
- package/dist/cjs/yup-ClZ8UAn4.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/{utils-BjX8Pya3.js → utils-DJxVM1eN.js} +22 -28
- package/dist/utils-DJxVM1eN.js.map +1 -0
- package/dist/v2/BuildForm.js +2 -2
- package/dist/v2/ExternalForm.js +3 -3
- package/dist/v2/Submission.js +1 -1
- package/dist/v2/UrlBuilder.js +3 -3
- package/dist/v2/{constants-C8P1Mxiw.js → constants-CZ7swzMG.js} +1 -2
- package/dist/v2/constants-CZ7swzMG.js.map +1 -0
- package/dist/v2/index.js +3 -3
- package/dist/v2/{utils-ChX-SjYc.js → utils-Ct-wyP0d.js} +61 -108
- package/dist/v2/utils-Ct-wyP0d.js.map +1 -0
- package/dist/v2/{yup-CKd8MXQx.js → yup-BlOEEJNr.js} +3 -17
- package/dist/v2/yup-BlOEEJNr.js.map +1 -0
- package/dist/{yup-DTRIvkls.js → yup-5EabgWxl.js} +2 -3
- package/dist/yup-5EabgWxl.js.map +1 -0
- package/package.json +1 -1
- package/dist/cjs/utils-Chpa3WfV.js.map +0 -1
- package/dist/cjs/v2/constants-8Qh_klGy.js.map +0 -1
- package/dist/cjs/v2/utils-D9M66-fW.js.map +0 -1
- package/dist/cjs/v2/yup-D0709IcB.js.map +0 -1
- package/dist/cjs/yup-D6N80GBs.js.map +0 -1
- package/dist/utils-BjX8Pya3.js.map +0 -1
- package/dist/v2/constants-C8P1Mxiw.js.map +0 -1
- package/dist/v2/utils-ChX-SjYc.js.map +0 -1
- package/dist/v2/yup-CKd8MXQx.js.map +0 -1
- package/dist/yup-DTRIvkls.js.map +0 -1
package/dist/ExternalForm.js
CHANGED
|
@@ -25,8 +25,8 @@ import { a as isBlank, g as getComponentDisplayName, p as parseServerError } fro
|
|
|
25
25
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
26
26
|
import Check from '@bigbinary/neeto-icons/Check';
|
|
27
27
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
28
|
-
import { C as CALLOUT_POSITIONS, b as CALLOUT_STYLES, L as LAST_ELEMENTS_THRESHOLD, Q as QUESTION_KIND } from './yup-
|
|
29
|
-
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-
|
|
28
|
+
import { C as CALLOUT_POSITIONS, b as CALLOUT_STYLES, L as LAST_ELEMENTS_THRESHOLD, Q as QUESTION_KIND } from './yup-5EabgWxl.js';
|
|
29
|
+
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-DJxVM1eN.js';
|
|
30
30
|
import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
31
31
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
32
32
|
import '@bigbinary/neeto-commons-frontend/constants';
|
package/dist/UrlBuilder.js
CHANGED
|
@@ -10,10 +10,10 @@ import Button from '@bigbinary/neetoui/Button';
|
|
|
10
10
|
import NoData from '@bigbinary/neetoui/NoData';
|
|
11
11
|
import { mergeLeft, map, filter, pluck, isEmpty } from 'ramda';
|
|
12
12
|
import { useTranslation } from 'react-i18next';
|
|
13
|
-
import { F as FormikWrap, g as getFieldComponent, b as buildAutoCompleteAttribute, m as mergeRefs, a as generateInitValues } from './utils-
|
|
13
|
+
import { F as FormikWrap, g as getFieldComponent, b as buildAutoCompleteAttribute, m as mergeRefs, a as generateInitValues } from './utils-DJxVM1eN.js';
|
|
14
14
|
import { d as usePublicForm } from './constants-fjoeNdhb.js';
|
|
15
15
|
import { parsePhoneNumber } from 'libphonenumber-js';
|
|
16
|
-
import { Q as QUESTION_KIND, a as QUESTIONS_WITHOUT_FIELD_CODE } from './yup-
|
|
16
|
+
import { Q as QUESTION_KIND, a as QUESTIONS_WITHOUT_FIELD_CODE } from './yup-5EabgWxl.js';
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
import './index-Cx0yvXwJ.js';
|
|
19
19
|
import '@babel/runtime/helpers/typeof';
|
package/dist/cjs/BuildForm.js
CHANGED
|
@@ -6,7 +6,7 @@ var neetoCist = require('@bigbinary/neeto-cist');
|
|
|
6
6
|
var Spinner = require('@bigbinary/neetoui/Spinner');
|
|
7
7
|
var ramda = require('ramda');
|
|
8
8
|
var constants = require('./constants-CUBwzMb-.js');
|
|
9
|
-
var yup = require('./yup-
|
|
9
|
+
var yup = require('./yup-ClZ8UAn4.js');
|
|
10
10
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
11
11
|
var React = require('react');
|
|
12
12
|
var dnd = require('@hello-pangea/dnd');
|
|
@@ -488,7 +488,6 @@ var _excluded$c = ["labelKey"];
|
|
|
488
488
|
function ownKeys$j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
489
489
|
function _objectSpread$j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$j(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
490
490
|
var TERMS_AND_CONDITION = constants.QUESTION_TYPES.TERMS_AND_CONDITION,
|
|
491
|
-
CONDITION = constants.QUESTION_TYPES.CONDITION,
|
|
492
491
|
CAPTCHA$2 = constants.QUESTION_TYPES.CAPTCHA,
|
|
493
492
|
OPINION_SCALE$2 = constants.QUESTION_TYPES.OPINION_SCALE,
|
|
494
493
|
ADDRESS$2 = constants.QUESTION_TYPES.ADDRESS;
|
|
@@ -496,10 +495,8 @@ var TERMS_AND_CONDITION = constants.QUESTION_TYPES.TERMS_AND_CONDITION,
|
|
|
496
495
|
// i18n keys for the prefilled default values that must follow the builder's
|
|
497
496
|
// selected language and be persisted into every available language. Address
|
|
498
497
|
// field defaults are keyed per-field via `labelKey` on the field object.
|
|
499
|
-
var LOCALIZED_DEFAULT_LABEL_KEYS = _defineProperty(_defineProperty(_defineProperty(
|
|
498
|
+
var LOCALIZED_DEFAULT_LABEL_KEYS = _defineProperty(_defineProperty(_defineProperty({}, TERMS_AND_CONDITION, {
|
|
500
499
|
label: "neetoForm.common.agreeTermsAndConditions"
|
|
501
|
-
}), CONDITION, {
|
|
502
|
-
label: "neetoForm.common.agreeCondition"
|
|
503
500
|
}), CAPTCHA$2, {
|
|
504
501
|
label: "neetoForm.questions.common.questionFields.field.verifyHuman"
|
|
505
502
|
}), OPINION_SCALE$2, {
|