web-mojo 2.1.802 → 2.1.804
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.es.js +11 -11
- 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/{ChatView-DZer8DvU.js → ChatView-D5FXDVBl.js} +10 -9
- package/dist/chunks/{ChatView-DZer8DvU.js.map → ChatView-D5FXDVBl.js.map} +1 -1
- package/dist/chunks/{ChatView-D3CkkEH6.js → ChatView-DMyN9gEt.js} +2 -2
- package/dist/chunks/{ChatView-D3CkkEH6.js.map → ChatView-DMyN9gEt.js.map} +1 -1
- package/dist/chunks/{ContextMenu-BGJMvh_q.js → ContextMenu-BFiriNPK.js} +2 -2
- package/dist/chunks/{ContextMenu-BGJMvh_q.js.map → ContextMenu-BFiriNPK.js.map} +1 -1
- package/dist/chunks/{ContextMenu-CDJQDjHw.js → ContextMenu-Cp8TNCcx.js} +2 -2
- package/dist/chunks/{ContextMenu-CDJQDjHw.js.map → ContextMenu-Cp8TNCcx.js.map} +1 -1
- package/dist/chunks/{DataView-BCj52wrk.js → DataView-BIP_zvzz.js} +2 -2
- package/dist/chunks/{DataView-BCj52wrk.js.map → DataView-BIP_zvzz.js.map} +1 -1
- package/dist/chunks/{DataView-BpZphahA.js → DataView-C4cYueV0.js} +2 -2
- package/dist/chunks/{DataView-BpZphahA.js.map → DataView-C4cYueV0.js.map} +1 -1
- package/dist/chunks/{Dialog-CRwejvjQ.js → Dialog-DZ0e9qPg.js} +5 -5
- package/dist/chunks/{Dialog-CRwejvjQ.js.map → Dialog-DZ0e9qPg.js.map} +1 -1
- package/dist/chunks/{Dialog-BFI6Ao7k.js → Dialog-DhtUrwMO.js} +2 -2
- package/dist/chunks/{Dialog-BFI6Ao7k.js.map → Dialog-DhtUrwMO.js.map} +1 -1
- package/dist/chunks/{FormView-C9qNX9Rc.js → FormView-0I46TFL6.js} +2 -2
- package/dist/chunks/{FormView-C9qNX9Rc.js.map → FormView-0I46TFL6.js.map} +1 -1
- package/dist/chunks/{FormView-QNo7Z-Zx.js → FormView-CDqio7Sw.js} +2 -2
- package/dist/chunks/{FormView-QNo7Z-Zx.js.map → FormView-CDqio7Sw.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-phe5186v.js → MetricsMiniChartWidget-B79zUU2c.js} +3 -3
- package/dist/chunks/{MetricsMiniChartWidget-phe5186v.js.map → MetricsMiniChartWidget-B79zUU2c.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-KaGQ7jBR.js → MetricsMiniChartWidget-CFIealCm.js} +2 -2
- package/dist/chunks/{MetricsMiniChartWidget-KaGQ7jBR.js.map → MetricsMiniChartWidget-CFIealCm.js.map} +1 -1
- package/dist/chunks/{PDFViewer-Cj8OzHyh.js → PDFViewer-Bd83hkvl.js} +3 -3
- package/dist/chunks/{PDFViewer-Cj8OzHyh.js.map → PDFViewer-Bd83hkvl.js.map} +1 -1
- package/dist/chunks/{PDFViewer-BZDiTyV0.js → PDFViewer-GU0EUJYf.js} +2 -2
- package/dist/chunks/{PDFViewer-BZDiTyV0.js.map → PDFViewer-GU0EUJYf.js.map} +1 -1
- package/dist/chunks/{Page-DBe--S4A.js → Page-4hIrqMtQ.js} +2 -2
- package/dist/chunks/{Page-DBe--S4A.js.map → Page-4hIrqMtQ.js.map} +1 -1
- package/dist/chunks/{Page-f4FDOw8G.js → Page-CArMg82D.js} +2 -2
- package/dist/chunks/{Page-f4FDOw8G.js.map → Page-CArMg82D.js.map} +1 -1
- package/dist/chunks/{TopNav-G1udusRg.js → TopNav-DHSntpqx.js} +2 -2
- package/dist/chunks/{TopNav-G1udusRg.js.map → TopNav-DHSntpqx.js.map} +1 -1
- package/dist/chunks/{TopNav-Bt_BucFh.js → TopNav-DJyWq5hn.js} +5 -5
- package/dist/chunks/{TopNav-Bt_BucFh.js.map → TopNav-DJyWq5hn.js.map} +1 -1
- package/dist/chunks/{WebApp-BrCdbemq.js → WebApp-BP2thfqz.js} +13 -13
- package/dist/chunks/{WebApp-BrCdbemq.js.map → WebApp-BP2thfqz.js.map} +1 -1
- package/dist/chunks/{WebApp-r7hOMef6.js → WebApp-C0YtPHbV.js} +2 -2
- package/dist/chunks/{WebApp-r7hOMef6.js.map → WebApp-C0YtPHbV.js.map} +1 -1
- package/dist/docit.cjs.js +1 -1
- package/dist/docit.es.js +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +12 -12
- 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/charts.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/MetricsMiniChartWidget-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/MetricsMiniChartWidget-CFIealCm.js"),r=require("./chunks/WebApp-C0YtPHbV.js");exports.BaseChart=e.BaseChart,exports.MetricsChart=e.MetricsChart,exports.MetricsMiniChart=e.MetricsMiniChart,exports.MetricsMiniChartWidget=e.MetricsMiniChartWidget,exports.MiniChart=e.MiniChart,exports.PieChart=e.PieChart,exports.SeriesChart=e.SeriesChart,exports.BUILD_TIME=r.BUILD_TIME,exports.VERSION=r.VERSION,exports.VERSION_INFO=r.VERSION_INFO,exports.VERSION_MAJOR=r.VERSION_MAJOR,exports.VERSION_MINOR=r.VERSION_MINOR,exports.VERSION_REVISION=r.VERSION_REVISION,exports.WebApp=r.WebApp;
|
|
2
2
|
//# sourceMappingURL=charts.cjs.js.map
|
package/dist/charts.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B, M, b, c, a, P, S } from "./chunks/MetricsMiniChartWidget-
|
|
2
|
-
import { B as B2, b as b2, a as a2, c as c2, e, f, W } from "./chunks/WebApp-
|
|
1
|
+
import { B, M, b, c, a, P, S } from "./chunks/MetricsMiniChartWidget-B79zUU2c.js";
|
|
2
|
+
import { B as B2, b as b2, a as a2, c as c2, e, f, W } from "./chunks/WebApp-BP2thfqz.js";
|
|
3
3
|
export {
|
|
4
4
|
B2 as BUILD_TIME,
|
|
5
5
|
B as BaseChart,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Model, C as Collection, T as ToastService, G as GroupList, d as UserList } from "./ContextMenu-
|
|
2
|
-
import { r as rest, V as View, d as dataFormatter, M as Mustache } from "./WebApp-
|
|
3
|
-
import { P as Page } from "./Page-
|
|
4
|
-
import Dialog from "./Dialog-
|
|
5
|
-
import { F as FormView, a as applyFileDropMixin } from "./FormView-
|
|
1
|
+
import { M as Model, C as Collection, T as ToastService, G as GroupList, d as UserList } from "./ContextMenu-Cp8TNCcx.js";
|
|
2
|
+
import { r as rest, V as View, d as dataFormatter, M as Mustache } from "./WebApp-BP2thfqz.js";
|
|
3
|
+
import { P as Page } from "./Page-4hIrqMtQ.js";
|
|
4
|
+
import Dialog from "./Dialog-DZ0e9qPg.js";
|
|
5
|
+
import { F as FormView, a as applyFileDropMixin } from "./FormView-0I46TFL6.js";
|
|
6
6
|
class S3Bucket extends Model {
|
|
7
7
|
constructor(data = {}) {
|
|
8
8
|
super(data, {
|
|
@@ -5590,6 +5590,7 @@ class TablePage extends Page {
|
|
|
5590
5590
|
this.Collection = options.Collection || null;
|
|
5591
5591
|
this.collection = options.collection || null;
|
|
5592
5592
|
this.defaultQuery = options.defaultQuery || {};
|
|
5593
|
+
this.groupField = options.groupField || "group";
|
|
5593
5594
|
this.tableViewConfig = {
|
|
5594
5595
|
// Core table properties
|
|
5595
5596
|
columns: options.columns || [],
|
|
@@ -5850,8 +5851,8 @@ class TablePage extends Page {
|
|
|
5850
5851
|
*/
|
|
5851
5852
|
async onEnter() {
|
|
5852
5853
|
await super.onEnter();
|
|
5853
|
-
if (this.options.requiresGroup && !this.query.
|
|
5854
|
-
this.query.
|
|
5854
|
+
if (this.options.requiresGroup && !this.query[this.groupField] && this.getApp().activeGroup) {
|
|
5855
|
+
this.query[this.groupField] = this.getApp().activeGroup.id;
|
|
5855
5856
|
}
|
|
5856
5857
|
this.applyQueryToCollection();
|
|
5857
5858
|
if (this.tableView && this.tableView.element) {
|
|
@@ -5923,7 +5924,7 @@ class TablePage extends Page {
|
|
|
5923
5924
|
}
|
|
5924
5925
|
async onGroupChange(group) {
|
|
5925
5926
|
if (!group || !this.collection || !this.options.requiresGroup) return;
|
|
5926
|
-
this.query.
|
|
5927
|
+
this.query[this.groupField] = group.id;
|
|
5927
5928
|
this.applyQueryToCollection();
|
|
5928
5929
|
if (this.collection && this.collection.restEnabled) {
|
|
5929
5930
|
await this.collection.fetch();
|
|
@@ -7242,4 +7243,4 @@ export {
|
|
|
7242
7243
|
FileList as y,
|
|
7243
7244
|
FileForms as z
|
|
7244
7245
|
};
|
|
7245
|
-
//# sourceMappingURL=ChatView-
|
|
7246
|
+
//# sourceMappingURL=ChatView-D5FXDVBl.js.map
|