web-mojo 2.1.782 → 2.1.795
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.cjs.js.map +1 -1
- package/dist/admin.es.js +82 -11
- package/dist/admin.es.js.map +1 -1
- 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/chat.css +2 -0
- package/dist/chunks/{ChatView-DDlJeLxB.js → ChatView-BQcZuwuw.js} +2 -2
- package/dist/chunks/ChatView-BQcZuwuw.js.map +1 -0
- package/dist/chunks/{ChatView-DV1Oc4j0.js → ChatView-Ci0KdNZD.js} +9 -50
- package/dist/chunks/ChatView-Ci0KdNZD.js.map +1 -0
- package/dist/chunks/{ContextMenu-61Bf4lAf.js → ContextMenu-CII846PN.js} +2 -2
- package/dist/chunks/{ContextMenu-61Bf4lAf.js.map → ContextMenu-CII846PN.js.map} +1 -1
- package/dist/chunks/{ContextMenu-CmJitjwf.js → ContextMenu-CQ-3_IsV.js} +2 -2
- package/dist/chunks/{ContextMenu-CmJitjwf.js.map → ContextMenu-CQ-3_IsV.js.map} +1 -1
- package/dist/chunks/{DataView-CocjtKYU.js → DataView-D8s2WkxG.js} +2 -2
- package/dist/chunks/{DataView-CocjtKYU.js.map → DataView-D8s2WkxG.js.map} +1 -1
- package/dist/chunks/{DataView-CjfrxEPP.js → DataView-Di56Vo9h.js} +2 -2
- package/dist/chunks/{DataView-CjfrxEPP.js.map → DataView-Di56Vo9h.js.map} +1 -1
- package/dist/chunks/{Dialog-D8Rrr7tV.js → Dialog-BbuV-rqc.js} +2 -2
- package/dist/chunks/{Dialog-D8Rrr7tV.js.map → Dialog-BbuV-rqc.js.map} +1 -1
- package/dist/chunks/{Dialog-5UlganLK.js → Dialog-Bn8JuAPD.js} +5 -5
- package/dist/chunks/{Dialog-5UlganLK.js.map → Dialog-Bn8JuAPD.js.map} +1 -1
- package/dist/chunks/{FormView-DN6AiUYz.js → FormView-C-HOM8sH.js} +2 -2
- package/dist/chunks/{FormView-DN6AiUYz.js.map → FormView-C-HOM8sH.js.map} +1 -1
- package/dist/chunks/{FormView-BB2_5qjl.js → FormView-v0fGobto.js} +2 -2
- package/dist/chunks/{FormView-BB2_5qjl.js.map → FormView-v0fGobto.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-C66PBJ9s.js → MetricsMiniChartWidget-8MJjpYJt.js} +2 -2
- package/dist/chunks/{MetricsMiniChartWidget-C66PBJ9s.js.map → MetricsMiniChartWidget-8MJjpYJt.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-BdqOafjm.js → MetricsMiniChartWidget-D9Pzf6SP.js} +3 -3
- package/dist/chunks/{MetricsMiniChartWidget-BdqOafjm.js.map → MetricsMiniChartWidget-D9Pzf6SP.js.map} +1 -1
- package/dist/chunks/{PDFViewer-C6dkznZt.js → PDFViewer-CZzCjVxQ.js} +2 -2
- package/dist/chunks/{PDFViewer-C6dkznZt.js.map → PDFViewer-CZzCjVxQ.js.map} +1 -1
- package/dist/chunks/{PDFViewer-CSz-27wi.js → PDFViewer-CewYE_CU.js} +3 -3
- package/dist/chunks/{PDFViewer-CSz-27wi.js.map → PDFViewer-CewYE_CU.js.map} +1 -1
- package/dist/chunks/{Page-DqK83eSR.js → Page-BUHV0mkP.js} +2 -2
- package/dist/chunks/{Page-DqK83eSR.js.map → Page-BUHV0mkP.js.map} +1 -1
- package/dist/chunks/{Page-d5ciAhS1.js → Page-C7EyxO0f.js} +2 -2
- package/dist/chunks/{Page-d5ciAhS1.js.map → Page-C7EyxO0f.js.map} +1 -1
- package/dist/chunks/{TopNav-DfRbW9yS.js → TopNav-CEdhCnu2.js} +22 -8
- package/dist/chunks/TopNav-CEdhCnu2.js.map +1 -0
- package/dist/chunks/{TopNav-DQ9GflSr.js → TopNav-Dtyf7wFB.js} +2 -2
- package/dist/chunks/TopNav-Dtyf7wFB.js.map +1 -0
- package/dist/chunks/{WebApp-DTQaFBtw.js → WebApp-BF_sE-UF.js} +33 -14
- package/dist/chunks/{WebApp-DTQaFBtw.js.map → WebApp-BF_sE-UF.js.map} +1 -1
- package/dist/chunks/{WebApp-tr4XJzcb.js → WebApp-CcfX-I2u.js} +2 -2
- package/dist/chunks/WebApp-CcfX-I2u.js.map +1 -0
- package/dist/core.css +264 -0
- package/dist/css/web-mojo.css +1 -1
- 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 +25 -23
- 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/ChatView-DDlJeLxB.js.map +0 -1
- package/dist/chunks/ChatView-DV1Oc4j0.js.map +0 -1
- package/dist/chunks/TopNav-DQ9GflSr.js.map +0 -1
- package/dist/chunks/TopNav-DfRbW9yS.js.map +0 -1
- package/dist/chunks/WebApp-tr4XJzcb.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const VERSION = "2.1.
|
|
1
|
+
const VERSION = "2.1.795";
|
|
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 = 795;
|
|
5
|
+
const BUILD_TIME = "2025-10-11T19:45:00.767Z";
|
|
6
6
|
const VERSION_INFO = {
|
|
7
7
|
full: VERSION,
|
|
8
8
|
major: VERSION_MAJOR,
|
|
@@ -3237,7 +3237,19 @@ class View {
|
|
|
3237
3237
|
initializeTooltips() {
|
|
3238
3238
|
if (!this.element || !window.bootstrap?.Tooltip) return;
|
|
3239
3239
|
const tooltipTriggerList = this.element.querySelectorAll('[data-bs-toggle="tooltip"]');
|
|
3240
|
-
[...tooltipTriggerList].map((tooltipTriggerEl) =>
|
|
3240
|
+
[...tooltipTriggerList].map((tooltipTriggerEl) => {
|
|
3241
|
+
const theme = tooltipTriggerEl.getAttribute("data-tooltip-theme");
|
|
3242
|
+
const size = tooltipTriggerEl.getAttribute("data-tooltip-size");
|
|
3243
|
+
let customClass = "";
|
|
3244
|
+
if (theme) customClass += `tooltip-${theme} `;
|
|
3245
|
+
if (size) customClass += `tooltip-${size}`;
|
|
3246
|
+
const options = {};
|
|
3247
|
+
const trimmedClass = customClass.trim();
|
|
3248
|
+
if (trimmedClass) {
|
|
3249
|
+
options.customClass = trimmedClass;
|
|
3250
|
+
}
|
|
3251
|
+
return new window.bootstrap.Tooltip(tooltipTriggerEl, options);
|
|
3252
|
+
});
|
|
3241
3253
|
}
|
|
3242
3254
|
/**
|
|
3243
3255
|
* Dispose all Bootstrap tooltips in this view's element
|
|
@@ -4867,6 +4879,13 @@ class WebApp {
|
|
|
4867
4879
|
pageInstance = page;
|
|
4868
4880
|
pageName = page.pageName;
|
|
4869
4881
|
}
|
|
4882
|
+
this.events.emit("page:showing", {
|
|
4883
|
+
page: pageInstance,
|
|
4884
|
+
pageName: pageInstance.pageName,
|
|
4885
|
+
params,
|
|
4886
|
+
query,
|
|
4887
|
+
fromRouter
|
|
4888
|
+
});
|
|
4870
4889
|
const oldPage = this.currentPage;
|
|
4871
4890
|
if (!pageInstance) {
|
|
4872
4891
|
this._show404(pageName, params, query, fromRouter);
|
|
@@ -5010,7 +5029,7 @@ class WebApp {
|
|
|
5010
5029
|
*/
|
|
5011
5030
|
async showError(message) {
|
|
5012
5031
|
try {
|
|
5013
|
-
const Dialog = (await import("./Dialog-
|
|
5032
|
+
const Dialog = (await import("./Dialog-Bn8JuAPD.js")).default;
|
|
5014
5033
|
await Dialog.alert(message, "Error", { size: "md", class: "text-danger" });
|
|
5015
5034
|
} catch (e) {
|
|
5016
5035
|
this.events.emit("notification", { message, type: "error" });
|
|
@@ -5027,7 +5046,7 @@ class WebApp {
|
|
|
5027
5046
|
*/
|
|
5028
5047
|
async showSuccess(message) {
|
|
5029
5048
|
try {
|
|
5030
|
-
const Dialog = (await import("./Dialog-
|
|
5049
|
+
const Dialog = (await import("./Dialog-Bn8JuAPD.js")).default;
|
|
5031
5050
|
await Dialog.alert(message, "Success", { size: "md", class: "text-success" });
|
|
5032
5051
|
} catch (e) {
|
|
5033
5052
|
this.events.emit("notification", { message, type: "success" });
|
|
@@ -5044,7 +5063,7 @@ class WebApp {
|
|
|
5044
5063
|
*/
|
|
5045
5064
|
async showInfo(message) {
|
|
5046
5065
|
try {
|
|
5047
|
-
const Dialog = (await import("./Dialog-
|
|
5066
|
+
const Dialog = (await import("./Dialog-Bn8JuAPD.js")).default;
|
|
5048
5067
|
await Dialog.alert(message, "Information", { size: "md", class: "text-info" });
|
|
5049
5068
|
} catch (e) {
|
|
5050
5069
|
this.events.emit("notification", { message, type: "info" });
|
|
@@ -5061,7 +5080,7 @@ class WebApp {
|
|
|
5061
5080
|
*/
|
|
5062
5081
|
async showWarning(message) {
|
|
5063
5082
|
try {
|
|
5064
|
-
const Dialog = (await import("./Dialog-
|
|
5083
|
+
const Dialog = (await import("./Dialog-Bn8JuAPD.js")).default;
|
|
5065
5084
|
await Dialog.alert(message, "Warning", { size: "md", class: "text-warning" });
|
|
5066
5085
|
} catch (e) {
|
|
5067
5086
|
this.events.emit("notification", { message, type: "warning" });
|
|
@@ -5087,7 +5106,7 @@ class WebApp {
|
|
|
5087
5106
|
opts = { message: opts };
|
|
5088
5107
|
}
|
|
5089
5108
|
try {
|
|
5090
|
-
const Dialog = (await import("./Dialog-
|
|
5109
|
+
const Dialog = (await import("./Dialog-Bn8JuAPD.js")).default;
|
|
5091
5110
|
Dialog.showBusy(opts);
|
|
5092
5111
|
} catch (e) {
|
|
5093
5112
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5101,7 +5120,7 @@ class WebApp {
|
|
|
5101
5120
|
*/
|
|
5102
5121
|
async hideLoading() {
|
|
5103
5122
|
try {
|
|
5104
|
-
const Dialog = (await import("./Dialog-
|
|
5123
|
+
const Dialog = (await import("./Dialog-Bn8JuAPD.js")).default;
|
|
5105
5124
|
Dialog.hideBusy();
|
|
5106
5125
|
} catch (e) {
|
|
5107
5126
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5111,7 +5130,7 @@ class WebApp {
|
|
|
5111
5130
|
}
|
|
5112
5131
|
async showModelForm(options = {}) {
|
|
5113
5132
|
try {
|
|
5114
|
-
const Dialog = (await import("./Dialog-
|
|
5133
|
+
const Dialog = (await import("./Dialog-Bn8JuAPD.js")).default;
|
|
5115
5134
|
return await Dialog.showModelForm(options);
|
|
5116
5135
|
} catch (e) {
|
|
5117
5136
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5122,7 +5141,7 @@ class WebApp {
|
|
|
5122
5141
|
}
|
|
5123
5142
|
async showForm(options = {}) {
|
|
5124
5143
|
try {
|
|
5125
|
-
const Dialog = (await import("./Dialog-
|
|
5144
|
+
const Dialog = (await import("./Dialog-Bn8JuAPD.js")).default;
|
|
5126
5145
|
return await Dialog.showForm(options);
|
|
5127
5146
|
} catch (e) {
|
|
5128
5147
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5132,7 +5151,7 @@ class WebApp {
|
|
|
5132
5151
|
}
|
|
5133
5152
|
}
|
|
5134
5153
|
async confirm(message, title = "Confirm", options = {}) {
|
|
5135
|
-
const Dialog = (await import("./Dialog-
|
|
5154
|
+
const Dialog = (await import("./Dialog-Bn8JuAPD.js")).default;
|
|
5136
5155
|
return await Dialog.confirm(message, title, options);
|
|
5137
5156
|
}
|
|
5138
5157
|
/**
|
|
@@ -5385,4 +5404,4 @@ export {
|
|
|
5385
5404
|
EventEmitter as i,
|
|
5386
5405
|
rest as r
|
|
5387
5406
|
};
|
|
5388
|
-
//# sourceMappingURL=WebApp-
|
|
5407
|
+
//# sourceMappingURL=WebApp-BF_sE-UF.js.map
|