web-mojo 2.1.770 → 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.
Files changed (57) hide show
  1. package/dist/admin.cjs.js +1 -1
  2. package/dist/admin.es.js +10 -10
  3. package/dist/auth.cjs.js +1 -1
  4. package/dist/auth.cjs.js.map +1 -1
  5. package/dist/auth.es.js +3 -3
  6. package/dist/auth.es.js.map +1 -1
  7. package/dist/charts.cjs.js +1 -1
  8. package/dist/charts.es.js +2 -2
  9. package/dist/chunks/{ChatView-r-RNlH_V.js → ChatView-C5Wlnls-.js} +2 -2
  10. package/dist/chunks/{ChatView-r-RNlH_V.js.map → ChatView-C5Wlnls-.js.map} +1 -1
  11. package/dist/chunks/{ChatView-wXW99AQX.js → ChatView-DLHcXrOd.js} +6 -6
  12. package/dist/chunks/{ChatView-wXW99AQX.js.map → ChatView-DLHcXrOd.js.map} +1 -1
  13. package/dist/chunks/{ContextMenu-BjmLZyg7.js → ContextMenu-BbRMlTIh.js} +2 -2
  14. package/dist/chunks/{ContextMenu-BjmLZyg7.js.map → ContextMenu-BbRMlTIh.js.map} +1 -1
  15. package/dist/chunks/{ContextMenu-CIAlsN1R.js → ContextMenu-xEFt_e2R.js} +2 -2
  16. package/dist/chunks/{ContextMenu-CIAlsN1R.js.map → ContextMenu-xEFt_e2R.js.map} +1 -1
  17. package/dist/chunks/{DataView-CPAnFoJX.js → DataView-C6IXIAYw.js} +2 -2
  18. package/dist/chunks/{DataView-CPAnFoJX.js.map → DataView-C6IXIAYw.js.map} +1 -1
  19. package/dist/chunks/{DataView-CJsFubKz.js → DataView-DLiiJKUT.js} +2 -2
  20. package/dist/chunks/{DataView-CJsFubKz.js.map → DataView-DLiiJKUT.js.map} +1 -1
  21. package/dist/chunks/{Dialog-DAZNpORb.js → Dialog-BAjbZRH3.js} +2 -2
  22. package/dist/chunks/{Dialog-DAZNpORb.js.map → Dialog-BAjbZRH3.js.map} +1 -1
  23. package/dist/chunks/{Dialog-CRm9zvFI.js → Dialog-CSY1llns.js} +5 -5
  24. package/dist/chunks/{Dialog-CRm9zvFI.js.map → Dialog-CSY1llns.js.map} +1 -1
  25. package/dist/chunks/{FormView-CyFCI_7t.js → FormView-CDa3JEgn.js} +2 -2
  26. package/dist/chunks/{FormView-CyFCI_7t.js.map → FormView-CDa3JEgn.js.map} +1 -1
  27. package/dist/chunks/{FormView-D3JGXjHu.js → FormView-D9lB4HNY.js} +2 -2
  28. package/dist/chunks/{FormView-D3JGXjHu.js.map → FormView-D9lB4HNY.js.map} +1 -1
  29. package/dist/chunks/{MetricsMiniChartWidget-CVWZa6_3.js → MetricsMiniChartWidget-De93KoBV.js} +2 -2
  30. package/dist/chunks/{MetricsMiniChartWidget-CVWZa6_3.js.map → MetricsMiniChartWidget-De93KoBV.js.map} +1 -1
  31. package/dist/chunks/{MetricsMiniChartWidget-DW3J81Kj.js → MetricsMiniChartWidget-RyACPsGk.js} +3 -3
  32. package/dist/chunks/{MetricsMiniChartWidget-DW3J81Kj.js.map → MetricsMiniChartWidget-RyACPsGk.js.map} +1 -1
  33. package/dist/chunks/{PDFViewer-Cide6ZbY.js → PDFViewer-B3RjsTuN.js} +2 -2
  34. package/dist/chunks/{PDFViewer-Cide6ZbY.js.map → PDFViewer-B3RjsTuN.js.map} +1 -1
  35. package/dist/chunks/{PDFViewer-C-lOjCEq.js → PDFViewer-BCAdNjUg.js} +3 -3
  36. package/dist/chunks/{PDFViewer-C-lOjCEq.js.map → PDFViewer-BCAdNjUg.js.map} +1 -1
  37. package/dist/chunks/{Page-CxMGK7_n.js → Page-DJ9v7mzu.js} +2 -2
  38. package/dist/chunks/{Page-CxMGK7_n.js.map → Page-DJ9v7mzu.js.map} +1 -1
  39. package/dist/chunks/{Page-3A-yHbBj.js → Page-DXE5-iMb.js} +2 -2
  40. package/dist/chunks/{Page-3A-yHbBj.js.map → Page-DXE5-iMb.js.map} +1 -1
  41. package/dist/chunks/{TopNav-B0jG_OOq.js → TopNav-Dr6SpoR6.js} +5 -5
  42. package/dist/chunks/{TopNav-B0jG_OOq.js.map → TopNav-Dr6SpoR6.js.map} +1 -1
  43. package/dist/chunks/{TopNav--Nh6FVMy.js → TopNav-ImcCHAH0.js} +2 -2
  44. package/dist/chunks/{TopNav--Nh6FVMy.js.map → TopNav-ImcCHAH0.js.map} +1 -1
  45. package/dist/chunks/{WebApp-87cfJ5J0.js → WebApp-BZqZu9Du.js} +2 -2
  46. package/dist/chunks/WebApp-BZqZu9Du.js.map +1 -0
  47. package/dist/chunks/{WebApp-CB_f1xfY.js → WebApp-DtLBT6Lp.js} +19 -14
  48. package/dist/chunks/WebApp-DtLBT6Lp.js.map +1 -0
  49. package/dist/docit.cjs.js +1 -1
  50. package/dist/docit.es.js +5 -5
  51. package/dist/index.cjs.js +1 -1
  52. package/dist/index.es.js +11 -11
  53. package/dist/lightbox.cjs.js +1 -1
  54. package/dist/lightbox.es.js +4 -4
  55. package/package.json +1 -1
  56. package/dist/chunks/WebApp-87cfJ5J0.js.map +0 -1
  57. package/dist/chunks/WebApp-CB_f1xfY.js.map +0 -1
@@ -1,8 +1,8 @@
1
- const VERSION = "2.1.769";
1
+ const VERSION = "2.1.773";
2
2
  const VERSION_MAJOR = 2;
3
3
  const VERSION_MINOR = 1;
4
- const VERSION_REVISION = 769;
5
- const BUILD_TIME = "2025-10-09T16:22:06.886Z";
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,
@@ -3366,7 +3366,11 @@ class Router {
3366
3366
  }
3367
3367
  // Private methods
3368
3368
  handlePopState(_event) {
3369
- this.handleCurrentLocation();
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-CRm9zvFI.js")).default;
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-CRm9zvFI.js")).default;
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-CRm9zvFI.js")).default;
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-CRm9zvFI.js")).default;
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-CRm9zvFI.js")).default;
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-CRm9zvFI.js")).default;
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-CRm9zvFI.js")).default;
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-CRm9zvFI.js")).default;
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-CRm9zvFI.js")).default;
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-CB_f1xfY.js.map
5388
+ //# sourceMappingURL=WebApp-DtLBT6Lp.js.map