web-mojo 2.1.804 → 2.1.812

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 (62) 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 +12 -11
  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-D5FXDVBl.js → ChatView-5qyKfc1C.js} +6 -6
  12. package/dist/chunks/{ChatView-D5FXDVBl.js.map → ChatView-5qyKfc1C.js.map} +1 -1
  13. package/dist/chunks/{ChatView-DMyN9gEt.js → ChatView-C9qicT1E.js} +2 -2
  14. package/dist/chunks/{ChatView-DMyN9gEt.js.map → ChatView-C9qicT1E.js.map} +1 -1
  15. package/dist/chunks/{ContextMenu-BFiriNPK.js → ContextMenu-CSqcRPHG.js} +2 -2
  16. package/dist/chunks/{ContextMenu-BFiriNPK.js.map → ContextMenu-CSqcRPHG.js.map} +1 -1
  17. package/dist/chunks/{ContextMenu-Cp8TNCcx.js → ContextMenu-apPxoGN1.js} +2 -2
  18. package/dist/chunks/{ContextMenu-Cp8TNCcx.js.map → ContextMenu-apPxoGN1.js.map} +1 -1
  19. package/dist/chunks/{DataView-C4cYueV0.js → DataView-Crm6ZVOz.js} +2 -2
  20. package/dist/chunks/{DataView-C4cYueV0.js.map → DataView-Crm6ZVOz.js.map} +1 -1
  21. package/dist/chunks/{DataView-BIP_zvzz.js → DataView-DE0rl2J_.js} +2 -2
  22. package/dist/chunks/{DataView-BIP_zvzz.js.map → DataView-DE0rl2J_.js.map} +1 -1
  23. package/dist/chunks/{Dialog-DZ0e9qPg.js → Dialog-B2Gh9Rur.js} +5 -5
  24. package/dist/chunks/{Dialog-DZ0e9qPg.js.map → Dialog-B2Gh9Rur.js.map} +1 -1
  25. package/dist/chunks/{Dialog-DhtUrwMO.js → Dialog-BPzVOTJH.js} +2 -2
  26. package/dist/chunks/{Dialog-DhtUrwMO.js.map → Dialog-BPzVOTJH.js.map} +1 -1
  27. package/dist/chunks/{FormView-0I46TFL6.js → FormView-DBdVvU6n.js} +7 -2
  28. package/dist/chunks/{FormView-0I46TFL6.js.map → FormView-DBdVvU6n.js.map} +1 -1
  29. package/dist/chunks/{FormView-CDqio7Sw.js → FormView-DqEwvnj7.js} +3 -3
  30. package/dist/chunks/{FormView-CDqio7Sw.js.map → FormView-DqEwvnj7.js.map} +1 -1
  31. package/dist/chunks/{MetricsMiniChartWidget-B79zUU2c.js → MetricsMiniChartWidget-CELAfma7.js} +3 -3
  32. package/dist/chunks/{MetricsMiniChartWidget-B79zUU2c.js.map → MetricsMiniChartWidget-CELAfma7.js.map} +1 -1
  33. package/dist/chunks/{MetricsMiniChartWidget-CFIealCm.js → MetricsMiniChartWidget-Ii6gwezj.js} +2 -2
  34. package/dist/chunks/{MetricsMiniChartWidget-CFIealCm.js.map → MetricsMiniChartWidget-Ii6gwezj.js.map} +1 -1
  35. package/dist/chunks/{PDFViewer-Bd83hkvl.js → PDFViewer-BXy_EBt0.js} +3 -3
  36. package/dist/chunks/{PDFViewer-Bd83hkvl.js.map → PDFViewer-BXy_EBt0.js.map} +1 -1
  37. package/dist/chunks/{PDFViewer-GU0EUJYf.js → PDFViewer-PmFm27UR.js} +2 -2
  38. package/dist/chunks/{PDFViewer-GU0EUJYf.js.map → PDFViewer-PmFm27UR.js.map} +1 -1
  39. package/dist/chunks/{Page-CArMg82D.js → Page-DYlm2EbO.js} +2 -2
  40. package/dist/chunks/{Page-CArMg82D.js.map → Page-DYlm2EbO.js.map} +1 -1
  41. package/dist/chunks/{Page-4hIrqMtQ.js → Page-JZOabpe-.js} +2 -2
  42. package/dist/chunks/{Page-4hIrqMtQ.js.map → Page-JZOabpe-.js.map} +1 -1
  43. package/dist/chunks/{TopNav-DJyWq5hn.js → TopNav-DcYlHnpj.js} +6 -19
  44. package/dist/chunks/TopNav-DcYlHnpj.js.map +1 -0
  45. package/dist/chunks/{TopNav-DHSntpqx.js → TopNav-uR5vBvlP.js} +2 -2
  46. package/dist/chunks/TopNav-uR5vBvlP.js.map +1 -0
  47. package/dist/chunks/{WebApp-BP2thfqz.js → WebApp-BZC1cBJT.js} +35 -13
  48. package/dist/chunks/WebApp-BZC1cBJT.js.map +1 -0
  49. package/dist/chunks/WebApp-CmUTFAzu.js +2 -0
  50. package/dist/chunks/WebApp-CmUTFAzu.js.map +1 -0
  51. package/dist/docit.cjs.js +1 -1
  52. package/dist/docit.es.js +5 -5
  53. package/dist/index.cjs.js +1 -1
  54. package/dist/index.es.js +11 -11
  55. package/dist/lightbox.cjs.js +1 -1
  56. package/dist/lightbox.es.js +4 -4
  57. package/package.json +1 -1
  58. package/dist/chunks/TopNav-DHSntpqx.js.map +0 -1
  59. package/dist/chunks/TopNav-DJyWq5hn.js.map +0 -1
  60. package/dist/chunks/WebApp-BP2thfqz.js.map +0 -1
  61. package/dist/chunks/WebApp-C0YtPHbV.js +0 -2
  62. package/dist/chunks/WebApp-C0YtPHbV.js.map +0 -1
@@ -1,8 +1,8 @@
1
- const VERSION = "2.1.804";
1
+ const VERSION = "2.1.812";
2
2
  const VERSION_MAJOR = 2;
3
3
  const VERSION_MINOR = 1;
4
- const VERSION_REVISION = 804;
5
- const BUILD_TIME = "2025-10-11T20:50:42.499Z";
4
+ const VERSION_REVISION = 812;
5
+ const BUILD_TIME = "2025-10-11T22:33:36.111Z";
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-DZ0e9qPg.js")).default;
5054
+ const Dialog = (await import("./Dialog-B2Gh9Rur.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-DZ0e9qPg.js")).default;
5071
+ const Dialog = (await import("./Dialog-B2Gh9Rur.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-DZ0e9qPg.js")).default;
5088
+ const Dialog = (await import("./Dialog-B2Gh9Rur.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-DZ0e9qPg.js")).default;
5105
+ const Dialog = (await import("./Dialog-B2Gh9Rur.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-DZ0e9qPg.js")).default;
5131
+ const Dialog = (await import("./Dialog-B2Gh9Rur.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-DZ0e9qPg.js")).default;
5145
+ const Dialog = (await import("./Dialog-B2Gh9Rur.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-DZ0e9qPg.js")).default;
5155
+ const Dialog = (await import("./Dialog-B2Gh9Rur.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-DZ0e9qPg.js")).default;
5166
+ const Dialog = (await import("./Dialog-B2Gh9Rur.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-DZ0e9qPg.js")).default;
5176
+ const Dialog = (await import("./Dialog-B2Gh9Rur.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-BP2thfqz.js.map
5429
+ //# sourceMappingURL=WebApp-BZC1cBJT.js.map