import { cx as e } from "../../../theme/tools.js";
import { chipsRow as t, container as n, left as r, right as i, topRow as a } from "./backofficeFiltersBar.css.js";
import { jsx as o, jsxs as s } from "react/jsx-runtime";
//#region src/backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.tsx
var c = ({ leftSlot: c, searchSlot: l, quickFiltersSlot: u, allFiltersSlot: d, rightActions: f, chipsSlot: p, className: m }) => {
	let h = c != null || l != null || u != null || d != null || f != null, g = p != null;
	if (!h && !g) return null;
	let _ = null;
	g && (_ = /* @__PURE__ */ o("div", {
		className: t,
		children: p
	}));
	let v = null;
	return h && (v = /* @__PURE__ */ s("div", {
		className: a,
		children: [/* @__PURE__ */ s("div", {
			className: r,
			children: [
				c,
				l,
				u,
				d
			]
		}), /* @__PURE__ */ o("div", {
			className: i,
			children: f
		})]
	})), /* @__PURE__ */ s("div", {
		className: e(n, m),
		children: [v, _]
	});
};
//#endregion
export { c as BackofficeFiltersBar, c as default };

//# sourceMappingURL=BackofficeFiltersBar.js.map