jclib-ui 1.0.97 → 1.0.99
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/jclib-ui.es.js +5 -1
- package/dist/jclib-ui.es.js.map +1 -1
- package/dist/jclib-ui.umd.js +1 -1
- package/dist/jclib-ui.umd.js.map +1 -1
- package/package.json +72 -72
package/dist/jclib-ui.es.js
CHANGED
|
@@ -4589,6 +4589,10 @@ function TableBody({ colunas, acoes, opcoes, dados, colorir }) {
|
|
|
4589
4589
|
if (typeof col.visible == "boolean" && !col.visible) {
|
|
4590
4590
|
return null;
|
|
4591
4591
|
}
|
|
4592
|
+
let width2 = col.campoChave ? 65 : col.largura || "auto";
|
|
4593
|
+
if (col.campoChave && col.largura) {
|
|
4594
|
+
width2 = col.largura;
|
|
4595
|
+
}
|
|
4592
4596
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
4593
4597
|
"td",
|
|
4594
4598
|
{
|
|
@@ -4596,7 +4600,7 @@ function TableBody({ colunas, acoes, opcoes, dados, colorir }) {
|
|
|
4596
4600
|
style: {
|
|
4597
4601
|
textAlign: getAlign(col),
|
|
4598
4602
|
fontWeight: col.campoChave || col.bold ? "bold" : "normal",
|
|
4599
|
-
width:
|
|
4603
|
+
width: width2,
|
|
4600
4604
|
color: colorir ? line.color || "var(--bs-body-color)" : "var(--bs-body-color)"
|
|
4601
4605
|
},
|
|
4602
4606
|
children: [
|