@openpresentation/opf 0.18.3 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -17
- package/dist/browser.js +18 -20
- package/dist/{catalog-refs-BSfGELpt.d.ts → catalog-refs-CSHevLn1.d.ts} +1 -1
- package/dist/{chunk-KA3ZPFVT.js → chunk-65GDO6TJ.js} +96 -40
- package/dist/{chunk-JCOSZTOI.js → chunk-A6COIVTD.js} +7 -2
- package/dist/{chunk-ZCFSDSUX.js → chunk-AK4UXIRP.js} +1 -1
- package/dist/{chunk-WXSPETQ6.js → chunk-F7PLNWHQ.js} +25 -3
- package/dist/{chunk-MSFE2HUK.js → chunk-FGUQHD37.js} +16 -13
- package/dist/{chunk-GVOLSWAJ.js → chunk-GRN3U5JT.js} +5 -5
- package/dist/{chunk-TRELE6I6.js → chunk-HBFRNOP4.js} +1 -1
- package/dist/{chunk-R7KIASS4.js → chunk-LRPSMQ62.js} +1 -1
- package/dist/chunk-OOT5AY4V.js +16 -0
- package/dist/{chunk-FO3WGS4R.js → chunk-OVBGGGKO.js} +25 -16
- package/dist/{chunk-2PEWUUBR.js → chunk-R5T4H4ZV.js} +350 -314
- package/dist/{chunk-L5YACLWK.js → chunk-SEUJIS55.js} +2 -2
- package/dist/{chunk-ECP7QPGK.js → chunk-SIQWYDFF.js} +6 -6
- package/dist/chunk-UJSAR6GF.js +181 -0
- package/dist/{chunk-IM337HP5.js → chunk-V3RGXJJS.js} +4 -5
- package/dist/{chunk-WHHLGDCQ.js → chunk-WHKFIFN7.js} +1 -1
- package/dist/{chunk-K5EG3UMS.js → chunk-XWMKAJSS.js} +46 -17
- package/dist/{chunk-PNINP5IF.js → chunk-YAHPQRVU.js} +1 -1
- package/dist/{chunk-MBU42S5Y.js → chunk-ZPCKGGI6.js} +1152 -273
- package/dist/{composition-C-OoqvAr.d.ts → composition-DilAHoWM.d.ts} +385 -99
- package/dist/composition.d.ts +2 -2
- package/dist/composition.js +1 -2
- package/dist/conversion-NJQHH4QW.js +19 -0
- package/dist/{conversion-BxZbBd_0.d.ts → conversion-k9l5pQsq.d.ts} +11 -11
- package/dist/convert.d.ts +3 -3
- package/dist/convert.js +7 -9
- package/dist/data.d.ts +1 -1
- package/dist/data.js +2 -3
- package/dist/{deck-report-DiDf_Vew.d.ts → deck-report-D19fyuNu.d.ts} +3 -3
- package/dist/deck.d.ts +6 -6
- package/dist/deck.js +10 -12
- package/dist/diff.js +5 -7
- package/dist/docs.js +27 -21
- package/dist/examples.d.ts +1 -1
- package/dist/examples.js +23853 -20994
- package/dist/font-policy.js +1 -1
- package/dist/format.js +2 -2
- package/dist/index.d.ts +22 -21
- package/dist/index.js +24 -27
- package/dist/markdown.d.ts +4 -4
- package/dist/markdown.js +7 -9
- package/dist/node-engine.d.ts +26 -9
- package/dist/node-engine.js +23 -24
- package/dist/{pagination-BaUjDrTz.d.ts → pagination-BNj5UQn5.d.ts} +3 -3
- package/dist/pagination.d.ts +3 -3
- package/dist/pagination.js +4 -6
- package/dist/patch.js +4 -6
- package/dist/{presentation-81rNihF0.d.ts → presentation-B_e2Djga.d.ts} +35 -19
- package/dist/repo-readme.js +1 -1
- package/dist/schemas.d.ts +2 -18
- package/dist/schemas.js +1 -1
- package/dist/spec/README.md +12 -19
- package/dist/spec/reference/engine-vocabularies.json +1 -1
- package/dist/spec/reference/font-policy.json +25 -3
- package/dist/spec/schemas/catalog-index.schema.json +3 -3
- package/dist/spec/schemas/catalog-manifest.schema.json +1 -1
- package/dist/spec/schemas/chart-type.schema.json +2 -2
- package/dist/spec/schemas/language.schema.json +1 -1
- package/dist/spec/schemas/layout-preview-index.schema.json +25 -11
- package/dist/spec/schemas/layout.schema.json +193 -272
- package/dist/spec/schemas/opf.schema.json +63 -18
- package/dist/spec/schemas/social-platform.schema.json +1 -1
- package/dist/spec/schemas/theme.schema.json +60 -0
- package/dist/spec-files.d.ts +2 -2
- package/dist/spec-files.js +1 -1
- package/dist/types.d.ts +115 -40
- package/dist/{validation-types-PbGDrNUr.d.ts → validation-types-CWhPuYUt.d.ts} +2 -2
- package/dist/validator-Cse-AD32.d.ts +73 -0
- package/dist/validator.d.ts +6 -60
- package/dist/validator.js +3 -5
- package/dist/yaml.d.ts +4 -4
- package/dist/yaml.js +7 -9
- package/package.json +6 -9
- package/dist/catalog-schemas-CinPh5WA.d.ts +0 -12
- package/dist/catalog.d.ts +0 -91
- package/dist/catalog.js +0 -3
- package/dist/chunk-HXHOZ7AH.js +0 -4937
- package/dist/chunk-SPFV27O5.js +0 -210
- package/dist/chunk-TRDXRRQK.js +0 -17
- package/dist/chunk-WCG3THTD.js +0 -23712
- package/dist/conversion-4CLOEG6O.js +0 -21
- package/dist/spec/catalogs/audiences/academic.json +0 -24
- package/dist/spec/catalogs/audiences/all-hands.json +0 -25
- package/dist/spec/catalogs/audiences/board.json +0 -24
- package/dist/spec/catalogs/audiences/candidates.json +0 -23
- package/dist/spec/catalogs/audiences/customer.json +0 -25
- package/dist/spec/catalogs/audiences/engineering-team.json +0 -23
- package/dist/spec/catalogs/audiences/executive.json +0 -24
- package/dist/spec/catalogs/audiences/general-public.json +0 -25
- package/dist/spec/catalogs/audiences/index.json +0 -105
- package/dist/spec/catalogs/audiences/internal-team.json +0 -25
- package/dist/spec/catalogs/audiences/investor.json +0 -25
- package/dist/spec/catalogs/audiences/marketing.json +0 -25
- package/dist/spec/catalogs/audiences/media.json +0 -24
- package/dist/spec/catalogs/audiences/partner.json +0 -25
- package/dist/spec/catalogs/audiences/regulatory.json +0 -25
- package/dist/spec/catalogs/audiences/sales.json +0 -25
- package/dist/spec/catalogs/audiences/technical.json +0 -25
- package/dist/spec/catalogs/chart-types/100pct-stacked-area.json +0 -21
- package/dist/spec/catalogs/chart-types/100pct-stacked-bar.json +0 -22
- package/dist/spec/catalogs/chart-types/100pct-stacked-column.json +0 -22
- package/dist/spec/catalogs/chart-types/area.json +0 -20
- package/dist/spec/catalogs/chart-types/bar.json +0 -22
- package/dist/spec/catalogs/chart-types/box-and-whisker.json +0 -21
- package/dist/spec/catalogs/chart-types/column.json +0 -22
- package/dist/spec/catalogs/chart-types/combo.json +0 -37
- package/dist/spec/catalogs/chart-types/doughnut.json +0 -20
- package/dist/spec/catalogs/chart-types/filled-radar.json +0 -21
- package/dist/spec/catalogs/chart-types/funnel.json +0 -21
- package/dist/spec/catalogs/chart-types/histogram.json +0 -21
- package/dist/spec/catalogs/chart-types/index.json +0 -171
- package/dist/spec/catalogs/chart-types/line-with-markers.json +0 -21
- package/dist/spec/catalogs/chart-types/line.json +0 -20
- package/dist/spec/catalogs/chart-types/pareto.json +0 -22
- package/dist/spec/catalogs/chart-types/pie.json +0 -20
- package/dist/spec/catalogs/chart-types/radar-with-markers.json +0 -21
- package/dist/spec/catalogs/chart-types/radar.json +0 -21
- package/dist/spec/catalogs/chart-types/scatter.json +0 -21
- package/dist/spec/catalogs/chart-types/stacked-area.json +0 -21
- package/dist/spec/catalogs/chart-types/stacked-bar.json +0 -22
- package/dist/spec/catalogs/chart-types/stacked-column.json +0 -22
- package/dist/spec/catalogs/chart-types/stacked-line-with-markers.json +0 -22
- package/dist/spec/catalogs/chart-types/stacked-line.json +0 -21
- package/dist/spec/catalogs/chart-types/treemap.json +0 -21
- package/dist/spec/catalogs/chart-types/waterfall.json +0 -21
- package/dist/spec/catalogs/chart-types/world.json +0 -21
- package/dist/spec/catalogs/color-schemes/black-and-white.json +0 -26
- package/dist/spec/catalogs/color-schemes/bold-red.json +0 -26
- package/dist/spec/catalogs/color-schemes/boost.json +0 -26
- package/dist/spec/catalogs/color-schemes/burnt-orange.json +0 -26
- package/dist/spec/catalogs/color-schemes/cool-horizon.json +0 -26
- package/dist/spec/catalogs/color-schemes/corporate-blue.json +0 -26
- package/dist/spec/catalogs/color-schemes/deep-purple.json +0 -26
- package/dist/spec/catalogs/color-schemes/forest-green.json +0 -26
- package/dist/spec/catalogs/color-schemes/golden-yellow.json +0 -26
- package/dist/spec/catalogs/color-schemes/index.json +0 -79
- package/dist/spec/catalogs/color-schemes/luxury.json +0 -26
- package/dist/spec/catalogs/color-schemes/pastel-red.json +0 -26
- package/dist/spec/catalogs/color-schemes/slate-gray.json +0 -26
- package/dist/spec/catalogs/color-schemes/steel-blue.json +0 -26
- package/dist/spec/catalogs/color-schemes/vibes.json +0 -26
- package/dist/spec/catalogs/font-schemes/angsana-new.json +0 -15
- package/dist/spec/catalogs/font-schemes/aparajita.json +0 -16
- package/dist/spec/catalogs/font-schemes/aptos.json +0 -13
- package/dist/spec/catalogs/font-schemes/arabic-typesetting.json +0 -15
- package/dist/spec/catalogs/font-schemes/arial.json +0 -13
- package/dist/spec/catalogs/font-schemes/batang.json +0 -15
- package/dist/spec/catalogs/font-schemes/bookman.json +0 -13
- package/dist/spec/catalogs/font-schemes/calibri.json +0 -13
- package/dist/spec/catalogs/font-schemes/century-schoolbook.json +0 -13
- package/dist/spec/catalogs/font-schemes/consolas.json +0 -14
- package/dist/spec/catalogs/font-schemes/constantia.json +0 -13
- package/dist/spec/catalogs/font-schemes/courier-new.json +0 -14
- package/dist/spec/catalogs/font-schemes/daunpenh.json +0 -15
- package/dist/spec/catalogs/font-schemes/david.json +0 -15
- package/dist/spec/catalogs/font-schemes/dilleniaupc.json +0 -15
- package/dist/spec/catalogs/font-schemes/fangsong.json +0 -15
- package/dist/spec/catalogs/font-schemes/garamond.json +0 -13
- package/dist/spec/catalogs/font-schemes/gautami.json +0 -15
- package/dist/spec/catalogs/font-schemes/georgia.json +0 -13
- package/dist/spec/catalogs/font-schemes/gisha.json +0 -16
- package/dist/spec/catalogs/font-schemes/grandview.json +0 -13
- package/dist/spec/catalogs/font-schemes/gungsuh.json +0 -15
- package/dist/spec/catalogs/font-schemes/impact.json +0 -13
- package/dist/spec/catalogs/font-schemes/index.json +0 -454
- package/dist/spec/catalogs/font-schemes/kalinga.json +0 -15
- package/dist/spec/catalogs/font-schemes/kartika.json +0 -15
- package/dist/spec/catalogs/font-schemes/khmer-ui.json +0 -15
- package/dist/spec/catalogs/font-schemes/latha.json +0 -15
- package/dist/spec/catalogs/font-schemes/lucida-sans.json +0 -13
- package/dist/spec/catalogs/font-schemes/malgun-gothic.json +0 -15
- package/dist/spec/catalogs/font-schemes/mangal.json +0 -17
- package/dist/spec/catalogs/font-schemes/meiryo.json +0 -15
- package/dist/spec/catalogs/font-schemes/microsoft-jhenghei.json +0 -15
- package/dist/spec/catalogs/font-schemes/microsoft-yahei.json +0 -18
- package/dist/spec/catalogs/font-schemes/mingliu.json +0 -15
- package/dist/spec/catalogs/font-schemes/miriam.json +0 -15
- package/dist/spec/catalogs/font-schemes/montserrat.json +0 -13
- package/dist/spec/catalogs/font-schemes/ms-mincho.json +0 -15
- package/dist/spec/catalogs/font-schemes/nirmala-ui.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-naksh-arabic.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-nastaliq-urdu.json +0 -16
- package/dist/spec/catalogs/font-schemes/noto-sans-arabic.json +0 -17
- package/dist/spec/catalogs/font-schemes/noto-sans-armenian.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-bengali.json +0 -16
- package/dist/spec/catalogs/font-schemes/noto-sans-devangari.json +0 -16
- package/dist/spec/catalogs/font-schemes/noto-sans-ethiopic.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-georgian.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-gujarati.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-gurmukhi.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-hebrew.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-jp.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-kannada.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-khmer.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-kr.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-malayalam.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-mongolian.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-oriya.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-sc.json +0 -18
- package/dist/spec/catalogs/font-schemes/noto-sans-tamil.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-tc.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-telugu.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans-thai.json +0 -15
- package/dist/spec/catalogs/font-schemes/noto-sans.json +0 -18
- package/dist/spec/catalogs/font-schemes/nyala.json +0 -15
- package/dist/spec/catalogs/font-schemes/open-sans.json +0 -13
- package/dist/spec/catalogs/font-schemes/pmingliu.json +0 -15
- package/dist/spec/catalogs/font-schemes/poppins.json +0 -13
- package/dist/spec/catalogs/font-schemes/pt-serif.json +0 -13
- package/dist/spec/catalogs/font-schemes/raavi.json +0 -15
- package/dist/spec/catalogs/font-schemes/raleway.json +0 -13
- package/dist/spec/catalogs/font-schemes/roboto.json +0 -13
- package/dist/spec/catalogs/font-schemes/rockwell.json +0 -13
- package/dist/spec/catalogs/font-schemes/sakkal-majalla.json +0 -17
- package/dist/spec/catalogs/font-schemes/seaford.json +0 -13
- package/dist/spec/catalogs/font-schemes/segoe-ui-light.json +0 -13
- package/dist/spec/catalogs/font-schemes/segoe-ui.json +0 -13
- package/dist/spec/catalogs/font-schemes/shonar-bangla.json +0 -16
- package/dist/spec/catalogs/font-schemes/shruti.json +0 -15
- package/dist/spec/catalogs/font-schemes/simsun.json +0 -15
- package/dist/spec/catalogs/font-schemes/skeena.json +0 -13
- package/dist/spec/catalogs/font-schemes/sylfaen.json +0 -16
- package/dist/spec/catalogs/font-schemes/tahoma.json +0 -13
- package/dist/spec/catalogs/font-schemes/tenorite.json +0 -13
- package/dist/spec/catalogs/font-schemes/times-new-roman.json +0 -13
- package/dist/spec/catalogs/font-schemes/traditional-arabic.json +0 -17
- package/dist/spec/catalogs/font-schemes/trebuchet-ms.json +0 -13
- package/dist/spec/catalogs/font-schemes/tunga.json +0 -15
- package/dist/spec/catalogs/font-schemes/verdana.json +0 -13
- package/dist/spec/catalogs/font-schemes/vrinda.json +0 -15
- package/dist/spec/catalogs/font-schemes/yu-gothic.json +0 -15
- package/dist/spec/catalogs/languages/afrikaans.json +0 -12
- package/dist/spec/catalogs/languages/albanian.json +0 -12
- package/dist/spec/catalogs/languages/amharic.json +0 -12
- package/dist/spec/catalogs/languages/arabic.json +0 -12
- package/dist/spec/catalogs/languages/armenian.json +0 -12
- package/dist/spec/catalogs/languages/aymara.json +0 -12
- package/dist/spec/catalogs/languages/azerbaijani.json +0 -12
- package/dist/spec/catalogs/languages/bengali.json +0 -12
- package/dist/spec/catalogs/languages/berber-latin.json +0 -12
- package/dist/spec/catalogs/languages/bosnian-latin.json +0 -12
- package/dist/spec/catalogs/languages/bulgarian.json +0 -12
- package/dist/spec/catalogs/languages/catalan.json +0 -12
- package/dist/spec/catalogs/languages/cebuano.json +0 -12
- package/dist/spec/catalogs/languages/chinese-simplified.json +0 -12
- package/dist/spec/catalogs/languages/chinese-traditional.json +0 -12
- package/dist/spec/catalogs/languages/chittagonian.json +0 -12
- package/dist/spec/catalogs/languages/croatian.json +0 -12
- package/dist/spec/catalogs/languages/czech.json +0 -12
- package/dist/spec/catalogs/languages/danish.json +0 -12
- package/dist/spec/catalogs/languages/dutch.json +0 -12
- package/dist/spec/catalogs/languages/english-au.json +0 -12
- package/dist/spec/catalogs/languages/english-ca.json +0 -12
- package/dist/spec/catalogs/languages/english-gb.json +0 -12
- package/dist/spec/catalogs/languages/english-in.json +0 -12
- package/dist/spec/catalogs/languages/english-us.json +0 -12
- package/dist/spec/catalogs/languages/english.json +0 -12
- package/dist/spec/catalogs/languages/estonian.json +0 -12
- package/dist/spec/catalogs/languages/filipino.json +0 -12
- package/dist/spec/catalogs/languages/finnish.json +0 -12
- package/dist/spec/catalogs/languages/french.json +0 -12
- package/dist/spec/catalogs/languages/fulfulde.json +0 -12
- package/dist/spec/catalogs/languages/galician.json +0 -12
- package/dist/spec/catalogs/languages/georgian.json +0 -12
- package/dist/spec/catalogs/languages/german.json +0 -12
- package/dist/spec/catalogs/languages/greek.json +0 -12
- package/dist/spec/catalogs/languages/gujarati.json +0 -12
- package/dist/spec/catalogs/languages/hausa.json +0 -12
- package/dist/spec/catalogs/languages/hebrew.json +0 -12
- package/dist/spec/catalogs/languages/hindi.json +0 -12
- package/dist/spec/catalogs/languages/hungarian.json +0 -12
- package/dist/spec/catalogs/languages/igbo.json +0 -12
- package/dist/spec/catalogs/languages/index.json +0 -567
- package/dist/spec/catalogs/languages/indonesian.json +0 -12
- package/dist/spec/catalogs/languages/italian.json +0 -12
- package/dist/spec/catalogs/languages/japanese.json +0 -12
- package/dist/spec/catalogs/languages/kannada.json +0 -12
- package/dist/spec/catalogs/languages/kazakh.json +0 -12
- package/dist/spec/catalogs/languages/khmer.json +0 -12
- package/dist/spec/catalogs/languages/kinyarwanda.json +0 -12
- package/dist/spec/catalogs/languages/korean.json +0 -12
- package/dist/spec/catalogs/languages/kurmanji.json +0 -12
- package/dist/spec/catalogs/languages/latvian.json +0 -12
- package/dist/spec/catalogs/languages/lithuanian.json +0 -12
- package/dist/spec/catalogs/languages/macedonian.json +0 -12
- package/dist/spec/catalogs/languages/malagasy.json +0 -12
- package/dist/spec/catalogs/languages/malay.json +0 -12
- package/dist/spec/catalogs/languages/malayalam.json +0 -12
- package/dist/spec/catalogs/languages/maori.json +0 -12
- package/dist/spec/catalogs/languages/marathi.json +0 -12
- package/dist/spec/catalogs/languages/mongolian.json +0 -12
- package/dist/spec/catalogs/languages/nepali.json +0 -12
- package/dist/spec/catalogs/languages/norwegian.json +0 -12
- package/dist/spec/catalogs/languages/odia.json +0 -12
- package/dist/spec/catalogs/languages/oromo.json +0 -12
- package/dist/spec/catalogs/languages/pashto.json +0 -12
- package/dist/spec/catalogs/languages/persian.json +0 -12
- package/dist/spec/catalogs/languages/polish.json +0 -12
- package/dist/spec/catalogs/languages/portuguese.json +0 -12
- package/dist/spec/catalogs/languages/punjabi-gurmukhi.json +0 -12
- package/dist/spec/catalogs/languages/punjabi-shahmukhi.json +0 -12
- package/dist/spec/catalogs/languages/romanian.json +0 -12
- package/dist/spec/catalogs/languages/russian.json +0 -12
- package/dist/spec/catalogs/languages/serbian-cyrillic.json +0 -12
- package/dist/spec/catalogs/languages/serbian-latin.json +0 -12
- package/dist/spec/catalogs/languages/shona.json +0 -12
- package/dist/spec/catalogs/languages/slovak.json +0 -12
- package/dist/spec/catalogs/languages/slovenian.json +0 -12
- package/dist/spec/catalogs/languages/somali.json +0 -12
- package/dist/spec/catalogs/languages/spanish.json +0 -12
- package/dist/spec/catalogs/languages/swahili.json +0 -12
- package/dist/spec/catalogs/languages/swedish.json +0 -12
- package/dist/spec/catalogs/languages/tagalog.json +0 -12
- package/dist/spec/catalogs/languages/tajik.json +0 -12
- package/dist/spec/catalogs/languages/tamil.json +0 -12
- package/dist/spec/catalogs/languages/telugu.json +0 -12
- package/dist/spec/catalogs/languages/thai.json +0 -12
- package/dist/spec/catalogs/languages/turkish.json +0 -12
- package/dist/spec/catalogs/languages/ukrainian.json +0 -12
- package/dist/spec/catalogs/languages/urdu.json +0 -12
- package/dist/spec/catalogs/languages/uzbek-latin.json +0 -12
- package/dist/spec/catalogs/languages/vietnamese-quoc-ngu.json +0 -12
- package/dist/spec/catalogs/languages/xhosa.json +0 -12
- package/dist/spec/catalogs/languages/yoruba.json +0 -12
- package/dist/spec/catalogs/languages/zulu.json +0 -12
- package/dist/spec/catalogs/layouts/action-plan.json +0 -29
- package/dist/spec/catalogs/layouts/agenda.json +0 -28
- package/dist/spec/catalogs/layouts/appendix-index.json +0 -30
- package/dist/spec/catalogs/layouts/architecture-stack.json +0 -29
- package/dist/spec/catalogs/layouts/assumptions-dependencies.json +0 -29
- package/dist/spec/catalogs/layouts/before-after.json +0 -35
- package/dist/spec/catalogs/layouts/benchmark-target-table.json +0 -29
- package/dist/spec/catalogs/layouts/blank.json +0 -16
- package/dist/spec/catalogs/layouts/bullet-list.json +0 -32
- package/dist/spec/catalogs/layouts/business-model-canvas.json +0 -94
- package/dist/spec/catalogs/layouts/capability-map.json +0 -80
- package/dist/spec/catalogs/layouts/case-study.json +0 -29
- package/dist/spec/catalogs/layouts/chapter-recap.json +0 -28
- package/dist/spec/catalogs/layouts/chart-1x-title-center.json +0 -30
- package/dist/spec/catalogs/layouts/chart-1x.json +0 -34
- package/dist/spec/catalogs/layouts/chart-2x-title-center.json +0 -36
- package/dist/spec/catalogs/layouts/chart-2x-vertical-title-left.json +0 -37
- package/dist/spec/catalogs/layouts/chart-2x.json +0 -65
- package/dist/spec/catalogs/layouts/chart-3x-bottom-vertical-title-left.json +0 -52
- package/dist/spec/catalogs/layouts/chart-3x-left-title-center.json +0 -51
- package/dist/spec/catalogs/layouts/chart-3x-left.json +0 -46
- package/dist/spec/catalogs/layouts/chart-3x-right-title-center.json +0 -51
- package/dist/spec/catalogs/layouts/chart-3x-right.json +0 -46
- package/dist/spec/catalogs/layouts/chart-3x-title-center.json +0 -39
- package/dist/spec/catalogs/layouts/chart-3x-top-vertical-title-left.json +0 -52
- package/dist/spec/catalogs/layouts/chart-3x.json +0 -83
- package/dist/spec/catalogs/layouts/circular-lifecycle.json +0 -29
- package/dist/spec/catalogs/layouts/code-1x.json +0 -29
- package/dist/spec/catalogs/layouts/comparison.json +0 -35
- package/dist/spec/catalogs/layouts/competitive-landscape.json +0 -30
- package/dist/spec/catalogs/layouts/customer-journey.json +0 -30
- package/dist/spec/catalogs/layouts/customer-logos.json +0 -32
- package/dist/spec/catalogs/layouts/dashboard.json +0 -67
- package/dist/spec/catalogs/layouts/data-visualization.json +0 -39
- package/dist/spec/catalogs/layouts/decision-tree.json +0 -30
- package/dist/spec/catalogs/layouts/detailed-data-table.json +0 -35
- package/dist/spec/catalogs/layouts/ecosystem-map.json +0 -30
- package/dist/spec/catalogs/layouts/executive-decision.json +0 -32
- package/dist/spec/catalogs/layouts/executive-summary.json +0 -32
- package/dist/spec/catalogs/layouts/extract/canonical.json +0 -575
- package/dist/spec/catalogs/layouts/faq.json +0 -29
- package/dist/spec/catalogs/layouts/feature-comparison-matrix.json +0 -29
- package/dist/spec/catalogs/layouts/forecast-scenario.json +0 -39
- package/dist/spec/catalogs/layouts/funnel-pyramid.json +0 -32
- package/dist/spec/catalogs/layouts/gantt-project-plan.json +0 -32
- package/dist/spec/catalogs/layouts/geographic-map.json +0 -30
- package/dist/spec/catalogs/layouts/heatmap-cohort.json +0 -32
- package/dist/spec/catalogs/layouts/hub-and-spoke.json +0 -29
- package/dist/spec/catalogs/layouts/icon-grid.json +0 -30
- package/dist/spec/catalogs/layouts/image-1x-crop-title-center.json +0 -32
- package/dist/spec/catalogs/layouts/image-1x-crop-title-left.json +0 -32
- package/dist/spec/catalogs/layouts/image-1x-crop.json +0 -27
- package/dist/spec/catalogs/layouts/image-1x-fit-title-center.json +0 -32
- package/dist/spec/catalogs/layouts/image-1x.json +0 -32
- package/dist/spec/catalogs/layouts/image-2x-crop-title-center.json +0 -38
- package/dist/spec/catalogs/layouts/image-2x-crop-vertical-title-left.json +0 -39
- package/dist/spec/catalogs/layouts/image-2x-crop-vertical.json +0 -34
- package/dist/spec/catalogs/layouts/image-2x-crop.json +0 -33
- package/dist/spec/catalogs/layouts/image-2x-fit-title-center.json +0 -38
- package/dist/spec/catalogs/layouts/image-2x-fit-vertical-title-left.json +0 -39
- package/dist/spec/catalogs/layouts/image-2x-fit-vertical.json +0 -34
- package/dist/spec/catalogs/layouts/image-2x.json +0 -63
- package/dist/spec/catalogs/layouts/image-3x-crop-title-center.json +0 -41
- package/dist/spec/catalogs/layouts/image-3x-crop-vertical-title-left.json +0 -42
- package/dist/spec/catalogs/layouts/image-3x-crop-vertical.json +0 -37
- package/dist/spec/catalogs/layouts/image-3x-crop.json +0 -36
- package/dist/spec/catalogs/layouts/image-3x-fit-title-center.json +0 -41
- package/dist/spec/catalogs/layouts/image-3x-fit-vertical-title-left.json +0 -42
- package/dist/spec/catalogs/layouts/image-3x-fit-vertical.json +0 -37
- package/dist/spec/catalogs/layouts/image-3x-fit.json +0 -36
- package/dist/spec/catalogs/layouts/image-3x.json +0 -81
- package/dist/spec/catalogs/layouts/image-focus.json +0 -30
- package/dist/spec/catalogs/layouts/image-only-1x-crop-title-center.json +0 -31
- package/dist/spec/catalogs/layouts/image-only-1x-fit-title-center.json +0 -31
- package/dist/spec/catalogs/layouts/image-only-2x-crop-title-center.json +0 -37
- package/dist/spec/catalogs/layouts/image-only-2x-crop-vertical-title-left.json +0 -38
- package/dist/spec/catalogs/layouts/image-only-2x-crop-vertical.json +0 -33
- package/dist/spec/catalogs/layouts/image-only-2x-fit-title-center.json +0 -37
- package/dist/spec/catalogs/layouts/image-only-2x-fit-vertical-title-left.json +0 -38
- package/dist/spec/catalogs/layouts/image-only-2x-fit-vertical.json +0 -33
- package/dist/spec/catalogs/layouts/image-only-3x-crop-title-center.json +0 -40
- package/dist/spec/catalogs/layouts/image-only-3x-crop-vertical-title-left.json +0 -41
- package/dist/spec/catalogs/layouts/image-only-3x-crop-vertical.json +0 -36
- package/dist/spec/catalogs/layouts/image-only-3x-crop.json +0 -35
- package/dist/spec/catalogs/layouts/image-only-3x-fit-title-center.json +0 -40
- package/dist/spec/catalogs/layouts/image-only-3x-fit-vertical-title-left.json +0 -41
- package/dist/spec/catalogs/layouts/image-only-3x-fit-vertical.json +0 -36
- package/dist/spec/catalogs/layouts/image-only-3x-fit.json +0 -35
- package/dist/spec/catalogs/layouts/index.json +0 -1399
- package/dist/spec/catalogs/layouts/key-takeaway.json +0 -25
- package/dist/spec/catalogs/layouts/kpi-scorecard.json +0 -83
- package/dist/spec/catalogs/layouts/list-1x-box-title-center.json +0 -32
- package/dist/spec/catalogs/layouts/list-1x-box-vertical-title-center.json +0 -33
- package/dist/spec/catalogs/layouts/list-1x-box-vertical-title-left.json +0 -33
- package/dist/spec/catalogs/layouts/list-1x-box-vertical.json +0 -28
- package/dist/spec/catalogs/layouts/list-1x-box.json +0 -27
- package/dist/spec/catalogs/layouts/list-1x-itemimage-title-center.json +0 -32
- package/dist/spec/catalogs/layouts/list-1x-itemimage-vertical-title-center.json +0 -33
- package/dist/spec/catalogs/layouts/list-1x-title-center.json +0 -31
- package/dist/spec/catalogs/layouts/list-1x-vertical-title-center.json +0 -32
- package/dist/spec/catalogs/layouts/list-1x.json +0 -29
- package/dist/spec/catalogs/layouts/list-2x-box-title-center.json +0 -38
- package/dist/spec/catalogs/layouts/list-2x-box-vertical-title-center.json +0 -39
- package/dist/spec/catalogs/layouts/list-2x-box-vertical-title-left.json +0 -39
- package/dist/spec/catalogs/layouts/list-2x-box-vertical.json +0 -34
- package/dist/spec/catalogs/layouts/list-2x-box.json +0 -33
- package/dist/spec/catalogs/layouts/list-2x-itemimage-title-center.json +0 -38
- package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical-title-center.json +0 -39
- package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical-title-left.json +0 -39
- package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical.json +0 -34
- package/dist/spec/catalogs/layouts/list-2x-title-center.json +0 -37
- package/dist/spec/catalogs/layouts/list-2x-vertical-title-center.json +0 -38
- package/dist/spec/catalogs/layouts/list-2x-vertical-title-left.json +0 -38
- package/dist/spec/catalogs/layouts/list-2x-vertical.json +0 -33
- package/dist/spec/catalogs/layouts/list-2x.json +0 -35
- package/dist/spec/catalogs/layouts/list-3x-box-title-center.json +0 -41
- package/dist/spec/catalogs/layouts/list-3x-box-vertical-title-center.json +0 -42
- package/dist/spec/catalogs/layouts/list-3x-box-vertical-title-left.json +0 -42
- package/dist/spec/catalogs/layouts/list-3x-box-vertical.json +0 -37
- package/dist/spec/catalogs/layouts/list-3x-box.json +0 -36
- package/dist/spec/catalogs/layouts/list-3x-itemimage-title-center.json +0 -41
- package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical-title-center.json +0 -42
- package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical-title-left.json +0 -42
- package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical.json +0 -37
- package/dist/spec/catalogs/layouts/list-3x-itemimage.json +0 -36
- package/dist/spec/catalogs/layouts/list-3x-title-center.json +0 -40
- package/dist/spec/catalogs/layouts/list-3x-vertical-title-center.json +0 -41
- package/dist/spec/catalogs/layouts/list-3x-vertical-title-left.json +0 -41
- package/dist/spec/catalogs/layouts/list-3x-vertical.json +0 -36
- package/dist/spec/catalogs/layouts/list-3x.json +0 -38
- package/dist/spec/catalogs/layouts/list-4x-box-title-center.json +0 -45
- package/dist/spec/catalogs/layouts/list-4x-box-vertical-title-center.json +0 -45
- package/dist/spec/catalogs/layouts/list-4x-box-vertical-title-left.json +0 -45
- package/dist/spec/catalogs/layouts/list-4x-box-vertical.json +0 -40
- package/dist/spec/catalogs/layouts/list-4x-box.json +0 -40
- package/dist/spec/catalogs/layouts/list-4x-itemimage-title-center.json +0 -45
- package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical-title-center.json +0 -45
- package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical-title-left.json +0 -45
- package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical.json +0 -40
- package/dist/spec/catalogs/layouts/list-4x-title-center.json +0 -44
- package/dist/spec/catalogs/layouts/list-4x-vertical-title-center.json +0 -44
- package/dist/spec/catalogs/layouts/list-4x-vertical-title-left.json +0 -44
- package/dist/spec/catalogs/layouts/list-4x-vertical.json +0 -39
- package/dist/spec/catalogs/layouts/list-4x.json +0 -42
- package/dist/spec/catalogs/layouts/list-5x-box-title-center.json +0 -48
- package/dist/spec/catalogs/layouts/list-5x-box-vertical-title-center.json +0 -50
- package/dist/spec/catalogs/layouts/list-5x-box-vertical-title-left.json +0 -50
- package/dist/spec/catalogs/layouts/list-5x-box-vertical.json +0 -45
- package/dist/spec/catalogs/layouts/list-5x-box.json +0 -43
- package/dist/spec/catalogs/layouts/list-5x-itemimage-title-center.json +0 -48
- package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical-title-center.json +0 -48
- package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical-title-left.json +0 -48
- package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical.json +0 -43
- package/dist/spec/catalogs/layouts/list-5x-title-center.json +0 -47
- package/dist/spec/catalogs/layouts/list-5x-vertical-title-center.json +0 -47
- package/dist/spec/catalogs/layouts/list-5x-vertical-title-left.json +0 -47
- package/dist/spec/catalogs/layouts/list-5x-vertical.json +0 -42
- package/dist/spec/catalogs/layouts/list-5x.json +0 -45
- package/dist/spec/catalogs/layouts/list-6x-box-title-center.json +0 -51
- package/dist/spec/catalogs/layouts/list-6x-box-vertical-title-center.json +0 -53
- package/dist/spec/catalogs/layouts/list-6x-box-vertical-title-left.json +0 -53
- package/dist/spec/catalogs/layouts/list-6x-box-vertical.json +0 -48
- package/dist/spec/catalogs/layouts/list-6x-box.json +0 -46
- package/dist/spec/catalogs/layouts/list-6x-itemimage-title-center.json +0 -51
- package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical-title-center.json +0 -51
- package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical-title-left.json +0 -51
- package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical.json +0 -46
- package/dist/spec/catalogs/layouts/list-6x-title-center.json +0 -50
- package/dist/spec/catalogs/layouts/list-6x-vertical-title-center.json +0 -50
- package/dist/spec/catalogs/layouts/list-6x-vertical-title-left.json +0 -50
- package/dist/spec/catalogs/layouts/list-6x-vertical.json +0 -45
- package/dist/spec/catalogs/layouts/list-6x.json +0 -48
- package/dist/spec/catalogs/layouts/logic-tree.json +0 -98
- package/dist/spec/catalogs/layouts/market-size.json +0 -53
- package/dist/spec/catalogs/layouts/matrix-quadrant.json +0 -42
- package/dist/spec/catalogs/layouts/media-1x.json +0 -29
- package/dist/spec/catalogs/layouts/network-dependency-map.json +0 -30
- package/dist/spec/catalogs/layouts/number-1x-box-title-center.json +0 -30
- package/dist/spec/catalogs/layouts/number-1x-box.json +0 -25
- package/dist/spec/catalogs/layouts/number-1x-title-center.json +0 -29
- package/dist/spec/catalogs/layouts/number-1x.json +0 -28
- package/dist/spec/catalogs/layouts/number-2x-box-title-center.json +0 -36
- package/dist/spec/catalogs/layouts/number-2x-box.json +0 -31
- package/dist/spec/catalogs/layouts/number-2x-title-center.json +0 -35
- package/dist/spec/catalogs/layouts/number-2x.json +0 -34
- package/dist/spec/catalogs/layouts/number-3x-box-title-center.json +0 -39
- package/dist/spec/catalogs/layouts/number-3x-box.json +0 -34
- package/dist/spec/catalogs/layouts/number-3x-title-center.json +0 -38
- package/dist/spec/catalogs/layouts/number-3x.json +0 -37
- package/dist/spec/catalogs/layouts/number-4x-box-title-center.json +0 -43
- package/dist/spec/catalogs/layouts/number-4x-box.json +0 -38
- package/dist/spec/catalogs/layouts/number-4x-title-center.json +0 -42
- package/dist/spec/catalogs/layouts/number-4x.json +0 -41
- package/dist/spec/catalogs/layouts/number-5x-box-title-center.json +0 -46
- package/dist/spec/catalogs/layouts/number-5x-box.json +0 -41
- package/dist/spec/catalogs/layouts/number-5x-title-center.json +0 -45
- package/dist/spec/catalogs/layouts/number-5x.json +0 -44
- package/dist/spec/catalogs/layouts/number-6x-box-title-center.json +0 -49
- package/dist/spec/catalogs/layouts/number-6x-box.json +0 -44
- package/dist/spec/catalogs/layouts/number-6x-title-center.json +0 -48
- package/dist/spec/catalogs/layouts/number-6x.json +0 -47
- package/dist/spec/catalogs/layouts/one-column-explainer.json +0 -29
- package/dist/spec/catalogs/layouts/org-chart.json +0 -86
- package/dist/spec/catalogs/layouts/persona-grid.json +0 -30
- package/dist/spec/catalogs/layouts/photo-grid.json +0 -43
- package/dist/spec/catalogs/layouts/pricing-table.json +0 -29
- package/dist/spec/catalogs/layouts/process-flow.json +0 -29
- package/dist/spec/catalogs/layouts/product-feature.json +0 -30
- package/dist/spec/catalogs/layouts/pros-cons.json +0 -35
- package/dist/spec/catalogs/layouts/qa-discussion.json +0 -30
- package/dist/spec/catalogs/layouts/quote-1x.json +0 -23
- package/dist/spec/catalogs/layouts/quote-highlight.json +0 -29
- package/dist/spec/catalogs/layouts/raci-matrix.json +0 -29
- package/dist/spec/catalogs/layouts/risk-heatmap.json +0 -29
- package/dist/spec/catalogs/layouts/roadmap.json +0 -29
- package/dist/spec/catalogs/layouts/screenshot-walkthrough.json +0 -30
- package/dist/spec/catalogs/layouts/section-divider.json +0 -28
- package/dist/spec/catalogs/layouts/single-message-statement.json +0 -25
- package/dist/spec/catalogs/layouts/stats-metrics.json +0 -39
- package/dist/spec/catalogs/layouts/status-rag.json +0 -29
- package/dist/spec/catalogs/layouts/swimlane-process.json +0 -30
- package/dist/spec/catalogs/layouts/swot-analysis.json +0 -42
- package/dist/spec/catalogs/layouts/table-1x.json +0 -29
- package/dist/spec/catalogs/layouts/team-bio.json +0 -30
- package/dist/spec/catalogs/layouts/testimonial-grid.json +0 -38
- package/dist/spec/catalogs/layouts/text-1x-box-title-center.json +0 -31
- package/dist/spec/catalogs/layouts/text-1x-box-title-left.json +0 -31
- package/dist/spec/catalogs/layouts/text-1x-center-box-title-center.json +0 -31
- package/dist/spec/catalogs/layouts/text-1x-center-box-title-left.json +0 -31
- package/dist/spec/catalogs/layouts/text-1x-center-box.json +0 -26
- package/dist/spec/catalogs/layouts/text-1x-center-title-center.json +0 -30
- package/dist/spec/catalogs/layouts/text-1x-center-title-left.json +0 -30
- package/dist/spec/catalogs/layouts/text-1x-center.json +0 -25
- package/dist/spec/catalogs/layouts/text-1x-left-box.json +0 -26
- package/dist/spec/catalogs/layouts/text-1x-title-center.json +0 -30
- package/dist/spec/catalogs/layouts/text-1x.json +0 -23
- package/dist/spec/catalogs/layouts/text-2x-box-title-center.json +0 -37
- package/dist/spec/catalogs/layouts/text-2x-box-vertical-title-left.json +0 -37
- package/dist/spec/catalogs/layouts/text-2x-center-box-title-center.json +0 -37
- package/dist/spec/catalogs/layouts/text-2x-center-box-vertical-title-left.json +0 -37
- package/dist/spec/catalogs/layouts/text-2x-center-box.json +0 -32
- package/dist/spec/catalogs/layouts/text-2x-center-title-center.json +0 -36
- package/dist/spec/catalogs/layouts/text-2x-center-vertical-title-left.json +0 -36
- package/dist/spec/catalogs/layouts/text-2x-center.json +0 -31
- package/dist/spec/catalogs/layouts/text-2x-left-box.json +0 -32
- package/dist/spec/catalogs/layouts/text-2x-title-center.json +0 -36
- package/dist/spec/catalogs/layouts/text-2x-vertical-title-left.json +0 -36
- package/dist/spec/catalogs/layouts/text-2x.json +0 -29
- package/dist/spec/catalogs/layouts/text-3x-box-title-center.json +0 -40
- package/dist/spec/catalogs/layouts/text-3x-box-vertical-title-left.json +0 -41
- package/dist/spec/catalogs/layouts/text-3x-center-box-title-center.json +0 -40
- package/dist/spec/catalogs/layouts/text-3x-center-box-vertical-title-left.json +0 -41
- package/dist/spec/catalogs/layouts/text-3x-center-box.json +0 -35
- package/dist/spec/catalogs/layouts/text-3x-center-title-center.json +0 -39
- package/dist/spec/catalogs/layouts/text-3x-center-vertical-title-left.json +0 -40
- package/dist/spec/catalogs/layouts/text-3x-center.json +0 -34
- package/dist/spec/catalogs/layouts/text-3x-left-box.json +0 -35
- package/dist/spec/catalogs/layouts/text-3x-left.json +0 -34
- package/dist/spec/catalogs/layouts/text-3x-title-center.json +0 -39
- package/dist/spec/catalogs/layouts/text-3x-vertical-title-left.json +0 -40
- package/dist/spec/catalogs/layouts/text-3x.json +0 -32
- package/dist/spec/catalogs/layouts/thank-you-cta.json +0 -28
- package/dist/spec/catalogs/layouts/three-column.json +0 -39
- package/dist/spec/catalogs/layouts/timeline-1x.json +0 -23
- package/dist/spec/catalogs/layouts/timeline.json +0 -32
- package/dist/spec/catalogs/layouts/title-center-box.json +0 -27
- package/dist/spec/catalogs/layouts/title-center-image-bottom.json +0 -34
- package/dist/spec/catalogs/layouts/title-center-image-top.json +0 -34
- package/dist/spec/catalogs/layouts/title-center.json +0 -26
- package/dist/spec/catalogs/layouts/title-left-image-bottom.json +0 -34
- package/dist/spec/catalogs/layouts/title-left-image-left.json +0 -34
- package/dist/spec/catalogs/layouts/title-left-image-right.json +0 -34
- package/dist/spec/catalogs/layouts/title-left-image-top.json +0 -34
- package/dist/spec/catalogs/layouts/title-slide.json +0 -28
- package/dist/spec/catalogs/layouts/title-subtitle.json +0 -23
- package/dist/spec/catalogs/layouts/title.json +0 -20
- package/dist/spec/catalogs/layouts/two-column.json +0 -36
- package/dist/spec/catalogs/layouts/venn-overlap.json +0 -29
- package/dist/spec/catalogs/layouts/waterfall-bridge.json +0 -39
- package/dist/spec/catalogs/layouts/wheel-radial.json +0 -29
- package/dist/spec/catalogs/manifest.json +0 -111
- package/dist/spec/catalogs/narratives/board-meeting.json +0 -192
- package/dist/spec/catalogs/narratives/business-narrative.json +0 -87
- package/dist/spec/catalogs/narratives/business-review.json +0 -119
- package/dist/spec/catalogs/narratives/capacity-planning.json +0 -88
- package/dist/spec/catalogs/narratives/challenge-resolution.json +0 -80
- package/dist/spec/catalogs/narratives/change-story.json +0 -64
- package/dist/spec/catalogs/narratives/classic-story.json +0 -78
- package/dist/spec/catalogs/narratives/company-intro.json +0 -96
- package/dist/spec/catalogs/narratives/conference-talk.json +0 -54
- package/dist/spec/catalogs/narratives/data-story.json +0 -65
- package/dist/spec/catalogs/narratives/early-startup-pitch.json +0 -119
- package/dist/spec/catalogs/narratives/educate.json +0 -95
- package/dist/spec/catalogs/narratives/employee-review.json +0 -87
- package/dist/spec/catalogs/narratives/failure-analysis.json +0 -104
- package/dist/spec/catalogs/narratives/focus.json +0 -120
- package/dist/spec/catalogs/narratives/golden-circle.json +0 -50
- package/dist/spec/catalogs/narratives/heros-journey.json +0 -64
- package/dist/spec/catalogs/narratives/index.json +0 -1041
- package/dist/spec/catalogs/narratives/innovation.json +0 -96
- package/dist/spec/catalogs/narratives/justice.json +0 -112
- package/dist/spec/catalogs/narratives/marketing-strategy.json +0 -111
- package/dist/spec/catalogs/narratives/performance-improvement-plan.json +0 -87
- package/dist/spec/catalogs/narratives/performance-review.json +0 -111
- package/dist/spec/catalogs/narratives/persuade.json +0 -94
- package/dist/spec/catalogs/narratives/persuasive-sales.json +0 -87
- package/dist/spec/catalogs/narratives/pitch-deck.json +0 -107
- package/dist/spec/catalogs/narratives/problem-solution.json +0 -61
- package/dist/spec/catalogs/narratives/product-launch.json +0 -104
- package/dist/spec/catalogs/narratives/project-proposal.json +0 -104
- package/dist/spec/catalogs/narratives/pyramid-principle.json +0 -48
- package/dist/spec/catalogs/narratives/qbr.json +0 -85
- package/dist/spec/catalogs/narratives/rags-to-riches.json +0 -80
- package/dist/spec/catalogs/narratives/reveal.json +0 -87
- package/dist/spec/catalogs/narratives/scqa.json +0 -55
- package/dist/spec/catalogs/narratives/situation-complication-resolution.json +0 -56
- package/dist/spec/catalogs/narratives/sparkline.json +0 -56
- package/dist/spec/catalogs/narratives/star-method.json +0 -56
- package/dist/spec/catalogs/narratives/status-update.json +0 -72
- package/dist/spec/catalogs/narratives/strategic-advisory.json +0 -85
- package/dist/spec/catalogs/narratives/strategic-narrative.json +0 -61
- package/dist/spec/catalogs/narratives/survey-analysis.json +0 -104
- package/dist/spec/catalogs/narratives/survival-story.json +0 -103
- package/dist/spec/catalogs/narratives/transformation-arc.json +0 -50
- package/dist/spec/catalogs/narratives/trend-analysis.json +0 -79
- package/dist/spec/catalogs/narratives/underdog-victory.json +0 -87
- package/dist/spec/catalogs/narratives/venture-pitch.json +0 -109
- package/dist/spec/catalogs/narratives/vision-roadmap.json +0 -65
- package/dist/spec/catalogs/narratives/weekly-progress.json +0 -103
- package/dist/spec/catalogs/narratives/what-so-what-now-what.json +0 -48
- package/dist/spec/catalogs/purposes/align.json +0 -16
- package/dist/spec/catalogs/purposes/decide.json +0 -16
- package/dist/spec/catalogs/purposes/educate.json +0 -16
- package/dist/spec/catalogs/purposes/index.json +0 -63
- package/dist/spec/catalogs/purposes/inform.json +0 -16
- package/dist/spec/catalogs/purposes/persuade.json +0 -16
- package/dist/spec/catalogs/purposes/pitch.json +0 -16
- package/dist/spec/catalogs/purposes/plan.json +0 -16
- package/dist/spec/catalogs/purposes/report.json +0 -16
- package/dist/spec/catalogs/purposes/sell.json +0 -16
- package/dist/spec/catalogs/social-platforms/bluesky.json +0 -14
- package/dist/spec/catalogs/social-platforms/facebook.json +0 -14
- package/dist/spec/catalogs/social-platforms/github.json +0 -15
- package/dist/spec/catalogs/social-platforms/index.json +0 -69
- package/dist/spec/catalogs/social-platforms/instagram.json +0 -13
- package/dist/spec/catalogs/social-platforms/linkedin.json +0 -15
- package/dist/spec/catalogs/social-platforms/mastodon.json +0 -14
- package/dist/spec/catalogs/social-platforms/threads.json +0 -13
- package/dist/spec/catalogs/social-platforms/tiktok.json +0 -14
- package/dist/spec/catalogs/social-platforms/x.json +0 -14
- package/dist/spec/catalogs/social-platforms/youtube.json +0 -14
- package/dist/spec/catalogs/themes/bold.json +0 -13
- package/dist/spec/catalogs/themes/classic.json +0 -13
- package/dist/spec/catalogs/themes/dark.json +0 -13
- package/dist/spec/catalogs/themes/index.json +0 -33
- package/dist/spec/catalogs/themes/minimal.json +0 -13
- package/dist/spec/catalogs/tones/authoritative.json +0 -31
- package/dist/spec/catalogs/tones/casual.json +0 -31
- package/dist/spec/catalogs/tones/conversational.json +0 -31
- package/dist/spec/catalogs/tones/formal.json +0 -31
- package/dist/spec/catalogs/tones/index.json +0 -51
- package/dist/spec/catalogs/tones/inspirational.json +0 -31
- package/dist/spec/catalogs/tones/persuasive.json +0 -32
- package/dist/spec/catalogs/tones/technical.json +0 -31
- package/dist/spec/previews/layouts/action-plan.html +0 -1
- package/dist/spec/previews/layouts/agenda.html +0 -1
- package/dist/spec/previews/layouts/appendix-index.html +0 -1
- package/dist/spec/previews/layouts/architecture-stack.html +0 -1
- package/dist/spec/previews/layouts/assumptions-dependencies.html +0 -1
- package/dist/spec/previews/layouts/before-after.html +0 -1
- package/dist/spec/previews/layouts/benchmark-target-table.html +0 -1
- package/dist/spec/previews/layouts/bullet-list.html +0 -1
- package/dist/spec/previews/layouts/business-model-canvas.html +0 -1
- package/dist/spec/previews/layouts/capability-map.html +0 -1
- package/dist/spec/previews/layouts/case-study.html +0 -1
- package/dist/spec/previews/layouts/chapter-recap.html +0 -1
- package/dist/spec/previews/layouts/circular-lifecycle.html +0 -1
- package/dist/spec/previews/layouts/comparison.html +0 -1
- package/dist/spec/previews/layouts/competitive-landscape.html +0 -1
- package/dist/spec/previews/layouts/customer-journey.html +0 -1
- package/dist/spec/previews/layouts/customer-logos.html +0 -1
- package/dist/spec/previews/layouts/dashboard.html +0 -1
- package/dist/spec/previews/layouts/data-visualization.html +0 -1
- package/dist/spec/previews/layouts/decision-tree.html +0 -1
- package/dist/spec/previews/layouts/detailed-data-table.html +0 -1
- package/dist/spec/previews/layouts/ecosystem-map.html +0 -1
- package/dist/spec/previews/layouts/executive-decision.html +0 -1
- package/dist/spec/previews/layouts/executive-summary.html +0 -1
- package/dist/spec/previews/layouts/faq.html +0 -1
- package/dist/spec/previews/layouts/feature-comparison-matrix.html +0 -1
- package/dist/spec/previews/layouts/forecast-scenario.html +0 -1
- package/dist/spec/previews/layouts/funnel-pyramid.html +0 -1
- package/dist/spec/previews/layouts/gantt-project-plan.html +0 -1
- package/dist/spec/previews/layouts/geographic-map.html +0 -1
- package/dist/spec/previews/layouts/heatmap-cohort.html +0 -1
- package/dist/spec/previews/layouts/hub-and-spoke.html +0 -1
- package/dist/spec/previews/layouts/icon-grid.html +0 -1
- package/dist/spec/previews/layouts/image-focus.html +0 -1
- package/dist/spec/previews/layouts/index.json +0 -357
- package/dist/spec/previews/layouts/key-takeaway.html +0 -1
- package/dist/spec/previews/layouts/kpi-scorecard.html +0 -1
- package/dist/spec/previews/layouts/logic-tree.html +0 -1
- package/dist/spec/previews/layouts/market-size.html +0 -1
- package/dist/spec/previews/layouts/matrix-quadrant.html +0 -1
- package/dist/spec/previews/layouts/network-dependency-map.html +0 -1
- package/dist/spec/previews/layouts/one-column-explainer.html +0 -1
- package/dist/spec/previews/layouts/org-chart.html +0 -1
- package/dist/spec/previews/layouts/persona-grid.html +0 -1
- package/dist/spec/previews/layouts/photo-grid.html +0 -1
- package/dist/spec/previews/layouts/pricing-table.html +0 -1
- package/dist/spec/previews/layouts/process-flow.html +0 -1
- package/dist/spec/previews/layouts/product-feature.html +0 -1
- package/dist/spec/previews/layouts/pros-cons.html +0 -1
- package/dist/spec/previews/layouts/qa-discussion.html +0 -1
- package/dist/spec/previews/layouts/quote-highlight.html +0 -1
- package/dist/spec/previews/layouts/raci-matrix.html +0 -1
- package/dist/spec/previews/layouts/risk-heatmap.html +0 -1
- package/dist/spec/previews/layouts/roadmap.html +0 -1
- package/dist/spec/previews/layouts/screenshot-walkthrough.html +0 -1
- package/dist/spec/previews/layouts/section-divider.html +0 -1
- package/dist/spec/previews/layouts/single-message-statement.html +0 -1
- package/dist/spec/previews/layouts/stats-metrics.html +0 -1
- package/dist/spec/previews/layouts/status-rag.html +0 -1
- package/dist/spec/previews/layouts/swimlane-process.html +0 -1
- package/dist/spec/previews/layouts/swot-analysis.html +0 -1
- package/dist/spec/previews/layouts/team-bio.html +0 -1
- package/dist/spec/previews/layouts/testimonial-grid.html +0 -1
- package/dist/spec/previews/layouts/thank-you-cta.html +0 -1
- package/dist/spec/previews/layouts/three-column.html +0 -1
- package/dist/spec/previews/layouts/timeline.html +0 -1
- package/dist/spec/previews/layouts/title-slide.html +0 -1
- package/dist/spec/previews/layouts/two-column.html +0 -1
- package/dist/spec/previews/layouts/venn-overlap.html +0 -1
- package/dist/spec/previews/layouts/waterfall-bridge.html +0 -1
- package/dist/spec/previews/layouts/wheel-radial.html +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as CatalogOptions } from './catalog-refs-CSHevLn1.js';
|
|
2
2
|
import './chart-data-BnNqgnC-.js';
|
|
3
3
|
|
|
4
4
|
/** Canonical table grid. No renderer, fonts, DOM or network dependencies. */
|
|
@@ -45,10 +45,12 @@ declare function tableGrid(value: unknown, path?: string): TableGrid;
|
|
|
45
45
|
declare function tableRowBoundaries(value: unknown): number[];
|
|
46
46
|
|
|
47
47
|
/** The `design` keys that a layout record, the deck and a slide all share and that composition resolves per key. */
|
|
48
|
-
declare const DESIGN_HINT_KEYS: readonly ["titleAlignment", "contentAlignment", "contentBox", "contentDirection", "chartPrimary", "imageFit", "listBullet"];
|
|
48
|
+
declare const DESIGN_HINT_KEYS: readonly ["titleAlignment", "contentAlignment", "contentBox", "contentDirection", "chartPrimary", "imageFit", "listBullet", "mirror"];
|
|
49
49
|
type DesignHintKey = typeof DESIGN_HINT_KEYS[number];
|
|
50
|
-
/**
|
|
51
|
-
|
|
50
|
+
/** The design keys a theme record may carry (`theme.design`), so a house style such as boxed content is set once. */
|
|
51
|
+
declare const THEME_DESIGN_KEYS: readonly ["titleAlignment", "contentAlignment", "contentBox", "contentDirection", "imageFit", "listBullet"];
|
|
52
|
+
/** Where an effective design hint came from: the slide's own `design`, the deck's `design`, the resolved theme record, or the slide's layout record. */
|
|
53
|
+
type DesignHintSource = 'slide' | 'deck' | 'theme' | 'layout';
|
|
52
54
|
/** The effective value of every shared design key. A key nobody sets is absent, so the engine default applies. */
|
|
53
55
|
interface DesignHints {
|
|
54
56
|
titleAlignment?: 'left' | 'center' | 'right';
|
|
@@ -58,6 +60,8 @@ interface DesignHints {
|
|
|
58
60
|
chartPrimary?: 'none' | 'top' | 'bottom' | 'left' | 'right';
|
|
59
61
|
imageFit?: 'cover' | 'contain' | 'stretch';
|
|
60
62
|
listBullet?: 'character' | 'image';
|
|
63
|
+
/** A layout template drawn mirrored: each row's cells and the column sizes reversed (OPF 0.19). Logical, so a right-to-left deck mirrors on top. */
|
|
64
|
+
mirror?: boolean;
|
|
61
65
|
}
|
|
62
66
|
/** The effective hints plus which level supplied each key and the document path that names it. */
|
|
63
67
|
interface ResolvedDesignHints extends DesignHints {
|
|
@@ -65,7 +69,7 @@ interface ResolvedDesignHints extends DesignHints {
|
|
|
65
69
|
sources: {
|
|
66
70
|
[K in DesignHintKey]?: DesignHintSource;
|
|
67
71
|
};
|
|
68
|
-
/** Path of the supplying value: `slides.N.design.key`, `design.key`, or for a layout `slides.N.layout` (the reference that selected the record). */
|
|
72
|
+
/** Path of the supplying value: `slides.N.design.key`, `design.key`, for a theme the reference that selected it (`slides.N.design.theme` or `design.theme`), or for a layout `slides.N.layout` (the reference that selected the record). */
|
|
69
73
|
paths: {
|
|
70
74
|
[K in DesignHintKey]?: string;
|
|
71
75
|
};
|
|
@@ -75,6 +79,8 @@ interface ResolveDesignHintsOptions {
|
|
|
75
79
|
slide?: unknown;
|
|
76
80
|
/** The slide's resolved layout record, for its `design`. */
|
|
77
81
|
layout?: unknown;
|
|
82
|
+
/** The slide's resolved theme record, for its `design` (THEME_DESIGN_KEYS only). */
|
|
83
|
+
theme?: unknown;
|
|
78
84
|
/** The document, for the deck's `design`. */
|
|
79
85
|
presentation?: unknown;
|
|
80
86
|
/** Index used in the reported paths; defaults to 0. */
|
|
@@ -84,12 +90,118 @@ interface ResolveDesignHintsOptions {
|
|
|
84
90
|
}
|
|
85
91
|
/**
|
|
86
92
|
* Resolves the shared design keys with one merge, per key, the slide winning: the slide's `design`, then the
|
|
87
|
-
* deck's `design` (or the host's `deck` values), then the resolved
|
|
93
|
+
* deck's `design` (or the host's `deck` values), then the resolved theme record's `design` (THEME_DESIGN_KEYS only;
|
|
94
|
+
* new in 0.19), then the resolved layout record's `design`. A key none of them
|
|
88
95
|
* sets stays absent. A value the schema does not allow for its key is skipped, so the next level answers. Composition, the renderer, the PPTX exporter and the audit all take their values from here
|
|
89
96
|
* (`SlideComposition.design`), so they cannot disagree.
|
|
90
97
|
*/
|
|
91
98
|
declare function resolveDesignHints(options?: ResolveDesignHintsOptions): ResolvedDesignHints;
|
|
92
99
|
|
|
100
|
+
/**
|
|
101
|
+
* OPF 0.19 layout templates (`opf-layout/v2`): a layout is a grid of named areas, written in the notation of CSS
|
|
102
|
+
* `grid-template-areas`, and the body areas are regions that say which content they take and how several blocks share
|
|
103
|
+
* them. This module parses and checks a record; binding content to regions is `bindRegions` (bind-regions.ts) and the
|
|
104
|
+
* geometry is `composeSlide`.
|
|
105
|
+
*
|
|
106
|
+
* A record is a template when it has `areas`. Until the default catalog moves to `@openpresentation/gallery` 2.0.0, the
|
|
107
|
+
* OPF 0.19 accepts only v2 grid templates; v1 placeholder records are removed.
|
|
108
|
+
*/
|
|
109
|
+
/** The content kinds a region can accept: the body content kinds and `group` for a content group. */
|
|
110
|
+
declare const REGION_KINDS: readonly ["text", "list", "image", "video", "chart", "table", "code", "metric", "quote", "timeline", "group"];
|
|
111
|
+
type RegionKind = typeof REGION_KINDS[number];
|
|
112
|
+
/** Which content a region wants first (content binding, step 2). */
|
|
113
|
+
declare const REGION_ROLES: readonly ["primary", "secondary", "media", "supporting"];
|
|
114
|
+
type RegionRole = typeof REGION_ROLES[number];
|
|
115
|
+
/** How several blocks share a region. */
|
|
116
|
+
declare const REGION_FLOWS: readonly ["none", "grid", "column", "auto"];
|
|
117
|
+
type RegionFlow = typeof REGION_FLOWS[number];
|
|
118
|
+
declare const REGION_ANCHORS: readonly ["top", "middle", "bottom"];
|
|
119
|
+
type RegionAnchor = typeof REGION_ANCHORS[number];
|
|
120
|
+
/** The two heading areas. They hold the slide's headings and have no `regions` entry. */
|
|
121
|
+
declare const HEADING_AREAS: readonly ["title", "subtitle"];
|
|
122
|
+
/**
|
|
123
|
+
* Names a region may not take: the heading words, `auto`, and the six promoted-region words, so `region=` in the
|
|
124
|
+
* Markdown dialect stays unambiguous.
|
|
125
|
+
*/
|
|
126
|
+
declare const RESERVED_REGION_NAMES: readonly ["title", "subtitle", "tag", "auto", "left", "center", "right", "top", "middle", "bottom"];
|
|
127
|
+
/** A template has at most this many rows and this many columns. */
|
|
128
|
+
declare const MAX_TEMPLATE_TRACKS = 12;
|
|
129
|
+
/** A region holds at most this many blocks on one slide. */
|
|
130
|
+
declare const MAX_REGION_BLOCKS = 12;
|
|
131
|
+
/** The layout id no catalog may define: `layout: "auto"` is automatic composition. */
|
|
132
|
+
declare const AUTO_LAYOUT = "auto";
|
|
133
|
+
/** One region of a template with every default applied. */
|
|
134
|
+
interface LayoutRegion {
|
|
135
|
+
name: string;
|
|
136
|
+
accepts: RegionKind[];
|
|
137
|
+
role: RegionRole;
|
|
138
|
+
flow: RegionFlow;
|
|
139
|
+
/** Blocks the region holds on one slide (1 for `flow: "none"`, else 6 unless set). */
|
|
140
|
+
max: number;
|
|
141
|
+
bleed: boolean;
|
|
142
|
+
listColumns: 'auto' | 1;
|
|
143
|
+
anchor: RegionAnchor;
|
|
144
|
+
empty: 'collapse' | 'keep';
|
|
145
|
+
}
|
|
146
|
+
/** One named area of the grid: its top-left cell and its span, in logical (left-to-right) columns. */
|
|
147
|
+
interface LayoutArea {
|
|
148
|
+
name: string;
|
|
149
|
+
row: number;
|
|
150
|
+
column: number;
|
|
151
|
+
rowSpan: number;
|
|
152
|
+
columnSpan: number;
|
|
153
|
+
/** `title` or `subtitle`. */
|
|
154
|
+
heading: boolean;
|
|
155
|
+
}
|
|
156
|
+
/** A parsed, checked template. */
|
|
157
|
+
interface LayoutTemplate {
|
|
158
|
+
/** Row track sizes: relative numbers, or `auto` for the height the row's content needs. */
|
|
159
|
+
rows: (number | 'auto')[];
|
|
160
|
+
/** Column track sizes, relative. */
|
|
161
|
+
columns: number[];
|
|
162
|
+
/** The cell grid: `grid[row][column]` is an area name or `.`. */
|
|
163
|
+
grid: string[][];
|
|
164
|
+
/** Every area, headings included, in reading order (by top-left cell, row by row, then cell by cell). */
|
|
165
|
+
areas: LayoutArea[];
|
|
166
|
+
/** The body regions in reading order, with defaults applied. */
|
|
167
|
+
regions: LayoutRegion[];
|
|
168
|
+
/**
|
|
169
|
+
* Where content no region accepts goes: `overflowRegion`, else the first primary region whose flow is not `none`.
|
|
170
|
+
* Absent when the record names none and has no such region (the slide then draws it in an implicit row below the grid).
|
|
171
|
+
*/
|
|
172
|
+
overflowRegion?: string;
|
|
173
|
+
/** Whether the template has a `title` area and a `subtitle` area. */
|
|
174
|
+
title: boolean;
|
|
175
|
+
subtitle: boolean;
|
|
176
|
+
}
|
|
177
|
+
/** A problem with a template: `layout-template` for the grid itself, `layout-region` for the regions. */
|
|
178
|
+
interface LayoutTemplateIssue {
|
|
179
|
+
code: 'layout-template' | 'layout-region';
|
|
180
|
+
/** JSON Pointer inside the record (`/areas/1`, `/regions/notes/max`). */
|
|
181
|
+
path: string;
|
|
182
|
+
message: string;
|
|
183
|
+
}
|
|
184
|
+
/** Thrown by `layoutTemplate` (and so by `composeSlide`) for a record with a `layout-template` or `layout-region` finding. */
|
|
185
|
+
declare class OPFLayoutTemplateError extends RangeError {
|
|
186
|
+
readonly issues: LayoutTemplateIssue[];
|
|
187
|
+
readonly code = "layout-template";
|
|
188
|
+
constructor(issues: LayoutTemplateIssue[]);
|
|
189
|
+
}
|
|
190
|
+
/** Whether a layout record is a 0.19 template (it has `areas`). */
|
|
191
|
+
declare function isLayoutTemplate(layout: unknown): boolean;
|
|
192
|
+
/** The region of `name` with every default applied; `value` is the record's `regions[name]` entry. */
|
|
193
|
+
declare function layoutRegion(name: string, value: unknown): LayoutRegion;
|
|
194
|
+
/**
|
|
195
|
+
* The problems `validate` reports for a template record (`opf/layout-template`, `opf/layout-region`): ragged rows, a name
|
|
196
|
+
* whose cells are not one rectangle, track lists of the wrong length, a grid over 12 x 12, a word that is not a name;
|
|
197
|
+
* a body area with no region, a region with no area, a reserved region name, a `subtitle` area without `title`,
|
|
198
|
+
* `flow: "none"` with `max` other than 1, an `overflowRegion` that is not a region. Empty for a valid template and for a
|
|
199
|
+
* record that is not a template.
|
|
200
|
+
*/
|
|
201
|
+
declare function layoutTemplateIssues(layout: unknown): LayoutTemplateIssue[];
|
|
202
|
+
/** Parse and check a template record. Throws OPFLayoutTemplateError for a record with a `layout-template` or `layout-region` issue. */
|
|
203
|
+
declare function layoutTemplate(layout: unknown): LayoutTemplate;
|
|
204
|
+
|
|
93
205
|
/**
|
|
94
206
|
* Metric trend mark (RR-07, FA-06): the arrow and colour that show `metric.trend` and
|
|
95
207
|
* `metric.sentiment` in the SVG preview and the PPTX export. Core's metric layout places the trend word (up, down, flat) as ordinary
|
|
@@ -1314,81 +1426,147 @@ declare function chartHighlightMarks(highlight: ResolvedChartHighlight | undefin
|
|
|
1314
1426
|
rows: readonly (readonly unknown[])[];
|
|
1315
1427
|
}): ChartHighlightMarks | undefined;
|
|
1316
1428
|
|
|
1317
|
-
/**
|
|
1429
|
+
/** Body content kinds accepted by template regions. */
|
|
1318
1430
|
declare const LAYOUT_BODY_KINDS: readonly ["text", "list", "image", "video", "chart", "table", "code", "metric", "quote", "timeline"];
|
|
1319
1431
|
type LayoutBodyKind = typeof LAYOUT_BODY_KINDS[number];
|
|
1320
|
-
/**
|
|
1321
|
-
declare const MAX_PLACEHOLDER_GROUP_DEPTH = 3;
|
|
1322
|
-
/** What a layout record holds, derived from its placeholders. */
|
|
1432
|
+
/** What a layout template holds, derived from its regions. */
|
|
1323
1433
|
interface LayoutContent {
|
|
1324
|
-
/**
|
|
1434
|
+
/** First non-group kind accepted by its first primary region, or title without body regions. */
|
|
1325
1435
|
kind: LayoutBodyKind | 'title';
|
|
1326
|
-
/**
|
|
1436
|
+
/** Number of body regions. */
|
|
1327
1437
|
count: number;
|
|
1328
|
-
/**
|
|
1438
|
+
/** Heading fields the template has areas for. */
|
|
1329
1439
|
heading: {
|
|
1330
1440
|
title: boolean;
|
|
1331
1441
|
subtitle: boolean;
|
|
1332
1442
|
tag: boolean;
|
|
1333
1443
|
};
|
|
1334
1444
|
}
|
|
1335
|
-
/**
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1445
|
+
/** The template areas in reading order, with each body's flow and accepted kinds. */
|
|
1446
|
+
declare function layoutStructure(layout: unknown): string;
|
|
1447
|
+
/** Derive the body kind, region count and headings from a template record. */
|
|
1448
|
+
declare function layoutContent(layout: unknown): LayoutContent;
|
|
1449
|
+
|
|
1450
|
+
/** A diagnostic of content binding, in the `LayoutDiagnostic` shape composition reports. */
|
|
1451
|
+
interface RegionBindingDiagnostic {
|
|
1452
|
+
/** `region-unknown`, `region-kind` or `region-full` for an ignored pin; `layout-unplaced` for a block drawn beyond every region's room. */
|
|
1453
|
+
code: 'region-unknown' | 'region-kind' | 'region-full' | 'layout-unplaced';
|
|
1340
1454
|
path: string;
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
placeholder: Record<string, unknown>;
|
|
1455
|
+
message: string;
|
|
1456
|
+
/** The region the block was drawn in (`layout-unplaced`), or the pinned region (the pin codes). */
|
|
1457
|
+
region?: string;
|
|
1345
1458
|
}
|
|
1346
|
-
/**
|
|
1347
|
-
interface
|
|
1348
|
-
|
|
1459
|
+
/** One root node of the slide as binding sees it. */
|
|
1460
|
+
interface BoundBlock {
|
|
1461
|
+
/** OPF path of the node: `slides.N.blocks.I` for a block, `slides.N.<field>` for a root payload field. */
|
|
1349
1462
|
path: string;
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
/**
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1463
|
+
/** Its content kind; a content group is `group`. */
|
|
1464
|
+
kind: RegionKind;
|
|
1465
|
+
/** The block's index in `blocks`; absent for a root payload. */
|
|
1466
|
+
block?: number;
|
|
1467
|
+
/** Root payload fields the node holds (a root payload only). */
|
|
1468
|
+
fields?: string[];
|
|
1469
|
+
/** The block named this region with `region` and the pin was honoured. */
|
|
1470
|
+
pinned?: boolean;
|
|
1471
|
+
}
|
|
1472
|
+
interface RegionBinding {
|
|
1473
|
+
/** The region's name. */
|
|
1474
|
+
name: string;
|
|
1475
|
+
/** The blocks bound to the region within its `max`, in source order. */
|
|
1476
|
+
blocks: BoundBlock[];
|
|
1477
|
+
/** Blocks no region had room for, drawn here beyond `max` (the overflow region only). */
|
|
1478
|
+
overflow: BoundBlock[];
|
|
1479
|
+
}
|
|
1480
|
+
interface RegionBindingResult {
|
|
1481
|
+
/** Every region of the template in reading order, with what it holds. */
|
|
1482
|
+
regions: RegionBinding[];
|
|
1483
|
+
/** Blocks drawn in an implicit row below the grid: the layout has no overflow region. */
|
|
1484
|
+
below: BoundBlock[];
|
|
1485
|
+
diagnostics: RegionBindingDiagnostic[];
|
|
1486
|
+
}
|
|
1487
|
+
interface BindRegionsOptions {
|
|
1488
|
+
/** Index used in the reported paths; defaults to 0. */
|
|
1489
|
+
slideIndex?: number;
|
|
1490
|
+
}
|
|
1491
|
+
/** The content kind of a block: `group` for a content group, else its `type` or the kind of its first payload field. */
|
|
1492
|
+
declare function blockKind(block: unknown): RegionKind;
|
|
1493
|
+
/** Whether a region takes a block: its kind is accepted, or a group whose every leaf kind is accepted. */
|
|
1494
|
+
declare function regionAccepts(region: {
|
|
1495
|
+
readonly accepts: readonly string[];
|
|
1496
|
+
}, block: unknown): boolean;
|
|
1497
|
+
/**
|
|
1498
|
+
* The top-level image blocks that take a band of their own (`placement`): the first on each edge. They never occupy a
|
|
1499
|
+
* region. Composition places exactly these.
|
|
1500
|
+
*/
|
|
1501
|
+
declare function placedImageBlocks(slide: unknown): Set<number>;
|
|
1502
|
+
/**
|
|
1503
|
+
* The slide's root nodes in source order, as content binding reads them: each block of `blocks` that is not a placed
|
|
1504
|
+
* image (a content group is one node of kind `group`), or the fields of a root payload (`bullets` with `text` are one node).
|
|
1505
|
+
* Empty payloads draw nothing and are not nodes.
|
|
1506
|
+
*/
|
|
1507
|
+
declare function rootNodes(slide: unknown, slideIndex?: number): (BoundBlock & {
|
|
1508
|
+
value: Record<string, any>;
|
|
1509
|
+
})[];
|
|
1510
|
+
/** Role rank of a region for a block kind (content binding, step 2): pictures prefer media regions, everything else primary ones. */
|
|
1511
|
+
declare function regionRoleRank(role: LayoutRegion['role'], kind: RegionKind): number;
|
|
1512
|
+
/**
|
|
1513
|
+
* Bind a slide's content to the regions of a template layout (OPF 0.19, design section 3). Pure: no geometry.
|
|
1514
|
+
*
|
|
1515
|
+
* 1. **Pins.** A block with `region: "<name>"` goes to that region, in source order, when the region exists, accepts the
|
|
1516
|
+
* block's kind and has room; otherwise the pin is ignored with `region-unknown`, `region-kind` or `region-full` and the
|
|
1517
|
+
* block joins step 2.
|
|
1518
|
+
* 2. **Everything else, in source order.** Of the regions that accept the block and have room, the block goes to the one
|
|
1519
|
+
* with the lowest role rank (`regionRoleRank`), then the first in reading order.
|
|
1520
|
+
* 3. **No candidate.** The block goes to the overflow region whatever its `accepts` while it has room; beyond that it is
|
|
1521
|
+
* drawn there anyway (`layout-unplaced`, which `paginate` resolves with a continuation slide). A layout with no overflow
|
|
1522
|
+
* region draws it in an implicit row below the grid (`layout-unplaced` too).
|
|
1523
|
+
*
|
|
1524
|
+
* A slide with promoted regions (`left`, `top:left`, ...) composes them as in 0.18 and binds nothing.
|
|
1525
|
+
*/
|
|
1526
|
+
declare function bindRegions(slide: unknown, layout: unknown, options?: BindRegionsOptions): RegionBindingResult;
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* Pure geometry of OPF 0.19 layout templates: the grid sequence of a flowing region, track sizing, the collapse of empty
|
|
1530
|
+
* areas and the column breaks of a long list. `composeSlide` measures content and calls these; nothing here measures text.
|
|
1531
|
+
*/
|
|
1532
|
+
|
|
1533
|
+
/** How a region's blocks are arranged on one slide. */
|
|
1534
|
+
interface FlowShape {
|
|
1535
|
+
/** Columns of the full rows. */
|
|
1536
|
+
columns: number;
|
|
1537
|
+
rows: number;
|
|
1538
|
+
/** Blocks in each row, top to bottom; only the last row can be short. */
|
|
1539
|
+
perRow: number[];
|
|
1540
|
+
}
|
|
1541
|
+
/**
|
|
1542
|
+
* The `grid` flow by block count. In a landscape region: 1 fills it; 2 side by side; 3 in a row; 4 as 2 x 2; 5 as 3 + 2;
|
|
1543
|
+
* 6 as 3 x 2; 7 to 12 in four columns. In a portrait region (taller than wide) rows and columns swap: 2 and 3 stacked,
|
|
1544
|
+
* 4 as 2 x 2, 5 as 2 + 2 + 1, 6 as 2 x 3, 7 to 12 in three rows.
|
|
1545
|
+
*/
|
|
1546
|
+
declare function gridFlowShape(count: number, landscape: boolean): FlowShape;
|
|
1547
|
+
/**
|
|
1548
|
+
* Column breaks of a list laid out in `count` columns: indexes where a column starts after the first, chosen between
|
|
1549
|
+
* items (never inside one, and never before a nested item, which stays with its parent) so the tallest column is as short
|
|
1550
|
+
* as possible. `heights` are the items' heights in one column; `levels` their nesting levels.
|
|
1551
|
+
*/
|
|
1552
|
+
declare function listColumnBreaks(heights: readonly number[], levels: readonly number[], count: number): number[];
|
|
1553
|
+
/** What a row of a slide's grid holds, for `allocateRows`. */
|
|
1554
|
+
interface RowDemand {
|
|
1555
|
+
size: number | 'auto';
|
|
1556
|
+
/** The height the row's content needs at the starting size (0 for an empty row). */
|
|
1557
|
+
need: number;
|
|
1558
|
+
/** `heading`: an auto row sized by a heading area; `below`: the implicit row of content no region took; `body`: anything else. */
|
|
1559
|
+
kind: 'heading' | 'body' | 'below';
|
|
1560
|
+
}
|
|
1361
1561
|
/**
|
|
1362
|
-
*
|
|
1363
|
-
*
|
|
1364
|
-
*
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
declare function layoutLeaves(layout: {
|
|
1371
|
-
placeholders?: unknown;
|
|
1372
|
-
} | null | undefined): LayoutLeaf[];
|
|
1373
|
-
/**
|
|
1374
|
-
* A one-line summary of a record's placeholders in reading order, each group with its mode and its entries in parentheses:
|
|
1375
|
-
* `title, column (text, text), chart`. Pickers and catalog pages show it where a flat list of kinds would hide the structure.
|
|
1376
|
-
*/
|
|
1377
|
-
declare function layoutStructure(layout: {
|
|
1378
|
-
placeholders?: unknown;
|
|
1379
|
-
} | null | undefined): string;
|
|
1380
|
-
/** Whether a layout record holds at least one placeholder group. */
|
|
1381
|
-
declare function hasPlaceholderGroups(layout: {
|
|
1382
|
-
placeholders?: unknown;
|
|
1383
|
-
} | null | undefined): boolean;
|
|
1384
|
-
/**
|
|
1385
|
-
* Derives what a layout holds from its `placeholders`, which are the single source of truth: the content kind,
|
|
1386
|
-
* the number of body regions and which headings it has are never stored on the record. Placeholder groups count
|
|
1387
|
-
* through their leaves.
|
|
1388
|
-
*/
|
|
1389
|
-
declare function layoutContent(layout: {
|
|
1390
|
-
placeholders?: ReadonlyArray<unknown>;
|
|
1391
|
-
} | null | undefined): LayoutContent;
|
|
1562
|
+
* Row heights of a slide's template grid, so that no row with content is squeezed to nothing (RR-79, RR-81 review):
|
|
1563
|
+
* 1. A heading `auto` row takes what its headings need, at most half the content box.
|
|
1564
|
+
* 2. The numeric rows keep at least what their content needs, up to half of the space under the headings.
|
|
1565
|
+
* 3. The other `auto` rows take what they need (at most half the content box each; the implicit row below the grid has no
|
|
1566
|
+
* such cap) from what is left; when that is not enough they shrink together, in proportion to their needs.
|
|
1567
|
+
* 4. The numeric rows share the rest in proportion to their sizes. An `auto` row with nothing in it has no height and no gap.
|
|
1568
|
+
*/
|
|
1569
|
+
declare function allocateRows(rows: readonly RowDemand[], total: number, gap: number): number[];
|
|
1392
1570
|
|
|
1393
1571
|
/** Portable layout geometry. No fonts, DOM, renderer, or network dependencies. */
|
|
1394
1572
|
interface Composition {
|
|
@@ -1408,9 +1586,19 @@ interface LayoutBox {
|
|
|
1408
1586
|
height: number;
|
|
1409
1587
|
}
|
|
1410
1588
|
interface LayoutDiagnostic {
|
|
1411
|
-
|
|
1589
|
+
/**
|
|
1590
|
+
* OPF 0.19 adds the content-binding codes of template layouts: `region-unknown`, `region-kind` and `region-full` for an
|
|
1591
|
+
* ignored `region` pin, and `layout-unplaced` for a block no region had room for (drawn anyway; `paginate` moves it).
|
|
1592
|
+
*/
|
|
1593
|
+
code: "text-overflow" | "small-cell" | "unresolved-content" | "unsupported-image-treatment" | "numbering-adapted" | "region-unknown" | "region-kind" | "region-full" | "layout-unplaced";
|
|
1412
1594
|
path: string;
|
|
1413
1595
|
message: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* OPF 0.19, `layout-unplaced`: the overflow region the block was drawn in beyond its `max` (`paginate` moves it to a
|
|
1598
|
+
* continuation slide). Absent when the layout has no overflow region and the block is drawn below the grid, which a
|
|
1599
|
+
* continuation cannot change. The pin codes name the pinned region.
|
|
1600
|
+
*/
|
|
1601
|
+
region?: string;
|
|
1414
1602
|
}
|
|
1415
1603
|
/** Physical legacy-family selection supplied by a font provider, independently of its numeric weight. */
|
|
1416
1604
|
interface FontFaceSelection {
|
|
@@ -1547,6 +1735,82 @@ interface ComposedItem {
|
|
|
1547
1735
|
* then left). Engines anchor native and preview text to this value.
|
|
1548
1736
|
*/
|
|
1549
1737
|
alignment: 'left' | 'center' | 'right';
|
|
1738
|
+
/**
|
|
1739
|
+
* OPF 0.19: the layout template region the item was drawn in (`SlideComposition.regions[].name`); absent on headings,
|
|
1740
|
+
* placed images and slides without a template layout. The PPTX exporter tags the shape with it.
|
|
1741
|
+
*/
|
|
1742
|
+
region?: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* OPF 0.19: a list laid out in columns (a lone list in a region with `listColumns: "auto"`, or a list payload with
|
|
1745
|
+
* `columns`): one entry per column, in reading order, each with its cell, the half-open range of the payload's items it
|
|
1746
|
+
* holds and its own fit at the shared font size. Numbering continues across columns. The item's `text` is the whole list:
|
|
1747
|
+
* every entry of every column at its column's position (one ListFit, `overflow` when any column overflows), so a consumer
|
|
1748
|
+
* that ignores `listColumns` still draws every item; `box` is the whole list's cell.
|
|
1749
|
+
*/
|
|
1750
|
+
listColumns?: ComposedListColumn[];
|
|
1751
|
+
}
|
|
1752
|
+
/** One column of a list laid out in columns (`ComposedItem.listColumns`). */
|
|
1753
|
+
interface ComposedListColumn {
|
|
1754
|
+
box: LayoutBox;
|
|
1755
|
+
/** First item of the payload in this column. */
|
|
1756
|
+
start: number;
|
|
1757
|
+
/** One past the last item. */
|
|
1758
|
+
end: number;
|
|
1759
|
+
text: ListFit;
|
|
1760
|
+
}
|
|
1761
|
+
/**
|
|
1762
|
+
* OPF 0.19: one body region of the slide's layout template, as composed for this slide (`SlideComposition.regions`), so
|
|
1763
|
+
* editors can draw drop targets and exporters can place layout placeholders and tag shapes. Every region of the template
|
|
1764
|
+
* is listed, in reading order, filled or not.
|
|
1765
|
+
*/
|
|
1766
|
+
interface ComposedRegion {
|
|
1767
|
+
/** The region's name (its key in the record's `regions`). */
|
|
1768
|
+
name: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* The region's cell on this slide, after mirroring and bleed: a bled region's outer edges that lie on the content box
|
|
1771
|
+
* reach the slide edge. A collapsed region keeps the cell of its own area (possibly zero high), which another area
|
|
1772
|
+
* has taken over.
|
|
1773
|
+
*/
|
|
1774
|
+
box: LayoutBox;
|
|
1775
|
+
accepts: RegionKind[];
|
|
1776
|
+
role: RegionRole;
|
|
1777
|
+
/** The record's `flow`. */
|
|
1778
|
+
flow: RegionFlow;
|
|
1779
|
+
max: number;
|
|
1780
|
+
anchor: RegionAnchor;
|
|
1781
|
+
/**
|
|
1782
|
+
* How the blocks were arranged: `grid` (the grid sequence by count), `row`, `column`, or `composition` when the
|
|
1783
|
+
* slide's own `composition.mode`, `columns` or `weights` arranged its first primary flowing region. Absent when empty.
|
|
1784
|
+
*/
|
|
1785
|
+
arrangement?: 'grid' | 'row' | 'column' | 'composition';
|
|
1786
|
+
/** OPF paths of the content bound to the region within `max`, in source order: root blocks (`slides.N.blocks.I`) or root payload fields (`slides.N.text`). */
|
|
1787
|
+
content: string[];
|
|
1788
|
+
/** Content no region had room for, drawn here beyond `max` (`opf/layout-unplaced`; `paginate` moves it to a continuation slide). */
|
|
1789
|
+
overflow?: string[];
|
|
1790
|
+
/** The region received no content and its cells joined a neighbour on this slide. */
|
|
1791
|
+
collapsed?: true;
|
|
1792
|
+
bleed?: true;
|
|
1793
|
+
/** A bled region's cell inside the content box, before bleed. */
|
|
1794
|
+
areaBox?: LayoutBox;
|
|
1795
|
+
}
|
|
1796
|
+
/** OPF 0.19: a heading area of the slide's layout template (`title`, or `subtitle` when the template has one). */
|
|
1797
|
+
interface ComposedHeadingArea {
|
|
1798
|
+
name: 'title' | 'subtitle';
|
|
1799
|
+
box: LayoutBox;
|
|
1800
|
+
/** The slide has no heading for it and its cells joined a neighbour. */
|
|
1801
|
+
collapsed?: true;
|
|
1802
|
+
/** The template has no `title` area: an `auto` row on top that holds the slide's headings. */
|
|
1803
|
+
implicit?: true;
|
|
1804
|
+
/**
|
|
1805
|
+
* The title area of a template without a `subtitle` area, split where the stacked heading group puts the subtitle: `title`
|
|
1806
|
+
* runs from the area's top to the bottom of the title (with the tag above it), `subtitle` from the subtitle's top (where it
|
|
1807
|
+
* would start, half a gap under the title, when the slide has none) to the area's bottom. PowerPoint's ctrTitle and
|
|
1808
|
+
* subTitle placeholders use these boxes. Absent when the slide has no headings in the area.
|
|
1809
|
+
*/
|
|
1810
|
+
parts?: {
|
|
1811
|
+
title: LayoutBox;
|
|
1812
|
+
subtitle: LayoutBox;
|
|
1813
|
+
};
|
|
1550
1814
|
}
|
|
1551
1815
|
/** How a picture fills its frame: cover crops around the focus, contain shows all of it, stretch scales it to the frame. */
|
|
1552
1816
|
type ImageFit = 'cover' | 'contain' | 'stretch';
|
|
@@ -1602,7 +1866,7 @@ interface ComposedPlacement {
|
|
|
1602
1866
|
size: number;
|
|
1603
1867
|
/** True when the frame sits inside the slide padding instead of edge to edge. */
|
|
1604
1868
|
inset: boolean;
|
|
1605
|
-
/** Where the placement is written: `slides.N.blocks.I.placement
|
|
1869
|
+
/** Where the placement is written: `slides.N.blocks.I.placement`. */
|
|
1606
1870
|
path: string;
|
|
1607
1871
|
}
|
|
1608
1872
|
/**
|
|
@@ -1698,33 +1962,6 @@ interface ComposedGroup {
|
|
|
1698
1962
|
contentBox: LayoutBox;
|
|
1699
1963
|
composition: Composition;
|
|
1700
1964
|
}
|
|
1701
|
-
/**
|
|
1702
|
-
* FA-26: one body placeholder of a layout record that has placeholder groups, as composed: its cell and, for a filled
|
|
1703
|
-
* region, the slide content in it. Groups and empty regions are listed too, so an editor can draw every slot. Only
|
|
1704
|
-
* slides that compose through a record's placeholder groups carry slots.
|
|
1705
|
-
*/
|
|
1706
|
-
interface ComposedSlot {
|
|
1707
|
-
/** The placeholder: `layout.placeholders.2`, or `layout.placeholders.2.placeholders.0` inside a group. */
|
|
1708
|
-
path: string;
|
|
1709
|
-
/** The region's content kind, or `group`. */
|
|
1710
|
-
type: string;
|
|
1711
|
-
/** 0 at the record's top level, else the level of the group that holds it (1 to 3). */
|
|
1712
|
-
depth: number;
|
|
1713
|
-
/** The slot's cell (before any card inset or caption band). */
|
|
1714
|
-
box: LayoutBox;
|
|
1715
|
-
/** The OPF path of the content that fills a region; absent for a group and for an empty region. */
|
|
1716
|
-
content?: string;
|
|
1717
|
-
}
|
|
1718
|
-
/**
|
|
1719
|
-
* FA-26: design.chartPrimary is sugar for a placeholder group. The layout record a slide composes as while chartPrimary
|
|
1720
|
-
* applies: the primary chart and one automatic placeholder group of the other root content (`kinds`, in source order),
|
|
1721
|
-
* in a row (left, right) or a column (top, bottom) weighted 3:2 toward the chart. composeSlide builds exactly this record
|
|
1722
|
-
* and fills it like any record with groups, except that the first chart, wherever it is, fills the chart region.
|
|
1723
|
-
*/
|
|
1724
|
-
declare function chartPrimaryLayout(side: 'left' | 'right' | 'top' | 'bottom', kinds: readonly string[]): {
|
|
1725
|
-
composition: Composition;
|
|
1726
|
-
placeholders: Record<string, unknown>[];
|
|
1727
|
-
};
|
|
1728
1965
|
interface CompositionTrack {
|
|
1729
1966
|
offset: number;
|
|
1730
1967
|
size: number;
|
|
@@ -1779,12 +2016,19 @@ interface CompositionExplanation {
|
|
|
1779
2016
|
interface SlideComposition {
|
|
1780
2017
|
width: number;
|
|
1781
2018
|
height: number;
|
|
2019
|
+
/**
|
|
2020
|
+
* The body's frame: the canvas minus padding, header and footer bands, the footnote area and placed-image bands, below
|
|
2021
|
+
* the headings on an automatic slide. For a template layout (OPF 0.19) it is the whole template frame, the title area
|
|
2022
|
+
* included (`headingAreas` and `regions` lie inside it, except where a bled region reaches the slide edge).
|
|
2023
|
+
*/
|
|
1782
2024
|
contentBox: LayoutBox;
|
|
1783
2025
|
items: ComposedItem[];
|
|
1784
2026
|
groups: ComposedGroup[];
|
|
1785
2027
|
flows: ComposedFlow[];
|
|
1786
|
-
/**
|
|
1787
|
-
|
|
2028
|
+
/** OPF 0.19: every body region of the slide's layout template, in reading order; present only for a template layout. */
|
|
2029
|
+
regions?: ComposedRegion[];
|
|
2030
|
+
/** OPF 0.19: the template's heading areas (`title`, `subtitle`) with their boxes; present only for a template layout. */
|
|
2031
|
+
headingAreas?: ComposedHeadingArea[];
|
|
1788
2032
|
diagnostics: LayoutDiagnostic[];
|
|
1789
2033
|
composition: Composition;
|
|
1790
2034
|
/** Repeated furniture is measured separately from body pagination leaves. */
|
|
@@ -1824,6 +2068,7 @@ interface ComposeSlideOptions {
|
|
|
1824
2068
|
titleAlignment?: unknown;
|
|
1825
2069
|
contentAlignment?: unknown;
|
|
1826
2070
|
contentBox?: unknown;
|
|
2071
|
+
mirror?: unknown;
|
|
1827
2072
|
};
|
|
1828
2073
|
organization?: unknown;
|
|
1829
2074
|
speaker?: unknown;
|
|
@@ -1832,6 +2077,11 @@ interface ComposeSlideOptions {
|
|
|
1832
2077
|
references?: unknown;
|
|
1833
2078
|
datasets?: unknown;
|
|
1834
2079
|
};
|
|
2080
|
+
/**
|
|
2081
|
+
* OPF 0.19: the resolved theme record's `design` (titleAlignment, contentAlignment, contentBox, contentDirection,
|
|
2082
|
+
* imageFit, listBullet). It ranks below the deck's design and above the layout record's. `resolveSlideContext` passes it.
|
|
2083
|
+
*/
|
|
2084
|
+
themeDesign?: unknown;
|
|
1835
2085
|
/**
|
|
1836
2086
|
* Whether the slide background is dark, by the host's own luminance test. Selects each logo's
|
|
1837
2087
|
* `onDark` value (cover logo, `var:organization.logo.*` in zone images, picture bullets). Core never inspects colors.
|
|
@@ -1994,7 +2244,7 @@ declare const FURNITURE_GAP = 12;
|
|
|
1994
2244
|
declare const FURNITURE_IMAGE_SHARE = 0.4;
|
|
1995
2245
|
/** Resolve and measure repeated fields without mutating metadata or consulting a clock. */
|
|
1996
2246
|
declare function layoutFurniture(input: unknown, options?: ComposeSlideOptions): FurnitureLayout;
|
|
1997
|
-
/** Deterministic estimate, not a font shaping engine.
|
|
2247
|
+
/** Deterministic estimate, not a font shaping engine. Spacing marks outside Latin/CJK contribute; nonspacing/enclosing marks do not. */
|
|
1998
2248
|
declare function measureText(text: string, fontSize: number): number;
|
|
1999
2249
|
declare function wrapText(text: string, width: number, fontSize: number, measure?: MeasureTextWidth): string[];
|
|
2000
2250
|
declare function fitText(text: string, box: LayoutBox, requestedSize?: number, minFontSize?: number, measure?: MeasureTextWidth, direction?: TextDirection): SourceTextFit;
|
|
@@ -2494,6 +2744,42 @@ interface TableLayout {
|
|
|
2494
2744
|
* All dimensions are canvas pixels; minFontSize is an unscaled canvas size.
|
|
2495
2745
|
*/
|
|
2496
2746
|
declare function layoutTable(value: unknown, box: LayoutBox, options?: TableLayoutOptions): TableLayout;
|
|
2747
|
+
/** Options of `composeLayoutAreas`: those of composeSlide (canvas, deck, theme, direction, ...) plus the layout's own. */
|
|
2748
|
+
interface LayoutAreasOptions extends Omit<ComposeSlideOptions, 'layout' | 'explain'> {
|
|
2749
|
+
/** Draw the layout mirrored (design.mirror). Default: the deck's design.mirror, then the layout's. */
|
|
2750
|
+
mirror?: boolean;
|
|
2751
|
+
/** A bled region reaches the slide edge, as on a composed slide. Default true; false gives its cell inside the content box. */
|
|
2752
|
+
bleed?: boolean;
|
|
2753
|
+
/** Placed-image bands the slide layout reserves, as image blocks with these placements would. */
|
|
2754
|
+
placements?: readonly {
|
|
2755
|
+
edge: ImageEdge;
|
|
2756
|
+
size?: number;
|
|
2757
|
+
inset?: boolean;
|
|
2758
|
+
}[];
|
|
2759
|
+
}
|
|
2760
|
+
/** One area of a template on the empty layout. */
|
|
2761
|
+
interface ComposedLayoutArea {
|
|
2762
|
+
name: string;
|
|
2763
|
+
/** `title` or `subtitle`. */
|
|
2764
|
+
heading: boolean;
|
|
2765
|
+
box: LayoutBox;
|
|
2766
|
+
/** On the `title` area of a template without a `subtitle` area: the ctrTitle and subTitle sub-boxes (ComposedHeadingArea.parts). */
|
|
2767
|
+
parts?: {
|
|
2768
|
+
title: LayoutBox;
|
|
2769
|
+
subtitle: LayoutBox;
|
|
2770
|
+
};
|
|
2771
|
+
}
|
|
2772
|
+
/**
|
|
2773
|
+
* The areas of a template composed for an empty slide, nothing collapsed: where a PowerPoint slide layout puts a
|
|
2774
|
+
* placeholder per area (design section 8). It is composeSlide's own geometry for a slide with a one-line title and
|
|
2775
|
+
* subtitle and every region kept (`empty: "keep"`, so an empty auto row holds two lines of body text), with the deck's
|
|
2776
|
+
* header and footer (`presentation`), the given placed-image bands and bleed, so the placeholders land on the boxes a
|
|
2777
|
+
* slide composes to wherever its content does not resize an auto row.
|
|
2778
|
+
*/
|
|
2779
|
+
declare function composeLayoutAreas(layout: unknown, options?: LayoutAreasOptions): {
|
|
2780
|
+
contentBox: LayoutBox;
|
|
2781
|
+
areas: ComposedLayoutArea[];
|
|
2782
|
+
};
|
|
2497
2783
|
/** Compose a validated Slide. Layout resolution remains the caller's responsibility. */
|
|
2498
2784
|
declare function composeSlide(input: unknown, options?: ComposeSlideOptions): SlideComposition;
|
|
2499
2785
|
/** Canonical physical slide size, converted to reference pixels at 96 pixels/inch. */
|
|
@@ -2502,4 +2788,4 @@ declare function resolveCanvasDimensions(input: unknown): {
|
|
|
2502
2788
|
height: number;
|
|
2503
2789
|
};
|
|
2504
2790
|
|
|
2505
|
-
export { type
|
|
2791
|
+
export { type ChartOptionDiagnostic as $, AUTO_LAYOUT as A, type BackgroundImageFit as B, type ComposeSlideOptions as C, CHART_SERIES_MIN_LIGHTNESS_STEP as D, ENGINE_DEFAULT_CHART_TYPES as E, type Fonts as F, CITATION_MARKER_RAISE as G, CITATION_MARKER_SCALE as H, CODE_HIGHLIGHT_LANGUAGES as I, CODE_HIGHLIGHT_MAX_LENGTH as J, CODE_PANEL_BACKGROUND as K, type LayoutDiagnostic as L, type MeasureTextWidth as M, CODE_PANEL_FOREGROUND as N, CODE_SYNTAX_MIN_CONTRAST as O, type Caption as P, type CaptionAlignment as Q, type ResolveLogoOptions as R, SOCIAL_PLATFORMS as S, type TextMeasurement as T, type CaptionObject as U, type CaptionPosition as V, type CaptionSettings as W, type ChartHighlightMarks as X, type ChartLabelContent as Y, type ChartLabelPosition as Z, type ChartLegendPosition as _, CHART_TYPES as a, type FurniturePart as a$, type ChartOptionKind as a0, type ChartOptionSupport as a1, type ChartOptionTarget as a2, type CitationMarker as a3, type CitationNote as a4, type CodeContent as a5, type CodeHighlightBand as a6, type CodeHighlightColors as a7, type CodeHighlightEntry as a8, type CodeHighlightIssue as a9, type ComposedOverlay as aA, type ComposedPlacement as aB, type ComposedRegion as aC, type Composition as aD, type CompositionCandidate as aE, type CompositionDecision as aF, type CompositionExplanation as aG, type CompositionPenalties as aH, type CompositionTrack as aI, DARK_BACKGROUND_LUMINANCE as aJ, DEFAULT_CHART_LABEL_SEPARATOR as aK, DEFAULT_FURNITURE_DATE_FORMAT as aL, DESIGN_HINT_KEYS as aM, type DeckCitations as aN, type DesignHintKey as aO, type DesignHintSource as aP, type DesignHints as aQ, FONT_SIZE_GRID_PER_PX as aR, FOOTNOTE_MAX_RATIO as aS, FURNITURE_GAP as aT, FURNITURE_IMAGE_SHARE as aU, type FlowShape as aV, type FontFaceSelection as aW, type FootnoteLayoutOptions as aX, type FurnitureField as aY, type FurnitureImagePart as aZ, type FurnitureLayout as a_, type CodeHighlightLines as aa, type CodeLayout as ab, type CodeLayoutDiagnostic as ac, type CodeLayoutOptions as ad, type CodeLineSegment as ae, type CodeLineSource as af, type CodeRun as ag, type CodeSyntaxPalette as ah, type CodeSyntaxPaletteOptions as ai, type CodeSyntaxPaletteTheme as aj, type CodeTextFit as ak, type CodeTextPart as al, type CodeToken as am, type CodeTokenKind as an, type ComposedBackgroundImage as ao, type ComposedCaption as ap, type ComposedFlow as aq, type ComposedFootnoteEntry as ar, type ComposedFootnotes as as, type ComposedGroup as at, type ComposedHeadingArea as au, type ComposedImage as av, type ComposedItem as aw, type ComposedLayoutArea as ax, type ComposedListColumn as ay, type ComposedLogo as az, ENGINE_DEFAULT_COLOR_SCHEME as b, type QuoteTextSource as b$, type FurniturePartBase as b0, type FurnitureSocialLink as b1, type FurnitureTextExtras as b2, type FurnitureTextPart as b3, HEADING_AREAS as b4, type ImageEdge as b5, type ImageFit as b6, type ImageFitPlacement as b7, type ImageFocus as b8, type ImageShape as b9, type MetricLayoutDiagnostic as bA, type MetricLayoutOptions as bB, type MetricSentiment as bC, type MetricTextPart as bD, type MetricTextSource as bE, type MetricTrend as bF, type MetricTrendColorOptions as bG, type MetricTrendMark as bH, NUMBERING_STYLES as bI, NUMBERING_SUFFIXES as bJ, type Numbering as bK, type NumberingInput as bL, type NumberingStyleName as bM, type NumberingSuffix as bN, OPFCompositionError as bO, OPFLayoutTemplateError as bP, PATTERN_PRESETS as bQ, PATTERN_PRESET_ALIASES as bR, PATTERN_TILE_SIZE as bS, PICTURE_BULLET_SCALE as bT, type PhysicalAlignment as bU, type QuoteContent as bV, type QuoteLayout as bW, type QuoteLayoutDiagnostic as bX, type QuoteLayoutOptions as bY, type QuotePhoto as bZ, type QuoteTextPart as b_, LAYOUT_BODY_KINDS as ba, type LayoutArea as bb, type LayoutAreasOptions as bc, type LayoutBodyKind as bd, type LayoutBox as be, type LayoutContent as bf, type LayoutRegion as bg, type LayoutTemplate as bh, type LayoutTemplateIssue as bi, type ListBulletImage as bj, type ListEntryLayout as bk, type ListFit as bl, type ListFitOptions as bm, type ListNumber as bn, type ListText as bo, type ListValue as bp, MAX_COMPOSITION_DEPTH as bq, MAX_NUMBERING_LEVELS as br, MAX_NUMBERING_VALUE as bs, MAX_REGION_BLOCKS as bt, MAX_ROMAN_VALUE as bu, MAX_TEMPLATE_TRACKS as bv, METRIC_TREND_MIN_CONTRAST as bw, METRIC_TREND_SHAPES as bx, type MetricContent as by, type MetricLayout as bz, ENGINE_DEFAULT_FONT_SCHEME as c, type TextLineSource as c$, REGION_ANCHORS as c0, REGION_FLOWS as c1, REGION_KINDS as c2, REGION_ROLES as c3, RESERVED_REGION_NAMES as c4, type ReadingBox as c5, type Reference as c6, type ReferencesSlideOptions as c7, type RegionAnchor as c8, type RegionBinding as c9, type ScriptFontApp as cA, type ScriptFontSlots as cB, type ScriptFontSource as cC, type ScriptFontSupplement as cD, type ScriptMeasurementProfile as cE, type ScriptRole as cF, type SlideCitations as cG, type SlideComposition as cH, type SocialProfile as cI, type SourceTextFit as cJ, THEME_DESIGN_KEYS as cK, TIMELINE_OUTLINE_MIN_CONTRAST as cL, TIMELINE_STATUSES as cM, TIMELINE_TEXT_MIN_CONTRAST as cN, type TableBorder as cO, type TableCellLayout as cP, type TableCellStyle as cQ, type TableGrid as cR, type TableGridCell as cS, type TableGridIssue as cT, type TableLayout as cU, type TableLayoutOptions as cV, type TableRowLayout as cW, type TextDirection as cX, type TextFit as cY, type TextLineInk as cZ, type TextLineSegment as c_, type RegionBindingDiagnostic as ca, type RegionBindingResult as cb, type RegionFlow as cc, type RegionKind as cd, type RegionRole as ce, type ResolveColorRefOptions as cf, type ResolveColorRefRoles as cg, type ResolveColorRolesOptions as ch, type ResolveDesignHintsOptions as ci, type ResolveScriptFontsOptions as cj, type ResolvedChartDataLabels as ck, type ResolvedChartHighlight as cl, type ResolvedChartOptions as cm, type ResolvedColorRoles as cn, type ResolvedDesignHints as co, type ResolvedNumbering as cp, type ResolvedScriptFonts as cq, type RichText as cr, type RichTextFit as cs, type RichTextFragment as ct, type RichTextLine as cu, type RichTextOptions as cv, type RichTextRun as cw, type RowDemand as cx, SURFACE_ALT_MIN_CONTRAST as cy, SURFACE_ALT_MIX as cz, ENGINE_DEFAULT_THEME as d, layoutTable as d$, type TextPlacement as d0, type TextPlacementLine as d1, type TimelineContent as d2, type TimelineEvent as d3, type TimelineLayout as d4, type TimelineLayoutDiagnostic as d5, type TimelineLayoutOptions as d6, type TimelineMarkerShape as d7, type TimelineStatus as d8, type TimelineStatusColors as d9, composeLayoutAreas as dA, composeSlide as dB, defaultSlideBackground as dC, fitImage as dD, fitList as dE, fitRichText as dF, fitText as dG, formatChartLabelNumber as dH, formatChartLabelPercent as dI, formatFurnitureDate as dJ, formatListNumber as dK, gridFlowShape as dL, imageBackground as dM, imageShape as dN, intrinsicImageAspect as dO, intrinsicImageSize as dP, isDarkColor as dQ, isLayoutTemplate as dR, layoutCaption as dS, layoutCode as dT, layoutContent as dU, layoutFootnotes as dV, layoutFurniture as dW, layoutMetric as dX, layoutQuote as dY, layoutRegion as dZ, layoutStructure as d_, type TimelineTextPart as da, type WatermarkTextLayout as db, type WatermarkTextOptions as dc, allocateRows as dd, annotationText as de, bindRegions as df, blockKind as dg, captionSettings as dh, chartColorForFill as di, chartHighlightColors as dj, chartHighlightMarks as dk, chartLabelText as dl, chartOptionSupport as dm, chartOptionTarget as dn, chartPaletteForFill as dp, citationMarkerText as dq, codeHighlightBands as dr, codeHighlightColors as ds, codeHighlightLines as dt, codeLineNumbers as du, codeLineRuns as dv, codeSyntaxPalette as dw, codeSyntaxPaletteForScheme as dx, collectCitations as dy, colorContrast as dz, type FontFamilies as e, layoutTemplate as e0, layoutTemplateIssues as e1, layoutTimeline as e2, layoutWatermark as e3, listColumnBreaks as e4, listNumbers as e5, measureText as e6, measureTextOutline as e7, metricTrendColor as e8, metricTrendMark as e9, resolveSocialProfile as eA, resolveTextStyle as eB, rootNodes as eC, scriptFontRole as eD, sliceNumberedItems as eE, slideCitations as eF, snapFontSizeDown as eG, snapFontSizeUp as eH, surfaceAltColor as eI, tableGrid as eJ, tableRowBoundaries as eK, textColorForFill as eL, textWidthMeasurer as eM, timelineMarkerShapes as eN, timelineTextColor as eO, tokenizeCode as eP, visualReadingOrder as eQ, walkCitationRuns as eR, wrapText as eS, metricTrendPoints as ea, normalizeHexColor as eb, numberingAtLevel as ec, numberingStyleDraws as ed, paragraphDirection as ee, paragraphDirectionAt as ef, patternBitmap as eg, patternRuns as eh, physicalAlignment as ei, placeTextLines as ej, placedImageBlocks as ek, referencesSlide as el, regionAccepts as em, regionRoleRank as en, resolveCanvasDimensions as eo, resolveChartOptions as ep, resolveCodeLanguage as eq, resolveColorRef as er, resolveColorRoles as es, resolveDesignHints as et, resolveFontFamilies as eu, resolveLogo as ev, resolveNumbering as ew, resolvePatternPreset as ex, resolveScriptFonts as ey, resolveSlideDirection as ez, LANGUAGES as f, LOGO_SHAPES as g, type LanguageFamilyName as h, type LanguageVocabulary as i, type LogoShape as j, type LogoVariant as k, type ResolvedLogo as l, type SocialPlatformVocabulary as m, type TextStyle as n, normalizeLanguageFamily as o, type AnnotatedRun as p, type AnnotationFitter as q, type AnnotationLayoutOptions as r, type BindRegionsOptions as s, type BoundBlock as t, CAPTIONABLE_FIELDS as u, CAPTION_FONT_RATIO as v, CAPTION_MAX_RATIO as w, CHART_HIGHLIGHT_MUTED_MIN_CONTRAST as x, CHART_HIGHLIGHT_MUTED_MIX as y, CHART_SERIES_MIN_DIFFERENCE as z };
|