web-mojo 2.2.12 → 2.2.15

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.
Files changed (46) hide show
  1. package/dist/admin.cjs.js +1 -1
  2. package/dist/admin.cjs.js.map +1 -1
  3. package/dist/admin.es.js +22 -14
  4. package/dist/admin.es.js.map +1 -1
  5. package/dist/auth.cjs.js +1 -1
  6. package/dist/auth.es.js +1 -1
  7. package/dist/charts.cjs.js +1 -1
  8. package/dist/charts.es.js +1 -1
  9. package/dist/chunks/ChatView-BJK6SF8T.js +2 -0
  10. package/dist/chunks/ChatView-BJK6SF8T.js.map +1 -0
  11. package/dist/chunks/{ChatView-ppMlENSa.js → ChatView-BPVE1u2i.js} +20 -6
  12. package/dist/chunks/ChatView-BPVE1u2i.js.map +1 -0
  13. package/dist/chunks/{Collection-BlP54kxB.js → Collection-BQWznmwY.js} +2 -2
  14. package/dist/chunks/{Collection-BlP54kxB.js.map → Collection-BQWznmwY.js.map} +1 -1
  15. package/dist/chunks/{Collection-BQxqHtRi.js → Collection-zmb3xHhH.js} +26 -2
  16. package/dist/chunks/{Collection-BQxqHtRi.js.map → Collection-zmb3xHhH.js.map} +1 -1
  17. package/dist/chunks/{ContextMenu-BNFU-kG4.js → ContextMenu-DPjJuxpq.js} +2 -2
  18. package/dist/chunks/{ContextMenu-BNFU-kG4.js.map → ContextMenu-DPjJuxpq.js.map} +1 -1
  19. package/dist/chunks/{ContextMenu-BH5SaDXX.js → ContextMenu-NNHmt1iq.js} +2 -2
  20. package/dist/chunks/{ContextMenu-BH5SaDXX.js.map → ContextMenu-NNHmt1iq.js.map} +1 -1
  21. package/dist/chunks/{ListView-B96JeG4g.js → ListView-BBZw7GUS.js} +2 -2
  22. package/dist/chunks/{ListView-B96JeG4g.js.map → ListView-BBZw7GUS.js.map} +1 -1
  23. package/dist/chunks/{ListView-O9AO02Rf.js → ListView-DHQyUB3V.js} +2 -2
  24. package/dist/chunks/{ListView-O9AO02Rf.js.map → ListView-DHQyUB3V.js.map} +1 -1
  25. package/dist/chunks/{TokenManager-CCfcK4aA.js → TokenManager-Bi5eDY8Y.js} +2 -2
  26. package/dist/chunks/{TokenManager-CCfcK4aA.js.map → TokenManager-Bi5eDY8Y.js.map} +1 -1
  27. package/dist/chunks/{TokenManager-TEF4Gmwu.js → TokenManager-DFWJ-cuN.js} +3 -3
  28. package/dist/chunks/{TokenManager-TEF4Gmwu.js.map → TokenManager-DFWJ-cuN.js.map} +1 -1
  29. package/dist/chunks/{version-CiqJg8U3.js → version-BzRzH4mJ.js} +2 -2
  30. package/dist/chunks/{version-CiqJg8U3.js.map → version-BzRzH4mJ.js.map} +1 -1
  31. package/dist/chunks/{version-C2aAPoA6.js → version-S1OYxk1c.js} +4 -4
  32. package/dist/chunks/{version-C2aAPoA6.js.map → version-S1OYxk1c.js.map} +1 -1
  33. package/dist/docit.cjs.js +1 -1
  34. package/dist/docit.es.js +4 -4
  35. package/dist/index.cjs.js +1 -1
  36. package/dist/index.es.js +8 -8
  37. package/dist/lightbox.cjs.js +1 -1
  38. package/dist/lightbox.es.js +1 -1
  39. package/dist/map.cjs.js +1 -1
  40. package/dist/map.es.js +1 -1
  41. package/dist/timeline.cjs.js +1 -1
  42. package/dist/timeline.es.js +2 -2
  43. package/package.json +1 -1
  44. package/dist/chunks/ChatView-CQnDGafI.js +0 -2
  45. package/dist/chunks/ChatView-CQnDGafI.js.map +0 -1
  46. package/dist/chunks/ChatView-ppMlENSa.js.map +0 -1
@@ -1,8 +1,8 @@
1
- import { M as Model, C as Collection } from "./Collection-BQxqHtRi.js";
1
+ import { M as Model, C as Collection } from "./Collection-zmb3xHhH.js";
2
2
  import { r as rest, V as View, d as dataFormatter, a as Mustache } from "./Rest-0oRgqNjX.js";
3
- import { T as ToastService, G as GroupList, c as UserList, P as Page } from "./ContextMenu-BNFU-kG4.js";
3
+ import { T as ToastService, G as GroupList, c as UserList, P as Page } from "./ContextMenu-DPjJuxpq.js";
4
4
  import { D as Dialog } from "./Dialog-RzLLLfJD.js";
5
- import { L as ListViewItem, a as ListView } from "./ListView-B96JeG4g.js";
5
+ import { L as ListViewItem, a as ListView } from "./ListView-BBZw7GUS.js";
6
6
  import { F as FormView, a as applyFileDropMixin } from "./FormView--WuITh01.js";
7
7
  class S3Bucket extends Model {
8
8
  constructor(data = {}) {
@@ -3826,6 +3826,20 @@ function formatFilterDisplay(paramKey, value, label) {
3826
3826
  }
3827
3827
  const { field, lookup } = parseFilterKey(paramKey);
3828
3828
  const lookupDef = LOOKUPS[lookup];
3829
+ if (value && typeof value === "object" && !Array.isArray(value)) {
3830
+ const hasStart = value.start !== void 0 && value.start !== null && value.start !== "";
3831
+ const hasEnd = value.end !== void 0 && value.end !== null && value.end !== "";
3832
+ if (hasStart || hasEnd) {
3833
+ if (hasStart && hasEnd) {
3834
+ return `${label} between '${value.start}' and '${value.end}'`;
3835
+ }
3836
+ if (hasStart) {
3837
+ return `${label} from '${value.start}'`;
3838
+ }
3839
+ return `${label} until '${value.end}'`;
3840
+ }
3841
+ return `${label} is '${JSON.stringify(value)}'`;
3842
+ }
3829
3843
  const valueStr = Array.isArray(value) ? value.join(",") : String(value);
3830
3844
  if (!lookup || lookup === "exact") {
3831
3845
  return `${label} is '${valueStr}'`;
@@ -6113,7 +6127,7 @@ class TablePage extends Page {
6113
6127
  if (result && result.filter_value !== void 0) {
6114
6128
  this.tableView.setFilter(filterKey, result.filter_value);
6115
6129
  if (this.collection.restEnabled) {
6116
- await this.collection.fetch();
6130
+ this.collection.fetch();
6117
6131
  }
6118
6132
  await this.tableView.render();
6119
6133
  this.syncUrl();
@@ -6139,7 +6153,7 @@ class TablePage extends Page {
6139
6153
  this.query[this.groupField] = group.id;
6140
6154
  this.applyQueryToCollection();
6141
6155
  if (this.collection && this.collection.restEnabled) {
6142
- await this.collection.fetch();
6156
+ this.collection.fetch();
6143
6157
  }
6144
6158
  }
6145
6159
  /**
@@ -7483,4 +7497,4 @@ export {
7483
7497
  File$1 as y,
7484
7498
  FileList as z
7485
7499
  };
7486
- //# sourceMappingURL=ChatView-ppMlENSa.js.map
7500
+ //# sourceMappingURL=ChatView-BPVE1u2i.js.map