@mcurros2/microm 1.1.30-0 → 1.1.32-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
|
@@ -8315,12 +8315,13 @@ const $eca5c8f2655679a5$export$7a235056ace2c138 = {
|
|
|
8315
8315
|
showActionsToolbar: true,
|
|
8316
8316
|
doubleClickAction: "edit",
|
|
8317
8317
|
showColumnsConfigMenu: true,
|
|
8318
|
-
withModalFullscreenButton: true
|
|
8318
|
+
withModalFullscreenButton: true,
|
|
8319
|
+
showSelectRowsButton: true
|
|
8319
8320
|
};
|
|
8320
8321
|
function $eca5c8f2655679a5$export$c8dd51eb24f71762(props) {
|
|
8321
8322
|
var _a;
|
|
8322
8323
|
props = (0, $b4te3$mantinecore.useComponentDefaultProps)("DataGrid", $eca5c8f2655679a5$export$7a235056ace2c138, props);
|
|
8323
|
-
const { entity: entity, selectionMode: selectionMode, gridHeight: gridHeight, preserveSelection: preserveSelection, autoSelectFirstRow: autoSelectFirstRow, autoFocus: autoFocus, toolbarIconVariant: toolbarIconVariant, actionsButtonVariant: actionsButtonVariant, enableAdd: enableAdd, enableEdit: enableEdit, enableDelete: enableDelete, enableView: enableView, enableExport: enableExport, columnBorders: columnBorders, autoSizeColumnsOnLoad: autoSizeColumnsOnLoad, rowBorders: rowBorders, withBorder: withBorder, labels: labels, columnsOverrides: columnsOverrides, toolbarSize: toolbarSize, viewName: viewName, showActions: showActions, renderOnlyWhenVisible: renderOnlyWhenVisible, filtersFormSize: filtersFormSize, parentKeys: parentKeys, search: search, limit: limit, parentFormAPI: parentFormAPI, showToolbar: showToolbar, showActionsToolbar: showActionsToolbar, enableImport: enableImport, setInitialFiltersFromColumns: setInitialFiltersFromColumns, visibleFilters: visibleFilters, formMode: formMode, showColumnsConfigMenu: showColumnsConfigMenu } = props;
|
|
8324
|
+
const { entity: entity, selectionMode: selectionMode, gridHeight: gridHeight, preserveSelection: preserveSelection, autoSelectFirstRow: autoSelectFirstRow, autoFocus: autoFocus, toolbarIconVariant: toolbarIconVariant, actionsButtonVariant: actionsButtonVariant, enableAdd: enableAdd, enableEdit: enableEdit, enableDelete: enableDelete, enableView: enableView, enableExport: enableExport, columnBorders: columnBorders, autoSizeColumnsOnLoad: autoSizeColumnsOnLoad, rowBorders: rowBorders, withBorder: withBorder, labels: labels, columnsOverrides: columnsOverrides, toolbarSize: toolbarSize, viewName: viewName, showActions: showActions, renderOnlyWhenVisible: renderOnlyWhenVisible, filtersFormSize: filtersFormSize, parentKeys: parentKeys, search: search, limit: limit, parentFormAPI: parentFormAPI, showToolbar: showToolbar, showActionsToolbar: showActionsToolbar, enableImport: enableImport, setInitialFiltersFromColumns: setInitialFiltersFromColumns, visibleFilters: visibleFilters, formMode: formMode, showColumnsConfigMenu: showColumnsConfigMenu, showSelectRowsButton: showSelectRowsButton } = props;
|
|
8324
8325
|
const theme = (0, $b4te3$mantinecore.useMantineTheme)();
|
|
8325
8326
|
const visibilityDivRef = (0, $b4te3$react.useRef)(null);
|
|
8326
8327
|
const isFirstVisible = (0, $i27OQ.useFirstVisible)(visibilityDivRef);
|
|
@@ -8391,7 +8392,8 @@ function $eca5c8f2655679a5$export$c8dd51eb24f71762(props) {
|
|
|
8391
8392
|
showColumnsConfig: showColumnsConfigMenu,
|
|
8392
8393
|
configMenuOpened: openColumnsConfigMenu,
|
|
8393
8394
|
setConfigMenuOpened: setOpenColumnsConfigMenu,
|
|
8394
|
-
configMenuDropdown: ConfigMenuDropDown
|
|
8395
|
+
configMenuDropdown: ConfigMenuDropDown,
|
|
8396
|
+
showSelectRowsButton: showSelectRowsButton
|
|
8395
8397
|
})),
|
|
8396
8398
|
showActionsToolbar && (0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$reactjsxruntime.Fragment), {
|
|
8397
8399
|
children: [
|
|
@@ -32879,7 +32881,7 @@ function $4147ddc1926c6c51$export$72c73377cef8aa5(props) {
|
|
|
32879
32881
|
const { columns: columns, setOpened: setOpened, setColumns: setColumns } = props;
|
|
32880
32882
|
return (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Menu).Dropdown, {
|
|
32881
32883
|
children: (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.ScrollArea), {
|
|
32882
|
-
h: "
|
|
32884
|
+
h: "20rem",
|
|
32883
32885
|
children: columns === null || columns === void 0 ? void 0 : columns.map((column, index)=>{
|
|
32884
32886
|
return (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Menu).Item, {
|
|
32885
32887
|
icon: column.hidden ? (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconCircleDashedCheck), {
|