@vitrosoftware/common-ui-ts 1.1.173 → 1.1.175
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 +4 -2
- package/dist/index.js.map +1 -1
- package/dist/src/controls/AddFieldButton/List.d.ts +12 -0
- package/package.json +1 -1
- package/src/controls/BimViewer/js/bim-viewer.js +2 -2
- package/src/controls/DxfViewer/js/dxf-viewer.js +14 -14
- package/src/controls/PdfViewer/js/pdf-viewer.js +1 -1
package/dist/index.js
CHANGED
|
@@ -63545,7 +63545,7 @@ var Viewer = function Viewer(props) {
|
|
|
63545
63545
|
};
|
|
63546
63546
|
|
|
63547
63547
|
var name = "@vitrosoftware/common-ui-ts";
|
|
63548
|
-
var version$1 = "1.1.
|
|
63548
|
+
var version$1 = "1.1.175";
|
|
63549
63549
|
var description = "vitro software common ui ts";
|
|
63550
63550
|
var author = "";
|
|
63551
63551
|
var license = "MIT";
|
|
@@ -64799,6 +64799,8 @@ var ValueListItem = function ValueListItem(props) {
|
|
|
64799
64799
|
};
|
|
64800
64800
|
|
|
64801
64801
|
var FLAG = 'gi';
|
|
64802
|
+
var REPLACEMENT = '\\$&';
|
|
64803
|
+
var PATTERN = /[.*+?^${}()|[\]\\]/g;
|
|
64802
64804
|
var ValueList = function ValueList(props) {
|
|
64803
64805
|
var _useState = React.useState(null),
|
|
64804
64806
|
scrollableElement = _useState[0],
|
|
@@ -64806,7 +64808,7 @@ var ValueList = function ValueList(props) {
|
|
|
64806
64808
|
var _useState2 = React.useState(null),
|
|
64807
64809
|
style = _useState2[0],
|
|
64808
64810
|
setStyle = _useState2[1];
|
|
64809
|
-
var reg = new RegExp(props.inputValue, FLAG);
|
|
64811
|
+
var reg = new RegExp(props.inputValue.replace(PATTERN, REPLACEMENT), FLAG);
|
|
64810
64812
|
React.useEffect(function () {
|
|
64811
64813
|
if (scrollableElement && scrollableElement.scrollTop === 0) {
|
|
64812
64814
|
scrollableElement.scrollTop = 1;
|