mol_plot_all 1.2.1051 → 1.2.1053
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.d.ts +105 -105
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +37 -33
- package/node.js.map +1 -1
- package/node.mjs +37 -33
- package/node.test.js +47 -43
- package/node.test.js.map +1 -1
- package/package.json +3 -3
- package/web.d.ts +105 -105
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +37 -33
- package/web.js.map +1 -1
- package/web.mjs +37 -33
- package/web.test.js +10 -10
- package/web.test.js.map +1 -1
package/web.mjs
CHANGED
|
@@ -595,24 +595,21 @@ var $;
|
|
|
595
595
|
"use strict";
|
|
596
596
|
var $;
|
|
597
597
|
(function ($) {
|
|
598
|
-
class $
|
|
598
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
599
|
+
delay;
|
|
599
600
|
task;
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
constructor(task) {
|
|
601
|
+
id;
|
|
602
|
+
constructor(delay, task) {
|
|
603
603
|
super();
|
|
604
|
+
this.delay = delay;
|
|
604
605
|
this.task = task;
|
|
605
|
-
this.
|
|
606
|
-
if (this.cancelled)
|
|
607
|
-
return;
|
|
608
|
-
task();
|
|
609
|
-
});
|
|
606
|
+
this.id = setTimeout(task, delay);
|
|
610
607
|
}
|
|
611
608
|
destructor() {
|
|
612
|
-
this.
|
|
609
|
+
clearTimeout(this.id);
|
|
613
610
|
}
|
|
614
611
|
}
|
|
615
|
-
$.$
|
|
612
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
616
613
|
})($ || ($ = {}));
|
|
617
614
|
|
|
618
615
|
;
|
|
@@ -640,7 +637,7 @@ var $;
|
|
|
640
637
|
static plan() {
|
|
641
638
|
if (this.plan_task)
|
|
642
639
|
return;
|
|
643
|
-
this.plan_task = new $
|
|
640
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
644
641
|
try {
|
|
645
642
|
this.sync();
|
|
646
643
|
}
|
|
@@ -1527,6 +1524,30 @@ var $;
|
|
|
1527
1524
|
$.$mol_dom_context = self;
|
|
1528
1525
|
})($ || ($ = {}));
|
|
1529
1526
|
|
|
1527
|
+
;
|
|
1528
|
+
"use strict";
|
|
1529
|
+
var $;
|
|
1530
|
+
(function ($) {
|
|
1531
|
+
class $mol_after_tick extends $mol_object2 {
|
|
1532
|
+
task;
|
|
1533
|
+
promise;
|
|
1534
|
+
cancelled = false;
|
|
1535
|
+
constructor(task) {
|
|
1536
|
+
super();
|
|
1537
|
+
this.task = task;
|
|
1538
|
+
this.promise = Promise.resolve().then(() => {
|
|
1539
|
+
if (this.cancelled)
|
|
1540
|
+
return;
|
|
1541
|
+
task();
|
|
1542
|
+
});
|
|
1543
|
+
}
|
|
1544
|
+
destructor() {
|
|
1545
|
+
this.cancelled = true;
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
$.$mol_after_tick = $mol_after_tick;
|
|
1549
|
+
})($ || ($ = {}));
|
|
1550
|
+
|
|
1530
1551
|
;
|
|
1531
1552
|
"use strict";
|
|
1532
1553
|
var $;
|
|
@@ -2594,27 +2615,6 @@ var $;
|
|
|
2594
2615
|
};
|
|
2595
2616
|
|
|
2596
2617
|
|
|
2597
|
-
;
|
|
2598
|
-
"use strict";
|
|
2599
|
-
var $;
|
|
2600
|
-
(function ($) {
|
|
2601
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
2602
|
-
delay;
|
|
2603
|
-
task;
|
|
2604
|
-
id;
|
|
2605
|
-
constructor(delay, task) {
|
|
2606
|
-
super();
|
|
2607
|
-
this.delay = delay;
|
|
2608
|
-
this.task = task;
|
|
2609
|
-
this.id = setTimeout(task, delay);
|
|
2610
|
-
}
|
|
2611
|
-
destructor() {
|
|
2612
|
-
clearTimeout(this.id);
|
|
2613
|
-
}
|
|
2614
|
-
}
|
|
2615
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
2616
|
-
})($ || ($ = {}));
|
|
2617
|
-
|
|
2618
2618
|
;
|
|
2619
2619
|
"use strict";
|
|
2620
2620
|
var $;
|
|
@@ -3720,8 +3720,12 @@ var $;
|
|
|
3720
3720
|
}
|
|
3721
3721
|
next.x.max = this.repos_x(next.x.max);
|
|
3722
3722
|
next.x.min = this.repos_x(next.x.min);
|
|
3723
|
+
if (next.x.max < next.x.min)
|
|
3724
|
+
next.x = next.x.inversed;
|
|
3723
3725
|
next.y.max = this.repos_y(next.y.max);
|
|
3724
3726
|
next.y.min = this.repos_y(next.y.min);
|
|
3727
|
+
if (next.y.max < next.y.min)
|
|
3728
|
+
next.y = next.y.inversed;
|
|
3725
3729
|
return next;
|
|
3726
3730
|
}
|
|
3727
3731
|
color() {
|
package/web.test.js
CHANGED
|
@@ -1066,7 +1066,7 @@ var $;
|
|
|
1066
1066
|
var $;
|
|
1067
1067
|
(function ($_1) {
|
|
1068
1068
|
$mol_test_mocks.push($ => {
|
|
1069
|
-
$.$
|
|
1069
|
+
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
1070
1070
|
});
|
|
1071
1071
|
})($ || ($ = {}));
|
|
1072
1072
|
|
|
@@ -1174,15 +1174,6 @@ var $;
|
|
|
1174
1174
|
$.$mol_promise = $mol_promise;
|
|
1175
1175
|
})($ || ($ = {}));
|
|
1176
1176
|
|
|
1177
|
-
;
|
|
1178
|
-
"use strict";
|
|
1179
|
-
var $;
|
|
1180
|
-
(function ($_1) {
|
|
1181
|
-
$mol_test_mocks.push($ => {
|
|
1182
|
-
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
1183
|
-
});
|
|
1184
|
-
})($ || ($ = {}));
|
|
1185
|
-
|
|
1186
1177
|
;
|
|
1187
1178
|
"use strict";
|
|
1188
1179
|
var $;
|
|
@@ -2065,6 +2056,15 @@ var $;
|
|
|
2065
2056
|
$mol_wire_log.active();
|
|
2066
2057
|
})($ || ($ = {}));
|
|
2067
2058
|
|
|
2059
|
+
;
|
|
2060
|
+
"use strict";
|
|
2061
|
+
var $;
|
|
2062
|
+
(function ($_1) {
|
|
2063
|
+
$mol_test_mocks.push($ => {
|
|
2064
|
+
$.$mol_after_tick = $mol_after_mock_commmon;
|
|
2065
|
+
});
|
|
2066
|
+
})($ || ($ = {}));
|
|
2067
|
+
|
|
2068
2068
|
;
|
|
2069
2069
|
"use strict";
|
|
2070
2070
|
var $;
|