@action-state-group/capsule-viewer 0.3.0 → 0.5.0

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 (60) hide show
  1. package/README.md +3 -2
  2. package/dist/browser.d.ts +1 -1
  3. package/dist/browser.js +5 -3
  4. package/dist/browser.js.map +1 -1
  5. package/dist/chart-dataset.d.ts +23 -0
  6. package/dist/chart-dataset.js +195 -0
  7. package/dist/chart-dataset.js.map +1 -0
  8. package/dist/chart-spec.d.ts +141 -0
  9. package/dist/chart-spec.js +646 -0
  10. package/dist/chart-spec.js.map +1 -0
  11. package/dist/chart-view.d.ts +34 -0
  12. package/dist/chart-view.js +389 -0
  13. package/dist/chart-view.js.map +1 -0
  14. package/dist/compliance-styles.js +0 -1
  15. package/dist/compliance-styles.js.map +1 -1
  16. package/dist/compliance-view.js +53 -17
  17. package/dist/compliance-view.js.map +1 -1
  18. package/dist/contract-report-wording.js +51 -2
  19. package/dist/contract-report-wording.js.map +1 -1
  20. package/dist/core-strip.d.ts +38 -0
  21. package/dist/core-strip.js +183 -0
  22. package/dist/core-strip.js.map +1 -0
  23. package/dist/emitter-shell.html +10 -1
  24. package/dist/emitter.js +13 -3
  25. package/dist/emitter.js.map +1 -1
  26. package/dist/evidence-graph-view.d.ts +6 -0
  27. package/dist/evidence-graph-view.js +244 -91
  28. package/dist/evidence-graph-view.js.map +1 -1
  29. package/dist/evidence-graph.iife.js +6351 -1633
  30. package/dist/outcome-report-view.js +49 -25
  31. package/dist/outcome-report-view.js.map +1 -1
  32. package/dist/presentation-builder.d.ts +15 -0
  33. package/dist/presentation-builder.js +36 -2
  34. package/dist/presentation-builder.js.map +1 -1
  35. package/dist/presentation-mount.d.ts +2 -0
  36. package/dist/presentation-mount.js +1 -0
  37. package/dist/presentation-mount.js.map +1 -1
  38. package/dist/report-front-styles.d.ts +2 -2
  39. package/dist/report-front-styles.js +3 -15
  40. package/dist/report-front-styles.js.map +1 -1
  41. package/dist/report-front.d.ts +2 -24
  42. package/dist/report-front.js +11 -145
  43. package/dist/report-front.js.map +1 -1
  44. package/dist/report-levels.d.ts +33 -1
  45. package/dist/report-levels.js +135 -0
  46. package/dist/report-levels.js.map +1 -1
  47. package/dist/report-provenance.d.ts +28 -0
  48. package/dist/report-provenance.js +60 -11
  49. package/dist/report-provenance.js.map +1 -1
  50. package/dist/report-view-render.d.ts +13 -0
  51. package/dist/report-view-render.js +280 -0
  52. package/dist/report-view-render.js.map +1 -0
  53. package/dist/report-view.d.ts +29 -0
  54. package/dist/report-view.js +170 -0
  55. package/dist/report-view.js.map +1 -0
  56. package/dist/viewer-build.js +3 -3
  57. package/dist/viewer-build.js.map +1 -1
  58. package/dist/wording/contract-report-eu-ai-act.en.json +36 -0
  59. package/dist/wording/contract-report-outcomes.en.json +36 -0
  60. package/package.json +5 -3
@@ -378,6 +378,7 @@
378
378
  "front.agg.bucket.not_met": "Not met (evaluations)",
379
379
  "front.agg.bucket.not_evaluable": "Not evaluable (evaluations)",
380
380
  "front.agg.bucket.out_of_scope": "Out of scope (evaluations)",
381
+ "front.agg.of": "of {n}",
381
382
  "front.check.h": "Check this report yourself",
382
383
  "front.check.key": "Producer key",
383
384
  "front.check.log": "Log",
@@ -389,6 +390,41 @@
389
390
  "front.check.s3.none": "This bundle carries no witness receipt. If you can get the log's checkpoint for this size on your own, compare its root with the one above.",
390
391
  "front.check.s4": "Open any row above to see the sealed records it cites.",
391
392
  "front.findings.label": "Producer's findings · presentation text, not evidence",
393
+ "evidence.show": "Show evidence",
394
+ "evidence.show.for": "Show evidence: {what}",
395
+ "evidence.records": "The records the claims behind this number cite, each a link to its entry in this bundle's records",
396
+ "evidence.not-in-bundle": "not disclosed in this bundle; this page does not fetch it",
397
+ "evidence.no-evidence.one": "{n} counted from a claim that cites no evidence",
398
+ "evidence.no-evidence.other": "{n} counted from claims that cite no evidence",
399
+ "chart.population.one": "{n} record",
400
+ "chart.population.other": "{n} records",
401
+ "chart.window": "{from} to {to} (UTC)",
402
+ "chart.derived": "Derived from this report's records, not evidence itself",
403
+ "chart.not_run": "Not run",
404
+ "chart.no_runs": "This report's plan does not say which days ran, so a day with no records reads 0",
405
+ "chart.table.caption": "The values in this chart",
406
+ "chart.count": "Count",
407
+ "chart.sum": "Sum of",
408
+ "chart.evidence.records": "The records this value counts, each a link to its entry in this bundle's records",
409
+ "chart.evidence.none": "Nothing counted: no record in this report's data falls here",
410
+ "chart.refused": "This chart was not drawn: its spec does not match the report's data ({reason}).",
411
+ "calendar.weekday.1": "Mon",
412
+ "calendar.weekday.2": "Tue",
413
+ "calendar.weekday.3": "Wed",
414
+ "calendar.weekday.4": "Thu",
415
+ "calendar.weekday.5": "Fri",
416
+ "calendar.weekday.6": "Sat",
417
+ "calendar.weekday.7": "Sun",
418
+ "period.week": "Week of {date}",
419
+ "period.not_run_days.one": "{n} day not run",
420
+ "period.not_run_days.other": "{n} days not run",
421
+ "view.unplaced.one": "{n} record is dated on a day that did not run, so it is in no cell",
422
+ "view.unplaced.other": "{n} records are dated on days that did not run, so they are in no cell",
423
+ "evidence.uncited.one": "{n} counted with no claim: this page's own reading, with no evidence to show",
424
+ "evidence.uncited.other": "{n} counted with no claim: this page's own reading, with no evidence to show",
425
+ "evidence.label.unsupported": "Unsupported: no record its claims cite is disclosed in this bundle",
426
+ "evidence.label.no-evidence": "Unsupported: its claims cite no evidence",
427
+ "evidence.label.interpretation": "Interpretation: this page's own reading; no claim cites evidence for it",
392
428
  "front.findings.h": "Findings"
393
429
  }
394
430
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@action-state-group/capsule-viewer",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "capsule-viewer page emitter and presentation builder, under the Agent Action Capsule presentation contract",
5
5
  "license": "Apache-2.0 AND BSD-3-Clause",
6
6
  "type": "module",
@@ -32,17 +32,19 @@
32
32
  "emitter:iife": "node scripts/build-iife.mjs"
33
33
  },
34
34
  "dependencies": {
35
- "@action-state-group/agent-action-capsule": "0.8.0",
36
- "@action-state-group/cll": "0.2.1"
35
+ "@action-state-group/agent-action-capsule": "0.10.0",
36
+ "@action-state-group/cll": "0.3.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/jsdom": "30.0.0",
40
40
  "@types/node": "22.20.2",
41
+ "ajv": "8.17.1",
41
42
  "esbuild": "0.28.2",
42
43
  "jsdom": "26.1.0",
43
44
  "playwright-core": "1.64.0",
44
45
  "prettier": "3.6.2",
45
46
  "typescript": "7.0.2",
47
+ "vega-lite": "5.23.0",
46
48
  "vitest": "4.1.11"
47
49
  },
48
50
  "repository": {