@bigbinary/neeto-form-frontend 3.10.13 → 3.10.15
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/BuildForm.js +7 -7
- package/dist/BuildForm.js.map +1 -1
- package/dist/ExternalForm.js +1 -1
- package/dist/UrlBuilder.js +1 -1
- package/dist/cjs/BuildForm.js +7 -7
- package/dist/cjs/BuildForm.js.map +1 -1
- package/dist/cjs/ExternalForm.js +1 -1
- package/dist/cjs/UrlBuilder.js +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{utils-BrgDSuZe.js → utils-D8uRXCf7.js} +9 -1
- package/dist/utils-D8uRXCf7.js.map +1 -0
- package/dist/{utils-BfdHlZ_G.js → utils-DsCV6pFi.js} +9 -1
- package/dist/utils-DsCV6pFi.js.map +1 -0
- package/package.json +7 -7
- package/dist/utils-BfdHlZ_G.js.map +0 -1
- package/dist/utils-BrgDSuZe.js.map +0 -1
package/dist/BuildForm.js
CHANGED
|
@@ -33,10 +33,10 @@ import { v4 } from 'uuid';
|
|
|
33
33
|
import NoData from '@bigbinary/neetoui/NoData';
|
|
34
34
|
import Pane from '@bigbinary/neetoui/Pane';
|
|
35
35
|
import Form$2 from '@bigbinary/neetoui/formik/Form';
|
|
36
|
-
import Textarea from '@bigbinary/neetoui/formik/Textarea';
|
|
37
36
|
import Accordion from '@bigbinary/neetoui/Accordion';
|
|
38
37
|
import Select from '@bigbinary/neetoui/formik/Select';
|
|
39
38
|
import Switch from '@bigbinary/neetoui/formik/Switch';
|
|
39
|
+
import Textarea from '@bigbinary/neetoui/formik/Textarea';
|
|
40
40
|
import NeetoEditor from '@bigbinary/neeto-editor/Editor';
|
|
41
41
|
import Button from '@bigbinary/neetoui/Button';
|
|
42
42
|
import Input from '@bigbinary/neetoui/formik/Input';
|
|
@@ -978,19 +978,19 @@ var Form$1 = function Form(_ref) {
|
|
|
978
978
|
label: t("neetoForm.common.hideQuestion"),
|
|
979
979
|
labelProps: hideSwitchLabelProps(hideQuestionHelpDoc),
|
|
980
980
|
name: "isHidden"
|
|
981
|
-
}), shouldShowReadOnlySwitch && /*#__PURE__*/jsx(Switch, {
|
|
982
|
-
label: t("neetoForm.common.readOnly"),
|
|
983
|
-
labelProps: readOnlySwitchLabelProps(readOnlyHelpDoc),
|
|
984
|
-
name: "isReadOnly"
|
|
985
981
|
})]
|
|
986
982
|
}), (shouldShowFieldCode || shouldShowReadOnlySwitch) && /*#__PURE__*/jsx(Accordion, {
|
|
987
983
|
className: "neeto-form-nano-advanced-properties-accordion",
|
|
988
984
|
"data-cy": "advanced-properties-card",
|
|
989
985
|
children: /*#__PURE__*/jsx(Accordion.Item, {
|
|
990
986
|
title: t("neetoForm.common.advancedProperties"),
|
|
991
|
-
children: /*#__PURE__*/
|
|
987
|
+
children: /*#__PURE__*/jsxs("div", {
|
|
992
988
|
className: "flex flex-col space-y-4",
|
|
993
|
-
children: shouldShowFieldCode && /*#__PURE__*/jsx(FieldCode, {})
|
|
989
|
+
children: [shouldShowFieldCode && /*#__PURE__*/jsx(FieldCode, {}), shouldShowReadOnlySwitch && /*#__PURE__*/jsx(Switch, {
|
|
990
|
+
label: t("neetoForm.common.readOnly"),
|
|
991
|
+
labelProps: readOnlySwitchLabelProps(readOnlyHelpDoc),
|
|
992
|
+
name: "isReadOnly"
|
|
993
|
+
})]
|
|
994
994
|
})
|
|
995
995
|
})
|
|
996
996
|
})]
|