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.esm.js
CHANGED
|
@@ -1812,6 +1812,39 @@ var $;
|
|
|
1812
1812
|
;
|
|
1813
1813
|
"use strict";
|
|
1814
1814
|
var $;
|
|
1815
|
+
(function ($) {
|
|
1816
|
+
const cacthed = new WeakMap();
|
|
1817
|
+
function $mol_fail_catch(error) {
|
|
1818
|
+
if (typeof error !== 'object')
|
|
1819
|
+
return false;
|
|
1820
|
+
if (error instanceof Promise)
|
|
1821
|
+
$mol_fail_hidden(error);
|
|
1822
|
+
if (cacthed.get(error))
|
|
1823
|
+
return false;
|
|
1824
|
+
cacthed.set(error, true);
|
|
1825
|
+
return true;
|
|
1826
|
+
}
|
|
1827
|
+
$.$mol_fail_catch = $mol_fail_catch;
|
|
1828
|
+
})($ || ($ = {}));
|
|
1829
|
+
//mol/fail/catch/catch.ts
|
|
1830
|
+
;
|
|
1831
|
+
"use strict";
|
|
1832
|
+
var $;
|
|
1833
|
+
(function ($) {
|
|
1834
|
+
function $mol_fail_log(error) {
|
|
1835
|
+
if (error instanceof Promise)
|
|
1836
|
+
return false;
|
|
1837
|
+
if (!$mol_fail_catch(error))
|
|
1838
|
+
return false;
|
|
1839
|
+
console.error(error);
|
|
1840
|
+
return true;
|
|
1841
|
+
}
|
|
1842
|
+
$.$mol_fail_log = $mol_fail_log;
|
|
1843
|
+
})($ || ($ = {}));
|
|
1844
|
+
//mol/fail/log/log.ts
|
|
1845
|
+
;
|
|
1846
|
+
"use strict";
|
|
1847
|
+
var $;
|
|
1815
1848
|
(function ($) {
|
|
1816
1849
|
class $mol_wire_atom extends $mol_wire_fiber {
|
|
1817
1850
|
static solo(host, task) {
|
|
@@ -1895,7 +1928,14 @@ var $;
|
|
|
1895
1928
|
}
|
|
1896
1929
|
put(next) {
|
|
1897
1930
|
const prev = this.cache;
|
|
1898
|
-
if (next !== prev) {
|
|
1931
|
+
update: if (next !== prev) {
|
|
1932
|
+
try {
|
|
1933
|
+
if ($mol_compare_deep(prev, next))
|
|
1934
|
+
break update;
|
|
1935
|
+
}
|
|
1936
|
+
catch (error) {
|
|
1937
|
+
$mol_fail_log(error);
|
|
1938
|
+
}
|
|
1899
1939
|
if ($mol_owning_check(this, prev)) {
|
|
1900
1940
|
prev.destructor();
|
|
1901
1941
|
}
|
|
@@ -1908,11 +1948,8 @@ var $;
|
|
|
1908
1948
|
Object.defineProperty(next, Symbol.toStringTag, { value: this[Symbol.toStringTag] });
|
|
1909
1949
|
}
|
|
1910
1950
|
}
|
|
1911
|
-
if (this.
|
|
1912
|
-
|
|
1913
|
-
this.emit();
|
|
1914
|
-
}
|
|
1915
|
-
}
|
|
1951
|
+
if (!this.sub_empty)
|
|
1952
|
+
this.emit();
|
|
1916
1953
|
}
|
|
1917
1954
|
this.cursor = $mol_wire_cursor.fresh;
|
|
1918
1955
|
if (next instanceof Promise)
|
|
@@ -2016,39 +2053,6 @@ var $;
|
|
|
2016
2053
|
;
|
|
2017
2054
|
"use strict";
|
|
2018
2055
|
var $;
|
|
2019
|
-
(function ($) {
|
|
2020
|
-
const cacthed = new WeakMap();
|
|
2021
|
-
function $mol_fail_catch(error) {
|
|
2022
|
-
if (typeof error !== 'object')
|
|
2023
|
-
return false;
|
|
2024
|
-
if (error instanceof Promise)
|
|
2025
|
-
$mol_fail_hidden(error);
|
|
2026
|
-
if (cacthed.get(error))
|
|
2027
|
-
return false;
|
|
2028
|
-
cacthed.set(error, true);
|
|
2029
|
-
return true;
|
|
2030
|
-
}
|
|
2031
|
-
$.$mol_fail_catch = $mol_fail_catch;
|
|
2032
|
-
})($ || ($ = {}));
|
|
2033
|
-
//mol/fail/catch/catch.ts
|
|
2034
|
-
;
|
|
2035
|
-
"use strict";
|
|
2036
|
-
var $;
|
|
2037
|
-
(function ($) {
|
|
2038
|
-
function $mol_fail_log(error) {
|
|
2039
|
-
if (error instanceof Promise)
|
|
2040
|
-
return false;
|
|
2041
|
-
if (!$mol_fail_catch(error))
|
|
2042
|
-
return false;
|
|
2043
|
-
console.error(error);
|
|
2044
|
-
return true;
|
|
2045
|
-
}
|
|
2046
|
-
$.$mol_fail_log = $mol_fail_log;
|
|
2047
|
-
})($ || ($ = {}));
|
|
2048
|
-
//mol/fail/log/log.ts
|
|
2049
|
-
;
|
|
2050
|
-
"use strict";
|
|
2051
|
-
var $;
|
|
2052
2056
|
(function ($) {
|
|
2053
2057
|
class $mol_view_selection extends $mol_object {
|
|
2054
2058
|
static focused(next, notify) {
|
|
@@ -2417,7 +2421,7 @@ var $;
|
|
|
2417
2421
|
}
|
|
2418
2422
|
}
|
|
2419
2423
|
title() {
|
|
2420
|
-
return this.
|
|
2424
|
+
return this.toString().match(/.*\.(\w+)/)?.[1] ?? this.toString();
|
|
2421
2425
|
}
|
|
2422
2426
|
focused(next) {
|
|
2423
2427
|
let node = this.dom_node();
|
|
@@ -2704,6 +2708,9 @@ var $;
|
|
|
2704
2708
|
__decorate([
|
|
2705
2709
|
$mol_mem
|
|
2706
2710
|
], $mol_view.prototype, "autorun", null);
|
|
2711
|
+
__decorate([
|
|
2712
|
+
$mol_mem
|
|
2713
|
+
], $mol_view.prototype, "title", null);
|
|
2707
2714
|
__decorate([
|
|
2708
2715
|
$mol_mem
|
|
2709
2716
|
], $mol_view.prototype, "focused", null);
|