@bigbinary/neeto-fields-frontend 1.3.38 → 1.3.39
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/index.cjs.js +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { useFormikContext, useField, FieldArray } from 'formik';
|
|
|
7
7
|
import { t as t$1 } from 'i18next';
|
|
8
8
|
import * as yup from 'yup';
|
|
9
9
|
import { Select, Button, ActionBlock as ActionBlock$1, Input as Input$1, Switch, Form } from '@bigbinary/neetoui/formik';
|
|
10
|
-
import { joinHyphenCase, buildUrl, getQueryParams, dateFormat } from '@bigbinary/neeto-commons-frontend/utils';
|
|
10
|
+
import { joinHyphenCase, buildUrl, getQueryParams, dateFormat, hyphenize } from '@bigbinary/neeto-commons-frontend/utils';
|
|
11
11
|
import { Check, Delete, Reorder } from '@bigbinary/neeto-icons';
|
|
12
12
|
import { useTranslation, Trans } from 'react-i18next';
|
|
13
13
|
import { DEFAULT_PAGE_INDEX, DEFAULT_PAGE_SIZE, PLURAL } from '@bigbinary/neeto-commons-frontend/constants';
|
|
@@ -7998,7 +7998,9 @@ var InlineFieldValueInput = function InlineFieldValueInput(_ref2) {
|
|
|
7998
7998
|
_ref3$component = _ref3.component,
|
|
7999
7999
|
CustomDisplayComponent = _ref3$component === void 0 ? null : _ref3$component;
|
|
8000
8000
|
var DisplayComponent = CustomDisplayComponent || DefaultDisplayComponent;
|
|
8001
|
-
return isEditable ? /*#__PURE__*/React.createElement("div",
|
|
8001
|
+
return isEditable ? /*#__PURE__*/React.createElement("div", {
|
|
8002
|
+
"data-cy": "inline-field-value-input-".concat(hyphenize(field.name))
|
|
8003
|
+
}, /*#__PURE__*/React.createElement(FieldValueInputWrapper, {
|
|
8002
8004
|
field: field,
|
|
8003
8005
|
fieldValues: fieldValues,
|
|
8004
8006
|
onSubmit: function onSubmit(values) {
|