web-mojo 2.1.767 → 2.1.774
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 +10 -10
- 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-dry8zjnJ.js → ChatView-C5Wlnls-.js} +2 -2
- package/dist/chunks/{ChatView-dry8zjnJ.js.map → ChatView-C5Wlnls-.js.map} +1 -1
- package/dist/chunks/{ChatView-DcOIeOTU.js → ChatView-DLHcXrOd.js} +6 -6
- package/dist/chunks/{ChatView-DcOIeOTU.js.map → ChatView-DLHcXrOd.js.map} +1 -1
- package/dist/chunks/{ContextMenu-Dqm6kPQC.js → ContextMenu-BbRMlTIh.js} +2 -2
- package/dist/chunks/{ContextMenu-Dqm6kPQC.js.map → ContextMenu-BbRMlTIh.js.map} +1 -1
- package/dist/chunks/{ContextMenu-C_IkRSwB.js → ContextMenu-xEFt_e2R.js} +2 -2
- package/dist/chunks/{ContextMenu-C_IkRSwB.js.map → ContextMenu-xEFt_e2R.js.map} +1 -1
- package/dist/chunks/{DataView-CkpQlqiO.js → DataView-C6IXIAYw.js} +2 -2
- package/dist/chunks/{DataView-CkpQlqiO.js.map → DataView-C6IXIAYw.js.map} +1 -1
- package/dist/chunks/{DataView-BkFCn1Bw.js → DataView-DLiiJKUT.js} +2 -2
- package/dist/chunks/{DataView-BkFCn1Bw.js.map → DataView-DLiiJKUT.js.map} +1 -1
- package/dist/chunks/{Dialog-B0Uhd3QR.js → Dialog-BAjbZRH3.js} +2 -2
- package/dist/chunks/{Dialog-B0Uhd3QR.js.map → Dialog-BAjbZRH3.js.map} +1 -1
- package/dist/chunks/{Dialog-1IgIBsBz.js → Dialog-CSY1llns.js} +5 -5
- package/dist/chunks/{Dialog-1IgIBsBz.js.map → Dialog-CSY1llns.js.map} +1 -1
- package/dist/chunks/{FormView-CnHaUegZ.js → FormView-CDa3JEgn.js} +2 -2
- package/dist/chunks/{FormView-CnHaUegZ.js.map → FormView-CDa3JEgn.js.map} +1 -1
- package/dist/chunks/{FormView-COAKKtep.js → FormView-D9lB4HNY.js} +2 -2
- package/dist/chunks/{FormView-COAKKtep.js.map → FormView-D9lB4HNY.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-CBOhRRvx.js → MetricsMiniChartWidget-De93KoBV.js} +2 -2
- package/dist/chunks/{MetricsMiniChartWidget-CBOhRRvx.js.map → MetricsMiniChartWidget-De93KoBV.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-CvMUVIHg.js → MetricsMiniChartWidget-RyACPsGk.js} +3 -3
- package/dist/chunks/{MetricsMiniChartWidget-CvMUVIHg.js.map → MetricsMiniChartWidget-RyACPsGk.js.map} +1 -1
- package/dist/chunks/{PDFViewer-CwKGqAWD.js → PDFViewer-B3RjsTuN.js} +2 -2
- package/dist/chunks/{PDFViewer-CwKGqAWD.js.map → PDFViewer-B3RjsTuN.js.map} +1 -1
- package/dist/chunks/{PDFViewer-qHGfzt8w.js → PDFViewer-BCAdNjUg.js} +3 -3
- package/dist/chunks/{PDFViewer-qHGfzt8w.js.map → PDFViewer-BCAdNjUg.js.map} +1 -1
- package/dist/chunks/{Page-BHI7UbD7.js → Page-DJ9v7mzu.js} +2 -2
- package/dist/chunks/{Page-BHI7UbD7.js.map → Page-DJ9v7mzu.js.map} +1 -1
- package/dist/chunks/{Page-CWSH6EzE.js → Page-DXE5-iMb.js} +2 -2
- package/dist/chunks/{Page-CWSH6EzE.js.map → Page-DXE5-iMb.js.map} +1 -1
- package/dist/chunks/{TopNav-DwkA0UgV.js → TopNav-Dr6SpoR6.js} +5 -5
- package/dist/chunks/{TopNav-DwkA0UgV.js.map → TopNav-Dr6SpoR6.js.map} +1 -1
- package/dist/chunks/{TopNav-DjNRUS9j.js → TopNav-ImcCHAH0.js} +2 -2
- package/dist/chunks/{TopNav-DjNRUS9j.js.map → TopNav-ImcCHAH0.js.map} +1 -1
- package/dist/chunks/WebApp-BZqZu9Du.js +2 -0
- package/dist/chunks/WebApp-BZqZu9Du.js.map +1 -0
- package/dist/chunks/{WebApp-__tutfKD.js → WebApp-DtLBT6Lp.js} +20 -15
- package/dist/chunks/WebApp-DtLBT6Lp.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.es.js +11 -11
- package/dist/lightbox.cjs.js +1 -1
- package/dist/lightbox.es.js +4 -4
- package/package.json +1 -1
- package/dist/chunks/WebApp-Dr9jO-g3.js +0 -2
- package/dist/chunks/WebApp-Dr9jO-g3.js.map +0 -1
- package/dist/chunks/WebApp-__tutfKD.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const VERSION = "2.1.
|
|
1
|
+
const VERSION = "2.1.773";
|
|
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 = 773;
|
|
5
|
+
const BUILD_TIME = "2025-10-09T19:01:26.529Z";
|
|
6
6
|
const VERSION_INFO = {
|
|
7
7
|
full: VERSION,
|
|
8
8
|
major: VERSION_MAJOR,
|
|
@@ -2459,7 +2459,7 @@ class EventDelegate {
|
|
|
2459
2459
|
};
|
|
2460
2460
|
const onKeyDown = (event) => {
|
|
2461
2461
|
if (event.target.matches('[data-filter="search"]')) return;
|
|
2462
|
-
const el = event.target.closest("[data-change-action]");
|
|
2462
|
+
const el = event.target.closest("[data-keydown-action]") || event.target.closest("[data-change-action]");
|
|
2463
2463
|
if (!el || !this.shouldHandle(el, event)) return;
|
|
2464
2464
|
let changeKeys = ["Enter"];
|
|
2465
2465
|
if (el.getAttribute("data-change-keys")) {
|
|
@@ -3366,7 +3366,11 @@ class Router {
|
|
|
3366
3366
|
}
|
|
3367
3367
|
// Private methods
|
|
3368
3368
|
handlePopState(_event) {
|
|
3369
|
-
this.
|
|
3369
|
+
if (this.allowPopState) {
|
|
3370
|
+
this.handleCurrentLocation();
|
|
3371
|
+
} else {
|
|
3372
|
+
console.warn("PopStateEvent is not allowed");
|
|
3373
|
+
}
|
|
3370
3374
|
}
|
|
3371
3375
|
async handleCurrentLocation() {
|
|
3372
3376
|
const { pageName, queryParams } = this.parseCurrentUrl();
|
|
@@ -4735,6 +4739,7 @@ class WebApp {
|
|
|
4735
4739
|
this.validateDefaultRoute();
|
|
4736
4740
|
await this.setupRouter();
|
|
4737
4741
|
this.isStarted = true;
|
|
4742
|
+
this.router.allowPopState = false;
|
|
4738
4743
|
this.events.emit("app:ready", { app: this });
|
|
4739
4744
|
} catch (error) {
|
|
4740
4745
|
console.error(`Failed to start ${this.name}:`, error);
|
|
@@ -5005,7 +5010,7 @@ class WebApp {
|
|
|
5005
5010
|
*/
|
|
5006
5011
|
async showError(message) {
|
|
5007
5012
|
try {
|
|
5008
|
-
const Dialog = (await import("./Dialog-
|
|
5013
|
+
const Dialog = (await import("./Dialog-CSY1llns.js")).default;
|
|
5009
5014
|
await Dialog.alert(message, "Error", { size: "md", class: "text-danger" });
|
|
5010
5015
|
} catch (e) {
|
|
5011
5016
|
this.events.emit("notification", { message, type: "error" });
|
|
@@ -5022,7 +5027,7 @@ class WebApp {
|
|
|
5022
5027
|
*/
|
|
5023
5028
|
async showSuccess(message) {
|
|
5024
5029
|
try {
|
|
5025
|
-
const Dialog = (await import("./Dialog-
|
|
5030
|
+
const Dialog = (await import("./Dialog-CSY1llns.js")).default;
|
|
5026
5031
|
await Dialog.alert(message, "Success", { size: "md", class: "text-success" });
|
|
5027
5032
|
} catch (e) {
|
|
5028
5033
|
this.events.emit("notification", { message, type: "success" });
|
|
@@ -5039,7 +5044,7 @@ class WebApp {
|
|
|
5039
5044
|
*/
|
|
5040
5045
|
async showInfo(message) {
|
|
5041
5046
|
try {
|
|
5042
|
-
const Dialog = (await import("./Dialog-
|
|
5047
|
+
const Dialog = (await import("./Dialog-CSY1llns.js")).default;
|
|
5043
5048
|
await Dialog.alert(message, "Information", { size: "md", class: "text-info" });
|
|
5044
5049
|
} catch (e) {
|
|
5045
5050
|
this.events.emit("notification", { message, type: "info" });
|
|
@@ -5056,7 +5061,7 @@ class WebApp {
|
|
|
5056
5061
|
*/
|
|
5057
5062
|
async showWarning(message) {
|
|
5058
5063
|
try {
|
|
5059
|
-
const Dialog = (await import("./Dialog-
|
|
5064
|
+
const Dialog = (await import("./Dialog-CSY1llns.js")).default;
|
|
5060
5065
|
await Dialog.alert(message, "Warning", { size: "md", class: "text-warning" });
|
|
5061
5066
|
} catch (e) {
|
|
5062
5067
|
this.events.emit("notification", { message, type: "warning" });
|
|
@@ -5082,7 +5087,7 @@ class WebApp {
|
|
|
5082
5087
|
opts = { message: opts };
|
|
5083
5088
|
}
|
|
5084
5089
|
try {
|
|
5085
|
-
const Dialog = (await import("./Dialog-
|
|
5090
|
+
const Dialog = (await import("./Dialog-CSY1llns.js")).default;
|
|
5086
5091
|
Dialog.showBusy(opts);
|
|
5087
5092
|
} catch (e) {
|
|
5088
5093
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5096,7 +5101,7 @@ class WebApp {
|
|
|
5096
5101
|
*/
|
|
5097
5102
|
async hideLoading() {
|
|
5098
5103
|
try {
|
|
5099
|
-
const Dialog = (await import("./Dialog-
|
|
5104
|
+
const Dialog = (await import("./Dialog-CSY1llns.js")).default;
|
|
5100
5105
|
Dialog.hideBusy();
|
|
5101
5106
|
} catch (e) {
|
|
5102
5107
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5106,7 +5111,7 @@ class WebApp {
|
|
|
5106
5111
|
}
|
|
5107
5112
|
async showModelForm(options = {}) {
|
|
5108
5113
|
try {
|
|
5109
|
-
const Dialog = (await import("./Dialog-
|
|
5114
|
+
const Dialog = (await import("./Dialog-CSY1llns.js")).default;
|
|
5110
5115
|
return await Dialog.showModelForm(options);
|
|
5111
5116
|
} catch (e) {
|
|
5112
5117
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5117,7 +5122,7 @@ class WebApp {
|
|
|
5117
5122
|
}
|
|
5118
5123
|
async showForm(options = {}) {
|
|
5119
5124
|
try {
|
|
5120
|
-
const Dialog = (await import("./Dialog-
|
|
5125
|
+
const Dialog = (await import("./Dialog-CSY1llns.js")).default;
|
|
5121
5126
|
return await Dialog.showForm(options);
|
|
5122
5127
|
} catch (e) {
|
|
5123
5128
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -5127,7 +5132,7 @@ class WebApp {
|
|
|
5127
5132
|
}
|
|
5128
5133
|
}
|
|
5129
5134
|
async confirm(message, title = "Confirm", options = {}) {
|
|
5130
|
-
const Dialog = (await import("./Dialog-
|
|
5135
|
+
const Dialog = (await import("./Dialog-CSY1llns.js")).default;
|
|
5131
5136
|
return await Dialog.confirm(message, title, options);
|
|
5132
5137
|
}
|
|
5133
5138
|
/**
|
|
@@ -5380,4 +5385,4 @@ export {
|
|
|
5380
5385
|
EventEmitter as i,
|
|
5381
5386
|
rest as r
|
|
5382
5387
|
};
|
|
5383
|
-
//# sourceMappingURL=WebApp-
|
|
5388
|
+
//# sourceMappingURL=WebApp-DtLBT6Lp.js.map
|