web-mojo 2.2.5 → 2.2.6

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.
@@ -5755,28 +5755,22 @@ class TablePage extends Page {
5755
5755
  this.syncUrl();
5756
5756
  }
5757
5757
  });
5758
- this.tableView.on("table:search", ({ searchTerm }) => {
5759
- });
5760
- this.tableView.on("table:sort", ({ field }) => {
5761
- });
5762
- this.tableView.on("table:page", ({ page }) => {
5763
- });
5764
5758
  this.tableView.on("filter:edit", async ({ key }) => {
5765
5759
  await this.handleFilterEdit(key);
5766
5760
  });
5767
5761
  this.tableView.on("row:view", async ({ model }) => {
5768
- if (this.tableViewConfig.onItemView) {
5769
- await this.tableViewConfig.onItemView(model);
5762
+ if (this.onItemView) {
5763
+ await this.onItemView(model);
5770
5764
  }
5771
5765
  });
5772
5766
  this.tableView.on("row:edit", async ({ model }) => {
5773
- if (this.tableViewConfig.onItemEdit) {
5774
- await this.tableViewConfig.onItemEdit(model);
5767
+ if (this.onItemEdit) {
5768
+ await this.onItemEdit(model);
5775
5769
  }
5776
5770
  });
5777
5771
  this.tableView.on("row:delete", async ({ model }) => {
5778
- if (this.tableViewConfig.onItemDelete) {
5779
- await this.tableViewConfig.onItemDelete(model);
5772
+ if (this.onItemDelete) {
5773
+ await this.onItemDelete(model);
5780
5774
  }
5781
5775
  });
5782
5776
  this.tableView.on("table:add", async ({ event }) => {
@@ -7303,4 +7297,4 @@ export {
7303
7297
  FileForms as y,
7304
7298
  IncidentEventList as z
7305
7299
  };
7306
- //# sourceMappingURL=ChatView-0zfOatg-.js.map
7300
+ //# sourceMappingURL=ChatView-BcPvM8jM.js.map