x_ite 9.4.0 → 9.4.1

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 (47) hide show
  1. package/dist/assets/components/Annotation.js +13 -13
  2. package/dist/assets/components/Annotation.min.js +1 -1
  3. package/dist/assets/components/CADGeometry.js +14 -14
  4. package/dist/assets/components/CADGeometry.min.js +1 -1
  5. package/dist/assets/components/CubeMapTexturing.js +25 -25
  6. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  7. package/dist/assets/components/DIS.js +13 -13
  8. package/dist/assets/components/DIS.min.js +1 -1
  9. package/dist/assets/components/EventUtilities.js +9 -9
  10. package/dist/assets/components/EventUtilities.min.js +1 -1
  11. package/dist/assets/components/Geometry2D.js +19 -19
  12. package/dist/assets/components/Geometry2D.min.js +1 -1
  13. package/dist/assets/components/Geospatial.js +33 -33
  14. package/dist/assets/components/Geospatial.min.js +1 -1
  15. package/dist/assets/components/HAnim.js +23 -23
  16. package/dist/assets/components/HAnim.min.js +1 -1
  17. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  18. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  19. package/dist/assets/components/Layout.js +27 -27
  20. package/dist/assets/components/Layout.min.js +1 -1
  21. package/dist/assets/components/NURBS.js +23 -23
  22. package/dist/assets/components/NURBS.min.js +1 -1
  23. package/dist/assets/components/ParticleSystems.js +23 -23
  24. package/dist/assets/components/ParticleSystems.min.js +1 -1
  25. package/dist/assets/components/Picking.js +18 -18
  26. package/dist/assets/components/Picking.min.js +1 -1
  27. package/dist/assets/components/RigidBodyPhysics.js +17 -17
  28. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  29. package/dist/assets/components/Scripting.js +38 -38
  30. package/dist/assets/components/Scripting.min.js +1 -1
  31. package/dist/assets/components/Text.js +24 -24
  32. package/dist/assets/components/Text.min.js +1 -1
  33. package/dist/assets/components/TextureProjection.js +15 -15
  34. package/dist/assets/components/TextureProjection.min.js +1 -1
  35. package/dist/assets/components/Texturing3D.js +30 -30
  36. package/dist/assets/components/Texturing3D.min.js +1 -1
  37. package/dist/assets/components/VolumeRendering.js +19 -19
  38. package/dist/assets/components/VolumeRendering.min.js +1 -1
  39. package/dist/assets/components/X_ITE.js +8 -8
  40. package/dist/assets/components/X_ITE.min.js +1 -1
  41. package/dist/x_ite.css +1 -1
  42. package/dist/x_ite.js +76 -64
  43. package/dist/x_ite.min.js +1 -1
  44. package/dist/x_ite.min.mjs +1 -1
  45. package/dist/x_ite.mjs +76 -64
  46. package/dist/x_ite.zip +0 -0
  47. package/package.json +1 -1
package/dist/x_ite.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* X_ITE v9.4.0 */var __webpack_modules__ = ({
1
+ /* X_ITE v9.4.1 */var __webpack_modules__ = ({
2
2
 
3
- /***/ 412:
3
+ /***/ 115:
4
4
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
5
5
 
6
- /* provided dependency */ var jQuery = __webpack_require__(440);
6
+ /* provided dependency */ var jQuery = __webpack_require__(919);
7
7
  /**
8
8
  * @preserve jquery.fullscreen 1.1.5
9
9
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -199,7 +199,7 @@ installFullScreenHandlers();
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 838:
202
+ /***/ 591:
203
203
  /***/ ((module, exports, __webpack_require__) => {
204
204
 
205
205
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -213,7 +213,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
213
213
  (function (factory) {
214
214
  if ( true ) {
215
215
  // AMD. Register as an anonymous module.
216
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(440)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
216
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(919)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
217
217
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
218
218
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
219
219
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -424,7 +424,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
424
424
 
425
425
  /***/ }),
426
426
 
427
- /***/ 440:
427
+ /***/ 919:
428
428
  /***/ (function(module, exports) {
429
429
 
430
430
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11148,7 +11148,7 @@ return jQuery;
11148
11148
 
11149
11149
  /***/ }),
11150
11150
 
11151
- /***/ 149:
11151
+ /***/ 460:
11152
11152
  /***/ ((module) => {
11153
11153
 
11154
11154
  /**
@@ -15927,7 +15927,7 @@ if (true) {
15927
15927
 
15928
15928
  /***/ }),
15929
15929
 
15930
- /***/ 284:
15930
+ /***/ 431:
15931
15931
  /***/ (function(__unused_webpack_module, exports) {
15932
15932
 
15933
15933
 
@@ -19172,7 +19172,7 @@ if (true) {
19172
19172
 
19173
19173
  /***/ }),
19174
19174
 
19175
- /***/ 27:
19175
+ /***/ 968:
19176
19176
  /***/ (function(module, exports) {
19177
19177
 
19178
19178
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20299,7 +20299,7 @@ Object .defineProperty (Namespace, "add",
20299
20299
  }
20300
20300
  else
20301
20301
  {
20302
- const X3D = window [Symbol .for ("X_ITE.X3D-9.4.0")];
20302
+ const X3D = window [Symbol .for ("X_ITE.X3D-9.4.1")];
20303
20303
 
20304
20304
  if (X3D)
20305
20305
  X3D [name] = module;
@@ -34234,7 +34234,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34234
34234
  x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34235
34235
  /* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
34236
34236
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34237
- /* provided dependency */ var $ = __webpack_require__(440);
34237
+ /* provided dependency */ var $ = __webpack_require__(919);
34238
34238
  /*******************************************************************************
34239
34239
  *
34240
34240
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34371,7 +34371,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
34371
34371
  *
34372
34372
  ******************************************************************************/
34373
34373
 
34374
- const BROWSER_VERSION_default_ = "9.4.0";
34374
+ const BROWSER_VERSION_default_ = "9.4.1";
34375
34375
  ;
34376
34376
 
34377
34377
  x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
@@ -38952,7 +38952,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
38952
38952
  x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
38953
38953
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
38954
38954
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
38955
- /* provided dependency */ var X3DParser_$ = __webpack_require__(440);
38955
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(919);
38956
38956
  /*******************************************************************************
38957
38957
  *
38958
38958
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39214,7 +39214,7 @@ const Expressions_default_ = Expressions;
39214
39214
  x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
39215
39215
  /* harmony default export */ const Parser_Expressions = (Expressions_default_);
39216
39216
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
39217
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(440);
39217
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(919);
39218
39218
  /*******************************************************************************
39219
39219
  *
39220
39220
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -41900,7 +41900,7 @@ const VRMLParser_default_ = VRMLParser;
41900
41900
  x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
41901
41901
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
41902
41902
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
41903
- /* provided dependency */ var XMLParser_$ = __webpack_require__(440);
41903
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(919);
41904
41904
  /*******************************************************************************
41905
41905
  *
41906
41906
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -44009,7 +44009,7 @@ const URLs_default_ = URLs;
44009
44009
  x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
44010
44010
  /* harmony default export */ const Networking_URLs = (URLs_default_);
44011
44011
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
44012
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(440);
44012
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(919);
44013
44013
  /*******************************************************************************
44014
44014
  *
44015
44015
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47310,7 +47310,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
47310
47310
  x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
47311
47311
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
47312
47312
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
47313
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(440);
47313
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(919);
47314
47314
  /*******************************************************************************
47315
47315
  *
47316
47316
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47462,7 +47462,7 @@ const GLB2Parser_default_ = GLB2Parser;
47462
47462
  x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
47463
47463
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
47464
47464
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
47465
- /* provided dependency */ var OBJParser_$ = __webpack_require__(440);
47465
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(919);
47466
47466
  /*******************************************************************************
47467
47467
  *
47468
47468
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -50817,8 +50817,8 @@ const MatrixStack_default_ = MatrixStack;
50817
50817
  x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
50818
50818
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
50819
50819
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
50820
- /* provided dependency */ var SVGParser_$ = __webpack_require__(440);
50821
- /* provided dependency */ var libtess = __webpack_require__(149);
50820
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(919);
50821
+ /* provided dependency */ var libtess = __webpack_require__(460);
50822
50822
  /*******************************************************************************
50823
50823
  *
50824
50824
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53586,7 +53586,7 @@ const SVGParser_default_ = SVGParser;
53586
53586
  x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
53587
53587
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
53588
53588
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
53589
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(440);
53589
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(919);
53590
53590
  /*******************************************************************************
53591
53591
  *
53592
53592
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53936,7 +53936,7 @@ const Plane3_default_ = Plane3;
53936
53936
  x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
53937
53937
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
53938
53938
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
53939
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(149);
53939
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(460);
53940
53940
  /*******************************************************************************
53941
53941
  *
53942
53942
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62429,7 +62429,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62429
62429
  x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
62430
62430
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
62431
62431
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
62432
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(440);
62432
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(919);
62433
62433
  /*******************************************************************************
62434
62434
  *
62435
62435
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66024,7 +66024,7 @@ const X3DWorld_default_ = X3DWorld;
66024
66024
  x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
66025
66025
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
66026
66026
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
66027
- /* provided dependency */ var FileLoader_$ = __webpack_require__(440);
66027
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(919);
66028
66028
  /*******************************************************************************
66029
66029
  *
66030
66030
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66947,7 +66947,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
66947
66947
  x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
66948
66948
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
66949
66949
  ;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
66950
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(440);
66950
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(919);
66951
66951
  /*******************************************************************************
66952
66952
  *
66953
66953
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -89838,7 +89838,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
89838
89838
  x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
89839
89839
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
89840
89840
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
89841
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(440);
89841
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(919);
89842
89842
  /*******************************************************************************
89843
89843
  *
89844
89844
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -95479,7 +95479,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
95479
95479
  x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
95480
95480
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
95481
95481
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
95482
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(440);
95482
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(919);
95483
95483
  /*******************************************************************************
95484
95484
  *
95485
95485
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96136,7 +96136,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
96136
96136
  x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
96137
96137
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
96138
96138
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
96139
- /* provided dependency */ var Appearance_$ = __webpack_require__(440);
96139
+ /* provided dependency */ var Appearance_$ = __webpack_require__(919);
96140
96140
  /*******************************************************************************
96141
96141
  *
96142
96142
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -101392,14 +101392,14 @@ Object .assign (Object .setPrototypeOf (BufferAudioSource .prototype, Sound_X3DS
101392
101392
  },
101393
101393
  loadData ()
101394
101394
  {
101395
- this .unloadData ();
101395
+ this .setMediaElement (null);
101396
101396
 
101397
101397
  new InputOutput_FileLoader (this) .loadDocument (this ._url, async (data, URL) =>
101398
101398
  {
101399
101399
  if (data === null)
101400
101400
  {
101401
101401
  // No URL could be loaded.
101402
- this .unloadData ();
101402
+ this .setMediaElement (null);
101403
101403
  this .setLoadState (Base_X3DConstants .FAILED_STATE);
101404
101404
  }
101405
101405
  else if (data instanceof ArrayBuffer)
@@ -105054,8 +105054,8 @@ const GifMedia_default_ = GifMedia;
105054
105054
  x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
105055
105055
  /* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
105056
105056
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
105057
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(440);
105058
- /* provided dependency */ var SuperGif = __webpack_require__(27);
105057
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(919);
105058
+ /* provided dependency */ var SuperGif = __webpack_require__(968);
105059
105059
  /*******************************************************************************
105060
105060
  *
105061
105061
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108337,7 +108337,7 @@ const gettext_default_ = gettext;
108337
108337
  x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
108338
108338
  /* harmony default export */ const locale_gettext = (gettext_default_);
108339
108339
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
108340
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(440);
108340
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(919);
108341
108341
  /*******************************************************************************
108342
108342
  *
108343
108343
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108767,7 +108767,7 @@ const TextureQuality_default_ = TextureQuality;
108767
108767
  x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
108768
108768
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
108769
108769
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
108770
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(440);
108770
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(919);
108771
108771
  /*******************************************************************************
108772
108772
  *
108773
108773
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109361,7 +109361,7 @@ const RenderingProperties_default_ = RenderingProperties;
109361
109361
  x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
109362
109362
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
109363
109363
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
109364
- /* provided dependency */ var Notification_$ = __webpack_require__(440);
109364
+ /* provided dependency */ var Notification_$ = __webpack_require__(919);
109365
109365
  /*******************************************************************************
109366
109366
  *
109367
109367
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109484,8 +109484,8 @@ const Notification_default_ = Notification;
109484
109484
  x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
109485
109485
  /* harmony default export */ const Core_Notification = (Notification_default_);
109486
109486
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
109487
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(412);
109488
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(440);
109487
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(115);
109488
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(919);
109489
109489
  /*******************************************************************************
109490
109490
  *
109491
109491
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112246,7 +112246,7 @@ const DataStorage_default_ = DataStorage;
112246
112246
  x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
112247
112247
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
112248
112248
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
112249
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(440);
112249
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(919);
112250
112250
  /*******************************************************************************
112251
112251
  *
112252
112252
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114769,8 +114769,8 @@ const X3DViewer_default_ = X3DViewer;
114769
114769
  x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
114770
114770
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
114771
114771
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
114772
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(838);
114773
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(440);
114772
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(591);
114773
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(919);
114774
114774
  /*******************************************************************************
114775
114775
  *
114776
114776
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115642,8 +115642,8 @@ const ExamineViewer_default_ = ExamineViewer;
115642
115642
  x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
115643
115643
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
115644
115644
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
115645
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(838);
115646
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(440);
115645
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(591);
115646
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(919);
115647
115647
  /*******************************************************************************
115648
115648
  *
115649
115649
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116652,8 +116652,8 @@ const FlyViewer_default_ = FlyViewer;
116652
116652
  x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
116653
116653
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
116654
116654
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
116655
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(838);
116656
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(440);
116655
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(591);
116656
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(919);
116657
116657
  /*******************************************************************************
116658
116658
  *
116659
116659
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116984,8 +116984,8 @@ const NoneViewer_default_ = NoneViewer;
116984
116984
  x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
116985
116985
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
116986
116986
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
116987
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(838);
116988
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(440);
116987
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(591);
116988
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(919);
116989
116989
  /*******************************************************************************
116990
116990
  *
116991
116991
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118124,8 +118124,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
118124
118124
  x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
118125
118125
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
118126
118126
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
118127
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(838);
118128
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(440);
118127
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(591);
118128
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(919);
118129
118129
  /*******************************************************************************
118130
118130
  *
118131
118131
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119416,7 +119416,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
119416
119416
  x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
119417
119417
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
119418
119418
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
119419
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(440);
119419
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(919);
119420
119420
  /*******************************************************************************
119421
119421
  *
119422
119422
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120278,10 +120278,15 @@ Object .assign (X3DSoundContext .prototype,
120278
120278
  },
120279
120279
  startAudioElement (audioElement, functionName = "play")
120280
120280
  {
120281
- audioElement ?.[functionName] () .catch (() =>
120282
- {
120283
- const id = `X3DSoundContext-${Base_X3DObject .getId (audioElement)}`;
120281
+ if (!audioElement)
120282
+ return;
120283
+
120284
+ const id = `X3DSoundContext-${Base_X3DObject .getId (audioElement)}`;
120284
120285
 
120286
+ const disconnect = () => this .getCanvas () .off (`.${id}`);
120287
+
120288
+ const connect = () =>
120289
+ {
120285
120290
  const events = [
120286
120291
  "blur",
120287
120292
  "click",
@@ -120297,13 +120302,20 @@ Object .assign (X3DSoundContext .prototype,
120297
120302
  ]
120298
120303
  .map (event => `${event}.${id}`);
120299
120304
 
120300
- this .getCanvas () .on (events .join (" "), event =>
120305
+ this .getCanvas () .on (events .join (" "), () =>
120301
120306
  {
120302
120307
  audioElement [functionName] ()
120303
- .then (() => this .getElement () .off (`.${id}`))
120308
+ .then (disconnect)
120304
120309
  .catch (Function .prototype);
120305
120310
  });
120306
- });
120311
+ };
120312
+
120313
+ audioElement [functionName] ()
120314
+ .then (disconnect)
120315
+ .catch (connect);
120316
+
120317
+ if (functionName === "resume")
120318
+ connect ();
120307
120319
  },
120308
120320
  });
120309
120321
 
@@ -120313,7 +120325,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
120313
120325
  x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
120314
120326
  /* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
120315
120327
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
120316
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(440);
120328
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(919);
120317
120329
  const KTXDecoder_default_ = class KTXDecoder
120318
120330
  {
120319
120331
  constructor (gl, externalKtxlib, scriptDir)
@@ -121867,7 +121879,7 @@ const Components_default_ = Components;
121867
121879
  x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
121868
121880
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
121869
121881
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
121870
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(440);
121882
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(919);
121871
121883
  /*******************************************************************************
121872
121884
  * MIT License
121873
121885
  *
@@ -122998,7 +123010,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
122998
123010
  x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
122999
123011
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
123000
123012
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
123001
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(440);
123013
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(919);
123002
123014
  /*******************************************************************************
123003
123015
  *
123004
123016
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124090,7 +124102,7 @@ const X3DBrowser_default_ = X3DBrowser;
124090
124102
  x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
124091
124103
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
124092
124104
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
124093
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(440);
124105
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(919);
124094
124106
  /*******************************************************************************
124095
124107
  *
124096
124108
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124227,8 +124239,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
124227
124239
  x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
124228
124240
  /* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
124229
124241
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
124230
- /* provided dependency */ var jquery_$ = __webpack_require__(440);
124231
- /* provided dependency */ var pako = __webpack_require__(284);
124242
+ /* provided dependency */ var jquery_$ = __webpack_require__(919);
124243
+ /* provided dependency */ var pako = __webpack_require__(431);
124232
124244
  Object .assign (jquery_$,
124233
124245
  {
124234
124246
  decodeText (input)
@@ -124305,14 +124317,14 @@ const jquery_default_ = jquery_$;
124305
124317
  x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
124306
124318
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
124307
124319
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
124308
- /* provided dependency */ var libtess_libtess = __webpack_require__(149);
124320
+ /* provided dependency */ var libtess_libtess = __webpack_require__(460);
124309
124321
  const libtess_default_ = libtess_libtess;
124310
124322
  ;
124311
124323
 
124312
124324
  x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
124313
124325
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
124314
124326
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
124315
- /* provided dependency */ var X3D_$ = __webpack_require__(440);
124327
+ /* provided dependency */ var X3D_$ = __webpack_require__(919);
124316
124328
  /*******************************************************************************
124317
124329
  *
124318
124330
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124620,7 +124632,7 @@ Object .assign (X3D,
124620
124632
 
124621
124633
  // Assign X3D to global namespace.
124622
124634
 
124623
- window [Symbol .for ("X_ITE.X3D-9.4.0")] = x_ite_X3D;
124635
+ window [Symbol .for ("X_ITE.X3D-9.4.1")] = x_ite_X3D;
124624
124636
 
124625
124637
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
124626
124638
 
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": "9.4.0",
3
+ "version": "9.4.1",
4
4
  "description": "X_ITE X3D Browser, view and manipulate X3D and VRML scenes in HTML.",
5
5
  "main": "dist/x_ite.js",
6
6
  "module": "dist/x_ite.mjs",