@mcurros2/microm 1.1.366-0 → 1.1.367-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 +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12865,7 +12865,8 @@ const $3ea298384e41b05b$export$7a235056ace2c138 = {
|
|
|
12865
12865
|
doubleClickAction: "edit",
|
|
12866
12866
|
showColumnsConfigMenu: true,
|
|
12867
12867
|
withModalFullscreenButton: true,
|
|
12868
|
-
showSelectRowsButton: true
|
|
12868
|
+
showSelectRowsButton: true,
|
|
12869
|
+
initialSelectRowsToggle: false
|
|
12869
12870
|
};
|
|
12870
12871
|
function $3ea298384e41b05b$export$c8dd51eb24f71762(props) {
|
|
12871
12872
|
props = (0, $b4te3$mantinecore.useComponentDefaultProps)('DataGrid', $3ea298384e41b05b$export$7a235056ace2c138, props);
|
|
@@ -37910,13 +37911,13 @@ var $7qUhz = parcelRequire("7qUhz");
|
|
|
37910
37911
|
parcelRequire("7xGLy");
|
|
37911
37912
|
var $1uAlg = parcelRequire("1uAlg");
|
|
37912
37913
|
function $8e67432a124f4bfb$export$f77741f33c48605(props, stateProps) {
|
|
37913
|
-
const { entity: entity, parentKeys: parentKeys, viewName: viewName, onSelectionChanged: onSelectionChanged, modalFormSize: modalFormSize, labels: labels, saveFormBeforeAdd: saveFormBeforeAdd, parentFormAPI: parentFormAPI, allwaysRefreshOnEntityClose: allwaysRefreshOnEntityClose, onAddClick: onAddClick, onModalSaved: onModalSaved, onDataRefresh: onDataRefresh, onActionExecuted: onActionExecuted, formMode: formMode, doubleClickAction: doubleClickAction, notExportableColumns: notExportableColumns, withModalFullscreenButton: withModalFullscreenButton, initialHiddenColumns: initialHiddenColumns, enableEdit: enableEdit, enableView: enableView } = props;
|
|
37914
|
+
const { entity: entity, parentKeys: parentKeys, viewName: viewName, onSelectionChanged: onSelectionChanged, modalFormSize: modalFormSize, labels: labels, saveFormBeforeAdd: saveFormBeforeAdd, parentFormAPI: parentFormAPI, allwaysRefreshOnEntityClose: allwaysRefreshOnEntityClose, onAddClick: onAddClick, onModalSaved: onModalSaved, onDataRefresh: onDataRefresh, onActionExecuted: onActionExecuted, formMode: formMode, doubleClickAction: doubleClickAction, notExportableColumns: notExportableColumns, withModalFullscreenButton: withModalFullscreenButton, initialHiddenColumns: initialHiddenColumns, enableEdit: enableEdit, enableView: enableView, initialSelectRowsToggle: initialSelectRowsToggle } = props;
|
|
37914
37915
|
const { setRefresh: setRefresh, setSearchText: setSearchText, executeViewState: executeViewState } = stateProps;
|
|
37915
37916
|
const selection = (0, $b4te3$react.useRef)([]);
|
|
37916
37917
|
const selectionKeys = (0, $b4te3$react.useRef)([]);
|
|
37917
37918
|
const [selectedRowsCount, setSelectedRowsCount] = (0, $b4te3$react.useState)(0);
|
|
37918
37919
|
const [toggleSelectable, setToggleSelectable] = (0, $b4te3$react.useState)(false);
|
|
37919
|
-
const [isLoading, setIsLoading] = (0, $b4te3$react.useState)(false);
|
|
37920
|
+
const [isLoading, setIsLoading] = (0, $b4te3$react.useState)(initialSelectRowsToggle ?? false);
|
|
37920
37921
|
const [columns, setColumns] = (0, $b4te3$react.useState)();
|
|
37921
37922
|
const [rows, setRows] = (0, $b4te3$react.useState)();
|
|
37922
37923
|
const internalRefresh = (0, $b4te3$react.useCallback)(()=>{
|
|
@@ -38469,7 +38470,8 @@ function $9987aca4488b336f$export$deb93aade685e98(props) {
|
|
|
38469
38470
|
enableImport: false,
|
|
38470
38471
|
parentKeys: lookupEntity.parentKeys,
|
|
38471
38472
|
showActions: showActions,
|
|
38472
|
-
modalFormSize: modalFormSize
|
|
38473
|
+
modalFormSize: modalFormSize,
|
|
38474
|
+
initialSelectRowsToggle: true
|
|
38473
38475
|
},
|
|
38474
38476
|
onOK: async (keys)=>{
|
|
38475
38477
|
const abort_controller = new AbortController();
|