kui-utils 0.0.14 → 0.0.16
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/cjs/index.js +4 -0
- package/cjs/index.js.map +1 -1
- package/index.js +4 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -2093,8 +2093,12 @@ var Loader = /** @class */ (function () {
|
|
|
2093
2093
|
function Loader(isLoading, delayTime) {
|
|
2094
2094
|
var _this = this;
|
|
2095
2095
|
this.startLoading = function (message, withoutCleanError) {
|
|
2096
|
+
var runMode = kuiUtilsSettings.getSettings().runMode;
|
|
2096
2097
|
_this.isLoading = true;
|
|
2097
2098
|
_this.loadingMessage = message;
|
|
2099
|
+
if (runMode !== "test") {
|
|
2100
|
+
_this.timeBeforeLoading = new Date().getTime();
|
|
2101
|
+
}
|
|
2098
2102
|
if (!withoutCleanError)
|
|
2099
2103
|
_this.cleanError();
|
|
2100
2104
|
};
|