@vitrosoftware/common-ui-ts 1.1.170 → 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.
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14.4972 11.2527C14.538 11.2934 14.5703 11.3417 14.5924 11.3948C14.6144 11.448 14.6258 11.505 14.6258 11.5625C14.6258 11.62 14.6144 11.677 14.5924 11.7302C14.5703 11.7833 14.538 11.8316 14.4972 11.8723L11.8723 14.4972C11.8316 14.538 11.7833 14.5703 11.7302 14.5924C11.677 14.6144 11.62 14.6258 11.5625 14.6258C11.505 14.6258 11.448 14.6144 11.3948 14.5924C11.3417 14.5703 11.2934 14.538 11.2527 14.4972L9.94025 13.1847C9.89957 13.1441 9.86731 13.0958 9.84529 13.0426C9.82328 12.9895 9.81195 12.9325 9.81195 12.875C9.81195 12.8175 9.82328 12.7605 9.84529 12.7074C9.86731 12.6542 9.89957 12.6059 9.94025 12.5652C10.0224 12.4831 10.1338 12.4369 10.25 12.4369C10.3075 12.4369 10.3645 12.4483 10.4176 12.4703C10.4708 12.4923 10.5191 12.5246 10.5598 12.5652L11.5625 13.5689L13.8778 11.2527C13.9184 11.212 13.9667 11.1797 14.0198 11.1576C14.073 11.1356 14.13 11.1242 14.1875 11.1242C14.245 11.1242 14.302 11.1356 14.3552 11.1576C14.4083 11.1797 14.4566 11.212 14.4972 11.2527Z" fill="#4A556C"/>
3
+ <path d="M8.0625 5C8.17853 5 8.28981 5.04609 8.37186 5.12814C8.45391 5.21019 8.5 5.32147 8.5 5.4375V5.875H15.5V5.4375C15.5 5.32147 15.5461 5.21019 15.6281 5.12814C15.7102 5.04609 15.8215 5 15.9375 5C16.0535 5 16.1648 5.04609 16.2469 5.12814C16.3289 5.21019 16.375 5.32147 16.375 5.4375V5.875H17.25C17.7141 5.875 18.1592 6.05937 18.4874 6.38756C18.8156 6.71575 19 7.16087 19 7.625V17.25C19 17.7141 18.8156 18.1592 18.4874 18.4874C18.1592 18.8156 17.7141 19 17.25 19H6.75C6.28587 19 5.84075 18.8156 5.51256 18.4874C5.18437 18.1592 5 17.7141 5 17.25V7.625C5 7.16087 5.18437 6.71575 5.51256 6.38756C5.84075 6.05937 6.28587 5.875 6.75 5.875H7.625V5.4375C7.625 5.32147 7.67109 5.21019 7.75314 5.12814C7.83519 5.04609 7.94647 5 8.0625 5ZM5.875 8.5V17.25C5.875 17.4821 5.96719 17.7046 6.13128 17.8687C6.29538 18.0328 6.51794 18.125 6.75 18.125H17.25C17.4821 18.125 17.7046 18.0328 17.8687 17.8687C18.0328 17.7046 18.125 17.4821 18.125 17.25V8.5H5.875Z" fill="#4A556C"/>
4
+ </svg>
@@ -23,4 +23,27 @@
23
23
 
24
24
  .table-view-custom-date-edit .k-link {
25
25
  color: #222D44 !important;
26
+ }
27
+
28
+ .TWMain .TWDateLeft,
29
+ .TWMain .TWDatesLeft,
30
+ .TWMain .TWDateRight,
31
+ .TWMain .TWDatesRight,
32
+ .TWMain .TWDateTop,
33
+ .TWMain .TWDatesTop,
34
+ .TWMain .TWDateBottom,
35
+ .TWMain .TWDatesBottom {
36
+ background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/table-view/img/date-picker.svg');
37
+ background-size: 24px;
38
+ }
39
+
40
+ .vitro-table-view-gantt .TWMain .TWDateLeft,
41
+ .vitro-table-view-gantt .TWMain .TWDatesLeft,
42
+ .vitro-table-view-gantt .TWMain .TWDateRight,
43
+ .vitro-table-view-gantt .TWMain .TWDatesRight,
44
+ .vitro-table-view-gantt .TWMain .TWDateTop,
45
+ .vitro-table-view-gantt .TWMain .TWDatesTop,
46
+ .vitro-table-view-gantt .TWMain .TWDateBottom,
47
+ .vitro-table-view-gantt .TWMain .TWDatesBottom {
48
+ background-size: 20px;
26
49
  }
package/dist/index.js CHANGED
@@ -21332,6 +21332,7 @@ var EVENT$1;
21332
21332
  EVENT["ON_GET_DEPENDENCY"] = "OnGetDependency";
21333
21333
  EVENT["ON_DATA_RECEIVE"] = "OnDataReceive";
21334
21334
  EVENT["ON_GET_TYPE"] = "OnGetType";
21335
+ EVENT["ON_BUTTON_CLICK"] = "OnButtonClick";
21335
21336
  })(EVENT$1 || (EVENT$1 = {}));
21336
21337
  var URL;
21337
21338
  (function (URL) {
@@ -21905,7 +21906,7 @@ var TreeGridTableViewContextImpl = /*#__PURE__*/function () {
21905
21906
  return this.grid.ExpandAll(parent, loaded, levels, max, test, render);
21906
21907
  };
21907
21908
  _proto.correctAllDependencies = function correctAllDependencies() {
21908
- this.grid.ActionCorrectAllDependencies();
21909
+ return this.grid.CorrectAllDependencies();
21909
21910
  };
21910
21911
  _proto.scrollToDate = function scrollToDate(date, align) {
21911
21912
  this.grid.ScrollToDate(date, align);
@@ -21949,6 +21950,9 @@ var TreeGridTableViewContextImpl = /*#__PURE__*/function () {
21949
21950
  _proto.removeCol = function removeCol(col) {
21950
21951
  this.grid.RemoveCol(col);
21951
21952
  };
21953
+ _proto.changeDef = function changeDef(row, def, show, undo) {
21954
+ this.grid.ChangeDef(row, def, show, undo);
21955
+ };
21952
21956
  _createClass(TreeGridTableViewContextImpl, [{
21953
21957
  key: "columnList",
21954
21958
  get: function get() {
@@ -62098,10 +62102,13 @@ var styles$t = {"vitro-view":"_view_vitro-view_1NKb-kU","vitro-tab":"_view_vitro
62098
62102
  var GroupControl = function GroupControl(props) {
62099
62103
  var scrollbarContentRef = React.useRef(null);
62100
62104
  React.useEffect(function () {
62105
+ scrollIntoView();
62106
+ }, [props.item.id]);
62107
+ var scrollIntoView = function scrollIntoView() {
62101
62108
  if (scrollbarContentRef.current) {
62102
62109
  scrollbarContentRef.current.scrollIntoView();
62103
62110
  }
62104
- }, [props.componentList]);
62111
+ };
62105
62112
  return React__default.createElement(ControlGroup, {
62106
62113
  horizontal: true
62107
62114
  }, React__default.createElement(ScrollBar, {
@@ -63545,7 +63552,7 @@ var Viewer = function Viewer(props) {
63545
63552
  };
63546
63553
 
63547
63554
  var name = "@vitrosoftware/common-ui-ts";
63548
- var version$1 = "1.1.170";
63555
+ var version$1 = "1.1.172";
63549
63556
  var description = "vitro software common ui ts";
63550
63557
  var author = "";
63551
63558
  var license = "MIT";
@@ -84646,13 +84653,15 @@ var FilePicker = function FilePicker(props) {
84646
84653
  }));
84647
84654
  };
84648
84655
 
84649
- var LOCALE$e = function LOCALE() {};
84650
- LOCALE$e.PLAY = 'app.common.videoViewer.action.play';
84651
- LOCALE$e.PAUSE = 'app.common.videoViewer.action.pause';
84652
- LOCALE$e.MUTE = 'app.common.videoViewer.action.mute';
84653
- LOCALE$e.UNMUTE = 'app.common.videoViewer.action.unmute';
84654
- LOCALE$e.FULLSCREEN = 'app.common.videoViewer.action.fullscreen';
84655
- LOCALE$e.QUALITY = 'app.common.videoViewer.action.quality';
84656
+ var LOCALE$e;
84657
+ (function (LOCALE) {
84658
+ LOCALE["PLAY"] = "app.common.videoViewer.action.play";
84659
+ LOCALE["PAUSE"] = "app.common.videoViewer.action.pause";
84660
+ LOCALE["MUTE"] = "app.common.videoViewer.action.mute";
84661
+ LOCALE["UNMUTE"] = "app.common.videoViewer.action.unmute";
84662
+ LOCALE["FULLSCREEN"] = "app.common.videoViewer.action.fullscreen";
84663
+ LOCALE["QUALITY"] = "app.common.videoViewer.action.quality";
84664
+ })(LOCALE$e || (LOCALE$e = {}));
84656
84665
 
84657
84666
  var KENDO_MEDIA_PLAYER = 'kendoMediaPlayer';
84658
84667
  var VOLUME_DEFAULT = 100;