@trops/dash-core 0.1.255 → 0.1.256

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.js CHANGED
@@ -21952,6 +21952,7 @@ var LayoutBuilderGridItem = function LayoutBuilderGridItem(_ref) {
21952
21952
  }
21953
21953
  }
21954
21954
  function renderEditView() {
21955
+ var _parentWorkspace$dire;
21955
21956
  var drag = dragType(item);
21956
21957
  var numChildren = numChildrenForLayout(item, workspace["layout"]);
21957
21958
 
@@ -21966,7 +21967,7 @@ var LayoutBuilderGridItem = function LayoutBuilderGridItem(_ref) {
21966
21967
 
21967
21968
  // determine the parent layout direction...
21968
21969
  var parentLayout = getLayoutItemById(workspace["layout"], item["parent"]);
21969
- var parentDirection = parentLayout ? parentLayout["direction"] : parentWorkspace["direction"];
21970
+ var parentDirection = parentLayout ? parentLayout["direction"] : (_parentWorkspace$dire = parentWorkspace === null || parentWorkspace === void 0 ? void 0 : parentWorkspace["direction"]) !== null && _parentWorkspace$dire !== void 0 ? _parentWorkspace$dire : "col";
21970
21971
 
21971
21972
  // determine if the item is at the "start/end" of the col/row
21972
21973
  var isMaxOrder = isMaxOrderForItem(workspace["layout"], item, item["parent"]);