arcane-cli 0.36.0 → 0.36.1

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/index.js CHANGED
@@ -5592,11 +5592,16 @@ function buildShowReportView(model) {
5592
5592
  sections: model.sections.map((section) => ({
5593
5593
  ...section,
5594
5594
  hasNote: typeof section.note === "string" && section.note.length > 0,
5595
+ // Mustache cannot count a list, so any "N items" label in a template needs
5596
+ // the count precomputed here. Added for the compiled arcane-ui template,
5597
+ // which asks for a per-section row count and a parked total (SR-06).
5598
+ rowCount: section.rows.length,
5595
5599
  rows: section.rows.map(toRowView)
5596
5600
  })),
5597
5601
  corrections,
5598
5602
  hasCorrections: corrections !== void 0,
5599
5603
  hasParked: model.parked.length > 0,
5604
+ parkedCount: model.parked.length,
5600
5605
  hasCast: model.cast.length > 0,
5601
5606
  hasOutcome: typeof model.outcome === "string" && model.outcome.length > 0,
5602
5607
  hasVersionSpan: model.program.versionSpan !== void 0,