@vitrosoftware/common-ui-ts 1.1.217 → 1.1.218
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 +7 -5
- package/dist/index.js.map +1 -1
- package/dist/src/controls/Dialog/Dialog.d.ts +1 -0
- package/dist/src/models/Item.d.ts +0 -1
- package/dist/src/models/ItemId.d.ts +2 -0
- package/dist/src/services/ItemSelectDialogService.d.ts +1 -1
- 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
|
@@ -61646,7 +61646,8 @@ var GroupControl = function GroupControl(props) {
|
|
|
61646
61646
|
horizontal: true
|
|
61647
61647
|
}, React__default.createElement(ScrollBar, {
|
|
61648
61648
|
contentClassName: styles$u['vitro-content'],
|
|
61649
|
-
contentRef: scrollbarContentRef
|
|
61649
|
+
contentRef: scrollbarContentRef,
|
|
61650
|
+
key: props.key
|
|
61650
61651
|
}, props.componentList && props.componentList.map(function (viewPart) {
|
|
61651
61652
|
return React__default.createElement(ViewPart, {
|
|
61652
61653
|
component: viewPart.component,
|
|
@@ -61663,14 +61664,15 @@ var View = React.forwardRef(function (props, ref) {
|
|
|
61663
61664
|
tabList = _useState[0],
|
|
61664
61665
|
setTabList = _useState[1];
|
|
61665
61666
|
var createTabList = function createTabList(tabList) {
|
|
61666
|
-
return tabList.map(function (tab) {
|
|
61667
|
+
return tabList.map(function (tab, index) {
|
|
61667
61668
|
return _extends({}, tab, {
|
|
61668
61669
|
text: tab.text,
|
|
61669
61670
|
content: {
|
|
61670
61671
|
component: GroupControl,
|
|
61671
61672
|
props: {
|
|
61672
61673
|
item: props.item,
|
|
61673
|
-
componentList: tab.componentList
|
|
61674
|
+
componentList: tab.componentList,
|
|
61675
|
+
key: index
|
|
61674
61676
|
}
|
|
61675
61677
|
}
|
|
61676
61678
|
});
|
|
@@ -64119,7 +64121,7 @@ var BaseLookupPicker = function BaseLookupPicker(props) {
|
|
|
64119
64121
|
var _exit = false;
|
|
64120
64122
|
var _temp2 = function () {
|
|
64121
64123
|
if (data.list) {
|
|
64122
|
-
return Promise.resolve(itemSelectDialogService.show(data.list, undefined, isMultiSelect, undefined, {
|
|
64124
|
+
return Promise.resolve(itemSelectDialogService.show(data.list, undefined, isMultiSelect, undefined, false, {
|
|
64123
64125
|
isShowSelection: isMultiSelect
|
|
64124
64126
|
})).then(function (itemIdList) {
|
|
64125
64127
|
if (itemIdList && itemIdList.length) {
|
|
@@ -67059,7 +67061,7 @@ var Viewer = function Viewer(props) {
|
|
|
67059
67061
|
};
|
|
67060
67062
|
|
|
67061
67063
|
var name = "@vitrosoftware/common-ui-ts";
|
|
67062
|
-
var version$1 = "1.1.
|
|
67064
|
+
var version$1 = "1.1.218";
|
|
67063
67065
|
var description = "vitro software common ui ts";
|
|
67064
67066
|
var author = "";
|
|
67065
67067
|
var license = "MIT";
|