@vitrosoftware/common-ui-ts 1.1.240 → 1.1.242

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.
@@ -15428,4 +15428,20 @@ div:focus-visible {
15428
15428
  text-align: center;
15429
15429
  width: 94px;
15430
15430
  margin-left: auto;
15431
+ }
15432
+
15433
+ [class*="_dropdown-button_vitro-dropdown-menu"],
15434
+ [class*="_criterion_vitro-operator-list-container"],
15435
+ [class*="_criterion_vitro-condition-list-container"],
15436
+ [class*="_lookup-picker-value-list"] {
15437
+ z-index: 89000005 !important;
15438
+ }
15439
+
15440
+ .vitro-compare-mode .annotation-marker {
15441
+ display: none;
15442
+ }
15443
+
15444
+ .annotation-title {
15445
+ overflow-wrap: break-word !important;
15446
+ word-wrap: break-word !important;
15431
15447
  }
@@ -1156,4 +1156,20 @@ div:focus-visible {
1156
1156
  text-align: center;
1157
1157
  width: 94px;
1158
1158
  margin-left: auto;
1159
+ }
1160
+
1161
+ [class*="_dropdown-button_vitro-dropdown-menu"],
1162
+ [class*="_criterion_vitro-operator-list-container"],
1163
+ [class*="_criterion_vitro-condition-list-container"],
1164
+ [class*="_lookup-picker-value-list"] {
1165
+ z-index: 89000005 !important;
1166
+ }
1167
+
1168
+ .vitro-compare-mode .annotation-marker {
1169
+ display: none;
1170
+ }
1171
+
1172
+ .annotation-title {
1173
+ overflow-wrap: break-word !important;
1174
+ word-wrap: break-word !important;
1159
1175
  }
@@ -8252,4 +8252,8 @@ dialog .separator {
8252
8252
  .vitro-item-select-dialog .vitro-selected-item-list .TWBodyMid .TWPageOne .TWSection .TWDataRow td:nth-last-child(2) img,
8253
8253
  .vitro-item-select-dialog .vitro-selected-item-list .TWBodyMid .TWPageOne .TWSection .TWDataRow td:last-child img {
8254
8254
  display: none;
8255
+ }
8256
+
8257
+ .annotationLayer .popupAnnotation * {
8258
+ line-height: normal !important;
8255
8259
  }
@@ -1250,4 +1250,8 @@ dialog .separator {
1250
1250
  .vitro-item-select-dialog .vitro-selected-item-list .TWBodyMid .TWPageOne .TWSection .TWDataRow td:nth-last-child(2) img,
1251
1251
  .vitro-item-select-dialog .vitro-selected-item-list .TWBodyMid .TWPageOne .TWSection .TWDataRow td:last-child img {
1252
1252
  display: none;
1253
+ }
1254
+
1255
+ .annotationLayer .popupAnnotation * {
1256
+ line-height: normal !important;
1253
1257
  }
package/dist/index.js CHANGED
@@ -21147,6 +21147,8 @@ var CFG_ATTRIBUTE;
21147
21147
  CFG_ATTRIBUTE["RIGHT_WIDTH"] = "RightWidth";
21148
21148
  CFG_ATTRIBUTE["SCROLL_TOP"] = "ScrollTop";
21149
21149
  CFG_ATTRIBUTE["PAGING"] = "Paging";
21150
+ CFG_ATTRIBUTE["Z_INDEX"] = "ZIndex";
21151
+ CFG_ATTRIBUTE["STRICT_DATES"] = "StrictDates";
21150
21152
  })(CFG_ATTRIBUTE || (CFG_ATTRIBUTE = {}));
21151
21153
  var URL;
21152
21154
  (function (URL) {
@@ -21434,6 +21436,7 @@ var TableViewServiceImpl = /*#__PURE__*/function () {
21434
21436
  function TableViewServiceImpl(grid) {
21435
21437
  this.suggestValue = CTRL.EMPTY;
21436
21438
  this.isFilterOneLevel = false;
21439
+ this.isFlatView = false;
21437
21440
  this.gridChangesFormat = 'JSON';
21438
21441
  this.searchCriterionMap = new Map();
21439
21442
  this.visibleColumnList = [];
@@ -21833,6 +21836,9 @@ var TableViewServiceImpl = /*#__PURE__*/function () {
21833
21836
  if (this.isFilterOneLevel) {
21834
21837
  newData = this.setXmlPart(newData, 'FilterOneLevel="1"', XML_TAG.PAGE_SETTINGS);
21835
21838
  }
21839
+ if (this.isFlatView) {
21840
+ newData = this.setXmlPart(newData, 'FlatView="1"', XML_TAG.PAGE_SETTINGS);
21841
+ }
21836
21842
  if (this.filterContentTypeList) {
21837
21843
  var filterContentTypeListJson = JSON.stringify(this.filterContentTypeList);
21838
21844
  newData = this.setXmlPart(newData, "FilterContentTypeList='" + filterContentTypeListJson + "'", XML_TAG.PAGE_SETTINGS);
@@ -22131,6 +22137,9 @@ var TreeGrid = function TreeGrid(props) {
22131
22137
  if (props.isFilterOneLevel) {
22132
22138
  grid.isFilterOneLevel = props.isFilterOneLevel;
22133
22139
  }
22140
+ if (props.isFlatView) {
22141
+ grid.isFlatView = props.isFlatView;
22142
+ }
22134
22143
  if (props.idColumnName) {
22135
22144
  grid.idColumnName = props.idColumnName;
22136
22145
  }
@@ -63489,6 +63498,9 @@ var LookupPicker = React.forwardRef(function (props, ref) {
63489
63498
  var _useState7 = React.useState(props.isDisabled || props.isReadOnly ? styles$N['vitro-read-only'] : CTRL.EMPTY),
63490
63499
  state = _useState7[0],
63491
63500
  setState = _useState7[1];
63501
+ var _useState8 = React.useState(false),
63502
+ isSearchInProgress = _useState8[0],
63503
+ setIsSearchInProgress = _useState8[1];
63492
63504
  var localeService = props.container ? props.container.get(SERVICE.LOCALE) : inversifyReact.useInjection(SERVICE.LOCALE);
63493
63505
  var isEditable = !props.isDisabled && !props.isReadOnly;
63494
63506
  var isInputReadOnly = !(props.getValueList || props.getAllValueList || props.valueList);
@@ -63763,7 +63775,8 @@ var LookupPicker = React.forwardRef(function (props, ref) {
63763
63775
  return null;
63764
63776
  };
63765
63777
  var onSearch = function onSearch() {
63766
- if (props.onSearch) {
63778
+ if (!isSearchInProgress && props.onSearch) {
63779
+ setIsSearchInProgress(true);
63767
63780
  props.onSearch().then(function (valueList) {
63768
63781
  if (valueList) {
63769
63782
  var newValueList = props.isMultiSelect ? [].concat(selectedValueList, valueList) : [valueList[0]];
@@ -63780,6 +63793,8 @@ var LookupPicker = React.forwardRef(function (props, ref) {
63780
63793
  setState(CTRL.EMPTY);
63781
63794
  }
63782
63795
  }
63796
+ })["finally"](function () {
63797
+ return setIsSearchInProgress(false);
63783
63798
  });
63784
63799
  }
63785
63800
  };
@@ -66954,7 +66969,7 @@ var Viewer = function Viewer(props) {
66954
66969
  };
66955
66970
 
66956
66971
  var name = "@vitrosoftware/common-ui-ts";
66957
- var version$1 = "1.1.240";
66972
+ var version$1 = "1.1.242";
66958
66973
  var description = "vitro software common ui ts";
66959
66974
  var author = "";
66960
66975
  var license = "MIT";