Files
klz-cables.com/.pnpm-store/v10/files/65/8359ced7d27c13942ed59eb3b5bcf8e1c10a3a1c6dc51a785ccd0eefd56b0050a70191718854efe61db939d7662beb8cd9f4d98a20f48a2868705212d695fc
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

67 lines
1.7 KiB
Plaintext

'use client';
import { c as _c } from "react/compiler-runtime";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import React from 'react';
import { useTranslation } from '../../providers/Translation/index.js';
import { Button } from '../Button/index.js';
import './index.scss';
const baseClass = 'list-selection';
export function ListSelection_v4(t0) {
const $ = _c(5);
const {
count,
ListActions,
SelectionActions
} = t0;
const {
t
} = useTranslation();
let t1;
if ($[0] !== ListActions || $[1] !== SelectionActions || $[2] !== count || $[3] !== t) {
t1 = _jsxs("div", {
className: baseClass,
children: [_jsx("span", {
children: t("general:selectedCount", {
count,
label: ""
})
}), ListActions && ListActions.length > 0 && _jsxs(React.Fragment, {
children: [_jsx("span", {
children: "\u2014"
}), _jsx("div", {
className: `${baseClass}__actions`,
children: ListActions
})]
}), SelectionActions && SelectionActions.length > 0 && _jsxs(React.Fragment, {
children: [_jsx("span", {
children: "\u2014"
}), _jsx("div", {
className: `${baseClass}__actions`,
children: SelectionActions
})]
})]
});
$[0] = ListActions;
$[1] = SelectionActions;
$[2] = count;
$[3] = t;
$[4] = t1;
} else {
t1 = $[4];
}
return t1;
}
export function ListSelectionButton({
children,
className,
...props
}) {
return /*#__PURE__*/_jsx(Button, {
...props,
buttonStyle: "none",
className: [`${baseClass}__button`, className].filter(Boolean).join(' '),
children: children
});
}
//# sourceMappingURL=index.js.map