@vitrosoftware/common-ui-ts 1.1.260 → 1.1.261
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/css/std/controls/bim-viewer/bim-viewer-index.css +8 -0
- package/css/std/controls/bim-viewer/bim-viewer.css +8 -0
- package/css/std/controls/bim-viewer/img/save-summary-model.svg +12 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/src/controls/BimViewer/services/BimViewerService.d.ts +1 -7
- package/package.json +1 -1
- package/src/controls/BimViewer/js/bim-viewer-models.js +2 -2
- package/src/controls/BimViewer/js/bim-viewer.js +99 -44
- package/src/controls/DxfViewer/js/dxf-viewer.js +15 -15
- package/src/controls/PdfViewer/js/pdf-viewer.js +1 -1
|
@@ -14716,6 +14716,14 @@ div:focus-visible {
|
|
|
14716
14716
|
height: 28px;
|
|
14717
14717
|
}
|
|
14718
14718
|
|
|
14719
|
+
.toolbarButton#btnSaveCoordinationModel::before {
|
|
14720
|
+
content: '';
|
|
14721
|
+
background-image: url('img/save-summary-model.svg');
|
|
14722
|
+
background-size: 100%;
|
|
14723
|
+
width: 28px;
|
|
14724
|
+
height: 28px;
|
|
14725
|
+
}
|
|
14726
|
+
|
|
14719
14727
|
.TWMenuMain {
|
|
14720
14728
|
z-index: 99000011 !important;
|
|
14721
14729
|
}
|
|
@@ -444,6 +444,14 @@ div:focus-visible {
|
|
|
444
444
|
height: 28px;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
+
.toolbarButton#btnSaveCoordinationModel::before {
|
|
448
|
+
content: '';
|
|
449
|
+
background-image: url('img/save-summary-model.svg');
|
|
450
|
+
background-size: 100%;
|
|
451
|
+
width: 28px;
|
|
452
|
+
height: 28px;
|
|
453
|
+
}
|
|
454
|
+
|
|
447
455
|
.TWMenuMain {
|
|
448
456
|
z-index: 99000011 !important;
|
|
449
457
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_4699_9737)">
|
|
3
|
+
<path d="M12.2393 1.06152L17.7393 4.06152L18 4.20312V10.2031L23.2393 13.0615L23.5 13.2031V19.7969L23.2393 19.9385L17.7393 22.9385L17.5 23.0693L17.2607 22.9385L12 20.0684L6.73926 22.9385L6.5 23.0693L6.26074 22.9385L0.760742 19.9385L0.5 19.7969V13.2031L0.760742 13.0615L6 10.2031V4.20312L6.26074 4.06152L11.7607 1.06152L12 0.930664L12.2393 1.06152ZM1.5 19.2031L6 21.6582V16.7959L1.5 14.3408V19.2031ZM12.5 7.7959V9.03125C12.3362 9.01082 12.1693 9 12 9C11.8307 9 11.6638 9.01082 11.5 9.03125V7.7959L7 5.34082V10.2031L8.51758 11.0312C8.35363 11.3206 8.22486 11.6324 8.13672 11.9609L6.5 11.0684L2.04297 13.5L6.5 15.9307L8.45898 14.8613C8.61636 15.1601 8.81037 15.4365 9.03516 15.6846L7 16.7959V21.6582L11.5 19.2031V16.9678C11.6638 16.9882 11.8306 17 12 17C12.1694 17 12.3362 16.9882 12.5 16.9678V19.2031L17 21.6582V16.7959L14.9639 15.6846C15.1887 15.4365 15.3826 15.1601 15.54 14.8613L17.5 15.9307L21.9561 13.5L17.5 11.0684L15.8623 11.9609C15.7741 11.6323 15.6455 11.3207 15.4814 11.0312L17 10.2031V5.34082L12.5 7.7959ZM18 16.7959V21.6582L22.5 19.2031V14.3408L18 16.7959ZM7.54297 4.5L12 6.93066L16.4561 4.5L12 2.06836L7.54297 4.5Z" fill="white"/>
|
|
4
|
+
<rect x="7" y="8" width="10" height="10" rx="5" fill="white"/>
|
|
5
|
+
<path d="M14.8237 10.9036C15.0496 11.1169 15.0597 11.4729 14.8464 11.6987L11.6589 15.0737C11.5546 15.1842 11.41 15.2478 11.258 15.2499C11.1061 15.2521 10.9597 15.1927 10.8523 15.0852L9.16475 13.3977C8.94508 13.1781 8.94508 12.8219 9.16475 12.6023C9.38442 12.3826 9.74058 12.3826 9.96025 12.6023L11.2385 13.8805L14.0286 10.9263C14.2419 10.7004 14.5979 10.6902 14.8237 10.9036Z" fill="#0D1115"/>
|
|
6
|
+
</g>
|
|
7
|
+
<defs>
|
|
8
|
+
<clipPath id="clip0_4699_9737">
|
|
9
|
+
<rect width="24" height="24" fill="white"/>
|
|
10
|
+
</clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
package/dist/index.js
CHANGED
|
@@ -67758,7 +67758,7 @@ var Viewer = function Viewer(props) {
|
|
|
67758
67758
|
};
|
|
67759
67759
|
|
|
67760
67760
|
var name = "@vitrosoftware/common-ui-ts";
|
|
67761
|
-
var version$1 = "1.1.
|
|
67761
|
+
var version$1 = "1.1.261";
|
|
67762
67762
|
var description = "vitro software common ui ts";
|
|
67763
67763
|
var author = "";
|
|
67764
67764
|
var license = "MIT";
|
|
@@ -84350,12 +84350,13 @@ var Viewer$1 = function Viewer(props) {
|
|
|
84350
84350
|
}
|
|
84351
84351
|
};
|
|
84352
84352
|
var initFileVersionSelect = function initFileVersionSelect() {
|
|
84353
|
+
var _props$context$file$f;
|
|
84353
84354
|
var selectContainer = document.getElementById(ID_FILE_VERSION_SELECT$1);
|
|
84354
84355
|
var select = React__default.createElement(FileVersionSelect, {
|
|
84355
84356
|
fileName: props.context.file.fieldValueMap.name,
|
|
84356
84357
|
itemList: props.context.fileVersionList,
|
|
84357
84358
|
currentVersionId: props.context.currentVersionId,
|
|
84358
|
-
selectedVersionId: props.context.versionId || props.context.file.fieldValueMap.version.id,
|
|
84359
|
+
selectedVersionId: props.context.versionId || ((_props$context$file$f = props.context.file.fieldValueMap.version) === null || _props$context$file$f === void 0 ? void 0 : _props$context$file$f.id) || CTRL.EMPTY,
|
|
84359
84360
|
tooltipTextCurrent: props.context.currentVersionTooltipText || CTRL.EMPTY,
|
|
84360
84361
|
tooltipTextNotCurrent: props.context.notCurrentVersionTooltipText || CTRL.EMPTY,
|
|
84361
84362
|
onChange: props.context.onChangeFileVersion
|