@xviewer.js/debug 1.0.0-alpha.10 → 1.0.0-alpha.11

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/dist/module.js CHANGED
@@ -2234,12 +2234,35 @@ class GUI {
2234
2234
  }
2235
2235
  }
2236
2236
 
2237
- function _ts_decorate(decorators, target, key, desc) {
2238
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2239
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2240
- else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2241
- return c > 3 && r && Object.defineProperty(target, key, r), r;
2237
+ /******************************************************************************
2238
+ Copyright (c) Microsoft Corporation.
2239
+
2240
+ Permission to use, copy, modify, and/or distribute this software for any
2241
+ purpose with or without fee is hereby granted.
2242
+
2243
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2244
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2245
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2246
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2247
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2248
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2249
+ PERFORMANCE OF THIS SOFTWARE.
2250
+ ***************************************************************************** */
2251
+ /* global Reflect, Promise, SuppressedError, Symbol */
2252
+
2253
+
2254
+ function __decorate(decorators, target, key, desc) {
2255
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2256
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2257
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2258
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2242
2259
  }
2260
+
2261
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
2262
+ var e = new Error(message);
2263
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
2264
+ };
2265
+
2243
2266
  class InspectorPlugin extends Plugin {
2244
2267
  static _getTargetName(target) {
2245
2268
  return target.name || target.constructor.name || target.type;
@@ -2429,7 +2452,7 @@ class ViewerExtension extends ObjectInstance {
2429
2452
  this._renderer = viewer.renderer;
2430
2453
  }
2431
2454
  }
2432
- _ts_decorate([
2455
+ __decorate([
2433
2456
  property({
2434
2457
  value: {
2435
2458
  SRGBColorSpace: "srgb",
@@ -2439,7 +2462,7 @@ _ts_decorate([
2439
2462
  }
2440
2463
  })
2441
2464
  ], ViewerExtension.prototype, "outputColorSpace", null);
2442
- _ts_decorate([
2465
+ __decorate([
2443
2466
  property({
2444
2467
  value: {
2445
2468
  NoToneMapping: 0,
@@ -2450,17 +2473,17 @@ _ts_decorate([
2450
2473
  }
2451
2474
  })
2452
2475
  ], ViewerExtension.prototype, "toneMapping", null);
2453
- _ts_decorate([
2476
+ __decorate([
2454
2477
  property({
2455
2478
  min: 0,
2456
2479
  max: 10,
2457
2480
  step: 0.01
2458
2481
  })
2459
2482
  ], ViewerExtension.prototype, "toneMappingExposure", null);
2460
- _ts_decorate([
2483
+ __decorate([
2461
2484
  property
2462
2485
  ], ViewerExtension.prototype, "shadows", null);
2463
- _ts_decorate([
2486
+ __decorate([
2464
2487
  property({
2465
2488
  min: 0,
2466
2489
  max: 1,