mol_plot_all 1.2.346 → 1.2.349
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 +0 -10
- package/node.deps.json +1 -1
- package/node.esm.js +3 -27
- package/node.esm.js.map +1 -1
- package/node.js +3 -27
- package/node.js.map +1 -1
- package/node.test.js +3 -36
- package/node.test.js.map +1 -1
- package/package.json +1 -2
- package/web.d.ts +10 -20
- package/web.deps.json +1 -1
- package/web.esm.js +24 -48
- package/web.esm.js.map +1 -1
- package/web.js +24 -48
- package/web.js.map +1 -1
- package/web.test.js +0 -9
- package/web.test.js.map +1 -1
package/web.js
CHANGED
|
@@ -1515,7 +1515,7 @@ var $;
|
|
|
1515
1515
|
new $mol_after_tick(() => {
|
|
1516
1516
|
const element = this.focused()[0];
|
|
1517
1517
|
if (element)
|
|
1518
|
-
element.focus(
|
|
1518
|
+
element.focus();
|
|
1519
1519
|
else
|
|
1520
1520
|
$mol_dom_context.blur();
|
|
1521
1521
|
});
|
|
@@ -1834,51 +1834,6 @@ var $;
|
|
|
1834
1834
|
//mol/func/name/name.ts
|
|
1835
1835
|
;
|
|
1836
1836
|
"use strict";
|
|
1837
|
-
var $;
|
|
1838
|
-
(function ($) {
|
|
1839
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
1840
|
-
delay;
|
|
1841
|
-
task;
|
|
1842
|
-
id;
|
|
1843
|
-
constructor(delay, task) {
|
|
1844
|
-
super();
|
|
1845
|
-
this.delay = delay;
|
|
1846
|
-
this.task = task;
|
|
1847
|
-
this.id = setTimeout(task, delay);
|
|
1848
|
-
}
|
|
1849
|
-
destructor() {
|
|
1850
|
-
clearTimeout(this.id);
|
|
1851
|
-
}
|
|
1852
|
-
}
|
|
1853
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
1854
|
-
})($ || ($ = {}));
|
|
1855
|
-
//mol/after/timeout/timeout.ts
|
|
1856
|
-
;
|
|
1857
|
-
"use strict";
|
|
1858
|
-
var $;
|
|
1859
|
-
(function ($) {
|
|
1860
|
-
class $mol_after_work extends $mol_object2 {
|
|
1861
|
-
delay;
|
|
1862
|
-
task;
|
|
1863
|
-
id;
|
|
1864
|
-
constructor(delay, task) {
|
|
1865
|
-
super();
|
|
1866
|
-
this.delay = delay;
|
|
1867
|
-
this.task = task;
|
|
1868
|
-
this.id = requestIdleCallback(task, { timeout: delay });
|
|
1869
|
-
}
|
|
1870
|
-
destructor() {
|
|
1871
|
-
cancelIdleCallback(this.id);
|
|
1872
|
-
}
|
|
1873
|
-
}
|
|
1874
|
-
$.$mol_after_work = $mol_after_work;
|
|
1875
|
-
if (typeof requestIdleCallback !== 'function') {
|
|
1876
|
-
$.$mol_after_work = $mol_after_timeout;
|
|
1877
|
-
}
|
|
1878
|
-
})($ || ($ = {}));
|
|
1879
|
-
//mol/after/work/work.ts
|
|
1880
|
-
;
|
|
1881
|
-
"use strict";
|
|
1882
1837
|
//mol/type/keys/extract/extract.ts
|
|
1883
1838
|
;
|
|
1884
1839
|
"use strict";
|
|
@@ -2204,9 +2159,9 @@ var $;
|
|
|
2204
2159
|
view.dom_node().scrollIntoView({ block: align });
|
|
2205
2160
|
}
|
|
2206
2161
|
bring() {
|
|
2207
|
-
new $
|
|
2162
|
+
new $mol_after_frame(() => {
|
|
2163
|
+
this.dom_node().scrollIntoView();
|
|
2208
2164
|
this.focused(true);
|
|
2209
|
-
this.dom_node().scrollIntoView({ behavior: 'smooth' });
|
|
2210
2165
|
});
|
|
2211
2166
|
}
|
|
2212
2167
|
}
|
|
@@ -2302,6 +2257,27 @@ var $;
|
|
|
2302
2257
|
;
|
|
2303
2258
|
"use strict";
|
|
2304
2259
|
var $;
|
|
2260
|
+
(function ($) {
|
|
2261
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
2262
|
+
delay;
|
|
2263
|
+
task;
|
|
2264
|
+
id;
|
|
2265
|
+
constructor(delay, task) {
|
|
2266
|
+
super();
|
|
2267
|
+
this.delay = delay;
|
|
2268
|
+
this.task = task;
|
|
2269
|
+
this.id = setTimeout(task, delay);
|
|
2270
|
+
}
|
|
2271
|
+
destructor() {
|
|
2272
|
+
clearTimeout(this.id);
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
2276
|
+
})($ || ($ = {}));
|
|
2277
|
+
//mol/after/timeout/timeout.ts
|
|
2278
|
+
;
|
|
2279
|
+
"use strict";
|
|
2280
|
+
var $;
|
|
2305
2281
|
(function ($) {
|
|
2306
2282
|
class $mol_state_time extends $mol_object {
|
|
2307
2283
|
static task(precision, reset) {
|