@shapediver/viewer.shared.node-tree 3.16.8 → 3.16.9

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.
Files changed (64) hide show
  1. package/dist/implementation/AbstractTreeNodeData.d.ts +33 -33
  2. package/dist/implementation/AbstractTreeNodeData.js +81 -81
  3. package/dist/implementation/AbstractTreeNodeData.js.map +1 -1
  4. package/dist/implementation/Tree.d.ts +13 -13
  5. package/dist/implementation/Tree.js +115 -115
  6. package/dist/implementation/Tree.js.map +1 -1
  7. package/dist/implementation/TreeNode.d.ts +78 -78
  8. package/dist/implementation/TreeNode.js +432 -432
  9. package/dist/implementation/TreeNode.js.map +1 -1
  10. package/dist/implementation/data/AnimationData.d.ts +32 -32
  11. package/dist/implementation/data/AnimationData.js +290 -290
  12. package/dist/implementation/data/AnimationData.js.map +1 -1
  13. package/dist/implementation/data/ChunkData.d.ts +14 -14
  14. package/dist/implementation/data/ChunkData.js +46 -46
  15. package/dist/implementation/data/ChunkData.js.map +1 -1
  16. package/dist/implementation/data/CustomData.d.ts +24 -24
  17. package/dist/implementation/data/CustomData.js +50 -50
  18. package/dist/implementation/data/GeometryData.d.ts +100 -100
  19. package/dist/implementation/data/GeometryData.js +326 -326
  20. package/dist/implementation/data/GeometryData.js.map +1 -1
  21. package/dist/implementation/data/HTMLElementAnchorData.d.ts +102 -102
  22. package/dist/implementation/data/HTMLElementAnchorData.js +273 -273
  23. package/dist/implementation/data/HTMLElementAnchorData.js.map +1 -1
  24. package/dist/implementation/data/InstanceData.d.ts +21 -21
  25. package/dist/implementation/data/InstanceData.js +58 -58
  26. package/dist/implementation/material/AbstractMaterialData.d.ts +68 -68
  27. package/dist/implementation/material/AbstractMaterialData.js +224 -224
  28. package/dist/implementation/material/MapData.d.ts +53 -53
  29. package/dist/implementation/material/MapData.js +190 -190
  30. package/dist/implementation/material/MaterialBasicLineData.d.ts +14 -14
  31. package/dist/implementation/material/MaterialBasicLineData.js +90 -90
  32. package/dist/implementation/material/MaterialGemData.d.ts +46 -46
  33. package/dist/implementation/material/MaterialGemData.js +288 -288
  34. package/dist/implementation/material/MaterialLambertData.d.ts +21 -21
  35. package/dist/implementation/material/MaterialLambertData.js +146 -146
  36. package/dist/implementation/material/MaterialMultiPointData.d.ts +99 -99
  37. package/dist/implementation/material/MaterialMultiPointData.js +650 -650
  38. package/dist/implementation/material/MaterialPhongData.d.ts +25 -25
  39. package/dist/implementation/material/MaterialPhongData.js +170 -170
  40. package/dist/implementation/material/MaterialPointData.d.ts +19 -19
  41. package/dist/implementation/material/MaterialPointData.js +131 -131
  42. package/dist/implementation/material/MaterialShadowData.d.ts +14 -14
  43. package/dist/implementation/material/MaterialShadowData.js +35 -35
  44. package/dist/implementation/material/MaterialSpecularGlossinessData.d.ts +27 -27
  45. package/dist/implementation/material/MaterialSpecularGlossinessData.js +179 -179
  46. package/dist/implementation/material/MaterialStandardData.d.ts +75 -75
  47. package/dist/implementation/material/MaterialStandardData.js +467 -467
  48. package/dist/implementation/material/MaterialUnlitData.d.ts +17 -17
  49. package/dist/implementation/material/MaterialUnlitData.js +119 -119
  50. package/dist/implementation/material/MaterialVariantsData.d.ts +15 -15
  51. package/dist/implementation/material/MaterialVariantsData.js +61 -61
  52. package/dist/implementation/material/MaterialVariantsData.js.map +1 -1
  53. package/dist/implementation/sdtf/SDTFAttributesData.d.ts +22 -22
  54. package/dist/implementation/sdtf/SDTFAttributesData.js +99 -99
  55. package/dist/implementation/sdtf/SDTFAttributesData.js.map +1 -1
  56. package/dist/implementation/sdtf/SDTFItemData.d.ts +18 -18
  57. package/dist/implementation/sdtf/SDTFItemData.js +59 -59
  58. package/dist/implementation/sdtf/SDTFItemData.js.map +1 -1
  59. package/dist/implementation/sdtf/SDTFOverviewData.d.ts +12 -12
  60. package/dist/implementation/sdtf/SDTFOverviewData.js +106 -106
  61. package/dist/implementation/sdtf/SDTFOverviewData.js.map +1 -1
  62. package/dist/index.d.ts +35 -35
  63. package/dist/index.js +59 -59
  64. package/package.json +6 -6
@@ -1,100 +1,100 @@
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 _SDTFAttributeData_typeHint, _SDTFAttributeData_value, _SDTFAttributeData_resolvedValue, _SDTFAttributesData_attributes;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.SDTFAttributesData = exports.SDTFAttributeData = void 0;
16
- const AbstractTreeNodeData_1 = require("../AbstractTreeNodeData");
17
- class SDTFAttributeData {
18
- // #endregion Properties (2)
19
- // #region Constructors (1)
20
- constructor(typeHint, value) {
21
- // #region Properties (2)
22
- _SDTFAttributeData_typeHint.set(this, void 0);
23
- _SDTFAttributeData_value.set(this, void 0);
24
- _SDTFAttributeData_resolvedValue.set(this, void 0);
25
- __classPrivateFieldSet(this, _SDTFAttributeData_typeHint, typeHint, "f");
26
- __classPrivateFieldSet(this, _SDTFAttributeData_value, value, "f");
27
- }
28
- // #endregion Constructors (1)
29
- // #region Public Accessors (2)
30
- get typeHint() {
31
- return __classPrivateFieldGet(this, _SDTFAttributeData_typeHint, "f");
32
- }
33
- get value() {
34
- if (__classPrivateFieldGet(this, _SDTFAttributeData_value, "f") instanceof Function && !__classPrivateFieldGet(this, _SDTFAttributeData_resolvedValue, "f")) {
35
- __classPrivateFieldSet(this, _SDTFAttributeData_resolvedValue, __classPrivateFieldGet(this, _SDTFAttributeData_value, "f").call(this), "f");
36
- return __classPrivateFieldGet(this, _SDTFAttributeData_resolvedValue, "f");
37
- }
38
- else if (__classPrivateFieldGet(this, _SDTFAttributeData_value, "f") instanceof Function) {
39
- return __classPrivateFieldGet(this, _SDTFAttributeData_resolvedValue, "f");
40
- }
41
- return __classPrivateFieldGet(this, _SDTFAttributeData_value, "f");
42
- }
43
- }
44
- exports.SDTFAttributeData = SDTFAttributeData;
45
- _SDTFAttributeData_typeHint = new WeakMap(), _SDTFAttributeData_value = new WeakMap(), _SDTFAttributeData_resolvedValue = new WeakMap();
46
- // export class SDTFAttributeAsyncData {
47
- // // #region Properties (2)
48
- // readonly #typeHint;
49
- // readonly #accessor;
50
- // private _value: Promise<any> | undefined;
51
- // private readonly _loadAccessor: (accessorID: number) => Promise<any>
52
- // // #endregion Properties (2)
53
- // // #region Constructors (1)
54
- // constructor(
55
- // typeHint: string,
56
- // accessor: number,
57
- // private readonly _loadAccessor: (accessorID: number) => Promise<any>
58
- // ) {
59
- // this._typeHint = typeHint;
60
- // this._accessor = accessor;
61
- // }
62
- // public get value(): Promise<any> {
63
- // if (this.value !== undefined) {
64
- // return this._value!;
65
- // } else {
66
- // this._value = this._loadAccessor!(this._accessor!);
67
- // return this._value;
68
- // }
69
- // }
70
- // public get typeHint(): string {
71
- // return this._typeHint;
72
- // }
73
- // // #endregion Constructors (1)
74
- // }
75
- class SDTFAttributesData extends AbstractTreeNodeData_1.AbstractTreeNodeData {
76
- // #endregion Properties (1)
77
- // #region Constructors (1)
78
- constructor(attributes = {}, id, version) {
79
- super(id, version);
80
- // #region Properties (1)
81
- _SDTFAttributesData_attributes.set(this, {});
82
- __classPrivateFieldSet(this, _SDTFAttributesData_attributes, attributes, "f");
83
- }
84
- // #endregion Constructors (1)
85
- // #region Public Accessors (1)
86
- get attributes() {
87
- return __classPrivateFieldGet(this, _SDTFAttributesData_attributes, "f");
88
- }
89
- // #endregion Public Accessors (1)
90
- // #region Public Methods (1)
91
- /**
92
- * Clones the scene graph data.
93
- */
94
- clone() {
95
- return new SDTFAttributesData(this.attributes, this.id, this.version);
96
- }
97
- }
98
- exports.SDTFAttributesData = SDTFAttributesData;
99
- _SDTFAttributesData_attributes = new WeakMap();
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 _SDTFAttributeData_typeHint, _SDTFAttributeData_value, _SDTFAttributeData_resolvedValue, _SDTFAttributesData_attributes;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.SDTFAttributesData = exports.SDTFAttributeData = void 0;
16
+ const AbstractTreeNodeData_1 = require("../AbstractTreeNodeData");
17
+ class SDTFAttributeData {
18
+ // #endregion Properties (2)
19
+ // #region Constructors (1)
20
+ constructor(typeHint, value) {
21
+ // #region Properties (2)
22
+ _SDTFAttributeData_typeHint.set(this, void 0);
23
+ _SDTFAttributeData_value.set(this, void 0);
24
+ _SDTFAttributeData_resolvedValue.set(this, void 0);
25
+ __classPrivateFieldSet(this, _SDTFAttributeData_typeHint, typeHint, "f");
26
+ __classPrivateFieldSet(this, _SDTFAttributeData_value, value, "f");
27
+ }
28
+ // #endregion Constructors (1)
29
+ // #region Public Accessors (2)
30
+ get typeHint() {
31
+ return __classPrivateFieldGet(this, _SDTFAttributeData_typeHint, "f");
32
+ }
33
+ get value() {
34
+ if (__classPrivateFieldGet(this, _SDTFAttributeData_value, "f") instanceof Function && !__classPrivateFieldGet(this, _SDTFAttributeData_resolvedValue, "f")) {
35
+ __classPrivateFieldSet(this, _SDTFAttributeData_resolvedValue, __classPrivateFieldGet(this, _SDTFAttributeData_value, "f").call(this), "f");
36
+ return __classPrivateFieldGet(this, _SDTFAttributeData_resolvedValue, "f");
37
+ }
38
+ else if (__classPrivateFieldGet(this, _SDTFAttributeData_value, "f") instanceof Function) {
39
+ return __classPrivateFieldGet(this, _SDTFAttributeData_resolvedValue, "f");
40
+ }
41
+ return __classPrivateFieldGet(this, _SDTFAttributeData_value, "f");
42
+ }
43
+ }
44
+ exports.SDTFAttributeData = SDTFAttributeData;
45
+ _SDTFAttributeData_typeHint = new WeakMap(), _SDTFAttributeData_value = new WeakMap(), _SDTFAttributeData_resolvedValue = new WeakMap();
46
+ // export class SDTFAttributeAsyncData {
47
+ // // #region Properties (2)
48
+ // readonly #typeHint;
49
+ // readonly #accessor;
50
+ // private _value: Promise<any> | undefined;
51
+ // private readonly _loadAccessor: (accessorID: number) => Promise<any>
52
+ // // #endregion Properties (2)
53
+ // // #region Constructors (1)
54
+ // constructor(
55
+ // typeHint: string,
56
+ // accessor: number,
57
+ // private readonly _loadAccessor: (accessorID: number) => Promise<any>
58
+ // ) {
59
+ // this._typeHint = typeHint;
60
+ // this._accessor = accessor;
61
+ // }
62
+ // public get value(): Promise<any> {
63
+ // if (this.value !== undefined) {
64
+ // return this._value!;
65
+ // } else {
66
+ // this._value = this._loadAccessor!(this._accessor!);
67
+ // return this._value;
68
+ // }
69
+ // }
70
+ // public get typeHint(): string {
71
+ // return this._typeHint;
72
+ // }
73
+ // // #endregion Constructors (1)
74
+ // }
75
+ class SDTFAttributesData extends AbstractTreeNodeData_1.AbstractTreeNodeData {
76
+ // #endregion Properties (1)
77
+ // #region Constructors (1)
78
+ constructor(attributes = {}, id, version) {
79
+ super(id, version);
80
+ // #region Properties (1)
81
+ _SDTFAttributesData_attributes.set(this, {});
82
+ __classPrivateFieldSet(this, _SDTFAttributesData_attributes, attributes, "f");
83
+ }
84
+ // #endregion Constructors (1)
85
+ // #region Public Accessors (1)
86
+ get attributes() {
87
+ return __classPrivateFieldGet(this, _SDTFAttributesData_attributes, "f");
88
+ }
89
+ // #endregion Public Accessors (1)
90
+ // #region Public Methods (1)
91
+ /**
92
+ * Clones the scene graph data.
93
+ */
94
+ clone() {
95
+ return new SDTFAttributesData(this.attributes, this.id, this.version);
96
+ }
97
+ }
98
+ exports.SDTFAttributesData = SDTFAttributesData;
99
+ _SDTFAttributesData_attributes = new WeakMap();
100
100
  //# sourceMappingURL=SDTFAttributesData.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SDTFAttributesData.js","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFAttributesData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAKA,kEAA6D;AAE7D,MAAa,iBAAiB;IAQ7B,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,QAAmC,EAAE,KAAU;QAX3D,yBAAyB;QAEzB,8CAAmB;QACnB,2CAAgB;QAEhB,mDAAoB;QAOnB,uBAAA,IAAI,+BAAa,QAAQ,MAAA,CAAC;QAC1B,uBAAA,IAAI,4BAAU,KAAK,MAAA,CAAC;IACrB,CAAC;IAED,8BAA8B;IAE9B,+BAA+B;IAE/B,IAAW,QAAQ;QAClB,OAAO,uBAAA,IAAI,mCAAU,CAAC;IACvB,CAAC;IAED,IAAW,KAAK;QACf,IAAI,uBAAA,IAAI,gCAAO,YAAY,QAAQ,IAAI,CAAC,uBAAA,IAAI,wCAAe,EAAE;YAC5D,uBAAA,IAAI,oCAAkB,uBAAA,IAAI,gCA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sCAAsC;AACtC,iCAAiC;AACjC,QAAQ;AAER,qCAAqC;AACrC,IAAI;AAEJ,MAAa,kBACZ,SAAQ,2CAAoB;IAS5B,4BAA4B;IAE5B,2BAA2B;IAE3B,YACC,aAEI,EAAE,EACN,EAAW,EACX,OAAgB;QAEhB,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAjBpB,yBAAyB;QAEhB,yCAEL,EAAE,EAAC;QAcN,uBAAA,IAAI,kCAAe,UAAU,MAAA,CAAC;IAC/B,CAAC;IAED,8BAA8B;IAE9B,+BAA+B;IAE/B,IAAW,UAAU;QAGpB,OAAO,uBAAA,IAAI,sCAAY,CAAC;IACzB,CAAC;IAED,kCAAkC;IAElC,6BAA6B;IAE7B;;OAEG;IACI,KAAK;QACX,OAAO,IAAI,kBAAkB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACvE,CAAC;CAGD;AA/CD,gDA+CC"}
@@ -1,19 +1,19 @@
1
- import { SdtfTypeHintName } from "@shapediver/sdk.sdtf-v1";
2
- import { ISDTFAttributeData, ISDTFItemData } from "@shapediver/viewer.shared.types";
3
- import { AbstractTreeNodeData } from "../AbstractTreeNodeData";
4
- export declare class SDTFItemData extends AbstractTreeNodeData implements ISDTFItemData {
5
- #private;
6
- constructor(typeHint: SdtfTypeHintName | string, value: any, attributes: {
7
- [key: string]: ISDTFAttributeData;
8
- }, id?: string, version?: string);
9
- get attributes(): {
10
- [key: string]: ISDTFAttributeData;
11
- };
12
- get typeHint(): SdtfTypeHintName | string;
13
- get value(): any;
14
- /**
15
- * Clones the scene graph data.
16
- */
17
- clone(): ISDTFItemData;
18
- }
1
+ import { SdtfTypeHintName } from "@shapediver/sdk.sdtf-v1";
2
+ import { ISDTFAttributeData, ISDTFItemData } from "@shapediver/viewer.shared.types";
3
+ import { AbstractTreeNodeData } from "../AbstractTreeNodeData";
4
+ export declare class SDTFItemData extends AbstractTreeNodeData implements ISDTFItemData {
5
+ #private;
6
+ constructor(typeHint: SdtfTypeHintName | string, value: any, attributes: {
7
+ [key: string]: ISDTFAttributeData;
8
+ }, id?: string, version?: string);
9
+ get attributes(): {
10
+ [key: string]: ISDTFAttributeData;
11
+ };
12
+ get typeHint(): SdtfTypeHintName | string;
13
+ get value(): any;
14
+ /**
15
+ * Clones the scene graph data.
16
+ */
17
+ clone(): ISDTFItemData;
18
+ }
19
19
  //# sourceMappingURL=SDTFItemData.d.ts.map
@@ -1,60 +1,60 @@
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 _SDTFItemData_typeHint, _SDTFItemData_value, _SDTFItemData_attributes, _SDTFItemData_resolvedValue;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.SDTFItemData = void 0;
16
- const AbstractTreeNodeData_1 = require("../AbstractTreeNodeData");
17
- class SDTFItemData extends AbstractTreeNodeData_1.AbstractTreeNodeData {
18
- // #endregion Properties (3)
19
- // #region Constructors (1)
20
- constructor(typeHint, value, attributes, id, version) {
21
- super(id, version);
22
- // #region Properties (3)
23
- _SDTFItemData_typeHint.set(this, void 0);
24
- _SDTFItemData_value.set(this, void 0);
25
- _SDTFItemData_attributes.set(this, {});
26
- _SDTFItemData_resolvedValue.set(this, void 0);
27
- __classPrivateFieldSet(this, _SDTFItemData_attributes, attributes, "f");
28
- __classPrivateFieldSet(this, _SDTFItemData_typeHint, typeHint, "f");
29
- __classPrivateFieldSet(this, _SDTFItemData_value, value, "f");
30
- }
31
- // #endregion Constructors (1)
32
- // #region Public Accessors (3)
33
- get attributes() {
34
- return __classPrivateFieldGet(this, _SDTFItemData_attributes, "f");
35
- }
36
- get typeHint() {
37
- return __classPrivateFieldGet(this, _SDTFItemData_typeHint, "f");
38
- }
39
- get value() {
40
- if (__classPrivateFieldGet(this, _SDTFItemData_value, "f") instanceof Function && !__classPrivateFieldGet(this, _SDTFItemData_resolvedValue, "f")) {
41
- __classPrivateFieldSet(this, _SDTFItemData_resolvedValue, __classPrivateFieldGet(this, _SDTFItemData_value, "f").call(this), "f");
42
- return __classPrivateFieldGet(this, _SDTFItemData_resolvedValue, "f");
43
- }
44
- else if (__classPrivateFieldGet(this, _SDTFItemData_value, "f") instanceof Function) {
45
- return __classPrivateFieldGet(this, _SDTFItemData_resolvedValue, "f");
46
- }
47
- return __classPrivateFieldGet(this, _SDTFItemData_value, "f");
48
- }
49
- // #endregion Public Accessors (3)
50
- // #region Public Methods (1)
51
- /**
52
- * Clones the scene graph data.
53
- */
54
- clone() {
55
- return new SDTFItemData(this.typeHint, this.value, this.attributes, this.id, this.version);
56
- }
57
- }
58
- exports.SDTFItemData = SDTFItemData;
59
- _SDTFItemData_typeHint = new WeakMap(), _SDTFItemData_value = new WeakMap(), _SDTFItemData_attributes = new WeakMap(), _SDTFItemData_resolvedValue = new WeakMap();
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 _SDTFItemData_typeHint, _SDTFItemData_value, _SDTFItemData_attributes, _SDTFItemData_resolvedValue;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.SDTFItemData = void 0;
16
+ const AbstractTreeNodeData_1 = require("../AbstractTreeNodeData");
17
+ class SDTFItemData extends AbstractTreeNodeData_1.AbstractTreeNodeData {
18
+ // #endregion Properties (3)
19
+ // #region Constructors (1)
20
+ constructor(typeHint, value, attributes, id, version) {
21
+ super(id, version);
22
+ // #region Properties (3)
23
+ _SDTFItemData_typeHint.set(this, void 0);
24
+ _SDTFItemData_value.set(this, void 0);
25
+ _SDTFItemData_attributes.set(this, {});
26
+ _SDTFItemData_resolvedValue.set(this, void 0);
27
+ __classPrivateFieldSet(this, _SDTFItemData_attributes, attributes, "f");
28
+ __classPrivateFieldSet(this, _SDTFItemData_typeHint, typeHint, "f");
29
+ __classPrivateFieldSet(this, _SDTFItemData_value, value, "f");
30
+ }
31
+ // #endregion Constructors (1)
32
+ // #region Public Accessors (3)
33
+ get attributes() {
34
+ return __classPrivateFieldGet(this, _SDTFItemData_attributes, "f");
35
+ }
36
+ get typeHint() {
37
+ return __classPrivateFieldGet(this, _SDTFItemData_typeHint, "f");
38
+ }
39
+ get value() {
40
+ if (__classPrivateFieldGet(this, _SDTFItemData_value, "f") instanceof Function && !__classPrivateFieldGet(this, _SDTFItemData_resolvedValue, "f")) {
41
+ __classPrivateFieldSet(this, _SDTFItemData_resolvedValue, __classPrivateFieldGet(this, _SDTFItemData_value, "f").call(this), "f");
42
+ return __classPrivateFieldGet(this, _SDTFItemData_resolvedValue, "f");
43
+ }
44
+ else if (__classPrivateFieldGet(this, _SDTFItemData_value, "f") instanceof Function) {
45
+ return __classPrivateFieldGet(this, _SDTFItemData_resolvedValue, "f");
46
+ }
47
+ return __classPrivateFieldGet(this, _SDTFItemData_value, "f");
48
+ }
49
+ // #endregion Public Accessors (3)
50
+ // #region Public Methods (1)
51
+ /**
52
+ * Clones the scene graph data.
53
+ */
54
+ clone() {
55
+ return new SDTFItemData(this.typeHint, this.value, this.attributes, this.id, this.version);
56
+ }
57
+ }
58
+ exports.SDTFItemData = SDTFItemData;
59
+ _SDTFItemData_typeHint = new WeakMap(), _SDTFItemData_value = new WeakMap(), _SDTFItemData_attributes = new WeakMap(), _SDTFItemData_resolvedValue = new WeakMap();
60
60
  //# sourceMappingURL=SDTFItemData.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SDTFItemData.js","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFItemData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAKA,kEAA6D;AAE7D,MAAa,YACZ,SAAQ,2CAAoB;IAa5B,4BAA4B;IAE5B,2BAA2B;IAE3B,YACC,QAAmC,EACnC,KAAU,EACV,UAEC,EACD,EAAW,EACX,OAAgB;QAEhB,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAvBpB,yBAAyB;QAEzB,yCAAmB;QACnB,sCAAgB;QAEhB,mCAEI,EAAE,EAAC;QACP,8CAAoB;QAgBnB,uBAAA,IAAI,4BAAe,UAAU,MAAA,CAAC;QAC9B,uBAAA,IAAI,0BAAa,QAAQ,MAAA,CAAC;QAC1B,uBAAA,IAAI,uBAAU,KAAK,MAAA,CAAC;IACrB,CAAC;IAED,8BAA8B;IAE9B,+BAA+B;IAE/B,IAAW,UAAU;QAGpB,OAAO,uBAAA,IAAI,gCAAY,CAAC;IACzB,CA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;IAE9B,+BAA+B;IAE/B,IAAW,UAAU;QAGpB,OAAO,uBAAA,IAAI,gCAAY,CAAC;IACzB,CAAC;IAED,IAAW,QAAQ;QAClB,OAAO,uBAAA,IAAI,8BAAU,CAAC;IACvB,CAAC;IAED,IAAW,KAAK;QACf,IAAI,uBAAA,IAAI,2BAAO,YAAY,QAAQ,IAAI,CAAC,uBAAA,IAAI,mCAAe,EAAE,CAAC;YAC7D,uBAAA,IAAI,+BAAkB,uBAAA,IAAI,2BAAO,MAAX,IAAI,CAAS,MAAA,CAAC;YACpC,OAAO,uBAAA,IAAI,mCAAe,CAAC;QAC5B,CAAC;aAAM,IAAI,uBAAA,IAAI,2BAAO,YAAY,QAAQ,EAAE,CAAC;YAC5C,OAAO,uBAAA,IAAI,mCAAe,CAAC;QAC5B,CAAC;QACD,OAAO,uBAAA,IAAI,2BAAO,CAAC;IACpB,CAAC;IAED,kCAAkC;IAElC,6BAA6B;IAE7B;;OAEG;IACI,KAAK;QACX,OAAO,IAAI,YAAY,CACtB,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,EAAE,EACP,IAAI,CAAC,OAAO,CACZ,CAAC;IACH,CAAC;CAGD;AA3ED,oCA2EC"}
@@ -1,13 +1,13 @@
1
- import { ISDTFOverview, ISDTFOverviewData } from "@shapediver/viewer.shared.types";
2
- import { AbstractTreeNodeData } from "../AbstractTreeNodeData";
3
- export declare class SDTFOverviewData extends AbstractTreeNodeData implements ISDTFOverviewData {
4
- #private;
5
- constructor(overview: ISDTFOverview, id?: string, version?: string);
6
- get overview(): ISDTFOverview;
7
- /**
8
- * Clones the scene graph data.
9
- */
10
- clone(): ISDTFOverviewData;
11
- merge(data: ISDTFOverviewData): void;
12
- }
1
+ import { ISDTFOverview, ISDTFOverviewData } from "@shapediver/viewer.shared.types";
2
+ import { AbstractTreeNodeData } from "../AbstractTreeNodeData";
3
+ export declare class SDTFOverviewData extends AbstractTreeNodeData implements ISDTFOverviewData {
4
+ #private;
5
+ constructor(overview: ISDTFOverview, id?: string, version?: string);
6
+ get overview(): ISDTFOverview;
7
+ /**
8
+ * Clones the scene graph data.
9
+ */
10
+ clone(): ISDTFOverviewData;
11
+ merge(data: ISDTFOverviewData): void;
12
+ }
13
13
  //# sourceMappingURL=SDTFOverviewData.d.ts.map
@@ -1,107 +1,107 @@
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 _SDTFOverviewData_overview;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.SDTFOverviewData = void 0;
16
- const sdk_sdtf_primitives_1 = require("@shapediver/sdk.sdtf-primitives");
17
- const AbstractTreeNodeData_1 = require("../AbstractTreeNodeData");
18
- class SDTFOverviewData extends AbstractTreeNodeData_1.AbstractTreeNodeData {
19
- // #endregion Properties (1)
20
- // #region Constructors (1)
21
- constructor(overview, id, version) {
22
- super(id, version);
23
- // #region Properties (1)
24
- _SDTFOverviewData_overview.set(this, {});
25
- __classPrivateFieldSet(this, _SDTFOverviewData_overview, overview, "f");
26
- }
27
- // #endregion Constructors (1)
28
- // #region Public Accessors (1)
29
- get overview() {
30
- return __classPrivateFieldGet(this, _SDTFOverviewData_overview, "f");
31
- }
32
- // #endregion Public Accessors (1)
33
- // #region Public Methods (1)
34
- /**
35
- * Clones the scene graph data.
36
- */
37
- clone() {
38
- return new SDTFOverviewData(__classPrivateFieldGet(this, _SDTFOverviewData_overview, "f"), this.id, this.version);
39
- }
40
- merge(data) {
41
- for (let overviewKey in data.overview) {
42
- for (let i = 0; i < data.overview[overviewKey].length; i++) {
43
- const dataToCopy = data.overview[overviewKey][i];
44
- const existingEntries = this.overview[overviewKey]
45
- ? this.overview[overviewKey].filter((o) => o.typeHint === dataToCopy.typeHint)
46
- : [];
47
- if (this.overview[overviewKey] && existingEntries.length > 0) {
48
- const entry = existingEntries[0];
49
- entry.count++;
50
- if (sdk_sdtf_primitives_1.SdtfPrimitiveTypeGuard.isStringType(dataToCopy.typeHint)) {
51
- // combine the countForValue
52
- for (let i = 0; i < dataToCopy.values.length; i++) {
53
- const value = dataToCopy.values[i];
54
- // check if the the entry already has the value
55
- const entryIndex = entry.values.indexOf(value);
56
- if (entryIndex !== -1) {
57
- entry.countForValue[entryIndex] +=
58
- dataToCopy.countForValue[i];
59
- }
60
- else {
61
- entry.values.push(value);
62
- entry.countForValue.push(dataToCopy.countForValue[i]);
63
- }
64
- }
65
- }
66
- if (sdk_sdtf_primitives_1.SdtfPrimitiveTypeGuard.isNumberType(dataToCopy.typeHint)) {
67
- entry.min = Math.min(dataToCopy.min, entry.min);
68
- entry.max = Math.max(dataToCopy.max, entry.max);
69
- }
70
- }
71
- else if (this.overview[overviewKey]) {
72
- this.overview[overviewKey].push({
73
- typeHint: dataToCopy.typeHint,
74
- count: dataToCopy.count,
75
- values: dataToCopy.values
76
- ? [...dataToCopy.values]
77
- : dataToCopy.values,
78
- countForValue: dataToCopy.countForValue
79
- ? [...dataToCopy.countForValue]
80
- : dataToCopy.countForValue,
81
- min: dataToCopy.min,
82
- max: dataToCopy.max,
83
- });
84
- }
85
- else {
86
- this.overview[overviewKey] = [
87
- {
88
- typeHint: dataToCopy.typeHint,
89
- count: dataToCopy.count,
90
- values: dataToCopy.values
91
- ? [...dataToCopy.values]
92
- : dataToCopy.values,
93
- countForValue: dataToCopy.countForValue
94
- ? [...dataToCopy.countForValue]
95
- : dataToCopy.countForValue,
96
- min: dataToCopy.min,
97
- max: dataToCopy.max,
98
- },
99
- ];
100
- }
101
- }
102
- }
103
- }
104
- }
105
- exports.SDTFOverviewData = SDTFOverviewData;
106
- _SDTFOverviewData_overview = new WeakMap();
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 _SDTFOverviewData_overview;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.SDTFOverviewData = void 0;
16
+ const sdk_sdtf_primitives_1 = require("@shapediver/sdk.sdtf-primitives");
17
+ const AbstractTreeNodeData_1 = require("../AbstractTreeNodeData");
18
+ class SDTFOverviewData extends AbstractTreeNodeData_1.AbstractTreeNodeData {
19
+ // #endregion Properties (1)
20
+ // #region Constructors (1)
21
+ constructor(overview, id, version) {
22
+ super(id, version);
23
+ // #region Properties (1)
24
+ _SDTFOverviewData_overview.set(this, {});
25
+ __classPrivateFieldSet(this, _SDTFOverviewData_overview, overview, "f");
26
+ }
27
+ // #endregion Constructors (1)
28
+ // #region Public Accessors (1)
29
+ get overview() {
30
+ return __classPrivateFieldGet(this, _SDTFOverviewData_overview, "f");
31
+ }
32
+ // #endregion Public Accessors (1)
33
+ // #region Public Methods (1)
34
+ /**
35
+ * Clones the scene graph data.
36
+ */
37
+ clone() {
38
+ return new SDTFOverviewData(__classPrivateFieldGet(this, _SDTFOverviewData_overview, "f"), this.id, this.version);
39
+ }
40
+ merge(data) {
41
+ for (let overviewKey in data.overview) {
42
+ for (let i = 0; i < data.overview[overviewKey].length; i++) {
43
+ const dataToCopy = data.overview[overviewKey][i];
44
+ const existingEntries = this.overview[overviewKey]
45
+ ? this.overview[overviewKey].filter((o) => o.typeHint === dataToCopy.typeHint)
46
+ : [];
47
+ if (this.overview[overviewKey] && existingEntries.length > 0) {
48
+ const entry = existingEntries[0];
49
+ entry.count++;
50
+ if (sdk_sdtf_primitives_1.SdtfPrimitiveTypeGuard.isStringType(dataToCopy.typeHint)) {
51
+ // combine the countForValue
52
+ for (let i = 0; i < dataToCopy.values.length; i++) {
53
+ const value = dataToCopy.values[i];
54
+ // check if the the entry already has the value
55
+ const entryIndex = entry.values.indexOf(value);
56
+ if (entryIndex !== -1) {
57
+ entry.countForValue[entryIndex] +=
58
+ dataToCopy.countForValue[i];
59
+ }
60
+ else {
61
+ entry.values.push(value);
62
+ entry.countForValue.push(dataToCopy.countForValue[i]);
63
+ }
64
+ }
65
+ }
66
+ if (sdk_sdtf_primitives_1.SdtfPrimitiveTypeGuard.isNumberType(dataToCopy.typeHint)) {
67
+ entry.min = Math.min(dataToCopy.min, entry.min);
68
+ entry.max = Math.max(dataToCopy.max, entry.max);
69
+ }
70
+ }
71
+ else if (this.overview[overviewKey]) {
72
+ this.overview[overviewKey].push({
73
+ typeHint: dataToCopy.typeHint,
74
+ count: dataToCopy.count,
75
+ values: dataToCopy.values
76
+ ? [...dataToCopy.values]
77
+ : dataToCopy.values,
78
+ countForValue: dataToCopy.countForValue
79
+ ? [...dataToCopy.countForValue]
80
+ : dataToCopy.countForValue,
81
+ min: dataToCopy.min,
82
+ max: dataToCopy.max,
83
+ });
84
+ }
85
+ else {
86
+ this.overview[overviewKey] = [
87
+ {
88
+ typeHint: dataToCopy.typeHint,
89
+ count: dataToCopy.count,
90
+ values: dataToCopy.values
91
+ ? [...dataToCopy.values]
92
+ : dataToCopy.values,
93
+ countForValue: dataToCopy.countForValue
94
+ ? [...dataToCopy.countForValue]
95
+ : dataToCopy.countForValue,
96
+ min: dataToCopy.min,
97
+ max: dataToCopy.max,
98
+ },
99
+ ];
100
+ }
101
+ }
102
+ }
103
+ }
104
+ }
105
+ exports.SDTFOverviewData = SDTFOverviewData;
106
+ _SDTFOverviewData_overview = new WeakMap();
107
107
  //# sourceMappingURL=SDTFOverviewData.js.map