@bigbinary/neeto-rules-frontend 2.5.7 → 2.5.8
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/NeetoRulesForm.js +20 -17
- package/dist/NeetoRulesForm.js.map +1 -1
- package/dist/cjs/NeetoRulesForm.js +20 -17
- package/dist/cjs/NeetoRulesForm.js.map +1 -1
- package/package.json +13 -13
package/dist/NeetoRulesForm.js
CHANGED
|
@@ -4836,25 +4836,28 @@ var Form = function Form(_ref) {
|
|
|
4836
4836
|
values = _ref2.values,
|
|
4837
4837
|
fromikBag = _objectWithoutProperties(_ref2, _excluded);
|
|
4838
4838
|
return /*#__PURE__*/jsxs(Form$1, {
|
|
4839
|
+
className: classNames(["w-full px-0 md:px-14 xl:px-24", className]),
|
|
4839
4840
|
ref: formRef,
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4841
|
+
children: [/*#__PURE__*/jsxs("div", {
|
|
4842
|
+
className: "space-y-6",
|
|
4843
|
+
children: [/*#__PURE__*/jsx(InputField, {
|
|
4844
|
+
required: true,
|
|
4845
|
+
data: initialValues,
|
|
4846
|
+
label: t("neetoRules.common.name"),
|
|
4847
|
+
name: "name"
|
|
4848
|
+
}), /*#__PURE__*/jsx(TextareaField, {
|
|
4849
|
+
data: initialValues,
|
|
4850
|
+
label: t("neetoRules.common.description"),
|
|
4851
|
+
name: "description"
|
|
4852
|
+
}), showStatusSwitch && /*#__PURE__*/jsx(Status, {}), typeof _children === "function" ? _children === null || _children === void 0 ? void 0 : _children(_objectSpread$1({
|
|
4853
|
+
values: values,
|
|
4854
|
+
formattedValues: buildPayload(data, values),
|
|
4855
|
+
dirty: dirty
|
|
4856
|
+
}, fromikBag)) : _children, /*#__PURE__*/jsx(ScrollToErrorField, {
|
|
4857
|
+
formRef: formRef
|
|
4858
|
+
})]
|
|
4856
4859
|
}), /*#__PURE__*/jsx("div", {
|
|
4857
|
-
className: "py-
|
|
4860
|
+
className: "neeto-ui-bg-white sticky bottom-0 py-6",
|
|
4858
4861
|
children: /*#__PURE__*/jsx(ActionBlock, {
|
|
4859
4862
|
cancelButtonProps: {
|
|
4860
4863
|
onClick: handleCancel
|