@vitrosoftware/common-ui-ts 1.1.171 → 1.1.172

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
@@ -21906,7 +21906,7 @@ var TreeGridTableViewContextImpl = /*#__PURE__*/function () {
21906
21906
  return this.grid.ExpandAll(parent, loaded, levels, max, test, render);
21907
21907
  };
21908
21908
  _proto.correctAllDependencies = function correctAllDependencies() {
21909
- this.grid.ActionCorrectAllDependencies();
21909
+ return this.grid.CorrectAllDependencies();
21910
21910
  };
21911
21911
  _proto.scrollToDate = function scrollToDate(date, align) {
21912
21912
  this.grid.ScrollToDate(date, align);
@@ -21950,6 +21950,9 @@ var TreeGridTableViewContextImpl = /*#__PURE__*/function () {
21950
21950
  _proto.removeCol = function removeCol(col) {
21951
21951
  this.grid.RemoveCol(col);
21952
21952
  };
21953
+ _proto.changeDef = function changeDef(row, def, show, undo) {
21954
+ this.grid.ChangeDef(row, def, show, undo);
21955
+ };
21953
21956
  _createClass(TreeGridTableViewContextImpl, [{
21954
21957
  key: "columnList",
21955
21958
  get: function get() {
@@ -62099,10 +62102,13 @@ var styles$t = {"vitro-view":"_view_vitro-view_1NKb-kU","vitro-tab":"_view_vitro
62099
62102
  var GroupControl = function GroupControl(props) {
62100
62103
  var scrollbarContentRef = React.useRef(null);
62101
62104
  React.useEffect(function () {
62105
+ scrollIntoView();
62106
+ }, [props.item.id]);
62107
+ var scrollIntoView = function scrollIntoView() {
62102
62108
  if (scrollbarContentRef.current) {
62103
62109
  scrollbarContentRef.current.scrollIntoView();
62104
62110
  }
62105
- }, [props.componentList]);
62111
+ };
62106
62112
  return React__default.createElement(ControlGroup, {
62107
62113
  horizontal: true
62108
62114
  }, React__default.createElement(ScrollBar, {
@@ -63546,7 +63552,7 @@ var Viewer = function Viewer(props) {
63546
63552
  };
63547
63553
 
63548
63554
  var name = "@vitrosoftware/common-ui-ts";
63549
- var version$1 = "1.1.171";
63555
+ var version$1 = "1.1.172";
63550
63556
  var description = "vitro software common ui ts";
63551
63557
  var author = "";
63552
63558
  var license = "MIT";