@vitrosoftware/common-ui-ts 1.1.240 → 1.1.241

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
  }
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) {
@@ -63489,6 +63491,9 @@ var LookupPicker = React.forwardRef(function (props, ref) {
63489
63491
  var _useState7 = React.useState(props.isDisabled || props.isReadOnly ? styles$N['vitro-read-only'] : CTRL.EMPTY),
63490
63492
  state = _useState7[0],
63491
63493
  setState = _useState7[1];
63494
+ var _useState8 = React.useState(false),
63495
+ isSearchInProgress = _useState8[0],
63496
+ setIsSearchInProgress = _useState8[1];
63492
63497
  var localeService = props.container ? props.container.get(SERVICE.LOCALE) : inversifyReact.useInjection(SERVICE.LOCALE);
63493
63498
  var isEditable = !props.isDisabled && !props.isReadOnly;
63494
63499
  var isInputReadOnly = !(props.getValueList || props.getAllValueList || props.valueList);
@@ -63763,7 +63768,8 @@ var LookupPicker = React.forwardRef(function (props, ref) {
63763
63768
  return null;
63764
63769
  };
63765
63770
  var onSearch = function onSearch() {
63766
- if (props.onSearch) {
63771
+ if (!isSearchInProgress && props.onSearch) {
63772
+ setIsSearchInProgress(true);
63767
63773
  props.onSearch().then(function (valueList) {
63768
63774
  if (valueList) {
63769
63775
  var newValueList = props.isMultiSelect ? [].concat(selectedValueList, valueList) : [valueList[0]];
@@ -63780,6 +63786,8 @@ var LookupPicker = React.forwardRef(function (props, ref) {
63780
63786
  setState(CTRL.EMPTY);
63781
63787
  }
63782
63788
  }
63789
+ })["finally"](function () {
63790
+ return setIsSearchInProgress(false);
63783
63791
  });
63784
63792
  }
63785
63793
  };
@@ -66954,7 +66962,7 @@ var Viewer = function Viewer(props) {
66954
66962
  };
66955
66963
 
66956
66964
  var name = "@vitrosoftware/common-ui-ts";
66957
- var version$1 = "1.1.240";
66965
+ var version$1 = "1.1.241";
66958
66966
  var description = "vitro software common ui ts";
66959
66967
  var author = "";
66960
66968
  var license = "MIT";