@mcurros2/microm 1.1.415-0 → 1.1.416-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 +3 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4377,9 +4377,6 @@ function $896277638843ba48$export$894a0a0a56a800a7() {
|
|
|
4377
4377
|
operation: "other",
|
|
4378
4378
|
okButtonText: $896277638843ba48$export$f5e2cdf14a0d5fe.continueLabel,
|
|
4379
4379
|
cancelButtonText: $896277638843ba48$export$f5e2cdf14a0d5fe.cancelLabel,
|
|
4380
|
-
cancelButtonProps: {
|
|
4381
|
-
color: 'gray'
|
|
4382
|
-
},
|
|
4383
4380
|
onOK: async ()=>{
|
|
4384
4381
|
confirmed = true;
|
|
4385
4382
|
await modals.close();
|
|
@@ -4400,11 +4397,7 @@ function $896277638843ba48$export$894a0a0a56a800a7() {
|
|
|
4400
4397
|
children: $896277638843ba48$export$f5e2cdf14a0d5fe.warningTitle
|
|
4401
4398
|
})
|
|
4402
4399
|
]
|
|
4403
|
-
})
|
|
4404
|
-
size: 'md',
|
|
4405
|
-
withCloseButton: false,
|
|
4406
|
-
closeOnClickOutside: false,
|
|
4407
|
-
closeOnEscape: false
|
|
4400
|
+
})
|
|
4408
4401
|
},
|
|
4409
4402
|
// single resolution point: fires on any close, so an external close counts as cancel
|
|
4410
4403
|
onClosed: ()=>resolve(confirmed)
|
|
@@ -4686,7 +4679,7 @@ const $6d150b07756690a5$export$1c1b666b210bfb32 = {
|
|
|
4686
4679
|
formHeight: '100%'
|
|
4687
4680
|
};
|
|
4688
4681
|
function $6d150b07756690a5$export$6d892edbc3527d79(props) {
|
|
4689
|
-
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, disableOK: disableOK } = (0, $b4te3$mantinecore.useComponentDefaultProps)('EntityForm', $6d150b07756690a5$export$1c1b666b210bfb32, props);
|
|
4682
|
+
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, disableOK: disableOK, loadingOK: loadingOK } = (0, $b4te3$mantinecore.useComponentDefaultProps)('EntityForm', $6d150b07756690a5$export$1c1b666b210bfb32, props);
|
|
4690
4683
|
const { entity: entity } = formAPI;
|
|
4691
4684
|
const theme = (0, $b4te3$mantinecore.useMantineTheme)();
|
|
4692
4685
|
const { handleCancel: handleCancel, handleSubmit: handleSubmit, notifyValidationErrorState: notifyValidationErrorState, status: status, form: form, formMode: formMode, showDescriptionState: showDescriptionState, isFormValid: isFormValid, asyncErrors: asyncErrors } = formAPI;
|
|
@@ -4789,7 +4782,7 @@ function $6d150b07756690a5$export$6d892edbc3527d79(props) {
|
|
|
4789
4782
|
variant: okButtonVariant,
|
|
4790
4783
|
type: "submit",
|
|
4791
4784
|
color: form.isDirty() ? isDirtyColor : theme.primaryColor,
|
|
4792
|
-
loading: status?.loading,
|
|
4785
|
+
loading: loadingOK || status?.loading,
|
|
4793
4786
|
disabled: disableOK === true || disableOKIfNotDirty && !form.isDirty(),
|
|
4794
4787
|
leftIcon: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconCircleCheck), {
|
|
4795
4788
|
size: "1.125rem"
|