@jsonforms/material-renderers 3.4.1 → 3.5.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/additional/unwrapped.d.ts +0 -1
- package/lib/complex/unwrapped.d.ts +0 -1
- package/lib/controls/unwrapped.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/jsonforms-react-material.cjs.js +1 -1
- package/lib/jsonforms-react-material.cjs.js.map +1 -1
- package/lib/jsonforms-react-material.esm.js +2 -2
- package/lib/jsonforms-react-material.esm.js.map +1 -1
- package/lib/layouts/unwrapped.d.ts +0 -1
- package/lib/util/layout.d.ts +1 -1
- package/lib/util/theme.d.ts +0 -1
- package/package.json +6 -6
- package/src/complex/MaterialTableControl.tsx +4 -5
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const UnwrappedAdditional: {
|
|
3
2
|
MaterialLabelRenderer: ({ text, visible }: import("@jsonforms/core").LabelProps) => import("react").JSX.Element;
|
|
4
3
|
MaterialListWithDetailRenderer: ({ uischemas, schema, uischema, path, enabled, errors, visible, label, required, removeItems, addItem, data, renderers, cells, config, rootSchema, description, disableAdd, disableRemove, translations, }: import("@jsonforms/core").ArrayLayoutProps & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const UnwrappedComplex: {
|
|
3
2
|
MaterialAllOfRenderer: ({ schema, rootSchema, visible, renderers, cells, path, uischemas, uischema, }: import("@jsonforms/core").StatePropsOfCombinator) => import("react").JSX.Element;
|
|
4
3
|
MaterialAnyOfRenderer: ({ handleChange, schema, rootSchema, indexOfFittingSchema, visible, path, renderers, cells, uischema, uischemas, id, data, }: import("@jsonforms/core").CombinatorRendererProps) => import("react").JSX.Element;
|
package/lib/index.d.ts
CHANGED
|
@@ -300,7 +300,7 @@ var TableHeaderCell = React__default["default"].memo(function TableHeaderCell(_a
|
|
|
300
300
|
var ctxToNonEmptyCellProps = function (ctx, ownProps) {
|
|
301
301
|
var path = ownProps.rowPath +
|
|
302
302
|
(ownProps.schema.type === 'object' ? '.' + ownProps.propName : '');
|
|
303
|
-
var errors = core.formatErrorMessage(union__default["default"](core.
|
|
303
|
+
var errors = core.formatErrorMessage(union__default["default"](core.errorAt(path, ownProps.schema)(ctx.core).map(function (error) { return error.message; })));
|
|
304
304
|
return {
|
|
305
305
|
rowPath: ownProps.rowPath,
|
|
306
306
|
propName: ownProps.propName,
|