@bigbinary/neeto-form-frontend 3.10.13 → 3.10.14
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/cjs/BuildForm.js +7 -7
- package/dist/cjs/BuildForm.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/BuildForm.js
CHANGED
|
@@ -35,10 +35,10 @@ var uuid = require('uuid');
|
|
|
35
35
|
var NoData = require('@bigbinary/neetoui/NoData');
|
|
36
36
|
var Pane = require('@bigbinary/neetoui/Pane');
|
|
37
37
|
var Form$2 = require('@bigbinary/neetoui/formik/Form');
|
|
38
|
-
var Textarea = require('@bigbinary/neetoui/formik/Textarea');
|
|
39
38
|
var Accordion = require('@bigbinary/neetoui/Accordion');
|
|
40
39
|
var Select = require('@bigbinary/neetoui/formik/Select');
|
|
41
40
|
var Switch = require('@bigbinary/neetoui/formik/Switch');
|
|
41
|
+
var Textarea = require('@bigbinary/neetoui/formik/Textarea');
|
|
42
42
|
var NeetoEditor = require('@bigbinary/neeto-editor/Editor');
|
|
43
43
|
var Button = require('@bigbinary/neetoui/Button');
|
|
44
44
|
var Input = require('@bigbinary/neetoui/formik/Input');
|
|
@@ -999,19 +999,19 @@ var Form$1 = function Form(_ref) {
|
|
|
999
999
|
label: t("neetoForm.common.hideQuestion"),
|
|
1000
1000
|
labelProps: hideSwitchLabelProps(hideQuestionHelpDoc),
|
|
1001
1001
|
name: "isHidden"
|
|
1002
|
-
}), shouldShowReadOnlySwitch && /*#__PURE__*/jsxRuntime.jsx(Switch, {
|
|
1003
|
-
label: t("neetoForm.common.readOnly"),
|
|
1004
|
-
labelProps: readOnlySwitchLabelProps(readOnlyHelpDoc),
|
|
1005
|
-
name: "isReadOnly"
|
|
1006
1002
|
})]
|
|
1007
1003
|
}), (shouldShowFieldCode || shouldShowReadOnlySwitch) && /*#__PURE__*/jsxRuntime.jsx(Accordion, {
|
|
1008
1004
|
className: "neeto-form-nano-advanced-properties-accordion",
|
|
1009
1005
|
"data-cy": "advanced-properties-card",
|
|
1010
1006
|
children: /*#__PURE__*/jsxRuntime.jsx(Accordion.Item, {
|
|
1011
1007
|
title: t("neetoForm.common.advancedProperties"),
|
|
1012
|
-
children: /*#__PURE__*/jsxRuntime.
|
|
1008
|
+
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
1013
1009
|
className: "flex flex-col space-y-4",
|
|
1014
|
-
children: shouldShowFieldCode && /*#__PURE__*/jsxRuntime.jsx(FieldCode, {})
|
|
1010
|
+
children: [shouldShowFieldCode && /*#__PURE__*/jsxRuntime.jsx(FieldCode, {}), shouldShowReadOnlySwitch && /*#__PURE__*/jsxRuntime.jsx(Switch, {
|
|
1011
|
+
label: t("neetoForm.common.readOnly"),
|
|
1012
|
+
labelProps: readOnlySwitchLabelProps(readOnlyHelpDoc),
|
|
1013
|
+
name: "isReadOnly"
|
|
1014
|
+
})]
|
|
1015
1015
|
})
|
|
1016
1016
|
})
|
|
1017
1017
|
})]
|