@trops/dash-core 0.1.267 → 0.1.269
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.esm.js +6 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -25063,7 +25063,7 @@ var LayoutGridContainer = /*#__PURE__*/memo(function (_ref3) {
|
|
|
25063
25063
|
onDelete: cellComponent ? function () {
|
|
25064
25064
|
if (onClickRemove) onClickRemove(cellComponent.id);
|
|
25065
25065
|
} : undefined
|
|
25066
|
-
}), cellComponent &&
|
|
25066
|
+
}), cellComponent && ComponentManager.config(cellComponent.component, cellComponent) ? /*#__PURE__*/jsx(DraggableDroppableCellBody, {
|
|
25067
25067
|
cellNumber: cellNumber,
|
|
25068
25068
|
gridContainerId: id,
|
|
25069
25069
|
onMoveWidgetToCell: onMoveWidgetToCell,
|
|
@@ -25075,9 +25075,12 @@ var LayoutGridContainer = /*#__PURE__*/memo(function (_ref3) {
|
|
|
25075
25075
|
gridContainerId: id,
|
|
25076
25076
|
onMoveWidgetToCell: onMoveWidgetToCell,
|
|
25077
25077
|
onDropWidgetFromSidebar: onDropWidgetFromSidebar,
|
|
25078
|
-
children: /*#__PURE__*/jsx(
|
|
25078
|
+
children: cellComponent ? /*#__PURE__*/jsx("div", {
|
|
25079
|
+
className: "flex-1 flex flex-col min-h-[120px]",
|
|
25080
|
+
children: renderedWidget
|
|
25081
|
+
}) : /*#__PURE__*/jsx(WidgetCard.Body, {
|
|
25079
25082
|
padding: "p-0",
|
|
25080
|
-
children:
|
|
25083
|
+
children: renderEmptyCellContent(cellNumber)
|
|
25081
25084
|
})
|
|
25082
25085
|
}), cellComponent && /*#__PURE__*/jsx(WidgetCard.Footer, {
|
|
25083
25086
|
item: cellComponent,
|