@shapediver/viewer.shared.types 3.14.3 → 3.14.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapediver/viewer.shared.types",
3
- "version": "3.14.3",
3
+ "version": "3.14.4",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "Michael Oppitz <michael@shapediver.com>",
@@ -40,11 +40,11 @@
40
40
  "dependencies": {
41
41
  "@shapediver/sdk.geometry-api-sdk-v2": "2.9.1",
42
42
  "@shapediver/sdk.sdtf-v1": "1.6.0",
43
- "@shapediver/viewer.shared.math": "3.14.3",
44
- "@shapediver/viewer.shared.node-tree": "3.14.3",
45
- "@shapediver/viewer.shared.services": "3.14.3",
43
+ "@shapediver/viewer.shared.math": "3.14.4",
44
+ "@shapediver/viewer.shared.node-tree": "3.14.4",
45
+ "@shapediver/viewer.shared.services": "3.14.4",
46
46
  "gl-matrix": "3.3.0",
47
47
  "zod": "3.23.8"
48
48
  },
49
- "gitHead": "4e47ccf637cfd3be823bbcbe28a1d83cbdb20301"
49
+ "gitHead": "0d69a4f3b348579abcd893921bf0c2f39813b0fe"
50
50
  }
@@ -1,20 +0,0 @@
1
- import { AbstractTreeNodeData } from '@shapediver/viewer.shared.node-tree';
2
- import { IInstanceMatricesData } from '../../interfaces/data/IInstanceMatricesData';
3
- import { mat4 } from 'gl-matrix';
4
- export declare class InstanceMatricesData extends AbstractTreeNodeData implements IInstanceMatricesData {
5
- #private;
6
- /**
7
- * Creates a instanceMatrices data node.
8
- *
9
- * @param _data the data as key- value pairs
10
- * @param id the id
11
- */
12
- constructor(instanceMatrices?: mat4[], id?: string, version?: string);
13
- get instanceMatrices(): mat4[];
14
- set instanceMatrices(value: mat4[]);
15
- /**
16
- * Clones the scene graph data.
17
- */
18
- clone(): IInstanceMatricesData;
19
- }
20
- //# sourceMappingURL=InstanceMatricesData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InstanceMatricesData.d.ts","sourceRoot":"","sources":["../../../src/implementation/data/InstanceMatricesData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,qBAAa,oBAAqB,SAAQ,oBAAqB,YAAW,qBAAqB;;IAS3F;;;;;OAKG;gBAEC,gBAAgB,GAAE,IAAI,EAAO,EAC7B,EAAE,CAAC,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,MAAM;IAUpB,IAAW,gBAAgB,IAAI,IAAI,EAAE,CAEpC;IAED,IAAW,gBAAgB,CAAC,KAAK,EAAE,IAAI,EAAE,EAExC;IAMD;;OAEG;IACI,KAAK,IAAI,qBAAqB;CAKxC"}
@@ -1,51 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _InstanceMatricesData_instanceMatrices;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.InstanceMatricesData = void 0;
16
- const viewer_shared_node_tree_1 = require("@shapediver/viewer.shared.node-tree");
17
- class InstanceMatricesData extends viewer_shared_node_tree_1.AbstractTreeNodeData {
18
- // #endregion Properties (1)
19
- // #region Constructors (1)
20
- /**
21
- * Creates a instanceMatrices data node.
22
- *
23
- * @param _data the data as key- value pairs
24
- * @param id the id
25
- */
26
- constructor(instanceMatrices = [], id, version) {
27
- super(id, version);
28
- // #region Properties (1)
29
- _InstanceMatricesData_instanceMatrices.set(this, []);
30
- __classPrivateFieldSet(this, _InstanceMatricesData_instanceMatrices, instanceMatrices, "f");
31
- }
32
- // #endregion Constructors (1)
33
- // #region Public Getters And Setters (2)
34
- get instanceMatrices() {
35
- return __classPrivateFieldGet(this, _InstanceMatricesData_instanceMatrices, "f");
36
- }
37
- set instanceMatrices(value) {
38
- __classPrivateFieldSet(this, _InstanceMatricesData_instanceMatrices, value, "f");
39
- }
40
- // #endregion Public Getters And Setters (2)
41
- // #region Public Methods (1)
42
- /**
43
- * Clones the scene graph data.
44
- */
45
- clone() {
46
- return new InstanceMatricesData(this.instanceMatrices, this.id, this.version);
47
- }
48
- }
49
- exports.InstanceMatricesData = InstanceMatricesData;
50
- _InstanceMatricesData_instanceMatrices = new WeakMap();
51
- //# sourceMappingURL=InstanceMatricesData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InstanceMatricesData.js","sourceRoot":"","sources":["../../../src/implementation/data/InstanceMatricesData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iFAA2E;AAI3E,MAAa,oBAAqB,SAAQ,8CAAoB;IAK1D,4BAA4B;IAE5B,2BAA2B;IAE3B;;;;;OAKG;IACH,YACI,mBAA2B,EAAE,EAC7B,EAAW,EACX,OAAgB;QAEhB,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAnBvB,yBAAyB;QAEzB,iDAA4B,EAAE,EAAC;QAkB3B,uBAAA,IAAI,0CAAqB,gBAAgB,MAAA,CAAC;IAC9C,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,gBAAgB;QACvB,OAAO,uBAAA,IAAI,8CAAkB,CAAC;IAClC,CAAC;IAED,IAAW,gBAAgB,CAAC,KAAa;QACrC,uBAAA,IAAI,0CAAqB,KAAK,MAAA,CAAC;IACnC,CAAC;IAED,4CAA4C;IAE5C,6BAA6B;IAE7B;;OAEG;IACI,KAAK;QACR,OAAO,IAAI,oBAAoB,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAClF,CAAC;CAGJ;AAhDD,oDAgDC"}
@@ -1,7 +0,0 @@
1
- import { ITreeNodeData } from '@shapediver/viewer.shared.node-tree';
2
- import { mat4 } from 'gl-matrix';
3
- export interface IInstanceMatricesData extends ITreeNodeData {
4
- instanceMatrices: mat4[];
5
- clone(): IInstanceMatricesData;
6
- }
7
- //# sourceMappingURL=IInstanceMatricesData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IInstanceMatricesData.d.ts","sourceRoot":"","sources":["../../../src/interfaces/data/IInstanceMatricesData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAGxD,gBAAgB,EAAE,IAAI,EAAE,CAAC;IAMzB,KAAK,IAAI,qBAAqB,CAAC;CAGlC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IInstanceMatricesData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IInstanceMatricesData.js","sourceRoot":"","sources":["../../../src/interfaces/data/IInstanceMatricesData.ts"],"names":[],"mappings":""}