mol_plot_all 1.2.472 → 1.2.474
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/web.js
CHANGED
|
@@ -1289,6 +1289,39 @@ var $;
|
|
|
1289
1289
|
;
|
|
1290
1290
|
"use strict";
|
|
1291
1291
|
var $;
|
|
1292
|
+
(function ($) {
|
|
1293
|
+
const cacthed = new WeakMap();
|
|
1294
|
+
function $mol_fail_catch(error) {
|
|
1295
|
+
if (typeof error !== 'object')
|
|
1296
|
+
return false;
|
|
1297
|
+
if (error instanceof Promise)
|
|
1298
|
+
$mol_fail_hidden(error);
|
|
1299
|
+
if (cacthed.get(error))
|
|
1300
|
+
return false;
|
|
1301
|
+
cacthed.set(error, true);
|
|
1302
|
+
return true;
|
|
1303
|
+
}
|
|
1304
|
+
$.$mol_fail_catch = $mol_fail_catch;
|
|
1305
|
+
})($ || ($ = {}));
|
|
1306
|
+
//mol/fail/catch/catch.ts
|
|
1307
|
+
;
|
|
1308
|
+
"use strict";
|
|
1309
|
+
var $;
|
|
1310
|
+
(function ($) {
|
|
1311
|
+
function $mol_fail_log(error) {
|
|
1312
|
+
if (error instanceof Promise)
|
|
1313
|
+
return false;
|
|
1314
|
+
if (!$mol_fail_catch(error))
|
|
1315
|
+
return false;
|
|
1316
|
+
console.error(error);
|
|
1317
|
+
return true;
|
|
1318
|
+
}
|
|
1319
|
+
$.$mol_fail_log = $mol_fail_log;
|
|
1320
|
+
})($ || ($ = {}));
|
|
1321
|
+
//mol/fail/log/log.ts
|
|
1322
|
+
;
|
|
1323
|
+
"use strict";
|
|
1324
|
+
var $;
|
|
1292
1325
|
(function ($) {
|
|
1293
1326
|
class $mol_wire_atom extends $mol_wire_fiber {
|
|
1294
1327
|
static solo(host, task) {
|
|
@@ -1372,7 +1405,14 @@ var $;
|
|
|
1372
1405
|
}
|
|
1373
1406
|
put(next) {
|
|
1374
1407
|
const prev = this.cache;
|
|
1375
|
-
if (next !== prev) {
|
|
1408
|
+
update: if (next !== prev) {
|
|
1409
|
+
try {
|
|
1410
|
+
if ($mol_compare_deep(prev, next))
|
|
1411
|
+
break update;
|
|
1412
|
+
}
|
|
1413
|
+
catch (error) {
|
|
1414
|
+
$mol_fail_log(error);
|
|
1415
|
+
}
|
|
1376
1416
|
if ($mol_owning_check(this, prev)) {
|
|
1377
1417
|
prev.destructor();
|
|
1378
1418
|
}
|
|
@@ -1385,11 +1425,8 @@ var $;
|
|
|
1385
1425
|
Object.defineProperty(next, Symbol.toStringTag, { value: this[Symbol.toStringTag] });
|
|
1386
1426
|
}
|
|
1387
1427
|
}
|
|
1388
|
-
if (this.
|
|
1389
|
-
|
|
1390
|
-
this.emit();
|
|
1391
|
-
}
|
|
1392
|
-
}
|
|
1428
|
+
if (!this.sub_empty)
|
|
1429
|
+
this.emit();
|
|
1393
1430
|
}
|
|
1394
1431
|
this.cursor = $mol_wire_cursor.fresh;
|
|
1395
1432
|
if (next instanceof Promise)
|
|
@@ -1517,39 +1554,6 @@ var $;
|
|
|
1517
1554
|
;
|
|
1518
1555
|
"use strict";
|
|
1519
1556
|
var $;
|
|
1520
|
-
(function ($) {
|
|
1521
|
-
const cacthed = new WeakMap();
|
|
1522
|
-
function $mol_fail_catch(error) {
|
|
1523
|
-
if (typeof error !== 'object')
|
|
1524
|
-
return false;
|
|
1525
|
-
if (error instanceof Promise)
|
|
1526
|
-
$mol_fail_hidden(error);
|
|
1527
|
-
if (cacthed.get(error))
|
|
1528
|
-
return false;
|
|
1529
|
-
cacthed.set(error, true);
|
|
1530
|
-
return true;
|
|
1531
|
-
}
|
|
1532
|
-
$.$mol_fail_catch = $mol_fail_catch;
|
|
1533
|
-
})($ || ($ = {}));
|
|
1534
|
-
//mol/fail/catch/catch.ts
|
|
1535
|
-
;
|
|
1536
|
-
"use strict";
|
|
1537
|
-
var $;
|
|
1538
|
-
(function ($) {
|
|
1539
|
-
function $mol_fail_log(error) {
|
|
1540
|
-
if (error instanceof Promise)
|
|
1541
|
-
return false;
|
|
1542
|
-
if (!$mol_fail_catch(error))
|
|
1543
|
-
return false;
|
|
1544
|
-
console.error(error);
|
|
1545
|
-
return true;
|
|
1546
|
-
}
|
|
1547
|
-
$.$mol_fail_log = $mol_fail_log;
|
|
1548
|
-
})($ || ($ = {}));
|
|
1549
|
-
//mol/fail/log/log.ts
|
|
1550
|
-
;
|
|
1551
|
-
"use strict";
|
|
1552
|
-
var $;
|
|
1553
1557
|
(function ($) {
|
|
1554
1558
|
class $mol_view_selection extends $mol_object {
|
|
1555
1559
|
static focused(next, notify) {
|
|
@@ -1932,7 +1936,7 @@ var $;
|
|
|
1932
1936
|
}
|
|
1933
1937
|
}
|
|
1934
1938
|
title() {
|
|
1935
|
-
return this.
|
|
1939
|
+
return this.toString().match(/.*\.(\w+)/)?.[1] ?? this.toString();
|
|
1936
1940
|
}
|
|
1937
1941
|
focused(next) {
|
|
1938
1942
|
let node = this.dom_node();
|
|
@@ -2219,6 +2223,9 @@ var $;
|
|
|
2219
2223
|
__decorate([
|
|
2220
2224
|
$mol_mem
|
|
2221
2225
|
], $mol_view.prototype, "autorun", null);
|
|
2226
|
+
__decorate([
|
|
2227
|
+
$mol_mem
|
|
2228
|
+
], $mol_view.prototype, "title", null);
|
|
2222
2229
|
__decorate([
|
|
2223
2230
|
$mol_mem
|
|
2224
2231
|
], $mol_view.prototype, "focused", null);
|