mol_plot_all 1.2.1444 → 1.2.1446

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.js 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 $;