@shapediver/viewer.data-engine.html-element-anchor-engine 3.8.15 → 3.9.1
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/README.md +1 -1
- package/dist/HTMLElementAnchorEngine.d.ts +2 -2
- package/dist/HTMLElementAnchorEngine.d.ts.map +1 -1
- package/dist/HTMLElementAnchorEngine.js +36 -24
- package/dist/HTMLElementAnchorEngine.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +49 -49
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# `@shapediver/viewer.data-engine.html-element-anchor-engine`
|
|
2
2
|
|
|
3
|
-
This package is part of the [`@shapediver/viewer`](https://www.npmjs.com/package/@shapediver/viewer), you can find all information [here](https://viewer.shapediver.com/v3/latest/api/index.html).
|
|
3
|
+
This package is part of the [`@shapediver/viewer`](https://www.npmjs.com/package/@shapediver/viewer), you can find all information [here](https://viewer.shapediver.com/v3/latest/api/index.html).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ShapeDiverResponseOutputContent } from "@shapediver/sdk.geometry-api-sdk-v2";
|
|
2
|
+
import { ITreeNode } from "@shapediver/viewer.shared.node-tree";
|
|
3
3
|
export declare class HTMLElementAnchorEngine {
|
|
4
4
|
private readonly _converter;
|
|
5
5
|
private readonly _inputValidator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HTMLElementAnchorEngine.d.ts","sourceRoot":"","sources":["../src/HTMLElementAnchorEngine.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HTMLElementAnchorEngine.d.ts","sourceRoot":"","sources":["../src/HTMLElementAnchorEngine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,+BAA+B,EAAC,MAAM,qCAAqC,CAAC;AAGpF,OAAO,EAAC,SAAS,EAAW,MAAM,qCAAqC,CAAC;AAcxE,qBAAa,uBAAuB;IAGnC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAiC;IAC5D,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA2C;IAC3E,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA2B;IAEnD,OAAO,CAAC,MAAM,CAAC,SAAS,CAA0B;IAMlD,WAAkB,QAAQ,4BAEzB;IAMD;;;;;OAKG;IACU,WAAW,CACvB,OAAO,EAAE,+BAA+B,GACtC,OAAO,CAAC,SAAS,CAAC;CAkJrB"}
|
|
@@ -10,10 +10,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.HTMLElementAnchorEngine = void 0;
|
|
13
|
-
const
|
|
13
|
+
const viewer_shared_math_1 = require("@shapediver/viewer.shared.math");
|
|
14
14
|
const viewer_shared_node_tree_1 = require("@shapediver/viewer.shared.node-tree");
|
|
15
15
|
const viewer_shared_services_1 = require("@shapediver/viewer.shared.services");
|
|
16
|
-
const
|
|
16
|
+
const viewer_shared_types_1 = require("@shapediver/viewer.shared.types");
|
|
17
17
|
class HTMLElementAnchorEngine {
|
|
18
18
|
constructor() {
|
|
19
19
|
// #region Properties (4)
|
|
@@ -38,47 +38,52 @@ class HTMLElementAnchorEngine {
|
|
|
38
38
|
loadContent(content) {
|
|
39
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
40
40
|
try {
|
|
41
|
-
const node = new viewer_shared_node_tree_1.TreeNode(
|
|
42
|
-
if (content.format ===
|
|
41
|
+
const node = new viewer_shared_node_tree_1.TreeNode("htmlElementAnchors");
|
|
42
|
+
if (content.format === "tag2d") {
|
|
43
43
|
const data = content.data;
|
|
44
44
|
data.forEach((element) => {
|
|
45
45
|
// we need a location and a text, otherwise this doesn't make sense
|
|
46
46
|
if (!element.location || !element.text) {
|
|
47
|
-
this._logger.warn(
|
|
47
|
+
this._logger.warn("HTMLElementAnchorEngine.load: One of the specified Tag2D elements did not have all necessary properties.");
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
50
|
const cleanedText = this._inputValidator.sanitize(element.text);
|
|
51
51
|
node.data.push(new viewer_shared_types_1.HTMLElementAnchorTextData({
|
|
52
52
|
location: this._converter.toVec3(element.location),
|
|
53
|
-
data: {
|
|
53
|
+
data: {
|
|
54
|
+
color: element.color || "#000000",
|
|
55
|
+
text: cleanedText,
|
|
56
|
+
},
|
|
54
57
|
}));
|
|
55
58
|
});
|
|
56
59
|
}
|
|
57
|
-
else if (content.format ===
|
|
60
|
+
else if (content.format === "anchor") {
|
|
58
61
|
const data = content.data;
|
|
59
62
|
data.forEach((element) => {
|
|
60
63
|
if (!element.location || !element.data) {
|
|
61
|
-
this._logger.warn(
|
|
64
|
+
this._logger.warn("HTMLElementAnchorEngine.load: One of the specified Anchor elements did not have all necessary properties.");
|
|
62
65
|
return;
|
|
63
66
|
}
|
|
64
67
|
let position;
|
|
65
68
|
if (element.data.position)
|
|
66
69
|
position = {
|
|
67
70
|
vertical: element.data.position.vertical,
|
|
68
|
-
horizontal: element.data.position.horizontal
|
|
71
|
+
horizontal: element.data.position.horizontal,
|
|
69
72
|
};
|
|
70
73
|
let intersectionTarget;
|
|
71
74
|
if (element.intersectionTarget) {
|
|
72
|
-
if (typeof element.intersectionTarget ===
|
|
75
|
+
if (typeof element.intersectionTarget === "string" ||
|
|
76
|
+
Array.isArray(element.intersectionTarget)) {
|
|
73
77
|
intersectionTarget = element.intersectionTarget;
|
|
74
78
|
}
|
|
75
|
-
else if (element.intersectionTarget.min &&
|
|
79
|
+
else if (element.intersectionTarget.min &&
|
|
80
|
+
element.intersectionTarget.max) {
|
|
76
81
|
intersectionTarget = new viewer_shared_math_1.Box(this._converter.toVec3(element.intersectionTarget.min), this._converter.toVec3(element.intersectionTarget.max));
|
|
77
82
|
}
|
|
78
83
|
}
|
|
79
|
-
if (!element.format ||
|
|
84
|
+
if (!element.format || element.format === "text") {
|
|
80
85
|
if (!element.data.text) {
|
|
81
|
-
this._logger.warn(
|
|
86
|
+
this._logger.warn("HTMLElementAnchorEngine.load: The text property for an Anchor element is missing.");
|
|
82
87
|
return;
|
|
83
88
|
}
|
|
84
89
|
const textData = element.data;
|
|
@@ -86,20 +91,23 @@ class HTMLElementAnchorEngine {
|
|
|
86
91
|
node.data.push(new viewer_shared_types_1.HTMLElementAnchorTextData({
|
|
87
92
|
location: this._converter.toVec3(element.location),
|
|
88
93
|
data: {
|
|
89
|
-
color: textData.color ||
|
|
94
|
+
color: textData.color || "#000000",
|
|
90
95
|
text: cleanedText,
|
|
91
96
|
hidden: textData.hidden,
|
|
92
97
|
textAlign: textData.textAlign,
|
|
93
|
-
position
|
|
98
|
+
position,
|
|
94
99
|
},
|
|
95
100
|
hideable: element.hideable,
|
|
96
101
|
viewports: element.viewports,
|
|
97
|
-
intersectionTarget
|
|
102
|
+
intersectionTarget,
|
|
98
103
|
}));
|
|
99
104
|
}
|
|
100
|
-
else if (element.format ===
|
|
101
|
-
if (!element.data.src ||
|
|
102
|
-
|
|
105
|
+
else if (element.format === "image") {
|
|
106
|
+
if (!element.data.src ||
|
|
107
|
+
!element.data.width ||
|
|
108
|
+
!element.data.height ||
|
|
109
|
+
!element.data.alt) {
|
|
110
|
+
this._logger.warn("HTMLElementAnchorEngine.load: One of the specified Anchor elements did not have all necessary properties.");
|
|
103
111
|
return;
|
|
104
112
|
}
|
|
105
113
|
const imageData = element.data;
|
|
@@ -107,15 +115,19 @@ class HTMLElementAnchorEngine {
|
|
|
107
115
|
location: this._converter.toVec3(element.location),
|
|
108
116
|
data: {
|
|
109
117
|
alt: imageData.alt,
|
|
110
|
-
height: typeof imageData.height ===
|
|
111
|
-
|
|
118
|
+
height: typeof imageData.height === "string"
|
|
119
|
+
? +imageData.height
|
|
120
|
+
: imageData.height,
|
|
121
|
+
width: typeof imageData.width === "string"
|
|
122
|
+
? +imageData.width
|
|
123
|
+
: imageData.width,
|
|
112
124
|
src: imageData.src,
|
|
113
125
|
hidden: imageData.hidden,
|
|
114
|
-
position
|
|
126
|
+
position,
|
|
115
127
|
},
|
|
116
128
|
hideable: element.hideable,
|
|
117
129
|
viewports: element.viewports,
|
|
118
|
-
intersectionTarget
|
|
130
|
+
intersectionTarget,
|
|
119
131
|
}));
|
|
120
132
|
}
|
|
121
133
|
this._logger.warn(`HTMLElementAnchorEngine.load: The Anchor does not have a recognized format: ${element.format}`);
|
|
@@ -124,7 +136,7 @@ class HTMLElementAnchorEngine {
|
|
|
124
136
|
return node;
|
|
125
137
|
}
|
|
126
138
|
catch (e) {
|
|
127
|
-
throw new viewer_shared_services_1.ShapeDiverViewerDataProcessingError(
|
|
139
|
+
throw new viewer_shared_services_1.ShapeDiverViewerDataProcessingError("HTMLElementAnchorEngine.load: Loading of anchors failed.");
|
|
128
140
|
}
|
|
129
141
|
});
|
|
130
142
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HTMLElementAnchorEngine.js","sourceRoot":"","sources":["../src/HTMLElementAnchorEngine.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"HTMLElementAnchorEngine.js","sourceRoot":"","sources":["../src/HTMLElementAnchorEngine.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,uEAAmD;AACnD,iFAAwE;AACxE,+EAK4C;AAC5C,yEAKyC;AAEzC,MAAa,uBAAuB;IAApC;QACC,yBAAyB;QAER,eAAU,GAAc,kCAAS,CAAC,QAAQ,CAAC;QAC3C,oBAAe,GAAmB,uCAAc,CAAC,QAAQ,CAAC;QAC1D,YAAO,GAAW,+BAAM,CAAC,QAAQ,CAAC;QAyKnD,gCAAgC;IACjC,CAAC;IAtKA,4BAA4B;IAE5B,sCAAsC;IAE/B,MAAM,KAAK,QAAQ;QACzB,OAAO,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAA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AClB,MAAM,EAAE,SAAS,CAAC,MAAM;oCACxB,QAAQ;iCACR;gCACD,QAAQ,EAAE,OAAO,CAAC,QAAQ;gCAC1B,SAAS,EAAE,OAAO,CAAC,SAAS;gCAC5B,kBAAkB;6BAClB,CAAC,CACF,CAAC;yBACF;wBACD,IAAI,CAAC,OAAO,CAAC,IAAI,CAChB,+EAA+E,OAAO,CAAC,MAAM,EAAE,CAC/F,CAAC;oBACH,CAAC,CAAC,CAAC;iBACH;gBACD,OAAO,IAAI,CAAC;aACZ;YAAC,OAAO,CAAC,EAAE;gBACX,MAAM,IAAI,4DAAmC,CAC5C,0DAA0D,CAC1D,CAAC;aACF;QACF,CAAC;KAAA;CAGD;AA/KD,0DA+KC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAC,uBAAuB,EAAC,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uEAAkE;AAE1D,wGAFA,iDAAuB,OAEA"}
|
package/package.json
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
2
|
+
"name": "@shapediver/viewer.data-engine.html-element-anchor-engine",
|
|
3
|
+
"version": "3.9.1",
|
|
4
|
+
"description": "",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"author": "Michael Oppitz <michael@shapediver.com>",
|
|
7
|
+
"license": "polyform-noncommercial-1.0.0",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"directories": {
|
|
10
|
+
"test": "__tests__"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"package.json",
|
|
14
|
+
"dist/",
|
|
15
|
+
"README.md",
|
|
16
|
+
"LICENSE"
|
|
17
|
+
],
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/shapediver/Viewer.git"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"check": "tsc --noEmit",
|
|
27
|
+
"build": "bash ../../scripts/building/build.sh",
|
|
28
|
+
"build-watch": "bash ../../scripts/building/build-watch.sh",
|
|
29
|
+
"build-dep": "bash ../../scripts/building/build-dep.sh"
|
|
30
|
+
},
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/shapediver/Viewer/issues"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://github.com/shapediver/Viewer#readme",
|
|
35
|
+
"typings": "dist/index.d.ts",
|
|
36
|
+
"jest": {
|
|
37
|
+
"preset": "ts-jest",
|
|
38
|
+
"testEnvironment": "node"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@shapediver/sdk.geometry-api-sdk-v2": "1.12.2",
|
|
42
|
+
"@shapediver/viewer.data-engine.shared-types": "3.9.1",
|
|
43
|
+
"@shapediver/viewer.shared.math": "3.9.1",
|
|
44
|
+
"@shapediver/viewer.shared.node-tree": "3.9.1",
|
|
45
|
+
"@shapediver/viewer.shared.services": "3.9.1",
|
|
46
|
+
"@shapediver/viewer.shared.types": "3.9.1",
|
|
47
|
+
"axios": "^1.2.6",
|
|
48
|
+
"gl-matrix": "3.3.0"
|
|
49
|
+
},
|
|
50
|
+
"gitHead": "d1c3fab987b43a71529204c094035bf210a2e1d9"
|
|
51
51
|
}
|