mol_plot_all 1.2.1142 → 1.2.1144
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 +39 -37
- package/node.js.map +1 -1
- package/node.mjs +39 -37
- package/node.test.js +49 -47
- 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 +39 -37
- package/web.js.map +1 -1
- package/web.mjs +39 -37
- package/web.test.js +10 -10
- package/web.test.js.map +1 -1
package/node.js
CHANGED
|
@@ -610,21 +610,28 @@ var $;
|
|
|
610
610
|
"use strict";
|
|
611
611
|
var $;
|
|
612
612
|
(function ($) {
|
|
613
|
-
class $
|
|
614
|
-
delay;
|
|
613
|
+
class $mol_after_tick extends $mol_object2 {
|
|
615
614
|
task;
|
|
616
|
-
|
|
617
|
-
|
|
615
|
+
static promise = null;
|
|
616
|
+
cancelled = false;
|
|
617
|
+
constructor(task) {
|
|
618
618
|
super();
|
|
619
|
-
this.delay = delay;
|
|
620
619
|
this.task = task;
|
|
621
|
-
|
|
620
|
+
if (!$mol_after_tick.promise)
|
|
621
|
+
$mol_after_tick.promise = Promise.resolve().then(() => {
|
|
622
|
+
$mol_after_tick.promise = null;
|
|
623
|
+
});
|
|
624
|
+
$mol_after_tick.promise.then(() => {
|
|
625
|
+
if (this.cancelled)
|
|
626
|
+
return;
|
|
627
|
+
task();
|
|
628
|
+
});
|
|
622
629
|
}
|
|
623
630
|
destructor() {
|
|
624
|
-
|
|
631
|
+
this.cancelled = true;
|
|
625
632
|
}
|
|
626
633
|
}
|
|
627
|
-
$.$
|
|
634
|
+
$.$mol_after_tick = $mol_after_tick;
|
|
628
635
|
})($ || ($ = {}));
|
|
629
636
|
|
|
630
637
|
;
|
|
@@ -657,7 +664,7 @@ var $;
|
|
|
657
664
|
static plan() {
|
|
658
665
|
if (this.plan_task)
|
|
659
666
|
return;
|
|
660
|
-
this.plan_task = new $
|
|
667
|
+
this.plan_task = new $mol_after_tick(() => {
|
|
661
668
|
try {
|
|
662
669
|
this.sync();
|
|
663
670
|
}
|
|
@@ -931,6 +938,27 @@ var $;
|
|
|
931
938
|
$.$mol_key = $mol_key;
|
|
932
939
|
})($ || ($ = {}));
|
|
933
940
|
|
|
941
|
+
;
|
|
942
|
+
"use strict";
|
|
943
|
+
var $;
|
|
944
|
+
(function ($) {
|
|
945
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
946
|
+
delay;
|
|
947
|
+
task;
|
|
948
|
+
id;
|
|
949
|
+
constructor(delay, task) {
|
|
950
|
+
super();
|
|
951
|
+
this.delay = delay;
|
|
952
|
+
this.task = task;
|
|
953
|
+
this.id = setTimeout(task, delay);
|
|
954
|
+
}
|
|
955
|
+
destructor() {
|
|
956
|
+
clearTimeout(this.id);
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
960
|
+
})($ || ($ = {}));
|
|
961
|
+
|
|
934
962
|
;
|
|
935
963
|
"use strict";
|
|
936
964
|
var $;
|
|
@@ -2059,30 +2087,6 @@ var $;
|
|
|
2059
2087
|
$.$mol_dom_context = new $node.jsdom.JSDOM('', { url: 'https://localhost/' }).window;
|
|
2060
2088
|
})($ || ($ = {}));
|
|
2061
2089
|
|
|
2062
|
-
;
|
|
2063
|
-
"use strict";
|
|
2064
|
-
var $;
|
|
2065
|
-
(function ($) {
|
|
2066
|
-
class $mol_after_tick extends $mol_object2 {
|
|
2067
|
-
task;
|
|
2068
|
-
promise;
|
|
2069
|
-
cancelled = false;
|
|
2070
|
-
constructor(task) {
|
|
2071
|
-
super();
|
|
2072
|
-
this.task = task;
|
|
2073
|
-
this.promise = Promise.resolve().then(() => {
|
|
2074
|
-
if (this.cancelled)
|
|
2075
|
-
return;
|
|
2076
|
-
task();
|
|
2077
|
-
});
|
|
2078
|
-
}
|
|
2079
|
-
destructor() {
|
|
2080
|
-
this.cancelled = true;
|
|
2081
|
-
}
|
|
2082
|
-
}
|
|
2083
|
-
$.$mol_after_tick = $mol_after_tick;
|
|
2084
|
-
})($ || ($ = {}));
|
|
2085
|
-
|
|
2086
2090
|
;
|
|
2087
2091
|
"use strict";
|
|
2088
2092
|
var $;
|
|
@@ -3003,9 +3007,7 @@ var $;
|
|
|
3003
3007
|
const win = this.$.$mol_dom_context;
|
|
3004
3008
|
if (win.parent !== win.self && !win.document.hasFocus())
|
|
3005
3009
|
return;
|
|
3006
|
-
|
|
3007
|
-
this.focused(true);
|
|
3008
|
-
});
|
|
3010
|
+
this.focused(true);
|
|
3009
3011
|
}
|
|
3010
3012
|
destructor() {
|
|
3011
3013
|
const node = $mol_wire_probe(() => this.dom_node());
|
|
@@ -3086,7 +3088,7 @@ var $;
|
|
|
3086
3088
|
"use strict";
|
|
3087
3089
|
var $;
|
|
3088
3090
|
(function ($) {
|
|
3089
|
-
$mol_style_attach("mol/view/view/view.css", "[mol_view] {\n\ttransition-property: height, width, min-height, min-width, max-width, max-height, transform;\n\ttransition-duration: .2s;\n\ttransition-timing-function: ease-out;\n\t-webkit-appearance: none;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tcontain: style;\n\tscrollbar-color: var(--mol_theme_line) transparent;\n\tscrollbar-width: thin;\n}\t\n\n[mol_view]::selection {\n\tbackground: var(--mol_theme_line);\n}\t\n\n[mol_view]::-webkit-scrollbar {\n\twidth: .25rem;\n\theight: .25rem;\n}\n\n[mol_view]::-webkit-scrollbar-corner {\n\tbackground-color: var(--mol_theme_line);\n}\n\n[mol_view]::-webkit-scrollbar-track {\n\tbackground-color: transparent;\n}\n\n[mol_view]::-webkit-scrollbar-thumb {\n\tbackground-color: var(--mol_theme_line);\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_view] > * {\n\tword-break: inherit;\n}\n\n[mol_view_root] {\n\tmargin: 0;\n\tpadding: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbox-sizing: border-box;\n\tfont-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\tfont-size: 1rem;\n\tline-height: 1.5rem;\n\tbackground: var(--mol_theme_back);\n\tcolor: var(--mol_theme_text);\n\tcontain: unset; /** Fixes bg ignoring when applied to body on Chrome */\n\ttab-size: 4;\n\toverscroll-behavior: contain; /** Disable navigation gestures **/\n}\n\n@media print {\n\t[mol_view_root] {\n\t\theight: auto;\n\t}\n}\n\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"]) {\n\tbackground-image: repeating-linear-gradient(\n\t\t-45deg,\n\t\t#f92323,\n\t\t#f92323 .5rem,\n\t\t#ff3d3d .5rem,\n\t\t#ff3d3d 1.5rem\n\t);\n\tcolor: black;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n@keyframes mol_view_wait {\n\tfrom {\n\t\topacity: .25;\n\t}\n\t20% {\n\t\topacity: .75;\n\t}\n\tto {\n\t\topacity: .25;\n\t}\n}\n\n:where([mol_view][mol_view_error=\"Promise\"]) {\n\tbackground: var(--mol_theme_hover);\n}\n\n[mol_view][mol_view_error=\"Promise\"] {\n\tanimation: mol_view_wait 1s steps(
|
|
3091
|
+
$mol_style_attach("mol/view/view/view.css", "[mol_view] {\n\ttransition-property: height, width, min-height, min-width, max-width, max-height, transform;\n\ttransition-duration: .2s;\n\ttransition-timing-function: ease-out;\n\t-webkit-appearance: none;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tcontain: style;\n\tscrollbar-color: var(--mol_theme_line) transparent;\n\tscrollbar-width: thin;\n}\t\n\n[mol_view]::selection {\n\tbackground: var(--mol_theme_line);\n}\t\n\n[mol_view]::-webkit-scrollbar {\n\twidth: .25rem;\n\theight: .25rem;\n}\n\n[mol_view]::-webkit-scrollbar-corner {\n\tbackground-color: var(--mol_theme_line);\n}\n\n[mol_view]::-webkit-scrollbar-track {\n\tbackground-color: transparent;\n}\n\n[mol_view]::-webkit-scrollbar-thumb {\n\tbackground-color: var(--mol_theme_line);\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_view] > * {\n\tword-break: inherit;\n}\n\n[mol_view_root] {\n\tmargin: 0;\n\tpadding: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbox-sizing: border-box;\n\tfont-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\tfont-size: 1rem;\n\tline-height: 1.5rem;\n\tbackground: var(--mol_theme_back);\n\tcolor: var(--mol_theme_text);\n\tcontain: unset; /** Fixes bg ignoring when applied to body on Chrome */\n\ttab-size: 4;\n\toverscroll-behavior: contain; /** Disable navigation gestures **/\n}\n\n@media print {\n\t[mol_view_root] {\n\t\theight: auto;\n\t}\n}\n\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"]) {\n\tbackground-image: repeating-linear-gradient(\n\t\t-45deg,\n\t\t#f92323,\n\t\t#f92323 .5rem,\n\t\t#ff3d3d .5rem,\n\t\t#ff3d3d 1.5rem\n\t);\n\tcolor: black;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n@keyframes mol_view_wait {\n\tfrom {\n\t\topacity: .25;\n\t}\n\t20% {\n\t\topacity: .75;\n\t}\n\tto {\n\t\topacity: .25;\n\t}\n}\n\n:where([mol_view][mol_view_error=\"Promise\"]) {\n\tbackground: var(--mol_theme_hover);\n}\n\n[mol_view][mol_view_error=\"Promise\"] {\n\tanimation: mol_view_wait 1s steps(20,end) infinite;\n}\n");
|
|
3090
3092
|
})($ || ($ = {}));
|
|
3091
3093
|
|
|
3092
3094
|
;
|