@combeenation/3d-viewer 5.0.1 → 5.0.3-beta2
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 +111 -114
- package/dist/lib-cjs/api/classes/animationInterface.d.ts +8 -8
- package/dist/lib-cjs/api/classes/animationInterface.js +1 -1
- package/dist/lib-cjs/api/classes/dottedPath.d.ts +79 -79
- package/dist/lib-cjs/api/classes/dottedPath.js +187 -187
- package/dist/lib-cjs/api/classes/element.d.ts +139 -139
- package/dist/lib-cjs/api/classes/element.js +794 -794
- package/dist/lib-cjs/api/classes/element.js.map +1 -1
- package/dist/lib-cjs/api/classes/elementParameterizable.d.ts +14 -0
- package/dist/lib-cjs/api/classes/elementParameterizable.js +135 -0
- package/dist/lib-cjs/api/classes/elementParameterizable.js.map +1 -0
- package/dist/lib-cjs/api/classes/event.d.ts +326 -326
- package/dist/lib-cjs/api/classes/event.js +371 -371
- package/dist/lib-cjs/api/classes/eventBroadcaster.d.ts +26 -26
- package/dist/lib-cjs/api/classes/eventBroadcaster.js +53 -53
- package/dist/lib-cjs/api/classes/parameter.d.ts +316 -259
- package/dist/lib-cjs/api/classes/parameter.js +451 -388
- package/dist/lib-cjs/api/classes/parameter.js.map +1 -1
- package/dist/lib-cjs/api/classes/parameterObservable.d.ts +36 -36
- package/dist/lib-cjs/api/classes/parameterObservable.js +101 -101
- package/dist/lib-cjs/api/classes/parameterizable.d.ts +15 -15
- package/dist/lib-cjs/api/classes/parameterizable.js +149 -149
- package/dist/lib-cjs/api/classes/placementAnimation.d.ts +44 -44
- package/dist/lib-cjs/api/classes/placementAnimation.js +163 -163
- package/dist/lib-cjs/api/classes/variant.d.ts +234 -234
- package/dist/lib-cjs/api/classes/variant.js +1154 -1154
- package/dist/lib-cjs/api/classes/variantInstance.d.ts +45 -45
- package/dist/lib-cjs/api/classes/variantInstance.js +108 -108
- package/dist/lib-cjs/api/classes/variantParameterizable.d.ts +17 -17
- package/dist/lib-cjs/api/classes/variantParameterizable.js +99 -99
- package/dist/lib-cjs/api/classes/viewer.d.ts +177 -175
- package/dist/lib-cjs/api/classes/viewer.js +717 -701
- package/dist/lib-cjs/api/classes/viewer.js.map +1 -1
- package/dist/lib-cjs/api/classes/viewerLight.d.ts +66 -66
- package/dist/lib-cjs/api/classes/viewerLight.js +392 -392
- package/dist/lib-cjs/api/internal/debugViewer.d.ts +13 -13
- package/dist/lib-cjs/api/internal/debugViewer.js +86 -86
- package/dist/lib-cjs/api/internal/lensRendering.d.ts +8 -8
- package/dist/lib-cjs/api/internal/lensRendering.js +11 -11
- package/dist/lib-cjs/api/internal/sceneSetup.d.ts +13 -10
- package/dist/lib-cjs/api/internal/sceneSetup.js +238 -234
- package/dist/lib-cjs/api/internal/sceneSetup.js.map +1 -1
- package/dist/lib-cjs/api/manager/animationManager.d.ts +29 -29
- package/dist/lib-cjs/api/manager/animationManager.js +130 -130
- package/dist/lib-cjs/api/manager/gltfExportManager.d.ts +65 -65
- package/dist/lib-cjs/api/manager/gltfExportManager.js +223 -222
- package/dist/lib-cjs/api/manager/gltfExportManager.js.map +1 -1
- package/dist/lib-cjs/api/manager/sceneManager.d.ts +31 -32
- package/dist/lib-cjs/api/manager/sceneManager.js +153 -132
- package/dist/lib-cjs/api/manager/sceneManager.js.map +1 -1
- package/dist/lib-cjs/api/manager/variantInstanceManager.d.ts +92 -92
- package/dist/lib-cjs/api/manager/variantInstanceManager.js +335 -335
- package/dist/lib-cjs/api/store/specStorage.d.ts +24 -24
- package/dist/lib-cjs/api/store/specStorage.js +51 -51
- package/dist/lib-cjs/api/util/babylonHelper.d.ts +174 -166
- package/dist/lib-cjs/api/util/babylonHelper.js +575 -497
- package/dist/lib-cjs/api/util/babylonHelper.js.map +1 -1
- package/dist/lib-cjs/api/util/globalTypes.d.ts +366 -356
- package/dist/lib-cjs/api/util/globalTypes.js +1 -1
- package/dist/lib-cjs/api/util/resourceHelper.d.ts +58 -53
- package/dist/lib-cjs/api/util/resourceHelper.js +257 -242
- package/dist/lib-cjs/api/util/resourceHelper.js.map +1 -1
- package/dist/lib-cjs/api/util/stringHelper.d.ts +9 -9
- package/dist/lib-cjs/api/util/stringHelper.js +25 -25
- package/dist/lib-cjs/api/util/structureHelper.d.ts +9 -9
- package/dist/lib-cjs/api/util/structureHelper.js +48 -44
- package/dist/lib-cjs/api/util/structureHelper.js.map +1 -1
- package/dist/lib-cjs/buildinfo.json +3 -3
- package/dist/lib-cjs/index.d.ts +49 -49
- package/dist/lib-cjs/index.js +89 -89
- package/dist/webpack-stats.json +0 -0
- package/package.json +87 -87
- package/src/api/classes/animationInterface.ts +10 -10
- package/src/api/classes/dottedPath.ts +181 -181
- package/src/api/classes/element.ts +690 -692
- package/src/api/classes/event.ts +367 -367
- package/src/api/classes/eventBroadcaster.ts +52 -52
- package/src/api/classes/parameter.ts +474 -405
- package/src/api/classes/parameterObservable.ts +100 -100
- package/src/api/classes/parameterizable.ts +87 -87
- package/src/api/classes/placementAnimation.ts +160 -160
- package/src/api/classes/variant.ts +845 -845
- package/src/api/classes/variantInstance.ts +97 -97
- package/src/api/classes/variantParameterizable.ts +85 -85
- package/src/api/classes/viewer.ts +650 -624
- package/src/api/classes/viewerLight.ts +334 -334
- package/src/api/internal/debugViewer.ts +90 -90
- package/src/api/internal/lensRendering.ts +10 -10
- package/src/api/internal/sceneSetup.ts +204 -201
- package/src/api/manager/animationManager.ts +142 -142
- package/src/api/manager/gltfExportManager.ts +191 -191
- package/src/api/manager/sceneManager.ts +128 -102
- package/src/api/manager/variantInstanceManager.ts +265 -265
- package/src/api/store/specStorage.ts +51 -51
- package/src/api/util/babylonHelper.ts +628 -538
- package/src/api/util/globalTypes.ts +413 -402
- package/src/api/util/resourceHelper.ts +189 -173
- package/src/api/util/stringHelper.ts +23 -23
- package/src/api/util/structureHelper.ts +49 -43
- package/src/buildinfo.json +3 -3
- package/src/commonjs.tsconfig.json +10 -10
- package/src/declaration.tsconfig.json +8 -8
- package/src/dev.ts +42 -42
- package/src/es6.tsconfig.json +10 -10
- package/src/index.ts +94 -94
- package/src/pagesconfig.json +77 -73
- package/src/tsconfig.json +32 -32
- package/src/tsconfig.types.json +9 -9
- package/src/types.d.ts +3 -3
package/src/es6.tsconfig.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig",
|
|
3
|
-
"exclude": ["dev.ts", "assets"],
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"module": "es6",
|
|
6
|
-
"moduleResolution": "node",
|
|
7
|
-
"outDir": "../dist/lib-es6",
|
|
8
|
-
"declaration": true
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig",
|
|
3
|
+
"exclude": ["dev.ts", "assets"],
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"module": "es6",
|
|
6
|
+
"moduleResolution": "node",
|
|
7
|
+
"outDir": "../dist/lib-es6",
|
|
8
|
+
"declaration": true
|
|
9
|
+
}
|
|
10
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
/// <reference path="api/util/globalTypes.ts" />
|
|
2
|
-
/// <reference types="gsap" />
|
|
3
|
-
|
|
4
|
-
import { Animation as BabylonAnimation } from '@babylonjs/core/Animations/animation';
|
|
5
|
-
import { ArcRotateCamera } from '@babylonjs/core/Cameras/arcRotateCamera';
|
|
6
|
-
import { Engine } from '@babylonjs/core/Engines/engine';
|
|
7
|
-
import { DirectionalLight } from '@babylonjs/core/Lights/directionalLight';
|
|
8
|
-
import { HemisphericLight } from '@babylonjs/core/Lights/hemisphericLight';
|
|
9
|
-
import { Material } from '@babylonjs/core/Materials/material';
|
|
10
|
-
import { PBRMaterial } from '@babylonjs/core/Materials/PBR/pbrMaterial';
|
|
11
|
-
import { StandardMaterial } from '@babylonjs/core/Materials/standardMaterial';
|
|
12
|
-
import { CubeTexture } from '@babylonjs/core/Materials/Textures/cubeTexture';
|
|
13
|
-
import { DynamicTexture } from '@babylonjs/core/Materials/Textures/dynamicTexture';
|
|
14
|
-
import { Texture } from '@babylonjs/core/Materials/Textures/texture';
|
|
15
|
-
import { Color3, Color4 } from '@babylonjs/core/Maths/math.color';
|
|
16
|
-
import { Vector3 } from '@babylonjs/core/Maths/math.vector';
|
|
17
|
-
import { AbstractMesh } from '@babylonjs/core/Meshes/abstractMesh';
|
|
18
|
-
import { InstancedMesh } from '@babylonjs/core/Meshes/instancedMesh';
|
|
19
|
-
import { Mesh } from '@babylonjs/core/Meshes/mesh';
|
|
20
|
-
import { MeshBuilder } from '@babylonjs/core/Meshes/meshBuilder';
|
|
21
|
-
import { TransformNode } from '@babylonjs/core/Meshes/transformNode';
|
|
22
|
-
import { Node } from '@babylonjs/core/node';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Without explicitly importing the "BoundingBoxRenderer", we're getting "scene.getBoundingBoxRenderer is undefined"
|
|
26
|
-
* errors when creating HighlightLayer instances. Not sure why but those errors only happen when using the built
|
|
27
|
-
* version of the viewer (e.g. when pulling it from NPM etc.)...
|
|
28
|
-
*/
|
|
29
|
-
import '@babylonjs/core/Rendering/boundingBoxRenderer';
|
|
30
|
-
import { Scene } from '@babylonjs/core/scene';
|
|
31
|
-
import { Parameterizable } from './api/classes/parameterizable';
|
|
32
|
-
import { VariantParameterizable } from './api/classes/variantParameterizable';
|
|
33
|
-
import { EventEmitter } from 'eventemitter3';
|
|
34
|
-
import { Element } from './api/classes/element';
|
|
35
|
-
import { emitter, Event } from './api/classes/event';
|
|
36
|
-
import { EventBroadcaster } from './api/classes/eventBroadcaster';
|
|
37
|
-
import { Parameter } from './api/classes/parameter';
|
|
38
|
-
import { ParameterObservable } from './api/classes/parameterObservable';
|
|
39
|
-
import { PlacementAnimation } from './api/classes/placementAnimation';
|
|
40
|
-
import { Variant } from './api/classes/variant';
|
|
41
|
-
import { VariantInstance } from './api/classes/variantInstance';
|
|
42
|
-
import { Viewer } from './api/classes/viewer';
|
|
43
|
-
import { ViewerLight } from './api/classes/viewerLight';
|
|
44
|
-
import { AnimationManager } from './api/manager/animationManager';
|
|
45
|
-
import { SceneManager } from './api/manager/sceneManager';
|
|
46
|
-
import { VariantInstanceManager } from './api/manager/variantInstanceManager';
|
|
47
|
-
import { GltfExportManager } from './api/manager/gltfExportManager';
|
|
48
|
-
import * as BabylonHelper from './api/util/babylonHelper';
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Expose some frequently used babylon modules by our consumers.
|
|
52
|
-
*/
|
|
53
|
-
export {
|
|
54
|
-
AnimationManager,
|
|
55
|
-
Variant,
|
|
56
|
-
VariantInstanceManager,
|
|
57
|
-
Viewer,
|
|
58
|
-
ParameterObservable,
|
|
59
|
-
Parameterizable,
|
|
60
|
-
VariantParameterizable,
|
|
61
|
-
ViewerLight,
|
|
62
|
-
emitter as Emitter,
|
|
63
|
-
EventEmitter,
|
|
64
|
-
Event,
|
|
65
|
-
Parameter,
|
|
66
|
-
VariantInstance,
|
|
67
|
-
Color3,
|
|
68
|
-
Color4,
|
|
69
|
-
Vector3,
|
|
70
|
-
AbstractMesh,
|
|
71
|
-
InstancedMesh,
|
|
72
|
-
Mesh,
|
|
73
|
-
TransformNode,
|
|
74
|
-
Node,
|
|
75
|
-
Material,
|
|
76
|
-
PBRMaterial,
|
|
77
|
-
StandardMaterial,
|
|
78
|
-
Scene,
|
|
79
|
-
Engine,
|
|
80
|
-
ArcRotateCamera,
|
|
81
|
-
DynamicTexture,
|
|
82
|
-
CubeTexture,
|
|
83
|
-
MeshBuilder,
|
|
84
|
-
Texture,
|
|
85
|
-
BabylonAnimation,
|
|
86
|
-
HemisphericLight,
|
|
87
|
-
DirectionalLight,
|
|
88
|
-
Element,
|
|
89
|
-
EventBroadcaster,
|
|
90
|
-
SceneManager,
|
|
91
|
-
PlacementAnimation,
|
|
92
|
-
BabylonHelper,
|
|
93
|
-
GltfExportManager,
|
|
94
|
-
};
|
|
1
|
+
/// <reference path="api/util/globalTypes.ts" />
|
|
2
|
+
/// <reference types="gsap" />
|
|
3
|
+
|
|
4
|
+
import { Animation as BabylonAnimation } from '@babylonjs/core/Animations/animation';
|
|
5
|
+
import { ArcRotateCamera } from '@babylonjs/core/Cameras/arcRotateCamera';
|
|
6
|
+
import { Engine } from '@babylonjs/core/Engines/engine';
|
|
7
|
+
import { DirectionalLight } from '@babylonjs/core/Lights/directionalLight';
|
|
8
|
+
import { HemisphericLight } from '@babylonjs/core/Lights/hemisphericLight';
|
|
9
|
+
import { Material } from '@babylonjs/core/Materials/material';
|
|
10
|
+
import { PBRMaterial } from '@babylonjs/core/Materials/PBR/pbrMaterial';
|
|
11
|
+
import { StandardMaterial } from '@babylonjs/core/Materials/standardMaterial';
|
|
12
|
+
import { CubeTexture } from '@babylonjs/core/Materials/Textures/cubeTexture';
|
|
13
|
+
import { DynamicTexture } from '@babylonjs/core/Materials/Textures/dynamicTexture';
|
|
14
|
+
import { Texture } from '@babylonjs/core/Materials/Textures/texture';
|
|
15
|
+
import { Color3, Color4 } from '@babylonjs/core/Maths/math.color';
|
|
16
|
+
import { Vector3 } from '@babylonjs/core/Maths/math.vector';
|
|
17
|
+
import { AbstractMesh } from '@babylonjs/core/Meshes/abstractMesh';
|
|
18
|
+
import { InstancedMesh } from '@babylonjs/core/Meshes/instancedMesh';
|
|
19
|
+
import { Mesh } from '@babylonjs/core/Meshes/mesh';
|
|
20
|
+
import { MeshBuilder } from '@babylonjs/core/Meshes/meshBuilder';
|
|
21
|
+
import { TransformNode } from '@babylonjs/core/Meshes/transformNode';
|
|
22
|
+
import { Node } from '@babylonjs/core/node';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Without explicitly importing the "BoundingBoxRenderer", we're getting "scene.getBoundingBoxRenderer is undefined"
|
|
26
|
+
* errors when creating HighlightLayer instances. Not sure why but those errors only happen when using the built
|
|
27
|
+
* version of the viewer (e.g. when pulling it from NPM etc.)...
|
|
28
|
+
*/
|
|
29
|
+
import '@babylonjs/core/Rendering/boundingBoxRenderer';
|
|
30
|
+
import { Scene } from '@babylonjs/core/scene';
|
|
31
|
+
import { Parameterizable } from './api/classes/parameterizable';
|
|
32
|
+
import { VariantParameterizable } from './api/classes/variantParameterizable';
|
|
33
|
+
import { EventEmitter } from 'eventemitter3';
|
|
34
|
+
import { Element } from './api/classes/element';
|
|
35
|
+
import { emitter, Event } from './api/classes/event';
|
|
36
|
+
import { EventBroadcaster } from './api/classes/eventBroadcaster';
|
|
37
|
+
import { Parameter } from './api/classes/parameter';
|
|
38
|
+
import { ParameterObservable } from './api/classes/parameterObservable';
|
|
39
|
+
import { PlacementAnimation } from './api/classes/placementAnimation';
|
|
40
|
+
import { Variant } from './api/classes/variant';
|
|
41
|
+
import { VariantInstance } from './api/classes/variantInstance';
|
|
42
|
+
import { Viewer } from './api/classes/viewer';
|
|
43
|
+
import { ViewerLight } from './api/classes/viewerLight';
|
|
44
|
+
import { AnimationManager } from './api/manager/animationManager';
|
|
45
|
+
import { SceneManager } from './api/manager/sceneManager';
|
|
46
|
+
import { VariantInstanceManager } from './api/manager/variantInstanceManager';
|
|
47
|
+
import { GltfExportManager } from './api/manager/gltfExportManager';
|
|
48
|
+
import * as BabylonHelper from './api/util/babylonHelper';
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Expose some frequently used babylon modules by our consumers.
|
|
52
|
+
*/
|
|
53
|
+
export {
|
|
54
|
+
AnimationManager,
|
|
55
|
+
Variant,
|
|
56
|
+
VariantInstanceManager,
|
|
57
|
+
Viewer,
|
|
58
|
+
ParameterObservable,
|
|
59
|
+
Parameterizable,
|
|
60
|
+
VariantParameterizable,
|
|
61
|
+
ViewerLight,
|
|
62
|
+
emitter as Emitter,
|
|
63
|
+
EventEmitter,
|
|
64
|
+
Event,
|
|
65
|
+
Parameter,
|
|
66
|
+
VariantInstance,
|
|
67
|
+
Color3,
|
|
68
|
+
Color4,
|
|
69
|
+
Vector3,
|
|
70
|
+
AbstractMesh,
|
|
71
|
+
InstancedMesh,
|
|
72
|
+
Mesh,
|
|
73
|
+
TransformNode,
|
|
74
|
+
Node,
|
|
75
|
+
Material,
|
|
76
|
+
PBRMaterial,
|
|
77
|
+
StandardMaterial,
|
|
78
|
+
Scene,
|
|
79
|
+
Engine,
|
|
80
|
+
ArcRotateCamera,
|
|
81
|
+
DynamicTexture,
|
|
82
|
+
CubeTexture,
|
|
83
|
+
MeshBuilder,
|
|
84
|
+
Texture,
|
|
85
|
+
BabylonAnimation,
|
|
86
|
+
HemisphericLight,
|
|
87
|
+
DirectionalLight,
|
|
88
|
+
Element,
|
|
89
|
+
EventBroadcaster,
|
|
90
|
+
SceneManager,
|
|
91
|
+
PlacementAnimation,
|
|
92
|
+
BabylonHelper,
|
|
93
|
+
GltfExportManager,
|
|
94
|
+
};
|
package/src/pagesconfig.json
CHANGED
|
@@ -1,73 +1,77 @@
|
|
|
1
|
-
{
|
|
2
|
-
"groups": [
|
|
3
|
-
{
|
|
4
|
-
"title": "Release Notes",
|
|
5
|
-
"pages": [
|
|
6
|
-
{
|
|
7
|
-
"title": "Releases",
|
|
8
|
-
"source": "./doc/release-notes/releases.md",
|
|
9
|
-
"children": [
|
|
10
|
-
{
|
|
11
|
-
"title": "Version 1.1.2",
|
|
12
|
-
"source": "./doc/release-notes/version-details/1-1-2.md"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"title": "Version 1.2.0",
|
|
16
|
-
"source": "./doc/release-notes/version-details/1-2-0.md"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"title": "Version 2.0.0",
|
|
20
|
-
"source": "./doc/release-notes/version-details/2-0-0.md"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"title": "Version 2.1.0",
|
|
24
|
-
"source": "./doc/release-notes/version-details/2-1-0.md"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"title": "Version 4.3.0",
|
|
28
|
-
"source": "./doc/release-notes/version-details/4-3-0.md"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"title": "Version 5.0.1",
|
|
32
|
-
"source": "./doc/release-notes/version-details/5-0-1.md"
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
{
|
|
46
|
-
"title": "
|
|
47
|
-
"source": "./doc/documentation/
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"title": "
|
|
51
|
-
"source": "./doc/documentation/
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"title": "
|
|
55
|
-
"source": "./doc/documentation/
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"title": "
|
|
59
|
-
"source": "./doc/documentation/
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"groups": [
|
|
3
|
+
{
|
|
4
|
+
"title": "Release Notes",
|
|
5
|
+
"pages": [
|
|
6
|
+
{
|
|
7
|
+
"title": "Releases",
|
|
8
|
+
"source": "./doc/release-notes/releases.md",
|
|
9
|
+
"children": [
|
|
10
|
+
{
|
|
11
|
+
"title": "Version 1.1.2",
|
|
12
|
+
"source": "./doc/release-notes/version-details/1-1-2.md"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"title": "Version 1.2.0",
|
|
16
|
+
"source": "./doc/release-notes/version-details/1-2-0.md"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"title": "Version 2.0.0",
|
|
20
|
+
"source": "./doc/release-notes/version-details/2-0-0.md"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"title": "Version 2.1.0",
|
|
24
|
+
"source": "./doc/release-notes/version-details/2-1-0.md"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"title": "Version 4.3.0",
|
|
28
|
+
"source": "./doc/release-notes/version-details/4-3-0.md"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"title": "Version 5.0.1",
|
|
32
|
+
"source": "./doc/release-notes/version-details/5-0-1.md"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"title": "Version 5.1.0",
|
|
36
|
+
"source": "./doc/release-notes/version-details/5-1-0.md"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"title": "Documentation",
|
|
44
|
+
"pages": [
|
|
45
|
+
{
|
|
46
|
+
"title": "Specification",
|
|
47
|
+
"source": "./doc/documentation/Specification.md"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"title": "Parameters",
|
|
51
|
+
"source": "./doc/documentation/Parameters.md"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"title": "ViewerLights",
|
|
55
|
+
"source": "./doc/documentation/ViewerLights.md"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"title": "Paintables",
|
|
59
|
+
"source": "./doc/documentation/Paintables.md"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"title": "Transformation Parameters",
|
|
63
|
+
"source": "./doc/documentation/Transformation-Parameters.md"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"title": "Best Practice",
|
|
69
|
+
"pages": [
|
|
70
|
+
{
|
|
71
|
+
"title": "How to change custom material properties",
|
|
72
|
+
"source": "./doc/best-practice/Custom-material-properties.md"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
package/src/tsconfig.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"buildOnSave": false,
|
|
3
|
-
"compileOnSave": false,
|
|
4
|
-
"exclude": ["dist"],
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"module": "esnext",
|
|
7
|
-
"moduleResolution": "node",
|
|
8
|
-
"target": "es5",
|
|
9
|
-
"removeComments": false,
|
|
10
|
-
"preserveConstEnums": true,
|
|
11
|
-
"sourceMap": true,
|
|
12
|
-
"skipLibCheck": true,
|
|
13
|
-
"strict": true,
|
|
14
|
-
"noFallthroughCasesInSwitch": true,
|
|
15
|
-
"baseUrl": ".",
|
|
16
|
-
"importHelpers": true,
|
|
17
|
-
"resolveJsonModule": true,
|
|
18
|
-
"lib": ["es6", "dom"]
|
|
19
|
-
},
|
|
20
|
-
"typedocOptions": {
|
|
21
|
-
"name": "Combeenation 3D viewer",
|
|
22
|
-
"entryPoints": ["src/index.ts", "src/api/util/globalTypes.ts"],
|
|
23
|
-
"exclude": ["src/dev.ts", "assets/"],
|
|
24
|
-
"excludeInternal": true,
|
|
25
|
-
"excludePrivate": true,
|
|
26
|
-
"excludeProtected": true,
|
|
27
|
-
"listInvalidSymbolLinks": true,
|
|
28
|
-
"out": "docs",
|
|
29
|
-
"pages": "src/pagesconfig.json",
|
|
30
|
-
"theme": "doc/cbn-docs-theme"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"buildOnSave": false,
|
|
3
|
+
"compileOnSave": false,
|
|
4
|
+
"exclude": ["dist"],
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"module": "esnext",
|
|
7
|
+
"moduleResolution": "node",
|
|
8
|
+
"target": "es5",
|
|
9
|
+
"removeComments": false,
|
|
10
|
+
"preserveConstEnums": true,
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"skipLibCheck": true,
|
|
13
|
+
"strict": true,
|
|
14
|
+
"noFallthroughCasesInSwitch": true,
|
|
15
|
+
"baseUrl": ".",
|
|
16
|
+
"importHelpers": true,
|
|
17
|
+
"resolveJsonModule": true,
|
|
18
|
+
"lib": ["es6", "dom"]
|
|
19
|
+
},
|
|
20
|
+
"typedocOptions": {
|
|
21
|
+
"name": "Combeenation 3D viewer",
|
|
22
|
+
"entryPoints": ["src/index.ts", "src/api/util/globalTypes.ts"],
|
|
23
|
+
"exclude": ["src/dev.ts", "assets/"],
|
|
24
|
+
"excludeInternal": true,
|
|
25
|
+
"excludePrivate": true,
|
|
26
|
+
"excludeProtected": true,
|
|
27
|
+
"listInvalidSymbolLinks": true,
|
|
28
|
+
"out": "docs",
|
|
29
|
+
"pages": "src/pagesconfig.json",
|
|
30
|
+
"theme": "doc/cbn-docs-theme"
|
|
31
|
+
}
|
|
32
|
+
}
|
package/src/tsconfig.types.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig",
|
|
3
|
-
"exclude": [],
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"declaration": true,
|
|
6
|
-
"noEmit": false,
|
|
7
|
-
"emitDeclarationOnly": true
|
|
8
|
-
}
|
|
9
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig",
|
|
3
|
+
"exclude": [],
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"noEmit": false,
|
|
7
|
+
"emitDeclarationOnly": true
|
|
8
|
+
}
|
|
9
|
+
}
|
package/src/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/** @ignore **/
|
|
2
|
-
declare let IS_PRODUCTION: boolean;
|
|
3
|
-
declare let VERSION_INFORMATION: string;
|
|
1
|
+
/** @ignore **/
|
|
2
|
+
declare let IS_PRODUCTION: boolean;
|
|
3
|
+
declare let VERSION_INFORMATION: string;
|