@bigbinary/neeto-form-frontend 1.2.26 → 1.2.28
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/app/javascript/src/translations/en.json +2 -1
- package/dist/index.cjs.js +13 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +14 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { Typography, Dropdown as Dropdown$2, Tooltip, Button as Button$1, Label,
|
|
|
7
7
|
import { assoc, prop, isEmpty, path, values, compose as compose$1, trim, useWith, split, either, isNil, equals, difference, reject, pluck, keys, pick, omit, insert, not, pipe as pipe$1, toLower, map, includes, isNotNil, times, filter as filter$1 } from 'ramda';
|
|
8
8
|
import { useQuery, useQueryClient, useMutation } from 'react-query';
|
|
9
9
|
import i18next, { t as t$4 } from 'i18next';
|
|
10
|
-
import { Input, Email as Email$2, Phone as Phone$2, Up, Down, MenuHorizontal,
|
|
10
|
+
import { Input, Email as Email$2, Phone as Phone$2, Up, Down, MenuHorizontal, Delete, Plus, NeetoInvisible, Checkbox as Checkbox$2, Radio, Dropdown as Dropdown$3, Rating as Rating$4, Smiley, Calendar, Upload, Check, Close, FileGeneric } from '@bigbinary/neeto-icons';
|
|
11
11
|
import axios from 'axios';
|
|
12
12
|
import ReactDOM, { unstable_batchedUpdates, flushSync as flushSync$1 } from 'react-dom';
|
|
13
13
|
import { Input as Input$1, Textarea, Checkbox, ActionBlock } from '@bigbinary/neetoui/formik';
|
|
@@ -10145,15 +10145,17 @@ var FieldCode = withT(function (_ref) {
|
|
|
10145
10145
|
className: "mt-14",
|
|
10146
10146
|
label: t("neetoForm.questions.common.questionFields.field.fieldCode"),
|
|
10147
10147
|
name: "".concat(name, ".fieldCode"),
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10148
|
+
helpText: /*#__PURE__*/React__default.createElement(Trans, {
|
|
10149
|
+
i18nKey: "neetoForm.questions.common.questionFields.field.fieldCodeHelpDescription",
|
|
10150
|
+
components: {
|
|
10151
|
+
Link: /*#__PURE__*/React__default.createElement(Button$1, {
|
|
10152
|
+
className: "text-xs",
|
|
10153
|
+
href: FIELD_CODE_DOC,
|
|
10154
|
+
style: "link",
|
|
10155
|
+
target: "_blank"
|
|
10156
|
+
})
|
|
10155
10157
|
}
|
|
10156
|
-
}
|
|
10158
|
+
})
|
|
10157
10159
|
}));
|
|
10158
10160
|
});
|
|
10159
10161
|
|
|
@@ -27100,7 +27102,9 @@ var ExternalForm = function ExternalForm(_ref) {
|
|
|
27100
27102
|
questions: questions,
|
|
27101
27103
|
initialValues: submission === null || submission === void 0 ? void 0 : submission.responses,
|
|
27102
27104
|
localValues: preserveValues ? localValues : initialValues,
|
|
27103
|
-
fieldCodes: enablePreFilling ? getQueryParams(
|
|
27105
|
+
fieldCodes: enablePreFilling ? getQueryParams({
|
|
27106
|
+
toCamelCase: false
|
|
27107
|
+
}) : {}
|
|
27104
27108
|
})
|
|
27105
27109
|
}, function (_ref5) {
|
|
27106
27110
|
var isSubmitting = _ref5.isSubmitting,
|