@mcurros2/microm 1.1.10-0 → 1.1.11-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 -674
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8267,7 +8267,7 @@ function $eca5c8f2655679a5$export$c8dd51eb24f71762(props) {
|
|
|
8267
8267
|
setRefresh: viewState.setRefresh,
|
|
8268
8268
|
setSearchText: viewState.setSearchText
|
|
8269
8269
|
});
|
|
8270
|
-
const { isLoading: isLoading, rows: rows, columns: columns } = dataGridAPI;
|
|
8270
|
+
const { isLoading: isLoading, rows: rows, columns: columns, setColumns: setColumns } = dataGridAPI;
|
|
8271
8271
|
const effectiveColumnOverrides = (0, $b4te3$react.useMemo)(()=>{
|
|
8272
8272
|
var _a, _b, _c;
|
|
8273
8273
|
if (!entity || !viewName) return columnsOverrides;
|
|
@@ -8283,9 +8283,10 @@ function $eca5c8f2655679a5$export$c8dd51eb24f71762(props) {
|
|
|
8283
8283
|
const ConfigMenuDropDown = (0, $b4te3$react.useMemo)(()=>(0, $b4te3$reactjsxruntime.jsx)((0, $5Buf1.DataGridColumnsMenu), {
|
|
8284
8284
|
setOpened: setOpenColumnsConfigMenu,
|
|
8285
8285
|
columns: columns,
|
|
8286
|
-
|
|
8286
|
+
setColumns: setColumns
|
|
8287
8287
|
}), [
|
|
8288
|
-
columns
|
|
8288
|
+
columns,
|
|
8289
|
+
setColumns
|
|
8289
8290
|
]);
|
|
8290
8291
|
return (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$reactjsxruntime.Fragment), {
|
|
8291
8292
|
children: renderOnlyWhenVisible && isFirstVisible === false ? (0, $b4te3$reactjsxruntime.jsx)("div", {
|
|
@@ -32807,7 +32808,7 @@ $parcel$export(module.exports, "DataGridColumnsMenu", function () { return $4147
|
|
|
32807
32808
|
|
|
32808
32809
|
|
|
32809
32810
|
function $4147ddc1926c6c51$export$72c73377cef8aa5(props) {
|
|
32810
|
-
const { columns: columns, setOpened: setOpened,
|
|
32811
|
+
const { columns: columns, setOpened: setOpened, setColumns: setColumns } = props;
|
|
32811
32812
|
return (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Menu).Dropdown, {
|
|
32812
32813
|
children: columns === null || columns === void 0 ? void 0 : columns.map((column, index)=>{
|
|
32813
32814
|
return (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Menu).Item, {
|
|
@@ -32816,7 +32817,9 @@ function $4147ddc1926c6c51$export$72c73377cef8aa5(props) {
|
|
|
32816
32817
|
}),
|
|
32817
32818
|
onClick: ()=>{
|
|
32818
32819
|
column.hidden = !column.hidden;
|
|
32819
|
-
|
|
32820
|
+
setColumns([
|
|
32821
|
+
...columns
|
|
32822
|
+
]);
|
|
32820
32823
|
setOpened(false);
|
|
32821
32824
|
},
|
|
32822
32825
|
children: column.text
|
|
@@ -33580,7 +33583,8 @@ function $42d3a2ac8447d6e0$export$f77741f33c48605(props, stateProps) {
|
|
|
33580
33583
|
columns: columns,
|
|
33581
33584
|
rows: rows,
|
|
33582
33585
|
isLoading: isLoading,
|
|
33583
|
-
handleImportDataClick: handleImportDataClick
|
|
33586
|
+
handleImportDataClick: handleImportDataClick,
|
|
33587
|
+
setColumns: setColumns
|
|
33584
33588
|
};
|
|
33585
33589
|
}
|
|
33586
33590
|
|