babylonjs-loaders 6.1.0 → 6.3.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.
@@ -7,7 +7,7 @@
7
7
  exports["babylonjs-loaders"] = factory(require("babylonjs"));
8
8
  else
9
9
  root["LOADERS"] = factory(root["BABYLON"]);
10
- })((typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : this), (__WEBPACK_EXTERNAL_MODULE_core_Maths_math_color__) => {
10
+ })((typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : this), (__WEBPACK_EXTERNAL_MODULE_core_Misc_observable__) => {
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
@@ -31,6 +31,7 @@ __webpack_require__.r(__webpack_exports__);
31
31
  /* harmony export */ "__classPrivateFieldSet": () => (/* binding */ __classPrivateFieldSet),
32
32
  /* harmony export */ "__createBinding": () => (/* binding */ __createBinding),
33
33
  /* harmony export */ "__decorate": () => (/* binding */ __decorate),
34
+ /* harmony export */ "__esDecorate": () => (/* binding */ __esDecorate),
34
35
  /* harmony export */ "__exportStar": () => (/* binding */ __exportStar),
35
36
  /* harmony export */ "__extends": () => (/* binding */ __extends),
36
37
  /* harmony export */ "__generator": () => (/* binding */ __generator),
@@ -39,8 +40,11 @@ __webpack_require__.r(__webpack_exports__);
39
40
  /* harmony export */ "__makeTemplateObject": () => (/* binding */ __makeTemplateObject),
40
41
  /* harmony export */ "__metadata": () => (/* binding */ __metadata),
41
42
  /* harmony export */ "__param": () => (/* binding */ __param),
43
+ /* harmony export */ "__propKey": () => (/* binding */ __propKey),
42
44
  /* harmony export */ "__read": () => (/* binding */ __read),
43
45
  /* harmony export */ "__rest": () => (/* binding */ __rest),
46
+ /* harmony export */ "__runInitializers": () => (/* binding */ __runInitializers),
47
+ /* harmony export */ "__setFunctionName": () => (/* binding */ __setFunctionName),
44
48
  /* harmony export */ "__spread": () => (/* binding */ __spread),
45
49
  /* harmony export */ "__spreadArray": () => (/* binding */ __spreadArray),
46
50
  /* harmony export */ "__spreadArrays": () => (/* binding */ __spreadArrays),
@@ -111,6 +115,51 @@ function __param(paramIndex, decorator) {
111
115
  return function (target, key) { decorator(target, key, paramIndex); }
112
116
  }
113
117
 
118
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
119
+ function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
120
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
121
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
122
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
123
+ var _, done = false;
124
+ for (var i = decorators.length - 1; i >= 0; i--) {
125
+ var context = {};
126
+ for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
127
+ for (var p in contextIn.access) context.access[p] = contextIn.access[p];
128
+ context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
129
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
130
+ if (kind === "accessor") {
131
+ if (result === void 0) continue;
132
+ if (result === null || typeof result !== "object") throw new TypeError("Object expected");
133
+ if (_ = accept(result.get)) descriptor.get = _;
134
+ if (_ = accept(result.set)) descriptor.set = _;
135
+ if (_ = accept(result.init)) initializers.push(_);
136
+ }
137
+ else if (_ = accept(result)) {
138
+ if (kind === "field") initializers.push(_);
139
+ else descriptor[key] = _;
140
+ }
141
+ }
142
+ if (target) Object.defineProperty(target, contextIn.name, descriptor);
143
+ done = true;
144
+ };
145
+
146
+ function __runInitializers(thisArg, initializers, value) {
147
+ var useValue = arguments.length > 2;
148
+ for (var i = 0; i < initializers.length; i++) {
149
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
150
+ }
151
+ return useValue ? value : void 0;
152
+ };
153
+
154
+ function __propKey(x) {
155
+ return typeof x === "symbol" ? x : "".concat(x);
156
+ };
157
+
158
+ function __setFunctionName(f, name, prefix) {
159
+ if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
160
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
161
+ };
162
+
114
163
  function __metadata(metadataKey, metadataValue) {
115
164
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
116
165
  }
@@ -243,7 +292,7 @@ function __asyncGenerator(thisArg, _arguments, generator) {
243
292
  function __asyncDelegator(o) {
244
293
  var i, p;
245
294
  return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
246
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
295
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
247
296
  }
248
297
 
249
298
  function __asyncValues(o) {
@@ -392,7 +441,7 @@ __webpack_require__.r(__webpack_exports__);
392
441
  /* harmony export */ "GLTFLoaderExtension": () => (/* binding */ GLTFLoaderExtension)
393
442
  /* harmony export */ });
394
443
  /* harmony import */ var _glTFLoaderInterfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./glTFLoaderInterfaces */ "../../../lts/loaders/dist/glTF/1.0/glTFLoaderInterfaces.js");
395
- /* harmony import */ var core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/Engines/constants */ "core/Maths/math.color");
444
+ /* harmony import */ var core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/Engines/constants */ "core/Misc/observable");
396
445
  /* harmony import */ var core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__);
397
446
  /* harmony import */ var _glTFLoaderUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./glTFLoaderUtils */ "../../../lts/loaders/dist/glTF/1.0/glTFLoaderUtils.js");
398
447
  /* harmony import */ var _glTFFileLoader__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../glTFFileLoader */ "../../../lts/loaders/dist/glTF/glTFFileLoader.js");
@@ -2342,7 +2391,7 @@ __webpack_require__.r(__webpack_exports__);
2342
2391
  /* harmony export */ "GLTFUtils": () => (/* binding */ GLTFUtils)
2343
2392
  /* harmony export */ });
2344
2393
  /* harmony import */ var _glTFLoaderInterfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./glTFLoaderInterfaces */ "../../../lts/loaders/dist/glTF/1.0/glTFLoaderInterfaces.js");
2345
- /* harmony import */ var core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/Materials/Textures/texture */ "core/Maths/math.color");
2394
+ /* harmony import */ var core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/Materials/Textures/texture */ "core/Misc/observable");
2346
2395
  /* harmony import */ var core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_1__);
2347
2396
 
2348
2397
 
@@ -2611,7 +2660,7 @@ __webpack_require__.r(__webpack_exports__);
2611
2660
  /* harmony export */ });
2612
2661
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.js");
2613
2662
  /* harmony import */ var _glTFLoader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./glTFLoader */ "../../../lts/loaders/dist/glTF/1.0/glTFLoader.js");
2614
- /* harmony import */ var core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core/Lights/spotLight */ "core/Maths/math.color");
2663
+ /* harmony import */ var core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core/Lights/spotLight */ "core/Misc/observable");
2615
2664
  /* harmony import */ var core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_Maths_math_vector__WEBPACK_IMPORTED_MODULE_2__);
2616
2665
 
2617
2666
 
@@ -2799,7 +2848,7 @@ __webpack_require__.r(__webpack_exports__);
2799
2848
  /* harmony export */ "GLTFLoaderCoordinateSystemMode": () => (/* binding */ GLTFLoaderCoordinateSystemMode),
2800
2849
  /* harmony export */ "GLTFLoaderState": () => (/* binding */ GLTFLoaderState)
2801
2850
  /* harmony export */ });
2802
- /* harmony import */ var core_Misc_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/error */ "core/Maths/math.color");
2851
+ /* harmony import */ var core_Misc_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/error */ "core/Misc/observable");
2803
2852
  /* harmony import */ var core_Misc_observable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_observable__WEBPACK_IMPORTED_MODULE_0__);
2804
2853
  /* harmony import */ var _glTFValidation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./glTFValidation */ "../../../lts/loaders/dist/glTF/glTFValidation.js");
2805
2854
 
@@ -3724,7 +3773,7 @@ __webpack_require__.r(__webpack_exports__);
3724
3773
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3725
3774
  /* harmony export */ "GLTFValidation": () => (/* binding */ GLTFValidation)
3726
3775
  /* harmony export */ });
3727
- /* harmony import */ var core_Misc_tools__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/tools */ "core/Maths/math.color");
3776
+ /* harmony import */ var core_Misc_tools__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/tools */ "core/Misc/observable");
3728
3777
  /* harmony import */ var core_Misc_tools__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_tools__WEBPACK_IMPORTED_MODULE_0__);
3729
3778
 
3730
3779
  function validateAsync(data, rootUrl, fileName, getExternalResource) {
@@ -3945,13 +3994,13 @@ __webpack_require__.r(__webpack_exports__);
3945
3994
 
3946
3995
  /***/ }),
3947
3996
 
3948
- /***/ "core/Maths/math.color":
3997
+ /***/ "core/Misc/observable":
3949
3998
  /*!****************************************************************************************************!*\
3950
3999
  !*** external {"root":"BABYLON","commonjs":"babylonjs","commonjs2":"babylonjs","amd":"babylonjs"} ***!
3951
4000
  \****************************************************************************************************/
3952
4001
  /***/ ((module) => {
3953
4002
 
3954
- module.exports = __WEBPACK_EXTERNAL_MODULE_core_Maths_math_color__;
4003
+ module.exports = __WEBPACK_EXTERNAL_MODULE_core_Misc_observable__;
3955
4004
 
3956
4005
  /***/ })
3957
4006