@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.
- package/dist/wcardinal/ui/shape/variant/e-shape-polygon-triangulated-impl.js +69 -55
- package/dist/wcardinal/ui/shape/variant/e-shape-polygon-triangulated-impl.js.map +1 -1
- package/dist/wcardinal/ui/shape/variant/hit-test-polygon.js +1 -1
- package/dist/wcardinal/ui/shape/variant/hit-test-polygon.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.js +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.min.js +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.js +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +1 -1
- package/dist/wcardinal-ui-theme-dark.js +1 -1
- package/dist/wcardinal-ui-theme-dark.min.js +1 -1
- package/dist/wcardinal-ui-theme-white-en-us.js +1 -1
- package/dist/wcardinal-ui-theme-white-en-us.min.js +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.js +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js +1 -1
- package/dist/wcardinal-ui-theme-white.js +1 -1
- package/dist/wcardinal-ui-theme-white.min.js +1 -1
- package/dist/wcardinal-ui.cjs.js +71 -57
- package/dist/wcardinal-ui.js +71 -57
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
package/dist/wcardinal-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.459.0-beta.
|
|
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
|
-
|
|
50274
|
-
|
|
50275
|
-
|
|
50276
|
-
|
|
50277
|
-
vertices
|
|
50278
|
-
|
|
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
|
-
|
|
50285
|
-
|
|
50286
|
-
|
|
50287
|
-
|
|
50288
|
-
distances
|
|
50289
|
-
|
|
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
|
-
|
|
50295
|
-
|
|
50296
|
-
|
|
50297
|
-
|
|
50298
|
-
lengths
|
|
50299
|
-
|
|
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
|
-
|
|
50305
|
-
|
|
50306
|
-
|
|
50307
|
-
|
|
50308
|
-
clippings
|
|
50309
|
-
|
|
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
|
-
|
|
50315
|
-
|
|
50316
|
-
|
|
50317
|
-
|
|
50318
|
-
uvs
|
|
50319
|
-
|
|
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
|
-
|
|
50325
|
-
|
|
50326
|
-
|
|
50327
|
-
|
|
50328
|
-
indices
|
|
50329
|
-
|
|
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
|
-
|
|
50336
|
-
|
|
50337
|
-
if (
|
|
50338
|
-
|
|
50339
|
-
|
|
50340
|
-
boundary
|
|
50341
|
-
|
|
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
|
-
|
|
50347
|
-
|
|
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;
|