Files
klz-cables.com/.pnpm-store/v10/files/18/9907061aed09b239e13a6aedb4c99ea3309e25587199c914e903b4b293213bea51aec4ffa21ffc31b0d33fc818a4d8c1aadb44aa9646d8f2613e1e12216c10
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

44 lines
1.1 KiB
Plaintext

'use client';
import { c as _c } from "react/compiler-runtime";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Fragment } from 'react';
import { CopyIcon } from '../../icons/Copy/index.js';
import { EditIcon } from '../../icons/Edit/index.js';
import { useTranslation } from '../../providers/Translation/index.js';
export const ClipboardActionLabel = t0 => {
const $ = _c(4);
const {
isPaste,
isRow
} = t0;
const {
t
} = useTranslation();
let t1;
if ($[0] !== isPaste || $[1] !== isRow || $[2] !== t) {
let label = t("general:copyField");
if (!isRow && isPaste) {
label = t("general:pasteField");
} else {
if (isRow && !isPaste) {
label = t("general:copyRow");
} else {
if (isRow && isPaste) {
label = t("general:pasteRow");
}
}
}
t1 = _jsxs(Fragment, {
children: [isPaste ? _jsx(EditIcon, {}) : _jsx(CopyIcon, {}), " ", label]
});
$[0] = isPaste;
$[1] = isRow;
$[2] = t;
$[3] = t1;
} else {
t1 = $[3];
}
return t1;
};
//# sourceMappingURL=ClipboardActionLabel.js.map