mol_plot_all 1.2.1283 → 1.2.1285
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 +14 -0
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +36 -2
- package/node.js.map +1 -1
- package/node.mjs +36 -2
- package/node.test.js +37 -22
- package/node.test.js.map +1 -1
- package/package.json +3 -1
- package/web.d.ts +14 -0
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +36 -2
- package/web.js.map +1 -1
- package/web.mjs +36 -2
- package/web.test.js +1 -20
- package/web.test.js.map +1 -1
package/web.js
CHANGED
|
@@ -1954,6 +1954,38 @@ var $;
|
|
|
1954
1954
|
$.$mol_style_attach = $mol_style_attach;
|
|
1955
1955
|
})($ || ($ = {}));
|
|
1956
1956
|
|
|
1957
|
+
;
|
|
1958
|
+
"use strict";
|
|
1959
|
+
var $;
|
|
1960
|
+
(function ($) {
|
|
1961
|
+
class $mol_promise extends Promise {
|
|
1962
|
+
done;
|
|
1963
|
+
fail;
|
|
1964
|
+
constructor(executor) {
|
|
1965
|
+
let done;
|
|
1966
|
+
let fail;
|
|
1967
|
+
super((d, f) => {
|
|
1968
|
+
done = d;
|
|
1969
|
+
fail = f;
|
|
1970
|
+
executor?.(d, f);
|
|
1971
|
+
});
|
|
1972
|
+
this.done = done;
|
|
1973
|
+
this.fail = fail;
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
$.$mol_promise = $mol_promise;
|
|
1977
|
+
})($ || ($ = {}));
|
|
1978
|
+
|
|
1979
|
+
;
|
|
1980
|
+
"use strict";
|
|
1981
|
+
var $;
|
|
1982
|
+
(function ($) {
|
|
1983
|
+
class $mol_promise_blocker extends $mol_promise {
|
|
1984
|
+
static [Symbol.toStringTag] = '$mol_promise_blocker';
|
|
1985
|
+
}
|
|
1986
|
+
$.$mol_promise_blocker = $mol_promise_blocker;
|
|
1987
|
+
})($ || ($ = {}));
|
|
1988
|
+
|
|
1957
1989
|
;
|
|
1958
1990
|
"use strict";
|
|
1959
1991
|
var $;
|
|
@@ -2329,7 +2361,9 @@ var $;
|
|
|
2329
2361
|
}
|
|
2330
2362
|
catch (error) {
|
|
2331
2363
|
$mol_fail_log(error);
|
|
2332
|
-
const mol_view_error = $mol_promise_like(error)
|
|
2364
|
+
const mol_view_error = $mol_promise_like(error)
|
|
2365
|
+
? error.constructor[Symbol.toStringTag] ?? 'Promise'
|
|
2366
|
+
: error.name || error.constructor.name;
|
|
2333
2367
|
$mol_dom_render_attributes(node, { mol_view_error });
|
|
2334
2368
|
if ($mol_promise_like(error))
|
|
2335
2369
|
break render;
|
|
@@ -2602,7 +2636,7 @@ var $;
|
|
|
2602
2636
|
"use strict";
|
|
2603
2637
|
var $;
|
|
2604
2638
|
(function ($) {
|
|
2605
|
-
$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
|
|
2639
|
+
$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[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"], [mol_view_error=\"$mol_promise_blocker\"]) {\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=\"$mol_promise_blocker\"]),\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");
|
|
2606
2640
|
})($ || ($ = {}));
|
|
2607
2641
|
|
|
2608
2642
|
;
|