@vuu-ui/vuu-table-extras 0.7.0-debug → 0.7.1-debug
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/cjs/index.js +1 -7
- package/cjs/index.js.map +2 -2
- package/esm/index.js +1 -7
- package/esm/index.js.map +2 -2
- package/package.json +8 -8
- package/types/datasource-stats/DatasourceStats.d.ts +2 -2
package/cjs/index.js
CHANGED
|
@@ -2840,15 +2840,10 @@ var DataSourceStats = ({
|
|
|
2840
2840
|
className: classNameProp,
|
|
2841
2841
|
dataSource
|
|
2842
2842
|
}) => {
|
|
2843
|
-
const [optimize, setOptimize] = (0, import_react13.useState)(
|
|
2844
|
-
dataSource.optimize
|
|
2845
|
-
);
|
|
2846
2843
|
const [range, setRange] = (0, import_react13.useState)(dataSource.range);
|
|
2847
2844
|
const [size, setSize] = (0, import_react13.useState)(dataSource.size);
|
|
2848
2845
|
(0, import_react13.useEffect)(() => {
|
|
2849
|
-
setOptimize(dataSource.optimize);
|
|
2850
2846
|
setSize(dataSource.size);
|
|
2851
|
-
dataSource.on("optimize", setOptimize);
|
|
2852
2847
|
dataSource.on("resize", setSize);
|
|
2853
2848
|
dataSource.on("range", setRange);
|
|
2854
2849
|
}, [dataSource]);
|
|
@@ -2861,8 +2856,7 @@ var DataSourceStats = ({
|
|
|
2861
2856
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: `${classBase10}-range`, children: from }),
|
|
2862
2857
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: `${classBase10}-range`, children: to }),
|
|
2863
2858
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: "of" }),
|
|
2864
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: `${classBase10}-size`, children: value })
|
|
2865
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: `${classBase10}-optimize`, children: optimize })
|
|
2859
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: `${classBase10}-size`, children: value })
|
|
2866
2860
|
] });
|
|
2867
2861
|
};
|
|
2868
2862
|
//# sourceMappingURL=index.js.map
|