mol_dump_lib 0.0.552 → 0.0.553
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.deps.json +1 -1
- package/node.js +3 -0
- package/node.js.map +1 -1
- package/node.mjs +3 -0
- package/node.test.js +3 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +10 -10
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +24 -21
- package/web.js.map +1 -1
- package/web.mjs +24 -21
package/web.js
CHANGED
|
@@ -1918,6 +1918,27 @@ var $;
|
|
|
1918
1918
|
$.$mol_wire_async = $mol_wire_async;
|
|
1919
1919
|
})($ || ($ = {}));
|
|
1920
1920
|
|
|
1921
|
+
;
|
|
1922
|
+
"use strict";
|
|
1923
|
+
var $;
|
|
1924
|
+
(function ($) {
|
|
1925
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
1926
|
+
delay;
|
|
1927
|
+
task;
|
|
1928
|
+
id;
|
|
1929
|
+
constructor(delay, task) {
|
|
1930
|
+
super();
|
|
1931
|
+
this.delay = delay;
|
|
1932
|
+
this.task = task;
|
|
1933
|
+
this.id = setTimeout(task, delay);
|
|
1934
|
+
}
|
|
1935
|
+
destructor() {
|
|
1936
|
+
clearTimeout(this.id);
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
1940
|
+
})($ || ($ = {}));
|
|
1941
|
+
|
|
1921
1942
|
;
|
|
1922
1943
|
"use strict";
|
|
1923
1944
|
|
|
@@ -2508,6 +2529,9 @@ var $;
|
|
|
2508
2529
|
const win = this.$.$mol_dom_context;
|
|
2509
2530
|
if (win.parent !== win.self && !win.document.hasFocus())
|
|
2510
2531
|
return;
|
|
2532
|
+
new this.$.$mol_after_timeout(0, () => {
|
|
2533
|
+
this.focused(true);
|
|
2534
|
+
});
|
|
2511
2535
|
}
|
|
2512
2536
|
destructor() {
|
|
2513
2537
|
const node = $mol_wire_probe(() => this.dom_node());
|
|
@@ -4305,27 +4329,6 @@ var $;
|
|
|
4305
4329
|
};
|
|
4306
4330
|
|
|
4307
4331
|
|
|
4308
|
-
;
|
|
4309
|
-
"use strict";
|
|
4310
|
-
var $;
|
|
4311
|
-
(function ($) {
|
|
4312
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
4313
|
-
delay;
|
|
4314
|
-
task;
|
|
4315
|
-
id;
|
|
4316
|
-
constructor(delay, task) {
|
|
4317
|
-
super();
|
|
4318
|
-
this.delay = delay;
|
|
4319
|
-
this.task = task;
|
|
4320
|
-
this.id = setTimeout(task, delay);
|
|
4321
|
-
}
|
|
4322
|
-
destructor() {
|
|
4323
|
-
clearTimeout(this.id);
|
|
4324
|
-
}
|
|
4325
|
-
}
|
|
4326
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
4327
|
-
})($ || ($ = {}));
|
|
4328
|
-
|
|
4329
4332
|
;
|
|
4330
4333
|
"use strict";
|
|
4331
4334
|
var $;
|