@shapediver/viewer.rendering-engine.canvas-engine
Advanced tools
Comparing version 2.9.11 to 2.10.0
@@ -1,5 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Canvas = void 0; | ||
class Canvas { | ||
export class Canvas { | ||
// #region Constructors (1) | ||
@@ -38,3 +35,2 @@ constructor(_id, _originalDefinition, _canvasElement) { | ||
} | ||
exports.Canvas = Canvas; | ||
//# sourceMappingURL=Canvas.js.map |
@@ -1,11 +0,8 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CanvasEngine = void 0; | ||
const viewer_shared_services_1 = require("@shapediver/viewer.shared.services"); | ||
const Canvas_1 = require("./Canvas"); | ||
class CanvasEngine { | ||
import { UuidGenerator } from '@shapediver/viewer.shared.services'; | ||
import { Canvas } from './Canvas'; | ||
export class CanvasEngine { | ||
constructor() { | ||
// #region Properties (3) | ||
this._canvasDictionary = {}; | ||
this._uuidGenerator = viewer_shared_services_1.UuidGenerator.instance; | ||
this._uuidGenerator = UuidGenerator.instance; | ||
// #endregion Public Methods (2) | ||
@@ -39,3 +36,3 @@ } | ||
canvasElement.id = this._uuidGenerator.create(); | ||
this._canvasDictionary[storageId] = new Canvas_1.Canvas(canvasElement.id, canvasDefinition, canvasElement); | ||
this._canvasDictionary[storageId] = new Canvas(canvasElement.id, canvasDefinition, canvasElement); | ||
return storageId; | ||
@@ -51,3 +48,3 @@ } | ||
// id of a canvas was provided | ||
this._canvasDictionary[storageId] = new Canvas_1.Canvas(id, canvasDefinition, canvasElement); | ||
this._canvasDictionary[storageId] = new Canvas(id, canvasDefinition, canvasElement); | ||
return storageId; | ||
@@ -57,7 +54,7 @@ } | ||
// no HTMLElement could be found, create Canvas with the id | ||
this._canvasDictionary[storageId] = new Canvas_1.Canvas(id, canvasDefinition); | ||
this._canvasDictionary[storageId] = new Canvas(id, canvasDefinition); | ||
return storageId; | ||
} | ||
} | ||
this._canvasDictionary[storageId] = new Canvas_1.Canvas(storageId, canvasDefinition); | ||
this._canvasDictionary[storageId] = new Canvas(storageId, canvasDefinition); | ||
return storageId; | ||
@@ -69,3 +66,2 @@ } | ||
} | ||
exports.CanvasEngine = CanvasEngine; | ||
//# sourceMappingURL=CanvasEngine.js.map |
@@ -1,8 +0,4 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Canvas = exports.CanvasEngine = void 0; | ||
const Canvas_1 = require("./implementation/Canvas"); | ||
Object.defineProperty(exports, "Canvas", { enumerable: true, get: function () { return Canvas_1.Canvas; } }); | ||
const CanvasEngine_1 = require("./implementation/CanvasEngine"); | ||
Object.defineProperty(exports, "CanvasEngine", { enumerable: true, get: function () { return CanvasEngine_1.CanvasEngine; } }); | ||
import { Canvas } from './implementation/Canvas'; | ||
import { CanvasEngine } from './implementation/CanvasEngine'; | ||
export { CanvasEngine, Canvas }; | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
export {}; | ||
//# sourceMappingURL=ICanvas.js.map |
@@ -1,3 +0,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
export {}; | ||
//# sourceMappingURL=ICanvasEngine.js.map |
{ | ||
"name": "@shapediver/viewer.rendering-engine.canvas-engine", | ||
"version": "2.9.11", | ||
"version": "2.10.0", | ||
"description": "", | ||
@@ -42,7 +42,7 @@ "keywords": [], | ||
"dependencies": { | ||
"@shapediver/viewer.rendering-engine.rendering-engine": "2.9.11", | ||
"@shapediver/viewer.shared.services": "2.9.11", | ||
"@shapediver/viewer.rendering-engine.rendering-engine": "2.10.0", | ||
"@shapediver/viewer.shared.services": "2.10.0", | ||
"gl-matrix": "3.3.0" | ||
}, | ||
"gitHead": "105aa4b6fb6de2e9d4dfac026030207460551c5b" | ||
"gitHead": "3969d2d1c56ac1a6fc8fb86906b10a50c872f6a7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24005
271
+ Added@shapediver/api.geometry-api-dto-v2@1.11.0(transitive)
+ Added@shapediver/sdk.geometry-api-sdk-v2@1.6.0(transitive)
+ Added@shapediver/viewer.rendering-engine.rendering-engine@2.10.0(transitive)
+ Added@shapediver/viewer.settings@0.5.5(transitive)
+ Added@shapediver/viewer.shared.build-data@2.10.0(transitive)
+ Added@shapediver/viewer.shared.math@2.10.0(transitive)
+ Added@shapediver/viewer.shared.node-tree@2.10.0(transitive)
+ Added@shapediver/viewer.shared.services@2.10.0(transitive)
+ Added@shapediver/viewer.shared.types@2.10.0(transitive)
+ Added@tweenjs/tween.js@18.6.4(transitive)
+ Added@types/stats.js@0.17.3(transitive)
+ Added@types/three@0.152.0(transitive)
+ Addedfflate@0.6.10(transitive)
+ Addedlil-gui@0.17.0(transitive)
+ Addedthree@0.152.2(transitive)
- Removed@shapediver/api.geometry-api-dto-v2@1.8.1(transitive)
- Removed@shapediver/sdk.geometry-api-sdk-v2@1.5.1(transitive)
- Removed@shapediver/viewer.rendering-engine.rendering-engine@2.9.11(transitive)
- Removed@shapediver/viewer.settings@0.4.2(transitive)
- Removed@shapediver/viewer.shared.build-data@2.9.11(transitive)
- Removed@shapediver/viewer.shared.math@2.9.11(transitive)
- Removed@shapediver/viewer.shared.node-tree@2.9.11(transitive)
- Removed@shapediver/viewer.shared.services@2.9.11(transitive)
- Removed@shapediver/viewer.shared.types@2.9.11(transitive)
- Removed@types/three@0.149.0(transitive)
- Removedthree@0.149.0(transitive)
Updated@shapediver/viewer.rendering-engine.rendering-engine@2.10.0