jclib-ui 1.0.124 → 1.0.126

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