mol_plot_all 1.2.345 → 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 +4 -28
- package/node.esm.js.map +1 -1
- package/node.js +4 -28
- package/node.js.map +1 -1
- package/node.test.js +4 -37
- 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 +25 -49
- package/web.esm.js.map +1 -1
- package/web.js +25 -49
- package/web.js.map +1 -1
- package/web.test.js +0 -9
- package/web.test.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -2006,7 +2006,7 @@ var $;
|
|
|
2006
2006
|
new $mol_after_tick(() => {
|
|
2007
2007
|
const element = this.focused()[0];
|
|
2008
2008
|
if (element)
|
|
2009
|
-
element.focus(
|
|
2009
|
+
element.focus();
|
|
2010
2010
|
else
|
|
2011
2011
|
$mol_dom_context.blur();
|
|
2012
2012
|
});
|
|
@@ -2304,30 +2304,6 @@ var $;
|
|
|
2304
2304
|
//mol/func/name/name.ts
|
|
2305
2305
|
;
|
|
2306
2306
|
"use strict";
|
|
2307
|
-
var $;
|
|
2308
|
-
(function ($) {
|
|
2309
|
-
class $mol_after_work extends $mol_object2 {
|
|
2310
|
-
delay;
|
|
2311
|
-
task;
|
|
2312
|
-
id;
|
|
2313
|
-
constructor(delay, task) {
|
|
2314
|
-
super();
|
|
2315
|
-
this.delay = delay;
|
|
2316
|
-
this.task = task;
|
|
2317
|
-
this.id = requestIdleCallback(task, { timeout: delay });
|
|
2318
|
-
}
|
|
2319
|
-
destructor() {
|
|
2320
|
-
cancelIdleCallback(this.id);
|
|
2321
|
-
}
|
|
2322
|
-
}
|
|
2323
|
-
$.$mol_after_work = $mol_after_work;
|
|
2324
|
-
if (typeof requestIdleCallback !== 'function') {
|
|
2325
|
-
$.$mol_after_work = $mol_after_timeout;
|
|
2326
|
-
}
|
|
2327
|
-
})($ || ($ = {}));
|
|
2328
|
-
//mol/after/work/work.ts
|
|
2329
|
-
;
|
|
2330
|
-
"use strict";
|
|
2331
2307
|
//mol/type/keys/extract/extract.ts
|
|
2332
2308
|
;
|
|
2333
2309
|
"use strict";
|
|
@@ -2656,13 +2632,13 @@ var $;
|
|
|
2656
2632
|
async ensure_visible(view, align = "start") {
|
|
2657
2633
|
const path = this.view_find(v => v === view).next().value;
|
|
2658
2634
|
this.force_render(new Set(path));
|
|
2659
|
-
|
|
2635
|
+
this.dom_final();
|
|
2660
2636
|
view.dom_node().scrollIntoView({ block: align });
|
|
2661
2637
|
}
|
|
2662
2638
|
bring() {
|
|
2663
|
-
new $
|
|
2639
|
+
new $mol_after_frame(() => {
|
|
2640
|
+
this.dom_node().scrollIntoView();
|
|
2664
2641
|
this.focused(true);
|
|
2665
|
-
this.dom_node().scrollIntoView({ behavior: 'smooth' });
|
|
2666
2642
|
});
|
|
2667
2643
|
}
|
|
2668
2644
|
}
|
|
@@ -7898,15 +7874,6 @@ var $;
|
|
|
7898
7874
|
//mol/const/const.test.ts
|
|
7899
7875
|
;
|
|
7900
7876
|
"use strict";
|
|
7901
|
-
var $;
|
|
7902
|
-
(function ($_1) {
|
|
7903
|
-
$mol_test_mocks.push($ => {
|
|
7904
|
-
$.$mol_after_work = $mol_after_mock_timeout;
|
|
7905
|
-
});
|
|
7906
|
-
})($ || ($ = {}));
|
|
7907
|
-
//mol/after/work/work.test.ts
|
|
7908
|
-
;
|
|
7909
|
-
"use strict";
|
|
7910
7877
|
//mol/type/keys/extract/extract.test.ts
|
|
7911
7878
|
;
|
|
7912
7879
|
"use strict";
|