@schukai/monster 3.85.0 → 3.85.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +19 -0
- package/package.json +1 -1
- package/source/components/content/copy.mjs +381 -317
- package/source/components/datatable/columnbar.mjs +15 -36
- package/source/components/datatable/datasource/dom.mjs +1 -0
- package/source/components/datatable/datatable.mjs +757 -765
- package/source/components/datatable/stylesheet/datatable.mjs +7 -14
- package/source/components/datatable/util.mjs +1 -0
- package/source/dom/ready.mjs +1 -1
- package/source/util/deadmansswitch.mjs +13 -1
package/source/dom/ready.mjs
CHANGED
@@ -45,7 +45,7 @@ const domReady = new Promise((resolve) => {
|
|
45
45
|
});
|
46
46
|
|
47
47
|
/**
|
48
|
-
* This variable is a promise
|
48
|
+
* This variable is a promise is fulfilled as soon as the windows is available.
|
49
49
|
*
|
50
50
|
* The load event fires when the entire page is loaded, including all dependent resources such as stylesheets,
|
51
51
|
* assets, and images. Unlike DOMContentLoaded, which fires as soon as the DOM of the page is loaded,
|
@@ -63,11 +63,23 @@ class DeadMansSwitch extends Base {
|
|
63
63
|
}
|
64
64
|
|
65
65
|
clearTimeout(this[internalSymbol]["timer"]);
|
66
|
-
|
67
66
|
initCallback.call(this);
|
68
67
|
|
69
68
|
return this;
|
70
69
|
}
|
70
|
+
|
71
|
+
/**
|
72
|
+
* @throws {Error} has already run
|
73
|
+
* @returns {DeadMansSwitch}
|
74
|
+
*/
|
75
|
+
defuse() {
|
76
|
+
if (this[internalSymbol]["isAlreadyRun"] === true) {
|
77
|
+
throw new Error("has already run");
|
78
|
+
}
|
79
|
+
|
80
|
+
clearTimeout(this[internalSymbol]["timer"]);
|
81
|
+
return this;
|
82
|
+
}
|
71
83
|
}
|
72
84
|
|
73
85
|
/**
|