@colijnit/configurator 259.1.1 → 259.1.3

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.
@@ -1,8 +1,8 @@
1
1
  import { VariationSettings } from '../model/variation-settings';
2
2
  import { Object3D } from 'three';
3
- export declare class VariationHelper {
3
+ import { BaseUtils } from '../utils/base-utils';
4
+ export declare class VariationHelper extends BaseUtils {
4
5
  assetPath: string;
5
- debug: Function;
6
6
  private _variations;
7
7
  private _lastKnownVariations;
8
8
  clearCache(): void;
@@ -21,5 +21,4 @@ export declare class VariationHelper {
21
21
  private _setLastKnownVariations;
22
22
  private _getLastKnownVariations;
23
23
  private _createValidColor;
24
- private _log;
25
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/configurator",
3
- "version": "259.1.1",
3
+ "version": "259.1.3",
4
4
  "description": "iOne configurator specific for version 259",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -18,30 +18,18 @@
18
18
  "@angular/platform-browser-dynamic": "~12.2.15",
19
19
  "@colijnit/configuratorapi": "259.1.0",
20
20
  "@colijnit/ioneconnector": "259.1.1",
21
- "@types/three": "^0.178.1",
21
+ "@types/three": "0.178.1",
22
22
  "axios": "0.27.2",
23
23
  "core-js": "^3.22.8",
24
24
  "jszip": "3.6.0",
25
25
  "rxjs": "6.6.3",
26
- "stylus": "0.0.1-security",
27
- "three": ">=0.166.x",
26
+ "three": "0.178.0",
28
27
  "ts-node": "^10.8.1",
29
28
  "tslib": "^2.3.1",
30
29
  "zone.js": "~0.11.4"
31
30
  },
32
31
  "peerDependencies": {
33
- "three": ">=0.166.x"
34
- },
35
- "overrides": {
36
- "@angular-devkit/build-angular": {
37
- "stylus": "0.0.1-security"
38
- },
39
- "stylus-loader": {
40
- "stylus": "0.0.1-security"
41
- },
42
- "ng-packagr": {
43
- "stylus": "0.0.1-security"
44
- }
32
+ "three": "0.178.0"
45
33
  },
46
34
  "main": "bundles/colijnit-configurator.umd.js",
47
35
  "module": "fesm2015/colijnit-configurator.js",
@@ -0,0 +1,4 @@
1
+ export declare class BaseUtils {
2
+ debug: Function;
3
+ protected log(message: string): void;
4
+ }
@@ -1,6 +1,7 @@
1
1
  import * as THREE from 'three';
2
2
  import { Material } from '../model/material';
3
- export declare class ImageUtils {
3
+ import { BaseUtils } from './base-utils';
4
+ export declare class ImageUtils extends BaseUtils {
4
5
  static textures: Map<string, THREE.Texture>;
5
6
  static CreateTextureFromBase64(id: string, base64: string, material: Material, defaultFlip?: boolean): Promise<THREE.Texture>;
6
7
  static getDocBodyWithMimeTypeDefinition(fileName: string, documentBody: string): string;