@kalel1500/kalion-js 0.9.1-beta.1 → 0.9.2-beta.0
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/dist/app/kalion-js.es.js +66 -63
- package/dist/app/kalion-js.es.js.map +1 -1
- package/dist/app/styles-old.css +155 -80
- package/dist/app/sweetalert.css +155 -80
- package/dist/app/types/core/_types/index.d.ts +1 -2
- package/dist/app/types/core/infrastructure/utilities/general/global.d.ts +1 -1
- package/dist/app/types/core/infrastructure/utilities/translation/lang/en.json.d.ts +0 -1
- package/dist/app/types/core/infrastructure/utilities/translation/lang/es.json.d.ts +0 -1
- package/package.json +1 -1
package/dist/app/kalion-js.es.js
CHANGED
|
@@ -36,7 +36,7 @@ const _Constants = class _Constants {
|
|
|
36
36
|
routeName_queues_checkService: "kalion.ajax.queues.checkService",
|
|
37
37
|
// Vite
|
|
38
38
|
VITE_BROADCASTING_ENABLED: false,
|
|
39
|
-
VITE_REVERB_APP_KEY:
|
|
39
|
+
VITE_REVERB_APP_KEY: void 0,
|
|
40
40
|
VITE_REVERB_HOST: "localhost",
|
|
41
41
|
VITE_REVERB_PORT: 8080,
|
|
42
42
|
VITE_REVERB_SCHEME: "http",
|
|
@@ -98,7 +98,6 @@ const launch$1 = "Lanzar";
|
|
|
98
98
|
const correct$1 = "Correcto";
|
|
99
99
|
const ok$1 = "De acuerdo";
|
|
100
100
|
const reload_page$1 = "Recargar página";
|
|
101
|
-
const contact_pi_team$1 = "Contacta con el equipo de Herramientas PI";
|
|
102
101
|
const unforeseen_error$1 = "Error imprevisto";
|
|
103
102
|
const loading$1 = "Cargando";
|
|
104
103
|
const loading_dots$1 = "Cargando...";
|
|
@@ -144,7 +143,6 @@ const es = {
|
|
|
144
143
|
correct: correct$1,
|
|
145
144
|
ok: ok$1,
|
|
146
145
|
reload_page: reload_page$1,
|
|
147
|
-
contact_pi_team: contact_pi_team$1,
|
|
148
146
|
unforeseen_error: unforeseen_error$1,
|
|
149
147
|
loading: loading$1,
|
|
150
148
|
loading_dots: loading_dots$1,
|
|
@@ -189,7 +187,6 @@ const launch = "Launch";
|
|
|
189
187
|
const correct = "It's right";
|
|
190
188
|
const ok = "Ok";
|
|
191
189
|
const reload_page = "Reload Page";
|
|
192
|
-
const contact_pi_team = "Contact the PI Tools team";
|
|
193
190
|
const unforeseen_error = "Unforeseen error";
|
|
194
191
|
const loading = "Loading";
|
|
195
192
|
const loading_dots = "Loading...";
|
|
@@ -235,7 +232,6 @@ const en = {
|
|
|
235
232
|
correct,
|
|
236
233
|
ok,
|
|
237
234
|
reload_page,
|
|
238
|
-
contact_pi_team,
|
|
239
235
|
unforeseen_error,
|
|
240
236
|
loading,
|
|
241
237
|
loading_dots,
|
|
@@ -304,7 +300,7 @@ function getDefaultExportFromCjs(x) {
|
|
|
304
300
|
}
|
|
305
301
|
var sweetalert2$1 = { exports: {} };
|
|
306
302
|
/*!
|
|
307
|
-
* sweetalert2 v11.
|
|
303
|
+
* sweetalert2 v11.22.0
|
|
308
304
|
* Released under the MIT License.
|
|
309
305
|
*/
|
|
310
306
|
var sweetalert2 = sweetalert2$1.exports;
|
|
@@ -390,8 +386,7 @@ function requireSweetalert2() {
|
|
|
390
386
|
warn(message);
|
|
391
387
|
}
|
|
392
388
|
};
|
|
393
|
-
const warnAboutDeprecation =
|
|
394
|
-
let useInstead = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
389
|
+
const warnAboutDeprecation = (deprecatedParam, useInstead = null) => {
|
|
395
390
|
warnOnce(`"${deprecatedParam}" is deprecated and will be removed in the next major release.${useInstead ? ` Use "${useInstead}" instead.` : ""}`);
|
|
396
391
|
};
|
|
397
392
|
const callIfFunction = (arg) => typeof arg === "function" ? arg() : arg;
|
|
@@ -622,8 +617,7 @@ function requireSweetalert2() {
|
|
|
622
617
|
elem.style.removeProperty(property);
|
|
623
618
|
}
|
|
624
619
|
};
|
|
625
|
-
const show =
|
|
626
|
-
let display = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "flex";
|
|
620
|
+
const show = (elem, display = "flex") => {
|
|
627
621
|
if (!elem) {
|
|
628
622
|
return;
|
|
629
623
|
}
|
|
@@ -635,8 +629,7 @@ function requireSweetalert2() {
|
|
|
635
629
|
}
|
|
636
630
|
elem.style.display = "none";
|
|
637
631
|
};
|
|
638
|
-
const showWhenInnerHtmlPresent =
|
|
639
|
-
let display = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "block";
|
|
632
|
+
const showWhenInnerHtmlPresent = (elem, display = "block") => {
|
|
640
633
|
if (!elem) {
|
|
641
634
|
return;
|
|
642
635
|
}
|
|
@@ -653,8 +646,7 @@ function requireSweetalert2() {
|
|
|
653
646
|
el.style.setProperty(property, value);
|
|
654
647
|
}
|
|
655
648
|
};
|
|
656
|
-
const toggle =
|
|
657
|
-
let display = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "flex";
|
|
649
|
+
const toggle = (elem, condition, display = "flex") => {
|
|
658
650
|
if (condition) {
|
|
659
651
|
show(elem, display);
|
|
660
652
|
} else {
|
|
@@ -664,14 +656,23 @@ function requireSweetalert2() {
|
|
|
664
656
|
const isVisible$1 = (elem) => !!(elem && (elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length));
|
|
665
657
|
const allButtonsAreHidden = () => !isVisible$1(getConfirmButton()) && !isVisible$1(getDenyButton()) && !isVisible$1(getCancelButton());
|
|
666
658
|
const isScrollable = (elem) => !!(elem.scrollHeight > elem.clientHeight);
|
|
659
|
+
const selfOrParentIsScrollable = (element, stopElement) => {
|
|
660
|
+
let parent = element;
|
|
661
|
+
while (parent && parent !== stopElement) {
|
|
662
|
+
if (isScrollable(parent)) {
|
|
663
|
+
return true;
|
|
664
|
+
}
|
|
665
|
+
parent = parent.parentElement;
|
|
666
|
+
}
|
|
667
|
+
return false;
|
|
668
|
+
};
|
|
667
669
|
const hasCssAnimation = (elem) => {
|
|
668
670
|
const style = window.getComputedStyle(elem);
|
|
669
671
|
const animDuration = parseFloat(style.getPropertyValue("animation-duration") || "0");
|
|
670
672
|
const transDuration = parseFloat(style.getPropertyValue("transition-duration") || "0");
|
|
671
673
|
return animDuration > 0 || transDuration > 0;
|
|
672
674
|
};
|
|
673
|
-
const animateTimerProgressBar =
|
|
674
|
-
let reset = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
675
|
+
const animateTimerProgressBar = (timer, reset = false) => {
|
|
675
676
|
const timerProgressBar = getTimerProgressBar();
|
|
676
677
|
if (!timerProgressBar) {
|
|
677
678
|
return;
|
|
@@ -798,6 +799,10 @@ function requireSweetalert2() {
|
|
|
798
799
|
container.dataset["swal2Theme"] = params.theme;
|
|
799
800
|
const targetElement = getTarget(params.target);
|
|
800
801
|
targetElement.appendChild(container);
|
|
802
|
+
if (params.topLayer) {
|
|
803
|
+
container.setAttribute("popover", "");
|
|
804
|
+
container.showPopover();
|
|
805
|
+
}
|
|
801
806
|
setupAccessibility(params);
|
|
802
807
|
setupRTL(targetElement);
|
|
803
808
|
addInputChangeListeners();
|
|
@@ -887,8 +892,11 @@ function requireSweetalert2() {
|
|
|
887
892
|
}
|
|
888
893
|
function applyOutlineColor(button) {
|
|
889
894
|
const buttonStyle = window.getComputedStyle(button);
|
|
895
|
+
if (buttonStyle.getPropertyValue("--swal2-action-button-focus-box-shadow")) {
|
|
896
|
+
return;
|
|
897
|
+
}
|
|
890
898
|
const outlineColor = buttonStyle.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/, "rgba($1, $2, $3, 0.5)");
|
|
891
|
-
button.style.setProperty("--swal2-action-button-
|
|
899
|
+
button.style.setProperty("--swal2-action-button-focus-box-shadow", buttonStyle.getPropertyValue("--swal2-outline").replace(/ rgba\(.*/, ` ${outlineColor}`));
|
|
892
900
|
}
|
|
893
901
|
function renderButton(button, buttonType, params) {
|
|
894
902
|
const buttonName = (
|
|
@@ -1692,7 +1700,8 @@ function requireSweetalert2() {
|
|
|
1692
1700
|
if (target === container) {
|
|
1693
1701
|
return true;
|
|
1694
1702
|
}
|
|
1695
|
-
if (!isScrollable(container) && target instanceof HTMLElement && target
|
|
1703
|
+
if (!isScrollable(container) && target instanceof HTMLElement && !selfOrParentIsScrollable(target, htmlContainer) && // #2823
|
|
1704
|
+
target.tagName !== "INPUT" && // #1603
|
|
1696
1705
|
target.tagName !== "TEXTAREA" && // #2266
|
|
1697
1706
|
!(isScrollable(htmlContainer) && // #1944
|
|
1698
1707
|
htmlContainer.contains(target))) {
|
|
@@ -2349,7 +2358,8 @@ function requireSweetalert2() {
|
|
|
2349
2358
|
willClose: void 0,
|
|
2350
2359
|
didClose: void 0,
|
|
2351
2360
|
didDestroy: void 0,
|
|
2352
|
-
scrollbarPadding: true
|
|
2361
|
+
scrollbarPadding: true,
|
|
2362
|
+
topLayer: false
|
|
2353
2363
|
};
|
|
2354
2364
|
const updatableParams = ["allowEscapeKey", "allowOutsideClick", "background", "buttonsStyling", "cancelButtonAriaLabel", "cancelButtonColor", "cancelButtonText", "closeButtonAriaLabel", "closeButtonHtml", "color", "confirmButtonAriaLabel", "confirmButtonColor", "confirmButtonText", "currentProgressStep", "customClass", "denyButtonAriaLabel", "denyButtonColor", "denyButtonText", "didClose", "didDestroy", "draggable", "footer", "hideClass", "html", "icon", "iconColor", "iconHtml", "imageAlt", "imageHeight", "imageUrl", "imageWidth", "preConfirm", "preDeny", "progressSteps", "returnFocus", "reverseButtons", "showCancelButton", "showCloseButton", "showConfirmButton", "showDenyButton", "text", "title", "titleText", "theme", "willClose"];
|
|
2355
2365
|
const deprecatedParams = {
|
|
@@ -2385,8 +2395,8 @@ function requireSweetalert2() {
|
|
|
2385
2395
|
if (params.backdrop === false && params.allowOutsideClick) {
|
|
2386
2396
|
warn('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');
|
|
2387
2397
|
}
|
|
2388
|
-
if (params.theme && !["light", "dark", "auto", "borderless", "embed-iframe"].includes(params.theme)) {
|
|
2389
|
-
warn(`Invalid theme "${params.theme}"
|
|
2398
|
+
if (params.theme && !["light", "dark", "auto", "minimal", "borderless", "embed-iframe", "bulma", "bulma-light", "bulma-dark"].includes(params.theme)) {
|
|
2399
|
+
warn(`Invalid theme "${params.theme}"`);
|
|
2390
2400
|
}
|
|
2391
2401
|
for (const param in params) {
|
|
2392
2402
|
checkIfParamIsValid(param);
|
|
@@ -2579,10 +2589,7 @@ function requireSweetalert2() {
|
|
|
2579
2589
|
}
|
|
2580
2590
|
return params;
|
|
2581
2591
|
};
|
|
2582
|
-
function fire() {
|
|
2583
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
2584
|
-
args[_key] = arguments[_key];
|
|
2585
|
-
}
|
|
2592
|
+
function fire(...args) {
|
|
2586
2593
|
return new this(...args);
|
|
2587
2594
|
}
|
|
2588
2595
|
function mixin(mixinParams) {
|
|
@@ -2625,8 +2632,7 @@ function requireSweetalert2() {
|
|
|
2625
2632
|
};
|
|
2626
2633
|
let bodyClickListenerAdded = false;
|
|
2627
2634
|
const clickHandlers = {};
|
|
2628
|
-
function bindClickHandler() {
|
|
2629
|
-
let attr = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "data-swal-template";
|
|
2635
|
+
function bindClickHandler(attr = "data-swal-template") {
|
|
2630
2636
|
clickHandlers[attr] = this;
|
|
2631
2637
|
if (!bodyClickListenerAdded) {
|
|
2632
2638
|
document.body.addEventListener("click", bodyClickListener);
|
|
@@ -2675,13 +2681,9 @@ function requireSweetalert2() {
|
|
|
2675
2681
|
* @param {EventHandler} eventHandler
|
|
2676
2682
|
*/
|
|
2677
2683
|
once(eventName, eventHandler) {
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
2682
|
-
args[_key] = arguments[_key];
|
|
2683
|
-
}
|
|
2684
|
-
eventHandler.apply(_this, args);
|
|
2684
|
+
const onceFn = (...args) => {
|
|
2685
|
+
this.removeListener(eventName, onceFn);
|
|
2686
|
+
eventHandler.apply(this, args);
|
|
2685
2687
|
};
|
|
2686
2688
|
this.on(eventName, onceFn);
|
|
2687
2689
|
}
|
|
@@ -2689,10 +2691,7 @@ function requireSweetalert2() {
|
|
|
2689
2691
|
* @param {string} eventName
|
|
2690
2692
|
* @param {Array} args
|
|
2691
2693
|
*/
|
|
2692
|
-
emit(eventName) {
|
|
2693
|
-
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
2694
|
-
args[_key2 - 1] = arguments[_key2];
|
|
2695
|
-
}
|
|
2694
|
+
emit(eventName, ...args) {
|
|
2696
2695
|
this._getHandlersByEventName(eventName).forEach(
|
|
2697
2696
|
/**
|
|
2698
2697
|
* @param {EventHandler} eventHandler
|
|
@@ -3149,22 +3148,18 @@ function requireSweetalert2() {
|
|
|
3149
3148
|
* @param {...any} args
|
|
3150
3149
|
* @this {SweetAlert}
|
|
3151
3150
|
*/
|
|
3152
|
-
constructor() {
|
|
3151
|
+
constructor(...args) {
|
|
3153
3152
|
_classPrivateFieldInitSpec(this, _promise, void 0);
|
|
3154
3153
|
if (typeof window === "undefined") {
|
|
3155
3154
|
return;
|
|
3156
3155
|
}
|
|
3157
3156
|
currentInstance = this;
|
|
3158
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
3159
|
-
args[_key] = arguments[_key];
|
|
3160
|
-
}
|
|
3161
3157
|
const outerParams = Object.freeze(this.constructor.argsToParams(args));
|
|
3162
3158
|
this.params = outerParams;
|
|
3163
3159
|
this.isAwaitingPromise = false;
|
|
3164
3160
|
_classPrivateFieldSet2(_promise, this, this._main(currentInstance.params));
|
|
3165
3161
|
}
|
|
3166
|
-
_main(userParams) {
|
|
3167
|
-
let mixinParams = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3162
|
+
_main(userParams, mixinParams = {}) {
|
|
3168
3163
|
showWarningsForParams(Object.assign({}, mixinParams, userParams));
|
|
3169
3164
|
if (globalState.currentInstance) {
|
|
3170
3165
|
const swalPromiseResolve = privateMethods.swalPromiseResolve.get(globalState.currentInstance);
|
|
@@ -3368,15 +3363,15 @@ function requireSweetalert2() {
|
|
|
3368
3363
|
SweetAlert.prototype._destroy = _destroy;
|
|
3369
3364
|
Object.assign(SweetAlert, staticMethods);
|
|
3370
3365
|
Object.keys(instanceMethods).forEach((key) => {
|
|
3371
|
-
SweetAlert[key] = function() {
|
|
3366
|
+
SweetAlert[key] = function(...args) {
|
|
3372
3367
|
if (currentInstance && currentInstance[key]) {
|
|
3373
|
-
return currentInstance[key](...
|
|
3368
|
+
return currentInstance[key](...args);
|
|
3374
3369
|
}
|
|
3375
3370
|
return null;
|
|
3376
3371
|
};
|
|
3377
3372
|
});
|
|
3378
3373
|
SweetAlert.DismissReason = DismissReason;
|
|
3379
|
-
SweetAlert.version = "11.
|
|
3374
|
+
SweetAlert.version = "11.22.0";
|
|
3380
3375
|
const Swal2 = SweetAlert;
|
|
3381
3376
|
Swal2.default = Swal2;
|
|
3382
3377
|
return Swal2;
|
|
@@ -3495,7 +3490,7 @@ ensureIsValidValue_fn3 = function() {
|
|
|
3495
3490
|
throw new InvalidValueException(message);
|
|
3496
3491
|
}
|
|
3497
3492
|
if (!this._permittedValues.includes(this._value)) {
|
|
3498
|
-
const message = `<
|
|
3493
|
+
const message = `<EnumVo> ha recibido un valor no permitido. Valores permitidos [${this._permittedValues.join(",")}]`;
|
|
3499
3494
|
throw new InvalidValueException(message);
|
|
3500
3495
|
}
|
|
3501
3496
|
};
|
|
@@ -3505,7 +3500,7 @@ class Test {
|
|
|
3505
3500
|
console.log(__const("VITE_BROADCASTING_ENABLED"));
|
|
3506
3501
|
}
|
|
3507
3502
|
static printTranslation() {
|
|
3508
|
-
console.log(___("
|
|
3503
|
+
console.log(___("no_results"));
|
|
3509
3504
|
}
|
|
3510
3505
|
}
|
|
3511
3506
|
class Instantiable {
|
|
@@ -3639,8 +3634,12 @@ class DomService extends Instantiable {
|
|
|
3639
3634
|
const InputsNeedsChangeListener = ["range", "select", "radio", "checkbox", "date", "datetime-local", "time", "week", "month"];
|
|
3640
3635
|
const _SModal = class _SModal {
|
|
3641
3636
|
static mustAbortIfIsAlreadyOpen({ isUpdate = false, ignorePendingLoading = false }) {
|
|
3642
|
-
if (g.errorModalIsShowed)
|
|
3643
|
-
|
|
3637
|
+
if (g.errorModalIsShowed) {
|
|
3638
|
+
throw new CannotOpenModalException("Se ha intentado abrir un modal cuando hay un modal de error abierto");
|
|
3639
|
+
}
|
|
3640
|
+
if (!ignorePendingLoading && !isUpdate && _SModal.isPendigLoading) {
|
|
3641
|
+
throw new CannotOpenModalWarning("Se ha intentado abrir un modal cuando hay un modal de loading pendiente de actualizarse");
|
|
3642
|
+
}
|
|
3644
3643
|
}
|
|
3645
3644
|
static toastInfo({
|
|
3646
3645
|
icon = "info",
|
|
@@ -4003,19 +4002,19 @@ checkAndExecuteShow_fn = function(callback) {
|
|
|
4003
4002
|
try {
|
|
4004
4003
|
return callback();
|
|
4005
4004
|
} catch (e) {
|
|
4006
|
-
if (e instanceof CannotOpenModalWarning) {
|
|
4005
|
+
if (e instanceof CannotOpenModalException || e instanceof CannotOpenModalWarning) {
|
|
4007
4006
|
g.consoleInfo(e.message);
|
|
4008
4007
|
} else {
|
|
4009
4008
|
throw e;
|
|
4010
4009
|
}
|
|
4011
|
-
return Promise.
|
|
4010
|
+
return Promise.reject();
|
|
4012
4011
|
}
|
|
4013
4012
|
};
|
|
4014
4013
|
checkAndExecuteUpdate_fn = function(callback) {
|
|
4015
4014
|
try {
|
|
4016
4015
|
callback();
|
|
4017
4016
|
} catch (e) {
|
|
4018
|
-
if (e instanceof CannotOpenModalWarning) {
|
|
4017
|
+
if (e instanceof CannotOpenModalException || e instanceof CannotOpenModalWarning) {
|
|
4019
4018
|
g.consoleInfo(e.message);
|
|
4020
4019
|
} else {
|
|
4021
4020
|
throw e;
|
|
@@ -4173,18 +4172,22 @@ const _g = class _g {
|
|
|
4173
4172
|
static escapeHtml(html) {
|
|
4174
4173
|
return html.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll('"', """).replaceAll("'", "'");
|
|
4175
4174
|
}
|
|
4176
|
-
static handleGlobalError(error) {
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4175
|
+
static handleGlobalError(event, source, lineno, colno, error) {
|
|
4176
|
+
let message = error == null ? void 0 : error.message;
|
|
4177
|
+
if (message === void 0 && typeof event === "string") {
|
|
4178
|
+
message = event;
|
|
4180
4179
|
}
|
|
4180
|
+
if (message === void 0) {
|
|
4181
|
+
message = "No se ha podido obtener ningun mensaje del error";
|
|
4182
|
+
}
|
|
4183
|
+
console.warn(message);
|
|
4181
4184
|
SModal.errorModal({
|
|
4182
4185
|
title: "Error imprevisto",
|
|
4183
|
-
html: `<span class="restriction-message">${_g.escapeHtml(
|
|
4184
|
-
cancelButtonText: "Ok"
|
|
4185
|
-
footer: ___("contact_pi_team")
|
|
4186
|
+
html: `<span class="restriction-message">${_g.escapeHtml(message)}</span>`,
|
|
4187
|
+
cancelButtonText: "Ok"
|
|
4186
4188
|
}).then((result) => {
|
|
4187
4189
|
_g.errorModalIsShowed = false;
|
|
4190
|
+
}).catch((e) => {
|
|
4188
4191
|
});
|
|
4189
4192
|
_g.errorModalIsShowed = true;
|
|
4190
4193
|
return false;
|
|
@@ -4232,7 +4235,7 @@ const _g = class _g {
|
|
|
4232
4235
|
text = void 0,
|
|
4233
4236
|
html = void 0,
|
|
4234
4237
|
reloadOnClose = false,
|
|
4235
|
-
footer =
|
|
4238
|
+
footer = void 0,
|
|
4236
4239
|
from = void 0
|
|
4237
4240
|
}) {
|
|
4238
4241
|
if (_g.errorModalIsShowed) return;
|
|
@@ -5816,7 +5819,7 @@ __publicField(UtilitiesServiceProvider, "actions", {
|
|
|
5816
5819
|
},
|
|
5817
5820
|
registerGlobalError: () => {
|
|
5818
5821
|
window.onerror = (message, source, lineno, colno, error) => {
|
|
5819
|
-
return g.handleGlobalError(error);
|
|
5822
|
+
return g.handleGlobalError(message, source, lineno, colno, error);
|
|
5820
5823
|
};
|
|
5821
5824
|
},
|
|
5822
5825
|
enableNotifications: () => {
|