web-mojo 2.1.244 → 2.1.266
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 +60 -23
- 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-qToF2PNG.js → ContextMenu-4ltJ5APp.js} +2 -2
- package/dist/chunks/{ContextMenu-qToF2PNG.js.map → ContextMenu-4ltJ5APp.js.map} +1 -1
- package/dist/chunks/{ContextMenu-CPQ_ZrT6.js → ContextMenu-zFaO5-N4.js} +2 -2
- package/dist/chunks/{ContextMenu-CPQ_ZrT6.js.map → ContextMenu-zFaO5-N4.js.map} +1 -1
- package/dist/chunks/{DataView-kd5iuE-9.js → DataView-Cejy1Cr8.js} +2 -2
- package/dist/chunks/{DataView-kd5iuE-9.js.map → DataView-Cejy1Cr8.js.map} +1 -1
- package/dist/chunks/{DataView-COXtv8kh.js → DataView-iOFKWlbv.js} +2 -2
- package/dist/chunks/{DataView-COXtv8kh.js.map → DataView-iOFKWlbv.js.map} +1 -1
- package/dist/chunks/{Dialog-Bz4Z9bSO.js → Dialog-BJ18jw7T.js} +2 -2
- package/dist/chunks/{Dialog-Bz4Z9bSO.js.map → Dialog-BJ18jw7T.js.map} +1 -1
- package/dist/chunks/{Dialog-DWDn0XUt.js → Dialog-DTP5nS69.js} +5 -5
- package/dist/chunks/{Dialog-DWDn0XUt.js.map → Dialog-DTP5nS69.js.map} +1 -1
- package/dist/chunks/FilePreviewView-B_9CFtFI.js +2 -0
- package/dist/chunks/FilePreviewView-B_9CFtFI.js.map +1 -0
- package/dist/chunks/{FilePreviewView-CCngMe-J.js → FilePreviewView-DUa8Q8kR.js} +29 -8
- package/dist/chunks/FilePreviewView-DUa8Q8kR.js.map +1 -0
- package/dist/chunks/{FormView-CG2GC9qH.js → FormView-CG2dIaZ6.js} +2 -2
- package/dist/chunks/{FormView-CG2GC9qH.js.map → FormView-CG2dIaZ6.js.map} +1 -1
- package/dist/chunks/{FormView-GxoZ1H6P.js → FormView-J-1RnLu0.js} +2 -2
- package/dist/chunks/{FormView-GxoZ1H6P.js.map → FormView-J-1RnLu0.js.map} +1 -1
- package/dist/chunks/{MetricsChart-DDiVVisT.js → MetricsChart-BCYtvXip.js} +2 -2
- package/dist/chunks/{MetricsChart-DDiVVisT.js.map → MetricsChart-BCYtvXip.js.map} +1 -1
- package/dist/chunks/{MetricsChart-D1n5a4YY.js → MetricsChart-igTZsC5W.js} +14 -8
- package/dist/chunks/{MetricsChart-D1n5a4YY.js.map → MetricsChart-igTZsC5W.js.map} +1 -1
- package/dist/chunks/{PDFViewer-DrJPeSLI.js → PDFViewer-B0h2W3v3.js} +2 -2
- package/dist/chunks/{PDFViewer-DrJPeSLI.js.map → PDFViewer-B0h2W3v3.js.map} +1 -1
- package/dist/chunks/{PDFViewer-DGAtX0Ms.js → PDFViewer-BPS5xKz0.js} +3 -3
- package/dist/chunks/{PDFViewer-DGAtX0Ms.js.map → PDFViewer-BPS5xKz0.js.map} +1 -1
- package/dist/chunks/{Page-BsqCluiN.js → Page-BfSiGr0L.js} +2 -2
- package/dist/chunks/{Page-BsqCluiN.js.map → Page-BfSiGr0L.js.map} +1 -1
- package/dist/chunks/{Page-CouRTtLr.js → Page-CL6mad8S.js} +2 -2
- package/dist/chunks/{Page-CouRTtLr.js.map → Page-CL6mad8S.js.map} +1 -1
- package/dist/chunks/{TopNav-B0OgzwWD.js → TopNav-LneaWujS.js} +2 -2
- package/dist/chunks/{TopNav-B0OgzwWD.js.map → TopNav-LneaWujS.js.map} +1 -1
- package/dist/chunks/{TopNav-CJGYrCmM.js → TopNav-Y9xm0v2v.js} +2 -2
- package/dist/chunks/{TopNav-CJGYrCmM.js.map → TopNav-Y9xm0v2v.js.map} +1 -1
- package/dist/chunks/User-BgVd3vvo.js +3 -0
- package/dist/chunks/User-BgVd3vvo.js.map +1 -0
- package/dist/chunks/{User-DzR9RPjg.js → User-CifH24ZI.js} +30 -26
- package/dist/chunks/User-CifH24ZI.js.map +1 -0
- package/dist/chunks/{WebApp-D_j_HtgS.js → WebApp-BTURAtHS.js} +2 -2
- package/dist/chunks/{WebApp-D_j_HtgS.js.map → WebApp-BTURAtHS.js.map} +1 -1
- package/dist/chunks/{WebApp-CR6b7HZz.js → WebApp-Ri8Knc5O.js} +12 -12
- package/dist/chunks/{WebApp-CR6b7HZz.js.map → WebApp-Ri8Knc5O.js.map} +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.cjs.js.map +1 -1
- package/dist/index.es.js +12 -11
- 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 +1 -1
- package/dist/chunks/FilePreviewView-CCngMe-J.js.map +0 -1
- package/dist/chunks/FilePreviewView-Dacxyem-.js +0 -2
- package/dist/chunks/FilePreviewView-Dacxyem-.js.map +0 -1
- package/dist/chunks/User-DARwVvpV.js +0 -3
- package/dist/chunks/User-DARwVvpV.js.map +0 -1
- package/dist/chunks/User-DzR9RPjg.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Dialog from "./Dialog-
|
|
2
|
-
import { V as View, d as dataFormatter } from "./WebApp-
|
|
1
|
+
import Dialog from "./Dialog-DTP5nS69.js";
|
|
2
|
+
import { V as View, d as dataFormatter } from "./WebApp-Ri8Knc5O.js";
|
|
3
3
|
import { W as WebSocketClient } from "./WebSocketClient-Dvl3AYx1.js";
|
|
4
4
|
class BaseChart extends View {
|
|
5
5
|
constructor(options = {}) {
|
|
@@ -1834,7 +1834,8 @@ class MetricsChart extends SeriesChart {
|
|
|
1834
1834
|
this.endpoint = options.endpoint || "/api/metrics/fetch";
|
|
1835
1835
|
this.account = options.account || "global";
|
|
1836
1836
|
this.granularity = options.granularity || "hours";
|
|
1837
|
-
this.slugs = options.slugs ||
|
|
1837
|
+
this.slugs = options.slugs || null;
|
|
1838
|
+
this.category = options.category || null;
|
|
1838
1839
|
this.dateStart = options.dateStart || null;
|
|
1839
1840
|
this.dateEnd = options.dateEnd || null;
|
|
1840
1841
|
this.defaultDateRange = options.defaultDateRange || "24h";
|
|
@@ -1952,10 +1953,15 @@ class MetricsChart extends SeriesChart {
|
|
|
1952
1953
|
account: this.account,
|
|
1953
1954
|
with_labels: true
|
|
1954
1955
|
};
|
|
1955
|
-
this.slugs
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1956
|
+
if (this.slugs) {
|
|
1957
|
+
this.slugs.forEach((slug) => {
|
|
1958
|
+
if (!params["slugs[]"]) params["slugs[]"] = [];
|
|
1959
|
+
params["slugs[]"].push(slug);
|
|
1960
|
+
});
|
|
1961
|
+
}
|
|
1962
|
+
if (this.category) {
|
|
1963
|
+
params.category = this.category;
|
|
1964
|
+
}
|
|
1959
1965
|
if (this.dateStart) {
|
|
1960
1966
|
params.dr_start = Math.floor(this.dateStart.getTime() / 1e3);
|
|
1961
1967
|
}
|
|
@@ -2092,4 +2098,4 @@ export {
|
|
|
2092
2098
|
PieChart as P,
|
|
2093
2099
|
SeriesChart as S
|
|
2094
2100
|
};
|
|
2095
|
-
//# sourceMappingURL=MetricsChart-
|
|
2101
|
+
//# sourceMappingURL=MetricsChart-igTZsC5W.js.map
|