caplink-saas-ui-shared-component-library 1.105.0 → 1.105.2

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.es.js CHANGED
@@ -42771,13 +42771,15 @@ function rye() {
42771
42771
  }
42772
42772
  ),
42773
42773
  Array.from({ length: e.length }).fill(0).map((o, i) => {
42774
- const a = e[i]?.counter, l = e[i]?.state.isFixed, c = e[i], u = c?.name;
42774
+ const a = e[i];
42775
+ if (!a?.state.visible) return null;
42776
+ const l = a.counter, c = a.state.isFixed, u = a.name;
42775
42777
  return /* @__PURE__ */ p.jsxs(
42776
42778
  "div",
42777
42779
  {
42778
42780
  style: {
42779
42781
  width: e[i]?.state?.width,
42780
- ...l ? {
42782
+ ...c ? {
42781
42783
  left: Em + Uk(e, i)
42782
42784
  } : {
42783
42785
  transform: `translateX(-${r}px)`
@@ -42785,40 +42787,40 @@ function rye() {
42785
42787
  },
42786
42788
  className: U(
42787
42789
  "sl-shrink-0 sl-h-full sl-p-2 sl-text-sm sl-flex sl-items-end sl-justify-end sl-bg-info-50",
42788
- l && "sl-sticky sl-top-0 sl-z-50",
42789
- !l && "sl-z-10"
42790
+ c && "sl-sticky sl-top-0 sl-z-50",
42791
+ !c && "sl-z-10"
42790
42792
  ),
42791
42793
  children: [
42792
- a === $t.Sum && /* @__PURE__ */ p.jsx(tn, { message: `${u} - Soma: ${ZA(XA(s, i), c)}`, children: /* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-items-center sl-gap-1 sl-text-foreground-v2-600", children: [
42794
+ l === $t.Sum && /* @__PURE__ */ p.jsx(tn, { message: `${u} - Soma: ${ZA(XA(s, i), a)}`, children: /* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-items-center sl-gap-1 sl-text-foreground-v2-600", children: [
42793
42795
  /* @__PURE__ */ p.jsx(lK, { className: "sl-size-4 sl-shrink-0" }),
42794
42796
  /* @__PURE__ */ p.jsx(
42795
42797
  Gh,
42796
42798
  {
42797
42799
  disabled: !0,
42798
- dataEditorType: c?.dataEditorType,
42799
- settings: c?.settings,
42800
+ dataEditorType: a?.dataEditorType,
42801
+ settings: a?.settings,
42800
42802
  value: String(XA(s, i)),
42801
42803
  className: "sl-pointer-events-none sl-h-auto sl-w-full sl-p-0 sl-text-right sl-leading-none",
42802
42804
  testid: `footer-sum-${i}`
42803
42805
  }
42804
42806
  )
42805
42807
  ] }) }),
42806
- a === $t.Length && /* @__PURE__ */ p.jsx(tn, { message: `${u} - Contagem: ${s.length}`, children: /* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-items-center sl-gap-1 sl-text-foreground-v2-600", children: [
42808
+ l === $t.Length && /* @__PURE__ */ p.jsx(tn, { message: `${u} - Contagem: ${s.length}`, children: /* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-items-center sl-gap-1 sl-text-foreground-v2-600", children: [
42807
42809
  /* @__PURE__ */ p.jsx(JW, { className: "sl-size-4" }),
42808
42810
  /* @__PURE__ */ p.jsx("p", { className: "sl-leading-none", children: s.length })
42809
42811
  ] }) }),
42810
- a === $t.Average && /* @__PURE__ */ p.jsx(
42812
+ l === $t.Average && /* @__PURE__ */ p.jsx(
42811
42813
  tn,
42812
42814
  {
42813
- message: `${u} - Média: ${ZA(JA(s, i), c)}`,
42815
+ message: `${u} - Média: ${ZA(JA(s, i), a)}`,
42814
42816
  children: /* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-items-center sl-gap-1 sl-text-foreground-v2-600", children: [
42815
42817
  /* @__PURE__ */ p.jsx(mU, { className: "sl-size-4 sl-shrink-0" }),
42816
42818
  /* @__PURE__ */ p.jsx(
42817
42819
  Gh,
42818
42820
  {
42819
42821
  disabled: !0,
42820
- dataEditorType: c?.dataEditorType,
42821
- settings: c?.settings,
42822
+ dataEditorType: a?.dataEditorType,
42823
+ settings: a?.settings,
42822
42824
  value: String(JA(s, i)),
42823
42825
  className: "sl-pointer-events-none sl-h-auto sl-w-full sl-p-0 sl-text-right sl-leading-none",
42824
42826
  testid: `footer-average-${i}`