@shapediver/viewer.data-engine.shared-types 2.10.0 → 2.11.0
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/anchor/interfaces.js +5 -2
- package/dist/anchor/interfaces.js.map +1 -1
- package/dist/gltfv1/IGLTF_v1.js +6 -3
- package/dist/gltfv1/IGLTF_v1.js.map +1 -1
- package/dist/gltfv1/ISDGTF_v1.js +2 -1
- package/dist/gltfv2/IGLTF_v2.js +6 -3
- package/dist/gltfv2/IGLTF_v2.js.map +1 -1
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/dist/material/interfaces.js +2 -1
- package/dist/sdtf/ISDTF.js +2 -1
- package/package.json +4 -4
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TAG3D_JUSTIFICATION = void 0;
|
|
4
|
+
var TAG3D_JUSTIFICATION;
|
|
2
5
|
(function (TAG3D_JUSTIFICATION) {
|
|
3
6
|
TAG3D_JUSTIFICATION["TOP_LEFT"] = "TL";
|
|
4
7
|
TAG3D_JUSTIFICATION["TOP_CENTER"] = "TC";
|
|
@@ -9,5 +12,5 @@ export var TAG3D_JUSTIFICATION;
|
|
|
9
12
|
TAG3D_JUSTIFICATION["BOTTOM_LEFT"] = "BL";
|
|
10
13
|
TAG3D_JUSTIFICATION["BOTTOM_CENTER"] = "BC";
|
|
11
14
|
TAG3D_JUSTIFICATION["BOTTOM_RIGHT"] = "BR";
|
|
12
|
-
})(TAG3D_JUSTIFICATION || (TAG3D_JUSTIFICATION = {}));
|
|
15
|
+
})(TAG3D_JUSTIFICATION = exports.TAG3D_JUSTIFICATION || (exports.TAG3D_JUSTIFICATION = {}));
|
|
13
16
|
//# sourceMappingURL=interfaces.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/anchor/interfaces.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/anchor/interfaces.ts"],"names":[],"mappings":";;;AAEA,IAAY,mBAUX;AAVD,WAAY,mBAAmB;IAC3B,sCAAe,CAAA;IACf,wCAAiB,CAAA;IACjB,uCAAgB,CAAA;IAChB,yCAAkB,CAAA;IAClB,2CAAoB,CAAA;IACpB,0CAAmB,CAAA;IACnB,yCAAkB,CAAA;IAClB,2CAAoB,CAAA;IACpB,0CAAmB,CAAA;AACvB,CAAC,EAVW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAU9B"}
|
package/dist/gltfv1/IGLTF_v1.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ACCESSORTYPE = exports.ACCESSORCOMPONENTSIZE = exports.ACCESSORCOMPONENTTYPE = void 0;
|
|
4
|
+
exports.ACCESSORCOMPONENTTYPE = {
|
|
2
5
|
5120: Int8Array,
|
|
3
6
|
5121: Uint8Array,
|
|
4
7
|
5122: Int16Array,
|
|
@@ -7,7 +10,7 @@ export const ACCESSORCOMPONENTTYPE = {
|
|
|
7
10
|
5125: Uint32Array,
|
|
8
11
|
5126: Float32Array
|
|
9
12
|
};
|
|
10
|
-
|
|
13
|
+
exports.ACCESSORCOMPONENTSIZE = {
|
|
11
14
|
5120: 1,
|
|
12
15
|
5121: 1,
|
|
13
16
|
5122: 2,
|
|
@@ -15,7 +18,7 @@ export const ACCESSORCOMPONENTSIZE = {
|
|
|
15
18
|
5125: 4,
|
|
16
19
|
5126: 4
|
|
17
20
|
};
|
|
18
|
-
|
|
21
|
+
exports.ACCESSORTYPE = {
|
|
19
22
|
SCALAR: 1,
|
|
20
23
|
VEC2: 2,
|
|
21
24
|
VEC3: 3,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IGLTF_v1.js","sourceRoot":"","sources":["../../src/gltfv1/IGLTF_v1.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IGLTF_v1.js","sourceRoot":"","sources":["../../src/gltfv1/IGLTF_v1.ts"],"names":[],"mappings":";;;AACa,QAAA,qBAAqB,GAAG;IACjC,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,YAAY;CACrB,CAAA;AAEY,QAAA,qBAAqB,GAAG;IACjC,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACV,CAAA;AAEY,QAAA,YAAY,GAAG;IACxB,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,EAAE;CACX,CAAC"}
|
package/dist/gltfv1/ISDGTF_v1.js
CHANGED
package/dist/gltfv2/IGLTF_v2.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ACCESSORTYPE = exports.ACCESSORCOMPONENTSIZE = exports.ACCESSORCOMPONENTTYPE = void 0;
|
|
4
|
+
exports.ACCESSORCOMPONENTTYPE = {
|
|
2
5
|
5120: Int8Array,
|
|
3
6
|
5121: Uint8Array,
|
|
4
7
|
5122: Int16Array,
|
|
@@ -7,7 +10,7 @@ export const ACCESSORCOMPONENTTYPE = {
|
|
|
7
10
|
5125: Uint32Array,
|
|
8
11
|
5126: Float32Array
|
|
9
12
|
};
|
|
10
|
-
|
|
13
|
+
exports.ACCESSORCOMPONENTSIZE = {
|
|
11
14
|
5120: 1,
|
|
12
15
|
5121: 1,
|
|
13
16
|
5122: 2,
|
|
@@ -15,7 +18,7 @@ export const ACCESSORCOMPONENTSIZE = {
|
|
|
15
18
|
5125: 4,
|
|
16
19
|
5126: 4
|
|
17
20
|
};
|
|
18
|
-
|
|
21
|
+
exports.ACCESSORTYPE = {
|
|
19
22
|
SCALAR: 1,
|
|
20
23
|
VEC2: 2,
|
|
21
24
|
VEC3: 3,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IGLTF_v2.js","sourceRoot":"","sources":["../../src/gltfv2/IGLTF_v2.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IGLTF_v2.js","sourceRoot":"","sources":["../../src/gltfv2/IGLTF_v2.ts"],"names":[],"mappings":";;;AACa,QAAA,qBAAqB,GAAG;IACjC,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,YAAY;CACrB,CAAA;AAEY,QAAA,qBAAqB,GAAG;IACjC,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACV,CAAA;AAEY,QAAA,YAAY,GAAG;IACxB,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,EAAE;CACX,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TAG3D_JUSTIFICATION = exports.ACCESSORTYPE_V2 = exports.ACCESSORCOMPONENTSIZE_V2 = exports.ACCESSORCOMPONENTTYPE_V2 = exports.ACCESSORTYPE_V1 = exports.ACCESSORCOMPONENTSIZE_V1 = exports.ACCESSORCOMPONENTTYPE_V1 = void 0;
|
|
4
|
+
const interfaces_1 = require("./anchor/interfaces");
|
|
5
|
+
Object.defineProperty(exports, "TAG3D_JUSTIFICATION", { enumerable: true, get: function () { return interfaces_1.TAG3D_JUSTIFICATION; } });
|
|
6
|
+
const IGLTF_v1_1 = require("./gltfv1/IGLTF_v1");
|
|
7
|
+
Object.defineProperty(exports, "ACCESSORCOMPONENTSIZE_V1", { enumerable: true, get: function () { return IGLTF_v1_1.ACCESSORCOMPONENTSIZE; } });
|
|
8
|
+
Object.defineProperty(exports, "ACCESSORCOMPONENTTYPE_V1", { enumerable: true, get: function () { return IGLTF_v1_1.ACCESSORCOMPONENTTYPE; } });
|
|
9
|
+
Object.defineProperty(exports, "ACCESSORTYPE_V1", { enumerable: true, get: function () { return IGLTF_v1_1.ACCESSORTYPE; } });
|
|
10
|
+
const IGLTF_v2_1 = require("./gltfv2/IGLTF_v2");
|
|
11
|
+
Object.defineProperty(exports, "ACCESSORCOMPONENTSIZE_V2", { enumerable: true, get: function () { return IGLTF_v2_1.ACCESSORCOMPONENTSIZE; } });
|
|
12
|
+
Object.defineProperty(exports, "ACCESSORCOMPONENTTYPE_V2", { enumerable: true, get: function () { return IGLTF_v2_1.ACCESSORCOMPONENTTYPE; } });
|
|
13
|
+
Object.defineProperty(exports, "ACCESSORTYPE_V2", { enumerable: true, get: function () { return IGLTF_v2_1.ACCESSORTYPE; } });
|
|
7
14
|
//# sourceMappingURL=index.js.map
|
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,oDAAkF;AAqEhF,oGArEO,gCAAmB,OAqEP;AApErB,gDAsB0B;AA6ByB,yGAlDxB,gCAAwB,OAkDwB;AAAlD,yGAjDE,gCAAwB,OAiDF;AAA4B,gGAhD3D,uBAAe,OAgD2D;AA3B5F,gDAsB0B;AASc,yGA9Bb,gCAAwB,OA8Ba;AAAlD,yGA7Ba,gCAAwB,OA6Bb;AAA4B,gGA5BhD,uBAAe,OA4BgD"}
|
package/dist/sdtf/ISDTF.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapediver/viewer.data-engine.shared-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Michael Oppitz <michael@shapediver.com>",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"testEnvironment": "node"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@shapediver/viewer.shared.services": "2.
|
|
43
|
-
"@shapediver/viewer.shared.types": "2.
|
|
42
|
+
"@shapediver/viewer.shared.services": "2.11.0",
|
|
43
|
+
"@shapediver/viewer.shared.types": "2.11.0",
|
|
44
44
|
"axios": "^1.2.6",
|
|
45
45
|
"gl-matrix": "3.3.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "abc828ee5f772bc79b737c994716b8ec372503ef"
|
|
48
48
|
}
|