web-mojo 2.1.535 → 2.1.541

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 (63) 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 +11 -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 +3 -3
  11. package/dist/chunks/ChatView-CS5v3Ngm.js +2 -0
  12. package/dist/chunks/ChatView-CS5v3Ngm.js.map +1 -0
  13. package/dist/chunks/{ChatView-B6_WuQEq.js → ChatView-D8QF3I2d.js} +12 -13
  14. package/dist/chunks/ChatView-D8QF3I2d.js.map +1 -0
  15. package/dist/chunks/{ContextMenu-DL21mK-K.js → ContextMenu-BxNAykJd.js} +2 -2
  16. package/dist/chunks/{ContextMenu-DL21mK-K.js.map → ContextMenu-BxNAykJd.js.map} +1 -1
  17. package/dist/chunks/{ContextMenu-CUFAbhvX.js → ContextMenu-BzvHUrN8.js} +2 -2
  18. package/dist/chunks/{ContextMenu-CUFAbhvX.js.map → ContextMenu-BzvHUrN8.js.map} +1 -1
  19. package/dist/chunks/{DataView-pjnkp_s6.js → DataView-Ckb82Lf6.js} +2 -2
  20. package/dist/chunks/{DataView-pjnkp_s6.js.map → DataView-Ckb82Lf6.js.map} +1 -1
  21. package/dist/chunks/{DataView-ztckztwQ.js → DataView-DinwdAt8.js} +2 -2
  22. package/dist/chunks/{DataView-ztckztwQ.js.map → DataView-DinwdAt8.js.map} +1 -1
  23. package/dist/chunks/{Dialog-DZcy_jFe.js → Dialog-BqfKgNPl.js} +2 -2
  24. package/dist/chunks/{Dialog-DZcy_jFe.js.map → Dialog-BqfKgNPl.js.map} +1 -1
  25. package/dist/chunks/{Dialog-Be3ZkGtt.js → Dialog-CdjTdWFy.js} +5 -5
  26. package/dist/chunks/{Dialog-Be3ZkGtt.js.map → Dialog-CdjTdWFy.js.map} +1 -1
  27. package/dist/chunks/{FormView-CyHZtouJ.js → FormView-CO2fMfms.js} +2 -2
  28. package/dist/chunks/{FormView-CyHZtouJ.js.map → FormView-CO2fMfms.js.map} +1 -1
  29. package/dist/chunks/{FormView-RJ5niGVY.js → FormView-CVeqzOfl.js} +2 -2
  30. package/dist/chunks/{FormView-RJ5niGVY.js.map → FormView-CVeqzOfl.js.map} +1 -1
  31. package/dist/chunks/{MetricsChart-DK9a46gB.js → MetricsChart-BiuzBNK_.js} +2 -2
  32. package/dist/chunks/{MetricsChart-DK9a46gB.js.map → MetricsChart-BiuzBNK_.js.map} +1 -1
  33. package/dist/chunks/{MetricsChart-HFbmINDC.js → MetricsChart-BtPdRK4u.js} +3 -3
  34. package/dist/chunks/{MetricsChart-HFbmINDC.js.map → MetricsChart-BtPdRK4u.js.map} +1 -1
  35. package/dist/chunks/{PDFViewer-DSL5K-RC.js → PDFViewer-BSS4oiLb.js} +3 -3
  36. package/dist/chunks/{PDFViewer-DSL5K-RC.js.map → PDFViewer-BSS4oiLb.js.map} +1 -1
  37. package/dist/chunks/{PDFViewer-DtTeFEKS.js → PDFViewer-BVP_1_G2.js} +2 -2
  38. package/dist/chunks/{PDFViewer-DtTeFEKS.js.map → PDFViewer-BVP_1_G2.js.map} +1 -1
  39. package/dist/chunks/{Page-D8fANAJX.js → Page-C5yf_RnZ.js} +2 -2
  40. package/dist/chunks/{Page-D8fANAJX.js.map → Page-C5yf_RnZ.js.map} +1 -1
  41. package/dist/chunks/{Page-fyywOoGg.js → Page-Ck9-JuLX.js} +2 -2
  42. package/dist/chunks/{Page-fyywOoGg.js.map → Page-Ck9-JuLX.js.map} +1 -1
  43. package/dist/chunks/{TopNav-BYsRM6BZ.js → TopNav-BpNbneX8.js} +2 -2
  44. package/dist/chunks/{TopNav-BYsRM6BZ.js.map → TopNav-BpNbneX8.js.map} +1 -1
  45. package/dist/chunks/{TopNav-DnpYXG9a.js → TopNav-C4c7gNJt.js} +2 -2
  46. package/dist/chunks/{TopNav-DnpYXG9a.js.map → TopNav-C4c7gNJt.js.map} +1 -1
  47. package/dist/chunks/WebApp-CWbRPN8W.js +2 -0
  48. package/dist/chunks/WebApp-CWbRPN8W.js.map +1 -0
  49. package/dist/chunks/{WebApp-Brh2wRZ3.js → WebApp-DVm8Swji.js} +43 -13
  50. package/dist/chunks/WebApp-DVm8Swji.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/ChatView-7uXqcmuN.js +0 -2
  59. package/dist/chunks/ChatView-7uXqcmuN.js.map +0 -1
  60. package/dist/chunks/ChatView-B6_WuQEq.js.map +0 -1
  61. package/dist/chunks/WebApp-Brh2wRZ3.js.map +0 -1
  62. package/dist/chunks/WebApp-XHTE27hi.js +0 -2
  63. package/dist/chunks/WebApp-XHTE27hi.js.map +0 -1
@@ -1,8 +1,8 @@
1
- const VERSION = "2.1.535";
1
+ const VERSION = "2.1.541";
2
2
  const VERSION_MAJOR = 2;
3
3
  const VERSION_MINOR = 1;
4
- const VERSION_REVISION = 535;
5
- const BUILD_TIME = "2025-10-01T13:51:55.569Z";
4
+ const VERSION_REVISION = 541;
5
+ const BUILD_TIME = "2025-10-01T14:18:11.865Z";
6
6
  const VERSION_INFO = {
7
7
  full: VERSION,
8
8
  major: VERSION_MAJOR,
@@ -2637,6 +2637,7 @@ class View {
2637
2637
  this.debug = opts.debug ?? false;
2638
2638
  this.app = opts.app ?? null;
2639
2639
  this.cacheTemplate = opts.cacheTemplate ?? true;
2640
+ this.enableTooltips = opts.enableTooltips ?? false;
2640
2641
  this.options = { ...opts };
2641
2642
  this.element = this._ensureElement();
2642
2643
  this.events = new EventDelegate(this);
@@ -2944,9 +2945,15 @@ class View {
2944
2945
  }
2945
2946
  bindEvents() {
2946
2947
  this.events.bind(this.element);
2948
+ if (this.enableTooltips) {
2949
+ this.initializeTooltips();
2950
+ }
2947
2951
  }
2948
2952
  unbindEvents() {
2949
2953
  this.events.unbind();
2954
+ if (this.enableTooltips) {
2955
+ this.disposeTooltips();
2956
+ }
2950
2957
  }
2951
2958
  // ---------------------------------------------
2952
2959
  // Template helpers
@@ -3119,6 +3126,29 @@ class View {
3119
3126
  if (!el) return false;
3120
3127
  return this.element.contains(el);
3121
3128
  }
3129
+ /**
3130
+ * Initialize Bootstrap tooltips in this view's element
3131
+ * Called automatically in bindEvents() if enableTooltips is true
3132
+ */
3133
+ initializeTooltips() {
3134
+ if (!this.element || !window.bootstrap?.Tooltip) return;
3135
+ const tooltipTriggerList = this.element.querySelectorAll('[data-bs-toggle="tooltip"]');
3136
+ [...tooltipTriggerList].map((tooltipTriggerEl) => new window.bootstrap.Tooltip(tooltipTriggerEl));
3137
+ }
3138
+ /**
3139
+ * Dispose all Bootstrap tooltips in this view's element
3140
+ * Called automatically in unbindEvents() if enableTooltips is true
3141
+ */
3142
+ disposeTooltips() {
3143
+ if (!this.element || !window.bootstrap?.Tooltip) return;
3144
+ const tooltipElements = this.element.querySelectorAll('[data-bs-toggle="tooltip"]');
3145
+ tooltipElements.forEach((element) => {
3146
+ const tooltip = window.bootstrap.Tooltip.getInstance(element);
3147
+ if (tooltip) {
3148
+ tooltip.dispose();
3149
+ }
3150
+ });
3151
+ }
3122
3152
  /**
3123
3153
  * Show error message
3124
3154
  * @param {string} message - Error message
@@ -4860,7 +4890,7 @@ class WebApp {
4860
4890
  */
4861
4891
  async showError(message) {
4862
4892
  try {
4863
- const Dialog = (await import("./Dialog-Be3ZkGtt.js")).default;
4893
+ const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4864
4894
  await Dialog.alert(message, "Error", { size: "md", class: "text-danger" });
4865
4895
  } catch (e) {
4866
4896
  this.events.emit("notification", { message, type: "error" });
@@ -4877,7 +4907,7 @@ class WebApp {
4877
4907
  */
4878
4908
  async showSuccess(message) {
4879
4909
  try {
4880
- const Dialog = (await import("./Dialog-Be3ZkGtt.js")).default;
4910
+ const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4881
4911
  await Dialog.alert(message, "Success", { size: "md", class: "text-success" });
4882
4912
  } catch (e) {
4883
4913
  this.events.emit("notification", { message, type: "success" });
@@ -4894,7 +4924,7 @@ class WebApp {
4894
4924
  */
4895
4925
  async showInfo(message) {
4896
4926
  try {
4897
- const Dialog = (await import("./Dialog-Be3ZkGtt.js")).default;
4927
+ const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4898
4928
  await Dialog.alert(message, "Information", { size: "md", class: "text-info" });
4899
4929
  } catch (e) {
4900
4930
  this.events.emit("notification", { message, type: "info" });
@@ -4911,7 +4941,7 @@ class WebApp {
4911
4941
  */
4912
4942
  async showWarning(message) {
4913
4943
  try {
4914
- const Dialog = (await import("./Dialog-Be3ZkGtt.js")).default;
4944
+ const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4915
4945
  await Dialog.alert(message, "Warning", { size: "md", class: "text-warning" });
4916
4946
  } catch (e) {
4917
4947
  this.events.emit("notification", { message, type: "warning" });
@@ -4937,7 +4967,7 @@ class WebApp {
4937
4967
  opts = { message: opts };
4938
4968
  }
4939
4969
  try {
4940
- const Dialog = (await import("./Dialog-Be3ZkGtt.js")).default;
4970
+ const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4941
4971
  Dialog.showBusy(opts);
4942
4972
  } catch (e) {
4943
4973
  if (typeof window !== "undefined" && window?.console) {
@@ -4951,7 +4981,7 @@ class WebApp {
4951
4981
  */
4952
4982
  async hideLoading() {
4953
4983
  try {
4954
- const Dialog = (await import("./Dialog-Be3ZkGtt.js")).default;
4984
+ const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4955
4985
  Dialog.hideBusy();
4956
4986
  } catch (e) {
4957
4987
  if (typeof window !== "undefined" && window?.console) {
@@ -4961,7 +4991,7 @@ class WebApp {
4961
4991
  }
4962
4992
  async showModelForm(options = {}) {
4963
4993
  try {
4964
- const Dialog = (await import("./Dialog-Be3ZkGtt.js")).default;
4994
+ const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4965
4995
  return await Dialog.showModelForm(options);
4966
4996
  } catch (e) {
4967
4997
  if (typeof window !== "undefined" && window?.console) {
@@ -4972,7 +5002,7 @@ class WebApp {
4972
5002
  }
4973
5003
  async showForm(options = {}) {
4974
5004
  try {
4975
- const Dialog = (await import("./Dialog-Be3ZkGtt.js")).default;
5005
+ const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4976
5006
  return await Dialog.showForm(options);
4977
5007
  } catch (e) {
4978
5008
  if (typeof window !== "undefined" && window?.console) {
@@ -4982,7 +5012,7 @@ class WebApp {
4982
5012
  }
4983
5013
  }
4984
5014
  async confirm(message, title = "Confirm", options = {}) {
4985
- const Dialog = (await import("./Dialog-Be3ZkGtt.js")).default;
5015
+ const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4986
5016
  return await Dialog.confirm(message, title, options);
4987
5017
  }
4988
5018
  /**
@@ -5235,4 +5265,4 @@ export {
5235
5265
  EventEmitter as i,
5236
5266
  rest as r
5237
5267
  };
5238
- //# sourceMappingURL=WebApp-Brh2wRZ3.js.map
5268
+ //# sourceMappingURL=WebApp-DVm8Swji.js.map