@yomotech/view-toolkit 1.0.77 → 1.0.78

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.
@@ -542,6 +542,8 @@ function durationText(value, option) {
542
542
  return `${lead ? String(hours).padStart(2, '0') : hours}:${String(minutes).padStart(2, '0')}`;
543
543
  }
544
544
 
545
+ // Faramarz Yousefian and Agent Toni (Claude Opus 5.5) 2026-11-18
546
+ // - fix: testWrites - a delete in a browser list stays on the device and needs no "books" (tm-guided B7-B13 tidy up)
545
547
  // Faramarz Yousefian and Agent Toni (Claude Opus 5.5) 2026-11-13
546
548
  // - new: messages of the rules between fields - notBefore, notAfter, minDuration, maxDuration ({{other}}, {{limit}};
547
549
  // project texts errorMessage_xx.json under the same keys; OFFENE-PUNKTE 225 A)
@@ -777,7 +779,9 @@ function testWrites(option) {
777
779
  const writes = option?.storageType === 'database'
778
780
  // a save into a browser list stays on the device (PageData.keep)
779
781
  || (actionName(option) === 'save' && !BROWSER_STORAGES.includes(String(option?.storageType ?? '').toLowerCase()))
780
- || ['delete', 'saveAll'].includes(actionName(option))
782
+ // a delete in a browser list stays on the device (no backend is asked) - only a backend delete writes
783
+ || (actionName(option) === 'delete' && !BROWSER_STORAGES.includes(String(option?.storageType ?? '').toLowerCase()))
784
+ || actionName(option) === 'saveAll'
781
785
  // a submit that sends to the backend (luv2shop's Purchase: submit, data_url checkout/purchase)
782
786
  || (actionName(option) === 'submit' && toBackend);
783
787
  return writes ? 'true' : 'false';