@colijnit/configurator 12.0.7 → 12.0.8

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.
@@ -9,7 +9,7 @@ export declare class VariationHelper {
9
9
  loadVariation(obj: THREE.Object3D, parts: any[], usePbr?: boolean): Promise<void>;
10
10
  get(id: string): VariationSettings;
11
11
  set(variations: VariationSettings): void;
12
- preloadVariations(schema: string, fileNames: string[]): void;
12
+ preloadVariations(fileNames: string[]): void;
13
13
  loadTheVariation(fileName: string): Promise<VariationSettings>;
14
14
  private _waitForVariationToLoad;
15
15
  private _getChildrenFilterByProp;
@@ -30,6 +30,7 @@ export declare class VariationSettings {
30
30
  side: string;
31
31
  transparency: string;
32
32
  transmission: string;
33
+ material: any;
33
34
  loading: boolean;
34
35
  loaded: Subject<VariationSettings>;
35
36
  }
@@ -1,4 +1,3 @@
1
- import { Material } from './material';
2
1
  export declare class Variation {
3
2
  decoId: number;
4
3
  brandId: string;
@@ -7,5 +6,5 @@ export declare class Variation {
7
6
  optionText: string;
8
7
  supplierArticleNr: string;
9
8
  materialId: string;
10
- material: Material;
9
+ material: any;
11
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/configurator",
3
- "version": "12.0.7",
3
+ "version": "12.0.8",
4
4
  "description": "iOne configurator",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -6,6 +6,8 @@ export declare class VariationUtils {
6
6
  private static GetVariationSettingsFromFile;
7
7
  private static CreateSettingsBasedOnIndex;
8
8
  private static CreateSettingsBasedOnFileName;
9
+ private static LoadMaterialFromJson;
10
+ private static LoadMaterialFromGlb;
9
11
  private static LoadFileContentFromZip;
10
12
  private static FileIsImage;
11
13
  private static GetBase64FileType;