import { jsxs as d, jsx as e } from "react/jsx-runtime";
import c from "../../utils/classNames.js";
import p from "./StatsWidgetHeader.js";
import g from "./StatsWidgetBody.js";
import m from "./StatsWidgetFooter.js";
const t = (r) => {
  const { children: s, hasFilter: i = !1, onFilterReset: o = () => {
  }, className: a, ...l } = r, n = c("StatsWidget", a);
  return /* @__PURE__ */ d("div", { ...l, className: n, children: [
    i && /* @__PURE__ */ e(
      "span",
      {
        className: "bg-light hover-bg-highlight display-flex justify-content-center align-items-center padding-2 rounded-circle position-absolute top-15 right-15 display-block height-20 width-20 cursor-pointer",
        onClick: o,
        children: /* @__PURE__ */ e("span", { className: "rioglyph rioglyph-revert text-color-white text-size-12" })
      }
    ),
    s
  ] });
};
t.Header = p;
t.Body = g;
t.Footer = m;
export {
  t as default
};
//# sourceMappingURL=StatsWidget.js.map
