@wcardinal/wcardinal-ui 0.459.0-beta.3 → 0.459.0-beta.4

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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.459.0-beta.3
2
+ Winter Cardinal UI v0.459.0-beta.4
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -50270,81 +50270,95 @@
50270
50270
  // Parent Points Id
50271
50271
  this._parentPointsId = this._parent.points.id;
50272
50272
  // Vertices
50273
- var vertexId = parsed[0];
50274
- if (0 <= vertexId && vertexId < resourcesLength) {
50275
- var vertices = manager.getExtension(vertexId);
50276
- if (vertices == null) {
50277
- vertices = JSON.parse(resources[vertexId]);
50278
- manager.setExtension(vertexId, vertices);
50273
+ {
50274
+ var vertexId = parsed[0];
50275
+ if (0 <= vertexId && vertexId < resourcesLength) {
50276
+ var vertices = manager.getExtension(vertexId);
50277
+ if (vertices == null) {
50278
+ vertices = JSON.parse(resources[vertexId]);
50279
+ manager.setExtension(vertexId, vertices);
50280
+ }
50281
+ this._vertices = vertices;
50282
+ this._nvertices = vertices.length >> 1;
50279
50283
  }
50280
- this._vertices = vertices;
50281
- this._nvertices = vertices.length >> 1;
50282
50284
  }
50283
50285
  // Distances
50284
- var distanceId = parsed[1];
50285
- if (0 <= distanceId && distanceId < resourcesLength) {
50286
- var distances = manager.getExtension(distanceId);
50287
- if (distances == null) {
50288
- distances = JSON.parse(resources[distanceId]);
50289
- manager.setExtension(distanceId, distances);
50286
+ {
50287
+ var distanceId = parsed[1];
50288
+ if (0 <= distanceId && distanceId < resourcesLength) {
50289
+ var distances = manager.getExtension(distanceId);
50290
+ if (distances == null) {
50291
+ distances = JSON.parse(resources[distanceId]);
50292
+ manager.setExtension(distanceId, distances);
50293
+ }
50294
+ this._distances = distances;
50290
50295
  }
50291
- this._distances = distances;
50292
50296
  }
50293
50297
  // Lengths
50294
- var lengthId = parsed[2];
50295
- if (0 <= lengthId && lengthId < resourcesLength) {
50296
- var lengths = manager.getExtension(lengthId);
50297
- if (lengths == null) {
50298
- lengths = JSON.parse(resources[lengthId]);
50299
- manager.setExtension(lengthId, lengths);
50298
+ {
50299
+ var lengthId = parsed[2];
50300
+ if (0 <= lengthId && lengthId < resourcesLength) {
50301
+ var lengths = manager.getExtension(lengthId);
50302
+ if (lengths == null) {
50303
+ lengths = JSON.parse(resources[lengthId]);
50304
+ manager.setExtension(lengthId, lengths);
50305
+ }
50306
+ this._lengths = lengths;
50300
50307
  }
50301
- this._lengths = lengths;
50302
50308
  }
50303
50309
  // Clippings
50304
- var clippingId = parsed[3];
50305
- if (0 <= clippingId && clippingId < resourcesLength) {
50306
- var clippings = manager.getExtension(clippingId);
50307
- if (clippings == null) {
50308
- clippings = JSON.parse(resources[clippingId]);
50309
- manager.setExtension(clippingId, clippings);
50310
+ {
50311
+ var clippingId = parsed[3];
50312
+ if (0 <= clippingId && clippingId < resourcesLength) {
50313
+ var clippings = manager.getExtension(clippingId);
50314
+ if (clippings == null) {
50315
+ clippings = JSON.parse(resources[clippingId]);
50316
+ manager.setExtension(clippingId, clippings);
50317
+ }
50318
+ this._clippings = clippings;
50310
50319
  }
50311
- this._clippings = clippings;
50312
50320
  }
50313
50321
  // UVs
50314
- var uvId = parsed[4];
50315
- if (0 <= uvId && uvId < resourcesLength) {
50316
- var uvs = manager.getExtension(uvId);
50317
- if (uvs == null) {
50318
- uvs = JSON.parse(resources[uvId]);
50319
- manager.setExtension(uvId, uvs);
50322
+ {
50323
+ var uvId = parsed[4];
50324
+ if (0 <= uvId && uvId < resourcesLength) {
50325
+ var uvs = manager.getExtension(uvId);
50326
+ if (uvs == null) {
50327
+ uvs = JSON.parse(resources[uvId]);
50328
+ manager.setExtension(uvId, uvs);
50329
+ }
50330
+ this._uvs = uvs;
50320
50331
  }
50321
- this._uvs = uvs;
50322
50332
  }
50323
50333
  // Indices
50324
- var indexId = parsed[5];
50325
- if (0 <= indexId && indexId < resourcesLength) {
50326
- var indices = manager.getExtension(indexId);
50327
- if (indices == null) {
50328
- indices = JSON.parse(resources[indexId]);
50329
- manager.setExtension(indexId, indices);
50334
+ {
50335
+ var indexId = parsed[5];
50336
+ if (0 <= indexId && indexId < resourcesLength) {
50337
+ var indices = manager.getExtension(indexId);
50338
+ if (indices == null) {
50339
+ indices = JSON.parse(resources[indexId]);
50340
+ manager.setExtension(indexId, indices);
50341
+ }
50342
+ this._indices = indices;
50343
+ this._nindices = indices.length / 3;
50330
50344
  }
50331
- this._indices = indices;
50332
- this._nindices = indices.length / 3;
50333
50345
  }
50334
50346
  // Boundary
50335
- var boundaryId = parsed[6];
50336
- if (boundaryId != null) {
50337
- if (0 <= boundaryId && boundaryId < resourcesLength) {
50338
- var boundary = manager.getExtension(boundaryId);
50339
- if (boundary == null) {
50340
- boundary = JSON.parse(resources[indexId]);
50341
- manager.setExtension(indexId, boundary);
50347
+ {
50348
+ var boundaryId = parsed[6];
50349
+ if (boundaryId != null) {
50350
+ if (0 <= boundaryId && boundaryId < resourcesLength) {
50351
+ var boundary = manager.getExtension(boundaryId);
50352
+ if (boundary == null) {
50353
+ boundary = JSON.parse(resources[boundaryId]);
50354
+ manager.setExtension(boundaryId, boundary);
50355
+ }
50356
+ this._boundary = boundary;
50342
50357
  }
50343
- this._boundary = boundary;
50344
50358
  }
50345
- }
50346
- else {
50347
- toPointsBoundary(this._vertices, this._boundary);
50359
+ else {
50360
+ toPointsBoundary(this._vertices, this._boundary);
50361
+ }
50348
50362
  }
50349
50363
  this._id += 1;
50350
50364
  }
@@ -50406,7 +50420,7 @@
50406
50420
  if (!filled && sw <= 0) {
50407
50421
  return false;
50408
50422
  }
50409
- var values = shape.points.values;
50423
+ var values = shape.points.formatted.values;
50410
50424
  var valuesLength = values.length;
50411
50425
  if (6 <= valuesLength) {
50412
50426
  var count = 0;