mol_plot_all 1.2.1445 → 1.2.1447

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.mjs CHANGED
@@ -265,6 +265,21 @@ var $;
265
265
  $.$mol_window = $mol_window;
266
266
  })($ || ($ = {}));
267
267
 
268
+ ;
269
+ "use strict";
270
+ var $;
271
+ (function ($) {
272
+ function $mol_guid(length = 8, exists = () => false) {
273
+ for (;;) {
274
+ let id = Math.random().toString(36).substring(2, length + 2).toUpperCase();
275
+ if (exists(id))
276
+ continue;
277
+ return id;
278
+ }
279
+ }
280
+ $.$mol_guid = $mol_guid;
281
+ })($ || ($ = {}));
282
+
268
283
  ;
269
284
  "use strict";
270
285
  var $;
@@ -283,6 +298,11 @@ var $;
283
298
  var $;
284
299
  (function ($) {
285
300
  class $mol_wire_pub extends Object {
301
+ constructor(id = `$mol_wire_pub:${$mol_guid()}`) {
302
+ super();
303
+ this[Symbol.toStringTag] = id;
304
+ }
305
+ [Symbol.toStringTag];
286
306
  data = [];
287
307
  static get [Symbol.species]() {
288
308
  return Array;
@@ -684,7 +704,6 @@ var $;
684
704
  }
685
705
  }
686
706
  }
687
- [Symbol.toStringTag];
688
707
  cache = undefined;
689
708
  get args() {
690
709
  return this.data.slice(0, this.pub_from);
@@ -703,13 +722,12 @@ var $;
703
722
  return this.task.name + '()';
704
723
  }
705
724
  constructor(id, task, host, args) {
706
- super();
725
+ super(id);
707
726
  this.task = task;
708
727
  this.host = host;
709
728
  if (args)
710
729
  this.data.push(...args);
711
730
  this.pub_from = this.sub_from = args?.length ?? 0;
712
- this[Symbol.toStringTag] = id;
713
731
  }
714
732
  plan() {
715
733
  $mol_wire_fiber.planning.add(this);
@@ -894,21 +912,6 @@ var $;
894
912
  $.$mol_wire_fiber = $mol_wire_fiber;
895
913
  })($ || ($ = {}));
896
914
 
897
- ;
898
- "use strict";
899
- var $;
900
- (function ($) {
901
- function $mol_guid(length = 8, exists = () => false) {
902
- for (;;) {
903
- let id = Math.random().toString(36).substring(2, length + 2).toUpperCase();
904
- if (exists(id))
905
- continue;
906
- return id;
907
- }
908
- }
909
- $.$mol_guid = $mol_guid;
910
- })($ || ($ = {}));
911
-
912
915
  ;
913
916
  "use strict";
914
917
  var $;
package/node.test.js CHANGED
@@ -256,6 +256,21 @@ var $;
256
256
  $.$mol_window = $mol_window;
257
257
  })($ || ($ = {}));
258
258
 
259
+ ;
260
+ "use strict";
261
+ var $;
262
+ (function ($) {
263
+ function $mol_guid(length = 8, exists = () => false) {
264
+ for (;;) {
265
+ let id = Math.random().toString(36).substring(2, length + 2).toUpperCase();
266
+ if (exists(id))
267
+ continue;
268
+ return id;
269
+ }
270
+ }
271
+ $.$mol_guid = $mol_guid;
272
+ })($ || ($ = {}));
273
+
259
274
  ;
260
275
  "use strict";
261
276
  var $;
@@ -274,6 +289,11 @@ var $;
274
289
  var $;
275
290
  (function ($) {
276
291
  class $mol_wire_pub extends Object {
292
+ constructor(id = `$mol_wire_pub:${$mol_guid()}`) {
293
+ super();
294
+ this[Symbol.toStringTag] = id;
295
+ }
296
+ [Symbol.toStringTag];
277
297
  data = [];
278
298
  static get [Symbol.species]() {
279
299
  return Array;
@@ -675,7 +695,6 @@ var $;
675
695
  }
676
696
  }
677
697
  }
678
- [Symbol.toStringTag];
679
698
  cache = undefined;
680
699
  get args() {
681
700
  return this.data.slice(0, this.pub_from);
@@ -694,13 +713,12 @@ var $;
694
713
  return this.task.name + '()';
695
714
  }
696
715
  constructor(id, task, host, args) {
697
- super();
716
+ super(id);
698
717
  this.task = task;
699
718
  this.host = host;
700
719
  if (args)
701
720
  this.data.push(...args);
702
721
  this.pub_from = this.sub_from = args?.length ?? 0;
703
- this[Symbol.toStringTag] = id;
704
722
  }
705
723
  plan() {
706
724
  $mol_wire_fiber.planning.add(this);
@@ -885,21 +903,6 @@ var $;
885
903
  $.$mol_wire_fiber = $mol_wire_fiber;
886
904
  })($ || ($ = {}));
887
905
 
888
- ;
889
- "use strict";
890
- var $;
891
- (function ($) {
892
- function $mol_guid(length = 8, exists = () => false) {
893
- for (;;) {
894
- let id = Math.random().toString(36).substring(2, length + 2).toUpperCase();
895
- if (exists(id))
896
- continue;
897
- return id;
898
- }
899
- }
900
- $.$mol_guid = $mol_guid;
901
- })($ || ($ = {}));
902
-
903
906
  ;
904
907
  "use strict";
905
908
  var $;