web-mojo 2.1.803 → 2.1.811
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/admin.cjs.js +1 -1
- package/dist/admin.es.js +11 -11
- package/dist/auth.cjs.js +1 -1
- package/dist/auth.cjs.js.map +1 -1
- package/dist/auth.es.js +3 -3
- package/dist/auth.es.js.map +1 -1
- package/dist/charts.cjs.js +1 -1
- package/dist/charts.es.js +2 -2
- package/dist/chunks/{ChatView-CsxQO2Vz.js → ChatView-BOWKLcbM.js} +6 -6
- package/dist/chunks/{ChatView-CsxQO2Vz.js.map → ChatView-BOWKLcbM.js.map} +1 -1
- package/dist/chunks/{ChatView-LU4VTSKt.js → ChatView-ClzTkaOU.js} +2 -2
- package/dist/chunks/{ChatView-LU4VTSKt.js.map → ChatView-ClzTkaOU.js.map} +1 -1
- package/dist/chunks/{ContextMenu-B-MLB2lg.js → ContextMenu-CW5SJtd0.js} +2 -2
- package/dist/chunks/{ContextMenu-B-MLB2lg.js.map → ContextMenu-CW5SJtd0.js.map} +1 -1
- package/dist/chunks/{ContextMenu-yzhn35fd.js → ContextMenu-D7798ql5.js} +2 -2
- package/dist/chunks/{ContextMenu-yzhn35fd.js.map → ContextMenu-D7798ql5.js.map} +1 -1
- package/dist/chunks/{DataView-CRL91bzR.js → DataView-BO_3CKit.js} +2 -2
- package/dist/chunks/{DataView-CRL91bzR.js.map → DataView-BO_3CKit.js.map} +1 -1
- package/dist/chunks/{DataView-FlXSX2CL.js → DataView-BXc0ng8n.js} +2 -2
- package/dist/chunks/{DataView-FlXSX2CL.js.map → DataView-BXc0ng8n.js.map} +1 -1
- package/dist/chunks/{Dialog-lHIubPRF.js → Dialog-DPM6giEy.js} +5 -5
- package/dist/chunks/{Dialog-lHIubPRF.js.map → Dialog-DPM6giEy.js.map} +1 -1
- package/dist/chunks/{Dialog-C-B_R0Qj.js → Dialog-S8KdrNk8.js} +2 -2
- package/dist/chunks/{Dialog-C-B_R0Qj.js.map → Dialog-S8KdrNk8.js.map} +1 -1
- package/dist/chunks/{FormView-mf9svgJC.js → FormView-Dnv2RKTt.js} +2 -2
- package/dist/chunks/{FormView-mf9svgJC.js.map → FormView-Dnv2RKTt.js.map} +1 -1
- package/dist/chunks/{FormView-CH3Xteya.js → FormView-kO6LzlPt.js} +2 -2
- package/dist/chunks/{FormView-CH3Xteya.js.map → FormView-kO6LzlPt.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-BDOsD_dO.js → MetricsMiniChartWidget-D4rAxlWS.js} +2 -2
- package/dist/chunks/{MetricsMiniChartWidget-BDOsD_dO.js.map → MetricsMiniChartWidget-D4rAxlWS.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-D4Rdrqkf.js → MetricsMiniChartWidget-aVmfCf4Q.js} +3 -3
- package/dist/chunks/{MetricsMiniChartWidget-D4Rdrqkf.js.map → MetricsMiniChartWidget-aVmfCf4Q.js.map} +1 -1
- package/dist/chunks/{PDFViewer-BG7eIBKz.js → PDFViewer-BQiFwPVS.js} +3 -3
- package/dist/chunks/{PDFViewer-BG7eIBKz.js.map → PDFViewer-BQiFwPVS.js.map} +1 -1
- package/dist/chunks/{PDFViewer-BY9-nZrs.js → PDFViewer-Po0eI8C8.js} +2 -2
- package/dist/chunks/{PDFViewer-BY9-nZrs.js.map → PDFViewer-Po0eI8C8.js.map} +1 -1
- package/dist/chunks/{Page-D6IAg9QG.js → Page-BVQ0kGQe.js} +2 -2
- package/dist/chunks/{Page-D6IAg9QG.js.map → Page-BVQ0kGQe.js.map} +1 -1
- package/dist/chunks/{Page-CpCu5Wlw.js → Page-JZMEpEA3.js} +2 -2
- package/dist/chunks/{Page-CpCu5Wlw.js.map → Page-JZMEpEA3.js.map} +1 -1
- package/dist/chunks/{TopNav-CkiRiPTN.js → TopNav-CEUCxmaH.js} +2 -2
- package/dist/chunks/TopNav-CEUCxmaH.js.map +1 -0
- package/dist/chunks/{TopNav-B2ltB7iA.js → TopNav-CXEa9ca5.js} +6 -19
- package/dist/chunks/TopNav-CXEa9ca5.js.map +1 -0
- package/dist/chunks/{WebApp-CglMVSiZ.js → WebApp-BLvli-X8.js} +35 -13
- package/dist/chunks/WebApp-BLvli-X8.js.map +1 -0
- package/dist/chunks/WebApp-DjJ8JIKq.js +2 -0
- package/dist/chunks/WebApp-DjJ8JIKq.js.map +1 -0
- package/dist/docit.cjs.js +1 -1
- package/dist/docit.es.js +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +12 -12
- package/dist/index.es.js.map +1 -1
- package/dist/lightbox.cjs.js +1 -1
- package/dist/lightbox.es.js +4 -4
- package/package.json +1 -1
- package/dist/chunks/TopNav-B2ltB7iA.js.map +0 -1
- package/dist/chunks/TopNav-CkiRiPTN.js.map +0 -1
- package/dist/chunks/WebApp-BXyrFyL_.js +0 -2
- package/dist/chunks/WebApp-BXyrFyL_.js.map +0 -1
- package/dist/chunks/WebApp-CglMVSiZ.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const VERSION = "2.1.
|
|
1
|
+
const VERSION = "2.1.811";
|
|
2
2
|
const VERSION_MAJOR = 2;
|
|
3
3
|
const VERSION_MINOR = 1;
|
|
4
|
-
const VERSION_REVISION =
|
|
5
|
-
const BUILD_TIME = "2025-10-
|
|
4
|
+
const VERSION_REVISION = 811;
|
|
5
|
+
const BUILD_TIME = "2025-10-11T21:07:51.478Z";
|
|
6
6
|
const VERSION_INFO = {
|
|
7
7
|
full: VERSION,
|
|
8
8
|
major: VERSION_MAJOR,
|
|
@@ -2402,6 +2402,7 @@ class EventDelegate {
|
|
|
2402
2402
|
const actionEl = event.target.closest("[data-action]");
|
|
2403
2403
|
if (actionEl && this.shouldHandle(actionEl, event)) {
|
|
2404
2404
|
const action = actionEl.getAttribute("data-action");
|
|
2405
|
+
this.hideTooltip(actionEl);
|
|
2405
2406
|
const handled = await this.dispatch(action, event, actionEl);
|
|
2406
2407
|
if (handled) {
|
|
2407
2408
|
event.preventDefault();
|
|
@@ -2417,6 +2418,7 @@ class EventDelegate {
|
|
|
2417
2418
|
const href = navEl.getAttribute("href");
|
|
2418
2419
|
if (href && href !== "#" && !href.startsWith("#") && (this.view.isExternalLink(href) || navEl.hasAttribute("data-external"))) return;
|
|
2419
2420
|
}
|
|
2421
|
+
this.hideTooltip(navEl);
|
|
2420
2422
|
event.preventDefault();
|
|
2421
2423
|
event.stopPropagation();
|
|
2422
2424
|
event.handledByChild = true;
|
|
@@ -2516,6 +2518,25 @@ class EventDelegate {
|
|
|
2516
2518
|
dropdownInstance?.hide();
|
|
2517
2519
|
}
|
|
2518
2520
|
}
|
|
2521
|
+
hideTooltip(element) {
|
|
2522
|
+
if (element && window.bootstrap?.Tooltip) {
|
|
2523
|
+
const tooltip = window.bootstrap.Tooltip.getInstance(element);
|
|
2524
|
+
if (tooltip) {
|
|
2525
|
+
tooltip.hide();
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
hideAllTooltips() {
|
|
2530
|
+
if (window.bootstrap?.Tooltip) {
|
|
2531
|
+
const tooltips = document.querySelectorAll('[data-bs-toggle="tooltip"]');
|
|
2532
|
+
tooltips.forEach((el) => {
|
|
2533
|
+
const tooltip = window.bootstrap.Tooltip.getInstance(el);
|
|
2534
|
+
if (tooltip) {
|
|
2535
|
+
tooltip.hide();
|
|
2536
|
+
}
|
|
2537
|
+
});
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2519
2540
|
async dispatch(action, event, el) {
|
|
2520
2541
|
const v = this.view;
|
|
2521
2542
|
const cap = (s) => s.includes("-") ? s.split("-").map((w) => w[0].toUpperCase() + w.slice(1)).join("") : s[0].toUpperCase() + s.slice(1);
|
|
@@ -3236,6 +3257,7 @@ class View {
|
|
|
3236
3257
|
*/
|
|
3237
3258
|
initializeTooltips() {
|
|
3238
3259
|
if (!this.element || !window.bootstrap?.Tooltip) return;
|
|
3260
|
+
this.disposeTooltips();
|
|
3239
3261
|
const tooltipTriggerList = this.element.querySelectorAll('[data-bs-toggle="tooltip"]');
|
|
3240
3262
|
[...tooltipTriggerList].map((tooltipTriggerEl) => {
|
|
3241
3263
|
const theme = tooltipTriggerEl.getAttribute("data-tooltip-theme");
|
|
@@ -5029,7 +5051,7 @@ class WebApp {
|
|
|
5029
5051
|
*/
|
|
5030
5052
|
async showError(message) {
|
|
5031
5053
|
try {
|
|
5032
|
-
const Dialog = (await import("./Dialog-
|
|
5054
|
+
const Dialog = (await import("./Dialog-DPM6giEy.js")).default;
|
|
5033
5055
|
await Dialog.alert(message, "Error", { size: "md", class: "text-danger" });
|
|
5034
5056
|
} catch (e) {
|
|
5035
5057
|
this.events.emit("notification", { message, type: "error" });
|
|
@@ -5046,7 +5068,7 @@ class WebApp {
|
|
|
5046
5068
|
*/
|
|
5047
5069
|
async showSuccess(message) {
|
|
5048
5070
|
try {
|
|
5049
|
-
const Dialog = (await import("./Dialog-
|
|
5071
|
+
const Dialog = (await import("./Dialog-DPM6giEy.js")).default;
|
|
5050
5072
|
await Dialog.alert(message, "Success", { size: "md", class: "text-success" });
|
|
5051
5073
|
} catch (e) {
|
|
5052
5074
|
this.events.emit("notification", { message, type: "success" });
|
|
@@ -5063,7 +5085,7 @@ class WebApp {
|
|
|
5063
5085
|
*/
|
|
5064
5086
|
async showInfo(message) {
|
|
5065
5087
|
try {
|
|
5066
|
-
const Dialog = (await import("./Dialog-
|
|
5088
|
+
const Dialog = (await import("./Dialog-DPM6giEy.js")).default;
|
|
5067
5089
|
await Dialog.alert(message, "Information", { size: "md", class: "text-info" });
|
|
5068
5090
|
} catch (e) {
|
|
5069
5091
|
this.events.emit("notification", { message, type: "info" });
|
|
@@ -5080,7 +5102,7 @@ class WebApp {
|
|
|
5080
5102
|
*/
|
|
5081
5103
|
async showWarning(message) {
|
|
5082
5104
|
try {
|
|
5083
|
-
const Dialog = (await import("./Dialog-
|
|
5105
|
+
const Dialog = (await import("./Dialog-DPM6giEy.js")).default;
|
|
5084
5106
|
await Dialog.alert(message, "Warning", { size: "md", class: "text-warning" });
|
|
5085
5107
|
} catch (e) {
|
|
5086
5108
|
this.events.emit("notification", { message, type: "warning" });
|
|
@@ -5106,7 +5128,7 @@ class WebApp {
|
|
|
5106
5128
|
opts = { message: opts };
|
|
5107
5129
|
}
|
|
5108
5130
|
try {
|
|
5109
|
-
const Dialog = (await import("./Dialog-
|
|
5131
|
+
const Dialog = (await import("./Dialog-DPM6giEy.js")).default;
|
|
5110
5132
|
Dialog.showBusy(opts);
|
|
5111
5133
|
} catch (e) {
|
|
5112
5134
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5120,7 +5142,7 @@ class WebApp {
|
|
|
5120
5142
|
*/
|
|
5121
5143
|
async hideLoading() {
|
|
5122
5144
|
try {
|
|
5123
|
-
const Dialog = (await import("./Dialog-
|
|
5145
|
+
const Dialog = (await import("./Dialog-DPM6giEy.js")).default;
|
|
5124
5146
|
Dialog.hideBusy();
|
|
5125
5147
|
} catch (e) {
|
|
5126
5148
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5130,7 +5152,7 @@ class WebApp {
|
|
|
5130
5152
|
}
|
|
5131
5153
|
async showModelForm(options = {}) {
|
|
5132
5154
|
try {
|
|
5133
|
-
const Dialog = (await import("./Dialog-
|
|
5155
|
+
const Dialog = (await import("./Dialog-DPM6giEy.js")).default;
|
|
5134
5156
|
return await Dialog.showModelForm(options);
|
|
5135
5157
|
} catch (e) {
|
|
5136
5158
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5141,7 +5163,7 @@ class WebApp {
|
|
|
5141
5163
|
}
|
|
5142
5164
|
async showForm(options = {}) {
|
|
5143
5165
|
try {
|
|
5144
|
-
const Dialog = (await import("./Dialog-
|
|
5166
|
+
const Dialog = (await import("./Dialog-DPM6giEy.js")).default;
|
|
5145
5167
|
return await Dialog.showForm(options);
|
|
5146
5168
|
} catch (e) {
|
|
5147
5169
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5151,7 +5173,7 @@ class WebApp {
|
|
|
5151
5173
|
}
|
|
5152
5174
|
}
|
|
5153
5175
|
async confirm(message, title = "Confirm", options = {}) {
|
|
5154
|
-
const Dialog = (await import("./Dialog-
|
|
5176
|
+
const Dialog = (await import("./Dialog-DPM6giEy.js")).default;
|
|
5155
5177
|
return await Dialog.confirm(message, title, options);
|
|
5156
5178
|
}
|
|
5157
5179
|
/**
|
|
@@ -5404,4 +5426,4 @@ export {
|
|
|
5404
5426
|
EventEmitter as i,
|
|
5405
5427
|
rest as r
|
|
5406
5428
|
};
|
|
5407
|
-
//# sourceMappingURL=WebApp-
|
|
5429
|
+
//# sourceMappingURL=WebApp-BLvli-X8.js.map
|