@hybr1d-tech/charizard 1.1.113 → 1.1.115
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/hybr1d-ui.js +4 -7
- package/dist/hybr1d-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -9931,19 +9931,16 @@ const Jm = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
9931
9931
|
meta: zh
|
|
9932
9932
|
};
|
|
9933
9933
|
function yh({ setLimit: e, limit: l, itemsOnPage: n, totalItems: c }) {
|
|
9934
|
-
const t = r2(null), s = (
|
|
9935
|
-
var
|
|
9936
|
-
e(
|
|
9934
|
+
const t = r2(null), s = (i) => {
|
|
9935
|
+
var o;
|
|
9936
|
+
e(i), (o = t.current) == null || o.blur();
|
|
9937
9937
|
}, r = [
|
|
9938
9938
|
{ label: "25", value: "25", onClick: () => s(25) },
|
|
9939
9939
|
{ label: "50", value: "50", onClick: () => s(50) },
|
|
9940
9940
|
{ label: "75", value: "75", onClick: () => s(75) },
|
|
9941
9941
|
{ label: "100", value: "100", onClick: () => s(100) }
|
|
9942
9942
|
];
|
|
9943
|
-
|
|
9944
|
-
return /* @__PURE__ */ a.jsx("div", { className: O0.limitBox });
|
|
9945
|
-
const i = +r[0].value;
|
|
9946
|
-
return c < i || n && n < i || l >= c ? /* @__PURE__ */ a.jsx("div", { className: O0.limitBox }) : /* @__PURE__ */ a.jsxs("div", { className: O0.limitBox, children: [
|
|
9943
|
+
return !c || !n || c === 0 || n === 0 ? /* @__PURE__ */ a.jsx("div", { className: O0.limitBox }) : n < l ? /* @__PURE__ */ a.jsx("div", { className: O0.limitBox }) : /* @__PURE__ */ a.jsxs("div", { className: O0.limitBox, children: [
|
|
9947
9944
|
/* @__PURE__ */ a.jsx("p", { className: "zap-subcontent-medium", children: "Rows per page" }),
|
|
9948
9945
|
/* @__PURE__ */ a.jsx(
|
|
9949
9946
|
o0.GroupAction,
|