@firecms/core 3.0.0-canary.155 → 3.0.0-canary.157

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/dist/index.es.js CHANGED
@@ -8912,7 +8912,7 @@ const EntityCollectionTable = function EntityCollectionTable2({
8912
8912
  const child = Builder ? /* @__PURE__ */ jsx(Builder, { entity: entity_0, context }) : /* @__PURE__ */ jsx(Fragment, { children: additionalField.value?.({
8913
8913
  entity: entity_0,
8914
8914
  context
8915
- }) });
8915
+ })?.toString() });
8916
8916
  return /* @__PURE__ */ jsx(EntityTableCell, { width, size, value: value_0, selected: false, disabled: true, align: "left", allowScroll: false, showExpandIcon: false, disabledTooltip: "This column can't be edited directly", children: /* @__PURE__ */ jsx(ErrorBoundary, { children: child }) }, `additional_table_cell_${entity_0.id}_${column_0.key}`);
8917
8917
  }, [size, selectedEntityIds]);
8918
8918
  const collectionColumns = (() => {
@@ -11573,7 +11573,7 @@ function EntityEditViewInner({
11573
11573
  const child = Builder_0 ? /* @__PURE__ */ jsx(Builder_0, { entity, context }) : /* @__PURE__ */ jsx(Fragment, { children: additionalField.value?.({
11574
11574
  entity,
11575
11575
  context
11576
- }) });
11576
+ })?.toString() });
11577
11577
  return /* @__PURE__ */ jsxs("div", { children: [
11578
11578
  /* @__PURE__ */ jsx(LabelWithIconAndTooltip, { propertyKey: key_0, icon: /* @__PURE__ */ jsx(NotesIcon, { size: "small" }), title: additionalField.name, className: "text-text-secondary dark:text-text-secondary-dark ml-3.5" }),
11579
11579
  /* @__PURE__ */ jsx("div", { className: cls(paperMixin, "min-h-14 p-4 md:p-6 overflow-x-scroll no-scrollbar"), children: /* @__PURE__ */ jsx(ErrorBoundary, { children: child }) })
@@ -15871,7 +15871,7 @@ function _temp$8(t0) {
15871
15871
  return /* @__PURE__ */ jsxs("div", { className: cls(defaultBorderMixin, "last:border-b-0 border-b"), children: [
15872
15872
  /* @__PURE__ */ jsxs("div", { className: "flex flex-row pt-0.5 pb-0.5 gap-2", children: [
15873
15873
  /* @__PURE__ */ jsx("div", { className: "min-w-[140px] w-[25%] py-1", children: /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "font-mono break-words", color: "secondary", children: key }) }, `table-cell-title-${key}-${key}`),
15874
- /* @__PURE__ */ jsx("div", { className: "flex-grow max-w-[75%]", children: typeof childValue !== "object" && /* @__PURE__ */ jsx(Typography, { children: /* @__PURE__ */ jsx(ErrorBoundary, { children: childValue && childValue.toString() }) }) })
15874
+ /* @__PURE__ */ jsx("div", { className: "flex-grow max-w-[75%]", children: childValue && "toString" in childValue && /* @__PURE__ */ jsx(Typography, { children: /* @__PURE__ */ jsx(ErrorBoundary, { children: childValue.toString() }) }) })
15875
15875
  ] }),
15876
15876
  typeof childValue === "object" && /* @__PURE__ */ jsx("div", { className: cls(defaultBorderMixin, "border-l pl-4"), children: /* @__PURE__ */ jsx(KeyValuePreview, { value: childValue }) })
15877
15877
  ] }, `map_preview_table_${key}}`);