mol_plot_all 1.2.347 → 1.2.348
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/node.js
CHANGED
|
@@ -2014,7 +2014,7 @@ var $;
|
|
|
2014
2014
|
new $mol_after_tick(() => {
|
|
2015
2015
|
const element = this.focused()[0];
|
|
2016
2016
|
if (element)
|
|
2017
|
-
element.focus(
|
|
2017
|
+
element.focus();
|
|
2018
2018
|
else
|
|
2019
2019
|
$mol_dom_context.blur();
|
|
2020
2020
|
});
|
|
@@ -2312,30 +2312,6 @@ var $;
|
|
|
2312
2312
|
//mol/func/name/name.ts
|
|
2313
2313
|
;
|
|
2314
2314
|
"use strict";
|
|
2315
|
-
var $;
|
|
2316
|
-
(function ($) {
|
|
2317
|
-
class $mol_after_work extends $mol_object2 {
|
|
2318
|
-
delay;
|
|
2319
|
-
task;
|
|
2320
|
-
id;
|
|
2321
|
-
constructor(delay, task) {
|
|
2322
|
-
super();
|
|
2323
|
-
this.delay = delay;
|
|
2324
|
-
this.task = task;
|
|
2325
|
-
this.id = requestIdleCallback(task, { timeout: delay });
|
|
2326
|
-
}
|
|
2327
|
-
destructor() {
|
|
2328
|
-
cancelIdleCallback(this.id);
|
|
2329
|
-
}
|
|
2330
|
-
}
|
|
2331
|
-
$.$mol_after_work = $mol_after_work;
|
|
2332
|
-
if (typeof requestIdleCallback !== 'function') {
|
|
2333
|
-
$.$mol_after_work = $mol_after_timeout;
|
|
2334
|
-
}
|
|
2335
|
-
})($ || ($ = {}));
|
|
2336
|
-
//mol/after/work/work.ts
|
|
2337
|
-
;
|
|
2338
|
-
"use strict";
|
|
2339
2315
|
//mol/type/keys/extract/extract.ts
|
|
2340
2316
|
;
|
|
2341
2317
|
"use strict";
|
|
@@ -2668,9 +2644,9 @@ var $;
|
|
|
2668
2644
|
view.dom_node().scrollIntoView({ block: align });
|
|
2669
2645
|
}
|
|
2670
2646
|
bring() {
|
|
2671
|
-
new $
|
|
2647
|
+
new $mol_after_frame(() => {
|
|
2648
|
+
this.dom_node().scrollIntoView();
|
|
2672
2649
|
this.focused(true);
|
|
2673
|
-
this.dom_node().scrollIntoView({ behavior: 'smooth' });
|
|
2674
2650
|
});
|
|
2675
2651
|
}
|
|
2676
2652
|
}
|