web-mojo 2.1.700 → 2.1.702
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 +10 -10
- 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-C1lQFygO.js +2 -0
- package/dist/chunks/ChatView-C1lQFygO.js.map +1 -0
- package/dist/chunks/{ChatView-D5T1EDc0.js → ChatView-WPdz1xrn.js} +10 -6
- package/dist/chunks/ChatView-WPdz1xrn.js.map +1 -0
- package/dist/chunks/{ContextMenu-DIHdfdEB.js → ContextMenu-4qZryVwF.js} +2 -2
- package/dist/chunks/{ContextMenu-DIHdfdEB.js.map → ContextMenu-4qZryVwF.js.map} +1 -1
- package/dist/chunks/{ContextMenu-CLhqq9uN.js → ContextMenu-DwVTBvQh.js} +2 -2
- package/dist/chunks/{ContextMenu-CLhqq9uN.js.map → ContextMenu-DwVTBvQh.js.map} +1 -1
- package/dist/chunks/{DataView-CC0qYkHC.js → DataView-C4ZOVg1Z.js} +2 -2
- package/dist/chunks/{DataView-CC0qYkHC.js.map → DataView-C4ZOVg1Z.js.map} +1 -1
- package/dist/chunks/{DataView-Bj-8p5uP.js → DataView-t4xn3OKw.js} +2 -2
- package/dist/chunks/{DataView-Bj-8p5uP.js.map → DataView-t4xn3OKw.js.map} +1 -1
- package/dist/chunks/{Dialog-pgsU2LXn.js → Dialog-C3lIXUFh.js} +2 -2
- package/dist/chunks/{Dialog-pgsU2LXn.js.map → Dialog-C3lIXUFh.js.map} +1 -1
- package/dist/chunks/{Dialog-BASLoWyy.js → Dialog-DF_TAFuB.js} +5 -5
- package/dist/chunks/{Dialog-BASLoWyy.js.map → Dialog-DF_TAFuB.js.map} +1 -1
- package/dist/chunks/{FormView-DssW3dsj.js → FormView-BtymZpex.js} +2 -2
- package/dist/chunks/{FormView-DssW3dsj.js.map → FormView-BtymZpex.js.map} +1 -1
- package/dist/chunks/{FormView-BA6_LqlW.js → FormView-D0mZGFTl.js} +2 -2
- package/dist/chunks/{FormView-BA6_LqlW.js.map → FormView-D0mZGFTl.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-gVuy5nYZ.js → MetricsMiniChartWidget-CSU1dVMB.js} +3 -3
- package/dist/chunks/{MetricsMiniChartWidget-gVuy5nYZ.js.map → MetricsMiniChartWidget-CSU1dVMB.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-CHaCQaF9.js → MetricsMiniChartWidget-CvwygZui.js} +2 -2
- package/dist/chunks/{MetricsMiniChartWidget-CHaCQaF9.js.map → MetricsMiniChartWidget-CvwygZui.js.map} +1 -1
- package/dist/chunks/{PDFViewer-Bq9-jUmN.js → PDFViewer-98TZg0zr.js} +3 -3
- package/dist/chunks/{PDFViewer-Bq9-jUmN.js.map → PDFViewer-98TZg0zr.js.map} +1 -1
- package/dist/chunks/{PDFViewer-D4XoW6GI.js → PDFViewer-Cu5DbPEO.js} +2 -2
- package/dist/chunks/{PDFViewer-D4XoW6GI.js.map → PDFViewer-Cu5DbPEO.js.map} +1 -1
- package/dist/chunks/{Page-BtBc2j7L.js → Page-BlmcwDFg.js} +2 -2
- package/dist/chunks/{Page-BtBc2j7L.js.map → Page-BlmcwDFg.js.map} +1 -1
- package/dist/chunks/{Page-DSzGQn_-.js → Page-D6A8Hbz2.js} +2 -2
- package/dist/chunks/{Page-DSzGQn_-.js.map → Page-D6A8Hbz2.js.map} +1 -1
- package/dist/chunks/{TopNav-Xwma2wVL.js → TopNav-BBkd-H-U.js} +2 -2
- package/dist/chunks/{TopNav-Xwma2wVL.js.map → TopNav-BBkd-H-U.js.map} +1 -1
- package/dist/chunks/{TopNav-DWgfp6ia.js → TopNav-BjEeUu6T.js} +5 -5
- package/dist/chunks/{TopNav-DWgfp6ia.js.map → TopNav-BjEeUu6T.js.map} +1 -1
- package/dist/chunks/{WebApp-DZXp-UD5.js → WebApp-7Fr4mkh7.js} +13 -13
- package/dist/chunks/{WebApp-DZXp-UD5.js.map → WebApp-7Fr4mkh7.js.map} +1 -1
- package/dist/chunks/{WebApp-BnY1dctw.js → WebApp-QKsHG8Dw.js} +2 -2
- package/dist/chunks/{WebApp-BnY1dctw.js.map → WebApp-QKsHG8Dw.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.es.js +11 -11
- package/dist/lightbox.cjs.js +1 -1
- package/dist/lightbox.es.js +4 -4
- package/package.json +1 -1
- package/dist/chunks/ChatView-BaGuuR0c.js +0 -2
- package/dist/chunks/ChatView-BaGuuR0c.js.map +0 -1
- package/dist/chunks/ChatView-D5T1EDc0.js.map +0 -1
|
@@ -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-4qZryVwF.js";
|
|
2
|
+
import { r as rest, V as View, d as dataFormatter, M as Mustache } from "./WebApp-7Fr4mkh7.js";
|
|
3
|
+
import { P as Page } from "./Page-D6A8Hbz2.js";
|
|
4
|
+
import Dialog from "./Dialog-DF_TAFuB.js";
|
|
5
|
+
import { F as FormView, a as applyFileDropMixin } from "./FormView-D0mZGFTl.js";
|
|
6
6
|
class S3Bucket extends Model {
|
|
7
7
|
constructor(data = {}) {
|
|
8
8
|
super(data, {
|
|
@@ -3293,6 +3293,7 @@ class TableRow extends ListViewItem {
|
|
|
3293
3293
|
} else if (typeof action === "object") {
|
|
3294
3294
|
return `
|
|
3295
3295
|
<button class="btn btn-sm ${action.class || "btn-outline-primary"}"
|
|
3296
|
+
data-id="${this.model.id}"
|
|
3296
3297
|
data-action="${action.action}"
|
|
3297
3298
|
title="${action.label || ""}">
|
|
3298
3299
|
${action.icon ? `<i class="${action.icon}"></i>` : ""}
|
|
@@ -4876,6 +4877,9 @@ class TableView extends ListView {
|
|
|
4876
4877
|
if (this.options.addRequiresActiveUser) {
|
|
4877
4878
|
result.user = this.getApp().activeUser.id;
|
|
4878
4879
|
}
|
|
4880
|
+
if (this.options.addFormDefaults) {
|
|
4881
|
+
Object.assign(result, this.options.addFormDefaults);
|
|
4882
|
+
}
|
|
4879
4883
|
await model.save(result);
|
|
4880
4884
|
if (this.collection) {
|
|
4881
4885
|
this.collection.add(model);
|
|
@@ -7235,4 +7239,4 @@ export {
|
|
|
7235
7239
|
FileList as y,
|
|
7236
7240
|
FileForms as z
|
|
7237
7241
|
};
|
|
7238
|
-
//# sourceMappingURL=ChatView-
|
|
7242
|
+
//# sourceMappingURL=ChatView-WPdz1xrn.js.map
|