cr-ui-lib 1.1.90 → 1.1.92
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -463,6 +463,7 @@ interface DynamicTableV2Props {
|
|
|
463
463
|
tableSubDivRef?: React$1.Ref<HTMLDivElement>;
|
|
464
464
|
perPagesOptions?: number[];
|
|
465
465
|
tableSubInnerDivClass?: string;
|
|
466
|
+
isShowPerPage?: boolean;
|
|
466
467
|
}
|
|
467
468
|
declare const DynamicTableV2: React$1.FC<DynamicTableV2Props>;
|
|
468
469
|
|
package/dist/index.d.ts
CHANGED
|
@@ -463,6 +463,7 @@ interface DynamicTableV2Props {
|
|
|
463
463
|
tableSubDivRef?: React$1.Ref<HTMLDivElement>;
|
|
464
464
|
perPagesOptions?: number[];
|
|
465
465
|
tableSubInnerDivClass?: string;
|
|
466
|
+
isShowPerPage?: boolean;
|
|
466
467
|
}
|
|
467
468
|
declare const DynamicTableV2: React$1.FC<DynamicTableV2Props>;
|
|
468
469
|
|
package/dist/index.js
CHANGED
|
@@ -4885,7 +4885,8 @@ var DynamicTableV2 = ({
|
|
|
4885
4885
|
tableSubDivClass = "",
|
|
4886
4886
|
tableSubInnerDivClass = "",
|
|
4887
4887
|
tableSubDivRef,
|
|
4888
|
-
perPagesOptions = [10, 20, 50, 100]
|
|
4888
|
+
perPagesOptions = [10, 20, 50, 100],
|
|
4889
|
+
isShowPerPage = true
|
|
4889
4890
|
}) => {
|
|
4890
4891
|
var _a, _b;
|
|
4891
4892
|
const tableRef = React.useRef(null);
|
|
@@ -5145,7 +5146,7 @@ var DynamicTableV2 = ({
|
|
|
5145
5146
|
pageRangeDisplayed: pagination == null ? void 0 : pagination.pageRangeDisplayed
|
|
5146
5147
|
}
|
|
5147
5148
|
) }),
|
|
5148
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-center gap-2", children: [
|
|
5149
|
+
isShowPerPage && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-center gap-2", children: [
|
|
5149
5150
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5150
5151
|
"span",
|
|
5151
5152
|
{
|