mol_plot_all 1.2.1344 → 1.2.1345
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/node.deps.json +1 -1
- package/node.js +19 -12
- package/node.js.map +1 -1
- package/node.mjs +19 -12
- package/node.test.js +19 -12
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +19 -12
- package/web.js.map +1 -1
- package/web.mjs +19 -12
package/node.mjs
CHANGED
|
@@ -3250,15 +3250,22 @@ var $;
|
|
|
3250
3250
|
if (path.length === 0 && check(this))
|
|
3251
3251
|
return yield [this];
|
|
3252
3252
|
try {
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3253
|
+
const checked = new Set();
|
|
3254
|
+
const sub = this.sub();
|
|
3255
|
+
for (const item of sub) {
|
|
3256
|
+
if (!(item instanceof $mol_view))
|
|
3257
|
+
continue;
|
|
3258
|
+
if (!check(item))
|
|
3259
|
+
continue;
|
|
3260
|
+
checked.add(item);
|
|
3261
|
+
yield [...path, this, item];
|
|
3257
3262
|
}
|
|
3258
|
-
for (const item of
|
|
3259
|
-
if (item instanceof $mol_view)
|
|
3260
|
-
|
|
3261
|
-
|
|
3263
|
+
for (const item of sub) {
|
|
3264
|
+
if (!(item instanceof $mol_view))
|
|
3265
|
+
continue;
|
|
3266
|
+
if (checked.has(item))
|
|
3267
|
+
continue;
|
|
3268
|
+
yield* item.view_find(check, [...path, this]);
|
|
3262
3269
|
}
|
|
3263
3270
|
}
|
|
3264
3271
|
catch (error) {
|
|
@@ -4854,8 +4861,8 @@ var $;
|
|
|
4854
4861
|
const points = this.points();
|
|
4855
4862
|
if (points.length === 0)
|
|
4856
4863
|
return '';
|
|
4857
|
-
const main = points.map(point =>
|
|
4858
|
-
return `M ${points[0].join(' ')} ${main}`;
|
|
4864
|
+
const main = points.map((point) => point.join(',')).join(' ');
|
|
4865
|
+
return `M ${points[0].join(' ')} L ${main}`;
|
|
4859
4866
|
}
|
|
4860
4867
|
}
|
|
4861
4868
|
__decorate([
|
|
@@ -5401,8 +5408,8 @@ var $;
|
|
|
5401
5408
|
if (points.length === 0)
|
|
5402
5409
|
return '';
|
|
5403
5410
|
const [, shift_y] = this.shift();
|
|
5404
|
-
const main = points.map(point =>
|
|
5405
|
-
return `M ${points[0].join(' ')} ${main} V ${shift_y} H ${points[0][0]}`;
|
|
5411
|
+
const main = points.map(point => point.join(',')).join(' ');
|
|
5412
|
+
return `M ${points[0].join(' ')} L ${main} V ${shift_y} H ${points[0][0]}`;
|
|
5406
5413
|
}
|
|
5407
5414
|
front() {
|
|
5408
5415
|
return [];
|
package/node.test.js
CHANGED
|
@@ -3241,15 +3241,22 @@ var $;
|
|
|
3241
3241
|
if (path.length === 0 && check(this))
|
|
3242
3242
|
return yield [this];
|
|
3243
3243
|
try {
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3244
|
+
const checked = new Set();
|
|
3245
|
+
const sub = this.sub();
|
|
3246
|
+
for (const item of sub) {
|
|
3247
|
+
if (!(item instanceof $mol_view))
|
|
3248
|
+
continue;
|
|
3249
|
+
if (!check(item))
|
|
3250
|
+
continue;
|
|
3251
|
+
checked.add(item);
|
|
3252
|
+
yield [...path, this, item];
|
|
3248
3253
|
}
|
|
3249
|
-
for (const item of
|
|
3250
|
-
if (item instanceof $mol_view)
|
|
3251
|
-
|
|
3252
|
-
|
|
3254
|
+
for (const item of sub) {
|
|
3255
|
+
if (!(item instanceof $mol_view))
|
|
3256
|
+
continue;
|
|
3257
|
+
if (checked.has(item))
|
|
3258
|
+
continue;
|
|
3259
|
+
yield* item.view_find(check, [...path, this]);
|
|
3253
3260
|
}
|
|
3254
3261
|
}
|
|
3255
3262
|
catch (error) {
|
|
@@ -4845,8 +4852,8 @@ var $;
|
|
|
4845
4852
|
const points = this.points();
|
|
4846
4853
|
if (points.length === 0)
|
|
4847
4854
|
return '';
|
|
4848
|
-
const main = points.map(point =>
|
|
4849
|
-
return `M ${points[0].join(' ')} ${main}`;
|
|
4855
|
+
const main = points.map((point) => point.join(',')).join(' ');
|
|
4856
|
+
return `M ${points[0].join(' ')} L ${main}`;
|
|
4850
4857
|
}
|
|
4851
4858
|
}
|
|
4852
4859
|
__decorate([
|
|
@@ -5392,8 +5399,8 @@ var $;
|
|
|
5392
5399
|
if (points.length === 0)
|
|
5393
5400
|
return '';
|
|
5394
5401
|
const [, shift_y] = this.shift();
|
|
5395
|
-
const main = points.map(point =>
|
|
5396
|
-
return `M ${points[0].join(' ')} ${main} V ${shift_y} H ${points[0][0]}`;
|
|
5402
|
+
const main = points.map(point => point.join(',')).join(' ');
|
|
5403
|
+
return `M ${points[0].join(' ')} L ${main} V ${shift_y} H ${points[0][0]}`;
|
|
5397
5404
|
}
|
|
5398
5405
|
front() {
|
|
5399
5406
|
return [];
|