@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 +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +15 -15
- package/src/components/EntityCollectionTable/EntityCollectionTable.tsx +7 -5
- package/src/core/EntityEditView.tsx +9 -7
- package/src/preview/property_previews/MapPropertyPreview.tsx +3 -3
package/dist/index.umd.js
CHANGED
|
@@ -8915,7 +8915,7 @@
|
|
|
8915
8915
|
const child = Builder ? /* @__PURE__ */ jsxRuntime.jsx(Builder, { entity: entity_0, context }) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: additionalField.value?.({
|
|
8916
8916
|
entity: entity_0,
|
|
8917
8917
|
context
|
|
8918
|
-
}) });
|
|
8918
|
+
})?.toString() });
|
|
8919
8919
|
return /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsx(ErrorBoundary, { children: child }) }, `additional_table_cell_${entity_0.id}_${column_0.key}`);
|
|
8920
8920
|
}, [size, selectedEntityIds]);
|
|
8921
8921
|
const collectionColumns = (() => {
|
|
@@ -11576,7 +11576,7 @@
|
|
|
11576
11576
|
const child = Builder_0 ? /* @__PURE__ */ jsxRuntime.jsx(Builder_0, { entity, context }) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: additionalField.value?.({
|
|
11577
11577
|
entity,
|
|
11578
11578
|
context
|
|
11579
|
-
}) });
|
|
11579
|
+
})?.toString() });
|
|
11580
11580
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
11581
11581
|
/* @__PURE__ */ jsxRuntime.jsx(LabelWithIconAndTooltip, { propertyKey: key_0, icon: /* @__PURE__ */ jsxRuntime.jsx(ui.NotesIcon, { size: "small" }), title: additionalField.name, className: "text-text-secondary dark:text-text-secondary-dark ml-3.5" }),
|
|
11582
11582
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: ui.cls(ui.paperMixin, "min-h-14 p-4 md:p-6 overflow-x-scroll no-scrollbar"), children: /* @__PURE__ */ jsxRuntime.jsx(ErrorBoundary, { children: child }) })
|
|
@@ -15874,7 +15874,7 @@
|
|
|
15874
15874
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: ui.cls(ui.defaultBorderMixin, "last:border-b-0 border-b"), children: [
|
|
15875
15875
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-row pt-0.5 pb-0.5 gap-2", children: [
|
|
15876
15876
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-[140px] w-[25%] py-1", children: /* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { variant: "caption", className: "font-mono break-words", color: "secondary", children: key }) }, `table-cell-title-${key}-${key}`),
|
|
15877
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-grow max-w-[75%]", children:
|
|
15877
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-grow max-w-[75%]", children: childValue && "toString" in childValue && /* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { children: /* @__PURE__ */ jsxRuntime.jsx(ErrorBoundary, { children: childValue.toString() }) }) })
|
|
15878
15878
|
] }),
|
|
15879
15879
|
typeof childValue === "object" && /* @__PURE__ */ jsxRuntime.jsx("div", { className: ui.cls(ui.defaultBorderMixin, "border-l pl-4"), children: /* @__PURE__ */ jsxRuntime.jsx(KeyValuePreview, { value: childValue }) })
|
|
15880
15880
|
] }, `map_preview_table_${key}}`);
|