@colijnit/configurator 12.0.17 → 256.1.0
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/app/builder.d.ts +8 -8
- package/app/services/configurator.service.d.ts +5 -5
- package/bundles/colijnit-configurator.umd.js +36 -36
- package/bundles/colijnit-configurator.umd.js.map +1 -1
- package/esm2015/app/builder.js +21 -23
- package/esm2015/app/services/configurator.service.js +1 -1
- package/esm2015/app/services/image-cache.service.js +1 -1
- package/esm2015/helper/variation-helper.js +18 -18
- package/esm2015/model/material.js +3 -3
- package/esm2015/model/variation-settings.js +1 -1
- package/esm2015/utils/asset.utils.js +4 -5
- package/esm2015/utils/variation-utils.js +8 -8
- package/fesm2015/colijnit-configurator.js +30 -32
- package/fesm2015/colijnit-configurator.js.map +1 -1
- package/helper/variation-helper.d.ts +3 -3
- package/model/material.d.ts +17 -17
- package/model/variation-settings.d.ts +0 -1
- package/package.json +6 -3
- package/utils/variation-utils.d.ts +1 -1
- package/app/services/locator.service.d.ts +0 -4
- package/esm2015/app/services/locator.service.js +0 -8
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VariationSettings } from "../model/variation-settings";
|
|
2
|
-
import
|
|
2
|
+
import { Object3D } from 'three';
|
|
3
3
|
export declare class VariationHelper {
|
|
4
4
|
assetPath: string;
|
|
5
5
|
private _variations;
|
|
6
6
|
private _lastKnownVariations;
|
|
7
7
|
clearCache(): void;
|
|
8
|
-
loadPart(obj:
|
|
9
|
-
loadVariation(obj:
|
|
8
|
+
loadPart(obj: Object3D, parts: any[], usePbr?: boolean): Promise<void>;
|
|
9
|
+
loadVariation(obj: Object3D, parts: any[], usePbr?: boolean): Promise<void>;
|
|
10
10
|
get(id: string): VariationSettings;
|
|
11
11
|
set(variations: VariationSettings): void;
|
|
12
12
|
preloadVariations(fileNames: string[]): void;
|
package/model/material.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Color, Texture } from 'three';
|
|
2
2
|
export declare class Material {
|
|
3
3
|
name: string;
|
|
4
4
|
schema: string;
|
|
5
|
-
specular:
|
|
5
|
+
specular: Color;
|
|
6
6
|
shininess: number;
|
|
7
|
-
normal:
|
|
8
|
-
texture:
|
|
9
|
-
ao:
|
|
10
|
-
metalness:
|
|
11
|
-
roughness:
|
|
7
|
+
normal: Texture;
|
|
8
|
+
texture: Texture;
|
|
9
|
+
ao: Texture;
|
|
10
|
+
metalness: Texture;
|
|
11
|
+
roughness: Texture;
|
|
12
12
|
repeatX: number;
|
|
13
13
|
repeatY: number;
|
|
14
14
|
loaded: boolean;
|
|
15
15
|
metalnessValue: number;
|
|
16
16
|
roughnessValue: number;
|
|
17
|
-
displacement:
|
|
17
|
+
displacement: Texture;
|
|
18
18
|
displacementValue: number;
|
|
19
19
|
sheen: number;
|
|
20
|
-
sheenColor:
|
|
21
|
-
sheenColorMap:
|
|
20
|
+
sheenColor: Color | string | number;
|
|
21
|
+
sheenColorMap: Texture | null;
|
|
22
22
|
sheenRoughness: number;
|
|
23
|
-
sheenRoughnessMap:
|
|
24
|
-
emissive:
|
|
25
|
-
emissiveValue:
|
|
23
|
+
sheenRoughnessMap: Texture | null;
|
|
24
|
+
emissive: Texture;
|
|
25
|
+
emissiveValue: Color | string | number;
|
|
26
26
|
emissiveIntensityValue: number;
|
|
27
|
-
envMap:
|
|
27
|
+
envMap: Texture;
|
|
28
28
|
envMapIntensity: number;
|
|
29
29
|
opacity: number;
|
|
30
30
|
transparent: boolean;
|
|
@@ -34,7 +34,7 @@ export declare class Material {
|
|
|
34
34
|
transmission: number;
|
|
35
35
|
thickness: number;
|
|
36
36
|
specularIntensity: number;
|
|
37
|
-
transmissionMap:
|
|
38
|
-
clearcoatMap:
|
|
39
|
-
clearcoatRoughnessMap:
|
|
37
|
+
transmissionMap: Texture | null;
|
|
38
|
+
clearcoatMap: Texture | null;
|
|
39
|
+
clearcoatRoughnessMap: Texture | null;
|
|
40
40
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/configurator",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "iOne configurator",
|
|
3
|
+
"version": "256.1.0",
|
|
4
|
+
"description": "iOne configurator specific for version 2.5.6.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": "npm/npm",
|
|
@@ -16,11 +16,14 @@
|
|
|
16
16
|
"@angular/forms": "^12.2.15",
|
|
17
17
|
"@angular/platform-browser": "~12.2.15",
|
|
18
18
|
"@angular/platform-browser-dynamic": "~12.2.15",
|
|
19
|
-
"@colijnit/configuratorapi": "1.0
|
|
19
|
+
"@colijnit/configuratorapi": "256.1.0",
|
|
20
|
+
"@colijnit/ioneconnector": "256.1.0",
|
|
21
|
+
"@types/three": "^0.166.0",
|
|
20
22
|
"axios": "0.27.2",
|
|
21
23
|
"core-js": "^3.22.8",
|
|
22
24
|
"jszip": "3.6.0",
|
|
23
25
|
"rxjs": "6.6.3",
|
|
26
|
+
"three": "0.166.1",
|
|
24
27
|
"ts-node": "^9.1.1",
|
|
25
28
|
"tslib": "^2.3.1",
|
|
26
29
|
"zone.js": "~0.11.4"
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
export class ServiceLocator {
|
|
3
|
-
}
|
|
4
|
-
ServiceLocator.injector = undefined;
|
|
5
|
-
ServiceLocator.decorators = [
|
|
6
|
-
{ type: Injectable }
|
|
7
|
-
];
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYXRvci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2FwcC9zZXJ2aWNlcy9sb2NhdG9yLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFVBQVUsRUFBVyxNQUFNLGVBQWUsQ0FBQztBQUduRCxNQUFNLE9BQU8sY0FBYzs7QUFDbEIsdUJBQVEsR0FBYSxTQUFTLENBQUM7O1lBRnZDLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0luamVjdGFibGUsIEluamVjdG9yfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIFNlcnZpY2VMb2NhdG9yIHtcbiAgc3RhdGljIGluamVjdG9yOiBJbmplY3RvciA9IHVuZGVmaW5lZDtcbn1cbiJdfQ==
|