@mcurros2/microm 1.1.365-0 → 1.1.366-0
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.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3748,10 +3748,11 @@ const $6d150b07756690a5$export$1c1b666b210bfb32 = {
|
|
|
3748
3748
|
preventEnterSubmission: true,
|
|
3749
3749
|
isDirtyColor: 'green',
|
|
3750
3750
|
cancelButtonVariant: 'light',
|
|
3751
|
-
okButtonVariant: 'filled'
|
|
3751
|
+
okButtonVariant: 'filled',
|
|
3752
|
+
formHeight: '100%'
|
|
3752
3753
|
};
|
|
3753
3754
|
function $6d150b07756690a5$export$6d892edbc3527d79(props) {
|
|
3754
|
-
const { formAPI: formAPI, children: children, showOK: showOK, showCancel: showCancel, showErrors: showErrors, showFormValidationNotification: showFormValidationNotification, showLoadingProgress: showLoadingProgress, OKText: OKText, CancelText: CancelText, invalidFieldsLabel: invalidFieldsLabel, showHelpButton: showHelpButton, preventEnterSubmission: preventEnterSubmission, CloseText: CloseText, buttons: buttons, isDirtyColor: isDirtyColor, cancelButtonVariant: cancelButtonVariant, okButtonVariant: okButtonVariant, disableOKIfNotDirty: disableOKIfNotDirty } = (0, $b4te3$mantinecore.useComponentDefaultProps)('EntityForm', $6d150b07756690a5$export$1c1b666b210bfb32, props);
|
|
3755
|
+
const { formAPI: formAPI, children: children, showOK: showOK, showCancel: showCancel, showErrors: showErrors, showFormValidationNotification: showFormValidationNotification, showLoadingProgress: showLoadingProgress, OKText: OKText, CancelText: CancelText, invalidFieldsLabel: invalidFieldsLabel, showHelpButton: showHelpButton, preventEnterSubmission: preventEnterSubmission, CloseText: CloseText, buttons: buttons, isDirtyColor: isDirtyColor, cancelButtonVariant: cancelButtonVariant, okButtonVariant: okButtonVariant, disableOKIfNotDirty: disableOKIfNotDirty, formHeight: formHeight } = (0, $b4te3$mantinecore.useComponentDefaultProps)('EntityForm', $6d150b07756690a5$export$1c1b666b210bfb32, props);
|
|
3755
3756
|
const { entity: entity } = formAPI;
|
|
3756
3757
|
const theme = (0, $b4te3$mantinecore.useMantineTheme)();
|
|
3757
3758
|
const { handleCancel: handleCancel, handleSubmit: handleSubmit, notifyValidationErrorState: notifyValidationErrorState, status: status, form: form, formMode: formMode, showDescriptionState: showDescriptionState, isFormValid: isFormValid, asyncErrors: asyncErrors } = formAPI;
|
|
@@ -3789,6 +3790,9 @@ function $6d150b07756690a5$export$6d892edbc3527d79(props) {
|
|
|
3789
3790
|
children: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsxs)("form", {
|
|
3790
3791
|
onSubmit: handleSubmit,
|
|
3791
3792
|
onKeyDown: preventEnterSubmission ? handleKeyDown : undefined,
|
|
3793
|
+
style: {
|
|
3794
|
+
height: formHeight
|
|
3795
|
+
},
|
|
3792
3796
|
onInvalid: ()=>setNotifyValidationError(true),
|
|
3793
3797
|
children: [
|
|
3794
3798
|
showLoadingProgress && status.loading && /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $lFsp3.FakeProgressBar), {
|
|
@@ -3814,7 +3818,8 @@ function $6d150b07756690a5$export$6d892edbc3527d79(props) {
|
|
|
3814
3818
|
borderWidth: 0,
|
|
3815
3819
|
margin: 0,
|
|
3816
3820
|
padding: 0,
|
|
3817
|
-
minInlineSize: 'unset'
|
|
3821
|
+
minInlineSize: 'unset',
|
|
3822
|
+
height: formHeight
|
|
3818
3823
|
},
|
|
3819
3824
|
children: children
|
|
3820
3825
|
}),
|