@mcurros2/microm 1.1.161-0 → 1.1.163-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 +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3852,7 +3852,8 @@ const $5cdab1be66fbf6ab$export$6ccb6e1de3749d56 = {
|
|
|
3852
3852
|
toggleLabel: 'Toggle',
|
|
3853
3853
|
FullScreenIcon: (0, $b4te3$tablericonsreact.IconArrowsDiagonal),
|
|
3854
3854
|
RestoreScreeSizeIcon: (0, $b4te3$tablericonsreact.IconArrowsDiagonalMinimize2),
|
|
3855
|
-
withCloseButton: true
|
|
3855
|
+
withCloseButton: true,
|
|
3856
|
+
withFullscreenButton: true
|
|
3856
3857
|
};
|
|
3857
3858
|
const $5cdab1be66fbf6ab$var$NEW_SIZES = {
|
|
3858
3859
|
xs: '20%',
|
|
@@ -3886,6 +3887,8 @@ const $5cdab1be66fbf6ab$export$4a25ee9b30a3b11c = ({ modalProps: modalProps, ani
|
|
|
3886
3887
|
if (!focusOnClosed) focusOnClosed = document.activeElement;
|
|
3887
3888
|
// Default for closeButton
|
|
3888
3889
|
if (modalProps.withCloseButton === undefined) modalProps.withCloseButton = $5cdab1be66fbf6ab$export$6ccb6e1de3749d56.withCloseButton;
|
|
3890
|
+
// Default full screen button
|
|
3891
|
+
if (modalProps.withFullscreenButton === undefined) modalProps.withFullscreenButton = $5cdab1be66fbf6ab$export$6ccb6e1de3749d56.withFullscreenButton;
|
|
3889
3892
|
// If content is a Promise
|
|
3890
3893
|
if ((0, $lTNXP.isPromise)(content)) {
|
|
3891
3894
|
content.then((resolvedContent)=>{
|
|
@@ -33829,7 +33832,7 @@ const $9987aca4488b336f$export$cfa3d1bdbe24a61 = {
|
|
|
33829
33832
|
enableExport: false
|
|
33830
33833
|
};
|
|
33831
33834
|
function $9987aca4488b336f$export$deb93aade685e98(props) {
|
|
33832
|
-
const { lookupEntity: lookupEntity, viewName: viewName, onOK: onOK, addingRecords: addingRecords, title: title, onCancel: onCancel, onActionFinished: onActionFinished, runOnOpen: runOnOpen, confirmContent: confirmContent, showActions: showActions, enableAdd: enableAdd, enableEdit: enableEdit, enableDelete: enableDelete, enableView: enableView, enableExport: enableExport } = (0, $b4te3$mantinecore.useComponentDefaultProps)('LookupFormAction', $9987aca4488b336f$export$cfa3d1bdbe24a61, props);
|
|
33835
|
+
const { lookupEntity: lookupEntity, viewName: viewName, onOK: onOK, addingRecords: addingRecords, title: title, onCancel: onCancel, onActionFinished: onActionFinished, runOnOpen: runOnOpen, confirmContent: confirmContent, showActions: showActions, enableAdd: enableAdd, enableEdit: enableEdit, enableDelete: enableDelete, enableView: enableView, enableExport: enableExport, modalFormSize: modalFormSize } = (0, $b4te3$mantinecore.useComponentDefaultProps)('LookupFormAction', $9987aca4488b336f$export$cfa3d1bdbe24a61, props);
|
|
33833
33836
|
const modal = (0, $k7qj2.useModal)();
|
|
33834
33837
|
const LookpIcon = lookupEntity.Icon ?? (0, $b4te3$tablericonsreact.IconBoxMultiple);
|
|
33835
33838
|
const labels = (0, $kjFvY.DataGridDefaultProps).labels;
|
|
@@ -33847,7 +33850,8 @@ function $9987aca4488b336f$export$deb93aade685e98(props) {
|
|
|
33847
33850
|
enableExport: enableExport,
|
|
33848
33851
|
enableImport: false,
|
|
33849
33852
|
parentKeys: lookupEntity.parentKeys,
|
|
33850
|
-
showActions: showActions
|
|
33853
|
+
showActions: showActions,
|
|
33854
|
+
modalFormSize: modalFormSize
|
|
33851
33855
|
},
|
|
33852
33856
|
onOK: async (keys)=>{
|
|
33853
33857
|
const abort_controller = new AbortController();
|