mol_plot_all 1.2.472 → 1.2.473
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 +8 -8
- package/node.deps.json +1 -1
- package/node.esm.js +47 -40
- package/node.esm.js.map +1 -1
- package/node.js +47 -40
- package/node.js.map +1 -1
- package/node.test.js +47 -40
- package/node.test.js.map +1 -1
- package/package.json +2 -2
- package/web.d.ts +8 -8
- package/web.deps.json +1 -1
- package/web.esm.js +47 -40
- package/web.esm.js.map +1 -1
- package/web.js +47 -40
- package/web.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -1804,6 +1804,39 @@ var $;
|
|
|
1804
1804
|
;
|
|
1805
1805
|
"use strict";
|
|
1806
1806
|
var $;
|
|
1807
|
+
(function ($) {
|
|
1808
|
+
const cacthed = new WeakMap();
|
|
1809
|
+
function $mol_fail_catch(error) {
|
|
1810
|
+
if (typeof error !== 'object')
|
|
1811
|
+
return false;
|
|
1812
|
+
if (error instanceof Promise)
|
|
1813
|
+
$mol_fail_hidden(error);
|
|
1814
|
+
if (cacthed.get(error))
|
|
1815
|
+
return false;
|
|
1816
|
+
cacthed.set(error, true);
|
|
1817
|
+
return true;
|
|
1818
|
+
}
|
|
1819
|
+
$.$mol_fail_catch = $mol_fail_catch;
|
|
1820
|
+
})($ || ($ = {}));
|
|
1821
|
+
//mol/fail/catch/catch.ts
|
|
1822
|
+
;
|
|
1823
|
+
"use strict";
|
|
1824
|
+
var $;
|
|
1825
|
+
(function ($) {
|
|
1826
|
+
function $mol_fail_log(error) {
|
|
1827
|
+
if (error instanceof Promise)
|
|
1828
|
+
return false;
|
|
1829
|
+
if (!$mol_fail_catch(error))
|
|
1830
|
+
return false;
|
|
1831
|
+
console.error(error);
|
|
1832
|
+
return true;
|
|
1833
|
+
}
|
|
1834
|
+
$.$mol_fail_log = $mol_fail_log;
|
|
1835
|
+
})($ || ($ = {}));
|
|
1836
|
+
//mol/fail/log/log.ts
|
|
1837
|
+
;
|
|
1838
|
+
"use strict";
|
|
1839
|
+
var $;
|
|
1807
1840
|
(function ($) {
|
|
1808
1841
|
class $mol_wire_atom extends $mol_wire_fiber {
|
|
1809
1842
|
static solo(host, task) {
|
|
@@ -1887,7 +1920,14 @@ var $;
|
|
|
1887
1920
|
}
|
|
1888
1921
|
put(next) {
|
|
1889
1922
|
const prev = this.cache;
|
|
1890
|
-
if (next !== prev) {
|
|
1923
|
+
update: if (next !== prev) {
|
|
1924
|
+
try {
|
|
1925
|
+
if ($mol_compare_deep(prev, next))
|
|
1926
|
+
break update;
|
|
1927
|
+
}
|
|
1928
|
+
catch (error) {
|
|
1929
|
+
$mol_fail_log(error);
|
|
1930
|
+
}
|
|
1891
1931
|
if ($mol_owning_check(this, prev)) {
|
|
1892
1932
|
prev.destructor();
|
|
1893
1933
|
}
|
|
@@ -1900,11 +1940,8 @@ var $;
|
|
|
1900
1940
|
Object.defineProperty(next, Symbol.toStringTag, { value: this[Symbol.toStringTag] });
|
|
1901
1941
|
}
|
|
1902
1942
|
}
|
|
1903
|
-
if (this.
|
|
1904
|
-
|
|
1905
|
-
this.emit();
|
|
1906
|
-
}
|
|
1907
|
-
}
|
|
1943
|
+
if (!this.sub_empty)
|
|
1944
|
+
this.emit();
|
|
1908
1945
|
}
|
|
1909
1946
|
this.cursor = $mol_wire_cursor.fresh;
|
|
1910
1947
|
if (next instanceof Promise)
|
|
@@ -2008,39 +2045,6 @@ var $;
|
|
|
2008
2045
|
;
|
|
2009
2046
|
"use strict";
|
|
2010
2047
|
var $;
|
|
2011
|
-
(function ($) {
|
|
2012
|
-
const cacthed = new WeakMap();
|
|
2013
|
-
function $mol_fail_catch(error) {
|
|
2014
|
-
if (typeof error !== 'object')
|
|
2015
|
-
return false;
|
|
2016
|
-
if (error instanceof Promise)
|
|
2017
|
-
$mol_fail_hidden(error);
|
|
2018
|
-
if (cacthed.get(error))
|
|
2019
|
-
return false;
|
|
2020
|
-
cacthed.set(error, true);
|
|
2021
|
-
return true;
|
|
2022
|
-
}
|
|
2023
|
-
$.$mol_fail_catch = $mol_fail_catch;
|
|
2024
|
-
})($ || ($ = {}));
|
|
2025
|
-
//mol/fail/catch/catch.ts
|
|
2026
|
-
;
|
|
2027
|
-
"use strict";
|
|
2028
|
-
var $;
|
|
2029
|
-
(function ($) {
|
|
2030
|
-
function $mol_fail_log(error) {
|
|
2031
|
-
if (error instanceof Promise)
|
|
2032
|
-
return false;
|
|
2033
|
-
if (!$mol_fail_catch(error))
|
|
2034
|
-
return false;
|
|
2035
|
-
console.error(error);
|
|
2036
|
-
return true;
|
|
2037
|
-
}
|
|
2038
|
-
$.$mol_fail_log = $mol_fail_log;
|
|
2039
|
-
})($ || ($ = {}));
|
|
2040
|
-
//mol/fail/log/log.ts
|
|
2041
|
-
;
|
|
2042
|
-
"use strict";
|
|
2043
|
-
var $;
|
|
2044
2048
|
(function ($) {
|
|
2045
2049
|
class $mol_view_selection extends $mol_object {
|
|
2046
2050
|
static focused(next, notify) {
|
|
@@ -2409,7 +2413,7 @@ var $;
|
|
|
2409
2413
|
}
|
|
2410
2414
|
}
|
|
2411
2415
|
title() {
|
|
2412
|
-
return this.
|
|
2416
|
+
return this.toString().match(/.*\.(\w+)/)?.[1] ?? this.toString();
|
|
2413
2417
|
}
|
|
2414
2418
|
focused(next) {
|
|
2415
2419
|
let node = this.dom_node();
|
|
@@ -2696,6 +2700,9 @@ var $;
|
|
|
2696
2700
|
__decorate([
|
|
2697
2701
|
$mol_mem
|
|
2698
2702
|
], $mol_view.prototype, "autorun", null);
|
|
2703
|
+
__decorate([
|
|
2704
|
+
$mol_mem
|
|
2705
|
+
], $mol_view.prototype, "title", null);
|
|
2699
2706
|
__decorate([
|
|
2700
2707
|
$mol_mem
|
|
2701
2708
|
], $mol_view.prototype, "focused", null);
|