cr-ui-lib 1.1.58 → 1.1.59
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.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -4827,7 +4827,8 @@ var DynamicTableV2 = ({
|
|
|
4827
4827
|
tableClass = "",
|
|
4828
4828
|
hasPagination = true,
|
|
4829
4829
|
tableSubDivClass = "",
|
|
4830
|
-
tableSubDivRef
|
|
4830
|
+
tableSubDivRef,
|
|
4831
|
+
perPagesOptions = [10, 20, 50, 100]
|
|
4831
4832
|
}) => {
|
|
4832
4833
|
var _a, _b;
|
|
4833
4834
|
const tableRef = React.useRef(null);
|
|
@@ -5093,7 +5094,7 @@ var DynamicTableV2 = ({
|
|
|
5093
5094
|
}
|
|
5094
5095
|
),
|
|
5095
5096
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
5096
|
-
/* @__PURE__ */ jsxRuntime.
|
|
5097
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5097
5098
|
"select",
|
|
5098
5099
|
{
|
|
5099
5100
|
value: pagination == null ? void 0 : pagination.per_page,
|
|
@@ -5105,12 +5106,7 @@ var DynamicTableV2 = ({
|
|
|
5105
5106
|
borderColor: "#E0E1E6",
|
|
5106
5107
|
fontSize: "12px"
|
|
5107
5108
|
},
|
|
5108
|
-
children:
|
|
5109
|
-
/* @__PURE__ */ jsxRuntime.jsx("option", { value: 10, children: "10" }),
|
|
5110
|
-
/* @__PURE__ */ jsxRuntime.jsx("option", { value: 20, children: "20" }),
|
|
5111
|
-
/* @__PURE__ */ jsxRuntime.jsx("option", { value: 50, children: "50" }),
|
|
5112
|
-
/* @__PURE__ */ jsxRuntime.jsx("option", { value: 100, children: "100" })
|
|
5113
|
-
]
|
|
5109
|
+
children: perPagesOptions.map((v, i) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: v, children: v }, i))
|
|
5114
5110
|
}
|
|
5115
5111
|
),
|
|
5116
5112
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute right-[5px] bottom-1/2 top-1/2 pt-[5px] transform -translate-y-1/2 w-3 h-3 text-gray-400 pointer-events-none", children: /* @__PURE__ */ jsxRuntime.jsx(
|