@yomotech/view-toolkit 1.0.78 → 1.0.80

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.
@@ -17752,6 +17752,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImpor
17752
17752
  args: [{ providedIn: 'root' }]
17753
17753
  }] });
17754
17754
 
17755
+ // Faramarz Yousefian and Agent Toni (Claude Opus 5.5) 2026-11-18
17756
+ // - fix: remove shows the delete button's successMessage (deps.sent) - the contract allows it, it was never shown (B10)
17755
17757
  // Faramarz Yousefian and Agent Toni (Claude Opus 5.5) 2026-11-15
17756
17758
  // - new: a server answering the whole list at once (no page numbers, more records than a page) is shown a page at a
17757
17759
  // time - scrolling adds the next page out of that answer without asking again (tm-guided B16: P5 sends the whole
@@ -18032,11 +18034,16 @@ class PageData {
18032
18034
  return false;
18033
18035
  try {
18034
18036
  if (isBrowserSource(this.source)) {
18035
- return await this.removeLocal([index]);
18037
+ const done = await this.removeLocal([index]);
18038
+ // its successMessage after the delete (the contract has it; it was never shown)
18039
+ if (done)
18040
+ this.deps.sent?.({ sent: 1, failed: 0 }, option);
18041
+ return done;
18036
18042
  }
18037
18043
  const record = this.records[index];
18038
18044
  await this.deps.sendBackend({ method: 'DELETE', ...option, data_url: this.legacyUrl(option, record) }, [record], { record });
18039
18045
  await this.load();
18046
+ this.deps.sent?.({ sent: 1, failed: 0 }, option);
18040
18047
  return true;
18041
18048
  }
18042
18049
  catch (error) {