@openpresentation/opf 0.14.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -38
- package/dist/catalog-refs-BSfGELpt.d.ts +128 -0
- package/dist/catalog-schemas-CinPh5WA.d.ts +12 -0
- package/dist/catalog.d.ts +91 -0
- package/dist/{chunk-XOZ4KMSR.js → catalog.js} +16514 -8800
- package/dist/{chart-data-B_3z9VTb.d.ts → chart-data-BnNqgnC-.d.ts} +1 -1
- package/dist/{chunk-LS2FMPI5.js → chunk-2CJPC4HI.js} +760 -851
- package/dist/{chunk-4VJDTF55.js → chunk-374R35TJ.js} +1 -1
- package/dist/{chunk-UPQQD7MA.js → chunk-3JG4YXWF.js} +7 -5
- package/dist/{chunk-4LDGKLUC.js → chunk-3RKB4RDJ.js} +1 -1
- package/dist/{chunk-BFLVSVA7.js → chunk-5FTUIDUH.js} +1 -1
- package/dist/{chunk-D3TY4TT6.js → chunk-HXHOZ7AH.js} +1407 -154
- package/dist/{chunk-6OXY2CP3.js → chunk-O744SXXA.js} +319 -162
- package/dist/{chunk-JDJBDYSR.js → chunk-QDI75P2M.js} +194 -846
- package/dist/chunk-SPFV27O5.js +210 -0
- package/dist/chunk-TRDXRRQK.js +17 -0
- package/dist/{chunk-Z65B2B77.js → chunk-TWQJLI6E.js} +2 -2
- package/dist/{chunk-Q2TCMN56.js → chunk-U4J75TRG.js} +1 -1
- package/dist/{chunk-XIZUK2XM.js → chunk-UBFJ2QHH.js} +5 -3
- package/dist/{chunk-CSQHPVGL.js → chunk-VGAOJEY7.js} +1 -1
- package/dist/{chunk-5ZU6JAPP.js → chunk-ZPU46TFA.js} +1 -1
- package/dist/{composition-_WEwBe2a.d.ts → composition-D2tghM82.d.ts} +233 -108
- package/dist/composition.d.ts +3 -2
- package/dist/composition.js +2 -2
- package/dist/convert.d.ts +14 -17
- package/dist/convert.js +36 -39
- package/dist/data.d.ts +1 -1
- package/dist/data.js +3 -3
- package/dist/diff.d.ts +1 -1
- package/dist/diff.js +7 -7
- package/dist/docs.js +29 -29
- package/dist/examples.d.ts +1 -1
- package/dist/examples.js +48431 -3697
- package/dist/{finding-C_por275.d.ts → finding-CT_f_vbD.d.ts} +2 -2
- package/dist/format.js +2 -2
- package/dist/index.d.ts +225 -76
- package/dist/index.js +341 -258
- package/dist/json-BFSdESOE.d.ts +19 -0
- package/dist/markdown.d.ts +19 -7
- package/dist/markdown.js +9 -9
- package/dist/{pagination-BZpXLvFL.d.ts → pagination-wedbe7eq.d.ts} +31 -31
- package/dist/pagination.d.ts +4 -5
- package/dist/pagination.js +6 -6
- package/dist/patch.d.ts +1 -1
- package/dist/patch.js +6 -6
- package/dist/{presentation-C5eHkevA.d.ts → presentation-CDKQVkyI.d.ts} +382 -550
- package/dist/repo-readme.js +1 -1
- package/dist/schemas.d.ts +284 -1
- package/dist/schemas.js +1 -1
- package/dist/spec/README.md +1 -1
- package/dist/spec/catalogs/font-schemes/angsana-new.json +1 -1
- package/dist/spec/catalogs/font-schemes/aparajita.json +2 -2
- package/dist/spec/catalogs/font-schemes/arabic-typesetting.json +1 -1
- package/dist/spec/catalogs/font-schemes/batang.json +1 -1
- package/dist/spec/catalogs/font-schemes/daunpenh.json +1 -1
- package/dist/spec/catalogs/font-schemes/david.json +1 -1
- package/dist/spec/catalogs/font-schemes/dilleniaupc.json +1 -1
- package/dist/spec/catalogs/font-schemes/fangsong.json +1 -1
- package/dist/spec/catalogs/font-schemes/gautami.json +1 -1
- package/dist/spec/catalogs/font-schemes/gisha.json +2 -2
- package/dist/spec/catalogs/font-schemes/gungsuh.json +1 -1
- package/dist/spec/catalogs/font-schemes/index.json +1 -1
- package/dist/spec/catalogs/font-schemes/kalinga.json +1 -1
- package/dist/spec/catalogs/font-schemes/kartika.json +1 -1
- package/dist/spec/catalogs/font-schemes/khmer-ui.json +1 -1
- package/dist/spec/catalogs/font-schemes/latha.json +1 -1
- package/dist/spec/catalogs/font-schemes/malgun-gothic.json +1 -1
- package/dist/spec/catalogs/font-schemes/mangal.json +3 -3
- package/dist/spec/catalogs/font-schemes/meiryo.json +1 -1
- package/dist/spec/catalogs/font-schemes/microsoft-jhenghei.json +1 -1
- package/dist/spec/catalogs/font-schemes/microsoft-yahei.json +4 -4
- package/dist/spec/catalogs/font-schemes/mingliu.json +1 -1
- package/dist/spec/catalogs/font-schemes/miriam.json +1 -1
- package/dist/spec/catalogs/font-schemes/ms-mincho.json +1 -1
- package/dist/spec/catalogs/font-schemes/nirmala-ui.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-naksh-arabic.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-nastaliq-urdu.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-arabic.json +3 -3
- package/dist/spec/catalogs/font-schemes/noto-sans-armenian.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-bengali.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-devangari.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-ethiopic.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-georgian.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-gujarati.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-gurmukhi.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-hebrew.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-jp.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-kannada.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-khmer.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-kr.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-malayalam.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-mongolian.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-oriya.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-sc.json +4 -4
- package/dist/spec/catalogs/font-schemes/noto-sans-tamil.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-tc.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-telugu.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans-thai.json +1 -1
- package/dist/spec/catalogs/font-schemes/noto-sans.json +4 -4
- package/dist/spec/catalogs/font-schemes/nyala.json +1 -1
- package/dist/spec/catalogs/font-schemes/pmingliu.json +1 -1
- package/dist/spec/catalogs/font-schemes/raavi.json +1 -1
- package/dist/spec/catalogs/font-schemes/sakkal-majalla.json +3 -3
- package/dist/spec/catalogs/font-schemes/shonar-bangla.json +2 -2
- package/dist/spec/catalogs/font-schemes/shruti.json +1 -1
- package/dist/spec/catalogs/font-schemes/simsun.json +1 -1
- package/dist/spec/catalogs/font-schemes/sylfaen.json +2 -2
- package/dist/spec/catalogs/font-schemes/traditional-arabic.json +3 -3
- package/dist/spec/catalogs/font-schemes/tunga.json +1 -1
- package/dist/spec/catalogs/font-schemes/vrinda.json +1 -1
- package/dist/spec/catalogs/font-schemes/yu-gothic.json +1 -1
- package/dist/spec/catalogs/layouts/capability-map.json +1 -4
- package/dist/spec/catalogs/layouts/chart-1x-title-center.json +30 -0
- package/dist/spec/catalogs/layouts/chart-2x-title-center.json +36 -0
- package/dist/spec/catalogs/layouts/chart-2x-vertical-title-left.json +37 -0
- package/dist/spec/catalogs/layouts/chart-3x-bottom-vertical-title-left.json +46 -0
- package/dist/spec/catalogs/layouts/chart-3x-left-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/chart-3x-left.json +40 -0
- package/dist/spec/catalogs/layouts/chart-3x-right-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/chart-3x-right.json +40 -0
- package/dist/spec/catalogs/layouts/chart-3x-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/chart-3x-top-vertical-title-left.json +46 -0
- package/dist/spec/catalogs/layouts/competitive-landscape.json +1 -4
- package/dist/spec/catalogs/layouts/customer-journey.json +1 -4
- package/dist/spec/catalogs/layouts/decision-tree.json +1 -4
- package/dist/spec/catalogs/layouts/ecosystem-map.json +1 -4
- package/dist/spec/catalogs/layouts/extract/canonical.json +0 -9
- package/dist/spec/catalogs/layouts/geographic-map.json +1 -4
- package/dist/spec/catalogs/layouts/icon-grid.json +1 -4
- package/dist/spec/catalogs/layouts/image-1x-crop-title-center.json +32 -0
- package/dist/spec/catalogs/layouts/image-1x-crop-title-left.json +32 -0
- package/dist/spec/catalogs/layouts/image-1x-crop.json +27 -0
- package/dist/spec/catalogs/layouts/image-1x-fit-title-center.json +32 -0
- package/dist/spec/catalogs/layouts/image-1x.json +3 -0
- package/dist/spec/catalogs/layouts/image-2x-crop-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/image-2x-crop-vertical-title-left.json +39 -0
- package/dist/spec/catalogs/layouts/image-2x-crop-vertical.json +34 -0
- package/dist/spec/catalogs/layouts/image-2x-crop.json +33 -0
- package/dist/spec/catalogs/layouts/image-2x-fit-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/image-2x-fit-vertical-title-left.json +39 -0
- package/dist/spec/catalogs/layouts/image-2x-fit-vertical.json +34 -0
- package/dist/spec/catalogs/layouts/image-2x.json +3 -0
- package/dist/spec/catalogs/layouts/image-3x-crop-title-center.json +41 -0
- package/dist/spec/catalogs/layouts/image-3x-crop-vertical-title-left.json +42 -0
- package/dist/spec/catalogs/layouts/image-3x-crop-vertical.json +37 -0
- package/dist/spec/catalogs/layouts/image-3x-crop.json +36 -0
- package/dist/spec/catalogs/layouts/image-3x-fit-title-center.json +41 -0
- package/dist/spec/catalogs/layouts/image-3x-fit-vertical-title-left.json +42 -0
- package/dist/spec/catalogs/layouts/image-3x-fit-vertical.json +37 -0
- package/dist/spec/catalogs/layouts/image-3x-fit.json +36 -0
- package/dist/spec/catalogs/layouts/image-3x.json +3 -0
- package/dist/spec/catalogs/layouts/image-focus.json +3 -6
- package/dist/spec/catalogs/layouts/image-only-1x-crop-title-center.json +31 -0
- package/dist/spec/catalogs/layouts/image-only-1x-fit-title-center.json +31 -0
- package/dist/spec/catalogs/layouts/image-only-2x-crop-title-center.json +37 -0
- package/dist/spec/catalogs/layouts/image-only-2x-crop-vertical-title-left.json +38 -0
- package/dist/spec/catalogs/layouts/image-only-2x-crop-vertical.json +33 -0
- package/dist/spec/catalogs/layouts/image-only-2x-fit-title-center.json +37 -0
- package/dist/spec/catalogs/layouts/image-only-2x-fit-vertical-title-left.json +38 -0
- package/dist/spec/catalogs/layouts/image-only-2x-fit-vertical.json +33 -0
- package/dist/spec/catalogs/layouts/image-only-3x-crop-title-center.json +40 -0
- package/dist/spec/catalogs/layouts/image-only-3x-crop-vertical-title-left.json +41 -0
- package/dist/spec/catalogs/layouts/image-only-3x-crop-vertical.json +36 -0
- package/dist/spec/catalogs/layouts/image-only-3x-crop.json +35 -0
- package/dist/spec/catalogs/layouts/image-only-3x-fit-title-center.json +40 -0
- package/dist/spec/catalogs/layouts/image-only-3x-fit-vertical-title-left.json +41 -0
- package/dist/spec/catalogs/layouts/image-only-3x-fit-vertical.json +36 -0
- package/dist/spec/catalogs/layouts/image-only-3x-fit.json +35 -0
- package/dist/spec/catalogs/layouts/index.json +1041 -151
- package/dist/spec/catalogs/layouts/list-1x-box-title-center.json +32 -0
- package/dist/spec/catalogs/layouts/list-1x-box-vertical-title-center.json +33 -0
- package/dist/spec/catalogs/layouts/list-1x-box-vertical-title-left.json +33 -0
- package/dist/spec/catalogs/layouts/list-1x-box-vertical.json +28 -0
- package/dist/spec/catalogs/layouts/list-1x-box.json +27 -0
- package/dist/spec/catalogs/layouts/list-1x-itemimage-title-center.json +32 -0
- package/dist/spec/catalogs/layouts/list-1x-itemimage-vertical-title-center.json +33 -0
- package/dist/spec/catalogs/layouts/list-1x-title-center.json +31 -0
- package/dist/spec/catalogs/layouts/list-1x-vertical-title-center.json +32 -0
- package/dist/spec/catalogs/layouts/list-2x-box-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/list-2x-box-vertical-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/list-2x-box-vertical-title-left.json +39 -0
- package/dist/spec/catalogs/layouts/list-2x-box-vertical.json +34 -0
- package/dist/spec/catalogs/layouts/list-2x-box.json +33 -0
- package/dist/spec/catalogs/layouts/list-2x-itemimage-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical-title-left.json +39 -0
- package/dist/spec/catalogs/layouts/list-2x-itemimage-vertical.json +34 -0
- package/dist/spec/catalogs/layouts/list-2x-title-center.json +37 -0
- package/dist/spec/catalogs/layouts/list-2x-vertical-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/list-2x-vertical-title-left.json +38 -0
- package/dist/spec/catalogs/layouts/list-2x-vertical.json +33 -0
- package/dist/spec/catalogs/layouts/list-3x-box-title-center.json +41 -0
- package/dist/spec/catalogs/layouts/list-3x-box-vertical-title-center.json +42 -0
- package/dist/spec/catalogs/layouts/list-3x-box-vertical-title-left.json +42 -0
- package/dist/spec/catalogs/layouts/list-3x-box-vertical.json +37 -0
- package/dist/spec/catalogs/layouts/list-3x-box.json +36 -0
- package/dist/spec/catalogs/layouts/list-3x-itemimage-title-center.json +41 -0
- package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical-title-center.json +42 -0
- package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical-title-left.json +42 -0
- package/dist/spec/catalogs/layouts/list-3x-itemimage-vertical.json +37 -0
- package/dist/spec/catalogs/layouts/list-3x-itemimage.json +36 -0
- package/dist/spec/catalogs/layouts/list-3x-title-center.json +40 -0
- package/dist/spec/catalogs/layouts/list-3x-vertical-title-center.json +41 -0
- package/dist/spec/catalogs/layouts/list-3x-vertical-title-left.json +41 -0
- package/dist/spec/catalogs/layouts/list-3x-vertical.json +36 -0
- package/dist/spec/catalogs/layouts/list-4x-box-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-box-vertical-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-box-vertical-title-left.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-box-vertical.json +40 -0
- package/dist/spec/catalogs/layouts/list-4x-box.json +40 -0
- package/dist/spec/catalogs/layouts/list-4x-itemimage-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical-title-left.json +45 -0
- package/dist/spec/catalogs/layouts/list-4x-itemimage-vertical.json +40 -0
- package/dist/spec/catalogs/layouts/list-4x-title-center.json +44 -0
- package/dist/spec/catalogs/layouts/list-4x-vertical-title-center.json +44 -0
- package/dist/spec/catalogs/layouts/list-4x-vertical-title-left.json +44 -0
- package/dist/spec/catalogs/layouts/list-4x-vertical.json +39 -0
- package/dist/spec/catalogs/layouts/list-5x-box-title-center.json +48 -0
- package/dist/spec/catalogs/layouts/list-5x-box-vertical-title-center.json +50 -0
- package/dist/spec/catalogs/layouts/list-5x-box-vertical-title-left.json +50 -0
- package/dist/spec/catalogs/layouts/list-5x-box-vertical.json +45 -0
- package/dist/spec/catalogs/layouts/list-5x-box.json +43 -0
- package/dist/spec/catalogs/layouts/list-5x-itemimage-title-center.json +48 -0
- package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical-title-center.json +48 -0
- package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical-title-left.json +48 -0
- package/dist/spec/catalogs/layouts/list-5x-itemimage-vertical.json +43 -0
- package/dist/spec/catalogs/layouts/list-5x-title-center.json +47 -0
- package/dist/spec/catalogs/layouts/list-5x-vertical-title-center.json +47 -0
- package/dist/spec/catalogs/layouts/list-5x-vertical-title-left.json +47 -0
- package/dist/spec/catalogs/layouts/list-5x-vertical.json +42 -0
- package/dist/spec/catalogs/layouts/list-6x-box-title-center.json +51 -0
- package/dist/spec/catalogs/layouts/list-6x-box-vertical-title-center.json +53 -0
- package/dist/spec/catalogs/layouts/list-6x-box-vertical-title-left.json +53 -0
- package/dist/spec/catalogs/layouts/list-6x-box-vertical.json +48 -0
- package/dist/spec/catalogs/layouts/list-6x-box.json +46 -0
- package/dist/spec/catalogs/layouts/list-6x-itemimage-title-center.json +51 -0
- package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical-title-center.json +51 -0
- package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical-title-left.json +51 -0
- package/dist/spec/catalogs/layouts/list-6x-itemimage-vertical.json +46 -0
- package/dist/spec/catalogs/layouts/list-6x-title-center.json +50 -0
- package/dist/spec/catalogs/layouts/list-6x-vertical-title-center.json +50 -0
- package/dist/spec/catalogs/layouts/list-6x-vertical-title-left.json +50 -0
- package/dist/spec/catalogs/layouts/list-6x-vertical.json +45 -0
- package/dist/spec/catalogs/layouts/network-dependency-map.json +1 -4
- package/dist/spec/catalogs/layouts/number-1x-box-title-center.json +30 -0
- package/dist/spec/catalogs/layouts/number-1x-box.json +25 -0
- package/dist/spec/catalogs/layouts/number-1x-title-center.json +29 -0
- package/dist/spec/catalogs/layouts/number-2x-box-title-center.json +36 -0
- package/dist/spec/catalogs/layouts/number-2x-box.json +31 -0
- package/dist/spec/catalogs/layouts/number-2x-title-center.json +35 -0
- package/dist/spec/catalogs/layouts/number-3x-box-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/number-3x-box.json +34 -0
- package/dist/spec/catalogs/layouts/number-3x-title-center.json +38 -0
- package/dist/spec/catalogs/layouts/number-4x-box-title-center.json +43 -0
- package/dist/spec/catalogs/layouts/number-4x-box.json +38 -0
- package/dist/spec/catalogs/layouts/number-4x-title-center.json +42 -0
- package/dist/spec/catalogs/layouts/number-5x-box-title-center.json +46 -0
- package/dist/spec/catalogs/layouts/number-5x-box.json +41 -0
- package/dist/spec/catalogs/layouts/number-5x-title-center.json +45 -0
- package/dist/spec/catalogs/layouts/number-6x-box-title-center.json +49 -0
- package/dist/spec/catalogs/layouts/number-6x-box.json +44 -0
- package/dist/spec/catalogs/layouts/number-6x-title-center.json +48 -0
- package/dist/spec/catalogs/layouts/persona-grid.json +1 -4
- package/dist/spec/catalogs/layouts/photo-grid.json +1 -4
- package/dist/spec/catalogs/layouts/product-feature.json +1 -4
- package/dist/spec/catalogs/layouts/screenshot-walkthrough.json +1 -4
- package/dist/spec/catalogs/layouts/swimlane-process.json +1 -4
- package/dist/spec/catalogs/layouts/team-bio.json +1 -4
- package/dist/spec/catalogs/layouts/text-1x-box-title-center.json +31 -0
- package/dist/spec/catalogs/layouts/text-1x-box-title-left.json +31 -0
- package/dist/spec/catalogs/layouts/text-1x-center-box-title-center.json +31 -0
- package/dist/spec/catalogs/layouts/text-1x-center-box-title-left.json +31 -0
- package/dist/spec/catalogs/layouts/text-1x-center-box.json +26 -0
- package/dist/spec/catalogs/layouts/text-1x-center-title-center.json +30 -0
- package/dist/spec/catalogs/layouts/text-1x-center-title-left.json +30 -0
- package/dist/spec/catalogs/layouts/text-1x-center.json +25 -0
- package/dist/spec/catalogs/layouts/text-1x-left-box.json +26 -0
- package/dist/spec/catalogs/layouts/text-1x-title-center.json +30 -0
- package/dist/spec/catalogs/layouts/text-2x-box-title-center.json +37 -0
- package/dist/spec/catalogs/layouts/text-2x-box-vertical-title-left.json +37 -0
- package/dist/spec/catalogs/layouts/text-2x-center-box-title-center.json +37 -0
- package/dist/spec/catalogs/layouts/text-2x-center-box-vertical-title-left.json +37 -0
- package/dist/spec/catalogs/layouts/text-2x-center-box.json +32 -0
- package/dist/spec/catalogs/layouts/text-2x-center-title-center.json +36 -0
- package/dist/spec/catalogs/layouts/text-2x-center-vertical-title-left.json +36 -0
- package/dist/spec/catalogs/layouts/text-2x-center.json +31 -0
- package/dist/spec/catalogs/layouts/text-2x-left-box.json +32 -0
- package/dist/spec/catalogs/layouts/text-2x-title-center.json +36 -0
- package/dist/spec/catalogs/layouts/text-2x-vertical-title-left.json +36 -0
- package/dist/spec/catalogs/layouts/text-3x-box-title-center.json +40 -0
- package/dist/spec/catalogs/layouts/text-3x-box-vertical-title-left.json +41 -0
- package/dist/spec/catalogs/layouts/text-3x-center-box-title-center.json +40 -0
- package/dist/spec/catalogs/layouts/text-3x-center-box-vertical-title-left.json +41 -0
- package/dist/spec/catalogs/layouts/text-3x-center-box.json +35 -0
- package/dist/spec/catalogs/layouts/text-3x-center-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/text-3x-center-vertical-title-left.json +40 -0
- package/dist/spec/catalogs/layouts/text-3x-center.json +34 -0
- package/dist/spec/catalogs/layouts/text-3x-left-box.json +35 -0
- package/dist/spec/catalogs/layouts/text-3x-left.json +34 -0
- package/dist/spec/catalogs/layouts/text-3x-title-center.json +39 -0
- package/dist/spec/catalogs/layouts/text-3x-vertical-title-left.json +40 -0
- package/dist/spec/catalogs/layouts/title-center-box.json +27 -0
- package/dist/spec/catalogs/layouts/title-center-image-bottom.json +34 -0
- package/dist/spec/catalogs/layouts/title-center-image-top.json +34 -0
- package/dist/spec/catalogs/layouts/title-center.json +26 -0
- package/dist/spec/catalogs/layouts/title-left-image-bottom.json +34 -0
- package/dist/spec/catalogs/layouts/title-left-image-left.json +34 -0
- package/dist/spec/catalogs/layouts/title-left-image-right.json +34 -0
- package/dist/spec/catalogs/layouts/title-left-image-top.json +34 -0
- package/dist/spec/catalogs/manifest.json +18 -18
- package/dist/spec/catalogs/narratives/heros-journey.json +1 -1
- package/dist/spec/catalogs/narratives/index.json +1 -1
- package/dist/spec/openapi.yaml +3 -3
- package/dist/spec/reference/engine-defaults.json +22 -30
- package/dist/spec/reference/engine-vocabularies.json +1577 -0
- package/dist/spec/schemas/audience.schema.json +5 -26
- package/dist/spec/schemas/catalog-manifest.schema.json +3 -3
- package/dist/spec/schemas/chart-type.schema.json +2 -35
- package/dist/spec/schemas/color-scheme.schema.json +3 -24
- package/dist/spec/schemas/finding.schema.json +1 -1
- package/dist/spec/schemas/font-scheme.schema.json +6 -37
- package/dist/spec/schemas/language.schema.json +7 -28
- package/dist/spec/schemas/layout.schema.json +56 -51
- package/dist/spec/schemas/narrative.schema.json +4 -24
- package/dist/spec/schemas/opf.schema.json +399 -368
- package/dist/spec/schemas/purpose.schema.json +5 -26
- package/dist/spec/schemas/social-platform.schema.json +2 -23
- package/dist/spec/schemas/theme.schema.json +9 -37
- package/dist/spec/schemas/tone.schema.json +4 -25
- package/dist/spec-files.d.ts +1 -1
- package/dist/spec-files.js +1 -1
- package/dist/types.d.ts +1125 -4
- package/dist/{validation-types-zh03LeZy.d.ts → validation-types-BOcY9GTs.d.ts} +7 -7
- package/dist/validator.d.ts +15 -12
- package/dist/validator.js +5 -5
- package/dist/yaml.d.ts +22 -7
- package/dist/yaml.js +10 -9
- package/package.json +5 -9
- package/dist/catalogs-D-yyQWCQ.d.ts +0 -1343
- package/dist/catalogs.d.ts +0 -2
- package/dist/catalogs.js +0 -2
- package/dist/chunk-PIQXLBBJ.js +0 -445
- package/dist/chunk-S5W34SIJ.js +0 -1
- package/dist/previews.d.ts +0 -40
- package/dist/previews.js +0 -1
- package/dist/schemas-DDpqAgyS.d.ts +0 -284
- package/dist/spec/catalogs/layouts/image-bleed.json +0 -20
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import { b as CatalogOptions } from './catalog-refs-BSfGELpt.js';
|
|
2
|
+
import './chart-data-BnNqgnC-.js';
|
|
2
3
|
|
|
3
4
|
/** Canonical table grid. No renderer, fonts, DOM or network dependencies. */
|
|
4
5
|
interface TableBorder {
|
|
@@ -44,7 +45,7 @@ declare function tableGrid(value: unknown, path?: string): TableGrid;
|
|
|
44
45
|
declare function tableRowBoundaries(value: unknown): number[];
|
|
45
46
|
|
|
46
47
|
/** The `design` keys that a layout record, the deck and a slide all share and that composition resolves per key. */
|
|
47
|
-
declare const DESIGN_HINT_KEYS: readonly ["titleAlignment", "contentAlignment", "contentBox", "contentDirection", "chartPrimary", "
|
|
48
|
+
declare const DESIGN_HINT_KEYS: readonly ["titleAlignment", "contentAlignment", "contentBox", "contentDirection", "chartPrimary", "imageFit", "listBullet"];
|
|
48
49
|
type DesignHintKey = typeof DESIGN_HINT_KEYS[number];
|
|
49
50
|
/** Where an effective design hint came from: the slide's own `design`, the deck's `design`, or the slide's layout record. */
|
|
50
51
|
type DesignHintSource = 'slide' | 'deck' | 'layout';
|
|
@@ -55,7 +56,7 @@ interface DesignHints {
|
|
|
55
56
|
contentBox?: boolean;
|
|
56
57
|
contentDirection?: 'horizontal' | 'vertical';
|
|
57
58
|
chartPrimary?: 'none' | 'top' | 'bottom' | 'left' | 'right';
|
|
58
|
-
|
|
59
|
+
imageFit?: 'cover' | 'contain' | 'stretch';
|
|
59
60
|
listBullet?: 'character' | 'image';
|
|
60
61
|
}
|
|
61
62
|
/** The effective hints plus which level supplied each key and the document path that names it. */
|
|
@@ -171,6 +172,29 @@ interface ReadingBox {
|
|
|
171
172
|
*/
|
|
172
173
|
declare function visualReadingOrder<T extends ReadingBox>(items: readonly T[], direction?: 'ltr' | 'rtl'): T[];
|
|
173
174
|
|
|
175
|
+
/**
|
|
176
|
+
* Intrinsic aspect ratio (width / height) of an image source, read without fetching: an embedded
|
|
177
|
+
* `data:` URI (PNG, JPEG, GIF, WebP, SVG), or an `asset:<id>` reference to one in `assets`.
|
|
178
|
+
* Any other source (a URL or file path) has no readable dimensions here and returns undefined;
|
|
179
|
+
* hosts resolve those themselves.
|
|
180
|
+
*
|
|
181
|
+
* Only a bounded prefix of the payload is decoded (never the whole of a multi-megabyte logo): 64 KiB, which
|
|
182
|
+
* holds every PNG, GIF and WebP header and the root `<svg>` tag of any real SVG, then 1 MiB for a JPEG whose
|
|
183
|
+
* start-of-frame segment sits behind large EXIF or ICC data. A JPEG whose frame header is still not inside
|
|
184
|
+
* 1 MiB, or an SVG whose root tag is not inside 64 KiB, has no readable proportions (undefined, so a square
|
|
185
|
+
* box). Results are memoized per source string, so a deck's repeated header image is read once.
|
|
186
|
+
*/
|
|
187
|
+
type Dimensions = {
|
|
188
|
+
width: number;
|
|
189
|
+
height: number;
|
|
190
|
+
};
|
|
191
|
+
/** Whether the value is an embedded raster or SVG image whose size is readable, and its pixel size (SVG: its user-unit size). */
|
|
192
|
+
declare function intrinsicImageSize(value: unknown, assets?: unknown): (Dimensions & {
|
|
193
|
+
svg: boolean;
|
|
194
|
+
}) | undefined;
|
|
195
|
+
/** Width / height of an embedded image, following `asset:<id>` references through `assets`; undefined when unreadable. */
|
|
196
|
+
declare function intrinsicImageAspect(value: unknown, assets?: unknown): number | undefined;
|
|
197
|
+
|
|
174
198
|
/**
|
|
175
199
|
* Text direction primitives shared by composition, the renderer and the PPTX exporter (RR-05).
|
|
176
200
|
* Pure: no fonts, DOM or catalogs. Deck direction comes from the presentation language's script
|
|
@@ -208,6 +232,58 @@ declare function physicalAlignment(alignment: PhysicalAlignment | undefined, dir
|
|
|
208
232
|
*/
|
|
209
233
|
declare function paragraphDirectionAt(text: string, deckDirection: TextDirection | string | undefined): (offset: number) => TextDirection;
|
|
210
234
|
|
|
235
|
+
/**
|
|
236
|
+
* Engine defaults and engine vocabularies (OPF 0.15, FA-20/21). Small tables of values every engine must know to
|
|
237
|
+
* draw, compiled from spec/reference/engine-defaults.json and spec/reference/engine-vocabularies.json. None of
|
|
238
|
+
* this is catalog data: a document never references these records, and no catalog lookup reaches them.
|
|
239
|
+
*/
|
|
240
|
+
type Rec = Readonly<Record<string, unknown>>;
|
|
241
|
+
/** The drawing fields of the theme engines use when a document names none, or its theme resolves nowhere. */
|
|
242
|
+
declare const ENGINE_DEFAULT_THEME: Rec;
|
|
243
|
+
/** The twelve slots engines use when neither the design nor the theme names a resolvable colour scheme. */
|
|
244
|
+
declare const ENGINE_DEFAULT_COLOR_SCHEME: Rec;
|
|
245
|
+
/** The font pair engines use when neither the design nor the theme names a resolvable font scheme. */
|
|
246
|
+
declare const ENGINE_DEFAULT_FONT_SCHEME: Rec;
|
|
247
|
+
/** Chart types in the order an engine offers them when it must pick one. */
|
|
248
|
+
declare const ENGINE_DEFAULT_CHART_TYPES: readonly string[];
|
|
249
|
+
/** Every `chart.type` value: an engine vocabulary, validated directly. */
|
|
250
|
+
declare const CHART_TYPES: readonly string[];
|
|
251
|
+
/** How an engine links a handle on one social platform. */
|
|
252
|
+
interface SocialPlatformVocabulary {
|
|
253
|
+
readonly baseUrl?: string;
|
|
254
|
+
/** URL of a person's profile, with `{handle}` standing for the handle. */
|
|
255
|
+
readonly profileUrlPattern?: string;
|
|
256
|
+
/** URL of an organization's page, when the platform has a separate one. */
|
|
257
|
+
readonly companyUrlPattern?: string;
|
|
258
|
+
/** Prefix a handle is written with (`@` on X). */
|
|
259
|
+
readonly handlePrefix?: string;
|
|
260
|
+
}
|
|
261
|
+
/** The keys of `Organization.socials` and `Speaker.socials`: an engine vocabulary, validated directly. */
|
|
262
|
+
declare const SOCIAL_PLATFORMS: Readonly<Record<string, SocialPlatformVocabulary>>;
|
|
263
|
+
/** What engines know about one language tag. */
|
|
264
|
+
interface LanguageVocabulary {
|
|
265
|
+
/** BCP-47 tag, canonically cased. */
|
|
266
|
+
readonly tag: string;
|
|
267
|
+
/** ISO 15924 script. */
|
|
268
|
+
readonly script: string;
|
|
269
|
+
readonly direction: 'ltr' | 'rtl';
|
|
270
|
+
/** Curated OOXML culture tag (`ja-JP` for `ja`). */
|
|
271
|
+
readonly ooxmlLang: string;
|
|
272
|
+
/** Default script fonts (major/minor) per target application. */
|
|
273
|
+
readonly fonts: {
|
|
274
|
+
readonly powerpoint: {
|
|
275
|
+
readonly major: string;
|
|
276
|
+
readonly minor: string;
|
|
277
|
+
};
|
|
278
|
+
readonly google: {
|
|
279
|
+
readonly major: string;
|
|
280
|
+
readonly minor: string;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
/** The language tags engines know the script, direction, OOXML tag and default script fonts of. */
|
|
285
|
+
declare const LANGUAGES: readonly LanguageVocabulary[];
|
|
286
|
+
|
|
211
287
|
/**
|
|
212
288
|
* Numbered lists: the `numbering` field of `items` and `bullets` payloads.
|
|
213
289
|
*
|
|
@@ -467,13 +543,13 @@ declare function surfaceAltColor(surface: string, text: string): string;
|
|
|
467
543
|
* Resolves, for a presentation's language and effective font scheme, the font
|
|
468
544
|
* family for each OOXML script slot (`a:latin`, `a:ea`, `a:cs`) of the major
|
|
469
545
|
* (heading) and minor (body) theme fonts, plus the language tags and base
|
|
470
|
-
* direction. Pure: no DOM, fonts, network or mutation.
|
|
471
|
-
* resolve
|
|
472
|
-
* catalogs
|
|
546
|
+
* direction. Pure: no DOM, fonts, network or mutation. Font-scheme references
|
|
547
|
+
* resolve like every content reference (the document's catalogs groups, then the
|
|
548
|
+
* registered catalogs); nothing is fetched.
|
|
473
549
|
*
|
|
474
|
-
*
|
|
475
|
-
* Only a tag
|
|
476
|
-
* likely subtags (`Intl.Locale#maximize`) to find its script.
|
|
550
|
+
* The language is an engine vocabulary: tags the vocabulary knows resolve
|
|
551
|
+
* deterministically from vendored tables. Only a tag outside it may consult the
|
|
552
|
+
* runtime's ICU likely subtags (`Intl.Locale#maximize`) to find its script.
|
|
477
553
|
*
|
|
478
554
|
* Design: docs/programs/font-fidelity-everywhere/script-font-model.md.
|
|
479
555
|
*/
|
|
@@ -510,12 +586,12 @@ interface ScriptFontSupplement {
|
|
|
510
586
|
heading: string;
|
|
511
587
|
body: string;
|
|
512
588
|
}
|
|
513
|
-
interface ResolveScriptFontsOptions {
|
|
514
|
-
/** Which language font
|
|
589
|
+
interface ResolveScriptFontsOptions extends CatalogOptions {
|
|
590
|
+
/** Which language font default applies. Defaults to `powerpoint` (`language.fontScheme`, else the vocabulary default); `google-slides` prefers `language.googleFontScheme`. */
|
|
515
591
|
app?: ScriptFontApp;
|
|
516
592
|
/** Merge `slides[slideIndex].design` over the deck design, per field, before resolving the font scheme. */
|
|
517
593
|
slideIndex?: number;
|
|
518
|
-
/** Language
|
|
594
|
+
/** Language to resolve instead of the document's `language` (a BCP-47 tag or a Language object). */
|
|
519
595
|
language?: unknown;
|
|
520
596
|
/** Language tag used when neither the document nor `options.language` names a resolvable language. Defaults to `en-US`. */
|
|
521
597
|
defaultLanguage?: string;
|
|
@@ -523,13 +599,11 @@ interface ResolveScriptFontsOptions {
|
|
|
523
599
|
interface ResolvedScriptFonts extends ScriptFontSlots {
|
|
524
600
|
/**
|
|
525
601
|
* Tag for OOXML `a:rPr/@lang` (and `a:endParaRPr/@lang`): an authored tag that carries a region,
|
|
526
|
-
* else the
|
|
602
|
+
* else the curated `ooxmlLang` of the language vocabulary, else the canonical BCP-47 tag.
|
|
527
603
|
*/
|
|
528
604
|
lang: string;
|
|
529
|
-
/** Canonically cased BCP-47 tag for HTML/SVG `lang`: the authored tag
|
|
605
|
+
/** Canonically cased BCP-47 tag for HTML/SVG `lang`: the authored tag. */
|
|
530
606
|
bcp47: string;
|
|
531
|
-
/** Matched languages catalog record id, when one matched. */
|
|
532
|
-
languageId?: string;
|
|
533
607
|
/** `default` when the tag came from `defaultLanguage` because no language resolved. */
|
|
534
608
|
languageSource: "document" | "option" | "default";
|
|
535
609
|
/** ISO 15924 script (`Zzzz` when it cannot be determined). */
|
|
@@ -564,7 +638,7 @@ declare function scriptFontRole(script: string): ScriptRole;
|
|
|
564
638
|
*
|
|
565
639
|
* The latin slot follows the effective design font scheme exactly as
|
|
566
640
|
* `resolveFontFamilies` does; when nothing names a font scheme it falls back to
|
|
567
|
-
* the
|
|
641
|
+
* the engine default font scheme. Each of the eastAsian and complexScript slots
|
|
568
642
|
* takes, in order: the design font scheme's explicit slot; the scheme's own
|
|
569
643
|
* families when its `languageFamily` names the slot and its `languages` list
|
|
570
644
|
* is empty or names the language; the language's font scheme when the
|
|
@@ -1243,34 +1317,8 @@ interface FontFamilies {
|
|
|
1243
1317
|
code: string;
|
|
1244
1318
|
accent?: string;
|
|
1245
1319
|
}
|
|
1246
|
-
/**
|
|
1247
|
-
*
|
|
1248
|
-
declare const DEFAULT_FONT_SCHEME = "aptos";
|
|
1249
|
-
/** Reported when a font-scheme id matches no inline or bundled record. Every engine then uses the
|
|
1250
|
-
* DEFAULT_FONT_SCHEME record as the base, with any sibling overrides on top. */
|
|
1251
|
-
interface FontSchemeDiagnostic {
|
|
1252
|
-
code: "unresolved-font-scheme";
|
|
1253
|
-
/** Where the unresolved id is written: `slides.N.design.fontScheme`, `design.fontScheme`, or the
|
|
1254
|
-
* `design.theme` reference whose record names it. */
|
|
1255
|
-
path: string;
|
|
1256
|
-
message: string;
|
|
1257
|
-
/** The unresolved font-scheme id. */
|
|
1258
|
-
id: string;
|
|
1259
|
-
/** The font scheme used instead (DEFAULT_FONT_SCHEME). */
|
|
1260
|
-
fallback: string;
|
|
1261
|
-
}
|
|
1262
|
-
interface ResolvedFontScheme {
|
|
1263
|
-
scheme: Record<string, unknown>;
|
|
1264
|
-
diagnostic?: FontSchemeDiagnostic;
|
|
1265
|
-
}
|
|
1266
|
-
/** Resolve a font-scheme reference the same way in every engine. A string id, or the `id` of an object
|
|
1267
|
-
* reference, resolves through `lookup` (inline records, then bundled or host catalogs). An unresolved id
|
|
1268
|
-
* returns a diagnostic, and the DEFAULT_FONT_SCHEME record becomes the base, so preview and export use
|
|
1269
|
-
* the same families. An object without `id` is an inline scheme on the same base. Sibling fields on an
|
|
1270
|
-
* object reference override the base per key. */
|
|
1271
|
-
declare function resolveFontSchemeReference(reference: unknown, lookup: (id: string) => unknown, path?: string): ResolvedFontScheme;
|
|
1272
|
-
/** Resolve role families from an already-merged font scheme (catalog record plus design overrides).
|
|
1273
|
-
* A scheme that names no heading or body family gets the DEFAULT_FONT_SCHEME families (Aptos Display, Aptos).
|
|
1320
|
+
/** Resolve role families from an already-merged font scheme (the resolved record plus design overrides).
|
|
1321
|
+
* A scheme that names no heading or body family gets the engine default families (Aptos Display, Aptos).
|
|
1274
1322
|
* `code` comes from the scheme's `code` role, which catalog records such as consolas and courier-new
|
|
1275
1323
|
* carry; otherwise it is Roboto Mono. Heading and body families are never reused for code.
|
|
1276
1324
|
* `accent` is returned only when the scheme defines an `accent` role (a family name string);
|
|
@@ -1365,6 +1413,8 @@ interface ComposedItem {
|
|
|
1365
1413
|
* the media box after the band is reserved; `caption.box` is the band inside the same region.
|
|
1366
1414
|
*/
|
|
1367
1415
|
caption?: ComposedCaption;
|
|
1416
|
+
/** Picture geometry and treatments of an image item (`field` image); absent on every other item. */
|
|
1417
|
+
image?: ComposedImage;
|
|
1368
1418
|
/** Effective container settings, including inherited readability constraints. */
|
|
1369
1419
|
composition: Composition;
|
|
1370
1420
|
/**
|
|
@@ -1374,38 +1424,85 @@ interface ComposedItem {
|
|
|
1374
1424
|
*/
|
|
1375
1425
|
alignment: 'left' | 'center' | 'right';
|
|
1376
1426
|
}
|
|
1427
|
+
/** How a picture fills its frame: cover crops around the focus, contain shows all of it, stretch scales it to the frame. */
|
|
1428
|
+
type ImageFit = 'cover' | 'contain' | 'stretch';
|
|
1429
|
+
/** A background also tiles: the picture repeats at its own size from the canvas's top-left corner. */
|
|
1430
|
+
type BackgroundImageFit = ImageFit | 'tile';
|
|
1431
|
+
/** A slide or frame edge, physical (already mirrored in a right-to-left deck). */
|
|
1432
|
+
type ImageEdge = 'left' | 'right' | 'top' | 'bottom';
|
|
1433
|
+
/** A point of a picture as fractions of its width and height from the top-left corner; the default is { x: 0.5, y: 0.5 }. */
|
|
1434
|
+
interface ImageFocus {
|
|
1435
|
+
x: number;
|
|
1436
|
+
y: number;
|
|
1437
|
+
}
|
|
1438
|
+
/** A frame mask. path follows the ECMA-376 preset formula for preset/adjust exactly, in reference pixels. */
|
|
1439
|
+
interface ImageShape {
|
|
1440
|
+
kind: 'rectangle' | 'rounded' | 'circle' | 'hexagon';
|
|
1441
|
+
preset: 'rect' | 'roundRect' | 'ellipse' | 'hexagon';
|
|
1442
|
+
/** DrawingML avLst guide values (for example adj and vf), in 1/100000 units. */
|
|
1443
|
+
adjust: Record<string, number>;
|
|
1444
|
+
path: string;
|
|
1445
|
+
}
|
|
1446
|
+
/** One overlay, shared by image backgrounds and image blocks: drawn directly above its picture, beneath content. */
|
|
1447
|
+
interface ComposedOverlay {
|
|
1448
|
+
/** OPF path of the overlay value, for example `slides.3.design.background.overlay` or `slides.3.blocks.0.overlay`. */
|
|
1449
|
+
path: string;
|
|
1450
|
+
/** ColorRef as authored (hex, eight-digit hex alpha, scheme slot or role, `var:<id>`); engines resolve it. */
|
|
1451
|
+
color: unknown;
|
|
1452
|
+
/** Fill opacity, 0 to 1, multiplied with any eight-digit hex alpha. */
|
|
1453
|
+
opacity: number;
|
|
1454
|
+
/** Physical edge of a band overlay; absent when the overlay covers the whole frame. */
|
|
1455
|
+
edge?: ImageEdge;
|
|
1456
|
+
/** Area covered: the whole frame, or the edge band. */
|
|
1457
|
+
box: LayoutBox;
|
|
1458
|
+
/** Outline to fill: the frame's shape for a whole-frame overlay, a rectangle for a band. */
|
|
1459
|
+
shape: ImageShape;
|
|
1460
|
+
}
|
|
1461
|
+
/** Where the whole picture lands for a fit, for a picture whose aspect ratio is known (see `fitImage`). */
|
|
1462
|
+
interface ImageFitPlacement {
|
|
1463
|
+
/** The whole picture's rectangle in slide coordinates: past the frame for cover, inside it for contain, the frame for stretch. */
|
|
1464
|
+
image: LayoutBox;
|
|
1465
|
+
/** DrawingML srcRect insets as fractions of the picture (positive crops, negative pads); all 0 for stretch. */
|
|
1466
|
+
crop: {
|
|
1467
|
+
left: number;
|
|
1468
|
+
top: number;
|
|
1469
|
+
right: number;
|
|
1470
|
+
bottom: number;
|
|
1471
|
+
};
|
|
1472
|
+
}
|
|
1473
|
+
/** A placed image block's band (FA-22): the image bleeds to `edge` and the rest of the slide composes beside it. */
|
|
1474
|
+
interface ComposedPlacement {
|
|
1475
|
+
/** Physical edge: in a right-to-left deck an authored `left` (the start side) is `right` here. */
|
|
1476
|
+
edge: ImageEdge;
|
|
1477
|
+
/** Share of the slide width (left, right) or height (top, bottom), 0.1 to 0.9. */
|
|
1478
|
+
size: number;
|
|
1479
|
+
/** True when the frame sits inside the slide padding instead of edge to edge. */
|
|
1480
|
+
inset: boolean;
|
|
1481
|
+
/** Where the placement is written: `slides.N.blocks.I.placement`, or `layout.placeholders.P.placement` for a layout image placeholder's. */
|
|
1482
|
+
path: string;
|
|
1483
|
+
}
|
|
1377
1484
|
/**
|
|
1378
|
-
*
|
|
1379
|
-
*
|
|
1380
|
-
*
|
|
1381
|
-
*
|
|
1485
|
+
* Resolved picture geometry of an image item (FA-22): every composed item with `field` 'image' carries one. Engines
|
|
1486
|
+
* draw the picture in `box` with `fit` and `focus`, clipped to `shape`, with `recolor` and `opacity` on its pixels
|
|
1487
|
+
* only, then the `border` on the shape outline, then the `overlay`. This is the paint order and the treatment code
|
|
1488
|
+
* 0.14's slide image used.
|
|
1382
1489
|
*/
|
|
1383
|
-
interface
|
|
1384
|
-
/**
|
|
1385
|
-
path: string;
|
|
1386
|
-
/** Path of the drawn asset value: the design value, or the slide's root image payload it replaced. */
|
|
1387
|
-
sourcePath: string;
|
|
1388
|
-
/** Asset value (string or Asset object) that engines resolve like any other image. */
|
|
1389
|
-
value: unknown;
|
|
1390
|
-
position: 'background' | 'top' | 'bottom' | 'left' | 'right';
|
|
1391
|
-
/** crop covers the frame (centered); fit shows the whole image centered inside it. */
|
|
1392
|
-
fill: 'crop' | 'fit';
|
|
1393
|
-
/** Band allocated to the image. */
|
|
1490
|
+
interface ComposedImage {
|
|
1491
|
+
/** Allocated region, equal to the item's box: the flow cell (after any card padding and caption band) or the placement band. */
|
|
1394
1492
|
region: LayoutBox;
|
|
1395
|
-
/**
|
|
1493
|
+
/** Picture frame inside the region: the band inside the slide padding for an inset placement, then the largest centered box with `aspectRatio` (a circle uses 1). */
|
|
1396
1494
|
box: LayoutBox;
|
|
1397
|
-
/**
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
alt?: string;
|
|
1495
|
+
/** The block's own fit, else the effective design.imageFit, else cover. */
|
|
1496
|
+
fit: ImageFit;
|
|
1497
|
+
focus: ImageFocus;
|
|
1401
1498
|
/** Mask on the frame: a DrawingML preset with its guide values, and the same outline as an SVG path. */
|
|
1402
|
-
shape:
|
|
1403
|
-
/** Line centered on the shape outline; width in reference pixels
|
|
1499
|
+
shape: ImageShape;
|
|
1500
|
+
/** Line centered on the shape outline; width in reference pixels, already scaled to the canvas. */
|
|
1404
1501
|
border?: {
|
|
1405
1502
|
color: unknown;
|
|
1406
1503
|
width: number;
|
|
1407
1504
|
};
|
|
1408
|
-
/**
|
|
1505
|
+
/** Picture opacity below 1; the border and overlay are not affected. */
|
|
1409
1506
|
opacity?: number;
|
|
1410
1507
|
/** Luminance-based recolor (Rec. 601 weights on sRGB values). */
|
|
1411
1508
|
recolor?: {
|
|
@@ -1415,21 +1512,41 @@ interface ComposedSlideImage {
|
|
|
1415
1512
|
dark: unknown;
|
|
1416
1513
|
light: unknown;
|
|
1417
1514
|
};
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
shape: SlideImageShape;
|
|
1424
|
-
};
|
|
1515
|
+
overlay?: ComposedOverlay;
|
|
1516
|
+
/** Present on a placed block: the band along a slide edge that `region` is. */
|
|
1517
|
+
placement?: ComposedPlacement;
|
|
1518
|
+
/** Present when core reads the picture's aspect ratio (a data URI, or an `asset:` reference to one); otherwise call `fitImage` with the host's. */
|
|
1519
|
+
picture?: ImageFitPlacement;
|
|
1425
1520
|
}
|
|
1426
|
-
/**
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1521
|
+
/**
|
|
1522
|
+
* The slide's picture background (FA-22): the effective `design.background` (the slide's, then the deck's, then
|
|
1523
|
+
* `ComposeSlideOptions.themeBackground`) when it is an image, in object form or as an image-source string. It fills
|
|
1524
|
+
* the whole canvas behind everything and never moves content. Paint order: the colour scheme's default slide
|
|
1525
|
+
* background, the picture (with `recolor` and `opacity` on its pixels), the overlay, then furniture and content.
|
|
1526
|
+
*/
|
|
1527
|
+
interface ComposedBackgroundImage {
|
|
1528
|
+
/** Where the background is written: `slides.N.design.background`, `design.background`, or `theme` (ComposeSlideOptions.themeBackground). */
|
|
1432
1529
|
path: string;
|
|
1530
|
+
/** Image source as authored: `asset:<id>`, an https URL, a data URI or a relative path. */
|
|
1531
|
+
src: string;
|
|
1532
|
+
alt?: string;
|
|
1533
|
+
fit: BackgroundImageFit;
|
|
1534
|
+
focus: ImageFocus;
|
|
1535
|
+
/** The whole canvas. */
|
|
1536
|
+
box: LayoutBox;
|
|
1537
|
+
/** Picture opacity below 1; the overlay keeps its own. */
|
|
1538
|
+
opacity?: number;
|
|
1539
|
+
/** Luminance-based recolor of the pixels (Rec. 601 weights on sRGB values), as on an image block. */
|
|
1540
|
+
recolor?: {
|
|
1541
|
+
type: 'grayscale';
|
|
1542
|
+
} | {
|
|
1543
|
+
type: 'duotone';
|
|
1544
|
+
dark: unknown;
|
|
1545
|
+
light: unknown;
|
|
1546
|
+
};
|
|
1547
|
+
overlay?: ComposedOverlay;
|
|
1548
|
+
/** Present when core reads the picture's aspect ratio and the fit is not tile; otherwise call `fitImage` with the host's. */
|
|
1549
|
+
picture?: ImageFitPlacement;
|
|
1433
1550
|
}
|
|
1434
1551
|
/** Which logo variant family a consumer asks for: the full lockup, a square mark, or a stacked lockup. */
|
|
1435
1552
|
type LogoSlot = 'lockup' | 'icon' | 'stacked';
|
|
@@ -1528,12 +1645,12 @@ interface SlideComposition {
|
|
|
1528
1645
|
furniture?: FurnitureLayout;
|
|
1529
1646
|
/**
|
|
1530
1647
|
* Effective shared design hints of this slide: slide design, then deck design, then the layout record's design,
|
|
1531
|
-
* per key. Renderers and exporters read titleAlignment, contentAlignment, contentBox
|
|
1532
|
-
* listBullet here instead of re-deriving them from the document.
|
|
1648
|
+
* per key. Renderers and exporters read titleAlignment, contentAlignment, contentBox and
|
|
1649
|
+
* listBullet here instead of re-deriving them from the document; image items carry their resolved fit in `image.fit`.
|
|
1533
1650
|
*/
|
|
1534
1651
|
design: ResolvedDesignHints;
|
|
1535
|
-
/**
|
|
1536
|
-
|
|
1652
|
+
/** Picture background of this slide; absent when the effective background is not an image. */
|
|
1653
|
+
backgroundImage?: ComposedBackgroundImage;
|
|
1537
1654
|
/** Deck logo on a cover or section slide; absent on content slides and when no logo resolves. */
|
|
1538
1655
|
logo?: ComposedLogo;
|
|
1539
1656
|
/**
|
|
@@ -1552,8 +1669,8 @@ interface ComposeSlideOptions {
|
|
|
1552
1669
|
design?: {
|
|
1553
1670
|
header?: unknown;
|
|
1554
1671
|
footer?: unknown;
|
|
1555
|
-
|
|
1556
|
-
|
|
1672
|
+
background?: unknown;
|
|
1673
|
+
imageFit?: unknown;
|
|
1557
1674
|
logo?: unknown;
|
|
1558
1675
|
contentDirection?: unknown;
|
|
1559
1676
|
chartPrimary?: unknown;
|
|
@@ -1575,12 +1692,11 @@ interface ComposeSlideOptions {
|
|
|
1575
1692
|
*/
|
|
1576
1693
|
darkBackground?: boolean;
|
|
1577
1694
|
/**
|
|
1578
|
-
*
|
|
1579
|
-
*
|
|
1580
|
-
*
|
|
1581
|
-
* as its raw value, as the Socials contract specifies.
|
|
1695
|
+
* The resolved theme's `background`, the lowest level of the background chain (the slide's design.background, then
|
|
1696
|
+
* the deck's, then this). Only an image background produces geometry (`SlideComposition.backgroundImage`).
|
|
1697
|
+
* `resolveSlideContext` passes it.
|
|
1582
1698
|
*/
|
|
1583
|
-
|
|
1699
|
+
themeBackground?: unknown;
|
|
1584
1700
|
/** One-based displayed number; source paths still use slideIndex. */
|
|
1585
1701
|
slideNumber?: number;
|
|
1586
1702
|
/** Displayed slide count for `{total}` in slideNumberFormat. Defaults to `presentation.slides.length`. */
|
|
@@ -1623,7 +1739,25 @@ declare class OPFCompositionError extends Error {
|
|
|
1623
1739
|
* Outline of a DrawingML preset in a box, following the ECMA-376 presetShapeDefinitions formulas:
|
|
1624
1740
|
* roundRect (adj; ss = min(w,h), radius = ss*adj/100000), ellipse, and hexagon (adj, vf).
|
|
1625
1741
|
*/
|
|
1626
|
-
declare function
|
|
1742
|
+
declare function imageShape(kind: ImageShape['kind'], box: LayoutBox, cornerRadius?: number): ImageShape;
|
|
1743
|
+
/**
|
|
1744
|
+
* The shared fit math every engine uses (FA-22). `aspect` is the picture's width / height. cover scales the picture
|
|
1745
|
+
* to cover the frame and centers the focus point in the frame as far as the picture still covers it, so the focus
|
|
1746
|
+
* point always stays in view ({0.5, 0.5} is a center crop, {0, 0} keeps the top-left corner). contain scales it to
|
|
1747
|
+
* fit and centers it; stretch fills the frame exactly. Focus applies to cover only. `crop` holds the DrawingML
|
|
1748
|
+
* srcRect insets as fractions of the picture: positive insets crop, negative insets pad.
|
|
1749
|
+
*/
|
|
1750
|
+
declare function fitImage(frame: LayoutBox, fit: ImageFit, aspect: number, focus?: ImageFocus): ImageFitPlacement;
|
|
1751
|
+
/** The background a value describes when it is an image: the object form, or an image-source string (a cover image). */
|
|
1752
|
+
declare function imageBackground(value: unknown): {
|
|
1753
|
+
src: string;
|
|
1754
|
+
alt?: string;
|
|
1755
|
+
fit: BackgroundImageFit;
|
|
1756
|
+
focus: ImageFocus;
|
|
1757
|
+
opacity?: number;
|
|
1758
|
+
recolor?: unknown;
|
|
1759
|
+
overlay?: unknown;
|
|
1760
|
+
} | undefined;
|
|
1627
1761
|
interface ResolveLogoOptions {
|
|
1628
1762
|
/** Variant family to prefer; defaults to the full lockup. */
|
|
1629
1763
|
slot?: LogoSlot;
|
|
@@ -1681,21 +1815,12 @@ interface FurnitureTextExtras {
|
|
|
1681
1815
|
fields?: FurnitureField[];
|
|
1682
1816
|
links?: FurnitureSocialLink[];
|
|
1683
1817
|
}
|
|
1684
|
-
/** Social-platform catalog fields used to format a profile. */
|
|
1685
|
-
interface SocialPlatformRecord {
|
|
1686
|
-
id: string;
|
|
1687
|
-
name?: string;
|
|
1688
|
-
baseUrl?: string;
|
|
1689
|
-
profileUrlPattern?: string;
|
|
1690
|
-
companyUrlPattern?: string;
|
|
1691
|
-
handlePrefix?: string;
|
|
1692
|
-
}
|
|
1693
1818
|
interface SocialProfile {
|
|
1694
1819
|
/** Single-line display text: the profile URL without an `https://` scheme, or the raw value. */
|
|
1695
1820
|
text: string;
|
|
1696
1821
|
/** Full http(s) URL when the value is one or its platform record formats one. */
|
|
1697
1822
|
href?: string;
|
|
1698
|
-
/** Whether
|
|
1823
|
+
/** Whether the platform's URL pattern formatted a handle. */
|
|
1699
1824
|
resolved: boolean;
|
|
1700
1825
|
}
|
|
1701
1826
|
interface FurnitureSocialLink extends SocialProfile {
|
|
@@ -1705,11 +1830,11 @@ interface FurnitureSocialLink extends SocialProfile {
|
|
|
1705
1830
|
sourcePath: string;
|
|
1706
1831
|
}
|
|
1707
1832
|
/**
|
|
1708
|
-
* Format one Socials value through
|
|
1833
|
+
* Format one Socials value through the engine's social-platform vocabulary (SOCIAL_PLATFORMS), deterministically and
|
|
1709
1834
|
* without network access. `owner` selects companyUrlPattern for organizations.
|
|
1710
1835
|
* URLs pass through; unknown platforms and unformattable values stay raw.
|
|
1711
1836
|
*/
|
|
1712
|
-
declare function resolveSocialProfile(platform: string, value: string,
|
|
1837
|
+
declare function resolveSocialProfile(platform: string, value: string, owner?: 'organization' | 'speaker'): SocialProfile;
|
|
1713
1838
|
interface FurnitureImagePart extends FurniturePartBase {
|
|
1714
1839
|
type: 'image';
|
|
1715
1840
|
image: unknown;
|
|
@@ -1796,8 +1921,8 @@ interface QuotePhoto {
|
|
|
1796
1921
|
value: unknown;
|
|
1797
1922
|
/** Square frame, in reference pixels. */
|
|
1798
1923
|
box: LayoutBox;
|
|
1799
|
-
/** Circle mask: the `ellipse` DrawingML preset and the same outline as an SVG path, as
|
|
1800
|
-
shape:
|
|
1924
|
+
/** Circle mask: the `ellipse` DrawingML preset and the same outline as an SVG path, as an image block's shape 'circle'. */
|
|
1925
|
+
shape: ImageShape;
|
|
1801
1926
|
}
|
|
1802
1927
|
interface QuoteLayout {
|
|
1803
1928
|
algorithm: 'quote-flow-v1';
|
|
@@ -2238,4 +2363,4 @@ declare function resolveCanvasDimensions(input: unknown): {
|
|
|
2238
2363
|
height: number;
|
|
2239
2364
|
};
|
|
2240
2365
|
|
|
2241
|
-
export { type
|
|
2366
|
+
export { type CodeHighlightColors as $, type AnnotatedRun as A, type BackgroundImageFit as B, type ComposeSlideOptions as C, CODE_SYNTAX_MIN_CONTRAST as D, ENGINE_DEFAULT_CHART_TYPES as E, type Fonts as F, type Caption as G, type CaptionAlignment as H, type CaptionObject as I, type CaptionPosition as J, type CaptionSettings as K, type LayoutDiagnostic as L, type MeasureTextWidth as M, type ChartHighlightMarks as N, type ChartLabelContent as O, type ChartLabelPosition as P, type ChartLegendPosition as Q, type ChartOptionDiagnostic as R, SOCIAL_PLATFORMS as S, type TextMeasurement as T, type ChartOptionKind as U, type ChartOptionSupport as V, type ChartOptionTarget as W, type CitationMarker as X, type CitationNote as Y, type CodeContent as Z, type CodeHighlightBand as _, CHART_TYPES as a, type ListBulletImage as a$, type CodeHighlightEntry as a0, type CodeHighlightIssue as a1, type CodeHighlightLines as a2, type CodeLayout as a3, type CodeLayoutDiagnostic as a4, type CodeLayoutOptions as a5, type CodeLineSegment as a6, type CodeLineSource as a7, type CodeRun as a8, type CodeSyntaxPalette as a9, DEFAULT_SLIDE_NUMBER_FORMAT as aA, DESIGN_HINT_KEYS as aB, type DeckCitations as aC, type DesignHintKey as aD, type DesignHintSource as aE, type DesignHints as aF, FONT_SIZE_GRID_PER_PX as aG, FOOTNOTE_MAX_RATIO as aH, type FontFaceSelection as aI, type FootnoteLayoutOptions as aJ, type FurnitureField as aK, type FurnitureImagePart as aL, type FurnitureLayout as aM, type FurniturePart as aN, type FurniturePartBase as aO, type FurnitureSocialLink as aP, type FurnitureTextExtras as aQ, type FurnitureTextPart as aR, type ImageEdge as aS, type ImageFit as aT, type ImageFitPlacement as aU, type ImageFocus as aV, type ImageShape as aW, LAYOUT_BODY_KINDS as aX, type LayoutBodyKind as aY, type LayoutBox as aZ, type LayoutContent as a_, type CodeSyntaxPaletteOptions as aa, type CodeSyntaxPaletteTheme as ab, type CodeTextFit as ac, type CodeTextPart as ad, type CodeToken as ae, type CodeTokenKind as af, type ComposedBackgroundImage as ag, type ComposedCaption as ah, type ComposedFlow as ai, type ComposedFootnoteEntry as aj, type ComposedFootnotes as ak, type ComposedGroup as al, type ComposedImage as am, type ComposedItem as an, type ComposedLogo as ao, type ComposedOverlay as ap, type ComposedPlacement as aq, type Composition as ar, type CompositionCandidate as as, type CompositionDecision as at, type CompositionExplanation as au, type CompositionPenalties as av, type CompositionTrack as aw, DARK_BACKGROUND_LUMINANCE as ax, DEFAULT_CHART_LABEL_SEPARATOR as ay, DEFAULT_FURNITURE_DATE_FORMAT as az, ENGINE_DEFAULT_COLOR_SCHEME as b, type RichTextOptions as b$, type ListEntryLayout as b0, type ListFit as b1, type ListFitOptions as b2, type ListNumber as b3, type ListText as b4, type ListValue as b5, type LogoSlot as b6, MAX_COMPOSITION_DEPTH as b7, MAX_NUMBERING_LEVELS as b8, MAX_NUMBERING_VALUE as b9, type QuoteLayout as bA, type QuoteLayoutDiagnostic as bB, type QuoteLayoutOptions as bC, type QuotePhoto as bD, type QuoteTextPart as bE, type QuoteTextSource as bF, type ReadingBox as bG, type Reference as bH, type ReferencesSlideOptions as bI, type ResolveColorRefOptions as bJ, type ResolveColorRefRoles as bK, type ResolveColorRolesOptions as bL, type ResolveDesignHintsOptions as bM, type ResolveLogoOptions as bN, type ResolveScriptFontsOptions as bO, type ResolvedChartDataLabels as bP, type ResolvedChartHighlight as bQ, type ResolvedChartOptions as bR, type ResolvedColorRoles as bS, type ResolvedDesignHints as bT, type ResolvedLogo as bU, type ResolvedNumbering as bV, type ResolvedScriptFonts as bW, type RichText as bX, type RichTextFit as bY, type RichTextFragment as bZ, type RichTextLine as b_, MAX_ROMAN_VALUE as ba, METRIC_TREND_MIN_CONTRAST as bb, METRIC_TREND_SHAPES as bc, type MetricContent as bd, type MetricLayout as be, type MetricLayoutDiagnostic as bf, type MetricLayoutOptions as bg, type MetricSentiment as bh, type MetricTextPart as bi, type MetricTextSource as bj, type MetricTrend as bk, type MetricTrendColorOptions as bl, type MetricTrendMark as bm, NUMBERING_STYLES as bn, NUMBERING_SUFFIXES as bo, type Numbering as bp, type NumberingInput as bq, type NumberingStyleName as br, type NumberingSuffix as bs, OPFCompositionError as bt, PATTERN_PRESETS as bu, PATTERN_PRESET_ALIASES as bv, PATTERN_TILE_SIZE as bw, PICTURE_BULLET_SCALE as bx, type PhysicalAlignment as by, type QuoteContent as bz, ENGINE_DEFAULT_FONT_SCHEME as c, fitImage as c$, type RichTextRun as c0, SURFACE_ALT_MIN_CONTRAST as c1, SURFACE_ALT_MIX as c2, type ScriptFontApp as c3, type ScriptFontSlots as c4, type ScriptFontSource as c5, type ScriptFontSupplement as c6, type ScriptRole as c7, type SlideCitations as c8, type SlideComposition as c9, type TimelineMarkerShape as cA, type TimelineStatus as cB, type TimelineStatusColors as cC, type TimelineTextPart as cD, type WatermarkTextLayout as cE, type WatermarkTextOptions as cF, annotationText as cG, captionSettings as cH, chartColorForFill as cI, chartHighlightColors as cJ, chartHighlightMarks as cK, chartLabelText as cL, chartOptionSupport as cM, chartOptionTarget as cN, chartPaletteForFill as cO, citationMarkerText as cP, codeHighlightBands as cQ, codeHighlightColors as cR, codeHighlightLines as cS, codeLineNumbers as cT, codeLineRuns as cU, codeSyntaxPalette as cV, codeSyntaxPaletteForScheme as cW, collectCitations as cX, colorContrast as cY, composeSlide as cZ, defaultSlideBackground as c_, type SocialProfile as ca, type SourceTextFit as cb, TIMELINE_OUTLINE_MIN_CONTRAST as cc, TIMELINE_STATUSES as cd, TIMELINE_TEXT_MIN_CONTRAST as ce, type TableBorder as cf, type TableCellLayout as cg, type TableCellStyle as ch, type TableGrid as ci, type TableGridCell as cj, type TableGridIssue as ck, type TableLayout as cl, type TableLayoutOptions as cm, type TableRowLayout as cn, type TextDirection as co, type TextFit as cp, type TextLineInk as cq, type TextLineSegment as cr, type TextLineSource as cs, type TextPlacement as ct, type TextPlacementLine as cu, type TimelineContent as cv, type TimelineEvent as cw, type TimelineLayout as cx, type TimelineLayoutDiagnostic as cy, type TimelineLayoutOptions as cz, ENGINE_DEFAULT_THEME as d, textWidthMeasurer as d$, fitList as d0, fitRichText as d1, fitText as d2, formatChartLabelNumber as d3, formatChartLabelPercent as d4, formatFurnitureDate as d5, formatListNumber as d6, formatSlideNumber as d7, imageBackground as d8, imageShape as d9, patternRuns as dA, physicalAlignment as dB, placeTextLines as dC, referencesSlide as dD, resolveCanvasDimensions as dE, resolveChartOptions as dF, resolveCodeLanguage as dG, resolveColorRef as dH, resolveColorRoles as dI, resolveDesignHints as dJ, resolveFontFamilies as dK, resolveLogo as dL, resolveNumbering as dM, resolvePatternPreset as dN, resolveScriptFonts as dO, resolveSlideDirection as dP, resolveSocialProfile as dQ, resolveTextStyle as dR, scriptFontRole as dS, sliceNumberedItems as dT, slideCitations as dU, snapFontSizeDown as dV, snapFontSizeUp as dW, surfaceAltColor as dX, tableGrid as dY, tableRowBoundaries as dZ, textColorForFill as d_, intrinsicImageAspect as da, intrinsicImageSize as db, isDarkColor as dc, layoutCaption as dd, layoutCode as de, layoutContent as df, layoutFootnotes as dg, layoutFurniture as dh, layoutMetric as di, layoutQuote as dj, layoutTable as dk, layoutTimeline as dl, layoutWatermark as dm, listNumbers as dn, measureText as dp, measureTextOutline as dq, metricTrendColor as dr, metricTrendMark as ds, metricTrendPoints as dt, normalizeHexColor as du, numberingAtLevel as dv, numberingStyleDraws as dw, paragraphDirection as dx, paragraphDirectionAt as dy, patternBitmap as dz, type FontFamilies as e, timelineMarkerShapes as e0, timelineTextColor as e1, tokenizeCode as e2, visualReadingOrder as e3, walkCitationRuns as e4, wrapText as e5, LANGUAGES as f, type LanguageFamilyName as g, type LanguageVocabulary as h, type SocialPlatformVocabulary as i, type TextStyle as j, type AnnotationFitter as k, type AnnotationLayoutOptions as l, CAPTIONABLE_FIELDS as m, normalizeLanguageFamily as n, CAPTION_FONT_RATIO as o, CAPTION_MAX_RATIO as p, CHART_HIGHLIGHT_MUTED_MIN_CONTRAST as q, CHART_HIGHLIGHT_MUTED_MIX as r, CHART_SERIES_MIN_DIFFERENCE as s, CHART_SERIES_MIN_LIGHTNESS_STEP as t, CITATION_MARKER_RAISE as u, CITATION_MARKER_SCALE as v, CODE_HIGHLIGHT_LANGUAGES as w, CODE_HIGHLIGHT_MAX_LENGTH as x, CODE_PANEL_BACKGROUND as y, CODE_PANEL_FOREGROUND as z };
|
package/dist/composition.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { A as AnnotatedRun,
|
|
2
|
-
export {
|
|
1
|
+
export { A as AnnotatedRun, k as AnnotationFitter, l as AnnotationLayoutOptions, B as BackgroundImageFit, m as CAPTIONABLE_FIELDS, o as CAPTION_FONT_RATIO, p as CAPTION_MAX_RATIO, q as CHART_HIGHLIGHT_MUTED_MIN_CONTRAST, r as CHART_HIGHLIGHT_MUTED_MIX, s as CHART_SERIES_MIN_DIFFERENCE, t as CHART_SERIES_MIN_LIGHTNESS_STEP, a as CHART_TYPES, u as CITATION_MARKER_RAISE, v as CITATION_MARKER_SCALE, w as CODE_HIGHLIGHT_LANGUAGES, x as CODE_HIGHLIGHT_MAX_LENGTH, y as CODE_PANEL_BACKGROUND, z as CODE_PANEL_FOREGROUND, D as CODE_SYNTAX_MIN_CONTRAST, G as Caption, H as CaptionAlignment, I as CaptionObject, J as CaptionPosition, K as CaptionSettings, N as ChartHighlightMarks, O as ChartLabelContent, P as ChartLabelPosition, Q as ChartLegendPosition, R as ChartOptionDiagnostic, U as ChartOptionKind, V as ChartOptionSupport, W as ChartOptionTarget, X as CitationMarker, Y as CitationNote, Z as CodeContent, _ as CodeHighlightBand, $ as CodeHighlightColors, a0 as CodeHighlightEntry, a1 as CodeHighlightIssue, a2 as CodeHighlightLines, a3 as CodeLayout, a4 as CodeLayoutDiagnostic, a5 as CodeLayoutOptions, a6 as CodeLineSegment, a7 as CodeLineSource, a8 as CodeRun, a9 as CodeSyntaxPalette, aa as CodeSyntaxPaletteOptions, ab as CodeSyntaxPaletteTheme, ac as CodeTextFit, ad as CodeTextPart, ae as CodeToken, af as CodeTokenKind, C as ComposeSlideOptions, ag as ComposedBackgroundImage, ah as ComposedCaption, ai as ComposedFlow, aj as ComposedFootnoteEntry, ak as ComposedFootnotes, al as ComposedGroup, am as ComposedImage, an as ComposedItem, ao as ComposedLogo, ap as ComposedOverlay, aq as ComposedPlacement, ar as Composition, as as CompositionCandidate, at as CompositionDecision, au as CompositionExplanation, av as CompositionPenalties, aw as CompositionTrack, ax as DARK_BACKGROUND_LUMINANCE, ay as DEFAULT_CHART_LABEL_SEPARATOR, az as DEFAULT_FURNITURE_DATE_FORMAT, aA as DEFAULT_SLIDE_NUMBER_FORMAT, aB as DESIGN_HINT_KEYS, aC as DeckCitations, aD as DesignHintKey, aE as DesignHintSource, aF as DesignHints, E as ENGINE_DEFAULT_CHART_TYPES, b as ENGINE_DEFAULT_COLOR_SCHEME, c as ENGINE_DEFAULT_FONT_SCHEME, d as ENGINE_DEFAULT_THEME, aG as FONT_SIZE_GRID_PER_PX, aH as FOOTNOTE_MAX_RATIO, aI as FontFaceSelection, e as FontFamilies, F as Fonts, aJ as FootnoteLayoutOptions, aK as FurnitureField, aL as FurnitureImagePart, aM as FurnitureLayout, aN as FurniturePart, aO as FurniturePartBase, aP as FurnitureSocialLink, aQ as FurnitureTextExtras, aR as FurnitureTextPart, aS as ImageEdge, aT as ImageFit, aU as ImageFitPlacement, aV as ImageFocus, aW as ImageShape, f as LANGUAGES, aX as LAYOUT_BODY_KINDS, h as LanguageVocabulary, aY as LayoutBodyKind, aZ as LayoutBox, a_ as LayoutContent, L as LayoutDiagnostic, a$ as ListBulletImage, b0 as ListEntryLayout, b1 as ListFit, b2 as ListFitOptions, b3 as ListNumber, b4 as ListText, b5 as ListValue, b6 as LogoSlot, b7 as MAX_COMPOSITION_DEPTH, b8 as MAX_NUMBERING_LEVELS, b9 as MAX_NUMBERING_VALUE, ba as MAX_ROMAN_VALUE, bb as METRIC_TREND_MIN_CONTRAST, bc as METRIC_TREND_SHAPES, M as MeasureTextWidth, bd as MetricContent, be as MetricLayout, bf as MetricLayoutDiagnostic, bg as MetricLayoutOptions, bh as MetricSentiment, bi as MetricTextPart, bj as MetricTextSource, bk as MetricTrend, bl as MetricTrendColorOptions, bm as MetricTrendMark, bn as NUMBERING_STYLES, bo as NUMBERING_SUFFIXES, bp as Numbering, bq as NumberingInput, br as NumberingStyleName, bs as NumberingSuffix, bt as OPFCompositionError, bu as PATTERN_PRESETS, bv as PATTERN_PRESET_ALIASES, bw as PATTERN_TILE_SIZE, bx as PICTURE_BULLET_SCALE, by as PhysicalAlignment, bz as QuoteContent, bA as QuoteLayout, bB as QuoteLayoutDiagnostic, bC as QuoteLayoutOptions, bD as QuotePhoto, bE as QuoteTextPart, bF as QuoteTextSource, bG as ReadingBox, bH as Reference, bI as ReferencesSlideOptions, bJ as ResolveColorRefOptions, bK as ResolveColorRefRoles, bL as ResolveColorRolesOptions, bM as ResolveDesignHintsOptions, bN as ResolveLogoOptions, bO as ResolveScriptFontsOptions, bP as ResolvedChartDataLabels, bQ as ResolvedChartHighlight, bR as ResolvedChartOptions, bS as ResolvedColorRoles, bT as ResolvedDesignHints, bU as ResolvedLogo, bV as ResolvedNumbering, bW as ResolvedScriptFonts, bX as RichText, bY as RichTextFit, bZ as RichTextFragment, b_ as RichTextLine, b$ as RichTextOptions, c0 as RichTextRun, S as SOCIAL_PLATFORMS, c1 as SURFACE_ALT_MIN_CONTRAST, c2 as SURFACE_ALT_MIX, c3 as ScriptFontApp, c4 as ScriptFontSlots, c5 as ScriptFontSource, c6 as ScriptFontSupplement, c7 as ScriptRole, c8 as SlideCitations, c9 as SlideComposition, i as SocialPlatformVocabulary, ca as SocialProfile, cb as SourceTextFit, cc as TIMELINE_OUTLINE_MIN_CONTRAST, cd as TIMELINE_STATUSES, ce as TIMELINE_TEXT_MIN_CONTRAST, cf as TableBorder, cg as TableCellLayout, ch as TableCellStyle, ci as TableGrid, cj as TableGridCell, ck as TableGridIssue, cl as TableLayout, cm as TableLayoutOptions, cn as TableRowLayout, co as TextDirection, cp as TextFit, cq as TextLineInk, cr as TextLineSegment, cs as TextLineSource, T as TextMeasurement, ct as TextPlacement, cu as TextPlacementLine, j as TextStyle, cv as TimelineContent, cw as TimelineEvent, cx as TimelineLayout, cy as TimelineLayoutDiagnostic, cz as TimelineLayoutOptions, cA as TimelineMarkerShape, cB as TimelineStatus, cC as TimelineStatusColors, cD as TimelineTextPart, cE as WatermarkTextLayout, cF as WatermarkTextOptions, cG as annotationText, cH as captionSettings, cI as chartColorForFill, cJ as chartHighlightColors, cK as chartHighlightMarks, cL as chartLabelText, cM as chartOptionSupport, cN as chartOptionTarget, cO as chartPaletteForFill, cP as citationMarkerText, cQ as codeHighlightBands, cR as codeHighlightColors, cS as codeHighlightLines, cT as codeLineNumbers, cU as codeLineRuns, cV as codeSyntaxPalette, cW as codeSyntaxPaletteForScheme, cX as collectCitations, cY as colorContrast, cZ as composeSlide, c_ as defaultSlideBackground, c$ as fitImage, d0 as fitList, d1 as fitRichText, d2 as fitText, d3 as formatChartLabelNumber, d4 as formatChartLabelPercent, d5 as formatFurnitureDate, d6 as formatListNumber, d7 as formatSlideNumber, d8 as imageBackground, d9 as imageShape, da as intrinsicImageAspect, db as intrinsicImageSize, dc as isDarkColor, dd as layoutCaption, de as layoutCode, df as layoutContent, dg as layoutFootnotes, dh as layoutFurniture, di as layoutMetric, dj as layoutQuote, dk as layoutTable, dl as layoutTimeline, dm as layoutWatermark, dn as listNumbers, dp as measureText, dq as measureTextOutline, dr as metricTrendColor, ds as metricTrendMark, dt as metricTrendPoints, du as normalizeHexColor, dv as numberingAtLevel, dw as numberingStyleDraws, dx as paragraphDirection, dy as paragraphDirectionAt, dz as patternBitmap, dA as patternRuns, dB as physicalAlignment, dC as placeTextLines, dD as referencesSlide, dE as resolveCanvasDimensions, dF as resolveChartOptions, dG as resolveCodeLanguage, dH as resolveColorRef, dI as resolveColorRoles, dJ as resolveDesignHints, dK as resolveFontFamilies, dL as resolveLogo, dM as resolveNumbering, dN as resolvePatternPreset, dO as resolveScriptFonts, dP as resolveSlideDirection, dQ as resolveSocialProfile, dR as resolveTextStyle, dS as scriptFontRole, dT as sliceNumberedItems, dU as slideCitations, dV as snapFontSizeDown, dW as snapFontSizeUp, dX as surfaceAltColor, dY as tableGrid, dZ as tableRowBoundaries, d_ as textColorForFill, d$ as textWidthMeasurer, e0 as timelineMarkerShapes, e1 as timelineTextColor, e2 as tokenizeCode, e3 as visualReadingOrder, e4 as walkCitationRuns, e5 as wrapText } from './composition-D2tghM82.js';
|
|
2
|
+
export { d as CATALOG_REFERENCE_PATTERN, a as Catalog, C as CatalogKind, b as CatalogOptions, f as CatalogRecords, g as CatalogReferenceSite, O as OPFCatalogsOptionError, h as OPFUnresolvedReferenceError, R as RecordProvenance, i as ResolvedReference, U as UnresolvedReferenceDiagnostic, j as catalogGroupSource, k as catalogKinds, l as catalogRecords, m as catalogReferenceSites, p as parseReference, r as resolveReference, u as unresolvedReference } from './catalog-refs-BSfGELpt.js';
|
|
3
|
+
export { I as ChartComboSeries, C as ChartMapping, D as DataCellValue, d as DataColumn, e as DataDiagnostic, h as DataSourceRef, j as DataTableCell, k as DataTableHeader, n as Dataset, o as DatasetRef, R as ResolvedChartData, p as ResolvedTableData, q as chartNumber, s as formatDataNumber, t as fromExcelNumberFormat, u as inlineChartData, v as inlineDatasets, w as inlineTableData, x as isDatasetRef, y as isXYChartType, z as numberFormatError, A as resolveChartData, B as resolveTableData, F as tableCellDisplayValue, G as toExcelNumberFormat } from './chart-data-BnNqgnC-.js';
|