munza-x-data-grid 3.0.5 → 3.0.7
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.cjs +16 -16
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import * as e from "react";
|
|
2
3
|
import t, { createContext as n, createElement as r, forwardRef as i, memo as a, useCallback as o, useContext as s, useEffect as c, useLayoutEffect as l, useMemo as u, useReducer as d, useRef as f, useState as p } from "react";
|
|
3
4
|
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
@@ -1616,7 +1617,7 @@ var At = ({ refs: e, axis: t = "both" }) => {
|
|
|
1616
1617
|
};
|
|
1617
1618
|
}, [e, t]);
|
|
1618
1619
|
}, jt = n(void 0), Mt = ({ children: e, payload: n, columns: r, state: i = {}, onColumnFiltersChange: a, onPaginationChange: o, onSortingChange: s, onRowSelectionChange: c, setGlobalFilter: l, manualPagination: d = !1, enableRowSelection: p = !0, isError: m, isLoading: g, isFetching: _, refetch: v, getRowCanExpand: y, renderSubComponent: b, name: x = "munza", height: S }) => {
|
|
1619
|
-
let C = f(null), [w, T] = t.useState(
|
|
1620
|
+
let C = f(null), [w, T] = t.useState("md"), [E, D] = _t(x), [O, k] = lt(x), [A, j] = at(x, u(() => r.map((e) => e.id), [r])), [M, N] = kt(x), [P, F] = pt(x), [I, ee] = t.useState({}), [te, ne] = Tt(x), re = tt({
|
|
1620
1621
|
_features: [yt],
|
|
1621
1622
|
data: n?.data ?? [],
|
|
1622
1623
|
columns: r,
|