mol_plot_all 1.2.1343 → 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/web.mjs
CHANGED
|
@@ -2536,15 +2536,22 @@ var $;
|
|
|
2536
2536
|
if (path.length === 0 && check(this))
|
|
2537
2537
|
return yield [this];
|
|
2538
2538
|
try {
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2539
|
+
const checked = new Set();
|
|
2540
|
+
const sub = this.sub();
|
|
2541
|
+
for (const item of sub) {
|
|
2542
|
+
if (!(item instanceof $mol_view))
|
|
2543
|
+
continue;
|
|
2544
|
+
if (!check(item))
|
|
2545
|
+
continue;
|
|
2546
|
+
checked.add(item);
|
|
2547
|
+
yield [...path, this, item];
|
|
2543
2548
|
}
|
|
2544
|
-
for (const item of
|
|
2545
|
-
if (item instanceof $mol_view)
|
|
2546
|
-
|
|
2547
|
-
|
|
2549
|
+
for (const item of sub) {
|
|
2550
|
+
if (!(item instanceof $mol_view))
|
|
2551
|
+
continue;
|
|
2552
|
+
if (checked.has(item))
|
|
2553
|
+
continue;
|
|
2554
|
+
yield* item.view_find(check, [...path, this]);
|
|
2548
2555
|
}
|
|
2549
2556
|
}
|
|
2550
2557
|
catch (error) {
|
|
@@ -4147,8 +4154,8 @@ var $;
|
|
|
4147
4154
|
const points = this.points();
|
|
4148
4155
|
if (points.length === 0)
|
|
4149
4156
|
return '';
|
|
4150
|
-
const main = points.map(point =>
|
|
4151
|
-
return `M ${points[0].join(' ')} ${main}`;
|
|
4157
|
+
const main = points.map((point) => point.join(',')).join(' ');
|
|
4158
|
+
return `M ${points[0].join(' ')} L ${main}`;
|
|
4152
4159
|
}
|
|
4153
4160
|
}
|
|
4154
4161
|
__decorate([
|
|
@@ -4694,8 +4701,8 @@ var $;
|
|
|
4694
4701
|
if (points.length === 0)
|
|
4695
4702
|
return '';
|
|
4696
4703
|
const [, shift_y] = this.shift();
|
|
4697
|
-
const main = points.map(point =>
|
|
4698
|
-
return `M ${points[0].join(' ')} ${main} V ${shift_y} H ${points[0][0]}`;
|
|
4704
|
+
const main = points.map(point => point.join(',')).join(' ');
|
|
4705
|
+
return `M ${points[0].join(' ')} L ${main} V ${shift_y} H ${points[0][0]}`;
|
|
4699
4706
|
}
|
|
4700
4707
|
front() {
|
|
4701
4708
|
return [];
|