@hybr1d-tech/charizard 1.1.113 → 1.1.114
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 +22 -15
- package/dist/hybr1d-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -9930,26 +9930,32 @@ const Jm = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
9930
9930
|
paginationMenu: Ih,
|
|
9931
9931
|
meta: zh
|
|
9932
9932
|
};
|
|
9933
|
-
function yh({
|
|
9934
|
-
|
|
9935
|
-
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
9933
|
+
function yh({
|
|
9934
|
+
setLimit: e,
|
|
9935
|
+
limit: l,
|
|
9936
|
+
itemsOnPage: n,
|
|
9937
|
+
totalItems: c,
|
|
9938
|
+
page: t
|
|
9939
|
+
}) {
|
|
9940
|
+
const s = r2(null), r = (m) => {
|
|
9941
|
+
var d;
|
|
9942
|
+
e(m), (d = s.current) == null || d.blur();
|
|
9943
|
+
}, i = [
|
|
9944
|
+
{ label: "25", value: "25", onClick: () => r(25) },
|
|
9945
|
+
{ label: "50", value: "50", onClick: () => r(50) },
|
|
9946
|
+
{ label: "75", value: "75", onClick: () => r(75) },
|
|
9947
|
+
{ label: "100", value: "100", onClick: () => r(100) }
|
|
9942
9948
|
];
|
|
9943
|
-
if (!c || c === 0 || n === 0)
|
|
9949
|
+
if (!c || !n || c === 0 || n === 0)
|
|
9944
9950
|
return /* @__PURE__ */ a.jsx("div", { className: O0.limitBox });
|
|
9945
|
-
const
|
|
9946
|
-
return c <
|
|
9951
|
+
const o = +i[0].value, u = c - n * t;
|
|
9952
|
+
return c < o || n && n < o || l >= c || u && l >= u ? /* @__PURE__ */ a.jsx("div", { className: O0.limitBox }) : /* @__PURE__ */ a.jsxs("div", { className: O0.limitBox, children: [
|
|
9947
9953
|
/* @__PURE__ */ a.jsx("p", { className: "zap-subcontent-medium", children: "Rows per page" }),
|
|
9948
9954
|
/* @__PURE__ */ a.jsx(
|
|
9949
9955
|
o0.GroupAction,
|
|
9950
9956
|
{
|
|
9951
|
-
ref:
|
|
9952
|
-
menuItems:
|
|
9957
|
+
ref: s,
|
|
9958
|
+
menuItems: i,
|
|
9953
9959
|
variant: W.TERTIARY,
|
|
9954
9960
|
size: t0.SMALL,
|
|
9955
9961
|
customStyles: {
|
|
@@ -10028,7 +10034,8 @@ function u7({ paginationConfig: e }) {
|
|
|
10028
10034
|
setLimit: l,
|
|
10029
10035
|
limit: n,
|
|
10030
10036
|
itemsOnPage: c == null ? void 0 : c.items_on_page,
|
|
10031
|
-
totalItems: c == null ? void 0 : c.total_items
|
|
10037
|
+
totalItems: c == null ? void 0 : c.total_items,
|
|
10038
|
+
page: e.page
|
|
10032
10039
|
}
|
|
10033
10040
|
),
|
|
10034
10041
|
!!o && /* @__PURE__ */ a.jsxs("p", { className: b(O0.meta, "zap-subcontent-medium"), children: [
|