@shapediver/viewer.viewport 3.9.0 → 3.9.2
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 +8 -6
- package/dist/implementation/PostProcessingApi.d.ts +4 -4
- package/dist/implementation/PostProcessingApi.d.ts.map +1 -1
- package/dist/implementation/PostProcessingApi.js +37 -29
- package/dist/implementation/PostProcessingApi.js.map +1 -1
- package/dist/implementation/ViewportApi.d.ts +13 -13
- package/dist/implementation/ViewportApi.d.ts.map +1 -1
- package/dist/implementation/ViewportApi.js +268 -253
- package/dist/implementation/ViewportApi.js.map +1 -1
- package/dist/implementation/camera/AbstractCameraApi.d.ts +5 -5
- package/dist/implementation/camera/AbstractCameraApi.d.ts.map +1 -1
- package/dist/implementation/camera/AbstractCameraApi.js +110 -110
- package/dist/implementation/camera/AbstractCameraApi.js.map +1 -1
- package/dist/implementation/camera/OrthographicCameraApi.d.ts +4 -4
- package/dist/implementation/camera/OrthographicCameraApi.d.ts.map +1 -1
- package/dist/implementation/camera/OrthographicCameraApi.js +5 -5
- package/dist/implementation/camera/OrthographicCameraApi.js.map +1 -1
- package/dist/implementation/camera/PerspectiveCameraApi.d.ts +4 -4
- package/dist/implementation/camera/PerspectiveCameraApi.d.ts.map +1 -1
- package/dist/implementation/camera/PerspectiveCameraApi.js +4 -4
- package/dist/implementation/camera/PerspectiveCameraApi.js.map +1 -1
- package/dist/implementation/lights/AbstractLightApi.d.ts +4 -4
- package/dist/implementation/lights/AbstractLightApi.d.ts.map +1 -1
- package/dist/implementation/lights/AbstractLightApi.js +9 -9
- package/dist/implementation/lights/AbstractLightApi.js.map +1 -1
- package/dist/implementation/lights/LightSceneApi.d.ts +12 -12
- package/dist/implementation/lights/LightSceneApi.d.ts.map +1 -1
- package/dist/implementation/lights/LightSceneApi.js +48 -48
- package/dist/implementation/lights/LightSceneApi.js.map +1 -1
- package/dist/implementation/lights/types/AmbientLightApi.d.ts +4 -4
- package/dist/implementation/lights/types/AmbientLightApi.d.ts.map +1 -1
- package/dist/implementation/lights/types/AmbientLightApi.js +1 -1
- package/dist/implementation/lights/types/AmbientLightApi.js.map +1 -1
- package/dist/implementation/lights/types/DirectionalLightApi.d.ts +5 -5
- package/dist/implementation/lights/types/DirectionalLightApi.d.ts.map +1 -1
- package/dist/implementation/lights/types/DirectionalLightApi.js +10 -10
- package/dist/implementation/lights/types/DirectionalLightApi.js.map +1 -1
- package/dist/implementation/lights/types/HemisphereLightApi.d.ts +5 -5
- package/dist/implementation/lights/types/HemisphereLightApi.d.ts.map +1 -1
- package/dist/implementation/lights/types/HemisphereLightApi.js +4 -4
- package/dist/implementation/lights/types/HemisphereLightApi.js.map +1 -1
- package/dist/implementation/lights/types/PointLightApi.d.ts +5 -5
- package/dist/implementation/lights/types/PointLightApi.d.ts.map +1 -1
- package/dist/implementation/lights/types/PointLightApi.js +8 -8
- package/dist/implementation/lights/types/PointLightApi.js.map +1 -1
- package/dist/implementation/lights/types/SpotLightApi.d.ts +5 -5
- package/dist/implementation/lights/types/SpotLightApi.d.ts.map +1 -1
- package/dist/implementation/lights/types/SpotLightApi.js +14 -14
- package/dist/implementation/lights/types/SpotLightApi.js.map +1 -1
- package/dist/index.d.ts +39 -39
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +70 -68
- package/dist/index.js.map +1 -1
- package/dist/interfaces/IPostProcessingApi.d.ts +2 -2
- package/dist/interfaces/IPostProcessingApi.d.ts.map +1 -1
- package/dist/interfaces/IViewportApi.d.ts +13 -13
- package/dist/interfaces/IViewportApi.d.ts.map +1 -1
- package/dist/interfaces/camera/ICameraApi.d.ts +3 -3
- package/dist/interfaces/camera/ICameraApi.d.ts.map +1 -1
- package/dist/interfaces/camera/IOrthographicCameraApi.d.ts +2 -2
- package/dist/interfaces/camera/IOrthographicCameraApi.d.ts.map +1 -1
- package/dist/interfaces/camera/IPerspectiveCameraApi.d.ts +1 -1
- package/dist/interfaces/camera/IPerspectiveCameraApi.d.ts.map +1 -1
- package/dist/interfaces/lights/ILightApi.d.ts +2 -2
- package/dist/interfaces/lights/ILightApi.d.ts.map +1 -1
- package/dist/interfaces/lights/ILightSceneApi.d.ts +9 -9
- package/dist/interfaces/lights/ILightSceneApi.d.ts.map +1 -1
- package/dist/interfaces/lights/types/IAmbientLightApi.d.ts +1 -1
- package/dist/interfaces/lights/types/IAmbientLightApi.d.ts.map +1 -1
- package/dist/interfaces/lights/types/IDirectionalLightApi.d.ts +2 -2
- package/dist/interfaces/lights/types/IDirectionalLightApi.d.ts.map +1 -1
- package/dist/interfaces/lights/types/IHemisphereLightApi.d.ts +2 -2
- package/dist/interfaces/lights/types/IHemisphereLightApi.d.ts.map +1 -1
- package/dist/interfaces/lights/types/IPointLightApi.d.ts +2 -2
- package/dist/interfaces/lights/types/IPointLightApi.d.ts.map +1 -1
- package/dist/interfaces/lights/types/ISpotLightApi.d.ts +2 -2
- package/dist/interfaces/lights/types/ISpotLightApi.d.ts.map +1 -1
- package/dist/main.d.ts +2 -2
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +23 -19
- package/dist/main.js.map +1 -1
- package/package.json +75 -75
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICameraApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/camera/ICameraApi.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ICameraApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/camera/ICameraApi.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,WAAW,EACX,cAAc,EACd,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAC,IAAI,EAAC,MAAM,gCAAgC,CAAC;AACpD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,WAAW,CAAC;AAErC;;;;GAIG;AACH,MAAM,WAAW,UAAU;IAG1B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EA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CAAC;IAClC;;;;OAIG;IACH,OAAO,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAClD;;;;OAIG;IACH,GAAG,CACF,QAAQ,EAAE,IAAI,EACd,MAAM,EAAE,IAAI,EACZ,OAAO,CAAC,EAAE,cAAc,GACtB,OAAO,CAAC,OAAO,CAAC,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB;;;;;OAKG;IACH,MAAM,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAGtE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ORTHOGRAPHIC_CAMERA_DIRECTION } from "@shapediver/viewer.rendering-engine.camera-engine";
|
|
2
|
+
import { ICameraApi } from "./ICameraApi";
|
|
3
3
|
/**
|
|
4
4
|
* The api for an orthographic camera.
|
|
5
5
|
* An orthographic camera can be created by calling the {@link createOrthographicCamera} method.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IOrthographicCameraApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/camera/IOrthographicCameraApi.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"IOrthographicCameraApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/camera/IOrthographicCameraApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,mDAAmD,CAAC;AAChG,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC;;;;GAIG;AACH,MAAM,WAAW,sBAAuB,SAAQ,UAAU;IAGzD;;OAEG;IACH,SAAS,EAAE,6BAA6B,CAAC;CAGzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPerspectiveCameraApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/camera/IPerspectiveCameraApi.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"IPerspectiveCameraApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/camera/IPerspectiveCameraApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC;;;;GAIG;AACH,MAAM,WAAW,qBAAsB,SAAQ,UAAU;IAGxD;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CAGZ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { LIGHT_TYPE } from "@shapediver/viewer.rendering-engine.light-engine";
|
|
2
|
+
import { Color } from "@shapediver/viewer.shared.types";
|
|
3
3
|
/**
|
|
4
4
|
* The api for a light, please see the definitions for [ambient]{@link IAmbientLightApi}, [directional]{@link IDirectionalLightApi}, [hemisphere]{@link IHemisphereLightApi}, [point]{@link IPointLightApi} and [spot]{@link ISpotLightApi} as this is just a shared interface for all of them.
|
|
5
5
|
* A light can be created by calling the corresponding method in the [light scene]{@link ILightSceneApi}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILightApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/lights/ILightApi.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ILightApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/lights/ILightApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,kDAAkD,CAAC;AAC5E,OAAO,EAAC,KAAK,EAAC,MAAM,iCAAiC,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IAGzB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAE1B;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAGf"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { ITreeNode } from "@shapediver/viewer.shared.node-tree";
|
|
2
|
+
import { Color } from "@shapediver/viewer.shared.types";
|
|
3
|
+
import { vec3 } from "gl-matrix";
|
|
4
|
+
import { ILightApi } from "./ILightApi";
|
|
5
|
+
import { IAmbientLightApi } from "./types/IAmbientLightApi";
|
|
6
|
+
import { IDirectionalLightApi } from "./types/IDirectionalLightApi";
|
|
7
|
+
import { IHemisphereLightApi } from "./types/IHemisphereLightApi";
|
|
8
|
+
import { IPointLightApi } from "./types/IPointLightApi";
|
|
9
|
+
import { ISpotLightApi } from "./types/ISpotLightApi";
|
|
10
10
|
/**
|
|
11
11
|
* The api for a light scene.
|
|
12
12
|
* A light scene is a collection of lights. Therefore multiple light scene can be used to switch between different lighting environments.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILightSceneApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/lights/ILightSceneApi.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ILightSceneApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/lights/ILightSceneApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAC,KAAK,EAAC,MAAM,iCAAiC,CAAC;AACtD,OAAO,EAAC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,
|
|
1
|
+
{"version":3,"file":"IAmbientLightApi.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/lights/types/IAmbientLightApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAEvC;;;GAGG;AACH,oBAAY,gBAAgB,GAAG,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { vec3 } from "gl-matrix";
|
|
2
|
+
import { ILightApi } from "../ILightApi";
|
|
3
3
|
/**
|
|
4
4
|
* The api for a directional light.
|
|
5
5
|
* A directional light can be created by calling the {@link addDirectionalLight} method.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IDirectionalLightApi.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/lights/types/IDirectionalLightApi.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"IDirectionalLightApi.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/lights/types/IDirectionalLightApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAEvC;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IAGtD;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAG5B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { ILightApi } from
|
|
1
|
+
import { Color } from "@shapediver/viewer.shared.types";
|
|
2
|
+
import { ILightApi } from "../ILightApi";
|
|
3
3
|
/**
|
|
4
4
|
* The api for an hemisphere light.
|
|
5
5
|
* An hemisphere light can be created by calling the {@link addHemisphereLight} method.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IHemisphereLightApi.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/lights/types/IHemisphereLightApi.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"IHemisphereLightApi.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/lights/types/IHemisphereLightApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,iCAAiC,CAAC;AACtD,OAAO,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAEvC;;;GAGG;AACH,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IAGrD;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC;CAGnB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { vec3 } from "gl-matrix";
|
|
2
|
+
import { ILightApi } from "../ILightApi";
|
|
3
3
|
/**
|
|
4
4
|
* The api for a point light.
|
|
5
5
|
* A point light can be created by calling the {@link addPointLight} method.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPointLightApi.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/lights/types/IPointLightApi.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"IPointLightApi.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/lights/types/IPointLightApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAEvC;;;GAGG;AACH,MAAM,WAAW,cAAe,SAAQ,SAAS;IAGhD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;CAGf"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { vec3 } from "gl-matrix";
|
|
2
|
+
import { ILightApi } from "../ILightApi";
|
|
3
3
|
/**
|
|
4
4
|
* The api for a spot light.
|
|
5
5
|
* A spot light can be created by calling the {@link addSpotLight} method.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISpotLightApi.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/lights/types/ISpotLightApi.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ISpotLightApi.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/lights/types/ISpotLightApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAEvC;;;GAGG;AACH,MAAM,WAAW,aAAc,SAAQ,SAAS;IAG/C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,IAAI,CAAC;CAGb"}
|
package/dist/main.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ViewportCreationDefinition } from "@shapediver/viewer.shared.types";
|
|
2
|
+
import { IViewportApi } from "./interfaces/IViewportApi";
|
|
3
3
|
/**
|
|
4
4
|
* The viewports that are currently being used.
|
|
5
5
|
*/
|
package/dist/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAYA,OAAO,EAGN,0BAA0B,EAE1B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAC,YAAY,EAAC,MAAM,2BAA2B,CAAC;AAOvD;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;CAAM,CAAC;AAc3D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,cAAc,gBACb,0BAA0B,KACrC,QAAQ,YAAY,CAiHtB,CAAC"}
|
package/dist/main.js
CHANGED
|
@@ -10,11 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.createViewport = exports.viewports = void 0;
|
|
13
|
+
const viewer_api_general_1 = require("@shapediver/viewer.api.general");
|
|
13
14
|
const viewer_creation_control_center_viewport_1 = require("@shapediver/viewer.creation-control-center.viewport");
|
|
14
15
|
const viewer_shared_services_1 = require("@shapediver/viewer.shared.services");
|
|
15
|
-
const viewer_api_general_1 = require("@shapediver/viewer.api.general");
|
|
16
|
-
const ViewportApi_1 = require("./implementation/ViewportApi");
|
|
17
16
|
const viewer_shared_types_1 = require("@shapediver/viewer.shared.types");
|
|
17
|
+
const ViewportApi_1 = require("./implementation/ViewportApi");
|
|
18
18
|
const creationControlCenterViewport = viewer_creation_control_center_viewport_1.CreationControlCenterViewport.instance;
|
|
19
19
|
const inputValidator = viewer_shared_services_1.InputValidator.instance;
|
|
20
20
|
const logger = viewer_shared_services_1.Logger.instance;
|
|
@@ -55,26 +55,30 @@ creationControlCenterViewport.updateViewports = (renderingEngines) => {
|
|
|
55
55
|
const createViewport = (properties) => __awaiter(void 0, void 0, void 0, function* () {
|
|
56
56
|
(0, viewer_api_general_1.showConsoleMessage)();
|
|
57
57
|
const prop = Object.assign({}, properties);
|
|
58
|
-
const copy = Object.fromEntries(Object.entries(prop).filter(([key]) => key !==
|
|
58
|
+
const copy = Object.fromEntries(Object.entries(prop).filter(([key]) => key !== "canvas"));
|
|
59
59
|
logger.debug(`createSession: Creating and initializing session with properties ${JSON.stringify(copy)}.`);
|
|
60
|
-
inputValidator.validateAndError(
|
|
61
|
-
inputValidator.validateAndError(
|
|
62
|
-
inputValidator.validateAndError(
|
|
63
|
-
inputValidator.validateAndError(
|
|
64
|
-
inputValidator.validateAndError(
|
|
65
|
-
inputValidator.validateAndError(
|
|
66
|
-
inputValidator.validateAndError(
|
|
67
|
-
inputValidator.validateAndError(
|
|
60
|
+
inputValidator.validateAndError("createViewport", properties, "object", false);
|
|
61
|
+
inputValidator.validateAndError("createViewport", prop.canvas, "HTMLCanvasElement", false);
|
|
62
|
+
inputValidator.validateAndError("createViewport", prop.id, "string", false);
|
|
63
|
+
inputValidator.validateAndError("createViewport", prop.sessionSettingsId, "string", false);
|
|
64
|
+
inputValidator.validateAndError("createViewport", prop.sessionSettingsMode, "enum", false, Object.values(viewer_shared_services_1.SESSION_SETTINGS_MODE));
|
|
65
|
+
inputValidator.validateAndError("createViewport", prop.visibilitySessionIds, "array", false);
|
|
66
|
+
inputValidator.validateAndError("createViewport", prop.visibility, "enum", false, Object.values(viewer_shared_types_1.VISIBILITY_MODE));
|
|
67
|
+
inputValidator.validateAndError("createViewport", prop.branding, "object", false);
|
|
68
68
|
const branding = Object.assign({}, prop.branding);
|
|
69
69
|
if (branding.logo !== null)
|
|
70
|
-
inputValidator.validateAndError(
|
|
71
|
-
inputValidator.validateAndError(
|
|
72
|
-
inputValidator.validateAndError(
|
|
73
|
-
inputValidator.validateAndError(
|
|
74
|
-
inputValidator.validateAndError(
|
|
75
|
-
prop.sessionSettingsMode =
|
|
76
|
-
|
|
77
|
-
|
|
70
|
+
inputValidator.validateAndError("createViewport", branding.logo, "string", false);
|
|
71
|
+
inputValidator.validateAndError("createViewport", branding.backgroundColor, "string", false);
|
|
72
|
+
inputValidator.validateAndError("createViewport", branding.busyModeSpinner, "string", false);
|
|
73
|
+
inputValidator.validateAndError("createViewport", branding.busyModeDisplay, "enum", false, Object.values(viewer_shared_types_1.BUSY_MODE_DISPLAY));
|
|
74
|
+
inputValidator.validateAndError("createViewport", branding.spinnerPositioning, "enum", false, Object.values(viewer_shared_types_1.SPINNER_POSITIONING));
|
|
75
|
+
prop.sessionSettingsMode =
|
|
76
|
+
prop.sessionSettingsMode !== undefined
|
|
77
|
+
? prop.sessionSettingsMode
|
|
78
|
+
: viewer_shared_services_1.SESSION_SETTINGS_MODE.FIRST;
|
|
79
|
+
if (prop.sessionSettingsMode === viewer_shared_services_1.SESSION_SETTINGS_MODE.MANUAL &&
|
|
80
|
+
!prop.sessionSettingsId)
|
|
81
|
+
throw new viewer_shared_services_1.ShapeDiverViewerValidationError("createViewport: Input could not be validated. sessionSettingsId has to point to a valid and created session when using SESSION_SETTINGS_MODE.MANUAL", prop.sessionSettingsId, "string");
|
|
78
82
|
const renderingEngine = yield creationControlCenterViewport.createViewportEngine(prop);
|
|
79
83
|
exports.viewports[renderingEngine.id] = new ViewportApi_1.ViewportApi(renderingEngine);
|
|
80
84
|
return exports.viewports[renderingEngine.id];
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAkE;AAClE,iHAG6D;AAE7D,+EAK4C;AAC5C,yEAKyC;AACzC,8DAAyD;AAGzD,MAAM,6BAA6B,GAClC,uEAA6B,CAAC,QAAQ,CAAC;AACxC,MAAM,cAAc,GAAmB,uCAAc,CAAC,QAAQ,CAAC;AAC/D,MAAM,MAAM,GAAW,+BAAM,CAAC,QAAQ,CAAC;AAEvC;;GAEG;AACU,QAAA,SAAS,GAAkC,EAAE,CAAC;AAE3D,6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|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
2
|
+
"name": "@shapediver/viewer.viewport",
|
|
3
|
+
"version": "3.9.2",
|
|
4
|
+
"description": "",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"webgl",
|
|
7
|
+
"shapediver",
|
|
8
|
+
"viewer",
|
|
9
|
+
"augumented-reality",
|
|
10
|
+
"webgl",
|
|
11
|
+
"grasshopper",
|
|
12
|
+
"typescript",
|
|
13
|
+
"3d"
|
|
14
|
+
],
|
|
15
|
+
"author": "Michael Oppitz <michael@shapediver.com>",
|
|
16
|
+
"license": "polyform-noncommercial-1.0.0",
|
|
17
|
+
"main": "dist/index.js",
|
|
18
|
+
"directories": {
|
|
19
|
+
"test": "__tests__"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"package.json",
|
|
23
|
+
"dist/",
|
|
24
|
+
"README.md",
|
|
25
|
+
"LICENSE"
|
|
26
|
+
],
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "git+https://github.com/shapediver/Viewer.git"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"check": "tsc --noEmit",
|
|
36
|
+
"build": "bash ../../scripts/building/build.sh",
|
|
37
|
+
"build-watch": "bash ../../scripts/building/build-watch.sh",
|
|
38
|
+
"build-dep": "bash ../../scripts/building/build-dep.sh",
|
|
39
|
+
"doc": "typedoc"
|
|
40
|
+
},
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/shapediver/Viewer/issues"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/shapediver/Viewer#readme",
|
|
45
|
+
"typings": "dist/index.d.ts",
|
|
46
|
+
"jest": {
|
|
47
|
+
"preset": "ts-jest",
|
|
48
|
+
"testEnvironment": "jsdom"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@shapediver/sdk.geometry-api-sdk-v2": "1.12.2",
|
|
52
|
+
"@shapediver/viewer.api.general": "3.9.2",
|
|
53
|
+
"@shapediver/viewer.creation-control-center.viewport": "3.9.2",
|
|
54
|
+
"@shapediver/viewer.data-engine.data-engine": "3.9.2",
|
|
55
|
+
"@shapediver/viewer.data-engine.geometry-engine": "3.9.2",
|
|
56
|
+
"@shapediver/viewer.data-engine.gltf-converter": "3.9.2",
|
|
57
|
+
"@shapediver/viewer.data-engine.material-engine": "3.9.2",
|
|
58
|
+
"@shapediver/viewer.data-engine.shared-types": "3.9.2",
|
|
59
|
+
"@shapediver/viewer.rendering-engine.animation-engine": "3.9.2",
|
|
60
|
+
"@shapediver/viewer.rendering-engine.camera-engine": "3.9.2",
|
|
61
|
+
"@shapediver/viewer.rendering-engine.light-engine": "3.9.2",
|
|
62
|
+
"@shapediver/viewer.rendering-engine.rendering-engine": "3.9.2",
|
|
63
|
+
"@shapediver/viewer.rendering-engine.rendering-engine-threejs": "3.9.2",
|
|
64
|
+
"@shapediver/viewer.settings": "1.1.6",
|
|
65
|
+
"@shapediver/viewer.shared.build-data": "3.9.2",
|
|
66
|
+
"@shapediver/viewer.shared.math": "3.9.2",
|
|
67
|
+
"@shapediver/viewer.shared.node-tree": "3.9.2",
|
|
68
|
+
"@shapediver/viewer.shared.services": "3.9.2",
|
|
69
|
+
"@shapediver/viewer.shared.types": "3.9.2",
|
|
70
|
+
"@types/qrcode": "^1.5.0",
|
|
71
|
+
"@types/three": "0.162.0",
|
|
72
|
+
"gl-matrix": "3.3.0",
|
|
73
|
+
"qrcode": "^1.5.0",
|
|
74
|
+
"three": "0.162.0"
|
|
75
|
+
},
|
|
76
|
+
"gitHead": "89e79c63e38e785a60e38750c4fce9a9637235c2"
|
|
77
77
|
}
|