@spiffcommerce/preview 3.6.2-rc.6 → 3.6.2-rc.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.
Files changed (45) hide show
  1. package/dist/_tslib.esm.js +33 -0
  2. package/dist/animation.esm.js +1364 -0
  3. package/dist/assetCache.esm.js +6 -0
  4. package/dist/assetCache.esm2.js +825 -0
  5. package/dist/blurPostProcess.esm.js +327 -0
  6. package/dist/bumpVertex.esm.js +497 -0
  7. package/dist/compatibilityOptions.esm.js +68 -0
  8. package/dist/configuration.esm.js +121 -0
  9. package/dist/core.esm.js +8135 -0
  10. package/dist/dynamicTexture.esm.js +105 -0
  11. package/dist/dynamicTexture.esm2.js +238 -0
  12. package/dist/easing.esm.js +130 -0
  13. package/dist/effectFallbacks.esm.js +378 -0
  14. package/dist/engine.esm.js +25504 -0
  15. package/dist/glbLoaderExtensions.esm.js +690 -0
  16. package/dist/glowLayer.esm.js +1621 -0
  17. package/dist/glowLayerManager.esm.js +50 -0
  18. package/dist/guid.esm.js +21 -0
  19. package/dist/hdrFilteringFunctions.esm.js +816 -0
  20. package/dist/helperFunctions.esm.js +5145 -0
  21. package/dist/index.esm.js +38 -79096
  22. package/dist/material.esm.js +115 -0
  23. package/dist/material.esm2.js +5245 -0
  24. package/dist/math.axis.esm.js +35 -0
  25. package/dist/math.color.esm.js +1661 -0
  26. package/dist/math.path.esm.js +15 -0
  27. package/dist/math.size.esm.js +137 -0
  28. package/dist/mesh.esm.js +11170 -0
  29. package/dist/modelContainer.esm.js +1895 -0
  30. package/dist/node.esm.js +795 -0
  31. package/dist/pbrBRDFFunctions.esm.js +122 -2
  32. package/dist/pbrMaterial.esm.js +8747 -0
  33. package/dist/productAnimations.esm.js +182 -0
  34. package/dist/productCamera.esm.js +14 -0
  35. package/dist/productCamera.esm2.js +3870 -0
  36. package/dist/renderConstants.esm.js +116 -0
  37. package/dist/renderingPipeline.esm.js +18 -0
  38. package/dist/renderingPipeline.esm2.js +3595 -0
  39. package/dist/sceneLoaderFlags.esm.js +51 -0
  40. package/dist/types.esm.js +30 -0
  41. package/dist/variants.esm.js +16 -0
  42. package/dist/variants.esm2.js +3097 -0
  43. package/dist/webRequest.esm.js +7777 -0
  44. package/package.json +6 -4
  45. package/dist/index.umd.js +0 -10010
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Class used to represent data loading progression
3
+ */
4
+ class SceneLoaderFlags {
5
+ /**
6
+ * Gets or sets a boolean indicating if entire scene must be loaded even if scene contains incremental data
7
+ */
8
+ static get ForceFullSceneLoadingForIncremental() {
9
+ return SceneLoaderFlags._ForceFullSceneLoadingForIncremental;
10
+ }
11
+ static set ForceFullSceneLoadingForIncremental(value) {
12
+ SceneLoaderFlags._ForceFullSceneLoadingForIncremental = value;
13
+ }
14
+ /**
15
+ * Gets or sets a boolean indicating if loading screen must be displayed while loading a scene
16
+ */
17
+ static get ShowLoadingScreen() {
18
+ return SceneLoaderFlags._ShowLoadingScreen;
19
+ }
20
+ static set ShowLoadingScreen(value) {
21
+ SceneLoaderFlags._ShowLoadingScreen = value;
22
+ }
23
+ /**
24
+ * Defines the current logging level (while loading the scene)
25
+ * @ignorenaming
26
+ */
27
+ // eslint-disable-next-line @typescript-eslint/naming-convention
28
+ static get loggingLevel() {
29
+ return SceneLoaderFlags._LoggingLevel;
30
+ }
31
+ // eslint-disable-next-line @typescript-eslint/naming-convention
32
+ static set loggingLevel(value) {
33
+ SceneLoaderFlags._LoggingLevel = value;
34
+ }
35
+ /**
36
+ * Gets or set a boolean indicating if matrix weights must be cleaned upon loading
37
+ */
38
+ static get CleanBoneMatrixWeights() {
39
+ return SceneLoaderFlags._CleanBoneMatrixWeights;
40
+ }
41
+ static set CleanBoneMatrixWeights(value) {
42
+ SceneLoaderFlags._CleanBoneMatrixWeights = value;
43
+ }
44
+ }
45
+ // Flags
46
+ SceneLoaderFlags._ForceFullSceneLoadingForIncremental = false;
47
+ SceneLoaderFlags._ShowLoadingScreen = true;
48
+ SceneLoaderFlags._CleanBoneMatrixWeights = false;
49
+ SceneLoaderFlags._LoggingLevel = 0;
50
+
51
+ export { SceneLoaderFlags as S };
@@ -0,0 +1,30 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ /**
3
+ * Defines the different behaviors supported by the camera system
4
+ * for control when viewing a product.
5
+ */
6
+ var ProductCameraRig;
7
+ (function (ProductCameraRig) {
8
+ ProductCameraRig[ProductCameraRig["Orbit"] = 0] = "Orbit";
9
+ ProductCameraRig[ProductCameraRig["Pan"] = 1] = "Pan";
10
+ })(ProductCameraRig || (ProductCameraRig = {}));
11
+ /**
12
+ * Used to specify the behavior of a material effect such as clearcoat, sheen and translucency.
13
+ */
14
+ var MaterialEffectMode;
15
+ (function (MaterialEffectMode) {
16
+ /**
17
+ * When a material variant effect specifies 'None' the effect doesn't change in any way. This is the default behavior.
18
+ */
19
+ MaterialEffectMode["None"] = "None";
20
+ /**
21
+ * When a material variant effect specifies 'RemoveWhenSelected' the effect is removed.
22
+ */
23
+ MaterialEffectMode["RemoveWhenSelected"] = "RemoveWhenSelected";
24
+ /**
25
+ * When a material variant effect specifies 'ApplyWhenSelected' the effect is enabled.
26
+ */
27
+ MaterialEffectMode["ApplyWhenSelected"] = "ApplyWhenSelected";
28
+ })(MaterialEffectMode || (MaterialEffectMode = {}));
29
+
30
+ export { MaterialEffectMode, ProductCameraRig };
@@ -0,0 +1,16 @@
1
+ import './_tslib.esm.js';
2
+ export { V as default, g as getAllMaterialsForInstance } from './variants.esm2.js';
3
+ import './assetCache.esm2.js';
4
+ import './material.esm.js';
5
+ import './engine.esm.js';
6
+ import './webRequest.esm.js';
7
+ import './math.color.esm.js';
8
+ import './helperFunctions.esm.js';
9
+ import './math.size.esm.js';
10
+ import './compatibilityOptions.esm.js';
11
+ import './hdrFilteringFunctions.esm.js';
12
+ import './pbrBRDFFunctions.esm.js';
13
+ import './math.axis.esm.js';
14
+ import './math.path.esm.js';
15
+ import './sceneLoaderFlags.esm.js';
16
+ import './types.esm.js';