@openpresentation/opf 0.13.0 → 0.15.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.
Files changed (611) hide show
  1. package/README.md +40 -49
  2. package/dist/catalog-refs-BSfGELpt.d.ts +128 -0
  3. package/dist/catalog-schemas-CinPh5WA.d.ts +12 -0
  4. package/dist/catalog.d.ts +91 -0
  5. package/dist/{chunk-E34DJ5LL.js → catalog.js} +16949 -17628
  6. package/dist/{chart-data-Cdr6rRVV.d.ts → chart-data-BnNqgnC-.d.ts} +17 -6
  7. package/dist/{chunk-7QBCWNWL.js → chunk-2CJPC4HI.js} +1807 -1904
  8. package/dist/{chunk-II5EYKZU.js → chunk-374R35TJ.js} +2 -92
  9. package/dist/chunk-3JG4YXWF.js +1842 -0
  10. package/dist/chunk-3RKB4RDJ.js +192 -0
  11. package/dist/{chunk-IS2CPNVJ.js → chunk-5FTUIDUH.js} +26 -26
  12. package/dist/{chunk-GJKJL4YY.js → chunk-HXHOZ7AH.js} +1379 -504
  13. package/dist/{chunk-MPM7NRG7.js → chunk-O744SXXA.js} +2014 -885
  14. package/dist/chunk-QDI75P2M.js +3515 -0
  15. package/dist/chunk-SPFV27O5.js +210 -0
  16. package/dist/chunk-TRDXRRQK.js +17 -0
  17. package/dist/chunk-TWQJLI6E.js +601 -0
  18. package/dist/{chunk-ATGDDJPX.js → chunk-U4J75TRG.js} +3 -3
  19. package/dist/{chunk-RAYB46AB.js → chunk-UBFJ2QHH.js} +34 -30
  20. package/dist/chunk-VGAOJEY7.js +94 -0
  21. package/dist/chunk-ZPU46TFA.js +83 -0
  22. package/dist/{composition-D7we69Tr.d.ts → composition-D2tghM82.d.ts} +947 -111
  23. package/dist/composition.d.ts +3 -2
  24. package/dist/composition.js +2 -2
  25. package/dist/convert.d.ts +18 -19
  26. package/dist/convert.js +61 -50
  27. package/dist/data.d.ts +4 -4
  28. package/dist/data.js +3 -3
  29. package/dist/diff.d.ts +4 -4
  30. package/dist/diff.js +7 -605
  31. package/dist/docs.js +56 -44
  32. package/dist/examples.d.ts +1 -1
  33. package/dist/examples.js +49451 -6259
  34. package/dist/finding-CT_f_vbD.d.ts +212 -0
  35. package/dist/format.d.ts +4 -4
  36. package/dist/format.js +2 -83
  37. package/dist/index.d.ts +492 -309
  38. package/dist/index.js +767 -1097
  39. package/dist/json-BFSdESOE.d.ts +19 -0
  40. package/dist/markdown.d.ts +40 -27
  41. package/dist/markdown.js +9 -1941
  42. package/dist/pagination-wedbe7eq.d.ts +119 -0
  43. package/dist/pagination.d.ts +4 -61
  44. package/dist/pagination.js +6 -6
  45. package/dist/patch.d.ts +12 -23
  46. package/dist/patch.js +6 -6
  47. package/dist/{presentation-mG-IYErQ.d.ts → presentation-CDKQVkyI.d.ts} +702 -1026
  48. package/dist/repo-readme.js +1 -1
  49. package/dist/schemas.d.ts +284 -1
  50. package/dist/schemas.js +1 -1
  51. package/dist/spec/README.md +11 -6
  52. package/dist/spec/catalogs/audiences/index.json +2 -50
  53. package/dist/spec/catalogs/chart-types/100pct-stacked-area.json +21 -0
  54. package/dist/spec/catalogs/chart-types/100pct-stacked-bar.json +22 -0
  55. package/dist/spec/catalogs/chart-types/100pct-stacked-column.json +22 -0
  56. package/dist/spec/catalogs/chart-types/area.json +2 -60
  57. package/dist/spec/catalogs/chart-types/bar.json +2 -48
  58. package/dist/spec/catalogs/chart-types/box-and-whisker.json +2 -132
  59. package/dist/spec/catalogs/chart-types/column.json +2 -52
  60. package/dist/spec/catalogs/chart-types/combo.json +37 -0
  61. package/dist/spec/catalogs/chart-types/doughnut.json +2 -40
  62. package/dist/spec/catalogs/chart-types/filled-radar.json +2 -52
  63. package/dist/spec/catalogs/chart-types/funnel.json +2 -46
  64. package/dist/spec/catalogs/chart-types/histogram.json +2 -149
  65. package/dist/spec/catalogs/chart-types/index.json +50 -520
  66. package/dist/spec/catalogs/chart-types/line-with-markers.json +2 -60
  67. package/dist/spec/catalogs/chart-types/line.json +2 -60
  68. package/dist/spec/catalogs/chart-types/pareto.json +2 -50
  69. package/dist/spec/catalogs/chart-types/pie.json +2 -40
  70. package/dist/spec/catalogs/chart-types/radar-with-markers.json +2 -52
  71. package/dist/spec/catalogs/chart-types/radar.json +2 -52
  72. package/dist/spec/catalogs/chart-types/scatter.json +2 -73
  73. package/dist/spec/catalogs/chart-types/stacked-area.json +21 -0
  74. package/dist/spec/catalogs/chart-types/stacked-bar.json +22 -0
  75. package/dist/spec/catalogs/chart-types/stacked-column.json +22 -0
  76. package/dist/spec/catalogs/chart-types/stacked-line-with-markers.json +22 -0
  77. package/dist/spec/catalogs/chart-types/stacked-line.json +21 -0
  78. package/dist/spec/catalogs/chart-types/treemap.json +2 -48
  79. package/dist/spec/catalogs/chart-types/waterfall.json +2 -52
  80. package/dist/spec/catalogs/chart-types/world.json +2 -64
  81. package/dist/spec/catalogs/font-schemes/angsana-new.json +2 -2
  82. package/dist/spec/catalogs/font-schemes/aparajita.json +3 -3
  83. package/dist/spec/catalogs/font-schemes/aptos.json +1 -1
  84. package/dist/spec/catalogs/font-schemes/arabic-typesetting.json +2 -2
  85. package/dist/spec/catalogs/font-schemes/arial.json +1 -1
  86. package/dist/spec/catalogs/font-schemes/batang.json +2 -2
  87. package/dist/spec/catalogs/font-schemes/bookman.json +1 -1
  88. package/dist/spec/catalogs/font-schemes/calibri.json +1 -1
  89. package/dist/spec/catalogs/font-schemes/century-schoolbook.json +1 -1
  90. package/dist/spec/catalogs/font-schemes/consolas.json +2 -4
  91. package/dist/spec/catalogs/font-schemes/constantia.json +1 -1
  92. package/dist/spec/catalogs/font-schemes/courier-new.json +2 -4
  93. package/dist/spec/catalogs/font-schemes/daunpenh.json +2 -2
  94. package/dist/spec/catalogs/font-schemes/david.json +2 -2
  95. package/dist/spec/catalogs/font-schemes/dilleniaupc.json +2 -2
  96. package/dist/spec/catalogs/font-schemes/fangsong.json +2 -2
  97. package/dist/spec/catalogs/font-schemes/garamond.json +1 -1
  98. package/dist/spec/catalogs/font-schemes/gautami.json +2 -2
  99. package/dist/spec/catalogs/font-schemes/georgia.json +1 -1
  100. package/dist/spec/catalogs/font-schemes/gisha.json +3 -3
  101. package/dist/spec/catalogs/font-schemes/grandview.json +1 -1
  102. package/dist/spec/catalogs/font-schemes/gungsuh.json +2 -2
  103. package/dist/spec/catalogs/font-schemes/impact.json +1 -1
  104. package/dist/spec/catalogs/font-schemes/index.json +1 -1
  105. package/dist/spec/catalogs/font-schemes/kalinga.json +2 -2
  106. package/dist/spec/catalogs/font-schemes/kartika.json +2 -2
  107. package/dist/spec/catalogs/font-schemes/khmer-ui.json +2 -2
  108. package/dist/spec/catalogs/font-schemes/latha.json +2 -2
  109. package/dist/spec/catalogs/font-schemes/lucida-sans.json +1 -1
  110. package/dist/spec/catalogs/font-schemes/malgun-gothic.json +2 -2
  111. package/dist/spec/catalogs/font-schemes/mangal.json +4 -5
  112. package/dist/spec/catalogs/font-schemes/meiryo.json +2 -2
  113. package/dist/spec/catalogs/font-schemes/microsoft-jhenghei.json +2 -2
  114. package/dist/spec/catalogs/font-schemes/microsoft-yahei.json +5 -5
  115. package/dist/spec/catalogs/font-schemes/mingliu.json +2 -2
  116. package/dist/spec/catalogs/font-schemes/miriam.json +2 -2
  117. package/dist/spec/catalogs/font-schemes/montserrat.json +1 -1
  118. package/dist/spec/catalogs/font-schemes/ms-mincho.json +2 -2
  119. package/dist/spec/catalogs/font-schemes/nirmala-ui.json +2 -2
  120. package/dist/spec/catalogs/font-schemes/noto-naksh-arabic.json +2 -2
  121. package/dist/spec/catalogs/font-schemes/noto-nastaliq-urdu.json +3 -3
  122. package/dist/spec/catalogs/font-schemes/noto-sans-arabic.json +4 -4
  123. package/dist/spec/catalogs/font-schemes/noto-sans-armenian.json +2 -2
  124. package/dist/spec/catalogs/font-schemes/noto-sans-bengali.json +3 -3
  125. package/dist/spec/catalogs/font-schemes/noto-sans-devangari.json +3 -3
  126. package/dist/spec/catalogs/font-schemes/noto-sans-ethiopic.json +2 -2
  127. package/dist/spec/catalogs/font-schemes/noto-sans-georgian.json +2 -2
  128. package/dist/spec/catalogs/font-schemes/noto-sans-gujarati.json +2 -2
  129. package/dist/spec/catalogs/font-schemes/noto-sans-gurmukhi.json +2 -2
  130. package/dist/spec/catalogs/font-schemes/noto-sans-hebrew.json +2 -2
  131. package/dist/spec/catalogs/font-schemes/noto-sans-jp.json +2 -2
  132. package/dist/spec/catalogs/font-schemes/noto-sans-kannada.json +2 -2
  133. package/dist/spec/catalogs/font-schemes/noto-sans-khmer.json +2 -2
  134. package/dist/spec/catalogs/font-schemes/noto-sans-kr.json +2 -2
  135. package/dist/spec/catalogs/font-schemes/noto-sans-malayalam.json +2 -2
  136. package/dist/spec/catalogs/font-schemes/noto-sans-mongolian.json +2 -2
  137. package/dist/spec/catalogs/font-schemes/noto-sans-oriya.json +2 -2
  138. package/dist/spec/catalogs/font-schemes/noto-sans-sc.json +5 -5
  139. package/dist/spec/catalogs/font-schemes/noto-sans-tamil.json +2 -2
  140. package/dist/spec/catalogs/font-schemes/noto-sans-tc.json +2 -2
  141. package/dist/spec/catalogs/font-schemes/noto-sans-telugu.json +2 -2
  142. package/dist/spec/catalogs/font-schemes/noto-sans-thai.json +2 -2
  143. package/dist/spec/catalogs/font-schemes/noto-sans.json +5 -5
  144. package/dist/spec/catalogs/font-schemes/nyala.json +2 -2
  145. package/dist/spec/catalogs/font-schemes/open-sans.json +1 -1
  146. package/dist/spec/catalogs/font-schemes/pmingliu.json +2 -2
  147. package/dist/spec/catalogs/font-schemes/poppins.json +1 -1
  148. package/dist/spec/catalogs/font-schemes/pt-serif.json +1 -1
  149. package/dist/spec/catalogs/font-schemes/raavi.json +2 -2
  150. package/dist/spec/catalogs/font-schemes/raleway.json +1 -1
  151. package/dist/spec/catalogs/font-schemes/roboto.json +1 -1
  152. package/dist/spec/catalogs/font-schemes/rockwell.json +1 -1
  153. package/dist/spec/catalogs/font-schemes/sakkal-majalla.json +4 -4
  154. package/dist/spec/catalogs/font-schemes/seaford.json +1 -1
  155. package/dist/spec/catalogs/font-schemes/segoe-ui-light.json +1 -1
  156. package/dist/spec/catalogs/font-schemes/segoe-ui.json +1 -1
  157. package/dist/spec/catalogs/font-schemes/shonar-bangla.json +3 -3
  158. package/dist/spec/catalogs/font-schemes/shruti.json +2 -2
  159. package/dist/spec/catalogs/font-schemes/simsun.json +2 -2
  160. package/dist/spec/catalogs/font-schemes/skeena.json +1 -1
  161. package/dist/spec/catalogs/font-schemes/sylfaen.json +3 -3
  162. package/dist/spec/catalogs/font-schemes/tahoma.json +1 -1
  163. package/dist/spec/catalogs/font-schemes/tenorite.json +1 -1
  164. package/dist/spec/catalogs/font-schemes/times-new-roman.json +1 -1
  165. package/dist/spec/catalogs/font-schemes/traditional-arabic.json +4 -4
  166. package/dist/spec/catalogs/font-schemes/trebuchet-ms.json +1 -1
  167. package/dist/spec/catalogs/font-schemes/tunga.json +2 -2
  168. package/dist/spec/catalogs/font-schemes/verdana.json +1 -1
  169. package/dist/spec/catalogs/font-schemes/vrinda.json +2 -2
  170. package/dist/spec/catalogs/font-schemes/yu-gothic.json +2 -2
  171. package/dist/spec/catalogs/layouts/action-plan.json +9 -15
  172. package/dist/spec/catalogs/layouts/agenda.json +8 -15
  173. package/dist/spec/catalogs/layouts/appendix-index.json +7 -15
  174. package/dist/spec/catalogs/layouts/architecture-stack.json +9 -15
  175. package/dist/spec/catalogs/layouts/assumptions-dependencies.json +9 -15
  176. package/dist/spec/catalogs/layouts/before-after.json +9 -15
  177. package/dist/spec/catalogs/layouts/benchmark-target-table.json +9 -15
  178. package/dist/spec/catalogs/layouts/blank.json +11 -1
  179. package/dist/spec/catalogs/layouts/bullet-list.json +9 -15
  180. package/dist/spec/catalogs/layouts/business-model-canvas.json +9 -15
  181. package/dist/spec/catalogs/layouts/capability-map.json +11 -16
  182. package/dist/spec/catalogs/layouts/case-study.json +9 -15
  183. package/dist/spec/catalogs/layouts/chapter-recap.json +8 -15
  184. package/dist/spec/catalogs/layouts/chart-1x-title-center.json +30 -0
  185. package/dist/spec/catalogs/layouts/chart-1x.json +15 -0
  186. package/dist/spec/catalogs/layouts/chart-2x-title-center.json +36 -0
  187. package/dist/spec/catalogs/layouts/chart-2x-vertical-title-left.json +37 -0
  188. package/dist/spec/catalogs/layouts/chart-2x.json +15 -0
  189. package/dist/spec/catalogs/layouts/chart-3x-bottom-vertical-title-left.json +46 -0
  190. package/dist/spec/catalogs/layouts/chart-3x-left-title-center.json +45 -0
  191. package/dist/spec/catalogs/layouts/chart-3x-left.json +40 -0
  192. package/dist/spec/catalogs/layouts/chart-3x-right-title-center.json +45 -0
  193. package/dist/spec/catalogs/layouts/chart-3x-right.json +40 -0
  194. package/dist/spec/catalogs/layouts/chart-3x-title-center.json +39 -0
  195. package/dist/spec/catalogs/layouts/chart-3x-top-vertical-title-left.json +46 -0
  196. package/dist/spec/catalogs/layouts/chart-3x.json +15 -0
  197. package/dist/spec/catalogs/layouts/circular-lifecycle.json +9 -15
  198. package/dist/spec/catalogs/layouts/code-1x.json +10 -0
  199. package/dist/spec/catalogs/layouts/comparison.json +9 -15
  200. package/dist/spec/catalogs/layouts/competitive-landscape.json +11 -16
  201. package/dist/spec/catalogs/layouts/customer-journey.json +11 -16
  202. package/dist/spec/catalogs/layouts/customer-logos.json +9 -15
  203. package/dist/spec/catalogs/layouts/dashboard.json +9 -15
  204. package/dist/spec/catalogs/layouts/data-visualization.json +9 -15
  205. package/dist/spec/catalogs/layouts/decision-tree.json +11 -16
  206. package/dist/spec/catalogs/layouts/detailed-data-table.json +9 -15
  207. package/dist/spec/catalogs/layouts/ecosystem-map.json +11 -16
  208. package/dist/spec/catalogs/layouts/executive-decision.json +9 -15
  209. package/dist/spec/catalogs/layouts/executive-summary.json +9 -15
  210. package/dist/spec/catalogs/layouts/extract/canonical.json +7 -16
  211. package/dist/spec/catalogs/layouts/faq.json +9 -15
  212. package/dist/spec/catalogs/layouts/feature-comparison-matrix.json +9 -15
  213. package/dist/spec/catalogs/layouts/forecast-scenario.json +9 -15
  214. package/dist/spec/catalogs/layouts/funnel-pyramid.json +9 -15
  215. package/dist/spec/catalogs/layouts/gantt-project-plan.json +9 -15
  216. package/dist/spec/catalogs/layouts/geographic-map.json +10 -15
  217. package/dist/spec/catalogs/layouts/heatmap-cohort.json +9 -15
  218. package/dist/spec/catalogs/layouts/hub-and-spoke.json +9 -15
  219. package/dist/spec/catalogs/layouts/icon-grid.json +11 -16
  220. package/dist/spec/catalogs/layouts/image-1x-crop-title-center.json +32 -0
  221. package/dist/spec/catalogs/layouts/image-1x-crop-title-left.json +32 -0
  222. package/dist/spec/catalogs/layouts/image-1x-crop.json +27 -0
  223. package/dist/spec/catalogs/layouts/image-1x-fit-title-center.json +32 -0
  224. package/dist/spec/catalogs/layouts/image-1x.json +14 -1
  225. package/dist/spec/catalogs/layouts/image-2x-crop-title-center.json +38 -0
  226. package/dist/spec/catalogs/layouts/image-2x-crop-vertical-title-left.json +39 -0
  227. package/dist/spec/catalogs/layouts/image-2x-crop-vertical.json +34 -0
  228. package/dist/spec/catalogs/layouts/image-2x-crop.json +33 -0
  229. package/dist/spec/catalogs/layouts/image-2x-fit-title-center.json +38 -0
  230. package/dist/spec/catalogs/layouts/image-2x-fit-vertical-title-left.json +39 -0
  231. package/dist/spec/catalogs/layouts/image-2x-fit-vertical.json +34 -0
  232. package/dist/spec/catalogs/layouts/image-2x.json +15 -2
  233. package/dist/spec/catalogs/layouts/image-3x-crop-title-center.json +41 -0
  234. package/dist/spec/catalogs/layouts/image-3x-crop-vertical-title-left.json +42 -0
  235. package/dist/spec/catalogs/layouts/image-3x-crop-vertical.json +37 -0
  236. package/dist/spec/catalogs/layouts/image-3x-crop.json +36 -0
  237. package/dist/spec/catalogs/layouts/image-3x-fit-title-center.json +41 -0
  238. package/dist/spec/catalogs/layouts/image-3x-fit-vertical-title-left.json +42 -0
  239. package/dist/spec/catalogs/layouts/image-3x-fit-vertical.json +37 -0
  240. package/dist/spec/catalogs/layouts/image-3x-fit.json +36 -0
  241. package/dist/spec/catalogs/layouts/image-3x.json +16 -3
  242. package/dist/spec/catalogs/layouts/image-focus.json +13 -18
  243. package/dist/spec/catalogs/layouts/image-only-1x-crop-title-center.json +31 -0
  244. package/dist/spec/catalogs/layouts/image-only-1x-fit-title-center.json +31 -0
  245. package/dist/spec/catalogs/layouts/image-only-2x-crop-title-center.json +37 -0
  246. package/dist/spec/catalogs/layouts/image-only-2x-crop-vertical-title-left.json +38 -0
  247. package/dist/spec/catalogs/layouts/image-only-2x-crop-vertical.json +33 -0
  248. package/dist/spec/catalogs/layouts/image-only-2x-fit-title-center.json +37 -0
  249. package/dist/spec/catalogs/layouts/image-only-2x-fit-vertical-title-left.json +38 -0
  250. package/dist/spec/catalogs/layouts/image-only-2x-fit-vertical.json +33 -0
  251. package/dist/spec/catalogs/layouts/image-only-3x-crop-title-center.json +40 -0
  252. package/dist/spec/catalogs/layouts/image-only-3x-crop-vertical-title-left.json +41 -0
  253. package/dist/spec/catalogs/layouts/image-only-3x-crop-vertical.json +36 -0
  254. package/dist/spec/catalogs/layouts/image-only-3x-crop.json +35 -0
  255. package/dist/spec/catalogs/layouts/image-only-3x-fit-title-center.json +40 -0
  256. package/dist/spec/catalogs/layouts/image-only-3x-fit-vertical-title-left.json +41 -0
  257. package/dist/spec/catalogs/layouts/image-only-3x-fit-vertical.json +36 -0
  258. package/dist/spec/catalogs/layouts/image-only-3x-fit.json +35 -0
  259. package/dist/spec/catalogs/layouts/index.json +1041 -151
  260. package/dist/spec/catalogs/layouts/key-takeaway.json +8 -15
  261. package/dist/spec/catalogs/layouts/kpi-scorecard.json +9 -15
  262. package/dist/spec/catalogs/layouts/list-1x-box-title-center.json +32 -0
  263. package/dist/spec/catalogs/layouts/list-1x-box-vertical-title-center.json +33 -0
  264. package/dist/spec/catalogs/layouts/list-1x-box-vertical-title-left.json +33 -0
  265. package/dist/spec/catalogs/layouts/list-1x-box-vertical.json +28 -0
  266. package/dist/spec/catalogs/layouts/list-1x-box.json +27 -0
  267. package/dist/spec/catalogs/layouts/list-1x-itemimage-title-center.json +32 -0
  268. package/dist/spec/catalogs/layouts/list-1x-itemimage-vertical-title-center.json +33 -0
  269. package/dist/spec/catalogs/layouts/list-1x-title-center.json +31 -0
  270. package/dist/spec/catalogs/layouts/list-1x-vertical-title-center.json +32 -0
  271. package/dist/spec/catalogs/layouts/list-1x.json +17 -1
  272. package/dist/spec/catalogs/layouts/list-2x-box-title-center.json +38 -0
  273. package/dist/spec/catalogs/layouts/list-2x-box-vertical-title-center.json +39 -0
  274. package/dist/spec/catalogs/layouts/list-2x-box-vertical-title-left.json +39 -0
  275. package/dist/spec/catalogs/layouts/list-2x-box-vertical.json +34 -0
  276. package/dist/spec/catalogs/layouts/list-2x-box.json +33 -0
  277. package/dist/spec/catalogs/layouts/list-2x-itemimage-title-center.json +38 -0
  278. package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical-title-center.json +39 -0
  279. package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical-title-left.json +39 -0
  280. package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical.json +34 -0
  281. package/dist/spec/catalogs/layouts/list-2x-title-center.json +37 -0
  282. package/dist/spec/catalogs/layouts/list-2x-vertical-title-center.json +38 -0
  283. package/dist/spec/catalogs/layouts/list-2x-vertical-title-left.json +38 -0
  284. package/dist/spec/catalogs/layouts/list-2x-vertical.json +33 -0
  285. package/dist/spec/catalogs/layouts/list-2x.json +16 -0
  286. package/dist/spec/catalogs/layouts/list-3x-box-title-center.json +41 -0
  287. package/dist/spec/catalogs/layouts/list-3x-box-vertical-title-center.json +42 -0
  288. package/dist/spec/catalogs/layouts/list-3x-box-vertical-title-left.json +42 -0
  289. package/dist/spec/catalogs/layouts/list-3x-box-vertical.json +37 -0
  290. package/dist/spec/catalogs/layouts/list-3x-box.json +36 -0
  291. package/dist/spec/catalogs/layouts/list-3x-itemimage-title-center.json +41 -0
  292. package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical-title-center.json +42 -0
  293. package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical-title-left.json +42 -0
  294. package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical.json +37 -0
  295. package/dist/spec/catalogs/layouts/list-3x-itemimage.json +36 -0
  296. package/dist/spec/catalogs/layouts/list-3x-title-center.json +40 -0
  297. package/dist/spec/catalogs/layouts/list-3x-vertical-title-center.json +41 -0
  298. package/dist/spec/catalogs/layouts/list-3x-vertical-title-left.json +41 -0
  299. package/dist/spec/catalogs/layouts/list-3x-vertical.json +36 -0
  300. package/dist/spec/catalogs/layouts/list-3x.json +16 -0
  301. package/dist/spec/catalogs/layouts/list-4x-box-title-center.json +45 -0
  302. package/dist/spec/catalogs/layouts/list-4x-box-vertical-title-center.json +45 -0
  303. package/dist/spec/catalogs/layouts/list-4x-box-vertical-title-left.json +45 -0
  304. package/dist/spec/catalogs/layouts/list-4x-box-vertical.json +40 -0
  305. package/dist/spec/catalogs/layouts/list-4x-box.json +40 -0
  306. package/dist/spec/catalogs/layouts/list-4x-itemimage-title-center.json +45 -0
  307. package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical-title-center.json +45 -0
  308. package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical-title-left.json +45 -0
  309. package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical.json +40 -0
  310. package/dist/spec/catalogs/layouts/list-4x-title-center.json +44 -0
  311. package/dist/spec/catalogs/layouts/list-4x-vertical-title-center.json +44 -0
  312. package/dist/spec/catalogs/layouts/list-4x-vertical-title-left.json +44 -0
  313. package/dist/spec/catalogs/layouts/list-4x-vertical.json +39 -0
  314. package/dist/spec/catalogs/layouts/list-4x.json +16 -0
  315. package/dist/spec/catalogs/layouts/list-5x-box-title-center.json +48 -0
  316. package/dist/spec/catalogs/layouts/list-5x-box-vertical-title-center.json +50 -0
  317. package/dist/spec/catalogs/layouts/list-5x-box-vertical-title-left.json +50 -0
  318. package/dist/spec/catalogs/layouts/list-5x-box-vertical.json +45 -0
  319. package/dist/spec/catalogs/layouts/list-5x-box.json +43 -0
  320. package/dist/spec/catalogs/layouts/list-5x-itemimage-title-center.json +48 -0
  321. package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical-title-center.json +48 -0
  322. package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical-title-left.json +48 -0
  323. package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical.json +43 -0
  324. package/dist/spec/catalogs/layouts/list-5x-title-center.json +47 -0
  325. package/dist/spec/catalogs/layouts/list-5x-vertical-title-center.json +47 -0
  326. package/dist/spec/catalogs/layouts/list-5x-vertical-title-left.json +47 -0
  327. package/dist/spec/catalogs/layouts/list-5x-vertical.json +42 -0
  328. package/dist/spec/catalogs/layouts/list-5x.json +16 -0
  329. package/dist/spec/catalogs/layouts/list-6x-box-title-center.json +51 -0
  330. package/dist/spec/catalogs/layouts/list-6x-box-vertical-title-center.json +53 -0
  331. package/dist/spec/catalogs/layouts/list-6x-box-vertical-title-left.json +53 -0
  332. package/dist/spec/catalogs/layouts/list-6x-box-vertical.json +48 -0
  333. package/dist/spec/catalogs/layouts/list-6x-box.json +46 -0
  334. package/dist/spec/catalogs/layouts/list-6x-itemimage-title-center.json +51 -0
  335. package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical-title-center.json +51 -0
  336. package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical-title-left.json +51 -0
  337. package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical.json +46 -0
  338. package/dist/spec/catalogs/layouts/list-6x-title-center.json +50 -0
  339. package/dist/spec/catalogs/layouts/list-6x-vertical-title-center.json +50 -0
  340. package/dist/spec/catalogs/layouts/list-6x-vertical-title-left.json +50 -0
  341. package/dist/spec/catalogs/layouts/list-6x-vertical.json +45 -0
  342. package/dist/spec/catalogs/layouts/list-6x.json +16 -0
  343. package/dist/spec/catalogs/layouts/logic-tree.json +9 -15
  344. package/dist/spec/catalogs/layouts/market-size.json +9 -15
  345. package/dist/spec/catalogs/layouts/matrix-quadrant.json +9 -15
  346. package/dist/spec/catalogs/layouts/media-1x.json +11 -1
  347. package/dist/spec/catalogs/layouts/network-dependency-map.json +10 -15
  348. package/dist/spec/catalogs/layouts/number-1x-box-title-center.json +30 -0
  349. package/dist/spec/catalogs/layouts/number-1x-box.json +25 -0
  350. package/dist/spec/catalogs/layouts/number-1x-title-center.json +29 -0
  351. package/dist/spec/catalogs/layouts/number-1x.json +16 -1
  352. package/dist/spec/catalogs/layouts/number-2x-box-title-center.json +36 -0
  353. package/dist/spec/catalogs/layouts/number-2x-box.json +31 -0
  354. package/dist/spec/catalogs/layouts/number-2x-title-center.json +35 -0
  355. package/dist/spec/catalogs/layouts/number-2x.json +15 -0
  356. package/dist/spec/catalogs/layouts/number-3x-box-title-center.json +39 -0
  357. package/dist/spec/catalogs/layouts/number-3x-box.json +34 -0
  358. package/dist/spec/catalogs/layouts/number-3x-title-center.json +38 -0
  359. package/dist/spec/catalogs/layouts/number-3x.json +15 -0
  360. package/dist/spec/catalogs/layouts/number-4x-box-title-center.json +43 -0
  361. package/dist/spec/catalogs/layouts/number-4x-box.json +38 -0
  362. package/dist/spec/catalogs/layouts/number-4x-title-center.json +42 -0
  363. package/dist/spec/catalogs/layouts/number-4x.json +15 -0
  364. package/dist/spec/catalogs/layouts/number-5x-box-title-center.json +46 -0
  365. package/dist/spec/catalogs/layouts/number-5x-box.json +41 -0
  366. package/dist/spec/catalogs/layouts/number-5x-title-center.json +45 -0
  367. package/dist/spec/catalogs/layouts/number-5x.json +15 -0
  368. package/dist/spec/catalogs/layouts/number-6x-box-title-center.json +49 -0
  369. package/dist/spec/catalogs/layouts/number-6x-box.json +44 -0
  370. package/dist/spec/catalogs/layouts/number-6x-title-center.json +48 -0
  371. package/dist/spec/catalogs/layouts/number-6x.json +15 -0
  372. package/dist/spec/catalogs/layouts/one-column-explainer.json +9 -15
  373. package/dist/spec/catalogs/layouts/org-chart.json +9 -15
  374. package/dist/spec/catalogs/layouts/persona-grid.json +11 -16
  375. package/dist/spec/catalogs/layouts/photo-grid.json +14 -19
  376. package/dist/spec/catalogs/layouts/pricing-table.json +9 -15
  377. package/dist/spec/catalogs/layouts/process-flow.json +9 -15
  378. package/dist/spec/catalogs/layouts/product-feature.json +11 -16
  379. package/dist/spec/catalogs/layouts/pros-cons.json +9 -15
  380. package/dist/spec/catalogs/layouts/qa-discussion.json +7 -15
  381. package/dist/spec/catalogs/layouts/quote-1x.json +11 -1
  382. package/dist/spec/catalogs/layouts/quote-highlight.json +9 -15
  383. package/dist/spec/catalogs/layouts/raci-matrix.json +9 -15
  384. package/dist/spec/catalogs/layouts/risk-heatmap.json +9 -15
  385. package/dist/spec/catalogs/layouts/roadmap.json +9 -15
  386. package/dist/spec/catalogs/layouts/screenshot-walkthrough.json +11 -16
  387. package/dist/spec/catalogs/layouts/section-divider.json +8 -15
  388. package/dist/spec/catalogs/layouts/single-message-statement.json +8 -15
  389. package/dist/spec/catalogs/layouts/stats-metrics.json +9 -15
  390. package/dist/spec/catalogs/layouts/status-rag.json +9 -15
  391. package/dist/spec/catalogs/layouts/swimlane-process.json +11 -16
  392. package/dist/spec/catalogs/layouts/swot-analysis.json +9 -15
  393. package/dist/spec/catalogs/layouts/table-1x.json +10 -0
  394. package/dist/spec/catalogs/layouts/team-bio.json +11 -16
  395. package/dist/spec/catalogs/layouts/testimonial-grid.json +9 -15
  396. package/dist/spec/catalogs/layouts/text-1x-box-title-center.json +31 -0
  397. package/dist/spec/catalogs/layouts/text-1x-box-title-left.json +31 -0
  398. package/dist/spec/catalogs/layouts/text-1x-center-box-title-center.json +31 -0
  399. package/dist/spec/catalogs/layouts/text-1x-center-box-title-left.json +31 -0
  400. package/dist/spec/catalogs/layouts/text-1x-center-box.json +26 -0
  401. package/dist/spec/catalogs/layouts/text-1x-center-title-center.json +30 -0
  402. package/dist/spec/catalogs/layouts/text-1x-center-title-left.json +30 -0
  403. package/dist/spec/catalogs/layouts/text-1x-center.json +25 -0
  404. package/dist/spec/catalogs/layouts/text-1x-left-box.json +26 -0
  405. package/dist/spec/catalogs/layouts/text-1x-title-center.json +30 -0
  406. package/dist/spec/catalogs/layouts/text-1x.json +11 -1
  407. package/dist/spec/catalogs/layouts/text-2x-box-title-center.json +37 -0
  408. package/dist/spec/catalogs/layouts/text-2x-box-vertical-title-left.json +37 -0
  409. package/dist/spec/catalogs/layouts/text-2x-center-box-title-center.json +37 -0
  410. package/dist/spec/catalogs/layouts/text-2x-center-box-vertical-title-left.json +37 -0
  411. package/dist/spec/catalogs/layouts/text-2x-center-box.json +32 -0
  412. package/dist/spec/catalogs/layouts/text-2x-center-title-center.json +36 -0
  413. package/dist/spec/catalogs/layouts/text-2x-center-vertical-title-left.json +36 -0
  414. package/dist/spec/catalogs/layouts/text-2x-center.json +31 -0
  415. package/dist/spec/catalogs/layouts/text-2x-left-box.json +32 -0
  416. package/dist/spec/catalogs/layouts/text-2x-title-center.json +36 -0
  417. package/dist/spec/catalogs/layouts/text-2x-vertical-title-left.json +36 -0
  418. package/dist/spec/catalogs/layouts/text-2x.json +10 -0
  419. package/dist/spec/catalogs/layouts/text-3x-box-title-center.json +40 -0
  420. package/dist/spec/catalogs/layouts/text-3x-box-vertical-title-left.json +41 -0
  421. package/dist/spec/catalogs/layouts/text-3x-center-box-title-center.json +40 -0
  422. package/dist/spec/catalogs/layouts/text-3x-center-box-vertical-title-left.json +41 -0
  423. package/dist/spec/catalogs/layouts/text-3x-center-box.json +35 -0
  424. package/dist/spec/catalogs/layouts/text-3x-center-title-center.json +39 -0
  425. package/dist/spec/catalogs/layouts/text-3x-center-vertical-title-left.json +40 -0
  426. package/dist/spec/catalogs/layouts/text-3x-center.json +34 -0
  427. package/dist/spec/catalogs/layouts/text-3x-left-box.json +35 -0
  428. package/dist/spec/catalogs/layouts/text-3x-left.json +34 -0
  429. package/dist/spec/catalogs/layouts/text-3x-title-center.json +39 -0
  430. package/dist/spec/catalogs/layouts/text-3x-vertical-title-left.json +40 -0
  431. package/dist/spec/catalogs/layouts/text-3x.json +10 -0
  432. package/dist/spec/catalogs/layouts/thank-you-cta.json +8 -15
  433. package/dist/spec/catalogs/layouts/three-column.json +9 -15
  434. package/dist/spec/catalogs/layouts/timeline-1x.json +11 -1
  435. package/dist/spec/catalogs/layouts/timeline.json +9 -15
  436. package/dist/spec/catalogs/layouts/title-center-box.json +27 -0
  437. package/dist/spec/catalogs/layouts/title-center-image-bottom.json +34 -0
  438. package/dist/spec/catalogs/layouts/title-center-image-top.json +34 -0
  439. package/dist/spec/catalogs/layouts/title-center.json +26 -0
  440. package/dist/spec/catalogs/layouts/title-left-image-bottom.json +34 -0
  441. package/dist/spec/catalogs/layouts/title-left-image-left.json +34 -0
  442. package/dist/spec/catalogs/layouts/title-left-image-right.json +34 -0
  443. package/dist/spec/catalogs/layouts/title-left-image-top.json +34 -0
  444. package/dist/spec/catalogs/layouts/title-slide.json +8 -15
  445. package/dist/spec/catalogs/layouts/title-subtitle.json +11 -1
  446. package/dist/spec/catalogs/layouts/title.json +11 -1
  447. package/dist/spec/catalogs/layouts/two-column.json +9 -15
  448. package/dist/spec/catalogs/layouts/venn-overlap.json +9 -15
  449. package/dist/spec/catalogs/layouts/waterfall-bridge.json +9 -15
  450. package/dist/spec/catalogs/layouts/wheel-radial.json +9 -15
  451. package/dist/spec/catalogs/manifest.json +22 -22
  452. package/dist/spec/catalogs/narratives/board-meeting.json +45 -45
  453. package/dist/spec/catalogs/narratives/business-narrative.json +19 -19
  454. package/dist/spec/catalogs/narratives/business-review.json +27 -27
  455. package/dist/spec/catalogs/narratives/capacity-planning.json +19 -19
  456. package/dist/spec/catalogs/narratives/challenge-resolution.json +17 -17
  457. package/dist/spec/catalogs/narratives/change-story.json +13 -13
  458. package/dist/spec/catalogs/narratives/classic-story.json +17 -17
  459. package/dist/spec/catalogs/narratives/company-intro.json +21 -21
  460. package/dist/spec/catalogs/narratives/conference-talk.json +4 -4
  461. package/dist/spec/catalogs/narratives/data-story.json +13 -14
  462. package/dist/spec/catalogs/narratives/early-startup-pitch.json +27 -27
  463. package/dist/spec/catalogs/narratives/educate.json +21 -21
  464. package/dist/spec/catalogs/narratives/employee-review.json +19 -19
  465. package/dist/spec/catalogs/narratives/failure-analysis.json +23 -23
  466. package/dist/spec/catalogs/narratives/focus.json +27 -27
  467. package/dist/spec/catalogs/narratives/golden-circle.json +4 -4
  468. package/dist/spec/catalogs/narratives/heros-journey.json +13 -13
  469. package/dist/spec/catalogs/narratives/index.json +145 -145
  470. package/dist/spec/catalogs/narratives/innovation.json +21 -21
  471. package/dist/spec/catalogs/narratives/justice.json +25 -25
  472. package/dist/spec/catalogs/narratives/marketing-strategy.json +25 -25
  473. package/dist/spec/catalogs/narratives/performance-improvement-plan.json +19 -19
  474. package/dist/spec/catalogs/narratives/performance-review.json +25 -25
  475. package/dist/spec/catalogs/narratives/persuade.json +17 -17
  476. package/dist/spec/catalogs/narratives/persuasive-sales.json +19 -19
  477. package/dist/spec/catalogs/narratives/pitch-deck.json +6 -6
  478. package/dist/spec/catalogs/narratives/problem-solution.json +5 -5
  479. package/dist/spec/catalogs/narratives/product-launch.json +23 -23
  480. package/dist/spec/catalogs/narratives/project-proposal.json +23 -23
  481. package/dist/spec/catalogs/narratives/pyramid-principle.json +9 -9
  482. package/dist/spec/catalogs/narratives/qbr.json +8 -8
  483. package/dist/spec/catalogs/narratives/rags-to-riches.json +17 -17
  484. package/dist/spec/catalogs/narratives/reveal.json +19 -19
  485. package/dist/spec/catalogs/narratives/scqa.json +4 -4
  486. package/dist/spec/catalogs/narratives/situation-complication-resolution.json +11 -11
  487. package/dist/spec/catalogs/narratives/sparkline.json +11 -11
  488. package/dist/spec/catalogs/narratives/star-method.json +11 -11
  489. package/dist/spec/catalogs/narratives/status-update.json +15 -15
  490. package/dist/spec/catalogs/narratives/strategic-advisory.json +17 -17
  491. package/dist/spec/catalogs/narratives/strategic-narrative.json +4 -4
  492. package/dist/spec/catalogs/narratives/survey-analysis.json +23 -23
  493. package/dist/spec/catalogs/narratives/survival-story.json +23 -23
  494. package/dist/spec/catalogs/narratives/transformation-arc.json +4 -4
  495. package/dist/spec/catalogs/narratives/trend-analysis.json +17 -17
  496. package/dist/spec/catalogs/narratives/underdog-victory.json +19 -19
  497. package/dist/spec/catalogs/narratives/venture-pitch.json +27 -27
  498. package/dist/spec/catalogs/narratives/vision-roadmap.json +13 -13
  499. package/dist/spec/catalogs/narratives/weekly-progress.json +23 -23
  500. package/dist/spec/catalogs/narratives/what-so-what-now-what.json +9 -9
  501. package/dist/spec/openapi.yaml +4 -7
  502. package/dist/spec/reference/engine-defaults.json +22 -30
  503. package/dist/spec/reference/engine-vocabularies.json +1577 -0
  504. package/dist/spec/schemas/audience.schema.json +6 -27
  505. package/dist/spec/schemas/catalog-index.schema.json +2 -2
  506. package/dist/spec/schemas/catalog-manifest.schema.json +3 -3
  507. package/dist/spec/schemas/chart-type.schema.json +17 -321
  508. package/dist/spec/schemas/color-scheme.schema.json +23 -36
  509. package/dist/spec/schemas/finding.schema.json +191 -0
  510. package/dist/spec/schemas/font-scheme.schema.json +17 -75
  511. package/dist/spec/schemas/language.schema.json +7 -28
  512. package/dist/spec/schemas/layout.schema.json +130 -184
  513. package/dist/spec/schemas/narrative.schema.json +20 -48
  514. package/dist/spec/schemas/opf.schema.json +678 -701
  515. package/dist/spec/schemas/purpose.schema.json +5 -26
  516. package/dist/spec/schemas/social-platform.schema.json +2 -48
  517. package/dist/spec/schemas/theme.schema.json +13 -38
  518. package/dist/spec/schemas/tone.schema.json +4 -25
  519. package/dist/spec-files.d.ts +1 -1
  520. package/dist/spec-files.js +1 -1
  521. package/dist/symbol-font-encodings.js +18448 -1
  522. package/dist/types.d.ts +1125 -4
  523. package/dist/validation-types-BOcY9GTs.d.ts +276 -0
  524. package/dist/validator.d.ts +63 -4
  525. package/dist/validator.js +5 -5
  526. package/dist/yaml.d.ts +102 -0
  527. package/dist/yaml.js +322 -0
  528. package/package.json +9 -17
  529. package/dist/audit.d.ts +0 -35
  530. package/dist/audit.js +0 -7
  531. package/dist/catalogs-ywCamd8C.d.ts +0 -1465
  532. package/dist/catalogs.d.ts +0 -2
  533. package/dist/catalogs.js +0 -2
  534. package/dist/chunk-7N4VMAT4.js +0 -1694
  535. package/dist/chunk-FYLJVF7X.js +0 -18448
  536. package/dist/chunk-INU7ZNSB.js +0 -670
  537. package/dist/chunk-IYCJUKWD.js +0 -951
  538. package/dist/chunk-PIQXLBBJ.js +0 -445
  539. package/dist/chunk-S5W34SIJ.js +0 -1
  540. package/dist/lint-B7azdiuE.d.ts +0 -197
  541. package/dist/lint.d.ts +0 -7
  542. package/dist/lint.js +0 -6
  543. package/dist/previews.d.ts +0 -40
  544. package/dist/previews.js +0 -1
  545. package/dist/schemas-BbPonsTz.d.ts +0 -270
  546. package/dist/spec/catalogs/audiences/customers.json +0 -27
  547. package/dist/spec/catalogs/audiences/executives.json +0 -27
  548. package/dist/spec/catalogs/audiences/investors.json +0 -27
  549. package/dist/spec/catalogs/audiences/marketing-team.json +0 -27
  550. package/dist/spec/catalogs/audiences/regulators.json +0 -27
  551. package/dist/spec/catalogs/audiences/sales-team.json +0 -27
  552. package/dist/spec/catalogs/chart-types/100pct-bullet-bar-2x.json +0 -91
  553. package/dist/spec/catalogs/chart-types/100pct-bullet-bar-3x.json +0 -103
  554. package/dist/spec/catalogs/chart-types/100pct-bullet-bar.json +0 -79
  555. package/dist/spec/catalogs/chart-types/100pct-bullet-column-2x.json +0 -91
  556. package/dist/spec/catalogs/chart-types/100pct-bullet-column-3x.json +0 -103
  557. package/dist/spec/catalogs/chart-types/100pct-bullet-column.json +0 -79
  558. package/dist/spec/catalogs/chart-types/100pct-progress-bar.json +0 -105
  559. package/dist/spec/catalogs/chart-types/100pct-stacked-area-2x.json +0 -106
  560. package/dist/spec/catalogs/chart-types/100pct-stacked-area-3x.json +0 -123
  561. package/dist/spec/catalogs/chart-types/100pct-stacked-bar-2x.json +0 -89
  562. package/dist/spec/catalogs/chart-types/100pct-stacked-bar-3x.json +0 -100
  563. package/dist/spec/catalogs/chart-types/100pct-stacked-column-2x.json +0 -95
  564. package/dist/spec/catalogs/chart-types/100pct-stacked-column-3x.json +0 -108
  565. package/dist/spec/catalogs/chart-types/australia.json +0 -76
  566. package/dist/spec/catalogs/chart-types/box-and-whisker-2x.json +0 -136
  567. package/dist/spec/catalogs/chart-types/box-and-whisker-3x.json +0 -168
  568. package/dist/spec/catalogs/chart-types/bullet-bar-2x.json +0 -89
  569. package/dist/spec/catalogs/chart-types/bullet-bar-3x.json +0 -101
  570. package/dist/spec/catalogs/chart-types/bullet-bar.json +0 -77
  571. package/dist/spec/catalogs/chart-types/bullet-column-2x.json +0 -89
  572. package/dist/spec/catalogs/chart-types/bullet-column-3x.json +0 -101
  573. package/dist/spec/catalogs/chart-types/bullet-column.json +0 -77
  574. package/dist/spec/catalogs/chart-types/canada.json +0 -86
  575. package/dist/spec/catalogs/chart-types/clustered-bar-2x.json +0 -89
  576. package/dist/spec/catalogs/chart-types/clustered-column.json +0 -95
  577. package/dist/spec/catalogs/chart-types/dot-plot-2x.json +0 -99
  578. package/dist/spec/catalogs/chart-types/dot-plot-3x.json +0 -124
  579. package/dist/spec/catalogs/chart-types/dot-plot-4x.json +0 -149
  580. package/dist/spec/catalogs/chart-types/dot-plot-5x.json +0 -174
  581. package/dist/spec/catalogs/chart-types/dot-plot-6x.json +0 -199
  582. package/dist/spec/catalogs/chart-types/dot-plot.json +0 -74
  583. package/dist/spec/catalogs/chart-types/dumbbell.json +0 -120
  584. package/dist/spec/catalogs/chart-types/line-2x.json +0 -105
  585. package/dist/spec/catalogs/chart-types/line-3x.json +0 -127
  586. package/dist/spec/catalogs/chart-types/line-with-high-low-and-markers.json +0 -144
  587. package/dist/spec/catalogs/chart-types/line-with-high-low.json +0 -144
  588. package/dist/spec/catalogs/chart-types/line-with-markers-2x.json +0 -106
  589. package/dist/spec/catalogs/chart-types/line-with-markers-3x.json +0 -128
  590. package/dist/spec/catalogs/chart-types/sparkline-2x.json +0 -138
  591. package/dist/spec/catalogs/chart-types/sparkline-3x.json +0 -174
  592. package/dist/spec/catalogs/chart-types/sparkline-4x.json +0 -210
  593. package/dist/spec/catalogs/chart-types/sparkline-5x.json +0 -246
  594. package/dist/spec/catalogs/chart-types/sparkline-6x.json +0 -282
  595. package/dist/spec/catalogs/chart-types/sparkline.json +0 -102
  596. package/dist/spec/catalogs/chart-types/stacked-area-2x.json +0 -106
  597. package/dist/spec/catalogs/chart-types/stacked-area-3x.json +0 -123
  598. package/dist/spec/catalogs/chart-types/stacked-bar-2x.json +0 -89
  599. package/dist/spec/catalogs/chart-types/stacked-bar-3x.json +0 -100
  600. package/dist/spec/catalogs/chart-types/stacked-column-2x.json +0 -95
  601. package/dist/spec/catalogs/chart-types/stacked-column-3x.json +0 -108
  602. package/dist/spec/catalogs/chart-types/stacked-line-2x.json +0 -106
  603. package/dist/spec/catalogs/chart-types/stacked-line-3x.json +0 -123
  604. package/dist/spec/catalogs/chart-types/stacked-line-with-markers-2x.json +0 -107
  605. package/dist/spec/catalogs/chart-types/stacked-line-with-markers-3x.json +0 -124
  606. package/dist/spec/catalogs/chart-types/treemap-2x.json +0 -101
  607. package/dist/spec/catalogs/chart-types/treemap-3x.json +0 -122
  608. package/dist/spec/catalogs/chart-types/united-kingdom.json +0 -68
  609. package/dist/spec/catalogs/chart-types/united-states.json +0 -82
  610. package/dist/spec/catalogs/layouts/image-bleed.json +0 -10
  611. package/dist/validator-CIylxoIm.d.ts +0 -172
@@ -1,2 +1,3 @@
1
- export { A as AnnotatedRun, a as AnnotationFitter, b as AnnotationLayoutOptions, c as CAPTIONABLE_FIELDS, d as CAPTION_FONT_RATIO, e as CAPTION_MAX_RATIO, f as CHART_SERIES_MIN_DIFFERENCE, g as CHART_SERIES_MIN_LIGHTNESS_STEP, h as CITATION_MARKER_RAISE, i as CITATION_MARKER_SCALE, j as Caption, k as CaptionAlignment, l as CaptionObject, m as CaptionPosition, n as CaptionSettings, o as ChartLabelContent, p as ChartLabelPosition, q as ChartLegendPosition, r as ChartOptionDiagnostic, s as ChartOptionKind, t as ChartOptionSupport, u as ChartOptionTarget, v as CitationMarker, w as CitationNote, x as CodeContent, y as CodeLayout, z as CodeLayoutDiagnostic, B as CodeLayoutOptions, D as CodeLineSegment, E as CodeLineSource, G as CodeTextFit, H as CodeTextPart, C as ComposeSlideOptions, I as ComposedCaption, J as ComposedFlow, K as ComposedFootnoteEntry, N as ComposedFootnotes, O as ComposedGroup, P as ComposedItem, Q as ComposedLogo, R as ComposedSlideImage, S as Composition, U as CompositionCandidate, V as CompositionDecision, W as CompositionExplanation, X as CompositionPenalties, Y as CompositionTrack, Z as DEFAULT_CHART_LABEL_SEPARATOR, _ as DEFAULT_FONT_SCHEME, $ as DEFAULT_FURNITURE_DATE_FORMAT, a0 as DEFAULT_SLIDE_NUMBER_FORMAT, a1 as DeckCitations, a2 as FONT_SIZE_GRID_PER_PX, a3 as FOOTNOTE_MAX_RATIO, c7 as FontFaceSelection, a4 as FontFamilies, F as FontSchemeDiagnostic, a5 as FootnoteLayoutOptions, a6 as FurnitureField, a7 as FurnitureImagePart, a8 as FurnitureLayout, a9 as FurniturePart, aa as FurniturePartBase, ab as FurnitureSocialLink, ac as FurnitureTextExtras, ad as FurnitureTextPart, ae as LayoutBox, L as LayoutDiagnostic, af as ListBulletImage, ag as ListEntryLayout, ah as ListFit, ai as ListFitOptions, aj as ListNumber, ak as ListText, al as ListValue, am as LogoSlot, an as MAX_COMPOSITION_DEPTH, ao as MAX_NUMBERING_LEVELS, ap as MAX_NUMBERING_VALUE, aq as MAX_ROMAN_VALUE, ar as MeasureTextWidth, as as MetricContent, M as MetricLayout, at as MetricLayoutDiagnostic, au as MetricLayoutOptions, av as MetricTextPart, aw as MetricTextSource, ax as NUMBERING_STYLES, ay as NUMBERING_SUFFIXES, az as Numbering, aA as NumberingInput, aB as NumberingStyleName, aC as NumberingSuffix, aD as OPFCompositionError, aE as PICTURE_BULLET_SCALE, aF as PhysicalAlignment, aG as QuoteContent, aH as QuoteLayout, aI as QuoteLayoutDiagnostic, aJ as QuoteLayoutOptions, aK as QuoteTextPart, aL as QuoteTextSource, c8 as ReadingBox, aM as Reference, aN as ReferencesSlideOptions, aQ as ResolveLogoOptions, aR as ResolvedChartDataLabels, aS as ResolvedChartOptions, aT as ResolvedFontScheme, aU as ResolvedLogo, aV as ResolvedNumbering, aW as RichText, aX as RichTextFit, aY as RichTextFragment, aZ as RichTextLine, a_ as RichTextOptions, a$ as RichTextRun, b0 as SlideCitations, b1 as SlideComposition, b2 as SlideImageShape, b3 as SocialPlatformRecord, b4 as SocialProfile, c9 as SourceTextFit, ca as TableBorder, cb as TableCellLayout, cc as TableCellStyle, cd as TableGrid, ce as TableGridCell, cf as TableGridIssue, cg as TableLayout, ch as TableLayoutOptions, ci as TableRowLayout, b5 as TextDirection, b6 as TextFit, b7 as TextLineInk, cj as TextLineSegment, ck as TextLineSource, T as TextMeasurement, b8 as TextPlacement, b9 as TextPlacementLine, ba as TextStyle, bb as TimelineContent, bc as TimelineEvent, bd as TimelineLayout, be as TimelineLayoutDiagnostic, bf as TimelineLayoutOptions, bg as TimelineTextPart, bh as annotationText, bi as captionSettings, bj as chartColorForFill, bk as chartLabelText, bl as chartOptionSupport, bm as chartOptionTarget, bn as chartPaletteForFill, bo as citationMarkerText, bp as collectCitations, bq as colorContrast, br as composeSlide, bs as fitList, bt as fitRichText, bu as fitText, bv as formatChartLabelNumber, bw as formatChartLabelPercent, bx as formatFurnitureDate, by as formatListNumber, bz as formatSlideNumber, bA as layoutCaption, bB as layoutCode, bC as layoutFootnotes, bD as layoutFurniture, bE as layoutMetric, bF as layoutQuote, cl as layoutTable, bG as layoutTimeline, bH as listNumbers, bI as measureText, bJ as measureTextOutline, bL as numberingAtLevel, bM as numberingStyleDraws, bN as paragraphDirection, bO as paragraphDirectionAt, bP as physicalAlignment, bQ as placeTextLines, bR as referencesSlide, bS as resolveCanvasDimensions, bT as resolveChartOptions, bV as resolveFontFamilies, bW as resolveFontSchemeReference, bX as resolveLogo, bY as resolveNumbering, bZ as resolveSocialProfile, b_ as resolveTextStyle, b$ as sliceNumberedItems, c0 as slideCitations, cm as slideImageShape, c1 as snapFontSizeDown, c2 as snapFontSizeUp, cn as tableGrid, co as tableRowBoundaries, c3 as textColorForFill, c4 as textWidthMeasurer, cp as visualReadingOrder, c5 as walkCitationRuns, c6 as wrapText } from './composition-D7we69Tr.js';
2
- export { C as ChartMapping, D as DataCellValue, d as DataColumn, e as DataDiagnostic, h as DataSourceRef, j as DataTableCell, k as DataTableHeader, n as Dataset, o as DatasetRef, R as ResolvedChartData, p as ResolvedTableData, q as chartNumber, s as excelNumberFormat, t as formatDataNumber, u as inlineChartData, v as inlineDatasets, w as inlineTableData, x as isDatasetRef, y as isXYChartType, z as numberFormatError, A as numberFormatFromExcel, B as resolveChartData, E as resolveTableData, G as tableCellDisplayValue } from './chart-data-Cdr6rRVV.js';
1
+ export { A as AnnotatedRun, k as AnnotationFitter, l as AnnotationLayoutOptions, B as BackgroundImageFit, m as CAPTIONABLE_FIELDS, o as CAPTION_FONT_RATIO, p as CAPTION_MAX_RATIO, q as CHART_HIGHLIGHT_MUTED_MIN_CONTRAST, r as CHART_HIGHLIGHT_MUTED_MIX, s as CHART_SERIES_MIN_DIFFERENCE, t as CHART_SERIES_MIN_LIGHTNESS_STEP, a as CHART_TYPES, u as CITATION_MARKER_RAISE, v as CITATION_MARKER_SCALE, w as CODE_HIGHLIGHT_LANGUAGES, x as CODE_HIGHLIGHT_MAX_LENGTH, y as CODE_PANEL_BACKGROUND, z as CODE_PANEL_FOREGROUND, D as CODE_SYNTAX_MIN_CONTRAST, G as Caption, H as CaptionAlignment, I as CaptionObject, J as CaptionPosition, K as CaptionSettings, N as ChartHighlightMarks, O as ChartLabelContent, P as ChartLabelPosition, Q as ChartLegendPosition, R as ChartOptionDiagnostic, U as ChartOptionKind, V as ChartOptionSupport, W as ChartOptionTarget, X as CitationMarker, Y as CitationNote, Z as CodeContent, _ as CodeHighlightBand, $ as CodeHighlightColors, a0 as CodeHighlightEntry, a1 as CodeHighlightIssue, a2 as CodeHighlightLines, a3 as CodeLayout, a4 as CodeLayoutDiagnostic, a5 as CodeLayoutOptions, a6 as CodeLineSegment, a7 as CodeLineSource, a8 as CodeRun, a9 as CodeSyntaxPalette, aa as CodeSyntaxPaletteOptions, ab as CodeSyntaxPaletteTheme, ac as CodeTextFit, ad as CodeTextPart, ae as CodeToken, af as CodeTokenKind, C as ComposeSlideOptions, ag as ComposedBackgroundImage, ah as ComposedCaption, ai as ComposedFlow, aj as ComposedFootnoteEntry, ak as ComposedFootnotes, al as ComposedGroup, am as ComposedImage, an as ComposedItem, ao as ComposedLogo, ap as ComposedOverlay, aq as ComposedPlacement, ar as Composition, as as CompositionCandidate, at as CompositionDecision, au as CompositionExplanation, av as CompositionPenalties, aw as CompositionTrack, ax as DARK_BACKGROUND_LUMINANCE, ay as DEFAULT_CHART_LABEL_SEPARATOR, az as DEFAULT_FURNITURE_DATE_FORMAT, aA as DEFAULT_SLIDE_NUMBER_FORMAT, aB as DESIGN_HINT_KEYS, aC as DeckCitations, aD as DesignHintKey, aE as DesignHintSource, aF as DesignHints, E as ENGINE_DEFAULT_CHART_TYPES, b as ENGINE_DEFAULT_COLOR_SCHEME, c as ENGINE_DEFAULT_FONT_SCHEME, d as ENGINE_DEFAULT_THEME, aG as FONT_SIZE_GRID_PER_PX, aH as FOOTNOTE_MAX_RATIO, aI as FontFaceSelection, e as FontFamilies, F as Fonts, aJ as FootnoteLayoutOptions, aK as FurnitureField, aL as FurnitureImagePart, aM as FurnitureLayout, aN as FurniturePart, aO as FurniturePartBase, aP as FurnitureSocialLink, aQ as FurnitureTextExtras, aR as FurnitureTextPart, aS as ImageEdge, aT as ImageFit, aU as ImageFitPlacement, aV as ImageFocus, aW as ImageShape, f as LANGUAGES, aX as LAYOUT_BODY_KINDS, h as LanguageVocabulary, aY as LayoutBodyKind, aZ as LayoutBox, a_ as LayoutContent, L as LayoutDiagnostic, a$ as ListBulletImage, b0 as ListEntryLayout, b1 as ListFit, b2 as ListFitOptions, b3 as ListNumber, b4 as ListText, b5 as ListValue, b6 as LogoSlot, b7 as MAX_COMPOSITION_DEPTH, b8 as MAX_NUMBERING_LEVELS, b9 as MAX_NUMBERING_VALUE, ba as MAX_ROMAN_VALUE, bb as METRIC_TREND_MIN_CONTRAST, bc as METRIC_TREND_SHAPES, M as MeasureTextWidth, bd as MetricContent, be as MetricLayout, bf as MetricLayoutDiagnostic, bg as MetricLayoutOptions, bh as MetricSentiment, bi as MetricTextPart, bj as MetricTextSource, bk as MetricTrend, bl as MetricTrendColorOptions, bm as MetricTrendMark, bn as NUMBERING_STYLES, bo as NUMBERING_SUFFIXES, bp as Numbering, bq as NumberingInput, br as NumberingStyleName, bs as NumberingSuffix, bt as OPFCompositionError, bu as PATTERN_PRESETS, bv as PATTERN_PRESET_ALIASES, bw as PATTERN_TILE_SIZE, bx as PICTURE_BULLET_SCALE, by as PhysicalAlignment, bz as QuoteContent, bA as QuoteLayout, bB as QuoteLayoutDiagnostic, bC as QuoteLayoutOptions, bD as QuotePhoto, bE as QuoteTextPart, bF as QuoteTextSource, bG as ReadingBox, bH as Reference, bI as ReferencesSlideOptions, bJ as ResolveColorRefOptions, bK as ResolveColorRefRoles, bL as ResolveColorRolesOptions, bM as ResolveDesignHintsOptions, bN as ResolveLogoOptions, bO as ResolveScriptFontsOptions, bP as ResolvedChartDataLabels, bQ as ResolvedChartHighlight, bR as ResolvedChartOptions, bS as ResolvedColorRoles, bT as ResolvedDesignHints, bU as ResolvedLogo, bV as ResolvedNumbering, bW as ResolvedScriptFonts, bX as RichText, bY as RichTextFit, bZ as RichTextFragment, b_ as RichTextLine, b$ as RichTextOptions, c0 as RichTextRun, S as SOCIAL_PLATFORMS, c1 as SURFACE_ALT_MIN_CONTRAST, c2 as SURFACE_ALT_MIX, c3 as ScriptFontApp, c4 as ScriptFontSlots, c5 as ScriptFontSource, c6 as ScriptFontSupplement, c7 as ScriptRole, c8 as SlideCitations, c9 as SlideComposition, i as SocialPlatformVocabulary, ca as SocialProfile, cb as SourceTextFit, cc as TIMELINE_OUTLINE_MIN_CONTRAST, cd as TIMELINE_STATUSES, ce as TIMELINE_TEXT_MIN_CONTRAST, cf as TableBorder, cg as TableCellLayout, ch as TableCellStyle, ci as TableGrid, cj as TableGridCell, ck as TableGridIssue, cl as TableLayout, cm as TableLayoutOptions, cn as TableRowLayout, co as TextDirection, cp as TextFit, cq as TextLineInk, cr as TextLineSegment, cs as TextLineSource, T as TextMeasurement, ct as TextPlacement, cu as TextPlacementLine, j as TextStyle, cv as TimelineContent, cw as TimelineEvent, cx as TimelineLayout, cy as TimelineLayoutDiagnostic, cz as TimelineLayoutOptions, cA as TimelineMarkerShape, cB as TimelineStatus, cC as TimelineStatusColors, cD as TimelineTextPart, cE as WatermarkTextLayout, cF as WatermarkTextOptions, cG as annotationText, cH as captionSettings, cI as chartColorForFill, cJ as chartHighlightColors, cK as chartHighlightMarks, cL as chartLabelText, cM as chartOptionSupport, cN as chartOptionTarget, cO as chartPaletteForFill, cP as citationMarkerText, cQ as codeHighlightBands, cR as codeHighlightColors, cS as codeHighlightLines, cT as codeLineNumbers, cU as codeLineRuns, cV as codeSyntaxPalette, cW as codeSyntaxPaletteForScheme, cX as collectCitations, cY as colorContrast, cZ as composeSlide, c_ as defaultSlideBackground, c$ as fitImage, d0 as fitList, d1 as fitRichText, d2 as fitText, d3 as formatChartLabelNumber, d4 as formatChartLabelPercent, d5 as formatFurnitureDate, d6 as formatListNumber, d7 as formatSlideNumber, d8 as imageBackground, d9 as imageShape, da as intrinsicImageAspect, db as intrinsicImageSize, dc as isDarkColor, dd as layoutCaption, de as layoutCode, df as layoutContent, dg as layoutFootnotes, dh as layoutFurniture, di as layoutMetric, dj as layoutQuote, dk as layoutTable, dl as layoutTimeline, dm as layoutWatermark, dn as listNumbers, dp as measureText, dq as measureTextOutline, dr as metricTrendColor, ds as metricTrendMark, dt as metricTrendPoints, du as normalizeHexColor, dv as numberingAtLevel, dw as numberingStyleDraws, dx as paragraphDirection, dy as paragraphDirectionAt, dz as patternBitmap, dA as patternRuns, dB as physicalAlignment, dC as placeTextLines, dD as referencesSlide, dE as resolveCanvasDimensions, dF as resolveChartOptions, dG as resolveCodeLanguage, dH as resolveColorRef, dI as resolveColorRoles, dJ as resolveDesignHints, dK as resolveFontFamilies, dL as resolveLogo, dM as resolveNumbering, dN as resolvePatternPreset, dO as resolveScriptFonts, dP as resolveSlideDirection, dQ as resolveSocialProfile, dR as resolveTextStyle, dS as scriptFontRole, dT as sliceNumberedItems, dU as slideCitations, dV as snapFontSizeDown, dW as snapFontSizeUp, dX as surfaceAltColor, dY as tableGrid, dZ as tableRowBoundaries, d_ as textColorForFill, d$ as textWidthMeasurer, e0 as timelineMarkerShapes, e1 as timelineTextColor, e2 as tokenizeCode, e3 as visualReadingOrder, e4 as walkCitationRuns, e5 as wrapText } from './composition-D2tghM82.js';
2
+ export { d as CATALOG_REFERENCE_PATTERN, a as Catalog, C as CatalogKind, b as CatalogOptions, f as CatalogRecords, g as CatalogReferenceSite, O as OPFCatalogsOptionError, h as OPFUnresolvedReferenceError, R as RecordProvenance, i as ResolvedReference, U as UnresolvedReferenceDiagnostic, j as catalogGroupSource, k as catalogKinds, l as catalogRecords, m as catalogReferenceSites, p as parseReference, r as resolveReference, u as unresolvedReference } from './catalog-refs-BSfGELpt.js';
3
+ export { I as ChartComboSeries, C as ChartMapping, D as DataCellValue, d as DataColumn, e as DataDiagnostic, h as DataSourceRef, j as DataTableCell, k as DataTableHeader, n as Dataset, o as DatasetRef, R as ResolvedChartData, p as ResolvedTableData, q as chartNumber, s as formatDataNumber, t as fromExcelNumberFormat, u as inlineChartData, v as inlineDatasets, w as inlineTableData, x as isDatasetRef, y as isXYChartType, z as numberFormatError, A as resolveChartData, B as resolveTableData, F as tableCellDisplayValue, G as toExcelNumberFormat } from './chart-data-BnNqgnC-.js';
@@ -1,2 +1,2 @@
1
- export { CAPTIONABLE_FIELDS, CAPTION_FONT_RATIO, CAPTION_MAX_RATIO, CHART_SERIES_MIN_DIFFERENCE, CHART_SERIES_MIN_LIGHTNESS_STEP, CITATION_MARKER_RAISE, CITATION_MARKER_SCALE, DEFAULT_CHART_LABEL_SEPARATOR, DEFAULT_FONT_SCHEME, DEFAULT_FURNITURE_DATE_FORMAT, DEFAULT_SLIDE_NUMBER_FORMAT, FONT_SIZE_GRID_PER_PX, FOOTNOTE_MAX_RATIO, MAX_COMPOSITION_DEPTH, MAX_NUMBERING_LEVELS, MAX_NUMBERING_VALUE, MAX_ROMAN_VALUE, NUMBERING_STYLES, NUMBERING_SUFFIXES, OPFCompositionError, PICTURE_BULLET_SCALE, annotationText, captionSettings, chartColorForFill, chartLabelText, chartNumber, chartOptionSupport, chartOptionTarget, chartPaletteForFill, citationMarkerText, collectCitations, colorContrast, composeSlide, excelNumberFormat, fitList, fitRichText, fitText, formatChartLabelNumber, formatChartLabelPercent, formatDataNumber, formatFurnitureDate, formatListNumber, formatSlideNumber, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isXYChartType, layoutCaption, layoutCode, layoutFootnotes, layoutFurniture, layoutMetric, layoutQuote, layoutTable, layoutTimeline, listNumbers, measureText, measureTextOutline, numberFormatError, numberFormatFromExcel, numberingAtLevel, numberingStyleDraws, paragraphDirection, paragraphDirectionAt, physicalAlignment, placeTextLines, referencesSlide, resolveCanvasDimensions, resolveChartData, resolveChartOptions, resolveFontFamilies, resolveFontSchemeReference, resolveLogo, resolveNumbering, resolveSocialProfile, resolveTableData, resolveTextStyle, sliceNumberedItems, slideCitations, slideImageShape, snapFontSizeDown, snapFontSizeUp, tableCellDisplayValue, tableGrid, tableRowBoundaries, textColorForFill, textWidthMeasurer, visualReadingOrder, walkCitationRuns, wrapText } from './chunk-MPM7NRG7.js';
2
- import './chunk-E34DJ5LL.js';
1
+ export { CAPTIONABLE_FIELDS, CAPTION_FONT_RATIO, CAPTION_MAX_RATIO, CHART_HIGHLIGHT_MUTED_MIN_CONTRAST, CHART_HIGHLIGHT_MUTED_MIX, CHART_SERIES_MIN_DIFFERENCE, CHART_SERIES_MIN_LIGHTNESS_STEP, CHART_TYPES, CITATION_MARKER_RAISE, CITATION_MARKER_SCALE, CODE_HIGHLIGHT_LANGUAGES, CODE_HIGHLIGHT_MAX_LENGTH, CODE_PANEL_BACKGROUND, CODE_PANEL_FOREGROUND, CODE_SYNTAX_MIN_CONTRAST, DARK_BACKGROUND_LUMINANCE, DEFAULT_CHART_LABEL_SEPARATOR, DEFAULT_FURNITURE_DATE_FORMAT, DEFAULT_SLIDE_NUMBER_FORMAT, DESIGN_HINT_KEYS, ENGINE_DEFAULT_CHART_TYPES, ENGINE_DEFAULT_COLOR_SCHEME, ENGINE_DEFAULT_FONT_SCHEME, ENGINE_DEFAULT_THEME, FONT_SIZE_GRID_PER_PX, FOOTNOTE_MAX_RATIO, LANGUAGES, LAYOUT_BODY_KINDS, MAX_COMPOSITION_DEPTH, MAX_NUMBERING_LEVELS, MAX_NUMBERING_VALUE, MAX_ROMAN_VALUE, METRIC_TREND_MIN_CONTRAST, METRIC_TREND_SHAPES, NUMBERING_STYLES, NUMBERING_SUFFIXES, OPFCompositionError, PATTERN_PRESETS, PATTERN_PRESET_ALIASES, PATTERN_TILE_SIZE, PICTURE_BULLET_SCALE, SOCIAL_PLATFORMS, SURFACE_ALT_MIN_CONTRAST, SURFACE_ALT_MIX, TIMELINE_OUTLINE_MIN_CONTRAST, TIMELINE_STATUSES, TIMELINE_TEXT_MIN_CONTRAST, annotationText, captionSettings, chartColorForFill, chartHighlightColors, chartHighlightMarks, chartLabelText, chartNumber, chartOptionSupport, chartOptionTarget, chartPaletteForFill, citationMarkerText, codeHighlightBands, codeHighlightColors, codeHighlightLines, codeLineNumbers, codeLineRuns, codeSyntaxPalette, codeSyntaxPaletteForScheme, collectCitations, colorContrast, composeSlide, defaultSlideBackground, fitImage, fitList, fitRichText, fitText, formatChartLabelNumber, formatChartLabelPercent, formatDataNumber, formatFurnitureDate, formatListNumber, formatSlideNumber, fromExcelNumberFormat, imageBackground, imageShape, inlineChartData, inlineDatasets, inlineTableData, intrinsicImageAspect, intrinsicImageSize, isDarkColor, isDatasetRef, isXYChartType, layoutCaption, layoutCode, layoutContent, layoutFootnotes, layoutFurniture, layoutMetric, layoutQuote, layoutTable, layoutTimeline, layoutWatermark, listNumbers, measureText, measureTextOutline, metricTrendColor, metricTrendMark, metricTrendPoints, normalizeHexColor, numberFormatError, numberingAtLevel, numberingStyleDraws, paragraphDirection, paragraphDirectionAt, patternBitmap, patternRuns, physicalAlignment, placeTextLines, referencesSlide, resolveCanvasDimensions, resolveChartData, resolveChartOptions, resolveCodeLanguage, resolveColorRef, resolveColorRoles, resolveDesignHints, resolveFontFamilies, resolveLogo, resolveNumbering, resolvePatternPreset, resolveScriptFonts, resolveSlideDirection, resolveSocialProfile, resolveTableData, resolveTextStyle, scriptFontRole, sliceNumberedItems, slideCitations, snapFontSizeDown, snapFontSizeUp, surfaceAltColor, tableCellDisplayValue, tableGrid, tableRowBoundaries, textColorForFill, textWidthMeasurer, timelineMarkerShapes, timelineTextColor, toExcelNumberFormat, tokenizeCode, visualReadingOrder, walkCitationRuns, wrapText } from './chunk-O744SXXA.js';
2
+ export { CATALOG_REFERENCE_PATTERN, OPFCatalogsOptionError, OPFUnresolvedReferenceError, catalogGroupSource, catalogKinds, catalogRecords, catalogReferenceSites, parseReference, resolveReference, unresolvedReference } from './chunk-SPFV27O5.js';
package/dist/convert.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { PaginatedPage, PresentationPaginationOptions } from './pagination.js';
2
- import './composition-D7we69Tr.js';
3
- import './chart-data-Cdr6rRVV.js';
1
+ import { P as PaginatedPage, d as PresentationPaginationOptions } from './pagination-wedbe7eq.js';
2
+ import './composition-D2tghM82.js';
3
+ import './catalog-refs-BSfGELpt.js';
4
+ import './chart-data-BnNqgnC-.js';
4
5
 
5
6
  type Json = any;
6
7
  type Obj = Record<string, any>;
@@ -47,8 +48,8 @@ declare const CONTENT_KIND_LABELS: Readonly<Record<ContentKind, string>>;
47
48
  */
48
49
  declare const CONTENT_CONVERSIONS: Readonly<Record<string, readonly ContentKind[]>>;
49
50
  interface ConvertOptions extends TableOptions {
50
- /** RR-54: the document the payload belongs to. A dataset-backed chart or table needs it (its `datasets`) to convert to another kind or to validate. */
51
- document?: unknown;
51
+ /** RR-54: the presentation the payload belongs to. A dataset-backed chart or table needs it (its `datasets`) to convert to another kind or to validate. */
52
+ presentation?: unknown;
52
53
  /** Text to timeline: also read `label: text` with any short label as the date (default: only date-like labels). */
53
54
  looseWhen?: boolean;
54
55
  /** Code to text: `auto` (default) writes a fenced block when the code has a language or file name so nothing is lost; `never` writes the bare source and reports the loss. */
@@ -169,28 +170,26 @@ declare function regionsToBlocks(slide: unknown): StructureChange;
169
170
  declare function moveRegion(slide: unknown, from: string, to: string, options?: {
170
171
  swap?: boolean;
171
172
  }): StructureChange;
172
- /** The design slot an image can move to or from. */
173
- type ImageTarget = "slideImage" | "background" | "watermark";
174
- declare const IMAGE_POSITIONS: readonly ["background", "top", "bottom", "left", "right"];
173
+ /** The design slot an image can move to or from. Placing an image beside the content is not a move: set the block's `placement`. */
174
+ type ImageTarget = "background" | "watermark";
175
175
  interface PromoteImageOptions {
176
- /** Slide image: where it sits (default `right`, an image band beside the content). Ignored for background and watermark. */
177
- position?: (typeof IMAGE_POSITIONS)[number];
178
176
  /** Watermark: opacity from 0 to 1 (default 0.1). */
179
177
  opacity?: number;
180
178
  /** Replace the slide's existing design value for this slot instead of refusing. */
181
179
  replace?: boolean;
182
180
  }
183
181
  /**
184
- * Move the image block at `path` out of the content and into the slide's design as its slide image,
185
- * background or watermark. The block is removed (and any group it leaves empty). Alt text, titles and other
186
- * asset details a design slot cannot hold are reported. Refuses when the slide already sets that slot,
187
- * unless `replace` is true.
182
+ * Move the image block at `path` out of the content and into the slide's design as its background or
183
+ * watermark. The block is removed (and any group it leaves empty). A background keeps the alt text and the
184
+ * block's fit, focus, opacity and overlay; asset details and treatments a design slot cannot hold are reported.
185
+ * Refuses when the slide already sets that slot, unless `replace` is true.
188
186
  */
189
187
  declare function promoteImage(slide: unknown, path: SlidePath, to: ImageTarget, options?: PromoteImageOptions): StructureChange;
190
188
  /**
191
- * Move a slide's slide image, background image or watermark back into its content as an image block, added
192
- * after the existing blocks (or at `index`, or in the free region named by `region` on a slide that uses
193
- * regions). Placement, framing, fit and opacity cannot be kept by a block and are reported.
189
+ * Move a slide's background image or watermark back into its content as an image block, added after the
190
+ * existing blocks (or at `index`, or in the free region named by `region` on a slide that uses regions). A
191
+ * background's alt text, fit, focus, opacity and overlay move onto the block; a tile fit and a watermark's
192
+ * opacity cannot be kept and are reported.
194
193
  */
195
194
  declare function demoteImage(slide: unknown, from: ImageTarget, options?: {
196
195
  index?: number;
@@ -232,7 +231,7 @@ interface SplitOverflowResult extends SlideEdit {
232
231
  })[];
233
232
  }
234
233
  /**
235
- * Split a slide that does not fit into continuation slides with the existing pagination (`paginatePresentation`):
234
+ * Split a slide that does not fit into continuation slides with the existing pagination (`paginate`):
236
235
  * text, lists, tables and timelines break at item or sentence boundaries, headings are repeated and nothing is
237
236
  * dropped. The slide is paginated on its own, as slide 1 of 1, with the host's `options` (fonts, text
238
237
  * measurement); a slide that already fits is returned unchanged. Throws `not-convertible` when pagination
@@ -251,7 +250,7 @@ interface UnpaginateOptions {
251
250
  sourceSlideIndex?: number;
252
251
  }
253
252
  /**
254
- * The inverse of `paginatePresentation` for slides still as it returned them: given its `pages` mapping, join the
253
+ * The inverse of `paginate` for slides still as it returned them: given its `pages` mapping, join the
255
254
  * slices of each source slide back into the original leaves (text, list items, table rows, timeline events, code
256
255
  * lines) and replace the continuation slides by one slide. The first slide's id, headings and design are kept; the
257
256
  * slides must not have been edited or reordered since (a gap between two slices is refused). The readability floor
package/dist/convert.js CHANGED
@@ -1,11 +1,12 @@
1
- import { paginatePresentation, OPFPaginationError } from './chunk-RAYB46AB.js';
2
- import { CONTENT_KEYS, isRecord, contentKeysOf, refuse, clone, Loss, isSlideLike, assertValidOwner, report, OPFConversionError, plainOf, assertValidOutput, same, splitRuns, runsOf, lineIsPlain, linePlain, concatText, parseQuoteLines, parseCodeFence, splitWhen, parseListLine, levelsFromIndents, lineValue, joinLines, hasFormatting, fenceCode } from './chunk-II5EYKZU.js';
3
- export { OPFConversionError } from './chunk-II5EYKZU.js';
4
- import './chunk-IYCJUKWD.js';
5
- import { promotedRegionKeys, isDatasetRef, inlineTableData, visitContentPayloads, chartNumber } from './chunk-MPM7NRG7.js';
6
- import './chunk-S5W34SIJ.js';
7
- import './chunk-E34DJ5LL.js';
8
- import './chunk-7QBCWNWL.js';
1
+ import { paginate, OPFPaginationError } from './chunk-UBFJ2QHH.js';
2
+ import { parseQuoteLines, parseCodeFence, splitWhen, parseListLine, levelsFromIndents, fenceCode } from './chunk-374R35TJ.js';
3
+ import { CONTENT_KEYS, isRecord, contentKeysOf, refuse, clone, Loss, isSlideLike, assertValidOwner, report, OPFConversionError, plainOf, assertValidOutput, same, splitRuns, runsOf, lineIsPlain, linePlain, concatText, lineValue, joinLines, hasFormatting } from './chunk-VGAOJEY7.js';
4
+ export { OPFConversionError } from './chunk-VGAOJEY7.js';
5
+ import './chunk-QDI75P2M.js';
6
+ import { promotedRegionKeys, isDatasetRef, inlineTableData, visitContentPayloads, chartNumber } from './chunk-O744SXXA.js';
7
+ import './chunk-TRDXRRQK.js';
8
+ import './chunk-SPFV27O5.js';
9
+ import './chunk-2CJPC4HI.js';
9
10
 
10
11
  // src/convert/tables.ts
11
12
  function cellOf(raw) {
@@ -73,6 +74,7 @@ function timelineToTable(timeline, options, loss) {
73
74
  if (timeline.name) loss.note("timeline name");
74
75
  if (timeline.description) loss.note("timeline description");
75
76
  }
77
+ if (events.some((event) => event.status)) loss.note("timeline event status");
76
78
  const hasWhen = events.some((event) => event.when);
77
79
  const hasDescription = events.some((event) => event.description);
78
80
  const columns = [...hasWhen ? ["When"] : [], "What", ...hasDescription ? ["Description"] : []];
@@ -130,13 +132,14 @@ function tableToTimeline(table, options, loss) {
130
132
  });
131
133
  return events;
132
134
  }
133
- var COLUMN_LABELS = { label: "Label", value: "Value", unit: "Unit", delta: "Delta", trend: "Trend", description: "Description" };
135
+ var COLUMN_LABELS = { label: "Label", value: "Value", unit: "Unit", delta: "Delta", trend: "Trend", sentiment: "Sentiment", description: "Description" };
134
136
  var METRIC_HEADINGS = {
135
137
  label: ["label", "metric", "name", "kpi", "measure", "indicator"],
136
138
  value: ["value", "amount", "number", "result", "actual", "current"],
137
139
  unit: ["unit", "units"],
138
140
  delta: ["delta", "change", "growth", "difference", "vs", "vs."],
139
141
  trend: ["trend", "direction"],
142
+ sentiment: ["sentiment"],
140
143
  description: ["description", "details", "detail", "notes", "note", "context"]
141
144
  };
142
145
  function metricsToTable(blocks, options, loss) {
@@ -156,9 +159,9 @@ function metricsToTable(blocks, options, loss) {
156
159
  }
157
160
  function tableToMetrics(table, loss) {
158
161
  const { columns, rows } = readCells(table, loss, "a set of metrics");
159
- if (!columns) throw refuse('Metrics read their columns by their headings. Add a heading row that names a "Value" column, and optionally "Label", "Unit", "Delta", "Trend" and "Description".');
162
+ if (!columns) throw refuse('Metrics read their columns by their headings. Add a heading row that names a "Value" column, and optionally "Label", "Unit", "Delta", "Trend", "Sentiment" and "Description".');
160
163
  const roles = rolesFrom(columns, METRIC_HEADINGS, void 0);
161
- if (roles.value === void 0) throw refuse('No column holds the metric value. Name one column "Value" (headings it understands: value, amount, number, result, label, unit, delta, change, trend, description).');
164
+ if (roles.value === void 0) throw refuse('No column holds the metric value. Name one column "Value" (headings it understands: value, amount, number, result, label, unit, delta, change, trend, sentiment, description).');
162
165
  if (!rows.length) throw refuse("A set of metrics needs at least one row, and this table has no rows.");
163
166
  const used = new Set(Object.values(roles));
164
167
  columns.forEach((value, index) => {
@@ -181,6 +184,11 @@ function tableToMetrics(table, loss) {
181
184
  if (trend === "up" || trend === "down" || trend === "flat") metric.trend = trend;
182
185
  else loss.note("trend values other than up, down or flat");
183
186
  }
187
+ if (roles.sentiment !== void 0 && !valueEmpty(row[roles.sentiment])) {
188
+ const sentiment = text(row[roles.sentiment]).trim().toLowerCase();
189
+ if (sentiment === "positive" || sentiment === "negative" || sentiment === "neutral") metric.sentiment = sentiment;
190
+ else loss.note("sentiment values other than positive, negative or neutral");
191
+ }
184
192
  if (roles.description !== void 0 && !valueEmpty(row[roles.description])) metric.description = text(row[roles.description]);
185
193
  return { metric };
186
194
  });
@@ -315,9 +323,11 @@ function toLines(kind, content, options, loss) {
315
323
  }
316
324
  case "quote": {
317
325
  const quote = typeof content === "string" ? { text: content } : content;
318
- const lines = splitRuns([quote.text]);
319
- if (quote.attribution) lines.push([`\u2014 ${quote.attribution}`]);
320
- if (quote.source) lines.push([quote.attribution ? `\u2014 ${quote.source}` : quote.source]);
326
+ const lines = splitRuns(runsOf(quote.text));
327
+ const credit = [quote.attribution, quote.role].filter(Boolean).join(", ");
328
+ if (quote.photo !== void 0) loss.note("quote photo");
329
+ if (credit) lines.push([`\u2014 ${credit}`]);
330
+ if (quote.source) lines.push([credit ? `\u2014 ${quote.source}` : quote.source]);
321
331
  return lines;
322
332
  }
323
333
  case "metric": {
@@ -326,6 +336,7 @@ function toLines(kind, content, options, loss) {
326
336
  const lines = [[value]];
327
337
  for (const part of [metric.label, metric.description, metric.delta === void 0 ? void 0 : String(metric.delta)]) if (part !== void 0 && part !== "") lines.push(...splitRuns([part]));
328
338
  if (metric.trend) loss.note("metric trend");
339
+ if (metric.sentiment) loss.note("metric sentiment");
329
340
  return lines;
330
341
  }
331
342
  case "code": {
@@ -341,6 +352,7 @@ function toLines(kind, content, options, loss) {
341
352
  if (content.name) loss.note("timeline name");
342
353
  if (content.description) loss.note("timeline description");
343
354
  }
355
+ if (events.some((event) => event.status)) loss.note("timeline event status");
344
356
  const lines = [];
345
357
  for (const event of events) {
346
358
  lines.push([event.when ? `${event.when}: ${event.what}` : event.what]);
@@ -446,6 +458,7 @@ function timelineToList(timeline, loss) {
446
458
  if (timeline.name) loss.note("timeline name");
447
459
  if (timeline.description) loss.note("timeline description");
448
460
  }
461
+ if (events.some((event) => event.status)) loss.note("timeline event status");
449
462
  return {
450
463
  key: "items",
451
464
  value: events.map((event) => {
@@ -461,7 +474,7 @@ function chartToTable(chart, loss) {
461
474
  if (chart.type) loss.note("chart type");
462
475
  return { key: "table", value: { dataset: data.dataset, ...Array.isArray(data.fields) ? { fields: clone(data.fields) } : {} } };
463
476
  }
464
- if (!data || !Array.isArray(data.columns) || !Array.isArray(data.rows)) throw refuse("This chart reads external data. Only a chart with inline columns and rows converts to a table.");
477
+ if (!data || !Array.isArray(data.columns) || !Array.isArray(data.rows)) throw refuse("This chart has no inline columns and rows. Only a chart with inline columns and rows, or a dataset, converts to a table.");
465
478
  if (chart.type) loss.note("chart type");
466
479
  if (data.source !== void 0) loss.note("data source");
467
480
  return { key: "table", value: { columns: clone(data.columns), rows: clone(data.rows) } };
@@ -530,8 +543,8 @@ function convertContent(payload, to, options = {}) {
530
543
  const loss = new Loss();
531
544
  let content = info.content;
532
545
  if (info.kind === "table" && to !== "chart" && isDatasetRef(content)) {
533
- content = inlineTableData(content, options.document);
534
- if (isDatasetRef(content)) throw refuse(`This table shows dataset '${content.dataset}'. Pass the document (options.document) so its rows can be converted.`);
546
+ content = inlineTableData(content, options.presentation);
547
+ if (isDatasetRef(content)) throw refuse(`This table shows dataset '${content.dataset}'. Pass the presentation (options.presentation) so its rows can be converted.`);
535
548
  loss.note("dataset reference (the rows are copied)");
536
549
  }
537
550
  const { key, value } = convertField(info.kind, to, content, options, loss);
@@ -546,7 +559,7 @@ function convertContent(payload, to, options = {}) {
546
559
  }
547
560
  if (owner.type !== void 0) out.type = TYPE_OF_KIND[to] ?? to;
548
561
  out[key] = value;
549
- assertValidOwner(out, isRecord(options.document) ? options.document : {});
562
+ assertValidOwner(out, isRecord(options.presentation) ? options.presentation : {});
550
563
  return { payload: out, from: info.kind, to, key, changed: true, ...report(loss.list) };
551
564
  }
552
565
  function contentConversionTargets(payload, options = {}) {
@@ -640,6 +653,7 @@ function convertListForm(payload, to) {
640
653
  }
641
654
 
642
655
  // src/convert/structure.ts
656
+ var IMAGE_SOURCE = /^(asset:|https:\/\/|data:|\.\/|\.\.\/)/;
643
657
  var REGION_KEYS = new Set(promotedRegionKeys);
644
658
  var isRegionKey = (key) => REGION_KEYS.has(key);
645
659
  var regionKeysOf = (slide) => Object.keys(slide).filter(isRegionKey);
@@ -765,12 +779,14 @@ function moveRegion(slide, from, to, options = {}) {
765
779
  if (!occupied) rebuilt[to] = next[from];
766
780
  return finish(rebuilt, new Loss(), [to]);
767
781
  }
768
- var IMAGE_POSITIONS = ["background", "top", "bottom", "left", "right"];
769
- function imageAsset(payload) {
782
+ var BACKGROUND_KEYS = ["fit", "focus", "opacity", "overlay"];
783
+ var TREATMENT_KEYS = ["fit", "focus", "aspectRatio", "shape", "cornerRadius", "border", "opacity", "recolor", "overlay", "placement"];
784
+ function imageBlock(payload) {
770
785
  if (!isRecord(payload)) throw refuse("Choose an image block.");
771
- const keys = Object.keys(payload).filter((key) => key !== "id" && key !== "extensions" && key !== "type");
786
+ const keys = Object.keys(payload).filter((key) => key !== "id" && key !== "extensions" && key !== "type" && !TREATMENT_KEYS.includes(key));
772
787
  if (keys.length !== 1 || keys[0] !== "image") throw refuse("Choose a block that holds only an image.");
773
- return isRecord(payload.image) ? payload.image : { src: payload.image };
788
+ const treatments = Object.fromEntries(TREATMENT_KEYS.filter((key) => payload[key] !== void 0).map((key) => [key, payload[key]]));
789
+ return { asset: isRecord(payload.image) ? payload.image : { src: payload.image }, treatments };
774
790
  }
775
791
  function removePayload(slide, path) {
776
792
  if (!path.length) {
@@ -795,29 +811,26 @@ function removePayload(slide, path) {
795
811
  function promoteImage(slide, path, to, options = {}) {
796
812
  const next = clone(slide);
797
813
  const holder = path.length ? at(next, path) : contentKeysOf(next).join() === "image" && !Array.isArray(next.blocks) ? { image: next.image } : void 0;
798
- const asset = imageAsset(holder);
814
+ if (to !== "background" && to !== "watermark") throw refuse("Choose background or watermark.", { slot: to });
815
+ const { asset, treatments } = imageBlock(holder);
799
816
  if (typeof asset.src !== "string" || asset.src === "") throw refuse("This image has no source.");
800
817
  const design = isRecord(next.design) ? next.design : {};
801
- if (design[to] !== void 0 && design[to] !== false && !options.replace) throw refuse(`This slide already sets its ${to === "slideImage" ? "slide image" : to}. Choose to replace it, or remove it first.`, { slot: to });
818
+ if (design[to] !== void 0 && design[to] !== false && !options.replace) throw refuse(`This slide already sets its ${to}. Choose to replace it, or remove it first.`, { slot: to });
802
819
  const loss = new Loss();
803
820
  const extras = ["title", "description", "mediaType", "format"].filter((key) => asset[key] !== void 0);
804
- const position = options.position ?? "right";
805
- if (!IMAGE_POSITIONS.includes(position)) throw refuse(`Choose a position: ${IMAGE_POSITIONS.join(", ")}.`, { position });
806
821
  const alt = typeof asset.alt === "string" && asset.alt !== "" ? asset.alt : void 0;
807
- if (to === "slideImage") {
808
- design.slideImage = { src: asset.src, position, ...alt ? { alt } : {} };
809
- if (extras.length) loss.note(`image ${extras.join(", ")}`);
810
- } else if (to === "background") {
811
- design.background = { type: "image", image: { src: asset.src, fit: "cover" } };
812
- if (alt) loss.note("image alt text");
813
- if (extras.length) loss.note(`image ${extras.join(", ")}`);
822
+ const kept = to === "background" ? BACKGROUND_KEYS.filter((key) => treatments[key] !== void 0) : [];
823
+ const dropped = Object.keys(treatments).filter((key) => !kept.includes(key));
824
+ if (to === "background") {
825
+ design.background = { type: "image", src: asset.src, ...alt ? { alt } : {}, ...Object.fromEntries(kept.map((key) => [key, treatments[key]])) };
814
826
  } else {
815
827
  const opacity = options.opacity ?? 0.1;
816
828
  if (typeof opacity !== "number" || !(opacity >= 0 && opacity <= 1)) throw refuse("Watermark opacity must be between 0 and 1.", { opacity });
817
829
  design.watermark = { src: asset.src, opacity };
818
830
  if (alt) loss.note("image alt text");
819
- if (extras.length) loss.note(`image ${extras.join(", ")}`);
820
831
  }
832
+ if (extras.length) loss.note(`image ${extras.join(", ")}`);
833
+ if (dropped.length) loss.note(`image ${dropped.join(", ")}`);
821
834
  if (path.length) {
822
835
  const payload = at(next, path);
823
836
  if (payload.id !== void 0) loss.note("block id");
@@ -830,21 +843,18 @@ function promoteImage(slide, path, to, options = {}) {
830
843
  function demoteImage(slide, from, options = {}) {
831
844
  const next = clone(slide);
832
845
  const design = next.design;
846
+ if (from !== "background" && from !== "watermark") throw refuse("Choose background or watermark.", { slot: from });
833
847
  const value = isRecord(design) ? design[from] : void 0;
834
- if (value === void 0 || value === false) throw refuse(`This slide does not set its own ${from === "slideImage" ? "slide image" : from}.`, { slot: from });
848
+ if (value === void 0 || value === false) throw refuse(`This slide does not set its own ${from}.`, { slot: from });
835
849
  const loss = new Loss();
836
850
  let asset;
837
- if (from === "slideImage") {
838
- if (typeof value === "string") asset = { src: value };
839
- else if (isRecord(value) && "position" in value) {
840
- if (typeof value.src !== "string") throw refuse("This slide image only configures placement; it has no image of its own.");
841
- asset = { src: value.src, ...value.alt ? { alt: value.alt } : {} };
842
- loss.note("image position and framing");
843
- } else asset = clone(value);
844
- } else if (from === "background") {
845
- if (!isRecord(value) || value.type !== "image" || typeof value.image?.src !== "string") throw refuse("This slide's background is not an image.");
846
- asset = { src: value.image.src };
847
- if (value.opacity !== void 0 || value.image.fit !== void 0 && value.image.fit !== "cover") loss.note("background fit and opacity");
851
+ let treatments = {};
852
+ if (from === "background") {
853
+ const picture = typeof value === "string" && IMAGE_SOURCE.test(value) ? { type: "image", src: value } : value;
854
+ if (!isRecord(picture) || picture.type !== "image" || typeof picture.src !== "string") throw refuse("This slide's background is not an image.");
855
+ asset = { src: picture.src, ...typeof picture.alt === "string" ? { alt: picture.alt } : {} };
856
+ treatments = Object.fromEntries(BACKGROUND_KEYS.filter((key) => picture[key] !== void 0 && !(key === "fit" && picture.fit === "tile")).map((key) => [key, picture[key]]));
857
+ if (picture.fit === "tile") loss.note("background tile fit");
848
858
  } else {
849
859
  if (typeof value === "string") asset = { src: value };
850
860
  else if (isRecord(value) && typeof value.src === "string") {
@@ -853,7 +863,7 @@ function demoteImage(slide, from, options = {}) {
853
863
  if (opacity !== void 0) loss.note("watermark opacity");
854
864
  } else throw refuse("This watermark has no image of its own.");
855
865
  }
856
- const block = { image: Object.keys(asset).length === 1 ? asset.src : asset };
866
+ const block = { image: Object.keys(asset).length === 1 ? asset.src : asset, ...treatments };
857
867
  delete design[from];
858
868
  if (!Object.keys(design).length) delete next.design;
859
869
  const regions = regionKeysOf(next);
@@ -862,7 +872,7 @@ function demoteImage(slide, from, options = {}) {
862
872
  if (!options.region || !isRegionKey(options.region) || regions.some((key) => overlaps(key, options.region))) throw refuse("This slide places its content in regions. Choose a free region for the image.", { region: options.region });
863
873
  next[options.region] = block;
864
874
  path = [options.region];
865
- } else if (Array.isArray(next.blocks) || contentKeysOf(next).length) {
875
+ } else if (Array.isArray(next.blocks) || contentKeysOf(next).length || Object.keys(treatments).length) {
866
876
  const blocks = explicitBlocks(next);
867
877
  const index = options.index ?? blocks.length;
868
878
  if (!Number.isInteger(index) || index < 0 || index > blocks.length) throw refuse("The position is outside the slide's blocks.", { index });
@@ -947,7 +957,7 @@ function splitSlideOnOverflow(presentation, slideIndex, options = {}) {
947
957
  const whole = presentation;
948
958
  let result;
949
959
  try {
950
- result = paginatePresentation({ ...clone(whole), slides: [clone(source)] }, options);
960
+ result = paginate({ ...clone(whole), slides: [clone(source)] }, options);
951
961
  } catch (error) {
952
962
  if (error instanceof OPFPaginationError) throw refuse(error.message, { diagnostics: error.diagnostics });
953
963
  throw error;
@@ -1020,7 +1030,8 @@ function joinSlices(field, slices) {
1020
1030
  case "code":
1021
1031
  case "quote": {
1022
1032
  const key = field === "code" ? "source" : "text";
1023
- const text = slices.map((slice) => typeof slice === "string" ? slice : slice[key]).join("");
1033
+ const parts = slices.map((slice) => typeof slice === "string" ? slice : slice[key]);
1034
+ const text = field === "quote" ? parts.slice(1).reduce((joined, part) => concatText(joined, part), clone(parts[0])) : parts.join("");
1024
1035
  return typeof first === "string" ? text : { ...clone(first), [key]: text };
1025
1036
  }
1026
1037
  case "table":
package/dist/data.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { C as ChartMapping, a as ChartNumberFix, b as ChartNumberFixOperation, c as ChartNumberFixOptions, D as DataCellValue, d as DataColumn, e as DataDiagnostic, f as DataDiagnosticCode, g as DataResolveOptions, h as DataSourceRef, i as DataStyledCell, j as DataTableCell, k as DataTableHeader, l as DataTableValue, m as DataTextRun, n as Dataset, o as DatasetRef, R as ResolvedChartData, p as ResolvedTableData, q as chartNumber, r as datasetDiagnostics, s as excelNumberFormat, t as formatDataNumber, u as inlineChartData, v as inlineDatasets, w as inlineTableData, x as isDatasetRef, y as isXYChartType, z as numberFormatError, A as numberFormatFromExcel, B as resolveChartData, E as resolveTableData, F as suggestChartNumberFix, G as tableCellDisplayValue, H as unusedDatasets } from './chart-data-Cdr6rRVV.js';
1
+ export { C as ChartMapping, a as ChartNumberFix, b as ChartNumberFixOperation, c as ChartNumberFixOptions, D as DataCellValue, d as DataColumn, e as DataDiagnostic, f as DataDiagnosticCode, g as DataResolveOptions, h as DataSourceRef, i as DataStyledCell, j as DataTableCell, k as DataTableHeader, l as DataTableValue, m as DataTextRun, n as Dataset, o as DatasetRef, R as ResolvedChartData, p as ResolvedTableData, q as chartNumber, r as datasetDiagnostics, s as formatDataNumber, t as fromExcelNumberFormat, u as inlineChartData, v as inlineDatasets, w as inlineTableData, x as isDatasetRef, y as isXYChartType, z as numberFormatError, A as resolveChartData, B as resolveTableData, E as suggestChartNumberFix, F as tableCellDisplayValue, G as toExcelNumberFormat, H as unusedDatasets } from './chart-data-BnNqgnC-.js';
2
2
 
3
3
  type DataCell = string | number | boolean | null;
4
4
  interface TabularData {
@@ -11,7 +11,7 @@ interface DataImportOptions {
11
11
  header?: boolean;
12
12
  columns?: string[];
13
13
  }
14
- interface DataContentOptions extends DataImportOptions {
14
+ interface ImportDataOptions extends DataImportOptions {
15
15
  as: 'table' | 'chart';
16
16
  chartType?: string;
17
17
  category?: string;
@@ -21,7 +21,7 @@ declare class OPFDataImportError extends Error {
21
21
  constructor(message: string);
22
22
  }
23
23
  declare function parseTabularData(input: unknown, options?: DataImportOptions): TabularData;
24
- declare function createDataContent(input: unknown, options: DataContentOptions): {
24
+ declare function importData(input: unknown, options: ImportDataOptions): {
25
25
  table: TabularData;
26
26
  } | {
27
27
  chart: {
@@ -30,4 +30,4 @@ declare function createDataContent(input: unknown, options: DataContentOptions):
30
30
  };
31
31
  };
32
32
 
33
- export { type DataCell, type DataContentOptions, type DataImportOptions, OPFDataImportError, type TabularData, createDataContent, parseTabularData };
33
+ export { type DataCell, type DataImportOptions, type ImportDataOptions, OPFDataImportError, type TabularData, importData, parseTabularData };
package/dist/data.js CHANGED
@@ -1,3 +1,3 @@
1
- export { OPFDataImportError, createDataContent, parseTabularData } from './chunk-ATGDDJPX.js';
2
- export { chartNumber, datasetDiagnostics, excelNumberFormat, formatDataNumber, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isXYChartType, numberFormatError, numberFormatFromExcel, resolveChartData, resolveTableData, suggestChartNumberFix, tableCellDisplayValue, unusedDatasets } from './chunk-MPM7NRG7.js';
3
- import './chunk-E34DJ5LL.js';
1
+ export { OPFDataImportError, importData, parseTabularData } from './chunk-U4J75TRG.js';
2
+ export { chartNumber, datasetDiagnostics, formatDataNumber, fromExcelNumberFormat, inlineChartData, inlineDatasets, inlineTableData, isDatasetRef, isXYChartType, numberFormatError, resolveChartData, resolveTableData, suggestChartNumberFix, tableCellDisplayValue, toExcelNumberFormat, unusedDatasets } from './chunk-O744SXXA.js';
3
+ import './chunk-SPFV27O5.js';
package/dist/diff.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { JsonPatchOperation } from './patch.js';
1
+ import { J as JsonPatchOperation } from './finding-CT_f_vbD.js';
2
2
 
3
3
  type MatchedBy = "id" | "equal" | "similar" | "position";
4
4
  interface MatchPair {
@@ -74,7 +74,7 @@ interface MergeResult {
74
74
  * collision is listed in `conflicts` with the base, our value and their value.
75
75
  * The merged document is not validated; callers validate it before saving.
76
76
  */
77
- declare function mergePresentations(base: unknown, ours: unknown, theirs: unknown, options?: MergeOptions): MergeResult;
77
+ declare function merge(base: unknown, ours: unknown, theirs: unknown, options?: MergeOptions): MergeResult;
78
78
 
79
79
  type DiffChangeType = "added" | "removed" | "changed" | "moved";
80
80
  /** What kind of thing changed. */
@@ -136,10 +136,10 @@ declare function categoryOf(tokens: readonly string[]): DiffCategory;
136
136
  * rule matches blocks, list items and every other array element. The result
137
137
  * lists categorised changes and a JSON Patch from `a` to `b`.
138
138
  */
139
- declare function diffPresentations(a: unknown, b: unknown, options?: DiffOptions): PresentationDiff;
139
+ declare function diff(a: unknown, b: unknown, options?: DiffOptions): PresentationDiff;
140
140
  /** A short, single-line description of a value for reports. */
141
141
  declare function describeValue(value: unknown): string;
142
142
  /** Render a diff as a plain-text report (no colour, stable ordering). */
143
143
  declare function formatDiffReport(diff: PresentationDiff): string;
144
144
 
145
- export { type ArrayMatch, type DiffCategory, type DiffChange, type DiffChangeType, type DiffOptions, type DiffSlideRef, type DiffSummary, type MatchOptions, type MatchPair, type MatchedBy, type MergeConflict, type MergeConflictKind, type MergeOptions, type MergeResult, type PresentationDiff, type SlideMatchInfo, categoryOf, describeValue, diffPresentations, formatDiffReport, matchArrays, mergePresentations, similarity };
145
+ export { type ArrayMatch, type DiffCategory, type DiffChange, type DiffChangeType, type DiffOptions, type DiffSlideRef, type DiffSummary, type MatchOptions, type MatchPair, type MatchedBy, type MergeConflict, type MergeConflictKind, type MergeOptions, type MergeResult, type PresentationDiff, type SlideMatchInfo, categoryOf, describeValue, diff, formatDiffReport, matchArrays, merge, similarity };