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/web.mjs CHANGED
@@ -250,6 +250,21 @@ var $;
250
250
  $_1.$mol_object = $mol_object;
251
251
  })($ || ($ = {}));
252
252
 
253
+ ;
254
+ "use strict";
255
+ var $;
256
+ (function ($) {
257
+ function $mol_guid(length = 8, exists = () => false) {
258
+ for (;;) {
259
+ let id = Math.random().toString(36).substring(2, length + 2).toUpperCase();
260
+ if (exists(id))
261
+ continue;
262
+ return id;
263
+ }
264
+ }
265
+ $.$mol_guid = $mol_guid;
266
+ })($ || ($ = {}));
267
+
253
268
  ;
254
269
  "use strict";
255
270
  var $;
@@ -268,6 +283,11 @@ var $;
268
283
  var $;
269
284
  (function ($) {
270
285
  class $mol_wire_pub extends Object {
286
+ constructor(id = `$mol_wire_pub:${$mol_guid()}`) {
287
+ super();
288
+ this[Symbol.toStringTag] = id;
289
+ }
290
+ [Symbol.toStringTag];
271
291
  data = [];
272
292
  static get [Symbol.species]() {
273
293
  return Array;
@@ -669,7 +689,6 @@ var $;
669
689
  }
670
690
  }
671
691
  }
672
- [Symbol.toStringTag];
673
692
  cache = undefined;
674
693
  get args() {
675
694
  return this.data.slice(0, this.pub_from);
@@ -688,13 +707,12 @@ var $;
688
707
  return this.task.name + '()';
689
708
  }
690
709
  constructor(id, task, host, args) {
691
- super();
710
+ super(id);
692
711
  this.task = task;
693
712
  this.host = host;
694
713
  if (args)
695
714
  this.data.push(...args);
696
715
  this.pub_from = this.sub_from = args?.length ?? 0;
697
- this[Symbol.toStringTag] = id;
698
716
  }
699
717
  plan() {
700
718
  $mol_wire_fiber.planning.add(this);
@@ -879,21 +897,6 @@ var $;
879
897
  $.$mol_wire_fiber = $mol_wire_fiber;
880
898
  })($ || ($ = {}));
881
899
 
882
- ;
883
- "use strict";
884
- var $;
885
- (function ($) {
886
- function $mol_guid(length = 8, exists = () => false) {
887
- for (;;) {
888
- let id = Math.random().toString(36).substring(2, length + 2).toUpperCase();
889
- if (exists(id))
890
- continue;
891
- return id;
892
- }
893
- }
894
- $.$mol_guid = $mol_guid;
895
- })($ || ($ = {}));
896
-
897
900
  ;
898
901
  "use strict";
899
902
  var $;