@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.
- package/README.md +40 -49
- package/dist/catalog-refs-BSfGELpt.d.ts +128 -0
- package/dist/catalog-schemas-CinPh5WA.d.ts +12 -0
- package/dist/catalog.d.ts +91 -0
- package/dist/{chunk-E34DJ5LL.js → catalog.js} +16949 -17628
- package/dist/{chart-data-Cdr6rRVV.d.ts → chart-data-BnNqgnC-.d.ts} +17 -6
- package/dist/{chunk-7QBCWNWL.js → chunk-2CJPC4HI.js} +1807 -1904
- package/dist/{chunk-II5EYKZU.js → chunk-374R35TJ.js} +2 -92
- package/dist/chunk-3JG4YXWF.js +1842 -0
- package/dist/chunk-3RKB4RDJ.js +192 -0
- package/dist/{chunk-IS2CPNVJ.js → chunk-5FTUIDUH.js} +26 -26
- package/dist/{chunk-GJKJL4YY.js → chunk-HXHOZ7AH.js} +1379 -504
- package/dist/{chunk-MPM7NRG7.js → chunk-O744SXXA.js} +2014 -885
- package/dist/chunk-QDI75P2M.js +3515 -0
- package/dist/chunk-SPFV27O5.js +210 -0
- package/dist/chunk-TRDXRRQK.js +17 -0
- package/dist/chunk-TWQJLI6E.js +601 -0
- package/dist/{chunk-ATGDDJPX.js → chunk-U4J75TRG.js} +3 -3
- package/dist/{chunk-RAYB46AB.js → chunk-UBFJ2QHH.js} +34 -30
- package/dist/chunk-VGAOJEY7.js +94 -0
- package/dist/chunk-ZPU46TFA.js +83 -0
- package/dist/{composition-D7we69Tr.d.ts → composition-D2tghM82.d.ts} +947 -111
- package/dist/composition.d.ts +3 -2
- package/dist/composition.js +2 -2
- package/dist/convert.d.ts +18 -19
- package/dist/convert.js +61 -50
- package/dist/data.d.ts +4 -4
- package/dist/data.js +3 -3
- package/dist/diff.d.ts +4 -4
- package/dist/diff.js +7 -605
- package/dist/docs.js +56 -44
- package/dist/examples.d.ts +1 -1
- package/dist/examples.js +49451 -6259
- package/dist/finding-CT_f_vbD.d.ts +212 -0
- package/dist/format.d.ts +4 -4
- package/dist/format.js +2 -83
- package/dist/index.d.ts +492 -309
- package/dist/index.js +767 -1097
- package/dist/json-BFSdESOE.d.ts +19 -0
- package/dist/markdown.d.ts +40 -27
- package/dist/markdown.js +9 -1941
- package/dist/pagination-wedbe7eq.d.ts +119 -0
- package/dist/pagination.d.ts +4 -61
- package/dist/pagination.js +6 -6
- package/dist/patch.d.ts +12 -23
- package/dist/patch.js +6 -6
- package/dist/{presentation-mG-IYErQ.d.ts → presentation-CDKQVkyI.d.ts} +702 -1026
- package/dist/repo-readme.js +1 -1
- package/dist/schemas.d.ts +284 -1
- package/dist/schemas.js +1 -1
- package/dist/spec/README.md +11 -6
- package/dist/spec/catalogs/audiences/index.json +2 -50
- package/dist/spec/catalogs/chart-types/100pct-stacked-area.json +21 -0
- package/dist/spec/catalogs/chart-types/100pct-stacked-bar.json +22 -0
- package/dist/spec/catalogs/chart-types/100pct-stacked-column.json +22 -0
- package/dist/spec/catalogs/chart-types/area.json +2 -60
- package/dist/spec/catalogs/chart-types/bar.json +2 -48
- package/dist/spec/catalogs/chart-types/box-and-whisker.json +2 -132
- package/dist/spec/catalogs/chart-types/column.json +2 -52
- package/dist/spec/catalogs/chart-types/combo.json +37 -0
- package/dist/spec/catalogs/chart-types/doughnut.json +2 -40
- package/dist/spec/catalogs/chart-types/filled-radar.json +2 -52
- package/dist/spec/catalogs/chart-types/funnel.json +2 -46
- package/dist/spec/catalogs/chart-types/histogram.json +2 -149
- package/dist/spec/catalogs/chart-types/index.json +50 -520
- package/dist/spec/catalogs/chart-types/line-with-markers.json +2 -60
- package/dist/spec/catalogs/chart-types/line.json +2 -60
- package/dist/spec/catalogs/chart-types/pareto.json +2 -50
- package/dist/spec/catalogs/chart-types/pie.json +2 -40
- package/dist/spec/catalogs/chart-types/radar-with-markers.json +2 -52
- package/dist/spec/catalogs/chart-types/radar.json +2 -52
- package/dist/spec/catalogs/chart-types/scatter.json +2 -73
- package/dist/spec/catalogs/chart-types/stacked-area.json +21 -0
- package/dist/spec/catalogs/chart-types/stacked-bar.json +22 -0
- package/dist/spec/catalogs/chart-types/stacked-column.json +22 -0
- package/dist/spec/catalogs/chart-types/stacked-line-with-markers.json +22 -0
- package/dist/spec/catalogs/chart-types/stacked-line.json +21 -0
- package/dist/spec/catalogs/chart-types/treemap.json +2 -48
- package/dist/spec/catalogs/chart-types/waterfall.json +2 -52
- package/dist/spec/catalogs/chart-types/world.json +2 -64
- package/dist/spec/catalogs/font-schemes/angsana-new.json +2 -2
- package/dist/spec/catalogs/font-schemes/aparajita.json +3 -3
- package/dist/spec/catalogs/font-schemes/aptos.json +1 -1
- package/dist/spec/catalogs/font-schemes/arabic-typesetting.json +2 -2
- package/dist/spec/catalogs/font-schemes/arial.json +1 -1
- package/dist/spec/catalogs/font-schemes/batang.json +2 -2
- package/dist/spec/catalogs/font-schemes/bookman.json +1 -1
- package/dist/spec/catalogs/font-schemes/calibri.json +1 -1
- package/dist/spec/catalogs/font-schemes/century-schoolbook.json +1 -1
- package/dist/spec/catalogs/font-schemes/consolas.json +2 -4
- package/dist/spec/catalogs/font-schemes/constantia.json +1 -1
- package/dist/spec/catalogs/font-schemes/courier-new.json +2 -4
- package/dist/spec/catalogs/font-schemes/daunpenh.json +2 -2
- package/dist/spec/catalogs/font-schemes/david.json +2 -2
- package/dist/spec/catalogs/font-schemes/dilleniaupc.json +2 -2
- package/dist/spec/catalogs/font-schemes/fangsong.json +2 -2
- package/dist/spec/catalogs/font-schemes/garamond.json +1 -1
- package/dist/spec/catalogs/font-schemes/gautami.json +2 -2
- package/dist/spec/catalogs/font-schemes/georgia.json +1 -1
- package/dist/spec/catalogs/font-schemes/gisha.json +3 -3
- package/dist/spec/catalogs/font-schemes/grandview.json +1 -1
- package/dist/spec/catalogs/font-schemes/gungsuh.json +2 -2
- package/dist/spec/catalogs/font-schemes/impact.json +1 -1
- package/dist/spec/catalogs/font-schemes/index.json +1 -1
- package/dist/spec/catalogs/font-schemes/kalinga.json +2 -2
- package/dist/spec/catalogs/font-schemes/kartika.json +2 -2
- package/dist/spec/catalogs/font-schemes/khmer-ui.json +2 -2
- package/dist/spec/catalogs/font-schemes/latha.json +2 -2
- package/dist/spec/catalogs/font-schemes/lucida-sans.json +1 -1
- package/dist/spec/catalogs/font-schemes/malgun-gothic.json +2 -2
- package/dist/spec/catalogs/font-schemes/mangal.json +4 -5
- package/dist/spec/catalogs/font-schemes/meiryo.json +2 -2
- package/dist/spec/catalogs/font-schemes/microsoft-jhenghei.json +2 -2
- package/dist/spec/catalogs/font-schemes/microsoft-yahei.json +5 -5
- package/dist/spec/catalogs/font-schemes/mingliu.json +2 -2
- package/dist/spec/catalogs/font-schemes/miriam.json +2 -2
- package/dist/spec/catalogs/font-schemes/montserrat.json +1 -1
- package/dist/spec/catalogs/font-schemes/ms-mincho.json +2 -2
- package/dist/spec/catalogs/font-schemes/nirmala-ui.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-naksh-arabic.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-nastaliq-urdu.json +3 -3
- package/dist/spec/catalogs/font-schemes/noto-sans-arabic.json +4 -4
- package/dist/spec/catalogs/font-schemes/noto-sans-armenian.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-bengali.json +3 -3
- package/dist/spec/catalogs/font-schemes/noto-sans-devangari.json +3 -3
- package/dist/spec/catalogs/font-schemes/noto-sans-ethiopic.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-georgian.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-gujarati.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-gurmukhi.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-hebrew.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-jp.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-kannada.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-khmer.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-kr.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-malayalam.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-mongolian.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-oriya.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-sc.json +5 -5
- package/dist/spec/catalogs/font-schemes/noto-sans-tamil.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-tc.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-telugu.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-thai.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans.json +5 -5
- package/dist/spec/catalogs/font-schemes/nyala.json +2 -2
- package/dist/spec/catalogs/font-schemes/open-sans.json +1 -1
- package/dist/spec/catalogs/font-schemes/pmingliu.json +2 -2
- package/dist/spec/catalogs/font-schemes/poppins.json +1 -1
- package/dist/spec/catalogs/font-schemes/pt-serif.json +1 -1
- package/dist/spec/catalogs/font-schemes/raavi.json +2 -2
- package/dist/spec/catalogs/font-schemes/raleway.json +1 -1
- package/dist/spec/catalogs/font-schemes/roboto.json +1 -1
- package/dist/spec/catalogs/font-schemes/rockwell.json +1 -1
- package/dist/spec/catalogs/font-schemes/sakkal-majalla.json +4 -4
- package/dist/spec/catalogs/font-schemes/seaford.json +1 -1
- package/dist/spec/catalogs/font-schemes/segoe-ui-light.json +1 -1
- package/dist/spec/catalogs/font-schemes/segoe-ui.json +1 -1
- package/dist/spec/catalogs/font-schemes/shonar-bangla.json +3 -3
- package/dist/spec/catalogs/font-schemes/shruti.json +2 -2
- package/dist/spec/catalogs/font-schemes/simsun.json +2 -2
- package/dist/spec/catalogs/font-schemes/skeena.json +1 -1
- package/dist/spec/catalogs/font-schemes/sylfaen.json +3 -3
- package/dist/spec/catalogs/font-schemes/tahoma.json +1 -1
- package/dist/spec/catalogs/font-schemes/tenorite.json +1 -1
- package/dist/spec/catalogs/font-schemes/times-new-roman.json +1 -1
- package/dist/spec/catalogs/font-schemes/traditional-arabic.json +4 -4
- package/dist/spec/catalogs/font-schemes/trebuchet-ms.json +1 -1
- package/dist/spec/catalogs/font-schemes/tunga.json +2 -2
- package/dist/spec/catalogs/font-schemes/verdana.json +1 -1
- package/dist/spec/catalogs/font-schemes/vrinda.json +2 -2
- package/dist/spec/catalogs/font-schemes/yu-gothic.json +2 -2
- package/dist/spec/catalogs/layouts/action-plan.json +9 -15
- package/dist/spec/catalogs/layouts/agenda.json +8 -15
- package/dist/spec/catalogs/layouts/appendix-index.json +7 -15
- package/dist/spec/catalogs/layouts/architecture-stack.json +9 -15
- package/dist/spec/catalogs/layouts/assumptions-dependencies.json +9 -15
- package/dist/spec/catalogs/layouts/before-after.json +9 -15
- package/dist/spec/catalogs/layouts/benchmark-target-table.json +9 -15
- package/dist/spec/catalogs/layouts/blank.json +11 -1
- package/dist/spec/catalogs/layouts/bullet-list.json +9 -15
- package/dist/spec/catalogs/layouts/business-model-canvas.json +9 -15
- package/dist/spec/catalogs/layouts/capability-map.json +11 -16
- package/dist/spec/catalogs/layouts/case-study.json +9 -15
- package/dist/spec/catalogs/layouts/chapter-recap.json +8 -15
- package/dist/spec/catalogs/layouts/chart-1x-title-center.json +30 -0
- package/dist/spec/catalogs/layouts/chart-1x.json +15 -0
- package/dist/spec/catalogs/layouts/chart-2x-title-center.json +36 -0
- package/dist/spec/catalogs/layouts/chart-2x-vertical-title-left.json +37 -0
- package/dist/spec/catalogs/layouts/chart-2x.json +15 -0
- package/dist/spec/catalogs/layouts/chart-3x-bottom-vertical-title-left.json +46 -0
- package/dist/spec/catalogs/layouts/chart-3x-left-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/chart-3x-left.json +40 -0
- package/dist/spec/catalogs/layouts/chart-3x-right-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/chart-3x-right.json +40 -0
- package/dist/spec/catalogs/layouts/chart-3x-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/chart-3x-top-vertical-title-left.json +46 -0
- package/dist/spec/catalogs/layouts/chart-3x.json +15 -0
- package/dist/spec/catalogs/layouts/circular-lifecycle.json +9 -15
- package/dist/spec/catalogs/layouts/code-1x.json +10 -0
- package/dist/spec/catalogs/layouts/comparison.json +9 -15
- package/dist/spec/catalogs/layouts/competitive-landscape.json +11 -16
- package/dist/spec/catalogs/layouts/customer-journey.json +11 -16
- package/dist/spec/catalogs/layouts/customer-logos.json +9 -15
- package/dist/spec/catalogs/layouts/dashboard.json +9 -15
- package/dist/spec/catalogs/layouts/data-visualization.json +9 -15
- package/dist/spec/catalogs/layouts/decision-tree.json +11 -16
- package/dist/spec/catalogs/layouts/detailed-data-table.json +9 -15
- package/dist/spec/catalogs/layouts/ecosystem-map.json +11 -16
- package/dist/spec/catalogs/layouts/executive-decision.json +9 -15
- package/dist/spec/catalogs/layouts/executive-summary.json +9 -15
- package/dist/spec/catalogs/layouts/extract/canonical.json +7 -16
- package/dist/spec/catalogs/layouts/faq.json +9 -15
- package/dist/spec/catalogs/layouts/feature-comparison-matrix.json +9 -15
- package/dist/spec/catalogs/layouts/forecast-scenario.json +9 -15
- package/dist/spec/catalogs/layouts/funnel-pyramid.json +9 -15
- package/dist/spec/catalogs/layouts/gantt-project-plan.json +9 -15
- package/dist/spec/catalogs/layouts/geographic-map.json +10 -15
- package/dist/spec/catalogs/layouts/heatmap-cohort.json +9 -15
- package/dist/spec/catalogs/layouts/hub-and-spoke.json +9 -15
- package/dist/spec/catalogs/layouts/icon-grid.json +11 -16
- package/dist/spec/catalogs/layouts/image-1x-crop-title-center.json +32 -0
- package/dist/spec/catalogs/layouts/image-1x-crop-title-left.json +32 -0
- package/dist/spec/catalogs/layouts/image-1x-crop.json +27 -0
- package/dist/spec/catalogs/layouts/image-1x-fit-title-center.json +32 -0
- package/dist/spec/catalogs/layouts/image-1x.json +14 -1
- package/dist/spec/catalogs/layouts/image-2x-crop-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/image-2x-crop-vertical-title-left.json +39 -0
- package/dist/spec/catalogs/layouts/image-2x-crop-vertical.json +34 -0
- package/dist/spec/catalogs/layouts/image-2x-crop.json +33 -0
- package/dist/spec/catalogs/layouts/image-2x-fit-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/image-2x-fit-vertical-title-left.json +39 -0
- package/dist/spec/catalogs/layouts/image-2x-fit-vertical.json +34 -0
- package/dist/spec/catalogs/layouts/image-2x.json +15 -2
- package/dist/spec/catalogs/layouts/image-3x-crop-title-center.json +41 -0
- package/dist/spec/catalogs/layouts/image-3x-crop-vertical-title-left.json +42 -0
- package/dist/spec/catalogs/layouts/image-3x-crop-vertical.json +37 -0
- package/dist/spec/catalogs/layouts/image-3x-crop.json +36 -0
- package/dist/spec/catalogs/layouts/image-3x-fit-title-center.json +41 -0
- package/dist/spec/catalogs/layouts/image-3x-fit-vertical-title-left.json +42 -0
- package/dist/spec/catalogs/layouts/image-3x-fit-vertical.json +37 -0
- package/dist/spec/catalogs/layouts/image-3x-fit.json +36 -0
- package/dist/spec/catalogs/layouts/image-3x.json +16 -3
- package/dist/spec/catalogs/layouts/image-focus.json +13 -18
- package/dist/spec/catalogs/layouts/image-only-1x-crop-title-center.json +31 -0
- package/dist/spec/catalogs/layouts/image-only-1x-fit-title-center.json +31 -0
- package/dist/spec/catalogs/layouts/image-only-2x-crop-title-center.json +37 -0
- package/dist/spec/catalogs/layouts/image-only-2x-crop-vertical-title-left.json +38 -0
- package/dist/spec/catalogs/layouts/image-only-2x-crop-vertical.json +33 -0
- package/dist/spec/catalogs/layouts/image-only-2x-fit-title-center.json +37 -0
- package/dist/spec/catalogs/layouts/image-only-2x-fit-vertical-title-left.json +38 -0
- package/dist/spec/catalogs/layouts/image-only-2x-fit-vertical.json +33 -0
- package/dist/spec/catalogs/layouts/image-only-3x-crop-title-center.json +40 -0
- package/dist/spec/catalogs/layouts/image-only-3x-crop-vertical-title-left.json +41 -0
- package/dist/spec/catalogs/layouts/image-only-3x-crop-vertical.json +36 -0
- package/dist/spec/catalogs/layouts/image-only-3x-crop.json +35 -0
- package/dist/spec/catalogs/layouts/image-only-3x-fit-title-center.json +40 -0
- package/dist/spec/catalogs/layouts/image-only-3x-fit-vertical-title-left.json +41 -0
- package/dist/spec/catalogs/layouts/image-only-3x-fit-vertical.json +36 -0
- package/dist/spec/catalogs/layouts/image-only-3x-fit.json +35 -0
- package/dist/spec/catalogs/layouts/index.json +1041 -151
- package/dist/spec/catalogs/layouts/key-takeaway.json +8 -15
- package/dist/spec/catalogs/layouts/kpi-scorecard.json +9 -15
- package/dist/spec/catalogs/layouts/list-1x-box-title-center.json +32 -0
- package/dist/spec/catalogs/layouts/list-1x-box-vertical-title-center.json +33 -0
- package/dist/spec/catalogs/layouts/list-1x-box-vertical-title-left.json +33 -0
- package/dist/spec/catalogs/layouts/list-1x-box-vertical.json +28 -0
- package/dist/spec/catalogs/layouts/list-1x-box.json +27 -0
- package/dist/spec/catalogs/layouts/list-1x-itemimage-title-center.json +32 -0
- package/dist/spec/catalogs/layouts/list-1x-itemimage-vertical-title-center.json +33 -0
- package/dist/spec/catalogs/layouts/list-1x-title-center.json +31 -0
- package/dist/spec/catalogs/layouts/list-1x-vertical-title-center.json +32 -0
- package/dist/spec/catalogs/layouts/list-1x.json +17 -1
- package/dist/spec/catalogs/layouts/list-2x-box-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/list-2x-box-vertical-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/list-2x-box-vertical-title-left.json +39 -0
- package/dist/spec/catalogs/layouts/list-2x-box-vertical.json +34 -0
- package/dist/spec/catalogs/layouts/list-2x-box.json +33 -0
- package/dist/spec/catalogs/layouts/list-2x-itemimage-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical-title-left.json +39 -0
- package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical.json +34 -0
- package/dist/spec/catalogs/layouts/list-2x-title-center.json +37 -0
- package/dist/spec/catalogs/layouts/list-2x-vertical-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/list-2x-vertical-title-left.json +38 -0
- package/dist/spec/catalogs/layouts/list-2x-vertical.json +33 -0
- package/dist/spec/catalogs/layouts/list-2x.json +16 -0
- package/dist/spec/catalogs/layouts/list-3x-box-title-center.json +41 -0
- package/dist/spec/catalogs/layouts/list-3x-box-vertical-title-center.json +42 -0
- package/dist/spec/catalogs/layouts/list-3x-box-vertical-title-left.json +42 -0
- package/dist/spec/catalogs/layouts/list-3x-box-vertical.json +37 -0
- package/dist/spec/catalogs/layouts/list-3x-box.json +36 -0
- package/dist/spec/catalogs/layouts/list-3x-itemimage-title-center.json +41 -0
- package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical-title-center.json +42 -0
- package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical-title-left.json +42 -0
- package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical.json +37 -0
- package/dist/spec/catalogs/layouts/list-3x-itemimage.json +36 -0
- package/dist/spec/catalogs/layouts/list-3x-title-center.json +40 -0
- package/dist/spec/catalogs/layouts/list-3x-vertical-title-center.json +41 -0
- package/dist/spec/catalogs/layouts/list-3x-vertical-title-left.json +41 -0
- package/dist/spec/catalogs/layouts/list-3x-vertical.json +36 -0
- package/dist/spec/catalogs/layouts/list-3x.json +16 -0
- package/dist/spec/catalogs/layouts/list-4x-box-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-box-vertical-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-box-vertical-title-left.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-box-vertical.json +40 -0
- package/dist/spec/catalogs/layouts/list-4x-box.json +40 -0
- package/dist/spec/catalogs/layouts/list-4x-itemimage-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical-title-left.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical.json +40 -0
- package/dist/spec/catalogs/layouts/list-4x-title-center.json +44 -0
- package/dist/spec/catalogs/layouts/list-4x-vertical-title-center.json +44 -0
- package/dist/spec/catalogs/layouts/list-4x-vertical-title-left.json +44 -0
- package/dist/spec/catalogs/layouts/list-4x-vertical.json +39 -0
- package/dist/spec/catalogs/layouts/list-4x.json +16 -0
- package/dist/spec/catalogs/layouts/list-5x-box-title-center.json +48 -0
- package/dist/spec/catalogs/layouts/list-5x-box-vertical-title-center.json +50 -0
- package/dist/spec/catalogs/layouts/list-5x-box-vertical-title-left.json +50 -0
- package/dist/spec/catalogs/layouts/list-5x-box-vertical.json +45 -0
- package/dist/spec/catalogs/layouts/list-5x-box.json +43 -0
- package/dist/spec/catalogs/layouts/list-5x-itemimage-title-center.json +48 -0
- package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical-title-center.json +48 -0
- package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical-title-left.json +48 -0
- package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical.json +43 -0
- package/dist/spec/catalogs/layouts/list-5x-title-center.json +47 -0
- package/dist/spec/catalogs/layouts/list-5x-vertical-title-center.json +47 -0
- package/dist/spec/catalogs/layouts/list-5x-vertical-title-left.json +47 -0
- package/dist/spec/catalogs/layouts/list-5x-vertical.json +42 -0
- package/dist/spec/catalogs/layouts/list-5x.json +16 -0
- package/dist/spec/catalogs/layouts/list-6x-box-title-center.json +51 -0
- package/dist/spec/catalogs/layouts/list-6x-box-vertical-title-center.json +53 -0
- package/dist/spec/catalogs/layouts/list-6x-box-vertical-title-left.json +53 -0
- package/dist/spec/catalogs/layouts/list-6x-box-vertical.json +48 -0
- package/dist/spec/catalogs/layouts/list-6x-box.json +46 -0
- package/dist/spec/catalogs/layouts/list-6x-itemimage-title-center.json +51 -0
- package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical-title-center.json +51 -0
- package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical-title-left.json +51 -0
- package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical.json +46 -0
- package/dist/spec/catalogs/layouts/list-6x-title-center.json +50 -0
- package/dist/spec/catalogs/layouts/list-6x-vertical-title-center.json +50 -0
- package/dist/spec/catalogs/layouts/list-6x-vertical-title-left.json +50 -0
- package/dist/spec/catalogs/layouts/list-6x-vertical.json +45 -0
- package/dist/spec/catalogs/layouts/list-6x.json +16 -0
- package/dist/spec/catalogs/layouts/logic-tree.json +9 -15
- package/dist/spec/catalogs/layouts/market-size.json +9 -15
- package/dist/spec/catalogs/layouts/matrix-quadrant.json +9 -15
- package/dist/spec/catalogs/layouts/media-1x.json +11 -1
- package/dist/spec/catalogs/layouts/network-dependency-map.json +10 -15
- package/dist/spec/catalogs/layouts/number-1x-box-title-center.json +30 -0
- package/dist/spec/catalogs/layouts/number-1x-box.json +25 -0
- package/dist/spec/catalogs/layouts/number-1x-title-center.json +29 -0
- package/dist/spec/catalogs/layouts/number-1x.json +16 -1
- package/dist/spec/catalogs/layouts/number-2x-box-title-center.json +36 -0
- package/dist/spec/catalogs/layouts/number-2x-box.json +31 -0
- package/dist/spec/catalogs/layouts/number-2x-title-center.json +35 -0
- package/dist/spec/catalogs/layouts/number-2x.json +15 -0
- package/dist/spec/catalogs/layouts/number-3x-box-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/number-3x-box.json +34 -0
- package/dist/spec/catalogs/layouts/number-3x-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/number-3x.json +15 -0
- package/dist/spec/catalogs/layouts/number-4x-box-title-center.json +43 -0
- package/dist/spec/catalogs/layouts/number-4x-box.json +38 -0
- package/dist/spec/catalogs/layouts/number-4x-title-center.json +42 -0
- package/dist/spec/catalogs/layouts/number-4x.json +15 -0
- package/dist/spec/catalogs/layouts/number-5x-box-title-center.json +46 -0
- package/dist/spec/catalogs/layouts/number-5x-box.json +41 -0
- package/dist/spec/catalogs/layouts/number-5x-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/number-5x.json +15 -0
- package/dist/spec/catalogs/layouts/number-6x-box-title-center.json +49 -0
- package/dist/spec/catalogs/layouts/number-6x-box.json +44 -0
- package/dist/spec/catalogs/layouts/number-6x-title-center.json +48 -0
- package/dist/spec/catalogs/layouts/number-6x.json +15 -0
- package/dist/spec/catalogs/layouts/one-column-explainer.json +9 -15
- package/dist/spec/catalogs/layouts/org-chart.json +9 -15
- package/dist/spec/catalogs/layouts/persona-grid.json +11 -16
- package/dist/spec/catalogs/layouts/photo-grid.json +14 -19
- package/dist/spec/catalogs/layouts/pricing-table.json +9 -15
- package/dist/spec/catalogs/layouts/process-flow.json +9 -15
- package/dist/spec/catalogs/layouts/product-feature.json +11 -16
- package/dist/spec/catalogs/layouts/pros-cons.json +9 -15
- package/dist/spec/catalogs/layouts/qa-discussion.json +7 -15
- package/dist/spec/catalogs/layouts/quote-1x.json +11 -1
- package/dist/spec/catalogs/layouts/quote-highlight.json +9 -15
- package/dist/spec/catalogs/layouts/raci-matrix.json +9 -15
- package/dist/spec/catalogs/layouts/risk-heatmap.json +9 -15
- package/dist/spec/catalogs/layouts/roadmap.json +9 -15
- package/dist/spec/catalogs/layouts/screenshot-walkthrough.json +11 -16
- package/dist/spec/catalogs/layouts/section-divider.json +8 -15
- package/dist/spec/catalogs/layouts/single-message-statement.json +8 -15
- package/dist/spec/catalogs/layouts/stats-metrics.json +9 -15
- package/dist/spec/catalogs/layouts/status-rag.json +9 -15
- package/dist/spec/catalogs/layouts/swimlane-process.json +11 -16
- package/dist/spec/catalogs/layouts/swot-analysis.json +9 -15
- package/dist/spec/catalogs/layouts/table-1x.json +10 -0
- package/dist/spec/catalogs/layouts/team-bio.json +11 -16
- package/dist/spec/catalogs/layouts/testimonial-grid.json +9 -15
- package/dist/spec/catalogs/layouts/text-1x-box-title-center.json +31 -0
- package/dist/spec/catalogs/layouts/text-1x-box-title-left.json +31 -0
- package/dist/spec/catalogs/layouts/text-1x-center-box-title-center.json +31 -0
- package/dist/spec/catalogs/layouts/text-1x-center-box-title-left.json +31 -0
- package/dist/spec/catalogs/layouts/text-1x-center-box.json +26 -0
- package/dist/spec/catalogs/layouts/text-1x-center-title-center.json +30 -0
- package/dist/spec/catalogs/layouts/text-1x-center-title-left.json +30 -0
- package/dist/spec/catalogs/layouts/text-1x-center.json +25 -0
- package/dist/spec/catalogs/layouts/text-1x-left-box.json +26 -0
- package/dist/spec/catalogs/layouts/text-1x-title-center.json +30 -0
- package/dist/spec/catalogs/layouts/text-1x.json +11 -1
- package/dist/spec/catalogs/layouts/text-2x-box-title-center.json +37 -0
- package/dist/spec/catalogs/layouts/text-2x-box-vertical-title-left.json +37 -0
- package/dist/spec/catalogs/layouts/text-2x-center-box-title-center.json +37 -0
- package/dist/spec/catalogs/layouts/text-2x-center-box-vertical-title-left.json +37 -0
- package/dist/spec/catalogs/layouts/text-2x-center-box.json +32 -0
- package/dist/spec/catalogs/layouts/text-2x-center-title-center.json +36 -0
- package/dist/spec/catalogs/layouts/text-2x-center-vertical-title-left.json +36 -0
- package/dist/spec/catalogs/layouts/text-2x-center.json +31 -0
- package/dist/spec/catalogs/layouts/text-2x-left-box.json +32 -0
- package/dist/spec/catalogs/layouts/text-2x-title-center.json +36 -0
- package/dist/spec/catalogs/layouts/text-2x-vertical-title-left.json +36 -0
- package/dist/spec/catalogs/layouts/text-2x.json +10 -0
- package/dist/spec/catalogs/layouts/text-3x-box-title-center.json +40 -0
- package/dist/spec/catalogs/layouts/text-3x-box-vertical-title-left.json +41 -0
- package/dist/spec/catalogs/layouts/text-3x-center-box-title-center.json +40 -0
- package/dist/spec/catalogs/layouts/text-3x-center-box-vertical-title-left.json +41 -0
- package/dist/spec/catalogs/layouts/text-3x-center-box.json +35 -0
- package/dist/spec/catalogs/layouts/text-3x-center-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/text-3x-center-vertical-title-left.json +40 -0
- package/dist/spec/catalogs/layouts/text-3x-center.json +34 -0
- package/dist/spec/catalogs/layouts/text-3x-left-box.json +35 -0
- package/dist/spec/catalogs/layouts/text-3x-left.json +34 -0
- package/dist/spec/catalogs/layouts/text-3x-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/text-3x-vertical-title-left.json +40 -0
- package/dist/spec/catalogs/layouts/text-3x.json +10 -0
- package/dist/spec/catalogs/layouts/thank-you-cta.json +8 -15
- package/dist/spec/catalogs/layouts/three-column.json +9 -15
- package/dist/spec/catalogs/layouts/timeline-1x.json +11 -1
- package/dist/spec/catalogs/layouts/timeline.json +9 -15
- package/dist/spec/catalogs/layouts/title-center-box.json +27 -0
- package/dist/spec/catalogs/layouts/title-center-image-bottom.json +34 -0
- package/dist/spec/catalogs/layouts/title-center-image-top.json +34 -0
- package/dist/spec/catalogs/layouts/title-center.json +26 -0
- package/dist/spec/catalogs/layouts/title-left-image-bottom.json +34 -0
- package/dist/spec/catalogs/layouts/title-left-image-left.json +34 -0
- package/dist/spec/catalogs/layouts/title-left-image-right.json +34 -0
- package/dist/spec/catalogs/layouts/title-left-image-top.json +34 -0
- package/dist/spec/catalogs/layouts/title-slide.json +8 -15
- package/dist/spec/catalogs/layouts/title-subtitle.json +11 -1
- package/dist/spec/catalogs/layouts/title.json +11 -1
- package/dist/spec/catalogs/layouts/two-column.json +9 -15
- package/dist/spec/catalogs/layouts/venn-overlap.json +9 -15
- package/dist/spec/catalogs/layouts/waterfall-bridge.json +9 -15
- package/dist/spec/catalogs/layouts/wheel-radial.json +9 -15
- package/dist/spec/catalogs/manifest.json +22 -22
- package/dist/spec/catalogs/narratives/board-meeting.json +45 -45
- package/dist/spec/catalogs/narratives/business-narrative.json +19 -19
- package/dist/spec/catalogs/narratives/business-review.json +27 -27
- package/dist/spec/catalogs/narratives/capacity-planning.json +19 -19
- package/dist/spec/catalogs/narratives/challenge-resolution.json +17 -17
- package/dist/spec/catalogs/narratives/change-story.json +13 -13
- package/dist/spec/catalogs/narratives/classic-story.json +17 -17
- package/dist/spec/catalogs/narratives/company-intro.json +21 -21
- package/dist/spec/catalogs/narratives/conference-talk.json +4 -4
- package/dist/spec/catalogs/narratives/data-story.json +13 -14
- package/dist/spec/catalogs/narratives/early-startup-pitch.json +27 -27
- package/dist/spec/catalogs/narratives/educate.json +21 -21
- package/dist/spec/catalogs/narratives/employee-review.json +19 -19
- package/dist/spec/catalogs/narratives/failure-analysis.json +23 -23
- package/dist/spec/catalogs/narratives/focus.json +27 -27
- package/dist/spec/catalogs/narratives/golden-circle.json +4 -4
- package/dist/spec/catalogs/narratives/heros-journey.json +13 -13
- package/dist/spec/catalogs/narratives/index.json +145 -145
- package/dist/spec/catalogs/narratives/innovation.json +21 -21
- package/dist/spec/catalogs/narratives/justice.json +25 -25
- package/dist/spec/catalogs/narratives/marketing-strategy.json +25 -25
- package/dist/spec/catalogs/narratives/performance-improvement-plan.json +19 -19
- package/dist/spec/catalogs/narratives/performance-review.json +25 -25
- package/dist/spec/catalogs/narratives/persuade.json +17 -17
- package/dist/spec/catalogs/narratives/persuasive-sales.json +19 -19
- package/dist/spec/catalogs/narratives/pitch-deck.json +6 -6
- package/dist/spec/catalogs/narratives/problem-solution.json +5 -5
- package/dist/spec/catalogs/narratives/product-launch.json +23 -23
- package/dist/spec/catalogs/narratives/project-proposal.json +23 -23
- package/dist/spec/catalogs/narratives/pyramid-principle.json +9 -9
- package/dist/spec/catalogs/narratives/qbr.json +8 -8
- package/dist/spec/catalogs/narratives/rags-to-riches.json +17 -17
- package/dist/spec/catalogs/narratives/reveal.json +19 -19
- package/dist/spec/catalogs/narratives/scqa.json +4 -4
- package/dist/spec/catalogs/narratives/situation-complication-resolution.json +11 -11
- package/dist/spec/catalogs/narratives/sparkline.json +11 -11
- package/dist/spec/catalogs/narratives/star-method.json +11 -11
- package/dist/spec/catalogs/narratives/status-update.json +15 -15
- package/dist/spec/catalogs/narratives/strategic-advisory.json +17 -17
- package/dist/spec/catalogs/narratives/strategic-narrative.json +4 -4
- package/dist/spec/catalogs/narratives/survey-analysis.json +23 -23
- package/dist/spec/catalogs/narratives/survival-story.json +23 -23
- package/dist/spec/catalogs/narratives/transformation-arc.json +4 -4
- package/dist/spec/catalogs/narratives/trend-analysis.json +17 -17
- package/dist/spec/catalogs/narratives/underdog-victory.json +19 -19
- package/dist/spec/catalogs/narratives/venture-pitch.json +27 -27
- package/dist/spec/catalogs/narratives/vision-roadmap.json +13 -13
- package/dist/spec/catalogs/narratives/weekly-progress.json +23 -23
- package/dist/spec/catalogs/narratives/what-so-what-now-what.json +9 -9
- package/dist/spec/openapi.yaml +4 -7
- package/dist/spec/reference/engine-defaults.json +22 -30
- package/dist/spec/reference/engine-vocabularies.json +1577 -0
- package/dist/spec/schemas/audience.schema.json +6 -27
- package/dist/spec/schemas/catalog-index.schema.json +2 -2
- package/dist/spec/schemas/catalog-manifest.schema.json +3 -3
- package/dist/spec/schemas/chart-type.schema.json +17 -321
- package/dist/spec/schemas/color-scheme.schema.json +23 -36
- package/dist/spec/schemas/finding.schema.json +191 -0
- package/dist/spec/schemas/font-scheme.schema.json +17 -75
- package/dist/spec/schemas/language.schema.json +7 -28
- package/dist/spec/schemas/layout.schema.json +130 -184
- package/dist/spec/schemas/narrative.schema.json +20 -48
- package/dist/spec/schemas/opf.schema.json +678 -701
- package/dist/spec/schemas/purpose.schema.json +5 -26
- package/dist/spec/schemas/social-platform.schema.json +2 -48
- package/dist/spec/schemas/theme.schema.json +13 -38
- package/dist/spec/schemas/tone.schema.json +4 -25
- package/dist/spec-files.d.ts +1 -1
- package/dist/spec-files.js +1 -1
- package/dist/symbol-font-encodings.js +18448 -1
- package/dist/types.d.ts +1125 -4
- package/dist/validation-types-BOcY9GTs.d.ts +276 -0
- package/dist/validator.d.ts +63 -4
- package/dist/validator.js +5 -5
- package/dist/yaml.d.ts +102 -0
- package/dist/yaml.js +322 -0
- package/package.json +9 -17
- package/dist/audit.d.ts +0 -35
- package/dist/audit.js +0 -7
- package/dist/catalogs-ywCamd8C.d.ts +0 -1465
- package/dist/catalogs.d.ts +0 -2
- package/dist/catalogs.js +0 -2
- package/dist/chunk-7N4VMAT4.js +0 -1694
- package/dist/chunk-FYLJVF7X.js +0 -18448
- package/dist/chunk-INU7ZNSB.js +0 -670
- package/dist/chunk-IYCJUKWD.js +0 -951
- package/dist/chunk-PIQXLBBJ.js +0 -445
- package/dist/chunk-S5W34SIJ.js +0 -1
- package/dist/lint-B7azdiuE.d.ts +0 -197
- package/dist/lint.d.ts +0 -7
- package/dist/lint.js +0 -6
- package/dist/previews.d.ts +0 -40
- package/dist/previews.js +0 -1
- package/dist/schemas-BbPonsTz.d.ts +0 -270
- package/dist/spec/catalogs/audiences/customers.json +0 -27
- package/dist/spec/catalogs/audiences/executives.json +0 -27
- package/dist/spec/catalogs/audiences/investors.json +0 -27
- package/dist/spec/catalogs/audiences/marketing-team.json +0 -27
- package/dist/spec/catalogs/audiences/regulators.json +0 -27
- package/dist/spec/catalogs/audiences/sales-team.json +0 -27
- package/dist/spec/catalogs/chart-types/100pct-bullet-bar-2x.json +0 -91
- package/dist/spec/catalogs/chart-types/100pct-bullet-bar-3x.json +0 -103
- package/dist/spec/catalogs/chart-types/100pct-bullet-bar.json +0 -79
- package/dist/spec/catalogs/chart-types/100pct-bullet-column-2x.json +0 -91
- package/dist/spec/catalogs/chart-types/100pct-bullet-column-3x.json +0 -103
- package/dist/spec/catalogs/chart-types/100pct-bullet-column.json +0 -79
- package/dist/spec/catalogs/chart-types/100pct-progress-bar.json +0 -105
- package/dist/spec/catalogs/chart-types/100pct-stacked-area-2x.json +0 -106
- package/dist/spec/catalogs/chart-types/100pct-stacked-area-3x.json +0 -123
- package/dist/spec/catalogs/chart-types/100pct-stacked-bar-2x.json +0 -89
- package/dist/spec/catalogs/chart-types/100pct-stacked-bar-3x.json +0 -100
- package/dist/spec/catalogs/chart-types/100pct-stacked-column-2x.json +0 -95
- package/dist/spec/catalogs/chart-types/100pct-stacked-column-3x.json +0 -108
- package/dist/spec/catalogs/chart-types/australia.json +0 -76
- package/dist/spec/catalogs/chart-types/box-and-whisker-2x.json +0 -136
- package/dist/spec/catalogs/chart-types/box-and-whisker-3x.json +0 -168
- package/dist/spec/catalogs/chart-types/bullet-bar-2x.json +0 -89
- package/dist/spec/catalogs/chart-types/bullet-bar-3x.json +0 -101
- package/dist/spec/catalogs/chart-types/bullet-bar.json +0 -77
- package/dist/spec/catalogs/chart-types/bullet-column-2x.json +0 -89
- package/dist/spec/catalogs/chart-types/bullet-column-3x.json +0 -101
- package/dist/spec/catalogs/chart-types/bullet-column.json +0 -77
- package/dist/spec/catalogs/chart-types/canada.json +0 -86
- package/dist/spec/catalogs/chart-types/clustered-bar-2x.json +0 -89
- package/dist/spec/catalogs/chart-types/clustered-column.json +0 -95
- package/dist/spec/catalogs/chart-types/dot-plot-2x.json +0 -99
- package/dist/spec/catalogs/chart-types/dot-plot-3x.json +0 -124
- package/dist/spec/catalogs/chart-types/dot-plot-4x.json +0 -149
- package/dist/spec/catalogs/chart-types/dot-plot-5x.json +0 -174
- package/dist/spec/catalogs/chart-types/dot-plot-6x.json +0 -199
- package/dist/spec/catalogs/chart-types/dot-plot.json +0 -74
- package/dist/spec/catalogs/chart-types/dumbbell.json +0 -120
- package/dist/spec/catalogs/chart-types/line-2x.json +0 -105
- package/dist/spec/catalogs/chart-types/line-3x.json +0 -127
- package/dist/spec/catalogs/chart-types/line-with-high-low-and-markers.json +0 -144
- package/dist/spec/catalogs/chart-types/line-with-high-low.json +0 -144
- package/dist/spec/catalogs/chart-types/line-with-markers-2x.json +0 -106
- package/dist/spec/catalogs/chart-types/line-with-markers-3x.json +0 -128
- package/dist/spec/catalogs/chart-types/sparkline-2x.json +0 -138
- package/dist/spec/catalogs/chart-types/sparkline-3x.json +0 -174
- package/dist/spec/catalogs/chart-types/sparkline-4x.json +0 -210
- package/dist/spec/catalogs/chart-types/sparkline-5x.json +0 -246
- package/dist/spec/catalogs/chart-types/sparkline-6x.json +0 -282
- package/dist/spec/catalogs/chart-types/sparkline.json +0 -102
- package/dist/spec/catalogs/chart-types/stacked-area-2x.json +0 -106
- package/dist/spec/catalogs/chart-types/stacked-area-3x.json +0 -123
- package/dist/spec/catalogs/chart-types/stacked-bar-2x.json +0 -89
- package/dist/spec/catalogs/chart-types/stacked-bar-3x.json +0 -100
- package/dist/spec/catalogs/chart-types/stacked-column-2x.json +0 -95
- package/dist/spec/catalogs/chart-types/stacked-column-3x.json +0 -108
- package/dist/spec/catalogs/chart-types/stacked-line-2x.json +0 -106
- package/dist/spec/catalogs/chart-types/stacked-line-3x.json +0 -123
- package/dist/spec/catalogs/chart-types/stacked-line-with-markers-2x.json +0 -107
- package/dist/spec/catalogs/chart-types/stacked-line-with-markers-3x.json +0 -124
- package/dist/spec/catalogs/chart-types/treemap-2x.json +0 -101
- package/dist/spec/catalogs/chart-types/treemap-3x.json +0 -122
- package/dist/spec/catalogs/chart-types/united-kingdom.json +0 -68
- package/dist/spec/catalogs/chart-types/united-states.json +0 -82
- package/dist/spec/catalogs/layouts/image-bleed.json +0 -10
- package/dist/validator-CIylxoIm.d.ts +0 -172
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
|
|
3
|
-
"id": "stacked-line-with-markers-3x",
|
|
4
|
-
"name": "STACKED_LINE_WITH_MARKERS_3X",
|
|
5
|
-
"label": "Stacked Line with Markers",
|
|
6
|
-
"mappings": {
|
|
7
|
-
"openxml": {
|
|
8
|
-
"element": "lineChart",
|
|
9
|
-
"grouping": "stacked",
|
|
10
|
-
"marker": true,
|
|
11
|
-
"composition": "single"
|
|
12
|
-
},
|
|
13
|
-
"renderers": {
|
|
14
|
-
"aspose-slides": {
|
|
15
|
-
"chartType": "StackedLineWithMarkers"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"categories": 12,
|
|
20
|
-
"columns": [
|
|
21
|
-
"Series 1",
|
|
22
|
-
"Value 1",
|
|
23
|
-
"Value 2",
|
|
24
|
-
"Value 3"
|
|
25
|
-
],
|
|
26
|
-
"group": "Line",
|
|
27
|
-
"groupSort": 2,
|
|
28
|
-
"series": 3,
|
|
29
|
-
"seriesGroups": 1,
|
|
30
|
-
"slideNumber": 18,
|
|
31
|
-
"useSecondaryCategories": false,
|
|
32
|
-
"workbookRange": "Sheet1!$A$1:$M$4",
|
|
33
|
-
"complexity": "simple",
|
|
34
|
-
"dataColumns": [
|
|
35
|
-
{
|
|
36
|
-
"name": "Series 1",
|
|
37
|
-
"role": "categoryLabel",
|
|
38
|
-
"type": "string",
|
|
39
|
-
"position": "row0_col0"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "Value 1",
|
|
43
|
-
"role": "series",
|
|
44
|
-
"type": "number",
|
|
45
|
-
"position": "row1_col0"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "Value 2",
|
|
49
|
-
"role": "series",
|
|
50
|
-
"type": "number",
|
|
51
|
-
"position": "row2_col0"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "Value 3",
|
|
55
|
-
"role": "series",
|
|
56
|
-
"type": "number",
|
|
57
|
-
"position": "row3_col0"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"sampleData": {
|
|
61
|
-
"headers": [
|
|
62
|
-
"Series 1",
|
|
63
|
-
"Q1 2024",
|
|
64
|
-
"Q2 2024",
|
|
65
|
-
"Q3 2024",
|
|
66
|
-
"Q4 2024",
|
|
67
|
-
"Q1 2025",
|
|
68
|
-
"Q2 2025",
|
|
69
|
-
"Q3 2025",
|
|
70
|
-
"Q4 2025",
|
|
71
|
-
"Q1 2026",
|
|
72
|
-
"Q2 2026",
|
|
73
|
-
"Q3 2026",
|
|
74
|
-
"Q4 2026"
|
|
75
|
-
],
|
|
76
|
-
"rows": [
|
|
77
|
-
[
|
|
78
|
-
"Value 1",
|
|
79
|
-
93136,
|
|
80
|
-
65518,
|
|
81
|
-
46265,
|
|
82
|
-
15778,
|
|
83
|
-
10464,
|
|
84
|
-
53719,
|
|
85
|
-
27146,
|
|
86
|
-
93507,
|
|
87
|
-
44335,
|
|
88
|
-
31178,
|
|
89
|
-
67912,
|
|
90
|
-
82309
|
|
91
|
-
],
|
|
92
|
-
[
|
|
93
|
-
"Value 2",
|
|
94
|
-
66057,
|
|
95
|
-
83519,
|
|
96
|
-
11267,
|
|
97
|
-
24663,
|
|
98
|
-
19862,
|
|
99
|
-
29536,
|
|
100
|
-
81511,
|
|
101
|
-
14722,
|
|
102
|
-
58393,
|
|
103
|
-
86350,
|
|
104
|
-
82420,
|
|
105
|
-
29410
|
|
106
|
-
],
|
|
107
|
-
[
|
|
108
|
-
"Value 3",
|
|
109
|
-
66333,
|
|
110
|
-
26704,
|
|
111
|
-
15482,
|
|
112
|
-
50404,
|
|
113
|
-
57795,
|
|
114
|
-
15229,
|
|
115
|
-
56898,
|
|
116
|
-
37535,
|
|
117
|
-
99399,
|
|
118
|
-
42706,
|
|
119
|
-
97416,
|
|
120
|
-
23473
|
|
121
|
-
]
|
|
122
|
-
]
|
|
123
|
-
}
|
|
124
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
|
|
3
|
-
"id": "treemap-2x",
|
|
4
|
-
"name": "TREEMAP_2X",
|
|
5
|
-
"label": "Treemap 2x",
|
|
6
|
-
"mappings": {
|
|
7
|
-
"openxml": {
|
|
8
|
-
"element": "treemapChart",
|
|
9
|
-
"composition": "extension",
|
|
10
|
-
"notes": "Office extension chart; exact extension markup is renderer-specific."
|
|
11
|
-
},
|
|
12
|
-
"renderers": {
|
|
13
|
-
"aspose-slides": {
|
|
14
|
-
"chartType": "Treemap"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"deprecation": {
|
|
19
|
-
"replacedBy": "treemap",
|
|
20
|
-
"reason": "Same Aspose.Slides ChartType (Treemap) as 'treemap'. Series count and geography come from the chart data, not the chart type, so the catalog keeps one record per ChartType.",
|
|
21
|
-
"removal": "0.12.0"
|
|
22
|
-
},
|
|
23
|
-
"categories": 6,
|
|
24
|
-
"columns": [
|
|
25
|
-
"Level1",
|
|
26
|
-
"Level2",
|
|
27
|
-
"Series1"
|
|
28
|
-
],
|
|
29
|
-
"group": "Treemap",
|
|
30
|
-
"groupSort": 8,
|
|
31
|
-
"series": 1,
|
|
32
|
-
"seriesGroups": 1,
|
|
33
|
-
"slideNumber": 44,
|
|
34
|
-
"useSecondaryCategories": false,
|
|
35
|
-
"workbookRange": "Sheet1!$A$1:$G$3",
|
|
36
|
-
"complexity": "hierarchical",
|
|
37
|
-
"dataColumns": [
|
|
38
|
-
{
|
|
39
|
-
"name": "Level1",
|
|
40
|
-
"role": "categoryLabel",
|
|
41
|
-
"type": "string",
|
|
42
|
-
"position": "row0_col0"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"name": "Level2",
|
|
46
|
-
"role": "series",
|
|
47
|
-
"type": "number",
|
|
48
|
-
"position": "row1_col0"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "Series1",
|
|
52
|
-
"role": "series",
|
|
53
|
-
"type": "number",
|
|
54
|
-
"position": "row2_col0"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"sampleData": {
|
|
58
|
-
"headers": [
|
|
59
|
-
"Level1",
|
|
60
|
-
"Level2",
|
|
61
|
-
"Value"
|
|
62
|
-
],
|
|
63
|
-
"rows": [
|
|
64
|
-
[
|
|
65
|
-
"Technology",
|
|
66
|
-
"Software",
|
|
67
|
-
96
|
|
68
|
-
],
|
|
69
|
-
[
|
|
70
|
-
"Technology",
|
|
71
|
-
"Hardware",
|
|
72
|
-
99
|
|
73
|
-
],
|
|
74
|
-
[
|
|
75
|
-
"Technology",
|
|
76
|
-
"Services",
|
|
77
|
-
48
|
|
78
|
-
],
|
|
79
|
-
[
|
|
80
|
-
"Finance",
|
|
81
|
-
"Banking",
|
|
82
|
-
86
|
|
83
|
-
],
|
|
84
|
-
[
|
|
85
|
-
"Finance",
|
|
86
|
-
"Insurance",
|
|
87
|
-
68
|
|
88
|
-
],
|
|
89
|
-
[
|
|
90
|
-
"Healthcare",
|
|
91
|
-
"Pharma",
|
|
92
|
-
77
|
|
93
|
-
],
|
|
94
|
-
[
|
|
95
|
-
"Healthcare",
|
|
96
|
-
"Devices",
|
|
97
|
-
76
|
|
98
|
-
]
|
|
99
|
-
]
|
|
100
|
-
}
|
|
101
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
|
|
3
|
-
"id": "treemap-3x",
|
|
4
|
-
"name": "TREEMAP_3X",
|
|
5
|
-
"label": "Treemap 3x",
|
|
6
|
-
"mappings": {
|
|
7
|
-
"openxml": {
|
|
8
|
-
"element": "treemapChart",
|
|
9
|
-
"composition": "extension",
|
|
10
|
-
"notes": "Office extension chart; exact extension markup is renderer-specific."
|
|
11
|
-
},
|
|
12
|
-
"renderers": {
|
|
13
|
-
"aspose-slides": {
|
|
14
|
-
"chartType": "Treemap"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"deprecation": {
|
|
19
|
-
"replacedBy": "treemap",
|
|
20
|
-
"reason": "Same Aspose.Slides ChartType (Treemap) as 'treemap'. Series count and geography come from the chart data, not the chart type, so the catalog keeps one record per ChartType.",
|
|
21
|
-
"removal": "0.12.0"
|
|
22
|
-
},
|
|
23
|
-
"categories": 16,
|
|
24
|
-
"columns": [
|
|
25
|
-
"Level1",
|
|
26
|
-
"Level2",
|
|
27
|
-
"Level3",
|
|
28
|
-
"Series1"
|
|
29
|
-
],
|
|
30
|
-
"group": "Treemap",
|
|
31
|
-
"groupSort": 8,
|
|
32
|
-
"series": 1,
|
|
33
|
-
"seriesGroups": 1,
|
|
34
|
-
"slideNumber": 45,
|
|
35
|
-
"useSecondaryCategories": false,
|
|
36
|
-
"workbookRange": "Sheet1!$A$1:$Q$4",
|
|
37
|
-
"complexity": "hierarchical",
|
|
38
|
-
"dataColumns": [
|
|
39
|
-
{
|
|
40
|
-
"name": "Level1",
|
|
41
|
-
"role": "categoryLabel",
|
|
42
|
-
"type": "string",
|
|
43
|
-
"position": "row0_col0"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "Level2",
|
|
47
|
-
"role": "helper",
|
|
48
|
-
"type": "number",
|
|
49
|
-
"position": "row1_col0"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"name": "Level3",
|
|
53
|
-
"role": "series",
|
|
54
|
-
"type": "number",
|
|
55
|
-
"position": "row2_col0"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "Series1",
|
|
59
|
-
"role": "series",
|
|
60
|
-
"type": "number",
|
|
61
|
-
"position": "row3_col0"
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"sampleData": {
|
|
65
|
-
"headers": [
|
|
66
|
-
"Level1",
|
|
67
|
-
"Level2",
|
|
68
|
-
"Level3",
|
|
69
|
-
"Value"
|
|
70
|
-
],
|
|
71
|
-
"rows": [
|
|
72
|
-
[
|
|
73
|
-
"North",
|
|
74
|
-
"Tech",
|
|
75
|
-
"Software",
|
|
76
|
-
58
|
|
77
|
-
],
|
|
78
|
-
[
|
|
79
|
-
"North",
|
|
80
|
-
"Tech",
|
|
81
|
-
"Hardware",
|
|
82
|
-
95
|
|
83
|
-
],
|
|
84
|
-
[
|
|
85
|
-
"North",
|
|
86
|
-
"Finance",
|
|
87
|
-
"Banking",
|
|
88
|
-
74
|
|
89
|
-
],
|
|
90
|
-
[
|
|
91
|
-
"North",
|
|
92
|
-
"Finance",
|
|
93
|
-
"Insurance",
|
|
94
|
-
59
|
|
95
|
-
],
|
|
96
|
-
[
|
|
97
|
-
"South",
|
|
98
|
-
"Tech",
|
|
99
|
-
"Software",
|
|
100
|
-
92
|
|
101
|
-
],
|
|
102
|
-
[
|
|
103
|
-
"South",
|
|
104
|
-
"Tech",
|
|
105
|
-
"Hardware",
|
|
106
|
-
99
|
|
107
|
-
],
|
|
108
|
-
[
|
|
109
|
-
"South",
|
|
110
|
-
"Finance",
|
|
111
|
-
"Banking",
|
|
112
|
-
27
|
|
113
|
-
],
|
|
114
|
-
[
|
|
115
|
-
"South",
|
|
116
|
-
"Finance",
|
|
117
|
-
"Insurance",
|
|
118
|
-
98
|
|
119
|
-
]
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
|
|
3
|
-
"id": "united-kingdom",
|
|
4
|
-
"name": "UNITED_KINGDOM",
|
|
5
|
-
"label": "United Kingdom",
|
|
6
|
-
"mappings": {
|
|
7
|
-
"openxml": {
|
|
8
|
-
"element": "mapChart",
|
|
9
|
-
"composition": "extension",
|
|
10
|
-
"notes": "Office extension chart; exact extension markup is renderer-specific."
|
|
11
|
-
},
|
|
12
|
-
"renderers": {
|
|
13
|
-
"aspose-slides": {
|
|
14
|
-
"chartType": "Map"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"deprecation": {
|
|
19
|
-
"replacedBy": "world",
|
|
20
|
-
"reason": "Same Aspose.Slides ChartType (Map) as 'world'. Series count and geography come from the chart data, not the chart type, so the catalog keeps one record per ChartType.",
|
|
21
|
-
"removal": "0.12.0"
|
|
22
|
-
},
|
|
23
|
-
"categories": 4,
|
|
24
|
-
"columns": [
|
|
25
|
-
"State",
|
|
26
|
-
"Value"
|
|
27
|
-
],
|
|
28
|
-
"group": "Map",
|
|
29
|
-
"groupSort": 12,
|
|
30
|
-
"series": 1,
|
|
31
|
-
"seriesGroups": 1,
|
|
32
|
-
"slideNumber": 69,
|
|
33
|
-
"useSecondaryCategories": false,
|
|
34
|
-
"workbookRange": "Sheet1!$A$1:$E$2",
|
|
35
|
-
"complexity": "simple",
|
|
36
|
-
"dataColumns": [
|
|
37
|
-
{
|
|
38
|
-
"name": "State",
|
|
39
|
-
"role": "categoryLabel",
|
|
40
|
-
"type": "string",
|
|
41
|
-
"position": "row0_col0"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "Value",
|
|
45
|
-
"role": "series",
|
|
46
|
-
"type": "number",
|
|
47
|
-
"position": "row1_col0"
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"sampleData": {
|
|
51
|
-
"headers": [
|
|
52
|
-
"State",
|
|
53
|
-
"Q1 2024",
|
|
54
|
-
"Q2 2024",
|
|
55
|
-
"Q3 2024",
|
|
56
|
-
"Q4 2024"
|
|
57
|
-
],
|
|
58
|
-
"rows": [
|
|
59
|
-
[
|
|
60
|
-
"Value",
|
|
61
|
-
33218,
|
|
62
|
-
92306,
|
|
63
|
-
74764,
|
|
64
|
-
70811
|
|
65
|
-
]
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://openpresentation.org/schema/opf-chart-type/v1",
|
|
3
|
-
"id": "united-states",
|
|
4
|
-
"name": "UNITED_STATES",
|
|
5
|
-
"label": "United States",
|
|
6
|
-
"mappings": {
|
|
7
|
-
"openxml": {
|
|
8
|
-
"element": "mapChart",
|
|
9
|
-
"composition": "extension",
|
|
10
|
-
"notes": "Office extension chart; exact extension markup is renderer-specific."
|
|
11
|
-
},
|
|
12
|
-
"renderers": {
|
|
13
|
-
"aspose-slides": {
|
|
14
|
-
"chartType": "Map"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"deprecation": {
|
|
19
|
-
"replacedBy": "world",
|
|
20
|
-
"reason": "Same Aspose.Slides ChartType (Map) as 'world'. Series count and geography come from the chart data, not the chart type, so the catalog keeps one record per ChartType.",
|
|
21
|
-
"removal": "0.12.0"
|
|
22
|
-
},
|
|
23
|
-
"categories": 11,
|
|
24
|
-
"columns": [
|
|
25
|
-
"State",
|
|
26
|
-
"Value"
|
|
27
|
-
],
|
|
28
|
-
"group": "Map",
|
|
29
|
-
"groupSort": 12,
|
|
30
|
-
"series": 1,
|
|
31
|
-
"seriesGroups": 1,
|
|
32
|
-
"slideNumber": 67,
|
|
33
|
-
"useSecondaryCategories": false,
|
|
34
|
-
"workbookRange": "Sheet1!$A$1:$L$2",
|
|
35
|
-
"complexity": "simple",
|
|
36
|
-
"dataColumns": [
|
|
37
|
-
{
|
|
38
|
-
"name": "State",
|
|
39
|
-
"role": "categoryLabel",
|
|
40
|
-
"type": "string",
|
|
41
|
-
"position": "row0_col0"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "Value",
|
|
45
|
-
"role": "series",
|
|
46
|
-
"type": "number",
|
|
47
|
-
"position": "row1_col0"
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"sampleData": {
|
|
51
|
-
"headers": [
|
|
52
|
-
"State",
|
|
53
|
-
"Q1 2024",
|
|
54
|
-
"Q2 2024",
|
|
55
|
-
"Q3 2024",
|
|
56
|
-
"Q4 2024",
|
|
57
|
-
"Q1 2025",
|
|
58
|
-
"Q2 2025",
|
|
59
|
-
"Q3 2025",
|
|
60
|
-
"Q4 2025",
|
|
61
|
-
"Q1 2026",
|
|
62
|
-
"Q2 2026",
|
|
63
|
-
"Q3 2026"
|
|
64
|
-
],
|
|
65
|
-
"rows": [
|
|
66
|
-
[
|
|
67
|
-
"Value",
|
|
68
|
-
39041,
|
|
69
|
-
53655,
|
|
70
|
-
32037,
|
|
71
|
-
20011,
|
|
72
|
-
76910,
|
|
73
|
-
92998,
|
|
74
|
-
24945,
|
|
75
|
-
79547,
|
|
76
|
-
76840,
|
|
77
|
-
35415,
|
|
78
|
-
55793
|
|
79
|
-
]
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { P as Presentation } from './presentation-mG-IYErQ.js';
|
|
2
|
-
import { C as CatalogKind } from './catalogs-ywCamd8C.js';
|
|
3
|
-
import { a as SchemaName, m as JsonSchema } from './schemas-BbPonsTz.js';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Template variables: typed, named values a deck declares once and uses in many
|
|
7
|
-
* places, and the one deterministic function that turns a deck (or a template,
|
|
8
|
-
* "an incomplete OPF file") plus values into a concrete deck.
|
|
9
|
-
*
|
|
10
|
-
* Pure: no clock, locale, time zone, network, file access or randomness. See
|
|
11
|
-
* docs/templates-and-variables.md for the syntax and the recorded decisions.
|
|
12
|
-
*/
|
|
13
|
-
declare const VARIABLE_KINDS: readonly ["color", "text", "number", "date", "image", "url", "list"];
|
|
14
|
-
type VariableKind = (typeof VARIABLE_KINDS)[number];
|
|
15
|
-
type VariableValues = Record<string, unknown>;
|
|
16
|
-
/** Default display pattern of a date variable inserted inline. */
|
|
17
|
-
declare const DEFAULT_VARIABLE_DATE_FORMAT = "MMMM d, yyyy";
|
|
18
|
-
interface VariableDeclaration {
|
|
19
|
-
id: string;
|
|
20
|
-
kind: VariableKind;
|
|
21
|
-
/** JSON pointer of the declaration. */
|
|
22
|
-
path: string;
|
|
23
|
-
/** False only when the declaration sets `required: false`. */
|
|
24
|
-
required: boolean;
|
|
25
|
-
/** Declared (default or current) value, normalized to the kind. Undefined when unfilled. */
|
|
26
|
-
value?: unknown;
|
|
27
|
-
example?: unknown;
|
|
28
|
-
format?: string;
|
|
29
|
-
label?: string;
|
|
30
|
-
description?: string;
|
|
31
|
-
}
|
|
32
|
-
type VariableUseForm = "token" | "reference";
|
|
33
|
-
interface VariableUse {
|
|
34
|
-
id: string;
|
|
35
|
-
/** JSON pointer of the string that carries the token or reference. */
|
|
36
|
-
path: string;
|
|
37
|
-
form: VariableUseForm;
|
|
38
|
-
}
|
|
39
|
-
type VariableDiagnosticCode = "variable-unfilled" | "variable-example-used" | "variable-invalid-value" | "variable-unknown" | "variable-unknown-value" | "variable-unused" | "variable-rich-flattened" | "variable-format";
|
|
40
|
-
type VariableDiagnosticSeverity = "error" | "warning" | "info";
|
|
41
|
-
interface VariableDiagnostic {
|
|
42
|
-
code: VariableDiagnosticCode;
|
|
43
|
-
severity: VariableDiagnosticSeverity;
|
|
44
|
-
/** JSON pointer into the document (declaration or use). */
|
|
45
|
-
path: string;
|
|
46
|
-
/** The variable id the diagnostic is about. */
|
|
47
|
-
id: string;
|
|
48
|
-
message: string;
|
|
49
|
-
}
|
|
50
|
-
interface ResolveVariablesOptions {
|
|
51
|
-
/**
|
|
52
|
-
* Treat the document as a template (overrides the root `template` marker):
|
|
53
|
-
* unfilled required variables are informational and the output stays a
|
|
54
|
-
* template. Default: the root `template` marker.
|
|
55
|
-
*/
|
|
56
|
-
template?: boolean;
|
|
57
|
-
/** Use each unfilled variable's `example` (previews of a template). Default false. */
|
|
58
|
-
examples?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Allow unfilled required variables (a partial fill): they are informational,
|
|
61
|
-
* their tokens and references stay as written, and their declarations remain
|
|
62
|
-
* in the output so a later pass can fill them. Default false.
|
|
63
|
-
*/
|
|
64
|
-
partial?: boolean;
|
|
65
|
-
/** Throw OPFVariableError when any diagnostic has severity "error". Default false. */
|
|
66
|
-
strict?: boolean;
|
|
67
|
-
}
|
|
68
|
-
interface ResolveVariablesResult {
|
|
69
|
-
/**
|
|
70
|
-
* The concrete deck. Content variables are substituted and their declarations
|
|
71
|
-
* removed; color variables keep their `var:<id>` references and carry the
|
|
72
|
-
* resolved values; `template` is removed once nothing is unfilled. Unchanged
|
|
73
|
-
* parts of the input are shared, never mutated: treat the result as immutable.
|
|
74
|
-
*/
|
|
75
|
-
presentation: Record<string, unknown>;
|
|
76
|
-
diagnostics: VariableDiagnostic[];
|
|
77
|
-
/** Ids of required variables that still have no value, in declaration order. */
|
|
78
|
-
unfilled: string[];
|
|
79
|
-
/** Ids whose `example` was used because the variable was unfilled. */
|
|
80
|
-
examplesUsed: string[];
|
|
81
|
-
/** True when no required variable is unfilled. */
|
|
82
|
-
complete: boolean;
|
|
83
|
-
}
|
|
84
|
-
declare class OPFVariableError extends Error {
|
|
85
|
-
readonly diagnostics: VariableDiagnostic[];
|
|
86
|
-
constructor(diagnostics: VariableDiagnostic[]);
|
|
87
|
-
}
|
|
88
|
-
/** True when the root `template` marker is set. */
|
|
89
|
-
declare function isTemplate(presentation: unknown): boolean;
|
|
90
|
-
/** Coerce a raw value (from a values file, a form or a declaration) to the kind's canonical value. */
|
|
91
|
-
declare function coerceVariableValue(kind: VariableKind, raw: unknown): {
|
|
92
|
-
ok: true;
|
|
93
|
-
value: unknown;
|
|
94
|
-
} | {
|
|
95
|
-
ok: false;
|
|
96
|
-
message: string;
|
|
97
|
-
};
|
|
98
|
-
/** The declarations of the document's `variables` map, in declaration order. Entries the schema rejects are skipped. */
|
|
99
|
-
declare function variableDeclarations(presentation: unknown): VariableDeclaration[];
|
|
100
|
-
/** True when the document declares a non-color variable or is marked as a template. */
|
|
101
|
-
declare function hasContentVariables(presentation: unknown): boolean;
|
|
102
|
-
/** Format a number with a display pattern (see the schema `NumberVariable.format`). */
|
|
103
|
-
declare function formatVariableNumber(value: number, pattern?: string): {
|
|
104
|
-
text: string;
|
|
105
|
-
} | {
|
|
106
|
-
error: string;
|
|
107
|
-
};
|
|
108
|
-
/**
|
|
109
|
-
* Resolve a presentation's variables against caller-supplied values and return
|
|
110
|
-
* the concrete deck. Pure and deterministic; never invents content: a value
|
|
111
|
-
* comes from the caller, the declaration's `value`, or (only when
|
|
112
|
-
* `options.examples` is set) the declaration's `example`. See
|
|
113
|
-
* docs/templates-and-variables.md.
|
|
114
|
-
*/
|
|
115
|
-
declare function resolveVariables(presentation: unknown, values?: VariableValues, options?: ResolveVariablesOptions): ResolveVariablesResult;
|
|
116
|
-
interface VariableInfo extends VariableDeclaration {
|
|
117
|
-
/** True when the declaration (or the supplied values) gives the variable a value. */
|
|
118
|
-
filled: boolean;
|
|
119
|
-
/** Every place the variable is referenced. */
|
|
120
|
-
uses: VariableUse[];
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* The variables a deck or template declares, for fill forms and agents: kind,
|
|
124
|
-
* label, requirement, example, current value and every place each is used.
|
|
125
|
-
*/
|
|
126
|
-
declare function listVariables(presentation: unknown, values?: VariableValues): VariableInfo[];
|
|
127
|
-
|
|
128
|
-
declare const promotedRegionKeys: readonly ["left", "center", "right", "left+center", "center+right", "left+center+right", "top", "middle", "bottom", "top+middle", "middle+bottom", "top+middle+bottom", "top:left", "top:center", "top:right", "top:left+center", "top:center+right", "top:left+center+right", "middle:left", "middle:center", "middle:right", "middle:left+center", "middle:center+right", "middle:left+center+right", "bottom:left", "bottom:center", "bottom:right", "bottom:left+center", "bottom:center+right", "bottom:left+center+right", "top+middle:left", "top+middle:center", "top+middle:right", "top+middle:left+center", "top+middle:center+right", "top+middle:left+center+right", "middle+bottom:left", "middle+bottom:center", "middle+bottom:right", "middle+bottom:left+center", "middle+bottom:center+right", "middle+bottom:left+center+right", "top+middle+bottom:left", "top+middle+bottom:center", "top+middle+bottom:right", "top+middle+bottom:left+center", "top+middle+bottom:center+right", "top+middle+bottom:left+center+right"];
|
|
129
|
-
|
|
130
|
-
interface ValidationIssue {
|
|
131
|
-
path: string;
|
|
132
|
-
message: string;
|
|
133
|
-
keyword: string;
|
|
134
|
-
schemaPath: string;
|
|
135
|
-
params: Record<string, unknown>;
|
|
136
|
-
}
|
|
137
|
-
interface ValidationResult {
|
|
138
|
-
valid: boolean;
|
|
139
|
-
errors: ValidationIssue[];
|
|
140
|
-
/** Advisory issues such as unknown catalog ids. Warnings never affect `valid`. */
|
|
141
|
-
warnings: ValidationIssue[];
|
|
142
|
-
schemaName?: SchemaName;
|
|
143
|
-
catalogKind?: CatalogKind;
|
|
144
|
-
/**
|
|
145
|
-
* Presentations only, when the document declares content variables or is a
|
|
146
|
-
* template: whether it was validated as a template, and which required
|
|
147
|
-
* variables have no value. A template reports them without failing.
|
|
148
|
-
*/
|
|
149
|
-
template?: boolean;
|
|
150
|
-
unfilledVariables?: string[];
|
|
151
|
-
}
|
|
152
|
-
interface ValidateOptions {
|
|
153
|
-
/** Validate as a template (true) or a normal deck (false), overriding the root `template` marker. */
|
|
154
|
-
template?: boolean;
|
|
155
|
-
/** Values to fill variables with before checking, keyed by variable id. */
|
|
156
|
-
values?: VariableValues;
|
|
157
|
-
}
|
|
158
|
-
type SchemaOrKind = SchemaName | CatalogKind | JsonSchema;
|
|
159
|
-
declare class OPFValidationError extends Error {
|
|
160
|
-
readonly issues: ValidationIssue[];
|
|
161
|
-
readonly result: ValidationResult;
|
|
162
|
-
constructor(result: ValidationResult);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
declare function validate(value: unknown, schemaOrKind?: SchemaOrKind, options?: ValidateOptions): ValidationResult;
|
|
166
|
-
declare function assertValid<T = unknown>(value: T, schemaOrKind?: SchemaOrKind, options?: ValidateOptions): T;
|
|
167
|
-
declare function validatePresentation(value: unknown, options?: ValidateOptions): ValidationResult;
|
|
168
|
-
declare function assertValidPresentation(value: unknown, options?: ValidateOptions): asserts value is Presentation;
|
|
169
|
-
declare function validateCatalogRecord(kind: CatalogKind, value: unknown): ValidationResult;
|
|
170
|
-
declare function assertValidCatalogRecord(kind: CatalogKind, value: unknown): void;
|
|
171
|
-
|
|
172
|
-
export { variableDeclarations as A, promotedRegionKeys as B, DEFAULT_VARIABLE_DATE_FORMAT as D, OPFValidationError as O, type ResolveVariablesOptions as R, type SchemaOrKind as S, type ValidationIssue as V, OPFVariableError as a, type ResolveVariablesResult as b, VARIABLE_KINDS as c, type ValidateOptions as d, type ValidationResult as e, type VariableDeclaration as f, type VariableDiagnostic as g, type VariableDiagnosticCode as h, type VariableDiagnosticSeverity as i, type VariableInfo as j, type VariableKind as k, type VariableUse as l, type VariableUseForm as m, type VariableValues as n, assertValid as o, assertValidCatalogRecord as p, assertValidPresentation as q, coerceVariableValue as r, formatVariableNumber as s, hasContentVariables as t, isTemplate as u, listVariables as v, resolveVariables as w, validate as x, validateCatalogRecord as y, validatePresentation as z };
|