jclib-ui 1.0.124 → 1.0.125

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.
@@ -4387,7 +4387,7 @@ const CheckedArea = styled.span`
4387
4387
  width: 15px;
4388
4388
  font-size: 10px;
4389
4389
  border: 1px solid ${(props) => props.value ? "#346fdd" : "#aaa"};
4390
- border-radius: 3px;
4390
+ border-radius: 1px;
4391
4391
  color: ${(props) => props.value ? "#fff" : ""};
4392
4392
  background-color: ${(props) => props.value ? "#346fdd" : "#fff"};
4393
4393
  `;
@@ -4494,6 +4494,19 @@ function getDataCol(col, line) {
4494
4494
  }
4495
4495
  return null;
4496
4496
  }
4497
+ const getAlign = (col) => {
4498
+ let align = "left";
4499
+ if (col.tipo === "float" || col.tipo === "currency" || col.money) {
4500
+ align = "right";
4501
+ }
4502
+ if (col.campoChave) {
4503
+ align = "center";
4504
+ }
4505
+ if (col.align) {
4506
+ align = col.align;
4507
+ }
4508
+ return align;
4509
+ };
4497
4510
  function Table({
4498
4511
  colunas,
4499
4512
  acoes,
@@ -4617,19 +4630,6 @@ function TableBody({ colunas, acoes, opcoes, dados, colorir }) {
4617
4630
  ] }, index);
4618
4631
  }) });
4619
4632
  }
4620
- const getAlign = (col) => {
4621
- let align = "left";
4622
- if (col.tipo === "float" || col.tipo === "currency" || col.money) {
4623
- align = "right";
4624
- }
4625
- if (col.campoChave) {
4626
- align = "center";
4627
- }
4628
- if (col.align) {
4629
- align = col.align;
4630
- }
4631
- return align;
4632
- };
4633
4633
  styled.div`
4634
4634
  display: inline-block;
4635
4635
  width: 27px;
@@ -20824,6 +20824,7 @@ export {
20824
20824
  createTableActions,
20825
20825
  createTableCols,
20826
20826
  createTableOptions,
20827
+ getAlign,
20827
20828
  getDataCol,
20828
20829
  setRouteMain,
20829
20830
  useApi,