x_ite 9.5.2 → 9.6.0
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.
- package/README.md +83 -7
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +14 -14
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -25
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +18 -18
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +23 -23
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +23 -23
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +693 -364
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +17 -17
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -38
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +49 -50
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +15 -15
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +80 -37
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +14 -14
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/assets/fonts/DroidSerif Apache License.txt +201 -0
- package/dist/assets/fonts/Ubuntu LICENCE.txt +96 -0
- package/dist/assets/fonts/Ubuntu-B.ttf +0 -0
- package/dist/assets/fonts/Ubuntu-BI.ttf +0 -0
- package/dist/assets/fonts/Ubuntu-R.ttf +0 -0
- package/dist/assets/fonts/Ubuntu-RI.ttf +0 -0
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +136 -107
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +136 -107
- package/dist/x_ite.zip +0 -0
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* X_ITE v9.
|
|
1
|
+
/* X_ITE v9.6.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
5
|
/***/ 823:
|
|
6
6
|
/***/ ((module) => {
|
|
7
7
|
|
|
8
|
-
module.exports = window [Symbol .for ("X_ITE.X3D-9.
|
|
8
|
+
module.exports = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("lib/jquery");
|
|
9
9
|
|
|
10
10
|
/***/ })
|
|
11
11
|
|
|
@@ -73,97 +73,97 @@ var __webpack_exports__ = {};
|
|
|
73
73
|
// UNUSED EXPORTS: default
|
|
74
74
|
|
|
75
75
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
76
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
76
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Components");
|
|
77
77
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
78
78
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DBaseNode\")"
|
|
79
|
-
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
79
|
+
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Base/X3DBaseNode");
|
|
80
80
|
var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
|
|
81
81
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
82
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
82
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
83
83
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
84
84
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
85
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
85
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
86
86
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
87
87
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DField\")"
|
|
88
|
-
const X3DField_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
88
|
+
const X3DField_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Base/X3DField");
|
|
89
89
|
var X3DField_default = /*#__PURE__*/__webpack_require__.n(X3DField_namespaceObject);
|
|
90
90
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DArrayField\")"
|
|
91
|
-
const X3DArrayField_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
91
|
+
const X3DArrayField_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Base/X3DArrayField");
|
|
92
92
|
var X3DArrayField_default = /*#__PURE__*/__webpack_require__.n(X3DArrayField_namespaceObject);
|
|
93
93
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
94
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
94
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Fields");
|
|
95
95
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
96
96
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/X3DBrowser\")"
|
|
97
|
-
const X3DBrowser_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
97
|
+
const X3DBrowser_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Browser/X3DBrowser");
|
|
98
98
|
var X3DBrowser_default = /*#__PURE__*/__webpack_require__.n(X3DBrowser_namespaceObject);
|
|
99
99
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ComponentInfo\")"
|
|
100
|
-
const ComponentInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
100
|
+
const ComponentInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Configuration/ComponentInfo");
|
|
101
101
|
var ComponentInfo_default = /*#__PURE__*/__webpack_require__.n(ComponentInfo_namespaceObject);
|
|
102
102
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ComponentInfoArray\")"
|
|
103
|
-
const ComponentInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
103
|
+
const ComponentInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Configuration/ComponentInfoArray");
|
|
104
104
|
var ComponentInfoArray_default = /*#__PURE__*/__webpack_require__.n(ComponentInfoArray_namespaceObject);
|
|
105
105
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ProfileInfo\")"
|
|
106
|
-
const ProfileInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
106
|
+
const ProfileInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Configuration/ProfileInfo");
|
|
107
107
|
var ProfileInfo_default = /*#__PURE__*/__webpack_require__.n(ProfileInfo_namespaceObject);
|
|
108
108
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ProfileInfoArray\")"
|
|
109
|
-
const ProfileInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
109
|
+
const ProfileInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Configuration/ProfileInfoArray");
|
|
110
110
|
var ProfileInfoArray_default = /*#__PURE__*/__webpack_require__.n(ProfileInfoArray_namespaceObject);
|
|
111
111
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ConcreteNodesArray\")"
|
|
112
|
-
const ConcreteNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
112
|
+
const ConcreteNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Configuration/ConcreteNodesArray");
|
|
113
113
|
var ConcreteNodesArray_default = /*#__PURE__*/__webpack_require__.n(ConcreteNodesArray_namespaceObject);
|
|
114
114
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/AbstractNodesArray\")"
|
|
115
|
-
const AbstractNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
115
|
+
const AbstractNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Configuration/AbstractNodesArray");
|
|
116
116
|
var AbstractNodesArray_default = /*#__PURE__*/__webpack_require__.n(AbstractNodesArray_namespaceObject);
|
|
117
117
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/UnitInfo\")"
|
|
118
|
-
const UnitInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
118
|
+
const UnitInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Configuration/UnitInfo");
|
|
119
119
|
var UnitInfo_default = /*#__PURE__*/__webpack_require__.n(UnitInfo_namespaceObject);
|
|
120
120
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/UnitInfoArray\")"
|
|
121
|
-
const UnitInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
121
|
+
const UnitInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Configuration/UnitInfoArray");
|
|
122
122
|
var UnitInfoArray_default = /*#__PURE__*/__webpack_require__.n(UnitInfoArray_namespaceObject);
|
|
123
123
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/NamedNodesArray\")"
|
|
124
|
-
const NamedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
124
|
+
const NamedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Execution/NamedNodesArray");
|
|
125
125
|
var NamedNodesArray_default = /*#__PURE__*/__webpack_require__.n(NamedNodesArray_namespaceObject);
|
|
126
126
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/ImportedNodesArray\")"
|
|
127
|
-
const ImportedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
127
|
+
const ImportedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Execution/ImportedNodesArray");
|
|
128
128
|
var ImportedNodesArray_default = /*#__PURE__*/__webpack_require__.n(ImportedNodesArray_namespaceObject);
|
|
129
129
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DImportedNode\")"
|
|
130
|
-
const X3DImportedNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
130
|
+
const X3DImportedNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Execution/X3DImportedNode");
|
|
131
131
|
var X3DImportedNode_default = /*#__PURE__*/__webpack_require__.n(X3DImportedNode_namespaceObject);
|
|
132
132
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/ExportedNodesArray\")"
|
|
133
|
-
const ExportedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
133
|
+
const ExportedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Execution/ExportedNodesArray");
|
|
134
134
|
var ExportedNodesArray_default = /*#__PURE__*/__webpack_require__.n(ExportedNodesArray_namespaceObject);
|
|
135
135
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DExportedNode\")"
|
|
136
|
-
const X3DExportedNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
136
|
+
const X3DExportedNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Execution/X3DExportedNode");
|
|
137
137
|
var X3DExportedNode_default = /*#__PURE__*/__webpack_require__.n(X3DExportedNode_namespaceObject);
|
|
138
138
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DExecutionContext\")"
|
|
139
|
-
const X3DExecutionContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
139
|
+
const X3DExecutionContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Execution/X3DExecutionContext");
|
|
140
140
|
var X3DExecutionContext_default = /*#__PURE__*/__webpack_require__.n(X3DExecutionContext_namespaceObject);
|
|
141
141
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DScene\")"
|
|
142
|
-
const X3DScene_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
142
|
+
const X3DScene_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Execution/X3DScene");
|
|
143
143
|
var X3DScene_default = /*#__PURE__*/__webpack_require__.n(X3DScene_namespaceObject);
|
|
144
144
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/ExternProtoDeclarationArray\")"
|
|
145
|
-
const ExternProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
145
|
+
const ExternProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Prototype/ExternProtoDeclarationArray");
|
|
146
146
|
var ExternProtoDeclarationArray_default = /*#__PURE__*/__webpack_require__.n(ExternProtoDeclarationArray_namespaceObject);
|
|
147
147
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/ProtoDeclarationArray\")"
|
|
148
|
-
const ProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
148
|
+
const ProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Prototype/ProtoDeclarationArray");
|
|
149
149
|
var ProtoDeclarationArray_default = /*#__PURE__*/__webpack_require__.n(ProtoDeclarationArray_namespaceObject);
|
|
150
150
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DExternProtoDeclaration\")"
|
|
151
|
-
const X3DExternProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
151
|
+
const X3DExternProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Prototype/X3DExternProtoDeclaration");
|
|
152
152
|
var X3DExternProtoDeclaration_default = /*#__PURE__*/__webpack_require__.n(X3DExternProtoDeclaration_namespaceObject);
|
|
153
153
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DProtoDeclaration\")"
|
|
154
|
-
const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
154
|
+
const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Prototype/X3DProtoDeclaration");
|
|
155
155
|
var X3DProtoDeclaration_default = /*#__PURE__*/__webpack_require__.n(X3DProtoDeclaration_namespaceObject);
|
|
156
156
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DProtoDeclarationNode\")"
|
|
157
|
-
const X3DProtoDeclarationNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
157
|
+
const X3DProtoDeclarationNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Prototype/X3DProtoDeclarationNode");
|
|
158
158
|
var X3DProtoDeclarationNode_default = /*#__PURE__*/__webpack_require__.n(X3DProtoDeclarationNode_namespaceObject);
|
|
159
159
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Routing/RouteArray\")"
|
|
160
|
-
const RouteArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
160
|
+
const RouteArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Routing/RouteArray");
|
|
161
161
|
var RouteArray_default = /*#__PURE__*/__webpack_require__.n(RouteArray_namespaceObject);
|
|
162
162
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Routing/X3DRoute\")"
|
|
163
|
-
const X3DRoute_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
163
|
+
const X3DRoute_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Routing/X3DRoute");
|
|
164
164
|
var X3DRoute_default = /*#__PURE__*/__webpack_require__.n(X3DRoute_namespaceObject);
|
|
165
165
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
166
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
166
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Namespace");
|
|
167
167
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
168
168
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Scripting/evaluate.js
|
|
169
169
|
/*******************************************************************************
|
|
@@ -239,13 +239,13 @@ const __default__ = evaluate;
|
|
|
239
239
|
Namespace_default().add ("evaluate", "x_ite/Browser/Scripting/evaluate", __default__);
|
|
240
240
|
/* harmony default export */ const Scripting_evaluate = (__default__);
|
|
241
241
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
242
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
242
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
243
243
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
244
244
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
245
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
245
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
246
246
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
247
247
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
248
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
248
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Base/X3DConstants");
|
|
249
249
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
250
250
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Scripting/X3DScriptNode.js
|
|
251
251
|
/*******************************************************************************
|
|
@@ -342,10 +342,10 @@ const X3DScriptNode_default_ = X3DScriptNode;
|
|
|
342
342
|
Namespace_default().add ("X3DScriptNode", "x_ite/Components/Scripting/X3DScriptNode", X3DScriptNode_default_);
|
|
343
343
|
/* harmony default export */ const Scripting_X3DScriptNode = (X3DScriptNode_default_);
|
|
344
344
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/InputOutput/FileLoader\")"
|
|
345
|
-
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
345
|
+
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/InputOutput/FileLoader");
|
|
346
346
|
var FileLoader_default = /*#__PURE__*/__webpack_require__.n(FileLoader_namespaceObject);
|
|
347
347
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields/SFNodeCache\")"
|
|
348
|
-
const SFNodeCache_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
348
|
+
const SFNodeCache_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Fields/SFNodeCache");
|
|
349
349
|
var SFNodeCache_default = /*#__PURE__*/__webpack_require__.n(SFNodeCache_namespaceObject);
|
|
350
350
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Scripting/Script.js
|
|
351
351
|
/* provided dependency */ var $ = __webpack_require__(823);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v9.5.2 */(()=>{"use strict";var e={823:e=>{e.exports=window[Symbol.for("X_ITE.X3D-9.5.2")].require("lib/jquery")}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Components");var t=o.n(e);const r=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Base/X3DBaseNode");var n=o.n(r);const i=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Base/X3DFieldDefinition");var a=o.n(i);const s=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Base/FieldDefinitionArray");var l=o.n(s);const c=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Base/X3DField");var u=o.n(c);const d=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Base/X3DArrayField");var p=o.n(d);const f=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Fields");var v=o.n(f);const w=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Browser/X3DBrowser");var y=o.n(w);const _=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Configuration/ComponentInfo");var S=o.n(_);const m=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Configuration/ComponentInfoArray");var F=o.n(m);const h=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Configuration/ProfileInfo");var X=o.n(h);const D=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Configuration/ProfileInfoArray");var x=o.n(D);const g=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Configuration/ConcreteNodesArray");var b=o.n(g);const E=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Configuration/AbstractNodesArray");var I=o.n(E);const T=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Configuration/UnitInfo");var M=o.n(T);const N=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Configuration/UnitInfoArray");var O=o.n(N);const A=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Execution/NamedNodesArray");var C=o.n(A);const q=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Execution/ImportedNodesArray");var P=o.n(q);const V=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Execution/X3DImportedNode");var B=o.n(V);const j=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Execution/ExportedNodesArray");var R=o.n(j);const U=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Execution/X3DExportedNode");var z=o.n(U);const L=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Execution/X3DExecutionContext");var $=o.n(L);const G=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Execution/X3DScene");var k=o.n(G);const W=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Prototype/ExternProtoDeclarationArray");var H=o.n(W);const J=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Prototype/ProtoDeclarationArray");var K=o.n(J);const Q=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Prototype/X3DExternProtoDeclaration");var Y=o.n(Q);const Z=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Prototype/X3DProtoDeclaration");var ee=o.n(Z);const te=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Prototype/X3DProtoDeclarationNode");var oe=o.n(te);const re=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Routing/RouteArray");var ne=o.n(re);const ie=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Routing/X3DRoute");var ae=o.n(ie);const se=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Namespace");var le=o.n(se);const ce=function(e,t,o){return new Function("with (arguments [0])\n {\n return eval ((() =>\n {\n const sourceText = arguments [1];\n\n delete arguments [0];\n delete arguments [1];\n\n arguments .length = 0;\n\n return sourceText;\n })\n ());\n }").call(e,t,o)};le().add("evaluate","x_ite/Browser/Scripting/evaluate",ce);const ue=ce,de=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Components/Core/X3DChildNode");var pe=o.n(de);const fe=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Components/Networking/X3DUrlObject");var ve=o.n(fe);const we=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Base/X3DConstants");var ye=o.n(we);function _e(e){pe().call(this,e),ve().call(this,e),this.addType(ye().X3DScriptNode)}Object.assign(Object.setPrototypeOf(_e.prototype,pe().prototype),ve().prototype,{initialize(){pe().prototype.initialize.call(this),ve().prototype.initialize.call(this)},dispose(){ve().prototype.dispose.call(this),pe().prototype.dispose.call(this)}}),Object.defineProperties(_e,{typeName:{value:"X3DScriptNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"Scripting",level:1}),enumerable:!0}});const Se=_e;le().add("X3DScriptNode","x_ite/Components/Scripting/X3DScriptNode",Se);const me=Se,Fe=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/InputOutput/FileLoader");var he=o.n(Fe);const Xe=window[Symbol.for("X_ITE.X3D-9.5.2")].require("x_ite/Fields/SFNodeCache");var De=o.n(Xe),xe=o(823);function ge(e){me.call(this,e),this.addType(ye().Script)}Object.assign(Object.setPrototypeOf(ge.prototype,me.prototype),{initialize(){me.prototype.initialize.call(this),this.requestImmediateLoad().catch(Function.prototype)},getExtendedEventHandling:()=>!1,canUserDefinedFields:()=>!0,addUserDefinedField(e,t,o){me.prototype.addUserDefinedField.call(this,e,t,o),this.isInitialized()&&(this.setLoadState(ye().NOT_STARTED_STATE),this.requestImmediateLoad().catch(Function.prototype))},removeUserDefinedField(e){this.getUserDefinedFields().get(e)?.removeInterest("set_field__",this),me.prototype.removeUserDefinedField.call(this,e),this.isInitialized()&&(this.setLoadState(ye().NOT_STARTED_STATE),this.requestImmediateLoad().catch(Function.prototype))},getSourceText(){return this._url},async unloadData(){const e=this.context?.get("shutdown");"function"==typeof e&&await this.call__(e,"shutdown"),xe(window).off(`.Script${this.getId()}`),this.getBrowser().prepareEvents().removeInterest("call__",this),this.removeInterest("call__",this);for(const e of this.getUserDefinedFields())e.removeInterest("set_field__",this)},async loadData(){await this.unloadData(),new(he())(this).loadDocument(this._url,(e=>{null===e?this.setLoadState(ye().FAILED_STATE):(this.initialize__(xe.decodeText(e)),this.setLoadState(ye().COMPLETE_STATE))}))},createGlobalObject(){const e=()=>this,t={get(t,o){switch(o){case"getScriptNode":return e;case"currentScene":return e().getExecutionContext();default:return t[o]}}},o=new Proxy(this.getBrowser(),t);function r(e){const t=o.createVrmlFromString(e);if(t.length&&t[0])return t[0];throw new Error("SFNode.new: invalid argument.")}r.prototype=v().SFNode.prototype;const i={NULL:{value:null},FALSE:{value:!1},TRUE:{value:!0},print:{value:o.println.bind(o)},trace:{value:o.println.bind(o)},Browser:{value:o},X3DConstants:{value:ye()},X3DBrowser:{value:y()},X3DExecutionContext:{value:$()},X3DScene:{value:k()},ComponentInfo:{value:S()},ComponentInfoArray:{value:F()},ProfileInfo:{value:X()},ProfileInfoArray:{value:x()},ConcreteNodesArray:{value:b()},AbstractNodesArray:{value:I()},UnitInfo:{value:M()},UnitInfoArray:{value:O()},NamedNodesArray:{value:C()},ImportedNodesArray:{value:P()},X3DImportedNode:{value:B()},ExportedNodesArray:{value:R()},X3DExportedNode:{value:z()},ExternProtoDeclarationArray:{value:H()},ProtoDeclarationArray:{value:K()},X3DExternProtoDeclaration:{value:Y()},X3DProtoDeclaration:{value:ee()},X3DProtoDeclarationNode:{value:oe()},RouteArray:{value:ne()},X3DRoute:{value:ae()},X3DBaseNode:{value:n()},X3DFieldDefinition:{value:a()},FieldDefinitionArray:{value:l()},X3DField:{value:u()},X3DArrayField:{value:p()},SFColor:{value:v().SFColor},SFColorRGBA:{value:v().SFColorRGBA},SFImage:{value:v().SFImage},SFMatrix3d:{value:v().SFMatrix3d},SFMatrix3f:{value:v().SFMatrix3f},SFMatrix4d:{value:v().SFMatrix4d},SFMatrix4f:{value:v().SFMatrix4f},SFNode:{value:r},SFRotation:{value:v().SFRotation},SFString:{value:v().SFString},SFVec2d:{value:v().SFVec2d},SFVec2f:{value:v().SFVec2f},SFVec3d:{value:v().SFVec3d},SFVec3f:{value:v().SFVec3f},SFVec4d:{value:v().SFVec4d},SFVec4f:{value:v().SFVec4f},VrmlMatrix:{value:v().VrmlMatrix},MFBool:{value:v().MFBool},MFColor:{value:v().MFColor},MFColorRGBA:{value:v().MFColorRGBA},MFDouble:{value:v().MFDouble},MFFloat:{value:v().MFFloat},MFImage:{value:v().MFImage},MFInt32:{value:v().MFInt32},MFMatrix3d:{value:v().MFMatrix3d},MFMatrix3f:{value:v().MFMatrix3f},MFMatrix4d:{value:v().MFMatrix4d},MFMatrix4f:{value:v().MFMatrix4f},MFNode:{value:v().MFNode},MFRotation:{value:v().MFRotation},MFString:{value:v().MFString},MFTime:{value:v().MFTime},MFVec2d:{value:v().MFVec2d},MFVec2f:{value:v().MFVec2f},MFVec3d:{value:v().MFVec3d},MFVec3f:{value:v().MFVec3f},MFVec4d:{value:v().MFVec4d},MFVec4f:{value:v().MFVec4f}};for(const e of this.getUserDefinedFields()){if(e.getAccessType()===ye().inputOnly)continue;const t=[e.getName()];e.getAccessType()===ye().inputOutput&&t.push(e.getName()+"_changed");for(const o of t)o in i||(i[o]={get:e.valueOf.bind(e),set:e.setValue.bind(e)})}return Object.create(Object.prototype,i)},createContext(e){const t=["initialize","prepareEvents","eventsProcessed","shutdown"];for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case ye().inputOnly:t.push(e.getName());break;case ye().inputOutput:t.push("set_"+e.getName())}e+=";\n["+t.map((e=>`typeof ${e} !== "undefined" ? ${e} : undefined`)).join(",")+"];";const o=this.evaluate(e),r=new Map;for(let e=0;e<t.length;++e)r.set(t[e],o[e]);return r},evaluate(e){return this.globalObject||(this.globalObject=this.createGlobalObject()),ue(De().get(this),this.globalObject,e)},async initialize__(e){const t=this.getBrowser();this.globalObject=this.createGlobalObject(),this.context=this.createContext(e);const o=this.context.get("shutdown");"function"==typeof o&&xe(window).on(`unload.Script${this.getId()}`,(()=>this.call__(o,"shutdown")));const r=this.context.get("prepareEvents");"function"==typeof r&&t.prepareEvents().addInterest("call__",this,r,"prepareEvents");const n=this.context.get("eventsProcessed");"function"==typeof n&&this.addInterest("call__",this,n,"eventsProcessed");for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case ye().inputOnly:{const t=this.context.get(e.getName());"function"==typeof t&&e.addInterest("set_field__",this,t,[]);break}case ye().inputOutput:{const t=this.context.get("set_"+e.getName());"function"==typeof t&&e.addInterest("set_field__",this,t,[]);break}}const i=this.context.get("initialize");"function"==typeof i&&await this.call__(i,"initialize")},async call__(e,t){try{await e.call(De().get(this),this.getBrowser().getCurrentTime())}catch(e){this.setError(`in function '${t}'`,e)}},async set_field__(e,t,o){const r=t.pop()??o.create();try{r.assign(o),await e.call(De().get(this),r.valueOf(),this.getBrowser().getCurrentTime())}catch(e){this.setError(`in function '${o.getName()}'`,e)}finally{t.push(r)}},setError(e,t){const o=this.getExecutionContext().getWorldURL().startsWith("data:")?"data:":this.getExecutionContext().getWorldURL();console.error(`JavaScript Error in Script '${this.getName()}', ${e}\nworld url is '${o}':`),console.error(t)},async dispose(){await this.unloadData(),me.prototype.dispose.call(this)}}),Object.defineProperties(ge,{typeName:{value:"Script",enumerable:!0},componentInfo:{value:Object.freeze({name:"Scripting",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"2.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(ye().inputOutput,"metadata",new(v().SFNode)),new(a())(ye().inputOutput,"description",new(v().SFString)),new(a())(ye().inputOutput,"load",new(v().SFBool)(!0)),new(a())(ye().inputOutput,"url",new(v().MFString)),new(a())(ye().inputOutput,"autoRefresh",new(v().SFTime)),new(a())(ye().inputOutput,"autoRefreshTimeLimit",new(v().SFTime)(3600)),new(a())(ye().initializeOnly,"directOutput",new(v().SFBool)),new(a())(ye().initializeOnly,"mustEvaluate",new(v().SFBool))]),enumerable:!0}});const be=ge;le().add("Script","x_ite/Components/Scripting/Script",be);const Ee=be;t().add({name:"Scripting",concreteNodes:[Ee],abstractNodes:[me]});const Ie=void 0;le().add("Scripting","assets/components/Scripting",Ie)})()})();
|
|
1
|
+
/* X_ITE v9.6.0 */(()=>{"use strict";var e={823:e=>{e.exports=window[Symbol.for("X_ITE.X3D-9.6.0")].require("lib/jquery")}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Components");var t=o.n(e);const r=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Base/X3DBaseNode");var n=o.n(r);const i=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Base/X3DFieldDefinition");var a=o.n(i);const s=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Base/FieldDefinitionArray");var l=o.n(s);const c=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Base/X3DField");var u=o.n(c);const d=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Base/X3DArrayField");var p=o.n(d);const f=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Fields");var v=o.n(f);const w=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Browser/X3DBrowser");var y=o.n(w);const _=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Configuration/ComponentInfo");var S=o.n(_);const m=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Configuration/ComponentInfoArray");var F=o.n(m);const h=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Configuration/ProfileInfo");var X=o.n(h);const D=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Configuration/ProfileInfoArray");var x=o.n(D);const g=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Configuration/ConcreteNodesArray");var b=o.n(g);const E=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Configuration/AbstractNodesArray");var I=o.n(E);const T=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Configuration/UnitInfo");var M=o.n(T);const N=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Configuration/UnitInfoArray");var O=o.n(N);const A=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Execution/NamedNodesArray");var C=o.n(A);const q=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Execution/ImportedNodesArray");var P=o.n(q);const V=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Execution/X3DImportedNode");var B=o.n(V);const j=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Execution/ExportedNodesArray");var R=o.n(j);const U=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Execution/X3DExportedNode");var z=o.n(U);const L=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Execution/X3DExecutionContext");var $=o.n(L);const G=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Execution/X3DScene");var k=o.n(G);const W=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Prototype/ExternProtoDeclarationArray");var H=o.n(W);const J=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Prototype/ProtoDeclarationArray");var K=o.n(J);const Q=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Prototype/X3DExternProtoDeclaration");var Y=o.n(Q);const Z=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Prototype/X3DProtoDeclaration");var ee=o.n(Z);const te=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Prototype/X3DProtoDeclarationNode");var oe=o.n(te);const re=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Routing/RouteArray");var ne=o.n(re);const ie=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Routing/X3DRoute");var ae=o.n(ie);const se=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Namespace");var le=o.n(se);const ce=function(e,t,o){return new Function("with (arguments [0])\n {\n return eval ((() =>\n {\n const sourceText = arguments [1];\n\n delete arguments [0];\n delete arguments [1];\n\n arguments .length = 0;\n\n return sourceText;\n })\n ());\n }").call(e,t,o)};le().add("evaluate","x_ite/Browser/Scripting/evaluate",ce);const ue=ce,de=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Components/Core/X3DChildNode");var pe=o.n(de);const fe=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Components/Networking/X3DUrlObject");var ve=o.n(fe);const we=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Base/X3DConstants");var ye=o.n(we);function _e(e){pe().call(this,e),ve().call(this,e),this.addType(ye().X3DScriptNode)}Object.assign(Object.setPrototypeOf(_e.prototype,pe().prototype),ve().prototype,{initialize(){pe().prototype.initialize.call(this),ve().prototype.initialize.call(this)},dispose(){ve().prototype.dispose.call(this),pe().prototype.dispose.call(this)}}),Object.defineProperties(_e,{typeName:{value:"X3DScriptNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"Scripting",level:1}),enumerable:!0}});const Se=_e;le().add("X3DScriptNode","x_ite/Components/Scripting/X3DScriptNode",Se);const me=Se,Fe=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/InputOutput/FileLoader");var he=o.n(Fe);const Xe=window[Symbol.for("X_ITE.X3D-9.6.0")].require("x_ite/Fields/SFNodeCache");var De=o.n(Xe),xe=o(823);function ge(e){me.call(this,e),this.addType(ye().Script)}Object.assign(Object.setPrototypeOf(ge.prototype,me.prototype),{initialize(){me.prototype.initialize.call(this),this.requestImmediateLoad().catch(Function.prototype)},getExtendedEventHandling:()=>!1,canUserDefinedFields:()=>!0,addUserDefinedField(e,t,o){me.prototype.addUserDefinedField.call(this,e,t,o),this.isInitialized()&&(this.setLoadState(ye().NOT_STARTED_STATE),this.requestImmediateLoad().catch(Function.prototype))},removeUserDefinedField(e){this.getUserDefinedFields().get(e)?.removeInterest("set_field__",this),me.prototype.removeUserDefinedField.call(this,e),this.isInitialized()&&(this.setLoadState(ye().NOT_STARTED_STATE),this.requestImmediateLoad().catch(Function.prototype))},getSourceText(){return this._url},async unloadData(){const e=this.context?.get("shutdown");"function"==typeof e&&await this.call__(e,"shutdown"),xe(window).off(`.Script${this.getId()}`),this.getBrowser().prepareEvents().removeInterest("call__",this),this.removeInterest("call__",this);for(const e of this.getUserDefinedFields())e.removeInterest("set_field__",this)},async loadData(){await this.unloadData(),new(he())(this).loadDocument(this._url,(e=>{null===e?this.setLoadState(ye().FAILED_STATE):(this.initialize__(xe.decodeText(e)),this.setLoadState(ye().COMPLETE_STATE))}))},createGlobalObject(){const e=()=>this,t={get(t,o){switch(o){case"getScriptNode":return e;case"currentScene":return e().getExecutionContext();default:return t[o]}}},o=new Proxy(this.getBrowser(),t);function r(e){const t=o.createVrmlFromString(e);if(t.length&&t[0])return t[0];throw new Error("SFNode.new: invalid argument.")}r.prototype=v().SFNode.prototype;const i={NULL:{value:null},FALSE:{value:!1},TRUE:{value:!0},print:{value:o.println.bind(o)},trace:{value:o.println.bind(o)},Browser:{value:o},X3DConstants:{value:ye()},X3DBrowser:{value:y()},X3DExecutionContext:{value:$()},X3DScene:{value:k()},ComponentInfo:{value:S()},ComponentInfoArray:{value:F()},ProfileInfo:{value:X()},ProfileInfoArray:{value:x()},ConcreteNodesArray:{value:b()},AbstractNodesArray:{value:I()},UnitInfo:{value:M()},UnitInfoArray:{value:O()},NamedNodesArray:{value:C()},ImportedNodesArray:{value:P()},X3DImportedNode:{value:B()},ExportedNodesArray:{value:R()},X3DExportedNode:{value:z()},ExternProtoDeclarationArray:{value:H()},ProtoDeclarationArray:{value:K()},X3DExternProtoDeclaration:{value:Y()},X3DProtoDeclaration:{value:ee()},X3DProtoDeclarationNode:{value:oe()},RouteArray:{value:ne()},X3DRoute:{value:ae()},X3DBaseNode:{value:n()},X3DFieldDefinition:{value:a()},FieldDefinitionArray:{value:l()},X3DField:{value:u()},X3DArrayField:{value:p()},SFColor:{value:v().SFColor},SFColorRGBA:{value:v().SFColorRGBA},SFImage:{value:v().SFImage},SFMatrix3d:{value:v().SFMatrix3d},SFMatrix3f:{value:v().SFMatrix3f},SFMatrix4d:{value:v().SFMatrix4d},SFMatrix4f:{value:v().SFMatrix4f},SFNode:{value:r},SFRotation:{value:v().SFRotation},SFString:{value:v().SFString},SFVec2d:{value:v().SFVec2d},SFVec2f:{value:v().SFVec2f},SFVec3d:{value:v().SFVec3d},SFVec3f:{value:v().SFVec3f},SFVec4d:{value:v().SFVec4d},SFVec4f:{value:v().SFVec4f},VrmlMatrix:{value:v().VrmlMatrix},MFBool:{value:v().MFBool},MFColor:{value:v().MFColor},MFColorRGBA:{value:v().MFColorRGBA},MFDouble:{value:v().MFDouble},MFFloat:{value:v().MFFloat},MFImage:{value:v().MFImage},MFInt32:{value:v().MFInt32},MFMatrix3d:{value:v().MFMatrix3d},MFMatrix3f:{value:v().MFMatrix3f},MFMatrix4d:{value:v().MFMatrix4d},MFMatrix4f:{value:v().MFMatrix4f},MFNode:{value:v().MFNode},MFRotation:{value:v().MFRotation},MFString:{value:v().MFString},MFTime:{value:v().MFTime},MFVec2d:{value:v().MFVec2d},MFVec2f:{value:v().MFVec2f},MFVec3d:{value:v().MFVec3d},MFVec3f:{value:v().MFVec3f},MFVec4d:{value:v().MFVec4d},MFVec4f:{value:v().MFVec4f}};for(const e of this.getUserDefinedFields()){if(e.getAccessType()===ye().inputOnly)continue;const t=[e.getName()];e.getAccessType()===ye().inputOutput&&t.push(e.getName()+"_changed");for(const o of t)o in i||(i[o]={get:e.valueOf.bind(e),set:e.setValue.bind(e)})}return Object.create(Object.prototype,i)},createContext(e){const t=["initialize","prepareEvents","eventsProcessed","shutdown"];for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case ye().inputOnly:t.push(e.getName());break;case ye().inputOutput:t.push("set_"+e.getName())}e+=";\n["+t.map((e=>`typeof ${e} !== "undefined" ? ${e} : undefined`)).join(",")+"];";const o=this.evaluate(e),r=new Map;for(let e=0;e<t.length;++e)r.set(t[e],o[e]);return r},evaluate(e){return this.globalObject||(this.globalObject=this.createGlobalObject()),ue(De().get(this),this.globalObject,e)},async initialize__(e){const t=this.getBrowser();this.globalObject=this.createGlobalObject(),this.context=this.createContext(e);const o=this.context.get("shutdown");"function"==typeof o&&xe(window).on(`unload.Script${this.getId()}`,(()=>this.call__(o,"shutdown")));const r=this.context.get("prepareEvents");"function"==typeof r&&t.prepareEvents().addInterest("call__",this,r,"prepareEvents");const n=this.context.get("eventsProcessed");"function"==typeof n&&this.addInterest("call__",this,n,"eventsProcessed");for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case ye().inputOnly:{const t=this.context.get(e.getName());"function"==typeof t&&e.addInterest("set_field__",this,t,[]);break}case ye().inputOutput:{const t=this.context.get("set_"+e.getName());"function"==typeof t&&e.addInterest("set_field__",this,t,[]);break}}const i=this.context.get("initialize");"function"==typeof i&&await this.call__(i,"initialize")},async call__(e,t){try{await e.call(De().get(this),this.getBrowser().getCurrentTime())}catch(e){this.setError(`in function '${t}'`,e)}},async set_field__(e,t,o){const r=t.pop()??o.create();try{r.assign(o),await e.call(De().get(this),r.valueOf(),this.getBrowser().getCurrentTime())}catch(e){this.setError(`in function '${o.getName()}'`,e)}finally{t.push(r)}},setError(e,t){const o=this.getExecutionContext().getWorldURL().startsWith("data:")?"data:":this.getExecutionContext().getWorldURL();console.error(`JavaScript Error in Script '${this.getName()}', ${e}\nworld url is '${o}':`),console.error(t)},async dispose(){await this.unloadData(),me.prototype.dispose.call(this)}}),Object.defineProperties(ge,{typeName:{value:"Script",enumerable:!0},componentInfo:{value:Object.freeze({name:"Scripting",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"2.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(ye().inputOutput,"metadata",new(v().SFNode)),new(a())(ye().inputOutput,"description",new(v().SFString)),new(a())(ye().inputOutput,"load",new(v().SFBool)(!0)),new(a())(ye().inputOutput,"url",new(v().MFString)),new(a())(ye().inputOutput,"autoRefresh",new(v().SFTime)),new(a())(ye().inputOutput,"autoRefreshTimeLimit",new(v().SFTime)(3600)),new(a())(ye().initializeOnly,"directOutput",new(v().SFBool)),new(a())(ye().initializeOnly,"mustEvaluate",new(v().SFBool))]),enumerable:!0}});const be=ge;le().add("Script","x_ite/Components/Scripting/Script",be);const Ee=be;t().add({name:"Scripting",concreteNodes:[Ee],abstractNodes:[me]});const Ie=void 0;le().add("Scripting","assets/components/Scripting",Ie)})()})();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* X_ITE v9.
|
|
1
|
+
/* X_ITE v9.6.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 439:
|
|
5
5
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -14488,7 +14488,7 @@
|
|
|
14488
14488
|
/***/ ((module) => {
|
|
14489
14489
|
|
|
14490
14490
|
"use strict";
|
|
14491
|
-
module.exports = window [Symbol .for ("X_ITE.X3D-9.
|
|
14491
|
+
module.exports = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("lib/jquery");
|
|
14492
14492
|
|
|
14493
14493
|
/***/ }),
|
|
14494
14494
|
|
|
@@ -14564,25 +14564,25 @@ var __webpack_exports__ = {};
|
|
|
14564
14564
|
// UNUSED EXPORTS: default
|
|
14565
14565
|
|
|
14566
14566
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
14567
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14567
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Components");
|
|
14568
14568
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
14569
14569
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
14570
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14570
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Fields");
|
|
14571
14571
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
14572
14572
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
14573
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14573
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
14574
14574
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
14575
14575
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
14576
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14576
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
14577
14577
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
14578
14578
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
14579
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14579
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Components/Core/X3DNode");
|
|
14580
14580
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
14581
14581
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
14582
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14582
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
14583
14583
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
14584
14584
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
14585
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14585
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Namespace");
|
|
14586
14586
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
14587
14587
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/TextAlignment.js
|
|
14588
14588
|
/*******************************************************************************
|
|
@@ -14648,12 +14648,12 @@ const __default__ = TextAlignment;
|
|
|
14648
14648
|
Namespace_default().add ("TextAlignment", "x_ite/Browser/Text/TextAlignment", __default__);
|
|
14649
14649
|
/* harmony default export */ const Text_TextAlignment = (__default__);
|
|
14650
14650
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/InputOutput/FileLoader\")"
|
|
14651
|
-
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14651
|
+
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/InputOutput/FileLoader");
|
|
14652
14652
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
14653
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14653
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Base/X3DConstants");
|
|
14654
14654
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
14655
14655
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Networking/URLs\")"
|
|
14656
|
-
const URLs_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14656
|
+
const URLs_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Browser/Networking/URLs");
|
|
14657
14657
|
var URLs_default = /*#__PURE__*/__webpack_require__.n(URLs_namespaceObject);
|
|
14658
14658
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Text/X3DFontStyleNode.js
|
|
14659
14659
|
/*******************************************************************************
|
|
@@ -14712,30 +14712,29 @@ var URLs_default = /*#__PURE__*/__webpack_require__.n(URLs_namespaceObject);
|
|
|
14712
14712
|
|
|
14713
14713
|
|
|
14714
14714
|
/*
|
|
14715
|
-
* Font paths for default SERIF, SANS and
|
|
14715
|
+
* Font paths for default SERIF, SANS and TYPEWRITER families.
|
|
14716
14716
|
*/
|
|
14717
14717
|
|
|
14718
|
-
const Fonts =
|
|
14719
|
-
|
|
14720
|
-
|
|
14721
|
-
|
|
14722
|
-
|
|
14723
|
-
|
|
14724
|
-
|
|
14725
|
-
|
|
14726
|
-
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
|
|
14734
|
-
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
|
|
14738
|
-
};
|
|
14718
|
+
const Fonts = new Map ([
|
|
14719
|
+
["SERIF", new Map ([
|
|
14720
|
+
["PLAIN", URLs_default().getFontsURL ("DroidSerif-Regular.ttf")],
|
|
14721
|
+
["ITALIC", URLs_default().getFontsURL ("DroidSerif-Italic.ttf")],
|
|
14722
|
+
["BOLD", URLs_default().getFontsURL ("DroidSerif-Bold.ttf")],
|
|
14723
|
+
["BOLDITALIC", URLs_default().getFontsURL ("DroidSerif-BoldItalic.ttf")],
|
|
14724
|
+
])],
|
|
14725
|
+
["SANS", new Map ([
|
|
14726
|
+
["PLAIN", URLs_default().getFontsURL ("Ubuntu-R.ttf")],
|
|
14727
|
+
["ITALIC", URLs_default().getFontsURL ("Ubuntu-RI.ttf")],
|
|
14728
|
+
["BOLD", URLs_default().getFontsURL ("Ubuntu-B.ttf")],
|
|
14729
|
+
["BOLDITALIC", URLs_default().getFontsURL ("Ubuntu-BI.ttf")],
|
|
14730
|
+
])],
|
|
14731
|
+
["TYPEWRITER", new Map ([
|
|
14732
|
+
["PLAIN", URLs_default().getFontsURL ("UbuntuMono-R.ttf")],
|
|
14733
|
+
["ITALIC", URLs_default().getFontsURL ("UbuntuMono-RI.ttf")],
|
|
14734
|
+
["BOLD", URLs_default().getFontsURL ("UbuntuMono-B.ttf")],
|
|
14735
|
+
["BOLDITALIC", URLs_default().getFontsURL ("UbuntuMono-BI.ttf")],
|
|
14736
|
+
])],
|
|
14737
|
+
]);
|
|
14739
14738
|
|
|
14740
14739
|
function X3DFontStyleNode (executionContext)
|
|
14741
14740
|
{
|
|
@@ -14837,10 +14836,10 @@ Object .assign (Object .setPrototypeOf (X3DFontStyleNode .prototype, (X3DNode_de
|
|
|
14837
14836
|
},
|
|
14838
14837
|
getDefaultFont (familyName)
|
|
14839
14838
|
{
|
|
14840
|
-
const family = Fonts
|
|
14839
|
+
const family = Fonts .get (familyName);
|
|
14841
14840
|
|
|
14842
14841
|
if (family)
|
|
14843
|
-
return family
|
|
14842
|
+
return family .get (this ._style .getValue ()) ?? family .get ("PLAIN");
|
|
14844
14843
|
|
|
14845
14844
|
return;
|
|
14846
14845
|
},
|
|
@@ -14857,7 +14856,7 @@ Object .assign (Object .setPrototypeOf (X3DFontStyleNode .prototype, (X3DNode_de
|
|
|
14857
14856
|
this .familyStack .length = 0;
|
|
14858
14857
|
|
|
14859
14858
|
for (const familyName of family)
|
|
14860
|
-
this .familyStack .push (this .getDefaultFont (familyName)
|
|
14859
|
+
this .familyStack .push (this .getDefaultFont (familyName) ?? familyName);
|
|
14861
14860
|
|
|
14862
14861
|
this .loadNext ();
|
|
14863
14862
|
},
|
|
@@ -14922,19 +14921,19 @@ const X3DFontStyleNode_default_ = X3DFontStyleNode;
|
|
|
14922
14921
|
Namespace_default().add ("X3DFontStyleNode", "x_ite/Components/Text/X3DFontStyleNode", X3DFontStyleNode_default_);
|
|
14923
14922
|
/* harmony default export */ const Text_X3DFontStyleNode = (X3DFontStyleNode_default_);
|
|
14924
14923
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Core/PrimitiveQuality\")"
|
|
14925
|
-
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14924
|
+
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Browser/Core/PrimitiveQuality");
|
|
14926
14925
|
var PrimitiveQuality_default = /*#__PURE__*/__webpack_require__.n(PrimitiveQuality_namespaceObject);
|
|
14927
14926
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box2\")"
|
|
14928
|
-
const Box2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14927
|
+
const Box2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("standard/Math/Geometry/Box2");
|
|
14929
14928
|
var Box2_default = /*#__PURE__*/__webpack_require__.n(Box2_namespaceObject);
|
|
14930
14929
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
|
14931
|
-
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14930
|
+
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("standard/Math/Geometry/Box3");
|
|
14932
14931
|
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
14933
14932
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
14934
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14933
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("standard/Math/Numbers/Vector2");
|
|
14935
14934
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
14936
14935
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
14937
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
14936
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("standard/Math/Numbers/Vector3");
|
|
14938
14937
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
14939
14938
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/X3DTextGeometry.js
|
|
14940
14939
|
/*******************************************************************************
|
|
@@ -15556,13 +15555,13 @@ const X3DTextGeometry_default_ = X3DTextGeometry;
|
|
|
15556
15555
|
Namespace_default().add ("X3DTextGeometry", "x_ite/Browser/Text/X3DTextGeometry", X3DTextGeometry_default_);
|
|
15557
15556
|
/* harmony default export */ const Text_X3DTextGeometry = (X3DTextGeometry_default_);
|
|
15558
15557
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
15559
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
15558
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("standard/Math/Numbers/Matrix4");
|
|
15560
15559
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
15561
15560
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithms/Bezier\")"
|
|
15562
|
-
const Bezier_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
15561
|
+
const Bezier_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("standard/Math/Algorithms/Bezier");
|
|
15563
15562
|
var Bezier_default = /*#__PURE__*/__webpack_require__.n(Bezier_namespaceObject);
|
|
15564
15563
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"lib/libtess\")"
|
|
15565
|
-
const libtess_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
15564
|
+
const libtess_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("lib/libtess");
|
|
15566
15565
|
var libtess_default = /*#__PURE__*/__webpack_require__.n(libtess_namespaceObject);
|
|
15567
15566
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/PolygonText.js
|
|
15568
15567
|
/*******************************************************************************
|
|
@@ -15891,7 +15890,7 @@ Object .assign (Object .setPrototypeOf (PolygonText .prototype, Text_X3DTextGeom
|
|
|
15891
15890
|
|
|
15892
15891
|
tessy .gluTessCallback ((libtess_default()).gluEnum .GLU_TESS_VERTEX_DATA, vertexCallback);
|
|
15893
15892
|
tessy .gluTessCallback ((libtess_default()).gluEnum .GLU_TESS_COMBINE, combineCallback);
|
|
15894
|
-
tessy .gluTessProperty ((libtess_default()).gluEnum .GLU_TESS_WINDING_RULE, (libtess_default()).windingRule .
|
|
15893
|
+
tessy .gluTessProperty ((libtess_default()).gluEnum .GLU_TESS_WINDING_RULE, (libtess_default()).windingRule .GLU_TESS_WINDING_NONZERO);
|
|
15895
15894
|
tessy .gluTessNormal (0, 0, 1);
|
|
15896
15895
|
|
|
15897
15896
|
return function (contours, triangles)
|
|
@@ -16049,7 +16048,7 @@ Namespace_default().add ("FontStyle", "x_ite/Components/Text/FontStyle", FontSty
|
|
|
16049
16048
|
/* harmony default export */ const Text_FontStyle = (FontStyle_default_);
|
|
16050
16049
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/X3DTextContext.js
|
|
16051
16050
|
/* provided dependency */ var $ = __webpack_require__(823);
|
|
16052
|
-
/* provided dependency */ var opentype = __webpack_require__(
|
|
16051
|
+
/* provided dependency */ var opentype = __webpack_require__(439);
|
|
16053
16052
|
/*******************************************************************************
|
|
16054
16053
|
*
|
|
16055
16054
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -16189,10 +16188,10 @@ const X3DTextContext_default_ = X3DTextContext;
|
|
|
16189
16188
|
Namespace_default().add ("X3DTextContext", "x_ite/Browser/Text/X3DTextContext", X3DTextContext_default_);
|
|
16190
16189
|
/* harmony default export */ const Text_X3DTextContext = (X3DTextContext_default_);
|
|
16191
16190
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
16192
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
16191
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
16193
16192
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
16194
16193
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
16195
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
16194
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.6.0")] .require ("x_ite/Base/X3DCast");
|
|
16196
16195
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
16197
16196
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Text/Text.js
|
|
16198
16197
|
/*******************************************************************************
|