web-mojo 2.1.46 → 2.1.70
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.
- package/dist/admin.cjs.js +1 -1
- package/dist/admin.cjs.js.map +1 -1
- package/dist/admin.es.js +12 -11
- package/dist/admin.es.js.map +1 -1
- package/dist/auth.cjs.js +1 -1
- package/dist/auth.es.js +3 -3
- package/dist/charts.cjs.js +1 -1
- package/dist/charts.es.js +2 -2
- package/dist/chunks/{ContextMenu-gEcpSz56.js → ContextMenu-CD5yoYTS.js} +2 -2
- package/dist/chunks/{ContextMenu-gEcpSz56.js.map → ContextMenu-CD5yoYTS.js.map} +1 -1
- package/dist/chunks/{ContextMenu-BrHqj0fn.js → ContextMenu-Cds78Jny.js} +2 -2
- package/dist/chunks/{ContextMenu-BrHqj0fn.js.map → ContextMenu-Cds78Jny.js.map} +1 -1
- package/dist/chunks/{DataView-DPryYpEW.js → DataView-CfPr57_R.js} +2 -2
- package/dist/chunks/{DataView-DPryYpEW.js.map → DataView-CfPr57_R.js.map} +1 -1
- package/dist/chunks/{DataView-DjZQrpba.js → DataView-DPSnw5Nb.js} +2 -2
- package/dist/chunks/{DataView-DjZQrpba.js.map → DataView-DPSnw5Nb.js.map} +1 -1
- package/dist/chunks/{Dialog-DSlctbon.js → Dialog-B9C-Tivh.js} +5 -5
- package/dist/chunks/{Dialog-DSlctbon.js.map → Dialog-B9C-Tivh.js.map} +1 -1
- package/dist/chunks/{Dialog-BsRx4eg3.js → Dialog-BqNrby-G.js} +2 -2
- package/dist/chunks/{Dialog-BsRx4eg3.js.map → Dialog-BqNrby-G.js.map} +1 -1
- package/dist/chunks/{FilePreviewView-BmFHzK5K.js → FilePreviewView-Bp09ZiEw.js} +54 -32
- package/dist/chunks/FilePreviewView-Bp09ZiEw.js.map +1 -0
- package/dist/chunks/FilePreviewView-CnZhI3Yw.js +2 -0
- package/dist/chunks/FilePreviewView-CnZhI3Yw.js.map +1 -0
- package/dist/chunks/{FormView-CmBuwKGD.js → FormView-D0dUMQGM.js} +2 -2
- package/dist/chunks/FormView-D0dUMQGM.js.map +1 -0
- package/dist/chunks/{FormView-DqUBMPJ9.js → FormView-DWR9Albb.js} +55 -34
- package/dist/chunks/FormView-DWR9Albb.js.map +1 -0
- package/dist/chunks/{MetricsChart-CPidSMaN.js → MetricsChart-BHv1mj0l.js} +2 -2
- package/dist/chunks/{MetricsChart-CPidSMaN.js.map → MetricsChart-BHv1mj0l.js.map} +1 -1
- package/dist/chunks/{MetricsChart-CM4CI6eA.js → MetricsChart-Du8mtBlY.js} +3 -3
- package/dist/chunks/{MetricsChart-CM4CI6eA.js.map → MetricsChart-Du8mtBlY.js.map} +1 -1
- package/dist/chunks/{PDFViewer-Dyo-Oeyd.js → PDFViewer-9beaQaeq.js} +3 -3
- package/dist/chunks/{PDFViewer-Dyo-Oeyd.js.map → PDFViewer-9beaQaeq.js.map} +1 -1
- package/dist/chunks/{PDFViewer-BNQlnS83.js → PDFViewer-C-RkFhlV.js} +2 -2
- package/dist/chunks/{PDFViewer-BNQlnS83.js.map → PDFViewer-C-RkFhlV.js.map} +1 -1
- package/dist/chunks/{Page-B524zSQs.js → Page-Dg7X1BML.js} +2 -2
- package/dist/chunks/{Page-B524zSQs.js.map → Page-Dg7X1BML.js.map} +1 -1
- package/dist/chunks/{Page-BFgj0pAA.js → Page-KLwFxSBF.js} +2 -2
- package/dist/chunks/{Page-BFgj0pAA.js.map → Page-KLwFxSBF.js.map} +1 -1
- package/dist/chunks/{TopNav-D3I3_25f.js → TopNav-47rWUwBU.js} +2 -2
- package/dist/chunks/{TopNav-D3I3_25f.js.map → TopNav-47rWUwBU.js.map} +1 -1
- package/dist/chunks/{TopNav-MDjL4kV0.js → TopNav-DAB4M5C6.js} +2 -2
- package/dist/chunks/{TopNav-MDjL4kV0.js.map → TopNav-DAB4M5C6.js.map} +1 -1
- package/dist/chunks/{User-DwIT-CTQ.js → User-DNxU39NR.js} +2 -2
- package/dist/chunks/{User-DwIT-CTQ.js.map → User-DNxU39NR.js.map} +1 -1
- package/dist/chunks/{User-BalfYTEF.js → User-lVECCjCu.js} +2 -2
- package/dist/chunks/{User-BalfYTEF.js.map → User-lVECCjCu.js.map} +1 -1
- package/dist/chunks/WebApp-Bci5ZTRS.js +2 -0
- package/dist/chunks/WebApp-Bci5ZTRS.js.map +1 -0
- package/dist/chunks/{WebApp-B6mgbNn2.js → WebApp-No-qysKc.js} +17 -17
- package/dist/chunks/WebApp-No-qysKc.js.map +1 -0
- package/dist/docit.cjs.js +1 -1
- package/dist/docit.css +531 -0
- package/dist/docit.es.js +6 -6
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +34 -14
- package/dist/index.es.js.map +1 -1
- package/dist/lightbox.cjs.js +1 -1
- package/dist/lightbox.es.js +4 -4
- package/package.json +2 -10
- package/dist/chunks/FilePreviewView-BmFHzK5K.js.map +0 -1
- package/dist/chunks/FilePreviewView-DcdRl_ta.js +0 -2
- package/dist/chunks/FilePreviewView-DcdRl_ta.js.map +0 -1
- package/dist/chunks/FormView-CmBuwKGD.js.map +0 -1
- package/dist/chunks/FormView-DqUBMPJ9.js.map +0 -1
- package/dist/chunks/WebApp-B6mgbNn2.js.map +0 -1
- package/dist/chunks/WebApp-DqDowtkl.js +0 -2
- package/dist/chunks/WebApp-DqDowtkl.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const VERSION = "2.1.
|
|
1
|
+
const VERSION = "2.1.70";
|
|
2
2
|
const VERSION_MAJOR = 2;
|
|
3
3
|
const VERSION_MINOR = 1;
|
|
4
|
-
const VERSION_REVISION =
|
|
5
|
-
const BUILD_TIME = "2025-09-
|
|
4
|
+
const VERSION_REVISION = 70;
|
|
5
|
+
const BUILD_TIME = "2025-09-07T05:28:00.030Z";
|
|
6
6
|
const VERSION_INFO = {
|
|
7
7
|
full: VERSION,
|
|
8
8
|
major: VERSION_MAJOR,
|
|
@@ -1187,11 +1187,11 @@ class DataFormatter {
|
|
|
1187
1187
|
* @param {*} value - Boolean value
|
|
1188
1188
|
* @returns {string} Icon HTML
|
|
1189
1189
|
*/
|
|
1190
|
-
yesnoicon(value) {
|
|
1190
|
+
yesnoicon(value, yesIcon = "bi bi-check-circle-fill text-success", noIcon = "bi bi-x-circle-fill text-danger") {
|
|
1191
1191
|
if (value) {
|
|
1192
|
-
return
|
|
1192
|
+
return `<i class="${yesIcon}"></i>`;
|
|
1193
1193
|
}
|
|
1194
|
-
return
|
|
1194
|
+
return `<i class="${noIcon}"></i>`;
|
|
1195
1195
|
}
|
|
1196
1196
|
/**
|
|
1197
1197
|
* Format value as Bootstrap 5 image with optional rendition support
|
|
@@ -2791,11 +2791,11 @@ class View {
|
|
|
2791
2791
|
if (this.app) return this.app;
|
|
2792
2792
|
const apps = [
|
|
2793
2793
|
window.__app__,
|
|
2794
|
-
window.matchUUID ? window[window.matchUUID]() : window[window.matchUUID],
|
|
2795
2794
|
window.MOJO?.app,
|
|
2796
2795
|
window.APP,
|
|
2797
2796
|
window.app,
|
|
2798
|
-
window.WebApp
|
|
2797
|
+
window.WebApp,
|
|
2798
|
+
window.matchUUID ? window[window.matchUUID]() : window[window.matchUUID]
|
|
2799
2799
|
];
|
|
2800
2800
|
this.app = apps.find((app) => app && typeof app.showPage === "function") || null;
|
|
2801
2801
|
return this.app;
|
|
@@ -4436,7 +4436,7 @@ class WebApp {
|
|
|
4436
4436
|
*/
|
|
4437
4437
|
async showError(message) {
|
|
4438
4438
|
try {
|
|
4439
|
-
const Dialog = (await import("./Dialog-
|
|
4439
|
+
const Dialog = (await import("./Dialog-B9C-Tivh.js")).default;
|
|
4440
4440
|
await Dialog.alert(message, "Error", { size: "md", class: "text-danger" });
|
|
4441
4441
|
} catch (e) {
|
|
4442
4442
|
this.events.emit("notification", { message, type: "error" });
|
|
@@ -4453,7 +4453,7 @@ class WebApp {
|
|
|
4453
4453
|
*/
|
|
4454
4454
|
async showSuccess(message) {
|
|
4455
4455
|
try {
|
|
4456
|
-
const Dialog = (await import("./Dialog-
|
|
4456
|
+
const Dialog = (await import("./Dialog-B9C-Tivh.js")).default;
|
|
4457
4457
|
await Dialog.alert(message, "Success", { size: "md", class: "text-success" });
|
|
4458
4458
|
} catch (e) {
|
|
4459
4459
|
this.events.emit("notification", { message, type: "success" });
|
|
@@ -4470,7 +4470,7 @@ class WebApp {
|
|
|
4470
4470
|
*/
|
|
4471
4471
|
async showInfo(message) {
|
|
4472
4472
|
try {
|
|
4473
|
-
const Dialog = (await import("./Dialog-
|
|
4473
|
+
const Dialog = (await import("./Dialog-B9C-Tivh.js")).default;
|
|
4474
4474
|
await Dialog.alert(message, "Information", { size: "md", class: "text-info" });
|
|
4475
4475
|
} catch (e) {
|
|
4476
4476
|
this.events.emit("notification", { message, type: "info" });
|
|
@@ -4487,7 +4487,7 @@ class WebApp {
|
|
|
4487
4487
|
*/
|
|
4488
4488
|
async showWarning(message) {
|
|
4489
4489
|
try {
|
|
4490
|
-
const Dialog = (await import("./Dialog-
|
|
4490
|
+
const Dialog = (await import("./Dialog-B9C-Tivh.js")).default;
|
|
4491
4491
|
await Dialog.alert(message, "Warning", { size: "md", class: "text-warning" });
|
|
4492
4492
|
} catch (e) {
|
|
4493
4493
|
this.events.emit("notification", { message, type: "warning" });
|
|
@@ -4513,7 +4513,7 @@ class WebApp {
|
|
|
4513
4513
|
opts = { message: opts };
|
|
4514
4514
|
}
|
|
4515
4515
|
try {
|
|
4516
|
-
const Dialog = (await import("./Dialog-
|
|
4516
|
+
const Dialog = (await import("./Dialog-B9C-Tivh.js")).default;
|
|
4517
4517
|
Dialog.showBusy(opts);
|
|
4518
4518
|
} catch (e) {
|
|
4519
4519
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -4527,7 +4527,7 @@ class WebApp {
|
|
|
4527
4527
|
*/
|
|
4528
4528
|
async hideLoading() {
|
|
4529
4529
|
try {
|
|
4530
|
-
const Dialog = (await import("./Dialog-
|
|
4530
|
+
const Dialog = (await import("./Dialog-B9C-Tivh.js")).default;
|
|
4531
4531
|
Dialog.hideBusy();
|
|
4532
4532
|
} catch (e) {
|
|
4533
4533
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -4537,7 +4537,7 @@ class WebApp {
|
|
|
4537
4537
|
}
|
|
4538
4538
|
async showModelForm(options = {}) {
|
|
4539
4539
|
try {
|
|
4540
|
-
const Dialog = (await import("./Dialog-
|
|
4540
|
+
const Dialog = (await import("./Dialog-B9C-Tivh.js")).default;
|
|
4541
4541
|
return await Dialog.showModelForm(options);
|
|
4542
4542
|
} catch (e) {
|
|
4543
4543
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -4548,7 +4548,7 @@ class WebApp {
|
|
|
4548
4548
|
}
|
|
4549
4549
|
async showForm(options = {}) {
|
|
4550
4550
|
try {
|
|
4551
|
-
const Dialog = (await import("./Dialog-
|
|
4551
|
+
const Dialog = (await import("./Dialog-B9C-Tivh.js")).default;
|
|
4552
4552
|
return await Dialog.showForm(options);
|
|
4553
4553
|
} catch (e) {
|
|
4554
4554
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -4764,4 +4764,4 @@ export {
|
|
|
4764
4764
|
EventEmitter as i,
|
|
4765
4765
|
rest as r
|
|
4766
4766
|
};
|
|
4767
|
-
//# sourceMappingURL=WebApp-
|
|
4767
|
+
//# sourceMappingURL=WebApp-No-qysKc.js.map
|