web-mojo 2.1.219 → 2.1.244
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 +227 -50
- package/dist/admin.es.js.map +1 -1
- package/dist/auth.cjs.js +1 -1
- package/dist/auth.cjs.js.map +1 -1
- package/dist/auth.es.js +3 -3
- package/dist/auth.es.js.map +1 -1
- package/dist/charts.cjs.js +1 -1
- package/dist/charts.es.js +2 -2
- package/dist/chunks/{ContextMenu-DjS0WgXA.js → ContextMenu-CPQ_ZrT6.js} +2 -2
- package/dist/chunks/{ContextMenu-DjS0WgXA.js.map → ContextMenu-CPQ_ZrT6.js.map} +1 -1
- package/dist/chunks/{ContextMenu-BGstYX-N.js → ContextMenu-qToF2PNG.js} +2 -2
- package/dist/chunks/{ContextMenu-BGstYX-N.js.map → ContextMenu-qToF2PNG.js.map} +1 -1
- package/dist/chunks/{DataView-Dmobu7T8.js → DataView-COXtv8kh.js} +2 -2
- package/dist/chunks/{DataView-Dmobu7T8.js.map → DataView-COXtv8kh.js.map} +1 -1
- package/dist/chunks/{DataView-LCk00Xma.js → DataView-kd5iuE-9.js} +2 -2
- package/dist/chunks/{DataView-LCk00Xma.js.map → DataView-kd5iuE-9.js.map} +1 -1
- package/dist/chunks/Dialog-Bz4Z9bSO.js +2 -0
- package/dist/chunks/Dialog-Bz4Z9bSO.js.map +1 -0
- package/dist/chunks/{Dialog-Bu9EGh-z.js → Dialog-DWDn0XUt.js} +41 -34
- package/dist/chunks/Dialog-DWDn0XUt.js.map +1 -0
- package/dist/chunks/{FilePreviewView-C-VswdQl.js → FilePreviewView-CCngMe-J.js} +6 -6
- package/dist/chunks/{FilePreviewView-C-VswdQl.js.map → FilePreviewView-CCngMe-J.js.map} +1 -1
- package/dist/chunks/{FilePreviewView-CxT-vXFS.js → FilePreviewView-Dacxyem-.js} +2 -2
- package/dist/chunks/{FilePreviewView-CxT-vXFS.js.map → FilePreviewView-Dacxyem-.js.map} +1 -1
- package/dist/chunks/{FormView-DWV5Lhc3.js → FormView-CG2GC9qH.js} +2 -2
- package/dist/chunks/{FormView-DWV5Lhc3.js.map → FormView-CG2GC9qH.js.map} +1 -1
- package/dist/chunks/{FormView-DhZi_-D_.js → FormView-GxoZ1H6P.js} +2 -2
- package/dist/chunks/{FormView-DhZi_-D_.js.map → FormView-GxoZ1H6P.js.map} +1 -1
- package/dist/chunks/{MetricsChart-BOSgjGoW.js → MetricsChart-D1n5a4YY.js} +3 -3
- package/dist/chunks/{MetricsChart-BOSgjGoW.js.map → MetricsChart-D1n5a4YY.js.map} +1 -1
- package/dist/chunks/{MetricsChart-CHQmuqGa.js → MetricsChart-DDiVVisT.js} +2 -2
- package/dist/chunks/{MetricsChart-CHQmuqGa.js.map → MetricsChart-DDiVVisT.js.map} +1 -1
- package/dist/chunks/{PDFViewer-C7_03lr6.js → PDFViewer-DGAtX0Ms.js} +3 -3
- package/dist/chunks/{PDFViewer-C7_03lr6.js.map → PDFViewer-DGAtX0Ms.js.map} +1 -1
- package/dist/chunks/{PDFViewer-CTQ_WArl.js → PDFViewer-DrJPeSLI.js} +2 -2
- package/dist/chunks/{PDFViewer-CTQ_WArl.js.map → PDFViewer-DrJPeSLI.js.map} +1 -1
- package/dist/chunks/{Page-CG1u27-d.js → Page-BsqCluiN.js} +2 -2
- package/dist/chunks/{Page-CG1u27-d.js.map → Page-BsqCluiN.js.map} +1 -1
- package/dist/chunks/{Page-7mRcLFeD.js → Page-CouRTtLr.js} +2 -2
- package/dist/chunks/{Page-7mRcLFeD.js.map → Page-CouRTtLr.js.map} +1 -1
- package/dist/chunks/{TopNav-CF1Ic6Ty.js → TopNav-B0OgzwWD.js} +2 -2
- package/dist/chunks/{TopNav-CF1Ic6Ty.js.map → TopNav-B0OgzwWD.js.map} +1 -1
- package/dist/chunks/{TopNav-CprY7p9c.js → TopNav-CJGYrCmM.js} +2 -2
- package/dist/chunks/{TopNav-CprY7p9c.js.map → TopNav-CJGYrCmM.js.map} +1 -1
- package/dist/chunks/{User-DPWffTVQ.js → User-DARwVvpV.js} +2 -2
- package/dist/chunks/{User-DPWffTVQ.js.map → User-DARwVvpV.js.map} +1 -1
- package/dist/chunks/{User-CgSxo-iW.js → User-DzR9RPjg.js} +2 -2
- package/dist/chunks/{User-CgSxo-iW.js.map → User-DzR9RPjg.js.map} +1 -1
- package/dist/chunks/{WebApp-DDt4Ihy7.js → WebApp-CR6b7HZz.js} +23 -12
- package/dist/chunks/WebApp-CR6b7HZz.js.map +1 -0
- package/dist/chunks/WebApp-D_j_HtgS.js +2 -0
- package/dist/chunks/WebApp-D_j_HtgS.js.map +1 -0
- package/dist/css/web-mojo.css +1 -1
- package/dist/docit.cjs.js +1 -1
- package/dist/docit.es.js +6 -6
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +11 -11
- package/dist/lightbox.cjs.js +1 -1
- package/dist/lightbox.es.js +4 -4
- package/dist/table.css +1 -8
- package/package.json +1 -1
- package/dist/chunks/Dialog-Bu9EGh-z.js.map +0 -1
- package/dist/chunks/Dialog-CxJjXDJ-.js +0 -2
- package/dist/chunks/Dialog-CxJjXDJ-.js.map +0 -1
- package/dist/chunks/WebApp-D35UJNMm.js +0 -2
- package/dist/chunks/WebApp-D35UJNMm.js.map +0 -1
- package/dist/chunks/WebApp-DDt4Ihy7.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const VERSION = "2.1.
|
|
1
|
+
const VERSION = "2.1.244";
|
|
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 = 244;
|
|
5
|
+
const BUILD_TIME = "2025-09-23T04:43:16.798Z";
|
|
6
6
|
const VERSION_INFO = {
|
|
7
7
|
full: VERSION,
|
|
8
8
|
major: VERSION_MAJOR,
|
|
@@ -1141,6 +1141,17 @@ class DataFormatter {
|
|
|
1141
1141
|
const className = badgeType ? `bg-${badgeType}` : "bg-secondary";
|
|
1142
1142
|
return `<span class="badge ${className}">${text}</span>`;
|
|
1143
1143
|
}
|
|
1144
|
+
/**
|
|
1145
|
+
* Get badge CSS class for a value
|
|
1146
|
+
* @param {*} value - Value to get badge class for
|
|
1147
|
+
* @param {string} type - Badge type (optional, auto-detected if not specified)
|
|
1148
|
+
* @returns {string} Badge CSS class
|
|
1149
|
+
*/
|
|
1150
|
+
badgeClass(value, type = "auto") {
|
|
1151
|
+
const text = String(value);
|
|
1152
|
+
const badgeType = type === "auto" ? this.inferBadgeType(text) : type;
|
|
1153
|
+
return badgeType ? `bg-${badgeType}` : "bg-secondary";
|
|
1154
|
+
}
|
|
1144
1155
|
/**
|
|
1145
1156
|
* Infer badge type from text
|
|
1146
1157
|
* @param {string} text - Badge text
|
|
@@ -4595,7 +4606,7 @@ class WebApp {
|
|
|
4595
4606
|
*/
|
|
4596
4607
|
async showError(message) {
|
|
4597
4608
|
try {
|
|
4598
|
-
const Dialog = (await import("./Dialog-
|
|
4609
|
+
const Dialog = (await import("./Dialog-DWDn0XUt.js")).default;
|
|
4599
4610
|
await Dialog.alert(message, "Error", { size: "md", class: "text-danger" });
|
|
4600
4611
|
} catch (e) {
|
|
4601
4612
|
this.events.emit("notification", { message, type: "error" });
|
|
@@ -4612,7 +4623,7 @@ class WebApp {
|
|
|
4612
4623
|
*/
|
|
4613
4624
|
async showSuccess(message) {
|
|
4614
4625
|
try {
|
|
4615
|
-
const Dialog = (await import("./Dialog-
|
|
4626
|
+
const Dialog = (await import("./Dialog-DWDn0XUt.js")).default;
|
|
4616
4627
|
await Dialog.alert(message, "Success", { size: "md", class: "text-success" });
|
|
4617
4628
|
} catch (e) {
|
|
4618
4629
|
this.events.emit("notification", { message, type: "success" });
|
|
@@ -4629,7 +4640,7 @@ class WebApp {
|
|
|
4629
4640
|
*/
|
|
4630
4641
|
async showInfo(message) {
|
|
4631
4642
|
try {
|
|
4632
|
-
const Dialog = (await import("./Dialog-
|
|
4643
|
+
const Dialog = (await import("./Dialog-DWDn0XUt.js")).default;
|
|
4633
4644
|
await Dialog.alert(message, "Information", { size: "md", class: "text-info" });
|
|
4634
4645
|
} catch (e) {
|
|
4635
4646
|
this.events.emit("notification", { message, type: "info" });
|
|
@@ -4646,7 +4657,7 @@ class WebApp {
|
|
|
4646
4657
|
*/
|
|
4647
4658
|
async showWarning(message) {
|
|
4648
4659
|
try {
|
|
4649
|
-
const Dialog = (await import("./Dialog-
|
|
4660
|
+
const Dialog = (await import("./Dialog-DWDn0XUt.js")).default;
|
|
4650
4661
|
await Dialog.alert(message, "Warning", { size: "md", class: "text-warning" });
|
|
4651
4662
|
} catch (e) {
|
|
4652
4663
|
this.events.emit("notification", { message, type: "warning" });
|
|
@@ -4672,7 +4683,7 @@ class WebApp {
|
|
|
4672
4683
|
opts = { message: opts };
|
|
4673
4684
|
}
|
|
4674
4685
|
try {
|
|
4675
|
-
const Dialog = (await import("./Dialog-
|
|
4686
|
+
const Dialog = (await import("./Dialog-DWDn0XUt.js")).default;
|
|
4676
4687
|
Dialog.showBusy(opts);
|
|
4677
4688
|
} catch (e) {
|
|
4678
4689
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -4686,7 +4697,7 @@ class WebApp {
|
|
|
4686
4697
|
*/
|
|
4687
4698
|
async hideLoading() {
|
|
4688
4699
|
try {
|
|
4689
|
-
const Dialog = (await import("./Dialog-
|
|
4700
|
+
const Dialog = (await import("./Dialog-DWDn0XUt.js")).default;
|
|
4690
4701
|
Dialog.hideBusy();
|
|
4691
4702
|
} catch (e) {
|
|
4692
4703
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -4696,7 +4707,7 @@ class WebApp {
|
|
|
4696
4707
|
}
|
|
4697
4708
|
async showModelForm(options = {}) {
|
|
4698
4709
|
try {
|
|
4699
|
-
const Dialog = (await import("./Dialog-
|
|
4710
|
+
const Dialog = (await import("./Dialog-DWDn0XUt.js")).default;
|
|
4700
4711
|
return await Dialog.showModelForm(options);
|
|
4701
4712
|
} catch (e) {
|
|
4702
4713
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -4707,7 +4718,7 @@ class WebApp {
|
|
|
4707
4718
|
}
|
|
4708
4719
|
async showForm(options = {}) {
|
|
4709
4720
|
try {
|
|
4710
|
-
const Dialog = (await import("./Dialog-
|
|
4721
|
+
const Dialog = (await import("./Dialog-DWDn0XUt.js")).default;
|
|
4711
4722
|
return await Dialog.showForm(options);
|
|
4712
4723
|
} catch (e) {
|
|
4713
4724
|
if (typeof window !== "undefined" && window?.console) {
|
|
@@ -4970,4 +4981,4 @@ export {
|
|
|
4970
4981
|
EventEmitter as i,
|
|
4971
4982
|
rest as r
|
|
4972
4983
|
};
|
|
4973
|
-
//# sourceMappingURL=WebApp-
|
|
4984
|
+
//# sourceMappingURL=WebApp-CR6b7HZz.js.map
|