@vitrosoftware/common-ui-ts 1.1.112 → 1.1.113
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/pdf-viewer/compare.css +24 -24
- package/css/std/controls/pdf-viewer/custom.css +2 -2
- package/css/std/controls/pdf-viewer/form.css +78 -1
- package/css/std/controls/pdf-viewer/img/cancel-white.svg +10 -0
- package/css/std/controls/pdf-viewer/img/close-compare-viewer-active.svg +5 -0
- package/css/std/controls/pdf-viewer/img/close-compare-viewer.svg +5 -0
- package/css/std/controls/pdf-viewer/img/collapse-bottom.svg +5 -0
- package/css/std/controls/pdf-viewer/img/collapse-up-blue.svg +5 -0
- package/css/std/controls/pdf-viewer/img/compare-dlg-separator.svg +1 -0
- package/css/std/controls/pdf-viewer/img/compare-overlay.svg +1 -0
- package/css/std/controls/pdf-viewer/img/compare-side-by-side.svg +5 -0
- package/css/std/controls/pdf-viewer/img/finish-align-active.svg +8 -0
- package/css/std/controls/pdf-viewer/img/finish-align.svg +8 -0
- package/css/std/controls/pdf-viewer/img/fit-to-view-active.svg +5 -0
- package/css/std/controls/pdf-viewer/img/fit-to-view.svg +5 -0
- package/css/std/controls/pdf-viewer/img/hide-colors-active.svg +1 -0
- package/css/std/controls/pdf-viewer/img/hide-colors.svg +3 -0
- package/css/std/controls/pdf-viewer/img/overlay-active.svg +4 -0
- package/css/std/controls/pdf-viewer/img/overlay.svg +4 -0
- package/css/std/controls/pdf-viewer/img/pan-active.svg +3 -0
- package/css/std/controls/pdf-viewer/img/pan.svg +3 -0
- package/css/std/controls/pdf-viewer/img/panel-visibility-active.svg +8 -0
- package/css/std/controls/pdf-viewer/img/panel-visibility.svg +8 -0
- package/css/std/controls/pdf-viewer/img/side-by-side-active.svg +4 -0
- package/css/std/controls/pdf-viewer/img/side-by-side.svg +4 -0
- package/css/std/controls/pdf-viewer/img/zoom-active.svg +5 -0
- package/css/std/controls/pdf-viewer/img/zoom.svg +5 -0
- package/css/std/controls/pdf-viewer/measure.css +138 -7
- package/css/std/controls/pdf-viewer/pdf-viewer-index.css +309 -64
- package/css/std/controls/pdf-viewer/pdf-viewer.css +66 -30
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/controls/BimViewer/js/bim-viewer.js +2 -2
- package/src/controls/PdfViewer/js/pdf-viewer.js +1171 -238
|
@@ -271,6 +271,11 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
|
271
271
|
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.14), 0 12px 34px 0 rgba(0, 0, 0, 0.19);
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
+
.measures-dlg-wrap {
|
|
275
|
+
display: flex;
|
|
276
|
+
flex-direction: column;
|
|
277
|
+
}
|
|
278
|
+
|
|
274
279
|
.compare-dlg-wrap {
|
|
275
280
|
width: 600px;
|
|
276
281
|
}
|
|
@@ -313,13 +318,25 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
|
313
318
|
border-radius: 0 0 4px 4px;
|
|
314
319
|
}
|
|
315
320
|
|
|
321
|
+
.measures-dlg-footer {
|
|
322
|
+
margin-top: auto;
|
|
323
|
+
flex-direction: column;
|
|
324
|
+
}
|
|
325
|
+
|
|
316
326
|
.close {
|
|
317
327
|
opacity: 1;
|
|
318
|
-
background-image: url(
|
|
328
|
+
background-image: url('img/cancel-white.svg');
|
|
319
329
|
}
|
|
320
330
|
|
|
321
|
-
.
|
|
322
|
-
|
|
331
|
+
.measures-dlg-header .close {
|
|
332
|
+
right: 20px;
|
|
333
|
+
top: 24px;
|
|
334
|
+
height: 24px;
|
|
335
|
+
width: 24px;
|
|
336
|
+
background-image: url('img/cancel-dark-grey.svg');
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.compare-dlg-wrap .close {
|
|
323
340
|
width: 30px;
|
|
324
341
|
height: 30px;
|
|
325
342
|
top: 0;
|
|
@@ -337,8 +354,8 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
|
337
354
|
margin-bottom: 22px;
|
|
338
355
|
}
|
|
339
356
|
|
|
340
|
-
.field-grp label,
|
|
341
|
-
.uk-margin label {
|
|
357
|
+
.compare-dlg-body .field-grp label,
|
|
358
|
+
.measures-settings-controls .uk-margin label {
|
|
342
359
|
color: #4A556C;
|
|
343
360
|
padding: 0 6px;
|
|
344
361
|
background: #fff;
|
|
@@ -387,7 +404,7 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
|
387
404
|
|
|
388
405
|
.select > span {
|
|
389
406
|
display: block;
|
|
390
|
-
background-image: url(
|
|
407
|
+
background-image: url('img/collapse-bottom.svg');
|
|
391
408
|
width: 24px;
|
|
392
409
|
height: 24px;
|
|
393
410
|
position: absolute;
|
|
@@ -400,8 +417,7 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
|
400
417
|
}
|
|
401
418
|
|
|
402
419
|
.select.active > span {
|
|
403
|
-
|
|
404
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M19.5 9L12 16.5L4.5 9' stroke='%233274E0' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
420
|
+
background-image: url('img/collapse-up-blue.svg');
|
|
405
421
|
}
|
|
406
422
|
|
|
407
423
|
.select.active {
|
|
@@ -570,6 +586,7 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
|
570
586
|
height: 20px;
|
|
571
587
|
width: 20px;
|
|
572
588
|
top: calc(50% - 10px);
|
|
589
|
+
background-size: 100%;
|
|
573
590
|
z-index: 1000;
|
|
574
591
|
opacity: 1;
|
|
575
592
|
}
|
|
@@ -601,7 +618,7 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
|
601
618
|
top: 20px;
|
|
602
619
|
right: 16px;
|
|
603
620
|
cursor: pointer;
|
|
604
|
-
background-image: url(
|
|
621
|
+
background-image: url('img/cancel-dark-grey.svg');
|
|
605
622
|
}
|
|
606
623
|
|
|
607
624
|
.compare-panel_body {
|
|
@@ -615,6 +632,18 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
|
615
632
|
background-color: transparent;
|
|
616
633
|
}
|
|
617
634
|
|
|
635
|
+
.compare-layer-visibility {
|
|
636
|
+
background-repeat: no-repeat;
|
|
637
|
+
background-position: center center;
|
|
638
|
+
background-image: url('img/layer-unvisible.svg');
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.compare-layer-visibility.active {
|
|
642
|
+
background-repeat: no-repeat;
|
|
643
|
+
background-position: center center;
|
|
644
|
+
background-image: url('img/layer-visible.svg');
|
|
645
|
+
}
|
|
646
|
+
|
|
618
647
|
.compare-toolbar-btn {
|
|
619
648
|
margin: 0;
|
|
620
649
|
margin-right: 12px;
|
|
@@ -687,96 +716,96 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
|
687
716
|
}
|
|
688
717
|
|
|
689
718
|
.compare-dlg_doc-sep {
|
|
690
|
-
background-image: url(
|
|
719
|
+
background-image: url('img/compare-dlg-separator.svg');
|
|
691
720
|
}
|
|
692
721
|
|
|
693
722
|
#btnComparePan {
|
|
694
|
-
background-image: url(
|
|
723
|
+
background-image: url('img/pan.svg');
|
|
695
724
|
}
|
|
696
725
|
|
|
697
726
|
#btnComparePan:hover,
|
|
698
727
|
#btnComparePan.active {
|
|
699
|
-
background-image: url(
|
|
728
|
+
background-image: url('img/pan-active.svg');
|
|
700
729
|
}
|
|
701
730
|
|
|
702
731
|
#btnCompareZoom {
|
|
703
|
-
background-image: url(
|
|
732
|
+
background-image: url('img/zoom.svg');
|
|
704
733
|
}
|
|
705
734
|
|
|
706
735
|
#btnCompareZoom:hover,
|
|
707
736
|
#btnCompareZoom.active {
|
|
708
|
-
background-image: url(
|
|
737
|
+
background-image: url('img/zoom-active.svg');
|
|
709
738
|
}
|
|
710
739
|
|
|
711
740
|
#btnFitToView {
|
|
712
|
-
background-image: url(
|
|
741
|
+
background-image: url('img/fit-to-view.svg');
|
|
713
742
|
}
|
|
714
743
|
|
|
715
744
|
#btnFitToView:hover,
|
|
716
745
|
#btnFitToView.active {
|
|
717
|
-
background-image: url(
|
|
746
|
+
background-image: url('img/fit-to-view-active.svg');
|
|
718
747
|
}
|
|
719
748
|
|
|
720
749
|
#btnCompareType.type-overlay {
|
|
721
|
-
background-image: url(
|
|
750
|
+
background-image: url('img/compare-overlay.svg');
|
|
722
751
|
}
|
|
723
752
|
|
|
724
753
|
#btnCompareType.type-side-by-side {
|
|
725
|
-
background-image: url(
|
|
754
|
+
background-image: url('img/compare-side-by-side.svg');
|
|
726
755
|
}
|
|
727
756
|
|
|
728
757
|
#btnComparePanel {
|
|
729
|
-
background-image: url(
|
|
758
|
+
background-image: url('img/panel-visibility.svg');
|
|
730
759
|
}
|
|
731
760
|
|
|
732
761
|
#btnComparePanel:hover,
|
|
733
762
|
#btnComparePanel.active {
|
|
734
|
-
background-image: url(
|
|
763
|
+
background-image: url('img/panel-visibility-active.svg');
|
|
735
764
|
}
|
|
736
765
|
|
|
737
766
|
#btnCompareViewerExit {
|
|
738
|
-
background-image: url(
|
|
767
|
+
background-image: url('img/close-compare-viewer.svg');
|
|
739
768
|
}
|
|
740
769
|
|
|
741
770
|
#btnCompareViewerExit:hover,
|
|
742
771
|
#btnCompareViewerExit.active {
|
|
743
|
-
background-image: url(
|
|
772
|
+
background-image: url('img/close-compare-viewer-active.svg');
|
|
744
773
|
}
|
|
745
774
|
|
|
746
775
|
#btnCompareTypeSideBySide {
|
|
747
|
-
background-image: url(
|
|
776
|
+
background-image: url('img/side-by-side.svg');
|
|
748
777
|
}
|
|
749
778
|
|
|
750
779
|
#btnCompareTypeOverlay {
|
|
751
|
-
background-image: url(
|
|
780
|
+
background-image: url('img/overlay.svg');
|
|
752
781
|
}
|
|
753
782
|
|
|
754
783
|
#btnCompareTypeSideBySide.active {
|
|
755
|
-
background-image: url(
|
|
784
|
+
background-image: url('img/side-by-side-active.svg');
|
|
756
785
|
}
|
|
757
786
|
|
|
758
787
|
#btnCompareTypeOverlay.active {
|
|
759
|
-
background-image: url(
|
|
788
|
+
background-image: url('img/overlay-active.svg');
|
|
760
789
|
}
|
|
761
790
|
|
|
762
791
|
#hideColors {
|
|
763
|
-
background-image: url(
|
|
792
|
+
background-image: url('img/hide-colors.svg');
|
|
764
793
|
background-position: center !important;
|
|
765
794
|
background-repeat: no-repeat !important;
|
|
766
795
|
}
|
|
767
796
|
|
|
768
797
|
#hideColors.active {
|
|
769
|
-
background-image: url(
|
|
798
|
+
background-image: url('img/hide-colors-active.svg');
|
|
770
799
|
}
|
|
771
800
|
|
|
772
801
|
#alignFinish {
|
|
773
|
-
background-image: url(
|
|
802
|
+
background-image: url('img/finish-align.svg');
|
|
774
803
|
background-position: center !important;
|
|
775
804
|
background-repeat: no-repeat !important;
|
|
776
805
|
}
|
|
777
806
|
|
|
778
807
|
#alignFinish.active {
|
|
779
|
-
background-image: url(
|
|
808
|
+
background-image: url('img/finish-align-active.svg');
|
|
780
809
|
}
|
|
781
810
|
|
|
782
811
|
#documentPropertiesDialog {
|
|
@@ -986,4 +1015,11 @@ dialog .separator {
|
|
|
986
1015
|
.measure-toolbar-btn.active {
|
|
987
1016
|
background-color: #DCEEFF;
|
|
988
1017
|
border-radius: 4px;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
.uk-input#measures2PointSize {
|
|
1021
|
+
border: 1px solid #C0CAD5;
|
|
1022
|
+
border-radius: 4px;
|
|
1023
|
+
height: 40px;
|
|
1024
|
+
width: 100%;
|
|
989
1025
|
}
|
package/dist/index.js
CHANGED
|
@@ -61924,7 +61924,7 @@ var Viewer = function Viewer(props) {
|
|
|
61924
61924
|
};
|
|
61925
61925
|
|
|
61926
61926
|
var name = "@vitrosoftware/common-ui-ts";
|
|
61927
|
-
var version$1 = "1.1.
|
|
61927
|
+
var version$1 = "1.1.113";
|
|
61928
61928
|
var description = "vitro software common ui ts";
|
|
61929
61929
|
var author = "";
|
|
61930
61930
|
var license = "MIT";
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BIMModel, BIMCommon, BIMAnnotation } from '/resource/bimViewer/js/bim-viewer-models.js?version=1.1.
|
|
1
|
+
import { BIMModel, BIMCommon, BIMAnnotation } from '/resource/bimViewer/js/bim-viewer-models.js?version=1.1.113';
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
Viewer, XKTLoaderPlugin, NavCubePlugin, SectionPlanesPlugin, math, BCFViewpointsPlugin, AnnotationsPlugin,
|
|
5
5
|
ContextMenu, TreeViewPlugin, StoreyViewsPlugin, AngleMeasurementsPlugin, CameraMemento, DistanceMeasurementsPlugin,
|
|
6
6
|
GLTFLoaderPlugin, utils, FastNavPlugin, MetaObject
|
|
7
7
|
}
|
|
8
|
-
from '/resource/bimViewer/js/xeokit/xeokit-sdk.es.js?version=1.1.
|
|
8
|
+
from '/resource/bimViewer/js/xeokit/xeokit-sdk.es.js?version=1.1.113';
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
const processByChildIdList = (treeViewNode, event) => {
|