mol_plot_all 1.2.862 → 1.2.864
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 +1 -1
- package/node.deps.json +1 -1
- package/node.js +11 -8
- package/node.js.map +1 -1
- package/node.mjs +11 -8
- package/node.test.js +11 -8
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -1
- package/web.deps.json +1 -1
- package/web.js +11 -8
- package/web.js.map +1 -1
- package/web.mjs +11 -8
package/web.js
CHANGED
|
@@ -399,9 +399,6 @@ var $;
|
|
|
399
399
|
function $mol_dev_format_auto(obj) {
|
|
400
400
|
if (obj == null)
|
|
401
401
|
return $.$mol_dev_format_shade(String(obj));
|
|
402
|
-
if (typeof obj === 'object' && $.$mol_dev_format_head in obj) {
|
|
403
|
-
return obj[$.$mol_dev_format_head]();
|
|
404
|
-
}
|
|
405
402
|
return [
|
|
406
403
|
'object',
|
|
407
404
|
{
|
|
@@ -741,7 +738,12 @@ var $;
|
|
|
741
738
|
[$mol_wire_cursor.fresh]: '🟢',
|
|
742
739
|
[$mol_wire_cursor.final]: '🔵',
|
|
743
740
|
}[this.cursor] ?? this.cursor.toString();
|
|
744
|
-
return $mol_dev_format_div({}, $
|
|
741
|
+
return $mol_dev_format_div({}, $mol_owning_check(this, this.cache)
|
|
742
|
+
? $mol_dev_format_auto({
|
|
743
|
+
[$mol_dev_format_head]: () => $mol_dev_format_shade(cursor),
|
|
744
|
+
[$mol_dev_format_body]: () => $mol_dev_format_native(this),
|
|
745
|
+
})
|
|
746
|
+
: $mol_dev_format_shade($mol_dev_format_native(this), cursor), $mol_dev_format_auto(this.cache));
|
|
745
747
|
}
|
|
746
748
|
get $() {
|
|
747
749
|
return (this.host ?? this.task)['$'];
|
|
@@ -1265,17 +1267,18 @@ var $;
|
|
|
1265
1267
|
const field = task.name + '()';
|
|
1266
1268
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1267
1269
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1268
|
-
const
|
|
1270
|
+
const key_str = $mol_key(key);
|
|
1269
1271
|
if (dict) {
|
|
1270
|
-
const existen = dict.get(
|
|
1272
|
+
const existen = dict.get(key_str);
|
|
1271
1273
|
if (existen)
|
|
1272
1274
|
return existen;
|
|
1273
1275
|
}
|
|
1274
1276
|
else {
|
|
1275
1277
|
dict = (host ?? task)[field] = new Map();
|
|
1276
1278
|
}
|
|
1279
|
+
const id = `${prefix}.${task.name}(${key_str.replace(/^"|"$/g, "'")})`;
|
|
1277
1280
|
const fiber = new $mol_wire_atom(id, task, host, [key]);
|
|
1278
|
-
dict.set(
|
|
1281
|
+
dict.set(key_str, fiber);
|
|
1279
1282
|
return fiber;
|
|
1280
1283
|
}
|
|
1281
1284
|
static watching = new Set();
|
|
@@ -1330,7 +1333,7 @@ var $;
|
|
|
1330
1333
|
}
|
|
1331
1334
|
else {
|
|
1332
1335
|
;
|
|
1333
|
-
(this.host ?? this.task)[this.field()].delete(this[
|
|
1336
|
+
(this.host ?? this.task)[this.field()].delete($mol_key(this.args[0]));
|
|
1334
1337
|
}
|
|
1335
1338
|
}
|
|
1336
1339
|
put(next) {
|