web-mojo 2.1.783 → 2.1.799

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 (66) hide show
  1. package/dist/admin.cjs.js +1 -1
  2. package/dist/admin.cjs.js.map +1 -1
  3. package/dist/admin.es.js +90 -28
  4. package/dist/admin.es.js.map +1 -1
  5. package/dist/auth.cjs.js +1 -1
  6. package/dist/auth.cjs.js.map +1 -1
  7. package/dist/auth.es.js +3 -3
  8. package/dist/auth.es.js.map +1 -1
  9. package/dist/charts.cjs.js +1 -1
  10. package/dist/charts.es.js +2 -2
  11. package/dist/chunks/{ChatView-DnlFXNbs.js → ChatView-CG0MxxC0.js} +9 -50
  12. package/dist/chunks/ChatView-CG0MxxC0.js.map +1 -0
  13. package/dist/chunks/{ChatView-DrBUQ373.js → ChatView-DsAe76Iw.js} +2 -2
  14. package/dist/chunks/ChatView-DsAe76Iw.js.map +1 -0
  15. package/dist/chunks/{ContextMenu-BnUxQSjf.js → ContextMenu-CUzoOzxz.js} +2 -2
  16. package/dist/chunks/{ContextMenu-BnUxQSjf.js.map → ContextMenu-CUzoOzxz.js.map} +1 -1
  17. package/dist/chunks/{ContextMenu-b_OrhKHs.js → ContextMenu-Cwwt69yf.js} +2 -2
  18. package/dist/chunks/{ContextMenu-b_OrhKHs.js.map → ContextMenu-Cwwt69yf.js.map} +1 -1
  19. package/dist/chunks/{DataView-DrEVJtrm.js → DataView-BpiXyyVG.js} +2 -2
  20. package/dist/chunks/{DataView-DrEVJtrm.js.map → DataView-BpiXyyVG.js.map} +1 -1
  21. package/dist/chunks/{DataView-t3OBXM-2.js → DataView-D0ycwi7W.js} +2 -2
  22. package/dist/chunks/{DataView-t3OBXM-2.js.map → DataView-D0ycwi7W.js.map} +1 -1
  23. package/dist/chunks/{Dialog-DmXdNWsq.js → Dialog-C1bsyxOc.js} +2 -2
  24. package/dist/chunks/{Dialog-DmXdNWsq.js.map → Dialog-C1bsyxOc.js.map} +1 -1
  25. package/dist/chunks/{Dialog-CCLikhVB.js → Dialog-C469ul5I.js} +5 -5
  26. package/dist/chunks/{Dialog-CCLikhVB.js.map → Dialog-C469ul5I.js.map} +1 -1
  27. package/dist/chunks/{FormView-CDR6Tkde.js → FormView-B_lR2GG4.js} +2 -2
  28. package/dist/chunks/{FormView-CDR6Tkde.js.map → FormView-B_lR2GG4.js.map} +1 -1
  29. package/dist/chunks/{FormView-DMyXiDWu.js → FormView-CFEBoHcV.js} +2 -2
  30. package/dist/chunks/{FormView-DMyXiDWu.js.map → FormView-CFEBoHcV.js.map} +1 -1
  31. package/dist/chunks/{MetricsMiniChartWidget-BmY66k1F.js → MetricsMiniChartWidget-BsGbSx8_.js} +3 -3
  32. package/dist/chunks/{MetricsMiniChartWidget-BmY66k1F.js.map → MetricsMiniChartWidget-BsGbSx8_.js.map} +1 -1
  33. package/dist/chunks/{MetricsMiniChartWidget-CZ2J2Hc2.js → MetricsMiniChartWidget-JdcYul7m.js} +2 -2
  34. package/dist/chunks/{MetricsMiniChartWidget-CZ2J2Hc2.js.map → MetricsMiniChartWidget-JdcYul7m.js.map} +1 -1
  35. package/dist/chunks/{PDFViewer-B6e5yweS.js → PDFViewer-BTePcTwW.js} +3 -3
  36. package/dist/chunks/{PDFViewer-B6e5yweS.js.map → PDFViewer-BTePcTwW.js.map} +1 -1
  37. package/dist/chunks/{PDFViewer-B8AW4CBc.js → PDFViewer-DgtfmQBH.js} +2 -2
  38. package/dist/chunks/{PDFViewer-B8AW4CBc.js.map → PDFViewer-DgtfmQBH.js.map} +1 -1
  39. package/dist/chunks/{Page-Bv3lkFL5.js → Page-BNzfxoLN.js} +2 -2
  40. package/dist/chunks/{Page-Bv3lkFL5.js.map → Page-BNzfxoLN.js.map} +1 -1
  41. package/dist/chunks/{Page-DEBpjrLS.js → Page-BOBZ_hsj.js} +2 -2
  42. package/dist/chunks/{Page-DEBpjrLS.js.map → Page-BOBZ_hsj.js.map} +1 -1
  43. package/dist/chunks/{TopNav-BLY2EcD5.js → TopNav-CBtwOzt8.js} +22 -8
  44. package/dist/chunks/TopNav-CBtwOzt8.js.map +1 -0
  45. package/dist/chunks/{TopNav-DNUFKcWJ.js → TopNav-pB6gzZRF.js} +2 -2
  46. package/dist/chunks/TopNav-pB6gzZRF.js.map +1 -0
  47. package/dist/chunks/{WebApp-AGmBnM8H.js → WebApp-BOZJfaC7.js} +33 -14
  48. package/dist/chunks/{WebApp-AGmBnM8H.js.map → WebApp-BOZJfaC7.js.map} +1 -1
  49. package/dist/chunks/{WebApp-BR_7YgWu.js → WebApp-NjfRcJiV.js} +2 -2
  50. package/dist/chunks/WebApp-NjfRcJiV.js.map +1 -0
  51. package/dist/core.css +264 -0
  52. package/dist/css/web-mojo.css +1 -1
  53. package/dist/docit.cjs.js +1 -1
  54. package/dist/docit.es.js +5 -5
  55. package/dist/index.cjs.js +1 -1
  56. package/dist/index.cjs.js.map +1 -1
  57. package/dist/index.es.js +25 -23
  58. package/dist/index.es.js.map +1 -1
  59. package/dist/lightbox.cjs.js +1 -1
  60. package/dist/lightbox.es.js +4 -4
  61. package/package.json +1 -1
  62. package/dist/chunks/ChatView-DnlFXNbs.js.map +0 -1
  63. package/dist/chunks/ChatView-DrBUQ373.js.map +0 -1
  64. package/dist/chunks/TopNav-BLY2EcD5.js.map +0 -1
  65. package/dist/chunks/TopNav-DNUFKcWJ.js.map +0 -1
  66. package/dist/chunks/WebApp-BR_7YgWu.js.map +0 -1
@@ -1,8 +1,8 @@
1
- const VERSION = "2.1.783";
1
+ const VERSION = "2.1.799";
2
2
  const VERSION_MAJOR = 2;
3
3
  const VERSION_MINOR = 1;
4
- const VERSION_REVISION = 783;
5
- const BUILD_TIME = "2025-10-10T02:17:41.568Z";
4
+ const VERSION_REVISION = 799;
5
+ const BUILD_TIME = "2025-10-11T20:11:10.757Z";
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) => new window.bootstrap.Tooltip(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-CCLikhVB.js")).default;
5032
+ const Dialog = (await import("./Dialog-C469ul5I.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-CCLikhVB.js")).default;
5049
+ const Dialog = (await import("./Dialog-C469ul5I.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-CCLikhVB.js")).default;
5066
+ const Dialog = (await import("./Dialog-C469ul5I.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-CCLikhVB.js")).default;
5083
+ const Dialog = (await import("./Dialog-C469ul5I.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-CCLikhVB.js")).default;
5109
+ const Dialog = (await import("./Dialog-C469ul5I.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-CCLikhVB.js")).default;
5123
+ const Dialog = (await import("./Dialog-C469ul5I.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-CCLikhVB.js")).default;
5133
+ const Dialog = (await import("./Dialog-C469ul5I.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-CCLikhVB.js")).default;
5144
+ const Dialog = (await import("./Dialog-C469ul5I.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-CCLikhVB.js")).default;
5154
+ const Dialog = (await import("./Dialog-C469ul5I.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-AGmBnM8H.js.map
5407
+ //# sourceMappingURL=WebApp-BOZJfaC7.js.map