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/node.mjs
CHANGED
|
@@ -610,24 +610,21 @@ var $;
|
|
|
610
610
|
"use strict";
|
|
611
611
|
var $;
|
|
612
612
|
(function ($) {
|
|
613
|
-
class $
|
|
613
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
614
|
+
delay;
|
|
614
615
|
task;
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
constructor(task) {
|
|
616
|
+
id;
|
|
617
|
+
constructor(delay, task) {
|
|
618
618
|
super();
|
|
619
|
+
this.delay = delay;
|
|
619
620
|
this.task = task;
|
|
620
|
-
this.
|
|
621
|
-
if (this.cancelled)
|
|
622
|
-
return;
|
|
623
|
-
task();
|
|
624
|
-
});
|
|
621
|
+
this.id = setTimeout(task, delay);
|
|
625
622
|
}
|
|
626
623
|
destructor() {
|
|
627
|
-
this.
|
|
624
|
+
clearTimeout(this.id);
|
|
628
625
|
}
|
|
629
626
|
}
|
|
630
|
-
$.$
|
|
627
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
631
628
|
})($ || ($ = {}));
|
|
632
629
|
|
|
633
630
|
;
|
|
@@ -655,7 +652,7 @@ var $;
|
|
|
655
652
|
static plan() {
|
|
656
653
|
if (this.plan_task)
|
|
657
654
|
return;
|
|
658
|
-
this.plan_task = new $
|
|
655
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
659
656
|
try {
|
|
660
657
|
this.sync();
|
|
661
658
|
}
|
|
@@ -929,27 +926,6 @@ var $;
|
|
|
929
926
|
$.$mol_key = $mol_key;
|
|
930
927
|
})($ || ($ = {}));
|
|
931
928
|
|
|
932
|
-
;
|
|
933
|
-
"use strict";
|
|
934
|
-
var $;
|
|
935
|
-
(function ($) {
|
|
936
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
937
|
-
delay;
|
|
938
|
-
task;
|
|
939
|
-
id;
|
|
940
|
-
constructor(delay, task) {
|
|
941
|
-
super();
|
|
942
|
-
this.delay = delay;
|
|
943
|
-
this.task = task;
|
|
944
|
-
this.id = setTimeout(task, delay);
|
|
945
|
-
}
|
|
946
|
-
destructor() {
|
|
947
|
-
clearTimeout(this.id);
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
951
|
-
})($ || ($ = {}));
|
|
952
|
-
|
|
953
929
|
;
|
|
954
930
|
"use strict";
|
|
955
931
|
var $;
|
|
@@ -2077,6 +2053,30 @@ var $;
|
|
|
2077
2053
|
$.$mol_dom_context = new $node.jsdom.JSDOM('', { url: 'https://localhost/' }).window;
|
|
2078
2054
|
})($ || ($ = {}));
|
|
2079
2055
|
|
|
2056
|
+
;
|
|
2057
|
+
"use strict";
|
|
2058
|
+
var $;
|
|
2059
|
+
(function ($) {
|
|
2060
|
+
class $mol_after_tick extends $mol_object2 {
|
|
2061
|
+
task;
|
|
2062
|
+
promise;
|
|
2063
|
+
cancelled = false;
|
|
2064
|
+
constructor(task) {
|
|
2065
|
+
super();
|
|
2066
|
+
this.task = task;
|
|
2067
|
+
this.promise = Promise.resolve().then(() => {
|
|
2068
|
+
if (this.cancelled)
|
|
2069
|
+
return;
|
|
2070
|
+
task();
|
|
2071
|
+
});
|
|
2072
|
+
}
|
|
2073
|
+
destructor() {
|
|
2074
|
+
this.cancelled = true;
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
$.$mol_after_tick = $mol_after_tick;
|
|
2078
|
+
})($ || ($ = {}));
|
|
2079
|
+
|
|
2080
2080
|
;
|
|
2081
2081
|
"use strict";
|
|
2082
2082
|
var $;
|
|
@@ -4224,8 +4224,12 @@ var $;
|
|
|
4224
4224
|
}
|
|
4225
4225
|
next.x.max = this.repos_x(next.x.max);
|
|
4226
4226
|
next.x.min = this.repos_x(next.x.min);
|
|
4227
|
+
if (next.x.max < next.x.min)
|
|
4228
|
+
next.x = next.x.inversed;
|
|
4227
4229
|
next.y.max = this.repos_y(next.y.max);
|
|
4228
4230
|
next.y.min = this.repos_y(next.y.min);
|
|
4231
|
+
if (next.y.max < next.y.min)
|
|
4232
|
+
next.y = next.y.inversed;
|
|
4229
4233
|
return next;
|
|
4230
4234
|
}
|
|
4231
4235
|
color() {
|
package/node.test.js
CHANGED
|
@@ -601,24 +601,21 @@ var $;
|
|
|
601
601
|
"use strict";
|
|
602
602
|
var $;
|
|
603
603
|
(function ($) {
|
|
604
|
-
class $
|
|
604
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
605
|
+
delay;
|
|
605
606
|
task;
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
constructor(task) {
|
|
607
|
+
id;
|
|
608
|
+
constructor(delay, task) {
|
|
609
609
|
super();
|
|
610
|
+
this.delay = delay;
|
|
610
611
|
this.task = task;
|
|
611
|
-
this.
|
|
612
|
-
if (this.cancelled)
|
|
613
|
-
return;
|
|
614
|
-
task();
|
|
615
|
-
});
|
|
612
|
+
this.id = setTimeout(task, delay);
|
|
616
613
|
}
|
|
617
614
|
destructor() {
|
|
618
|
-
this.
|
|
615
|
+
clearTimeout(this.id);
|
|
619
616
|
}
|
|
620
617
|
}
|
|
621
|
-
$.$
|
|
618
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
622
619
|
})($ || ($ = {}));
|
|
623
620
|
|
|
624
621
|
;
|
|
@@ -646,7 +643,7 @@ var $;
|
|
|
646
643
|
static plan() {
|
|
647
644
|
if (this.plan_task)
|
|
648
645
|
return;
|
|
649
|
-
this.plan_task = new $
|
|
646
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
650
647
|
try {
|
|
651
648
|
this.sync();
|
|
652
649
|
}
|
|
@@ -920,27 +917,6 @@ var $;
|
|
|
920
917
|
$.$mol_key = $mol_key;
|
|
921
918
|
})($ || ($ = {}));
|
|
922
919
|
|
|
923
|
-
;
|
|
924
|
-
"use strict";
|
|
925
|
-
var $;
|
|
926
|
-
(function ($) {
|
|
927
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
928
|
-
delay;
|
|
929
|
-
task;
|
|
930
|
-
id;
|
|
931
|
-
constructor(delay, task) {
|
|
932
|
-
super();
|
|
933
|
-
this.delay = delay;
|
|
934
|
-
this.task = task;
|
|
935
|
-
this.id = setTimeout(task, delay);
|
|
936
|
-
}
|
|
937
|
-
destructor() {
|
|
938
|
-
clearTimeout(this.id);
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
942
|
-
})($ || ($ = {}));
|
|
943
|
-
|
|
944
920
|
;
|
|
945
921
|
"use strict";
|
|
946
922
|
var $;
|
|
@@ -2068,6 +2044,30 @@ var $;
|
|
|
2068
2044
|
$.$mol_dom_context = new $node.jsdom.JSDOM('', { url: 'https://localhost/' }).window;
|
|
2069
2045
|
})($ || ($ = {}));
|
|
2070
2046
|
|
|
2047
|
+
;
|
|
2048
|
+
"use strict";
|
|
2049
|
+
var $;
|
|
2050
|
+
(function ($) {
|
|
2051
|
+
class $mol_after_tick extends $mol_object2 {
|
|
2052
|
+
task;
|
|
2053
|
+
promise;
|
|
2054
|
+
cancelled = false;
|
|
2055
|
+
constructor(task) {
|
|
2056
|
+
super();
|
|
2057
|
+
this.task = task;
|
|
2058
|
+
this.promise = Promise.resolve().then(() => {
|
|
2059
|
+
if (this.cancelled)
|
|
2060
|
+
return;
|
|
2061
|
+
task();
|
|
2062
|
+
});
|
|
2063
|
+
}
|
|
2064
|
+
destructor() {
|
|
2065
|
+
this.cancelled = true;
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
$.$mol_after_tick = $mol_after_tick;
|
|
2069
|
+
})($ || ($ = {}));
|
|
2070
|
+
|
|
2071
2071
|
;
|
|
2072
2072
|
"use strict";
|
|
2073
2073
|
var $;
|
|
@@ -4215,8 +4215,12 @@ var $;
|
|
|
4215
4215
|
}
|
|
4216
4216
|
next.x.max = this.repos_x(next.x.max);
|
|
4217
4217
|
next.x.min = this.repos_x(next.x.min);
|
|
4218
|
+
if (next.x.max < next.x.min)
|
|
4219
|
+
next.x = next.x.inversed;
|
|
4218
4220
|
next.y.max = this.repos_y(next.y.max);
|
|
4219
4221
|
next.y.min = this.repos_y(next.y.min);
|
|
4222
|
+
if (next.y.max < next.y.min)
|
|
4223
|
+
next.y = next.y.inversed;
|
|
4220
4224
|
return next;
|
|
4221
4225
|
}
|
|
4222
4226
|
color() {
|
|
@@ -7294,7 +7298,7 @@ var $;
|
|
|
7294
7298
|
var $;
|
|
7295
7299
|
(function ($_1) {
|
|
7296
7300
|
$mol_test_mocks.push($ => {
|
|
7297
|
-
$.$
|
|
7301
|
+
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
7298
7302
|
});
|
|
7299
7303
|
})($ || ($ = {}));
|
|
7300
7304
|
|
|
@@ -7402,15 +7406,6 @@ var $;
|
|
|
7402
7406
|
$.$mol_promise = $mol_promise;
|
|
7403
7407
|
})($ || ($ = {}));
|
|
7404
7408
|
|
|
7405
|
-
;
|
|
7406
|
-
"use strict";
|
|
7407
|
-
var $;
|
|
7408
|
-
(function ($_1) {
|
|
7409
|
-
$mol_test_mocks.push($ => {
|
|
7410
|
-
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
7411
|
-
});
|
|
7412
|
-
})($ || ($ = {}));
|
|
7413
|
-
|
|
7414
7409
|
;
|
|
7415
7410
|
"use strict";
|
|
7416
7411
|
var $;
|
|
@@ -8140,6 +8135,15 @@ var $;
|
|
|
8140
8135
|
});
|
|
8141
8136
|
})($ || ($ = {}));
|
|
8142
8137
|
|
|
8138
|
+
;
|
|
8139
|
+
"use strict";
|
|
8140
|
+
var $;
|
|
8141
|
+
(function ($_1) {
|
|
8142
|
+
$mol_test_mocks.push($ => {
|
|
8143
|
+
$.$mol_after_tick = $mol_after_mock_commmon;
|
|
8144
|
+
});
|
|
8145
|
+
})($ || ($ = {}));
|
|
8146
|
+
|
|
8143
8147
|
;
|
|
8144
8148
|
"use strict";
|
|
8145
8149
|
var $;
|