@hybr1d-tech/charizard 0.7.104 → 0.7.106

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/hybr1d-ui.js CHANGED
@@ -9798,7 +9798,7 @@ function H5({
9798
9798
  showTabs: l = !1
9799
9799
  }) {
9800
9800
  var m;
9801
- const { isLoading: n, isError: c, filterDispatch: a } = e, s = (m = e.filters) != null && m.header ? e.filters.header : [], r = r1((d) => d.filters), { addFilters: i, removeFilters: o, resetFilters: u } = r1((d) => ({
9801
+ const { isLoading: n, isError: c, filterDispatch: a } = e, s = ((m = e.filters) == null ? void 0 : m.header) || [], r = r1((d) => d.filters), { addFilters: i, removeFilters: o, resetFilters: u } = r1((d) => ({
9802
9802
  addFilters: d.addFilters,
9803
9803
  removeFilters: d.removeFilters,
9804
9804
  resetFilters: d.resetFilters
@@ -9813,7 +9813,21 @@ function H5({
9813
9813
  resetFilters: u,
9814
9814
  filterDispatch: a
9815
9815
  };
9816
- return d.type === j2.DATE_RANGE && !l ? /* @__PURE__ */ t.jsx(ah, { ...h }, d.id) : l && d.type === j2.TAB ? /* @__PURE__ */ t.jsx(hh, { ...h }, d.id) : !l && /* @__PURE__ */ t.jsx(sh, { ...h }, d.id);
9816
+ switch (d.type) {
9817
+ case j2.DATE_RANGE:
9818
+ if (!l)
9819
+ return /* @__PURE__ */ t.jsx(ah, { ...h }, d.id);
9820
+ break;
9821
+ case j2.TAB:
9822
+ if (l)
9823
+ return /* @__PURE__ */ t.jsx(hh, { ...h }, d.id);
9824
+ break;
9825
+ default:
9826
+ if (!l)
9827
+ return /* @__PURE__ */ t.jsx(sh, { ...h }, d.id);
9828
+ break;
9829
+ }
9830
+ return null;
9817
9831
  }) });
9818
9832
  }
9819
9833
  const E7 = () => {