Files
klz-cables.com/.pnpm-store/v10/files/d7/c2430c28533c2d85c494235ba242caff342b4f6d8d6c92e9b8a3842e8ece6a8fcd77c068e9d2781699a323c01b674d1515539e7b7e5941b249a163091b35f0
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

37 lines
851 B
Plaintext

'use client';
import { jsx as _jsx } from "react/jsx-runtime";
import { getTranslation } from '@payloadcms/translations';
import React from 'react';
import { useTranslation } from '../../../../providers/Translation/index.js';
import { DatePickerField } from '../../../DatePicker/index.js';
const baseClass = 'condition-value-date';
export const DateFilter = t0 => {
const {
disabled,
field: t1,
onChange,
value
} = t0;
const {
admin
} = t1;
const {
date
} = admin || {};
const {
i18n,
t
} = useTranslation();
return _jsx("div", {
className: baseClass,
children: _jsx(DatePickerField, {
...date,
onChange,
placeholder: getTranslation(admin.placeholder, i18n) || t("general:enterAValue"),
readOnly: disabled,
value
})
});
};
//# sourceMappingURL=index.js.map