@vitrosoftware/common-ui-ts 1.1.122 → 1.1.123
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/checkbox/checkbox.css +4 -0
- package/css/std/controls/checkbox/img/checkbox-indeterminate.svg +4 -0
- package/css/std/controls/date-picker/date-picker.css +1 -25
- package/css/std/controls/dxf-viewer/annotation.css +85 -0
- package/css/std/controls/dxf-viewer/common.css +24 -0
- package/css/std/controls/dxf-viewer/dxf-viewer-index.css +14081 -0
- package/css/std/controls/dxf-viewer/dxf-viewer.css +194 -0
- package/css/std/controls/dxf-viewer/img/cancel-dark-grey.svg +5 -0
- package/css/std/controls/dxf-viewer/img/collapse-bottom.svg +5 -0
- package/css/std/controls/dxf-viewer/img/collapse-up-blue.svg +5 -0
- package/css/std/controls/dxf-viewer/img/delete-active.svg +11 -0
- package/css/std/controls/dxf-viewer/img/delete.svg +11 -0
- package/css/std/controls/dxf-viewer/img/draw-annotation.svg +3 -0
- package/css/std/controls/dxf-viewer/img/invisible-eye.svg +4 -0
- package/css/std/controls/dxf-viewer/img/show-annotation.svg +3 -0
- package/css/std/controls/dxf-viewer/img/sidebar-layers-toggle.svg +6 -0
- package/css/std/controls/dxf-viewer/img/sidebar-notes-toggle.svg +5 -0
- package/css/std/controls/dxf-viewer/img/sidebar-resizer.svg +6 -0
- package/css/std/controls/dxf-viewer/img/sidebar-toggle.svg +7 -0
- package/css/std/controls/dxf-viewer/img/visible-eye.svg +4 -0
- package/css/std/controls/dxf-viewer/img/zoom-in.svg +6 -0
- package/css/std/controls/dxf-viewer/img/zoom-out.svg +5 -0
- package/css/std/controls/dxf-viewer/layer-list.css +104 -0
- package/css/std/controls/dxf-viewer/panel.css +34 -0
- package/css/std/controls/dxf-viewer/prop-inspector.css +102 -0
- package/css/std/controls/dxf-viewer/select.css +111 -0
- package/css/std/controls/dxf-viewer/sidebar.css +190 -0
- package/css/std/controls/dxf-viewer/thumbnail-list.css +65 -0
- package/css/std/controls/dxf-viewer/toolbar.css +117 -0
- package/css/std/controls/dxf-viewer/treeview.css +3 -0
- package/css/std/controls/dxf-viewer/treeview.panel.css +108 -0
- package/css/std/controls/error-message/error-message.css +22 -0
- package/css/std/controls/image-picker/image-picker.css +0 -26
- package/css/std/controls/input/input.css +1 -24
- package/css/std/controls/issue-tile/issue-tile-header.css +1 -0
- package/css/std/controls/login/ntlm-authentication-form.css +9 -12
- package/css/std/controls/lookup-picker/lookup-picker-value-list.css +38 -2
- package/css/std/controls/lookup-picker/lookup-picker.css +1 -25
- package/css/std/controls/table-view/treegrid-context-menu.css +44 -18
- package/css/std/controls/table-view/treegrid-message.css +4 -4
- package/css/std/controls/time-picker/time-picker.css +1 -25
- package/dist/index.css +81 -143
- package/dist/index.js +15137 -489
- package/dist/index.js.map +1 -1
- package/dist/src/controls/Checkbox/Checkbox.d.ts +1 -0
- package/dist/src/controls/DxfViewer/DxfViewer.d.ts +6 -0
- package/dist/src/controls/DxfViewer/DxfViewerContext.d.ts +31 -0
- package/dist/src/controls/DxfViewer/Layer.d.ts +9 -0
- package/dist/src/controls/DxfViewer/LayerList.d.ts +11 -0
- package/dist/src/controls/DxfViewer/Thumbnail.d.ts +7 -0
- package/dist/src/controls/DxfViewer/ThumbnailList.d.ts +6 -0
- package/dist/src/controls/DxfViewer/Viewer.d.ts +6 -0
- package/dist/src/controls/ErrorMessage/ErrorMessage.d.ts +6 -0
- package/dist/src/controls/Login/FormRef.d.ts +3 -0
- package/dist/src/controls/Login/LoginConstants.d.ts +2 -1
- package/dist/src/controls/Login/LoginFormRef.d.ts +2 -2
- package/dist/src/controls/Login/NTLMAuthenticationForm.d.ts +5 -2
- package/dist/src/controls/LookupPicker/LookupPicker.d.ts +2 -0
- package/dist/src/controls/LookupPicker/ValueList.d.ts +2 -0
- package/dist/src/controls/TableView/TableViewConstants.d.ts +11 -0
- package/dist/src/controls/TableView/TreeGridTableViewContextImpl.d.ts +1 -0
- package/dist/src/controls/TreeView/TreeView.d.ts +4 -0
- package/dist/src/controls/TreeView/TreeViewConfig.d.ts +3 -0
- package/dist/src/controls/TreeView/TreeViewConstants.d.ts +2 -1
- package/dist/src/index.d.ts +7 -1
- package/lib/dxf-viewer/BatchingKey.js +91 -0
- package/lib/dxf-viewer/DxfFetcher.js +39 -0
- package/lib/dxf-viewer/DxfScene.js +2695 -0
- package/lib/dxf-viewer/DxfViewer.js +1056 -0
- package/lib/dxf-viewer/DxfWorker.js +229 -0
- package/lib/dxf-viewer/DynamicBuffer.js +100 -0
- package/lib/dxf-viewer/HatchCalculator.js +345 -0
- package/lib/dxf-viewer/LinearDimension.js +323 -0
- package/lib/dxf-viewer/MTextFormatParser.js +211 -0
- package/lib/dxf-viewer/MaterialKey.js +37 -0
- package/lib/dxf-viewer/OrbitControls.js +1253 -0
- package/lib/dxf-viewer/Pattern.js +94 -0
- package/lib/dxf-viewer/RBTree.js +471 -0
- package/lib/dxf-viewer/TextRenderer.js +1038 -0
- package/lib/dxf-viewer/index.js +42 -0
- package/lib/dxf-viewer/math/Matrix2.js +77 -0
- package/lib/dxf-viewer/math/utils.js +59 -0
- package/lib/dxf-viewer/parser/AutoCadColorIndex.js +265 -0
- package/lib/dxf-viewer/parser/DimStyleCodes.js +33 -0
- package/lib/dxf-viewer/parser/DxfArrayScanner.js +143 -0
- package/lib/dxf-viewer/parser/DxfParser.js +980 -0
- package/lib/dxf-viewer/parser/ExtendedDataParse-My.js +91 -0
- package/lib/dxf-viewer/parser/ExtendedDataParser.js +123 -0
- package/lib/dxf-viewer/parser/ParseHelpers.js +142 -0
- package/lib/dxf-viewer/parser/entities/3dface.js +83 -0
- package/lib/dxf-viewer/parser/entities/arc.js +38 -0
- package/lib/dxf-viewer/parser/entities/attdef.js +89 -0
- package/lib/dxf-viewer/parser/entities/attrib.js +34 -0
- package/lib/dxf-viewer/parser/entities/attribute.js +109 -0
- package/lib/dxf-viewer/parser/entities/circle.js +43 -0
- package/lib/dxf-viewer/parser/entities/dimension.js +72 -0
- package/lib/dxf-viewer/parser/entities/ellipse.js +46 -0
- package/lib/dxf-viewer/parser/entities/hatch.js +343 -0
- package/lib/dxf-viewer/parser/entities/insert.js +62 -0
- package/lib/dxf-viewer/parser/entities/leader.js +84 -0
- package/lib/dxf-viewer/parser/entities/line.js +34 -0
- package/lib/dxf-viewer/parser/entities/lwpolyline.js +100 -0
- package/lib/dxf-viewer/parser/entities/mtext.js +54 -0
- package/lib/dxf-viewer/parser/entities/point.js +35 -0
- package/lib/dxf-viewer/parser/entities/polyline.js +92 -0
- package/lib/dxf-viewer/parser/entities/solid.js +40 -0
- package/lib/dxf-viewer/parser/entities/spline.js +70 -0
- package/lib/dxf-viewer/parser/entities/text.js +47 -0
- package/lib/dxf-viewer/parser/entities/vertex.js +62 -0
- package/lib/dxf-viewer/parser/entities/viewport.js +56 -0
- package/lib/dxf-viewer/parser/objects/dictionary.js +29 -0
- package/lib/dxf-viewer/parser/objects/layout.js +35 -0
- package/lib/dxf-viewer/parser/objects/xrecord.js +29 -0
- package/lib/opentype/opentype.module.js +14571 -0
- package/lib/three/CSS2DRenderer.js +235 -0
- package/lib/three/three.module.js +49912 -0
- package/package.json +12 -10
- package/src/controls/BimViewer/js/bim-viewer.js +2 -2
- package/src/controls/DxfViewer/js/dxf-viewer.js +3541 -0
- package/src/controls/PdfViewer/js/pdf-viewer.js +1 -1
- package/css/std/controls/input/img/error-message.svg +0 -6
- package/css/std/controls/lookup-picker/img/error-message.svg +0 -6
- package/css/std/controls/time-picker/img/error-message.svg +0 -6
- /package/css/std/controls/{date-picker → error-message}/img/error-message.svg +0 -0
|
@@ -40,6 +40,10 @@
|
|
|
40
40
|
background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/checkbox/img/checkbox-active.svg');
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.vitro-checkbox-content input:indeterminate::before {
|
|
44
|
+
background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/checkbox/img/checkbox-indeterminate.svg');
|
|
45
|
+
}
|
|
46
|
+
|
|
43
47
|
.vitro-label {
|
|
44
48
|
color: #4A556C;
|
|
45
49
|
font-size: 14px;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="8.375" y="8.375" width="7.25" height="7.25" rx="1" fill="#4292F7"/>
|
|
3
|
+
<rect x="4" y="4" width="16" height="16" rx="1.875" stroke="#C0CAD5" stroke-width="1.25"/>
|
|
4
|
+
</svg>
|
|
@@ -92,34 +92,10 @@
|
|
|
92
92
|
width: 300px;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
.vitro-error-
|
|
96
|
-
display: inline-block;
|
|
97
|
-
vertical-align: text-top;
|
|
98
|
-
color: #D13438;
|
|
99
|
-
font-size: 14px;
|
|
100
|
-
line-height: 135%;
|
|
101
|
-
margin-top: 2px;
|
|
102
|
-
width: 100%;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.vitro-focus .vitro-error-text {
|
|
95
|
+
.vitro-focus .vitro-error-message {
|
|
106
96
|
display: none;
|
|
107
97
|
}
|
|
108
98
|
|
|
109
|
-
.vitro-error-text::before {
|
|
110
|
-
content: '';
|
|
111
|
-
display: inline-block;
|
|
112
|
-
vertical-align: text-top;
|
|
113
|
-
height: 16px;
|
|
114
|
-
width: 16px;
|
|
115
|
-
min-width: 16px;
|
|
116
|
-
min-height: 16px;
|
|
117
|
-
margin-right: 4px;
|
|
118
|
-
background-size: 100%;
|
|
119
|
-
background-position: center;
|
|
120
|
-
background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/date-picker/img/error-message.svg');
|
|
121
|
-
}
|
|
122
|
-
|
|
123
99
|
:global(.k-datepicker) {
|
|
124
100
|
width: 100% !important;
|
|
125
101
|
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
.annotation-marker {
|
|
2
|
+
color: #ffffff;
|
|
3
|
+
font-size: 12px;
|
|
4
|
+
line-height: 2.4;
|
|
5
|
+
text-align: center;
|
|
6
|
+
font-family: Arial;
|
|
7
|
+
font-weight: bold;
|
|
8
|
+
position: absolute;
|
|
9
|
+
width: 32px;
|
|
10
|
+
height: 32px;
|
|
11
|
+
border-radius: 16px;
|
|
12
|
+
border: 2px solid #ffffff;
|
|
13
|
+
background: black;
|
|
14
|
+
visibility: hidden;
|
|
15
|
+
box-shadow: 5px 5px 15px 1px #000000;
|
|
16
|
+
z-index: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.annotation-label {
|
|
20
|
+
position: absolute;
|
|
21
|
+
max-width: 250px;
|
|
22
|
+
min-height: 50px;
|
|
23
|
+
padding: 8px;
|
|
24
|
+
padding-left: 12px;
|
|
25
|
+
padding-right: 12px;
|
|
26
|
+
background: #ffffff;
|
|
27
|
+
color: #000000;
|
|
28
|
+
-webkit-border-radius: 3px;
|
|
29
|
+
-moz-border-radius: 3px;
|
|
30
|
+
border-radius: 8px;
|
|
31
|
+
border: #ffffff solid 2px;
|
|
32
|
+
box-shadow: 5px 5px 15px 1px #000000;
|
|
33
|
+
z-index: 90000;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.annotation-label:after {
|
|
37
|
+
content: '';
|
|
38
|
+
position: absolute;
|
|
39
|
+
border-style: solid;
|
|
40
|
+
border-width: 8px 12px 8px 0;
|
|
41
|
+
border-color: transparent white;
|
|
42
|
+
display: block;
|
|
43
|
+
width: 0;
|
|
44
|
+
z-index: 1;
|
|
45
|
+
margin-top: -11px;
|
|
46
|
+
left: -12px;
|
|
47
|
+
top: 20px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.annotation-label:before {
|
|
51
|
+
content: '';
|
|
52
|
+
position: absolute;
|
|
53
|
+
border-style: solid;
|
|
54
|
+
border-width: 9px 13px 9px 0;
|
|
55
|
+
border-color: transparent #ffffff;
|
|
56
|
+
display: block;
|
|
57
|
+
width: 0;
|
|
58
|
+
z-index: 0;
|
|
59
|
+
margin-top: -12px;
|
|
60
|
+
left: -15px;
|
|
61
|
+
top: 20px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.annotation-title {
|
|
65
|
+
font: normal 20px arial, serif;
|
|
66
|
+
margin-bottom: 8px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.annotation-desc {
|
|
70
|
+
font: normal 14px arial, serif;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.hide-annotations .annotation-label,
|
|
74
|
+
.hide-annotations .annotation-marker {
|
|
75
|
+
visibility: hidden;
|
|
76
|
+
opacity: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
body:not(.hide-annotations) .annotation-marker {
|
|
80
|
+
visibility: visible !important;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
body:not(.hide-annotations) .annotation-label {
|
|
84
|
+
visibility: visible !important;
|
|
85
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
html,
|
|
2
|
+
body {
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
font-family: Arial;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
html,
|
|
9
|
+
body,
|
|
10
|
+
.canvas-wrap,
|
|
11
|
+
.canvasContainer {
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
body {
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.canvas-wrap,
|
|
21
|
+
.canvasContainer {
|
|
22
|
+
height: calc(100% - 51px); /* 32 */
|
|
23
|
+
position: relative;
|
|
24
|
+
}
|