x_ite 10.5.5 → 10.5.7

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 (49) hide show
  1. package/README.md +4 -4
  2. package/dist/assets/components/AnnotationComponent.js +2 -2
  3. package/dist/assets/components/AnnotationComponent.min.js +2 -2
  4. package/dist/assets/components/CADGeometryComponent.js +2 -2
  5. package/dist/assets/components/CADGeometryComponent.min.js +2 -2
  6. package/dist/assets/components/CubeMapTexturingComponent.js +2 -2
  7. package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
  8. package/dist/assets/components/DISComponent.js +2 -2
  9. package/dist/assets/components/DISComponent.min.js +2 -2
  10. package/dist/assets/components/EventUtilitiesComponent.js +2 -2
  11. package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
  12. package/dist/assets/components/Geometry2DComponent.js +2 -2
  13. package/dist/assets/components/Geometry2DComponent.min.js +2 -2
  14. package/dist/assets/components/GeospatialComponent.js +2 -2
  15. package/dist/assets/components/GeospatialComponent.min.js +2 -2
  16. package/dist/assets/components/HAnimComponent.js +2 -2
  17. package/dist/assets/components/HAnimComponent.min.js +2 -2
  18. package/dist/assets/components/KeyDeviceSensorComponent.js +2 -2
  19. package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
  20. package/dist/assets/components/LayoutComponent.js +2 -2
  21. package/dist/assets/components/LayoutComponent.min.js +2 -2
  22. package/dist/assets/components/NURBSComponent.js +2 -2
  23. package/dist/assets/components/NURBSComponent.min.js +2 -2
  24. package/dist/assets/components/ParticleSystemsComponent.js +2 -2
  25. package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
  26. package/dist/assets/components/PickingComponent.js +2 -2
  27. package/dist/assets/components/PickingComponent.min.js +2 -2
  28. package/dist/assets/components/RigidBodyPhysicsComponent.js +2 -2
  29. package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
  30. package/dist/assets/components/ScriptingComponent.js +2 -2
  31. package/dist/assets/components/ScriptingComponent.min.js +2 -2
  32. package/dist/assets/components/TextComponent.js +4 -4
  33. package/dist/assets/components/TextComponent.min.js +2 -2
  34. package/dist/assets/components/TextureProjectionComponent.js +2 -2
  35. package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
  36. package/dist/assets/components/Texturing3DComponent.js +10 -10
  37. package/dist/assets/components/Texturing3DComponent.min.js +2 -2
  38. package/dist/assets/components/VolumeRenderingComponent.js +2 -2
  39. package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
  40. package/dist/assets/components/X_ITEComponent.js +2 -2
  41. package/dist/assets/components/X_ITEComponent.min.js +2 -2
  42. package/dist/example.html +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.js +101 -81
  45. package/dist/x_ite.min.js +2 -2
  46. package/dist/x_ite.min.mjs +2 -2
  47. package/dist/x_ite.mjs +101 -81
  48. package/dist/x_ite.zip +0 -0
  49. package/package.json +1 -1
package/dist/x_ite.mjs CHANGED
@@ -1,10 +1,10 @@
1
- /* X_ITE v10.5.5 */
1
+ /* X_ITE v10.5.7 */
2
2
  var __webpack_modules__ = ({
3
3
 
4
- /***/ 540:
4
+ /***/ 690:
5
5
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6
6
 
7
- /* provided dependency */ var jQuery = __webpack_require__(424);
7
+ /* provided dependency */ var jQuery = __webpack_require__(58);
8
8
  /**
9
9
  * @preserve jquery.fullscreen 1.1.5
10
10
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -200,7 +200,7 @@ installFullScreenHandlers();
200
200
 
201
201
  /***/ }),
202
202
 
203
- /***/ 870:
203
+ /***/ 880:
204
204
  /***/ ((module, exports, __webpack_require__) => {
205
205
 
206
206
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -214,7 +214,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
214
214
  (function (factory) {
215
215
  if ( true ) {
216
216
  // AMD. Register as an anonymous module.
217
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(424)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
217
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(58)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
218
218
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
219
219
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
220
220
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -425,7 +425,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
425
425
 
426
426
  /***/ }),
427
427
 
428
- /***/ 424:
428
+ /***/ 58:
429
429
  /***/ (function(module, exports) {
430
430
 
431
431
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11149,7 +11149,7 @@ return jQuery;
11149
11149
 
11150
11150
  /***/ }),
11151
11151
 
11152
- /***/ 501:
11152
+ /***/ 499:
11153
11153
  /***/ ((module) => {
11154
11154
 
11155
11155
  /**
@@ -15928,7 +15928,7 @@ if (true) {
15928
15928
 
15929
15929
  /***/ }),
15930
15930
 
15931
- /***/ 988:
15931
+ /***/ 642:
15932
15932
  /***/ (function(__unused_webpack_module, exports) {
15933
15933
 
15934
15934
 
@@ -19173,7 +19173,7 @@ if (true) {
19173
19173
 
19174
19174
  /***/ }),
19175
19175
 
19176
- /***/ 587:
19176
+ /***/ 85:
19177
19177
  /***/ (function(module, exports) {
19178
19178
 
19179
19179
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20297,7 +20297,7 @@ Object .defineProperty (Namespace, "add",
20297
20297
  return module;
20298
20298
  }
20299
20299
 
20300
- const X3D = window [Symbol .for ("X_ITE.X3D-10.5.5")];
20300
+ const X3D = window [Symbol .for ("X_ITE.X3D-10.5.7")];
20301
20301
 
20302
20302
  if (X3D)
20303
20303
  X3D [name] = module;
@@ -34159,7 +34159,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34159
34159
 
34160
34160
  /* harmony default export */ const Base_X3DBaseNode = (x_ite_Namespace .add ("X3DBaseNode", X3DBaseNode_default_));
34161
34161
  ;// ./src/x_ite/Browser/Legacy.js
34162
- /* provided dependency */ var $ = __webpack_require__(424);
34162
+ /* provided dependency */ var $ = __webpack_require__(58);
34163
34163
  /*******************************************************************************
34164
34164
  *
34165
34165
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34295,7 +34295,7 @@ const Legacy_default_ = Legacy;
34295
34295
  *
34296
34296
  ******************************************************************************/
34297
34297
 
34298
- const BROWSER_VERSION_default_ = "10.5.5";
34298
+ const BROWSER_VERSION_default_ = "10.5.7";
34299
34299
  ;
34300
34300
 
34301
34301
  /* harmony default export */ const BROWSER_VERSION = (x_ite_Namespace .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
@@ -37320,7 +37320,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
37320
37320
 
37321
37321
  /* harmony default export */ const Core_X3DBindableNode = (x_ite_Namespace .add ("X3DBindableNode", X3DBindableNode_default_));
37322
37322
  ;// ./src/standard/Math/Geometry/Triangle3.js
37323
- /* provided dependency */ var libtess = __webpack_require__(501);
37323
+ /* provided dependency */ var libtess = __webpack_require__(499);
37324
37324
  /*******************************************************************************
37325
37325
  *
37326
37326
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39886,7 +39886,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39886
39886
 
39887
39887
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (x_ite_Namespace .add ("X3DProtoDeclaration", X3DProtoDeclaration_default_));
39888
39888
  ;// ./src/x_ite/Parser/X3DParser.js
39889
- /* provided dependency */ var X3DParser_$ = __webpack_require__(424);
39889
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(58);
39890
39890
  /*******************************************************************************
39891
39891
  *
39892
39892
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40141,7 +40141,7 @@ const Expressions_default_ = Expressions;
40141
40141
 
40142
40142
  /* harmony default export */ const Parser_Expressions = (x_ite_Namespace .add ("Expressions", Expressions_default_));
40143
40143
  ;// ./src/x_ite/Parser/VRMLParser.js
40144
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(424);
40144
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(58);
40145
40145
  /*******************************************************************************
40146
40146
  *
40147
40147
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42781,7 +42781,7 @@ const VRMLParser_default_ = VRMLParser;
42781
42781
 
42782
42782
  /* harmony default export */ const Parser_VRMLParser = (x_ite_Namespace .add ("VRMLParser", VRMLParser_default_));
42783
42783
  ;// ./src/x_ite/Parser/XMLParser.js
42784
- /* provided dependency */ var XMLParser_$ = __webpack_require__(424);
42784
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(58);
42785
42785
  /*******************************************************************************
42786
42786
  *
42787
42787
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -44959,7 +44959,7 @@ const URLs_default_ = URLs;
44959
44959
 
44960
44960
  /* harmony default export */ const Networking_URLs = (x_ite_Namespace .add ("URLs", URLs_default_));
44961
44961
  ;// ./src/x_ite/Parser/GLTF2Parser.js
44962
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(424);
44962
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(58);
44963
44963
  /*******************************************************************************
44964
44964
  *
44965
44965
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -48610,7 +48610,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
48610
48610
 
48611
48611
  /* harmony default export */ const Parser_GLTF2Parser = (x_ite_Namespace .add ("GLTF2Parser", GLTF2Parser_default_));
48612
48612
  ;// ./src/x_ite/Parser/GLB2Parser.js
48613
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(424);
48613
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(58);
48614
48614
  /*******************************************************************************
48615
48615
  *
48616
48616
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -48761,7 +48761,7 @@ const GLB2Parser_default_ = GLB2Parser;
48761
48761
 
48762
48762
  /* harmony default export */ const Parser_GLB2Parser = (x_ite_Namespace .add ("GLB2Parser", GLB2Parser_default_));
48763
48763
  ;// ./src/x_ite/Parser/OBJParser.js
48764
- /* provided dependency */ var OBJParser_$ = __webpack_require__(424);
48764
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(58);
48765
48765
  /*******************************************************************************
48766
48766
  *
48767
48767
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -52122,8 +52122,8 @@ const MatrixStack_default_ = MatrixStack;
52122
52122
 
52123
52123
  /* harmony default export */ const Utility_MatrixStack = (x_ite_Namespace .add ("MatrixStack", MatrixStack_default_));
52124
52124
  ;// ./src/x_ite/Parser/SVGParser.js
52125
- /* provided dependency */ var SVGParser_$ = __webpack_require__(424);
52126
- /* provided dependency */ var SVGParser_libtess = __webpack_require__(501);
52125
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(58);
52126
+ /* provided dependency */ var SVGParser_libtess = __webpack_require__(499);
52127
52127
  /*******************************************************************************
52128
52128
  *
52129
52129
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -54902,7 +54902,7 @@ const SVGParser_default_ = SVGParser;
54902
54902
 
54903
54903
  /* harmony default export */ const Parser_SVGParser = (x_ite_Namespace .add ("SVGParser", SVGParser_default_));
54904
54904
  ;// ./src/x_ite/Parser/GoldenGate.js
54905
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(424);
54905
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(58);
54906
54906
  /*******************************************************************************
54907
54907
  *
54908
54908
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62916,7 +62916,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62916
62916
 
62917
62917
  /* harmony default export */ const Texturing_X3DTexture2DNode = (x_ite_Namespace .add ("X3DTexture2DNode", X3DTexture2DNode_default_));
62918
62918
  ;// ./src/x_ite/Components/Texturing/ImageTexture.js
62919
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(424);
62919
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(58);
62920
62920
  /*******************************************************************************
62921
62921
  *
62922
62922
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66300,7 +66300,7 @@ const X3DWorld_default_ = X3DWorld;
66300
66300
 
66301
66301
  /* harmony default export */ const Execution_X3DWorld = (x_ite_Namespace .add ("X3DWorld", X3DWorld_default_));
66302
66302
  ;// ./src/x_ite/InputOutput/FileLoader.js
66303
- /* provided dependency */ var FileLoader_$ = __webpack_require__(424);
66303
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(58);
66304
66304
  /*******************************************************************************
66305
66305
  *
66306
66306
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -67264,7 +67264,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
67264
67264
 
67265
67265
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (x_ite_Namespace .add ("ProtoDeclarationArray", ProtoDeclarationArray_default_));
67266
67266
  ;// ./src/x_ite/Routing/X3DRoute.js
67267
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(424);
67267
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(58);
67268
67268
  /*******************************************************************************
67269
67269
  *
67270
67270
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -74902,20 +74902,16 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
74902
74902
  this ._set_scale .addFieldInterest (this ._scale);
74903
74903
  this ._set_spine .addFieldInterest (this ._spine);
74904
74904
  },
74905
- getClosedOrientation ()
74905
+ getClosed (array)
74906
74906
  {
74907
- const orientation = this ._orientation;
74908
-
74909
- if (orientation .length)
74910
- {
74911
- const
74912
- firstOrientation = orientation [0] .getValue (),
74913
- lastOrientation = orientation [orientation .length - 1] .getValue ();
74907
+ if (!array .length)
74908
+ return true;
74914
74909
 
74915
- return firstOrientation .equals (lastOrientation);
74916
- }
74910
+ const
74911
+ first = array .at (0) .getValue (),
74912
+ last = array .at (-1) .getValue ();
74917
74913
 
74918
- return true;
74914
+ return first .equals (last);
74919
74915
  },
74920
74916
  createPoints: (() =>
74921
74917
  {
@@ -74981,11 +74977,12 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
74981
74977
  // calculate SCP rotations
74982
74978
 
74983
74979
  const
74984
- spine = this ._spine,
74985
- numSpines = spine .length,
74986
- firstSpine = spine [0] .getValue (),
74987
- lastSpine = spine [spine .length - 1] .getValue (),
74988
- closedSpine = firstSpine .equals (lastSpine) && this .getClosedOrientation ();
74980
+ spine = this ._spine,
74981
+ numSpines = spine .length;
74982
+
74983
+ const closedSpine = this .getClosed (spine)
74984
+ && this .getClosed (this ._orientation)
74985
+ && this .getClosed (this ._scale);
74989
74986
 
74990
74987
  // Extend or shrink static rotations array:
74991
74988
  for (let i = rotations .length; i < numSpines; ++ i)
@@ -75001,7 +74998,7 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
75001
74998
  // SCP for the first point:
75002
74999
  if (closedSpine)
75003
75000
  {
75004
- const s = firstSpine;
75001
+ const s = spine .at (0) .getValue ();
75005
75002
 
75006
75003
  // Find first defined Y-axis.
75007
75004
  for (let i = 1, length = numSpines - 2; i < length; ++ i)
@@ -75060,7 +75057,7 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
75060
75057
  SCPxAxis .assign (SCPyAxis) .cross (SCPzAxis);
75061
75058
 
75062
75059
  // Get first spine
75063
- const s = firstSpine;
75060
+ const s = spine .at (0) .getValue ();
75064
75061
 
75065
75062
  rotations [0] .set (SCPxAxis .x, SCPxAxis .y, SCPxAxis .z, 0,
75066
75063
  SCPyAxis .x, SCPyAxis .y, SCPyAxis .z, 0,
@@ -75116,7 +75113,7 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
75116
75113
  }
75117
75114
  else
75118
75115
  {
75119
- const s = lastSpine;
75116
+ const s = spine .at (-1) .getValue ();
75120
75117
 
75121
75118
  SCPyAxis .assign (s) .subtract (spine [numSpines - 2] .getValue ()) .normalize ();
75122
75119
 
@@ -75177,10 +75174,9 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
75177
75174
 
75178
75175
  function INDEX (n, k) { return n * crossSectionSize + k; }
75179
75176
 
75180
- const
75181
- firstSpine = spine [0] .getValue (),
75182
- lastSpine = spine [numSpines - 1] .getValue (),
75183
- closedSpine = firstSpine .equals (lastSpine) && this .getClosedOrientation ();
75177
+ const closedSpine = this .getClosed (spine)
75178
+ && this .getClosed (this ._orientation)
75179
+ && this .getClosed (this ._scale);
75184
75180
 
75185
75181
  const
75186
75182
  firstCrossSection = crossSection [0] .getValue (),
@@ -90944,7 +90940,7 @@ mediump samplerCube textureCube;
90944
90940
 
90945
90941
  /* harmony default export */ const MaterialTextures = (x_ite_Namespace .add ("MaterialTextures", MaterialTextures_default_));
90946
90942
  ;// ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
90947
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(424);
90943
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(58);
90948
90944
  /*******************************************************************************
90949
90945
  *
90950
90946
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -95769,7 +95765,7 @@ diffuseTransmissionThickness=materialInfo.thickness*(length(vec3(u_ModelMatrix[0
95769
95765
  #if defined(X3D_CLEARCOAT_MATERIAL_EXT)
95770
95766
  clearcoatFactor=materialInfo.clearcoatFactor;clearcoatFresnel=F_Schlick(materialInfo.clearcoatF0,materialInfo.clearcoatF90,clamp(dot(materialInfo.clearcoatNormal,v),0.0,1.0));
95771
95767
  #endif
95772
- #if defined(X3D_USE_IBL)||defined(X3D_TRANSMISSION_MATERIAL_EXT)
95768
+ #if defined(X3D_USE_IBL)
95773
95769
  f_diffuse=getDiffuseLight(n)*baseColor.rgb;
95774
95770
  #if defined(X3D_DIFFUSE_TRANSMISSION_MATERIAL_EXT)
95775
95771
  vec3 diffuseTransmissionIBL=getDiffuseLight(-n)*materialInfo.diffuseTransmissionColorFactor;
@@ -96220,7 +96216,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
96220
96216
 
96221
96217
  /* harmony default export */ const Shaders_ShaderCompiler = (x_ite_Namespace .add ("ShaderCompiler", ShaderCompiler_default_));
96222
96218
  ;// ./src/x_ite/Components/Shaders/ShaderPart.js
96223
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(424);
96219
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(58);
96224
96220
  /*******************************************************************************
96225
96221
  *
96226
96222
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96818,7 +96814,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
96818
96814
 
96819
96815
  /* harmony default export */ const Shape_X3DAppearanceNode = (x_ite_Namespace .add ("X3DAppearanceNode", X3DAppearanceNode_default_));
96820
96816
  ;// ./src/x_ite/Components/Shape/Appearance.js
96821
- /* provided dependency */ var Appearance_$ = __webpack_require__(424);
96817
+ /* provided dependency */ var Appearance_$ = __webpack_require__(58);
96822
96818
  /*******************************************************************************
96823
96819
  *
96824
96820
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105041,8 +105037,8 @@ const GifMedia_default_ = GifMedia;
105041
105037
 
105042
105038
  /* harmony default export */ const Texturing_GifMedia = (x_ite_Namespace .add ("GifMedia", GifMedia_default_));
105043
105039
  ;// ./src/x_ite/Components/Texturing/MovieTexture.js
105044
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(424);
105045
- /* provided dependency */ var SuperGif = __webpack_require__(587);
105040
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(58);
105041
+ /* provided dependency */ var SuperGif = __webpack_require__(85);
105046
105042
  /*******************************************************************************
105047
105043
  *
105048
105044
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107510,7 +107506,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
107510
107506
 
107511
107507
  /* harmony default export */ const gettext = (x_ite_Namespace .add ("gettext", gettext_default_));
107512
107508
  ;// ./src/x_ite/Browser/Core/BrowserTimings.js
107513
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(424);
107509
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(58);
107514
107510
  /*******************************************************************************
107515
107511
  *
107516
107512
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108140,7 +108136,7 @@ const TextCompression_default_ = TextCompression;
108140
108136
 
108141
108137
  /* harmony default export */ const Core_TextCompression = (x_ite_Namespace .add ("TextCompression", TextCompression_default_));
108142
108138
  ;// ./src/x_ite/Browser/Core/BrowserOptions.js
108143
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(424);
108139
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(58);
108144
108140
  /*******************************************************************************
108145
108141
  *
108146
108142
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108787,7 +108783,7 @@ const RenderingProperties_default_ = RenderingProperties;
108787
108783
 
108788
108784
  /* harmony default export */ const Core_RenderingProperties = (x_ite_Namespace .add ("RenderingProperties", RenderingProperties_default_));
108789
108785
  ;// ./src/x_ite/Browser/Core/Notification.js
108790
- /* provided dependency */ var Notification_$ = __webpack_require__(424);
108786
+ /* provided dependency */ var Notification_$ = __webpack_require__(58);
108791
108787
  /*******************************************************************************
108792
108788
  *
108793
108789
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108909,8 +108905,8 @@ const Notification_default_ = Notification;
108909
108905
 
108910
108906
  /* harmony default export */ const Core_Notification = (x_ite_Namespace .add ("Notification", Notification_default_));
108911
108907
  ;// ./src/x_ite/Browser/Core/ContextMenu.js
108912
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(540);
108913
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(424);
108908
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(690);
108909
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(58);
108914
108910
  /*******************************************************************************
108915
108911
  *
108916
108912
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -111632,7 +111628,7 @@ const DataStorage_default_ = DataStorage;
111632
111628
 
111633
111629
  /* harmony default export */ const Utility_DataStorage = (x_ite_Namespace .add ("DataStorage", DataStorage_default_));
111634
111630
  ;// ./src/x_ite/Browser/Core/X3DCoreContext.js
111635
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(424);
111631
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(58);
111636
111632
  /*******************************************************************************
111637
111633
  *
111638
111634
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114243,8 +114239,8 @@ const X3DViewer_default_ = X3DViewer;
114243
114239
 
114244
114240
  /* harmony default export */ const Navigation_X3DViewer = (x_ite_Namespace .add ("X3DViewer", X3DViewer_default_));
114245
114241
  ;// ./src/x_ite/Browser/Navigation/ExamineViewer.js
114246
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(870);
114247
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(424);
114242
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(880);
114243
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(58);
114248
114244
  /*******************************************************************************
114249
114245
  *
114250
114246
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115159,8 +115155,8 @@ const ExamineViewer_default_ = ExamineViewer;
115159
115155
 
115160
115156
  /* harmony default export */ const Navigation_ExamineViewer = (x_ite_Namespace .add ("ExamineViewer", ExamineViewer_default_));
115161
115157
  ;// ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
115162
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(870);
115163
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(424);
115158
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(880);
115159
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(58);
115164
115160
  /*******************************************************************************
115165
115161
  *
115166
115162
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116175,8 +116171,8 @@ const FlyViewer_default_ = FlyViewer;
116175
116171
 
116176
116172
  /* harmony default export */ const Navigation_FlyViewer = (x_ite_Namespace .add ("FlyViewer", FlyViewer_default_));
116177
116173
  ;// ./src/x_ite/Browser/Navigation/PlaneViewer.js
116178
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(870);
116179
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(424);
116174
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(880);
116175
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(58);
116180
116176
  /*******************************************************************************
116181
116177
  *
116182
116178
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116505,8 +116501,8 @@ const NoneViewer_default_ = NoneViewer;
116505
116501
 
116506
116502
  /* harmony default export */ const Navigation_NoneViewer = (x_ite_Namespace .add ("NoneViewer", NoneViewer_default_));
116507
116503
  ;// ./src/x_ite/Browser/Navigation/LookAtViewer.js
116508
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(870);
116509
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(424);
116504
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(880);
116505
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(58);
116510
116506
  /*******************************************************************************
116511
116507
  *
116512
116508
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117651,8 +117647,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
117651
117647
 
117652
117648
  /* harmony default export */ const Picking_X3DPickingContext = (x_ite_Namespace .add ("X3DPickingContext", X3DPickingContext_default_));
117653
117649
  ;// ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
117654
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(870);
117655
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(424);
117650
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(880);
117651
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(58);
117656
117652
  /*******************************************************************************
117657
117653
  *
117658
117654
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119099,7 +119095,7 @@ const Lock_default_ = Lock;
119099
119095
 
119100
119096
  /* harmony default export */ const Utility_Lock = (x_ite_Namespace .add ("Lock", Lock_default_));
119101
119097
  ;// ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
119102
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(424);
119098
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(58);
119103
119099
  /*******************************************************************************
119104
119100
  *
119105
119101
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119551,7 +119547,7 @@ Object .assign (X3DRenderingContext .prototype,
119551
119547
  if (!mode .match (/^(?:immersive-vr|immersive-ar)$/))
119552
119548
  return false;
119553
119549
 
119554
- return await navigator .xr .isSessionSupported (mode);
119550
+ return await X3DRenderingContext_$.try (() => navigator .xr .isSessionSupported (mode)) ?? false;
119555
119551
  },
119556
119552
  updateXRButton ()
119557
119553
  {
@@ -120413,7 +120409,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
120413
120409
 
120414
120410
  /* harmony default export */ const Sound_X3DSoundContext = (x_ite_Namespace .add ("X3DSoundContext", X3DSoundContext_default_));
120415
120411
  ;// ./src/x_ite/Browser/Texturing/KTXDecoder.js
120416
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(424);
120412
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(58);
120417
120413
  const KTXDecoder_default_ = class KTXDecoder
120418
120414
  {
120419
120415
  constructor (gl, externalKtxlib, scriptDir)
@@ -121992,7 +121988,7 @@ const Components_default_ = Components;
121992
121988
 
121993
121989
  /* harmony default export */ const x_ite_Components = (x_ite_Namespace .add ("Components", Components_default_));
121994
121990
  ;// ./src/x_ite/Browser/DOMIntegration.js
121995
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(424);
121991
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(58);
121996
121992
  /*******************************************************************************
121997
121993
  * MIT License
121998
121994
  *
@@ -123258,7 +123254,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
123258
123254
 
123259
123255
  /* harmony default export */ const FieldTypes = (x_ite_Namespace .add ("FieldTypes", FieldTypes_default_));
123260
123256
  ;// ./src/x_ite/Browser/X3DBrowser.js
123261
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(424);
123257
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(58);
123262
123258
  /*******************************************************************************
123263
123259
  *
123264
123260
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124307,6 +124303,30 @@ Object .defineProperties (X3DBrowser .prototype,
124307
124303
  },
124308
124304
  enumerable: true,
124309
124305
  },
124306
+ activeLayer:
124307
+ {
124308
+ get ()
124309
+ {
124310
+ return this ._activeLayer .valueOf ();
124311
+ },
124312
+ enumerable: true,
124313
+ },
124314
+ activeNavigationInfo:
124315
+ {
124316
+ get ()
124317
+ {
124318
+ return this ._activeNavigationInfo .valueOf ();
124319
+ },
124320
+ enumerable: true,
124321
+ },
124322
+ activeViewpoint:
124323
+ {
124324
+ get ()
124325
+ {
124326
+ return this ._activeViewpoint .valueOf ();
124327
+ },
124328
+ enumerable: true,
124329
+ },
124310
124330
  });
124311
124331
 
124312
124332
  Object .defineProperties (X3DBrowser,
@@ -124325,7 +124345,7 @@ const X3DBrowser_default_ = X3DBrowser;
124325
124345
 
124326
124346
  /* harmony default export */ const Browser_X3DBrowser = (x_ite_Namespace .add ("X3DBrowser", X3DBrowser_default_));
124327
124347
  ;// ./src/x_ite/X3DCanvasElement.js
124328
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(424);
124348
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(58);
124329
124349
  /*******************************************************************************
124330
124350
  *
124331
124351
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124592,8 +124612,8 @@ const QuickSort_default_ = QuickSort;
124592
124612
 
124593
124613
  /* harmony default export */ const Algorithms_QuickSort = (x_ite_Namespace .add ("QuickSort", QuickSort_default_));
124594
124614
  ;// ./src/lib/jquery.js
124595
- /* provided dependency */ var jquery_$ = __webpack_require__(424);
124596
- /* provided dependency */ var pako = __webpack_require__(988);
124615
+ /* provided dependency */ var jquery_$ = __webpack_require__(58);
124616
+ /* provided dependency */ var pako = __webpack_require__(642);
124597
124617
  Object .assign (jquery_$,
124598
124618
  {
124599
124619
  decodeText (input)
@@ -124670,13 +124690,13 @@ const jquery_default_ = jquery_$;
124670
124690
 
124671
124691
  /* harmony default export */ const jquery = (x_ite_Namespace .add ("jquery", jquery_default_));
124672
124692
  ;// ./src/lib/libtess.js
124673
- /* provided dependency */ var libtess_libtess = __webpack_require__(501);
124693
+ /* provided dependency */ var libtess_libtess = __webpack_require__(499);
124674
124694
  const libtess_default_ = libtess_libtess;
124675
124695
  ;
124676
124696
 
124677
124697
  /* harmony default export */ const lib_libtess = (x_ite_Namespace .add ("libtess", libtess_default_));
124678
124698
  ;// ./src/x_ite/X3D.js
124679
- /* provided dependency */ var X3D_$ = __webpack_require__(424);
124699
+ /* provided dependency */ var X3D_$ = __webpack_require__(58);
124680
124700
  /*******************************************************************************
124681
124701
  *
124682
124702
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124980,7 +125000,7 @@ x_ite_Namespace, x_ite_Namespace .Fields,
124980
125000
 
124981
125001
  // Assign X3D to global namespace.
124982
125002
 
124983
- window [Symbol .for ("X_ITE.X3D-10.5.5")] = x_ite_X3D;
125003
+ window [Symbol .for ("X_ITE.X3D-10.5.7")] = x_ite_X3D;
124984
125004
 
124985
125005
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
124986
125006
 
package/dist/x_ite.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x_ite",
3
- "version": "10.5.5",
3
+ "version": "10.5.7",
4
4
  "description": "X_ITE X3D Browser, view and manipulate X3D, glTF, VRML and other 3D sources in HTML.",
5
5
  "main": "dist/x_ite.js",
6
6
  "module": "dist/x_ite.mjs",