web-mojo 2.1.541 → 2.1.546

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 (60) 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-D8QF3I2d.js → ChatView-DFQF253h.js} +6 -6
  12. package/dist/chunks/{ChatView-D8QF3I2d.js.map → ChatView-DFQF253h.js.map} +1 -1
  13. package/dist/chunks/{ChatView-CS5v3Ngm.js → ChatView-c3w18Nge.js} +2 -2
  14. package/dist/chunks/{ChatView-CS5v3Ngm.js.map → ChatView-c3w18Nge.js.map} +1 -1
  15. package/dist/chunks/{ContextMenu-BzvHUrN8.js → ContextMenu-DcZOc9gr.js} +2 -2
  16. package/dist/chunks/{ContextMenu-BzvHUrN8.js.map → ContextMenu-DcZOc9gr.js.map} +1 -1
  17. package/dist/chunks/{ContextMenu-BxNAykJd.js → ContextMenu-RPzLox4y.js} +2 -2
  18. package/dist/chunks/{ContextMenu-BxNAykJd.js.map → ContextMenu-RPzLox4y.js.map} +1 -1
  19. package/dist/chunks/{DataView-Ckb82Lf6.js → DataView-CgqR1xyr.js} +2 -2
  20. package/dist/chunks/{DataView-Ckb82Lf6.js.map → DataView-CgqR1xyr.js.map} +1 -1
  21. package/dist/chunks/{DataView-DinwdAt8.js → DataView-DoGJlcLG.js} +2 -2
  22. package/dist/chunks/{DataView-DinwdAt8.js.map → DataView-DoGJlcLG.js.map} +1 -1
  23. package/dist/chunks/{Dialog-BqfKgNPl.js → Dialog-CLzvolPa.js} +2 -2
  24. package/dist/chunks/{Dialog-BqfKgNPl.js.map → Dialog-CLzvolPa.js.map} +1 -1
  25. package/dist/chunks/{Dialog-CdjTdWFy.js → Dialog-DCDnevkt.js} +5 -5
  26. package/dist/chunks/{Dialog-CdjTdWFy.js.map → Dialog-DCDnevkt.js.map} +1 -1
  27. package/dist/chunks/{FormView-CO2fMfms.js → FormView-09VtwR2c.js} +2 -2
  28. package/dist/chunks/{FormView-CO2fMfms.js.map → FormView-09VtwR2c.js.map} +1 -1
  29. package/dist/chunks/{FormView-CVeqzOfl.js → FormView-BEii6BoR.js} +2 -2
  30. package/dist/chunks/{FormView-CVeqzOfl.js.map → FormView-BEii6BoR.js.map} +1 -1
  31. package/dist/chunks/{MetricsChart-BtPdRK4u.js → MetricsChart-Wo5sQ68q.js} +3 -3
  32. package/dist/chunks/{MetricsChart-BtPdRK4u.js.map → MetricsChart-Wo5sQ68q.js.map} +1 -1
  33. package/dist/chunks/{MetricsChart-BiuzBNK_.js → MetricsChart-sFdE3MZj.js} +2 -2
  34. package/dist/chunks/{MetricsChart-BiuzBNK_.js.map → MetricsChart-sFdE3MZj.js.map} +1 -1
  35. package/dist/chunks/{PDFViewer-BSS4oiLb.js → PDFViewer-BhFvSVNo.js} +3 -3
  36. package/dist/chunks/{PDFViewer-BSS4oiLb.js.map → PDFViewer-BhFvSVNo.js.map} +1 -1
  37. package/dist/chunks/{PDFViewer-BVP_1_G2.js → PDFViewer-CG_dvmZT.js} +2 -2
  38. package/dist/chunks/{PDFViewer-BVP_1_G2.js.map → PDFViewer-CG_dvmZT.js.map} +1 -1
  39. package/dist/chunks/{Page-C5yf_RnZ.js → Page-DoGJeSX8.js} +2 -2
  40. package/dist/chunks/{Page-C5yf_RnZ.js.map → Page-DoGJeSX8.js.map} +1 -1
  41. package/dist/chunks/{Page-Ck9-JuLX.js → Page-MtaIf93q.js} +2 -2
  42. package/dist/chunks/{Page-Ck9-JuLX.js.map → Page-MtaIf93q.js.map} +1 -1
  43. package/dist/chunks/{TopNav-BpNbneX8.js → TopNav-BdzUfQv_.js} +2 -2
  44. package/dist/chunks/{TopNav-BpNbneX8.js.map → TopNav-BdzUfQv_.js.map} +1 -1
  45. package/dist/chunks/{TopNav-C4c7gNJt.js → TopNav-t5ZBQ3WL.js} +2 -2
  46. package/dist/chunks/{TopNav-C4c7gNJt.js.map → TopNav-t5ZBQ3WL.js.map} +1 -1
  47. package/dist/chunks/WebApp-BTgGjF-0.js +2 -0
  48. package/dist/chunks/WebApp-BTgGjF-0.js.map +1 -0
  49. package/dist/chunks/{WebApp-DVm8Swji.js → WebApp-C-Hi63fx.js} +29 -18
  50. package/dist/chunks/WebApp-C-Hi63fx.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/WebApp-CWbRPN8W.js +0 -2
  59. package/dist/chunks/WebApp-CWbRPN8W.js.map +0 -1
  60. package/dist/chunks/WebApp-DVm8Swji.js.map +0 -1
@@ -1,8 +1,8 @@
1
- const VERSION = "2.1.541";
1
+ const VERSION = "2.1.546";
2
2
  const VERSION_MAJOR = 2;
3
3
  const VERSION_MINOR = 1;
4
- const VERSION_REVISION = 541;
5
- const BUILD_TIME = "2025-10-01T14:18:11.865Z";
4
+ const VERSION_REVISION = 546;
5
+ const BUILD_TIME = "2025-10-01T16:02:53.563Z";
6
6
  const VERSION_INFO = {
7
7
  full: VERSION,
8
8
  major: VERSION_MAJOR,
@@ -765,8 +765,10 @@ class DataFormatter {
765
765
  }
766
766
  }
767
767
  if (context && this.isIdentifier(value)) {
768
- if (context.hasOwnProperty && context.hasOwnProperty(value)) {
769
- return context[value];
768
+ if (!value.includes(".")) {
769
+ if (context.hasOwnProperty && context.hasOwnProperty(value)) {
770
+ return context[value];
771
+ }
770
772
  }
771
773
  if (context.get && typeof context.get === "function") {
772
774
  const contextValue = context.get(value);
@@ -780,16 +782,25 @@ class DataFormatter {
780
782
  return contextValue;
781
783
  }
782
784
  }
785
+ if (value.includes(".")) {
786
+ const MOJOUtils2 = window.MOJOUtils || (typeof require !== "undefined" ? require("./MOJOUtils.js").default : null);
787
+ if (MOJOUtils2) {
788
+ const contextValue = MOJOUtils2.getNestedValue(context, value);
789
+ if (contextValue !== void 0) {
790
+ return contextValue;
791
+ }
792
+ }
793
+ }
783
794
  }
784
795
  return value;
785
796
  }
786
797
  /**
787
- * Check if a value is a valid identifier (variable name)
798
+ * Check if a value is a valid identifier (variable name or dot-notation path)
788
799
  * @param {string} value - Value to check
789
- * @returns {boolean} True if valid identifier
800
+ * @returns {boolean} True if valid identifier or path
790
801
  */
791
802
  isIdentifier(value) {
792
- return /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(value);
803
+ return /^[a-zA-Z_$][a-zA-Z0-9_$]*(\.[a-zA-Z_$][a-zA-Z0-9_$]*)*$/.test(value);
793
804
  }
794
805
  // ============= Date/Time Formatters =============
795
806
  /**
@@ -4890,7 +4901,7 @@ class WebApp {
4890
4901
  */
4891
4902
  async showError(message) {
4892
4903
  try {
4893
- const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4904
+ const Dialog = (await import("./Dialog-DCDnevkt.js")).default;
4894
4905
  await Dialog.alert(message, "Error", { size: "md", class: "text-danger" });
4895
4906
  } catch (e) {
4896
4907
  this.events.emit("notification", { message, type: "error" });
@@ -4907,7 +4918,7 @@ class WebApp {
4907
4918
  */
4908
4919
  async showSuccess(message) {
4909
4920
  try {
4910
- const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4921
+ const Dialog = (await import("./Dialog-DCDnevkt.js")).default;
4911
4922
  await Dialog.alert(message, "Success", { size: "md", class: "text-success" });
4912
4923
  } catch (e) {
4913
4924
  this.events.emit("notification", { message, type: "success" });
@@ -4924,7 +4935,7 @@ class WebApp {
4924
4935
  */
4925
4936
  async showInfo(message) {
4926
4937
  try {
4927
- const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4938
+ const Dialog = (await import("./Dialog-DCDnevkt.js")).default;
4928
4939
  await Dialog.alert(message, "Information", { size: "md", class: "text-info" });
4929
4940
  } catch (e) {
4930
4941
  this.events.emit("notification", { message, type: "info" });
@@ -4941,7 +4952,7 @@ class WebApp {
4941
4952
  */
4942
4953
  async showWarning(message) {
4943
4954
  try {
4944
- const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4955
+ const Dialog = (await import("./Dialog-DCDnevkt.js")).default;
4945
4956
  await Dialog.alert(message, "Warning", { size: "md", class: "text-warning" });
4946
4957
  } catch (e) {
4947
4958
  this.events.emit("notification", { message, type: "warning" });
@@ -4967,7 +4978,7 @@ class WebApp {
4967
4978
  opts = { message: opts };
4968
4979
  }
4969
4980
  try {
4970
- const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4981
+ const Dialog = (await import("./Dialog-DCDnevkt.js")).default;
4971
4982
  Dialog.showBusy(opts);
4972
4983
  } catch (e) {
4973
4984
  if (typeof window !== "undefined" && window?.console) {
@@ -4981,7 +4992,7 @@ class WebApp {
4981
4992
  */
4982
4993
  async hideLoading() {
4983
4994
  try {
4984
- const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
4995
+ const Dialog = (await import("./Dialog-DCDnevkt.js")).default;
4985
4996
  Dialog.hideBusy();
4986
4997
  } catch (e) {
4987
4998
  if (typeof window !== "undefined" && window?.console) {
@@ -4991,7 +5002,7 @@ class WebApp {
4991
5002
  }
4992
5003
  async showModelForm(options = {}) {
4993
5004
  try {
4994
- const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
5005
+ const Dialog = (await import("./Dialog-DCDnevkt.js")).default;
4995
5006
  return await Dialog.showModelForm(options);
4996
5007
  } catch (e) {
4997
5008
  if (typeof window !== "undefined" && window?.console) {
@@ -5002,7 +5013,7 @@ class WebApp {
5002
5013
  }
5003
5014
  async showForm(options = {}) {
5004
5015
  try {
5005
- const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
5016
+ const Dialog = (await import("./Dialog-DCDnevkt.js")).default;
5006
5017
  return await Dialog.showForm(options);
5007
5018
  } catch (e) {
5008
5019
  if (typeof window !== "undefined" && window?.console) {
@@ -5012,7 +5023,7 @@ class WebApp {
5012
5023
  }
5013
5024
  }
5014
5025
  async confirm(message, title = "Confirm", options = {}) {
5015
- const Dialog = (await import("./Dialog-CdjTdWFy.js")).default;
5026
+ const Dialog = (await import("./Dialog-DCDnevkt.js")).default;
5016
5027
  return await Dialog.confirm(message, title, options);
5017
5028
  }
5018
5029
  /**
@@ -5265,4 +5276,4 @@ export {
5265
5276
  EventEmitter as i,
5266
5277
  rest as r
5267
5278
  };
5268
- //# sourceMappingURL=WebApp-DVm8Swji.js.map
5279
+ //# sourceMappingURL=WebApp-C-Hi63fx.js.map