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

46 lines
1.3 KiB
Plaintext

'use client';
import { jsx as _jsx } from "react/jsx-runtime";
import React from 'react';
import { RenderFields } from '../../forms/RenderFields/index.js';
import { withCondition } from '../../forms/withCondition/index.js';
import { fieldBaseClass } from '../shared/index.js';
import './index.scss';
import { RowProvider } from './provider.js';
const baseClass = 'row';
const RowFieldComponent = props => {
const {
field: {
admin: {
className,
style
} = {},
fields
},
forceRender = false,
indexPath = '',
parentPath = '',
parentSchemaPath = '',
permissions,
readOnly
} = props;
return /*#__PURE__*/_jsx(RowProvider, {
children: /*#__PURE__*/_jsx("div", {
className: [fieldBaseClass, baseClass, className].filter(Boolean).join(' '),
style: style || undefined,
children: /*#__PURE__*/_jsx(RenderFields, {
className: `${baseClass}__fields`,
fields: fields,
forceRender: forceRender,
margins: false,
parentIndexPath: indexPath,
parentPath: parentPath,
parentSchemaPath: parentSchemaPath,
permissions: permissions,
readOnly: readOnly
})
})
});
};
export const RowField = withCondition(RowFieldComponent);
//# sourceMappingURL=index.js.map