mol_plot_all 1.2.197 → 1.2.201

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.js CHANGED
@@ -721,6 +721,8 @@ var $;
721
721
  this.sub_from = from;
722
722
  }
723
723
  affect(quant) {
724
+ if (this.cursor === $mol_wire_cursor.final)
725
+ return false;
724
726
  if (this.cursor >= quant)
725
727
  return false;
726
728
  this.cursor = quant;
@@ -2112,7 +2114,7 @@ var $;
2112
2114
  "use strict";
2113
2115
  var $;
2114
2116
  (function ($) {
2115
- class $mol_after_work extends $mol_object2 {
2117
+ class $mol_after_timeout extends $mol_object2 {
2116
2118
  delay;
2117
2119
  task;
2118
2120
  id;
@@ -2120,20 +2122,20 @@ var $;
2120
2122
  super();
2121
2123
  this.delay = delay;
2122
2124
  this.task = task;
2123
- this.id = requestIdleCallback(task, { timeout: delay });
2125
+ this.id = setTimeout(task, delay);
2124
2126
  }
2125
2127
  destructor() {
2126
- cancelIdleCallback(this.id);
2128
+ clearTimeout(this.id);
2127
2129
  }
2128
2130
  }
2129
- $.$mol_after_work = $mol_after_work;
2131
+ $.$mol_after_timeout = $mol_after_timeout;
2130
2132
  })($ || ($ = {}));
2131
- //mol/after/work/work.web.ts
2133
+ //mol/after/timeout/timeout.ts
2132
2134
  ;
2133
2135
  "use strict";
2134
2136
  var $;
2135
2137
  (function ($) {
2136
- class $mol_after_timeout extends $mol_object2 {
2138
+ class $mol_after_work extends $mol_object2 {
2137
2139
  delay;
2138
2140
  task;
2139
2141
  id;
@@ -2141,15 +2143,18 @@ var $;
2141
2143
  super();
2142
2144
  this.delay = delay;
2143
2145
  this.task = task;
2144
- this.id = setTimeout(task, delay);
2146
+ this.id = requestIdleCallback(task, { timeout: delay });
2145
2147
  }
2146
2148
  destructor() {
2147
- clearTimeout(this.id);
2149
+ cancelIdleCallback(this.id);
2148
2150
  }
2149
2151
  }
2150
- $.$mol_after_timeout = $mol_after_timeout;
2152
+ $.$mol_after_work = $mol_after_work;
2153
+ if (typeof requestIdleCallback !== 'function') {
2154
+ $.$mol_after_work = $mol_after_timeout;
2155
+ }
2151
2156
  })($ || ($ = {}));
2152
- //mol/after/timeout/timeout.ts
2157
+ //mol/after/work/work.ts
2153
2158
  ;
2154
2159
  "use strict";
2155
2160
  var $;