@apexcura/ui-components 0.0.11-Beta253 → 0.0.11-Beta255
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.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -619,7 +619,7 @@ var import_antd13 = require("antd");
|
|
|
619
619
|
// src/Components/ModelBody.tsx
|
|
620
620
|
var import_react19 = __toESM(require("react"));
|
|
621
621
|
var ModelBody = (props) => {
|
|
622
|
-
return
|
|
622
|
+
return /* @__PURE__ */ import_react19.default.createElement("div", { className: props.modalContent && props.modalContent.className }, props.modalContent && props.modalContent.fields.map((eachField) => {
|
|
623
623
|
if (eachField.element === "div") {
|
|
624
624
|
return /* @__PURE__ */ import_react19.default.createElement("div", { className: eachField.className }, eachField.label);
|
|
625
625
|
} else if (eachField.element === "input-radio") {
|
|
@@ -709,7 +709,7 @@ var TableElement = (props) => {
|
|
|
709
709
|
pagination: {
|
|
710
710
|
showTotal: (total) => `Total: ${total} items`,
|
|
711
711
|
total: count,
|
|
712
|
-
showSizeChanger:
|
|
712
|
+
showSizeChanger: count > 10
|
|
713
713
|
},
|
|
714
714
|
dataSource,
|
|
715
715
|
columns,
|
package/dist/index.mjs
CHANGED
|
@@ -567,7 +567,7 @@ import { Modal } from "antd";
|
|
|
567
567
|
// src/Components/ModelBody.tsx
|
|
568
568
|
import React18 from "react";
|
|
569
569
|
var ModelBody = (props) => {
|
|
570
|
-
return
|
|
570
|
+
return /* @__PURE__ */ React18.createElement("div", { className: props.modalContent && props.modalContent.className }, props.modalContent && props.modalContent.fields.map((eachField) => {
|
|
571
571
|
if (eachField.element === "div") {
|
|
572
572
|
return /* @__PURE__ */ React18.createElement("div", { className: eachField.className }, eachField.label);
|
|
573
573
|
} else if (eachField.element === "input-radio") {
|
|
@@ -657,7 +657,7 @@ var TableElement = (props) => {
|
|
|
657
657
|
pagination: {
|
|
658
658
|
showTotal: (total) => `Total: ${total} items`,
|
|
659
659
|
total: count,
|
|
660
|
-
showSizeChanger:
|
|
660
|
+
showSizeChanger: count > 10
|
|
661
661
|
},
|
|
662
662
|
dataSource,
|
|
663
663
|
columns,
|