x_ite 10.5.4 → 10.5.5

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 (51) hide show
  1. package/README.md +4 -4
  2. package/dist/X3DUOM.xml +358 -86
  3. package/dist/assets/components/AnnotationComponent.js +2 -2
  4. package/dist/assets/components/AnnotationComponent.min.js +2 -2
  5. package/dist/assets/components/CADGeometryComponent.js +2 -2
  6. package/dist/assets/components/CADGeometryComponent.min.js +2 -2
  7. package/dist/assets/components/CubeMapTexturingComponent.js +2 -2
  8. package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
  9. package/dist/assets/components/DISComponent.js +2 -2
  10. package/dist/assets/components/DISComponent.min.js +2 -2
  11. package/dist/assets/components/EventUtilitiesComponent.js +2 -2
  12. package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
  13. package/dist/assets/components/Geometry2DComponent.js +2 -2
  14. package/dist/assets/components/Geometry2DComponent.min.js +2 -2
  15. package/dist/assets/components/GeospatialComponent.js +2 -2
  16. package/dist/assets/components/GeospatialComponent.min.js +2 -2
  17. package/dist/assets/components/HAnimComponent.js +2 -2
  18. package/dist/assets/components/HAnimComponent.min.js +2 -2
  19. package/dist/assets/components/KeyDeviceSensorComponent.js +2 -2
  20. package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
  21. package/dist/assets/components/LayoutComponent.js +2 -2
  22. package/dist/assets/components/LayoutComponent.min.js +2 -2
  23. package/dist/assets/components/NURBSComponent.js +2 -2
  24. package/dist/assets/components/NURBSComponent.min.js +2 -2
  25. package/dist/assets/components/ParticleSystemsComponent.js +2 -2
  26. package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
  27. package/dist/assets/components/PickingComponent.js +2 -2
  28. package/dist/assets/components/PickingComponent.min.js +2 -2
  29. package/dist/assets/components/RigidBodyPhysicsComponent.js +2 -2
  30. package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
  31. package/dist/assets/components/ScriptingComponent.js +2 -2
  32. package/dist/assets/components/ScriptingComponent.min.js +2 -2
  33. package/dist/assets/components/TextComponent.js +4 -4
  34. package/dist/assets/components/TextComponent.min.js +2 -2
  35. package/dist/assets/components/TextureProjectionComponent.js +2 -2
  36. package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
  37. package/dist/assets/components/Texturing3DComponent.js +10 -10
  38. package/dist/assets/components/Texturing3DComponent.min.js +2 -2
  39. package/dist/assets/components/VolumeRenderingComponent.js +2 -2
  40. package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
  41. package/dist/assets/components/X_ITEComponent.js +2 -2
  42. package/dist/assets/components/X_ITEComponent.min.js +2 -2
  43. package/dist/example.html +1 -1
  44. package/dist/x_ite.css +1 -1
  45. package/dist/x_ite.d.ts +22491 -22442
  46. package/dist/x_ite.js +83 -83
  47. package/dist/x_ite.min.js +2 -2
  48. package/dist/x_ite.min.mjs +2 -2
  49. package/dist/x_ite.mjs +83 -83
  50. package/dist/x_ite.zip +0 -0
  51. package/package.json +6 -2
package/dist/x_ite.mjs CHANGED
@@ -1,10 +1,10 @@
1
- /* X_ITE v10.5.4 */
1
+ /* X_ITE v10.5.5 */
2
2
  var __webpack_modules__ = ({
3
3
 
4
- /***/ 667:
4
+ /***/ 540:
5
5
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6
6
 
7
- /* provided dependency */ var jQuery = __webpack_require__(983);
7
+ /* provided dependency */ var jQuery = __webpack_require__(424);
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
- /***/ 607:
203
+ /***/ 870:
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__(983)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
217
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(424)], __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
- /***/ 983:
428
+ /***/ 424:
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
- /***/ 308:
11152
+ /***/ 501:
11153
11153
  /***/ ((module) => {
11154
11154
 
11155
11155
  /**
@@ -15928,7 +15928,7 @@ if (true) {
15928
15928
 
15929
15929
  /***/ }),
15930
15930
 
15931
- /***/ 655:
15931
+ /***/ 988:
15932
15932
  /***/ (function(__unused_webpack_module, exports) {
15933
15933
 
15934
15934
 
@@ -19173,7 +19173,7 @@ if (true) {
19173
19173
 
19174
19174
  /***/ }),
19175
19175
 
19176
- /***/ 584:
19176
+ /***/ 587:
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.4")];
20300
+ const X3D = window [Symbol .for ("X_ITE.X3D-10.5.5")];
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__(983);
34162
+ /* provided dependency */ var $ = __webpack_require__(424);
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.4";
34298
+ const BROWSER_VERSION_default_ = "10.5.5";
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__(308);
37323
+ /* provided dependency */ var libtess = __webpack_require__(501);
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__(983);
39889
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(424);
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__(983);
40144
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(424);
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__(983);
42784
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(424);
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__(983);
44962
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(424);
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__(983);
48613
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(424);
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__(983);
48764
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(424);
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__(983);
52126
- /* provided dependency */ var SVGParser_libtess = __webpack_require__(308);
52125
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(424);
52126
+ /* provided dependency */ var SVGParser_libtess = __webpack_require__(501);
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__(983);
54905
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(424);
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__(983);
62919
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(424);
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__(983);
66303
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(424);
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__(983);
67267
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(424);
67268
67268
  /*******************************************************************************
67269
67269
  *
67270
67270
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -90944,7 +90944,7 @@ mediump samplerCube textureCube;
90944
90944
 
90945
90945
  /* harmony default export */ const MaterialTextures = (x_ite_Namespace .add ("MaterialTextures", MaterialTextures_default_));
90946
90946
  ;// ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
90947
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(983);
90947
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(424);
90948
90948
  /*******************************************************************************
90949
90949
  *
90950
90950
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -95218,14 +95218,14 @@ precision highp float;precision highp int;precision highp sampler2D;uniform samp
95218
95218
  ;
95219
95219
 
95220
95220
  /* harmony default export */ const OITCompose2_fs = (x_ite_Namespace .add ("OITCompose2.fs", OITCompose2_fs_default_));
95221
- ;// ./src/assets/shaders/webgl2/Physical2.js
95222
- const Physical2_default_ = /* glsl */ `#version 300 es
95221
+ ;// ./src/assets/shaders/webgl2/Physical2.fs.js
95222
+ const Physical2_fs_default_ = /* glsl */ `#version 300 es
95223
95223
  precision highp float;precision highp int;precision highp sampler2D;precision highp sampler3D;precision highp samplerCube;
95224
95224
  #pragma X3D include "pbr/PBR.glsl"
95225
95225
  `
95226
95226
  ;
95227
95227
 
95228
- /* harmony default export */ const Physical2 = (x_ite_Namespace .add ("Physical2", Physical2_default_));
95228
+ /* harmony default export */ const Physical2_fs = (x_ite_Namespace .add ("Physical2.fs", Physical2_fs_default_));
95229
95229
  ;// ./src/assets/shaders/webgl2/Phong2.fs.js
95230
95230
 
95231
95231
 
@@ -95769,7 +95769,7 @@ diffuseTransmissionThickness=materialInfo.thickness*(length(vec3(u_ModelMatrix[0
95769
95769
  #if defined(X3D_CLEARCOAT_MATERIAL_EXT)
95770
95770
  clearcoatFactor=materialInfo.clearcoatFactor;clearcoatFresnel=F_Schlick(materialInfo.clearcoatF0,materialInfo.clearcoatF90,clamp(dot(materialInfo.clearcoatNormal,v),0.0,1.0));
95771
95771
  #endif
95772
- #if defined(X3D_USE_IBL)
95772
+ #if defined(X3D_USE_IBL)||defined(X3D_TRANSMISSION_MATERIAL_EXT)
95773
95773
  f_diffuse=getDiffuseLight(n)*baseColor.rgb;
95774
95774
  #if defined(X3D_DIFFUSE_TRANSMISSION_MATERIAL_EXT)
95775
95775
  vec3 diffuseTransmissionIBL=getDiffuseLight(-n)*materialInfo.diffuseTransmissionColorFactor;
@@ -96110,7 +96110,7 @@ const ShaderRegistry = {
96110
96110
  OITCompose: OITCompose2_fs,
96111
96111
  Phong: Phong2_fs,
96112
96112
  Pointing: Pointing2_fs,
96113
- Physical: Physical2,
96113
+ Physical: Physical2_fs,
96114
96114
  Unlit: Unlit2_fs,
96115
96115
  },
96116
96116
  },
@@ -96220,7 +96220,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
96220
96220
 
96221
96221
  /* harmony default export */ const Shaders_ShaderCompiler = (x_ite_Namespace .add ("ShaderCompiler", ShaderCompiler_default_));
96222
96222
  ;// ./src/x_ite/Components/Shaders/ShaderPart.js
96223
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(983);
96223
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(424);
96224
96224
  /*******************************************************************************
96225
96225
  *
96226
96226
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96818,7 +96818,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
96818
96818
 
96819
96819
  /* harmony default export */ const Shape_X3DAppearanceNode = (x_ite_Namespace .add ("X3DAppearanceNode", X3DAppearanceNode_default_));
96820
96820
  ;// ./src/x_ite/Components/Shape/Appearance.js
96821
- /* provided dependency */ var Appearance_$ = __webpack_require__(983);
96821
+ /* provided dependency */ var Appearance_$ = __webpack_require__(424);
96822
96822
  /*******************************************************************************
96823
96823
  *
96824
96824
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105041,8 +105041,8 @@ const GifMedia_default_ = GifMedia;
105041
105041
 
105042
105042
  /* harmony default export */ const Texturing_GifMedia = (x_ite_Namespace .add ("GifMedia", GifMedia_default_));
105043
105043
  ;// ./src/x_ite/Components/Texturing/MovieTexture.js
105044
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(983);
105045
- /* provided dependency */ var SuperGif = __webpack_require__(584);
105044
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(424);
105045
+ /* provided dependency */ var SuperGif = __webpack_require__(587);
105046
105046
  /*******************************************************************************
105047
105047
  *
105048
105048
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107510,7 +107510,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
107510
107510
 
107511
107511
  /* harmony default export */ const gettext = (x_ite_Namespace .add ("gettext", gettext_default_));
107512
107512
  ;// ./src/x_ite/Browser/Core/BrowserTimings.js
107513
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(983);
107513
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(424);
107514
107514
  /*******************************************************************************
107515
107515
  *
107516
107516
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108140,7 +108140,7 @@ const TextCompression_default_ = TextCompression;
108140
108140
 
108141
108141
  /* harmony default export */ const Core_TextCompression = (x_ite_Namespace .add ("TextCompression", TextCompression_default_));
108142
108142
  ;// ./src/x_ite/Browser/Core/BrowserOptions.js
108143
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(983);
108143
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(424);
108144
108144
  /*******************************************************************************
108145
108145
  *
108146
108146
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108787,7 +108787,7 @@ const RenderingProperties_default_ = RenderingProperties;
108787
108787
 
108788
108788
  /* harmony default export */ const Core_RenderingProperties = (x_ite_Namespace .add ("RenderingProperties", RenderingProperties_default_));
108789
108789
  ;// ./src/x_ite/Browser/Core/Notification.js
108790
- /* provided dependency */ var Notification_$ = __webpack_require__(983);
108790
+ /* provided dependency */ var Notification_$ = __webpack_require__(424);
108791
108791
  /*******************************************************************************
108792
108792
  *
108793
108793
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108909,8 +108909,8 @@ const Notification_default_ = Notification;
108909
108909
 
108910
108910
  /* harmony default export */ const Core_Notification = (x_ite_Namespace .add ("Notification", Notification_default_));
108911
108911
  ;// ./src/x_ite/Browser/Core/ContextMenu.js
108912
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(667);
108913
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(983);
108912
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(540);
108913
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(424);
108914
108914
  /*******************************************************************************
108915
108915
  *
108916
108916
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108986,7 +108986,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
108986
108986
  element: browser .getElement (),
108987
108987
  appendTo: browser .getShadow (),
108988
108988
  build: this .build .bind (this),
108989
- animation: { duration: 500, show: "fadeIn", hide: "fadeOut" },
108989
+ animation: 300,
108990
108990
  };
108991
108991
 
108992
108992
  this [_options] .element .on ("contextmenu.ContextMenu", event => this .show (event));
@@ -109032,8 +109032,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
109032
109032
  // Layer
109033
109033
 
109034
109034
  const layer = ContextMenu_$("<div></div>")
109035
- .addClass ("context-menu-layer")
109036
- .addClass (menu .className)
109035
+ .addClass (["context-menu-layer", menu .className])
109037
109036
  .appendTo (options .appendTo);
109038
109037
 
109039
109038
  const hide = this .hide = () =>
@@ -109041,14 +109040,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
109041
109040
  delete this .hide;
109042
109041
 
109043
109042
  layer .remove ();
109044
-
109045
- ul [options .animation .hide] (options .animation .duration, function ()
109046
- {
109047
- ul .remove ();
109048
-
109049
- if (typeof options .events ?.hide === "function")
109050
- options .events .hide ();
109051
- });
109043
+ ul .children () .fadeOut (options .animation ?? 0, () => ul .remove ());
109052
109044
 
109053
109045
  return false;
109054
109046
  };
@@ -109057,16 +109049,22 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
109057
109049
 
109058
109050
  const ul = ContextMenu_$("<ul></ul>")
109059
109051
  .hide ()
109060
- .addClass ("context-menu-root")
109061
- .addClass ("context-menu-list")
109062
- .addClass (menu .className)
109052
+ .addClass (["context-menu-root", "context-menu-list", menu .className])
109063
109053
  .offset ({ "left": event .pageX, "top": event .pageY })
109064
109054
  .appendTo (options .appendTo);
109065
109055
 
109056
+ ContextMenu_$("<div></div>")
109057
+ .addClass ("context-menu-background")
109058
+ .appendTo (ul);
109059
+
109066
109060
  for (const k in menu .items)
109067
109061
  ul .append (this .createItem (menu .items [k], "context-menu-root", k, level + 1, hide));
109068
109062
 
109069
- ul [options .animation .show] (options .animation .duration);
109063
+ // Show
109064
+
109065
+ ul .children () .hide ();
109066
+ ul .show ();
109067
+ ul .children () .fadeIn (options .animation ?? 0);
109070
109068
 
109071
109069
  // Reposition menu if to right or to low.
109072
109070
 
@@ -109089,8 +109087,11 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
109089
109087
  width = e .outerWidth () + ul .outerWidth (),
109090
109088
  position = ul .offset () .left - ContextMenu_$(document) .scrollLeft () + width > ContextMenu_$(window) .width () ? "right" : "left";
109091
109089
 
109092
- e .css ("width", e .outerWidth ());
109093
- e .css (position, e .parent () .closest ("ul") .width ());
109090
+ e .children (":first-child") .css ("height", e .innerHeight ());
109091
+
109092
+ e
109093
+ .css ("width", e .outerWidth ())
109094
+ .css (position, e .parent () .closest ("ul") .width () - 12);
109094
109095
 
109095
109096
  if (e .outerHeight () >= ContextMenu_$(window) .height ())
109096
109097
  e .css ({ "max-height": "100vh", "overflow-y": "scroll" });
@@ -109122,11 +109123,6 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
109122
109123
  layer .on ("click contextmenu", hide);
109123
109124
  ul .on ("contextmenu", hide);
109124
109125
 
109125
- // Show
109126
-
109127
- if (typeof options .events ?.show === "function")
109128
- options .events .show (ul);
109129
-
109130
109126
  return false;
109131
109127
  },
109132
109128
  createItem (item, parent, key, level, hide)
@@ -109198,6 +109194,10 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
109198
109194
  .css ({ "z-index": level })
109199
109195
  .appendTo (li);
109200
109196
 
109197
+ ContextMenu_$("<div></div>")
109198
+ .addClass ("context-menu-background")
109199
+ .appendTo (ul);
109200
+
109201
109201
  for (const k in item .items)
109202
109202
  ul .append (this .createItem (item .items [k], key, k, level + 1, hide));
109203
109203
 
@@ -111632,7 +111632,7 @@ const DataStorage_default_ = DataStorage;
111632
111632
 
111633
111633
  /* harmony default export */ const Utility_DataStorage = (x_ite_Namespace .add ("DataStorage", DataStorage_default_));
111634
111634
  ;// ./src/x_ite/Browser/Core/X3DCoreContext.js
111635
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(983);
111635
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(424);
111636
111636
  /*******************************************************************************
111637
111637
  *
111638
111638
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114243,8 +114243,8 @@ const X3DViewer_default_ = X3DViewer;
114243
114243
 
114244
114244
  /* harmony default export */ const Navigation_X3DViewer = (x_ite_Namespace .add ("X3DViewer", X3DViewer_default_));
114245
114245
  ;// ./src/x_ite/Browser/Navigation/ExamineViewer.js
114246
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(607);
114247
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(983);
114246
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(870);
114247
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(424);
114248
114248
  /*******************************************************************************
114249
114249
  *
114250
114250
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115159,8 +115159,8 @@ const ExamineViewer_default_ = ExamineViewer;
115159
115159
 
115160
115160
  /* harmony default export */ const Navigation_ExamineViewer = (x_ite_Namespace .add ("ExamineViewer", ExamineViewer_default_));
115161
115161
  ;// ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
115162
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(607);
115163
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(983);
115162
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(870);
115163
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(424);
115164
115164
  /*******************************************************************************
115165
115165
  *
115166
115166
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116175,8 +116175,8 @@ const FlyViewer_default_ = FlyViewer;
116175
116175
 
116176
116176
  /* harmony default export */ const Navigation_FlyViewer = (x_ite_Namespace .add ("FlyViewer", FlyViewer_default_));
116177
116177
  ;// ./src/x_ite/Browser/Navigation/PlaneViewer.js
116178
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(607);
116179
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(983);
116178
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(870);
116179
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(424);
116180
116180
  /*******************************************************************************
116181
116181
  *
116182
116182
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116505,8 +116505,8 @@ const NoneViewer_default_ = NoneViewer;
116505
116505
 
116506
116506
  /* harmony default export */ const Navigation_NoneViewer = (x_ite_Namespace .add ("NoneViewer", NoneViewer_default_));
116507
116507
  ;// ./src/x_ite/Browser/Navigation/LookAtViewer.js
116508
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(607);
116509
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(983);
116508
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(870);
116509
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(424);
116510
116510
  /*******************************************************************************
116511
116511
  *
116512
116512
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117651,8 +117651,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
117651
117651
 
117652
117652
  /* harmony default export */ const Picking_X3DPickingContext = (x_ite_Namespace .add ("X3DPickingContext", X3DPickingContext_default_));
117653
117653
  ;// ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
117654
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(607);
117655
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(983);
117654
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(870);
117655
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(424);
117656
117656
  /*******************************************************************************
117657
117657
  *
117658
117658
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119099,7 +119099,7 @@ const Lock_default_ = Lock;
119099
119099
 
119100
119100
  /* harmony default export */ const Utility_Lock = (x_ite_Namespace .add ("Lock", Lock_default_));
119101
119101
  ;// ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
119102
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(983);
119102
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(424);
119103
119103
  /*******************************************************************************
119104
119104
  *
119105
119105
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120413,7 +120413,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
120413
120413
 
120414
120414
  /* harmony default export */ const Sound_X3DSoundContext = (x_ite_Namespace .add ("X3DSoundContext", X3DSoundContext_default_));
120415
120415
  ;// ./src/x_ite/Browser/Texturing/KTXDecoder.js
120416
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(983);
120416
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(424);
120417
120417
  const KTXDecoder_default_ = class KTXDecoder
120418
120418
  {
120419
120419
  constructor (gl, externalKtxlib, scriptDir)
@@ -121992,7 +121992,7 @@ const Components_default_ = Components;
121992
121992
 
121993
121993
  /* harmony default export */ const x_ite_Components = (x_ite_Namespace .add ("Components", Components_default_));
121994
121994
  ;// ./src/x_ite/Browser/DOMIntegration.js
121995
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(983);
121995
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(424);
121996
121996
  /*******************************************************************************
121997
121997
  * MIT License
121998
121998
  *
@@ -123258,7 +123258,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
123258
123258
 
123259
123259
  /* harmony default export */ const FieldTypes = (x_ite_Namespace .add ("FieldTypes", FieldTypes_default_));
123260
123260
  ;// ./src/x_ite/Browser/X3DBrowser.js
123261
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(983);
123261
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(424);
123262
123262
  /*******************************************************************************
123263
123263
  *
123264
123264
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124325,7 +124325,7 @@ const X3DBrowser_default_ = X3DBrowser;
124325
124325
 
124326
124326
  /* harmony default export */ const Browser_X3DBrowser = (x_ite_Namespace .add ("X3DBrowser", X3DBrowser_default_));
124327
124327
  ;// ./src/x_ite/X3DCanvasElement.js
124328
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(983);
124328
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(424);
124329
124329
  /*******************************************************************************
124330
124330
  *
124331
124331
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124592,8 +124592,8 @@ const QuickSort_default_ = QuickSort;
124592
124592
 
124593
124593
  /* harmony default export */ const Algorithms_QuickSort = (x_ite_Namespace .add ("QuickSort", QuickSort_default_));
124594
124594
  ;// ./src/lib/jquery.js
124595
- /* provided dependency */ var jquery_$ = __webpack_require__(983);
124596
- /* provided dependency */ var pako = __webpack_require__(655);
124595
+ /* provided dependency */ var jquery_$ = __webpack_require__(424);
124596
+ /* provided dependency */ var pako = __webpack_require__(988);
124597
124597
  Object .assign (jquery_$,
124598
124598
  {
124599
124599
  decodeText (input)
@@ -124670,13 +124670,13 @@ const jquery_default_ = jquery_$;
124670
124670
 
124671
124671
  /* harmony default export */ const jquery = (x_ite_Namespace .add ("jquery", jquery_default_));
124672
124672
  ;// ./src/lib/libtess.js
124673
- /* provided dependency */ var libtess_libtess = __webpack_require__(308);
124673
+ /* provided dependency */ var libtess_libtess = __webpack_require__(501);
124674
124674
  const libtess_default_ = libtess_libtess;
124675
124675
  ;
124676
124676
 
124677
124677
  /* harmony default export */ const lib_libtess = (x_ite_Namespace .add ("libtess", libtess_default_));
124678
124678
  ;// ./src/x_ite/X3D.js
124679
- /* provided dependency */ var X3D_$ = __webpack_require__(983);
124679
+ /* provided dependency */ var X3D_$ = __webpack_require__(424);
124680
124680
  /*******************************************************************************
124681
124681
  *
124682
124682
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124980,7 +124980,7 @@ x_ite_Namespace, x_ite_Namespace .Fields,
124980
124980
 
124981
124981
  // Assign X3D to global namespace.
124982
124982
 
124983
- window [Symbol .for ("X_ITE.X3D-10.5.4")] = x_ite_X3D;
124983
+ window [Symbol .for ("X_ITE.X3D-10.5.5")] = x_ite_X3D;
124984
124984
 
124985
124985
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
124986
124986
 
package/dist/x_ite.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x_ite",
3
- "version": "10.5.4",
4
- "description": "X_ITE X3D Browser, view and manipulate X3D, VRML and other 3D sources in HTML.",
3
+ "version": "10.5.5",
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",
7
7
  "exports": {
@@ -93,6 +93,10 @@
93
93
  {
94
94
  "name": "Glen Whitney",
95
95
  "url": "https://github.com/gwhitney"
96
+ },
97
+ {
98
+ "name": "Elmar",
99
+ "url": "https://github.com/krisutofu"
96
100
  }
97
101
  ],
98
102
  "funding": {