@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
|
@@ -4857,25 +4857,28 @@ var Form = function Form(_ref) {
|
|
|
4857
4857
|
values = _ref2.values,
|
|
4858
4858
|
fromikBag = _objectWithoutProperties(_ref2, _excluded);
|
|
4859
4859
|
return /*#__PURE__*/jsxRuntime.jsxs(formik.Form, {
|
|
4860
|
+
className: classNames(["w-full px-0 md:px-14 xl:px-24", className]),
|
|
4860
4861
|
ref: formRef,
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4862
|
+
children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
4863
|
+
className: "space-y-6",
|
|
4864
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(InputField, {
|
|
4865
|
+
required: true,
|
|
4866
|
+
data: initialValues,
|
|
4867
|
+
label: t("neetoRules.common.name"),
|
|
4868
|
+
name: "name"
|
|
4869
|
+
}), /*#__PURE__*/jsxRuntime.jsx(TextareaField, {
|
|
4870
|
+
data: initialValues,
|
|
4871
|
+
label: t("neetoRules.common.description"),
|
|
4872
|
+
name: "description"
|
|
4873
|
+
}), showStatusSwitch && /*#__PURE__*/jsxRuntime.jsx(Status, {}), typeof _children === "function" ? _children === null || _children === void 0 ? void 0 : _children(_objectSpread$1({
|
|
4874
|
+
values: values,
|
|
4875
|
+
formattedValues: buildPayload(data, values),
|
|
4876
|
+
dirty: dirty
|
|
4877
|
+
}, fromikBag)) : _children, /*#__PURE__*/jsxRuntime.jsx(ScrollToErrorField, {
|
|
4878
|
+
formRef: formRef
|
|
4879
|
+
})]
|
|
4877
4880
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
4878
|
-
className: "py-
|
|
4881
|
+
className: "neeto-ui-bg-white sticky bottom-0 py-6",
|
|
4879
4882
|
children: /*#__PURE__*/jsxRuntime.jsx(ActionBlock, {
|
|
4880
4883
|
cancelButtonProps: {
|
|
4881
4884
|
onClick: handleCancel
|